@epilot/base-elements 3.2.1 → 3.2.3

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 (122) hide show
  1. package/CHANGELOG.md +1136 -0
  2. package/dist/Accordion/Accordion.d.ts +1 -3
  3. package/dist/Accordion/Accordion.js +8 -4
  4. package/dist/Accordion/Accordion.js.map +1 -1
  5. package/dist/Accordion/AccordionActions.d.ts +1 -3
  6. package/dist/Accordion/AccordionActions.js +8 -4
  7. package/dist/Accordion/AccordionActions.js.map +1 -1
  8. package/dist/Accordion/AccordionDetails.d.ts +1 -3
  9. package/dist/Accordion/AccordionDetails.js +8 -7
  10. package/dist/Accordion/AccordionDetails.js.map +1 -1
  11. package/dist/Accordion/AccordionSummary.d.ts +2 -2
  12. package/dist/Accordion/AccordionSummary.js +4 -4
  13. package/dist/Accordion/AccordionSummary.js.map +1 -1
  14. package/dist/Accordion/types.d.ts +8 -49
  15. package/dist/Alert/Alert.d.ts +3 -0
  16. package/dist/Alert/Alert.js +31 -0
  17. package/dist/Alert/Alert.js.map +1 -0
  18. package/dist/Alert/index.d.ts +2 -0
  19. package/dist/Alert/index.js +6 -0
  20. package/dist/Alert/index.js.map +1 -0
  21. package/dist/Alert/types.d.ts +4 -0
  22. package/dist/Alert/types.js +3 -0
  23. package/dist/Alert/types.js.map +1 -0
  24. package/dist/AppBar/AppBar.d.ts +4 -0
  25. package/dist/AppBar/AppBar.js +17 -0
  26. package/dist/AppBar/AppBar.js.map +1 -0
  27. package/dist/AppBar/types.d.ts +3 -0
  28. package/dist/AppBar/types.js +3 -0
  29. package/dist/AppBar/types.js.map +1 -0
  30. package/dist/Autocomplete/Autocomplete.d.ts +1 -1
  31. package/dist/Autocomplete/index.d.ts +1 -1
  32. package/dist/Autocomplete/index.js +1 -3
  33. package/dist/Autocomplete/index.js.map +1 -1
  34. package/dist/Autocomplete/styles.d.ts +1 -1
  35. package/dist/Autocomplete/styles.js.map +1 -1
  36. package/dist/Autocomplete/types.d.ts +11 -23
  37. package/dist/AutocompleteX/AutocompleteX.d.ts +1 -2
  38. package/dist/AutocompleteX/AutocompleteX.js +8 -1
  39. package/dist/AutocompleteX/AutocompleteX.js.map +1 -1
  40. package/dist/AutocompleteX/index.d.ts +1 -1
  41. package/dist/AutocompleteX/index.js +1 -3
  42. package/dist/AutocompleteX/index.js.map +1 -1
  43. package/dist/AutocompleteX/types.d.ts +4 -1
  44. package/dist/Avatar/Avatar.d.ts +2 -2
  45. package/dist/Avatar/Avatar.js +4 -6
  46. package/dist/Avatar/Avatar.js.map +1 -1
  47. package/dist/Avatar/AvatarGroup.d.ts +2 -2
  48. package/dist/Avatar/AvatarGroup.js +6 -4
  49. package/dist/Avatar/AvatarGroup.js.map +1 -1
  50. package/dist/Avatar/index.d.ts +2 -2
  51. package/dist/Avatar/index.js +2 -5
  52. package/dist/Avatar/index.js.map +1 -1
  53. package/dist/Avatar/types.d.ts +2 -38
  54. package/dist/Badge/Badge.d.ts +1 -1
  55. package/dist/Box/Box.d.ts +3 -0
  56. package/dist/Box/Box.js +12 -0
  57. package/dist/Box/Box.js.map +1 -0
  58. package/dist/Box/types.d.ts +2 -0
  59. package/dist/Box/types.js +3 -0
  60. package/dist/Box/types.js.map +1 -0
  61. package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -0
  62. package/dist/Breadcrumbs/Breadcrumbs.js +11 -0
  63. package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -0
  64. package/dist/Breadcrumbs/types.d.ts +2 -0
  65. package/dist/Breadcrumbs/types.js +3 -0
  66. package/dist/Breadcrumbs/types.js.map +1 -0
  67. package/dist/Button/Button.d.ts +2 -0
  68. package/dist/Button/Button.js +6 -0
  69. package/dist/Button/Button.js.map +1 -0
  70. package/dist/Button/types.d.ts +2 -0
  71. package/dist/Button/types.js +3 -0
  72. package/dist/Button/types.js.map +1 -0
  73. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  74. package/dist/Card/Card.d.ts +8 -0
  75. package/dist/Card/Card.js +34 -0
  76. package/dist/Card/Card.js.map +1 -0
  77. package/dist/Card/types.d.ts +7 -0
  78. package/dist/Card/types.js +3 -0
  79. package/dist/Card/types.js.map +1 -0
  80. package/dist/Chip/Chip.d.ts +1 -1
  81. package/dist/Chip/RandomColoredChip.d.ts +1 -1
  82. package/dist/Drawer360/ActionFooter.js +59 -56
  83. package/dist/Drawer360/ActionFooter.js.map +1 -1
  84. package/dist/FeedbackMessage/FeedbackMessage.js +7 -6
  85. package/dist/FeedbackMessage/FeedbackMessage.js.map +1 -1
  86. package/dist/Grid/Grid.d.ts +3 -0
  87. package/dist/Grid/Grid.js +11 -0
  88. package/dist/Grid/Grid.js.map +1 -0
  89. package/dist/Grid/types.d.ts +2 -0
  90. package/dist/Grid/types.js +3 -0
  91. package/dist/Grid/types.js.map +1 -0
  92. package/dist/IconButtonWithText/IconButtonWithText.d.ts +2 -3
  93. package/dist/IconButtonWithText/IconButtonWithText.js +4 -3
  94. package/dist/IconButtonWithText/IconButtonWithText.js.map +1 -1
  95. package/dist/IconButtonWithText/types.d.ts +5 -7
  96. package/dist/Notification/Notification.js +12 -4
  97. package/dist/Notification/Notification.js.map +1 -1
  98. package/dist/Notification/types.d.ts +2 -1
  99. package/dist/Stepper/MobileStepper.d.ts +1 -1
  100. package/dist/Stepper/Stepper.d.ts +1 -1
  101. package/dist/TableColumnSettings/TableColumnSettingsStyles.d.ts +1 -1
  102. package/dist/TableColumnSettings/TableColumnSettingsStyles.js.map +1 -1
  103. package/dist/Tabs/Tabs.d.ts +2 -2
  104. package/dist/Tabs/Tabs.js +12 -17
  105. package/dist/Tabs/Tabs.js.map +1 -1
  106. package/dist/Tabs/types.d.ts +0 -1
  107. package/dist/ThemeProvider/DefaultEpilotTheme.js +130 -48
  108. package/dist/ThemeProvider/DefaultEpilotTheme.js.map +1 -1
  109. package/dist/ThemeProvider/mapping.js +124 -105
  110. package/dist/ThemeProvider/mapping.js.map +1 -1
  111. package/dist/ThemeProvider/types.d.ts +8 -0
  112. package/dist/Tooltip/Tooltip.d.ts +2 -2
  113. package/dist/Tooltip/Tooltip.js +4 -4
  114. package/dist/Tooltip/Tooltip.js.map +1 -1
  115. package/dist/bundle.js +71 -71
  116. package/dist/bundle.js.map +1 -1
  117. package/dist/index.d.ts +21 -14
  118. package/dist/index.js +27 -14
  119. package/dist/index.js.map +1 -1
  120. package/dist/styles/styles.d.ts +1 -3
  121. package/dist/styles/styles.js.map +1 -1
  122. package/package.json +1 -1
