@epilot/base-elements 3.1.6 → 3.1.7

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 (88) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/AppBar/index.d.ts +1 -2
  3. package/dist/AppBar/index.js +11 -3
  4. package/dist/AppBar/index.js.map +1 -1
  5. package/dist/Badge/Badge.d.ts +2 -3
  6. package/dist/Badge/Badge.js +3 -6
  7. package/dist/Badge/Badge.js.map +1 -1
  8. package/dist/Box/index.d.ts +1 -2
  9. package/dist/Box/index.js +10 -3
  10. package/dist/Box/index.js.map +1 -1
  11. package/dist/Breadcrumbs/index.d.ts +1 -2
  12. package/dist/Breadcrumbs/index.js +9 -4
  13. package/dist/Breadcrumbs/index.js.map +1 -1
  14. package/dist/Button/index.d.ts +1 -2
  15. package/dist/Button/index.js +10 -3
  16. package/dist/Button/index.js.map +1 -1
  17. package/dist/ButtonGroup/ButtonGroup.d.ts +2 -3
  18. package/dist/ButtonGroup/ButtonGroup.js +3 -6
  19. package/dist/ButtonGroup/ButtonGroup.js.map +1 -1
  20. package/dist/ButtonGroup/types.d.ts +2 -37
  21. package/dist/Card/index.d.ts +1 -2
  22. package/dist/Card/index.js +15 -3
  23. package/dist/Card/index.js.map +1 -1
  24. package/dist/Chip/Chip.d.ts +3 -3
  25. package/dist/Chip/Chip.js +6 -6
  26. package/dist/Chip/Chip.js.map +1 -1
  27. package/dist/Chip/RandomColoredChip.d.ts +3 -3
  28. package/dist/Chip/RandomColoredChip.js +5 -5
  29. package/dist/Chip/RandomColoredChip.js.map +1 -1
  30. package/dist/CssBaseline/index.d.ts +2 -3
  31. package/dist/CssBaseline/index.js +11 -5
  32. package/dist/CssBaseline/index.js.map +1 -1
  33. package/dist/Skeleton/index.d.ts +1 -2
  34. package/dist/Skeleton/index.js +9 -3
  35. package/dist/Skeleton/index.js.map +1 -1
  36. package/dist/Stepper/MobileStepper.d.ts +2 -3
  37. package/dist/Stepper/MobileStepper.js +3 -5
  38. package/dist/Stepper/MobileStepper.js.map +1 -1
  39. package/dist/Stepper/Stepper.d.ts +4 -7
  40. package/dist/Stepper/Stepper.js +12 -23
  41. package/dist/Stepper/Stepper.js.map +1 -1
  42. package/dist/Stepper/types.d.ts +2 -6
  43. package/dist/ThemeProvider/ThemeProvider.d.ts +2 -2
  44. package/dist/ThemeProvider/ThemeProvider.js +16 -19
  45. package/dist/ThemeProvider/ThemeProvider.js.map +1 -1
  46. package/dist/ThemeProvider/index.d.ts +0 -1
  47. package/dist/ThemeProvider/index.js +0 -1
  48. package/dist/ThemeProvider/index.js.map +1 -1
  49. package/dist/Typography/Typography.d.ts +42 -12
  50. package/dist/Typography/Typography.js +32 -46
  51. package/dist/Typography/Typography.js.map +1 -1
  52. package/dist/Typography/index.d.ts +1 -2
  53. package/dist/bundle.js +86 -82
  54. package/dist/bundle.js.map +1 -1
  55. package/dist/context/ClassPrefixContext.d.ts +6 -8
  56. package/dist/context/ClassPrefixContext.js +4 -5
  57. package/dist/context/ClassPrefixContext.js.map +1 -1
  58. package/package.json +2 -2
  59. package/dist/AppBar/AppBar.d.ts +0 -4
  60. package/dist/AppBar/AppBar.js +0 -17
  61. package/dist/AppBar/AppBar.js.map +0 -1
  62. package/dist/AppBar/types.d.ts +0 -3
  63. package/dist/AppBar/types.js +0 -3
  64. package/dist/AppBar/types.js.map +0 -1
  65. package/dist/Box/Box.d.ts +0 -3
  66. package/dist/Box/Box.js +0 -12
  67. package/dist/Box/Box.js.map +0 -1
  68. package/dist/Box/types.d.ts +0 -2
  69. package/dist/Box/types.js +0 -3
  70. package/dist/Box/types.js.map +0 -1
  71. package/dist/Breadcrumbs/Breadcrumbs.d.ts +0 -3
  72. package/dist/Breadcrumbs/Breadcrumbs.js +0 -11
  73. package/dist/Breadcrumbs/Breadcrumbs.js.map +0 -1
  74. package/dist/Breadcrumbs/types.d.ts +0 -2
  75. package/dist/Breadcrumbs/types.js +0 -3
  76. package/dist/Breadcrumbs/types.js.map +0 -1
  77. package/dist/Button/Button.d.ts +0 -2
  78. package/dist/Button/Button.js +0 -6
  79. package/dist/Button/Button.js.map +0 -1
  80. package/dist/Button/types.d.ts +0 -2
  81. package/dist/Button/types.js +0 -3
  82. package/dist/Button/types.js.map +0 -1
  83. package/dist/Card/Card.d.ts +0 -8
  84. package/dist/Card/Card.js +0 -34
  85. package/dist/Card/Card.js.map +0 -1
  86. package/dist/Card/types.d.ts +0 -7
  87. package/dist/Card/types.js +0 -3
  88. package/dist/Card/types.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.1.7](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v3.2.0-alpha.1...v3.1.7) (2023-06-27)
