Releases: erictooth/smart-icon
Releases · erictooth/smart-icon
v5.0.0
5.0.0 (2024-08-28)
Performance Improvements
- remove async option for generateTemplate (80dfdef)
BREAKING CHANGES
- Adapters must now return an element synchronously
v4.0.1
4.0.1 (2024-08-27)
Bug Fixes
- replace eventbus with document query to force icons to re-render (4fd6e4f)
v4.0.0
- Improve rendering performance for
SVGUseAdapter
and SVGFetchAdapter
by ~30% when a very large number of icons are rendered on the page
v3.0.1
3.0.1 (2024-07-19)
Bug Fixes
- add setter for
name
to BaseAdapter (f52cdad)
v3.0.0
Switch to light dom to allow access to element IDs in the parent DOM
v2.0.0
2.0.0 (2022-08-14)
- fix!: bundle TS types directly with built files, and build with swc (7c65dce)
BREAKING CHANGES
- the paths of esm and cjs builds have changed
v1.4.3
1.4.3 (2021-11-19)
Bug Fixes
- if
globalThis.customElements
is not available, no-op when define
is called (da44ea2)
v1.4.2
1.4.2 (2021-11-16)
Bug Fixes
- SVGFetchAdapter: fix double update on initial render (1bb3c9a)
- use
globalThis
instead of window
to improve SSR support (c8b8866)
v1.4.1
1.4.1 (2021-10-14)
Bug Fixes
- remove optional chaining since some builds do not fully support it yet (225f3c1)
v1.4.0
1.4.0 (2021-10-12)
Features