@movable/ui 2.14.0 → 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';
@@ -7,6 +7,7 @@ interface Option {
7
7
  description?: string;
8
8
  subDescription?: string;
9
9
  disabled?: boolean;
10
+ bottomContent?: string | JSX.Element;
10
11
  }
11
12
  export type InkRadioTilesProps = {
12
13
  name: string;
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;
@@ -676,6 +677,7 @@ declare interface Option_2 {
676
677
  description?: string;
677
678
  subDescription?: string;
678
679
  disabled?: boolean;
680
+ bottomContent?: string | JSX.Element;
679
681
  }
680
682
 
681
683
  export declare function PageHeaderActionButtons({ primaryAction, secondaryAction, dropdownAction, }: PageHeaderActionButtonsProps): JSX_2.Element;