@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.
Files changed (236) hide show
  1. package/dist/assets/theme.js +314 -261
  2. package/dist/components/Box/__tests__/Box.test.js +15 -9
  3. package/dist/components/Box/index.js +16 -17
  4. package/dist/components/Breadcrumbs/Breadcrumbs.stories.js +34 -29
  5. package/dist/components/Breadcrumbs/__tests__/Breadcrumbs.test.js +25 -14
  6. package/dist/components/Breadcrumbs/breadcrumbs.theme.js +16 -9
  7. package/dist/components/Breadcrumbs/index.js +50 -27
  8. package/dist/components/Button/Button.stories.js +89 -37
  9. package/dist/components/Button/Indicator.js +32 -17
  10. package/dist/components/Button/__tests__/Button.test.js +58 -33
  11. package/dist/components/Button/button.theme.js +121 -102
  12. package/dist/components/Button/index.js +44 -34
  13. package/dist/components/Button/useButtonProps.js +17 -15
  14. package/dist/components/Checkbox/Checkbox.stories.js +46 -16
  15. package/dist/components/Checkbox/__tests__/Checkbox.test.js +14 -9
  16. package/dist/components/Checkbox/checkbox.theme.js +23 -16
  17. package/dist/components/Checkbox/index.js +22 -17
  18. package/dist/components/CustomSlider/CustomSlider.stories.js +43 -24
  19. package/dist/components/CustomSlider/index.js +73 -55
  20. package/dist/components/Drawer/__tests__/Drawer.test.js +15 -9
  21. package/dist/components/Drawer/index.js +16 -17
  22. package/dist/components/FileUploader/FileUploader.stories.js +23 -24
  23. package/dist/components/FileUploader/__tests__/FileUploader.test.js +210 -220
  24. package/dist/components/FileUploader/index.js +211 -151
  25. package/dist/components/FileUploader/useUploadFile.js +69 -81
  26. package/dist/components/FormControlLabel/__tests__/FormControlLabel.test.js +18 -9
  27. package/dist/components/FormControlLabel/index.js +16 -17
  28. package/dist/components/HomeOutlinedIcon/HomeOutlinedIcon.stories.js +19 -20
  29. package/dist/components/HomeOutlinedIcon/__tests__/HomeOutlinedIcon.test.js +14 -9
  30. package/dist/components/HomeOutlinedIcon/index.js +16 -17
  31. package/dist/components/IconGroups/IconGroups.stories.js +19 -20
  32. package/dist/components/IconGroups/__tests__/IconGroups.test.js +14 -9
  33. package/dist/components/IconGroups/index.js +17 -17
  34. package/dist/components/IconListItem/__tests__/IconListItem.test.js +14 -9
  35. package/dist/components/IconListItem/index.js +19 -17
  36. package/dist/components/Input/Input.stories.js +111 -51
  37. package/dist/components/Input/__tests__/Input.test.js +13 -9
  38. package/dist/components/Input/index.js +22 -19
  39. package/dist/components/Input/input.theme.js +104 -97
  40. package/dist/components/LinearProgress/LinearProgress.stories.js +42 -28
  41. package/dist/components/LinearProgress/__tests__/LinearProgress.test.js +39 -17
  42. package/dist/components/LinearProgress/index.js +71 -21
  43. package/dist/components/LinearProgress/linearProgress.theme.js +19 -12
  44. package/dist/components/Link/__tests__/Link.test.js +14 -9
  45. package/dist/components/Link/index.js +16 -17
  46. package/dist/components/List/__tests__/List.test.js +14 -9
  47. package/dist/components/List/index.js +16 -17
  48. package/dist/components/ListItem/__tests__/ListItem.test.js +14 -9
  49. package/dist/components/ListItem/index.js +16 -17
  50. package/dist/components/ListItemButton/__tests__/ListItemButton.test.js +14 -9
  51. package/dist/components/ListItemButton/index.js +16 -17
  52. package/dist/components/ListItemText/__tests__/ListItemText.test.js +14 -9
  53. package/dist/components/ListItemText/index.js +16 -17
  54. package/dist/components/MenuFlyout/MenuFlyout.stories.js +54 -32
  55. package/dist/components/MenuFlyout/__tests__/MenuFlyout.test.js +41 -23
  56. package/dist/components/MenuFlyout/constants.js +12 -3
  57. package/dist/components/MenuFlyout/index.js +47 -26
  58. package/dist/components/MenuFlyout/menuFlyout.theme.js +46 -38
  59. package/dist/components/Modal/Modal.stories.js +190 -95
  60. package/dist/components/Modal/__tests__/Modal.test.js +16 -9
  61. package/dist/components/Modal/index.js +30 -17
  62. package/dist/components/Modal/modal.theme.js +30 -23
  63. package/dist/components/ModelGridView/ModelGridView.stories.js +40 -43
  64. package/dist/components/ModelGridView/__tests__/ModelGridView.test.js +47 -42
  65. package/dist/components/ModelGridView/index.js +258 -150
  66. package/dist/components/Panel/Panel.stories.js +61 -44
  67. package/dist/components/Panel/__tests__/Panel.test.js +73 -43
  68. package/dist/components/Panel/index.js +116 -78
  69. package/dist/components/ProgressIndicator/DefaultProgress.js +28 -20
  70. package/dist/components/ProgressIndicator/MLProgress.js +30 -24
  71. package/dist/components/ProgressIndicator/ProgressIndicator.stories.js +41 -38
  72. package/dist/components/ProgressIndicator/__tests__/ProgressIndicator.test.js +31 -17
  73. package/dist/components/ProgressIndicator/index.js +26 -18
  74. package/dist/components/RadioButton/RadioButton.stories.js +37 -28
  75. package/dist/components/RadioButton/RadioButton.theme.js +59 -52
  76. package/dist/components/RadioButton/__tests__/RadioButton.test.js +13 -9
  77. package/dist/components/RadioButton/index.js +37 -28
  78. package/dist/components/RadioGroup/__tests__/RadioGroup.test.js +14 -9
  79. package/dist/components/RadioGroup/index.js +16 -17
  80. package/dist/components/Select/Select.stories.js +82 -33
  81. package/dist/components/Select/__tests__/Select.test.js +39 -18
  82. package/dist/components/Select/index.js +99 -49
  83. package/dist/components/Select/select.theme.js +58 -51
  84. package/dist/components/StatusChip/StatusChip.stories.js +57 -43
  85. package/dist/components/StatusChip/__tests__/StatusChip.test.js +44 -27
  86. package/dist/components/StatusChip/constants.js +12 -3
  87. package/dist/components/StatusChip/index.js +28 -22
  88. package/dist/components/StatusChip/statusChip.theme.js +41 -22
  89. package/dist/components/Step/__tests__/Step.test.js +14 -9
  90. package/dist/components/Step/index.js +16 -17
  91. package/dist/components/StepLabel/__tests__/StepLabel.test.js +14 -9
  92. package/dist/components/StepLabel/index.js +16 -17
  93. package/dist/components/Stepper/Stepper.stories.js +37 -21
  94. package/dist/components/Stepper/__tests__/Stepper.test.js +14 -9
  95. package/dist/components/Stepper/index.js +15 -5
  96. package/dist/components/Stepper/stepper.theme.js +52 -45
  97. package/dist/components/Tabs/Badge.js +29 -10
  98. package/dist/components/Tabs/Tabs.stories.js +52 -33
  99. package/dist/components/Tabs/__tests__/Tabs.test.js +41 -14
  100. package/dist/components/Tabs/index.js +27 -18
  101. package/dist/components/Tabs/tabs.theme.js +34 -27
  102. package/dist/components/ThemeProvider/__tests__/Button.test.js +14 -9
  103. package/dist/components/ThemeProvider/index.js +19 -6
  104. package/dist/components/Toast/Toast.stories.js +103 -37
  105. package/dist/components/Toast/__tests__/Toast.test.js +47 -29
  106. package/dist/components/Toast/index.js +58 -38
  107. package/dist/components/Typography/Typography.stories.js +20 -20
  108. package/dist/components/Typography/__tests__/Typography.test.js +15 -9
  109. package/dist/components/Typography/index.js +16 -17
  110. package/dist/components/UtilityRail/UtilityRail.stories.js +22 -21
  111. package/dist/components/UtilityRail/__tests__/UtilityRail.test.js +17 -10
  112. package/dist/components/UtilityRail/index.js +75 -53
  113. package/dist/components/UtilityRail/mock.js +32 -32
  114. package/dist/index.js +223 -31
  115. package/dist/react-app-env.d.js +2 -0
  116. package/dist/reportWebVitals.js +26 -11
  117. package/dist/setupTests.js +3 -5
  118. package/dist/utils/tests/helpers.js +31 -20
  119. package/package.json +9 -4
  120. package/dist/assets/theme.d.ts +0 -59
  121. package/dist/components/Box/__tests__/Box.test.d.ts +0 -1
  122. package/dist/components/Box/index.d.ts +0 -6
  123. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
  124. package/dist/components/Breadcrumbs/__tests__/Breadcrumbs.test.d.ts +0 -1
  125. package/dist/components/Breadcrumbs/breadcrumbs.theme.d.ts +0 -11
  126. package/dist/components/Breadcrumbs/index.d.ts +0 -15
  127. package/dist/components/Button/Button.stories.d.ts +0 -7
  128. package/dist/components/Button/Indicator.d.ts +0 -2
  129. package/dist/components/Button/__tests__/Button.test.d.ts +0 -1
  130. package/dist/components/Button/button.theme.d.ts +0 -4
  131. package/dist/components/Button/index.d.ts +0 -10
  132. package/dist/components/Button/useButtonProps.d.ts +0 -3
  133. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -5
  134. package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +0 -1
  135. package/dist/components/Checkbox/checkbox.theme.d.ts +0 -18
  136. package/dist/components/Checkbox/index.d.ts +0 -7
  137. package/dist/components/CustomSlider/CustomSlider.stories.d.ts +0 -5
  138. package/dist/components/CustomSlider/index.d.ts +0 -12
  139. package/dist/components/Drawer/__tests__/Drawer.test.d.ts +0 -1
  140. package/dist/components/Drawer/index.d.ts +0 -6
  141. package/dist/components/FileUploader/FileUploader.stories.d.ts +0 -15
  142. package/dist/components/FileUploader/__tests__/FileUploader.test.d.ts +0 -1
  143. package/dist/components/FileUploader/index.d.ts +0 -21
  144. package/dist/components/FileUploader/useUploadFile.d.ts +0 -5
  145. package/dist/components/FormControlLabel/__tests__/FormControlLabel.test.d.ts +0 -1
  146. package/dist/components/FormControlLabel/index.d.ts +0 -6
  147. package/dist/components/HomeOutlinedIcon/HomeOutlinedIcon.stories.d.ts +0 -7
  148. package/dist/components/HomeOutlinedIcon/__tests__/HomeOutlinedIcon.test.d.ts +0 -1
  149. package/dist/components/HomeOutlinedIcon/index.d.ts +0 -5
  150. package/dist/components/IconGroups/IconGroups.stories.d.ts +0 -7
  151. package/dist/components/IconGroups/__tests__/IconGroups.test.d.ts +0 -1
  152. package/dist/components/IconGroups/index.d.ts +0 -5
  153. package/dist/components/IconListItem/__tests__/IconListItem.test.d.ts +0 -1
  154. package/dist/components/IconListItem/index.d.ts +0 -7
  155. package/dist/components/Input/Input.stories.d.ts +0 -11
  156. package/dist/components/Input/__tests__/Input.test.d.ts +0 -1
  157. package/dist/components/Input/index.d.ts +0 -6
  158. package/dist/components/Input/input.theme.d.ts +0 -3
  159. package/dist/components/LinearProgress/LinearProgress.stories.d.ts +0 -14
  160. package/dist/components/LinearProgress/__tests__/LinearProgress.test.d.ts +0 -1
  161. package/dist/components/LinearProgress/index.d.ts +0 -27
  162. package/dist/components/LinearProgress/linearProgress.theme.d.ts +0 -14
  163. package/dist/components/Link/__tests__/Link.test.d.ts +0 -1
  164. package/dist/components/Link/index.d.ts +0 -6
  165. package/dist/components/List/__tests__/List.test.d.ts +0 -1
  166. package/dist/components/List/index.d.ts +0 -6
  167. package/dist/components/ListItem/__tests__/ListItem.test.d.ts +0 -1
  168. package/dist/components/ListItem/index.d.ts +0 -6
  169. package/dist/components/ListItemButton/__tests__/ListItemButton.test.d.ts +0 -1
  170. package/dist/components/ListItemButton/index.d.ts +0 -6
  171. package/dist/components/ListItemText/__tests__/ListItemText.test.d.ts +0 -1
  172. package/dist/components/ListItemText/index.d.ts +0 -6
  173. package/dist/components/MenuFlyout/MenuFlyout.stories.d.ts +0 -31
  174. package/dist/components/MenuFlyout/__tests__/MenuFlyout.test.d.ts +0 -1
  175. package/dist/components/MenuFlyout/constants.d.ts +0 -3
  176. package/dist/components/MenuFlyout/index.d.ts +0 -15
  177. package/dist/components/MenuFlyout/menuFlyout.theme.d.ts +0 -41
  178. package/dist/components/Modal/Modal.stories.d.ts +0 -15
  179. package/dist/components/Modal/__tests__/Modal.test.d.ts +0 -1
  180. package/dist/components/Modal/index.d.ts +0 -11
  181. package/dist/components/Modal/modal.theme.d.ts +0 -3
  182. package/dist/components/ModelGridView/ModelGridView.stories.d.ts +0 -5
  183. package/dist/components/ModelGridView/__tests__/ModelGridView.test.d.ts +0 -1
  184. package/dist/components/ModelGridView/index.d.ts +0 -13
  185. package/dist/components/Panel/Panel.stories.d.ts +0 -14
  186. package/dist/components/Panel/__tests__/Panel.test.d.ts +0 -1
  187. package/dist/components/Panel/index.d.ts +0 -11
  188. package/dist/components/ProgressIndicator/DefaultProgress.d.ts +0 -3
  189. package/dist/components/ProgressIndicator/MLProgress.d.ts +0 -3
  190. package/dist/components/ProgressIndicator/ProgressIndicator.stories.d.ts +0 -7
  191. package/dist/components/ProgressIndicator/__tests__/ProgressIndicator.test.d.ts +0 -1
  192. package/dist/components/ProgressIndicator/index.d.ts +0 -11
  193. package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -10
  194. package/dist/components/RadioButton/RadioButton.theme.d.ts +0 -4
  195. package/dist/components/RadioButton/__tests__/RadioButton.test.d.ts +0 -1
  196. package/dist/components/RadioButton/index.d.ts +0 -7
  197. package/dist/components/RadioGroup/__tests__/RadioGroup.test.d.ts +0 -1
  198. package/dist/components/RadioGroup/index.d.ts +0 -6
  199. package/dist/components/Select/Select.stories.d.ts +0 -5
  200. package/dist/components/Select/__tests__/Select.test.d.ts +0 -1
  201. package/dist/components/Select/index.d.ts +0 -15
  202. package/dist/components/Select/select.theme.d.ts +0 -53
  203. package/dist/components/StatusChip/StatusChip.stories.d.ts +0 -51
  204. package/dist/components/StatusChip/__tests__/StatusChip.test.d.ts +0 -1
  205. package/dist/components/StatusChip/constants.d.ts +0 -3
  206. package/dist/components/StatusChip/index.d.ts +0 -28
  207. package/dist/components/StatusChip/statusChip.theme.d.ts +0 -4
  208. package/dist/components/Step/__tests__/Step.test.d.ts +0 -1
  209. package/dist/components/Step/index.d.ts +0 -6
  210. package/dist/components/StepLabel/__tests__/StepLabel.test.d.ts +0 -1
  211. package/dist/components/StepLabel/index.d.ts +0 -6
  212. package/dist/components/Stepper/Stepper.stories.d.ts +0 -21
  213. package/dist/components/Stepper/__tests__/Stepper.test.d.ts +0 -1
  214. package/dist/components/Stepper/index.d.ts +0 -13
  215. package/dist/components/Stepper/stepper.theme.d.ts +0 -50
  216. package/dist/components/Tabs/Badge.d.ts +0 -7
  217. package/dist/components/Tabs/Tabs.stories.d.ts +0 -6
  218. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +0 -1
  219. package/dist/components/Tabs/index.d.ts +0 -14
  220. package/dist/components/Tabs/tabs.theme.d.ts +0 -4
  221. package/dist/components/ThemeProvider/__tests__/Button.test.d.ts +0 -1
  222. package/dist/components/ThemeProvider/index.d.ts +0 -3
  223. package/dist/components/Toast/Toast.stories.d.ts +0 -14
  224. package/dist/components/Toast/__tests__/Toast.test.d.ts +0 -1
  225. package/dist/components/Toast/index.d.ts +0 -23
  226. package/dist/components/Typography/Typography.stories.d.ts +0 -20
  227. package/dist/components/Typography/__tests__/Typography.test.d.ts +0 -1
  228. package/dist/components/Typography/index.d.ts +0 -6
  229. package/dist/components/UtilityRail/UtilityRail.stories.d.ts +0 -8
  230. package/dist/components/UtilityRail/__tests__/UtilityRail.test.d.ts +0 -1
  231. package/dist/components/UtilityRail/index.d.ts +0 -11
  232. package/dist/components/UtilityRail/mock.d.ts +0 -2
  233. package/dist/index.d.ts +0 -31
  234. package/dist/reportWebVitals.d.ts +0 -3
  235. package/dist/setupTests.d.ts +0 -1
  236. 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,5 +0,0 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { CustomSliderProps } from '.';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare const Default: Story<CustomSliderProps>;
