diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b30dee..22850ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## v3.0.0 + +- **Improvement**: Moved to ESM-first package +- **Feature**: Refactored Path rendering to improve compatibility with later Vue versions +- **Feature**: New props for `no-styles`, `no-dimensions` and `no-namespace` +- **Feature**: Added IIFE build to output +- **Improvement**: Added JSDoc type build + ## v2.1.0 - Added support for custom icons with path arrays diff --git a/README.md b/README.md index 980d77c..cd3167f 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,9 @@ export default { | viewbox | String | "0 0 24 24" | The `viewBox` of the SVG element. | | flip | String | null | One of "horizontal", "vertical", or "both". Flips the icon in the specified direction(s). | | rotate | Number \| String | 0deg | Rotates the icon by the specified value. Can be any valid [CSS angle](https://developer.mozilla.org/en-US/docs/Web/CSS/angle) value. | +| no-namespace | Boolean | false | Don't render the xml namespace attribute on the SVG element. | +| no-styles | Boolean | false | Don't render any SVG/Path styles (handle externally), disables flip and rotate. | +| no-dimensions | Boolean | false | Don't render the width or height attributes. | ## Styling diff --git a/src/index.js b/src/index.js index fd6dba8..bbd09d7 100644 --- a/src/index.js +++ b/src/index.js @@ -107,7 +107,7 @@ export default { default: false }, /** - * Don't add any styles to SVG, disables flip and rotate + * Don't add the width/height attributes to the SVG element */ noDimensions: { type: Boolean,