- f917214: Use URL.parse() as a progressive enhancement in dev-only checks, using new URL() otherwise.
- efa4f32: Fix: ensure that the result of
config.rewritePath
gets passed down to the inner SVG.
- 757b946: Fix
createThemedExternalSvg
props to reference SVGAttributes
- 05fa11e: Breaking change:
Props
now extendSVGAttributes<SVGSVGElement>
instead ofHTMLAttributes<SVGSVGElement>
. This should be more permissive in most practical SVG cases, but it might cause type errors with existing uses ofThemedExternalSvg
.
- 86c4f14: Breaking change: The default theme has been updated. ThemeProps now accept color/colorSecondary/colorTertiary, instead of separating fills and strokes.
- 86c4f14: Export the default Component in bundler ambient type declarations.
- 01467a7: Add configContext, to allow rewriting URLs and toggling runtime checks.
- 01467a7: Rename
ThemedSvg
toThemedExternalSvg
, to align with the factory function