@zazz-ui/core 0.6.3 → 0.8.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/AUTHORING.md +21 -20
- package/CHANGELOG.md +158 -0
- package/README.md +4 -4
- package/dist/sri.json +86 -83
- package/dist/zazz.css +1 -1
- package/dist/zazz.js +1 -1
- package/editor/zazz.css-data.json +4491 -1484
- package/editor/zazz.html-data.json +15 -3
- package/editor/zazz.language-data.json +108 -106
- package/editor/zazz.lint-data.json +2356 -2
- package/package.json +1 -1
- package/src/base/_defaults.css +413 -0
- package/src/base/_layers.css +6 -2
- package/src/base/_properties-2xl.css +20 -2
- package/src/base/_properties-active.css +32 -0
- package/src/base/_properties-checked.css +32 -0
- package/src/base/_properties-current.css +32 -0
- package/src/base/_properties-disabled.css +32 -0
- package/src/base/_properties-focus-visible.css +32 -0
- package/src/base/_properties-focus-within.css +32 -0
- package/src/base/_properties-hover.css +32 -0
- package/src/base/_properties-lg.css +20 -2
- package/src/base/_properties-md.css +20 -2
- package/src/base/_properties-open.css +32 -0
- package/src/base/_properties-sm.css +20 -2
- package/src/base/_properties-starting.css +16 -0
- package/src/base/_properties-stuck.css +16 -0
- package/src/base/_properties-xl.css +20 -2
- package/src/base/_properties.css +58 -9
- package/src/base/_shadows.css +46 -0
- package/src/base/_utilities-box.css +181 -23
- package/src/base/_utilities-color.css +1 -3
- package/src/base/_utilities-effects.css +39 -152
- package/src/base/_utilities-flow.css +80 -68
- package/src/base/_utilities-grid.css +21 -32
- package/src/base/_utilities-margin.css +1 -0
- package/src/base/_utilities-pseudo.css +58 -4
- package/src/base/_utilities-sizing.css +1 -3
- package/src/base/_utilities-spacing.css +197 -34
- package/src/base/_utilities-tier-2xl.css +10 -1
- package/src/base/_utilities-tier-active.css +16 -0
- package/src/base/_utilities-tier-checked.css +16 -0
- package/src/base/_utilities-tier-current.css +16 -0
- package/src/base/_utilities-tier-disabled.css +16 -0
- package/src/base/_utilities-tier-focus-visible.css +16 -0
- package/src/base/_utilities-tier-focus-within.css +16 -0
- package/src/base/_utilities-tier-hover.css +16 -0
- package/src/base/_utilities-tier-lg.css +10 -1
- package/src/base/_utilities-tier-md.css +10 -1
- package/src/base/_utilities-tier-open.css +16 -0
- package/src/base/_utilities-tier-sm.css +10 -1
- package/src/base/_utilities-tier-starting.css +8 -0
- package/src/base/_utilities-tier-stuck.css +8 -0
- package/src/base/_utilities-tier-xl.css +10 -1
- package/src/base/_utilities-typography.css +1 -9
- package/src/base/_variables.css +5 -85
- package/src/base/kit-styling.d.ts +11 -0
- package/src/base/kit-styling.d.ts.map +1 -0
- package/src/base/kit-styling.js +504 -0
- package/src/base/kit-styling.ts +507 -0
- package/src/base/reveal.d.ts +3 -3
- package/src/base/reveal.d.ts.map +1 -1
- package/src/base/reveal.js +34 -18
- package/src/base/reveal.ts +42 -20
- package/src/base/utilities.d.ts +28 -10
- package/src/base/utilities.d.ts.map +1 -1
- package/src/base/utilities.js +172 -44
- package/src/base/utilities.ts +188 -54
- package/src/index.css +2 -0
- package/src/manifest.d.ts.map +1 -1
- package/src/manifest.js +3 -1
- package/src/manifest.ts +3 -1
- package/src/primitives/avatar/avatar.html +2 -2
- package/src/primitives/badge/badge.css +14 -10
- package/src/primitives/button/button.css +17 -13
- package/src/primitives/button-group/button-group.css +13 -6
- package/src/primitives/callout/callout.css +6 -2
- package/src/primitives/card/card-subgrid.html +3 -3
- package/src/primitives/card/card.css +8 -4
- package/src/primitives/card/card.html +2 -2
- package/src/primitives/carousel/carousel.html +12 -12
- package/src/primitives/checkbox/checkbox.css +6 -2
- package/src/primitives/combobox/combobox.css +8 -4
- package/src/primitives/debug/audit-core.d.ts +8 -0
- package/src/primitives/debug/audit-core.d.ts.map +1 -1
- package/src/primitives/debug/audit-core.js +30 -6
- package/src/primitives/debug/audit-core.ts +49 -5
- package/src/primitives/debug/debug.d.ts +0 -15
- package/src/primitives/debug/debug.d.ts.map +1 -1
- package/src/primitives/debug/debug.js +11 -2
- package/src/primitives/debug/debug.ts +12 -1
- package/src/primitives/dialog/dialog-with-form.html +1 -1
- package/src/primitives/dialog/dialog.css +35 -14
- package/src/primitives/fields/fields.css +8 -4
- package/src/primitives/input/input.css +6 -2
- package/src/primitives/input-group/input-group.css +5 -1
- package/src/primitives/kbd/kbd.css +6 -2
- package/src/primitives/layout/layout.html +1 -1
- package/src/primitives/lightbox/lightbox.css +12 -16
- package/src/primitives/lightbox/lightbox.html +1 -1
- package/src/primitives/menu/menu.css +3 -3
- package/src/primitives/meter/meter.css +6 -2
- package/src/primitives/mobile-menu/mobile-menu.css +2 -2
- package/src/primitives/mobile-menu/mobile-menu.html +1 -1
- package/src/primitives/navigation-menu/navigation-menu-featured.html +1 -1
- package/src/primitives/navigation-menu/navigation-menu.css +4 -4
- package/src/primitives/navigation-menu/navigation-menu.html +1 -1
- package/src/primitives/otp/otp.css +6 -2
- package/src/primitives/password-group/password-group.css +5 -1
- package/src/primitives/popover/popover.css +8 -4
- package/src/primitives/progress/progress.css +6 -2
- package/src/primitives/radio/radio.css +6 -2
- package/src/primitives/reveal/reveal.css +17 -11
- package/src/primitives/select/select.css +15 -7
- package/src/primitives/slider/slider.css +7 -7
- package/src/primitives/switch/switch.css +6 -2
- package/src/primitives/tabs/tabs.css +10 -6
- package/src/primitives/tabs/tabs.html +6 -6
- package/src/primitives/textarea/textarea.css +6 -2
- package/src/primitives/toaster/toaster.css +2 -2
- package/src/primitives/toggle/toggle.css +9 -5
- package/src/primitives/toggle-group/toggle-group.css +13 -6
- package/src/primitives/toolbar/toolbar.html +1 -1
- package/src/primitives/tooltip/tooltip.css +6 -2
- package/src/primitives/utilities/aspect-ratio.html +3 -3
- package/src/primitives/utilities/basis.html +5 -5
- package/src/primitives/utilities/col-span.html +5 -5
- package/src/primitives/utilities/compose.html +2 -2
- package/src/primitives/utilities/flex-align.html +3 -3
- package/src/primitives/utilities/flex-direction.html +6 -6
- package/src/primitives/utilities/flex-grow.html +3 -3
- package/src/primitives/utilities/gap.html +9 -9
- package/src/primitives/utilities/grid-cols.html +6 -6
- package/src/primitives/utilities/grid-responsive.html +8 -8
- package/src/primitives/utilities/margin-auto.html +3 -3
- package/src/primitives/utilities/object-fit.html +3 -3
- package/src/primitives/utilities/order.html +3 -3
- package/src/primitives/utilities/overflow.html +2 -2
- package/src/primitives/utilities/padding-compose.html +6 -6
- package/src/primitives/utilities/padding.html +8 -8
- package/src/primitives/utilities/pile.html +1 -1
- package/src/primitives/utilities/position.html +2 -2
- package/src/primitives/utilities/responsive-flex.html +3 -3
- package/src/primitives/utilities/responsive-grid.html +8 -8
- package/src/primitives/utilities/size.html +5 -5
- package/src/primitives/utilities/width.html +5 -5
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
/* disabled tier setter */
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
:where(:is(:disabled, [aria-disabled="true"])[style*="--disabled:"]) {
|
|
6
|
+
--_anchor-name-disabled: var(--anchor-name--disabled);
|
|
7
|
+
--_position-anchor-disabled: var(--position-anchor--disabled);
|
|
8
|
+
--_position-area-disabled: var(--position-area--disabled);
|
|
6
9
|
--_template-cols-disabled: var(--template-cols--disabled);
|
|
7
10
|
--_template-rows-disabled: var(--template-rows--disabled);
|
|
8
11
|
--_text-decoration-disabled: var(--text-decoration--disabled);
|
|
@@ -20,6 +23,10 @@
|
|
|
20
23
|
--_border-r-disabled: var(--border-r--disabled);
|
|
21
24
|
--_border-b-disabled: var(--border-b--disabled);
|
|
22
25
|
--_opacity-disabled: var(--opacity--disabled);
|
|
26
|
+
--_filter-disabled: var(--filter--disabled);
|
|
27
|
+
--_elevation-disabled: var(--elevation--disabled);
|
|
28
|
+
--_backdrop-filter-disabled: var(--backdrop-filter--disabled);
|
|
29
|
+
--_mix-blend-disabled: var(--mix-blend--disabled);
|
|
23
30
|
--_shadow-disabled: var(--shadow--disabled);
|
|
24
31
|
--_shadow-angle-disabled: var(--shadow-angle--disabled);
|
|
25
32
|
--_ring-disabled: var(--ring--disabled);
|
|
@@ -32,8 +39,12 @@
|
|
|
32
39
|
--_transition-disabled: var(--transition--disabled);
|
|
33
40
|
--_transition-duration-disabled: var(--transition-duration--disabled);
|
|
34
41
|
--_transition-delay-disabled: var(--transition-delay--disabled);
|
|
42
|
+
--_radius-disabled: var(--radius--disabled);
|
|
35
43
|
}
|
|
36
44
|
:where([data-ui~="group"]:is(:disabled, [aria-disabled="true"]) [style*="--group-"]) {
|
|
45
|
+
--_anchor-name-g-disabled: var(--group-anchor-name--disabled);
|
|
46
|
+
--_position-anchor-g-disabled: var(--group-position-anchor--disabled);
|
|
47
|
+
--_position-area-g-disabled: var(--group-position-area--disabled);
|
|
37
48
|
--_template-cols-g-disabled: var(--group-template-cols--disabled);
|
|
38
49
|
--_template-rows-g-disabled: var(--group-template-rows--disabled);
|
|
39
50
|
--_text-decoration-g-disabled: var(--group-text-decoration--disabled);
|
|
@@ -51,6 +62,10 @@
|
|
|
51
62
|
--_border-r-g-disabled: var(--group-border-r--disabled);
|
|
52
63
|
--_border-b-g-disabled: var(--group-border-b--disabled);
|
|
53
64
|
--_opacity-g-disabled: var(--group-opacity--disabled);
|
|
65
|
+
--_filter-g-disabled: var(--group-filter--disabled);
|
|
66
|
+
--_elevation-g-disabled: var(--group-elevation--disabled);
|
|
67
|
+
--_backdrop-filter-g-disabled: var(--group-backdrop-filter--disabled);
|
|
68
|
+
--_mix-blend-g-disabled: var(--group-mix-blend--disabled);
|
|
54
69
|
--_shadow-g-disabled: var(--group-shadow--disabled);
|
|
55
70
|
--_shadow-angle-g-disabled: var(--group-shadow-angle--disabled);
|
|
56
71
|
--_ring-g-disabled: var(--group-ring--disabled);
|
|
@@ -63,5 +78,6 @@
|
|
|
63
78
|
--_transition-g-disabled: var(--group-transition--disabled);
|
|
64
79
|
--_transition-duration-g-disabled: var(--group-transition-duration--disabled);
|
|
65
80
|
--_transition-delay-g-disabled: var(--group-transition-delay--disabled);
|
|
81
|
+
--_radius-g-disabled: var(--group-radius--disabled);
|
|
66
82
|
}
|
|
67
83
|
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
/* focus-visible tier setter */
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
:where(:focus-visible[style*="--focus-visible:"]) {
|
|
6
|
+
--_anchor-name-focus-visible: var(--anchor-name--focus-visible);
|
|
7
|
+
--_position-anchor-focus-visible: var(--position-anchor--focus-visible);
|
|
8
|
+
--_position-area-focus-visible: var(--position-area--focus-visible);
|
|
6
9
|
--_template-cols-focus-visible: var(--template-cols--focus-visible);
|
|
7
10
|
--_template-rows-focus-visible: var(--template-rows--focus-visible);
|
|
8
11
|
--_text-decoration-focus-visible: var(--text-decoration--focus-visible);
|
|
@@ -20,6 +23,10 @@
|
|
|
20
23
|
--_border-r-focus-visible: var(--border-r--focus-visible);
|
|
21
24
|
--_border-b-focus-visible: var(--border-b--focus-visible);
|
|
22
25
|
--_opacity-focus-visible: var(--opacity--focus-visible);
|
|
26
|
+
--_filter-focus-visible: var(--filter--focus-visible);
|
|
27
|
+
--_elevation-focus-visible: var(--elevation--focus-visible);
|
|
28
|
+
--_backdrop-filter-focus-visible: var(--backdrop-filter--focus-visible);
|
|
29
|
+
--_mix-blend-focus-visible: var(--mix-blend--focus-visible);
|
|
23
30
|
--_shadow-focus-visible: var(--shadow--focus-visible);
|
|
24
31
|
--_shadow-angle-focus-visible: var(--shadow-angle--focus-visible);
|
|
25
32
|
--_ring-focus-visible: var(--ring--focus-visible);
|
|
@@ -32,8 +39,12 @@
|
|
|
32
39
|
--_transition-focus-visible: var(--transition--focus-visible);
|
|
33
40
|
--_transition-duration-focus-visible: var(--transition-duration--focus-visible);
|
|
34
41
|
--_transition-delay-focus-visible: var(--transition-delay--focus-visible);
|
|
42
|
+
--_radius-focus-visible: var(--radius--focus-visible);
|
|
35
43
|
}
|
|
36
44
|
:where([data-ui~="group"]:focus-visible [style*="--group-"]) {
|
|
45
|
+
--_anchor-name-g-focus-visible: var(--group-anchor-name--focus-visible);
|
|
46
|
+
--_position-anchor-g-focus-visible: var(--group-position-anchor--focus-visible);
|
|
47
|
+
--_position-area-g-focus-visible: var(--group-position-area--focus-visible);
|
|
37
48
|
--_template-cols-g-focus-visible: var(--group-template-cols--focus-visible);
|
|
38
49
|
--_template-rows-g-focus-visible: var(--group-template-rows--focus-visible);
|
|
39
50
|
--_text-decoration-g-focus-visible: var(--group-text-decoration--focus-visible);
|
|
@@ -51,6 +62,10 @@
|
|
|
51
62
|
--_border-r-g-focus-visible: var(--group-border-r--focus-visible);
|
|
52
63
|
--_border-b-g-focus-visible: var(--group-border-b--focus-visible);
|
|
53
64
|
--_opacity-g-focus-visible: var(--group-opacity--focus-visible);
|
|
65
|
+
--_filter-g-focus-visible: var(--group-filter--focus-visible);
|
|
66
|
+
--_elevation-g-focus-visible: var(--group-elevation--focus-visible);
|
|
67
|
+
--_backdrop-filter-g-focus-visible: var(--group-backdrop-filter--focus-visible);
|
|
68
|
+
--_mix-blend-g-focus-visible: var(--group-mix-blend--focus-visible);
|
|
54
69
|
--_shadow-g-focus-visible: var(--group-shadow--focus-visible);
|
|
55
70
|
--_shadow-angle-g-focus-visible: var(--group-shadow-angle--focus-visible);
|
|
56
71
|
--_ring-g-focus-visible: var(--group-ring--focus-visible);
|
|
@@ -63,5 +78,6 @@
|
|
|
63
78
|
--_transition-g-focus-visible: var(--group-transition--focus-visible);
|
|
64
79
|
--_transition-duration-g-focus-visible: var(--group-transition-duration--focus-visible);
|
|
65
80
|
--_transition-delay-g-focus-visible: var(--group-transition-delay--focus-visible);
|
|
81
|
+
--_radius-g-focus-visible: var(--group-radius--focus-visible);
|
|
66
82
|
}
|
|
67
83
|
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
/* focus-within tier setter */
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
:where(:focus-within[style*="--focus-within:"]) {
|
|
6
|
+
--_anchor-name-focus-within: var(--anchor-name--focus-within);
|
|
7
|
+
--_position-anchor-focus-within: var(--position-anchor--focus-within);
|
|
8
|
+
--_position-area-focus-within: var(--position-area--focus-within);
|
|
6
9
|
--_template-cols-focus-within: var(--template-cols--focus-within);
|
|
7
10
|
--_template-rows-focus-within: var(--template-rows--focus-within);
|
|
8
11
|
--_text-decoration-focus-within: var(--text-decoration--focus-within);
|
|
@@ -20,6 +23,10 @@
|
|
|
20
23
|
--_border-r-focus-within: var(--border-r--focus-within);
|
|
21
24
|
--_border-b-focus-within: var(--border-b--focus-within);
|
|
22
25
|
--_opacity-focus-within: var(--opacity--focus-within);
|
|
26
|
+
--_filter-focus-within: var(--filter--focus-within);
|
|
27
|
+
--_elevation-focus-within: var(--elevation--focus-within);
|
|
28
|
+
--_backdrop-filter-focus-within: var(--backdrop-filter--focus-within);
|
|
29
|
+
--_mix-blend-focus-within: var(--mix-blend--focus-within);
|
|
23
30
|
--_shadow-focus-within: var(--shadow--focus-within);
|
|
24
31
|
--_shadow-angle-focus-within: var(--shadow-angle--focus-within);
|
|
25
32
|
--_ring-focus-within: var(--ring--focus-within);
|
|
@@ -32,8 +39,12 @@
|
|
|
32
39
|
--_transition-focus-within: var(--transition--focus-within);
|
|
33
40
|
--_transition-duration-focus-within: var(--transition-duration--focus-within);
|
|
34
41
|
--_transition-delay-focus-within: var(--transition-delay--focus-within);
|
|
42
|
+
--_radius-focus-within: var(--radius--focus-within);
|
|
35
43
|
}
|
|
36
44
|
:where([data-ui~="group"]:focus-within [style*="--group-"]) {
|
|
45
|
+
--_anchor-name-g-focus-within: var(--group-anchor-name--focus-within);
|
|
46
|
+
--_position-anchor-g-focus-within: var(--group-position-anchor--focus-within);
|
|
47
|
+
--_position-area-g-focus-within: var(--group-position-area--focus-within);
|
|
37
48
|
--_template-cols-g-focus-within: var(--group-template-cols--focus-within);
|
|
38
49
|
--_template-rows-g-focus-within: var(--group-template-rows--focus-within);
|
|
39
50
|
--_text-decoration-g-focus-within: var(--group-text-decoration--focus-within);
|
|
@@ -51,6 +62,10 @@
|
|
|
51
62
|
--_border-r-g-focus-within: var(--group-border-r--focus-within);
|
|
52
63
|
--_border-b-g-focus-within: var(--group-border-b--focus-within);
|
|
53
64
|
--_opacity-g-focus-within: var(--group-opacity--focus-within);
|
|
65
|
+
--_filter-g-focus-within: var(--group-filter--focus-within);
|
|
66
|
+
--_elevation-g-focus-within: var(--group-elevation--focus-within);
|
|
67
|
+
--_backdrop-filter-g-focus-within: var(--group-backdrop-filter--focus-within);
|
|
68
|
+
--_mix-blend-g-focus-within: var(--group-mix-blend--focus-within);
|
|
54
69
|
--_shadow-g-focus-within: var(--group-shadow--focus-within);
|
|
55
70
|
--_shadow-angle-g-focus-within: var(--group-shadow-angle--focus-within);
|
|
56
71
|
--_ring-g-focus-within: var(--group-ring--focus-within);
|
|
@@ -63,5 +78,6 @@
|
|
|
63
78
|
--_transition-g-focus-within: var(--group-transition--focus-within);
|
|
64
79
|
--_transition-duration-g-focus-within: var(--group-transition-duration--focus-within);
|
|
65
80
|
--_transition-delay-g-focus-within: var(--group-transition-delay--focus-within);
|
|
81
|
+
--_radius-g-focus-within: var(--group-radius--focus-within);
|
|
66
82
|
}
|
|
67
83
|
}
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
@media (hover: hover) {
|
|
6
6
|
:where(:hover[style*="--hover:"]) {
|
|
7
|
+
--_anchor-name-hover: var(--anchor-name--hover);
|
|
8
|
+
--_position-anchor-hover: var(--position-anchor--hover);
|
|
9
|
+
--_position-area-hover: var(--position-area--hover);
|
|
7
10
|
--_template-cols-hover: var(--template-cols--hover);
|
|
8
11
|
--_template-rows-hover: var(--template-rows--hover);
|
|
9
12
|
--_text-decoration-hover: var(--text-decoration--hover);
|
|
@@ -21,6 +24,10 @@
|
|
|
21
24
|
--_border-r-hover: var(--border-r--hover);
|
|
22
25
|
--_border-b-hover: var(--border-b--hover);
|
|
23
26
|
--_opacity-hover: var(--opacity--hover);
|
|
27
|
+
--_filter-hover: var(--filter--hover);
|
|
28
|
+
--_elevation-hover: var(--elevation--hover);
|
|
29
|
+
--_backdrop-filter-hover: var(--backdrop-filter--hover);
|
|
30
|
+
--_mix-blend-hover: var(--mix-blend--hover);
|
|
24
31
|
--_shadow-hover: var(--shadow--hover);
|
|
25
32
|
--_shadow-angle-hover: var(--shadow-angle--hover);
|
|
26
33
|
--_ring-hover: var(--ring--hover);
|
|
@@ -33,8 +40,12 @@
|
|
|
33
40
|
--_transition-hover: var(--transition--hover);
|
|
34
41
|
--_transition-duration-hover: var(--transition-duration--hover);
|
|
35
42
|
--_transition-delay-hover: var(--transition-delay--hover);
|
|
43
|
+
--_radius-hover: var(--radius--hover);
|
|
36
44
|
}
|
|
37
45
|
:where([data-ui~="group"]:hover [style*="--group-"]) {
|
|
46
|
+
--_anchor-name-g-hover: var(--group-anchor-name--hover);
|
|
47
|
+
--_position-anchor-g-hover: var(--group-position-anchor--hover);
|
|
48
|
+
--_position-area-g-hover: var(--group-position-area--hover);
|
|
38
49
|
--_template-cols-g-hover: var(--group-template-cols--hover);
|
|
39
50
|
--_template-rows-g-hover: var(--group-template-rows--hover);
|
|
40
51
|
--_text-decoration-g-hover: var(--group-text-decoration--hover);
|
|
@@ -52,6 +63,10 @@
|
|
|
52
63
|
--_border-r-g-hover: var(--group-border-r--hover);
|
|
53
64
|
--_border-b-g-hover: var(--group-border-b--hover);
|
|
54
65
|
--_opacity-g-hover: var(--group-opacity--hover);
|
|
66
|
+
--_filter-g-hover: var(--group-filter--hover);
|
|
67
|
+
--_elevation-g-hover: var(--group-elevation--hover);
|
|
68
|
+
--_backdrop-filter-g-hover: var(--group-backdrop-filter--hover);
|
|
69
|
+
--_mix-blend-g-hover: var(--group-mix-blend--hover);
|
|
55
70
|
--_shadow-g-hover: var(--group-shadow--hover);
|
|
56
71
|
--_shadow-angle-g-hover: var(--group-shadow-angle--hover);
|
|
57
72
|
--_ring-g-hover: var(--group-ring--hover);
|
|
@@ -64,6 +79,7 @@
|
|
|
64
79
|
--_transition-g-hover: var(--group-transition--hover);
|
|
65
80
|
--_transition-duration-g-hover: var(--group-transition-duration--hover);
|
|
66
81
|
--_transition-delay-g-hover: var(--group-transition-delay--hover);
|
|
82
|
+
--_radius-g-hover: var(--group-radius--hover);
|
|
67
83
|
}
|
|
68
84
|
}
|
|
69
85
|
}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
:where([style*="--lg:"]) {
|
|
7
7
|
--_display-lg: var(--display--lg);
|
|
8
8
|
--_position-lg: var(--position--lg);
|
|
9
|
+
--_anchor-name-lg: var(--anchor-name--lg);
|
|
10
|
+
--_position-anchor-lg: var(--position-anchor--lg);
|
|
11
|
+
--_position-area-lg: var(--position-area--lg);
|
|
9
12
|
--_flex-wrap-lg: var(--flex-wrap--lg);
|
|
10
|
-
--_shrink-lg: var(--shrink--lg);
|
|
11
13
|
--_grid-flow-lg: var(--grid-flow--lg);
|
|
12
14
|
--_auto-cols-lg: var(--auto-cols--lg);
|
|
13
15
|
--_auto-rows-lg: var(--auto-rows--lg);
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
--_place-content-lg: var(--place-content--lg);
|
|
18
20
|
--_self-lg: var(--self--lg);
|
|
19
21
|
--_flex-lg: var(--flex--lg);
|
|
22
|
+
--_shrink-lg: var(--shrink--lg);
|
|
20
23
|
--_basis-lg: var(--basis--lg);
|
|
21
24
|
--_order-lg: var(--order--lg);
|
|
22
25
|
--_band-lg: var(--band--lg);
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
--_border-t-lg: var(--border-t--lg);
|
|
89
92
|
--_border-r-lg: var(--border-r--lg);
|
|
90
93
|
--_border-b-lg: var(--border-b--lg);
|
|
94
|
+
--_elevation-lg: var(--elevation--lg);
|
|
91
95
|
--_shadow-angle-lg: var(--shadow-angle--lg);
|
|
92
96
|
--_ring-lg: var(--ring--lg);
|
|
93
97
|
--_ring-color-lg: var(--ring-color--lg);
|
|
@@ -96,6 +100,11 @@
|
|
|
96
100
|
--_focus-ring-lg: var(--focus-ring--lg);
|
|
97
101
|
--_transition-duration-lg: var(--transition-duration--lg);
|
|
98
102
|
--_transition-delay-lg: var(--transition-delay--lg);
|
|
103
|
+
--_radius-lg: var(--radius--lg);
|
|
104
|
+
--_radius-t-lg: var(--radius-t--lg);
|
|
105
|
+
--_radius-b-lg: var(--radius-b--lg);
|
|
106
|
+
--_radius-l-lg: var(--radius-l--lg);
|
|
107
|
+
--_radius-r-lg: var(--radius-r--lg);
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
:where([style*="--md:"]) {
|
|
7
7
|
--_display-md: var(--display--md);
|
|
8
8
|
--_position-md: var(--position--md);
|
|
9
|
+
--_anchor-name-md: var(--anchor-name--md);
|
|
10
|
+
--_position-anchor-md: var(--position-anchor--md);
|
|
11
|
+
--_position-area-md: var(--position-area--md);
|
|
9
12
|
--_flex-wrap-md: var(--flex-wrap--md);
|
|
10
|
-
--_shrink-md: var(--shrink--md);
|
|
11
13
|
--_grid-flow-md: var(--grid-flow--md);
|
|
12
14
|
--_auto-cols-md: var(--auto-cols--md);
|
|
13
15
|
--_auto-rows-md: var(--auto-rows--md);
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
--_place-content-md: var(--place-content--md);
|
|
18
20
|
--_self-md: var(--self--md);
|
|
19
21
|
--_flex-md: var(--flex--md);
|
|
22
|
+
--_shrink-md: var(--shrink--md);
|
|
20
23
|
--_basis-md: var(--basis--md);
|
|
21
24
|
--_order-md: var(--order--md);
|
|
22
25
|
--_band-md: var(--band--md);
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
--_border-t-md: var(--border-t--md);
|
|
89
92
|
--_border-r-md: var(--border-r--md);
|
|
90
93
|
--_border-b-md: var(--border-b--md);
|
|
94
|
+
--_elevation-md: var(--elevation--md);
|
|
91
95
|
--_shadow-angle-md: var(--shadow-angle--md);
|
|
92
96
|
--_ring-md: var(--ring--md);
|
|
93
97
|
--_ring-color-md: var(--ring-color--md);
|
|
@@ -96,6 +100,11 @@
|
|
|
96
100
|
--_focus-ring-md: var(--focus-ring--md);
|
|
97
101
|
--_transition-duration-md: var(--transition-duration--md);
|
|
98
102
|
--_transition-delay-md: var(--transition-delay--md);
|
|
103
|
+
--_radius-md: var(--radius--md);
|
|
104
|
+
--_radius-t-md: var(--radius-t--md);
|
|
105
|
+
--_radius-b-md: var(--radius-b--md);
|
|
106
|
+
--_radius-l-md: var(--radius-l--md);
|
|
107
|
+
--_radius-r-md: var(--radius-r--md);
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
/* open tier setter */
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
:where(:is([open], :popover-open, [aria-expanded="true"])[style*="--open:"]) {
|
|
6
|
+
--_anchor-name-open: var(--anchor-name--open);
|
|
7
|
+
--_position-anchor-open: var(--position-anchor--open);
|
|
8
|
+
--_position-area-open: var(--position-area--open);
|
|
6
9
|
--_template-cols-open: var(--template-cols--open);
|
|
7
10
|
--_template-rows-open: var(--template-rows--open);
|
|
8
11
|
--_text-decoration-open: var(--text-decoration--open);
|
|
@@ -20,6 +23,10 @@
|
|
|
20
23
|
--_border-r-open: var(--border-r--open);
|
|
21
24
|
--_border-b-open: var(--border-b--open);
|
|
22
25
|
--_opacity-open: var(--opacity--open);
|
|
26
|
+
--_filter-open: var(--filter--open);
|
|
27
|
+
--_elevation-open: var(--elevation--open);
|
|
28
|
+
--_backdrop-filter-open: var(--backdrop-filter--open);
|
|
29
|
+
--_mix-blend-open: var(--mix-blend--open);
|
|
23
30
|
--_shadow-open: var(--shadow--open);
|
|
24
31
|
--_shadow-angle-open: var(--shadow-angle--open);
|
|
25
32
|
--_ring-open: var(--ring--open);
|
|
@@ -32,8 +39,12 @@
|
|
|
32
39
|
--_transition-open: var(--transition--open);
|
|
33
40
|
--_transition-duration-open: var(--transition-duration--open);
|
|
34
41
|
--_transition-delay-open: var(--transition-delay--open);
|
|
42
|
+
--_radius-open: var(--radius--open);
|
|
35
43
|
}
|
|
36
44
|
:where([data-ui~="group"]:is([open], :popover-open, [aria-expanded="true"]) [style*="--group-"]) {
|
|
45
|
+
--_anchor-name-g-open: var(--group-anchor-name--open);
|
|
46
|
+
--_position-anchor-g-open: var(--group-position-anchor--open);
|
|
47
|
+
--_position-area-g-open: var(--group-position-area--open);
|
|
37
48
|
--_template-cols-g-open: var(--group-template-cols--open);
|
|
38
49
|
--_template-rows-g-open: var(--group-template-rows--open);
|
|
39
50
|
--_text-decoration-g-open: var(--group-text-decoration--open);
|
|
@@ -51,6 +62,10 @@
|
|
|
51
62
|
--_border-r-g-open: var(--group-border-r--open);
|
|
52
63
|
--_border-b-g-open: var(--group-border-b--open);
|
|
53
64
|
--_opacity-g-open: var(--group-opacity--open);
|
|
65
|
+
--_filter-g-open: var(--group-filter--open);
|
|
66
|
+
--_elevation-g-open: var(--group-elevation--open);
|
|
67
|
+
--_backdrop-filter-g-open: var(--group-backdrop-filter--open);
|
|
68
|
+
--_mix-blend-g-open: var(--group-mix-blend--open);
|
|
54
69
|
--_shadow-g-open: var(--group-shadow--open);
|
|
55
70
|
--_shadow-angle-g-open: var(--group-shadow-angle--open);
|
|
56
71
|
--_ring-g-open: var(--group-ring--open);
|
|
@@ -63,5 +78,6 @@
|
|
|
63
78
|
--_transition-g-open: var(--group-transition--open);
|
|
64
79
|
--_transition-duration-g-open: var(--group-transition-duration--open);
|
|
65
80
|
--_transition-delay-g-open: var(--group-transition-delay--open);
|
|
81
|
+
--_radius-g-open: var(--group-radius--open);
|
|
66
82
|
}
|
|
67
83
|
}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
:where([style*="--sm:"]) {
|
|
7
7
|
--_display-sm: var(--display--sm);
|
|
8
8
|
--_position-sm: var(--position--sm);
|
|
9
|
+
--_anchor-name-sm: var(--anchor-name--sm);
|
|
10
|
+
--_position-anchor-sm: var(--position-anchor--sm);
|
|
11
|
+
--_position-area-sm: var(--position-area--sm);
|
|
9
12
|
--_flex-wrap-sm: var(--flex-wrap--sm);
|
|
10
|
-
--_shrink-sm: var(--shrink--sm);
|
|
11
13
|
--_grid-flow-sm: var(--grid-flow--sm);
|
|
12
14
|
--_auto-cols-sm: var(--auto-cols--sm);
|
|
13
15
|
--_auto-rows-sm: var(--auto-rows--sm);
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
--_place-content-sm: var(--place-content--sm);
|
|
18
20
|
--_self-sm: var(--self--sm);
|
|
19
21
|
--_flex-sm: var(--flex--sm);
|
|
22
|
+
--_shrink-sm: var(--shrink--sm);
|
|
20
23
|
--_basis-sm: var(--basis--sm);
|
|
21
24
|
--_order-sm: var(--order--sm);
|
|
22
25
|
--_band-sm: var(--band--sm);
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
--_border-t-sm: var(--border-t--sm);
|
|
89
92
|
--_border-r-sm: var(--border-r--sm);
|
|
90
93
|
--_border-b-sm: var(--border-b--sm);
|
|
94
|
+
--_elevation-sm: var(--elevation--sm);
|
|
91
95
|
--_shadow-angle-sm: var(--shadow-angle--sm);
|
|
92
96
|
--_ring-sm: var(--ring--sm);
|
|
93
97
|
--_ring-color-sm: var(--ring-color--sm);
|
|
@@ -96,6 +100,11 @@
|
|
|
96
100
|
--_focus-ring-sm: var(--focus-ring--sm);
|
|
97
101
|
--_transition-duration-sm: var(--transition-duration--sm);
|
|
98
102
|
--_transition-delay-sm: var(--transition-delay--sm);
|
|
103
|
+
--_radius-sm: var(--radius--sm);
|
|
104
|
+
--_radius-t-sm: var(--radius-t--sm);
|
|
105
|
+
--_radius-b-sm: var(--radius-b--sm);
|
|
106
|
+
--_radius-l-sm: var(--radius-l--sm);
|
|
107
|
+
--_radius-r-sm: var(--radius-r--sm);
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
}
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
@layer ui.utilities {
|
|
5
5
|
@starting-style {
|
|
6
6
|
:where([style*="--starting:"]) {
|
|
7
|
+
--_anchor-name-starting: var(--anchor-name--starting);
|
|
8
|
+
--_position-anchor-starting: var(--position-anchor--starting);
|
|
9
|
+
--_position-area-starting: var(--position-area--starting);
|
|
7
10
|
--_template-cols-starting: var(--template-cols--starting);
|
|
8
11
|
--_template-rows-starting: var(--template-rows--starting);
|
|
9
12
|
--_text-decoration-starting: var(--text-decoration--starting);
|
|
@@ -21,6 +24,10 @@
|
|
|
21
24
|
--_border-r-starting: var(--border-r--starting);
|
|
22
25
|
--_border-b-starting: var(--border-b--starting);
|
|
23
26
|
--_opacity-starting: var(--opacity--starting);
|
|
27
|
+
--_filter-starting: var(--filter--starting);
|
|
28
|
+
--_elevation-starting: var(--elevation--starting);
|
|
29
|
+
--_backdrop-filter-starting: var(--backdrop-filter--starting);
|
|
30
|
+
--_mix-blend-starting: var(--mix-blend--starting);
|
|
24
31
|
--_shadow-starting: var(--shadow--starting);
|
|
25
32
|
--_shadow-angle-starting: var(--shadow-angle--starting);
|
|
26
33
|
--_ring-starting: var(--ring--starting);
|
|
@@ -33,6 +40,7 @@
|
|
|
33
40
|
--_transition-starting: var(--transition--starting);
|
|
34
41
|
--_transition-duration-starting: var(--transition-duration--starting);
|
|
35
42
|
--_transition-delay-starting: var(--transition-delay--starting);
|
|
43
|
+
--_radius-starting: var(--radius--starting);
|
|
36
44
|
}
|
|
37
45
|
}
|
|
38
46
|
}
|
|
@@ -84,6 +84,9 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
:where([style*="--stuck:"]) {
|
|
87
|
+
--_anchor-name-stuck: var(--_stuck-on) var(--anchor-name--stuck);
|
|
88
|
+
--_position-anchor-stuck: var(--_stuck-on) var(--position-anchor--stuck);
|
|
89
|
+
--_position-area-stuck: var(--_stuck-on) var(--position-area--stuck);
|
|
87
90
|
--_template-cols-stuck: var(--_stuck-on) var(--template-cols--stuck);
|
|
88
91
|
--_template-rows-stuck: var(--_stuck-on) var(--template-rows--stuck);
|
|
89
92
|
--_text-decoration-stuck: var(--_stuck-on) var(--text-decoration--stuck);
|
|
@@ -101,6 +104,10 @@
|
|
|
101
104
|
--_border-r-stuck: var(--_stuck-on) var(--border-r--stuck);
|
|
102
105
|
--_border-b-stuck: var(--_stuck-on) var(--border-b--stuck);
|
|
103
106
|
--_opacity-stuck: var(--_stuck-on) var(--opacity--stuck);
|
|
107
|
+
--_filter-stuck: var(--_stuck-on) var(--filter--stuck);
|
|
108
|
+
--_elevation-stuck: var(--_stuck-on) var(--elevation--stuck);
|
|
109
|
+
--_backdrop-filter-stuck: var(--_stuck-on) var(--backdrop-filter--stuck);
|
|
110
|
+
--_mix-blend-stuck: var(--_stuck-on) var(--mix-blend--stuck);
|
|
104
111
|
--_shadow-stuck: var(--_stuck-on) var(--shadow--stuck);
|
|
105
112
|
--_shadow-angle-stuck: var(--_stuck-on) var(--shadow-angle--stuck);
|
|
106
113
|
--_ring-stuck: var(--_stuck-on) var(--ring--stuck);
|
|
@@ -113,5 +120,6 @@
|
|
|
113
120
|
--_transition-stuck: var(--_stuck-on) var(--transition--stuck);
|
|
114
121
|
--_transition-duration-stuck: var(--_stuck-on) var(--transition-duration--stuck);
|
|
115
122
|
--_transition-delay-stuck: var(--_stuck-on) var(--transition-delay--stuck);
|
|
123
|
+
--_radius-stuck: var(--_stuck-on) var(--radius--stuck);
|
|
116
124
|
}
|
|
117
125
|
}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
:where([style*="--xl:"]) {
|
|
7
7
|
--_display-xl: var(--display--xl);
|
|
8
8
|
--_position-xl: var(--position--xl);
|
|
9
|
+
--_anchor-name-xl: var(--anchor-name--xl);
|
|
10
|
+
--_position-anchor-xl: var(--position-anchor--xl);
|
|
11
|
+
--_position-area-xl: var(--position-area--xl);
|
|
9
12
|
--_flex-wrap-xl: var(--flex-wrap--xl);
|
|
10
|
-
--_shrink-xl: var(--shrink--xl);
|
|
11
13
|
--_grid-flow-xl: var(--grid-flow--xl);
|
|
12
14
|
--_auto-cols-xl: var(--auto-cols--xl);
|
|
13
15
|
--_auto-rows-xl: var(--auto-rows--xl);
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
--_place-content-xl: var(--place-content--xl);
|
|
18
20
|
--_self-xl: var(--self--xl);
|
|
19
21
|
--_flex-xl: var(--flex--xl);
|
|
22
|
+
--_shrink-xl: var(--shrink--xl);
|
|
20
23
|
--_basis-xl: var(--basis--xl);
|
|
21
24
|
--_order-xl: var(--order--xl);
|
|
22
25
|
--_band-xl: var(--band--xl);
|
|
@@ -88,6 +91,7 @@
|
|
|
88
91
|
--_border-t-xl: var(--border-t--xl);
|
|
89
92
|
--_border-r-xl: var(--border-r--xl);
|
|
90
93
|
--_border-b-xl: var(--border-b--xl);
|
|
94
|
+
--_elevation-xl: var(--elevation--xl);
|
|
91
95
|
--_shadow-angle-xl: var(--shadow-angle--xl);
|
|
92
96
|
--_ring-xl: var(--ring--xl);
|
|
93
97
|
--_ring-color-xl: var(--ring-color--xl);
|
|
@@ -96,6 +100,11 @@
|
|
|
96
100
|
--_focus-ring-xl: var(--focus-ring--xl);
|
|
97
101
|
--_transition-duration-xl: var(--transition-duration--xl);
|
|
98
102
|
--_transition-delay-xl: var(--transition-delay--xl);
|
|
103
|
+
--_radius-xl: var(--radius--xl);
|
|
104
|
+
--_radius-t-xl: var(--radius-t--xl);
|
|
105
|
+
--_radius-b-xl: var(--radius-b--xl);
|
|
106
|
+
--_radius-l-xl: var(--radius-l--xl);
|
|
107
|
+
--_radius-r-xl: var(--radius-r--xl);
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
}
|
|
@@ -85,9 +85,6 @@
|
|
|
85
85
|
--_text-align: var(--text-align);
|
|
86
86
|
text-align: var(--_text-align-resolved);
|
|
87
87
|
}
|
|
88
|
-
:where(:is([style*="--text-align:"], [style*="--text-align--"], [style*="--group-text-align--"]):not(ui-accordion, ui-autocomplete, ui-button-group, ui-carousel, ui-combobox, ui-command, ui-kbd-group, ui-layout, ui-lightbox, ui-menu, ui-multiselect, ui-otp, ui-password, ui-tabs, ui-toaster, ui-toggle-group, ui-tooltip, [data-ui~="accordion"], [data-ui~="alert-dialog"], [data-ui~="autocomplete"], [data-ui~="badge"], [data-ui~="button"], [data-ui~="button-group"], [data-ui~="callout"], [data-ui~="card"], [data-ui~="carousel"], [data-ui~="combobox"], [data-ui~="command"], [data-ui~="dialog"], [data-ui~="field"], [data-ui~="field-group"], [data-ui~="input"], [data-ui~="input-group"], [data-ui~="kbd-group"], [data-ui~="layout"], [data-ui~="lightbox"], [data-ui~="menu"], [data-ui~="meter"], [data-ui~="mobile-menu"], [data-ui~="multiselect"], [data-ui~="navigation-menu"], [data-ui~="otp"], [data-ui~="password-group"], [data-ui~="progress"], [data-ui~="radio"], [data-ui~="radio-group"], [data-ui~="scroll-fade"], [data-ui~="select"], [data-ui~="separator"], [data-ui~="table"], [data-ui~="tabs"], [data-ui~="textarea"], [data-ui~="toaster"], [data-ui~="toggle"], [data-ui~="toggle-group"], [data-ui~="tooltip"])) {
|
|
89
|
-
text-align: var(--_text-align-resolved, start);
|
|
90
|
-
}
|
|
91
88
|
|
|
92
89
|
:where([style*="--text-transform:"], [style*="--text-transform--"]) {
|
|
93
90
|
--_text-transform-resolved: var(--_text-transform-2xl, var(--_text-transform-xl, var(--_text-transform-lg, var(--_text-transform-md, var(--_text-transform-sm, var(--_text-transform))))));
|
|
@@ -104,9 +101,6 @@
|
|
|
104
101
|
--_text-wrap: var(--text-wrap);
|
|
105
102
|
text-wrap: var(--_text-wrap-resolved);
|
|
106
103
|
}
|
|
107
|
-
:where(:is([style*="--text-wrap:"], [style*="--text-wrap--"], [style*="--group-text-wrap--"]):not(ui-accordion, ui-autocomplete, ui-button-group, ui-carousel, ui-combobox, ui-command, ui-kbd-group, ui-layout, ui-lightbox, ui-menu, ui-multiselect, ui-otp, ui-password, ui-tabs, ui-toaster, ui-toggle-group, ui-tooltip, [data-ui~="accordion"], [data-ui~="alert-dialog"], [data-ui~="autocomplete"], [data-ui~="badge"], [data-ui~="button"], [data-ui~="button-group"], [data-ui~="callout"], [data-ui~="card"], [data-ui~="carousel"], [data-ui~="combobox"], [data-ui~="command"], [data-ui~="dialog"], [data-ui~="field"], [data-ui~="field-group"], [data-ui~="input"], [data-ui~="input-group"], [data-ui~="kbd-group"], [data-ui~="layout"], [data-ui~="lightbox"], [data-ui~="menu"], [data-ui~="meter"], [data-ui~="mobile-menu"], [data-ui~="multiselect"], [data-ui~="navigation-menu"], [data-ui~="otp"], [data-ui~="password-group"], [data-ui~="progress"], [data-ui~="radio"], [data-ui~="radio-group"], [data-ui~="scroll-fade"], [data-ui~="select"], [data-ui~="separator"], [data-ui~="table"], [data-ui~="tabs"], [data-ui~="textarea"], [data-ui~="toaster"], [data-ui~="toggle"], [data-ui~="toggle-group"], [data-ui~="tooltip"])) {
|
|
108
|
-
text-wrap: var(--_text-wrap-resolved, wrap);
|
|
109
|
-
}
|
|
110
104
|
|
|
111
105
|
:where([style*="--line-clamp:"], [style*="--line-clamp--"]) {
|
|
112
106
|
--_line-clamp-resolved: var(--_line-clamp-2xl, var(--_line-clamp-xl, var(--_line-clamp-lg, var(--_line-clamp-md, var(--_line-clamp-sm, var(--_line-clamp))))));
|
|
@@ -126,9 +120,6 @@
|
|
|
126
120
|
--_text-decoration: var(--text-decoration);
|
|
127
121
|
text-decoration-line: var(--_text-decoration-resolved);
|
|
128
122
|
}
|
|
129
|
-
:where(:is([style*="--text-decoration:"], [style*="--text-decoration--"], [style*="--group-text-decoration--"]):not(ui-accordion, ui-autocomplete, ui-button-group, ui-carousel, ui-combobox, ui-command, ui-kbd-group, ui-layout, ui-lightbox, ui-menu, ui-multiselect, ui-otp, ui-password, ui-tabs, ui-toaster, ui-toggle-group, ui-tooltip, [data-ui~="accordion"], [data-ui~="alert-dialog"], [data-ui~="autocomplete"], [data-ui~="badge"], [data-ui~="button"], [data-ui~="button-group"], [data-ui~="callout"], [data-ui~="card"], [data-ui~="carousel"], [data-ui~="combobox"], [data-ui~="command"], [data-ui~="dialog"], [data-ui~="field"], [data-ui~="field-group"], [data-ui~="input"], [data-ui~="input-group"], [data-ui~="kbd-group"], [data-ui~="layout"], [data-ui~="lightbox"], [data-ui~="menu"], [data-ui~="meter"], [data-ui~="mobile-menu"], [data-ui~="multiselect"], [data-ui~="navigation-menu"], [data-ui~="otp"], [data-ui~="password-group"], [data-ui~="progress"], [data-ui~="radio"], [data-ui~="radio-group"], [data-ui~="scroll-fade"], [data-ui~="select"], [data-ui~="separator"], [data-ui~="table"], [data-ui~="tabs"], [data-ui~="textarea"], [data-ui~="toaster"], [data-ui~="toggle"], [data-ui~="toggle-group"], [data-ui~="tooltip"])) {
|
|
130
|
-
text-decoration-line: var(--_text-decoration-resolved, none);
|
|
131
|
-
}
|
|
132
123
|
|
|
133
124
|
:where([style*="--whitespace:"], [style*="--whitespace--"]) {
|
|
134
125
|
--_whitespace-resolved: var(--_whitespace-2xl, var(--_whitespace-xl, var(--_whitespace-lg, var(--_whitespace-md, var(--_whitespace-sm, var(--_whitespace))))));
|
|
@@ -138,4 +129,5 @@
|
|
|
138
129
|
white-space: var(--_whitespace-resolved);
|
|
139
130
|
}
|
|
140
131
|
|
|
132
|
+
|
|
141
133
|
}
|
package/src/base/_variables.css
CHANGED
|
@@ -84,6 +84,9 @@
|
|
|
84
84
|
--color-ring: var(--color-primary);
|
|
85
85
|
/* the shadow color every --shadow-* token is tinted with (alpha comes from the token) */
|
|
86
86
|
--color-shadow: var(--color-black);
|
|
87
|
+
/* the light direction every --shadow-* token is cast from (0deg down, clockwise);
|
|
88
|
+
--shadow-angle turns it for an element and its subtree */
|
|
89
|
+
--default-shadow-angle: 0deg;
|
|
87
90
|
|
|
88
91
|
/* status */
|
|
89
92
|
--color-info: light-dark(oklch(0.5876 0.1389 241.97), oklch(0.5 0.1193 242.75));
|
|
@@ -258,8 +261,8 @@
|
|
|
258
261
|
--font-weight-eyebrow: 600;
|
|
259
262
|
|
|
260
263
|
/* letter-spacing */
|
|
261
|
-
--tracking-display: -0.
|
|
262
|
-
--tracking-h1: -0.
|
|
264
|
+
--tracking-display: -0.025em;
|
|
265
|
+
--tracking-h1: -0.025em;
|
|
263
266
|
--tracking-h2: -0.025em;
|
|
264
267
|
--tracking-h3: -0.025em;
|
|
265
268
|
--tracking-h4: -0.015em;
|
|
@@ -554,86 +557,3 @@
|
|
|
554
557
|
color: var(--color-foreground);
|
|
555
558
|
}
|
|
556
559
|
}
|
|
557
|
-
|
|
558
|
-
/* Shadows: here, not in the :root block above, so the same rule re-declares
|
|
559
|
-
them wherever a --shadow-hue or --shadow-angle style utility is set. A
|
|
560
|
-
token's var() resolves where it is declared, so the element and its subtree
|
|
561
|
-
get shadows tinted with that hue and cast at that angle (0deg down,
|
|
562
|
-
clockwise): a --shadow keyword, var(--shadow-md), and any primitive's shadow.
|
|
563
|
-
--_shadow-x and -y are the cast direction, one pixel long. */
|
|
564
|
-
@layer variables {
|
|
565
|
-
:root,
|
|
566
|
-
:where([style*="--shadow-hue:"], [style*="--shadow-angle"]) {
|
|
567
|
-
--_shadow-x: calc(-1px * sin(var(--_shadow-angle-resolved, 0deg)));
|
|
568
|
-
--_shadow-y: calc(1px * cos(var(--_shadow-angle-resolved, 0deg)));
|
|
569
|
-
--shadow-2xs:
|
|
570
|
-
calc(1 * var(--_shadow-x)) calc(1 * var(--_shadow-y)) 1px 0
|
|
571
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
572
|
-
0 0 1px 0 oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.05);
|
|
573
|
-
--shadow-xs:
|
|
574
|
-
calc(8 * var(--_shadow-x)) calc(8 * var(--_shadow-y)) 2px 0
|
|
575
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
576
|
-
calc(5 * var(--_shadow-x)) calc(5 * var(--_shadow-y)) 2px 0
|
|
577
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
578
|
-
calc(3 * var(--_shadow-x)) calc(3 * var(--_shadow-y)) 2px 0
|
|
579
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.03),
|
|
580
|
-
calc(1 * var(--_shadow-x)) calc(1 * var(--_shadow-y)) 1px 0
|
|
581
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
582
|
-
0 0 1px 0 oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.05);
|
|
583
|
-
--shadow-sm:
|
|
584
|
-
calc(25 * var(--_shadow-x)) calc(25 * var(--_shadow-y)) 7px 0
|
|
585
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
586
|
-
calc(16 * var(--_shadow-x)) calc(16 * var(--_shadow-y)) 6px 0
|
|
587
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
588
|
-
calc(9 * var(--_shadow-x)) calc(9 * var(--_shadow-y)) 5px 0
|
|
589
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.03),
|
|
590
|
-
calc(4 * var(--_shadow-x)) calc(4 * var(--_shadow-y)) 4px 0
|
|
591
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
592
|
-
calc(1 * var(--_shadow-x)) calc(1 * var(--_shadow-y)) 2px 0
|
|
593
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.05);
|
|
594
|
-
--shadow-md:
|
|
595
|
-
calc(66 * var(--_shadow-x)) calc(66 * var(--_shadow-y)) 18px 0
|
|
596
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
597
|
-
calc(42 * var(--_shadow-x)) calc(42 * var(--_shadow-y)) 17px 0
|
|
598
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
599
|
-
calc(24 * var(--_shadow-x)) calc(24 * var(--_shadow-y)) 14px 0
|
|
600
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.03),
|
|
601
|
-
calc(11 * var(--_shadow-x)) calc(11 * var(--_shadow-y)) 11px 0
|
|
602
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
603
|
-
calc(3 * var(--_shadow-x)) calc(3 * var(--_shadow-y)) 6px 0
|
|
604
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.05);
|
|
605
|
-
--shadow-lg:
|
|
606
|
-
calc(247 * var(--_shadow-x)) calc(247 * var(--_shadow-y)) 69px 0
|
|
607
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
608
|
-
calc(158 * var(--_shadow-x)) calc(158 * var(--_shadow-y)) 63px 0
|
|
609
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
610
|
-
calc(89 * var(--_shadow-x)) calc(89 * var(--_shadow-y)) 53px 0
|
|
611
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.03),
|
|
612
|
-
calc(39 * var(--_shadow-x)) calc(39 * var(--_shadow-y)) 39px 0
|
|
613
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.05),
|
|
614
|
-
calc(10 * var(--_shadow-x)) calc(10 * var(--_shadow-y)) 22px 0
|
|
615
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.06);
|
|
616
|
-
--shadow-xl:
|
|
617
|
-
calc(370 * var(--_shadow-x)) calc(370 * var(--_shadow-y)) 104px 0
|
|
618
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
619
|
-
calc(237 * var(--_shadow-x)) calc(237 * var(--_shadow-y)) 95px 0
|
|
620
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
621
|
-
calc(133 * var(--_shadow-x)) calc(133 * var(--_shadow-y)) 80px 0
|
|
622
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
623
|
-
calc(59 * var(--_shadow-x)) calc(59 * var(--_shadow-y)) 59px 0
|
|
624
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.06),
|
|
625
|
-
calc(15 * var(--_shadow-x)) calc(15 * var(--_shadow-y)) 33px 0
|
|
626
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.07);
|
|
627
|
-
--shadow-2xl:
|
|
628
|
-
calc(555 * var(--_shadow-x)) calc(555 * var(--_shadow-y)) 156px 0
|
|
629
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0),
|
|
630
|
-
calc(356 * var(--_shadow-x)) calc(356 * var(--_shadow-y)) 143px 0
|
|
631
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.01),
|
|
632
|
-
calc(200 * var(--_shadow-x)) calc(200 * var(--_shadow-y)) 120px 0
|
|
633
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.04),
|
|
634
|
-
calc(89 * var(--_shadow-x)) calc(89 * var(--_shadow-y)) 89px 0
|
|
635
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.06),
|
|
636
|
-
calc(23 * var(--_shadow-x)) calc(23 * var(--_shadow-y)) 50px 0
|
|
637
|
-
oklch(from var(--shadow-hue, var(--color-shadow)) l c h / 0.08);
|
|
638
|
-
}
|
|
639
|
-
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Every selector below, once (rule selectors without state pseudo-classes); the records index it. */
|
|
2
|
+
export declare const KIT_SELECTORS: readonly string[];
|
|
3
|
+
/** For each utility, the elements the kit reads it on through its own chain: a tier alone works there. */
|
|
4
|
+
export declare const TIER_READS: Readonly<Record<string, readonly number[]>>;
|
|
5
|
+
/**
|
|
6
|
+
* For each tier-only utility (a no-base one, or the box-shadow composite's),
|
|
7
|
+
* the elements the kit sets its property on above `@layer defaults`: they keep
|
|
8
|
+
* their own value, and a tier alone applies there only through `TIER_READS`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const TIER_BLOCKS: Readonly<Record<string, readonly number[]>>;
|
|
11
|
+
//# sourceMappingURL=kit-styling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kit-styling.d.ts","sourceRoot":"","sources":["kit-styling.ts"],"names":[],"mappings":"AAEA,sGAAsG;AACtG,eAAO,MAAM,aAAa,EAAE,SAAS,MAAM,EA6Q1C,CAAC;AAEF,0GAA0G;AAC1G,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAoDlE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA4KnE,CAAC"}
|