4270 Commits

Author SHA1 Message Date
Excalidraw Bot
bba0033900 New translations en.json (Occitan) 2024-02-03 16:27:49 +01:00
Excalidraw Bot
2e773439ce New translations en.json (Hindi) 2024-02-03 16:27:48 +01:00
Excalidraw Bot
3ff668d7ed New translations en.json (French) 2024-02-03 16:27:47 +01:00
Excalidraw Bot
1801d9efcb New translations en.json (Catalan) 2024-02-03 16:27:46 +01:00
Excalidraw Bot
ecd9d7444f New translations en.json (Spanish) 2024-02-03 16:27:45 +01:00
Excalidraw Bot
2dc2b31e36 New translations en.json (Ukrainian) 2024-02-03 16:27:45 +01:00
David Luzar
0513b647ec
feat: change collab trigger & add share dialog (#7647) 2024-02-03 14:04:23 +00:00
David Luzar
a289c42830
feat: add loading state to FilledButton (#7650) 2024-02-03 14:53:31 +01:00
David Luzar
d67eaa8710
fix: file save timing out with big file sizes (#7649) 2024-02-03 11:53:35 +01:00
Excalidraw Bot
50a5886455 Auto commit: Calculate translation coverage 2024-02-02 19:30:27 +00:00
Excalidraw Bot
8d4dde8411 New translations en.json (Galician) 2024-02-02 20:30:14 +01:00
Excalidraw Bot
b6c9bd6bfc Auto commit: Calculate translation coverage 2024-02-02 17:29:48 +00:00
Excalidraw Bot
a5977368b1 New translations en.json (Occitan) 2024-02-02 18:29:35 +01:00
Aakansha Doshi
0c3dffb082
fix: make getEmbedLink independent of t function (#7643)
* fix: make getEmbedLink independent of t function

* rename warning to error and make it type safe
2024-02-01 21:12:10 +05:30
Milos Vetesnik
0e0f34edd8
fix: follow mode border for hosts apps (#7642) 2024-02-01 15:03:15 +01:00
David Luzar
4888d9d355
chore: change default port of collab server (#7641) 2024-02-01 14:41:38 +01:00
Aakansha Doshi
1c39bd5781
fix: don't bundle react and jotai when importing from scene (#7640)
* don't bundle react and jotai when importing from scene

* fix
2024-02-01 18:24:17 +05:30
Aakansha Doshi
90ad885446
feat: support onPointerUp prop (#7638)
* feat: support onPointerUp prop

* update changelog

* Update packages/excalidraw/CHANGELOG.md

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

---------

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2024-02-01 12:26:55 +00:00
Excalidraw Bot
401281d0eb New translations en.json (Japanese) 2024-02-01 10:44:58 +01:00
Aakansha Doshi
1741c234a6
fix: decouple container cache logic to containerCache. (#7637) 2024-01-31 21:17:41 +05:30
Aakansha Doshi
63b50b3586
fix: don't bundle react-dom when importing from transformHandles (#7634)
* fix: don't bundle react when importing from transfromHandles

* rename to DEFAULT_TRANSFORM_HANDLE_SPACING
2024-01-31 16:50:35 +05:30
Aakansha Doshi
e0fefa8025
fix: don't bundle react-dom when importing from element (#7635) 2024-01-31 16:43:37 +05:30
Excalidraw Bot
f7df761f7c Auto commit: Calculate translation coverage 2024-01-31 07:13:49 +00:00
Excalidraw Bot
e690653a3a New translations en.json (Occitan) 2024-01-31 08:13:38 +01:00
Excalidraw Bot
012094d32f New translations en.json (Hindi) 2024-01-30 03:20:20 +01:00
Milos Vetesnik
d426cc968d
refactor: remove portal as it is no longer needed (#7623)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-29 16:37:09 +01:00
Excalidraw Bot
085099b770 Auto commit: Calculate translation coverage 2024-01-29 14:43:01 +00:00
Excalidraw Bot
c066a5d65a New translations en.json (French) 2024-01-29 15:42:49 +01:00
Aashir Israr
2409c091ff
feat: support roundness for images (#7558)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-29 15:27:07 +01:00
Andran1k
626fe252ab
fix: frame name field (#7457)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-29 10:57:22 +01:00
Excalidraw Bot
0bb4aa58a0 New translations en.json (Ukrainian) 2024-01-27 15:15:12 +01:00
Excalidraw Bot
3baf081831 New translations en.json (Ukrainian) 2024-01-27 14:18:19 +01:00
Excalidraw Bot
cd07cae68c Auto commit: Calculate translation coverage 2024-01-26 23:20:26 +00:00
Excalidraw Bot
f8862ff2b3 New translations en.json (Catalan) 2024-01-27 00:20:14 +01:00
Excalidraw Bot
79dd246722 New translations en.json (Ukrainian) 2024-01-26 18:01:08 +01:00
Excalidraw Bot
6ba4dd5d86 New translations en.json (Ukrainian) 2024-01-26 16:19:23 +01:00
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