@botiverse/raft-ui 0.0.0-stage → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +576 -0
  2. package/LICENSE +21 -0
  3. package/README.md +103 -2
  4. package/codemods/package-name.mjs +168 -0
  5. package/codemods/token-names.mjs +150 -0
  6. package/dist/cn.d.mts +5 -0
  7. package/dist/cn.mjs +48 -0
  8. package/dist/components/combobox-select/combobox-select.css +286 -0
  9. package/dist/components/float-button/float-button.css +316 -0
  10. package/dist/components/steps/otter-indicator.css +141 -0
  11. package/dist/components/steps/steps.css +370 -0
  12. package/dist/components/timeline/timeline.css +255 -0
  13. package/dist/dialog-CY6S-Xqf.mjs +505 -0
  14. package/dist/fonts.css +13 -0
  15. package/dist/foundation.css +623 -0
  16. package/dist/index-B3_j9XYd.d.mts +329 -0
  17. package/dist/index.d.mts +5114 -0
  18. package/dist/index.mjs +16442 -0
  19. package/dist/style.css +1315 -0
  20. package/dist/styles.css +444 -0
  21. package/dist/tokens.json +3811 -0
  22. package/dist/wip.d.mts +92 -0
  23. package/dist/wip.mjs +517 -0
  24. package/package.json +92 -3
  25. package/skills/raft-ui-critique/SKILL.md +167 -0
  26. package/skills/raft-ui-critique/agents/openai.yaml +4 -0
  27. package/skills/raft-ui-critique/references/theme-lenses.md +69 -0
  28. package/skills/raft-ui-guide/SKILL.md +96 -0
  29. package/skills/raft-ui-guide/agents/openai.yaml +4 -0
  30. package/skills/raft-ui-guide/rules/adoption.md +55 -0
  31. package/skills/raft-ui-guide/rules/composition.md +14 -0
  32. package/skills/raft-ui-guide/rules/conversation.md +15 -0
  33. package/skills/raft-ui-guide/rules/display.md +14 -0
  34. package/skills/raft-ui-guide/rules/feedback.md +13 -0
  35. package/skills/raft-ui-guide/rules/forms.md +13 -0
  36. package/skills/raft-ui-guide/rules/layout.md +15 -0
  37. package/skills/raft-ui-guide/rules/lookup.md +78 -0
  38. package/skills/raft-ui-guide/rules/overlays.md +13 -0
  39. package/skills/raft-ui-guide/rules/overview.md +30 -0
  40. package/skills/raft-ui-guide/rules/styling.md +17 -0
  41. package/skills/raft-ui-guide/rules/technical-overview.md +80 -0