6
+
7
+ ## [3.2.0-alpha.1](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v3.2.0-alpha.0...v3.2.0-alpha.1) (2023-06-27)
8
+
9
+ ## [3.2.0-alpha.0](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v3.1.6...v3.2.0-alpha.0) (2023-06-27)
10
+
11
+
12
+ ### Features
13
+
14
+ * add left icon and right icon button variant ([c206819](https://gitlab.com/e-pilot/product/frontend/base/elements/commit/c2068199ffb9d9b32fc47ecc2ca8fffbbc014545))
15
+
5
16
  ### [3.1.6](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v3.1.4...v3.1.6) (2023-05-31)
6
17
 
7
18
 
@@ -1,2 +1 @@
1
- export * from './AppBar';
2
- export * from './types';
1
+ export { AppBar, Toolbar, AppBarProps, ToolbarProps } from '@material-ui/core';
@@ -1,6 +1,14 @@
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
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./AppBar"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
10
+ exports.Toolbar = exports.AppBar = void 0;
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "AppBar");
13
+ __createBinding(exports, core_1, "Toolbar");
6
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/AppBar/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwB;AACxB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/AppBar/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAA8E;AAArE,2CAAM;AAAE,4CAAO"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { BadgeProps } from './types';
3
- export declare function Badge(props: BadgeProps): JSX.Element;
1
+ import React from 'react';
2
+ export declare const Badge: React.ForwardRefExoticComponent<Pick<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core").BadgeTypeMap<{}, "div">, "div">, "ref" | "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" | "key" | "max" | "invisible" | "overlap" | "badgeContent">, "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" | "key" | "max" | "invisible" | "overlap" | "badgeContent"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,10 +3,7 @@ exports.__esModule = true;
3
3
  exports.Badge = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- function Badge(props) {
8
- var children = props.children, rest = tslib_1.__rest(props, ["children"]);
9
- return (react_1["default"].createElement(core_1.Badge, tslib_1.__assign({ showZero: true }, rest), children));
10
- }
11
- exports.Badge = Badge;
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
+ exports.Badge = react_1.forwardRef(function (props, ref) { return react_1["default"].createElement(core_1.Badge, tslib_1.__assign({ ref: ref, showZero: true }, props)); });
8
+ exports.Badge.displayName = 'Badge';
12
9
  //# sourceMappingURL=Badge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.js","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":";;;;AAAA,0CAAqD;AACrD,wDAAyB;AAIzB,SAAgB,KAAK,CAAC,KAAiB;IAC7B,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,CACL,iCAAC,YAAQ,qBAAC,QAAQ,UAAK,IAAI,GACxB,QAAQ,CACA,CACZ,CAAA;AACH,CAAC;AARD,sBAQC"}
1
+ {"version":3,"file":"Badge.js","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":";;;;AAAA,0CAAqD;AACrD,qDAAsE;AAIzD,QAAA,KAAK,GAAG,kBAAU,CAG7B,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,iCAAC,YAAQ,qBAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,UAAK,KAAK,EAAI,EAA1C,CAA0C,CAAC,CAAA;AAE7D,aAAK,CAAC,WAAW,GAAG,OAAO,CAAA"}
@@ -1,2 +1 @@
1
- export * from './Box';
2
- export * from './types';
1
+ export { Box, BoxProps } from '@material-ui/core';
package/dist/Box/index.js CHANGED
@@ -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
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Box"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
10
+ exports.Box = void 0;
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "Box");
6
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Box/index.ts"],"names":[],"mappings":";;;AAAA,gDAAqB;AACrB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Box/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAiD;AAAxC,wCAAG"}
@@ -1,2 +1 @@
1
- export { Breadcrumbs } from './Breadcrumbs';
2
- export * from './types';
1
+ export { Breadcrumbs, BreadcrumbsProps } from '@material-ui/core';
@@ -1,8 +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.Breadcrumbs = void 0;
4
- var tslib_1 = require("tslib");
5
- var Breadcrumbs_1 = require("./Breadcrumbs");
6
- tslib_1.__createBinding(exports, Breadcrumbs_1, "Breadcrumbs");
7
- tslib_1.__exportStar(require("./types"), exports);
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "Breadcrumbs");
8
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Breadcrumbs/index.ts"],"names":[],"mappings":";;;;AAAA,6CAA2C;AAAlC,+DAAW;AACpB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Breadcrumbs/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAiE;AAAxD,gDAAW"}
@@ -1,2 +1 @@
1
- export * from './Button';
2
- export * from './types';
1
+ export { Button, ButtonProps } from '@material-ui/core';
@@ -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
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Button"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
10
+ exports.Button = void 0;
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "Button");
6
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Button/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwB;AACxB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Button/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAuD;AAA9C,2CAAM"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { ButtonGroupProps } from './types';
3
- export declare function ButtonGroup(props: ButtonGroupProps): JSX.Element;
1
+ import React from 'react';
2
+ export declare const ButtonGroup: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core").ButtonGroupTypeMap<{}, "div">, "div">, "disabled" | "style" | "color" | "children" | "variant" | "orientation" | "size" | "fullWidth"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,10 +3,7 @@ exports.__esModule = true;
3
3
  exports.ButtonGroup = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- function ButtonGroup(props) {
8
- var children = props.children, rest = tslib_1.__rest(props, ["children"]);
9
- return (react_1["default"].createElement(core_1.ButtonGroup, tslib_1.__assign({ disableElevation: true }, rest), children));
10
- }
11
- exports.ButtonGroup = ButtonGroup;
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
+ exports.ButtonGroup = react_1.forwardRef(function (props, ref) { return react_1["default"].createElement(core_1.ButtonGroup, tslib_1.__assign({ disableElevation: true, ref: ref }, props)); });
8
+ exports.ButtonGroup.displayName = 'ButtonGroup';
12
9
  //# sourceMappingURL=ButtonGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.js","sourceRoot":"","sources":["../../src/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":";;;;AAAA,0CAAiE;AACjE,wDAAyB;AAIzB,SAAgB,WAAW,CAAC,KAAuB;IACzC,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,CACL,iCAAC,kBAAc,qBAAC,gBAAgB,UAAK,IAAI,GACtC,QAAQ,CACM,CAClB,CAAA;AACH,CAAC;AARD,kCAQC"}
