@galaxy-ds/core 2.1.1 → 2.1.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.
Files changed (107) hide show
  1. package/dist/Accordion/Accordion.stories.d.ts +361 -204
  2. package/dist/Accordion/Accordion.styled.d.ts +2 -1
  3. package/dist/AccordionDetails/AccordionDetails.stories.d.ts +33 -23
  4. package/dist/AccordionPanel/AccordionPanel.stories.d.ts +49 -17
  5. package/dist/AccordionSummary/AccordionSummary.stories.d.ts +92 -62
  6. package/dist/ActivityLog/ActivityLog.stories.d.ts +22 -4
  7. package/dist/ActivityLog/ActivityLog.styled.d.ts +2 -1
  8. package/dist/AppBar/AppBar.stories.d.ts +105 -85
  9. package/dist/AppBar/AppBar.styled.d.ts +3 -2
  10. package/dist/AttachmentIcon/AttachmentIcon.stories.d.ts +22 -1
  11. package/dist/Autocomplete/Autocomplete.stories.d.ts +480 -329
  12. package/dist/Autocomplete/Autocomplete.styled.d.ts +5 -4
  13. package/dist/Avatar/Avatar.stories.d.ts +233 -194
  14. package/dist/Avatar/Avatar.styled.d.ts +2 -1
  15. package/dist/AvatarGroup/AvatarGroup.stories.d.ts +249 -174
  16. package/dist/BottomListButton/BottomListButton.stories.d.ts +67 -43
  17. package/dist/BottomListButton/BottomListButton.styled.d.ts +2 -1
  18. package/dist/Box/Box.stories.d.ts +67 -57
  19. package/dist/Breadcrumbs/Breadcrumbs.stories.d.ts +77 -52
  20. package/dist/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -1
  21. package/dist/Button/Button.stories.d.ts +473 -423
  22. package/dist/Button/Button.styled.d.ts +2 -1
  23. package/dist/Card/Card.stories.d.ts +49 -29
  24. package/dist/Card/Card.styled.d.ts +2 -1
  25. package/dist/Checkbox/Checkbox.stories.d.ts +320 -235
  26. package/dist/Chip/Chip.stories.d.ts +439 -112
  27. package/dist/Chip/Chip.styled.d.ts +2 -1
  28. package/dist/CssBaseline/CssBaseline.stories.d.ts +3 -2
  29. package/dist/DatePicker/DatePicker.stories.d.ts +1 -0
  30. package/dist/DatePicker/DatePicker.styled.d.ts +1 -0
  31. package/dist/DateRangePicker/DateRangePicker.stories.d.ts +34 -33
  32. package/dist/DateRangePicker/DateRangePicker.styled.d.ts +1 -0
  33. package/dist/Dialog/Dialog.stories.d.ts +232 -137
  34. package/dist/Divider/Divider.stories.d.ts +81 -53
  35. package/dist/Drawer/Drawer.stories.d.ts +141 -87
  36. package/dist/DrawerMenu/DrawerMenu.stories.d.ts +103 -86
  37. package/dist/DrawerMenu/DrawerMenu.styled.d.ts +2 -1
  38. package/dist/DrawerMenu/DrawerMenu.types.d.ts +0 -16
  39. package/dist/Dropdown/Dropdown.stories.d.ts +529 -460
  40. package/dist/EmptyState/EmptyState.stories.d.ts +6 -9
  41. package/dist/EmptyState/EmptyState.styled.d.ts +3 -2
  42. package/dist/FooterActions/FooterActions.stories.d.ts +27 -12
  43. package/dist/FooterActions/FooterActions.styled.d.ts +2 -1
  44. package/dist/FormBody/FormBody.stories.d.ts +4 -3
  45. package/dist/FormBody/FormBody.styled.d.ts +1 -0
  46. package/dist/FormContainer/FormContainer.stories.d.ts +4 -3
  47. package/dist/FormContainer/FormContainer.styled.d.ts +2 -1
  48. package/dist/FormGroup/FormGroup.stories.d.ts +336 -52
  49. package/dist/FormHeader/FormHeader.stories.d.ts +6 -5
  50. package/dist/FormHeader/FormHeader.styled.d.ts +4 -3
  51. package/dist/Grid/Grid.stories.d.ts +1001 -22
  52. package/dist/HeaderToolbar/HeaderToolbar.stories.d.ts +175 -155
  53. package/dist/HeaderToolbar/HeaderToolbar.styled.d.ts +7 -6
  54. package/dist/Icon/Icon.stories.d.ts +628 -618
  55. package/dist/IconButton/IconButton.d.ts +1 -0
  56. package/dist/IconButton/IconButton.stories.d.ts +98 -52
  57. package/dist/Icons/doctype-icons.stories.d.ts +827 -824
  58. package/dist/Icons/lawconnect-icons.stories.d.ts +491 -0
  59. package/dist/Icons/leap-icons.stories.d.ts +2521 -1054
  60. package/dist/ImageUpload/ImageUpload.stories.d.ts +9 -1
  61. package/dist/ImageUpload/ImageUpload.styled.d.ts +1 -0
  62. package/dist/Input/Input.stories.d.ts +795 -840
  63. package/dist/Input/Input.styled.d.ts +3 -2
  64. package/dist/ListItemHoverContent/ListItemHoverContent.styled.d.ts +1 -0
  65. package/dist/Loader/Loader.styled.d.ts +2 -1
  66. package/dist/Menu/Menu.d.ts +1 -0
  67. package/dist/MenuHeader/MenuHeader.styled.d.ts +2 -1
  68. package/dist/Popover/Popover.types.d.ts +0 -2
  69. package/dist/RibbonButton/RibbonButton.d.ts +1 -0
  70. package/dist/RibbonButton/RibbonButton.styled.d.ts +3 -2
  71. package/dist/RibbonButtonGroup/RibbonButtonGroup.d.ts +1 -0
  72. package/dist/RibbonButtonGroup/RibbonButtonGroup.styled.d.ts +3 -2
  73. package/dist/SidebarLayout/SidebarLayout.types.d.ts +1 -1
  74. package/dist/StepNavigation/StepNavigation.styled.d.ts +1 -0
  75. package/dist/Tab/Tab.styled.d.ts +2 -1
  76. package/dist/TabListItem/TabListItem.styled.d.ts +3 -2
  77. package/dist/Tabs/Tabs.styled.d.ts +2 -1
  78. package/dist/Tag/Tag.styled.d.ts +4 -3
  79. package/dist/TextEditor/TextEditor.d.ts +2 -0
  80. package/dist/TextEditor/TextEditor.stories.d.ts +8 -0
  81. package/dist/TextEditor/TextEditor.styled.d.ts +2 -0
  82. package/dist/TextEditor/TextEditor.types.d.ts +27 -0
  83. package/dist/TextEditor/extensions/Placeholders/Placeholders.d.ts +32 -0
  84. package/dist/TextEditor/extensions/Placeholders/components/Placeholder/Placeholder.d.ts +13 -0
  85. package/dist/TextEditor/extensions/Placeholders/components/Placeholder/Placeholder.styled.d.ts +3 -0
  86. package/dist/TextEditor/extensions/Placeholders/components/index.d.ts +1 -0
  87. package/dist/TextEditor/extensions/Placeholders/index.d.ts +2 -0
  88. package/dist/TextEditor/extensions/index.d.ts +1 -0
  89. package/dist/TextEditor/hooks/index.d.ts +1 -0
  90. package/dist/TextEditor/hooks/useEditor.d.ts +2 -0
  91. package/dist/TextEditor/index.d.ts +3 -0
  92. package/dist/TextEditorIcons/BoldIcon.d.ts +2 -0
  93. package/dist/TextEditorIcons/ItalicIcon.d.ts +2 -0
  94. package/dist/TextEditorMenuBar/TextEditorMenuBar.d.ts +2 -0
  95. package/dist/TextEditorMenuBar/TextEditorMenuBar.styled.d.ts +3 -0
  96. package/dist/TextEditorMenuBar/TextEditorMenuBar.types.d.ts +6 -0
  97. package/dist/TextEditorMenuBar/index.d.ts +2 -0
  98. package/dist/Typography/Typography.stories.d.ts +0 -3
  99. package/dist/index.d.ts +1 -0
  100. package/dist/index.esm.js +29270 -36
  101. package/dist/index.esm.js.map +1 -1
  102. package/dist/index.js +29256 -19
  103. package/dist/index.js.map +1 -1
  104. package/dist/stories/resources/tokensColorsLeap.d.ts +5 -4
  105. package/dist/stories/resources/typographyLeapDesktop.d.ts +5 -4
  106. package/dist/stories/resources/typographyLeapWeb.d.ts +5 -4
  107. package/package.json +4 -1
