Commit Graph

3586 Commits (7b4e989d65bdf14a8ef22ba6b641d27ad16fe531)
 

Author SHA1 Message Date
Mark Tolmacs 7b4e989d65
Add ellipse changes no angle
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs d9ea7190ec
First implementation of element distance functions with failing tests 4 months ago
Mark Tolmacs 47cc842415
Rectangle distance and tests 4 months ago
Mark Tolmacs 9a8aabbeca
Update snapshot and comment 4 months ago
Mark Tolmacs 3fe73e79a6
Arc tests 4 months ago
Mark Tolmacs f79fb899fc
Unify actionFlip test 4 months ago
Mark Tolmacs b697f63cad
More refactor 4 months ago
Mark Tolmacs 392dd5b0b8
ellipse and arc refactors 4 months ago
Mark Tolmacs 3efa8735ef
Ellipse refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs 017047d15e
Unify on GenericPoint type
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs 0c47bd0004
Unify bounds calculation
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs c0915c6b98
Fix lint errors 4 months ago
Mark Tolmacs dff60e6f6f
Refactoring bounds, arrows, bboxes 4 months ago
Mark Tolmacs 9eb08df3ea
Move path related function into the math package 4 months ago
Mark Tolmacs 1b56cf90fb
Move binaryheap implementation to utils 4 months ago
Mark Tolmacs 0e2f8c958e
Further math refactor and simplifications 4 months ago
Mark Tolmacs 41885b4bb3
Fix missing point
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs b4cb314090
Refactoring points
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
David Luzar 8ca4cf3260
feat: flip arrowheads if only arrow(s) selected (#8525)
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Márk Tolmács f3f0ab7c83
fix: Elbow arrow fixedpoint flipping now properly flips on inverted resize and flip action (#8324)
* Flipping action now properly mirrors selections with elbow arrows
* Flipping action now re-centers the selection to the original center to avoid "walking" selections on repeated flipping
4 months ago
David Luzar 44a1c8d857
fix: svg and png frame clipping cases (#8515) 5 months ago
Márk Tolmács e0a22edfbd
fix: Re-route elbow arrows when pasted (#8448)
Re-route elbow arrows when pasted
5 months ago
Márk Tolmács c07f5a0c80
feat: Common elbow mid segments (#8440)
Common start or end segment length for elbow arrows regardless of arrowhead is present
5 months ago
David Luzar 508f16dc04
refactor: rename example `App.tsx` -> `ExampleApp.tsx` (#8501) 5 months ago
zsviczian c1b310c56b
fix: Buffer dependency (#8474)
* fix Buffer dependency

* moved to encode.ts

* move base64 parsing out

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
zsviczian d4900e8f19
fix: Linear element complete button disabled (#8492) 5 months ago
zsviczian caf2db934c
fix: aspect ratio of distorted images are not preserved in SVG exports (#8061) 5 months ago
zsviczian 60e3801691
fix: WYSIWYG editor padding is not normalized with zoom.value (#8481) 5 months ago
David Luzar 80f3b75d42
chore: revert vite 5.4.2 -> 5.0.12 (#8499) 5 months ago
hocino dc812bee19
docs: replace dead link (#8494)
* docs update dead link on main-menu page

* doc: fix dead link
5 months ago
David Luzar 01e83cc9a5
fix: default sidebar triggers & behavior (#8498) 5 months ago
David Luzar 813f9b702e
feat: merge search sidebar back to default sidebar (#8497) 5 months ago
David Luzar fd39712ba6
fix: improve canvas search scroll behavior further (#8491) 5 months ago
zsviczian b46ca0192b
fix: addFiles clears the whole image cache when each file is added - regression from #8471 (#8490)
Update App.tsx
5 months ago
David Luzar 72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch (#8488) 5 months ago
David Luzar d107215564
fix: `select` instead of `focus` search input (#8483) 5 months ago
Ryan Di 6959a363f0
feat: canvas search (#8438)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
Abhishek Mehandiratta 5a11c70714
fix: image rendering issue when passed in `initialData` (#8471) 5 months ago
Aakansha Doshi 6ff56c36e3
fix: add partial mocking (#8473)
* fix: add partial mocking

* lint

* Update packages/utils/export.test.ts
5 months ago
Aakansha Doshi 51ea184938
build: upgrade vite to 5.4.x, vitest to 2.x and related vite packages (#8459)
* build: upgrade vite to 5.x, vitest to 2.x and related vite packages

* upgrade vitest-ui and coverage

* pass empty set to fix type error and update snap

* set ignoreEmptyLines to false

* update threshold

* update coverage threshold

* downgrade vite-plugin-pwa as its better to push separately with testing

* add package resolutions for strip-ansi, string-width and wrap-ansi

* disable pwa

* only add resolution for strip-ansi
5 months ago
dependabot[bot] 21fff26d31
build(deps): bump micromatch from 4.0.5 to 4.0.8 in /dev-docs (#8458)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
Márk Tolmács f4dd23fc31
chore: Unify math types, utils and functions (#8389)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
dependabot[bot] e3d1dee9d0
build(deps): bump micromatch from 4.0.7 to 4.0.8 (#8450)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
hocino e3f31df747
docs : update dead link on main-menu page (#8454) 5 months ago
David Luzar 60e75406e0
refactor: remove unused env variable (#8457) 5 months ago
zsviczian b396e07b90
fix: PropertiesPopover maxWidth changing fixed units to relative units (#8456) 5 months ago
zsviczian 2d1d84a47b
fix: View mode wheel zooming does not work (#8452)
* Update App.tsx

* fix: prevent zooming browser over DOM

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
Marcel Mraz ee30225062
feat: subset font glyphs for SVG export (#8384)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
David Luzar 16cae4fc07
feat: reset copyStatus on export dialog settings change (#8443) 5 months ago
David Luzar 576bc0dbe5
feat: tweak copy button success animation (#8441) 5 months ago