Commit Graph

3248 Commits (f5c91c3a0f4fbf3f276073acd83ef539b098f449)
 

Author SHA1 Message Date
Aakansha Doshi f5c91c3a0f
feat: support frames via programmatic API (#7205)
* update frame id post generation

* support frames via programmatic API

* fix types

* add test for frames

* throw error when element doesn't exist

* naming tweaks

* update the api to use children

* consider max of frame dimensions and calculated bounds of elements

* consider bound elements in frame api
1 year ago
David Luzar 9b8de8a12e
test: disable flaky test (#7213) 1 year ago
David Luzar ea677d4581
feat: make clipboard more robust and reintroduce contextmenu actions (#7198) 1 year ago
Aakansha Doshi ec2de7205f
fix: don't update label position when dragging labelled arrows (#6891)
* fix: don't update label position when dragging labelled arrows

* lint

* add test

* don't update coords for label when labelled arrow inside frame

* increase locales bundle size limit
1 year ago
Are d5e3f436dc
feat: add approximate elements in bbox detection (#6727)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
Aakansha Doshi dcf4592e79
feat: regenerate ids by default when using transform api and also update bindings by 0.5px to avoid possible overlapping (#7195)
* feat: regenerate ids by default when using transform api and also update bindings by 0.5px to avoid possible overlapping

* type

* increase limit as some past PR(s) increased the bundle size

* review fixes

* update changelog
1 year ago
David Luzar d1f8eec174
feat: support giphy.com embed domain (#7192) 1 year ago
David Luzar 0f81c30276
fix: frame add/remove/z-index ordering changes (#7194) 1 year ago
zsviczian f098789d16
fix: element relative position when dragging multiple elements on grid (#7107)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar f794b0bb90
fix: freedraw non-solid bg hitbox not working (#7193) 1 year ago
David Luzar 104f64f1dc
revert: remove bound-arrows from frames (#7190) 1 year ago
Viczián András 71ad3c5356
fix: Actions panel ux improvement (#6850)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar afea0df141
feat: renderer tweaks (#6698) 1 year ago
Preet d2a508104e
fix: Better fill rendering with latest RoughJS (#7031)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar 3697618266
feat: support `props.locked` for `setActiveTool` (#7153)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
1 year ago
David Luzar e7cc2337ea
feat: add `onChange`, `onPointerDown`, `onPointerUp` api subs (#7154) 1 year ago
dependabot[bot] 9eb89f9960
build(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /dev-docs (#7165)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Excalidraw Bot ab1bcc7615
chore: Update translations from Crowdin (#6695) 1 year ago
Vaibhav Shukla b1cac35269
feat: Closing of "Save to.." Dialog on Save To Disk (#7168)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
Vaibhav Shukla 83f86e2b86
fix: Fix for Strange Symbol Appearing on Canvas after Deleting Grouped Graphics (Issue #7116) (#7170)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
dependabot[bot] 7e38cab76e
build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 (#7171)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
David Luzar 2cabb1f1f4
fix: attempt to fix flake in wysiwyg tests (#7173) 1 year ago
Lakshya Satpal 63650f82d1
feat: Added Copy/Paste from Google Docs (#7136)
Co-authored-by: dwelle <luzar.david@gmail.com>
1 year ago
David Luzar dde3dac931
feat: remove bound-arrows from frames (#7157) 1 year ago
David Luzar 5b94cffc74
fix: ensure `ClipboardItem` created in the same tick to fix safari (#7066) 1 year ago
David Luzar aaf73c8ff3
fix: double image dialog shown on insert (#7152) 1 year ago
mazijian-pp 44d9d5fcac
fix: wysiwyg left in undefined state on reload (#7123) 1 year ago
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