1
+ {"version":3,"file":"ButtonGroup.js","sourceRoot":"","sources":["../../src/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":";;;;AAAA,0CAAiE;AACjE,qDAAsE;AAIzD,QAAA,WAAW,GAAG,kBAAU,CAGnC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,iCAAC,kBAAc,qBAAC,gBAAgB,QAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,EAAxD,CAAwD,CAAC,CAAA;AAE3E,mBAAW,CAAC,WAAW,GAAG,aAAa,CAAA"}
@@ -1,37 +1,2 @@
1
- import { PropTypes } from '@material-ui/core';
2
- import { CSSProperties } from 'react';
3
- export interface ButtonGroupProps {
4
- /**
5
- * The content of the button group should be Button components.
6
- */
7
- children?: React.ReactNode;
8
- /**
9
- * The color of the component. It supports those theme colors that make sense for this component.
10
- */
11
- color?: PropTypes.Color;
12
- /**
13
- * If `true`, the buttons will be disabled.
14
- */
15
- disabled?: boolean;
16
- /**
17
- * If `true`, the buttons will take up the full width of its container.
18
- */
19
- fullWidth?: boolean;
20
- /**
21
- * The group orientation (layout flow direction).
22
- */
23
- orientation?: 'vertical' | 'horizontal';
24
- /**
25
- * The size of the button.
26
- * `small` is equivalent to the dense button styling.
27
- */
28
- size?: 'small' | 'medium' | 'large';
29
- /**
30
- * The variant to use.
31
- */
32
- variant?: 'text' | 'outlined' | 'contained';
33
- /**
34
- * elements style
35
- */
36
- style?: CSSProperties;
37
- }
1
+ import type { ButtonGroupProps as MuiButtonGroupProps } from '@material-ui/core';
2
+ export declare type ButtonGroupProps = Pick<MuiButtonGroupProps, 'children' | 'color' | 'disabled' | 'fullWidth' | 'orientation' | 'size' | 'variant' | 'style'>;
@@ -1,2 +1 @@
1
- export * from './Card';
2
- export * from './types';
1
+ export { Card, CardProps, CardActionArea, CardActionAreaProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps } from '@material-ui/core';
@@ -1,6 +1,18 @@
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
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Card"), exports);
5
- tslib_1.__exportStar(require("./types"), exports);
10
+ exports.CardMedia = exports.CardHeader = exports.CardContent = exports.CardActions = exports.CardActionArea = exports.Card = void 0;
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "Card");
13
+ __createBinding(exports, core_1, "CardActionArea");
14
+ __createBinding(exports, core_1, "CardActions");
15
+ __createBinding(exports, core_1, "CardContent");
16
+ __createBinding(exports, core_1, "CardHeader");
17
+ __createBinding(exports, core_1, "CardMedia");
6
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Card/index.ts"],"names":[],"mappings":";;;AAAA,iDAAsB;AACtB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Card/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAa0B;AAZxB,yCAAI;AAEJ,mDAAc;AAEd,gDAAW;AAEX,gDAAW;AAEX,+CAAU;AAEV,8CAAS"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- import { ChipProps } from './types';
3
- export declare function Chip(props: ChipProps): JSX.Element;
1
+ import React from 'react';
2
+ import type { ChipProps } from './types';
3
+ export declare const Chip: React.ForwardRefExoticComponent<Pick<ChipProps, "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" | "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" | "variant" | "innerRef" | "label" | "key" | "href" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "randomColor"> & React.RefAttributes<HTMLDivElement>>;
package/dist/Chip/Chip.js CHANGED
@@ -3,15 +3,15 @@ exports.__esModule = true;
3
3
  exports.Chip = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
