astro-icon@1.0.2
github-actions
released this
02 Jan 21:28
·
45 commits
to main
since this release
Patch Changes
-
#184
beefcb732c266bc3eedfa12740c0842fef7deccf
Thanks @natemoo-re! - Improves handling of invalid local icons, which previously caused all local icons to silently fail. -
#179
b55cd5f92da8988467e86cb2a45d3dfa82ef3ffa
Thanks @natemoo-re! - BREAKING: Requires subdirectory prefixes for local icons.This fixes a regression introduced in v1 and matches the previous v0
name
behavior.As an example, the
src/icons/logos/astro.svg
file could previously be referenced by the nameastro
. It should correctly be referenced aslogos/astro
.Before
<Icon name="astro" />
After
<Icon name="logos/astro" />
-
#180
580b5cd93d373ba72418365a97dac4cddf82afd7
Thanks @natemoo-re! - Removes an unecessary warning when only using local icons