@xds/solid 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/dom/Breadcrumb.js +87 -0
- package/dist/dom/Checkbox.js +12 -6
- package/dist/dom/Combobox.js +295 -0
- package/dist/dom/Link.js +62 -0
- package/dist/dom/Menu.js +15 -14
- package/dist/dom/Pagination.js +132 -0
- package/dist/dom/Popover.js +126 -0
- package/dist/dom/Select.js +75 -48
- package/dist/dom/Table.js +150 -0
- package/dist/dom/TimePicker.js +245 -0
- package/dist/dom/ToastQueue.js +59 -0
- package/dist/dom/base.js +16 -0
- package/dist/dom/index.js +9 -1
- package/dist/dom/modal-popover.js +2 -2
- package/dist/dom/presence.js +3 -2
- package/dist/dom/preview.js +19 -2
- package/dist/dom/rows.js +13 -0
- package/dist/source/Breadcrumb.d.ts +9 -0
- package/dist/source/Breadcrumb.jsx +26 -0
- package/dist/source/Checkbox.d.ts +1 -1
- package/dist/source/Checkbox.jsx +9 -3
- package/dist/source/Combobox.d.ts +16 -0
- package/dist/source/Combobox.jsx +137 -0
- package/dist/source/Link.d.ts +20 -0
- package/dist/source/Link.jsx +21 -0
- package/dist/source/Menu.jsx +8 -2
- package/dist/source/Pagination.d.ts +12 -0
- package/dist/source/Pagination.jsx +51 -0
- package/dist/source/Popover.d.ts +19 -0
- package/dist/source/Popover.jsx +65 -0
- package/dist/source/Select.d.ts +6 -0
- package/dist/source/Select.jsx +32 -8
- package/dist/source/Table.d.ts +17 -0
- package/dist/source/Table.jsx +46 -0
- package/dist/source/TimePicker.d.ts +19 -0
- package/dist/source/TimePicker.jsx +137 -0
- package/dist/source/ToastQueue.d.ts +19 -0
- package/dist/source/ToastQueue.jsx +27 -0
- package/dist/source/base.d.ts +15 -0
- package/dist/source/base.js +15 -0
- package/dist/source/controllable.d.ts +1 -1
- package/dist/source/index.d.ts +9 -1
- package/dist/source/index.js +8 -0
- package/dist/source/modal-popover.js +2 -2
- package/dist/source/presence.js +3 -2
- package/dist/source/preview.d.ts +10 -2
- package/dist/source/preview.jsx +12 -3
- package/dist/source/rows.d.ts +8 -0
- package/dist/source/rows.js +5 -0
- package/eject/files/Accordion.tsx +138 -0
- package/eject/files/Avatar.tsx +48 -0
- package/eject/files/AvatarStack.tsx +51 -0
- package/eject/files/Badge.tsx +39 -0
- package/eject/files/Banner.tsx +80 -0
- package/eject/files/Breadcrumb.tsx +57 -0
- package/eject/files/Button.tsx +90 -0
- package/eject/files/Card.tsx +100 -0
- package/eject/files/Checkbox.tsx +100 -0
- package/eject/files/Chip.tsx +40 -0
- package/eject/files/ChipBar.tsx +34 -0
- package/eject/files/Combobox.tsx +200 -0
- package/eject/files/CountBadge.tsx +55 -0
- package/eject/files/DatePicker.tsx +225 -0
- package/eject/files/DateRangePicker.tsx +319 -0
- package/eject/files/Dialog.tsx +117 -0
- package/eject/files/Divider.tsx +21 -0
- package/eject/files/EmptyState.tsx +39 -0
- package/eject/files/Icon.tsx +37 -0
- package/eject/files/IconButton.tsx +76 -0
- package/eject/files/Link.tsx +61 -0
- package/eject/files/ListRow.tsx +94 -0
- package/eject/files/MediaCard.tsx +116 -0
- package/eject/files/Menu.tsx +190 -0
- package/eject/files/Pagination.tsx +109 -0
- package/eject/files/Popover.tsx +124 -0
- package/eject/files/ProgressBar.tsx +37 -0
- package/eject/files/RadioGroup.tsx +138 -0
- package/eject/files/SearchField.tsx +124 -0
- package/eject/files/SectionHeader.tsx +59 -0
- package/eject/files/SegmentedControl.tsx +79 -0
- package/eject/files/Select.tsx +290 -0
- package/eject/files/Sidebar.tsx +156 -0
- package/eject/files/Skeleton.tsx +33 -0
- package/eject/files/Slider.tsx +131 -0
- package/eject/files/Spinner.tsx +44 -0
- package/eject/files/Switch.tsx +88 -0
- package/eject/files/Table.tsx +98 -0
- package/eject/files/Tabs.tsx +87 -0
- package/eject/files/Text.tsx +38 -0
- package/eject/files/TextField.tsx +171 -0
- package/eject/files/Thumbnail.tsx +84 -0
- package/eject/files/TimePicker.tsx +237 -0
- package/eject/files/Toast.tsx +100 -0
- package/eject/files/ToastQueue.tsx +62 -0
- package/eject/files/Tooltip.tsx +135 -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 +1027 -0
- package/package.json +12 -4
- package/styles.css +1064 -169
- package/tailwind.css +1295 -218
package/styles.css
CHANGED
|
@@ -358,6 +358,9 @@
|
|
|
358
358
|
.max-w-4xl {
|
|
359
359
|
max-width: 56rem;
|
|
360
360
|
}
|
|
361
|
+
.max-w-56 {
|
|
362
|
+
max-width: calc(0.25rem * 56);
|
|
363
|
+
}
|
|
361
364
|
.max-w-xds-dialog {
|
|
362
365
|
max-width: var(--xds-size-dialog);
|
|
363
366
|
}
|
|
@@ -996,6 +999,16 @@
|
|
|
996
999
|
:is(:is(:where(.peer):checked ~ .peer-checked\:\*\:opacity-100) > *) {
|
|
997
1000
|
opacity: 100%;
|
|
998
1001
|
}
|
|
1002
|
+
:is(:where(.peer):indeterminate ~ .peer-indeterminate\:border-0) {
|
|
1003
|
+
border-style: var(--tw-border-style);
|
|
1004
|
+
border-width: 0px;
|
|
1005
|
+
}
|
|
1006
|
+
:is(:where(.peer):indeterminate ~ .peer-indeterminate\:bg-xds-checkbox-background-checked) {
|
|
1007
|
+
background-color: var(--xds-color-checkbox-background-checked);
|
|
1008
|
+
}
|
|
1009
|
+
:is(:is(:where(.peer):indeterminate ~ .peer-indeterminate\:\*\:opacity-100) > *) {
|
|
1010
|
+
opacity: 100%;
|
|
1011
|
+
}
|
|
999
1012
|
:is(:where(.peer):focus-visible ~ .peer-focus-visible\:outline-\(length\:--xds-focus-width\)) {
|
|
1000
1013
|
outline-style: var(--tw-outline-style);
|
|
1001
1014
|
outline-width: var(--xds-focus-width);
|
|
@@ -1193,6 +1206,69 @@
|
|
|
1193
1206
|
--tw-scale-x: calc(100% * -1);
|
|
1194
1207
|
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1195
1208
|
}
|
|
1209
|
+
@media (forced-colors: active) {
|
|
1210
|
+
.forced-colors\:border {
|
|
1211
|
+
border-style: var(--tw-border-style);
|
|
1212
|
+
border-width: 1px;
|
|
1213
|
+
}
|
|
1214
|
+
.forced-colors\:border-\[CanvasText\] {
|
|
1215
|
+
border-color: CanvasText;
|
|
1216
|
+
}
|
|
1217
|
+
.forced-colors\:bg-\[Highlight\] {
|
|
1218
|
+
background-color: Highlight;
|
|
1219
|
+
}
|
|
1220
|
+
.forced-colors\:p-px {
|
|
1221
|
+
padding: 1px;
|
|
1222
|
+
}
|
|
1223
|
+
.forced-colors\:outline {
|
|
1224
|
+
outline-style: var(--tw-outline-style);
|
|
1225
|
+
outline-width: 1px;
|
|
1226
|
+
}
|
|
1227
|
+
.forced-colors\:outline-\(length\:--xds-border-width-thin\) {
|
|
1228
|
+
outline-style: var(--tw-outline-style);
|
|
1229
|
+
outline-width: var(--xds-border-width-thin);
|
|
1230
|
+
}
|
|
1231
|
+
.forced-colors\:outline-\[CanvasText\] {
|
|
1232
|
+
outline-color: CanvasText;
|
|
1233
|
+
}
|
|
1234
|
+
:is(.forced-colors\:\*\:bg-\[CanvasText\] > *) {
|
|
1235
|
+
background-color: CanvasText;
|
|
1236
|
+
}
|
|
1237
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:border-\[Highlight\]) {
|
|
1238
|
+
border-color: Highlight;
|
|
1239
|
+
}
|
|
1240
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:bg-\[Highlight\]) {
|
|
1241
|
+
background-color: Highlight;
|
|
1242
|
+
}
|
|
1243
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:text-\[HighlightText\]) {
|
|
1244
|
+
color: HighlightText;
|
|
1245
|
+
}
|
|
1246
|
+
:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:forced-color-adjust-none) {
|
|
1247
|
+
forced-color-adjust: none;
|
|
1248
|
+
}
|
|
1249
|
+
:is(:is(:where(.peer):checked ~ .forced-colors\:peer-checked\:\*\:bg-\[HighlightText\]) > *) {
|
|
1250
|
+
background-color: HighlightText;
|
|
1251
|
+
}
|
|
1252
|
+
:is(:where(.peer):indeterminate ~ .forced-colors\:peer-indeterminate\:bg-\[Highlight\]) {
|
|
1253
|
+
background-color: Highlight;
|
|
1254
|
+
}
|
|
1255
|
+
:is(:where(.peer):indeterminate ~ .forced-colors\:peer-indeterminate\:text-\[HighlightText\]) {
|
|
1256
|
+
color: HighlightText;
|
|
1257
|
+
}
|
|
1258
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:border-2) {
|
|
1259
|
+
border-style: var(--tw-border-style);
|
|
1260
|
+
border-width: 2px;
|
|
1261
|
+
}
|
|
1262
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:border-\[GrayText\]) {
|
|
1263
|
+
border-color: GrayText;
|
|
1264
|
+
}
|
|
1265
|
+
:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:text-\[GrayText\]) {
|
|
1266
|
+
color: GrayText;
|
|
1267
|
+
}
|
|
1268
|
+
:is(:is(:where(.peer):disabled ~ .forced-colors\:peer-disabled\:\*\:bg-\[GrayText\]) > *) {
|
|
1269
|
+
background-color: GrayText;
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1196
1272
|
.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
|
|
1197
1273
|
display: none;
|
|
1198
1274
|
}
|
|
@@ -1252,35 +1328,15 @@
|
|
|
1252
1328
|
--xds-color-glass-shadow: light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.35));
|
|
1253
1329
|
--xds-color-glass-fallback: light-dark(#ffffff, #222228);
|
|
1254
1330
|
--xds-color-glass-foreground: light-dark(#18181c, #f5f5f7);
|
|
1255
|
-
--xds-color-
|
|
1256
|
-
--xds-color-
|
|
1257
|
-
--xds-color-
|
|
1258
|
-
--xds-color-
|
|
1259
|
-
--xds-color-
|
|
1260
|
-
--xds-color-
|
|
1261
|
-
--xds-color-
|
|
1262
|
-
--xds-color-
|
|
1263
|
-
--xds-color-
|
|
1264
|
-
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1265
|
-
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1266
|
-
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
1267
|
-
--xds-color-button-danger-background: #d92d20;
|
|
1268
|
-
--xds-color-button-danger-background-hover: #b42318;
|
|
1269
|
-
--xds-color-button-danger-background-pressed: #912018;
|
|
1270
|
-
--xds-color-button-danger-text: #ffffff;
|
|
1271
|
-
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1272
|
-
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
1273
|
-
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
1274
|
-
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1275
|
-
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1276
|
-
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1277
|
-
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1278
|
-
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
1279
|
-
--xds-color-field-border: #84848f;
|
|
1280
|
-
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1281
|
-
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
1282
|
-
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
1283
|
-
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1331
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
1332
|
+
--xds-color-accordion-header-background-hover: light-dark(#ececf0, #222228);
|
|
1333
|
+
--xds-color-accordion-header-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1334
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1335
|
+
--xds-color-avatar-background: light-dark(#eef2ff, #1e1b4b);
|
|
1336
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
1337
|
+
--xds-color-avatar-ring: light-dark(#ffffff, #18181c);
|
|
1338
|
+
--xds-color-avatar-overflow-background: light-dark(#ececf0, #2c2c33);
|
|
1339
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
1284
1340
|
--xds-color-badge-neutral-background: light-dark(#ececf0, #2c2c33);
|
|
1285
1341
|
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
1286
1342
|
--xds-color-badge-accent-background: light-dark(#eef2ff, #1e1b4b);
|
|
@@ -1304,29 +1360,39 @@
|
|
|
1304
1360
|
--xds-color-banner-info-background: light-dark(#eff8ff, #102a56);
|
|
1305
1361
|
--xds-color-banner-info-accent: light-dark(#175cd3, #53b1fd);
|
|
1306
1362
|
--xds-color-banner-text: light-dark(#18181c, #f5f5f7);
|
|
1363
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
1364
|
+
--xds-color-breadcrumb-current: light-dark(#18181c, #f5f5f7);
|
|
1365
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
1366
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1367
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1368
|
+
--xds-color-button-primary-text: #ffffff;
|
|
1369
|
+
--xds-color-button-secondary-background: light-dark(#ffffff, #2c2c33);
|
|
1370
|
+
--xds-color-button-secondary-background-hover: light-dark(#ececf0, #44444c);
|
|
1371
|
+
--xds-color-button-secondary-background-pressed: light-dark(#e2e2e8, #5c5c66);
|
|
1372
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
1373
|
+
--xds-color-button-secondary-text: light-dark(#18181c, #f5f5f7);
|
|
1374
|
+
--xds-color-button-ghost-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1375
|
+
--xds-color-button-ghost-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1376
|
+
--xds-color-button-ghost-text: light-dark(#18181c, #f5f5f7);
|
|
1377
|
+
--xds-color-button-danger-background: #d92d20;
|
|
1378
|
+
--xds-color-button-danger-background-hover: #b42318;
|
|
1379
|
+
--xds-color-button-danger-background-pressed: #912018;
|
|
1380
|
+
--xds-color-button-danger-text: #ffffff;
|
|
1381
|
+
--xds-color-button-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1382
|
+
--xds-color-button-selected-background-hover: light-dark(#e0e7ff, #312e81);
|
|
1383
|
+
--xds-color-button-selected-background-pressed: light-dark(#c7d2fe, #3730a3);
|
|
1384
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1385
|
+
--xds-color-button-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1386
|
+
--xds-color-button-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1387
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1307
1388
|
--xds-color-card-background-hover: light-dark(#ececf0, #222228);
|
|
1308
1389
|
--xds-color-card-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1309
1390
|
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
1310
|
-
--xds-color-switch-track: #84848f;
|
|
1311
|
-
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1312
|
-
--xds-color-switch-thumb: #ffffff;
|
|
1313
|
-
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
1314
|
-
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1315
1391
|
--xds-color-checkbox-border: #84848f;
|
|
1316
1392
|
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1317
1393
|
--xds-color-checkbox-mark: #ffffff;
|
|
1318
1394
|
--xds-color-checkbox-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1319
1395
|
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
1320
|
-
--xds-color-radio-border: #84848f;
|
|
1321
|
-
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1322
|
-
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1323
|
-
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1324
|
-
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1325
|
-
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
1326
|
-
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1327
|
-
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
1328
|
-
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1329
|
-
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1330
1396
|
--xds-color-chip-background: light-dark(#ececf0, #2c2c33);
|
|
1331
1397
|
--xds-color-chip-background-hover: light-dark(#e2e2e8, #44444c);
|
|
1332
1398
|
--xds-color-chip-background-pressed: light-dark(#c9c9d1, #5c5c66);
|
|
@@ -1338,20 +1404,6 @@
|
|
|
1338
1404
|
--xds-color-chip-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1339
1405
|
--xds-color-chip-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1340
1406
|
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1341
|
-
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1342
|
-
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1343
|
-
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1344
|
-
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
1345
|
-
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1346
|
-
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
1347
|
-
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1348
|
-
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
1349
|
-
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1350
|
-
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1351
|
-
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1352
|
-
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1353
|
-
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
1354
|
-
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
1355
1407
|
--xds-color-date-picker-background: light-dark(#ffffff, #222228);
|
|
1356
1408
|
--xds-color-date-picker-heading: light-dark(#18181c, #f5f5f7);
|
|
1357
1409
|
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
@@ -1373,50 +1425,98 @@
|
|
|
1373
1425
|
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
1374
1426
|
--xds-color-dialog-title: light-dark(#18181c, #f5f5f7);
|
|
1375
1427
|
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
1376
|
-
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
1377
|
-
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
1378
|
-
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
1379
|
-
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
1380
|
-
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
1381
|
-
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
1382
|
-
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
1383
|
-
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
1384
|
-
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1385
|
-
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1386
|
-
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1387
|
-
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1388
1428
|
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
1389
|
-
--xds-color-
|
|
1390
|
-
--xds-color-
|
|
1391
|
-
--xds-color-
|
|
1392
|
-
--xds-color-
|
|
1393
|
-
--xds-color-
|
|
1394
|
-
--xds-color-
|
|
1395
|
-
--xds-color-
|
|
1396
|
-
--xds-color-
|
|
1397
|
-
--xds-color-
|
|
1429
|
+
--xds-color-field-background: light-dark(#ffffff, #0e0e11);
|
|
1430
|
+
--xds-color-field-border: #84848f;
|
|
1431
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1432
|
+
--xds-color-field-border-invalid: light-dark(#b42318, #f97066);
|
|
1433
|
+
--xds-color-field-text: light-dark(#18181c, #f5f5f7);
|
|
1434
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1435
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
1436
|
+
--xds-color-link-text-hover: light-dark(#4338ca, #c7d2fe);
|
|
1437
|
+
--xds-color-link-text-pressed: light-dark(#3730a3, #e0e7ff);
|
|
1438
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1439
|
+
--xds-color-list-row-background-hover: light-dark(#ececf0, #222228);
|
|
1440
|
+
--xds-color-list-row-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1441
|
+
--xds-color-list-row-background-selected: light-dark(#eef2ff, #1e1b4b);
|
|
1442
|
+
--xds-color-list-row-background-selected-hover: light-dark(#e0e7ff, #312e81);
|
|
1443
|
+
--xds-color-menu-background: light-dark(#ffffff, #222228);
|
|
1444
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1445
|
+
--xds-color-menu-text: light-dark(#18181c, #f5f5f7);
|
|
1446
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1447
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1448
|
+
--xds-color-menu-item-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1449
|
+
--xds-color-menu-item-background-pressed: light-dark(#e2e2e8, #2c2c33);
|
|
1450
|
+
--xds-color-menu-danger-text: light-dark(#b42318, #f97066);
|
|
1451
|
+
--xds-color-menu-danger-background-hover: light-dark(#fef3f2, #55160c);
|
|
1452
|
+
--xds-color-pagination-text: light-dark(#18181c, #f5f5f7);
|
|
1453
|
+
--xds-color-pagination-background-hover: light-dark(#ececf0, #2c2c33);
|
|
1454
|
+
--xds-color-pagination-background-pressed: light-dark(#e2e2e8, #44444c);
|
|
1455
|
+
--xds-color-pagination-background-current: light-dark(#eef2ff, #1e1b4b);
|
|
1456
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
1457
|
+
--xds-color-pagination-text-current: light-dark(#18181c, #f5f5f7);
|
|
1458
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1459
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
1460
|
+
--xds-color-popover-background: light-dark(#ffffff, #222228);
|
|
1461
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
1462
|
+
--xds-color-popover-title: light-dark(#18181c, #f5f5f7);
|
|
1463
|
+
--xds-color-popover-text: light-dark(#18181c, #f5f5f7);
|
|
1398
1464
|
--xds-color-progress-track: light-dark(#ececf0, #2c2c33);
|
|
1399
1465
|
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1466
|
+
--xds-color-radio-border: #84848f;
|
|
1467
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1468
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1469
|
+
--xds-color-radio-disabled-background: light-dark(#ececf0, #2c2c33);
|
|
1470
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1471
|
+
--xds-color-segmented-track: light-dark(#ececf0, #2c2c33);
|
|
1472
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1473
|
+
--xds-color-segmented-selected-background: light-dark(#ffffff, #222228);
|
|
1474
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1475
|
+
--xds-color-segmented-selected-text: light-dark(#18181c, #f5f5f7);
|
|
1476
|
+
--xds-color-sheet-background: light-dark(#ffffff, #222228);
|
|
1477
|
+
--xds-color-sheet-handle: #84848f;
|
|
1478
|
+
--xds-color-sidebar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1479
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1480
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1481
|
+
--xds-color-skeleton-background: light-dark(#ececf0, #2c2c33);
|
|
1482
|
+
--xds-color-skeleton-highlight: light-dark(#e2e2e8, #44444c);
|
|
1400
1483
|
--xds-color-slider-track: light-dark(#ececf0, #2c2c33);
|
|
1401
1484
|
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1402
1485
|
--xds-color-slider-thumb: light-dark(#ffffff, #222228);
|
|
1403
1486
|
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
1404
1487
|
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
1405
|
-
--xds-color-
|
|
1406
|
-
--xds-color-
|
|
1407
|
-
--xds-color-
|
|
1408
|
-
--xds-color-
|
|
1409
|
-
--xds-color-
|
|
1410
|
-
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
1411
|
-
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1412
|
-
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
1488
|
+
--xds-color-switch-track: #84848f;
|
|
1489
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1490
|
+
--xds-color-switch-thumb: #ffffff;
|
|
1491
|
+
--xds-color-switch-disabled-track: light-dark(#ececf0, #2c2c33);
|
|
1492
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1413
1493
|
--xds-color-tab-bar-background: light-dark(#ffffff, #222228);
|
|
1414
1494
|
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1415
1495
|
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
1416
1496
|
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
1417
1497
|
--xds-color-tab-bar-selected-background: light-dark(#eef2ff, #1e1b4b);
|
|
1418
|
-
--xds-color-
|
|
1419
|
-
--xds-color-
|
|
1498
|
+
--xds-color-table-background: light-dark(#ffffff, #18181c);
|
|
1499
|
+
--xds-color-table-header-background: light-dark(#f5f5f7, #222228);
|
|
1500
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
1501
|
+
--xds-color-table-header-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1502
|
+
--xds-color-table-text: light-dark(#18181c, #f5f5f7);
|
|
1503
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
1504
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1505
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1506
|
+
--xds-color-tabs-text-hover: light-dark(#18181c, #f5f5f7);
|
|
1507
|
+
--xds-color-tabs-text-selected: light-dark(#18181c, #f5f5f7);
|
|
1508
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1509
|
+
--xds-color-thumbnail-background: light-dark(#ececf0, #2c2c33);
|
|
1510
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1511
|
+
--xds-color-toast-background: light-dark(#18181c, #f5f5f7);
|
|
1512
|
+
--xds-color-toast-text: light-dark(#f5f5f7, #18181c);
|
|
1513
|
+
--xds-color-toast-action: light-dark(#a5b4fc, #4f46e5);
|
|
1514
|
+
--xds-color-tooltip-background: light-dark(#18181c, #f5f5f7);
|
|
1515
|
+
--xds-color-tooltip-text: light-dark(#f5f5f7, #18181c);
|
|
1516
|
+
--xds-color-top-bar-background: light-dark(#f5f5f7, #0e0e11);
|
|
1517
|
+
--xds-color-top-bar-text: light-dark(#18181c, #f5f5f7);
|
|
1518
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1519
|
+
--xds-color-top-bar-action-background: light-dark(#ececf0, #2c2c33);
|
|
1420
1520
|
--xds-space-1: 4px;
|
|
1421
1521
|
--xds-space-2: 8px;
|
|
1422
1522
|
--xds-space-3: 12px;
|
|
@@ -1581,56 +1681,298 @@
|
|
|
1581
1681
|
--xds-size-calendar-day: 48px;
|
|
1582
1682
|
}
|
|
1583
1683
|
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1684
|
+
@media (prefers-contrast: more) {
|
|
1685
|
+
:root {
|
|
1686
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
1687
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
1688
|
+
--xds-color-text-disabled: #84848f;
|
|
1689
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
1690
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
1691
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
1692
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
1693
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1694
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
1695
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
1696
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
1697
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
1698
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
1699
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
1700
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
1701
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
1702
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
1703
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
1704
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
1705
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1706
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
1707
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
1708
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1709
|
+
--xds-color-button-disabled-text: #84848f;
|
|
1710
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
1711
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
1712
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
1713
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
1714
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1715
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
1716
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
1717
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
1718
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
1719
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
1720
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1721
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
1722
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
1723
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
1724
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
1725
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
1726
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
1727
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1728
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
1729
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
1730
|
+
--xds-color-link-disabled-text: #84848f;
|
|
1731
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
1732
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
1733
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
1734
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
1735
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
1736
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
1737
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
1738
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
1739
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
1740
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
1741
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
1742
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
1743
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
1744
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
1745
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
1746
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
1747
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
1748
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
1749
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
1750
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
1751
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
1752
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
1753
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
1754
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
1755
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
1756
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
1757
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
1758
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
1759
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
1760
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
1761
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
1762
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
1763
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
[data-contrast="more"] {
|
|
1767
|
+
--xds-color-text-secondary: light-dark(#44444c, #e2e2e8);
|
|
1768
|
+
--xds-color-text-tertiary: light-dark(#44444c, #c9c9d1);
|
|
1769
|
+
--xds-color-text-disabled: #84848f;
|
|
1770
|
+
--xds-color-text-accent: light-dark(#4338ca, #c7d2fe);
|
|
1771
|
+
--xds-color-border-default: light-dark(#84848f, #5c5c66);
|
|
1772
|
+
--xds-color-border-control: light-dark(#5c5c66, #a9a9b4);
|
|
1773
|
+
--xds-color-border-strong: light-dark(#44444c, #c9c9d1);
|
|
1774
|
+
--xds-color-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1775
|
+
--xds-color-accent-default: light-dark(#4338ca, #5b5ef0);
|
|
1776
|
+
--xds-color-accent-hover: light-dark(#3730a3, #4f46e5);
|
|
1777
|
+
--xds-color-accent-pressed: light-dark(#312e81, #4338ca);
|
|
1778
|
+
--xds-color-accordion-border: light-dark(#84848f, #5c5c66);
|
|
1779
|
+
--xds-color-accordion-icon: light-dark(#44444c, #e2e2e8);
|
|
1780
|
+
--xds-color-avatar-text: light-dark(#4338ca, #c7d2fe);
|
|
1781
|
+
--xds-color-avatar-overflow-text: light-dark(#44444c, #e2e2e8);
|
|
1782
|
+
--xds-color-badge-neutral-text: light-dark(#44444c, #e2e2e8);
|
|
1783
|
+
--xds-color-badge-accent-text: light-dark(#4338ca, #c7d2fe);
|
|
1784
|
+
--xds-color-breadcrumb-separator: light-dark(#44444c, #e2e2e8);
|
|
1785
|
+
--xds-color-button-primary-background: light-dark(#4338ca, #5b5ef0);
|
|
1786
|
+
--xds-color-button-primary-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1787
|
+
--xds-color-button-primary-background-pressed: light-dark(#312e81, #4338ca);
|
|
1788
|
+
--xds-color-button-secondary-border: light-dark(#5c5c66, #a9a9b4);
|
|
1789
|
+
--xds-color-button-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1790
|
+
--xds-color-button-disabled-text: #84848f;
|
|
1791
|
+
--xds-color-card-border-selected: light-dark(#4338ca, #5b5ef0);
|
|
1792
|
+
--xds-color-checkbox-border: light-dark(#44444c, #c9c9d1);
|
|
1793
|
+
--xds-color-checkbox-background-checked: light-dark(#4338ca, #5b5ef0);
|
|
1794
|
+
--xds-color-checkbox-disabled-mark: #84848f;
|
|
1795
|
+
--xds-color-chip-selected-border: light-dark(#4338ca, #5b5ef0);
|
|
1796
|
+
--xds-color-chip-disabled-text: #84848f;
|
|
1797
|
+
--xds-color-date-picker-weekday: light-dark(#44444c, #e2e2e8);
|
|
1798
|
+
--xds-color-date-picker-today-text: light-dark(#4338ca, #c7d2fe);
|
|
1799
|
+
--xds-color-date-picker-today-border: light-dark(#4338ca, #5b5ef0);
|
|
1800
|
+
--xds-color-date-picker-selected-background: light-dark(#4338ca, #5b5ef0);
|
|
1801
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#3730a3, #4f46e5);
|
|
1802
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#312e81, #4338ca);
|
|
1803
|
+
--xds-color-date-picker-disabled-text: #84848f;
|
|
1804
|
+
--xds-color-dialog-border: light-dark(#84848f, #5c5c66);
|
|
1805
|
+
--xds-color-dialog-text: light-dark(#44444c, #e2e2e8);
|
|
1806
|
+
--xds-color-empty-state-icon: light-dark(#44444c, #c9c9d1);
|
|
1807
|
+
--xds-color-field-border: light-dark(#44444c, #c9c9d1);
|
|
1808
|
+
--xds-color-field-border-focus: light-dark(#4338ca, #a5b4fc);
|
|
1809
|
+
--xds-color-field-placeholder: light-dark(#44444c, #c9c9d1);
|
|
1810
|
+
--xds-color-link-text: light-dark(#4338ca, #c7d2fe);
|
|
1811
|
+
--xds-color-link-disabled-text: #84848f;
|
|
1812
|
+
--xds-color-menu-border: light-dark(#84848f, #5c5c66);
|
|
1813
|
+
--xds-color-menu-icon: light-dark(#44444c, #e2e2e8);
|
|
1814
|
+
--xds-color-menu-text-disabled: #84848f;
|
|
1815
|
+
--xds-color-pagination-border-current: light-dark(#4338ca, #5b5ef0);
|
|
1816
|
+
--xds-color-pagination-text-disabled: #84848f;
|
|
1817
|
+
--xds-color-pagination-gap: light-dark(#44444c, #e2e2e8);
|
|
1818
|
+
--xds-color-popover-border: light-dark(#84848f, #5c5c66);
|
|
1819
|
+
--xds-color-progress-fill: light-dark(#4338ca, #c7d2fe);
|
|
1820
|
+
--xds-color-radio-border: light-dark(#44444c, #c9c9d1);
|
|
1821
|
+
--xds-color-radio-border-checked: light-dark(#4338ca, #5b5ef0);
|
|
1822
|
+
--xds-color-radio-dot: light-dark(#4338ca, #5b5ef0);
|
|
1823
|
+
--xds-color-radio-disabled-dot: #84848f;
|
|
1824
|
+
--xds-color-segmented-text: light-dark(#44444c, #e2e2e8);
|
|
1825
|
+
--xds-color-segmented-selected-border: light-dark(#5c5c66, #a9a9b4);
|
|
1826
|
+
--xds-color-sheet-handle: light-dark(#44444c, #c9c9d1);
|
|
1827
|
+
--xds-color-sidebar-border: light-dark(#84848f, #5c5c66);
|
|
1828
|
+
--xds-color-sidebar-section-title: light-dark(#44444c, #c9c9d1);
|
|
1829
|
+
--xds-color-slider-fill: light-dark(#4338ca, #c7d2fe);
|
|
1830
|
+
--xds-color-slider-thumb-border: light-dark(#4338ca, #c7d2fe);
|
|
1831
|
+
--xds-color-slider-disabled-fill: #84848f;
|
|
1832
|
+
--xds-color-switch-track: light-dark(#44444c, #84848f);
|
|
1833
|
+
--xds-color-switch-track-on: light-dark(#4338ca, #5b5ef0);
|
|
1834
|
+
--xds-color-switch-disabled-thumb: #84848f;
|
|
1835
|
+
--xds-color-tab-bar-border: light-dark(#84848f, #5c5c66);
|
|
1836
|
+
--xds-color-tab-bar-text: light-dark(#44444c, #e2e2e8);
|
|
1837
|
+
--xds-color-tab-bar-text-selected: light-dark(#4338ca, #c7d2fe);
|
|
1838
|
+
--xds-color-table-header-text: light-dark(#44444c, #e2e2e8);
|
|
1839
|
+
--xds-color-table-border: light-dark(#84848f, #5c5c66);
|
|
1840
|
+
--xds-color-tabs-border: light-dark(#84848f, #5c5c66);
|
|
1841
|
+
--xds-color-tabs-text: light-dark(#44444c, #e2e2e8);
|
|
1842
|
+
--xds-color-tabs-indicator: light-dark(#4338ca, #5b5ef0);
|
|
1843
|
+
--xds-color-thumbnail-icon: light-dark(#44444c, #c9c9d1);
|
|
1844
|
+
--xds-color-top-bar-action: light-dark(#4338ca, #c7d2fe);
|
|
1845
|
+
}
|
|
1846
|
+
[data-contrast="standard"] {
|
|
1847
|
+
--xds-color-text-secondary: light-dark(#5c5c66, #a9a9b4);
|
|
1848
|
+
--xds-color-text-tertiary: light-dark(#6e6e79, #84848f);
|
|
1849
|
+
--xds-color-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1850
|
+
--xds-color-text-accent: light-dark(#4f46e5, #a5b4fc);
|
|
1851
|
+
--xds-color-border-default: light-dark(#e2e2e8, #2c2c33);
|
|
1852
|
+
--xds-color-border-control: light-dark(#c9c9d1, #44444c);
|
|
1853
|
+
--xds-color-border-strong: #84848f;
|
|
1854
|
+
--xds-color-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1855
|
+
--xds-color-accent-default: light-dark(#4f46e5, #5b5ef0);
|
|
1856
|
+
--xds-color-accent-hover: light-dark(#4338ca, #4f46e5);
|
|
1857
|
+
--xds-color-accent-pressed: light-dark(#3730a3, #4338ca);
|
|
1858
|
+
--xds-color-accordion-border: light-dark(#e2e2e8, #2c2c33);
|
|
1859
|
+
--xds-color-accordion-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1860
|
+
--xds-color-avatar-text: light-dark(#4f46e5, #a5b4fc);
|
|
1861
|
+
--xds-color-avatar-overflow-text: light-dark(#5c5c66, #a9a9b4);
|
|
1862
|
+
--xds-color-badge-neutral-text: light-dark(#5c5c66, #a9a9b4);
|
|
1863
|
+
--xds-color-badge-accent-text: light-dark(#4f46e5, #a5b4fc);
|
|
1864
|
+
--xds-color-breadcrumb-separator: light-dark(#5c5c66, #a9a9b4);
|
|
1865
|
+
--xds-color-button-primary-background: light-dark(#4f46e5, #5b5ef0);
|
|
1866
|
+
--xds-color-button-primary-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1867
|
+
--xds-color-button-primary-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1868
|
+
--xds-color-button-secondary-border: light-dark(#c9c9d1, #44444c);
|
|
1869
|
+
--xds-color-button-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1870
|
+
--xds-color-button-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1871
|
+
--xds-color-card-border-selected: light-dark(#4f46e5, #5b5ef0);
|
|
1872
|
+
--xds-color-checkbox-border: #84848f;
|
|
1873
|
+
--xds-color-checkbox-background-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1874
|
+
--xds-color-checkbox-disabled-mark: light-dark(#a9a9b4, #5c5c66);
|
|
1875
|
+
--xds-color-chip-selected-border: light-dark(#4f46e5, #5b5ef0);
|
|
1876
|
+
--xds-color-chip-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1877
|
+
--xds-color-date-picker-weekday: light-dark(#5c5c66, #a9a9b4);
|
|
1878
|
+
--xds-color-date-picker-today-text: light-dark(#4f46e5, #a5b4fc);
|
|
1879
|
+
--xds-color-date-picker-today-border: light-dark(#4f46e5, #5b5ef0);
|
|
1880
|
+
--xds-color-date-picker-selected-background: light-dark(#4f46e5, #5b5ef0);
|
|
1881
|
+
--xds-color-date-picker-selected-background-hover: light-dark(#4338ca, #4f46e5);
|
|
1882
|
+
--xds-color-date-picker-selected-background-pressed: light-dark(#3730a3, #4338ca);
|
|
1883
|
+
--xds-color-date-picker-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1884
|
+
--xds-color-dialog-border: light-dark(#e2e2e8, #2c2c33);
|
|
1885
|
+
--xds-color-dialog-text: light-dark(#5c5c66, #a9a9b4);
|
|
1886
|
+
--xds-color-empty-state-icon: light-dark(#6e6e79, #84848f);
|
|
1887
|
+
--xds-color-field-border: #84848f;
|
|
1888
|
+
--xds-color-field-border-focus: light-dark(#4f46e5, #818cf8);
|
|
1889
|
+
--xds-color-field-placeholder: light-dark(#6e6e79, #84848f);
|
|
1890
|
+
--xds-color-link-text: light-dark(#4f46e5, #a5b4fc);
|
|
1891
|
+
--xds-color-link-disabled-text: light-dark(#a9a9b4, #5c5c66);
|
|
1892
|
+
--xds-color-menu-border: light-dark(#e2e2e8, #2c2c33);
|
|
1893
|
+
--xds-color-menu-icon: light-dark(#5c5c66, #a9a9b4);
|
|
1894
|
+
--xds-color-menu-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1895
|
+
--xds-color-pagination-border-current: light-dark(#4f46e5, #5b5ef0);
|
|
1896
|
+
--xds-color-pagination-text-disabled: light-dark(#a9a9b4, #5c5c66);
|
|
1897
|
+
--xds-color-pagination-gap: light-dark(#5c5c66, #a9a9b4);
|
|
1898
|
+
--xds-color-popover-border: light-dark(#e2e2e8, #2c2c33);
|
|
1899
|
+
--xds-color-progress-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1900
|
+
--xds-color-radio-border: #84848f;
|
|
1901
|
+
--xds-color-radio-border-checked: light-dark(#4f46e5, #5b5ef0);
|
|
1902
|
+
--xds-color-radio-dot: light-dark(#4f46e5, #5b5ef0);
|
|
1903
|
+
--xds-color-radio-disabled-dot: light-dark(#a9a9b4, #5c5c66);
|
|
1904
|
+
--xds-color-segmented-text: light-dark(#5c5c66, #a9a9b4);
|
|
1905
|
+
--xds-color-segmented-selected-border: light-dark(#c9c9d1, #44444c);
|
|
1906
|
+
--xds-color-sheet-handle: #84848f;
|
|
1907
|
+
--xds-color-sidebar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1908
|
+
--xds-color-sidebar-section-title: light-dark(#6e6e79, #84848f);
|
|
1909
|
+
--xds-color-slider-fill: light-dark(#4f46e5, #a5b4fc);
|
|
1910
|
+
--xds-color-slider-thumb-border: light-dark(#4f46e5, #a5b4fc);
|
|
1911
|
+
--xds-color-slider-disabled-fill: light-dark(#a9a9b4, #5c5c66);
|
|
1912
|
+
--xds-color-switch-track: #84848f;
|
|
1913
|
+
--xds-color-switch-track-on: light-dark(#4f46e5, #5b5ef0);
|
|
1914
|
+
--xds-color-switch-disabled-thumb: light-dark(#a9a9b4, #5c5c66);
|
|
1915
|
+
--xds-color-tab-bar-border: light-dark(#e2e2e8, #2c2c33);
|
|
1916
|
+
--xds-color-tab-bar-text: light-dark(#5c5c66, #a9a9b4);
|
|
1917
|
+
--xds-color-tab-bar-text-selected: light-dark(#4f46e5, #a5b4fc);
|
|
1918
|
+
--xds-color-table-header-text: light-dark(#5c5c66, #a9a9b4);
|
|
1919
|
+
--xds-color-table-border: light-dark(#e2e2e8, #2c2c33);
|
|
1920
|
+
--xds-color-tabs-border: light-dark(#e2e2e8, #2c2c33);
|
|
1921
|
+
--xds-color-tabs-text: light-dark(#5c5c66, #a9a9b4);
|
|
1922
|
+
--xds-color-tabs-indicator: light-dark(#4f46e5, #5b5ef0);
|
|
1923
|
+
--xds-color-thumbnail-icon: light-dark(#6e6e79, #84848f);
|
|
1924
|
+
--xds-color-top-bar-action: light-dark(#4f46e5, #a5b4fc);
|
|
1925
|
+
}
|
|
1926
|
+
[data-theme="light"] {
|
|
1927
|
+
color-scheme: light;
|
|
1928
|
+
}
|
|
1929
|
+
[data-theme="dark"] {
|
|
1930
|
+
color-scheme: dark;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
@layer xds.base {
|
|
1934
|
+
*: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 {
|
|
1935
|
+
box-sizing: border-box;
|
|
1936
|
+
margin: 0;
|
|
1937
|
+
padding: 0;
|
|
1938
|
+
border: 0 solid;
|
|
1939
|
+
}
|
|
1940
|
+
hr:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) hr {
|
|
1941
|
+
height: 0;
|
|
1942
|
+
color: inherit;
|
|
1943
|
+
border-top-width: 1px;
|
|
1944
|
+
}
|
|
1945
|
+
abbr:where([title]):where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) abbr:where([title]) {
|
|
1946
|
+
-webkit-text-decoration: underline dotted;
|
|
1947
|
+
text-decoration: underline dotted;
|
|
1948
|
+
}
|
|
1949
|
+
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 {
|
|
1950
|
+
font-size: inherit;
|
|
1951
|
+
font-weight: inherit;
|
|
1952
|
+
}
|
|
1953
|
+
a:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) a {
|
|
1954
|
+
color: inherit;
|
|
1955
|
+
-webkit-text-decoration: inherit;
|
|
1956
|
+
text-decoration: inherit;
|
|
1957
|
+
}
|
|
1958
|
+
b:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) b, strong:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) strong {
|
|
1959
|
+
font-weight: bolder;
|
|
1960
|
+
}
|
|
1961
|
+
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 {
|
|
1962
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
1963
|
+
monospace;
|
|
1964
|
+
font-feature-settings: normal;
|
|
1965
|
+
font-variation-settings: normal;
|
|
1966
|
+
font-size: 1em;
|
|
1967
|
+
}
|
|
1968
|
+
small:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) small {
|
|
1969
|
+
font-size: 80%;
|
|
1970
|
+
}
|
|
1971
|
+
sub:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sub, sup:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sup {
|
|
1972
|
+
font-size: 75%;
|
|
1973
|
+
line-height: 0;
|
|
1974
|
+
position: relative;
|
|
1975
|
+
vertical-align: baseline;
|
|
1634
1976
|
}
|
|
1635
1977
|
sub:where([class^="xds-"], [class*=" xds-"]), :where([class^="xds-"], [class*=" xds-"]) sub {
|
|
1636
1978
|
bottom: -0.25em;
|
|
@@ -1822,6 +2164,36 @@
|
|
|
1822
2164
|
line-height: var(--xds-typography-body-line-height);
|
|
1823
2165
|
color: var(--xds-color-text-secondary);
|
|
1824
2166
|
}
|
|
2167
|
+
.xds-breadcrumb {
|
|
2168
|
+
font-size: var(--xds-typography-detail-size);
|
|
2169
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2170
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
2171
|
+
letter-spacing: var(--xds-typography-detail-letter-spacing);
|
|
2172
|
+
}
|
|
2173
|
+
.xds-breadcrumb__list {
|
|
2174
|
+
display: flex;
|
|
2175
|
+
flex-wrap: wrap;
|
|
2176
|
+
align-items: center;
|
|
2177
|
+
column-gap: var(--xds-space-1);
|
|
2178
|
+
margin: 0;
|
|
2179
|
+
padding: 0;
|
|
2180
|
+
list-style: none;
|
|
2181
|
+
}
|
|
2182
|
+
.xds-breadcrumb__item {
|
|
2183
|
+
display: inline-flex;
|
|
2184
|
+
align-items: center;
|
|
2185
|
+
gap: var(--xds-space-1);
|
|
2186
|
+
min-width: 0;
|
|
2187
|
+
}
|
|
2188
|
+
.xds-breadcrumb__separator {
|
|
2189
|
+
color: var(--xds-color-breadcrumb-separator);
|
|
2190
|
+
}
|
|
2191
|
+
.xds-breadcrumb__separator:dir(rtl) {
|
|
2192
|
+
transform: scaleX(-1);
|
|
2193
|
+
}
|
|
2194
|
+
.xds-breadcrumb__current {
|
|
2195
|
+
color: var(--xds-color-breadcrumb-current);
|
|
2196
|
+
}
|
|
1825
2197
|
.xds-button {
|
|
1826
2198
|
--button-bg: transparent;
|
|
1827
2199
|
--button-bg-hover: var(--button-bg);
|
|
@@ -1975,6 +2347,204 @@
|
|
|
1975
2347
|
.xds-button:focus-visible {
|
|
1976
2348
|
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);
|
|
1977
2349
|
}
|
|
2350
|
+
.xds-combobox {
|
|
2351
|
+
display: flex;
|
|
2352
|
+
flex-direction: column;
|
|
2353
|
+
gap: var(--xds-space-1);
|
|
2354
|
+
width: 100%;
|
|
2355
|
+
}
|
|
2356
|
+
.xds-combobox__label {
|
|
2357
|
+
width: fit-content;
|
|
2358
|
+
font-size: var(--xds-typography-label-size);
|
|
2359
|
+
font-weight: var(--xds-typography-label-weight);
|
|
2360
|
+
line-height: var(--xds-typography-label-line-height);
|
|
2361
|
+
color: var(--xds-color-text-primary);
|
|
2362
|
+
}
|
|
2363
|
+
.xds-combobox:has(.xds-combobox__input:disabled) .xds-combobox__label {
|
|
2364
|
+
opacity: 0.5;
|
|
2365
|
+
cursor: not-allowed;
|
|
2366
|
+
pointer-events: none;
|
|
2367
|
+
}
|
|
2368
|
+
.xds-combobox__control {
|
|
2369
|
+
display: flex;
|
|
2370
|
+
align-items: center;
|
|
2371
|
+
gap: var(--xds-space-2);
|
|
2372
|
+
min-height: var(--xds-size-control-md);
|
|
2373
|
+
padding-inline-end: var(--xds-space-3);
|
|
2374
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-field-border);
|
|
2375
|
+
border-radius: var(--xds-radius-md);
|
|
2376
|
+
background-color: var(--xds-color-field-background);
|
|
2377
|
+
color: var(--xds-color-field-text);
|
|
2378
|
+
transition-property: background-color, border-color, box-shadow;
|
|
2379
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
2380
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
2381
|
+
}
|
|
2382
|
+
.xds-combobox__control:has(> .xds-combobox__input:focus) {
|
|
2383
|
+
border-color: var(--xds-color-field-border-focus);
|
|
2384
|
+
}
|
|
2385
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]) {
|
|
2386
|
+
border-color: var(--xds-color-field-border-invalid);
|
|
2387
|
+
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
2388
|
+
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
2389
|
+
}
|
|
2390
|
+
.xds-combobox__control:has(> .xds-combobox__input[aria-invalid="true"]:focus) {
|
|
2391
|
+
box-shadow: none;
|
|
2392
|
+
}
|
|
2393
|
+
@media (hover: hover) {
|
|
2394
|
+
.xds-combobox__control:hover:not(:has(:focus)) {
|
|
2395
|
+
border-color: var(--xds-color-text-primary);
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
.xds-combobox__control:has(> .xds-combobox__input:disabled) {
|
|
2399
|
+
opacity: 0.5;
|
|
2400
|
+
cursor: not-allowed;
|
|
2401
|
+
pointer-events: none;
|
|
2402
|
+
}
|
|
2403
|
+
.xds-combobox__input {
|
|
2404
|
+
flex: 1 1 0%;
|
|
2405
|
+
min-width: 0;
|
|
2406
|
+
align-self: stretch;
|
|
2407
|
+
padding-block: 0;
|
|
2408
|
+
padding-inline: var(--xds-space-3) 0;
|
|
2409
|
+
border: none;
|
|
2410
|
+
background: transparent;
|
|
2411
|
+
color: inherit;
|
|
2412
|
+
font-size: var(--xds-typography-body-size);
|
|
2413
|
+
line-height: var(--xds-typography-body-line-height);
|
|
2414
|
+
outline-style: none;
|
|
2415
|
+
}
|
|
2416
|
+
.xds-combobox__input::placeholder {
|
|
2417
|
+
color: var(--xds-color-field-placeholder);
|
|
2418
|
+
}
|
|
2419
|
+
.xds-combobox__icon {
|
|
2420
|
+
flex: none;
|
|
2421
|
+
color: var(--xds-color-field-placeholder);
|
|
2422
|
+
pointer-events: none;
|
|
2423
|
+
}
|
|
2424
|
+
.xds-combobox__footer {
|
|
2425
|
+
display: flex;
|
|
2426
|
+
align-items: baseline;
|
|
2427
|
+
gap: var(--xds-space-3);
|
|
2428
|
+
}
|
|
2429
|
+
.xds-combobox__footer:not(:has(> :not(:empty))) {
|
|
2430
|
+
position: absolute;
|
|
2431
|
+
}
|
|
2432
|
+
.xds-combobox__description, .xds-combobox__error {
|
|
2433
|
+
font-size: var(--xds-typography-detail-size);
|
|
2434
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2435
|
+
overflow-wrap: break-word;
|
|
2436
|
+
}
|
|
2437
|
+
.xds-combobox__description {
|
|
2438
|
+
color: var(--xds-color-text-secondary);
|
|
2439
|
+
}
|
|
2440
|
+
.xds-combobox__error {
|
|
2441
|
+
color: var(--xds-color-status-danger);
|
|
2442
|
+
}
|
|
2443
|
+
.xds-combobox__error:empty {
|
|
2444
|
+
position: absolute;
|
|
2445
|
+
}
|
|
2446
|
+
.xds-combobox__positioner {
|
|
2447
|
+
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2448
|
+
}
|
|
2449
|
+
.xds-combobox__content {
|
|
2450
|
+
max-height: min(var(--available-height), 20rem);
|
|
2451
|
+
overflow-y: auto;
|
|
2452
|
+
overscroll-behavior: contain;
|
|
2453
|
+
scroll-padding-block: var(--xds-space-1);
|
|
2454
|
+
scrollbar-width: thin;
|
|
2455
|
+
scrollbar-color: var(--xds-color-text-primary) transparent;
|
|
2456
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2457
|
+
scrollbar-color: color-mix(in oklab, var(--xds-color-text-primary) 15%, transparent) transparent;
|
|
2458
|
+
}
|
|
2459
|
+
padding: var(--xds-space-1);
|
|
2460
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-menu-border);
|
|
2461
|
+
border-radius: var(--xds-radius-md);
|
|
2462
|
+
background: var(--xds-color-menu-background);
|
|
2463
|
+
box-shadow: var(--xds-shadow-raised);
|
|
2464
|
+
outline: none;
|
|
2465
|
+
transform-origin: var(--transform-origin);
|
|
2466
|
+
animation: xds-combobox-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
2467
|
+
}
|
|
2468
|
+
.xds-combobox__content[data-side="top"] {
|
|
2469
|
+
animation-name: xds-combobox-enter-above;
|
|
2470
|
+
}
|
|
2471
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2472
|
+
.xds-combobox__content {
|
|
2473
|
+
animation: none;
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
.xds-combobox__list {
|
|
2477
|
+
outline: none;
|
|
2478
|
+
}
|
|
2479
|
+
.xds-combobox__item {
|
|
2480
|
+
display: flex;
|
|
2481
|
+
align-items: center;
|
|
2482
|
+
gap: var(--xds-space-2);
|
|
2483
|
+
min-height: max(var(--xds-size-list-row-compact), var(--xds-size-target-min));
|
|
2484
|
+
padding: var(--xds-space-1) var(--xds-space-2);
|
|
2485
|
+
border-radius: var(--xds-radius-sm);
|
|
2486
|
+
white-space: nowrap;
|
|
2487
|
+
font-size: var(--xds-typography-detail-size);
|
|
2488
|
+
font-weight: var(--xds-typography-detail-weight);
|
|
2489
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2490
|
+
color: var(--xds-color-menu-text);
|
|
2491
|
+
cursor: pointer;
|
|
2492
|
+
touch-action: manipulation;
|
|
2493
|
+
transition: background-color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2494
|
+
}
|
|
2495
|
+
.xds-combobox__item[data-highlighted] {
|
|
2496
|
+
background: var(--xds-color-menu-item-background-hover);
|
|
2497
|
+
}
|
|
2498
|
+
.xds-combobox__item:active {
|
|
2499
|
+
background: var(--xds-color-menu-item-background-pressed);
|
|
2500
|
+
}
|
|
2501
|
+
.xds-combobox__item-words {
|
|
2502
|
+
display: flex;
|
|
2503
|
+
flex: 1 1 0%;
|
|
2504
|
+
flex-direction: column;
|
|
2505
|
+
min-width: 0;
|
|
2506
|
+
}
|
|
2507
|
+
.xds-combobox__item-label, .xds-combobox__item-description {
|
|
2508
|
+
overflow: hidden;
|
|
2509
|
+
text-overflow: ellipsis;
|
|
2510
|
+
white-space: nowrap;
|
|
2511
|
+
}
|
|
2512
|
+
.xds-combobox__item-description {
|
|
2513
|
+
font-size: var(--xds-typography-footnote-size);
|
|
2514
|
+
font-weight: var(--xds-typography-footnote-weight);
|
|
2515
|
+
line-height: var(--xds-typography-footnote-line-height);
|
|
2516
|
+
color: var(--xds-color-text-secondary);
|
|
2517
|
+
}
|
|
2518
|
+
.xds-combobox__empty {
|
|
2519
|
+
padding: var(--xds-space-2);
|
|
2520
|
+
font-size: var(--xds-typography-detail-size);
|
|
2521
|
+
line-height: var(--xds-typography-detail-line-height);
|
|
2522
|
+
color: var(--xds-color-text-secondary);
|
|
2523
|
+
}
|
|
2524
|
+
@media (forced-colors: active) {
|
|
2525
|
+
.xds-combobox__item[data-highlighted] {
|
|
2526
|
+
forced-color-adjust: none;
|
|
2527
|
+
background-color: Highlight;
|
|
2528
|
+
color: HighlightText;
|
|
2529
|
+
}
|
|
2530
|
+
.xds-combobox__item[data-highlighted] * {
|
|
2531
|
+
color: inherit;
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
}
|
|
2535
|
+
@keyframes xds-combobox-enter {
|
|
2536
|
+
from {
|
|
2537
|
+
opacity: 0;
|
|
2538
|
+
transform: translate3d(0, -0.25rem, 0) scale(0.95);
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
@keyframes xds-combobox-enter-above {
|
|
2542
|
+
from {
|
|
2543
|
+
opacity: 0;
|
|
2544
|
+
transform: translate3d(0, 0.25rem, 0) scale(0.95);
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
@layer components {
|
|
1978
2548
|
.xds-date-picker__underlay {
|
|
1979
2549
|
position: fixed;
|
|
1980
2550
|
inset: 0;
|
|
@@ -2191,6 +2761,21 @@
|
|
|
2191
2761
|
border-start-end-radius: var(--xds-radius-full);
|
|
2192
2762
|
border-end-end-radius: var(--xds-radius-full);
|
|
2193
2763
|
}
|
|
2764
|
+
@media (forced-colors: active) {
|
|
2765
|
+
.xds-date-picker__day[data-selected], .xds-date-picker__day[data-in-range]:not([data-outside-range]) {
|
|
2766
|
+
forced-color-adjust: none;
|
|
2767
|
+
color: HighlightText;
|
|
2768
|
+
}
|
|
2769
|
+
.xds-date-picker__day[data-selected] {
|
|
2770
|
+
background-color: Highlight;
|
|
2771
|
+
}
|
|
2772
|
+
.xds-date-picker__day[data-in-range]:not([data-selected], [data-outside-range]) {
|
|
2773
|
+
background-color: transparent;
|
|
2774
|
+
}
|
|
2775
|
+
.xds-date-picker__cell:has(> [data-in-range]:not([data-outside-range]))::before {
|
|
2776
|
+
background: Highlight;
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2194
2779
|
.xds-dialog__backdrop {
|
|
2195
2780
|
position: fixed;
|
|
2196
2781
|
inset: 0;
|
|
@@ -2287,6 +2872,45 @@
|
|
|
2287
2872
|
}
|
|
2288
2873
|
}
|
|
2289
2874
|
@layer components {
|
|
2875
|
+
.xds-link {
|
|
2876
|
+
display: inline;
|
|
2877
|
+
margin: 0;
|
|
2878
|
+
padding: 0;
|
|
2879
|
+
border: 0;
|
|
2880
|
+
border-radius: var(--xds-radius-sm);
|
|
2881
|
+
background: none;
|
|
2882
|
+
color: var(--xds-color-link-text);
|
|
2883
|
+
font: inherit;
|
|
2884
|
+
letter-spacing: inherit;
|
|
2885
|
+
text-align: inherit;
|
|
2886
|
+
text-decoration-line: underline;
|
|
2887
|
+
text-decoration-thickness: from-font;
|
|
2888
|
+
cursor: pointer;
|
|
2889
|
+
outline: none;
|
|
2890
|
+
-webkit-tap-highlight-color: transparent;
|
|
2891
|
+
transition: color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2892
|
+
}
|
|
2893
|
+
@media (hover: hover) {
|
|
2894
|
+
.xds-link:hover {
|
|
2895
|
+
color: var(--xds-color-link-text-hover);
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
.xds-link:active {
|
|
2899
|
+
color: var(--xds-color-link-text-pressed);
|
|
2900
|
+
}
|
|
2901
|
+
.xds-link:focus-visible {
|
|
2902
|
+
outline: var(--xds-focus-width) solid var(--xds-color-border-focus);
|
|
2903
|
+
outline-offset: var(--xds-focus-offset);
|
|
2904
|
+
}
|
|
2905
|
+
.xds-link[aria-disabled="true"] {
|
|
2906
|
+
color: var(--xds-color-link-disabled-text);
|
|
2907
|
+
cursor: not-allowed;
|
|
2908
|
+
}
|
|
2909
|
+
.xds-link__icon {
|
|
2910
|
+
display: inline-block;
|
|
2911
|
+
margin-inline-start: var(--xds-space-1);
|
|
2912
|
+
vertical-align: text-bottom;
|
|
2913
|
+
}
|
|
2290
2914
|
.xds-menu__trigger[aria-expanded="true"] {
|
|
2291
2915
|
background-color: var(--button-bg-pressed);
|
|
2292
2916
|
transform: scale(var(--xds-motion-press-scale));
|
|
@@ -2388,6 +3012,16 @@
|
|
|
2388
3012
|
margin-block: var(--xds-space-1);
|
|
2389
3013
|
background: var(--xds-color-menu-border);
|
|
2390
3014
|
}
|
|
3015
|
+
@media (forced-colors: active) {
|
|
3016
|
+
.xds-menu__item[data-highlighted], .xds-menu__item--danger[data-highlighted] {
|
|
3017
|
+
forced-color-adjust: none;
|
|
3018
|
+
background-color: Highlight;
|
|
3019
|
+
color: HighlightText;
|
|
3020
|
+
}
|
|
3021
|
+
.xds-menu__item[data-highlighted] * {
|
|
3022
|
+
color: inherit;
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
2391
3025
|
}
|
|
2392
3026
|
@keyframes xds-menu-enter-down {
|
|
2393
3027
|
from {
|
|
@@ -2402,6 +3036,144 @@
|
|
|
2402
3036
|
}
|
|
2403
3037
|
}
|
|
2404
3038
|
@layer components {
|
|
3039
|
+
.xds-pagination__list {
|
|
3040
|
+
display: flex;
|
|
3041
|
+
align-items: center;
|
|
3042
|
+
gap: var(--xds-space-1);
|
|
3043
|
+
margin: 0;
|
|
3044
|
+
padding: 0;
|
|
3045
|
+
list-style: none;
|
|
3046
|
+
}
|
|
3047
|
+
.xds-pagination__list > li {
|
|
3048
|
+
display: flex;
|
|
3049
|
+
}
|
|
3050
|
+
.xds-pagination__page, .xds-pagination__step, .xds-pagination__gap {
|
|
3051
|
+
display: inline-flex;
|
|
3052
|
+
align-items: center;
|
|
3053
|
+
justify-content: center;
|
|
3054
|
+
min-width: var(--xds-size-control-sm);
|
|
3055
|
+
height: var(--xds-size-control-sm);
|
|
3056
|
+
font-size: var(--xds-typography-label-size);
|
|
3057
|
+
font-weight: var(--xds-typography-label-weight);
|
|
3058
|
+
line-height: var(--xds-typography-label-line-height);
|
|
3059
|
+
font-variant-numeric: tabular-nums;
|
|
3060
|
+
}
|
|
3061
|
+
.xds-pagination__page, .xds-pagination__step {
|
|
3062
|
+
padding-inline: var(--xds-space-2);
|
|
3063
|
+
border: var(--xds-border-width-thin) solid transparent;
|
|
3064
|
+
border-radius: var(--xds-radius-md);
|
|
3065
|
+
background-color: transparent;
|
|
3066
|
+
color: var(--xds-color-pagination-text);
|
|
3067
|
+
outline: none;
|
|
3068
|
+
cursor: pointer;
|
|
3069
|
+
user-select: none;
|
|
3070
|
+
-webkit-tap-highlight-color: transparent;
|
|
3071
|
+
transition-property: background-color, border-color;
|
|
3072
|
+
transition-duration: var(--xds-motion-duration-fast);
|
|
3073
|
+
transition-timing-function: var(--xds-motion-easing-standard);
|
|
3074
|
+
}
|
|
3075
|
+
.xds-pagination__step {
|
|
3076
|
+
padding-inline: 0;
|
|
3077
|
+
}
|
|
3078
|
+
.xds-pagination__step svg {
|
|
3079
|
+
pointer-events: none;
|
|
3080
|
+
}
|
|
3081
|
+
.xds-pagination__step svg:dir(rtl) {
|
|
3082
|
+
transform: scaleX(-1);
|
|
3083
|
+
}
|
|
3084
|
+
@media (hover: hover) {
|
|
3085
|
+
.xds-pagination__page:not([aria-current]):hover, .xds-pagination__step:not([aria-disabled="true"]):hover {
|
|
3086
|
+
background-color: var(--xds-color-pagination-background-hover);
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
.xds-pagination__page:not([aria-current]):active, .xds-pagination__step:not([aria-disabled="true"]):active {
|
|
3090
|
+
background-color: var(--xds-color-pagination-background-pressed);
|
|
3091
|
+
}
|
|
3092
|
+
.xds-pagination__page[aria-current="page"] {
|
|
3093
|
+
border-color: var(--xds-color-pagination-border-current);
|
|
3094
|
+
background-color: var(--xds-color-pagination-background-current);
|
|
3095
|
+
color: var(--xds-color-pagination-text-current);
|
|
3096
|
+
cursor: default;
|
|
3097
|
+
}
|
|
3098
|
+
.xds-pagination__step[aria-disabled="true"] {
|
|
3099
|
+
color: var(--xds-color-pagination-text-disabled);
|
|
3100
|
+
cursor: not-allowed;
|
|
3101
|
+
}
|
|
3102
|
+
.xds-pagination__gap {
|
|
3103
|
+
color: var(--xds-color-pagination-gap);
|
|
3104
|
+
}
|
|
3105
|
+
.xds-pagination__page:focus-visible, .xds-pagination__step:focus-visible {
|
|
3106
|
+
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);
|
|
3107
|
+
}
|
|
3108
|
+
.xds-popover__trigger[aria-expanded="true"] {
|
|
3109
|
+
background-color: var(--button-bg-pressed);
|
|
3110
|
+
}
|
|
3111
|
+
.xds-popover__positioner {
|
|
3112
|
+
z-index: var(--xds-layer-overlay);
|
|
3113
|
+
}
|
|
3114
|
+
.xds-popover {
|
|
3115
|
+
display: flex;
|
|
3116
|
+
flex-direction: column;
|
|
3117
|
+
gap: var(--xds-space-2);
|
|
3118
|
+
width: min(calc(6 * var(--xds-space-12)), calc(100svw - 2 * var(--xds-space-4)));
|
|
3119
|
+
max-height: var(--available-height);
|
|
3120
|
+
padding: var(--xds-space-4);
|
|
3121
|
+
overflow-y: auto;
|
|
3122
|
+
overscroll-behavior: contain;
|
|
3123
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-popover-border);
|
|
3124
|
+
border-radius: var(--xds-radius-lg);
|
|
3125
|
+
background: var(--xds-color-popover-background);
|
|
3126
|
+
color: var(--xds-color-popover-text);
|
|
3127
|
+
box-shadow: var(--xds-shadow-raised);
|
|
3128
|
+
outline: none;
|
|
3129
|
+
font-size: var(--xds-typography-body-size);
|
|
3130
|
+
line-height: var(--xds-typography-body-line-height);
|
|
3131
|
+
transform-origin: var(--transform-origin);
|
|
3132
|
+
}
|
|
3133
|
+
.xds-popover[data-state="open"] {
|
|
3134
|
+
animation: xds-popover-in var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
3135
|
+
}
|
|
3136
|
+
.xds-popover[data-state="closed"] {
|
|
3137
|
+
animation: xds-popover-out var(--xds-motion-duration-fast) var(--xds-motion-easing-standard) forwards;
|
|
3138
|
+
}
|
|
3139
|
+
@keyframes xds-popover-in {
|
|
3140
|
+
from {
|
|
3141
|
+
opacity: 0;
|
|
3142
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
@keyframes xds-popover-out {
|
|
3146
|
+
to {
|
|
3147
|
+
opacity: 0;
|
|
3148
|
+
transform: scale(var(--xds-motion-press-scale));
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3152
|
+
.xds-popover[data-state] {
|
|
3153
|
+
animation: none;
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
.xds-popover__header {
|
|
3157
|
+
display: flex;
|
|
3158
|
+
align-items: center;
|
|
3159
|
+
justify-content: space-between;
|
|
3160
|
+
gap: var(--xds-space-2);
|
|
3161
|
+
margin-inline-end: calc(-1 * var(--xds-space-2));
|
|
3162
|
+
margin-block: calc(-1 * var(--xds-space-1));
|
|
3163
|
+
}
|
|
3164
|
+
.xds-popover__title {
|
|
3165
|
+
margin: 0;
|
|
3166
|
+
color: var(--xds-color-popover-title);
|
|
3167
|
+
font-size: var(--xds-typography-heading-size);
|
|
3168
|
+
font-weight: var(--xds-typography-heading-weight);
|
|
3169
|
+
line-height: var(--xds-typography-heading-line-height);
|
|
3170
|
+
letter-spacing: var(--xds-typography-heading-letter-spacing);
|
|
3171
|
+
}
|
|
3172
|
+
.xds-popover__body {
|
|
3173
|
+
display: flex;
|
|
3174
|
+
flex-direction: column;
|
|
3175
|
+
gap: var(--xds-space-3);
|
|
3176
|
+
}
|
|
2405
3177
|
.xds-radio-group {
|
|
2406
3178
|
display: flex;
|
|
2407
3179
|
flex-direction: column;
|
|
@@ -2510,25 +3282,39 @@
|
|
|
2510
3282
|
.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 {
|
|
2511
3283
|
color: var(--xds-color-text-disabled);
|
|
2512
3284
|
}
|
|
2513
|
-
|
|
3285
|
+
@media (forced-colors: active) {
|
|
3286
|
+
.xds-radio-group__dot {
|
|
3287
|
+
background-color: Highlight;
|
|
3288
|
+
}
|
|
3289
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__circle {
|
|
3290
|
+
border: var(--xds-border-width-thin) solid GrayText;
|
|
3291
|
+
}
|
|
3292
|
+
.xds-radio-group__option:has(> .xds-radio-group__input:disabled) .xds-radio-group__dot {
|
|
3293
|
+
background-color: GrayText;
|
|
3294
|
+
}
|
|
3295
|
+
.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 {
|
|
3296
|
+
color: GrayText;
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
.xds-select, .xds-date-picker, .xds-time-picker {
|
|
2514
3300
|
display: flex;
|
|
2515
3301
|
flex-direction: column;
|
|
2516
3302
|
gap: var(--xds-space-1);
|
|
2517
3303
|
width: 100%;
|
|
2518
3304
|
}
|
|
2519
|
-
.xds-select__label, .xds-date-picker__label {
|
|
3305
|
+
.xds-select__label, .xds-date-picker__label, .xds-time-picker__label {
|
|
2520
3306
|
width: fit-content;
|
|
2521
3307
|
font-size: var(--xds-typography-label-size);
|
|
2522
3308
|
font-weight: var(--xds-typography-label-weight);
|
|
2523
3309
|
line-height: var(--xds-typography-label-line-height);
|
|
2524
3310
|
color: var(--xds-color-text-primary);
|
|
2525
3311
|
}
|
|
2526
|
-
.xds-select:has(.xds-select__trigger:disabled) .xds-select__label, .xds-date-picker:has(.xds-date-picker__trigger:disabled) .xds-date-picker__label {
|
|
3312
|
+
.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 {
|
|
2527
3313
|
opacity: 0.5;
|
|
2528
3314
|
cursor: not-allowed;
|
|
2529
3315
|
pointer-events: none;
|
|
2530
3316
|
}
|
|
2531
|
-
.xds-select__trigger, .xds-date-picker__trigger {
|
|
3317
|
+
.xds-select__trigger, .xds-date-picker__trigger, .xds-time-picker__trigger {
|
|
2532
3318
|
position: relative;
|
|
2533
3319
|
isolation: isolate;
|
|
2534
3320
|
display: flex;
|
|
@@ -2552,28 +3338,28 @@
|
|
|
2552
3338
|
transition-duration: var(--xds-motion-duration-fast);
|
|
2553
3339
|
transition-timing-function: var(--xds-motion-easing-standard);
|
|
2554
3340
|
}
|
|
2555
|
-
.xds-select__trigger:focus-visible, .xds-date-picker__trigger:focus-visible {
|
|
3341
|
+
.xds-select__trigger:focus-visible, .xds-date-picker__trigger:focus-visible, .xds-time-picker__trigger:focus-visible {
|
|
2556
3342
|
border-color: var(--xds-color-field-border-focus);
|
|
2557
3343
|
}
|
|
2558
|
-
.xds-select__trigger[data-invalid], .xds-date-picker__trigger[data-invalid] {
|
|
3344
|
+
.xds-select__trigger[data-invalid], .xds-date-picker__trigger[data-invalid], .xds-time-picker__trigger[data-invalid] {
|
|
2559
3345
|
border-color: var(--xds-color-field-border-invalid);
|
|
2560
3346
|
box-shadow: inset 0 0 0 var(--xds-border-width-thin) var(--xds-color-field-border-invalid);
|
|
2561
3347
|
outline: var(--xds-border-width-thin) solid var(--xds-color-danger-default);
|
|
2562
3348
|
}
|
|
2563
|
-
.xds-select__trigger[data-invalid]:focus, .xds-date-picker__trigger[data-invalid]:focus {
|
|
3349
|
+
.xds-select__trigger[data-invalid]:focus, .xds-date-picker__trigger[data-invalid]:focus, .xds-time-picker__trigger[data-invalid]:focus {
|
|
2564
3350
|
box-shadow: none;
|
|
2565
3351
|
}
|
|
2566
3352
|
@media (hover: hover) {
|
|
2567
|
-
.xds-select__trigger:hover, .xds-date-picker__trigger:hover {
|
|
3353
|
+
.xds-select__trigger:hover, .xds-date-picker__trigger:hover, .xds-time-picker__trigger:hover {
|
|
2568
3354
|
border-color: var(--xds-color-text-primary);
|
|
2569
3355
|
}
|
|
2570
3356
|
}
|
|
2571
|
-
.xds-select__trigger:disabled, .xds-date-picker__trigger:disabled {
|
|
3357
|
+
.xds-select__trigger:disabled, .xds-date-picker__trigger:disabled, .xds-time-picker__trigger:disabled {
|
|
2572
3358
|
opacity: 0.5;
|
|
2573
3359
|
cursor: not-allowed;
|
|
2574
3360
|
pointer-events: none;
|
|
2575
3361
|
}
|
|
2576
|
-
.xds-select__value, .xds-date-picker__value {
|
|
3362
|
+
.xds-select__value, .xds-date-picker__value, .xds-time-picker__value {
|
|
2577
3363
|
flex: 1 1 0%;
|
|
2578
3364
|
min-width: 0;
|
|
2579
3365
|
overflow: hidden;
|
|
@@ -2583,40 +3369,40 @@
|
|
|
2583
3369
|
font-size: var(--xds-typography-body-size);
|
|
2584
3370
|
line-height: var(--xds-typography-body-line-height);
|
|
2585
3371
|
}
|
|
2586
|
-
.xds-select__trigger[data-placeholder-shown] .xds-select__value, .xds-date-picker__trigger[data-placeholder-shown] .xds-date-picker__value {
|
|
3372
|
+
.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 {
|
|
2587
3373
|
color: var(--xds-color-field-placeholder);
|
|
2588
3374
|
}
|
|
2589
|
-
.xds-select__footer, .xds-date-picker__footer {
|
|
3375
|
+
.xds-select__footer, .xds-date-picker__footer, .xds-time-picker__footer {
|
|
2590
3376
|
display: flex;
|
|
2591
3377
|
align-items: baseline;
|
|
2592
3378
|
gap: var(--xds-space-3);
|
|
2593
3379
|
}
|
|
2594
|
-
.xds-select__footer:not(:has(> :not(:empty))), .xds-date-picker__footer:not(:has(> :not(:empty))) {
|
|
3380
|
+
.xds-select__footer:not(:has(> :not(:empty))), .xds-date-picker__footer:not(:has(> :not(:empty))), .xds-time-picker__footer:not(:has(> :not(:empty))) {
|
|
2595
3381
|
position: absolute;
|
|
2596
3382
|
}
|
|
2597
|
-
.xds-select__description, .xds-select__error, .xds-date-picker__description, .xds-date-picker__error {
|
|
3383
|
+
.xds-select__description, .xds-select__error, .xds-date-picker__description, .xds-date-picker__error, .xds-time-picker__description, .xds-time-picker__error {
|
|
2598
3384
|
font-size: var(--xds-typography-detail-size);
|
|
2599
3385
|
line-height: var(--xds-typography-detail-line-height);
|
|
2600
3386
|
overflow-wrap: break-word;
|
|
2601
3387
|
}
|
|
2602
|
-
.xds-select__description, .xds-date-picker__description {
|
|
3388
|
+
.xds-select__description, .xds-date-picker__description, .xds-time-picker__description {
|
|
2603
3389
|
color: var(--xds-color-text-secondary);
|
|
2604
3390
|
}
|
|
2605
|
-
.xds-select__error, .xds-date-picker__error {
|
|
3391
|
+
.xds-select__error, .xds-date-picker__error, .xds-time-picker__error {
|
|
2606
3392
|
color: var(--xds-color-status-danger);
|
|
2607
3393
|
}
|
|
2608
|
-
.xds-select__error:empty, .xds-date-picker__error:empty {
|
|
3394
|
+
.xds-select__error:empty, .xds-date-picker__error:empty, .xds-time-picker__error:empty {
|
|
2609
3395
|
position: absolute;
|
|
2610
3396
|
}
|
|
2611
|
-
.xds-select__underlay {
|
|
3397
|
+
.xds-select__underlay, .xds-time-picker__underlay {
|
|
2612
3398
|
position: fixed;
|
|
2613
3399
|
inset: 0;
|
|
2614
3400
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2615
3401
|
}
|
|
2616
|
-
.xds-select__positioner {
|
|
3402
|
+
.xds-select__positioner, .xds-time-picker__positioner {
|
|
2617
3403
|
z-index: calc(var(--xds-layer-overlay) + var(--layer-index, 0));
|
|
2618
3404
|
}
|
|
2619
|
-
.xds-select__content {
|
|
3405
|
+
.xds-select__content, .xds-time-picker__content {
|
|
2620
3406
|
max-height: var(--available-height);
|
|
2621
3407
|
overflow-y: auto;
|
|
2622
3408
|
overscroll-behavior: contain;
|
|
@@ -2633,25 +3419,25 @@
|
|
|
2633
3419
|
transform-origin: var(--transform-origin);
|
|
2634
3420
|
animation: xds-select-enter var(--xds-motion-duration-fast) var(--xds-motion-easing-enter);
|
|
2635
3421
|
}
|
|
2636
|
-
.xds-select__content[data-side="top"] {
|
|
3422
|
+
.xds-select__content[data-side="top"], .xds-time-picker__content[data-side="top"] {
|
|
2637
3423
|
animation-name: xds-select-enter-above;
|
|
2638
3424
|
}
|
|
2639
|
-
.xds-select__content[data-state="closed"] {
|
|
3425
|
+
.xds-select__content[data-state="closed"], .xds-time-picker__content[data-state="closed"] {
|
|
2640
3426
|
animation: xds-overlay-exit var(--xds-motion-duration-fast) var(--xds-motion-easing-exit) forwards;
|
|
2641
3427
|
pointer-events: none;
|
|
2642
3428
|
}
|
|
2643
3429
|
@media (prefers-reduced-motion: reduce) {
|
|
2644
|
-
.xds-select__content, .xds-select__content[data-state="closed"] {
|
|
3430
|
+
.xds-select__content, .xds-select__content[data-state="closed"], .xds-time-picker__content, .xds-time-picker__content[data-state="closed"] {
|
|
2645
3431
|
animation: none;
|
|
2646
3432
|
}
|
|
2647
3433
|
}
|
|
2648
|
-
.xds-select__list {
|
|
3434
|
+
.xds-select__list, .xds-time-picker__list {
|
|
2649
3435
|
position: relative;
|
|
2650
3436
|
overflow: clip;
|
|
2651
3437
|
padding: var(--xds-space-1);
|
|
2652
3438
|
outline: none;
|
|
2653
3439
|
}
|
|
2654
|
-
.xds-select__item {
|
|
3440
|
+
.xds-select__item, .xds-time-picker__item {
|
|
2655
3441
|
position: relative;
|
|
2656
3442
|
display: flex;
|
|
2657
3443
|
align-items: center;
|
|
@@ -2669,29 +3455,39 @@
|
|
|
2669
3455
|
touch-action: manipulation;
|
|
2670
3456
|
transition: background-color var(--xds-motion-duration-fast) var(--xds-motion-easing-standard);
|
|
2671
3457
|
}
|
|
2672
|
-
.xds-select__item[data-highlighted] {
|
|
3458
|
+
.xds-select__item[data-highlighted], .xds-time-picker__item[data-highlighted] {
|
|
2673
3459
|
background: var(--xds-color-menu-item-background-hover);
|
|
2674
3460
|
}
|
|
2675
|
-
.xds-select__item:active {
|
|
3461
|
+
.xds-select__item:active, .xds-time-picker__item:active {
|
|
2676
3462
|
background: var(--xds-color-menu-item-background-pressed);
|
|
2677
3463
|
}
|
|
2678
|
-
.xds-select__item-words {
|
|
3464
|
+
.xds-select__item-words, .xds-time-picker__item-words {
|
|
2679
3465
|
display: flex;
|
|
2680
3466
|
flex: 1 1 0%;
|
|
2681
3467
|
flex-direction: column;
|
|
2682
3468
|
min-width: 0;
|
|
2683
3469
|
}
|
|
2684
|
-
.xds-select__item-label, .xds-select__item-description {
|
|
3470
|
+
.xds-select__item-label, .xds-select__item-description, .xds-time-picker__item-label, .xds-time-picker__item-description {
|
|
2685
3471
|
overflow: hidden;
|
|
2686
3472
|
text-overflow: ellipsis;
|
|
2687
3473
|
white-space: nowrap;
|
|
2688
3474
|
}
|
|
2689
|
-
.xds-select__item-description {
|
|
3475
|
+
.xds-select__item-description, .xds-time-picker__item-description {
|
|
2690
3476
|
font-size: var(--xds-typography-footnote-size);
|
|
2691
3477
|
font-weight: var(--xds-typography-footnote-weight);
|
|
2692
3478
|
line-height: var(--xds-typography-footnote-line-height);
|
|
2693
3479
|
color: var(--xds-color-text-secondary);
|
|
2694
3480
|
}
|
|
3481
|
+
@media (forced-colors: active) {
|
|
3482
|
+
.xds-select__item[data-highlighted], .xds-time-picker__item[data-highlighted] {
|
|
3483
|
+
forced-color-adjust: none;
|
|
3484
|
+
background-color: Highlight;
|
|
3485
|
+
color: HighlightText;
|
|
3486
|
+
}
|
|
3487
|
+
.xds-select__item[data-highlighted] *, .xds-time-picker__item[data-highlighted] * {
|
|
3488
|
+
color: inherit;
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
2695
3491
|
}
|
|
2696
3492
|
@keyframes xds-select-enter {
|
|
2697
3493
|
from {
|
|
@@ -2806,6 +3602,95 @@
|
|
|
2806
3602
|
.xds-slider[data-disabled] .xds-slider__control {
|
|
2807
3603
|
cursor: default;
|
|
2808
3604
|
}
|
|
3605
|
+
@media (forced-colors: active) {
|
|
3606
|
+
.xds-slider__track::before {
|
|
3607
|
+
background: CanvasText;
|
|
3608
|
+
}
|
|
3609
|
+
.xds-slider__range {
|
|
3610
|
+
background: Highlight;
|
|
3611
|
+
}
|
|
3612
|
+
.xds-slider__thumb {
|
|
3613
|
+
border-color: CanvasText;
|
|
3614
|
+
background: Canvas;
|
|
3615
|
+
}
|
|
3616
|
+
.xds-slider[data-disabled] .xds-slider__track::before, .xds-slider[data-disabled] .xds-slider__range, .xds-slider[data-disabled] .xds-slider__thumb {
|
|
3617
|
+
border-color: GrayText;
|
|
3618
|
+
background: GrayText;
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
.xds-table {
|
|
3622
|
+
overflow-x: auto;
|
|
3623
|
+
border: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3624
|
+
border-radius: var(--xds-radius-lg);
|
|
3625
|
+
background-color: var(--xds-color-table-background);
|
|
3626
|
+
}
|
|
3627
|
+
.xds-table__table {
|
|
3628
|
+
width: 100%;
|
|
3629
|
+
border-collapse: collapse;
|
|
3630
|
+
color: var(--xds-color-table-text);
|
|
3631
|
+
font-size: var(--xds-typography-body-size);
|
|
3632
|
+
font-weight: var(--xds-typography-body-weight);
|
|
3633
|
+
line-height: var(--xds-typography-body-line-height);
|
|
3634
|
+
}
|
|
3635
|
+
.xds-table__header, .xds-table__cell, .xds-table__empty {
|
|
3636
|
+
padding: var(--xds-space-2) var(--xds-space-3);
|
|
3637
|
+
text-align: start;
|
|
3638
|
+
vertical-align: middle;
|
|
3639
|
+
}
|
|
3640
|
+
.xds-table__header {
|
|
3641
|
+
background-color: var(--xds-color-table-header-background);
|
|
3642
|
+
color: var(--xds-color-table-header-text);
|
|
3643
|
+
font-size: var(--xds-typography-label-size);
|
|
3644
|
+
font-weight: var(--xds-typography-label-weight);
|
|
3645
|
+
line-height: var(--xds-typography-label-line-height);
|
|
3646
|
+
white-space: nowrap;
|
|
3647
|
+
}
|
|
3648
|
+
.xds-table__header[aria-sort] {
|
|
3649
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3650
|
+
}
|
|
3651
|
+
.xds-table__row + .xds-table__row > *, thead + tbody > .xds-table__row:first-child > * {
|
|
3652
|
+
border-top: var(--xds-border-width-thin) solid var(--xds-color-table-border);
|
|
3653
|
+
}
|
|
3654
|
+
.xds-table__cell--end {
|
|
3655
|
+
text-align: end;
|
|
3656
|
+
font-variant-numeric: tabular-nums;
|
|
3657
|
+
}
|
|
3658
|
+
.xds-table__sort {
|
|
3659
|
+
display: inline-flex;
|
|
3660
|
+
align-items: center;
|
|
3661
|
+
gap: var(--xds-space-1);
|
|
3662
|
+
margin: 0;
|
|
3663
|
+
padding: 0;
|
|
3664
|
+
border: none;
|
|
3665
|
+
border-radius: var(--xds-radius-sm);
|
|
3666
|
+
background: none;
|
|
3667
|
+
color: inherit;
|
|
3668
|
+
font: inherit;
|
|
3669
|
+
text-align: inherit;
|
|
3670
|
+
outline: none;
|
|
3671
|
+
cursor: pointer;
|
|
3672
|
+
user-select: none;
|
|
3673
|
+
-webkit-tap-highlight-color: transparent;
|
|
3674
|
+
}
|
|
3675
|
+
.xds-table__cell--end > .xds-table__sort {
|
|
3676
|
+
flex-direction: row-reverse;
|
|
3677
|
+
}
|
|
3678
|
+
.xds-table__sort svg {
|
|
3679
|
+
flex-shrink: 0;
|
|
3680
|
+
pointer-events: none;
|
|
3681
|
+
}
|
|
3682
|
+
@media (hover: hover) {
|
|
3683
|
+
.xds-table__sort:hover {
|
|
3684
|
+
color: var(--xds-color-table-header-text-hover);
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3687
|
+
.xds-table__sort:focus-visible {
|
|
3688
|
+
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);
|
|
3689
|
+
}
|
|
3690
|
+
.xds-table__empty {
|
|
3691
|
+
color: var(--xds-color-text-secondary);
|
|
3692
|
+
text-align: center;
|
|
3693
|
+
}
|
|
2809
3694
|
.xds-tabs {
|
|
2810
3695
|
display: flex;
|
|
2811
3696
|
flex-direction: column;
|
|
@@ -2882,6 +3767,11 @@
|
|
|
2882
3767
|
transition: none;
|
|
2883
3768
|
}
|
|
2884
3769
|
}
|
|
3770
|
+
@media (forced-colors: active) {
|
|
3771
|
+
.xds-tabs__indicator {
|
|
3772
|
+
background: Highlight;
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
2885
3775
|
.xds-text-field {
|
|
2886
3776
|
--text-field-inset-block: calc(
|
|
2887
3777
|
(
|
|
@@ -3079,6 +3969,11 @@
|
|
|
3079
3969
|
border-radius: calc(var(--xds-radius-sm) - var(--xds-space-0-5));
|
|
3080
3970
|
font: inherit;
|
|
3081
3971
|
}
|
|
3972
|
+
@media (forced-colors: active) {
|
|
3973
|
+
.xds-tooltip {
|
|
3974
|
+
outline: var(--xds-border-width-thin) solid CanvasText;
|
|
3975
|
+
}
|
|
3976
|
+
}
|
|
3082
3977
|
}
|
|
3083
3978
|
@keyframes xds-tooltip-enter-up {
|
|
3084
3979
|
from {
|