@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.
@@ -6,6 +6,7 @@ interface Option {
6
6
  title: string;
7
7
  description?: string;
8
8
  subDescription?: string;
9
+ disabled?: boolean;
9
10
  }
10
11
  export type InkRadioTilesProps = {
11
12
  name: string;
@@ -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,3 @@
1
+ import { InkSnackbarContentProps } from './index';
2
+ declare const InkSnackbarContent: import("react").ForwardRefExoticComponent<InkSnackbarContentProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export default InkSnackbarContent;
@@ -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,3 @@
1
+ import { SnackbarProviderProps } from 'notistack';
2
+ declare const InkSnackbarProvider: ({ children, maxSnack, anchorOrigin, ...rest }: SnackbarProviderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InkSnackbarProvider;
@@ -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';
@@ -13,3 +13,4 @@ export { InkToggleIcon } from './InkToggleIcon';
13
13
  export { InkToggleIconGroup } from './InkToggleIconGroup';
14
14
  export { InkEmptyState } from './InkEmptyState';
15
15
  export { InkSelect } from './InkSelect';
16
+ export * from './InkSnackbar';