@movable/ui 3.1.0 → 3.1.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.
- package/lib/index.d.ts +6 -5
- package/lib/index.mjs +6 -3
- package/lib/index.mjs.map +1 -1
- package/lib/theme.d.ts +2 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -52,7 +52,8 @@ import { SvgIconTypeMap } from '@mui/material';
|
|
|
52
52
|
import { SwitchProps } from '@mui/material/Switch';
|
|
53
53
|
import { SxProps } from '@mui/material';
|
|
54
54
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
55
|
-
import { Theme } from '@mui/material';
|
|
55
|
+
import { Theme } from '@mui/material/styles';
|
|
56
|
+
import { Theme as Theme_2 } from '@mui/material';
|
|
56
57
|
import { ToggleButtonGroupProps } from '@mui/material';
|
|
57
58
|
import { ToggleButtonProps } from '@mui/material';
|
|
58
59
|
import { TypographyProps } from '@mui/material';
|
|
@@ -123,7 +124,7 @@ declare interface CommonDrawerProps extends DrawerProps_2 {
|
|
|
123
124
|
isComponentLevelDrawer?: boolean;
|
|
124
125
|
mainProps?: BoxProps;
|
|
125
126
|
icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
|
|
126
|
-
paperSx?: SxProps<
|
|
127
|
+
paperSx?: SxProps<Theme_2> | undefined;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
declare type CopiedValue = string | null;
|
|
@@ -449,7 +450,7 @@ declare type InkEmptyStateProps = {
|
|
|
449
450
|
action?: ActionType;
|
|
450
451
|
variant: VariantType;
|
|
451
452
|
icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
|
|
452
|
-
sx?: SxProps<
|
|
453
|
+
sx?: SxProps<Theme_2>;
|
|
453
454
|
};
|
|
454
455
|
|
|
455
456
|
export declare function InkFormCheckboxGroup<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ control, name, rules, onChange, ...rest }: InkFormCheckboxGroupProps<TFieldValues, TName>): JSX_2.Element;
|
|
@@ -507,7 +508,7 @@ declare type InkPageHeaderProps = {
|
|
|
507
508
|
ButtonGroup?: JSX.Element;
|
|
508
509
|
Chips?: JSX.Element;
|
|
509
510
|
Tabs?: JSX.Element;
|
|
510
|
-
sx?: SxProps<
|
|
511
|
+
sx?: SxProps<Theme_2>;
|
|
511
512
|
};
|
|
512
513
|
|
|
513
514
|
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, isLoading, loadingSkeleton, ...props }: InkPaperProps): JSX_2.Element;
|
|
@@ -575,7 +576,7 @@ export declare type InkRadioTilesProps = {
|
|
|
575
576
|
value: string | number;
|
|
576
577
|
ref?: Ref<HTMLDivElement>;
|
|
577
578
|
direction?: 'row' | 'column';
|
|
578
|
-
cardSx?: SxProps<
|
|
579
|
+
cardSx?: SxProps<Theme_2>;
|
|
579
580
|
fullWidth?: boolean;
|
|
580
581
|
disabled?: boolean;
|
|
581
582
|
};
|
package/lib/index.mjs
CHANGED
|
@@ -24494,9 +24494,12 @@ const wE = {
|
|
|
24494
24494
|
variant: "elevation"
|
|
24495
24495
|
},
|
|
24496
24496
|
styleOverrides: {
|
|
24497
|
-
root: {
|
|
24498
|
-
padding: "0px"
|
|
24499
|
-
|
|
24497
|
+
root: ({ theme: e }) => ({
|
|
24498
|
+
padding: "0px",
|
|
24499
|
+
"& .MuiAccordionSummary-root": {
|
|
24500
|
+
fontSize: e.typography.body1.fontSize
|
|
24501
|
+
}
|
|
24502
|
+
})
|
|
24500
24503
|
}
|
|
24501
24504
|
},
|
|
24502
24505
|
MuiPopover: {
|