@vuu-ui/vuu-ui-controls 0.8.32-debug → 0.8.33

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 (35) hide show
  1. package/cjs/index.js +230 -13472
  2. package/package.json +16 -14
  3. package/types/calendar/Calendar.d.ts +1 -2
  4. package/types/calendar/internal/CalendarCarousel.d.ts +0 -1
  5. package/types/calendar/internal/CalendarDay.d.ts +0 -1
  6. package/types/calendar/internal/CalendarMonth.d.ts +1 -2
  7. package/types/calendar/internal/CalendarNavigation.d.ts +0 -1
  8. package/types/calendar/internal/CalendarWeekHeader.d.ts +0 -1
  9. package/types/calendar/useCalendar.d.ts +1 -1
  10. package/types/drag-drop/drop-target-utils.d.ts +6 -6
  11. package/types/drag-drop/useAutoScroll.d.ts +1 -1
  12. package/types/overflow-container/overflow-utils.d.ts +0 -1
  13. package/types/split-button/useSplitButton.d.ts +35 -35
  14. package/types/tabstrip/Tab.d.ts +2 -2
  15. package/types/toolbar/Toolbar.d.ts +1 -1
  16. package/types/toolbar/useSelection.d.ts +1 -1
  17. package/types/tree/Tree.d.ts +2 -20
  18. package/types/tree/hierarchical-data-utils.d.ts +1 -1
  19. package/types/tree/index.d.ts +2 -1
  20. package/types/tree/treeTypeUtils.d.ts +2 -0
  21. package/types/tree/treeTypes.d.ts +17 -0
  22. package/types/tree/use-collapsible-groups.d.ts +1 -1
  23. package/types/tree/use-hierarchical-data.d.ts +1 -1
  24. package/types/tree/use-items-with-ids.d.ts +1 -1
  25. package/types/tree/use-keyboard-navigation.d.ts +1 -1
  26. package/types/tree/use-selection.d.ts +1 -1
  27. package/types/tree/use-tree-keyboard-navigation.d.ts +1 -1
  28. package/types/tree/useTree.d.ts +1 -1
  29. package/types/utils/index.d.ts +1 -0
  30. package/types/utils/isOverflowElement.d.ts +1 -0
  31. package/cjs/index.js.map +0 -7
  32. package/esm/index.js +0 -13605
  33. package/esm/index.js.map +0 -7
  34. package/index.css +0 -1664
  35. package/index.css.map +0 -7
