@czi-sds/data-viz 0.16.0 → 0.16.2

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
  }
@@ -8617,6 +8634,9 @@ styled$2("div") `
8617
8634
  const spaces = getSpaces(props);
8618
8635
  return `
8619
8636
  margin-top: ${spaces?.s}px;
8637
+ display: flex;
8638
+ flex-wrap: wrap;
8639
+ gap: ${spaces?.xxs}px;
8620
8640
  `;
8621
8641
  }}
8622
8642
  `;
@@ -8644,30 +8664,38 @@ const doNotForwardProps$r = [
8644
8664
  "cardSdsType",
8645
8665
  "classes",
8646
8666
  ];
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"
8667
+ const getFlexDirection = (sdsType, visualElementType, imagePosition) => {
8668
+ return sdsType === "wide" && visualElementType === "image"
8656
8669
  ? imagePosition === "left"
8657
8670
  ? "row"
8658
8671
  : "row-reverse"
8659
8672
  : visualElementType === "icon"
8660
8673
  ? "row"
8661
8674
  : "column";
8662
- const showDecorativeBorder = visualElementType === "image"
8675
+ };
8676
+ const getShowDecorativeBorder = (visualElementType, boundingBox, decorativeBorder, imagePadding) => {
8677
+ return visualElementType === "image"
8663
8678
  ? boundingBox && decorativeBorder && imagePadding
8664
8679
  : boundingBox && decorativeBorder;
8680
+ };
8681
+ const StyledCard = styled$2(Card, {
8682
+ shouldForwardProp: (prop) => !doNotForwardProps$r.includes(prop)
8683
+ }) `
8684
+ ${(props) => {
8685
+ const { imagePosition = "left", sdsType = "wide", boundingBox = true, decorativeBorder = false, imagePadding = false, visualElementType, clickableCard = false, } = props;
8686
+ const semanticColors = getSemanticColors(props);
8687
+ const corners = getCorners(props);
8688
+ const shadows = getShadows(props);
8689
+ const spaces = getSpaces(props);
8690
+ const flexDirection = getFlexDirection(sdsType, visualElementType, imagePosition);
8691
+ const showDecorativeBorder = getShowDecorativeBorder(visualElementType, boundingBox, decorativeBorder, imagePadding);
8665
8692
  return css$1 `
8693
+ position: relative;
8666
8694
  display: flex;
8667
8695
  background-color: transparent;
8668
8696
  background-image: none;
8669
8697
  flex-direction: ${flexDirection};
8670
- overflow: auto;
8698
+ overflow: visible;
8671
8699
  box-shadow: none;
8672
8700
  border-radius: ${corners?.xl}px;
8673
8701
 
@@ -8686,16 +8714,47 @@ const StyledCard = styled$2(Card, {
8686
8714
  background-color: ${semanticColors?.base?.backgroundPrimary};
8687
8715
  `}
8688
8716
 
8717
+ ${showDecorativeBorder &&
8718
+ css$1 `
8719
+ &:before {
8720
+ content: "";
8721
+ position: absolute;
8722
+ background-color: ${semanticColors?.accent?.border};
8723
+
8724
+ ${sdsType === "wide" &&
8725
+ css$1 `
8726
+ top: -1px;
8727
+ bottom: -1px;
8728
+ left: -1px;
8729
+ width: ${spaces?.xs}px;
8730
+ border-top-left-radius: ${corners?.xl}px;
8731
+ border-bottom-left-radius: ${corners?.xl}px;
8732
+ `}
8733
+
8734
+ ${sdsType === "narrow" &&
8735
+ css$1 `
8736
+ height: ${spaces?.xs}px;
8737
+ top: -1px;
8738
+ left: -1px;
8739
+ right: -1px;
8740
+ border-top-left-radius: ${corners?.xl}px;
8741
+ border-top-right-radius: ${corners?.xl}px;
8742
+ `}
8743
+ }
8744
+ `}
8745
+
8689
8746
  ${sdsType === "wide" &&
8690
8747
  showDecorativeBorder &&
8691
8748
  css$1 `
8692
- border-left: 4px solid ${semanticColors?.accent?.border};
8749
+ border-top-left-radius: ${corners?.l}px;
8750
+ border-bottom-left-radius: ${corners?.l}px;
8693
8751
  `}
8694
8752
 
8695
8753
  ${sdsType === "narrow" &&
8696
8754
  showDecorativeBorder &&
8697
8755
  css$1 `
8698
- border-top: 4px solid ${semanticColors?.accent?.border};
8756
+ border-top-left-radius: ${corners?.l}px;
8757
+ border-top-right-radius: ${corners?.l}px;
8699
8758
  `}
8700
8759
  `;
8701
8760
  }}
