@zazz-ui/core 0.5.0 → 0.5.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 +14 -0
- package/README.md +2 -2
- package/dist/sri.json +4 -4
- package/dist/zazz.css +1 -1
- package/editor/zazz.language-data.json +1 -1
- package/package.json +1 -1
- package/src/primitives/button-group/button-group.css +8 -6
- package/src/primitives/card/card.css +2 -2
- package/src/primitives/toggle-group/toggle-group.css +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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.5.1 (2026-10-07)
|
|
4
|
+
|
|
5
|
+
### card
|
|
6
|
+
|
|
7
|
+
- Fix: a card without a variant is bare again while still honoring `--ui-card-bg`. 0.5.0 set a private transparent background that blocked the hook, so an inline `--ui-card-bg` on a card no longer reached cards nested in it (SPEC claim 26). The hook's default is now `transparent`; the outline and floating variants still paint `--color-card`.
|
|
8
|
+
|
|
9
|
+
### button-group
|
|
10
|
+
|
|
11
|
+
- Fix: grouped controls no longer overlap by 1px, which let hover borders spill onto neighbors and nudged the layout. Each later control drops its leading border instead (`border-inline-start-width` in a row, `border-block-start-width` in a vertical group), so neighbors share one border and right-to-left rows work too.
|
|
12
|
+
|
|
13
|
+
### toggle-group
|
|
14
|
+
|
|
15
|
+
- Fix: grouped controls no longer overlap by 1px, which let hover borders spill onto neighbors and nudged the layout. Each later control drops its leading border instead (`border-inline-start-width` in a row, `border-block-start-width` in a vertical group), so neighbors share one border and right-to-left rows work too.
|
|
16
|
+
|
|
3
17
|
## 0.5.0 (2026-10-07)
|
|
4
18
|
|
|
5
19
|
Style utilities (custom properties in `style`, called "props" in earlier 0.5 previews) replace utility classes and `data-ui` replaces class identity (SPEC.md, ADR-0012, ADR-0013). 0.5 is an alpha with breaking changes throughout and is not compatible with 0.4.x: migrate markup and themes in one step, using the migration notes below.
|
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.5.
|
|
23
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.5.1/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.5.
|
|
39
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@zazz-ui/core@0.5.1/dist/zazz.js"></script>
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Use an exact version in CDN URLs. 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dist/scroll-state-C8mA5gq6.js": "sha384-m9uzgIAkSnk8Es+jgCbChIYFu4rPyr00IB7lrAR/8dcsPc3u75VA7Wq5LIEAvXpT",
|
|
3
|
-
"dist/zazz.css": "sha384-
|
|
3
|
+
"dist/zazz.css": "sha384-9uNedVvvcCeDv6iP/KNXhnpgfUESQ1CsvvsPUPTiG+IPW+12138c2c3H6ZihXGQK",
|
|
4
4
|
"dist/zazz.js": "sha384-OpW5MvOX7FJBiG064atEDfRFSCnOY1SmrGAsaNo8430/SbGIJD2h8nGsmZwWDopL",
|
|
5
5
|
"src/base/_breakpoints.css": "sha384-vsvdoL+ZjTa5gyCiMp4DlNIbr9rxkLqfQjZ+W3YTp2Apuuu+1/Dd68ACtcBOip3v",
|
|
6
6
|
"src/base/_layers.css": "sha384-5DNbucvN9usFbR5WoM9jF0TkR+sHzIxz3IMOWIWIRSe46yec/ZNTk3OE/OKSdLJZ",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"src/primitives/autocomplete/autocomplete.css": "sha384-6cOSg97IKnshQi1udOlwbwzcq7JnzqlS9QDTTiyPVwdqA60oqxeFuSqWKg3lEbri",
|
|
73
73
|
"src/primitives/autocomplete/autocomplete.js": "sha384-WI2uVoam+LtX3ze2XI9XEQIlLULGg/I1hVlb54zGKcgEiYIjtNcmNO69Age4SmuV",
|
|
74
74
|
"src/primitives/badge/badge.css": "sha384-V/wIMiTcTlm8kTp66EiItSWUXlJCmqZWSpqR5W/UlB7xdLWvjaIGMPlisfNyKWKp",
|
|
75
|
-
"src/primitives/button-group/button-group.css": "sha384-
|
|
75
|
+
"src/primitives/button-group/button-group.css": "sha384-zELHeHhwdftZ7Rm6i5ttYJZSNOnI62pFul+mG1ICCKlkBGtBRi4UmpZUiHvRnsnV",
|
|
76
76
|
"src/primitives/button/button.css": "sha384-DKXIkH2EDJtJLbuyepmXn8roVfEhNmPkHSFq4Hcwxj84KTrnuTIWaON09tGAo4yg",
|
|
77
77
|
"src/primitives/callout/callout.css": "sha384-96AS52pO6kmoz6ywJV7brtIduk0B5uexIdQPK9z+aUldvMq5ji/oX3NYvLRN2hiq",
|
|
78
|
-
"src/primitives/card/card.css": "sha384-
|
|
78
|
+
"src/primitives/card/card.css": "sha384-VJYsOOkus0R1N8s4NjlGf9wX7Tql6hs8tSCv7wpY4baT9ANTv3R6MJXYo8vuTXNB",
|
|
79
79
|
"src/primitives/carousel/carousel.css": "sha384-6nLbkvD1z68YFv7MUsFoVOUbd9qdL05J/gbBpKVhURS67wXvgDCwfnjJG9scsR3S",
|
|
80
80
|
"src/primitives/carousel/carousel.js": "sha384-1CD4+KGm/93D3ZTAXc16NYIoC15M/nFeSHuAJdHQAoVU1bCx6Mn5JsITdEg4VEqH",
|
|
81
81
|
"src/primitives/checkbox/checkbox.css": "sha384-EMbGBnVRa6GKY6c9HaIkqqBSIPQR1QD5m66/6tw6/e2AoqCO2oRdGOGN/vqfT23p",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"src/primitives/textarea/textarea.css": "sha384-wCJVnghxFqgC1yNCAZSCFrpbWYR+dzsX9WTR+9iBiDWl+ORi/tYs0lWQb0dVN+DW",
|
|
122
122
|
"src/primitives/toaster/toaster.css": "sha384-MJbOGnPA66NyuS03zF/UpKW+Xd2rBh+oYET7ur683toPbkRKXyYbyzF9kmcDqtu2",
|
|
123
123
|
"src/primitives/toaster/toaster.js": "sha384-HXZS+zXrhIjShFp+YJcvxt9HJMb1wf6rV2YUDwterlo6Hf6bzrunuGOMrczvRb4S",
|
|
124
|
-
"src/primitives/toggle-group/toggle-group.css": "sha384-
|
|
124
|
+
"src/primitives/toggle-group/toggle-group.css": "sha384-OWWQbpkOGFGi9V4IzhPQDcG5AcglLM97MuZ/N+LU/CRlHBTCRo88b7EPRdVsuWY8",
|
|
125
125
|
"src/primitives/toggle/toggle.css": "sha384-j1QZGTE3L0RpxYZuWtQp33/UjnoJIPxwzXbsZavW2qYZ45SvWPv5gaJ15GR1d/pF",
|
|
126
126
|
"src/primitives/tooltip/tooltip.css": "sha384-tPtK06lEbGCmrObwXSOQQqfq9piv/sVL5C7c2ZJqR0Nv5mbGjHclUnTpfEDRc81x"
|
|
127
127
|
}
|