Tools and bundler plugins, to ergonomically load SVG files via use[href]
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 months ago
Published by github-actions[bot] about 2 months ago
config.rewritePath
gets passed downPublished by github-actions[bot] about 2 months ago
createThemedExternalSvg
props to reference SVGAttributesPublished by github-actions[bot] about 2 months ago
@svg-use/react
a dependency of plugins.Published by github-actions[bot] about 2 months ago
@svg-use/react
a dependency of plugins.Published by github-actions[bot] about 2 months ago
@svg-use/react
a dependency of plugins.Published by github-actions[bot] about 2 months ago
Props
now extend SVGAttributes<SVGSVGElement>
HTMLAttributes<SVGSVGElement>
. This should be more permissiveThemedExternalSvg
.Published by github-actions[bot] about 2 months ago
0ea4fd9: Breaking: defaultThemeSubstitution
now takes an option object, so
its signature has changed to a factory:
const options = {
- getThemeSubstitutions: defaultThemeSubstitution
+ getThemeSubstitutions: defaultThemeSubstitution()
}
defaultThemeSubstitution
now provides a monochromeCssVarFallback
option,
to allow passing currentColor
as the var()
fallback.
Published by github-actions[bot] 2 months ago
Published by github-actions[bot] 2 months ago
emitFile
in AdvancedOptions
, to support Vite wrappers.Published by github-actions[bot] 2 months ago
86c4f14: Breaking change: The default theme has changed.
--svg-use-color-*
86c4f14: Introduce ?noTheme config query, in types, docs and examples.
86c4f14: Export the default Component in bundler ambient type declarations.
Published by github-actions[bot] 2 months ago
86c4f14: Introduce ?noTheme config query, in types, docs and examples.
86c4f14: Breaking change: The default theme has changed.
--svg-use-color-*
86c4f14: Export the default Component in bundler ambient type declarations.
Published by github-actions[bot] 2 months ago
Published by github-actions[bot] 2 months ago
86c4f14: Export all publicly-visible types
86c4f14: Breaking change: The default theme has changed.
--svg-use-color-*
Published by github-actions[bot] 2 months ago
Published by github-actions[bot] 2 months ago
Published by github-actions[bot] 2 months ago
ThemedSvg
to ThemedExternalSvg
, to align with the factoryPublished by github-actions[bot] 2 months ago