@decisiv/ui-components 2.0.1-alpha.183 → 2.0.1-alpha.184
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/lib/components/StepTracker/index.d.ts +11 -0
- package/lib/components/StepTracker/index.d.ts.map +1 -0
- package/lib/components/StepTracker/index.js +56 -0
- package/lib/components/StepTracker/index.test.js +89 -0
- package/lib/components/StepTracker/schema.d.ts +3 -0
- package/lib/components/StepTracker/schema.d.ts.map +1 -0
- package/lib/components/StepTracker/schema.js +19 -0
- package/lib/components/StepTracker/styles.d.ts +605 -0
- package/lib/components/StepTracker/styles.d.ts.map +1 -0
- package/lib/components/StepTracker/styles.js +114 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +16 -0
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface StepTrackerProps {
|
|
3
|
+
activeStep: number;
|
|
4
|
+
steps: string[];
|
|
5
|
+
}
|
|
6
|
+
declare function StepTracker({ activeStep, steps, }: StepTrackerProps): JSX.Element;
|
|
7
|
+
declare namespace StepTracker {
|
|
8
|
+
var propTypes: any;
|
|
9
|
+
}
|
|
10
|
+
export default StepTracker;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StepTracker/index.tsx"],"names":[],"mappings":";AAiBA,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,iBAAwB,WAAW,CAAC,EAClC,UAAc,EACd,KAAU,GACX,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAuChC;kBA1CuB,WAAW;;;eAAX,WAAW"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = StepTracker;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _uniqueId = _interopRequireDefault(require("lodash/uniqueId"));
|
|
11
|
+
|
|
12
|
+
var _Check = _interopRequireDefault(require("@decisiv/iconix/lib/components/Check"));
|
|
13
|
+
|
|
14
|
+
var _Flex = _interopRequireDefault(require("../Flex"));
|
|
15
|
+
|
|
16
|
+
var _schema = _interopRequireDefault(require("./schema"));
|
|
17
|
+
|
|
18
|
+
var _styles = require("./styles");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
22
|
+
function StepTracker(_ref) {
|
|
23
|
+
var _ref$activeStep = _ref.activeStep,
|
|
24
|
+
activeStep = _ref$activeStep === void 0 ? 0 : _ref$activeStep,
|
|
25
|
+
_ref$steps = _ref.steps,
|
|
26
|
+
steps = _ref$steps === void 0 ? [] : _ref$steps;
|
|
27
|
+
return _react.default.createElement(_styles.StepTrackerContainer, null, steps.map(function (title, index) {
|
|
28
|
+
var isActive = index + 1 === activeStep;
|
|
29
|
+
var isCompleted = activeStep > index + 1;
|
|
30
|
+
var isNextActive = index + 2 === activeStep;
|
|
31
|
+
var isNextCompleted = activeStep > index + 2;
|
|
32
|
+
var labelShade = isCompleted || isActive ? 0 : 1;
|
|
33
|
+
return _react.default.createElement(_styles.StepWrapper, {
|
|
34
|
+
key: (0, _uniqueId.default)("step-".concat(index))
|
|
35
|
+
}, _react.default.createElement(_Flex.default, {
|
|
36
|
+
alignItems: "center"
|
|
37
|
+
}, _react.default.createElement(_styles.StepSeparator, {
|
|
38
|
+
active: isActive,
|
|
39
|
+
completed: isCompleted,
|
|
40
|
+
hide: index === 0
|
|
41
|
+
}), _react.default.createElement(_styles.StepNumber, {
|
|
42
|
+
active: isActive,
|
|
43
|
+
completed: isCompleted
|
|
44
|
+
}, isCompleted ? _react.default.createElement(_Check.default, {
|
|
45
|
+
size: "small"
|
|
46
|
+
}) : index + 1), _react.default.createElement(_styles.StepSeparator, {
|
|
47
|
+
active: isNextActive,
|
|
48
|
+
completed: isNextCompleted,
|
|
49
|
+
hide: index === steps.length - 1
|
|
50
|
+
})), _react.default.createElement(_styles.StepTitleContainer, null, _react.default.createElement(_styles.StepTitle, {
|
|
51
|
+
shade: labelShade
|
|
52
|
+
}, title)));
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
StepTracker.propTypes = _schema.default.propTypes;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _react = _interopRequireDefault(require("react"));
|
|
4
|
+
|
|
5
|
+
var _react2 = require("@testing-library/react");
|
|
6
|
+
|
|
7
|
+
var _ = _interopRequireDefault(require("."));
|
|
8
|
+
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
|
|
11
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
12
|
+
|
|
13
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
14
|
+
|
|
15
|
+
var steps = ['Step one', 'Step two', 'Step three', 'Step four'];
|
|
16
|
+
describe('TagInput', function () {
|
|
17
|
+
it('renders as expected', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
18
|
+
var _render, container, rerender;
|
|
19
|
+
|
|
20
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
21
|
+
while (1) {
|
|
22
|
+
switch (_context.prev = _context.next) {
|
|
23
|
+
case 0:
|
|
24
|
+
_render = (0, _react2.render)(_react.default.createElement(_.default, {
|
|
25
|
+
steps: steps,
|
|
26
|
+
activeStep: 3
|
|
27
|
+
})), container = _render.container, rerender = _render.rerender;
|
|
28
|
+
expect(container).toMatchSnapshot();
|
|
29
|
+
rerender(_react.default.createElement(_.default, {
|
|
30
|
+
steps: steps,
|
|
31
|
+
activeStep: 5
|
|
32
|
+
}));
|
|
33
|
+
expect(container).toMatchSnapshot();
|
|
34
|
+
|
|
35
|
+
case 4:
|
|
36
|
+
case "end":
|
|
37
|
+
return _context.stop();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}, _callee);
|
|
41
|
+
})));
|
|
42
|
+
it('renders step titles', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
43
|
+
var _render2, getByText;
|
|
44
|
+
|
|
45
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
46
|
+
while (1) {
|
|
47
|
+
switch (_context2.prev = _context2.next) {
|
|
48
|
+
case 0:
|
|
49
|
+
_render2 = (0, _react2.render)(_react.default.createElement(_.default, {
|
|
50
|
+
steps: steps,
|
|
51
|
+
activeStep: 3
|
|
52
|
+
})), getByText = _render2.getByText;
|
|
53
|
+
steps.forEach(function (step) {
|
|
54
|
+
expect(getByText(step)).toBeInTheDocument();
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
case 2:
|
|
58
|
+
case "end":
|
|
59
|
+
return _context2.stop();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}, _callee2);
|
|
63
|
+
})));
|
|
64
|
+
it('renders only expected step numbers', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
65
|
+
var _render3, getByText, queryByText;
|
|
66
|
+
|
|
67
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
68
|
+
while (1) {
|
|
69
|
+
switch (_context3.prev = _context3.next) {
|
|
70
|
+
case 0:
|
|
71
|
+
_render3 = (0, _react2.render)(_react.default.createElement(_.default, {
|
|
72
|
+
steps: steps,
|
|
73
|
+
activeStep: 3
|
|
74
|
+
})), getByText = _render3.getByText, queryByText = _render3.queryByText;
|
|
75
|
+
[1, 2].forEach(function (number) {
|
|
76
|
+
expect(queryByText("".concat(number))).not.toBeInTheDocument();
|
|
77
|
+
});
|
|
78
|
+
[3, 4].forEach(function (number) {
|
|
79
|
+
expect(getByText("".concat(number))).toBeInTheDocument();
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
case 3:
|
|
83
|
+
case "end":
|
|
84
|
+
return _context3.stop();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, _callee3);
|
|
88
|
+
})));
|
|
89
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/components/StepTracker/schema.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,KAA2C,CAAC;AAWxD,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _reactDesc = require("react-desc");
|
|
9
|
+
|
|
10
|
+
// @ts-ignore no module typings
|
|
11
|
+
var schema = (0, _reactDesc.describe)({
|
|
12
|
+
displayName: 'StepTracker'
|
|
13
|
+
});
|
|
14
|
+
schema.propTypes = {
|
|
15
|
+
activeStep: _reactDesc.PropTypes.number.description('The active step number in the StepTracker, starting at 1'),
|
|
16
|
+
steps: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.string).description('Array of strings with the title for each step in the tracker')
|
|
17
|
+
};
|
|
18
|
+
var _default = schema;
|
|
19
|
+
exports.default = _default;
|
|
@@ -0,0 +1,605 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface StepStatus {
|
|
3
|
+
active: boolean;
|
|
4
|
+
completed: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const StepNumber: import("styled-components").StyledComponent<"div", any, Partial<{
|
|
7
|
+
readonly alignContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
8
|
+
readonly XS: "XS";
|
|
9
|
+
readonly SM: "SM";
|
|
10
|
+
readonly MD: "MD";
|
|
11
|
+
readonly LG: "LG";
|
|
12
|
+
readonly XL: "XL";
|
|
13
|
+
}> | undefined;
|
|
14
|
+
readonly alignItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
15
|
+
readonly XS: "XS";
|
|
16
|
+
readonly SM: "SM";
|
|
17
|
+
readonly MD: "MD";
|
|
18
|
+
readonly LG: "LG";
|
|
19
|
+
readonly XL: "XL";
|
|
20
|
+
}> | undefined;
|
|
21
|
+
readonly alignSelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
22
|
+
readonly XS: "XS";
|
|
23
|
+
readonly SM: "SM";
|
|
24
|
+
readonly MD: "MD";
|
|
25
|
+
readonly LG: "LG";
|
|
26
|
+
readonly XL: "XL";
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly flex?: string | number | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("react").ReactText, {
|
|
29
|
+
readonly XS: "XS";
|
|
30
|
+
readonly SM: "SM";
|
|
31
|
+
readonly MD: "MD";
|
|
32
|
+
readonly LG: "LG";
|
|
33
|
+
readonly XL: "XL";
|
|
34
|
+
}> | undefined;
|
|
35
|
+
readonly flexBasis?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
36
|
+
readonly XS: "XS";
|
|
37
|
+
readonly SM: "SM";
|
|
38
|
+
readonly MD: "MD";
|
|
39
|
+
readonly LG: "LG";
|
|
40
|
+
readonly XL: "XL";
|
|
41
|
+
}> | undefined;
|
|
42
|
+
readonly flexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexDirectionProperty, {
|
|
43
|
+
readonly XS: "XS";
|
|
44
|
+
readonly SM: "SM";
|
|
45
|
+
readonly MD: "MD";
|
|
46
|
+
readonly LG: "LG";
|
|
47
|
+
readonly XL: "XL";
|
|
48
|
+
}> | undefined;
|
|
49
|
+
readonly flexGrow?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
50
|
+
readonly XS: "XS";
|
|
51
|
+
readonly SM: "SM";
|
|
52
|
+
readonly MD: "MD";
|
|
53
|
+
readonly LG: "LG";
|
|
54
|
+
readonly XL: "XL";
|
|
55
|
+
}> | undefined;
|
|
56
|
+
readonly flexShrink?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
57
|
+
readonly XS: "XS";
|
|
58
|
+
readonly SM: "SM";
|
|
59
|
+
readonly MD: "MD";
|
|
60
|
+
readonly LG: "LG";
|
|
61
|
+
readonly XL: "XL";
|
|
62
|
+
}> | undefined;
|
|
63
|
+
readonly flexWrap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexWrapProperty, {
|
|
64
|
+
readonly XS: "XS";
|
|
65
|
+
readonly SM: "SM";
|
|
66
|
+
readonly MD: "MD";
|
|
67
|
+
readonly LG: "LG";
|
|
68
|
+
readonly XL: "XL";
|
|
69
|
+
}> | undefined;
|
|
70
|
+
readonly justifyContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
71
|
+
readonly XS: "XS";
|
|
72
|
+
readonly SM: "SM";
|
|
73
|
+
readonly MD: "MD";
|
|
74
|
+
readonly LG: "LG";
|
|
75
|
+
readonly XL: "XL";
|
|
76
|
+
}> | undefined;
|
|
77
|
+
readonly justifyItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
78
|
+
readonly XS: "XS";
|
|
79
|
+
readonly SM: "SM";
|
|
80
|
+
readonly MD: "MD";
|
|
81
|
+
readonly LG: "LG";
|
|
82
|
+
readonly XL: "XL";
|
|
83
|
+
}> | undefined;
|
|
84
|
+
readonly justifySelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
85
|
+
readonly XS: "XS";
|
|
86
|
+
readonly SM: "SM";
|
|
87
|
+
readonly MD: "MD";
|
|
88
|
+
readonly LG: "LG";
|
|
89
|
+
readonly XL: "XL";
|
|
90
|
+
}> | undefined;
|
|
91
|
+
readonly order?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
92
|
+
readonly XS: "XS";
|
|
93
|
+
readonly SM: "SM";
|
|
94
|
+
readonly MD: "MD";
|
|
95
|
+
readonly LG: "LG";
|
|
96
|
+
readonly XL: "XL";
|
|
97
|
+
}> | undefined;
|
|
98
|
+
readonly size?: "XS" | "SM" | "MD" | "LG" | "XL" | undefined;
|
|
99
|
+
}> & Partial<{
|
|
100
|
+
readonly margin: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
101
|
+
readonly XS: "XS";
|
|
102
|
+
readonly SM: "SM";
|
|
103
|
+
readonly MD: "MD";
|
|
104
|
+
readonly LG: "LG";
|
|
105
|
+
readonly XL: "XL";
|
|
106
|
+
}>;
|
|
107
|
+
readonly marginBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
108
|
+
readonly XS: "XS";
|
|
109
|
+
readonly SM: "SM";
|
|
110
|
+
readonly MD: "MD";
|
|
111
|
+
readonly LG: "LG";
|
|
112
|
+
readonly XL: "XL";
|
|
113
|
+
}>;
|
|
114
|
+
readonly marginLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
115
|
+
readonly XS: "XS";
|
|
116
|
+
readonly SM: "SM";
|
|
117
|
+
readonly MD: "MD";
|
|
118
|
+
readonly LG: "LG";
|
|
119
|
+
readonly XL: "XL";
|
|
120
|
+
}>;
|
|
121
|
+
readonly marginRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
122
|
+
readonly XS: "XS";
|
|
123
|
+
readonly SM: "SM";
|
|
124
|
+
readonly MD: "MD";
|
|
125
|
+
readonly LG: "LG";
|
|
126
|
+
readonly XL: "XL";
|
|
127
|
+
}>;
|
|
128
|
+
readonly marginTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
129
|
+
readonly XS: "XS";
|
|
130
|
+
readonly SM: "SM";
|
|
131
|
+
readonly MD: "MD";
|
|
132
|
+
readonly LG: "LG";
|
|
133
|
+
readonly XL: "XL";
|
|
134
|
+
}>;
|
|
135
|
+
readonly marginX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
136
|
+
readonly XS: "XS";
|
|
137
|
+
readonly SM: "SM";
|
|
138
|
+
readonly MD: "MD";
|
|
139
|
+
readonly LG: "LG";
|
|
140
|
+
readonly XL: "XL";
|
|
141
|
+
}>;
|
|
142
|
+
readonly marginY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
143
|
+
readonly XS: "XS";
|
|
144
|
+
readonly SM: "SM";
|
|
145
|
+
readonly MD: "MD";
|
|
146
|
+
readonly LG: "LG";
|
|
147
|
+
readonly XL: "XL";
|
|
148
|
+
}>;
|
|
149
|
+
readonly padding: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
150
|
+
readonly XS: "XS";
|
|
151
|
+
readonly SM: "SM";
|
|
152
|
+
readonly MD: "MD";
|
|
153
|
+
readonly LG: "LG";
|
|
154
|
+
readonly XL: "XL";
|
|
155
|
+
}>;
|
|
156
|
+
readonly paddingBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
157
|
+
readonly XS: "XS";
|
|
158
|
+
readonly SM: "SM";
|
|
159
|
+
readonly MD: "MD";
|
|
160
|
+
readonly LG: "LG";
|
|
161
|
+
readonly XL: "XL";
|
|
162
|
+
}>;
|
|
163
|
+
readonly paddingLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
164
|
+
readonly XS: "XS";
|
|
165
|
+
readonly SM: "SM";
|
|
166
|
+
readonly MD: "MD";
|
|
167
|
+
readonly LG: "LG";
|
|
168
|
+
readonly XL: "XL";
|
|
169
|
+
}>;
|
|
170
|
+
readonly paddingRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
171
|
+
readonly XS: "XS";
|
|
172
|
+
readonly SM: "SM";
|
|
173
|
+
readonly MD: "MD";
|
|
174
|
+
readonly LG: "LG";
|
|
175
|
+
readonly XL: "XL";
|
|
176
|
+
}>;
|
|
177
|
+
readonly paddingTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
178
|
+
readonly XS: "XS";
|
|
179
|
+
readonly SM: "SM";
|
|
180
|
+
readonly MD: "MD";
|
|
181
|
+
readonly LG: "LG";
|
|
182
|
+
readonly XL: "XL";
|
|
183
|
+
}>;
|
|
184
|
+
readonly paddingX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
185
|
+
readonly XS: "XS";
|
|
186
|
+
readonly SM: "SM";
|
|
187
|
+
readonly MD: "MD";
|
|
188
|
+
readonly LG: "LG";
|
|
189
|
+
readonly XL: "XL";
|
|
190
|
+
}>;
|
|
191
|
+
readonly paddingY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
192
|
+
readonly XS: "XS";
|
|
193
|
+
readonly SM: "SM";
|
|
194
|
+
readonly MD: "MD";
|
|
195
|
+
readonly LG: "LG";
|
|
196
|
+
readonly XL: "XL";
|
|
197
|
+
}>;
|
|
198
|
+
}> & {
|
|
199
|
+
alignItems: string;
|
|
200
|
+
justifyContent: string;
|
|
201
|
+
marginX: number;
|
|
202
|
+
} & StepStatus, "alignItems" | "justifyContent" | "marginX">;
|
|
203
|
+
interface StepSeparatorProps extends StepStatus {
|
|
204
|
+
hide?: boolean;
|
|
205
|
+
}
|
|
206
|
+
export declare const StepSeparator: import("styled-components").StyledComponent<"hr", any, StepSeparatorProps, never>;
|
|
207
|
+
export declare const StepTitleContainer: import("styled-components").StyledComponent<"div", any, Partial<{
|
|
208
|
+
readonly alignContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
209
|
+
readonly XS: "XS";
|
|
210
|
+
readonly SM: "SM";
|
|
211
|
+
readonly MD: "MD";
|
|
212
|
+
readonly LG: "LG";
|
|
213
|
+
readonly XL: "XL";
|
|
214
|
+
}> | undefined;
|
|
215
|
+
readonly alignItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
216
|
+
readonly XS: "XS";
|
|
217
|
+
readonly SM: "SM";
|
|
218
|
+
readonly MD: "MD";
|
|
219
|
+
readonly LG: "LG";
|
|
220
|
+
readonly XL: "XL";
|
|
221
|
+
}> | undefined;
|
|
222
|
+
readonly alignSelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
223
|
+
readonly XS: "XS";
|
|
224
|
+
readonly SM: "SM";
|
|
225
|
+
readonly MD: "MD";
|
|
226
|
+
readonly LG: "LG";
|
|
227
|
+
readonly XL: "XL";
|
|
228
|
+
}> | undefined;
|
|
229
|
+
readonly flex?: string | number | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("react").ReactText, {
|
|
230
|
+
readonly XS: "XS";
|
|
231
|
+
readonly SM: "SM";
|
|
232
|
+
readonly MD: "MD";
|
|
233
|
+
readonly LG: "LG";
|
|
234
|
+
readonly XL: "XL";
|
|
235
|
+
}> | undefined;
|
|
236
|
+
readonly flexBasis?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
237
|
+
readonly XS: "XS";
|
|
238
|
+
readonly SM: "SM";
|
|
239
|
+
readonly MD: "MD";
|
|
240
|
+
readonly LG: "LG";
|
|
241
|
+
readonly XL: "XL";
|
|
242
|
+
}> | undefined;
|
|
243
|
+
readonly flexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexDirectionProperty, {
|
|
244
|
+
readonly XS: "XS";
|
|
245
|
+
readonly SM: "SM";
|
|
246
|
+
readonly MD: "MD";
|
|
247
|
+
readonly LG: "LG";
|
|
248
|
+
readonly XL: "XL";
|
|
249
|
+
}> | undefined;
|
|
250
|
+
readonly flexGrow?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
251
|
+
readonly XS: "XS";
|
|
252
|
+
readonly SM: "SM";
|
|
253
|
+
readonly MD: "MD";
|
|
254
|
+
readonly LG: "LG";
|
|
255
|
+
readonly XL: "XL";
|
|
256
|
+
}> | undefined;
|
|
257
|
+
readonly flexShrink?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
258
|
+
readonly XS: "XS";
|
|
259
|
+
readonly SM: "SM";
|
|
260
|
+
readonly MD: "MD";
|
|
261
|
+
readonly LG: "LG";
|
|
262
|
+
readonly XL: "XL";
|
|
263
|
+
}> | undefined;
|
|
264
|
+
readonly flexWrap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexWrapProperty, {
|
|
265
|
+
readonly XS: "XS";
|
|
266
|
+
readonly SM: "SM";
|
|
267
|
+
readonly MD: "MD";
|
|
268
|
+
readonly LG: "LG";
|
|
269
|
+
readonly XL: "XL";
|
|
270
|
+
}> | undefined;
|
|
271
|
+
readonly justifyContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
272
|
+
readonly XS: "XS";
|
|
273
|
+
readonly SM: "SM";
|
|
274
|
+
readonly MD: "MD";
|
|
275
|
+
readonly LG: "LG";
|
|
276
|
+
readonly XL: "XL";
|
|
277
|
+
}> | undefined;
|
|
278
|
+
readonly justifyItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
279
|
+
readonly XS: "XS";
|
|
280
|
+
readonly SM: "SM";
|
|
281
|
+
readonly MD: "MD";
|
|
282
|
+
readonly LG: "LG";
|
|
283
|
+
readonly XL: "XL";
|
|
284
|
+
}> | undefined;
|
|
285
|
+
readonly justifySelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
286
|
+
readonly XS: "XS";
|
|
287
|
+
readonly SM: "SM";
|
|
288
|
+
readonly MD: "MD";
|
|
289
|
+
readonly LG: "LG";
|
|
290
|
+
readonly XL: "XL";
|
|
291
|
+
}> | undefined;
|
|
292
|
+
readonly order?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
293
|
+
readonly XS: "XS";
|
|
294
|
+
readonly SM: "SM";
|
|
295
|
+
readonly MD: "MD";
|
|
296
|
+
readonly LG: "LG";
|
|
297
|
+
readonly XL: "XL";
|
|
298
|
+
}> | undefined;
|
|
299
|
+
readonly size?: "XS" | "SM" | "MD" | "LG" | "XL" | undefined;
|
|
300
|
+
}> & Partial<{
|
|
301
|
+
readonly margin: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
302
|
+
readonly XS: "XS";
|
|
303
|
+
readonly SM: "SM";
|
|
304
|
+
readonly MD: "MD";
|
|
305
|
+
readonly LG: "LG";
|
|
306
|
+
readonly XL: "XL";
|
|
307
|
+
}>;
|
|
308
|
+
readonly marginBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
309
|
+
readonly XS: "XS";
|
|
310
|
+
readonly SM: "SM";
|
|
311
|
+
readonly MD: "MD";
|
|
312
|
+
readonly LG: "LG";
|
|
313
|
+
readonly XL: "XL";
|
|
314
|
+
}>;
|
|
315
|
+
readonly marginLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
316
|
+
readonly XS: "XS";
|
|
317
|
+
readonly SM: "SM";
|
|
318
|
+
readonly MD: "MD";
|
|
319
|
+
readonly LG: "LG";
|
|
320
|
+
readonly XL: "XL";
|
|
321
|
+
}>;
|
|
322
|
+
readonly marginRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
323
|
+
readonly XS: "XS";
|
|
324
|
+
readonly SM: "SM";
|
|
325
|
+
readonly MD: "MD";
|
|
326
|
+
readonly LG: "LG";
|
|
327
|
+
readonly XL: "XL";
|
|
328
|
+
}>;
|
|
329
|
+
readonly marginTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
330
|
+
readonly XS: "XS";
|
|
331
|
+
readonly SM: "SM";
|
|
332
|
+
readonly MD: "MD";
|
|
333
|
+
readonly LG: "LG";
|
|
334
|
+
readonly XL: "XL";
|
|
335
|
+
}>;
|
|
336
|
+
readonly marginX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
337
|
+
readonly XS: "XS";
|
|
338
|
+
readonly SM: "SM";
|
|
339
|
+
readonly MD: "MD";
|
|
340
|
+
readonly LG: "LG";
|
|
341
|
+
readonly XL: "XL";
|
|
342
|
+
}>;
|
|
343
|
+
readonly marginY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
344
|
+
readonly XS: "XS";
|
|
345
|
+
readonly SM: "SM";
|
|
346
|
+
readonly MD: "MD";
|
|
347
|
+
readonly LG: "LG";
|
|
348
|
+
readonly XL: "XL";
|
|
349
|
+
}>;
|
|
350
|
+
readonly padding: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
351
|
+
readonly XS: "XS";
|
|
352
|
+
readonly SM: "SM";
|
|
353
|
+
readonly MD: "MD";
|
|
354
|
+
readonly LG: "LG";
|
|
355
|
+
readonly XL: "XL";
|
|
356
|
+
}>;
|
|
357
|
+
readonly paddingBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
358
|
+
readonly XS: "XS";
|
|
359
|
+
readonly SM: "SM";
|
|
360
|
+
readonly MD: "MD";
|
|
361
|
+
readonly LG: "LG";
|
|
362
|
+
readonly XL: "XL";
|
|
363
|
+
}>;
|
|
364
|
+
readonly paddingLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
365
|
+
readonly XS: "XS";
|
|
366
|
+
readonly SM: "SM";
|
|
367
|
+
readonly MD: "MD";
|
|
368
|
+
readonly LG: "LG";
|
|
369
|
+
readonly XL: "XL";
|
|
370
|
+
}>;
|
|
371
|
+
readonly paddingRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
372
|
+
readonly XS: "XS";
|
|
373
|
+
readonly SM: "SM";
|
|
374
|
+
readonly MD: "MD";
|
|
375
|
+
readonly LG: "LG";
|
|
376
|
+
readonly XL: "XL";
|
|
377
|
+
}>;
|
|
378
|
+
readonly paddingTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
379
|
+
readonly XS: "XS";
|
|
380
|
+
readonly SM: "SM";
|
|
381
|
+
readonly MD: "MD";
|
|
382
|
+
readonly LG: "LG";
|
|
383
|
+
readonly XL: "XL";
|
|
384
|
+
}>;
|
|
385
|
+
readonly paddingX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
386
|
+
readonly XS: "XS";
|
|
387
|
+
readonly SM: "SM";
|
|
388
|
+
readonly MD: "MD";
|
|
389
|
+
readonly LG: "LG";
|
|
390
|
+
readonly XL: "XL";
|
|
391
|
+
}>;
|
|
392
|
+
readonly paddingY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
393
|
+
readonly XS: "XS";
|
|
394
|
+
readonly SM: "SM";
|
|
395
|
+
readonly MD: "MD";
|
|
396
|
+
readonly LG: "LG";
|
|
397
|
+
readonly XL: "XL";
|
|
398
|
+
}>;
|
|
399
|
+
}> & {
|
|
400
|
+
marginTop: number;
|
|
401
|
+
flex: number;
|
|
402
|
+
flexDirection: string;
|
|
403
|
+
alignItems: string;
|
|
404
|
+
paddingX: number;
|
|
405
|
+
}, "alignItems" | "flexDirection" | "marginTop" | "flex" | "paddingX">;
|
|
406
|
+
export declare const StepTitle: import("styled-components").StyledComponent<"p", any, import("../Typography").PProps, never>;
|
|
407
|
+
export declare const StepTrackerContainer: import("styled-components").StyledComponent<"div", any, import("../Flex").FlexComponentProps, never>;
|
|
408
|
+
export declare const StepWrapper: import("styled-components").StyledComponent<"div", any, Partial<{
|
|
409
|
+
readonly alignContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
410
|
+
readonly XS: "XS";
|
|
411
|
+
readonly SM: "SM";
|
|
412
|
+
readonly MD: "MD";
|
|
413
|
+
readonly LG: "LG";
|
|
414
|
+
readonly XL: "XL";
|
|
415
|
+
}> | undefined;
|
|
416
|
+
readonly alignItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
417
|
+
readonly XS: "XS";
|
|
418
|
+
readonly SM: "SM";
|
|
419
|
+
readonly MD: "MD";
|
|
420
|
+
readonly LG: "LG";
|
|
421
|
+
readonly XL: "XL";
|
|
422
|
+
}> | undefined;
|
|
423
|
+
readonly alignSelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
424
|
+
readonly XS: "XS";
|
|
425
|
+
readonly SM: "SM";
|
|
426
|
+
readonly MD: "MD";
|
|
427
|
+
readonly LG: "LG";
|
|
428
|
+
readonly XL: "XL";
|
|
429
|
+
}> | undefined;
|
|
430
|
+
readonly flex?: string | number | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("react").ReactText, {
|
|
431
|
+
readonly XS: "XS";
|
|
432
|
+
readonly SM: "SM";
|
|
433
|
+
readonly MD: "MD";
|
|
434
|
+
readonly LG: "LG";
|
|
435
|
+
readonly XL: "XL";
|
|
436
|
+
}> | undefined;
|
|
437
|
+
readonly flexBasis?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
438
|
+
readonly XS: "XS";
|
|
439
|
+
readonly SM: "SM";
|
|
440
|
+
readonly MD: "MD";
|
|
441
|
+
readonly LG: "LG";
|
|
442
|
+
readonly XL: "XL";
|
|
443
|
+
}> | undefined;
|
|
444
|
+
readonly flexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexDirectionProperty, {
|
|
445
|
+
readonly XS: "XS";
|
|
446
|
+
readonly SM: "SM";
|
|
447
|
+
readonly MD: "MD";
|
|
448
|
+
readonly LG: "LG";
|
|
449
|
+
readonly XL: "XL";
|
|
450
|
+
}> | undefined;
|
|
451
|
+
readonly flexGrow?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
452
|
+
readonly XS: "XS";
|
|
453
|
+
readonly SM: "SM";
|
|
454
|
+
readonly MD: "MD";
|
|
455
|
+
readonly LG: "LG";
|
|
456
|
+
readonly XL: "XL";
|
|
457
|
+
}> | undefined;
|
|
458
|
+
readonly flexShrink?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
459
|
+
readonly XS: "XS";
|
|
460
|
+
readonly SM: "SM";
|
|
461
|
+
readonly MD: "MD";
|
|
462
|
+
readonly LG: "LG";
|
|
463
|
+
readonly XL: "XL";
|
|
464
|
+
}> | undefined;
|
|
465
|
+
readonly flexWrap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").FlexWrapProperty, {
|
|
466
|
+
readonly XS: "XS";
|
|
467
|
+
readonly SM: "SM";
|
|
468
|
+
readonly MD: "MD";
|
|
469
|
+
readonly LG: "LG";
|
|
470
|
+
readonly XL: "XL";
|
|
471
|
+
}> | undefined;
|
|
472
|
+
readonly justifyContent?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
473
|
+
readonly XS: "XS";
|
|
474
|
+
readonly SM: "SM";
|
|
475
|
+
readonly MD: "MD";
|
|
476
|
+
readonly LG: "LG";
|
|
477
|
+
readonly XL: "XL";
|
|
478
|
+
}> | undefined;
|
|
479
|
+
readonly justifyItems?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
480
|
+
readonly XS: "XS";
|
|
481
|
+
readonly SM: "SM";
|
|
482
|
+
readonly MD: "MD";
|
|
483
|
+
readonly LG: "LG";
|
|
484
|
+
readonly XL: "XL";
|
|
485
|
+
}> | undefined;
|
|
486
|
+
readonly justifySelf?: string | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<string, {
|
|
487
|
+
readonly XS: "XS";
|
|
488
|
+
readonly SM: "SM";
|
|
489
|
+
readonly MD: "MD";
|
|
490
|
+
readonly LG: "LG";
|
|
491
|
+
readonly XL: "XL";
|
|
492
|
+
}> | undefined;
|
|
493
|
+
readonly order?: number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | import("../../utils/dynamicModifiers").DynamicResponsiveModifiersProp<import("csstype").GlobalsNumber, {
|
|
494
|
+
readonly XS: "XS";
|
|
495
|
+
readonly SM: "SM";
|
|
496
|
+
readonly MD: "MD";
|
|
497
|
+
readonly LG: "LG";
|
|
498
|
+
readonly XL: "XL";
|
|
499
|
+
}> | undefined;
|
|
500
|
+
readonly size?: "XS" | "SM" | "MD" | "LG" | "XL" | undefined;
|
|
501
|
+
}> & Partial<{
|
|
502
|
+
readonly margin: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
503
|
+
readonly XS: "XS";
|
|
504
|
+
readonly SM: "SM";
|
|
505
|
+
readonly MD: "MD";
|
|
506
|
+
readonly LG: "LG";
|
|
507
|
+
readonly XL: "XL";
|
|
508
|
+
}>;
|
|
509
|
+
readonly marginBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
510
|
+
readonly XS: "XS";
|
|
511
|
+
readonly SM: "SM";
|
|
512
|
+
readonly MD: "MD";
|
|
513
|
+
readonly LG: "LG";
|
|
514
|
+
readonly XL: "XL";
|
|
515
|
+
}>;
|
|
516
|
+
readonly marginLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
517
|
+
readonly XS: "XS";
|
|
518
|
+
readonly SM: "SM";
|
|
519
|
+
readonly MD: "MD";
|
|
520
|
+
readonly LG: "LG";
|
|
521
|
+
readonly XL: "XL";
|
|
522
|
+
}>;
|
|
523
|
+
readonly marginRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
524
|
+
readonly XS: "XS";
|
|
525
|
+
readonly SM: "SM";
|
|
526
|
+
readonly MD: "MD";
|
|
527
|
+
readonly LG: "LG";
|
|
528
|
+
readonly XL: "XL";
|
|
529
|
+
}>;
|
|
530
|
+
readonly marginTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
531
|
+
readonly XS: "XS";
|
|
532
|
+
readonly SM: "SM";
|
|
533
|
+
readonly MD: "MD";
|
|
534
|
+
readonly LG: "LG";
|
|
535
|
+
readonly XL: "XL";
|
|
536
|
+
}>;
|
|
537
|
+
readonly marginX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
538
|
+
readonly XS: "XS";
|
|
539
|
+
readonly SM: "SM";
|
|
540
|
+
readonly MD: "MD";
|
|
541
|
+
readonly LG: "LG";
|
|
542
|
+
readonly XL: "XL";
|
|
543
|
+
}>;
|
|
544
|
+
readonly marginY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
545
|
+
readonly XS: "XS";
|
|
546
|
+
readonly SM: "SM";
|
|
547
|
+
readonly MD: "MD";
|
|
548
|
+
readonly LG: "LG";
|
|
549
|
+
readonly XL: "XL";
|
|
550
|
+
}>;
|
|
551
|
+
readonly padding: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
552
|
+
readonly XS: "XS";
|
|
553
|
+
readonly SM: "SM";
|
|
554
|
+
readonly MD: "MD";
|
|
555
|
+
readonly LG: "LG";
|
|
556
|
+
readonly XL: "XL";
|
|
557
|
+
}>;
|
|
558
|
+
readonly paddingBottom: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
559
|
+
readonly XS: "XS";
|
|
560
|
+
readonly SM: "SM";
|
|
561
|
+
readonly MD: "MD";
|
|
562
|
+
readonly LG: "LG";
|
|
563
|
+
readonly XL: "XL";
|
|
564
|
+
}>;
|
|
565
|
+
readonly paddingLeft: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
566
|
+
readonly XS: "XS";
|
|
567
|
+
readonly SM: "SM";
|
|
568
|
+
readonly MD: "MD";
|
|
569
|
+
readonly LG: "LG";
|
|
570
|
+
readonly XL: "XL";
|
|
571
|
+
}>;
|
|
572
|
+
readonly paddingRight: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
573
|
+
readonly XS: "XS";
|
|
574
|
+
readonly SM: "SM";
|
|
575
|
+
readonly MD: "MD";
|
|
576
|
+
readonly LG: "LG";
|
|
577
|
+
readonly XL: "XL";
|
|
578
|
+
}>;
|
|
579
|
+
readonly paddingTop: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
580
|
+
readonly XS: "XS";
|
|
581
|
+
readonly SM: "SM";
|
|
582
|
+
readonly MD: "MD";
|
|
583
|
+
readonly LG: "LG";
|
|
584
|
+
readonly XL: "XL";
|
|
585
|
+
}>;
|
|
586
|
+
readonly paddingX: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
587
|
+
readonly XS: "XS";
|
|
588
|
+
readonly SM: "SM";
|
|
589
|
+
readonly MD: "MD";
|
|
590
|
+
readonly LG: "LG";
|
|
591
|
+
readonly XL: "XL";
|
|
592
|
+
}>;
|
|
593
|
+
readonly paddingY: import("../../utils/dynamicModifiers").DynamicModifiersProp<number, {
|
|
594
|
+
readonly XS: "XS";
|
|
595
|
+
readonly SM: "SM";
|
|
596
|
+
readonly MD: "MD";
|
|
597
|
+
readonly LG: "LG";
|
|
598
|
+
readonly XL: "XL";
|
|
599
|
+
}>;
|
|
600
|
+
}> & {
|
|
601
|
+
flex: number;
|
|
602
|
+
flexDirection: string;
|
|
603
|
+
}, "flexDirection" | "flex">;
|
|
604
|
+
export {};
|
|
605
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/StepTracker/styles.ts"],"names":[],"mappings":";AAkCA,UAAU,UAAU;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DAetB,CAAC;AAEF,UAAU,kBAAmB,SAAQ,UAAU;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,aAAa,mFAazB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEAQ9B,CAAC;AAEF,eAAO,MAAM,SAAS,8FAAc,CAAC;AAErC,eAAO,MAAM,oBAAoB,sGAEhC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGpB,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StepWrapper = exports.StepTrackerContainer = exports.StepTitle = exports.StepTitleContainer = exports.StepSeparator = exports.StepNumber = void 0;
|
|
7
|
+
|
|
8
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
|
+
|
|
10
|
+
var _rem = _interopRequireDefault(require("polished/lib/helpers/rem"));
|
|
11
|
+
|
|
12
|
+
var _toColorString = _interopRequireDefault(require("polished/lib/color/toColorString"));
|
|
13
|
+
|
|
14
|
+
var _designTokens = require("@decisiv/design-tokens");
|
|
15
|
+
|
|
16
|
+
var _color = _interopRequireDefault(require("@decisiv/design-tokens/lib/color"));
|
|
17
|
+
|
|
18
|
+
var _typography = _interopRequireDefault(require("@decisiv/design-tokens/lib/typography"));
|
|
19
|
+
|
|
20
|
+
var _Typography = require("../Typography");
|
|
21
|
+
|
|
22
|
+
var _Flex = _interopRequireDefault(require("../Flex"));
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
|
27
|
+
|
|
28
|
+
var stepNumberSize = _designTokens.spacing.base * 3;
|
|
29
|
+
|
|
30
|
+
var statusColor = function statusColor(active, completed) {
|
|
31
|
+
if (completed) return (0, _toColorString.default)(_color.default.status.success.medium);
|
|
32
|
+
if (active) return (0, _toColorString.default)(_color.default.status.information.medium);
|
|
33
|
+
return (0, _toColorString.default)(_color.default.base.quarterMoon);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var textStatusColor = function textStatusColor(active, completed) {
|
|
37
|
+
if (active || completed) return (0, _toColorString.default)(_color.default.base.snowWhite);
|
|
38
|
+
return (0, _toColorString.default)(_color.default.base.alaskanHusky);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
var backgrounStatusColor = function backgrounStatusColor(active, completed) {
|
|
42
|
+
if (completed) return (0, _toColorString.default)(_color.default.status.success.medium);
|
|
43
|
+
if (active) return (0, _toColorString.default)(_color.default.status.information.medium);
|
|
44
|
+
return 'transparent';
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
var StepNumber = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
48
|
+
alignItems: 'center',
|
|
49
|
+
justifyContent: 'center',
|
|
50
|
+
marginX: 0.2
|
|
51
|
+
}).withConfig({
|
|
52
|
+
displayName: "styles__StepNumber",
|
|
53
|
+
componentId: "sc-1x1c7gs-0"
|
|
54
|
+
})(["min-width:", ";min-height:", ";text-align:center;font-size:", ";border-radius:", ";color:", ";border:", " solid ", ";background-color:", ";"], (0, _rem.default)(stepNumberSize), (0, _rem.default)(stepNumberSize), (0, _rem.default)(_typography.default.size.alias.header4), (0, _rem.default)(stepNumberSize), function (_ref) {
|
|
55
|
+
var active = _ref.active,
|
|
56
|
+
completed = _ref.completed;
|
|
57
|
+
return textStatusColor(active, completed);
|
|
58
|
+
}, (0, _rem.default)(_designTokens.spacing.base * 0.2), function (_ref2) {
|
|
59
|
+
var active = _ref2.active,
|
|
60
|
+
completed = _ref2.completed;
|
|
61
|
+
return statusColor(active, completed);
|
|
62
|
+
}, function (_ref3) {
|
|
63
|
+
var active = _ref3.active,
|
|
64
|
+
completed = _ref3.completed;
|
|
65
|
+
return backgrounStatusColor(active, completed);
|
|
66
|
+
});
|
|
67
|
+
exports.StepNumber = StepNumber;
|
|
68
|
+
|
|
69
|
+
var StepSeparator = _styledComponents.default.hr.withConfig({
|
|
70
|
+
displayName: "styles__StepSeparator",
|
|
71
|
+
componentId: "sc-1x1c7gs-1"
|
|
72
|
+
})(["width:100%;height:0;border:0;border-top:", " solid ", ";border-bottom:", " solid ", ";", ""], (0, _rem.default)(_designTokens.spacing.base * 0.1), function (_ref4) {
|
|
73
|
+
var active = _ref4.active,
|
|
74
|
+
completed = _ref4.completed;
|
|
75
|
+
return statusColor(active, completed);
|
|
76
|
+
}, (0, _rem.default)(_designTokens.spacing.base * 0.1), function (_ref5) {
|
|
77
|
+
var active = _ref5.active,
|
|
78
|
+
completed = _ref5.completed;
|
|
79
|
+
return statusColor(active, completed);
|
|
80
|
+
}, function (_ref6) {
|
|
81
|
+
var hide = _ref6.hide;
|
|
82
|
+
return hide && (0, _styledComponents.css)(["visibility:hidden;"]);
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
exports.StepSeparator = StepSeparator;
|
|
86
|
+
var StepTitleContainer = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
87
|
+
marginTop: 1,
|
|
88
|
+
flex: 1,
|
|
89
|
+
flexDirection: 'column',
|
|
90
|
+
alignItems: 'center',
|
|
91
|
+
paddingX: 0.5
|
|
92
|
+
}).withConfig({
|
|
93
|
+
displayName: "styles__StepTitleContainer",
|
|
94
|
+
componentId: "sc-1x1c7gs-2"
|
|
95
|
+
})(["text-align:center;"]);
|
|
96
|
+
exports.StepTitleContainer = StepTitleContainer;
|
|
97
|
+
var StepTitle = (0, _styledComponents.default)(_Typography.P).withConfig({
|
|
98
|
+
displayName: "styles__StepTitle",
|
|
99
|
+
componentId: "sc-1x1c7gs-3"
|
|
100
|
+
})([""]);
|
|
101
|
+
exports.StepTitle = StepTitle;
|
|
102
|
+
var StepTrackerContainer = (0, _styledComponents.default)(_Flex.default).withConfig({
|
|
103
|
+
displayName: "styles__StepTrackerContainer",
|
|
104
|
+
componentId: "sc-1x1c7gs-4"
|
|
105
|
+
})(["width:100%;"]);
|
|
106
|
+
exports.StepTrackerContainer = StepTrackerContainer;
|
|
107
|
+
var StepWrapper = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
108
|
+
flex: 1,
|
|
109
|
+
flexDirection: 'column'
|
|
110
|
+
}).withConfig({
|
|
111
|
+
displayName: "styles__StepWrapper",
|
|
112
|
+
componentId: "sc-1x1c7gs-5"
|
|
113
|
+
})([""]);
|
|
114
|
+
exports.StepWrapper = StepWrapper;
|
|
@@ -30,6 +30,7 @@ export { default as SearchInput, SearchItem } from './SearchInput';
|
|
|
30
30
|
export { default as SelectDate, DisabledDateRuleName, DayOfWeek, } from './SelectDate';
|
|
31
31
|
export { default as SelectDateRange } from './SelectDateRange';
|
|
32
32
|
export { default as SelectMenu } from './SelectMenu';
|
|
33
|
+
export { default as StepTracker, StepTrackerProps } from './StepTracker';
|
|
33
34
|
export { default as Table, TableProps } from './Table';
|
|
34
35
|
export { default as Tabs, Tab, TabsProps, TabData, TabIcon, TabProps, } from './Tabs';
|
|
35
36
|
export { default as Tag, TagActionButtonRef, TagRef } from './Tag';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EACL,OAAO,IAAI,YAAY,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC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D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,cAAc,cAAc,CAAC"}
|
package/lib/components/index.js
CHANGED
|
@@ -60,6 +60,8 @@ var _exportNames = {
|
|
|
60
60
|
DayOfWeek: true,
|
|
61
61
|
SelectDateRange: true,
|
|
62
62
|
SelectMenu: true,
|
|
63
|
+
StepTracker: true,
|
|
64
|
+
StepTrackerProps: true,
|
|
63
65
|
Table: true,
|
|
64
66
|
TableProps: true,
|
|
65
67
|
Tabs: true,
|
|
@@ -416,6 +418,18 @@ Object.defineProperty(exports, "SelectMenu", {
|
|
|
416
418
|
return _SelectMenu.default;
|
|
417
419
|
}
|
|
418
420
|
});
|
|
421
|
+
Object.defineProperty(exports, "StepTracker", {
|
|
422
|
+
enumerable: true,
|
|
423
|
+
get: function get() {
|
|
424
|
+
return _StepTracker.default;
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
Object.defineProperty(exports, "StepTrackerProps", {
|
|
428
|
+
enumerable: true,
|
|
429
|
+
get: function get() {
|
|
430
|
+
return _StepTracker.StepTrackerProps;
|
|
431
|
+
}
|
|
432
|
+
});
|
|
419
433
|
Object.defineProperty(exports, "Table", {
|
|
420
434
|
enumerable: true,
|
|
421
435
|
get: function get() {
|
|
@@ -595,6 +609,8 @@ var _SelectDateRange = _interopRequireDefault(require("./SelectDateRange"));
|
|
|
595
609
|
|
|
596
610
|
var _SelectMenu = _interopRequireDefault(require("./SelectMenu"));
|
|
597
611
|
|
|
612
|
+
var _StepTracker = _interopRequireWildcard(require("./StepTracker"));
|
|
613
|
+
|
|
598
614
|
var _Table = _interopRequireWildcard(require("./Table"));
|
|
599
615
|
|
|
600
616
|
var _Tabs = _interopRequireWildcard(require("./Tabs"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decisiv/ui-components",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.184+9519a4f",
|
|
4
4
|
"description": "Decisiv's design system React components",
|
|
5
5
|
"author": "Decisiv UI Development Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"private": false,
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "9519a4fdb08ced14a8b76cb8b24c16288d3b8e0f"
|
|
75
75
|
}
|