@@ -1,3 +1 @@
1
- import { AccordionProps } from '@material-ui/core';
2
- import React from 'react';
3
- export declare const Accordion: React.ForwardRefExoticComponent<Pick<AccordionProps, "classes" | "expanded" | "disabled" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "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" | "component" | "elevation" | "square" | "variant" | "innerRef" | "defaultExpanded" | "TransitionComponent" | "TransitionProps"> & React.RefAttributes<unknown>>;
1
+ export { Accordion } from '@material-ui/core';
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
2
9
  exports.__esModule = true;
3
10
  exports.Accordion = void 0;
4
- var tslib_1 = require("tslib");
5
11
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importStar(require("react"));
7
- exports.Accordion = react_1.forwardRef(function (props, ref) { return react_1["default"].createElement(core_1.Accordion, tslib_1.__assign({ ref: ref }, props)); });
8
- exports.Accordion.displayName = 'Accordion';
12
+ __createBinding(exports, core_1, "Accordion");
9
13
  //# sourceMappingURL=Accordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../src/Accordion/Accordion.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6E;AAC7E,qDAA+E;AAElE,QAAA,SAAS,GAAG,kBAAU,CAGjC,UAAC,KAAqB,EAAE,GAAG,IAAK,OAAA,iCAAC,gBAAY,qBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,EAArC,CAAqC,CAAC,CAAA;AAExE,iBAAS,CAAC,WAAW,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../src/Accordion/Accordion.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAA6C;AAApC,8CAAS"}
@@ -1,3 +1 @@
1
- import { AccordionActionsProps } from '@material-ui/core';
2
- import React from 'react';
3
- export declare const AccordionActions: React.ForwardRefExoticComponent<Pick<AccordionActionsProps, "classes" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "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" | "innerRef" | "disableSpacing"> & React.RefAttributes<unknown>>;
1
+ export { AccordionActions } from '@material-ui/core';
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
2
9
  exports.__esModule = true;
