@czi-sds/data-viz 0.16.0 → 0.16.1

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/index.esm.js CHANGED
@@ -6,7 +6,7 @@ import React__default, { useMemo, useEffect, forwardRef, useRef, useState, useCa
6
6
  import { throttle } from 'lodash';
7
7
  import styled$2 from '@emotion/styled';
8
8
  import { css as css$1, ThemeContext as ThemeContext$1 } from '@emotion/react';
9
- import { createTheme as createTheme$2, AccordionDetails as AccordionDetails$1, accordionSummaryClasses, AccordionSummary, SvgIcon, accordionClasses, accordionDetailsClasses, Accordion as Accordion$1, Alert as Alert$1, Button as Button$1, IconButton, outlinedInputClasses, inputBaseClasses, buttonBaseClasses, inputAdornmentClasses, TextField, InputAdornment, menuItemClasses, MenuItem as MenuItem$1, autocompleteClasses, Autocomplete, Paper, Popper, styled as styled$3, alertClasses, alertTitleClasses, AlertTitle, useTheme as useTheme$4, Tooltip as Tooltip$1, Chip, Card, CardContent, CardActions, css as css$2, CardMedia, DialogTitle as DialogTitle$1, Typography, dialogActionsClasses, DialogActions as DialogActions$1, Dialog, DialogContent, checkboxClasses, Checkbox, FormControlLabel, radioClasses, Radio, Slider, Switch, Link as Link$1, List, ListItem, ListSubheader as ListSubheader$1, menuClasses, Menu as Menu$1, Divider, AppBar, Toolbar, Drawer, useMediaQuery, tabsClasses, Tabs, Tab, drawerClasses, toggleButtonClasses, ToggleButtonGroup, ToggleButton, TableContainer, TableCell, buttonClasses, sliderClasses, switchClasses, useScrollTrigger, darken as darken$2, Table, TableBody, TableRow as TableRow$1 } from '@mui/material';
9
+ import { createTheme as createTheme$2, AccordionDetails as AccordionDetails$1, accordionSummaryClasses, AccordionSummary, SvgIcon, accordionClasses, accordionDetailsClasses, Accordion as Accordion$1, Alert as Alert$1, Button as Button$1, IconButton, outlinedInputClasses, inputBaseClasses, buttonBaseClasses, inputAdornmentClasses, TextField, InputAdornment, menuItemClasses, MenuItem as MenuItem$1, autocompleteClasses, Autocomplete, Paper, Popper, styled as styled$3, alertClasses, alertTitleClasses, AlertTitle, useTheme as useTheme$4, Tooltip as Tooltip$1, Chip, Card, CardContent, CardActions, css as css$2, CardMedia, DialogTitle as DialogTitle$1, Typography, dialogActionsClasses, DialogActions as DialogActions$1, Dialog, DialogContent, checkboxClasses, Checkbox, FormControlLabel, radioClasses, Radio, Slider, Switch, Link as Link$1, List, ListItem, ListSubheader as ListSubheader$1, menuClasses, Menu as Menu$1, Divider, AppBar, Toolbar, Drawer, useMediaQuery, tabsClasses, Tabs, Tab, drawerClasses, toggleButtonClasses, ToggleButtonGroup, ToggleButton, TableContainer, TableCell, buttonClasses, sliderClasses, switchClasses, useScrollTrigger, alpha as alpha$1, darken as darken$2, Table, TableBody, TableRow as TableRow$1 } from '@mui/material';
10
10
  import { Remove } from '@mui/icons-material';
11
11
  import { css as css$3 } from '@emotion/css';
12
12
 
@@ -970,7 +970,7 @@ const Spaces = {
970
970
  xs: 6,
971
971
  s: 8,
972
972
  m: 12,
973
- default: 12,
973
+ default: 8,
974
974
  l: 16,
975
975
  xl: 24,
976
976
  xxl: 32,
@@ -1244,7 +1244,7 @@ const SDSPaletteLight = (appTheme) => {
1244
1244
  backgroundPrimaryDark: appTheme.colors.gray[900],
1245
1245
  backgroundPrimaryInverse: appTheme.colors.gray[900],
1246
1246
  backgroundSecondary: addOpacityToHex(appTheme.colors.gray[100], 40),
1247
- backgroundSecondaryOnDark: addOpacityToHex(appTheme.colors.gray[700], 62),
1247
+ backgroundSecondaryDark: addOpacityToHex(appTheme.colors.gray[700], 62),
1248
1248
  backgroundSecondaryInverse: appTheme.colors.gray[700],
1249
1249
  backgroundTertiary: appTheme.colors.gray[100],
1250
1250
  borderOnFill: appTheme.colors.gray[50],
@@ -1252,27 +1252,23 @@ const SDSPaletteLight = (appTheme) => {
1252
1252
  borderPrimaryDisabled: appTheme.colors.gray[300],
1253
1253
  borderPrimaryDisabledOnDark: appTheme.colors.gray[600],
1254
1254
  borderPrimaryDisabledInverse: appTheme.colors.gray[600],
1255
- borderPrimaryHover: appTheme.colors.gray[900],
1256
- borderPrimaryHoverOnDark: appTheme.colors.gray[50],
1255
+ borderPrimaryInteraction: appTheme.colors.gray[900],
1256
+ borderPrimaryInteractionOnDark: appTheme.colors.gray[50],
1257
1257
  borderPrimaryHoverInverse: appTheme.colors.gray[50],
1258
1258
  borderPrimaryOnDark: appTheme.colors.gray[300],
1259
1259
  borderPrimaryInverse: appTheme.colors.gray[300],
1260
- borderPrimaryPressed: appTheme.colors.gray[900],
1261
- borderPrimaryPressedOnDark: appTheme.colors.gray[50],
1262
1260
  borderPrimaryPressedInverse: appTheme.colors.gray[50],
1263
1261
  borderSecondary: appTheme.colors.gray[300],
1264
1262
  divider: appTheme.colors.gray[200],
1265
1263
  dividerOnDark: appTheme.colors.gray[700],
1266
1264
  dividerInverse: appTheme.colors.gray[700],
1267
- fillDisabled: appTheme.colors.gray[200],
1268
- fillHover: addOpacityToHex(appTheme.colors.gray[300], 20),
1269
- fillHoverOnDark: addOpacityToHex(appTheme.colors.gray[300], 34),
1270
- fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 34),
1271
- fillOpen: addOpacityToHex(appTheme.colors.gray[300], 20),
1272
- fillOpenOnDark: addOpacityToHex(appTheme.colors.gray[300], 34),
1265
+ fillDisabled: appTheme.colors.gray[100],
1266
+ fillInteraction: addOpacityToHex(appTheme.colors.gray[300], 20),
1267
+ fillInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 20),
1268
+ fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 20),
1273
1269
  fillOpenInverse: addOpacityToHex(appTheme.colors.gray[300], 34),
1274
- fillPressed: addOpacityToHex(appTheme.colors.gray[300], 20),
1275
- fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 34),
1270
+ fillPressed: addOpacityToHex(appTheme.colors.gray[300], 30),
1271
+ fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 24),
1276
1272
  fillPressedInverse: addOpacityToHex(appTheme.colors.gray[300], 34),
1277
1273
  fillPrimary: appTheme.colors.gray[50],
1278
1274
  fillSelected: appTheme.colors.gray[900],
@@ -1284,16 +1280,15 @@ const SDSPaletteLight = (appTheme) => {
1284
1280
  ornamentPrimaryOnDark: appTheme.colors.gray[50],
1285
1281
  ornamentPrimaryInverse: appTheme.colors.gray[50],
1286
1282
  ornamentSecondary: appTheme.colors.gray[600],
1287
- ornamentSecondaryHover: appTheme.colors.gray[900],
1288
- ornamentSecondaryHoverOnDark: appTheme.colors.gray[50],
1283
+ ornamentSecondaryInteraction: appTheme.colors.gray[900],
1284
+ ornamentSecondaryInteractionOnDark: appTheme.colors.gray[50],
1289
1285
  ornamentSecondaryHoverInverse: appTheme.colors.gray[50],
1290
1286
  ornamentSecondaryOnDark: appTheme.colors.gray[300],
1291
1287
  ornamentSecondaryInverse: appTheme.colors.gray[300],
1292
- ornamentSecondaryPressed: appTheme.colors.gray[900],
1293
- ornamentSecondaryPressedOnDark: appTheme.colors.gray[50],
1294
1288
  ornamentSecondaryPressedInverse: appTheme.colors.gray[50],
1295
- surface: appTheme.colors.gray[50],
1296
- surfaceOnDark: appTheme.colors.gray[900],
1289
+ surfacePrimary: appTheme.colors.gray[50],
1290
+ surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 20),
1291
+ surfacePrimaryDark: appTheme.colors.gray[900],
1297
1292
  surfaceInverse: appTheme.colors.gray[900],
1298
1293
  textDisabled: appTheme.colors.gray[300],
1299
1294
  textDisabledOnDark: appTheme.colors.gray[600],
