@data-c/ui 0.0.120-alpha.0 → 0.0.122-alpha.0

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/dist/index.d.ts CHANGED
@@ -219,6 +219,28 @@ interface MioAuthProps {
219
219
  }
220
220
  declare function MioAuth(props: MioAuthProps): react_jsx_runtime.JSX.Element;
221
221
 
222
+ interface MenuItemProps {
223
+ id: string;
224
+ label: string;
225
+ items?: MenuItemProps[];
226
+ link?: string;
227
+ icon?: ReactNode;
228
+ visible: boolean;
229
+ }
230
+ interface DrawerMenuProps {
231
+ width: number;
232
+ items: Array<MenuItemProps>;
233
+ logo: string;
234
+ minLogo: string;
235
+ label: string;
236
+ minLabel: string;
237
+ version?: string;
238
+ link?: string;
239
+ activeMenu?: string;
240
+ onMenuClick: (link: string) => void;
241
+ }
242
+ declare function DrawerMenu(props: DrawerMenuProps): react_jsx_runtime.JSX.Element;
243
+
222
244
  declare module '@mui/material/styles' {
223
245
  interface Components {
224
246
  [key: string]: any;
@@ -226,4 +248,4 @@ declare module '@mui/material/styles' {
226
248
  }
227
249
  declare const theme: _mui_material_styles.Theme;
228
250
 
229
- export { Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DeleteContainer, DeleteContainerProps, Dialog, DialogProps, FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, LabelValue, LabelValueProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, SearchTextField, Tooltip, TooltipProps, Transporter, TransporterProps, theme };
251
+ export { Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DeleteContainer, DeleteContainerProps, Dialog, DialogProps, DrawerMenu, DrawerMenuProps, FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, LabelValue, LabelValueProps, MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, SearchTextField, Tooltip, TooltipProps, Transporter, TransporterProps, theme };