7
  var Icon_1 = require("../Icon");
8
8
  var RandomColoredChip_1 = require("./RandomColoredChip");
9
- function Chip(props) {
9
+ exports.Chip = react_1.forwardRef(function (props, ref) {
10
10
  var _a = props.deleteIcon, deleteIcon = _a === void 0 ? react_1["default"].createElement(Icon_1.Icon, { name: "close" }) : _a, randomColor = props.randomColor, rest = tslib_1.__rest(props, ["deleteIcon", "randomColor"]);
11
11
  if (randomColor) {
12
- return react_1["default"].createElement(RandomColoredChip_1.RandomColoredChip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
12
+ return react_1["default"].createElement(RandomColoredChip_1.RandomColoredChip, tslib_1.__assign({ deleteIcon: deleteIcon, ref: ref }, rest));
13
13
  }
14
- return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
15
- }
16
- exports.Chip = Chip;
14
+ return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({ deleteIcon: deleteIcon, ref: ref }, rest));
15
+ });
16
+ exports.Chip.displayName = 'Chip';
17
17
  //# sourceMappingURL=Chip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../src/Chip/Chip.tsx"],"names":[],"mappings":";;;;AAAA,0CAAmD;AACnD,wDAAyB;AAEzB,gCAA8B;AAE9B,yDAAuD;AAGvD,SAAgB,IAAI,CAAC,KAAgB;IAC3B,IAAA,KAA6D,KAAK,WAAhC,EAAlC,UAAU,mBAAG,iCAAC,WAAI,IAAC,IAAI,EAAC,OAAO,GAAG,KAAA,EAAE,WAAW,GAAc,KAAK,YAAnB,EAAK,IAAI,kBAAK,KAAK,EAApE,6BAA4D,CAAF,CAAU;IAE1E,IAAI,WAAW,EAAE;QACf,OAAO,iCAAC,qCAAiB,qBAAC,UAAU,EAAE,UAAU,IAAM,IAAI,EAAI,CAAA;KAC/D;IAED,OAAO,iCAAC,WAAO,qBAAC,UAAU,EAAE,UAAU,IAAM,IAAI,EAAI,CAAA;AACtD,CAAC;AARD,oBAQC"}
