@crystaltech/hsms-shared-ui 0.0.2-alpha-0.0.8 → 0.0.2-alpha-0.0.10

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.
@@ -3,6 +3,7 @@ export interface MenuItem {
3
3
  label: string;
4
4
  icon: React.ReactElement<SvgIconProps>;
5
5
  link: string;
6
+ children?: MenuItem[];
6
7
  }
7
8
  export interface IMenuConfig {
8
9
  items: MenuItem[];
@@ -1,3 +1,5 @@
1
- import { ContainerProps } from '@mui/material/Container';
2
- declare const StyledComponent: React.ComponentType<ContainerProps>;
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const StyledComponent: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/system').Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<import('@mui/system').Theme>> & import('@mui/system').MUIStyledCommonProps<Theme> & import('@mui/material').ContainerOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "maxWidth" | "children" | "sx" | "style" | "className" | "fixed" | "classes" | "disableGutters"> & {
3
+ component?: React.ElementType;
4
+ }, {}, {}>;
3
5
  export default StyledComponent;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { default as ThemeSetting } from './components/ThemeSetting';
1
2
  export { default as AsyncAutocomplete } from './components/ui/AsyncAutocomplete';
2
3
  export { default as CheckboxListWithAvatar } from './components/ui/CheckboxListWithAvatar';
3
4
  export { default as ControlledDatePicker } from './components/ui/ControlledDatePicker';