@zazz-ui/core 0.12.2 → 0.12.3

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,5 +1,16 @@
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.12.3 (2026-11-12)
4
+
5
+ ### slider
6
+
7
+ - The track fill moves again in Chromium and Safari. In 0.12.2's built `dist/zazz.css` the minifier folded the fill's named timeline into the `animation` shorthand, which browsers reject, so the fill stayed at the start. Only the built file was affected (CDN links and the package's `style` entry); `@zazz-ui/core/index.css` imports and `zazz-ui` vendored copies use the source and were fine.
8
+
9
+ ### switch
10
+
11
+ - The thumb takes a border: `--ui-switch-thumb-border-width` and `--ui-switch-thumb-border-style` default to the field's, and `--ui-switch-thumb-border-color`, `--ui-switch-thumb-border-color--hover`, `--ui-switch-thumb-border-color--checked`, and `--ui-switch-thumb-border-color--checked-hover` default to `transparent`.
12
+ - The track is one border width taller, so the gap around the thumb is the same on every side, on and off. The thumb casts `--shadow-xs` (was `--shadow-sm`).
13
+
3
14
  ## 0.12.2 (2026-11-12)
4
15
 
5
16
  ### base
package/README.md CHANGED
@@ -20,7 +20,7 @@ import "@zazz-ui/core"; // custom elements and shared behaviors
20
20
  From a CDN, the script needs an import map for its dependencies and the Interest Invokers polyfill:
21
21
 
22
22
  ```html
23
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.12.2/dist/zazz.css" />
23
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.12.3/dist/zazz.css" />
24
24
  <script type="importmap">
25
25
  {
26
26
  "imports": {
@@ -36,7 +36,7 @@ From a CDN, the script needs an import map for its dependencies and the Interest
36
36
  type="module"
37
37
  src="https://cdn.jsdelivr.net/npm/invokers@2.2.2/dist/esm/production/interest.js"
38
38
  ></script>
39
- <script type="module" src="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.12.2/dist/zazz.js"></script>
39
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.12.3/dist/zazz.js"></script>
40
40
  ```
41
41
 
42
42
  Use an exact version in CDN URLs. Under a strict `script-src`, give the import map and the theme script the response's nonce (`buildHead({ nonce })` does); the docs' [security page](https://zazz.sh/docs/install/security/) has the full policy, including `style-src-attr` for the utilities. The [installation guide](https://zazz.sh/docs/install/installation/) has the complete `<head>`, with fonts, the theme script, a per-primitive variant, and integrity hashes on every URL; `buildHead({ cdn: { version } })` from `@zazz-ui/core/head` returns the same markup. Each release also includes `dist/sri.json` with the SHA-384 hash of every published file.
package/dist/sri.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dist/csp-LRx1fynI.js": "sha384-s1Kg/1/tQobRsTf5BpAR3XeNmA3AkU7xfe6xdKivdk22yxstCs1ets32NeMMp9Av",
3
3
  "dist/scroll-state-C8mA5gq6.js": "sha384-m9uzgIAkSnk8Es+jgCbChIYFu4rPyr00IB7lrAR/8dcsPc3u75VA7Wq5LIEAvXpT",
4
- "dist/zazz.css": "sha384-laC1vYW9aQy8TQLJR0zho11W10/zy6AWxuMkZwFsedV+QbRgye3ejkJy7P7spHTj",
4
+ "dist/zazz.css": "sha384-FLtC7TjpDW8HaKZqq7T+cbUP2bf30JRG3PaXLz3091LJpiR267HeqmqrOtrGiIEZ",
5
5
  "dist/zazz.js": "sha384-I6MopAQVYy1N/5Y05t6YIErdia3YbfpYuaj/mvvKbfdPM1FfC8GnrunqohsfqsDl",
6
6
  "src/base/_breakpoints.css": "sha384-vsvdoL+ZjTa5gyCiMp4DlNIbr9rxkLqfQjZ+W3YTp2Apuuu+1/Dd68ACtcBOip3v",
7
7
  "src/base/_defaults.css": "sha384-wpNG8/enm8fxhzRNCG79YWbS6Zb1bJufrsmawGfe5qnligdwPg3RLpbM73kQl146",
@@ -119,9 +119,9 @@
119
119
  "src/primitives/select/multiselect.js": "sha384-4uSHU1RxSQMjVc8fOJ9lGZwGoCSgsvkKEMCGjOYKD56WRd0hNR3dQGum+/87RaGH",
120
120
  "src/primitives/select/select.css": "sha384-fVWlFu97fLNUSmIiZqXQV9bA3/PRrnakDazrfA/xwpNhQv78XtyX0C2u+hLyzq/3",
121
121
  "src/primitives/separator/separator.css": "sha384-UziCDvCsa0uoO/GyFvzOXs3PZ3CdS5julG1/Vd30NH1yxFs5yeqXY9SujY1zp/sJ",
122
- "src/primitives/slider/slider.css": "sha384-aQ1BdekwJjPddYaZHxDcasoxOJ8HwiWsIl3hbHgkUaYKr1LbeWuEltiMmEz7zedm",
122
+ "src/primitives/slider/slider.css": "sha384-oZ2QygGBpI3YNJi3G2Md4kiIVEY8zhvqOsD84uMQ0mQxngEzzqXVc9ndQNlnibgh",
123
123
  "src/primitives/style-guard/style-guard.js": "sha384-IWHx+hfiowFBTvYY0smy+LOC3ZVSzgpNk7DzUj/04aP2qtTMKmhS10lrj8HgKNnO",
124
- "src/primitives/switch/switch.css": "sha384-14d6hyBDok7BSqONYJ8oB8tw4ct1HPrgSGiuJuz4r79vIexGktCAvJXy5ym3Qe/S",
124
+ "src/primitives/switch/switch.css": "sha384-50yy7u+91xNy5LN/aO/H4fwAK0lKj3MUPR37K518qlRO0lULR+0B/7tVDB8tnxy9",
125
125
  "src/primitives/table/table.css": "sha384-nh/TJS5qr3IUe+3FmdE+098BkYGfiioYWrXg9WjgsRdnOHYSjUutO4Ijha99DI2B",
126
126
  "src/primitives/tabs/tabs.css": "sha384-h2U9k0K4HD4qB/WMk+f+VLivqkYXbjp06g7bWxQd/SftQVb36w6oS0bQgkruvdy6",
127
127
  "src/primitives/tabs/tabs.js": "sha384-bhNFxMX9bn8ccFGg2PQQB/2lNoJWy5B6g3a9PnwXVsmKIRQX7hTXBu2GeiR2zXy9",