@movable/ui 2.12.6 → 2.13.1

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.
@@ -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
@@ -111,7 +111,7 @@ declare type DemoComponentProps = {
111
111
  stringToDisplay: string;
112
112
  };
113
113
 
114
- export declare function DetailsLayout({ Header, children, ...rest }: LayoutDetailsProps): JSX_2.Element;
114
+ export declare function DetailsLayout({ Header, children, sx, ...rest }: LayoutDetailsProps): JSX_2.Element;
115
115
 
116
116
  declare type DrawerType = 'basic' | 'panel' | 'filter';
117
117
 
@@ -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;
@@ -157,7 +159,7 @@ declare type IFilterDrawer = DrawerProps & {
157
159
  mainProps?: BoxProps;
158
160
  };
159
161
 
160
- export declare function IndexLayout({ Header, children, ...containerProps }: IndexLayoutProps): JSX_2.Element;
162
+ export declare function IndexLayout({ Header, children, sx, ...containerProps }: IndexLayoutProps): JSX_2.Element;
161
163
 
162
164
  declare type IndexLayoutProps = GridProps & {
163
165
  Header: JSX.Element;
@@ -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];