@digital-ai/dot-components 5.2.0 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { useEffect, useState, useRef, createContext, useMemo, useContext, forwardRef, useCallback, createElement, Fragment as Fragment$1, useLayoutEffect } from 'react';
4
- import { Typography, Fade, StyledEngineProvider, Tooltip, InputAdornment, InputLabel, TextField, Icon, Accordion, AccordionSummary, AccordionDetails, AccordionActions, Toolbar, Alert, Avatar, Button, Link, List, ListSubheader, Divider, CircularProgress, Popper, MenuList, MenuItem, Paper, ClickAwayListener, Drawer, IconButton, ListItem, ListItemButton, Collapse, ListItemIcon, ListItemText, Badge, useMediaQuery, Chip, Autocomplete, AvatarGroup, Breadcrumbs, ToggleButtonGroup, ToggleButton, Card, CardContent, CardHeader, FormControlLabel, Checkbox, FormControl, FormGroup, FormLabel, FormHelperText, Dialog, DialogContent, DialogActions, useTheme as useTheme$1, Snackbar, RadioGroup, Radio, Switch, Skeleton, ButtonGroup, Stepper, Step, StepLabel, TablePagination, TableContainer, TableBody, TableCell, TableRow, TableSortLabel, TableHead, Table, Tabs, Tab, LinearProgress, Slide, Stack } from '@mui/material';
4
+ import { Typography, Fade, StyledEngineProvider, Tooltip, InputAdornment, InputLabel, TextField, Icon, Accordion, AccordionSummary, AccordionDetails, AccordionActions, Toolbar, Alert, Avatar, Button, Link, List, ListSubheader, Divider, CircularProgress, Popper, MenuList, MenuItem, Paper, ClickAwayListener, Drawer, IconButton, ListItem, ListItemButton, Collapse, ListItemIcon, ListItemText, Badge, useMediaQuery, Chip, Autocomplete, AvatarGroup, Breadcrumbs, ToggleButtonGroup, ToggleButton, Card, CardContent, CardHeader, FormControlLabel, Checkbox, FormControl, FormGroup, FormLabel, FormHelperText, Dialog, DialogContent, DialogActions, useTheme as useTheme$1, Snackbar, RadioGroup, Radio, Switch, Skeleton, ButtonGroup, Stepper, Step, StepLabel, TablePagination, TableContainer, TableBody, TableCell, TableRow, TableSortLabel, TableHead, Table, Tabs, Tab, Fab, LinearProgress, Slide, Stack } from '@mui/material';
5
5
  import styled, { css, createGlobalStyle, ThemeProvider as ThemeProvider$1, keyframes } from 'styled-components';
6
6
  import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles';
7
7
  import '@digital-ai/dot-icons';
@@ -42,12 +42,12 @@ const checkIfOverflowPresentInElementTree = element => {
42
42
  return false;
43
43
  };
44
44
 
45
- const rootClassName$1r = 'dot-typography';
45
+ const rootClassName$1s = 'dot-typography';
46
46
  const StyledTypography = styled(Typography)`
47
47
  ${({
48
48
  theme
49
49
  }) => css`
