@dss-kit/ui-kit 0.0.21 → 0.0.22
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/components/controls/IconButton/IconButton.types.d.ts.map +1 -1
- package/dist/components/shared/Hint/Hint.d.ts +31 -0
- package/dist/components/shared/Hint/Hint.d.ts.map +1 -0
- package/dist/components/shared/Hint/Hint.stories.d.ts +28 -0
- package/dist/components/shared/Hint/Hint.stories.d.ts.map +1 -0
- package/dist/components/shared/Hint/index.d.ts +2 -0
- package/dist/components/shared/Hint/index.d.ts.map +1 -0
- package/dist/components/shared/index.d.ts +1 -0
- package/dist/components/shared/index.d.ts.map +1 -1
- package/dist/components/typography/Text/Text.d.ts.map +1 -1
- package/dist/components/typography/Text/Text.types.d.ts.map +1 -1
- package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts +1 -1
- package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts.map +1 -1
- package/dist/root.css +1 -1
- package/dist/ui-kit.cjs.js +11 -11
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +485 -406
- package/dist/ui-kit.es.js.map +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/styles/getFontWeightClass/getFontWeightClass.d.ts.map +1 -1
- package/dist/utils/styles/index.d.ts +0 -1
- package/dist/utils/styles/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/utils/hooks/index.d.ts +0 -2
- package/dist/utils/hooks/index.d.ts.map +0 -1
- package/dist/utils/hooks/useTheme/index.d.ts +0 -3
- package/dist/utils/hooks/useTheme/index.d.ts.map +0 -1
- package/dist/utils/hooks/useTheme/useTheme.d.ts +0 -6
- package/dist/utils/hooks/useTheme/useTheme.d.ts.map +0 -1
- package/dist/utils/hooks/useTheme/useTheme.types.d.ts +0 -3
- package/dist/utils/hooks/useTheme/useTheme.types.d.ts.map +0 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as C from "react";
|
|
2
|
+
import Ie from "react";
|
|
3
|
+
function wt(a) {
|
|
4
|
+
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
4
5
|
}
|
|
5
|
-
var
|
|
6
|
+
var J = { exports: {} }, L = {};
|
|
6
7
|
/**
|
|
7
8
|
* @license React
|
|
8
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,21 +13,21 @@ var L = { exports: {} }, z = {};
|
|
|
12
13
|
* This source code is licensed under the MIT license found in the
|
|
13
14
|
* LICENSE file in the root directory of this source tree.
|
|
14
15
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
var E,
|
|
22
|
-
|
|
23
|
-
for (E in
|
|
24
|
-
if (
|
|
25
|
-
return { $$typeof: _, type:
|
|
16
|
+
var ze;
|
|
17
|
+
function Et() {
|
|
18
|
+
if (ze) return L;
|
|
19
|
+
ze = 1;
|
|
20
|
+
var a = Ie, _ = Symbol.for("react.element"), f = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function c(d, v, O) {
|
|
22
|
+
var E, T = {}, P = null, N = null;
|
|
23
|
+
O !== void 0 && (P = "" + O), v.key !== void 0 && (P = "" + v.key), v.ref !== void 0 && (N = v.ref);
|
|
24
|
+
for (E in v) g.call(v, E) && !o.hasOwnProperty(E) && (T[E] = v[E]);
|
|
25
|
+
if (d && d.defaultProps) for (E in v = d.defaultProps, v) T[E] === void 0 && (T[E] = v[E]);
|
|
26
|
+
return { $$typeof: _, type: d, key: P, ref: N, props: T, _owner: h.current };
|
|
26
27
|
}
|
|
27
|
-
return
|
|
28
|
+
return L.Fragment = f, L.jsx = c, L.jsxs = c, L;
|
|
28
29
|
}
|
|
29
|
-
var
|
|
30
|
+
var M = {};
|
|
30
31
|
/**
|
|
31
32
|
* @license React
|
|
32
33
|
* react-jsx-runtime.development.js
|
|
@@ -36,57 +37,57 @@ var $ = {};
|
|
|
36
37
|
* This source code is licensed under the MIT license found in the
|
|
37
38
|
* LICENSE file in the root directory of this source tree.
|
|
38
39
|
*/
|
|
39
|
-
var
|
|
40
|
-
function
|
|
41
|
-
return
|
|
42
|
-
var
|
|
43
|
-
function
|
|
40
|
+
var qe;
|
|
41
|
+
function St() {
|
|
42
|
+
return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var a = Ie, _ = Symbol.for("react.element"), f = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), d = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), se = Symbol.iterator, $e = "@@iterator";
|
|
44
|
+
function Le(e) {
|
|
44
45
|
if (e === null || typeof e != "object")
|
|
45
46
|
return null;
|
|
46
|
-
var t =
|
|
47
|
+
var t = se && e[se] || e[$e];
|
|
47
48
|
return typeof t == "function" ? t : null;
|
|
48
49
|
}
|
|
49
|
-
var
|
|
50
|
-
function
|
|
50
|
+
var q = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function b(e) {
|
|
51
52
|
{
|
|
52
53
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
53
54
|
r[n - 1] = arguments[n];
|
|
54
|
-
|
|
55
|
+
Me("error", e, r);
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function Me(e, t, r) {
|
|
58
59
|
{
|
|
59
|
-
var n =
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
return String(
|
|
60
|
+
var n = q.ReactDebugCurrentFrame, u = n.getStackAddendum();
|
|
61
|
+
u !== "" && (t += "%s", r = r.concat([u]));
|
|
62
|
+
var l = r.map(function(s) {
|
|
63
|
+
return String(s);
|
|
63
64
|
});
|
|
64
|
-
|
|
65
|
+
l.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, l);
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
function
|
|
70
|
-
return !!(typeof e == "string" || typeof e == "function" || e === g || e ===
|
|
68
|
+
var Ne = !1, Ve = !1, Ye = !1, Ue = !1, Be = !1, ue;
|
|
69
|
+
ue = Symbol.for("react.module.reference");
|
|
70
|
+
function Je(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === g || e === o || Be || e === h || e === O || e === E || Ue || e === N || Ne || Ve || Ye || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === T || e.$$typeof === c || e.$$typeof === d || e.$$typeof === v || // This needs to include all possible module reference object
|
|
71
72
|
// types supported by any Flight configuration anywhere since
|
|
72
73
|
// we don't know which Flight build this will end up being used
|
|
73
74
|
// with.
|
|
74
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === ue || e.getModuleId !== void 0));
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function Ge(e, t, r) {
|
|
77
78
|
var n = e.displayName;
|
|
78
79
|
if (n)
|
|
79
80
|
return n;
|
|
80
|
-
var
|
|
81
|
-
return
|
|
81
|
+
var u = t.displayName || t.name || "";
|
|
82
|
+
return u !== "" ? r + "(" + u + ")" : r;
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function ce(e) {
|
|
84
85
|
return e.displayName || "Context";
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function j(e) {
|
|
87
88
|
if (e == null)
|
|
88
89
|
return null;
|
|
89
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
90
91
|
return e.displayName || e.name || null;
|
|
91
92
|
if (typeof e == "string")
|
|
92
93
|
return e;
|
|
@@ -95,32 +96,32 @@ function xt() {
|
|
|
95
96
|
return "Fragment";
|
|
96
97
|
case f:
|
|
97
98
|
return "Portal";
|
|
98
|
-
case
|
|
99
|
+
case o:
|
|
99
100
|
return "Profiler";
|
|
100
|
-
case
|
|
101
|
+
case h:
|
|
101
102
|
return "StrictMode";
|
|
102
|
-
case
|
|
103
|
+
case O:
|
|
103
104
|
return "Suspense";
|
|
104
105
|
case E:
|
|
105
106
|
return "SuspenseList";
|
|
106
107
|
}
|
|
107
108
|
if (typeof e == "object")
|
|
108
109
|
switch (e.$$typeof) {
|
|
109
|
-
case
|
|
110
|
+
case d:
|
|
110
111
|
var t = e;
|
|
111
|
-
return
|
|
112
|
-
case
|
|
112
|
+
return ce(t) + ".Consumer";
|
|
113
|
+
case c:
|
|
113
114
|
var r = e;
|
|
114
|
-
return
|
|
115
|
-
case
|
|
116
|
-
return
|
|
117
|
-
case
|
|
115
|
+
return ce(r._context) + ".Provider";
|
|
116
|
+
case v:
|
|
117
|
+
return Ge(e, e.render, "ForwardRef");
|
|
118
|
+
case T:
|
|
118
119
|
var n = e.displayName || null;
|
|
119
|
-
return n !== null ? n :
|
|
120
|
-
case
|
|
121
|
-
var
|
|
120
|
+
return n !== null ? n : j(e.type) || "Memo";
|
|
121
|
+
case P: {
|
|
122
|
+
var u = e, l = u._payload, s = u._init;
|
|
122
123
|
try {
|
|
123
|
-
return
|
|
124
|
+
return j(s(l));
|
|
124
125
|
} catch {
|
|
125
126
|
return null;
|
|
126
127
|
}
|
|
@@ -128,18 +129,18 @@ function xt() {
|
|
|
128
129
|
}
|
|
129
130
|
return null;
|
|
130
131
|
}
|
|
131
|
-
var
|
|
132
|
-
function
|
|
132
|
+
var W = Object.assign, I = 0, le, fe, _e, de, ve, pe, me;
|
|
133
|
+
function ge() {
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
-
function
|
|
135
|
+
ge.__reactDisabledLog = !0;
|
|
136
|
+
function Ke() {
|
|
136
137
|
{
|
|
137
|
-
if (
|
|
138
|
-
|
|
138
|
+
if (I === 0) {
|
|
139
|
+
le = console.log, fe = console.info, _e = console.warn, de = console.error, ve = console.group, pe = console.groupCollapsed, me = console.groupEnd;
|
|
139
140
|
var e = {
|
|
140
141
|
configurable: !0,
|
|
141
142
|
enumerable: !0,
|
|
142
|
-
value:
|
|
143
|
+
value: ge,
|
|
143
144
|
writable: !0
|
|
144
145
|
};
|
|
145
146
|
Object.defineProperties(console, {
|
|
@@ -152,250 +153,250 @@ function xt() {
|
|
|
152
153
|
groupEnd: e
|
|
153
154
|
});
|
|
154
155
|
}
|
|
155
|
-
|
|
156
|
+
I++;
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
|
-
function
|
|
159
|
+
function Xe() {
|
|
159
160
|
{
|
|
160
|
-
if (
|
|
161
|
+
if (I--, I === 0) {
|
|
161
162
|
var e = {
|
|
162
163
|
configurable: !0,
|
|
163
164
|
enumerable: !0,
|
|
164
165
|
writable: !0
|
|
165
166
|
};
|
|
166
167
|
Object.defineProperties(console, {
|
|
167
|
-
log:
|
|
168
|
-
value: se
|
|
169
|
-
}),
|
|
170
|
-
info: O({}, e, {
|
|
171
|
-
value: ue
|
|
172
|
-
}),
|
|
173
|
-
warn: O({}, e, {
|
|
174
|
-
value: ce
|
|
175
|
-
}),
|
|
176
|
-
error: O({}, e, {
|
|
168
|
+
log: W({}, e, {
|
|
177
169
|
value: le
|
|
178
170
|
}),
|
|
179
|
-
|
|
171
|
+
info: W({}, e, {
|
|
180
172
|
value: fe
|
|
181
173
|
}),
|
|
182
|
-
|
|
174
|
+
warn: W({}, e, {
|
|
183
175
|
value: _e
|
|
184
176
|
}),
|
|
185
|
-
|
|
177
|
+
error: W({}, e, {
|
|
186
178
|
value: de
|
|
179
|
+
}),
|
|
180
|
+
group: W({}, e, {
|
|
181
|
+
value: ve
|
|
182
|
+
}),
|
|
183
|
+
groupCollapsed: W({}, e, {
|
|
184
|
+
value: pe
|
|
185
|
+
}),
|
|
186
|
+
groupEnd: W({}, e, {
|
|
187
|
+
value: me
|
|
187
188
|
})
|
|
188
189
|
});
|
|
189
190
|
}
|
|
190
|
-
|
|
191
|
+
I < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
|
-
var
|
|
194
|
-
function
|
|
194
|
+
var X = q.ReactCurrentDispatcher, H;
|
|
195
|
+
function V(e, t, r) {
|
|
195
196
|
{
|
|
196
|
-
if (
|
|
197
|
+
if (H === void 0)
|
|
197
198
|
try {
|
|
198
199
|
throw Error();
|
|
199
|
-
} catch (
|
|
200
|
-
var n =
|
|
201
|
-
|
|
200
|
+
} catch (u) {
|
|
201
|
+
var n = u.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
H = n && n[1] || "";
|
|
202
203
|
}
|
|
203
204
|
return `
|
|
204
|
-
` +
|
|
205
|
+
` + H + e;
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
|
-
var
|
|
208
|
+
var Z = !1, Y;
|
|
208
209
|
{
|
|
209
|
-
var
|
|
210
|
-
|
|
210
|
+
var He = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
Y = new He();
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
-
if (!e ||
|
|
213
|
+
function he(e, t) {
|
|
214
|
+
if (!e || Z)
|
|
214
215
|
return "";
|
|
215
216
|
{
|
|
216
|
-
var r =
|
|
217
|
+
var r = Y.get(e);
|
|
217
218
|
if (r !== void 0)
|
|
218
219
|
return r;
|
|
219
220
|
}
|
|
220
221
|
var n;
|
|
221
|
-
|
|
222
|
-
var
|
|
222
|
+
Z = !0;
|
|
223
|
+
var u = Error.prepareStackTrace;
|
|
223
224
|
Error.prepareStackTrace = void 0;
|
|
224
|
-
var
|
|
225
|
-
|
|
225
|
+
var l;
|
|
226
|
+
l = X.current, X.current = null, Ke();
|
|
226
227
|
try {
|
|
227
228
|
if (t) {
|
|
228
|
-
var
|
|
229
|
+
var s = function() {
|
|
229
230
|
throw Error();
|
|
230
231
|
};
|
|
231
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(s.prototype, "props", {
|
|
232
233
|
set: function() {
|
|
233
234
|
throw Error();
|
|
234
235
|
}
|
|
235
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
236
237
|
try {
|
|
237
|
-
Reflect.construct(
|
|
238
|
-
} catch (
|
|
239
|
-
n =
|
|
238
|
+
Reflect.construct(s, []);
|
|
239
|
+
} catch (x) {
|
|
240
|
+
n = x;
|
|
240
241
|
}
|
|
241
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], s);
|
|
242
243
|
} else {
|
|
243
244
|
try {
|
|
244
|
-
|
|
245
|
-
} catch (
|
|
246
|
-
n =
|
|
245
|
+
s.call();
|
|
246
|
+
} catch (x) {
|
|
247
|
+
n = x;
|
|
247
248
|
}
|
|
248
|
-
e.call(
|
|
249
|
+
e.call(s.prototype);
|
|
249
250
|
}
|
|
250
251
|
} else {
|
|
251
252
|
try {
|
|
252
253
|
throw Error();
|
|
253
|
-
} catch (
|
|
254
|
-
n =
|
|
254
|
+
} catch (x) {
|
|
255
|
+
n = x;
|
|
255
256
|
}
|
|
256
257
|
e();
|
|
257
258
|
}
|
|
258
|
-
} catch (
|
|
259
|
-
if (
|
|
260
|
-
for (var
|
|
261
|
-
`),
|
|
262
|
-
`),
|
|
263
|
-
|
|
264
|
-
for (;
|
|
265
|
-
if (
|
|
266
|
-
if (
|
|
259
|
+
} catch (x) {
|
|
260
|
+
if (x && n && typeof x.stack == "string") {
|
|
261
|
+
for (var i = x.stack.split(`
|
|
262
|
+
`), y = n.stack.split(`
|
|
263
|
+
`), p = i.length - 1, m = y.length - 1; p >= 1 && m >= 0 && i[p] !== y[m]; )
|
|
264
|
+
m--;
|
|
265
|
+
for (; p >= 1 && m >= 0; p--, m--)
|
|
266
|
+
if (i[p] !== y[m]) {
|
|
267
|
+
if (p !== 1 || m !== 1)
|
|
267
268
|
do
|
|
268
|
-
if (
|
|
269
|
-
var
|
|
270
|
-
` +
|
|
271
|
-
return e.displayName &&
|
|
269
|
+
if (p--, m--, m < 0 || i[p] !== y[m]) {
|
|
270
|
+
var S = `
|
|
271
|
+
` + i[p].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, S), S;
|
|
272
273
|
}
|
|
273
|
-
while (
|
|
274
|
+
while (p >= 1 && m >= 0);
|
|
274
275
|
break;
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
278
|
} finally {
|
|
278
|
-
|
|
279
|
+
Z = !1, X.current = l, Xe(), Error.prepareStackTrace = u;
|
|
279
280
|
}
|
|
280
|
-
var
|
|
281
|
-
return typeof e == "function" &&
|
|
281
|
+
var D = e ? e.displayName || e.name : "", z = D ? V(D) : "";
|
|
282
|
+
return typeof e == "function" && Y.set(e, z), z;
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
-
return
|
|
284
|
+
function Ze(e, t, r) {
|
|
285
|
+
return he(e, !1);
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function Qe(e) {
|
|
287
288
|
var t = e.prototype;
|
|
288
289
|
return !!(t && t.isReactComponent);
|
|
289
290
|
}
|
|
290
|
-
function
|
|
291
|
+
function U(e, t, r) {
|
|
291
292
|
if (e == null)
|
|
292
293
|
return "";
|
|
293
294
|
if (typeof e == "function")
|
|
294
|
-
return
|
|
295
|
+
return he(e, Qe(e));
|
|
295
296
|
if (typeof e == "string")
|
|
296
|
-
return
|
|
297
|
+
return V(e);
|
|
297
298
|
switch (e) {
|
|
298
|
-
case
|
|
299
|
-
return
|
|
299
|
+
case O:
|
|
300
|
+
return V("Suspense");
|
|
300
301
|
case E:
|
|
301
|
-
return
|
|
302
|
+
return V("SuspenseList");
|
|
302
303
|
}
|
|
303
304
|
if (typeof e == "object")
|
|
304
305
|
switch (e.$$typeof) {
|
|
305
|
-
case
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
var n = e,
|
|
306
|
+
case v:
|
|
307
|
+
return Ze(e.render);
|
|
308
|
+
case T:
|
|
309
|
+
return U(e.type, t, r);
|
|
310
|
+
case P: {
|
|
311
|
+
var n = e, u = n._payload, l = n._init;
|
|
311
312
|
try {
|
|
312
|
-
return
|
|
313
|
+
return U(l(u), t, r);
|
|
313
314
|
} catch {
|
|
314
315
|
}
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
return "";
|
|
318
319
|
}
|
|
319
|
-
var
|
|
320
|
-
function
|
|
320
|
+
var $ = Object.prototype.hasOwnProperty, be = {}, ye = q.ReactDebugCurrentFrame;
|
|
321
|
+
function B(e) {
|
|
321
322
|
if (e) {
|
|
322
|
-
var t = e._owner, r =
|
|
323
|
-
|
|
323
|
+
var t = e._owner, r = U(e.type, e._source, t ? t.type : null);
|
|
324
|
+
ye.setExtraStackFrame(r);
|
|
324
325
|
} else
|
|
325
|
-
|
|
326
|
+
ye.setExtraStackFrame(null);
|
|
326
327
|
}
|
|
327
|
-
function
|
|
328
|
+
function et(e, t, r, n, u) {
|
|
328
329
|
{
|
|
329
|
-
var
|
|
330
|
-
for (var
|
|
331
|
-
if (
|
|
332
|
-
var
|
|
330
|
+
var l = Function.call.bind($);
|
|
331
|
+
for (var s in e)
|
|
332
|
+
if (l(e, s)) {
|
|
333
|
+
var i = void 0;
|
|
333
334
|
try {
|
|
334
|
-
if (typeof e[
|
|
335
|
-
var
|
|
336
|
-
throw
|
|
335
|
+
if (typeof e[s] != "function") {
|
|
336
|
+
var y = Error((n || "React class") + ": " + r + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw y.name = "Invariant Violation", y;
|
|
337
338
|
}
|
|
338
|
-
|
|
339
|
-
} catch (
|
|
340
|
-
|
|
339
|
+
i = e[s](t, s, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (p) {
|
|
341
|
+
i = p;
|
|
341
342
|
}
|
|
342
|
-
|
|
343
|
+
i && !(i instanceof Error) && (B(u), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, s, typeof i), B(null)), i instanceof Error && !(i.message in be) && (be[i.message] = !0, B(u), b("Failed %s type: %s", r, i.message), B(null));
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
|
-
var
|
|
347
|
-
function
|
|
348
|
-
return
|
|
347
|
+
var tt = Array.isArray;
|
|
348
|
+
function Q(e) {
|
|
349
|
+
return tt(e);
|
|
349
350
|
}
|
|
350
|
-
function
|
|
351
|
+
function rt(e) {
|
|
351
352
|
{
|
|
352
353
|
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
353
354
|
return r;
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
|
-
function
|
|
357
|
+
function nt(e) {
|
|
357
358
|
try {
|
|
358
|
-
return
|
|
359
|
+
return xe(e), !1;
|
|
359
360
|
} catch {
|
|
360
361
|
return !0;
|
|
361
362
|
}
|
|
362
363
|
}
|
|
363
|
-
function
|
|
364
|
+
function xe(e) {
|
|
364
365
|
return "" + e;
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
-
if (
|
|
368
|
-
return
|
|
367
|
+
function we(e) {
|
|
368
|
+
if (nt(e))
|
|
369
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rt(e)), xe(e);
|
|
369
370
|
}
|
|
370
|
-
var
|
|
371
|
+
var Ee = q.ReactCurrentOwner, at = {
|
|
371
372
|
key: !0,
|
|
372
373
|
ref: !0,
|
|
373
374
|
__self: !0,
|
|
374
375
|
__source: !0
|
|
375
|
-
},
|
|
376
|
-
function
|
|
377
|
-
if (
|
|
376
|
+
}, Se, Re;
|
|
377
|
+
function it(e) {
|
|
378
|
+
if ($.call(e, "ref")) {
|
|
378
379
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
379
380
|
if (t && t.isReactWarning)
|
|
380
381
|
return !1;
|
|
381
382
|
}
|
|
382
383
|
return e.ref !== void 0;
|
|
383
384
|
}
|
|
384
|
-
function
|
|
385
|
-
if (
|
|
385
|
+
function ot(e) {
|
|
386
|
+
if ($.call(e, "key")) {
|
|
386
387
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
387
388
|
if (t && t.isReactWarning)
|
|
388
389
|
return !1;
|
|
389
390
|
}
|
|
390
391
|
return e.key !== void 0;
|
|
391
392
|
}
|
|
392
|
-
function
|
|
393
|
-
typeof e.ref == "string" &&
|
|
393
|
+
function st(e, t) {
|
|
394
|
+
typeof e.ref == "string" && Ee.current;
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
+
function ut(e, t) {
|
|
396
397
|
{
|
|
397
398
|
var r = function() {
|
|
398
|
-
|
|
399
|
+
Se || (Se = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
399
400
|
};
|
|
400
401
|
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
401
402
|
get: r,
|
|
@@ -403,10 +404,10 @@ function xt() {
|
|
|
403
404
|
});
|
|
404
405
|
}
|
|
405
406
|
}
|
|
406
|
-
function
|
|
407
|
+
function ct(e, t) {
|
|
407
408
|
{
|
|
408
409
|
var r = function() {
|
|
409
|
-
|
|
410
|
+
Re || (Re = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
410
411
|
};
|
|
411
412
|
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
412
413
|
get: r,
|
|
@@ -414,70 +415,70 @@ function xt() {
|
|
|
414
415
|
});
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
|
-
var
|
|
418
|
-
var
|
|
418
|
+
var lt = function(e, t, r, n, u, l, s) {
|
|
419
|
+
var i = {
|
|
419
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
420
421
|
$$typeof: _,
|
|
421
422
|
// Built-in properties that belong on the element
|
|
422
423
|
type: e,
|
|
423
424
|
key: t,
|
|
424
425
|
ref: r,
|
|
425
|
-
props:
|
|
426
|
+
props: s,
|
|
426
427
|
// Record the component responsible for creating this element.
|
|
427
|
-
_owner:
|
|
428
|
+
_owner: l
|
|
428
429
|
};
|
|
429
|
-
return
|
|
430
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
430
431
|
configurable: !1,
|
|
431
432
|
enumerable: !1,
|
|
432
433
|
writable: !0,
|
|
433
434
|
value: !1
|
|
434
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(i, "_self", {
|
|
435
436
|
configurable: !1,
|
|
436
437
|
enumerable: !1,
|
|
437
438
|
writable: !1,
|
|
438
439
|
value: n
|
|
439
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(i, "_source", {
|
|
440
441
|
configurable: !1,
|
|
441
442
|
enumerable: !1,
|
|
442
443
|
writable: !1,
|
|
443
|
-
value:
|
|
444
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
value: u
|
|
445
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
445
446
|
};
|
|
446
|
-
function
|
|
447
|
+
function ft(e, t, r, n, u) {
|
|
447
448
|
{
|
|
448
|
-
var
|
|
449
|
-
r !== void 0 && (
|
|
450
|
-
for (
|
|
451
|
-
|
|
449
|
+
var l, s = {}, i = null, y = null;
|
|
450
|
+
r !== void 0 && (we(r), i = "" + r), ot(t) && (we(t.key), i = "" + t.key), it(t) && (y = t.ref, st(t, u));
|
|
451
|
+
for (l in t)
|
|
452
|
+
$.call(t, l) && !at.hasOwnProperty(l) && (s[l] = t[l]);
|
|
452
453
|
if (e && e.defaultProps) {
|
|
453
|
-
var
|
|
454
|
-
for (
|
|
455
|
-
|
|
454
|
+
var p = e.defaultProps;
|
|
455
|
+
for (l in p)
|
|
456
|
+
s[l] === void 0 && (s[l] = p[l]);
|
|
456
457
|
}
|
|
457
|
-
if (
|
|
458
|
-
var
|
|
459
|
-
|
|
458
|
+
if (i || y) {
|
|
459
|
+
var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
+
i && ut(s, m), y && ct(s, m);
|
|
460
461
|
}
|
|
461
|
-
return
|
|
462
|
+
return lt(e, i, y, u, n, Ee.current, s);
|
|
462
463
|
}
|
|
463
464
|
}
|
|
464
|
-
var
|
|
465
|
-
function
|
|
465
|
+
var ee = q.ReactCurrentOwner, Ce = q.ReactDebugCurrentFrame;
|
|
466
|
+
function A(e) {
|
|
466
467
|
if (e) {
|
|
467
|
-
var t = e._owner, r =
|
|
468
|
-
|
|
468
|
+
var t = e._owner, r = U(e.type, e._source, t ? t.type : null);
|
|
469
|
+
Ce.setExtraStackFrame(r);
|
|
469
470
|
} else
|
|
470
|
-
|
|
471
|
+
Ce.setExtraStackFrame(null);
|
|
471
472
|
}
|
|
472
|
-
var
|
|
473
|
-
|
|
474
|
-
function
|
|
473
|
+
var te;
|
|
474
|
+
te = !1;
|
|
475
|
+
function re(e) {
|
|
475
476
|
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
476
477
|
}
|
|
477
|
-
function
|
|
478
|
+
function Oe() {
|
|
478
479
|
{
|
|
479
|
-
if (
|
|
480
|
-
var e =
|
|
480
|
+
if (ee.current) {
|
|
481
|
+
var e = j(ee.current.type);
|
|
481
482
|
if (e)
|
|
482
483
|
return `
|
|
483
484
|
|
|
@@ -486,13 +487,13 @@ Check the render method of \`` + e + "`.";
|
|
|
486
487
|
return "";
|
|
487
488
|
}
|
|
488
489
|
}
|
|
489
|
-
function
|
|
490
|
+
function _t(e) {
|
|
490
491
|
return "";
|
|
491
492
|
}
|
|
492
|
-
var
|
|
493
|
-
function
|
|
493
|
+
var Te = {};
|
|
494
|
+
function dt(e) {
|
|
494
495
|
{
|
|
495
|
-
var t =
|
|
496
|
+
var t = Oe();
|
|
496
497
|
if (!t) {
|
|
497
498
|
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
498
499
|
r && (t = `
|
|
@@ -502,39 +503,39 @@ Check the top-level render call using <` + r + ">.");
|
|
|
502
503
|
return t;
|
|
503
504
|
}
|
|
504
505
|
}
|
|
505
|
-
function
|
|
506
|
+
function je(e, t) {
|
|
506
507
|
{
|
|
507
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
508
509
|
return;
|
|
509
510
|
e._store.validated = !0;
|
|
510
|
-
var r =
|
|
511
|
-
if (
|
|
511
|
+
var r = dt(t);
|
|
512
|
+
if (Te[r])
|
|
512
513
|
return;
|
|
513
|
-
|
|
514
|
+
Te[r] = !0;
|
|
514
515
|
var n = "";
|
|
515
|
-
e && e._owner && e._owner !==
|
|
516
|
+
e && e._owner && e._owner !== ee.current && (n = " It was passed a child from " + j(e._owner.type) + "."), A(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), A(null);
|
|
516
517
|
}
|
|
517
518
|
}
|
|
518
|
-
function
|
|
519
|
+
function ke(e, t) {
|
|
519
520
|
{
|
|
520
521
|
if (typeof e != "object")
|
|
521
522
|
return;
|
|
522
|
-
if (
|
|
523
|
+
if (Q(e))
|
|
523
524
|
for (var r = 0; r < e.length; r++) {
|
|
524
525
|
var n = e[r];
|
|
525
|
-
|
|
526
|
+
re(n) && je(n, t);
|
|
526
527
|
}
|
|
527
|
-
else if (
|
|
528
|
+
else if (re(e))
|
|
528
529
|
e._store && (e._store.validated = !0);
|
|
529
530
|
else if (e) {
|
|
530
|
-
var
|
|
531
|
-
if (typeof
|
|
532
|
-
for (var
|
|
533
|
-
|
|
531
|
+
var u = Le(e);
|
|
532
|
+
if (typeof u == "function" && u !== e.entries)
|
|
533
|
+
for (var l = u.call(e), s; !(s = l.next()).done; )
|
|
534
|
+
re(s.value) && je(s.value, t);
|
|
534
535
|
}
|
|
535
536
|
}
|
|
536
537
|
}
|
|
537
|
-
function
|
|
538
|
+
function vt(e) {
|
|
538
539
|
{
|
|
539
540
|
var t = e.type;
|
|
540
541
|
if (t == null || typeof t == "string")
|
|
@@ -542,279 +543,357 @@ Check the top-level render call using <` + r + ">.");
|
|
|
542
543
|
var r;
|
|
543
544
|
if (typeof t == "function")
|
|
544
545
|
r = t.propTypes;
|
|
545
|
-
else if (typeof t == "object" && (t.$$typeof ===
|
|
546
|
+
else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
|
|
546
547
|
// Inner props are checked in the reconciler.
|
|
547
|
-
t.$$typeof ===
|
|
548
|
+
t.$$typeof === T))
|
|
548
549
|
r = t.propTypes;
|
|
549
550
|
else
|
|
550
551
|
return;
|
|
551
552
|
if (r) {
|
|
552
|
-
var n =
|
|
553
|
-
|
|
554
|
-
} else if (t.PropTypes !== void 0 && !
|
|
555
|
-
|
|
556
|
-
var
|
|
557
|
-
|
|
553
|
+
var n = j(t);
|
|
554
|
+
et(r, e.props, "prop", n, e);
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !te) {
|
|
556
|
+
te = !0;
|
|
557
|
+
var u = j(t);
|
|
558
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
|
|
558
559
|
}
|
|
559
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
560
561
|
}
|
|
561
562
|
}
|
|
562
|
-
function
|
|
563
|
+
function pt(e) {
|
|
563
564
|
{
|
|
564
565
|
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
565
566
|
var n = t[r];
|
|
566
567
|
if (n !== "children" && n !== "key") {
|
|
567
|
-
|
|
568
|
+
A(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
|
|
568
569
|
break;
|
|
569
570
|
}
|
|
570
571
|
}
|
|
571
|
-
e.ref !== null && (
|
|
572
|
+
e.ref !== null && (A(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
572
573
|
}
|
|
573
574
|
}
|
|
574
|
-
var
|
|
575
|
-
function
|
|
575
|
+
var Pe = {};
|
|
576
|
+
function We(e, t, r, n, u, l) {
|
|
576
577
|
{
|
|
577
|
-
var
|
|
578
|
-
if (!
|
|
579
|
-
var
|
|
580
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
581
|
-
var
|
|
582
|
-
|
|
583
|
-
var
|
|
584
|
-
e === null ?
|
|
578
|
+
var s = Je(e);
|
|
579
|
+
if (!s) {
|
|
580
|
+
var i = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var y = _t();
|
|
583
|
+
y ? i += y : i += Oe();
|
|
584
|
+
var p;
|
|
585
|
+
e === null ? p = "null" : Q(e) ? p = "array" : e !== void 0 && e.$$typeof === _ ? (p = "<" + (j(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : p = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, i);
|
|
585
586
|
}
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
588
|
-
return
|
|
589
|
-
if (
|
|
590
|
-
var
|
|
591
|
-
if (
|
|
587
|
+
var m = ft(e, t, r, u, l);
|
|
588
|
+
if (m == null)
|
|
589
|
+
return m;
|
|
590
|
+
if (s) {
|
|
591
|
+
var S = t.children;
|
|
592
|
+
if (S !== void 0)
|
|
592
593
|
if (n)
|
|
593
|
-
if (
|
|
594
|
-
for (var
|
|
595
|
-
|
|
596
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (Q(S)) {
|
|
595
|
+
for (var D = 0; D < S.length; D++)
|
|
596
|
+
ke(S[D], e);
|
|
597
|
+
Object.freeze && Object.freeze(S);
|
|
597
598
|
} else
|
|
598
|
-
|
|
599
|
+
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
599
600
|
else
|
|
600
|
-
|
|
601
|
+
ke(S, e);
|
|
601
602
|
}
|
|
602
|
-
if (
|
|
603
|
-
var
|
|
604
|
-
return
|
|
605
|
-
}),
|
|
606
|
-
if (!
|
|
607
|
-
var
|
|
608
|
-
|
|
603
|
+
if ($.call(t, "key")) {
|
|
604
|
+
var z = j(e), x = Object.keys(t).filter(function(xt) {
|
|
605
|
+
return xt !== "key";
|
|
606
|
+
}), ne = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
+
if (!Pe[z + ne]) {
|
|
608
|
+
var yt = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
b(`A props object containing a "key" prop is being spread into JSX:
|
|
609
610
|
let props = %s;
|
|
610
611
|
<%s {...props} />
|
|
611
612
|
React keys must be passed directly to JSX without using spread:
|
|
612
613
|
let props = %s;
|
|
613
|
-
<%s key={someKey} {...props} />`,
|
|
614
|
+
<%s key={someKey} {...props} />`, ne, z, yt, z), Pe[z + ne] = !0;
|
|
614
615
|
}
|
|
615
616
|
}
|
|
616
|
-
return e === g ?
|
|
617
|
+
return e === g ? pt(m) : vt(m), m;
|
|
617
618
|
}
|
|
618
619
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
620
|
+
function mt(e, t, r) {
|
|
621
|
+
return We(e, t, r, !0);
|
|
621
622
|
}
|
|
622
|
-
function
|
|
623
|
-
return
|
|
623
|
+
function gt(e, t, r) {
|
|
624
|
+
return We(e, t, r, !1);
|
|
624
625
|
}
|
|
625
|
-
var
|
|
626
|
-
|
|
627
|
-
}()),
|
|
626
|
+
var ht = gt, bt = mt;
|
|
627
|
+
M.Fragment = g, M.jsx = ht, M.jsxs = bt;
|
|
628
|
+
}()), M;
|
|
628
629
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
631
|
-
return
|
|
630
|
+
var Ae;
|
|
631
|
+
function Rt() {
|
|
632
|
+
return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? J.exports = Et() : J.exports = St()), J.exports;
|
|
632
633
|
}
|
|
633
|
-
var
|
|
634
|
+
var w = Rt(), ae = { exports: {} };
|
|
634
635
|
/*!
|
|
635
636
|
Copyright (c) 2018 Jed Watson.
|
|
636
637
|
Licensed under the MIT License (MIT), see
|
|
637
638
|
http://jedwatson.github.io/classnames
|
|
638
639
|
*/
|
|
639
640
|
var De;
|
|
640
|
-
function
|
|
641
|
-
return De || (De = 1, function(
|
|
641
|
+
function Ct() {
|
|
642
|
+
return De || (De = 1, function(a) {
|
|
642
643
|
(function() {
|
|
643
644
|
var _ = {}.hasOwnProperty;
|
|
644
645
|
function f() {
|
|
645
|
-
for (var
|
|
646
|
-
var
|
|
647
|
-
|
|
646
|
+
for (var o = "", c = 0; c < arguments.length; c++) {
|
|
647
|
+
var d = arguments[c];
|
|
648
|
+
d && (o = h(o, g(d)));
|
|
648
649
|
}
|
|
649
|
-
return
|
|
650
|
+
return o;
|
|
650
651
|
}
|
|
651
|
-
function g(
|
|
652
|
-
if (typeof
|
|
653
|
-
return
|
|
654
|
-
if (typeof
|
|
652
|
+
function g(o) {
|
|
653
|
+
if (typeof o == "string" || typeof o == "number")
|
|
654
|
+
return o;
|
|
655
|
+
if (typeof o != "object")
|
|
655
656
|
return "";
|
|
656
|
-
if (Array.isArray(
|
|
657
|
-
return f.apply(null,
|
|
658
|
-
if (
|
|
659
|
-
return
|
|
660
|
-
var
|
|
661
|
-
for (var
|
|
662
|
-
_.call(
|
|
663
|
-
return
|
|
657
|
+
if (Array.isArray(o))
|
|
658
|
+
return f.apply(null, o);
|
|
659
|
+
if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
|
|
660
|
+
return o.toString();
|
|
661
|
+
var c = "";
|
|
662
|
+
for (var d in o)
|
|
663
|
+
_.call(o, d) && o[d] && (c = h(c, d));
|
|
664
|
+
return c;
|
|
664
665
|
}
|
|
665
|
-
function
|
|
666
|
-
return
|
|
666
|
+
function h(o, c) {
|
|
667
|
+
return c ? o ? o + " " + c : o + c : o;
|
|
667
668
|
}
|
|
668
|
-
|
|
669
|
+
a.exports ? (f.default = f, a.exports = f) : window.classNames = f;
|
|
669
670
|
})();
|
|
670
|
-
}(
|
|
671
|
+
}(ae)), ae.exports;
|
|
671
672
|
}
|
|
672
|
-
var
|
|
673
|
-
const
|
|
674
|
-
function
|
|
673
|
+
var Ot = Ct();
|
|
674
|
+
const k = /* @__PURE__ */ wt(Ot);
|
|
675
|
+
function F(a, _, f, g = "") {
|
|
675
676
|
if (f)
|
|
676
|
-
return
|
|
677
|
+
return a[`${_}_${f}${g}`];
|
|
677
678
|
}
|
|
678
|
-
function
|
|
679
|
-
return
|
|
679
|
+
function K(a, _, f) {
|
|
680
|
+
return F(a, _, f, "Size");
|
|
680
681
|
}
|
|
681
|
-
|
|
682
|
-
return D(c, _, f, "Size");
|
|
683
|
-
}
|
|
684
|
-
const Tt = "_button_qsd3z_1", Ot = "_button_primary_qsd3z_10", Ct = "_button_secondary_qsd3z_13", Pt = "_button_negative_qsd3z_16", jt = "_button_positive_qsd3z_19", kt = "_button_warning_qsd3z_22", Wt = "_button_neutral_qsd3z_25", Dt = "_button_mdSize_qsd3z_85", Ft = "_button_smSize_qsd3z_95", At = "_button_xsSize_qsd3z_105", re = {
|
|
682
|
+
const Tt = "_button_qsd3z_1", jt = "_button_primary_qsd3z_10", kt = "_button_secondary_qsd3z_13", Pt = "_button_negative_qsd3z_16", Wt = "_button_positive_qsd3z_19", zt = "_button_warning_qsd3z_22", qt = "_button_neutral_qsd3z_25", At = "_button_mdSize_qsd3z_85", Dt = "_button_smSize_qsd3z_95", Ft = "_button_xsSize_qsd3z_105", ie = {
|
|
685
683
|
button: Tt,
|
|
686
|
-
button_primary:
|
|
687
|
-
button_secondary:
|
|
684
|
+
button_primary: jt,
|
|
685
|
+
button_secondary: kt,
|
|
688
686
|
button_negative: Pt,
|
|
689
|
-
button_positive:
|
|
690
|
-
button_warning:
|
|
691
|
-
button_neutral:
|
|
692
|
-
button_mdSize:
|
|
693
|
-
button_smSize:
|
|
694
|
-
button_xsSize:
|
|
687
|
+
button_positive: Wt,
|
|
688
|
+
button_warning: zt,
|
|
689
|
+
button_neutral: qt,
|
|
690
|
+
button_mdSize: At,
|
|
691
|
+
button_smSize: Dt,
|
|
692
|
+
button_xsSize: Ft
|
|
695
693
|
};
|
|
696
|
-
function
|
|
697
|
-
attr:
|
|
694
|
+
function $r({
|
|
695
|
+
attr: a,
|
|
698
696
|
children: _,
|
|
699
697
|
className: f,
|
|
700
698
|
type: g = "button",
|
|
701
|
-
color:
|
|
702
|
-
size:
|
|
703
|
-
...
|
|
699
|
+
color: h = "primary",
|
|
700
|
+
size: o = "md",
|
|
701
|
+
...c
|
|
704
702
|
}) {
|
|
705
|
-
const
|
|
706
|
-
return /* @__PURE__ */
|
|
703
|
+
const d = "button";
|
|
704
|
+
return /* @__PURE__ */ w.jsx(
|
|
707
705
|
"button",
|
|
708
706
|
{
|
|
707
|
+
...a,
|
|
709
708
|
...c,
|
|
710
|
-
...l,
|
|
711
709
|
type: g,
|
|
712
|
-
className:
|
|
713
|
-
|
|
710
|
+
className: k(
|
|
711
|
+
ie[d],
|
|
714
712
|
f,
|
|
715
|
-
|
|
716
|
-
|
|
713
|
+
K(ie, d, o),
|
|
714
|
+
F(ie, d, h)
|
|
717
715
|
),
|
|
718
716
|
children: _
|
|
719
717
|
}
|
|
720
718
|
);
|
|
721
719
|
}
|
|
722
|
-
const
|
|
723
|
-
avatar:
|
|
720
|
+
const It = "_avatar_1wk2b_1", $t = "_avatar_primary_1wk2b_15", Lt = "_avatar_secondary_1wk2b_18", Mt = "_avatar_negative_1wk2b_21", Nt = "_avatar_positive_1wk2b_24", Vt = "_avatar_warning_1wk2b_27", Yt = "_avatar_lgSize_1wk2b_64", Ut = "_avatar_mdSize_1wk2b_78", Bt = "_avatar_smSize_1wk2b_92", oe = {
|
|
721
|
+
avatar: It,
|
|
724
722
|
avatar_primary: $t,
|
|
725
|
-
avatar_secondary:
|
|
726
|
-
avatar_negative:
|
|
727
|
-
avatar_positive:
|
|
728
|
-
avatar_warning:
|
|
729
|
-
avatar_lgSize:
|
|
730
|
-
avatar_mdSize:
|
|
731
|
-
avatar_smSize:
|
|
723
|
+
avatar_secondary: Lt,
|
|
724
|
+
avatar_negative: Mt,
|
|
725
|
+
avatar_positive: Nt,
|
|
726
|
+
avatar_warning: Vt,
|
|
727
|
+
avatar_lgSize: Yt,
|
|
728
|
+
avatar_mdSize: Ut,
|
|
729
|
+
avatar_smSize: Bt
|
|
732
730
|
};
|
|
733
|
-
function
|
|
734
|
-
attr:
|
|
731
|
+
function Lr({
|
|
732
|
+
attr: a,
|
|
735
733
|
children: _,
|
|
736
734
|
className: f,
|
|
737
735
|
color: g = "primary",
|
|
738
|
-
size:
|
|
739
|
-
...
|
|
736
|
+
size: h = "md",
|
|
737
|
+
...o
|
|
740
738
|
}) {
|
|
741
|
-
const
|
|
742
|
-
return /* @__PURE__ */
|
|
739
|
+
const c = "avatar";
|
|
740
|
+
return /* @__PURE__ */ w.jsx(
|
|
743
741
|
"div",
|
|
744
742
|
{
|
|
745
|
-
...
|
|
746
|
-
...
|
|
747
|
-
className:
|
|
748
|
-
|
|
743
|
+
...a,
|
|
744
|
+
...o,
|
|
745
|
+
className: k(
|
|
746
|
+
oe[c],
|
|
749
747
|
f,
|
|
750
|
-
|
|
751
|
-
|
|
748
|
+
K(oe, c, h),
|
|
749
|
+
F(oe, c, g)
|
|
752
750
|
),
|
|
753
751
|
children: _
|
|
754
752
|
}
|
|
755
753
|
);
|
|
756
754
|
}
|
|
757
|
-
const
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
755
|
+
const Jt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("circle", { cx: 12, cy: 12, r: 10, fill: "currentColor", fillOpacity: 0.15 }), /* @__PURE__ */ C.createElement("path", { d: "M16 9L10.0337 15L8 12.9548", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Fe = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("path", { d: "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z", fill: "currentColor", fillOpacity: 0.15 }), /* @__PURE__ */ C.createElement("path", { d: "M12 6C11.4477 6 11 6.44772 11 7V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V7C13 6.44772 12.5523 6 12 6Z", fill: "currentColor" }), /* @__PURE__ */ C.createElement("path", { d: "M12 15C11.4477 15 11 15.4477 11 16V17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17V16C13 15.4477 12.5523 15 12 15Z", fill: "currentColor" })), Gt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("circle", { cx: 12, cy: 12, r: 10, fill: "currentColor", fillOpacity: 0.12 }), /* @__PURE__ */ C.createElement("path", { d: "M16 8L8 16M16 16L8 8", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), Kt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "black", ...a }, /* @__PURE__ */ C.createElement("path", { d: "M12 2V22M19.0711 4.92893L4.92893 19.0711M22 12H2M19.0711 19.0711L4.92893 4.92893", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xt = "_hint_1qrt8_1", Ht = "_md_1qrt8_12", Zt = "_sm_1qrt8_17", Qt = "_icon_1qrt8_22", er = "_content_1qrt8_33", tr = "_title_1qrt8_39", rr = "_title_mdSize_1qrt8_42", nr = "_title_smSize_1qrt8_48", ar = "_subtitle_1qrt8_55", ir = "_subtitle_mdSize_1qrt8_59", or = "_subtitle_smSize_1qrt8_65", sr = "_disabled_1qrt8_72", ur = "_warning_1qrt8_77", cr = "_solid_1qrt8_77", lr = "_negative_1qrt8_82", fr = "_positive_1qrt8_87", _r = "_accent_1qrt8_92", dr = "_neutral_1qrt8_97", vr = "_soft_1qrt8_102", R = {
|
|
756
|
+
hint: Xt,
|
|
757
|
+
md: Ht,
|
|
758
|
+
sm: Zt,
|
|
759
|
+
icon: Qt,
|
|
760
|
+
content: er,
|
|
761
|
+
title: tr,
|
|
762
|
+
title_mdSize: rr,
|
|
763
|
+
title_smSize: nr,
|
|
764
|
+
subtitle: ar,
|
|
765
|
+
subtitle_mdSize: ir,
|
|
766
|
+
subtitle_smSize: or,
|
|
767
|
+
disabled: sr,
|
|
768
|
+
warning: ur,
|
|
769
|
+
solid: cr,
|
|
770
|
+
negative: lr,
|
|
771
|
+
positive: fr,
|
|
772
|
+
accent: _r,
|
|
773
|
+
neutral: dr,
|
|
774
|
+
soft: vr
|
|
775
|
+
}, pr = {
|
|
776
|
+
negative: /* @__PURE__ */ w.jsx(Gt, {}),
|
|
777
|
+
positive: /* @__PURE__ */ w.jsx(Jt, {}),
|
|
778
|
+
accent: /* @__PURE__ */ w.jsx(Fe, {}),
|
|
779
|
+
warning: /* @__PURE__ */ w.jsx(Fe, {}),
|
|
780
|
+
neutral: /* @__PURE__ */ w.jsx(Kt, {})
|
|
781
|
+
}, Mr = ({
|
|
782
|
+
title: a,
|
|
783
|
+
subtitle: _,
|
|
784
|
+
color: f = "warning",
|
|
785
|
+
variant: g = "soft",
|
|
786
|
+
size: h = "md",
|
|
787
|
+
icon: o,
|
|
788
|
+
disabled: c = !1,
|
|
789
|
+
className: d,
|
|
790
|
+
style: v
|
|
791
|
+
}) => {
|
|
792
|
+
const O = o || pr[f];
|
|
793
|
+
return /* @__PURE__ */ w.jsxs(
|
|
794
|
+
"div",
|
|
795
|
+
{
|
|
796
|
+
className: k(
|
|
797
|
+
R.hint,
|
|
798
|
+
R[f],
|
|
799
|
+
R[g],
|
|
800
|
+
R[h],
|
|
801
|
+
c && R.disabled,
|
|
802
|
+
d
|
|
803
|
+
),
|
|
804
|
+
style: v,
|
|
805
|
+
"aria-disabled": c,
|
|
806
|
+
children: [
|
|
807
|
+
O && /* @__PURE__ */ w.jsx("span", { className: k(R.icon, R[f]), children: O }),
|
|
808
|
+
/* @__PURE__ */ w.jsxs("div", { className: R.content, children: [
|
|
809
|
+
/* @__PURE__ */ w.jsx(
|
|
810
|
+
"div",
|
|
811
|
+
{
|
|
812
|
+
className: k(
|
|
813
|
+
R.title,
|
|
814
|
+
K(R, "title", h)
|
|
815
|
+
),
|
|
816
|
+
children: a
|
|
817
|
+
}
|
|
818
|
+
),
|
|
819
|
+
_ && /* @__PURE__ */ w.jsx(
|
|
820
|
+
"div",
|
|
821
|
+
{
|
|
822
|
+
className: k(
|
|
823
|
+
R.subtitle,
|
|
824
|
+
K(R, "subtitle", h)
|
|
825
|
+
),
|
|
826
|
+
children: _
|
|
827
|
+
}
|
|
828
|
+
)
|
|
829
|
+
] })
|
|
830
|
+
]
|
|
831
|
+
}
|
|
832
|
+
);
|
|
833
|
+
}, mr = "_text_primary_dy5tw_1", gr = "_text_secondary_dy5tw_4", hr = "_text_tertiary_dy5tw_7", br = "_text_positive_dy5tw_10", yr = "_text_negative_dy5tw_13", xr = "_text_warning_dy5tw_16", wr = "_text_accent_dy5tw_19", Er = "_text_inverse_dy5tw_22", Sr = "_text_body1_dy5tw_25", Rr = "_text_body2_dy5tw_31", Cr = "_text_caption1_dy5tw_37", Or = "_text_caption2_dy5tw_43", Tr = "_text_extraboldWeight_dy5tw_49", jr = "_text_boldWeight_dy5tw_52", kr = "_text_semiboldWeight_dy5tw_55", Pr = "_text_mediumWeight_dy5tw_58", Wr = "_text_regularWeight_dy5tw_61", zr = "_text_lightWeight_dy5tw_64", qr = "_text_extralightWeight_dy5tw_67", G = {
|
|
834
|
+
text_primary: mr,
|
|
835
|
+
text_secondary: gr,
|
|
836
|
+
text_tertiary: hr,
|
|
837
|
+
text_positive: br,
|
|
838
|
+
text_negative: yr,
|
|
839
|
+
text_warning: xr,
|
|
840
|
+
text_accent: wr,
|
|
841
|
+
text_inverse: Er,
|
|
842
|
+
text_body1: Sr,
|
|
843
|
+
text_body2: Rr,
|
|
844
|
+
text_caption1: Cr,
|
|
845
|
+
text_caption2: Or,
|
|
846
|
+
text_extraboldWeight: Tr,
|
|
847
|
+
text_boldWeight: jr,
|
|
848
|
+
text_semiboldWeight: kr,
|
|
849
|
+
text_mediumWeight: Pr,
|
|
850
|
+
text_regularWeight: Wr,
|
|
851
|
+
text_lightWeight: zr,
|
|
852
|
+
text_extralightWeight: qr
|
|
777
853
|
};
|
|
778
|
-
function
|
|
779
|
-
|
|
854
|
+
function Ar(a, _, f) {
|
|
855
|
+
return F(a, _, f, "Weight");
|
|
856
|
+
}
|
|
857
|
+
function Nr({
|
|
858
|
+
attr: a,
|
|
780
859
|
children: _,
|
|
781
860
|
className: f,
|
|
782
861
|
color: g = "primary",
|
|
783
|
-
variant:
|
|
784
|
-
weight:
|
|
785
|
-
tag:
|
|
786
|
-
...
|
|
862
|
+
variant: h = "body1",
|
|
863
|
+
weight: o = "regular",
|
|
864
|
+
tag: c = "p",
|
|
865
|
+
...d
|
|
787
866
|
}) {
|
|
788
|
-
const
|
|
789
|
-
return /* @__PURE__ */
|
|
790
|
-
|
|
867
|
+
const v = "text";
|
|
868
|
+
return /* @__PURE__ */ w.jsx(
|
|
869
|
+
c,
|
|
791
870
|
{
|
|
792
|
-
...
|
|
793
|
-
...
|
|
794
|
-
className:
|
|
795
|
-
|
|
871
|
+
...a,
|
|
872
|
+
...d,
|
|
873
|
+
className: k(
|
|
874
|
+
G[v],
|
|
796
875
|
f,
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
876
|
+
F(G, v, g),
|
|
877
|
+
F(G, v, h),
|
|
878
|
+
Ar(G, v, o)
|
|
800
879
|
),
|
|
801
880
|
children: _
|
|
802
881
|
}
|
|
803
882
|
);
|
|
804
883
|
}
|
|
805
|
-
const
|
|
806
|
-
themeProviderScoped:
|
|
884
|
+
const Dr = "_themeProviderScoped_1hzo9_2", Fr = {
|
|
885
|
+
themeProviderScoped: Dr
|
|
807
886
|
};
|
|
808
|
-
function
|
|
809
|
-
return /* @__PURE__ */
|
|
887
|
+
function Vr({ className: a, children: _ }) {
|
|
888
|
+
return /* @__PURE__ */ w.jsx("div", { className: k(Fr.themeProviderScoped, a), children: _ });
|
|
810
889
|
}
|
|
811
890
|
export {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
891
|
+
Lr as Avatar,
|
|
892
|
+
Mr as Hint,
|
|
893
|
+
$r as IconButton,
|
|
894
|
+
Nr as Text,
|
|
895
|
+
Vr as ThemeProviderScoped,
|
|
896
|
+
K as getSizeClass,
|
|
897
|
+
F as getStyleClass
|
|
819
898
|
};
|
|
820
899
|
//# sourceMappingURL=ui-kit.es.js.map
|