Commit Graph

24 Commits

Author SHA1 Message Date
JFH
0c44b49450 Update dep (#988)
* update and adapt code to latest dependencies

-> need testIsolation to False with the latest Cypress

* need this for CI (bug https://github.com/npm/cli/issues/4828)

* run instrument before test

* fix test

* v7.3.4
2024-08-18 23:51:28 +02:00
Delmo Heredia
2c3f20635b Add convertUnit utility function to SvgCanvas instance (#965) 2024-04-23 16:22:06 +02:00
Delmo Heredia
04ab3dd873 Fix initial stroke width (#959)
* Fix initial stroke width

* refresh packages

* update snapshots

* Update issue-752.cy.js

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2024-04-18 13:58:59 +02:00
cg-scorpio
b166aa02c7 detect a g layer with the className "Layer" instead of a non empty title (#955)
* detect a g layer with the className "Layer" instead of a non empty title

* fix TU
2024-03-12 06:19:47 +01:00
olekhshch
9f77e9c63a fix #832, floating btns closing, Esc to close confirmation dialog, 0x0 rects disabled (#947) 2024-01-20 22:53:20 +00:00
olekhshch
19403a2755 Panning, modeChange Event, minor changes (#939)
* mode event, panning cursor

* Panning shortcuts(space,wheel), undo shortcut

* Undo/redo shortcuts, svgcanvas changes added to the main file

* minor refactoring
2023-12-28 11:20:26 +01:00
JFH
2b9fa0be0c release 7.2.2 2023-12-10 11:22:50 +01:00
JFH
f0e4407f44 Fix export (#936)
* fix export

* improve dialog and fix quality
2023-12-10 10:52:20 +01:00
JFH
ec3e0522df Fixes issue with xy panel (#935)
* update deps

* fixes #930

* update workflow

* Update TopPanel.js

* fix side effects

* Update utilities-performance.cy.js
2023-12-09 17:17:10 +01:00
JFH
94068b80b7 package updates 2023-10-12 23:03:50 +02:00
Mo'ath Zaghdad
0895235c17 fix: Enhance text properties for multiple selected elements (SVG-Edit/svgedit#918) (#919)
* fix: Enhance text properties for multiple selected elements (SVG-Edit/svgedit#918)

This commit addresses issue SVG-Edit/svgedit#918 by improving
text property handling when multiple elements are selected.
You can now set Bold, Italic, Text-Decoration, Text-Anchor,
Letter-Spacing, Word-Spacing, Text Length, and Length Adjust.

* Update Editor.js

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2023-09-18 12:38:41 +02:00
JFH
24b8f74c4d Connector extension (#916)
* npm update
* move connector extension back
2023-08-25 23:47:16 +02:00
JFH
420861f408 update npm packages, refresh ar language. (#901)
* update npm packages

* Update lang.ar.js

* fix linter issues

* update version to publish

---------

Co-authored-by: Abdelmjid Saber <87904671+abdelmjid-saber@users.noreply.github.com>
2023-05-28 09:36:05 +02:00
JFH
13cdaedc63 Fix #879 (#883)
* create and use getTransformList
* update dependencies
2023-03-31 01:57:06 +02:00
JFH
5682e8c596 update react test (#870) 2023-01-09 14:53:00 +01:00
JFH
00a7d61122 Update packages and remove the instrument step (#854)
* several updates
* avoid the instrumented step in tests
2022-11-27 23:01:27 +01:00
pmkrawczyk
c0d0db4d7e Prevent accidental selection move (#848) 2022-11-27 10:28:55 +01:00
pmkrawczyk
e08648c8f5 Maintain aspect ratio by default for images (#847) 2022-11-05 19:32:12 +01:00
cg-scorpio
ae243ce906 Code securisation (#843)
* Fix: securize convertToGroup method when manipulate element with no transform attribute
* Fix: securise getIntersectionListMethod method when manipulate element with no bbox (for example : defs element)
* Fix: securise resize method when there is no bbox (for example : defs element)
* Fix: securise recalculateDimensions to avoid to pass null to addSubCommand
2022-10-26 15:38:54 +02:00
cg-scorpio
8350b97875 Enhancement: add a parameter to the importSvgString function in order… (#842)
* Enhancement: add a parameter to the importSvgString function in order to permit to decide if the importation should apply a transformation on the imported element or not

* allow user to import SVG preserving the dimension

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2022-10-16 23:30:44 +02:00
cg-scorpio
cb2fe733dd Fix fit to content (#841)
* Fix: avoid to select defs or title as parentElement

* Fix: fix problem when nothing is drawing
2022-10-16 15:43:58 +02:00
cg-scorpio
aabd593123 Fix: avoid to select defs or title as parentElement (#840)
* Fix: avoid to select defs or title as parentElement
2022-10-15 17:21:14 +02:00
cg-scorpio
e2ad8211a5 Fix: applies the transformation of the parent element in addition to … (#839)
* Fix: applies the transformation of the parent element in addition to that of the selected element

* Fix:  delete debug logs and use a ternary operator
2022-10-14 20:17:49 +02:00
JFH
43bf93968a separate svgcanvas from svgedit
now you can use directlt svgcanvas. see readme.md

* configure workspaces
* move svgcanvas to packages folder
* move utils to common and paint to svgcanvas
* make svgcanvas a dependency of svgedit
* update deps
* workspaces requires npm 7 at least so the ci needs a new node version
* update github actions to V3
* update snapshots using custom svg exports
* remove unmaintained cypress snapshot plugin
* new github action to add coverage in PR
* Update onpushandpullrequest.yml
* svgcanvas v7.1.6
2022-08-14 15:01:51 +02:00