aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation
Commit message (Collapse)AuthorAgeFilesLines
* This is a big one...Ulrich-Matthias Schäfer2020-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format
* bump version3.0.15Ulrich-Matthias Schäfer2019-11-081-4/+8
| | | | | | | | ### Fixed - allow object input of `when` and `delay` to `animate()` ### Added - added missing dmove function to runner
* Updated dependencies to newest version, new linter fixed stuffUlrich-Matthias Schäfer2019-11-014-23/+23
|
* Merge pull request #966 from michAtEl/issue-964Ulrich-Matthias Schäfer2019-04-011-1/+15
|\ | | | | bugfix for issue #964
| * bugfix for issue 964Michael Becker2019-02-231-1/+15
| |
* | Register classes explicitly instead of relying on `Function.name` because ↵Ulrich-Matthias Schäfer2019-02-271-1/+1
|/ | | | classes could be renamed
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-123-5/+10
|
* Release 3.0.43.0.4Ulrich-Matthias Schäfer2018-12-074-54/+93
|
* Release 3.0.33.0.3Ulrich-Matthias Schäfer2018-12-053-24/+35
|
* Release 3.0.23.0.2Ulrich-Matthias Schäfer2018-12-033-11/+44
|
* Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-304-63/+358
|\
| * plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-281-2/+2
| |
| * Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | - svg.js: The esm bundle - svg.min.js: The bundle for all browsers for maximum support - svg.node.js: The bundle for node - polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js - polyfillIE.js: This is required when you use IE11 (polyfill.js still required) Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox. Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
| * fix bugs in runner, fix importsUlrich-Matthias Schäfer2018-11-261-5/+5
| |
| * Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-242-1/+247
| | | | | | | | | | - words() and element() added to Dom - svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)
| * fixed lots of bugs in the timeline. Its now working as expected in all cases.Ulrich-Matthias Schäfer2018-11-232-30/+37
| | | | | | | | | | | | | | | | - refactor code into functions - handle timeSource correctly - allow for immediate updates - Runners dont know about their delay anymore. Thats far more simple. - Timeline is paused on creation
| * fix Timeline so that play, pause, stop, reverse... work correctly. Update ↵Ulrich-Matthias Schäfer2018-11-223-21/+51
| | | | | | | | runners accordingly
| * add default parameter for timeSourceUlrich-Matthias Schäfer2018-11-211-5/+7
| |
| * add register for insertBefore and insertAfterUlrich-Matthias Schäfer2018-11-201-7/+3
| |
* | Reverted some of the lint rules after chatting with fuzzySaivan2018-11-265-919/+459
| | | | | | | | | | | | | | | | | | This commit reverts some of the rules we added on the linter, it changed a lot of code again... but these won't happen too often. Changes ======= - Modified the linter again
* | Changed the esLint rules to avoid silly ternary operators, and to let code ↵Saivan2018-11-255-461/+933
|/ | | | | | | | | | | | | | breathe! This commit modifies some of the eslint rules, to allow our code to be a little bit more readable. This came about because we had a particularly pesky problem, where the code was indenting ternary operators. This fixes that, and makes it easy to add new rules to eslint as we please in the future. Changes ======= - Rebuilt the library with new eslint rules - Changed the eslintrc file to a yaml file by default
* renamed `Doc` to `Svg` according to (#932)Ulrich-Matthias Schäfer2018-11-191-11/+8
|
* cleanup a few filesUlrich-Matthias Schäfer2018-11-171-1/+1
|
* make List return new lists on method calls, add map to array polyfill so ↵Ulrich-Matthias Schäfer2018-11-121-8/+24
| | | | that this works, fix runner
* evaluate window and document on access and not on importUlrich-Matthias Schäfer2018-11-122-11/+8
|
* make window and document exchangeable in case they are not globals alreay, ↵Ulrich-Matthias Schäfer2018-11-112-0/+5
| | | | make sure that init functions are chaninable
* get rid of the fixmes and todosUlrich-Matthias Schäfer2018-11-082-10/+6
|
* clone() does not insert the clone into the dom anymore, added beziere() and ↵Ulrich-Matthias Schäfer2018-11-072-3/+58
| | | | steps() to generate easing functions
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-065-0/+1516