Commit Graph

4010 Commits (master)

Author SHA1 Message Date
olekhshch 77b7bd95b7
Enhancement: Eyedropper (#948)
* cursor helper

* shortcuts

* Helper styling

* linter fix

* dasharray param fix
2024-01-30 08:14:17 +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 f75d1a83a0
Cursors, Esc to cancel active tool (#946)
* basic drawing cursors

* Esc to cancel tool, I shortcut bug fix

* panel btns hover animation

* minor changes

* Linter fix

* update packages

* remove NYC coverage causing build errors
would be nice to find out a replacement or a fix

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2024-01-17 15:19:37 +01:00
Mo'ath Zaghdad 24f78d3d0f
fix: Call zoomChanged event after updating the zoom (#940)
The zoomChange method was not being called on the extensions, and this
commit fixes this by calling the runExtensions method after updating the
zoom.
This commit addresses issue SVG-Edit/svgedit#896
2024-01-14 23:21:05 +01: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
olekhshch d502525cc0
Bottom panel styling, more adaptive palette, shortcuts (#937) 2023-12-24 01:48:27 +01:00
JFH 2f9f6e2f71 release 7.3.3 (publish.md and update svgcanvas) 2023-12-10 11:29:50 +01:00
JFH 2b9fa0be0c release 7.2.2 2023-12-10 11:22:50 +01:00
JFH 13245ec2ff release 7.3.3 2023-12-10 10:57:06 +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 ca21e83365
Refresh dependencies (#913)
* update dependencies

* fix lint issues
2023-07-25 12:23:10 +02:00
Peter Hauke 73f61397fa
Fix typos and make minor edits to language (#912)
Fix typos

Remove hyphen from SVG-Edit as SVGEdit seems to be the correct title of the package

Make minor edits to language

Change "underlying svg edition" to "underlying svg editor". I think "edition" is wrong as it does not seem to make sense here.
2023-07-25 11:48:02 +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
smed79 24c63f1a8b
Update README.md (#898) 2023-04-27 08:33:22 +02:00
JFH 13cdaedc63
Fix #879 (#883)
* create and use getTransformList
* update dependencies
2023-03-31 01:57:06 +02:00
JFH 8619a17333
add a more visible comment to avoid issue #875 2023-02-06 22:13:05 +01:00
Mo'ath Zaghdad 0c0663eb34
fix: Correct a condition that gets the width value on the Image-Properties (#880) 2023-01-29 19:21:51 +01:00
Liubomyr Vyhovskyi 230331b36e
fix(se-zoom): fix missing arrow_down.svg icon (#874) 2023-01-20 00:24:39 +01:00
JFH 5682e8c596
update react test (#870) 2023-01-09 14:53:00 +01:00
JFH 86fcc112c9
fix CI issue and package upgrades (#869) 2023-01-09 08:32:54 +01:00
Liubomyr Vyhovskyi 990cc58260
feat(locale): add Ukrainian language translations (#859)
Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2022-12-14 17:23:55 +01:00
Liubomyr Vyhovskyi 476b2a178c
feat(locale): add Swedish language translations (#860)
* feat(locale): add Swedish language translations

* add missing labels
2022-12-14 15:28:27 +01:00
JFH 59148d467e
add a prebuild for svgcanvas (#866)
fix the netlify build
2022-12-13 01:27:27 +01:00
JFH 0417618156
Fix build issue #862 (#863)
* migrate cypress
* clean local storage before each test
2022-12-11 23:39:44 +01:00
bluetwelve bb3a9b105f
fix bug where font family select doesn't update the Top Panel dropdown (#853) (#856) 2022-11-28 17:57:12 +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
smed79 1cd30205d9
Update README.md (#844)
formatting + syntax highlighting code blocks
2022-11-05 19:32:38 +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 b6f8158200
Update README.md 2022-08-22 09:42:26 +02:00
JFH bf9c0efdc5 Update npmpublish on demand.yml 2022-08-14 16:52:47 +02:00
JFH c75311ee84 Create npmpublish on demand.yml 2022-08-14 16:33:56 +02:00
JFH 1d75216477 Update npmpublish.yml 2022-08-14 15:48:55 +02:00
JFH f47759867a fix issue with publish and readme minor changes 2022-08-14 15:36:29 +02:00
JFH 6b68b0c6ef publish on release 2022-08-14 15:27:00 +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
JFH 614a361558 do not ignore the coverage summary
so it can be used to compare master and PR coverage
2022-08-14 11:11:52 +02:00
JFH 05c5455a00 include packages in codeql analysis 2022-08-12 23:05:06 +02:00
JFH be29f86d6e
Create codeql.yml 2022-08-12 22:56:50 +02:00
radasam ad1b9df6a5
Fix: Zoom selector rewrite (#826) 2022-08-08 01:09:13 +02:00
Thakur Karthik f9fe802dcd
refactor se-list and se-list-item (#827) 2022-08-08 01:05:22 +02:00