package/dist/style.css ADDED
@@ -0,0 +1,1315 @@
1
+ .r-float-button {
2
+ --r-float-button-size: 32px;
3
+ --r-float-button-width: var(--r-float-button-size);
4
+ --r-float-button-padding-x: 0px;
5
+ --r-float-button-border-radius: 8px;
6
+ --r-float-button-border-width: 1.5px;
7
+ --r-float-button-border-style: solid;
8
+ --r-float-button-border-color: var(--line-strong);
9
+ --r-float-button-bg: var(--layer-card);
10
+ --r-float-button-bg-hover: var(--layer-card);
11
+ --r-float-button-press: var(--fill-pressed);
12
+ --r-float-button-text-color: var(--foreground);
13
+ --r-float-button-text-hover-color: var(--foreground);
14
+ --r-float-button-text-disabled-color: var(--foreground-disabled);
15
+ --r-float-button-box-shadow: none;
16
+ --r-float-button-shadow-hover: none;
17
+ --r-float-button-shadow-active: none;
18
+ --r-float-button-transform-hover: none;
19
+ --r-float-button-transform-active: none;
20
+ --r-float-button-outline: 2px solid var(--line-strong);
21
+ --r-float-button-outline-offset: 2px;
22
+ --r-float-button-font-size: 12px;
23
+ --r-float-button-font-weight: 700;
24
+ --r-float-button-desc-font-size: 10px;
25
+ --r-float-button-icon-size: 16px;
26
+ --r-float-button-opacity-disabled: 1;
27
+
28
+ &.r-float-button--xs {
29
+ --r-float-button-size: 24px;
30
+ --r-float-button-icon-size: 12px;
31
+ --r-float-button-font-size: 11px;
32
+ --r-float-button-desc-font-size: 8px;
33
+ --r-float-button-padding-x: 8px;
34
+ }
35
+
36
+ &.r-float-button--sm {
37
+ --r-float-button-size: 28px;
38
+ --r-float-button-icon-size: 14px;
39
+ --r-float-button-font-size: 12px;
40
+ --r-float-button-desc-font-size: 9px;
41
+ --r-float-button-padding-x: 10px;
42
+ }
43
+
44
+ &.r-float-button--md {
45
+ --r-float-button-size: 32px;
46
+ --r-float-button-icon-size: 16px;
47
+ --r-float-button-font-size: 12px;
48
+ --r-float-button-desc-font-size: 10px;
49
+ --r-float-button-padding-x: 12px;
50
+ }
51
+
52
+ &.r-float-button--lg {
53
+ --r-float-button-size: 36px;
54
+ --r-float-button-icon-size: 18px;
55
+ --r-float-button-font-size: 14px;
56
+ --r-float-button-desc-font-size: 11px;
57
+ --r-float-button-padding-x: 14px;
58
+ }
59
+
60
+ &.r-float-button--with-text {
61
+ --r-float-button-width: auto;
62
+ }
63
+
64
+ &.r-float-button--pill {
65
+ --r-float-button-width: auto;
66
+ padding-left: var(--r-float-button-padding-x);
67
+ padding-right: var(--r-float-button-padding-x);
68
+ }
69
+
70
+ &.r-float-button--primary, &.r-float-button--accent {
71
+ --r-float-button-border-color: var(--sticker-ink);
72
+ --r-float-button-bg: var(--attention-400);
73
+ --r-float-button-bg-hover: var(--attention-400);
74
+ --r-float-button-press: var(--sticker-pressed);
75
+ --r-float-button-text-color: var(--sticker-ink);
76
+ --r-float-button-text-hover-color: var(--sticker-ink);
77
+ }
78
+
79
+ &.r-float-button--warning {
80
+ --r-float-button-border-color: var(--sticker-ink);
81
+ --r-float-button-bg: var(--warning);
82
+ --r-float-button-bg-hover: var(--warning);
83
+ --r-float-button-press: var(--sticker-pressed);
84
+ --r-float-button-text-color: var(--sticker-ink);
85
+ --r-float-button-text-hover-color: var(--sticker-ink);
86
+ }
87
+
88
+ &.r-float-button--danger {
89
+ --r-float-button-border-color: var(--sticker-ink);
90
+ --r-float-button-bg: var(--danger);
91
+ --r-float-button-bg-hover: var(--danger);
92
+ --r-float-button-press: var(--sticker-pressed);
93
+ --r-float-button-text-color: var(--sticker-ink);
94
+ --r-float-button-text-hover-color: var(--sticker-ink);
95
+ }
96
+
97
+ &.r-float-button--ghost {
98
+ --r-float-button-border-color: transparent;
99
+ --r-float-button-bg: transparent;
100
+ --r-float-button-bg-hover: var(--fill-pressed);
101
+ --r-float-button-press: transparent;
102
+ }
103
+ }
104
+
105
+ .r-float-button {
106
+ user-select: none;
107
+ cursor: pointer;
108
+ box-sizing: border-box;
109
+ width: var(--r-float-button-width, var(--r-float-button-size));
110
+ min-width: var(--r-float-button-size);
111
+ height: var(--r-float-button-size);
112
+ border-radius: var(--r-float-button-border-radius);
113
+ border-width: var(--r-float-button-border-width);
114
+ border-style: var(--r-float-button-border-style);
115
+ border-color: var(--r-float-button-border-color);
116
+ background-color: var(--r-float-button-bg);
117
+ color: var(--r-float-button-text-color);
118
+ box-shadow: var(--r-float-button-box-shadow);
119
+ font-size: var(--r-float-button-font-size);
120
+ font-weight: var(--r-float-button-font-weight);
121
+ outline: none;
122
+ flex-shrink: 0;
123
+ justify-content: center;
124
+ align-items: center;
125
+ padding: 0;
126
+ transition: transform .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(.4, 0, .2, 1);
127
+ display: inline-flex;
128
+ position: relative;
129
+
130
+ @media (prefers-reduced-motion: reduce) {
131
+ transition: none;
132
+ }
133
+
134
+ &.r-float-button--with-text, &.r-float-button--pill {
135
+ padding-left: var(--r-float-button-padding-x);
136
+ padding-right: var(--r-float-button-padding-x);
137
+ }
138
+
139
+ &:hover:not(:disabled) {
140
+ background-color: var(--r-float-button-bg-hover);
141
+ color: var(--r-float-button-text-hover-color);
142
+ box-shadow: var(--r-float-button-shadow-hover);
143
+ transform: var(--r-float-button-transform-hover);
144
+ }
145
+
146
+ &:active:not(:disabled) {
147
+ box-shadow: var(--r-float-button-shadow-active);
148
+ transform: var(--r-float-button-transform-active);
149
+ }
150
+
151
+ &:focus-visible {
152
+ outline: var(--r-float-button-outline);
153
+ outline-offset: var(--r-float-button-outline-offset);
154
+ }
155
+
156
+ &:is(:hover, :active):not(:disabled) {
157
+ background-image: linear-gradient(var(--r-float-button-press), var(--r-float-button-press));
158
+ }
159
+
160
+ &:disabled {
161
+ pointer-events: none;
162
+ opacity: var(--r-float-button-opacity-disabled);
163
+ cursor: not-allowed;
164
+ border-color: var(--line-hairline);
165
+ background-color: var(--fill-muted);
166
+ color: var(--r-float-button-text-disabled-color);
167
+ background-image: none;
168
+ }
169
+
170
+ &.r-float-button--ghost:disabled {
171
+ background-color: #0000;
172
+ border-color: #0000;
173
+ }
174
+
175
+ & svg {
176
+ pointer-events: none;
177
+ width: var(--r-float-button-icon-size);
178
+ height: var(--r-float-button-icon-size);
179
+ flex-shrink: 0;
180
+ }
181
+
182
+ & > .r-float-button__content {
183
+ white-space: nowrap;
184
+ justify-content: center;
185
+ align-items: center;
186
+ gap: 6px;
187
+ display: inline-flex;
188
+
189
+ &.r-float-button__content--with-desc {
190
+ flex-direction: column;
191
+ gap: 2px;
192
+ }
193
+ }
194
+
195
+ &.r-float-button--square.r-float-button--with-desc {
196
+ padding-top: 2px;
197
+ padding-bottom: 2px;
198
+ }
199
+
200
+ & .r-float-button__text {
201
+ white-space: nowrap;
202
+ align-items: center;
203
+ line-height: 1;
204
+ display: inline-flex;
205
+ }
206
+
207
+ & .r-float-button__desc {
208
+ font-size: var(--r-float-button-desc-font-size);
209
+ text-align: center;
210
+ text-overflow: ellipsis;
211
+ white-space: nowrap;
212
+ line-height: 1.25;
213
+ overflow: hidden;
214
+ }
215
+ }
216
+
217
+ .r-float-button-group {
218
+ --r-float-button-group-gap: 10px;
219
+ user-select: none;
220
+ box-sizing: border-box;
221
+ align-items: center;
222
+ gap: var(--r-float-button-group-gap);
223
+ display: inline-flex;
224
+
225
+ &.r-float-button-group--vertical {
226
+ flex-direction: column;
227
+ }
228
+
229
+ &.r-float-button-group--horizontal {
230
+ flex-direction: row;
231
+ }
232
+
233
+ &.r-float-button-group--attached {
234
+ --r-float-button-group-gap: 0px;
235
+ gap: 0;
236
+ }
237
+
238
+ &.r-float-button-group--attached.r-float-button-group--vertical > .r-float-button:not(:last-child) {
239
+ border-bottom-width: 0;
240
+ }
241
+
242
+ &.r-float-button-group--attached.r-float-button-group--vertical > .r-float-button:not(:first-child):not(:last-child) {
243
+ border-radius: 0;
244
+ }
245
+
246
+ &.r-float-button-group--attached.r-float-button-group--horizontal > .r-float-button:not(:last-child) {
247
+ border-right-width: 0;
248
+ }
249
+
250
+ &.r-float-button-group--attached.r-float-button-group--horizontal > .r-float-button:not(:first-child):not(:last-child), &.r-float-button-group--attached.r-float-button-group--square > .r-float-button {
251
+ border-radius: 0;
252
+ }
253
+
254
+ &.r-float-button-group--attached.r-float-button-group--vertical > .r-float-button:first-child:not(:last-child) {
255
+ border-radius: 8px 8px 0 0;
256
+ }
257
+
258
+ &.r-float-button-group--attached.r-float-button-group--vertical > .r-float-button:last-child:not(:first-child) {
259
+ border-radius: 0 0 8px 8px;
260
+ }
261
+
262
+ &.r-float-button-group--attached.r-float-button-group--horizontal > .r-float-button:first-child:not(:last-child) {
263
+ border-radius: 8px 0 0 8px;
264
+ }
265
+
266
+ &.r-float-button-group--attached.r-float-button-group--horizontal > .r-float-button:last-child:not(:first-child) {
267
+ border-radius: 0 8px 8px 0;
268
+ }
269
+ }
270
+ .r-timeline {
271
+ --r-timeline-icon-size: var(--r-timeline-custom-icon-size, 9px);
272
+ --r-timeline-title-font-size: 14px;
273
+ --r-timeline-content-font-size: 12px;
274
+ --r-timeline-time-font-size: 12px;
275
+ --r-timeline-line-height: 20px;
276
+ --r-timeline-item-inner-gap: 2px;
277
+ --r-timeline-title-font-family: var(--font-sans);
278
+ --r-timeline-title-font-weight: 400;
279
+ --r-timeline-gap: 12px;
280
+ --r-timeline-item-gap: 12px;
281
+ --r-timeline-horizontal-item-gap: 40px;
282
+ --r-timeline-line-width: 1px;
283
+ --r-timeline-line-color: var(--line-hairline);
284
+ --r-timeline-marker-border-width: 1.5px;
285
+ --r-timeline-marker-radius: 2px;
286
+ --r-timeline-marker-fill: 100%;
287
+ --r-timeline-marker-border-color: var(--sticker-ink);
288
+ --r-timeline-axis-offset: calc((20px - var(--r-timeline-icon-size)) / 2);
289
+
290
+ &.r-timeline--lg {
291
+ --r-timeline-title-font-size: 16px;
292
+ --r-timeline-line-height: 24px;
293
+ --r-timeline-axis-offset: calc((24px - var(--r-timeline-icon-size)) / 2);
294
+ }
295
+
296
+ &.r-timeline--horizontal {
297
+ --r-timeline-axis-offset: 0px;
298
+ }
299
+ }
300
+
301
+ .r-timeline-item {
302
+ --r-timeline-item-color: var(--foreground-hint);
303
+ --r-timeline-item-fill: var(--presence-offline);
304
+
305
+ &.r-timeline-item--information {
306
+ --r-timeline-item-color: var(--info-strong);
307
+ --r-timeline-item-fill: var(--info);
308
+ }
309
+
310
+ &.r-timeline-item--success {
311
+ --r-timeline-item-color: var(--success-strong);
312
+ --r-timeline-item-fill: var(--success);
313
+ }
314
+
315
+ &.r-timeline-item--warning {
316
+ --r-timeline-item-color: var(--warning-strong);
317
+ --r-timeline-item-fill: var(--warning);
318
+ }
319
+
320
+ &.r-timeline-item--danger {
321
+ --r-timeline-item-color: var(--danger-strong);
322
+ --r-timeline-item-fill: var(--danger);
323
+ }
324
+
325
+ &.r-timeline-item--accent {
326
+ --r-timeline-item-color: var(--task-status-in-review-strong);
327
+ --r-timeline-item-fill: var(--task-status-in-review);
328
+ }
329
+
330
+ &.r-timeline-item--color {
331
+ --r-timeline-item-color: var(--r-timeline-custom-color);
332
+ --r-timeline-item-fill: var(--r-timeline-custom-color);
333
+ }
334
+
335
+ &[data-icon] {
336
+ --r-timeline-icon-size: var(--r-timeline-custom-icon-size, 14px);
337
+ --r-timeline-axis-offset: calc((var(--r-timeline-line-height) - var(--r-timeline-icon-size)) / 2);
338
+ }
339
+ }
340
+
341
+ .r-timeline {
342
+ line-height: var(--r-timeline-line-height);
343
+ flex-direction: column;
344
+ margin: 0;
345
+ padding: 0;
346
+ list-style: none;
347
+ display: flex;
348
+ }
349
+
350
+ .r-timeline-item {
351
+ gap: var(--r-timeline-gap);
352
+ margin: 0;
353
+ padding: 0;
354
+ display: flex;
355
+ }
356
+
357
+ .r-timeline-item__axis {
358
+ padding-top: var(--r-timeline-axis-offset);
359
+ width: var(--r-timeline-icon-size);
360
+ flex-direction: column;
361
+ flex: none;
362
+ align-items: center;
363
+ display: flex;
364
+ }
365
+
366
+ .r-timeline-item__marker {
367
+ background: color-mix(in oklch,
368
+ var(--r-timeline-item-fill) var(--r-timeline-marker-fill),
369
+ transparent);
370
+ border: var(--r-timeline-marker-border-width) solid
371
+ var(--r-timeline-marker-border-color, var(--r-timeline-item-color));
372
+ border-radius: var(--r-timeline-marker-radius);
373
+ box-sizing: border-box;
374
+ height: var(--r-timeline-icon-size);
375
+ width: var(--r-timeline-icon-size);
376
+ flex: none;
377
+ }
378
+
379
+ .r-timeline-item__icon {
380
+ color: var(--r-timeline-item-color);
381
+ font-size: var(--r-timeline-icon-size);
382
+ height: var(--r-timeline-icon-size);
383
+ width: var(--r-timeline-icon-size);
384
+ flex: none;
385
+ justify-content: center;
386
+ align-items: center;
387
+ display: flex;
388
+
389
+ & svg {
390
+ width: 1em;
391
+ height: 1em;
392
+ }
393
+ }
394
+
395
+ .r-timeline-item__line {
396
+ border-inline-start: var(--r-timeline-line-width) solid var(--r-timeline-line-color);
397
+ margin-bottom: calc(2px - var(--r-timeline-axis-offset));
398
+ flex: 1;
399
+ margin-top: 2px;
400
+ }
401
+
402
+ .r-timeline-item--dashed > .r-timeline-item__axis > .r-timeline-item__line {
403
+ border-style: dashed;
404
+ }
405
+
406
+ .r-timeline-item:last-child > .r-timeline-item__axis > .r-timeline-item__line {
407
+ visibility: hidden;
408
+ }
409
+
410
+ .r-timeline-item__body {
411
+ min-width: 0;
412
+ padding-bottom: var(--r-timeline-item-gap);
413
+ flex: 1;
414
+ }
415
+
416
+ .r-timeline-item:last-child > .r-timeline-item__body {
417
+ padding-bottom: 0;
418
+ }
419
+
420
+ .r-timeline-title {
421
+ color: var(--foreground);
422
+ font-family: var(--r-timeline-title-font-family);
423
+ font-size: var(--r-timeline-title-font-size);
424
+ font-weight: var(--r-timeline-title-font-weight);
425
+ margin-bottom: var(--r-timeline-item-inner-gap);
426
+ overflow-wrap: anywhere;
427
+ }
428
+
429
+ .r-timeline-content {
430
+ color: var(--foreground-hint);
431
+ font-family: var(--font-mono);
432
+ font-size: var(--r-timeline-content-font-size);
433
+ overflow-wrap: anywhere;
434
+ line-height: 16px;
435
+ }
436
+
437
+ .r-timeline-time {
438
+ color: var(--foreground-hint);
439
+ font-family: var(--font-mono);
440
+ font-size: var(--r-timeline-time-font-size);
441
+ margin-top: var(--r-timeline-item-inner-gap);
442
+ white-space: nowrap;
443
+ }
444
+
445
+ .r-timeline--left > .r-timeline-item > .r-timeline-item__body {
446
+ column-gap: var(--r-timeline-gap);
447
+ grid-template-columns: minmax(0, 1fr) auto;
448
+ display: grid;
449
+
450
+ & > * {
451
+ grid-column: 1;
452
+ }
453
+
454
+ & > .r-timeline-time {
455
+ grid-area: 1 / 2;
456
+ margin-top: 0;
457
+ }
458
+ }
459
+
460
+ .r-timeline--right > .r-timeline-item {
461
+ text-align: end;
462
+ flex-direction: row-reverse;
463
+ }
464
+
465
+ .r-timeline--horizontal {
466
+ flex-direction: row;
467
+ }
468
+
469
+ .r-timeline--horizontal > .r-timeline-item {
470
+ flex-direction: column;
471
+ flex: none;
472
+
473
+ & > .r-timeline-item__axis {
474
+ height: var(--r-timeline-icon-size);
475
+ flex-direction: row;
476
+ width: auto;
477
+ padding-top: 0;
478
+ }
479
+
480
+ & > .r-timeline-item__axis > .r-timeline-item__line {
481
+ border-inline-start: 0;
482
+ border-top: var(--r-timeline-line-width) solid var(--r-timeline-line-color);
483
+ margin-top: 0;
484
+ margin-bottom: 0;
485
+ }
486
+
487
+ &.r-timeline-item--dashed > .r-timeline-item__axis > .r-timeline-item__line {
488
+ border-top-style: dashed;
489
+ }
490
+
491
+ & > .r-timeline-item__body {
492
+ padding-bottom: 0;
493
+ padding-inline-end: var(--r-timeline-horizontal-item-gap);
494
+ }
495
+ }
496
+ .r-steps {
497
+ --r-steps-indicator-size: 20px;
498
+ --r-steps-indicator-font-size: 12px;
499
+ --r-steps-icon-size: 14px;
500
+ --r-steps-title-font-size: 13px;
501
+ --r-steps-description-font-size: 12px;
502
+ --r-steps-line-height: calc(18 / 13);
503
+ --r-steps-gap: 8px;
504
+ --r-steps-connector-gap: 8px;
505
+ --r-steps-connector-min-width: 16px;
506
+ --r-steps-vertical-item-gap: 16px;
507
+ --r-steps-indicator-font-family: var(--font-mono);
508
+ --r-steps-indicator-font-weight: 700;
509
+ --r-steps-indicator-border-width: 1px;
510
+ --r-steps-indicator-radius: var(--radius-sticker, 4px);
511
+ --r-steps-title-font-family: var(--font-sans);
512
+ --r-steps-title-font-weight: 600;
513
+ --r-steps-connector-width: 1px;
514
+ --r-steps-connector-color: var(--line-seam);
515
+ --r-steps-connector-color-finish: var(--line-seam);
516
+ --r-steps-focus-radius: var(--radius-sticker, 4px);
517
+ --r-steps-focus-outline: 2px solid var(--line-strong);
518
+ --r-steps-duration: .16s;
519
+ --r-steps-easing: ease-out;
520
+ --r-steps-indicator-color-wait: var(--layer-card);
521
+ --r-steps-indicator-color-process: var(--brand-400);
522
+ --r-steps-indicator-color-finish: var(--foreground);
523
+ --r-steps-indicator-color-error: var(--warning);
524
+ --r-steps-indicator-border-color-wait: var(--line-seam);
525
+ --r-steps-indicator-border-color-process: var(--sticker-ink);
526
+ --r-steps-indicator-border-color-finish: var(--foreground);
527
+ --r-steps-indicator-border-color-error: var(--sticker-ink);
528
+ --r-steps-indicator-border-color-hover: var(--line-strong);
529
+ --r-steps-indicator-text-color-wait: var(--foreground-hint);
530
+ --r-steps-indicator-text-color-process: var(--sticker-ink);
531
+ --r-steps-indicator-text-color-finish: var(--layer-canvas);
532
+ --r-steps-indicator-text-color-error: var(--sticker-ink);
533
+ --r-steps-indicator-shadow-process: none;
534
+ --r-steps-indicator-shadow-hover: none;
535
+ --r-steps-title-color-wait: var(--foreground-hint);
536
+ --r-steps-title-color-process: var(--foreground);
537
+ --r-steps-title-color-finish: var(--foreground-muted);
538
+ --r-steps-title-color-error: var(--foreground);
539
+ --r-steps-title-color-hover: var(--foreground);
540
+ --r-steps-title-color-disabled: var(--foreground-disabled);
541
+ }
542
+
543
+ .r-step {
544
+ --r-step-indicator-color: var(--r-steps-indicator-color-wait);
545
+ --r-step-indicator-border-color: var(--r-steps-indicator-border-color-wait);
546
+ --r-step-indicator-text-color: var(--r-steps-indicator-text-color-wait);
547
+ --r-step-indicator-shadow: none;
548
+ --r-step-title-color: var(--r-steps-title-color-wait);
549
+ --r-step-description-color: var(--foreground-hint);
550
+ --r-step-connector-color: var(--r-steps-connector-color);
551
+
552
+ &.r-step--process {
553
+ --r-step-indicator-color: var(--r-steps-indicator-color-process);
554
+ --r-step-indicator-border-color: var(--r-steps-indicator-border-color-process);
555
+ --r-step-indicator-text-color: var(--r-steps-indicator-text-color-process);
556
+ --r-step-indicator-shadow: var(--r-steps-indicator-shadow-process);
557
+ --r-step-title-color: var(--r-steps-title-color-process);
558
+ --r-step-description-color: var(--foreground-muted);
559
+ }
560
+
561
+ &.r-step--finish {
562
+ --r-step-indicator-color: var(--r-steps-indicator-color-finish);
563
+ --r-step-indicator-border-color: var(--r-steps-indicator-border-color-finish);
564
+ --r-step-indicator-text-color: var(--r-steps-indicator-text-color-finish);
565
+ --r-step-title-color: var(--r-steps-title-color-finish);
566
+ --r-step-connector-color: var(--r-steps-connector-color-finish);
567
+ }
568
+
569
+ &.r-step--error {
570
+ --r-step-indicator-color: var(--r-steps-indicator-color-error);
571
+ --r-step-indicator-border-color: var(--r-steps-indicator-border-color-error);
572
+ --r-step-indicator-text-color: var(--r-steps-indicator-text-color-error);
573
+ --r-step-title-color: var(--r-steps-title-color-error);
574
+ --r-step-description-color: var(--foreground-muted);
575
+ }
576
+
577
+ @media (hover: hover) {
578
+ &.r-step--clickable:hover {
579
+ --r-step-title-color: var(--r-steps-title-color-hover);
580
+ }
581
+
582
+ &.r-step--clickable.r-step--wait:hover {
583
+ --r-step-indicator-border-color: var(--r-steps-indicator-border-color-hover);
584
+ }
585
+
586
+ &.r-step--clickable:not(.r-step--process):hover {
587
+ --r-step-indicator-shadow: var(--r-steps-indicator-shadow-hover);
588
+ }
589
+ }
590
+
591
+ &.r-step--disabled {
592
+ --r-step-title-color: var(--r-steps-title-color-disabled);
593
+ }
594
+ }
595
+
596
+ .r-steps > .r-step:is(.r-step--process, .r-step--finish, .r-step--error) {
597
+ --r-steps-indicator-border-width: 1.5px;
598
+ }
599
+
600
+ .r-steps {
601
+ line-height: var(--r-steps-line-height);
602
+ margin: 0;
603
+ padding: 0;
604
+ list-style: none;
605
+ display: flex;
606
+ }
607
+
608
+ .r-step {
609
+ min-width: 0;
610
+ margin: 0;
611
+ padding: 0;
612
+ display: flex;
613
+ position: relative;
614
+ }
615
+
616
+ .r-step__main {
617
+ gap: var(--r-steps-gap);
618
+ display: flex;
619
+ position: relative;
620
+ }
621
+
622
+ .r-step__indicator {
623
+ background: var(--r-step-indicator-color);
624
+ border: var(--r-steps-indicator-border-width) solid var(--r-step-indicator-border-color);
625
+ border-radius: var(--r-steps-indicator-radius);
626
+ box-shadow: var(--r-step-indicator-shadow);
627
+ box-sizing: border-box;
628
+ color: var(--r-step-indicator-text-color);
629
+ font-family: var(--r-steps-indicator-font-family);
630
+ font-size: var(--r-steps-indicator-font-size);
631
+ font-variant-numeric: tabular-nums;
632
+ font-weight: var(--r-steps-indicator-font-weight);
633
+ height: var(--r-steps-indicator-size);
634
+ transition: background-color var(--r-steps-duration) var(--r-steps-easing),
635
+ border-color var(--r-steps-duration) var(--r-steps-easing),
636
+ box-shadow var(--r-steps-duration) var(--r-steps-easing),
637
+ color var(--r-steps-duration) var(--r-steps-easing);
638
+ width: var(--r-steps-indicator-size);
639
+ flex: none;
640
+ justify-content: center;
641
+ align-items: center;
642
+ line-height: 1;
643
+ display: flex;
644
+
645
+ & > svg {
646
+ height: var(--r-steps-icon-size);
647
+ width: var(--r-steps-icon-size);
648
+ flex: none;
649
+ }
650
+ }
651
+
652
+ .r-step__content {
653
+ min-width: 0;
654
+ padding-top: calc((var(--r-steps-indicator-size) - var(--r-steps-title-font-size) * var(--r-steps-line-height)) /
655
+ 2);
656
+ }
657
+
658
+ .r-step__title {
659
+ color: var(--r-step-title-color);
660
+ font-family: var(--r-steps-title-font-family);
661
+ font-size: var(--r-steps-title-font-size);
662
+ font-weight: var(--r-steps-title-font-weight);
663
+ transition: color var(--r-steps-duration) var(--r-steps-easing);
664
+ white-space: nowrap;
665
+ display: block;
666
+ }
667
+
668
+ .r-step__description {
669
+ color: var(--r-step-description-color);
670
+ font-size: var(--r-steps-description-font-size);
671
+ margin-top: 2px;
672
+ }
673
+
674
+ .r-step__status {
675
+ clip-path: inset(50%);
676
+ white-space: nowrap;
677
+ width: 1px;
678
+ height: 1px;
679
+ position: absolute;
680
+ overflow: hidden;
681
+ }
682
+
683
+ .r-step__button {
684
+ appearance: none;
685
+ cursor: pointer;
686
+ line-height: inherit;
687
+ text-align: start;
688
+ background: none;
689
+ border: 0;
690
+ margin: 0;
691
+ padding: 0;
692
+
693
+ &:after {
694
+ border-radius: var(--r-steps-focus-radius);
695
+ content: "";
696
+ position: absolute;
697
+ inset: -4px;
698
+ }
699
+
700
+ &:focus-visible {
701
+ outline: none;
702
+ }
703
+
704
+ &:focus-visible:after {
705
+ outline: var(--r-steps-focus-outline);
706
+ }
707
+
708
+ &:disabled {
709
+ cursor: not-allowed;
710
+ }
711
+ }
712
+
713
+ .r-step__connector {
714
+ border-color: var(--r-step-connector-color);
715
+ transition: border-color var(--r-steps-duration) var(--r-steps-easing);
716
+ border-style: solid;
717
+ border-width: 0;
718
+ }
719
+
720
+ .r-step:last-child > .r-step__connector {
721
+ display: none;
722
+ }
723
+
724
+ .r-steps--horizontal > .r-step {
725
+ grid-template-columns: var(--r-steps-indicator-size) auto
726
+ calc(var(--r-steps-connector-min-width) + 2 * var(--r-steps-connector-gap));
727
+ flex: none;
728
+ align-content: start;
729
+ display: grid;
730
+
731
+ &:last-child {
732
+ grid-template-columns: var(--r-steps-indicator-size) auto;
733
+ }
734
+
735
+ & > .r-step__main, & > .r-step__main > .r-step__content {
736
+ display: contents;
737
+ }
738
+
739
+ & > .r-step__main > .r-step__indicator {
740
+ grid-area: 1 / 1;
741
+ }
742
+
743
+ & > .r-step__main > .r-step__content > .r-step__title {
744
+ grid-area: 1 / 2;
745
+ align-self: center;
746
+ margin-inline-start: var(--r-steps-gap);
747
+ }
748
+
749
+ & > .r-step__main > .r-step__content > .r-step__description {
750
+ grid-area: 2 / 2 / auto / -1;
751
+ margin-inline-start: var(--r-steps-gap);
752
+ }
753
+
754
+ & > .r-step__connector {
755
+ border-top-width: var(--r-steps-connector-width);
756
+ margin-inline: var(--r-steps-connector-gap);
757
+ grid-area: 1 / 3;
758
+ align-self: center;
759
+ }
760
+ }
761
+
762
+ @media (width >= 40rem) {
763
+ .r-steps--horizontal {
764
+ flex-wrap: wrap;
765
+ row-gap: 8px;
766
+ }
767
+ }
768
+
769
+ @media (width < 40rem) {
770
+ .r-steps--horizontal > .r-step {
771
+ --r-steps-connector-gap: 6px;
772
+ --r-steps-connector-min-width: 8px;
773
+ grid-template-columns: var(--r-steps-indicator-size) minmax(0, 1fr);
774
+ flex: 1 1 0;
775
+
776
+ &:last-child {
777
+ grid-template-columns: var(--r-steps-indicator-size) minmax(0, 1fr);
778
+ }
779
+
780
+ & > .r-step__main > .r-step__content {
781
+ padding-inline-end: var(--r-steps-connector-gap);
782
+ grid-area: 2 / 1 / auto / -1;
783
+ padding-top: 6px;
784
+ display: block;
785
+ }
786
+
787
+ & > .r-step__main > .r-step__content > .r-step__title, & > .r-step__main > .r-step__content > .r-step__description {
788
+ margin-inline-start: 0;
789
+ }
790
+
791
+ & > .r-step__main > .r-step__content > .r-step__title {
792
+ overflow-wrap: anywhere;
793
+ white-space: normal;
794
+ }
795
+
796
+ & > .r-step__connector {
797
+ grid-column: 2;
798
+ }
799
+ }
800
+ }
801
+
802
+ .r-steps--vertical {
803
+ flex-direction: column;
804
+ }
805
+
806
+ .r-steps--vertical > .r-step {
807
+ padding-bottom: var(--r-steps-vertical-item-gap);
808
+
809
+ &:last-child {
810
+ padding-bottom: 0;
811
+ }
812
+
813
+ & > .r-step__connector {
814
+ border-inline-start-width: var(--r-steps-connector-width);
815
+ bottom: 4px;
816
+ inset-inline-start: calc((var(--r-steps-indicator-size) - var(--r-steps-connector-width)) / 2);
817
+ top: calc(var(--r-steps-indicator-size) + 4px);
818
+ position: absolute;
819
+ }
820
+
821
+ & > .r-step__main > .r-step__content > .r-step__title {
822
+ white-space: normal;
823
+ }
824
+ }
825
+
826
+ @media (prefers-reduced-motion: reduce) {
827
+ .r-step__indicator, .r-step__title, .r-step__connector {
828
+ transition: none;
829
+ }
830
+ }
831
+ .r-otter-indicator {
832
+ overflow: visible;
833
+ }
834
+
835
+ .r-otter-indicator * {
836
+ transform-box: view-box;
837
+ }
838
+
839
+ .r-otter-indicator__body {
840
+ transform-origin: 24px 28px;
841
+ }
842
+
843
+ .r-otter-indicator__arm {
844
+ transform-origin: 29px 27px;
845
+ }
846
+
847
+ .r-otter-indicator__ripple {
848
+ opacity: 0;
849
+ transform-origin: 6px 30.5px;
850
+ }
851
+
852
+ .r-otter-indicator__z {
853
+ opacity: 0;
854
+ }
855
+
856
+ .r-otter-indicator__parcel--adrift {
857
+ transform-origin: 6px 25px;
858
+ }
859
+
860
+ @media (prefers-reduced-motion: no-preference) {
861
+ .r-otter-indicator__wave {
862
+ animation: 1.2s linear infinite r-otter-indicator-wave;
863
+ }
864
+
865
+ .r-otter-indicator__wave--back {
866
+ animation-duration: 2s;
867
+ }
868
+
869
+ .r-otter-indicator--process .r-otter-indicator__body {
870
+ animation: 1.8s ease-in-out infinite alternate r-otter-indicator-bob;
871
+ }
872
+
873
+ .r-otter-indicator--process .r-otter-indicator__arm {
874
+ animation: .9s ease-in-out infinite alternate r-otter-indicator-paddle;
875
+ }
876
+
877
+ .r-otter-indicator--process .r-otter-indicator__ripple {
878
+ animation: 1.8s ease-out infinite r-otter-indicator-ripple;
879
+ }
880
+
881
+ .r-otter-indicator--process .r-otter-indicator__ripple--late {
882
+ animation-delay: .9s;
883
+ }
884
+
885
+ .r-otter-indicator--finish .r-otter-indicator__wave {
886
+ animation-duration: 3s;
887
+ }
888
+
889
+ .r-otter-indicator--finish .r-otter-indicator__body {
890
+ animation: 3.2s ease-in-out infinite alternate r-otter-indicator-bob;
891
+ }
892
+
893
+ .r-otter-indicator--wait .r-otter-indicator__body {
894
+ animation: 2.4s ease-in-out infinite alternate r-otter-indicator-breathe;
895
+ }
896
+
897
+ .r-otter-indicator--wait .r-otter-indicator__z {
898
+ animation: 2.4s ease-out infinite r-otter-indicator-z;
899
+ }
900
+
901
+ .r-otter-indicator--wait .r-otter-indicator__z--late {
902
+ animation-delay: 1.2s;
903
+ }
904
+
905
+ .r-otter-indicator--error .r-otter-indicator__body {
906
+ animation: .18s linear infinite alternate r-otter-indicator-shiver;
907
+ }
908
+
909
+ .r-otter-indicator--error .r-otter-indicator__parcel--adrift {
910
+ animation: 2s ease-in-out infinite alternate r-otter-indicator-drift;
911
+ }
912
+ }
913
+
914
+ @media (prefers-reduced-motion: reduce) {
915
+ .r-otter-indicator__z {
916
+ opacity: 1;
917
+ }
918
+ }
919
+
920
+ @keyframes r-otter-indicator-bob {
921
+ from {
922
+ transform: translateY(-.6px) rotate(-3deg);
923
+ }
924
+
925
+ to {
926
+ transform: translateY(1.2px) rotate(2deg);
927
+ }
928
+ }
929
+
930
+ @keyframes r-otter-indicator-paddle {
931
+ from {
932
+ transform: rotate(-35deg);
933
+ }
934
+
935
+ to {
936
+ transform: rotate(30deg);
937
+ }
938
+ }
939
+
940
+ @keyframes r-otter-indicator-wave {
941
+ to {
942
+ transform: translateX(-12px);
943
+ }
944
+ }
945
+
946
+ @keyframes r-otter-indicator-ripple {
947
+ from {
948
+ opacity: .8;
949
+ transform: scale(.4);
950
+ }
951
+
952
+ to {
953
+ opacity: 0;
954
+ transform: scale(1.6);
955
+ }
956
+ }
957
+
958
+ @keyframes r-otter-indicator-breathe {
959
+ from {
960
+ transform: scale(1);
961
+ }
962
+
963
+ to {
964
+ transform: scale(1.02, 1.05);
965
+ }
966
+ }
967
+
968
+ @keyframes r-otter-indicator-z {
969
+ from {
970
+ opacity: 0;
971
+ transform: translate(0);
972
+ }
973
+
974
+ 30% {
975
+ opacity: 1;
976
+ }
977
+
978
+ to {
979
+ opacity: 0;
980
+ transform: translate(4px, -7px);
981
+ }
982
+ }
983
+
984
+ @keyframes r-otter-indicator-shiver {
985
+ from {
986
+ transform: translateX(-.4px);
987
+ }
988
+
989
+ to {
990
+ transform: translateX(.4px);
991
+ }
992
+ }
993
+
994
+ @keyframes r-otter-indicator-drift {
995
+ from {
996
+ transform: translate(0) rotate(-18deg);
997
+ }
998
+
999
+ to {
1000
+ transform: translate(-1.5px, 1.2px) rotate(-8deg);
1001
+ }
1002
+ }
1003
+ .r-combobox-select {
1004
+ min-width: 0;
1005
+ position: relative;
1006
+ }
1007
+
1008
+ .r-combobox-select__control {
1009
+ box-sizing: border-box;
1010
+ border: 1.5px solid var(--line-strong);
1011
+ background: var(--layer-card);
1012
+ min-width: 0;
1013
+ min-height: 44px;
1014
+ color: var(--foreground);
1015
+ box-shadow: none;
1016
+ border-radius: 8px;
1017
+ outline: 0;
1018
+ align-items: center;
1019
+ gap: .5rem;
1020
+ padding: 0 6px 0 12px;
1021
+ font-size: 16px;
1022
+ line-height: 24px;
1023
+ transition: box-shadow 90ms ease-out;
1024
+ display: flex;
1025
+ }
1026
+
1027
+ .r-combobox-select__control:focus-within {
1028
+ box-shadow: var(--focus-ring);
1029
+ }
1030
+
1031
+ .r-combobox-select__input {
1032
+ box-sizing: border-box;
1033
+ width: 100%;
1034
+ min-width: 3rem;
1035
+ color: inherit;
1036
+ font: inherit;
1037
+ background: none;
1038
+ border: 0;
1039
+ outline: 0;
1040
+ flex: 1;
1041
+ padding: 0;
1042
+ }
1043
+
1044
+ .r-combobox-select__input::placeholder {
1045
+ color: var(--foreground-hint);
1046
+ }
1047
+
1048
+ .r-combobox-select__chips {
1049
+ border: 0;
1050
+ flex-wrap: wrap;
1051
+ flex: 1;
1052
+ align-items: center;
1053
+ gap: 6px;
1054
+ min-width: 0;
1055
+ min-height: 28px;
1056
+ margin-inline-start: -6px;
1057
+ padding: 6px 0;
1058
+ display: flex;
1059
+ }
1060
+
1061
+ .r-combobox-select__chips .r-combobox-select__input {
1062
+ min-height: 28px;
1063
+ padding: 0 4px;
1064
+ }
1065
+
1066
+ .r-combobox-select__chip {
1067
+ background: var(--fill-muted);
1068
+ max-width: 100%;
1069
+ min-height: 28px;
1070
+ color: var(--foreground);
1071
+ border-radius: 6px;
1072
+ align-items: center;
1073
+ gap: 6px;
1074
+ padding: 0 2px 0 8px;
1075
+ font-size: 13px;
1076
+ font-weight: 600;
1077
+ line-height: 18px;
1078
+ display: inline-flex;
1079
+ overflow: hidden;
1080
+ }
1081
+
1082
+ .r-combobox-select__control:not(:focus-within) .r-combobox-select__chip[data-overflow] {
1083
+ display: none;
1084
+ }
1085
+
1086
+ .r-combobox-select__text {
1087
+ text-overflow: ellipsis;
1088
+ white-space: nowrap;
1089
+ min-width: 0;
1090
+ overflow: hidden;
1091
+ }
1092
+
1093
+ .r-combobox-select__actions {
1094
+ flex: none;
1095
+ align-items: center;
1096
+ gap: .125rem;
1097
+ display: inline-flex;
1098
+ }
1099
+
1100
+ .r-combobox-select__action, .r-combobox-select__remove {
1101
+ background: none;
1102
+ border: 0;
1103
+ outline: 0;
1104
+ flex: none;
1105
+ justify-content: center;
1106
+ align-items: center;
1107
+ padding: 0;
1108
+ transition: color .15s, background-color .15s;
1109
+ display: inline-flex;
1110
+ }
1111
+
1112
+ .r-combobox-select__remove {
1113
+ width: 22px;
1114
+ height: 22px;
1115
+ color: var(--foreground-hint);
1116
+ border-radius: 4px;
1117
+ }
1118
+
1119
+ .r-combobox-select__action {
1120
+ width: 32px;
1121
+ height: 32px;
1122
+ color: var(--foreground-hint);
1123
+ border-radius: 8px;
1124
+ }
1125
+
1126
+ .r-combobox-select__action > svg, .r-combobox-select__remove > svg {
1127
+ pointer-events: none;
1128
+ }
1129
+
1130
+ .r-combobox-select__action > svg {
1131
+ width: 16px;
1132
+ height: 16px;
1133
+ }
1134
+
1135
+ .r-combobox-select__remove > svg {
1136
+ width: .875rem;
1137
+ height: .875rem;
1138
+ }
1139
+
1140
+ .r-combobox-select__action:hover, .r-combobox-select__remove:hover {
1141
+ background: var(--fill-pressed);
1142
+ color: var(--foreground);
1143
+ }
1144
+
1145
+ .r-combobox-select__action:focus-visible, .r-combobox-select__remove:focus-visible {
1146
+ box-shadow: var(--focus-ring);
1147
+ }
1148
+
1149
+ .r-combobox-select__positioner {
1150
+ z-index: 50;
1151
+ isolation: isolate;
1152
+ outline: 0;
1153
+ }
1154
+
1155
+ .r-combobox-select__popup {
1156
+ box-sizing: border-box;
1157
+ width: var(--anchor-width, max-content);
1158
+ min-width: 13.75rem;
1159
+ max-width: var(--available-width);
1160
+ max-height: min(var(--available-height), 24rem);
1161
+ background: var(--layer-popover);
1162
+ color: var(--foreground);
1163
+ box-shadow: 0 0 0 1px var(--line-seam),
1164
+ var(--elevation-float);
1165
+ border: 0;
1166
+ border-radius: 10px;
1167
+ outline: 0;
1168
+ overflow: hidden;
1169
+ }
1170
+
1171
+ .r-combobox-select__list {
1172
+ overscroll-behavior: contain;
1173
+ max-height: 16rem;
1174
+ padding: 6px;
1175
+ scroll-padding-block: 6px;
1176
+ overflow-y: auto;
1177
+ }
1178
+
1179
+ .r-combobox-select__option {
1180
+ box-sizing: border-box;
1181
+ cursor: default;
1182
+ user-select: none;
1183
+ width: 100%;
1184
+ min-height: 36px;
1185
+ color: var(--foreground);
1186
+ border-radius: 8px;
1187
+ outline: 0;
1188
+ justify-content: space-between;
1189
+ align-items: center;
1190
+ gap: 10px;
1191
+ padding: 0 10px;
1192
+ font-size: 14px;
1193
+ font-weight: 500;
1194
+ line-height: 20px;
1195
+ transition: background-color .12s, color .12s;
1196
+ display: flex;
1197
+ overflow: hidden;
1198
+ }
1199
+
1200
+ .r-combobox-select__option:hover, .r-combobox-select__option[data-highlighted] {
1201
+ background: var(--brand-soft);
1202
+ color: var(--foreground);
1203
+ }
1204
+
1205
+ .r-combobox-select__option[data-selected] {
1206
+ font-weight: 700;
1207
+ }
1208
+
1209
+ .r-combobox-select__option[data-disabled] {
1210
+ pointer-events: none;
1211
+ color: var(--foreground-disabled);
1212
+ background: none;
1213
+ }
1214
+
1215
+ .r-combobox-select__option > svg {
1216
+ pointer-events: none;
1217
+ width: 16px;
1218
+ height: 16px;
1219
+ color: var(--foreground-muted);
1220
+ flex: none;
1221
+ }
1222
+
1223
+ .r-combobox-select__indicator {
1224
+ color: var(--foreground);
1225
+ flex: none;
1226
+ justify-content: center;
1227
+ align-items: center;
1228
+ margin-inline-start: auto;
1229
+ display: inline-flex;
1230
+ }
1231
+
1232
+ .r-combobox-select__indicator > svg {
1233
+ width: 16px;
1234
+ height: 16px;
1235
+ }
1236
+
1237
+ .r-combobox-select__group-label {
1238
+ color: var(--foreground-hint);
1239
+ padding: 8px 10px 4px;
1240
+ font-size: 12px;
1241
+ font-weight: 700;
1242
+ line-height: 16px;
1243
+ }
1244
+
1245
+ .r-combobox-select__message {
1246
+ color: var(--foreground-hint);
1247
+ text-align: start;
1248
+ padding: 14px 16px;
1249
+ font-size: 14px;
1250
+ line-height: 20px;
1251
+ }
1252
+
1253
+ .r-combobox-select__overflow {
1254
+ color: var(--foreground-hint);
1255
+ font-family: var(--mono-font, ui-monospace, monospace);
1256
+ font-size: 12px;
1257
+ line-height: 16px;
1258
+ }
1259
+
1260
+ .r-combobox-select__spinner {
1261
+ width: .875rem;
1262
+ height: .875rem;
1263
+ animation: .7s linear infinite r-combobox-select-spin;
1264
+ }
1265
+
1266
+ .r-combobox-select--sm.r-combobox-select__control {
1267
+ min-height: 1.75rem;
1268
+ font-size: 13px;
1269
+ line-height: 18px;
1270
+ }
1271
+
1272
+ .r-combobox-select--sm .r-combobox-select__chips {
1273
+ min-height: 1.5rem;
1274
+ padding: 1px 0;
1275
+ }
1276
+
1277
+ .r-combobox-select--sm .r-combobox-select__chip {
1278
+ min-height: 1.375rem;
1279
+ }
1280
+
1281
+ .r-combobox-select--sm .r-combobox-select__action {
1282
+ width: 1.5rem;
1283
+ height: 1.5rem;
1284
+ }
1285
+
1286
+ .r-combobox-select--lg.r-combobox-select__control {
1287
+ min-height: 52px;
1288
+ }
1289
+
1290
+ .r-combobox-select__control[data-status="error"], .r-combobox-select__control[data-invalid] {
1291
+ border-color: var(--danger-strong);
1292
+ }
1293
+
1294
+ .r-combobox-select__control[data-status="warning"] {
1295
+ border-color: var(--warning-strong);
1296
+ }
1297
+
1298
+ .r-combobox-select__control[data-disabled] {
1299
+ border-color: var(--line-hairline);
1300
+ background: var(--fill-muted);
1301
+ color: var(--foreground-disabled);
1302
+ }
1303
+
1304
+ @keyframes r-combobox-select-spin {
1305
+ to {
1306
+ transform: rotate(360deg);
1307
+ }
1308
+ }
1309
+
1310
+ @media (prefers-reduced-motion: reduce) {
1311
+ .r-combobox-select *, .r-combobox-select__positioner {
1312
+ transition-duration: .01ms !important;
1313
+ animation-duration: .01ms !important;
1314
+ }
1315
+ }