Commit Graph

3271 Commits (zsviczian-fix-unlock-elements-on-mobile)
 

Author SHA1 Message Date
Alex Kim 89a3bbddb7
test: add more resizing tests (#7028)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar b86184a849
fix: ensure relative z-index of elements added to frame is retained (#7134) 1 year ago
Barnabás Molnár b552166924
feat: new dark mode theme & light theme tweaks (#7104)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar 26ff3993bb
feat: better laser cursor for dark mode (#7132) 1 year ago
David Luzar 7ad02c359a
fix: memoize static canvas on `props.renderConfig` (#7131) 1 year ago
David Luzar 2523fe82e3
feat: laser pointer improvements (#7128) 1 year ago
zsviczian 4ea079eb85
fix: regression from #6739 preventing redirect link in view mode (#7120)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
Ryan Di f20ba90ffa
perf: improve element in frame check (#7124) 1 year ago
Emmanuel Ferdman 03da9112cf
fix: update links to excalidraw-app (#7072) 1 year ago
David Luzar a249f332a2
fix: ensure we do not stop laser update prematurely (#7100) 1 year ago
Are 2e61926a6b
feat: initial Laser Pointer MVP (#6739)
* feat: initial Laser pointer mvp

* feat: add laser-pointer package and integrate it with collab

* chore: fix yarn.lock

* feat: update laser-pointer package, prevent panning from showing

* feat: add laser pointer tool button when collaborating, migrate to official package

* feat: reduce laser tool button size

* update icon

* fix icon & rotate

* fix: lock zoom level

* fix icon

* add `selected` state, simplify and reduce api

* set up pointer callbacks in viewMode if laser tool active

* highlight extra-tools button if one of the nested tools active

* add shortcut to laser pointer

* feat: don't update paths if nothing changed

* ensure we reset flag if no rAF scheduled

* move `lastUpdate` to instance to optimize

* return early

* factor out into constants and add doc

* skip iteration instead of exit

* fix naming

* feat: remove testing variable on window

* destroy on editor unmount

* fix incorrectly resetting `lastUpdate` in `stop()`

---------

Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
DanielJGeiger e921bfb1ae
feat: Export `iconFillColor()` (#6996) 1 year ago
David Luzar e6f74350ac
refactor: DRY out tool typing (#7086) 1 year ago
David Luzar fa33aa08ab
refactor: refactor event globals to differentiate from `lastPointerUp` (#7084) 1 year ago
David Luzar 8b838049df
fix: remove invisible elements safely (#7083) 1 year ago
David Luzar 1f4f5e11ae
refactor: DRY out and simplify setting active tool from toolbar (#7079) 1 year ago
David Luzar 12420592ef
feat: support menu / dropdown items to have `selected` state (#7078) 1 year ago
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
1 year ago
Thomas Steiner 6a821f3b76
fix: Icon size in manifest (#7073) 1 year ago
Tanmoy 84fd13e872
docs: fix minor grammar and spellings (#7039) 1 year ago
Alberto Torrigiotti 7d2b6f3374
docs: fix typo on homepage of developer docs (#7047) 1 year ago
David Luzar ceb637f5ea
fix: elements being dropped/duplicated when added to frame (#7057) 1 year ago
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>
1 year ago
David Luzar 4765f5536e
fix: frame name not editable on dbl-click (#7037) 1 year ago
David Luzar 556175558a
fix: polyfill `Element.replaceChildren` (#7034) 1 year ago
Aakansha Doshi 4db73a7f95
docs: release @excalidraw/excalidraw@0.16.1 🎉 (#7020) 1 year ago
David Luzar f8b3692262
fix: more eye-droper fixes (#7019) 1 year ago
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
1 year ago
Aakansha Doshi 0a588a880b
docs: release @excalidraw/excalidraw@0.16.0 🎉 (#6993) 1 year ago
David Luzar 3d617958cc
fix: improperly disabling UI pointer-events on canvas interaction (#7005)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
1 year ago
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>
1 year ago
David Luzar 4b11f43117
feat: zen-mode/go-to-plus button style tweaks (#7006) 1 year ago
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>
1 year ago
Alex Kim eb020d0410
fix: generic element's labels not flipping with them (#6967) 1 year ago
David Luzar c1952fd6cc
fix: several eyeDropper fixes (#7002) 1 year ago
Igor Berlenko 1f94f204dd
fix: isBindableElement to affirm frames (#6900)
fix isBindableElement to affirm frames
1 year ago
David Luzar a34216f9fc
docs: new Sidebar API (#6976)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
1 year ago
David Luzar c9efb12e5b
fix: use `device.isMobile` for sidebar trigger label breakpoint (#6994) 1 year ago
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>
1 year ago
David Luzar 6abf194281
fix: export to plus url (#6980) 1 year ago
David Luzar 5302490372
feat: update logo (#6979) 1 year ago
DanielJGeiger 4a9adc703a
feat: export `changeProperty()` and `getFormValue()`. (#6957) 1 year ago
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>
1 year ago
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>
1 year ago
Aakansha Doshi 134df7bfbb
fix: update size-limit so react is not installed as dependency (#6964) 1 year ago
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>
1 year ago
David Luzar 27fd150a20
fix: canvas flickering due to resetting canvas on skipped frames (#6960) 1 year ago
zsviczian 188921c247
fix: grid jittery after partition PR (#6935) 1 year ago
David Luzar de1ebad755
fix: regression in indexing when adding elements to frame (#6904) 1 year ago
David Luzar 9cd5e15917
fix: stabilize `selectedElementIds` when box selecting (#6912) 1 year ago