@digital-ai/dot-components 5.3.0 → 5.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/index.esm.js +1019 -795
  2. package/package.json +1 -1
  3. package/src/lib/components/analytics/dashboard-actions/DashboardOptionsMenu.d.ts +3 -1
  4. package/src/lib/components/analytics/dashboard-dialog/DashboardDialog.d.ts +2 -2
  5. package/src/lib/components/analytics/metadata-api/openapi/core/ApiError.d.ts +3 -1
  6. package/src/lib/components/analytics/metadata-api/openapi/core/ApiRequestOptions.d.ts +2 -1
  7. package/src/lib/components/analytics/metadata-api/openapi/core/CancelablePromise.d.ts +20 -0
  8. package/src/lib/components/analytics/metadata-api/openapi/core/OpenAPI.d.ts +8 -7
  9. package/src/lib/components/analytics/metadata-api/openapi/core/request.d.ts +25 -4
  10. package/src/lib/components/analytics/metadata-api/openapi/index.d.ts +3 -0
  11. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +4 -0
  12. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +4 -0
  13. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +4 -0
  14. package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +5 -1
  15. package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentCreateBody.d.ts +1 -1
  16. package/src/lib/components/analytics/metadata-api/openapi/models/HelpContentPutBody.d.ts +1 -1
  17. package/src/lib/components/analytics/metadata-api/openapi/models/X_Digitalai_Account_ID.d.ts +4 -0
  18. package/src/lib/components/analytics/metadata-api/openapi/services/BiService.d.ts +7 -6
  19. package/src/lib/components/analytics/metadata-api/openapi/services/CategoriesService.d.ts +3 -2
  20. package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +17 -16
  21. package/src/lib/components/analytics/metadata-api/openapi/services/DatalakeService.d.ts +2 -1
  22. package/src/lib/components/analytics/metadata-api/openapi/services/EntitiesService.d.ts +6 -5
  23. package/src/lib/components/analytics/metadata-api/openapi/services/EntityAttributesService.d.ts +7 -6
  24. package/src/lib/components/analytics/metadata-api/openapi/services/EntityClassService.d.ts +6 -5
  25. package/src/lib/components/analytics/metadata-api/openapi/services/HelpContentService.d.ts +8 -7
  26. package/src/lib/components/analytics/metadata-api/openapi/services/MrProxyService.d.ts +5 -4
  27. package/src/lib/components/analytics/metadata-api/openapi/services/OriginInstancesService.d.ts +6 -5
  28. package/src/lib/components/analytics/metadata-api/openapi/services/OriginsService.d.ts +6 -5
  29. package/src/lib/components/analytics/metadata-api/openapi/services/ProductsService.d.ts +11 -10
  30. package/src/lib/components/analytics/metadata-api/openapi/services/UtilityService.d.ts +7 -6
  31. package/src/lib/components/floating-action-button/Fab.d.ts +22 -0
  32. package/src/lib/components/floating-action-button/Fab.styles.d.ts +2 -0
  33. package/src/lib/components/floating-action-button/index.d.ts +2 -0
  34. package/src/lib/components/index.d.ts +2 -0
package/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { useEffect, useState, useRef, createContext, useMemo, useContext, forwardRef, useCallback, createElement, Fragment as Fragment$1, useLayoutEffect } from 'react';
4
- import { Typography, Fade, StyledEngineProvider, Tooltip, InputAdornment, InputLabel, TextField, Icon, Accordion, AccordionSummary, AccordionDetails, AccordionActions, Toolbar, Alert, Avatar, Button, Link, List, ListSubheader, Divider, CircularProgress, Popper, MenuList, MenuItem, Paper, ClickAwayListener, Drawer, IconButton, ListItem, ListItemButton, Collapse, ListItemIcon, ListItemText, Badge, useMediaQuery, Chip, Autocomplete, AvatarGroup, Breadcrumbs, ToggleButtonGroup, ToggleButton, Card, CardContent, CardHeader, FormControlLabel, Checkbox, FormControl, FormGroup, FormLabel, FormHelperText, Dialog, DialogContent, DialogActions, useTheme as useTheme$1, Snackbar, RadioGroup, Radio, Switch, Skeleton, ButtonGroup, Stepper, Step, StepLabel, TablePagination, TableContainer, TableBody, TableCell, TableRow, TableSortLabel, TableHead, Table, Tabs, Tab, LinearProgress, Slide, Stack } from '@mui/material';
4
+ import { Typography, Fade, StyledEngineProvider, Tooltip, InputAdornment, InputLabel, TextField, Icon, Accordion, AccordionSummary, AccordionDetails, AccordionActions, Toolbar, Alert, Avatar, Button, Link, List, ListSubheader, Divider, CircularProgress, Popper, MenuList, MenuItem, Paper, ClickAwayListener, Drawer, IconButton, ListItem, ListItemButton, Collapse, ListItemIcon, ListItemText, Badge, useMediaQuery, Chip, Autocomplete, AvatarGroup, Breadcrumbs, ToggleButtonGroup, ToggleButton, Card, CardContent, CardHeader, FormControlLabel, Checkbox, FormControl, FormGroup, FormLabel, FormHelperText, Dialog, DialogContent, DialogActions, useTheme as useTheme$1, Snackbar, RadioGroup, Radio, Switch, Skeleton, ButtonGroup, Stepper, Step, StepLabel, TablePagination, TableContainer, TableBody, TableCell, TableRow, TableSortLabel, TableHead, Table, Tabs, Tab, Fab, LinearProgress, Slide, Stack } from '@mui/material';
5
5
  import styled, { css, createGlobalStyle, ThemeProvider as ThemeProvider$1, keyframes } from 'styled-components';
6
6
  import { createTheme, ThemeProvider, useTheme } from '@mui/material/styles';
7
7
  import '@digital-ai/dot-icons';
@@ -42,12 +42,12 @@ const checkIfOverflowPresentInElementTree = element => {
42
42
  return false;
43
43
  };
44
44
 
45
- const rootClassName$1r = 'dot-typography';
45
+ const rootClassName$1s = 'dot-typography';
46
46
  const StyledTypography = styled(Typography)`
47
47
  ${({
48
48
  theme
49
49
  }) => css`
