@digital-ai/dot-components 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +359 -289
- package/package.json +1 -1
- package/src/lib/components/floating-action-button/Fab.d.ts +22 -0
- package/src/lib/components/floating-action-button/Fab.styles.d.ts +2 -0
- package/src/lib/components/floating-action-button/index.d.ts +2 -0
- 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$
|
|
45
|
+
const rootClassName$1s = 'dot-typography';
|
|
46
46
|
const StyledTypography = styled(Typography)`
|
|
47
47
|
${({
|
|
48
48
|
theme
|
|
49
49
|
}) => css`
|
|
50
|
-
&.${rootClassName$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1870
|
+
const rootClassName$1o = 'dot-action-toolbar';
|
|
1871
1871
|
const StyledToolbar = styled(Toolbar)`
|
|
1872
1872
|
${({
|
|
1873
1873
|
theme
|
|
1874
1874
|
}) => css`
|
|
1875
|
-
&.${rootClassName$
|
|
1875
|
+
&.${rootClassName$1o} {
|
|
1876
1876
|
border-bottom: 1px solid ${theme.palette.figma.border.default};
|
|
1877
1877
|
|
|
1878
|
-
.${rootClassName$
|
|
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$
|
|
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$
|
|
1902
|
+
const rootClassName$1n = 'dot-alert-banner';
|
|
1903
1903
|
const StyledAlertBanner = styled(Alert)`
|
|
1904
1904
|
${({
|
|
1905
1905
|
theme
|
|
1906
1906
|
}) => css`
|
|
1907
|
-
&.${rootClassName$
|
|
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$
|
|
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$
|
|
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$
|
|
1993
|
+
const rootClassName$1m = 'dot-annotation';
|
|
1994
1994
|
const StyledAnnotation = styled.kbd`
|
|
1995
1995
|
${({
|
|
1996
1996
|
theme
|
|
1997
1997
|
}) => css`
|
|
1998
|
-
&.${rootClassName$
|
|
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$
|
|
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$
|
|
2030
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1m, className, type === 'secondary' ? 'secondary' : '');
|
|
2031
2031
|
return jsx(StyledAnnotation, {
|
|
2032
2032
|
"aria-label": ariaLabel,
|
|
2033
2033
|
className: rootClasses,
|
|
@@ -2664,7 +2664,7 @@ const useDotCoreApiContext = () => {
|
|
|
2664
2664
|
return useContext(DotCoreApiContext);
|
|
2665
2665
|
};
|
|
2666
2666
|
|
|
2667
|
-
const rootClassName$
|
|
2667
|
+
const rootClassName$1l = 'dot-avatar';
|
|
2668
2668
|
const avatarSpacing = {
|
|
2669
2669
|
small: 3,
|
|
2670
2670
|
medium: 5,
|
|
@@ -2674,7 +2674,7 @@ const StyledAvatar = styled(Avatar)`
|
|
|
2674
2674
|
${({
|
|
2675
2675
|
theme
|
|
2676
2676
|
}) => css`
|
|
2677
|
-
&.${rootClassName$
|
|
2677
|
+
&.${rootClassName$1l} {
|
|
2678
2678
|
display: inline-flex;
|
|
2679
2679
|
background-color: ${({
|
|
2680
2680
|
color
|
|
@@ -2792,7 +2792,7 @@ const DotAvatar = ({
|
|
|
2792
2792
|
variant = 'circular',
|
|
2793
2793
|
style
|
|
2794
2794
|
}) => {
|
|
2795
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
2795
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1l, className);
|
|
2796
2796
|
const getAvatarColor = () => {
|
|
2797
2797
|
if ((style === null || style === void 0 ? void 0 : style.color) !== undefined) return 'inherit';
|
|
2798
2798
|
if (color) return color;
|
|
@@ -2834,12 +2834,12 @@ const DotAvatar = ({
|
|
|
2834
2834
|
});
|
|
2835
2835
|
};
|
|
2836
2836
|
|
|
2837
|
-
const rootClassName$
|
|
2837
|
+
const rootClassName$1k = 'dot-button';
|
|
2838
2838
|
const StyledButton = styled(Button)`
|
|
2839
2839
|
${({
|
|
2840
2840
|
theme
|
|
2841
2841
|
}) => css`
|
|
2842
|
-
&.${rootClassName$
|
|
2842
|
+
&.${rootClassName$1k} {
|
|
2843
2843
|
background-color: ${theme.palette.figma.primary.normal};
|
|
2844
2844
|
margin: ${theme.spacing(0.5)};
|
|
2845
2845
|
padding: ${theme.spacing(0.75, 2)};
|
|
@@ -2992,7 +2992,7 @@ const DotButton = forwardRef(({
|
|
|
2992
2992
|
autoFocus = false,
|
|
2993
2993
|
children,
|
|
2994
2994
|
className,
|
|
2995
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
2995
|
+
'data-pendoid': dataPendoId = rootClassName$1k,
|
|
2996
2996
|
'data-testid': dataTestId,
|
|
2997
2997
|
disabled = false,
|
|
2998
2998
|
disableInteractive,
|
|
@@ -3010,7 +3010,7 @@ const DotButton = forwardRef(({
|
|
|
3010
3010
|
tooltipPlacement,
|
|
3011
3011
|
type = 'primary'
|
|
3012
3012
|
}, ref) => {
|
|
3013
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
3013
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1k, className);
|
|
3014
3014
|
let color;
|
|
3015
3015
|
let variant;
|
|
3016
3016
|
switch (type) {
|
|
@@ -3041,7 +3041,7 @@ const DotButton = forwardRef(({
|
|
|
3041
3041
|
}
|
|
3042
3042
|
return jsx(DotTooltip, {
|
|
3043
3043
|
childrenDisplayStyle: "inline-block",
|
|
3044
|
-
"data-testid": `${dataTestId || rootClassName$
|
|
3044
|
+
"data-testid": `${dataTestId || rootClassName$1k}-tooltip`,
|
|
3045
3045
|
disableInteractive: disableInteractive,
|
|
3046
3046
|
placement: tooltipPlacement,
|
|
3047
3047
|
title: tooltip,
|
|
@@ -3053,7 +3053,7 @@ const DotButton = forwardRef(({
|
|
|
3053
3053
|
},
|
|
3054
3054
|
color: color,
|
|
3055
3055
|
"data-pendoid": dataPendoId,
|
|
3056
|
-
"data-testid": dataTestId || rootClassName$
|
|
3056
|
+
"data-testid": dataTestId || rootClassName$1k,
|
|
3057
3057
|
disableRipple: disableRipple,
|
|
3058
3058
|
disabled: disabled,
|
|
3059
3059
|
endIcon: endIcon,
|
|
@@ -3073,10 +3073,10 @@ const DotButton = forwardRef(({
|
|
|
3073
3073
|
});
|
|
3074
3074
|
});
|
|
3075
3075
|
|
|
3076
|
-
const rootClassName$
|
|
3076
|
+
const rootClassName$1j = 'dot-link';
|
|
3077
3077
|
const StyledLink = styled(Link)`
|
|
3078
3078
|
${() => css`
|
|
3079
|
-
&.${rootClassName$
|
|
3079
|
+
&.${rootClassName$1j} {
|
|
3080
3080
|
cursor: pointer;
|
|
3081
3081
|
|
|
3082
3082
|
&:hover.MuiLink-underlineHover {
|
|
@@ -3092,7 +3092,7 @@ const DotLink = ({
|
|
|
3092
3092
|
children,
|
|
3093
3093
|
className,
|
|
3094
3094
|
color = 'primary',
|
|
3095
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
3095
|
+
'data-pendoid': dataPendoId = rootClassName$1j,
|
|
3096
3096
|
'data-testid': dataTestId,
|
|
3097
3097
|
href,
|
|
3098
3098
|
onClick,
|
|
@@ -3105,7 +3105,7 @@ const DotLink = ({
|
|
|
3105
3105
|
underline = 'always',
|
|
3106
3106
|
variant = 'body1'
|
|
3107
3107
|
}) => {
|
|
3108
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
3108
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1j, className);
|
|
3109
3109
|
useEffect(() => {
|
|
3110
3110
|
// Include a console warning if the link is not a string and no ariaLabel is provided
|
|
3111
3111
|
if (!isString$2(children) && !ariaLabel) {
|
|
@@ -3156,7 +3156,7 @@ const CreateUUID = () => {
|
|
|
3156
3156
|
});
|
|
3157
3157
|
};
|
|
3158
3158
|
|
|
3159
|
-
const rootClassName$
|
|
3159
|
+
const rootClassName$1i = 'dot-list';
|
|
3160
3160
|
const listItemRootClass = 'dot-list-item';
|
|
3161
3161
|
const nestedListClassName = 'dot-nested-list';
|
|
3162
3162
|
const nestedDrawerClassName = 'dot-nested-drawer';
|
|
@@ -3164,7 +3164,7 @@ const StyledList = styled(List)`
|
|
|
3164
3164
|
${({
|
|
3165
3165
|
theme
|
|
3166
3166
|
}) => css`
|
|
3167
|
-
&.${rootClassName$
|
|
3167
|
+
&.${rootClassName$1i} {
|
|
3168
3168
|
background: ${theme.palette.figma.background.level0.componentsBackground};
|
|
3169
3169
|
|
|
3170
3170
|
.dot-icon {
|
|
@@ -3258,12 +3258,12 @@ const DotListDivider = ({
|
|
|
3258
3258
|
});
|
|
3259
3259
|
};
|
|
3260
3260
|
|
|
3261
|
-
const rootClassName$
|
|
3261
|
+
const rootClassName$1h = 'dot-progress';
|
|
3262
3262
|
const StyledProgress = styled.div`
|
|
3263
3263
|
${({
|
|
3264
3264
|
theme
|
|
3265
3265
|
}) => css`
|
|
3266
|
-
&.${rootClassName$
|
|
3266
|
+
&.${rootClassName$1h} {
|
|
3267
3267
|
line-height: 0;
|
|
3268
3268
|
|
|
3269
3269
|
.dot-progress-with-label-wrapper {
|
|
@@ -3314,7 +3314,7 @@ const DotProgress = ({
|
|
|
3314
3314
|
value,
|
|
3315
3315
|
variant = 'indeterminate'
|
|
3316
3316
|
}) => {
|
|
3317
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
3317
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1h, className);
|
|
3318
3318
|
useEffect(() => {
|
|
3319
3319
|
if (!ariaLabel) {
|
|
3320
3320
|
console.warn('a11y: DotProgress must have an ariaLabel to describe the progress component');
|
|
@@ -3380,13 +3380,13 @@ var variables = /*#__PURE__*/Object.freeze({
|
|
|
3380
3380
|
levelTop: levelTop
|
|
3381
3381
|
});
|
|
3382
3382
|
|
|
3383
|
-
const rootClassName$
|
|
3383
|
+
const rootClassName$1g = 'dot-popper';
|
|
3384
3384
|
const arrowClassName = 'MuiPopper-arrow';
|
|
3385
3385
|
const StyledPopper$1 = styled(Popper)`
|
|
3386
3386
|
${({
|
|
3387
3387
|
theme
|
|
3388
3388
|
}) => css`
|
|
3389
|
-
&.${rootClassName$
|
|
3389
|
+
&.${rootClassName$1g} {
|
|
3390
3390
|
font-family: ${theme.typography.fontFamily};
|
|
3391
3391
|
font-size: ${theme.typography.body1.fontSize}px;
|
|
3392
3392
|
|
|
@@ -3445,7 +3445,7 @@ const StyledPopper$1 = styled(Popper)`
|
|
|
3445
3445
|
}
|
|
3446
3446
|
}
|
|
3447
3447
|
|
|
3448
|
-
&.${rootClassName$
|
|
3448
|
+
&.${rootClassName$1g}, &.${rootClassName$1g} > .dot-popper-paper {
|
|
3449
3449
|
background-color: ${theme.palette.figma.background.level1.white};
|
|
3450
3450
|
}
|
|
3451
3451
|
`}
|
|
@@ -3475,12 +3475,12 @@ const StyledArrow = styled('span')`
|
|
|
3475
3475
|
`;
|
|
3476
3476
|
|
|
3477
3477
|
const flyoutMenuClassName = 'dot-flyout-menu';
|
|
3478
|
-
const rootClassName$
|
|
3478
|
+
const rootClassName$1f = 'dot-menu';
|
|
3479
3479
|
const StyledPopper = styled(Popper)`
|
|
3480
3480
|
${({
|
|
3481
3481
|
theme
|
|
3482
3482
|
}) => css`
|
|
3483
|
-
&.${rootClassName$
|
|
3483
|
+
&.${rootClassName$1g} {
|
|
3484
3484
|
font-family: ${theme.typography.fontFamily};
|
|
3485
3485
|
font-size: ${theme.typography.body1.fontSize}px;
|
|
3486
3486
|
|
|
@@ -3490,7 +3490,7 @@ const StyledPopper = styled(Popper)`
|
|
|
3490
3490
|
}) => $zIndex === undefined ? `z-index: ${levelSecond};` : `z-index: ${$zIndex};`}
|
|
3491
3491
|
}
|
|
3492
3492
|
}
|
|
3493
|
-
&.${rootClassName$
|
|
3493
|
+
&.${rootClassName$1f}, &.${rootClassName$1g} {
|
|
3494
3494
|
.MuiPaper-root:not(:empty) {
|
|
3495
3495
|
border: 1px solid ${theme.palette.layer.n100};
|
|
3496
3496
|
}
|
|
@@ -3570,14 +3570,14 @@ const MENU_ITEM_HEIGHT_NORMAL = 48;
|
|
|
3570
3570
|
const MENU_ITEM_HEIGHT_DENSE = 36;
|
|
3571
3571
|
const DEFAULT_MAX_VISIBLE_ITEMS = 7;
|
|
3572
3572
|
|
|
3573
|
-
const rootClassName$
|
|
3573
|
+
const rootClassName$1e = 'dot-ul';
|
|
3574
3574
|
const listItemClassName$1 = 'dot-li';
|
|
3575
3575
|
const listItemWithSubmenuClassName = 'dot-li-with-submenu';
|
|
3576
3576
|
const StyledMenuList = styled(MenuList)`
|
|
3577
3577
|
${({
|
|
3578
3578
|
theme
|
|
3579
3579
|
}) => css`
|
|
3580
|
-
&.${rootClassName$
|
|
3580
|
+
&.${rootClassName$1e} {
|
|
3581
3581
|
background: ${theme.palette.figma.background.level1.white};
|
|
3582
3582
|
|
|
3583
3583
|
.dot-li {
|
|
@@ -3679,7 +3679,7 @@ const DotMenuList = forwardRef(({
|
|
|
3679
3679
|
onSubMenuCreate,
|
|
3680
3680
|
selectedKey
|
|
3681
3681
|
}, ref) => {
|
|
3682
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
3682
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1e, className);
|
|
3683
3683
|
const [activeSubmenu, setActiveSubmenu] = useState(null);
|
|
3684
3684
|
const [subItemAnchorEl, setSubItemAnchorEl] = useState(null);
|
|
3685
3685
|
const openSubmenu = (target, itemKey) => {
|
|
@@ -3791,7 +3791,7 @@ const DotMenu = ({
|
|
|
3791
3791
|
open = false,
|
|
3792
3792
|
selectedKey
|
|
3793
3793
|
}) => {
|
|
3794
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
3794
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1f, className, loading ? 'loading' : '');
|
|
3795
3795
|
const isSubmenu = checkIfSubmenu(anchorEl);
|
|
3796
3796
|
const hasSubItems = checkForSubItems(menuItems);
|
|
3797
3797
|
// Timeout object is customizable when Menu component is either submenu
|
|
@@ -3879,12 +3879,12 @@ const DotMenu = ({
|
|
|
3879
3879
|
});
|
|
3880
3880
|
};
|
|
3881
3881
|
|
|
3882
|
-
const rootClassName$
|
|
3882
|
+
const rootClassName$1d = 'dot-drawer';
|
|
3883
3883
|
const StyledDrawer = styled(Drawer)`
|
|
3884
3884
|
${({
|
|
3885
3885
|
theme
|
|
3886
3886
|
}) => css`
|
|
3887
|
-
&.${rootClassName$
|
|
3887
|
+
&.${rootClassName$1d} .MuiBackdrop-root {
|
|
3888
3888
|
background-color: ${theme.palette.figma.overlay.default};
|
|
3889
3889
|
}
|
|
3890
3890
|
|
|
@@ -3903,12 +3903,12 @@ const StyledDrawer = styled(Drawer)`
|
|
|
3903
3903
|
`}
|
|
3904
3904
|
`;
|
|
3905
3905
|
|
|
3906
|
-
const rootClassName$
|
|
3906
|
+
const rootClassName$1c = 'dot-drawer-header';
|
|
3907
3907
|
const StyleDrawerHeader = styled.div`
|
|
3908
3908
|
${({
|
|
3909
3909
|
theme
|
|
3910
3910
|
}) => css`
|
|
3911
|
-
&.${rootClassName$
|
|
3911
|
+
&.${rootClassName$1c} {
|
|
3912
3912
|
padding: ${theme.spacing(0, 0, 2)};
|
|
3913
3913
|
display: flex;
|
|
3914
3914
|
align-items: center;
|
|
@@ -3919,13 +3919,13 @@ const StyleDrawerHeader = styled.div`
|
|
|
3919
3919
|
`}
|
|
3920
3920
|
`;
|
|
3921
3921
|
|
|
3922
|
-
const rootClassName$
|
|
3922
|
+
const rootClassName$1b = 'dot-icon-btn';
|
|
3923
3923
|
const StyledIconButton = styled(IconButton)`
|
|
3924
3924
|
${({
|
|
3925
3925
|
theme,
|
|
3926
3926
|
color
|
|
3927
3927
|
}) => css`
|
|
3928
|
-
&.${rootClassName$
|
|
3928
|
+
&.${rootClassName$1b} {
|
|
3929
3929
|
${color === 'inherit' ? css`
|
|
3930
3930
|
color: inherit;
|
|
3931
3931
|
` : ''}
|
|
@@ -4011,7 +4011,7 @@ const DotIconButton = ({
|
|
|
4011
4011
|
ariaRole = 'button',
|
|
4012
4012
|
className,
|
|
4013
4013
|
color = 'inherit',
|
|
4014
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
4014
|
+
'data-pendoid': dataPendoId = rootClassName$1b,
|
|
4015
4015
|
'data-testid': dataTestId,
|
|
4016
4016
|
disableInteractive,
|
|
4017
4017
|
disableRipple = false,
|
|
@@ -4025,7 +4025,7 @@ const DotIconButton = ({
|
|
|
4025
4025
|
tooltipPlacement
|
|
4026
4026
|
}) => {
|
|
4027
4027
|
const rippleClassName = disableRipple ? 'ripple-disabled' : '';
|
|
4028
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4028
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1b, rippleClassName, `shape-${shape}`, className);
|
|
4029
4029
|
return jsx(DotTooltip, {
|
|
4030
4030
|
childrenDisplayStyle: "inline-block",
|
|
4031
4031
|
"data-testid": "icon-button-tooltip",
|
|
@@ -4062,7 +4062,7 @@ const DotDrawerHeader = ({
|
|
|
4062
4062
|
onClose,
|
|
4063
4063
|
variant
|
|
4064
4064
|
}) => {
|
|
4065
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4065
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1c, className);
|
|
4066
4066
|
return jsxs(StyleDrawerHeader, {
|
|
4067
4067
|
"aria-label": ariaLabel,
|
|
4068
4068
|
"aria-level": 2,
|
|
@@ -4079,10 +4079,10 @@ const DotDrawerHeader = ({
|
|
|
4079
4079
|
});
|
|
4080
4080
|
};
|
|
4081
4081
|
|
|
4082
|
-
const rootClassName$
|
|
4082
|
+
const rootClassName$1a = 'dot-drawer-body';
|
|
4083
4083
|
const StyleDrawerBody = styled.div`
|
|
4084
4084
|
${() => css`
|
|
4085
|
-
&.${rootClassName$
|
|
4085
|
+
&.${rootClassName$1a} {
|
|
4086
4086
|
display: flex;
|
|
4087
4087
|
.dot-drawer-close-button {
|
|
4088
4088
|
align-self: self-start;
|
|
@@ -4103,7 +4103,7 @@ const DotDrawerBody = ({
|
|
|
4103
4103
|
onClose,
|
|
4104
4104
|
variant
|
|
4105
4105
|
}) => {
|
|
4106
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4106
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1a, className);
|
|
4107
4107
|
return jsxs(StyleDrawerBody, {
|
|
4108
4108
|
"aria-label": ariaLabel,
|
|
4109
4109
|
className: rootClasses,
|
|
@@ -4118,12 +4118,12 @@ const DotDrawerBody = ({
|
|
|
4118
4118
|
});
|
|
4119
4119
|
};
|
|
4120
4120
|
|
|
4121
|
-
const rootClassName$
|
|
4121
|
+
const rootClassName$19 = 'dot-drawer-footer';
|
|
4122
4122
|
const StyleDrawerFooter = styled.div`
|
|
4123
4123
|
${({
|
|
4124
4124
|
theme
|
|
4125
4125
|
}) => css`
|
|
4126
|
-
&.${rootClassName$
|
|
4126
|
+
&.${rootClassName$19} {
|
|
4127
4127
|
padding: ${theme.spacing(2, 0, 0)};
|
|
4128
4128
|
}
|
|
4129
4129
|
`}
|
|
@@ -4136,7 +4136,7 @@ const DotDrawerFooter = ({
|
|
|
4136
4136
|
className,
|
|
4137
4137
|
'data-testid': dataTestId
|
|
4138
4138
|
}) => {
|
|
4139
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4139
|
+
const rootClasses = useStylesWithRootClass(rootClassName$19, className);
|
|
4140
4140
|
return jsx(StyleDrawerFooter, {
|
|
4141
4141
|
"aria-label": ariaLabel,
|
|
4142
4142
|
className: rootClasses,
|
|
@@ -4152,7 +4152,7 @@ const DotDrawer = ({
|
|
|
4152
4152
|
ariaRole = 'dialog',
|
|
4153
4153
|
className,
|
|
4154
4154
|
children,
|
|
4155
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
4155
|
+
'data-pendoid': dataPendoId = rootClassName$1d,
|
|
4156
4156
|
'data-testid': dataTestId,
|
|
4157
4157
|
drawerBodyProps,
|
|
4158
4158
|
drawerFooterProps,
|
|
@@ -4175,7 +4175,7 @@ const DotDrawer = ({
|
|
|
4175
4175
|
onClose(event);
|
|
4176
4176
|
}
|
|
4177
4177
|
};
|
|
4178
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4178
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1d, className);
|
|
4179
4179
|
const backdropEnabled = variant === 'temporary' && !(ModalProps === null || ModalProps === void 0 ? void 0 : ModalProps.hideBackdrop);
|
|
4180
4180
|
const headerExists = !!drawerHeaderProps;
|
|
4181
4181
|
const bodyPendoId = drawerBodyProps ? drawerBodyProps['data-pendoid'] : 'drawer-body';
|
|
@@ -4650,7 +4650,7 @@ const DotList = ({
|
|
|
4650
4650
|
nestedListType = 'expandable',
|
|
4651
4651
|
width = 240
|
|
4652
4652
|
}) => {
|
|
4653
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
4653
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1i, className);
|
|
4654
4654
|
const listWidth = typeof width === 'number' ? `${width}px` : width;
|
|
4655
4655
|
const listRef = useRef(undefined);
|
|
4656
4656
|
const disableCloseOnClickAway = !nestedListCloseOnClickAway && nestedListType === 'expandable';
|
|
@@ -4750,12 +4750,12 @@ const DotList = ({
|
|
|
4750
4750
|
});
|
|
4751
4751
|
};
|
|
4752
4752
|
|
|
4753
|
-
const rootClassName$
|
|
4753
|
+
const rootClassName$18 = 'dot-copy-button';
|
|
4754
4754
|
const StyledCopyButton = styled.span`
|
|
4755
4755
|
${({
|
|
4756
4756
|
theme
|
|
4757
4757
|
}) => css`
|
|
4758
|
-
&.${rootClassName$
|
|
4758
|
+
&.${rootClassName$18} .copied-to-clipboard {
|
|
4759
4759
|
color: ${theme.palette.figma.success.normal};
|
|
4760
4760
|
|
|
4761
4761
|
&.MuiIcon-fontSizeSmall.button-size-small {
|
|
@@ -4781,7 +4781,7 @@ const DotCopyButton = ({
|
|
|
4781
4781
|
color = 'inherit',
|
|
4782
4782
|
copiedTooltip = 'Copied!',
|
|
4783
4783
|
copyTooltip = 'Copy to clipboard',
|
|
4784
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
4784
|
+
'data-pendoid': dataPendoId = rootClassName$18,
|
|
4785
4785
|
'data-testid': dataTestId = 'dot-copy-button',
|
|
4786
4786
|
disableInteractive,
|
|
4787
4787
|
disabled = false,
|
|
@@ -4830,7 +4830,7 @@ const DotCopyButton = ({
|
|
|
4830
4830
|
return false;
|
|
4831
4831
|
}, [value, showCopiedIcon, disabled, onClick]);
|
|
4832
4832
|
return jsxs(StyledCopyButton, {
|
|
4833
|
-
className: rootClassName$
|
|
4833
|
+
className: rootClassName$18,
|
|
4834
4834
|
"data-testid": dataTestId,
|
|
4835
4835
|
children: [!timedShowCopiedIcon && jsx(DotIconButton, {
|
|
4836
4836
|
ariaLabel: ariaLabel,
|
|
@@ -4937,7 +4937,7 @@ const DotInputText = ({
|
|
|
4937
4937
|
autoFocus,
|
|
4938
4938
|
className,
|
|
4939
4939
|
defaultValue,
|
|
4940
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
4940
|
+
'data-pendoid': dataPendoId = rootClassName$1r,
|
|
4941
4941
|
'data-testid': dataTestId,
|
|
4942
4942
|
disabled = false,
|
|
4943
4943
|
error = false,
|
|
@@ -4986,7 +4986,7 @@ const DotInputText = ({
|
|
|
4986
4986
|
const internalInputRef = useRef(null);
|
|
4987
4987
|
const textFieldInputRef = inputRef || internalInputRef;
|
|
4988
4988
|
const [inputTextState, setInputTextState] = useState(getInitialState(value));
|
|
4989
|
-
const rootStyles = useStylesWithRootClass(rootClassName$
|
|
4989
|
+
const rootStyles = useStylesWithRootClass(rootClassName$1r, hasError, hasWarning, hasSuccess, isAiEnabled, readOnly && readOnlyClassName$1);
|
|
4990
4990
|
useEffect(() => {
|
|
4991
4991
|
if (value !== inputTextState.inputValue) {
|
|
4992
4992
|
setInputTextState(getInitialState(value, defaultValue));
|
|
@@ -5129,10 +5129,10 @@ const DotInputText = ({
|
|
|
5129
5129
|
});
|
|
5130
5130
|
};
|
|
5131
5131
|
|
|
5132
|
-
const rootClassName$
|
|
5132
|
+
const rootClassName$17 = 'dot-search-input';
|
|
5133
5133
|
const StyledSearchInput = styled.span`
|
|
5134
5134
|
${() => css`
|
|
5135
|
-
&.${rootClassName$
|
|
5135
|
+
&.${rootClassName$17} {
|
|
5136
5136
|
}
|
|
5137
5137
|
`}
|
|
5138
5138
|
`;
|
|
@@ -5149,7 +5149,7 @@ function SearchInput({
|
|
|
5149
5149
|
tooltip = null,
|
|
5150
5150
|
value
|
|
5151
5151
|
}) {
|
|
5152
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
5152
|
+
const rootClasses = useStylesWithRootClass(rootClassName$17, className);
|
|
5153
5153
|
const [searchText, setSearchText] = useState(value);
|
|
5154
5154
|
let previousSearchText = '';
|
|
5155
5155
|
const handleChange = useCallback(event => {
|
|
@@ -5405,12 +5405,12 @@ const recentAppInstancesSetter = (latestInstance, maxRecentItems
|
|
|
5405
5405
|
};
|
|
5406
5406
|
};
|
|
5407
5407
|
|
|
5408
|
-
const rootClassName$
|
|
5408
|
+
const rootClassName$16 = 'dot-app-switcher';
|
|
5409
5409
|
const StyledAppSwitcher = styled(DotDrawer)`
|
|
5410
5410
|
${({
|
|
5411
5411
|
theme
|
|
5412
5412
|
}) => css`
|
|
5413
|
-
&.${rootClassName$
|
|
5413
|
+
&.${rootClassName$16} {
|
|
5414
5414
|
.dot-drawer-paper {
|
|
5415
5415
|
padding: 0;
|
|
5416
5416
|
width: 382px;
|
|
@@ -5520,7 +5520,7 @@ const DotAppSwitcherView = ({
|
|
|
5520
5520
|
if (dotCoreApiContext !== null) {
|
|
5521
5521
|
setSelectedAppType = dotCoreApiContext.setSelectedAppSwitcherAppType;
|
|
5522
5522
|
}
|
|
5523
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
5523
|
+
const rootClasses = useStylesWithRootClass(rootClassName$16, className);
|
|
5524
5524
|
const [appTypeMap, setAppTypeMap] = useState();
|
|
5525
5525
|
const [appTypeLabels, setAppTypeLabels] = useState();
|
|
5526
5526
|
const [appTypeMenuItems, setAppTypeMenuItems] = useState();
|
|
@@ -5898,12 +5898,12 @@ var SvgLogoDigitalAiWhite = function SvgLogoDigitalAiWhite(_ref, ref) {
|
|
|
5898
5898
|
};
|
|
5899
5899
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgLogoDigitalAiWhite);
|
|
5900
5900
|
|
|
5901
|
-
const rootClassName$
|
|
5901
|
+
const rootClassName$15 = 'dot-sidebar';
|
|
5902
5902
|
const StyledSidebar = styled.aside`
|
|
5903
5903
|
${({
|
|
5904
5904
|
theme
|
|
5905
5905
|
}) => css`
|
|
5906
|
-
&.${rootClassName$
|
|
5906
|
+
&.${rootClassName$15} {
|
|
5907
5907
|
align-items: stretch;
|
|
5908
5908
|
background: ${theme.palette.figma.background.level1.white};
|
|
5909
5909
|
border-width: 0 1px;
|
|
@@ -6197,10 +6197,10 @@ const StyledSidebar = styled.aside`
|
|
|
6197
6197
|
`}
|
|
6198
6198
|
`;
|
|
6199
6199
|
|
|
6200
|
-
const rootClassName$
|
|
6200
|
+
const rootClassName$14 = 'dot-truncate-with-tooltip';
|
|
6201
6201
|
const StyledTruncateWithTooltip = styled(Tooltip)`
|
|
6202
6202
|
${() => css`
|
|
6203
|
-
&.${rootClassName$
|
|
6203
|
+
&.${rootClassName$14} {
|
|
6204
6204
|
display: block;
|
|
6205
6205
|
overflow: hidden;
|
|
6206
6206
|
white-space: nowrap;
|
|
@@ -6231,7 +6231,7 @@ const DotTruncateWithTooltip = ({
|
|
|
6231
6231
|
label,
|
|
6232
6232
|
width
|
|
6233
6233
|
}) => {
|
|
6234
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
6234
|
+
const rootClasses = useStylesWithRootClass(rootClassName$14, className, charactersLimit ? 'dot-characters-limit' : '');
|
|
6235
6235
|
return jsx(StyledTruncateWithTooltip, {
|
|
6236
6236
|
"aria-label": ariaLabel,
|
|
6237
6237
|
arrow: arrow,
|
|
@@ -6345,7 +6345,7 @@ const DotSidebar = ({
|
|
|
6345
6345
|
keys: collapseKeys
|
|
6346
6346
|
}, toggleNavCollapseState, [isOpen, collapsable]);
|
|
6347
6347
|
const sidebarClasses = useStylesWithRootClass('side-nav', openClass);
|
|
6348
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
6348
|
+
const rootClasses = useStylesWithRootClass(rootClassName$15, openClass, className);
|
|
6349
6349
|
return jsxs(StyledSidebar, {
|
|
6350
6350
|
"aria-label": ariaLabel,
|
|
6351
6351
|
className: rootClasses,
|
|
@@ -6421,12 +6421,12 @@ const DotSidebar = ({
|
|
|
6421
6421
|
});
|
|
6422
6422
|
};
|
|
6423
6423
|
|
|
6424
|
-
const rootClassName$
|
|
6424
|
+
const rootClassName$13 = 'dot-badge';
|
|
6425
6425
|
const StyledBadge = styled(Badge)`
|
|
6426
6426
|
${({
|
|
6427
6427
|
theme
|
|
6428
6428
|
}) => css`
|
|
6429
|
-
&.${rootClassName$
|
|
6429
|
+
&.${rootClassName$13} {
|
|
6430
6430
|
color: ${theme.palette.figma.typography.black};
|
|
6431
6431
|
word-break: normal;
|
|
6432
6432
|
|
|
@@ -6461,7 +6461,7 @@ const DotBadge = ({
|
|
|
6461
6461
|
overlap,
|
|
6462
6462
|
variant = 'dot'
|
|
6463
6463
|
}) => {
|
|
6464
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
6464
|
+
const rootClasses = useStylesWithRootClass(rootClassName$13, className);
|
|
6465
6465
|
return jsx(StyledBadge, {
|
|
6466
6466
|
"$badgeColor": badgeColor,
|
|
6467
6467
|
anchorOrigin: {
|
|
@@ -6483,7 +6483,7 @@ const DotBadge = ({
|
|
|
6483
6483
|
});
|
|
6484
6484
|
};
|
|
6485
6485
|
|
|
6486
|
-
const rootClassName$
|
|
6486
|
+
const rootClassName$12 = 'dot-app-toolbar';
|
|
6487
6487
|
const denseClassName = 'dense';
|
|
6488
6488
|
const StyledMainMenu = styled(DotDrawer)`
|
|
6489
6489
|
${({
|
|
@@ -6523,7 +6523,7 @@ const StyledAppToolbar = styled.header`
|
|
|
6523
6523
|
${({
|
|
6524
6524
|
theme
|
|
6525
6525
|
}) => css`
|
|
6526
|
-
&.${rootClassName$
|
|
6526
|
+
&.${rootClassName$12} {
|
|
6527
6527
|
align-items: center;
|
|
6528
6528
|
background: ${theme.palette.figma.appToolbar.background};
|
|
6529
6529
|
border-bottom: 4px solid ${theme.palette.figma.border.default};
|
|
@@ -6652,7 +6652,7 @@ const DotAppToolbar = ({
|
|
|
6652
6652
|
const displayAppLogo = appLogo || appLogoSmall;
|
|
6653
6653
|
const mainMenuRef = useRef(null);
|
|
6654
6654
|
const denseClass = dense ? denseClassName : '';
|
|
6655
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
6655
|
+
const rootClasses = useStylesWithRootClass(rootClassName$12, className, denseClass, showMainMenu ? '' : 'without-menu-icon');
|
|
6656
6656
|
const mainMenuClasses = useStylesWithRootClass('dot-main-menu', denseClass, menuOpen ? 'open' : '');
|
|
6657
6657
|
const targetBreakpoint = useMediaQuery(theme => theme.breakpoints.up('lg'));
|
|
6658
6658
|
useEffect(() => {
|
|
@@ -6804,12 +6804,12 @@ const DotAppToolbar = ({
|
|
|
6804
6804
|
}) : appToolbar;
|
|
6805
6805
|
};
|
|
6806
6806
|
|
|
6807
|
-
const rootClassName$
|
|
6807
|
+
const rootClassName$11 = 'dot-chip';
|
|
6808
6808
|
const StyledChip = styled(Chip)`
|
|
6809
6809
|
${({
|
|
6810
6810
|
theme
|
|
6811
6811
|
}) => css`
|
|
6812
|
-
&.${rootClassName$
|
|
6812
|
+
&.${rootClassName$11} {
|
|
6813
6813
|
background: ${theme.palette.figma.neutral.normal};
|
|
6814
6814
|
border-color: ${theme.palette.figma.border.darker};
|
|
6815
6815
|
color: ${theme.palette.figma.typography.black};
|
|
@@ -6915,7 +6915,7 @@ const DotChip = ({
|
|
|
6915
6915
|
charactersLimit = DEFAULT_CHARACTERS_LIMIT,
|
|
6916
6916
|
children,
|
|
6917
6917
|
className,
|
|
6918
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
6918
|
+
'data-pendoid': dataPendoId = rootClassName$11,
|
|
6919
6919
|
'data-testid': dataTestId,
|
|
6920
6920
|
disabled = false,
|
|
6921
6921
|
error = false,
|
|
@@ -6929,7 +6929,7 @@ const DotChip = ({
|
|
|
6929
6929
|
tooltipProps
|
|
6930
6930
|
}) => {
|
|
6931
6931
|
const errorClass = error ? 'Mui-error' : '';
|
|
6932
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
6932
|
+
const rootClasses = useStylesWithRootClass(rootClassName$11, className, errorClass);
|
|
6933
6933
|
const isTruncated = charactersLimit > 0 && children.length > charactersLimit;
|
|
6934
6934
|
const getChipLabelWithTooltip = label => jsx(DotTooltip, Object.assign({}, tooltipProps, {
|
|
6935
6935
|
hoverVisibility: "always",
|
|
@@ -6965,7 +6965,7 @@ const DotChip = ({
|
|
|
6965
6965
|
});
|
|
6966
6966
|
};
|
|
6967
6967
|
|
|
6968
|
-
const rootClassName
|
|
6968
|
+
const rootClassName$10 = 'dot-autocomplete';
|
|
6969
6969
|
const inputRootClassName = 'dot-input-root';
|
|
6970
6970
|
const inputMediumClassName = 'dot-input-medium';
|
|
6971
6971
|
const inputAiClassName = 'dot-input-ai';
|
|
@@ -6973,7 +6973,7 @@ const StyledAutocomplete = styled(Autocomplete)`
|
|
|
6973
6973
|
${({
|
|
6974
6974
|
theme
|
|
6975
6975
|
}) => css`
|
|
6976
|
-
&.${rootClassName
|
|
6976
|
+
&.${rootClassName$10} {
|
|
6977
6977
|
&.${inputMediumClassName} .dot-text-field .${inputRootClassName} {
|
|
6978
6978
|
height: 56px;
|
|
6979
6979
|
padding-left: ${theme.spacing(2)};
|
|
@@ -7072,8 +7072,8 @@ const isEmptyValue = value => {
|
|
|
7072
7072
|
return !value;
|
|
7073
7073
|
}
|
|
7074
7074
|
};
|
|
7075
|
-
const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName
|
|
7076
|
-
const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$
|
|
7075
|
+
const getRootClassNames = (className, size) => useStylesWithRootClass(rootClassName$10, size === 'medium' && inputMediumClassName, className);
|
|
7076
|
+
const getTextFieldRootClassNames = (textFieldWarningClassName, isReadOnly) => useStylesWithRootClass(rootClassName$1r, isReadOnly && readOnlyClassName$1, textFieldWarningClassName);
|
|
7077
7077
|
const getInputRootClassNames = isDense => useStylesWithRootClass(inputRootClassName, !isDense && inputMediumClassName);
|
|
7078
7078
|
const getDefaultAutoCompleteValue = (hasMultiple, defaultValue) => hasMultiple && isString$2(defaultValue) ? [defaultValue] : defaultValue;
|
|
7079
7079
|
const getAutoCompleteGroupBy = group => group ? option => option.group : undefined;
|
|
@@ -7095,7 +7095,7 @@ const DotAutoComplete = ({
|
|
|
7095
7095
|
autoFocus,
|
|
7096
7096
|
autoHighlight,
|
|
7097
7097
|
className,
|
|
7098
|
-
'data-pendoid': dataPendoId = rootClassName
|
|
7098
|
+
'data-pendoid': dataPendoId = rootClassName$10,
|
|
7099
7099
|
'data-testid': dataTestId,
|
|
7100
7100
|
defaultValue,
|
|
7101
7101
|
dense = true,
|
|
@@ -7165,7 +7165,7 @@ const DotAutoComplete = ({
|
|
|
7165
7165
|
const rootClasses = useStylesWithRootClass(getRootClassNames(className, size), isAiEnabled ? inputAiClassName : '');
|
|
7166
7166
|
const textFieldRootClasses = getTextFieldRootClassNames(textFieldWarningClassName, readOnly);
|
|
7167
7167
|
const inputRootClasses = getInputRootClassNames(dense);
|
|
7168
|
-
const popperClasses = useStylesWithRootClass(rootClassName$
|
|
7168
|
+
const popperClasses = useStylesWithRootClass(rootClassName$1g, popperClassName);
|
|
7169
7169
|
let highlightedOption = null;
|
|
7170
7170
|
let textFieldInput;
|
|
7171
7171
|
const textFieldRef = element => {
|
|
@@ -7515,10 +7515,10 @@ const DotAutoComplete = ({
|
|
|
7515
7515
|
});
|
|
7516
7516
|
};
|
|
7517
7517
|
|
|
7518
|
-
const rootClassName
|
|
7518
|
+
const rootClassName$$ = 'dot-avatar-group';
|
|
7519
7519
|
const StyledAvatarGroup = styled(AvatarGroup)`
|
|
7520
7520
|
${() => css`
|
|
7521
|
-
&.${rootClassName
|
|
7521
|
+
&.${rootClassName$$} {
|
|
7522
7522
|
justify-content: flex-end;
|
|
7523
7523
|
|
|
7524
7524
|
.MuiAvatar-root {
|
|
@@ -7537,7 +7537,7 @@ const DotAvatarGroup = ({
|
|
|
7537
7537
|
max = 3,
|
|
7538
7538
|
spacing = 'medium'
|
|
7539
7539
|
}) => {
|
|
7540
|
-
const rootClasses = useStylesWithRootClass(rootClassName
|
|
7540
|
+
const rootClasses = useStylesWithRootClass(rootClassName$$, className);
|
|
7541
7541
|
return jsx(StyledAvatarGroup, {
|
|
7542
7542
|
"aria-label": ariaLabel,
|
|
7543
7543
|
classes: {
|
|
@@ -7552,14 +7552,14 @@ const DotAvatarGroup = ({
|
|
|
7552
7552
|
});
|
|
7553
7553
|
};
|
|
7554
7554
|
|
|
7555
|
-
const rootClassName$
|
|
7555
|
+
const rootClassName$_ = 'dot-avatar-with-details';
|
|
7556
7556
|
const StyledAvatarWithDetails = styled.div`
|
|
7557
7557
|
${({
|
|
7558
7558
|
theme,
|
|
7559
7559
|
$maxSubtitleLines,
|
|
7560
7560
|
$maxTitleLines
|
|
7561
7561
|
}) => css`
|
|
7562
|
-
&.${rootClassName$
|
|
7562
|
+
&.${rootClassName$_} {
|
|
7563
7563
|
gap: ${theme.spacing(2)};
|
|
7564
7564
|
display: flex;
|
|
7565
7565
|
align-items: center;
|
|
@@ -7595,12 +7595,12 @@ const DotAvatarWithDetails = ({
|
|
|
7595
7595
|
ariaLabel,
|
|
7596
7596
|
avatar,
|
|
7597
7597
|
className,
|
|
7598
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
7598
|
+
'data-pendoid': dataPendoId = rootClassName$_,
|
|
7599
7599
|
'data-testid': dataTestId,
|
|
7600
7600
|
subtitle,
|
|
7601
7601
|
title
|
|
7602
7602
|
}) => {
|
|
7603
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
7603
|
+
const rootClasses = useStylesWithRootClass(rootClassName$_, className);
|
|
7604
7604
|
const titleClasses = useStylesWithRootClass('dot-avatar-with-details-title', title.maxLines ? 'max-lines-clamp' : '');
|
|
7605
7605
|
const subtitleClasses = useStylesWithRootClass('dot-avatar-with-details-subtitle', (subtitle === null || subtitle === void 0 ? void 0 : subtitle.maxLines) ? 'max-lines-clamp' : '');
|
|
7606
7606
|
return jsxs(StyledAvatarWithDetails, {
|
|
@@ -7635,13 +7635,13 @@ const DotAvatarWithDetails = ({
|
|
|
7635
7635
|
});
|
|
7636
7636
|
};
|
|
7637
7637
|
|
|
7638
|
-
const rootClassName$
|
|
7638
|
+
const rootClassName$Z = 'dot-breadcrumbs';
|
|
7639
7639
|
const breadcrumbsWrapperClass = 'dot-breadcrumbs-wrapper';
|
|
7640
7640
|
const StyledBreadcrumbsWrapper = styled.div`
|
|
7641
7641
|
${({
|
|
7642
7642
|
theme
|
|
7643
7643
|
}) => css`
|
|
7644
|
-
&.${rootClassName$
|
|
7644
|
+
&.${rootClassName$Z} {
|
|
7645
7645
|
overflow: hidden;
|
|
7646
7646
|
|
|
7647
7647
|
.dot-breadcrumbs-menu {
|
|
@@ -7661,7 +7661,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs)`
|
|
|
7661
7661
|
${({
|
|
7662
7662
|
theme
|
|
7663
7663
|
}) => css`
|
|
7664
|
-
&.${rootClassName$
|
|
7664
|
+
&.${rootClassName$Z} {
|
|
7665
7665
|
margin-bottom: 0;
|
|
7666
7666
|
|
|
7667
7667
|
.MuiBreadcrumbs-ol {
|
|
@@ -7989,7 +7989,7 @@ const DotBreadcrumbs = ({
|
|
|
7989
7989
|
children: [jsx(StyledBreadcrumbs, {
|
|
7990
7990
|
"aria-label": "breadcrumb",
|
|
7991
7991
|
classes: {
|
|
7992
|
-
root: rootClassName$
|
|
7992
|
+
root: rootClassName$Z,
|
|
7993
7993
|
ol: 'dot-ol',
|
|
7994
7994
|
li: 'dot-li'
|
|
7995
7995
|
},
|
|
@@ -8020,14 +8020,14 @@ const DotBreadcrumbs = ({
|
|
|
8020
8020
|
});
|
|
8021
8021
|
};
|
|
8022
8022
|
|
|
8023
|
-
const rootClassName$
|
|
8023
|
+
const rootClassName$Y = 'dot-button-toggle';
|
|
8024
8024
|
// TODO: need to update ripple color
|
|
8025
8025
|
// https://github.com/mui/material-ui/issues/28543
|
|
8026
8026
|
const StyledToggleButtonGroup = styled(ToggleButtonGroup)`
|
|
8027
8027
|
${({
|
|
8028
8028
|
theme
|
|
8029
8029
|
}) => css`
|
|
8030
|
-
&.${rootClassName$
|
|
8030
|
+
&.${rootClassName$Y} {
|
|
8031
8031
|
button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {
|
|
8032
8032
|
/* Override height for medium size */
|
|
8033
8033
|
height: ${theme.spacing(5)};
|
|
@@ -8150,7 +8150,7 @@ const DotButtonToggle = ({
|
|
|
8150
8150
|
buttonOptions,
|
|
8151
8151
|
className,
|
|
8152
8152
|
color,
|
|
8153
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
8153
|
+
'data-pendoid': dataPendoId = rootClassName$Y,
|
|
8154
8154
|
'data-testid': dataTestId = 'dot-toggle',
|
|
8155
8155
|
disableFocusRipple = false,
|
|
8156
8156
|
disableRipple = false,
|
|
@@ -8160,7 +8160,7 @@ const DotButtonToggle = ({
|
|
|
8160
8160
|
size = 'medium',
|
|
8161
8161
|
value
|
|
8162
8162
|
}) => {
|
|
8163
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8163
|
+
const rootClasses = useStylesWithRootClass(rootClassName$Y, className);
|
|
8164
8164
|
const renderToggleButton = ({
|
|
8165
8165
|
ariaLabel: optionAriaLabel,
|
|
8166
8166
|
badgeContent: optionBadgeContent,
|
|
@@ -8245,12 +8245,12 @@ const TooltipToggleButton = forwardRef((_a, ref) => {
|
|
|
8245
8245
|
}));
|
|
8246
8246
|
});
|
|
8247
8247
|
|
|
8248
|
-
const rootClassName$
|
|
8248
|
+
const rootClassName$X = 'dot-card';
|
|
8249
8249
|
const StyledCard = styled(Card)`
|
|
8250
8250
|
${({
|
|
8251
8251
|
theme
|
|
8252
8252
|
}) => css`
|
|
8253
|
-
&.${rootClassName$
|
|
8253
|
+
&.${rootClassName$X} {
|
|
8254
8254
|
background-color: ${theme.palette.figma.background.level1.white};
|
|
8255
8255
|
}
|
|
8256
8256
|
`}
|
|
@@ -8264,7 +8264,7 @@ const DotCard = ({
|
|
|
8264
8264
|
onMouseEnter,
|
|
8265
8265
|
onMouseLeave
|
|
8266
8266
|
}) => {
|
|
8267
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8267
|
+
const rootClasses = useStylesWithRootClass(rootClassName$X, className);
|
|
8268
8268
|
return jsx(StyledCard, {
|
|
8269
8269
|
"aria-label": ariaLabel,
|
|
8270
8270
|
classes: {
|
|
@@ -8295,12 +8295,12 @@ const DotCardContent = ({
|
|
|
8295
8295
|
});
|
|
8296
8296
|
};
|
|
8297
8297
|
|
|
8298
|
-
const rootClassName$
|
|
8298
|
+
const rootClassName$W = 'dot-card-footer';
|
|
8299
8299
|
const StyledDiv = styled.div`
|
|
8300
8300
|
${({
|
|
8301
8301
|
theme
|
|
8302
8302
|
}) => css`
|
|
8303
|
-
&.${rootClassName$
|
|
8303
|
+
&.${rootClassName$W} {
|
|
8304
8304
|
padding: ${theme.spacing(2)};
|
|
8305
8305
|
}
|
|
8306
8306
|
`}
|
|
@@ -8312,7 +8312,7 @@ const DotCardFooter = ({
|
|
|
8312
8312
|
className,
|
|
8313
8313
|
'data-testid': dataTestId
|
|
8314
8314
|
}) => {
|
|
8315
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8315
|
+
const rootClasses = useStylesWithRootClass(rootClassName$W, className);
|
|
8316
8316
|
return jsx(StyledDiv, {
|
|
8317
8317
|
"aria-label": ariaLabel,
|
|
8318
8318
|
className: rootClasses,
|
|
@@ -8321,14 +8321,14 @@ const DotCardFooter = ({
|
|
|
8321
8321
|
});
|
|
8322
8322
|
};
|
|
8323
8323
|
|
|
8324
|
-
const rootClassName$
|
|
8324
|
+
const rootClassName$V = 'dot-card-header';
|
|
8325
8325
|
const StyledCardHeader = styled(CardHeader)`
|
|
8326
8326
|
${({
|
|
8327
8327
|
theme,
|
|
8328
8328
|
$maxSubheaderLines,
|
|
8329
8329
|
$maxTitleLines
|
|
8330
8330
|
}) => css`
|
|
8331
|
-
&.${rootClassName$
|
|
8331
|
+
&.${rootClassName$V} {
|
|
8332
8332
|
.MuiCardHeader-content {
|
|
8333
8333
|
overflow-x: hidden;
|
|
8334
8334
|
|
|
@@ -8366,7 +8366,7 @@ const DotCardHeader = ({
|
|
|
8366
8366
|
titleMaxLines = 1,
|
|
8367
8367
|
titleSize = 'large'
|
|
8368
8368
|
}) => {
|
|
8369
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8369
|
+
const rootClasses = useStylesWithRootClass(rootClassName$V, className);
|
|
8370
8370
|
const nonSmallTitleSize = titleSize === 'medium' ? 'h3' : 'h2';
|
|
8371
8371
|
const titleVariant = titleSize === 'small' ? 'h4' : nonSmallTitleSize;
|
|
8372
8372
|
const subheaderVariant = subheaderSize === 'small' ? 'body2' : 'body1';
|
|
@@ -8403,9 +8403,9 @@ const DotCardHeader = ({
|
|
|
8403
8403
|
});
|
|
8404
8404
|
};
|
|
8405
8405
|
|
|
8406
|
-
const rootClassName$
|
|
8406
|
+
const rootClassName$U = 'dot-form-control-label';
|
|
8407
8407
|
const StyledFormControlLabel = styled(FormControlLabel)`
|
|
8408
|
-
&.${rootClassName$
|
|
8408
|
+
&.${rootClassName$U} {
|
|
8409
8409
|
.MuiFormControlLabel-label {
|
|
8410
8410
|
margin-bottom: 0;
|
|
8411
8411
|
padding: 0 0 0 4px;
|
|
@@ -8428,12 +8428,12 @@ const StyledFormControlLabel = styled(FormControlLabel)`
|
|
|
8428
8428
|
}
|
|
8429
8429
|
`;
|
|
8430
8430
|
|
|
8431
|
-
const rootClassName$
|
|
8431
|
+
const rootClassName$T = 'dot-checkbox';
|
|
8432
8432
|
const StyledCheckbox = styled(Checkbox)`
|
|
8433
8433
|
${({
|
|
8434
8434
|
theme
|
|
8435
8435
|
}) => css`
|
|
8436
|
-
&.${rootClassName$
|
|
8436
|
+
&.${rootClassName$T} {
|
|
8437
8437
|
padding: ${theme.spacing(1)};
|
|
8438
8438
|
|
|
8439
8439
|
&.MuiCheckbox-indeterminate {
|
|
@@ -8452,7 +8452,7 @@ function DotCheckbox({
|
|
|
8452
8452
|
ariaLabelledby,
|
|
8453
8453
|
checked,
|
|
8454
8454
|
className,
|
|
8455
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
8455
|
+
'data-pendoid': dataPendoId = rootClassName$U,
|
|
8456
8456
|
'data-testid': dataTestId,
|
|
8457
8457
|
disabled,
|
|
8458
8458
|
disableRipple,
|
|
@@ -8467,14 +8467,14 @@ function DotCheckbox({
|
|
|
8467
8467
|
size = 'medium',
|
|
8468
8468
|
value
|
|
8469
8469
|
}) {
|
|
8470
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8470
|
+
const rootClasses = useStylesWithRootClass(rootClassName$U, className);
|
|
8471
8471
|
const handleChange = event => {
|
|
8472
8472
|
onChange && onChange(event, event.target.value);
|
|
8473
8473
|
};
|
|
8474
8474
|
const checkboxControl = jsx(StyledCheckbox, {
|
|
8475
8475
|
checked: checked,
|
|
8476
8476
|
classes: {
|
|
8477
|
-
root: rootClassName$
|
|
8477
|
+
root: rootClassName$T
|
|
8478
8478
|
},
|
|
8479
8479
|
color: "primary",
|
|
8480
8480
|
"data-pendoid": dataPendoId,
|
|
@@ -8503,13 +8503,13 @@ function DotCheckbox({
|
|
|
8503
8503
|
});
|
|
8504
8504
|
}
|
|
8505
8505
|
|
|
8506
|
-
const rootClassName$
|
|
8506
|
+
const rootClassName$S = 'dot-form-group';
|
|
8507
8507
|
const groupLabelClassName = 'dot-form-group-label';
|
|
8508
8508
|
const startAdornmentClassName = 'dot-start-adornment';
|
|
8509
8509
|
const endAdornmentClassName = 'dot-end-adornment';
|
|
8510
8510
|
const placementClassName = 'dot-';
|
|
8511
8511
|
const StyledFormControl = styled(FormControl)`
|
|
8512
|
-
&.${rootClassName$
|
|
8512
|
+
&.${rootClassName$S} {
|
|
8513
8513
|
.MuiFormLabel-root {
|
|
8514
8514
|
width: 100%;
|
|
8515
8515
|
line-height: 24px;
|
|
@@ -8540,7 +8540,7 @@ const StyledFormControl = styled(FormControl)`
|
|
|
8540
8540
|
}
|
|
8541
8541
|
`;
|
|
8542
8542
|
|
|
8543
|
-
const rootClassName$
|
|
8543
|
+
const rootClassName$R = 'dot-checkbox-group';
|
|
8544
8544
|
const wrapperClassName$1 = 'dot-checkbox-group-wrapper';
|
|
8545
8545
|
const checkboxListClassName = 'dot-checkbox-list';
|
|
8546
8546
|
const checkboxListItemClassName = 'dot-checkbox-list-item';
|
|
@@ -8549,7 +8549,7 @@ const StyledCheckboxGroup = styled.div`
|
|
|
8549
8549
|
theme
|
|
8550
8550
|
}) => css`
|
|
8551
8551
|
&.${wrapperClassName$1} {
|
|
8552
|
-
.${rootClassName$
|
|
8552
|
+
.${rootClassName$R} {
|
|
8553
8553
|
width: 100%;
|
|
8554
8554
|
}
|
|
8555
8555
|
|
|
@@ -8576,7 +8576,7 @@ const StyledCheckboxGroup = styled.div`
|
|
|
8576
8576
|
margin-top: 0;
|
|
8577
8577
|
padding-left: ${theme.spacing(2.5)};
|
|
8578
8578
|
|
|
8579
|
-
.${rootClassName$
|
|
8579
|
+
.${rootClassName$U} {
|
|
8580
8580
|
margin: 0;
|
|
8581
8581
|
}
|
|
8582
8582
|
}
|
|
@@ -8584,13 +8584,13 @@ const StyledCheckboxGroup = styled.div`
|
|
|
8584
8584
|
`}
|
|
8585
8585
|
`;
|
|
8586
8586
|
|
|
8587
|
-
const rootClassName$
|
|
8587
|
+
const rootClassName$Q = 'dot-form-group';
|
|
8588
8588
|
const StyledFormGroup = styled(FormGroup)`
|
|
8589
8589
|
${({
|
|
8590
8590
|
theme,
|
|
8591
8591
|
row
|
|
8592
8592
|
}) => css`
|
|
8593
|
-
&.${rootClassName$
|
|
8593
|
+
&.${rootClassName$Q} > * {
|
|
8594
8594
|
margin: ${row ? `${theme.spacing(0.5)}` : 0};
|
|
8595
8595
|
}
|
|
8596
8596
|
`}
|
|
@@ -8603,7 +8603,7 @@ function DotFormGroup({
|
|
|
8603
8603
|
'data-testid': dataTestId,
|
|
8604
8604
|
row
|
|
8605
8605
|
}) {
|
|
8606
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8606
|
+
const rootClasses = useStylesWithRootClass(rootClassName$S, className);
|
|
8607
8607
|
return jsx(StyledFormGroup, {
|
|
8608
8608
|
"aria-label": ariaLabel,
|
|
8609
8609
|
classes: {
|
|
@@ -8642,7 +8642,7 @@ function DotCheckboxGroup({
|
|
|
8642
8642
|
size = 'medium'
|
|
8643
8643
|
}) {
|
|
8644
8644
|
const placement = `${placementClassName}${labelPlacement}`;
|
|
8645
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8645
|
+
const rootClasses = useStylesWithRootClass(rootClassName$S, rootClassName$R, className, placement);
|
|
8646
8646
|
const [selectedOptions, setSelectedOptions] = useState(defaultValues);
|
|
8647
8647
|
const [allChecked, setAllChecked] = useState(false);
|
|
8648
8648
|
/* This will ensure that state can be updated from the outside */
|
|
@@ -8727,12 +8727,12 @@ function DotCheckboxGroup({
|
|
|
8727
8727
|
});
|
|
8728
8728
|
}
|
|
8729
8729
|
|
|
8730
|
-
const rootClassName$
|
|
8730
|
+
const rootClassName$P = 'chip-list';
|
|
8731
8731
|
const StyledChipList = styled.div`
|
|
8732
8732
|
${({
|
|
8733
8733
|
theme
|
|
8734
8734
|
}) => css`
|
|
8735
|
-
&.${rootClassName$
|
|
8735
|
+
&.${rootClassName$P} {
|
|
8736
8736
|
display: flex;
|
|
8737
8737
|
gap: ${theme.spacing(1)};
|
|
8738
8738
|
}
|
|
@@ -8807,19 +8807,19 @@ function DotChipList({
|
|
|
8807
8807
|
setChips(itemElements);
|
|
8808
8808
|
}, [items, maxChars]);
|
|
8809
8809
|
return jsx(StyledChipList, {
|
|
8810
|
-
className: rootClassName$
|
|
8810
|
+
className: rootClassName$P,
|
|
8811
8811
|
"data-testid": dataTestId,
|
|
8812
8812
|
style: style,
|
|
8813
8813
|
children: chips
|
|
8814
8814
|
});
|
|
8815
8815
|
}
|
|
8816
8816
|
|
|
8817
|
-
const rootClassName$
|
|
8817
|
+
const rootClassName$O = 'dot-dialog';
|
|
8818
8818
|
const StyledDialog = styled(Dialog)`
|
|
8819
8819
|
${({
|
|
8820
8820
|
theme
|
|
8821
8821
|
}) => css`
|
|
8822
|
-
&.${rootClassName$
|
|
8822
|
+
&.${rootClassName$O} {
|
|
8823
8823
|
.MuiDialog-paper {
|
|
8824
8824
|
background: ${theme.palette.figma.background.level1.white};
|
|
8825
8825
|
color: ${theme.palette.figma.typography.black};
|
|
@@ -8865,7 +8865,7 @@ const DotDialog = ({
|
|
|
8865
8865
|
cancelButtonProps,
|
|
8866
8866
|
cancelButtonVisible = true,
|
|
8867
8867
|
className,
|
|
8868
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
8868
|
+
'data-pendoid': dataPendoId = rootClassName$O,
|
|
8869
8869
|
'data-testid': dataTestId,
|
|
8870
8870
|
children,
|
|
8871
8871
|
closeIconVisible,
|
|
@@ -8879,7 +8879,7 @@ const DotDialog = ({
|
|
|
8879
8879
|
submitButtonProps,
|
|
8880
8880
|
title
|
|
8881
8881
|
}) => {
|
|
8882
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
8882
|
+
const rootClasses = useStylesWithRootClass(rootClassName$O, className);
|
|
8883
8883
|
const cancelClasses = useStylesWithRootClass(cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.className, 'cancel-button');
|
|
8884
8884
|
const [isOpen, setIsOpen] = useState(open);
|
|
8885
8885
|
const hasSecondaryAction = !!secondaryButtonProps;
|
|
@@ -9016,7 +9016,7 @@ const DotConfirmationDialog = ({
|
|
|
9016
9016
|
});
|
|
9017
9017
|
};
|
|
9018
9018
|
|
|
9019
|
-
const rootClassName$
|
|
9019
|
+
const rootClassName$N = 'dot-grid';
|
|
9020
9020
|
const frGetter = value => typeof value === 'number' ? `repeat(${value}, 1fr)` : value;
|
|
9021
9021
|
const breakpointsGetter$1 = (theme, columnsBreakpoints, columnGap, rowGap) => `${theme.breakpoints.up('xs')} {
|
|
9022
9022
|
column-gap: ${`${columnGap.xs}px`};
|
|
@@ -9076,7 +9076,7 @@ const Grid = ({
|
|
|
9076
9076
|
children,
|
|
9077
9077
|
isLoading
|
|
9078
9078
|
}) => {
|
|
9079
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
9079
|
+
const rootClasses = useStylesWithRootClass(rootClassName$N, className);
|
|
9080
9080
|
return jsxs("div", {
|
|
9081
9081
|
className: rootClasses,
|
|
9082
9082
|
children: [children, isLoading && jsx(DotProgress, {
|
|
@@ -9100,7 +9100,7 @@ const StyledGrid = styled(Grid)`
|
|
|
9100
9100
|
theme,
|
|
9101
9101
|
width
|
|
9102
9102
|
}) => css`
|
|
9103
|
-
&.${rootClassName$
|
|
9103
|
+
&.${rootClassName$N} {
|
|
9104
9104
|
display: grid;
|
|
9105
9105
|
grid-template-rows: ${frGetter(rows)};
|
|
9106
9106
|
${columns ? `${columns && `grid-template-columns: ${frGetter(columns)}`};` : breakpointsGetter$1(theme, columnsBreakpoints, columnGap, rowGap)}
|
|
@@ -9371,12 +9371,12 @@ const CssGridDebug = ({
|
|
|
9371
9371
|
});
|
|
9372
9372
|
};
|
|
9373
9373
|
|
|
9374
|
-
const rootClassName$
|
|
9374
|
+
const rootClassName$M = 'dot-pill';
|
|
9375
9375
|
const StyledPill = styled(Chip)`
|
|
9376
9376
|
${({
|
|
9377
9377
|
theme
|
|
9378
9378
|
}) => css`
|
|
9379
|
-
&.${rootClassName$
|
|
9379
|
+
&.${rootClassName$M} {
|
|
9380
9380
|
background-color: ${({
|
|
9381
9381
|
backgroundcolor,
|
|
9382
9382
|
variant
|
|
@@ -9500,7 +9500,7 @@ const DotPill = ({
|
|
|
9500
9500
|
status = 'default',
|
|
9501
9501
|
variant = 'filled'
|
|
9502
9502
|
}) => {
|
|
9503
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
9503
|
+
const rootClasses = useStylesWithRootClass(rootClassName$M, className, status);
|
|
9504
9504
|
return jsx(StyledPill, {
|
|
9505
9505
|
"aria-label": ariaLabel,
|
|
9506
9506
|
bordercolor: bordercolor,
|
|
@@ -11089,18 +11089,18 @@ function addAutoHideDuration(severity) {
|
|
|
11089
11089
|
return severity === 'error' ? null : 10000;
|
|
11090
11090
|
}
|
|
11091
11091
|
|
|
11092
|
-
const rootClassName$
|
|
11092
|
+
const rootClassName$L = 'dot-snackbar';
|
|
11093
11093
|
const StyledSnackbar = styled(Snackbar)`
|
|
11094
11094
|
${({
|
|
11095
11095
|
theme,
|
|
11096
11096
|
width,
|
|
11097
11097
|
$anchorOriginTop
|
|
11098
11098
|
}) => css`
|
|
11099
|
-
&.${rootClassName$
|
|
11099
|
+
&.${rootClassName$L} {
|
|
11100
11100
|
.MuiAlert-message {
|
|
11101
11101
|
word-break: break-word;
|
|
11102
11102
|
}
|
|
11103
|
-
.${rootClassName$
|
|
11103
|
+
.${rootClassName$1n} {
|
|
11104
11104
|
align-items: flex-start;
|
|
11105
11105
|
}
|
|
11106
11106
|
&.MuiSnackbar-anchorOriginTopLeft,
|
|
@@ -11153,7 +11153,7 @@ const DotSnackbar = ({
|
|
|
11153
11153
|
}) => {
|
|
11154
11154
|
const hasActions = !!(primaryAction || secondaryAction);
|
|
11155
11155
|
const calculatedAutoHideDuration = autoHideDuration === null || autoHideDuration > 0 ? autoHideDuration : addAutoHideDuration(severity);
|
|
11156
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
11156
|
+
const rootClasses = useStylesWithRootClass(rootClassName$L, className);
|
|
11157
11157
|
const handleSnackbarClose = reason => {
|
|
11158
11158
|
if (!reason || hideOnClickAway || !hideOnClickAway && reason !== 'clickaway') {
|
|
11159
11159
|
onClose();
|
|
@@ -11223,10 +11223,10 @@ const DotSnackbar = ({
|
|
|
11223
11223
|
});
|
|
11224
11224
|
};
|
|
11225
11225
|
|
|
11226
|
-
const rootClassName$
|
|
11226
|
+
const rootClassName$K = 'dot-snackbar-container';
|
|
11227
11227
|
const StyledSnackbarContainer = styled.div`
|
|
11228
11228
|
${() => css`
|
|
11229
|
-
&.${rootClassName$
|
|
11229
|
+
&.${rootClassName$K} {
|
|
11230
11230
|
position: absolute;
|
|
11231
11231
|
top: 0;
|
|
11232
11232
|
width: 250px;
|
|
@@ -11258,10 +11258,10 @@ const DotSnackbarContainer = ({
|
|
|
11258
11258
|
};
|
|
11259
11259
|
}
|
|
11260
11260
|
return jsx(StyledSnackbarContainer, {
|
|
11261
|
-
className: rootClassName$
|
|
11261
|
+
className: rootClassName$K,
|
|
11262
11262
|
children: jsx("div", {
|
|
11263
|
-
className: rootClassName$
|
|
11264
|
-
"data-testid": rootClassName$
|
|
11263
|
+
className: rootClassName$K,
|
|
11264
|
+
"data-testid": rootClassName$K,
|
|
11265
11265
|
children: alerts.slice().reverse().map(alert => {
|
|
11266
11266
|
return jsx(DotSnackbar, {
|
|
11267
11267
|
autoCloseOnAction: autoCloseOnAction,
|
|
@@ -11335,12 +11335,12 @@ const useEnqueueErrorMessage = error => {
|
|
|
11335
11335
|
}, [error]);
|
|
11336
11336
|
};
|
|
11337
11337
|
|
|
11338
|
-
const rootClassName$
|
|
11338
|
+
const rootClassName$J = 'dot-dashboard-details';
|
|
11339
11339
|
const StyledDashboardDetails = styled(DotDrawer)`
|
|
11340
11340
|
${({
|
|
11341
11341
|
theme
|
|
11342
11342
|
}) => css`
|
|
11343
|
-
&.${rootClassName$
|
|
11343
|
+
&.${rootClassName$J} {
|
|
11344
11344
|
.dot-drawer-paper {
|
|
11345
11345
|
padding: 0;
|
|
11346
11346
|
width: 382px;
|
|
@@ -11466,7 +11466,7 @@ const DotDashboardDetailsView = ({
|
|
|
11466
11466
|
modifiedAuthorUser
|
|
11467
11467
|
}) => {
|
|
11468
11468
|
var _a, _b;
|
|
11469
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
11469
|
+
const rootClasses = useStylesWithRootClass(rootClassName$J, className);
|
|
11470
11470
|
const closeHandler = useCallback(event => {
|
|
11471
11471
|
onClose && onClose(event);
|
|
11472
11472
|
}, [onClose]);
|
|
@@ -12128,12 +12128,12 @@ function DotDashboardDialog({
|
|
|
12128
12128
|
});
|
|
12129
12129
|
}
|
|
12130
12130
|
|
|
12131
|
-
const rootClassName$
|
|
12131
|
+
const rootClassName$I = 'dot-impact-dialog';
|
|
12132
12132
|
const StyledImpactDialog = styled(DotDialog)`
|
|
12133
12133
|
${({
|
|
12134
12134
|
theme
|
|
12135
12135
|
}) => css`
|
|
12136
|
-
&.${rootClassName$
|
|
12136
|
+
&.${rootClassName$I} {
|
|
12137
12137
|
.high-impact-default-content {
|
|
12138
12138
|
margin-top: ${theme.spacing(2)};
|
|
12139
12139
|
margin-bottom: ${theme.spacing(3)};
|
|
@@ -12239,7 +12239,7 @@ const DotImpactDialog = ({
|
|
|
12239
12239
|
}
|
|
12240
12240
|
return '';
|
|
12241
12241
|
}, [action, capitalize, impact, record]);
|
|
12242
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
12242
|
+
const rootClasses = useStylesWithRootClass(rootClassName$I, className);
|
|
12243
12243
|
return jsx(StyledImpactDialog, {
|
|
12244
12244
|
"data-testid": dataTestId,
|
|
12245
12245
|
className: rootClasses,
|
|
@@ -13611,7 +13611,7 @@ function DotDashboardHeader({
|
|
|
13611
13611
|
});
|
|
13612
13612
|
}
|
|
13613
13613
|
|
|
13614
|
-
const rootClassName$
|
|
13614
|
+
const rootClassName$H = 'dot-empty-state';
|
|
13615
13615
|
const emptyStateImageSizing = {
|
|
13616
13616
|
xsmall: 9,
|
|
13617
13617
|
dense: 15,
|
|
@@ -13682,9 +13682,9 @@ const StyledEmptyState = styled.div`
|
|
|
13682
13682
|
`}
|
|
13683
13683
|
`;
|
|
13684
13684
|
|
|
13685
|
-
const rootClassName$
|
|
13685
|
+
const rootClassName$G = 'dot-illustration';
|
|
13686
13686
|
const StyledIllustration = styled.span`
|
|
13687
|
-
&.${rootClassName$
|
|
13687
|
+
&.${rootClassName$G} {
|
|
13688
13688
|
display: inline-block;
|
|
13689
13689
|
}
|
|
13690
13690
|
`;
|
|
@@ -13701,17 +13701,17 @@ const DotIllustration = ({
|
|
|
13701
13701
|
tooltip,
|
|
13702
13702
|
tooltipPlacement = 'right-end'
|
|
13703
13703
|
}) => {
|
|
13704
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
13704
|
+
const rootClasses = useStylesWithRootClass(rootClassName$G, className);
|
|
13705
13705
|
return jsx(DotTooltip, {
|
|
13706
13706
|
childrenDisplayStyle: "inline-block",
|
|
13707
13707
|
title: tooltip,
|
|
13708
13708
|
placement: tooltipPlacement,
|
|
13709
|
-
"data-testid": `${dataTestId || rootClassName$
|
|
13709
|
+
"data-testid": `${dataTestId || rootClassName$G}-tooltip`,
|
|
13710
13710
|
children: jsx(StyledIllustration, {
|
|
13711
13711
|
"aria-hidden": "false",
|
|
13712
13712
|
"aria-label": ariaLabel || title || 'Illustration',
|
|
13713
13713
|
className: rootClasses,
|
|
13714
|
-
"data-testid": dataTestId || rootClassName$
|
|
13714
|
+
"data-testid": dataTestId || rootClassName$G,
|
|
13715
13715
|
role: ariaRole,
|
|
13716
13716
|
children: jsx("img", {
|
|
13717
13717
|
alt: alt || 'Illustration',
|
|
@@ -13737,7 +13737,7 @@ const DotEmptyState = ({
|
|
|
13737
13737
|
subtitle,
|
|
13738
13738
|
title
|
|
13739
13739
|
}) => {
|
|
13740
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
13740
|
+
const rootClasses = useStylesWithRootClass(rootClassName$H, className);
|
|
13741
13741
|
return jsxs(StyledEmptyState, {
|
|
13742
13742
|
"aria-label": ariaLabel,
|
|
13743
13743
|
className: `${rootClasses} ${size}`,
|
|
@@ -13818,20 +13818,20 @@ const StyledRadioGroup = styled(RadioGroup)`
|
|
|
13818
13818
|
&.${groupClassName} {
|
|
13819
13819
|
padding-left: ${theme.spacing(2.5)};
|
|
13820
13820
|
|
|
13821
|
-
.${rootClassName$
|
|
13821
|
+
.${rootClassName$U} {
|
|
13822
13822
|
margin: 0;
|
|
13823
13823
|
}
|
|
13824
13824
|
}
|
|
13825
13825
|
`}
|
|
13826
13826
|
`;
|
|
13827
13827
|
|
|
13828
|
-
const rootClassName$
|
|
13828
|
+
const rootClassName$F = 'dot-date-picker';
|
|
13829
13829
|
const popperClassName = 'dot-date-picker-popper';
|
|
13830
13830
|
const containerClassName$2 = 'dot-date-picker-container';
|
|
13831
13831
|
const rectanglePickersDayClassName = 'dot-rectangle-pickers-day';
|
|
13832
13832
|
const StyledDatePickerContainer = styled.div`
|
|
13833
13833
|
${() => css`
|
|
13834
|
-
&.${rootClassName$
|
|
13834
|
+
&.${rootClassName$F} .full-width {
|
|
13835
13835
|
width: 100%;
|
|
13836
13836
|
}
|
|
13837
13837
|
`}
|
|
@@ -13840,7 +13840,7 @@ const StyledDatePicker = styled(DatePicker)`
|
|
|
13840
13840
|
${({
|
|
13841
13841
|
theme
|
|
13842
13842
|
}) => css`
|
|
13843
|
-
&.${rootClassName$
|
|
13843
|
+
&.${rootClassName$F} {
|
|
13844
13844
|
${pickerInputStyles(theme)};
|
|
13845
13845
|
|
|
13846
13846
|
.Mui-disabled.MuiInputBase-root,
|
|
@@ -13882,7 +13882,7 @@ const StyledPickersDay = styled(PickersDay)`
|
|
|
13882
13882
|
`}
|
|
13883
13883
|
`;
|
|
13884
13884
|
|
|
13885
|
-
const rootClassName$
|
|
13885
|
+
const rootClassName$E = 'dot-time-picker';
|
|
13886
13886
|
const containerClassName$1 = 'dot-time-picker-container';
|
|
13887
13887
|
const timePickerPopperClassName = 'dot-time-picker-popper';
|
|
13888
13888
|
const TIME_SELECTION_HEIGHT_SPACING = 34.5;
|
|
@@ -13902,7 +13902,7 @@ const StyledTimePicker = styled(TimePicker)`
|
|
|
13902
13902
|
${({
|
|
13903
13903
|
theme
|
|
13904
13904
|
}) => css`
|
|
13905
|
-
&.${rootClassName$
|
|
13905
|
+
&.${rootClassName$E} {
|
|
13906
13906
|
${pickerInputStyles(theme)};
|
|
13907
13907
|
|
|
13908
13908
|
.Mui-disabled.MuiInputBase-root,
|
|
@@ -13979,36 +13979,36 @@ const StyledTimePickerPopper = styled(Popper)`
|
|
|
13979
13979
|
`}
|
|
13980
13980
|
`;
|
|
13981
13981
|
|
|
13982
|
-
const rootClassName$
|
|
13982
|
+
const rootClassName$D = 'dot-form';
|
|
13983
13983
|
const StyledFormContainer = styled.div`
|
|
13984
13984
|
${({
|
|
13985
13985
|
theme
|
|
13986
13986
|
}) => css`
|
|
13987
|
-
&.${rootClassName$
|
|
13987
|
+
&.${rootClassName$D} {
|
|
13988
13988
|
margin: ${theme.spacing(3, 0)};
|
|
13989
13989
|
|
|
13990
|
-
.${rootClassName$
|
|
13991
|
-
.${rootClassName$
|
|
13992
|
-
.${rootClassName$
|
|
13990
|
+
.${rootClassName$S},
|
|
13991
|
+
.${rootClassName$U},
|
|
13992
|
+
.${rootClassName$1r},
|
|
13993
13993
|
.${rootSelectClassName},
|
|
13994
|
-
.${rootClassName$
|
|
13995
|
-
.${rootClassName$
|
|
13994
|
+
.${rootClassName$F},
|
|
13995
|
+
.${rootClassName$E} {
|
|
13996
13996
|
margin: ${theme.spacing(1, 0)};
|
|
13997
13997
|
}
|
|
13998
13998
|
|
|
13999
13999
|
.${wrapperClassName$2} {
|
|
14000
|
-
+ .${rootClassName$
|
|
14000
|
+
+ .${rootClassName$1r},
|
|
14001
14001
|
.${wrapperClassName$2}
|
|
14002
14002
|
+ .${rootSelectClassName},
|
|
14003
14003
|
.${wrapperClassName$2}
|
|
14004
|
-
+ .${rootClassName$
|
|
14004
|
+
+ .${rootClassName$F},
|
|
14005
14005
|
.${wrapperClassName$2}
|
|
14006
|
-
+ .${rootClassName$
|
|
14006
|
+
+ .${rootClassName$E} {
|
|
14007
14007
|
margin: ${theme.spacing(0, 0, 1, 0)};
|
|
14008
14008
|
}
|
|
14009
14009
|
|
|
14010
|
-
.${rootClassName$
|
|
14011
|
-
.${rootClassName$
|
|
14010
|
+
.${rootClassName$R}, .${groupClassName} {
|
|
14011
|
+
.${rootClassName$U} {
|
|
14012
14012
|
margin: 0;
|
|
14013
14013
|
}
|
|
14014
14014
|
}
|
|
@@ -14023,7 +14023,7 @@ const DotForm = ({
|
|
|
14023
14023
|
'data-testid': dataTestId,
|
|
14024
14024
|
onSubmit
|
|
14025
14025
|
}) => {
|
|
14026
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14026
|
+
const rootClasses = useStylesWithRootClass(rootClassName$D, className);
|
|
14027
14027
|
return jsx("form", {
|
|
14028
14028
|
"aria-label": ariaLabel,
|
|
14029
14029
|
"data-testid": dataTestId,
|
|
@@ -14036,10 +14036,10 @@ const DotForm = ({
|
|
|
14036
14036
|
});
|
|
14037
14037
|
};
|
|
14038
14038
|
|
|
14039
|
-
const rootClassName$
|
|
14039
|
+
const rootClassName$C = 'dot-dynamic-form';
|
|
14040
14040
|
const StyledDynamicForm = styled(DotForm)`
|
|
14041
14041
|
${() => css`
|
|
14042
|
-
&.${rootClassName$
|
|
14042
|
+
&.${rootClassName$C} {
|
|
14043
14043
|
}
|
|
14044
14044
|
`}
|
|
14045
14045
|
`;
|
|
@@ -14219,12 +14219,12 @@ const checkIfFormDataValid = formState => {
|
|
|
14219
14219
|
return true;
|
|
14220
14220
|
};
|
|
14221
14221
|
|
|
14222
|
-
const rootClassName$
|
|
14222
|
+
const rootClassName$B = 'dot-progress-button';
|
|
14223
14223
|
const StyledProgressButton = styled(DotButton)`
|
|
14224
14224
|
${({
|
|
14225
14225
|
theme
|
|
14226
14226
|
}) => css`
|
|
14227
|
-
&.${rootClassName$
|
|
14227
|
+
&.${rootClassName$B} {
|
|
14228
14228
|
.hidden {
|
|
14229
14229
|
// hide children but preserve its space so that
|
|
14230
14230
|
// button's dimensions don't change
|
|
@@ -14249,7 +14249,7 @@ const DotProgressButton = ({
|
|
|
14249
14249
|
ariaLabel,
|
|
14250
14250
|
children,
|
|
14251
14251
|
className,
|
|
14252
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
14252
|
+
'data-pendoid': dataPendoId = rootClassName$B,
|
|
14253
14253
|
'data-testid': dataTestId,
|
|
14254
14254
|
disabled = false,
|
|
14255
14255
|
disableInteractive,
|
|
@@ -14263,7 +14263,7 @@ const DotProgressButton = ({
|
|
|
14263
14263
|
tooltip,
|
|
14264
14264
|
type = 'primary'
|
|
14265
14265
|
}) => {
|
|
14266
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14266
|
+
const rootClasses = useStylesWithRootClass(rootClassName$B, className);
|
|
14267
14267
|
const isButtonDisabled = disabled || isLoading;
|
|
14268
14268
|
const titleClasses = useStylesWithRootClass(isLoading ? 'hidden' : '');
|
|
14269
14269
|
const progressCircleSize = size === 'large' ? SPINNER_LARGE_SIZE : SPINNER_DEFAULT_SIZE;
|
|
@@ -14293,12 +14293,12 @@ const DotProgressButton = ({
|
|
|
14293
14293
|
});
|
|
14294
14294
|
};
|
|
14295
14295
|
|
|
14296
|
-
const rootClassName$
|
|
14296
|
+
const rootClassName$A = 'dot-radio';
|
|
14297
14297
|
const StyledRadioButton = styled(Radio)`
|
|
14298
14298
|
${({
|
|
14299
14299
|
theme
|
|
14300
14300
|
}) => css`
|
|
14301
|
-
&.${rootClassName$
|
|
14301
|
+
&.${rootClassName$A} {
|
|
14302
14302
|
padding: 8px;
|
|
14303
14303
|
|
|
14304
14304
|
svg {
|
|
@@ -14316,7 +14316,7 @@ function DotRadioButton({
|
|
|
14316
14316
|
ariaLabel,
|
|
14317
14317
|
checked,
|
|
14318
14318
|
className,
|
|
14319
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
14319
|
+
'data-pendoid': dataPendoId = rootClassName$U,
|
|
14320
14320
|
'data-testid': dataTestId,
|
|
14321
14321
|
disabled,
|
|
14322
14322
|
id,
|
|
@@ -14329,7 +14329,7 @@ function DotRadioButton({
|
|
|
14329
14329
|
size = 'medium',
|
|
14330
14330
|
value
|
|
14331
14331
|
}) {
|
|
14332
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14332
|
+
const rootClasses = useStylesWithRootClass(rootClassName$U, className);
|
|
14333
14333
|
const handleChange = event => {
|
|
14334
14334
|
onChange && onChange(event, event.target.value);
|
|
14335
14335
|
};
|
|
@@ -14337,7 +14337,7 @@ function DotRadioButton({
|
|
|
14337
14337
|
const radioControl = jsx(StyledRadioButton, {
|
|
14338
14338
|
checked: checked,
|
|
14339
14339
|
classes: {
|
|
14340
|
-
root: rootClassName$
|
|
14340
|
+
root: rootClassName$A
|
|
14341
14341
|
},
|
|
14342
14342
|
color: "primary",
|
|
14343
14343
|
"data-pendoid": dataPendoId,
|
|
@@ -14383,7 +14383,7 @@ const DotRadioGroup = ({
|
|
|
14383
14383
|
size = 'medium'
|
|
14384
14384
|
}) => {
|
|
14385
14385
|
const placement = `${placementClassName}${labelPlacement}`;
|
|
14386
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14386
|
+
const rootClasses = useStylesWithRootClass(rootClassName$S, className, placement);
|
|
14387
14387
|
const radioValue = value || defaultValue;
|
|
14388
14388
|
const [selectedValue, setSelectedValue] = useState(radioValue);
|
|
14389
14389
|
/* This will ensure that value can be updated from the outside */
|
|
@@ -14448,7 +14448,7 @@ const DotRadioGroup = ({
|
|
|
14448
14448
|
});
|
|
14449
14449
|
};
|
|
14450
14450
|
|
|
14451
|
-
const rootClassName$
|
|
14451
|
+
const rootClassName$z = 'dot-switch';
|
|
14452
14452
|
const StyledSwitch = styled(Switch)`
|
|
14453
14453
|
${({
|
|
14454
14454
|
theme
|
|
@@ -14475,7 +14475,7 @@ const DotSwitch = ({
|
|
|
14475
14475
|
checked,
|
|
14476
14476
|
className,
|
|
14477
14477
|
color,
|
|
14478
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
14478
|
+
'data-pendoid': dataPendoId = rootClassName$z,
|
|
14479
14479
|
'data-testid': dataTestId,
|
|
14480
14480
|
disabled = false,
|
|
14481
14481
|
id,
|
|
@@ -14485,7 +14485,7 @@ const DotSwitch = ({
|
|
|
14485
14485
|
onChange,
|
|
14486
14486
|
size = 'medium'
|
|
14487
14487
|
}) => {
|
|
14488
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14488
|
+
const rootClasses = useStylesWithRootClass(rootClassName$z, className);
|
|
14489
14489
|
const handleChange = event => {
|
|
14490
14490
|
onChange && onChange(event);
|
|
14491
14491
|
};
|
|
@@ -14515,7 +14515,7 @@ const DotSwitch = ({
|
|
|
14515
14515
|
tabIndex: 0
|
|
14516
14516
|
});
|
|
14517
14517
|
return jsx(StyledFormControlLabel, {
|
|
14518
|
-
className: rootClassName$
|
|
14518
|
+
className: rootClassName$U,
|
|
14519
14519
|
control: switchControl,
|
|
14520
14520
|
label: label,
|
|
14521
14521
|
labelPlacement: labelPlacement
|
|
@@ -14836,7 +14836,7 @@ const DotDynamicForm = ({
|
|
|
14836
14836
|
onChange,
|
|
14837
14837
|
onSubmit
|
|
14838
14838
|
}) => {
|
|
14839
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
14839
|
+
const rootClasses = useStylesWithRootClass(rootClassName$C, className);
|
|
14840
14840
|
// Memoize this operation so that is doesn't get executed each time this
|
|
14841
14841
|
// component re-renders
|
|
14842
14842
|
const initialFormState = useMemo(() => getInitialFormState(config, liveValidation), [config, liveValidation, getInitialFormState]);
|
|
@@ -15082,7 +15082,7 @@ const DotDynamicForm = ({
|
|
|
15082
15082
|
});
|
|
15083
15083
|
};
|
|
15084
15084
|
|
|
15085
|
-
const rootClassName$
|
|
15085
|
+
const rootClassName$y = 'dot-inline-edit';
|
|
15086
15086
|
const editModeClassName = 'dot-edit-mode';
|
|
15087
15087
|
const viewModeClassName = 'dot-view-mode';
|
|
15088
15088
|
const placeholderClassName = 'dot-placeholder';
|
|
@@ -15094,7 +15094,7 @@ const StyledInlineEdit = styled.div`
|
|
|
15094
15094
|
theme,
|
|
15095
15095
|
fullWidth
|
|
15096
15096
|
}) => css`
|
|
15097
|
-
&.${rootClassName$
|
|
15097
|
+
&.${rootClassName$y} {
|
|
15098
15098
|
align-items: center;
|
|
15099
15099
|
color: ${theme.palette.figma.typography.black};
|
|
15100
15100
|
display: ${fullWidth ? 'flex' : 'inline-flex'};
|
|
@@ -15308,7 +15308,7 @@ const DotInlineEdit = ({
|
|
|
15308
15308
|
bindings,
|
|
15309
15309
|
charactersLimit,
|
|
15310
15310
|
className,
|
|
15311
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
15311
|
+
'data-pendoid': dataPendoId = rootClassName$y,
|
|
15312
15312
|
'data-testid': dataTestId,
|
|
15313
15313
|
fullWidth = true,
|
|
15314
15314
|
hideActionButtons,
|
|
@@ -15344,7 +15344,7 @@ const DotInlineEdit = ({
|
|
|
15344
15344
|
}
|
|
15345
15345
|
}, [value]);
|
|
15346
15346
|
const isSaveDisabled = checkIfEmptyValue(inputValue);
|
|
15347
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
15347
|
+
const rootClasses = useStylesWithRootClass(rootClassName$y, className, editing ? editModeClassName : '');
|
|
15348
15348
|
const handleShowTooltip = visible => {
|
|
15349
15349
|
if (!editing) {
|
|
15350
15350
|
setShowTooltip(visible);
|
|
@@ -15532,13 +15532,13 @@ const DotInlineEdit = ({
|
|
|
15532
15532
|
});
|
|
15533
15533
|
};
|
|
15534
15534
|
|
|
15535
|
-
const rootClassName$
|
|
15535
|
+
const rootClassName$x = 'dot-navigation-rail';
|
|
15536
15536
|
const StyledNavigationRail = styled.div`
|
|
15537
15537
|
${({
|
|
15538
15538
|
theme,
|
|
15539
15539
|
railItemPosition
|
|
15540
15540
|
}) => css`
|
|
15541
|
-
&.${rootClassName$
|
|
15541
|
+
&.${rootClassName$x} {
|
|
15542
15542
|
background: ${theme.palette.figma.neutral.elevated};
|
|
15543
15543
|
border-left: 1px solid ${theme.palette.figma.border.default};
|
|
15544
15544
|
display: flex;
|
|
@@ -15597,7 +15597,7 @@ const DotNavigationRail = ({
|
|
|
15597
15597
|
railItems,
|
|
15598
15598
|
selectedIndex = 0
|
|
15599
15599
|
}) => {
|
|
15600
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
15600
|
+
const rootClasses = useStylesWithRootClass(rootClassName$x, className);
|
|
15601
15601
|
const [selectedItemIndex, setSelectedItemIndex] = useState(selectedIndex);
|
|
15602
15602
|
/* Used to change selected index programmatically from the consumer component */
|
|
15603
15603
|
useEffect(() => {
|
|
@@ -15648,12 +15648,12 @@ const DotNavigationRail = ({
|
|
|
15648
15648
|
});
|
|
15649
15649
|
};
|
|
15650
15650
|
|
|
15651
|
-
const rootClassName$
|
|
15651
|
+
const rootClassName$w = 'dot-skeleton';
|
|
15652
15652
|
const StyledSkeleton = styled(Skeleton)`
|
|
15653
15653
|
${({
|
|
15654
15654
|
theme
|
|
15655
15655
|
}) => css`
|
|
15656
|
-
&.${rootClassName$
|
|
15656
|
+
&.${rootClassName$w} {
|
|
15657
15657
|
background-color: ${theme.palette.figma.border.darker};
|
|
15658
15658
|
}
|
|
15659
15659
|
`}
|
|
@@ -15668,7 +15668,7 @@ const DotSkeleton = ({
|
|
|
15668
15668
|
width,
|
|
15669
15669
|
variant
|
|
15670
15670
|
}) => {
|
|
15671
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
15671
|
+
const rootClasses = useStylesWithRootClass(rootClassName$w, className);
|
|
15672
15672
|
return jsx(StyledSkeleton, {
|
|
15673
15673
|
animation: "wave",
|
|
15674
15674
|
"aria-label": ariaLabel,
|
|
@@ -15683,12 +15683,12 @@ const DotSkeleton = ({
|
|
|
15683
15683
|
});
|
|
15684
15684
|
};
|
|
15685
15685
|
|
|
15686
|
-
const rootClassName$
|
|
15686
|
+
const rootClassName$v = 'dot-split-button-group';
|
|
15687
15687
|
const StyledSplitButtonGroup = styled(ButtonGroup)`
|
|
15688
15688
|
${({
|
|
15689
15689
|
theme
|
|
15690
15690
|
}) => css`
|
|
15691
|
-
&.${rootClassName$
|
|
15691
|
+
&.${rootClassName$v} {
|
|
15692
15692
|
&.outlined,
|
|
15693
15693
|
&.text {
|
|
15694
15694
|
.expand-button {
|
|
@@ -15754,7 +15754,7 @@ const DotSplitButton = ({
|
|
|
15754
15754
|
autoFocus = false,
|
|
15755
15755
|
ariaLabel,
|
|
15756
15756
|
className,
|
|
15757
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
15757
|
+
'data-pendoid': dataPendoId = rootClassName$v,
|
|
15758
15758
|
'data-testid': dataTestId,
|
|
15759
15759
|
defaultMainOptionKey,
|
|
15760
15760
|
disabled = false,
|
|
@@ -15770,7 +15770,7 @@ const DotSplitButton = ({
|
|
|
15770
15770
|
tooltipPlacement,
|
|
15771
15771
|
type = 'primary'
|
|
15772
15772
|
}) => {
|
|
15773
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
15773
|
+
const rootClasses = useStylesWithRootClass(rootClassName$v, className, type, disabled ? 'disabled' : '');
|
|
15774
15774
|
const [open, setOpen] = useState(false);
|
|
15775
15775
|
const anchorRef = useRef(null);
|
|
15776
15776
|
const hasEmptyOptions = options.length === 0;
|
|
@@ -15838,7 +15838,7 @@ const DotSplitButton = ({
|
|
|
15838
15838
|
});
|
|
15839
15839
|
};
|
|
15840
15840
|
|
|
15841
|
-
const rootClassName$
|
|
15841
|
+
const rootClassName$u = 'dot-stepper';
|
|
15842
15842
|
const stepListClassName = 'dot-stepper-list';
|
|
15843
15843
|
const contentClassName = 'dot-stepper-content';
|
|
15844
15844
|
const StyledStepper = styled.div`
|
|
@@ -15846,7 +15846,7 @@ const StyledStepper = styled.div`
|
|
|
15846
15846
|
theme,
|
|
15847
15847
|
offset
|
|
15848
15848
|
}) => css`
|
|
15849
|
-
&.${rootClassName$
|
|
15849
|
+
&.${rootClassName$u} {
|
|
15850
15850
|
display: flex;
|
|
15851
15851
|
align-items: flex-start;
|
|
15852
15852
|
padding: 0;
|
|
@@ -16161,7 +16161,7 @@ const DotStepper = ({
|
|
|
16161
16161
|
return ['left', 'right'].includes(stepsPosition) ? stepsPosition : 'left';
|
|
16162
16162
|
}
|
|
16163
16163
|
};
|
|
16164
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
16164
|
+
const rootClasses = useStylesWithRootClass(rootClassName$u, getStepsPosition(), className);
|
|
16165
16165
|
const stepContentClasses = displayInitialContent || displayFinalContent ? 'center-content' : '';
|
|
16166
16166
|
const stickyBottomClasses = useStylesWithRootClass('actions-container', isStickyBottom ? 'with-top-border' : '');
|
|
16167
16167
|
const actionsClasses = useStylesWithRootClass('actions', displayInitialContent || displayFinalContent ? 'center-actions' : '');
|
|
@@ -16379,12 +16379,12 @@ const DotStepper = ({
|
|
|
16379
16379
|
});
|
|
16380
16380
|
};
|
|
16381
16381
|
|
|
16382
|
-
const rootClassName$
|
|
16382
|
+
const rootClassName$t = 'dot-table-pagination-custom-actions';
|
|
16383
16383
|
const StyledTablePaginationCustomActions = styled.div`
|
|
16384
16384
|
${({
|
|
16385
16385
|
theme
|
|
16386
16386
|
}) => css`
|
|
16387
|
-
&.${rootClassName$
|
|
16387
|
+
&.${rootClassName$t} {
|
|
16388
16388
|
margin-left: ${theme.spacing(2.5)};
|
|
16389
16389
|
display: flex;
|
|
16390
16390
|
align-items: center;
|
|
@@ -16508,7 +16508,7 @@ const DotTablePaginationCustomActions = props => {
|
|
|
16508
16508
|
});
|
|
16509
16509
|
};
|
|
16510
16510
|
return jsxs(StyledTablePaginationCustomActions, {
|
|
16511
|
-
className: rootClassName$
|
|
16511
|
+
className: rootClassName$t,
|
|
16512
16512
|
children: [jsx(DotIconButton, {
|
|
16513
16513
|
ariaLabel: "previous page",
|
|
16514
16514
|
className: "page-control-button",
|
|
@@ -16555,7 +16555,7 @@ const DotTablePaginationCustomActions = props => {
|
|
|
16555
16555
|
});
|
|
16556
16556
|
};
|
|
16557
16557
|
|
|
16558
|
-
const rootClassName$
|
|
16558
|
+
const rootClassName$s = 'dot-table-pagination';
|
|
16559
16559
|
// TO-DO: Determine how to apply styles to standard popper element
|
|
16560
16560
|
const paginationItemClassName = 'dot-pagination-menu-item';
|
|
16561
16561
|
const StyledTablePagination = styled.div`
|
|
@@ -16563,7 +16563,7 @@ const StyledTablePagination = styled.div`
|
|
|
16563
16563
|
theme,
|
|
16564
16564
|
typography
|
|
16565
16565
|
}) => css`
|
|
16566
|
-
.${rootClassName$
|
|
16566
|
+
.${rootClassName$s} {
|
|
16567
16567
|
border-top: 1px solid ${theme.palette.figma.border.default};
|
|
16568
16568
|
|
|
16569
16569
|
.dot-caption,
|
|
@@ -16606,7 +16606,7 @@ const DotTablePagination = ({
|
|
|
16606
16606
|
showJumpToPageActionButton = false,
|
|
16607
16607
|
typography = 'subtitle2'
|
|
16608
16608
|
}) => {
|
|
16609
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
16609
|
+
const rootClasses = useStylesWithRootClass(rootClassName$s, className, showJumpToPageActionButton ? 'with-custom-actions' : '');
|
|
16610
16610
|
const handlePageChange = (event, newPage) => {
|
|
16611
16611
|
onPageChange && onPageChange(newPage);
|
|
16612
16612
|
};
|
|
@@ -16614,7 +16614,7 @@ const DotTablePagination = ({
|
|
|
16614
16614
|
onRowsPerPageChange && onRowsPerPageChange(evt);
|
|
16615
16615
|
};
|
|
16616
16616
|
return /* Container is used to pass 'typography' prop to a styled component */jsx(StyledTablePagination, {
|
|
16617
|
-
className: rootClassName$
|
|
16617
|
+
className: rootClassName$s,
|
|
16618
16618
|
typography: typography,
|
|
16619
16619
|
children: jsx(TablePagination, {
|
|
16620
16620
|
ActionsComponent: showJumpToPageActionButton ? DotTablePaginationCustomActions : undefined,
|
|
@@ -16640,14 +16640,14 @@ const DotTablePagination = ({
|
|
|
16640
16640
|
});
|
|
16641
16641
|
};
|
|
16642
16642
|
|
|
16643
|
-
const rootClassName$
|
|
16643
|
+
const rootClassName$r = 'dot-table';
|
|
16644
16644
|
const MULTISELECT_COLUMN_WIDTH = 52;
|
|
16645
16645
|
const COLLAPSIBLE_COLUMN_WIDTH = 42;
|
|
16646
16646
|
const StyledPaper$1 = styled(Paper)`
|
|
16647
16647
|
${({
|
|
16648
16648
|
theme
|
|
16649
16649
|
}) => css`
|
|
16650
|
-
&.${rootClassName$
|
|
16650
|
+
&.${rootClassName$r} {
|
|
16651
16651
|
background: ${theme.palette.figma.background.level0.componentsBackground};
|
|
16652
16652
|
border: 1px solid ${theme.palette.figma.border.default};
|
|
16653
16653
|
overflow: hidden;
|
|
@@ -16790,10 +16790,10 @@ const StyledMenu$1 = styled(DotMenu)`
|
|
|
16790
16790
|
}
|
|
16791
16791
|
`;
|
|
16792
16792
|
|
|
16793
|
-
const rootClassName$
|
|
16793
|
+
const rootClassName$q = 'dot-tbody';
|
|
16794
16794
|
const StyledTableBody = styled(TableBody)`
|
|
16795
16795
|
${() => css`
|
|
16796
|
-
&.${rootClassName$
|
|
16796
|
+
&.${rootClassName$q} {
|
|
16797
16797
|
tr:last-child td {
|
|
16798
16798
|
border-bottom: none;
|
|
16799
16799
|
}
|
|
@@ -16988,12 +16988,12 @@ function stableSort(array, comparator) {
|
|
|
16988
16988
|
return stabilizedThis.map(el => el[0]);
|
|
16989
16989
|
}
|
|
16990
16990
|
|
|
16991
|
-
const rootClassName$
|
|
16991
|
+
const rootClassName$p = 'dot-td';
|
|
16992
16992
|
const StyledTableCell = styled(TableCell)`
|
|
16993
16993
|
${({
|
|
16994
16994
|
theme
|
|
16995
16995
|
}) => css`
|
|
16996
|
-
&.${rootClassName$
|
|
16996
|
+
&.${rootClassName$p} {
|
|
16997
16997
|
padding-top: 0;
|
|
16998
16998
|
padding-bottom: 0;
|
|
16999
16999
|
|
|
@@ -17088,7 +17088,7 @@ const DotBodyCell = ({
|
|
|
17088
17088
|
const isOverflowing = actionTableCellWidth > (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current.clientWidth);
|
|
17089
17089
|
setShowMenu(isOverflowing);
|
|
17090
17090
|
};
|
|
17091
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17091
|
+
const rootClasses = useStylesWithRootClass(rootClassName$p, className, noWrap && 'noWrap', Array.isArray(value) && 'actionItems');
|
|
17092
17092
|
const getTableCellValue = () => {
|
|
17093
17093
|
if (Array.isArray(value)) {
|
|
17094
17094
|
return jsx("div", {
|
|
@@ -17156,13 +17156,13 @@ const EmptyDotRow = ({
|
|
|
17156
17156
|
const TABLE_TYPOGRAPHY_VARIANT = 'body1';
|
|
17157
17157
|
const TABLE_DEFAULT_SKELETON_ROWS = 4;
|
|
17158
17158
|
|
|
17159
|
-
const rootClassName$
|
|
17159
|
+
const rootClassName$o = 'dot-th-checkbox';
|
|
17160
17160
|
const styledTableHeaderCheckboxElement = (isCell = true) => {
|
|
17161
17161
|
return styled(isCell ? TableCell : 'div')`
|
|
17162
17162
|
${({
|
|
17163
17163
|
theme
|
|
17164
17164
|
}) => css`
|
|
17165
|
-
&.${rootClassName$
|
|
17165
|
+
&.${rootClassName$o} {
|
|
17166
17166
|
background: ${theme.palette.figma.background.level0.componentsBackground};
|
|
17167
17167
|
padding: ${theme.spacing(0, 1)};
|
|
17168
17168
|
width: ${theme.spacing(5)};
|
|
@@ -17190,7 +17190,7 @@ const DotHeaderCheckboxCell = ({
|
|
|
17190
17190
|
isFromTableSelectionToolbar,
|
|
17191
17191
|
multiSelectHeader
|
|
17192
17192
|
}) => {
|
|
17193
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17193
|
+
const rootClasses = useStylesWithRootClass(rootClassName$o, className, isFromTableSelectionToolbar ? 'table-selection-toolbar-checkbox' : '');
|
|
17194
17194
|
const [multiSelectState, setMultiSelectState] = useState('unchecked');
|
|
17195
17195
|
const {
|
|
17196
17196
|
onCheckAllChange,
|
|
@@ -17240,12 +17240,12 @@ const DotHeaderCheckboxCell = ({
|
|
|
17240
17240
|
});
|
|
17241
17241
|
};
|
|
17242
17242
|
|
|
17243
|
-
const rootClassName$
|
|
17243
|
+
const rootClassName$n = 'dot-th';
|
|
17244
17244
|
const StyledTableHeaderCell = styled(TableCell)`
|
|
17245
17245
|
${({
|
|
17246
17246
|
theme
|
|
17247
17247
|
}) => css`
|
|
17248
|
-
&.${rootClassName$
|
|
17248
|
+
&.${rootClassName$n} {
|
|
17249
17249
|
background: ${theme.palette.figma.background.level0.componentsBackground};
|
|
17250
17250
|
|
|
17251
17251
|
&.MuiTableCell-alignCenter > span.MuiTableSortLabel-root {
|
|
@@ -17285,7 +17285,7 @@ const DotHeaderCell = ({
|
|
|
17285
17285
|
value,
|
|
17286
17286
|
width
|
|
17287
17287
|
}) => {
|
|
17288
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17288
|
+
const rootClasses = useStylesWithRootClass(rootClassName$n, pinned ? 'dot-pinned-cell' : '', className);
|
|
17289
17289
|
const headerTitle = isString$2(value) ? value : null;
|
|
17290
17290
|
const formattedValue = getFormattedTableCellValue(value, typography);
|
|
17291
17291
|
const getCellValue = () => {
|
|
@@ -17376,12 +17376,12 @@ const DotHeaderRow = ({
|
|
|
17376
17376
|
});
|
|
17377
17377
|
};
|
|
17378
17378
|
|
|
17379
|
-
const rootClassName$
|
|
17379
|
+
const rootClassName$m = 'dot-tr';
|
|
17380
17380
|
const StyledTableRowStyles = styled(TableRow)`
|
|
17381
17381
|
${({
|
|
17382
17382
|
theme
|
|
17383
17383
|
}) => css`
|
|
17384
|
-
&.${rootClassName$
|
|
17384
|
+
&.${rootClassName$m} {
|
|
17385
17385
|
&.selected {
|
|
17386
17386
|
&,
|
|
17387
17387
|
.dot-td.dot-pinned-cell,
|
|
@@ -17607,12 +17607,12 @@ const ExpandCollapseCell = ({
|
|
|
17607
17607
|
});
|
|
17608
17608
|
};
|
|
17609
17609
|
|
|
17610
|
-
const rootClassName$
|
|
17610
|
+
const rootClassName$l = 'dot-td-checkbox';
|
|
17611
17611
|
const StyledTableBodyCheckboxCell = styled(TableCell)`
|
|
17612
17612
|
${({
|
|
17613
17613
|
theme
|
|
17614
17614
|
}) => css`
|
|
17615
|
-
&.${rootClassName$
|
|
17615
|
+
&.${rootClassName$l} {
|
|
17616
17616
|
padding: ${theme.spacing(0, 1)};
|
|
17617
17617
|
width: ${theme.spacing(5)};
|
|
17618
17618
|
|
|
@@ -17631,7 +17631,7 @@ const DotBodyCheckboxCell = ({
|
|
|
17631
17631
|
onChange,
|
|
17632
17632
|
rowId
|
|
17633
17633
|
}) => {
|
|
17634
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17634
|
+
const rootClasses = useStylesWithRootClass(rootClassName$l, className);
|
|
17635
17635
|
const [isCheckboxChecked, setIsCheckboxChecked] = useState(isChecked);
|
|
17636
17636
|
/** This effect is used when 'checked' status is changed from the outside */
|
|
17637
17637
|
useEffect(() => {
|
|
@@ -17684,7 +17684,7 @@ const DotTableRow = ({
|
|
|
17684
17684
|
selectedTableRowIds
|
|
17685
17685
|
} = multiSelectBody || {};
|
|
17686
17686
|
const isCheckboxChecked = selectedTableRowIds && selectedTableRowIds.includes(id) || false;
|
|
17687
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17687
|
+
const rootClasses = useStylesWithRootClass(rootClassName$m, isCheckboxChecked ? 'selected' : undefined, className);
|
|
17688
17688
|
const renderCheckboxCell = () => {
|
|
17689
17689
|
return jsx(DotBodyCheckboxCell, {
|
|
17690
17690
|
ariaLabel: "Click to select this row",
|
|
@@ -17805,7 +17805,7 @@ const DotTableBody = ({
|
|
|
17805
17805
|
return jsxs(Fragment, {
|
|
17806
17806
|
children: [jsx(StyledTableBody, {
|
|
17807
17807
|
classes: {
|
|
17808
|
-
root: rootClassName$
|
|
17808
|
+
root: rootClassName$q
|
|
17809
17809
|
},
|
|
17810
17810
|
children: getTableBodyRows()
|
|
17811
17811
|
}), jsx(StyledMenu$1, {
|
|
@@ -17820,12 +17820,12 @@ const DotTableBody = ({
|
|
|
17820
17820
|
});
|
|
17821
17821
|
};
|
|
17822
17822
|
|
|
17823
|
-
const rootClassName$
|
|
17823
|
+
const rootClassName$k = 'dot-table-selection-toolbar';
|
|
17824
17824
|
const StyledTableSelectionToolbar = styled(DotActionToolbar)`
|
|
17825
17825
|
${({
|
|
17826
17826
|
theme
|
|
17827
17827
|
}) => css`
|
|
17828
|
-
&.${rootClassName$
|
|
17828
|
+
&.${rootClassName$k} {
|
|
17829
17829
|
display: flex;
|
|
17830
17830
|
align-items: center;
|
|
17831
17831
|
justify-content: space-between;
|
|
@@ -17880,7 +17880,7 @@ const DotTableSelectionToolbar = ({
|
|
|
17880
17880
|
multiSelectHeader,
|
|
17881
17881
|
selectedRowsNumber
|
|
17882
17882
|
}) => {
|
|
17883
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17883
|
+
const rootClasses = useStylesWithRootClass(rootClassName$k, className);
|
|
17884
17884
|
return jsxs(StyledTableSelectionToolbar, {
|
|
17885
17885
|
ariaLabel: ariaLabel,
|
|
17886
17886
|
className: rootClasses,
|
|
@@ -17966,7 +17966,7 @@ const DotTable = ({
|
|
|
17966
17966
|
setPage(page);
|
|
17967
17967
|
}
|
|
17968
17968
|
}, [page]);
|
|
17969
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
17969
|
+
const rootClasses = useStylesWithRootClass(rootClassName$r, className, loading ? 'loading' : '', showMultiselectOverTableHeaderRow ? 'with-multiselect-over-table-header' : '', showMultiselectOverTableHeaderRow && !selectedRowsNumber ? 'hidden-multiselect' : '');
|
|
17970
17970
|
const updateData = (newOrder, newOrderBy, newPage, newRowsPerPage) => {
|
|
17971
17971
|
const newData = stableSort(data, getComparator(newOrder, newOrderBy));
|
|
17972
17972
|
setPageData(newRowsPerPage ? newData.slice(newPage * newRowsPerPage, newPage * newRowsPerPage + newRowsPerPage) : newData);
|
|
@@ -18169,7 +18169,7 @@ const DotTableAction = ({
|
|
|
18169
18169
|
});
|
|
18170
18170
|
};
|
|
18171
18171
|
|
|
18172
|
-
const rootClassName$
|
|
18172
|
+
const rootClassName$j = 'dot-table-actions';
|
|
18173
18173
|
const TableActionsContainer = styled.div`
|
|
18174
18174
|
overflow: hidden;
|
|
18175
18175
|
text-overflow: clip;
|
|
@@ -18259,7 +18259,7 @@ const DotTableActions = ({
|
|
|
18259
18259
|
};
|
|
18260
18260
|
return jsxs(Fragment, {
|
|
18261
18261
|
children: [jsxs(TableActionsContainer, {
|
|
18262
|
-
className: rootClassName$
|
|
18262
|
+
className: rootClassName$j,
|
|
18263
18263
|
ref: wrapperRef,
|
|
18264
18264
|
children: [!showMenu && renderTableActions(), (showMenu || actions.length > 2) && jsx(DotIconButton, {
|
|
18265
18265
|
ariaLabel: "more options",
|
|
@@ -18283,12 +18283,12 @@ const DotTableActions = ({
|
|
|
18283
18283
|
});
|
|
18284
18284
|
};
|
|
18285
18285
|
|
|
18286
|
-
const rootClassName$
|
|
18286
|
+
const rootClassName$i = 'dot-tabs';
|
|
18287
18287
|
const StyledTabs = styled(Tabs)`
|
|
18288
18288
|
${({
|
|
18289
18289
|
theme
|
|
18290
18290
|
}) => css`
|
|
18291
|
-
&.${rootClassName$
|
|
18291
|
+
&.${rootClassName$i} {
|
|
18292
18292
|
&.MuiTabs-root {
|
|
18293
18293
|
width: 100%;
|
|
18294
18294
|
}
|
|
@@ -18341,7 +18341,7 @@ const DotTabs = ({
|
|
|
18341
18341
|
centered = false,
|
|
18342
18342
|
className,
|
|
18343
18343
|
color,
|
|
18344
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
18344
|
+
'data-pendoid': dataPendoId = rootClassName$i,
|
|
18345
18345
|
'data-testid': dataTestId,
|
|
18346
18346
|
initialValue = 0,
|
|
18347
18347
|
onChange,
|
|
@@ -18350,7 +18350,7 @@ const DotTabs = ({
|
|
|
18350
18350
|
variant = 'standard'
|
|
18351
18351
|
}) => {
|
|
18352
18352
|
const [value, setValue] = useState(initialValue);
|
|
18353
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
18353
|
+
const rootClasses = useStylesWithRootClass(rootClassName$i, className);
|
|
18354
18354
|
useEffect(() => {
|
|
18355
18355
|
if (color) {
|
|
18356
18356
|
console.warn('DEPRECATED: `color` prop is deprecated in `<DotTabs>`, please remove any usage of it in your application.');
|
|
@@ -18404,9 +18404,9 @@ const DotTabs = ({
|
|
|
18404
18404
|
});
|
|
18405
18405
|
};
|
|
18406
18406
|
|
|
18407
|
-
const rootClassName$
|
|
18408
|
-
const containerClassName = `${rootClassName$
|
|
18409
|
-
const dropZoneClassName = `${rootClassName$
|
|
18407
|
+
const rootClassName$h = 'dot-file-upload';
|
|
18408
|
+
const containerClassName = `${rootClassName$h}-container`;
|
|
18409
|
+
const dropZoneClassName = `${rootClassName$h}-drop-zone`;
|
|
18410
18410
|
const StyledFileUploadContainer = styled.div`
|
|
18411
18411
|
${({
|
|
18412
18412
|
theme
|
|
@@ -18426,7 +18426,7 @@ const StyledFileUpload = styled.div`
|
|
|
18426
18426
|
${({
|
|
18427
18427
|
theme
|
|
18428
18428
|
}) => css`
|
|
18429
|
-
&.${rootClassName$
|
|
18429
|
+
&.${rootClassName$h}.${dropZoneClassName} {
|
|
18430
18430
|
align-items: center;
|
|
18431
18431
|
background: ${theme.palette.figma.background.level0.bckgGray};
|
|
18432
18432
|
border: 2px dashed ${theme.palette.figma.border.defaultButton};
|
|
@@ -18458,12 +18458,12 @@ const StyledFileUpload = styled.div`
|
|
|
18458
18458
|
`}
|
|
18459
18459
|
`;
|
|
18460
18460
|
|
|
18461
|
-
const rootClassName$
|
|
18461
|
+
const rootClassName$g = 'dot-file-list-item';
|
|
18462
18462
|
const StyledFileListItem = styled(StyledListItem)`
|
|
18463
18463
|
${({
|
|
18464
18464
|
theme
|
|
18465
18465
|
}) => css`
|
|
18466
|
-
&.${rootClassName$
|
|
18466
|
+
&.${rootClassName$g} {
|
|
18467
18467
|
border-bottom: 1px solid ${theme.palette.figma.border.default};
|
|
18468
18468
|
&:hover {
|
|
18469
18469
|
cursor: pointer;
|
|
@@ -18475,7 +18475,7 @@ const StyledFileListItem = styled(StyledListItem)`
|
|
|
18475
18475
|
outline: none;
|
|
18476
18476
|
}
|
|
18477
18477
|
|
|
18478
|
-
&.file-success:not(:hover, :focus-visible) .${rootClassName$
|
|
18478
|
+
&.file-success:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
|
|
18479
18479
|
i:before {
|
|
18480
18480
|
color: ${theme.palette.figma.success.normal};
|
|
18481
18481
|
}
|
|
@@ -18485,7 +18485,7 @@ const StyledFileListItem = styled(StyledListItem)`
|
|
|
18485
18485
|
}
|
|
18486
18486
|
}
|
|
18487
18487
|
|
|
18488
|
-
&.file-error:not(:hover, :focus-visible) .${rootClassName$
|
|
18488
|
+
&.file-error:not(:hover, :focus-visible) .${rootClassName$g}-end-icon {
|
|
18489
18489
|
i:before,
|
|
18490
18490
|
.MuiListItemText-secondary {
|
|
18491
18491
|
color: ${theme.palette.figma.destructive.normal};
|
|
@@ -18527,7 +18527,7 @@ const DotFileListItem = ({
|
|
|
18527
18527
|
onKeyPress,
|
|
18528
18528
|
tabIndex = 0
|
|
18529
18529
|
}) => {
|
|
18530
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
18530
|
+
const rootClasses = useStylesWithRootClass(rootClassName$g, className, error ? 'file-error' : 'file-success');
|
|
18531
18531
|
const defaultIcon = error ? 'error-solid' : 'check-solid';
|
|
18532
18532
|
const [endIcon, setEndIcon] = useState(defaultIcon);
|
|
18533
18533
|
const handleItemClick = clickedFile => _event => onClick === null || onClick === void 0 ? void 0 : onClick(clickedFile);
|
|
@@ -18560,7 +18560,7 @@ const DotFileListItem = ({
|
|
|
18560
18560
|
})]
|
|
18561
18561
|
}), jsx(DotIconButton, {
|
|
18562
18562
|
ariaLabel: "delete file",
|
|
18563
|
-
className: `${rootClassName$
|
|
18563
|
+
className: `${rootClassName$g}-end-icon`,
|
|
18564
18564
|
"data-testid": dataTestId && `${dataTestId}-end-icon`,
|
|
18565
18565
|
disabled: disableDelete,
|
|
18566
18566
|
iconId: endIcon,
|
|
@@ -18684,7 +18684,7 @@ const DotFileUpload = ({
|
|
|
18684
18684
|
buttonOnly = false,
|
|
18685
18685
|
className,
|
|
18686
18686
|
contentErrors,
|
|
18687
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
18687
|
+
'data-pendoid': dataPendoId = rootClassName$h,
|
|
18688
18688
|
'data-testid': dataTestId,
|
|
18689
18689
|
disabled,
|
|
18690
18690
|
hideFilesList,
|
|
@@ -18697,7 +18697,7 @@ const DotFileUpload = ({
|
|
|
18697
18697
|
const [uploadedFiles, setUploadedFiles] = useState([]);
|
|
18698
18698
|
const [hasMaxFilesError, setHasMaxFilesError] = useState(false);
|
|
18699
18699
|
const isUploadDisabled = disabled || maxFiles && uploadedFiles.length >= maxFiles;
|
|
18700
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
18700
|
+
const rootClasses = useStylesWithRootClass(rootClassName$h, className, !buttonOnly ? dropZoneClassName : '', isUploadDisabled ? 'disabled' : '');
|
|
18701
18701
|
const maxFilesClasses = useStylesWithRootClass('dot-max-files-message', hasMaxFilesError ? 'dot-max-files-reached' : '');
|
|
18702
18702
|
const allowMultiple = maxFiles === undefined || maxFiles > 1;
|
|
18703
18703
|
const setNewlyUploadedFiles = (acceptedFiles, fileRejections) => {
|
|
@@ -18769,6 +18769,76 @@ const DotFileUpload = ({
|
|
|
18769
18769
|
});
|
|
18770
18770
|
};
|
|
18771
18771
|
|
|
18772
|
+
const rootClassName$f = 'dot-fab';
|
|
18773
|
+
const StyledFab = styled(Fab)`
|
|
18774
|
+
${({
|
|
18775
|
+
theme,
|
|
18776
|
+
color
|
|
18777
|
+
}) => css`
|
|
18778
|
+
&.${rootClassName$f} {
|
|
18779
|
+
${color === 'default' ? css`
|
|
18780
|
+
background-color: ${theme.palette.figma.typography.white};
|
|
18781
|
+
color: ${theme.palette.figma.typography.black};
|
|
18782
|
+
|
|
18783
|
+
&:hover {
|
|
18784
|
+
background-color: ${theme.palette.figma.neutral.ripple};
|
|
18785
|
+
}
|
|
18786
|
+
` : css`
|
|
18787
|
+
&.MuiFab-secondary {
|
|
18788
|
+
background-color: ${theme.palette.figma.inProgress.secondary};
|
|
18789
|
+
|
|
18790
|
+
&:hover {
|
|
18791
|
+
background-color: ${theme.palette.secondary[700]};
|
|
18792
|
+
}
|
|
18793
|
+
}
|
|
18794
|
+
|
|
18795
|
+
&,
|
|
18796
|
+
.dot-icon {
|
|
18797
|
+
color: ${theme.palette.figma.typography.white};
|
|
18798
|
+
}
|
|
18799
|
+
`}
|
|
18800
|
+
|
|
18801
|
+
&.Mui-disabled {
|
|
18802
|
+
background-color: ${theme.palette.figma.disabled.normal};
|
|
18803
|
+
|
|
18804
|
+
&,
|
|
18805
|
+
.dot-icon {
|
|
18806
|
+
color: ${theme.palette.figma.typography.disabledLightGray};
|
|
18807
|
+
}
|
|
18808
|
+
}
|
|
18809
|
+
}
|
|
18810
|
+
`}
|
|
18811
|
+
`;
|
|
18812
|
+
|
|
18813
|
+
const DotFab = ({
|
|
18814
|
+
ariaLabel,
|
|
18815
|
+
children,
|
|
18816
|
+
className,
|
|
18817
|
+
color = 'default',
|
|
18818
|
+
'data-pendoid': dataPendoId = rootClassName$f,
|
|
18819
|
+
'data-testid': dataTestId,
|
|
18820
|
+
disableRipple = false,
|
|
18821
|
+
disabled = false,
|
|
18822
|
+
onClick,
|
|
18823
|
+
size = 'large',
|
|
18824
|
+
variant = 'circular'
|
|
18825
|
+
}) => {
|
|
18826
|
+
const rootClasses = useStylesWithRootClass(rootClassName$f, className);
|
|
18827
|
+
return jsx(StyledFab, {
|
|
18828
|
+
"aria-label": ariaLabel,
|
|
18829
|
+
color: color,
|
|
18830
|
+
className: rootClasses,
|
|
18831
|
+
"data-pendoid": dataPendoId,
|
|
18832
|
+
"data-testid": dataTestId,
|
|
18833
|
+
disabled: disabled,
|
|
18834
|
+
disableRipple: disableRipple,
|
|
18835
|
+
onClick: event => onClick && onClick(event),
|
|
18836
|
+
size: size,
|
|
18837
|
+
variant: variant,
|
|
18838
|
+
children: children
|
|
18839
|
+
});
|
|
18840
|
+
};
|
|
18841
|
+
|
|
18772
18842
|
const rootClassName$e = 'dot-divider';
|
|
18773
18843
|
const StyledDivider = styled(Divider)`
|
|
18774
18844
|
${({
|
|
@@ -18823,7 +18893,7 @@ const DotPopper = ({
|
|
|
18823
18893
|
placement
|
|
18824
18894
|
}) => {
|
|
18825
18895
|
const [arrowRef, setArrowRef] = useState(null);
|
|
18826
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
18896
|
+
const rootClasses = useStylesWithRootClass(rootClassName$1g, className);
|
|
18827
18897
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18828
18898
|
const handleClickAway = event => {
|
|
18829
18899
|
if (onClickAway && (!anchorEl || !anchorEl.contains(event.currentTarget))) {
|
|
@@ -22401,7 +22471,7 @@ const DotDatePicker = ({
|
|
|
22401
22471
|
autoFocus = false,
|
|
22402
22472
|
className,
|
|
22403
22473
|
closeOnSelect = true,
|
|
22404
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
22474
|
+
'data-pendoid': dataPendoId = rootClassName$F,
|
|
22405
22475
|
'data-testid': dataTestId,
|
|
22406
22476
|
defaultValue,
|
|
22407
22477
|
disableOpenPicker,
|
|
@@ -22442,7 +22512,7 @@ const DotDatePicker = ({
|
|
|
22442
22512
|
const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
|
|
22443
22513
|
const isInputReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
|
|
22444
22514
|
const inputRef = useRef(null);
|
|
22445
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
22515
|
+
const rootClasses = useStylesWithRootClass(rootClassName$F, className, isInputReadOnly ? 'read-only' : '');
|
|
22446
22516
|
const containerClasses = useStylesWithRootClass(containerClassName$2, fullWidth ? 'full-width' : '', className);
|
|
22447
22517
|
const focusInput = ref => {
|
|
22448
22518
|
setTimeout(() => {
|
|
@@ -22663,7 +22733,7 @@ const DotTimePicker = ({
|
|
|
22663
22733
|
ariaLabel,
|
|
22664
22734
|
autoFocus = false,
|
|
22665
22735
|
className,
|
|
22666
|
-
'data-pendoid': dataPendoId = rootClassName$
|
|
22736
|
+
'data-pendoid': dataPendoId = rootClassName$E,
|
|
22667
22737
|
'data-testid': dataTestId,
|
|
22668
22738
|
defaultValue,
|
|
22669
22739
|
disableOpenPicker = false,
|
|
@@ -22695,7 +22765,7 @@ const DotTimePicker = ({
|
|
|
22695
22765
|
const hasValueWithoutChangeHandler = value !== undefined && onChange === undefined;
|
|
22696
22766
|
const hasBothValueAndDefaultValue = value !== undefined && defaultValue !== undefined;
|
|
22697
22767
|
const isComponentReadOnly = readOnly || hasValueWithoutChangeHandler || hasBothValueAndDefaultValue;
|
|
22698
|
-
const rootClasses = useStylesWithRootClass(rootClassName$
|
|
22768
|
+
const rootClasses = useStylesWithRootClass(rootClassName$E, className, isComponentReadOnly ? 'read-only' : '');
|
|
22699
22769
|
const containerClasses = useStylesWithRootClass(containerClassName$1, fullWidth ? 'full-width' : '', className);
|
|
22700
22770
|
const inputRef = useRef(null);
|
|
22701
22771
|
const [isPickerOpened, setIsPickerOpened] = useState(false);
|
|
@@ -25281,4 +25351,4 @@ const DotColorPicker = ({
|
|
|
25281
25351
|
});
|
|
25282
25352
|
};
|
|
25283
25353
|
|
|
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 };
|
|
25354
|
+
export { ApiError$1 as ApiError, BoardStatusProvider, Cell, ColumnStatusProvider, CreateUUID, CssCell, CssGrid, CssGridDebug, DashboardAppTypeOptions, DashboardAppTypeToLabelMap, DashboardView, DatePickerKeydownContext, Daytime, DotAccordion, DotActionToolbar, DotAlertBanner, DotAnnotation, DotAppLogo, DotAppSwitcher, DotAppToolbar, DotAutoComplete, DotAvatar, DotAvatarGroup, DotAvatarWithDetails, DotBadge, Board as DotBoard, BoardColumn as DotBoardColumn, BoardColumnActionBar as DotBoardColumnActionBar, BoardColumnCollapse as DotBoardColumnCollapse, BoardColumnExpand as DotBoardColumnExpand, BoardColumnHeader as DotBoardColumnHeader, BoardColumnItems as DotBoardColumnItems, BoardColumnSummary as DotBoardColumnSummary, DotBreadcrumbs, DotButton, DotButtonToggle, DotCard, DotCardContent, DotCardFooter, DotCardHeader, DotCarousel, DotCheckbox, DotCheckboxGroup, DotChip, DotChipList, DotClickAwayListener, DotColorPicker, DotConfirmationDialog, DotCopyButton, DotCoreApiProvider, DotDashboardActions, DotDashboardDetails, DotDashboardDialog, DotDashboardHeader, DotDashboardOptionsMenu, DotDashboardPublishConfirm, DotDashboardStatusPill, DotDatePicker, DotDialog, DotDivider, DotDraggableList, DotDraggableWindow, DotDrawer, DotDynamicForm, DotEmptyFilterState, DotEmptyState, DotFab, DotFileListItem, DotFileUpload, DotForm, DotFormGroup, DotHeaderRow, DotIcon, DotIconButton, DotIllustration, DotImpactDialog, DotInlineEdit, DotInputLabel, DotInputSelect, DotInputText, DotLinearProgress, DotLink, DotList, DotMenu, DotMenuList, DotMetadataApiProvider, DotNavigationRail, DotPill, DotPopper, DotProgress, DotProgressButton, DotRadioButton, DotRadioGroup, DotSearch, DotSidebar, DotSkeleton, DotSnackbar, DotSnackbarContainer, DotSnackbarProvider, DotSplitButton, DotStepper, DotStickyWithBorder, DotSwitch, DotTable, DotTableAction, DotTableActions, DotTablePagination, DotTabs, DotThemeProvider, DotTimePicker, DotToggleSwitch, DotTooltip, DotTruncateWithTooltip, DotTypography, avatarColors, breakpointOptions, checkIfValidDate, darkFigmaColors, lightThemeColors as lightColors, lightFigmaColors, mockScrollIntoView, parseAutoCompleteValue, variables as themeVariables, typographyOptions, useBoardStatus, useColumnStatus, useDotCoreApiContext, useDotMetadataApiContext, useDotSnackbarContext, useEnqueueErrorMessage, useKeyPress };
|