@typlog/ui 0.10.0 → 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 (36) hide show
  1. package/dist/addons.css +113 -0
  2. package/dist/addons.d.ts +48 -0
  3. package/dist/addons.js +442 -0
  4. package/dist/components/accordion.css +149 -0
  5. package/dist/components/avatar.css +131 -0
  6. package/dist/components/badge.css +75 -0
  7. package/dist/{base.css → components/base.css} +726 -832
  8. package/dist/components/button.css +317 -0
  9. package/dist/components/card.css +86 -0
  10. package/dist/components/checkbox.css +90 -0
  11. package/dist/components/collapsible.css +27 -0
  12. package/dist/components/combobox.css +388 -0
  13. package/dist/components/dialog.css +488 -0
  14. package/dist/components/dropdown.css +204 -0
  15. package/dist/components/editable.css +34 -0
  16. package/dist/components/icon.css +109 -0
  17. package/dist/components/inputs.css +570 -0
  18. package/dist/components/inset.css +73 -0
  19. package/dist/components/pagination.css +299 -0
  20. package/dist/components/popover.css +69 -0
  21. package/dist/components/quota.css +14 -0
  22. package/dist/components/radio.css +211 -0
  23. package/dist/components/scrollarea.css +107 -0
  24. package/dist/components/select.css +308 -0
  25. package/dist/components/separator.css +26 -0
  26. package/dist/components/spinner.css +36 -0
  27. package/dist/components/switch.css +176 -0
  28. package/dist/components/table.css +198 -0
  29. package/dist/components/tabs.css +122 -0
  30. package/dist/components/toggle.css +188 -0
  31. package/dist/components/tooltip.css +37 -0
  32. package/dist/components.css +3548 -0
  33. package/dist/{index.d.ts → components.d.ts} +131 -107
  34. package/dist/{index.js → components.js} +323 -681
  35. package/package.json +28 -14
  36. package/dist/style.css +0 -10463