1
+ {"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../src/Chip/Chip.tsx"],"names":[],"mappings":";;;;AAAA,0CAAmD;AACnD,qDAAsE;AAEtE,gCAA8B;AAE9B,yDAAuD;AAG1C,QAAA,IAAI,GAAG,kBAAU,CAG5B,UAAC,KAAK,EAAE,GAAG;IACH,IAAA,KAA6D,KAAK,WAAhC,EAAlC,UAAU,mBAAG,iCAAC,WAAI,IAAC,IAAI,EAAC,OAAO,GAAG,KAAA,EAAE,WAAW,GAAc,KAAK,YAAnB,EAAK,IAAI,kBAAK,KAAK,EAApE,6BAA4D,CAAF,CAAU;IAE1E,IAAI,WAAW,EAAE;QACf,OAAO,iCAAC,qCAAiB,qBAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,IAAM,IAAI,EAAI,CAAA;KACzE;IAED,OAAO,iCAAC,WAAO,qBAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,IAAM,IAAI,EAAI,CAAA;AAChE,CAAC,CAAC,CAAA;AAEF,YAAI,CAAC,WAAW,GAAG,MAAM,CAAA"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- import { ChipProps } from './types';
3
- export declare function RandomColoredChip(props: ChipProps): JSX.Element;
1
+ import React from 'react';
2
+ import type { ChipProps } from './types';
3
+ export declare const RandomColoredChip: React.ForwardRefExoticComponent<Pick<ChipProps, "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" | "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" | "variant" | "innerRef" | "label" | "key" | "href" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "randomColor"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,7 +3,7 @@ exports.__esModule = true;
3
3
  exports.RandomColoredChip = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
7
  var utils_1 = require("../utils");
8
8
  var useChipStyles = core_1.makeStyles(function () {
9
9
  return core_1.createStyles({
@@ -68,13 +68,13 @@ var useChipStyles = core_1.makeStyles(function () {
68
68
  }
69
69
  });
70
70
  });
71
- function RandomColoredChip(props) {
71
+ exports.RandomColoredChip = react_1.forwardRef(function (props, ref) {
72
72
  var color = utils_1.getRandomColor(typeof props.label === 'string' ? props.label : '');
73
73
  var classes = useChipStyles({
74
74
  $backgroundColor: color === null || color === void 0 ? void 0 : color.main,
75
75
  $textColor: color === null || color === void 0 ? void 0 : color.contrastText
76
76
  });
77
- return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({}, props, { classes: classes }));
78
- }
79
- exports.RandomColoredChip = RandomColoredChip;
77
+ return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({ classes: classes, ref: ref }, props));
78
+ });
79
+ exports.RandomColoredChip.displayName = 'RandomColoredChip';
80
80
  //# sourceMappingURL=RandomColoredChip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RandomColoredChip.js","sourceRoot":"","sources":["../../src/Chip/RandomColoredChip.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6E;AAC7E,wDAAyB;AAEzB,kCAAyC;AAGzC,IAAM,aAAa,GAAG,iBAAU,CAAC;IAC/B,OAAA,mBAAY,CAAC;QACX,IAAI,EAAE;YACJ,eAAe,EAAE,UAAC,EAKjB;oBAJC,gBAAgB,sBAAA;uBAIZ,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;aAAA;YAEnC,mBAAmB,EAAE;gBACnB,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;aAChC;SACF;QAED,KAAK,EAAE;YACL,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;SAC1B;QAED,SAAS,EAAE;YACT,SAAS,EAAE;gBACT,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;gBAE/B,MAAM,EAAE,iBAAiB;aAC1B;SACF;QAED,SAAS,EAAE;YACT,SAAS,EAAE;gBACT,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;aAChC;SACF;QAED,IAAI,EAAE;YACJ,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;YAEzB,SAAS,EAAE;gBACT,KAAK,EAAE,UAAC,EAAuC;wBAArC,UAAU,gBAAA;2BAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;iBAAA;aAC1B;SACF;QAED,UAAU,EAAE;YACV,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;YAEzB,SAAS,EAAE;gBACT,KAAK,EAAE,UAAC,EAAuC;wBAArC,UAAU,gBAAA;2BAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;iBAAA;aAC1B;SACF;KACF,CAAC;AAvDF,CAuDE,CACH,CAAA;AAED,SAAgB,iBAAiB,CAAC,KAAgB;IAChD,IAAM,KAAK,GAAG,sBAAc,CAC1B,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CACnD,CAAA;IAED,IAAM,OAAO,GAAG,aAAa,CAAC;QAC5B,gBAAgB,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI;QAC7B,UAAU,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY;KAChC,CAAC,CAAA;IAEF,OAAO,iCAAC,WAAO,uBAAK,KAAK,IAAE,OAAO,EAAE,OAAO,IAAI,CAAA;AACjD,CAAC;AAXD,8CAWC"}
