Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Riley committed Sep 24, 2024
1 parent 689943a commit 2ef327a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ef327a

Please sign in to comment.