@@ -0,0 +1,317 @@
1
+
2
+ .ui-Button {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ flex-shrink: 0;
7
+ -webkit-user-select: none;
8
+ -moz-user-select: none;
9
+ user-select: none;
10
+ vertical-align: top;
11
+ font-style: normal;
12
+ font-weight: var(--button-font-weight);
13
+ text-align: center;
14
+ white-space: nowrap;
15
+ height: var(--button-height);
16
+ padding-left: var(--button-padding-x);
17
+ padding-right: var(--button-padding-x);
18
+ }
19
+ .ui-Button:where(.r-variant-ghost) {
20
+ --button-font-weight: var(--font-weight-regular);
21
+ }
22
+ .ui-Button:where(:not(.r-variant-ghost)) {
23
+ --button-font-weight: var(--font-weight-medium);
24
+ }
25
+ .ui-Button:where([data-disabled]) {
26
+ cursor: not-allowed;
27
+ }
28
+ .ui-Button:where(.r-size-1) {
29
+ gap: var(--space-1);
30
+ font-size: var(--font-size-1);
31
+ line-height: var(--line-height-1);
32
+ letter-spacing: var(--letter-spacing-1);
33
+ border-radius: max(var(--radius-1), var(--radius-full));
34
+ --button-height: var(--space-5);
35
+ --button-padding-x: var(--space-2);
36
+ }
37
+ .ui-Button:where(.r-size-1):where(.r-variant-ghost) {
38
+ --button-ghost-padding-y: var(--space-1);
39
+ }
40
+ .ui-Button:where(.r-size-2) {
41
+ gap: var(--space-2);
42
+ font-size: var(--font-size-2);
43
+ line-height: var(--line-height-2);
44
+ letter-spacing: var(--letter-spacing-2);
45
+ border-radius: max(var(--radius-2), var(--radius-full));
46
+ --button-height: var(--space-6);
47
+ --button-padding-x: var(--space-3);
48
+ }
49
+ .ui-Button:where(.r-size-2):where(.r-variant-ghost) {
50
+ gap: var(--space-1);
51
+ --button-padding-x: var(--space-2);
52
+ --button-ghost-padding-y: var(--space-1);
53
+ }
54
+ .ui-Button:where(.r-size-3) {
55
+ gap: var(--space-3);
56
+ font-size: var(--font-size-3);
57
+ line-height: var(--line-height-3);
58
+ letter-spacing: var(--letter-spacing-3);
59
+ border-radius: max(var(--radius-3), var(--radius-full));
60
+ --button-height: var(--space-7);
61
+ --button-padding-x: var(--space-4);
62
+ }
63
+ .ui-Button:where(.r-size-3):where(.r-variant-ghost) {
64
+ gap: var(--space-2);
65
+ --button-padding-x: var(--space-3);
66
+ --button-ghost-padding-y: calc(var(--space-1) * 1.5);
67
+ }
68
+ .ui-Button:where(.r-size-4) {
69
+ gap: var(--space-3);
70
+ font-size: var(--font-size-4);
71
+ line-height: var(--line-height-4);
72
+ letter-spacing: var(--letter-spacing-4);
73
+ border-radius: max(var(--radius-4), var(--radius-full));
74
+ --button-height: var(--space-8);
75
+ --button-padding-x: var(--space-5);
76
+ }
77
+ .ui-Button:where(.r-size-4):where(.r-variant-ghost) {
78
+ gap: var(--space-2);
79
+ --button-padding-x: var(--space-4);
80
+ --button-ghost-padding-y: var(--space-2);
81
+ }
82
+
83
+ /* solid */
84
+ .ui-root {
85
+ --button-solid-active-filter: brightness(0.92) saturate(1.1);
86
+ --button-solid-high-contrast-hover-filter: contrast(0.88) saturate(1.1) brightness(1.1);
87
+ }
88
+ :is(.dark, .dark-theme) .ui-root {
89
+ --button-solid-active-filter: brightness(1.08);
90
+ --button-solid-high-contrast-hover-filter: contrast(0.88) saturate(1.3) brightness(1.18);
91
+ }
92
+ .ui-Button:where(.r-variant-solid) {
93
+ background-color: var(--accent-9);
94
+ color: var(--accent-contrast);
95
+ }
96
+ @media (hover: hover) {
97
+ .ui-Button:where(.r-variant-solid):where(:hover) {
98
+ background-color: var(--accent-10);
99
+ }
100
+ }
101
+ .ui-Button:where(.r-variant-solid):where(:focus-visible) {
102
+ outline: 2px solid var(--focus-8);
103
+ outline-offset: 2px;
104
+ }
105
+ .ui-Button:where(.r-variant-solid):where(:active) {
106
+ background-color: var(--accent-10);
107
+ filter: var(--button-solid-active-filter);
108
+ }
109
+ .ui-Button:where(.r-variant-solid):where(.r-high-contrast) {
110
+ background-color: var(--accent-12);
111
+ color: var(--gray-1);
112
+ }
113
+ @media (hover: hover) {
114
+ .ui-Button:where(.r-variant-solid):where(.r-high-contrast:hover) {
115
+ background-color: var(--accent-12);
116
+ filter: var(--button-solid-high-contrast-hover-filter);
117
+ }
118
+ }
119
+ .ui-Button:where(.r-variant-solid):where([data-disabled]) {
120
+ color: var(--gray-a8);
121
+ background-color: var(--gray-a3);
122
+ outline: none;
123
+ filter: none;
124
+ }
125
+
126
+ /* soft / ghost */
127
+ .ui-Button:where(.r-variant-soft, .r-variant-ghost) {
128
+ color: var(--accent-a11);
129
+ }
130
+ .ui-Button:where(.r-variant-soft, .r-variant-ghost):where(.r-high-contrast) {
131
+ color: var(--accent-12);
132
+ }
133
+ .ui-Button:where(.r-variant-soft):where([data-disabled]) {
134
+ color: var(--gray-a8);
135
+ background-color: var(--gray-a3);
136
+ }
137
+ .ui-Button:where(.r-variant-soft) {
138
+ background-color: var(--accent-a3);
139
+ }
140
+ @media (hover: hover) {
141
+ .ui-Button:where(.r-variant-soft):where(:hover) {
142
+ background-color: var(--accent-a4);
143
+ }
144
+ }
145
+ .ui-Button:where(.r-variant-soft):where(:focus-visible) {
146
+ outline: 2px solid var(--accent-8);
147
+ outline-offset: -1px;
148
+ }
149
+ .ui-Button:where(.r-variant-soft):where(:active) {
150
+ background-color: var(--accent-a5);
151
+ }
152
+ .ui-Button:where(.r-variant-soft):where([data-disabled]) {
153
+ color: var(--gray-a8);
154
+ background-color: var(--gray-a3);
155
+ }
156
+ .ui-Button:where(.r-variant-ghost) {
157
+ padding: var(--button-ghost-padding-y) var(--button-ghost-padding-x);
158
+ }
159
+ @media (hover: hover) {
160
+ .ui-Button:where(.r-variant-ghost):where(:hover) {
161
+ background-color: var(--accent-a3);
162
+ }
163
+ }
164
+ .ui-Button:where(.r-variant-ghost):where(:focus-visible) {
165
+ outline: 2px solid var(--focus-8);
166
+ outline-offset: -1px;
167
+ }
168
+ .ui-Button:where(.r-variant-ghost):where(:active) {
169
+ background-color: var(--accent-a4);
170
+ }
171
+ .ui-Button:where(.r-variant-ghost):where([data-disabled]) {
172
+ color: var(--gray-a8);
173
+ background-color: transparent;
174
+ }
175
+
176
+ /* classic */
177
+ .ui-Button:where(.r-variant-classic) {
178
+ box-shadow: var(--shadow-2);
179
+ background-color: var(--color-background);
180
+ }
181
+ .ui-Button:where(.r-variant-classic):where(.r-high-contrast) {
182
+ color: var(--gray-12);
183
+ box-shadow: 0 0 0 1px var(--gray-a6), 0 1px 1px 0 var(--black-a4), 0 2px 1px -1px var(--black-a2), 0 1px 3px 0 var(--black-a1);
184
+ }
185
+ @media (hover: hover) {
186
+ .ui-Button:where(.r-variant-classic):where(:hover) {
187
+ color: var(--accent-a11);
188
+ background-color: var(--gray-a2);
189
+ }
190
+ .ui-Button:where(.r-variant-classic):where(.r-high-contrast):where(:hover) {
191
+ color: var(--accent-12);
192
+ }
193
+ }
194
+ .ui-Button:where(.r-variant-classic):where(:focus-visible) {
195
+ outline: 2px solid var(--focus-8);
196
+ outline-offset: 2px;
197
+ }
198
+ .ui-Button:where(.r-variant-classic):where(:active:not([data-disabled])) {
199
+ box-shadow: var(--shadow-1);
200
+ }
201
+ .ui-Button:where(.r-variant-classic):where([data-disabled]) {
202
+ color: var(--gray-a10);
203
+ background-color: var(--gray-a2);
204
+ }
205
+
206
+ /* outline */
207
+ .ui-Button:where(.r-variant-outline) {
208
+ box-shadow: inset 0 0 0 1px var(--accent-a8);
209
+ color: var(--accent-a11);
210
+ }
211
+ @media (hover: hover) {
212
+ .ui-Button:where(.r-variant-outline):where(:hover) {
213
+ background-color: var(--accent-a2);
214
+ }
215
+ }
216
+ .ui-Button:where(.r-variant-outline):where(:focus-visible) {
217
+ outline: 2px solid var(--focus-8);
218
+ outline-offset: -1px;
219
+ }
220
+ .ui-Button:where(.r-variant-outline):where(.r-high-contrast) {
221
+ box-shadow: inset 0 0 0 1px var(--accent-a7), inset 0 0 0 1px var(--gray-a11);
222
+ color: var(--accent-12);
223
+ }
224
+ .ui-Button:where(.r-variant-outline):where(:active) {
225
+ background-color: var(--accent-a4);
226
+ }
227
+ .ui-Button:where(.r-variant-outline):where([data-disabled]) {
228
+ color: var(--gray-a8);
229
+ box-shadow: inset 0 0 0 1px var(--gray-a7);
230
+ background-color: transparent;
231
+ }
232
+
233
+ /* surface */
234
+ .ui-Button:where(.r-variant-surface) {
235
+ background-color: var(--accent-surface);
236
+ box-shadow: inset 0 0 0 1px var(--accent-a7);
237
+ color: var(--accent-a11);
238
+ }
239
+ @media (hover: hover) {
240
+ .ui-Button:where(.r-variant-surface):where(:hover) {
241
+ box-shadow: inset 0 0 0 1px var(--accent-a8);
242
+ }
243
+ }
244
+ .ui-Button:where(.r-variant-surface):where(:focus-visible) {
245
+ outline: 2px solid var(--focus-8);
246
+ outline-offset: -1px;
247
+ }
248
+ .ui-Button:where(.r-variant-surface):where(.r-high-contrast) {
249
+ color: var(--accent-12);
250
+ }
251
+ .ui-Button:where(.r-variant-surface):where(:active) {
252
+ background-color: var(--accent-a4);
253
+ }
254
+ .ui-Button:where(.r-variant-surface):where([data-disabled]) {
255
+ color: var(--gray-a8);
256
+ box-shadow: inset 0 0 0 1px var(--gray-a6);
257
+ background-color: var(--gray-a2);
258
+ }
259
+
260
+ .ui-Button.ui-IconButton:where(:not(.r-variant-ghost)) {
261
+ height: var(--button-height);
262
+ width: var(--button-height);
263
+ padding: 0;
264
+ }
265
+ .ui-IconButton:where(.r-variant-ghost) {
266
+ padding: var(--icon-button-ghost-padding);
267
+ }
268
+ .ui-IconButton:where(.r-size-1) {
269
+ --icon-button-ghost-padding: var(--space-1);
270
+ }
271
+ .ui-IconButton:where(.r-size-2) {
272
+ --icon-button-ghost-padding: calc(var(--space-1) * 1.5);
273
+ }
274
+ .ui-IconButton:where(.r-size-3) {
275
+ --icon-button-ghost-padding: var(--space-2);
276
+ }
277
+ .ui-IconButton:where(.r-size-4) {
278
+ --icon-button-ghost-padding: var(--space-3);
279
+ }
280
+
281
+ .ui-SocialButton {
282
+ background-color: var(--social-button-background-color);
283
+ color: var(--social-button-text-color);
284
+ box-shadow: 0px 1px 2px 0px #0A0D120D, 0px -2px 0px 0px #0A0D120D inset, 0px 0px 0px 1px #0A0D122E inset;
285
+ --social-button-background-color: black;
286
+ --social-button-text-color: white;
287
+ --social-button-hover-filter: brightness(0.92) saturate(1.1);
288
+ }
289
+ @media (hover: hover) {
290
+ .ui-SocialButton:where(:hover) {
291
+ filter: var(--social-button-hover-filter);
292
+ }
293
+ }
294
+ .ui-SocialButton:where(.r-brand-google) {
295
+ background-color: var(--color-background);
296
+ --social-button-text-color: var(--gray-12);
297
+ }
298
+ .ui-SocialButton:where(.r-brand-facebook) {
299
+ --social-button-background-color: #1877F2;
300
+ }
301
+ .ui-SocialButton:where(.r-brand-github) {
302
+ --social-button-background-color: #333;
303
+ }
304
+ .ui-SocialButton:where(.r-brand-slack) {
305
+ --social-button-background-color: #611f69;
306
+ }
307
+ .ui-SocialButton:where(:focus-visible) {
308
+ outline: 2px solid var(--focus-8);
309
+ outline-offset: 2px;
310
+ }
311
+ .ui-SocialButton:where(:active) {
312
+ box-shadow: var(--shadow-1);
313
+ }
314
+ .ui-SocialButton:where([data-disabled]) {
315
+ color: var(--gray-a10);
316
+ background-color: var(--gray-a2);
317
+ }
@@ -0,0 +1,86 @@
1
+
2
+ .ui-Card {
3
+ display: block;
4
+ position: relative;
5
+ overflow: hidden;
6
+ font-style: normal;
7
+ text-align: start;
8
+ box-sizing: border-box;
9
+ border-radius: var(--card-border-radius);
10
+ padding: var(--card-padding);
11
+ border-color: var(--card-border-color, var(--gray-a5));
12
+ border-width: var(--card-border-width, 1px);
13
+ border-style: solid;
14
+ --inset-padding-top: var(--card-padding);
15
+ --inset-padding-right: var(--card-padding);
16
+ --inset-padding-bottom: var(--card-padding);
17
+ --inset-padding-left: var(--card-padding);
18
+ }
19
+ .ui-Card:where(:-moz-any-link, button, label):where(:hover) {
20
+ --card-border-color: var(--gray-a7);
21
+ }
22
+ .ui-Card:where(:any-link, button, label):where(:hover) {
23
+ --card-border-color: var(--gray-a7);
24
+ }
25
+ .ui-Card:where(:-moz-any-link, button, label):where(:focus-visible) {
26
+ --card-border-color: var(--focus-8);
27
+ box-shadow: 0 0 0 2px var(--accent-4), 0 1px 2px 0 rgb(0 0 0 / 0.05);
28
+ }
29
+ .ui-Card:where(:any-link, button, label):where(:focus-visible) {
30
+ --card-border-color: var(--focus-8);
31
+ box-shadow: 0 0 0 2px var(--accent-4), 0 1px 2px 0 rgb(0 0 0 / 0.05);
32
+ }
33
+ .ui-Card:where(.r-size-1) {
34
+ --card-padding: var(--space-3);
35
+ --card-border-radius: max(var(--radius-4), var(--radius-full));
36
+ }
37
+ .ui-Card:where(.r-size-2) {
38
+ --card-padding: var(--space-4);
39
+ --card-border-radius: max(var(--radius-4), var(--radius-full));
40
+ }
41
+ .ui-Card:where(.r-size-3) {
42
+ --card-padding: var(--space-5);
43
+ --card-border-radius: max(var(--radius-5), var(--radius-full));
44
+ }
45
+ .ui-Card:where(.r-size-4) {
46
+ --card-padding: var(--space-6);
47
+ --card-border-radius: max(var(--radius-5), var(--radius-full));
48
+ }
49
+ .ui-Card:where(.r-size-5) {
50
+ --card-padding: var(--space-8);
51
+ --card-border-radius: max(var(--radius-6), var(--radius-full));
52
+ }
53
+ .ui-Card:where(.r-variant-soft) {
54
+ border-color: var(--gray-2);
55
+ background-color: var(--gray-2);
56
+ }
57
+ .ui-Card:where(.r-variant-soft):where(:-moz-any-link, button, label):where(:hover) {
58
+ border-color: var(--gray-a5);
59
+ }
60
+ .ui-Card:where(.r-variant-soft):where(:any-link, button, label):where(:hover) {
61
+ border-color: var(--gray-a5);
62
+ }
63
+
64
+ .ui-CardHead {
65
+ display: flex;
66
+ align-items: center;
67
+ justify-content: space-between;
68
+ margin-left: calc(0px - var(--card-padding));
69
+ margin-right: calc(0px - var(--card-padding));
70
+ margin-top: calc(0px - var(--card-padding));
71
+ padding: var(--card-padding);
72
+ --card-head-border-color: var(--card-border-color, var(--gray-a5));
73
+ border-bottom: 1px solid var(--card-head-border-color);
74
+ }
75
+ .ui-CardHead:where(:-moz-any-link, button, label):where(:hover) {
76
+ background-color: var(--accent-a3);
77
+ }
78
+ .ui-CardHead:where(:any-link, button, label):where(:hover) {
79
+ background-color: var(--accent-a3);
80
+ }
81
+ .ui-CardHead:where(:-moz-any-link, button, label):where(:focus-visible) {
82
+ background-color: var(--accent-a4);
83
+ }
84
+ .ui-CardHead:where(:any-link, button, label):where(:focus-visible) {
85
+ background-color: var(--accent-a4);
86
+ }
@@ -0,0 +1,90 @@
1
+
2
+ .ui-Checkbox {
3
+ position: relative;
4
+ display: inline-flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ vertical-align: top;
8
+ flex-shrink: 0;
9
+ cursor: default;
10
+ height: var(--checkbox-size);
11
+ border-radius: var(--checkbox-border-radius);
12
+ }
13
+ .ui-Checkbox::before {
14
+ content: '';
15
+ display: block;
16
+ height: var(--checkbox-size);
17
+ width: var(--checkbox-size);
18
+ border-radius: var(--checkbox-border-radius);
19
+ }
20
+ .ui-Checkbox:where(:focus-visible)::before {
21
+ outline: 2px solid var(--focus-8);
22
+ outline-offset: 2px;
23
+ }
24
+ .ui-Checkbox:where(:disabled) {
25
+ cursor: not-allowed;
26
+ }
27
+ .ui-Checkbox:where(:disabled)::before {
28
+ background-color: var(--gray-a3);
29
+ }
30
+ .ui-CheckboxIndicator {
31
+ position: absolute;
32
+ width: var(--checkbox-indicator-size);
33
+ height: var(--checkbox-indicator-size);
34
+ transform: translate(-50%, -50%);
35
+ top: 50%;
36
+ left: 50%;
37
+ }
38
+ .ui-Checkbox:where(.r-size-1) {
39
+ --checkbox-size: calc(var(--space-4) * 0.875);
40
+ --checkbox-indicator-size: calc(9px * var(--scaling));
41
+ --checkbox-border-radius: calc(var(--radius-1) * 0.875);
42
+ }
43
+ .ui-Checkbox:where(.r-size-2) {
44
+ --checkbox-size: var(--space-4);
45
+ --checkbox-indicator-size: calc(10px * var(--scaling));
46
+ --checkbox-border-radius: var(--radius-1);
47
+ }
48
+ .ui-Checkbox:where(.r-size-3) {
49
+ --checkbox-size: calc(var(--space-4) * 1.25);
50
+ --checkbox-indicator-size: calc(12px * var(--scaling));
51
+ --checkbox-border-radius: calc(var(--radius-1) * 1.25);
52
+ }
53
+ .ui-Checkbox:where(.r-variant-surface):where([data-state='unchecked'])::before {
54
+ background-color: var(--color-surface);
55
+ box-shadow: inset 0 0 0 1px var(--gray-a7);
56
+ }
57
+ .ui-Checkbox:where(.r-variant-surface):where([data-state='checked'], [data-state='indeterminate'])::before {
58
+ background-color: var(--accent-indicator);
59
+ }
60
+ .ui-Checkbox:where(.r-variant-surface):where([data-state='checked'], [data-state='indeterminate']) .ui-CheckboxIndicator {
61
+ color: var(--accent-contrast);
62
+ }
63
+ .ui-Checkbox:where(.r-variant-surface):where(.r-high-contrast):where([data-state='checked'], [data-state='indeterminate'])::before {
64
+ background-color: var(--accent-12);
65
+ }
66
+ .ui-Checkbox:where(.r-variant-surface):where(.r-high-contrast):where([data-state='checked'], [data-state='indeterminate']) .ui-CheckboxIndicator {
67
+ color: var(--accent-1);
68
+ }
69
+ .ui-Checkbox:where(.r-variant-surface):disabled:where([data-state='checked'], [data-state='indeterminate'])::before {
70
+ box-shadow: inset 0 0 0 1px var(--gray-a6);
71
+ background-color: transparent;
72
+ }
73
+ .ui-Checkbox:where(.r-variant-surface):disabled:where([data-state='checked'], [data-state='indeterminate']) .ui-CheckboxIndicator {
74
+ color: var(--gray-a8);
75
+ }
76
+ .ui-Checkbox:where(.r-variant-soft)::before {
77
+ background-color: var(--accent-a5);
78
+ }
79
+ .ui-Checkbox:where(.r-variant-soft):where([data-state='checked'], [data-state='indeterminate']) .ui-CheckboxIndicator {
80
+ color: var(--accent-a11);
81
+ }
82
+ .ui-Checkbox:where(.r-variant-soft):where(.r-high-contrast):where([data-state='checked'], [data-state='indeterminate']) .ui-CheckboxIndicator {
83
+ color: var(--accent-12);
84
+ }
85
+ .ui-Checkbox:where(.r-variant-soft):disabled::before {
86
+ background-color: var(--gray-a3);
87
+ }
88
+ .ui-Checkbox:where(.r-variant-soft):disabled .ui-CheckboxIndicator {
89
+ color: var(--gray-a8);
90
+ }
@@ -0,0 +1,27 @@
1
+
2
+ @keyframes collapsible-down {
3
+ from {
4
+ height: 0;
5
+ }
6
+ to {
7
+ height: var(--reka-collapsible-content-height);
8
+ }
9
+ }
10
+ @keyframes collapsible-up {
11
+ from {
12
+ height: var(--reka-collapsible-content-height);
13
+ }
14
+ to {
15
+ height: 0;
16
+ }
17
+ }
18
+ .ui-CollapsibleContent {
19
+ overflow: hidden;
20
+ font-weight: var(--font-weight-regular);
21
+ }
22
+ .ui-CollapsibleContent:where([data-state="open"]) {
23
+ animation: collapsible-down 0.2s ease-out;
24
+ }
25
+ .ui-CollapsibleContent:where([data-state="closed"]) {
26
+ animation: collapsible-up 0.2s ease-out;
27
+ }