50
- &.${rootClassName$1r} {
50
+ &.${rootClassName$1s} {
51
51
  &.dot-typography-ai {
52
52
  background: ${theme.palette.figma.gradient.ai};
53
53
  background-clip: text;
@@ -73,7 +73,7 @@ const DotTypography = ({
73
73
  noWrap,
74
74
  variant
75
75
  }) => {
76
- const rootClasses = useStylesWithRootClass(rootClassName$1r, ai ? 'dot-typography-ai' : '', className);
76
+ const rootClasses = useStylesWithRootClass(rootClassName$1s, ai ? 'dot-typography-ai' : '', className);
77
77
  useEffect(() => {
78
78
  if (ariaRole === 'heading' && !ariaLevel) {
79
79
  console.warn('please include ariaLevel when using ariaRole="heading"');
@@ -1409,7 +1409,7 @@ const readOnlyStyles = theme => css`
1409
1409
  }
1410
1410
  `;
1411
1411
 
1412
- const rootClassName$1q = 'dot-text-field';
1412
+ const rootClassName$1r = 'dot-text-field';
1413
1413
  const rootSelectClassName = 'dot-select-field';
1414
1414
  const wrapperClassName$2 = 'dot-label-wrapper';
1415
1415
  const labelClassName = 'dot-input-label';
@@ -1485,7 +1485,7 @@ const StyledTextField = styled(TextField)`
1485
1485
  $maxRows,
1486
1486
  $minRows
1487
1487
  }) => css`
1488
- &.${rootClassName$1q} {
1488
+ &.${rootClassName$1r} {
1489
1489
  .MuiInputBase-root {
1490
1490
  margin-bottom: 0;
1491
1491
 
@@ -1574,7 +1574,7 @@ const StyledTextField = styled(TextField)`
1574
1574
  margin-right: ${theme.spacing(2)};
1575
1575
  }
1576
1576
 
1577
- &.${rootSelectClassName}, &.${rootClassName$1q} {
1577
+ &.${rootSelectClassName}, &.${rootClassName$1r} {
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$1p = 'dot-icon';
1672
+ const rootClassName$1q = '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$1p} {
1678
+ &.${rootClassName$1q} {
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$1p, className, ai ? aiIconClassName : '');
1728
+ const rootClasses = useStylesWithRootClass(rootClassName$1q, 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$1o = 'dot-accordion';
1752
+ const rootClassName$1p = '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$1o} .${summaryClassName} {
1763
+ &.${rootClassName$1p} .${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$1o,
1808
+ 'data-pendoid': dataPendoId = rootClassName$1p,
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$1o, className);
1819
+ const rootClasses = useStylesWithRootClass(rootClassName$1p, 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$1n = 'dot-action-toolbar';
1870
+ const rootClassName$1o = 'dot-action-toolbar';
1871
1871
  const StyledToolbar = styled(Toolbar)`
1872
1872
  ${({
1873
1873
  theme
1874
1874
  }) => css`
1875
- &.${rootClassName$1n} {
1875
+ &.${rootClassName$1o} {
1876
1876
  border-bottom: 1px solid ${theme.palette.figma.border.default};
1877
1877
 
1878
- .${rootClassName$1q} .MuiInputBase-root {
1878
+ .${rootClassName$1r} .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$1n, className);
1892
+ const rootClasses = useStylesWithRootClass(rootClassName$1o, 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$1m = 'dot-alert-banner';
1902
+ const rootClassName$1n = 'dot-alert-banner';
1903
1903
  const StyledAlertBanner = styled(Alert)`
1904
1904
  ${({
1905
1905
  theme
1906
1906
  }) => css`
1907
- &.${rootClassName$1m} {
1907
+ &.${rootClassName$1n} {
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$1m,
1942
+ 'data-pendoid': dataPendoId = rootClassName$1n,
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$1m, severity, className);
1950
+ const rootClasses = useStylesWithRootClass(rootClassName$1n, 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$1l = 'dot-annotation';
1993
+ const rootClassName$1m = 'dot-annotation';
1994
1994
  const StyledAnnotation = styled.kbd`
1995
1995
  ${({
1996
1996
  theme
1997
1997
  }) => css`
1998
- &.${rootClassName$1l} {
1998
+ &.${rootClassName$1m} {
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$1l,
2024
+ 'data-pendoid': dataPendoId = rootClassName$1m,
2025
2025
  'data-testid': dataTestId,
2026
2026
  className,
2027
2027
  content,
2028
2028
  type = 'primary'
2029
2029
  }) => {
2030
- const rootClasses = useStylesWithRootClass(rootClassName$1l, className, type === 'secondary' ? 'secondary' : '');
2030
+ const rootClasses = useStylesWithRootClass(rootClassName$1m, className, type === 'secondary' ? 'secondary' : '');
2031
2031
  return jsx(StyledAnnotation, {
2032
2032
  "aria-label": ariaLabel,
2033
2033
  className: rootClasses,
@@ -2076,6 +2076,19 @@ function __awaiter(thisArg, _arguments, P, generator) {
2076
2076
  });
2077
2077
  }
2078
2078
 
2079
+ function __classPrivateFieldGet(receiver, state, kind, f) {
2080
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
2081
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
2082
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
2083
+ }
2084
+
2085
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
2086
+ if (kind === "m") throw new TypeError("Private method is not writable");
2087
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
2088
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
2089
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
2090
+ }
2091
+
2079
2092
  typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2080
2093
  var e = new Error(message);
2081
2094
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
@@ -2260,7 +2273,7 @@ function getResponseBody$1(response) {
2260
2273
  return null;
2261
2274
  });
2262
2275
  }
2263
- function catchErrors$1(options, result) {
2276
+ function catchErrors(options, result) {
2264
2277
  const errors = Object.assign({
2265
2278
  400: 'Bad Request',
2266
2279
  401: 'Unauthorized',
@@ -2297,7 +2310,7 @@ function request$1(options) {
2297
2310
  statusText: response.statusText,
2298
2311
  body: responseHeader || responseBody
2299
2312
  };
2300
- catchErrors$1(options, result);
2313
+ catchErrors(options, result);
2301
2314
  return result;
2302
2315
  });
2303
2316
  }
@@ -2664,7 +2677,7 @@ const useDotCoreApiContext = () => {
2664
2677
  return useContext(DotCoreApiContext);
2665
2678
  };
2666
2679
 
2667
- const rootClassName$1k = 'dot-avatar';
2680
+ const rootClassName$1l = 'dot-avatar';
2668
2681
  const avatarSpacing = {
2669
2682
  small: 3,
2670
2683
  medium: 5,
@@ -2674,7 +2687,7 @@ const StyledAvatar = styled(Avatar)`
2674
2687
  ${({
2675
2688
  theme
2676
2689
  }) => css`
2677
- &.${rootClassName$1k} {
2690
+ &.${rootClassName$1l} {
2678
2691
  display: inline-flex;
2679
2692
  background-color: ${({
2680
2693
  color
@@ -2792,7 +2805,7 @@ const DotAvatar = ({
2792
2805
  variant = 'circular',
2793
2806
  style
2794
2807
  }) => {
2795
- const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
2808
+ const rootClasses = useStylesWithRootClass(rootClassName$1l, className);
2796
2809
  const getAvatarColor = () => {
2797
2810
  if ((style === null || style === void 0 ? void 0 : style.color) !== undefined) return 'inherit';
2798
2811
  if (color) return color;
@@ -2834,12 +2847,12 @@ const DotAvatar = ({
2834
2847
  });
2835
2848
  };
2836
2849
 
2837
- const rootClassName$1j = 'dot-button';
2850
+ const rootClassName$1k = 'dot-button';
2838
2851
  const StyledButton = styled(Button)`
2839
2852
  ${({
2840
2853
  theme
2841
2854
  }) => css`
2842
- &.${rootClassName$1j} {
2855
+ &.${rootClassName$1k} {
2843
2856
  background-color: ${theme.palette.figma.primary.normal};
2844
2857
  margin: ${theme.spacing(0.5)};
2845
2858
  padding: ${theme.spacing(0.75, 2)};
@@ -2992,7 +3005,7 @@ const DotButton = forwardRef(({
2992
3005
  autoFocus = false,
2993
3006
  children,
2994
3007
  className,
2995
- 'data-pendoid': dataPendoId = rootClassName$1j,
3008
+ 'data-pendoid': dataPendoId = rootClassName$1k,
2996
3009
  'data-testid': dataTestId,
2997
3010
  disabled = false,
2998
3011
  disableInteractive,
@@ -3010,7 +3023,7 @@ const DotButton = forwardRef(({
3010
3023
  tooltipPlacement,
3011
3024
  type = 'primary'
3012
3025
  }, ref) => {
3013
- const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
3026
+ const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
3014
3027
  let color;
3015
3028
  let variant;
3016
3029
  switch (type) {
@@ -3041,7 +3054,7 @@ const DotButton = forwardRef(({
3041
3054
  }
3042
3055
  return jsx(DotTooltip, {
3043
3056
  childrenDisplayStyle: "inline-block",
3044
- "data-testid": `${dataTestId || rootClassName$1j}-tooltip`,
3057
+ "data-testid": `${dataTestId || rootClassName$1k}-tooltip`,
3045
3058
  disableInteractive: disableInteractive,
3046
3059
  placement: tooltipPlacement,
3047
3060
  title: tooltip,
@@ -3053,7 +3066,7 @@ const DotButton = forwardRef(({
3053
3066
  },
3054
3067
  color: color,
3055
3068
  "data-pendoid": dataPendoId,
3056
- "data-testid": dataTestId || rootClassName$1j,
3069
+ "data-testid": dataTestId || rootClassName$1k,
3057
3070
  disableRipple: disableRipple,
3058
3071
  disabled: disabled,
3059
3072
  endIcon: endIcon,
@@ -3073,10 +3086,10 @@ const DotButton = forwardRef(({
3073
3086
  });
3074
3087
  });
3075
3088
 
3076
- const rootClassName$1i = 'dot-link';
3089
+ const rootClassName$1j = 'dot-link';
3077
3090
  const StyledLink = styled(Link)`
3078
3091
  ${() => css`
3079
- &.${rootClassName$1i} {
3092
+ &.${rootClassName$1j} {
3080
3093
  cursor: pointer;
3081
3094
 
3082
3095
  &:hover.MuiLink-underlineHover {
@@ -3092,7 +3105,7 @@ const DotLink = ({
3092
3105
  children,
3093
3106
  className,
3094
3107
  color = 'primary',
3095
- 'data-pendoid': dataPendoId = rootClassName$1i,
3108
+ 'data-pendoid': dataPendoId = rootClassName$1j,
3096
3109
  'data-testid': dataTestId,
3097
3110
  href,
3098
3111
  onClick,
@@ -3105,7 +3118,7 @@ const DotLink = ({
3105
3118
  underline = 'always',
3106
3119
  variant = 'body1'
3107
3120
  }) => {
3108
- const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
3121
+ const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
3109
3122
  useEffect(() => {
3110
3123
  // Include a console warning if the link is not a string and no ariaLabel is provided
3111
3124
  if (!isString$2(children) && !ariaLabel) {
@@ -3156,7 +3169,7 @@ const CreateUUID = () => {
3156
3169
  });
3157
3170
  };
3158
3171
 
3159
- const rootClassName$1h = 'dot-list';
3172
+ const rootClassName$1i = 'dot-list';
3160
3173
  const listItemRootClass = 'dot-list-item';
3161
3174
  const nestedListClassName = 'dot-nested-list';
3162
3175
  const nestedDrawerClassName = 'dot-nested-drawer';
@@ -3164,7 +3177,7 @@ const StyledList = styled(List)`
3164
3177
  ${({
3165
3178
  theme
3166
3179
  }) => css`
3167
- &.${rootClassName$1h} {
3180
+ &.${rootClassName$1i} {
3168
3181
  background: ${theme.palette.figma.background.level0.componentsBackground};
3169
3182
 
3170
3183
  .dot-icon {
@@ -3258,12 +3271,12 @@ const DotListDivider = ({
3258
3271
  });
3259
3272
  };
3260
3273
 
3261
- const rootClassName$1g = 'dot-progress';
3274
+ const rootClassName$1h = 'dot-progress';
3262
3275
  const StyledProgress = styled.div`
3263
3276
  ${({
3264
3277
  theme
3265
3278
  }) => css`
3266
- &.${rootClassName$1g} {
3279
+ &.${rootClassName$1h} {
3267
3280
  line-height: 0;
3268
3281
 
3269
3282
  .dot-progress-with-label-wrapper {
@@ -3314,7 +3327,7 @@ const DotProgress = ({
3314
3327
  value,
3315
3328
  variant = 'indeterminate'
3316
3329
  }) => {
3317
- const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
3330
+ const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
3318
3331
  useEffect(() => {
3319
3332
  if (!ariaLabel) {
3320
3333
  console.warn('a11y: DotProgress must have an ariaLabel to describe the progress component');
@@ -3380,13 +3393,13 @@ var variables = /*#__PURE__*/Object.freeze({
3380
3393
  levelTop: levelTop
3381
3394
  });
3382
3395
 
3383
- const rootClassName$1f = 'dot-popper';
3396
+ const rootClassName$1g = 'dot-popper';
3384
3397
  const arrowClassName = 'MuiPopper-arrow';
3385
3398
  const StyledPopper$1 = styled(Popper)`
3386
3399
  ${({
3387
3400
  theme
3388
3401
  }) => css`
3389
- &.${rootClassName$1f} {
3402
+ &.${rootClassName$1g} {
3390
3403
  font-family: ${theme.typography.fontFamily};
3391
3404
  font-size: ${theme.typography.body1.fontSize}px;
3392
3405
 
@@ -3445,7 +3458,7 @@ const StyledPopper$1 = styled(Popper)`
3445
3458
  }
3446
3459
  }
3447
3460
 
3448
- &.${rootClassName$1f}, &.${rootClassName$1f} > .dot-popper-paper {
3461
+ &.${rootClassName$1g}, &.${rootClassName$1g} > .dot-popper-paper {
3449
3462
  background-color: ${theme.palette.figma.background.level1.white};
3450
3463
  }
3451
3464
  `}
@@ -3475,12 +3488,12 @@ const StyledArrow = styled('span')`
3475
3488
  `;
3476
3489
 
3477
3490
  const flyoutMenuClassName = 'dot-flyout-menu';
3478
- const rootClassName$1e = 'dot-menu';
3491
+ const rootClassName$1f = 'dot-menu';
3479
3492
  const StyledPopper = styled(Popper)`
3480
3493
  ${({
3481
3494
  theme
3482
3495
  }) => css`
3483
- &.${rootClassName$1f} {
3496
+ &.${rootClassName$1g} {
3484
3497
  font-family: ${theme.typography.fontFamily};
3485
3498
  font-size: ${theme.typography.body1.fontSize}px;
3486
3499
 
@@ -3490,7 +3503,7 @@ const StyledPopper = styled(Popper)`
3490
3503
  }) => $zIndex === undefined ? `z-index: ${levelSecond};` : `z-index: ${$zIndex};`}
3491
3504
  }
3492
3505
  }
3493
- &.${rootClassName$1e}, &.${rootClassName$1f} {
3506
+ &.${rootClassName$1f}, &.${rootClassName$1g} {
3494
3507
  .MuiPaper-root:not(:empty) {
3495
3508
  border: 1px solid ${theme.palette.layer.n100};
3496
3509
  }
@@ -3570,14 +3583,14 @@ const MENU_ITEM_HEIGHT_NORMAL = 48;
3570
3583
  const MENU_ITEM_HEIGHT_DENSE = 36;
3571
3584
  const DEFAULT_MAX_VISIBLE_ITEMS = 7;
3572
3585
 
3573
- const rootClassName$1d = 'dot-ul';
3586
+ const rootClassName$1e = 'dot-ul';
3574
3587
  const listItemClassName$1 = 'dot-li';
3575
3588
  const listItemWithSubmenuClassName = 'dot-li-with-submenu';
3576
3589
  const StyledMenuList = styled(MenuList)`
3577
3590
  ${({
3578
3591
  theme
3579
3592
  }) => css`
3580
- &.${rootClassName$1d} {
3593
+ &.${rootClassName$1e} {
3581
3594
  background: ${theme.palette.figma.background.level1.white};
3582
3595
 
3583
3596
  .dot-li {
@@ -3679,7 +3692,7 @@ const DotMenuList = forwardRef(({
3679
3692
  onSubMenuCreate,
3680
3693
  selectedKey
3681
3694
  }, ref) => {
3682
- const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
3695
+ const rootClasses = useStylesWithRootClass(rootClassName$1e, className);
3683
3696
  const [activeSubmenu, setActiveSubmenu] = useState(null);
3684
3697
  const [subItemAnchorEl, setSubItemAnchorEl] = useState(null);
3685
3698
  const openSubmenu = (target, itemKey) => {
@@ -3791,7 +3804,7 @@ const DotMenu = ({
3791
3804
  open = false,
3792
3805
  selectedKey
3793
3806
  }) => {
3794
- const rootClasses = useStylesWithRootClass(rootClassName$1e, className, loading ? 'loading' : '');
3807
+ const rootClasses = useStylesWithRootClass(rootClassName$1f, className, loading ? 'loading' : '');
3795
3808
  const isSubmenu = checkIfSubmenu(anchorEl);
3796
3809
  const hasSubItems = checkForSubItems(menuItems);
3797
3810
  // Timeout object is customizable when Menu component is either submenu
@@ -3879,12 +3892,12 @@ const DotMenu = ({
3879
3892
  });
3880
3893
  };
3881
3894
 
3882
- const rootClassName$1c = 'dot-drawer';
3895
+ const rootClassName$1d = 'dot-drawer';
3883
3896
  const StyledDrawer = styled(Drawer)`
3884
3897
  ${({
3885
3898
  theme
3886
3899
  }) => css`
3887
- &.${rootClassName$1c} .MuiBackdrop-root {
3900
+ &.${rootClassName$1d} .MuiBackdrop-root {
3888
3901
  background-color: ${theme.palette.figma.overlay.default};
3889
3902
  }
3890
3903
 
@@ -3903,12 +3916,12 @@ const StyledDrawer = styled(Drawer)`
3903
3916
  `}
3904
3917
  `;
3905
3918
 
3906
- const rootClassName$1b = 'dot-drawer-header';
3919
+ const rootClassName$1c = 'dot-drawer-header';
3907
3920
  const StyleDrawerHeader = styled.div`
3908
3921
  ${({
3909
3922
  theme
3910
3923
  }) => css`
3911
- &.${rootClassName$1b} {
3924
+ &.${rootClassName$1c} {
3912
3925
  padding: ${theme.spacing(0, 0, 2)};
3913
3926
  display: flex;
3914
3927
  align-items: center;
@@ -3919,13 +3932,13 @@ const StyleDrawerHeader = styled.div`
3919
3932
  `}
3920
3933
  `;
3921
3934
 
3922
- const rootClassName$1a = 'dot-icon-btn';
3935
+ const rootClassName$1b = 'dot-icon-btn';
3923
3936
  const StyledIconButton = styled(IconButton)`
3924
3937
  ${({
3925
3938
  theme,
3926
3939
  color
3927
3940
  }) => css`
3928
- &.${rootClassName$1a} {
3941
+ &.${rootClassName$1b} {
3929
3942
  ${color === 'inherit' ? css`
3930
3943
  color: inherit;
3931
3944
  ` : ''}
@@ -4011,7 +4024,7 @@ const DotIconButton = ({
4011
4024
  ariaRole = 'button',
4012
4025
  className,
4013
4026
  color = 'inherit',
4014
- 'data-pendoid': dataPendoId = rootClassName$1a,
4027
+ 'data-pendoid': dataPendoId = rootClassName$1b,
4015
4028
  'data-testid': dataTestId,
4016
4029
  disableInteractive,
4017
4030
  disableRipple = false,
@@ -4025,7 +4038,7 @@ const DotIconButton = ({
4025
4038
  tooltipPlacement
4026
4039
  }) => {
4027
4040
  const rippleClassName = disableRipple ? 'ripple-disabled' : '';
4028
- const rootClasses = useStylesWithRootClass(rootClassName$1a, rippleClassName, `shape-${shape}`, className);
4041
+ const rootClasses = useStylesWithRootClass(rootClassName$1b, rippleClassName, `shape-${shape}`, className);
4029
4042
  return jsx(DotTooltip, {
4030
4043
  childrenDisplayStyle: "inline-block",
4031
4044
  "data-testid": "icon-button-tooltip",
@@ -4062,7 +4075,7 @@ const DotDrawerHeader = ({
4062
4075
  onClose,
4063
4076
  variant
4064
4077
  }) => {
4065
- const rootClasses = useStylesWithRootClass(rootClassName$1b, className);
4078
+ const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
4066
4079
  return jsxs(StyleDrawerHeader, {
4067
4080
  "aria-label": ariaLabel,
4068
4081
  "aria-level": 2,
@@ -4079,10 +4092,10 @@ const DotDrawerHeader = ({
4079
4092
  });
4080
4093
  };
4081
4094
 
4082
- const rootClassName$19 = 'dot-drawer-body';
4095
+ const rootClassName$1a = 'dot-drawer-body';
4083
4096
  const StyleDrawerBody = styled.div`
4084
4097
  ${() => css`
4085
- &.${rootClassName$19} {
4098
+ &.${rootClassName$1a} {
4086
4099
  display: flex;
4087
4100
  .dot-drawer-close-button {
4088
4101
  align-self: self-start;
@@ -4103,7 +4116,7 @@ const DotDrawerBody = ({
4103
4116
  onClose,
4104
4117
  variant
4105
4118
  }) => {
4106
- const rootClasses = useStylesWithRootClass(rootClassName$19, className);
4119
+ const rootClasses = useStylesWithRootClass(rootClassName$1a, className);
4107
4120
  return jsxs(StyleDrawerBody, {
4108
4121
  "aria-label": ariaLabel,
4109
4122
  className: rootClasses,
@@ -4118,12 +4131,12 @@ const DotDrawerBody = ({
4118
4131
  });
4119
4132
  };
4120
4133
 
4121
- const rootClassName$18 = 'dot-drawer-footer';
4134
+ const rootClassName$19 = 'dot-drawer-footer';
4122
4135
  const StyleDrawerFooter = styled.div`
4123
4136
  ${({
4124
4137
  theme
4125
4138
  }) => css`
4126
- &.${rootClassName$18} {
4139
+ &.${rootClassName$19} {
4127
4140
  padding: ${theme.spacing(2, 0, 0)};
4128
4141
  }
4129
4142
  `}
@@ -4136,7 +4149,7 @@ const DotDrawerFooter = ({
4136
4149
  className,
4137
4150
  'data-testid': dataTestId
4138
4151
  }) => {
4139
- const rootClasses = useStylesWithRootClass(rootClassName$18, className);
4152
+ const rootClasses = useStylesWithRootClass(rootClassName$19, className);
4140
4153
  return jsx(StyleDrawerFooter, {
4141
4154
  "aria-label": ariaLabel,
4142
4155
  className: rootClasses,
@@ -4152,7 +4165,7 @@ const DotDrawer = ({
4152
4165
  ariaRole = 'dialog',
4153
4166
  className,
4154
4167
  children,
4155
- 'data-pendoid': dataPendoId = rootClassName$1c,
4168
+ 'data-pendoid': dataPendoId = rootClassName$1d,
4156
4169
  'data-testid': dataTestId,
4157
4170
  drawerBodyProps,
4158
4171
  drawerFooterProps,
@@ -4175,7 +4188,7 @@ const DotDrawer = ({
4175
4188
  onClose(event);
4176
4189
  }
4177
4190
  };
4178
- const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
4191
+ const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
4179
4192
  const backdropEnabled = variant === 'temporary' && !(ModalProps === null || ModalProps === void 0 ? void 0 : ModalProps.hideBackdrop);
4180
4193
  const headerExists = !!drawerHeaderProps;
4181
4194
  const bodyPendoId = drawerBodyProps ? drawerBodyProps['data-pendoid'] : 'drawer-body';
@@ -4650,7 +4663,7 @@ const DotList = ({
4650
4663
  nestedListType = 'expandable',
4651
4664
  width = 240
4652
4665
  }) => {
4653
- const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
4666
+ const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
4654
4667
  const listWidth = typeof width === 'number' ? `${width}px` : width;
4655
4668
  const listRef = useRef(undefined);
4656
4669
  const disableCloseOnClickAway = !nestedListCloseOnClickAway && nestedListType === 'expandable';
@@ -4750,12 +4763,12 @@ const DotList = ({
4750
4763
  });
4751
4764
  };
4752
4765
 
4753
- const rootClassName$17 = 'dot-copy-button';
4766
+ const rootClassName$18 = 'dot-copy-button';
4754
4767
  const StyledCopyButton = styled.span`
4755
4768
  ${({
4756
4769
  theme
4757
4770
  }) => css`
4758
- &.${rootClassName$17} .copied-to-clipboard {
4771
+ &.${rootClassName$18} .copied-to-clipboard {
4759
4772
  color: ${theme.palette.figma.success.normal};
4760
4773
 
4761
4774
  &.MuiIcon-fontSizeSmall.button-size-small {
@@ -4781,7 +4794,7 @@ const DotCopyButton = ({
4781
4794
  color = 'inherit',
4782
4795
  copiedTooltip = 'Copied!',
4783
4796
  copyTooltip = 'Copy to clipboard',
4784
- 'data-pendoid': dataPendoId = rootClassName$17,
4797
+ 'data-pendoid': dataPendoId = rootClassName$18,
4785
4798
  'data-testid': dataTestId = 'dot-copy-button',
4786
4799
  disableInteractive,
4787
4800
  disabled = false,
@@ -4830,7 +4843,7 @@ const DotCopyButton = ({
4830
4843
  return false;
4831
4844
  }, [value, showCopiedIcon, disabled, onClick]);
4832
4845
  return jsxs(StyledCopyButton, {
4833
- className: rootClassName$17,
4846
+ className: rootClassName$18,
4834
4847
  "data-testid": dataTestId,
4835
4848
  children: [!timedShowCopiedIcon && jsx(DotIconButton, {
4836
4849
  ariaLabel: ariaLabel,
@@ -4937,7 +4950,7 @@ const DotInputText = ({
4937
4950
  autoFocus,
4938
4951
  className,
4939
4952
  defaultValue,
4940
- 'data-pendoid': dataPendoId = rootClassName$1q,
4953
+ 'data-pendoid': dataPendoId = rootClassName$1r,
4941
4954
  'data-testid': dataTestId,
4942
4955
  disabled = false,
4943
4956
  error = false,
@@ -4986,7 +4999,7 @@ const DotInputText = ({
4986
4999
  const internalInputRef = useRef(null);
4987
5000
  const textFieldInputRef = inputRef || internalInputRef;
4988
5001
  const [inputTextState, setInputTextState] = useState(getInitialState(value));
4989
- const rootStyles = useStylesWithRootClass(rootClassName$1q, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
5002
+ const rootStyles = useStylesWithRootClass(rootClassName$1r, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
4990
5003
  useEffect(() => {
4991
5004
  if (value !== inputTextState.inputValue) {
4992
5005
  setInputTextState(getInitialState(value, defaultValue));
@@ -5129,10 +5142,10 @@ const DotInputText = ({
5129
5142
  });
5130
5143
  };
5131
5144
 
5132
- const rootClassName$16 = 'dot-search-input';
5145
+ const rootClassName$17 = 'dot-search-input';
5133
5146
  const StyledSearchInput = styled.span`
5134
5147
  ${() => css`
5135
- &.${rootClassName$16} {
5148
+ &.${rootClassName$17} {
5136
5149
  }
5137
5150
  `}
5138
5151
  `;
@@ -5149,7 +5162,7 @@ function SearchInput({
5149
5162
  tooltip = null,
5150
5163
  value
5151
5164
  }) {
5152
- const rootClasses = useStylesWithRootClass(rootClassName$16, className);
5165
+ const rootClasses = useStylesWithRootClass(rootClassName$17, className);
5153
5166
  const [searchText, setSearchText] = useState(value);
5154
5167
  let previousSearchText = '';
5155
5168
  const handleChange = useCallback(event => {
@@ -5405,12 +5418,12 @@ const recentAppInstancesSetter = (latestInstance, maxRecentItems
5405
5418
  };
5406
5419
  };
5407
5420
 
5408
- const rootClassName$15 = 'dot-app-switcher';
5421
+ const rootClassName$16 = 'dot-app-switcher';
5409
5422
  const StyledAppSwitcher = styled(DotDrawer)`
5410
5423
  ${({
5411
5424
  theme
5412
5425
  }) => css`
5413
- &.${rootClassName$15} {
5426
+ &.${rootClassName$16} {
5414
5427
  .dot-drawer-paper {
5415
5428
  padding: 0;
5416
5429
  width: 382px;
@@ -5520,7 +5533,7 @@ const DotAppSwitcherView = ({
5520
5533
  if (dotCoreApiContext !== null) {
5521
5534
  setSelectedAppType = dotCoreApiContext.setSelectedAppSwitcherAppType;
5522
5535
  }
5523
- const rootClasses = useStylesWithRootClass(rootClassName$15, className);
5536
+ const rootClasses = useStylesWithRootClass(rootClassName$16, className);
5524
5537
  const [appTypeMap, setAppTypeMap] = useState();
5525
5538
  const [appTypeLabels, setAppTypeLabels] = useState();
5526
5539
  const [appTypeMenuItems, setAppTypeMenuItems] = useState();
@@ -5898,12 +5911,12 @@ var SvgLogoDigitalAiWhite = function SvgLogoDigitalAiWhite(_ref, ref) {
5898
5911
  };
5899
5912
  var ForwardRef = /*#__PURE__*/forwardRef(SvgLogoDigitalAiWhite);
5900
5913
 
5901
- const rootClassName$14 = 'dot-sidebar';
5914
+ const rootClassName$15 = 'dot-sidebar';
5902
5915
  const StyledSidebar = styled.aside`
5903
5916
  ${({
5904
5917
  theme
5905
5918
  }) => css`
5906
- &.${rootClassName$14} {
5919
+ &.${rootClassName$15} {
5907
5920
  align-items: stretch;
5908
5921
  background: ${theme.palette.figma.background.level1.white};
5909
5922
  border-width: 0 1px;
@@ -6197,10 +6210,10 @@ const StyledSidebar = styled.aside`
6197
6210
  `}
6198
6211
  `;
6199
6212
 
6200
- const rootClassName$13 = 'dot-truncate-with-tooltip';
6213
+ const rootClassName$14 = 'dot-truncate-with-tooltip';
6201
6214
  const StyledTruncateWithTooltip = styled(Tooltip)`
6202
6215
  ${() => css`
6203
- &.${rootClassName$13} {
6216
+ &.${rootClassName$14} {
6204
6217
  display: block;
6205
6218
  overflow: hidden;
6206
6219
  white-space: nowrap;
@@ -6231,7 +6244,7 @@ const DotTruncateWithTooltip = ({
6231
6244
  label,
6232
6245
  width
6233
6246
  }) => {
6234
- const rootClasses = useStylesWithRootClass(rootClassName$13, className, charactersLimit ? 'dot-characters-limit' : '');
6247
+ const rootClasses = useStylesWithRootClass(rootClassName$14, className, charactersLimit ? 'dot-characters-limit' : '');
6235
6248
  return jsx(StyledTruncateWithTooltip, {
6236
6249
  "aria-label": ariaLabel,
6237
6250
  arrow: arrow,
@@ -6345,7 +6358,7 @@ const DotSidebar = ({
6345
6358
  keys: collapseKeys
6346
6359
  }, toggleNavCollapseState, [isOpen, collapsable]);
6347
6360
  const sidebarClasses = useStylesWithRootClass('side-nav', openClass);
6348
- const rootClasses = useStylesWithRootClass(rootClassName$14, openClass, className);
6361
+ const rootClasses = useStylesWithRootClass(rootClassName$15, openClass, className);
6349
6362
  return jsxs(StyledSidebar, {
6350
6363
  "aria-label": ariaLabel,
6351
6364
  className: rootClasses,
@@ -6421,12 +6434,12 @@ const DotSidebar = ({
6421
6434
  });
6422
6435
  };
6423
6436
 
6424
- const rootClassName$12 = 'dot-badge';
6437
+ const rootClassName$13 = 'dot-badge';
6425
6438
  const StyledBadge = styled(Badge)`
6426
6439
  ${({
6427
6440
  theme
6428
6441
  }) => css`
6429
- &.${rootClassName$12} {
6442
+ &.${rootClassName$13} {
6430
6443
  color: ${theme.palette.figma.typography.black};
6431
6444
  word-break: normal;
6432
6445
 
@@ -6461,7 +6474,7 @@ const DotBadge = ({
6461
6474
  overlap,
6462
6475
  variant = 'dot'
6463
6476
  }) => {
6464
- const rootClasses = useStylesWithRootClass(rootClassName$12, className);
6477
+ const rootClasses = useStylesWithRootClass(rootClassName$13, className);
6465
6478
  return jsx(StyledBadge, {
6466
6479
  "$badgeColor": badgeColor,
6467
6480
  anchorOrigin: {
@@ -6483,7 +6496,7 @@ const DotBadge = ({
6483
6496
  });
6484
6497
  };
6485
6498
 
6486
- const rootClassName$11 = 'dot-app-toolbar';
6499
+ const rootClassName$12 = 'dot-app-toolbar';
6487
6500
  const denseClassName = 'dense';
6488
6501
  const StyledMainMenu = styled(DotDrawer)`
6489
6502
  ${({
@@ -6523,7 +6536,7 @@ const StyledAppToolbar = styled.header`
6523
6536
  ${({
6524
6537
  theme
6525
6538
  }) => css`
6526
- &.${rootClassName$11} {
6539
+ &.${rootClassName$12} {
6527
6540
  align-items: center;
6528
6541
  background: ${theme.palette.figma.appToolbar.background};
6529
6542
  border-bottom: 4px solid ${theme.palette.figma.border.default};
@@ -6652,7 +6665,7 @@ const DotAppToolbar = ({
6652
6665
  const displayAppLogo = appLogo || appLogoSmall;
6653
6666
  const mainMenuRef = useRef(null);
6654
6667
  const denseClass = dense ? denseClassName : '';
6655
- const rootClasses = useStylesWithRootClass(rootClassName$11, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6668
+ const rootClasses = useStylesWithRootClass(rootClassName$12, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
6656
6669
  const mainMenuClasses = useStylesWithRootClass('dot-main-menu', denseClass, menuOpen ? 'open' : '');
6657
6670
  const targetBreakpoint = useMediaQuery(theme => theme.breakpoints.up('lg'));
6658
6671
  useEffect(() => {
@@ -6804,12 +6817,12 @@ const DotAppToolbar = ({
6804
6817
  }) : appToolbar;
6805
6818
  };
6806
6819
 
6807
- const rootClassName$10 = 'dot-chip';
6820
+ const rootClassName$11 = 'dot-chip';
6808
6821
  const StyledChip = styled(Chip)`
6809
6822
  ${({
6810
6823
  theme
6811
6824
  }) => css`
6812
- &.${rootClassName$10} {
6825
+ &.${rootClassName$11} {
6813
6826
  background: ${theme.palette.figma.neutral.normal};
6814
6827
  border-color: ${theme.palette.figma.border.darker};
6815
6828
  color: ${theme.palette.figma.typography.black};
@@ -6915,7 +6928,7 @@ const DotChip = ({
6915
6928
  charactersLimit = DEFAULT_CHARACTERS_LIMIT,
6916
6929
  children,
6917
6930
  className,
6918
- 'data-pendoid': dataPendoId = rootClassName$10,
6931
+ 'data-pendoid': dataPendoId = rootClassName$11,
6919
6932
  'data-testid': dataTestId,
6920
6933
  disabled = false,
6921
6934
  error = false,
@@ -6929,7 +6942,7 @@ const DotChip = ({
6929
6942
  tooltipProps
6930
6943
  }) => {
6931
6944
  const errorClass = error ? 'Mui-error' : '';
6932
- const rootClasses = useStylesWithRootClass(rootClassName$10, className, errorClass);
6945
+ const rootClasses = useStylesWithRootClass(rootClassName$11, className, errorClass);
6933
6946
  const isTruncated = charactersLimit > 0 && children.length > charactersLimit;
6934
6947
  const getChipLabelWithTooltip = label => jsx(DotTooltip, Object.assign({}, tooltipProps, {
6935
6948
  hoverVisibility: "always",
@@ -6965,7 +6978,7 @@ const DotChip = ({
6965
6978
  });
6966
6979
  };
6967
6980
 
6968
- const rootClassName$$ = 'dot-autocomplete';
6981
+ const rootClassName$10 = 'dot-autocomplete';
6969
6982
  const inputRootClassName = 'dot-input-root';
6970
6983
  const inputMediumClassName = 'dot-input-medium';
6971
6984
  const inputAiClassName = 'dot-input-ai';
@@ -6973,7 +6986,7 @@ const StyledAutocomplete = styled(Autocomplete)`
6973
6986
  ${({
6974
6987
  theme
6975
6988
  }) => css`
6976
- &.${rootClassName$$} {
6989
+ &.${rootClassName$10} {
6977
6990
  &.${inputMediumClassName} .dot-text-field .${inputRootClassName} {
6978
6991
  height: 56px;
6979
6992
  padding-left: ${theme.spacing(2)};
@@ -7072,8 +7085,8 @@ const isEmptyValue = value => {
7072
7085
  return !value;
7073
7086
  }
7074
7087
  };
7075
- const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$$, size === 'medium' && inputMediumClassName, className);
7076
- const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1q, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7088
+ const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$10, size === 'medium' && inputMediumClassName, className);
7089
+ const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1r, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
7077
7090
  const getInputRootClassNames = isDense => useStylesWithRootClass(inputRootClassName, !isDense && inputMediumClassName);
7078
7091
  const getDefaultAutoCompleteValue = (hasMultiple, defaultValue) => hasMultiple && isString$2(defaultValue) ? [defaultValue] : defaultValue;
7079
7092
  const getAutoCompleteGroupBy = group => group ? option => option.group : undefined;
@@ -7095,7 +7108,7 @@ const DotAutoComplete = ({
7095
7108
  autoFocus,
7096
7109
  autoHighlight,
7097
7110
  className,
7098
- 'data-pendoid': dataPendoId = rootClassName$$,
7111
+ 'data-pendoid': dataPendoId = rootClassName$10,
7099
7112
  'data-testid': dataTestId,
7100
7113
  defaultValue,
7101
7114
  dense = true,
@@ -7165,7 +7178,7 @@ const DotAutoComplete = ({
7165
7178
  const rootClasses = useStylesWithRootClass(getRootClassNames(className, size), isAiEnabled ? inputAiClassName : '');
7166
7179
  const textFieldRootClasses = getTextFieldRootClassNames(textFieldWarningClassName, readOnly);
7167
7180
  const inputRootClasses = getInputRootClassNames(dense);
7168
- const popperClasses = useStylesWithRootClass(rootClassName$1f, popperClassName);
7181
+ const popperClasses = useStylesWithRootClass(rootClassName$1g, popperClassName);
7169
7182
  let highlightedOption = null;
7170
7183
  let textFieldInput;
7171
7184
  const textFieldRef = element => {
@@ -7515,10 +7528,10 @@ const DotAutoComplete = ({
7515
7528
  });
7516
7529
  };
7517
7530
 
7518
- const rootClassName$_ = 'dot-avatar-group';
7531
+ const rootClassName$$ = 'dot-avatar-group';
7519
7532
  const StyledAvatarGroup = styled(AvatarGroup)`
7520
7533
  ${() => css`
7521
- &.${rootClassName$_} {
7534
+ &.${rootClassName$$} {
7522
7535
  justify-content: flex-end;
7523
7536
 
7524
7537
  .MuiAvatar-root {
@@ -7537,7 +7550,7 @@ const DotAvatarGroup = ({
7537
7550
  max = 3,
7538
7551
  spacing = 'medium'
7539
7552
  }) => {
7540
- const rootClasses = useStylesWithRootClass(rootClassName$_, className);
7553
+ const rootClasses = useStylesWithRootClass(rootClassName$$, className);
7541
7554
  return jsx(StyledAvatarGroup, {
7542
7555
  "aria-label": ariaLabel,
7543
7556
  classes: {
@@ -7552,14 +7565,14 @@ const DotAvatarGroup = ({
7552
7565
  });
7553
7566
  };
7554
7567
 
7555
- const rootClassName$Z = 'dot-avatar-with-details';
7568
+ const rootClassName$_ = 'dot-avatar-with-details';
7556
7569
  const StyledAvatarWithDetails = styled.div`
7557
7570
  ${({
7558
7571
  theme,
7559
7572
  $maxSubtitleLines,
7560
7573
  $maxTitleLines
7561
7574
  }) => css`
7562
- &.${rootClassName$Z} {
7575
+ &.${rootClassName$_} {
7563
7576
  gap: ${theme.spacing(2)};
7564
7577
  display: flex;
7565
7578
  align-items: center;
@@ -7595,12 +7608,12 @@ const DotAvatarWithDetails = ({
7595
7608
  ariaLabel,
7596
7609
  avatar,
7597
7610
  className,
7598
- 'data-pendoid': dataPendoId = rootClassName$Z,
7611
+ 'data-pendoid': dataPendoId = rootClassName$_,
7599
7612
  'data-testid': dataTestId,
7600
7613
  subtitle,
7601
7614
  title
7602
7615
  }) => {
7603
- const rootClasses = useStylesWithRootClass(rootClassName$Z, className);
7616
+ const rootClasses = useStylesWithRootClass(rootClassName$_, className);
7604
7617
  const titleClasses = useStylesWithRootClass('dot-avatar-with-details-title', title.maxLines ? 'max-lines-clamp' : '');
7605
7618
  const subtitleClasses = useStylesWithRootClass('dot-avatar-with-details-subtitle', (subtitle === null || subtitle === void 0 ? void 0 : subtitle.maxLines) ? 'max-lines-clamp' : '');
7606
7619
  return jsxs(StyledAvatarWithDetails, {
@@ -7635,13 +7648,13 @@ const DotAvatarWithDetails = ({
7635
7648
  });
7636
7649
  };
7637
7650
 
7638
- const rootClassName$Y = 'dot-breadcrumbs';
7651
+ const rootClassName$Z = 'dot-breadcrumbs';
7639
7652
  const breadcrumbsWrapperClass = 'dot-breadcrumbs-wrapper';
7640
7653
  const StyledBreadcrumbsWrapper = styled.div`
7641
7654
  ${({
7642
7655
  theme
7643
7656
  }) => css`
7644
- &.${rootClassName$Y} {
7657
+ &.${rootClassName$Z} {
7645
7658
  overflow: hidden;
7646
7659
 
7647
7660
  .dot-breadcrumbs-menu {
@@ -7661,7 +7674,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs)`
7661
7674
  ${({
7662
7675
  theme
7663
7676
  }) => css`
7664
- &.${rootClassName$Y} {
7677
+ &.${rootClassName$Z} {
7665
7678
  margin-bottom: 0;
7666
7679
 
7667
7680
  .MuiBreadcrumbs-ol {
@@ -7989,7 +8002,7 @@ const DotBreadcrumbs = ({
7989
8002
  children: [jsx(StyledBreadcrumbs, {
7990
8003
  "aria-label": "breadcrumb",
7991
8004
  classes: {
7992
- root: rootClassName$Y,
8005
+ root: rootClassName$Z,
7993
8006
  ol: 'dot-ol',
7994
8007
  li: 'dot-li'
7995
8008
  },
@@ -8020,14 +8033,14 @@ const DotBreadcrumbs = ({
8020
8033
  });
8021
8034
  };
8022
8035
 
8023
- const rootClassName$X = 'dot-button-toggle';
8036
+ const rootClassName$Y = 'dot-button-toggle';
8024
8037
  // TODO: need to update ripple color
8025
8038
  // https://github.com/mui/material-ui/issues/28543
8026
8039
  const StyledToggleButtonGroup = styled(ToggleButtonGroup)`
8027
8040
  ${({
8028
8041
  theme
8029
8042
  }) => css`
8030
- &.${rootClassName$X} {
8043
+ &.${rootClassName$Y} {
8031
8044
  button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {
8032
8045
  /* Override height for medium size */
8033
8046
  height: ${theme.spacing(5)};
@@ -8150,7 +8163,7 @@ const DotButtonToggle = ({
8150
8163
  buttonOptions,
8151
8164
  className,
8152
8165
  color,
8153
- 'data-pendoid': dataPendoId = rootClassName$X,
8166
+ 'data-pendoid': dataPendoId = rootClassName$Y,
8154
8167
  'data-testid': dataTestId = 'dot-toggle',
8155
8168
  disableFocusRipple = false,
8156
8169
  disableRipple = false,
@@ -8160,7 +8173,7 @@ const DotButtonToggle = ({
8160
8173
  size = 'medium',
8161
8174
  value
8162
8175
  }) => {
8163
- const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8176
+ const rootClasses = useStylesWithRootClass(rootClassName$Y, className);
8164
8177
  const renderToggleButton = ({
8165
8178
  ariaLabel: optionAriaLabel,
8166
8179
  badgeContent: optionBadgeContent,
@@ -8245,12 +8258,12 @@ const TooltipToggleButton = forwardRef((_a, ref) => {
8245
8258
  }));
8246
8259
  });
8247
8260
 
8248
- const rootClassName$W = 'dot-card';
8261
+ const rootClassName$X = 'dot-card';
8249
8262
  const StyledCard = styled(Card)`
8250
8263
  ${({
8251
8264
  theme
8252
8265
  }) => css`
8253
- &.${rootClassName$W} {
8266
+ &.${rootClassName$X} {
8254
8267
  background-color: ${theme.palette.figma.background.level1.white};
8255
8268
  }
8256
8269
  `}
@@ -8264,7 +8277,7 @@ const DotCard = ({
8264
8277
  onMouseEnter,
8265
8278
  onMouseLeave
8266
8279
  }) => {
8267
- const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8280
+ const rootClasses = useStylesWithRootClass(rootClassName$X, className);
8268
8281
  return jsx(StyledCard, {
8269
8282
  "aria-label": ariaLabel,
8270
8283
  classes: {
@@ -8295,12 +8308,12 @@ const DotCardContent = ({
8295
8308
  });
8296
8309
  };
8297
8310
 
8298
- const rootClassName$V = 'dot-card-footer';
8311
+ const rootClassName$W = 'dot-card-footer';
8299
8312
  const StyledDiv = styled.div`
8300
8313
  ${({
8301
8314
  theme
8302
8315
  }) => css`
8303
- &.${rootClassName$V} {
8316
+ &.${rootClassName$W} {
8304
8317
  padding: ${theme.spacing(2)};
8305
8318
  }
8306
8319
  `}
@@ -8312,7 +8325,7 @@ const DotCardFooter = ({
8312
8325
  className,
8313
8326
  'data-testid': dataTestId
8314
8327
  }) => {
8315
- const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8328
+ const rootClasses = useStylesWithRootClass(rootClassName$W, className);
8316
8329
  return jsx(StyledDiv, {
8317
8330
  "aria-label": ariaLabel,
8318
8331
  className: rootClasses,
@@ -8321,14 +8334,14 @@ const DotCardFooter = ({
8321
8334
  });
8322
8335
  };
8323
8336
 
8324
- const rootClassName$U = 'dot-card-header';
8337
+ const rootClassName$V = 'dot-card-header';
8325
8338
  const StyledCardHeader = styled(CardHeader)`
8326
8339
  ${({
8327
8340
  theme,
8328
8341
  $maxSubheaderLines,
8329
8342
  $maxTitleLines
8330
8343
  }) => css`
8331
- &.${rootClassName$U} {
8344
+ &.${rootClassName$V} {
8332
8345
  .MuiCardHeader-content {
8333
8346
  overflow-x: hidden;
8334
8347
 
@@ -8366,7 +8379,7 @@ const DotCardHeader = ({
8366
8379
  titleMaxLines = 1,
8367
8380
  titleSize = 'large'
8368
8381
  }) => {
8369
- const rootClasses = useStylesWithRootClass(rootClassName$U, className);
8382
+ const rootClasses = useStylesWithRootClass(rootClassName$V, className);
8370
8383
  const nonSmallTitleSize = titleSize === 'medium' ? 'h3' : 'h2';
8371
8384
  const titleVariant = titleSize === 'small' ? 'h4' : nonSmallTitleSize;
8372
8385
  const subheaderVariant = subheaderSize === 'small' ? 'body2' : 'body1';
@@ -8403,9 +8416,9 @@ const DotCardHeader = ({
8403
8416
  });
8404
8417
  };
8405
8418
 
8406
- const rootClassName$T = 'dot-form-control-label';
8419
+ const rootClassName$U = 'dot-form-control-label';
8407
8420
  const StyledFormControlLabel = styled(FormControlLabel)`
8408
- &.${rootClassName$T} {
8421
+ &.${rootClassName$U} {
8409
8422
  .MuiFormControlLabel-label {
8410
8423
  margin-bottom: 0;
8411
8424
  padding: 0 0 0 4px;
@@ -8428,12 +8441,12 @@ const StyledFormControlLabel = styled(FormControlLabel)`
8428
8441
  }
8429
8442
  `;
8430
8443
 
8431
- const rootClassName$S = 'dot-checkbox';
8444
+ const rootClassName$T = 'dot-checkbox';
8432
8445
  const StyledCheckbox = styled(Checkbox)`
8433
8446
  ${({
8434
8447
  theme
8435
8448
  }) => css`
8436
- &.${rootClassName$S} {
8449
+ &.${rootClassName$T} {
8437
8450
  padding: ${theme.spacing(1)};
8438
8451
 
8439
8452
  &.MuiCheckbox-indeterminate {
@@ -8452,7 +8465,7 @@ function DotCheckbox({
8452
8465
  ariaLabelledby,
8453
8466
  checked,
8454
8467
  className,
8455
- 'data-pendoid': dataPendoId = rootClassName$T,
8468
+ 'data-pendoid': dataPendoId = rootClassName$U,
8456
8469
  'data-testid': dataTestId,
8457
8470
  disabled,
8458
8471
  disableRipple,
@@ -8467,14 +8480,14 @@ function DotCheckbox({
8467
8480
  size = 'medium',
8468
8481
  value
8469
8482
  }) {
8470
- const rootClasses = useStylesWithRootClass(rootClassName$T, className);
8483
+ const rootClasses = useStylesWithRootClass(rootClassName$U, className);
8471
8484
  const handleChange = event => {
8472
8485
  onChange && onChange(event, event.target.value);
8473
8486
  };
8474
8487
  const checkboxControl = jsx(StyledCheckbox, {
8475
8488
  checked: checked,
8476
8489
  classes: {
8477
- root: rootClassName$S
8490
+ root: rootClassName$T
8478
8491
  },
8479
8492
  color: "primary",
8480
8493
  "data-pendoid": dataPendoId,
@@ -8503,13 +8516,13 @@ function DotCheckbox({
8503
8516
  });
8504
8517
  }
8505
8518
 
8506
- const rootClassName$R = 'dot-form-group';
8519
+ const rootClassName$S = 'dot-form-group';
8507
8520
  const groupLabelClassName = 'dot-form-group-label';
8508
8521
  const startAdornmentClassName = 'dot-start-adornment';
8509
8522
  const endAdornmentClassName = 'dot-end-adornment';
8510
8523
  const placementClassName = 'dot-';
8511
8524
  const StyledFormControl = styled(FormControl)`
8512
- &.${rootClassName$R} {
8525
+ &.${rootClassName$S} {
8513
8526
  .MuiFormLabel-root {
8514
8527
  width: 100%;
8515
8528
  line-height: 24px;
@@ -8540,7 +8553,7 @@ const StyledFormControl = styled(FormControl)`
8540
8553
  }
8541
8554
  `;
8542
8555
 
8543
- const rootClassName$Q = 'dot-checkbox-group';
8556
+ const rootClassName$R = 'dot-checkbox-group';
8544
8557
  const wrapperClassName$1 = 'dot-checkbox-group-wrapper';
8545
8558
  const checkboxListClassName = 'dot-checkbox-list';
8546
8559
  const checkboxListItemClassName = 'dot-checkbox-list-item';
@@ -8549,7 +8562,7 @@ const StyledCheckboxGroup = styled.div`
8549
8562
  theme
8550
8563
  }) => css`
8551
8564
  &.${wrapperClassName$1} {
8552
- .${rootClassName$Q} {
8565
+ .${rootClassName$R} {
8553
8566
  width: 100%;
8554
8567
  }
8555
8568
 
@@ -8576,7 +8589,7 @@ const StyledCheckboxGroup = styled.div`
8576
8589
  margin-top: 0;
8577
8590
  padding-left: ${theme.spacing(2.5)};
8578
8591
 
8579
- .${rootClassName$T} {
8592
+ .${rootClassName$U} {
8580
8593
  margin: 0;
8581
8594
  }
8582
8595
  }
@@ -8584,13 +8597,13 @@ const StyledCheckboxGroup = styled.div`
8584
8597
  `}
8585
8598
  `;
8586
8599
 
8587
- const rootClassName$P = 'dot-form-group';
8600
+ const rootClassName$Q = 'dot-form-group';
8588
8601
  const StyledFormGroup = styled(FormGroup)`
8589
8602
  ${({
8590
8603
  theme,
8591
8604
  row
8592
8605
  }) => css`
8593
- &.${rootClassName$P} > * {
8606
+ &.${rootClassName$Q} > * {
8594
8607
  margin: ${row ? `${theme.spacing(0.5)}` : 0};
8595
8608
  }
8596
8609
  `}
@@ -8603,7 +8616,7 @@ function DotFormGroup({
8603
8616
  'data-testid': dataTestId,
8604
8617
  row
8605
8618
  }) {
8606
- const rootClasses = useStylesWithRootClass(rootClassName$R, className);
8619
+ const rootClasses = useStylesWithRootClass(rootClassName$S, className);
8607
8620
  return jsx(StyledFormGroup, {
8608
8621
  "aria-label": ariaLabel,
8609
8622
  classes: {
@@ -8642,7 +8655,7 @@ function DotCheckboxGroup({
8642
8655
  size = 'medium'
8643
8656
  }) {
8644
8657
  const placement = `${placementClassName}${labelPlacement}`;
8645
- const rootClasses = useStylesWithRootClass(rootClassName$R, rootClassName$Q, className, placement);
8658
+ const rootClasses = useStylesWithRootClass(rootClassName$S, rootClassName$R, className, placement);
8646
8659
  const [selectedOptions, setSelectedOptions] = useState(defaultValues);
8647
8660
  const [allChecked, setAllChecked] = useState(false);
8648
8661
  /* This will ensure that state can be updated from the outside */
@@ -8727,12 +8740,12 @@ function DotCheckboxGroup({
8727
8740
  });
8728
8741
  }
8729
8742
 
8730
- const rootClassName$O = 'chip-list';
8743
+ const rootClassName$P = 'chip-list';
8731
8744
  const StyledChipList = styled.div`
8732
8745
  ${({
8733
8746
  theme
8734
8747
  }) => css`
8735
- &.${rootClassName$O} {
8748
+ &.${rootClassName$P} {
8736
8749
  display: flex;
8737
8750
  gap: ${theme.spacing(1)};
8738
8751
  }
@@ -8807,19 +8820,19 @@ function DotChipList({
8807
8820
  setChips(itemElements);
8808
8821
  }, [items, maxChars]);
8809
8822
  return jsx(StyledChipList, {
8810
- className: rootClassName$O,
8823
+ className: rootClassName$P,
8811
8824
  "data-testid": dataTestId,
8812
8825
  style: style,
8813
8826
  children: chips
8814
8827
  });
8815
8828
  }
8816
8829
 
8817
- const rootClassName$N = 'dot-dialog';
8830
+ const rootClassName$O = 'dot-dialog';
8818
8831
  const StyledDialog = styled(Dialog)`
8819
8832
  ${({
8820
8833
  theme
8821
8834
  }) => css`
8822
- &.${rootClassName$N} {
8835
+ &.${rootClassName$O} {
8823
8836
  .MuiDialog-paper {
8824
8837
  background: ${theme.palette.figma.background.level1.white};
8825
8838
  color: ${theme.palette.figma.typography.black};
@@ -8865,7 +8878,7 @@ const DotDialog = ({
8865
8878
  cancelButtonProps,
8866
8879
  cancelButtonVisible = true,
8867
8880
  className,
8868
- 'data-pendoid': dataPendoId = rootClassName$N,
8881
+ 'data-pendoid': dataPendoId = rootClassName$O,
8869
8882
  'data-testid': dataTestId,
8870
8883
  children,
8871
8884
  closeIconVisible,
@@ -8879,7 +8892,7 @@ const DotDialog = ({
8879
8892
  submitButtonProps,
8880
8893
  title
8881
8894
  }) => {
8882
- const rootClasses = useStylesWithRootClass(rootClassName$N, className);
8895
+ const rootClasses = useStylesWithRootClass(rootClassName$O, className);
8883
8896
  const cancelClasses = useStylesWithRootClass(cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.className, 'cancel-button');
8884
8897
  const [isOpen, setIsOpen] = useState(open);
8885
8898
  const hasSecondaryAction = !!secondaryButtonProps;
@@ -9016,7 +9029,7 @@ const DotConfirmationDialog = ({
9016
9029
  });
9017
9030
  };
9018
9031
 
9019
- const rootClassName$M = 'dot-grid';
9032
+ const rootClassName$N = 'dot-grid';
9020
9033
  const frGetter = value => typeof value === 'number' ? `repeat(${value}, 1fr)` : value;
9021
9034
  const breakpointsGetter$1 = (theme, columnsBreakpoints, columnGap, rowGap) => `${theme.breakpoints.up('xs')} {
9022
9035
  column-gap: ${`${columnGap.xs}px`};
@@ -9076,7 +9089,7 @@ const Grid = ({
9076
9089
  children,
9077
9090
  isLoading
9078
9091
  }) => {
9079
- const rootClasses = useStylesWithRootClass(rootClassName$M, className);
9092
+ const rootClasses = useStylesWithRootClass(rootClassName$N, className);
9080
9093
  return jsxs("div", {
9081
9094
  className: rootClasses,
9082
9095
  children: [children, isLoading && jsx(DotProgress, {
@@ -9100,7 +9113,7 @@ const StyledGrid = styled(Grid)`
9100
9113
  theme,
9101
9114
  width
9102
9115
  }) => css`
9103
- &.${rootClassName$M} {
9116
+ &.${rootClassName$N} {
9104
9117
  display: grid;
9105
9118
  grid-template-rows: ${frGetter(rows)};
9106
9119
  ${columns ? `${columns && `grid-template-columns: ${frGetter(columns)}`};` : breakpointsGetter$1(theme, columnsBreakpoints, columnGap, rowGap)}
@@ -9371,12 +9384,12 @@ const CssGridDebug = ({
9371
9384
  });
9372
9385
  };
9373
9386
 
9374
- const rootClassName$L = 'dot-pill';
9387
+ const rootClassName$M = 'dot-pill';
9375
9388
  const StyledPill = styled(Chip)`
9376
9389
  ${({
9377
9390
  theme
9378
9391
  }) => css`
9379
- &.${rootClassName$L} {
9392
+ &.${rootClassName$M} {
9380
9393
  background-color: ${({
9381
9394
  backgroundcolor,
9382
9395
  variant
@@ -9500,7 +9513,7 @@ const DotPill = ({
9500
9513
  status = 'default',
9501
9514
  variant = 'filled'
9502
9515
  }) => {
9503
- const rootClasses = useStylesWithRootClass(rootClassName$L, className, status);
9516
+ const rootClasses = useStylesWithRootClass(rootClassName$M, className, status);
9504
9517
  return jsx(StyledPill, {
9505
9518
  "aria-label": ariaLabel,
9506
9519
  bordercolor: bordercolor,
@@ -9520,25 +9533,126 @@ const DotPill = ({
9520
9533
  };
9521
9534
 
9522
9535
  class ApiError extends Error {
9523
- constructor(response, message) {
9536
+ constructor(request, response, message) {
9524
9537
  super(message);
9538
+ this.name = 'ApiError';
9525
9539
  this.url = response.url;
9526
9540
  this.status = response.status;
9527
9541
  this.statusText = response.statusText;
9528
9542
  this.body = response.body;
9543
+ this.request = request;
9544
+ }
9545
+ }
9546
+
9547
+ var _CancelablePromise_isResolved, _CancelablePromise_isRejected, _CancelablePromise_isCancelled, _CancelablePromise_cancelHandlers, _CancelablePromise_promise, _CancelablePromise_resolve, _CancelablePromise_reject;
9548
+ /* generated using openapi-typescript-codegen -- do not edit */
9549
+ /* istanbul ignore file */
9550
+ /* tslint:disable */
9551
+ /* eslint-disable */
9552
+ class CancelError extends Error {
9553
+ constructor(message) {
9554
+ super(message);
9555
+ this.name = 'CancelError';
9556
+ }
9557
+ get isCancelled() {
9558
+ return true;
9559
+ }
9560
+ }
9561
+ class CancelablePromise {
9562
+ constructor(executor) {
9563
+ _CancelablePromise_isResolved.set(this, void 0);
9564
+ _CancelablePromise_isRejected.set(this, void 0);
9565
+ _CancelablePromise_isCancelled.set(this, void 0);
9566
+ _CancelablePromise_cancelHandlers.set(this, void 0);
9567
+ _CancelablePromise_promise.set(this, void 0);
9568
+ _CancelablePromise_resolve.set(this, void 0);
9569
+ _CancelablePromise_reject.set(this, void 0);
9570
+ __classPrivateFieldSet(this, _CancelablePromise_isResolved, false, "f");
9571
+ __classPrivateFieldSet(this, _CancelablePromise_isRejected, false, "f");
9572
+ __classPrivateFieldSet(this, _CancelablePromise_isCancelled, false, "f");
9573
+ __classPrivateFieldSet(this, _CancelablePromise_cancelHandlers, [], "f");
9574
+ __classPrivateFieldSet(this, _CancelablePromise_promise, new Promise((resolve, reject) => {
9575
+ __classPrivateFieldSet(this, _CancelablePromise_resolve, resolve, "f");
9576
+ __classPrivateFieldSet(this, _CancelablePromise_reject, reject, "f");
9577
+ const onResolve = value => {
9578
+ if (__classPrivateFieldGet(this, _CancelablePromise_isResolved, "f") || __classPrivateFieldGet(this, _CancelablePromise_isRejected, "f") || __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f")) {
9579
+ return;
9580
+ }
9581
+ __classPrivateFieldSet(this, _CancelablePromise_isResolved, true, "f");
9582
+ if (__classPrivateFieldGet(this, _CancelablePromise_resolve, "f")) __classPrivateFieldGet(this, _CancelablePromise_resolve, "f").call(this, value);
9583
+ };
9584
+ const onReject = reason => {
9585
+ if (__classPrivateFieldGet(this, _CancelablePromise_isResolved, "f") || __classPrivateFieldGet(this, _CancelablePromise_isRejected, "f") || __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f")) {
9586
+ return;
9587
+ }
9588
+ __classPrivateFieldSet(this, _CancelablePromise_isRejected, true, "f");
9589
+ if (__classPrivateFieldGet(this, _CancelablePromise_reject, "f")) __classPrivateFieldGet(this, _CancelablePromise_reject, "f").call(this, reason);
9590
+ };
9591
+ const onCancel = cancelHandler => {
9592
+ if (__classPrivateFieldGet(this, _CancelablePromise_isResolved, "f") || __classPrivateFieldGet(this, _CancelablePromise_isRejected, "f") || __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f")) {
9593
+ return;
9594
+ }
9595
+ __classPrivateFieldGet(this, _CancelablePromise_cancelHandlers, "f").push(cancelHandler);
9596
+ };
9597
+ Object.defineProperty(onCancel, 'isResolved', {
9598
+ get: () => __classPrivateFieldGet(this, _CancelablePromise_isResolved, "f")
9599
+ });
9600
+ Object.defineProperty(onCancel, 'isRejected', {
9601
+ get: () => __classPrivateFieldGet(this, _CancelablePromise_isRejected, "f")
9602
+ });
9603
+ Object.defineProperty(onCancel, 'isCancelled', {
9604
+ get: () => __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f")
9605
+ });
9606
+ return executor(onResolve, onReject, onCancel);
9607
+ }), "f");
9608
+ }
9609
+ get [(_CancelablePromise_isResolved = new WeakMap(), _CancelablePromise_isRejected = new WeakMap(), _CancelablePromise_isCancelled = new WeakMap(), _CancelablePromise_cancelHandlers = new WeakMap(), _CancelablePromise_promise = new WeakMap(), _CancelablePromise_resolve = new WeakMap(), _CancelablePromise_reject = new WeakMap(), Symbol.toStringTag)]() {
9610
+ return 'Cancellable Promise';
9611
+ }
9612
+ then(onFulfilled, onRejected) {
9613
+ return __classPrivateFieldGet(this, _CancelablePromise_promise, "f").then(onFulfilled, onRejected);
9614
+ }
9615
+ catch(onRejected) {
9616
+ return __classPrivateFieldGet(this, _CancelablePromise_promise, "f").catch(onRejected);
9617
+ }
9618
+ finally(onFinally) {
9619
+ return __classPrivateFieldGet(this, _CancelablePromise_promise, "f").finally(onFinally);
9620
+ }
9621
+ cancel() {
9622
+ if (__classPrivateFieldGet(this, _CancelablePromise_isResolved, "f") || __classPrivateFieldGet(this, _CancelablePromise_isRejected, "f") || __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f")) {
9623
+ return;
9624
+ }
9625
+ __classPrivateFieldSet(this, _CancelablePromise_isCancelled, true, "f");
9626
+ if (__classPrivateFieldGet(this, _CancelablePromise_cancelHandlers, "f").length) {
9627
+ try {
9628
+ for (const cancelHandler of __classPrivateFieldGet(this, _CancelablePromise_cancelHandlers, "f")) {
9629
+ cancelHandler();
9630
+ }
9631
+ } catch (error) {
9632
+ console.warn('Cancellation threw an error', error);
9633
+ return;
9634
+ }
9635
+ }
9636
+ __classPrivateFieldGet(this, _CancelablePromise_cancelHandlers, "f").length = 0;
9637
+ if (__classPrivateFieldGet(this, _CancelablePromise_reject, "f")) __classPrivateFieldGet(this, _CancelablePromise_reject, "f").call(this, new CancelError('Request aborted'));
9638
+ }
9639
+ get isCancelled() {
9640
+ return __classPrivateFieldGet(this, _CancelablePromise_isCancelled, "f");
9529
9641
  }
9530
9642
  }
9531
9643
 
9532
9644
  const OpenAPI = {
9533
9645
  BASE: '',
9646
+ VERSION: '0.1',
9647
+ WITH_CREDENTIALS: false,
9648
+ CREDENTIALS: 'include',
9534
9649
  TOKEN: undefined,
9535
9650
  USERNAME: undefined,
9536
9651
  PASSWORD: undefined,
9537
- HEADERS: undefined};
9652
+ HEADERS: undefined,
9653
+ ENCODE_PATH: undefined
9654
+ };
9538
9655
 
9539
- /* istanbul ignore file */
9540
- /* tslint:disable */
9541
- /* eslint-disable */
9542
9656
  var DashboardCreateBody;
9543
9657
  (function (DashboardCreateBody) {
9544
9658
  (function (lifecycle_state) {
@@ -9551,9 +9665,6 @@ var DashboardCreateBody;
9551
9665
  })(DashboardCreateBody.bi_type || (DashboardCreateBody.bi_type = {}));
9552
9666
  })(DashboardCreateBody || (DashboardCreateBody = {}));
9553
9667
 
9554
- /* istanbul ignore file */
9555
- /* tslint:disable */
9556
- /* eslint-disable */
9557
9668
  var DashboardPatchBody;
9558
9669
  (function (DashboardPatchBody) {
9559
9670
  (function (lifecycle_state) {
@@ -9566,9 +9677,6 @@ var DashboardPatchBody;
9566
9677
  })(DashboardPatchBody.bi_type || (DashboardPatchBody.bi_type = {}));
9567
9678
  })(DashboardPatchBody || (DashboardPatchBody = {}));
9568
9679
 
9569
- /* istanbul ignore file */
9570
- /* tslint:disable */
9571
- /* eslint-disable */
9572
9680
  var DashboardPutBody;
9573
9681
  (function (DashboardPutBody) {
9574
9682
  (function (lifecycle_state) {
@@ -9581,9 +9689,6 @@ var DashboardPutBody;
9581
9689
  })(DashboardPutBody.bi_type || (DashboardPutBody.bi_type = {}));
9582
9690
  })(DashboardPutBody || (DashboardPutBody = {}));
9583
9691
 
9584
- /* istanbul ignore file */
9585
- /* tslint:disable */
9586
- /* eslint-disable */
9587
9692
  var DashboardView;
9588
9693
  (function (DashboardView) {
9589
9694
  (function (lifecycle_state) {
@@ -9596,159 +9701,180 @@ var DashboardView;
9596
9701
  })(DashboardView.bi_type || (DashboardView.bi_type = {}));
9597
9702
  })(DashboardView || (DashboardView = {}));
9598
9703
 
9599
- function isDefined(value) {
9704
+ const isDefined = value => {
9600
9705
  return value !== undefined && value !== null;
9601
- }
9602
- function isString(value) {
9706
+ };
9707
+ const isString = value => {
9603
9708
  return typeof value === 'string';
9604
- }
9605
- function isStringWithValue(value) {
9709
+ };
9710
+ const isStringWithValue = value => {
9606
9711
  return isString(value) && value !== '';
9607
- }
9608
- function isBlob(value) {
9609
- return value instanceof Blob;
9610
- }
9611
- function base64(str) {
9712
+ };
9713
+ const isBlob = value => {
9714
+ return typeof value === 'object' && typeof value.type === 'string' && typeof value.stream === 'function' && typeof value.arrayBuffer === 'function' && typeof value.constructor === 'function' && typeof value.constructor.name === 'string' && /^(Blob|File)$/.test(value.constructor.name) && /^(Blob|File)$/.test(value[Symbol.toStringTag]);
9715
+ };
9716
+ const isFormData = value => {
9717
+ return value instanceof FormData;
9718
+ };
9719
+ const base64 = str => {
9612
9720
  try {
9613
9721
  return btoa(str);
9614
9722
  } catch (err) {
9723
+ // @ts-ignore
9615
9724
  return Buffer.from(str).toString('base64');
9616
9725
  }
9617
- }
9618
- function getQueryString(params) {
9726
+ };
9727
+ const getQueryString = params => {
9619
9728
  const qs = [];
9620
- Object.keys(params).forEach(key => {
9621
- const value = params[key];
9729
+ const append = (key, value) => {
9730
+ qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
9731
+ };
9732
+ const process = (key, value) => {
9622
9733
  if (isDefined(value)) {
9623
9734
  if (Array.isArray(value)) {
9624
- value.forEach(value => {
9625
- qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
9735
+ value.forEach(v => {
9736
+ process(key, v);
9737
+ });
9738
+ } else if (typeof value === 'object') {
9739
+ Object.entries(value).forEach(([k, v]) => {
9740
+ process(`${key}[${k}]`, v);
9626
9741
  });
9627
9742
  } else {
9628
- qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
9743
+ append(key, value);
9629
9744
  }
9630
9745
  }
9746
+ };
9747
+ Object.entries(params).forEach(([key, value]) => {
9748
+ process(key, value);
9631
9749
  });
9632
9750
  if (qs.length > 0) {
9633
9751
  return `?${qs.join('&')}`;
9634
9752
  }
9635
9753
  return '';
9636
- }
9637
- function getUrl(options) {
9638
- const path = options.path;
9639
- const url = `${OpenAPI.BASE}${path}`;
9754
+ };
9755
+ const getUrl = (config, options) => {
9756
+ const encoder = encodeURI;
9757
+ const path = options.url.replace('{api-version}', config.VERSION).replace(/{(.*?)}/g, (substring, group) => {
9758
+ var _a;
9759
+ if ((_a = options.path) === null || _a === void 0 ? void 0 : _a.hasOwnProperty(group)) {
9760
+ return encoder(String(options.path[group]));
9761
+ }
9762
+ return substring;
9763
+ });
9764
+ const url = `${config.BASE}${path}`;
9640
9765
  if (options.query) {
9641
9766
  return `${url}${getQueryString(options.query)}`;
9642
9767
  }
9643
9768
  return url;
9644
- }
9645
- function getFormData(params) {
9646
- const formData = new FormData();
9647
- Object.keys(params).forEach(key => {
9648
- const value = params[key];
9649
- if (isDefined(value)) {
9650
- formData.append(key, value);
9651
- }
9652
- });
9653
- return formData;
9654
- }
9655
- function resolve(options, resolver) {
9656
- return __awaiter(this, void 0, void 0, function* () {
9657
- if (typeof resolver === 'function') {
9658
- return resolver(options);
9659
- }
9660
- return resolver;
9661
- });
9662
- }
9663
- function getHeaders(options) {
9664
- return __awaiter(this, void 0, void 0, function* () {
9665
- const token = yield resolve(options, OpenAPI.TOKEN);
9666
- const username = yield resolve(options, OpenAPI.USERNAME);
9667
- const password = yield resolve(options, OpenAPI.PASSWORD);
9668
- const additionalHeaders = yield resolve(options, OpenAPI.HEADERS);
9669
- const defaultHeaders = Object.entries(Object.assign(Object.assign({
9670
- Accept: 'application/json'
9671
- }, additionalHeaders), options.headers)).filter(([key, value]) => isDefined(value)).reduce((headers, [key, value]) => Object.assign(Object.assign({}, headers), {
9672
- [key]: value
9673
- }), {});
9674
- const headers = new Headers(defaultHeaders);
9675
- if (isStringWithValue(token)) {
9676
- headers.append('Authorization', `Bearer ${token}`);
9677
- }
9678
- if (isStringWithValue(username) && isStringWithValue(password)) {
9679
- const credentials = base64(`${username}:${password}`);
9680
- headers.append('Authorization', `Basic ${credentials}`);
9681
- }
9682
- if (options.body) {
9683
- if (options.mediaType) {
9684
- headers.append('Content-Type', options.mediaType);
9685
- } else if (isBlob(options.body)) {
9686
- headers.append('Content-Type', options.body.type || 'application/octet-stream');
9687
- } else if (isString(options.body)) {
9688
- headers.append('Content-Type', 'text/plain');
9769
+ };
9770
+ const getFormData = options => {
9771
+ if (options.formData) {
9772
+ const formData = new FormData();
9773
+ const process = (key, value) => {
9774
+ if (isString(value) || isBlob(value)) {
9775
+ formData.append(key, value);
9689
9776
  } else {
9690
- headers.append('Content-Type', 'application/json');
9777
+ formData.append(key, JSON.stringify(value));
9691
9778
  }
9779
+ };
9780
+ Object.entries(options.formData).filter(([_, value]) => isDefined(value)).forEach(([key, value]) => {
9781
+ if (Array.isArray(value)) {
9782
+ value.forEach(v => process(key, v));
9783
+ } else {
9784
+ process(key, value);
9785
+ }
9786
+ });
9787
+ return formData;
9788
+ }
9789
+ return undefined;
9790
+ };
9791
+ const resolve = (options, resolver) => __awaiter(void 0, void 0, void 0, function* () {
9792
+ if (typeof resolver === 'function') {
9793
+ return resolver(options);
9794
+ }
9795
+ return resolver;
9796
+ });
9797
+ const getHeaders = (config, options) => __awaiter(void 0, void 0, void 0, function* () {
9798
+ const [token, username, password, additionalHeaders] = yield Promise.all([resolve(options, config.TOKEN), resolve(options, config.USERNAME), resolve(options, config.PASSWORD), resolve(options, config.HEADERS)]);
9799
+ const headers = Object.entries(Object.assign(Object.assign({
9800
+ Accept: 'application/json'
9801
+ }, additionalHeaders), options.headers)).filter(([_, value]) => isDefined(value)).reduce((headers, [key, value]) => Object.assign(Object.assign({}, headers), {
9802
+ [key]: String(value)
9803
+ }), {});
9804
+ if (isStringWithValue(token)) {
9805
+ headers['Authorization'] = `Bearer ${token}`;
9806
+ }
9807
+ if (isStringWithValue(username) && isStringWithValue(password)) {
9808
+ const credentials = base64(`${username}:${password}`);
9809
+ headers['Authorization'] = `Basic ${credentials}`;
9810
+ }
9811
+ if (options.body !== undefined) {
9812
+ if (options.mediaType) {
9813
+ headers['Content-Type'] = options.mediaType;
9814
+ } else if (isBlob(options.body)) {
9815
+ headers['Content-Type'] = options.body.type || 'application/octet-stream';
9816
+ } else if (isString(options.body)) {
9817
+ headers['Content-Type'] = 'text/plain';
9818
+ } else if (!isFormData(options.body)) {
9819
+ headers['Content-Type'] = 'application/json';
9692
9820
  }
9693
- return headers;
9694
- });
9695
- }
9696
- function getRequestBody(options) {
9697
- var _a;
9698
- if (options.formData) {
9699
- return getFormData(options.formData);
9700
9821
  }
9701
- if (options.body) {
9822
+ return new Headers(headers);
9823
+ });
9824
+ const getRequestBody = options => {
9825
+ var _a;
9826
+ if (options.body !== undefined) {
9702
9827
  if ((_a = options.mediaType) === null || _a === void 0 ? void 0 : _a.includes('/json')) {
9703
9828
  return JSON.stringify(options.body);
9704
- } else if (isString(options.body) || isBlob(options.body)) {
9829
+ } else if (isString(options.body) || isBlob(options.body) || isFormData(options.body)) {
9705
9830
  return options.body;
9706
9831
  } else {
9707
9832
  return JSON.stringify(options.body);
9708
9833
  }
9709
9834
  }
9710
9835
  return undefined;
9711
- }
9712
- function sendRequest(options, url) {
9713
- return __awaiter(this, void 0, void 0, function* () {
9714
- const request = {
9715
- method: options.method,
9716
- headers: yield getHeaders(options),
9717
- body: getRequestBody(options)
9718
- };
9719
- return yield fetch(url, request);
9720
- });
9721
- }
9722
- function getResponseHeader(response, responseHeader) {
9836
+ };
9837
+ const sendRequest = (config, options, url, body, formData, headers, onCancel) => __awaiter(void 0, void 0, void 0, function* () {
9838
+ const controller = new AbortController();
9839
+ const request = {
9840
+ headers,
9841
+ body: body !== null && body !== void 0 ? body : formData,
9842
+ method: options.method,
9843
+ signal: controller.signal
9844
+ };
9845
+ onCancel(() => controller.abort());
9846
+ return yield fetch(url, request);
9847
+ });
9848
+ const getResponseHeader = (response, responseHeader) => {
9723
9849
  if (responseHeader) {
9724
9850
  const content = response.headers.get(responseHeader);
9725
9851
  if (isString(content)) {
9726
9852
  return content;
9727
9853
  }
9728
9854
  }
9729
- return null;
9730
- }
9731
- function getResponseBody(response) {
9732
- return __awaiter(this, void 0, void 0, function* () {
9733
- if (response.status !== 204) {
9734
- try {
9735
- const contentType = response.headers.get('Content-Type');
9736
- if (contentType) {
9737
- const isJSON = contentType.toLowerCase().startsWith('application/json');
9738
- if (isJSON) {
9739
- return yield response.json();
9740
- } else {
9741
- return yield response.text();
9742
- }
9855
+ return undefined;
9856
+ };
9857
+ const getResponseBody = response => __awaiter(void 0, void 0, void 0, function* () {
9858
+ if (response.status !== 204) {
9859
+ try {
9860
+ const contentType = response.headers.get('Content-Type');
9861
+ if (contentType) {
9862
+ const jsonTypes = ['application/json', 'application/problem+json'];
9863
+ const isJSON = jsonTypes.some(type => contentType.toLowerCase().startsWith(type));
9864
+ if (isJSON) {
9865
+ return yield response.json();
9866
+ } else {
9867
+ return yield response.text();
9743
9868
  }
9744
- } catch (error) {
9745
- console.error(error);
9746
9869
  }
9870
+ } catch (error) {
9871
+ console.error(error);
9747
9872
  }
9748
- return null;
9749
- });
9750
- }
9751
- function catchErrors(options, result) {
9873
+ }
9874
+ return undefined;
9875
+ });
9876
+ const catchErrorCodes = (options, result) => {
9877
+ var _a, _b;
9752
9878
  const errors = Object.assign({
9753
9879
  400: 'Bad Request',
9754
9880
  401: 'Unauthorized',
@@ -9760,35 +9886,54 @@ function catchErrors(options, result) {
9760
9886
  }, options.errors);
9761
9887
  const error = errors[result.status];
9762
9888
  if (error) {
9763
- throw new ApiError(result, error);
9889
+ throw new ApiError(options, result, error);
9764
9890
  }
9765
9891
  if (!result.ok) {
9766
- throw new ApiError(result, 'Generic Error');
9892
+ const errorStatus = (_a = result.status) !== null && _a !== void 0 ? _a : 'unknown';
9893
+ const errorStatusText = (_b = result.statusText) !== null && _b !== void 0 ? _b : 'unknown';
9894
+ const errorBody = (() => {
9895
+ try {
9896
+ return JSON.stringify(result.body, null, 2);
9897
+ } catch (e) {
9898
+ return undefined;
9899
+ }
9900
+ })();
9901
+ throw new ApiError(options, result, `Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`);
9767
9902
  }
9768
- }
9903
+ };
9769
9904
  /**
9770
- * Request using fetch client
9771
- * @param options The request options from the the service
9772
- * @returns ApiResult
9905
+ * Request method
9906
+ * @param config The OpenAPI configuration object
9907
+ * @param options The request options from the service
9908
+ * @returns CancelablePromise<T>
9773
9909
  * @throws ApiError
9774
9910
  */
9775
- function request(options) {
9776
- return __awaiter(this, void 0, void 0, function* () {
9777
- const url = getUrl(options);
9778
- const response = yield sendRequest(options, url);
9779
- const responseBody = yield getResponseBody(response);
9780
- const responseHeader = getResponseHeader(response, options.responseHeader);
9781
- const result = {
9782
- url,
9783
- ok: response.ok,
9784
- status: response.status,
9785
- statusText: response.statusText,
9786
- body: responseHeader || responseBody
9787
- };
9788
- catchErrors(options, result);
9789
- return result;
9790
- });
9791
- }
9911
+ const request = (config, options) => {
9912
+ return new CancelablePromise((resolve, reject, onCancel) => __awaiter(void 0, void 0, void 0, function* () {
9913
+ try {
9914
+ const url = getUrl(config, options);
9915
+ const formData = getFormData(options);
9916
+ const body = getRequestBody(options);
9917
+ const headers = yield getHeaders(config, options);
9918
+ if (!onCancel.isCancelled) {
9919
+ const response = yield sendRequest(config, options, url, body, formData, headers, onCancel);
9920
+ const responseBody = yield getResponseBody(response);
9921
+ const responseHeader = getResponseHeader(response, options.responseHeader);
9922
+ const result = {
9923
+ url,
9924
+ ok: response.ok,
9925
+ status: response.status,
9926
+ statusText: response.statusText,
9927
+ body: responseHeader !== null && responseHeader !== void 0 ? responseHeader : responseBody
9928
+ };
9929
+ catchErrorCodes(options, result);
9930
+ resolve(result.body);
9931
+ }
9932
+ } catch (error) {
9933
+ reject(error);
9934
+ }
9935
+ }));
9936
+ };
9792
9937
 
9793
9938
  class DashboardsService {
9794
9939
  /**
@@ -9800,7 +9945,7 @@ class DashboardsService {
9800
9945
  * @param sort Sort ordering to apply to the query.
9801
9946
  * @param filter List of filters (each filter is a separate query param, and they are OR'ed).
9802
9947
  *
9803
- * * **Filterable field names**: author_fullname, author_id, bi_type, categories, created_dt, dataset_id, description, external_embedding_id, external_id, id, is_ootb_dashboard, lifecycle_state, name, target_apps, updated_by_fullname, updated_by_id, updated_dt
9948
+ * * **Filterable field names**: author_fullname, author_id, bi_type, categories, created_dt, dataset_id, description, external_embedding_id, external_id, featured, id, is_ootb_dashboard, lifecycle_state, name, target_apps, updated_by_fullname, updated_by_id, updated_dt
9804
9949
  * * **Searchable field names**: author_fullname, categories, description, name, updated_by_fullname
9805
9950
  *
9806
9951
  * @param favorite Boolean flag to only return dashboards marked as favorites.
@@ -9819,39 +9964,36 @@ class DashboardsService {
9819
9964
  * @returns Error Default error response
9820
9965
  * @throws ApiError
9821
9966
  */
9822
- static getDashboards() {
9823
- return __awaiter(this, arguments, void 0, function* (xDigitalaiAccountId = null, start, count = 20, sort = 'id', filter, favorite = null, q = null, authorFullname = null, authorId = null, biType = 'MICROSTRATEGY', description = null, id = null, isOotbDashboard = null, lifecycleState = null, name = null, targetApp = null, viewModified = false) {
9824
- const result = yield request({
9825
- method: 'GET',
9826
- path: `/metadata/bi/dashboards`,
9827
- headers: {
9828
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9829
- },
9830
- query: {
9831
- start: start,
9832
- count: count,
9833
- sort: sort,
9834
- filter: filter,
9835
- favorite: favorite,
9836
- q: q,
9837
- author_fullname: authorFullname,
9838
- author_id: authorId,
9839
- bi_type: biType,
9840
- description: description,
9841
- id: id,
9842
- is_ootb_dashboard: isOotbDashboard,
9843
- lifecycle_state: lifecycleState,
9844
- name: name,
9845
- target_app: targetApp,
9846
- view_modified: viewModified
9847
- },
9848
- errors: {
9849
- 400: `An unknown parameter was specified.`,
9850
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
9851
- 422: `Unprocessable Entity`
9852
- }
9853
- });
9854
- return result.body;
9967
+ static getDashboards(xDigitalaiAccountId = null, start, count = 20, sort = 'id', filter, favorite = null, q = null, authorFullname = null, authorId = null, biType = 'MICROSTRATEGY', description = null, id = null, isOotbDashboard = null, lifecycleState = null, name = null, targetApp = null, viewModified = false) {
9968
+ return request(OpenAPI, {
9969
+ method: 'GET',
9970
+ url: '/metadata/bi/dashboards',
9971
+ headers: {
9972
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
9973
+ },
9974
+ query: {
9975
+ start: start,
9976
+ count: count,
9977
+ sort: sort,
9978
+ filter: filter,
9979
+ favorite: favorite,
9980
+ q: q,
9981
+ author_fullname: authorFullname,
9982
+ author_id: authorId,
9983
+ bi_type: biType,
9984
+ description: description,
9985
+ id: id,
9986
+ is_ootb_dashboard: isOotbDashboard,
9987
+ lifecycle_state: lifecycleState,
9988
+ name: name,
9989
+ target_app: targetApp,
9990
+ view_modified: viewModified
9991
+ },
9992
+ errors: {
9993
+ 400: `An unknown parameter was specified.`,
9994
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
9995
+ 422: `Unprocessable Entity`
9996
+ }
9855
9997
  });
9856
9998
  }
9857
9999
  /**
@@ -9863,23 +10005,20 @@ class DashboardsService {
9863
10005
  * @returns Error Default error response
9864
10006
  * @throws ApiError
9865
10007
  */
9866
- static postDashboards(requestBody_1) {
9867
- return __awaiter(this, arguments, void 0, function* (requestBody, xDigitalaiAccountId = null) {
9868
- const result = yield request({
9869
- method: 'POST',
9870
- path: `/metadata/bi/dashboards`,
9871
- headers: {
9872
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9873
- },
9874
- body: requestBody,
9875
- mediaType: 'application/json',
9876
- errors: {
9877
- 400: `The provided data is not valid.`,
9878
- 404: `The dashboard could not be found.`,
9879
- 422: `Unprocessable Entity`
9880
- }
9881
- });
9882
- return result.body;
10008
+ static postDashboards(requestBody, xDigitalaiAccountId = null) {
10009
+ return request(OpenAPI, {
10010
+ method: 'POST',
10011
+ url: '/metadata/bi/dashboards',
10012
+ headers: {
10013
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10014
+ },
10015
+ body: requestBody,
10016
+ mediaType: 'application/json',
10017
+ errors: {
10018
+ 400: `The provided data is not valid.`,
10019
+ 404: `The dashboard could not be found.`,
10020
+ 422: `Unprocessable Entity`
10021
+ }
9883
10022
  });
9884
10023
  }
9885
10024
  /**
@@ -9891,21 +10030,21 @@ class DashboardsService {
9891
10030
  * @returns Error Default error response
9892
10031
  * @throws ApiError
9893
10032
  */
9894
- static getDashboard(dashboardId_1) {
9895
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null) {
9896
- const result = yield request({
9897
- method: 'GET',
9898
- path: `/metadata/bi/dashboards/${dashboardId}`,
9899
- headers: {
9900
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9901
- },
9902
- errors: {
9903
- 400: `An unknown parameter was specified.`,
9904
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
9905
- 404: `The dashboard could not be found.`
9906
- }
9907
- });
9908
- return result.body;
10033
+ static getDashboard(dashboardId, xDigitalaiAccountId = null) {
10034
+ return request(OpenAPI, {
10035
+ method: 'GET',
10036
+ url: '/metadata/bi/dashboards/{dashboard_id}',
10037
+ path: {
10038
+ dashboard_id: dashboardId
10039
+ },
10040
+ headers: {
10041
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10042
+ },
10043
+ errors: {
10044
+ 400: `An unknown parameter was specified.`,
10045
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10046
+ 404: `The dashboard could not be found.`
10047
+ }
9909
10048
  });
9910
10049
  }
9911
10050
  /**
@@ -9919,28 +10058,28 @@ class DashboardsService {
9919
10058
  * @returns Error Default error response
9920
10059
  * @throws ApiError
9921
10060
  */
9922
- static putDashboard(dashboardId_1, requestBody_1) {
9923
- return __awaiter(this, arguments, void 0, function* (dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
9924
- const result = yield request({
9925
- method: 'PUT',
9926
- path: `/metadata/bi/dashboards/${dashboardId}`,
9927
- headers: {
9928
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9929
- },
9930
- query: {
9931
- is_sync: isSync
9932
- },
9933
- body: requestBody,
9934
- mediaType: 'application/json',
9935
- errors: {
9936
- 400: `The provided data is not valid.`,
9937
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
9938
- 404: `The dashboard could not be found.`,
9939
- 409: `Unable to update object because IDs are different.`,
9940
- 422: `Unprocessable Entity`
9941
- }
9942
- });
9943
- return result.body;
10061
+ static putDashboard(dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10062
+ return request(OpenAPI, {
10063
+ method: 'PUT',
10064
+ url: '/metadata/bi/dashboards/{dashboard_id}',
10065
+ path: {
10066
+ dashboard_id: dashboardId
10067
+ },
10068
+ headers: {
10069
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10070
+ },
10071
+ query: {
10072
+ is_sync: isSync
10073
+ },
10074
+ body: requestBody,
10075
+ mediaType: 'application/json',
10076
+ errors: {
10077
+ 400: `The provided data is not valid.`,
10078
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10079
+ 404: `The dashboard could not be found.`,
10080
+ 409: `Unable to update object because IDs are different.`,
10081
+ 422: `Unprocessable Entity`
10082
+ }
9944
10083
  });
9945
10084
  }
9946
10085
  /**
@@ -9954,28 +10093,28 @@ class DashboardsService {
9954
10093
  * @returns Error Default error response
9955
10094
  * @throws ApiError
9956
10095
  */
9957
- static patchDashboard(dashboardId_1, requestBody_1) {
9958
- return __awaiter(this, arguments, void 0, function* (dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
9959
- const result = yield request({
9960
- method: 'PATCH',
9961
- path: `/metadata/bi/dashboards/${dashboardId}`,
9962
- headers: {
9963
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9964
- },
9965
- query: {
9966
- is_sync: isSync
9967
- },
9968
- body: requestBody,
9969
- mediaType: 'application/json',
9970
- errors: {
9971
- 400: `The provided data is not valid.`,
9972
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
9973
- 404: `The dashboard could not be found.`,
9974
- 409: `Unable to update object because IDs are different.`,
9975
- 422: `Unprocessable Entity`
9976
- }
9977
- });
9978
- return result.body;
10096
+ static patchDashboard(dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10097
+ return request(OpenAPI, {
10098
+ method: 'PATCH',
10099
+ url: '/metadata/bi/dashboards/{dashboard_id}',
10100
+ path: {
10101
+ dashboard_id: dashboardId
10102
+ },
10103
+ headers: {
10104
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10105
+ },
10106
+ query: {
10107
+ is_sync: isSync
10108
+ },
10109
+ body: requestBody,
10110
+ mediaType: 'application/json',
10111
+ errors: {
10112
+ 400: `The provided data is not valid.`,
10113
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10114
+ 404: `The dashboard could not be found.`,
10115
+ 409: `Unable to update object because IDs are different.`,
10116
+ 422: `Unprocessable Entity`
10117
+ }
9979
10118
  });
9980
10119
  }
9981
10120
  /**
@@ -9986,16 +10125,16 @@ class DashboardsService {
9986
10125
  * @returns Error Default error response
9987
10126
  * @throws ApiError
9988
10127
  */
9989
- static deleteDashboard(dashboardId_1) {
9990
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null) {
9991
- const result = yield request({
9992
- method: 'DELETE',
9993
- path: `/metadata/bi/dashboards/${dashboardId}`,
9994
- headers: {
9995
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
9996
- }
9997
- });
9998
- return result.body;
10128
+ static deleteDashboard(dashboardId, xDigitalaiAccountId = null) {
10129
+ return request(OpenAPI, {
10130
+ method: 'DELETE',
10131
+ url: '/metadata/bi/dashboards/{dashboard_id}',
10132
+ path: {
10133
+ dashboard_id: dashboardId
10134
+ },
10135
+ headers: {
10136
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10137
+ }
9999
10138
  });
10000
10139
  }
10001
10140
  /**
@@ -10007,21 +10146,21 @@ class DashboardsService {
10007
10146
  * @returns Error Default error response
10008
10147
  * @throws ApiError
10009
10148
  */
10010
- static getInProgressDashboard(dashboardId_1) {
10011
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null) {
10012
- const result = yield request({
10013
- method: 'GET',
10014
- path: `/metadata/bi/dashboards/${dashboardId}/inprogress`,
10015
- headers: {
10016
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10017
- },
10018
- errors: {
10019
- 400: `An unknown parameter was specified.`,
10020
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10021
- 404: `The dashboard could not be found.`
10022
- }
10023
- });
10024
- return result.body;
10149
+ static getInProgressDashboard(dashboardId, xDigitalaiAccountId = null) {
10150
+ return request(OpenAPI, {
10151
+ method: 'GET',
10152
+ url: '/metadata/bi/dashboards/{dashboard_id}/inprogress',
10153
+ path: {
10154
+ dashboard_id: dashboardId
10155
+ },
10156
+ headers: {
10157
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10158
+ },
10159
+ errors: {
10160
+ 400: `An unknown parameter was specified.`,
10161
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10162
+ 404: `The dashboard could not be found.`
10163
+ }
10025
10164
  });
10026
10165
  }
10027
10166
  /**
@@ -10034,24 +10173,24 @@ class DashboardsService {
10034
10173
  * @returns Error Default error response
10035
10174
  * @throws ApiError
10036
10175
  */
10037
- static postInProgressDashboard(dashboardId_1) {
10038
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null, requestBody) {
10039
- const result = yield request({
10040
- method: 'POST',
10041
- path: `/metadata/bi/dashboards/${dashboardId}/inprogress`,
10042
- headers: {
10043
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10044
- },
10045
- body: requestBody,
10046
- mediaType: 'application/json',
10047
- errors: {
10048
- 400: `The provided data is not valid.`,
10049
- 404: `The dashboard could not be found.`,
10050
- 409: `Unable to update object because IDs are different.`,
10051
- 422: `Unprocessable Entity`
10052
- }
10053
- });
10054
- return result.body;
10176
+ static postInProgressDashboard(dashboardId, xDigitalaiAccountId = null, requestBody) {
10177
+ return request(OpenAPI, {
10178
+ method: 'POST',
10179
+ url: '/metadata/bi/dashboards/{dashboard_id}/inprogress',
10180
+ path: {
10181
+ dashboard_id: dashboardId
10182
+ },
10183
+ headers: {
10184
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10185
+ },
10186
+ body: requestBody,
10187
+ mediaType: 'application/json',
10188
+ errors: {
10189
+ 400: `The provided data is not valid.`,
10190
+ 404: `The dashboard could not be found.`,
10191
+ 409: `Unable to update object because IDs are different.`,
10192
+ 422: `Unprocessable Entity`
10193
+ }
10055
10194
  });
10056
10195
  }
10057
10196
  /**
@@ -10065,28 +10204,28 @@ class DashboardsService {
10065
10204
  * @returns Error Default error response
10066
10205
  * @throws ApiError
10067
10206
  */
10068
- static putInProgressDashboard(dashboardId_1, requestBody_1) {
10069
- return __awaiter(this, arguments, void 0, function* (dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10070
- const result = yield request({
10071
- method: 'PUT',
10072
- path: `/metadata/bi/dashboards/${dashboardId}/inprogress`,
10073
- headers: {
10074
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10075
- },
10076
- query: {
10077
- is_sync: isSync
10078
- },
10079
- body: requestBody,
10080
- mediaType: 'application/json',
10081
- errors: {
10082
- 400: `The provided data is not valid.`,
10083
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10084
- 404: `The dashboard could not be found.`,
10085
- 409: `Unable to update object because IDs are different.`,
10086
- 422: `Unprocessable Entity`
10087
- }
10088
- });
10089
- return result.body;
10207
+ static putInProgressDashboard(dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10208
+ return request(OpenAPI, {
10209
+ method: 'PUT',
10210
+ url: '/metadata/bi/dashboards/{dashboard_id}/inprogress',
10211
+ path: {
10212
+ dashboard_id: dashboardId
10213
+ },
10214
+ headers: {
10215
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10216
+ },
10217
+ query: {
10218
+ is_sync: isSync
10219
+ },
10220
+ body: requestBody,
10221
+ mediaType: 'application/json',
10222
+ errors: {
10223
+ 400: `The provided data is not valid.`,
10224
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10225
+ 404: `The dashboard could not be found.`,
10226
+ 409: `Unable to update object because IDs are different.`,
10227
+ 422: `Unprocessable Entity`
10228
+ }
10090
10229
  });
10091
10230
  }
10092
10231
  /**
@@ -10100,28 +10239,28 @@ class DashboardsService {
10100
10239
  * @returns Error Default error response
10101
10240
  * @throws ApiError
10102
10241
  */
10103
- static patchInProgressDashboard(dashboardId_1, requestBody_1) {
10104
- return __awaiter(this, arguments, void 0, function* (dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10105
- const result = yield request({
10106
- method: 'PATCH',
10107
- path: `/metadata/bi/dashboards/${dashboardId}/inprogress`,
10108
- headers: {
10109
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10110
- },
10111
- query: {
10112
- is_sync: isSync
10113
- },
10114
- body: requestBody,
10115
- mediaType: 'application/json',
10116
- errors: {
10117
- 400: `The provided data is not valid.`,
10118
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10119
- 404: `The dashboard could not be found.`,
10120
- 409: `Unable to update object because IDs are different.`,
10121
- 422: `Unprocessable Entity`
10122
- }
10123
- });
10124
- return result.body;
10242
+ static patchInProgressDashboard(dashboardId, requestBody, xDigitalaiAccountId = null, isSync = null) {
10243
+ return request(OpenAPI, {
10244
+ method: 'PATCH',
10245
+ url: '/metadata/bi/dashboards/{dashboard_id}/inprogress',
10246
+ path: {
10247
+ dashboard_id: dashboardId
10248
+ },
10249
+ headers: {
10250
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10251
+ },
10252
+ query: {
10253
+ is_sync: isSync
10254
+ },
10255
+ body: requestBody,
10256
+ mediaType: 'application/json',
10257
+ errors: {
10258
+ 400: `The provided data is not valid.`,
10259
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10260
+ 404: `The dashboard could not be found.`,
10261
+ 409: `Unable to update object because IDs are different.`,
10262
+ 422: `Unprocessable Entity`
10263
+ }
10125
10264
  });
10126
10265
  }
10127
10266
  /**
@@ -10133,22 +10272,22 @@ class DashboardsService {
10133
10272
  * @returns Error Default error response
10134
10273
  * @throws ApiError
10135
10274
  */
10136
- static deleteInProgressDashboard(dashboardId_1) {
10137
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null, publish = false) {
10138
- const result = yield request({
10139
- method: 'DELETE',
10140
- path: `/metadata/bi/dashboards/${dashboardId}/inprogress`,
10141
- headers: {
10142
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10143
- },
10144
- query: {
10145
- publish: publish
10146
- },
10147
- errors: {
10148
- 422: `Unprocessable Entity`
10149
- }
10150
- });
10151
- return result.body;
10275
+ static deleteInProgressDashboard(dashboardId, xDigitalaiAccountId = null, publish = false) {
10276
+ return request(OpenAPI, {
10277
+ method: 'DELETE',
10278
+ url: '/metadata/bi/dashboards/{dashboard_id}/inprogress',
10279
+ path: {
10280
+ dashboard_id: dashboardId
10281
+ },
10282
+ headers: {
10283
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10284
+ },
10285
+ query: {
10286
+ publish: publish
10287
+ },
10288
+ errors: {
10289
+ 422: `Unprocessable Entity`
10290
+ }
10152
10291
  });
10153
10292
  }
10154
10293
  /**
@@ -10161,23 +10300,23 @@ class DashboardsService {
10161
10300
  * @returns Error Default error response
10162
10301
  * @throws ApiError
10163
10302
  */
10164
- static copyDashboard(dashboardId_1) {
10165
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null, requestBody) {
10166
- const result = yield request({
10167
- method: 'POST',
10168
- path: `/metadata/bi/dashboards/${dashboardId}/copy`,
10169
- headers: {
10170
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10171
- },
10172
- body: requestBody,
10173
- mediaType: 'application/json',
10174
- errors: {
10175
- 400: `The provided data is not valid.`,
10176
- 404: `The dashboard could not be found.`,
10177
- 422: `Unprocessable Entity`
10178
- }
10179
- });
10180
- return result.body;
10303
+ static copyDashboard(dashboardId, xDigitalaiAccountId = null, requestBody) {
10304
+ return request(OpenAPI, {
10305
+ method: 'POST',
10306
+ url: '/metadata/bi/dashboards/{dashboard_id}/copy',
10307
+ path: {
10308
+ dashboard_id: dashboardId
10309
+ },
10310
+ headers: {
10311
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10312
+ },
10313
+ body: requestBody,
10314
+ mediaType: 'application/json',
10315
+ errors: {
10316
+ 400: `The provided data is not valid.`,
10317
+ 404: `The dashboard could not be found.`,
10318
+ 422: `Unprocessable Entity`
10319
+ }
10181
10320
  });
10182
10321
  }
10183
10322
  /**
@@ -10189,20 +10328,20 @@ class DashboardsService {
10189
10328
  * @returns Error Default error response
10190
10329
  * @throws ApiError
10191
10330
  */
10192
- static favoriteDashboard(dashboardId_1) {
10193
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null) {
10194
- const result = yield request({
10195
- method: 'POST',
10196
- path: `/metadata/bi/dashboards/${dashboardId}/favorite`,
10197
- headers: {
10198
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10199
- },
10200
- errors: {
10201
- 400: `The provided data is not valid.`,
10202
- 404: `The dashboard could not be found.`
10203
- }
10204
- });
10205
- return result.body;
10331
+ static favoriteDashboard(dashboardId, xDigitalaiAccountId = null) {
10332
+ return request(OpenAPI, {
10333
+ method: 'POST',
10334
+ url: '/metadata/bi/dashboards/{dashboard_id}/favorite',
10335
+ path: {
10336
+ dashboard_id: dashboardId
10337
+ },
10338
+ headers: {
10339
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10340
+ },
10341
+ errors: {
10342
+ 400: `The provided data is not valid.`,
10343
+ 404: `The dashboard could not be found.`
10344
+ }
10206
10345
  });
10207
10346
  }
10208
10347
  /**
@@ -10214,20 +10353,20 @@ class DashboardsService {
10214
10353
  * @returns Error Default error response
10215
10354
  * @throws ApiError
10216
10355
  */
10217
- static unfavoriteDashboard(dashboardId_1) {
10218
- return __awaiter(this, arguments, void 0, function* (dashboardId, xDigitalaiAccountId = null) {
10219
- const result = yield request({
10220
- method: 'DELETE',
10221
- path: `/metadata/bi/dashboards/${dashboardId}/favorite`,
10222
- headers: {
10223
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10224
- },
10225
- errors: {
10226
- 400: `The provided data is not valid.`,
10227
- 404: `The dashboard could not be found.`
10228
- }
10229
- });
10230
- return result.body;
10356
+ static unfavoriteDashboard(dashboardId, xDigitalaiAccountId = null) {
10357
+ return request(OpenAPI, {
10358
+ method: 'DELETE',
10359
+ url: '/metadata/bi/dashboards/{dashboard_id}/favorite',
10360
+ path: {
10361
+ dashboard_id: dashboardId
10362
+ },
10363
+ headers: {
10364
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10365
+ },
10366
+ errors: {
10367
+ 400: `The provided data is not valid.`,
10368
+ 404: `The dashboard could not be found.`
10369
+ }
10231
10370
  });
10232
10371
  }
10233
10372
  /**
@@ -10247,28 +10386,25 @@ class DashboardsService {
10247
10386
  * @returns Error Default error response
10248
10387
  * @throws ApiError
10249
10388
  */
10250
- static getDashboardsMetadata() {
10251
- return __awaiter(this, arguments, void 0, function* (xDigitalaiAccountId = null, filter, targetApp = null, biType = 'MICROSTRATEGY', isOotbDashboard = null, lifecycleState = null) {
10252
- const result = yield request({
10253
- method: 'GET',
10254
- path: `/metadata/bi/dashboards/metadata`,
10255
- headers: {
10256
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10257
- },
10258
- query: {
10259
- filter: filter,
10260
- target_app: targetApp,
10261
- bi_type: biType,
10262
- is_ootb_dashboard: isOotbDashboard,
10263
- lifecycle_state: lifecycleState
10264
- },
10265
- errors: {
10266
- 400: `Given query params are not valid.`,
10267
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10268
- 422: `Unprocessable Entity`
10269
- }
10270
- });
10271
- return result.body;
10389
+ static getDashboardsMetadata(xDigitalaiAccountId = null, filter, targetApp = null, biType = 'MICROSTRATEGY', isOotbDashboard = null, lifecycleState = null) {
10390
+ return request(OpenAPI, {
10391
+ method: 'GET',
10392
+ url: '/metadata/bi/dashboards/metadata',
10393
+ headers: {
10394
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10395
+ },
10396
+ query: {
10397
+ filter: filter,
10398
+ target_app: targetApp,
10399
+ bi_type: biType,
10400
+ is_ootb_dashboard: isOotbDashboard,
10401
+ lifecycle_state: lifecycleState
10402
+ },
10403
+ errors: {
10404
+ 400: `Given query params are not valid.`,
10405
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10406
+ 422: `Unprocessable Entity`
10407
+ }
10272
10408
  });
10273
10409
  }
10274
10410
  }
@@ -10282,47 +10418,42 @@ class HelpContentService {
10282
10418
  * @returns Error Default error response
10283
10419
  * @throws ApiError
10284
10420
  */
10285
- static getHelpContent() {
10286
- return __awaiter(this, arguments, void 0, function* (xDigitalaiAccountId = null) {
10287
- const result = yield request({
10288
- method: 'GET',
10289
- path: `/metadata/bi/helpcontent`,
10290
- headers: {
10291
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10292
- },
10293
- errors: {
10294
- 400: `An unknown parameter was specified.`,
10295
- 401: `Could not resolve a valid Tenant from the provided API Token.`
10296
- }
10297
- });
10298
- return result.body;
10421
+ static getHelpContent(xDigitalaiAccountId = null) {
10422
+ return request(OpenAPI, {
10423
+ method: 'GET',
10424
+ url: '/metadata/bi/helpcontent',
10425
+ headers: {
10426
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10427
+ },
10428
+ errors: {
10429
+ 400: `An unknown parameter was specified.`,
10430
+ 401: `Could not resolve a valid Tenant from the provided API Token.`
10431
+ }
10299
10432
  });
10300
10433
  }
10301
10434
  /**
10302
10435
  * Upload an HTML file to be displayed as help content.
10303
10436
  * Upload help content.
10304
- * @param requestBody
10437
+ * @param formData
10305
10438
  * @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
10306
10439
  * @returns HelpContent Content uploaded.
10307
10440
  * @returns Error Default error response
10308
10441
  * @throws ApiError
10309
10442
  */
10310
- static createHelpContent(requestBody_1) {
10311
- return __awaiter(this, arguments, void 0, function* (requestBody, xDigitalaiAccountId = null) {
10312
- const result = yield request({
10313
- method: 'POST',
10314
- path: `/metadata/bi/helpcontent`,
10315
- headers: {
10316
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10317
- },
10318
- body: requestBody,
10319
- errors: {
10320
- 400: `The provided data is not valid.`,
10321
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10322
- 422: `Unprocessable Entity`
10323
- }
10324
- });
10325
- return result.body;
10443
+ static createHelpContent(formData, xDigitalaiAccountId = null) {
10444
+ return request(OpenAPI, {
10445
+ method: 'POST',
10446
+ url: '/metadata/bi/helpcontent',
10447
+ headers: {
10448
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10449
+ },
10450
+ formData: formData,
10451
+ mediaType: 'multipart/form-data',
10452
+ errors: {
10453
+ 400: `The provided data is not valid.`,
10454
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10455
+ 422: `Unprocessable Entity`
10456
+ }
10326
10457
  });
10327
10458
  }
10328
10459
  /**
@@ -10334,50 +10465,51 @@ class HelpContentService {
10334
10465
  * @returns Error Default error response
10335
10466
  * @throws ApiError
10336
10467
  */
10337
- static getHelpContentById(helpContentId_1) {
10338
- return __awaiter(this, arguments, void 0, function* (helpContentId, xDigitalaiAccountId = null) {
10339
- const result = yield request({
10340
- method: 'GET',
10341
- path: `/metadata/bi/helpcontent/${helpContentId}`,
10342
- headers: {
10343
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10344
- },
10345
- errors: {
10346
- 400: `An unknown parameter was specified.`,
10347
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10348
- 404: `The help content could not be found.`
10349
- }
10350
- });
10351
- return result.body;
10468
+ static getHelpContentById(helpContentId, xDigitalaiAccountId = null) {
10469
+ return request(OpenAPI, {
10470
+ method: 'GET',
10471
+ url: '/metadata/bi/helpcontent/{help_content_id}',
10472
+ path: {
10473
+ help_content_id: helpContentId
10474
+ },
10475
+ headers: {
10476
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10477
+ },
10478
+ errors: {
10479
+ 400: `An unknown parameter was specified.`,
10480
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10481
+ 404: `The help content could not be found.`
10482
+ }
10352
10483
  });
10353
10484
  }
10354
10485
  /**
10355
10486
  * Update a help content definition.
10356
10487
  * Update a single help content definition, selected by ID.
10357
10488
  * @param helpContentId
10358
- * @param requestBody
10489
+ * @param formData
10359
10490
  * @param xDigitalaiAccountId Perform the requested operation in the context of the Digital.ai account represented by this GUID. <em>Requires elevated permissions.</em>
10360
10491
  * @returns HelpContent OK
10361
10492
  * @returns Error Default error response
10362
10493
  * @throws ApiError
10363
10494
  */
10364
- static putHelpContentById(helpContentId_1, requestBody_1) {
10365
- return __awaiter(this, arguments, void 0, function* (helpContentId, requestBody, xDigitalaiAccountId = null) {
10366
- const result = yield request({
10367
- method: 'PUT',
10368
- path: `/metadata/bi/helpcontent/${helpContentId}`,
10369
- headers: {
10370
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10371
- },
10372
- body: requestBody,
10373
- errors: {
10374
- 400: `An unknown parameter was specified.`,
10375
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10376
- 404: `The help content could not be found.`,
10377
- 422: `Unprocessable Entity`
10378
- }
10379
- });
10380
- return result.body;
10495
+ static putHelpContentById(helpContentId, formData, xDigitalaiAccountId = null) {
10496
+ return request(OpenAPI, {
10497
+ method: 'PUT',
10498
+ url: '/metadata/bi/helpcontent/{help_content_id}',
10499
+ path: {
10500
+ help_content_id: helpContentId
10501
+ },
10502
+ headers: {
10503
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10504
+ },
10505
+ formData: formData,
10506
+ mediaType: 'multipart/form-data',
10507
+ errors: {
10508
+ 400: `An unknown parameter was specified.`,
10509
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10510
+ 404: `The help content could not be found.`,
10511
+ 422: `Unprocessable Entity`
10512
+ }
10381
10513
  });
10382
10514
  }
10383
10515
  /**
@@ -10388,21 +10520,21 @@ class HelpContentService {
10388
10520
  * @returns Error Default error response
10389
10521
  * @throws ApiError
10390
10522
  */
10391
- static deleteHelpContentById(helpContentId_1) {
10392
- return __awaiter(this, arguments, void 0, function* (helpContentId, xDigitalaiAccountId = null) {
10393
- const result = yield request({
10394
- method: 'DELETE',
10395
- path: `/metadata/bi/helpcontent/${helpContentId}`,
10396
- headers: {
10397
- 'X-Digitalai-Account-ID': xDigitalaiAccountId
10398
- },
10399
- errors: {
10400
- 400: `An unknown parameter was specified.`,
10401
- 401: `Could not resolve a valid Tenant from the provided API Token.`,
10402
- 404: `The help content could not be found.`
10403
- }
10404
- });
10405
- return result.body;
10523
+ static deleteHelpContentById(helpContentId, xDigitalaiAccountId = null) {
10524
+ return request(OpenAPI, {
10525
+ method: 'DELETE',
10526
+ url: '/metadata/bi/helpcontent/{help_content_id}',
10527
+ path: {
10528
+ help_content_id: helpContentId
10529
+ },
10530
+ headers: {
10531
+ 'X-Digitalai-Account-ID': xDigitalaiAccountId
10532
+ },
10533
+ errors: {
10534
+ 400: `An unknown parameter was specified.`,
10535
+ 401: `Could not resolve a valid Tenant from the provided API Token.`,
10536
+ 404: `The help content could not be found.`
10537
+ }
10406
10538
  });
10407
10539
  }
10408
10540
  }
@@ -10951,6 +11083,9 @@ const DotMetadataApiProvider = ({
10951
11083
  if (dashboard.in_progress_changes) {
10952
11084
  // If the dashboard is published and has in-progress changes, we need to update the in-progress dashboard
10953
11085
  response = yield DashboardsService.patchInProgressDashboard(dashboard.id, updatePayload, accountId, isSync);
11086
+ } else if (Object.keys(updatePayload).length === 1 && 'featured' in updatePayload) {
11087
+ // If the dashboard is published and only update is related to 'featured' flag, we can update the published dashboard directly
11088
+ response = yield DashboardsService.patchDashboard(dashboard.id, updatePayload, accountId, isSync);
10954
11089
  } else {
10955
11090
  // If the dashboard is published and has no in-progress changes, we need to create an in-progress dashboard
10956
11091
  response = yield DashboardsService.postInProgressDashboard(dashboard.id, accountId, updatePayload);
@@ -11089,18 +11224,18 @@ function addAutoHideDuration(severity) {
11089
11224
  return severity === 'error' ? null : 10000;
11090
11225
  }
11091
11226
 
11092
- const rootClassName$K = 'dot-snackbar';
11227
+ const rootClassName$L = 'dot-snackbar';
11093
11228
  const StyledSnackbar = styled(Snackbar)`
11094
11229
  ${({
11095
11230
  theme,
11096
11231
  width,
11097
11232
  $anchorOriginTop
11098
11233
  }) => css`
11099
- &.${rootClassName$K} {
11234
+ &.${rootClassName$L} {
11100
11235
  .MuiAlert-message {
11101
11236
  word-break: break-word;
11102
11237
  }
11103
- .${rootClassName$1m} {
11238
+ .${rootClassName$1n} {
11104
11239
  align-items: flex-start;
11105
11240
  }
11106
11241
  &.MuiSnackbar-anchorOriginTopLeft,
@@ -11153,7 +11288,7 @@ const DotSnackbar = ({
11153
11288
  }) => {
11154
11289
  const hasActions = !!(primaryAction || secondaryAction);
11155
11290
  const calculatedAutoHideDuration = autoHideDuration === null || autoHideDuration > 0 ? autoHideDuration : addAutoHideDuration(severity);
11156
- const rootClasses = useStylesWithRootClass(rootClassName$K, className);
11291
+ const rootClasses = useStylesWithRootClass(rootClassName$L, className);
11157
11292
  const handleSnackbarClose = reason => {
11158
11293
  if (!reason || hideOnClickAway || !hideOnClickAway && reason !== 'clickaway') {
11159
11294
  onClose();
@@ -11223,10 +11358,10 @@ const DotSnackbar = ({
11223
11358
  });
11224
11359
  };
11225
11360
 
11226
- const rootClassName$J = 'dot-snackbar-container';
11361
+ const rootClassName$K = 'dot-snackbar-container';
11227
11362
  const StyledSnackbarContainer = styled.div`
11228
11363
  ${() => css`
11229
- &.${rootClassName$J} {
11364
+ &.${rootClassName$K} {
11230
11365
  position: absolute;
11231
11366
  top: 0;
11232
11367
  width: 250px;
@@ -11258,10 +11393,10 @@ const DotSnackbarContainer = ({
11258
11393
  };
11259
11394
  }
11260
11395
  return jsx(StyledSnackbarContainer, {
11261
- className: rootClassName$J,
11396
+ className: rootClassName$K,
11262
11397
  children: jsx("div", {
11263
- className: rootClassName$J,
11264
- "data-testid": rootClassName$J,
11398
+ className: rootClassName$K,
11399
+ "data-testid": rootClassName$K,
11265
11400
  children: alerts.slice().reverse().map(alert => {
11266
11401
  return jsx(DotSnackbar, {
11267
11402
  autoCloseOnAction: autoCloseOnAction,
@@ -11335,12 +11470,12 @@ const useEnqueueErrorMessage = error => {
11335
11470
  }, [error]);
11336
11471
  };
11337
11472
 
11338
- const rootClassName$I = 'dot-dashboard-details';
11473
+ const rootClassName$J = 'dot-dashboard-details';
11339
11474
  const StyledDashboardDetails = styled(DotDrawer)`
11340
11475
  ${({
11341
11476
  theme
11342
11477
  }) => css`
11343
- &.${rootClassName$I} {
11478
+ &.${rootClassName$J} {
11344
11479
  .dot-drawer-paper {
11345
11480
  padding: 0;
11346
11481
  width: 382px;
@@ -11466,7 +11601,7 @@ const DotDashboardDetailsView = ({
11466
11601
  modifiedAuthorUser
11467
11602
  }) => {
11468
11603
  var _a, _b;
11469
- const rootClasses = useStylesWithRootClass(rootClassName$I, className);
11604
+ const rootClasses = useStylesWithRootClass(rootClassName$J, className);
11470
11605
  const closeHandler = useCallback(event => {
11471
11606
  onClose && onClose(event);
11472
11607
  }, [onClose]);
@@ -12128,12 +12263,12 @@ function DotDashboardDialog({
12128
12263
  });
12129
12264
  }
12130
12265
 
12131
- const rootClassName$H = 'dot-impact-dialog';
12266
+ const rootClassName$I = 'dot-impact-dialog';
12132
12267
  const StyledImpactDialog = styled(DotDialog)`
12133
12268
  ${({
12134
12269
  theme
12135
12270
  }) => css`
12136
- &.${rootClassName$H} {
12271
+ &.${rootClassName$I} {
12137
12272
  .high-impact-default-content {
12138
12273
  margin-top: ${theme.spacing(2)};
12139
12274
  margin-bottom: ${theme.spacing(3)};
@@ -12239,7 +12374,7 @@ const DotImpactDialog = ({
12239
12374
  }
12240
12375
  return '';
12241
12376
  }, [action, capitalize, impact, record]);
12242
- const rootClasses = useStylesWithRootClass(rootClassName$H, className);
12377
+ const rootClasses = useStylesWithRootClass(rootClassName$I, className);
12243
12378
  return jsx(StyledImpactDialog, {
12244
12379
  "data-testid": dataTestId,
12245
12380
  className: rootClasses,
@@ -12808,6 +12943,7 @@ function DotDashboardOptionsMenu({
12808
12943
  currentUser,
12809
12944
  isEdit = false,
12810
12945
  menuPlacement,
12946
+ onFeature,
12811
12947
  onStartDelete,
12812
12948
  onStartDuplicate,
12813
12949
  onStartStatusChange,
@@ -12870,6 +13006,21 @@ function DotDashboardOptionsMenu({
12870
13006
  const isDraft = !dashboard.parent_id && dashboard.lifecycle_state === DashboardView.lifecycle_state.DRAFT;
12871
13007
  const isPublished = dashboard.parent_id || dashboard.lifecycle_state === DashboardView.lifecycle_state.PUBLISHED;
12872
13008
  const menuItems = [];
13009
+ if (onFeature && isPublished && !dashboard.in_progress_changes) {
13010
+ const label = dashboard.featured ? 'Remove from featured page' : 'Add to featured page';
13011
+ menuItems.push({
13012
+ children: jsx(DotButton, {
13013
+ "data-testid": `feature-dashboard-action-button-${dashboard.id}`,
13014
+ ariaLabel: label,
13015
+ type: "text",
13016
+ startIcon: jsx(DotIcon, {
13017
+ iconId: "add-outlined"
13018
+ }),
13019
+ children: label
13020
+ }, `feature-dashboard-action-button-${dashboard.id}`),
13021
+ key: 'feature'
13022
+ });
13023
+ }
12873
13024
  if (!isEdit && onViewMode && !dashboard.is_ootb_dashboard && !dashboardLocked(dashboard, currentUser)) {
12874
13025
  menuItems.push({
12875
13026
  children: jsx(DotButton, {
@@ -13067,6 +13218,9 @@ function DotDashboardOptionsMenu({
13067
13218
  case 'unpublish':
13068
13219
  onStartStatusChange(dashboard, DashboardView.lifecycle_state.DRAFT);
13069
13220
  break;
13221
+ case 'feature':
13222
+ onFeature(dashboard);
13223
+ break;
13070
13224
  }
13071
13225
  handleMenuClose();
13072
13226
  }, [menuItems, handleMenuClose]);
@@ -13611,7 +13765,7 @@ function DotDashboardHeader({
13611
13765
  });
13612
13766
  }
13613
13767
 
13614
- const rootClassName$G = 'dot-empty-state';
13768
+ const rootClassName$H = 'dot-empty-state';
13615
13769
  const emptyStateImageSizing = {
13616
13770
  xsmall: 9,
13617
13771
  dense: 15,
@@ -13682,9 +13836,9 @@ const StyledEmptyState = styled.div`
13682
13836
  `}
13683
13837
  `;
13684
13838
 
13685
- const rootClassName$F = 'dot-illustration';
13839
+ const rootClassName$G = 'dot-illustration';
13686
13840
  const StyledIllustration = styled.span`
13687
- &.${rootClassName$F} {
13841
+ &.${rootClassName$G} {
13688
13842
  display: inline-block;
13689
13843
  }
13690
13844
  `;
@@ -13701,17 +13855,17 @@ const DotIllustration = ({
13701
13855
  tooltip,
13702
13856
  tooltipPlacement = 'right-end'
13703
13857
  }) => {
13704
- const rootClasses = useStylesWithRootClass(rootClassName$F, className);
13858
+ const rootClasses = useStylesWithRootClass(rootClassName$G, className);
13705
13859
  return jsx(DotTooltip, {
13706
13860
  childrenDisplayStyle: "inline-block",
13707
13861
  title: tooltip,
13708
13862
  placement: tooltipPlacement,
13709
- "data-testid": `${dataTestId || rootClassName$F}-tooltip`,
13863
+ "data-testid": `${dataTestId || rootClassName$G}-tooltip`,
13710
13864
  children: jsx(StyledIllustration, {
13711
13865
  "aria-hidden": "false",
13712
13866
  "aria-label": ariaLabel || title || 'Illustration',
13713
13867
  className: rootClasses,
13714
- "data-testid": dataTestId || rootClassName$F,
13868
+ "data-testid": dataTestId || rootClassName$G,
13715
13869
  role: ariaRole,
13716
13870
  children: jsx("img", {
13717
13871
  alt: alt || 'Illustration',
@@ -13737,7 +13891,7 @@ const DotEmptyState = ({
13737
13891
  subtitle,
13738
13892
  title
13739
13893
  }) => {
13740
- const rootClasses = useStylesWithRootClass(rootClassName$G, className);
13894
+ const rootClasses = useStylesWithRootClass(rootClassName$H, className);
13741
13895
  return jsxs(StyledEmptyState, {
13742
13896
  "aria-label": ariaLabel,
13743
13897
  className: `${rootClasses} ${size}`,
@@ -13818,20 +13972,20 @@ const StyledRadioGroup = styled(RadioGroup)`
13818
13972
  &.${groupClassName} {
13819
13973
  padding-left: ${theme.spacing(2.5)};
13820
13974
 
13821
- .${rootClassName$T} {
13975
+ .${rootClassName$U} {
13822
13976
  margin: 0;
13823
13977
  }
13824
13978
  }
13825
13979
  `}
13826
13980
  `;
13827
13981
 
13828
- const rootClassName$E = 'dot-date-picker';
13982
+ const rootClassName$F = 'dot-date-picker';
13829
13983
  const popperClassName = 'dot-date-picker-popper';
13830
13984
  const containerClassName$2 = 'dot-date-picker-container';
13831
13985
  const rectanglePickersDayClassName = 'dot-rectangle-pickers-day';
13832
13986
  const StyledDatePickerContainer = styled.div`
13833
13987
  ${() => css`
13834
- &.${rootClassName$E} .full-width {
13988
+ &.${rootClassName$F} .full-width {
13835
13989
  width: 100%;
13836
13990
  }
13837
13991
  `}
@@ -13840,7 +13994,7 @@ const StyledDatePicker = styled(DatePicker)`
13840
13994
  ${({
13841
13995
  theme
13842
13996
  }) => css`
13843
- &.${rootClassName$E} {
13997
+ &.${rootClassName$F} {
13844
13998
  ${pickerInputStyles(theme)};
13845
13999
 
13846
14000
  .Mui-disabled.MuiInputBase-root,
@@ -13882,7 +14036,7 @@ const StyledPickersDay = styled(PickersDay)`
13882
14036
  `}
13883
14037
  `;
13884
14038
 
13885
- const rootClassName$D = 'dot-time-picker';
14039
+ const rootClassName$E = 'dot-time-picker';
13886
14040
  const containerClassName$1 = 'dot-time-picker-container';
13887
14041
  const timePickerPopperClassName = 'dot-time-picker-popper';
13888
14042
  const TIME_SELECTION_HEIGHT_SPACING = 34.5;
@@ -13902,7 +14056,7 @@ const StyledTimePicker = styled(TimePicker)`
13902
14056
  ${({
13903
14057
  theme
13904
14058
  }) => css`
13905
- &.${rootClassName$D} {
14059
+ &.${rootClassName$E} {
13906
14060
  ${pickerInputStyles(theme)};
13907
14061
 
13908
14062
  .Mui-disabled.MuiInputBase-root,
@@ -13979,36 +14133,36 @@ const StyledTimePickerPopper = styled(Popper)`
13979
14133
  `}
13980
14134
  `;
13981
14135
 
13982
- const rootClassName$C = 'dot-form';
14136
+ const rootClassName$D = 'dot-form';
13983
14137
  const StyledFormContainer = styled.div`
13984
14138
  ${({
13985
14139
  theme
13986
14140
  }) => css`
13987
- &.${rootClassName$C} {
14141
+ &.${rootClassName$D} {
13988
14142
  margin: ${theme.spacing(3, 0)};
13989
14143
 
13990
- .${rootClassName$R},
13991
- .${rootClassName$T},
13992
- .${rootClassName$1q},
14144
+ .${rootClassName$S},
14145
+ .${rootClassName$U},
14146
+ .${rootClassName$1r},
13993
14147
  .${rootSelectClassName},
13994
- .${rootClassName$E},
13995
- .${rootClassName$D} {
14148
+ .${rootClassName$F},
14149
+ .${rootClassName$E} {
13996
14150
  margin: ${theme.spacing(1, 0)};
13997
14151
  }
13998
14152
 
13999
14153
  .${wrapperClassName$2} {
14000
- + .${rootClassName$1q},
14154
+ + .${rootClassName$1r},
14001
14155
  .${wrapperClassName$2}
14002
14156
  + .${rootSelectClassName},
14003
14157
  .${wrapperClassName$2}
14004
- + .${rootClassName$E},
14158
+ + .${rootClassName$F},
14005
14159
  .${wrapperClassName$2}
14006
- + .${rootClassName$D} {
14160
+ + .${rootClassName$E} {
14007
14161
  margin: ${theme.spacing(0, 0, 1, 0)};
14008
14162
  }
14009
14163
 
14010
- .${rootClassName$Q}, .${groupClassName} {
14011
- .${rootClassName$T} {
14164
+ .${rootClassName$R}, .${groupClassName} {
14165
+ .${rootClassName$U} {
14012
14166
  margin: 0;
14013
14167
  }
14014
14168
  }
@@ -14023,7 +14177,7 @@ const DotForm = ({
14023
14177
  'data-testid': dataTestId,
14024
14178
  onSubmit
14025
14179
  }) => {
14026
- const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14180
+ const rootClasses = useStylesWithRootClass(rootClassName$D, className);
14027
14181
  return jsx("form", {
14028
14182
  "aria-label": ariaLabel,
14029
14183
  "data-testid": dataTestId,
@@ -14036,10 +14190,10 @@ const DotForm = ({
14036
14190
  });
14037
14191
  };
14038
14192
 
14039
- const rootClassName$B = 'dot-dynamic-form';
14193
+ const rootClassName$C = 'dot-dynamic-form';
14040
14194
  const StyledDynamicForm = styled(DotForm)`
14041
14195
  ${() => css`
14042
- &.${rootClassName$B} {
14196
+ &.${rootClassName$C} {
14043
14197
  }
14044
14198
  `}
14045
14199
  `;
@@ -14219,12 +14373,12 @@ const checkIfFormDataValid = formState => {
14219
14373
  return true;
14220
14374
  };
14221
14375
 
14222
- const rootClassName$A = 'dot-progress-button';
14376
+ const rootClassName$B = 'dot-progress-button';
14223
14377
  const StyledProgressButton = styled(DotButton)`
14224
14378
  ${({
14225
14379
  theme
14226
14380
  }) => css`
14227
- &.${rootClassName$A} {
14381
+ &.${rootClassName$B} {
14228
14382
  .hidden {
14229
14383
  // hide children but preserve its space so that
14230
14384
  // button's dimensions don't change
@@ -14249,7 +14403,7 @@ const DotProgressButton = ({
14249
14403
  ariaLabel,
14250
14404
  children,
14251
14405
  className,
14252
- 'data-pendoid': dataPendoId = rootClassName$A,
14406
+ 'data-pendoid': dataPendoId = rootClassName$B,
14253
14407
  'data-testid': dataTestId,
14254
14408
  disabled = false,
14255
14409
  disableInteractive,
@@ -14263,7 +14417,7 @@ const DotProgressButton = ({
14263
14417
  tooltip,
14264
14418
  type = 'primary'
14265
14419
  }) => {
14266
- const rootClasses = useStylesWithRootClass(rootClassName$A, className);
14420
+ const rootClasses = useStylesWithRootClass(rootClassName$B, className);
14267
14421
  const isButtonDisabled = disabled || isLoading;
14268
14422
  const titleClasses = useStylesWithRootClass(isLoading ? 'hidden' : '');
14269
14423
  const progressCircleSize = size === 'large' ? SPINNER_LARGE_SIZE : SPINNER_DEFAULT_SIZE;
@@ -14293,12 +14447,12 @@ const DotProgressButton = ({
14293
14447
  });
14294
14448
  };
14295
14449
 
14296
- const rootClassName$z = 'dot-radio';
14450
+ const rootClassName$A = 'dot-radio';
14297
14451
  const StyledRadioButton = styled(Radio)`
14298
14452
  ${({
14299
14453
  theme
14300
14454
  }) => css`
14301
- &.${rootClassName$z} {
14455
+ &.${rootClassName$A} {
14302
14456
  padding: 8px;
14303
14457
 
14304
14458
  svg {
@@ -14316,7 +14470,7 @@ function DotRadioButton({
14316
14470
  ariaLabel,
14317
14471
  checked,
14318
14472
  className,
14319
- 'data-pendoid': dataPendoId = rootClassName$T,
14473
+ 'data-pendoid': dataPendoId = rootClassName$U,
14320
14474
  'data-testid': dataTestId,
14321
14475
  disabled,
14322
14476
  id,
@@ -14329,7 +14483,7 @@ function DotRadioButton({
14329
14483
  size = 'medium',
14330
14484
  value
14331
14485
  }) {
14332
- const rootClasses = useStylesWithRootClass(rootClassName$T, className);
14486
+ const rootClasses = useStylesWithRootClass(rootClassName$U, className);
14333
14487
  const handleChange = event => {
14334
14488
  onChange && onChange(event, event.target.value);
14335
14489
  };
@@ -14337,7 +14491,7 @@ function DotRadioButton({
14337
14491
  const radioControl = jsx(StyledRadioButton, {
14338
14492
  checked: checked,
14339
14493
  classes: {
14340
- root: rootClassName$z
14494
+ root: rootClassName$A
14341
14495
  },
14342
14496
  color: "primary",
14343
14497
  "data-pendoid": dataPendoId,
@@ -14383,7 +14537,7 @@ const DotRadioGroup = ({
14383
14537
  size = 'medium'
14384
14538
  }) => {
14385
14539
  const placement = `${placementClassName}${labelPlacement}`;
14386
- const rootClasses = useStylesWithRootClass(rootClassName$R, className, placement);
14540
+ const rootClasses = useStylesWithRootClass(rootClassName$S, className, placement);
14387
14541
  const radioValue = value || defaultValue;
14388
14542
  const [selectedValue, setSelectedValue] = useState(radioValue);
14389
14543
  /* This will ensure that value can be updated from the outside */
@@ -14448,7 +14602,7 @@ const DotRadioGroup = ({
14448
14602
  });
14449
14603
  };
14450
14604
 
14451
- const rootClassName$y = 'dot-switch';
14605
+ const rootClassName$z = 'dot-switch';
14452
14606
  const StyledSwitch = styled(Switch)`
14453
14607
  ${({
14454
14608
  theme
@@ -14475,7 +14629,7 @@ const DotSwitch = ({
14475
14629
  checked,
14476
14630
  className,
14477
14631
  color,
14478
- 'data-pendoid': dataPendoId = rootClassName$y,
14632
+ 'data-pendoid': dataPendoId = rootClassName$z,
14479
14633
  'data-testid': dataTestId,
14480
14634
  disabled = false,
14481
14635
  id,
@@ -14485,7 +14639,7 @@ const DotSwitch = ({
14485
14639
  onChange,
14486
14640
  size = 'medium'
14487
14641
  }) => {
14488
- const rootClasses = useStylesWithRootClass(rootClassName$y, className);
14642
+ const rootClasses = useStylesWithRootClass(rootClassName$z, className);
14489
14643
  const handleChange = event => {
14490
14644
  onChange && onChange(event);
14491
14645
  };
@@ -14515,7 +14669,7 @@ const DotSwitch = ({
14515
14669
  tabIndex: 0
14516
14670
  });
14517
14671
  return jsx(StyledFormControlLabel, {
14518
- className: rootClassName$T,
14672
+ className: rootClassName$U,
14519
14673
  control: switchControl,
14520
14674
  label: label,
14521
14675
  labelPlacement: labelPlacement
@@ -14836,7 +14990,7 @@ const DotDynamicForm = ({
14836
14990
  onChange,
14837
14991
  onSubmit
14838
14992
  }) => {
14839
- const rootClasses = useStylesWithRootClass(rootClassName$B, className);
14993
+ const rootClasses = useStylesWithRootClass(rootClassName$C, className);
14840
14994
  // Memoize this operation so that is doesn't get executed each time this
14841
14995
  // component re-renders
14842
14996
  const initialFormState = useMemo(() => getInitialFormState(config, liveValidation), [config, liveValidation, getInitialFormState]);
@@ -15082,7 +15236,7 @@ const DotDynamicForm = ({
15082
15236
  });
15083
15237
  };
15084
15238
 
15085
- const rootClassName$x = 'dot-inline-edit';
15239
+ const rootClassName$y = 'dot-inline-edit';
15086
15240
  const editModeClassName = 'dot-edit-mode';
15087
15241
  const viewModeClassName = 'dot-view-mode';
15088
15242
  const placeholderClassName = 'dot-placeholder';
@@ -15094,7 +15248,7 @@ const StyledInlineEdit = styled.div`
15094
15248
  theme,
15095
15249
  fullWidth
15096
15250
  }) => css`
15097
- &.${rootClassName$x} {
15251
+ &.${rootClassName$y} {
15098
15252
  align-items: center;
15099
15253
  color: ${theme.palette.figma.typography.black};
15100
15254
  display: ${fullWidth ? 'flex' : 'inline-flex'};
@@ -15308,7 +15462,7 @@ const DotInlineEdit = ({
15308
15462
  bindings,
15309
15463
  charactersLimit,
15310
15464
  className,
15311
- 'data-pendoid': dataPendoId = rootClassName$x,
15465
+ 'data-pendoid': dataPendoId = rootClassName$y,
15312
15466
  'data-testid': dataTestId,
15313
15467
  fullWidth = true,
15314
15468
  hideActionButtons,
@@ -15344,7 +15498,7 @@ const DotInlineEdit = ({
15344
15498
  }
15345
15499
  }, [value]);
15346
15500
  const isSaveDisabled = checkIfEmptyValue(inputValue);
15347
- const rootClasses = useStylesWithRootClass(rootClassName$x, className, editing ? editModeClassName : '');
15501
+ const rootClasses = useStylesWithRootClass(rootClassName$y, className, editing ? editModeClassName : '');
15348
15502
  const handleShowTooltip = visible => {
15349
15503
  if (!editing) {
15350
15504
  setShowTooltip(visible);
@@ -15532,13 +15686,13 @@ const DotInlineEdit = ({
15532
15686
  });
15533
15687
  };
15534
15688
 
15535
- const rootClassName$w = 'dot-navigation-rail';
15689
+ const rootClassName$x = 'dot-navigation-rail';
15536
15690
  const StyledNavigationRail = styled.div`
15537
15691
  ${({
15538
15692
  theme,
15539
15693
  railItemPosition
15540
15694
  }) => css`
15541
- &.${rootClassName$w} {
15695
+ &.${rootClassName$x} {
15542
15696
  background: ${theme.palette.figma.neutral.elevated};
15543
15697
  border-left: 1px solid ${theme.palette.figma.border.default};
15544
15698
  display: flex;
@@ -15597,7 +15751,7 @@ const DotNavigationRail = ({
15597
15751
  railItems,
15598
15752
  selectedIndex = 0
15599
15753
  }) => {
15600
- const rootClasses = useStylesWithRootClass(rootClassName$w, className);
15754
+ const rootClasses = useStylesWithRootClass(rootClassName$x, className);
15601
15755
  const [selectedItemIndex, setSelectedItemIndex] = useState(selectedIndex);
15602
15756
  /* Used to change selected index programmatically from the consumer component */
15603
15757
  useEffect(() => {
@@ -15648,12 +15802,12 @@ const DotNavigationRail = ({
15648
15802
  });
15649
15803
  };
15650
15804
 
15651
- const rootClassName$v = 'dot-skeleton';
15805
+ const rootClassName$w = 'dot-skeleton';
15652
15806
  const StyledSkeleton = styled(Skeleton)`
15653
15807
  ${({
15654
15808
  theme
15655
15809
  }) => css`
15656
- &.${rootClassName$v} {
15810
+ &.${rootClassName$w} {
15657
15811
  background-color: ${theme.palette.figma.border.darker};
15658
15812
  }
15659
15813
  `}
@@ -15668,7 +15822,7 @@ const DotSkeleton = ({
15668
15822
  width,
15669
15823
  variant
15670
15824
  }) => {
15671
- const rootClasses = useStylesWithRootClass(rootClassName$v, className);
15825
+ const rootClasses = useStylesWithRootClass(rootClassName$w, className);
15672
15826
  return jsx(StyledSkeleton, {
15673
15827
  animation: "wave",
15674
15828
  "aria-label": ariaLabel,
@@ -15683,12 +15837,12 @@ const DotSkeleton = ({
15683
15837
  });
15684
15838
  };
15685
15839
 
15686
- const rootClassName$u = 'dot-split-button-group';
15840
+ const rootClassName$v = 'dot-split-button-group';
15687
15841
  const StyledSplitButtonGroup = styled(ButtonGroup)`
15688
15842
  ${({
15689
15843
  theme
15690
15844
  }) => css`
15691
- &.${rootClassName$u} {
15845
+ &.${rootClassName$v} {
15692
15846
  &.outlined,
15693
15847
  &.text {
15694
15848
  .expand-button {
@@ -15754,7 +15908,7 @@ const DotSplitButton = ({
15754
15908
  autoFocus = false,
15755
15909
  ariaLabel,
15756
15910
  className,
15757
- 'data-pendoid': dataPendoId = rootClassName$u,
15911
+ 'data-pendoid': dataPendoId = rootClassName$v,
15758
15912
  'data-testid': dataTestId,
15759
15913
  defaultMainOptionKey,
15760
15914
  disabled = false,
@@ -15770,7 +15924,7 @@ const DotSplitButton = ({
15770
15924
  tooltipPlacement,
15771
15925
  type = 'primary'
15772
15926
  }) => {
15773
- const rootClasses = useStylesWithRootClass(rootClassName$u, className, type, disabled ? 'disabled' : '');
15927
+ const rootClasses = useStylesWithRootClass(rootClassName$v, className, type, disabled ? 'disabled' : '');
15774
15928
  const [open, setOpen] = useState(false);
15775
15929
  const anchorRef = useRef(null);
15776
15930
  const hasEmptyOptions = options.length === 0;
@@ -15838,7 +15992,7 @@ const DotSplitButton = ({
15838
15992
  });
15839
15993
  };
15840
15994
 
15841
- const rootClassName$t = 'dot-stepper';
15995
+ const rootClassName$u = 'dot-stepper';
15842
15996
  const stepListClassName = 'dot-stepper-list';
15843
15997
  const contentClassName = 'dot-stepper-content';
15844
15998
  const StyledStepper = styled.div`
@@ -15846,7 +16000,7 @@ const StyledStepper = styled.div`
15846
16000
  theme,
15847
16001
  offset
15848
16002
  }) => css`
15849
- &.${rootClassName$t} {
16003
+ &.${rootClassName$u} {
15850
16004
  display: flex;
15851
16005
  align-items: flex-start;
15852
16006
  padding: 0;
@@ -16161,7 +16315,7 @@ const DotStepper = ({
16161
16315
  return ['left', 'right'].includes(stepsPosition) ? stepsPosition : 'left';
16162
16316
  }
16163
16317
  };
16164
- const rootClasses = useStylesWithRootClass(rootClassName$t, getStepsPosition(), className);
16318
+ const rootClasses = useStylesWithRootClass(rootClassName$u, getStepsPosition(), className);
16165
16319
  const stepContentClasses = displayInitialContent || displayFinalContent ? 'center-content' : '';
16166
16320
  const stickyBottomClasses = useStylesWithRootClass('actions-container', isStickyBottom ? 'with-top-border' : '');
16167
16321
  const actionsClasses = useStylesWithRootClass('actions', displayInitialContent || displayFinalContent ? 'center-actions' : '');
@@ -16379,12 +16533,12 @@ const DotStepper = ({
16379
16533
  });
16380
16534
  };
16381
16535
 
16382
- const rootClassName$s = 'dot-table-pagination-custom-actions';
16536
+ const rootClassName$t = 'dot-table-pagination-custom-actions';
16383
16537
  const StyledTablePaginationCustomActions = styled.div`
16384
16538
  ${({
16385
16539
  theme
16386
16540
  }) => css`
16387
- &.${rootClassName$s} {
16541
+ &.${rootClassName$t} {
16388
16542
  margin-left: ${theme.spacing(2.5)};
16389
16543
  display: flex;
16390
16544
  align-items: center;
@@ -16508,7 +16662,7 @@ const DotTablePaginationCustomActions = props => {
16508
16662
  });
16509
16663
  };
16510
16664
  return jsxs(StyledTablePaginationCustomActions, {
16511
- className: rootClassName$s,
16665
+ className: rootClassName$t,
16512
16666
  children: [jsx(DotIconButton, {
16513
16667
  ariaLabel: "previous page",
16514
16668
  className: "page-control-button",
@@ -16555,7 +16709,7 @@ const DotTablePaginationCustomActions = props => {
16555
16709
  });
16556
16710
  };
16557
16711
 
16558
- const rootClassName$r = 'dot-table-pagination';
16712
+ const rootClassName$s = 'dot-table-pagination';
16559
16713
  // TO-DO: Determine how to apply styles to standard popper element
16560
16714
  const paginationItemClassName = 'dot-pagination-menu-item';
16561
16715
  const StyledTablePagination = styled.div`
@@ -16563,7 +16717,7 @@ const StyledTablePagination = styled.div`
16563
16717
  theme,
16564
16718
  typography
16565
16719
  }) => css`
16566
- .${rootClassName$r} {
16720
+ .${rootClassName$s} {
16567
16721
  border-top: 1px solid ${theme.palette.figma.border.default};
16568
16722
 
16569
16723
  .dot-caption,
@@ -16606,7 +16760,7 @@ const DotTablePagination = ({
16606
16760
  showJumpToPageActionButton = false,
16607
16761
  typography = 'subtitle2'
16608
16762
  }) => {
16609
- const rootClasses = useStylesWithRootClass(rootClassName$r, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16763
+ const rootClasses = useStylesWithRootClass(rootClassName$s, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
16610
16764
  const handlePageChange = (event, newPage) => {
16611
16765
  onPageChange && onPageChange(newPage);
16612
16766
  };
@@ -16614,7 +16768,7 @@ const DotTablePagination = ({
16614
16768
  onRowsPerPageChange && onRowsPerPageChange(evt);
16615
16769
  };
16616
16770
  return /* Container is used to pass 'typography' prop to a styled component */jsx(StyledTablePagination, {
16617
- className: rootClassName$r,
16771
+ className: rootClassName$s,
16618
16772
  typography: typography,
16619
16773
  children: jsx(TablePagination, {
16620
16774
  ActionsComponent: showJumpToPageActionButton ? DotTablePaginationCustomActions : undefined,
@@ -16640,14 +16794,14 @@ const DotTablePagination = ({
16640
16794
  });
16641
16795
  };
16642
16796
 
16643
- const rootClassName$q = 'dot-table';
16797
+ const rootClassName$r = 'dot-table';
16644
16798
  const MULTISELECT_COLUMN_WIDTH = 52;
16645
16799
  const COLLAPSIBLE_COLUMN_WIDTH = 42;
16646
16800
  const StyledPaper$1 = styled(Paper)`
16647
16801
  ${({
16648
16802
  theme
16649
16803
  }) => css`
16650
- &.${rootClassName$q} {
16804
+ &.${rootClassName$r} {
16651
16805
  background: ${theme.palette.figma.background.level0.componentsBackground};
16652
16806
  border: 1px solid ${theme.palette.figma.border.default};
16653
16807
  overflow: hidden;
@@ -16790,10 +16944,10 @@ const StyledMenu$1 = styled(DotMenu)`
16790
16944
  }
16791
16945
  `;
16792
16946
 
16793
- const rootClassName$p = 'dot-tbody';
16947
+ const rootClassName$q = 'dot-tbody';
16794
16948
  const StyledTableBody = styled(TableBody)`
16795
16949
  ${() => css`
16796
- &.${rootClassName$p} {
16950
+ &.${rootClassName$q} {
16797
16951
  tr:last-child td {
16798
16952
  border-bottom: none;
16799
16953
  }
@@ -16988,12 +17142,12 @@ function stableSort(array, comparator) {
16988
17142
  return stabilizedThis.map(el => el[0]);
16989
17143
  }
16990
17144
 
16991
- const rootClassName$o = 'dot-td';
17145
+ const rootClassName$p = 'dot-td';
16992
17146
  const StyledTableCell = styled(TableCell)`
16993
17147
  ${({
16994
17148
  theme
16995
17149
  }) => css`
16996
- &.${rootClassName$o} {
17150
+ &.${rootClassName$p} {
16997
17151
  padding-top: 0;
16998
17152
  padding-bottom: 0;
16999
17153
 
@@ -17088,7 +17242,7 @@ const DotBodyCell = ({
17088
17242
  const isOverflowing = actionTableCellWidth > (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current.clientWidth);
17089
17243
  setShowMenu(isOverflowing);
17090
17244
  };
17091
- const rootClasses = useStylesWithRootClass(rootClassName$o, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17245
+ const rootClasses = useStylesWithRootClass(rootClassName$p, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
17092
17246
  const getTableCellValue = () => {
17093
17247
  if (Array.isArray(value)) {
17094
17248
  return jsx("div", {
@@ -17156,13 +17310,13 @@ const EmptyDotRow = ({
17156
17310
  const TABLE_TYPOGRAPHY_VARIANT = 'body1';
17157
17311
  const TABLE_DEFAULT_SKELETON_ROWS = 4;
17158
17312
 
17159
- const rootClassName$n = 'dot-th-checkbox';
17313
+ const rootClassName$o = 'dot-th-checkbox';
17160
17314
  const styledTableHeaderCheckboxElement = (isCell = true) => {
17161
17315
  return styled(isCell ? TableCell : 'div')`
17162
17316
  ${({
17163
17317
  theme
17164
17318
  }) => css`
17165
- &.${rootClassName$n} {
17319
+ &.${rootClassName$o} {
17166
17320
  background: ${theme.palette.figma.background.level0.componentsBackground};
17167
17321
  padding: ${theme.spacing(0, 1)};
17168
17322
  width: ${theme.spacing(5)};
@@ -17190,7 +17344,7 @@ const DotHeaderCheckboxCell = ({
17190
17344
  isFromTableSelectionToolbar,
17191
17345
  multiSelectHeader
17192
17346
  }) => {
17193
- const rootClasses = useStylesWithRootClass(rootClassName$n, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17347
+ const rootClasses = useStylesWithRootClass(rootClassName$o, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
17194
17348
  const [multiSelectState, setMultiSelectState] = useState('unchecked');
17195
17349
  const {
17196
17350
  onCheckAllChange,
@@ -17240,12 +17394,12 @@ const DotHeaderCheckboxCell = ({
17240
17394
  });
17241
17395
  };
17242
17396
 
17243
- const rootClassName$m = 'dot-th';
17397
+ const rootClassName$n = 'dot-th';
17244
17398
  const StyledTableHeaderCell = styled(TableCell)`
17245
17399
  ${({
17246
17400
  theme
17247
17401
  }) => css`
17248
- &.${rootClassName$m} {
17402
+ &.${rootClassName$n} {
17249
17403
  background: ${theme.palette.figma.background.level0.componentsBackground};
17250
17404
 
17251
17405
  &.MuiTableCell-alignCenter > span.MuiTableSortLabel-root {
@@ -17285,7 +17439,7 @@ const DotHeaderCell = ({
17285
17439
  value,
17286
17440
  width
17287
17441
  }) => {
17288
- const rootClasses = useStylesWithRootClass(rootClassName$m, pinned ? 'dot-pinned-cell' : '', className);
17442
+ const rootClasses = useStylesWithRootClass(rootClassName$n, pinned ? 'dot-pinned-cell' : '', className);
17289
17443
  const headerTitle = isString$2(value) ? value : null;
17290
17444
  const formattedValue = getFormattedTableCellValue(value, typography);
17291
17445
  const getCellValue = () => {
@@ -17376,12 +17530,12 @@ const DotHeaderRow = ({
17376
17530
  });
17377
17531
  };
17378
17532
 
17379
- const rootClassName$l = 'dot-tr';
17533
+ const rootClassName$m = 'dot-tr';
17380
17534
  const StyledTableRowStyles = styled(TableRow)`
17381
17535
  ${({
17382
17536
  theme
17383
17537
  }) => css`
17384
- &.${rootClassName$l} {
17538
+ &.${rootClassName$m} {
17385
17539
  &.selected {
17386
17540
  &,
17387
17541
  .dot-td.dot-pinned-cell,
@@ -17607,12 +17761,12 @@ const ExpandCollapseCell = ({
17607
17761
  });
17608
17762
  };
17609
17763
 
17610
- const rootClassName$k = 'dot-td-checkbox';
17764
+ const rootClassName$l = 'dot-td-checkbox';
17611
17765
  const StyledTableBodyCheckboxCell = styled(TableCell)`
17612
17766
  ${({
17613
17767
  theme
17614
17768
  }) => css`
17615
- &.${rootClassName$k} {
17769
+ &.${rootClassName$l} {
17616
17770
  padding: ${theme.spacing(0, 1)};
17617
17771
  width: ${theme.spacing(5)};
17618
17772
 
@@ -17631,7 +17785,7 @@ const DotBodyCheckboxCell = ({
17631
17785
  onChange,
17632
17786
  rowId
17633
17787
  }) => {
17634
- const rootClasses = useStylesWithRootClass(rootClassName$k, className);
17788
+ const rootClasses = useStylesWithRootClass(rootClassName$l, className);
17635
17789
  const [isCheckboxChecked, setIsCheckboxChecked] = useState(isChecked);
17636
17790
  /** This effect is used when 'checked' status is changed from the outside */
17637
17791
  useEffect(() => {
@@ -17684,7 +17838,7 @@ const DotTableRow = ({
17684
17838
  selectedTableRowIds
17685
17839
  } = multiSelectBody || {};
17686
17840
  const isCheckboxChecked = selectedTableRowIds && selectedTableRowIds.includes(id) || false;
17687
- const rootClasses = useStylesWithRootClass(rootClassName$l, isCheckboxChecked ? 'selected' : undefined, className);
17841
+ const rootClasses = useStylesWithRootClass(rootClassName$m, isCheckboxChecked ? 'selected' : undefined, className);
17688
17842
  const renderCheckboxCell = () => {
17689
17843
  return jsx(DotBodyCheckboxCell, {
17690
17844
  ariaLabel: "Click to select this row",
@@ -17805,7 +17959,7 @@ const DotTableBody = ({
17805
17959
  return jsxs(Fragment, {
17806
17960
  children: [jsx(StyledTableBody, {
17807
17961
  classes: {
17808
- root: rootClassName$p
17962
+ root: rootClassName$q
17809
17963
  },
17810
17964
  children: getTableBodyRows()
17811
17965
  }), jsx(StyledMenu$1, {
@@ -17820,12 +17974,12 @@ const DotTableBody = ({
17820
17974
  });
17821
17975
  };
17822
17976
 
17823
- const rootClassName$j = 'dot-table-selection-toolbar';
17977
+ const rootClassName$k = 'dot-table-selection-toolbar';
17824
17978
  const StyledTableSelectionToolbar = styled(DotActionToolbar)`
17825
17979
  ${({
17826
17980
  theme
17827
17981
  }) => css`
17828
- &.${rootClassName$j} {
17982
+ &.${rootClassName$k} {
17829
17983
  display: flex;
17830
17984
  align-items: center;
17831
17985
  justify-content: space-between;
@@ -17880,7 +18034,7 @@ const DotTableSelectionToolbar = ({
17880
18034
  multiSelectHeader,
17881
18035
  selectedRowsNumber
17882
18036
  }) => {
17883
- const rootClasses = useStylesWithRootClass(rootClassName$j, className);
18037
+ const rootClasses = useStylesWithRootClass(rootClassName$k, className);
17884
18038
  return jsxs(StyledTableSelectionToolbar, {
17885
18039
  ariaLabel: ariaLabel,
17886
18040
  className: rootClasses,
@@ -17966,7 +18120,7 @@ const DotTable = ({
17966
18120
  setPage(page);
17967
18121
  }
17968
18122
  }, [page]);
17969
- const rootClasses = useStylesWithRootClass(rootClassName$q, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
18123
+ const rootClasses = useStylesWithRootClass(rootClassName$r, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
17970
18124
  const updateData = (newOrder, newOrderBy, newPage, newRowsPerPage) => {
17971
18125
  const newData = stableSort(data, getComparator(newOrder, newOrderBy));
17972
18126
  setPageData(newRowsPerPage ? newData.slice(newPage * newRowsPerPage, newPage * newRowsPerPage + newRowsPerPage) : newData);
@@ -18169,7 +18323,7 @@ const DotTableAction = ({
18169
18323
  });
18170
18324
  };
18171
18325
 
18172
- const rootClassName$i = 'dot-table-actions';
18326
+ const rootClassName$j = 'dot-table-actions';
18173
18327
  const TableActionsContainer = styled.div`
18174
18328
  overflow: hidden;
18175
18329
  text-overflow: clip;
@@ -18259,7 +18413,7 @@ const DotTableActions = ({
18259
18413
  };
18260
18414
  return jsxs(Fragment, {
18261
18415
  children: [jsxs(TableActionsContainer, {
18262
- className: rootClassName$i,
18416
+ className: rootClassName$j,
18263
18417
  ref: wrapperRef,
18264
18418
  children: [!showMenu && renderTableActions(), (showMenu || actions.length > 2) && jsx(DotIconButton, {
18265
18419
  ariaLabel: "more options",
@@ -18283,12 +18437,12 @@ const DotTableActions = ({
18283
18437
  });
18284
18438
  };
18285
18439
 
18286
- const rootClassName$h = 'dot-tabs';
18440
+ const rootClassName$i = 'dot-tabs';
18287
18441
  const StyledTabs = styled(Tabs)`
18288
18442
  ${({
18289
18443
  theme
18290
18444
  }) => css`
18291
- &.${rootClassName$h} {
18445
+ &.${rootClassName$i} {
18292
18446
  &.MuiTabs-root {
18293
18447
  width: 100%;
18294
18448
  }
@@ -18341,7 +18495,7 @@ const DotTabs = ({
18341
18495
  centered = false,
18342
18496
  className,
18343
18497
  color,
18344
- 'data-pendoid': dataPendoId = rootClassName$h,
18498
+ 'data-pendoid': dataPendoId = rootClassName$i,
18345
18499
  'data-testid': dataTestId,
18346
18500
  initialValue = 0,
18347
18501
  onChange,
@@ -18350,7 +18504,7 @@ const DotTabs = ({
18350
18504
  variant = 'standard'
18351
18505
  }) => {
18352
18506
  const [value, setValue] = useState(initialValue);
18353
- const rootClasses = useStylesWithRootClass(rootClassName$h, className);
18507
+ const rootClasses = useStylesWithRootClass(rootClassName$i, className);
18354
18508
  useEffect(() => {
18355
18509
  if (color) {
18356
18510
  console.warn('DEPRECATED: `color` prop is deprecated in `<DotTabs>`, please remove any usage of it in your application.');
@@ -18404,9 +18558,9 @@ const DotTabs = ({
18404
18558
  });
18405
18559
  };
18406
18560
 
18407
- const rootClassName$g = 'dot-file-upload';
18408
- const containerClassName = `${rootClassName$g}-container`;
18409
- const dropZoneClassName = `${rootClassName$g}-drop-zone`;
18561
+ const rootClassName$h = 'dot-file-upload';
18562
+ const containerClassName = `${rootClassName$h}-container`;
18563
+ const dropZoneClassName = `${rootClassName$h}-drop-zone`;
18410
18564
  const StyledFileUploadContainer = styled.div`
18411
18565
  ${({
18412
18566
  theme
@@ -18426,7 +18580,7 @@ const StyledFileUpload = styled.div`
18426
18580
  ${({
18427
18581
  theme
18428
18582
  }) => css`
18429
- &.${rootClassName$g}.${dropZoneClassName} {
18583
+ &.${rootClassName$h}.${dropZoneClassName} {
18430
18584
  align-items: center;
18431
18585
  background: ${theme.palette.figma.background.level0.bckgGray};
18432
18586
  border: 2px dashed ${theme.palette.figma.border.defaultButton};
@@ -18458,12 +18612,12 @@ const StyledFileUpload = styled.div`
18458
18612
  `}
18459
18613
  `;
18460
18614
 
18461
- const rootClassName$f = 'dot-file-list-item';
18615
+ const rootClassName$g = 'dot-file-list-item';
18462
18616
  const StyledFileListItem = styled(StyledListItem)`
18463
18617
  ${({
18464
18618
  theme
18465
18619
  }) => css`
18466
- &.${rootClassName$f} {
18620
+ &.${rootClassName$g} {
18467
18621
  border-bottom: 1px solid ${theme.palette.figma.border.default};
18468
18622
  &:hover {
18469
18623
  cursor: pointer;
@@ -18475,7 +18629,7 @@ const StyledFileListItem = styled(StyledListItem)`
18475
18629
  outline: none;
18476
18630
  }
18477
18631
 
18478
- &.file-success:not(:hover, :focus-visible) .${rootClassName$f}-end-icon {
18632
+ &.file-success:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18479
18633
  i:before {
18480
18634
  color: ${theme.palette.figma.success.normal};
18481
18635
  }
@@ -18485,7 +18639,7 @@ const StyledFileListItem = styled(StyledListItem)`
18485
18639
  }
18486
18640
  }
18487
18641
 
18488
- &.file-error:not(:hover, :focus-visible) .${rootClassName$f}-end-icon {
18642
+ &.file-error:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
18489
18643
  i:before,
18490
18644
  .MuiListItemText-secondary {
18491
18645
  color: ${theme.palette.figma.destructive.normal};
@@ -18527,7 +18681,7 @@ const DotFileListItem = ({
18527
18681
  onKeyPress,
18528
18682
  tabIndex = 0
18529
18683
  }) => {
18530
- const rootClasses = useStylesWithRootClass(rootClassName$f, className, error ? 'file-error' : 'file-success');
18684
+ const rootClasses = useStylesWithRootClass(rootClassName$g, className, error ? 'file-error' : 'file-success');
18531
18685
  const defaultIcon = error ? 'error-solid' : 'check-solid';
18532
18686
  const [endIcon, setEndIcon] = useState(defaultIcon);
18533
18687
  const handleItemClick = clickedFile => _event => onClick === null || onClick === void 0 ? void 0 : onClick(clickedFile);
@@ -18560,7 +18714,7 @@ const DotFileListItem = ({
18560
18714
  })]
18561
18715
  }), jsx(DotIconButton, {
18562
18716
  ariaLabel: "delete file",
18563
- className: `${rootClassName$f}-end-icon`,
18717
+ className: `${rootClassName$g}-end-icon`,
18564
18718
  "data-testid": dataTestId && `${dataTestId}-end-icon`,
18565
18719
  disabled: disableDelete,
18566
18720
  iconId: endIcon,
@@ -18684,7 +18838,7 @@ const DotFileUpload = ({
18684
18838
  buttonOnly = false,
18685
18839
  className,
18686
18840
  contentErrors,
18687
- 'data-pendoid': dataPendoId = rootClassName$g,
18841
+ 'data-pendoid': dataPendoId = rootClassName$h,
18688
18842
  'data-testid': dataTestId,
18689
18843
  disabled,
18690
18844
  hideFilesList,
@@ -18697,7 +18851,7 @@ const DotFileUpload = ({
18697
18851
  const [uploadedFiles, setUploadedFiles] = useState([]);
18698
18852
  const [hasMaxFilesError, setHasMaxFilesError] = useState(false);
18699
18853
  const isUploadDisabled = disabled || maxFiles && uploadedFiles.length >= maxFiles;
18700
- const rootClasses = useStylesWithRootClass(rootClassName$g, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18854
+ const rootClasses = useStylesWithRootClass(rootClassName$h, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
18701
18855
  const maxFilesClasses = useStylesWithRootClass('dot-max-files-message', hasMaxFilesError ? 'dot-max-files-reached' : '');
18702
18856
  const allowMultiple = maxFiles === undefined || maxFiles > 1;
18703
18857
  const setNewlyUploadedFiles = (acceptedFiles, fileRejections) => {
@@ -18769,6 +18923,76 @@ const DotFileUpload = ({
18769
18923
  });
18770
18924
  };
18771
18925
 
18926
+ const rootClassName$f = 'dot-fab';
18927
+ const StyledFab = styled(Fab)`
18928
+ ${({
18929
+ theme,
18930
+ color
18931
+ }) => css`
18932
+ &.${rootClassName$f} {
18933
+ ${color === 'default' ? css`
18934
+ background-color: ${theme.palette.figma.typography.white};
18935
+ color: ${theme.palette.figma.typography.black};
18936
+
18937
+ &:hover {
18938
+ background-color: ${theme.palette.figma.neutral.ripple};
18939
+ }
18940
+ ` : css`
18941
+ &.MuiFab-secondary {
18942
+ background-color: ${theme.palette.figma.inProgress.secondary};
18943
+
18944
+ &:hover {
18945
+ background-color: ${theme.palette.secondary[700]};
18946
+ }
18947
+ }
18948
+
18949
+ &,
18950
+ .dot-icon {
18951
+ color: ${theme.palette.figma.typography.white};
18952
+ }
18953
+ `}
18954
+
18955
+ &.Mui-disabled {
18956
+ background-color: ${theme.palette.figma.disabled.normal};
18957
+
18958
+ &,
18959
+ .dot-icon {
18960
+ color: ${theme.palette.figma.typography.disabledLightGray};
18961
+ }
18962
+ }
18963
+ }
18964
+ `}
18965
+ `;
18966
+
18967
+ const DotFab = ({
18968
+ ariaLabel,
18969
+ children,
18970
+ className,
18971
+ color = 'default',
18972
+ 'data-pendoid': dataPendoId = rootClassName$f,
18973
+ 'data-testid': dataTestId,
18974
+ disableRipple = false,
18975
+ disabled = false,
18976
+ onClick,
18977
+ size = 'large',
18978
+ variant = 'circular'
18979
+ }) => {
18980
+ const rootClasses = useStylesWithRootClass(rootClassName$f, className);
18981
+ return jsx(StyledFab, {
18982
+ "aria-label": ariaLabel,
18983
+ color: color,
18984
+ className: rootClasses,
18985
+ "data-pendoid": dataPendoId,
18986
+ "data-testid": dataTestId,
18987
+ disabled: disabled,
18988
+ disableRipple: disableRipple,
18989
+ onClick: event => onClick && onClick(event),
18990
+ size: size,
18991
+ variant: variant,
18992
+ children: children
18993
+ });
18994
+ };
18995
+
18772
18996
  const rootClassName$e = 'dot-divider';
18773
18997
  const StyledDivider = styled(Divider)`
18774
18998
  ${({
@@ -18823,7 +19047,7 @@ const DotPopper = ({
18823
19047
  placement
18824
19048
  }) => {
18825
19049
  const [arrowRef, setArrowRef] = useState(null);
18826
- const rootClasses = useStylesWithRootClass(rootClassName$1f, className);
19050
+ const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
18827
19051
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
18828
19052
  const handleClickAway = event => {
18829
19053
  if (onClickAway && (!anchorEl || !anchorEl.contains(event.currentTarget))) {
@@ -22401,7 +22625,7 @@ const DotDatePicker = ({
22401
22625
  autoFocus = false,
22402
22626
  className,
22403
22627
  closeOnSelect = true,
22404
- 'data-pendoid': dataPendoId = rootClassName$E,
22628
+ 'data-pendoid': dataPendoId = rootClassName$F,
22405
22629
  'data-testid': dataTestId,
22406
22630
  defaultValue,
22407
22631
  disableOpenPicker,
@@ -22442,7 +22666,7 @@ const DotDatePicker = ({
22442
22666
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22443
22667
  const isInputReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22444
22668
  const inputRef = useRef(null);
22445
- const rootClasses = useStylesWithRootClass(rootClassName$E, className, isInputReadOnly ? 'read-only' : '');
22669
+ const rootClasses = useStylesWithRootClass(rootClassName$F, className, isInputReadOnly ? 'read-only' : '');
22446
22670
  const containerClasses = useStylesWithRootClass(containerClassName$2, fullWidth ? 'full-width' : '', className);
22447
22671
  const focusInput = ref => {
22448
22672
  setTimeout(() => {
@@ -22663,7 +22887,7 @@ const DotTimePicker = ({
22663
22887
  ariaLabel,
22664
22888
  autoFocus = false,
22665
22889
  className,
22666
- 'data-pendoid': dataPendoId = rootClassName$D,
22890
+ 'data-pendoid': dataPendoId = rootClassName$E,
22667
22891
  'data-testid': dataTestId,
22668
22892
  defaultValue,
22669
22893
  disableOpenPicker = false,
@@ -22695,7 +22919,7 @@ const DotTimePicker = ({
22695
22919
  const hasValueWithoutChangeHandler = value !== undefined && onChange === undefined;
22696
22920
  const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
22697
22921
  const isComponentReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
22698
- const rootClasses = useStylesWithRootClass(rootClassName$D, className, isComponentReadOnly ? 'read-only' : '');
22922
+ const rootClasses = useStylesWithRootClass(rootClassName$E, className, isComponentReadOnly ? 'read-only' : '');
22699
22923
  const containerClasses = useStylesWithRootClass(containerClassName$1, fullWidth ? 'full-width' : '', className);
22700
22924
  const inputRef = useRef(null);
22701
22925
  const [isPickerOpened, setIsPickerOpened] = useState(false);
@@ -25281,4 +25505,4 @@ const DotColorPicker = ({
25281
25505
  });
25282
25506
  };
25283
25507
 
25284
- export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };
25508
+ 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 };