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