@movable/ui 1.17.0 → 1.19.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/lib/components/InkRadioTiles/InkRadioTiles.d.ts +1 -0
- package/lib/components/InkSnackbar/InkSnackbarAlert.d.ts +12 -0
- package/lib/components/InkSnackbar/InkSnackbarContent.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarContentProps.d.ts +8 -0
- package/lib/components/InkSnackbar/InkSnackbarProvider.d.ts +3 -0
- package/lib/components/InkSnackbar/SnackbarActionButton.d.ts +7 -0
- package/lib/components/InkSnackbar/index.d.ts +6 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.mjs +5601 -3737
- package/lib/index.mjs.map +1 -1
- package/lib/page-objects/index.d.ts +1 -0
- package/lib/page-objects/ink-snackbar-alert.d.ts +12 -0
- package/lib/theme.d.ts +14 -0
- package/package.json +5 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InkSnackbarContentProps } from './index';
|
|
2
|
+
import { VariantType } from 'notistack';
|
|
3
|
+
export type InkSnackbarAlertProps = {
|
|
4
|
+
message: InkSnackbarContentProps['message'];
|
|
5
|
+
severity: VariantType;
|
|
6
|
+
alertProps?: InkSnackbarContentProps['alertProps'];
|
|
7
|
+
title?: InkSnackbarContentProps['title'];
|
|
8
|
+
action?: InkSnackbarContentProps['action'];
|
|
9
|
+
onClose?: InkSnackbarContentProps['onClose'];
|
|
10
|
+
};
|
|
11
|
+
declare const InkSnackbarAlert: ({ action, severity, alertProps, message, onClose, title, }: InkSnackbarAlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default InkSnackbarAlert;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AlertProps } from '@mui/material/Alert';
|
|
2
|
+
import { CustomContentProps } from 'notistack';
|
|
3
|
+
export interface InkSnackbarContentProps extends CustomContentProps {
|
|
4
|
+
alertProps?: AlertProps;
|
|
5
|
+
title?: string;
|
|
6
|
+
action?: AlertProps['action'];
|
|
7
|
+
onClose?: AlertProps['onClose'];
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material/Button';
|
|
2
|
+
type InkSnackbarActionButtonProps = ButtonProps & {
|
|
3
|
+
label: string;
|
|
4
|
+
closeSnackbar: () => void;
|
|
5
|
+
};
|
|
6
|
+
export default function SnackbarActionButton({ closeSnackbar, label, ...buttonProps }: InkSnackbarActionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as InkSnackbarProvider } from './InkSnackbarProvider';
|
|
2
|
+
export { default as InkSnackbarAlert } from './InkSnackbarAlert';
|
|
3
|
+
export { default as InkSnackbarContent } from './InkSnackbarContent';
|
|
4
|
+
export { default as SnackbarActionButton } from './SnackbarActionButton';
|
|
5
|
+
export type { InkSnackbarContentProps } from './InkSnackbarContentProps';
|
|
6
|
+
export type { InkSnackbarAlertProps } from './InkSnackbarAlert';
|