@movable/ui 3.8.2 → 3.10.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.
@@ -0,0 +1,11 @@
1
+ import { AlertProps } from '@mui/material';
2
+ export declare function InkHighlightAlert({ testSelector, onClose, action, alertProps, message, }: {
3
+ testSelector?: string;
4
+ onClose?: () => void;
5
+ action?: {
6
+ callback: () => void;
7
+ label: string;
8
+ };
9
+ alertProps?: AlertProps;
10
+ message: string | React.ReactNode;
11
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { InkHighlightAlert } from './InkHighlightAlert';
@@ -6,6 +6,7 @@ export interface InkCardHeaderProps {
6
6
  subheader?: string;
7
7
  adornment?: JSX.Element;
8
8
  titleProps?: TypographyProps;
9
+ avatar?: JSX.Element;
9
10
  onClose?: () => void;
10
11
  }
11
- export declare function InkCardHeader({ checkboxProps, title, size, subheader, adornment, titleProps, onClose, }: InkCardHeaderProps): import("react/jsx-runtime").JSX.Element | null;
12
+ export declare function InkCardHeader({ checkboxProps, title, avatar, size, subheader, adornment, titleProps, onClose, }: InkCardHeaderProps): import("react/jsx-runtime").JSX.Element | null;
@@ -25,3 +25,4 @@ export { InkChart } from './InkChart';
25
25
  export { InkCard } from './InkCard';
26
26
  export { InkGridToolBar } from './InkGridToolBar';
27
27
  export { InkDataGrid, InkDataGridEmpty, InkDataGridTextWrapCell, createEmptyColumns, createTextWrapColumn, type InkDataGridProps, type InkDataGridEmptyProps, type InkDataGridTextWrapCellProps, } from './InkDataGrid';
28
+ export { InkHighlightAlert } from './Alert';
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { AlertProps } from '@mui/material/Alert';
1
+ import { AlertProps } from '@mui/material';
2
+ import { AlertProps as AlertProps_2 } from '@mui/material/Alert';
2
3
  import { BoxProps } from '@mui/material';
3
4
  import { BoxProps as BoxProps_2 } from '@mui/material/Box';
4
5
  import { ButtonProps } from '@mui/material';
@@ -323,6 +324,7 @@ declare interface InkCardHeaderProps {
323
324
  subheader?: string;
324
325
  adornment?: JSX.Element;
325
326
  titleProps?: TypographyProps;
327
+ avatar?: JSX.Element;
326
328
  onClose?: () => void;
327
329
  }
328
330
 
@@ -554,6 +556,17 @@ declare type InkFormTextFieldProps<TFieldValues extends FieldValues, TName exten
554
556
 
555
557
  export declare function InkGridToolBar({ groupingProps, filterDrawerBtnProps, showFilterDrawerBtn, showQuickFilter, showExportButton, showDensitySelector, onExportClick, loadingExport, columnPickerProps, children, py, }: IInkGridToolBarProps): JSX_2.Element;
556
558
 
559
+ export declare function InkHighlightAlert({ testSelector, onClose, action, alertProps, message, }: {
560
+ testSelector?: string;
561
+ onClose?: () => void;
562
+ action?: {
563
+ callback: () => void;
564
+ label: string;
565
+ };
566
+ alertProps?: AlertProps;
567
+ message: string | React.ReactNode;
568
+ }): JSX_2.Element;
569
+
557
570
  export declare function InkImage({ src, alt, sx, imageSx, fallbackText, ...rest }: InkImageProps): JSX_2.Element;
558
571
 
559
572
  export declare class InkImagePageObject {
@@ -730,10 +743,10 @@ export declare type InkSnackbarAlertProps = {
730
743
  export declare const InkSnackbarContent: ForwardRefExoticComponent<InkSnackbarContentProps & RefAttributes<HTMLDivElement>>;
731
744
 
732
745
  export declare interface InkSnackbarContentProps extends CustomContentProps {
733
- alertProps?: AlertProps;
746
+ alertProps?: AlertProps_2;
734
747
  title?: string;
735
- action?: AlertProps['action'];
736
- onClose?: AlertProps['onClose'];
748
+ action?: AlertProps_2['action'];
749
+ onClose?: AlertProps_2['onClose'];
737
750
  }
738
751
 
739
752
  export declare const InkSnackbarProvider: ({ children, maxSnack, anchorOrigin, ...rest }: SnackbarProviderProps) => JSX_2.Element;
@@ -1254,6 +1267,7 @@ declare module '@mui/material/Alert' {
1254
1267
  interface AlertPropsVariantOverrides {
1255
1268
  snackbar: true;
1256
1269
  standard: true;
1270
+ highlight: true;
1257
1271
  filled: false;
1258
1272
  outlined: false;
1259
1273
  }