Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This is a big one... | Ulrich-Matthias Schäfer | 2020-03-28 | 1 | -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 stuff | Ulrich-Matthias Schäfer | 2019-11-01 | 7 | -41/+40 |
| | |||||
* | Added tests for 0 value width/height wrong path scaling | Valentin | 2019-05-09 | 1 | -1/+1 |
| | |||||
* | Fixed path transformation when box width or height is 0 | Valentin | 2019-05-06 | 1 | -0/+5 |
| | |||||
* | Register classes explicitly instead of relying on `Function.name` because ↵ | Ulrich-Matthias Schäfer | 2019-02-27 | 3 | -3/+3 |
| | | | | classes could be renamed | ||||
* | speed up zoom function for non-FF Browser | Ulrich-Matthias Schäfer | 2019-01-18 | 1 | -14/+16 |
| | |||||
* | renamed unit() to `convert()` to avoid name collision3.0.9 | Ulrich-Matthias Schäfer | 2019-01-14 | 1 | -2/+1 |
| | |||||
* | added back `to()` as `unit()` of `SVG.Number` which was removed accidentally3.0.8 | Ulrich-Matthias Schäfer | 2019-01-13 | 1 | -0/+5 |
| | |||||
* | minor bugfix in bbox and performance changes3.0.7 | Ulrich-Matthias Schäfer | 2019-01-13 | 2 | -12/+17 |
| | |||||
* | Fix move and size of groups, removed setting of a default font so we dont ↵ | Ulrich-Matthias Schäfer | 2019-01-12 | 3 | -7/+22 |
| | | | | act against user intention, fixed bug in `font()` | ||||
* | Avoid for..of loop | Erik Demaine | 2018-12-14 | 1 | -1/+2 |
| | |||||
* | Bug fix | Erik Demaine | 2018-12-14 | 1 | -3/+5 |
| | |||||
* | Fix missing comma, lint | Erik Demaine | 2018-12-14 | 1 | -2/+2 |
| | |||||
* | Add PointArray.transform by analogy to Point.transform | Erik Demaine | 2018-12-13 | 1 | -0/+14 |
| | |||||
* | Release 3.0.43.0.4 | Ulrich-Matthias Schäfer | 2018-12-07 | 1 | -0/+32 |
| | |||||
* | Release 3.0.23.0.2 | Ulrich-Matthias Schäfer | 2018-12-03 | 5 | -5/+15 |
| | |||||
* | fixed methods not returning this and missing methods on List | Ulrich-Matthias Schäfer | 2018-12-03 | 1 | -0/+9 |
| | |||||
* | Merge branch '790-color-spaces' into 791-random-colors | Ulrich-Matthias Schäfer | 2018-12-01 | 3 | -291/+56 |
|\ | |||||
| * | clamp values in toHex, tests, replace for of with for in | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -8/+11 |
| | | |||||
| * | Merge branch '3.0.0' into 790-color-spaces | Ulrich-Matthias Schäfer | 2018-11-30 | 3 | -280/+19 |
| |\ | |||||
| | * | plumber differences between node and browser so that tests run on both | Ulrich-Matthias Schäfer | 2018-11-28 | 1 | -10/+16 |
| | | | |||||
| | * | Get rid of HTMLNode and Bare in favor of Dom | Ulrich-Matthias Schäfer | 2018-11-24 | 1 | -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 space | Ulrich-Matthias Schäfer | 2018-11-26 | 1 | -0/+6 |
| | | | |||||
| * | | Make color-animation work in all spaces (conversion bugs still there) | Ulrich-Matthias Schäfer | 2018-11-26 | 1 | -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äfer | 2018-11-25 | 2 | -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 playgrounds | Saivan | 2018-12-02 | 1 | -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! | Saivan | 2018-11-26 | 1 | -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 fuzzy | Saivan | 2018-11-26 | 11 | -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 again | Saivan | 2018-11-25 | 1 | -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 ↵ | Saivan | 2018-11-25 | 11 | -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 files | Ulrich-Matthias Schäfer | 2018-11-17 | 1 | -12/+12 |
| | |||||
* | remove native() methods, add methods of types directly to elemenet | Ulrich-Matthias Schäfer | 2018-11-12 | 3 | -75/+30 |
| | |||||
* | ticking off the last checkbox of (#645). return List whenever possible | Ulrich-Matthias Schäfer | 2018-11-12 | 1 | -3/+0 |
| | |||||
* | make List return new lists on method calls, add map to array polyfill so ↵ | Ulrich-Matthias Schäfer | 2018-11-12 | 3 | -4/+15 |
| | | | | that this works, fix runner | ||||
* | change method name, make strings more pleasing to read | Ulrich-Matthias Schäfer | 2018-11-12 | 2 | -10/+10 |
| | |||||
* | adds `List` which does bring back `SVG.Set` in an elegant way (#645) | Ulrich-Matthias Schäfer | 2018-11-12 | 2 | -18/+38 |
| | |||||
* | evaluate window and document on access and not on import | Ulrich-Matthias Schäfer | 2018-11-12 | 1 | -8/+6 |
| | |||||
* | make window and document exchangeable in case they are not globals alreay, ↵ | Ulrich-Matthias Schäfer | 2018-11-11 | 7 | -0/+17 |
| | | | | make sure that init functions are chaninable | ||||
* | added possibility to pass attribues into a constructor like: `new ↵ | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -2/+10 |
| | | | | SVG.Rect({width:100})` | ||||
* | get rid of the fixmes and todos | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -3/+2 |
| | |||||
* | added insertAfter/Before, introduce attrHooks, move few methods, ↵ | Ulrich-Matthias Schäfer | 2018-11-08 | 1 | -32/+0 |
| | | | | SVG.Text.textPath returns first textPath child now | ||||
* | clone() does not insert the clone into the dom anymore, added beziere() and ↵ | Ulrich-Matthias Schäfer | 2018-11-07 | 1 | -1/+1 |
| | | | | steps() to generate easing functions | ||||
* | reordered modules, add es6 build | Ulrich-Matthias Schäfer | 2018-11-06 | 13 | -0/+1852 |