1
+ {"version":3,"file":"RandomColoredChip.js","sourceRoot":"","sources":["../../src/Chip/RandomColoredChip.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6E;AAC7E,qDAAsE;AAEtE,kCAAyC;AAIzC,IAAM,aAAa,GAAG,iBAAU,CAAC;IAC/B,OAAA,mBAAY,CAAC;QACX,IAAI,EAAE;YACJ,eAAe,EAAE,UAAC,EAKjB;oBAJC,gBAAgB,sBAAA;uBAIZ,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;aAAA;YACnC,mBAAmB,EAAE;gBACnB,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;aAChC;SACF;QAED,KAAK,EAAE;YACL,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;SAC1B;QAED,SAAS,EAAE;YACT,SAAS,EAAE;gBACT,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;gBAC/B,MAAM,EAAE,iBAAiB;aAC1B;SACF;QAED,SAAS,EAAE;YACT,SAAS,EAAE;gBACT,UAAU,EAAE,UAAC,EAAmD;wBAAjD,gBAAgB,sBAAA;2BAC7B,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,SAAS;iBAAA;aAChC;SACF;QAED,IAAI,EAAE;YACJ,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;YACzB,SAAS,EAAE;gBACT,KAAK,EAAE,UAAC,EAAuC;wBAArC,UAAU,gBAAA;2BAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;iBAAA;aAC1B;SACF;QAED,UAAU,EAAE;YACV,KAAK,EAAE,UAAC,EAAuC;oBAArC,UAAU,gBAAA;uBAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;aAAA;YACzB,SAAS,EAAE;gBACT,KAAK,EAAE,UAAC,EAAuC;wBAArC,UAAU,gBAAA;2BAClB,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;iBAAA;aAC1B;SACF;KACF,CAAC;AAnDF,CAmDE,CACH,CAAA;AAEY,QAAA,iBAAiB,GAAG,kBAAU,CAGzC,UAAC,KAAK,EAAE,GAAG;IACX,IAAM,KAAK,GAAG,sBAAc,CAC1B,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CACnD,CAAA;IAED,IAAM,OAAO,GAAG,aAAa,CAAC;QAC5B,gBAAgB,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI;QAC7B,UAAU,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY;KAChC,CAAC,CAAA;IAEF,OAAO,iCAAC,WAAO,qBAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CAAA;AAC3D,CAAC,CAAC,CAAA;AAEF,yBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAA"}
@@ -1,3 +1,2 @@
1
- import CssBaseline from '@material-ui/core/CssBaseline';
2
- import ScopedCssBaseline from '@material-ui/core/ScopedCssBaseline';
3
- export { CssBaseline, ScopedCssBaseline };
1
+ export { CssBaseline } from '@material-ui/core';
2
+ export { default as ScopedCssBaseline } from '@material-ui/core/ScopedCssBaseline';
@@ -1,9 +1,15 @@
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.ScopedCssBaseline = exports.CssBaseline = void 0;
4
- var tslib_1 = require("tslib");
5
- var CssBaseline_1 = tslib_1.__importDefault(require("@material-ui/core/CssBaseline"));
6
- exports.CssBaseline = CssBaseline_1["default"];
7
- var ScopedCssBaseline_1 = tslib_1.__importDefault(require("@material-ui/core/ScopedCssBaseline"));
8
- exports.ScopedCssBaseline = ScopedCssBaseline_1["default"];
11
+ var core_1 = require("@material-ui/core");
12
+ __createBinding(exports, core_1, "CssBaseline");
13
+ var ScopedCssBaseline_1 = require("@material-ui/core/ScopedCssBaseline");
14
+ __createBinding(exports, ScopedCssBaseline_1, "default", "ScopedCssBaseline");
9
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CssBaseline/index.ts"],"names":[],"mappings":";;;;AAAA,sFAAuD;AAG9C,sBAHF,wBAAW,CAGE;AAFpB,kGAAmE;AAE7C,4BAFf,8BAAiB,CAEe"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CssBaseline/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAA+C;AAAtC,gDAAW;AACpB,yEAAkF;AAAzE,8EAA4B"}
@@ -1,2 +1 @@
1
- import Skeleton, { SkeletonProps } from '@material-ui/lab/Skeleton';
2
- export { Skeleton, SkeletonProps };
1
+ export { Skeleton, SkeletonProps } from '@material-ui/lab';
@@ -1,7 +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.Skeleton = void 0;
4
- var tslib_1 = require("tslib");
5
- var Skeleton_1 = tslib_1.__importDefault(require("@material-ui/lab/Skeleton"));
6
- exports.Skeleton = Skeleton_1["default"];
11
+ var lab_1 = require("@material-ui/lab");
12
+ __createBinding(exports, lab_1, "Skeleton");
7
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Skeleton/index.tsx"],"names":[],"mappings":";;;;AAAA,+EAAmE;AAE1D,mBAFF,qBAAQ,CAEE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Skeleton/index.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,wCAA0D;AAAjD,4CAAQ"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { MobileStepperProps } from './types';
3
- export declare function MobileStepper(props: MobileStepperProps): JSX.Element;
1
+ import React from 'react';
2
+ export declare const MobileStepper: React.ForwardRefExoticComponent<Pick<Pick<import("@material-ui/core").MobileStepperProps, "ref" | "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" | "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" | "position" | "activeStep" | "backButton" | "nextButton" | "steps">, "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" | "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" | "position" | "activeStep" | "backButton" | "nextButton" | "steps"> & React.RefAttributes<unknown>>;
@@ -3,9 +3,7 @@ exports.__esModule = true;
3
3
  exports.MobileStepper = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- function MobileStepper(props) {
8
- return react_1["default"].createElement(core_1.MobileStepper, tslib_1.__assign({}, props));
9
- }
10
- exports.MobileStepper = MobileStepper;
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
+ exports.MobileStepper = react_1.forwardRef(function (props, ref) { return react_1["default"].createElement(core_1.MobileStepper, tslib_1.__assign({ ref: ref }, props)); });
8
+ exports.MobileStepper.displayName = 'MobileStepper';
11
9
  //# sourceMappingURL=MobileStepper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MobileStepper.js","sourceRoot":"","sources":["../../src/Stepper/MobileStepper.tsx"],"names":[],"mappings":";;;;AAAA,0CAAqE;AACrE,wDAAyB;AAIzB,SAAgB,aAAa,CAAC,KAAyB;IACrD,OAAO,iCAAC,oBAAgB,uBAAK,KAAK,EAAI,CAAA;AACxC,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"MobileStepper.js","sourceRoot":"","sources":["../../src/Stepper/MobileStepper.tsx"],"names":[],"mappings":";;;;AAAA,0CAAqE;AACrE,qDAAsE;AAIzD,QAAA,aAAa,GAAG,kBAAU,CAGrC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,iCAAC,oBAAgB,qBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,EAAzC,CAAyC,CAAC,CAAA;AAE5D,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAA"}
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import { StepperProps, StepProps, StepLabelProps, StepContentProps, StepConnectorProps } from './types';
3
- export declare function Stepper(props: StepperProps): JSX.Element;
4
- export declare function Step(props: StepProps): JSX.Element;
5
- export declare function StepLabel(props: StepLabelProps): JSX.Element;
6
- export declare function StepContent(props: StepContentProps): JSX.Element;
7
- export declare function StepConnector(props: StepConnectorProps): JSX.Element;
1
+ import React from 'react';
2
+ import type { StepperProps } from './types';
3
+ export { Step, StepLabel, StepContent, StepConnector } from '@material-ui/core';
4
+ export declare const Stepper: React.ForwardRefExoticComponent<Pick<StepperProps, "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" | "orientation" | "activeStep" | "connector" | "alignment"> & React.RefAttributes<unknown>>;