@veritone-ce/design-system 2.0.0-next.2 → 2.0.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/esm-next/Alert/index.js +32 -23
- package/dist/esm-next/Button/index.js +13 -6
- package/dist/esm-next/Checkbox/index.js +51 -45
- package/dist/esm-next/CircularProgress/index.js +14 -12
- package/dist/esm-next/Dialog/components.js +36 -35
- package/dist/esm-next/Dialog/factory.js +3 -2
- package/dist/esm-next/GlobalStyles/index.js +2 -2
- package/dist/esm-next/Icon/factory.js +2 -1
- package/dist/esm-next/Icon/internal.js +9 -9
- package/dist/esm-next/Icon/wrappers.js +9 -8
- package/dist/esm-next/IconButton/index.js +9 -6
- package/dist/esm-next/Input/index.js +35 -24
- package/dist/esm-next/Menu/controlled.js +39 -36
- package/dist/esm-next/Menu/factory.js +2 -2
- package/dist/esm-next/RadioButton/index.js +30 -22
- package/dist/esm-next/Select/controlled.js +84 -73
- package/dist/esm-next/Select/factory.js +4 -3
- package/dist/esm-next/Select/uncontrolled.js +3 -2
- package/dist/esm-next/Textarea/index.js +36 -30
- package/dist/esm-next/Toast/content.js +2 -1
- package/dist/esm-next/Toast/hook.js +7 -6
- package/dist/esm-next/Toast/index.js +2 -1
- package/dist/esm-next/Tooltip/index.js +27 -21
- package/dist/esm-next/Typography/index.js +1 -0
- package/dist/esm-next/styles/provider.client.js +6 -6
- package/dist/esm-next/styles/provider.css-vars.js +5 -5
- package/dist/types/src/components/AudioSlider/index.d.ts +1 -2
- package/dist/types/src/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/types/src/components/Drawer/index.d.ts +1 -1
- package/dist/types/src/components/ErrorMessage/index.d.ts +1 -1
- package/dist/types/src/components/FileUploader/index.d.ts +1 -2
- package/dist/types/src/components/FormControlLabel/index.d.ts +1 -1
- package/dist/types/src/components/LinearProgress/index.d.ts +1 -2
- package/dist/types/src/components/Link/index.d.ts +1 -1
- package/dist/types/src/components/List/index.d.ts +1 -1
- package/dist/types/src/components/ListItem/index.d.ts +1 -1
- package/dist/types/src/components/ListItemButton/index.d.ts +1 -1
- package/dist/types/src/components/ListItemText/index.d.ts +1 -1
- package/dist/types/src/components/Panel/index.d.ts +2 -2
- package/dist/types/src/components/ProgressIndicator/DefaultProgress.d.ts +1 -2
- package/dist/types/src/components/ProgressIndicator/MLProgress.d.ts +1 -2
- package/dist/types/src/components/ProgressIndicator/index.d.ts +1 -2
- package/dist/types/src/components/Select/index.d.ts +1 -1
- package/dist/types/src/components/StatusChip/index.d.ts +1 -1
- package/dist/types/src/components/Step/index.d.ts +1 -1
- package/dist/types/src/components/StepLabel/index.d.ts +1 -1
- package/dist/types/src/components/Stepper/index.d.ts +1 -1
- package/dist/types/src/components/Table/AutoTable/controlled.d.ts +1 -1
- package/dist/types/src/components/Table/AutoTable/index.d.ts +1 -1
- package/dist/types/src/components/Table/AutoTable/virtual.d.ts +1 -1
- package/dist/types/src/components/Table/index.d.ts +10 -10
- package/dist/types/src/components/Tabs/index.d.ts +1 -1
- package/dist/types/src/components/ThemeProvider/index.d.ts +1 -1
- package/dist/types/src/components/UtilityRail/index.d.ts +1 -2
- package/dist/types/src/components/ZeroState/index.d.ts +1 -2
- package/dist/types/src/components/_Alert/index.d.ts +1 -1
- package/dist/types/src/components/_Autocomplete/index.d.ts +1 -1
- package/dist/types/src/components/_Button/Indicator.d.ts +1 -2
- package/dist/types/src/components/_Button/index.d.ts +1 -1
- package/dist/types/src/components/_Checkbox/index.d.ts +2 -2
- package/dist/types/src/components/_IconButton/index.d.ts +1 -1
- package/dist/types/src/components/_Input/index.d.ts +1 -1
- package/dist/types/src/components/_MenuFlyout/index.d.ts +1 -1
- package/dist/types/src/components/_Modal/index.d.ts +1 -1
- package/dist/types/src/components/_RadioButton/index.d.ts +1 -1
- package/dist/types/src/components/_RadioGroup/index.d.ts +1 -1
- package/dist/types/src/components/_Typography/index.d.ts +1 -1
- package/dist/types/src/components/icons/HomeOutlinedIcon/index.d.ts +1 -2
- package/dist/types/src/components/icons/IconGroups/index.d.ts +1 -2
- package/dist/types/src/components/icons/IconListItem/index.d.ts +1 -1
- package/dist/types/src-next/Alert/index.d.ts +1 -1
- package/dist/types/src-next/CircularProgress/index.d.ts +1 -1
- package/dist/types/src-next/GlobalStyles/index.d.ts +1 -2
- package/dist/types/src-next/Icon/internal.d.ts +1 -1
- package/dist/types/src-next/Menu/controlled.d.ts +1 -1
- package/dist/types/src-next/Menu/factory.d.ts +1 -2
- package/dist/types/src-next/Select/controlled.d.ts +1 -1
- package/dist/types/src-next/Select/uncontrolled.d.ts +1 -1
- package/dist/types/src-next/Toast/content.d.ts +1 -2
- package/dist/types/src-next/Toast/hook.d.ts +1 -1
- package/dist/types/src-next/Toast/index.d.ts +1 -2
- package/dist/types/src-next/Tooltip/index.d.ts +1 -1
- package/dist/types/src-next/styles/provider.client.d.ts +1 -1
- package/dist/types/src-next/styles/provider.css-vars.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use client';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
import React__default from 'react';
|
|
4
5
|
import { useSnackbar, SnackbarContent, SnackbarProvider } from 'notistack';
|
|
5
6
|
import ToastContent from './content.js';
|
|
@@ -18,7 +19,7 @@ const NotiToastOverride = React__default.forwardRef(function InnerNotiToastOverr
|
|
|
18
19
|
const handleDismiss = React__default.useCallback(() => {
|
|
19
20
|
closeSnackbar(id);
|
|
20
21
|
}, [id, closeSnackbar]);
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ jsx(SnackbarContent, { ref, style: props.style, className: props.className, children: /* @__PURE__ */ jsx(
|
|
22
23
|
ToastContent,
|
|
23
24
|
{
|
|
24
25
|
label,
|
|
@@ -26,19 +27,19 @@ const NotiToastOverride = React__default.forwardRef(function InnerNotiToastOverr
|
|
|
26
27
|
severity,
|
|
27
28
|
onClose: handleDismiss
|
|
28
29
|
}
|
|
29
|
-
));
|
|
30
|
+
) });
|
|
30
31
|
});
|
|
31
32
|
const ToastProvider = (props) => {
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
33
34
|
SnackbarProvider,
|
|
34
35
|
{
|
|
35
36
|
anchorOrigin: {
|
|
36
37
|
vertical: "top",
|
|
37
38
|
horizontal: "right"
|
|
38
39
|
},
|
|
39
|
-
Components: { veritone: NotiToastOverride }
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
Components: { veritone: NotiToastOverride },
|
|
41
|
+
children: props.children
|
|
42
|
+
}
|
|
42
43
|
);
|
|
43
44
|
};
|
|
44
45
|
function useToast() {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use client';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
import { Snackbar, Box } from '@mui/material';
|
|
4
5
|
import ToastContent from './content.js';
|
|
5
6
|
|
|
6
7
|
const Toast = ({ open, onClose, className, ...alertProps }) => {
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ jsx(Snackbar, { open, onClose, className, children: /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(ToastContent, { onClose, ...alertProps }) }) });
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export { Toast as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use client';
|
|
3
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
4
|
import { useFloating, shift, flip, arrow, useRole, useHover, safePolygon, useFocus, useDismiss, useInteractions, FloatingArrow } from '@floating-ui/react';
|
|
4
5
|
import React__default from 'react';
|
|
5
6
|
import modules_efc4e723 from './styles.module.scss.js';
|
|
@@ -36,29 +37,34 @@ function Tooltip(props) {
|
|
|
36
37
|
hover,
|
|
37
38
|
dismiss
|
|
38
39
|
]);
|
|
39
|
-
return /* @__PURE__ */
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
style: {
|
|
44
|
-
...floatingStyles,
|
|
45
|
-
...props.style
|
|
46
|
-
},
|
|
47
|
-
...getFloatingProps(),
|
|
48
|
-
className: modules_efc4e723["tooltip-body"]
|
|
49
|
-
},
|
|
50
|
-
/* @__PURE__ */ React__default.createElement(
|
|
51
|
-
FloatingArrow,
|
|
40
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
41
|
+
/* @__PURE__ */ jsx("span", { role: "tooltip", ref: refs.setReference, ...getReferenceProps(), children: props.children }),
|
|
42
|
+
isOpen && /* @__PURE__ */ jsxs(
|
|
43
|
+
"div",
|
|
52
44
|
{
|
|
53
|
-
ref:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
45
|
+
ref: refs.setFloating,
|
|
46
|
+
style: {
|
|
47
|
+
...floatingStyles,
|
|
48
|
+
...props.style
|
|
49
|
+
},
|
|
50
|
+
...getFloatingProps(),
|
|
51
|
+
className: modules_efc4e723["tooltip-body"],
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
FloatingArrow,
|
|
55
|
+
{
|
|
56
|
+
ref: arrowRef,
|
|
57
|
+
context,
|
|
58
|
+
fill: defaultThemeCssVariableUsages.palette.background,
|
|
59
|
+
stroke: defaultThemeCssVariableUsages.palette.backgroundAlt,
|
|
60
|
+
strokeWidth: 1
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ jsx("div", { children: props.tooltip })
|
|
64
|
+
]
|
|
58
65
|
}
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
));
|
|
66
|
+
)
|
|
67
|
+
] });
|
|
62
68
|
}
|
|
63
69
|
|
|
64
70
|
export { Tooltip as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use client';
|
|
3
|
-
import
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { ThemeProvider } from '@mui/system';
|
|
5
5
|
import THEME_ID from './identifier.js';
|
|
6
6
|
import { ThemeCssVarsProvider } from './provider.css-vars.js';
|
|
@@ -10,14 +10,14 @@ function ThemeContextProvider({
|
|
|
10
10
|
includeCssVarWrapper,
|
|
11
11
|
children
|
|
12
12
|
}) {
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { themeId: THEME_ID, theme: themeInput, children: includeCssVarWrapper ? /* @__PURE__ */ jsx(
|
|
14
14
|
ThemeCssVarsProvider,
|
|
15
15
|
{
|
|
16
16
|
theme: themeInput,
|
|
17
|
-
style: { display: "contents" }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
) : children);
|
|
17
|
+
style: { display: "contents" },
|
|
18
|
+
children
|
|
19
|
+
}
|
|
20
|
+
) : children });
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export { ThemeContextProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
import
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { createThemeCssVariableDefinitions } from './css-vars.js';
|
|
4
4
|
|
|
5
5
|
function ThemeCssVarsProvider({
|
|
@@ -9,16 +9,16 @@ function ThemeCssVarsProvider({
|
|
|
9
9
|
className,
|
|
10
10
|
children
|
|
11
11
|
}) {
|
|
12
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ jsx(
|
|
13
13
|
Component,
|
|
14
14
|
{
|
|
15
15
|
style: {
|
|
16
16
|
...createThemeCssVariableDefinitions(themeInput),
|
|
17
17
|
...style
|
|
18
18
|
},
|
|
19
|
-
className
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
className,
|
|
20
|
+
children
|
|
21
|
+
}
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type AudioSliderProps = {
|
|
3
2
|
'data-testid'?: string;
|
|
4
3
|
value: number;
|
|
@@ -9,5 +8,5 @@ export type AudioSliderProps = {
|
|
|
9
8
|
step?: number;
|
|
10
9
|
className?: string;
|
|
11
10
|
};
|
|
12
|
-
declare const AudioSlider: (props: AudioSliderProps) => import("react").JSX.Element;
|
|
11
|
+
declare const AudioSlider: (props: AudioSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default AudioSlider;
|
|
@@ -21,5 +21,5 @@ export type BreadcrumbsLinkComponent = React.ComponentType<BreadcrumbsLinkCompon
|
|
|
21
21
|
* - The last link is not clickable
|
|
22
22
|
* - The last link is styled differently
|
|
23
23
|
**/
|
|
24
|
-
declare const Breadcrumbs: (props: BreadcrumbsProps) =>
|
|
24
|
+
declare const Breadcrumbs: (props: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export default Breadcrumbs;
|
|
@@ -5,4 +5,4 @@ export type ErrorMessageProps = {
|
|
|
5
5
|
typographySx?: SxProps<Theme>;
|
|
6
6
|
sx?: SxProps<Theme>;
|
|
7
7
|
};
|
|
8
|
-
export default function ErrorMessage(props: ErrorMessageProps):
|
|
8
|
+
export default function ErrorMessage(props: ErrorMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
2
|
import { Accept } from 'react-dropzone';
|
|
4
3
|
export interface FileState {
|
|
@@ -20,7 +19,7 @@ export type FileUploaderProps = {
|
|
|
20
19
|
sx?: SxProps<Theme>;
|
|
21
20
|
className?: string;
|
|
22
21
|
};
|
|
23
|
-
export default function FileUploader(props: FileUploaderProps): import("react").JSX.Element;
|
|
22
|
+
export default function FileUploader(props: FileUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
type FileUploadFn = (f: File) => AsyncGenerator<number>;
|
|
25
24
|
export type UseFileUploaderOptions = {
|
|
26
25
|
uploadFile: FileUploadFn;
|
|
@@ -7,5 +7,5 @@ export type FormControlLabelProps = {
|
|
|
7
7
|
sx?: SxProps<Theme>;
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
declare const FormControlLabel: (props: FormControlLabelProps) =>
|
|
10
|
+
declare const FormControlLabel: (props: FormControlLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default FormControlLabel;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
2
|
export type LinearProgressProps = {
|
|
4
3
|
'data-testid'?: string;
|
|
@@ -29,5 +28,5 @@ export type LinearProgressProps = {
|
|
|
29
28
|
- Use a Linear Progress Bar to show the user that an operation is in progress.
|
|
30
29
|
This is currently being used in conjuction with the uploader tool
|
|
31
30
|
**/
|
|
32
|
-
declare const LinearProgress: (props: LinearProgressProps) => import("react").JSX.Element;
|
|
31
|
+
declare const LinearProgress: (props: LinearProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
32
|
export default LinearProgress;
|
|
@@ -5,5 +5,5 @@ export type LinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'col
|
|
|
5
5
|
sx?: SxProps<Theme>;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const Link: ({ sx, className, ...restProps }: LinkProps) =>
|
|
8
|
+
declare const Link: ({ sx, className, ...restProps }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default Link;
|
|
@@ -6,5 +6,5 @@ export type ListItemProps = {
|
|
|
6
6
|
sx?: SxProps<Theme>;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const ListItem: (props: ListItemProps) =>
|
|
9
|
+
declare const ListItem: (props: ListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default ListItem;
|
|
@@ -8,5 +8,5 @@ export type ListItemButtonProps = {
|
|
|
8
8
|
sx?: SxProps<Theme>;
|
|
9
9
|
className?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const ListItemButton: (props: ListItemButtonProps) =>
|
|
11
|
+
declare const ListItemButton: (props: ListItemButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default ListItemButton;
|
|
@@ -6,5 +6,5 @@ export type ListItemTextProps = {
|
|
|
6
6
|
sx?: SxProps<Theme>;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const ListItemText: (props: ListItemTextProps) =>
|
|
9
|
+
declare const ListItemText: (props: ListItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default ListItemText;
|
|
@@ -8,10 +8,10 @@ export type PanelProps = {
|
|
|
8
8
|
onClose?(): void;
|
|
9
9
|
className?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const Panel: (props: PanelProps) =>
|
|
11
|
+
declare const Panel: (props: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Panel;
|
|
13
13
|
export type PanelContentProps = {
|
|
14
14
|
content: React.ReactNode;
|
|
15
15
|
actions?: ReactNode;
|
|
16
16
|
};
|
|
17
|
-
export declare function PanelContent(props: PanelContentProps):
|
|
17
|
+
export declare function PanelContent(props: PanelContentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SharedProgressIndicatorProps } from './index.js';
|
|
3
|
-
declare const DefaultProgress: (props: SharedProgressIndicatorProps) => import("react").JSX.Element;
|
|
2
|
+
declare const DefaultProgress: (props: SharedProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default DefaultProgress;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SharedProgressIndicatorProps } from './index.js';
|
|
3
2
|
type MLProgressProps = SharedProgressIndicatorProps & {
|
|
4
3
|
type: 'medium' | 'large';
|
|
5
4
|
};
|
|
6
|
-
declare const MLProgress: (props: MLProgressProps) => import("react").JSX.Element;
|
|
5
|
+
declare const MLProgress: (props: MLProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default MLProgress;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type SharedProgressIndicatorProps = {
|
|
3
2
|
'data-testid'?: string;
|
|
4
3
|
itemLoading?: string;
|
|
@@ -17,5 +16,5 @@ export type ProgressIndicatorProps = SharedProgressIndicatorProps & {
|
|
|
17
16
|
/**
|
|
18
17
|
- Use a progress indicator to show the user that an operation is in progress.
|
|
19
18
|
**/
|
|
20
|
-
declare const ProgressIndicator: ({ type, ...props }: ProgressIndicatorProps) => import("react").JSX.Element;
|
|
19
|
+
declare const ProgressIndicator: ({ type, ...props }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export default ProgressIndicator;
|
|
@@ -37,5 +37,5 @@ export type SelectChangeEvent<V = string> = (Event & {
|
|
|
37
37
|
name: string;
|
|
38
38
|
};
|
|
39
39
|
}) | React.ChangeEvent<HTMLInputElement>;
|
|
40
|
-
declare function Select<V extends SelectValue>(props: SelectProps<V>):
|
|
40
|
+
declare function Select<V extends SelectValue>(props: SelectProps<V>): import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
export default Select;
|
|
@@ -26,5 +26,5 @@ export type StatusChipProps = {
|
|
|
26
26
|
- Pass your custom string to `label` prop;
|
|
27
27
|
- Pass an MUI stock color option to `color` prop **OR** pass a custom color Hex Value to `coloroverride` prop.
|
|
28
28
|
**/
|
|
29
|
-
declare const StatusChip: (props: StatusChipProps) =>
|
|
29
|
+
declare const StatusChip: (props: StatusChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export default StatusChip;
|
|
@@ -9,5 +9,5 @@ export type StepLabelProps = {
|
|
|
9
9
|
sx?: SxProps<Theme>;
|
|
10
10
|
className?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const StepLabel: (props: StepLabelProps) =>
|
|
12
|
+
declare const StepLabel: (props: StepLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default StepLabel;
|
|
@@ -18,5 +18,5 @@ export type StepperProps = {
|
|
|
18
18
|
/**
|
|
19
19
|
The Stepper is used for highlighting where a user is in a progression of steps.
|
|
20
20
|
**/
|
|
21
|
-
declare const Stepper: (props: StepperProps) =>
|
|
21
|
+
declare const Stepper: (props: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default Stepper;
|
|
@@ -12,4 +12,4 @@ export type ControlledAutoTableProps<TData, TMeta = unknown> = AutoTableHookOpti
|
|
|
12
12
|
sx?: SxProps<Theme>;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
export default function ControlledAutoTable<TData, TMeta = unknown>({ stickyHeader, loading, zeroStateMessage, error, ErrorContainer, sx, className, ...options }: ControlledAutoTableProps<TData, TMeta>):
|
|
15
|
+
export default function ControlledAutoTable<TData, TMeta = unknown>({ stickyHeader, loading, zeroStateMessage, error, ErrorContainer, sx, className, ...options }: ControlledAutoTableProps<TData, TMeta>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -43,5 +43,5 @@ export type AutoTableProps<TData, TMeta = unknown> = {
|
|
|
43
43
|
sx?: SxProps<Theme>;
|
|
44
44
|
className?: string;
|
|
45
45
|
};
|
|
46
|
-
declare function AutoTable<TData, TMeta = unknown>(props: AutoTableProps<TData, TMeta>):
|
|
46
|
+
declare function AutoTable<TData, TMeta = unknown>(props: AutoTableProps<TData, TMeta>): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
export default AutoTable;
|
|
@@ -20,4 +20,4 @@ export type VirtualControlledAutoTableProps<TData, TMeta = unknown> = AutoTableH
|
|
|
20
20
|
className?: string;
|
|
21
21
|
};
|
|
22
22
|
export declare const TableMessageMaxHeight = 100;
|
|
23
|
-
export default function VirtualControlledAutoTable<TData, TMeta = unknown>({ stickyHeader, loading, zeroStateMessage, error, ErrorContainer, scrollOffset, getScrollElement, renderWhenNotVisible, rowSize, headerSize, overscan, debug, sx, className, ...options }: VirtualControlledAutoTableProps<TData, TMeta>):
|
|
23
|
+
export default function VirtualControlledAutoTable<TData, TMeta = unknown>({ stickyHeader, loading, zeroStateMessage, error, ErrorContainer, scrollOffset, getScrollElement, renderWhenNotVisible, rowSize, headerSize, overscan, debug, sx, className, ...options }: VirtualControlledAutoTableProps<TData, TMeta>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,14 +13,14 @@ export type TableProps = {
|
|
|
13
13
|
sx?: SxProps<Theme>;
|
|
14
14
|
className?: string;
|
|
15
15
|
};
|
|
16
|
-
export declare const Table: (props: TableProps) =>
|
|
16
|
+
export declare const Table: (props: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export type TableBodyProps = {
|
|
18
18
|
'data-testid'?: string;
|
|
19
19
|
children?: React.ReactNode;
|
|
20
20
|
sx?: SxProps<Theme>;
|
|
21
21
|
className?: string;
|
|
22
22
|
};
|
|
23
|
-
export declare const TableBody: (props: TableBodyProps) =>
|
|
23
|
+
export declare const TableBody: (props: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
type CommonTableCellProps = {
|
|
25
25
|
variant?: 'header' | 'data';
|
|
26
26
|
align?: 'left' | 'center' | 'right' | 'justify' | 'inherit';
|
|
@@ -38,7 +38,7 @@ export type TableCellProps = CommonTableCellProps & {
|
|
|
38
38
|
sx?: SxProps<Theme>;
|
|
39
39
|
className?: string;
|
|
40
40
|
};
|
|
41
|
-
export declare const TableCell: ({ variant, ...props }: TableCellProps) =>
|
|
41
|
+
export declare const TableCell: ({ variant, ...props }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
export type SelectionTableCellProps = CommonTableCellProps & {
|
|
43
43
|
'data-testid'?: string;
|
|
44
44
|
checked?: boolean;
|
|
@@ -50,21 +50,21 @@ export type SelectionTableCellProps = CommonTableCellProps & {
|
|
|
50
50
|
checkboxSx?: SxProps<Theme>;
|
|
51
51
|
checkboxClassName?: string;
|
|
52
52
|
};
|
|
53
|
-
export declare const SelectionTableCell: ({ checked, indeterminate, disabled, onChange, sx, className, checkboxSx, checkboxClassName, ...cellProps }: SelectionTableCellProps) =>
|
|
53
|
+
export declare const SelectionTableCell: ({ checked, indeterminate, disabled, onChange, sx, className, checkboxSx, checkboxClassName, ...cellProps }: SelectionTableCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
export type TableFooterProps = {
|
|
55
55
|
'data-testid'?: string;
|
|
56
56
|
children?: React.ReactNode;
|
|
57
57
|
sx?: SxProps<Theme>;
|
|
58
58
|
className?: string;
|
|
59
59
|
};
|
|
60
|
-
export declare const TableFooter: (props: TableFooterProps) =>
|
|
60
|
+
export declare const TableFooter: (props: TableFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
61
|
export type TableHeadProps = {
|
|
62
62
|
'data-testid'?: string;
|
|
63
63
|
children?: React.ReactNode;
|
|
64
64
|
sx?: SxProps<Theme>;
|
|
65
65
|
className?: string;
|
|
66
66
|
};
|
|
67
|
-
export declare const TableHead: (props: TableHeadProps) =>
|
|
67
|
+
export declare const TableHead: (props: TableHeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
68
68
|
export type TablePaginationProps = {
|
|
69
69
|
'data-testid'?: string;
|
|
70
70
|
/**
|
|
@@ -96,7 +96,7 @@ export type TablePaginationProps = {
|
|
|
96
96
|
rowsPerPageOptions: number[];
|
|
97
97
|
onRowsPerPageChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
98
98
|
};
|
|
99
|
-
export declare const TablePagination: (props: TablePaginationProps) =>
|
|
99
|
+
export declare const TablePagination: (props: TablePaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
100
100
|
export type TableRowProps = {
|
|
101
101
|
'data-testid'?: string;
|
|
102
102
|
children?: React.ReactNode;
|
|
@@ -113,7 +113,7 @@ export type TableRowProps = {
|
|
|
113
113
|
sx?: SxProps<Theme>;
|
|
114
114
|
className?: string;
|
|
115
115
|
};
|
|
116
|
-
export declare const TableRow: (props: TableRowProps) =>
|
|
116
|
+
export declare const TableRow: (props: TableRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
117
117
|
export type TableSortLabelProps = {
|
|
118
118
|
'data-testid'?: string;
|
|
119
119
|
/**
|
|
@@ -140,11 +140,11 @@ export type TableSortLabelProps = {
|
|
|
140
140
|
sx?: SxProps<Theme>;
|
|
141
141
|
className?: string;
|
|
142
142
|
};
|
|
143
|
-
export declare const TableSortLabel: (props: TableSortLabelProps) =>
|
|
143
|
+
export declare const TableSortLabel: (props: TableSortLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
144
144
|
export type TableZeroStateProps = {
|
|
145
145
|
children: React.ReactNode;
|
|
146
146
|
sx?: SxProps<Theme>;
|
|
147
147
|
className?: string;
|
|
148
148
|
};
|
|
149
|
-
export declare const TableMessage: (props: TableZeroStateProps) =>
|
|
149
|
+
export declare const TableMessage: (props: TableZeroStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
150
150
|
export {};
|
|
@@ -5,5 +5,5 @@ export type ThemeProviderProps = {
|
|
|
5
5
|
theme?: Theme;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
declare const ThemeProvider: (props: ThemeProviderProps) =>
|
|
8
|
+
declare const ThemeProvider: (props: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default ThemeProvider;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type Item = {
|
|
3
2
|
title: string;
|
|
4
3
|
subtitle: string;
|
|
@@ -9,5 +8,5 @@ export type UtilityRailProps = {
|
|
|
9
8
|
items: Item[];
|
|
10
9
|
className?: string;
|
|
11
10
|
};
|
|
12
|
-
declare const UtilityRail: (props: UtilityRailProps) => import("react").JSX.Element;
|
|
11
|
+
declare const UtilityRail: (props: UtilityRailProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default UtilityRail;
|
|
@@ -20,5 +20,5 @@ export type AutocompleteProps = {
|
|
|
20
20
|
sx?: SxProps<Theme>;
|
|
21
21
|
fullWidth?: boolean;
|
|
22
22
|
};
|
|
23
|
-
declare function Autocomplete(props: AutocompleteProps):
|
|
23
|
+
declare function Autocomplete(props: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default Autocomplete;
|
|
@@ -20,5 +20,5 @@ export type ButtonProps = {
|
|
|
20
20
|
/**
|
|
21
21
|
- Use a button for common user click actions. Several variations available.
|
|
22
22
|
**/
|
|
23
|
-
declare const Button: (props: ButtonProps) =>
|
|
23
|
+
declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default Button;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
3
|
export type CheckboxProps = {
|
|
4
4
|
'data-testid'?: string;
|
|
@@ -10,5 +10,5 @@ export type CheckboxProps = {
|
|
|
10
10
|
sx?: SxProps<Theme>;
|
|
11
11
|
className?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const Checkbox: (props: CheckboxProps) =>
|
|
13
|
+
declare const Checkbox: (props: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default Checkbox;
|
|
@@ -12,5 +12,5 @@ export type IconButtonProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
- Use a button for common user click actions. Several variations available.
|
|
14
14
|
**/
|
|
15
|
-
declare const IconButton: (props: IconButtonProps) =>
|
|
15
|
+
declare const IconButton: (props: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default IconButton;
|
|
@@ -21,5 +21,5 @@ export type InputProps = {
|
|
|
21
21
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
22
22
|
size?: 'small' | 'medium';
|
|
23
23
|
};
|
|
24
|
-
declare const Input: (props: InputProps) =>
|
|
24
|
+
declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export default Input;
|
|
@@ -17,5 +17,5 @@ export type MenuFlyoutProps = {
|
|
|
17
17
|
sx?: SxProps<Theme>;
|
|
18
18
|
className?: string;
|
|
19
19
|
};
|
|
20
|
-
declare const MenuFlyout: (props: MenuFlyoutProps) =>
|
|
20
|
+
declare const MenuFlyout: (props: MenuFlyoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default MenuFlyout;
|
|
@@ -13,5 +13,5 @@ export type RadioButtonProps = {
|
|
|
13
13
|
onChange?(event: React.ChangeEvent<HTMLInputElement>, checked: boolean): void;
|
|
14
14
|
className?: string;
|
|
15
15
|
};
|
|
16
|
-
declare const RadioButton: (props: RadioButtonProps) =>
|
|
16
|
+
declare const RadioButton: (props: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default RadioButton;
|
|
@@ -26,5 +26,5 @@ export type RadioGroupProps = {
|
|
|
26
26
|
sx?: SxProps<Theme>;
|
|
27
27
|
className?: string;
|
|
28
28
|
};
|
|
29
|
-
declare const RadioGroup: (props: RadioGroupProps) =>
|
|
29
|
+
declare const RadioGroup: (props: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export default RadioGroup;
|
|
@@ -8,5 +8,5 @@ export type TypographyProps = {
|
|
|
8
8
|
sx?: SxProps<Theme>;
|
|
9
9
|
className?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const Typography: (props: TypographyProps) =>
|
|
11
|
+
declare const Typography: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Typography;
|