@zazz-ui/core 0.4.0 → 0.4.1
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 +10 -0
- package/README.md +2 -2
- package/dist/sri.json +5 -5
- package/dist/zazz.css +1 -1
- package/package.json +1 -1
- package/src/primitives/autocomplete/autocomplete.css +3 -5
- package/src/primitives/combobox/combobox.css +3 -5
- package/src/primitives/popover/popover.css +7 -6
- package/src/primitives/select/select.css +10 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
Notable changes to `@zazz-ui/core`, grouped by primitive or base scope under each version. The grouping is load-bearing: the `zazz-ui` CLI's `update` and `diff` print only the slice that touches the files you've vendored. Breaking entries are flagged **BREAKING** with a one-line migration note. During 0.x, a minor bump means at least one breaking entry (ADR-0010 has the full definition of "breaking").
|
|
2
2
|
|
|
3
|
+
## 0.4.1 (2026-09-04)
|
|
4
|
+
|
|
5
|
+
Housekeeping on top of 0.4.0: the vestigial `anchor-size()` `@supports` gates come out, and the anchor-positioning support notes in the CSS headers and ADR-0011 are corrected. No rendered output changes in any browser — see the reasoning on the gate entry below.
|
|
6
|
+
|
|
7
|
+
### base
|
|
8
|
+
|
|
9
|
+
- The four `@supports (inline-size: anchor-size(width))` gates are removed (autocomplete panel, combobox panel, select `::picker(select)`, multiselect panel); `min-inline-size: anchor-size(width)` now applies unconditionally. **Not a browser-floor raise, and not breaking:** in a browser without `anchor-size()` the function is unknown, so the declaration is dropped at parse time and the `inline-size: max-content` above it still stands — exactly what the gate produced. `anchor-size()` is also Baseline 2026 (Chrome 125, Firefox 147, Safari 26.0), inside the support floor either way. Migration: none.
|
|
10
|
+
- The `anchor-name` gates in popover, tooltip, select, and tabs are deliberately **kept**. Unlike `anchor-size()`, dropping those would change rendering: full `anchor-name` support starts at Safari 27, and on Safari 26.x the gate is what keeps a popover UA-centered instead of an unpositioned top-left box. `tabs.css` also keeps its `@supports not` branch, which is a real designed fallback (indicator hidden, filled label instead). `popover.css` records when to retire them.
|
|
11
|
+
- Corrected support notes in `popover.css`, `autocomplete.css`, `combobox.css`, and `select.css`: anchor positioning reached Baseline in January 2026 (Chrome 151, Firefox 147, Safari 27), so the headers no longer claim Firefox lacks it. ADR-0011's support matrix is corrected the same way, and it now records why no anchor-positioning polyfill is adopted (`@oddbird/css-anchor-positioning` implements no `anchor-size()`, no dynamic anchors, and wraps the target in a way that disturbs custom-element lifecycles).
|
|
12
|
+
|
|
3
13
|
## 0.4.0 (2026-09-03)
|
|
4
14
|
|
|
5
15
|
One theme: the **polyfill set is corrected and cut to one**. The Popover API and Invoker Commands are native across the kit's browser floor and are no longer polyfilled; `interestfor` — which is Chromium-only and drives every tooltip — was never actually polyfilled despite appearing to be, and now is. Net effect: tooltips and hover-open menus start working in Firefox and Safari, and the head's polyfill payload drops from ~228 KB to 15 KB. See ADR-0011.
|
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ import "@zazz-ui/core"; // custom elements and shared behaviors
|
|
|
18
18
|
From a CDN:
|
|
19
19
|
|
|
20
20
|
```html
|
|
21
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.4.
|
|
22
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.4.
|
|
21
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.4.1/dist/zazz.css" />
|
|
22
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.4.1/dist/zazz.js"></script>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Use an exact version in CDN URLs. Each release includes `dist/sri.json`, which lists the SHA-384 hash for every published file. Use those hashes in `integrity` attributes.
|
package/dist/sri.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"dist/zazz.css": "sha384-
|
|
2
|
+
"dist/zazz.css": "sha384-Pb73kHTmNhxVzCWcoGO2ACI9w1JYCl5xXldSsSqKXET/YjwXXK0yL3ALRxgRdgnl",
|
|
3
3
|
"dist/zazz.js": "sha384-o9ZafkMEU6kIP1aPJF5aC3ODUQIoC+as9KqTOidGSCrGU8xYeaKqRjPzH91F20Vi",
|
|
4
4
|
"src/base/_layers.css": "sha384-6lai/sx1zuGAK8TfF02TCc4FGE5rNs57GrNpz5FDs4u0BK5F26g36jycNQPXxkDs",
|
|
5
5
|
"src/base/_layout.css": "sha384-xmqjLFPKpqjGpFVEmMjoKsZiWb+hVQ0u5AceRpnkdWuH56nrMS7XqrfaAfelLJGa",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"src/manifest.js": "sha384-13SDHe1BkHVoy7QCmkZiREp6bT3dw8HKylkz9hChF/VfEDCweqVsllQp97W0Mp6i",
|
|
25
25
|
"src/primitives/accordion/accordion.css": "sha384-4lKoG9z38aKRyb3OxKaFRDGuxdQy55f/PWXnqoYDuuXsDb4Zs+19wsM3rO2215iR",
|
|
26
26
|
"src/primitives/alert-dialog/alert-dialog.css": "sha384-b2kvZNJgYFImVnNTP8IlnUB5JhXHDi55tsdUoiukMUsztH+0CL/CMuCYVoPi7bRv",
|
|
27
|
-
"src/primitives/autocomplete/autocomplete.css": "sha384-
|
|
27
|
+
"src/primitives/autocomplete/autocomplete.css": "sha384-iPvLcLkVpKoFJBPlnnKLkU7PiEW1hd5f78KWso/xElToMAnKxMANfH0MXKj+/LXl",
|
|
28
28
|
"src/primitives/autocomplete/autocomplete.js": "sha384-pSs//u6eySW6BvHOG2ei9L7diGOfP0lqhfhJwOtXJnMNu5UHPCr/hiRXo9XGAbs/",
|
|
29
29
|
"src/primitives/badge/badge.css": "sha384-xkWBCG/Sjkcw+ixRrKfRHlrEpS/xMDWOvBkHwy89vawXPml4yIcQyQhum4mvZUe+",
|
|
30
30
|
"src/primitives/button-group/button-group.css": "sha384-exGEia7TDeu6gGQBYyOy5l++jCGlDLpi+4Js0vPvu5XJEU9h2G1itJ9I52aT5Evd",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"src/primitives/carousel/carousel.js": "sha384-vzVtcr/e8BmG3h3eKJZFSZak3Wc1mBgBPRhaZJZaDzAeqkP+FEdMDKXJYRWV07MX",
|
|
34
34
|
"src/primitives/checkbox/checkbox.css": "sha384-x0kjj5JvslE6MuQ7TbRJ3E9cJFokyGFY26DxHj3Ky5jKRakQHUG4TeV6Iv7G9Yfl",
|
|
35
35
|
"src/primitives/checkbox/checkbox.js": "sha384-Gr6vMabK4kBba1MZRichsGKTrI3qVw/NHeONsUGkIzBuXsgO5cESOU9dIJ/LMLVY",
|
|
36
|
-
"src/primitives/combobox/combobox.css": "sha384-
|
|
36
|
+
"src/primitives/combobox/combobox.css": "sha384-GKGAtkTOBJHDLf0X5GJsWWAVk3iyfBzp4NvNBThGmT4Q7mwbi0cMG4+Gd7fxMkI1",
|
|
37
37
|
"src/primitives/combobox/combobox.js": "sha384-j//0AELQhqU2wyW5toz5h6BlZHGGZL349iGNJW0lQOzo7KQGPUosI1+BlgsfCKi4",
|
|
38
38
|
"src/primitives/command/command-actions.js": "sha384-T1zQ2KeawEZZ8lh6nnF02HjNvlnwFueAlLSYjd7T0F0PGOiz92pyu+9WdkeVuEzE",
|
|
39
39
|
"src/primitives/command/command.css": "sha384-gm6wCCmmgWyF+L2LY8tL0NJUPH2wSyBVHtBsJNpCPssj09OlIMmQH6lRMQW7yPbW",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"src/primitives/otp/otp.js": "sha384-TSP2DHzrKkSVmGiuOnSrQjXYXXUro8svFyn8HVC7S/evI8gGcuY4+2HTqQ5/Opza",
|
|
55
55
|
"src/primitives/password-group/password-group.css": "sha384-Lagi9heKIWSNTJBuSO0OsGwpCRg2+iTpxNh1y7fPbncsTsdiAXuIWePnKfb36i3X",
|
|
56
56
|
"src/primitives/password-group/password-group.js": "sha384-qWMDes6gBfYbLmOLaR+Uc32A1FFqMAANoMSy1fulKMUvqPv/zA0NvXbn1hsNT5JA",
|
|
57
|
-
"src/primitives/popover/popover.css": "sha384-
|
|
57
|
+
"src/primitives/popover/popover.css": "sha384-7bsycPvfDRrIxIvlvzUb01Oa5skruiMEg3vF1PkpFsxSFWe8UrfuUofSZZaxSFkp",
|
|
58
58
|
"src/primitives/progress/progress.css": "sha384-qVNIdYg9NVyMJcC1yBbWtZH7M7WbOLIzMDq9AbTQibc+wUEubwThjbq+VXx4wa5n",
|
|
59
59
|
"src/primitives/radio/radio.css": "sha384-MCwj0IZencEnI7wQP3CQIq36mSBBrYr/xOg63gthW55J8AyObSoaWYHA4G6+sb3D",
|
|
60
60
|
"src/primitives/reveal/reveal.css": "sha384-/QfJXd7g2Bb4knJKr7Txt0ae5InCC3fRwasoj+Lk3lklIZE2aSf2GeJs6TQJDUFT",
|
|
61
61
|
"src/primitives/select/multiselect.js": "sha384-JMJu0pLMgqzHY/zTuyAnl8kkQwOYLTbWk0mcaQciqc9qNOXsSlEvRKlmtVITDzDG",
|
|
62
|
-
"src/primitives/select/select.css": "sha384-
|
|
62
|
+
"src/primitives/select/select.css": "sha384-uwXMtAYVoVGc/wVJ2oKa+viR+bSxZzlqu0GNBnEpqad9EkRHuHRwNBy1BV1Ffwgm",
|
|
63
63
|
"src/primitives/separator/separator.css": "sha384-G01cL0eyZtOU4wxrrlSk7ep0BxqvqzRfefv9DBHsRxryRZy5rRPbjLOodugvI8qu",
|
|
64
64
|
"src/primitives/slider/slider.css": "sha384-gEQ+QwVOZ3pJUq5lYUAECzJ9+TBjYMGC/RtqZOOAI0NFde5WwXHEVk7xBC1fMOUy",
|
|
65
65
|
"src/primitives/switch/switch.css": "sha384-IGXNv5UfSumA/hxNXWgm6kvWxYk/s/+6lPj2AMWX35BkqfgvSCZ7fMy7FCEiasb6",
|