@surveycake/rc 3.0.0-alpha.99 → 3.0.0-gitlab-test.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 (94) hide show
  1. package/CHANGELOG.md +545 -0
  2. package/README.md +16 -3
  3. package/dist/EditableTable/index.d.ts +1 -1
  4. package/dist/Portal/index.d.ts +1 -1
  5. package/dist/V2/AccordionSelect/AccordionSelect.stories.d.ts +5 -0
  6. package/dist/V2/AccordionSelect/AccordionSelectGroup.stories.d.ts +4 -0
  7. package/dist/V2/AccordionSelect/components/AccordionSelectGroup.d.ts +13 -0
  8. package/dist/V2/AccordionSelect/components/AccordionSelectItem.d.ts +11 -0
  9. package/dist/V2/AccordionSelect/components/GreyBlock.d.ts +6 -0
  10. package/dist/V2/AccordionSelect/components/Placeholder.d.ts +7 -0
  11. package/dist/V2/AccordionSelect/index.d.ts +16 -0
  12. package/dist/V2/Autocomplete/Autocomplete.stories.d.ts +1 -0
  13. package/dist/V2/Autocomplete/index.d.ts +3 -2
  14. package/dist/V2/Dialog/styles.d.ts +3 -0
  15. package/dist/V2/Drawer/Drawer.stories.d.ts +4 -0
  16. package/dist/V2/Drawer/index.d.ts +6 -0
  17. package/dist/V2/FormLabel/FormLabel.stories.d.ts +2 -0
  18. package/dist/V2/Icon/Customize/AIFile.d.ts +3 -0
  19. package/dist/V2/Icon/Customize/Advertisement.d.ts +3 -0
  20. package/dist/V2/Icon/Customize/AutoAwesome.d.ts +3 -0
  21. package/dist/V2/Icon/Customize/CardboardBox.d.ts +3 -0
  22. package/dist/V2/Icon/Customize/Collapse.d.ts +3 -0
  23. package/dist/V2/Icon/Customize/Combine.d.ts +3 -0
  24. package/dist/V2/Icon/Customize/Copy.d.ts +3 -0
  25. package/dist/V2/Icon/Customize/Coupon.d.ts +3 -0
  26. package/dist/V2/Icon/Customize/CurlyBrackets.d.ts +3 -0
  27. package/dist/V2/Icon/Customize/Design.d.ts +3 -0
  28. package/dist/V2/Icon/Customize/DisplayLogic.d.ts +3 -0
  29. package/dist/V2/Icon/Customize/DonutChart.d.ts +3 -0
  30. package/dist/V2/Icon/Customize/DriveFileMove.d.ts +3 -0
  31. package/dist/V2/Icon/Customize/EmailFilled.d.ts +3 -0
  32. package/dist/V2/Icon/Customize/EmbedCode.d.ts +3 -0
  33. package/dist/V2/Icon/Customize/ExpandAll.d.ts +3 -0
  34. package/dist/V2/Icon/Customize/ExportSheet.d.ts +3 -0
  35. package/dist/V2/Icon/Customize/FileExport.d.ts +3 -0
  36. package/dist/V2/Icon/Customize/GridView.d.ts +3 -0
  37. package/dist/V2/Icon/Customize/IntegrationInstructionsOutlined.d.ts +3 -0
  38. package/dist/V2/Icon/Customize/LinkedIn.d.ts +3 -0
  39. package/dist/V2/Icon/Customize/Logic.d.ts +3 -0
  40. package/dist/V2/Icon/Customize/Maximum.d.ts +3 -0
  41. package/dist/V2/Icon/Customize/None.d.ts +3 -0
  42. package/dist/V2/Icon/Customize/QrCode.d.ts +3 -0
  43. package/dist/V2/Icon/Customize/Randomize.d.ts +3 -0
  44. package/dist/V2/Icon/Customize/ShieldError.d.ts +3 -0
  45. package/dist/V2/Icon/Customize/ShieldStar.d.ts +3 -0
  46. package/dist/V2/Icon/Customize/ShieldSuccess.d.ts +3 -0
  47. package/dist/V2/Icon/Customize/ShieldWarning.d.ts +3 -0
  48. package/dist/V2/Icon/Customize/ShortText.d.ts +3 -0
  49. package/dist/V2/Icon/Customize/Skip.d.ts +3 -0
  50. package/dist/V2/Icon/Customize/Swords.d.ts +3 -0
  51. package/dist/V2/Icon/Customize/Synchronize.d.ts +3 -0
  52. package/dist/V2/Icon/Customize/Tag.d.ts +3 -0
  53. package/dist/V2/Icon/Customize/TypeConstantSum.d.ts +3 -0
  54. package/dist/V2/Icon/Customize/TypeDatePicker.d.ts +2 -2
  55. package/dist/V2/Icon/Customize/TypeNPS.d.ts +3 -0
  56. package/dist/V2/Icon/Customize/TypeNestMulti.d.ts +3 -0
  57. package/dist/V2/Icon/Customize/TypeNestedDropdown.d.ts +3 -0
  58. package/dist/V2/Icon/Customize/UploadFile.d.ts +3 -0
  59. package/dist/V2/Icon/Customize/Video.d.ts +3 -0
  60. package/dist/V2/Icon/Customize/X.d.ts +3 -0
  61. package/dist/V2/Icon/Customize/index.d.ts +43 -1
  62. package/dist/V2/Icon/index.d.ts +87 -9
  63. package/dist/V2/List/index.d.ts +1 -1
  64. package/dist/V2/Menu/Menu.stories.d.ts +4 -0
  65. package/dist/V2/Menu/index.d.ts +6 -0
  66. package/dist/V2/Menu/styles.d.ts +3 -0
  67. package/dist/V2/MultiVarSelect/MultiVarSelect.stories.d.ts +1 -0
  68. package/dist/V2/MultiVarSelect/index.d.ts +8 -2
  69. package/dist/V2/NestedAccordionSelect/NestedAccordionSelect.stories.d.ts +8 -0
  70. package/dist/V2/NestedAccordionSelect/NestedAccordionSelectGroup.stories.d.ts +8 -0
  71. package/dist/V2/NestedAccordionSelect/components/GreyBlock.d.ts +6 -0
  72. package/dist/V2/NestedAccordionSelect/components/NestedAccordionSelectGroup.d.ts +14 -0
  73. package/dist/V2/NestedAccordionSelect/components/NestedAccordionSelectItem.d.ts +14 -0
  74. package/dist/V2/NestedAccordionSelect/components/Placeholder.d.ts +7 -0
  75. package/dist/V2/NestedAccordionSelect/index.d.ts +18 -0
  76. package/dist/V2/OutlinedInput/OutlinedInput.stories.d.ts +1 -0
  77. package/dist/V2/Popover/index.d.ts +1 -1
  78. package/dist/V2/Popover/styles.d.ts +3 -0
  79. package/dist/V2/Select/styles.d.ts +0 -1
  80. package/dist/V2/Shadows/Shadows.stories.d.ts +4 -0
  81. package/dist/V2/SwipeableDrawer/SwipeableDrawer.stories.d.ts +4 -0
  82. package/dist/V2/SwipeableDrawer/index.d.ts +6 -0
  83. package/dist/V2/VarSelect/index.d.ts +1 -1
  84. package/dist/V2/index.d.ts +6 -0
  85. package/dist/V2/styles/useThemeCompat.d.ts +172 -0
  86. package/dist/customEmotion.d.ts +16 -0
  87. package/dist/index.d.ts +1 -0
  88. package/dist/rc.cjs.development.js +2543 -666
  89. package/dist/rc.cjs.development.js.map +1 -1
  90. package/dist/rc.cjs.production.min.js +1 -1
  91. package/dist/rc.cjs.production.min.js.map +1 -1
  92. package/dist/rc.esm.js +2472 -605
  93. package/dist/rc.esm.js.map +1 -1
  94. package/package.json +4 -4
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ListProps as MUIListProps } from '@material-ui/core/List';
3
3
  interface ListProps extends MUIListProps {
4
4
  }
