@zazz-ui/core 0.9.1 → 0.11.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.
Files changed (127) hide show
  1. package/AUTHORING.md +21 -16
  2. package/CHANGELOG.md +144 -0
  3. package/README.md +3 -3
  4. package/dist/sri.json +89 -88
  5. package/dist/zazz.css +1 -1
  6. package/editor/zazz.css-data.json +8370 -1264
  7. package/editor/zazz.html-data.json +31 -41
  8. package/editor/zazz.language-data.json +516 -247
  9. package/editor/zazz.lint-data.json +654 -619
  10. package/package.json +2 -3
  11. package/src/base/_defaults.css +59 -40
  12. package/src/base/_layers.css +5 -2
  13. package/src/base/_properties-2xl.css +10 -0
  14. package/src/base/_properties-active.css +8 -0
  15. package/src/base/_properties-checked.css +8 -0
  16. package/src/base/_properties-current.css +8 -0
  17. package/src/base/_properties-disabled.css +8 -0
  18. package/src/base/_properties-focus-visible.css +8 -0
  19. package/src/base/_properties-focus-within.css +8 -0
  20. package/src/base/_properties-hover.css +8 -0
  21. package/src/base/_properties-lg.css +10 -0
  22. package/src/base/_properties-md.css +10 -0
  23. package/src/base/_properties-open.css +8 -0
  24. package/src/base/_properties-sm.css +10 -0
  25. package/src/base/_properties-starting.css +4 -0
  26. package/src/base/_properties-stuck.css +4 -0
  27. package/src/base/_properties-xl.css +10 -0
  28. package/src/base/_properties.css +55 -15
  29. package/src/base/_reset.css +8 -4
  30. package/src/base/_typography.css +26 -9
  31. package/src/base/_utilities-box.css +63 -59
  32. package/src/base/_utilities-color.css +55 -8
  33. package/src/base/_utilities-effects.css +8 -0
  34. package/src/base/_utilities-flow.css +28 -5
  35. package/src/base/_utilities-pseudo.css +4 -0
  36. package/src/base/_utilities-spacing.css +8 -8
  37. package/src/base/_utilities-sr.css +98 -0
  38. package/src/base/_utilities-tier-2xl.css +5 -0
  39. package/src/base/_utilities-tier-active.css +5 -1
  40. package/src/base/_utilities-tier-checked.css +5 -1
  41. package/src/base/_utilities-tier-current.css +5 -1
  42. package/src/base/_utilities-tier-disabled.css +5 -1
  43. package/src/base/_utilities-tier-focus-visible.css +5 -1
  44. package/src/base/_utilities-tier-focus-within.css +5 -1
  45. package/src/base/_utilities-tier-hover.css +5 -1
  46. package/src/base/_utilities-tier-lg.css +5 -0
  47. package/src/base/_utilities-tier-md.css +5 -0
  48. package/src/base/_utilities-tier-open.css +5 -1
  49. package/src/base/_utilities-tier-sm.css +5 -0
  50. package/src/base/_utilities-tier-starting.css +2 -0
  51. package/src/base/_utilities-tier-stuck.css +3 -0
  52. package/src/base/_utilities-tier-xl.css +5 -0
  53. package/src/base/_utilities-typography.css +263 -3
  54. package/src/base/_variables.css +151 -60
  55. package/src/base/kit-styling.d.ts.map +1 -1
  56. package/src/base/kit-styling.js +134 -128
  57. package/src/base/kit-styling.ts +134 -128
  58. package/src/base/utilities.d.ts +23 -8
  59. package/src/base/utilities.d.ts.map +1 -1
  60. package/src/base/utilities.js +78 -3
  61. package/src/base/utilities.ts +95 -11
  62. package/src/head.d.ts.map +1 -1
  63. package/src/head.js +4 -5
  64. package/src/head.ts +4 -5
  65. package/src/index.css +3 -2
  66. package/src/manifest.d.ts.map +1 -1
  67. package/src/manifest.js +13 -3
  68. package/src/manifest.ts +13 -3
  69. package/src/primitives/accordion/accordion.css +3 -0
  70. package/src/primitives/alert-dialog/alert-dialog.css +1 -1
  71. package/src/primitives/alert-dialog/alert-dialog.html +14 -14
  72. package/src/primitives/autocomplete/autocomplete.css +4 -2
  73. package/src/primitives/avatar/avatar.html +4 -6
  74. package/src/primitives/badge/badge.css +77 -56
  75. package/src/primitives/breadcrumbs/breadcrumbs.html +1 -7
  76. package/src/primitives/button/button.css +75 -60
  77. package/src/primitives/button-group/button-group.css +4 -0
  78. package/src/primitives/callout/callout.css +22 -43
  79. package/src/primitives/card/card-subgrid.html +2 -3
  80. package/src/primitives/card/card.css +4 -0
  81. package/src/primitives/card/card.html +2 -3
  82. package/src/primitives/checkbox/checkbox.css +13 -0
  83. package/src/primitives/combobox/combobox.css +25 -2
  84. package/src/primitives/command/command-actions.d.ts.map +1 -1
  85. package/src/primitives/command/command-actions.js +4 -9
  86. package/src/primitives/command/command-actions.ts +4 -9
  87. package/src/primitives/command/command-dialog.html +109 -107
  88. package/src/primitives/command/command.css +16 -8
  89. package/src/primitives/debug/audit-core.d.ts +1 -1
  90. package/src/primitives/debug/audit-core.d.ts.map +1 -1
  91. package/src/primitives/debug/audit-core.js +30 -3
  92. package/src/primitives/debug/audit-core.ts +40 -2
  93. package/src/primitives/dialog/dialog-with-form.html +1 -1
  94. package/src/primitives/dialog/dialog.css +111 -44
  95. package/src/primitives/fields/fields.css +11 -5
  96. package/src/primitives/group/group.css +18 -0
  97. package/src/primitives/group/group.html +26 -0
  98. package/src/primitives/input/input.css +16 -9
  99. package/src/primitives/input-group/input-group-password-group.html +1 -1
  100. package/src/primitives/input-group/input-group.css +19 -11
  101. package/src/primitives/kbd/kbd.css +4 -0
  102. package/src/primitives/lightbox/lightbox.css +17 -4
  103. package/src/primitives/lightbox/lightbox.html +2 -1
  104. package/src/primitives/menu/menu.css +3 -1
  105. package/src/primitives/meter/meter.css +10 -3
  106. package/src/primitives/mobile-menu/mobile-menu.css +17 -16
  107. package/src/primitives/mobile-menu/mobile-menu.html +4 -4
  108. package/src/primitives/navigation-menu/navigation-menu.css +8 -3
  109. package/src/primitives/navigation-menu/navigation-menu.html +2 -2
  110. package/src/primitives/otp/otp.css +7 -2
  111. package/src/primitives/password-group/password-group.css +20 -12
  112. package/src/primitives/password-group/password-group.html +1 -1
  113. package/src/primitives/popover/popover.css +29 -10
  114. package/src/primitives/progress/progress.css +5 -0
  115. package/src/primitives/radio/radio.css +15 -2
  116. package/src/primitives/scroll-fade/scroll-fade.css +1 -1
  117. package/src/primitives/select/select.css +42 -21
  118. package/src/primitives/slider/slider.css +11 -0
  119. package/src/primitives/switch/switch.css +67 -20
  120. package/src/primitives/tabs/tabs.css +20 -1
  121. package/src/primitives/textarea/textarea.css +19 -10
  122. package/src/primitives/toaster/toaster.css +8 -4
  123. package/src/primitives/toggle/toggle.css +37 -9
  124. package/src/primitives/toggle-group/toggle-group.css +4 -0
  125. package/src/primitives/tooltip/tooltip.css +44 -25
  126. package/src/primitives/utilities/pile.html +2 -3
  127. package/src/base/_switches.css +0 -148
