@movable/ui 2.14.1 → 2.14.2

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,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
@@ -99,6 +99,7 @@ declare interface CommonDrawerProps extends DrawerProps_2 {
99
99
  isComponentLevelDrawer?: boolean;
100
100
  mainProps?: BoxProps;
101
101
  icon?: JSX.Element | OverridableComponent<SvgIconTypeMap<object, 'svg'>>;
102
+ paperSx?: SxProps<Theme> | undefined;
102
103
  }
103
104
 
104
105
  declare type CopiedValue = string | null;