5
- declare const List: React.ForwardRefExoticComponent<Pick<ListProps, "style" | "title" | "className" | "classes" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "dense" | "subheader" | "disablePadding"> & React.RefAttributes<HTMLUListElement>>;
5
+ declare const List: React.ForwardRefExoticComponent<Pick<ListProps, "style" | "title" | "className" | "classes" | "innerRef" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "slot" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "dense" | "subheader" | "disablePadding"> & React.RefAttributes<HTMLUListElement>>;
6
6
  export default List;
@@ -0,0 +1,4 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Basic: Story;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { MenuProps as MUIMenuProps } from '@material-ui/core/Menu';
3
+ interface MenuProps extends MUIMenuProps {
4
+ }
5
+ declare const Menu: React.ForwardRefExoticComponent<Pick<MenuProps, "classes" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "container" | "disableAutoFocus" | "disableBackdropClick" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "manager" | "onBackdropClick" | "onClose" | "onEscapeKeyDown" | "onRendered" | "open" | "innerRef" | "action" | "anchorEl" | "anchorOrigin" | "anchorPosition" | "anchorReference" | "elevation" | "getContentAnchorEl" | "marginThreshold" | "PaperProps" | "transformOrigin" | "TransitionComponent" | "transitionDuration" | "TransitionProps" | "autoFocus" | "disableAutoFocusItem" | "MenuListProps" | "PopoverClasses" | "variant"> & React.RefAttributes<any>>;
6
+ export default Menu;
@@ -0,0 +1,3 @@
1
+ import { StyleRules } from '@material-ui/core/styles';
2
+ import { MenuClassKey } from '@material-ui/core/Menu';
3
+ export declare const MuiMenu: Partial<StyleRules<MenuClassKey>>;
@@ -2,3 +2,4 @@ import { Story, Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
4
  export declare const Basic: Story;
5
+ export declare const Groups: Story;
@@ -1,4 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
+ import { MenuGroups } from 'V2/VarSelect';
2
3
  import { SelectProps } from '../Select';
3
4
  export declare type Option = {
4
5
  optionType: 'subject' | 'var' | 'option';
@@ -9,9 +10,14 @@ interface MultiVarSelectProps extends SelectProps {
9
10
  /**
10
11
  * Data structure required by MultiVarSelect
11
12
  */
12
- options: Option[];
13
+ options?: Option[];
14
+ groups?: MenuGroups[];
13
15
  value: Array<string | number>;
14
16
  disabledOptions?: Array<string | number>;
15
17
  }
16
- declare const MultiVarSelect: React.ForwardRefExoticComponent<Pick<MultiVarSelectProps, "classes" | "disabled" | "value" | "onChange" | "error" | "multiline" | "fullWidth" | "input" | "children" | "onKeyUp" | "onKeyDown" | "onBlur" | "onFocus" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "autoComplete" | "autoFocus" | "endAdornment" | "inputComponent" | "inputProps" | "inputRef" | "margin" | "name" | "readOnly" | "required" | "renderSuffix" | "rows" | "rowsMax" | "rowsMin" | "maxRows" | "minRows" | "startAdornment" | "type" | "innerRef" | "disableUnderline" | "options" | "disabledOptions" | "autoWidth" | "displayEmpty" | "IconComponent" | "label" | "labelId" | "labelWidth" | "MenuProps" | "multiple" | "native" | "onClose" | "onOpen" | "open" | "renderValue" | "SelectDisplayProps" | "variant"> & React.RefAttributes<HTMLDivElement>>;
18
+ /**
19
+ * @deprecated 由於 MultiVarSelect 模改原先的 Select 太多,rc 元件應保持簡單,因此 deprecated 並且在 admin src/components/organisms/MultiSelect 建立一多選下拉選單元件
20
+ * 在選項互斥仍有使用到此元件,因此不刪除而用 deprecated 的方式避免已上線的功能異常
21
+ */
22
+ declare const MultiVarSelect: React.ForwardRefExoticComponent<Pick<MultiVarSelectProps, "classes" | "disabled" | "value" | "onChange" | "error" | "multiline" | "fullWidth" | "input" | "children" | "onKeyUp" | "onKeyDown" | "onBlur" | "onFocus" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "autoComplete" | "autoFocus" | "endAdornment" | "inputComponent" | "inputProps" | "inputRef" | "margin" | "name" | "readOnly" | "required" | "renderSuffix" | "rows" | "rowsMax" | "rowsMin" | "maxRows" | "minRows" | "startAdornment" | "type" | "innerRef" | "disableUnderline" | "options" | "groups" | "disabledOptions" | "autoWidth" | "displayEmpty" | "IconComponent" | "label" | "labelId" | "labelWidth" | "MenuProps" | "multiple" | "native" | "onClose" | "onOpen" | "open" | "renderValue" | "SelectDisplayProps" | "variant"> & React.RefAttributes<HTMLDivElement>>;
17
23
  export default MultiVarSelect;
@@ -0,0 +1,8 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Base: Story;
5
+ export declare const Disabled: Story;
6
+ export declare const Searchable: Story;
7
+ export declare const WithError: Story;
8
+ export declare const Loading: Story;
@@ -0,0 +1,8 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Base: Story;
5
+ export declare const DefaultExpanded: Story;
6
+ export declare const DefaultSelected: Story;
7
+ export declare const MultiLevelSelected: Story;
8
+ export declare const PartiallySelected: Story;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface GreyBlockProps {
3
+ text: string;
4
+ }
5
+ declare const GreyBlock: React.FC<GreyBlockProps>;
6
+ export default GreyBlock;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ export interface OptionData {
3
+ value: string;
4
+ text: string;
5
+ defaultOpen?: boolean;
6
+ children?: OptionData[];
7
+ }
8
+ interface NestedAccordionSelectGroupProps {
9
+ option: OptionData;
10
+ handleChangeValue: (value: string | string[]) => void;
11
+ selectedValue: string[];
12
+ }
13
+ declare const NestedAccordionSelectGroup: React.ForwardRefExoticComponent<NestedAccordionSelectGroupProps & React.RefAttributes<HTMLDivElement>>;
14
+ export default NestedAccordionSelectGroup;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { OptionData } from './NestedAccordionSelectGroup';
3
+ interface NestedAccordionSelectItemProps {
4
+ option: OptionData;
5
+ handleChangeValue: (value: string) => void;
6
+ selectedValue: string[];
7
+ isMainOption?: boolean;
8
+ }
9
+ export declare const useCustomStyle: (props?: any) => Record<"container" | "checkbox" | "greyBlock", string>;
10
+ /**
11
+ * TODO: 本 component 疑似無用處?
12
+ */
13
+ declare const NestedAccordionSelectItem: React.FC<NestedAccordionSelectItemProps>;
14
+ export default NestedAccordionSelectItem;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface PlaceholderProps {
3
+ text: string;
4
+ disabled: boolean;
5
+ }
6
+ declare const Placeholder: React.FC<PlaceholderProps>;
7
+ export default Placeholder;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { OptionData } from './components/NestedAccordionSelectGroup';
3
+ import { SelectProps } from '../Select';
4
+ interface NestedAccordionSelectProps extends SelectProps {
5
+ options: OptionData[];
6
+ value: string[];
7
+ handleChangeValue: (value: string | string[]) => void;
8
+ placeholder?: string;
9
+ hint?: string;
10
+ disabled?: boolean;
11
+ maxHeight?: number;
12
+ searchable?: boolean;
13
+ loading?: boolean;
14
+ error?: boolean;
15
+ errorText?: string;
16
+ }
17
+ declare const NestedAccordionSelect: React.ForwardRefExoticComponent<Pick<NestedAccordionSelectProps, "color" | "maxHeight" | "margin" | "hidden" | "style" | "open" | "multiple" | "disabled" | "classes" | "value" | "onChange" | "error" | "multiline" | "fullWidth" | "input" | "children" | "onKeyUp" | "onKeyDown" | "onBlur" | "onFocus" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "autoComplete" | "autoFocus" | "endAdornment" | "inputComponent" | "inputProps" | "inputRef" | "name" | "readOnly" | "required" | "renderSuffix" | "rows" | "rowsMax" | "rowsMin" | "maxRows" | "minRows" | "startAdornment" | "type" | "innerRef" | "disableUnderline" | "handleChangeValue" | "options" | "variant" | "hint" | "searchable" | "loading" | "errorText" | "autoWidth" | "displayEmpty" | "IconComponent" | "label" | "labelId" | "labelWidth" | "MenuProps" | "native" | "onClose" | "onOpen" | "renderValue" | "SelectDisplayProps"> & React.RefAttributes<HTMLDivElement>>;
18
+ export default NestedAccordionSelect;
@@ -5,3 +5,4 @@ export declare const Basic: Story;
5
5
  export declare const Disabled: Story;
6
6
  export declare const Error: Story;
7
7
  export declare const ReadOnly: Story;
8
+ export declare const Sizes: Story;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { PopoverProps as MUIPopoverProps } from '@material-ui/core/Popover';
3
- declare const Popover: React.ForwardRefExoticComponent<Pick<MUIPopoverProps, "color" | "transformOrigin" | "transitionDuration" | "hidden" | "style" | "open" | "title" | "classes" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "container" | "disableAutoFocus" | "disableBackdropClick" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "manager" | "onBackdropClick" | "onClose" | "onEscapeKeyDown" | "onRendered" | "innerRef" | "action" | "anchorEl" | "anchorOrigin" | "anchorPosition" | "anchorReference" | "elevation" | "getContentAnchorEl" | "marginThreshold" | "PaperProps" | "TransitionComponent" | "TransitionProps"> & React.RefAttributes<HTMLButtonElement>>;
3
+ declare const Popover: React.ForwardRefExoticComponent<Pick<MUIPopoverProps, "classes" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "container" | "disableAutoFocus" | "disableBackdropClick" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "manager" | "onBackdropClick" | "onClose" | "onEscapeKeyDown" | "onRendered" | "open" | "innerRef" | "action" | "anchorEl" | "anchorOrigin" | "anchorPosition" | "anchorReference" | "elevation" | "getContentAnchorEl" | "marginThreshold" | "PaperProps" | "transformOrigin" | "TransitionComponent" | "transitionDuration" | "TransitionProps"> & React.RefAttributes<HTMLButtonElement>>;
4
4
  export default Popover;
@@ -0,0 +1,3 @@
1
+ import { StyleRules } from '@material-ui/core/styles';
2
+ import { PopoverClassKey } from '@material-ui/core/Popover';
3
+ export declare const MuiPopover: Partial<StyleRules<PopoverClassKey>>;
@@ -1,4 +1,3 @@
1
1
  import { StyleRules } from '@material-ui/core/styles';
2
2
  import { SelectClassKey } from '@material-ui/core/Select';
3
- export declare const useMenuStyles: (props?: any) => Record<string, string>;
4
3
  export declare const MuiSelect: Partial<StyleRules<SelectClassKey>>;
@@ -0,0 +1,4 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Shadow: Story;
@@ -0,0 +1,4 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Basic: Story;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SwipeableDrawerProps as MUISwipeableDrawerProps } from '@material-ui/core/SwipeableDrawer';
3
+ interface SwipeableDrawerProps extends MUISwipeableDrawerProps {
4
+ }
5
+ declare const SwipeableDrawer: React.ForwardRefExoticComponent<Pick<SwipeableDrawerProps, "onClose" | "open" | "classes" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "container" | "disableAutoFocus" | "disableBackdropClick" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "manager" | "onBackdropClick" | "onEscapeKeyDown" | "onRendered" | "innerRef" | "anchor" | "elevation" | "ModalProps" | "PaperProps" | "SlideProps" | "transitionDuration" | "variant" | "disableBackdropTransition" | "disableDiscovery" | "disableSwipeToOpen" | "hysteresis" | "minFlingVelocity" | "onOpen" | "SwipeAreaProps" | "swipeAreaWidth"> & React.RefAttributes<HTMLAnchorElement>>;
6
+ export default SwipeableDrawer;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { SelectProps } from '../Select';
3
- declare type MenuItemOption = {
3
+ export declare type MenuItemOption = {
4
4
  value?: string | number;
5
5
  children?: string | ReactNode;
6
6
  emptyLabel?: string | ReactNode;
@@ -1,7 +1,9 @@
1
1
  export { theme, useMUITheme } from './styles/theme';
2
+ export { useThemeCompat, themeCompat } from './styles/useThemeCompat';
2
3
  export { ThemeProvider, PureThemeProvider } from './styles/ThemeProvider';
3
4
  export { default as Accordion } from './Accordion';
4
5
  export { default as AccordionDetails } from './AccordionDetails';
6
+ export { default as AccordionSelect } from './AccordionSelect';
5
7
  export { default as AccordionSummary } from './AccordionSummary';
6
8
  export { default as Alert } from './Alert';
7
9
  export { default as AlertTitle } from './AlertTitle';
@@ -25,6 +27,7 @@ export { default as DialogContent } from './DialogContent';
25
27
  export { default as DialogContentText } from './DialogContentText';
26
28
  export { default as DialogTitle } from './DialogTitle';
27
29
  export { default as Divider } from './Divider';
30
+ export { default as Drawer } from './Drawer';
28
31
  export { default as Fade } from './Fade';
29
32
  export { default as FormControl } from './FormControl';
30
33
  export { default as FormControlLabel } from './FormControlLabel';
@@ -37,9 +40,11 @@ export { default as InputAdornment } from './InputAdornment';
37
40
  export { default as LinearProgress } from './LinearProgress';
38
41
  export { default as Link } from './Link';
39
42
  export { default as LoadingButton } from './LoadingButton';
43
+ export { default as Menu } from './Menu';
40
44
  export { default as MenuItem } from './MenuItem';
41
45
  export { default as MenuList } from './MenuList';
42
46
  export { default as MultiVarSelect } from './MultiVarSelect';
47
+ export { default as NestedAccordionSelect } from './NestedAccordionSelect';
43
48
  export { default as OutlinedInput } from './OutlinedInput';
44
49
  export { default as Pagination } from './Pagination';
45
50
  export { default as Popover } from './Popover';
@@ -54,6 +59,7 @@ export { default as Snackbar } from './Snackbar';
54
59
  export { default as Step } from './Step';
55
60
  export { default as StepLabel } from './StepLabel';
56
61
  export { default as Stepper } from './Stepper';
62
+ export { default as SwipeableDrawer } from './SwipeableDrawer';
57
63
  export { default as Switch } from './Switch';
58
64
  export { default as Tab } from './Tab';
59
65
  export { default as Table } from './Table';
@@ -0,0 +1,172 @@
1
+ /**
2
+ * 相容層 Hook:讓舊的 v1 RC theme 存取方式可以映射到 MUI theme
3
+ * 用於漸進式從 v1 useTheme 遷移到 v2 useMUITheme
4
+ *
5
+ * @example
6
+ * // 舊的寫法 (v1)
7
+ * const rcTheme = useTheme();
8
+ * rcTheme.color.primary.default
9
+ * rcTheme.color.text.B5
10
+ *
11
+ * // 使用相容層
12
+ * const { color, typography } = useThemeCompat();
13
+ * color.primary.default // 對應 v1 theme color.primary.default
14
+ * color.text.B5 // 對應 v1 theme color.text.B5
15
+ *
16
+ * // 也可以直接存取 MUI theme
17
+ * const { mui } = useThemeCompat();
18
+ * mui.palette.primary.main
19
+ */
20
+ export declare function useThemeCompat(): {
21
+ color: {
22
+ primary: {
23
+ active: string;
24
+ default: string;
25
+ hover: string;
26
+ disabled: string;
27
+ background: string;
28
+ lightBackground: string;
29
+ };
30
+ secondary: {
31
+ active: string;
32
+ default: string;
33
+ hover: string;
34
+ disabled: string;
35
+ background: string;
36
+ };
37
+ thirdary: {
38
+ active: string;
39
+ default: string;
40
+ hover: string;
41
+ disabled: string;
42
+ background: string;
43
+ };
44
+ text: {
45
+ white: string;
46
+ B6: string;
47
+ B5: string;
48
+ B4: string;
49
+ B3: string;
50
+ B2: string;
51
+ B: string;
52
+ HB: string;
53
+ F: string;
54
+ };
55
+ semantic: {
56
+ success: string;
57
+ info: string;
58
+ warning: string;
59
+ error: string;
60
+ enterprise: string;
61
+ team: string;
62
+ pro: string;
63
+ };
64
+ };
65
+ typography: {
66
+ fontSize: {
67
+ h1: number;
68
+ h2: number;
69
+ h3: number;
70
+ h4: number;
71
+ h5: number;
72
+ h6: number;
73
+ p: number;
74
+ span: number;
75
+ div: number;
76
+ };
77
+ fontWeight: {
78
+ normal: number;
79
+ medium: number;
80
+ bold: number;
81
+ };
82
+ };
83
+ zIndex: {
84
+ mobileStepper: number;
85
+ speedDial: number;
86
+ appBar: number;
87
+ drawer: number;
88
+ modal: number;
89
+ snackbar: number;
90
+ tooltip: number;
91
+ };
92
+ mui: import("@material-ui/core").Theme;
93
+ };
94
+ /**
95
+ * 靜態 theme 物件(非 hook 版本)
96
+ * 適用於不在 React component 內的情況
97
+ * 直接使用 v1 theme 值以確保相容性
98
+ */
99
+ export declare const themeCompat: {
100
+ color: {
101
+ primary: {
102
+ active: string;
103
+ default: string;
104
+ hover: string;
105
+ disabled: string;
106
+ background: string;
107
+ lightBackground: string;
108
+ };
109
+ secondary: {
110
+ active: string;
111
+ default: string;
112
+ hover: string;
113
+ disabled: string;
114
+ background: string;
115
+ };
116
+ thirdary: {
117
+ active: string;
118
+ default: string;
119
+ hover: string;
120
+ disabled: string;
121
+ background: string;
122
+ };
123
+ text: {
124
+ white: string;
125
+ B6: string;
126
+ B5: string;
127
+ B4: string;
128
+ B3: string;
129
+ B2: string;
130
+ B: string;
131
+ HB: string;
132
+ F: string;
133
+ };
134
+ semantic: {
135
+ success: string;
136
+ info: string;
137
+ warning: string;
138
+ error: string;
139
+ enterprise: string;
140
+ team: string;
141
+ pro: string;
142
+ };
143
+ };
144
+ typography: {
145
+ fontSize: {
146
+ h1: number;
147
+ h2: number;
148
+ h3: number;
149
+ h4: number;
150
+ h5: number;
151
+ h6: number;
152
+ p: number;
153
+ span: number;
154
+ div: number;
155
+ };
156
+ fontWeight: {
157
+ normal: number;
158
+ medium: number;
159
+ bold: number;
160
+ };
161
+ };
162
+ zIndex: {
163
+ mobileStepper: number;
164
+ speedDial: number;
165
+ appBar: number;
166
+ drawer: number;
167
+ modal: number;
168
+ snackbar: number;
169
+ tooltip: number;
170
+ };
171
+ mui: import("@material-ui/core").Theme;
172
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Please use customEmotion for all emotion related imports due to the nonce issue.
3
+ * Reference:
4
+ * https://emotion.sh/docs/@emotion/cache#nonce
5
+ * https://emotion.sh/docs/@emotion/css#multiple-instances-in-a-single-app-example
6
+ */
7
+ export declare const flush: () => void, hydrate: (ids: string[]) => void, cx: (...classNames: import("create-emotion").ClassNamesArg[]) => string, merge: (className: string) => string, getRegisteredStyles: (registeredStyles: string[], className: string) => string, injectGlobal: {
8
+ (template: TemplateStringsArray, ...args: import("create-emotion").Interpolation<undefined>[]): void;
9
+ (...args: import("create-emotion").Interpolation<undefined>[]): void;
10
+ }, keyframes: {
11
+ (template: TemplateStringsArray, ...args: import("create-emotion").Interpolation<undefined>[]): string;
12
+ (...args: import("create-emotion").Interpolation<undefined>[]): string;
13
+ }, css: {
14
+ (template: TemplateStringsArray, ...args: import("create-emotion").Interpolation<undefined>[]): string;
15
+ (...args: import("create-emotion").Interpolation<undefined>[]): string;
16
+ }, sheet: import("create-emotion").StyleSheet, cache: import("create-emotion").EmotionCache;
package/dist/index.d.ts CHANGED
@@ -135,3 +135,4 @@ export { default as facebookIn } from './Icon/icons/brands/facebook-in';
135
135
  export { default as linkedinIn } from './Icon/icons/brands/linkedin-in';
136
136
  export { default as twitterIn } from './Icon/icons/brands/twitter-in';
137
137
  export { default as WordingProvider } from './wording';
138
+ export { flush, hydrate, cx, merge, getRegisteredStyles, injectGlobal, keyframes, css, sheet, cache, } from './customEmotion';