svg-sprite

SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)

MIT License

Downloads
563.2K
Stars
1.9K
Committers
54

Bot releases are hidden (Show)

svg-sprite - v0.3.1 Maintenance release

Published by jkphl over 10 years ago

Bugfixes

  • Skip creation of empty SVG sprite (#18)
  • Fixed bug with missing XML namespaces (#19)
  • Fixed bug in result parameter calculation
svg-sprite - v0.3.0 Feature release (#12, #15, #16, #17)

Published by jkphl over 10 years ago

Bugfixes

  • Fixed bug with SVGO plugin configuration
  • Fixed a bug with ID substitution (#15)

Enhancements

  • Added support for recursive input directory scanning (#12)
  • Switched to mustache.js for extended function support
  • Added new HTML output format for rendering an inline SVG HTML implementation (#16)
  • Added new SVG output format for rendering an inline SVG sprite (#16)
  • Basic XML namespace consolidation in SVG sprite (#17)
svg-sprite - v0.2.1 Feature release (#11)

Published by jkphl over 10 years ago

Enhancements

  • Added support for horizontal & diagonal sprites (#11)
svg-sprite - v0.2.0 Maintenance & compatibility release (node-iconizr)

Published by jkphl over 10 years ago

Enhancements

  • Improved log messages
  • Disabled Scour until next release
  • Compatibility release for the Node.js based iconizr
svg-sprite - v0.1.5 Maintenance release

Published by jkphl over 10 years ago

Bugfixes

  • Removed forgotten console.log()
svg-sprite - v0.1.4 Padding & templating enhancements (#10)

Published by jkphl over 10 years ago

Bugfixes

  • Fixed padding bug with missing viewBox attribute (#10)

Enhancements

  • Added additional Mustache variables (#10)
svg-sprite - v0.1.3 Compatibility release (#8, #9)

Published by jkphl over 10 years ago

Bugfixes

  • Fixed wrong version statement in the CLI app (#8)
  • Prefer viewBox attribute for image dimension calculation (#9)

Enhancements

svg-sprite - v0.1.2 Bugfix release

Published by jkphl over 10 years ago

Bugfixes

  • Fixed a regression bug with the :regular pseudo-pseudo class
svg-sprite - v0.1.1 Enhancement & compatibility release (#7)

Published by jkphl over 10 years ago

Enhancements

  • Implemented element ID namespacing (during sprite composition)
  • Switched to SVGO as default SVG optimizer
  • Compatibility features for the upcoming Node.js based iconizr (e.g. exposed two additional methods)
  • Improved log messages
  • Improved the usage of the :regular pseudo-pseudo class (#7)
svg-sprite - v0.1.0 Template based output rendering

Published by jkphl over 10 years ago

Enhancements

  • Added support for omitting the sprite subdirectory (#5)
  • Added support for Mustache template based ouput rendering (#6)
  • Breaking change: Dropped css, sass, sassout, less and lessout configuration options, added render instead

Bugfixes

  • SVG DOCTYPE declaration gets automatically stripped now
svg-sprite - v0.0.8 Added LESS support

Published by jkphl over 10 years ago

Enhancements

  • Added support for LESS output (#4)
svg-sprite - v0.0.7 Maintenance release

Published by jkphl over 10 years ago

Bugfixes

svg-sprite - v0.0.6 Maintenance / bugfix release (#2)

Published by jkphl over 10 years ago

Bugfixes

  • Fixed broken SVGO support (#2)
  • Removed deprecated width and height config options from lib/svg-obj.js
svg-sprite - v0.0.5 Maintenance release

Published by jkphl over 10 years ago

Bugfixes

  • Fixed binary path in package.json (#1)
svg-sprite - v0.0.4 Updated devDependencies & new tests

Published by jkphl over 10 years ago

Enhancements

  • Changed devDependencies & added more tests
svg-sprite - v0.0.3 Fixed a bug with the Sass output

Published by jkphl over 10 years ago

  • Fixed a bug with the Sass output
svg-sprite - v0.0.2 Bugfixes & added `common` option

Published by jkphl over 10 years ago

  • Fixed a bug that let the sprite creation fail when keeping the intermediate SVG files
  • Added the common option
  • Added some tests
svg-sprite - v0.1.0 Initial release

Published by jkphl over 10 years ago