@xds/vue 1.1.0 → 1.2.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.
- package/dist/Breadcrumb.js +4 -0
- package/dist/Breadcrumb.vue.d.ts +6 -0
- package/dist/Breadcrumb.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang.js +11 -3
- package/dist/Combobox.js +4 -0
- package/dist/Combobox.vue.d.ts +22 -0
- package/dist/Combobox.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/Link.js +4 -0
- package/dist/Link.vue.d.ts +27 -0
- package/dist/Link.vue_vue_type_script_setup_true_lang.js +62 -0
- package/dist/Pagination.js +4 -0
- package/dist/Pagination.vue.d.ts +9 -0
- package/dist/Pagination.vue_vue_type_script_setup_true_lang.js +74 -0
- package/dist/Popover.js +4 -0
- package/dist/Popover.vue.d.ts +26 -0
- package/dist/Popover.vue_vue_type_script_setup_true_lang.js +81 -0
- package/dist/Select.vue.d.ts +3 -1
- package/dist/Select.vue_vue_type_script_setup_true_lang.js +41 -17
- package/dist/Table.js +4 -0
- package/dist/Table.vue.d.ts +10 -0
- package/dist/Table.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/TimePicker.js +4 -0
- package/dist/TimePicker.vue.d.ts +10 -0
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/ToastQueue.js +4 -0
- package/dist/ToastQueue.vue.d.ts +9 -0
- package/dist/ToastQueue.vue_vue_type_script_setup_true_lang.js +42 -0
- package/dist/base.d.ts +13 -0
- package/dist/base.js +14 -0
- package/dist/index.d.ts +13 -4
- package/dist/index.js +10 -1
- package/dist/preview.d.ts +20 -3
- package/dist/preview.js +29 -6
- package/eject/files/Accordion.vue +89 -0
- package/eject/files/AccordionPanel.vue +47 -0
- package/eject/files/Avatar.vue +41 -0
- package/eject/files/AvatarStack.vue +46 -0
- package/eject/files/Badge.vue +29 -0
- package/eject/files/Banner.vue +65 -0
- package/eject/files/Breadcrumb.vue +43 -0
- package/eject/files/Button.vue +93 -0
- package/eject/files/Card.vue +85 -0
- package/eject/files/Checkbox.vue +104 -0
- package/eject/files/Chip.vue +32 -0
- package/eject/files/ChipBar.vue +25 -0
- package/eject/files/Combobox.vue +175 -0
- package/eject/files/CountBadge.vue +45 -0
- package/eject/files/DatePicker.vue +223 -0
- package/eject/files/DateRangePicker.vue +317 -0
- package/eject/files/Dialog.vue +105 -0
- package/eject/files/Divider.vue +15 -0
- package/eject/files/EmptyState.vue +28 -0
- package/eject/files/Icon.vue +34 -0
- package/eject/files/IconButton.vue +71 -0
- package/eject/files/Link.vue +48 -0
- package/eject/files/ListRow.vue +33 -0
- package/eject/files/MediaCard.vue +109 -0
- package/eject/files/Menu.vue +181 -0
- package/eject/files/Pagination.vue +88 -0
- package/eject/files/PlaceRow.vue +54 -0
- package/eject/files/Popover.vue +119 -0
- package/eject/files/ProgressBar.vue +34 -0
- package/eject/files/RadioGroup.vue +126 -0
- package/eject/files/SearchField.vue +129 -0
- package/eject/files/SectionHeader.vue +37 -0
- package/eject/files/SegmentedControl.vue +81 -0
- package/eject/files/Select.vue +269 -0
- package/eject/files/Sidebar.vue +101 -0
- package/eject/files/SidebarRailButton.vue +31 -0
- package/eject/files/Skeleton.vue +27 -0
- package/eject/files/Slider.vue +126 -0
- package/eject/files/Spinner.vue +36 -0
- package/eject/files/Switch.vue +88 -0
- package/eject/files/Table.vue +77 -0
- package/eject/files/Tabs.vue +72 -0
- package/eject/files/Text.vue +22 -0
- package/eject/files/TextField.vue +190 -0
- package/eject/files/Thumbnail.vue +62 -0
- package/eject/files/TimePicker.vue +224 -0
- package/eject/files/Toast.vue +83 -0
- package/eject/files/ToastQueue.vue +54 -0
- package/eject/files/Tooltip.vue +28 -0
- package/eject/files/TooltipOverlay.vue +86 -0
- package/eject/files/accordion.css +89 -0
- package/eject/files/accordion.ts +67 -0
- package/eject/files/avatar-stack.ts +57 -0
- package/eject/files/avatar.ts +42 -0
- package/eject/files/badge.ts +30 -0
- package/eject/files/banner.ts +71 -0
- package/eject/files/base.css +38 -0
- package/eject/files/breadcrumb.css +51 -0
- package/eject/files/breadcrumb.ts +42 -0
- package/eject/files/button.css +241 -0
- package/eject/files/button.ts +106 -0
- package/eject/files/card.ts +58 -0
- package/eject/files/checkbox.ts +52 -0
- package/eject/files/chip-bar.ts +16 -0
- package/eject/files/chip.ts +35 -0
- package/eject/files/combobox.css +269 -0
- package/eject/files/combobox.ts +85 -0
- package/eject/files/count-badge.ts +32 -0
- package/eject/files/date-picker.css +375 -0
- package/eject/files/date-picker.ts +280 -0
- package/eject/files/date-range-picker.ts +338 -0
- package/eject/files/dialog.css +139 -0
- package/eject/files/dialog.ts +15 -0
- package/eject/files/divider.ts +5 -0
- package/eject/files/empty-state.ts +22 -0
- package/eject/files/icon.ts +36 -0
- package/eject/files/link.css +64 -0
- package/eject/files/link.ts +63 -0
- package/eject/files/list-row.ts +66 -0
- package/eject/files/media-card.ts +66 -0
- package/eject/files/menu.css +192 -0
- package/eject/files/menu.ts +84 -0
- package/eject/files/overlay.css +40 -0
- package/eject/files/pagination.css +106 -0
- package/eject/files/pagination.ts +68 -0
- package/eject/files/parts.ts +17 -0
- package/eject/files/popover.css +101 -0
- package/eject/files/popover.ts +37 -0
- package/eject/files/progress-bar.ts +26 -0
- package/eject/files/radio-group.css +184 -0
- package/eject/files/radio-group.ts +30 -0
- package/eject/files/section-header.ts +32 -0
- package/eject/files/segmented-control.ts +33 -0
- package/eject/files/select.css +347 -0
- package/eject/files/select.ts +77 -0
- package/eject/files/sidebar.ts +75 -0
- package/eject/files/skeleton.ts +51 -0
- package/eject/files/slider.css +160 -0
- package/eject/files/slider.ts +80 -0
- package/eject/files/spinner.ts +22 -0
- package/eject/files/switch.ts +45 -0
- package/eject/files/table.css +107 -0
- package/eject/files/table.ts +84 -0
- package/eject/files/tabs.css +120 -0
- package/eject/files/tabs.ts +37 -0
- package/eject/files/text-field.css +225 -0
- package/eject/files/text-field.ts +64 -0
- package/eject/files/text.ts +38 -0
- package/eject/files/thumbnail.ts +51 -0
- package/eject/files/time-picker.ts +113 -0
- package/eject/files/toast-queue.ts +64 -0
- package/eject/files/toast.ts +31 -0
- package/eject/files/tooltip.css +111 -0
- package/eject/files/tooltip.ts +21 -0
- package/eject/manifest.json +1122 -0
- package/package.json +11 -4
- package/styles.css +1066 -168
- package/tailwind.css +1295 -218
package/styles.css
CHANGED
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
.invisible {
|
|
11
11
|
visibility: hidden;
|
|
12
12
|
}
|
|
13
|
+
.visible {
|
|
14
|
+
visibility: visible;
|
|
15
|
+
}
|
|
13
16
|
.sr-only {
|
|
14
17
|
position: absolute;
|
|
15
18
|
width: 1px;
|
|
@@ -334,6 +337,9 @@
|
|
|
334
337
|
.max-w-4xl {
|
|
335
338
|
max-width: 56rem;
|
|
336
339
|
}
|
|
340
|
+
.max-w-56 {
|
|
341
|
+
max-width: calc(0.25rem * 56);
|
|
342
|
+
}
|
|
337
343
|
.max-w-xds-dialog {
|
|
338
344
|
max-width: var(--xds-size-dialog);
|
|
339
345
|
}
|
|
@@ -961,6 +967,16 @@
|
|
|
961
967
|
:is(:is(:where(.peer):checked ~ .peer-checked\:\*\:opacity-100) > *) {
|
|
962
968
|
opacity: 100%;
|
|
963
969
|
}
|
|
970
|
+
:is(:where(.peer):indeterminate ~ .peer-indeterminate\:border-0) {
|
|
971
|
+
border-style: var(--tw-border-style);
|
|
972
|
+
border-width: 0px;
|
|
973
|
+
}
|
|
974
|
+
:is(:where(.peer):indeterminate ~ .peer-indeterminate\:bg-xds-checkbox-background-checked) {
|
|
975
|
+
background-color: var(--xds-color-checkbox-background-checked);
|
|
976
|
+
}
|
|
977
|
+
:is(:is(:where(.peer):indeterminate ~ .peer-indeterminate\:\*\:opacity-100) > *) {
|
|
978
|
+
opacity: 100%;
|
|
979
|
+
}
|
|
964
980
|
:is(:where(.peer):focus-visible ~ .peer-focus-visible\:outline-\(length\:--xds-focus-width\)) {
|
|
965
981
|
outline-style: var(--tw-outline-style);
|
|
966
982
|
outline-width: var(--xds-focus-width);
|
|
@@ -1158,6 +1174,69 @@
|
|
|
1158
1174
|
--tw-scale-x: calc(100% * -1);
|
|
1159
1175
|
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1160
1176
|
}
|
|
1177
|
+
@media (forced-colors: active) {
|
|
1178
|
+
.forced-colors\:border {
|
|
1179
|
+
border-style: var(--tw-border-style);
|
|
1180
|
+
border-width: 1px;
|
|
1181
|
+
}
|
|
1182
|
+
.forced-colors\:border-\[CanvasText\] {
|
|
1183
|
+
border-color: CanvasText;
|
|
1184
|
+
}
|
|
1185
|
+
.forced-colors\:bg-\[Highlight\] {
|
|
1186
|
+
background-color: Highlight;
|
|
1187
|
+
}
|
|
1188
|
+
.forced-colors\:p-px {
|
|
1189
|
+
padding: 1px;
|
|
1190
|
+
}
|
|
1191
|
+
.forced-colors\:outline {
|
|
1192
|
+
outline-style: var(--tw-outline-style);
|
|
1193
|
+
outline-width: 1px;
|
|
1194
|
+
}
|
|
1195
|
+
.forced-colors\:outline-\(length\:--xds-border-width-thin\) {
|
|
1196
|
+
outline-style: var(--tw-outline-style);
|
|
1197
|
+
outline-width: var(--xds-border-width-thin);
|
|
1198
|
+
}
|
|
1199
|
+
.forced-colors\:outline-\[CanvasText\] {
|
|
1200
|
+
outline-color: CanvasText;
|
|
1201
|
+
}
|
|
1202
|
+
:is(.forced-colors\:\*\:bg-\[CanvasText\] > *) {
|
|
1203
|
+
background-color: CanvasText;
|
|
1204
|
+
}
|
|
1205
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:border-\[Highlight\]) {
|
|
1206
|
+
border-color: Highlight;
|
|
1207
|
+
}
|
|
1208
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:bg-\[Highlight\]) {
|
|
1209
|
+
background-color: Highlight;
|
|
1210
|
+
}
|
|
1211
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:text-\[HighlightText\]) {
|
|
1212
|
+
color: HighlightText;
|
|
1213
|
+
}
|
|
1214
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:forced-color-adjust-none) {
|
|
1215
|
+
forced-color-adjust: none;
|
|
1216
|
+
}
|
|
1217
|
+
:is(:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:\*\:bg-\[HighlightText\]) > *) {
|
|
1218
|
+
background-color: HighlightText;
|
|
1219
|
+
}
|
|
1220
|
+
:is(:where(.peer):indeterminate ~ .forced-colors\:peer-indeterminate\:bg-\[Highlight\]) {
|
|
1221
|
+
background-color: Highlight;
|
|
1222
|
+
}
|
|
1223
|
+
:is(:where(.peer):indeterminate ~ .forced-colors\:peer-indeterminate\:text-\[HighlightText\]) {
|
|
1224
|
+
color: HighlightText;
|
|
1225
|
+
}
|
|
1226
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:border-2) {
|
|
1227
|
+
border-style: var(--tw-border-style);
|
|
1228
|
+
border-width: 2px;
|
|
1229
|
+
}
|
|
1230
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:border-\[GrayText\]) {
|
|
1231
|
+
border-color: GrayText;
|
|
1232
|
+
}
|
|
1233
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:text-\[GrayText\]) {
|
|
1234
|
+
color: GrayText;
|
|
1235
|
+
}
|
|
1236
|
+
:is(:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:\*\:bg-\[GrayText\]) > *) {
|
|
1237
|
+
background-color: GrayText;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1161
1240
|
.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
|
|
1162
1241
|
display: none;
|
|
1163
1242
|
}
|
|
@@ -1217,35 +1296,15 @@
|
|
|
1217
1296
|
--xds-color-glass-shadow: light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.35));
|
|
1218
1297
|
--xds-color-glass-fallback: light-dark(#ffffff, #222228);
|
|
1219
1298
|
--xds-color-glass-foreground: light-dark(#18181c, #f5f5f7);
|
|
1220
|
-
--xds-color-
|
|
1221
|
-
--xds-color-
|
|
1222
|
-
--xds-color-
|
|
1223
|
-
--xds-color-
|
|
1224
|
-
--xds-color-
|
|
1225
|
-
--xds-color-
|
|
1226
|
-
--xds-color-
|
|
1227
|
-
--xds-color-
|
|
1228
|
-
--xds-color-
|
|
1229
|
-
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1230
|
-
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1231
|
-
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
1232
|
-
--xds-color-button-danger-background: #d92d20;
|
|
1233
|
-
--xds-color-button-danger-background-hover: #b42318;
|
|
1234
|
-
--xds-color-button-danger-background-pressed: #912018;
|
|
1235
|
-
--xds-color-button-danger-text: #ffffff;
|
|
1236
|
-
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1237
|
-
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
1238
|
-
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
1239
|
-
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1240
|
-
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1241
|
-
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1242
|
-
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1243
|
-
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
1244
|
-
--xds-color-field-border: #84848f;
|
|
1245
|
-
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1246
|
-
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
1247
|
-
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
1248
|
-
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1299
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
1300
|
+
--xds-color-accordion-header-background-hover: light-dark(#ececf0, #222228);
|
|
1301
|
+
--xds-color-accordion-header-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1302
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1303
|
+
--xds-color-avatar-background: light-dark(#eef2ff, #1e1b4b);
|
|
1304
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
1305
|
+
--xds-color-avatar-ring: light-dark(#ffffff, #18181c);
|
|
1306
|
+
--xds-color-avatar-overflow-background: light-dark(#ececf0, #2c2c33);
|
|
1307
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
1249
1308
|
--xds-color-badge-neutral-background: light-dark(#ececf0, #2c2c33);
|
|
1250
1309
|
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
1251
1310
|
--xds-color-badge-accent-background: light-dark(#eef2ff, #1e1b4b);
|
|
@@ -1269,29 +1328,39 @@
|
|
|
1269
1328
|
--xds-color-banner-info-background: light-dark(#eff8ff, #102a56);
|
|
1270
1329
|
--xds-color-banner-info-accent: light-dark(#175cd3, #53b1fd);
|
|
1271
1330
|
--xds-color-banner-text: light-dark(#18181c, #f5f5f7);
|
|
1331
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
1332
|
+
--xds-color-breadcrumb-current: light-dark(#18181c, #f5f5f7);
|
|
1333
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
1334
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1335
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1336
|
+
--xds-color-button-primary-text: #ffffff;
|
|
1337
|
+
--xds-color-button-secondary-background: light-dark(#ffffff, #2c2c33);
|
|
1338
|
+
--xds-color-button-secondary-background-hover: light-dark(#ececf0, #44444c);
|
|
1339
|
+
--xds-color-button-secondary-background-pressed: light-dark(#e2e2e8, #5c5c66);
|
|
1340
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
1341
|
+
--xds-color-button-secondary-text: light-dark(#18181c, #f5f5f7);
|
|
1342
|
+
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1343
|
+
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1344
|
+
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
1345
|
+
--xds-color-button-danger-background: #d92d20;
|
|
1346
|
+
--xds-color-button-danger-background-hover: #b42318;
|
|
1347
|
+
--xds-color-button-danger-background-pressed: #912018;
|
|
1348
|
+
--xds-color-button-danger-text: #ffffff;
|
|
1349
|
+
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1350
|
+
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
1351
|
+
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
1352
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1353
|
+
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1354
|
+
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1355
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1272
1356
|
--xds-color-card-background-hover: light-dark(#ececf0, #222228);
|
|
1273
1357
|
--xds-color-card-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1274
1358
|
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
1275
|
-
--xds-color-switch-track: #84848f;
|
|
1276
|
-
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1277
|
-
--xds-color-switch-thumb: #ffffff;
|
|
1278
|
-
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
1279
|
-
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1280
1359
|
--xds-color-checkbox-border: #84848f;
|
|
1281
1360
|
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1282
1361
|
--xds-color-checkbox-mark: #ffffff;
|
|
1283
1362
|
--xds-color-checkbox-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1284
1363
|
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
1285
|
-
--xds-color-radio-border: #84848f;
|
|
1286
|
-
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1287
|
-
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1288
|
-
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1289
|
-
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1290
|
-
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
1291
|
-
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1292
|
-
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
1293
|
-
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1294
|
-
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1295
1364
|
--xds-color-chip-background: light-dark(#ececf0, #2c2c33);
|
|
1296
1365
|
--xds-color-chip-background-hover: light-dark(#e2e2e8, #44444c);
|
|
1297
1366
|
--xds-color-chip-background-pressed: light-dark(#c9c9d1, #5c5c66);
|
|
@@ -1303,20 +1372,6 @@
|
|
|
1303
1372
|
--xds-color-chip-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1304
1373
|
--xds-color-chip-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1305
1374
|
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1306
|
-
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1307
|
-
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1308
|
-
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1309
|
-
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
1310
|
-
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1311
|
-
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
1312
|
-
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1313
|
-
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
1314
|
-
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1315
|
-
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1316
|
-
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1317
|
-
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1318
|
-
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
1319
|
-
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
1320
1375
|
--xds-color-date-picker-background: light-dark(#ffffff, #222228);
|
|
1321
1376
|
--xds-color-date-picker-heading: light-dark(#18181c, #f5f5f7);
|
|
1322
1377
|
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
@@ -1338,50 +1393,98 @@
|
|
|
1338
1393
|
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
1339
1394
|
--xds-color-dialog-title: light-dark(#18181c, #f5f5f7);
|
|
1340
1395
|
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
1341
|
-
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
1342
|
-
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
1343
|
-
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
1344
|
-
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
1345
|
-
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
1346
|
-
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
1347
|
-
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
1348
|
-
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
1349
|
-
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1350
|
-
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1351
|
-
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1352
|
-
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1353
1396
|
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
1354
|
-
--xds-color-
|
|
1355
|
-
--xds-color-
|
|
1356
|
-
--xds-color-
|
|
1357
|
-
--xds-color-
|
|
1358
|
-
--xds-color-
|
|
1359
|
-
--xds-color-
|
|
1360
|
-
--xds-color-
|
|
1361
|
-
--xds-color-
|
|
1362
|
-
--xds-color-
|
|
1397
|
+
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
1398
|
+
--xds-color-field-border: #84848f;
|
|
1399
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1400
|
+
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
1401
|
+
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
1402
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1403
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
1404
|
+
--xds-color-link-text-hover: light-dark(#4338ca, #c7d2fe);
|
|
1405
|
+
--xds-color-link-text-pressed: light-dark(#3730a3, #e0e7ff);
|
|
1406
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1407
|
+
--xds-color-list-row-background-hover: light-dark(#ececf0, #222228);
|
|
1408
|
+
--xds-color-list-row-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1409
|
+
--xds-color-list-row-background-selected: light-dark(#eef2ff, #1e1b4b);
|
|
1410
|
+
--xds-color-list-row-background-selected-hover: light-dark(#e0e7ff, #312e81);
|
|
1411
|
+
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
1412
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1413
|
+
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
1414
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1415
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1416
|
+
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1417
|
+
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1418
|
+
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
1419
|
+
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
1420
|
+
--xds-color-pagination-text: light-dark(#18181c, #f5f5f7);
|
|
1421
|
+
--xds-color-pagination-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1422
|
+
--xds-color-pagination-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1423
|
+
--xds-color-pagination-background-current: light-dark(#eef2ff, #1e1b4b);
|
|
1424
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
1425
|
+
--xds-color-pagination-text-current: light-dark(#18181c, #f5f5f7);
|
|
1426
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1427
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
1428
|
+
--xds-color-popover-background: light-dark(#ffffff, #222228);
|
|
1429
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
1430
|
+
--xds-color-popover-title: light-dark(#18181c, #f5f5f7);
|
|
1431
|
+
--xds-color-popover-text: light-dark(#18181c, #f5f5f7);
|
|
1363
1432
|
--xds-color-progress-track: light-dark(#ececf0, #2c2c33);
|
|
1364
1433
|
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1434
|
+
--xds-color-radio-border: #84848f;
|
|
1435
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1436
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1437
|
+
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1438
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1439
|
+
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
1440
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1441
|
+
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
1442
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1443
|
+
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1444
|
+
--xds-color-sheet-background: light-dark(#ffffff, #222228);
|
|
1445
|
+
--xds-color-sheet-handle: #84848f;
|
|
1446
|
+
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1447
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1448
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1449
|
+
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
1450
|
+
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
1365
1451
|
--xds-color-slider-track: light-dark(#ececf0, #2c2c33);
|
|
1366
1452
|
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1367
1453
|
--xds-color-slider-thumb: light-dark(#ffffff, #222228);
|
|
1368
1454
|
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
1369
1455
|
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
1370
|
-
--xds-color-
|
|
1371
|
-
--xds-color-
|
|
1372
|
-
--xds-color-
|
|
1373
|
-
--xds-color-
|
|
1374
|
-
--xds-color-
|
|
1375
|
-
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
1376
|
-
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1377
|
-
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
1456
|
+
--xds-color-switch-track: #84848f;
|
|
1457
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1458
|
+
--xds-color-switch-thumb: #ffffff;
|
|
1459
|
+
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
1460
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1378
1461
|
--xds-color-tab-bar-background: light-dark(#ffffff, #222228);
|
|
1379
1462
|
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1380
1463
|
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
1381
1464
|
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
1382
1465
|
--xds-color-tab-bar-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1383
|
-
--xds-color-
|
|
1384
|
-
--xds-color-
|
|
1466
|
+
--xds-color-table-background: light-dark(#ffffff, #18181c);
|
|
1467
|
+
--xds-color-table-header-background: light-dark(#f5f5f7, #222228);
|
|
1468
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
1469
|
+
--xds-color-table-header-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1470
|
+
--xds-color-table-text: light-dark(#18181c, #f5f5f7);
|
|
1471
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
1472
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1473
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1474
|
+
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1475
|
+
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
1476
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1477
|
+
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
1478
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1479
|
+
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
1480
|
+
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
1481
|
+
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
1482
|
+
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
1483
|
+
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
1484
|
+
--xds-color-top-bar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1485
|
+
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
1486
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1487
|
+
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
1385
1488
|
--xds-space-1: 4px;
|
|
1386
1489
|
--xds-space-2: 8px;
|
|
1387
1490
|
--xds-space-3: 12px;
|
|
@@ -1546,55 +1649,297 @@
|
|
|
1546
1649
|
--xds-size-calendar-day: 48px;
|
|
1547
1650
|
}
|
|
1548
1651
|
}
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1652
|
+
@media (prefers-contrast: more) {
|
|
1653
|
+
:root {
|
|
1654
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
1655
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
1656
|
+
--xds-color-text-disabled: #84848f;
|
|
1657
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
1658
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
1659
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
1660
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
1661
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1662
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
1663
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
1664
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
1665
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
1666
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
1667
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
1668
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
1669
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
1670
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
1671
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
1672
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
1673
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1674
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
1675
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
1676
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1677
|
+
--xds-color-button-disabled-text: #84848f;
|
|
1678
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
1679
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
1680
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
1681
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
1682
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1683
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
1684
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
1685
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
1686
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
1687
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
1688
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1689
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
1690
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
1691
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
1692
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
1693
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
1694
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
1695
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1696
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
1697
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
1698
|
+
--xds-color-link-disabled-text: #84848f;
|
|
1699
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
1700
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
1701
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
1702
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
1703
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
1704
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
1705
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
1706
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
1707
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
1708
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
1709
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
1710
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
1711
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
1712
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
1713
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
1714
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
1715
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
1716
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
1717
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
1718
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
1719
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
1720
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
1721
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
1722
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
1723
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
1724
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
1725
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
1726
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
1727
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
1728
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
1729
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
1730
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
1731
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
[data-contrast="more"] {
|
|
1735
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
1736
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
1737
|
+
--xds-color-text-disabled: #84848f;
|
|
1738
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
1739
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
1740
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
1741
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
1742
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1743
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
1744
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
1745
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
1746
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
1747
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
1748
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
1749
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
1750
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
1751
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
1752
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
1753
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
1754
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1755
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
1756
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
1757
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1758
|
+
--xds-color-button-disabled-text: #84848f;
|
|
1759
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
1760
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
1761
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
1762
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
1763
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1764
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
1765
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
1766
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
1767
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
1768
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
1769
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1770
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
1771
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
1772
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
1773
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
1774
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
1775
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
1776
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1777
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
1778
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
1779
|
+
--xds-color-link-disabled-text: #84848f;
|
|
1780
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
1781
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
1782
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
1783
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
1784
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
1785
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
1786
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
1787
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
1788
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
1789
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
1790
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
1791
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
1792
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
1793
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
1794
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
1795
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
1796
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
1797
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
1798
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
1799
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
1800
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
1801
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
1802
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
1803
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
1804
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
1805
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
1806
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
1807
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
1808
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
1809
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
1810
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
1811
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
1812
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
1813
|
+
}
|
|
1814
|
+
[data-contrast="standard"] {
|
|
1815
|
+
--xds-color-text-secondary: light-dark(#5c5c66, #a9a9b4);
|
|
1816
|
+
--xds-color-text-tertiary: light-dark(#6e6e79, #84848f);
|
|
1817
|
+
--xds-color-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1818
|
+
--xds-color-text-accent: light-dark(#4f46e5, #a5b4fc);
|
|
1819
|
+
--xds-color-border-default: light-dark(#e2e2e8, #2c2c33);
|
|
1820
|
+
--xds-color-border-control: light-dark(#c9c9d1, #44444c);
|
|
1821
|
+
--xds-color-border-strong: #84848f;
|
|
1822
|
+
--xds-color-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1823
|
+
--xds-color-accent-default: light-dark(#4f46e5, #5b5ef0);
|
|
1824
|
+
--xds-color-accent-hover: light-dark(#4338ca, #4f46e5);
|
|
1825
|
+
--xds-color-accent-pressed: light-dark(#3730a3, #4338ca);
|
|
1826
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
1827
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1828
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
1829
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
1830
|
+
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
1831
|
+
--xds-color-badge-accent-text: light-dark(#4f46e5, #a5b4fc);
|
|
1832
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
1833
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
1834
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1835
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1836
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
1837
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1838
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1839
|
+
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
1840
|
+
--xds-color-checkbox-border: #84848f;
|
|
1841
|
+
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1842
|
+
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
1843
|
+
--xds-color-chip-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1844
|
+
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1845
|
+
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
1846
|
+
--xds-color-date-picker-today-text: light-dark(#4f46e5, #a5b4fc);
|
|
1847
|
+
--xds-color-date-picker-today-border: light-dark(#4f46e5, #5b5ef0);
|
|
1848
|
+
--xds-color-date-picker-selected-background: light-dark(#4f46e5, #5b5ef0);
|
|
1849
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1850
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1851
|
+
--xds-color-date-picker-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1852
|
+
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
1853
|
+
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
1854
|
+
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
1855
|
+
--xds-color-field-border: #84848f;
|
|
1856
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1857
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1858
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
1859
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1860
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1861
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1862
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1863
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
1864
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1865
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
1866
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
1867
|
+
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1868
|
+
--xds-color-radio-border: #84848f;
|
|
1869
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1870
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1871
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1872
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1873
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1874
|
+
--xds-color-sheet-handle: #84848f;
|
|
1875
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1876
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1877
|
+
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1878
|
+
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
1879
|
+
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
1880
|
+
--xds-color-switch-track: #84848f;
|
|
1881
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1882
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1883
|
+
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1884
|
+
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
1885
|
+
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
1886
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
1887
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
1888
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1889
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1890
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1891
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1892
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1893
|
+
}
|
|
1894
|
+
[data-theme="light"] {
|
|
1895
|
+
color-scheme: light;
|
|
1896
|
+
}
|
|
1897
|
+
[data-theme="dark"] {
|
|
1898
|
+
color-scheme: dark;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
@layer xds.base {
|
|
1902
|
+
*:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) *, :where([class^="xds-"], [class*=" xds-"])::after, :where([class^="xds-"], [class*=" xds-"]) ::after, :where([class^="xds-"], [class*=" xds-"])::before, :where([class^="xds-"], [class*=" xds-"]) ::before, :where([class^="xds-"], [class*=" xds-"])::backdrop, :where([class^="xds-"], [class*=" xds-"]) ::backdrop, :where([class^="xds-"], [class*=" xds-"])::file-selector-button, :where([class^="xds-"], [class*=" xds-"]) ::file-selector-button {
|
|
1903
|
+
box-sizing: border-box;
|
|
1904
|
+
margin: 0;
|
|
1905
|
+
padding: 0;
|
|
1906
|
+
border: 0 solid;
|
|
1907
|
+
}
|
|
1908
|
+
hr:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) hr {
|
|
1909
|
+
height: 0;
|
|
1910
|
+
color: inherit;
|
|
1911
|
+
border-top-width: 1px;
|
|
1912
|
+
}
|
|
1913
|
+
abbr:where([title]):where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) abbr:where([title]) {
|
|
1914
|
+
-webkit-text-decoration: underline dotted;
|
|
1915
|
+
text-decoration: underline dotted;
|
|
1916
|
+
}
|
|
1917
|
+
h1:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h1, h2:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h2, h3:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h3, h4:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h4, h5:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h5, h6:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) h6 {
|
|
1918
|
+
font-size: inherit;
|
|
1919
|
+
font-weight: inherit;
|
|
1920
|
+
}
|
|
1921
|
+
a:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) a {
|
|
1922
|
+
color: inherit;
|
|
1923
|
+
-webkit-text-decoration: inherit;
|
|
1924
|
+
text-decoration: inherit;
|
|
1925
|
+
}
|
|
1926
|
+
b:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) b, strong:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) strong {
|
|
1927
|
+
font-weight: bolder;
|
|
1928
|
+
}
|
|
1929
|
+
code:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) code, kbd:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) kbd, samp:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) samp, pre:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) pre {
|
|
1930
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
1931
|
+
monospace;
|
|
1932
|
+
font-feature-settings: normal;
|
|
1933
|
+
font-variation-settings: normal;
|
|
1934
|
+
font-size: 1em;
|
|
1935
|
+
}
|
|
1936
|
+
small:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) small {
|
|
1937
|
+
font-size: 80%;
|
|
1938
|
+
}
|
|
1939
|
+
sub:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sub, sup:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sup {
|
|
1940
|
+
font-size: 75%;
|
|
1941
|
+
line-height: 0;
|
|
1942
|
+
position: relative;
|
|
1598
1943
|
vertical-align: baseline;
|
|
1599
1944
|
}
|
|
1600
1945
|
sub:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sub {
|
|
@@ -1787,6 +2132,36 @@
|
|
|
1787
2132
|
line-height: var(--xds-typography-body-line-height);
|
|
1788
2133
|
color: var(--xds-color-text-secondary);
|
|
1789
2134
|
}
|
|
2135
|
+
.xds-breadcrumb {
|
|
2136
|
+
font-size: var(--xds-typography-detail-size);
|
|
2137
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2138
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
2139
|
+
letter-spacing: var(--xds-typography-detail-letter-spacing);
|
|
2140
|
+
}
|
|
2141
|
+
.xds-breadcrumb__list {
|
|
2142
|
+
display: flex;
|
|
2143
|
+
flex-wrap: wrap;
|
|
2144
|
+
align-items: center;
|
|
2145
|
+
column-gap: var(--xds-space-1);
|
|
2146
|
+
margin: 0;
|
|
2147
|
+
padding: 0;
|
|
2148
|
+
list-style: none;
|
|
2149
|
+
}
|
|
2150
|
+
.xds-breadcrumb__item {
|
|
2151
|
+
display: inline-flex;
|
|
2152
|
+
align-items: center;
|
|
2153
|
+
gap: var(--xds-space-1);
|
|
2154
|
+
min-width: 0;
|
|
2155
|
+
}
|
|
2156
|
+
.xds-breadcrumb__separator {
|
|
2157
|
+
color: var(--xds-color-breadcrumb-separator);
|
|
2158
|
+
}
|
|
2159
|
+
.xds-breadcrumb__separator:dir(rtl) {
|
|
2160
|
+
transform: scaleX(-1);
|
|
2161
|
+
}
|
|
2162
|
+
.xds-breadcrumb__current {
|
|
2163
|
+
color: var(--xds-color-breadcrumb-current);
|
|
2164
|
+
}
|
|
1790
2165
|
.xds-button {
|
|
1791
2166
|
--button-bg: transparent;
|
|
1792
2167
|
--button-bg-hover: var(--button-bg);
|
|
@@ -1940,6 +2315,204 @@
|
|
|
1940
2315
|
.xds-button:focus-visible {
|
|
1941
2316
|
box-shadow: 0 0 0 var(--xds-focus-offset) var(--xds-color-background-base), 0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
1942
2317
|
}
|
|
2318
|
+
.xds-combobox {
|
|
2319
|
+
display: flex;
|
|
2320
|
+
flex-direction: column;
|
|
2321
|
+
gap: var(--xds-space-1);
|
|
2322
|
+
width: 100%;
|
|
2323
|
+
}
|
|
2324
|
+
.xds-combobox__label {
|
|
2325
|
+
width: fit-content;
|
|
2326
|
+
font-size: var(--xds-typography-label-size);
|
|
2327
|
+
font-weight: var(--xds-typography-label-weight);
|
|
2328
|
+
line-height: var(--xds-typography-label-line-height);
|
|
2329
|
+
color: var(--xds-color-text-primary);
|
|
2330
|
+
}
|
|
2331
|
+
.xds-combobox:has(.xds-combobox__input:disabled) .xds-combobox__label {
|
|
2332
|
+
opacity: 0.5;
|
|
2333
|
+
cursor: not-allowed;
|
|
2334
|
+
pointer-events: none;
|
|
2335
|
+
}
|
|
2336
|
+
.xds-combobox__control {
|
|
2337
|
+
display: flex;
|
|
2338
|
+
align-items: center;
|
|
2339
|
+
gap: var(--xds-space-2);
|
|
2340
|
+
min-height: var(--xds-size-control-md);
|
|
2341
|
+
padding-inline-end: var(--xds-space-3);
|
|
2342
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-field-border);
|
|
2343
|
+
border-radius: var(--xds-radius-md);
|
|
2344
|
+
background-color: var(--xds-color-field-background);
|
|
2345
|
+
color: var(--xds-color-field-text);
|
|
2346
|
+
transition-property: background-color, border-color, box-shadow;
|
|
2347
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
2348
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
2349
|
+
}
|
|
2350
|
+
.xds-combobox__control:has(> .xds-combobox__input:focus) {
|
|
2351
|
+
border-color: var(--xds-color-field-border-focus);
|
|
2352
|
+
}
|
|
2353
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]) {
|
|
2354
|
+
border-color: var(--xds-color-field-border-invalid);
|
|
2355
|
+
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
2356
|
+
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
2357
|
+
}
|
|
2358
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]:focus) {
|
|
2359
|
+
box-shadow: none;
|
|
2360
|
+
}
|
|
2361
|
+
@media (hover: hover) {
|
|
2362
|
+
.xds-combobox__control:hover:not(:has(:focus)) {
|
|
2363
|
+
border-color: var(--xds-color-text-primary);
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
.xds-combobox__control:has(> .xds-combobox__input:disabled) {
|
|
2367
|
+
opacity: 0.5;
|
|
2368
|
+
cursor: not-allowed;
|
|
2369
|
+
pointer-events: none;
|
|
2370
|
+
}
|
|
2371
|
+
.xds-combobox__input {
|
|
2372
|
+
flex: 1 1 0%;
|
|
2373
|
+
min-width: 0;
|
|
2374
|
+
align-self: stretch;
|
|
2375
|
+
padding-block: 0;
|
|
2376
|
+
padding-inline: var(--xds-space-3) 0;
|
|
2377
|
+
border: none;
|
|
2378
|
+
background: transparent;
|
|
2379
|
+
color: inherit;
|
|
2380
|
+
font-size: var(--xds-typography-body-size);
|
|
2381
|
+
line-height: var(--xds-typography-body-line-height);
|
|
2382
|
+
outline-style: none;
|
|
2383
|
+
}
|
|
2384
|
+
.xds-combobox__input::placeholder {
|
|
2385
|
+
color: var(--xds-color-field-placeholder);
|
|
2386
|
+
}
|
|
2387
|
+
.xds-combobox__icon {
|
|
2388
|
+
flex: none;
|
|
2389
|
+
color: var(--xds-color-field-placeholder);
|
|
2390
|
+
pointer-events: none;
|
|
2391
|
+
}
|
|
2392
|
+
.xds-combobox__footer {
|
|
2393
|
+
display: flex;
|
|
2394
|
+
align-items: baseline;
|
|
2395
|
+
gap: var(--xds-space-3);
|
|
2396
|
+
}
|
|
2397
|
+
.xds-combobox__footer:not(:has(> :not(:empty))) {
|
|
2398
|
+
position: absolute;
|
|
2399
|
+
}
|
|
2400
|
+
.xds-combobox__description, .xds-combobox__error {
|
|
2401
|
+
font-size: var(--xds-typography-detail-size);
|
|
2402
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2403
|
+
overflow-wrap: break-word;
|
|
2404
|
+
}
|
|
2405
|
+
.xds-combobox__description {
|
|
2406
|
+
color: var(--xds-color-text-secondary);
|
|
2407
|
+
}
|
|
2408
|
+
.xds-combobox__error {
|
|
2409
|
+
color: var(--xds-color-status-danger);
|
|
2410
|
+
}
|
|
2411
|
+
.xds-combobox__error:empty {
|
|
2412
|
+
position: absolute;
|
|
2413
|
+
}
|
|
2414
|
+
.xds-combobox__positioner {
|
|
2415
|
+
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2416
|
+
}
|
|
2417
|
+
.xds-combobox__content {
|
|
2418
|
+
max-height: min(var(--available-height), 20rem);
|
|
2419
|
+
overflow-y: auto;
|
|
2420
|
+
overscroll-behavior: contain;
|
|
2421
|
+
scroll-padding-block: var(--xds-space-1);
|
|
2422
|
+
scrollbar-width: thin;
|
|
2423
|
+
scrollbar-color: var(--xds-color-text-primary) transparent;
|
|
2424
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2425
|
+
scrollbar-color: color-mix(in oklab, var(--xds-color-text-primary) 15%, transparent) transparent;
|
|
2426
|
+
}
|
|
2427
|
+
padding: var(--xds-space-1);
|
|
2428
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-menu-border);
|
|
2429
|
+
border-radius: var(--xds-radius-md);
|
|
2430
|
+
background: var(--xds-color-menu-background);
|
|
2431
|
+
box-shadow: var(--xds-shadow-raised);
|
|
2432
|
+
outline: none;
|
|
2433
|
+
transform-origin: var(--transform-origin);
|
|
2434
|
+
animation: xds-combobox-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
2435
|
+
}
|
|
2436
|
+
.xds-combobox__content[data-side="top"] {
|
|
2437
|
+
animation-name: xds-combobox-enter-above;
|
|
2438
|
+
}
|
|
2439
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2440
|
+
.xds-combobox__content {
|
|
2441
|
+
animation: none;
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
.xds-combobox__list {
|
|
2445
|
+
outline: none;
|
|
2446
|
+
}
|
|
2447
|
+
.xds-combobox__item {
|
|
2448
|
+
display: flex;
|
|
2449
|
+
align-items: center;
|
|
2450
|
+
gap: var(--xds-space-2);
|
|
2451
|
+
min-height: max(var(--xds-size-list-row-compact), var(--xds-size-target-min));
|
|
2452
|
+
padding: var(--xds-space-1) var(--xds-space-2);
|
|
2453
|
+
border-radius: var(--xds-radius-sm);
|
|
2454
|
+
white-space: nowrap;
|
|
2455
|
+
font-size: var(--xds-typography-detail-size);
|
|
2456
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
2457
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2458
|
+
color: var(--xds-color-menu-text);
|
|
2459
|
+
cursor: pointer;
|
|
2460
|
+
touch-action: manipulation;
|
|
2461
|
+
transition: background-color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2462
|
+
}
|
|
2463
|
+
.xds-combobox__item[data-highlighted] {
|
|
2464
|
+
background: var(--xds-color-menu-item-background-hover);
|
|
2465
|
+
}
|
|
2466
|
+
.xds-combobox__item:active {
|
|
2467
|
+
background: var(--xds-color-menu-item-background-pressed);
|
|
2468
|
+
}
|
|
2469
|
+
.xds-combobox__item-words {
|
|
2470
|
+
display: flex;
|
|
2471
|
+
flex: 1 1 0%;
|
|
2472
|
+
flex-direction: column;
|
|
2473
|
+
min-width: 0;
|
|
2474
|
+
}
|
|
2475
|
+
.xds-combobox__item-label, .xds-combobox__item-description {
|
|
2476
|
+
overflow: hidden;
|
|
2477
|
+
text-overflow: ellipsis;
|
|
2478
|
+
white-space: nowrap;
|
|
2479
|
+
}
|
|
2480
|
+
.xds-combobox__item-description {
|
|
2481
|
+
font-size: var(--xds-typography-footnote-size);
|
|
2482
|
+
font-weight: var(--xds-typography-footnote-weight);
|
|
2483
|
+
line-height: var(--xds-typography-footnote-line-height);
|
|
2484
|
+
color: var(--xds-color-text-secondary);
|
|
2485
|
+
}
|
|
2486
|
+
.xds-combobox__empty {
|
|
2487
|
+
padding: var(--xds-space-2);
|
|
2488
|
+
font-size: var(--xds-typography-detail-size);
|
|
2489
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2490
|
+
color: var(--xds-color-text-secondary);
|
|
2491
|
+
}
|
|
2492
|
+
@media (forced-colors: active) {
|
|
2493
|
+
.xds-combobox__item[data-highlighted] {
|
|
2494
|
+
forced-color-adjust: none;
|
|
2495
|
+
background-color: Highlight;
|
|
2496
|
+
color: HighlightText;
|
|
2497
|
+
}
|
|
2498
|
+
.xds-combobox__item[data-highlighted] * {
|
|
2499
|
+
color: inherit;
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
@keyframes xds-combobox-enter {
|
|
2504
|
+
from {
|
|
2505
|
+
opacity: 0;
|
|
2506
|
+
transform: translate3d(0, -0.25rem, 0) scale(0.95);
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
@keyframes xds-combobox-enter-above {
|
|
2510
|
+
from {
|
|
2511
|
+
opacity: 0;
|
|
2512
|
+
transform: translate3d(0, 0.25rem, 0) scale(0.95);
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
@layer components {
|
|
1943
2516
|
.xds-date-picker__underlay {
|
|
1944
2517
|
position: fixed;
|
|
1945
2518
|
inset: 0;
|
|
@@ -2156,6 +2729,21 @@
|
|
|
2156
2729
|
border-start-end-radius: var(--xds-radius-full);
|
|
2157
2730
|
border-end-end-radius: var(--xds-radius-full);
|
|
2158
2731
|
}
|
|
2732
|
+
@media (forced-colors: active) {
|
|
2733
|
+
.xds-date-picker__day[data-selected], .xds-date-picker__day[data-in-range]:not([data-outside-range]) {
|
|
2734
|
+
forced-color-adjust: none;
|
|
2735
|
+
color: HighlightText;
|
|
2736
|
+
}
|
|
2737
|
+
.xds-date-picker__day[data-selected] {
|
|
2738
|
+
background-color: Highlight;
|
|
2739
|
+
}
|
|
2740
|
+
.xds-date-picker__day[data-in-range]:not([data-selected], [data-outside-range]) {
|
|
2741
|
+
background-color: transparent;
|
|
2742
|
+
}
|
|
2743
|
+
.xds-date-picker__cell:has(> [data-in-range]:not([data-outside-range]))::before {
|
|
2744
|
+
background: Highlight;
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2159
2747
|
.xds-dialog__backdrop {
|
|
2160
2748
|
position: fixed;
|
|
2161
2749
|
inset: 0;
|
|
@@ -2252,6 +2840,45 @@
|
|
|
2252
2840
|
}
|
|
2253
2841
|
}
|
|
2254
2842
|
@layer components {
|
|
2843
|
+
.xds-link {
|
|
2844
|
+
display: inline;
|
|
2845
|
+
margin: 0;
|
|
2846
|
+
padding: 0;
|
|
2847
|
+
border: 0;
|
|
2848
|
+
border-radius: var(--xds-radius-sm);
|
|
2849
|
+
background: none;
|
|
2850
|
+
color: var(--xds-color-link-text);
|
|
2851
|
+
font: inherit;
|
|
2852
|
+
letter-spacing: inherit;
|
|
2853
|
+
text-align: inherit;
|
|
2854
|
+
text-decoration-line: underline;
|
|
2855
|
+
text-decoration-thickness: from-font;
|
|
2856
|
+
cursor: pointer;
|
|
2857
|
+
outline: none;
|
|
2858
|
+
-webkit-tap-highlight-color: transparent;
|
|
2859
|
+
transition: color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2860
|
+
}
|
|
2861
|
+
@media (hover: hover) {
|
|
2862
|
+
.xds-link:hover {
|
|
2863
|
+
color: var(--xds-color-link-text-hover);
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
.xds-link:active {
|
|
2867
|
+
color: var(--xds-color-link-text-pressed);
|
|
2868
|
+
}
|
|
2869
|
+
.xds-link:focus-visible {
|
|
2870
|
+
outline: var(--xds-focus-width) solid var(--xds-color-border-focus);
|
|
2871
|
+
outline-offset: var(--xds-focus-offset);
|
|
2872
|
+
}
|
|
2873
|
+
.xds-link[aria-disabled="true"] {
|
|
2874
|
+
color: var(--xds-color-link-disabled-text);
|
|
2875
|
+
cursor: not-allowed;
|
|
2876
|
+
}
|
|
2877
|
+
.xds-link__icon {
|
|
2878
|
+
display: inline-block;
|
|
2879
|
+
margin-inline-start: var(--xds-space-1);
|
|
2880
|
+
vertical-align: text-bottom;
|
|
2881
|
+
}
|
|
2255
2882
|
.xds-menu__trigger[aria-expanded="true"] {
|
|
2256
2883
|
background-color: var(--button-bg-pressed);
|
|
2257
2884
|
transform: scale(var(--xds-motion-press-scale));
|
|
@@ -2353,6 +2980,16 @@
|
|
|
2353
2980
|
margin-block: var(--xds-space-1);
|
|
2354
2981
|
background: var(--xds-color-menu-border);
|
|
2355
2982
|
}
|
|
2983
|
+
@media (forced-colors: active) {
|
|
2984
|
+
.xds-menu__item[data-highlighted], .xds-menu__item--danger[data-highlighted] {
|
|
2985
|
+
forced-color-adjust: none;
|
|
2986
|
+
background-color: Highlight;
|
|
2987
|
+
color: HighlightText;
|
|
2988
|
+
}
|
|
2989
|
+
.xds-menu__item[data-highlighted] * {
|
|
2990
|
+
color: inherit;
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2356
2993
|
}
|
|
2357
2994
|
@keyframes xds-menu-enter-down {
|
|
2358
2995
|
from {
|
|
@@ -2367,6 +3004,144 @@
|
|
|
2367
3004
|
}
|
|
2368
3005
|
}
|
|
2369
3006
|
@layer components {
|
|
3007
|
+
.xds-pagination__list {
|
|
3008
|
+
display: flex;
|
|
3009
|
+
align-items: center;
|
|
3010
|
+
gap: var(--xds-space-1);
|
|
3011
|
+
margin: 0;
|
|
3012
|
+
padding: 0;
|
|
3013
|
+
list-style: none;
|
|
3014
|
+
}
|
|
3015
|
+
.xds-pagination__list > li {
|
|
3016
|
+
display: flex;
|
|
3017
|
+
}
|
|
3018
|
+
.xds-pagination__page, .xds-pagination__step, .xds-pagination__gap {
|
|
3019
|
+
display: inline-flex;
|
|
3020
|
+
align-items: center;
|
|
3021
|
+
justify-content: center;
|
|
3022
|
+
min-width: var(--xds-size-control-sm);
|
|
3023
|
+
height: var(--xds-size-control-sm);
|
|
3024
|
+
font-size: var(--xds-typography-label-size);
|
|
3025
|
+
font-weight: var(--xds-typography-label-weight);
|
|
3026
|
+
line-height: var(--xds-typography-label-line-height);
|
|
3027
|
+
font-variant-numeric: tabular-nums;
|
|
3028
|
+
}
|
|
3029
|
+
.xds-pagination__page, .xds-pagination__step {
|
|
3030
|
+
padding-inline: var(--xds-space-2);
|
|
3031
|
+
border: var(--xds-border-width-thin) solid transparent;
|
|
3032
|
+
border-radius: var(--xds-radius-md);
|
|
3033
|
+
background-color: transparent;
|
|
3034
|
+
color: var(--xds-color-pagination-text);
|
|
3035
|
+
outline: none;
|
|
3036
|
+
cursor: pointer;
|
|
3037
|
+
user-select: none;
|
|
3038
|
+
-webkit-tap-highlight-color: transparent;
|
|
3039
|
+
transition-property: background-color, border-color;
|
|
3040
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
3041
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
3042
|
+
}
|
|
3043
|
+
.xds-pagination__step {
|
|
3044
|
+
padding-inline: 0;
|
|
3045
|
+
}
|
|
3046
|
+
.xds-pagination__step svg {
|
|
3047
|
+
pointer-events: none;
|
|
3048
|
+
}
|
|
3049
|
+
.xds-pagination__step svg:dir(rtl) {
|
|
3050
|
+
transform: scaleX(-1);
|
|
3051
|
+
}
|
|
3052
|
+
@media (hover: hover) {
|
|
3053
|
+
.xds-pagination__page:not([aria-current]):hover, .xds-pagination__step:not([aria-disabled="true"]):hover {
|
|
3054
|
+
background-color: var(--xds-color-pagination-background-hover);
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
.xds-pagination__page:not([aria-current]):active, .xds-pagination__step:not([aria-disabled="true"]):active {
|
|
3058
|
+
background-color: var(--xds-color-pagination-background-pressed);
|
|
3059
|
+
}
|
|
3060
|
+
.xds-pagination__page[aria-current="page"] {
|
|
3061
|
+
border-color: var(--xds-color-pagination-border-current);
|
|
3062
|
+
background-color: var(--xds-color-pagination-background-current);
|
|
3063
|
+
color: var(--xds-color-pagination-text-current);
|
|
3064
|
+
cursor: default;
|
|
3065
|
+
}
|
|
3066
|
+
.xds-pagination__step[aria-disabled="true"] {
|
|
3067
|
+
color: var(--xds-color-pagination-text-disabled);
|
|
3068
|
+
cursor: not-allowed;
|
|
3069
|
+
}
|
|
3070
|
+
.xds-pagination__gap {
|
|
3071
|
+
color: var(--xds-color-pagination-gap);
|
|
3072
|
+
}
|
|
3073
|
+
.xds-pagination__page:focus-visible, .xds-pagination__step:focus-visible {
|
|
3074
|
+
box-shadow: 0 0 0 var(--xds-focus-offset) var(--xds-color-background-base), 0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
3075
|
+
}
|
|
3076
|
+
.xds-popover__trigger[aria-expanded="true"] {
|
|
3077
|
+
background-color: var(--button-bg-pressed);
|
|
3078
|
+
}
|
|
3079
|
+
.xds-popover__positioner {
|
|
3080
|
+
z-index: var(--xds-layer-overlay);
|
|
3081
|
+
}
|
|
3082
|
+
.xds-popover {
|
|
3083
|
+
display: flex;
|
|
3084
|
+
flex-direction: column;
|
|
3085
|
+
gap: var(--xds-space-2);
|
|
3086
|
+
width: min(calc(6 * var(--xds-space-12)), calc(100svw - 2 * var(--xds-space-4)));
|
|
3087
|
+
max-height: var(--available-height);
|
|
3088
|
+
padding: var(--xds-space-4);
|
|
3089
|
+
overflow-y: auto;
|
|
3090
|
+
overscroll-behavior: contain;
|
|
3091
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-popover-border);
|
|
3092
|
+
border-radius: var(--xds-radius-lg);
|
|
3093
|
+
background: var(--xds-color-popover-background);
|
|
3094
|
+
color: var(--xds-color-popover-text);
|
|
3095
|
+
box-shadow: var(--xds-shadow-raised);
|
|
3096
|
+
outline: none;
|
|
3097
|
+
font-size: var(--xds-typography-body-size);
|
|
3098
|
+
line-height: var(--xds-typography-body-line-height);
|
|
3099
|
+
transform-origin: var(--transform-origin);
|
|
3100
|
+
}
|
|
3101
|
+
.xds-popover[data-state="open"] {
|
|
3102
|
+
animation: xds-popover-in var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
3103
|
+
}
|
|
3104
|
+
.xds-popover[data-state="closed"] {
|
|
3105
|
+
animation: xds-popover-out var(--xds-motion-duration-fast) var(--xds-motion-easing-standard) forwards;
|
|
3106
|
+
}
|
|
3107
|
+
@keyframes xds-popover-in {
|
|
3108
|
+
from {
|
|
3109
|
+
opacity: 0;
|
|
3110
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
@keyframes xds-popover-out {
|
|
3114
|
+
to {
|
|
3115
|
+
opacity: 0;
|
|
3116
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
3117
|
+
}
|
|
3118
|
+
}
|
|
3119
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3120
|
+
.xds-popover[data-state] {
|
|
3121
|
+
animation: none;
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
.xds-popover__header {
|
|
3125
|
+
display: flex;
|
|
3126
|
+
align-items: center;
|
|
3127
|
+
justify-content: space-between;
|
|
3128
|
+
gap: var(--xds-space-2);
|
|
3129
|
+
margin-inline-end: calc(-1 * var(--xds-space-2));
|
|
3130
|
+
margin-block: calc(-1 * var(--xds-space-1));
|
|
3131
|
+
}
|
|
3132
|
+
.xds-popover__title {
|
|
3133
|
+
margin: 0;
|
|
3134
|
+
color: var(--xds-color-popover-title);
|
|
3135
|
+
font-size: var(--xds-typography-heading-size);
|
|
3136
|
+
font-weight: var(--xds-typography-heading-weight);
|
|
3137
|
+
line-height: var(--xds-typography-heading-line-height);
|
|
3138
|
+
letter-spacing: var(--xds-typography-heading-letter-spacing);
|
|
3139
|
+
}
|
|
3140
|
+
.xds-popover__body {
|
|
3141
|
+
display: flex;
|
|
3142
|
+
flex-direction: column;
|
|
3143
|
+
gap: var(--xds-space-3);
|
|
3144
|
+
}
|
|
2370
3145
|
.xds-radio-group {
|
|
2371
3146
|
display: flex;
|
|
2372
3147
|
flex-direction: column;
|
|
@@ -2475,25 +3250,39 @@
|
|
|
2475
3250
|
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__text, .xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__description {
|
|
2476
3251
|
color: var(--xds-color-text-disabled);
|
|
2477
3252
|
}
|
|
2478
|
-
|
|
3253
|
+
@media (forced-colors: active) {
|
|
3254
|
+
.xds-radio-group__dot {
|
|
3255
|
+
background-color: Highlight;
|
|
3256
|
+
}
|
|
3257
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__circle {
|
|
3258
|
+
border: var(--xds-border-width-thin) solid GrayText;
|
|
3259
|
+
}
|
|
3260
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__dot {
|
|
3261
|
+
background-color: GrayText;
|
|
3262
|
+
}
|
|
3263
|
+
.xds-radio-group:has(.xds-radio-group__input:disabled) .xds-radio-group__label, .xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__text, .xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__description {
|
|
3264
|
+
color: GrayText;
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
.xds-select, .xds-date-picker, .xds-time-picker {
|
|
2479
3268
|
display: flex;
|
|
2480
3269
|
flex-direction: column;
|
|
2481
3270
|
gap: var(--xds-space-1);
|
|
2482
3271
|
width: 100%;
|
|
2483
3272
|
}
|
|
2484
|
-
.xds-select__label, .xds-date-picker__label {
|
|
3273
|
+
.xds-select__label, .xds-date-picker__label, .xds-time-picker__label {
|
|
2485
3274
|
width: fit-content;
|
|
2486
3275
|
font-size: var(--xds-typography-label-size);
|
|
2487
3276
|
font-weight: var(--xds-typography-label-weight);
|
|
2488
3277
|
line-height: var(--xds-typography-label-line-height);
|
|
2489
3278
|
color: var(--xds-color-text-primary);
|
|
2490
3279
|
}
|
|
2491
|
-
.xds-select:has(.xds-select__trigger:disabled) .xds-select__label, .xds-date-picker:has(.xds-date-picker__trigger:disabled) .xds-date-picker__label {
|
|
3280
|
+
.xds-select:has(.xds-select__trigger:disabled) .xds-select__label, .xds-date-picker:has(.xds-date-picker__trigger:disabled) .xds-date-picker__label, .xds-time-picker:has(.xds-time-picker__trigger:disabled) .xds-time-picker__label {
|
|
2492
3281
|
opacity: 0.5;
|
|
2493
3282
|
cursor: not-allowed;
|
|
2494
3283
|
pointer-events: none;
|
|
2495
3284
|
}
|
|
2496
|
-
.xds-select__trigger, .xds-date-picker__trigger {
|
|
3285
|
+
.xds-select__trigger, .xds-date-picker__trigger, .xds-time-picker__trigger {
|
|
2497
3286
|
position: relative;
|
|
2498
3287
|
isolation: isolate;
|
|
2499
3288
|
display: flex;
|
|
@@ -2517,28 +3306,28 @@
|
|
|
2517
3306
|
transition-duration: var(--xds-motion-duration-fast);
|
|
2518
3307
|
transition-timing-function: var(--xds-motion-easing-standard);
|
|
2519
3308
|
}
|
|
2520
|
-
.xds-select__trigger:focus-visible, .xds-date-picker__trigger:focus-visible {
|
|
3309
|
+
.xds-select__trigger:focus-visible, .xds-date-picker__trigger:focus-visible, .xds-time-picker__trigger:focus-visible {
|
|
2521
3310
|
border-color: var(--xds-color-field-border-focus);
|
|
2522
3311
|
}
|
|
2523
|
-
.xds-select__trigger[data-invalid], .xds-date-picker__trigger[data-invalid] {
|
|
3312
|
+
.xds-select__trigger[data-invalid], .xds-date-picker__trigger[data-invalid], .xds-time-picker__trigger[data-invalid] {
|
|
2524
3313
|
border-color: var(--xds-color-field-border-invalid);
|
|
2525
3314
|
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
2526
3315
|
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
2527
3316
|
}
|
|
2528
|
-
.xds-select__trigger[data-invalid]:focus, .xds-date-picker__trigger[data-invalid]:focus {
|
|
3317
|
+
.xds-select__trigger[data-invalid]:focus, .xds-date-picker__trigger[data-invalid]:focus, .xds-time-picker__trigger[data-invalid]:focus {
|
|
2529
3318
|
box-shadow: none;
|
|
2530
3319
|
}
|
|
2531
3320
|
@media (hover: hover) {
|
|
2532
|
-
.xds-select__trigger:hover, .xds-date-picker__trigger:hover {
|
|
3321
|
+
.xds-select__trigger:hover, .xds-date-picker__trigger:hover, .xds-time-picker__trigger:hover {
|
|
2533
3322
|
border-color: var(--xds-color-text-primary);
|
|
2534
3323
|
}
|
|
2535
3324
|
}
|
|
2536
|
-
.xds-select__trigger:disabled, .xds-date-picker__trigger:disabled {
|
|
3325
|
+
.xds-select__trigger:disabled, .xds-date-picker__trigger:disabled, .xds-time-picker__trigger:disabled {
|
|
2537
3326
|
opacity: 0.5;
|
|
2538
3327
|
cursor: not-allowed;
|
|
2539
3328
|
pointer-events: none;
|
|
2540
3329
|
}
|
|
2541
|
-
.xds-select__value, .xds-date-picker__value {
|
|
3330
|
+
.xds-select__value, .xds-date-picker__value, .xds-time-picker__value {
|
|
2542
3331
|
flex: 1 1 0%;
|
|
2543
3332
|
min-width: 0;
|
|
2544
3333
|
overflow: hidden;
|
|
@@ -2548,40 +3337,40 @@
|
|
|
2548
3337
|
font-size: var(--xds-typography-body-size);
|
|
2549
3338
|
line-height: var(--xds-typography-body-line-height);
|
|
2550
3339
|
}
|
|
2551
|
-
.xds-select__trigger[data-placeholder-shown] .xds-select__value, .xds-date-picker__trigger[data-placeholder-shown] .xds-date-picker__value {
|
|
3340
|
+
.xds-select__trigger[data-placeholder-shown] .xds-select__value, .xds-date-picker__trigger[data-placeholder-shown] .xds-date-picker__value, .xds-time-picker__trigger[data-placeholder-shown] .xds-time-picker__value {
|
|
2552
3341
|
color: var(--xds-color-field-placeholder);
|
|
2553
3342
|
}
|
|
2554
|
-
.xds-select__footer, .xds-date-picker__footer {
|
|
3343
|
+
.xds-select__footer, .xds-date-picker__footer, .xds-time-picker__footer {
|
|
2555
3344
|
display: flex;
|
|
2556
3345
|
align-items: baseline;
|
|
2557
3346
|
gap: var(--xds-space-3);
|
|
2558
3347
|
}
|
|
2559
|
-
.xds-select__footer:not(:has(> :not(:empty))), .xds-date-picker__footer:not(:has(> :not(:empty))) {
|
|
3348
|
+
.xds-select__footer:not(:has(> :not(:empty))), .xds-date-picker__footer:not(:has(> :not(:empty))), .xds-time-picker__footer:not(:has(> :not(:empty))) {
|
|
2560
3349
|
position: absolute;
|
|
2561
3350
|
}
|
|
2562
|
-
.xds-select__description, .xds-select__error, .xds-date-picker__description, .xds-date-picker__error {
|
|
3351
|
+
.xds-select__description, .xds-select__error, .xds-date-picker__description, .xds-date-picker__error, .xds-time-picker__description, .xds-time-picker__error {
|
|
2563
3352
|
font-size: var(--xds-typography-detail-size);
|
|
2564
3353
|
line-height: var(--xds-typography-detail-line-height);
|
|
2565
3354
|
overflow-wrap: break-word;
|
|
2566
3355
|
}
|
|
2567
|
-
.xds-select__description, .xds-date-picker__description {
|
|
3356
|
+
.xds-select__description, .xds-date-picker__description, .xds-time-picker__description {
|
|
2568
3357
|
color: var(--xds-color-text-secondary);
|
|
2569
3358
|
}
|
|
2570
|
-
.xds-select__error, .xds-date-picker__error {
|
|
3359
|
+
.xds-select__error, .xds-date-picker__error, .xds-time-picker__error {
|
|
2571
3360
|
color: var(--xds-color-status-danger);
|
|
2572
3361
|
}
|
|
2573
|
-
.xds-select__error:empty, .xds-date-picker__error:empty {
|
|
3362
|
+
.xds-select__error:empty, .xds-date-picker__error:empty, .xds-time-picker__error:empty {
|
|
2574
3363
|
position: absolute;
|
|
2575
3364
|
}
|
|
2576
|
-
.xds-select__underlay {
|
|
3365
|
+
.xds-select__underlay, .xds-time-picker__underlay {
|
|
2577
3366
|
position: fixed;
|
|
2578
3367
|
inset: 0;
|
|
2579
3368
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2580
3369
|
}
|
|
2581
|
-
.xds-select__positioner {
|
|
3370
|
+
.xds-select__positioner, .xds-time-picker__positioner {
|
|
2582
3371
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2583
3372
|
}
|
|
2584
|
-
.xds-select__content {
|
|
3373
|
+
.xds-select__content, .xds-time-picker__content {
|
|
2585
3374
|
max-height: var(--available-height);
|
|
2586
3375
|
overflow-y: auto;
|
|
2587
3376
|
overscroll-behavior: contain;
|
|
@@ -2598,25 +3387,25 @@
|
|
|
2598
3387
|
transform-origin: var(--transform-origin);
|
|
2599
3388
|
animation: xds-select-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
2600
3389
|
}
|
|
2601
|
-
.xds-select__content[data-side="top"] {
|
|
3390
|
+
.xds-select__content[data-side="top"], .xds-time-picker__content[data-side="top"] {
|
|
2602
3391
|
animation-name: xds-select-enter-above;
|
|
2603
3392
|
}
|
|
2604
|
-
.xds-select__content[data-state="closed"] {
|
|
3393
|
+
.xds-select__content[data-state="closed"], .xds-time-picker__content[data-state="closed"] {
|
|
2605
3394
|
animation: xds-overlay-exit var(--xds-motion-duration-fast) var(--xds-motion-easing-exit) forwards;
|
|
2606
3395
|
pointer-events: none;
|
|
2607
3396
|
}
|
|
2608
3397
|
@media (prefers-reduced-motion: reduce) {
|
|
2609
|
-
.xds-select__content, .xds-select__content[data-state="closed"] {
|
|
3398
|
+
.xds-select__content, .xds-select__content[data-state="closed"], .xds-time-picker__content, .xds-time-picker__content[data-state="closed"] {
|
|
2610
3399
|
animation: none;
|
|
2611
3400
|
}
|
|
2612
3401
|
}
|
|
2613
|
-
.xds-select__list {
|
|
3402
|
+
.xds-select__list, .xds-time-picker__list {
|
|
2614
3403
|
position: relative;
|
|
2615
3404
|
overflow: clip;
|
|
2616
3405
|
padding: var(--xds-space-1);
|
|
2617
3406
|
outline: none;
|
|
2618
3407
|
}
|
|
2619
|
-
.xds-select__item {
|
|
3408
|
+
.xds-select__item, .xds-time-picker__item {
|
|
2620
3409
|
position: relative;
|
|
2621
3410
|
display: flex;
|
|
2622
3411
|
align-items: center;
|
|
@@ -2634,29 +3423,39 @@
|
|
|
2634
3423
|
touch-action: manipulation;
|
|
2635
3424
|
transition: background-color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2636
3425
|
}
|
|
2637
|
-
.xds-select__item[data-highlighted] {
|
|
3426
|
+
.xds-select__item[data-highlighted], .xds-time-picker__item[data-highlighted] {
|
|
2638
3427
|
background: var(--xds-color-menu-item-background-hover);
|
|
2639
3428
|
}
|
|
2640
|
-
.xds-select__item:active {
|
|
3429
|
+
.xds-select__item:active, .xds-time-picker__item:active {
|
|
2641
3430
|
background: var(--xds-color-menu-item-background-pressed);
|
|
2642
3431
|
}
|
|
2643
|
-
.xds-select__item-words {
|
|
3432
|
+
.xds-select__item-words, .xds-time-picker__item-words {
|
|
2644
3433
|
display: flex;
|
|
2645
3434
|
flex: 1 1 0%;
|
|
2646
3435
|
flex-direction: column;
|
|
2647
3436
|
min-width: 0;
|
|
2648
3437
|
}
|
|
2649
|
-
.xds-select__item-label, .xds-select__item-description {
|
|
3438
|
+
.xds-select__item-label, .xds-select__item-description, .xds-time-picker__item-label, .xds-time-picker__item-description {
|
|
2650
3439
|
overflow: hidden;
|
|
2651
3440
|
text-overflow: ellipsis;
|
|
2652
3441
|
white-space: nowrap;
|
|
2653
3442
|
}
|
|
2654
|
-
.xds-select__item-description {
|
|
3443
|
+
.xds-select__item-description, .xds-time-picker__item-description {
|
|
2655
3444
|
font-size: var(--xds-typography-footnote-size);
|
|
2656
3445
|
font-weight: var(--xds-typography-footnote-weight);
|
|
2657
3446
|
line-height: var(--xds-typography-footnote-line-height);
|
|
2658
3447
|
color: var(--xds-color-text-secondary);
|
|
2659
3448
|
}
|
|
3449
|
+
@media (forced-colors: active) {
|
|
3450
|
+
.xds-select__item[data-highlighted], .xds-time-picker__item[data-highlighted] {
|
|
3451
|
+
forced-color-adjust: none;
|
|
3452
|
+
background-color: Highlight;
|
|
3453
|
+
color: HighlightText;
|
|
3454
|
+
}
|
|
3455
|
+
.xds-select__item[data-highlighted] *, .xds-time-picker__item[data-highlighted] * {
|
|
3456
|
+
color: inherit;
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
2660
3459
|
}
|
|
2661
3460
|
@keyframes xds-select-enter {
|
|
2662
3461
|
from {
|
|
@@ -2771,6 +3570,95 @@
|
|
|
2771
3570
|
.xds-slider[data-disabled] .xds-slider__control {
|
|
2772
3571
|
cursor: default;
|
|
2773
3572
|
}
|
|
3573
|
+
@media (forced-colors: active) {
|
|
3574
|
+
.xds-slider__track::before {
|
|
3575
|
+
background: CanvasText;
|
|
3576
|
+
}
|
|
3577
|
+
.xds-slider__range {
|
|
3578
|
+
background: Highlight;
|
|
3579
|
+
}
|
|
3580
|
+
.xds-slider__thumb {
|
|
3581
|
+
border-color: CanvasText;
|
|
3582
|
+
background: Canvas;
|
|
3583
|
+
}
|
|
3584
|
+
.xds-slider[data-disabled] .xds-slider__track::before, .xds-slider[data-disabled] .xds-slider__range, .xds-slider[data-disabled] .xds-slider__thumb {
|
|
3585
|
+
border-color: GrayText;
|
|
3586
|
+
background: GrayText;
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
.xds-table {
|
|
3590
|
+
overflow-x: auto;
|
|
3591
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3592
|
+
border-radius: var(--xds-radius-lg);
|
|
3593
|
+
background-color: var(--xds-color-table-background);
|
|
3594
|
+
}
|
|
3595
|
+
.xds-table__table {
|
|
3596
|
+
width: 100%;
|
|
3597
|
+
border-collapse: collapse;
|
|
3598
|
+
color: var(--xds-color-table-text);
|
|
3599
|
+
font-size: var(--xds-typography-body-size);
|
|
3600
|
+
font-weight: var(--xds-typography-body-weight);
|
|
3601
|
+
line-height: var(--xds-typography-body-line-height);
|
|
3602
|
+
}
|
|
3603
|
+
.xds-table__header, .xds-table__cell, .xds-table__empty {
|
|
3604
|
+
padding: var(--xds-space-2) var(--xds-space-3);
|
|
3605
|
+
text-align: start;
|
|
3606
|
+
vertical-align: middle;
|
|
3607
|
+
}
|
|
3608
|
+
.xds-table__header {
|
|
3609
|
+
background-color: var(--xds-color-table-header-background);
|
|
3610
|
+
color: var(--xds-color-table-header-text);
|
|
3611
|
+
font-size: var(--xds-typography-label-size);
|
|
3612
|
+
font-weight: var(--xds-typography-label-weight);
|
|
3613
|
+
line-height: var(--xds-typography-label-line-height);
|
|
3614
|
+
white-space: nowrap;
|
|
3615
|
+
}
|
|
3616
|
+
.xds-table__header[aria-sort] {
|
|
3617
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3618
|
+
}
|
|
3619
|
+
.xds-table__row + .xds-table__row > *, thead + tbody > .xds-table__row:first-child > * {
|
|
3620
|
+
border-top: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3621
|
+
}
|
|
3622
|
+
.xds-table__cell--end {
|
|
3623
|
+
text-align: end;
|
|
3624
|
+
font-variant-numeric: tabular-nums;
|
|
3625
|
+
}
|
|
3626
|
+
.xds-table__sort {
|
|
3627
|
+
display: inline-flex;
|
|
3628
|
+
align-items: center;
|
|
3629
|
+
gap: var(--xds-space-1);
|
|
3630
|
+
margin: 0;
|
|
3631
|
+
padding: 0;
|
|
3632
|
+
border: none;
|
|
3633
|
+
border-radius: var(--xds-radius-sm);
|
|
3634
|
+
background: none;
|
|
3635
|
+
color: inherit;
|
|
3636
|
+
font: inherit;
|
|
3637
|
+
text-align: inherit;
|
|
3638
|
+
outline: none;
|
|
3639
|
+
cursor: pointer;
|
|
3640
|
+
user-select: none;
|
|
3641
|
+
-webkit-tap-highlight-color: transparent;
|
|
3642
|
+
}
|
|
3643
|
+
.xds-table__cell--end > .xds-table__sort {
|
|
3644
|
+
flex-direction: row-reverse;
|
|
3645
|
+
}
|
|
3646
|
+
.xds-table__sort svg {
|
|
3647
|
+
flex-shrink: 0;
|
|
3648
|
+
pointer-events: none;
|
|
3649
|
+
}
|
|
3650
|
+
@media (hover: hover) {
|
|
3651
|
+
.xds-table__sort:hover {
|
|
3652
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
.xds-table__sort:focus-visible {
|
|
3656
|
+
box-shadow: 0 0 0 var(--xds-focus-offset) var(--xds-color-table-header-background), 0 0 0 calc(var(--xds-focus-width) + var(--xds-focus-offset)) var(--xds-color-border-focus);
|
|
3657
|
+
}
|
|
3658
|
+
.xds-table__empty {
|
|
3659
|
+
color: var(--xds-color-text-secondary);
|
|
3660
|
+
text-align: center;
|
|
3661
|
+
}
|
|
2774
3662
|
.xds-tabs {
|
|
2775
3663
|
display: flex;
|
|
2776
3664
|
flex-direction: column;
|
|
@@ -2847,6 +3735,11 @@
|
|
|
2847
3735
|
transition: none;
|
|
2848
3736
|
}
|
|
2849
3737
|
}
|
|
3738
|
+
@media (forced-colors: active) {
|
|
3739
|
+
.xds-tabs__indicator {
|
|
3740
|
+
background: Highlight;
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
2850
3743
|
.xds-text-field {
|
|
2851
3744
|
--text-field-inset-block: calc(
|
|
2852
3745
|
(
|
|
@@ -3044,6 +3937,11 @@
|
|
|
3044
3937
|
border-radius: calc(var(--xds-radius-sm) - var(--xds-space-0-5));
|
|
3045
3938
|
font: inherit;
|
|
3046
3939
|
}
|
|
3940
|
+
@media (forced-colors: active) {
|
|
3941
|
+
.xds-tooltip {
|
|
3942
|
+
outline: var(--xds-border-width-thin) solid CanvasText;
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3047
3945
|
}
|
|
3048
3946
|
@keyframes xds-tooltip-enter-up {
|
|
3049
3947
|
from {
|