@veritone-ce/design-system 2.0.8 → 2.1.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/dist/cjs/Alert/index.js +80 -0
- package/dist/cjs/Alert/styles.module.scss.js +7 -0
- package/dist/cjs/Box/index.js +16 -0
- package/dist/cjs/Button/index.js +56 -0
- package/dist/cjs/Button/styles.module.scss.js +7 -0
- package/dist/cjs/Checkbox/index.js +116 -0
- package/dist/cjs/Checkbox/styles.module.scss.js +7 -0
- package/dist/cjs/CircularProgress/index.js +59 -0
- package/dist/cjs/CircularProgress/styles.module.scss.js +7 -0
- package/dist/cjs/Dialog/components.js +219 -0
- package/dist/cjs/Dialog/factory.js +16 -0
- package/dist/cjs/Dialog/state.js +63 -0
- package/dist/cjs/Dialog/styles.module.scss.js +7 -0
- package/dist/cjs/Drawer/components.js +219 -0
- package/dist/cjs/Drawer/factory.js +16 -0
- package/dist/cjs/Drawer/state.js +63 -0
- package/dist/cjs/Drawer/styles.module.scss.js +7 -0
- package/dist/cjs/GlobalStyles/index.js +23 -0
- package/dist/cjs/Icon/factory.js +24 -0
- package/dist/cjs/Icon/internal.js +59 -0
- package/dist/cjs/Icon/styles.module.scss.js +7 -0
- package/dist/cjs/Icon/wrappers.js +50 -0
- package/dist/cjs/IconButton/index.js +41 -0
- package/dist/cjs/IconButton/styles.module.scss.js +7 -0
- package/dist/cjs/Input/index.js +72 -0
- package/dist/cjs/Input/styles.module.scss.js +7 -0
- package/dist/cjs/Menu/controlled.js +149 -0
- package/dist/cjs/Menu/factory.js +13 -0
- package/dist/cjs/Menu/styles.module.scss.js +7 -0
- package/dist/cjs/Pagination/index.js +54 -0
- package/dist/cjs/Pagination/styles.module.scss.js +7 -0
- package/dist/cjs/RadioButton/index.js +75 -0
- package/dist/cjs/RadioButton/styles.module.scss.js +7 -0
- package/dist/cjs/Select/controlled.js +144 -0
- package/dist/cjs/Select/factory.js +23 -0
- package/dist/cjs/Select/styles.module.scss.js +7 -0
- package/dist/cjs/Select/uncontrolled.js +59 -0
- package/dist/cjs/TablePagination/index.js +75 -0
- package/dist/cjs/TablePagination/styles.module.scss.js +7 -0
- package/dist/cjs/Textarea/index.js +69 -0
- package/dist/cjs/Textarea/styles.module.scss.js +7 -0
- package/dist/cjs/Toast/content.js +18 -0
- package/dist/cjs/Toast/hook.js +63 -0
- package/dist/cjs/Toast/index.js +15 -0
- package/dist/cjs/Tooltip/index.js +94 -0
- package/dist/cjs/Tooltip/styles.module.scss.js +7 -0
- package/dist/cjs/Typography/index.js +42 -0
- package/dist/cjs/Typography/variants.module.scss.js +7 -0
- package/dist/cjs/index.js +114 -282
- package/dist/cjs/popover/utils.js +8 -0
- package/dist/cjs/styles/createTheme.js +17 -0
- package/dist/cjs/styles/css-vars.js +78 -0
- package/dist/cjs/styles/cx.js +8 -0
- package/dist/cjs/styles/defaultTheme.js +50 -0
- package/dist/cjs/styles/identifier.js +8 -0
- package/dist/cjs/styles/palette.js +204 -0
- package/dist/cjs/styles/provider.client.js +25 -0
- package/dist/cjs/styles/provider.css-vars.js +27 -0
- package/dist/cjs/styles/styled.js +19 -0
- package/dist/cjs/styles/typography.js +117 -0
- package/dist/cjs/styles/useTheme.js +39 -0
- package/dist/cjs/styles.css +18 -0
- package/dist/cjs/utils/capitalize.js +13 -0
- package/dist/{esm-next → esm}/Alert/index.js +4 -2
- package/dist/esm/Alert/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Button/index.js +2 -0
- package/dist/esm/Button/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Checkbox/index.js +2 -0
- package/dist/esm/Checkbox/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/CircularProgress/index.js +5 -2
- package/dist/esm/CircularProgress/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Dialog/components.js +2 -0
- package/dist/esm/Dialog/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Drawer/components.js +2 -0
- package/dist/esm/Drawer/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Icon/wrappers.js +2 -0
- package/dist/{esm-next → esm}/IconButton/index.js +2 -0
- package/dist/esm/IconButton/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Input/index.js +2 -0
- package/dist/esm/Input/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Menu/controlled.js +2 -0
- package/dist/esm/Menu/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/RadioButton/index.js +2 -0
- package/dist/esm/RadioButton/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Select/controlled.js +2 -0
- package/dist/esm/Select/styles.module.scss.js +3 -0
- package/dist/esm/TablePagination/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Textarea/index.js +2 -0
- package/dist/esm/Textarea/styles.module.scss.js +3 -0
- package/dist/{esm-next → esm}/Tooltip/index.js +4 -2
- package/dist/{esm-next → esm}/Tooltip/styles.module.scss.js +1 -1
- package/dist/{esm-next → esm}/Typography/index.js +2 -0
- package/dist/esm/Typography/variants.module.scss.js +3 -0
- package/dist/esm/index.js +40 -30
- package/dist/esm/styles/css-vars.js +71 -0
- package/dist/esm/styles/defaultTheme.js +44 -0
- package/dist/esm/styles/palette.js +202 -0
- package/dist/esm/styles/scss/theme.generated.scss +412 -0
- package/dist/esm/styles.css +18 -0
- package/dist/types/{src-next/styles → styles}/css-vars.d.ts +2 -1
- package/dist/types/{src-next/styles → styles}/defaultTheme.d.ts +1 -0
- package/dist/types/{src-next/styles → styles}/index.d.ts +1 -1
- package/dist/types/styles/palette.d.ts +97 -0
- package/package.json +31 -51
- package/dist/cjs/assets/theme.js +0 -369
- package/dist/cjs/components/AudioSlider/index.js +0 -71
- package/dist/cjs/components/Breadcrumbs/breadcrumbs.theme.js +0 -21
- package/dist/cjs/components/Breadcrumbs/index.js +0 -72
- package/dist/cjs/components/Drawer/index.js +0 -24
- package/dist/cjs/components/ErrorMessage/index.js +0 -48
- package/dist/cjs/components/FileUploader/index.js +0 -349
- package/dist/cjs/components/FormControlLabel/index.js +0 -23
- package/dist/cjs/components/LinearProgress/index.js +0 -55
- package/dist/cjs/components/LinearProgress/linearProgress.theme.js +0 -24
- package/dist/cjs/components/Link/index.js +0 -31
- package/dist/cjs/components/List/index.js +0 -22
- package/dist/cjs/components/ListItem/index.js +0 -22
- package/dist/cjs/components/ListItemButton/index.js +0 -24
- package/dist/cjs/components/ListItemText/index.js +0 -22
- package/dist/cjs/components/Panel/index.js +0 -131
- package/dist/cjs/components/ProgressIndicator/DefaultProgress.js +0 -30
- package/dist/cjs/components/ProgressIndicator/MLProgress.js +0 -32
- package/dist/cjs/components/ProgressIndicator/index.js +0 -35
- package/dist/cjs/components/Select/index.js +0 -118
- package/dist/cjs/components/Select/select.theme.js +0 -63
- package/dist/cjs/components/StatusChip/constants.js +0 -12
- package/dist/cjs/components/StatusChip/index.js +0 -40
- package/dist/cjs/components/StatusChip/statusChip.theme.js +0 -46
- package/dist/cjs/components/Step/index.js +0 -23
- package/dist/cjs/components/StepLabel/index.js +0 -22
- package/dist/cjs/components/Stepper/index.js +0 -25
- package/dist/cjs/components/Stepper/stepper.theme.js +0 -58
- package/dist/cjs/components/Table/AutoTable/common.js +0 -162
- package/dist/cjs/components/Table/AutoTable/controlled.js +0 -128
- package/dist/cjs/components/Table/AutoTable/index.js +0 -122
- package/dist/cjs/components/Table/AutoTable/types.js +0 -5
- package/dist/cjs/components/Table/AutoTable/virtual.js +0 -222
- package/dist/cjs/components/Table/index.js +0 -187
- package/dist/cjs/components/Tabs/index.js +0 -49
- package/dist/cjs/components/Tabs/tabs.theme.js +0 -39
- package/dist/cjs/components/ThemeProvider/index.js +0 -26
- package/dist/cjs/components/UtilityRail/index.js +0 -76
- package/dist/cjs/components/UtilityRail/mock.js +0 -32
- package/dist/cjs/components/ZeroState/index.js +0 -25
- package/dist/cjs/components/_Alert/index.js +0 -70
- package/dist/cjs/components/_Autocomplete/index.js +0 -67
- package/dist/cjs/components/_Button/Indicator.js +0 -36
- package/dist/cjs/components/_Button/button.theme.js +0 -125
- package/dist/cjs/components/_Button/index.js +0 -58
- package/dist/cjs/components/_Checkbox/checkbox.theme.js +0 -28
- package/dist/cjs/components/_Checkbox/index.js +0 -32
- package/dist/cjs/components/_IconButton/index.js +0 -27
- package/dist/cjs/components/_Input/index.js +0 -40
- package/dist/cjs/components/_Input/input.theme.js +0 -114
- package/dist/cjs/components/_MenuFlyout/constants.js +0 -12
- package/dist/cjs/components/_MenuFlyout/index.js +0 -48
- package/dist/cjs/components/_MenuFlyout/menuFlyout.theme.js +0 -52
- package/dist/cjs/components/_Modal/index.js +0 -27
- package/dist/cjs/components/_Modal/modal.theme.js +0 -36
- package/dist/cjs/components/_RadioButton/RadioButton.theme.js +0 -64
- package/dist/cjs/components/_RadioButton/index.js +0 -44
- package/dist/cjs/components/_RadioGroup/index.js +0 -25
- package/dist/cjs/components/_Typography/index.js +0 -21
- package/dist/cjs/components/icons/HomeOutlinedIcon/index.js +0 -15
- package/dist/cjs/components/icons/IconGroups/index.js +0 -15
- package/dist/cjs/components/icons/IconListItem/index.js +0 -16
- package/dist/esm/assets/theme.js +0 -359
- package/dist/esm/components/AudioSlider/index.js +0 -64
- package/dist/esm/components/Breadcrumbs/breadcrumbs.theme.js +0 -14
- package/dist/esm/components/Breadcrumbs/index.js +0 -65
- package/dist/esm/components/Drawer/index.js +0 -14
- package/dist/esm/components/ErrorMessage/index.js +0 -44
- package/dist/esm/components/FileUploader/index.js +0 -343
- package/dist/esm/components/FormControlLabel/index.js +0 -13
- package/dist/esm/components/LinearProgress/index.js +0 -49
- package/dist/esm/components/LinearProgress/linearProgress.theme.js +0 -17
- package/dist/esm/components/Link/index.js +0 -22
- package/dist/esm/components/List/index.js +0 -12
- package/dist/esm/components/ListItem/index.js +0 -12
- package/dist/esm/components/ListItemButton/index.js +0 -14
- package/dist/esm/components/ListItemText/index.js +0 -12
- package/dist/esm/components/Panel/index.js +0 -124
- package/dist/esm/components/ProgressIndicator/DefaultProgress.js +0 -24
- package/dist/esm/components/ProgressIndicator/MLProgress.js +0 -26
- package/dist/esm/components/ProgressIndicator/index.js +0 -28
- package/dist/esm/components/Select/index.js +0 -109
- package/dist/esm/components/Select/select.theme.js +0 -56
- package/dist/esm/components/StatusChip/constants.js +0 -3
- package/dist/esm/components/StatusChip/index.js +0 -32
- package/dist/esm/components/StatusChip/statusChip.theme.js +0 -39
- package/dist/esm/components/Step/index.js +0 -15
- package/dist/esm/components/StepLabel/index.js +0 -12
- package/dist/esm/components/Stepper/index.js +0 -17
- package/dist/esm/components/Stepper/stepper.theme.js +0 -51
- package/dist/esm/components/Table/AutoTable/common.js +0 -150
- package/dist/esm/components/Table/AutoTable/controlled.js +0 -123
- package/dist/esm/components/Table/AutoTable/index.js +0 -111
- package/dist/esm/components/Table/AutoTable/types.js +0 -1
- package/dist/esm/components/Table/AutoTable/virtual.js +0 -215
- package/dist/esm/components/Table/index.js +0 -170
- package/dist/esm/components/Tabs/index.js +0 -40
- package/dist/esm/components/Tabs/tabs.theme.js +0 -32
- package/dist/esm/components/ThemeProvider/index.js +0 -18
- package/dist/esm/components/UtilityRail/index.js +0 -70
- package/dist/esm/components/UtilityRail/mock.js +0 -25
- package/dist/esm/components/ZeroState/index.js +0 -18
- package/dist/esm/components/_Alert/index.js +0 -63
- package/dist/esm/components/_Autocomplete/index.js +0 -59
- package/dist/esm/components/_Button/Indicator.js +0 -29
- package/dist/esm/components/_Button/button.theme.js +0 -118
- package/dist/esm/components/_Button/index.js +0 -48
- package/dist/esm/components/_Checkbox/checkbox.theme.js +0 -21
- package/dist/esm/components/_Checkbox/index.js +0 -24
- package/dist/esm/components/_IconButton/index.js +0 -17
- package/dist/esm/components/_Input/index.js +0 -33
- package/dist/esm/components/_Input/input.theme.js +0 -107
- package/dist/esm/components/_MenuFlyout/constants.js +0 -3
- package/dist/esm/components/_MenuFlyout/index.js +0 -41
- package/dist/esm/components/_MenuFlyout/menuFlyout.theme.js +0 -44
- package/dist/esm/components/_Modal/index.js +0 -20
- package/dist/esm/components/_Modal/modal.theme.js +0 -29
- package/dist/esm/components/_RadioButton/RadioButton.theme.js +0 -57
- package/dist/esm/components/_RadioButton/index.js +0 -36
- package/dist/esm/components/_RadioGroup/index.js +0 -15
- package/dist/esm/components/_Typography/index.js +0 -13
- package/dist/esm/components/icons/HomeOutlinedIcon/index.js +0 -8
- package/dist/esm/components/icons/IconGroups/index.js +0 -8
- package/dist/esm/components/icons/IconListItem/index.js +0 -9
- package/dist/esm-next/Alert/styles.module.scss.js +0 -3
- package/dist/esm-next/Button/styles.module.scss.js +0 -3
- package/dist/esm-next/Checkbox/styles.module.scss.js +0 -3
- package/dist/esm-next/CircularProgress/styles.module.scss.js +0 -3
- package/dist/esm-next/Dialog/styles.module.scss.js +0 -3
- package/dist/esm-next/Drawer/styles.module.scss.js +0 -3
- package/dist/esm-next/IconButton/styles.module.scss.js +0 -3
- package/dist/esm-next/Input/styles.module.scss.js +0 -3
- package/dist/esm-next/Menu/styles.module.scss.js +0 -3
- package/dist/esm-next/RadioButton/styles.module.scss.js +0 -3
- package/dist/esm-next/Select/styles.module.scss.js +0 -3
- package/dist/esm-next/TablePagination/styles.module.scss.js +0 -3
- package/dist/esm-next/Textarea/styles.module.scss.js +0 -3
- package/dist/esm-next/Typography/variants.module.scss.js +0 -3
- package/dist/esm-next/index.js +0 -40
- package/dist/esm-next/styles/css-vars.js +0 -126
- package/dist/esm-next/styles/defaultTheme.js +0 -11
- package/dist/esm-next/styles/palette.js +0 -30
- package/dist/esm-next/styles/scss/theme.generated.scss +0 -328
- package/dist/esm-next/styles.css +0 -18
- package/dist/types/src/assets/theme.d.ts +0 -62
- package/dist/types/src/components/AudioSlider/index.d.ts +0 -12
- package/dist/types/src/components/Breadcrumbs/breadcrumbs.theme.d.ts +0 -11
- package/dist/types/src/components/Breadcrumbs/index.d.ts +0 -25
- package/dist/types/src/components/Drawer/index.d.ts +0 -14
- package/dist/types/src/components/ErrorMessage/index.d.ts +0 -8
- package/dist/types/src/components/FileUploader/index.d.ts +0 -37
- package/dist/types/src/components/FormControlLabel/index.d.ts +0 -11
- package/dist/types/src/components/LinearProgress/index.d.ts +0 -32
- package/dist/types/src/components/LinearProgress/linearProgress.theme.d.ts +0 -13
- package/dist/types/src/components/Link/index.d.ts +0 -9
- package/dist/types/src/components/List/index.d.ts +0 -10
- package/dist/types/src/components/ListItem/index.d.ts +0 -10
- package/dist/types/src/components/ListItemButton/index.d.ts +0 -12
- package/dist/types/src/components/ListItemText/index.d.ts +0 -10
- package/dist/types/src/components/Panel/index.d.ts +0 -17
- package/dist/types/src/components/ProgressIndicator/DefaultProgress.d.ts +0 -3
- package/dist/types/src/components/ProgressIndicator/MLProgress.d.ts +0 -6
- package/dist/types/src/components/ProgressIndicator/index.d.ts +0 -20
- package/dist/types/src/components/Select/index.d.ts +0 -41
- package/dist/types/src/components/Select/select.theme.d.ts +0 -52
- package/dist/types/src/components/StatusChip/constants.d.ts +0 -3
- package/dist/types/src/components/StatusChip/index.d.ts +0 -30
- package/dist/types/src/components/StatusChip/statusChip.theme.d.ts +0 -4
- package/dist/types/src/components/Step/index.d.ts +0 -23
- package/dist/types/src/components/StepLabel/index.d.ts +0 -13
- package/dist/types/src/components/Stepper/index.d.ts +0 -22
- package/dist/types/src/components/Stepper/stepper.theme.d.ts +0 -50
- package/dist/types/src/components/Table/AutoTable/common.d.ts +0 -31
- package/dist/types/src/components/Table/AutoTable/controlled.d.ts +0 -15
- package/dist/types/src/components/Table/AutoTable/index.d.ts +0 -47
- package/dist/types/src/components/Table/AutoTable/types.d.ts +0 -106
- package/dist/types/src/components/Table/AutoTable/virtual.d.ts +0 -23
- package/dist/types/src/components/Table/index.d.ts +0 -150
- package/dist/types/src/components/Tabs/index.d.ts +0 -16
- package/dist/types/src/components/Tabs/tabs.theme.d.ts +0 -4
- package/dist/types/src/components/ThemeProvider/index.d.ts +0 -9
- package/dist/types/src/components/UtilityRail/index.d.ts +0 -12
- package/dist/types/src/components/UtilityRail/mock.d.ts +0 -2
- package/dist/types/src/components/ZeroState/index.d.ts +0 -2
- package/dist/types/src/components/_Alert/index.d.ts +0 -18
- package/dist/types/src/components/_Autocomplete/index.d.ts +0 -24
- package/dist/types/src/components/_Button/Indicator.d.ts +0 -2
- package/dist/types/src/components/_Button/button.theme.d.ts +0 -4
- package/dist/types/src/components/_Button/index.d.ts +0 -24
- package/dist/types/src/components/_Checkbox/checkbox.theme.d.ts +0 -18
- package/dist/types/src/components/_Checkbox/index.d.ts +0 -14
- package/dist/types/src/components/_IconButton/index.d.ts +0 -16
- package/dist/types/src/components/_Input/index.d.ts +0 -25
- package/dist/types/src/components/_Input/input.theme.d.ts +0 -3
- package/dist/types/src/components/_MenuFlyout/constants.d.ts +0 -3
- package/dist/types/src/components/_MenuFlyout/index.d.ts +0 -21
- package/dist/types/src/components/_MenuFlyout/menuFlyout.theme.d.ts +0 -36
- package/dist/types/src/components/_Modal/index.d.ts +0 -14
- package/dist/types/src/components/_Modal/modal.theme.d.ts +0 -3
- package/dist/types/src/components/_RadioButton/RadioButton.theme.d.ts +0 -4
- package/dist/types/src/components/_RadioButton/index.d.ts +0 -17
- package/dist/types/src/components/_RadioGroup/index.d.ts +0 -30
- package/dist/types/src/components/_Typography/index.d.ts +0 -12
- package/dist/types/src/components/icons/HomeOutlinedIcon/index.d.ts +0 -5
- package/dist/types/src/components/icons/IconGroups/index.d.ts +0 -5
- package/dist/types/src/components/icons/IconListItem/index.d.ts +0 -7
- package/dist/types/src/index.d.ts +0 -57
- package/dist/types/src-next/styles/palette.d.ts +0 -55
- /package/dist/{esm-next → esm}/Box/index.js +0 -0
- /package/dist/{esm-next → esm}/Dialog/factory.js +0 -0
- /package/dist/{esm-next → esm}/Dialog/state.js +0 -0
- /package/dist/{esm-next → esm}/Drawer/factory.js +0 -0
- /package/dist/{esm-next → esm}/Drawer/state.js +0 -0
- /package/dist/{esm-next → esm}/GlobalStyles/index.js +0 -0
- /package/dist/{esm-next → esm}/Icon/factory.js +0 -0
- /package/dist/{esm-next → esm}/Icon/internal.js +0 -0
- /package/dist/{esm-next → esm}/Icon/styles.module.scss.js +0 -0
- /package/dist/{esm-next → esm}/Menu/factory.js +0 -0
- /package/dist/{esm-next → esm}/Pagination/index.js +0 -0
- /package/dist/{esm-next → esm}/Pagination/styles.module.scss.js +0 -0
- /package/dist/{esm-next → esm}/Select/factory.js +0 -0
- /package/dist/{esm-next → esm}/Select/uncontrolled.js +0 -0
- /package/dist/{esm-next → esm}/TablePagination/index.js +0 -0
- /package/dist/{esm-next → esm}/Toast/content.js +0 -0
- /package/dist/{esm-next → esm}/Toast/hook.js +0 -0
- /package/dist/{esm-next → esm}/Toast/index.js +0 -0
- /package/dist/{esm-next → esm}/popover/utils.js +0 -0
- /package/dist/{esm-next → esm}/styles/createTheme.js +0 -0
- /package/dist/{esm-next → esm}/styles/cx.js +0 -0
- /package/dist/{esm-next → esm}/styles/identifier.js +0 -0
- /package/dist/{esm-next → esm}/styles/provider.client.js +0 -0
- /package/dist/{esm-next → esm}/styles/provider.css-vars.js +0 -0
- /package/dist/{esm-next → esm}/styles/scss/_index.scss +0 -0
- /package/dist/{esm-next → esm}/styles/scss/baseline.scss +0 -0
- /package/dist/{esm-next → esm}/styles/styled.js +0 -0
- /package/dist/{esm-next → esm}/styles/typography.js +0 -0
- /package/dist/{esm-next → esm}/styles/useTheme.js +0 -0
- /package/dist/{esm-next → esm}/utils/capitalize.js +0 -0
- /package/dist/types/{src-next/Alert → Alert}/index.d.ts +0 -0
- /package/dist/types/{src-next/Box → Box}/index.d.ts +0 -0
- /package/dist/types/{src-next/Button → Button}/index.d.ts +0 -0
- /package/dist/types/{src-next/Checkbox → Checkbox}/index.d.ts +0 -0
- /package/dist/types/{src-next/CircularProgress → CircularProgress}/index.d.ts +0 -0
- /package/dist/types/{src-next/Dialog → Dialog}/components.d.ts +0 -0
- /package/dist/types/{src-next/Dialog → Dialog}/factory.d.ts +0 -0
- /package/dist/types/{src-next/Dialog → Dialog}/index.d.ts +0 -0
- /package/dist/types/{src-next/Dialog → Dialog}/state.d.ts +0 -0
- /package/dist/types/{src-next/Drawer → Drawer}/components.d.ts +0 -0
- /package/dist/types/{src-next/Drawer → Drawer}/factory.d.ts +0 -0
- /package/dist/types/{src-next/Drawer → Drawer}/index.d.ts +0 -0
- /package/dist/types/{src-next/Drawer → Drawer}/state.d.ts +0 -0
- /package/dist/types/{src-next/GlobalStyles → GlobalStyles}/index.d.ts +0 -0
- /package/dist/types/{src-next/Icon → Icon}/factory.d.ts +0 -0
- /package/dist/types/{src-next/Icon → Icon}/index.d.ts +0 -0
- /package/dist/types/{src-next/Icon → Icon}/internal.d.ts +0 -0
- /package/dist/types/{src-next/Icon → Icon}/shared.d.ts +0 -0
- /package/dist/types/{src-next/Icon → Icon}/wrappers.d.ts +0 -0
- /package/dist/types/{src-next/IconButton → IconButton}/index.d.ts +0 -0
- /package/dist/types/{src-next/Input → Input}/index.d.ts +0 -0
- /package/dist/types/{src-next/Menu → Menu}/controlled.d.ts +0 -0
- /package/dist/types/{src-next/Menu → Menu}/factory.d.ts +0 -0
- /package/dist/types/{src-next/Menu → Menu}/index.d.ts +0 -0
- /package/dist/types/{src-next/Pagination → Pagination}/index.d.ts +0 -0
- /package/dist/types/{src-next/RadioButton → RadioButton}/index.d.ts +0 -0
- /package/dist/types/{src-next/Select → Select}/controlled.d.ts +0 -0
- /package/dist/types/{src-next/Select → Select}/factory.d.ts +0 -0
- /package/dist/types/{src-next/Select → Select}/index.d.ts +0 -0
- /package/dist/types/{src-next/Select → Select}/types.d.ts +0 -0
- /package/dist/types/{src-next/Select → Select}/uncontrolled.d.ts +0 -0
- /package/dist/types/{src-next/TablePagination → TablePagination}/index.d.ts +0 -0
- /package/dist/types/{src-next/Textarea → Textarea}/index.d.ts +0 -0
- /package/dist/types/{src-next/Toast → Toast}/content.d.ts +0 -0
- /package/dist/types/{src-next/Toast → Toast}/hook.d.ts +0 -0
- /package/dist/types/{src-next/Toast → Toast}/index.d.ts +0 -0
- /package/dist/types/{src-next/Tooltip → Tooltip}/index.d.ts +0 -0
- /package/dist/types/{src-next/Typography → Typography}/index.d.ts +0 -0
- /package/dist/types/{src-next/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/{src-next/popover → popover}/index.d.ts +0 -0
- /package/dist/types/{src-next/popover → popover}/types.d.ts +0 -0
- /package/dist/types/{src-next/popover → popover}/utils.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/baseline.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/createTheme.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/cx.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/identifier.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/provider.client.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/provider.css-vars.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/styled.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/sx.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/typography.d.ts +0 -0
- /package/dist/types/{src-next/styles → styles}/useTheme.d.ts +0 -0
- /package/dist/types/{src-next/utils → utils}/capitalize.d.ts +0 -0
- /package/dist/types/{src-next/utils → utils}/controlled.d.ts +0 -0
- /package/dist/types/{src-next/utils → utils}/index.d.ts +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["sx", "className"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
import { Link as MuiLink } from '@mui/material';
|
|
11
|
-
import * as React from 'react';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
var Link = function Link(_ref) {
|
|
14
|
-
var sx = _ref.sx,
|
|
15
|
-
className = _ref.className,
|
|
16
|
-
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
-
return /*#__PURE__*/_jsx(MuiLink, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
18
|
-
sx: sx,
|
|
19
|
-
className: className
|
|
20
|
-
}));
|
|
21
|
-
};
|
|
22
|
-
export default Link;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { List as MuiList } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var List = function List(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiList, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
sx: props.sx,
|
|
8
|
-
className: props.className,
|
|
9
|
-
children: props.children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export default List;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ListItem as MuiListItem } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var ListItem = function ListItem(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiListItem, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
sx: props.sx,
|
|
8
|
-
className: props.className,
|
|
9
|
-
children: props.children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export default ListItem;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ListItemButton as MuiListItemButton } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var ListItemButton = function ListItemButton(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiListItemButton, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
disabled: props.disabled,
|
|
8
|
-
selected: props.selected,
|
|
9
|
-
sx: props.sx,
|
|
10
|
-
className: props.className,
|
|
11
|
-
children: props.children
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
export default ListItemButton;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ListItemText as MuiListItemText } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var ListItemText = function ListItemText(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiListItemText, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
sx: props.sx,
|
|
8
|
-
className: props.className,
|
|
9
|
-
children: props.children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export default ListItemText;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { Box, Typography, useTheme } from '@mui/material';
|
|
5
|
-
import { Close as CloseIcon } from '@mui/icons-material';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
-
var Panel = function Panel(props) {
|
|
9
|
-
var _useTheme = useTheme(),
|
|
10
|
-
palette = _useTheme.palette;
|
|
11
|
-
return /*#__PURE__*/_jsx(Box, {
|
|
12
|
-
component: "div",
|
|
13
|
-
"data-testid": props['data-testid'] ? "overlay-".concat(props['data-testid']) : 'overlay-panel',
|
|
14
|
-
sx: {
|
|
15
|
-
position: 'fixed',
|
|
16
|
-
top: 0,
|
|
17
|
-
right: 0,
|
|
18
|
-
bottom: 0,
|
|
19
|
-
zIndex: 1,
|
|
20
|
-
display: !props.open ? 'none' : 'flex',
|
|
21
|
-
flexDirection: 'flex-end',
|
|
22
|
-
// right-to-left
|
|
23
|
-
marginTop: '55px'
|
|
24
|
-
},
|
|
25
|
-
className: props.className,
|
|
26
|
-
children: /*#__PURE__*/_jsxs(Box, {
|
|
27
|
-
component: "div",
|
|
28
|
-
"data-testid": props['data-testid'] || 'wrapper-panel',
|
|
29
|
-
sx: {
|
|
30
|
-
background: palette.common.white,
|
|
31
|
-
width: props.size === 'medium' ? '560px' : props.size === 'small' ? '380px' : '720px',
|
|
32
|
-
height: '100%',
|
|
33
|
-
display: 'grid',
|
|
34
|
-
gridTemplateRows: 'min-content 1fr',
|
|
35
|
-
boxShadow: "0 4px 10px ".concat(palette.text.primary, "80"),
|
|
36
|
-
overflow: 'hidden',
|
|
37
|
-
borderBottom: "5px solid ".concat(palette.secondary.main),
|
|
38
|
-
zIndex: 2
|
|
39
|
-
},
|
|
40
|
-
children: [/*#__PURE__*/_jsxs(Box, {
|
|
41
|
-
component: "header",
|
|
42
|
-
"data-testid": "header-panel",
|
|
43
|
-
sx: {
|
|
44
|
-
background: palette.secondary.main,
|
|
45
|
-
height: '64px',
|
|
46
|
-
padding: '0px 25px 0px 30px',
|
|
47
|
-
display: 'flex',
|
|
48
|
-
alignItems: 'center',
|
|
49
|
-
justifyContent: 'space-between',
|
|
50
|
-
zIndex: 1000
|
|
51
|
-
},
|
|
52
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
53
|
-
sx: {
|
|
54
|
-
fontFamily: 'Dosis',
|
|
55
|
-
textTransform: 'uppercase',
|
|
56
|
-
fontWeight: 600,
|
|
57
|
-
fontSize: '18px',
|
|
58
|
-
color: palette.common.white,
|
|
59
|
-
lineHeight: '23px',
|
|
60
|
-
letterSpacing: '0.25px'
|
|
61
|
-
},
|
|
62
|
-
children: props.title
|
|
63
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
64
|
-
component: "button",
|
|
65
|
-
"aria-label": "close-button-panel",
|
|
66
|
-
"data-testid": props['data-testid'] ? "close-button-".concat(props['data-testid']) : 'close-button-wrapper-panel',
|
|
67
|
-
onClick: props.onClose,
|
|
68
|
-
sx: {
|
|
69
|
-
cursor: 'pointer',
|
|
70
|
-
background: 'transparent',
|
|
71
|
-
border: 'none',
|
|
72
|
-
width: '26px',
|
|
73
|
-
height: '26px',
|
|
74
|
-
display: 'flex',
|
|
75
|
-
alignItems: 'center',
|
|
76
|
-
justifyContent: 'center'
|
|
77
|
-
},
|
|
78
|
-
children: /*#__PURE__*/_jsx(CloseIcon, {
|
|
79
|
-
"data-testid": "panel-close-icon",
|
|
80
|
-
sx: {
|
|
81
|
-
fill: palette.common.white,
|
|
82
|
-
margin: 'auto'
|
|
83
|
-
}
|
|
84
|
-
})
|
|
85
|
-
})]
|
|
86
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
87
|
-
component: "div",
|
|
88
|
-
"data-testid": "panel-content",
|
|
89
|
-
sx: {
|
|
90
|
-
overflow: 'auto'
|
|
91
|
-
},
|
|
92
|
-
children: props.children
|
|
93
|
-
})]
|
|
94
|
-
})
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
export default Panel;
|
|
98
|
-
export function PanelContent(props) {
|
|
99
|
-
return /*#__PURE__*/_jsxs(Box, {
|
|
100
|
-
sx: {
|
|
101
|
-
height: '100%',
|
|
102
|
-
display: 'grid',
|
|
103
|
-
gridTemplateRows: '1fr min-content',
|
|
104
|
-
overflowY: 'hidden',
|
|
105
|
-
paddingBottom: '30px'
|
|
106
|
-
},
|
|
107
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
108
|
-
sx: {
|
|
109
|
-
overflowY: 'auto',
|
|
110
|
-
paddingTop: '30px',
|
|
111
|
-
paddingLeft: '30px',
|
|
112
|
-
paddingRight: '30px'
|
|
113
|
-
},
|
|
114
|
-
children: props.content
|
|
115
|
-
}), props.actions && /*#__PURE__*/_jsx(Box, {
|
|
116
|
-
sx: {
|
|
117
|
-
marginTop: '30px',
|
|
118
|
-
paddingLeft: '30px',
|
|
119
|
-
paddingRight: '30px'
|
|
120
|
-
},
|
|
121
|
-
children: props.actions
|
|
122
|
-
})]
|
|
123
|
-
});
|
|
124
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Box, CircularProgress, Typography } from '@mui/material';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
var DefaultProgress = function DefaultProgress(props) {
|
|
5
|
-
return /*#__PURE__*/_jsxs(Box, {
|
|
6
|
-
sx: {
|
|
7
|
-
display: 'flex'
|
|
8
|
-
},
|
|
9
|
-
className: props.className,
|
|
10
|
-
children: [props.itemLoading && /*#__PURE__*/_jsx(Typography, {
|
|
11
|
-
sx: {
|
|
12
|
-
fontSize: '14px',
|
|
13
|
-
mr: '10px'
|
|
14
|
-
},
|
|
15
|
-
children: " Loading ".concat(props.itemLoading)
|
|
16
|
-
}), /*#__PURE__*/_jsx(CircularProgress, {
|
|
17
|
-
"data-testid": props['data-testid'],
|
|
18
|
-
value: props.value,
|
|
19
|
-
variant: props.variant,
|
|
20
|
-
size: 18
|
|
21
|
-
})]
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
export default DefaultProgress;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CircularProgress, Typography, Box } from '@mui/material';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
var MLProgress = function MLProgress(props) {
|
|
5
|
-
return /*#__PURE__*/_jsxs(Box, {
|
|
6
|
-
sx: {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
flexDirection: 'column',
|
|
9
|
-
alignItems: 'center',
|
|
10
|
-
justifyContent: 'center'
|
|
11
|
-
},
|
|
12
|
-
className: props.className,
|
|
13
|
-
children: [/*#__PURE__*/_jsx(CircularProgress, {
|
|
14
|
-
"data-testid": props['data-testid'],
|
|
15
|
-
value: props.value,
|
|
16
|
-
variant: props.variant,
|
|
17
|
-
size: props.type == 'large' ? 50 : 30
|
|
18
|
-
}), props.itemLoading && /*#__PURE__*/_jsx(Typography, {
|
|
19
|
-
sx: {
|
|
20
|
-
fontSize: '14px'
|
|
21
|
-
},
|
|
22
|
-
children: " Loading ".concat(props.itemLoading)
|
|
23
|
-
})]
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
export default MLProgress;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["type"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
import DefaultProgress from './DefaultProgress.js';
|
|
11
|
-
import MLProgress from './MLProgress.js';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
14
|
-
/**
|
|
15
|
-
- Use a progress indicator to show the user that an operation is in progress.
|
|
16
|
-
**/
|
|
17
|
-
|
|
18
|
-
var ProgressIndicator = function ProgressIndicator(_ref) {
|
|
19
|
-
var _ref$type = _ref.type,
|
|
20
|
-
type = _ref$type === void 0 ? 'default' : _ref$type,
|
|
21
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
-
return /*#__PURE__*/_jsx(_Fragment, {
|
|
23
|
-
children: type === 'medium' || type === 'large' ? /*#__PURE__*/_jsx(MLProgress, _objectSpread({
|
|
24
|
-
type: type
|
|
25
|
-
}, props)) : /*#__PURE__*/_jsx(DefaultProgress, _objectSpread({}, props))
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
export default ProgressIndicator;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { Box, FormHelperText, InputLabel, MenuItem, Select as MuiSelect } from '@mui/material';
|
|
2
|
-
import { Lens as Circle } from '@mui/icons-material';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
function Select(props) {
|
|
7
|
-
var _props$fullWidth;
|
|
8
|
-
return /*#__PURE__*/_jsxs(Box, {
|
|
9
|
-
sx: {
|
|
10
|
-
maxHeight: props.helperText ? '77px' : '56px'
|
|
11
|
-
},
|
|
12
|
-
className: props.className,
|
|
13
|
-
children: [props.label && /*#__PURE__*/_jsx(InputLabel, {
|
|
14
|
-
sx: {
|
|
15
|
-
display: 'flex',
|
|
16
|
-
alignItems: 'flex-end',
|
|
17
|
-
lineHeight: '17px',
|
|
18
|
-
marginBottom: '3px'
|
|
19
|
-
},
|
|
20
|
-
children: props.label
|
|
21
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
22
|
-
sx: {
|
|
23
|
-
display: 'flex',
|
|
24
|
-
'& .MuiOutlinedInput-root': {
|
|
25
|
-
'& .MuiSelect-outlined': {
|
|
26
|
-
padding: props.helperText ? '7px 7.5px' : '5px 8px',
|
|
27
|
-
fontSize: props.helperText ? '14px' : '16px',
|
|
28
|
-
lineHeight: props.helperText ? '20px' : '24px'
|
|
29
|
-
},
|
|
30
|
-
'&.Mui-error': {
|
|
31
|
-
'& .MuiSelect-outlined': {
|
|
32
|
-
padding: props.helperText ? '7px 8px' : '5px 13px'
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
children: /*#__PURE__*/_jsxs(MuiSelect, {
|
|
38
|
-
"data-testid": props['data-testid'],
|
|
39
|
-
fullWidth: (_props$fullWidth = props.fullWidth) !== null && _props$fullWidth !== void 0 ? _props$fullWidth : true,
|
|
40
|
-
displayEmpty: true,
|
|
41
|
-
error: props.error !== undefined,
|
|
42
|
-
disabled: props.disabled,
|
|
43
|
-
value: props.value,
|
|
44
|
-
defaultValue: props.defaultValue,
|
|
45
|
-
onChange: props.onChange,
|
|
46
|
-
onClose: props.onClose,
|
|
47
|
-
children: [/*#__PURE__*/_jsx(MenuItem, {
|
|
48
|
-
value: "",
|
|
49
|
-
children: "Select"
|
|
50
|
-
}), props.items.map(function (item, index) {
|
|
51
|
-
var _item$key;
|
|
52
|
-
return /*#__PURE__*/_jsx(MenuItem, {
|
|
53
|
-
value: item.value,
|
|
54
|
-
children: /*#__PURE__*/_jsxs(Box, {
|
|
55
|
-
sx: {
|
|
56
|
-
lineHeight: '20px',
|
|
57
|
-
fontSize: '14px',
|
|
58
|
-
opacity: 0.9
|
|
59
|
-
},
|
|
60
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
61
|
-
sx: {
|
|
62
|
-
fontWeight: 700
|
|
63
|
-
},
|
|
64
|
-
children: item.title
|
|
65
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
66
|
-
children: item.name
|
|
67
|
-
})]
|
|
68
|
-
})
|
|
69
|
-
}, (_item$key = item.key) !== null && _item$key !== void 0 ? _item$key : index);
|
|
70
|
-
})]
|
|
71
|
-
})
|
|
72
|
-
}), props.helperText && /*#__PURE__*/_jsx(FormHelperText, {
|
|
73
|
-
sx: {
|
|
74
|
-
lineHeight: '18px',
|
|
75
|
-
color: function color(theme) {
|
|
76
|
-
return theme.palette.text.disabled;
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
children: props.helperText
|
|
80
|
-
}), props.error && /*#__PURE__*/_jsxs(Box, {
|
|
81
|
-
sx: {
|
|
82
|
-
display: 'flex',
|
|
83
|
-
alignItems: 'center'
|
|
84
|
-
},
|
|
85
|
-
children: [/*#__PURE__*/_jsx(Circle, {
|
|
86
|
-
sx: {
|
|
87
|
-
width: '14px',
|
|
88
|
-
height: '14px',
|
|
89
|
-
margin: '1px 3px 0 -2px',
|
|
90
|
-
color: function color(theme) {
|
|
91
|
-
return theme.palette.error.main;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}), /*#__PURE__*/_jsx(FormHelperText, {
|
|
95
|
-
sx: {
|
|
96
|
-
color: function color(theme) {
|
|
97
|
-
return theme.palette.error.main;
|
|
98
|
-
},
|
|
99
|
-
fontSize: function fontSize(theme) {
|
|
100
|
-
return theme.typography.body1.fontSize;
|
|
101
|
-
},
|
|
102
|
-
lineHeight: '18px'
|
|
103
|
-
},
|
|
104
|
-
children: props.error
|
|
105
|
-
})]
|
|
106
|
-
})]
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
export default Select;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var selectTheme = function selectTheme(theme) {
|
|
2
|
-
return {
|
|
3
|
-
defaultProps: {
|
|
4
|
-
// fullWidth: true,
|
|
5
|
-
displayEmpty: true
|
|
6
|
-
},
|
|
7
|
-
styleOverrides: {
|
|
8
|
-
root: function root() {
|
|
9
|
-
return {
|
|
10
|
-
'&.MuiOutlinedInput-root': {
|
|
11
|
-
'& .MuiSelect-outlined': {
|
|
12
|
-
border: '1px solid ' + theme.palette.text.secondary
|
|
13
|
-
},
|
|
14
|
-
'&.Mui-focused': {
|
|
15
|
-
'& .MuiOutlinedInput-notchedOutline': {
|
|
16
|
-
borderColor: theme.palette.secondary.main
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
'&.Mui-error': {
|
|
20
|
-
'& .MuiSelect-outlined': {
|
|
21
|
-
color: theme.palette.error.main,
|
|
22
|
-
border: '1px solid ' + theme.palette.error.main,
|
|
23
|
-
fontSize: '16px',
|
|
24
|
-
lineHeight: '24px'
|
|
25
|
-
},
|
|
26
|
-
'& .MuiOutlinedInput-notchedOutline': {
|
|
27
|
-
borderColor: theme.palette.error.main
|
|
28
|
-
},
|
|
29
|
-
'& .MuiSelect-iconOutlined': {
|
|
30
|
-
color: theme.palette.text.tertiary
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
'&.Mui-disabled': {
|
|
34
|
-
'& .MuiSelect-iconOutlined': {
|
|
35
|
-
color: theme.palette.text.disabled
|
|
36
|
-
},
|
|
37
|
-
'& .MuiSelect-outlined': {
|
|
38
|
-
background: theme.palette.misc.rowHoverGreyOne,
|
|
39
|
-
borderColor: theme.palette.misc.altBackground,
|
|
40
|
-
color: theme.palette.text.disabled,
|
|
41
|
-
WebkitTextFillColor: theme.palette.text.disabled
|
|
42
|
-
},
|
|
43
|
-
'& .MuiOutlinedInput-notchedOutline': {
|
|
44
|
-
border: 'none'
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
'& .MuiSelect-iconOutlined': {
|
|
48
|
-
color: theme.palette.secondary.main
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
export default selectTheme;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Chip as MuiChip, Box } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
/**
|
|
5
|
-
- Use a StatusChip to display the status of some action to the user.
|
|
6
|
-
- Veritone stock options derive from the required `status` prop and include Complete, Processing, or Error. Their corresponding colors derive from Veritone's Design System guidelines.
|
|
7
|
-
- To override Stock Option labels, but retain corresponding chip color, use the `label` prop.
|
|
8
|
-
- To override Stock Option colors, but retain corresponding label, either use the `color` prop (for MUI stock color options) **OR** use the `coloroverride` prop (for full color customization).
|
|
9
|
-
- To fully customize StatusChip:
|
|
10
|
-
- Set `status` prop to "custom";
|
|
11
|
-
- Pass your custom string to `label` prop;
|
|
12
|
-
- Pass an MUI stock color option to `color` prop **OR** pass a custom color Hex Value to `coloroverride` prop.
|
|
13
|
-
**/
|
|
14
|
-
|
|
15
|
-
var StatusChip = function StatusChip(props) {
|
|
16
|
-
return /*#__PURE__*/_jsx(Box, {
|
|
17
|
-
sx: {
|
|
18
|
-
display: "inline-flex",
|
|
19
|
-
position: "relative"
|
|
20
|
-
},
|
|
21
|
-
className: props.className,
|
|
22
|
-
children: /*#__PURE__*/_jsx(MuiChip, {
|
|
23
|
-
"data-testid": props['data-testid'],
|
|
24
|
-
label: props.label ? props.label : props.status,
|
|
25
|
-
color: props.color,
|
|
26
|
-
clickable: props.clickable,
|
|
27
|
-
disabled: props.disabled,
|
|
28
|
-
onClick: props.onClick
|
|
29
|
-
})
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
export default StatusChip;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
-
import { COMPLETE, PROCESSING, ERROR } from './constants.js';
|
|
8
|
-
var statusChipTheme = function statusChipTheme(theme) {
|
|
9
|
-
return {
|
|
10
|
-
styleOverrides: {
|
|
11
|
-
root: function root(_ref) {
|
|
12
|
-
var ownerState = _ref.ownerState;
|
|
13
|
-
return _objectSpread({
|
|
14
|
-
height: '18px',
|
|
15
|
-
width: '86px',
|
|
16
|
-
fontSize: '9px',
|
|
17
|
-
borderRadius: '2px',
|
|
18
|
-
fontFamily: 'Nunito sans',
|
|
19
|
-
fontStyle: 'normal',
|
|
20
|
-
fontWeight: 800,
|
|
21
|
-
textTransform: 'uppercase',
|
|
22
|
-
color: theme.palette.common.white
|
|
23
|
-
}, ownerState.coloroverride ? {
|
|
24
|
-
backgroundColor: ownerState.coloroverride
|
|
25
|
-
} : _objectSpread(_objectSpread(_objectSpread({}, ownerState.status === COMPLETE && {
|
|
26
|
-
//@ts-ignore
|
|
27
|
-
backgroundColor: theme.palette.success.main
|
|
28
|
-
}), ownerState.status === PROCESSING && {
|
|
29
|
-
//@ts-ignore
|
|
30
|
-
backgroundColor: theme.palette.warning.main
|
|
31
|
-
}), ownerState.status === ERROR && {
|
|
32
|
-
//@ts-ignore
|
|
33
|
-
backgroundColor: theme.palette.error.main
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default statusChipTheme;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Step as MuiStep } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var Step = function Step(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiStep, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
active: props.active,
|
|
8
|
-
completed: props.completed,
|
|
9
|
-
disabled: props.disabled,
|
|
10
|
-
sx: props.sx,
|
|
11
|
-
className: props.className,
|
|
12
|
-
children: props.children
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
export default Step;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StepLabel as MuiStepLabel } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
var StepLabel = function StepLabel(props) {
|
|
5
|
-
return /*#__PURE__*/_jsx(MuiStepLabel, {
|
|
6
|
-
"data-testid": props['data-testid'],
|
|
7
|
-
sx: props.sx,
|
|
8
|
-
className: props.className,
|
|
9
|
-
children: props.children
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export default StepLabel;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Stepper as MuiStepper } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
/**
|
|
5
|
-
The Stepper is used for highlighting where a user is in a progression of steps.
|
|
6
|
-
**/
|
|
7
|
-
|
|
8
|
-
var Stepper = function Stepper(props) {
|
|
9
|
-
return /*#__PURE__*/_jsx(MuiStepper, {
|
|
10
|
-
"data-testid": props['data-testid'],
|
|
11
|
-
activeStep: props.activeStep,
|
|
12
|
-
sx: props.sx,
|
|
13
|
-
className: props.className,
|
|
14
|
-
children: props.children
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
export default Stepper;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var stepperTheme = function stepperTheme(theme) {
|
|
2
|
-
return {
|
|
3
|
-
MuiStepConnector: {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
line: {
|
|
6
|
-
borderColor: "#E0E8F0"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
MuiStep: {
|
|
11
|
-
defaultProps: {
|
|
12
|
-
completed: false
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
MuiStepIcon: {
|
|
16
|
-
styleOverrides: {
|
|
17
|
-
root: {
|
|
18
|
-
borderRadius: "100%",
|
|
19
|
-
height: "35px",
|
|
20
|
-
width: "35px",
|
|
21
|
-
outline: "1px solid ".concat(theme.palette.text.tertiary),
|
|
22
|
-
color: "white",
|
|
23
|
-
text: {
|
|
24
|
-
fill: theme.palette.text.tertiary
|
|
25
|
-
},
|
|
26
|
-
'&.Mui-active': {
|
|
27
|
-
outline: "none",
|
|
28
|
-
color: theme.palette.text.tertiary,
|
|
29
|
-
text: {
|
|
30
|
-
fill: "white"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
MuiStepLabel: {
|
|
37
|
-
styleOverrides: {
|
|
38
|
-
label: {
|
|
39
|
-
fontWeight: "600",
|
|
40
|
-
'&.Mui-active': {
|
|
41
|
-
fontWeight: "600"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
iconContainer: {
|
|
45
|
-
padding: "0 10px 0 0"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export default stepperTheme;
|