summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* added tests for CircleUlrich-Matthias Schäfer2020-04-082-5/+4
|
* fix defs and reference, tests for ElementUlrich-Matthias Schäfer2020-04-082-14/+15
|
* tests for EventTargetUlrich-Matthias Schäfer2020-04-082-10/+5
|
* added Fragment, completed Dom Tests, fixed `matches()` for document fragmentsUlrich-Matthias Schäfer2020-04-084-11/+56
|
* added second parameter to `addTo` and `putIn`. Added deep clone parameter to ↵Ulrich-Matthias Schäfer2020-04-051-14/+14
| | | | `clone`. Tests for Dom
* renamed removeNamespace()Ulrich-Matthias Schäfer2020-04-042-3/+3
|
* - fixed `put()` which correctly creates an svgjs object from the passed ↵Ulrich-Matthias Schäfer2020-04-033-36/+32
| | | | | | | | element now before returning - fixed `parent()` which correctly returns null if direct parent is the document or a document-fragment - fixed `add()` which correctly removes namespaces of non-root svg elements now when added to another svg element (#1086) - fixed `isRoot()` which correctly returns false, if the element is in a document-fragment
* fixed put and adopter, added tests to cover itUlrich-Matthias Schäfer2020-03-292-4/+7
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-2834-214/+274
| | | | | | | | | | | | | | | | | | | | ### 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-082-6/+10
| | | | | | | | ### 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-0127-119/+119
|
* 1023 - hide parser from screen readersSimon Lenz2019-07-271-0/+1
|
* Added tests for 0 value width/height wrong path scalingValentin2019-05-091-1/+1
|
* Fixed path transformation when box width or height is 0Valentin2019-05-061-0/+5
|
* fix transform getter when something is 0. Make sure only needed files are ↵Ulrich-Matthias Schäfer2019-04-261-1/+1
| | | | uploaded to npm
* 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-2732-32/+32
|/ | | | classes could be renamed
* added foreignObject to the coreUlrich-Matthias Schäfer2019-02-184-2/+22
|
* fixed move and center commands for textUlrich-Matthias Schäfer2019-01-224-20/+45
| | | | | - fixed move commands (x, y, move) of text so that it moves text always by the upper left edge. - fixed center commands (cx, cy, center) of text so that it moves text always by the center.
* speed up zoom function for non-FF BrowserUlrich-Matthias Schäfer2019-01-181-14/+16
|
* fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10Ulrich-Matthias Schäfer2019-01-145-34/+27
| | | | font-family and size from the defaults list
* fixed `textPath()` and `path().text()`Ulrich-Matthias Schäfer2019-01-141-5/+27
|
* renamed unit() to `convert()` to avoid name collision3.0.9Ulrich-Matthias Schäfer2019-01-141-2/+1
|
* added back `to()` as `unit()` of `SVG.Number` which was removed accidentally3.0.8Ulrich-Matthias Schäfer2019-01-131-0/+5
|
* minor bugfix in bbox and performance changes3.0.7Ulrich-Matthias Schäfer2019-01-133-13/+18
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-129-52/+93
| | | | act against user intention, fixed bug in `font()`
* Avoid for..of loopErik Demaine2018-12-141-1/+2
|
* Bug fixErik Demaine2018-12-141-3/+5
|
* Fix missing comma, lintErik Demaine2018-12-141-2/+2
|
* Add PointArray.transform by analogy to Point.transformErik Demaine2018-12-131-0/+14
|
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-128-36/+77
|
* Release 3.0.43.0.4Ulrich-Matthias Schäfer2018-12-077-57/+129
|
* Release 3.0.33.0.3Ulrich-Matthias Schäfer2018-12-054-24/+43
|
* Release 3.0.23.0.2Ulrich-Matthias Schäfer2018-12-039-17/+60
|
* fixed methods not returning this and missing methods on ListUlrich-Matthias Schäfer2018-12-035-3/+14
|
* Release 3.0.03.0.0Ulrich-Matthias Schäfer2018-12-011-1/+1
|
* applied fixes from 2.x branchUlrich-Matthias Schäfer2018-12-011-1/+2
|
* fix playgrounds, delete unneeded filesUlrich-Matthias Schäfer2018-12-012-12/+18
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-0129-230/+567
|\
| * Merge branch '790-color-spaces' into 791-random-colorsUlrich-Matthias Schäfer2018-12-0119-208/+368
| |\
| | * clamp values in toHex, tests, replace for of with for inUlrich-Matthias Schäfer2018-12-011-8/+11
| | |
| | * Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-3018-186/+320
| | |\
| | * | Fix bug when converting black to cymk spaceUlrich-Matthias Schäfer2018-11-261-0/+6
| | | |
| | * | Make color-animation work in all spaces (conversion bugs still there)Ulrich-Matthias Schäfer2018-11-264-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure _d is always defined - Clean up object before init - Check space in array - Use passed space instead of space in object if available
| | * | fix Morphable so that it works with color spaces. It prefers the `to` space ↵Ulrich-Matthias Schäfer2018-11-252-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | over the `from` space - _d is initialized to 0 so toArray does not give you undefined - fix tests
| * | | Implemented random colors and added back the playgroundsSaivan2018-12-021-9/+64
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds back the playgrounds and the npm demo. We also implemented a few methods to generate pretty random colors. Changes ======= - Added back the playgrounds and the npm demos - Implemented a few random color generators
| * | Finished off the color spaces, we are all green!Saivan2018-11-261-204/+131
| | | | | | | | | | | | | | | | | | | | | | | | We now have tested and working color spaces, isn't that nice! Changes ======= - All color spaces are working
| * | Reverted some of the lint rules after chatting with fuzzySaivan2018-11-2668-3994/+1994
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Updated all of the color modules and old tests are passing againSaivan2018-11-251-109/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the color modules, so that the old tests pass, we just need to modify the tests to test some of the new functionality (Since there was a lot of copy and paste work done haha) Changes ======= - Updated the color module to support a number of color spaces - Made sure all of the old tests are working again