@epilot/base-elements 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1136 -0
- package/dist/Accordion/Accordion.d.ts +1 -3
- package/dist/Accordion/Accordion.js +8 -4
- package/dist/Accordion/Accordion.js.map +1 -1
- package/dist/Accordion/AccordionActions.d.ts +1 -3
- package/dist/Accordion/AccordionActions.js +8 -4
- package/dist/Accordion/AccordionActions.js.map +1 -1
- package/dist/Accordion/AccordionDetails.d.ts +1 -3
- package/dist/Accordion/AccordionDetails.js +8 -7
- package/dist/Accordion/AccordionDetails.js.map +1 -1
- package/dist/Accordion/AccordionSummary.d.ts +2 -2
- package/dist/Accordion/AccordionSummary.js +4 -4
- package/dist/Accordion/AccordionSummary.js.map +1 -1
- package/dist/Accordion/types.d.ts +8 -49
- package/dist/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/Autocomplete/index.d.ts +1 -1
- package/dist/Autocomplete/index.js +1 -3
- package/dist/Autocomplete/index.js.map +1 -1
- package/dist/Autocomplete/styles.d.ts +1 -1
- package/dist/Autocomplete/styles.js.map +1 -1
- package/dist/Autocomplete/types.d.ts +11 -23
- package/dist/AutocompleteX/AutocompleteX.d.ts +1 -2
- package/dist/AutocompleteX/AutocompleteX.js +8 -1
- package/dist/AutocompleteX/AutocompleteX.js.map +1 -1
- package/dist/AutocompleteX/index.d.ts +1 -1
- package/dist/AutocompleteX/index.js +1 -3
- package/dist/AutocompleteX/index.js.map +1 -1
- package/dist/AutocompleteX/types.d.ts +4 -1
- package/dist/Avatar/Avatar.d.ts +2 -2
- package/dist/Avatar/Avatar.js +4 -6
- package/dist/Avatar/Avatar.js.map +1 -1
- package/dist/Avatar/AvatarGroup.d.ts +2 -2
- package/dist/Avatar/AvatarGroup.js +6 -4
- package/dist/Avatar/AvatarGroup.js.map +1 -1
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Avatar/index.js +2 -5
- package/dist/Avatar/index.js.map +1 -1
- package/dist/Avatar/types.d.ts +2 -38
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/Chip/RandomColoredChip.d.ts +1 -1
- package/dist/IconButtonWithText/IconButtonWithText.d.ts +2 -3
- package/dist/IconButtonWithText/IconButtonWithText.js +4 -3
- package/dist/IconButtonWithText/IconButtonWithText.js.map +1 -1
- package/dist/IconButtonWithText/types.d.ts +5 -7
- package/dist/Stepper/MobileStepper.d.ts +1 -1
- package/dist/Stepper/Stepper.d.ts +1 -1
- package/dist/TableColumnSettings/TableColumnSettingsStyles.d.ts +1 -1
- package/dist/TableColumnSettings/TableColumnSettingsStyles.js.map +1 -1
- package/dist/Tabs/Tabs.d.ts +2 -2
- package/dist/Tabs/Tabs.js +3 -4
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Tabs/types.d.ts +0 -1
- package/dist/Tooltip/Tooltip.d.ts +2 -2
- package/dist/Tooltip/Tooltip.js +4 -4
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/bundle.js +71 -64
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +20 -14
- package/dist/index.js +26 -14
- package/dist/index.js.map +1 -1
- package/dist/styles/styles.d.ts +1 -3
- package/dist/styles/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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":"
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../src/Accordion/Accordion.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAA6C;AAApC,8CAAS"}
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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":"
|
|
1
|
+
{"version":3,"file":"AccordionActions.js","sourceRoot":"","sources":["../../src/Accordion/AccordionActions.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,0CAAoD;AAA3C,qDAAgB"}
|
|
@@ -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
|
-
|
|
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":"
|
|
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
|
|
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
|
|
9
|
-
var
|
|
10
|
-
return (react_1["default"].createElement(core_1.AccordionSummary, tslib_1.__assign({ expandIcon: expandIcon },
|
|
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;
|
|
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
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
};
|
|
@@ -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
|
|
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" | "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>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
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
|
-
|
|
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":"
|
|
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<
|
|
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,
|
|
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
|
|
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
|
-
|
|
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?:
|
|
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
|
-
|
|
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
|
|
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":"
|
|
1
|
+
{"version":3,"file":"AutocompleteX.js","sourceRoot":"","sources":["../../src/AutocompleteX/AutocompleteX.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,wCAAgE;AAAvD,iEAA6B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
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
|
-
|
|
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":"
|
|
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
|
-
|
|
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 {};
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AvatarProps } from './types';
|
|
3
|
-
export declare
|
|
2
|
+
import type { AvatarProps } from './types';
|
|
3
|
+
export declare const Avatar: (props: AvatarProps) => JSX.Element;
|
package/dist/Avatar/Avatar.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
23
|
-
|
|
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;
|
|
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
|
|
2
|
+
import type { AvatarGroupProps } from './types';
|
|
3
|
+
export declare const AvatarGroup: ({ className, ...props }: AvatarGroupProps) => JSX.Element;
|
|
@@ -4,6 +4,7 @@ exports.AvatarGroup = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var core_1 = require("@material-ui/core");
|
|
6
6
|
var lab_1 = require("@material-ui/lab");
|
|
7
|
+
var classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
7
8
|
var react_1 = tslib_1.__importDefault(require("react"));
|
|
8
9
|
var useStyles = core_1.makeStyles(function (theme) {
|
|
9
10
|
return core_1.createStyles({
|
|
@@ -14,9 +15,10 @@ var useStyles = core_1.makeStyles(function (theme) {
|
|
|
14
15
|
}
|
|
15
16
|
});
|
|
16
17
|
});
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
}
|
|
18
|
+
var AvatarGroup = function (_a) {
|
|
19
|
+
var className = _a.className, props = tslib_1.__rest(_a, ["className"]);
|
|
20
|
+
var classes = useStyles();
|
|
21
|
+
return (react_1["default"].createElement(lab_1.AvatarGroup, tslib_1.__assign({ className: classnames_1["default"](classes.bordercolor, className) }, props)));
|
|
22
|
+
};
|
|
21
23
|
exports.AvatarGroup = AvatarGroup;
|
|
22
24
|
//# sourceMappingURL=AvatarGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.js","sourceRoot":"","sources":["../../src/Avatar/AvatarGroup.tsx"],"names":[],"mappings":";;;;AAAA,0CAA4D;AAC5D,wCAAgE;AAChE,wDAAyB;
|
|
1
|
+
{"version":3,"file":"AvatarGroup.js","sourceRoot":"","sources":["../../src/Avatar/AvatarGroup.tsx"],"names":[],"mappings":";;;;AAAA,0CAA4D;AAC5D,wCAAgE;AAChE,kEAAmC;AACnC,wDAAyB;AAIzB,IAAM,SAAS,GAAG,iBAAU,CAAC,UAAA,KAAK;IAChC,OAAA,mBAAY,CAAC;QACX,WAAW,EAAE;YACX,SAAS,EAAE;gBACT,MAAM,EAAE,cAAM,OAAA,eAAa,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAU,EAA5C,CAA4C;aAC3D;SACF;KACF,CAAC;AANF,CAME,CACH,CAAA;AAEM,IAAM,WAAW,GAAG,UAAC,EAAyC;IAAvC,IAAA,SAAS,eAAA,EAAK,KAAK,sBAArB,aAAuB,CAAF;IAC/C,IAAM,OAAO,GAAG,SAAS,EAAE,CAAA;IAE3B,OAAO,CACL,iCAAC,iBAAc,qBACb,SAAS,EAAE,uBAAU,CAAC,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC,IACjD,KAAK,EACT,CACH,CAAA;AACH,CAAC,CAAA;AATY,QAAA,WAAW,eASvB"}
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './Avatar';
|
|
2
|
+
export * from './AvatarGroup';
|
|
3
3
|
export * from './types';
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
|
-
exports.AvatarGroup = exports.Avatar = void 0;
|
|
4
3
|
var tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
tslib_1.
|
|
7
|
-
var AvatarGroup_1 = require("./AvatarGroup");
|
|
8
|
-
tslib_1.__createBinding(exports, AvatarGroup_1, "AvatarGroup");
|
|
4
|
+
tslib_1.__exportStar(require("./Avatar"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AvatarGroup"), exports);
|
|
9
6
|
tslib_1.__exportStar(require("./types"), exports);
|
|
10
7
|
//# sourceMappingURL=index.js.map
|
package/dist/Avatar/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Avatar/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Avatar/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwB;AACxB,wDAA6B;AAC7B,kDAAuB"}
|
package/dist/Avatar/types.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare type spacingType = number | 'small' | 'medium';
|
|
1
|
+
import type { AvatarProps as MuiAvatarProps } from '@material-ui/core';
|
|
2
|
+
export type { AvatarGroupProps } from '@material-ui/lab';
|
|
4
3
|
export declare type AvatarProps = MuiAvatarProps & {
|
|
5
|
-
/**
|
|
6
|
-
* elements rendered inside the component.
|
|
7
|
-
*/
|
|
8
|
-
children?: React.ReactNode;
|
|
9
4
|
/**
|
|
10
5
|
* the color of the border.
|
|
11
6
|
*/
|
|
@@ -14,35 +9,4 @@ export declare type AvatarProps = MuiAvatarProps & {
|
|
|
14
9
|
* background color of the element.
|
|
15
10
|
*/
|
|
16
11
|
backgroundColor?: string;
|
|
17
|
-
/**
|
|
18
|
-
* description of the image.
|
|
19
|
-
*/
|
|
20
|
-
alt?: string;
|
|
21
|
-
/**
|
|
22
|
-
* source of the image rendered inside the avatar.
|
|
23
|
-
*/
|
|
24
|
-
src?: string;
|
|
25
|
-
/**
|
|
26
|
-
* onclick handler.
|
|
27
|
-
*/
|
|
28
|
-
onClick?: () => void;
|
|
29
|
-
/**
|
|
30
|
-
* classes for styling
|
|
31
|
-
*/
|
|
32
|
-
className?: string;
|
|
33
|
-
};
|
|
34
|
-
export declare type AvatarGroupProps = {
|
|
35
|
-
/**
|
|
36
|
-
* The avatars to stack.
|
|
37
|
-
*/
|
|
38
|
-
children?: React.ReactNode;
|
|
39
|
-
/**
|
|
40
|
-
* Max avatars to show before +x.
|
|
41
|
-
*/
|
|
42
|
-
max?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Spacing between avatars.
|
|
45
|
-
*/
|
|
46
|
-
spacing?: spacingType;
|
|
47
12
|
};
|
|
48
|
-
export {};
|