@@ -1406,7 +1401,7 @@ const SDSPaletteDark = (appTheme) => {
1406
1401
  backgroundPrimaryDark: appTheme.colors.gray[75],
1407
1402
  backgroundPrimaryInverse: appTheme.colors.gray[75],
1408
1403
  backgroundSecondary: addOpacityToHex(appTheme.colors.gray[100], 60),
1409
- backgroundSecondaryOnDark: addOpacityToHex(appTheme.colors.gray[100], 60),
1404
+ backgroundSecondaryDark: addOpacityToHex(appTheme.colors.gray[100], 60),
1410
1405
  backgroundSecondaryInverse: addOpacityToHex(appTheme.colors.gray[100], 60),
1411
1406
  backgroundTertiary: appTheme.colors.gray[100],
1412
1407
  borderOnFill: appTheme.colors.gray[900],
@@ -1414,27 +1409,23 @@ const SDSPaletteDark = (appTheme) => {
1414
1409
  borderPrimaryDisabled: appTheme.colors.gray[300],
1415
1410
  borderPrimaryDisabledOnDark: appTheme.colors.gray[300],
1416
1411
  borderPrimaryDisabledInverse: appTheme.colors.gray[300],
1417
- borderPrimaryHover: appTheme.colors.gray[900],
1418
- borderPrimaryHoverOnDark: appTheme.colors.gray[900],
1412
+ borderPrimaryInteraction: appTheme.colors.gray[900],
1413
+ borderPrimaryInteractionOnDark: appTheme.colors.gray[900],
1419
1414
  borderPrimaryHoverInverse: appTheme.colors.gray[900],
1420
1415
  borderPrimaryOnDark: appTheme.colors.gray[600],
1421
1416
  borderPrimaryInverse: appTheme.colors.gray[600],
1422
- borderPrimaryPressed: appTheme.colors.gray[900],
1423
- borderPrimaryPressedOnDark: appTheme.colors.gray[900],
1424
1417
  borderPrimaryPressedInverse: appTheme.colors.gray[900],
1425
1418
  borderSecondary: appTheme.colors.gray[300],
1426
1419
  divider: appTheme.colors.gray[200],
1427
1420
  dividerOnDark: appTheme.colors.gray[200],
1428
1421
  dividerInverse: appTheme.colors.gray[200],
1429
- fillDisabled: appTheme.colors.gray[200],
1430
- fillHover: addOpacityToHex(appTheme.colors.gray[300], 32),
1431
- fillHoverOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
1422
+ fillDisabled: appTheme.colors.gray[100],
1423
+ fillInteraction: addOpacityToHex(appTheme.colors.gray[300], 32),
1424
+ fillInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
1432
1425
  fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1433
- fillOpen: addOpacityToHex(appTheme.colors.gray[300], 32),
1434
- fillOpenOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
1435
1426
  fillOpenInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1436
- fillPressed: addOpacityToHex(appTheme.colors.gray[300], 32),
1437
- fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
1427
+ fillPressed: addOpacityToHex(appTheme.colors.gray[300], 40),
1428
+ fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 40),
1438
1429
  fillPressedInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1439
1430
  fillPrimary: appTheme.colors.gray[100],
1440
1431
  fillSelected: appTheme.colors.gray[900],
@@ -1446,16 +1437,15 @@ const SDSPaletteDark = (appTheme) => {
1446
1437
  ornamentPrimaryOnDark: appTheme.colors.gray[900],
1447
1438
  ornamentPrimaryInverse: appTheme.colors.gray[50],
1448
1439
  ornamentSecondary: appTheme.colors.gray[600],
1449
- ornamentSecondaryHover: appTheme.colors.gray[900],
1450
- ornamentSecondaryHoverOnDark: appTheme.colors.gray[900],
1440
+ ornamentSecondaryInteraction: appTheme.colors.gray[900],
1441
+ ornamentSecondaryInteractionOnDark: appTheme.colors.gray[900],
1451
1442
  ornamentSecondaryHoverInverse: appTheme.colors.gray[900],
1452
1443
  ornamentSecondaryOnDark: appTheme.colors.gray[600],
1453
1444
  ornamentSecondaryInverse: appTheme.colors.gray[600],
1454
- ornamentSecondaryPressed: appTheme.colors.gray[900],
1455
- ornamentSecondaryPressedOnDark: appTheme.colors.gray[900],
1456
1445
  ornamentSecondaryPressedInverse: appTheme.colors.gray[900],
1457
- surface: appTheme.colors.gray[100],
1458
- surfaceOnDark: appTheme.colors.gray[100],
1446
+ surfacePrimary: appTheme.colors.gray[100],
1447
+ surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 32),
1448
+ surfacePrimaryDark: appTheme.colors.gray[100],
1459
1449
  surfaceInverse: appTheme.colors.gray[100],
1460
1450
  textDisabled: appTheme.colors.gray[300],
1461
1451
  textDisabledOnDark: appTheme.colors.gray[300],
@@ -1787,7 +1777,7 @@ const Theme = (t) => createTheme$2(makeThemeOptions(SDSChooseTheme(), t));
1787
1777
  *
1788
1778
  * Use the `theme` export to get a flexible light/dark mode theme function
1789
1779
  */
1790
- Theme("light");
1780
+ const defaultTheme$4 = Theme("light");
1791
1781
 
1792
1782
  const getSpaces = ({ theme }) => {
1793
1783
  return theme?.app?.spacing || null;
@@ -1830,7 +1820,7 @@ function focusVisibleA11yStyle(props) {
1830
1820
  const semanticColors = getSemanticColors(props);
1831
1821
  return `
1832
1822
  &.Mui-focusVisible, &:focus-visible {
1833
- outline: 2px solid ${semanticColors?.base?.borderPrimaryHover};
1823
+ outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
1834
1824
  outline-offset: 1px;
1835
1825
  }
1836
1826
  `;
@@ -1883,6 +1873,7 @@ const fontBodySemiboldL = fontBody("l", "semibold");
1883
1873
  const fontBodySemiboldM = fontBody("m", "semibold");
1884
1874
  const fontBodySemiboldS = fontBody("s", "semibold");
1885
1875
  const fontBodySemiboldXs = fontBody("xs", "semibold");
1876
+ const fontBodySemiboldXxxs = fontBody("xxxs", "semibold");
1886
1877
  const fontCaps = createFontFunction({
1887
1878
  additionalCss: "text-transform: uppercase;",
1888
1879
  defaultWeight: "semibold",
@@ -1906,8 +1897,9 @@ const fontTabular = createFontFunction({
1906
1897
  type: "tabular"
1907
1898
  });
1908
1899
  const fontTabularXs = fontTabular("xs", "regular");
1909
- const fontTabularS = fontTabular("s", "regular");
1900
+ const fontTabularMediumS = fontTabular("s", "medium");
1910
1901
  const fontTabularSemiboldXxxxs = fontTabular("xxxxs", "semibold");
1902
+ const fontTabularSemiboldS = fontTabular("s", "semibold");
1911
1903
  function themeToCss(fontTheme, fontFamily = "inherit") {
1912
1904
  return css$1 `
1913
1905
  font-family: ${fontFamily};
@@ -1975,7 +1967,7 @@ const StyledAccordionHeader = styled$2(AccordionSummary, {
1975
1967
  &:hover {
1976
1968
  & .${accordionSummaryClasses.expandIconWrapper} {
1977
1969
  svg {
1978
- color: ${semanticColors?.base?.ornamentSecondaryHover};
1970
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
1979
1971
  }
1980
1972
  }
1981
1973
  }
@@ -5463,12 +5455,12 @@ const Minimal = (props) => {
5463
5455
  }
5464
5456
 
5465
5457
  &:hover {
5466
- background-color: ${semanticColors?.base?.fillHover};
5458
+ background-color: ${semanticColors?.base?.fillInteraction};
5467
5459
  }
5468
5460
 
5469
5461
  &:active {
5470
5462
  color: ${semanticColors?.accent?.textActionPressed};
5471
- background-color: ${semanticColors?.base?.fillHover};
5463
+ background-color: ${semanticColors?.base?.fillInteraction};
5472
5464
 
5473
5465
  svg {
5474
5466
  color: ${semanticColors?.accent?.ornamentPressed};
@@ -5575,7 +5567,7 @@ const primary$2 = (props) => {
5575
5567
  }
5576
5568
 
5577
5569
  &:hover {
5578
- background: ${semanticColors?.base?.fillHover};
5570
+ background: ${semanticColors?.base?.fillInteraction};
5579
5571
  color: ${semanticColors?.accent?.ornamentHover};
5580
5572
 
5581
5573
  svg {
@@ -5603,7 +5595,7 @@ const secondary$2 = (props) => {
5603
5595
  }
5604
5596
 
5605
5597
  &:hover {
5606
- background: ${semanticColors?.base?.fillHover};
5598
+ background: ${semanticColors?.base?.fillInteraction};
5607
5599
  color: ${semanticColors?.accent?.ornamentHover};
5608
5600
 
5609
5601
  svg {
@@ -5632,19 +5624,19 @@ const tertiary = (props) => {
5632
5624
 
5633
5625
  &:hover {
5634
5626
  background: none;
5635
- color: ${semanticColors?.base?.ornamentSecondaryHover};
5627
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
5636
5628
 
5637
5629
  svg {
5638
- color: ${semanticColors?.base?.ornamentSecondaryHover};
5630
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
5639
5631
  }
5640
5632
  }
5641
5633
 
5642
5634
  &:active {
5643
5635
  background: none;
5644
- color: ${semanticColors?.base?.ornamentSecondaryPressed};
5636
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
5645
5637
 
5646
5638
  svg {
5647
- color: ${semanticColors?.base?.ornamentSecondaryPressed};
5639
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
5648
5640
  }
5649
5641
  }
5650
5642
  `;
@@ -5864,7 +5856,7 @@ const applyIntentColor$2 = (props, intent) => {
5864
5856
  .${inputAdornmentClasses.root} .${buttonBaseClasses.root}:last-of-type {
5865
5857
  cursor: default;
5866
5858
  svg {
5867
- color: ${semanticColors?.base?.ornamentSecondaryPressed};
5859
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
5868
5860
  }
5869
5861
  }
5870
5862
  }
@@ -5930,9 +5922,6 @@ const StyledSearchBase = styled$2(TextField, {
5930
5922
  const semanticColors = getSemanticColors(props);
5931
5923
  const corners = getCorners(props);
5932
5924
  return css$1 `
5933
- margin-top: ${spaces?.m}px;
5934
- margin-bottom: ${spaces?.m}px;
5935
- margin-right: ${spaces?.xl}px;
5936
5925
  min-width: 120px;
5937
5926
  display: block;
5938
5927
 
@@ -5981,7 +5970,8 @@ const StyledSearchBase = styled$2(TextField, {
5981
5970
 
5982
5971
  &:hover {
5983
5972
  svg {
5984
- color: ${semanticColors?.base?.ornamentSecondaryHover} !important;
5973
+ color: ${semanticColors?.base
5974
+ ?.ornamentSecondaryInteraction} !important;
5985
5975
  }
5986
5976
  }
5987
5977
 
@@ -6001,7 +5991,7 @@ const StyledSearchBase = styled$2(TextField, {
6001
5991
  }
6002
5992
 
6003
5993
  .${outlinedInputClasses.root}:hover {
6004
- background-color: ${semanticColors?.base?.fillHover};
5994
+ background-color: ${semanticColors?.base?.fillInteraction};
6005
5995
 
6006
5996
  & .${buttonBaseClasses.root}:last-of-type {
6007
5997
  svg {
@@ -6009,7 +5999,7 @@ const StyledSearchBase = styled$2(TextField, {
6009
5999
  }
6010
6000
  }
6011
6001
  .${outlinedInputClasses.notchedOutline} {
6012
- border: 1px solid ${semanticColors?.base?.borderPrimaryHover};
6002
+ border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
6013
6003
  }
6014
6004
  }
6015
6005
 
@@ -6023,13 +6013,13 @@ const StyledSearchBase = styled$2(TextField, {
6023
6013
  .${inputAdornmentClasses.root} .${buttonBaseClasses.root}:last-of-type {
6024
6014
  cursor: default;
6025
6015
  svg {
6026
- color: ${semanticColors?.base?.ornamentSecondaryPressed};
6016
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
6027
6017
  }
6028
6018
  }
6029
6019
  }
6030
6020
 
6031
6021
  &.user-is-tabbing .${outlinedInputClasses.root}:focus-within {
6032
- outline: 2px solid ${semanticColors?.base?.borderPrimaryHover};
6022
+ outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
6033
6023
  outline-offset: 1px;
6034
6024
  }
6035
6025
 
@@ -6068,10 +6058,10 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
6068
6058
  opacity: 1;
6069
6059
 
6070
6060
  &:hover, &.${menuItemClasses.focusVisible} {
6071
- background-color: ${semanticColors?.base?.fillHover};
6061
+ background-color: ${semanticColors?.base?.fillInteraction};
6072
6062
 
6073
6063
  &[aria-selected="true"] {
6074
- background-color: ${semanticColors?.base?.fillHover};
6064
+ background-color: ${semanticColors?.base?.fillInteraction};
6075
6065
  }
6076
6066
  }
6077
6067
  }
@@ -6088,7 +6078,7 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
6088
6078
  background-color: unset !important;
6089
6079
 
6090
6080
  &:hover {
6091
- background-color: ${semanticColors?.base?.fillHover} !important;
6081
+ background-color: ${semanticColors?.base?.fillInteraction} !important;
6092
6082
  }
6093
6083
 
6094
6084
  ${StyledIcon$1}, ${DotIcon} {
@@ -6101,16 +6091,16 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
6101
6091
  }
6102
6092
 
6103
6093
  &:hover {
6104
- background-color: ${semanticColors?.base?.fillHover};
6094
+ background-color: ${semanticColors?.base?.fillInteraction};
6105
6095
  ${StyledIcon$1}, ${DotIcon} {
6106
6096
  color: ${selected ? semanticColors?.base?.ornamentPrimary : semanticColors?.base?.ornamentSecondary};
6107
6097
  }
6108
6098
  }
6109
6099
 
6110
6100
  &.Mui-selected.MuiListItem-root.MuiListItem-button {
6111
- background-color: ${semanticColors?.base?.surface};
6101
+ background-color: ${semanticColors?.base?.surfacePrimary};
6112
6102
  &:hover {
6113
- background-color: ${semanticColors?.base?.fillHover};
6103
+ background-color: ${semanticColors?.base?.fillInteraction};
6114
6104
  }
6115
6105
  }
6116
6106
 
@@ -6449,7 +6439,7 @@ styled$2(Autocomplete, {
6449
6439
  // look at the useDetectUserTabbing hook.
6450
6440
  &[data-user-is-tabbing="true"]:focus-within {
6451
6441
  border-radius: 4px;
6452
- outline: 2px solid ${semanticColors?.base?.borderPrimaryHover};
6442
+ outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
6453
6443
  outline-offset: 1px;
6454
6444
  }
6455
6445
 
@@ -6474,11 +6464,11 @@ styled$2(Autocomplete, {
6474
6464
  min-height: unset;
6475
6465
 
6476
6466
  &.${autocompleteClasses.focused} {
6477
- background-color: ${semanticColors?.base?.fillHover};
6467
+ background-color: ${semanticColors?.base?.fillInteraction};
6478
6468
  }
6479
6469
 
6480
6470
  &[aria-selected="true"] {
6481
- background-color: ${semanticColors?.base?.surface};
6471
+ background-color: ${semanticColors?.base?.surfacePrimary};
6482
6472
  }
6483
6473
 
6484
6474
  &[aria-disabled="true"] {
@@ -6486,7 +6476,7 @@ styled$2(Autocomplete, {
6486
6476
  }
6487
6477
 
6488
6478
  &[aria-selected="true"].${autocompleteClasses.focused} {
6489
- background-color: ${semanticColors?.base?.fillHover};
6479
+ background-color: ${semanticColors?.base?.fillInteraction};
6490
6480
  }
6491
6481
  }
6492
6482
 
@@ -6500,7 +6490,7 @@ styled$2(Autocomplete, {
6500
6490
  .${autocompleteClasses.groupLabel} {
6501
6491
  top: 0;
6502
6492
  color: ${semanticColors?.base?.textSecondary};
6503
- background-color: ${semanticColors?.base?.surface};
6493
+ background-color: ${semanticColors?.base?.surfacePrimary};
6504
6494
  padding: 0 ${spaces?.m}px;
6505
6495
  }
6506
6496
 
@@ -6568,7 +6558,7 @@ styled$2(Paper) `
6568
6558
  return `
6569
6559
  background-image: none;
6570
6560
  padding: ${spaces?.xs}px 0;
6571
- background-color: ${semanticColors?.base?.surface};
6561
+ background-color: ${semanticColors?.base?.surfacePrimary};
6572
6562
  border: ${borders?.none};
6573
6563
  outline: 1px solid ${addOpacityToHex(semanticColors?.base?.borderSecondary || "#000", 15)};
6574
6564
  border-radius: ${corners?.l}px;
@@ -6580,9 +6570,10 @@ styled$2(Paper) `
6580
6570
  styled$2("div") `
6581
6571
  ${fontBodyXxs$1}
6582
6572
  ${(props) => {
6573
+ const { disabled } = props;
6583
6574
  const semanticColors = getSemanticColors(props);
6584
6575
  return `
6585
- color: ${semanticColors?.base?.textSecondary};
6576
+ color: ${disabled ? semanticColors?.base?.textDisabled : semanticColors?.base?.textSecondary};
6586
6577
  white-space: pre-wrap;
6587
6578
  `;
6588
6579
  }}
@@ -6635,7 +6626,7 @@ styled$2(Popper, {
6635
6626
  const borders = getBorders(props);
6636
6627
  const semanticColors = getSemanticColors(props);
6637
6628
  return `
6638
- background-color: ${semanticColors?.base?.surface};
6629
+ background-color: ${semanticColors?.base?.surfacePrimary};
6639
6630
  background-image: none;
6640
6631
  border: ${borders?.none};
6641
6632
  border-radius: ${corners?.l}px;
@@ -6662,7 +6653,7 @@ styled$2(Paper, {
6662
6653
  const shadows = getShadows(props);
6663
6654
  const semanticColors = getSemanticColors(props);
6664
6655
  return `
6665
- background-color: ${semanticColors?.base?.surface};
6656
+ background-color: ${semanticColors?.base?.surfacePrimary};
6666
6657
  background-image: none;
6667
6658
  box-shadow: ${shadows?.none};
6668
6659
  margin: 0;
@@ -6706,7 +6697,7 @@ styled$3("span") `
6706
6697
  const iconSizes = getIconSizes(props);
6707
6698
  const semanticColors = getSemanticColors(props);
6708
6699
  return `
6709
- background-color: ${semanticColors?.base?.surface};
6700
+ background-color: ${semanticColors?.base?.surfacePrimary};
6710
6701
  position: absolute;
6711
6702
  right: -${spaces?.xs}px;
6712
6703
  top: -${spaces?.xxxs}px;
@@ -6897,7 +6888,7 @@ const StyledButtonToggle = styled$2(ButtonIcon, {
6897
6888
  const { sdsStage } = props;
6898
6889
  const semanticColors = getSemanticColors(props);
6899
6890
  return `
6900
- background-color: ${sdsStage === "on" ? semanticColors?.base?.fillOpen : "transparent"};
6891
+ background-color: ${sdsStage === "on" ? semanticColors?.base?.fillInteraction : "transparent"};
6901
6892
  `;
6902
6893
  }}
6903
6894
  `;
@@ -7010,7 +7001,7 @@ const dark$1 = (props) => {
7010
7001
  const semanticColors = getSemanticColors(props);
7011
7002
  return css$3 `
7012
7003
  ${fontHeaderXs(props)}
7013
- background-color: ${semanticColors?.base?.surfaceOnDark};
7004
+ background-color: ${semanticColors?.base?.surfacePrimaryDark};
7014
7005
  color: ${semanticColors?.base?.textPrimaryOnDark};
7015
7006
  padding: ${spaces?.s}px ${spaces?.m}px;
7016
7007
  `;
@@ -7020,7 +7011,7 @@ const light$1 = (props) => {
7020
7011
  const semanticColors = getSemanticColors(props);
7021
7012
  return css$3 `
7022
7013
  ${fontBodyXs$2(props)}
7023
- background-color: ${semanticColors?.base?.surface};
7014
+ background-color: ${semanticColors?.base?.surfacePrimary};
7024
7015
  color: ${semanticColors?.base?.textPrimary};
7025
7016
  padding: ${spaces?.s}px ${spaces?.m}px;
7026
7017
  `;
@@ -7095,8 +7086,8 @@ const arrowCss = (props) => {
7095
7086
  /* (bethbertozzi): !important is needed to fight inline style */
7096
7087
  left: ${arrowOffset}px !important;
7097
7088
  color: ${hasInvertedStyle || inverted || sdsStyle === "dark"
7098
- ? semanticColors?.base?.surfaceOnDark
7099
- : semanticColors?.base?.surface};
7089
+ ? semanticColors?.base?.surfacePrimaryDark
7090
+ : semanticColors?.base?.surfacePrimary};
7100
7091
  &:before {
7101
7092
  box-sizing: border-box;
7102
7093
  width: 12px;
@@ -7519,7 +7510,7 @@ const StyledTableHeader$1 = styled$2("th", {
7519
7510
  }
7520
7511
 
7521
7512
  & svg {
7522
- color: ${active ? semanticColors?.accent?.ornamentHover : semanticColors?.base?.ornamentSecondaryHover};
7513
+ color: ${active ? semanticColors?.accent?.ornamentHover : semanticColors?.base?.ornamentSecondaryInteraction};
7523
7514
  }
7524
7515
  }
7525
7516
  `;
@@ -7739,6 +7730,21 @@ styled$2("div", {
7739
7730
  `;
7740
7731
  }}
7741
7732
  `;
7733
+ styled$2("div", {
7734
+ shouldForwardProp: (prop) => !doNotForwardProps$v.includes(prop)
7735
+ }) `
7736
+ ${fontBodyXxs$1}
7737
+
7738
+ ${(props) => {
7739
+ const spaces = getSpaces(props);
7740
+ const semanticColors = getSemanticColors(props);
7741
+ return `
7742
+ color: ${semanticColors?.base?.textSecondary};
7743
+ padding-right: ${spaces?.m}px;
7744
+ padding-top: ${spaces?.xxxs}px;
7745
+ `;
7746
+ }}
7747
+ `;
7742
7748
  styled$2("div", {
7743
7749
  shouldForwardProp: (prop) => !doNotForwardProps$v.includes(prop)
7744
7750
  }) `
@@ -7785,7 +7791,7 @@ styled$2(Popper, {
7785
7791
  const shadows = getShadows(props);
7786
7792
  const semanticColors = getSemanticColors(props);
7787
7793
  return `
7788
- background-color: ${semanticColors?.base?.surface};
7794
+ background-color: ${semanticColors?.base?.surfacePrimary};
7789
7795
  background-image: none;
7790
7796
  border: ${borders?.none};
7791
7797
  border-radius: ${corners?.l}px;
@@ -7808,7 +7814,7 @@ styled$2(Paper, {
7808
7814
  border: none !important;
7809
7815
  outline: 1px solid ${addOpacityToHex(semanticColors?.base?.borderSecondary || "#000000", 15)};
7810
7816
  border-radius: ${corners?.l}px;
7811
- background-color: ${semanticColors?.base?.surface};
7817
+ background-color: ${semanticColors?.base?.surfacePrimary};
7812
7818
  background-image: none;
7813
7819
  margin: 0;
7814
7820
  padding: 0 0 ${spaces?.xs}px 0;
@@ -7847,9 +7853,15 @@ styled$2("div") `
7847
7853
  const spaces = getSpaces(props);
7848
7854
  const semanticColors = getSemanticColors(props);
7849
7855
  return `
7856
+ & > div {
7857
+ display: flex;
7858
+ flex-direction: row;
7859
+ align-items: center;
7860
+ justify-content: space-between;
7861
+ }
7862
+
7850
7863
  display: flex;
7851
- align-items: center;
7852
- justify-content: space-between;
7864
+ flex-direction: column;
7853
7865
  padding: ${spaces?.xs}px ${spaces?.m}px ${search ? spaces?.xs : spaces?.s}px;
7854
7866
  ${search && `border-bottom: solid 1px ${semanticColors?.base?.divider};`}
7855
7867
  `;
@@ -7911,12 +7923,13 @@ const inputDropdownStyles = (props) => {
7911
7923
  }
7912
7924
 
7913
7925
  &:hover {
7914
- background-color: ${semanticColors?.base?.fillHover};
7915
- box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryHover};
7926
+ background-color: ${semanticColors?.base?.fillInteraction};
7927
+ box-shadow: inset 0 0 0 1px
7928
+ ${semanticColors?.base?.borderPrimaryInteraction};
7916
7929
  color: ${semanticColors?.base?.textPrimary};
7917
7930
 
7918
7931
  path {
7919
- fill: ${semanticColors?.base?.ornamentSecondaryHover};
7932
+ fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
7920
7933
  }
7921
7934
 
7922
7935
  .styled-label {
@@ -7930,7 +7943,7 @@ const inputDropdownStyles = (props) => {
7930
7943
  color: ${semanticColors?.base?.textPrimary};
7931
7944
 
7932
7945
  path {
7933
- fill: ${semanticColors?.base?.ornamentSecondaryPressed};
7946
+ fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
7934
7947
  }
7935
7948
  }
7936
7949
 
@@ -7982,12 +7995,12 @@ const minimal$1 = (props) => {
7982
7995
  }
7983
7996
 
7984
7997
  &:hover {
7985
- background-color: ${semanticColors?.base?.fillHover};
7998
+ background-color: ${semanticColors?.base?.fillInteraction};
7986
7999
  border: none;
7987
8000
  color: ${semanticColors?.base?.textPrimary};
7988
8001
 
7989
8002
  path {
7990
- fill: ${semanticColors?.base?.ornamentSecondaryHover};
8003
+ fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
7991
8004
  }
7992
8005
 
7993
8006
  .styled-label {
@@ -7996,7 +8009,7 @@ const minimal$1 = (props) => {
7996
8009
  }
7997
8010
 
7998
8011
  &:active {
7999
- background-color: ${semanticColors?.base?.fillHover};
8012
+ background-color: ${semanticColors?.base?.fillInteraction};
8000
8013
  border: none;
8001
8014
  }
8002
8015
  `;
@@ -8066,7 +8079,7 @@ const isOpen = (props) => {
8066
8079
  : ""}
8067
8080
 
8068
8081
  path {
8069
- fill: ${semanticColors?.base?.ornamentSecondaryPressed};
8082
+ fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
8070
8083
  }
8071
8084
 
8072
8085
  box-shadow: ${sdsStyle === "minimal"
@@ -8074,15 +8087,15 @@ const isOpen = (props) => {
8074
8087
  : `inset 0 0 0 1px ${semanticColors?.[inputColor]?.border}`};
8075
8088
 
8076
8089
  background-color: ${sdsStyle === "minimal"
8077
- ? semanticColors?.base?.fillOpen
8090
+ ? semanticColors?.base?.fillInteraction
8078
8091
  : "transparent"};
8079
8092
 
8080
8093
  &:hover {
8081
8094
  path {
8082
- fill: ${semanticColors?.base?.ornamentSecondaryHover};
8095
+ fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
8083
8096
  }
8084
8097
 
8085
- border-color: ${semanticColors?.base?.borderPrimaryHover};
8098
+ border-color: ${semanticColors?.base?.borderPrimaryInteraction};
8086
8099
  }
8087
8100
  `;
8088
8101
  };
@@ -8092,11 +8105,13 @@ const applyIntentColor$1 = (props, intent) => {
8092
8105
  box-shadow: inset 0 0 0 1px ${semanticColors?.[intent]?.border};
8093
8106
 
8094
8107
  &:hover {
8095
- box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryHover};
8108
+ box-shadow: inset 0 0 0 1px
8109
+ ${semanticColors?.base?.borderPrimaryInteraction};
8096
8110
  }
8097
8111
 
8098
8112
  &:active {
8099
- box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryPressed};
8113
+ box-shadow: inset 0 0 0 1px
8114
+ ${semanticColors?.base?.borderPrimaryInteraction};
8100
8115
  }
8101
8116
  `;
8102
8117
  };
@@ -8316,7 +8331,6 @@ const tagSizeS = (props) => {
8316
8331
  const semanticColors = getSemanticColors(props);
8317
8332
  return css$1 `
8318
8333
  height: unset;
8319
- margin: 0 ${spaces?.xxs}px ${spaces?.xs}px 0;
8320
8334
 
8321
8335
  .MuiChip-label {
8322
8336
  ${fontBodyXxxs$1(props)}
@@ -8326,7 +8340,7 @@ const tagSizeS = (props) => {
8326
8340
  .MuiSvgIcon-root {
8327
8341
  height: ${iconSizes?.xs.height}px;
8328
8342
  width: ${iconSizes?.xs.width}px;
8329
- margin: 0 ${spaces?.xxs}px 0 -${spaces?.xxxs}px;
8343
+ margin: 0 ${spaces?.xxs}px 0 0;
8330
8344
  }
8331
8345
 
8332
8346
  .MuiChip-deleteIcon {
@@ -8344,7 +8358,6 @@ const tagSizeL = (props) => {
8344
8358
  const semanticColors = getSemanticColors(props);
8345
8359
  return css$1 `
8346
8360
  height: unset;
8347
- margin: 0 ${spaces?.xxs}px ${spaces?.xs}px 0;
8348
8361
 
8349
8362
  .MuiChip-label {
8350
8363
  ${fontBodyXs$2(props)}
@@ -8354,7 +8367,7 @@ const tagSizeL = (props) => {
8354
8367
  .MuiSvgIcon-root {
8355
8368
  height: ${iconSizes?.l.height}px;
8356
8369
  width: ${iconSizes?.l.width}px;
8357
- margin: 0 ${spaces?.xxs}px 0 -${spaces?.xxxs}px;
8370
+ margin: 0 ${spaces?.xxs}px 0 0px;
8358
8371
  }
8359
8372
 
8360
8373
  .MuiChip-deleteIcon {
@@ -8371,9 +8384,11 @@ const rounded = (props) => {
8371
8384
  const spaces = getSpaces(props);
8372
8385
  const { sdsSize = "s", icon } = props;
8373
8386
  const topBottomPadding = sdsSize === "s" ? spaces?.xxxs : icon ? spaces?.xxs : spaces?.xs;
8387
+ const rightPadding = sdsSize === "l" && icon ? spaces?.s : spaces?.xs;
8374
8388
  return css$1 `
8375
8389
  border-radius: ${corners?.rounded}px;
8376
- padding: ${topBottomPadding}px ${spaces?.s}px;
8390
+ padding: ${topBottomPadding}px ${rightPadding}px ${topBottomPadding}px
8391
+ ${spaces?.xs}px;
8377
8392
 
8378
8393
  &:after {
8379
8394
  content: "";
@@ -8388,7 +8403,7 @@ const square = (props) => {
8388
8403
  const topBottomPadding = sdsSize === "s" ? spaces?.xxxs : icon ? spaces?.xxs : spaces?.xs;
8389
8404
  return css$1 `
8390
8405
  border-radius: ${corners?.m}px;
8391
- padding: ${topBottomPadding}px ${spaces?.s}px;
8406
+ padding: ${topBottomPadding}px ${spaces?.xs}px;
8392
8407
 
8393
8408
  &:after {
8394
8409
  content: "";
@@ -8416,54 +8431,51 @@ const secondary = (props) => {
8416
8431
  return createTypeCss(props, "secondary");
8417
8432
  };
8418
8433
  function generatePrimaryTagColors(intent, colors, semanticColors) {
8419
- if (intent || colors.length) {
8420
- intent = intent || "neutral";
8421
- return {
8422
- background: colors.length >= 2 ? colors[1] : semanticColors?.[intent].fillPrimary,
8423
- backgroundClicked: colors.length >= 2
8424
- ? darken$2(colors[1], 0.3)
8425
- : semanticColors?.[intent].fillPressed,
8426
- backgroundHover: colors.length >= 2
8427
- ? darken$2(colors[1], 0.15)
8428
- : semanticColors?.[intent].fillHover,
8429
- iconColor: colors.length > 2 ? colors[2] : semanticColors?.base?.ornamentOnFill,
8430
- label: colors.length ? colors[0] : semanticColors?.base?.textOnFill
8431
- };
8432
- }
8433
- else {
8434
- return {
8435
- background: semanticColors?.neutral.fillPrimary,
8436
- backgroundClicked: semanticColors?.neutral.fillPressed,
8437
- backgroundHover: semanticColors?.neutral.fillHover,
8438
- iconColor: semanticColors?.base?.ornamentOnFill,
8439
- label: semanticColors?.base?.textOnFill
8440
- };
8441
- }
8434
+ const effectiveIntent = intent || "neutral";
8435
+ const intentColors = semanticColors?.[effectiveIntent];
8436
+ const hasCustomColors = colors.length >= 2;
8437
+ return {
8438
+ background: hasCustomColors ? colors[1] : intentColors?.fillPrimary,
8439
+ backgroundClicked: hasCustomColors
8440
+ ? darken$2(colors[1], 0.3)
8441
+ : intentColors?.fillPressed,
8442
+ backgroundHover: hasCustomColors
8443
+ ? darken$2(colors[1], 0.15)
8444
+ : intentColors?.fillHover,
8445
+ iconColor: hasCustomColors
8446
+ ? colors[2]
8447
+ : semanticColors?.base?.ornamentOnFill,
8448
+ label: colors.length > 0 ? colors[0] : semanticColors?.base?.textOnFill,
8449
+ borderColor: alpha$1(semanticColors?.neutral.border || "#000", 0.6)
8450
+ };
8442
8451
  }
8443
- function generateSecondaryTagColors(intent, colors, semanticColors) {
8444
- if (intent || colors.length) {
8445
- intent = intent || "neutral";
8446
- return {
8447
- background: colors.length >= 2 ? colors[1] : semanticColors?.[intent].fillSecondary,
8448
- backgroundClicked: colors.length >= 2
8449
- ? darken$2(colors[1], 0.3)
8450
- : semanticColors?.[intent].fillPressed,
8451
- backgroundHover: colors.length >= 2
8452
- ? darken$2(colors[1], 0.15)
8453
- : semanticColors?.[intent].fillHover,
8454
- iconColor: colors.length > 2 ? colors[2] : semanticColors?.[intent].ornament,
8455
- label: colors.length ? colors[0] : semanticColors?.[intent].text
8456
- };
8457
- }
8458
- else {
8459
- return {
8460
- background: semanticColors?.neutral.fillSecondary,
8461
- backgroundClicked: semanticColors?.neutral.fillPressed,
8462
- backgroundHover: semanticColors?.neutral.fillHover,
8463
- iconColor: semanticColors?.neutral.ornament,
8464
- label: semanticColors?.neutral.fillPressed
8465
- };
8466
- }
8452
+ function getSecondaryBorderColor(effectiveIntent, theme, intentColors) {
8453
+ if (!theme || !theme.palette)
8454
+ return alpha$1(intentColors?.border || "#000", 0.6);
8455
+ if (effectiveIntent === "negative" && theme.palette.mode === "dark")
8456
+ return alpha$1(intentColors?.border || "#000", 0.65);
8457
+ if (effectiveIntent === "notice" && theme.palette.mode === "light")
8458
+ return alpha$1(intentColors?.border || "#000", 0.85);
8459
+ return alpha$1(intentColors?.border || "#000", 0.6);
8460
+ }
8461
+ function generateSecondaryTagColors(intent, colors, semanticColors, theme = defaultTheme$4) {
8462
+ const effectiveIntent = intent || "neutral";
8463
+ const intentColors = semanticColors?.[effectiveIntent];
8464
+ const hasCustomColors = colors.length >= 2;
8465
+ return {
8466
+ background: hasCustomColors ? colors[1] : intentColors?.fillSecondary,
8467
+ backgroundClicked: hasCustomColors
8468
+ ? darken$2(colors[1], 0.3)
8469
+ : intentColors?.fillPressed,
8470
+ backgroundHover: hasCustomColors
8471
+ ? darken$2(colors[1], 0.15)
8472
+ : intentColors?.fillHover,
8473
+ iconColor: hasCustomColors ? colors[2] : intentColors?.ornament,
8474
+ label: colors.length > 0 ? colors[0] : intentColors?.text,
8475
+ borderColor: hasCustomColors
8476
+ ? alpha$1(colors[1], 0.6)
8477
+ : getSecondaryBorderColor(effectiveIntent, theme, intentColors)
8478
+ };
8467
8479
  }
8468
8480
  function createTypeCss(props, type) {
8469
8481
  const semanticColors = getSemanticColors(props);
@@ -8471,12 +8483,16 @@ function createTypeCss(props, type) {
8471
8483
  const colors = Array.isArray(props.tagColor) ? [...props.tagColor] : [];
8472
8484
  const typeToColors = {
8473
8485
  primary: generatePrimaryTagColors(intent, colors, semanticColors),
8474
- secondary: generateSecondaryTagColors(intent, colors, semanticColors)
8486
+ secondary: generateSecondaryTagColors(intent, colors, semanticColors, props.theme)
8475
8487
  };
8476
8488
  const typeColors = typeToColors[type];
8477
8489
  return css$1 `
8478
8490
  ${focusVisibleA11yStyle(props)}
8479
8491
 
8492
+ ${type === "secondary" &&
8493
+ css$1 `
8494
+ box-shadow: inset 0 0 0 1px ${typeColors.borderColor};
8495
+ `}
8480
8496
  background-color: ${typeColors.background};
8481
8497
  position: relative;
8482
8498
 
@@ -8490,6 +8506,7 @@ function createTypeCss(props, type) {
8490
8506
 
8491
8507
  &:hover,
8492
8508
  &:active {
8509
+ box-shadow: none;
8493
8510
  .MuiChip-label {
8494
8511
  color: ${semanticColors?.base?.textPrimaryInverse};
8495
8512
  }
@@ -8644,30 +8661,38 @@ const doNotForwardProps$r = [
8644
8661
  "cardSdsType",
8645
8662
  "classes",
8646
8663
  ];
8647
- const StyledCard = styled$2(Card, {
8648
- shouldForwardProp: (prop) => !doNotForwardProps$r.includes(prop)
8649
- }) `
8650
- ${(props) => {
8651
- const { imagePosition = "left", sdsType = "wide", boundingBox = true, decorativeBorder = false, imagePadding = false, visualElementType, clickableCard = false, } = props;
8652
- const semanticColors = getSemanticColors(props);
8653
- const corners = getCorners(props);
8654
- const shadows = getShadows(props);
8655
- const flexDirection = sdsType === "wide" && visualElementType === "image"
8664
+ const getFlexDirection = (sdsType, visualElementType, imagePosition) => {
8665
+ return sdsType === "wide" && visualElementType === "image"
8656
8666
  ? imagePosition === "left"
8657
8667
  ? "row"
8658
8668
  : "row-reverse"
8659
8669
  : visualElementType === "icon"
8660
8670
  ? "row"
8661
8671
  : "column";
8662
- const showDecorativeBorder = visualElementType === "image"
8672
+ };
8673
+ const getShowDecorativeBorder = (visualElementType, boundingBox, decorativeBorder, imagePadding) => {
8674
+ return visualElementType === "image"
8663
8675
  ? boundingBox && decorativeBorder && imagePadding
8664
8676
  : boundingBox && decorativeBorder;
8677
+ };
8678
+ const StyledCard = styled$2(Card, {
8679
+ shouldForwardProp: (prop) => !doNotForwardProps$r.includes(prop)
8680
+ }) `
8681
+ ${(props) => {
8682
+ const { imagePosition = "left", sdsType = "wide", boundingBox = true, decorativeBorder = false, imagePadding = false, visualElementType, clickableCard = false, } = props;
8683
+ const semanticColors = getSemanticColors(props);
8684
+ const corners = getCorners(props);
8685
+ const shadows = getShadows(props);
8686
+ const spaces = getSpaces(props);
8687
+ const flexDirection = getFlexDirection(sdsType, visualElementType, imagePosition);
8688
+ const showDecorativeBorder = getShowDecorativeBorder(visualElementType, boundingBox, decorativeBorder, imagePadding);
8665
8689
  return css$1 `
8690
+ position: relative;
8666
8691
  display: flex;
8667
8692
  background-color: transparent;
8668
8693
  background-image: none;
8669
8694
  flex-direction: ${flexDirection};
8670
- overflow: auto;
8695
+ overflow: visible;
8671
8696
  box-shadow: none;
8672
8697
  border-radius: ${corners?.xl}px;
8673
8698
 
@@ -8686,16 +8711,47 @@ const StyledCard = styled$2(Card, {
8686
8711
  background-color: ${semanticColors?.base?.backgroundPrimary};
8687
8712
  `}
8688
8713
 
8714
+ ${showDecorativeBorder &&
8715
+ css$1 `
8716
+ &:before {
8717
+ content: "";
8718
+ position: absolute;
8719
+ background-color: ${semanticColors?.accent?.border};
8720
+
8721
+ ${sdsType === "wide" &&
8722
+ css$1 `
8723
+ top: -1px;
8724
+ bottom: -1px;
8725
+ left: -1px;
8726
+ width: ${spaces?.xs}px;
8727
+ border-top-left-radius: ${corners?.xl}px;
8728
+ border-bottom-left-radius: ${corners?.xl}px;
8729
+ `}
8730
+
8731
+ ${sdsType === "narrow" &&
8732
+ css$1 `
8733
+ height: ${spaces?.xs}px;
8734
+ top: -1px;
8735
+ left: -1px;
8736
+ right: -1px;
8737
+ border-top-left-radius: ${corners?.xl}px;
8738
+ border-top-right-radius: ${corners?.xl}px;
8739
+ `}
8740
+ }
8741
+ `}
8742
+
8689
8743
  ${sdsType === "wide" &&
8690
8744
  showDecorativeBorder &&
8691
8745
  css$1 `
8692
- border-left: 4px solid ${semanticColors?.accent?.border};
8746
+ border-top-left-radius: ${corners?.l}px;
8747
+ border-bottom-left-radius: ${corners?.l}px;
8693
8748
  `}
8694
8749
 
8695
8750
  ${sdsType === "narrow" &&
8696
8751
  showDecorativeBorder &&
8697
8752
  css$1 `
8698
- border-top: 4px solid ${semanticColors?.accent?.border};
8753
+ border-top-left-radius: ${corners?.l}px;
8754
+ border-top-right-radius: ${corners?.l}px;
8699
8755
  `}
8700
8756
  `;
8701
8757
  }}
@@ -8728,7 +8784,7 @@ const StyledCardActionArea = styled$2(Button, {
8728
8784
 
8729
8785
  &:hover,
8730
8786
  &:active {
8731
- background-color: ${semanticColors?.base?.surface};
8787
+ background-color: ${semanticColors?.base?.surfacePrimary};
8732
8788
  }
8733
8789
  `;
8734
8790
  }}
@@ -8968,9 +9024,13 @@ const StyledImageMediaWrapper = styled$3("div", {
8968
9024
  ${(props) => {
8969
9025
  const { imagePadding = false, boundingBox = true, sdsType = "wide", imagePosition = "left", } = props;
8970
9026
  const spaces = getSpaces(props);
9027
+ const corners = getCorners(props);
8971
9028
  return css$2 `
8972
9029
  display: flex;
8973
9030
  align-items: start;
9031
+ border-top-left-radius: calc(${corners?.xl}px - 1px);
9032
+ border-bottom-left-radius: calc(${corners?.xl}px - 1px);
9033
+ overflow: hidden;
8974
9034
 
8975
9035
  ${boundingBox
8976
9036
  ? imagePadding
@@ -9005,6 +9065,8 @@ const StyledImageMediaWrapper = styled$3("div", {
9005
9065
  `}
9006
9066
 
9007
9067
  justify-content: center;
9068
+ border-top-left-radius: calc(${corners?.xl}px - 1px);
9069
+ border-top-right-radius: calc(${corners?.xl}px - 1px);
9008
9070
  `}
9009
9071
  `;
9010
9072
  }}
@@ -9145,7 +9207,7 @@ const StyledPaper = styled$2(Paper, {
9145
9207
  const semanticColors = getSemanticColors(props);
9146
9208
  const isSmall = sdsSize === "xs" || sdsSize === "s";
9147
9209
  return `
9148
- background-color: ${semanticColors?.base?.surface};
9210
+ background-color: ${semanticColors?.base?.surfacePrimary};
9149
9211
  background-image: none;
9150
9212
  box-shadow: ${shadows?.l};
9151
9213
  max-height: calc(100vh - ${2 * (spaces?.xxxl || 40)}px);
@@ -9787,12 +9849,11 @@ const disabledStyles$1 = (props) => {
9787
9849
  styled$2(FormControlLabel) `
9788
9850
  ${(props) => {
9789
9851
  const { disabled } = props;
9790
- const spaces = getSpaces(props);
9791
9852
  const semanticColors = getSemanticColors(props);
9792
9853
  const borders = getBorders(props);
9793
9854
  return `
9794
9855
  align-items: start;
9795
- margin-bottom: ${spaces?.l}px;
9856
+ margin-bottom: 0;
9796
9857
  margin-left: 0;
9797
9858
  margin-right: 0;
9798
9859
  width: fit-content;
@@ -9800,7 +9861,7 @@ styled$2(FormControlLabel) `
9800
9861
  &:hover {
9801
9862
  ${StyledCheckboxDefaultIcon} {
9802
9863
  border: ${borders?.base?.hover};
9803
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
9864
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
9804
9865
  }
9805
9866
 
9806
9867
  ${StyledCheckboxCheckedIcon} {
@@ -9937,19 +9998,18 @@ const disabledStyles = (props) => {
9937
9998
  styled$2(FormControlLabel) `
9938
9999
  ${(props) => {
9939
10000
  const { disabled } = props;
9940
- const spaces = getSpaces(props);
9941
10001
  const semanticColors = getSemanticColors(props);
9942
10002
  return `
9943
10003
  align-items: start;
9944
- margin-bottom: ${spaces?.l}px;
10004
+ margin-bottom: 0;
9945
10005
  margin-left: 0;
9946
10006
  margin-right: 0;
9947
10007
  width: fit-content;
9948
10008
 
9949
10009
  &:hover {
9950
10010
  ${StyledRadioDefaultIcon} {
9951
- border: 1px solid ${semanticColors?.base?.borderPrimaryHover};
9952
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
10011
+ border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
10012
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
9953
10013
  }
9954
10014
 
9955
10015
  ${StyledRadioCheckedIcon} {
@@ -9959,7 +10019,7 @@ styled$2(FormControlLabel) `
9959
10019
 
9960
10020
  &:active {
9961
10021
  ${StyledRadioDefaultIcon} {
9962
- border: 1px solid ${semanticColors?.base?.borderPrimaryPressed};
10022
+ border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
9963
10023
  }
9964
10024
 
9965
10025
  ${StyledRadioCheckedIcon} {
@@ -10217,12 +10277,12 @@ const textArea = (props) => {
10217
10277
  };
10218
10278
  const StyledLabel$2 = styled$2("label") `
10219
10279
  display: block;
10220
- ${fontBodyS$1}
10280
+ ${fontBodySemiboldXxxs}
10221
10281
 
10222
10282
  ${(props) => {
10223
10283
  const spaces = getSpaces(props);
10224
10284
  return `
10225
- margin-bottom: ${spaces?.xxs}px;
10285
+ margin-bottom: ${spaces?.s}px;
10226
10286
  `;
10227
10287
  }}
10228
10288
  `;
@@ -10238,8 +10298,6 @@ const StyledInputBase = styled$2(TextField, {
10238
10298
  const corners = getCorners(props);
10239
10299
  const semanticColors = getSemanticColors(props);
10240
10300
  return css$1 `
10241
- margin-bottom: ${spaces?.l}px;
10242
- margin-right: ${spaces?.m}px;
10243
10301
  display: block;
10244
10302
 
10245
10303
  .${outlinedInputClasses.root} {
@@ -10276,7 +10334,7 @@ const StyledInputBase = styled$2(TextField, {
10276
10334
  .${outlinedInputClasses.root}:hover
10277
10335
  .${outlinedInputClasses.notchedOutline} {
10278
10336
  border: ${borders?.base?.hover};
10279
- background-color: ${semanticColors?.base?.fillHover};
10337
+ background-color: ${semanticColors?.base?.fillInteraction};
10280
10338
  }
10281
10339
 
10282
10340
  .${outlinedInputClasses.root}.${outlinedInputClasses.focused}
@@ -10455,7 +10513,7 @@ const toggleOff = (props) => {
10455
10513
  }
10456
10514
 
10457
10515
  &:hover {
10458
- background-color: ${semanticColors?.base?.fillHover};
10516
+ background-color: ${semanticColors?.base?.fillInteraction};
10459
10517
  }
10460
10518
  }
10461
10519
 
@@ -10477,7 +10535,7 @@ const toggleOff = (props) => {
10477
10535
  outline: ${borders?.base?.hover};
10478
10536
 
10479
10537
  .${switchClasses.thumb} {
10480
- color: ${semanticColors?.base?.ornamentSecondaryHover};
10538
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
10481
10539
  }
10482
10540
  }`}
10483
10541
  `;
@@ -10493,6 +10551,57 @@ styled$2(Switch) `
10493
10551
  }}
10494
10552
  `;
10495
10553
 
10554
+ styled$2.div `
10555
+ display: flex;
10556
+ flex-direction: column;
10557
+ ${(props) => {
10558
+ const spaces = getSpaces(props);
10559
+ const semanticColors = getSemanticColors(props);
10560
+ const borderThickness = 2;
10561
+ const borderColor = props.borderIntent
10562
+ ? semanticColors?.[props.borderIntent]?.border
10563
+ : "transparent";
10564
+ return `
10565
+ gap: ${spaces?.s}px;
10566
+ position: relative;
10567
+
10568
+ &::before {
10569
+ content: "";
10570
+ position: absolute;
10571
+ left: -${(spaces?.xs || 0) + borderThickness}px;
10572
+ top: 0;
10573
+ bottom: 0;
10574
+ width: ${borderThickness}px;
10575
+ background-color: ${borderColor};
10576
+ display: ${props.hasBorder ? "block" : "none"};
10577
+ }
10578
+ `;
10579
+ }}
10580
+ `;
10581
+ styled$2.div `
10582
+ ${fontBodySemiboldXxxs}
10583
+ display: flex;
10584
+ align-items: start;
10585
+
10586
+ ${(props) => {
10587
+ const spaces = getSpaces(props);
10588
+ const semanticColors = getSemanticColors(props);
10589
+ const intentColors = semanticColors?.[props.intent];
10590
+ return `
10591
+ gap: ${spaces?.xs}px;
10592
+ color: ${intentColors?.text};
10593
+
10594
+ svg {
10595
+ margin-top: ${spaces?.xxxs}px;
10596
+ fill: ${intentColors?.ornament};
10597
+ path {
10598
+ fill: ${intentColors?.ornament};
10599
+ }
10600
+ }
10601
+ `;
10602
+ }}
10603
+ `;
10604
+
10496
10605
  const LegendContainer = styled$2("div") `
10497
10606
  display: flex;
10498
10607
  flex-wrap: wrap;
@@ -10915,7 +11024,7 @@ const StyledMenu = styled$2(Menu$1) `
10915
11024
  const corners = getCorners(props);
10916
11025
  const semanticColors = getSemanticColors(props);
10917
11026
  return `
10918
- background-color: ${semanticColors?.base?.surface};
11027
+ background-color: ${semanticColors?.base?.surfacePrimary};
10919
11028
  background-image: none;
10920
11029
  padding: ${spaces?.xs}px;
10921
11030
  border-radius: ${corners?.l}px;
@@ -17196,7 +17305,7 @@ const NarrowNavItemLinkStyles = (props) => {
17196
17305
  ? semanticColors?.base.textPrimaryOnDark
17197
17306
  : semanticColors?.base.textPrimary};
17198
17307
  background: ${props.hasInvertedStyle
17199
- ? semanticColors?.base.backgroundSecondaryOnDark
17308
+ ? semanticColors?.base.backgroundSecondaryDark
17200
17309
  : semanticColors?.base.backgroundSecondary};
17201
17310
  }
17202
17311
  `;
@@ -17222,11 +17331,11 @@ const StyledNavItemLink = styled$2(Link, {
17222
17331
 
17223
17332
  &:hover {
17224
17333
  color: ${props.hasInvertedStyle
17225
- ? semanticColors?.base.textPrimaryOnDark
17226
- : semanticColors?.base.textPrimary};
17334
+ ? semanticColors?.base?.textPrimaryOnDark
17335
+ : semanticColors?.base?.textPrimary};
17227
17336
  background-color: ${props.hasInvertedStyle
17228
- ? semanticColors?.base.fillHoverOnDark
17229
- : semanticColors?.base.fillHover};
17337
+ ? semanticColors?.base?.fillInteractionOnDark
17338
+ : semanticColors?.base?.fillInteraction};
17230
17339
  text-decoration: none;
17231
17340
  }
17232
17341
 
@@ -17693,7 +17802,7 @@ const StyledSearch = styled$2(InputSearch, {
17693
17802
  &:hover {
17694
17803
  fieldset {
17695
17804
  border-color: ${hasInvertedStyle
17696
- ? semanticColors?.base?.borderPrimaryHoverOnDark
17805
+ ? semanticColors?.base?.borderPrimaryInteractionOnDark
17697
17806
  : ""} !important;
17698
17807
  }
17699
17808
 
@@ -17711,7 +17820,7 @@ const StyledSearch = styled$2(InputSearch, {
17711
17820
  &.Mui-focused {
17712
17821
  fieldset {
17713
17822
  border-color: ${hasInvertedStyle
17714
- ? semanticColors?.base?.borderPrimaryPressedOnDark
17823
+ ? semanticColors?.base?.borderPrimaryInteractionOnDark
17715
17824
  : ""} !important;
17716
17825
  }
17717
17826
 
@@ -17906,8 +18015,8 @@ const StyledAccordion = styled$2(Accordion, {
17906
18015
  ? semanticColors?.base.ornamentSecondaryOnDark
17907
18016
  : semanticColors?.base.ornamentSecondary;
17908
18017
  const ChevronOpenColor = hasInvertedStyle
17909
- ? semanticColors?.base?.ornamentSecondaryPressedOnDark
17910
- : semanticColors?.base.ornamentSecondaryPressed;
18018
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18019
+ : semanticColors?.base.ornamentSecondaryInteraction;
17911
18020
  return css$2 `
17912
18021
  & > .MuiButtonBase-root {
17913
18022
  padding: ${spaces?.s}px ${spaces?.l}px !important;
@@ -17972,16 +18081,16 @@ const StyledAccordion = styled$2(Accordion, {
17972
18081
  width: 100%;
17973
18082
  box-shadow: none;
17974
18083
  background: ${hasInvertedStyle
17975
- ? semanticColors?.base.fillHoverOnDark
17976
- : semanticColors?.base.fillHover};
18084
+ ? semanticColors?.base.fillInteractionOnDark
18085
+ : semanticColors?.base.fillInteraction};
17977
18086
  color: ${hasInvertedStyle
17978
18087
  ? semanticColors?.base.textPrimaryOnDark
17979
18088
  : semanticColors?.base.textPrimary};
17980
18089
 
17981
18090
  svg {
17982
18091
  color: ${hasInvertedStyle
17983
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
17984
- : semanticColors?.base.ornamentSecondaryHover} !important;
18092
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18093
+ : semanticColors?.base.ornamentSecondaryInteraction} !important;
17985
18094
  }
17986
18095
  }
17987
18096
 
@@ -18184,8 +18293,8 @@ const StyledHoverDrawerItem = styled$2(Button, {
18184
18293
  box-shadow: none;
18185
18294
  cursor: pointer;
18186
18295
  background: ${hasInvertedStyle
18187
- ? semanticColors?.base.fillHoverOnDark
18188
- : semanticColors?.base.fillHover};
18296
+ ? semanticColors?.base.fillInteractionOnDark
18297
+ : semanticColors?.base.fillInteraction};
18189
18298
  svg {
18190
18299
  color: ${semanticColors?.accent?.ornament};
18191
18300
  }
@@ -18359,8 +18468,8 @@ const NarrowPrimaryNavItem = (props) => {
18359
18468
  const semanticColors = getSemanticColors(props);
18360
18469
  const corners = getCorners(props);
18361
18470
  const ChevronHoverColor = hasInvertedStyle
18362
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18363
- : semanticColors?.base.ornamentSecondaryHover;
18471
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18472
+ : semanticColors?.base.ornamentSecondaryInteraction;
18364
18473
  return css$1 `
18365
18474
  border-radius: ${corners?.l}px;
18366
18475
  justify-content: start;
@@ -18385,8 +18494,8 @@ const NarrowPrimaryNavItem = (props) => {
18385
18494
  `
18386
18495
  : css$1 `
18387
18496
  background: ${hasInvertedStyle
18388
- ? semanticColors?.base.fillHoverOnDark
18389
- : semanticColors?.base.fillHover};
18497
+ ? semanticColors?.base.fillInteractionOnDark
18498
+ : semanticColors?.base.fillInteraction};
18390
18499
  `}
18391
18500
  box-shadow: none;
18392
18501
 
@@ -18418,11 +18527,11 @@ styled$2(Button, {
18418
18527
  ? semanticColors?.base.ornamentSecondaryOnDark
18419
18528
  : semanticColors?.base.ornamentSecondary;
18420
18529
  const ChevronHoverColor = hasInvertedStyle
18421
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18422
- : semanticColors?.base.ornamentSecondaryHover;
18530
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18531
+ : semanticColors?.base.ornamentSecondaryInteraction;
18423
18532
  const ChevronOpenColor = hasInvertedStyle
18424
- ? semanticColors?.base.ornamentSecondaryPressedOnDark
18425
- : semanticColors?.base.ornamentSecondaryPressed;
18533
+ ? semanticColors?.base.ornamentSecondaryInteractionOnDark
18534
+ : semanticColors?.base.ornamentSecondaryInteraction;
18426
18535
  return css$1 `
18427
18536
  border: none;
18428
18537
  padding: ${spaces?.xxxs}px ${spaces?.m}px;
@@ -18439,8 +18548,8 @@ styled$2(Button, {
18439
18548
 
18440
18549
  &:hover {
18441
18550
  background: ${hasInvertedStyle
18442
- ? semanticColors?.base.fillHoverOnDark
18443
- : semanticColors?.base.fillHover} !important;
18551
+ ? semanticColors?.base.fillInteractionOnDark
18552
+ : semanticColors?.base.fillInteraction} !important;
18444
18553
  box-shadow: none;
18445
18554
 
18446
18555
  ${StyledLabel$1} {
@@ -18520,8 +18629,8 @@ const NarrowNavItemStyles = (props) => {
18520
18629
  const semanticColors = getSemanticColors(props);
18521
18630
  const corners = getCorners(props);
18522
18631
  const ChevronHoverColor = hasInvertedStyle
18523
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18524
- : semanticColors?.base.ornamentSecondaryHover;
18632
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18633
+ : semanticColors?.base?.ornamentSecondaryInteraction;
18525
18634
  return css$1 `
18526
18635
  ${active ? fontBodySemiboldL(props) : fontBodyMediumL(props)}
18527
18636
  border-radius: ${corners?.l}px;
@@ -18548,8 +18657,8 @@ const NarrowNavItemStyles = (props) => {
18548
18657
  `
18549
18658
  : css$1 `
18550
18659
  background: ${hasInvertedStyle
18551
- ? semanticColors?.base.fillHoverOnDark
18552
- : semanticColors?.base.fillHover};
18660
+ ? semanticColors?.base.fillInteractionOnDark
18661
+ : semanticColors?.base.fillInteraction};
18553
18662
  `}
18554
18663
  box-shadow: none;
18555
18664
 
@@ -18589,11 +18698,11 @@ const UnifiedNavItem = styled$2(Button, {
18589
18698
  ? semanticColors?.base.ornamentSecondaryOnDark
18590
18699
  : semanticColors?.base.ornamentSecondary;
18591
18700
  const ChevronHoverColor = hasInvertedStyle
18592
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18593
- : semanticColors?.base.ornamentSecondaryHover;
18701
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18702
+ : semanticColors?.base.ornamentSecondaryInteraction;
18594
18703
  const ChevronOpenColor = hasInvertedStyle
18595
- ? semanticColors?.base.ornamentSecondaryPressedOnDark
18596
- : semanticColors?.base.ornamentSecondaryPressed;
18704
+ ? semanticColors?.base.ornamentSecondaryInteractionOnDark
18705
+ : semanticColors?.base.ornamentSecondaryInteraction;
18597
18706
  return [
18598
18707
  navVariant === "secondary" &&
18599
18708
  (active ? fontBodySemiboldS(props) : fontBodyMediumS(props)),
@@ -18621,8 +18730,8 @@ const UnifiedNavItem = styled$2(Button, {
18621
18730
 
18622
18731
  &:hover {
18623
18732
  background: ${hasInvertedStyle
18624
- ? semanticColors?.base.fillHoverOnDark
18625
- : semanticColors?.base.fillHover} !important;
18733
+ ? semanticColors?.base.fillInteractionOnDark
18734
+ : semanticColors?.base.fillInteraction} !important;
18626
18735
  box-shadow: none;
18627
18736
 
18628
18737
  ${navVariant === "primary" && StyledLabel} {
@@ -18717,7 +18826,7 @@ const StyledSectionHeader = styled$2(ListSubheader, {
18717
18826
  ? semanticColors?.base.backgroundPrimaryDark
18718
18827
  : semanticColors?.base.backgroundPrimary;
18719
18828
  }
18720
- return semanticColors?.base?.surface;
18829
+ return semanticColors?.base?.surfacePrimary;
18721
18830
  }
18722
18831
  function getTextColor() {
18723
18832
  if (isNarrow) {
@@ -18778,7 +18887,7 @@ const StyledAccordionSection = styled$2("div", {
18778
18887
  border-radius: ${corners?.xl}px;
18779
18888
  padding: ${spaces?.l}px;
18780
18889
  background-color: ${hasInvertedStyle
18781
- ? semanticColors?.base?.backgroundSecondaryOnDark
18890
+ ? semanticColors?.base?.backgroundSecondaryDark
18782
18891
  : semanticColors?.base?.backgroundSecondary};
18783
18892
  `;
18784
18893
  }
@@ -19414,8 +19523,8 @@ const NarrowStyledTextItem = (props) => {
19414
19523
  &:hover {
19415
19524
  box-shadow: none;
19416
19525
  background: ${hasInvertedStyle
19417
- ? semanticColors?.base.fillHoverOnDark
19418
- : semanticColors?.base.fillHover};
19526
+ ? semanticColors?.base.fillInteractionOnDark
19527
+ : semanticColors?.base.fillInteraction};
19419
19528
  }
19420
19529
  `;
19421
19530
  };
@@ -19447,11 +19556,11 @@ styled$2(Button, {
19447
19556
  ? semanticColors?.base.ornamentSecondaryOnDark
19448
19557
  : semanticColors?.base.ornamentSecondary;
19449
19558
  const ChevronHoverColor = hasInvertedStyle
19450
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
19451
- : semanticColors?.base.ornamentSecondaryHover;
19559
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
19560
+ : semanticColors?.base.ornamentSecondaryInteraction;
19452
19561
  const ChevronOpenColor = hasInvertedStyle
19453
- ? semanticColors?.base?.ornamentSecondaryPressedOnDark
19454
- : semanticColors?.base.ornamentSecondaryPressed;
19562
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
19563
+ : semanticColors?.base.ornamentSecondaryInteraction;
19455
19564
  return [
19456
19565
  open ? fontBodySemiboldS(props) : fontBodyMediumS(props),
19457
19566
  css$1 `
@@ -19472,8 +19581,8 @@ styled$2(Button, {
19472
19581
 
19473
19582
  &:hover {
19474
19583
  background: ${hasInvertedStyle
19475
- ? semanticColors?.base.fillHoverOnDark
19476
- : semanticColors?.base.fillHover};
19584
+ ? semanticColors?.base.fillInteractionOnDark
19585
+ : semanticColors?.base.fillInteraction};
19477
19586
  box-shadow: none;
19478
19587
 
19479
19588
  color: ${hasInvertedStyle
@@ -20025,7 +20134,7 @@ const StyledTabs$1 = styled$2(Tabs, {
20025
20134
  const StyledTab$1 = styled$2(Tab, {
20026
20135
  shouldForwardProp: (prop) => !doNotForwardProps$5.includes(prop)
20027
20136
  }) `
20028
- ${fontBodyXs$2}
20137
+ ${fontBodyMediumXs}
20029
20138
 
20030
20139
  ${(props) => {
20031
20140
  const spaces = getSpaces(props);
@@ -20052,20 +20161,20 @@ const StyledTab$1 = styled$2(Tab, {
20052
20161
  left: 0;
20053
20162
  width: ${spaces?.xxxs}px;
20054
20163
  height: 100%;
20055
- background-color: ${semanticColors?.base?.borderPrimaryHover};
20164
+ background-color: ${semanticColors?.base?.borderPrimaryInteraction};
20056
20165
  display: none;
20057
20166
  border-radius: ${spaces?.xxxs}px;
20058
20167
  }
20059
20168
  &:hover {
20060
20169
  color: ${semanticColors?.base?.textPrimary};
20061
- background-color: ${semanticColors?.base?.fillHover};
20170
+ background-color: ${semanticColors?.base?.fillInteraction};
20062
20171
  &:before {
20063
20172
  display: block;
20064
20173
  }
20065
20174
  }
20066
20175
  &.Mui-selected {
20067
20176
  color: ${semanticColors?.base?.textPrimary};
20068
- font-weight: 500;
20177
+ font-weight: 600;
20069
20178
  }
20070
20179
  &.MuiButtonBase-root {
20071
20180
  text-align: left;
@@ -20377,7 +20486,7 @@ const StyledPaginationButton = styled$2(Button) `
20377
20486
 
20378
20487
  &:hover {
20379
20488
  & .MuiSvgIcon-root {
20380
- color: ${semanticColors?.base?.ornamentSecondaryHover}
20489
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction}
20381
20490
  }
20382
20491
  }
20383
20492
  `;
@@ -20413,10 +20522,10 @@ const StyledPaginationChevronList = styled$2("li", {
20413
20522
  }
20414
20523
 
20415
20524
  &:hover {
20416
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
20525
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
20417
20526
 
20418
20527
  & .MuiSvgIcon-root {
20419
- color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.ornamentSecondaryHover}
20528
+ color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.ornamentSecondaryInteraction}
20420
20529
  }
20421
20530
  }
20422
20531
 
@@ -20438,28 +20547,29 @@ const StyledPagination = styled$2("ul", {
20438
20547
  `;
20439
20548
  const selectedPageStyle = (props) => {
20440
20549
  const semanticColors = getSemanticColors(props);
20441
- return `
20442
- background-color: ${semanticColors?.base?.fillOpen};
20550
+ return css$1 `
20551
+ background-color: ${semanticColors?.base?.fillInteraction};
20443
20552
  color: ${semanticColors?.base?.textPrimary};
20444
- font-weight: 500;
20445
20553
  box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
20446
20554
 
20447
20555
  &:hover {
20448
20556
  box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
20449
20557
  }
20558
+
20559
+ ${fontTabularSemiboldS(props)}
20450
20560
  `;
20451
20561
  };
20452
20562
  const Page = styled$2("li", {
20453
20563
  shouldForwardProp: (prop) => !doNotForwardProps$3.includes(prop)
20454
20564
  }) `
20455
- ${fontTabularS}
20565
+ ${fontTabularMediumS}
20456
20566
 
20457
20567
  ${(props) => {
20458
20568
  const { selected, sdsStyle } = props;
20459
20569
  const spaces = getSpaces(props);
20460
20570
  const corners = getCorners(props);
20461
20571
  const semanticColors = getSemanticColors(props);
20462
- return `
20572
+ return css$1 `
20463
20573
  color: ${semanticColors?.base?.textSecondary};
20464
20574
  cursor: pointer;
20465
20575
  list-style: none;
@@ -20473,15 +20583,15 @@ const Page = styled$2("li", {
20473
20583
  border-radius: ${sdsStyle === "round" ? corners?.rounded : corners?.l}px;
20474
20584
  user-select: none;
20475
20585
  &:hover {
20476
- background-color: ${semanticColors?.base?.fillHover};
20586
+ background-color: ${semanticColors?.base?.fillInteraction};
20477
20587
  color: ${semanticColors?.base?.textPrimary};
20478
20588
  }
20479
20589
 
20480
- &:nth-last-of-type(-n+2) {
20590
+ &:nth-last-of-type(-n + 2) {
20481
20591
  margin-right: 0;
20482
20592
  }
20483
20593
 
20484
- ${selected && selectedPageStyle(props)};
20594
+ ${selected && selectedPageStyle(props)}
20485
20595
  ${focusVisibleA11yStyle(props)}
20486
20596
  `;
20487
20597
  }}
@@ -20804,7 +20914,7 @@ styled$2(ToggleButtonGroup, {
20804
20914
  padding: ${spaces?.xxxs}px;
20805
20915
 
20806
20916
  &:hover {
20807
- box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryHover};
20917
+ box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryInteraction};
20808
20918
  }
20809
20919
 
20810
20920
  .${toggleButtonClasses.root}.${toggleButtonClasses.disabled} {
@@ -20812,13 +20922,13 @@ styled$2(ToggleButtonGroup, {
20812
20922
  }
20813
20923
 
20814
20924
  .${toggleButtonClasses.root}.${toggleButtonClasses.selected} {
20815
- background-color: ${semanticColors?.base?.fillOpen};
20925
+ background-color: ${semanticColors?.base?.fillInteraction};
20816
20926
  color: ${semanticColors?.accent?.ornamentSelected};
20817
20927
  border-color: ${semanticColors?.base?.borderPrimary};
20818
20928
 
20819
20929
  &:hover {
20820
- background-color: ${semanticColors?.base?.fillHover};
20821
- color: ${semanticColors?.base?.ornamentSecondaryHover};
20930
+ background-color: ${semanticColors?.base?.fillInteraction};
20931
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
20822
20932
  }
20823
20933
  }
20824
20934
 
@@ -20834,8 +20944,8 @@ styled$2(ToggleButtonGroup, {
20834
20944
 
20835
20945
  &:hover {
20836
20946
  border-color: ${semanticColors?.base?.borderPrimary};
20837
- background-color: ${semanticColors?.base?.fillHover};
20838
- color: ${semanticColors?.base?.ornamentSecondaryHover};
20947
+ background-color: ${semanticColors?.base?.fillInteraction};
20948
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
20839
20949
  }
20840
20950
  }
20841
20951
  `;
@@ -20891,6 +21001,7 @@ const disabledStyled = (props) => {
20891
21001
 
20892
21002
  & span, & div {
20893
21003
  color: ${semanticColors?.base?.textDisabled};
21004
+ background-color: transparent !important;
20894
21005
  }
20895
21006
 
20896
21007
  .cell-component {
@@ -20899,11 +21010,12 @@ const disabledStyled = (props) => {
20899
21010
  user-select: none;
20900
21011
  & div {
20901
21012
  color: ${semanticColors?.base?.textDisabled};
20902
- background-color: ${semanticColors?.base?.backgroundSecondary};
21013
+ background-color: transparent;
20903
21014
  }
20904
21015
 
20905
21016
  & .MuiChip-root {
20906
21017
  background-color: ${semanticColors?.base?.fillDisabled};
21018
+ box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryDisabled} !important;
20907
21019
 
20908
21020
  & span {
20909
21021
  color: ${semanticColors?.base?.textDisabled} !important;
@@ -20922,7 +21034,7 @@ const hoverStyled = (props) => {
20922
21034
  const semanticColors = getSemanticColors(props);
20923
21035
  return `
20924
21036
  &:hover {
20925
- background-color: ${semanticColors?.base?.fillHover};
21037
+ background-color: ${semanticColors?.base?.fillInteraction};
20926
21038
  }
20927
21039
  `;
20928
21040
  };
@@ -21023,8 +21135,8 @@ const StyledTab = styled$2(Tab, {
21023
21135
  color: ${semanticColors?.base?.textSecondary};
21024
21136
 
21025
21137
  &:hover {
21026
- box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.borderPrimaryHover};
21027
- background-color: ${semanticColors?.base?.fillOpen};
21138
+ box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.borderPrimaryInteraction};
21139
+ background-color: ${semanticColors?.base?.fillInteraction};
21028
21140
  border-top-right-radius: ${corners?.l}px;
21029
21141
  border-top-left-radius: ${corners?.l}px;
21030
21142
 
@@ -21054,7 +21166,7 @@ const StyledTab = styled$2(Tab, {
21054
21166
  function tabFontMixin(props) {
21055
21167
  const { sdsSize } = props;
21056
21168
  const isLarge = sdsSize === "large";
21057
- return isLarge ? fontBodyS$1(props) : fontBodyXs$2(props);
21169
+ return isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props);
21058
21170
  }
21059
21171
  const StyledWrapper = styled$2("div") `
21060
21172
  ${(props) => {
@@ -21073,7 +21185,7 @@ const StyledCount = styled$2("span") `
21073
21185
  const { sdsSize } = props;
21074
21186
  const isLarge = sdsSize === "large";
21075
21187
  return css$1 `
21076
- ${isLarge ? fontBodyS$1(props) : fontBodyXs$2(props)}
21188
+ ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21077
21189
  `;
21078
21190
  }}
21079
21191
  `;
@@ -21082,9 +21194,9 @@ const StyledLabelTextWrapper = styled$2("span") `
21082
21194
  const { sdsSize, selected } = props;
21083
21195
  const isLarge = sdsSize === "large";
21084
21196
  return css$1 `
21085
- ${isLarge ? fontBodyS$1(props) : fontBodyXs$2(props)}
21197
+ ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21086
21198
  ${selected &&
21087
- (isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props))}
21199
+ (isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props))}
21088
21200
  position: absolute;
21089
21201
  `;
21090
21202
  }}
@@ -21094,7 +21206,7 @@ const StyledLabelTextWrapperShadow = styled$2("span") `
21094
21206
  const { sdsSize } = props;
21095
21207
  const isLarge = sdsSize === "large";
21096
21208
  return css$1 `
21097
- ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21209
+ ${isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props)}
21098
21210
  visibility: hidden;
21099
21211
  opacity: 0;
21100
21212
  `;
@@ -24774,7 +24886,7 @@ Object.assign(chroma, {
24774
24886
  const generateDiscreteColors = (count, options = {}) => {
24775
24887
  if (count === 0)
24776
24888
  return [];
24777
- const { isDarkMode = false, start = 250, rotations = 0.85, gamma = 0.7, lightness = [0.4, 0.7], correctLightness = true, } = options;
24889
+ const { isDarkMode = false, start = 240, rotations = 0.85, gamma = 1, lightness = [0.4, 0.7], correctLightness = true, } = options;
24778
24890
  let scale = chroma
24779
24891
  .cubehelix()
24780
24892
  .start(start)