Releases: nrkno/svg-to-js
Releases · nrkno/svg-to-js
v3.1.0
What's Changed
- Bump @babel/traverse from 7.17.9 to 7.23.9 by @dependabot in #24
- Bump node by @skjalgepalg in #27
- feat: Add dtsLiteral to config to write literal types by @skjalgepalg in #28
Full Changelog: v3.0.1...v3.1.0
v3.0.1
What's Changed
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #21
- Jsx wrap hyphenated attributes by @skjalgepalg in #22
- Bump tough-cookie from 4.0.0 to 4.1.3 by @dependabot in #23
New Contributors
- @dependabot made their first contribution in #21
Full Changelog: v3.0.0...v3.0.1
v3.0.0
What's Changed
- Presentation attributes from the parsed
<svg>
-tag are now added to the produced markup- Presentation attributes support by @skjalgepalg in #20
Full Changelog: v2.3.0...v3.0.0
v2.3.0
v2.2.0
What's Changed
- feat: Support props for React/jsx icons by @skjalgepalg in #16
Full Changelog: v2.1.4...v2.2.0
viewBox fallback
- Look for width/height attributes when missing viewBox
- Throw error on missing values for width or height. Treat non-numerics as invalid values.
- Added JSDoc and cleaned up some typos in documentation.
Ensure ES5 compatibility
v2.1.3 Release patch 2.1.3
Add class name to exported SVG strings
v2.1.2 Release patch 2.1.2
Remove console.log 😇
v2.1.1 Release patch 2.1.1
Add typescript definitions both JS and JSX
v2.1.0 Release minor 2.1.0