Commit Graph

3522 Commits (17477480f3e8279c5ca743b078043bf5ec4a9b47)
 

Author SHA1 Message Date
zsviczian 17477480f3
check for strict null
Clarence Chan f7b3befd0a
fix: text content with tab characters act different in view/edit ()
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
DDDDD12138 7b2bee9746
chore: remove unused parameter ()
David Luzar 88014ace4a
fix: drawing from 0-dimension canvas ()
David Luzar 87a9430809
fix: disable flowchart keybindings inside inputs ()
Márk Tolmács 99b91c46f7
fix: Yet more patching of intersect code ()
* Yet more patching of intersect code
David Luzar 1ea5b26f25
fix: missing `act()` in flowchart tests ()
Clarence Chan d5f4ee7b3f
fix: z-index change by one causes app to freeze ()
Márk Tolmács 261304c1a4
fix: Patch over intersection calculation issue ()
* Patch over intersection calculation issue
Márk Tolmács 84398a7e5c
fix: Point duplication in LEE on ALT+click ()
Ryan Di 54491d13d4
feat: create flowcharts from a generic element using elbow arrows ()
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Márk Tolmács dd1370381d
chore: Refactor and remove scene from elbow arrow generation ()
* Refactor and remove scene from elbow arrow generation
Márk Tolmács 72d6ee48fc
fix: Do not allow resizing unbound elbow arrows either ()
* Fix resizing of unbound elbow arrows
David Luzar 232242d2e9
test: skip test.yml in PRs ()
David Luzar f19ce30dfe
chore: bump `@testing-library/react` `12.1.5` -> `16.0.0` ()
Ryan Di 3cf14c73a3
refactor: rename `draggingElement` -> `newElement` ()
* add newElement to appState

* freedraw should not be an editing element

* do not set editing element for freedraw and generic

* remove ununsed `appState.draggingElement`

* remove setting dragged for new linear element

* decouple selection element from new element

* fix hint for text bindables

* update snapshot

* fixes

* fix frame regressions

* add comments to types

* document `editingElement`

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Márk Tolmács 8d530cf102
fix: Docker build in CI ()
* Fix Docker build CI
* Bump nginx-alpine version to 1.27
David Luzar b87925d253
build: add example apps `public` and vite `dev-dist` to eslintignore ()
b1sar a6684b09f2
docs: fix typos in props.mdx ()
David Luzar b427617f66
build: add `rm:build`, `rm:node_modules` & `clean-install` scripts ()
dependabot[bot] 2907fbe34b
build(deps): bump @excalidraw/excalidraw from 0.17.0 to 0.17.6 in /dev-docs ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
zsviczian c67815f7b0
fix: Duplicating arrow without bound elements throws error ()
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
Márk Tolmács c641860cb1
fix: CVE-2023-45133 ()
* Upgrade @babel/* versions to 7.24 to ensure non-vulnerable Babel versions
* Pinning React version to 18.2.0 exactly, avoiding test-utils type version clashes
* Fix warning message on yarn start
* Moving react to peer dependencies
* Moving app dependencies from workspace into app
* Bump vitest to 1.6.0 to fix history.test.tsx breaking

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Marcel Mraz 84d89b9a8a
fix: throttle fractional indices validation ()
David Luzar e63dd025c9
fix: allow binding elbow arrows to frame children ()
Márk Tolmács 15e019706d
feat: Orthogonal (elbow) arrows for diagramming ()
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Aakansha Doshi a133a70e87
build: update release script to build esm ()
Marcel Mraz 80ea7ca23f
fix: skip registering font faces for local fonts ()
David Luzar e844580b14
feat: remove automatic frame naming ()
Marcel Mraz 5a0771ad9c
fix: load fonts for `exportToCanvas` ()
Marcel Mraz adcdbe2907
fix: re-add Cascadia Code with ligatures ()
Marcel Mraz 230d0edc44
feat: multiple fonts fallbacks ()
Marcel Mraz d0a380758e
feat: ability to debug the state of fractional indices ()
Ryan Di 7b36de0476
fix: linear elements not selected on pointer up from hitting its bound text ()
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
David Luzar 2427e622b0
feat: improve mermaid detection on paste ()
Marcel Mraz 62228e0bbb
feat: introduce font picker ()
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
DDDDD12138 4c5408263c
chore: Correct Typos in Code Comments ()
chore: correct typos

Co-authored-by: wuzhiqing <wuzhiqing@linklogis.com>
Aakansha Doshi bd7b778f41
perf: cache the temp canvas created for labeled arrows ()
* perf: cache the temp canvas created for labeled arrows

* use allEleemntsMap so bound text element can be retrieved when editing

* remove logs

* fix rotation

* pass isRotating

* feat: cache `element.angle` instead of relying on `appState.isRotating`

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
David Luzar 43b2476dfe
fix: revert default element canvas padding change ()
BlueGreenMagick df8875a497
fix: freedraw jittering ()
David Luzar 6fbc44fd1f
fix: messed up env variable ()
Aakansha Doshi d25a7d365b
feat: upgrade mermaid-to-excalidraw to v1.1.0 ()
* feat: upgrade mermaid-to-excalidraw to v1.1.0

* fixes

* upgrade and remove config as its redundant

* lint

* upgrade to v1.1.0
David Luzar e52c2cd0b6
fix: log allowed events ()
David Luzar 96eeec5119
feat: bump max file size ()
Hamir Mahal f5221d521b
ci: upgrade gh actions checkout and setup-node to v4 ()
fix: usage of `node12 which is deprecated`
Alexandre Lemoine db2c235cd4
Fix : exportToCanvas() doc example ()
David Luzar 148b895f46
feat: smarter preferred lang detection ()
DDDDD12138 d9258a736b
chore: Consolidate i18n import in LanguageList component ()
zsviczian 2e1f08c796
fix: memory leak - scene.destroy() and window.launchQueue ()
David Luzar 1d5b41dabb
fix: stop updating text versions on init ()