3
10
  exports.AccordionActions = void 0;
4
- var tslib_1 = require("tslib");
5
11
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importStar(require("react"));
7
- exports.AccordionActions = react_1.forwardRef(function (props, ref) { return (react_1["default"].createElement(core_1.AccordionActions, tslib_1.__assign({ ref: ref }, props))); });
8
- exports.AccordionActions.displayName = 'AccordionActions';
12
+ __createBinding(exports, core_1, "AccordionActions");
9
13
  //# sourceMappingURL=AccordionActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionActions.js","sourceRoot":"","sources":["../../src/Accordion/AccordionActions.tsx"],"names":[],"mappings":";;;;AAAA,0CAG0B;AAC1B,qDAA+E;AAElE,QAAA,gBAAgB,GAAG,kBAAU,CAGxC,UAAC,KAA4B,EAAE,GAAG,IAAK,OAAA,CACvC,iCAAC,uBAAmB,qBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CAC7C,EAFwC,CAExC,CAAC,CAAA;AAEF,wBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA"}
1
+ {"version":3,"file":"AccordionActions.js","sourceRoot":"","sources":["../../src/Accordion/AccordionActions.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAoD;AAA3C,qDAAgB"}
@@ -1,3 +1 @@
1
- /// <reference types="react" />
2
- import { AccordionDetailsProps } from './types';
3
- export declare function AccordionDetails(props: AccordionDetailsProps): JSX.Element;
1
+ export { AccordionDetails } from '@material-ui/core';
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
2
9
  exports.__esModule = true;
3
10
  exports.AccordionDetails = void 0;
4
- var tslib_1 = require("tslib");
5
11
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- function AccordionDetails(props) {
8
- var children = props.children, rest = tslib_1.__rest(props, ["children"]);
9
- return react_1["default"].createElement(core_1.AccordionDetails, tslib_1.__assign({}, rest), children);
10
- }
11
- exports.AccordionDetails = AccordionDetails;
12
+ __createBinding(exports, core_1, "AccordionDetails");
12
13
  //# sourceMappingURL=AccordionDetails.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionDetails.js","sourceRoot":"","sources":["../../src/Accordion/AccordionDetails.tsx"],"names":[],"mappings":";;;;AAAA,0CAA2E;AAC3E,wDAAyB;AAIzB,SAAgB,gBAAgB,CAAC,KAA4B;IACnD,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,iCAAC,uBAAmB,uBAAK,IAAI,GAAG,QAAQ,CAAuB,CAAA;AACxE,CAAC;AAJD,4CAIC"}
1
+ {"version":3,"file":"AccordionDetails.js","sourceRoot":"","sources":["../../src/Accordion/AccordionDetails.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAoD;AAA3C,qDAAgB"}
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { AccordionSummaryProps } from './types';
3
- export declare function AccordionSummary(props: AccordionSummaryProps): JSX.Element;
2
+ import type { AccordionSummaryProps } from './types';
3
+ export declare const AccordionSummary: ({ expandIcon, ...props }: AccordionSummaryProps) => JSX.Element;
@@ -5,9 +5,9 @@ var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
6
  var react_1 = tslib_1.__importDefault(require("react"));
7
7
  var Icon_1 = require("../Icon");
8
- function AccordionSummary(props) {
9
- var children = props.children, _a = props.expandIcon, expandIcon = _a === void 0 ? react_1["default"].createElement(Icon_1.Icon, { color: "secondary", name: "expand_more" }) : _a, rest = tslib_1.__rest(props, ["children", "expandIcon"]);
10
- return (react_1["default"].createElement(core_1.AccordionSummary, tslib_1.__assign({ expandIcon: expandIcon }, rest), children));
11
- }
8
+ var AccordionSummary = function (_a) {
9
+ var _b = _a.expandIcon, expandIcon = _b === void 0 ? react_1["default"].createElement(Icon_1.Icon, { color: "secondary", name: "expand_more" }) : _b, props = tslib_1.__rest(_a, ["expandIcon"]);
10
+ return (react_1["default"].createElement(core_1.AccordionSummary, tslib_1.__assign({ expandIcon: expandIcon }, props)));
11
+ };
12
12
  exports.AccordionSummary = AccordionSummary;
13
13
  //# sourceMappingURL=AccordionSummary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionSummary.js","sourceRoot":"","sources":["../../src/Accordion/AccordionSummary.tsx"],"names":[],"mappings":";;;;AAAA,0CAA2E;AAC3E,wDAAyB;AAEzB,gCAA8B;AAI9B,SAAgB,gBAAgB,CAAC,KAA4B;IAEzD,IAAA,QAAQ,GAGN,KAAK,SAHC,EACR,KAEE,KAAK,WAFmD,EAA1D,UAAU,mBAAG,iCAAC,WAAI,IAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,aAAa,GAAG,KAAA,EACvD,IAAI,kBACL,KAAK,EAJH,0BAIL,CADQ,CACA;IAET,OAAO,CACL,iCAAC,uBAAmB,qBAAC,UAAU,EAAE,UAAU,IAAM,IAAI,GAClD,QAAQ,CACW,CACvB,CAAA;AACH,CAAC;AAZD,4CAYC"}
1
+ {"version":3,"file":"AccordionSummary.js","sourceRoot":"","sources":["../../src/Accordion/AccordionSummary.tsx"],"names":[],"mappings":";;;;AAAA,0CAA2E;AAC3E,wDAAyB;AAEzB,gCAA8B;AAIvB,IAAM,gBAAgB,GAAG,UAAC,EAGT;IAFtB,IAAA,kBAA0D,EAA1D,UAAU,mBAAG,iCAAC,WAAI,IAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,aAAa,GAAG,KAAA,EACvD,KAAK,sBAFuB,cAGhC,CADS;IACmB,OAAA,CAC3B,iCAAC,uBAAmB,qBAAC,UAAU,EAAE,UAAU,IAAM,KAAK,EAAI,CAC3D,CAAA;CAAA,CAAA;AALY,QAAA,gBAAgB,oBAK5B"}
@@ -1,57 +1,16 @@
1
1
  /// <reference types="react" />
2
- import { AccordionDetailsProps as MuiAccordionDetailsProps, AccordionSummaryProps as MuiAccordionSummaryProps, PaperProps } from '@material-ui/core';
3
- import { TransitionProps } from '@material-ui/core/transitions';
4
- export declare type AccordionProps = PaperProps & {
5
- /**
6
- * The content of the accordion.
7
- */
8
- children: NonNullable<React.ReactNode>;
9
- /**
10
- * If `true`, expands the accordion by default.
11
- */
12
- defaultExpanded?: boolean;
13
- /**
14
- * If `true`, the accordion will be displayed in a disabled state.
15
- */
16
- disabled?: boolean;
17
- /**
18
- * If `true`, expands the accordion, otherwise collapse it.
19
- * Setting this prop enables control over the accordion.
20
- */
21
- expanded?: boolean;
2
+ export type { AccordionActionsProps, AccordionSummaryProps, AccordionDetailsProps } from '@material-ui/core';
3
+ import type { PaperProps, AccordionProps as MuiAccordionProps } from '@material-ui/core';
4
+ /**
5
+ * @todo PaperProps type union is redundant here, remove
6
+ */
7
+ export declare type AccordionProps = PaperProps & MuiAccordionProps & {
22
8
  /**
23
9
  * Callback fired when the expand/collapse state is changed.
24
- *
25
10
  * @param {object} event The event source of the callback.
26
11
  * @param {boolean} expanded The `expanded` state of the accordion.
12
+ * @todo Only difference here is the type passed to the ChangeEvent generic
13
+ * @todo Consider removing type annotation and having just AccordionProps exported
27
14
  */
28
15
  onChange?: (event: React.ChangeEvent<unknown>, expanded: boolean) => void;
29
- /**
30
- * The component used for the collapse effect.
31
- * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
32
- */
33
- TransitionComponent?: React.ComponentType<TransitionProps & {
34
- children?: React.ReactElement<any, any>;
35
- }>;
36
- /**
37
- * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.
38
- */
39
- TransitionProps?: TransitionProps;
40
- };
41
- export declare type AccordionActionsProps = {
42
- /**
43
- * The content of the component.
44
- */
45
- children?: React.ReactNode;
46
- /**
47
- * If `true`, the actions do not have additional margin.
48
- */
49
- disableSpacing?: boolean;
50
- };
51
- export declare type AccordionSummaryProps = MuiAccordionSummaryProps;
52
- export declare type AccordionDetailsProps = MuiAccordionDetailsProps & {
53
- /**
54
- * The content of the accordion details.
55
- */
56
- children?: React.ReactNode;
57
16
  };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { AlertProps } from './types';
3
+ export declare const Alert: React.ForwardRefExoticComponent<Pick<AlertProps, "square" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "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" | "action" | "elevation" | "icon" | "variant" | "component" | "isSmall" | "closeText" | "severity" | "iconMapping" | "onClose"> & React.RefAttributes<unknown>>;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.Alert = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var core_1 = require("@material-ui/core");
6
+ var lab_1 = require("@material-ui/lab");
7
+ var react_1 = tslib_1.__importStar(require("react"));
8
+ var useStyles = core_1.makeStyles(function () {
9
+ return core_1.createStyles({
10
+ alert: function (_a) {
11
+ var isSmall = _a.isSmall;
12
+ return ({
13
+ '& .MuiAlert-icon': {
14
+ paddingTop: isSmall ? 0 : 7,
15
+ paddingBottom: isSmall ? 0 : 7
16
+ },
17
+ '& .MuiAlert-message': {
18
+ paddingTop: isSmall ? 0 : 8,
19
+ paddingBottom: isSmall ? 0 : 8
20
+ }
21
+ });
22
+ }
23
+ });
24
+ });
25
+ exports.Alert = react_1.forwardRef(function (props, ref) {
26
+ var isSmall = props.isSmall || false;
27
+ var classes = useStyles({ isSmall: isSmall });
28
+ return (react_1["default"].createElement(lab_1.Alert, tslib_1.__assign({ ref: ref }, props, { classes: tslib_1.__assign({ root: classes.alert }, props.classes) })));
29
+ });
30
+ exports.Alert.displayName = 'Alert';
31
+ //# sourceMappingURL=Alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":";;;;AAAA,0CAAmE;AACnE,wCAAoD;AACpD,qDAAsE;AAItE,IAAM,SAAS,GAAG,iBAAU,CAA8B;IACxD,OAAA,mBAAY,CAAC;QACX,KAAK,EAAE,UAAC,EAAW;gBAAT,OAAO,aAAA;YAAO,OAAA,CAAC;gBACvB,kBAAkB,EAAE;oBAClB,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC3B,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;iBAC/B;gBACD,qBAAqB,EAAE;oBACrB,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC3B,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;iBAC/B;aACF,CAAC;QATsB,CAStB;KACH,CAAC;AAXF,CAWE,CACH,CAAA;AAEY,QAAA,KAAK,GAAG,kBAAU,CAG7B,UAAC,KAAK,EAAE,GAAG;IACX,IAAM,OAAO,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAA;IACtC,IAAM,OAAO,GAAG,SAAS,CAAC,EAAE,OAAO,SAAA,EAAE,CAAC,CAAA;IAEtC,OAAO,CACL,iCAAC,WAAQ,qBACP,GAAG,EAAE,GAAG,IACJ,KAAK,IACT,OAAO,qBAAI,IAAI,EAAE,OAAO,CAAC,KAAK,IAAK,KAAK,CAAC,OAAO,KAChD,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,aAAK,CAAC,WAAW,GAAG,OAAO,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Alert';
2
+ export * from './types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Alert"), exports);
5
+ tslib_1.__exportStar(require("./types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Alert/index.tsx"],"names":[],"mappings":";;;AAAA,kDAAuB;AACvB,kDAAuB"}
@@ -0,0 +1,4 @@
1
+ import { AlertProps as MuiAlertProps } from '@material-ui/lab';
2
+ export interface AlertProps extends MuiAlertProps {
3
+ isSmall?: boolean;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/Alert/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { AppBarProps, ToolbarProps } from './types';
3
+ export declare function AppBar(props: AppBarProps): JSX.Element;
4
+ export declare function Toolbar(props: ToolbarProps): JSX.Element;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.Toolbar = exports.AppBar = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var core_1 = require("@material-ui/core");
6
+ var react_1 = tslib_1.__importDefault(require("react"));
7
+ function AppBar(props) {
8
+ var children = props.children, rest = tslib_1.__rest(props, ["children"]);
9
+ return react_1["default"].createElement(core_1.AppBar, tslib_1.__assign({}, rest), children);
10
+ }
11
+ exports.AppBar = AppBar;
12
+ function Toolbar(props) {
13
+ var children = props.children, rest = tslib_1.__rest(props, ["children"]);
14
+ return react_1["default"].createElement(core_1.Toolbar, tslib_1.__assign({}, rest), children);
15
+ }
16
+ exports.Toolbar = Toolbar;
17
+ //# sourceMappingURL=AppBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppBar.js","sourceRoot":"","sources":["../../src/AppBar/AppBar.tsx"],"names":[],"mappings":";;;;AAAA,0CAA8E;AAC9E,wDAAyB;AAIzB,SAAgB,MAAM,CAAC,KAAkB;IAC/B,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,iCAAC,aAAS,uBAAK,IAAI,GAAG,QAAQ,CAAa,CAAA;AACpD,CAAC;AAJD,wBAIC;AAED,SAAgB,OAAO,CAAC,KAAmB;IACjC,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,iCAAC,cAAU,uBAAK,IAAI,GAAG,QAAQ,CAAc,CAAA;AACtD,CAAC;AAJD,0BAIC"}
@@ -0,0 +1,3 @@
1
+ import { AppBarProps as MuiAppBarProps, ToolbarProps as MuiToolbarProps } from '@material-ui/core';
2
+ export declare type AppBarProps = MuiAppBarProps;
3
+ export declare type ToolbarProps = MuiToolbarProps;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/AppBar/types.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { AutocompleteProps } from './types';
3
- export declare const Autocomplete: React.ForwardRefExoticComponent<Pick<AutocompleteProps, "classes" | "disabled" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "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" | "variant" | "innerRef" | "label" | "error" | "size" | "open" | "multiple" | "value" | "autoComplete" | "loading" | "required" | "fullWidth" | "customBackgroundColor" | "onClose" | "onOpen" | "PopperComponent" | "disablePortal" | "ChipProps" | "closeIcon" | "clearText" | "closeText" | "forcePopupIcon" | "getLimitTagsText" | "ListboxComponent" | "ListboxProps" | "loadingText" | "limitTags" | "noOptionsText" | "openText" | "PaperComponent" | "popupIcon" | "renderGroup" | "renderOption" | "renderTags" | "autoHighlight" | "autoSelect" | "blurOnSelect" | "clearOnBlur" | "clearOnEscape" | "componentName" | "debug" | "disableClearable" | "disableCloseOnSelect" | "disabledItemsFocusable" | "disableListWrap" | "filterOptions" | "filterSelectedOptions" | "freeSolo" | "getOptionDisabled" | "getOptionLabel" | "getOptionSelected" | "groupBy" | "handleHomeEndKeys" | "includeInputInList" | "inputValue" | "onInputChange" | "onHighlightChange" | "openOnFocus" | "options" | "selectOnFocus" | "disableOpenOnFocus" | "flipPopperEnabled" | "textfieldProps"> & React.RefAttributes<unknown>>;
3
+ export declare const Autocomplete: React.ForwardRefExoticComponent<Pick<AutocompleteProps<any>, "error" | "label" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "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" | "disabled" | "size" | "open" | "multiple" | "value" | "autoComplete" | "required" | "loading" | "variant" | "closeText" | "onClose" | "fullWidth" | "customBackgroundColor" | "onOpen" | "PopperComponent" | "disablePortal" | "ChipProps" | "closeIcon" | "clearText" | "forcePopupIcon" | "getLimitTagsText" | "ListboxComponent" | "ListboxProps" | "loadingText" | "limitTags" | "noOptionsText" | "openText" | "PaperComponent" | "popupIcon" | "renderGroup" | "renderOption" | "renderTags" | "autoHighlight" | "autoSelect" | "blurOnSelect" | "clearOnBlur" | "clearOnEscape" | "componentName" | "debug" | "disableClearable" | "disableCloseOnSelect" | "disabledItemsFocusable" | "disableListWrap" | "filterOptions" | "filterSelectedOptions" | "freeSolo" | "getOptionDisabled" | "getOptionLabel" | "getOptionSelected" | "groupBy" | "handleHomeEndKeys" | "includeInputInList" | "inputValue" | "onInputChange" | "onHighlightChange" | "openOnFocus" | "options" | "selectOnFocus" | "disableOpenOnFocus" | "flipPopperEnabled" | "textfieldProps"> & React.RefAttributes<unknown>>;
@@ -1,2 +1,2 @@
1
- export { Autocomplete } from './Autocomplete';
1
+ export * from './Autocomplete';
2
2
  export * from './types';
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.Autocomplete = void 0;
4
3
  var tslib_1 = require("tslib");
5
- var Autocomplete_1 = require("./Autocomplete");
6
- tslib_1.__createBinding(exports, Autocomplete_1, "Autocomplete");
4
+ tslib_1.__exportStar(require("./Autocomplete"), exports);
7
5
  tslib_1.__exportStar(require("./types"), exports);
8
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Autocomplete/index.ts"],"names":[],"mappings":";;;;AAAA,+CAA6C;AAApC,iEAAY;AACrB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Autocomplete/index.ts"],"names":[],"mappings":";;;AAAA,yDAA8B;AAC9B,kDAAuB"}
@@ -1 +1 @@
1
- export declare const useAutocompleteStyles: (props?: any) => Record<"clearIconOverwrite", string>;
1
+ export declare const useAutocompleteStyles: (props?: any) => Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/Autocomplete/styles.ts"],"names":[],"mappings":";;;AAAA,mDAAmE;AAItD,QAAA,qBAAqB,GAAG,mBAAU,CAAC,UAAC,KAAkB;;IACjE,OAAA,qBAAY,CAAC;QACX,kBAAkB,EAAE;YAClB,mCAAmC,EAAE;gBACnC,KAAK,QAAE,KAAK,CAAC,OAAO,0CAAE,SAAS,CAAC,IAAI;aACrC;SACF;KACF,CAAC,CAAA;CAAA,CACH,CAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/Autocomplete/styles.ts"],"names":[],"mappings":";;;AAAA,mDAAmE;AAItD,QAAA,qBAAqB,GAAG,mBAAU,CAAc,UAAA,KAAK;;IAChE,OAAA,qBAAY,CAAC;QACX,kBAAkB,EAAE;YAClB,mCAAmC,EAAE;gBACnC,KAAK,QAAE,KAAK,CAAC,OAAO,0CAAE,SAAS,CAAC,IAAI;aACrC;SACF;KACF,CAAC,CAAA;CAAA,CACH,CAAA"}
@@ -1,10 +1,15 @@
1
- import { AutocompleteProps as MuiAutocompleteProps } from '@material-ui/lab';
2
- import React from 'react';
3
- import { TextFieldProps } from '../TextField';
1
+ import type { AutocompleteProps as MuiAutocompleteProps } from '@material-ui/lab';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextFieldProps } from '../TextField';
4
4
  declare type Multiple = boolean | undefined;
5
5
  declare type DisableClearable = boolean | undefined;
6
6
  declare type FreeSolo = boolean | undefined;
7
- export declare type AutocompleteProps = Omit<MuiAutocompleteProps<any, Multiple, DisableClearable, FreeSolo>, 'renderInput'> & {
7
+ /**
8
+ * @todo Consider typing T as string | string[] | null
9
+ * and removing annotation from value and onChange props
10
+ * @todo Consider extending AutocompleteXProps instead of MuiAutocompleteProps
11
+ */
12
+ export declare type AutocompleteProps<T = any> = Omit<MuiAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, 'renderInput'> & {
8
13
  /**
9
14
  * The text to be used as an error message.
10
15
  * If set, the select style changes to error status.
@@ -13,31 +18,14 @@ export declare type AutocompleteProps = Omit<MuiAutocompleteProps<any, Multiple,
13
18
  /**
14
19
  * The label content.
15
20
  */
16
- label?: React.ReactNode;
17
- /**
18
- * If true, value must be an array and the menu will support multiple selections.
19
- */
20
- multiple?: boolean;
21
- /**
22
- * Text to display when there are no options.
23
- *
24
- * For localization purposes, you can use the provided [translations](/guides/localization/).
25
- */
26
- noOptionsText?: string;
27
- /**
28
- * Array of options.
29
- */
30
- options: any[];
31
- /**
32
- * The short hint displayed in the input before the user enters a value.
33
- */
34
- placeholder?: string;
21
+ label?: ReactNode;
35
22
  /**
36
23
  * The value of the autocomplete.
37
24
  */
38
25
  value?: string | string[] | null;
39
26
  /**
40
27
  * Callback fired when the value changes.
28
+ * @todo Couldn't we just keep the same signature as the MUI Autocomplete's onChange?
41
29
  */
42
30
  onChange?: (event: React.ChangeEvent<unknown>, value: string | string[] | null) => void;
43
31
  /**
@@ -1,2 +1 @@
1
- import { Autocomplete as MuiAutocomplete } from '@material-ui/lab';
2
- export declare const AutocompleteX: typeof MuiAutocomplete;
1
+ export { Autocomplete as AutocompleteX } from '@material-ui/lab';
@@ -1,6 +1,13 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
2
9
  exports.__esModule = true;
3
10
  exports.AutocompleteX = void 0;
4
11
  var lab_1 = require("@material-ui/lab");
5
- exports.AutocompleteX = lab_1.Autocomplete;
12
+ __createBinding(exports, lab_1, "Autocomplete", "AutocompleteX");
6
13
  //# sourceMappingURL=AutocompleteX.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutocompleteX.js","sourceRoot":"","sources":["../../src/AutocompleteX/AutocompleteX.tsx"],"names":[],"mappings":";;;AAAA,wCAAkE;AAErD,QAAA,aAAa,GAAG,kBAAe,CAAA"}
1
+ {"version":3,"file":"AutocompleteX.js","sourceRoot":"","sources":["../../src/AutocompleteX/AutocompleteX.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,wCAAgE;AAAvD,iEAA6B"}
@@ -1,2 +1,2 @@
1
- export { AutocompleteX } from './AutocompleteX';
1
+ export * from './AutocompleteX';
2
2
  export * from './types';
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.AutocompleteX = void 0;
4
3
  var tslib_1 = require("tslib");
5
- var AutocompleteX_1 = require("./AutocompleteX");
6
- tslib_1.__createBinding(exports, AutocompleteX_1, "AutocompleteX");
4
+ tslib_1.__exportStar(require("./AutocompleteX"), exports);
7
5
  tslib_1.__exportStar(require("./types"), exports);
8
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/AutocompleteX/index.ts"],"names":[],"mappings":";;;;AAAA,iDAA+C;AAAtC,mEAAa;AACtB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/AutocompleteX/index.ts"],"names":[],"mappings":";;;AAAA,0DAA+B;AAC/B,kDAAuB"}
@@ -2,5 +2,8 @@ import { AutocompleteProps as MuiAutocompleteProps } from '@material-ui/lab';
2
2
  declare type Multiple = boolean | undefined;
3
3
  declare type DisableClearable = boolean | undefined;
4
4
  declare type FreeSolo = boolean | undefined;
5
- export declare type AutocompleteXProps = MuiAutocompleteProps<any, Multiple, DisableClearable, FreeSolo>;
5
+ /**
6
+ * @todo Consider narrowing type of T to string | string[] | null
7
+ */
8
+ export declare type AutocompleteXProps<T = any> = MuiAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>;
6
9
  export {};
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { AvatarProps } from './types';
3
- export declare function Avatar(props: AvatarProps): JSX.Element;
2
+ import type { AvatarProps } from './types';
3
+ export declare const Avatar: (props: AvatarProps) => JSX.Element;
@@ -3,6 +3,7 @@ exports.__esModule = true;
3
3
  exports.Avatar = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
+ var classnames_1 = tslib_1.__importDefault(require("classnames"));
6
7
  var react_1 = tslib_1.__importDefault(require("react"));
7
8
  var useStyles = core_1.makeStyles(function (theme) {
8
9
  return core_1.createStyles({
@@ -16,13 +17,10 @@ var useStyles = core_1.makeStyles(function (theme) {
16
17
  }
17
18
  });
18
19
  });
19
- function Avatar(props) {
20
+ var Avatar = function (props) {
20
21
  var classes = useStyles(props);
21
22
  var backgroundColor = props.backgroundColor, borderColor = props.borderColor, className = props.className, rest = tslib_1.__rest(props, ["backgroundColor", "borderColor", "className"]);
22
- var avatarClasses = backgroundColor
23
- ? classes.backgroundcolor + " " + classes.bordercolor
24
- : classes.bordercolor;
25
- return react_1["default"].createElement(core_1.Avatar, tslib_1.__assign({ className: avatarClasses + " " + className }, rest));
26
- }
23
+ return (react_1["default"].createElement(core_1.Avatar, tslib_1.__assign({ className: classnames_1["default"](backgroundColor && classes.backgroundcolor, classes.bordercolor, className) }, rest)));
24
+ };
27
25
  exports.Avatar = Avatar;
28
26
  //# sourceMappingURL=Avatar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.js","sourceRoot":"","sources":["../../src/Avatar/Avatar.tsx"],"names":[],"mappings":";;;;AAAA,0CAI0B;AAC1B,wDAAyB;AAKzB,IAAM,SAAS,GAAG,iBAAU,CAAC,UAAC,KAAY;IACxC,OAAA,mBAAY,CAAC;QACX,eAAe,EAAE;YACf,eAAe,EAAE,UAAC,KAAkB,IAAK,OAAA,KAAK,CAAC,eAAe,EAArB,CAAqB;SAC/D;QACD,WAAW,EAAE;YACX,MAAM,EAAE,UAAC,KAAkB;gBACzB,OAAA,gBAAa,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAE;YAAjE,CAAiE;SACpE;KACF,CAAC;AARF,CAQE,CACH,CAAA;AAED,SAAgB,MAAM,CAAC,KAAkB;IACvC,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,CAAA;IACxB,IAAA,eAAe,GAAsC,KAAK,gBAA3C,EAAE,WAAW,GAAyB,KAAK,YAA9B,EAAE,SAAS,GAAc,KAAK,UAAnB,EAAK,IAAI,kBAAK,KAAK,EAA5D,+CAAoD,CAAF,CAAU;IAClE,IAAM,aAAa,GAAG,eAAe;QACnC,CAAC,CAAI,OAAO,CAAC,eAAe,SAAI,OAAO,CAAC,WAAa;QACrD,CAAC,CAAC,OAAO,CAAC,WAAW,CAAA;IAEvB,OAAO,iCAAC,aAAS,qBAAC,SAAS,EAAK,aAAa,SAAI,SAAW,IAAM,IAAI,EAAI,CAAA;AAC5E,CAAC;AARD,wBAQC"}
1
+ {"version":3,"file":"Avatar.js","sourceRoot":"","sources":["../../src/Avatar/Avatar.tsx"],"names":[],"mappings":";;;;AAAA,0CAI0B;AAC1B,kEAAmC;AACnC,wDAAyB;AAMzB,IAAM,SAAS,GAAG,iBAAU,CAG1B,UAAA,KAAK;IACL,OAAA,mBAAY,CAAC;QACX,eAAe,EAAE;YACf,eAAe,EAAE,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,eAAe,EAArB,CAAqB;SAChD;QACD,WAAW,EAAE;YACX,MAAM,EAAE,UAAA,KAAK;gBACX,OAAA,gBAAa,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAE;YAAjE,CAAiE;SACpE;KACF,CAAC;AARF,CAQE,CACH,CAAA;AAEM,IAAM,MAAM,GAAG,UAAC,KAAkB;IACvC,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,CAAA;IACxB,IAAA,eAAe,GAAsC,KAAK,gBAA3C,EAAE,WAAW,GAAyB,KAAK,YAA9B,EAAE,SAAS,GAAc,KAAK,UAAnB,EAAK,IAAI,kBAAK,KAAK,EAA5D,+CAAoD,CAAF,CAAU;IAElE,OAAO,CACL,iCAAC,aAAS,qBACR,SAAS,EAAE,uBAAU,CACnB,eAAe,IAAI,OAAO,CAAC,eAAe,EAC1C,OAAO,CAAC,WAAW,EACnB,SAAS,CACV,IACG,IAAI,EACR,CACH,CAAA;AACH,CAAC,CAAA;AAdY,QAAA,MAAM,UAclB"}
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { AvatarGroupProps } from './types';
3
- export declare function AvatarGroup(props: AvatarGroupProps): JSX.Element;
2
+ import type { AvatarGroupProps } from './types';
3
+ export declare const AvatarGroup: ({ className, ...props }: AvatarGroupProps) => JSX.Element;