@@ -1,3 +1,6 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ /// <reference types="trusted-types" />
1
4
  import { BADGE } from '@geometricpanda/storybook-addon-badges';
2
5
  /**
3
6
  * Drawer Menu Item
@@ -9,11 +12,11 @@ declare const meta: {
9
12
  badges: BADGE[];
10
13
  layout: string;
11
14
  };
12
- decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
13
- children: React.ReactNode;
15
+ decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
16
+ children?: import("react").ReactNode;
14
17
  classes?: (Partial<import("@mui/material").MenuItemClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
15
18
  className?: string | undefined;
16
- style?: React.CSSProperties | undefined;
19
+ style?: import("react").CSSProperties | undefined;
17
20
  color?: string | undefined;
18
21
  sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
19
22
  slot?: string | undefined;
@@ -22,30 +25,30 @@ declare const meta: {
22
25
  id?: string | undefined;
23
26
  lang?: string | undefined;
24
27
  role?: import("react").AriaRole | undefined;
25
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
28
+ tabIndex?: number | undefined;
26
29
  "aria-activedescendant"?: string | undefined;
27
30
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
28
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
31
+ "aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
29
32
  "aria-braillelabel"?: string | undefined;
30
33
  "aria-brailleroledescription"?: string | undefined;
31
34
  "aria-busy"?: (boolean | "false" | "true") | undefined;
32
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
35
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
33
36
  "aria-colcount"?: number | undefined;
34
37
  "aria-colindex"?: number | undefined;
35
38
  "aria-colindextext"?: string | undefined;
36
39
  "aria-colspan"?: number | undefined;
37
40
  "aria-controls"?: string | undefined;
38
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
41
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
39
42
  "aria-describedby"?: string | undefined;
40
43
  "aria-description"?: string | undefined;
41
44
  "aria-details"?: string | undefined;
42
45
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
43
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
46
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
44
47
  "aria-errormessage"?: string | undefined;
45
48
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
46
49
  "aria-flowto"?: string | undefined;
47
50
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
48
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
51
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
49
52
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
50
53
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
51
54
  "aria-keyshortcuts"?: string | undefined;
@@ -60,9 +63,9 @@ declare const meta: {
60
63
  "aria-owns"?: string | undefined;
61
64
  "aria-placeholder"?: string | undefined;
62
65
  "aria-posinset"?: number | undefined;
63
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
66
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
64
67
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
65
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
68
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
66
69
  "aria-required"?: (boolean | "false" | "true") | undefined;
67
70
  "aria-roledescription"?: string | undefined;
68
71
  "aria-rowcount"?: number | undefined;
@@ -241,7 +244,7 @@ declare const meta: {
241
244
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
242
245
  key?: import("react").Key | null | undefined;
243
246
  disabled?: boolean | undefined;
244
- variant?: ("dark" | "light") | undefined;
247
+ variant?: "dark" | "light" | undefined;
245
248
  content?: string | undefined;
246
249
  translate?: "yes" | "no" | undefined;
247
250
  disableGutters?: boolean | undefined;
@@ -250,7 +253,7 @@ declare const meta: {
250
253
  suppressContentEditableWarning?: boolean | undefined;
251
254
  accessKey?: string | undefined;
252
255
  autoFocus?: boolean | undefined;
253
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
256
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
254
257
  contextMenu?: string | undefined;
255
258
  dir?: string | undefined;
256
259
  draggable?: (boolean | "false" | "true") | undefined;
@@ -278,41 +281,58 @@ declare const meta: {
278
281
  itemRef?: string | undefined;
279
282
  results?: number | undefined;
280
283
  security?: string | undefined;
281
- unselectable?: "on" | "off" | undefined;
282
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
284
+ unselectable?: "off" | "on" | undefined;
285
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
283
286
  is?: string | undefined;
284
- action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
287
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
285
288
  centerRipple?: boolean | undefined;
286
289
  disableRipple?: boolean | undefined;
287
290
  disableTouchRipple?: boolean | undefined;
288
291
  focusRipple?: boolean | undefined;
289
292
  focusVisibleClassName?: string | undefined;
290
- LinkComponent?: React.ElementType | undefined;
291
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
293
+ LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
294
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
292
295
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
293
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
296
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
294
297
  value?: string | number | readonly string[] | undefined;
295
- component?: React.ElementType | undefined;
296
- open?: boolean | undefined;
298
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
297
299
  dense?: boolean | undefined;
298
- startAdornment?: React.ReactNode;
300
+ startAdornment?: import("react").ReactNode;
299
301
  selected?: boolean | undefined;
300
302
  divider?: boolean | undefined;
301
303
  submenu?: boolean | undefined;
302
304
  expand?: boolean | undefined;
303
305
  ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
304
306
  }>) => import("react/jsx-runtime").JSX.Element)[];
307
+ argTypes: {
308
+ children: {
309
+ control: {
310
+ type: undefined;
311
+ };
312
+ };
313
+ LinkComponent: {
314
+ control: {
315
+ type: undefined;
316
+ };
317
+ };
318
+ onFocusVisible: {
319
+ control: {
320
+ type: undefined;
321
+ };
322
+ };
323
+ };
305
324
  };
306
325
  export default meta;
307
326
  export declare const Default: {
308
327
  args: {
328
+ variant: "light";
309
329
  children: import("react/jsx-runtime").JSX.Element;
310
330
  };
311
- play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").ReactRenderer, {
312
- children: React.ReactNode;
331
+ play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react/dist/types-0fc72a6d").R, {
332
+ children?: import("react").ReactNode;
313
333
  classes?: (Partial<import("@mui/material").MenuItemClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
314
334
  className?: string | undefined;
315
- style?: React.CSSProperties | undefined;
335
+ style?: import("react").CSSProperties | undefined;
316
336
  color?: string | undefined;
317
337
  sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
318
338
  slot?: string | undefined;
@@ -321,30 +341,30 @@ export declare const Default: {
321
341
  id?: string | undefined;
322
342
  lang?: string | undefined;
323
343
  role?: import("react").AriaRole | undefined;
324
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
344
+ tabIndex?: number | undefined;
325
345
  "aria-activedescendant"?: string | undefined;
326
346
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
327
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
347
+ "aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
328
348
  "aria-braillelabel"?: string | undefined;
329
349
  "aria-brailleroledescription"?: string | undefined;
330
350
  "aria-busy"?: (boolean | "false" | "true") | undefined;
331
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
351
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
332
352
  "aria-colcount"?: number | undefined;
333
353
  "aria-colindex"?: number | undefined;
334
354
  "aria-colindextext"?: string | undefined;
335
355
  "aria-colspan"?: number | undefined;
336
356
  "aria-controls"?: string | undefined;
337
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
357
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
338
358
  "aria-describedby"?: string | undefined;
339
359
  "aria-description"?: string | undefined;
340
360
  "aria-details"?: string | undefined;
341
361
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
342
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
362
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
343
363
  "aria-errormessage"?: string | undefined;
344
364
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
345
365
  "aria-flowto"?: string | undefined;
346
366
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
347
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
367
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
348
368
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
349
369
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
350
370
  "aria-keyshortcuts"?: string | undefined;
@@ -359,9 +379,9 @@ export declare const Default: {
359
379
  "aria-owns"?: string | undefined;
360
380
  "aria-placeholder"?: string | undefined;
361
381
  "aria-posinset"?: number | undefined;
362
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
382
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
363
383
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
364
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
384
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
365
385
  "aria-required"?: (boolean | "false" | "true") | undefined;
366
386
  "aria-roledescription"?: string | undefined;
367
387
  "aria-rowcount"?: number | undefined;
@@ -540,7 +560,7 @@ export declare const Default: {
540
560
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
541
561
  key?: import("react").Key | null | undefined;
542
562
  disabled?: boolean | undefined;
543
- variant?: ("dark" | "light") | undefined;
563
+ variant?: "dark" | "light" | undefined;
544
564
  content?: string | undefined;
545
565
  translate?: "yes" | "no" | undefined;
546
566
  disableGutters?: boolean | undefined;
@@ -549,7 +569,7 @@ export declare const Default: {
549
569
  suppressContentEditableWarning?: boolean | undefined;
550
570
  accessKey?: string | undefined;
551
571
  autoFocus?: boolean | undefined;
552
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
572
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
553
573
  contextMenu?: string | undefined;
554
574
  dir?: string | undefined;
555
575
  draggable?: (boolean | "false" | "true") | undefined;
@@ -577,24 +597,23 @@ export declare const Default: {
577
597
  itemRef?: string | undefined;
578
598
  results?: number | undefined;
579
599
  security?: string | undefined;
580
- unselectable?: "on" | "off" | undefined;
581
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
600
+ unselectable?: "off" | "on" | undefined;
601
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
582
602
  is?: string | undefined;
583
- action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
603
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
584
604
  centerRipple?: boolean | undefined;
585
605
  disableRipple?: boolean | undefined;
586
606
  disableTouchRipple?: boolean | undefined;
587
607
  focusRipple?: boolean | undefined;
588
608
  focusVisibleClassName?: string | undefined;
589
- LinkComponent?: React.ElementType | undefined;
590
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
609
+ LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
610
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
591
611
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
592
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
612
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
593
613
  value?: string | number | readonly string[] | undefined;
594
- component?: React.ElementType | undefined;
595
- open?: boolean | undefined;
614
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
596
615
  dense?: boolean | undefined;
597
- startAdornment?: React.ReactNode;
616
+ startAdornment?: import("react").ReactNode;
598
617
  selected?: boolean | undefined;
599
618
  divider?: boolean | undefined;
600
619
  submenu?: boolean | undefined;
@@ -609,10 +628,10 @@ export declare const Default: {
609
628
  };
610
629
  };
611
630
  render: (args: {
612
- children: React.ReactNode;
631
+ children?: import("react").ReactNode;
613
632
  classes?: (Partial<import("@mui/material").MenuItemClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
614
633
  className?: string | undefined;
615
- style?: React.CSSProperties | undefined;
634
+ style?: import("react").CSSProperties | undefined;
616
635
  color?: string | undefined;
617
636
  sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
618
637
  slot?: string | undefined;
@@ -621,30 +640,30 @@ export declare const Default: {
621
640
  id?: string | undefined;
622
641
  lang?: string | undefined;
623
642
  role?: import("react").AriaRole | undefined;
624
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
643
+ tabIndex?: number | undefined;
625
644
  "aria-activedescendant"?: string | undefined;
626
645
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
627
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
646
+ "aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
628
647
  "aria-braillelabel"?: string | undefined;
629
648
  "aria-brailleroledescription"?: string | undefined;
630
649
  "aria-busy"?: (boolean | "false" | "true") | undefined;
631
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
650
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
632
651
  "aria-colcount"?: number | undefined;
633
652
  "aria-colindex"?: number | undefined;
634
653
  "aria-colindextext"?: string | undefined;
635
654
  "aria-colspan"?: number | undefined;
636
655
  "aria-controls"?: string | undefined;
637
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
656
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
638
657
  "aria-describedby"?: string | undefined;
639
658
  "aria-description"?: string | undefined;
640
659
  "aria-details"?: string | undefined;
641
660
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
642
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
661
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
643
662
  "aria-errormessage"?: string | undefined;
644
663
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
645
664
  "aria-flowto"?: string | undefined;
646
665
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
647
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
666
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
648
667
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
649
668
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
650
669
  "aria-keyshortcuts"?: string | undefined;
@@ -659,9 +678,9 @@ export declare const Default: {
659
678
  "aria-owns"?: string | undefined;
660
679
  "aria-placeholder"?: string | undefined;
661
680
  "aria-posinset"?: number | undefined;
662
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
681
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
663
682
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
664
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
683
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
665
684
  "aria-required"?: (boolean | "false" | "true") | undefined;
666
685
  "aria-roledescription"?: string | undefined;
667
686
  "aria-rowcount"?: number | undefined;
@@ -840,7 +859,7 @@ export declare const Default: {
840
859
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
841
860
  key?: import("react").Key | null | undefined;
842
861
  disabled?: boolean | undefined;
843
- variant?: ("dark" | "light") | undefined;
862
+ variant?: "dark" | "light" | undefined;
844
863
  content?: string | undefined;
845
864
  translate?: "yes" | "no" | undefined;
846
865
  disableGutters?: boolean | undefined;
@@ -849,7 +868,7 @@ export declare const Default: {
849
868
  suppressContentEditableWarning?: boolean | undefined;
850
869
  accessKey?: string | undefined;
851
870
  autoFocus?: boolean | undefined;
852
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
871
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
853
872
  contextMenu?: string | undefined;
854
873
  dir?: string | undefined;
855
874
  draggable?: (boolean | "false" | "true") | undefined;
@@ -877,24 +896,23 @@ export declare const Default: {
877
896
  itemRef?: string | undefined;
878
897
  results?: number | undefined;
879
898
  security?: string | undefined;
880
- unselectable?: "on" | "off" | undefined;
881
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
899
+ unselectable?: "off" | "on" | undefined;
900
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
882
901
  is?: string | undefined;
883
- action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
902
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
884
903
  centerRipple?: boolean | undefined;
885
904
  disableRipple?: boolean | undefined;
886
905
  disableTouchRipple?: boolean | undefined;
887
906
  focusRipple?: boolean | undefined;
888
907
  focusVisibleClassName?: string | undefined;
889
- LinkComponent?: React.ElementType | undefined;
890
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
908
+ LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
909
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
891
910
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
892
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
911
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
893
912
  value?: string | number | readonly string[] | undefined;
894
- component?: React.ElementType | undefined;
895
- open?: boolean | undefined;
913
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
896
914
  dense?: boolean | undefined;
897
- startAdornment?: React.ReactNode;
915
+ startAdornment?: import("react").ReactNode;
898
916
  selected?: boolean | undefined;
899
917
  divider?: boolean | undefined;
900
918
  submenu?: boolean | undefined;
@@ -908,10 +926,10 @@ export declare const Selected: {
908
926
  selected: true;
909
927
  };
910
928
  render: (args: {
911
- children: React.ReactNode;
929
+ children?: import("react").ReactNode;
912
930
  classes?: (Partial<import("@mui/material").MenuItemClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
913
931
  className?: string | undefined;
914
- style?: React.CSSProperties | undefined;
932
+ style?: import("react").CSSProperties | undefined;
915
933
  color?: string | undefined;
916
934
  sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
917
935
  slot?: string | undefined;
@@ -920,30 +938,30 @@ export declare const Selected: {
920
938
  id?: string | undefined;
921
939
  lang?: string | undefined;
922
940
  role?: import("react").AriaRole | undefined;
923
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
941
+ tabIndex?: number | undefined;
924
942
  "aria-activedescendant"?: string | undefined;
925
943
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
926
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
944
+ "aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
927
945
  "aria-braillelabel"?: string | undefined;
928
946
  "aria-brailleroledescription"?: string | undefined;
929
947
  "aria-busy"?: (boolean | "false" | "true") | undefined;
930
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
948
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
931
949
  "aria-colcount"?: number | undefined;
932
950
  "aria-colindex"?: number | undefined;
933
951
  "aria-colindextext"?: string | undefined;
934
952
  "aria-colspan"?: number | undefined;
935
953
  "aria-controls"?: string | undefined;
936
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
954
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
937
955
  "aria-describedby"?: string | undefined;
938
956
  "aria-description"?: string | undefined;
939
957
  "aria-details"?: string | undefined;
940
958
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
941
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
959
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
942
960
  "aria-errormessage"?: string | undefined;
943
961
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
944
962
  "aria-flowto"?: string | undefined;
945
963
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
946
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
964
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
947
965
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
948
966
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
949
967
  "aria-keyshortcuts"?: string | undefined;
@@ -958,9 +976,9 @@ export declare const Selected: {
958
976
  "aria-owns"?: string | undefined;
959
977
  "aria-placeholder"?: string | undefined;
960
978
  "aria-posinset"?: number | undefined;
961
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
979
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
962
980
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
963
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
981
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
964
982
  "aria-required"?: (boolean | "false" | "true") | undefined;
965
983
  "aria-roledescription"?: string | undefined;
966
984
  "aria-rowcount"?: number | undefined;
@@ -1139,7 +1157,7 @@ export declare const Selected: {
1139
1157
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
1140
1158
  key?: import("react").Key | null | undefined;
1141
1159
  disabled?: boolean | undefined;
1142
- variant?: ("dark" | "light") | undefined;
1160
+ variant?: "dark" | "light" | undefined;
1143
1161
  content?: string | undefined;
1144
1162
  translate?: "yes" | "no" | undefined;
1145
1163
  disableGutters?: boolean | undefined;
@@ -1148,7 +1166,7 @@ export declare const Selected: {
1148
1166
  suppressContentEditableWarning?: boolean | undefined;
1149
1167
  accessKey?: string | undefined;
1150
1168
  autoFocus?: boolean | undefined;
1151
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
1169
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
1152
1170
  contextMenu?: string | undefined;
1153
1171
  dir?: string | undefined;
1154
1172
  draggable?: (boolean | "false" | "true") | undefined;
@@ -1176,24 +1194,23 @@ export declare const Selected: {
1176
1194
  itemRef?: string | undefined;
1177
1195
  results?: number | undefined;
1178
1196
  security?: string | undefined;
1179
- unselectable?: "on" | "off" | undefined;
1180
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
1197
+ unselectable?: "off" | "on" | undefined;
1198
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1181
1199
  is?: string | undefined;
1182
- action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
1200
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
1183
1201
  centerRipple?: boolean | undefined;
1184
1202
  disableRipple?: boolean | undefined;
1185
1203
  disableTouchRipple?: boolean | undefined;
1186
1204
  focusRipple?: boolean | undefined;
1187
1205
  focusVisibleClassName?: string | undefined;
1188
- LinkComponent?: React.ElementType | undefined;
1189
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
1206
+ LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
1207
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
1190
1208
  TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
1191
- touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
1209
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
1192
1210
  value?: string | number | readonly string[] | undefined;
1193
- component?: React.ElementType | undefined;
1194
- open?: boolean | undefined;
1211
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
1195
1212
  dense?: boolean | undefined;
1196
- startAdornment?: React.ReactNode;
1213
+ startAdornment?: import("react").ReactNode;
1197
1214
  selected?: boolean | undefined;
1198
1215
  divider?: boolean | undefined;
1199
1216
  submenu?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const DrawerMenuContainer: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
2
- ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
3
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
3
4
  }, "children" | "classes" | "className" | "style" | "sx" | "tabIndex" | "disabled" | "disableGutters" | "autoFocus" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,23 +1,7 @@
1
1
  import React from 'react';
2
2
  import { MenuItemProps } from '@mui/material';
3
3
  export interface DrawerMenuProps extends MenuItemProps {
4
- /**
5
- * Menu item contents
6
- */
7
- children: React.ReactNode;
8
- /**
9
- * Seleted state
10
- */
11
- selected?: boolean;
12
- /**
13
- * ref attribute
14
- */
15
4
  ref?: React.MutableRefObject<HTMLLIElement>;
16
- /**
17
- * value label string
18
- */
19
- value?: string | number | readonly string[] | undefined;
20
- open?: boolean;
21
5
  /**
22
6
  * Icon
23
7
  */