David Luzar
fa33aa08ab
refactor: refactor event globals to differentiate from lastPointerUp
( #7084 )
2023-10-04 16:18:22 +02:00
David Luzar
8b838049df
fix: remove invisible elements safely ( #7083 )
2023-10-04 16:09:59 +02:00
David Luzar
1f4f5e11ae
refactor: DRY out and simplify setting active tool from toolbar ( #7079 )
2023-10-04 00:16:54 +02:00
David Luzar
12420592ef
feat: support menu / dropdown items to have selected
state ( #7078 )
2023-10-03 23:35:47 +02:00
DanielJGeiger
bfd318e765
docs: Update the excalidraw-app
source-code link in README.md ( #7035 )
...
chore: Update the `excalidraw-app` source-code link in README.md
2023-10-03 08:41:13 -05:00
Thomas Steiner
6a821f3b76
fix: Icon size in manifest ( #7073 )
2023-10-03 11:07:02 +02:00
Tanmoy
84fd13e872
docs: fix minor grammar and spellings ( #7039 )
2023-10-02 10:11:02 +02:00
Alberto Torrigiotti
7d2b6f3374
docs: fix typo on homepage of developer docs ( #7047 )
2023-09-29 20:52:53 -05:00
David Luzar
ceb637f5ea
fix: elements being dropped/duplicated when added to frame ( #7057 )
2023-09-29 15:40:14 +02:00
hugofqt
4c35eba72d
feat: element alignments - snapping ( #6256 )
...
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-28 16:28:08 +02:00
David Luzar
4765f5536e
fix: frame name not editable on dbl-click ( #7037 )
2023-09-25 16:54:23 +02:00
David Luzar
556175558a
fix: polyfill Element.replaceChildren
( #7034 )
2023-09-24 19:07:35 +02:00
Aakansha Doshi
4db73a7f95
docs: release @excalidraw/excalidraw@0.16.1 🎉 ( #7020 )
2023-09-21 10:28:21 +05:30
David Luzar
f8b3692262
fix: more eye-droper fixes ( #7019 )
v0.16.1
2023-09-21 09:54:03 +05:30
Aakansha Doshi
741d5f1a18
refactor: move excalidraw-app outside src ( #6987 )
...
* refactor: move excalidraw-app outside src
* move some tests to excal app and fix some
* fix tests
* fix
* port remaining tests
* fix
* update snap
* move tests inside test folder
* fix
* fix
2023-09-21 09:28:48 +05:30
Aakansha Doshi
0a588a880b
docs: release @excalidraw/excalidraw@0.16.0 🎉 ( #6993 )
v0.16.0
2023-09-19 19:59:53 +05:30
David Luzar
3d617958cc
fix: improperly disabling UI pointer-events on canvas interaction ( #7005 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-19 16:01:40 +02:00
Aakansha Doshi
99dbc0acb9
docs: Add docs for Excalidraw Element Skeleton ( #6879 )
...
* docs: Add docs for Excalidraw Element Skeleton
* fix
* upgrade package
* tweaks
* fix
* tweak
* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx
Co-authored-by: David Luzar <luzar.david@gmail.com>
* fix
---------
Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-09-19 18:28:53 +05:30
David Luzar
4b11f43117
feat: zen-mode/go-to-plus button style tweaks ( #7006 )
2023-09-19 14:20:59 +02:00
zsviczian
e3f4f567b8
feat: holding down CMD/CTRL will disable snap to grid when grid is active ( #6983 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-18 17:10:28 +02:00
Alex Kim
eb020d0410
fix: generic element's labels not flipping with them ( #6967 )
2023-09-17 13:26:02 +02:00
David Luzar
c1952fd6cc
fix: several eyeDropper fixes ( #7002 )
2023-09-17 13:24:50 +02:00
Igor Berlenko
1f94f204dd
fix: isBindableElement to affirm frames ( #6900 )
...
fix isBindableElement to affirm frames
2023-09-15 16:15:06 -05:00
David Luzar
a34216f9fc
docs: new Sidebar API ( #6976 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-15 13:03:23 +00:00
David Luzar
c9efb12e5b
fix: use device.isMobile
for sidebar trigger label breakpoint ( #6994 )
2023-09-15 12:08:51 +00:00
Aakansha Doshi
d73cd14dfb
docs: add mermaid docs ( #6971 )
...
* docs: add mermaid docs
* fix link
* add development.mdx
* add codebase
* add parseEdge
* add subgraph
* convertors
* tweaks
* structure the codebase
* add docs for new diagram type
* decouple docs for flowchart parser
* fix broken links
* use diagram instead of chart
* revert package.json
* tweaks
* point root folder of mermaid-to-excalidraw to installation
* remove installation from sidebar children
* fix link
* update flowchart parser diagram
* update parser overview diagram
* update more diagrams
* remove note about change in element stroke
* update diagram
* increase size limit for excalidraw production bundle
* tweaks
* add link
* move codebase after introduction
* dummy
---------
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-13 21:01:34 +05:30
David Luzar
6abf194281
fix: export to plus url ( #6980 )
2023-09-11 21:13:16 +00:00
David Luzar
5302490372
feat: update logo ( #6979 )
2023-09-11 17:47:41 +02:00
DanielJGeiger
4a9adc703a
feat: export changeProperty()
and getFormValue()
. ( #6957 )
2023-09-09 08:13:15 -05:00
Rajnikant dash
56c21529db
docs: Adding the json Schema to the documentation ( #6817 )
...
Co-authored-by: Rajni2002 <rajnikant.dash@everlytics.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-07 12:43:37 +02:00
Marcel Mraz
a13aed92f2
fix: z-index inconsistencies during addition / deletion in frames ( #6914 )
...
Co-authored-by: Marcel Mraz <marcel.mraz@adacta-fintech.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-06 22:41:44 +00:00
Aakansha Doshi
134df7bfbb
fix: update size-limit so react is not installed as dependency ( #6964 )
2023-09-06 10:39:04 +05:30
Alex Kim
5191cdbe26
fix: stale labeled arrow bounds cache after editing the label ( #6893 )
...
* fix stale labeled arrow bounds cache after editing the label
* add arrow bounds test
* fix test to check the arrow version
* fix
* fix test - remove unused import
* Update src/element/textWysiwyg.test.tsx
---------
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-05 21:20:27 +05:30
David Luzar
27fd150a20
fix: canvas flickering due to resetting canvas on skipped frames ( #6960 )
2023-09-05 12:06:48 +02:00
zsviczian
188921c247
fix: grid jittery after partition PR ( #6935 )
2023-08-27 19:30:47 +02:00
David Luzar
de1ebad755
fix: regression in indexing when adding elements to frame ( #6904 )
2023-08-18 16:34:01 +02:00
David Luzar
9cd5e15917
fix: stabilize selectedElementIds
when box selecting ( #6912 )
2023-08-18 16:14:57 +02:00
David Luzar
8101a351db
fix: resetting deleted elements on duplication ( #6906 )
2023-08-18 00:28:26 +02:00
dependabot[bot]
49e9a2ab33
build(deps): bump @excalidraw/excalidraw from 0.15.2 to 0.15.3 in /dev-docs ( #6896 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 13:47:32 +02:00
David Luzar
d140d1b8b3
fix: make canvas compos memoize appState on props they declare ( #6897 )
2023-08-17 13:39:15 +02:00
zsviczian
1bd416002c
fix: scope --color-selection
retrieval to given instance ( #6886 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-08-16 21:59:37 +00:00
dependabot[bot]
991f5570ce
build(deps): bump word-wrap from 1.2.3 to 1.2.5 ( #6892 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:11:43 +05:30
dependabot[bot]
3cf8259e71
build(deps): bump semver from 6.3.0 to 6.3.1 in /src/packages/utils ( #6755 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:38:36 +02:00
dependabot[bot]
9b727025fd
build(deps): bump semver from 6.3.0 to 6.3.1 in /src/packages/excalidraw ( #6754 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:38:16 +02:00
dependabot[bot]
59b53eb9cb
build(deps): bump protobufjs from 6.11.3 to 6.11.4 ( #6890 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:25:31 +02:00
David Luzar
9e0bfd178e
refactor: factor out shape generation from renderElement.ts
pt 2 ( #6878 )
2023-08-14 13:52:25 +02:00
Rahul
c29f19a88b
perf: Limiting the suggested binding to fix performance issue ( #6877 )
2023-08-14 13:11:08 +02:00
Aakansha Doshi
2b14a5c233
build: increase limit for bundle by 1kb ( #6880 )
2023-08-14 15:47:18 +05:30
Marcel Mraz
a376bd9495
feat: partition main canvas vertically ( #6759 )
...
Co-authored-by: Marcel Mraz <marcel.mraz@adacta-fintech.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-08-12 22:56:59 +02:00
Aakansha Doshi
3ea07076ad
feat: support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically ( #6546 )
...
* feat: support creating text containers programatically
* fix
* fix
* fix
* fix
* update api to use label
* fix api and support individual shapes and text element
* update test case in package example
* support creating arrows and line
* support labelled arrows
* add in package example
* fix alignment
* better types
* fix
* keep element as is unless we support prog api
* fix tests
* fix lint
* ignore
* support arrow bindings via start and end in api
* fix lint
* fix coords
* support id as well for elements
* preserve bindings if present and fix testcases
* preserve bindings for labelled arrows
* support ids, clean up code and move the api related stuff to transform.ts
* allow multiple arrows to bind to single element
* fix singular elements
* fix single text element, unique id and tests
* fix lint
* fix
* support binding arrow to text element
* fix creation of regular text
* use same stroke color as parent for text containers and height 0 for linear element by default
* fix types
* fix
* remove more ts ignore
* remove ts ignore
* remove
* Add coverage script
* Add tests
* fix tests
* make type optional when id present
* remove type when id provided in tests
* Add more tests
* tweak
* let host call convertToExcalidrawElements when using programmatic API
* remove convertToExcalidrawElements call from restore
* lint
* update snaps
* Add new type excalidraw-api/clipboard for programmatic api
* cleanup
* rename tweak
* tweak
* make image attributes optional and better ts check
* support image via programmatic API
* fix lint
* more types
* make fileId mandatory for image and export convertToExcalidrawElements
* fix
* small tweaks
* update snaps
* fix
* use Object.assign instead of mutateElement
* lint
* preserve z-index by pushing all elements first and then add bindings
* instantiate instead of closure for storing elements
* use element API to create regular text, diamond, ellipse and rectangle
* fix snaps
* udpdate api
* ts fixes
* make `convertToExcalidrawElements` more typesafe
* update snaps
* refactor the approach so that order of elements doesn't matter
* Revert "update snaps"
This reverts commit 621dfadccfea975a1f77223f506dce9d260f91fd.
* review fixes
* rename ExcalidrawProgrammaticElement -> ExcalidrawELementSkeleton
* Add tests
* give preference to first element when duplicate ids found
* use console.error
---------
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-08-09 16:41:15 +05:30