@movable/ui 2.14.3 → 3.0.0-alpha-v6.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.
@@ -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';
@@ -7,6 +7,7 @@ export type MenuOption = MenuItemProps & {
7
7
  export type InkSelectProps = {
8
8
  menuOptions?: MenuOption[];
9
9
  helperText?: string;
10
+ placeholder?: string;
10
11
  } & MuiSelectProps;
11
12
  export type MenuPositionType = {
12
13
  maxHeight: number;
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
 
@@ -446,6 +444,7 @@ export declare class inkSelect {
446
444
  export declare type InkSelectProps = {
447
445
  menuOptions?: MenuOption[];
448
446
  helperText?: string;
447
+ placeholder?: string;
449
448
  } & MuiSelectProps;
450
449
 
451
450
  declare type InkSnackbarActionButtonProps = ButtonProps_2 & {
@@ -598,7 +597,7 @@ declare type InkToggleTextProps = ToggleButtonProps & {
598
597
  value: string | number;
599
598
  };
600
599
 
601
- export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, subtitle, }: InkWorkflowHeaderProps): JSX_2.Element;
600
+ export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, Subtitle, }: InkWorkflowHeaderProps): JSX_2.Element;
602
601
 
603
602
  export declare const inkWorkflowHeader: InkWorkflowHeaderPageObject;
604
603
 
@@ -615,7 +614,7 @@ declare type InkWorkflowHeaderProps = {
615
614
  label: string;
616
615
  Stepper?: JSX.Element;
617
616
  ButtonGroup?: JSX.Element | ActionButtonPropType;
618
- subtitle?: string;
617
+ Subtitle?: JSX.Element;
619
618
  };
620
619
 
621
620
  export declare function InternalUseOnlyAlert({ message, sx, messageSx, }: InternalUseOnlyAlertProp): JSX_2.Element;