@zazz-ui/core 0.8.1 → 0.8.2
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 +12 -0
- package/README.md +2 -2
- package/dist/sri.json +4 -4
- package/dist/zazz.css +1 -1
- package/editor/zazz.css-data.json +4 -0
- package/editor/zazz.language-data.json +9 -2
- package/editor/zazz.lint-data.json +579 -568
- package/package.json +1 -1
- package/src/base/kit-styling.d.ts.map +1 -1
- package/src/base/kit-styling.js +117 -116
- package/src/base/kit-styling.ts +117 -116
- package/src/primitives/dialog/dialog.css +54 -0
- package/src/primitives/input/input.css +22 -0
|
@@ -123533,6 +123533,10 @@
|
|
|
123533
123533
|
"name": "--ui-dialog-h",
|
|
123534
123534
|
"description": "Primitive hook: the public override surface."
|
|
123535
123535
|
},
|
|
123536
|
+
{
|
|
123537
|
+
"name": "--ui-dialog-mobile-size",
|
|
123538
|
+
"description": "Primitive hook: the public override surface."
|
|
123539
|
+
},
|
|
123536
123540
|
{
|
|
123537
123541
|
"name": "--ui-dialog-opacity--end",
|
|
123538
123542
|
"description": "Primitive hook: the public override surface."
|
|
@@ -571,8 +571,10 @@
|
|
|
571
571
|
],
|
|
572
572
|
"uses": [
|
|
573
573
|
"<dialog>, ::backdrop — native modal + backdrop",
|
|
574
|
+
":root:has(dialog:modal) — overflow: hidden + scrollbar-gutter: stable while a modal is open (WebKit ignores overscroll-behavior on boxes that do not overflow)",
|
|
574
575
|
"@starting-style + allow-discrete — open/close opacity, transform, overlay",
|
|
575
|
-
"anchor-name, container-type — layout hooks for sized variants"
|
|
576
|
+
"anchor-name, container-type — layout hooks for sized variants",
|
|
577
|
+
"@media (width < 40rem) + @container style(--ui-dialog-mobile-size) — below the sm band every dialog takes the hook's size (layout-bleed by default) over its preset; style queries are Firefox 151+, Chrome 111+, Safari 18+, an older engine keeps the preset"
|
|
576
578
|
],
|
|
577
579
|
"tokens": [
|
|
578
580
|
"--ui-dialog-* (@layer variables; --ui-dialog-h defaults to a keyword, so it is read raw: a --h length, or a tier carrying a length, applies; a scale number applies only as a base utility)"
|
|
@@ -641,7 +643,8 @@
|
|
|
641
643
|
],
|
|
642
644
|
"uses": [
|
|
643
645
|
"::-webkit-calendar-picker-indicator — date/time picker chrome (WebKit)",
|
|
644
|
-
"mask — calendar icon (not background-image, for color: currentColor)"
|
|
646
|
+
"mask — calendar icon (not background-image, for color: currentColor)",
|
|
647
|
+
"@supports (-webkit-touch-callout: none) — iOS-only width fix for temporal inputs (webkit.org/b/301648)"
|
|
645
648
|
],
|
|
646
649
|
"tokens": [
|
|
647
650
|
"--ui-input-* (@layer variables; surface colors and height read the --ui-field-* family directly)"
|
|
@@ -1708,6 +1711,10 @@
|
|
|
1708
1711
|
"value": "fit-content",
|
|
1709
1712
|
"file": "primitives/dialog/dialog.css"
|
|
1710
1713
|
},
|
|
1714
|
+
"--ui-dialog-mobile-size": {
|
|
1715
|
+
"value": "layout-bleed",
|
|
1716
|
+
"file": "primitives/dialog/dialog.css"
|
|
1717
|
+
},
|
|
1711
1718
|
"--ui-dialog-opacity--end": {
|
|
1712
1719
|
"value": "1",
|
|
1713
1720
|
"file": "primitives/dialog/dialog.css"
|