aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
Commit message (Collapse)AuthorAgeFilesLines
* dependency updates, easier formattingUlrich-Matthias Schäfer2023-06-1310-348/+398
|
* Spelling correctionsalbert-github2023-04-152-3/+3
|
* Performance: don't create extra objects in point() (#1251)Glandos2022-01-281-1/+1
|
* Add parameter "options" to EventTarget.off()Mario Schlicht2022-01-181-2/+2
| | | | - additional: Typescript-Interfaces for off() functions updated
* package-lock3.1.1Ulrich-Matthias Schäfer2021-06-251-1/+1
|
* update dependencies, apply new linter fixesUlrich-Matthias Schäfer2021-01-137-141/+190
|
* typos (#1179)ordago2020-12-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 path parsing (#1145)Ulrich-Matthias Schäfer2020-09-051-128/+5
|
* sorted method namesUlrich-Matthias Schäfer2020-05-198-585/+591
|
* Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own ↵Ulrich-Matthias Schäfer2020-05-045-84/+42
| | | | transforms, updated dependencies, finished tests, removed old es5 tests
* 99% line coverage - BAAAAMUlrich-Matthias Schäfer2020-05-031-1/+1
|
* finished tests for Point, PointArray, PathArray and SVGArrayUlrich-Matthias Schäfer2020-04-292-102/+24
|
* finish tests for Matrix.jsUlrich-Matthias Schäfer2020-04-291-39/+6
|
* added tests for List.jsUlrich-Matthias Schäfer2020-04-291-2/+2
|
* finish color testsUlrich-Matthias Schäfer2020-04-291-0/+4
|
* finished specs for Box.js and made zoom handle level 0 correctly + make it ↵Ulrich-Matthias Schäfer2020-04-291-24/+66
| | | | more clear when zoom cannot zoom because it cant get width and height of the element
* fix defs and reference, tests for ElementUlrich-Matthias Schäfer2020-04-081-0/+10
|
* tests for EventTargetUlrich-Matthias Schäfer2020-04-081-9/+4
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | ### 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
* Updated dependencies to newest version, new linter fixed stuffUlrich-Matthias Schäfer2019-11-017-41/+40
|
* 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
|
* Register classes explicitly instead of relying on `Function.name` because ↵Ulrich-Matthias Schäfer2019-02-273-3/+3
| | | | classes could be renamed
* speed up zoom function for non-FF BrowserUlrich-Matthias Schäfer2019-01-181-14/+16
|
* 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-132-12/+17
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-123-7/+22
| | | | 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.43.0.4Ulrich-Matthias Schäfer2018-12-071-0/+32
|
* Release 3.0.23.0.2Ulrich-Matthias Schäfer2018-12-035-5/+15
|
* fixed methods not returning this and missing methods on ListUlrich-Matthias Schäfer2018-12-031-0/+9
|
* Merge branch '790-color-spaces' into 791-random-colorsUlrich-Matthias Schäfer2018-12-013-291/+56
|\
| * 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-303-280/+19
| |\
| | * plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-281-10/+16
| | |
| | * Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-241-246/+0
| | | | | | | | | | | | | | | - 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)
| * | 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-261-10/+20
| | | | | | | | | | | | | | | | | | | | | - 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-2611-985/+475
| | | | | | | | | | | | | | | | | | 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
* | Changed the esLint rules to avoid silly ternary operators, and to let code ↵Saivan2018-11-2511-506/+1022
|/ | | | | | | | | | | | | | 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
* cleanup a few filesUlrich-Matthias Schäfer2018-11-171-12/+12
|
* remove native() methods, add methods of types directly to elemenetUlrich-Matthias Schäfer2018-11-123-75/+30
|