@pismo/marola 1.0.0-beta.45 → 1.0.0-beta.47
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/dist/assets/Input.css +1 -1
- package/dist/assets/StepperNavigator.css +1 -1
- package/dist/components/Input/Input.js +219 -219
- package/dist/components/StepperNavigator/StepperNavigator.d.ts +20 -5
- package/dist/components/StepperNavigator/StepperNavigator.js +94 -35
- package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +3 -1
- package/package.json +1 -1
package/dist/assets/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._u-typography-
|
|
1
|
+
._u-typography-h1_y27xt_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_y27xt_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_y27xt_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_y27xt_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_y27xt_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_y27xt_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_y27xt_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_y27xt_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_y27xt_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_y27xt_57,._input__input-el_y27xt_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_y27xt_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_y27xt_65,._input__input-el_y27xt_57{font-weight:var(--base-bold)}._u-typography-base--strikethrough_y27xt_68{text-decoration:line-through}._u-typography-base--underlined_y27xt_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_y27xt_74{text-decoration:underline line-through}._input_y27xt_57{position:relative}._input__label_y27xt_81{display:block;margin-bottom:.3125rem;color:var(--gray-75)}._input__input-el-wrapper_y27xt_86{display:flex;align-items:center;height:2.5rem;border:solid .0625rem var(--gray-25);border-radius:.375rem;transition:all .3s}._input__input-el_y27xt_57{all:unset;width:100%;height:2.5rem;padding:0 1rem;color:var(--gray-90);outline:none}._input__input-el_y27xt_57::placeholder{color:var(--gray-50)}._input__left-icon_y27xt_105,._input__right-icon_y27xt_105{display:flex;align-items:center;justify-content:center;height:1rem}._input__left-icon_y27xt_105{padding-left:1rem}._input__right-icon_y27xt_105{padding-right:1rem}._input__messages-wrapper_y27xt_117{position:absolute;display:flex;gap:1rem;justify-content:space-between;width:100%}._input__messages-wrapper_y27xt_117:not(:empty){margin-top:.3125rem}._input__messages-wrapper_y27xt_117 svg{min-width:1rem;min-height:1rem}._input__info-message_y27xt_131,._input__error-message_y27xt_131{display:flex;gap:.375rem;align-items:center}._input__info-message_y27xt_131{color:var(--gray-75)}._input__error-message_y27xt_131{color:var(--alert)}._input__chars-counter_y27xt_142{margin-left:auto;color:var(--gray-75);white-space:nowrap}._input--disabled_y27xt_147 ._input__input-el_y27xt_57{color:var(--gray-50)}._input_y27xt_57:has(._input--disabled_y27xt_147) ._input__label_y27xt_81{color:var(--gray-25)}._input--focused_y27xt_153._input__input-el-wrapper_y27xt_86{border-color:var(--accent)}._input--error_y27xt_156._input__input-el-wrapper_y27xt_86{border-color:var(--alert)}._input__input-el-wrapper_y27xt_86:hover:not(._input--disabled_y27xt_147,._input--focused_y27xt_153,._input--error_y27xt_156){border-color:var(--gray-75)}textarea._input__input-el_y27xt_57{height:auto;padding:.5rem 1rem;resize:vertical}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._stepper-
|
|
1
|
+
._stepper-navigator_27f6m_1{display:flex;justify-content:space-between;padding:1rem 0}._stepper-navigator_27f6m_1>span{display:flex;gap:1rem}._cancel-button_27f6m_11{color:var(--accent-alert-light);background-color:transparent}._cancel-button_27f6m_11:hover:not(:disabled){color:rgba(var(--alert-dark-rgb),.75);background-color:var(--gray-5)}._previous-button_27f6m_20{color:var(--gray-75);background-color:transparent;border:solid 1px var(--gray-75)}._previous-button_27f6m_20:disabled{border-color:transparent}._previous-button_27f6m_20:hover:not(:disabled){color:rgba(var(--gray-75-rgb),.75);background-color:var(--gray-5);border-color:rgba(var(--gray-75),.75)}._previous-button_27f6m_20,._cancel-button_27f6m_11{min-width:6.25rem}._next-button_27f6m_39,._finish-button_27f6m_40{min-width:15rem}._previous-button_27f6m_20,._cancel-button_27f6m_11,._next-button_27f6m_39,._finish-button_27f6m_40{display:flex;gap:.25rem;align-items:center;justify-content:space-between;padding:0 1rem;font-size:.875rem}._previous-button_27f6m_20>*,._cancel-button_27f6m_11>*,._next-button_27f6m_39>*,._finish-button_27f6m_40>*{display:inline-flex;flex:1;align-items:center;justify-content:center}._previous-button_27f6m_20>*:nth-child(1),._cancel-button_27f6m_11>*:nth-child(1),._next-button_27f6m_39>*:nth-child(1),._finish-button_27f6m_40>*:nth-child(1){justify-content:flex-start}._previous-button_27f6m_20>*:nth-child(3),._cancel-button_27f6m_11>*:nth-child(3),._next-button_27f6m_39>*:nth-child(3),._finish-button_27f6m_40>*:nth-child(3){justify-content:flex-end}
|
|
@@ -1,226 +1,226 @@
|
|
|
1
1
|
import '../../assets/Input.css';
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as de, useState as ce, useId as _e, useMemo as
|
|
5
|
-
import { c as
|
|
6
|
-
import { Icon as
|
|
2
|
+
import { jsxs as q, jsx as k } from "react/jsx-runtime";
|
|
3
|
+
import * as w from "react";
|
|
4
|
+
import { forwardRef as de, useState as ce, useId as _e, useMemo as ye } from "react";
|
|
5
|
+
import { c as E } from "../../clsx-DB4S2d7J.js";
|
|
6
|
+
import { Icon as me } from "../Icon/Icon.js";
|
|
7
7
|
import { Typography as L } from "../Typography/Typography.js";
|
|
8
|
-
import { g as
|
|
9
|
-
function
|
|
8
|
+
import { g as fe, a as he, u as ge, f as Y, b as f, _ as be, c as Q, i as xe, P as e, d as Ce, e as we } from "../../useSlotProps-C_I1kEHr.js";
|
|
9
|
+
function Pe(s) {
|
|
10
10
|
let l = "https://mui.com/production-error/?code=" + s;
|
|
11
11
|
for (let d = 1; d < arguments.length; d += 1)
|
|
12
12
|
l += "&args[]=" + encodeURIComponent(arguments[d]);
|
|
13
13
|
return "Minified MUI error #" + s + "; visit " + l + " for the full message.";
|
|
14
14
|
}
|
|
15
15
|
const X = "Input";
|
|
16
|
-
function
|
|
17
|
-
return
|
|
16
|
+
function Ne(s) {
|
|
17
|
+
return fe(X, s);
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
const Z = /* @__PURE__ */
|
|
19
|
+
he(X, ["root", "formControl", "focused", "disabled", "error", "multiline", "input", "inputMultiline", "inputTypeSearch", "adornedStart", "adornedEnd"]);
|
|
20
|
+
const Z = /* @__PURE__ */ w.createContext(void 0);
|
|
21
21
|
process.env.NODE_ENV !== "production" && (Z.displayName = "FormControlContext");
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function ve() {
|
|
23
|
+
return w.useContext(Z);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Re(s = {}) {
|
|
26
26
|
const {
|
|
27
27
|
defaultValue: l,
|
|
28
28
|
disabled: d = !1,
|
|
29
29
|
error: u = !1,
|
|
30
30
|
onBlur: c,
|
|
31
|
-
onChange:
|
|
32
|
-
onFocus:
|
|
33
|
-
required:
|
|
34
|
-
value:
|
|
35
|
-
inputRef:
|
|
36
|
-
} = s, n =
|
|
37
|
-
let g,
|
|
31
|
+
onChange: y,
|
|
32
|
+
onFocus: P,
|
|
33
|
+
required: N = !1,
|
|
34
|
+
value: F,
|
|
35
|
+
inputRef: v
|
|
36
|
+
} = s, n = ve();
|
|
37
|
+
let g, m, b, x, h;
|
|
38
38
|
if (n) {
|
|
39
|
-
var
|
|
40
|
-
if (g = void 0,
|
|
41
|
-
const
|
|
42
|
-
|
|
39
|
+
var I, _, O;
|
|
40
|
+
if (g = void 0, m = (I = n.disabled) != null ? I : !1, b = (_ = n.error) != null ? _ : !1, x = (O = n.required) != null ? O : !1, h = n.value, process.env.NODE_ENV !== "production") {
|
|
41
|
+
const t = ["defaultValue", "disabled", "error", "required", "value"].filter((o) => s[o] !== void 0);
|
|
42
|
+
t.length > 0 && console.warn(["MUI: You have set props on an input that is inside a FormControl.", "Set these props on a FormControl instead. Otherwise they will be ignored.", `Ignored props: ${t.join(", ")}`].join(`
|
|
43
43
|
`));
|
|
44
44
|
}
|
|
45
45
|
} else
|
|
46
|
-
g = l,
|
|
46
|
+
g = l, m = d, b = u, x = N, h = F;
|
|
47
47
|
const {
|
|
48
|
-
current:
|
|
49
|
-
} =
|
|
50
|
-
process.env.NODE_ENV !== "production" &&
|
|
48
|
+
current: B
|
|
49
|
+
} = w.useRef(h != null), U = w.useCallback((t) => {
|
|
50
|
+
process.env.NODE_ENV !== "production" && t && t.nodeName !== "INPUT" && !t.focus && console.error(["MUI: You have provided a `slots.input` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
51
51
|
`));
|
|
52
|
-
}, []),
|
|
53
|
-
|
|
54
|
-
!n &&
|
|
55
|
-
}, [n,
|
|
56
|
-
const
|
|
52
|
+
}, []), C = w.useRef(null), T = ge(C, v, U), [R, a] = w.useState(!1);
|
|
53
|
+
w.useEffect(() => {
|
|
54
|
+
!n && m && R && (a(!1), c == null || c());
|
|
55
|
+
}, [n, m, R, c]);
|
|
56
|
+
const V = (t) => (o) => {
|
|
57
57
|
var r;
|
|
58
58
|
if (n != null && n.disabled) {
|
|
59
|
-
|
|
59
|
+
o.stopPropagation();
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if ((r =
|
|
62
|
+
if ((r = t.onFocus) == null || r.call(t, o), n && n.onFocus) {
|
|
63
63
|
var i;
|
|
64
64
|
n == null || (i = n.onFocus) == null || i.call(n);
|
|
65
65
|
} else
|
|
66
66
|
a(!0);
|
|
67
|
-
},
|
|
67
|
+
}, S = (t) => (o) => {
|
|
68
68
|
var r;
|
|
69
|
-
(r =
|
|
70
|
-
},
|
|
71
|
-
var i,
|
|
72
|
-
if (!
|
|
73
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." :
|
|
74
|
-
n == null || (i = n.onChange) == null || i.call(n,
|
|
75
|
-
},
|
|
69
|
+
(r = t.onBlur) == null || r.call(t, o), n && n.onBlur ? n.onBlur() : a(!1);
|
|
70
|
+
}, A = (t) => (o, ...r) => {
|
|
71
|
+
var i, H;
|
|
72
|
+
if (!B && (o.target || C.current) == null)
|
|
73
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Pe(17));
|
|
74
|
+
n == null || (i = n.onChange) == null || i.call(n, o), (H = t.onChange) == null || H.call(t, o, ...r);
|
|
75
|
+
}, D = (t) => (o) => {
|
|
76
76
|
var r;
|
|
77
|
-
|
|
77
|
+
C.current && o.currentTarget === o.target && C.current.focus(), (r = t.onClick) == null || r.call(t, o);
|
|
78
78
|
};
|
|
79
79
|
return {
|
|
80
|
-
disabled:
|
|
80
|
+
disabled: m,
|
|
81
81
|
error: b,
|
|
82
|
-
focused:
|
|
82
|
+
focused: R,
|
|
83
83
|
formControlContext: n,
|
|
84
|
-
getInputProps: (
|
|
85
|
-
const r =
|
|
84
|
+
getInputProps: (t = {}) => {
|
|
85
|
+
const r = f({}, {
|
|
86
86
|
onBlur: c,
|
|
87
|
-
onChange:
|
|
88
|
-
onFocus:
|
|
89
|
-
}, Y(
|
|
90
|
-
onBlur:
|
|
91
|
-
onChange:
|
|
92
|
-
onFocus:
|
|
87
|
+
onChange: y,
|
|
88
|
+
onFocus: P
|
|
89
|
+
}, Y(t)), i = f({}, r, {
|
|
90
|
+
onBlur: S(r),
|
|
91
|
+
onChange: A(r),
|
|
92
|
+
onFocus: V(r)
|
|
93
93
|
});
|
|
94
|
-
return
|
|
94
|
+
return f({}, i, {
|
|
95
95
|
"aria-invalid": b || void 0,
|
|
96
96
|
defaultValue: g,
|
|
97
|
-
value:
|
|
98
|
-
required:
|
|
99
|
-
disabled:
|
|
100
|
-
},
|
|
101
|
-
ref:
|
|
97
|
+
value: h,
|
|
98
|
+
required: x,
|
|
99
|
+
disabled: m
|
|
100
|
+
}, t, {
|
|
101
|
+
ref: T
|
|
102
102
|
}, i);
|
|
103
103
|
},
|
|
104
|
-
getRootProps: (
|
|
105
|
-
const
|
|
106
|
-
return
|
|
107
|
-
onClick:
|
|
104
|
+
getRootProps: (t = {}) => {
|
|
105
|
+
const o = Y(s, ["onBlur", "onChange", "onFocus"]), r = f({}, o, Y(t));
|
|
106
|
+
return f({}, t, r, {
|
|
107
|
+
onClick: D(r)
|
|
108
108
|
});
|
|
109
109
|
},
|
|
110
|
-
inputRef:
|
|
111
|
-
required:
|
|
112
|
-
value:
|
|
110
|
+
inputRef: T,
|
|
111
|
+
required: x,
|
|
112
|
+
value: h
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const Ee = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "defaultValue", "disabled", "endAdornment", "error", "id", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "startAdornment", "value", "type", "rows", "slotProps", "slots", "minRows", "maxRows"], Fe = (s) => {
|
|
116
116
|
const {
|
|
117
117
|
disabled: l,
|
|
118
118
|
error: d,
|
|
119
119
|
focused: u,
|
|
120
120
|
formControlContext: c,
|
|
121
|
-
multiline:
|
|
122
|
-
startAdornment:
|
|
123
|
-
endAdornment:
|
|
121
|
+
multiline: y,
|
|
122
|
+
startAdornment: P,
|
|
123
|
+
endAdornment: N
|
|
124
124
|
} = s;
|
|
125
|
-
return
|
|
126
|
-
root: ["root", l && "disabled", d && "error", u && "focused", !!c && "formControl",
|
|
127
|
-
input: ["input", l && "disabled",
|
|
128
|
-
},
|
|
129
|
-
}, ee = /* @__PURE__ */
|
|
130
|
-
var u, c,
|
|
125
|
+
return Ce({
|
|
126
|
+
root: ["root", l && "disabled", d && "error", u && "focused", !!c && "formControl", y && "multiline", !!P && "adornedStart", !!N && "adornedEnd"],
|
|
127
|
+
input: ["input", l && "disabled", y && "multiline"]
|
|
128
|
+
}, we(Ne));
|
|
129
|
+
}, ee = /* @__PURE__ */ w.forwardRef(function(l, d) {
|
|
130
|
+
var u, c, y;
|
|
131
131
|
const {
|
|
132
|
-
"aria-describedby":
|
|
133
|
-
"aria-label":
|
|
134
|
-
"aria-labelledby":
|
|
135
|
-
autoComplete:
|
|
132
|
+
"aria-describedby": P,
|
|
133
|
+
"aria-label": N,
|
|
134
|
+
"aria-labelledby": F,
|
|
135
|
+
autoComplete: v,
|
|
136
136
|
autoFocus: n,
|
|
137
137
|
className: g,
|
|
138
|
-
defaultValue:
|
|
138
|
+
defaultValue: m,
|
|
139
139
|
disabled: b,
|
|
140
|
-
endAdornment:
|
|
141
|
-
error:
|
|
142
|
-
id:
|
|
140
|
+
endAdornment: x,
|
|
141
|
+
error: h,
|
|
142
|
+
id: I,
|
|
143
143
|
multiline: _ = !1,
|
|
144
|
-
name:
|
|
145
|
-
onClick:
|
|
146
|
-
onChange:
|
|
147
|
-
onKeyDown:
|
|
148
|
-
onKeyUp:
|
|
149
|
-
onFocus:
|
|
144
|
+
name: O,
|
|
145
|
+
onClick: B,
|
|
146
|
+
onChange: U,
|
|
147
|
+
onKeyDown: C,
|
|
148
|
+
onKeyUp: T,
|
|
149
|
+
onFocus: R,
|
|
150
150
|
onBlur: a,
|
|
151
|
-
placeholder:
|
|
152
|
-
readOnly:
|
|
153
|
-
required:
|
|
154
|
-
startAdornment:
|
|
155
|
-
value:
|
|
156
|
-
type:
|
|
157
|
-
rows:
|
|
158
|
-
slotProps:
|
|
151
|
+
placeholder: V,
|
|
152
|
+
readOnly: S,
|
|
153
|
+
required: A,
|
|
154
|
+
startAdornment: D,
|
|
155
|
+
value: j,
|
|
156
|
+
type: M,
|
|
157
|
+
rows: t,
|
|
158
|
+
slotProps: o = {},
|
|
159
159
|
slots: r = {},
|
|
160
160
|
minRows: i,
|
|
161
|
-
maxRows:
|
|
162
|
-
} = l, W = be(l,
|
|
163
|
-
getRootProps:
|
|
164
|
-
getInputProps:
|
|
161
|
+
maxRows: H
|
|
162
|
+
} = l, W = be(l, Ee), {
|
|
163
|
+
getRootProps: te,
|
|
164
|
+
getInputProps: oe,
|
|
165
165
|
focused: ne,
|
|
166
166
|
formControlContext: re,
|
|
167
167
|
error: ae,
|
|
168
168
|
disabled: se
|
|
169
|
-
} =
|
|
169
|
+
} = Re({
|
|
170
170
|
disabled: b,
|
|
171
|
-
defaultValue:
|
|
172
|
-
error:
|
|
171
|
+
defaultValue: m,
|
|
172
|
+
error: h,
|
|
173
173
|
onBlur: a,
|
|
174
|
-
onClick:
|
|
175
|
-
onChange:
|
|
176
|
-
onFocus:
|
|
177
|
-
required:
|
|
178
|
-
value:
|
|
179
|
-
}), z = _ ? void 0 :
|
|
174
|
+
onClick: B,
|
|
175
|
+
onChange: U,
|
|
176
|
+
onFocus: R,
|
|
177
|
+
required: A,
|
|
178
|
+
value: j
|
|
179
|
+
}), z = _ ? void 0 : M ?? "text", $ = f({}, l, {
|
|
180
180
|
disabled: se,
|
|
181
181
|
error: ae,
|
|
182
182
|
focused: ne,
|
|
183
183
|
formControlContext: re,
|
|
184
184
|
multiline: _,
|
|
185
185
|
type: z
|
|
186
|
-
}), G =
|
|
187
|
-
"aria-describedby":
|
|
188
|
-
"aria-label":
|
|
189
|
-
"aria-labelledby":
|
|
190
|
-
autoComplete:
|
|
186
|
+
}), G = Fe($), le = {
|
|
187
|
+
"aria-describedby": P,
|
|
188
|
+
"aria-label": N,
|
|
189
|
+
"aria-labelledby": F,
|
|
190
|
+
autoComplete: v,
|
|
191
191
|
autoFocus: n,
|
|
192
|
-
id:
|
|
193
|
-
onKeyDown:
|
|
194
|
-
onKeyUp:
|
|
195
|
-
name:
|
|
196
|
-
placeholder:
|
|
197
|
-
readOnly:
|
|
192
|
+
id: I,
|
|
193
|
+
onKeyDown: C,
|
|
194
|
+
onKeyUp: T,
|
|
195
|
+
name: O,
|
|
196
|
+
placeholder: V,
|
|
197
|
+
readOnly: S,
|
|
198
198
|
type: z
|
|
199
199
|
}, J = (u = r.root) != null ? u : "div", ie = Q({
|
|
200
200
|
elementType: J,
|
|
201
|
-
getSlotProps:
|
|
202
|
-
externalSlotProps:
|
|
201
|
+
getSlotProps: te,
|
|
202
|
+
externalSlotProps: o.root,
|
|
203
203
|
externalForwardedProps: W,
|
|
204
204
|
additionalProps: {
|
|
205
205
|
ref: d
|
|
206
206
|
},
|
|
207
207
|
ownerState: $,
|
|
208
208
|
className: [G.root, g]
|
|
209
|
-
}), K = _ ? (c = r.textarea) != null ? c : "textarea" : (
|
|
209
|
+
}), K = _ ? (c = r.textarea) != null ? c : "textarea" : (y = r.input) != null ? y : "input", ue = Q({
|
|
210
210
|
elementType: K,
|
|
211
|
-
getSlotProps: (pe) =>
|
|
212
|
-
externalSlotProps:
|
|
213
|
-
additionalProps:
|
|
214
|
-
rows: _ ?
|
|
215
|
-
}, _ && !
|
|
216
|
-
minRows:
|
|
217
|
-
maxRows:
|
|
211
|
+
getSlotProps: (pe) => oe(f({}, le, pe)),
|
|
212
|
+
externalSlotProps: o.input,
|
|
213
|
+
additionalProps: f({
|
|
214
|
+
rows: _ ? t : void 0
|
|
215
|
+
}, _ && !xe(K) && {
|
|
216
|
+
minRows: t || i,
|
|
217
|
+
maxRows: t || H
|
|
218
218
|
}),
|
|
219
219
|
ownerState: $,
|
|
220
220
|
className: G.input
|
|
221
221
|
});
|
|
222
|
-
return process.env.NODE_ENV !== "production" && _ &&
|
|
223
|
-
children: [
|
|
222
|
+
return process.env.NODE_ENV !== "production" && _ && t && (i || H) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), /* @__PURE__ */ q(J, f({}, ie, {
|
|
223
|
+
children: [D, /* @__PURE__ */ k(K, f({}, ue)), x]
|
|
224
224
|
}));
|
|
225
225
|
});
|
|
226
226
|
process.env.NODE_ENV !== "production" && (ee.propTypes = {
|
|
@@ -373,70 +373,70 @@ process.env.NODE_ENV !== "production" && (ee.propTypes = {
|
|
|
373
373
|
*/
|
|
374
374
|
value: e.any
|
|
375
375
|
});
|
|
376
|
-
const
|
|
377
|
-
"u-typography-h1": "_u-typography-
|
|
378
|
-
"u-typography-h2": "_u-typography-
|
|
379
|
-
"u-typography-h3": "_u-typography-
|
|
380
|
-
"u-typography-h4": "_u-typography-
|
|
381
|
-
"u-typography-h5": "_u-typography-
|
|
382
|
-
"u-typography-h6": "_u-typography-
|
|
383
|
-
"u-typography-base": "_u-typography-
|
|
384
|
-
"u-typography-base--xxl": "_u-typography-base--
|
|
385
|
-
"u-typography-base--xl": "_u-typography-base--
|
|
386
|
-
"u-typography-base--lg": "_u-typography-base--
|
|
387
|
-
"input__input-el": "_input__input-
|
|
388
|
-
"u-typography-base--sm": "_u-typography-base--
|
|
389
|
-
"u-typography-base--bold": "_u-typography-base--
|
|
390
|
-
"u-typography-base--strikethrough": "_u-typography-base--
|
|
391
|
-
"u-typography-base--underlined": "_u-typography-base--
|
|
392
|
-
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-
|
|
393
|
-
input:
|
|
394
|
-
input__label:
|
|
395
|
-
"input__input-el-wrapper": "_input__input-el-
|
|
396
|
-
"input__left-icon": "_input__left-
|
|
397
|
-
"input__right-icon": "_input__right-
|
|
398
|
-
"input__messages-wrapper": "_input__messages-
|
|
399
|
-
"input__info-message": "_input__info-
|
|
400
|
-
"input__error-message": "_input__error-
|
|
401
|
-
"input__chars-counter": "_input__chars-
|
|
402
|
-
"input--disabled": "_input--
|
|
403
|
-
"input--focused": "_input--
|
|
404
|
-
"input--error": "_input--
|
|
405
|
-
},
|
|
376
|
+
const Ie = "_input_y27xt_57", Oe = "_input__label_y27xt_81", p = {
|
|
377
|
+
"u-typography-h1": "_u-typography-h1_y27xt_1",
|
|
378
|
+
"u-typography-h2": "_u-typography-h2_y27xt_8",
|
|
379
|
+
"u-typography-h3": "_u-typography-h3_y27xt_15",
|
|
380
|
+
"u-typography-h4": "_u-typography-h4_y27xt_22",
|
|
381
|
+
"u-typography-h5": "_u-typography-h5_y27xt_29",
|
|
382
|
+
"u-typography-h6": "_u-typography-h6_y27xt_36",
|
|
383
|
+
"u-typography-base": "_u-typography-base_y27xt_43",
|
|
384
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_y27xt_49",
|
|
385
|
+
"u-typography-base--xl": "_u-typography-base--xl_y27xt_53",
|
|
386
|
+
"u-typography-base--lg": "_u-typography-base--lg_y27xt_57",
|
|
387
|
+
"input__input-el": "_input__input-el_y27xt_57",
|
|
388
|
+
"u-typography-base--sm": "_u-typography-base--sm_y27xt_61",
|
|
389
|
+
"u-typography-base--bold": "_u-typography-base--bold_y27xt_65",
|
|
390
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_y27xt_68",
|
|
391
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_y27xt_71",
|
|
392
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_y27xt_74",
|
|
393
|
+
input: Ie,
|
|
394
|
+
input__label: Oe,
|
|
395
|
+
"input__input-el-wrapper": "_input__input-el-wrapper_y27xt_86",
|
|
396
|
+
"input__left-icon": "_input__left-icon_y27xt_105",
|
|
397
|
+
"input__right-icon": "_input__right-icon_y27xt_105",
|
|
398
|
+
"input__messages-wrapper": "_input__messages-wrapper_y27xt_117",
|
|
399
|
+
"input__info-message": "_input__info-message_y27xt_131",
|
|
400
|
+
"input__error-message": "_input__error-message_y27xt_131",
|
|
401
|
+
"input__chars-counter": "_input__chars-counter_y27xt_142",
|
|
402
|
+
"input--disabled": "_input--disabled_y27xt_147",
|
|
403
|
+
"input--focused": "_input--focused_y27xt_153",
|
|
404
|
+
"input--error": "_input--error_y27xt_156"
|
|
405
|
+
}, Ae = de(
|
|
406
406
|
({
|
|
407
407
|
label: s,
|
|
408
408
|
infoMessage: l,
|
|
409
409
|
error: d,
|
|
410
410
|
errorMessage: u,
|
|
411
411
|
leftIcon: c,
|
|
412
|
-
rightIcon:
|
|
413
|
-
id:
|
|
414
|
-
disabled:
|
|
415
|
-
type:
|
|
416
|
-
maxLength:
|
|
412
|
+
rightIcon: y,
|
|
413
|
+
id: P,
|
|
414
|
+
disabled: N,
|
|
415
|
+
type: F = "text",
|
|
416
|
+
maxLength: v,
|
|
417
417
|
hideCharsCounter: n = !1,
|
|
418
418
|
onChange: g,
|
|
419
|
-
classNameWrapper:
|
|
419
|
+
classNameWrapper: m,
|
|
420
420
|
classNameLabel: b,
|
|
421
|
-
classNameInput:
|
|
422
|
-
classNameInfoMessage:
|
|
423
|
-
classNameErrorMessage:
|
|
421
|
+
classNameInput: x,
|
|
422
|
+
classNameInfoMessage: h,
|
|
423
|
+
classNameErrorMessage: I,
|
|
424
424
|
classNameCharsCounter: _,
|
|
425
|
-
"data-testid-wrapper":
|
|
426
|
-
"data-testid-label":
|
|
427
|
-
"data-testid-input":
|
|
428
|
-
"data-testid-infoMessage":
|
|
429
|
-
"data-testid-errorMessage":
|
|
430
|
-
"data-testid-charsCounter":
|
|
425
|
+
"data-testid-wrapper": O,
|
|
426
|
+
"data-testid-label": B,
|
|
427
|
+
"data-testid-input": U,
|
|
428
|
+
"data-testid-infoMessage": C,
|
|
429
|
+
"data-testid-errorMessage": T,
|
|
430
|
+
"data-testid-charsCounter": R,
|
|
431
431
|
...a
|
|
432
|
-
},
|
|
433
|
-
const [
|
|
434
|
-
Object.assign(a, { "data-testid":
|
|
435
|
-
const
|
|
432
|
+
}, V) => {
|
|
433
|
+
const [S, A] = ce(0), D = _e(), j = P || `input_${D}`;
|
|
434
|
+
Object.assign(a, { "data-testid": U });
|
|
435
|
+
const M = (o) => {
|
|
436
436
|
var r, i;
|
|
437
|
-
|
|
438
|
-
},
|
|
439
|
-
type:
|
|
437
|
+
A((i = (r = o == null ? void 0 : o.target) == null ? void 0 : r.value) == null ? void 0 : i.length), g && g(o);
|
|
438
|
+
}, t = ye(() => a.multiline !== !0 ? {
|
|
439
|
+
type: F,
|
|
440
440
|
multiline: a.multiline
|
|
441
441
|
} : {
|
|
442
442
|
type: void 0,
|
|
@@ -445,66 +445,66 @@ const Fe = "_input_1iqdc_57", Ie = "_input__label_1iqdc_81", p = {
|
|
|
445
445
|
minRows: a == null ? void 0 : a.minRows,
|
|
446
446
|
maxRows: a == null ? void 0 : a.maxRows
|
|
447
447
|
}, [a]);
|
|
448
|
-
return /* @__PURE__ */
|
|
449
|
-
s && /* @__PURE__ */
|
|
448
|
+
return /* @__PURE__ */ q("div", { className: E(p.input, m), "data-testid": O, children: [
|
|
449
|
+
s && /* @__PURE__ */ k(
|
|
450
450
|
L,
|
|
451
451
|
{
|
|
452
452
|
element: "label",
|
|
453
|
-
elementProps: { htmlFor:
|
|
454
|
-
className:
|
|
455
|
-
"data-testid":
|
|
453
|
+
elementProps: { htmlFor: j },
|
|
454
|
+
className: E(p.input__label, b),
|
|
455
|
+
"data-testid": B,
|
|
456
456
|
children: s
|
|
457
457
|
}
|
|
458
458
|
),
|
|
459
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ k(
|
|
460
460
|
ee,
|
|
461
461
|
{
|
|
462
|
-
id:
|
|
463
|
-
disabled:
|
|
462
|
+
id: j,
|
|
463
|
+
disabled: N,
|
|
464
464
|
error: typeof d == "boolean" ? d : !!u,
|
|
465
465
|
"aria-label": s,
|
|
466
466
|
slotProps: {
|
|
467
|
-
root: (
|
|
468
|
-
className:
|
|
469
|
-
[p["input--disabled"]]:
|
|
470
|
-
[p["input--focused"]]:
|
|
471
|
-
[p["input--error"]]:
|
|
467
|
+
root: (o) => ({
|
|
468
|
+
className: E(p["input__input-el-wrapper"], {
|
|
469
|
+
[p["input--disabled"]]: o.disabled,
|
|
470
|
+
[p["input--focused"]]: o.focused,
|
|
471
|
+
[p["input--error"]]: o.error
|
|
472
472
|
})
|
|
473
473
|
}),
|
|
474
474
|
input: {
|
|
475
|
-
ref:
|
|
476
|
-
className:
|
|
477
|
-
maxLength:
|
|
478
|
-
onChange:
|
|
475
|
+
ref: V,
|
|
476
|
+
className: E(p["input__input-el"], x),
|
|
477
|
+
maxLength: v,
|
|
478
|
+
onChange: M,
|
|
479
479
|
...a
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
|
-
startAdornment: c && /* @__PURE__ */
|
|
483
|
-
endAdornment:
|
|
484
|
-
...
|
|
482
|
+
startAdornment: c && /* @__PURE__ */ k("span", { className: p["input__left-icon"], children: c }),
|
|
483
|
+
endAdornment: y && /* @__PURE__ */ k("span", { className: p["input__right-icon"], children: y }),
|
|
484
|
+
...t
|
|
485
485
|
}
|
|
486
486
|
),
|
|
487
|
-
/* @__PURE__ */
|
|
488
|
-
(u || l) && /* @__PURE__ */
|
|
487
|
+
/* @__PURE__ */ q("div", { className: p["input__messages-wrapper"], children: [
|
|
488
|
+
(u || l) && /* @__PURE__ */ q(
|
|
489
489
|
L,
|
|
490
490
|
{
|
|
491
|
-
className: u ?
|
|
492
|
-
"data-testid": u ?
|
|
491
|
+
className: u ? E(p["input__error-message"], I) : E(p["input__info-message"], h),
|
|
492
|
+
"data-testid": u ? T : C,
|
|
493
493
|
children: [
|
|
494
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ k(me, { icon: u ? "circle-exclamation" : "circle-info" }),
|
|
495
495
|
u || l
|
|
496
496
|
]
|
|
497
497
|
}
|
|
498
498
|
),
|
|
499
|
-
|
|
499
|
+
v && !n && /* @__PURE__ */ q(
|
|
500
500
|
L,
|
|
501
501
|
{
|
|
502
|
-
className:
|
|
503
|
-
"data-testid":
|
|
502
|
+
className: E(p["input__chars-counter"], _),
|
|
503
|
+
"data-testid": R,
|
|
504
504
|
children: [
|
|
505
|
-
|
|
505
|
+
S,
|
|
506
506
|
" / ",
|
|
507
|
-
|
|
507
|
+
v
|
|
508
508
|
]
|
|
509
509
|
}
|
|
510
510
|
)
|
|
@@ -513,5 +513,5 @@ const Fe = "_input_1iqdc_57", Ie = "_input__label_1iqdc_81", p = {
|
|
|
513
513
|
}
|
|
514
514
|
);
|
|
515
515
|
export {
|
|
516
|
-
|
|
516
|
+
Ae as Input
|
|
517
517
|
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
type StepperNavigatorLang = 'en' | 'pt';
|
|
3
|
+
export type StepperNavigatorButtonProps = {
|
|
4
|
+
leftIcon?: React.ReactNode;
|
|
5
|
+
rightIcon?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
'data-testid'?: string;
|
|
8
|
+
};
|
|
2
9
|
export type StepperNavigatorProps = {
|
|
3
10
|
/** Hides the "previous" button */
|
|
4
11
|
hidePrevious?: boolean;
|
|
@@ -26,6 +33,18 @@ export type StepperNavigatorProps = {
|
|
|
26
33
|
labelFinish?: string;
|
|
27
34
|
/** Language to be used for the button labels. Default "en" */
|
|
28
35
|
lang?: StepperNavigatorLang;
|
|
36
|
+
/** CSS classes to be applied on the container element */
|
|
37
|
+
className?: string;
|
|
38
|
+
/** Id to be applied as `data-testid` on the container element */
|
|
39
|
+
'data-testid'?: string;
|
|
40
|
+
/** Previous button props */
|
|
41
|
+
previousButtonProps?: StepperNavigatorButtonProps;
|
|
42
|
+
/** Cancel button props */
|
|
43
|
+
cancelButtonProps?: StepperNavigatorButtonProps;
|
|
44
|
+
/** Next button props */
|
|
45
|
+
nextButtonProps?: StepperNavigatorButtonProps;
|
|
46
|
+
/** Finish button props */
|
|
47
|
+
finishButtonProps?: StepperNavigatorButtonProps;
|
|
29
48
|
/** Callback to be called when the "previous" button is clicked */
|
|
30
49
|
onPrevious?: () => void;
|
|
31
50
|
/** Callback to be called when the "cancel" button is clicked */
|
|
@@ -34,10 +53,6 @@ export type StepperNavigatorProps = {
|
|
|
34
53
|
onNext?: () => void;
|
|
35
54
|
/** Callback to be called when the "finish" button is clicked */
|
|
36
55
|
onFinish?: () => void;
|
|
37
|
-
/** CSS classes to be applied on the container element */
|
|
38
|
-
className?: string;
|
|
39
|
-
/** Id to be applied as `data-testid` on the container element */
|
|
40
|
-
'data-testid'?: string;
|
|
41
56
|
};
|
|
42
|
-
export declare const StepperNavigator: ({ hideNext, hidePrevious, hideCancel, hideFinish, disableNext, disablePrevious, disableCancel, disableFinish, lang, labelNext, labelPrevious, labelCancel, labelFinish, className, "data-testid": dataTestId, onNext, onPrevious, onCancel, onFinish, }: StepperNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const StepperNavigator: ({ hideNext, hidePrevious, hideCancel, hideFinish, disableNext, disablePrevious, disableCancel, disableFinish, lang, labelNext, labelPrevious, labelCancel, labelFinish, className, "data-testid": dataTestId, previousButtonProps, cancelButtonProps, nextButtonProps, finishButtonProps, onNext, onPrevious, onCancel, onFinish, }: StepperNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
58
|
export {};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import '../../assets/StepperNavigator.css';
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { c as
|
|
4
|
-
import { Button as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
2
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { c as i } from "../../clsx-DB4S2d7J.js";
|
|
4
|
+
import { Button as I } from "../Button/Button.js";
|
|
5
|
+
import { Icon as K } from "../Icon/Icon.js";
|
|
6
|
+
const _ = {
|
|
7
|
+
"stepper-navigator": "_stepper-navigator_27f6m_1",
|
|
8
|
+
"cancel-button": "_cancel-button_27f6m_11",
|
|
9
|
+
"previous-button": "_previous-button_27f6m_20",
|
|
10
|
+
"next-button": "_next-button_27f6m_39",
|
|
11
|
+
"finish-button": "_finish-button_27f6m_40"
|
|
12
|
+
}, b = {
|
|
10
13
|
en: {
|
|
11
14
|
previous: "Previous",
|
|
12
15
|
cancel: "Cancel",
|
|
@@ -19,38 +22,94 @@ const c = {
|
|
|
19
22
|
next: "Próximo",
|
|
20
23
|
finish: "Finalizar"
|
|
21
24
|
}
|
|
22
|
-
},
|
|
23
|
-
hideNext:
|
|
24
|
-
hidePrevious:
|
|
25
|
-
hideCancel:
|
|
26
|
-
hideFinish:
|
|
27
|
-
disableNext:
|
|
28
|
-
disablePrevious:
|
|
29
|
-
disableCancel:
|
|
30
|
-
disableFinish:
|
|
31
|
-
lang:
|
|
32
|
-
labelNext:
|
|
33
|
-
labelPrevious:
|
|
34
|
-
labelCancel:
|
|
35
|
-
labelFinish:
|
|
36
|
-
className:
|
|
37
|
-
"data-testid":
|
|
38
|
-
|
|
25
|
+
}, R = ({
|
|
26
|
+
hideNext: C = !1,
|
|
27
|
+
hidePrevious: j = !1,
|
|
28
|
+
hideCancel: z = !1,
|
|
29
|
+
hideFinish: w = !1,
|
|
30
|
+
disableNext: y = !1,
|
|
31
|
+
disablePrevious: A = !1,
|
|
32
|
+
disableCancel: S = !1,
|
|
33
|
+
disableFinish: q = !1,
|
|
34
|
+
lang: h = "en",
|
|
35
|
+
labelNext: N,
|
|
36
|
+
labelPrevious: f,
|
|
37
|
+
labelCancel: g,
|
|
38
|
+
labelFinish: k,
|
|
39
|
+
className: D,
|
|
40
|
+
"data-testid": E = "stepper-navigator",
|
|
41
|
+
previousButtonProps: d,
|
|
42
|
+
cancelButtonProps: c,
|
|
43
|
+
nextButtonProps: e = { rightIcon: /* @__PURE__ */ a(K, { icon: "circle-arrow-right", size: 24 }) },
|
|
44
|
+
finishButtonProps: m,
|
|
45
|
+
onNext: F = () => {
|
|
39
46
|
},
|
|
40
|
-
onPrevious:
|
|
47
|
+
onPrevious: G = () => {
|
|
41
48
|
},
|
|
42
|
-
onCancel:
|
|
49
|
+
onCancel: H = () => {
|
|
43
50
|
},
|
|
44
|
-
onFinish:
|
|
51
|
+
onFinish: J = () => {
|
|
45
52
|
}
|
|
46
|
-
}) => (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
}) => (g = g || b[h].cancel, f = f || b[h].previous, N = N || b[h].next, k = k || b[h].finish, /* @__PURE__ */ l("div", { className: i(_["stepper-navigator"], D), "data-testid": E, children: [
|
|
54
|
+
j ? /* @__PURE__ */ a("span", {}) : /* @__PURE__ */ l(
|
|
55
|
+
I,
|
|
56
|
+
{
|
|
57
|
+
className: i(_["previous-button"], d == null ? void 0 : d.className),
|
|
58
|
+
"data-testid": d == null ? void 0 : d["data-testid"],
|
|
59
|
+
disabled: A,
|
|
60
|
+
onClick: G,
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ a("span", { children: d == null ? void 0 : d.leftIcon }),
|
|
63
|
+
/* @__PURE__ */ a("span", { children: f }),
|
|
64
|
+
/* @__PURE__ */ a("span", { children: d == null ? void 0 : d.rightIcon })
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ l("span", { children: [
|
|
69
|
+
!z && /* @__PURE__ */ l(
|
|
70
|
+
I,
|
|
71
|
+
{
|
|
72
|
+
className: i(_["cancel-button"], c == null ? void 0 : c.className),
|
|
73
|
+
"data-testid": c == null ? void 0 : c["data-testid"],
|
|
74
|
+
disabled: S,
|
|
75
|
+
onClick: H,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ a("span", { children: c == null ? void 0 : c.leftIcon }),
|
|
78
|
+
/* @__PURE__ */ a("span", { children: g }),
|
|
79
|
+
/* @__PURE__ */ a("span", { children: c == null ? void 0 : c.rightIcon })
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
!C && /* @__PURE__ */ l(
|
|
84
|
+
I,
|
|
85
|
+
{
|
|
86
|
+
className: i(_["next-button"], e == null ? void 0 : e.className),
|
|
87
|
+
"data-testid": e == null ? void 0 : e["data-testid"],
|
|
88
|
+
disabled: y,
|
|
89
|
+
onClick: F,
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ a("span", { children: e == null ? void 0 : e.leftIcon }),
|
|
92
|
+
/* @__PURE__ */ a("span", { children: N }),
|
|
93
|
+
/* @__PURE__ */ a("span", { children: e == null ? void 0 : e.rightIcon })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
!w && /* @__PURE__ */ l(
|
|
98
|
+
I,
|
|
99
|
+
{
|
|
100
|
+
className: i(_["finish-button"], m == null ? void 0 : m.className),
|
|
101
|
+
"data-testid": m == null ? void 0 : m["data-testid"],
|
|
102
|
+
disabled: q,
|
|
103
|
+
onClick: J,
|
|
104
|
+
children: [
|
|
105
|
+
/* @__PURE__ */ a("span", { children: m == null ? void 0 : m.leftIcon }),
|
|
106
|
+
/* @__PURE__ */ a("span", { children: k }),
|
|
107
|
+
/* @__PURE__ */ a("span", { children: m == null ? void 0 : m.rightIcon })
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
)
|
|
52
111
|
] })
|
|
53
112
|
] }));
|
|
54
113
|
export {
|
|
55
|
-
|
|
114
|
+
R as StepperNavigator
|
|
56
115
|
};
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ hideNext, hidePrevious, hideCancel, hideFinish, disableNext, disablePrevious, disableCancel, disableFinish, lang, labelNext, labelPrevious, labelCancel, labelFinish, className, "data-testid": dataTestId, onNext, onPrevious, onCancel, onFinish, }: import('./StepperNavigator').StepperNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: ({ hideNext, hidePrevious, hideCancel, hideFinish, disableNext, disablePrevious, disableCancel, disableFinish, lang, labelNext, labelPrevious, labelCancel, labelFinish, className, "data-testid": dataTestId, previousButtonProps, cancelButtonProps, nextButtonProps, finishButtonProps, onNext, onPrevious, onCancel, onFinish, }: import('./StepperNavigator').StepperNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: string;
|
|
@@ -14,3 +14,5 @@ export declare const Simple: Story;
|
|
|
14
14
|
export declare const WithCustomLanguage: Story;
|
|
15
15
|
export declare const WithCustomLabels: Story;
|
|
16
16
|
export declare const Disabled: Story;
|
|
17
|
+
export declare const WithIcons: Story;
|
|
18
|
+
export declare const DefaultWithNoIcons: Story;
|