50
- &.${rootClassName$1r} {
50
+ &.${rootClassName$1s} {
51
51
  &.dot-typography-ai {
52
52
  background: ${theme.palette.figma.gradient.ai};
53
53
  background-clip: text;
@@ -73,7 +73,7 @@ const DotTypography = ({
73
73
  noWrap,
74
74
  variant
75
75
  }) => {
76
- const rootClasses = useStylesWithRootClass(rootClassName$1r, ai ? 'dot-typography-ai' : '', className);
76
+ const rootClasses = useStylesWithRootClass(rootClassName$1s, ai ? 'dot-typography-ai' : '', className);
77
77
  useEffect(() => {
78
78
  if (ariaRole === 'heading' && !ariaLevel) {
79
79
  console.warn('please include ariaLevel when using ariaRole="heading"');
@@ -466,7 +466,7 @@ const lightFigmaColors = {
466
466
  }
467
467
  },
468
468
  icon: {
469
- black: n700,
469
+ gray: n400,
470
470
  disabled: n300,
471
471
  white: n0
472
472
  },
@@ -628,7 +628,7 @@ const darkFigmaColors = {
628
628
  }
629
629
  },
630
630
  icon: {
631
- black: n100,
631
+ gray: n100,
632
632
  disabled: n400,
633
633
  white: n700
634
634
  },
@@ -871,7 +871,7 @@ const avatarColors = {
871
871
  backgroundColor: lightFigmaColors.typography.gray
872
872
  },
873
873
  default: {
874
- color: lightFigmaColors.icon.black,
874
+ color: lightFigmaColors.icon.gray,
875
875
  backgroundColor: lightFigmaColors.background.level1.deep
876
876
  },
877
877
  green: {
@@ -926,7 +926,7 @@ const darkTheme = createTheme({
926
926
  backgroundColor: darkFigmaColors.typography.gray
927
927
  },
928
928
  default: {
929
- color: darkFigmaColors.icon.black,
929
+ color: darkFigmaColors.icon.gray,
930
930
  backgroundColor: darkFigmaColors.background.level1.deep
931
931
  },
932
932
  green: {
@@ -1409,7 +1409,7 @@ const readOnlyStyles = theme => css`
1409
1409
  }
1410
1410
  `;
1411
1411
 
1412
- const rootClassName$1q = 'dot-text-field';
1412
+ const rootClassName$1r = 'dot-text-field';
1413
1413
  const rootSelectClassName = 'dot-select-field';
1414
1414
  const wrapperClassName$2 = 'dot-label-wrapper';
1415
1415
  const labelClassName = 'dot-input-label';
@@ -1485,7 +1485,7 @@ const StyledTextField = styled(TextField)`
1485
1485
  $maxRows,
1486
1486
  $minRows
1487
1487
  }) => css`
1488
- &.${rootClassName$1q} {
1488
+ &.${rootClassName$1r} {
1489
1489
  .MuiInputBase-root {
1490
1490
  margin-bottom: 0;
1491
1491
 
@@ -1493,22 +1493,27 @@ const StyledTextField = styled(TextField)`
1493
1493
  &.MuiInputBase-adornedStart {
1494
1494
  padding-left: ${theme.spacing(1.5)};
1495
1495
  }
1496
+
1496
1497
  &.MuiInputBase-adornedEnd {
1497
1498
  padding-right: ${theme.spacing(1)};
1498
1499
  }
1499
1500
  }
1500
1501
  }
1502
+
1501
1503
  .MuiInputBase-input {
1502
1504
  box-sizing: content-box;
1503
1505
  }
1506
+
1504
1507
  .MuiOutlinedInput-input {
1505
1508
  padding: 18px ${InputProps.endAdornment ? '0px' : '12px'} 18px
1506
1509
  ${InputProps.startAdornment ? '0px' : '12px'};
1510
+
1507
1511
  &::placeholder {
1508
1512
  opacity: 1;
1509
1513
  color: ${theme.palette.figma.typography.gray};
1510
1514
  }
1511
1515
  }
1516
+
1512
1517
  .MuiInputBase-inputSizeSmall {
1513
1518
  padding-top: 10.5px;
1514
1519
  padding-bottom: 10.5px;
@@ -1569,9 +1574,10 @@ const StyledTextField = styled(TextField)`
1569
1574
  margin-right: ${theme.spacing(2)};
1570
1575
  }
1571
1576
 
1572
- &.${rootSelectClassName}, &.${rootClassName$1q} {
1577
+ &.${rootSelectClassName}, &.${rootClassName$1r} {
1573
1578
  .${adornmentIconClassName} {
1574
- color: ${theme.palette.figma.icon.black};
1579
+ color: ${theme.palette.figma.icon.gray};
1580
+
1575
1581
  p {
1576
1582
  font-size: ${theme.typography.body2.fontSize}px;
1577
1583
  margin: 0;
@@ -1614,8 +1620,12 @@ const StyledTextField = styled(TextField)`
1614
1620
  right: ${InputProps.endAdornment ? `44px` : `12px`};
1615
1621
  }
1616
1622
 
1623
+ &.${inputAiClassName$1} .${fieldsetClassName} {
1624
+ border-color: ${theme.palette.figma.aiPink.elevated};
1625
+ }
1626
+
1617
1627
  &.${successClassName} {
1618
- .MuiOutlinedInput-notchedOutline {
1628
+ .${fieldsetClassName} {
1619
1629
  border-color: ${theme.palette.figma.success.normal};
1620
1630
  }
1621
1631
 
@@ -1625,7 +1635,7 @@ const StyledTextField = styled(TextField)`
1625
1635
  }
1626
1636
 
1627
1637
  &.${errorClassName} {
1628
- .MuiOutlinedInput-notchedOutline {
1638
+ .${fieldsetClassName} {
1629
1639
  border-color: ${theme.palette.figma.destructive.normal};
1630
1640
  }
1631
1641
 
@@ -1635,7 +1645,7 @@ const StyledTextField = styled(TextField)`
1635
1645
  }
1636
1646
 
1637
1647
  &.${warningClassName} {
1638
- .MuiOutlinedInput-notchedOutline {
1648
+ .${fieldsetClassName} {
1639
1649
  border-color: ${theme.palette.figma.warning.normal};
1640
1650
  }
1641
1651
 
@@ -1644,21 +1654,6 @@ const StyledTextField = styled(TextField)`
1644
1654
  }
1645
1655
  }
1646
1656
 
1647
- &.${inputAiClassName$1} {
1648
- color: ${theme.palette.figma.typography.white};
1649
- background: ${theme.palette.figma.gradient.normal};
1650
- border: 1px solid transparent;
1651
- border-radius: 4px;
1652
-
1653
- .MuiOutlinedInput-root .${fieldsetClassName} {
1654
- border: none;
1655
- }
1656
- }
1657
-
1658
- .ai-text-clear-icon {
1659
- right: 36px;
1660
- position: relative;
1661
- }
1662
1657
  .MuiOutlinedInput-adornedStart {
1663
1658
  padding-left: 12px;
1664
1659
 
@@ -1674,14 +1669,14 @@ const StyledTextField = styled(TextField)`
1674
1669
  `}
1675
1670
  `;
1676
1671
 
1677
- const rootClassName$1p = 'dot-icon';
1672
+ const rootClassName$1q = 'dot-icon';
1678
1673
  const aiIconClassName = 'dot-icon-ai';
1679
1674
  const StyledIcon = styled(Icon)`
1680
1675
  ${({
1681
1676
  theme
1682
1677
  }) => css`
1683
- &.${rootClassName$1p} {
1684
- color: ${theme.palette.figma.icon.black};
1678
+ &.${rootClassName$1q} {
1679
+ color: ${theme.palette.figma.icon.gray};
1685
1680
  font-size: 20px;
1686
1681
 
1687
1682
  i {
@@ -1730,7 +1725,7 @@ const DotIcon = ({
1730
1725
  tooltip,
1731
1726
  ai = false
1732
1727
  }) => {
1733
- const rootClasses = useStylesWithRootClass(rootClassName$1p, className, ai ? aiIconClassName : '');
1728
+ const rootClasses = useStylesWithRootClass(rootClassName$1q, className, ai ? aiIconClassName : '');
1734
1729
  return jsx(DotTooltip, {
1735
1730
  disableInteractive: disableInteractive,
1736
1731
  childrenDisplayStyle: "inline-block",
@@ -1754,7 +1749,7 @@ const DotIcon = ({
1754
1749
  });
1755
1750
  };
1756
1751
 
1757
- const rootClassName$1o = 'dot-accordion';
1752
+ const rootClassName$1p = 'dot-accordion';
1758
1753
  const summaryClassName = 'dot-accordion-summary';
1759
1754
  const detailClassName = 'dot-accordion-details';
1760
1755
  const StyledAccordion = styled(Accordion)`
@@ -1765,7 +1760,7 @@ const StyledAccordion = styled(Accordion)`
1765
1760
  background: ${theme.palette.figma.background.level1.white};
1766
1761
  }
1767
1762
 
1768
- &.${rootClassName$1o} .${summaryClassName} {
1763
+ &.${rootClassName$1p} .${summaryClassName} {
1769
1764
  align-items: center;
1770
1765
  background: ${theme.palette.figma.background.level1.white};
1771
1766
  color: ${theme.palette.figma.typography.black};
@@ -1810,7 +1805,7 @@ const DotAccordion = ({
1810
1805
  ariaLabel,
1811
1806
  children,
1812
1807
  className,
1813
- 'data-pendoid': dataPendoId = rootClassName$1o,
1808
+ 'data-pendoid': dataPendoId = rootClassName$1p,
1814
1809
  'data-testid': dataTestId = 'dot-accordion',
1815
1810
  disabled = false,
1816
1811
  expanded,
@@ -1821,7 +1816,7 @@ const DotAccordion = ({
1821
1816
  summary,
1822
1817
  noWrap = true
1823
1818
  }) => {
1824
- const rootClasses = useStylesWithRootClass(rootClassName$1o, className);
1819
+ const rootClasses = useStylesWithRootClass(rootClassName$1p, className);
1825
1820
  const [elevation, setElevation] = useState();
1826
1821
  useEffect(() => {
1827
1822
  if (onChange && expanded === undefined) {
@@ -1872,15 +1867,15 @@ const DotAccordion = ({
1872
1867
  });
1873
1868
  };
1874
1869
 
1875
- const rootClassName$1n = 'dot-action-toolbar';
1870
+ const rootClassName$1o = 'dot-action-toolbar';
1876
1871
  const StyledToolbar = styled(Toolbar)`
1877
1872
  ${({
1878
1873
  theme
1879
1874
  }) => css`
1880
- &.${rootClassName$1n} {
1875
+ &.${rootClassName$1o} {
1881
1876
  border-bottom: 1px solid ${theme.palette.figma.border.default};
1882
1877
 
1883
- .${rootClassName$1q} .MuiInputBase-root {
1878
+ .${rootClassName$1r} .MuiInputBase-root {
1884
1879
  margin-bottom: 0;
1885
1880
  }
1886
1881
  }
@@ -1894,7 +1889,7 @@ const DotActionToolbar = ({
1894
1889
  'data-testid': dataTestId,
1895
1890
  variant = 'dense'
1896
1891
  }) => {
1897
- const rootClasses = useStylesWithRootClass(rootClassName$1n, className);
1892
+ const rootClasses = useStylesWithRootClass(rootClassName$1o, className);
1898
1893
  return jsx(StyledToolbar, {
1899
1894
  "aria-label": ariaLabel,
1900
1895
  className: rootClasses,
@@ -1904,12 +1899,12 @@ const DotActionToolbar = ({
1904
1899
  });
1905
1900
  };
1906
1901
 
1907
- const rootClassName$1m = 'dot-alert-banner';
1902
+ const rootClassName$1n = 'dot-alert-banner';
1908
1903
  const StyledAlertBanner = styled(Alert)`
1909
1904
  ${({
1910
1905
  theme
1911
1906
  }) => css`
1912
- &.${rootClassName$1m} {
1907
+ &.${rootClassName$1n} {
1913
1908
  align-items: center;
1914
1909
  box-sizing: border-box;
1915
1910
  min-height: 48px;
@@ -1944,7 +1939,7 @@ const DotAlertBanner = ({
1944
1939
  ariaLabel,
1945
1940
  children,
1946
1941
  className,
1947
- 'data-pendoid': dataPendoId = rootClassName$1m,
1942
+ 'data-pendoid': dataPendoId = rootClassName$1n,
1948
1943
  'data-testid': dataTestId,
1949
1944
  onClose,
1950
1945
  roundedCorners = true,
@@ -1952,7 +1947,7 @@ const DotAlertBanner = ({
1952
1947
  textVariant = 'body1',
1953
1948
  width
1954
1949
  }) => {
1955
- const rootClasses = useStylesWithRootClass(rootClassName$1m, severity, className);
1950
+ const rootClasses = useStylesWithRootClass(rootClassName$1n, severity, className);
1956
1951
  /* For simple string use default component, for everything else use 'div' */
1957
1952
  const typographyComponent = isString$2(children) ? undefined : 'div';
1958
1953
  return jsx(StyledAlertBanner, {
@@ -1995,12 +1990,12 @@ const DotAppLogo = ({
1995
1990
  });
1996
1991
  };
1997
1992
 
1998
- const rootClassName$1l = 'dot-annotation';
1993
+ const rootClassName$1m = 'dot-annotation';
1999
1994
  const StyledAnnotation = styled.kbd`
2000
1995
  ${({
2001
1996
  theme
2002
1997
  }) => css`
2003
- &.${rootClassName$1l} {
1998
+ &.${rootClassName$1m} {
2004
1999
  font-family: inherit;
2005
2000
  background-color: ${theme.palette.figma.background.level0.bckgGray};
2006
2001
  color: ${theme.palette.figma.typography.disabled};
@@ -2026,13 +2021,13 @@ const StyledAnnotation = styled.kbd`
2026
2021
 
2027
2022
  const DotAnnotation = ({
2028
2023
  ariaLabel,
2029
- 'data-pendoid': dataPendoId = rootClassName$1l,
2024
+ 'data-pendoid': dataPendoId = rootClassName$1m,
2030
2025
  'data-testid': dataTestId,
2031
2026
  className,
2032
2027
  content,
2033
2028
  type = 'primary'
2034
2029
  }) => {
2035
- const rootClasses = useStylesWithRootClass(rootClassName$1l, className, type === 'secondary' ? 'secondary' : '');
2030
+ const rootClasses = useStylesWithRootClass(rootClassName$1m, className, type === 'secondary' ? 'secondary' : '');
2036
2031
  return jsx(StyledAnnotation, {
2037
2032
  "aria-label": ariaLabel,
2038
2033
  className: rootClasses,
@@ -2669,7 +2664,7 @@ const useDotCoreApiContext = () => {
2669
2664
  return useContext(DotCoreApiContext);
2670
2665
  };
2671
2666
 
2672
- const rootClassName$1k = 'dot-avatar';
2667
+ const rootClassName$1l = 'dot-avatar';
2673
2668
  const avatarSpacing = {
2674
2669
  small: 3,
2675
2670
  medium: 5,
@@ -2679,7 +2674,7 @@ const StyledAvatar = styled(Avatar)`
2679
2674
  ${({
2680
2675
  theme
2681
2676
  }) => css`
2682
- &.${rootClassName$1k} {
2677
+ &.${rootClassName$1l} {
2683
2678
  display: inline-flex;
2684
2679
  background-color: ${({
2685
2680
  color
@@ -2689,7 +2684,7 @@ const StyledAvatar = styled(Avatar)`
2689
2684
  border: 0px;
2690
2685
  &:focus-visible {
2691
2686
  box-shadow: 0px 0px 0px 3px ${theme.palette.figma.icon.white},
2692
- 0px 0px 0px 5px ${theme.palette.figma.icon.black};
2687
+ 0px 0px 0px 5px ${theme.palette.figma.icon.gray};
2693
2688
  outline: 0;
2694
2689
  }
2695
2690
 
@@ -2797,7 +2792,7 @@ const DotAvatar = ({
2797
2792
  variant = 'circular',
2798
2793
  style
2799
2794
  }) => {
2800
- const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
2795
+ const rootClasses = useStylesWithRootClass(rootClassName$1l, className);
2801
2796
  const getAvatarColor = () => {
2802
2797
  if ((style === null || style === void 0 ? void 0 : style.color) !== undefined) return 'inherit';
2803
2798
  if (color) return color;
@@ -2839,12 +2834,12 @@ const DotAvatar = ({
2839
2834
  });
2840
2835
  };
2841
2836
 
2842
- const rootClassName$1j = 'dot-button';
2837
+ const rootClassName$1k = 'dot-button';
2843
2838
  const StyledButton = styled(Button)`
2844
2839
  ${({
2845
2840
  theme
2846
2841
  }) => css`
2847
- &.${rootClassName$1j} {
2842
+ &.${rootClassName$1k} {
2848
2843
  background-color: ${theme.palette.figma.primary.normal};
2849
2844
  margin: ${theme.spacing(0.5)};
2850
2845
  padding: ${theme.spacing(0.75, 2)};
@@ -2881,7 +2876,7 @@ const StyledButton = styled(Button)`
2881
2876
  }
2882
2877
 
2883
2878
  .dot-icon {
2884
- color: ${theme.palette.figma.icon.black};
2879
+ color: ${theme.palette.figma.icon.gray};
2885
2880
  }
2886
2881
  }
2887
2882
 
@@ -2997,7 +2992,7 @@ const DotButton = forwardRef(({
2997
2992
  autoFocus = false,
2998
2993
  children,
2999
2994
  className,
3000
- 'data-pendoid': dataPendoId = rootClassName$1j,
2995
+ 'data-pendoid': dataPendoId = rootClassName$1k,
3001
2996
  'data-testid': dataTestId,
3002
2997
  disabled = false,
3003
2998
  disableInteractive,
@@ -3015,7 +3010,7 @@ const DotButton = forwardRef(({
3015
3010
  tooltipPlacement,
3016
3011
  type = 'primary'
3017
3012
  }, ref) => {
3018
- const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
3013
+ const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
3019
3014
  let color;
3020
3015
  let variant;
3021
3016
  switch (type) {
@@ -3046,7 +3041,7 @@ const DotButton = forwardRef(({
3046
3041
  }
3047
3042
  return jsx(DotTooltip, {
3048
3043
  childrenDisplayStyle: "inline-block",
3049
- "data-testid": `${dataTestId || rootClassName$1j}-tooltip`,
3044
+ "data-testid": `${dataTestId || rootClassName$1k}-tooltip`,
3050
3045
  disableInteractive: disableInteractive,
3051
3046
  placement: tooltipPlacement,
3052
3047
  title: tooltip,
@@ -3058,7 +3053,7 @@ const DotButton = forwardRef(({
3058
3053
  },
3059
3054
  color: color,
3060
3055
  "data-pendoid": dataPendoId,
3061
- "data-testid": dataTestId || rootClassName$1j,
3056
+ "data-testid": dataTestId || rootClassName$1k,
3062
3057
  disableRipple: disableRipple,
3063
3058
  disabled: disabled,
3064
3059
  endIcon: endIcon,
@@ -3078,10 +3073,10 @@ const DotButton = forwardRef(({
3078
3073
  });
3079
3074
  });
3080
3075
 
3081
- const rootClassName$1i = 'dot-link';
3076
+ const rootClassName$1j = 'dot-link';
3082
3077
  const StyledLink = styled(Link)`
3083
3078
  ${() => css`
3084
- &.${rootClassName$1i} {
3079
+ &.${rootClassName$1j} {
3085
3080
  cursor: pointer;
3086
3081
 
3087
3082
  &:hover.MuiLink-underlineHover {
@@ -3097,7 +3092,7 @@ const DotLink = ({
3097
3092
  children,
3098
3093
  className,
3099
3094
  color = 'primary',
3100
- 'data-pendoid': dataPendoId = rootClassName$1i,
3095
+ 'data-pendoid': dataPendoId = rootClassName$1j,
3101
3096
  'data-testid': dataTestId,
3102
3097
  href,
3103
3098
  onClick,
@@ -3110,7 +3105,7 @@ const DotLink = ({
3110
3105
  underline = 'always',
3111
3106
  variant = 'body1'
3112
3107
  }) => {
3113
- const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
3108
+ const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
3114
3109
  useEffect(() => {
3115
3110
  // Include a console warning if the link is not a string and no ariaLabel is provided
3116
3111
  if (!isString$2(children) && !ariaLabel) {
@@ -3161,7 +3156,7 @@ const CreateUUID = () => {
3161
3156
  });
3162
3157
  };
3163
3158
 
3164
- const rootClassName$1h = 'dot-list';
3159
+ const rootClassName$1i = 'dot-list';
3165
3160
  const listItemRootClass = 'dot-list-item';
3166
3161
  const nestedListClassName = 'dot-nested-list';
3167
3162
  const nestedDrawerClassName = 'dot-nested-drawer';
@@ -3169,11 +3164,11 @@ const StyledList = styled(List)`
3169
3164
  ${({
3170
3165
  theme
3171
3166
  }) => css`
3172
- &.${rootClassName$1h} {
3167
+ &.${rootClassName$1i} {
3173
3168
  background: ${theme.palette.figma.background.level0.componentsBackground};
3174
3169
 
3175
3170
  .dot-icon {
3176
- color: ${theme.palette.figma.icon.black};
3171
+ color: ${theme.palette.figma.icon.gray};
3177
3172
  }
3178
3173
 
3179
3174
  &.${nestedListClassName} .${listItemRootClass} {
@@ -3263,12 +3258,12 @@ const DotListDivider = ({
3263
3258
  });
3264
3259
  };
3265
3260
 
3266
- const rootClassName$1g = 'dot-progress';
3261
+ const rootClassName$1h = 'dot-progress';
3267
3262
  const StyledProgress = styled.div`
3268
3263
  ${({
3269
3264
  theme
3270
3265
  }) => css`
3271
- &.${rootClassName$1g} {
3266
+ &.${rootClassName$1h} {
3272
3267
  line-height: 0;
3273
3268
 
3274
3269
  .dot-progress-with-label-wrapper {
@@ -3319,7 +3314,7 @@ const DotProgress = ({
3319
3314
  value,
3320
3315
  variant = 'indeterminate'
3321
3316
  }) => {
3322
- const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
3317
+ const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
3323
3318
  useEffect(() => {
3324
3319
  if (!ariaLabel) {
3325
3320
  console.warn('a11y: DotProgress must have an ariaLabel to describe the progress component');
@@ -3385,13 +3380,13 @@ var variables = /*#__PURE__*/Object.freeze({
3385
3380
  levelTop: levelTop
3386
3381
  });
3387
3382
 
3388
- const rootClassName$1f = 'dot-popper';
3383
+ const rootClassName$1g = 'dot-popper';
3389
3384
  const arrowClassName = 'MuiPopper-arrow';
3390
3385
  const StyledPopper$1 = styled(Popper)`
3391
3386
  ${({
3392
3387
  theme
3393
3388
  }) => css`
3394
- &.${rootClassName$1f} {
3389
+ &.${rootClassName$1g} {
3395
3390
  font-family: ${theme.typography.fontFamily};
3396
3391
  font-size: ${theme.typography.body1.fontSize}px;
3397
3392
 
@@ -3450,7 +3445,7 @@ const StyledPopper$1 = styled(Popper)`
3450
3445
  }
3451
3446
  }
3452
3447
 
3453
- &.${rootClassName$1f}, &.${rootClassName$1f} > .dot-popper-paper {
3448
+ &.${rootClassName$1g}, &.${rootClassName$1g} > .dot-popper-paper {
3454
3449
  background-color: ${theme.palette.figma.background.level1.white};
3455
3450
  }
3456
3451
  `}
@@ -3480,12 +3475,12 @@ const StyledArrow = styled('span')`
3480
3475
  `;
3481
3476
 
3482
3477
  const flyoutMenuClassName = 'dot-flyout-menu';
3483
- const rootClassName$1e = 'dot-menu';
3478
+ const rootClassName$1f = 'dot-menu';
3484
3479
  const StyledPopper = styled(Popper)`
3485
3480
  ${({
3486
3481
  theme
3487
3482
  }) => css`
3488
- &.${rootClassName$1f} {
3483
+ &.${rootClassName$1g} {
3489
3484
  font-family: ${theme.typography.fontFamily};
3490
3485
  font-size: ${theme.typography.body1.fontSize}px;
3491
3486
 
@@ -3495,7 +3490,7 @@ const StyledPopper = styled(Popper)`
3495
3490
  }) => $zIndex === undefined ? `z-index: ${levelSecond};` : `z-index: ${$zIndex};`}
3496
3491
  }
3497
3492
  }
3498
- &.${rootClassName$1e}, &.${rootClassName$1f} {
3493
+ &.${rootClassName$1f}, &.${rootClassName$1g} {
3499
3494
  .MuiPaper-root:not(:empty) {
3500
3495
  border: 1px solid ${theme.palette.layer.n100};
3501
3496
  }
@@ -3575,14 +3570,14 @@ const MENU_ITEM_HEIGHT_NORMAL = 48;
3575
3570
  const MENU_ITEM_HEIGHT_DENSE = 36;
3576
3571
  const DEFAULT_MAX_VISIBLE_ITEMS = 7;
3577
3572
 
3578
- const rootClassName$1d = 'dot-ul';
3573
+ const rootClassName$1e = 'dot-ul';
3579
3574
  const listItemClassName$1 = 'dot-li';
3580
3575
  const listItemWithSubmenuClassName = 'dot-li-with-submenu';
3581
3576
  const StyledMenuList = styled(MenuList)`
3582
3577
  ${({
3583
3578
  theme
3584
3579
  }) => css`
3585
- &.${rootClassName$1d} {
3580
+ &.${rootClassName$1e} {
3586
3581
  background: ${theme.palette.figma.background.level1.white};
3587
3582
 
3588
3583
  .dot-li {
@@ -3684,7 +3679,7 @@ const DotMenuList = forwardRef(({
3684
3679
  onSubMenuCreate,
3685
3680
  selectedKey
3686
3681
  }, ref) => {
3687
- const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
3682
+ const rootClasses = useStylesWithRootClass(rootClassName$1e, className);
3688
3683
  const [activeSubmenu, setActiveSubmenu] = useState(null);
3689
3684
  const [subItemAnchorEl, setSubItemAnchorEl] = useState(null);
3690
3685
  const openSubmenu = (target, itemKey) => {
@@ -3796,7 +3791,7 @@ const DotMenu = ({
3796
3791
  open = false,
3797
3792
  selectedKey
3798
3793
  }) => {
3799
- const rootClasses = useStylesWithRootClass(rootClassName$1e, className, loading ? 'loading' : '');
3794
+ const rootClasses = useStylesWithRootClass(rootClassName$1f, className, loading ? 'loading' : '');
3800
3795
  const isSubmenu = checkIfSubmenu(anchorEl);
3801
3796
  const hasSubItems = checkForSubItems(menuItems);
3802
3797
  // Timeout object is customizable when Menu component is either submenu
@@ -3884,12 +3879,12 @@ const DotMenu = ({
3884
3879
  });
3885
3880
  };
3886
3881
 
3887
- const rootClassName$1c = 'dot-drawer';
3882
+ const rootClassName$1d = 'dot-drawer';
3888
3883
  const StyledDrawer = styled(Drawer)`
3889
3884
  ${({
3890
3885
  theme
3891
3886
  }) => css`
3892
- &.${rootClassName$1c} .MuiBackdrop-root {
3887
+ &.${rootClassName$1d} .MuiBackdrop-root {
3893
3888
  background-color: ${theme.palette.figma.overlay.default};
3894
3889
  }
3895
3890
 
@@ -3908,12 +3903,12 @@ const StyledDrawer = styled(Drawer)`
3908
3903
  `}
3909
3904
  `;
3910
3905
 
3911
- const rootClassName$1b = 'dot-drawer-header';
3906
+ const rootClassName$1c = 'dot-drawer-header';
3912
3907
  const StyleDrawerHeader = styled.div`
3913
3908
  ${({
3914
3909
  theme
3915
3910
  }) => css`
3916
- &.${rootClassName$1b} {
3911
+ &.${rootClassName$1c} {
3917
3912
  padding: ${theme.spacing(0, 0, 2)};
3918
3913
  display: flex;
3919
3914
  align-items: center;
@@ -3924,24 +3919,24 @@ const StyleDrawerHeader = styled.div`
3924
3919
  `}
3925
3920
  `;
3926
3921
 
3927
- const rootClassName$1a = 'dot-icon-btn';
3922
+ const rootClassName$1b = 'dot-icon-btn';
3928
3923
  const StyledIconButton = styled(IconButton)`
3929
3924
  ${({
3930
3925
  theme,
3931
3926
  color
3932
3927
  }) => css`
3933
- &.${rootClassName$1a} {
3928
+ &.${rootClassName$1b} {
3934
3929
  ${color === 'inherit' ? css`
3935
3930
  color: inherit;
3936
3931
  ` : ''}
3937
3932
  ${color === 'default' ? css`
3938
- color: ${theme.palette.figma.icon.black};
3933
+ color: ${theme.palette.figma.icon.gray};
3939
3934
  ` : ''}
3940
3935
 
3941
3936
  &.MuiIconButton-colorAi{
3942
3937
  color: ${theme.palette.figma.icon.white};
3943
3938
  background: ${theme.palette.figma.gradient.normal};
3944
-
3939
+
3945
3940
  &:hover {
3946
3941
  background: ${theme.palette.figma.gradient.elevated};
3947
3942
  }
@@ -3993,7 +3988,7 @@ const StyledIconButton = styled(IconButton)`
3993
3988
  &:active {
3994
3989
  ${color !== 'ai' ? css`
3995
3990
  background: ${theme.palette.figma.toggleTabs.bckg};
3996
- ` : ''}
3991
+ ` : ''}
3997
3992
  }
3998
3993
  }
3999
3994
 
@@ -4016,7 +4011,7 @@ const DotIconButton = ({
4016
4011
  ariaRole = 'button',
4017
4012
  className,
4018
4013
  color = 'inherit',
4019
- 'data-pendoid': dataPendoId = rootClassName$1a,
4014
+ 'data-pendoid': dataPendoId = rootClassName$1b,
4020
4015
  'data-testid': dataTestId,
4021
4016
  disableInteractive,
4022
4017
  disableRipple = false,
@@ -4030,7 +4025,7 @@ const DotIconButton = ({
4030
4025
  tooltipPlacement
4031
4026
  }) => {
4032
4027
  const rippleClassName = disableRipple ? 'ripple-disabled' : '';
4033
- const rootClasses = useStylesWithRootClass(rootClassName$1a, rippleClassName, `shape-${shape}`, className);
4028
+ const rootClasses = useStylesWithRootClass(rootClassName$1b, rippleClassName, `shape-${shape}`, className);
4034
4029
  return jsx(DotTooltip, {
4035
4030
  childrenDisplayStyle: "inline-block",
4036
4031
  "data-testid": "icon-button-tooltip",
@@ -4067,7 +4062,7 @@ const DotDrawerHeader = ({
4067
4062
  onClose,
4068
4063
  variant
4069
4064
  }) => {
4070
- const rootClasses = useStylesWithRootClass(rootClassName$1b, className);
4065
+ const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
4071
4066
  return jsxs(StyleDrawerHeader, {
4072
4067
  "aria-label": ariaLabel,
4073
4068
  "aria-level": 2,
@@ -4084,10 +4079,10 @@ const DotDrawerHeader = ({
4084
4079
  });
4085
4080
  };
4086
4081
 
4087
- const rootClassName$19 = 'dot-drawer-body';
4082
+ const rootClassName$1a = 'dot-drawer-body';
4088
4083
  const StyleDrawerBody = styled.div`
4089
4084
  ${() => css`
4090
- &.${rootClassName$19} {
4085
+ &.${rootClassName$1a} {
4091
4086
  display: flex;
4092
4087
  .dot-drawer-close-button {
4093
4088
  align-self: self-start;
@@ -4108,7 +4103,7 @@ const DotDrawerBody = ({
4108
4103
  onClose,
4109
4104
  variant
4110
4105
  }) => {
4111
- const rootClasses = useStylesWithRootClass(rootClassName$19, className);
4106
+ const rootClasses = useStylesWithRootClass(rootClassName$1a, className);
4112
4107
  return jsxs(StyleDrawerBody, {
4113
4108
  "aria-label": ariaLabel,
4114
4109
  className: rootClasses,
@@ -4123,12 +4118,12 @@ const DotDrawerBody = ({
4123
4118
  });
4124
4119
  };
4125
4120
 
4126
- const rootClassName$18 = 'dot-drawer-footer';
4121
+ const rootClassName$19 = 'dot-drawer-footer';
4127
4122
  const StyleDrawerFooter = styled.div`
4128
4123
  ${({
4129
4124
  theme
4130
4125
  }) => css`
4131
- &.${rootClassName$18} {
4126
+ &.${rootClassName$19} {
4132
4127
  padding: ${theme.spacing(2, 0, 0)};
4133
4128
  }
4134
4129
  `}
@@ -4141,7 +4136,7 @@ const DotDrawerFooter = ({
4141
4136
  className,
4142
4137
  'data-testid': dataTestId
4143
4138
  }) => {
4144
- const rootClasses = useStylesWithRootClass(rootClassName$18, className);
4139
+ const rootClasses = useStylesWithRootClass(rootClassName$19, className);
4145
4140
  return jsx(StyleDrawerFooter, {
4146
4141
  "aria-label": ariaLabel,
4147
4142
  className: rootClasses,
@@ -4157,7 +4152,7 @@ const DotDrawer = ({
4157
4152
  ariaRole = 'dialog',
4158
4153
  className,
4159
4154
  children,
4160
- 'data-pendoid': dataPendoId = rootClassName$1c,
4155
+ 'data-pendoid': dataPendoId = rootClassName$1d,
4161
4156
  'data-testid': dataTestId,
4162
4157
  drawerBodyProps,
4163
4158
  drawerFooterProps,
@@ -4180,7 +4175,7 @@ const DotDrawer = ({
4180
4175
  onClose(event);
4181
4176
  }
4182
4177
  };
4183
- const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
4178
+ const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
4184
4179
  const backdropEnabled = variant === 'temporary' && !(ModalProps === null || ModalProps === void 0 ? void 0 : ModalProps.hideBackdrop);
4185
4180
  const headerExists = !!drawerHeaderProps;
4186
4181
  const bodyPendoId = drawerBodyProps ? drawerBodyProps['data-pendoid'] : 'drawer-body';
@@ -4317,7 +4312,7 @@ const styledListItemElement = elementType => {
4317
4312
  }
4318
4313
 
4319
4314
  .dot-icon i:before {
4320
- color: ${theme.palette.figma.icon.black};
4315
+ color: ${theme.palette.figma.icon.gray};
4321
4316
  }
4322
4317
 
4323
4318
  .left-border-with-arrow {
@@ -4655,7 +4650,7 @@ const DotList = ({
4655
4650
  nestedListType = 'expandable',
4656
4651
  width = 240
4657
4652
  }) => {
4658
- const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
4653
+ const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
4659
4654
  const listWidth = typeof width === 'number' ? `${width}px` : width;
4660
4655
  const listRef = useRef(undefined);
4661
4656
  const disableCloseOnClickAway = !nestedListCloseOnClickAway && nestedListType === 'expandable';
@@ -4755,12 +4750,12 @@ const DotList = ({
4755
4750
  });
4756
4751
  };
4757
4752
 
4758
- const rootClassName$17 = 'dot-copy-button';
4753
+ const rootClassName$18 = 'dot-copy-button';
4759
4754
  const StyledCopyButton = styled.span`
4760
4755
  ${({
4761
4756
  theme
4762
4757
  }) => css`
4763
- &.${rootClassName$17} .copied-to-clipboard {
4758
+ &.${rootClassName$18} .copied-to-clipboard {
4764
4759
  color: ${theme.palette.figma.success.normal};
4765
4760
 
4766
4761
  &.MuiIcon-fontSizeSmall.button-size-small {
@@ -4786,7 +4781,7 @@ const DotCopyButton = ({
4786
4781
  color = 'inherit',
4787
4782
  copiedTooltip = 'Copied!',
4788
4783
  copyTooltip = 'Copy to clipboard',
4789
- 'data-pendoid': dataPendoId = rootClassName$17,
4784
+ 'data-pendoid': dataPendoId = rootClassName$18,
4790
4785
  'data-testid': dataTestId = 'dot-copy-button',
4791
4786
  disableInteractive,
4792
4787
  disabled = false,
@@ -4835,7 +4830,7 @@ const DotCopyButton = ({
4835
4830
  return false;
4836
4831
  }, [value, showCopiedIcon, disabled, onClick]);
4837
4832
  return jsxs(StyledCopyButton, {
4838
- className: rootClassName$17,
4833
+ className: rootClassName$18,
4839
4834
  "data-testid": dataTestId,
4840
4835
  children: [!timedShowCopiedIcon && jsx(DotIconButton, {
4841
4836
  ariaLabel: ariaLabel,
@@ -4942,7 +4937,7 @@ const DotInputText = ({
4942
4937
  autoFocus,
4943
4938
  className,
4944
4939
  defaultValue,
4945
- 'data-pendoid': dataPendoId = rootClassName$1q,
4940
+ 'data-pendoid': dataPendoId = rootClassName$1r,
4946
4941
  'data-testid': dataTestId,
4947
4942
  disabled = false,
4948
4943
  error = false,
@@ -4986,12 +4981,12 @@ const DotInputText = ({
4986
4981
  const hasError = error && errorClassName;
4987
4982
  const hasWarning = !error && warning && warningClassName;
4988
4983
  const hasSuccess = !error && !warning && success && successClassName;
4989
- const isAiEnabled = ai && inputAiClassName$1;
4984
+ const isAiEnabled = !error && !warning && !success && ai && inputAiClassName$1;
4990
4985
  const hasEndAdornmentIcon = endIcon || error || hasWarning || hasSuccess;
4991
4986
  const internalInputRef = useRef(null);
4992
4987
  const textFieldInputRef = inputRef || internalInputRef;
4993
4988
  const [inputTextState, setInputTextState] = useState(getInitialState(value));
4994
- const rootStyles = useStylesWithRootClass(rootClassName$1q, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
4989
+ const rootStyles = useStylesWithRootClass(rootClassName$1r, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
4995
4990
  useEffect(() => {
4996
4991
  if (value !== inputTextState.inputValue) {
4997
4992
  setInputTextState(getInitialState(value, defaultValue));
@@ -5134,10 +5129,10 @@ const DotInputText = ({
5134
5129
  });
5135
5130
  };
5136
5131
 
5137
- const rootClassName$16 = 'dot-search-input';
5132
+ const rootClassName$17 = 'dot-search-input';
5138
5133
  const StyledSearchInput = styled.span`
5139
5134
  ${() => css`
5140
- &.${rootClassName$16} {
5135
+ &.${rootClassName$17} {
5141
5136
  }
5142
5137
  `}
5143
5138
  `;
@@ -5154,7 +5149,7 @@ function SearchInput({
5154
5149
  tooltip = null,
5155
5150
  value
5156
5151
  }) {
5157
- const rootClasses = useStylesWithRootClass(rootClassName$16, className);
5152
+ const rootClasses = useStylesWithRootClass(rootClassName$17, className);
5158
5153
  const [searchText, setSearchText] = useState(value);
5159
5154
  let previousSearchText = '';
5160
5155
  const handleChange = useCallback(event => {
@@ -5410,12 +5405,12 @@ const recentAppInstancesSetter = (latestInstance, maxRecentItems
5410
5405
  };
5411
5406
  };
5412
5407
 
5413
- const rootClassName$15 = 'dot-app-switcher';
5408
+ const rootClassName$16 = 'dot-app-switcher';
5414
5409
  const StyledAppSwitcher = styled(DotDrawer)`
5415
5410
  ${({
5416
5411
  theme
5417
5412
  }) => css`
5418
- &.${rootClassName$15} {
5413
+ &.${rootClassName$16} {
5419
5414
  .dot-drawer-paper {
5420
5415
  padding: 0;
5421
5416
  width: 382px;
@@ -5525,7 +5520,7 @@ const DotAppSwitcherView = ({
5525
5520
  if (dotCoreApiContext !== null) {
5526
5521
  setSelectedAppType = dotCoreApiContext.setSelectedAppSwitcherAppType;
5527
5522
  }
5528
- const rootClasses = useStylesWithRootClass(rootClassName$15, className);
5523
+ const rootClasses = useStylesWithRootClass(rootClassName$16, className);
5529
5524
  const [appTypeMap, setAppTypeMap] = useState();
5530
5525
  const [appTypeLabels, setAppTypeLabels] = useState();
5531
5526
  const [appTypeMenuItems, setAppTypeMenuItems] = useState();
@@ -5903,12 +5898,12 @@ var SvgLogoDigitalAiWhite = function SvgLogoDigitalAiWhite(_ref, ref) {
5903
5898
  };
5904
5899
  var ForwardRef = /*#__PURE__*/forwardRef(SvgLogoDigitalAiWhite);
5905
5900
 
5906
- const rootClassName$14 = 'dot-sidebar';
5901
+ const rootClassName$15 = 'dot-sidebar';
5907
5902
  const StyledSidebar = styled.aside`
5908
5903
  ${({
5909
5904
  theme
5910
5905
  }) => css`
5911
- &.${rootClassName$14} {
5906
+ &.${rootClassName$15} {
5912
5907
  align-items: stretch;
5913
5908
  background: ${theme.palette.figma.background.level1.white};
5914
5909
  border-width: 0 1px;
@@ -5965,7 +5960,7 @@ const StyledSidebar = styled.aside`
5965
5960
 
5966
5961
  &:focus-visible {
5967
5962
  box-shadow: 0 0 0 2px ${theme.palette.figma.icon.white},
5968
- 0 0 0 4px ${theme.palette.figma.icon.black};
5963
+ 0 0 0 4px ${theme.palette.figma.icon.gray};
5969
5964
  }
5970
5965
  }
5971
5966
 
@@ -6043,7 +6038,7 @@ const StyledSidebar = styled.aside`
6043
6038
  margin: 0;
6044
6039
 
6045
6040
  i:before {
6046
- color: ${theme.palette.figma.typography.gray};
6041
+ color: ${theme.palette.figma.icon.gray};
6047
6042
  }
6048
6043
  }
6049
6044
  }
@@ -6202,10 +6197,10 @@ const StyledSidebar = styled.aside`
6202
6197
  `}
6203
6198
  `;
6204
6199
 
6205
- const rootClassName$13 = 'dot-truncate-with-tooltip';
6200
+ const rootClassName$14 = 'dot-truncate-with-tooltip';
6206
6201
  const StyledTruncateWithTooltip = styled(Tooltip)`
6207
6202
  ${() => css`
6208
- &.${rootClassName$13} {
6203
+ &.${rootClassName$14} {
6209
6204
  display: block;
6210
6205
  overflow: hidden;
6211
6206
  white-space: nowrap;
@@ -6236,7 +6231,7 @@ const DotTruncateWithTooltip = ({
6236
6231
  label,
6237
6232
  width
6238
6233
  }) => {
6239
- const rootClasses = useStylesWithRootClass(rootClassName$13, className, charactersLimit ? 'dot-characters-limit' : '');
6234
+ const rootClasses = useStylesWithRootClass(rootClassName$14, className, charactersLimit ? 'dot-characters-limit' : '');
6240
6235
  return jsx(StyledTruncateWithTooltip, {
6241
6236
  "aria-label": ariaLabel,
6242
6237
  arrow: arrow,
@@ -6350,7 +6345,7 @@ const DotSidebar = ({
6350
6345
  keys: collapseKeys
6351
6346
  }, toggleNavCollapseState, [isOpen, collapsable]);
6352
6347
  const sidebarClasses = useStylesWithRootClass('side-nav', openClass);
6353
- const rootClasses = useStylesWithRootClass(rootClassName$14, openClass, className);
6348
+ const rootClasses = useStylesWithRootClass(rootClassName$15, openClass, className);
6354
6349
  return jsxs(StyledSidebar, {
6355
6350
  "aria-label": ariaLabel,
6356
6351
  className: rootClasses,
@@ -6412,6 +6407,7 @@ const DotSidebar = ({
6412
6407
  placement: "right",
6413
6408
  children: jsx(DotIconButton, {
6414
6409
  ariaLabel: "collapse sidebar navigation",
6410
+ color: "default",
6415
6411
  "data-testid": "toggle-nav",
6416
6412
  iconId: isOpen ? 'push-left' : 'push-right',
6417
6413
  iconSize: "small",
@@ -6425,12 +6421,12 @@ const DotSidebar = ({
6425
6421
  });
6426
6422
  };
6427
6423
 
6428
- const rootClassName$12 = 'dot-badge';
6424
+ const rootClassName$13 = 'dot-badge';
6429
6425
  const StyledBadge = styled(Badge)`
6430
6426
  ${({
6431
6427
  theme
6432
6428
  }) => css`
6433
- &.${rootClassName$12} {
6429
+ &.${rootClassName$13} {
6434
6430
  color: ${theme.palette.figma.typography.black};
6435
6431
  word-break: normal;
6436
6432
 
@@ -6465,7 +6461,7 @@ const DotBadge = ({
6465
6461
  overlap,
6466
6462
  variant = 'dot'
6467
6463
  }) => {
6468
- const rootClasses = useStylesWithRootClass(rootClassName$12, className);
6464
+ const rootClasses = useStylesWithRootClass(rootClassName$13, className);
6469
6465
  return jsx(StyledBadge, {
6470
6466
  "$badgeColor": badgeColor,
6471
6467
  anchorOrigin: {
@@ -6487,7 +6483,7 @@ const DotBadge = ({
6487
6483
  });
6488
6484
  };
6489
6485
 
6490
- const rootClassName$11 = 'dot-app-toolbar';
6486
+ const rootClassName$12 = 'dot-app-toolbar';
6491
6487
  const denseClassName = 'dense';
6492
6488
  const StyledMainMenu = styled(DotDrawer)`
6493
6489
  ${({
@@ -6527,7 +6523,7 @@ const StyledAppToolbar = styled.header`
6527
6523
  ${({
6528
6524
  theme
6529
6525
  }) => css`
6530
- &.${rootClassName$11} {
6526
+ &.${rootClassName$12} {
6531
6527
  align-items: center;
6532
6528
  background: ${theme.palette.figma.appToolbar.background};
6533
6529
  border-bottom: 4px solid ${theme.palette.figma.border.default};
@@ -6622,7 +6618,7 @@ const StyledAppToolbar = styled.header`
6622
6618
  height: 40px;
6623
6619
  button.dot-avatar:focus-visible {
6624
6620
  box-shadow: 0px 0px 0px 3px ${theme.palette.figma.icon.white},
6625
- 0px 0px 0px 5px ${theme.palette.figma.icon.black};
6621
+ 0px 0px 0px 5px ${theme.palette.figma.icon.gray};
6626
6622
  }
6627
6623
  }
6628
6624
  }
@@ -6656,7 +6652,7 @@ const DotAppToolbar = ({
6656
6652
  const displayAppLogo = appLogo || appLogoSmall;
6657
6653
  const mainMenuRef = useRef(null);
6658
6654
  const denseClass = dense ? denseClassName : '';
6659
- const rootClasses = useStylesWithRootClass(rootClassName$11, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6655
+ const rootClasses = useStylesWithRootClass(rootClassName$12, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6660
6656
  const mainMenuClasses = useStylesWithRootClass('dot-main-menu', denseClass, menuOpen ? 'open' : '');
6661
6657
  const targetBreakpoint = useMediaQuery(theme => theme.breakpoints.up('lg'));
6662
6658
  useEffect(() => {
@@ -6808,18 +6804,18 @@ const DotAppToolbar = ({
6808
6804
  }) : appToolbar;
6809
6805
  };
6810
6806
 
6811
- const rootClassName$10 = 'dot-chip';
6807
+ const rootClassName$11 = 'dot-chip';
6812
6808
  const StyledChip = styled(Chip)`
6813
6809
  ${({
6814
6810
  theme
6815
6811
  }) => css`
6816
- &.${rootClassName$10} {
6812
+ &.${rootClassName$11} {
6817
6813
  background: ${theme.palette.figma.neutral.normal};
6818
6814
  border-color: ${theme.palette.figma.border.darker};
6819
6815
  color: ${theme.palette.figma.typography.black};
6820
6816
 
6821
6817
  .dot-icon i {
6822
- color: ${theme.palette.figma.icon.black};
6818
+ color: ${theme.palette.figma.icon.gray};
6823
6819
  height: auto;
6824
6820
  }
6825
6821
 
@@ -6891,7 +6887,7 @@ const StyledChip = styled(Chip)`
6891
6887
  }
6892
6888
 
6893
6889
  .MuiChip-deleteIcon:hover {
6894
- color: ${theme.palette.figma.icon.black};
6890
+ color: ${theme.palette.figma.icon.gray};
6895
6891
  }
6896
6892
  }
6897
6893
 
@@ -6919,7 +6915,7 @@ const DotChip = ({
6919
6915
  charactersLimit = DEFAULT_CHARACTERS_LIMIT,
6920
6916
  children,
6921
6917
  className,
6922
- 'data-pendoid': dataPendoId = rootClassName$10,
6918
+ 'data-pendoid': dataPendoId = rootClassName$11,
6923
6919
  'data-testid': dataTestId,
6924
6920
  disabled = false,
6925
6921
  error = false,
@@ -6933,7 +6929,7 @@ const DotChip = ({
6933
6929
  tooltipProps
6934
6930
  }) => {
6935
6931
  const errorClass = error ? 'Mui-error' : '';
6936
- const rootClasses = useStylesWithRootClass(rootClassName$10, className, errorClass);
6932
+ const rootClasses = useStylesWithRootClass(rootClassName$11, className, errorClass);
6937
6933
  const isTruncated = charactersLimit > 0 && children.length > charactersLimit;
6938
6934
  const getChipLabelWithTooltip = label => jsx(DotTooltip, Object.assign({}, tooltipProps, {
6939
6935
  hoverVisibility: "always",
@@ -6969,7 +6965,7 @@ const DotChip = ({
6969
6965
  });
6970
6966
  };
6971
6967
 
6972
- const rootClassName$$ = 'dot-autocomplete';
6968
+ const rootClassName$10 = 'dot-autocomplete';
6973
6969
  const inputRootClassName = 'dot-input-root';
6974
6970
  const inputMediumClassName = 'dot-input-medium';
6975
6971
  const inputAiClassName = 'dot-input-ai';
@@ -6977,7 +6973,7 @@ const StyledAutocomplete = styled(Autocomplete)`
6977
6973
  ${({
6978
6974
  theme
6979
6975
  }) => css`
6980
- &.${rootClassName$$} {
6976
+ &.${rootClassName$10} {
6981
6977
  &.${inputMediumClassName} .dot-text-field .${inputRootClassName} {
6982
6978
  height: 56px;
6983
6979
  padding-left: ${theme.spacing(2)};
@@ -7013,15 +7009,8 @@ const StyledAutocomplete = styled(Autocomplete)`
7013
7009
  }
7014
7010
 
7015
7011
  &.${inputAiClassName} {
7016
- color: ${theme.palette.figma.typography.white};
7017
- background: ${theme.palette.figma.gradient.ai};
7018
- border: 2px solid transparent;
7019
- border-radius: 4px;
7020
- .MuiOutlinedInput-root {
7021
- padding: 8px;
7022
- }
7023
7012
  .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline {
7024
- border: none;
7013
+ border-color: ${theme.palette.figma.aiPink.elevated};
7025
7014
  }
7026
7015
  }
7027
7016
  `}
@@ -7083,8 +7072,8 @@ const isEmptyValue = value => {
7083
7072
  return !value;
7084
7073
  }
7085
7074
  };
7086
- const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$$, size === 'medium' && inputMediumClassName, className);
7087
- const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1q, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7075
+ const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$10, size === 'medium' && inputMediumClassName, className);
7076
+ const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1r, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7088
7077
  const getInputRootClassNames = isDense => useStylesWithRootClass(inputRootClassName, !isDense && inputMediumClassName);
7089
7078
  const getDefaultAutoCompleteValue = (hasMultiple, defaultValue) => hasMultiple && isString$2(defaultValue) ? [defaultValue] : defaultValue;
7090
7079
  const getAutoCompleteGroupBy = group => group ? option => option.group : undefined;
@@ -7106,7 +7095,7 @@ const DotAutoComplete = ({
7106
7095
  autoFocus,
7107
7096
  autoHighlight,
7108
7097
  className,
7109
- 'data-pendoid': dataPendoId = rootClassName$$,
7098
+ 'data-pendoid': dataPendoId = rootClassName$10,
7110
7099
  'data-testid': dataTestId,
7111
7100
  defaultValue,
7112
7101
  dense = true,
@@ -7172,10 +7161,11 @@ const DotAutoComplete = ({
7172
7161
  const isActionItemDefined = onActionItemClick !== undefined;
7173
7162
  const popperOpen = !readOnly && (open || isOpened);
7174
7163
  const textFieldWarningClassName = !error && warning && warningClassName;
7175
- const rootClasses = useStylesWithRootClass(getRootClassNames(className, size), ai ? inputAiClassName : '');
7164
+ const isAiEnabled = !error && !warning && ai;
7165
+ const rootClasses = useStylesWithRootClass(getRootClassNames(className, size), isAiEnabled ? inputAiClassName : '');
7176
7166
  const textFieldRootClasses = getTextFieldRootClassNames(textFieldWarningClassName, readOnly);
7177
7167
  const inputRootClasses = getInputRootClassNames(dense);
7178
- const popperClasses = useStylesWithRootClass(rootClassName$1f, popperClassName);
7168
+ const popperClasses = useStylesWithRootClass(rootClassName$1g, popperClassName);
7179
7169
  let highlightedOption = null;
7180
7170
  let textFieldInput;
7181
7171
  const textFieldRef = element => {
@@ -7298,7 +7288,7 @@ const DotAutoComplete = ({
7298
7288
  // Create handler only if 'onInputChange' or 'actionItem' prop is defined
7299
7289
  // Custom input change handler for AI mode
7300
7290
  const handleInputChange = (event, currentInputValue, reason) => {
7301
- if (isActionItemDefined || ai) {
7291
+ if (isActionItemDefined || isAiEnabled) {
7302
7292
  setInputText(currentInputValue); // fallback for action item
7303
7293
  }
7304
7294
  onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, currentInputValue, reason);
@@ -7389,7 +7379,7 @@ const DotAutoComplete = ({
7389
7379
  return renderOption ? renderOption(props, option, state) : renderTrimmedLongOptions(props, option);
7390
7380
  };
7391
7381
  const getEndAdornment = params => {
7392
- if (ai) {
7382
+ if (isAiEnabled) {
7393
7383
  return renderAISendAdornment;
7394
7384
  }
7395
7385
  if (!readOnly) {
@@ -7410,6 +7400,7 @@ const DotAutoComplete = ({
7410
7400
  defaultValue: getDefaultAutoCompleteValue(multiple, defaultValue),
7411
7401
  disableCloseOnSelect: disableCloseOnSelect,
7412
7402
  disabled: disabled,
7403
+ disableClearable: isAiEnabled,
7413
7404
  filterOptions: filterOptions,
7414
7405
  filterSelectedOptions: filterSelectedOptions,
7415
7406
  freeSolo: freesolo,
@@ -7482,7 +7473,7 @@ const DotAutoComplete = ({
7482
7473
  id: inputId,
7483
7474
  className: useStylesWithRootClass(inputProps.className, 'dot-input'),
7484
7475
  readOnly,
7485
- value: ai ? inputText : inputProps.value
7476
+ value: isAiEnabled ? inputText : inputProps.value
7486
7477
  }),
7487
7478
  InputLabelProps: {
7488
7479
  htmlFor: inputId
@@ -7500,7 +7491,7 @@ const DotAutoComplete = ({
7500
7491
  event.preventDefault();
7501
7492
  (_a = actionItemRef === null || actionItemRef === void 0 ? void 0 : actionItemRef.current) === null || _a === void 0 ? void 0 : _a.focus();
7502
7493
  }
7503
- if (event.key === 'Enter' && ai) {
7494
+ if (event.key === 'Enter' && isAiEnabled) {
7504
7495
  event.stopPropagation();
7505
7496
  event.preventDefault();
7506
7497
  handleAiAction(inputText);
@@ -7524,10 +7515,10 @@ const DotAutoComplete = ({
7524
7515
  });
7525
7516
  };
7526
7517
 
7527
- const rootClassName$_ = 'dot-avatar-group';
7518
+ const rootClassName$$ = 'dot-avatar-group';
7528
7519
  const StyledAvatarGroup = styled(AvatarGroup)`
7529
7520
  ${() => css`
7530
- &.${rootClassName$_} {
7521
+ &.${rootClassName$$} {
7531
7522
  justify-content: flex-end;
7532
7523
 
7533
7524
  .MuiAvatar-root {
@@ -7546,7 +7537,7 @@ const DotAvatarGroup = ({
7546
7537
  max = 3,
7547
7538
  spacing = 'medium'
7548
7539
  }) => {
7549
- const rootClasses = useStylesWithRootClass(rootClassName$_, className);
7540
+ const rootClasses = useStylesWithRootClass(rootClassName$$, className);
7550
7541
  return jsx(StyledAvatarGroup, {
7551
7542
  "aria-label": ariaLabel,
7552
7543
  classes: {
@@ -7561,14 +7552,14 @@ const DotAvatarGroup = ({
7561
7552
  });
7562
7553
  };
7563
7554
 
7564
- const rootClassName$Z = 'dot-avatar-with-details';
7555
+ const rootClassName$_ = 'dot-avatar-with-details';
7565
7556
  const StyledAvatarWithDetails = styled.div`
7566
7557
  ${({
7567
7558
  theme,
7568
7559
  $maxSubtitleLines,
7569
7560
  $maxTitleLines
7570
7561
  }) => css`
7571
- &.${rootClassName$Z} {
7562
+ &.${rootClassName$_} {
7572
7563
  gap: ${theme.spacing(2)};
7573
7564
  display: flex;
7574
7565
  align-items: center;
@@ -7604,12 +7595,12 @@ const DotAvatarWithDetails = ({
7604
7595
  ariaLabel,
7605
7596
  avatar,
7606
7597
  className,
7607
- 'data-pendoid': dataPendoId = rootClassName$Z,
7598
+ 'data-pendoid': dataPendoId = rootClassName$_,
7608
7599
  'data-testid': dataTestId,
7609
7600
  subtitle,
7610
7601
  title
7611
7602
  }) => {
7612
- const rootClasses = useStylesWithRootClass(rootClassName$Z, className);
7603
+ const rootClasses = useStylesWithRootClass(rootClassName$_, className);
7613
7604
  const titleClasses = useStylesWithRootClass('dot-avatar-with-details-title', title.maxLines ? 'max-lines-clamp' : '');
7614
7605
  const subtitleClasses = useStylesWithRootClass('dot-avatar-with-details-subtitle', (subtitle === null || subtitle === void 0 ? void 0 : subtitle.maxLines) ? 'max-lines-clamp' : '');
7615
7606
  return jsxs(StyledAvatarWithDetails, {
@@ -7644,13 +7635,13 @@ const DotAvatarWithDetails = ({
7644
7635
  });
7645
7636
  };
7646
7637
 
7647
- const rootClassName$Y = 'dot-breadcrumbs';
7638
+ const rootClassName$Z = 'dot-breadcrumbs';
7648
7639
  const breadcrumbsWrapperClass = 'dot-breadcrumbs-wrapper';
7649
7640
  const StyledBreadcrumbsWrapper = styled.div`
7650
7641
  ${({
7651
7642
  theme
7652
7643
  }) => css`
7653
- &.${rootClassName$Y} {
7644
+ &.${rootClassName$Z} {
7654
7645
  overflow: hidden;
7655
7646
 
7656
7647
  .dot-breadcrumbs-menu {
@@ -7670,7 +7661,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs)`
7670
7661
  ${({
7671
7662
  theme
7672
7663
  }) => css`
7673
- &.${rootClassName$Y} {
7664
+ &.${rootClassName$Z} {
7674
7665
  margin-bottom: 0;
7675
7666
 
7676
7667
  .MuiBreadcrumbs-ol {
@@ -7678,7 +7669,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs)`
7678
7669
  }
7679
7670
  .MuiBreadcrumbs-li,
7680
7671
  .separator {
7681
- color: ${theme.palette.figma.icon.black};
7672
+ color: ${theme.palette.figma.typography.black};
7682
7673
  margin: 0;
7683
7674
  white-space: nowrap;
7684
7675
  }
@@ -7998,7 +7989,7 @@ const DotBreadcrumbs = ({
7998
7989
  children: [jsx(StyledBreadcrumbs, {
7999
7990
  "aria-label": "breadcrumb",
8000
7991
  classes: {
8001
- root: rootClassName$Y,
7992
+ root: rootClassName$Z,
8002
7993
  ol: 'dot-ol',
8003
7994
  li: 'dot-li'
8004
7995
  },
@@ -8029,14 +8020,14 @@ const DotBreadcrumbs = ({
8029
8020
  });
8030
8021
  };
8031
8022
 
8032
- const rootClassName$X = 'dot-button-toggle';
8023
+ const rootClassName$Y = 'dot-button-toggle';
8033
8024
  // TODO: need to update ripple color
8034
8025
  // https://github.com/mui/material-ui/issues/28543
8035
8026
  const StyledToggleButtonGroup = styled(ToggleButtonGroup)`
8036
8027
  ${({
8037
8028
  theme
8038
8029
  }) => css`
8039
- &.${rootClassName$X} {
8030
+ &.${rootClassName$Y} {
8040
8031
  button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {
8041
8032
  /* Override height for medium size */
8042
8033
  height: ${theme.spacing(5)};
@@ -8048,7 +8039,7 @@ const StyledToggleButtonGroup = styled(ToggleButtonGroup)`
8048
8039
  }
8049
8040
 
8050
8041
  .dot-icon {
8051
- color: ${theme.palette.figma.icon.black};
8042
+ color: ${theme.palette.figma.icon.gray};
8052
8043
  display: flex;
8053
8044
 
8054
8045
  + p {
@@ -8159,7 +8150,7 @@ const DotButtonToggle = ({
8159
8150
  buttonOptions,
8160
8151
  className,
8161
8152
  color,
8162
- 'data-pendoid': dataPendoId = rootClassName$X,
8153
+ 'data-pendoid': dataPendoId = rootClassName$Y,
8163
8154
  'data-testid': dataTestId = 'dot-toggle',
8164
8155
  disableFocusRipple = false,
8165
8156
  disableRipple = false,
@@ -8169,7 +8160,7 @@ const DotButtonToggle = ({
8169
8160
  size = 'medium',
8170
8161
  value
8171
8162
  }) => {
8172
- const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8163
+ const rootClasses = useStylesWithRootClass(rootClassName$Y, className);
8173
8164
  const renderToggleButton = ({
8174
8165
  ariaLabel: optionAriaLabel,
8175
8166
  badgeContent: optionBadgeContent,
@@ -8254,12 +8245,12 @@ const TooltipToggleButton = forwardRef((_a, ref) => {
8254
8245
  }));
8255
8246
  });
8256
8247
 
8257
- const rootClassName$W = 'dot-card';
8248
+ const rootClassName$X = 'dot-card';
8258
8249
  const StyledCard = styled(Card)`
8259
8250
  ${({
8260
8251
  theme
8261
8252
  }) => css`
8262
- &.${rootClassName$W} {
8253
+ &.${rootClassName$X} {
8263
8254
  background-color: ${theme.palette.figma.background.level1.white};
8264
8255
  }
8265
8256
  `}
@@ -8273,7 +8264,7 @@ const DotCard = ({
8273
8264
  onMouseEnter,
8274
8265
  onMouseLeave
8275
8266
  }) => {
8276
- const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8267
+ const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8277
8268
  return jsx(StyledCard, {
8278
8269
  "aria-label": ariaLabel,
8279
8270
  classes: {
@@ -8304,12 +8295,12 @@ const DotCardContent = ({
8304
8295
  });
8305
8296
  };
8306
8297
 
8307
- const rootClassName$V = 'dot-card-footer';
8298
+ const rootClassName$W = 'dot-card-footer';
8308
8299
  const StyledDiv = styled.div`
8309
8300
  ${({
8310
8301
  theme
8311
8302
  }) => css`
8312
- &.${rootClassName$V} {
8303
+ &.${rootClassName$W} {
8313
8304
  padding: ${theme.spacing(2)};
8314
8305
  }
8315
8306
  `}
@@ -8321,7 +8312,7 @@ const DotCardFooter = ({
8321
8312
  className,
8322
8313
  'data-testid': dataTestId
8323
8314
  }) => {
8324
- const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8315
+ const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8325
8316
  return jsx(StyledDiv, {
8326
8317
  "aria-label": ariaLabel,
8327
8318
  className: rootClasses,
@@ -8330,14 +8321,14 @@ const DotCardFooter = ({
8330
8321
  });
8331
8322
  };
8332
8323
 
8333
- const rootClassName$U = 'dot-card-header';
8324
+ const rootClassName$V = 'dot-card-header';
8334
8325
  const StyledCardHeader = styled(CardHeader)`
8335
8326
  ${({
8336
8327
  theme,
8337
8328
  $maxSubheaderLines,
8338
8329
  $maxTitleLines
8339
8330
  }) => css`
8340
- &.${rootClassName$U} {
8331
+ &.${rootClassName$V} {
8341
8332
  .MuiCardHeader-content {
8342
8333
  overflow-x: hidden;
8343
8334
 
@@ -8375,7 +8366,7 @@ const DotCardHeader = ({
8375
8366
  titleMaxLines = 1,
8376
8367
  titleSize = 'large'
8377
8368
  }) => {
8378
- const rootClasses = useStylesWithRootClass(rootClassName$U, className);
8369
+ const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8379
8370
  const nonSmallTitleSize = titleSize === 'medium' ? 'h3' : 'h2';
8380
8371
  const titleVariant = titleSize === 'small' ? 'h4' : nonSmallTitleSize;
8381
8372
  const subheaderVariant = subheaderSize === 'small' ? 'body2' : 'body1';
@@ -8412,9 +8403,9 @@ const DotCardHeader = ({
8412
8403
  });
8413
8404
  };
8414
8405
 
8415
- const rootClassName$T = 'dot-form-control-label';
8406
+ const rootClassName$U = 'dot-form-control-label';
8416
8407
  const StyledFormControlLabel = styled(FormControlLabel)`
8417
- &.${rootClassName$T} {
8408
+ &.${rootClassName$U} {
8418
8409
  .MuiFormControlLabel-label {
8419
8410
  margin-bottom: 0;
8420
8411
  padding: 0 0 0 4px;
@@ -8437,12 +8428,12 @@ const StyledFormControlLabel = styled(FormControlLabel)`
8437
8428
  }
8438
8429
  `;
8439
8430
 
8440
- const rootClassName$S = 'dot-checkbox';
8431
+ const rootClassName$T = 'dot-checkbox';
8441
8432
  const StyledCheckbox = styled(Checkbox)`
8442
8433
  ${({
8443
8434
  theme
8444
8435
  }) => css`
8445
- &.${rootClassName$S} {
8436
+ &.${rootClassName$T} {
8446
8437
  padding: ${theme.spacing(1)};
8447
8438
 
8448
8439
  &.MuiCheckbox-indeterminate {
@@ -8461,7 +8452,7 @@ function DotCheckbox({
8461
8452
  ariaLabelledby,
8462
8453
  checked,
8463
8454
  className,
8464
- 'data-pendoid': dataPendoId = rootClassName$T,
8455
+ 'data-pendoid': dataPendoId = rootClassName$U,
8465
8456
  'data-testid': dataTestId,
8466
8457
  disabled,
8467
8458
  disableRipple,
@@ -8476,14 +8467,14 @@ function DotCheckbox({
8476
8467
  size = 'medium',
8477
8468
  value
8478
8469
  }) {
8479
- const rootClasses = useStylesWithRootClass(rootClassName$T, className);
8470
+ const rootClasses = useStylesWithRootClass(rootClassName$U, className);
8480
8471
  const handleChange = event => {
8481
8472
  onChange && onChange(event, event.target.value);
8482
8473
  };
8483
8474
  const checkboxControl = jsx(StyledCheckbox, {
8484
8475
  checked: checked,
8485
8476
  classes: {
8486
- root: rootClassName$S
8477
+ root: rootClassName$T
8487
8478
  },
8488
8479
  color: "primary",
8489
8480
  "data-pendoid": dataPendoId,
@@ -8512,13 +8503,13 @@ function DotCheckbox({
8512
8503
  });
8513
8504
  }
8514
8505
 
8515
- const rootClassName$R = 'dot-form-group';
8506
+ const rootClassName$S = 'dot-form-group';
8516
8507
  const groupLabelClassName = 'dot-form-group-label';
8517
8508
  const startAdornmentClassName = 'dot-start-adornment';
8518
8509
  const endAdornmentClassName = 'dot-end-adornment';
8519
8510
  const placementClassName = 'dot-';
8520
8511
  const StyledFormControl = styled(FormControl)`
8521
- &.${rootClassName$R} {
8512
+ &.${rootClassName$S} {
8522
8513
  .MuiFormLabel-root {
8523
8514
  width: 100%;
8524
8515
  line-height: 24px;
@@ -8549,7 +8540,7 @@ const StyledFormControl = styled(FormControl)`
8549
8540
  }
8550
8541
  `;
8551
8542
 
8552
- const rootClassName$Q = 'dot-checkbox-group';
8543
+ const rootClassName$R = 'dot-checkbox-group';
8553
8544
  const wrapperClassName$1 = 'dot-checkbox-group-wrapper';
8554
8545
  const checkboxListClassName = 'dot-checkbox-list';
8555
8546
  const checkboxListItemClassName = 'dot-checkbox-list-item';
@@ -8558,7 +8549,7 @@ const StyledCheckboxGroup = styled.div`
8558
8549
  theme
8559
8550
  }) => css`
8560
8551
  &.${wrapperClassName$1} {
8561
- .${rootClassName$Q} {
8552
+ .${rootClassName$R} {
8562
8553
  width: 100%;
8563
8554
  }
8564
8555
 
@@ -8585,7 +8576,7 @@ const StyledCheckboxGroup = styled.div`
8585
8576
  margin-top: 0;
8586
8577
  padding-left: ${theme.spacing(2.5)};
8587
8578
 
8588
- .${rootClassName$T} {
8579
+ .${rootClassName$U} {
8589
8580
  margin: 0;
8590
8581
  }
8591
8582
  }
@@ -8593,13 +8584,13 @@ const StyledCheckboxGroup = styled.div`
8593
8584
  `}
8594
8585
  `;
8595
8586
 
8596
- const rootClassName$P = 'dot-form-group';
8587
+ const rootClassName$Q = 'dot-form-group';
8597
8588
  const StyledFormGroup = styled(FormGroup)`
8598
8589
  ${({
8599
8590
  theme,
8600
8591
  row
8601
8592
  }) => css`
8602
- &.${rootClassName$P} > * {
8593
+ &.${rootClassName$Q} > * {
8603
8594
  margin: ${row ? `${theme.spacing(0.5)}` : 0};
8604
8595
  }
8605
8596
  `}
@@ -8612,7 +8603,7 @@ function DotFormGroup({
8612
8603
  'data-testid': dataTestId,
8613
8604
  row
8614
8605
  }) {
8615
- const rootClasses = useStylesWithRootClass(rootClassName$R, className);
8606
+ const rootClasses = useStylesWithRootClass(rootClassName$S, className);
8616
8607
  return jsx(StyledFormGroup, {
8617
8608
  "aria-label": ariaLabel,
8618
8609
  classes: {
@@ -8651,7 +8642,7 @@ function DotCheckboxGroup({
8651
8642
  size = 'medium'
8652
8643
  }) {
8653
8644
  const placement = `${placementClassName}${labelPlacement}`;
8654
- const rootClasses = useStylesWithRootClass(rootClassName$R, rootClassName$Q, className, placement);
8645
+ const rootClasses = useStylesWithRootClass(rootClassName$S, rootClassName$R, className, placement);
8655
8646
  const [selectedOptions, setSelectedOptions] = useState(defaultValues);
8656
8647
  const [allChecked, setAllChecked] = useState(false);
8657
8648
  /* This will ensure that state can be updated from the outside */
@@ -8736,12 +8727,12 @@ function DotCheckboxGroup({
8736
8727
  });
8737
8728
  }
8738
8729
 
8739
- const rootClassName$O = 'chip-list';
8730
+ const rootClassName$P = 'chip-list';
8740
8731
  const StyledChipList = styled.div`
8741
8732
  ${({
8742
8733
  theme
8743
8734
  }) => css`
8744
- &.${rootClassName$O} {
8735
+ &.${rootClassName$P} {
8745
8736
  display: flex;
8746
8737
  gap: ${theme.spacing(1)};
8747
8738
  }
@@ -8816,19 +8807,19 @@ function DotChipList({
8816
8807
  setChips(itemElements);
8817
8808
  }, [items, maxChars]);
8818
8809
  return jsx(StyledChipList, {
8819
- className: rootClassName$O,
8810
+ className: rootClassName$P,
8820
8811
  "data-testid": dataTestId,
8821
8812
  style: style,
8822
8813
  children: chips
8823
8814
  });
8824
8815
  }
8825
8816
 
8826
- const rootClassName$N = 'dot-dialog';
8817
+ const rootClassName$O = 'dot-dialog';
8827
8818
  const StyledDialog = styled(Dialog)`
8828
8819
  ${({
8829
8820
  theme
8830
8821
  }) => css`
8831
- &.${rootClassName$N} {
8822
+ &.${rootClassName$O} {
8832
8823
  .MuiDialog-paper {
8833
8824
  background: ${theme.palette.figma.background.level1.white};
8834
8825
  color: ${theme.palette.figma.typography.black};
@@ -8874,7 +8865,7 @@ const DotDialog = ({
8874
8865
  cancelButtonProps,
8875
8866
  cancelButtonVisible = true,
8876
8867
  className,
8877
- 'data-pendoid': dataPendoId = rootClassName$N,
8868
+ 'data-pendoid': dataPendoId = rootClassName$O,
8878
8869
  'data-testid': dataTestId,
8879
8870
  children,
8880
8871
  closeIconVisible,
@@ -8888,7 +8879,7 @@ const DotDialog = ({
8888
8879
  submitButtonProps,
8889
8880
  title
8890
8881
  }) => {
8891
- const rootClasses = useStylesWithRootClass(rootClassName$N, className);
8882
+ const rootClasses = useStylesWithRootClass(rootClassName$O, className);
8892
8883
  const cancelClasses = useStylesWithRootClass(cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.className, 'cancel-button');
8893
8884
  const [isOpen, setIsOpen] = useState(open);
8894
8885
  const hasSecondaryAction = !!secondaryButtonProps;
@@ -9025,7 +9016,7 @@ const DotConfirmationDialog = ({
9025
9016
  });
9026
9017
  };
9027
9018
 
9028
- const rootClassName$M = 'dot-grid';
9019
+ const rootClassName$N = 'dot-grid';
9029
9020
  const frGetter = value => typeof value === 'number' ? `repeat(${value}, 1fr)` : value;
9030
9021
  const breakpointsGetter$1 = (theme, columnsBreakpoints, columnGap, rowGap) => `${theme.breakpoints.up('xs')} {
9031
9022
  column-gap: ${`${columnGap.xs}px`};
@@ -9085,7 +9076,7 @@ const Grid = ({
9085
9076
  children,
9086
9077
  isLoading
9087
9078
  }) => {
9088
- const rootClasses = useStylesWithRootClass(rootClassName$M, className);
9079
+ const rootClasses = useStylesWithRootClass(rootClassName$N, className);
9089
9080
  return jsxs("div", {
9090
9081
  className: rootClasses,
9091
9082
  children: [children, isLoading && jsx(DotProgress, {
@@ -9109,7 +9100,7 @@ const StyledGrid = styled(Grid)`
9109
9100
  theme,
9110
9101
  width
9111
9102
  }) => css`
9112
- &.${rootClassName$M} {
9103
+ &.${rootClassName$N} {
9113
9104
  display: grid;
9114
9105
  grid-template-rows: ${frGetter(rows)};
9115
9106
  ${columns ? `${columns && `grid-template-columns: ${frGetter(columns)}`};` : breakpointsGetter$1(theme, columnsBreakpoints, columnGap, rowGap)}
@@ -9380,12 +9371,12 @@ const CssGridDebug = ({
9380
9371
  });
9381
9372
  };
9382
9373
 
9383
- const rootClassName$L = 'dot-pill';
9374
+ const rootClassName$M = 'dot-pill';
9384
9375
  const StyledPill = styled(Chip)`
9385
9376
  ${({
9386
9377
  theme
9387
9378
  }) => css`
9388
- &.${rootClassName$L} {
9379
+ &.${rootClassName$M} {
9389
9380
  background-color: ${({
9390
9381
  backgroundcolor,
9391
9382
  variant
@@ -9509,7 +9500,7 @@ const DotPill = ({
9509
9500
  status = 'default',
9510
9501
  variant = 'filled'
9511
9502
  }) => {
9512
- const rootClasses = useStylesWithRootClass(rootClassName$L, className, status);
9503
+ const rootClasses = useStylesWithRootClass(rootClassName$M, className, status);
9513
9504
  return jsx(StyledPill, {
9514
9505
  "aria-label": ariaLabel,
9515
9506
  bordercolor: bordercolor,
@@ -11098,18 +11089,18 @@ function addAutoHideDuration(severity) {
11098
11089
  return severity === 'error' ? null : 10000;
11099
11090
  }
11100
11091
 
11101
- const rootClassName$K = 'dot-snackbar';
11092
+ const rootClassName$L = 'dot-snackbar';
11102
11093
  const StyledSnackbar = styled(Snackbar)`
11103
11094
  ${({
11104
11095
  theme,
11105
11096
  width,
11106
11097
  $anchorOriginTop
11107
11098
  }) => css`
11108
- &.${rootClassName$K} {
11099
+ &.${rootClassName$L} {
11109
11100
  .MuiAlert-message {
11110
11101
  word-break: break-word;
11111
11102
  }
11112
- .${rootClassName$1m} {
11103
+ .${rootClassName$1n} {
11113
11104
  align-items: flex-start;
11114
11105
  }
11115
11106
  &.MuiSnackbar-anchorOriginTopLeft,
@@ -11162,7 +11153,7 @@ const DotSnackbar = ({
11162
11153
  }) => {
11163
11154
  const hasActions = !!(primaryAction || secondaryAction);
11164
11155
  const calculatedAutoHideDuration = autoHideDuration === null || autoHideDuration > 0 ? autoHideDuration : addAutoHideDuration(severity);
11165
- const rootClasses = useStylesWithRootClass(rootClassName$K, className);
11156
+ const rootClasses = useStylesWithRootClass(rootClassName$L, className);
11166
11157
  const handleSnackbarClose = reason => {
11167
11158
  if (!reason || hideOnClickAway || !hideOnClickAway && reason !== 'clickaway') {
11168
11159
  onClose();
@@ -11232,10 +11223,10 @@ const DotSnackbar = ({
11232
11223
  });
11233
11224
  };
11234
11225
 
11235
- const rootClassName$J = 'dot-snackbar-container';
11226
+ const rootClassName$K = 'dot-snackbar-container';
11236
11227
  const StyledSnackbarContainer = styled.div`
11237
11228
  ${() => css`
11238
- &.${rootClassName$J} {
11229
+ &.${rootClassName$K} {
11239
11230
  position: absolute;
11240
11231
  top: 0;
11241
11232
  width: 250px;
@@ -11267,10 +11258,10 @@ const DotSnackbarContainer = ({
11267
11258
  };
11268
11259
  }
11269
11260
  return jsx(StyledSnackbarContainer, {
11270
- className: rootClassName$J,
11261
+ className: rootClassName$K,
11271
11262
  children: jsx("div", {
11272
- className: rootClassName$J,
11273
- "data-testid": rootClassName$J,
11263
+ className: rootClassName$K,
11264
+ "data-testid": rootClassName$K,
11274
11265
  children: alerts.slice().reverse().map(alert => {
11275
11266
  return jsx(DotSnackbar, {
11276
11267
  autoCloseOnAction: autoCloseOnAction,
@@ -11344,12 +11335,12 @@ const useEnqueueErrorMessage = error => {
11344
11335
  }, [error]);
11345
11336
  };
11346
11337
 
11347
- const rootClassName$I = 'dot-dashboard-details';
11338
+ const rootClassName$J = 'dot-dashboard-details';
11348
11339
  const StyledDashboardDetails = styled(DotDrawer)`
11349
11340
  ${({
11350
11341
  theme
11351
11342
  }) => css`
11352
- &.${rootClassName$I} {
11343
+ &.${rootClassName$J} {
11353
11344
  .dot-drawer-paper {
11354
11345
  padding: 0;
11355
11346
  width: 382px;
@@ -11475,7 +11466,7 @@ const DotDashboardDetailsView = ({
11475
11466
  modifiedAuthorUser
11476
11467
  }) => {
11477
11468
  var _a, _b;
11478
- const rootClasses = useStylesWithRootClass(rootClassName$I, className);
11469
+ const rootClasses = useStylesWithRootClass(rootClassName$J, className);
11479
11470
  const closeHandler = useCallback(event => {
11480
11471
  onClose && onClose(event);
11481
11472
  }, [onClose]);
@@ -12137,12 +12128,12 @@ function DotDashboardDialog({
12137
12128
  });
12138
12129
  }
12139
12130
 
12140
- const rootClassName$H = 'dot-impact-dialog';
12131
+ const rootClassName$I = 'dot-impact-dialog';
12141
12132
  const StyledImpactDialog = styled(DotDialog)`
12142
12133
  ${({
12143
12134
  theme
12144
12135
  }) => css`
12145
- &.${rootClassName$H} {
12136
+ &.${rootClassName$I} {
12146
12137
  .high-impact-default-content {
12147
12138
  margin-top: ${theme.spacing(2)};
12148
12139
  margin-bottom: ${theme.spacing(3)};
@@ -12248,7 +12239,7 @@ const DotImpactDialog = ({
12248
12239
  }
12249
12240
  return '';
12250
12241
  }, [action, capitalize, impact, record]);
12251
- const rootClasses = useStylesWithRootClass(rootClassName$H, className);
12242
+ const rootClasses = useStylesWithRootClass(rootClassName$I, className);
12252
12243
  return jsx(StyledImpactDialog, {
12253
12244
  "data-testid": dataTestId,
12254
12245
  className: rootClasses,
@@ -13620,7 +13611,7 @@ function DotDashboardHeader({
13620
13611
  });
13621
13612
  }
13622
13613
 
13623
- const rootClassName$G = 'dot-empty-state';
13614
+ const rootClassName$H = 'dot-empty-state';
13624
13615
  const emptyStateImageSizing = {
13625
13616
  xsmall: 9,
13626
13617
  dense: 15,
@@ -13691,9 +13682,9 @@ const StyledEmptyState = styled.div`
13691
13682
  `}
13692
13683
  `;
13693
13684
 
13694
- const rootClassName$F = 'dot-illustration';
13685
+ const rootClassName$G = 'dot-illustration';
13695
13686
  const StyledIllustration = styled.span`
13696
- &.${rootClassName$F} {
13687
+ &.${rootClassName$G} {
13697
13688
  display: inline-block;
13698
13689
  }
13699
13690
  `;
@@ -13710,17 +13701,17 @@ const DotIllustration = ({
13710
13701
  tooltip,
13711
13702
  tooltipPlacement = 'right-end'
13712
13703
  }) => {
13713
- const rootClasses = useStylesWithRootClass(rootClassName$F, className);
13704
+ const rootClasses = useStylesWithRootClass(rootClassName$G, className);
13714
13705
  return jsx(DotTooltip, {
13715
13706
  childrenDisplayStyle: "inline-block",
13716
13707
  title: tooltip,
13717
13708
  placement: tooltipPlacement,
13718
- "data-testid": `${dataTestId || rootClassName$F}-tooltip`,
13709
+ "data-testid": `${dataTestId || rootClassName$G}-tooltip`,
13719
13710
  children: jsx(StyledIllustration, {
13720
13711
  "aria-hidden": "false",
13721
13712
  "aria-label": ariaLabel || title || 'Illustration',
13722
13713
  className: rootClasses,
13723
- "data-testid": dataTestId || rootClassName$F,
13714
+ "data-testid": dataTestId || rootClassName$G,
13724
13715
  role: ariaRole,
13725
13716
  children: jsx("img", {
13726
13717
  alt: alt || 'Illustration',
@@ -13746,7 +13737,7 @@ const DotEmptyState = ({
13746
13737
  subtitle,
13747
13738
  title
13748
13739
  }) => {
13749
- const rootClasses = useStylesWithRootClass(rootClassName$G, className);
13740
+ const rootClasses = useStylesWithRootClass(rootClassName$H, className);
13750
13741
  return jsxs(StyledEmptyState, {
13751
13742
  "aria-label": ariaLabel,
13752
13743
  className: `${rootClasses} ${size}`,
@@ -13827,20 +13818,20 @@ const StyledRadioGroup = styled(RadioGroup)`
13827
13818
  &.${groupClassName} {
13828
13819
  padding-left: ${theme.spacing(2.5)};
13829
13820
 
13830
- .${rootClassName$T} {
13821
+ .${rootClassName$U} {
13831
13822
  margin: 0;
13832
13823
  }
13833
13824
  }
13834
13825
  `}
13835
13826
  `;
13836
13827
 
13837
- const rootClassName$E = 'dot-date-picker';
13828
+ const rootClassName$F = 'dot-date-picker';
13838
13829
  const popperClassName = 'dot-date-picker-popper';
13839
13830
  const containerClassName$2 = 'dot-date-picker-container';
13840
13831
  const rectanglePickersDayClassName = 'dot-rectangle-pickers-day';
13841
13832
  const StyledDatePickerContainer = styled.div`
13842
13833
  ${() => css`
13843
- &.${rootClassName$E} .full-width {
13834
+ &.${rootClassName$F} .full-width {
13844
13835
  width: 100%;
13845
13836
  }
13846
13837
  `}
@@ -13849,7 +13840,7 @@ const StyledDatePicker = styled(DatePicker)`
13849
13840
  ${({
13850
13841
  theme
13851
13842
  }) => css`
13852
- &.${rootClassName$E} {
13843
+ &.${rootClassName$F} {
13853
13844
  ${pickerInputStyles(theme)};
13854
13845
 
13855
13846
  .Mui-disabled.MuiInputBase-root,
@@ -13891,7 +13882,7 @@ const StyledPickersDay = styled(PickersDay)`
13891
13882
  `}
13892
13883
  `;
13893
13884
 
13894
- const rootClassName$D = 'dot-time-picker';
13885
+ const rootClassName$E = 'dot-time-picker';
13895
13886
  const containerClassName$1 = 'dot-time-picker-container';
13896
13887
  const timePickerPopperClassName = 'dot-time-picker-popper';
13897
13888
  const TIME_SELECTION_HEIGHT_SPACING = 34.5;
@@ -13911,7 +13902,7 @@ const StyledTimePicker = styled(TimePicker)`
13911
13902
  ${({
13912
13903
  theme
13913
13904
  }) => css`
13914
- &.${rootClassName$D} {
13905
+ &.${rootClassName$E} {
13915
13906
  ${pickerInputStyles(theme)};
13916
13907
 
13917
13908
  .Mui-disabled.MuiInputBase-root,
@@ -13988,36 +13979,36 @@ const StyledTimePickerPopper = styled(Popper)`
13988
13979
  `}
13989
13980
  `;
13990
13981
 
13991
- const rootClassName$C = 'dot-form';
13982
+ const rootClassName$D = 'dot-form';
13992
13983
  const StyledFormContainer = styled.div`
13993
13984
  ${({
13994
13985
  theme
13995
13986
  }) => css`
13996
- &.${rootClassName$C} {
13987
+ &.${rootClassName$D} {
13997
13988
  margin: ${theme.spacing(3, 0)};
13998
13989
 
13999
- .${rootClassName$R},
14000
- .${rootClassName$T},
14001
- .${rootClassName$1q},
13990
+ .${rootClassName$S},
13991
+ .${rootClassName$U},
13992
+ .${rootClassName$1r},
14002
13993
  .${rootSelectClassName},
14003
- .${rootClassName$E},
14004
- .${rootClassName$D} {
13994
+ .${rootClassName$F},
13995
+ .${rootClassName$E} {
14005
13996
  margin: ${theme.spacing(1, 0)};
14006
13997
  }
14007
13998
 
14008
13999
  .${wrapperClassName$2} {
14009
- + .${rootClassName$1q},
14000
+ + .${rootClassName$1r},
14010
14001
  .${wrapperClassName$2}
14011
14002
  + .${rootSelectClassName},
14012
14003
  .${wrapperClassName$2}
14013
- + .${rootClassName$E},
14004
+ + .${rootClassName$F},
14014
14005
  .${wrapperClassName$2}
14015
- + .${rootClassName$D} {
14006
+ + .${rootClassName$E} {
14016
14007
  margin: ${theme.spacing(0, 0, 1, 0)};
14017
14008
  }
14018
14009
 
14019
- .${rootClassName$Q}, .${groupClassName} {
14020
- .${rootClassName$T} {
14010
+ .${rootClassName$R}, .${groupClassName} {
14011
+ .${rootClassName$U} {
14021
14012
  margin: 0;
14022
14013
  }
14023
14014
  }
@@ -14032,7 +14023,7 @@ const DotForm = ({
14032
14023
  'data-testid': dataTestId,
14033
14024
  onSubmit
14034
14025
  }) => {
14035
- const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14026
+ const rootClasses = useStylesWithRootClass(rootClassName$D, className);
14036
14027
  return jsx("form", {
14037
14028
  "aria-label": ariaLabel,
14038
14029
  "data-testid": dataTestId,
@@ -14045,10 +14036,10 @@ const DotForm = ({
14045
14036
  });
14046
14037
  };
14047
14038
 
14048
- const rootClassName$B = 'dot-dynamic-form';
14039
+ const rootClassName$C = 'dot-dynamic-form';
14049
14040
  const StyledDynamicForm = styled(DotForm)`
14050
14041
  ${() => css`
14051
- &.${rootClassName$B} {
14042
+ &.${rootClassName$C} {
14052
14043
  }
14053
14044
  `}
14054
14045
  `;
@@ -14228,12 +14219,12 @@ const checkIfFormDataValid = formState => {
14228
14219
  return true;
14229
14220
  };
14230
14221
 
14231
- const rootClassName$A = 'dot-progress-button';
14222
+ const rootClassName$B = 'dot-progress-button';
14232
14223
  const StyledProgressButton = styled(DotButton)`
14233
14224
  ${({
14234
14225
  theme
14235
14226
  }) => css`
14236
- &.${rootClassName$A} {
14227
+ &.${rootClassName$B} {
14237
14228
  .hidden {
14238
14229
  // hide children but preserve its space so that
14239
14230
  // button's dimensions don't change
@@ -14258,7 +14249,7 @@ const DotProgressButton = ({
14258
14249
  ariaLabel,
14259
14250
  children,
14260
14251
  className,
14261
- 'data-pendoid': dataPendoId = rootClassName$A,
14252
+ 'data-pendoid': dataPendoId = rootClassName$B,
14262
14253
  'data-testid': dataTestId,
14263
14254
  disabled = false,
14264
14255
  disableInteractive,
@@ -14272,7 +14263,7 @@ const DotProgressButton = ({
14272
14263
  tooltip,
14273
14264
  type = 'primary'
14274
14265
  }) => {
14275
- const rootClasses = useStylesWithRootClass(rootClassName$A, className);
14266
+ const rootClasses = useStylesWithRootClass(rootClassName$B, className);
14276
14267
  const isButtonDisabled = disabled || isLoading;
14277
14268
  const titleClasses = useStylesWithRootClass(isLoading ? 'hidden' : '');
14278
14269
  const progressCircleSize = size === 'large' ? SPINNER_LARGE_SIZE : SPINNER_DEFAULT_SIZE;
@@ -14302,12 +14293,12 @@ const DotProgressButton = ({
14302
14293
  });
14303
14294
  };
14304
14295
 
14305
- const rootClassName$z = 'dot-radio';
14296
+ const rootClassName$A = 'dot-radio';
14306
14297
  const StyledRadioButton = styled(Radio)`
14307
14298
  ${({
14308
14299
  theme
14309
14300
  }) => css`
14310
- &.${rootClassName$z} {
14301
+ &.${rootClassName$A} {
14311
14302
  padding: 8px;
14312
14303
 
14313
14304
  svg {
@@ -14325,7 +14316,7 @@ function DotRadioButton({
14325
14316
  ariaLabel,
14326
14317
  checked,
14327
14318
  className,
14328
- 'data-pendoid': dataPendoId = rootClassName$T,
14319
+ 'data-pendoid': dataPendoId = rootClassName$U,
14329
14320
  'data-testid': dataTestId,
14330
14321
  disabled,
14331
14322
  id,
@@ -14338,7 +14329,7 @@ function DotRadioButton({
14338
14329
  size = 'medium',
14339
14330
  value
14340
14331
  }) {
14341
- const rootClasses = useStylesWithRootClass(rootClassName$T, className);
14332
+ const rootClasses = useStylesWithRootClass(rootClassName$U, className);
14342
14333
  const handleChange = event => {
14343
14334
  onChange && onChange(event, event.target.value);
14344
14335
  };
@@ -14346,7 +14337,7 @@ function DotRadioButton({
14346
14337
  const radioControl = jsx(StyledRadioButton, {
14347
14338
  checked: checked,
14348
14339
  classes: {
14349
- root: rootClassName$z
14340
+ root: rootClassName$A
14350
14341
  },
14351
14342
  color: "primary",
14352
14343
  "data-pendoid": dataPendoId,
@@ -14392,7 +14383,7 @@ const DotRadioGroup = ({
14392
14383
  size = 'medium'
14393
14384
  }) => {
14394
14385
  const placement = `${placementClassName}${labelPlacement}`;
14395
- const rootClasses = useStylesWithRootClass(rootClassName$R, className, placement);
14386
+ const rootClasses = useStylesWithRootClass(rootClassName$S, className, placement);
14396
14387
  const radioValue = value || defaultValue;
14397
14388
  const [selectedValue, setSelectedValue] = useState(radioValue);
14398
14389
  /* This will ensure that value can be updated from the outside */
@@ -14457,7 +14448,7 @@ const DotRadioGroup = ({
14457
14448
  });
14458
14449
  };
14459
14450
 
14460
- const rootClassName$y = 'dot-switch';
14451
+ const rootClassName$z = 'dot-switch';
14461
14452
  const StyledSwitch = styled(Switch)`
14462
14453
  ${({
14463
14454
  theme
@@ -14484,7 +14475,7 @@ const DotSwitch = ({
14484
14475
  checked,
14485
14476
  className,
14486
14477
  color,
14487
- 'data-pendoid': dataPendoId = rootClassName$y,
14478
+ 'data-pendoid': dataPendoId = rootClassName$z,
14488
14479
  'data-testid': dataTestId,
14489
14480
  disabled = false,
14490
14481
  id,
@@ -14494,7 +14485,7 @@ const DotSwitch = ({
14494
14485
  onChange,
14495
14486
  size = 'medium'
14496
14487
  }) => {
14497
- const rootClasses = useStylesWithRootClass(rootClassName$y, className);
14488
+ const rootClasses = useStylesWithRootClass(rootClassName$z, className);
14498
14489
  const handleChange = event => {
14499
14490
  onChange && onChange(event);
14500
14491
  };
@@ -14524,7 +14515,7 @@ const DotSwitch = ({
14524
14515
  tabIndex: 0
14525
14516
  });
14526
14517
  return jsx(StyledFormControlLabel, {
14527
- className: rootClassName$T,
14518
+ className: rootClassName$U,
14528
14519
  control: switchControl,
14529
14520
  label: label,
14530
14521
  labelPlacement: labelPlacement
@@ -14845,7 +14836,7 @@ const DotDynamicForm = ({
14845
14836
  onChange,
14846
14837
  onSubmit
14847
14838
  }) => {
14848
- const rootClasses = useStylesWithRootClass(rootClassName$B, className);
14839
+ const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14849
14840
  // Memoize this operation so that is doesn't get executed each time this
14850
14841
  // component re-renders
14851
14842
  const initialFormState = useMemo(() => getInitialFormState(config, liveValidation), [config, liveValidation, getInitialFormState]);
@@ -15091,7 +15082,7 @@ const DotDynamicForm = ({
15091
15082
  });
15092
15083
  };
15093
15084
 
15094
- const rootClassName$x = 'dot-inline-edit';
15085
+ const rootClassName$y = 'dot-inline-edit';
15095
15086
  const editModeClassName = 'dot-edit-mode';
15096
15087
  const viewModeClassName = 'dot-view-mode';
15097
15088
  const placeholderClassName = 'dot-placeholder';
@@ -15103,7 +15094,7 @@ const StyledInlineEdit = styled.div`
15103
15094
  theme,
15104
15095
  fullWidth
15105
15096
  }) => css`
15106
- &.${rootClassName$x} {
15097
+ &.${rootClassName$y} {
15107
15098
  align-items: center;
15108
15099
  color: ${theme.palette.figma.typography.black};
15109
15100
  display: ${fullWidth ? 'flex' : 'inline-flex'};
@@ -15317,7 +15308,7 @@ const DotInlineEdit = ({
15317
15308
  bindings,
15318
15309
  charactersLimit,
15319
15310
  className,
15320
- 'data-pendoid': dataPendoId = rootClassName$x,
15311
+ 'data-pendoid': dataPendoId = rootClassName$y,
15321
15312
  'data-testid': dataTestId,
15322
15313
  fullWidth = true,
15323
15314
  hideActionButtons,
@@ -15353,7 +15344,7 @@ const DotInlineEdit = ({
15353
15344
  }
15354
15345
  }, [value]);
15355
15346
  const isSaveDisabled = checkIfEmptyValue(inputValue);
15356
- const rootClasses = useStylesWithRootClass(rootClassName$x, className, editing ? editModeClassName : '');
15347
+ const rootClasses = useStylesWithRootClass(rootClassName$y, className, editing ? editModeClassName : '');
15357
15348
  const handleShowTooltip = visible => {
15358
15349
  if (!editing) {
15359
15350
  setShowTooltip(visible);
@@ -15541,13 +15532,13 @@ const DotInlineEdit = ({
15541
15532
  });
15542
15533
  };
15543
15534
 
15544
- const rootClassName$w = 'dot-navigation-rail';
15535
+ const rootClassName$x = 'dot-navigation-rail';
15545
15536
  const StyledNavigationRail = styled.div`
15546
15537
  ${({
15547
15538
  theme,
15548
15539
  railItemPosition
15549
15540
  }) => css`
15550
- &.${rootClassName$w} {
15541
+ &.${rootClassName$x} {
15551
15542
  background: ${theme.palette.figma.neutral.elevated};
15552
15543
  border-left: 1px solid ${theme.palette.figma.border.default};
15553
15544
  display: flex;
@@ -15569,7 +15560,7 @@ const StyledNavigationRail = styled.div`
15569
15560
  border-right: 3px solid transparent;
15570
15561
 
15571
15562
  .dot-icon {
15572
- color: ${theme.palette.figma.icon.black};
15563
+ color: ${theme.palette.figma.icon.gray};
15573
15564
  }
15574
15565
 
15575
15566
  &.selected,
@@ -15606,7 +15597,7 @@ const DotNavigationRail = ({
15606
15597
  railItems,
15607
15598
  selectedIndex = 0
15608
15599
  }) => {
15609
- const rootClasses = useStylesWithRootClass(rootClassName$w, className);
15600
+ const rootClasses = useStylesWithRootClass(rootClassName$x, className);
15610
15601
  const [selectedItemIndex, setSelectedItemIndex] = useState(selectedIndex);
15611
15602
  /* Used to change selected index programmatically from the consumer component */
15612
15603
  useEffect(() => {
@@ -15657,12 +15648,12 @@ const DotNavigationRail = ({
15657
15648
  });
15658
15649
  };
15659
15650
 
15660
- const rootClassName$v = 'dot-skeleton';
15651
+ const rootClassName$w = 'dot-skeleton';
15661
15652
  const StyledSkeleton = styled(Skeleton)`
15662
15653
  ${({
15663
15654
  theme
15664
15655
  }) => css`
15665
- &.${rootClassName$v} {
15656
+ &.${rootClassName$w} {
15666
15657
  background-color: ${theme.palette.figma.border.darker};
15667
15658
  }
15668
15659
  `}
@@ -15677,7 +15668,7 @@ const DotSkeleton = ({
15677
15668
  width,
15678
15669
  variant
15679
15670
  }) => {
15680
- const rootClasses = useStylesWithRootClass(rootClassName$v, className);
15671
+ const rootClasses = useStylesWithRootClass(rootClassName$w, className);
15681
15672
  return jsx(StyledSkeleton, {
15682
15673
  animation: "wave",
15683
15674
  "aria-label": ariaLabel,
@@ -15692,19 +15683,19 @@ const DotSkeleton = ({
15692
15683
  });
15693
15684
  };
15694
15685
 
15695
- const rootClassName$u = 'dot-split-button-group';
15686
+ const rootClassName$v = 'dot-split-button-group';
15696
15687
  const StyledSplitButtonGroup = styled(ButtonGroup)`
15697
15688
  ${({
15698
15689
  theme
15699
15690
  }) => css`
15700
- &.${rootClassName$u} {
15691
+ &.${rootClassName$v} {
15701
15692
  &.outlined,
15702
15693
  &.text {
15703
15694
  .expand-button {
15704
15695
  border-left: none;
15705
15696
 
15706
15697
  .dot-icon {
15707
- color: ${theme.palette.figma.icon.black};
15698
+ color: ${theme.palette.figma.icon.gray};
15708
15699
  }
15709
15700
  }
15710
15701
  }
@@ -15763,7 +15754,7 @@ const DotSplitButton = ({
15763
15754
  autoFocus = false,
15764
15755
  ariaLabel,
15765
15756
  className,
15766
- 'data-pendoid': dataPendoId = rootClassName$u,
15757
+ 'data-pendoid': dataPendoId = rootClassName$v,
15767
15758
  'data-testid': dataTestId,
15768
15759
  defaultMainOptionKey,
15769
15760
  disabled = false,
@@ -15779,7 +15770,7 @@ const DotSplitButton = ({
15779
15770
  tooltipPlacement,
15780
15771
  type = 'primary'
15781
15772
  }) => {
15782
- const rootClasses = useStylesWithRootClass(rootClassName$u, className, type, disabled ? 'disabled' : '');
15773
+ const rootClasses = useStylesWithRootClass(rootClassName$v, className, type, disabled ? 'disabled' : '');
15783
15774
  const [open, setOpen] = useState(false);
15784
15775
  const anchorRef = useRef(null);
15785
15776
  const hasEmptyOptions = options.length === 0;
@@ -15847,7 +15838,7 @@ const DotSplitButton = ({
15847
15838
  });
15848
15839
  };
15849
15840
 
15850
- const rootClassName$t = 'dot-stepper';
15841
+ const rootClassName$u = 'dot-stepper';
15851
15842
  const stepListClassName = 'dot-stepper-list';
15852
15843
  const contentClassName = 'dot-stepper-content';
15853
15844
  const StyledStepper = styled.div`
@@ -15855,7 +15846,7 @@ const StyledStepper = styled.div`
15855
15846
  theme,
15856
15847
  offset
15857
15848
  }) => css`
15858
- &.${rootClassName$t} {
15849
+ &.${rootClassName$u} {
15859
15850
  display: flex;
15860
15851
  align-items: flex-start;
15861
15852
  padding: 0;
@@ -15924,7 +15915,7 @@ const StyledStepper = styled.div`
15924
15915
 
15925
15916
  &.active:not(&.completed):not(&.in-progress) {
15926
15917
  .dot-avatar i:before {
15927
- color: ${theme.palette.figma.icon.black};
15918
+ color: ${theme.palette.figma.icon.gray};
15928
15919
  }
15929
15920
  }
15930
15921
 
@@ -16170,7 +16161,7 @@ const DotStepper = ({
16170
16161
  return ['left', 'right'].includes(stepsPosition) ? stepsPosition : 'left';
16171
16162
  }
16172
16163
  };
16173
- const rootClasses = useStylesWithRootClass(rootClassName$t, getStepsPosition(), className);
16164
+ const rootClasses = useStylesWithRootClass(rootClassName$u, getStepsPosition(), className);
16174
16165
  const stepContentClasses = displayInitialContent || displayFinalContent ? 'center-content' : '';
16175
16166
  const stickyBottomClasses = useStylesWithRootClass('actions-container', isStickyBottom ? 'with-top-border' : '');
16176
16167
  const actionsClasses = useStylesWithRootClass('actions', displayInitialContent || displayFinalContent ? 'center-actions' : '');
@@ -16388,12 +16379,12 @@ const DotStepper = ({
16388
16379
  });
16389
16380
  };
16390
16381
 
16391
- const rootClassName$s = 'dot-table-pagination-custom-actions';
16382
+ const rootClassName$t = 'dot-table-pagination-custom-actions';
16392
16383
  const StyledTablePaginationCustomActions = styled.div`
16393
16384
  ${({
16394
16385
  theme
16395
16386
  }) => css`
16396
- &.${rootClassName$s} {
16387
+ &.${rootClassName$t} {
16397
16388
  margin-left: ${theme.spacing(2.5)};
16398
16389
  display: flex;
16399
16390
  align-items: center;
@@ -16517,7 +16508,7 @@ const DotTablePaginationCustomActions = props => {
16517
16508
  });
16518
16509
  };
16519
16510
  return jsxs(StyledTablePaginationCustomActions, {
16520
- className: rootClassName$s,
16511
+ className: rootClassName$t,
16521
16512
  children: [jsx(DotIconButton, {
16522
16513
  ariaLabel: "previous page",
16523
16514
  className: "page-control-button",
@@ -16564,7 +16555,7 @@ const DotTablePaginationCustomActions = props => {
16564
16555
  });
16565
16556
  };
16566
16557
 
16567
- const rootClassName$r = 'dot-table-pagination';
16558
+ const rootClassName$s = 'dot-table-pagination';
16568
16559
  // TO-DO: Determine how to apply styles to standard popper element
16569
16560
  const paginationItemClassName = 'dot-pagination-menu-item';
16570
16561
  const StyledTablePagination = styled.div`
@@ -16572,7 +16563,7 @@ const StyledTablePagination = styled.div`
16572
16563
  theme,
16573
16564
  typography
16574
16565
  }) => css`
16575
- .${rootClassName$r} {
16566
+ .${rootClassName$s} {
16576
16567
  border-top: 1px solid ${theme.palette.figma.border.default};
16577
16568
 
16578
16569
  .dot-caption,
@@ -16615,7 +16606,7 @@ const DotTablePagination = ({
16615
16606
  showJumpToPageActionButton = false,
16616
16607
  typography = 'subtitle2'
16617
16608
  }) => {
16618
- const rootClasses = useStylesWithRootClass(rootClassName$r, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16609
+ const rootClasses = useStylesWithRootClass(rootClassName$s, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16619
16610
  const handlePageChange = (event, newPage) => {
16620
16611
  onPageChange && onPageChange(newPage);
16621
16612
  };
@@ -16623,7 +16614,7 @@ const DotTablePagination = ({
16623
16614
  onRowsPerPageChange && onRowsPerPageChange(evt);
16624
16615
  };
16625
16616
  return /* Container is used to pass 'typography' prop to a styled component */jsx(StyledTablePagination, {
16626
- className: rootClassName$r,
16617
+ className: rootClassName$s,
16627
16618
  typography: typography,
16628
16619
  children: jsx(TablePagination, {
16629
16620
  ActionsComponent: showJumpToPageActionButton ? DotTablePaginationCustomActions : undefined,
@@ -16649,14 +16640,14 @@ const DotTablePagination = ({
16649
16640
  });
16650
16641
  };
16651
16642
 
16652
- const rootClassName$q = 'dot-table';
16643
+ const rootClassName$r = 'dot-table';
16653
16644
  const MULTISELECT_COLUMN_WIDTH = 52;
16654
16645
  const COLLAPSIBLE_COLUMN_WIDTH = 42;
16655
16646
  const StyledPaper$1 = styled(Paper)`
16656
16647
  ${({
16657
16648
  theme
16658
16649
  }) => css`
16659
- &.${rootClassName$q} {
16650
+ &.${rootClassName$r} {
16660
16651
  background: ${theme.palette.figma.background.level0.componentsBackground};
16661
16652
  border: 1px solid ${theme.palette.figma.border.default};
16662
16653
  overflow: hidden;
@@ -16799,10 +16790,10 @@ const StyledMenu$1 = styled(DotMenu)`
16799
16790
  }
16800
16791
  `;
16801
16792
 
16802
- const rootClassName$p = 'dot-tbody';
16793
+ const rootClassName$q = 'dot-tbody';
16803
16794
  const StyledTableBody = styled(TableBody)`
16804
16795
  ${() => css`
16805
- &.${rootClassName$p} {
16796
+ &.${rootClassName$q} {
16806
16797
  tr:last-child td {
16807
16798
  border-bottom: none;
16808
16799
  }
@@ -16997,12 +16988,12 @@ function stableSort(array, comparator) {
16997
16988
  return stabilizedThis.map(el => el[0]);
16998
16989
  }
16999
16990
 
17000
- const rootClassName$o = 'dot-td';
16991
+ const rootClassName$p = 'dot-td';
17001
16992
  const StyledTableCell = styled(TableCell)`
17002
16993
  ${({
17003
16994
  theme
17004
16995
  }) => css`
17005
- &.${rootClassName$o} {
16996
+ &.${rootClassName$p} {
17006
16997
  padding-top: 0;
17007
16998
  padding-bottom: 0;
17008
16999
 
@@ -17097,7 +17088,7 @@ const DotBodyCell = ({
17097
17088
  const isOverflowing = actionTableCellWidth > (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current.clientWidth);
17098
17089
  setShowMenu(isOverflowing);
17099
17090
  };
17100
- const rootClasses = useStylesWithRootClass(rootClassName$o, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17091
+ const rootClasses = useStylesWithRootClass(rootClassName$p, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17101
17092
  const getTableCellValue = () => {
17102
17093
  if (Array.isArray(value)) {
17103
17094
  return jsx("div", {
@@ -17165,13 +17156,13 @@ const EmptyDotRow = ({
17165
17156
  const TABLE_TYPOGRAPHY_VARIANT = 'body1';
17166
17157
  const TABLE_DEFAULT_SKELETON_ROWS = 4;
17167
17158
 
17168
- const rootClassName$n = 'dot-th-checkbox';
17159
+ const rootClassName$o = 'dot-th-checkbox';
17169
17160
  const styledTableHeaderCheckboxElement = (isCell = true) => {
17170
17161
  return styled(isCell ? TableCell : 'div')`
17171
17162
  ${({
17172
17163
  theme
17173
17164
  }) => css`
17174
- &.${rootClassName$n} {
17165
+ &.${rootClassName$o} {
17175
17166
  background: ${theme.palette.figma.background.level0.componentsBackground};
17176
17167
  padding: ${theme.spacing(0, 1)};
17177
17168
  width: ${theme.spacing(5)};
@@ -17199,7 +17190,7 @@ const DotHeaderCheckboxCell = ({
17199
17190
  isFromTableSelectionToolbar,
17200
17191
  multiSelectHeader
17201
17192
  }) => {
17202
- const rootClasses = useStylesWithRootClass(rootClassName$n, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17193
+ const rootClasses = useStylesWithRootClass(rootClassName$o, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17203
17194
  const [multiSelectState, setMultiSelectState] = useState('unchecked');
17204
17195
  const {
17205
17196
  onCheckAllChange,
@@ -17249,12 +17240,12 @@ const DotHeaderCheckboxCell = ({
17249
17240
  });
17250
17241
  };
17251
17242
 
17252
- const rootClassName$m = 'dot-th';
17243
+ const rootClassName$n = 'dot-th';
17253
17244
  const StyledTableHeaderCell = styled(TableCell)`
17254
17245
  ${({
17255
17246
  theme
17256
17247
  }) => css`
17257
- &.${rootClassName$m} {
17248
+ &.${rootClassName$n} {
17258
17249
  background: ${theme.palette.figma.background.level0.componentsBackground};
17259
17250
 
17260
17251
  &.MuiTableCell-alignCenter > span.MuiTableSortLabel-root {
@@ -17294,7 +17285,7 @@ const DotHeaderCell = ({
17294
17285
  value,
17295
17286
  width
17296
17287
  }) => {
17297
- const rootClasses = useStylesWithRootClass(rootClassName$m, pinned ? 'dot-pinned-cell' : '', className);
17288
+ const rootClasses = useStylesWithRootClass(rootClassName$n, pinned ? 'dot-pinned-cell' : '', className);
17298
17289
  const headerTitle = isString$2(value) ? value : null;
17299
17290
  const formattedValue = getFormattedTableCellValue(value, typography);
17300
17291
  const getCellValue = () => {
@@ -17385,12 +17376,12 @@ const DotHeaderRow = ({
17385
17376
  });
17386
17377
  };
17387
17378
 
17388
- const rootClassName$l = 'dot-tr';
17379
+ const rootClassName$m = 'dot-tr';
17389
17380
  const StyledTableRowStyles = styled(TableRow)`
17390
17381
  ${({
17391
17382
  theme
17392
17383
  }) => css`
17393
- &.${rootClassName$l} {
17384
+ &.${rootClassName$m} {
17394
17385
  &.selected {
17395
17386
  &,
17396
17387
  .dot-td.dot-pinned-cell,
@@ -17616,12 +17607,12 @@ const ExpandCollapseCell = ({
17616
17607
  });
17617
17608
  };
17618
17609
 
17619
- const rootClassName$k = 'dot-td-checkbox';
17610
+ const rootClassName$l = 'dot-td-checkbox';
17620
17611
  const StyledTableBodyCheckboxCell = styled(TableCell)`
17621
17612
  ${({
17622
17613
  theme
17623
17614
  }) => css`
17624
- &.${rootClassName$k} {
17615
+ &.${rootClassName$l} {
17625
17616
  padding: ${theme.spacing(0, 1)};
17626
17617
  width: ${theme.spacing(5)};
17627
17618
 
@@ -17640,7 +17631,7 @@ const DotBodyCheckboxCell = ({
17640
17631
  onChange,
17641
17632
  rowId
17642
17633
  }) => {
17643
- const rootClasses = useStylesWithRootClass(rootClassName$k, className);
17634
+ const rootClasses = useStylesWithRootClass(rootClassName$l, className);
17644
17635
  const [isCheckboxChecked, setIsCheckboxChecked] = useState(isChecked);
17645
17636
  /** This effect is used when 'checked' status is changed from the outside */
17646
17637
  useEffect(() => {
@@ -17693,7 +17684,7 @@ const DotTableRow = ({
17693
17684
  selectedTableRowIds
17694
17685
  } = multiSelectBody || {};
17695
17686
  const isCheckboxChecked = selectedTableRowIds && selectedTableRowIds.includes(id) || false;
17696
- const rootClasses = useStylesWithRootClass(rootClassName$l, isCheckboxChecked ? 'selected' : undefined, className);
17687
+ const rootClasses = useStylesWithRootClass(rootClassName$m, isCheckboxChecked ? 'selected' : undefined, className);
17697
17688
  const renderCheckboxCell = () => {
17698
17689
  return jsx(DotBodyCheckboxCell, {
17699
17690
  ariaLabel: "Click to select this row",
@@ -17814,7 +17805,7 @@ const DotTableBody = ({
17814
17805
  return jsxs(Fragment, {
17815
17806
  children: [jsx(StyledTableBody, {
17816
17807
  classes: {
17817
- root: rootClassName$p
17808
+ root: rootClassName$q
17818
17809
  },
17819
17810
  children: getTableBodyRows()
17820
17811
  }), jsx(StyledMenu$1, {
@@ -17829,12 +17820,12 @@ const DotTableBody = ({
17829
17820
  });
17830
17821
  };
17831
17822
 
17832
- const rootClassName$j = 'dot-table-selection-toolbar';
17823
+ const rootClassName$k = 'dot-table-selection-toolbar';
17833
17824
  const StyledTableSelectionToolbar = styled(DotActionToolbar)`
17834
17825
  ${({
17835
17826
  theme
17836
17827
  }) => css`
17837
- &.${rootClassName$j} {
17828
+ &.${rootClassName$k} {
17838
17829
  display: flex;
17839
17830
  align-items: center;
17840
17831
  justify-content: space-between;
@@ -17889,7 +17880,7 @@ const DotTableSelectionToolbar = ({
17889
17880
  multiSelectHeader,
17890
17881
  selectedRowsNumber
17891
17882
  }) => {
17892
- const rootClasses = useStylesWithRootClass(rootClassName$j, className);
17883
+ const rootClasses = useStylesWithRootClass(rootClassName$k, className);
17893
17884
  return jsxs(StyledTableSelectionToolbar, {
17894
17885
  ariaLabel: ariaLabel,
17895
17886
  className: rootClasses,
@@ -17975,7 +17966,7 @@ const DotTable = ({
17975
17966
  setPage(page);
17976
17967
  }
17977
17968
  }, [page]);
17978
- const rootClasses = useStylesWithRootClass(rootClassName$q, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
17969
+ const rootClasses = useStylesWithRootClass(rootClassName$r, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
17979
17970
  const updateData = (newOrder, newOrderBy, newPage, newRowsPerPage) => {
17980
17971
  const newData = stableSort(data, getComparator(newOrder, newOrderBy));
17981
17972
  setPageData(newRowsPerPage ? newData.slice(newPage * newRowsPerPage, newPage * newRowsPerPage + newRowsPerPage) : newData);
@@ -18178,7 +18169,7 @@ const DotTableAction = ({
18178
18169
  });
18179
18170
  };
18180
18171
 
18181
- const rootClassName$i = 'dot-table-actions';
18172
+ const rootClassName$j = 'dot-table-actions';
18182
18173
  const TableActionsContainer = styled.div`
18183
18174
  overflow: hidden;
18184
18175
  text-overflow: clip;
@@ -18268,7 +18259,7 @@ const DotTableActions = ({
18268
18259
  };
18269
18260
  return jsxs(Fragment, {
18270
18261
  children: [jsxs(TableActionsContainer, {
18271
- className: rootClassName$i,
18262
+ className: rootClassName$j,
18272
18263
  ref: wrapperRef,
18273
18264
  children: [!showMenu && renderTableActions(), (showMenu || actions.length > 2) && jsx(DotIconButton, {
18274
18265
  ariaLabel: "more options",
@@ -18292,12 +18283,12 @@ const DotTableActions = ({
18292
18283
  });
18293
18284
  };
18294
18285
 
18295
- const rootClassName$h = 'dot-tabs';
18286
+ const rootClassName$i = 'dot-tabs';
18296
18287
  const StyledTabs = styled(Tabs)`
18297
18288
  ${({
18298
18289
  theme
18299
18290
  }) => css`
18300
- &.${rootClassName$h} {
18291
+ &.${rootClassName$i} {
18301
18292
  &.MuiTabs-root {
18302
18293
  width: 100%;
18303
18294
  }
@@ -18350,7 +18341,7 @@ const DotTabs = ({
18350
18341
  centered = false,
18351
18342
  className,
18352
18343
  color,
18353
- 'data-pendoid': dataPendoId = rootClassName$h,
18344
+ 'data-pendoid': dataPendoId = rootClassName$i,
18354
18345
  'data-testid': dataTestId,
18355
18346
  initialValue = 0,
18356
18347
  onChange,
@@ -18359,7 +18350,7 @@ const DotTabs = ({
18359
18350
  variant = 'standard'
18360
18351
  }) => {
18361
18352
  const [value, setValue] = useState(initialValue);
18362
- const rootClasses = useStylesWithRootClass(rootClassName$h, className);
18353
+ const rootClasses = useStylesWithRootClass(rootClassName$i, className);
18363
18354
  useEffect(() => {
18364
18355
  if (color) {
18365
18356
  console.warn('DEPRECATED: `color` prop is deprecated in `<DotTabs>`, please remove any usage of it in your application.');
@@ -18413,9 +18404,9 @@ const DotTabs = ({
18413
18404
  });
18414
18405
  };
18415
18406
 
18416
- const rootClassName$g = 'dot-file-upload';
18417
- const containerClassName = `${rootClassName$g}-container`;
18418
- const dropZoneClassName = `${rootClassName$g}-drop-zone`;
18407
+ const rootClassName$h = 'dot-file-upload';
18408
+ const containerClassName = `${rootClassName$h}-container`;
18409
+ const dropZoneClassName = `${rootClassName$h}-drop-zone`;
18419
18410
  const StyledFileUploadContainer = styled.div`
18420
18411
  ${({
18421
18412
  theme
@@ -18435,7 +18426,7 @@ const StyledFileUpload = styled.div`
18435
18426
  ${({
18436
18427
  theme
18437
18428
  }) => css`
18438
- &.${rootClassName$g}.${dropZoneClassName} {
18429
+ &.${rootClassName$h}.${dropZoneClassName} {
18439
18430
  align-items: center;
18440
18431
  background: ${theme.palette.figma.background.level0.bckgGray};
18441
18432
  border: 2px dashed ${theme.palette.figma.border.defaultButton};
@@ -18467,12 +18458,12 @@ const StyledFileUpload = styled.div`
18467
18458
  `}
18468
18459
  `;
18469
18460
 
18470
- const rootClassName$f = 'dot-file-list-item';
18461
+ const rootClassName$g = 'dot-file-list-item';
18471
18462
  const StyledFileListItem = styled(StyledListItem)`
18472
18463
  ${({
18473
18464
  theme
18474
18465
  }) => css`
18475
- &.${rootClassName$f} {
18466
+ &.${rootClassName$g} {
18476
18467
  border-bottom: 1px solid ${theme.palette.figma.border.default};
18477
18468
  &:hover {
18478
18469
  cursor: pointer;
@@ -18484,7 +18475,7 @@ const StyledFileListItem = styled(StyledListItem)`
18484
18475
  outline: none;
18485
18476
  }
18486
18477
 
18487
- &.file-success:not(:hover, :focus-visible) .${rootClassName$f}-end-icon {
18478
+ &.file-success:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18488
18479
  i:before {
18489
18480
  color: ${theme.palette.figma.success.normal};
18490
18481
  }
@@ -18494,7 +18485,7 @@ const StyledFileListItem = styled(StyledListItem)`
18494
18485
  }
18495
18486
  }
18496
18487
 
18497
- &.file-error:not(:hover, :focus-visible) .${rootClassName$f}-end-icon {
18488
+ &.file-error:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18498
18489
  i:before,
18499
18490
  .MuiListItemText-secondary {
18500
18491
  color: ${theme.palette.figma.destructive.normal};
@@ -18536,7 +18527,7 @@ const DotFileListItem = ({
18536
18527
  onKeyPress,
18537
18528
  tabIndex = 0
18538
18529
  }) => {
18539
- const rootClasses = useStylesWithRootClass(rootClassName$f, className, error ? 'file-error' : 'file-success');
18530
+ const rootClasses = useStylesWithRootClass(rootClassName$g, className, error ? 'file-error' : 'file-success');
18540
18531
  const defaultIcon = error ? 'error-solid' : 'check-solid';
18541
18532
  const [endIcon, setEndIcon] = useState(defaultIcon);
18542
18533
  const handleItemClick = clickedFile => _event => onClick === null || onClick === void 0 ? void 0 : onClick(clickedFile);
@@ -18569,7 +18560,7 @@ const DotFileListItem = ({
18569
18560
  })]
18570
18561
  }), jsx(DotIconButton, {
18571
18562
  ariaLabel: "delete file",
18572
- className: `${rootClassName$f}-end-icon`,
18563
+ className: `${rootClassName$g}-end-icon`,
18573
18564
  "data-testid": dataTestId && `${dataTestId}-end-icon`,
18574
18565
  disabled: disableDelete,
18575
18566
  iconId: endIcon,
@@ -18693,7 +18684,7 @@ const DotFileUpload = ({
18693
18684
  buttonOnly = false,
18694
18685
  className,
18695
18686
  contentErrors,
18696
- 'data-pendoid': dataPendoId = rootClassName$g,
18687
+ 'data-pendoid': dataPendoId = rootClassName$h,
18697
18688
  'data-testid': dataTestId,
18698
18689
  disabled,
18699
18690
  hideFilesList,
@@ -18706,7 +18697,7 @@ const DotFileUpload = ({
18706
18697
  const [uploadedFiles, setUploadedFiles] = useState([]);
18707
18698
  const [hasMaxFilesError, setHasMaxFilesError] = useState(false);
18708
18699
  const isUploadDisabled = disabled || maxFiles && uploadedFiles.length >= maxFiles;
18709
- const rootClasses = useStylesWithRootClass(rootClassName$g, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18700
+ const rootClasses = useStylesWithRootClass(rootClassName$h, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18710
18701
  const maxFilesClasses = useStylesWithRootClass('dot-max-files-message', hasMaxFilesError ? 'dot-max-files-reached' : '');
18711
18702
  const allowMultiple = maxFiles === undefined || maxFiles > 1;
18712
18703
  const setNewlyUploadedFiles = (acceptedFiles, fileRejections) => {
@@ -18778,6 +18769,76 @@ const DotFileUpload = ({
18778
18769
  });
18779
18770
  };
18780
18771
 
18772
+ const rootClassName$f = 'dot-fab';
18773
+ const StyledFab = styled(Fab)`
18774
+ ${({
18775
+ theme,
18776
+ color
18777
+ }) => css`
18778
+ &.${rootClassName$f} {
18779
+ ${color === 'default' ? css`
18780
+ background-color: ${theme.palette.figma.typography.white};
18781
+ color: ${theme.palette.figma.typography.black};
18782
+
18783
+ &:hover {
18784
+ background-color: ${theme.palette.figma.neutral.ripple};
18785
+ }
18786
+ ` : css`
18787
+ &.MuiFab-secondary {
18788
+ background-color: ${theme.palette.figma.inProgress.secondary};
18789
+
18790
+ &:hover {
18791
+ background-color: ${theme.palette.secondary[700]};
18792
+ }
18793
+ }
18794
+
18795
+ &,
18796
+ .dot-icon {
18797
+ color: ${theme.palette.figma.typography.white};
18798
+ }
18799
+ `}
18800
+
18801
+ &.Mui-disabled {
18802
+ background-color: ${theme.palette.figma.disabled.normal};
18803
+
18804
+ &,
18805
+ .dot-icon {
18806
+ color: ${theme.palette.figma.typography.disabledLightGray};
18807
+ }
18808
+ }
18809
+ }
18810
+ `}
18811
+ `;
18812
+
18813
+ const DotFab = ({
18814
+ ariaLabel,
18815
+ children,
18816
+ className,
18817
+ color = 'default',
18818
+ 'data-pendoid': dataPendoId = rootClassName$f,
18819
+ 'data-testid': dataTestId,
18820
+ disableRipple = false,
18821
+ disabled = false,
18822
+ onClick,
18823
+ size = 'large',
18824
+ variant = 'circular'
18825
+ }) => {
18826
+ const rootClasses = useStylesWithRootClass(rootClassName$f, className);
18827
+ return jsx(StyledFab, {
18828
+ "aria-label": ariaLabel,
18829
+ color: color,
18830
+ className: rootClasses,
18831
+ "data-pendoid": dataPendoId,
18832
+ "data-testid": dataTestId,
18833
+ disabled: disabled,
18834
+ disableRipple: disableRipple,
18835
+ onClick: event => onClick && onClick(event),
18836
+ size: size,
18837
+ variant: variant,
18838
+ children: children
18839
+ });
18840
+ };
18841
+
18781
18842
  const rootClassName$e = 'dot-divider';
18782
18843
  const StyledDivider = styled(Divider)`
18783
18844
  ${({
@@ -18832,7 +18893,7 @@ const DotPopper = ({
18832
18893
  placement
18833
18894
  }) => {
18834
18895
  const [arrowRef, setArrowRef] = useState(null);
18835
- const rootClasses = useStylesWithRootClass(rootClassName$1f, className);
18896
+ const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
18836
18897
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
18837
18898
  const handleClickAway = event => {
18838
18899
  if (onClickAway && (!anchorEl || !anchorEl.contains(event.currentTarget))) {
@@ -22410,7 +22471,7 @@ const DotDatePicker = ({
22410
22471
  autoFocus = false,
22411
22472
  className,
22412
22473
  closeOnSelect = true,
22413
- 'data-pendoid': dataPendoId = rootClassName$E,
22474
+ 'data-pendoid': dataPendoId = rootClassName$F,
22414
22475
  'data-testid': dataTestId,
22415
22476
  defaultValue,
22416
22477
  disableOpenPicker,
@@ -22451,7 +22512,7 @@ const DotDatePicker = ({
22451
22512
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22452
22513
  const isInputReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22453
22514
  const inputRef = useRef(null);
22454
- const rootClasses = useStylesWithRootClass(rootClassName$E, className, isInputReadOnly ? 'read-only' : '');
22515
+ const rootClasses = useStylesWithRootClass(rootClassName$F, className, isInputReadOnly ? 'read-only' : '');
22455
22516
  const containerClasses = useStylesWithRootClass(containerClassName$2, fullWidth ? 'full-width' : '', className);
22456
22517
  const focusInput = ref => {
22457
22518
  setTimeout(() => {
@@ -22672,7 +22733,7 @@ const DotTimePicker = ({
22672
22733
  ariaLabel,
22673
22734
  autoFocus = false,
22674
22735
  className,
22675
- 'data-pendoid': dataPendoId = rootClassName$D,
22736
+ 'data-pendoid': dataPendoId = rootClassName$E,
22676
22737
  'data-testid': dataTestId,
22677
22738
  defaultValue,
22678
22739
  disableOpenPicker = false,
@@ -22704,7 +22765,7 @@ const DotTimePicker = ({
22704
22765
  const hasValueWithoutChangeHandler = value !== undefined && onChange === undefined;
22705
22766
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22706
22767
  const isComponentReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22707
- const rootClasses = useStylesWithRootClass(rootClassName$D, className, isComponentReadOnly ? 'read-only' : '');
22768
+ const rootClasses = useStylesWithRootClass(rootClassName$E, className, isComponentReadOnly ? 'read-only' : '');
22708
22769
  const containerClasses = useStylesWithRootClass(containerClassName$1, fullWidth ? 'full-width' : '', className);
22709
22770
  const inputRef = useRef(null);
22710
22771
  const [isPickerOpened, setIsPickerOpened] = useState(false);
@@ -25290,4 +25351,4 @@ const DotColorPicker = ({
25290
25351
  });
25291
25352
  };
25292
25353
 
25293
- export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };
25354
+ export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFab, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };