aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements
Commit message (Collapse)AuthorAgeFilesLines
* Spelling correctionsalbert-github2023-04-151-1/+1
|
* Merge pull request #1278 from HarryFaulkner/1277-use-single-quotes-for-maskWithUlrich-Matthias Schäfer2023-01-285-9/+9
|\ | | | | 1277: remove double quotes from maskWith url()
| * remove double quote from all 'url()' refs, update testsHarry Faulkner2022-08-215-8/+8
| |
| * 1277: remove double quotes from maskWith url() implHarry Faulkner2022-08-091-1/+1
| |
* | Clone without assigning new IDsUlrich-Matthias Schäfer2022-12-131-3/+8
|\ \ | |/ |/|
| * New paremeter assignNewIds for Dom.clone()Philippe Bernard2020-10-141-3/+8
| |
* | Return null if `until` not in parent chainMorgan Harris2021-11-231-7/+8
| |
* | Fix broken parents() functionMorgan Harris2021-11-231-1/+10
| |
* | update dependencies, apply new linter fixesUlrich-Matthias Schäfer2021-01-1312-41/+40
| |
* | typos (#1179)ordago2020-12-172-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * typos in 1000-accesses.js * typos in transforms.js * typos in Controller.js * typos in Runner.js * typos in Timeline.js * typos in Dom.js * typos in Marker.js * typos in Mask.js * typos in Tspan.js * typos in containerGeometry.js * typos in event.js * typos in css.js * typos in data.js * typos in sugar.js * typos in EventTarget.js * typos in List.js * typos in Matrix.js * typos in SVGArray.js * typos in utils.js * typos in RAFPlugin.js * typos in Runner.js * typos in Timeline.js * typos in Dom.js * typos in Pattern.js * typos in arrange.js * typos in Box.js * typos in SVGNumber.js * typos in utils.js * typos in CONTRIBUTING.md
* fix `clone()` to return the correct instance (#1154)Ulrich-Matthias Schäfer2020-09-271-1/+1
|
* added geometry and positioning methods to `A` (#1110)Ulrich-Matthias Schäfer2020-05-202-72/+8
|
* sorted method namesUlrich-Matthias Schäfer2020-05-196-108/+113
|
* make targets for textPath work when no href is setUlrich-Matthias Schäfer2020-05-091-1/+1
|
* Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own ↵Ulrich-Matthias Schäfer2020-05-043-16/+23
| | | | transforms, updated dependencies, finished tests, removed old es5 tests
* renamed svg namespace to svgUlrich-Matthias Schäfer2020-04-232-49/+58
|
* added even more testsUlrich-Matthias Schäfer2020-04-102-8/+8
|
* added tests for PatternUlrich-Matthias Schäfer2020-04-101-19/+20
|
* remove targets from Path because its in TextPath alreadyUlrich-Matthias Schäfer2020-04-102-6/+1
|
* added tests for PathUlrich-Matthias Schäfer2020-04-102-24/+25
|
* added tests for MaskUlrich-Matthias Schäfer2020-04-101-4/+4
|
* added tests for LineUlrich-Matthias Schäfer2020-04-101-1/+1
|
* added tests for ImageUlrich-Matthias Schäfer2020-04-091-1/+1
|
* added test for GradientUlrich-Matthias Schäfer2020-04-092-24/+28
|
* fixes and testsUlrich-Matthias Schäfer2020-04-092-15/+11
| | | | | | - fixed flatten and ungroup - added position argument to ungroup, toParent and toRoot - added tests for Container
* added tests for ClipPathUlrich-Matthias Schäfer2020-04-081-4/+4
|
* fix defs and reference, tests for ElementUlrich-Matthias Schäfer2020-04-081-14/+5
|
* tests for EventTargetUlrich-Matthias Schäfer2020-04-081-1/+1
|
* added Fragment, completed Dom Tests, fixed `matches()` for document fragmentsUlrich-Matthias Schäfer2020-04-082-9/+49
|
* 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-291-1/+2
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-2826-155/+149
| | | | | | | | | | | | | | | | | | | | ### 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-2/+2
| | | | | | | | ### 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-9/+10
|
* Register classes explicitly instead of relying on `Function.name` because ↵Ulrich-Matthias Schäfer2019-02-2728-28/+28
| | | | classes could be renamed
* added foreignObject to the coreUlrich-Matthias Schäfer2019-02-183-2/+21
|
* fixed move and center commands for textUlrich-Matthias Schäfer2019-01-223-15/+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.
* fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10Ulrich-Matthias Schäfer2019-01-143-32/+23
| | | | font-family and size from the defaults list
* fixed `textPath()` and `path().text()`Ulrich-Matthias Schäfer2019-01-141-5/+27
|
* minor bugfix in bbox and performance changes3.0.7Ulrich-Matthias Schäfer2019-01-131-1/+1
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-124-45/+46
| | | | act against user intention, fixed bug in `font()`
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-122-15/+61
|
* Release 3.0.43.0.4Ulrich-Matthias Schäfer2018-12-072-3/+4
|
* Release 3.0.33.0.3Ulrich-Matthias Schäfer2018-12-051-0/+8
|
* 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
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-017-20/+28
|\
| * Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-304-41/+17
| |\