@bioturing/components 0.14.1 → 0.15.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 (82) hide show
  1. package/dist/Badge.css +6 -0
  2. package/dist/Breadcrumb.css +83 -0
  3. package/dist/Checkbox.css +13 -0
  4. package/dist/CodeBlock.css +213 -0
  5. package/dist/CodeBlock.js +11 -8
  6. package/dist/Collapse.css +21 -0
  7. package/dist/DSRoot.css +667 -0
  8. package/dist/DSRoot.js +264 -17
  9. package/dist/DropdownMenu.css +95 -0
  10. package/dist/Empty.css +19 -0
  11. package/dist/Field.css +14 -0
  12. package/dist/Form.css +64 -0
  13. package/dist/IconButton.css +52 -0
  14. package/dist/Modal.css +317 -0
  15. package/dist/Modal.js +256 -9
  16. package/dist/PopupPanel.css +156 -102
  17. package/dist/Radio.css +14 -0
  18. package/dist/ScrollArea.css +64 -0
  19. package/dist/ScrollArea.js +4 -4
  20. package/dist/Segmented.css +16 -0
  21. package/dist/Select.css +24 -0
  22. package/dist/Spin.css +36 -0
  23. package/dist/Splitter.css +6 -0
  24. package/dist/Switch.css +7 -0
  25. package/dist/Table.css +116 -0
  26. package/dist/Tag.css +17 -0
  27. package/dist/ThemeProvider.css +39 -0
  28. package/dist/Toast.css +622 -0
  29. package/dist/Toast.js +264 -17
  30. package/dist/Tooltip.css +6 -0
  31. package/dist/Tour.css +73 -0
  32. package/dist/Tour.js +1 -1
  33. package/dist/Truncate.css +31 -0
  34. package/dist/Truncate.js +75 -19
  35. package/dist/Upload.css +144 -0
  36. package/dist/Upload.js +75 -19
  37. package/dist/VerticalCollapsiblePanel.css +193 -0
  38. package/dist/VerticalCollapsiblePanel.js +75 -19
  39. package/dist/components/Badge/component.d.ts +1 -0
  40. package/dist/components/Breadcrumb/component.d.ts +1 -0
  41. package/dist/components/Button/component.d.ts +1 -0
  42. package/dist/components/Checkbox/component.d.ts +1 -0
  43. package/dist/components/CodeBlock/component.d.ts +2 -1
  44. package/dist/components/CodeBlock/types.d.ts +12 -0
  45. package/dist/components/Collapse/component.d.ts +1 -0
  46. package/dist/components/DSRoot/component.d.ts +1 -0
  47. package/dist/components/DropdownMenu/component.d.ts +1 -0
  48. package/dist/components/Empty/component.d.ts +1 -0
  49. package/dist/components/Field/component.d.ts +1 -0
  50. package/dist/components/Form/component.d.ts +1 -0
  51. package/dist/components/IconButton/component.d.ts +1 -0
  52. package/dist/components/Modal/index.d.ts +1 -0
  53. package/dist/components/Radio/component.d.ts +1 -0
  54. package/dist/components/ScrollArea/component.d.ts +26 -4
  55. package/dist/components/Segmented/component.d.ts +1 -0
  56. package/dist/components/Select/component.d.ts +1 -0
  57. package/dist/components/Spin/component.d.ts +1 -0
  58. package/dist/components/Splitter/component.d.ts +1 -0
  59. package/dist/components/Stack/Stack.d.ts +39 -0
  60. package/dist/components/Stack/StackChild.d.ts +30 -0
  61. package/dist/components/Stack/index.d.ts +8 -0
  62. package/dist/components/Switch/component.d.ts +1 -0
  63. package/dist/components/Table/component.d.ts +1 -0
  64. package/dist/components/Tag/component.d.ts +1 -0
  65. package/dist/components/ThemeProvider/component.d.ts +1 -0
  66. package/dist/components/Toast/component.d.ts +1 -0
  67. package/dist/components/Tooltip/component.d.ts +1 -0
  68. package/dist/components/Tour/component.d.ts +1 -0
  69. package/dist/components/Truncate/component.d.ts +3 -0
  70. package/dist/components/Upload/index.d.ts +1 -0
  71. package/dist/components/VerticalCollapsiblePanel/component.d.ts +1 -0
  72. package/dist/components/index.d.ts +1 -0
  73. package/dist/hooks.js +1 -1
  74. package/dist/index.css +1469 -114
  75. package/dist/index.d.ts +1 -0
  76. package/dist/index.js +784 -156
  77. package/dist/metadata.d.ts +363 -0
  78. package/dist/tailwind.css +118 -1
  79. package/package.json +2 -2
  80. package/dist/style.css +0 -1392
  81. package/dist/style.js +0 -0
  82. package/dist/tailwind.js +0 -0
