]> source.dussan.org Git - svg.js.git/log
svg.js.git
4 months agofix(types): make on/off generic make-on-off-generic 1320/head
Ulrich-Matthias Schäfer [Tue, 16 Jul 2024 13:57:35 +0000 (15:57 +0200)]
fix(types): make on/off generic

4 months agoprettier 3.2.4
Ulrich-Matthias Schäfer [Thu, 27 Jun 2024 10:01:22 +0000 (12:01 +0200)]
prettier

4 months agorelease 3.2.4
Ulrich-Matthias Schäfer [Thu, 27 Jun 2024 10:00:05 +0000 (12:00 +0200)]
release 3.2.4

4 months agofixing dmove for nested svgs (https://github.com/svgdotjs/svg.draggable.js/issues...
Ulrich-Matthias Schäfer [Thu, 27 Jun 2024 09:57:42 +0000 (11:57 +0200)]
fixing dmove for nested svgs (https://github.com/svgdotjs/svg.draggable.js/issues/127)

5 months agoadd link to release
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 14:19:39 +0000 (16:19 +0200)]
add link to release

5 months agoadapt changelog 3.2.3
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 14:05:44 +0000 (16:05 +0200)]
adapt changelog

5 months agofix export map for father tool
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 13:51:35 +0000 (15:51 +0200)]
fix export map for father tool

5 months agorelease 3.2.2 3.2.2
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 10:32:58 +0000 (12:32 +0200)]
release 3.2.2

5 months agofix import map
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 10:32:13 +0000 (12:32 +0200)]
fix import map

5 months agoupdate babel transform runtime version
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 09:59:34 +0000 (11:59 +0200)]
update babel transform runtime version

5 months agofix typo in changelog
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 09:19:22 +0000 (11:19 +0200)]
fix typo in changelog

5 months agorelease 3.2.1 3.2.1
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 09:10:50 +0000 (11:10 +0200)]
release 3.2.1

5 months agoupdate changelog
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 09:10:33 +0000 (11:10 +0200)]
update changelog

5 months agoupdate dependencies
Ulrich-Matthias Schäfer [Tue, 18 Jun 2024 09:01:45 +0000 (11:01 +0200)]
update dependencies

14 months agouse proper export map
Ulrich-Matthias Schäfer [Fri, 8 Sep 2023 19:22:16 +0000 (21:22 +0200)]
use proper export map

14 months agoMerge pull request #1238 from gormster/1237-list-expose-builtin-array-methods
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 12:35:18 +0000 (14:35 +0200)]
Merge pull request #1238 from gormster/1237-list-expose-builtin-array-methods

Allow access to original Array.prototype methods on List prefixed with $

