@movable/ui 4.2.0 → 4.3.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.
@@ -18,6 +18,7 @@ export type InkDialogProps = DialogProps & {
18
18
  hideCloseButton?: boolean;
19
19
  onClose: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
20
20
  ActionsProp?: ActionsPropType;
21
+ ActionDescription?: string | JSX.Element;
21
22
  };
22
- export declare function InkDialog({ Title, Content, Actions, onClose, hideCloseButton, ActionsProp, children, ...props }: InkDialogProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function InkDialog({ Title, Content, Actions, onClose, hideCloseButton, ActionsProp, ActionDescription, children, ...props }: InkDialogProps): import("react/jsx-runtime").JSX.Element;
23
24
  export {};
@@ -1,4 +1,5 @@
1
1
  import { ButtonProps } from '@mui/material';
2
+ import type { ReactNode } from 'react';
2
3
  type PrimaryButtonType = ButtonProps & {
3
4
  label: string;
4
5
  loading?: boolean;
@@ -11,7 +12,7 @@ type ActionButtonPropType = {
11
12
  close?: closeButtonType;
12
13
  };
13
14
  type InkWorkflowHeaderProps = {
14
- label: string;
15
+ label: ReactNode;
15
16
  Stepper?: JSX.Element;
16
17
  ButtonGroup?: JSX.Element | ActionButtonPropType;
17
18
  subtitle?: string;
package/lib/index.d.ts CHANGED
@@ -789,7 +789,7 @@ export declare interface InkDataGridTextWrapCellProps {
789
789
  sx?: BoxProps['sx'];
790
790
  }
791
791
 
792
- export declare function InkDialog({ Title, Content, Actions, onClose, hideCloseButton, ActionsProp, children, ...props }: InkDialogProps): JSX_2.Element;
792
+ export declare function InkDialog({ Title, Content, Actions, onClose, hideCloseButton, ActionsProp, ActionDescription, children, ...props }: InkDialogProps): JSX_2.Element;
793
793
 
794
794
  export declare const inkDialog: InkDialogPageObject;
795
795
 
@@ -820,6 +820,7 @@ export declare type InkDialogProps = DialogProps & {
820
820
  hideCloseButton?: boolean;
821
821
  onClose: (e?: React_2.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
822
822
  ActionsProp?: ActionsPropType;
823
+ ActionDescription?: string | JSX.Element;
823
824
  };
824
825
 
825
826
  export declare function InkDrawer(props: PropsWithChildren<InkDrawerProps>): JSX_2.Element;
@@ -1192,7 +1193,7 @@ export declare class InkWorkflowHeaderPageObject {
1192
1193
  }
1193
1194
 
1194
1195
  declare type InkWorkflowHeaderProps = {
1195
- label: string;
1196
+ label: ReactNode;
1196
1197
  Stepper?: JSX.Element;
1197
1198
  ButtonGroup?: JSX.Element | ActionButtonPropType;
1198
1199
  subtitle?: string;