package/index.css DELETED
@@ -1,1664 +0,0 @@
1
- /* src/dropdown/Dropdown.css */
2
- .vuuDropdown {
3
- --saltIcon-margin: 2px 0 0 8px;
4
- --saltButton-height: var(--vuuDropdown-height);
5
- --saltButton-width: var(--vuuDropdown-width);
6
- line-height: 0;
7
- position: relative;
8
- }
9
- .vuuDropdownButton.saltButton-secondary {
10
- --saltButton-background: var(--salt-editable-background);
11
- --saltButton-color: var(--salt-editable-foreground);
12
- --saltButton-borderStyle: solid;
13
- --saltButton-borderColor: var(--salt-editable-borderColor);
14
- --saltButton-borderWidth: 1px;
15
- }
16
- .vuuDropdown-fullWidth {
17
- width: 100%;
18
- }
19
- .vuuDropdown-popup {
20
- background: var(--salt-container-primary-background);
21
- z-index: calc(var(--salt-zIndex-flyover) - 1);
22
- }
23
- .vuuDropdown-popup-component {
24
- --vuuList-borderStyle: none;
25
- }
26
-
27
- /* src/dropdown/DropdownButton.css */
28
- .vuuDropdownButton {
29
- --saltButton-background-hover: var(--salt-actionable-secondary-background);
30
- --saltButton-background-active: var(--salt-actionable-secondary-background);
31
- --saltButton-fontWeight: var(--salt-text-fontWeight-strong);
32
- --saltButton-textAlign: left;
33
- --saltButton-textTransform: none;
34
- --saltButton-width: 100%;
35
- --vuu-icon-size: 16px;
36
- }
37
- .vuuDropdownButton:active {
38
- --saltIcon-color: var(--salt-actionable-secondary-foreground);
39
- --saltButton-text-color-active: var(--salt-actionable-secondary-foreground);
40
- }
41
- .vuuDropdownButton-fullwidth {
42
- width: 100%;
43
- }
44
- .vuuDropdownButton-content {
45
- align-items: center;
46
- flex: 1;
47
- width: 100%;
48
- display: flex;
49
- white-space: nowrap;
50
- }
51
- .vuuDropdownButton-buttonLabel {
52
- display: inline-block;
53
- letter-spacing: 0;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- width: 100%;
57
- }
58
- .vuuDropdownButton-formField.saltButton:focus,
59
- .vuuDropdownButton-formField.saltButton:focus-visible {
60
- outline: none;
61
- }
62
-
63
- /* src/list/Highlighter.css */
64
- .saltHighlighter-highlight {
65
- font-weight: var(--salt-text-fontWeight-strong);
66
- }
67
-
68
- /* src/list/CheckboxIcon.css */
69
- .vuuCheckboxIcon {
70
- --vuu-icon-size: 12px;
71
- --vuu-icon-left: -1px;
72
- --vuu-icon-top: -1px;
73
- --vuu-icon-svg: var(--vuu-svg-tick);
74
- background: var(--salt-editable-primary-background);
75
- border-style: solid;
76
- border-color: var( --vuuCheckboxIcon-borderColor, var(--salt-selectable-borderColor) );
77
- border-radius: var(--vuuCheckboxIcon-borderRadius, 3px);
78
- border-width: 1px;
79
- display: inline-block;
80
- height: var(--vuuCheckboxIcon-size, 12px);
81
- position: relative;
82
- width: var(--vuuCheckboxIcon-size, 12px);
83
- }
84
- .vuuCheckboxIcon-checked-enabled {
85
- background-color: var( --vuuCheckboxIcon-background-checked-enabled, var(--vuu-color-purple-10) );
86
- border-color: var( --vuuCheckboxIcon-borderColor-checked-enabled, var(--vuu-color-purple-10) );
87
- }
88
- .vuuCheckboxIcon-checked-disabled {
89
- background-color: var( --vuuCheckboxIcon-background-checked-disabled, var(--vuu-color-gray-35) );
90
- border-color: var( --vuuCheckboxIcon-borderColor-checked-disabled, var(--vuu-color-gray-35) );
91
- }
92
- .vuuCheckboxIcon-checked-enabled::after,
93
- .vuuCheckboxIcon-checked-disabled::after {
94
- content: "";
95
- background-color: white;
96
- left: var(--vuu-icon-left, auto);
97
- height: var(--vuu-icon-height, var(--vuu-icon-size, 12px));
98
- -webkit-mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
99
- mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
100
- mask-repeat: no-repeat;
101
- -webkit-mask-repeat: no-repeat;
102
- position: absolute;
103
- top: var(--vuu-icon-top, auto);
104
- width: var(--vuu-icon-width, var(--vuu-icon-size, 12px));
105
- }
106
- .vuuCheckboxIcon-checked-disabled::after {
107
- background-color: var( --vuuCheckboxIcon-tick-checked-disabled, var(--vuu-color-gray-30) );
108
- }
109
-
110
- /* src/list/ListItem.css */
111
- .vuuListItem {
112
- --list-item-text-color: var(--salt-content-primary-foreground);
113
- --list-item-background: var(--vuuList-item-background, var(--salt-selectable-background));
114
- --list-item-text-color-active: var(--salt-selectable-foreground-selected);
115
- --list-item-background-active: var(--salt-selectable-background-selected);
116
- --list-item-alignItems: center;
117
- }
118
- .vuuListItem.vuuHighlighted {
119
- --saltCheckbox-icon-stroke: var(--salt-selectable-borderColor-hover);
120
- --list-item-background: var(--salt-selectable-background-hover);
121
- }
122
- .vuuListItemHeader {
123
- font-weight: var(--salt-text-fontWeight-strong);
124
- }
125
- .vuuListItemHeader[data-sticky] {
126
- position: sticky;
127
- top: 0;
128
- z-index: 1;
129
- }
130
- .vuuListItem {
131
- color: var(--list-item-text-color);
132
- cursor: var(--vuuList-item-cursor, pointer);
133
- background: var(--vuuList-item-background, var(--list-item-background));
134
- font-size: var(--salt-text-fontSize);
135
- text-align: var(--salt-text-textAlign);
136
- line-height: var(--salt-text-lineHeight);
137
- height: var(--vuuList-item-height, var(--list-item-height, auto));
138
- margin-bottom: var(--list-item-gap);
139
- padding: 0 var(--vuuListItem-padding, var(--salt-size-unit));
140
- left: 0;
141
- right: 0;
142
- display: flex;
143
- position: relative;
144
- align-items: var(--list-item-alignItems);
145
- white-space: nowrap;
146
- }
147
- .vuuListItem:last-child {
148
- margin-bottom: 0px;
149
- }
150
- .vuuListItem-checkbox {
151
- --list-item-background-active: var(--salt-selectable-background);
152
- --list-item-text-color-active: var(--salt-content-primary-foreground);
153
- --list-item-text-padding: 0 0 0 var(--salt-size-unit);
154
- }
155
- .vuuListItem[aria-selected=true]:not(.vuuListItem-checkbox) {
156
- --list-item-background: var(--list-item-background-active);
157
- color: var(--list-item-text-color-active);
158
- }
159
- .vuuListItem.vuuDisabled {
160
- --list-item-text-color: var(--salt-content-primary-foreground-disabled);
161
- cursor: var(--salt-selectable-cursor-disabled);
162
- }
163
- .vuuListItem.vuuFocusVisible {
164
- outline-style: var(--salt-focused-outlineStyle);
165
- outline-width: var(--salt-focused-outlineWidth);
166
- outline-offset: -2px;
167
- outline-color: var(--salt-focused-outlineColor);
168
- }
169
- .vuuListItem.vuuFocusVisible:after {
170
- content: none;
171
- }
172
- .vuuListItem[aria-selected=true]:not(.vuuListItem-checkbox).vuuFocusVisible {
173
- outline-color: var(--list-item-selected-focus-outlineColor);
174
- }
175
- .vuuListItem-textWrapper {
176
- flex: 1;
177
- overflow: hidden;
178
- padding: var(--list-item-text-padding, 0px);
179
- white-space: nowrap;
180
- text-overflow: ellipsis;
181
- }
182
- .vuuListItem-proxy {
183
- position: absolute !important;
184
- visibility: hidden;
185
- }
186
- .vuuDraggable-list-item {
187
- --vuuList-item-height: 24px;
188
- background-color: white;
189
- }
190
- .vuuListItem.vuuDraggable-dragAway {
191
- display: none;
192
- }
193
-
194
- /* src/overflow-container/OverflowContainer.css */
195
- .vuuOverflowContainer {
196
- --overflow-borderColor: var(--vuuOverflowContainer-borderColor, none);
197
- --overflow-borderStyle: var(--vuuOverflowContainer-borderStyle, none);
198
- --overflow-borderWidth: var(--vuuOverflowContainer-borderWidth, 0px);
199
- --overflow-border-topWidth: var(--vuuOverflowContainer-borderTopWidth, var(--overflow-borderWidth));
200
- --overflow-border-rightWidth: var(--vuuOverflowContainer-borderRightWidth, var(--overflow-borderWidth));
201
- --overflow-border-bottomWidth: var(--vuuOverflowContainer-borderBottomWidth, var(--overflow-borderWidth));
202
- --overflow-border-leftWidth: var(--vuuOverflowContainer-borderLeftWidth, var(--overflow-borderWidth));
203
- --border: calc(var(--overflow-border-topWidth) + var(--overflow-border-bottomWidth));
204
- --overflow-item-gap: var(--vuuOverflowContainer-gap,2px);
205
- --overflow-direction: row;
206
- --overflow-height: var(--overflow-item-height);
207
- background-color: var(--vuuOverflowContainer-background);
208
- border-color: var(--overflow-borderColor);
209
- border-style: var(--overflow-borderStyle);
210
- border-top-width: var(--overflow-border-topWidth);
211
- border-right-width: var(--overflow-border-rightWidth);
212
- border-bottom-width: var(--overflow-border-bottomWidth);
213
- border-left-width: var(--overflow-border-leftWidth);
214
- height: var(--vuuOverflowContainer-height,var(--overflow-container-height));
215
- width: var(--overflow-container-width);
216
- }
217
- .vuuOverflowContainer.vuuOrientation-horizontal {
218
- --item-align: center;
219
- --item-margin: 0 var(--overflow-item-gap) 0 var(--overflow-item-gap);
220
- --overflow-container-height: calc(var(--salt-size-base) + var(--salt-spacing-100));
221
- --overflow-container-width: var(--vuuOverflowContainer-width, auto);
222
- --overflow-wrapper-height: var(--overflow-item-height);
223
- --overflow-item-height: var(--vuuOverflowContainer-contentHeight, calc(var(--overflow-container-height) - var(--total-border-size)));
224
- --overflow-item-width: auto;
225
- --overflow-width: 0px;
226
- --total-border-size: calc(var(--overflow-border-topWidth) + var(--overflow-border-bottomWidth));
227
- min-width: var(--vuuOverflowContainer-minWidth, var(--overflow-container-height));
228
- }
229
- .vuuOverflowContainer.vuuOrientation-horizontal .vuuOverflowContainer-wrapContainer-overflowed {
230
- --overflow-left: auto;
231
- --overflow-position: relative;
232
- --overflow-width: auto;
233
- }
234
- .vuuOverflowContainer.vuuOrientation-vertical {
235
- --item-align: stretch;
236
- --overflow-container-height: 100%;
237
- --overflow-container-width: var(--vuuOverflowContainer-width,calc(var(--salt-size-base) + var(--salt-spacing-100)));
238
- --overflow-item-height: auto;
239
- --overflow-item-width: calc(var(--overflow-container-width) - var(--total-border-size));
240
- --overflow-wrapper-height: 100%;
241
- --total-border-size: calc(var(--overflow-border-leftWidth) + var(--overflow-border-rightWidth));
242
- --item-margin: var(--overflow-item-gap) 0 var(--overflow-item-gap) 0;
243
- --overflow-direction: column;
244
- --overflow-height: 0px;
245
- --overflow-left: 0;
246
- --overflow-top: 100%;
247
- --overflow-width: auto;
248
- }
249
- .vuuOverflowContainer.vuuOrientation-vertical .vuuOverflowContainer-wrapContainer-overflowed {
250
- --overflow-top: auto;
251
- --overflow-position: relative;
252
- --overflow-height: auto;
253
- }
254
- .vuuOverflowContainer-wrapContainer {
255
- align-items: var(--item-align);
256
- display: flex;
257
- flex-direction: var(--overflow-direction);
258
- flex-wrap: wrap;
259
- height: var(--overflow-wrapper-height);
260
- justify-content: var(--vuuOverflowContainer-justifyContent, flex-start);
261
- overflow: hidden;
262
- position: relative;
263
- width: 100%;
264
- }
265
- .vuuOverflowContainer-wrapContainer-overflowed {
266
- --overflow-order: 2;
267
- --overflow-left: auto;
268
- --overflow-position: relative;
269
- --overflow-width: auto;
270
- }
271
- .vuuOverflowContainer.vuuOrientation-vertical.vuuOverflowContainer-wrapContainer-overflowed {
272
- --overflow-height: auto;
273
- }
274
- .vuuOverflowContainer-item {
275
- align-items: inherit;
276
- display: flex;
277
- order: 1;
278
- position: relative;
279
- height: var(--overflow-item-height);
280
- margin: var(--item-margin);
281
- width: var(--overflow-item-width);
282
- }
283
- .vuuOverflowContainer-item[data-align=right] {
284
- margin-left: auto;
285
- }
286
- .vuuOverflowContainer-item.wrapped {
287
- --overflow-item-bg: #ccc;
288
- order: 3;
289
- visibility: hidden;
290
- }
291
- .vuuOverflowContainer-item.vuuDraggable-dragAway,
292
- .vuuOverflowContainer-item:has(.vuuDraggable-dragAway) {
293
- display: none;
294
- }
295
- .vuuOverflowContainer-item.vuuDropTarget-settling {
296
- visibility: hidden;
297
- }
298
- .vuuOverflowContainer-OverflowIndicator {
299
- align-items: center;
300
- background-color: transparent;
301
- display: flex;
302
- height: var(--overflow-height);
303
- order: var(--overflow-order, 99);
304
- overflow: hidden;
305
- width: var(--overflow-width);
306
- }
307
- .vuuDraggable-vuuOverflowContainer {
308
- align-items: center;
309
- display: flex;
310
- height: 44px;
311
- }
312
-
313
- /* src/drag-drop/Draggable.css */
314
- .vuuDraggable {
315
- background: transparent;
316
- box-shadow: var(--salt-overlayable-shadow-drag);
317
- cursor: var(--salt-draggable-grab-cursor-active);
318
- position: absolute;
319
- opacity: .95;
320
- z-index: 2000;
321
- }
322
- .vuuDraggable-spacer {
323
- display: var(--vuuDraggable-display, inline-block);
324
- height: var(--vuuDraggable-spacer-height, var(--tabstrip-height));
325
- transition: var(--vuuDraggable-transitionProp, width) 0.3s ease;
326
- width: var(--vuuDraggable-spacer-width, 0);
327
- }
328
- .vuuDraggable-dropIndicatorPosition {
329
- display: var(--saltDraggable-display, inline-block);
330
- height: 0px;
331
- width: 100%;
332
- }
333
- .vuuDraggable-dropIndicatorContainer {
334
- transition: var(--vuuDraggable-transitionProp, top) 0.2s ease;
335
- }
336
- .vuuDraggable-dropIndicator {
337
- background-color: var(--salt-palette-accent-background);
338
- height: 2px;
339
- width: 100%;
340
- }
341
- .vuuDraggable-dropIndicator:before {
342
- content: "";
343
- width: 6px;
344
- height: 6px;
345
- border-radius: 3px;
346
- background-color: var(--salt-palette-accent-background);
347
- position: absolute;
348
- top: -2px;
349
- left: -3px;
350
- }
351
- .vuuDraggable-settling {
352
- transition-property: left, top;
353
- transition-duration: .15s;
354
- transition-timing-function: ease-out;
355
- }
356
- .vuuDraggable-spacer {
357
- order: 1;
358
- }
359
-
360
- /* src/measured-container/MeasuredContainer.css */
361
- .vuuMeasuredContainer {
362
- flex: var(--vuuMeasuredContainer-flex, none);
363
- height: var(--vuuMeasuredContainer-height, var(--measured-css-height));
364
- min-height: 0;
365
- width: var(--measured-css-width);
366
- }
367
-
368
- /* src/list/List.css */
369
- .vuuList {
370
- --list-background: var(--salt-container-primary-background);
371
- --list-borderStyle: var(--vuuList-borderStyle,var(--salt-container-borderStyle));
372
- --list-borderWidth: var(--salt-size-border);
373
- --list-height: auto;
374
- --list-item-height: var(--salt-size-stackable);
375
- --list-item-gap: 0px;
376
- --list-maxHeight: 100%;
377
- --vuuDraggable-display: block;
378
- --vuuDraggable-spacer-height: 0;
379
- --vuuDraggable-spacer-width: 100%;
380
- --vuuDraggable-transitionProp: height;
381
- --vuuMeasuredContainer-height: var(--computed-list-height);
382
- background: var(--list-background);
383
- height: var(--saltList-height, var(--list-height));
384
- max-height: var(--list-maxHeight);
385
- outline: none;
386
- position: relative;
387
- user-select: none;
388
- width: var(--saltList-width, auto);
389
- padding: 0 1px;
390
- }
391
- .vuuDraggable-list-item {
392
- --vuuList-item-background: var(--salt-selectable-background-hover);
393
- }
394
- .vuuList-contentSized {
395
- box-sizing: content-box;
396
- }
397
- .vuuList-borderless {
398
- --list-borderStyle: none;
399
- }
400
- .vuuList-viewport {
401
- height: var(--computed-list-height, var(--measured-px-height));
402
- overflow: auto;
403
- }
404
- .vuuListHeader {
405
- --saltList-item-background: var(--list-item-header-background);
406
- color: var(--list-item-header-color);
407
- font-weight: 600;
408
- }
409
- .vuuListHeader[data-sticky=true] {
410
- --saltList-item-background: var(--list-background);
411
- position: sticky;
412
- top: 0;
413
- z-index: 1;
414
- }
415
- .vuuList-collapsible .vuuListItemHeader:after {
416
- border-width: var(--checkbox-borderWidth);
417
- border-color: var(--checkbox-borderColor);
418
- content: var(--list-item-header-twisty-content);
419
- -webkit-mask: var(--list-svg-chevron-down) center center/12px 12px no-repeat;
420
- mask: var(--list-svg-chevron-down) center center/12px 12px no-repeat;
421
- background: var(--list-item-header-twisty-color);
422
- height: 12px;
423
- left: var(--list-item-header-twisty-left);
424
- right: var(--list-item-header-twisty-right);
425
- margin-top: -8px;
426
- position: absolute;
427
- top: var(--list-item-header-twisty-top);
428
- transition: transform 0.3s;
429
- width: 12px;
430
- }
431
- .vuuListItemHeader[aria-expanded=false]:after {
432
- transform: rotate(-90deg);
433
- }
434
- .vuuList-scrollingContentContainer {
435
- box-sizing: inherit;
436
- position: relative;
437
- }
438
- .vuuList-virtualized .vuuListItem {
439
- line-height: 30px;
440
- position: absolute;
441
- top: 0;
442
- left: 0;
443
- right: 0;
444
- will-change: transform;
445
- }
446
- .vuuList.saltFocusVisible:after {
447
- top: 2px;
448
- right: 2px;
449
- bottom: 2px;
450
- left: 2px;
451
- }
452
-
453
- /* src/list/RadioIcon.css */
454
- .vuuRadioIcon {
455
- --vuu-icon-size: 12px;
456
- --vuu-icon-left: -1px;
457
- --vuu-icon-top: -1px;
458
- --vuu-icon-svg: var(--vuu-svg-radio);
459
- border-style: solid;
460
- border-color: var(--vuuRadioIcon-borderColor, var(--salt-selectable-borderColor));
461
- border-radius: 50%;
462
- border-width: 1px;
463
- display: inline-block;
464
- height: var(--vuuRadioIcon-size, 12px);
465
- position: relative;
466
- width: var(--vuuRadioIcon-size, 12px);
467
- }
468
- .vuuRadioIcon-checked {
469
- background-image: var(--vuu-svg-radio);
470
- border: none;
471
- background-repeat: no-repeat;
472
- }
473
- .vuuRadioIcon-checked:after {
474
- content: "";
475
- left: var(--vuu-icon-left, auto);
476
- height: var(--vuu-icon-height, var(--vuu-icon-size, 12px));
477
- -webkit-mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
478
- mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
479
- mask-repeat: no-repeat;
480
- -webkit-mask-repeat: no-repeat;
481
- position: absolute;
482
- top: var(--vuu-icon-top, auto);
483
- width: var(--vuu-icon-width, var(--vuu-icon-size, 12px));
484
- }
485
-
486
- /* src/calendar/internal/CalendarNavigation.css */
487
- .salt-density-medium,
488
- .salt-density-touch,
489
- .salt-density-low {
490
- --calendar-navigation-gap: calc(var(--salt-size-unit) * 0.5);
491
- }
492
- .salt-density-high {
493
- --calendar-navigation-gap: 0px;
494
- }
495
- .saltCalendarNavigation-hideYearDropdown {
496
- --calendar-navigation-gap: calc(var(--salt-size-unit) * 2);
497
- }
498
- .saltCalendarNavigation {
499
- display: grid;
500
- grid-template-columns: min-content auto auto min-content;
501
- grid-gap: var(--calendar-navigation-gap);
502
- align-items: center;
503
- }
504
- .saltCalendarNavigation-hideYearDropdown {
505
- grid-template-columns: min-content auto min-content;
506
- }
507
-
508
- /* src/icon-button/Icon.css */
509
- .vuuIcon {
510
- --vuu-icon-left: 0;
511
- }
512
-
513
- /* src/icon-button/IconButton.css */
514
- .vuuIconButton {
515
- --saltButton-padding: var(--salt-size-unit);
516
- --saltButton-minWidth: var(--salt-size-base);
517
- }
518
-
519
- /* src/calendar/internal/CalendarWeekHeader.css */
520
- .saltCalendarWeekHeader {
521
- --calendar-week-header-underline-color: var(--salt-separable-secondary-borderColor);
522
- --calendar-week-header-text-color: var(--salt-content-secondary-foreground);
523
- --calendar-week-header-size: var(--salt-size-base);
524
- --calendar-week-header-fontSize: var(--saltCalendar-week-header-fontSize, var(--salt-text-label-fontSize));
525
- }
526
- .saltCalendarWeekHeader {
527
- display: grid;
528
- grid-template-columns: repeat(7, 1fr);
529
- text-align: center;
530
- box-shadow: inset 0 -1px 0 var(--calendar-week-header-underline-color);
531
- }
532
- .saltCalendarWeekHeader-dayOfWeek {
533
- width: var(--calendar-week-header-size);
534
- height: var(--calendar-week-header-size);
535
- color: var(--calendar-week-header-text-color);
536
- line-height: var(--calendar-week-header-size);
537
- font-size: var(--calendar-week-header-fontSize);
538
- }
539
-
540
- /* src/calendar/internal/CalendarDay.css */
541
- .saltCalendarDay {
542
- --calendar-day-text-color: var(--salt-content-primary-foreground);
543
- --calendar-day-background: var(--salt-selectable-background);
544
- --calendar-day-background-hover: var(--salt-selectable-background-hover);
545
- --calendar-day-text-color-hover: var(--salt-content-primary-foreground);
546
- --calendar-day-outOfRange-text-color: var(--salt-content-secondary-foreground-disabled);
547
- --calendar-day-blocked-text-color: var(--salt-content-primary-foreground);
548
- --calendar-day-blocked-cursor: var(--salt-selectable-cursor-disabled);
549
- --calendar-day-blocked-icon-color: var(--salt-status-error-foreground);
550
- --calendar-day-blocked-background: var(--calendar-day-background);
551
- --calendar-day-unselectable-text-color: var(--salt-content-secondary-foreground-disabled);
552
- --calendar-day-unselectable-background: var(--calendar-day-background);
553
- --calendar-day-unselectable-cursor: var(--salt-selectable-cursor-disabled);
554
- --calendar-day-selected-background: var(--salt-selectable-background-selected);
555
- --calendar-day-selected-text-color: var(--salt-content-primary-foreground);
556
- --calendar-day-selectedStart-background: var(--salt-selectable-background-selected);
557
- --calendar-day-selectedStart-text-color: var(--salt-content-primary-foreground);
558
- --calendar-day-selectedEnd-background: var(--salt-selectable-background-selected);
559
- --calendar-day-selectedEnd-text-color: var(--salt-content-primary-foreground);
560
- --calendar-day-selectedSpan-background: var(--salt-selectable-background-blurSelected);
561
- --calendar-day-selectedSpan-text-color: var(--salt-content-primary-foreground);
562
- --calendar-day-hoveredSpan-background: var(--salt-selectable-background-hover);
563
- --calendar-day-hoveredSpan-text-color: var(--salt-content-primary-foreground);
564
- --calendar-day-hoveredOffset-background: var(--salt-selectable-background-hover);
565
- --calendar-day-hoveredOffset-text-color: var(--salt-content-primary-foreground);
566
- --calendar-day-currentDay-borderColor: var(--salt-content-primary-foreground);
567
- --calendar-day-focused-outline: var(--salt-focused-outline);
568
- --calendar-day-size: var(--salt-size-base);
569
- --calendar-day-fontSize: var(--salt-text-fontSize);
570
- }
571
- .saltCalendarDay {
572
- width: var(--calendar-day-size);
573
- height: var(--calendar-day-size);
574
- color: var(--calendar-day-text-color);
575
- background-color: var(--calendar-day-background);
576
- font-size: var(--calendar-day-fontSize);
577
- border: 0;
578
- cursor: pointer;
579
- position: relative;
580
- display: flex;
581
- justify-content: center;
582
- align-items: center;
583
- }
584
- .saltCalendarDay:focus-visible {
585
- outline: var(--calendar-day-focused-outline);
586
- outline-offset: calc(0px - var(--salt-focused-outlineWidth));
587
- }
588
- .saltCalendarDay-outOfRange {
589
- color: var(--calendar-day-outOfRange-text-color);
590
- }
591
- .saltCalendarDay:hover {
592
- background: var(--calendar-day-background-hover);
593
- color: var(--calendar-day-text-color-hover);
594
- }
595
- .saltCalendarDay-unselectableMedium,
596
- .saltCalendarDay-unselectableMedium:hover {
597
- color: var(--calendar-day-blocked-text-color);
598
- cursor: var(--calendar-day-blocked-cursor);
599
- background: var(--calendar-day-blocked-background);
600
- }
601
- .saltCalendarDay-today {
602
- border: 1px solid var(--calendar-day-currentDay-borderColor);
603
- }
604
- .saltCalendarDay-selectedSpan {
605
- background: var(--calendar-day-selectedSpan-background);
606
- color: var(--calendar-day-selectedSpan-text-color);
607
- }
608
- .saltCalendarDay-hoveredSpan,
609
- .saltCalendarDay-hoveredSpan:hover {
610
- background: var(--calendar-day-hoveredSpan-background);
611
- color: var(--calendar-day-hoveredSpan-text-color);
612
- }
613
- .saltCalendarDay-hoveredOffset,
614
- .saltCalendarDay-hoveredOffset:hover {
615
- background: var(--calendar-day-hoveredOffset-background);
616
- color: var(--calendar-day-hoveredOffset-text-color);
617
- }
618
- .saltCalendarDay-selected,
619
- .saltCalendarDay-selected:hover {
620
- background: var(--calendar-day-selected-background);
621
- color: var(--calendar-day-selected-text-color);
622
- }
623
- .saltCalendarDay-selectedStart,
624
- .saltCalendarDay-selectedStart:hover {
625
- background: var(--calendar-day-selectedStart-background);
626
- color: var(--calendar-day-selectedStart-text-color);
627
- }
628
- .saltCalendarDay-selectedEnd,
629
- .saltCalendarDay-selectedEnd:hover {
630
- background: var(--calendar-day-selectedEnd-background);
631
- color: var(--calendar-day-selectedEnd-text-color);
632
- }
633
- .saltCalendarDay-selected:focus-visible {
634
- outline-color: var(--calendar-day-selected-focused-outlineColor);
635
- }
636
- .saltCalendarDay-selectedStart:focus-visible {
637
- outline-color: var(--calendar-day-selectedStart-focused-outlineColor);
638
- }
639
- .saltCalendarDay-selectedEnd:focus-visible {
640
- outline-color: var(--calendar-day-selectedEnd-focused-outlineColor);
641
- }
642
- .saltCalendarDay-unselectableLow,
643
- .saltCalendarDay-unselectableLow:hover {
644
- color: var(--calendar-day-unselectable-text-color);
645
- background: var(--calendar-day-unselectable-background);
646
- cursor: var(--calendar-day-unselectable-cursor);
647
- text-decoration: line-through;
648
- }
649
- .salt-density-high {
650
- --calendar-day-blocked-icon-size: 14px;
651
- }
652
- .salt-density-medium {
653
- --calendar-day-blocked-icon-size: 18px;
654
- }
655
- .salt-density-low {
656
- --calendar-day-blocked-icon-size: 24px;
657
- }
658
- .salt-density-touch {
659
- --calendar-day-blocked-icon-size: 28px;
660
- }
661
- .saltCalendarDay-blockedIcon {
662
- fill: var(--calendar-day-blocked-icon-color);
663
- position: absolute;
664
- --icon-size: var(--calendar-day-blocked-icon-size);
665
- pointer-events: none;
666
- line-height: 1.29;
667
- }
668
- .saltCalendarDay-hidden {
669
- visibility: hidden;
670
- }
671
-
672
- /* src/calendar/internal/CalendarMonth.css */
673
- .saltCalendarMonth-dateGrid {
674
- display: grid;
675
- grid-template-columns: repeat(7, 1fr);
676
- text-align: center;
677
- }
678
-
679
- /* src/calendar/internal/CalendarCarousel.css */
680
- .saltCalendarCarousel-track {
681
- display: grid;
682
- grid-auto-flow: column;
683
- }
684
- .saltCalendarCarousel-track > * {
685
- position: absolute;
686
- left: 0;
687
- width: 100%;
688
- }
689
- .saltCalendarCarousel-track > :nth-child(2) {
690
- position: relative;
691
- }
692
- .saltCalendarCarousel-shouldAnimate {
693
- transition: transform 200ms ease-in-out;
694
- }
695
-
696
- /* src/calendar/Calendar.css */
697
- .saltCalendar {
698
- width: min-content;
699
- }
700
- .saltCalendar .saltIcon {
701
- display: inline-block;
702
- }
703
-
704
- /* src/list/ChevronIcon.css */
705
- .vuuChevronIcon {
706
- --vuu-icon-size: 14px;
707
- --vuu-icon-left: -1px;
708
- --vuu-icon-top: -1px;
709
- height: var(--vuuChevronIcon-size, 14px);
710
- position: relative;
711
- width: var(--vuuChevronIcon-size, 14px);
712
- cursor: pointer;
713
- }
714
- .vuuChevronIcon:after {
715
- content: "";
716
- background-color: #777C94;
717
- left: var(--vuu-icon-left, auto);
718
- height: var(--vuu-icon-height, var(--vuu-icon-size, 12px));
719
- -webkit-mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
720
- mask: var(--vuu-icon-svg) center center/var(--vuu-icon-size) var(--vuu-icon-size);
721
- mask-repeat: no-repeat;
722
- -webkit-mask-repeat: no-repeat;
723
- position: absolute;
724
- top: var(--vuu-icon-top, auto);
725
- width: var(--vuu-icon-width, var(--vuu-icon-size, 12px));
726
- }
727
- .vuuChevronIcon.up {
728
- --vuu-icon-svg: var(--vuu-svg-chevron-up);
729
- }
730
- .vuuChevronIcon.down {
731
- --vuu-icon-svg: var(--vuu-svg-chevron-down);
732
- }
733
- .vuuChevronIcon.left {
734
- --vuu-icon-svg: var(--vuu-svg-chevron-left);
735
- }
736
- .vuuChevronIcon.right {
737
- --vuu-icon-svg: var(--vuu-svg-chevron-right);
738
- }
739
-
740
- /* src/date-input/DateInput.css */
741
- .vuuDateInput {
742
- border: solid 1px var(--salt-editable-borderColor);
743
- display: inline-flex;
744
- flex-wrap: nowrap;
745
- justify-content: space-between;
746
- gap: 1px;
747
- padding: 0 0 0 2px;
748
- }
749
- .vuuDateInput .saltInput-input {
750
- border: none;
751
- outline: none;
752
- padding-left: 0;
753
- }
754
- .vuuDateInput-calendar {
755
- padding: 2px;
756
- }
757
- .vuuDatePickerInput:focus {
758
- outline: none;
759
- }
760
- input[type=date] {
761
- font-family: var(--salt-typography-fontFamily);
762
- min-width: 80px;
763
- }
764
- input[type=date]::-webkit-calendar-picker-indicator {
765
- display: none;
766
- }
767
-
768
- /* src/editable-label/EditableLabel.css */
769
- .vuuEditableLabel {
770
- --editableLabel-padding: var(--vuuEditableLabel-padding, 6px);
771
- --editableLabel-height: var(--vuuEditableLabel-height, 26px);
772
- --saltInput-background: transparent;
773
- --saltInput-height: calc(var(--editableLabel-height) - 4px);
774
- --saltInput-minWidth: 14px;
775
- color: inherit;
776
- cursor: default;
777
- display: flex;
778
- flex-direction: column;
779
- font-size: var(--salt-text-fontSize);
780
- height: var(--editableLabel-height);
781
- justify-content: center;
782
- letter-spacing: normal;
783
- outline: none;
784
- overflow: hidden;
785
- padding: 0 var(--editableLabel-padding);
786
- position: relative;
787
- text-overflow: ellipsis;
788
- white-space: nowrap;
789
- z-index: var(--salt-zIndex-default);
790
- }
791
- .vuuEditableLabel:before {
792
- content: attr(data-text);
793
- display: block;
794
- height: 0px;
795
- visibility: hidden;
796
- white-space: pre-wrap;
797
- }
798
- .vuuEditableLabel .saltInput {
799
- font-weight: var(--salt-text-fontWeight);
800
- left: var(--editableLabel-padding, 0);
801
- padding: 0;
802
- outline-style: none;
803
- position: absolute;
804
- right: var(--editableLabel-padding, 0);
805
- top: var(--saltEditableLabel-top, 1px);
806
- width: auto;
807
- }
808
- .vuuEditableLabel .saltInput-activationIndicator {
809
- display: none;
810
- }
811
- .vuuEditableLabel-input {
812
- background-color: transparent;
813
- border: none;
814
- box-sizing: content-box;
815
- color: inherit;
816
- display: block;
817
- flex: 1;
818
- font: inherit;
819
- height: 20px;
820
- margin: 0;
821
- min-width: 0;
822
- outline: none;
823
- padding: 0;
824
- }
825
- .vuuEditableLabel-label {
826
- overflow: hidden;
827
- text-overflow: ellipsis;
828
- white-space: nowrap;
829
- }
830
-
831
- /* src/vuu-input/VuuInput.css */
832
- .vuuInput {
833
- --vuu-icon-size: 16px;
834
- }
835
- .vuuInput-errorIcon:after {
836
- cursor: pointer;
837
- }
838
-
839
- /* src/expando-input/ExpandoInput.css */
840
- .vuuExpandoInput {
841
- --salt-editable-secondary-background: white;
842
- --expandoInput-height: var(--vuuExpandoInput-height, 26px);
843
- --expandoInput-padding: var(--vuuExpandoInput-padding, 6px);
844
- --saltInput-height: var(--expandoInput-height);
845
- --saltInput-minHeight: var(--saltInput-height);
846
- --saltInput-minWidth: var(--vuuExpandoInput-minWidth, 8px);
847
- border: var(--vuuExpandoInput-border, none);
848
- border-radius: var(--vuuExpandoInput-borderRadius, 0);
849
- color: inherit;
850
- cursor: default;
851
- display: inline-block;
852
- font-size: var(--salt-text-fontSize);
853
- height: var(--expandoInput-height);
854
- min-width: calc(var(--saltInput-minWidth) + 2 * var(--expandoInput-padding));
855
- outline: none;
856
- padding: 0 var(--expandoInput-padding);
857
- position: relative;
858
- }
859
- .vuuExpandoInput:before {
860
- content: attr(data-text);
861
- display: block;
862
- height: 0px;
863
- visibility: hidden;
864
- white-space: pre-wrap;
865
- }
866
- .vuuExpandoInput-error {
867
- border-color: var(--vuu-color-red-50);
868
- }
869
- .vuuExpandoInput .saltInput {
870
- font-weight: var(--salt-text-fontWeight);
871
- left: var(--expandoInput-padding, 0);
872
- padding: 0;
873
- outline-style: none;
874
- position: absolute;
875
- right: var(--expandoInput-padding, 0);
876
- top: var(--vuuExpandoInput-top, 2px);
877
- width: auto;
878
- }
879
- .vuuExpandoInput .saltInput-activationIndicator {
880
- display: none;
881
- }
882
- .vuuExpandoInput-input {
883
- background-color: transparent;
884
- border: none;
885
- box-sizing: content-box;
886
- display: block;
887
- flex: 1;
888
- font: inherit;
889
- height: 20px;
890
- margin: 0;
891
- min-width: 0;
892
- outline: none;
893
- padding: 0;
894
- }
895
-
896
- /* src/inputs/Checkbox.css */
897
- .vuuCheckbox {
898
- --vuuCheckboxIcon-background-checked-enabled: var(--vuu-color-purple-10);
899
- display: flex;
900
- height: 24px;
901
- align-items: center;
902
- gap: 6px;
903
- color: var(--light-text-primary, #15171B);
904
- font-family: Nunito Sans A-Variant, serif;
905
- font-feature-settings:
906
- "ss02" on,
907
- "ss01" on,
908
- "salt" on,
909
- "liga" off;
910
- font-size: 12px;
911
- font-weight: 400;
912
- cursor: pointer;
913
- }
914
-
915
- /* src/inputs/RadioButton.css */
916
- .vuuRadioButton {
917
- display: flex;
918
- height: 24px;
919
- align-items: center;
920
- gap: 6px;
921
- color: var(--light-text-primary, #15171B);
922
- font-family: Nunito Sans A-Variant, sans-serif;
923
- font-feature-settings:
924
- "ss02" on,
925
- "ss01" on,
926
- "salt" on,
927
- "liga" off;
928
- font-size: 12px;
929
- font-weight: 400;
930
- cursor: pointer;
931
- }
932
- .radio {
933
- position: relative;
934
- height: 12px;
935
- }
936
- input[type=radio] {
937
- position: absolute;
938
- -webkit-appearance: none;
939
- appearance: none;
940
- width: 100%;
941
- height: 100%;
942
- border-radius: 50%;
943
- margin: 0;
944
- top: 0;
945
- }
946
-
947
- /* src/instrument-picker/SearchCell.css */
948
- .vuuSearchCell {
949
- --vuu-icon-left: 0;
950
- --vuu-icon-size: 16px;
951
- --vuu-icon-top: 0px;
952
- align-items: center;
953
- color: var(--background-cell-color);
954
- display: flex;
955
- gap: 4px;
956
- padding: 0 8px 0 8px;
957
- position: relative;
958
- z-index: -1;
959
- }
960
-
961
- /* src/instrument-picker/InstrumentPicker.css */
962
- .vuuInstrumentPicker {
963
- height: 100%;
964
- padding: var(--vuuInstrumentPicker-padding, 12px);
965
- display: flex;
966
- flex-direction: column;
967
- }
968
- .vuuInstrumentPicker-inputField {
969
- --vuu-icon-size: 16px;
970
- flex: 0 0 40px;
971
- }
972
- .vuuInstrumentPicker-list {
973
- background-color: var(--salt-container-primary-background);
974
- flex: 1 1 auto;
975
- }
976
- .vuuInstrumentPicker .vuuTableCell {
977
- padding: 0;
978
- }
979
-
980
- /* src/instrument-search/SearchCell.css */
981
- .vuuSearchCell {
982
- --vuu-icon-left: 0;
983
- --vuu-icon-size: 16px;
984
- --vuu-icon-top: 0px;
985
- align-items: center;
986
- color: var(--background-cell-color);
987
- display: flex;
988
- gap: 4px;
989
- padding: 0 8px 0 8px;
990
- position: relative;
991
- z-index: -1;
992
- }
993
-
994
- /* src/instrument-search/InstrumentSearch.css */
995
- .vuuInstrumentSearch {
996
- height: 100%;
997
- padding: var(--vuuInstrumentSearch-padding, 12px);
998
- display: flex;
999
- flex-direction: column;
1000
- }
1001
- .vuuInstrumentSearch-inputField {
1002
- --vuu-icon-size: 16px;
1003
- flex: 0 0 40px;
1004
- padding: 0 12px;
1005
- }
1006
- .vuuInstrumentSearch-list {
1007
- --vuuMeasuredContainer-flex: 1 1 1px;
1008
- background-color: var(--salt-container-primary-background);
1009
- flex: 1 1 auto;
1010
- }
1011
- .vuuInstrumentSearch .vuuTableCell {
1012
- padding: 0;
1013
- }
1014
-
1015
- /* src/price-ticker/PriceTicker.css */
1016
- @property --price-ticker-color { syntax: "<color>"; initial-value: #15171B; inherits: false; }
1017
- .vuuPriceTicker {
1018
- align-items: center;
1019
- display: flex;
1020
- font-size: var(--vuuPriceTicker-fontSize, var(--salt-text-fontSize));
1021
- font-weight: var(--vuuPriceTicker-fontWeight, 700);
1022
- transition-property: color;
1023
- transition-duration: .3s;
1024
- }
1025
- .vuuPriceTicker.up1 {
1026
- --vuu-icon-color: var(--vuu-color-green-50);
1027
- color: var(--vuu-color-green-50);
1028
- animation-duration: 30s;
1029
- }
1030
- .vuuPriceTicker.up2 {
1031
- --vuu-icon-color: var(--vuu-color-green-50);
1032
- color: var(--vuu-color-green-50);
1033
- animation-duration: 30s;
1034
- }
1035
- .vuuPriceTicker.down1 {
1036
- --vuu-icon-transform: rotate(180deg);
1037
- --vuu-icon-color: var(--vuu-color-red-50);
1038
- color: var(--vuu-color-red-50);
1039
- animation-duration: 30s;
1040
- }
1041
- .vuuPriceTicker.down2 {
1042
- --vuu-icon-transform: rotate(180deg);
1043
- --vuu-icon-color: var(--vuu-color-red-50);
1044
- color: var(--vuu-color-red-50);
1045
- animation-duration: 30s;
1046
- }
1047
-
1048
- /* src/split-button/SplitButton.css */
1049
- .vuuSplitButton {
1050
- --saltButton-background: var(--split-background);
1051
- --saltButton-background-hover: var(--split-background);
1052
- --vuuPopupMenu-background: var(--split-background);
1053
- --vuuPopupMenu-iconSize: 20px;
1054
- --background: var(--vuuSplitButton-background);
1055
- --foreground: var(--vuuSplitButton-foreground);
1056
- --background-hover: var(--vuuSplitButton-background-hover);
1057
- --foreground-hover: var(--vuuSplitButton-foreground-hover);
1058
- --border-radius: var(--vuuSplitButton-borderRadius, 0px);
1059
- --main-border-radius: var(--border-radius) 0 0 var(--border-radius);
1060
- --trigger-border-radius: 0 var(--border-radius) var(--border-radius) 0;
1061
- --trigger-border-style: solid solid solid none;
1062
- align-items: center;
1063
- border: none;
1064
- border-radius: var(--border-radius);
1065
- display: flex;
1066
- }
1067
- .vuuSplitButton.vuuFocusVisible .saltButton {
1068
- outline-style: none;
1069
- }
1070
- .vuuSplitButton.vuuFocusVisible.vuuSplitButton-primary {
1071
- --split-background: var(--background-hover,var(--salt-actionable-primary-background-hover));
1072
- }
1073
- .vuuSplitButton.vuuFocusVisible.vuuSplitButton-secondary {
1074
- --split-background: var(--background-hover,var(--salt-actionable-secondary-background-hover));
1075
- }
1076
- .vuuSplitButton.vuuFocusVisible.vuuSplitButton-cta {
1077
- --split-background: var(--background-hover,var(--salt-actionable-cta-background-hover));
1078
- }
1079
- .vuuSplitButton.vuuFocusVisible.vuuSplitButton-cta .vuuSplitButton-trigger {
1080
- --vuu-icon-color: var(--salt-actionable-cta-foreground-hover);
1081
- }
1082
- .vuuFocusVisible {
1083
- outline-style: var(--salt-focused-outlineStyle);
1084
- outline-width: var(--salt-focused-outlineWidth);
1085
- outline-color: var(--salt-focused-outlineColor);
1086
- outline-offset: var(--salt-focused-outlineOffset);
1087
- }
1088
- .vuuSplitButton-primary {
1089
- --split-background: var(--background, var(--salt-actionable-primary-background));
1090
- --split-background-active: var(--salt-actionable-primary-background-active);
1091
- --split-color-active: var(--salt-actionable-primary-foreground-active);
1092
- }
1093
- .vuuSplitButton-primary:hover:not(.vuuSplitButton-disabled) {
1094
- --vuuButton-borderColor: var(--split-background);
1095
- --saltButton-borderColor: var(--split-background);
1096
- --split-background: var(--background-hover, var(--salt-actionable-primary-background-hover));
1097
- }
1098
- .vuuSplitButton-primary:hover:not(.vuuSplitButton-disabled) .saltButton {
1099
- --saltButton-text-color: var(--salt-actionable-primary-foreground-hover);
1100
- }
1101
- .vuuSplitButton-secondary {
1102
- --saltButton-borderColor: var(--split-background);
1103
- --split-background: var(--background,var(--salt-actionable-secondary-background));
1104
- --split-background-active: var(--salt-actionable-secondary-background-active);
1105
- --split-color-active: var(--salt-actionable-secondary-foreground-active);
1106
- }
1107
- .vuuSplitButton-secondary:hover:not(.vuuSplitButton-disabled) {
1108
- --vuuButton-borderColor: var(--split-background);
1109
- --split-background: var(--salt-actionable-secondary-background-hover);
1110
- }
1111
- .vuuSplitButton-secondary:hover:not(.vuuSplitButton-disabled) .saltButton {
1112
- --saltButton-text-color: var(--salt-actionable-secondary-foreground-hover);
1113
- }
1114
- .vuuSplitButton-cta {
1115
- --split-background: var(--background,var(--salt-actionable-cta-background));
1116
- --split-background-active: var(--salt-actionable-cta-background-active);
1117
- --split-color-active: var(--salt-actionable-cta-foreground-active);
1118
- }
1119
- .vuuSplitButton-cta:hover:not(.vuuSplitButton-disabled) {
1120
- --vuuButton-borderColor: var(--split-background);
1121
- --split-background: var(--salt-actionable-cta-background-hover);
1122
- --split-color: var(--salt-actionable-cta-foreground-hover);
1123
- }
1124
- .vuuSplitButton-cta:hover:not(.vuuSplitButton-disabled) .saltButton {
1125
- --saltButton-text-color: var(--salt-actionable-cta-foreground-hover);
1126
- --vuu-icon-color: var(--salt-actionable-cta-foreground-hover);
1127
- }
1128
- .vuuSplitButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
1129
- --split-background: var(--split-background-active);
1130
- }
1131
- .vuuSplitButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .vuuSplitButton-trigger {
1132
- --vuu-icon-color: var(--split-color-active);
1133
- }
1134
- .vuuSplitButton-main {
1135
- border-style: solid none solid solid;
1136
- border-radius: var(--main-border-radius);
1137
- padding: 0 4px 0 16px;
1138
- }
1139
- .vuuSplitButton-trigger {
1140
- border-style: var(--trigger-border-style);
1141
- border-radius: var(--trigger-border-radius);
1142
- }
1143
-
1144
- /* src/split-button/SplitStateButton.css */
1145
- .vuuSplitStateButton {
1146
- --split-state-background: var(--salt-actionable-secondary-background);
1147
- --split-state-foreground: var(--salt-actionable-secondary-foreground);
1148
- --vuuSplitButton-background: var(--split-state-background);
1149
- --vuuSplitButton-foreground: var(--split-state-foreground);
1150
- --vuuSplitButton-background-hover: var(--split-state-background);
1151
- --vuuSplitButton-foreground-hover: var(--split-state-foreground);
1152
- }
1153
- .vuuSplitStateButton .saltButton-primary:active,
1154
- .vuuSplitStateButton .saltButton-primary.saltButton-active {
1155
- --saltButton-background-active: var(--salt-actionable-primary-background);
1156
- --saltButton-text-color-active: var(--salt-actionable-primary-foreground);
1157
- }
1158
- .vuuSplitStateButton[aria-checked=true] {
1159
- --vuuButtonIcon-color: var(--salt-actionable-primary-foreground-active);
1160
- --saltButton-text-color: var(--salt-actionable-primary-foreground-active);
1161
- --saltButton-text-color-hover: var(--salt-actionable-primary-foreground-active);
1162
- --split-state-background: var(--salt-actionable-primary-background-active);
1163
- --split-state-foreground: var(--salt-actionable-primary-foreground-active);
1164
- }
1165
- .vuuSplitStateButton[aria-checked=true].focusVisible {
1166
- --split-state-background: var(--salt-actionable-primary-background-active);
1167
- }
1168
- .vuuSplitStateButton[aria-checked=true] .vuuEditableLabel-input {
1169
- color: var(--salt-actionable-primary-foreground-active);
1170
- }
1171
- .vuuSplitStateButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
1172
- --split-background: var(--salt-actionable-primary-background);
1173
- }
1174
- .vuuSplitStateButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .vuuSplitButton-trigger {
1175
- --vuu-icon-color: var(--salt-actionable-primary-foreground);
1176
- }
1177
- .vuuSplitStateButton:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
1178
- --split-background: var(--salt-actionable-secondary-background);
1179
- }
1180
- .vuuSplitStateButton:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .saltButton-primary:active {
1181
- background: var(--salt-actionable-secondary-background);
1182
- }
1183
- .vuuSplitStateButton[aria-checked=true]:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
1184
- --split-background: var(--salt-actionable-primary-background-active);
1185
- }
1186
- .vuuSplitStateButton[aria-checked=true]:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .saltButton-primary:active {
1187
- background: var(--salt-actionable-primary-background-active);
1188
- }
1189
- .vuuSplitStateButton:hover:not(.vuuSplitStateButton-disabled) .saltButton {
1190
- border-color: var(--salt-actionable-primary-foreground);
1191
- }
1192
-
1193
- /* src/tabstrip/Tabstrip.css */
1194
- .vuuTabstrip {
1195
- --vuuOverflowContainer-background: transparent;
1196
- --vuuOverflowContainer-borderColor: var(--salt-container-primary-borderColor);
1197
- --vuuOverflowContainer-width: var(--tabstrip-width);
1198
- --tabstrip-dragging-display: none;
1199
- --tabstrip-display: inline-flex;
1200
- --tabstrip-background: transparent;
1201
- align-self: var(--saltTabs-tabstrip-alignSelf, stretch);
1202
- display: flex;
1203
- font-size: var(--salt-text-fontSize);
1204
- font-weight: var(--vuuTabstrip-fontWeight, var(--salt-text-fontWeight));
1205
- min-width: 28px;
1206
- position: relative;
1207
- overflow: visible;
1208
- }
1209
- .vuuTabstrip.vuuOrientation-horizontal {
1210
- --vuuOverflowContainer-borderStyle: none none solid none;
1211
- --vuuOverflowContainer-borderBottomWidth: 1px;
1212
- --tabstrip-height: var(--vuuTabstrip-height, var(--overflow-wrapper-height,28px));
1213
- --tabstrip-width: var(--vuuTabstrip-width, 100%);
1214
- --tab-height: var(--tabstrip-height);
1215
- --tab-width: auto;
1216
- --tab-thumb-height: 2px;
1217
- --tab-thumb-left: var(--tab-thumb-offset, 0);
1218
- --tab-thumb-top: auto;
1219
- --tab-thumb-width: var(--tab-thumb-size, 100%);
1220
- align-items: flex-start;
1221
- }
1222
- .vuuTabstrip.vuuOrientation-vertical {
1223
- --tabstrip-height: var(--vuuTabstrip-height, 100%);
1224
- --tabstrip-width: var(--vuuTabstrip-width, 100px);
1225
- --tab-height: 50px;
1226
- --tab-width: 100%;
1227
- --tab-thumb-height: 0;
1228
- --tab-thumb-left: 0;
1229
- --tab-thumb-top: var(--tab-thumb-offset, 0);
1230
- --tab-thumb-width: 2px;
1231
- align-self: flex-start;
1232
- display: inline-flex;
1233
- }
1234
- .vuuTabstrip-draggingTab .vuuTab {
1235
- pointer-events: none;
1236
- }
1237
- .vuuTabstrip-overflowMenu.vuuDropdown {
1238
- --saltIcon-margin: 2px 0 0 0px;
1239
- }
1240
- .vuuTabstrip-overflowMenu-open {
1241
- --saltButton-background: var(--salt-actionable-secondary-background-active);
1242
- --saltButton-text-color: var(--salt-actionable-secondary-text-color-active);
1243
- }
1244
- .vuuTabstrip-overflowMenu-open .saltButton {
1245
- --saltIcon-color: var(--salt-actionable-secondary-foreground-active);
1246
- }
1247
- .vuuTabstrip-inner {
1248
- width: 100%;
1249
- align-items: center;
1250
- display: flex;
1251
- flex-basis: auto;
1252
- flex-grow: 0;
1253
- flex-shrink: 1;
1254
- flex-wrap: wrap;
1255
- justify-content: flex-start;
1256
- line-height: var(--tabstrip-height);
1257
- }
1258
- .vuuTabstrip.vuuOrientation-vertical .vuuTabstrip-inner {
1259
- flex-direction: column;
1260
- height: auto;
1261
- }
1262
- .vuuTabstrip-centered .vuuTabstrip-inner {
1263
- justify-content: center;
1264
- }
1265
- .vuuDraggable[class*=vuuTabstrip] {
1266
- --tabstrip-display: flex;
1267
- --tabstrip-height: 100%;
1268
- --tabstrip-dragging-display: block;
1269
- --tabs-tab-background: var(--salt-navigable-primary-background-hover);
1270
- --tabs-tab-before-content: "";
1271
- --tabs-tab-before-background: var(--salt-navigable-indicator-hover);
1272
- --tabs-tab-before-height: var(--tab-activationIndicator-thumb-height);
1273
- --tabs-tab-before-inset: var(--tab-activationIndicator-inset);
1274
- --tabs-tab-before-width: var(--tab-activationIndicator-thumb-width);
1275
- --tabs-tab-cursor: var(--salt-draggable-grab-cursor-active);
1276
- --tabs-tab-position: static;
1277
- font-size: 12px;
1278
- }
1279
- .vuuDraggable-tabstrip-horizontal {
1280
- --overflow-item-height: var(--tabstrip-height);
1281
- --tab-thumb-height: 2px;
1282
- --tab-thumb-left: 0px;
1283
- --tabstrip-display: inline-flex;
1284
- --tabstrip-height: 28px;
1285
- line-height: var(--tabstrip-height);
1286
- }
1287
- .vuuDraggable[class*=tabstrip] .vuuTab[aria-selected=true]:before {
1288
- --tabs-tab-before-background: var(--salt-navigable-indicator-active);
1289
- }
1290
- .vuuTabstrip-overflowMenu-dropTarget:after {
1291
- background: var(--salt-selectable-background-selected);
1292
- content: "";
1293
- position: absolute;
1294
- height: 2px;
1295
- left: 0;
1296
- right: 0;
1297
- bottom: 0;
1298
- }
1299
-
1300
- /* src/tabstrip/TabMenu.css */
1301
- .vuuTabMenu {
1302
- top: var(--vuuTabMenu-top, 0px);
1303
- }
1304
-
1305
- /* src/tabstrip/Tab.css */
1306
- .vuuTab {
1307
- --saltEditableLabel-padding: 0;
1308
- --saltEditableLabel-height: calc(var(--tabstrip-height) - 2px);
1309
- --saltInputLegacy-minWidth: 4em;
1310
- --saltEditableLabel-top: 2px;
1311
- --tab-background: var(--vuuTab-background, transparent);
1312
- --tab-cursor: pointer;
1313
- --tab-position: relative;
1314
- align-items: center;
1315
- align-self: stretch;
1316
- background: var(--tab-background);
1317
- border-color: var(--vuuTab-borderColor, transparent);
1318
- border-style: var(--vuuTab-borderStyle, none);
1319
- border-width: var(--vuuTab-borderWidth, 0px);
1320
- border-radius: var(--vuuTab-borderRadius, 0);
1321
- color: var(--salt-content-primary-foreground);
1322
- cursor: var(--vuuTab-cursor, var(--tab-cursor));
1323
- display: var(--tabstrip-display);
1324
- gap: 8px;
1325
- height: var(--vuuTabHeight, var(--tab-height));
1326
- letter-spacing: var(--vuuTab-letterSpacing, var(--tab-letterSpacing, 0));
1327
- margin: 0 var(--tab-spacing) 0 0;
1328
- min-width: var(--vuuTab-minWidth, 40px);
1329
- outline: none;
1330
- padding: var(--vuuTab-padding, 0 var(--salt-spacing-200));
1331
- position: var(--vuuTab-position, var(--tab-position));
1332
- user-select: none;
1333
- width: var(--tab-width);
1334
- }
1335
- .vuuTab-selected {
1336
- background: var(--vuuTab-background-selected, var(--tab-background));
1337
- color: var(--salt-content-primary-foreground);
1338
- font-weight: var(--salt-navigable-fontWeight-active);
1339
- }
1340
- .vuuTab-main {
1341
- align-items: center;
1342
- border: none;
1343
- color: inherit;
1344
- cursor: inherit;
1345
- display: flex;
1346
- font-family: inherit;
1347
- font-size: inherit;
1348
- font-weight: inherit;
1349
- height: calc(var(--tab-height) - var(--tab-thumb-height));
1350
- margin-bottom: var(--tab-thumb-height);
1351
- outline: none;
1352
- position: relative;
1353
- }
1354
- .vuuTab-closeable .vuuTab-main {
1355
- border-right: solid transparent var(--salt-size-unit);
1356
- }
1357
- .vuuTab .vuuTab-closeButton {
1358
- display: flex;
1359
- align-items: center;
1360
- justify-content: center;
1361
- }
1362
- .vuuTab-close-icon {
1363
- display: none;
1364
- }
1365
- .salt-density-touch .vuuTab-close-icon,
1366
- .salt-density-low .vuuTab-close-icon {
1367
- display: block;
1368
- }
1369
- .salt-density-touch .vuuTab-close-icon-small,
1370
- .salt-density-low .vuuTab-close-icon-small {
1371
- display: none;
1372
- }
1373
- .vuuTab .vuuTab-text {
1374
- display: inline-block;
1375
- position: relative;
1376
- overflow: hidden;
1377
- text-align: var(--salt-text-textAlign-embedded);
1378
- text-overflow: ellipsis;
1379
- top: var(--vuuTab-top, var(--tab-top, auto));
1380
- white-space: nowrap;
1381
- z-index: var(--salt-zIndex-default);
1382
- }
1383
- .vuuTab .vuuTab-text:before {
1384
- height: 0;
1385
- content: attr(data-text);
1386
- display: block;
1387
- visibility: hidden;
1388
- font-weight: var(--salt-navigable-fontWeight-active);
1389
- }
1390
- .vuuTab-editing:after {
1391
- content: "";
1392
- position: absolute;
1393
- top: 0;
1394
- left: 0;
1395
- right: 0;
1396
- bottom: 2px;
1397
- outline-color: var(--salt-focused-outlineColor);
1398
- outline-style: var(--salt-focused-outlineStyle);
1399
- outline-width: var(--salt-focused-outlineWidth);
1400
- outline-offset: -2px;
1401
- }
1402
- .vuuTab.vuuFocusVisible {
1403
- background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
1404
- outline-color: var(--vuuTab-focusVisible-color, var(--salt-focused-outlineColor));
1405
- outline-style: dashed;
1406
- outline-width: 1px;
1407
- outline-offset: -1px;
1408
- }
1409
- .vuuTab:before {
1410
- content: var(--tab-before-content, none);
1411
- content: "";
1412
- background: var(--tab-before-background);
1413
- height: var(--tab-before-height);
1414
- inset: var(--tab-before-inset);
1415
- position: absolute;
1416
- width: var(--tab-before-width);
1417
- z-index: 1;
1418
- }
1419
- .vuuTabstrip-draggingTab .vuuTab-selected:before {
1420
- --tab-before-content: "";
1421
- --tab-before-background: var(--salt-navigable-indicator-color-active);
1422
- --tab-before-height: var(--tab-thumb-height);
1423
- --tab-before-inset: var(--tab-activationIndicator-inset);
1424
- --tab-before-width: var(--tab-activationIndicator-thumb-width);
1425
- }
1426
- .vuuTab-selected:before {
1427
- --tab-before-content: "";
1428
- background: var(--salt-navigable-indicator-active);
1429
- height: var(--tab-thumb-height);
1430
- position: absolute;
1431
- left: var(--tab-thumb-left);
1432
- bottom: 0px;
1433
- top: var(--tab-thumb-top, auto);
1434
- transition: var(--tab-thumb-transition, none);
1435
- width: var(--tab-thumb-width, 100%);
1436
- }
1437
- .vuuTab:hover:not(.vuuTab-closeHover, .vuuTab-selected) {
1438
- background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
1439
- }
1440
-
1441
- /* src/toolbar/Toolbar.css */
1442
- .vuuToolbar {
1443
- --toolbar-height: var(--vuuToolbar-height, 36px);
1444
- --toolbar-item-height: var(--vuuToolbarItem-height, 100%);
1445
- --vuuOverflowContainer-background: var(--vuuToolbar-background);
1446
- --vuuOverflowContainer-borderColor: var(--vuuToolbar-borderColor);
1447
- --vuuOverflowContainer-borderStyle: var(--vuuToolbar-borderStyle);
1448
- --vuuOverflowContainer-borderWidth: var(--vuuToolbar-borderWidth);
1449
- height: var(--toolbar-height);
1450
- }
1451
- .vuuToolbar-alignCenter {
1452
- --vuuOverflowContainer-justifyContent: center;
1453
- }
1454
- .vuuToolbar-alignEnd {
1455
- --vuuOverflowContainer-justifyContent: flex-end;
1456
- }
1457
- .vuuToolbar-withSeparators .vuuOverflowContainer-item:not(:first-child):before {
1458
- content: "";
1459
- position: absolute;
1460
- left: calc(-1 * var(--overflow-item-gap));
1461
- top: calc((var(--toolbar-height) - var(--toolbar-item-height)) /2);
1462
- width: 1px;
1463
- height: var(--toolbar-item-height);
1464
- background-color: var(--vuu-color-gray-05);
1465
- }
1466
- .vuuToolbarItem.vuuFocusVisible {
1467
- outline-color: var(--vuuToolbarItem-outlineColor, var(--salt-focused-outlineColor));
1468
- outline-style: dashed;
1469
- outline-width: 1px;
1470
- outline-offset: 0px;
1471
- }
1472
- .vuuToolbarItem:focus,
1473
- .vuuToolbarItem:focus-visible {
1474
- outline-color: var(--vuuToolbarItem-outlineColor, var(--vuu-color-purple-10));
1475
- outline-style: dashed;
1476
- outline-width: 1px;
1477
- outline-offset: 0px;
1478
- }
1479
-
1480
- /* src/tree/Tree.css */
1481
- .vuuTree {
1482
- --tree-node-collapse: var(--vuuTree-toggle-collapse, var(--svg-tree-node-collapse));
1483
- --tree-node-expand: var(--vuuTree-toggle-expand, var(--svg-tree-node-expand));
1484
- --tree-toggle-width: 12px;
1485
- --tree-icon-color: var(--vuuTree-icon-color, #4c505b);
1486
- --tree-node-expanded-transform: var(--vuuTree-node-expanded-transform, none);
1487
- --tree-node-indent: 0px;
1488
- --list-hilited-bg: var(--hw-list-hilited-bg, rgba(0, 0, 0, 0.1));
1489
- --list-item-height: var(--hw-list-item-height, 30px);
1490
- --list-item-padding: var(--hw-list-item-padding, 0 6px);
1491
- --list-item-header-bg: var(--hw-list-item-header-bg, black);
1492
- --list-item-header-color: var(--hw-list-item-header-color, white);
1493
- --list-item-header-font-weight: bold;
1494
- --list-item-header-twisty-color: black;
1495
- --list-item-header-twisty-content: "";
1496
- --list-item-header-twisty-top: 50%;
1497
- --list-item-header-twisty-left: -18px;
1498
- --list-item-header-twisty-right: auto;
1499
- --list-item-selected-bg: var(--hw-list-selected-bg, #1ea7fd);
1500
- --list-item-selected-color: white;
1501
- --list-item-text-color: var(--hw-gray-800);
1502
- --focus-visible-border-color: var(--hw-focus-visible-border-color, rgb(141, 154, 179));
1503
- list-style: none;
1504
- margin: 0;
1505
- padding: 0 1px;
1506
- font-size: var(--vuuTree-font-size, 14px);
1507
- max-height: inherit;
1508
- outline: none;
1509
- overflow-y: auto;
1510
- position: relative;
1511
- user-select: none;
1512
- }
1513
- .vuuTree-viewport {
1514
- --list-item-height: 30px;
1515
- box-sizing: border-box;
1516
- max-height: inherit;
1517
- overflow: auto;
1518
- }
1519
- .vuuTree-scrollingContentContainer {
1520
- box-sizing: inherit;
1521
- position: relative;
1522
- }
1523
- .vuuTree-scrollingContentContainer .vuuTreeNode {
1524
- line-height: 30px;
1525
- position: absolute;
1526
- top: 0;
1527
- left: 0;
1528
- right: 0;
1529
- will-change: transform;
1530
- }
1531
- .vuuTreeNode {
1532
- list-style: none;
1533
- }
1534
- .vuuTreeNode:not([aria-expanded]),
1535
- .vuuTreeNode[aria-expanded] > .vuuTreeNode-label {
1536
- --checkbox-border-color: black;
1537
- --checkbox-border-width: 1px;
1538
- --checkbox-tick: black;
1539
- --list-item-padding-left: 6px;
1540
- --svg-toggle: var(--tree-node-collapse);
1541
- align-items: center;
1542
- color: var(--list-item-text-color);
1543
- display: flex;
1544
- flex-wrap: nowrap;
1545
- height: var(--list-item-height);
1546
- line-height: var(--list-item-height);
1547
- padding: var(--list-item-padding);
1548
- padding-left: var(--padding-left);
1549
- position: relative;
1550
- cursor: default;
1551
- margin: 0;
1552
- white-space: nowrap;
1553
- }
1554
- .vuuTreeNode:not([aria-expanded]) {
1555
- --padding-left: calc( var(--list-item-padding-left) + var(--tree-toggle-width) + var(--tree-node-indent) );
1556
- }
1557
- .vuuTreeNode[aria-expanded] > .vuuTreeNode-label {
1558
- --padding-left: calc( var(--list-item-padding-left) + var(--tree-toggle-width) + var(--tree-node-indent) );
1559
- }
1560
- .vuuTreeNode-icon {
1561
- background-color: var(--tree-icon-color);
1562
- display: inline-block;
1563
- height: 18px;
1564
- margin-right: 6px;
1565
- -webkit-mask: var(--vuu-icon-svg) center center/12px 12px no-repeat;
1566
- mask: var(--vuu-icon-svg) center center/12px 12px no-repeat;
1567
- flex: 0 0 18px;
1568
- }
1569
- .vuuTreeNode[aria-expanded] {
1570
- flex-direction: column;
1571
- }
1572
- .vuuTreeNode[aria-expanded] {
1573
- flex-direction: column;
1574
- height: auto;
1575
- }
1576
- .vuuTreeNode > *[role=group] {
1577
- padding-left: 0px;
1578
- }
1579
- .vuuTreeNode {
1580
- padding-left: calc(var(--padding-left) + var(--tree-node-indent));
1581
- }
1582
- .vuuTreeNode[aria-level="2"] {
1583
- --tree-node-indent: 12px;
1584
- }
1585
- .vuuTreeNode[aria-level="3"] {
1586
- --tree-node-indent: 24px;
1587
- }
1588
- .vuuTreeNode[aria-level="4"] {
1589
- --tree-node-indent: 36px;
1590
- }
1591
- .vuuTreeNode:not(.focusVisible):not(.hwListItemHeader):not([aria-expanded])[data-highlighted],
1592
- .vuuTreeNode:not(.focusVisible):not(.hwListItemHeader)[aria-expanded][data-highlighted] > div:first-child {
1593
- background-color: var(--list-hilited-bg);
1594
- }
1595
- .vuuTreeNode-toggle {
1596
- cursor: pointer;
1597
- }
1598
- .vuuTreeNode > .vuuTreeNode-toggle {
1599
- display: inline-block;
1600
- height: 100%;
1601
- left: 0;
1602
- position: absolute;
1603
- width: calc(var(--list-item-padding-left) + var(--tree-toggle-width));
1604
- }
1605
- .vuuTreeNode[aria-expanded] > .vuuTreeNode-label:after {
1606
- content: var(--list-item-header-twisty-content);
1607
- -webkit-mask: var(--svg-toggle) center center/8px 8px no-repeat;
1608
- mask: var(--svg-toggle) center center/8px 8px no-repeat;
1609
- background-color: var(--list-item-header-twisty-color);
1610
- height: 18px;
1611
- margin-top: -9px;
1612
- left: var(--tree-node-indent);
1613
- position: absolute;
1614
- top: var(--list-item-header-twisty-top);
1615
- transition: transform 0.3s;
1616
- width: 18px;
1617
- }
1618
- .vuuTreeNode[aria-selected=true] {
1619
- --list-item-header-twisty-color: var(--list-item-selected-color);
1620
- }
1621
- .vuuTreeNode:not(.focusVisible):focus {
1622
- background-color: rgba(0, 0, 0, 0.1);
1623
- }
1624
- .vuuTreeNode:not([aria-expanded]).focusVisible:before,
1625
- .vuuTreeNode[aria-expanded].focusVisible > div:first-child:before {
1626
- content: "";
1627
- position: absolute;
1628
- top: 0px;
1629
- left: var(--tree-focus-offset, 0px);
1630
- right: 0;
1631
- bottom: 0px;
1632
- border: dotted var(--focus-visible-border-color) 2px;
1633
- background-color: var(--list-hilited-bg);
1634
- }
1635
- .vuuTreeNode[aria-expanded=false] > *:first-child:after {
1636
- --svg-toggle: var(--tree-node-expand);
1637
- }
1638
- .vuuTreeNode[aria-expanded=true] > *:first-child:after {
1639
- transform: var(--tree-node-expanded-transform);
1640
- }
1641
- .vuuTree:not(.checkbox-only) .vuuTreeNode:not([aria-expanded])[aria-selected=true],
1642
- .vuuTree:not(.checkbox-only) .vuuTreeNode[aria-expanded][aria-selected=true] > div:first-child {
1643
- --checkbox-border-color: var(--list-item-selected-color);
1644
- --checkbox-tick: var(--list-item-selected-color);
1645
- --focus-visible-border-color: var(--list-item-selected-color);
1646
- background-color: var(--list-item-selected-bg);
1647
- color: var(--list-item-selected-color);
1648
- }
1649
- .with-checkbox .vuuTreeNode {
1650
- padding-left: 28px;
1651
- }
1652
- .with-checkbox .vuuTreeNode:before {
1653
- border-style: solid;
1654
- border-width: var(--checkbox-border-width);
1655
- border-color: var(--checkbox-border-color);
1656
- content: "";
1657
- height: 12px;
1658
- left: 3px;
1659
- margin-top: -7px;
1660
- position: absolute;
1661
- top: 50%;
1662
- width: 12px;
1663
- }
1664
- /*# sourceMappingURL=index.css.map */