flipper-ui 0.31.3 → 0.31.4
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/core/data-display/advertise/advertise.stories.d.ts +1 -1
- package/core/data-display/advertise/index.d.ts +0 -14
- package/core/data-display/advertise/styles.d.ts +2 -2
- package/core/data-display/avatar/avatar.stories.d.ts +1 -1
- package/core/data-display/avatar/index.d.ts +0 -3
- package/core/data-display/badge/badge.stories.d.ts +1 -1
- package/core/data-display/badge/index.d.ts +0 -6
- package/core/data-display/chapter/chapter.stories.d.ts +1 -1
- package/core/data-display/chapter/index.d.ts +0 -15
- package/core/data-display/chip/chip.stories.d.ts +1 -1
- package/core/data-display/chip/index.d.ts +0 -3
- package/core/data-display/data-table/data-table-field.js +3 -1
- package/core/data-display/data-table/data-table-field.spec.d.ts +1 -0
- package/core/data-display/data-table/data-table-query-paginated.d.ts +0 -59
- package/core/data-display/data-table/data-table-query-paginated.stories.d.ts +1 -1
- package/core/data-display/data-table/data-table.d.ts +0 -50
- package/core/data-display/data-table/data-table.stories.d.ts +1 -1
- package/core/data-display/data-table/rows.d.ts +6 -6
- package/core/data-display/data-table/types.d.ts +0 -18
- package/core/data-display/data-table/use-paginated.js +5 -8
- package/core/data-display/data-table/use-rows-state.d.ts +1 -1
- package/core/data-display/divider/divider.stories.d.ts +1 -1
- package/core/data-display/editable-table/editable-table.stories.d.ts +1 -1
- package/core/data-display/editable-table/styles.d.ts +2 -2
- package/core/data-display/fab/fab.stories.d.ts +1 -1
- package/core/data-display/line/index.d.ts +0 -3
- package/core/data-display/line/line.stories.d.ts +1 -1
- package/core/data-display/list/index.d.ts +0 -6
- package/core/data-display/list/list.stories.d.ts +1 -1
- package/core/data-display/list-item/index.js +2 -5
- package/core/data-display/node/node.stories.d.ts +1 -1
- package/core/data-display/table/table.stories.d.ts +2 -2
- package/core/data-display/tree/tree.stories.d.ts +1 -1
- package/core/data-display/typography/typography.stories.d.ts +2 -2
- package/core/feedback/collapse/collapse.stories.d.ts +1 -1
- package/core/feedback/dialog/dialog.stories.d.ts +1 -1
- package/core/feedback/dialog/index.d.ts +1 -1
- package/core/feedback/fade/fade.stories.d.ts +1 -1
- package/core/feedback/grow/grow.stories.d.ts +1 -1
- package/core/feedback/progress/progress.stories.d.ts +1 -1
- package/core/feedback/slide/slide.stories.d.ts +1 -1
- package/core/feedback/snackbar/index.d.ts +1 -1
- package/core/feedback/snackbar/snackbar.stories.d.ts +1 -1
- package/core/feedback/tooltip/tooltip.stories.d.ts +1 -1
- package/core/feedback/validation-dialog/styles.d.ts +2 -2
- package/core/feedback/zoom/zooms.stories.d.ts +1 -1
- package/core/inputs/auto-complete/auto-complete.stories.d.ts +1 -1
- package/core/inputs/button/button.stories.d.ts +1 -1
- package/core/inputs/checkbox/checkbox.stories.d.ts +1 -1
- package/core/inputs/chip-field/chip-field.stories.d.ts +1 -1
- package/core/inputs/date-time/date-time.stories.d.ts +1 -1
- package/core/inputs/icon-button/icon-button.stories.d.ts +1 -1
- package/core/inputs/icon-button/index.d.ts +1 -1
- package/core/inputs/input-adornment/input-adornment.stories.d.ts +1 -1
- package/core/inputs/input-base/index.d.ts +1 -1
- package/core/inputs/input-base/input-base.stories.d.ts +1 -1
- package/core/inputs/mask-field/mask-field.stories.d.ts +1 -1
- package/core/inputs/pin-input/pin-input.stories.d.ts +1 -1
- package/core/inputs/radio/index.d.ts +1 -1
- package/core/inputs/radio/radio.stories.d.ts +1 -1
- package/core/inputs/radio-group/radio-group.stories.d.ts +1 -1
- package/core/inputs/select/select.stories.d.ts +1 -1
- package/core/inputs/slider/slider.stories.d.ts +1 -1
- package/core/inputs/text-field/index.js +3 -6
- package/core/inputs/text-field/text-field.stories.d.ts +1 -1
- package/core/navigation/breadcrumb/breadcrumb.stories.d.ts +2 -2
- package/core/navigation/breadcrumb/index.d.ts +1 -1
- package/core/navigation/breadcrumb/index.js +2 -5
- package/core/navigation/drawer/drawer.stories.d.ts +1 -1
- package/core/navigation/menu/menu.stories.d.ts +1 -1
- package/core/navigation/pagination/pagination.stories.d.ts +1 -1
- package/core/navigation/sidebar/sidebar.stories.d.ts +1 -1
- package/core/navigation/stepper/stepper.stories.d.ts +1 -1
- package/core/navigation/tabs/tabs.stories.d.ts +1 -1
- package/core/surfaces/box/box.stories.d.ts +1 -1
- package/core/surfaces/card/card.stories.d.ts +1 -1
- package/core/surfaces/container/container.stories.d.ts +1 -1
- package/core/surfaces/content/content.stories.d.ts +1 -1
- package/core/surfaces/expansion-panel/expansion-panel.stories.d.ts +1 -1
- package/core/surfaces/header/header.stories.d.ts +1 -1
- package/core/surfaces/paper/paper.stories.d.ts +1 -1
- package/core/surfaces/step-card/index.d.ts +0 -204
- package/core/surfaces/step-card/index.js +0 -39
- package/core/surfaces/step-card/step-card.stories.d.ts +1 -1
- package/experimental/actions/actions.stories.d.ts +1 -1
- package/experimental/auto-complete-lab/autocomplete-lab.spec.d.ts +1 -0
- package/experimental/auto-complete-lab/{auto-complete-lab.stories.d.ts → autocomplete-lab.stories.d.ts} +1 -1
- package/experimental/avatar/avatar.stories.d.ts +1 -1
- package/experimental/avatar/index.d.ts +0 -4
- package/experimental/avatar/index.js +1 -2
- package/experimental/breadcrumbs/breadcrumbs.stories.d.ts +1 -1
- package/experimental/breadcrumbs/index.d.ts +0 -4
- package/experimental/breadcrumbs/index.js +2 -9
- package/experimental/breadcrumbs/styles.d.ts +2 -2
- package/experimental/button/button.stories.d.ts +1 -1
- package/experimental/card/card.stories.d.ts +1 -1
- package/experimental/card/styles.d.ts +2 -2
- package/experimental/dialog/dialog.d.ts +1 -1
- package/experimental/dialog/dialog.stories.d.ts +1 -1
- package/experimental/fab/fab.d.ts +1 -1
- package/experimental/fab/fab.js +3 -6
- package/experimental/fab/fab.stories.d.ts +1 -1
- package/experimental/loading/loading.spec.d.ts +1 -4
- package/experimental/loading/loading.stories.d.ts +1 -1
- package/experimental/nothing-found/nothing-found.stories.d.ts +1 -1
- package/experimental/nothing-found/styles.d.ts +2 -2
- package/experimental/panel/panel.stories.d.ts +1 -1
- package/experimental/panel/styles.d.ts +2 -2
- package/experimental/sidebar/sidebar.stories.d.ts +1 -1
- package/experimental/skeleton/skeleton.stories.d.ts +1 -1
- package/experimental/visibility-icon/visibility-icon.stories.d.ts +1 -1
- package/package.json +119 -118
- package/test/mocks/date-time-mock.d.ts +1 -1
- package/test/mocks/date-time-mock.js +6 -6
- package/test/mocks/editable-table-date-mock.d.ts +1 -1
- package/test/mocks/editable-table-date-mock.js +2 -5
- package/test/mocks/editable-table-mock.d.ts +1 -1
- package/test/mocks/editable-table-mock.js +4 -7
- package/test/mocks/radio-group-mock.d.ts +1 -1
- package/test/mocks/radio-group-mock.js +6 -6
- package/test/mocks/select-mock.d.ts +1 -1
- package/test/mocks/select-mock.js +9 -9
- package/test/mocks/step-card-mock.d.ts +1 -1
- package/test/mocks/step-card-mock.js +6 -6
- package/test/mocks/text-field-mock.d.ts +1 -1
- package/test/mocks/text-field-mock.js +8 -8
- package/test/mocks/text-field-options-mock.d.ts +1 -1
- package/test/mocks/text-field-options-mock.js +6 -6
- package/experimental/dialog/__test__/remove-dialog.spec.d.ts +0 -1
- /package/core/feedback/tooltip/{tool-tip.spec.d.ts → tooltip.spec.d.ts} +0 -0
- /package/{experimental/dialog/__test__/confirm-dialog.spec.d.ts → core/navigation/breadcrumb/breadcrumb.spec.d.ts} +0 -0
- /package/experimental/dialog/{__test__/dialog.spec.d.ts → dialog.spec.d.ts} +0 -0
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
var
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _Breadcrumbs = _interopRequireDefault(require("@material-ui/core/Breadcrumbs"));
|
|
11
|
-
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); }
|
|
12
|
-
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; }
|
|
13
10
|
var Breadcrumbs = function Breadcrumbs(props) {
|
|
14
|
-
return /*#__PURE__*/
|
|
11
|
+
return /*#__PURE__*/_react["default"].createElement(_Breadcrumbs["default"], props);
|
|
15
12
|
};
|
|
16
13
|
var _default = exports["default"] = Breadcrumbs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").DrawerProps>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").MenuProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").PaginationProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").SidebarProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").StepperProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const WithIcon: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").TabsProps & import(".").IClasses>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").BoxProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../../types").DefaultProps & import("@material-ui/core").CardProps>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../../types").DefaultProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("../../types").DefaultProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").ExpansionPanelProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const Disabled: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").HeaderProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const Primary: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").PaperProps>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
5
5
|
export declare const Square: any;
|
|
@@ -2,240 +2,36 @@ import React from 'react';
|
|
|
2
2
|
import type { CSSProperties, ChangeEvent, HTMLAttributes } from 'react';
|
|
3
3
|
import type Typography from '@/core/data-display/typography';
|
|
4
4
|
import type { LinearProgress, AccordionDetails as MuiAccordionDetails } from '@material-ui/core';
|
|
5
|
-
/**
|
|
6
|
-
* Props for the StepCard component
|
|
7
|
-
*
|
|
8
|
-
* @interface IStepCardProps
|
|
9
|
-
*/
|
|
10
5
|
export interface IStepCardProps {
|
|
11
|
-
/**
|
|
12
|
-
* Whether the step card expansion panel is initially expanded or not
|
|
13
|
-
* @type {boolean}
|
|
14
|
-
* @memberof IStepCardProps
|
|
15
|
-
* @default undefined
|
|
16
|
-
*/
|
|
17
6
|
expanded?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Callback fired when the expansion state changes
|
|
20
|
-
* @type {(event: ChangeEvent<{}>, expanded: boolean) => void}
|
|
21
|
-
* @memberof IStepCardProps
|
|
22
|
-
* @default undefined
|
|
23
|
-
* @example
|
|
24
|
-
* const handleChange = (event: ChangeEvent<{}>, expanded: boolean) => {
|
|
25
|
-
* setExpanded(expanded)
|
|
26
|
-
* }
|
|
27
|
-
* <StepCard onChange={handleChange} />
|
|
28
|
-
* @example
|
|
29
|
-
* <StepCard onChange={(event, expanded) => setExpanded(expanded)} />
|
|
30
|
-
*/
|
|
31
7
|
onChange?: (event: ChangeEvent<Record<string, unknown>>, expanded: boolean) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the step card is full width
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof IStepCardProps
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
8
|
fullWidth?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Whether the step card are loading
|
|
41
|
-
* @type {boolean}
|
|
42
|
-
* @memberof IStepCardProps
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
9
|
loading?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The percentage of the progress bar
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IStepCardProps
|
|
50
|
-
*/
|
|
51
10
|
percentage: number;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to show the percentage on the expansion panel summary
|
|
54
|
-
* Defaults to true
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof IStepCardProps
|
|
57
|
-
* @default true
|
|
58
|
-
*/
|
|
59
11
|
showBottomPercentage?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* A text to be displayed on the expansion panel summary
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof IStepCardProps
|
|
65
|
-
* @example using literals
|
|
66
|
-
* summary: '%i items remaining - %i minute(s)'
|
|
67
|
-
*
|
|
68
|
-
* @example using string
|
|
69
|
-
* summary: 'Your progress'
|
|
70
|
-
*/
|
|
71
12
|
summary: string;
|
|
72
|
-
/**
|
|
73
|
-
* The title of the step card
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof IStepCardProps
|
|
77
|
-
*/
|
|
78
13
|
title: string;
|
|
79
|
-
/**
|
|
80
|
-
* The subtitle of the step card title
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof IStepCardProps
|
|
84
|
-
*/
|
|
85
14
|
subTitle?: string;
|
|
86
|
-
/**
|
|
87
|
-
* The image to be displayed on the expansion panel details
|
|
88
|
-
* Accepts a string or a JSX.Element
|
|
89
|
-
*
|
|
90
|
-
* @type {string | JSX.Element}
|
|
91
|
-
* @example
|
|
92
|
-
* <StepCard image={<img src="https://picsum.photos/200" />} />
|
|
93
|
-
* @example
|
|
94
|
-
* <StepCard image="https://picsum.photos/200" />
|
|
95
|
-
* @example
|
|
96
|
-
* <StepCard image={<Image />} />
|
|
97
|
-
* @memberof IStepCardProps
|
|
98
|
-
*/
|
|
99
15
|
image?: string | JSX.Element;
|
|
100
|
-
/**
|
|
101
|
-
* The number of remaining steps
|
|
102
|
-
* @type {number}
|
|
103
|
-
* @memberof IStepCardProps
|
|
104
|
-
*/
|
|
105
16
|
remainingSteps?: number;
|
|
106
|
-
/**
|
|
107
|
-
* The time in seconds to be displayed on the expansion panel summary
|
|
108
|
-
* @type {number}
|
|
109
|
-
* @memberof IStepCardProps
|
|
110
|
-
*/
|
|
111
17
|
time?: number;
|
|
112
|
-
/**
|
|
113
|
-
* An array of steps, each with a title, a done flag and an optional url
|
|
114
|
-
*
|
|
115
|
-
* @type [{
|
|
116
|
-
* title: string;
|
|
117
|
-
* done: boolean;
|
|
118
|
-
* url?: string;
|
|
119
|
-
* }]
|
|
120
|
-
* @memberof IStepCardProps
|
|
121
|
-
*/
|
|
122
18
|
steps?: {
|
|
123
19
|
title: string;
|
|
124
20
|
done: boolean;
|
|
125
21
|
url?: string;
|
|
126
22
|
}[];
|
|
127
|
-
/**
|
|
128
|
-
* Props to be passed to the root element
|
|
129
|
-
*
|
|
130
|
-
* @type {(HTMLAttributes<HTMLDivElement> | undefined)}
|
|
131
|
-
* @memberof IStepCardProps
|
|
132
|
-
*/
|
|
133
23
|
rootProps?: HTMLAttributes<HTMLDivElement>;
|
|
134
|
-
/**
|
|
135
|
-
* Props to be passed to the title typography
|
|
136
|
-
*
|
|
137
|
-
* @type {(typeof Typography | undefined)}
|
|
138
|
-
* @memberof IStepCardProps
|
|
139
|
-
*/
|
|
140
24
|
titleProps?: typeof Typography;
|
|
141
|
-
/**
|
|
142
|
-
* Props to be passed to the summary typography
|
|
143
|
-
*
|
|
144
|
-
* @type {(typeof Typography | undefined)}
|
|
145
|
-
* @memberof IStepCardProps
|
|
146
|
-
*/
|
|
147
25
|
summaryProps?: typeof Typography;
|
|
148
|
-
/**
|
|
149
|
-
* Props to be passed to the expansion panel details
|
|
150
|
-
* @type {(typeof MuiExpansionPanel | undefined)}
|
|
151
|
-
* @memberof IStepCardProps
|
|
152
|
-
*/
|
|
153
26
|
expansionPanelDetailsProps?: typeof MuiAccordionDetails;
|
|
154
|
-
/**
|
|
155
|
-
* Props to be passed to the linear progress bar
|
|
156
|
-
* @type {(typeof LinearProgress | undefined)}
|
|
157
|
-
* @memberof IStepCardProps
|
|
158
|
-
*/
|
|
159
27
|
linearProgressBarProps?: typeof LinearProgress;
|
|
160
|
-
/**
|
|
161
|
-
* Props to be passed to the expansion panel summary linear progress bar
|
|
162
|
-
* @type {(typeof LinearProgress | undefined)}
|
|
163
|
-
* @memberof IStepCardProps
|
|
164
|
-
*/
|
|
165
28
|
summaryLinearProgressBarProps?: typeof LinearProgress;
|
|
166
|
-
/**
|
|
167
|
-
* Whether the expansion panel is expandable
|
|
168
|
-
* @type {boolean}
|
|
169
|
-
* @memberof IStepCardProps
|
|
170
|
-
* @default true
|
|
171
|
-
*/
|
|
172
29
|
expandable?: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* Whether to show the icon on the expansion panel summary
|
|
175
|
-
* @type {boolean}
|
|
176
|
-
* @memberof IStepCardProps
|
|
177
|
-
* @default true
|
|
178
|
-
*/
|
|
179
30
|
showIcon?: boolean;
|
|
180
|
-
/**
|
|
181
|
-
* Padding applied to the root element
|
|
182
|
-
* @type {CSSProperties['padding']}
|
|
183
|
-
* @memberof IStepCardProps
|
|
184
|
-
*/
|
|
185
31
|
padding?: CSSProperties['padding'];
|
|
186
|
-
/**
|
|
187
|
-
* Margin applied to the root element
|
|
188
|
-
* @type {CSSProperties['margin']}
|
|
189
|
-
* @memberof IStepCardProps
|
|
190
|
-
*/
|
|
191
32
|
margin?: CSSProperties['margin'];
|
|
192
|
-
/**
|
|
193
|
-
* Whether to show the sub title skeleton
|
|
194
|
-
* @type {boolean}
|
|
195
|
-
* @memberof IStepCardProps
|
|
196
|
-
* @default false
|
|
197
|
-
*/
|
|
198
33
|
showSubTitleSkeleton?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Callback to be called when the user clicks on a step url
|
|
201
|
-
* @memberof IStepCardProps
|
|
202
|
-
* @default undefined
|
|
203
|
-
* @type {(url: string) => void}
|
|
204
|
-
*/
|
|
205
34
|
onStepUrlClick?: (url: string) => void;
|
|
206
35
|
}
|
|
207
|
-
/**
|
|
208
|
-
* StepCard is a reusable component that displays a card with a title, a summary,
|
|
209
|
-
* an expandable panel, and a progress bar.
|
|
210
|
-
* The expandable panel displays a list of steps, each with a title, a done flag,
|
|
211
|
-
* and an optional url.
|
|
212
|
-
*
|
|
213
|
-
* @Storybook https://flipper-ui.ngi.com.br/?path=/story/stepcard--default
|
|
214
|
-
*
|
|
215
|
-
* @Source
|
|
216
|
-
* https://github.com/nginformatica/flipper-ui/blob/master/src/core/StepCard
|
|
217
|
-
*
|
|
218
|
-
* @example
|
|
219
|
-
* <StepCard
|
|
220
|
-
* showBottomPercentage={true}
|
|
221
|
-
* summary="50% Complete"
|
|
222
|
-
* title="Step 1"
|
|
223
|
-
* subTitle="Subtitle for step 1"
|
|
224
|
-
* image="https://via.placeholder.com/150"
|
|
225
|
-
* totalSteps={4}
|
|
226
|
-
* doneSteps={2}
|
|
227
|
-
* steps={[
|
|
228
|
-
* { title: "Step 1-1", done: true },
|
|
229
|
-
* { title: "Step 1-2", done: true, url: "/step-1-2" },
|
|
230
|
-
* { title: "Step 1-3", done: false },
|
|
231
|
-
* { title: "Step 1-4", done: false }
|
|
232
|
-
* ]}
|
|
233
|
-
* rootProps={{ className: "my-custom-class" }}
|
|
234
|
-
* titleProps={{ variant: "h3", color: "primary" }}
|
|
235
|
-
* summaryProps={{ variant: "body2", color: "secondary" }}
|
|
236
|
-
* expandable={true}
|
|
237
|
-
* defaultExpanded={false}
|
|
238
|
-
* />
|
|
239
|
-
*/
|
|
240
36
|
declare const StepCard: ({ expanded, loading, percentage, time, steps, remainingSteps, title, titleProps, subTitle, image, showBottomPercentage, expandable, showIcon, summary, summaryProps, expansionPanelDetailsProps, linearProgressBarProps, summaryLinearProgressBarProps, rootProps, onStepUrlClick, fullWidth, padding, margin, showSubTitleSkeleton, onChange }: IStepCardProps) => React.JSX.Element;
|
|
241
37
|
export default StepCard;
|
|
@@ -12,45 +12,6 @@ var _stepCardDetails = require("./step-card-details");
|
|
|
12
12
|
var _stepCardPanel = require("./step-card-panel");
|
|
13
13
|
var _stepCardSkeleton = _interopRequireDefault(require("./step-card-skeleton"));
|
|
14
14
|
var _styles = require("./styles");
|
|
15
|
-
/**
|
|
16
|
-
* Props for the StepCard component
|
|
17
|
-
*
|
|
18
|
-
* @interface IStepCardProps
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* StepCard is a reusable component that displays a card with a title, a summary,
|
|
23
|
-
* an expandable panel, and a progress bar.
|
|
24
|
-
* The expandable panel displays a list of steps, each with a title, a done flag,
|
|
25
|
-
* and an optional url.
|
|
26
|
-
*
|
|
27
|
-
* @Storybook https://flipper-ui.ngi.com.br/?path=/story/stepcard--default
|
|
28
|
-
*
|
|
29
|
-
* @Source
|
|
30
|
-
* https://github.com/nginformatica/flipper-ui/blob/master/src/core/StepCard
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* <StepCard
|
|
34
|
-
* showBottomPercentage={true}
|
|
35
|
-
* summary="50% Complete"
|
|
36
|
-
* title="Step 1"
|
|
37
|
-
* subTitle="Subtitle for step 1"
|
|
38
|
-
* image="https://via.placeholder.com/150"
|
|
39
|
-
* totalSteps={4}
|
|
40
|
-
* doneSteps={2}
|
|
41
|
-
* steps={[
|
|
42
|
-
* { title: "Step 1-1", done: true },
|
|
43
|
-
* { title: "Step 1-2", done: true, url: "/step-1-2" },
|
|
44
|
-
* { title: "Step 1-3", done: false },
|
|
45
|
-
* { title: "Step 1-4", done: false }
|
|
46
|
-
* ]}
|
|
47
|
-
* rootProps={{ className: "my-custom-class" }}
|
|
48
|
-
* titleProps={{ variant: "h3", color: "primary" }}
|
|
49
|
-
* summaryProps={{ variant: "body2", color: "secondary" }}
|
|
50
|
-
* expandable={true}
|
|
51
|
-
* defaultExpanded={false}
|
|
52
|
-
* />
|
|
53
|
-
*/
|
|
54
15
|
var StepCard = function StepCard(_ref) {
|
|
55
16
|
var expanded = _ref.expanded,
|
|
56
17
|
_ref$loading = _ref.loading,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").IStepCardProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const WithoutExpandable: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").IProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("@/core/inputs/auto-complete").AutoCompleteProps>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").IProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const simpleAvatar: any;
|
|
4
4
|
export declare const withCustomSize: any;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CSSProperties, ReactNode } from 'react';
|
|
3
3
|
export interface IProps {
|
|
4
|
-
/** The avatar name */
|
|
5
4
|
name?: string;
|
|
6
|
-
/** A custom icon node */
|
|
7
5
|
icon?: ReactNode;
|
|
8
|
-
/** An image source*/
|
|
9
6
|
src?: string;
|
|
10
|
-
/** Custom styles */
|
|
11
7
|
style?: CSSProperties;
|
|
12
8
|
}
|
|
13
9
|
declare const Avatar: (props: IProps) => React.JSX.Element;
|
|
@@ -8,11 +8,10 @@ exports["default"] = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _take = _interopRequireDefault(require("ramda/es/take"));
|
|
10
10
|
var _ = require("../..");
|
|
11
|
-
var FIRST_LETTER = 1;
|
|
12
11
|
var Avatar = function Avatar(props) {
|
|
13
12
|
var getChild = function getChild() {
|
|
14
13
|
if (props.name) {
|
|
15
|
-
return (0, _take["default"])(
|
|
14
|
+
return (0, _take["default"])(1, props.name.toUpperCase());
|
|
16
15
|
}
|
|
17
16
|
return props.icon;
|
|
18
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, {
|
|
3
3
|
pathMapping: Record<string, string>;
|
|
4
4
|
homeId: string;
|
|
5
5
|
pathname?: string | undefined;
|
|
@@ -12,9 +12,5 @@ type Props = {
|
|
|
12
12
|
pathname?: string;
|
|
13
13
|
linkWrapper?: (link: string, label: ReactNode) => ReactNode;
|
|
14
14
|
};
|
|
15
|
-
/**
|
|
16
|
-
* Render breadcrumbs for the provided pathname or the current
|
|
17
|
-
* `window.location.pathname`.
|
|
18
|
-
*/
|
|
19
15
|
declare const Breadcrumbs: ({ pathname, homeId, pathMapping, linkWrapper }: Props) => React.JSX.Element;
|
|
20
16
|
export default Breadcrumbs;
|
|
@@ -13,19 +13,12 @@ var _ = require("../..");
|
|
|
13
13
|
var _styles = require("./styles");
|
|
14
14
|
var _icons = require("../../icons");
|
|
15
15
|
var imap = (0, _addIndex["default"])(_map["default"]);
|
|
16
|
-
var INDEX_CORRECTION = 1;
|
|
17
|
-
var START = 1;
|
|
18
16
|
var defaultLinkWrapper = function defaultLinkWrapper(link, label) {
|
|
19
17
|
return /*#__PURE__*/_react["default"].createElement(_styles.LinkStyled, {
|
|
20
18
|
key: link,
|
|
21
19
|
href: link
|
|
22
20
|
}, label);
|
|
23
21
|
};
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Render breadcrumbs for the provided pathname or the current
|
|
27
|
-
* `window.location.pathname`.
|
|
28
|
-
*/
|
|
29
22
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
30
23
|
var pathname = _ref.pathname,
|
|
31
24
|
homeId = _ref.homeId,
|
|
@@ -37,10 +30,10 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
37
30
|
return term in pathMapping;
|
|
38
31
|
});
|
|
39
32
|
var allChunks = [homeId].concat((0, _toConsumableArray2["default"])(validChunks));
|
|
40
|
-
var lastChunkIndex = allChunks.length -
|
|
33
|
+
var lastChunkIndex = allChunks.length - 1;
|
|
41
34
|
var links = imap(function (term, chunkIndex) {
|
|
42
35
|
var validChunkWord = pathMapping[term];
|
|
43
|
-
var link = '/' + allChunks.slice(
|
|
36
|
+
var link = '/' + allChunks.slice(1, chunkIndex + 1).join('/');
|
|
44
37
|
var text = /*#__PURE__*/_react["default"].createElement(_styles.TextTypography, {
|
|
45
38
|
key: link,
|
|
46
39
|
color: "inherit"
|
|
@@ -12,7 +12,7 @@ export declare const TextTypography: import("styled-components").IStyledComponen
|
|
|
12
12
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
13
13
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
15
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "
|
|
15
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("../../core/types").DefaultProps, never>> & Omit<({ children, margin, padding, style, variant, ...otherProps }: {
|
|
16
16
|
align?: import("@material-ui/core").PropTypes.Alignment | undefined;
|
|
17
17
|
children?: import("react").ReactNode;
|
|
18
18
|
color?: "inherit" | "initial" | "primary" | "secondary" | "textPrimary" | "textSecondary" | "error" | undefined;
|
|
@@ -24,4 +24,4 @@ export declare const TextTypography: import("styled-components").IStyledComponen
|
|
|
24
24
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
25
25
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
27
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "
|
|
27
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("../../core/types").DefaultProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").Props>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").IProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const WithOnToggleEdit: any;
|