@taprootio/espalier 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # 3.4.0
2
+
3
+ An offline story for icons: a fully self-contained page renders
4
+ Espalier icons with zero network requests.
5
+
6
+ - `import { installIconSprite } from "@taprootio/espalier/icons"` —
7
+ inline the sprite once (idempotent) and point the root at it:
8
+ `icon-sprite-url="#esp-icons"`.
9
+ - The same-document form works for any inline sprite, including your
10
+ own: `<svg id="brand-icons"><symbol id="…">` +
11
+ `icon-sprite-url="#brand-icons"`. Components adopt exactly the
12
+ symbols they reference into their shadow roots; light-DOM
13
+ `<use href="#id">` resolves against the document directly.
14
+ - Behavior note: a fragment-only `icon-sprite-url` previously disabled
15
+ icons; it now selects same-document mode.
16
+
1
17
  # 3.3.0
2
18
 
3
19
  Theme QA: the fit report as a lint over every surface a themed site