@movable/ui 3.10.3 → 3.12.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.
@@ -5,6 +5,7 @@ type InkChipPropType = {
5
5
  size?: 'small' | 'medium';
6
6
  expandOnHover?: boolean;
7
7
  truncation?: 'end' | 'middle';
8
+ isLoading?: boolean;
8
9
  };
9
- export declare function InkChip({ maxWidth, chipProps, size, expandOnHover, truncation, }: InkChipPropType): import("react/jsx-runtime").JSX.Element;
10
+ export declare function InkChip({ maxWidth, chipProps, size, expandOnHover, truncation, isLoading, }: InkChipPropType): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -6,13 +6,14 @@ type ActionType = {
6
6
  title: string;
7
7
  onClick: () => void;
8
8
  };
9
- type InkEmptyStateProps = {
9
+ export type InkEmptyStateProps = {
10
10
  title?: string;
11
11
  description?: ReactNode;
12
12
  action?: ActionType;
13
13
  variant: VariantType;
14
14
  icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
15
+ isLongLoading?: boolean;
15
16
  sx?: SxProps<Theme>;
16
17
  };
17
- export declare function InkEmptyState({ title, description, action, variant, icon, sx, }: InkEmptyStateProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function InkEmptyState({ title, description, action, variant, icon, isLongLoading, sx, }: InkEmptyStateProps): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
package/lib/index.d.ts CHANGED
@@ -382,7 +382,7 @@ export declare type InkCheckboxGroupProps = {
382
382
  helperText?: string;
383
383
  };
384
384
 
385
- export declare function InkChip({ maxWidth, chipProps, size, expandOnHover, truncation, }: InkChipPropType): JSX_2.Element;
385
+ export declare function InkChip({ maxWidth, chipProps, size, expandOnHover, truncation, isLoading, }: InkChipPropType): JSX_2.Element;
386
386
 
387
387
  export declare function InkChipGroup({ chipList, numTagsToDisplay, size, maxChipWidth, }: InkChipGroupProps): JSX_2.Element;
388
388
 
@@ -399,6 +399,7 @@ declare type InkChipPropType = {
399
399
  size?: 'small' | 'medium';
400
400
  expandOnHover?: boolean;
401
401
  truncation?: 'end' | 'middle';
402
+ isLoading?: boolean;
402
403
  };
403
404
 
404
405
  /**
@@ -519,7 +520,7 @@ export declare function InkDrawer(props: PropsWithChildren<InkDrawerProps>): JSX
519
520
 
520
521
  declare type InkDrawerProps = CollapsibleDrawerProps | PanelDrawerProps;
521
522
 
522
- export declare function InkEmptyState({ title, description, action, variant, icon, sx, }: InkEmptyStateProps): JSX_2.Element;
523
+ export declare function InkEmptyState({ title, description, action, variant, icon, isLongLoading, sx, }: InkEmptyStateProps): JSX_2.Element;
523
524
 
524
525
  declare type InkEmptyStateProps = {
525
526
  title?: string;
@@ -527,6 +528,7 @@ declare type InkEmptyStateProps = {
527
528
  action?: ActionType;
528
529
  variant: VariantType;
529
530
  icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
531
+ isLongLoading?: boolean;
530
532
  sx?: SxProps<Theme_2>;
531
533
  };
532
534