@crystaltech/hsms-shared-ui 0.0.2-alpha-0.0.7 → 0.0.2-alpha-0.0.9

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>, "style" | "classes" | "children" | "className" | "fixed" | "maxWidth" | "sx" | "disableGutters"> & {
3
+ component?: React.ElementType;
4
+ }, {}, {}>;
3
5
  export default StyledComponent;
@@ -0,0 +1 @@
1
+ [data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,19 @@
1
+ export { default as AsyncAutocomplete } from './components/ui/AsyncAutocomplete';
2
+ export { default as CheckboxListWithAvatar } from './components/ui/CheckboxListWithAvatar';
3
+ export { default as ControlledDatePicker } from './components/ui/ControlledDatePicker';
4
+ export { default as CustomCheckbox } from './components/ui/CustomCheckbox';
5
+ export { default as CustomColorPicker } from './components/ui/CustomColorPicker';
6
+ export { default as CustomDatePicker } from './components/ui/CustomDatePicker';
7
+ export { default as CustomIconButton } from './components/ui/CustomIconButton';
8
+ export { default as CustomInput } from './components/ui/CustomInput';
9
+ export { default as CustomRadioGroup } from './components/ui/CustomRadioGroup';
10
+ export { default as CustomScrollbar } from './components/ui/CustomScrollbar';
11
+ export { default as CustomSelect } from './components/ui/CustomSelect';
12
+ export { default as CustomSelectableList } from './components/ui/CustomSelectableList';
13
+ export { default as CustomSwitch } from './components/ui/CustomSwitch';
14
+ export { default as CustomTabs } from './components/ui/CustomTabs';
15
+ export { default as CustomTextField } from './components/ui/CustomTextfield';
16
+ export { default as CustomButton } from './components/ui/CustomButton';
1
17
  export { default as MainLayout } from './components/layout/MainLayout';
2
18
  export { default as MainlayoutWithWrapper } from './components/layout/MainlayoutWithWrapper';
3
19
  export { default as MultiDynamicTable } from './components/MultiDynamicTable/MultiDynamicTable';