14 months agoadd more events to sugar (fixes #1217)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 12:09:36 +0000 (14:09 +0200)]
add more events to sugar (fixes #1217)

14 months agofix css, dont throw when screenCtm fails (fixes #968)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 10:20:46 +0000 (12:20 +0200)]
fix css, dont throw when screenCtm fails (fixes #968)

14 months agoadd sugar methods to runner (fixes #1117)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 09:42:56 +0000 (11:42 +0200)]
add sugar methods to runner (fixes #1117)

14 months agoadded amove methods to runner (fixes #1131)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 09:33:51 +0000 (11:33 +0200)]
added amove methods to runner (fixes #1131)

14 months agomake duration optional in types
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 09:29:45 +0000 (11:29 +0200)]
make duration optional in types

14 months agoallow + as delemiter in paths (fixes #1165)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 08:49:11 +0000 (10:49 +0200)]
allow + as delemiter in paths (fixes #1165)

14 months agodoscontinue use of svgjs:data in favor of data-svg
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 07:49:01 +0000 (09:49 +0200)]
doscontinue use of svgjs:data in favor of data-svg

14 months agofix import of leading, dont write data to dom if not neccessary
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 07:36:57 +0000 (09:36 +0200)]
fix import of leading, dont write data to dom if not neccessary

14 months agosupport css vars (fixes #1230)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 06:53:28 +0000 (08:53 +0200)]
support css vars (fixes #1230)

14 months agoonly apply color conversion to attributes that can take a color (fixes #1241)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 06:07:53 +0000 (08:07 +0200)]
only apply color conversion to attributes that can take a color (fixes #1241)

14 months agoallow nodes that are not imported yet (fixes #1252)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 05:54:34 +0000 (07:54 +0200)]
allow nodes that are not imported yet (fixes #1252)

14 months agoadd isHTML flag to types (fixes #1266)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 05:34:53 +0000 (07:34 +0200)]
add isHTML flag to types (fixes #1266)

14 months agoallow 0 as animation duration and delay (fixes #1225)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 05:23:54 +0000 (07:23 +0200)]
allow 0 as animation duration and delay (fixes #1225)

14 months agoallow 0 as animation duration and delay (fixes #1125)
Ulrich-Matthias Schäfer [Sun, 3 Sep 2023 05:21:41 +0000 (07:21 +0200)]
allow 0 as animation duration and delay (fixes #1125)

14 months agoadd terminate method to timeline so memory can be freed
Ulrich-Matthias Schäfer [Sat, 2 Sep 2023 19:44:19 +0000 (21:44 +0200)]
add terminate method to timeline so memory can be freed

14 months agoallow string as input to rect
Ulrich-Matthias Schäfer [Sat, 2 Sep 2023 19:30:04 +0000 (21:30 +0200)]
allow string as input to rect

14 months agoskip descriptive elements on rebuild and toParent
Ulrich-Matthias Schäfer [Sat, 2 Sep 2023 19:23:53 +0000 (21:23 +0200)]
skip descriptive elements on rebuild and toParent

15 months agoMerge pull request #1309 from we125182/1307-add-Frament-declaration
Ulrich-Matthias Schäfer [Fri, 18 Aug 2023 18:41:13 +0000 (20:41 +0200)]
Merge pull request #1309 from we125182/1307-add-Frament-declaration

fix: add Fragment declaration in svg.js.d.ts

15 months agoperf: add Container constructor declaration. 1309/head
Jiande [Fri, 18 Aug 2023 06:04:23 +0000 (14:04 +0800)]
perf: add Container constructor declaration.
if not, while user hover in Container will show DynamicExtends constructor params.

15 months agoperf: use dynamic extends to avoid duplicated declaration between Container and Fragment
Jiande [Thu, 17 Aug 2023 06:30:45 +0000 (14:30 +0800)]
perf: use dynamic extends to avoid duplicated declaration between Container and Fragment

15 months agofix: add Fragment declaration in svg.js.d.ts
Jiande [Mon, 14 Aug 2023 10:49:56 +0000 (18:49 +0800)]
fix: add Fragment declaration in svg.js.d.ts

17 months agodependency updates, easier formatting
Ulrich-Matthias Schäfer [Mon, 12 Jun 2023 23:43:37 +0000 (01:43 +0200)]
dependency updates, easier formatting

17 months agoupdate lockfile version, formatting 3.2.0
Ulrich-Matthias Schäfer [Mon, 12 Jun 2023 08:34:08 +0000 (10:34 +0200)]
update lockfile version, formatting

17 months agoupdate changelog, revert umd wrapper config
Ulrich-Matthias Schäfer [Mon, 12 Jun 2023 08:32:08 +0000 (10:32 +0200)]
update changelog, revert umd wrapper config

18 months agoMerge pull request #1300 from AstroCorp/fix/types
Ulrich-Matthias Schäfer [Wed, 10 May 2023 07:59:25 +0000 (09:59 +0200)]
Merge pull request #1300 from AstroCorp/fix/types

fix toParent type

18 months agofix toParent type 1300/head
Alejandro Leal [Wed, 10 May 2023 07:53:52 +0000 (09:53 +0200)]
fix toParent type

19 months agoMerge pull request #1297 from albert-github/feature/bug_spell
Ulrich-Matthias Schäfer [Sat, 15 Apr 2023 10:51:19 +0000 (12:51 +0200)]
Merge pull request #1297 from albert-github/feature/bug_spell

Spelling corrections

19 months agoSpelling corrections 1297/head
albert-github [Sat, 15 Apr 2023 09:45:54 +0000 (11:45 +0200)]
Spelling corrections

19 months agoMerge pull request #1294 from timgates42/bugfix_typos
Ulrich-Matthias Schäfer [Wed, 5 Apr 2023 11:42:41 +0000 (13:42 +0200)]
Merge pull request #1294 from timgates42/bugfix_typos

docs: Fix a few typos

19 months agodocs: Fix a few typos 1294/head
Tim Gates [Wed, 5 Apr 2023 11:12:10 +0000 (21:12 +1000)]
docs: Fix a few typos

There are small typos in:
- spec/spec/animation/Runner.js
- src/animation/Runner.js
- src/animation/Timeline.js

Fixes:
- Should read `successful` rather than `successfull`.
- Should read `transforms` rather than `tranforms`.
- Should read `resetting` rather than `reseting`.
- Should read `overwrite` rather than `overwfrite`.
- Should read `morpher` rather than `morepher`.
- Should read `declarative` rather than `declaritive`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
21 months agoMerge pull request #1278 from HarryFaulkner/1277-use-single-quotes-for-maskWith
Ulrich-Matthias Schäfer [Sat, 28 Jan 2023 19:07:59 +0000 (20:07 +0100)]
Merge pull request #1278 from HarryFaulkner/1277-use-single-quotes-for-maskWith

1277: remove double quotes from maskWith url()

23 months agoClone without assigning new IDs
Ulrich-Matthias Schäfer [Tue, 13 Dec 2022 08:55:16 +0000 (09:55 +0100)]
Clone without assigning new IDs

2 years agoMerge branch 'svgdotjs:master' into 1277-use-single-quotes-for-maskWith 1278/head
HarryFaulkner [Sun, 21 Aug 2022 10:14:34 +0000 (11:14 +0100)]
Merge branch 'svgdotjs:master' into 1277-use-single-quotes-for-maskWith

2 years agoremove double quote from all 'url()' refs, update tests
Harry Faulkner [Sun, 21 Aug 2022 10:13:53 +0000 (11:13 +0100)]
remove double quote from all 'url()' refs, update tests

2 years agoMerge pull request #1280 from dhckdaks/1279-fix-addto-type-definition
Ulrich-Matthias Schäfer [Fri, 12 Aug 2022 05:45:06 +0000 (07:45 +0200)]
Merge pull request #1280 from dhckdaks/1279-fix-addto-type-definition

fix: Add second parameter definition

2 years agofix: Add second parameter definition 1280/head
cmoh [Thu, 11 Aug 2022 07:29:02 +0000 (16:29 +0900)]
fix: Add second parameter definition

2 years ago1277: remove double quotes from maskWith url() impl
Harry Faulkner [Tue, 9 Aug 2022 15:19:08 +0000 (16:19 +0100)]
1277: remove double quotes from maskWith url() impl

2 years agod.ts Timeline.active() (#1253)
Timo Hausmann [Mon, 7 Feb 2022 22:02:43 +0000 (23:02 +0100)]
d.ts Timeline.active() (#1253)

2 years agoPerformance: don't create extra objects in point() (#1251)
Glandos [Thu, 27 Jan 2022 21:18:14 +0000 (22:18 +0100)]
Performance: don't create extra objects in point() (#1251)

2 years agorelease 3.1.2 3.1.2
Ulrich-Matthias Schäfer [Wed, 26 Jan 2022 22:14:58 +0000 (23:14 +0100)]
release 3.1.2

2 years agoMerge pull request #1249 from Mscht/1248-event-target-off-param-options
Ulrich-Matthias Schäfer [Tue, 18 Jan 2022 09:09:14 +0000 (10:09 +0100)]
Merge pull request #1249 from Mscht/1248-event-target-off-param-options

Add parameter "options" to EventTarget.off()

2 years agoAdd parameter "options" to EventTarget.off() 1249/head
Mario Schlicht [Tue, 18 Jan 2022 07:01:58 +0000 (08:01 +0100)]
Add parameter "options" to EventTarget.off()

- additional: Typescript-Interfaces for off() functions updated

3 years agoAdd a test to check that the new and original methods both work 1238/head
Morgan Harris [Wed, 24 Nov 2021 00:47:42 +0000 (11:47 +1100)]
Add a test to check that the new and original methods both work

3 years agoAllow access to original Array.prototype methods on List prefixed with $
Morgan Harris [Wed, 24 Nov 2021 00:35:39 +0000 (11:35 +1100)]
Allow access to original Array.prototype methods on List prefixed with $

3 years agoMerge pull request #1236 from gormster/fix-1235
Ulrich-Matthias Schäfer [Tue, 23 Nov 2021 08:58:37 +0000 (09:58 +0100)]
Merge pull request #1236 from gormster/fix-1235

Fix #1235

3 years agoAdd regression test for #1235 1236/head
Morgan Harris [Tue, 23 Nov 2021 02:15:21 +0000 (13:15 +1100)]
Add regression test for #1235

This is literally all you have to do to break this function... just have
one single other group in your document.

3 years agoReturn null if `until` not in parent chain
Morgan Harris [Tue, 23 Nov 2021 02:12:44 +0000 (13:12 +1100)]
Return null if `until` not in parent chain

3 years agoAdd test for closest matching parent
Morgan Harris [Tue, 23 Nov 2021 02:11:12 +0000 (13:11 +1100)]
Add test for closest matching parent

3 years agoFix broken parents() function
Morgan Harris [Tue, 23 Nov 2021 01:43:02 +0000 (12:43 +1100)]
Fix broken parents() function

3 years agoMerge pull request #1233 from adamyakes/1232-dmove-declarion-missing
Ulrich-Matthias Schäfer [Wed, 10 Nov 2021 21:11:46 +0000 (22:11 +0100)]
Merge pull request #1233 from adamyakes/1232-dmove-declarion-missing

Adds dmove to type definition for class Runner

3 years agoIncludes dmove method on Runner class 1233/head
Adam Yakes [Wed, 10 Nov 2021 20:12:05 +0000 (14:12 -0600)]
Includes dmove method on Runner class

3 years agoMerge pull request #1231 from Glandos/patch-2
Ulrich-Matthias Schäfer [Fri, 5 Nov 2021 09:51:19 +0000 (10:51 +0100)]
Merge pull request #1231 from Glandos/patch-2

findOne can return null

3 years agofindOne can return null 1231/head
Glandos [Fri, 5 Nov 2021 09:12:50 +0000 (10:12 +0100)]
findOne can return null

This can be a breaking change. But it will also fix the contract of the method.

3 years agofixed issues when animating css, updated deps
Ulrich-Matthias Schäfer [Wed, 27 Oct 2021 11:25:00 +0000 (13:25 +0200)]
fixed issues when animating css, updated deps

### Fixed
 - fixed `css()` returning camelCased properties even though they were specified in kebap-case
 - fixed `ObjectBag` loosing information when calling `valueOf()` (Numbers lost its unit)

3 years agoMerge pull request #1223 from larshp/master
Ulrich-Matthias Schäfer [Tue, 12 Oct 2021 09:26:36 +0000 (11:26 +0200)]
Merge pull request #1223 from larshp/master

types: remove at() methods

3 years agotypes: remove at() methods 1223/head
Lars Hvam [Tue, 12 Oct 2021 09:01:12 +0000 (11:01 +0200)]
types: remove at() methods

3 years agoMerge pull request #1219 from visionm45/master
Ulrich-Matthias Schäfer [Thu, 23 Sep 2021 11:58:25 +0000 (13:58 +0200)]
Merge pull request #1219 from visionm45/master

node or new

3 years agothis time for real revert package lock 1219/head
Daniel [Wed, 22 Sep 2021 22:46:41 +0000 (17:46 -0500)]
this time for real revert package lock

3 years agoRevert "remove old code"
Daniel [Wed, 22 Sep 2021 22:45:12 +0000 (17:45 -0500)]
Revert "remove old code"

This reverts commit aeea23be44bb6dc1653837c61c82a404d4701c8b.

3 years agoRevert "remove old code"
Daniel [Wed, 22 Sep 2021 22:44:50 +0000 (17:44 -0500)]
Revert "remove old code"

This reverts commit aeea23be44bb6dc1653837c61c82a404d4701c8b.

3 years agoreverted package lock and edit nodeOrNew
Daniel [Wed, 22 Sep 2021 22:41:46 +0000 (17:41 -0500)]
reverted package lock and edit nodeOrNew

3 years agoRevert "nodeornew"
Daniel [Wed, 22 Sep 2021 22:39:41 +0000 (17:39 -0500)]
Revert "nodeornew"

This reverts commit dc7e039ef2cbd3005c53652334f42d12f1f25691.

reverting package-lock.json

3 years agoremove old code
Daniel [Wed, 22 Sep 2021 14:29:09 +0000 (09:29 -0500)]
remove old code

3 years agocheck 'ownerDocument' in node in nodeOrNew
Daniel Kern [Mon, 20 Sep 2021 18:56:49 +0000 (13:56 -0500)]
check 'ownerDocument' in node in nodeOrNew

3 years agonew
Daniel Kern [Mon, 20 Sep 2021 18:26:55 +0000 (13:26 -0500)]
new

3 years agonodeornew
Daniel Kern [Mon, 20 Sep 2021 18:21:24 +0000 (13:21 -0500)]
nodeornew

3 years agoMerge pull request #1215 from meriturva/patch-1
Ulrich-Matthias Schäfer [Tue, 7 Sep 2021 17:36:05 +0000 (19:36 +0200)]
Merge pull request #1215 from meriturva/patch-1

Update svg.js.d.ts -> zoom

3 years agoUpdate svg.js.d.ts 1215/head
Diego Bonura [Tue, 7 Sep 2021 13:29:13 +0000 (15:29 +0200)]
Update svg.js.d.ts

Add zoom():number to d.ts to get current zoom level

3 years agopackage-lock 3.1.1
Ulrich-Matthias Schäfer [Fri, 25 Jun 2021 13:37:33 +0000 (15:37 +0200)]
package-lock

3 years agoRelease 3.1.1
Ulrich-Matthias Schäfer [Fri, 25 Jun 2021 13:11:00 +0000 (15:11 +0200)]
Release 3.1.1

3 years agoUpdate svg.js.d.ts
Ulrich-Matthias Schäfer [Fri, 18 Jun 2021 06:59:04 +0000 (16:59 +1000)]
Update svg.js.d.ts

zoom should return `this`

3 years agoMerge pull request #1204 from maximedupre/patch-1
Ulrich-Matthias Schäfer [Fri, 18 Jun 2021 06:56:36 +0000 (16:56 +1000)]
Merge pull request #1204 from maximedupre/patch-1

Fixes typings starting tsc 4.2.4

3 years agoFixes types starting tsc 4.2.4 1204/head
Maxime Dupré [Thu, 17 Jun 2021 21:01:42 +0000 (17:01 -0400)]
Fixes types starting tsc 4.2.4

3 years agoRelease 3.1.0 3.1.0
Ulrich-Matthias Schäfer [Sun, 13 Jun 2021 22:53:51 +0000 (00:53 +0200)]
Release 3.1.0

3 years agocleaned up config, reduced bundle size by a lot!!!
Ulrich-Matthias Schäfer [Sun, 13 Jun 2021 22:46:42 +0000 (00:46 +0200)]
cleaned up config, reduced bundle size by a lot!!!

3 years agofix group move bug when group contains elements without dimensions, update deps
Ulrich-Matthias Schäfer [Sun, 13 Jun 2021 20:39:18 +0000 (22:39 +0200)]
fix group move bug when group contains elements without dimensions, update deps

3 years agoUpdate website to svgjs.dev
Wout [Fri, 11 Jun 2021 08:24:38 +0000 (09:24 +0100)]
Update website to svgjs.dev

3 years agofix: change domain name to svgjs.dev
Wout [Wed, 9 Jun 2021 18:02:22 +0000 (19:02 +0100)]
fix: change domain name to svgjs.dev

3 years agoUpdate README.md
Wout [Wed, 9 Jun 2021 17:03:04 +0000 (18:03 +0100)]
Update README.md

3 years agoUpdate README.md
Ulrich-Matthias Schäfer [Wed, 19 May 2021 16:20:08 +0000 (02:20 +1000)]
Update README.md

update docs link

3 years agoMerge pull request #1201 from josepaiva94/types
Ulrich-Matthias Schäfer [Mon, 3 May 2021 16:45:29 +0000 (02:45 +1000)]
Merge pull request #1201 from josepaiva94/types

Types for Style

3 years agoadd types for styles 1201/head
José C. Paiva [Mon, 3 May 2021 06:49:47 +0000 (07:49 +0100)]
add types for styles

3 years agoadd types for styles
José C. Paiva [Mon, 3 May 2021 06:36:13 +0000 (07:36 +0100)]
add types for styles

3 years agoupdate dependencies, apply new linter fixes
Ulrich-Matthias Schäfer [Wed, 13 Jan 2021 16:26:33 +0000 (17:26 +0100)]
update dependencies, apply new linter fixes