@movable/ui 3.9.0 → 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.
- package/lib/components/Alert/InkHighlightAlert.d.ts +11 -0
- package/lib/components/Alert/index.d.ts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.d.ts +17 -4
- package/lib/index.mjs +1487 -1461
- package/lib/index.mjs.map +1 -1
- package/lib/theme/components/Alert.d.ts +12 -0
- package/lib/theme.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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
|
|
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';
|
|
@@ -555,6 +556,17 @@ declare type InkFormTextFieldProps<TFieldValues extends FieldValues, TName exten
|
|
|
555
556
|
|
|
556
557
|
export declare function InkGridToolBar({ groupingProps, filterDrawerBtnProps, showFilterDrawerBtn, showQuickFilter, showExportButton, showDensitySelector, onExportClick, loadingExport, columnPickerProps, children, py, }: IInkGridToolBarProps): JSX_2.Element;
|
|
557
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
|
+
|
|
558
570
|
export declare function InkImage({ src, alt, sx, imageSx, fallbackText, ...rest }: InkImageProps): JSX_2.Element;
|
|
559
571
|
|
|
560
572
|
export declare class InkImagePageObject {
|
|
@@ -731,10 +743,10 @@ export declare type InkSnackbarAlertProps = {
|
|
|
731
743
|
export declare const InkSnackbarContent: ForwardRefExoticComponent<InkSnackbarContentProps & RefAttributes<HTMLDivElement>>;
|
|
732
744
|
|
|
733
745
|
export declare interface InkSnackbarContentProps extends CustomContentProps {
|
|
734
|
-
alertProps?:
|
|
746
|
+
alertProps?: AlertProps_2;
|
|
735
747
|
title?: string;
|
|
736
|
-
action?:
|
|
737
|
-
onClose?:
|
|
748
|
+
action?: AlertProps_2['action'];
|
|
749
|
+
onClose?: AlertProps_2['onClose'];
|
|
738
750
|
}
|
|
739
751
|
|
|
740
752
|
export declare const InkSnackbarProvider: ({ children, maxSnack, anchorOrigin, ...rest }: SnackbarProviderProps) => JSX_2.Element;
|
|
@@ -1255,6 +1267,7 @@ declare module '@mui/material/Alert' {
|
|
|
1255
1267
|
interface AlertPropsVariantOverrides {
|
|
1256
1268
|
snackbar: true;
|
|
1257
1269
|
standard: true;
|
|
1270
|
+
highlight: true;
|
|
1258
1271
|
filled: false;
|
|
1259
1272
|
outlined: false;
|
|
1260
1273
|
}
|