@movable/ui 2.12.6 → 2.13.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/surfaces/InkPaper.d.ts +3 -1
- package/lib/index.d.ts +10 -1
- package/lib/index.mjs +1969 -1967
- package/lib/index.mjs.map +1 -1
- package/lib/utils/FormSkeletonGrid.d.ts +6 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,5 +5,7 @@ export type InkPaperProps = PaperProps & {
|
|
|
5
5
|
Icon?: JSX.Element;
|
|
6
6
|
CTA?: JSX.Element;
|
|
7
7
|
shouldShowFullDescription?: boolean;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
loadingSkeleton?: JSX.Element;
|
|
8
10
|
};
|
|
9
|
-
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, ...props }: InkPaperProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, isLoading, loadingSkeleton, ...props }: InkPaperProps): import("react/jsx-runtime").JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -122,6 +122,8 @@ declare type DropdownActionType = {
|
|
|
122
122
|
internalUseOnlyItems?: ReactNode[];
|
|
123
123
|
};
|
|
124
124
|
|
|
125
|
+
export declare const FormSkeletonGrid: ({ skeletonRows, skeletonColumns, }: SkeletonGridType) => JSX_2.Element;
|
|
126
|
+
|
|
125
127
|
declare type HeaderLink = {
|
|
126
128
|
label: string;
|
|
127
129
|
path?: string;
|
|
@@ -308,7 +310,7 @@ declare type InkPageHeaderProps = {
|
|
|
308
310
|
sx?: SxProps<Theme>;
|
|
309
311
|
};
|
|
310
312
|
|
|
311
|
-
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, ...props }: InkPaperProps): JSX_2.Element;
|
|
313
|
+
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, isLoading, loadingSkeleton, ...props }: InkPaperProps): JSX_2.Element;
|
|
312
314
|
|
|
313
315
|
export declare type InkPaperProps = PaperProps & {
|
|
314
316
|
Header: string | JSX.Element;
|
|
@@ -316,6 +318,8 @@ export declare type InkPaperProps = PaperProps & {
|
|
|
316
318
|
Icon?: JSX.Element;
|
|
317
319
|
CTA?: JSX.Element;
|
|
318
320
|
shouldShowFullDescription?: boolean;
|
|
321
|
+
isLoading?: boolean;
|
|
322
|
+
loadingSkeleton?: JSX.Element;
|
|
319
323
|
};
|
|
320
324
|
|
|
321
325
|
export declare function InkPersistentFilterDrawer({ isOpen, handleDrawerClose, children, drawerWidth, leftOffset, //primary nav width when closed and when open
|
|
@@ -563,6 +567,11 @@ declare type PrimaryButtonType = ButtonProps & {
|
|
|
563
567
|
loading?: boolean;
|
|
564
568
|
};
|
|
565
569
|
|
|
570
|
+
declare type SkeletonGridType = {
|
|
571
|
+
skeletonRows: number;
|
|
572
|
+
skeletonColumns: number;
|
|
573
|
+
};
|
|
574
|
+
|
|
566
575
|
export declare function SnackbarActionButton({ closeSnackbar, label, ...buttonProps }: InkSnackbarActionButtonProps): JSX_2.Element;
|
|
567
576
|
|
|
568
577
|
export declare function useCopyToClipboard(): [CopiedValue, CopyFn];
|