Aakansha Doshi
10bd08ef19
fix: make getBoundTextElement and related helpers pure ( #7601 )
...
* fix: make getBoundTextElement pure
* updating args
* fix
* pass boundTextElement to getBoundTextMaxWidth
* fix labelled arrows
* lint
* pass elementsMap to removeElementsFromFrame
* pass elementsMap to getMaximumGroups, alignElements and distributeElements
* lint
* pass allElementsMap to renderElement
* lint
* feat: make more typesafe
* fix: remove unnecessary assertion
* fix: remove unused params
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-26 11:29:07 +05:30
Aakansha Doshi
2789d08154
docs: update the docs for next js integration ( #7605 )
...
* docs: update the docs for next js integration
* update
* update
* update docs with tabbed examples
* fix
2024-01-25 20:26:48 +05:30
Excalidraw Bot
da4896077b
Auto commit: Calculate translation coverage
2024-01-25 01:58:25 +00:00
Excalidraw Bot
0321ea248a
New translations en.json (Spanish)
2024-01-25 02:58:13 +01:00
dependabot[bot]
678bb2b819
build(deps-dev): bump vite from 5.0.6 to 5.0.12 ( #7586 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.6 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 19:29:50 +05:30
dependabot[bot]
966f9aead9
build(deps-dev): bump vite from 5.0.6 to 5.0.12 in /examples/excalidraw/with-script-in-browser ( #7603 )
...
build(deps-dev): bump vite
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.6 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 19:28:11 +05:30
Aakansha Doshi
4f0a2a9593
docs: add next js with app router example ( #7552 )
...
* move the existing example to with-script-in-browser
* Add example with next js app router
* disable ssr for excalidraw client comp
* typo
* update output dir
* don't include nextjs example in tsconfig
* remove meta.json
* lint
* remove example.ts
* port
* move the examples outside packages and use the deps as workspaces in examples
* update gitignore
* fix example
* update path of build dir
* fix
* fix scripts
* try local path
* fix
* update commands
* fix
* fix
* fix script
* skip ts
* disable ts
* add vercel.json
* install
* update tsconfig
* fix lint
* remove console.log
* lets see if this works
* revert
* remove ts nocheck
* add types and some utils in nextjs example
* fix types
* updatw example and remove nextjs dynamic syntax so we don't import excal twice
* move both examples to workspaces and create generic example to be used by browser and next js both
* copy the static assets to nextjs
* fix ts config
* render custom menu items
* fix custom footer
* fix types in browser example
* use regular imports for importing excal and import it using dynamic next js in app router instead
* Add example for pages router
* fix css discrepancies
* fix css
* configure output dir
* fix
* fix css
* rename to with-nextjs
* move components to examples/excalidraw/components
2024-01-24 17:07:54 +05:30
halocean96
f3f8217125
docs: toggleSidebar api fix ( #7575 )
2024-01-23 14:50:51 +00:00
David Luzar
89bd6181f2
fix: revert mapElementIds
flag removal ( #7594 )
2024-01-22 17:23:00 +01:00
Aakansha Doshi
c6fdac131b
ci: add the workspace ignore check to install actions as dependency for auto release ( #7593 )
2024-01-22 17:01:00 +05:30
David Luzar
0415c616b1
refactor: decoupling global Scene state part-1 ( #7577 )
2024-01-22 00:23:02 +01:00
David Luzar
740a165452
fix: filter out elements not overlapping frame on paste ( #7591 )
2024-01-21 20:55:57 +01:00
Ryan Di
4997624a3a
fix: frame name editing inconvenience ( #7437 )
2024-01-21 20:55:28 +01:00
Barnabás Molnár
b66daae1f3
fix: Truncate collaborator name in dropdown. ( #7576 )
2024-01-21 20:36:09 +01:00
David Luzar
1e7df58b5b
feat: add pasted elements to frame under cursor ( #7590 )
2024-01-21 14:01:43 +01:00
David Luzar
46da032626
fix: exporting frame-overlapping elements belonging to other frames ( #7584 )
2024-01-19 14:41:22 +01:00
みけCAT
3b0593baa7
fix: Prevent the library label from being collapsed ( #7579 )
2024-01-19 14:41:08 +01:00
Excalidraw Bot
07415a37c9
Auto commit: Calculate translation coverage
2024-01-17 15:48:05 +00:00
Excalidraw Bot
356eb47ca3
New translations en.json (Japanese)
2024-01-17 16:47:46 +01:00
みけCAT
dd530737a2
docs: fix "canvas actions" link in Props page ( #7536 )
...
fix "canvas actions" link in Props page
2024-01-17 16:19:42 +05:30
Aakansha Doshi
a4e5e46dd1
fix: move default to last so its compatible with nextjs ( #7561 )
2024-01-15 14:52:04 +05:30
Excalidraw Bot
9383e1a983
Auto commit: Calculate translation coverage
2024-01-14 21:44:10 +00:00
Excalidraw Bot
43ad9a7da9
New translations en.json (Ukrainian)
2024-01-14 22:43:59 +01:00
Excalidraw Bot
b661158a85
Auto commit: Calculate translation coverage
2024-01-14 20:35:38 +00:00
Excalidraw Bot
4d5f89fb2a
New translations en.json (Norwegian Nynorsk)
2024-01-14 21:35:25 +01:00
David Luzar
0fa5f5de4c
fix: translating frames containing grouped text containers ( #7557 )
2024-01-13 21:28:54 +01:00
David Luzar
41cc746885
fix: host font assets from root ( #7548 )
2024-01-11 21:29:29 +01:00
David Luzar
8ead8559e0
feat: redirect font requests to cdn ( #7549 )
2024-01-11 21:08:17 +01:00
David Luzar
5245276409
feat: erase groups atomically ( #7545 )
2024-01-11 17:43:04 +01:00
David Luzar
0c24a7042f
feat: remove ExcalidrawEmbeddableElement.validated
flag ( #7539 )
2024-01-11 17:42:51 +01:00
Are
86cfeb714c
feat: add eraser tool trail ( #7511 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-11 16:10:15 +00:00
David Luzar
872973f145
fix: do not modify elements while erasing ( #7531 )
2024-01-11 16:00:07 +01:00
Aakansha Doshi
3ecf72a507
docs: add changelog for ESM build ( #7542 )
...
* docs: add changelog for ESM build
* move to breaking change
2024-01-11 16:40:45 +05:30
みけCAT
1aaa400876
docs: fix extra space in UIOptions/tools ( #7537 )
...
fix typo in UIOptions/tools
2024-01-11 11:09:33 +00:00
Aakansha Doshi
65047cc2cb
fix: decouple react and react-dom imports from utils and make it treeshakeable ( #7527 )
...
fix: decouple react and react-dom imports from utils and make it tree-shakeable
2024-01-08 21:01:47 +05:30
Excalidraw Bot
c8d1cd6cc3
New translations en.json (Italian)
2024-01-06 20:07:42 +01:00
Excalidraw Bot
558e9382ae
Auto commit: Calculate translation coverage
2024-01-06 10:54:10 +00:00
Excalidraw Bot
1ec0b25c3d
New translations en.json (Romanian)
2024-01-06 11:53:58 +01:00
Excalidraw Bot
4d08a6568b
Auto commit: Calculate translation coverage
2024-01-06 04:35:47 +00:00
Excalidraw Bot
2ef35fd2f8
New translations en.json (Hindi)
2024-01-06 05:35:33 +01:00
Excalidraw Bot
cc44844029
New translations en.json (Marathi)
2024-01-06 05:35:32 +01:00
Excalidraw Bot
970903992a
Auto commit: Calculate translation coverage
2024-01-05 18:37:25 +00:00
Excalidraw Bot
ac160b6a18
New translations en.json (Slovak)
2024-01-05 19:37:11 +01:00
Excalidraw Bot
535a99a12f
Auto commit: Calculate translation coverage
2024-01-05 08:09:35 +00:00
Excalidraw Bot
6415432eb5
New translations en.json (Chinese Simplified)
2024-01-05 09:09:23 +01:00
Excalidraw Bot
30e9692158
Auto commit: Calculate translation coverage
2024-01-04 21:12:51 +00:00
Excalidraw Bot
148bce498e
New translations en.json (Portuguese)
2024-01-04 22:12:39 +01:00
Excalidraw Bot
9455b0942b
Auto commit: Calculate translation coverage
2024-01-04 20:02:43 +00:00
Excalidraw Bot
a279bbb5fd
New translations en.json (Portuguese, Brazilian)
2024-01-04 21:02:30 +01:00
Excalidraw Bot
3843e24ba0
New translations en.json (Portuguese)
2024-01-04 21:02:28 +01:00