@@ -10,6 +10,7 @@
10
10
  --_template-rows-open: var(--template-rows--open);
11
11
  --_space-x-open: var(--space-x--open);
12
12
  --_space-y-open: var(--space-y--open);
13
+ --_text-wrap-open: var(--text-wrap--open);
13
14
  --_text-decoration-open: var(--text-decoration--open);
14
15
  --_text-open: var(--text--open);
15
16
  --_bg-open: var(--bg--open);
@@ -38,13 +39,14 @@
38
39
  --_scale-open: var(--scale--open);
39
40
  --_translate-open: var(--translate--open);
40
41
  --_rotate-open: var(--rotate--open);
42
+ --_animation-open: var(--animation--open);
41
43
  --_transition-open: var(--transition--open);
42
44
  --_transition-duration-open: var(--transition-duration--open);
43
45
  --_transition-delay-open: var(--transition-delay--open);
44
46
  --_radius-open: var(--radius--open);
45
47
  --_z-open: var(--z--open);
46
48
  }
47
- :where([data-ui~="group"]:is([open], :popover-open, [aria-expanded="true"]) [style*="--group-"]) {
49
+ :where(:where(ui-group, [data-ui~="group"]):is([open], :popover-open, [aria-expanded="true"]) [style*="--group-"]) {
48
50
  --_anchor-name-g-open: var(--group-anchor-name--open);
49
51
  --_position-anchor-g-open: var(--group-position-anchor--open);
50
52
  --_position-area-g-open: var(--group-position-area--open);
@@ -52,6 +54,7 @@
52
54
  --_template-rows-g-open: var(--group-template-rows--open);
53
55
  --_space-x-g-open: var(--group-space-x--open);
54
56
  --_space-y-g-open: var(--group-space-y--open);
57
+ --_text-wrap-g-open: var(--group-text-wrap--open);
55
58
  --_text-decoration-g-open: var(--group-text-decoration--open);
56
59
  --_text-g-open: var(--group-text--open);
57
60
  --_bg-g-open: var(--group-bg--open);
@@ -80,6 +83,7 @@
80
83
  --_scale-g-open: var(--group-scale--open);
81
84
  --_translate-g-open: var(--group-translate--open);
82
85
  --_rotate-g-open: var(--group-rotate--open);
86
+ --_animation-g-open: var(--group-animation--open);
83
87
  --_transition-g-open: var(--group-transition--open);
84
88
  --_transition-duration-g-open: var(--group-transition-duration--open);
85
89
  --_transition-delay-g-open: var(--group-transition-delay--open);
@@ -83,6 +83,9 @@
83
83
  --_text-sm: var(--text--sm);
84
84
  --_bg-sm: var(--bg--sm);
85
85
  --_bg-alpha-sm: var(--bg-alpha--sm);
86
+ --_divide-sm: var(--divide--sm);
87
+ --_divide-x-sm: var(--divide-x--sm);
88
+ --_divide-y-sm: var(--divide-y--sm);
86
89
  --_border-color-sm: var(--border-color--sm);
87
90
  --_border-width-sm: var(--border-width--sm);
88
91
  --_border-style-sm: var(--border-style--sm);
@@ -100,6 +103,7 @@
100
103
  --_ring-offset-sm: var(--ring-offset--sm);
101
104
  --_ring-offset-color-sm: var(--ring-offset-color--sm);
102
105
  --_focus-ring-sm: var(--focus-ring--sm);
106
+ --_animation-sm: var(--animation--sm);
103
107
  --_transition-duration-sm: var(--transition-duration--sm);
104
108
  --_transition-delay-sm: var(--transition-delay--sm);
105
109
  --_radius-sm: var(--radius--sm);
@@ -107,6 +111,7 @@
107
111
  --_radius-b-sm: var(--radius-b--sm);
108
112
  --_radius-l-sm: var(--radius-l--sm);
109
113
  --_radius-r-sm: var(--radius-r--sm);
114
+ --_isolation-sm: var(--isolation--sm);
110
115
  }
111
116
  }
