@czi-sds/components 23.1.0 → 23.2.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.cjs.d.ts +28 -17
- package/dist/index.cjs.js +442 -262
- package/dist/index.esm.d.ts +28 -17
- package/dist/index.esm.js +443 -264
- package/dist/tailwind.json +28 -38
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/variables.css +29 -39
- package/dist/variables.scss +28 -38
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { forwardRef, useEffect, useRef, useState, useCallback, createElement, useMemo, isValidElement, memo, Fragment as Fragment$1, createContext, useContext } from 'react';
|
|
5
5
|
import { css as css$1, ThemeContext as ThemeContext$1 } from '@emotion/react';
|
|
6
|
-
import { createTheme as createTheme$2, AccordionDetails as AccordionDetails$1, accordionSummaryClasses, AccordionSummary, SvgIcon, accordionClasses, accordionDetailsClasses, Accordion as Accordion$1, Alert as Alert$2, Button as Button$1, buttonClasses, IconButton, outlinedInputClasses, inputBaseClasses, buttonBaseClasses, inputAdornmentClasses, TextField, InputAdornment, menuItemClasses, MenuItem as MenuItem$1, autocompleteClasses, Autocomplete as Autocomplete$1, Paper, useTheme as useTheme$4, Popper, styled as styled$3, ClickAwayListener, alertClasses, alertTitleClasses, AlertTitle, Grow, Tooltip as Tooltip$1, Chip as Chip$1, darken as darken$2, Card, CardContent, CardActions, css as css$3, CardMedia, DialogTitle as DialogTitle$1, Typography, dialogActionsClasses, DialogActions as DialogActions$1, Dialog as Dialog$1, DialogContent, checkboxClasses, Checkbox, FormControlLabel, radioClasses, Radio, Slider, sliderClasses, Switch, switchClasses, Link as Link$1, List as List$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, menuClasses, Menu as Menu$1, Divider, useMediaQuery, AppBar, Toolbar, Drawer, useScrollTrigger, tabsClasses, Tabs as Tabs$1, Tab as Tab$1, Slide, Box as Box$1, drawerClasses, toggleButtonClasses, ToggleButtonGroup, ToggleButton, TableContainer, TableCell, Table as Table$1, TableBody, TableRow as TableRow$1 } from '@mui/material';
|
|
6
|
+
import { createTheme as createTheme$2, AccordionDetails as AccordionDetails$1, accordionSummaryClasses, AccordionSummary, SvgIcon, accordionClasses, accordionDetailsClasses, Accordion as Accordion$1, Alert as Alert$2, Button as Button$1, buttonClasses, IconButton, outlinedInputClasses, inputBaseClasses, buttonBaseClasses, inputAdornmentClasses, TextField, InputAdornment, menuItemClasses, MenuItem as MenuItem$1, autocompleteClasses, Autocomplete as Autocomplete$1, Paper, useTheme as useTheme$4, Popper, styled as styled$3, ClickAwayListener, alertClasses, alertTitleClasses, AlertTitle, Grow, Tooltip as Tooltip$1, Chip as Chip$1, alpha as alpha$1, darken as darken$2, Card, CardContent, CardActions, css as css$3, CardMedia, DialogTitle as DialogTitle$1, Typography, dialogActionsClasses, DialogActions as DialogActions$1, Dialog as Dialog$1, DialogContent, checkboxClasses, Checkbox, FormControlLabel, radioClasses, Radio, Slider, sliderClasses, Switch, switchClasses, Link as Link$1, List as List$1, ListItem as ListItem$1, ListSubheader as ListSubheader$1, menuClasses, Menu as Menu$1, Divider, useMediaQuery, AppBar, Toolbar, Drawer, useScrollTrigger, tabsClasses, Tabs as Tabs$1, Tab as Tab$1, Slide, Box as Box$1, drawerClasses, toggleButtonClasses, ToggleButtonGroup, ToggleButton, TableContainer, TableCell, Table as Table$1, TableBody, TableRow as TableRow$1 } from '@mui/material';
|
|
7
7
|
export { CardMedia as ContentCardMedia } from '@mui/material';
|
|
8
8
|
import styled$2 from '@emotion/styled';
|
|
9
9
|
import { Remove, Clear } from '@mui/icons-material';
|
|
@@ -503,7 +503,7 @@ const Spaces = {
|
|
|
503
503
|
xs: 6,
|
|
504
504
|
s: 8,
|
|
505
505
|
m: 12,
|
|
506
|
-
default:
|
|
506
|
+
default: 8,
|
|
507
507
|
l: 16,
|
|
508
508
|
xl: 24,
|
|
509
509
|
xxl: 32,
|
|
@@ -788,7 +788,7 @@ const SDSPaletteLight = (appTheme) => {
|
|
|
788
788
|
backgroundPrimaryDark: appTheme.colors.gray[900],
|
|
789
789
|
backgroundPrimaryInverse: appTheme.colors.gray[900],
|
|
790
790
|
backgroundSecondary: addOpacityToHex(appTheme.colors.gray[100], 40),
|
|
791
|
-
|
|
791
|
+
backgroundSecondaryDark: addOpacityToHex(appTheme.colors.gray[700], 62),
|
|
792
792
|
backgroundSecondaryInverse: appTheme.colors.gray[700],
|
|
793
793
|
backgroundTertiary: appTheme.colors.gray[100],
|
|
794
794
|
borderOnFill: appTheme.colors.gray[50],
|
|
@@ -796,27 +796,23 @@ const SDSPaletteLight = (appTheme) => {
|
|
|
796
796
|
borderPrimaryDisabled: appTheme.colors.gray[300],
|
|
797
797
|
borderPrimaryDisabledOnDark: appTheme.colors.gray[600],
|
|
798
798
|
borderPrimaryDisabledInverse: appTheme.colors.gray[600],
|
|
799
|
-
|
|
800
|
-
|
|
799
|
+
borderPrimaryInteraction: appTheme.colors.gray[900],
|
|
800
|
+
borderPrimaryInteractionOnDark: appTheme.colors.gray[50],
|
|
801
801
|
borderPrimaryHoverInverse: appTheme.colors.gray[50],
|
|
802
802
|
borderPrimaryOnDark: appTheme.colors.gray[300],
|
|
803
803
|
borderPrimaryInverse: appTheme.colors.gray[300],
|
|
804
|
-
borderPrimaryPressed: appTheme.colors.gray[900],
|
|
805
|
-
borderPrimaryPressedOnDark: appTheme.colors.gray[50],
|
|
806
804
|
borderPrimaryPressedInverse: appTheme.colors.gray[50],
|
|
807
805
|
borderSecondary: appTheme.colors.gray[300],
|
|
808
806
|
divider: appTheme.colors.gray[200],
|
|
809
807
|
dividerOnDark: appTheme.colors.gray[700],
|
|
810
808
|
dividerInverse: appTheme.colors.gray[700],
|
|
811
|
-
fillDisabled: appTheme.colors.gray[
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300],
|
|
815
|
-
fillOpen: addOpacityToHex(appTheme.colors.gray[300], 20),
|
|
816
|
-
fillOpenOnDark: addOpacityToHex(appTheme.colors.gray[300], 34),
|
|
809
|
+
fillDisabled: appTheme.colors.gray[100],
|
|
810
|
+
fillInteraction: addOpacityToHex(appTheme.colors.gray[300], 20),
|
|
811
|
+
fillInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 20),
|
|
812
|
+
fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 20),
|
|
817
813
|
fillOpenInverse: addOpacityToHex(appTheme.colors.gray[300], 34),
|
|
818
|
-
fillPressed: addOpacityToHex(appTheme.colors.gray[300],
|
|
819
|
-
fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300],
|
|
814
|
+
fillPressed: addOpacityToHex(appTheme.colors.gray[300], 30),
|
|
815
|
+
fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 24),
|
|
820
816
|
fillPressedInverse: addOpacityToHex(appTheme.colors.gray[300], 34),
|
|
821
817
|
fillPrimary: appTheme.colors.gray[50],
|
|
822
818
|
fillSelected: appTheme.colors.gray[900],
|
|
@@ -828,16 +824,15 @@ const SDSPaletteLight = (appTheme) => {
|
|
|
828
824
|
ornamentPrimaryOnDark: appTheme.colors.gray[50],
|
|
829
825
|
ornamentPrimaryInverse: appTheme.colors.gray[50],
|
|
830
826
|
ornamentSecondary: appTheme.colors.gray[600],
|
|
831
|
-
|
|
832
|
-
|
|
827
|
+
ornamentSecondaryInteraction: appTheme.colors.gray[900],
|
|
828
|
+
ornamentSecondaryInteractionOnDark: appTheme.colors.gray[50],
|
|
833
829
|
ornamentSecondaryHoverInverse: appTheme.colors.gray[50],
|
|
834
830
|
ornamentSecondaryOnDark: appTheme.colors.gray[300],
|
|
835
831
|
ornamentSecondaryInverse: appTheme.colors.gray[300],
|
|
836
|
-
ornamentSecondaryPressed: appTheme.colors.gray[900],
|
|
837
|
-
ornamentSecondaryPressedOnDark: appTheme.colors.gray[50],
|
|
838
832
|
ornamentSecondaryPressedInverse: appTheme.colors.gray[50],
|
|
839
|
-
|
|
840
|
-
|
|
833
|
+
surfacePrimary: appTheme.colors.gray[50],
|
|
834
|
+
surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 20),
|
|
835
|
+
surfacePrimaryDark: appTheme.colors.gray[900],
|
|
841
836
|
surfaceInverse: appTheme.colors.gray[900],
|
|
842
837
|
textDisabled: appTheme.colors.gray[300],
|
|
843
838
|
textDisabledOnDark: appTheme.colors.gray[600],
|
|
@@ -950,7 +945,7 @@ const SDSPaletteDark = (appTheme) => {
|
|
|
950
945
|
backgroundPrimaryDark: appTheme.colors.gray[75],
|
|
951
946
|
backgroundPrimaryInverse: appTheme.colors.gray[75],
|
|
952
947
|
backgroundSecondary: addOpacityToHex(appTheme.colors.gray[100], 60),
|
|
953
|
-
|
|
948
|
+
backgroundSecondaryDark: addOpacityToHex(appTheme.colors.gray[100], 60),
|
|
954
949
|
backgroundSecondaryInverse: addOpacityToHex(appTheme.colors.gray[100], 60),
|
|
955
950
|
backgroundTertiary: appTheme.colors.gray[100],
|
|
956
951
|
borderOnFill: appTheme.colors.gray[900],
|
|
@@ -958,27 +953,23 @@ const SDSPaletteDark = (appTheme) => {
|
|
|
958
953
|
borderPrimaryDisabled: appTheme.colors.gray[300],
|
|
959
954
|
borderPrimaryDisabledOnDark: appTheme.colors.gray[300],
|
|
960
955
|
borderPrimaryDisabledInverse: appTheme.colors.gray[300],
|
|
961
|
-
|
|
962
|
-
|
|
956
|
+
borderPrimaryInteraction: appTheme.colors.gray[900],
|
|
957
|
+
borderPrimaryInteractionOnDark: appTheme.colors.gray[900],
|
|
963
958
|
borderPrimaryHoverInverse: appTheme.colors.gray[900],
|
|
964
959
|
borderPrimaryOnDark: appTheme.colors.gray[600],
|
|
965
960
|
borderPrimaryInverse: appTheme.colors.gray[600],
|
|
966
|
-
borderPrimaryPressed: appTheme.colors.gray[900],
|
|
967
|
-
borderPrimaryPressedOnDark: appTheme.colors.gray[900],
|
|
968
961
|
borderPrimaryPressedInverse: appTheme.colors.gray[900],
|
|
969
962
|
borderSecondary: appTheme.colors.gray[300],
|
|
970
963
|
divider: appTheme.colors.gray[200],
|
|
971
964
|
dividerOnDark: appTheme.colors.gray[200],
|
|
972
965
|
dividerInverse: appTheme.colors.gray[200],
|
|
973
|
-
fillDisabled: appTheme.colors.gray[
|
|
974
|
-
|
|
975
|
-
|
|
966
|
+
fillDisabled: appTheme.colors.gray[100],
|
|
967
|
+
fillInteraction: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
968
|
+
fillInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
976
969
|
fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
977
|
-
fillOpen: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
978
|
-
fillOpenOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
979
970
|
fillOpenInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
980
|
-
fillPressed: addOpacityToHex(appTheme.colors.gray[300],
|
|
981
|
-
fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300],
|
|
971
|
+
fillPressed: addOpacityToHex(appTheme.colors.gray[300], 40),
|
|
972
|
+
fillPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 40),
|
|
982
973
|
fillPressedInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
983
974
|
fillPrimary: appTheme.colors.gray[100],
|
|
984
975
|
fillSelected: appTheme.colors.gray[900],
|
|
@@ -990,16 +981,15 @@ const SDSPaletteDark = (appTheme) => {
|
|
|
990
981
|
ornamentPrimaryOnDark: appTheme.colors.gray[900],
|
|
991
982
|
ornamentPrimaryInverse: appTheme.colors.gray[50],
|
|
992
983
|
ornamentSecondary: appTheme.colors.gray[600],
|
|
993
|
-
|
|
994
|
-
|
|
984
|
+
ornamentSecondaryInteraction: appTheme.colors.gray[900],
|
|
985
|
+
ornamentSecondaryInteractionOnDark: appTheme.colors.gray[900],
|
|
995
986
|
ornamentSecondaryHoverInverse: appTheme.colors.gray[900],
|
|
996
987
|
ornamentSecondaryOnDark: appTheme.colors.gray[600],
|
|
997
988
|
ornamentSecondaryInverse: appTheme.colors.gray[600],
|
|
998
|
-
ornamentSecondaryPressed: appTheme.colors.gray[900],
|
|
999
|
-
ornamentSecondaryPressedOnDark: appTheme.colors.gray[900],
|
|
1000
989
|
ornamentSecondaryPressedInverse: appTheme.colors.gray[900],
|
|
1001
|
-
|
|
1002
|
-
|
|
990
|
+
surfacePrimary: appTheme.colors.gray[100],
|
|
991
|
+
surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 32),
|
|
992
|
+
surfacePrimaryDark: appTheme.colors.gray[100],
|
|
1003
993
|
surfaceInverse: appTheme.colors.gray[100],
|
|
1004
994
|
textDisabled: appTheme.colors.gray[300],
|
|
1005
995
|
textDisabledOnDark: appTheme.colors.gray[300],
|
|
@@ -1381,7 +1371,7 @@ function focusVisibleA11yStyle(props) {
|
|
|
1381
1371
|
const semanticColors = getSemanticColors(props);
|
|
1382
1372
|
return `
|
|
1383
1373
|
&.Mui-focusVisible, &:focus-visible {
|
|
1384
|
-
outline: 2px solid ${semanticColors?.base?.
|
|
1374
|
+
outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
1385
1375
|
outline-offset: 1px;
|
|
1386
1376
|
}
|
|
1387
1377
|
`;
|
|
@@ -1590,7 +1580,7 @@ const StyledAccordionHeader = styled$2(AccordionSummary, {
|
|
|
1590
1580
|
&:hover {
|
|
1591
1581
|
& .${accordionSummaryClasses.expandIconWrapper} {
|
|
1592
1582
|
svg {
|
|
1593
|
-
color: ${semanticColors?.base?.
|
|
1583
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
1594
1584
|
}
|
|
1595
1585
|
}
|
|
1596
1586
|
}
|
|
@@ -5091,12 +5081,12 @@ const Minimal = (props) => {
|
|
|
5091
5081
|
}
|
|
5092
5082
|
|
|
5093
5083
|
&:hover {
|
|
5094
|
-
background-color: ${semanticColors?.base?.
|
|
5084
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5095
5085
|
}
|
|
5096
5086
|
|
|
5097
5087
|
&:active {
|
|
5098
5088
|
color: ${semanticColors?.accent?.textActionPressed};
|
|
5099
|
-
background-color: ${semanticColors?.base?.
|
|
5089
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5100
5090
|
|
|
5101
5091
|
svg {
|
|
5102
5092
|
color: ${semanticColors?.accent?.ornamentPressed};
|
|
@@ -5203,7 +5193,7 @@ const primary$2 = (props) => {
|
|
|
5203
5193
|
}
|
|
5204
5194
|
|
|
5205
5195
|
&:hover {
|
|
5206
|
-
background: ${semanticColors?.base?.
|
|
5196
|
+
background: ${semanticColors?.base?.fillInteraction};
|
|
5207
5197
|
color: ${semanticColors?.accent?.ornamentHover};
|
|
5208
5198
|
|
|
5209
5199
|
svg {
|
|
@@ -5231,7 +5221,7 @@ const secondary$2 = (props) => {
|
|
|
5231
5221
|
}
|
|
5232
5222
|
|
|
5233
5223
|
&:hover {
|
|
5234
|
-
background: ${semanticColors?.base?.
|
|
5224
|
+
background: ${semanticColors?.base?.fillInteraction};
|
|
5235
5225
|
color: ${semanticColors?.accent?.ornamentHover};
|
|
5236
5226
|
|
|
5237
5227
|
svg {
|
|
@@ -5260,19 +5250,19 @@ const tertiary = (props) => {
|
|
|
5260
5250
|
|
|
5261
5251
|
&:hover {
|
|
5262
5252
|
background: none;
|
|
5263
|
-
color: ${semanticColors?.base?.
|
|
5253
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5264
5254
|
|
|
5265
5255
|
svg {
|
|
5266
|
-
color: ${semanticColors?.base?.
|
|
5256
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5267
5257
|
}
|
|
5268
5258
|
}
|
|
5269
5259
|
|
|
5270
5260
|
&:active {
|
|
5271
5261
|
background: none;
|
|
5272
|
-
color: ${semanticColors?.base?.
|
|
5262
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5273
5263
|
|
|
5274
5264
|
svg {
|
|
5275
|
-
color: ${semanticColors?.base?.
|
|
5265
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5276
5266
|
}
|
|
5277
5267
|
}
|
|
5278
5268
|
`;
|
|
@@ -5492,7 +5482,7 @@ const applyIntentColor$2 = (props, intent) => {
|
|
|
5492
5482
|
.${inputAdornmentClasses.root} .${buttonBaseClasses.root}:last-of-type {
|
|
5493
5483
|
cursor: default;
|
|
5494
5484
|
svg {
|
|
5495
|
-
color: ${semanticColors?.base?.
|
|
5485
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5496
5486
|
}
|
|
5497
5487
|
}
|
|
5498
5488
|
}
|
|
@@ -5558,9 +5548,6 @@ const StyledSearchBase = styled$2(TextField, {
|
|
|
5558
5548
|
const semanticColors = getSemanticColors(props);
|
|
5559
5549
|
const corners = getCorners(props);
|
|
5560
5550
|
return css$1 `
|
|
5561
|
-
margin-top: ${spaces?.m}px;
|
|
5562
|
-
margin-bottom: ${spaces?.m}px;
|
|
5563
|
-
margin-right: ${spaces?.xl}px;
|
|
5564
5551
|
min-width: 120px;
|
|
5565
5552
|
display: block;
|
|
5566
5553
|
|
|
@@ -5609,7 +5596,8 @@ const StyledSearchBase = styled$2(TextField, {
|
|
|
5609
5596
|
|
|
5610
5597
|
&:hover {
|
|
5611
5598
|
svg {
|
|
5612
|
-
color: ${semanticColors?.base
|
|
5599
|
+
color: ${semanticColors?.base
|
|
5600
|
+
?.ornamentSecondaryInteraction} !important;
|
|
5613
5601
|
}
|
|
5614
5602
|
}
|
|
5615
5603
|
|
|
@@ -5629,7 +5617,7 @@ const StyledSearchBase = styled$2(TextField, {
|
|
|
5629
5617
|
}
|
|
5630
5618
|
|
|
5631
5619
|
.${outlinedInputClasses.root}:hover {
|
|
5632
|
-
background-color: ${semanticColors?.base?.
|
|
5620
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5633
5621
|
|
|
5634
5622
|
& .${buttonBaseClasses.root}:last-of-type {
|
|
5635
5623
|
svg {
|
|
@@ -5637,7 +5625,7 @@ const StyledSearchBase = styled$2(TextField, {
|
|
|
5637
5625
|
}
|
|
5638
5626
|
}
|
|
5639
5627
|
.${outlinedInputClasses.notchedOutline} {
|
|
5640
|
-
border: 1px solid ${semanticColors?.base?.
|
|
5628
|
+
border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
5641
5629
|
}
|
|
5642
5630
|
}
|
|
5643
5631
|
|
|
@@ -5651,13 +5639,13 @@ const StyledSearchBase = styled$2(TextField, {
|
|
|
5651
5639
|
.${inputAdornmentClasses.root} .${buttonBaseClasses.root}:last-of-type {
|
|
5652
5640
|
cursor: default;
|
|
5653
5641
|
svg {
|
|
5654
|
-
color: ${semanticColors?.base?.
|
|
5642
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
5655
5643
|
}
|
|
5656
5644
|
}
|
|
5657
5645
|
}
|
|
5658
5646
|
|
|
5659
5647
|
&.user-is-tabbing .${outlinedInputClasses.root}:focus-within {
|
|
5660
|
-
outline: 2px solid ${semanticColors?.base?.
|
|
5648
|
+
outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
5661
5649
|
outline-offset: 1px;
|
|
5662
5650
|
}
|
|
5663
5651
|
|
|
@@ -5696,10 +5684,10 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
|
|
|
5696
5684
|
opacity: 1;
|
|
5697
5685
|
|
|
5698
5686
|
&:hover, &.${menuItemClasses.focusVisible} {
|
|
5699
|
-
background-color: ${semanticColors?.base?.
|
|
5687
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5700
5688
|
|
|
5701
5689
|
&[aria-selected="true"] {
|
|
5702
|
-
background-color: ${semanticColors?.base?.
|
|
5690
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5703
5691
|
}
|
|
5704
5692
|
}
|
|
5705
5693
|
}
|
|
@@ -5716,7 +5704,7 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
|
|
|
5716
5704
|
background-color: unset !important;
|
|
5717
5705
|
|
|
5718
5706
|
&:hover {
|
|
5719
|
-
background-color: ${semanticColors?.base?.
|
|
5707
|
+
background-color: ${semanticColors?.base?.fillInteraction} !important;
|
|
5720
5708
|
}
|
|
5721
5709
|
|
|
5722
5710
|
${StyledIcon$1}, ${DotIcon} {
|
|
@@ -5729,16 +5717,16 @@ const StyledMenuItem$1 = styled$2(MenuItem$1) `
|
|
|
5729
5717
|
}
|
|
5730
5718
|
|
|
5731
5719
|
&:hover {
|
|
5732
|
-
background-color: ${semanticColors?.base?.
|
|
5720
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5733
5721
|
${StyledIcon$1}, ${DotIcon} {
|
|
5734
5722
|
color: ${selected ? semanticColors?.base?.ornamentPrimary : semanticColors?.base?.ornamentSecondary};
|
|
5735
5723
|
}
|
|
5736
5724
|
}
|
|
5737
5725
|
|
|
5738
5726
|
&.Mui-selected.MuiListItem-root.MuiListItem-button {
|
|
5739
|
-
background-color: ${semanticColors?.base?.
|
|
5727
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
5740
5728
|
&:hover {
|
|
5741
|
-
background-color: ${semanticColors?.base?.
|
|
5729
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
5742
5730
|
}
|
|
5743
5731
|
}
|
|
5744
5732
|
|
|
@@ -6077,7 +6065,7 @@ const StyledAutocompleteBase = styled$2(Autocomplete$1, {
|
|
|
6077
6065
|
// look at the useDetectUserTabbing hook.
|
|
6078
6066
|
&[data-user-is-tabbing="true"]:focus-within {
|
|
6079
6067
|
border-radius: 4px;
|
|
6080
|
-
outline: 2px solid ${semanticColors?.base?.
|
|
6068
|
+
outline: 2px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
6081
6069
|
outline-offset: 1px;
|
|
6082
6070
|
}
|
|
6083
6071
|
|
|
@@ -6102,11 +6090,11 @@ const StyledAutocompleteBase = styled$2(Autocomplete$1, {
|
|
|
6102
6090
|
min-height: unset;
|
|
6103
6091
|
|
|
6104
6092
|
&.${autocompleteClasses.focused} {
|
|
6105
|
-
background-color: ${semanticColors?.base?.
|
|
6093
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
6106
6094
|
}
|
|
6107
6095
|
|
|
6108
6096
|
&[aria-selected="true"] {
|
|
6109
|
-
background-color: ${semanticColors?.base?.
|
|
6097
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6110
6098
|
}
|
|
6111
6099
|
|
|
6112
6100
|
&[aria-disabled="true"] {
|
|
@@ -6114,7 +6102,7 @@ const StyledAutocompleteBase = styled$2(Autocomplete$1, {
|
|
|
6114
6102
|
}
|
|
6115
6103
|
|
|
6116
6104
|
&[aria-selected="true"].${autocompleteClasses.focused} {
|
|
6117
|
-
background-color: ${semanticColors?.base?.
|
|
6105
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
6118
6106
|
}
|
|
6119
6107
|
}
|
|
6120
6108
|
|
|
@@ -6128,7 +6116,7 @@ const StyledAutocompleteBase = styled$2(Autocomplete$1, {
|
|
|
6128
6116
|
.${autocompleteClasses.groupLabel} {
|
|
6129
6117
|
top: 0;
|
|
6130
6118
|
color: ${semanticColors?.base?.textSecondary};
|
|
6131
|
-
background-color: ${semanticColors?.base?.
|
|
6119
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6132
6120
|
padding: 0 ${spaces?.m}px;
|
|
6133
6121
|
}
|
|
6134
6122
|
|
|
@@ -6196,7 +6184,7 @@ const StyledPaper$3 = styled$2(Paper) `
|
|
|
6196
6184
|
return `
|
|
6197
6185
|
background-image: none;
|
|
6198
6186
|
padding: ${spaces?.xs}px 0;
|
|
6199
|
-
background-color: ${semanticColors?.base?.
|
|
6187
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6200
6188
|
border: ${borders?.none};
|
|
6201
6189
|
outline: 1px solid ${addOpacityToHex(semanticColors?.base?.borderSecondary || "#000", 15)};
|
|
6202
6190
|
border-radius: ${corners?.l}px;
|
|
@@ -6208,9 +6196,10 @@ const StyledPaper$3 = styled$2(Paper) `
|
|
|
6208
6196
|
const StyledMenuItemDetails = styled$2("div") `
|
|
6209
6197
|
${fontBodyXxs$1}
|
|
6210
6198
|
${(props) => {
|
|
6199
|
+
const { disabled } = props;
|
|
6211
6200
|
const semanticColors = getSemanticColors(props);
|
|
6212
6201
|
return `
|
|
6213
|
-
color: ${semanticColors?.base?.textSecondary};
|
|
6202
|
+
color: ${disabled ? semanticColors?.base?.textDisabled : semanticColors?.base?.textSecondary};
|
|
6214
6203
|
white-space: pre-wrap;
|
|
6215
6204
|
`;
|
|
6216
6205
|
}}
|
|
@@ -6375,15 +6364,15 @@ const AutocompleteBase = (props) => {
|
|
|
6375
6364
|
}
|
|
6376
6365
|
function defaultRenderOption(optionProps, option, { selected }) {
|
|
6377
6366
|
let MenuItemContent;
|
|
6378
|
-
const { component, details, count, icon, sdsIconProps, ...restOptionProps } = option;
|
|
6367
|
+
const { component, details, count, icon, sdsIconProps, disabled: optionDisabled, ...restOptionProps } = option;
|
|
6379
6368
|
const menuItemLabel = getOptionLabel(option);
|
|
6380
6369
|
if (component) {
|
|
6381
6370
|
MenuItemContent = component;
|
|
6382
6371
|
}
|
|
6383
6372
|
else {
|
|
6384
|
-
MenuItemContent = (jsxs(StyledMenuItemText, { children: [menuItemLabel, details && (jsx(StyledMenuItemDetails, { className: "menuItem-details", children: details }))] }));
|
|
6373
|
+
MenuItemContent = (jsxs(StyledMenuItemText, { children: [menuItemLabel, details && (jsx(StyledMenuItemDetails, { disabled: optionDisabled, className: "menuItem-details", children: details }))] }));
|
|
6385
6374
|
}
|
|
6386
|
-
return (createElement(MenuItem, __assign({ column: count, disabled: optionProps["aria-disabled"] === true, icon: icon, sdsIconProps: sdsIconProps, isMultiSelect: multiple, selected: selected }, optionProps, restOptionProps, { key: option.name }), MenuItemContent));
|
|
6375
|
+
return (createElement(MenuItem, __assign({ column: count, disabled: optionDisabled || optionProps["aria-disabled"] === true, icon: icon, sdsIconProps: sdsIconProps, isMultiSelect: multiple, selected: selected }, optionProps, restOptionProps, { key: option.name }), MenuItemContent));
|
|
6387
6376
|
}
|
|
6388
6377
|
};
|
|
6389
6378
|
|
|
@@ -6467,7 +6456,7 @@ const StyledPopper$2 = styled$2(Popper, {
|
|
|
6467
6456
|
const borders = getBorders(props);
|
|
6468
6457
|
const semanticColors = getSemanticColors(props);
|
|
6469
6458
|
return `
|
|
6470
|
-
background-color: ${semanticColors?.base?.
|
|
6459
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6471
6460
|
background-image: none;
|
|
6472
6461
|
border: ${borders?.none};
|
|
6473
6462
|
border-radius: ${corners?.l}px;
|
|
@@ -6494,7 +6483,7 @@ const StyledPaper$2 = styled$2(Paper, {
|
|
|
6494
6483
|
const shadows = getShadows(props);
|
|
6495
6484
|
const semanticColors = getSemanticColors(props);
|
|
6496
6485
|
return `
|
|
6497
|
-
background-color: ${semanticColors?.base?.
|
|
6486
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6498
6487
|
background-image: none;
|
|
6499
6488
|
box-shadow: ${shadows?.none};
|
|
6500
6489
|
margin: 0;
|
|
@@ -6538,7 +6527,7 @@ const StyledColumnIcon = styled$3("span") `
|
|
|
6538
6527
|
const iconSizes = getIconSizes(props);
|
|
6539
6528
|
const semanticColors = getSemanticColors(props);
|
|
6540
6529
|
return `
|
|
6541
|
-
background-color: ${semanticColors?.base?.
|
|
6530
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
6542
6531
|
position: absolute;
|
|
6543
6532
|
right: -${spaces?.xs}px;
|
|
6544
6533
|
top: -${spaces?.xxxs}px;
|
|
@@ -6928,7 +6917,7 @@ const StyledButtonToggle = styled$2(ButtonIcon, {
|
|
|
6928
6917
|
const { sdsStage } = props;
|
|
6929
6918
|
const semanticColors = getSemanticColors(props);
|
|
6930
6919
|
return `
|
|
6931
|
-
background-color: ${sdsStage === "on" ? semanticColors?.base?.
|
|
6920
|
+
background-color: ${sdsStage === "on" ? semanticColors?.base?.fillInteraction : "transparent"};
|
|
6932
6921
|
`;
|
|
6933
6922
|
}}
|
|
6934
6923
|
`;
|
|
@@ -7115,7 +7104,7 @@ const dark$1 = (props) => {
|
|
|
7115
7104
|
const semanticColors = getSemanticColors(props);
|
|
7116
7105
|
return css$2 `
|
|
7117
7106
|
${fontHeaderXs(props)}
|
|
7118
|
-
background-color: ${semanticColors?.base?.
|
|
7107
|
+
background-color: ${semanticColors?.base?.surfacePrimaryDark};
|
|
7119
7108
|
color: ${semanticColors?.base?.textPrimaryOnDark};
|
|
7120
7109
|
padding: ${spaces?.s}px ${spaces?.m}px;
|
|
7121
7110
|
`;
|
|
@@ -7125,7 +7114,7 @@ const light$1 = (props) => {
|
|
|
7125
7114
|
const semanticColors = getSemanticColors(props);
|
|
7126
7115
|
return css$2 `
|
|
7127
7116
|
${fontBodyXs$2(props)}
|
|
7128
|
-
background-color: ${semanticColors?.base?.
|
|
7117
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
7129
7118
|
color: ${semanticColors?.base?.textPrimary};
|
|
7130
7119
|
padding: ${spaces?.s}px ${spaces?.m}px;
|
|
7131
7120
|
`;
|
|
@@ -7200,8 +7189,8 @@ const arrowCss = (props) => {
|
|
|
7200
7189
|
/* (bethbertozzi): !important is needed to fight inline style */
|
|
7201
7190
|
left: ${arrowOffset}px !important;
|
|
7202
7191
|
color: ${hasInvertedStyle || inverted || sdsStyle === "dark"
|
|
7203
|
-
? semanticColors?.base?.
|
|
7204
|
-
: semanticColors?.base?.
|
|
7192
|
+
? semanticColors?.base?.surfacePrimaryDark
|
|
7193
|
+
: semanticColors?.base?.surfacePrimary};
|
|
7205
7194
|
&:before {
|
|
7206
7195
|
box-sizing: border-box;
|
|
7207
7196
|
width: 12px;
|
|
@@ -7624,7 +7613,7 @@ const StyledTableHeader$1 = styled$2("th", {
|
|
|
7624
7613
|
}
|
|
7625
7614
|
|
|
7626
7615
|
& svg {
|
|
7627
|
-
color: ${active ? semanticColors?.accent?.ornamentHover : semanticColors?.base?.
|
|
7616
|
+
color: ${active ? semanticColors?.accent?.ornamentHover : semanticColors?.base?.ornamentSecondaryInteraction};
|
|
7628
7617
|
}
|
|
7629
7618
|
}
|
|
7630
7619
|
`;
|
|
@@ -7860,6 +7849,21 @@ const StyledHeaderTitle = styled$2("div", {
|
|
|
7860
7849
|
`;
|
|
7861
7850
|
}}
|
|
7862
7851
|
`;
|
|
7852
|
+
const StyledHeaderSubTitle = styled$2("div", {
|
|
7853
|
+
shouldForwardProp: (prop) => !doNotForwardProps$v.includes(prop)
|
|
7854
|
+
}) `
|
|
7855
|
+
${fontBodyXxs$1}
|
|
7856
|
+
|
|
7857
|
+
${(props) => {
|
|
7858
|
+
const spaces = getSpaces(props);
|
|
7859
|
+
const semanticColors = getSemanticColors(props);
|
|
7860
|
+
return `
|
|
7861
|
+
color: ${semanticColors?.base?.textSecondary};
|
|
7862
|
+
padding-right: ${spaces?.m}px;
|
|
7863
|
+
padding-top: ${spaces?.xxxs}px;
|
|
7864
|
+
`;
|
|
7865
|
+
}}
|
|
7866
|
+
`;
|
|
7863
7867
|
const StyledDropdownMenuAutocompleteWrapper = styled$2("div", {
|
|
7864
7868
|
shouldForwardProp: (prop) => !doNotForwardProps$v.includes(prop)
|
|
7865
7869
|
}) `
|
|
@@ -7906,7 +7910,7 @@ const StyledPopper = styled$2(Popper, {
|
|
|
7906
7910
|
const shadows = getShadows(props);
|
|
7907
7911
|
const semanticColors = getSemanticColors(props);
|
|
7908
7912
|
return `
|
|
7909
|
-
background-color: ${semanticColors?.base?.
|
|
7913
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
7910
7914
|
background-image: none;
|
|
7911
7915
|
border: ${borders?.none};
|
|
7912
7916
|
border-radius: ${corners?.l}px;
|
|
@@ -7929,7 +7933,7 @@ const StyledPaper$1 = styled$2(Paper, {
|
|
|
7929
7933
|
border: none !important;
|
|
7930
7934
|
outline: 1px solid ${addOpacityToHex(semanticColors?.base?.borderSecondary || "#000000", 15)};
|
|
7931
7935
|
border-radius: ${corners?.l}px;
|
|
7932
|
-
background-color: ${semanticColors?.base?.
|
|
7936
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
7933
7937
|
background-image: none;
|
|
7934
7938
|
margin: 0;
|
|
7935
7939
|
padding: 0 0 ${spaces?.xs}px 0;
|
|
@@ -7968,9 +7972,15 @@ const StyledDropdownMenuHeader = styled$2("div") `
|
|
|
7968
7972
|
const spaces = getSpaces(props);
|
|
7969
7973
|
const semanticColors = getSemanticColors(props);
|
|
7970
7974
|
return `
|
|
7975
|
+
& > div {
|
|
7976
|
+
display: flex;
|
|
7977
|
+
flex-direction: row;
|
|
7978
|
+
align-items: center;
|
|
7979
|
+
justify-content: space-between;
|
|
7980
|
+
}
|
|
7981
|
+
|
|
7971
7982
|
display: flex;
|
|
7972
|
-
|
|
7973
|
-
justify-content: space-between;
|
|
7983
|
+
flex-direction: column;
|
|
7974
7984
|
padding: ${spaces?.xs}px ${spaces?.m}px ${search ? spaces?.xs : spaces?.s}px;
|
|
7975
7985
|
${search && `border-bottom: solid 1px ${semanticColors?.base?.divider};`}
|
|
7976
7986
|
`;
|
|
@@ -7985,7 +7995,7 @@ const DEFAULT_POPPER_BASE_PROPS = {
|
|
|
7985
7995
|
};
|
|
7986
7996
|
const DropdownMenu = (props) => {
|
|
7987
7997
|
const theme = useTheme$4();
|
|
7988
|
-
const { anchorEl, id, InputBaseProps, open = false, PopperComponent = StyledPopper, PaperComponent = StyledPaper$1, PopperPlacement = "bottom-start", PopperBaseProps = {}, isSearchAutoFocus = true, search = false, title, headerComponentSlot, label = "Search", children, options, onClickAway = noop, ClickAwayListenerProps, width = MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, onOpen, onClose, ...rest } = props;
|
|
7998
|
+
const { anchorEl, id, InputBaseProps, open = false, PopperComponent = StyledPopper, PaperComponent = StyledPaper$1, PopperPlacement = "bottom-start", PopperBaseProps = {}, isSearchAutoFocus = true, search = false, title, subTitle, headerComponentSlot, label = "Search", children, options, onClickAway = noop, ClickAwayListenerProps, width = MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, onOpen, onClose, ...rest } = props;
|
|
7989
7999
|
const isMultiColumn = "options" in (options?.[0] || EMPTY_OBJECT);
|
|
7990
8000
|
// (masoudmanson): The DropdownMenu's Popper component should have a minimum
|
|
7991
8001
|
// width of MINIMUM_DROPDOWN_MENU_POPPER_WIDTH pixels if the DropdownMenu is
|
|
@@ -8015,7 +8025,7 @@ const DropdownMenu = (props) => {
|
|
|
8015
8025
|
], open: open, anchorEl: anchorEl, placement: PopperPlacement }, PopperBaseProps, {
|
|
8016
8026
|
// (masoudmanson): To override the width of the Popper,
|
|
8017
8027
|
// the sx prop's value must be set after spreading the PopperBaseProps.
|
|
8018
|
-
sx: dropdownMenuPopperSx, children: jsx(PaperComponent, { children: jsx(ClickAwayListener, __assign({ onClickAway: onClickAway }, ClickAwayListenerProps, { children: jsxs(StyledDropdownMenuAutocompleteWrapper, { search: search, titleValue: !!(title || headerComponentSlot), children: [(title || headerComponentSlot) && (jsxs(StyledDropdownMenuHeader, { search: search, children: [title && jsx(StyledHeaderTitle, { children: title }), headerComponentSlot && jsx(Fragment, { children: headerComponentSlot })] })), anchorEl && (jsx(Autocomplete, __assign({ label: label, search: search, title: title, open: open, options: options, PopperBaseProps: DEFAULT_POPPER_BASE_PROPS, disablePortal: true, onClickAway: noop, onClick: noop, onOpen: onOpen, onClose: onClose }, rest, { InputBaseProps: DefaultInputBaseProps }))), children] }) })) }) })));
|
|
8028
|
+
sx: dropdownMenuPopperSx, children: jsx(PaperComponent, { children: jsx(ClickAwayListener, __assign({ onClickAway: onClickAway }, ClickAwayListenerProps, { children: jsxs(StyledDropdownMenuAutocompleteWrapper, { search: search, titleValue: !!(title || headerComponentSlot), children: [(title || headerComponentSlot) && (jsxs(StyledDropdownMenuHeader, { search: search, children: [jsxs("div", { children: [title && jsx(StyledHeaderTitle, { children: title }), headerComponentSlot && jsx(Fragment, { children: headerComponentSlot })] }), title && subTitle && (jsx(StyledHeaderSubTitle, { children: subTitle }))] })), anchorEl && (jsx(Autocomplete, __assign({ label: label, search: search, title: title, open: open, options: options, PopperBaseProps: DEFAULT_POPPER_BASE_PROPS, disablePortal: true, onClickAway: noop, onClick: noop, onOpen: onOpen, onClose: onClose }, rest, { InputBaseProps: DefaultInputBaseProps }))), children] }) })) }) })));
|
|
8019
8029
|
};
|
|
8020
8030
|
|
|
8021
8031
|
const doNotForwardProps$u = [
|
|
@@ -8073,12 +8083,13 @@ const inputDropdownStyles = (props) => {
|
|
|
8073
8083
|
}
|
|
8074
8084
|
|
|
8075
8085
|
&:hover {
|
|
8076
|
-
background-color: ${semanticColors?.base?.
|
|
8077
|
-
box-shadow: inset 0 0 0 1px
|
|
8086
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
8087
|
+
box-shadow: inset 0 0 0 1px
|
|
8088
|
+
${semanticColors?.base?.borderPrimaryInteraction};
|
|
8078
8089
|
color: ${semanticColors?.base?.textPrimary};
|
|
8079
8090
|
|
|
8080
8091
|
path {
|
|
8081
|
-
fill: ${semanticColors?.base?.
|
|
8092
|
+
fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
8082
8093
|
}
|
|
8083
8094
|
|
|
8084
8095
|
.styled-label {
|
|
@@ -8092,7 +8103,7 @@ const inputDropdownStyles = (props) => {
|
|
|
8092
8103
|
color: ${semanticColors?.base?.textPrimary};
|
|
8093
8104
|
|
|
8094
8105
|
path {
|
|
8095
|
-
fill: ${semanticColors?.base?.
|
|
8106
|
+
fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
8096
8107
|
}
|
|
8097
8108
|
}
|
|
8098
8109
|
|
|
@@ -8144,12 +8155,12 @@ const minimal$1 = (props) => {
|
|
|
8144
8155
|
}
|
|
8145
8156
|
|
|
8146
8157
|
&:hover {
|
|
8147
|
-
background-color: ${semanticColors?.base?.
|
|
8158
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
8148
8159
|
border: none;
|
|
8149
8160
|
color: ${semanticColors?.base?.textPrimary};
|
|
8150
8161
|
|
|
8151
8162
|
path {
|
|
8152
|
-
fill: ${semanticColors?.base?.
|
|
8163
|
+
fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
8153
8164
|
}
|
|
8154
8165
|
|
|
8155
8166
|
.styled-label {
|
|
@@ -8158,7 +8169,7 @@ const minimal$1 = (props) => {
|
|
|
8158
8169
|
}
|
|
8159
8170
|
|
|
8160
8171
|
&:active {
|
|
8161
|
-
background-color: ${semanticColors?.base?.
|
|
8172
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
8162
8173
|
border: none;
|
|
8163
8174
|
}
|
|
8164
8175
|
`;
|
|
@@ -8228,7 +8239,7 @@ const isOpen = (props) => {
|
|
|
8228
8239
|
: ""}
|
|
8229
8240
|
|
|
8230
8241
|
path {
|
|
8231
|
-
fill: ${semanticColors?.base?.
|
|
8242
|
+
fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
8232
8243
|
}
|
|
8233
8244
|
|
|
8234
8245
|
box-shadow: ${sdsStyle === "minimal"
|
|
@@ -8236,15 +8247,15 @@ const isOpen = (props) => {
|
|
|
8236
8247
|
: `inset 0 0 0 1px ${semanticColors?.[inputColor]?.border}`};
|
|
8237
8248
|
|
|
8238
8249
|
background-color: ${sdsStyle === "minimal"
|
|
8239
|
-
? semanticColors?.base?.
|
|
8250
|
+
? semanticColors?.base?.fillInteraction
|
|
8240
8251
|
: "transparent"};
|
|
8241
8252
|
|
|
8242
8253
|
&:hover {
|
|
8243
8254
|
path {
|
|
8244
|
-
fill: ${semanticColors?.base?.
|
|
8255
|
+
fill: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
8245
8256
|
}
|
|
8246
8257
|
|
|
8247
|
-
border-color: ${semanticColors?.base?.
|
|
8258
|
+
border-color: ${semanticColors?.base?.borderPrimaryInteraction};
|
|
8248
8259
|
}
|
|
8249
8260
|
`;
|
|
8250
8261
|
};
|
|
@@ -8254,11 +8265,13 @@ const applyIntentColor$1 = (props, intent) => {
|
|
|
8254
8265
|
box-shadow: inset 0 0 0 1px ${semanticColors?.[intent]?.border};
|
|
8255
8266
|
|
|
8256
8267
|
&:hover {
|
|
8257
|
-
box-shadow: inset 0 0 0 1px
|
|
8268
|
+
box-shadow: inset 0 0 0 1px
|
|
8269
|
+
${semanticColors?.base?.borderPrimaryInteraction};
|
|
8258
8270
|
}
|
|
8259
8271
|
|
|
8260
8272
|
&:active {
|
|
8261
|
-
box-shadow: inset 0 0 0 1px
|
|
8273
|
+
box-shadow: inset 0 0 0 1px
|
|
8274
|
+
${semanticColors?.base?.borderPrimaryInteraction};
|
|
8262
8275
|
}
|
|
8263
8276
|
`;
|
|
8264
8277
|
};
|
|
@@ -8822,7 +8835,6 @@ const tagSizeS = (props) => {
|
|
|
8822
8835
|
const semanticColors = getSemanticColors(props);
|
|
8823
8836
|
return css$1 `
|
|
8824
8837
|
height: unset;
|
|
8825
|
-
margin: 0 ${spaces?.xxs}px ${spaces?.xs}px 0;
|
|
8826
8838
|
|
|
8827
8839
|
.MuiChip-label {
|
|
8828
8840
|
${fontBodyXxxs$1(props)}
|
|
@@ -8832,7 +8844,7 @@ const tagSizeS = (props) => {
|
|
|
8832
8844
|
.MuiSvgIcon-root {
|
|
8833
8845
|
height: ${iconSizes?.xs.height}px;
|
|
8834
8846
|
width: ${iconSizes?.xs.width}px;
|
|
8835
|
-
margin: 0 ${spaces?.xxs}px 0
|
|
8847
|
+
margin: 0 ${spaces?.xxs}px 0 0;
|
|
8836
8848
|
}
|
|
8837
8849
|
|
|
8838
8850
|
.MuiChip-deleteIcon {
|
|
@@ -8850,7 +8862,6 @@ const tagSizeL = (props) => {
|
|
|
8850
8862
|
const semanticColors = getSemanticColors(props);
|
|
8851
8863
|
return css$1 `
|
|
8852
8864
|
height: unset;
|
|
8853
|
-
margin: 0 ${spaces?.xxs}px ${spaces?.xs}px 0;
|
|
8854
8865
|
|
|
8855
8866
|
.MuiChip-label {
|
|
8856
8867
|
${fontBodyXs$2(props)}
|
|
@@ -8860,7 +8871,7 @@ const tagSizeL = (props) => {
|
|
|
8860
8871
|
.MuiSvgIcon-root {
|
|
8861
8872
|
height: ${iconSizes?.l.height}px;
|
|
8862
8873
|
width: ${iconSizes?.l.width}px;
|
|
8863
|
-
margin: 0 ${spaces?.xxs}px 0
|
|
8874
|
+
margin: 0 ${spaces?.xxs}px 0 0px;
|
|
8864
8875
|
}
|
|
8865
8876
|
|
|
8866
8877
|
.MuiChip-deleteIcon {
|
|
@@ -8877,9 +8888,11 @@ const rounded = (props) => {
|
|
|
8877
8888
|
const spaces = getSpaces(props);
|
|
8878
8889
|
const { sdsSize = "s", icon } = props;
|
|
8879
8890
|
const topBottomPadding = sdsSize === "s" ? spaces?.xxxs : icon ? spaces?.xxs : spaces?.xs;
|
|
8891
|
+
const rightPadding = sdsSize === "l" && icon ? spaces?.s : spaces?.xs;
|
|
8880
8892
|
return css$1 `
|
|
8881
8893
|
border-radius: ${corners?.rounded}px;
|
|
8882
|
-
padding: ${topBottomPadding}px ${
|
|
8894
|
+
padding: ${topBottomPadding}px ${rightPadding}px ${topBottomPadding}px
|
|
8895
|
+
${spaces?.xs}px;
|
|
8883
8896
|
|
|
8884
8897
|
&:after {
|
|
8885
8898
|
content: "";
|
|
@@ -8894,7 +8907,7 @@ const square = (props) => {
|
|
|
8894
8907
|
const topBottomPadding = sdsSize === "s" ? spaces?.xxxs : icon ? spaces?.xxs : spaces?.xs;
|
|
8895
8908
|
return css$1 `
|
|
8896
8909
|
border-radius: ${corners?.m}px;
|
|
8897
|
-
padding: ${topBottomPadding}px ${spaces?.
|
|
8910
|
+
padding: ${topBottomPadding}px ${spaces?.xs}px;
|
|
8898
8911
|
|
|
8899
8912
|
&:after {
|
|
8900
8913
|
content: "";
|
|
@@ -8922,54 +8935,51 @@ const secondary = (props) => {
|
|
|
8922
8935
|
return createTypeCss(props, "secondary");
|
|
8923
8936
|
};
|
|
8924
8937
|
function generatePrimaryTagColors(intent, colors, semanticColors) {
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
backgroundClicked: semanticColors?.neutral.fillPressed,
|
|
8943
|
-
backgroundHover: semanticColors?.neutral.fillHover,
|
|
8944
|
-
iconColor: semanticColors?.base?.ornamentOnFill,
|
|
8945
|
-
label: semanticColors?.base?.textOnFill
|
|
8946
|
-
};
|
|
8947
|
-
}
|
|
8938
|
+
const effectiveIntent = intent || "neutral";
|
|
8939
|
+
const intentColors = semanticColors?.[effectiveIntent];
|
|
8940
|
+
const hasCustomColors = colors.length >= 2;
|
|
8941
|
+
return {
|
|
8942
|
+
background: hasCustomColors ? colors[1] : intentColors?.fillPrimary,
|
|
8943
|
+
backgroundClicked: hasCustomColors
|
|
8944
|
+
? darken$2(colors[1], 0.3)
|
|
8945
|
+
: intentColors?.fillPressed,
|
|
8946
|
+
backgroundHover: hasCustomColors
|
|
8947
|
+
? darken$2(colors[1], 0.15)
|
|
8948
|
+
: intentColors?.fillHover,
|
|
8949
|
+
iconColor: hasCustomColors
|
|
8950
|
+
? colors[2]
|
|
8951
|
+
: semanticColors?.base?.ornamentOnFill,
|
|
8952
|
+
label: colors.length > 0 ? colors[0] : semanticColors?.base?.textOnFill,
|
|
8953
|
+
borderColor: alpha$1(semanticColors?.neutral.border || "#000", 0.6)
|
|
8954
|
+
};
|
|
8948
8955
|
}
|
|
8949
|
-
function
|
|
8950
|
-
if (
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8956
|
+
function getSecondaryBorderColor(effectiveIntent, theme, intentColors) {
|
|
8957
|
+
if (!theme || !theme.palette)
|
|
8958
|
+
return alpha$1(intentColors?.border || "#000", 0.6);
|
|
8959
|
+
if (effectiveIntent === "negative" && theme.palette.mode === "dark")
|
|
8960
|
+
return alpha$1(intentColors?.border || "#000", 0.65);
|
|
8961
|
+
if (effectiveIntent === "notice" && theme.palette.mode === "light")
|
|
8962
|
+
return alpha$1(intentColors?.border || "#000", 0.85);
|
|
8963
|
+
return alpha$1(intentColors?.border || "#000", 0.6);
|
|
8964
|
+
}
|
|
8965
|
+
function generateSecondaryTagColors(intent, colors, semanticColors, theme = defaultTheme$4) {
|
|
8966
|
+
const effectiveIntent = intent || "neutral";
|
|
8967
|
+
const intentColors = semanticColors?.[effectiveIntent];
|
|
8968
|
+
const hasCustomColors = colors.length >= 2;
|
|
8969
|
+
return {
|
|
8970
|
+
background: hasCustomColors ? colors[1] : intentColors?.fillSecondary,
|
|
8971
|
+
backgroundClicked: hasCustomColors
|
|
8972
|
+
? darken$2(colors[1], 0.3)
|
|
8973
|
+
: intentColors?.fillPressed,
|
|
8974
|
+
backgroundHover: hasCustomColors
|
|
8975
|
+
? darken$2(colors[1], 0.15)
|
|
8976
|
+
: intentColors?.fillHover,
|
|
8977
|
+
iconColor: hasCustomColors ? colors[2] : intentColors?.ornament,
|
|
8978
|
+
label: colors.length > 0 ? colors[0] : intentColors?.text,
|
|
8979
|
+
borderColor: hasCustomColors
|
|
8980
|
+
? alpha$1(colors[1], 0.6)
|
|
8981
|
+
: getSecondaryBorderColor(effectiveIntent, theme, intentColors)
|
|
8982
|
+
};
|
|
8973
8983
|
}
|
|
8974
8984
|
function createTypeCss(props, type) {
|
|
8975
8985
|
const semanticColors = getSemanticColors(props);
|
|
@@ -8977,12 +8987,16 @@ function createTypeCss(props, type) {
|
|
|
8977
8987
|
const colors = Array.isArray(props.tagColor) ? [...props.tagColor] : [];
|
|
8978
8988
|
const typeToColors = {
|
|
8979
8989
|
primary: generatePrimaryTagColors(intent, colors, semanticColors),
|
|
8980
|
-
secondary: generateSecondaryTagColors(intent, colors, semanticColors)
|
|
8990
|
+
secondary: generateSecondaryTagColors(intent, colors, semanticColors, props.theme)
|
|
8981
8991
|
};
|
|
8982
8992
|
const typeColors = typeToColors[type];
|
|
8983
8993
|
return css$1 `
|
|
8984
8994
|
${focusVisibleA11yStyle(props)}
|
|
8985
8995
|
|
|
8996
|
+
${type === "secondary" &&
|
|
8997
|
+
css$1 `
|
|
8998
|
+
box-shadow: inset 0 0 0 1px ${typeColors.borderColor};
|
|
8999
|
+
`}
|
|
8986
9000
|
background-color: ${typeColors.background};
|
|
8987
9001
|
position: relative;
|
|
8988
9002
|
|
|
@@ -8996,6 +9010,7 @@ function createTypeCss(props, type) {
|
|
|
8996
9010
|
|
|
8997
9011
|
&:hover,
|
|
8998
9012
|
&:active {
|
|
9013
|
+
box-shadow: none;
|
|
8999
9014
|
.MuiChip-label {
|
|
9000
9015
|
color: ${semanticColors?.base?.textPrimaryInverse};
|
|
9001
9016
|
}
|
|
@@ -9187,6 +9202,9 @@ const StyledChipsWrapper = styled$2("div") `
|
|
|
9187
9202
|
const spaces = getSpaces(props);
|
|
9188
9203
|
return `
|
|
9189
9204
|
margin-top: ${spaces?.s}px;
|
|
9205
|
+
display: flex;
|
|
9206
|
+
flex-wrap: wrap;
|
|
9207
|
+
gap: ${spaces?.xxs}px;
|
|
9190
9208
|
`;
|
|
9191
9209
|
}}
|
|
9192
9210
|
`;
|
|
@@ -9341,30 +9359,38 @@ const doNotForwardProps$r = [
|
|
|
9341
9359
|
"cardSdsType",
|
|
9342
9360
|
"classes",
|
|
9343
9361
|
];
|
|
9344
|
-
const
|
|
9345
|
-
|
|
9346
|
-
}) `
|
|
9347
|
-
${(props) => {
|
|
9348
|
-
const { imagePosition = "left", sdsType = "wide", boundingBox = true, decorativeBorder = false, imagePadding = false, visualElementType, clickableCard = false, } = props;
|
|
9349
|
-
const semanticColors = getSemanticColors(props);
|
|
9350
|
-
const corners = getCorners(props);
|
|
9351
|
-
const shadows = getShadows(props);
|
|
9352
|
-
const flexDirection = sdsType === "wide" && visualElementType === "image"
|
|
9362
|
+
const getFlexDirection = (sdsType, visualElementType, imagePosition) => {
|
|
9363
|
+
return sdsType === "wide" && visualElementType === "image"
|
|
9353
9364
|
? imagePosition === "left"
|
|
9354
9365
|
? "row"
|
|
9355
9366
|
: "row-reverse"
|
|
9356
9367
|
: visualElementType === "icon"
|
|
9357
9368
|
? "row"
|
|
9358
9369
|
: "column";
|
|
9359
|
-
|
|
9370
|
+
};
|
|
9371
|
+
const getShowDecorativeBorder = (visualElementType, boundingBox, decorativeBorder, imagePadding) => {
|
|
9372
|
+
return visualElementType === "image"
|
|
9360
9373
|
? boundingBox && decorativeBorder && imagePadding
|
|
9361
9374
|
: boundingBox && decorativeBorder;
|
|
9375
|
+
};
|
|
9376
|
+
const StyledCard = styled$2(Card, {
|
|
9377
|
+
shouldForwardProp: (prop) => !doNotForwardProps$r.includes(prop)
|
|
9378
|
+
}) `
|
|
9379
|
+
${(props) => {
|
|
9380
|
+
const { imagePosition = "left", sdsType = "wide", boundingBox = true, decorativeBorder = false, imagePadding = false, visualElementType, clickableCard = false, } = props;
|
|
9381
|
+
const semanticColors = getSemanticColors(props);
|
|
9382
|
+
const corners = getCorners(props);
|
|
9383
|
+
const shadows = getShadows(props);
|
|
9384
|
+
const spaces = getSpaces(props);
|
|
9385
|
+
const flexDirection = getFlexDirection(sdsType, visualElementType, imagePosition);
|
|
9386
|
+
const showDecorativeBorder = getShowDecorativeBorder(visualElementType, boundingBox, decorativeBorder, imagePadding);
|
|
9362
9387
|
return css$1 `
|
|
9388
|
+
position: relative;
|
|
9363
9389
|
display: flex;
|
|
9364
9390
|
background-color: transparent;
|
|
9365
9391
|
background-image: none;
|
|
9366
9392
|
flex-direction: ${flexDirection};
|
|
9367
|
-
overflow:
|
|
9393
|
+
overflow: visible;
|
|
9368
9394
|
box-shadow: none;
|
|
9369
9395
|
border-radius: ${corners?.xl}px;
|
|
9370
9396
|
|
|
@@ -9383,16 +9409,47 @@ const StyledCard = styled$2(Card, {
|
|
|
9383
9409
|
background-color: ${semanticColors?.base?.backgroundPrimary};
|
|
9384
9410
|
`}
|
|
9385
9411
|
|
|
9412
|
+
${showDecorativeBorder &&
|
|
9413
|
+
css$1 `
|
|
9414
|
+
&:before {
|
|
9415
|
+
content: "";
|
|
9416
|
+
position: absolute;
|
|
9417
|
+
background-color: ${semanticColors?.accent?.border};
|
|
9418
|
+
|
|
9419
|
+
${sdsType === "wide" &&
|
|
9420
|
+
css$1 `
|
|
9421
|
+
top: -1px;
|
|
9422
|
+
bottom: -1px;
|
|
9423
|
+
left: -1px;
|
|
9424
|
+
width: ${spaces?.xs}px;
|
|
9425
|
+
border-top-left-radius: ${corners?.xl}px;
|
|
9426
|
+
border-bottom-left-radius: ${corners?.xl}px;
|
|
9427
|
+
`}
|
|
9428
|
+
|
|
9429
|
+
${sdsType === "narrow" &&
|
|
9430
|
+
css$1 `
|
|
9431
|
+
height: ${spaces?.xs}px;
|
|
9432
|
+
top: -1px;
|
|
9433
|
+
left: -1px;
|
|
9434
|
+
right: -1px;
|
|
9435
|
+
border-top-left-radius: ${corners?.xl}px;
|
|
9436
|
+
border-top-right-radius: ${corners?.xl}px;
|
|
9437
|
+
`}
|
|
9438
|
+
}
|
|
9439
|
+
`}
|
|
9440
|
+
|
|
9386
9441
|
${sdsType === "wide" &&
|
|
9387
9442
|
showDecorativeBorder &&
|
|
9388
9443
|
css$1 `
|
|
9389
|
-
border-left:
|
|
9444
|
+
border-top-left-radius: ${corners?.l}px;
|
|
9445
|
+
border-bottom-left-radius: ${corners?.l}px;
|
|
9390
9446
|
`}
|
|
9391
9447
|
|
|
9392
9448
|
${sdsType === "narrow" &&
|
|
9393
9449
|
showDecorativeBorder &&
|
|
9394
9450
|
css$1 `
|
|
9395
|
-
border-top:
|
|
9451
|
+
border-top-left-radius: ${corners?.l}px;
|
|
9452
|
+
border-top-right-radius: ${corners?.l}px;
|
|
9396
9453
|
`}
|
|
9397
9454
|
`;
|
|
9398
9455
|
}}
|
|
@@ -9425,7 +9482,7 @@ const StyledCardActionArea = styled$2(Button, {
|
|
|
9425
9482
|
|
|
9426
9483
|
&:hover,
|
|
9427
9484
|
&:active {
|
|
9428
|
-
background-color: ${semanticColors?.base?.
|
|
9485
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
9429
9486
|
}
|
|
9430
9487
|
`;
|
|
9431
9488
|
}}
|
|
@@ -9665,9 +9722,13 @@ const StyledImageMediaWrapper = styled$3("div", {
|
|
|
9665
9722
|
${(props) => {
|
|
9666
9723
|
const { imagePadding = false, boundingBox = true, sdsType = "wide", imagePosition = "left", } = props;
|
|
9667
9724
|
const spaces = getSpaces(props);
|
|
9725
|
+
const corners = getCorners(props);
|
|
9668
9726
|
return css$3 `
|
|
9669
9727
|
display: flex;
|
|
9670
9728
|
align-items: start;
|
|
9729
|
+
border-top-left-radius: calc(${corners?.xl}px - 1px);
|
|
9730
|
+
border-bottom-left-radius: calc(${corners?.xl}px - 1px);
|
|
9731
|
+
overflow: hidden;
|
|
9671
9732
|
|
|
9672
9733
|
${boundingBox
|
|
9673
9734
|
? imagePadding
|
|
@@ -9702,6 +9763,8 @@ const StyledImageMediaWrapper = styled$3("div", {
|
|
|
9702
9763
|
`}
|
|
9703
9764
|
|
|
9704
9765
|
justify-content: center;
|
|
9766
|
+
border-top-left-radius: calc(${corners?.xl}px - 1px);
|
|
9767
|
+
border-top-right-radius: calc(${corners?.xl}px - 1px);
|
|
9705
9768
|
`}
|
|
9706
9769
|
`;
|
|
9707
9770
|
}}
|
|
@@ -9842,7 +9905,7 @@ const StyledPaper = styled$2(Paper, {
|
|
|
9842
9905
|
const semanticColors = getSemanticColors(props);
|
|
9843
9906
|
const isSmall = sdsSize === "xs" || sdsSize === "s";
|
|
9844
9907
|
return `
|
|
9845
|
-
background-color: ${semanticColors?.base?.
|
|
9908
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
9846
9909
|
background-image: none;
|
|
9847
9910
|
box-shadow: ${shadows?.l};
|
|
9848
9911
|
max-height: calc(100vh - ${2 * (spaces?.xxxl || 40)}px);
|
|
@@ -10484,12 +10547,11 @@ const disabledStyles$1 = (props) => {
|
|
|
10484
10547
|
const StyledFormControlLabel$1 = styled$2(FormControlLabel) `
|
|
10485
10548
|
${(props) => {
|
|
10486
10549
|
const { disabled } = props;
|
|
10487
|
-
const spaces = getSpaces(props);
|
|
10488
10550
|
const semanticColors = getSemanticColors(props);
|
|
10489
10551
|
const borders = getBorders(props);
|
|
10490
10552
|
return `
|
|
10491
10553
|
align-items: start;
|
|
10492
|
-
margin-bottom:
|
|
10554
|
+
margin-bottom: 0;
|
|
10493
10555
|
margin-left: 0;
|
|
10494
10556
|
margin-right: 0;
|
|
10495
10557
|
width: fit-content;
|
|
@@ -10497,7 +10559,7 @@ const StyledFormControlLabel$1 = styled$2(FormControlLabel) `
|
|
|
10497
10559
|
&:hover {
|
|
10498
10560
|
${StyledCheckboxDefaultIcon} {
|
|
10499
10561
|
border: ${borders?.base?.hover};
|
|
10500
|
-
background-color: ${disabled ? "transparent" : semanticColors?.base?.
|
|
10562
|
+
background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
|
|
10501
10563
|
}
|
|
10502
10564
|
|
|
10503
10565
|
${StyledCheckboxCheckedIcon} {
|
|
@@ -10671,19 +10733,18 @@ const disabledStyles = (props) => {
|
|
|
10671
10733
|
const StyledFormControlLabel = styled$2(FormControlLabel) `
|
|
10672
10734
|
${(props) => {
|
|
10673
10735
|
const { disabled } = props;
|
|
10674
|
-
const spaces = getSpaces(props);
|
|
10675
10736
|
const semanticColors = getSemanticColors(props);
|
|
10676
10737
|
return `
|
|
10677
10738
|
align-items: start;
|
|
10678
|
-
margin-bottom:
|
|
10739
|
+
margin-bottom: 0;
|
|
10679
10740
|
margin-left: 0;
|
|
10680
10741
|
margin-right: 0;
|
|
10681
10742
|
width: fit-content;
|
|
10682
10743
|
|
|
10683
10744
|
&:hover {
|
|
10684
10745
|
${StyledRadioDefaultIcon} {
|
|
10685
|
-
border: 1px solid ${semanticColors?.base?.
|
|
10686
|
-
background-color: ${disabled ? "transparent" : semanticColors?.base?.
|
|
10746
|
+
border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
10747
|
+
background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
|
|
10687
10748
|
}
|
|
10688
10749
|
|
|
10689
10750
|
${StyledRadioCheckedIcon} {
|
|
@@ -10693,7 +10754,7 @@ const StyledFormControlLabel = styled$2(FormControlLabel) `
|
|
|
10693
10754
|
|
|
10694
10755
|
&:active {
|
|
10695
10756
|
${StyledRadioDefaultIcon} {
|
|
10696
|
-
border: 1px solid ${semanticColors?.base?.
|
|
10757
|
+
border: 1px solid ${semanticColors?.base?.borderPrimaryInteraction};
|
|
10697
10758
|
}
|
|
10698
10759
|
|
|
10699
10760
|
${StyledRadioCheckedIcon} {
|
|
@@ -10987,12 +11048,12 @@ const textArea = (props) => {
|
|
|
10987
11048
|
};
|
|
10988
11049
|
const StyledLabel$2 = styled$2("label") `
|
|
10989
11050
|
display: block;
|
|
10990
|
-
${
|
|
11051
|
+
${fontBodySemiboldXxxs}
|
|
10991
11052
|
|
|
10992
11053
|
${(props) => {
|
|
10993
11054
|
const spaces = getSpaces(props);
|
|
10994
11055
|
return `
|
|
10995
|
-
margin-bottom: ${spaces?.
|
|
11056
|
+
margin-bottom: ${spaces?.s}px;
|
|
10996
11057
|
`;
|
|
10997
11058
|
}}
|
|
10998
11059
|
`;
|
|
@@ -11008,8 +11069,6 @@ const StyledInputBase = styled$2(TextField, {
|
|
|
11008
11069
|
const corners = getCorners(props);
|
|
11009
11070
|
const semanticColors = getSemanticColors(props);
|
|
11010
11071
|
return css$1 `
|
|
11011
|
-
margin-bottom: ${spaces?.l}px;
|
|
11012
|
-
margin-right: ${spaces?.m}px;
|
|
11013
11072
|
display: block;
|
|
11014
11073
|
|
|
11015
11074
|
.${outlinedInputClasses.root} {
|
|
@@ -11046,7 +11105,7 @@ const StyledInputBase = styled$2(TextField, {
|
|
|
11046
11105
|
.${outlinedInputClasses.root}:hover
|
|
11047
11106
|
.${outlinedInputClasses.notchedOutline} {
|
|
11048
11107
|
border: ${borders?.base?.hover};
|
|
11049
|
-
background-color: ${semanticColors?.base?.
|
|
11108
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
11050
11109
|
}
|
|
11051
11110
|
|
|
11052
11111
|
.${outlinedInputClasses.root}.${outlinedInputClasses.focused}
|
|
@@ -11225,7 +11284,7 @@ const toggleOff = (props) => {
|
|
|
11225
11284
|
}
|
|
11226
11285
|
|
|
11227
11286
|
&:hover {
|
|
11228
|
-
background-color: ${semanticColors?.base?.
|
|
11287
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
11229
11288
|
}
|
|
11230
11289
|
}
|
|
11231
11290
|
|
|
@@ -11247,7 +11306,7 @@ const toggleOff = (props) => {
|
|
|
11247
11306
|
outline: ${borders?.base?.hover};
|
|
11248
11307
|
|
|
11249
11308
|
.${switchClasses.thumb} {
|
|
11250
|
-
color: ${semanticColors?.base?.
|
|
11309
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
11251
11310
|
}
|
|
11252
11311
|
}`}
|
|
11253
11312
|
`;
|
|
@@ -11279,6 +11338,123 @@ const InputToggle = (props) => {
|
|
|
11279
11338
|
return (jsx(Toggle, __assign({ checked: finalChecked, color: "primary", onChange: handleChange, value: labelValue }, rest)));
|
|
11280
11339
|
};
|
|
11281
11340
|
|
|
11341
|
+
const StyledIntentMessage = styled$2.div `
|
|
11342
|
+
display: flex;
|
|
11343
|
+
flex-direction: column;
|
|
11344
|
+
${(props) => {
|
|
11345
|
+
const spaces = getSpaces(props);
|
|
11346
|
+
const semanticColors = getSemanticColors(props);
|
|
11347
|
+
const borderThickness = 2;
|
|
11348
|
+
const borderColor = props.borderIntent
|
|
11349
|
+
? semanticColors?.[props.borderIntent]?.border
|
|
11350
|
+
: "transparent";
|
|
11351
|
+
return `
|
|
11352
|
+
gap: ${spaces?.s}px;
|
|
11353
|
+
position: relative;
|
|
11354
|
+
|
|
11355
|
+
&::before {
|
|
11356
|
+
content: "";
|
|
11357
|
+
position: absolute;
|
|
11358
|
+
left: -${(spaces?.xs || 0) + borderThickness}px;
|
|
11359
|
+
top: 0;
|
|
11360
|
+
bottom: 0;
|
|
11361
|
+
width: ${borderThickness}px;
|
|
11362
|
+
background-color: ${borderColor};
|
|
11363
|
+
display: ${props.hasBorder ? "block" : "none"};
|
|
11364
|
+
}
|
|
11365
|
+
`;
|
|
11366
|
+
}}
|
|
11367
|
+
`;
|
|
11368
|
+
const StyledMessageItem = styled$2.div `
|
|
11369
|
+
${fontBodySemiboldXxxs}
|
|
11370
|
+
display: flex;
|
|
11371
|
+
align-items: start;
|
|
11372
|
+
|
|
11373
|
+
${(props) => {
|
|
11374
|
+
const spaces = getSpaces(props);
|
|
11375
|
+
const semanticColors = getSemanticColors(props);
|
|
11376
|
+
const intentColors = semanticColors?.[props.intent];
|
|
11377
|
+
return `
|
|
11378
|
+
gap: ${spaces?.xs}px;
|
|
11379
|
+
color: ${intentColors?.text};
|
|
11380
|
+
|
|
11381
|
+
svg {
|
|
11382
|
+
margin-top: ${spaces?.xxxs}px;
|
|
11383
|
+
fill: ${intentColors?.ornament};
|
|
11384
|
+
path {
|
|
11385
|
+
fill: ${intentColors?.ornament};
|
|
11386
|
+
}
|
|
11387
|
+
}
|
|
11388
|
+
`;
|
|
11389
|
+
}}
|
|
11390
|
+
`;
|
|
11391
|
+
|
|
11392
|
+
const DEFAULT_INTENT_PRIORITY = {
|
|
11393
|
+
negative: 0,
|
|
11394
|
+
notice: 1,
|
|
11395
|
+
positive: 2
|
|
11396
|
+
};
|
|
11397
|
+
const IntentMessage = (props) => {
|
|
11398
|
+
const { messages = [], children, border = false, autoOrder = true, orderBy, ...rest } = props;
|
|
11399
|
+
// const priorities = React.useMemo(() => {
|
|
11400
|
+
// return orderBy
|
|
11401
|
+
// ? orderBy.reduce(
|
|
11402
|
+
// (acc, intent, index) => {
|
|
11403
|
+
// acc[intent] = index;
|
|
11404
|
+
// return acc;
|
|
11405
|
+
// },
|
|
11406
|
+
// {} as Record<IntentMessageIntent, number>
|
|
11407
|
+
// )
|
|
11408
|
+
// : DEFAULT_INTENT_PRIORITY;
|
|
11409
|
+
// }, [orderBy]);
|
|
11410
|
+
const priorities = orderBy
|
|
11411
|
+
? Object.fromEntries(orderBy.map((value, index) => [value, index]))
|
|
11412
|
+
: DEFAULT_INTENT_PRIORITY;
|
|
11413
|
+
/**
|
|
11414
|
+
* Determines the left border color based on message intent priority.
|
|
11415
|
+
* When multiple IntentMessage items are rendered together, the border color
|
|
11416
|
+
* corresponds to the highest-priority intent present.
|
|
11417
|
+
*/
|
|
11418
|
+
const borderColorIntent = React__default.useMemo(() => {
|
|
11419
|
+
if (!messages || messages.length === 0)
|
|
11420
|
+
return undefined;
|
|
11421
|
+
// Find the message with the highest priority (lowest number)
|
|
11422
|
+
const highestPriorityMessage = messages.reduce((prev, current) => {
|
|
11423
|
+
const priorityPrev = priorities[prev.intent] ?? 999;
|
|
11424
|
+
const priorityCurrent = priorities[current.intent] ?? 999;
|
|
11425
|
+
return priorityPrev <= priorityCurrent ? prev : current;
|
|
11426
|
+
});
|
|
11427
|
+
return highestPriorityMessage.intent;
|
|
11428
|
+
}, [messages, priorities]);
|
|
11429
|
+
const getIcon = (item) => {
|
|
11430
|
+
const { icon, intent } = item;
|
|
11431
|
+
if (icon) {
|
|
11432
|
+
if (typeof icon !== "string") {
|
|
11433
|
+
return icon;
|
|
11434
|
+
}
|
|
11435
|
+
return jsx(Icon, { sdsIcon: icon, sdsSize: "xs" });
|
|
11436
|
+
}
|
|
11437
|
+
switch (intent) {
|
|
11438
|
+
case "positive":
|
|
11439
|
+
return jsx(Icon, { sdsIcon: "CheckCircle", sdsSize: "xs" });
|
|
11440
|
+
case "negative":
|
|
11441
|
+
case "notice":
|
|
11442
|
+
default:
|
|
11443
|
+
return jsx(Icon, { sdsIcon: "ExclamationMarkCircle", sdsSize: "xs" });
|
|
11444
|
+
}
|
|
11445
|
+
};
|
|
11446
|
+
const sortedMessages = React__default.useMemo(() => {
|
|
11447
|
+
if (!autoOrder)
|
|
11448
|
+
return messages;
|
|
11449
|
+
return [...messages].sort((a, b) => {
|
|
11450
|
+
const priorityA = priorities[a.intent] ?? 999;
|
|
11451
|
+
const priorityB = priorities[b.intent] ?? 999;
|
|
11452
|
+
return priorityA - priorityB;
|
|
11453
|
+
});
|
|
11454
|
+
}, [messages, autoOrder, priorities]);
|
|
11455
|
+
return (jsxs(StyledIntentMessage, __assign({ borderIntent: borderColorIntent, hasBorder: border }, rest, { children: [children, sortedMessages.map((message, index) => (jsxs(StyledMessageItem, { intent: message.intent, children: [getIcon(message), jsx("span", { children: message.text })] }, index)))] })));
|
|
11456
|
+
};
|
|
11457
|
+
|
|
11282
11458
|
const LegendContainer = styled$2("div") `
|
|
11283
11459
|
display: flex;
|
|
11284
11460
|
flex-wrap: wrap;
|
|
@@ -11720,7 +11896,7 @@ const StyledMenu = styled$2(Menu$1) `
|
|
|
11720
11896
|
const corners = getCorners(props);
|
|
11721
11897
|
const semanticColors = getSemanticColors(props);
|
|
11722
11898
|
return `
|
|
11723
|
-
background-color: ${semanticColors?.base?.
|
|
11899
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
11724
11900
|
background-image: none;
|
|
11725
11901
|
padding: ${spaces?.xs}px;
|
|
11726
11902
|
border-radius: ${corners?.l}px;
|
|
@@ -18058,7 +18234,7 @@ const NarrowNavItemLinkStyles = (props) => {
|
|
|
18058
18234
|
? semanticColors?.base.textPrimaryOnDark
|
|
18059
18235
|
: semanticColors?.base.textPrimary};
|
|
18060
18236
|
background: ${props.hasInvertedStyle
|
|
18061
|
-
? semanticColors?.base.
|
|
18237
|
+
? semanticColors?.base.backgroundSecondaryDark
|
|
18062
18238
|
: semanticColors?.base.backgroundSecondary};
|
|
18063
18239
|
}
|
|
18064
18240
|
`;
|
|
@@ -18084,11 +18260,11 @@ const StyledNavItemLink = styled$2(Link, {
|
|
|
18084
18260
|
|
|
18085
18261
|
&:hover {
|
|
18086
18262
|
color: ${props.hasInvertedStyle
|
|
18087
|
-
? semanticColors?.base
|
|
18088
|
-
: semanticColors?.base
|
|
18263
|
+
? semanticColors?.base?.textPrimaryOnDark
|
|
18264
|
+
: semanticColors?.base?.textPrimary};
|
|
18089
18265
|
background-color: ${props.hasInvertedStyle
|
|
18090
|
-
? semanticColors?.base
|
|
18091
|
-
: semanticColors?.base
|
|
18266
|
+
? semanticColors?.base?.fillInteractionOnDark
|
|
18267
|
+
: semanticColors?.base?.fillInteraction};
|
|
18092
18268
|
text-decoration: none;
|
|
18093
18269
|
}
|
|
18094
18270
|
|
|
@@ -18642,7 +18818,7 @@ const StyledSearch = styled$2(InputSearch, {
|
|
|
18642
18818
|
&:hover {
|
|
18643
18819
|
fieldset {
|
|
18644
18820
|
border-color: ${hasInvertedStyle
|
|
18645
|
-
? semanticColors?.base?.
|
|
18821
|
+
? semanticColors?.base?.borderPrimaryInteractionOnDark
|
|
18646
18822
|
: ""} !important;
|
|
18647
18823
|
}
|
|
18648
18824
|
|
|
@@ -18660,7 +18836,7 @@ const StyledSearch = styled$2(InputSearch, {
|
|
|
18660
18836
|
&.Mui-focused {
|
|
18661
18837
|
fieldset {
|
|
18662
18838
|
border-color: ${hasInvertedStyle
|
|
18663
|
-
? semanticColors?.base?.
|
|
18839
|
+
? semanticColors?.base?.borderPrimaryInteractionOnDark
|
|
18664
18840
|
: ""} !important;
|
|
18665
18841
|
}
|
|
18666
18842
|
|
|
@@ -18855,8 +19031,8 @@ const StyledAccordion = styled$2(Accordion, {
|
|
|
18855
19031
|
? semanticColors?.base.ornamentSecondaryOnDark
|
|
18856
19032
|
: semanticColors?.base.ornamentSecondary;
|
|
18857
19033
|
const ChevronOpenColor = hasInvertedStyle
|
|
18858
|
-
? semanticColors?.base?.
|
|
18859
|
-
: semanticColors?.base.
|
|
19034
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19035
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
18860
19036
|
return css$3 `
|
|
18861
19037
|
& > .MuiButtonBase-root {
|
|
18862
19038
|
padding: ${spaces?.s}px ${spaces?.l}px !important;
|
|
@@ -18921,16 +19097,16 @@ const StyledAccordion = styled$2(Accordion, {
|
|
|
18921
19097
|
width: 100%;
|
|
18922
19098
|
box-shadow: none;
|
|
18923
19099
|
background: ${hasInvertedStyle
|
|
18924
|
-
? semanticColors?.base.
|
|
18925
|
-
: semanticColors?.base.
|
|
19100
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19101
|
+
: semanticColors?.base.fillInteraction};
|
|
18926
19102
|
color: ${hasInvertedStyle
|
|
18927
19103
|
? semanticColors?.base.textPrimaryOnDark
|
|
18928
19104
|
: semanticColors?.base.textPrimary};
|
|
18929
19105
|
|
|
18930
19106
|
svg {
|
|
18931
19107
|
color: ${hasInvertedStyle
|
|
18932
|
-
? semanticColors?.base?.
|
|
18933
|
-
: semanticColors?.base.
|
|
19108
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19109
|
+
: semanticColors?.base.ornamentSecondaryInteraction} !important;
|
|
18934
19110
|
}
|
|
18935
19111
|
}
|
|
18936
19112
|
|
|
@@ -19133,8 +19309,8 @@ const StyledHoverDrawerItem = styled$2(Button, {
|
|
|
19133
19309
|
box-shadow: none;
|
|
19134
19310
|
cursor: pointer;
|
|
19135
19311
|
background: ${hasInvertedStyle
|
|
19136
|
-
? semanticColors?.base.
|
|
19137
|
-
: semanticColors?.base.
|
|
19312
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19313
|
+
: semanticColors?.base.fillInteraction};
|
|
19138
19314
|
svg {
|
|
19139
19315
|
color: ${semanticColors?.accent?.ornament};
|
|
19140
19316
|
}
|
|
@@ -19308,8 +19484,8 @@ const NarrowPrimaryNavItem = (props) => {
|
|
|
19308
19484
|
const semanticColors = getSemanticColors(props);
|
|
19309
19485
|
const corners = getCorners(props);
|
|
19310
19486
|
const ChevronHoverColor = hasInvertedStyle
|
|
19311
|
-
? semanticColors?.base?.
|
|
19312
|
-
: semanticColors?.base.
|
|
19487
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19488
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
19313
19489
|
return css$1 `
|
|
19314
19490
|
border-radius: ${corners?.l}px;
|
|
19315
19491
|
justify-content: start;
|
|
@@ -19334,8 +19510,8 @@ const NarrowPrimaryNavItem = (props) => {
|
|
|
19334
19510
|
`
|
|
19335
19511
|
: css$1 `
|
|
19336
19512
|
background: ${hasInvertedStyle
|
|
19337
|
-
? semanticColors?.base.
|
|
19338
|
-
: semanticColors?.base.
|
|
19513
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19514
|
+
: semanticColors?.base.fillInteraction};
|
|
19339
19515
|
`}
|
|
19340
19516
|
box-shadow: none;
|
|
19341
19517
|
|
|
@@ -19367,11 +19543,11 @@ styled$2(Button, {
|
|
|
19367
19543
|
? semanticColors?.base.ornamentSecondaryOnDark
|
|
19368
19544
|
: semanticColors?.base.ornamentSecondary;
|
|
19369
19545
|
const ChevronHoverColor = hasInvertedStyle
|
|
19370
|
-
? semanticColors?.base?.
|
|
19371
|
-
: semanticColors?.base.
|
|
19546
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19547
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
19372
19548
|
const ChevronOpenColor = hasInvertedStyle
|
|
19373
|
-
? semanticColors?.base.
|
|
19374
|
-
: semanticColors?.base.
|
|
19549
|
+
? semanticColors?.base.ornamentSecondaryInteractionOnDark
|
|
19550
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
19375
19551
|
return css$1 `
|
|
19376
19552
|
border: none;
|
|
19377
19553
|
padding: ${spaces?.xxxs}px ${spaces?.m}px;
|
|
@@ -19388,8 +19564,8 @@ styled$2(Button, {
|
|
|
19388
19564
|
|
|
19389
19565
|
&:hover {
|
|
19390
19566
|
background: ${hasInvertedStyle
|
|
19391
|
-
? semanticColors?.base.
|
|
19392
|
-
: semanticColors?.base.
|
|
19567
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19568
|
+
: semanticColors?.base.fillInteraction} !important;
|
|
19393
19569
|
box-shadow: none;
|
|
19394
19570
|
|
|
19395
19571
|
${StyledLabel$1} {
|
|
@@ -19469,8 +19645,8 @@ const NarrowNavItemStyles = (props) => {
|
|
|
19469
19645
|
const semanticColors = getSemanticColors(props);
|
|
19470
19646
|
const corners = getCorners(props);
|
|
19471
19647
|
const ChevronHoverColor = hasInvertedStyle
|
|
19472
|
-
? semanticColors?.base?.
|
|
19473
|
-
: semanticColors?.base
|
|
19648
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19649
|
+
: semanticColors?.base?.ornamentSecondaryInteraction;
|
|
19474
19650
|
return css$1 `
|
|
19475
19651
|
${active ? fontBodySemiboldL(props) : fontBodyMediumL(props)}
|
|
19476
19652
|
border-radius: ${corners?.l}px;
|
|
@@ -19497,8 +19673,8 @@ const NarrowNavItemStyles = (props) => {
|
|
|
19497
19673
|
`
|
|
19498
19674
|
: css$1 `
|
|
19499
19675
|
background: ${hasInvertedStyle
|
|
19500
|
-
? semanticColors?.base.
|
|
19501
|
-
: semanticColors?.base.
|
|
19676
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19677
|
+
: semanticColors?.base.fillInteraction};
|
|
19502
19678
|
`}
|
|
19503
19679
|
box-shadow: none;
|
|
19504
19680
|
|
|
@@ -19538,11 +19714,11 @@ const UnifiedNavItem = styled$2(Button, {
|
|
|
19538
19714
|
? semanticColors?.base.ornamentSecondaryOnDark
|
|
19539
19715
|
: semanticColors?.base.ornamentSecondary;
|
|
19540
19716
|
const ChevronHoverColor = hasInvertedStyle
|
|
19541
|
-
? semanticColors?.base?.
|
|
19542
|
-
: semanticColors?.base.
|
|
19717
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
19718
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
19543
19719
|
const ChevronOpenColor = hasInvertedStyle
|
|
19544
|
-
? semanticColors?.base.
|
|
19545
|
-
: semanticColors?.base.
|
|
19720
|
+
? semanticColors?.base.ornamentSecondaryInteractionOnDark
|
|
19721
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
19546
19722
|
return [
|
|
19547
19723
|
navVariant === "secondary" &&
|
|
19548
19724
|
(active ? fontBodySemiboldS(props) : fontBodyMediumS(props)),
|
|
@@ -19570,8 +19746,8 @@ const UnifiedNavItem = styled$2(Button, {
|
|
|
19570
19746
|
|
|
19571
19747
|
&:hover {
|
|
19572
19748
|
background: ${hasInvertedStyle
|
|
19573
|
-
? semanticColors?.base.
|
|
19574
|
-
: semanticColors?.base.
|
|
19749
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
19750
|
+
: semanticColors?.base.fillInteraction} !important;
|
|
19575
19751
|
box-shadow: none;
|
|
19576
19752
|
|
|
19577
19753
|
${navVariant === "primary" && StyledLabel} {
|
|
@@ -19666,7 +19842,7 @@ const StyledSectionHeader = styled$2(ListSubheader, {
|
|
|
19666
19842
|
? semanticColors?.base.backgroundPrimaryDark
|
|
19667
19843
|
: semanticColors?.base.backgroundPrimary;
|
|
19668
19844
|
}
|
|
19669
|
-
return semanticColors?.base?.
|
|
19845
|
+
return semanticColors?.base?.surfacePrimary;
|
|
19670
19846
|
}
|
|
19671
19847
|
function getTextColor() {
|
|
19672
19848
|
if (isNarrow) {
|
|
@@ -19727,7 +19903,7 @@ const StyledAccordionSection = styled$2("div", {
|
|
|
19727
19903
|
border-radius: ${corners?.xl}px;
|
|
19728
19904
|
padding: ${spaces?.l}px;
|
|
19729
19905
|
background-color: ${hasInvertedStyle
|
|
19730
|
-
? semanticColors?.base?.
|
|
19906
|
+
? semanticColors?.base?.backgroundSecondaryDark
|
|
19731
19907
|
: semanticColors?.base?.backgroundSecondary};
|
|
19732
19908
|
`;
|
|
19733
19909
|
}
|
|
@@ -20363,8 +20539,8 @@ const NarrowStyledTextItem = (props) => {
|
|
|
20363
20539
|
&:hover {
|
|
20364
20540
|
box-shadow: none;
|
|
20365
20541
|
background: ${hasInvertedStyle
|
|
20366
|
-
? semanticColors?.base.
|
|
20367
|
-
: semanticColors?.base.
|
|
20542
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
20543
|
+
: semanticColors?.base.fillInteraction};
|
|
20368
20544
|
}
|
|
20369
20545
|
`;
|
|
20370
20546
|
};
|
|
@@ -20396,11 +20572,11 @@ styled$2(Button, {
|
|
|
20396
20572
|
? semanticColors?.base.ornamentSecondaryOnDark
|
|
20397
20573
|
: semanticColors?.base.ornamentSecondary;
|
|
20398
20574
|
const ChevronHoverColor = hasInvertedStyle
|
|
20399
|
-
? semanticColors?.base?.
|
|
20400
|
-
: semanticColors?.base.
|
|
20575
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
20576
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
20401
20577
|
const ChevronOpenColor = hasInvertedStyle
|
|
20402
|
-
? semanticColors?.base?.
|
|
20403
|
-
: semanticColors?.base.
|
|
20578
|
+
? semanticColors?.base?.ornamentSecondaryInteractionOnDark
|
|
20579
|
+
: semanticColors?.base.ornamentSecondaryInteraction;
|
|
20404
20580
|
return [
|
|
20405
20581
|
open ? fontBodySemiboldS(props) : fontBodyMediumS(props),
|
|
20406
20582
|
css$1 `
|
|
@@ -20421,8 +20597,8 @@ styled$2(Button, {
|
|
|
20421
20597
|
|
|
20422
20598
|
&:hover {
|
|
20423
20599
|
background: ${hasInvertedStyle
|
|
20424
|
-
? semanticColors?.base.
|
|
20425
|
-
: semanticColors?.base.
|
|
20600
|
+
? semanticColors?.base.fillInteractionOnDark
|
|
20601
|
+
: semanticColors?.base.fillInteraction};
|
|
20426
20602
|
box-shadow: none;
|
|
20427
20603
|
|
|
20428
20604
|
color: ${hasInvertedStyle
|
|
@@ -20974,7 +21150,7 @@ const StyledTabs$1 = styled$2(Tabs$1, {
|
|
|
20974
21150
|
const StyledTab$1 = styled$2(Tab$1, {
|
|
20975
21151
|
shouldForwardProp: (prop) => !doNotForwardProps$5.includes(prop)
|
|
20976
21152
|
}) `
|
|
20977
|
-
${
|
|
21153
|
+
${fontBodyMediumXs}
|
|
20978
21154
|
|
|
20979
21155
|
${(props) => {
|
|
20980
21156
|
const spaces = getSpaces(props);
|
|
@@ -21001,20 +21177,20 @@ const StyledTab$1 = styled$2(Tab$1, {
|
|
|
21001
21177
|
left: 0;
|
|
21002
21178
|
width: ${spaces?.xxxs}px;
|
|
21003
21179
|
height: 100%;
|
|
21004
|
-
background-color: ${semanticColors?.base?.
|
|
21180
|
+
background-color: ${semanticColors?.base?.borderPrimaryInteraction};
|
|
21005
21181
|
display: none;
|
|
21006
21182
|
border-radius: ${spaces?.xxxs}px;
|
|
21007
21183
|
}
|
|
21008
21184
|
&:hover {
|
|
21009
21185
|
color: ${semanticColors?.base?.textPrimary};
|
|
21010
|
-
background-color: ${semanticColors?.base?.
|
|
21186
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21011
21187
|
&:before {
|
|
21012
21188
|
display: block;
|
|
21013
21189
|
}
|
|
21014
21190
|
}
|
|
21015
21191
|
&.Mui-selected {
|
|
21016
21192
|
color: ${semanticColors?.base?.textPrimary};
|
|
21017
|
-
font-weight:
|
|
21193
|
+
font-weight: 600;
|
|
21018
21194
|
}
|
|
21019
21195
|
&.MuiButtonBase-root {
|
|
21020
21196
|
text-align: left;
|
|
@@ -21371,7 +21547,7 @@ const StyledPaginationButton = styled$2(Button) `
|
|
|
21371
21547
|
|
|
21372
21548
|
&:hover {
|
|
21373
21549
|
& .MuiSvgIcon-root {
|
|
21374
|
-
color: ${semanticColors?.base?.
|
|
21550
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction}
|
|
21375
21551
|
}
|
|
21376
21552
|
}
|
|
21377
21553
|
`;
|
|
@@ -21407,10 +21583,10 @@ const StyledPaginationChevronList = styled$2("li", {
|
|
|
21407
21583
|
}
|
|
21408
21584
|
|
|
21409
21585
|
&:hover {
|
|
21410
|
-
background-color: ${disabled ? "transparent" : semanticColors?.base?.
|
|
21586
|
+
background-color: ${disabled ? "transparent" : semanticColors?.base?.fillInteraction};
|
|
21411
21587
|
|
|
21412
21588
|
& .MuiSvgIcon-root {
|
|
21413
|
-
color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.
|
|
21589
|
+
color: ${disabled ? semanticColors?.base?.ornamentDisabled : semanticColors?.base?.ornamentSecondaryInteraction}
|
|
21414
21590
|
}
|
|
21415
21591
|
}
|
|
21416
21592
|
|
|
@@ -21432,28 +21608,29 @@ const StyledPagination = styled$2("ul", {
|
|
|
21432
21608
|
`;
|
|
21433
21609
|
const selectedPageStyle = (props) => {
|
|
21434
21610
|
const semanticColors = getSemanticColors(props);
|
|
21435
|
-
return `
|
|
21436
|
-
background-color: ${semanticColors?.base?.
|
|
21611
|
+
return css$1 `
|
|
21612
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21437
21613
|
color: ${semanticColors?.base?.textPrimary};
|
|
21438
|
-
font-weight: 500;
|
|
21439
21614
|
box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
|
|
21440
21615
|
|
|
21441
21616
|
&:hover {
|
|
21442
21617
|
box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderSecondary};
|
|
21443
21618
|
}
|
|
21619
|
+
|
|
21620
|
+
${fontTabularSemiboldS(props)}
|
|
21444
21621
|
`;
|
|
21445
21622
|
};
|
|
21446
21623
|
const Page = styled$2("li", {
|
|
21447
21624
|
shouldForwardProp: (prop) => !doNotForwardProps$3.includes(prop)
|
|
21448
21625
|
}) `
|
|
21449
|
-
${
|
|
21626
|
+
${fontTabularMediumS}
|
|
21450
21627
|
|
|
21451
21628
|
${(props) => {
|
|
21452
21629
|
const { selected, sdsStyle } = props;
|
|
21453
21630
|
const spaces = getSpaces(props);
|
|
21454
21631
|
const corners = getCorners(props);
|
|
21455
21632
|
const semanticColors = getSemanticColors(props);
|
|
21456
|
-
return `
|
|
21633
|
+
return css$1 `
|
|
21457
21634
|
color: ${semanticColors?.base?.textSecondary};
|
|
21458
21635
|
cursor: pointer;
|
|
21459
21636
|
list-style: none;
|
|
@@ -21467,15 +21644,15 @@ const Page = styled$2("li", {
|
|
|
21467
21644
|
border-radius: ${sdsStyle === "round" ? corners?.rounded : corners?.l}px;
|
|
21468
21645
|
user-select: none;
|
|
21469
21646
|
&:hover {
|
|
21470
|
-
background-color: ${semanticColors?.base?.
|
|
21647
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21471
21648
|
color: ${semanticColors?.base?.textPrimary};
|
|
21472
21649
|
}
|
|
21473
21650
|
|
|
21474
|
-
&:nth-last-of-type(-n+2) {
|
|
21651
|
+
&:nth-last-of-type(-n + 2) {
|
|
21475
21652
|
margin-right: 0;
|
|
21476
21653
|
}
|
|
21477
21654
|
|
|
21478
|
-
${selected && selectedPageStyle(props)}
|
|
21655
|
+
${selected && selectedPageStyle(props)}
|
|
21479
21656
|
${focusVisibleA11yStyle(props)}
|
|
21480
21657
|
`;
|
|
21481
21658
|
}}
|
|
@@ -21798,7 +21975,7 @@ const StyledSegmentedControl = styled$2(ToggleButtonGroup, {
|
|
|
21798
21975
|
padding: ${spaces?.xxxs}px;
|
|
21799
21976
|
|
|
21800
21977
|
&:hover {
|
|
21801
|
-
box-shadow: inset 0 0 0 1px ${semanticColors?.base?.
|
|
21978
|
+
box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryInteraction};
|
|
21802
21979
|
}
|
|
21803
21980
|
|
|
21804
21981
|
.${toggleButtonClasses.root}.${toggleButtonClasses.disabled} {
|
|
@@ -21806,13 +21983,13 @@ const StyledSegmentedControl = styled$2(ToggleButtonGroup, {
|
|
|
21806
21983
|
}
|
|
21807
21984
|
|
|
21808
21985
|
.${toggleButtonClasses.root}.${toggleButtonClasses.selected} {
|
|
21809
|
-
background-color: ${semanticColors?.base?.
|
|
21986
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21810
21987
|
color: ${semanticColors?.accent?.ornamentSelected};
|
|
21811
21988
|
border-color: ${semanticColors?.base?.borderPrimary};
|
|
21812
21989
|
|
|
21813
21990
|
&:hover {
|
|
21814
|
-
background-color: ${semanticColors?.base?.
|
|
21815
|
-
color: ${semanticColors?.base?.
|
|
21991
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21992
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
21816
21993
|
}
|
|
21817
21994
|
}
|
|
21818
21995
|
|
|
@@ -21828,8 +22005,8 @@ const StyledSegmentedControl = styled$2(ToggleButtonGroup, {
|
|
|
21828
22005
|
|
|
21829
22006
|
&:hover {
|
|
21830
22007
|
border-color: ${semanticColors?.base?.borderPrimary};
|
|
21831
|
-
background-color: ${semanticColors?.base?.
|
|
21832
|
-
color: ${semanticColors?.base?.
|
|
22008
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
22009
|
+
color: ${semanticColors?.base?.ornamentSecondaryInteraction};
|
|
21833
22010
|
}
|
|
21834
22011
|
}
|
|
21835
22012
|
`;
|
|
@@ -21912,6 +22089,7 @@ const disabledStyled = (props) => {
|
|
|
21912
22089
|
|
|
21913
22090
|
& span, & div {
|
|
21914
22091
|
color: ${semanticColors?.base?.textDisabled};
|
|
22092
|
+
background-color: transparent !important;
|
|
21915
22093
|
}
|
|
21916
22094
|
|
|
21917
22095
|
.cell-component {
|
|
@@ -21920,11 +22098,12 @@ const disabledStyled = (props) => {
|
|
|
21920
22098
|
user-select: none;
|
|
21921
22099
|
& div {
|
|
21922
22100
|
color: ${semanticColors?.base?.textDisabled};
|
|
21923
|
-
background-color:
|
|
22101
|
+
background-color: transparent;
|
|
21924
22102
|
}
|
|
21925
22103
|
|
|
21926
22104
|
& .MuiChip-root {
|
|
21927
22105
|
background-color: ${semanticColors?.base?.fillDisabled};
|
|
22106
|
+
box-shadow: inset 0 0 0 1px ${semanticColors?.base?.borderPrimaryDisabled} !important;
|
|
21928
22107
|
|
|
21929
22108
|
& span {
|
|
21930
22109
|
color: ${semanticColors?.base?.textDisabled} !important;
|
|
@@ -21943,7 +22122,7 @@ const hoverStyled = (props) => {
|
|
|
21943
22122
|
const semanticColors = getSemanticColors(props);
|
|
21944
22123
|
return `
|
|
21945
22124
|
&:hover {
|
|
21946
|
-
background-color: ${semanticColors?.base?.
|
|
22125
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
21947
22126
|
}
|
|
21948
22127
|
`;
|
|
21949
22128
|
};
|
|
@@ -22044,8 +22223,8 @@ const StyledTab = styled$2(Tab$1, {
|
|
|
22044
22223
|
color: ${semanticColors?.base?.textSecondary};
|
|
22045
22224
|
|
|
22046
22225
|
&:hover {
|
|
22047
|
-
box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.
|
|
22048
|
-
background-color: ${semanticColors?.base?.
|
|
22226
|
+
box-shadow: inset 0 -2px 0 0 ${semanticColors?.base?.borderPrimaryInteraction};
|
|
22227
|
+
background-color: ${semanticColors?.base?.fillInteraction};
|
|
22049
22228
|
border-top-right-radius: ${corners?.l}px;
|
|
22050
22229
|
border-top-left-radius: ${corners?.l}px;
|
|
22051
22230
|
|
|
@@ -22075,7 +22254,7 @@ const StyledTab = styled$2(Tab$1, {
|
|
|
22075
22254
|
function tabFontMixin(props) {
|
|
22076
22255
|
const { sdsSize } = props;
|
|
22077
22256
|
const isLarge = sdsSize === "large";
|
|
22078
|
-
return isLarge ?
|
|
22257
|
+
return isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props);
|
|
22079
22258
|
}
|
|
22080
22259
|
const StyledWrapper = styled$2("div") `
|
|
22081
22260
|
${(props) => {
|
|
@@ -22094,7 +22273,7 @@ const StyledCount = styled$2("span") `
|
|
|
22094
22273
|
const { sdsSize } = props;
|
|
22095
22274
|
const isLarge = sdsSize === "large";
|
|
22096
22275
|
return css$1 `
|
|
22097
|
-
${isLarge ?
|
|
22276
|
+
${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
|
|
22098
22277
|
`;
|
|
22099
22278
|
}}
|
|
22100
22279
|
`;
|
|
@@ -22103,9 +22282,9 @@ const StyledLabelTextWrapper = styled$2("span") `
|
|
|
22103
22282
|
const { sdsSize, selected } = props;
|
|
22104
22283
|
const isLarge = sdsSize === "large";
|
|
22105
22284
|
return css$1 `
|
|
22106
|
-
${isLarge ?
|
|
22285
|
+
${isLarge ? fontBodyMediumS(props) : fontBodyMediumXs(props)}
|
|
22107
22286
|
${selected &&
|
|
22108
|
-
(isLarge ?
|
|
22287
|
+
(isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props))}
|
|
22109
22288
|
position: absolute;
|
|
22110
22289
|
`;
|
|
22111
22290
|
}}
|
|
@@ -22115,7 +22294,7 @@ const StyledLabelTextWrapperShadow = styled$2("span") `
|
|
|
22115
22294
|
const { sdsSize } = props;
|
|
22116
22295
|
const isLarge = sdsSize === "large";
|
|
22117
22296
|
return css$1 `
|
|
22118
|
-
${isLarge ?
|
|
22297
|
+
${isLarge ? fontBodySemiboldS(props) : fontBodySemiboldXs(props)}
|
|
22119
22298
|
visibility: hidden;
|
|
22120
22299
|
opacity: 0;
|
|
22121
22300
|
`;
|
|
@@ -25795,7 +25974,7 @@ Object.assign(chroma, {
|
|
|
25795
25974
|
const generateDiscreteColors = (count, options = {}) => {
|
|
25796
25975
|
if (count === 0)
|
|
25797
25976
|
return [];
|
|
25798
|
-
const { isDarkMode = false, start =
|
|
25977
|
+
const { isDarkMode = false, start = 240, rotations = 0.85, gamma = 1, lightness = [0.4, 0.7], correctLightness = true, } = options;
|
|
25799
25978
|
let scale = chroma
|
|
25800
25979
|
.cubehelix()
|
|
25801
25980
|
.start(start)
|
|
@@ -25811,4 +25990,4 @@ const generateDiscreteColors = (count, options = {}) => {
|
|
|
25811
25990
|
return isDarkMode ? colors.reverse() : colors;
|
|
25812
25991
|
};
|
|
25813
25992
|
|
|
25814
|
-
export { Accordion, AccordionDetails, AccordionHeader, Alert$1 as Alert, Autocomplete, StyledPopper$2 as AutocompleteMultiColumnStyledPopper, StyledPaper$3 as AutocompleteSingleColumnStyledPaper, Banner, Button, ButtonDropdown, ButtonIcon, ButtonToggle, Callout, CalloutTitle, CellBasic, CellComponent, CellHeader, Chip, ComplexFilter, InputDropdown as ComplexFilterInputDropdown, StyledPopper as ComplexFilterPopper, ContentCard, ContentCardActions, StyledContentCardBody as ContentCardBody, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, StyledSubtitleText as ContentCardSubtitle, StyledTitleText as ContentCardTitle, Dialog, DialogActions, index$1 as DialogContent, DialogPaper, DialogTitle, Overline as DialogTitleOverline, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Dropdown, InputDropdown as DropdownInputDropdown, DropdownMenu, StyledPaper$1 as DropdownPaper, StyledPopper as DropdownPopper, Hero, Icon, InputCheckbox, InputDropdown, InputRadio, InputSearch, InputSlider, InputText, InputToggle, Legend, Link, List, ListItem, ListItemLabel, ListSubheader, LoadingIndicator, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, Menu, MenuItem, MenuSelect, NavigationFooter, NavigationHeader, NavigationJumpTo, Notification, Pagination, Panel, SDSChooseTheme, SDSDarkAppTheme, SDSDarkThemeColors, SDSLightAppTheme, SDSLightThemeColors, SDSPaletteDark, SDSPaletteLight, SegmentedControl, Tab, Table, TableHeader, TableRow, Tabs, Tag, TagFilter, Theme, Tooltip, TooltipCondensed, TooltipTableContent as TooltipTable, defaultAppTheme, defaultTheme$4 as defaultTheme, focusVisibleA11yStyle, fontBody, fontBodyL$1 as fontBodyL, fontBodyM$1 as fontBodyM, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodyS$1 as fontBodyS, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontBodyXs$2 as fontBodyXs, fontBodyXxs$1 as fontBodyXxs, fontBodyXxxs$1 as fontBodyXxxs, fontBodyXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontCode, fontCodeMediumS, fontCodeMediumXs, fontCodeS, fontCodeSemiboldS, fontCodeSemiboldXs, fontCodeXs, fontHeader, fontHeaderL, fontHeaderM$1 as fontHeaderM, fontHeaderS, fontHeaderXl, fontHeaderXs, fontHeaderXxl, fontHeaderXxs, fontHeaderXxxs, fontLink, fontLinkL, fontLinkM, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkS, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontTabular, fontTabularMediumS, fontTabularMediumXs, fontTabularMediumXxs, fontTabularMediumXxxs, fontTabularMediumXxxxs, fontTabularS, fontTabularSemiboldS, fontTabularSemiboldXs, fontTabularSemiboldXxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxxxs, fontTabularXs, fontTabularXxs, fontTabularXxxs, fontTabularXxxxs, fontTitle, fontTitleBoldL, fontTitleBoldM, fontTitleBoldS, generateDiscreteColors, getBorders, getBreakpoints, getColors, getCorners, getFontWeights, getIconSizes, getMode, getPalette, getSemanticColors, getShadows, getSpaces, getSpacings, getTypography, makeSdsSemanticAppTheme, makeThemeOptions };
|
|
25993
|
+
export { Accordion, AccordionDetails, AccordionHeader, Alert$1 as Alert, Autocomplete, StyledPopper$2 as AutocompleteMultiColumnStyledPopper, StyledPaper$3 as AutocompleteSingleColumnStyledPaper, Banner, Button, ButtonDropdown, ButtonIcon, ButtonToggle, Callout, CalloutTitle, CellBasic, CellComponent, CellHeader, Chip, ComplexFilter, InputDropdown as ComplexFilterInputDropdown, StyledPopper as ComplexFilterPopper, ContentCard, ContentCardActions, StyledContentCardBody as ContentCardBody, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, StyledSubtitleText as ContentCardSubtitle, StyledTitleText as ContentCardTitle, Dialog, DialogActions, index$1 as DialogContent, DialogPaper, DialogTitle, Overline as DialogTitleOverline, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Dropdown, InputDropdown as DropdownInputDropdown, DropdownMenu, StyledPaper$1 as DropdownPaper, StyledPopper as DropdownPopper, Hero, Icon, InputCheckbox, InputDropdown, InputRadio, InputSearch, InputSlider, InputText, InputToggle, IntentMessage, Legend, Link, List, ListItem, ListItemLabel, ListSubheader, LoadingIndicator, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, Menu, MenuItem, MenuSelect, NavigationFooter, NavigationHeader, NavigationJumpTo, Notification, Pagination, Panel, SDSChooseTheme, SDSDarkAppTheme, SDSDarkThemeColors, SDSLightAppTheme, SDSLightThemeColors, SDSPaletteDark, SDSPaletteLight, SegmentedControl, Tab, Table, TableHeader, TableRow, Tabs, Tag, TagFilter, Theme, Tooltip, TooltipCondensed, TooltipTableContent as TooltipTable, defaultAppTheme, defaultTheme$4 as defaultTheme, focusVisibleA11yStyle, fontBody, fontBodyL$1 as fontBodyL, fontBodyM$1 as fontBodyM, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodyS$1 as fontBodyS, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontBodyXs$2 as fontBodyXs, fontBodyXxs$1 as fontBodyXxs, fontBodyXxxs$1 as fontBodyXxxs, fontBodyXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontCode, fontCodeMediumS, fontCodeMediumXs, fontCodeS, fontCodeSemiboldS, fontCodeSemiboldXs, fontCodeXs, fontHeader, fontHeaderL, fontHeaderM$1 as fontHeaderM, fontHeaderS, fontHeaderXl, fontHeaderXs, fontHeaderXxl, fontHeaderXxs, fontHeaderXxxs, fontLink, fontLinkL, fontLinkM, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkS, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontTabular, fontTabularMediumS, fontTabularMediumXs, fontTabularMediumXxs, fontTabularMediumXxxs, fontTabularMediumXxxxs, fontTabularS, fontTabularSemiboldS, fontTabularSemiboldXs, fontTabularSemiboldXxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxxxs, fontTabularXs, fontTabularXxs, fontTabularXxxs, fontTabularXxxxs, fontTitle, fontTitleBoldL, fontTitleBoldM, fontTitleBoldS, generateDiscreteColors, getBorders, getBreakpoints, getColors, getCorners, getFontWeights, getIconSizes, getMode, getPalette, getSemanticColors, getShadows, getSpaces, getSpacings, getTypography, makeSdsSemanticAppTheme, makeThemeOptions };
|