@digital-ai/dot-components 5.6.0 → 5.7.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, Fab, 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, Select } 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$1s = 'dot-typography';
45
+ const rootClassName$1t = 'dot-typography';
46
46
  const StyledTypography = styled(Typography)`
47
47
  ${({
48
48
  theme
49
49
  }) => css`
50
- &.${rootClassName$1s} {
50
+ &.${rootClassName$1t} {
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$1s, ai ? 'dot-typography-ai' : '', className);
76
+ const rootClasses = useStylesWithRootClass(rootClassName$1t, 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"');
@@ -1409,7 +1409,7 @@ const readOnlyStyles = theme => css`
1409
1409
  }
1410
1410
  `;
1411
1411
 
1412
- const rootClassName$1r = 'dot-text-field';
1412
+ const rootClassName$1s = '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$1r} {
1488
+ &.${rootClassName$1s} {
1489
1489
  .MuiInputBase-root {
1490
1490
  margin-bottom: 0;
1491
1491
 
@@ -1574,7 +1574,7 @@ const StyledTextField = styled(TextField)`
1574
1574
  margin-right: ${theme.spacing(2)};
1575
1575
  }
1576
1576
 
1577
- &.${rootSelectClassName}, &.${rootClassName$1r} {
1577
+ &.${rootSelectClassName}, &.${rootClassName$1s} {
1578
1578
  .${adornmentIconClassName} {
1579
1579
  color: ${theme.palette.figma.icon.gray};
1580
1580
 
@@ -1669,13 +1669,13 @@ const StyledTextField = styled(TextField)`
1669
1669
  `}
1670
1670
  `;
1671
1671
 
1672
- const rootClassName$1q = 'dot-icon';
1672
+ const rootClassName$1r = 'dot-icon';
1673
1673
  const aiIconClassName = 'dot-icon-ai';
1674
1674
  const StyledIcon = styled(Icon)`
1675
1675
  ${({
1676
1676
  theme
1677
1677
  }) => css`
1678
- &.${rootClassName$1q} {
1678
+ &.${rootClassName$1r} {
1679
1679
  color: ${theme.palette.figma.icon.gray};
1680
1680
  font-size: 20px;
1681
1681
 
@@ -1725,7 +1725,7 @@ const DotIcon = ({
1725
1725
  tooltip,
1726
1726
  ai = false
1727
1727
  }) => {
1728
- const rootClasses = useStylesWithRootClass(rootClassName$1q, className, ai ? aiIconClassName : '');
1728
+ const rootClasses = useStylesWithRootClass(rootClassName$1r, className, ai ? aiIconClassName : '');
1729
1729
  return jsx(DotTooltip, {
1730
1730
  disableInteractive: disableInteractive,
1731
1731
  childrenDisplayStyle: "inline-block",
@@ -1749,7 +1749,7 @@ const DotIcon = ({
1749
1749
  });
1750
1750
  };
1751
1751
 
1752
- const rootClassName$1p = 'dot-accordion';
1752
+ const rootClassName$1q = 'dot-accordion';
1753
1753
  const summaryClassName = 'dot-accordion-summary';
1754
1754
  const detailClassName = 'dot-accordion-details';
1755
1755
  const StyledAccordion = styled(Accordion)`
@@ -1760,7 +1760,7 @@ const StyledAccordion = styled(Accordion)`
1760
1760
  background: ${theme.palette.figma.background.level1.white};
1761
1761
  }
1762
1762
 
1763
- &.${rootClassName$1p} .${summaryClassName} {
1763
+ &.${rootClassName$1q} .${summaryClassName} {
1764
1764
  align-items: center;
1765
1765
  background: ${theme.palette.figma.background.level1.white};
1766
1766
  color: ${theme.palette.figma.typography.black};
@@ -1805,7 +1805,7 @@ const DotAccordion = ({
1805
1805
  ariaLabel,
1806
1806
  children,
1807
1807
  className,
1808
- 'data-pendoid': dataPendoId = rootClassName$1p,
1808
+ 'data-pendoid': dataPendoId = rootClassName$1q,
1809
1809
  'data-testid': dataTestId = 'dot-accordion',
1810
1810
  disabled = false,
1811
1811
  expanded,
@@ -1816,7 +1816,7 @@ const DotAccordion = ({
1816
1816
  summary,
1817
1817
  noWrap = true
1818
1818
  }) => {
1819
- const rootClasses = useStylesWithRootClass(rootClassName$1p, className);
1819
+ const rootClasses = useStylesWithRootClass(rootClassName$1q, className);
1820
1820
  const [elevation, setElevation] = useState();
1821
1821
  useEffect(() => {
1822
1822
  if (onChange && expanded === undefined) {
@@ -1867,15 +1867,15 @@ const DotAccordion = ({
1867
1867
  });
1868
1868
  };
1869
1869
 
1870
- const rootClassName$1o = 'dot-action-toolbar';
1870
+ const rootClassName$1p = 'dot-action-toolbar';
1871
1871
  const StyledToolbar = styled(Toolbar)`
1872
1872
  ${({
1873
1873
  theme
1874
1874
  }) => css`
1875
- &.${rootClassName$1o} {
1875
+ &.${rootClassName$1p} {
1876
1876
  border-bottom: 1px solid ${theme.palette.figma.border.default};
1877
1877
 
1878
- .${rootClassName$1r} .MuiInputBase-root {
1878
+ .${rootClassName$1s} .MuiInputBase-root {
1879
1879
  margin-bottom: 0;
1880
1880
  }
1881
1881
  }
@@ -1889,7 +1889,7 @@ const DotActionToolbar = ({
1889
1889
  'data-testid': dataTestId,
1890
1890
  variant = 'dense'
1891
1891
  }) => {
1892
- const rootClasses = useStylesWithRootClass(rootClassName$1o, className);
1892
+ const rootClasses = useStylesWithRootClass(rootClassName$1p, className);
1893
1893
  return jsx(StyledToolbar, {
1894
1894
  "aria-label": ariaLabel,
1895
1895
  className: rootClasses,
@@ -1899,12 +1899,12 @@ const DotActionToolbar = ({
1899
1899
  });
1900
1900
  };
1901
1901
 
1902
- const rootClassName$1n = 'dot-alert-banner';
1902
+ const rootClassName$1o = 'dot-alert-banner';
1903
1903
  const StyledAlertBanner = styled(Alert)`
1904
1904
  ${({
1905
1905
  theme
1906
1906
  }) => css`
1907
- &.${rootClassName$1n} {
1907
+ &.${rootClassName$1o} {
1908
1908
  align-items: center;
1909
1909
  box-sizing: border-box;
1910
1910
  min-height: 48px;
@@ -1939,7 +1939,7 @@ const DotAlertBanner = ({
1939
1939
  ariaLabel,
1940
1940
  children,
1941
1941
  className,
1942
- 'data-pendoid': dataPendoId = rootClassName$1n,
1942
+ 'data-pendoid': dataPendoId = rootClassName$1o,
1943
1943
  'data-testid': dataTestId,
1944
1944
  onClose,
1945
1945
  roundedCorners = true,
@@ -1947,7 +1947,7 @@ const DotAlertBanner = ({
1947
1947
  textVariant = 'body1',
1948
1948
  width
1949
1949
  }) => {
1950
- const rootClasses = useStylesWithRootClass(rootClassName$1n, severity, className);
1950
+ const rootClasses = useStylesWithRootClass(rootClassName$1o, severity, className);
1951
1951
  /* For simple string use default component, for everything else use 'div' */
1952
1952
  const typographyComponent = isString$2(children) ? undefined : 'div';
1953
1953
  return jsx(StyledAlertBanner, {
@@ -1990,12 +1990,12 @@ const DotAppLogo = ({
1990
1990
  });
1991
1991
  };
1992
1992
 
1993
- const rootClassName$1m = 'dot-annotation';
1993
+ const rootClassName$1n = 'dot-annotation';
1994
1994
  const StyledAnnotation = styled.kbd`
1995
1995
  ${({
1996
1996
  theme
1997
1997
  }) => css`
1998
- &.${rootClassName$1m} {
1998
+ &.${rootClassName$1n} {
1999
1999
  font-family: inherit;
2000
2000
  background-color: ${theme.palette.figma.background.level0.bckgGray};
2001
2001
  color: ${theme.palette.figma.typography.disabled};
@@ -2021,13 +2021,13 @@ const StyledAnnotation = styled.kbd`
2021
2021
 
2022
2022
  const DotAnnotation = ({
2023
2023
  ariaLabel,
2024
- 'data-pendoid': dataPendoId = rootClassName$1m,
2024
+ 'data-pendoid': dataPendoId = rootClassName$1n,
2025
2025
  'data-testid': dataTestId,
2026
2026
  className,
2027
2027
  content,
2028
2028
  type = 'primary'
2029
2029
  }) => {
2030
- const rootClasses = useStylesWithRootClass(rootClassName$1m, className, type === 'secondary' ? 'secondary' : '');
2030
+ const rootClasses = useStylesWithRootClass(rootClassName$1n, className, type === 'secondary' ? 'secondary' : '');
2031
2031
  return jsx(StyledAnnotation, {
2032
2032
  "aria-label": ariaLabel,
2033
2033
  className: rootClasses,
@@ -2664,7 +2664,7 @@ const useDotCoreApiContext = () => {
2664
2664
  return useContext(DotCoreApiContext);
2665
2665
  };
2666
2666
 
2667
- const rootClassName$1l = 'dot-avatar';
2667
+ const rootClassName$1m = 'dot-avatar';
2668
2668
  const avatarSpacing = {
2669
2669
  small: 3,
2670
2670
  medium: 5,
@@ -2674,7 +2674,7 @@ const StyledAvatar = styled(Avatar)`
2674
2674
  ${({
2675
2675
  theme
2676
2676
  }) => css`
2677
- &.${rootClassName$1l} {
2677
+ &.${rootClassName$1m} {
2678
2678
  display: inline-flex;
2679
2679
  background-color: ${({
2680
2680
  color
@@ -2792,7 +2792,7 @@ const DotAvatar = ({
2792
2792
  variant = 'circular',
2793
2793
  style
2794
2794
  }) => {
2795
- const rootClasses = useStylesWithRootClass(rootClassName$1l, className);
2795
+ const rootClasses = useStylesWithRootClass(rootClassName$1m, className);
2796
2796
  const getAvatarColor = () => {
2797
2797
  if ((style === null || style === void 0 ? void 0 : style.color) !== undefined) return 'inherit';
2798
2798
  if (color) return color;
@@ -2834,12 +2834,12 @@ const DotAvatar = ({
2834
2834
  });
2835
2835
  };
2836
2836
 
2837
- const rootClassName$1k = 'dot-button';
2837
+ const rootClassName$1l = 'dot-button';
2838
2838
  const StyledButton = styled(Button)`
2839
2839
  ${({
2840
2840
  theme
2841
2841
  }) => css`
2842
- &.${rootClassName$1k} {
2842
+ &.${rootClassName$1l} {
2843
2843
  background-color: ${theme.palette.figma.primary.normal};
2844
2844
  margin: ${theme.spacing(0.5)};
2845
2845
  padding: ${theme.spacing(0.75, 2)};
@@ -2992,7 +2992,7 @@ const DotButton = forwardRef(({
2992
2992
  autoFocus = false,
2993
2993
  children,
2994
2994
  className,
2995
- 'data-pendoid': dataPendoId = rootClassName$1k,
2995
+ 'data-pendoid': dataPendoId = rootClassName$1l,
2996
2996
  'data-testid': dataTestId,
2997
2997
  disabled = false,
2998
2998
  disableInteractive,
@@ -3010,7 +3010,7 @@ const DotButton = forwardRef(({
3010
3010
  tooltipPlacement,
3011
3011
  type = 'primary'
3012
3012
  }, ref) => {
3013
- const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
3013
+ const rootClasses = useStylesWithRootClass(rootClassName$1l, className);
3014
3014
  let color;
3015
3015
  let variant;
3016
3016
  switch (type) {
@@ -3041,7 +3041,7 @@ const DotButton = forwardRef(({
3041
3041
  }
3042
3042
  return jsx(DotTooltip, {
3043
3043
  childrenDisplayStyle: "inline-block",
3044
- "data-testid": `${dataTestId || rootClassName$1k}-tooltip`,
3044
+ "data-testid": `${dataTestId || rootClassName$1l}-tooltip`,
3045
3045
  disableInteractive: disableInteractive,
3046
3046
  placement: tooltipPlacement,
3047
3047
  title: tooltip,
@@ -3053,7 +3053,7 @@ const DotButton = forwardRef(({
3053
3053
  },
3054
3054
  color: color,
3055
3055
  "data-pendoid": dataPendoId,
3056
- "data-testid": dataTestId || rootClassName$1k,
3056
+ "data-testid": dataTestId || rootClassName$1l,
3057
3057
  disableRipple: disableRipple,
3058
3058
  disabled: disabled,
3059
3059
  endIcon: endIcon,
@@ -3073,10 +3073,10 @@ const DotButton = forwardRef(({
3073
3073
  });
3074
3074
  });
3075
3075
 
3076
- const rootClassName$1j = 'dot-link';
3076
+ const rootClassName$1k = 'dot-link';
3077
3077
  const StyledLink = styled(Link)`
3078
3078
  ${() => css`
3079
- &.${rootClassName$1j} {
3079
+ &.${rootClassName$1k} {
3080
3080
  cursor: pointer;
3081
3081
 
3082
3082
  &:hover.MuiLink-underlineHover {
@@ -3092,7 +3092,7 @@ const DotLink = ({
3092
3092
  children,
3093
3093
  className,
3094
3094
  color = 'primary',
3095
- 'data-pendoid': dataPendoId = rootClassName$1j,
3095
+ 'data-pendoid': dataPendoId = rootClassName$1k,
3096
3096
  'data-testid': dataTestId,
3097
3097
  href,
3098
3098
  onClick,
@@ -3105,7 +3105,7 @@ const DotLink = ({
3105
3105
  underline = 'always',
3106
3106
  variant = 'body1'
3107
3107
  }) => {
3108
- const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
3108
+ const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
3109
3109
  useEffect(() => {
3110
3110
  // Include a console warning if the link is not a string and no ariaLabel is provided
3111
3111
  if (!isString$2(children) && !ariaLabel) {
@@ -3156,7 +3156,7 @@ const CreateUUID = () => {
3156
3156
  });
3157
3157
  };
3158
3158
 
3159
- const rootClassName$1i = 'dot-list';
3159
+ const rootClassName$1j = 'dot-list';
3160
3160
  const listItemRootClass = 'dot-list-item';
3161
3161
  const nestedListClassName = 'dot-nested-list';
3162
3162
  const nestedDrawerClassName = 'dot-nested-drawer';
@@ -3164,7 +3164,7 @@ const StyledList = styled(List)`
3164
3164
  ${({
3165
3165
  theme
3166
3166
  }) => css`
3167
- &.${rootClassName$1i} {
3167
+ &.${rootClassName$1j} {
3168
3168
  background: ${theme.palette.figma.background.level0.componentsBackground};
3169
3169
 
3170
3170
  .dot-icon {
@@ -3258,12 +3258,12 @@ const DotListDivider = ({
3258
3258
  });
3259
3259
  };
3260
3260
 
3261
- const rootClassName$1h = 'dot-progress';
3261
+ const rootClassName$1i = 'dot-progress';
3262
3262
  const StyledProgress = styled.div`
3263
3263
  ${({
3264
3264
  theme
3265
3265
  }) => css`
3266
- &.${rootClassName$1h} {
3266
+ &.${rootClassName$1i} {
3267
3267
  line-height: 0;
3268
3268
 
3269
3269
  .dot-progress-with-label-wrapper {
@@ -3314,7 +3314,7 @@ const DotProgress = ({
3314
3314
  value,
3315
3315
  variant = 'indeterminate'
3316
3316
  }) => {
3317
- const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
3317
+ const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
3318
3318
  useEffect(() => {
3319
3319
  if (!ariaLabel) {
3320
3320
  console.warn('a11y: DotProgress must have an ariaLabel to describe the progress component');
@@ -3380,13 +3380,13 @@ var variables = /*#__PURE__*/Object.freeze({
3380
3380
  levelTop: levelTop
3381
3381
  });
3382
3382
 
3383
- const rootClassName$1g = 'dot-popper';
3383
+ const rootClassName$1h = 'dot-popper';
3384
3384
  const arrowClassName = 'MuiPopper-arrow';
3385
3385
  const StyledPopper$1 = styled(Popper)`
3386
3386
  ${({
3387
3387
  theme
3388
3388
  }) => css`
3389
- &.${rootClassName$1g} {
3389
+ &.${rootClassName$1h} {
3390
3390
  font-family: ${theme.typography.fontFamily};
3391
3391
  font-size: ${theme.typography.body1.fontSize}px;
3392
3392
 
@@ -3445,7 +3445,7 @@ const StyledPopper$1 = styled(Popper)`
3445
3445
  }
3446
3446
  }
3447
3447
 
3448
- &.${rootClassName$1g}, &.${rootClassName$1g} > .dot-popper-paper {
3448
+ &.${rootClassName$1h}, &.${rootClassName$1h} > .dot-popper-paper {
3449
3449
  background-color: ${theme.palette.figma.background.level1.white};
3450
3450
  }
3451
3451
  `}
@@ -3475,12 +3475,12 @@ const StyledArrow = styled('span')`
3475
3475
  `;
3476
3476
 
3477
3477
  const flyoutMenuClassName = 'dot-flyout-menu';
3478
- const rootClassName$1f = 'dot-menu';
3478
+ const rootClassName$1g = 'dot-menu';
3479
3479
  const StyledPopper = styled(Popper)`
3480
3480
  ${({
3481
3481
  theme
3482
3482
  }) => css`
3483
- &.${rootClassName$1g} {
3483
+ &.${rootClassName$1h} {
3484
3484
  font-family: ${theme.typography.fontFamily};
3485
3485
  font-size: ${theme.typography.body1.fontSize}px;
3486
3486
 
@@ -3490,7 +3490,7 @@ const StyledPopper = styled(Popper)`
3490
3490
  }) => $zIndex === undefined ? `z-index: ${levelSecond};` : `z-index: ${$zIndex};`}
3491
3491
  }
3492
3492
  }
3493
- &.${rootClassName$1f}, &.${rootClassName$1g} {
3493
+ &.${rootClassName$1g}, &.${rootClassName$1h} {
3494
3494
  .MuiPaper-root:not(:empty) {
3495
3495
  border: 1px solid ${theme.palette.layer.n100};
3496
3496
  }
@@ -3570,14 +3570,14 @@ const MENU_ITEM_HEIGHT_NORMAL = 48;
3570
3570
  const MENU_ITEM_HEIGHT_DENSE = 36;
3571
3571
  const DEFAULT_MAX_VISIBLE_ITEMS = 7;
3572
3572
 
3573
- const rootClassName$1e = 'dot-ul';
3573
+ const rootClassName$1f = 'dot-ul';
3574
3574
  const listItemClassName$1 = 'dot-li';
3575
3575
  const listItemWithSubmenuClassName = 'dot-li-with-submenu';
3576
3576
  const StyledMenuList = styled(MenuList)`
3577
3577
  ${({
3578
3578
  theme
3579
3579
  }) => css`
3580
- &.${rootClassName$1e} {
3580
+ &.${rootClassName$1f} {
3581
3581
  background: ${theme.palette.figma.background.level1.white};
3582
3582
 
3583
3583
  .dot-li {
@@ -3679,7 +3679,7 @@ const DotMenuList = forwardRef(({
3679
3679
  onSubMenuCreate,
3680
3680
  selectedKey
3681
3681
  }, ref) => {
3682
- const rootClasses = useStylesWithRootClass(rootClassName$1e, className);
3682
+ const rootClasses = useStylesWithRootClass(rootClassName$1f, className);
3683
3683
  const [activeSubmenu, setActiveSubmenu] = useState(null);
3684
3684
  const [subItemAnchorEl, setSubItemAnchorEl] = useState(null);
3685
3685
  const openSubmenu = (target, itemKey) => {
@@ -3791,7 +3791,7 @@ const DotMenu = ({
3791
3791
  open = false,
3792
3792
  selectedKey
3793
3793
  }) => {
3794
- const rootClasses = useStylesWithRootClass(rootClassName$1f, className, loading ? 'loading' : '');
3794
+ const rootClasses = useStylesWithRootClass(rootClassName$1g, className, loading ? 'loading' : '');
3795
3795
  const isSubmenu = checkIfSubmenu(anchorEl);
3796
3796
  const hasSubItems = checkForSubItems(menuItems);
3797
3797
  // Timeout object is customizable when Menu component is either submenu
@@ -3879,12 +3879,12 @@ const DotMenu = ({
3879
3879
  });
3880
3880
  };
3881
3881
 
3882
- const rootClassName$1d = 'dot-drawer';
3882
+ const rootClassName$1e = 'dot-drawer';
3883
3883
  const StyledDrawer = styled(Drawer)`
3884
3884
  ${({
3885
3885
  theme
3886
3886
  }) => css`
3887
- &.${rootClassName$1d} .MuiBackdrop-root {
3887
+ &.${rootClassName$1e} .MuiBackdrop-root {
3888
3888
  background-color: ${theme.palette.figma.overlay.default};
3889
3889
  }
3890
3890
 
@@ -3903,12 +3903,12 @@ const StyledDrawer = styled(Drawer)`
3903
3903
  `}
3904
3904
  `;
3905
3905
 
3906
- const rootClassName$1c = 'dot-drawer-header';
3906
+ const rootClassName$1d = 'dot-drawer-header';
3907
3907
  const StyleDrawerHeader = styled.div`
3908
3908
  ${({
3909
3909
  theme
3910
3910
  }) => css`
3911
- &.${rootClassName$1c} {
3911
+ &.${rootClassName$1d} {
3912
3912
  padding: ${theme.spacing(0, 0, 2)};
3913
3913
  display: flex;
3914
3914
  align-items: center;
@@ -3919,13 +3919,13 @@ const StyleDrawerHeader = styled.div`
3919
3919
  `}
3920
3920
  `;
3921
3921
 
3922
- const rootClassName$1b = 'dot-icon-btn';
3922
+ const rootClassName$1c = 'dot-icon-btn';
3923
3923
  const StyledIconButton = styled(IconButton)`
3924
3924
  ${({
3925
3925
  theme,
3926
3926
  color
3927
3927
  }) => css`
3928
- &.${rootClassName$1b} {
3928
+ &.${rootClassName$1c} {
3929
3929
  ${color === 'inherit' ? css`
3930
3930
  color: inherit;
3931
3931
  ` : ''}
@@ -4011,7 +4011,7 @@ const DotIconButton = ({
4011
4011
  ariaRole = 'button',
4012
4012
  className,
4013
4013
  color = 'inherit',
4014
- 'data-pendoid': dataPendoId = rootClassName$1b,
4014
+ 'data-pendoid': dataPendoId = rootClassName$1c,
4015
4015
  'data-testid': dataTestId,
4016
4016
  disableInteractive,
4017
4017
  disableRipple = false,
@@ -4025,7 +4025,7 @@ const DotIconButton = ({
4025
4025
  tooltipPlacement
4026
4026
  }) => {
4027
4027
  const rippleClassName = disableRipple ? 'ripple-disabled' : '';
4028
- const rootClasses = useStylesWithRootClass(rootClassName$1b, rippleClassName, `shape-${shape}`, className);
4028
+ const rootClasses = useStylesWithRootClass(rootClassName$1c, rippleClassName, `shape-${shape}`, className);
4029
4029
  return jsx(DotTooltip, {
4030
4030
  childrenDisplayStyle: "inline-block",
4031
4031
  "data-testid": "icon-button-tooltip",
@@ -4062,7 +4062,7 @@ const DotDrawerHeader = ({
4062
4062
  onClose,
4063
4063
  variant
4064
4064
  }) => {
4065
- const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
4065
+ const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
4066
4066
  return jsxs(StyleDrawerHeader, {
4067
4067
  "aria-label": ariaLabel,
4068
4068
  "aria-level": 2,
@@ -4079,10 +4079,10 @@ const DotDrawerHeader = ({
4079
4079
  });
4080
4080
  };
4081
4081
 
4082
- const rootClassName$1a = 'dot-drawer-body';
4082
+ const rootClassName$1b = 'dot-drawer-body';
4083
4083
  const StyleDrawerBody = styled.div`
4084
4084
  ${() => css`
4085
- &.${rootClassName$1a} {
4085
+ &.${rootClassName$1b} {
4086
4086
  display: flex;
4087
4087
  .dot-drawer-close-button {
4088
4088
  align-self: self-start;
@@ -4103,7 +4103,7 @@ const DotDrawerBody = ({
4103
4103
  onClose,
4104
4104
  variant
4105
4105
  }) => {
4106
- const rootClasses = useStylesWithRootClass(rootClassName$1a, className);
4106
+ const rootClasses = useStylesWithRootClass(rootClassName$1b, className);
4107
4107
  return jsxs(StyleDrawerBody, {
4108
4108
  "aria-label": ariaLabel,
4109
4109
  className: rootClasses,
@@ -4118,12 +4118,12 @@ const DotDrawerBody = ({
4118
4118
  });
4119
4119
  };
4120
4120
 
4121
- const rootClassName$19 = 'dot-drawer-footer';
4121
+ const rootClassName$1a = 'dot-drawer-footer';
4122
4122
  const StyleDrawerFooter = styled.div`
4123
4123
  ${({
4124
4124
  theme
4125
4125
  }) => css`
4126
- &.${rootClassName$19} {
4126
+ &.${rootClassName$1a} {
4127
4127
  padding: ${theme.spacing(2, 0, 0)};
4128
4128
  }
4129
4129
  `}
@@ -4136,7 +4136,7 @@ const DotDrawerFooter = ({
4136
4136
  className,
4137
4137
  'data-testid': dataTestId
4138
4138
  }) => {
4139
- const rootClasses = useStylesWithRootClass(rootClassName$19, className);
4139
+ const rootClasses = useStylesWithRootClass(rootClassName$1a, className);
4140
4140
  return jsx(StyleDrawerFooter, {
4141
4141
  "aria-label": ariaLabel,
4142
4142
  className: rootClasses,
@@ -4152,7 +4152,7 @@ const DotDrawer = ({
4152
4152
  ariaRole = 'dialog',
4153
4153
  className,
4154
4154
  children,
4155
- 'data-pendoid': dataPendoId = rootClassName$1d,
4155
+ 'data-pendoid': dataPendoId = rootClassName$1e,
4156
4156
  'data-testid': dataTestId,
4157
4157
  drawerBodyProps,
4158
4158
  drawerFooterProps,
@@ -4175,7 +4175,7 @@ const DotDrawer = ({
4175
4175
  onClose(event);
4176
4176
  }
4177
4177
  };
4178
- const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
4178
+ const rootClasses = useStylesWithRootClass(rootClassName$1e, className);
4179
4179
  const backdropEnabled = variant === 'temporary' && !(ModalProps === null || ModalProps === void 0 ? void 0 : ModalProps.hideBackdrop);
4180
4180
  const headerExists = !!drawerHeaderProps;
4181
4181
  const bodyPendoId = drawerBodyProps ? drawerBodyProps['data-pendoid'] : 'drawer-body';
@@ -4650,7 +4650,7 @@ const DotList = ({
4650
4650
  nestedListType = 'expandable',
4651
4651
  width = 240
4652
4652
  }) => {
4653
- const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
4653
+ const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
4654
4654
  const listWidth = typeof width === 'number' ? `${width}px` : width;
4655
4655
  const listRef = useRef(undefined);
4656
4656
  const disableCloseOnClickAway = !nestedListCloseOnClickAway && nestedListType === 'expandable';
@@ -4750,12 +4750,12 @@ const DotList = ({
4750
4750
  });
4751
4751
  };
4752
4752
 
4753
- const rootClassName$18 = 'dot-copy-button';
4753
+ const rootClassName$19 = 'dot-copy-button';
4754
4754
  const StyledCopyButton = styled.span`
4755
4755
  ${({
4756
4756
  theme
4757
4757
  }) => css`
4758
- &.${rootClassName$18} .copied-to-clipboard {
4758
+ &.${rootClassName$19} .copied-to-clipboard {
4759
4759
  color: ${theme.palette.figma.success.normal};
4760
4760
 
4761
4761
  &.MuiIcon-fontSizeSmall.button-size-small {
@@ -4781,7 +4781,7 @@ const DotCopyButton = ({
4781
4781
  color = 'inherit',
4782
4782
  copiedTooltip = 'Copied!',
4783
4783
  copyTooltip = 'Copy to clipboard',
4784
- 'data-pendoid': dataPendoId = rootClassName$18,
4784
+ 'data-pendoid': dataPendoId = rootClassName$19,
4785
4785
  'data-testid': dataTestId = 'dot-copy-button',
4786
4786
  disableInteractive,
4787
4787
  disabled = false,
@@ -4830,7 +4830,7 @@ const DotCopyButton = ({
4830
4830
  return false;
4831
4831
  }, [value, showCopiedIcon, disabled, onClick]);
4832
4832
  return jsxs(StyledCopyButton, {
4833
- className: rootClassName$18,
4833
+ className: rootClassName$19,
4834
4834
  "data-testid": dataTestId,
4835
4835
  children: [!timedShowCopiedIcon && jsx(DotIconButton, {
4836
4836
  ariaLabel: ariaLabel,
@@ -4937,7 +4937,7 @@ const DotInputText = ({
4937
4937
  autoFocus,
4938
4938
  className,
4939
4939
  defaultValue,
4940
- 'data-pendoid': dataPendoId = rootClassName$1r,
4940
+ 'data-pendoid': dataPendoId = rootClassName$1s,
4941
4941
  'data-testid': dataTestId,
4942
4942
  disabled = false,
4943
4943
  error = false,
@@ -4986,7 +4986,7 @@ const DotInputText = ({
4986
4986
  const internalInputRef = useRef(null);
4987
4987
  const textFieldInputRef = inputRef || internalInputRef;
4988
4988
  const [inputTextState, setInputTextState] = useState(getInitialState(value));
4989
- const rootStyles = useStylesWithRootClass(rootClassName$1r, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
4989
+ const rootStyles = useStylesWithRootClass(rootClassName$1s, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
4990
4990
  useEffect(() => {
4991
4991
  if (value !== inputTextState.inputValue) {
4992
4992
  setInputTextState(getInitialState(value, defaultValue));
@@ -5129,10 +5129,10 @@ const DotInputText = ({
5129
5129
  });
5130
5130
  };
5131
5131
 
5132
- const rootClassName$17 = 'dot-search-input';
5132
+ const rootClassName$18 = 'dot-search-input';
5133
5133
  const StyledSearchInput = styled.span`
5134
5134
  ${() => css`
5135
- &.${rootClassName$17} {
5135
+ &.${rootClassName$18} {
5136
5136
  }
5137
5137
  `}
5138
5138
  `;
@@ -5149,7 +5149,7 @@ function SearchInput({
5149
5149
  tooltip = null,
5150
5150
  value
5151
5151
  }) {
5152
- const rootClasses = useStylesWithRootClass(rootClassName$17, className);
5152
+ const rootClasses = useStylesWithRootClass(rootClassName$18, className);
5153
5153
  const [searchText, setSearchText] = useState(value);
5154
5154
  let previousSearchText = '';
5155
5155
  const handleChange = useCallback(event => {
@@ -5405,12 +5405,12 @@ const recentAppInstancesSetter = (latestInstance, maxRecentItems
5405
5405
  };
5406
5406
  };
5407
5407
 
5408
- const rootClassName$16 = 'dot-app-switcher';
5408
+ const rootClassName$17 = 'dot-app-switcher';
5409
5409
  const StyledAppSwitcher = styled(DotDrawer)`
5410
5410
  ${({
5411
5411
  theme
5412
5412
  }) => css`
5413
- &.${rootClassName$16} {
5413
+ &.${rootClassName$17} {
5414
5414
  .dot-drawer-paper {
5415
5415
  padding: 0;
5416
5416
  width: 382px;
@@ -5520,7 +5520,7 @@ const DotAppSwitcherView = ({
5520
5520
  if (dotCoreApiContext !== null) {
5521
5521
  setSelectedAppType = dotCoreApiContext.setSelectedAppSwitcherAppType;
5522
5522
  }
5523
- const rootClasses = useStylesWithRootClass(rootClassName$16, className);
5523
+ const rootClasses = useStylesWithRootClass(rootClassName$17, className);
5524
5524
  const [appTypeMap, setAppTypeMap] = useState();
5525
5525
  const [appTypeLabels, setAppTypeLabels] = useState();
5526
5526
  const [appTypeMenuItems, setAppTypeMenuItems] = useState();
@@ -5898,12 +5898,12 @@ var SvgLogoDigitalAiWhite = function SvgLogoDigitalAiWhite(_ref, ref) {
5898
5898
  };
5899
5899
  var ForwardRef = /*#__PURE__*/forwardRef(SvgLogoDigitalAiWhite);
5900
5900
 
5901
- const rootClassName$15 = 'dot-sidebar';
5901
+ const rootClassName$16 = 'dot-sidebar';
5902
5902
  const StyledSidebar = styled.aside`
5903
5903
  ${({
5904
5904
  theme
5905
5905
  }) => css`
5906
- &.${rootClassName$15} {
5906
+ &.${rootClassName$16} {
5907
5907
  align-items: stretch;
5908
5908
  background: ${theme.palette.figma.background.level1.white};
5909
5909
  border-width: 0 1px;
@@ -6197,10 +6197,10 @@ const StyledSidebar = styled.aside`
6197
6197
  `}
6198
6198
  `;
6199
6199
 
6200
- const rootClassName$14 = 'dot-truncate-with-tooltip';
6200
+ const rootClassName$15 = 'dot-truncate-with-tooltip';
6201
6201
  const StyledTruncateWithTooltip = styled(Tooltip)`
6202
6202
  ${() => css`
6203
- &.${rootClassName$14} {
6203
+ &.${rootClassName$15} {
6204
6204
  display: block;
6205
6205
  overflow: hidden;
6206
6206
  white-space: nowrap;
@@ -6231,7 +6231,7 @@ const DotTruncateWithTooltip = ({
6231
6231
  label,
6232
6232
  width
6233
6233
  }) => {
6234
- const rootClasses = useStylesWithRootClass(rootClassName$14, className, charactersLimit ? 'dot-characters-limit' : '');
6234
+ const rootClasses = useStylesWithRootClass(rootClassName$15, className, charactersLimit ? 'dot-characters-limit' : '');
6235
6235
  return jsx(StyledTruncateWithTooltip, {
6236
6236
  "aria-label": ariaLabel,
6237
6237
  arrow: arrow,
@@ -6345,7 +6345,7 @@ const DotSidebar = ({
6345
6345
  keys: collapseKeys
6346
6346
  }, toggleNavCollapseState, [isOpen, collapsable]);
6347
6347
  const sidebarClasses = useStylesWithRootClass('side-nav', openClass);
6348
- const rootClasses = useStylesWithRootClass(rootClassName$15, openClass, className);
6348
+ const rootClasses = useStylesWithRootClass(rootClassName$16, openClass, className);
6349
6349
  return jsxs(StyledSidebar, {
6350
6350
  "aria-label": ariaLabel,
6351
6351
  className: rootClasses,
@@ -6421,12 +6421,12 @@ const DotSidebar = ({
6421
6421
  });
6422
6422
  };
6423
6423
 
6424
- const rootClassName$13 = 'dot-badge';
6424
+ const rootClassName$14 = 'dot-badge';
6425
6425
  const StyledBadge = styled(Badge)`
6426
6426
  ${({
6427
6427
  theme
6428
6428
  }) => css`
6429
- &.${rootClassName$13} {
6429
+ &.${rootClassName$14} {
6430
6430
  color: ${theme.palette.figma.typography.black};
6431
6431
  word-break: normal;
6432
6432
 
@@ -6461,7 +6461,7 @@ const DotBadge = ({
6461
6461
  overlap,
6462
6462
  variant = 'dot'
6463
6463
  }) => {
6464
- const rootClasses = useStylesWithRootClass(rootClassName$13, className);
6464
+ const rootClasses = useStylesWithRootClass(rootClassName$14, className);
6465
6465
  return jsx(StyledBadge, {
6466
6466
  "$badgeColor": badgeColor,
6467
6467
  anchorOrigin: {
@@ -6483,7 +6483,7 @@ const DotBadge = ({
6483
6483
  });
6484
6484
  };
6485
6485
 
6486
- const rootClassName$12 = 'dot-app-toolbar';
6486
+ const rootClassName$13 = 'dot-app-toolbar';
6487
6487
  const denseClassName = 'dense';
6488
6488
  const StyledMainMenu = styled(DotDrawer)`
6489
6489
  ${({
@@ -6523,7 +6523,7 @@ const StyledAppToolbar = styled.header`
6523
6523
  ${({
6524
6524
  theme
6525
6525
  }) => css`
6526
- &.${rootClassName$12} {
6526
+ &.${rootClassName$13} {
6527
6527
  align-items: center;
6528
6528
  background: ${theme.palette.figma.appToolbar.background};
6529
6529
  border-bottom: 4px solid ${theme.palette.figma.border.default};
@@ -6652,7 +6652,7 @@ const DotAppToolbar = ({
6652
6652
  const displayAppLogo = appLogo || appLogoSmall;
6653
6653
  const mainMenuRef = useRef(null);
6654
6654
  const denseClass = dense ? denseClassName : '';
6655
- const rootClasses = useStylesWithRootClass(rootClassName$12, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6655
+ const rootClasses = useStylesWithRootClass(rootClassName$13, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6656
6656
  const mainMenuClasses = useStylesWithRootClass('dot-main-menu', denseClass, menuOpen ? 'open' : '');
6657
6657
  const targetBreakpoint = useMediaQuery(theme => theme.breakpoints.up('lg'));
6658
6658
  useEffect(() => {
@@ -6804,12 +6804,12 @@ const DotAppToolbar = ({
6804
6804
  }) : appToolbar;
6805
6805
  };
6806
6806
 
6807
- const rootClassName$11 = 'dot-chip';
6807
+ const rootClassName$12 = 'dot-chip';
6808
6808
  const StyledChip = styled(Chip)`
6809
6809
  ${({
6810
6810
  theme
6811
6811
  }) => css`
6812
- &.${rootClassName$11} {
6812
+ &.${rootClassName$12} {
6813
6813
  background: ${theme.palette.figma.neutral.normal};
6814
6814
  border-color: ${theme.palette.figma.border.darker};
6815
6815
  color: ${theme.palette.figma.typography.black};
@@ -6915,7 +6915,7 @@ const DotChip = ({
6915
6915
  charactersLimit = DEFAULT_CHARACTERS_LIMIT,
6916
6916
  children,
6917
6917
  className,
6918
- 'data-pendoid': dataPendoId = rootClassName$11,
6918
+ 'data-pendoid': dataPendoId = rootClassName$12,
6919
6919
  'data-testid': dataTestId,
6920
6920
  disabled = false,
6921
6921
  error = false,
@@ -6929,7 +6929,7 @@ const DotChip = ({
6929
6929
  tooltipProps
6930
6930
  }) => {
6931
6931
  const errorClass = error ? 'Mui-error' : '';
6932
- const rootClasses = useStylesWithRootClass(rootClassName$11, className, errorClass);
6932
+ const rootClasses = useStylesWithRootClass(rootClassName$12, className, errorClass);
6933
6933
  const isTruncated = charactersLimit > 0 && children.length > charactersLimit;
6934
6934
  const getChipLabelWithTooltip = label => jsx(DotTooltip, Object.assign({}, tooltipProps, {
6935
6935
  hoverVisibility: "always",
@@ -6965,7 +6965,7 @@ const DotChip = ({
6965
6965
  });
6966
6966
  };
6967
6967
 
6968
- const rootClassName$10 = 'dot-autocomplete';
6968
+ const rootClassName$11 = 'dot-autocomplete';
6969
6969
  const inputRootClassName = 'dot-input-root';
6970
6970
  const inputMediumClassName = 'dot-input-medium';
6971
6971
  const inputAiClassName = 'dot-input-ai';
@@ -6973,7 +6973,7 @@ const StyledAutocomplete = styled(Autocomplete)`
6973
6973
  ${({
6974
6974
  theme
6975
6975
  }) => css`
6976
- &.${rootClassName$10} {
6976
+ &.${rootClassName$11} {
6977
6977
  &.${inputMediumClassName} .dot-text-field .${inputRootClassName} {
6978
6978
  height: 56px;
6979
6979
  padding-left: ${theme.spacing(2)};
@@ -7072,8 +7072,8 @@ const isEmptyValue = value => {
7072
7072
  return !value;
7073
7073
  }
7074
7074
  };
7075
- const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$10, size === 'medium' && inputMediumClassName, className);
7076
- const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1r, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7075
+ const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$11, size === 'medium' && inputMediumClassName, className);
7076
+ const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1s, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7077
7077
  const getInputRootClassNames = isDense => useStylesWithRootClass(inputRootClassName, !isDense && inputMediumClassName);
7078
7078
  const getDefaultAutoCompleteValue = (hasMultiple, defaultValue) => hasMultiple && isString$2(defaultValue) ? [defaultValue] : defaultValue;
7079
7079
  const getAutoCompleteGroupBy = group => group ? option => option.group : undefined;
@@ -7095,7 +7095,7 @@ const DotAutoComplete = ({
7095
7095
  autoFocus,
7096
7096
  autoHighlight,
7097
7097
  className,
7098
- 'data-pendoid': dataPendoId = rootClassName$10,
7098
+ 'data-pendoid': dataPendoId = rootClassName$11,
7099
7099
  'data-testid': dataTestId,
7100
7100
  defaultValue,
7101
7101
  dense = true,
@@ -7165,7 +7165,7 @@ const DotAutoComplete = ({
7165
7165
  const rootClasses = useStylesWithRootClass(getRootClassNames(className, size), isAiEnabled ? inputAiClassName : '');
7166
7166
  const textFieldRootClasses = getTextFieldRootClassNames(textFieldWarningClassName, readOnly);
7167
7167
  const inputRootClasses = getInputRootClassNames(dense);
7168
- const popperClasses = useStylesWithRootClass(rootClassName$1g, popperClassName);
7168
+ const popperClasses = useStylesWithRootClass(rootClassName$1h, popperClassName);
7169
7169
  let highlightedOption = null;
7170
7170
  let textFieldInput;
7171
7171
  const textFieldRef = element => {
@@ -7515,10 +7515,10 @@ const DotAutoComplete = ({
7515
7515
  });
7516
7516
  };
7517
7517
 
7518
- const rootClassName$$ = 'dot-avatar-group';
7518
+ const rootClassName$10 = 'dot-avatar-group';
7519
7519
  const StyledAvatarGroup = styled(AvatarGroup)`
7520
7520
  ${() => css`
7521
- &.${rootClassName$$} {
7521
+ &.${rootClassName$10} {
7522
7522
  justify-content: flex-end;
7523
7523
 
7524
7524
  .MuiAvatar-root {
@@ -7537,7 +7537,7 @@ const DotAvatarGroup = ({
7537
7537
  max = 3,
7538
7538
  spacing = 'medium'
7539
7539
  }) => {
7540
- const rootClasses = useStylesWithRootClass(rootClassName$$, className);
7540
+ const rootClasses = useStylesWithRootClass(rootClassName$10, className);
7541
7541
  return jsx(StyledAvatarGroup, {
7542
7542
  "aria-label": ariaLabel,
7543
7543
  classes: {
@@ -7552,14 +7552,14 @@ const DotAvatarGroup = ({
7552
7552
  });
7553
7553
  };
7554
7554
 
7555
- const rootClassName$_ = 'dot-avatar-with-details';
7555
+ const rootClassName$$ = 'dot-avatar-with-details';
7556
7556
  const StyledAvatarWithDetails = styled.div`
7557
7557
  ${({
7558
7558
  theme,
7559
7559
  $maxSubtitleLines,
7560
7560
  $maxTitleLines
7561
7561
  }) => css`
7562
- &.${rootClassName$_} {
7562
+ &.${rootClassName$$} {
7563
7563
  gap: ${theme.spacing(2)};
7564
7564
  display: flex;
7565
7565
  align-items: center;
@@ -7595,12 +7595,12 @@ const DotAvatarWithDetails = ({
7595
7595
  ariaLabel,
7596
7596
  avatar,
7597
7597
  className,
7598
- 'data-pendoid': dataPendoId = rootClassName$_,
7598
+ 'data-pendoid': dataPendoId = rootClassName$$,
7599
7599
  'data-testid': dataTestId,
7600
7600
  subtitle,
7601
7601
  title
7602
7602
  }) => {
7603
- const rootClasses = useStylesWithRootClass(rootClassName$_, className);
7603
+ const rootClasses = useStylesWithRootClass(rootClassName$$, className);
7604
7604
  const titleClasses = useStylesWithRootClass('dot-avatar-with-details-title', title.maxLines ? 'max-lines-clamp' : '');
7605
7605
  const subtitleClasses = useStylesWithRootClass('dot-avatar-with-details-subtitle', (subtitle === null || subtitle === void 0 ? void 0 : subtitle.maxLines) ? 'max-lines-clamp' : '');
7606
7606
  return jsxs(StyledAvatarWithDetails, {
@@ -7635,13 +7635,13 @@ const DotAvatarWithDetails = ({
7635
7635
  });
7636
7636
  };
7637
7637
 
7638
- const rootClassName$Z = 'dot-breadcrumbs';
7638
+ const rootClassName$_ = 'dot-breadcrumbs';
7639
7639
  const breadcrumbsWrapperClass = 'dot-breadcrumbs-wrapper';
7640
7640
  const StyledBreadcrumbsWrapper = styled.div`
7641
7641
  ${({
7642
7642
  theme
7643
7643
  }) => css`
7644
- &.${rootClassName$Z} {
7644
+ &.${rootClassName$_} {
7645
7645
  overflow: hidden;
7646
7646
 
7647
7647
  .dot-breadcrumbs-menu {
@@ -7661,7 +7661,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs)`
7661
7661
  ${({
7662
7662
  theme
7663
7663
  }) => css`
7664
- &.${rootClassName$Z} {
7664
+ &.${rootClassName$_} {
7665
7665
  margin-bottom: 0;
7666
7666
 
7667
7667
  .MuiBreadcrumbs-ol {
@@ -7989,7 +7989,7 @@ const DotBreadcrumbs = ({
7989
7989
  children: [jsx(StyledBreadcrumbs, {
7990
7990
  "aria-label": "breadcrumb",
7991
7991
  classes: {
7992
- root: rootClassName$Z,
7992
+ root: rootClassName$_,
7993
7993
  ol: 'dot-ol',
7994
7994
  li: 'dot-li'
7995
7995
  },
@@ -8020,14 +8020,14 @@ const DotBreadcrumbs = ({
8020
8020
  });
8021
8021
  };
8022
8022
 
8023
- const rootClassName$Y = 'dot-button-toggle';
8023
+ const rootClassName$Z = 'dot-button-toggle';
8024
8024
  // TODO: need to update ripple color
8025
8025
  // https://github.com/mui/material-ui/issues/28543
8026
8026
  const StyledToggleButtonGroup = styled(ToggleButtonGroup)`
8027
8027
  ${({
8028
8028
  theme
8029
8029
  }) => css`
8030
- &.${rootClassName$Y} {
8030
+ &.${rootClassName$Z} {
8031
8031
  button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {
8032
8032
  /* Override height for medium size */
8033
8033
  height: ${theme.spacing(5)};
@@ -8150,7 +8150,7 @@ const DotButtonToggle = ({
8150
8150
  buttonOptions,
8151
8151
  className,
8152
8152
  color,
8153
- 'data-pendoid': dataPendoId = rootClassName$Y,
8153
+ 'data-pendoid': dataPendoId = rootClassName$Z,
8154
8154
  'data-testid': dataTestId = 'dot-toggle',
8155
8155
  disableFocusRipple = false,
8156
8156
  disableRipple = false,
@@ -8160,7 +8160,7 @@ const DotButtonToggle = ({
8160
8160
  size = 'medium',
8161
8161
  value
8162
8162
  }) => {
8163
- const rootClasses = useStylesWithRootClass(rootClassName$Y, className);
8163
+ const rootClasses = useStylesWithRootClass(rootClassName$Z, className);
8164
8164
  const renderToggleButton = ({
8165
8165
  ariaLabel: optionAriaLabel,
8166
8166
  badgeContent: optionBadgeContent,
@@ -8245,12 +8245,12 @@ const TooltipToggleButton = forwardRef((_a, ref) => {
8245
8245
  }));
8246
8246
  });
8247
8247
 
8248
- const rootClassName$X = 'dot-card';
8248
+ const rootClassName$Y = 'dot-card';
8249
8249
  const StyledCard = styled(Card)`
8250
8250
  ${({
8251
8251
  theme
8252
8252
  }) => css`
8253
- &.${rootClassName$X} {
8253
+ &.${rootClassName$Y} {
8254
8254
  background-color: ${theme.palette.figma.background.level1.white};
8255
8255
  }
8256
8256
  `}
@@ -8264,7 +8264,7 @@ const DotCard = ({
8264
8264
  onMouseEnter,
8265
8265
  onMouseLeave
8266
8266
  }) => {
8267
- const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8267
+ const rootClasses = useStylesWithRootClass(rootClassName$Y, className);
8268
8268
  return jsx(StyledCard, {
8269
8269
  "aria-label": ariaLabel,
8270
8270
  classes: {
@@ -8295,12 +8295,12 @@ const DotCardContent = ({
8295
8295
  });
8296
8296
  };
8297
8297
 
8298
- const rootClassName$W = 'dot-card-footer';
8298
+ const rootClassName$X = 'dot-card-footer';
8299
8299
  const StyledDiv = styled.div`
8300
8300
  ${({
8301
8301
  theme
8302
8302
  }) => css`
8303
- &.${rootClassName$W} {
8303
+ &.${rootClassName$X} {
8304
8304
  padding: ${theme.spacing(2)};
8305
8305
  }
8306
8306
  `}
@@ -8312,7 +8312,7 @@ const DotCardFooter = ({
8312
8312
  className,
8313
8313
  'data-testid': dataTestId
8314
8314
  }) => {
8315
- const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8315
+ const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8316
8316
  return jsx(StyledDiv, {
8317
8317
  "aria-label": ariaLabel,
8318
8318
  className: rootClasses,
@@ -8321,14 +8321,14 @@ const DotCardFooter = ({
8321
8321
  });
8322
8322
  };
8323
8323
 
8324
- const rootClassName$V = 'dot-card-header';
8324
+ const rootClassName$W = 'dot-card-header';
8325
8325
  const StyledCardHeader = styled(CardHeader)`
8326
8326
  ${({
8327
8327
  theme,
8328
8328
  $maxSubheaderLines,
8329
8329
  $maxTitleLines
8330
8330
  }) => css`
8331
- &.${rootClassName$V} {
8331
+ &.${rootClassName$W} {
8332
8332
  .MuiCardHeader-content {
8333
8333
  overflow-x: hidden;
8334
8334
 
@@ -8366,7 +8366,7 @@ const DotCardHeader = ({
8366
8366
  titleMaxLines = 1,
8367
8367
  titleSize = 'large'
8368
8368
  }) => {
8369
- const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8369
+ const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8370
8370
  const nonSmallTitleSize = titleSize === 'medium' ? 'h3' : 'h2';
8371
8371
  const titleVariant = titleSize === 'small' ? 'h4' : nonSmallTitleSize;
8372
8372
  const subheaderVariant = subheaderSize === 'small' ? 'body2' : 'body1';
@@ -8403,9 +8403,9 @@ const DotCardHeader = ({
8403
8403
  });
8404
8404
  };
8405
8405
 
8406
- const rootClassName$U = 'dot-form-control-label';
8406
+ const rootClassName$V = 'dot-form-control-label';
8407
8407
  const StyledFormControlLabel = styled(FormControlLabel)`
8408
- &.${rootClassName$U} {
8408
+ &.${rootClassName$V} {
8409
8409
  .MuiFormControlLabel-label {
8410
8410
  margin-bottom: 0;
8411
8411
  padding: 0 0 0 4px;
@@ -8428,12 +8428,12 @@ const StyledFormControlLabel = styled(FormControlLabel)`
8428
8428
  }
8429
8429
  `;
8430
8430
 
8431
- const rootClassName$T = 'dot-checkbox';
8431
+ const rootClassName$U = 'dot-checkbox';
8432
8432
  const StyledCheckbox = styled(Checkbox)`
8433
8433
  ${({
8434
8434
  theme
8435
8435
  }) => css`
8436
- &.${rootClassName$T} {
8436
+ &.${rootClassName$U} {
8437
8437
  padding: ${theme.spacing(1)};
8438
8438
 
8439
8439
  &.MuiCheckbox-indeterminate {
@@ -8452,7 +8452,7 @@ function DotCheckbox({
8452
8452
  ariaLabelledby,
8453
8453
  checked,
8454
8454
  className,
8455
- 'data-pendoid': dataPendoId = rootClassName$U,
8455
+ 'data-pendoid': dataPendoId = rootClassName$V,
8456
8456
  'data-testid': dataTestId,
8457
8457
  disabled,
8458
8458
  disableRipple,
@@ -8467,14 +8467,14 @@ function DotCheckbox({
8467
8467
  size = 'medium',
8468
8468
  value
8469
8469
  }) {
8470
- const rootClasses = useStylesWithRootClass(rootClassName$U, className);
8470
+ const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8471
8471
  const handleChange = event => {
8472
8472
  onChange && onChange(event, event.target.value);
8473
8473
  };
8474
8474
  const checkboxControl = jsx(StyledCheckbox, {
8475
8475
  checked: checked,
8476
8476
  classes: {
8477
- root: rootClassName$T
8477
+ root: rootClassName$U
8478
8478
  },
8479
8479
  color: "primary",
8480
8480
  "data-pendoid": dataPendoId,
@@ -8503,13 +8503,13 @@ function DotCheckbox({
8503
8503
  });
8504
8504
  }
8505
8505
 
8506
- const rootClassName$S = 'dot-form-group';
8506
+ const rootClassName$T = 'dot-form-group';
8507
8507
  const groupLabelClassName = 'dot-form-group-label';
8508
8508
  const startAdornmentClassName = 'dot-start-adornment';
8509
8509
  const endAdornmentClassName = 'dot-end-adornment';
8510
8510
  const placementClassName = 'dot-';
8511
8511
  const StyledFormControl = styled(FormControl)`
8512
- &.${rootClassName$S} {
8512
+ &.${rootClassName$T} {
8513
8513
  .MuiFormLabel-root {
8514
8514
  width: 100%;
8515
8515
  line-height: 24px;
@@ -8540,7 +8540,7 @@ const StyledFormControl = styled(FormControl)`
8540
8540
  }
8541
8541
  `;
8542
8542
 
8543
- const rootClassName$R = 'dot-checkbox-group';
8543
+ const rootClassName$S = 'dot-checkbox-group';
8544
8544
  const wrapperClassName$1 = 'dot-checkbox-group-wrapper';
8545
8545
  const checkboxListClassName = 'dot-checkbox-list';
8546
8546
  const checkboxListItemClassName = 'dot-checkbox-list-item';
@@ -8549,7 +8549,7 @@ const StyledCheckboxGroup = styled.div`
8549
8549
  theme
8550
8550
  }) => css`
8551
8551
  &.${wrapperClassName$1} {
8552
- .${rootClassName$R} {
8552
+ .${rootClassName$S} {
8553
8553
  width: 100%;
8554
8554
  }
8555
8555
 
@@ -8576,7 +8576,7 @@ const StyledCheckboxGroup = styled.div`
8576
8576
  margin-top: 0;
8577
8577
  padding-left: ${theme.spacing(2.5)};
8578
8578
 
8579
- .${rootClassName$U} {
8579
+ .${rootClassName$V} {
8580
8580
  margin: 0;
8581
8581
  }
8582
8582
  }
@@ -8584,13 +8584,13 @@ const StyledCheckboxGroup = styled.div`
8584
8584
  `}
8585
8585
  `;
8586
8586
 
8587
- const rootClassName$Q = 'dot-form-group';
8587
+ const rootClassName$R = 'dot-form-group';
8588
8588
  const StyledFormGroup = styled(FormGroup)`
8589
8589
  ${({
8590
8590
  theme,
8591
8591
  row
8592
8592
  }) => css`
8593
- &.${rootClassName$Q} > * {
8593
+ &.${rootClassName$R} > * {
8594
8594
  margin: ${row ? `${theme.spacing(0.5)}` : 0};
8595
8595
  }
8596
8596
  `}
@@ -8603,7 +8603,7 @@ function DotFormGroup({
8603
8603
  'data-testid': dataTestId,
8604
8604
  row
8605
8605
  }) {
8606
- const rootClasses = useStylesWithRootClass(rootClassName$S, className);
8606
+ const rootClasses = useStylesWithRootClass(rootClassName$T, className);
8607
8607
  return jsx(StyledFormGroup, {
8608
8608
  "aria-label": ariaLabel,
8609
8609
  classes: {
@@ -8642,7 +8642,7 @@ function DotCheckboxGroup({
8642
8642
  size = 'medium'
8643
8643
  }) {
8644
8644
  const placement = `${placementClassName}${labelPlacement}`;
8645
- const rootClasses = useStylesWithRootClass(rootClassName$S, rootClassName$R, className, placement);
8645
+ const rootClasses = useStylesWithRootClass(rootClassName$T, rootClassName$S, className, placement);
8646
8646
  const [selectedOptions, setSelectedOptions] = useState(defaultValues);
8647
8647
  const [allChecked, setAllChecked] = useState(false);
8648
8648
  /* This will ensure that state can be updated from the outside */
@@ -8727,12 +8727,12 @@ function DotCheckboxGroup({
8727
8727
  });
8728
8728
  }
8729
8729
 
8730
- const rootClassName$P = 'chip-list';
8730
+ const rootClassName$Q = 'chip-list';
8731
8731
  const StyledChipList = styled.div`
8732
8732
  ${({
8733
8733
  theme
8734
8734
  }) => css`
8735
- &.${rootClassName$P} {
8735
+ &.${rootClassName$Q} {
8736
8736
  display: flex;
8737
8737
  gap: ${theme.spacing(1)};
8738
8738
  }
@@ -8807,19 +8807,19 @@ function DotChipList({
8807
8807
  setChips(itemElements);
8808
8808
  }, [items, maxChars]);
8809
8809
  return jsx(StyledChipList, {
8810
- className: rootClassName$P,
8810
+ className: rootClassName$Q,
8811
8811
  "data-testid": dataTestId,
8812
8812
  style: style,
8813
8813
  children: chips
8814
8814
  });
8815
8815
  }
8816
8816
 
8817
- const rootClassName$O = 'dot-dialog';
8817
+ const rootClassName$P = 'dot-dialog';
8818
8818
  const StyledDialog = styled(Dialog)`
8819
8819
  ${({
8820
8820
  theme
8821
8821
  }) => css`
8822
- &.${rootClassName$O} {
8822
+ &.${rootClassName$P} {
8823
8823
  .MuiDialog-paper {
8824
8824
  background: ${theme.palette.figma.background.level1.white};
8825
8825
  color: ${theme.palette.figma.typography.black};
@@ -8865,7 +8865,7 @@ const DotDialog = ({
8865
8865
  cancelButtonProps,
8866
8866
  cancelButtonVisible = true,
8867
8867
  className,
8868
- 'data-pendoid': dataPendoId = rootClassName$O,
8868
+ 'data-pendoid': dataPendoId = rootClassName$P,
8869
8869
  'data-testid': dataTestId,
8870
8870
  children,
8871
8871
  closeIconVisible,
@@ -8879,7 +8879,7 @@ const DotDialog = ({
8879
8879
  submitButtonProps,
8880
8880
  title
8881
8881
  }) => {
8882
- const rootClasses = useStylesWithRootClass(rootClassName$O, className);
8882
+ const rootClasses = useStylesWithRootClass(rootClassName$P, className);
8883
8883
  const cancelClasses = useStylesWithRootClass(cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.className, 'cancel-button');
8884
8884
  const [isOpen, setIsOpen] = useState(open);
8885
8885
  const hasSecondaryAction = !!secondaryButtonProps;
@@ -9016,7 +9016,7 @@ const DotConfirmationDialog = ({
9016
9016
  });
9017
9017
  };
9018
9018
 
9019
- const rootClassName$N = 'dot-grid';
9019
+ const rootClassName$O = 'dot-grid';
9020
9020
  const frGetter = value => typeof value === 'number' ? `repeat(${value}, 1fr)` : value;
9021
9021
  const breakpointsGetter$1 = (theme, columnsBreakpoints, columnGap, rowGap) => `${theme.breakpoints.up('xs')} {
9022
9022
  column-gap: ${`${columnGap.xs}px`};
@@ -9076,7 +9076,7 @@ const Grid = ({
9076
9076
  children,
9077
9077
  isLoading
9078
9078
  }) => {
9079
- const rootClasses = useStylesWithRootClass(rootClassName$N, className);
9079
+ const rootClasses = useStylesWithRootClass(rootClassName$O, className);
9080
9080
  return jsxs("div", {
9081
9081
  className: rootClasses,
9082
9082
  children: [children, isLoading && jsx(DotProgress, {
@@ -9100,7 +9100,7 @@ const StyledGrid = styled(Grid)`
9100
9100
  theme,
9101
9101
  width
9102
9102
  }) => css`
9103
- &.${rootClassName$N} {
9103
+ &.${rootClassName$O} {
9104
9104
  display: grid;
9105
9105
  grid-template-rows: ${frGetter(rows)};
9106
9106
  ${columns ? `${columns && `grid-template-columns: ${frGetter(columns)}`};` : breakpointsGetter$1(theme, columnsBreakpoints, columnGap, rowGap)}
@@ -9371,12 +9371,12 @@ const CssGridDebug = ({
9371
9371
  });
9372
9372
  };
9373
9373
 
9374
- const rootClassName$M = 'dot-pill';
9374
+ const rootClassName$N = 'dot-pill';
9375
9375
  const StyledPill = styled(Chip)`
9376
9376
  ${({
9377
9377
  theme
9378
9378
  }) => css`
9379
- &.${rootClassName$M} {
9379
+ &.${rootClassName$N} {
9380
9380
  background-color: ${({
9381
9381
  backgroundcolor,
9382
9382
  variant
@@ -9500,7 +9500,7 @@ const DotPill = ({
9500
9500
  status = 'default',
9501
9501
  variant = 'filled'
9502
9502
  }) => {
9503
- const rootClasses = useStylesWithRootClass(rootClassName$M, className, status);
9503
+ const rootClasses = useStylesWithRootClass(rootClassName$N, className, status);
9504
9504
  return jsx(StyledPill, {
9505
9505
  "aria-label": ariaLabel,
9506
9506
  bordercolor: bordercolor,
@@ -11089,18 +11089,18 @@ function addAutoHideDuration(severity) {
11089
11089
  return severity === 'error' ? null : 10000;
11090
11090
  }
11091
11091
 
11092
- const rootClassName$L = 'dot-snackbar';
11092
+ const rootClassName$M = 'dot-snackbar';
11093
11093
  const StyledSnackbar = styled(Snackbar)`
11094
11094
  ${({
11095
11095
  theme,
11096
11096
  width,
11097
11097
  $anchorOriginTop
11098
11098
  }) => css`
11099
- &.${rootClassName$L} {
11099
+ &.${rootClassName$M} {
11100
11100
  .MuiAlert-message {
11101
11101
  word-break: break-word;
11102
11102
  }
11103
- .${rootClassName$1n} {
11103
+ .${rootClassName$1o} {
11104
11104
  align-items: flex-start;
11105
11105
  }
11106
11106
  &.MuiSnackbar-anchorOriginTopLeft,
@@ -11153,7 +11153,7 @@ const DotSnackbar = ({
11153
11153
  }) => {
11154
11154
  const hasActions = !!(primaryAction || secondaryAction);
11155
11155
  const calculatedAutoHideDuration = autoHideDuration === null || autoHideDuration > 0 ? autoHideDuration : addAutoHideDuration(severity);
11156
- const rootClasses = useStylesWithRootClass(rootClassName$L, className);
11156
+ const rootClasses = useStylesWithRootClass(rootClassName$M, className);
11157
11157
  const handleSnackbarClose = reason => {
11158
11158
  if (!reason || hideOnClickAway || !hideOnClickAway && reason !== 'clickaway') {
11159
11159
  onClose();
@@ -11223,10 +11223,10 @@ const DotSnackbar = ({
11223
11223
  });
11224
11224
  };
11225
11225
 
11226
- const rootClassName$K = 'dot-snackbar-container';
11226
+ const rootClassName$L = 'dot-snackbar-container';
11227
11227
  const StyledSnackbarContainer = styled.div`
11228
11228
  ${() => css`
11229
- &.${rootClassName$K} {
11229
+ &.${rootClassName$L} {
11230
11230
  position: absolute;
11231
11231
  top: 0;
11232
11232
  width: 250px;
@@ -11258,10 +11258,10 @@ const DotSnackbarContainer = ({
11258
11258
  };
11259
11259
  }
11260
11260
  return jsx(StyledSnackbarContainer, {
11261
- className: rootClassName$K,
11261
+ className: rootClassName$L,
11262
11262
  children: jsx("div", {
11263
- className: rootClassName$K,
11264
- "data-testid": rootClassName$K,
11263
+ className: rootClassName$L,
11264
+ "data-testid": rootClassName$L,
11265
11265
  children: alerts.slice().reverse().map(alert => {
11266
11266
  return jsx(DotSnackbar, {
11267
11267
  autoCloseOnAction: autoCloseOnAction,
@@ -11335,12 +11335,12 @@ const useEnqueueErrorMessage = error => {
11335
11335
  }, [error]);
11336
11336
  };
11337
11337
 
11338
- const rootClassName$J = 'dot-dashboard-details';
11338
+ const rootClassName$K = 'dot-dashboard-details';
11339
11339
  const StyledDashboardDetails = styled(DotDrawer)`
11340
11340
  ${({
11341
11341
  theme
11342
11342
  }) => css`
11343
- &.${rootClassName$J} {
11343
+ &.${rootClassName$K} {
11344
11344
  .dot-drawer-paper {
11345
11345
  padding: 0;
11346
11346
  width: 382px;
@@ -11466,7 +11466,7 @@ const DotDashboardDetailsView = ({
11466
11466
  modifiedAuthorUser
11467
11467
  }) => {
11468
11468
  var _a, _b;
11469
- const rootClasses = useStylesWithRootClass(rootClassName$J, className);
11469
+ const rootClasses = useStylesWithRootClass(rootClassName$K, className);
11470
11470
  const closeHandler = useCallback(event => {
11471
11471
  onClose && onClose(event);
11472
11472
  }, [onClose]);
@@ -12128,12 +12128,12 @@ function DotDashboardDialog({
12128
12128
  });
12129
12129
  }
12130
12130
 
12131
- const rootClassName$I = 'dot-impact-dialog';
12131
+ const rootClassName$J = 'dot-impact-dialog';
12132
12132
  const StyledImpactDialog = styled(DotDialog)`
12133
12133
  ${({
12134
12134
  theme
12135
12135
  }) => css`
12136
- &.${rootClassName$I} {
12136
+ &.${rootClassName$J} {
12137
12137
  .high-impact-default-content {
12138
12138
  margin-top: ${theme.spacing(2)};
12139
12139
  margin-bottom: ${theme.spacing(3)};
@@ -12239,7 +12239,7 @@ const DotImpactDialog = ({
12239
12239
  }
12240
12240
  return '';
12241
12241
  }, [action, capitalize, impact, record]);
12242
- const rootClasses = useStylesWithRootClass(rootClassName$I, className);
12242
+ const rootClasses = useStylesWithRootClass(rootClassName$J, className);
12243
12243
  return jsx(StyledImpactDialog, {
12244
12244
  "data-testid": dataTestId,
12245
12245
  className: rootClasses,
@@ -13611,7 +13611,7 @@ function DotDashboardHeader({
13611
13611
  });
13612
13612
  }
13613
13613
 
13614
- const rootClassName$H = 'dot-empty-state';
13614
+ const rootClassName$I = 'dot-empty-state';
13615
13615
  const emptyStateImageSizing = {
13616
13616
  xsmall: 9,
13617
13617
  dense: 15,
@@ -13682,9 +13682,9 @@ const StyledEmptyState = styled.div`
13682
13682
  `}
13683
13683
  `;
13684
13684
 
13685
- const rootClassName$G = 'dot-illustration';
13685
+ const rootClassName$H = 'dot-illustration';
13686
13686
  const StyledIllustration = styled.span`
13687
- &.${rootClassName$G} {
13687
+ &.${rootClassName$H} {
13688
13688
  display: inline-block;
13689
13689
  }
13690
13690
  `;
@@ -13701,17 +13701,17 @@ const DotIllustration = ({
13701
13701
  tooltip,
13702
13702
  tooltipPlacement = 'right-end'
13703
13703
  }) => {
13704
- const rootClasses = useStylesWithRootClass(rootClassName$G, className);
13704
+ const rootClasses = useStylesWithRootClass(rootClassName$H, className);
13705
13705
  return jsx(DotTooltip, {
13706
13706
  childrenDisplayStyle: "inline-block",
13707
13707
  title: tooltip,
13708
13708
  placement: tooltipPlacement,
13709
- "data-testid": `${dataTestId || rootClassName$G}-tooltip`,
13709
+ "data-testid": `${dataTestId || rootClassName$H}-tooltip`,
13710
13710
  children: jsx(StyledIllustration, {
13711
13711
  "aria-hidden": "false",
13712
13712
  "aria-label": ariaLabel || title || 'Illustration',
13713
13713
  className: rootClasses,
13714
- "data-testid": dataTestId || rootClassName$G,
13714
+ "data-testid": dataTestId || rootClassName$H,
13715
13715
  role: ariaRole,
13716
13716
  children: jsx("img", {
13717
13717
  alt: alt || 'Illustration',
@@ -13737,7 +13737,7 @@ const DotEmptyState = ({
13737
13737
  subtitle,
13738
13738
  title
13739
13739
  }) => {
13740
- const rootClasses = useStylesWithRootClass(rootClassName$H, className);
13740
+ const rootClasses = useStylesWithRootClass(rootClassName$I, className);
13741
13741
  return jsxs(StyledEmptyState, {
13742
13742
  "aria-label": ariaLabel,
13743
13743
  className: `${rootClasses} ${size}`,
@@ -13818,20 +13818,20 @@ const StyledRadioGroup = styled(RadioGroup)`
13818
13818
  &.${groupClassName} {
13819
13819
  padding-left: ${theme.spacing(2.5)};
13820
13820
 
13821
- .${rootClassName$U} {
13821
+ .${rootClassName$V} {
13822
13822
  margin: 0;
13823
13823
  }
13824
13824
  }
13825
13825
  `}
13826
13826
  `;
13827
13827
 
13828
- const rootClassName$F = 'dot-date-picker';
13828
+ const rootClassName$G = 'dot-date-picker';
13829
13829
  const popperClassName = 'dot-date-picker-popper';
13830
13830
  const containerClassName$2 = 'dot-date-picker-container';
13831
13831
  const rectanglePickersDayClassName = 'dot-rectangle-pickers-day';
13832
13832
  const StyledDatePickerContainer = styled.div`
13833
13833
  ${() => css`
13834
- &.${rootClassName$F} .full-width {
13834
+ &.${rootClassName$G} .full-width {
13835
13835
  width: 100%;
13836
13836
  }
13837
13837
  `}
@@ -13840,7 +13840,7 @@ const StyledDatePicker = styled(DatePicker)`
13840
13840
  ${({
13841
13841
  theme
13842
13842
  }) => css`
13843
- &.${rootClassName$F} {
13843
+ &.${rootClassName$G} {
13844
13844
  ${pickerInputStyles(theme)};
13845
13845
 
13846
13846
  .Mui-disabled.MuiInputBase-root,
@@ -13882,7 +13882,7 @@ const StyledPickersDay = styled(PickersDay)`
13882
13882
  `}
13883
13883
  `;
13884
13884
 
13885
- const rootClassName$E = 'dot-time-picker';
13885
+ const rootClassName$F = 'dot-time-picker';
13886
13886
  const containerClassName$1 = 'dot-time-picker-container';
13887
13887
  const timePickerPopperClassName = 'dot-time-picker-popper';
13888
13888
  const TIME_SELECTION_HEIGHT_SPACING = 34.5;
@@ -13902,7 +13902,7 @@ const StyledTimePicker = styled(TimePicker)`
13902
13902
  ${({
13903
13903
  theme
13904
13904
  }) => css`
13905
- &.${rootClassName$E} {
13905
+ &.${rootClassName$F} {
13906
13906
  ${pickerInputStyles(theme)};
13907
13907
 
13908
13908
  .Mui-disabled.MuiInputBase-root,
@@ -13979,36 +13979,36 @@ const StyledTimePickerPopper = styled(Popper)`
13979
13979
  `}
13980
13980
  `;
13981
13981
 
13982
- const rootClassName$D = 'dot-form';
13982
+ const rootClassName$E = 'dot-form';
13983
13983
  const StyledFormContainer = styled.div`
13984
13984
  ${({
13985
13985
  theme
13986
13986
  }) => css`
13987
- &.${rootClassName$D} {
13987
+ &.${rootClassName$E} {
13988
13988
  margin: ${theme.spacing(3, 0)};
13989
13989
 
13990
- .${rootClassName$S},
13991
- .${rootClassName$U},
13992
- .${rootClassName$1r},
13990
+ .${rootClassName$T},
13991
+ .${rootClassName$V},
13992
+ .${rootClassName$1s},
13993
13993
  .${rootSelectClassName},
13994
- .${rootClassName$F},
13995
- .${rootClassName$E} {
13994
+ .${rootClassName$G},
13995
+ .${rootClassName$F} {
13996
13996
  margin: ${theme.spacing(1, 0)};
13997
13997
  }
13998
13998
 
13999
13999
  .${wrapperClassName$2} {
14000
- + .${rootClassName$1r},
14000
+ + .${rootClassName$1s},
14001
14001
  .${wrapperClassName$2}
14002
14002
  + .${rootSelectClassName},
14003
14003
  .${wrapperClassName$2}
14004
- + .${rootClassName$F},
14004
+ + .${rootClassName$G},
14005
14005
  .${wrapperClassName$2}
14006
- + .${rootClassName$E} {
14006
+ + .${rootClassName$F} {
14007
14007
  margin: ${theme.spacing(0, 0, 1, 0)};
14008
14008
  }
14009
14009
 
14010
- .${rootClassName$R}, .${groupClassName} {
14011
- .${rootClassName$U} {
14010
+ .${rootClassName$S}, .${groupClassName} {
14011
+ .${rootClassName$V} {
14012
14012
  margin: 0;
14013
14013
  }
14014
14014
  }
@@ -14023,7 +14023,7 @@ const DotForm = ({
14023
14023
  'data-testid': dataTestId,
14024
14024
  onSubmit
14025
14025
  }) => {
14026
- const rootClasses = useStylesWithRootClass(rootClassName$D, className);
14026
+ const rootClasses = useStylesWithRootClass(rootClassName$E, className);
14027
14027
  return jsx("form", {
14028
14028
  "aria-label": ariaLabel,
14029
14029
  "data-testid": dataTestId,
@@ -14036,10 +14036,10 @@ const DotForm = ({
14036
14036
  });
14037
14037
  };
14038
14038
 
14039
- const rootClassName$C = 'dot-dynamic-form';
14039
+ const rootClassName$D = 'dot-dynamic-form';
14040
14040
  const StyledDynamicForm = styled(DotForm)`
14041
14041
  ${() => css`
14042
- &.${rootClassName$C} {
14042
+ &.${rootClassName$D} {
14043
14043
  }
14044
14044
  `}
14045
14045
  `;
@@ -14219,12 +14219,12 @@ const checkIfFormDataValid = formState => {
14219
14219
  return true;
14220
14220
  };
14221
14221
 
14222
- const rootClassName$B = 'dot-progress-button';
14222
+ const rootClassName$C = 'dot-progress-button';
14223
14223
  const StyledProgressButton = styled(DotButton)`
14224
14224
  ${({
14225
14225
  theme
14226
14226
  }) => css`
14227
- &.${rootClassName$B} {
14227
+ &.${rootClassName$C} {
14228
14228
  .hidden {
14229
14229
  // hide children but preserve its space so that
14230
14230
  // button's dimensions don't change
@@ -14249,7 +14249,7 @@ const DotProgressButton = ({
14249
14249
  ariaLabel,
14250
14250
  children,
14251
14251
  className,
14252
- 'data-pendoid': dataPendoId = rootClassName$B,
14252
+ 'data-pendoid': dataPendoId = rootClassName$C,
14253
14253
  'data-testid': dataTestId,
14254
14254
  disabled = false,
14255
14255
  disableInteractive,
@@ -14263,7 +14263,7 @@ const DotProgressButton = ({
14263
14263
  tooltip,
14264
14264
  type = 'primary'
14265
14265
  }) => {
14266
- const rootClasses = useStylesWithRootClass(rootClassName$B, className);
14266
+ const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14267
14267
  const isButtonDisabled = disabled || isLoading;
14268
14268
  const titleClasses = useStylesWithRootClass(isLoading ? 'hidden' : '');
14269
14269
  const progressCircleSize = size === 'large' ? SPINNER_LARGE_SIZE : SPINNER_DEFAULT_SIZE;
@@ -14293,12 +14293,12 @@ const DotProgressButton = ({
14293
14293
  });
14294
14294
  };
14295
14295
 
14296
- const rootClassName$A = 'dot-radio';
14296
+ const rootClassName$B = 'dot-radio';
14297
14297
  const StyledRadioButton = styled(Radio)`
14298
14298
  ${({
14299
14299
  theme
14300
14300
  }) => css`
14301
- &.${rootClassName$A} {
14301
+ &.${rootClassName$B} {
14302
14302
  padding: 8px;
14303
14303
 
14304
14304
  svg {
@@ -14316,7 +14316,7 @@ function DotRadioButton({
14316
14316
  ariaLabel,
14317
14317
  checked,
14318
14318
  className,
14319
- 'data-pendoid': dataPendoId = rootClassName$U,
14319
+ 'data-pendoid': dataPendoId = rootClassName$V,
14320
14320
  'data-testid': dataTestId,
14321
14321
  disabled,
14322
14322
  id,
@@ -14329,7 +14329,7 @@ function DotRadioButton({
14329
14329
  size = 'medium',
14330
14330
  value
14331
14331
  }) {
14332
- const rootClasses = useStylesWithRootClass(rootClassName$U, className);
14332
+ const rootClasses = useStylesWithRootClass(rootClassName$V, className);
14333
14333
  const handleChange = event => {
14334
14334
  onChange && onChange(event, event.target.value);
14335
14335
  };
@@ -14337,7 +14337,7 @@ function DotRadioButton({
14337
14337
  const radioControl = jsx(StyledRadioButton, {
14338
14338
  checked: checked,
14339
14339
  classes: {
14340
- root: rootClassName$A
14340
+ root: rootClassName$B
14341
14341
  },
14342
14342
  color: "primary",
14343
14343
  "data-pendoid": dataPendoId,
@@ -14383,7 +14383,7 @@ const DotRadioGroup = ({
14383
14383
  size = 'medium'
14384
14384
  }) => {
14385
14385
  const placement = `${placementClassName}${labelPlacement}`;
14386
- const rootClasses = useStylesWithRootClass(rootClassName$S, className, placement);
14386
+ const rootClasses = useStylesWithRootClass(rootClassName$T, className, placement);
14387
14387
  const radioValue = value || defaultValue;
14388
14388
  const [selectedValue, setSelectedValue] = useState(radioValue);
14389
14389
  /* This will ensure that value can be updated from the outside */
@@ -14448,7 +14448,7 @@ const DotRadioGroup = ({
14448
14448
  });
14449
14449
  };
14450
14450
 
14451
- const rootClassName$z = 'dot-switch';
14451
+ const rootClassName$A = 'dot-switch';
14452
14452
  const StyledSwitch = styled(Switch)`
14453
14453
  ${({
14454
14454
  theme
@@ -14475,7 +14475,7 @@ const DotSwitch = ({
14475
14475
  checked,
14476
14476
  className,
14477
14477
  color,
14478
- 'data-pendoid': dataPendoId = rootClassName$z,
14478
+ 'data-pendoid': dataPendoId = rootClassName$A,
14479
14479
  'data-testid': dataTestId,
14480
14480
  disabled = false,
14481
14481
  id,
@@ -14485,7 +14485,7 @@ const DotSwitch = ({
14485
14485
  onChange,
14486
14486
  size = 'medium'
14487
14487
  }) => {
14488
- const rootClasses = useStylesWithRootClass(rootClassName$z, className);
14488
+ const rootClasses = useStylesWithRootClass(rootClassName$A, className);
14489
14489
  const handleChange = event => {
14490
14490
  onChange && onChange(event);
14491
14491
  };
@@ -14515,7 +14515,7 @@ const DotSwitch = ({
14515
14515
  tabIndex: 0
14516
14516
  });
14517
14517
  return jsx(StyledFormControlLabel, {
14518
- className: rootClassName$U,
14518
+ className: rootClassName$V,
14519
14519
  control: switchControl,
14520
14520
  label: label,
14521
14521
  labelPlacement: labelPlacement
@@ -14836,7 +14836,7 @@ const DotDynamicForm = ({
14836
14836
  onChange,
14837
14837
  onSubmit
14838
14838
  }) => {
14839
- const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14839
+ const rootClasses = useStylesWithRootClass(rootClassName$D, className);
14840
14840
  // Memoize this operation so that is doesn't get executed each time this
14841
14841
  // component re-renders
14842
14842
  const initialFormState = useMemo(() => getInitialFormState(config, liveValidation), [config, liveValidation, getInitialFormState]);
@@ -15082,7 +15082,7 @@ const DotDynamicForm = ({
15082
15082
  });
15083
15083
  };
15084
15084
 
15085
- const rootClassName$y = 'dot-inline-edit';
15085
+ const rootClassName$z = 'dot-inline-edit';
15086
15086
  const editModeClassName = 'dot-edit-mode';
15087
15087
  const viewModeClassName = 'dot-view-mode';
15088
15088
  const placeholderClassName = 'dot-placeholder';
@@ -15094,7 +15094,7 @@ const StyledInlineEdit = styled.div`
15094
15094
  theme,
15095
15095
  fullWidth
15096
15096
  }) => css`
15097
- &.${rootClassName$y} {
15097
+ &.${rootClassName$z} {
15098
15098
  align-items: center;
15099
15099
  color: ${theme.palette.figma.typography.black};
15100
15100
  display: ${fullWidth ? 'flex' : 'inline-flex'};
@@ -15308,7 +15308,7 @@ const DotInlineEdit = ({
15308
15308
  bindings,
15309
15309
  charactersLimit,
15310
15310
  className,
15311
- 'data-pendoid': dataPendoId = rootClassName$y,
15311
+ 'data-pendoid': dataPendoId = rootClassName$z,
15312
15312
  'data-testid': dataTestId,
15313
15313
  fullWidth = true,
15314
15314
  hideActionButtons,
@@ -15344,7 +15344,7 @@ const DotInlineEdit = ({
15344
15344
  }
15345
15345
  }, [value]);
15346
15346
  const isSaveDisabled = checkIfEmptyValue(inputValue);
15347
- const rootClasses = useStylesWithRootClass(rootClassName$y, className, editing ? editModeClassName : '');
15347
+ const rootClasses = useStylesWithRootClass(rootClassName$z, className, editing ? editModeClassName : '');
15348
15348
  const handleShowTooltip = visible => {
15349
15349
  if (!editing) {
15350
15350
  setShowTooltip(visible);
@@ -15532,13 +15532,13 @@ const DotInlineEdit = ({
15532
15532
  });
15533
15533
  };
15534
15534
 
15535
- const rootClassName$x = 'dot-navigation-rail';
15535
+ const rootClassName$y = 'dot-navigation-rail';
15536
15536
  const StyledNavigationRail = styled.div`
15537
15537
  ${({
15538
15538
  theme,
15539
15539
  railItemPosition
15540
15540
  }) => css`
15541
- &.${rootClassName$x} {
15541
+ &.${rootClassName$y} {
15542
15542
  background: ${theme.palette.figma.neutral.elevated};
15543
15543
  border-left: 1px solid ${theme.palette.figma.border.default};
15544
15544
  display: flex;
@@ -15592,19 +15592,20 @@ const DotNavigationRail = ({
15592
15592
  ariaLabel,
15593
15593
  className,
15594
15594
  'data-testid': dataTestId,
15595
+ defaultIndex = 0,
15595
15596
  onChange,
15596
15597
  railItemPosition = 'flex-start',
15597
15598
  railItems,
15598
- selectedIndex = 0
15599
+ selectedIndex
15599
15600
  }) => {
15600
- const rootClasses = useStylesWithRootClass(rootClassName$x, className);
15601
- const [selectedItemIndex, setSelectedItemIndex] = useState(selectedIndex);
15601
+ const rootClasses = useStylesWithRootClass(rootClassName$y, className);
15602
+ const [selectedItemIndex, setSelectedItemIndex] = useState(selectedIndex !== null && selectedIndex !== void 0 ? selectedIndex : defaultIndex);
15602
15603
  /* Used to change selected index programmatically from the consumer component */
15603
15604
  useEffect(() => {
15604
- setSelectedItemIndex(selectedIndex);
15605
+ selectedIndex !== undefined && setSelectedItemIndex(selectedIndex);
15605
15606
  }, [selectedIndex]);
15606
15607
  const onItemSelect = index => () => {
15607
- setSelectedItemIndex(index);
15608
+ selectedIndex === undefined && setSelectedItemIndex(index);
15608
15609
  onChange && onChange(index);
15609
15610
  };
15610
15611
  const checkIfSelected = index => selectedItemIndex === index;
@@ -15648,12 +15649,12 @@ const DotNavigationRail = ({
15648
15649
  });
15649
15650
  };
15650
15651
 
15651
- const rootClassName$w = 'dot-skeleton';
15652
+ const rootClassName$x = 'dot-skeleton';
15652
15653
  const StyledSkeleton = styled(Skeleton)`
15653
15654
  ${({
15654
15655
  theme
15655
15656
  }) => css`
15656
- &.${rootClassName$w} {
15657
+ &.${rootClassName$x} {
15657
15658
  background-color: ${theme.palette.figma.border.darker};
15658
15659
  }
15659
15660
  `}
@@ -15668,7 +15669,7 @@ const DotSkeleton = ({
15668
15669
  width,
15669
15670
  variant
15670
15671
  }) => {
15671
- const rootClasses = useStylesWithRootClass(rootClassName$w, className);
15672
+ const rootClasses = useStylesWithRootClass(rootClassName$x, className);
15672
15673
  return jsx(StyledSkeleton, {
15673
15674
  animation: "wave",
15674
15675
  "aria-label": ariaLabel,
@@ -15683,12 +15684,12 @@ const DotSkeleton = ({
15683
15684
  });
15684
15685
  };
15685
15686
 
15686
- const rootClassName$v = 'dot-split-button-group';
15687
+ const rootClassName$w = 'dot-split-button-group';
15687
15688
  const StyledSplitButtonGroup = styled(ButtonGroup)`
15688
15689
  ${({
15689
15690
  theme
15690
15691
  }) => css`
15691
- &.${rootClassName$v} {
15692
+ &.${rootClassName$w} {
15692
15693
  &.outlined,
15693
15694
  &.text {
15694
15695
  .expand-button {
@@ -15754,7 +15755,7 @@ const DotSplitButton = ({
15754
15755
  autoFocus = false,
15755
15756
  ariaLabel,
15756
15757
  className,
15757
- 'data-pendoid': dataPendoId = rootClassName$v,
15758
+ 'data-pendoid': dataPendoId = rootClassName$w,
15758
15759
  'data-testid': dataTestId,
15759
15760
  defaultMainOptionKey,
15760
15761
  disabled = false,
@@ -15770,7 +15771,7 @@ const DotSplitButton = ({
15770
15771
  tooltipPlacement,
15771
15772
  type = 'primary'
15772
15773
  }) => {
15773
- const rootClasses = useStylesWithRootClass(rootClassName$v, className, type, disabled ? 'disabled' : '');
15774
+ const rootClasses = useStylesWithRootClass(rootClassName$w, className, type, disabled ? 'disabled' : '');
15774
15775
  const [open, setOpen] = useState(false);
15775
15776
  const anchorRef = useRef(null);
15776
15777
  const hasEmptyOptions = options.length === 0;
@@ -15838,7 +15839,7 @@ const DotSplitButton = ({
15838
15839
  });
15839
15840
  };
15840
15841
 
15841
- const rootClassName$u = 'dot-stepper';
15842
+ const rootClassName$v = 'dot-stepper';
15842
15843
  const stepListClassName = 'dot-stepper-list';
15843
15844
  const contentClassName = 'dot-stepper-content';
15844
15845
  const StyledStepper = styled.div`
@@ -15846,7 +15847,7 @@ const StyledStepper = styled.div`
15846
15847
  theme,
15847
15848
  offset
15848
15849
  }) => css`
15849
- &.${rootClassName$u} {
15850
+ &.${rootClassName$v} {
15850
15851
  display: flex;
15851
15852
  align-items: flex-start;
15852
15853
  padding: 0;
@@ -16161,7 +16162,7 @@ const DotStepper = ({
16161
16162
  return ['left', 'right'].includes(stepsPosition) ? stepsPosition : 'left';
16162
16163
  }
16163
16164
  };
16164
- const rootClasses = useStylesWithRootClass(rootClassName$u, getStepsPosition(), className);
16165
+ const rootClasses = useStylesWithRootClass(rootClassName$v, getStepsPosition(), className);
16165
16166
  const stepContentClasses = displayInitialContent || displayFinalContent ? 'center-content' : '';
16166
16167
  const stickyBottomClasses = useStylesWithRootClass('actions-container', isStickyBottom ? 'with-top-border' : '');
16167
16168
  const actionsClasses = useStylesWithRootClass('actions', displayInitialContent || displayFinalContent ? 'center-actions' : '');
@@ -16379,12 +16380,12 @@ const DotStepper = ({
16379
16380
  });
16380
16381
  };
16381
16382
 
16382
- const rootClassName$t = 'dot-table-pagination-custom-actions';
16383
+ const rootClassName$u = 'dot-table-pagination-custom-actions';
16383
16384
  const StyledTablePaginationCustomActions = styled.div`
16384
16385
  ${({
16385
16386
  theme
16386
16387
  }) => css`
16387
- &.${rootClassName$t} {
16388
+ &.${rootClassName$u} {
16388
16389
  margin-left: ${theme.spacing(2.5)};
16389
16390
  display: flex;
16390
16391
  align-items: center;
@@ -16508,7 +16509,7 @@ const DotTablePaginationCustomActions = props => {
16508
16509
  });
16509
16510
  };
16510
16511
  return jsxs(StyledTablePaginationCustomActions, {
16511
- className: rootClassName$t,
16512
+ className: rootClassName$u,
16512
16513
  children: [jsx(DotIconButton, {
16513
16514
  ariaLabel: "previous page",
16514
16515
  className: "page-control-button",
@@ -16555,7 +16556,7 @@ const DotTablePaginationCustomActions = props => {
16555
16556
  });
16556
16557
  };
16557
16558
 
16558
- const rootClassName$s = 'dot-table-pagination';
16559
+ const rootClassName$t = 'dot-table-pagination';
16559
16560
  // TO-DO: Determine how to apply styles to standard popper element
16560
16561
  const paginationItemClassName = 'dot-pagination-menu-item';
16561
16562
  const StyledTablePagination = styled.div`
@@ -16563,7 +16564,7 @@ const StyledTablePagination = styled.div`
16563
16564
  theme,
16564
16565
  typography
16565
16566
  }) => css`
16566
- .${rootClassName$s} {
16567
+ .${rootClassName$t} {
16567
16568
  border-top: 1px solid ${theme.palette.figma.border.default};
16568
16569
 
16569
16570
  .dot-caption,
@@ -16606,7 +16607,7 @@ const DotTablePagination = ({
16606
16607
  showJumpToPageActionButton = false,
16607
16608
  typography = 'subtitle2'
16608
16609
  }) => {
16609
- const rootClasses = useStylesWithRootClass(rootClassName$s, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16610
+ const rootClasses = useStylesWithRootClass(rootClassName$t, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16610
16611
  const handlePageChange = (event, newPage) => {
16611
16612
  onPageChange && onPageChange(newPage);
16612
16613
  };
@@ -16614,7 +16615,7 @@ const DotTablePagination = ({
16614
16615
  onRowsPerPageChange && onRowsPerPageChange(evt);
16615
16616
  };
16616
16617
  return /* Container is used to pass 'typography' prop to a styled component */jsx(StyledTablePagination, {
16617
- className: rootClassName$s,
16618
+ className: rootClassName$t,
16618
16619
  typography: typography,
16619
16620
  children: jsx(TablePagination, {
16620
16621
  ActionsComponent: showJumpToPageActionButton ? DotTablePaginationCustomActions : undefined,
@@ -16640,14 +16641,14 @@ const DotTablePagination = ({
16640
16641
  });
16641
16642
  };
16642
16643
 
16643
- const rootClassName$r = 'dot-table';
16644
+ const rootClassName$s = 'dot-table';
16644
16645
  const MULTISELECT_COLUMN_WIDTH = 52;
16645
16646
  const COLLAPSIBLE_COLUMN_WIDTH = 42;
16646
16647
  const StyledPaper$1 = styled(Paper)`
16647
16648
  ${({
16648
16649
  theme
16649
16650
  }) => css`
16650
- &.${rootClassName$r} {
16651
+ &.${rootClassName$s} {
16651
16652
  background: ${theme.palette.figma.background.level0.componentsBackground};
16652
16653
  border: 1px solid ${theme.palette.figma.border.default};
16653
16654
  overflow: hidden;
@@ -16790,10 +16791,10 @@ const StyledMenu$1 = styled(DotMenu)`
16790
16791
  }
16791
16792
  `;
16792
16793
 
16793
- const rootClassName$q = 'dot-tbody';
16794
+ const rootClassName$r = 'dot-tbody';
16794
16795
  const StyledTableBody = styled(TableBody)`
16795
16796
  ${() => css`
16796
- &.${rootClassName$q} {
16797
+ &.${rootClassName$r} {
16797
16798
  tr:last-child td {
16798
16799
  border-bottom: none;
16799
16800
  }
@@ -16988,12 +16989,12 @@ function stableSort(array, comparator) {
16988
16989
  return stabilizedThis.map(el => el[0]);
16989
16990
  }
16990
16991
 
16991
- const rootClassName$p = 'dot-td';
16992
+ const rootClassName$q = 'dot-td';
16992
16993
  const StyledTableCell = styled(TableCell)`
16993
16994
  ${({
16994
16995
  theme
16995
16996
  }) => css`
16996
- &.${rootClassName$p} {
16997
+ &.${rootClassName$q} {
16997
16998
  padding-top: 0;
16998
16999
  padding-bottom: 0;
16999
17000
 
@@ -17088,7 +17089,7 @@ const DotBodyCell = ({
17088
17089
  const isOverflowing = actionTableCellWidth > (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current.clientWidth);
17089
17090
  setShowMenu(isOverflowing);
17090
17091
  };
17091
- const rootClasses = useStylesWithRootClass(rootClassName$p, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17092
+ const rootClasses = useStylesWithRootClass(rootClassName$q, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17092
17093
  const getTableCellValue = () => {
17093
17094
  if (Array.isArray(value)) {
17094
17095
  return jsx("div", {
@@ -17156,13 +17157,13 @@ const EmptyDotRow = ({
17156
17157
  const TABLE_TYPOGRAPHY_VARIANT = 'body1';
17157
17158
  const TABLE_DEFAULT_SKELETON_ROWS = 4;
17158
17159
 
17159
- const rootClassName$o = 'dot-th-checkbox';
17160
+ const rootClassName$p = 'dot-th-checkbox';
17160
17161
  const styledTableHeaderCheckboxElement = (isCell = true) => {
17161
17162
  return styled(isCell ? TableCell : 'div')`
17162
17163
  ${({
17163
17164
  theme
17164
17165
  }) => css`
17165
- &.${rootClassName$o} {
17166
+ &.${rootClassName$p} {
17166
17167
  background: ${theme.palette.figma.background.level0.componentsBackground};
17167
17168
  padding: ${theme.spacing(0, 1)};
17168
17169
  width: ${theme.spacing(5)};
@@ -17190,7 +17191,7 @@ const DotHeaderCheckboxCell = ({
17190
17191
  isFromTableSelectionToolbar,
17191
17192
  multiSelectHeader
17192
17193
  }) => {
17193
- const rootClasses = useStylesWithRootClass(rootClassName$o, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17194
+ const rootClasses = useStylesWithRootClass(rootClassName$p, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17194
17195
  const [multiSelectState, setMultiSelectState] = useState('unchecked');
17195
17196
  const {
17196
17197
  onCheckAllChange,
@@ -17240,12 +17241,12 @@ const DotHeaderCheckboxCell = ({
17240
17241
  });
17241
17242
  };
17242
17243
 
17243
- const rootClassName$n = 'dot-th';
17244
+ const rootClassName$o = 'dot-th';
17244
17245
  const StyledTableHeaderCell = styled(TableCell)`
17245
17246
  ${({
17246
17247
  theme
17247
17248
  }) => css`
17248
- &.${rootClassName$n} {
17249
+ &.${rootClassName$o} {
17249
17250
  background: ${theme.palette.figma.background.level0.componentsBackground};
17250
17251
 
17251
17252
  &.MuiTableCell-alignCenter > span.MuiTableSortLabel-root {
@@ -17285,7 +17286,7 @@ const DotHeaderCell = ({
17285
17286
  value,
17286
17287
  width
17287
17288
  }) => {
17288
- const rootClasses = useStylesWithRootClass(rootClassName$n, pinned ? 'dot-pinned-cell' : '', className);
17289
+ const rootClasses = useStylesWithRootClass(rootClassName$o, pinned ? 'dot-pinned-cell' : '', className);
17289
17290
  const headerTitle = isString$2(value) ? value : null;
17290
17291
  const formattedValue = getFormattedTableCellValue(value, typography);
17291
17292
  const getCellValue = () => {
@@ -17376,12 +17377,12 @@ const DotHeaderRow = ({
17376
17377
  });
17377
17378
  };
17378
17379
 
17379
- const rootClassName$m = 'dot-tr';
17380
+ const rootClassName$n = 'dot-tr';
17380
17381
  const StyledTableRowStyles = styled(TableRow)`
17381
17382
  ${({
17382
17383
  theme
17383
17384
  }) => css`
17384
- &.${rootClassName$m} {
17385
+ &.${rootClassName$n} {
17385
17386
  &.selected {
17386
17387
  &,
17387
17388
  .dot-td.dot-pinned-cell,
@@ -17607,12 +17608,12 @@ const ExpandCollapseCell = ({
17607
17608
  });
17608
17609
  };
17609
17610
 
17610
- const rootClassName$l = 'dot-td-checkbox';
17611
+ const rootClassName$m = 'dot-td-checkbox';
17611
17612
  const StyledTableBodyCheckboxCell = styled(TableCell)`
17612
17613
  ${({
17613
17614
  theme
17614
17615
  }) => css`
17615
- &.${rootClassName$l} {
17616
+ &.${rootClassName$m} {
17616
17617
  padding: ${theme.spacing(0, 1)};
17617
17618
  width: ${theme.spacing(5)};
17618
17619
 
@@ -17631,7 +17632,7 @@ const DotBodyCheckboxCell = ({
17631
17632
  onChange,
17632
17633
  rowId
17633
17634
  }) => {
17634
- const rootClasses = useStylesWithRootClass(rootClassName$l, className);
17635
+ const rootClasses = useStylesWithRootClass(rootClassName$m, className);
17635
17636
  const [isCheckboxChecked, setIsCheckboxChecked] = useState(isChecked);
17636
17637
  /** This effect is used when 'checked' status is changed from the outside */
17637
17638
  useEffect(() => {
@@ -17684,7 +17685,7 @@ const DotTableRow = ({
17684
17685
  selectedTableRowIds
17685
17686
  } = multiSelectBody || {};
17686
17687
  const isCheckboxChecked = selectedTableRowIds && selectedTableRowIds.includes(id) || false;
17687
- const rootClasses = useStylesWithRootClass(rootClassName$m, isCheckboxChecked ? 'selected' : undefined, className);
17688
+ const rootClasses = useStylesWithRootClass(rootClassName$n, isCheckboxChecked ? 'selected' : undefined, className);
17688
17689
  const renderCheckboxCell = () => {
17689
17690
  return jsx(DotBodyCheckboxCell, {
17690
17691
  ariaLabel: "Click to select this row",
@@ -17805,7 +17806,7 @@ const DotTableBody = ({
17805
17806
  return jsxs(Fragment, {
17806
17807
  children: [jsx(StyledTableBody, {
17807
17808
  classes: {
17808
- root: rootClassName$q
17809
+ root: rootClassName$r
17809
17810
  },
17810
17811
  children: getTableBodyRows()
17811
17812
  }), jsx(StyledMenu$1, {
@@ -17820,12 +17821,12 @@ const DotTableBody = ({
17820
17821
  });
17821
17822
  };
17822
17823
 
17823
- const rootClassName$k = 'dot-table-selection-toolbar';
17824
+ const rootClassName$l = 'dot-table-selection-toolbar';
17824
17825
  const StyledTableSelectionToolbar = styled(DotActionToolbar)`
17825
17826
  ${({
17826
17827
  theme
17827
17828
  }) => css`
17828
- &.${rootClassName$k} {
17829
+ &.${rootClassName$l} {
17829
17830
  display: flex;
17830
17831
  align-items: center;
17831
17832
  justify-content: space-between;
@@ -17880,7 +17881,7 @@ const DotTableSelectionToolbar = ({
17880
17881
  multiSelectHeader,
17881
17882
  selectedRowsNumber
17882
17883
  }) => {
17883
- const rootClasses = useStylesWithRootClass(rootClassName$k, className);
17884
+ const rootClasses = useStylesWithRootClass(rootClassName$l, className);
17884
17885
  return jsxs(StyledTableSelectionToolbar, {
17885
17886
  ariaLabel: ariaLabel,
17886
17887
  className: rootClasses,
@@ -17966,7 +17967,7 @@ const DotTable = ({
17966
17967
  setPage(page);
17967
17968
  }
17968
17969
  }, [page]);
17969
- const rootClasses = useStylesWithRootClass(rootClassName$r, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
17970
+ const rootClasses = useStylesWithRootClass(rootClassName$s, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
17970
17971
  const updateData = (newOrder, newOrderBy, newPage, newRowsPerPage) => {
17971
17972
  const newData = stableSort(data, getComparator(newOrder, newOrderBy));
17972
17973
  setPageData(newRowsPerPage ? newData.slice(newPage * newRowsPerPage, newPage * newRowsPerPage + newRowsPerPage) : newData);
@@ -18169,7 +18170,7 @@ const DotTableAction = ({
18169
18170
  });
18170
18171
  };
18171
18172
 
18172
- const rootClassName$j = 'dot-table-actions';
18173
+ const rootClassName$k = 'dot-table-actions';
18173
18174
  const TableActionsContainer = styled.div`
18174
18175
  overflow: hidden;
18175
18176
  text-overflow: clip;
@@ -18259,7 +18260,7 @@ const DotTableActions = ({
18259
18260
  };
18260
18261
  return jsxs(Fragment, {
18261
18262
  children: [jsxs(TableActionsContainer, {
18262
- className: rootClassName$j,
18263
+ className: rootClassName$k,
18263
18264
  ref: wrapperRef,
18264
18265
  children: [!showMenu && renderTableActions(), (showMenu || actions.length > 2) && jsx(DotIconButton, {
18265
18266
  ariaLabel: "more options",
@@ -18283,12 +18284,12 @@ const DotTableActions = ({
18283
18284
  });
18284
18285
  };
18285
18286
 
18286
- const rootClassName$i = 'dot-tabs';
18287
+ const rootClassName$j = 'dot-tabs';
18287
18288
  const StyledTabs = styled(Tabs)`
18288
18289
  ${({
18289
18290
  theme
18290
18291
  }) => css`
18291
- &.${rootClassName$i} {
18292
+ &.${rootClassName$j} {
18292
18293
  &.MuiTabs-root {
18293
18294
  width: 100%;
18294
18295
  }
@@ -18341,7 +18342,7 @@ const DotTabs = ({
18341
18342
  centered = false,
18342
18343
  className,
18343
18344
  color,
18344
- 'data-pendoid': dataPendoId = rootClassName$i,
18345
+ 'data-pendoid': dataPendoId = rootClassName$j,
18345
18346
  'data-testid': dataTestId,
18346
18347
  initialValue = 0,
18347
18348
  onChange,
@@ -18350,7 +18351,7 @@ const DotTabs = ({
18350
18351
  variant = 'standard'
18351
18352
  }) => {
18352
18353
  const [value, setValue] = useState(initialValue);
18353
- const rootClasses = useStylesWithRootClass(rootClassName$i, className);
18354
+ const rootClasses = useStylesWithRootClass(rootClassName$j, className);
18354
18355
  useEffect(() => {
18355
18356
  if (color) {
18356
18357
  console.warn('DEPRECATED: `color` prop is deprecated in `<DotTabs>`, please remove any usage of it in your application.');
@@ -18404,9 +18405,9 @@ const DotTabs = ({
18404
18405
  });
18405
18406
  };
18406
18407
 
18407
- const rootClassName$h = 'dot-file-upload';
18408
- const containerClassName = `${rootClassName$h}-container`;
18409
- const dropZoneClassName = `${rootClassName$h}-drop-zone`;
18408
+ const rootClassName$i = 'dot-file-upload';
18409
+ const containerClassName = `${rootClassName$i}-container`;
18410
+ const dropZoneClassName = `${rootClassName$i}-drop-zone`;
18410
18411
  const StyledFileUploadContainer = styled.div`
18411
18412
  ${({
18412
18413
  theme
@@ -18426,7 +18427,7 @@ const StyledFileUpload = styled.div`
18426
18427
  ${({
18427
18428
  theme
18428
18429
  }) => css`
18429
- &.${rootClassName$h}.${dropZoneClassName} {
18430
+ &.${rootClassName$i}.${dropZoneClassName} {
18430
18431
  align-items: center;
18431
18432
  background: ${theme.palette.figma.background.level0.bckgGray};
18432
18433
  border: 2px dashed ${theme.palette.figma.border.defaultButton};
@@ -18458,12 +18459,12 @@ const StyledFileUpload = styled.div`
18458
18459
  `}
18459
18460
  `;
18460
18461
 
18461
- const rootClassName$g = 'dot-file-list-item';
18462
+ const rootClassName$h = 'dot-file-list-item';
18462
18463
  const StyledFileListItem = styled(StyledListItem)`
18463
18464
  ${({
18464
18465
  theme
18465
18466
  }) => css`
18466
- &.${rootClassName$g} {
18467
+ &.${rootClassName$h} {
18467
18468
  border-bottom: 1px solid ${theme.palette.figma.border.default};
18468
18469
  &:hover {
18469
18470
  cursor: pointer;
@@ -18475,7 +18476,7 @@ const StyledFileListItem = styled(StyledListItem)`
18475
18476
  outline: none;
18476
18477
  }
18477
18478
 
18478
- &.file-success:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18479
+ &.file-success:not(:hover, :focus-visible) .${rootClassName$h}-end-icon {
18479
18480
  i:before {
18480
18481
  color: ${theme.palette.figma.success.normal};
18481
18482
  }
@@ -18485,7 +18486,7 @@ const StyledFileListItem = styled(StyledListItem)`
18485
18486
  }
18486
18487
  }
18487
18488
 
18488
- &.file-error:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18489
+ &.file-error:not(:hover, :focus-visible) .${rootClassName$h}-end-icon {
18489
18490
  i:before,
18490
18491
  .MuiListItemText-secondary {
18491
18492
  color: ${theme.palette.figma.destructive.normal};
@@ -18527,7 +18528,7 @@ const DotFileListItem = ({
18527
18528
  onKeyPress,
18528
18529
  tabIndex = 0
18529
18530
  }) => {
18530
- const rootClasses = useStylesWithRootClass(rootClassName$g, className, error ? 'file-error' : 'file-success');
18531
+ const rootClasses = useStylesWithRootClass(rootClassName$h, className, error ? 'file-error' : 'file-success');
18531
18532
  const defaultIcon = error ? 'error-solid' : 'check-solid';
18532
18533
  const [endIcon, setEndIcon] = useState(defaultIcon);
18533
18534
  const handleItemClick = clickedFile => _event => onClick === null || onClick === void 0 ? void 0 : onClick(clickedFile);
@@ -18560,7 +18561,7 @@ const DotFileListItem = ({
18560
18561
  })]
18561
18562
  }), jsx(DotIconButton, {
18562
18563
  ariaLabel: "delete file",
18563
- className: `${rootClassName$g}-end-icon`,
18564
+ className: `${rootClassName$h}-end-icon`,
18564
18565
  "data-testid": dataTestId && `${dataTestId}-end-icon`,
18565
18566
  disabled: disableDelete,
18566
18567
  iconId: endIcon,
@@ -18684,7 +18685,7 @@ const DotFileUpload = ({
18684
18685
  buttonOnly = false,
18685
18686
  className,
18686
18687
  contentErrors,
18687
- 'data-pendoid': dataPendoId = rootClassName$h,
18688
+ 'data-pendoid': dataPendoId = rootClassName$i,
18688
18689
  'data-testid': dataTestId,
18689
18690
  disabled,
18690
18691
  hideFilesList,
@@ -18697,7 +18698,7 @@ const DotFileUpload = ({
18697
18698
  const [uploadedFiles, setUploadedFiles] = useState([]);
18698
18699
  const [hasMaxFilesError, setHasMaxFilesError] = useState(false);
18699
18700
  const isUploadDisabled = disabled || maxFiles && uploadedFiles.length >= maxFiles;
18700
- const rootClasses = useStylesWithRootClass(rootClassName$h, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18701
+ const rootClasses = useStylesWithRootClass(rootClassName$i, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18701
18702
  const maxFilesClasses = useStylesWithRootClass('dot-max-files-message', hasMaxFilesError ? 'dot-max-files-reached' : '');
18702
18703
  const allowMultiple = maxFiles === undefined || maxFiles > 1;
18703
18704
  const setNewlyUploadedFiles = (acceptedFiles, fileRejections) => {
@@ -18769,13 +18770,13 @@ const DotFileUpload = ({
18769
18770
  });
18770
18771
  };
18771
18772
 
18772
- const rootClassName$f = 'dot-fab';
18773
+ const rootClassName$g = 'dot-fab';
18773
18774
  const StyledFab = styled(Fab)`
18774
18775
  ${({
18775
18776
  theme,
18776
18777
  color
18777
18778
  }) => css`
18778
- &.${rootClassName$f} {
18779
+ &.${rootClassName$g} {
18779
18780
  ${color === 'default' ? css`
18780
18781
  background-color: ${theme.palette.figma.typography.white};
18781
18782
  color: ${theme.palette.figma.typography.black};
@@ -18815,7 +18816,7 @@ const DotFab = ({
18815
18816
  children,
18816
18817
  className,
18817
18818
  color = 'default',
18818
- 'data-pendoid': dataPendoId = rootClassName$f,
18819
+ 'data-pendoid': dataPendoId = rootClassName$g,
18819
18820
  'data-testid': dataTestId,
18820
18821
  disableRipple = false,
18821
18822
  disabled = false,
@@ -18823,7 +18824,7 @@ const DotFab = ({
18823
18824
  size = 'large',
18824
18825
  variant = 'circular'
18825
18826
  }) => {
18826
- const rootClasses = useStylesWithRootClass(rootClassName$f, className);
18827
+ const rootClasses = useStylesWithRootClass(rootClassName$g, className);
18827
18828
  return jsx(StyledFab, {
18828
18829
  "aria-label": ariaLabel,
18829
18830
  color: color,
@@ -18839,12 +18840,12 @@ const DotFab = ({
18839
18840
  });
18840
18841
  };
18841
18842
 
18842
- const rootClassName$e = 'dot-divider';
18843
+ const rootClassName$f = 'dot-divider';
18843
18844
  const StyledDivider = styled(Divider)`
18844
18845
  ${({
18845
18846
  theme
18846
18847
  }) => css`
18847
- &.${rootClassName$e} {
18848
+ &.${rootClassName$f} {
18848
18849
  color: ${theme.palette.figma.border.darker};
18849
18850
 
18850
18851
  .MuiDivider-light {
@@ -18864,7 +18865,7 @@ const DotDivider = ({
18864
18865
  orientation,
18865
18866
  variant
18866
18867
  }) => {
18867
- const rootClasses = useStylesWithRootClass(rootClassName$e, className);
18868
+ const rootClasses = useStylesWithRootClass(rootClassName$f, className);
18868
18869
  return jsx(StyledDivider, {
18869
18870
  absolute: absolute,
18870
18871
  "aria-label": ariaLabel,
@@ -18893,7 +18894,7 @@ const DotPopper = ({
18893
18894
  placement
18894
18895
  }) => {
18895
18896
  const [arrowRef, setArrowRef] = useState(null);
18896
- const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
18897
+ const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
18897
18898
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
18898
18899
  const handleClickAway = event => {
18899
18900
  if (onClickAway && (!anchorEl || !anchorEl.contains(event.currentTarget))) {
@@ -18958,14 +18959,14 @@ const getListItemLayout = listItems => {
18958
18959
  }));
18959
18960
  };
18960
18961
 
18961
- const rootClassName$d = 'dot-draggable-list';
18962
+ const rootClassName$e = 'dot-draggable-list';
18962
18963
  const listItemClassName = 'dot-draggable-list-item';
18963
18964
  const StyledDraggableList = styled.div`
18964
18965
  ${({
18965
18966
  theme,
18966
18967
  draggableHandle
18967
18968
  }) => css`
18968
- &.${rootClassName$d} {
18969
+ &.${rootClassName$e} {
18969
18970
  padding: ${theme.spacing(1, 0)};
18970
18971
  position: relative;
18971
18972
 
@@ -19000,7 +19001,7 @@ const ListGridLayout = WidthProvider(GridLayout);
19000
19001
  const DotDraggableList = ({
19001
19002
  ariaLabel,
19002
19003
  className,
19003
- 'data-pendoid': dataPendoId = rootClassName$d,
19004
+ 'data-pendoid': dataPendoId = rootClassName$e,
19004
19005
  'data-testid': dataTestId,
19005
19006
  disableDrag,
19006
19007
  draggableHandle,
@@ -19009,7 +19010,7 @@ const DotDraggableList = ({
19009
19010
  rowHeight = DEFAULT_LIST_ITEM_HEIGHT,
19010
19011
  width = DEFAULT_LIST_WIDTH
19011
19012
  }) => {
19012
- const rootClasses = useStylesWithRootClass(rootClassName$d, className, draggableHandle ? 'with-draggable-handle' : '');
19013
+ const rootClasses = useStylesWithRootClass(rootClassName$e, className, draggableHandle ? 'with-draggable-handle' : '');
19013
19014
  const listItemClasses = useStylesWithRootClass(listItemClassName, draggableHandle && !disableDrag ? 'with-handle-grab-cursor' : '', draggableHandle || disableDrag ? 'with-default-cursor' : '');
19014
19015
  const listWidth = isNumber(width) ? `${width}px` : width;
19015
19016
  const [orderedItems, setOrderedItems] = useState([]);
@@ -22285,7 +22286,7 @@ cjs.exports.DraggableCore = DraggableCore;
22285
22286
  var cjsExports = cjs.exports;
22286
22287
  var Draggable$1 = /*@__PURE__*/getDefaultExportFromCjs(cjsExports);
22287
22288
 
22288
- const rootClassName$c = 'dot-draggable-window';
22289
+ const rootClassName$d = 'dot-draggable-window';
22289
22290
  const defaultWidth = '600px';
22290
22291
  const defaultHeight = '324px';
22291
22292
  const StyledPaper = styled(Paper)`
@@ -22294,7 +22295,7 @@ const StyledPaper = styled(Paper)`
22294
22295
  $maxHeight,
22295
22296
  $maxWidth
22296
22297
  }) => css`
22297
- &.${rootClassName$c} {
22298
+ &.${rootClassName$d} {
22298
22299
  max-width: ${$maxWidth !== null && $maxWidth !== void 0 ? $maxWidth : defaultWidth};
22299
22300
  max-height: ${$maxHeight !== null && $maxHeight !== void 0 ? $maxHeight : defaultHeight};
22300
22301
  ${$maxWidth ? '' : `width: ${defaultWidth};`}
@@ -22332,7 +22333,7 @@ const StyledPaper = styled(Paper)`
22332
22333
  const DotDraggableWindow = ({
22333
22334
  ariaLabel,
22334
22335
  anchorEl,
22335
- 'data-pendoid': dataPendoId = rootClassName$c,
22336
+ 'data-pendoid': dataPendoId = rootClassName$d,
22336
22337
  'data-testid': dataTestId,
22337
22338
  className,
22338
22339
  children,
@@ -22341,7 +22342,7 @@ const DotDraggableWindow = ({
22341
22342
  onClose,
22342
22343
  title
22343
22344
  }) => {
22344
- const rootClasses = useStylesWithRootClass(rootClassName$c, className);
22345
+ const rootClasses = useStylesWithRootClass(rootClassName$d, className);
22345
22346
  const nodeRef = useRef(null);
22346
22347
  return jsx(Draggable$1, {
22347
22348
  bounds: "body",
@@ -22383,12 +22384,12 @@ const DotDraggableWindow = ({
22383
22384
  });
22384
22385
  };
22385
22386
 
22386
- const rootClassName$b = 'dot-linear-progress';
22387
+ const rootClassName$c = 'dot-linear-progress';
22387
22388
  const StyledLinearProgress = styled(LinearProgress)`
22388
22389
  ${({
22389
22390
  theme
22390
22391
  }) => css`
22391
- &.${rootClassName$b} {
22392
+ &.${rootClassName$c} {
22392
22393
  &.MuiLinearProgress-colorError {
22393
22394
  color: ${theme.palette.figma.inProgress.error};
22394
22395
  }
@@ -22420,7 +22421,7 @@ const DotLinearProgress = ({
22420
22421
  valueBuffer,
22421
22422
  variant = 'indeterminate'
22422
22423
  }) => {
22423
- const rootClasses = useStylesWithRootClass(rootClassName$b, className);
22424
+ const rootClasses = useStylesWithRootClass(rootClassName$c, className);
22424
22425
  useEffect(() => {
22425
22426
  if (!ariaLabel) {
22426
22427
  console.warn('a11y: DotLinearProgress must have an ariaLabel to describe the progress bar');
@@ -22471,7 +22472,7 @@ const DotDatePicker = ({
22471
22472
  autoFocus = false,
22472
22473
  className,
22473
22474
  closeOnSelect = true,
22474
- 'data-pendoid': dataPendoId = rootClassName$F,
22475
+ 'data-pendoid': dataPendoId = rootClassName$G,
22475
22476
  'data-testid': dataTestId,
22476
22477
  defaultValue,
22477
22478
  disableOpenPicker,
@@ -22512,7 +22513,7 @@ const DotDatePicker = ({
22512
22513
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22513
22514
  const isInputReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22514
22515
  const inputRef = useRef(null);
22515
- const rootClasses = useStylesWithRootClass(rootClassName$F, className, isInputReadOnly ? 'read-only' : '');
22516
+ const rootClasses = useStylesWithRootClass(rootClassName$G, className, isInputReadOnly ? 'read-only' : '');
22516
22517
  const containerClasses = useStylesWithRootClass(containerClassName$2, fullWidth ? 'full-width' : '', className);
22517
22518
  const focusInput = ref => {
22518
22519
  setTimeout(() => {
@@ -22733,7 +22734,7 @@ const DotTimePicker = ({
22733
22734
  ariaLabel,
22734
22735
  autoFocus = false,
22735
22736
  className,
22736
- 'data-pendoid': dataPendoId = rootClassName$E,
22737
+ 'data-pendoid': dataPendoId = rootClassName$F,
22737
22738
  'data-testid': dataTestId,
22738
22739
  defaultValue,
22739
22740
  disableOpenPicker = false,
@@ -22765,7 +22766,7 @@ const DotTimePicker = ({
22765
22766
  const hasValueWithoutChangeHandler = value !== undefined && onChange === undefined;
22766
22767
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22767
22768
  const isComponentReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22768
- const rootClasses = useStylesWithRootClass(rootClassName$E, className, isComponentReadOnly ? 'read-only' : '');
22769
+ const rootClasses = useStylesWithRootClass(rootClassName$F, className, isComponentReadOnly ? 'read-only' : '');
22769
22770
  const containerClasses = useStylesWithRootClass(containerClassName$1, fullWidth ? 'full-width' : '', className);
22770
22771
  const inputRef = useRef(null);
22771
22772
  const [isPickerOpened, setIsPickerOpened] = useState(false);
@@ -23061,13 +23062,13 @@ const DotTimePicker = ({
23061
23062
  });
23062
23063
  };
23063
23064
 
23064
- const rootClassName$a = 'dot-carousel';
23065
+ const rootClassName$b = 'dot-carousel';
23065
23066
  const StyledCarousel = styled.div`
23066
23067
  ${({
23067
23068
  backgroundColor,
23068
23069
  theme
23069
23070
  }) => css`
23070
- &.${rootClassName$a} {
23071
+ &.${rootClassName$b} {
23071
23072
  display: flex;
23072
23073
  flex-direction: column;
23073
23074
  justify-content: space-between;
@@ -23167,7 +23168,7 @@ const DotCarousel = ({
23167
23168
  progressIndicator,
23168
23169
  showPagesButtons = true
23169
23170
  }) => {
23170
- const rootClasses = useStylesWithRootClass(rootClassName$a, className, backgroundColor ? 'with-background-color' : '');
23171
+ const rootClasses = useStylesWithRootClass(rootClassName$b, className, backgroundColor ? 'with-background-color' : '');
23171
23172
  const rightNavigationButtonClasses = useStylesWithRootClass('carousel-right-arrow', displayNavigationButtons);
23172
23173
  const leftNavigationButtonClasses = useStylesWithRootClass('carousel-left-arrow', displayNavigationButtons);
23173
23174
  const createUuids = () => {
@@ -23318,13 +23319,13 @@ const DotCarousel = ({
23318
23319
  });
23319
23320
  };
23320
23321
 
23321
- const rootClassName$9 = 'dot-sticky-with-border';
23322
+ const rootClassName$a = 'dot-sticky-with-border';
23322
23323
  const StyledStickyWithBorder = styled.div`
23323
23324
  ${({
23324
23325
  pinnedStickyBorder,
23325
23326
  unpinnedStickyBorder
23326
23327
  }) => css`
23327
- &.${rootClassName$9} {
23328
+ &.${rootClassName$a} {
23328
23329
  position: sticky;
23329
23330
  top: -1px;
23330
23331
 
@@ -23352,7 +23353,7 @@ const DotStickyWithBorder = ({
23352
23353
  }) => {
23353
23354
  const [isPinned, setIsPinned] = useState(false);
23354
23355
  const ref = useRef(undefined);
23355
- const rootClasses = useStylesWithRootClass(rootClassName$9, className, isPinned ? 'pinned' : 'unpinned');
23356
+ const rootClasses = useStylesWithRootClass(rootClassName$a, className, isPinned ? 'pinned' : 'unpinned');
23356
23357
  useEffect(() => {
23357
23358
  const element = ref.current;
23358
23359
  const observer = new IntersectionObserver(([e]) => setIsPinned(e.intersectionRatio < 1), {
@@ -23374,18 +23375,18 @@ const DotStickyWithBorder = ({
23374
23375
  });
23375
23376
  };
23376
23377
 
23377
- const rootClassName$8 = 'dot--board';
23378
+ const rootClassName$9 = 'dot--board';
23378
23379
  const classNames$5 = {
23379
- root: rootClassName$8,
23380
- spacingNormal: `${rootClassName$8}-normal`,
23381
- spacingDense: `${rootClassName$8}-dense`,
23382
- loading: `${rootClassName$8}-loading`
23380
+ root: rootClassName$9,
23381
+ spacingNormal: `${rootClassName$9}-normal`,
23382
+ spacingDense: `${rootClassName$9}-dense`,
23383
+ loading: `${rootClassName$9}-loading`
23383
23384
  };
23384
23385
  const StyledBoard = styled.div`
23385
23386
  ${({
23386
23387
  theme
23387
23388
  }) => css`
23388
- &.${rootClassName$8} {
23389
+ &.${rootClassName$9} {
23389
23390
  display: flex;
23390
23391
  overflow-x: auto;
23391
23392
  flex: 1;
@@ -23393,7 +23394,7 @@ const StyledBoard = styled.div`
23393
23394
  }
23394
23395
 
23395
23396
  @media (max-width: 650px) {
23396
- &.${rootClassName$8} {
23397
+ &.${rootClassName$9} {
23397
23398
  justify-content: center;
23398
23399
  }
23399
23400
  }
@@ -23494,18 +23495,18 @@ const Board = React__default.forwardRef(({
23494
23495
  });
23495
23496
  });
23496
23497
 
23497
- const rootClassName$7 = 'dot--board-column';
23498
+ const rootClassName$8 = 'dot--board-column';
23498
23499
  const classNames$4 = {
23499
- root: rootClassName$7,
23500
- spacingNormal: `${rootClassName$7}-normal`,
23501
- spacingDense: `${rootClassName$7}-dense`,
23502
- collapse: `${rootClassName$7}-collapse`
23500
+ root: rootClassName$8,
23501
+ spacingNormal: `${rootClassName$8}-normal`,
23502
+ spacingDense: `${rootClassName$8}-dense`,
23503
+ collapse: `${rootClassName$8}-collapse`
23503
23504
  };
23504
23505
  const StyledBoardColumn = styled.div`
23505
23506
  ${({
23506
23507
  theme
23507
23508
  }) => css`
23508
- &.${rootClassName$7} {
23509
+ &.${rootClassName$8} {
23509
23510
  display: flex;
23510
23511
  flex-direction: column;
23511
23512
  overflow: hidden;
@@ -23596,13 +23597,13 @@ const BoardColumn = React__default.forwardRef(({
23596
23597
  });
23597
23598
  });
23598
23599
 
23599
- const rootClassName$6 = 'dot--board-column-header';
23600
+ const rootClassName$7 = 'dot--board-column-header';
23600
23601
  const classNames$3 = {
23601
- root: rootClassName$6,
23602
- spacingNormal: `${rootClassName$6}-normal`,
23603
- spacingDense: `${rootClassName$6}-dense`,
23604
- colorBar: `${rootClassName$6}-color-bar`,
23605
- title: `${rootClassName$6}-title`
23602
+ root: rootClassName$7,
23603
+ spacingNormal: `${rootClassName$7}-normal`,
23604
+ spacingDense: `${rootClassName$7}-dense`,
23605
+ colorBar: `${rootClassName$7}-color-bar`,
23606
+ title: `${rootClassName$7}-title`
23606
23607
  };
23607
23608
  const StyledBoardColumnHeader = styled.div`
23608
23609
  ${({
@@ -23670,11 +23671,11 @@ const BoardColumnHeader = ({
23670
23671
  });
23671
23672
  };
23672
23673
 
23673
- const rootClassName$5 = 'dot--board-column-items';
23674
+ const rootClassName$6 = 'dot--board-column-items';
23674
23675
  const classNames$2 = {
23675
- root: rootClassName$5,
23676
- spacingNormal: `${rootClassName$5}-normal`,
23677
- spacingDense: `${rootClassName$5}-dense`
23676
+ root: rootClassName$6,
23677
+ spacingNormal: `${rootClassName$6}-normal`,
23678
+ spacingDense: `${rootClassName$6}-dense`
23678
23679
  };
23679
23680
  const StyledBoardColumnItems = styled.div`
23680
23681
  ${({
@@ -23726,11 +23727,11 @@ const BoardColumnItems = ({
23726
23727
  });
23727
23728
  };
23728
23729
 
23729
- const rootClassName$4 = 'dot--board-column-action-bar';
23730
+ const rootClassName$5 = 'dot--board-column-action-bar';
23730
23731
  const classNames$1 = {
23731
- root: rootClassName$4,
23732
- spacingNormal: `${rootClassName$4}-normal`,
23733
- spacingDense: `${rootClassName$4}-dense`
23732
+ root: rootClassName$5,
23733
+ spacingNormal: `${rootClassName$5}-normal`,
23734
+ spacingDense: `${rootClassName$5}-dense`
23734
23735
  };
23735
23736
  const StyledBoardColumnActionBar = styled(DotActionToolbar)`
23736
23737
  ${({
@@ -23801,13 +23802,13 @@ const BoardColumnCollapse = ({
23801
23802
  return useMemo(() => collapsed ? children : null, [children, collapsed]);
23802
23803
  };
23803
23804
 
23804
- const rootClassName$3 = 'dot--board-column-header';
23805
+ const rootClassName$4 = 'dot--board-column-header';
23805
23806
  const classNames = {
23806
- root: rootClassName$3,
23807
- spacingNormal: `${rootClassName$3}-normal`,
23808
- spacingDense: `${rootClassName$3}-dense`,
23809
- title: `${rootClassName$3}-title`,
23810
- text: `${rootClassName$3}-text`
23807
+ root: rootClassName$4,
23808
+ spacingNormal: `${rootClassName$4}-normal`,
23809
+ spacingDense: `${rootClassName$4}-dense`,
23810
+ title: `${rootClassName$4}-title`,
23811
+ text: `${rootClassName$4}-text`
23811
23812
  };
23812
23813
  const StyledBoardColumnSummary = styled.div`
23813
23814
  ${({
@@ -23869,12 +23870,12 @@ const BoardColumnSummary = ({
23869
23870
  });
23870
23871
  };
23871
23872
 
23872
- const rootClassName$2 = 'dot-search';
23873
+ const rootClassName$3 = 'dot-search';
23873
23874
  const StyledSearch = styled(DotInputText)`
23874
23875
  ${({
23875
23876
  theme
23876
23877
  }) => css`
23877
- &.${rootClassName$2} {
23878
+ &.${rootClassName$3} {
23878
23879
  &.with-value .MuiInputBase-root {
23879
23880
  background-color: ${theme.palette.figma.primary.light};
23880
23881
 
@@ -23917,7 +23918,7 @@ const DotSearch = _a => {
23917
23918
  value
23918
23919
  } = _a,
23919
23920
  rest = __rest(_a, ["ariaLabel", "className", 'data-testid', "disabled", "hasDebounce", "id", "name", "onSearch", "onClear", "placeholder", "value"]);
23920
- const rootClasses = useStylesWithRootClass(rootClassName$2, className, value ? 'with-value' : '');
23921
+ const rootClasses = useStylesWithRootClass(rootClassName$3, className, value ? 'with-value' : '');
23921
23922
  return jsx(StyledSearch, Object.assign({}, rest, {
23922
23923
  "aria-label": ariaLabel,
23923
23924
  className: rootClasses,
@@ -23936,12 +23937,12 @@ const DotSearch = _a => {
23936
23937
  }));
23937
23938
  };
23938
23939
 
23939
- const rootClassName$1 = 'dot-toggle-switch';
23940
+ const rootClassName$2 = 'dot-toggle-switch';
23940
23941
  const StyledToggleSwitch = styled(Stack)`
23941
23942
  ${({
23942
23943
  theme
23943
23944
  }) => css`
23944
- &.${rootClassName$1} {
23945
+ &.${rootClassName$2} {
23945
23946
  gap: ${theme.spacing(2)};
23946
23947
  cursor: pointer;
23947
23948
 
@@ -23995,7 +23996,7 @@ const StyledToggleSwitch = styled(Stack)`
23995
23996
  const DotToggleSwitch = ({
23996
23997
  ariaLabel,
23997
23998
  className,
23998
- 'data-pendoid': dataPendoId = rootClassName$1,
23999
+ 'data-pendoid': dataPendoId = rootClassName$2,
23999
24000
  'data-testid': dataTestId,
24000
24001
  disabled = false,
24001
24002
  label,
@@ -24005,7 +24006,7 @@ const DotToggleSwitch = ({
24005
24006
  }) => {
24006
24007
  const toggleOptions = options.slice(0, 2);
24007
24008
  const isChecked = toggleOptions[1].value === value;
24008
- const rootClasses = useStylesWithRootClass(rootClassName$1, className, disabled ? 'dot-disabled' : '');
24009
+ const rootClasses = useStylesWithRootClass(rootClassName$2, className, disabled ? 'dot-disabled' : '');
24009
24010
  const toggleValue = () => {
24010
24011
  const [firstOption, secondOption] = toggleOptions;
24011
24012
  const newValue = value === firstOption.value ? secondOption.value : firstOption.value;
@@ -25274,13 +25275,13 @@ var Sketch = /*#__PURE__*/React__default.forwardRef((props, ref) => {
25274
25275
  });
25275
25276
  Sketch.displayName = 'Sketch';
25276
25277
 
25277
- const rootClassName = 'dot-color-picker';
25278
+ const rootClassName$1 = 'dot-color-picker';
25278
25279
  const StyledColorPicker = styled(Sketch)`
25279
25280
  ${({
25280
25281
  theme,
25281
25282
  $hideShadow
25282
25283
  }) => css`
25283
- &.${rootClassName} {
25284
+ &.${rootClassName$1} {
25284
25285
  --sketch-background: ${theme.palette.figma.background.level0.componentsBackground} !important;
25285
25286
  --sketch-swatch-border-top: none !important;
25286
25287
  --sketch-box-shadow: ${theme.shadows[1]} !important;
@@ -25336,7 +25337,7 @@ const DotColorPicker = ({
25336
25337
  return jsx(StyledColorPicker, {
25337
25338
  "$hideShadow": hideShadow,
25338
25339
  "aria-label": ariaLabel,
25339
- className: rootClassName,
25340
+ className: rootClassName$1,
25340
25341
  color: color,
25341
25342
  "data-pendoid": dataPendoId,
25342
25343
  "data-testid": dataTestId,
@@ -25351,4 +25352,144 @@ const DotColorPicker = ({
25351
25352
  });
25352
25353
  };
25353
25354
 
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 };
25355
+ const rootClassName = 'dot-select';
25356
+ const StyledSelectContainer = styled.div`
25357
+ ${({
25358
+ theme,
25359
+ size,
25360
+ persistentLabel
25361
+ }) => css`
25362
+ &.${rootClassName} {
25363
+ .MuiInputBase-root {
25364
+ background: ${theme.palette.figma.neutral.normal};
25365
+ height: ${theme.spacing(7)};
25366
+ &.MuiInputBase-sizeSmall {
25367
+ height: ${theme.spacing(5)};
25368
+ }
25369
+ }
25370
+
25371
+ .MuiInputLabel-root:not(.MuiInputLabel-shrink) {
25372
+ top: ${size === 'small' && !persistentLabel ? '-7px' : '1px'};
25373
+ }
25374
+
25375
+ .MuiInputLabel-root {
25376
+ color: ${theme.palette.figma.typography.gray};
25377
+
25378
+ &.Mui-focused,
25379
+ &.MuiInputLabel-shrink {
25380
+ color: ${theme.palette.figma.typography.black};
25381
+ }
25382
+ }
25383
+
25384
+ .MuiInputBase-root.Mui-disabled,
25385
+ .MuiInputBase-root.Mui-readOnly {
25386
+ ${readOnlyStyles(theme)};
25387
+ }
25388
+
25389
+ .MuiFormHelperText-root {
25390
+ ${formHelperTextRootStyles(theme)};
25391
+ }
25392
+ }
25393
+ `}
25394
+ `;
25395
+ const StyledMenuItem = styled(MenuItem)`
25396
+ ${({
25397
+ theme
25398
+ }) => css`
25399
+ &.MuiMenuItem-root.Mui-selected {
25400
+ background-color: ${theme.palette.figma.primary.light};
25401
+ color: ${theme.palette.figma.primary.elevated};
25402
+ }
25403
+ `}
25404
+ `;
25405
+
25406
+ const DotSelect = ({
25407
+ ariaLabel,
25408
+ autoFocus,
25409
+ className,
25410
+ defaultValue = '',
25411
+ 'data-pendoid': dataPendoId = rootClassName,
25412
+ 'data-testid': dataTestId,
25413
+ disabled = false,
25414
+ error = false,
25415
+ fullWidth = true,
25416
+ helperText,
25417
+ id,
25418
+ inputRef,
25419
+ label,
25420
+ minWidth = 80,
25421
+ name,
25422
+ onBlur,
25423
+ onChange,
25424
+ onFocus,
25425
+ onKeyDown,
25426
+ onMouseUp,
25427
+ persistentLabel,
25428
+ size = 'small',
25429
+ readOnly = false,
25430
+ required = false,
25431
+ value,
25432
+ options,
25433
+ renderOption
25434
+ }) => {
25435
+ const rootStyles = useStylesWithRootClass(rootClassName, className);
25436
+ return jsxs(StyledSelectContainer, {
25437
+ persistentLabel: persistentLabel,
25438
+ size: size,
25439
+ className: rootStyles,
25440
+ children: [persistentLabel && jsx(DotInputLabel, {
25441
+ "data-testid": dataTestId && `${dataTestId}-persistent-label`,
25442
+ id: `${id}-label`,
25443
+ disabled,
25444
+ error,
25445
+ label,
25446
+ required
25447
+ }), jsxs(StyledFormControl, {
25448
+ error: error,
25449
+ fullWidth: fullWidth,
25450
+ required: required,
25451
+ sx: {
25452
+ minWidth
25453
+ },
25454
+ children: [!persistentLabel && label && jsx(InputLabel, {
25455
+ id: `${id}-label`,
25456
+ htmlFor: name,
25457
+ children: label
25458
+ }), jsx(Select, {
25459
+ autoFocus: autoFocus,
25460
+ defaultValue: defaultValue,
25461
+ disabled: disabled,
25462
+ label: persistentLabel ? undefined : label,
25463
+ error: error,
25464
+ fullWidth: fullWidth,
25465
+ id: id,
25466
+ inputRef: inputRef,
25467
+ inputProps: {
25468
+ 'aria-label': ariaLabel,
25469
+ 'data-pendoid': dataPendoId,
25470
+ 'data-testid': dataTestId,
25471
+ readOnly
25472
+ },
25473
+ name: name,
25474
+ onBlur: onBlur,
25475
+ onChange: onChange,
25476
+ onFocus: onFocus,
25477
+ onKeyDown: onKeyDown,
25478
+ onMouseUp: onMouseUp,
25479
+ readOnly: readOnly,
25480
+ required: required,
25481
+ size: size,
25482
+ value: value,
25483
+ variant: "outlined",
25484
+ children: options.map(option => jsx(StyledMenuItem, {
25485
+ value: option.value,
25486
+ children: renderOption ? renderOption(option) : option.option
25487
+ }, option.value))
25488
+ }), helperText && jsx(FormHelperText, {
25489
+ children: helperText
25490
+ })]
25491
+ })]
25492
+ });
25493
+ };
25494
+
25495
+ 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, DotSelect, 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 };