112
117
  }
@@ -11,6 +11,7 @@
11
11
  --_template-rows-starting: var(--template-rows--starting);
12
12
  --_space-x-starting: var(--space-x--starting);
13
13
  --_space-y-starting: var(--space-y--starting);
14
+ --_text-wrap-starting: var(--text-wrap--starting);
14
15
  --_text-decoration-starting: var(--text-decoration--starting);
15
16
  --_text-starting: var(--text--starting);
16
17
  --_bg-starting: var(--bg--starting);
@@ -39,6 +40,7 @@
39
40
  --_scale-starting: var(--scale--starting);
40
41
  --_translate-starting: var(--translate--starting);
41
42
  --_rotate-starting: var(--rotate--starting);
43
+ --_animation-starting: var(--animation--starting);
42
44
  --_transition-starting: var(--transition--starting);
43
45
  --_transition-duration-starting: var(--transition-duration--starting);
44
46
  --_transition-delay-starting: var(--transition-delay--starting);
@@ -5,6 +5,7 @@
5
5
  @supports (container-type: scroll-state) {
6
6
  :where([style*=": sticky"], [style*="--stuck-state:"]) {
7
7
  container-type: scroll-state;
8
+ --_stuck-type: scroll-state;
8
9
  --_stuck-side: var(--stuck-state, top);
9
10
  }
10
11
  :where(ui-layout > *, [data-ui~="layout"] > *):where([style*=": sticky"], [style*="--stuck-state:"]) {
@@ -91,6 +92,7 @@
91
92
  --_template-rows-stuck: var(--_stuck-on) var(--template-rows--stuck);
92
93
  --_space-x-stuck: var(--_stuck-on) var(--space-x--stuck);
93
94
  --_space-y-stuck: var(--_stuck-on) var(--space-y--stuck);
95
+ --_text-wrap-stuck: var(--_stuck-on) var(--text-wrap--stuck);
94
96
  --_text-decoration-stuck: var(--_stuck-on) var(--text-decoration--stuck);
95
97
  --_text-stuck: var(--_stuck-on) var(--text--stuck);
96
98
  --_bg-stuck: var(--_stuck-on) var(--bg--stuck);
@@ -119,6 +121,7 @@
119
121
  --_scale-stuck: var(--_stuck-on) var(--scale--stuck);
120
122
  --_translate-stuck: var(--_stuck-on) var(--translate--stuck);
121
123
  --_rotate-stuck: var(--_stuck-on) var(--rotate--stuck);
124
+ --_animation-stuck: var(--_stuck-on) var(--animation--stuck);
122
125
  --_transition-stuck: var(--_stuck-on) var(--transition--stuck);
123
126
  --_transition-duration-stuck: var(--_stuck-on) var(--transition-duration--stuck);
124
127
  --_transition-delay-stuck: var(--_stuck-on) var(--transition-delay--stuck);
@@ -83,6 +83,9 @@
83
83
  --_text-xl: var(--text--xl);
84
84
  --_bg-xl: var(--bg--xl);
85
85
  --_bg-alpha-xl: var(--bg-alpha--xl);
86
+ --_divide-xl: var(--divide--xl);
87
+ --_divide-x-xl: var(--divide-x--xl);
88
+ --_divide-y-xl: var(--divide-y--xl);
86
89
  --_border-color-xl: var(--border-color--xl);
87
90
  --_border-width-xl: var(--border-width--xl);
88
91
  --_border-style-xl: var(--border-style--xl);
@@ -100,6 +103,7 @@
100
103
  --_ring-offset-xl: var(--ring-offset--xl);
101
104
  --_ring-offset-color-xl: var(--ring-offset-color--xl);
102
105
  --_focus-ring-xl: var(--focus-ring--xl);
106
+ --_animation-xl: var(--animation--xl);
103
107
  --_transition-duration-xl: var(--transition-duration--xl);
104
108
  --_transition-delay-xl: var(--transition-delay--xl);
105
109
  --_radius-xl: var(--radius--xl);
@@ -107,6 +111,7 @@
107
111
  --_radius-b-xl: var(--radius-b--xl);
108
112
  --_radius-l-xl: var(--radius-l--xl);
109
113
  --_radius-r-xl: var(--radius-r--xl);
114
+ --_isolation-xl: var(--isolation--xl);
110
115
  }
111
116
  }
112
117
  }
@@ -94,12 +94,272 @@
94
94
  text-transform: var(--_text-transform-resolved);
95
95
  }
96
96
 
97
- :where([style*="--text-wrap:"], [style*="--text-wrap--"]) {
98
- --_text-wrap-resolved: var(--_text-wrap-2xl, var(--_text-wrap-xl, var(--_text-wrap-lg, var(--_text-wrap-md, var(--_text-wrap-sm, var(--_text-wrap))))));
97
+ :where([style*="--text-wrap:"], [style*="--text-wrap--"], [style*="--group-text-wrap--"]) {
98
+ --_text-wrap-resolved: var(--_text-wrap-starting, var(--_text-wrap-disabled, var(--_text-wrap-active, var(--_text-wrap-focus-visible, var(--_text-wrap-focus-within, var(--_text-wrap-hover, var(--_text-wrap-checked, var(--_text-wrap-current, var(--_text-wrap-open, var(--_text-wrap-g-disabled, var(--_text-wrap-g-active, var(--_text-wrap-g-focus-visible, var(--_text-wrap-g-focus-within, var(--_text-wrap-g-hover, var(--_text-wrap-g-checked, var(--_text-wrap-g-current, var(--_text-wrap-g-open, var(--_text-wrap-stuck, var(--_text-wrap-2xl, var(--_text-wrap-xl, var(--_text-wrap-lg, var(--_text-wrap-md, var(--_text-wrap-sm, var(--_text-wrap))))))))))))))))))))))));
99
+ --_text-wrap-a: var(--_text-wrap-resolved, wrap);
100
+ --_text-wrap-b: var(--_text-wrap-a);
99
101
  }
100
102
  :where([style*="--text-wrap:"]) {
101
103
  --_text-wrap: var(--text-wrap);
102
- text-wrap: var(--_text-wrap-resolved);
104
+ text-wrap: var(--_text-wrap-b);
105
+ }
106
+ :where([style*="--text-wrap--stuck: truncate"]) {
107
+ --_text-wrap-stuck: var(--_stuck-on) truncate;
108
+ --_text-wrap-stuck-clip: var(--_stuck-on) hidden;
109
+ --_text-wrap-stuck-end: var(--_stuck-on) ellipsis;
110
+ overflow: var(--_text-wrap-stuck-clip, revert-layer);
111
+ text-overflow: var(--_text-wrap-stuck-end, revert-layer);
112
+ }
113
+ :where([style*="--text-wrap: truncate"]) {
114
+ --_text-wrap: truncate;
115
+ text-wrap: var(--_text-wrap-b);
116
+ overflow: hidden;
117
+ text-overflow: ellipsis;
118
+ }
119
+ @container (width >= 40rem) {
120
+ :where([style*="--text-wrap--sm:"]) {
121
+ --_text-wrap-sm: var(--text-wrap--sm, wrap);
122
+ overflow: revert-layer;
123
+ text-overflow: revert-layer;
124
+ }
125
+ :where([style*="--text-wrap--sm: truncate"]) {
126
+ --_text-wrap-sm: truncate;
127
+ text-wrap: var(--_text-wrap-b);
128
+ overflow: hidden;
129
+ text-overflow: ellipsis;
130
+ }
131
+ }
132
+ @container (width >= 48rem) {
133
+ :where([style*="--text-wrap--md:"]) {
134
+ --_text-wrap-md: var(--text-wrap--md, wrap);
135
+ overflow: revert-layer;
136
+ text-overflow: revert-layer;
137
+ }
138
+ :where([style*="--text-wrap--md: truncate"]) {
139
+ --_text-wrap-md: truncate;
140
+ text-wrap: var(--_text-wrap-b);
141
+ overflow: hidden;
142
+ text-overflow: ellipsis;
143
+ }
144
+ }
145
+ @container (width >= 64rem) {
146
+ :where([style*="--text-wrap--lg:"]) {
147
+ --_text-wrap-lg: var(--text-wrap--lg, wrap);
148
+ overflow: revert-layer;
149
+ text-overflow: revert-layer;
150
+ }
151
+ :where([style*="--text-wrap--lg: truncate"]) {
152
+ --_text-wrap-lg: truncate;
153
+ text-wrap: var(--_text-wrap-b);
154
+ overflow: hidden;
155
+ text-overflow: ellipsis;
156
+ }
157
+ }
158
+ @container (width >= 80rem) {
159
+ :where([style*="--text-wrap--xl:"]) {
160
+ --_text-wrap-xl: var(--text-wrap--xl, wrap);
161
+ overflow: revert-layer;
162
+ text-overflow: revert-layer;
163
+ }
164
+ :where([style*="--text-wrap--xl: truncate"]) {
165
+ --_text-wrap-xl: truncate;
166
+ text-wrap: var(--_text-wrap-b);
167
+ overflow: hidden;
168
+ text-overflow: ellipsis;
169
+ }
170
+ }
171
+ @container (width >= 96rem) {
172
+ :where([style*="--text-wrap--2xl:"]) {
173
+ --_text-wrap-2xl: var(--text-wrap--2xl, wrap);
174
+ overflow: revert-layer;
175
+ text-overflow: revert-layer;
176
+ }
177
+ :where([style*="--text-wrap--2xl: truncate"]) {
178
+ --_text-wrap-2xl: truncate;
179
+ text-wrap: var(--_text-wrap-b);
180
+ overflow: hidden;
181
+ text-overflow: ellipsis;
182
+ }
183
+ }
184
+ :where(:where(ui-group, [data-ui~="group"]):is([open], :popover-open, [aria-expanded="true"]) [style*="--group-text-wrap--open:"]) {
185
+ --_text-wrap-g-open: var(--group-text-wrap--open, wrap);
186
+ overflow: revert-layer;
187
+ text-overflow: revert-layer;
188
+ }
189
+ :where(:where(ui-group, [data-ui~="group"]):is([open], :popover-open, [aria-expanded="true"]) [style*="--group-text-wrap--open: truncate"]) {
190
+ --_text-wrap-g-open: truncate;
191
+ text-wrap: var(--_text-wrap-b);
192
+ overflow: hidden;
193
+ text-overflow: ellipsis;
194
+ }
195
+ :where(:where(ui-group, [data-ui~="group"]):is([aria-current]:not([aria-current="false"])) [style*="--group-text-wrap--current:"]) {
196
+ --_text-wrap-g-current: var(--group-text-wrap--current, wrap);
197
+ overflow: revert-layer;
198
+ text-overflow: revert-layer;
199
+ }
200
+ :where(:where(ui-group, [data-ui~="group"]):is([aria-current]:not([aria-current="false"])) [style*="--group-text-wrap--current: truncate"]) {
201
+ --_text-wrap-g-current: truncate;
202
+ text-wrap: var(--_text-wrap-b);
203
+ overflow: hidden;
204
+ text-overflow: ellipsis;
205
+ }
206
+ :where(:where(ui-group, [data-ui~="group"]):is(:checked, [aria-checked="true"]) [style*="--group-text-wrap--checked:"]) {
207
+ --_text-wrap-g-checked: var(--group-text-wrap--checked, wrap);
208
+ overflow: revert-layer;
209
+ text-overflow: revert-layer;
210
+ }
211
+ :where(:where(ui-group, [data-ui~="group"]):is(:checked, [aria-checked="true"]) [style*="--group-text-wrap--checked: truncate"]) {
212
+ --_text-wrap-g-checked: truncate;
213
+ text-wrap: var(--_text-wrap-b);
214
+ overflow: hidden;
215
+ text-overflow: ellipsis;
216
+ }
217
+ @media (hover: hover) {
218
+ :where(:where(ui-group, [data-ui~="group"]):hover [style*="--group-text-wrap--hover:"]) {
219
+ --_text-wrap-g-hover: var(--group-text-wrap--hover, wrap);
220
+ overflow: revert-layer;
221
+ text-overflow: revert-layer;
222
+ }
223
+ :where(:where(ui-group, [data-ui~="group"]):hover [style*="--group-text-wrap--hover: truncate"]) {
224
+ --_text-wrap-g-hover: truncate;
225
+ text-wrap: var(--_text-wrap-b);
226
+ overflow: hidden;
227
+ text-overflow: ellipsis;
228
+ }
229
+ }
230
+ :where(:where(ui-group, [data-ui~="group"]):focus-within [style*="--group-text-wrap--focus-within:"]) {
231
+ --_text-wrap-g-focus-within: var(--group-text-wrap--focus-within, wrap);
232
+ overflow: revert-layer;
233
+ text-overflow: revert-layer;
234
+ }
235
+ :where(:where(ui-group, [data-ui~="group"]):focus-within [style*="--group-text-wrap--focus-within: truncate"]) {
236
+ --_text-wrap-g-focus-within: truncate;
237
+ text-wrap: var(--_text-wrap-b);
238
+ overflow: hidden;
239
+ text-overflow: ellipsis;
240
+ }
241
+ :where(:where(ui-group, [data-ui~="group"]):focus-visible [style*="--group-text-wrap--focus-visible:"]) {
242
+ --_text-wrap-g-focus-visible: var(--group-text-wrap--focus-visible, wrap);
243
+ overflow: revert-layer;
244
+ text-overflow: revert-layer;
245
+ }
246
+ :where(:where(ui-group, [data-ui~="group"]):focus-visible [style*="--group-text-wrap--focus-visible: truncate"]) {
247
+ --_text-wrap-g-focus-visible: truncate;
248
+ text-wrap: var(--_text-wrap-b);
249
+ overflow: hidden;
250
+ text-overflow: ellipsis;
251
+ }
252
+ :where(:where(ui-group, [data-ui~="group"]):active [style*="--group-text-wrap--active:"]) {
253
+ --_text-wrap-g-active: var(--group-text-wrap--active, wrap);
254
+ overflow: revert-layer;
255
+ text-overflow: revert-layer;
256
+ }
257
+ :where(:where(ui-group, [data-ui~="group"]):active [style*="--group-text-wrap--active: truncate"]) {
258
+ --_text-wrap-g-active: truncate;
259
+ text-wrap: var(--_text-wrap-b);
260
+ overflow: hidden;
261
+ text-overflow: ellipsis;
262
+ }
263
+ :where(:where(ui-group, [data-ui~="group"]):is(:disabled, [aria-disabled="true"]) [style*="--group-text-wrap--disabled:"]) {
264
+ --_text-wrap-g-disabled: var(--group-text-wrap--disabled, wrap);
265
+ overflow: revert-layer;
266
+ text-overflow: revert-layer;
267
+ }
268
+ :where(:where(ui-group, [data-ui~="group"]):is(:disabled, [aria-disabled="true"]) [style*="--group-text-wrap--disabled: truncate"]) {
269
+ --_text-wrap-g-disabled: truncate;
270
+ text-wrap: var(--_text-wrap-b);
271
+ overflow: hidden;
272
+ text-overflow: ellipsis;
273
+ }
274
+ :where(:is([open], :popover-open, [aria-expanded="true"])[style*="--text-wrap--open:"]) {
275
+ --_text-wrap-open: var(--text-wrap--open, wrap);
276
+ overflow: revert-layer;
277
+ text-overflow: revert-layer;
278
+ }
279
+ :where(:is([open], :popover-open, [aria-expanded="true"])[style*="--text-wrap--open: truncate"]) {
280
+ --_text-wrap-open: truncate;
281
+ text-wrap: var(--_text-wrap-b);
282
+ overflow: hidden;
283
+ text-overflow: ellipsis;
284
+ }
285
+ :where(:is([aria-current]:not([aria-current="false"]))[style*="--text-wrap--current:"]) {
286
+ --_text-wrap-current: var(--text-wrap--current, wrap);
287
+ overflow: revert-layer;
288
+ text-overflow: revert-layer;
289
+ }
290
+ :where(:is([aria-current]:not([aria-current="false"]))[style*="--text-wrap--current: truncate"]) {
291
+ --_text-wrap-current: truncate;
292
+ text-wrap: var(--_text-wrap-b);
293
+ overflow: hidden;
294
+ text-overflow: ellipsis;
295
+ }
296
+ :where(:is(:checked, [aria-checked="true"])[style*="--text-wrap--checked:"]) {
297
+ --_text-wrap-checked: var(--text-wrap--checked, wrap);
298
+ overflow: revert-layer;
299
+ text-overflow: revert-layer;
300
+ }
301
+ :where(:is(:checked, [aria-checked="true"])[style*="--text-wrap--checked: truncate"]) {
302
+ --_text-wrap-checked: truncate;
303
+ text-wrap: var(--_text-wrap-b);
304
+ overflow: hidden;
305
+ text-overflow: ellipsis;
306
+ }
307
+ @media (hover: hover) {
308
+ :where(:hover[style*="--text-wrap--hover:"]) {
309
+ --_text-wrap-hover: var(--text-wrap--hover, wrap);
310
+ overflow: revert-layer;
311
+ text-overflow: revert-layer;
312
+ }
313
+ :where(:hover[style*="--text-wrap--hover: truncate"]) {
314
+ --_text-wrap-hover: truncate;
315
+ text-wrap: var(--_text-wrap-b);
316
+ overflow: hidden;
317
+ text-overflow: ellipsis;
318
+ }
319
+ }
320
+ :where(:focus-within[style*="--text-wrap--focus-within:"]) {
321
+ --_text-wrap-focus-within: var(--text-wrap--focus-within, wrap);
322
+ overflow: revert-layer;
323
+ text-overflow: revert-layer;
324
+ }
325
+ :where(:focus-within[style*="--text-wrap--focus-within: truncate"]) {
326
+ --_text-wrap-focus-within: truncate;
327
+ text-wrap: var(--_text-wrap-b);
328
+ overflow: hidden;
329
+ text-overflow: ellipsis;
330
+ }
331
+ :where(:focus-visible[style*="--text-wrap--focus-visible:"]) {
332
+ --_text-wrap-focus-visible: var(--text-wrap--focus-visible, wrap);
333
+ overflow: revert-layer;
334
+ text-overflow: revert-layer;
335
+ }
336
+ :where(:focus-visible[style*="--text-wrap--focus-visible: truncate"]) {
337
+ --_text-wrap-focus-visible: truncate;
338
+ text-wrap: var(--_text-wrap-b);
339
+ overflow: hidden;
340
+ text-overflow: ellipsis;
341
+ }
342
+ :where(:active[style*="--text-wrap--active:"]) {
343
+ --_text-wrap-active: var(--text-wrap--active, wrap);
344
+ overflow: revert-layer;
345
+ text-overflow: revert-layer;
346
+ }
347
+ :where(:active[style*="--text-wrap--active: truncate"]) {
348
+ --_text-wrap-active: truncate;
349
+ text-wrap: var(--_text-wrap-b);
350
+ overflow: hidden;
351
+ text-overflow: ellipsis;
352
+ }
353
+ :where(:is(:disabled, [aria-disabled="true"])[style*="--text-wrap--disabled:"]) {
354
+ --_text-wrap-disabled: var(--text-wrap--disabled, wrap);
355
+ overflow: revert-layer;
356
+ text-overflow: revert-layer;
357
+ }
358
+ :where(:is(:disabled, [aria-disabled="true"])[style*="--text-wrap--disabled: truncate"]) {
359
+ --_text-wrap-disabled: truncate;
360
+ text-wrap: var(--_text-wrap-b);
361
+ overflow: hidden;
362
+ text-overflow: ellipsis;
103
363
  }
104
364
 
105
365
  :where([style*="--line-clamp:"], [style*="--line-clamp--"]) {