@taprootio/espalier 3.4.0 → 3.5.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 +18 -0
- package/custom-elements.json +4490 -3033
- package/dist/root/esp-root.d.ts +43 -0
- package/dist/root/esp-root.js +8 -3
- package/dist/shared/esp-element-base.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# 3.5.0
|
|
2
|
+
|
|
3
|
+
No unthemed flash when the theme mounts from script.
|
|
4
|
+
|
|
5
|
+
- `<esp-root theme-pending>` holds the subtree's paint until the theme
|
|
6
|
+
for the active scheme applies — no frame on the default palette, no
|
|
7
|
+
layout shift on reveal. The hold ends on its own (and warns) if no
|
|
8
|
+
theme arrives, so a broken mount shows the wrong colors, never a
|
|
9
|
+
blank page, and the deadline survives a reattach.
|
|
10
|
+
- The hold runs from upgrade onward. To close the window before your
|
|
11
|
+
scripts run, add the documented one-liner to your page:
|
|
12
|
+
`esp-root[theme-pending]:not([data-theme-ready]) { visibility: hidden }`.
|
|
13
|
+
- Readiness is public: `themeSettled`, `whenThemeSettled()`, and a
|
|
14
|
+
`data-theme-ready` attribute page CSS can gate on.
|
|
15
|
+
- The "context is not defined" warning now judges the settled theme, so
|
|
16
|
+
a zone whose context the theme goes on to define stays quiet while a
|
|
17
|
+
genuinely missing one still warns.
|
|
18
|
+
|
|
1
19
|
# 3.4.0
|
|
2
20
|
|
|
3
21
|
An offline story for icons: a fully self-contained page renders
|