@veritone-ce/design-system 1.12.14 → 1.12.16
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/assets/theme.js +314 -261
- package/dist/components/Box/__tests__/Box.test.js +15 -9
- package/dist/components/Box/index.js +16 -17
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.js +34 -29
- package/dist/components/Breadcrumbs/__tests__/Breadcrumbs.test.js +25 -14
- package/dist/components/Breadcrumbs/breadcrumbs.theme.js +16 -9
- package/dist/components/Breadcrumbs/index.js +50 -27
- package/dist/components/Button/Button.stories.js +89 -37
- package/dist/components/Button/Indicator.js +32 -17
- package/dist/components/Button/__tests__/Button.test.js +58 -33
- package/dist/components/Button/button.theme.js +121 -102
- package/dist/components/Button/index.js +44 -34
- package/dist/components/Button/useButtonProps.js +17 -15
- package/dist/components/Checkbox/Checkbox.stories.js +46 -16
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +14 -9
- package/dist/components/Checkbox/checkbox.theme.js +23 -16
- package/dist/components/Checkbox/index.js +22 -17
- package/dist/components/CustomSlider/CustomSlider.stories.js +43 -24
- package/dist/components/CustomSlider/index.js +73 -55
- package/dist/components/Drawer/__tests__/Drawer.test.js +15 -9
- package/dist/components/Drawer/index.js +16 -17
- package/dist/components/FileUploader/FileUploader.stories.js +23 -24
- package/dist/components/FileUploader/__tests__/FileUploader.test.js +210 -220
- package/dist/components/FileUploader/index.js +211 -151
- package/dist/components/FileUploader/useUploadFile.js +69 -81
- package/dist/components/FormControlLabel/__tests__/FormControlLabel.test.js +18 -9
- package/dist/components/FormControlLabel/index.js +16 -17
- package/dist/components/HomeOutlinedIcon/HomeOutlinedIcon.stories.js +19 -20
- package/dist/components/HomeOutlinedIcon/__tests__/HomeOutlinedIcon.test.js +14 -9
- package/dist/components/HomeOutlinedIcon/index.js +16 -17
- package/dist/components/IconGroups/IconGroups.stories.js +19 -20
- package/dist/components/IconGroups/__tests__/IconGroups.test.js +14 -9
- package/dist/components/IconGroups/index.js +17 -17
- package/dist/components/IconListItem/__tests__/IconListItem.test.js +14 -9
- package/dist/components/IconListItem/index.js +19 -17
- package/dist/components/Input/Input.stories.js +111 -51
- package/dist/components/Input/__tests__/Input.test.js +13 -9
- package/dist/components/Input/index.js +22 -19
- package/dist/components/Input/input.theme.js +104 -97
- package/dist/components/LinearProgress/LinearProgress.stories.js +42 -28
- package/dist/components/LinearProgress/__tests__/LinearProgress.test.js +39 -17
- package/dist/components/LinearProgress/index.js +71 -21
- package/dist/components/LinearProgress/linearProgress.theme.js +19 -12
- package/dist/components/Link/__tests__/Link.test.js +14 -9
- package/dist/components/Link/index.js +16 -17
- package/dist/components/List/__tests__/List.test.js +14 -9
- package/dist/components/List/index.js +16 -17
- package/dist/components/ListItem/__tests__/ListItem.test.js +14 -9
- package/dist/components/ListItem/index.js +16 -17
- package/dist/components/ListItemButton/__tests__/ListItemButton.test.js +14 -9
- package/dist/components/ListItemButton/index.js +16 -17
- package/dist/components/ListItemText/__tests__/ListItemText.test.js +14 -9
- package/dist/components/ListItemText/index.js +16 -17
- package/dist/components/MenuFlyout/MenuFlyout.stories.js +54 -32
- package/dist/components/MenuFlyout/__tests__/MenuFlyout.test.js +41 -23
- package/dist/components/MenuFlyout/constants.js +12 -3
- package/dist/components/MenuFlyout/index.js +47 -26
- package/dist/components/MenuFlyout/menuFlyout.theme.js +46 -38
- package/dist/components/Modal/Modal.stories.js +190 -95
- package/dist/components/Modal/__tests__/Modal.test.js +16 -9
- package/dist/components/Modal/index.js +30 -17
- package/dist/components/Modal/modal.theme.js +30 -23
- package/dist/components/ModelGridView/ModelGridView.stories.js +40 -43
- package/dist/components/ModelGridView/__tests__/ModelGridView.test.js +47 -42
- package/dist/components/ModelGridView/index.js +258 -150
- package/dist/components/Panel/Panel.stories.js +61 -44
- package/dist/components/Panel/__tests__/Panel.test.js +73 -43
- package/dist/components/Panel/index.js +116 -78
- package/dist/components/ProgressIndicator/DefaultProgress.js +28 -20
- package/dist/components/ProgressIndicator/MLProgress.js +30 -24
- package/dist/components/ProgressIndicator/ProgressIndicator.stories.js +41 -38
- package/dist/components/ProgressIndicator/__tests__/ProgressIndicator.test.js +31 -17
- package/dist/components/ProgressIndicator/index.js +26 -18
- package/dist/components/RadioButton/RadioButton.stories.js +37 -28
- package/dist/components/RadioButton/RadioButton.theme.js +59 -52
- package/dist/components/RadioButton/__tests__/RadioButton.test.js +13 -9
- package/dist/components/RadioButton/index.js +37 -28
- package/dist/components/RadioGroup/__tests__/RadioGroup.test.js +14 -9
- package/dist/components/RadioGroup/index.js +16 -17
- package/dist/components/Select/Select.stories.js +82 -33
- package/dist/components/Select/__tests__/Select.test.js +39 -18
- package/dist/components/Select/index.js +99 -49
- package/dist/components/Select/select.theme.js +58 -51
- package/dist/components/StatusChip/StatusChip.stories.js +57 -43
- package/dist/components/StatusChip/__tests__/StatusChip.test.js +44 -27
- package/dist/components/StatusChip/constants.js +12 -3
- package/dist/components/StatusChip/index.js +28 -22
- package/dist/components/StatusChip/statusChip.theme.js +41 -22
- package/dist/components/Step/__tests__/Step.test.js +14 -9
- package/dist/components/Step/index.js +16 -17
- package/dist/components/StepLabel/__tests__/StepLabel.test.js +14 -9
- package/dist/components/StepLabel/index.js +16 -17
- package/dist/components/Stepper/Stepper.stories.js +37 -21
- package/dist/components/Stepper/__tests__/Stepper.test.js +14 -9
- package/dist/components/Stepper/index.js +15 -5
- package/dist/components/Stepper/stepper.theme.js +52 -45
- package/dist/components/Tabs/Badge.js +29 -10
- package/dist/components/Tabs/Tabs.stories.js +52 -33
- package/dist/components/Tabs/__tests__/Tabs.test.js +41 -14
- package/dist/components/Tabs/index.js +27 -18
- package/dist/components/Tabs/tabs.theme.js +34 -27
- package/dist/components/ThemeProvider/__tests__/Button.test.js +14 -9
- package/dist/components/ThemeProvider/index.js +19 -6
- package/dist/components/Toast/Toast.stories.js +103 -37
- package/dist/components/Toast/__tests__/Toast.test.js +47 -29
- package/dist/components/Toast/index.js +58 -38
- package/dist/components/Typography/Typography.stories.js +20 -20
- package/dist/components/Typography/__tests__/Typography.test.js +15 -9
- package/dist/components/Typography/index.js +16 -17
- package/dist/components/UtilityRail/UtilityRail.stories.js +22 -21
- package/dist/components/UtilityRail/__tests__/UtilityRail.test.js +17 -10
- package/dist/components/UtilityRail/index.js +75 -53
- package/dist/components/UtilityRail/mock.js +32 -32
- package/dist/index.js +223 -31
- package/dist/react-app-env.d.js +2 -0
- package/dist/reportWebVitals.js +26 -11
- package/dist/setupTests.js +3 -5
- package/dist/utils/tests/helpers.js +31 -20
- package/package.json +9 -4
- package/dist/assets/theme.d.ts +0 -59
- package/dist/components/Box/__tests__/Box.test.d.ts +0 -1
- package/dist/components/Box/index.d.ts +0 -6
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
- package/dist/components/Breadcrumbs/__tests__/Breadcrumbs.test.d.ts +0 -1
- package/dist/components/Breadcrumbs/breadcrumbs.theme.d.ts +0 -11
- package/dist/components/Breadcrumbs/index.d.ts +0 -15
- package/dist/components/Button/Button.stories.d.ts +0 -7
- package/dist/components/Button/Indicator.d.ts +0 -2
- package/dist/components/Button/__tests__/Button.test.d.ts +0 -1
- package/dist/components/Button/button.theme.d.ts +0 -4
- package/dist/components/Button/index.d.ts +0 -10
- package/dist/components/Button/useButtonProps.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +0 -1
- package/dist/components/Checkbox/checkbox.theme.d.ts +0 -18
- package/dist/components/Checkbox/index.d.ts +0 -7
- package/dist/components/CustomSlider/CustomSlider.stories.d.ts +0 -5
- package/dist/components/CustomSlider/index.d.ts +0 -12
- package/dist/components/Drawer/__tests__/Drawer.test.d.ts +0 -1
- package/dist/components/Drawer/index.d.ts +0 -6
- package/dist/components/FileUploader/FileUploader.stories.d.ts +0 -15
- package/dist/components/FileUploader/__tests__/FileUploader.test.d.ts +0 -1
- package/dist/components/FileUploader/index.d.ts +0 -21
- package/dist/components/FileUploader/useUploadFile.d.ts +0 -5
- package/dist/components/FormControlLabel/__tests__/FormControlLabel.test.d.ts +0 -1
- package/dist/components/FormControlLabel/index.d.ts +0 -6
- package/dist/components/HomeOutlinedIcon/HomeOutlinedIcon.stories.d.ts +0 -7
- package/dist/components/HomeOutlinedIcon/__tests__/HomeOutlinedIcon.test.d.ts +0 -1
- package/dist/components/HomeOutlinedIcon/index.d.ts +0 -5
- package/dist/components/IconGroups/IconGroups.stories.d.ts +0 -7
- package/dist/components/IconGroups/__tests__/IconGroups.test.d.ts +0 -1
- package/dist/components/IconGroups/index.d.ts +0 -5
- package/dist/components/IconListItem/__tests__/IconListItem.test.d.ts +0 -1
- package/dist/components/IconListItem/index.d.ts +0 -7
- package/dist/components/Input/Input.stories.d.ts +0 -11
- package/dist/components/Input/__tests__/Input.test.d.ts +0 -1
- package/dist/components/Input/index.d.ts +0 -6
- package/dist/components/Input/input.theme.d.ts +0 -3
- package/dist/components/LinearProgress/LinearProgress.stories.d.ts +0 -14
- package/dist/components/LinearProgress/__tests__/LinearProgress.test.d.ts +0 -1
- package/dist/components/LinearProgress/index.d.ts +0 -27
- package/dist/components/LinearProgress/linearProgress.theme.d.ts +0 -14
- package/dist/components/Link/__tests__/Link.test.d.ts +0 -1
- package/dist/components/Link/index.d.ts +0 -6
- package/dist/components/List/__tests__/List.test.d.ts +0 -1
- package/dist/components/List/index.d.ts +0 -6
- package/dist/components/ListItem/__tests__/ListItem.test.d.ts +0 -1
- package/dist/components/ListItem/index.d.ts +0 -6
- package/dist/components/ListItemButton/__tests__/ListItemButton.test.d.ts +0 -1
- package/dist/components/ListItemButton/index.d.ts +0 -6
- package/dist/components/ListItemText/__tests__/ListItemText.test.d.ts +0 -1
- package/dist/components/ListItemText/index.d.ts +0 -6
- package/dist/components/MenuFlyout/MenuFlyout.stories.d.ts +0 -31
- package/dist/components/MenuFlyout/__tests__/MenuFlyout.test.d.ts +0 -1
- package/dist/components/MenuFlyout/constants.d.ts +0 -3
- package/dist/components/MenuFlyout/index.d.ts +0 -15
- package/dist/components/MenuFlyout/menuFlyout.theme.d.ts +0 -41
- package/dist/components/Modal/Modal.stories.d.ts +0 -15
- package/dist/components/Modal/__tests__/Modal.test.d.ts +0 -1
- package/dist/components/Modal/index.d.ts +0 -11
- package/dist/components/Modal/modal.theme.d.ts +0 -3
- package/dist/components/ModelGridView/ModelGridView.stories.d.ts +0 -5
- package/dist/components/ModelGridView/__tests__/ModelGridView.test.d.ts +0 -1
- package/dist/components/ModelGridView/index.d.ts +0 -13
- package/dist/components/Panel/Panel.stories.d.ts +0 -14
- package/dist/components/Panel/__tests__/Panel.test.d.ts +0 -1
- package/dist/components/Panel/index.d.ts +0 -11
- package/dist/components/ProgressIndicator/DefaultProgress.d.ts +0 -3
- package/dist/components/ProgressIndicator/MLProgress.d.ts +0 -3
- package/dist/components/ProgressIndicator/ProgressIndicator.stories.d.ts +0 -7
- package/dist/components/ProgressIndicator/__tests__/ProgressIndicator.test.d.ts +0 -1
- package/dist/components/ProgressIndicator/index.d.ts +0 -11
- package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -10
- package/dist/components/RadioButton/RadioButton.theme.d.ts +0 -4
- package/dist/components/RadioButton/__tests__/RadioButton.test.d.ts +0 -1
- package/dist/components/RadioButton/index.d.ts +0 -7
- package/dist/components/RadioGroup/__tests__/RadioGroup.test.d.ts +0 -1
- package/dist/components/RadioGroup/index.d.ts +0 -6
- package/dist/components/Select/Select.stories.d.ts +0 -5
- package/dist/components/Select/__tests__/Select.test.d.ts +0 -1
- package/dist/components/Select/index.d.ts +0 -15
- package/dist/components/Select/select.theme.d.ts +0 -53
- package/dist/components/StatusChip/StatusChip.stories.d.ts +0 -51
- package/dist/components/StatusChip/__tests__/StatusChip.test.d.ts +0 -1
- package/dist/components/StatusChip/constants.d.ts +0 -3
- package/dist/components/StatusChip/index.d.ts +0 -28
- package/dist/components/StatusChip/statusChip.theme.d.ts +0 -4
- package/dist/components/Step/__tests__/Step.test.d.ts +0 -1
- package/dist/components/Step/index.d.ts +0 -6
- package/dist/components/StepLabel/__tests__/StepLabel.test.d.ts +0 -1
- package/dist/components/StepLabel/index.d.ts +0 -6
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -21
- package/dist/components/Stepper/__tests__/Stepper.test.d.ts +0 -1
- package/dist/components/Stepper/index.d.ts +0 -13
- package/dist/components/Stepper/stepper.theme.d.ts +0 -50
- package/dist/components/Tabs/Badge.d.ts +0 -7
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -6
- package/dist/components/Tabs/__tests__/Tabs.test.d.ts +0 -1
- package/dist/components/Tabs/index.d.ts +0 -14
- package/dist/components/Tabs/tabs.theme.d.ts +0 -4
- package/dist/components/ThemeProvider/__tests__/Button.test.d.ts +0 -1
- package/dist/components/ThemeProvider/index.d.ts +0 -3
- package/dist/components/Toast/Toast.stories.d.ts +0 -14
- package/dist/components/Toast/__tests__/Toast.test.d.ts +0 -1
- package/dist/components/Toast/index.d.ts +0 -23
- package/dist/components/Typography/Typography.stories.d.ts +0 -20
- package/dist/components/Typography/__tests__/Typography.test.d.ts +0 -1
- package/dist/components/Typography/index.d.ts +0 -6
- package/dist/components/UtilityRail/UtilityRail.stories.d.ts +0 -8
- package/dist/components/UtilityRail/__tests__/UtilityRail.test.d.ts +0 -1
- package/dist/components/UtilityRail/index.d.ts +0 -11
- package/dist/components/UtilityRail/mock.d.ts +0 -2
- package/dist/index.d.ts +0 -31
- package/dist/reportWebVitals.d.ts +0 -3
- package/dist/setupTests.d.ts +0 -1
- package/dist/utils/tests/helpers.d.ts +0 -6
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CheckboxProps as MuiCheckboxProps } from '@mui/material';
|
|
2
|
-
export type CheckboxProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
label?: string | undefined;
|
|
5
|
-
} & MuiCheckboxProps;
|
|
6
|
-
declare const Checkbox: ({ label, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Checkbox;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SliderProps as MuiSliderProps } from '@mui/material/Slider';
|
|
2
|
-
export type CustomSliderProps = {
|
|
3
|
-
value: number;
|
|
4
|
-
onChange: (event: Event, value: number) => void;
|
|
5
|
-
label?: string;
|
|
6
|
-
max?: number;
|
|
7
|
-
isAvailable?: boolean;
|
|
8
|
-
step?: number;
|
|
9
|
-
typeData?: string;
|
|
10
|
-
} & MuiSliderProps;
|
|
11
|
-
declare const AudioSlider: ({ value, onChange, max, isAvailable, step, label, typeData, ...props }: CustomSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default AudioSlider;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import FileUploader from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ uploadUrl, files, accept, multiple, onSuccess, onError, extensions, ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
accept?: import("react-dropzone").Accept | undefined;
|
|
6
|
-
multiple?: boolean | undefined;
|
|
7
|
-
chunking?: boolean | undefined;
|
|
8
|
-
uploadUrl?: string | undefined;
|
|
9
|
-
extensions?: string[] | undefined;
|
|
10
|
-
files?: ((v: File[]) => void) | undefined;
|
|
11
|
-
onError?: ((v: Error) => void) | undefined;
|
|
12
|
-
onSuccess?: ((v: boolean) => void) | undefined;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
14
|
-
export default _default;
|
|
15
|
-
export declare const Default: ComponentStory<typeof FileUploader> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Accept } from 'react-dropzone';
|
|
2
|
-
export interface FileData {
|
|
3
|
-
file: File | any;
|
|
4
|
-
uploadProgress: number;
|
|
5
|
-
isUploaded: boolean;
|
|
6
|
-
withError: boolean;
|
|
7
|
-
feedbackText: string;
|
|
8
|
-
}
|
|
9
|
-
type FileUploaderProps = {
|
|
10
|
-
'data-testid'?: string;
|
|
11
|
-
accept?: Accept;
|
|
12
|
-
multiple?: boolean;
|
|
13
|
-
chunking?: boolean;
|
|
14
|
-
uploadUrl?: string;
|
|
15
|
-
extensions?: string[];
|
|
16
|
-
files?: (v: File[]) => void;
|
|
17
|
-
onError?: (v: Error) => void;
|
|
18
|
-
onSuccess?: (v: boolean) => void;
|
|
19
|
-
};
|
|
20
|
-
declare const FileUploader: ({ uploadUrl, files, accept, multiple, onSuccess, onError, extensions, ...props }: FileUploaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default FileUploader;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FileData } from '.';
|
|
2
|
-
export declare const useUploadFile: (setfileList: (v: FileData[]) => void, uploadUrl?: string, onSuccess?: ((v: boolean) => void) | undefined, onError?: ((v: Error) => void) | undefined) => {
|
|
3
|
-
onDrop: <T extends File>(acceptedFiles: T[]) => Promise<void>;
|
|
4
|
-
};
|
|
5
|
-
export declare const uploadFile: (uploadUrl: string, file: File, setProgress: (v: number) => void, method?: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FormControlLabelProps as MuiFormControlLabelProps } from '@mui/material';
|
|
2
|
-
type FormControlLabelProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
} & MuiFormControlLabelProps;
|
|
5
|
-
declare const FormControlLabel: ({ ...props }: FormControlLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default FormControlLabel;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import HomeOutlinedIcon from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: ComponentStory<typeof HomeOutlinedIcon> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import IconGroups from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: ComponentStory<typeof IconGroups> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type ListItemIconProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
declare const IconListItem: ({ children, ...props }: ListItemIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default IconListItem;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import Input from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ ...TextFieldProps }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
} & import("@mui/material").TextFieldProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: ComponentStory<typeof Input> | Story;
|
|
8
|
-
export declare const Disabled: ComponentStory<typeof Input> | Story;
|
|
9
|
-
export declare const Error: ComponentStory<typeof Input> | Story;
|
|
10
|
-
export declare const Search: ComponentStory<typeof Input> | Story;
|
|
11
|
-
export declare const MultiLine: ComponentStory<typeof Input> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import LinearProgress from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ value, itemLoading, isError, feedbackText, isUploaded, ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
value: number;
|
|
6
|
-
itemLoading: string;
|
|
7
|
-
isError?: boolean | undefined;
|
|
8
|
-
feedbackText?: string | undefined;
|
|
9
|
-
isUploaded: boolean;
|
|
10
|
-
} & import("@mui/material").LinearProgressProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Default: ComponentStory<typeof LinearProgress> | Story;
|
|
13
|
-
export declare const FullProgress: ComponentStory<typeof LinearProgress> | Story;
|
|
14
|
-
export declare const ProgressError: ComponentStory<typeof LinearProgress> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { LinearProgressProps as MuiLinearProgressProps } from '@mui/material';
|
|
2
|
-
type LinearProgressProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
value: number;
|
|
5
|
-
/**
|
|
6
|
-
- The value of the progress indicator for the determinate and buffer variants. Value between 0 and 100.
|
|
7
|
-
**/
|
|
8
|
-
itemLoading: string;
|
|
9
|
-
/**
|
|
10
|
-
- The name of the item or file loading
|
|
11
|
-
**/
|
|
12
|
-
isError?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
- Optional prop that can be passed to show error state in bar
|
|
15
|
-
**/
|
|
16
|
-
feedbackText?: string;
|
|
17
|
-
/**
|
|
18
|
-
- Optional prop that can be passed to show error message
|
|
19
|
-
**/
|
|
20
|
-
isUploaded: boolean;
|
|
21
|
-
} & MuiLinearProgressProps;
|
|
22
|
-
/**
|
|
23
|
-
- Use a Linear Progress Bar to show the user that an operation is in progress.
|
|
24
|
-
This is currently being used in conjuction with the uploader tool
|
|
25
|
-
**/
|
|
26
|
-
declare const LinearProgress: ({ value, itemLoading, isError, feedbackText, isUploaded, ...props }: LinearProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export default LinearProgress;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Theme } from '../../assets/theme';
|
|
2
|
-
declare const linearProgress: (theme: Theme) => {
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
root: () => {
|
|
5
|
-
borderRadius: string;
|
|
6
|
-
backgroundColor: string;
|
|
7
|
-
'& .MuiLinearProgress-bar': {
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
borderRadius: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default linearProgress;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ListItemButtonProps as MuiListItemButtonProps } from '@mui/material';
|
|
2
|
-
type ListItemButtonProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
} & MuiListItemButtonProps;
|
|
5
|
-
declare const ListItemButton: ({ ...props }: ListItemButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default ListItemButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ListItemTextProps as MuiListItemTextProps } from '@mui/material';
|
|
2
|
-
type ListItemTextProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
} & MuiListItemTextProps;
|
|
5
|
-
declare const ListItemText: ({ ...props }: ListItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default ListItemText;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<({ menuOptions, open, ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
menuOptions: {
|
|
6
|
-
label: string;
|
|
7
|
-
icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
8
|
-
}[];
|
|
9
|
-
} & import("@mui/material").MenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: ComponentStory<({ menuOptions, open, ...props }: {
|
|
12
|
-
'data-testid'?: string | undefined;
|
|
13
|
-
menuOptions: {
|
|
14
|
-
label: string;
|
|
15
|
-
icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
16
|
-
}[];
|
|
17
|
-
} & import("@mui/material").MenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
|
-
export declare const WithIcons: ComponentStory<({ menuOptions, open, ...props }: {
|
|
19
|
-
'data-testid'?: string | undefined;
|
|
20
|
-
menuOptions: {
|
|
21
|
-
label: string;
|
|
22
|
-
icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
23
|
-
}[];
|
|
24
|
-
} & import("@mui/material").MenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
-
export declare const WithoutIcons: ComponentStory<({ menuOptions, open, ...props }: {
|
|
26
|
-
'data-testid'?: string | undefined;
|
|
27
|
-
menuOptions: {
|
|
28
|
-
label: string;
|
|
29
|
-
icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
30
|
-
}[];
|
|
31
|
-
} & import("@mui/material").MenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MenuProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type MenuOption = {
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: React.ReactElement;
|
|
6
|
-
};
|
|
7
|
-
type MenuFlyoutProps = {
|
|
8
|
-
'data-testid'?: string;
|
|
9
|
-
/**
|
|
10
|
-
An array of objects of type `MenuOption[]`. Each object in this array **requires** a label property of type `string` and an **optional** icon property of type `React.ReactElement`. Each object represents a list item on the menu flyout component.
|
|
11
|
-
**/
|
|
12
|
-
menuOptions: MenuOption[];
|
|
13
|
-
} & MenuProps;
|
|
14
|
-
declare const MenuFlyout: ({ menuOptions, open, ...props }: MenuFlyoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default MenuFlyout;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Theme } from '../../assets/theme';
|
|
2
|
-
export declare const menuFlyoutTheme: (theme: Theme) => {
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
root: () => {
|
|
5
|
-
height: string;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
fontFamily: string;
|
|
9
|
-
fontStyle: string;
|
|
10
|
-
fontWeight: number;
|
|
11
|
-
textTransform: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
':hover, :focus': {
|
|
14
|
-
backgroundColor: string;
|
|
15
|
-
};
|
|
16
|
-
'& .MuiList-root, &.MuiMenu-list': {
|
|
17
|
-
minWidth: number;
|
|
18
|
-
maxWidth: number;
|
|
19
|
-
padding: number;
|
|
20
|
-
};
|
|
21
|
-
'& .MuiPaper-root': {
|
|
22
|
-
background: string;
|
|
23
|
-
border: string;
|
|
24
|
-
borderRadius: string;
|
|
25
|
-
padding: string;
|
|
26
|
-
gap: string;
|
|
27
|
-
boxShadow: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export declare const menuItemTheme: (theme: Theme) => {
|
|
33
|
-
styleOverrides: {
|
|
34
|
-
root: () => {
|
|
35
|
-
whiteSpace: string;
|
|
36
|
-
minWidth: number;
|
|
37
|
-
maxWidth: number;
|
|
38
|
-
padding: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
3
|
-
import Modal from '.';
|
|
4
|
-
declare const _default: ComponentMeta<({ handleClose, isOpen, title, children, ...props }: {
|
|
5
|
-
'data-testid'?: string | undefined;
|
|
6
|
-
handleClose?: (() => void) | undefined;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
title?: string | undefined;
|
|
9
|
-
height?: string | undefined;
|
|
10
|
-
children?: import("react").ReactNode;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Primary: ComponentStory<typeof Modal> | Story;
|
|
14
|
-
export declare const Destructive: ComponentStory<typeof Modal> | Story;
|
|
15
|
-
export declare const Disabled: ComponentStory<typeof Modal> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ModalProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
handleClose?: () => void;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
height?: string;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
};
|
|
10
|
-
declare const Modal: ({ handleClose, isOpen, title, children, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Modal;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import ModelGridView from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ rows }: import(".").ModelGridViewProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof ModelGridView> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface ModelGridViewData {
|
|
2
|
-
modelName: string;
|
|
3
|
-
lastModified: string;
|
|
4
|
-
consentForm: string;
|
|
5
|
-
versions: number;
|
|
6
|
-
deployed: number;
|
|
7
|
-
}
|
|
8
|
-
export type ModelGridViewProps = {
|
|
9
|
-
'data-testid'?: string;
|
|
10
|
-
rows: ModelGridViewData[];
|
|
11
|
-
};
|
|
12
|
-
declare const ModelGridView: ({ rows }: ModelGridViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default ModelGridView;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<({ title, isOpen, children, size, handleClose, ...props }: {
|
|
4
|
-
title: string;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
size?: "big" | "small" | "medium" | undefined;
|
|
7
|
-
children?: import("react").ReactNode;
|
|
8
|
-
handleClose?: (() => void) | undefined;
|
|
9
|
-
'data-testid'?: string | undefined;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Big: Story;
|
|
13
|
-
export declare const Medium: Story;
|
|
14
|
-
export declare const Small: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type PanelProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
size?: 'big' | 'medium' | 'small';
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
handleClose?: () => void;
|
|
8
|
-
'data-testid'?: string;
|
|
9
|
-
};
|
|
10
|
-
declare const Panel: ({ title, isOpen, children, size, handleClose, ...props }: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Panel;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import ProgressIndicator, { ProgressIndicatorProps } from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ type, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: ComponentStory<typeof ProgressIndicator> | Story;
|
|
6
|
-
export declare const Medium: Story<import("@storybook/react").Args> | ComponentStory<({ type, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
-
export declare const Large: Story<import("@storybook/react").Args> | ComponentStory<({ type, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CircularProgressProps } from '@mui/material';
|
|
2
|
-
export type ProgressIndicatorProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
itemLoading?: string;
|
|
5
|
-
type?: string;
|
|
6
|
-
} & CircularProgressProps;
|
|
7
|
-
/**
|
|
8
|
-
- Use a progress indicator to show the user that an operation is in progress.
|
|
9
|
-
**/
|
|
10
|
-
declare const ProgressIndicator: ({ type, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default ProgressIndicator;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import RadioButton from '.';
|
|
3
|
-
declare const _default: ComponentMeta<({ label, ...props }: {
|
|
4
|
-
'data-testid'?: string | undefined;
|
|
5
|
-
label?: string | undefined;
|
|
6
|
-
} & import("@mui/material").RadioProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: ComponentStory<typeof RadioButton> | Story;
|
|
9
|
-
export declare const Checked: ComponentStory<typeof RadioButton> | Story;
|
|
10
|
-
export declare const Disabled: ComponentStory<typeof RadioButton> | Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RadioProps } from '@mui/material';
|
|
2
|
-
type RadioButtonProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
} & RadioProps;
|
|
6
|
-
declare const RadioButton: ({ label, ...props }: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default RadioButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RadioGroupProps as MuiRadioGroupProps } from '@mui/material';
|
|
2
|
-
type RadioGroupProps = {
|
|
3
|
-
'data-testid'?: string;
|
|
4
|
-
} & MuiRadioGroupProps;
|
|
5
|
-
declare const RadioGroup: ({ ...props }: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default RadioGroup;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const _default: ComponentMeta<({ label, items, helperText, errorMessage, ...props }: import(".").SelectProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: ComponentStory<({ label, items, helperText, errorMessage, ...props }: import(".").SelectProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
-
export declare const MultiLine: ComponentStory<({ label, items, helperText, errorMessage, ...props }: import(".").SelectProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SelectProps as MuiSelectProps } from '@mui/material';
|
|
2
|
-
type ItemData = {
|
|
3
|
-
title?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
value: string | number;
|
|
6
|
-
};
|
|
7
|
-
export type SelectProps = {
|
|
8
|
-
'data-testid'?: string;
|
|
9
|
-
label: string;
|
|
10
|
-
items: ItemData[];
|
|
11
|
-
helperText?: string;
|
|
12
|
-
errorMessage?: string;
|
|
13
|
-
} & MuiSelectProps;
|
|
14
|
-
declare const Select: ({ label, items, helperText, errorMessage, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default Select;
|