aboutsummaryrefslogtreecommitdiffstats
path: root/src/svg.js
Commit message (Collapse)AuthorAgeFilesLines
* dependency updates, easier formattingUlrich-Matthias Schäfer2023-06-131-1/+1
|
* 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
* fix bugs in runner, fix importsUlrich-Matthias Schäfer2018-11-261-1/+1
|
* Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵Ulrich-Matthias Schäfer2018-11-241-5/+0
| | | | and SVGNumber on export to Array and Number
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-061-94/pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
{
  "name": "vaadin-core",
  "authors": [
    "Vaadin Ltd"
  ],
  "description": "The Vaadin core components are an evolving set of free and open source, standards-based web components.",
  "license": "Apache-2.0",
  "keywords": [
    "vaadin",
    "core",
    "elements",
    "web",
    "components",
    "webcomponents",
    "web-components",
    "element-collection"
  ],
  "main": "vaadin-core.html",
  "ignore": [
    "**/.*",
    "**/node_modules",
    "**/bower_components",
    "**/test",
    "**/tests",
    "**/vaadin-core.js"
  ],
  "dependencies": {
    "polymer": "polymer#2.7.0",
    "shadycss": "shadycss#1.8.0",
    "vaadin-accordion": "vaadin-accordion#1.0.1",
    "vaadin-button": "vaadin-button#2.2.0",
    "vaadin-checkbox": "vaadin-checkbox#2.2.10",
    "vaadin-combo-box": "vaadin-combo-box#5.0.3",
    "vaadin-context-menu": "vaadin-context-menu#4.3.10",
    "vaadin-control-state-mixin": "vaadin-control-state-mixin#2.1.3",
    "vaadin-date-picker": "vaadin-date-picker#4.0.2",
    "vaadin-time-picker": "vaadin-time-picker#2.0.1",
    "vaadin-development-mode-detector": "vaadin-development-mode-detector#2.0.2",
    "vaadin-details": "vaadin-details#1.0.1",
    "vaadin-dialog": "vaadin-dialog#2.2.1",
    "vaadin-select": "vaadin-select#2.1.3",
    "vaadin-element-mixin": "vaadin-element-mixin#2.1.3",
    "vaadin-form-layout": "vaadin-form-layout#2.1.4",
    "vaadin-grid": "vaadin-grid#5.4.5",
    "vaadin-icons": "vaadin-icons#4.3.1",
    "iron-a11y-announcer": "iron-a11y-announcer#2.1.0",
    "iron-a11y-keys-behavior": "iron-a11y-keys-behavior#2.1.1",
    "iron-fit-behavior": "iron-fit-behavior#2.2.1",
    "iron-flex-layout": "iron-flex-layout#2.0.3",
    "iron-icon": "iron-icon#2.1.0",
    "iron-iconset-svg": "iron-iconset-svg#2.2.1",
    "iron-list": "iron-list#2.0.19",
    "iron-media-query": "iron-media-query#2.1.0",
    "iron-meta": "iron-meta#2.1.1",
    "iron-overlay-behavior": "iron-overlay-behavior#2.3.4",
    "iron-resizable-behavior": "iron-resizable-behavior#2.1.1",
    "iron-scroll-target-behavior": "iron-scroll-target-behavior#2.1.1",
    "vaadin-item": "vaadin-item#2.1.1",
    "vaadin-list-box": "vaadin-list-box#1.1.1",
    "vaadin-list-mixin": "vaadin-list-mixin#2.2.1",
    "vaadin-lumo-styles": "vaadin-lumo-styles#1.5.0",
    "vaadin-material-styles": "vaadin-material-styles#1.2.3",
    "vaadin-menu-bar": "vaadin-menu-bar#1.0.3",
    "vaadin-notification": "vaadin-notification#1.4.0",
    "vaadin-ordered-layout": "vaadin-ordered-layout#1.1.0",
    "vaadin-overlay": "vaadin-overlay#3.2.12",
    "vaadin-progress-bar": "vaadin-progress-bar#1.1.1",
    "vaadin-radio-button": "vaadin-radio-button#1.2.3",
    "vaadin-split-layout": "vaadin-split-layout#4.1.0",
    "vaadin-tabs": "vaadin-tabs#3.0.2",
    "vaadin-text-field": "vaadin-text-field#2.4.5",
    "vaadin-themable-mixin": "vaadin-themable-mixin#1.4.4",
    "vaadin-upload": "vaadin-upload#4.2.2",
    "vaadin-custom-field": "vaadin-custom-field#1.0.5",
    "vaadin-app-layout": "vaadin-app-layout#2.0.1",
    "vaadin-login": "vaadin-login#1.0.1",
    "webcomponentsjs": "webcomponentsjs#1.2.6",
    "vaadin-usage-statistics": "vaadin-usage-statistics#2.0.4"
  }
}
dist/svg.js # dist/svg.min.js # package.json # spec/SpecRunner.html # spec/spec/boxes.js # spec/spec/element.js # spec/spec/image.js # spec/spec/svg.js # src/boxes.js # src/flatten.js # src/image.js # src/polyfill.js # src/style.js # src/svg.js
| * added `options` to `on()`, back to sloppy mode2.6.0Ulrich-Matthias Schäfer2017-04-211-3/+1
| | | | | | | | | | - added `options` object to `SVG.on()` and `el.on()` (#661) - back to sloppy mode because of problems with plugins (#660)
| * changing to strict mode - some failures occurdotnetCarpenter2017-04-111-1/+3
| |
| * clear does not remove parser anymoreUlrich-Matthias Schäfer2017-03-291-2/+2
| | | | | | | | make test work in svg documents
| * onclick events are now bound with SVG.on, prefixed globals, relax tests to ↵Ulrich-Matthias Schäfer2017-03-211-1/+1
| | | | | | | | work with svgdom, image loading uses eveents now, can now run jasmine tessts with svgdom when jasmine globally available
| * prefix globals with window so window can be injected properlyUlrich-Matthias Schäfer2017-03-181-1/+1
| |
* | prefix globals with window so window can be injected properlyUlrich-Matthias Schäfer2017-03-181-1/+1
| |
* | removing SVG.Set completelyUlrich-Matthias Schäfer2017-03-161-4/+0
| |
* | remove feature to set style with css stringUlrich-Matthias Schäfer2017-03-161-1/+7
|/
* Fix offset produced by svg parser (#553)Ulrich-Matthias Schäfer2017-03-081-1/+1
|
* doublecheck SVG.parser, use svg element which is not in the dom (#471)Ulrich-Matthias Schäfer2016-04-021-2/+12
|
* fix parser error (#471) and small bug in SVG.Color with new fxUlrich-Matthias Schäfer2016-04-011-14/+10
|
* added check for existence of node (fix #431)Ulrich-Matthias Schäfer2015-12-231-0/+3
|
* svgjs now saves crucial data in the dom (fixes #369 again)Ulrich-Matthias Schäfer2015-11-061-0/+4
|
* fixed return value of `text()` after import/clone (#393)Ulrich-Matthias Schäfer2015-11-041-6/+6
|
* fix typo (finally)dhardtke2015-09-061-3/+3
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Merged all changes and fixes from SVG 1.1 into this branchUlrich-Matthias Schäfer2015-06-111-1/+1
|
* Typo'swout2014-08-191-2/+2
|