@vuu-ui/vuu-ui-controls 0.8.24-debug → 0.8.25-debug
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.
- package/cjs/index.js +1291 -914
- package/cjs/index.js.map +4 -4
- package/esm/index.js +1016 -645
- package/esm/index.js.map +4 -4
- package/index.css +165 -69
- package/index.css.map +3 -3
- package/package.json +7 -7
- package/types/date-input/DateInput.d.ts +12 -0
- package/types/date-input/DateRangeInput.d.ts +11 -0
- package/types/date-input/index.d.ts +2 -0
- package/types/date-input/types.d.ts +16 -0
- package/types/date-input/useBaseDatePickerDropdown.d.ts +15 -0
- package/types/date-input/useDatePicker.d.ts +7 -0
- package/types/date-popup/DatePopup.d.ts +12 -0
- package/types/date-popup/index.d.ts +1 -0
- package/types/date-popup/useDatePopup.d.ts +20 -0
- package/types/dropdown/dropdownTypes.d.ts +1 -0
- package/types/dropdown/useClickAway.d.ts +1 -0
- package/types/index.d.ts +3 -0
- package/types/instrument-picker/InstrumentPicker.d.ts +4 -5
- package/types/instrument-picker/useInstrumentPicker.d.ts +2 -3
- package/types/overflow-container/OverflowContainer.d.ts +0 -1
- package/types/overflow-container/overflow-utils.d.ts +5 -5
- package/types/overflow-container/useOverflowContainer.d.ts +1 -1
- package/types/split-button/SplitButton.d.ts +3 -4
- package/types/split-button/SplitStateButton.d.ts +7 -0
- package/types/split-button/index.d.ts +1 -0
- package/types/split-button/useSplitButton.d.ts +2 -3
- package/types/tabstrip/TabsTypes.d.ts +5 -0
- package/types/tabstrip/Tabstrip.d.ts +1 -1
package/index.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* src/dropdown/Dropdown.css */
|
|
2
2
|
.vuuDropdown {
|
|
3
3
|
--saltIcon-margin: 2px 0 0 8px;
|
|
4
|
-
|
|
4
|
+
--saltButton-height: var(--vuuDropdown-height);
|
|
5
|
+
--saltButton-width: var(--vuuDropdown-width);
|
|
5
6
|
line-height: 0;
|
|
6
7
|
position: relative;
|
|
7
|
-
width: var(--vuuDropdown-width, auto);
|
|
8
8
|
}
|
|
9
9
|
.vuuDropdownButton.saltButton-secondary {
|
|
10
|
+
--saltButton-background: var(--salt-editable-background);
|
|
11
|
+
--saltButton-color: var(--salt-editable-foreground);
|
|
10
12
|
--saltButton-borderStyle: solid;
|
|
11
13
|
--saltButton-borderColor: var(--salt-editable-borderColor);
|
|
12
14
|
--saltButton-borderWidth: 1px;
|
|
13
|
-
--saltButton-borderRadius: 6px;
|
|
14
|
-
--saltButton-height: var(--vuuDropdown-height, auto);
|
|
15
15
|
}
|
|
16
16
|
.vuuDropdown-fullWidth {
|
|
17
17
|
width: 100%;
|
|
@@ -23,9 +23,6 @@
|
|
|
23
23
|
.vuuDropdown-popup-component {
|
|
24
24
|
--vuuList-borderStyle: none;
|
|
25
25
|
}
|
|
26
|
-
.vuuDropdownButton {
|
|
27
|
-
width: 100%;
|
|
28
|
-
}
|
|
29
26
|
|
|
30
27
|
/* src/dropdown/DropdownButton.css */
|
|
31
28
|
.vuuDropdownButton {
|
|
@@ -74,6 +71,7 @@
|
|
|
74
71
|
--vuu-icon-left: -1px;
|
|
75
72
|
--vuu-icon-top: -1px;
|
|
76
73
|
--vuu-icon-svg: var(--vuu-svg-tick);
|
|
74
|
+
background: var(--salt-editable-primary-background);
|
|
77
75
|
border-style: solid;
|
|
78
76
|
border-color: var( --vuuCheckboxIcon-borderColor, var(--salt-selectable-borderColor) );
|
|
79
77
|
border-radius: var(--vuuCheckboxIcon-borderRadius, 3px);
|
|
@@ -111,9 +109,9 @@
|
|
|
111
109
|
|
|
112
110
|
/* src/list/ListItem.css */
|
|
113
111
|
.vuuListItem {
|
|
114
|
-
--list-item-text-color: var(--salt-
|
|
112
|
+
--list-item-text-color: var(--salt-content-primary-foreground);
|
|
115
113
|
--list-item-background: var(--vuuList-item-background, var(--salt-selectable-background));
|
|
116
|
-
--list-item-text-color-active: var(--salt-
|
|
114
|
+
--list-item-text-color-active: var(--salt-selectable-foreground-selected);
|
|
117
115
|
--list-item-background-active: var(--salt-selectable-background-selected);
|
|
118
116
|
--list-item-alignItems: center;
|
|
119
117
|
}
|
|
@@ -151,7 +149,7 @@
|
|
|
151
149
|
}
|
|
152
150
|
.vuuListItem-checkbox {
|
|
153
151
|
--list-item-background-active: var(--salt-selectable-background);
|
|
154
|
-
--list-item-text-color-active: var(--salt-
|
|
152
|
+
--list-item-text-color-active: var(--salt-content-primary-foreground);
|
|
155
153
|
--list-item-text-padding: 0 0 0 var(--salt-size-unit);
|
|
156
154
|
}
|
|
157
155
|
.vuuListItem[aria-selected=true]:not(.vuuListItem-checkbox) {
|
|
@@ -159,7 +157,7 @@
|
|
|
159
157
|
color: var(--list-item-text-color-active);
|
|
160
158
|
}
|
|
161
159
|
.vuuListItem.vuuDisabled {
|
|
162
|
-
--list-item-text-color: var(--salt-
|
|
160
|
+
--list-item-text-color: var(--salt-content-primary-foreground-disabled);
|
|
163
161
|
cursor: var(--salt-selectable-cursor-disabled);
|
|
164
162
|
}
|
|
165
163
|
.vuuListItem.vuuFocusVisible {
|
|
@@ -202,11 +200,10 @@
|
|
|
202
200
|
--overflow-border-rightWidth: var(--vuuOverflowContainer-borderRightWidth, var(--overflow-borderWidth));
|
|
203
201
|
--overflow-border-bottomWidth: var(--vuuOverflowContainer-borderBottomWidth, var(--overflow-borderWidth));
|
|
204
202
|
--overflow-border-leftWidth: var(--vuuOverflowContainer-borderLeftWidth, var(--overflow-borderWidth));
|
|
203
|
+
--border: calc(var(--overflow-border-topWidth) + var(--overflow-border-bottomWidth));
|
|
205
204
|
--overflow-item-gap: var(--vuuOverflowContainer-gap,2px);
|
|
206
205
|
--overflow-direction: row;
|
|
207
206
|
--overflow-height: var(--overflow-item-height);
|
|
208
|
-
--overflow-top:top:0;
|
|
209
|
-
--overflow-width: 0px;
|
|
210
207
|
background-color: var(--vuuOverflowContainer-background);
|
|
211
208
|
border-color: var(--overflow-borderColor);
|
|
212
209
|
border-style: var(--overflow-borderStyle);
|
|
@@ -214,32 +211,53 @@
|
|
|
214
211
|
border-right-width: var(--overflow-border-rightWidth);
|
|
215
212
|
border-bottom-width: var(--overflow-border-bottomWidth);
|
|
216
213
|
border-left-width: var(--overflow-border-leftWidth);
|
|
217
|
-
height: var(--overflow-container-
|
|
214
|
+
height: var(--vuuOverflowContainer-height,var(--overflow-container-height));
|
|
215
|
+
width: var(--overflow-container-width);
|
|
218
216
|
}
|
|
219
|
-
.vuuOverflowContainer-horizontal {
|
|
217
|
+
.vuuOverflowContainer.vuuOrientation-horizontal {
|
|
220
218
|
--item-align: center;
|
|
221
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));
|
|
222
228
|
}
|
|
223
|
-
.vuuOverflowContainer-
|
|
229
|
+
.vuuOverflowContainer.vuuOrientation-horizontal .vuuOverflowContainer-wrapContainer-overflowed {
|
|
230
|
+
--overflow-left: auto;
|
|
231
|
+
--overflow-position: relative;
|
|
232
|
+
--overflow-width: auto;
|
|
233
|
+
}
|
|
234
|
+
.vuuOverflowContainer.vuuOrientation-vertical {
|
|
224
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)));
|
|
225
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));
|
|
226
242
|
--item-margin: var(--overflow-item-gap) 0 var(--overflow-item-gap) 0;
|
|
227
243
|
--overflow-direction: column;
|
|
228
|
-
--overflow-height:
|
|
244
|
+
--overflow-height: 0px;
|
|
229
245
|
--overflow-left: 0;
|
|
230
246
|
--overflow-top: 100%;
|
|
231
247
|
--overflow-width: auto;
|
|
232
248
|
}
|
|
249
|
+
.vuuOverflowContainer.vuuOrientation-vertical .vuuOverflowContainer-wrapContainer-overflowed {
|
|
250
|
+
--overflow-top: auto;
|
|
251
|
+
--overflow-position: relative;
|
|
252
|
+
--overflow-height: auto;
|
|
253
|
+
}
|
|
233
254
|
.vuuOverflowContainer-wrapContainer {
|
|
234
|
-
--border: calc(var(--overflow-border-topWidth) + var(--overflow-border-bottomWidth));
|
|
235
|
-
--overflow-item-height: calc(var(--overflow-container-height) - var(--border));
|
|
236
255
|
align-items: var(--item-align);
|
|
237
256
|
display: flex;
|
|
238
257
|
flex-direction: var(--overflow-direction);
|
|
239
258
|
flex-wrap: wrap;
|
|
240
|
-
height: var(--overflow-
|
|
259
|
+
height: var(--overflow-wrapper-height);
|
|
241
260
|
justify-content: var(--vuuOverflowContainer-justifyContent, flex-start);
|
|
242
|
-
min-width: var(--vuuOverflowContainer-minWidth, 44px);
|
|
243
261
|
overflow: hidden;
|
|
244
262
|
position: relative;
|
|
245
263
|
width: 100%;
|
|
@@ -250,7 +268,7 @@
|
|
|
250
268
|
--overflow-position: relative;
|
|
251
269
|
--overflow-width: auto;
|
|
252
270
|
}
|
|
253
|
-
.vuuOverflowContainer-vertical.vuuOverflowContainer-wrapContainer-overflowed {
|
|
271
|
+
.vuuOverflowContainer.vuuOrientation-vertical.vuuOverflowContainer-wrapContainer-overflowed {
|
|
254
272
|
--overflow-height: auto;
|
|
255
273
|
}
|
|
256
274
|
.vuuOverflowContainer-item {
|
|
@@ -260,6 +278,7 @@
|
|
|
260
278
|
position: relative;
|
|
261
279
|
height: var(--overflow-item-height);
|
|
262
280
|
margin: var(--item-margin);
|
|
281
|
+
width: var(--overflow-item-width);
|
|
263
282
|
}
|
|
264
283
|
.vuuOverflowContainer-item[data-align=right] {
|
|
265
284
|
margin-left: auto;
|
|
@@ -267,6 +286,7 @@
|
|
|
267
286
|
.vuuOverflowContainer-item.wrapped {
|
|
268
287
|
--overflow-item-bg: #ccc;
|
|
269
288
|
order: 3;
|
|
289
|
+
visibility: hidden;
|
|
270
290
|
}
|
|
271
291
|
.vuuOverflowContainer-item.vuuDraggable-dragAway,
|
|
272
292
|
.vuuOverflowContainer-item:has(.vuuDraggable-dragAway) {
|
|
@@ -282,9 +302,6 @@
|
|
|
282
302
|
height: var(--overflow-height);
|
|
283
303
|
order: var(--overflow-order, 99);
|
|
284
304
|
overflow: hidden;
|
|
285
|
-
left: var(--overflow-left, 100%);
|
|
286
|
-
top: var(--overflow-top, 100%);
|
|
287
|
-
position: var(--overflow-position, absolute);
|
|
288
305
|
width: var(--overflow-width);
|
|
289
306
|
}
|
|
290
307
|
.vuuDraggable-vuuOverflowContainer {
|
|
@@ -340,6 +357,14 @@
|
|
|
340
357
|
order: 1;
|
|
341
358
|
}
|
|
342
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
|
+
|
|
343
368
|
/* src/list/List.css */
|
|
344
369
|
.vuuList {
|
|
345
370
|
--list-background: var(--salt-container-primary-background);
|
|
@@ -425,14 +450,6 @@
|
|
|
425
450
|
left: 2px;
|
|
426
451
|
}
|
|
427
452
|
|
|
428
|
-
/* src/measured-container/MeasuredContainer.css */
|
|
429
|
-
.vuuMeasuredContainer {
|
|
430
|
-
flex: var(--vuuMeasuredContainer-flex, none);
|
|
431
|
-
height: var(--vuuMeasuredContainer-height, var(--measured-css-height));
|
|
432
|
-
min-height: 0;
|
|
433
|
-
width: var(--measured-css-width);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
453
|
/* src/list/RadioIcon.css */
|
|
437
454
|
.vuuRadioIcon {
|
|
438
455
|
--vuu-icon-size: 12px;
|
|
@@ -488,6 +505,17 @@
|
|
|
488
505
|
grid-template-columns: min-content auto min-content;
|
|
489
506
|
}
|
|
490
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
|
+
|
|
491
519
|
/* src/calendar/internal/CalendarWeekHeader.css */
|
|
492
520
|
.saltCalendarWeekHeader {
|
|
493
521
|
--calendar-week-header-underline-color: var(--salt-separable-secondary-borderColor);
|
|
@@ -709,6 +737,34 @@
|
|
|
709
737
|
--vuu-icon-svg: var(--vuu-svg-chevron-right);
|
|
710
738
|
}
|
|
711
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
|
+
|
|
712
768
|
/* src/date-picker/input/DatePickerInput.css */
|
|
713
769
|
.vuuDatePickerInput {
|
|
714
770
|
border: none;
|
|
@@ -885,17 +941,6 @@ input[type=date]::-webkit-calendar-picker-indicator {
|
|
|
885
941
|
padding: 0;
|
|
886
942
|
}
|
|
887
943
|
|
|
888
|
-
/* src/icon-button/Icon.css */
|
|
889
|
-
.vuuIcon {
|
|
890
|
-
--vuu-icon-left: 0;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
/* src/icon-button/IconButton.css */
|
|
894
|
-
.vuuIconButton {
|
|
895
|
-
--saltButton-padding: var(--salt-size-unit);
|
|
896
|
-
--saltButton-minWidth: var(--salt-size-base);
|
|
897
|
-
}
|
|
898
|
-
|
|
899
944
|
/* src/inputs/Checkbox.css */
|
|
900
945
|
.vuuCheckbox {
|
|
901
946
|
--vuuCheckboxIcon-background-checked-enabled: var(--vuu-color-purple-10);
|
|
@@ -1054,7 +1099,11 @@ input[type=radio] {
|
|
|
1054
1099
|
--saltButton-background-hover: var(--split-background);
|
|
1055
1100
|
--vuuPopupMenu-background: var(--split-background);
|
|
1056
1101
|
--vuuPopupMenu-iconSize: 20px;
|
|
1057
|
-
--
|
|
1102
|
+
--background: var(--vuuSplitButton-background);
|
|
1103
|
+
--foreground: var(--vuuSplitButton-foreground);
|
|
1104
|
+
--background-hover: var(--vuuSplitButton-background-hover);
|
|
1105
|
+
--foreground-hover: var(--vuuSplitButton-foreground-hover);
|
|
1106
|
+
--border-radius: var(--vuuSplitButton-borderRadius, 0px);
|
|
1058
1107
|
--main-border-radius: var(--border-radius) 0 0 var(--border-radius);
|
|
1059
1108
|
--trigger-border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
|
1060
1109
|
--trigger-border-style: solid solid solid none;
|
|
@@ -1067,13 +1116,13 @@ input[type=radio] {
|
|
|
1067
1116
|
outline-style: none;
|
|
1068
1117
|
}
|
|
1069
1118
|
.vuuSplitButton.vuuFocusVisible.vuuSplitButton-primary {
|
|
1070
|
-
--split-background: var(--salt-actionable-primary-background-hover);
|
|
1119
|
+
--split-background: var(--background-hover,var(--salt-actionable-primary-background-hover));
|
|
1071
1120
|
}
|
|
1072
1121
|
.vuuSplitButton.vuuFocusVisible.vuuSplitButton-secondary {
|
|
1073
|
-
--split-background: var(--salt-actionable-secondary-background-hover);
|
|
1122
|
+
--split-background: var(--background-hover,var(--salt-actionable-secondary-background-hover));
|
|
1074
1123
|
}
|
|
1075
1124
|
.vuuSplitButton.vuuFocusVisible.vuuSplitButton-cta {
|
|
1076
|
-
--split-background: var(--salt-actionable-cta-background-hover);
|
|
1125
|
+
--split-background: var(--background-hover,var(--salt-actionable-cta-background-hover));
|
|
1077
1126
|
}
|
|
1078
1127
|
.vuuSplitButton.vuuFocusVisible.vuuSplitButton-cta .vuuSplitButton-trigger {
|
|
1079
1128
|
--vuu-icon-color: var(--salt-actionable-cta-foreground-hover);
|
|
@@ -1085,21 +1134,21 @@ input[type=radio] {
|
|
|
1085
1134
|
outline-offset: var(--salt-focused-outlineOffset);
|
|
1086
1135
|
}
|
|
1087
1136
|
.vuuSplitButton-primary {
|
|
1088
|
-
--split-background: var(--salt-actionable-primary-background);
|
|
1137
|
+
--split-background: var(--background, var(--salt-actionable-primary-background));
|
|
1089
1138
|
--split-background-active: var(--salt-actionable-primary-background-active);
|
|
1090
1139
|
--split-color-active: var(--salt-actionable-primary-foreground-active);
|
|
1091
1140
|
}
|
|
1092
1141
|
.vuuSplitButton-primary:hover:not(.vuuSplitButton-disabled) {
|
|
1093
1142
|
--vuuButton-borderColor: var(--split-background);
|
|
1094
1143
|
--saltButton-borderColor: var(--split-background);
|
|
1095
|
-
--split-background: var(--salt-actionable-primary-background-hover);
|
|
1144
|
+
--split-background: var(--background-hover, var(--salt-actionable-primary-background-hover));
|
|
1096
1145
|
}
|
|
1097
1146
|
.vuuSplitButton-primary:hover:not(.vuuSplitButton-disabled) .saltButton {
|
|
1098
1147
|
--saltButton-text-color: var(--salt-actionable-primary-foreground-hover);
|
|
1099
1148
|
}
|
|
1100
1149
|
.vuuSplitButton-secondary {
|
|
1101
1150
|
--saltButton-borderColor: var(--split-background);
|
|
1102
|
-
--split-background: var(--salt-actionable-secondary-background);
|
|
1151
|
+
--split-background: var(--background,var(--salt-actionable-secondary-background));
|
|
1103
1152
|
--split-background-active: var(--salt-actionable-secondary-background-active);
|
|
1104
1153
|
--split-color-active: var(--salt-actionable-secondary-foreground-active);
|
|
1105
1154
|
}
|
|
@@ -1111,7 +1160,7 @@ input[type=radio] {
|
|
|
1111
1160
|
--saltButton-text-color: var(--salt-actionable-secondary-foreground-hover);
|
|
1112
1161
|
}
|
|
1113
1162
|
.vuuSplitButton-cta {
|
|
1114
|
-
--split-background: var(--salt-actionable-cta-background);
|
|
1163
|
+
--split-background: var(--background,var(--salt-actionable-cta-background));
|
|
1115
1164
|
--split-background-active: var(--salt-actionable-cta-background-active);
|
|
1116
1165
|
--split-color-active: var(--salt-actionable-cta-foreground-active);
|
|
1117
1166
|
}
|
|
@@ -1140,9 +1189,60 @@ input[type=radio] {
|
|
|
1140
1189
|
border-radius: var(--trigger-border-radius);
|
|
1141
1190
|
}
|
|
1142
1191
|
|
|
1192
|
+
/* src/split-button/SplitStateButton.css */
|
|
1193
|
+
.vuuSplitStateButton {
|
|
1194
|
+
--split-state-background: var(--salt-actionable-secondary-background);
|
|
1195
|
+
--split-state-foreground: var(--salt-actionable-secondary-foreground);
|
|
1196
|
+
--vuuSplitButton-background: var(--split-state-background);
|
|
1197
|
+
--vuuSplitButton-foreground: var(--split-state-foreground);
|
|
1198
|
+
--vuuSplitButton-background-hover: var(--split-state-background);
|
|
1199
|
+
--vuuSplitButton-foreground-hover: var(--split-state-foreground);
|
|
1200
|
+
}
|
|
1201
|
+
.vuuSplitStateButton .saltButton-primary:active,
|
|
1202
|
+
.vuuSplitStateButton .saltButton-primary.saltButton-active {
|
|
1203
|
+
--saltButton-background-active: var(--salt-actionable-primary-background);
|
|
1204
|
+
--saltButton-text-color-active: var(--salt-actionable-primary-foreground);
|
|
1205
|
+
}
|
|
1206
|
+
.vuuSplitStateButton[aria-checked=true] {
|
|
1207
|
+
--vuuButtonIcon-color: var(--salt-actionable-primary-foreground-active);
|
|
1208
|
+
--saltButton-text-color: var(--salt-actionable-primary-foreground-active);
|
|
1209
|
+
--saltButton-text-color-hover: var(--salt-actionable-primary-foreground-active);
|
|
1210
|
+
--split-state-background: var(--salt-actionable-primary-background-active);
|
|
1211
|
+
--split-state-foreground: var(--salt-actionable-primary-foreground-active);
|
|
1212
|
+
}
|
|
1213
|
+
.vuuSplitStateButton[aria-checked=true].focusVisible {
|
|
1214
|
+
--split-state-background: var(--salt-actionable-primary-background-active);
|
|
1215
|
+
}
|
|
1216
|
+
.vuuSplitStateButton[aria-checked=true] .vuuEditableLabel-input {
|
|
1217
|
+
color: var(--salt-actionable-primary-foreground-active);
|
|
1218
|
+
}
|
|
1219
|
+
.vuuSplitStateButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
|
|
1220
|
+
--split-background: var(--salt-actionable-primary-background);
|
|
1221
|
+
}
|
|
1222
|
+
.vuuSplitStateButton:has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .vuuSplitButton-trigger {
|
|
1223
|
+
--vuu-icon-color: var(--salt-actionable-primary-foreground);
|
|
1224
|
+
}
|
|
1225
|
+
.vuuSplitStateButton:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
|
|
1226
|
+
--split-background: var(--salt-actionable-secondary-background);
|
|
1227
|
+
}
|
|
1228
|
+
.vuuSplitStateButton:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .saltButton-primary:active {
|
|
1229
|
+
background: var(--salt-actionable-secondary-background);
|
|
1230
|
+
}
|
|
1231
|
+
.vuuSplitStateButton[aria-checked=true]:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) {
|
|
1232
|
+
--split-background: var(--salt-actionable-primary-background-active);
|
|
1233
|
+
}
|
|
1234
|
+
.vuuSplitStateButton[aria-checked=true]:has(.vuuEditableLabel-editing):has(.vuuSplitButton-main:active, .vuuSplitButton-main.saltButton-active) .saltButton-primary:active {
|
|
1235
|
+
background: var(--salt-actionable-primary-background-active);
|
|
1236
|
+
}
|
|
1237
|
+
.vuuSplitStateButton:hover:not(.vuuSplitStateButton-disabled) .saltButton {
|
|
1238
|
+
border-color: var(--salt-actionable-primary-foreground);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1143
1241
|
/* src/tabstrip/Tabstrip.css */
|
|
1144
1242
|
.vuuTabstrip {
|
|
1145
1243
|
--vuuOverflowContainer-background: transparent;
|
|
1244
|
+
--vuuOverflowContainer-borderColor: var(--salt-container-primary-borderColor);
|
|
1245
|
+
--vuuOverflowContainer-width: var(--tabstrip-width);
|
|
1146
1246
|
--tabstrip-dragging-display: none;
|
|
1147
1247
|
--tabstrip-display: inline-flex;
|
|
1148
1248
|
--tabstrip-background: transparent;
|
|
@@ -1153,13 +1253,11 @@ input[type=radio] {
|
|
|
1153
1253
|
min-width: 28px;
|
|
1154
1254
|
position: relative;
|
|
1155
1255
|
overflow: visible;
|
|
1156
|
-
width: var(--tabstrip-width);
|
|
1157
1256
|
}
|
|
1158
|
-
.vuuTabstrip-horizontal {
|
|
1159
|
-
--vuuOverflowContainer-borderColor: var(--salt-container-primary-borderColor);
|
|
1257
|
+
.vuuTabstrip.vuuOrientation-horizontal {
|
|
1160
1258
|
--vuuOverflowContainer-borderStyle: none none solid none;
|
|
1161
1259
|
--vuuOverflowContainer-borderBottomWidth: 1px;
|
|
1162
|
-
--tabstrip-height: var(--vuuTabstrip-height, 28px);
|
|
1260
|
+
--tabstrip-height: var(--vuuTabstrip-height, var(--overflow-wrapper-height,28px));
|
|
1163
1261
|
--tabstrip-width: var(--vuuTabstrip-width, 100%);
|
|
1164
1262
|
--tab-height: var(--tabstrip-height);
|
|
1165
1263
|
--tab-width: auto;
|
|
@@ -1169,7 +1267,7 @@ input[type=radio] {
|
|
|
1169
1267
|
--tab-thumb-width: var(--tab-thumb-size, 100%);
|
|
1170
1268
|
align-items: flex-start;
|
|
1171
1269
|
}
|
|
1172
|
-
.vuuTabstrip-vertical {
|
|
1270
|
+
.vuuTabstrip.vuuOrientation-vertical {
|
|
1173
1271
|
--tabstrip-height: var(--vuuTabstrip-height, 100%);
|
|
1174
1272
|
--tabstrip-width: var(--vuuTabstrip-width, 100px);
|
|
1175
1273
|
--tab-height: 50px;
|
|
@@ -1205,7 +1303,7 @@ input[type=radio] {
|
|
|
1205
1303
|
justify-content: flex-start;
|
|
1206
1304
|
line-height: var(--tabstrip-height);
|
|
1207
1305
|
}
|
|
1208
|
-
.vuuTabstrip-vertical .vuuTabstrip-inner {
|
|
1306
|
+
.vuuTabstrip.vuuOrientation-vertical .vuuTabstrip-inner {
|
|
1209
1307
|
flex-direction: column;
|
|
1210
1308
|
height: auto;
|
|
1211
1309
|
}
|
|
@@ -1249,7 +1347,7 @@ input[type=radio] {
|
|
|
1249
1347
|
|
|
1250
1348
|
/* src/tabstrip/TabMenu.css */
|
|
1251
1349
|
.vuuTabMenu {
|
|
1252
|
-
top: var(--vuuTabMenu-top,
|
|
1350
|
+
top: var(--vuuTabMenu-top, 0px);
|
|
1253
1351
|
}
|
|
1254
1352
|
|
|
1255
1353
|
/* src/tabstrip/Tab.css */
|
|
@@ -1258,35 +1356,33 @@ input[type=radio] {
|
|
|
1258
1356
|
--saltEditableLabel-height: calc(var(--tabstrip-height) - 2px);
|
|
1259
1357
|
--saltInputLegacy-minWidth: 4em;
|
|
1260
1358
|
--saltEditableLabel-top: 2px;
|
|
1261
|
-
--tab-background: var(--vuuTab-background,
|
|
1359
|
+
--tab-background: var(--vuuTab-background, transparent);
|
|
1262
1360
|
--tab-cursor: pointer;
|
|
1263
1361
|
--tab-position: relative;
|
|
1264
|
-
}
|
|
1265
|
-
.vuuTab {
|
|
1266
1362
|
align-items: center;
|
|
1267
1363
|
align-self: stretch;
|
|
1268
1364
|
background: var(--tab-background);
|
|
1269
|
-
border:
|
|
1365
|
+
border-color: var(--vuuTab-borderColor, transparent);
|
|
1366
|
+
border-style: var(--vuuTab-borderStyle, none);
|
|
1367
|
+
border-width: var(--vuuTab-borderWidth, 0px);
|
|
1270
1368
|
border-radius: var(--vuuTab-borderRadius, 0);
|
|
1271
|
-
color: var(--salt-
|
|
1369
|
+
color: var(--salt-content-primary-foreground);
|
|
1272
1370
|
cursor: var(--vuuTab-cursor, var(--tab-cursor));
|
|
1273
1371
|
display: var(--tabstrip-display);
|
|
1274
1372
|
gap: 8px;
|
|
1275
1373
|
height: var(--vuuTabHeight, var(--tab-height));
|
|
1276
1374
|
letter-spacing: var(--vuuTab-letterSpacing, var(--tab-letterSpacing, 0));
|
|
1375
|
+
margin: 0 var(--tab-spacing) 0 0;
|
|
1277
1376
|
min-width: var(--vuuTab-minWidth, 40px);
|
|
1278
1377
|
outline: none;
|
|
1279
|
-
padding: var(--vuuTab-padding, 0
|
|
1378
|
+
padding: var(--vuuTab-padding, 0 var(--salt-spacing-200));
|
|
1280
1379
|
position: var(--vuuTab-position, var(--tab-position));
|
|
1281
1380
|
user-select: none;
|
|
1282
1381
|
width: var(--tab-width);
|
|
1283
1382
|
}
|
|
1284
|
-
.vuuTab {
|
|
1285
|
-
margin: 0 var(--tab-spacing) 0 0;
|
|
1286
|
-
}
|
|
1287
1383
|
.vuuTab-selected {
|
|
1288
1384
|
background: var(--vuuTab-background-selected, var(--tab-background));
|
|
1289
|
-
color: var(--salt-
|
|
1385
|
+
color: var(--salt-content-primary-foreground);
|
|
1290
1386
|
font-weight: var(--salt-navigable-fontWeight-active);
|
|
1291
1387
|
}
|
|
1292
1388
|
.vuuTab-main {
|