flipper-ui 0.30.1 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors.js +12 -24
- package/core/context/styles-provider/index.js +1 -2
- package/core/context/theme-provider/index.d.ts +3 -3
- package/core/context/theme-provider/index.js +4 -5
- package/core/data-display/advertise/index.d.ts +1 -1
- package/core/data-display/advertise/index.js +3 -4
- package/core/data-display/avatar/index.d.ts +1 -1
- package/core/data-display/avatar/index.js +2 -4
- package/core/data-display/badge/index.d.ts +1 -1
- package/core/data-display/badge/index.js +4 -6
- package/core/data-display/chapter/index.d.ts +1 -1
- package/core/data-display/chapter/index.js +5 -7
- package/core/data-display/chip/index.d.ts +2 -1
- package/core/data-display/chip/index.js +4 -6
- package/core/data-display/data-table/data-table-action.d.ts +2 -2
- package/core/data-display/data-table/data-table-action.js +2 -3
- package/core/data-display/data-table/data-table-pagination-actions.d.ts +2 -2
- package/core/data-display/data-table/data-table-pagination-actions.js +7 -8
- package/core/data-display/data-table/data-table-query-paginated.d.ts +1 -1
- package/core/data-display/data-table/data-table-query-paginated.js +8 -10
- package/core/data-display/data-table/data-table-query-paginated.stories.d.ts +5 -4
- package/core/data-display/data-table/data-table.d.ts +1 -1
- package/core/data-display/data-table/data-table.js +8 -10
- package/core/data-display/data-table/data-table.stories.d.ts +7 -6
- package/core/data-display/data-table/rows.d.ts +3 -2
- package/core/data-display/data-table/rows.js +13 -14
- package/core/data-display/data-table/types.js +2 -3
- package/core/data-display/data-table/use-paginated.js +7 -7
- package/core/data-display/data-table/use-rows-state.js +5 -6
- package/core/data-display/divider/divider.stories.d.ts +4 -3
- package/core/data-display/divider/index.d.ts +2 -1
- package/core/data-display/divider/index.js +4 -6
- package/core/data-display/editable-table/index.d.ts +1 -1
- package/core/data-display/editable-table/index.js +10 -12
- package/core/data-display/fab/index.d.ts +1 -1
- package/core/data-display/fab/index.js +4 -6
- package/core/data-display/line/index.d.ts +2 -1
- package/core/data-display/line/index.js +4 -6
- package/core/data-display/list/index.d.ts +2 -1
- package/core/data-display/list/index.js +4 -6
- package/core/data-display/list-item/index.d.ts +2 -2
- package/core/data-display/list-item/index.js +5 -6
- package/core/data-display/node/index.d.ts +2 -1
- package/core/data-display/node/index.js +2 -4
- package/core/data-display/table/index.d.ts +2 -1
- package/core/data-display/table/index.js +4 -6
- package/core/data-display/table/table-body.d.ts +2 -1
- package/core/data-display/table/table-body.js +3 -4
- package/core/data-display/table/table-cell.d.ts +2 -1
- package/core/data-display/table/table-cell.js +5 -6
- package/core/data-display/table/table-head.js +6 -8
- package/core/data-display/table/table-row.d.ts +2 -2
- package/core/data-display/table/table-row.js +3 -4
- package/core/data-display/table/table.stories.d.ts +2 -2
- package/core/data-display/tree/index.d.ts +1 -0
- package/core/data-display/tree/index.js +2 -4
- package/core/data-display/typography/index.d.ts +2 -1
- package/core/data-display/typography/index.js +4 -6
- package/core/data-display/typography/typography.stories.d.ts +2 -2
- package/core/feedback/collapse/collapse.stories.d.ts +2 -1
- package/core/feedback/collapse/index.d.ts +1 -1
- package/core/feedback/collapse/index.js +4 -6
- package/core/feedback/dialog/dialog.stories.d.ts +5 -4
- package/core/feedback/dialog/index.d.ts +4 -4
- package/core/feedback/dialog/index.js +4 -6
- package/core/feedback/fade/fade.stories.d.ts +2 -1
- package/core/feedback/fade/index.d.ts +1 -1
- package/core/feedback/fade/index.js +4 -6
- package/core/feedback/grow/grow.stories.d.ts +2 -1
- package/core/feedback/grow/index.d.ts +1 -1
- package/core/feedback/grow/index.js +4 -6
- package/core/feedback/progress/index.d.ts +2 -1
- package/core/feedback/progress/index.js +4 -6
- package/core/feedback/slide/index.d.ts +1 -1
- package/core/feedback/slide/index.js +4 -6
- package/core/feedback/snackbar/index.d.ts +2 -2
- package/core/feedback/snackbar/index.js +4 -6
- package/core/feedback/tooltip/index.d.ts +1 -1
- package/core/feedback/tooltip/index.js +4 -6
- package/core/feedback/tooltip/tooltip.stories.d.ts +2 -1
- package/core/feedback/zoom/index.d.ts +1 -1
- package/core/feedback/zoom/index.js +4 -6
- package/core/feedback/zoom/zooms.stories.d.ts +2 -1
- package/core/inputs/auto-complete/auto-complete.stories.d.ts +5 -4
- package/core/inputs/auto-complete/index.d.ts +1 -1
- package/core/inputs/auto-complete/index.js +8 -10
- package/core/inputs/button/index.d.ts +1 -1
- package/core/inputs/button/index.js +4 -6
- package/core/inputs/checkbox/checkbox.stories.d.ts +2 -1
- package/core/inputs/checkbox/index.d.ts +1 -1
- package/core/inputs/checkbox/index.js +4 -6
- package/core/inputs/chip-field/index.d.ts +1 -1
- package/core/inputs/chip-field/index.js +4 -6
- package/core/inputs/date-time/date-time.stories.d.ts +1 -1
- package/core/inputs/date-time/index.d.ts +1 -1
- package/core/inputs/date-time/index.js +4 -6
- package/core/inputs/icon-button/index.d.ts +2 -2
- package/core/inputs/icon-button/index.js +4 -6
- package/core/inputs/input-adornment/index.d.ts +2 -1
- package/core/inputs/input-adornment/index.js +2 -4
- package/core/inputs/input-base/index.d.ts +2 -2
- package/core/inputs/input-base/index.js +4 -6
- package/core/inputs/mask-field/index.d.ts +49 -10
- package/core/inputs/mask-field/index.js +7 -8
- package/core/inputs/mask-field/mask-field.stories.d.ts +2 -1
- package/core/inputs/pin-input/index.d.ts +1 -1
- package/core/inputs/pin-input/index.js +6 -8
- package/core/inputs/pin-input/pin-input.stories.d.ts +3 -2
- package/core/inputs/radio/index.d.ts +2 -2
- package/core/inputs/radio/index.js +4 -6
- package/core/inputs/radio-group/index.d.ts +2 -2
- package/core/inputs/radio-group/index.js +4 -6
- package/core/inputs/radio-group/radio-group.stories.d.ts +2 -1
- package/core/inputs/select/index.d.ts +1 -1
- package/core/inputs/select/index.js +4 -6
- package/core/inputs/select/select.stories.d.ts +3 -2
- package/core/inputs/slider/index.d.ts +2 -1
- package/core/inputs/slider/index.js +4 -6
- package/core/inputs/slider/slider.stories.d.ts +2 -1
- package/core/inputs/text-field/index.d.ts +548 -6
- package/core/inputs/text-field/index.js +13 -22
- package/core/inputs/text-field/text-field.stories.d.ts +5 -4
- package/core/navigation/breadcrumb/breadcrumb.stories.d.ts +2 -2
- package/core/navigation/breadcrumb/index.d.ts +2 -1
- package/core/navigation/breadcrumb/index.js +4 -6
- package/core/navigation/drawer/drawer.stories.d.ts +2 -1
- package/core/navigation/drawer/index.d.ts +2 -1
- package/core/navigation/drawer/index.js +4 -6
- package/core/navigation/link/index.js +1 -2
- package/core/navigation/menu/index.d.ts +2 -1
- package/core/navigation/menu/index.js +4 -6
- package/core/navigation/pagination/index.d.ts +2 -1
- package/core/navigation/pagination/index.js +4 -6
- package/core/navigation/sidebar/index.d.ts +2 -1
- package/core/navigation/sidebar/index.js +4 -6
- package/core/navigation/stepper/index.d.ts +2 -1
- package/core/navigation/stepper/index.js +4 -6
- package/core/navigation/tab/index.d.ts +2 -1
- package/core/navigation/tab/index.js +3 -4
- package/core/navigation/tabs/index.d.ts +2 -2
- package/core/navigation/tabs/index.js +4 -6
- package/core/surfaces/box/index.d.ts +1 -1
- package/core/surfaces/box/index.js +4 -6
- package/core/surfaces/card/card.stories.d.ts +2 -1
- package/core/surfaces/card/index.d.ts +7 -6
- package/core/surfaces/card/index.js +9 -16
- package/core/surfaces/container/index.d.ts +2 -1
- package/core/surfaces/container/index.js +2 -4
- package/core/surfaces/content/index.d.ts +2 -1
- package/core/surfaces/content/index.js +2 -4
- package/core/surfaces/expansion-panel/index.d.ts +1 -1
- package/core/surfaces/expansion-panel/index.js +4 -6
- package/core/surfaces/header/index.d.ts +2 -1
- package/core/surfaces/header/index.js +4 -6
- package/core/surfaces/paper/index.d.ts +2 -1
- package/core/surfaces/paper/index.js +4 -6
- package/core/surfaces/paper/paper.stories.d.ts +2 -1
- package/core/surfaces/step-card/index.d.ts +1 -1
- package/core/surfaces/step-card/index.js +8 -4
- package/core/surfaces/step-card/step-card-details.d.ts +2 -1
- package/core/surfaces/step-card/step-card-details.js +2 -3
- package/core/surfaces/step-card/step-card-panel.d.ts +1 -1
- package/core/surfaces/step-card/step-card-panel.js +2 -3
- package/core/surfaces/step-card/step-card-skeleton.d.ts +1 -1
- package/core/surfaces/step-card/step-card-skeleton.js +1 -2
- package/core/surfaces/step-card/styles.d.ts +823 -8
- package/core/surfaces/step-card/styles.js +8 -16
- package/experimental/actions/index.d.ts +3 -2
- package/experimental/actions/index.js +3 -6
- package/experimental/auto-complete-lab/auto-complete-lab.stories.d.ts +2 -1
- package/experimental/auto-complete-lab/index.js +6 -8
- package/experimental/avatar/index.d.ts +2 -2
- package/experimental/avatar/index.js +2 -4
- package/experimental/breadcrumbs/index.d.ts +2 -2
- package/experimental/breadcrumbs/index.js +2 -4
- package/experimental/button/index.d.ts +2 -1
- package/experimental/button/index.js +2 -4
- package/experimental/card/index.d.ts +559 -5
- package/experimental/card/index.js +4 -8
- package/experimental/dialog/confirm-dialog.d.ts +2 -1
- package/experimental/dialog/confirm-dialog.js +1 -2
- package/experimental/dialog/dialog.d.ts +2 -2
- package/experimental/dialog/dialog.js +3 -5
- package/experimental/dialog/remove-dialog.d.ts +2 -1
- package/experimental/dialog/remove-dialog.js +1 -2
- package/experimental/fab/fab-wrapper.d.ts +2 -2
- package/experimental/fab/fab-wrapper.js +3 -4
- package/experimental/fab/fab.d.ts +2 -1
- package/experimental/fab/fab.js +6 -8
- package/experimental/index.js +2 -2
- package/experimental/loading/index.d.ts +2 -1
- package/experimental/loading/index.js +4 -6
- package/experimental/loading/loading.spec.d.ts +4 -3
- package/experimental/nothing-found/index.d.ts +2 -1
- package/experimental/nothing-found/index.js +2 -4
- package/experimental/panel/index.d.ts +1 -1
- package/experimental/panel/index.js +4 -6
- package/experimental/sidebar/index.d.ts +1 -1
- package/experimental/sidebar/index.js +4 -6
- package/experimental/skeleton/index.d.ts +2 -1
- package/experimental/skeleton/index.js +2 -4
- package/experimental/visibility-icon/index.d.ts +2 -1
- package/experimental/visibility-icon/index.js +2 -4
- package/index.d.ts +1 -1
- package/index.js +3 -3
- package/lib/images.js +1 -2
- package/lib/localization.js +2 -3
- package/package.json +56 -55
- package/test/mocks/data-table-hidden-mock.d.ts +2 -1
- package/test/mocks/data-table-hidden-mock.js +13 -14
- package/test/mocks/data-table-mock.d.ts +2 -1
- package/test/mocks/data-table-mock.js +12 -13
- package/test/mocks/date-time-mock.d.ts +2 -1
- package/test/mocks/date-time-mock.js +3 -4
- package/test/mocks/editable-table-date-mock.d.ts +2 -1
- package/test/mocks/editable-table-date-mock.js +3 -4
- package/test/mocks/editable-table-mock.d.ts +4 -3
- package/test/mocks/editable-table-mock.js +5 -8
- package/test/mocks/pin-input-mock.d.ts +2 -1
- package/test/mocks/pin-input-mock.js +3 -4
- package/test/mocks/radio-group-mock.d.ts +2 -1
- package/test/mocks/radio-group-mock.js +3 -4
- package/test/mocks/select-mock.d.ts +2 -1
- package/test/mocks/select-mock.js +3 -4
- package/test/mocks/snackbar-mock.d.ts +2 -1
- package/test/mocks/snackbar-mock.js +3 -4
- package/test/mocks/step-card-mock.d.ts +2 -1
- package/test/mocks/step-card-mock.js +3 -4
- package/test/mocks/text-field-mock.d.ts +2 -1
- package/test/mocks/text-field-mock.js +3 -4
- package/test/mocks/text-field-options-mock.d.ts +2 -1
- package/test/mocks/text-field-options-mock.js +3 -4
|
@@ -13,10 +13,10 @@ var _styles = require("@material-ui/core/styles");
|
|
|
13
13
|
var _TableHead = _interopRequireDefault(require("@material-ui/core/TableHead"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _excluded = ["style", "margin", "padding", "children", "color", "classes", "active", "direction", "onSort"];
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
18
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
var Direction = /*#__PURE__*/function (Direction) {
|
|
21
21
|
Direction["ASCENDENT"] = "asc";
|
|
22
22
|
Direction["DESCENDENT"] = "desc";
|
|
@@ -38,12 +38,11 @@ var styles = function styles(theme) {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
var SortContext = /*#__PURE__*/(0, _react.createContext)({
|
|
41
|
+
var SortContext = exports.SortContext = /*#__PURE__*/(0, _react.createContext)({
|
|
42
42
|
active: undefined,
|
|
43
43
|
direction: Direction.ASCENDENT,
|
|
44
44
|
onSort: undefined
|
|
45
45
|
});
|
|
46
|
-
exports.SortContext = SortContext;
|
|
47
46
|
var TableHead = function TableHead(_ref) {
|
|
48
47
|
var style = _ref.style,
|
|
49
48
|
margin = _ref.margin,
|
|
@@ -71,5 +70,4 @@ var TableHead = function TableHead(_ref) {
|
|
|
71
70
|
} : {}
|
|
72
71
|
}), children));
|
|
73
72
|
};
|
|
74
|
-
var _default = (0, _styles.withStyles)(styles)(TableHead);
|
|
75
|
-
exports["default"] = _default;
|
|
73
|
+
var _default = exports["default"] = (0, _styles.withStyles)(styles)(TableHead);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableRowProps as MuiTableRowProps } from '@material-ui/core/TableRow';
|
|
2
|
-
import { MouseEvent } from 'react';
|
|
2
|
+
import React, { MouseEvent } from 'react';
|
|
3
3
|
import { DefaultProps } from '../../types';
|
|
4
4
|
interface TableRowProps extends DefaultProps {
|
|
5
5
|
selected?: boolean;
|
|
@@ -7,5 +7,5 @@ interface TableRowProps extends DefaultProps {
|
|
|
7
7
|
background?: string;
|
|
8
8
|
onClick?: (event: MouseEvent<HTMLTableRowElement>) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const TableRow: ({ style, margin, padding, children, background, ...otherProps }: MuiTableRowProps & TableRowProps) => JSX.Element;
|
|
10
|
+
declare const TableRow: ({ style, margin, padding, children, background, ...otherProps }: MuiTableRowProps & TableRowProps) => React.JSX.Element;
|
|
11
11
|
export default TableRow;
|
|
@@ -12,8 +12,8 @@ var _TableRow = _interopRequireDefault(require("@material-ui/core/TableRow"));
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _colors = require("../../../colors");
|
|
14
14
|
var _excluded = ["style", "margin", "padding", "children", "background"];
|
|
15
|
-
function ownKeys(
|
|
16
|
-
function _objectSpread(
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
17
|
var TableRow = function TableRow(_ref) {
|
|
18
18
|
var style = _ref.style,
|
|
19
19
|
margin = _ref.margin,
|
|
@@ -30,5 +30,4 @@ var TableRow = function TableRow(_ref) {
|
|
|
30
30
|
}, style)
|
|
31
31
|
}), children);
|
|
32
32
|
};
|
|
33
|
-
var _default = TableRow;
|
|
34
|
-
exports["default"] = _default;
|
|
33
|
+
var _default = exports["default"] = TableRow;
|
|
@@ -3,8 +3,8 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
3
3
|
padding?: import("@material-ui/core").Padding | undefined;
|
|
4
4
|
size?: import("@material-ui/core").Size | undefined;
|
|
5
5
|
stickyHeader?: boolean | undefined;
|
|
6
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TableTypeMap<{}, "table">> & Pick<
|
|
6
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TableTypeMap<{}, "table">> & Pick<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
|
|
7
7
|
ref?: ((instance: HTMLTableElement | null) => void) | React.RefObject<HTMLTableElement> | null | undefined;
|
|
8
|
-
}, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "ref" | "summary" | "border" | "key" | "align" | "width" | "bgcolor" | "cellPadding" | "cellSpacing" | "frame" | "rules"> & import(".").TableProps>;
|
|
8
|
+
}, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "ref" | "summary" | "border" | "key" | "align" | "width" | "bgcolor" | "cellPadding" | "cellSpacing" | "frame" | "rules"> & import(".").TableProps>;
|
|
9
9
|
export default _default;
|
|
10
10
|
export declare const Default: any;
|
|
@@ -11,7 +11,7 @@ var _omit = _interopRequireDefault(require("ramda/es/omit"));
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _node = _interopRequireDefault(require("../node"));
|
|
13
13
|
var _excluded = ["nodes"];
|
|
14
|
-
var Tree = function Tree(_ref) {
|
|
14
|
+
var Tree = exports.Tree = function Tree(_ref) {
|
|
15
15
|
var _ref$nodes = _ref.nodes,
|
|
16
16
|
nodes = _ref$nodes === void 0 ? [] : _ref$nodes,
|
|
17
17
|
otherProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
@@ -37,6 +37,4 @@ var Tree = function Tree(_ref) {
|
|
|
37
37
|
return renderNode(node, index.toString(), true);
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
|
-
exports
|
|
41
|
-
var _default = Tree;
|
|
42
|
-
exports["default"] = _default;
|
|
40
|
+
var _default = exports["default"] = Tree;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DefaultProps } from '../../types';
|
|
2
3
|
import { TypographyProps } from '@material-ui/core/Typography';
|
|
3
|
-
export declare const Typography: ({ children, margin, padding, style, variant, ...otherProps }: TypographyProps & DefaultProps) => JSX.Element;
|
|
4
|
+
export declare const Typography: ({ children, margin, padding, style, variant, ...otherProps }: TypographyProps & DefaultProps) => React.JSX.Element;
|
|
4
5
|
export default Typography;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
13
13
|
var _excluded = ["children", "margin", "padding", "style", "variant"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Typography = function Typography(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Typography = exports.Typography = function Typography(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
margin = _ref.margin,
|
|
19
19
|
padding = _ref.padding,
|
|
@@ -30,6 +30,4 @@ var Typography = function Typography(_ref) {
|
|
|
30
30
|
}, style)
|
|
31
31
|
}), children);
|
|
32
32
|
};
|
|
33
|
-
exports
|
|
34
|
-
var _default = Typography;
|
|
35
|
-
exports["default"] = _default;
|
|
33
|
+
var _default = exports["default"] = Typography;
|
|
@@ -9,9 +9,9 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
9
9
|
paragraph?: boolean | undefined;
|
|
10
10
|
variant?: "inherit" | (import("@material-ui/core").TypographyVariant | "srOnly") | undefined;
|
|
11
11
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
12
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<
|
|
12
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
13
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
}, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "ref" | "key"> & import("../../types").DefaultProps>;
|
|
14
|
+
}, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "ref" | "key"> & import("../../types").DefaultProps>;
|
|
15
15
|
export default _default;
|
|
16
16
|
export declare const Default: any;
|
|
17
17
|
export declare const ErrorText: any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").CollapseProps>;
|
|
2
3
|
export default _default;
|
|
3
|
-
export declare const Default: () => JSX.Element;
|
|
4
|
+
export declare const Default: () => React.JSX.Element;
|
|
4
5
|
export declare const Open: any;
|
|
5
6
|
export declare const Closed: any;
|
|
@@ -9,5 +9,5 @@ export interface CollapseProps extends DefaultProps {
|
|
|
9
9
|
} | 'auto';
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare const Collapse: ({ children, padding, margin, style, ...otherProps }: CollapseProps) => JSX.Element;
|
|
12
|
+
export declare const Collapse: ({ children, padding, margin, style, ...otherProps }: CollapseProps) => React.JSX.Element;
|
|
13
13
|
export default Collapse;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _Collapse = _interopRequireDefault(require("@material-ui/core/Collapse"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _excluded = ["children", "padding", "margin", "style"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Collapse = function Collapse(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Collapse = exports.Collapse = function Collapse(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
padding = _ref.padding,
|
|
19
19
|
margin = _ref.margin,
|
|
@@ -27,6 +27,4 @@ var Collapse = function Collapse(_ref) {
|
|
|
27
27
|
}, style)
|
|
28
28
|
}, otherProps), children);
|
|
29
29
|
};
|
|
30
|
-
exports
|
|
31
|
-
var _default = Collapse;
|
|
32
|
-
exports["default"] = _default;
|
|
30
|
+
var _default = exports["default"] = Collapse;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").DialogProps>;
|
|
2
3
|
export default _default;
|
|
3
|
-
export declare const Default: () => JSX.Element;
|
|
4
|
-
export declare const WithAlertOnClose: () => JSX.Element;
|
|
5
|
-
export declare const WithTypography: () => JSX.Element;
|
|
6
|
-
export declare const WithSnippet: () => JSX.Element;
|
|
4
|
+
export declare const Default: () => React.JSX.Element;
|
|
5
|
+
export declare const WithAlertOnClose: () => React.JSX.Element;
|
|
6
|
+
export declare const WithTypography: () => React.JSX.Element;
|
|
7
|
+
export declare const WithSnippet: () => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DialogProps as MuiDialogProps } from '@material-ui/core';
|
|
2
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
3
3
|
import { DefaultProps } from '../../types';
|
|
4
|
-
export interface DialogProps extends DefaultProps, Omit<MuiDialogProps, 'scroll' | 'title'> {
|
|
4
|
+
export interface DialogProps extends DefaultProps, Omit<MuiDialogProps, 'scroll' | 'title' | 'content'> {
|
|
5
5
|
open: boolean;
|
|
6
6
|
fullScreen?: boolean;
|
|
7
7
|
fullWidth?: boolean;
|
|
@@ -9,7 +9,7 @@ export interface DialogProps extends DefaultProps, Omit<MuiDialogProps, 'scroll'
|
|
|
9
9
|
titleAction?: string | ReactNode;
|
|
10
10
|
actions?: ReactNode;
|
|
11
11
|
maxWidth?: 'xs' | 'sm' | 'md' | 'lg';
|
|
12
|
-
content?: ReactNode;
|
|
12
|
+
content?: ReactNode | string;
|
|
13
13
|
text?: string;
|
|
14
14
|
snippet?: ReactNode | JSX.Element;
|
|
15
15
|
PaperProps?: object;
|
|
@@ -25,5 +25,5 @@ export interface DialogProps extends DefaultProps, Omit<MuiDialogProps, 'scroll'
|
|
|
25
25
|
'aria-title'?: string;
|
|
26
26
|
onClose?: (event: Event) => void;
|
|
27
27
|
}
|
|
28
|
-
export declare const Dialog: ({ snippet, style, padding, margin, scroll, PaperProps, open, fullScreen, fullWidth, maxWidth, onClose, titleAction, titleWrapperStyle, titleStyle, titleActionStyle, contentStyle, contentTextStyle, actionsStyle, actions, content, text, title, snippetStyle, snippetContentStyle, "aria-title": ariaTitle, ...otherProps }: DialogProps) => JSX.Element;
|
|
28
|
+
export declare const Dialog: ({ snippet, style, padding, margin, scroll, PaperProps, open, fullScreen, fullWidth, maxWidth, onClose, titleAction, titleWrapperStyle, titleStyle, titleActionStyle, contentStyle, contentTextStyle, actionsStyle, actions, content, text, title, snippetStyle, snippetContentStyle, "aria-title": ariaTitle, ...otherProps }: DialogProps) => React.JSX.Element;
|
|
29
29
|
export default Dialog;
|
|
@@ -19,8 +19,8 @@ var _styles = require("@material-ui/core/styles");
|
|
|
19
19
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
20
20
|
var _excluded = ["snippet", "style", "padding", "margin", "scroll", "PaperProps", "open", "fullScreen", "fullWidth", "maxWidth", "onClose", "titleAction", "titleWrapperStyle", "titleStyle", "titleActionStyle", "contentStyle", "contentTextStyle", "actionsStyle", "actions", "content", "text", "title", "snippetStyle", "snippetContentStyle", "aria-title"];
|
|
21
21
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
22
|
-
function ownKeys(
|
|
23
|
-
function _objectSpread(
|
|
22
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24
24
|
var TitleWrapper = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n"])));
|
|
25
25
|
var TitleAction = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n padding: 16px 24px;\n align-items: center;\n display: flex;\n"])));
|
|
26
26
|
var Snippet = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n"])));
|
|
@@ -30,7 +30,7 @@ var useStyles = (0, _styles.makeStyles)({
|
|
|
30
30
|
overflowY: 'unset'
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
var Dialog = function Dialog(_ref) {
|
|
33
|
+
var Dialog = exports.Dialog = function Dialog(_ref) {
|
|
34
34
|
var snippet = _ref.snippet,
|
|
35
35
|
style = _ref.style,
|
|
36
36
|
padding = _ref.padding,
|
|
@@ -121,6 +121,4 @@ var Dialog = function Dialog(_ref) {
|
|
|
121
121
|
onClose: onClose
|
|
122
122
|
}), snippet ? renderSnippet() : renderPaperContent());
|
|
123
123
|
};
|
|
124
|
-
exports
|
|
125
|
-
var _default = Dialog;
|
|
126
|
-
exports["default"] = _default;
|
|
124
|
+
var _default = exports["default"] = Dialog;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").FadeProps>;
|
|
2
3
|
export default _default;
|
|
3
|
-
export declare const Default: () => JSX.Element;
|
|
4
|
+
export declare const Default: () => React.JSX.Element;
|
|
@@ -8,5 +8,5 @@ export interface FadeProps extends DefaultProps {
|
|
|
8
8
|
};
|
|
9
9
|
children: React.ReactElement<Record<string, unknown>>;
|
|
10
10
|
}
|
|
11
|
-
export declare const Fade: ({ children, padding, margin, style, ...otherProps }: FadeProps) => JSX.Element;
|
|
11
|
+
export declare const Fade: ({ children, padding, margin, style, ...otherProps }: FadeProps) => React.JSX.Element;
|
|
12
12
|
export default Fade;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _Fade = _interopRequireDefault(require("@material-ui/core/Fade"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _excluded = ["children", "padding", "margin", "style"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Fade = function Fade(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Fade = exports.Fade = function Fade(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
padding = _ref.padding,
|
|
19
19
|
margin = _ref.margin,
|
|
@@ -27,6 +27,4 @@ var Fade = function Fade(_ref) {
|
|
|
27
27
|
}, style)
|
|
28
28
|
}, otherProps), children);
|
|
29
29
|
};
|
|
30
|
-
exports
|
|
31
|
-
var _default = Fade;
|
|
32
|
-
exports["default"] = _default;
|
|
30
|
+
var _default = exports["default"] = Fade;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").GrowProps>;
|
|
2
3
|
export default _default;
|
|
3
|
-
export declare const Default: () => JSX.Element;
|
|
4
|
+
export declare const Default: () => React.JSX.Element;
|
|
@@ -8,5 +8,5 @@ export interface GrowProps extends DefaultProps {
|
|
|
8
8
|
} | 'auto';
|
|
9
9
|
children?: React.ReactElement<Record<string, unknown>>;
|
|
10
10
|
}
|
|
11
|
-
export declare const Grow: ({ children, padding, margin, style, ...otherProps }: GrowProps) => JSX.Element;
|
|
11
|
+
export declare const Grow: ({ children, padding, margin, style, ...otherProps }: GrowProps) => React.JSX.Element;
|
|
12
12
|
export default Grow;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _Grow = _interopRequireDefault(require("@material-ui/core/Grow"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _excluded = ["children", "padding", "margin", "style"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Grow = function Grow(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Grow = exports.Grow = function Grow(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
padding = _ref.padding,
|
|
19
19
|
margin = _ref.margin,
|
|
@@ -27,6 +27,4 @@ var Grow = function Grow(_ref) {
|
|
|
27
27
|
}, style)
|
|
28
28
|
}, otherProps), children);
|
|
29
29
|
};
|
|
30
|
-
exports
|
|
31
|
-
var _default = Grow;
|
|
32
|
-
exports["default"] = _default;
|
|
30
|
+
var _default = exports["default"] = Grow;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DefaultProps } from '../../types';
|
|
2
3
|
export interface ILinear {
|
|
3
4
|
color?: 'primary' | 'secondary';
|
|
@@ -19,5 +20,5 @@ export interface ProgressProps extends DefaultProps {
|
|
|
19
20
|
value?: number;
|
|
20
21
|
linear?: boolean;
|
|
21
22
|
}
|
|
22
|
-
export declare const Progress: ({ linear, style, margin, padding, ...otherProps }: ProgressProps & ICircular & ILinear) => JSX.Element;
|
|
23
|
+
export declare const Progress: ({ linear, style, margin, padding, ...otherProps }: ProgressProps & ICircular & ILinear) => React.JSX.Element;
|
|
23
24
|
export default Progress;
|
|
@@ -12,9 +12,9 @@ var _CircularProgress = _interopRequireDefault(require("@material-ui/core/Circul
|
|
|
12
12
|
var _LinearProgress = _interopRequireDefault(require("@material-ui/core/LinearProgress"));
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _excluded = ["linear", "style", "margin", "padding"];
|
|
15
|
-
function ownKeys(
|
|
16
|
-
function _objectSpread(
|
|
17
|
-
var Progress = function Progress(_ref) {
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
var Progress = exports.Progress = function Progress(_ref) {
|
|
18
18
|
var linear = _ref.linear,
|
|
19
19
|
_ref$style = _ref.style,
|
|
20
20
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
@@ -33,6 +33,4 @@ var Progress = function Progress(_ref) {
|
|
|
33
33
|
}, style)
|
|
34
34
|
}, otherProps));
|
|
35
35
|
};
|
|
36
|
-
exports
|
|
37
|
-
var _default = Progress;
|
|
38
|
-
exports["default"] = _default;
|
|
36
|
+
var _default = exports["default"] = Progress;
|
|
@@ -9,5 +9,5 @@ export interface SlideProps extends DefaultProps {
|
|
|
9
9
|
};
|
|
10
10
|
children?: React.ReactElement<Record<string, unknown>>;
|
|
11
11
|
}
|
|
12
|
-
export declare const Slide: ({ children, direction, margin, padding, style, ...otherProps }: SlideProps) => JSX.Element;
|
|
12
|
+
export declare const Slide: ({ children, direction, margin, padding, style, ...otherProps }: SlideProps) => React.JSX.Element;
|
|
13
13
|
export default Slide;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _Slide = _interopRequireDefault(require("@material-ui/core/Slide"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _excluded = ["children", "direction", "margin", "padding", "style"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Slide = function Slide(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Slide = exports.Slide = function Slide(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
direction = _ref.direction,
|
|
19
19
|
margin = _ref.margin,
|
|
@@ -29,6 +29,4 @@ var Slide = function Slide(_ref) {
|
|
|
29
29
|
}, style)
|
|
30
30
|
}, otherProps), children);
|
|
31
31
|
};
|
|
32
|
-
exports
|
|
33
|
-
var _default = Slide;
|
|
34
|
-
exports["default"] = _default;
|
|
32
|
+
var _default = exports["default"] = Slide;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode, FunctionComponent } from 'react';
|
|
1
|
+
import React, { ReactNode, FunctionComponent } from 'react';
|
|
2
2
|
import { DefaultProps } from '../../types';
|
|
3
3
|
import { TransitionProps } from '@material-ui/core/transitions/transition';
|
|
4
4
|
export interface SnackBarProps extends DefaultProps {
|
|
@@ -21,5 +21,5 @@ export interface SnackBarProps extends DefaultProps {
|
|
|
21
21
|
onClose?(): void;
|
|
22
22
|
onClick?(): void;
|
|
23
23
|
}
|
|
24
|
-
export declare const SnackBar: (props: SnackBarProps) => JSX.Element;
|
|
24
|
+
export declare const SnackBar: (props: SnackBarProps) => React.JSX.Element;
|
|
25
25
|
export default SnackBar;
|
|
@@ -20,8 +20,8 @@ var _Info = _interopRequireDefault(require("@material-ui/icons/Info"));
|
|
|
20
20
|
var _Warning = _interopRequireDefault(require("@material-ui/icons/Warning"));
|
|
21
21
|
var _react = _interopRequireDefault(require("react"));
|
|
22
22
|
var _excluded = ["id", "action", "anchorOrigin", "autoHide", "icon", "message", "onClose", "open", "padding", "margin", "style", "variant", "className", "TransitionComponent", "TransitionProps", "onClick"];
|
|
23
|
-
function ownKeys(
|
|
24
|
-
function _objectSpread(
|
|
23
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25
25
|
var variants = {
|
|
26
26
|
error: {
|
|
27
27
|
color: _colors.red[700],
|
|
@@ -53,7 +53,7 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
|
-
var SnackBar = function SnackBar(props) {
|
|
56
|
+
var SnackBar = exports.SnackBar = function SnackBar(props) {
|
|
57
57
|
var id = props.id,
|
|
58
58
|
action = props.action,
|
|
59
59
|
anchorOrigin = props.anchorOrigin,
|
|
@@ -124,6 +124,4 @@ var SnackBar = function SnackBar(props) {
|
|
|
124
124
|
}, /*#__PURE__*/_react["default"].createElement(_Close["default"], null))
|
|
125
125
|
}, other)));
|
|
126
126
|
};
|
|
127
|
-
exports
|
|
128
|
-
var _default = SnackBar;
|
|
129
|
-
exports["default"] = _default;
|
|
127
|
+
var _default = exports["default"] = SnackBar;
|
|
@@ -11,5 +11,5 @@ export interface TooltipProps extends DefaultProps {
|
|
|
11
11
|
children: ReactElement<Record<string, unknown>>;
|
|
12
12
|
enterDelay?: number;
|
|
13
13
|
}
|
|
14
|
-
export declare const Tooltip: ({ children, withWrapper, wrapperStyle, enterDelay, title, ...otherProps }: TooltipProps) => JSX.Element;
|
|
14
|
+
export declare const Tooltip: ({ children, withWrapper, wrapperStyle, enterDelay, title, ...otherProps }: TooltipProps) => React.JSX.Element;
|
|
15
15
|
export default Tooltip;
|
|
@@ -11,9 +11,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
var _excluded = ["children", "withWrapper", "wrapperStyle", "enterDelay", "title"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
16
|
-
var Tooltip = function Tooltip(_ref) {
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
var Tooltip = exports.Tooltip = function Tooltip(_ref) {
|
|
17
17
|
var children = _ref.children,
|
|
18
18
|
withWrapper = _ref.withWrapper,
|
|
19
19
|
wrapperStyle = _ref.wrapperStyle,
|
|
@@ -30,6 +30,4 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
30
30
|
}, wrapperStyle)
|
|
31
31
|
}, children) : children);
|
|
32
32
|
};
|
|
33
|
-
exports
|
|
34
|
-
var _default = Tooltip;
|
|
35
|
-
exports["default"] = _default;
|
|
33
|
+
var _default = exports["default"] = Tooltip;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").TooltipProps>;
|
|
2
3
|
export default _default;
|
|
3
4
|
export declare const Default: any;
|
|
4
|
-
export declare const Positioned: () => JSX.Element;
|
|
5
|
+
export declare const Positioned: () => React.JSX.Element;
|
|
5
6
|
export declare const Disabled: any;
|
|
@@ -8,5 +8,5 @@ export interface ZoomProps extends DefaultProps {
|
|
|
8
8
|
};
|
|
9
9
|
children?: React.ReactElement<Record<string, unknown>>;
|
|
10
10
|
}
|
|
11
|
-
export declare const Zoom: ({ children, padding, margin, style, ...otherProps }: ZoomProps) => JSX.Element;
|
|
11
|
+
export declare const Zoom: ({ children, padding, margin, style, ...otherProps }: ZoomProps) => React.JSX.Element;
|
|
12
12
|
export default Zoom;
|