@movable/ui 2.14.3 → 3.0.0-alpha-v6.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.
@@ -1,6 +1,5 @@
1
- import { TypographyProps } from '@mui/material';
2
- type HeaderSubtitleType = TypographyProps & {
1
+ type HeaderSubtitleType = {
3
2
  subtitle: string;
4
3
  };
5
- export declare function HeaderSubtitle({ subtitle, sx, ...rest }: HeaderSubtitleType): import("react/jsx-runtime").JSX.Element;
4
+ export declare function HeaderSubtitle({ subtitle }: HeaderSubtitleType): import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -14,7 +14,7 @@ type InkWorkflowHeaderProps = {
14
14
  label: string;
15
15
  Stepper?: JSX.Element;
16
16
  ButtonGroup?: JSX.Element | ActionButtonPropType;
17
- subtitle?: string;
17
+ Subtitle?: JSX.Element;
18
18
  };
19
- export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, subtitle, }: InkWorkflowHeaderProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, Subtitle, }: InkWorkflowHeaderProps): import("react/jsx-runtime").JSX.Element;
20
20
  export {};
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { BoxProps, DrawerProps, SxProps, Theme } from '@mui/material';
2
+ import { BoxProps, DrawerProps } from '@mui/material';
3
3
  import { SvgIconTypeMap } from '@mui/material';
4
4
  import { OverridableComponent } from '@mui/material/OverridableComponent';
5
5
  type DrawerType = 'basic' | 'panel' | 'filter';
@@ -13,7 +13,6 @@ interface CommonDrawerProps extends DrawerProps {
13
13
  isComponentLevelDrawer?: boolean;
14
14
  mainProps?: BoxProps;
15
15
  icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
16
- paperSx?: SxProps<Theme> | undefined;
17
16
  }
18
17
  interface CollapsibleDrawerProps extends CommonDrawerProps {
19
18
  drawerType: 'basic' | 'filter';
package/lib/index.d.ts CHANGED
@@ -46,7 +46,6 @@ import { TextFieldProps } from '@mui/material/TextField';
46
46
  import { Theme } from '@mui/material';
47
47
  import { ToggleButtonGroupProps } from '@mui/material';
48
48
  import { ToggleButtonProps } from '@mui/material';
49
- import { TypographyProps } from '@mui/material';
50
49
  import { UseControllerProps } from 'react-hook-form';
51
50
  import { VariantType as VariantType_2 } from 'notistack';
52
51
 
@@ -100,7 +99,6 @@ declare interface CommonDrawerProps extends DrawerProps_2 {
100
99
  isComponentLevelDrawer?: boolean;
101
100
  mainProps?: BoxProps;
102
101
  icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
103
- paperSx?: SxProps<Theme> | undefined;
104
102
  }
105
103
 
106
104
  declare type CopiedValue = string | null;
@@ -149,9 +147,9 @@ declare type HeaderMetadataType = {
149
147
  value: string | JSX.Element;
150
148
  };
151
149
 
152
- export declare function HeaderSubtitle({ subtitle, sx, ...rest }: HeaderSubtitleType): JSX_2.Element;
150
+ export declare function HeaderSubtitle({ subtitle }: HeaderSubtitleType): JSX_2.Element;
153
151
 
154
- declare type HeaderSubtitleType = TypographyProps & {
152
+ declare type HeaderSubtitleType = {
155
153
  subtitle: string;
156
154
  };
157
155
 
@@ -598,7 +596,7 @@ declare type InkToggleTextProps = ToggleButtonProps & {
598
596
  value: string | number;
599
597
  };
600
598
 
601
- export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, subtitle, }: InkWorkflowHeaderProps): JSX_2.Element;
599
+ export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, Subtitle, }: InkWorkflowHeaderProps): JSX_2.Element;
602
600
 
603
601
  export declare const inkWorkflowHeader: InkWorkflowHeaderPageObject;
604
602
 
@@ -615,7 +613,7 @@ declare type InkWorkflowHeaderProps = {
615
613
  label: string;
616
614
  Stepper?: JSX.Element;
617
615
  ButtonGroup?: JSX.Element | ActionButtonPropType;
618
- subtitle?: string;
616
+ Subtitle?: JSX.Element;
619
617
  };
620
618
 
621
619
  export declare function InternalUseOnlyAlert({ message, sx, messageSx, }: InternalUseOnlyAlertProp): JSX_2.Element;