@@ -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,6 +0,0 @@
1
- import { DrawerProps as MuiDrawerProps } from '@mui/material';
2
- type DrawerProps = {
3
- 'data-testid'?: string;
4
- } & MuiDrawerProps;
5
- declare const Drawer: ({ ...props }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
6
- export default Drawer;
@@ -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,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,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,5 +0,0 @@
1
- type HomeOutlinedIconProps = {
2
- 'data-testid'?: string;
3
- };
4
- declare const HomeOutlinedIcon: ({ ...props }: HomeOutlinedIconProps) => import("react/jsx-runtime").JSX.Element;
5
- export default HomeOutlinedIcon;
@@ -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,5 +0,0 @@
1
- type GroupsIconProps = {
2
- 'data-testid'?: string;
3
- };
4
- declare const IconGroups: ({ ...props }: GroupsIconProps) => import("react/jsx-runtime").JSX.Element;
5
- export default IconGroups;
@@ -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,6 +0,0 @@
1
- import { TextFieldProps } from '@mui/material';
2
- type InputComponentProps = {
3
- 'data-testid'?: string;
4
- } & TextFieldProps;
5
- declare const Input: ({ ...TextFieldProps }: InputComponentProps) => import("react/jsx-runtime").JSX.Element;
6
- export default Input;
@@ -1,3 +0,0 @@
1
- import { Components, Theme } from '@mui/material';
2
- declare const inputTheme: (theme: Theme) => Components['MuiTextField'];
3
- export default inputTheme;
@@ -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,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,6 +0,0 @@
1
- import { LinkProps as MuiLinkProps } from '@mui/material';
2
- type LinkProps = {
3
- 'data-testid'?: string;
4
- } & MuiLinkProps;
5
- declare const Link: ({ ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
6
- export default Link;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { ListProps as MuiListProps } from '@mui/material';
2
- type ListProps = {
3
- 'data-testid'?: string;
4
- } & MuiListProps;
5
- declare const List: ({ ...props }: ListProps) => import("react/jsx-runtime").JSX.Element;
6
- export default List;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { ListItemProps as MuiListItemProps } from '@mui/material';
2
- type ListItemProps = {
3
- 'data-testid'?: string;
4
- } & MuiListItemProps;
5
- declare const ListItem: ({ ...props }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
6
- export default ListItem;
@@ -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,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,3 +0,0 @@
1
- export declare const editLabel = "Edit Project";
2
- export declare const shareWithLabel = "Share with...";
3
- export declare const deleteLabel = "Delete Project";
@@ -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,3 +0,0 @@
1
- import { Components, Theme } from '@mui/material';
2
- declare const modalTheme: (theme: Theme) => Components['MuiDialog'];
3
- export default modalTheme;
@@ -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,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,3 +0,0 @@
1
- import { ProgressIndicatorProps } from '.';
2
- declare const DefaultProgress: ({ itemLoading, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DefaultProgress;
@@ -1,3 +0,0 @@
1
- import { ProgressIndicatorProps } from '.';
2
- declare const MLProgress: ({ itemLoading, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
3
- export default MLProgress;
@@ -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,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,4 +0,0 @@
1
- import { Components } from '@mui/material';
2
- import { Theme } from '../../assets/theme';
3
- declare const radioButtonTheme: (theme: Theme) => Components['MuiRadio'];
4
- export default radioButtonTheme;
@@ -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,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;