package/dist/Toast.css ADDED
@@ -0,0 +1,622 @@
1
+ @layer components {
2
+ span.ds-btn-icon {
3
+ align-items: center;
4
+ display: flex;
5
+ }
6
+ }
7
+
8
+ @layer components {
9
+ .ds-stack {
10
+ display: flex;
11
+ }
12
+
13
+ .ds-stack-hug {
14
+ display: inline-flex;
15
+ }
16
+
17
+ .ds-stack-horizontal {
18
+ flex-direction: row;
19
+ }
20
+
21
+ .ds-stack-vertical {
22
+ flex-direction: column;
23
+ }
24
+
25
+ .ds-stack-fill.ds-stack-vertical {
26
+ height: 100%;
27
+ }
28
+
29
+ .ds-stack-fill.ds-stack-horizontal {
30
+ width: 100%;
31
+ }
32
+
33
+ .ds-stack-wrap {
34
+ flex-wrap: wrap;
35
+ }
36
+
37
+ .ds-stack-gap-0 {
38
+ gap: 0;
39
+ }
40
+
41
+ .ds-stack-gap-1 {
42
+ gap: 1px;
43
+ }
44
+
45
+ .ds-stack-gap-2 {
46
+ gap: 2px;
47
+ }
48
+
49
+ .ds-stack-gap-4 {
50
+ gap: 4px;
51
+ }
52
+
53
+ .ds-stack-gap-8 {
54
+ gap: 8px;
55
+ }
56
+
57
+ .ds-stack-gap-12 {
58
+ gap: 12px;
59
+ }
60
+
61
+ .ds-stack-gap-16 {
62
+ gap: 16px;
63
+ }
64
+
65
+ .ds-stack-gap-24, .ds-stack-gap-32 {
66
+ gap: 24px;
67
+ }
68
+
69
+ .ds-stack-align-flex-start {
70
+ align-items: flex-start;
71
+ }
72
+
73
+ .ds-stack-align-flex-end {
74
+ align-items: flex-end;
75
+ }
76
+
77
+ .ds-stack-align-center {
78
+ align-items: center;
79
+ }
80
+
81
+ .ds-stack-align-stretch {
82
+ align-items: stretch;
83
+ }
84
+
85
+ .ds-stack-align-baseline {
86
+ align-items: baseline;
87
+ }
88
+
89
+ .ds-stack-justify-flex-start {
90
+ justify-content: flex-start;
91
+ }
92
+
93
+ .ds-stack-justify-flex-end {
94
+ justify-content: flex-end;
95
+ }
96
+
97
+ .ds-stack-justify-center {
98
+ justify-content: center;
99
+ }
100
+
101
+ .ds-stack-justify-space-between {
102
+ justify-content: space-between;
103
+ }
104
+
105
+ .ds-stack-justify-space-around {
106
+ justify-content: space-around;
107
+ }
108
+
109
+ .ds-stack-justify-space-evenly {
110
+ justify-content: space-evenly;
111
+ }
112
+
113
+ .ds-stack-child {
114
+ min-width: 0;
115
+ min-height: 0;
116
+ }
117
+
118
+ .ds-stack-child-flex-0 {
119
+ flex: 0;
120
+ }
121
+
122
+ .ds-stack-child-flex-1 {
123
+ flex: 1;
124
+ }
125
+
126
+ .ds-stack-child-grow {
127
+ flex-grow: 1;
128
+ }
129
+
130
+ .ds-stack-child-shrink {
131
+ flex-shrink: 1;
132
+ }
133
+ }
134
+
135
+ @layer components {
136
+ .ds-truncate {
137
+ white-space: nowrap;
138
+ flex-grow: 1;
139
+ width: 100%;
140
+ min-width: 0;
141
+ max-width: 100%;
142
+ display: block;
143
+ overflow: hidden;
144
+ }
145
+
146
+ .ds-truncate-end {
147
+ text-overflow: ellipsis;
148
+ }
149
+
150
+ .ds-truncate-middle {
151
+ text-overflow: clip;
152
+ }
153
+
154
+ .ds-truncate-multiline {
155
+ -webkit-line-clamp: var(--ds-line-clamp, 2);
156
+ line-clamp: var(--ds-line-clamp, 2);
157
+ white-space: normal;
158
+ text-overflow: ellipsis;
159
+ word-break: break-word;
160
+ -webkit-box-orient: vertical;
161
+ display: -webkit-box;
162
+ overflow: hidden;
163
+ }
164
+ }
165
+
166
+ @layer components {
167
+ .ds-icon-button {
168
+ cursor: pointer;
169
+ color: var(--ds-color-icon);
170
+ background-color: #0000;
171
+ border: none;
172
+ border-radius: 999px;
173
+ justify-content: center;
174
+ align-items: center;
175
+ transition: all .2s;
176
+ display: inline-flex;
177
+ }
178
+
179
+ .ds-icon-button:hover {
180
+ background-color: var(--ds-color-fill-secondary);
181
+ color: var(--ds-color-icon-hover);
182
+ }
183
+
184
+ .ds-icon-button:active, .ds-icon-button.ds-popover-open {
185
+ background-color: var(--ds-color-primary-bg);
186
+ color: var(--ds-color-primary);
187
+ }
188
+
189
+ .ds-icon-button:focus {
190
+ outline: none;
191
+ }
192
+
193
+ .ds-icon-button:disabled {
194
+ cursor: not-allowed;
195
+ pointer-events: none;
196
+ color: var(--ds-color-text-disabled);
197
+ }
198
+
199
+ .ds-icon-button.ds-icon-button-medium {
200
+ width: 1.5rem;
201
+ height: 1.5rem;
202
+ padding: .125rem;
203
+ font-size: 1.25rem;
204
+ }
205
+
206
+ .ds-icon-button.ds-icon-button-small {
207
+ width: 1.25rem;
208
+ height: 1.25rem;
209
+ padding: .125rem;
210
+ font-size: 1rem;
211
+ }
212
+
213
+ .ds-icon-button.ds-icon-button-negative-margin {
214
+ margin: -.125rem;
215
+ }
216
+ }
217
+
218
+ @layer components {
219
+ .ds-modal-wrap {
220
+ max-height: 100vh;
221
+ }
222
+
223
+ .ds-modal-wrap .ds-modal-close-x {
224
+ width: 100%;
225
+ display: flex;
226
+ }
227
+
228
+ .ds-modal-wrap .ds-modal {
229
+ max-height: 100vh;
230
+ margin-top: 0;
231
+ margin-bottom: 0;
232
+ padding-bottom: 0;
233
+ top: 0;
234
+ }
235
+
236
+ :is(.ds-modal-wrap .ds-modal) .ds-modal-content {
237
+ box-shadow: var(--ds-box-shadow-secondary);
238
+ background: var(--ds-modal-bg);
239
+ flex-direction: column;
240
+ padding: 0;
241
+ display: flex;
242
+ }
243
+
244
+ :is(.ds-modal-wrap .ds-modal) .ds-modal-body {
245
+ padding: var(--ds-modal-content-padding);
246
+ flex-grow: 1;
247
+ flex-shrink: 1;
248
+ min-height: 0;
249
+ overflow: auto;
250
+ }
251
+
252
+ :is(.ds-modal-wrap .ds-modal) .ds-modal-header {
253
+ padding: calc(var(--ds-modal-padding) * 2 / 3) var(--ds-modal-padding) 0 var(--ds-modal-padding);
254
+ background: none;
255
+ margin-bottom: 0;
256
+ }
257
+
258
+ :is(.ds-modal-wrap .ds-modal) .ds-modal-footer {
259
+ padding: 0 var(--ds-modal-padding) var(--ds-modal-padding) var(--ds-modal-padding);
260
+ background: none;
261
+ margin-top: 0;
262
+ }
263
+
264
+ :is(.ds-modal-wrap .ds-modal) .ds-modal-close {
265
+ top: calc(var(--ds-modal-padding) * 2 / 3 - 4px);
266
+ }
267
+
268
+ .ds-modal-wrap:not(.ds-modal-centered) .ds-modal-inner {
269
+ margin-top: 4rem;
270
+ }
271
+
272
+ .ds-modal-wrap:not(.ds-modal-fullscreen) .ds-modal-content {
273
+ max-height: calc(100vh - var(--ds-modal-edge-padding) * 2);
274
+ margin: var(--ds-modal-edge-padding);
275
+ }
276
+
277
+ .ds-modal-wrap:not(.ds-modal-fullscreen) .ds-modal > div[tabindex="0"] {
278
+ max-height: calc(100vh - var(--ds-modal-edge-padding) * 2);
279
+ }
280
+
281
+ .ds-modal-no-body-scroll .ds-modal {
282
+ max-height: 100%;
283
+ }
284
+
285
+ :is(.ds-modal-no-body-scroll .ds-modal) .ds-modal-body {
286
+ display: grid;
287
+ overflow: hidden;
288
+ }
289
+
290
+ :is(:is(.ds-modal-no-body-scroll .ds-modal) .ds-modal-body) > * {
291
+ min-height: 0;
292
+ }
293
+
294
+ .ds-modal-fullscreen .ds-modal > div[tabindex="0"], .ds-modal-fullscreen .ds-modal .ds-modal-inner {
295
+ height: 100%;
296
+ }
297
+
298
+ .ds-modal-fullscreen .ds-modal .ds-modal-content {
299
+ border-radius: 0;
300
+ width: 100%;
301
+ height: 100%;
302
+ }
303
+
304
+ :is(.ds-modal-fixed .ds-modal) .ds-modal-footer {
305
+ border-top: 1px solid var(--ds-color-split);
306
+ padding: calc(var(--ds-modal-padding) / 2) var(--ds-modal-padding);
307
+ margin-top: 0;
308
+ }
309
+
310
+ :is(.ds-modal-fixed .ds-modal) .ds-modal-header {
311
+ border-bottom: 1px solid var(--ds-color-split);
312
+ padding: calc(var(--ds-modal-padding) / 2) var(--ds-modal-padding);
313
+ margin-bottom: 0;
314
+ }
315
+
316
+ :is(.ds-modal-fixed .ds-modal) .ds-modal-close {
317
+ top: 8px;
318
+ }
319
+
320
+ :is(.ds-modal-content-overflow .ds-modal) .ds-modal-inner {
321
+ margin-top: 0;
322
+ }
323
+ }
324
+
325
+ @layer components {
326
+ .ds-toast-viewport {
327
+ z-index: 2001;
328
+ justify-content: center;
329
+ width: 100%;
330
+ max-width: 30rem;
331
+ margin: 0 auto;
332
+ display: flex;
333
+ position: fixed;
334
+ top: auto;
335
+ bottom: 2rem;
336
+ left: 50%;
337
+ transform: translateX(-50%);
338
+ }
339
+
340
+ .ds-toast {
341
+ --gap: .5rem;
342
+ --offset-y: calc(var(--toast-offset-y) * -1 + (var(--toast-index) * var(--gap) * -1) + var(--toast-swipe-movement-y));
343
+ font-family: var(--font-sans);
344
+ box-sizing: border-box;
345
+ background: var(--ds-color-bg-elevated);
346
+ color: var(--ds-color-text);
347
+ gap: var(--gap);
348
+ max-width: 100%;
349
+ box-shadow: var(--ds-box-shadow-secondary);
350
+ -webkit-user-select: none;
351
+ user-select: none;
352
+ cursor: default;
353
+ z-index: calc(1000 - var(--toast-index));
354
+ transform: translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--toast-swipe-movement-y) + (var(--toast-index) * -20%))) scale(calc(1 - (var(--toast-index) * .1)));
355
+ background-clip: padding-box;
356
+ border-radius: .5rem;
357
+ margin-right: 0;
358
+ padding: .75rem 1rem;
359
+ transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s;
360
+ display: inline-flex;
361
+ position: absolute;
362
+ bottom: 0;
363
+ }
364
+
365
+ .ds-toast:after {
366
+ top: 100%;
367
+ }
368
+
369
+ .ds-toast[data-expanded] {
370
+ transform: translateX(var(--toast-swipe-movement-x)) translateY(var(--offset-y));
371
+ }
372
+
373
+ .ds-toast[data-starting-style], .ds-toast[data-ending-style]:not([data-limited]) {
374
+ transform: translateY(150%);
375
+ }
376
+
377
+ .ds-toast[data-ending-style] {
378
+ opacity: 0;
379
+ }
380
+
381
+ .ds-toast[data-ending-style][data-swipe-direction="up"] {
382
+ transform: translateY(calc(var(--toast-swipe-movement-y) - 150%));
383
+ }
384
+
385
+ .ds-toast[data-ending-style][data-swipe-direction="left"] {
386
+ transform: translateX(calc(var(--toast-swipe-movement-x) - 150%)) translateY(var(--offset-y));
387
+ }
388
+
389
+ .ds-toast[data-ending-style][data-swipe-direction="right"] {
390
+ transform: translateX(calc(var(--toast-swipe-movement-x) + 150%)) translateY(var(--offset-y));
391
+ }
392
+
393
+ .ds-toast[data-ending-style][data-swipe-direction="down"] {
394
+ transform: translateY(calc(var(--toast-swipe-movement-y) + 150%));
395
+ }
396
+
397
+ .ds-toast:after {
398
+ content: "";
399
+ width: 100%;
400
+ height: calc(var(--gap) + 1px);
401
+ position: absolute;
402
+ left: 0;
403
+ }
404
+
405
+ .ds-toast-content {
406
+ flex-direction: column;
407
+ flex: 1;
408
+ gap: 2px;
409
+ display: flex;
410
+ }
411
+
412
+ .ds-toast-title {
413
+ font-size: var(--text-ds-h5);
414
+ font-weight: var(--text-ds-h5--font-weight);
415
+ line-height: var(--text-ds-h5--line-height);
416
+ }
417
+
418
+ .ds-toast-description {
419
+ font-size: var(--ds-font-size);
420
+ line-height: var(--ds-line-height);
421
+ }
422
+
423
+ .ds-toast-description-traceback p:not(:first-child) {
424
+ margin-top: .5rem;
425
+ }
426
+
427
+ .ds-toast-icon-wrap {
428
+ flex: 0;
429
+ width: 1.25rem;
430
+ font-size: 1.25rem;
431
+ display: block;
432
+ }
433
+
434
+ .ds-toast-icon {
435
+ width: 1.25rem;
436
+ height: 1.25rem;
437
+ display: block;
438
+ }
439
+
440
+ .ds-toast-icon.ds-toast-icon-info {
441
+ color: var(--ds-color-primary);
442
+ }
443
+
444
+ .ds-toast-icon.ds-toast-icon-success {
445
+ color: var(--ds-color-success);
446
+ }
447
+
448
+ .ds-toast-icon.ds-toast-icon-warning {
449
+ color: var(--ds-color-warning);
450
+ }
451
+
452
+ .ds-toast-icon.ds-toast-icon-error {
453
+ color: var(--ds-color-error);
454
+ }
455
+
456
+ .ds-toast-icon.ds-toast-icon-progress {
457
+ color: var(--ds-color-primary);
458
+ animation: var(--ds-animate-spin);
459
+ }
460
+ }
461
+
462
+ :root {
463
+ --ds-modal-padding: 24px;
464
+ --ds-modal-edge-padding: 16px;
465
+ --ds-popup-panel-padding: 16px;
466
+ --ds-scrollbar-width: auto;
467
+ --ds-scrollbar-width-legacy: 15;
468
+ --ds-box-shadow-popover-arrow: 0px 0px 1px 0px var(--ds-color-border-modal), 2px 2px 5px #0000000d;
469
+ --ds-inter: "Inter", Helvetica, Arial, sans-serif;
470
+ --ds-roboto-mono: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
471
+ }
472
+
473
+ @supports (font-variation-settings: normal) {
474
+ :root {
475
+ --ds-inter: "InterVariable", Inter, Helvetica, Arial, sans-serif;
476
+ --ds-roboto-mono: "Roboto Mono Variable", Roboto Mono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
477
+ font-optical-sizing: auto;
478
+ }
479
+ }
480
+
481
+ @layer components {
482
+ .ds-theme-provider {
483
+ --ds-color-bg-segment-active: #fff;
484
+ --ds-scrollbar-color-thumb: #0003;
485
+ --ds-scrollbar-color-track: #0000;
486
+ --ds-color-base-solid: #000;
487
+ --ds-color-table-fixed-column-shadow: #0000001a;
488
+ --ds-color-border-modal: #0000003d;
489
+ }
490
+
491
+ .ds-theme-provider.dark {
492
+ --ds-color-border-modal: #ffffff8c;
493
+ --ds-color-bg-segment-active: #424248;
494
+ --ds-scrollbar-color-thumb: #fff3;
495
+ --ds-scrollbar-color-track: #0000;
496
+ --ds-color-base-solid: #fff;
497
+ --ds-color-table-fixed-column-shadow: #0003;
498
+ }
499
+ }
500
+
501
+ @layer components {
502
+ .ds-code-block {
503
+ background: var(--ds-color-bg-layout);
504
+ box-shadow: 0 0 0 1px inset var(--ds-color-split);
505
+ border-radius: var(--ds-border-radius);
506
+ font-family: var(--font-mono);
507
+ padding: 1rem;
508
+ position: relative;
509
+ }
510
+
511
+ .ds-code-block-header {
512
+ justify-items: start;
513
+ margin-bottom: .75rem;
514
+ display: flex;
515
+ }
516
+
517
+ .ds-code-block-copy {
518
+ opacity: 0;
519
+ transition: opacity .2s ease-in-out;
520
+ position: absolute;
521
+ top: 1rem;
522
+ right: .75rem;
523
+ }
524
+
525
+ .ds-code-block:hover .ds-code-block-copy {
526
+ opacity: 100;
527
+ }
528
+
529
+ .ds-code-block-content {
530
+ flex-direction: column;
531
+ flex: 1;
532
+ min-height: 0;
533
+ padding-right: 1.5rem;
534
+ display: flex;
535
+ overflow: hidden;
536
+ }
537
+
538
+ .ds-code-block-content .ds-scoll-area {
539
+ max-height: 30rem;
540
+ }
541
+ }
542
+
543
+ @layer components {
544
+ .ds-segmented .ds-segmented-item-label {
545
+ justify-content: center;
546
+ align-items: center;
547
+ display: flex;
548
+ }
549
+
550
+ .ds-segmented .ds-segmented-item-icon {
551
+ justify-content: center;
552
+ align-items: center;
553
+ height: 100%;
554
+ font-size: 1rem;
555
+ display: flex;
556
+ }
557
+ }
558
+
559
+ @layer components {
560
+ .ds-scroll-area {
561
+ flex-direction: column;
562
+ flex: 1;
563
+ height: 100%;
564
+ min-height: 0;
565
+ display: flex;
566
+ }
567
+
568
+ .ds-scroll-area .ds-scroll-area-viewport {
569
+ overscroll-behavior: contain;
570
+ flex-shrink: 1;
571
+ height: 100%;
572
+ max-height: 100%;
573
+ overflow: hidden;
574
+ }
575
+
576
+ :is(.ds-scroll-area .ds-scroll-area-viewport):focus-visible {
577
+ outline-offset: 4px;
578
+ outline-width: 2px;
579
+ outline-color: var(--ds-color-primary);
580
+ }
581
+
582
+ .ds-scroll-area .ds-scroll-area-scrollbar {
583
+ opacity: 0;
584
+ background-color: #0000;
585
+ justify-content: center;
586
+ padding: .25rem;
587
+ transition-property: opacity;
588
+ transition-delay: .1s;
589
+ display: flex;
590
+ }
591
+
592
+ :is(.ds-scroll-area .ds-scroll-area-scrollbar) .ds-scroll-area-thumb {
593
+ background-color: var(--ds-color-bg-fill-tertiary);
594
+ border: 1px solid var(--ds-color-border);
595
+ border-radius: 9999px;
596
+ }
597
+
598
+ [data-orientation="vertical"]:is(.ds-scroll-area .ds-scroll-area-scrollbar) {
599
+ width: .875rem;
600
+ }
601
+
602
+ [data-orientation="vertical"]:is(.ds-scroll-area .ds-scroll-area-scrollbar) .ds-scroll-area-thumb {
603
+ width: 100%;
604
+ }
605
+
606
+ [data-orientation="horizontal"]:is(.ds-scroll-area .ds-scroll-area-scrollbar) {
607
+ flex-direction: column;
608
+ width: 100%;
609
+ height: .875rem;
610
+ }
611
+
612
+ [data-orientation="horizontal"]:is(.ds-scroll-area .ds-scroll-area-scrollbar) .ds-scroll-area-thumb {
613
+ height: 100%;
614
+ }
615
+
616
+ [data-hovering]:is(.ds-scroll-area .ds-scroll-area-scrollbar), [data-scrolling]:is(.ds-scroll-area .ds-scroll-area-scrollbar) {
617
+ opacity: 1;
618
+ transition-duration: .2s;
619
+ transition-delay: 0s;
620
+ }
621
+ }
622
+