@@ -8728,7 +8787,7 @@ const StyledCardActionArea = styled$2(Button, {
8728
8787
 
8729
8788
  &:hover,
8730
8789
  &:active {
8731
- background-color: ${semanticColors?.base?.surface};
8790
+ background-color: ${semanticColors?.base?.surfacePrimary};
8732
8791
  }
8733
8792
  `;
8734
8793
  }}
@@ -8968,9 +9027,13 @@ const StyledImageMediaWrapper = styled$3("div", {
8968
9027
  ${(props) => {
8969
9028
  const { imagePadding = false, boundingBox = true, sdsType = "wide", imagePosition = "left", } = props;
8970
9029
  const spaces = getSpaces(props);
9030
+ const corners = getCorners(props);
8971
9031
  return css$2 `
8972
9032
  display: flex;
8973
9033
  align-items: start;
9034
+ border-top-left-radius: calc(${corners?.xl}px - 1px);
9035
+ border-bottom-left-radius: calc(${corners?.xl}px - 1px);
9036
+ overflow: hidden;
8974
9037
 
8975
9038
  ${boundingBox
8976
9039
  ? imagePadding
@@ -9005,6 +9068,8 @@ const StyledImageMediaWrapper = styled$3("div", {
9005
9068
  `}
9006
9069
 
9007
9070
  justify-content: center;
9071
+ border-top-left-radius: calc(${corners?.xl}px - 1px);
9072
+ border-top-right-radius: calc(${corners?.xl}px - 1px);
9008
9073
  `}
9009
9074
  `;
9010
9075
  }}
@@ -9145,7 +9210,7 @@ const StyledPaper = styled$2(Paper, {
9145
9210
  const semanticColors = getSemanticColors(props);
9146
9211
  const isSmall = sdsSize === "xs" || sdsSize === "s";
9147
9212
  return `
9148
- background-color: ${semanticColors?.base?.surface};
9213
+ background-color: ${semanticColors?.base?.surfacePrimary};
9149
9214
  background-image: none;
9150
9215
  box-shadow: ${shadows?.l};
9151
9216
  max-height: calc(100vh - ${2 * (spaces?.xxxl || 40)}px);
@@ -9787,12 +9852,11 @@ const disabledStyles$1 = (props) => {
9787
9852
  styled$2(FormControlLabel) `
9788
9853
  ${(props) => {
9789
9854
  const { disabled } = props;
9790
- const spaces = getSpaces(props);
9791
9855
  const semanticColors = getSemanticColors(props);
9792
9856
  const borders = getBorders(props);
9793
9857
  return `
9794
9858
  align-items: start;
9795
- margin-bottom: ${spaces?.l}px;
9859
+ margin-bottom: 0;
9796
9860
  margin-left: 0;
9797
9861
  margin-right: 0;
9798
9862
  width: fit-content;
@@ -9800,7 +9864,7 @@ styled$2(FormControlLabel) `
9800
9864
  &:hover {
9801
9865
  ${StyledCheckboxDefaultIcon} {
9802
9866
  border: ${borders?.base?.hover};
9803
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
9867
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
9804
9868
  }
9805
9869
 
9806
9870
  ${StyledCheckboxCheckedIcon} {
@@ -9937,19 +10001,18 @@ const disabledStyles = (props) => {
9937
10001
  styled$2(FormControlLabel) `
9938
10002
  ${(props) => {
9939
10003
  const { disabled } = props;
9940
- const spaces = getSpaces(props);
9941
10004
  const semanticColors = getSemanticColors(props);
9942
10005
  return `
9943
10006
  align-items: start;
9944
- margin-bottom: ${spaces?.l}px;
10007
+ margin-bottom: 0;
9945
10008
  margin-left: 0;
9946
10009
  margin-right: 0;
9947
10010
  width: fit-content;
9948
10011
 
9949
10012
  &:hover {
9950
10013
  ${StyledRadioDefaultIcon} {
9951
- border: 1px solid ${semanticColors?.base?.borderPrimaryHover};
9952
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
10014
+ border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
10015
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
9953
10016
  }
9954
10017
 
9955
10018
  ${StyledRadioCheckedIcon} {
@@ -9959,7 +10022,7 @@ styled$2(FormControlLabel) `
9959
10022
 
9960
10023
  &:active {
9961
10024
  ${StyledRadioDefaultIcon} {
9962
- border: 1px solid ${semanticColors?.base?.borderPrimaryPressed};
10025
+ border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
9963
10026
  }
9964
10027
 
9965
10028
  ${StyledRadioCheckedIcon} {
@@ -10217,12 +10280,12 @@ const textArea = (props) => {
10217
10280
  };
10218
10281
  const StyledLabel$2 = styled$2("label") `
10219
10282
  display: block;
10220
- ${fontBodyS$1}
10283
+ ${fontBodySemiboldXxxs}
10221
10284
 
10222
10285
  ${(props) => {
10223
10286
  const spaces = getSpaces(props);
10224
10287
  return `
10225
- margin-bottom: ${spaces?.xxs}px;
10288
+ margin-bottom: ${spaces?.s}px;
10226
10289
  `;
10227
10290
  }}
10228
10291
  `;
@@ -10238,8 +10301,6 @@ const StyledInputBase = styled$2(TextField, {
10238
10301
  const corners = getCorners(props);
10239
10302
  const semanticColors = getSemanticColors(props);
10240
10303
  return css$1 `
10241
- margin-bottom: ${spaces?.l}px;
10242
- margin-right: ${spaces?.m}px;
10243
10304
  display: block;
10244
10305
 
10245
10306
  .${outlinedInputClasses.root} {
@@ -10276,7 +10337,7 @@ const StyledInputBase = styled$2(TextField, {
10276
10337
  .${outlinedInputClasses.root}:hover
10277
10338
  .${outlinedInputClasses.notchedOutline} {
10278
10339
  border: ${borders?.base?.hover};
10279
- background-color: ${semanticColors?.base?.fillHover};
10340
+ background-color: ${semanticColors?.base?.fillInteraction};
10280
10341
  }
10281
10342
 
10282
10343
  .${outlinedInputClasses.root}.${outlinedInputClasses.focused}
@@ -10455,7 +10516,7 @@ const toggleOff = (props) => {
10455
10516
  }
10456
10517
 
10457
10518
  &:hover {
10458
- background-color: ${semanticColors?.base?.fillHover};
10519
+ background-color: ${semanticColors?.base?.fillInteraction};
10459
10520
  }
10460
10521
  }
10461
10522
 
@@ -10477,7 +10538,7 @@ const toggleOff = (props) => {
10477
10538
  outline: ${borders?.base?.hover};
10478
10539
 
10479
10540
  .${switchClasses.thumb} {
10480
- color: ${semanticColors?.base?.ornamentSecondaryHover};
10541
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
10481
10542
  }
10482
10543
  }`}
10483
10544
  `;
@@ -10493,6 +10554,57 @@ styled$2(Switch) `
10493
10554
  }}
10494
10555
  `;
10495
10556
 
10557
+ styled$2.div `
10558
+ display: flex;
10559
+ flex-direction: column;
10560
+ ${(props) => {
10561
+ const spaces = getSpaces(props);
10562
+ const semanticColors = getSemanticColors(props);
10563
+ const borderThickness = 2;
10564
+ const borderColor = props.borderIntent
10565
+ ? semanticColors?.[props.borderIntent]?.border
10566
+ : "transparent";
10567
+ return `
10568
+ gap: ${spaces?.s}px;
10569
+ position: relative;
10570
+
10571
+ &::before {
10572
+ content: "";
10573
+ position: absolute;
10574
+ left: -${(spaces?.xs || 0) + borderThickness}px;
10575
+ top: 0;
10576
+ bottom: 0;
10577
+ width: ${borderThickness}px;
10578
+ background-color: ${borderColor};
10579
+ display: ${props.hasBorder ? "block" : "none"};
10580
+ }
10581
+ `;
10582
+ }}
10583
+ `;
10584
+ styled$2.div `
10585
+ ${fontBodySemiboldXxxs}
10586
+ display: flex;
10587
+ align-items: start;
10588
+
10589
+ ${(props) => {
10590
+ const spaces = getSpaces(props);
10591
+ const semanticColors = getSemanticColors(props);
10592
+ const intentColors = semanticColors?.[props.intent];
10593
+ return `
10594
+ gap: ${spaces?.xs}px;
10595
+ color: ${intentColors?.text};
10596
+
10597
+ svg {
10598
+ margin-top: ${spaces?.xxxs}px;
10599
+ fill: ${intentColors?.ornament};
10600
+ path {
10601
+ fill: ${intentColors?.ornament};
10602
+ }
10603
+ }
10604
+ `;
10605
+ }}
10606
+ `;
10607
+
10496
10608
  const LegendContainer = styled$2("div") `
10497
10609
  display: flex;
10498
10610
  flex-wrap: wrap;
@@ -10915,7 +11027,7 @@ const StyledMenu = styled$2(Menu$1) `
10915
11027
  const corners = getCorners(props);
10916
11028
  const semanticColors = getSemanticColors(props);
10917
11029
  return `
10918
- background-color: ${semanticColors?.base?.surface};
11030
+ background-color: ${semanticColors?.base?.surfacePrimary};
10919
11031
  background-image: none;
10920
11032
  padding: ${spaces?.xs}px;
10921
11033
  border-radius: ${corners?.l}px;
@@ -17196,7 +17308,7 @@ const NarrowNavItemLinkStyles = (props) => {
17196
17308
  ? semanticColors?.base.textPrimaryOnDark
17197
17309
  : semanticColors?.base.textPrimary};
17198
17310
  background: ${props.hasInvertedStyle
17199
- ? semanticColors?.base.backgroundSecondaryOnDark
17311
+ ? semanticColors?.base.backgroundSecondaryDark
17200
17312
  : semanticColors?.base.backgroundSecondary};
17201
17313
  }
17202
17314
  `;
@@ -17222,11 +17334,11 @@ const StyledNavItemLink = styled$2(Link, {
17222
17334
 
17223
17335
  &:hover {
17224
17336
  color: ${props.hasInvertedStyle
17225
- ? semanticColors?.base.textPrimaryOnDark
17226
- : semanticColors?.base.textPrimary};
17337
+ ? semanticColors?.base?.textPrimaryOnDark
17338
+ : semanticColors?.base?.textPrimary};
17227
17339
  background-color: ${props.hasInvertedStyle
17228
- ? semanticColors?.base.fillHoverOnDark
17229
- : semanticColors?.base.fillHover};
17340
+ ? semanticColors?.base?.fillInteractionOnDark
17341
+ : semanticColors?.base?.fillInteraction};
17230
17342
  text-decoration: none;
17231
17343
  }
17232
17344
 
@@ -17693,7 +17805,7 @@ const StyledSearch = styled$2(InputSearch, {
17693
17805
  &:hover {
17694
17806
  fieldset {
17695
17807
  border-color: ${hasInvertedStyle
17696
- ? semanticColors?.base?.borderPrimaryHoverOnDark
17808
+ ? semanticColors?.base?.borderPrimaryInteractionOnDark
17697
17809
  : ""} !important;
17698
17810
  }
17699
17811
 
@@ -17711,7 +17823,7 @@ const StyledSearch = styled$2(InputSearch, {
17711
17823
  &.Mui-focused {
17712
17824
  fieldset {
17713
17825
  border-color: ${hasInvertedStyle
17714
- ? semanticColors?.base?.borderPrimaryPressedOnDark
17826
+ ? semanticColors?.base?.borderPrimaryInteractionOnDark
17715
17827
  : ""} !important;
17716
17828
  }
17717
17829
 
@@ -17906,8 +18018,8 @@ const StyledAccordion = styled$2(Accordion, {
17906
18018
  ? semanticColors?.base.ornamentSecondaryOnDark
17907
18019
  : semanticColors?.base.ornamentSecondary;
17908
18020
  const ChevronOpenColor = hasInvertedStyle
17909
- ? semanticColors?.base?.ornamentSecondaryPressedOnDark
17910
- : semanticColors?.base.ornamentSecondaryPressed;
18021
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18022
+ : semanticColors?.base.ornamentSecondaryInteraction;
17911
18023
  return css$2 `
17912
18024
  & > .MuiButtonBase-root {
17913
18025
  padding: ${spaces?.s}px ${spaces?.l}px !important;
@@ -17972,16 +18084,16 @@ const StyledAccordion = styled$2(Accordion, {
17972
18084
  width: 100%;
17973
18085
  box-shadow: none;
17974
18086
  background: ${hasInvertedStyle
17975
- ? semanticColors?.base.fillHoverOnDark
17976
- : semanticColors?.base.fillHover};
18087
+ ? semanticColors?.base.fillInteractionOnDark
18088
+ : semanticColors?.base.fillInteraction};
17977
18089
  color: ${hasInvertedStyle
17978
18090
  ? semanticColors?.base.textPrimaryOnDark
17979
18091
  : semanticColors?.base.textPrimary};
17980
18092
 
17981
18093
  svg {
17982
18094
  color: ${hasInvertedStyle
17983
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
17984
- : semanticColors?.base.ornamentSecondaryHover} !important;
18095
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18096
+ : semanticColors?.base.ornamentSecondaryInteraction} !important;
17985
18097
  }
17986
18098
  }
17987
18099
 
@@ -18184,8 +18296,8 @@ const StyledHoverDrawerItem = styled$2(Button, {
18184
18296
  box-shadow: none;
18185
18297
  cursor: pointer;
18186
18298
  background: ${hasInvertedStyle
18187
- ? semanticColors?.base.fillHoverOnDark
18188
- : semanticColors?.base.fillHover};
18299
+ ? semanticColors?.base.fillInteractionOnDark
18300
+ : semanticColors?.base.fillInteraction};
18189
18301
  svg {
18190
18302
  color: ${semanticColors?.accent?.ornament};
18191
18303
  }
@@ -18359,8 +18471,8 @@ const NarrowPrimaryNavItem = (props) => {
18359
18471
  const semanticColors = getSemanticColors(props);
18360
18472
  const corners = getCorners(props);
18361
18473
  const ChevronHoverColor = hasInvertedStyle
18362
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18363
- : semanticColors?.base.ornamentSecondaryHover;
18474
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18475
+ : semanticColors?.base.ornamentSecondaryInteraction;
18364
18476
  return css$1 `
18365
18477
  border-radius: ${corners?.l}px;
18366
18478
  justify-content: start;
@@ -18385,8 +18497,8 @@ const NarrowPrimaryNavItem = (props) => {
18385
18497
  `
18386
18498
  : css$1 `
18387
18499
  background: ${hasInvertedStyle
18388
- ? semanticColors?.base.fillHoverOnDark
18389
- : semanticColors?.base.fillHover};
18500
+ ? semanticColors?.base.fillInteractionOnDark
18501
+ : semanticColors?.base.fillInteraction};
18390
18502
  `}
18391
18503
  box-shadow: none;
18392
18504
 
@@ -18418,11 +18530,11 @@ styled$2(Button, {
18418
18530
  ? semanticColors?.base.ornamentSecondaryOnDark
18419
18531
  : semanticColors?.base.ornamentSecondary;
18420
18532
  const ChevronHoverColor = hasInvertedStyle
18421
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18422
- : semanticColors?.base.ornamentSecondaryHover;
18533
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18534
+ : semanticColors?.base.ornamentSecondaryInteraction;
18423
18535
  const ChevronOpenColor = hasInvertedStyle
18424
- ? semanticColors?.base.ornamentSecondaryPressedOnDark
18425
- : semanticColors?.base.ornamentSecondaryPressed;
18536
+ ? semanticColors?.base.ornamentSecondaryInteractionOnDark
18537
+ : semanticColors?.base.ornamentSecondaryInteraction;
18426
18538
  return css$1 `
18427
18539
  border: none;
18428
18540
  padding: ${spaces?.xxxs}px ${spaces?.m}px;
@@ -18439,8 +18551,8 @@ styled$2(Button, {
18439
18551
 
18440
18552
  &:hover {
18441
18553
  background: ${hasInvertedStyle
18442
- ? semanticColors?.base.fillHoverOnDark
18443
- : semanticColors?.base.fillHover} !important;
18554
+ ? semanticColors?.base.fillInteractionOnDark
18555
+ : semanticColors?.base.fillInteraction} !important;
18444
18556
  box-shadow: none;
18445
18557
 
18446
18558
  ${StyledLabel$1} {
@@ -18520,8 +18632,8 @@ const NarrowNavItemStyles = (props) => {
18520
18632
  const semanticColors = getSemanticColors(props);
18521
18633
  const corners = getCorners(props);
18522
18634
  const ChevronHoverColor = hasInvertedStyle
18523
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18524
- : semanticColors?.base.ornamentSecondaryHover;
18635
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18636
+ : semanticColors?.base?.ornamentSecondaryInteraction;
18525
18637
  return css$1 `
18526
18638
  ${active ? fontBodySemiboldL(props) : fontBodyMediumL(props)}
18527
18639
  border-radius: ${corners?.l}px;
@@ -18548,8 +18660,8 @@ const NarrowNavItemStyles = (props) => {
18548
18660
  `
18549
18661
  : css$1 `
18550
18662
  background: ${hasInvertedStyle
18551
- ? semanticColors?.base.fillHoverOnDark
18552
- : semanticColors?.base.fillHover};
18663
+ ? semanticColors?.base.fillInteractionOnDark
18664
+ : semanticColors?.base.fillInteraction};
18553
18665
  `}
18554
18666
  box-shadow: none;
18555
18667
 
@@ -18589,11 +18701,11 @@ const UnifiedNavItem = styled$2(Button, {
18589
18701
  ? semanticColors?.base.ornamentSecondaryOnDark
18590
18702
  : semanticColors?.base.ornamentSecondary;
18591
18703
  const ChevronHoverColor = hasInvertedStyle
18592
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
18593
- : semanticColors?.base.ornamentSecondaryHover;
18704
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
18705
+ : semanticColors?.base.ornamentSecondaryInteraction;
18594
18706
  const ChevronOpenColor = hasInvertedStyle
18595
- ? semanticColors?.base.ornamentSecondaryPressedOnDark
18596
- : semanticColors?.base.ornamentSecondaryPressed;
18707
+ ? semanticColors?.base.ornamentSecondaryInteractionOnDark
18708
+ : semanticColors?.base.ornamentSecondaryInteraction;
18597
18709
  return [
18598
18710
  navVariant === "secondary" &&
18599
18711
  (active ? fontBodySemiboldS(props) : fontBodyMediumS(props)),
@@ -18621,8 +18733,8 @@ const UnifiedNavItem = styled$2(Button, {
18621
18733
 
18622
18734
  &:hover {
18623
18735
  background: ${hasInvertedStyle
18624
- ? semanticColors?.base.fillHoverOnDark
18625
- : semanticColors?.base.fillHover} !important;
18736
+ ? semanticColors?.base.fillInteractionOnDark
18737
+ : semanticColors?.base.fillInteraction} !important;
18626
18738
  box-shadow: none;
18627
18739
 
18628
18740
  ${navVariant === "primary" && StyledLabel} {
@@ -18717,7 +18829,7 @@ const StyledSectionHeader = styled$2(ListSubheader, {
18717
18829
  ? semanticColors?.base.backgroundPrimaryDark
18718
18830
  : semanticColors?.base.backgroundPrimary;
18719
18831
  }
18720
- return semanticColors?.base?.surface;
18832
+ return semanticColors?.base?.surfacePrimary;
18721
18833
  }
18722
18834
  function getTextColor() {
18723
18835
  if (isNarrow) {
@@ -18778,7 +18890,7 @@ const StyledAccordionSection = styled$2("div", {
18778
18890
  border-radius: ${corners?.xl}px;
18779
18891
  padding: ${spaces?.l}px;
18780
18892
  background-color: ${hasInvertedStyle
18781
- ? semanticColors?.base?.backgroundSecondaryOnDark
18893
+ ? semanticColors?.base?.backgroundSecondaryDark
18782
18894
  : semanticColors?.base?.backgroundSecondary};
18783
18895
  `;
18784
18896
  }
@@ -19414,8 +19526,8 @@ const NarrowStyledTextItem = (props) => {
19414
19526
  &:hover {
19415
19527
  box-shadow: none;
19416
19528
  background: ${hasInvertedStyle
19417
- ? semanticColors?.base.fillHoverOnDark
19418
- : semanticColors?.base.fillHover};
19529
+ ? semanticColors?.base.fillInteractionOnDark
19530
+ : semanticColors?.base.fillInteraction};
19419
19531
  }
19420
19532
  `;
19421
19533
  };
@@ -19447,11 +19559,11 @@ styled$2(Button, {
19447
19559
  ? semanticColors?.base.ornamentSecondaryOnDark
19448
19560
  : semanticColors?.base.ornamentSecondary;
19449
19561
  const ChevronHoverColor = hasInvertedStyle
19450
- ? semanticColors?.base?.ornamentSecondaryHoverOnDark
19451
- : semanticColors?.base.ornamentSecondaryHover;
19562
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
19563
+ : semanticColors?.base.ornamentSecondaryInteraction;
19452
19564
  const ChevronOpenColor = hasInvertedStyle
19453
- ? semanticColors?.base?.ornamentSecondaryPressedOnDark
19454
- : semanticColors?.base.ornamentSecondaryPressed;
19565
+ ? semanticColors?.base?.ornamentSecondaryInteractionOnDark
19566
+ : semanticColors?.base.ornamentSecondaryInteraction;
19455
19567
  return [
19456
19568
  open ? fontBodySemiboldS(props) : fontBodyMediumS(props),
19457
19569
  css$1 `
@@ -19472,8 +19584,8 @@ styled$2(Button, {
19472
19584
 
19473
19585
  &:hover {
19474
19586
  background: ${hasInvertedStyle
19475
- ? semanticColors?.base.fillHoverOnDark
19476
- : semanticColors?.base.fillHover};
19587
+ ? semanticColors?.base.fillInteractionOnDark
19588
+ : semanticColors?.base.fillInteraction};
19477
19589
  box-shadow: none;
19478
19590
 
19479
19591
  color: ${hasInvertedStyle
@@ -20025,7 +20137,7 @@ const StyledTabs$1 = styled$2(Tabs, {
20025
20137
  const StyledTab$1 = styled$2(Tab, {
20026
20138
  shouldForwardProp: (prop) => !doNotForwardProps$5.includes(prop)
20027
20139
  }) `
20028
- ${fontBodyXs$2}
20140
+ ${fontBodyMediumXs}
20029
20141
 
20030
20142
  ${(props) => {
20031
20143
  const spaces = getSpaces(props);
@@ -20052,20 +20164,20 @@ const StyledTab$1 = styled$2(Tab, {
20052
20164
  left: 0;
20053
20165
  width: ${spaces?.xxxs}px;
20054
20166
  height: 100%;
20055
- background-color: ${semanticColors?.base?.borderPrimaryHover};
20167
+ background-color: ${semanticColors?.base?.borderPrimaryInteraction};
20056
20168
  display: none;
20057
20169
  border-radius: ${spaces?.xxxs}px;
20058
20170
  }
20059
20171
  &:hover {
20060
20172
  color: ${semanticColors?.base?.textPrimary};
20061
- background-color: ${semanticColors?.base?.fillHover};
20173
+ background-color: ${semanticColors?.base?.fillInteraction};
20062
20174
  &:before {
20063
20175
  display: block;
20064
20176
  }
20065
20177
  }
20066
20178
  &.Mui-selected {
20067
20179
  color: ${semanticColors?.base?.textPrimary};
20068
- font-weight: 500;
20180
+ font-weight: 600;
20069
20181
  }
20070
20182
  &.MuiButtonBase-root {
20071
20183
  text-align: left;
@@ -20377,7 +20489,7 @@ const StyledPaginationButton = styled$2(Button) `
20377
20489
 
20378
20490
  &:hover {
20379
20491
  & .MuiSvgIcon-root {
20380
- color: ${semanticColors?.base?.ornamentSecondaryHover}
20492
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction}
20381
20493
  }
20382
20494
  }
20383
20495
  `;
@@ -20413,10 +20525,10 @@ const StyledPaginationChevronList = styled$2("li", {
20413
20525
  }
20414
20526
 
20415
20527
  &:hover {
20416
- background-color: ${disabled ? "transparent" : semanticColors?.base?.fillHover};
20528
+ background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
20417
20529
 
20418
20530
  & .MuiSvgIcon-root {
20419
- color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.ornamentSecondaryHover}
20531
+ color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.ornamentSecondaryInteraction}
20420
20532
  }
20421
20533
  }
20422
20534
 
@@ -20438,28 +20550,29 @@ const StyledPagination = styled$2("ul", {
20438
20550
  `;
20439
20551
  const selectedPageStyle = (props) => {
20440
20552
  const semanticColors = getSemanticColors(props);
20441
- return `
20442
- background-color: ${semanticColors?.base?.fillOpen};
20553
+ return css$1 `
20554
+ background-color: ${semanticColors?.base?.fillInteraction};
20443
20555
  color: ${semanticColors?.base?.textPrimary};
20444
- font-weight: 500;
20445
20556
  box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
20446
20557
 
20447
20558
  &:hover {
20448
20559
  box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
20449
20560
  }
20561
+
20562
+ ${fontTabularSemiboldS(props)}
20450
20563
  `;
20451
20564
  };
20452
20565
  const Page = styled$2("li", {
20453
20566
  shouldForwardProp: (prop) => !doNotForwardProps$3.includes(prop)
20454
20567
  }) `
20455
- ${fontTabularS}
20568
+ ${fontTabularMediumS}
20456
20569
 
20457
20570
  ${(props) => {
20458
20571
  const { selected, sdsStyle } = props;
20459
20572
  const spaces = getSpaces(props);
20460
20573
  const corners = getCorners(props);
20461
20574
  const semanticColors = getSemanticColors(props);
20462
- return `
20575
+ return css$1 `
20463
20576
  color: ${semanticColors?.base?.textSecondary};
20464
20577
  cursor: pointer;
20465
20578
  list-style: none;
@@ -20473,15 +20586,15 @@ const Page = styled$2("li", {
20473
20586
  border-radius: ${sdsStyle === "round" ? corners?.rounded : corners?.l}px;
20474
20587
  user-select: none;
20475
20588
  &:hover {
20476
- background-color: ${semanticColors?.base?.fillHover};
20589
+ background-color: ${semanticColors?.base?.fillInteraction};
20477
20590
  color: ${semanticColors?.base?.textPrimary};
20478
20591
  }
20479
20592
 
20480
- &:nth-last-of-type(-n+2) {
20593
+ &:nth-last-of-type(-n + 2) {
20481
20594
  margin-right: 0;
20482
20595
  }
20483
20596
 
20484
- ${selected && selectedPageStyle(props)};
20597
+ ${selected && selectedPageStyle(props)}
20485
20598
  ${focusVisibleA11yStyle(props)}
20486
20599
  `;
20487
20600
  }}
@@ -20804,7 +20917,7 @@ styled$2(ToggleButtonGroup, {
20804
20917
  padding: ${spaces?.xxxs}px;
20805
20918
 
20806
20919
  &:hover {
20807
- box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryHover};
20920
+ box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryInteraction};
20808
20921
  }
20809
20922
 
20810
20923
  .${toggleButtonClasses.root}.${toggleButtonClasses.disabled} {
@@ -20812,13 +20925,13 @@ styled$2(ToggleButtonGroup, {
20812
20925
  }
20813
20926
 
20814
20927
  .${toggleButtonClasses.root}.${toggleButtonClasses.selected} {
20815
- background-color: ${semanticColors?.base?.fillOpen};
20928
+ background-color: ${semanticColors?.base?.fillInteraction};
20816
20929
  color: ${semanticColors?.accent?.ornamentSelected};
20817
20930
  border-color: ${semanticColors?.base?.borderPrimary};
20818
20931
 
20819
20932
  &:hover {
20820
- background-color: ${semanticColors?.base?.fillHover};
20821
- color: ${semanticColors?.base?.ornamentSecondaryHover};
20933
+ background-color: ${semanticColors?.base?.fillInteraction};
20934
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
20822
20935
  }
20823
20936
  }
20824
20937
 
@@ -20834,8 +20947,8 @@ styled$2(ToggleButtonGroup, {
20834
20947
 
20835
20948
  &:hover {
20836
20949
  border-color: ${semanticColors?.base?.borderPrimary};
20837
- background-color: ${semanticColors?.base?.fillHover};
20838
- color: ${semanticColors?.base?.ornamentSecondaryHover};
20950
+ background-color: ${semanticColors?.base?.fillInteraction};
20951
+ color: ${semanticColors?.base?.ornamentSecondaryInteraction};
20839
20952
  }
20840
20953
  }
20841
20954
  `;
@@ -20891,6 +21004,7 @@ const disabledStyled = (props) => {
20891
21004
 
20892
21005
  & span, & div {
20893
21006
  color: ${semanticColors?.base?.textDisabled};
21007
+ background-color: transparent !important;
20894
21008
  }
20895
21009
 
20896
21010
  .cell-component {
@@ -20899,11 +21013,12 @@ const disabledStyled = (props) => {
20899
21013
  user-select: none;
20900
21014
  & div {
20901
21015
  color: ${semanticColors?.base?.textDisabled};
20902
- background-color: ${semanticColors?.base?.backgroundSecondary};
21016
+ background-color: transparent;
20903
21017
  }
20904
21018
 
20905
21019
  & .MuiChip-root {
20906
21020
  background-color: ${semanticColors?.base?.fillDisabled};
21021
+ box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryDisabled} !important;
20907
21022
 
20908
21023
  & span {
20909
21024
  color: ${semanticColors?.base?.textDisabled} !important;
@@ -20922,7 +21037,7 @@ const hoverStyled = (props) => {
20922
21037
  const semanticColors = getSemanticColors(props);
20923
21038
  return `
20924
21039
  &:hover {
20925
- background-color: ${semanticColors?.base?.fillHover};
21040
+ background-color: ${semanticColors?.base?.fillInteraction};
20926
21041
  }
20927
21042
  `;
20928
21043
  };
@@ -21023,8 +21138,8 @@ const StyledTab = styled$2(Tab, {
21023
21138
  color: ${semanticColors?.base?.textSecondary};
21024
21139
 
21025
21140
  &:hover {
21026
- box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.borderPrimaryHover};
21027
- background-color: ${semanticColors?.base?.fillOpen};
21141
+ box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.borderPrimaryInteraction};
21142
+ background-color: ${semanticColors?.base?.fillInteraction};
21028
21143
  border-top-right-radius: ${corners?.l}px;
21029
21144
  border-top-left-radius: ${corners?.l}px;
21030
21145
 
@@ -21054,7 +21169,7 @@ const StyledTab = styled$2(Tab, {
21054
21169
  function tabFontMixin(props) {
21055
21170
  const { sdsSize } = props;
21056
21171
  const isLarge = sdsSize === "large";
21057
- return isLarge ? fontBodyS$1(props) : fontBodyXs$2(props);
21172
+ return isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props);
21058
21173
  }
21059
21174
  const StyledWrapper = styled$2("div") `
21060
21175
  ${(props) => {
@@ -21073,7 +21188,7 @@ const StyledCount = styled$2("span") `
21073
21188
  const { sdsSize } = props;
21074
21189
  const isLarge = sdsSize === "large";
21075
21190
  return css$1 `
21076
- ${isLarge ? fontBodyS$1(props) : fontBodyXs$2(props)}
21191
+ ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21077
21192
  `;
21078
21193
  }}
21079
21194
  `;
@@ -21082,9 +21197,9 @@ const StyledLabelTextWrapper = styled$2("span") `
21082
21197
  const { sdsSize, selected } = props;
21083
21198
  const isLarge = sdsSize === "large";
21084
21199
  return css$1 `
21085
- ${isLarge ? fontBodyS$1(props) : fontBodyXs$2(props)}
21200
+ ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21086
21201
  ${selected &&
21087
- (isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props))}
21202
+ (isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props))}
21088
21203
  position: absolute;
21089
21204
  `;
21090
21205
  }}
@@ -21094,7 +21209,7 @@ const StyledLabelTextWrapperShadow = styled$2("span") `
21094
21209
  const { sdsSize } = props;
21095
21210
  const isLarge = sdsSize === "large";
21096
21211
  return css$1 `
21097
- ${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
21212
+ ${isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props)}
21098
21213
  visibility: hidden;
21099
21214
  opacity: 0;
21100
21215
  `;
@@ -24774,7 +24889,7 @@ Object.assign(chroma, {
24774
24889
  const generateDiscreteColors = (count, options = {}) => {
24775
24890
  if (count === 0)
24776
24891
  return [];
24777
- const { isDarkMode = false, start = 250, rotations = 0.85, gamma = 0.7, lightness = [0.4, 0.7], correctLightness = true, } = options;
24892
+ const { isDarkMode = false, start = 240, rotations = 0.85, gamma = 1, lightness = [0.4, 0.7], correctLightness = true, } = options;
24778
24893
  let scale = chroma
24779
24894
  .cubehelix()
24780
24895
  .start(start)