webadwaita 0.0.10 → 0.0.12
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/index.d.ts +2 -2
- package/dist/index.es.js +86 -81
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
2
2
|
|
|
3
3
|
export declare function Arrow2TopRight(): JSX_2.Element;
|
|
4
4
|
|
|
5
|
-
export declare function Button({ variant, icon, circle, children, }: {
|
|
5
|
+
export declare function Button({ variant, icon, circle, children, ...rest }: {
|
|
6
6
|
variant?: string;
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
circle?: boolean;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}): JSX_2.Element;
|
|
11
11
|
|
|
12
|
-
export declare function Entry({ placeholder }: {
|
|
12
|
+
export declare function Entry({ placeholder, ...props }: {
|
|
13
13
|
placeholder?: string;
|
|
14
14
|
}): JSX_2.Element;
|
|
15
15
|
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import we from "react";
|
|
2
|
-
var X = { exports: {} },
|
|
2
|
+
var X = { exports: {} }, A = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,22 +12,22 @@ var X = { exports: {} }, z = {};
|
|
|
12
12
|
var Re;
|
|
13
13
|
function sr() {
|
|
14
14
|
if (Re)
|
|
15
|
-
return
|
|
15
|
+
return A;
|
|
16
16
|
Re = 1;
|
|
17
|
-
var f = we,
|
|
18
|
-
function
|
|
17
|
+
var f = we, d = Symbol.for("react.element"), R = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, T = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function D(_, v, P) {
|
|
19
19
|
var m, y = {}, w = null, N = null;
|
|
20
|
-
|
|
21
|
-
for (m in
|
|
22
|
-
g.call(
|
|
20
|
+
P !== void 0 && (w = "" + P), v.key !== void 0 && (w = "" + v.key), v.ref !== void 0 && (N = v.ref);
|
|
21
|
+
for (m in v)
|
|
22
|
+
g.call(v, m) && !b.hasOwnProperty(m) && (y[m] = v[m]);
|
|
23
23
|
if (_ && _.defaultProps)
|
|
24
|
-
for (m in
|
|
25
|
-
y[m] === void 0 && (y[m] =
|
|
26
|
-
return { $$typeof:
|
|
24
|
+
for (m in v = _.defaultProps, v)
|
|
25
|
+
y[m] === void 0 && (y[m] = v[m]);
|
|
26
|
+
return { $$typeof: d, type: _, key: w, ref: N, props: y, _owner: T.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return A.Fragment = R, A.jsx = D, A.jsxs = D, A;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var $ = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -40,15 +40,15 @@ var A = {};
|
|
|
40
40
|
var _e;
|
|
41
41
|
function lr() {
|
|
42
42
|
return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var f = we,
|
|
43
|
+
var f = we, d = Symbol.for("react.element"), R = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), _ = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), Z = Symbol.iterator, ke = "@@iterator";
|
|
44
44
|
function Te(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var r = Z && e[Z] || e[ke];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
50
|
+
var O = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function h(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
54
54
|
t[a - 1] = arguments[a];
|
|
@@ -57,7 +57,7 @@ function lr() {
|
|
|
57
57
|
}
|
|
58
58
|
function Pe(e, r, t) {
|
|
59
59
|
{
|
|
60
|
-
var a =
|
|
60
|
+
var a = O.ReactDebugCurrentFrame, s = a.getStackAddendum();
|
|
61
61
|
s !== "" && (r += "%s", t = t.concat([s]));
|
|
62
62
|
var l = t.map(function(o) {
|
|
63
63
|
return String(o);
|
|
@@ -68,7 +68,7 @@ function lr() {
|
|
|
68
68
|
var Oe = !1, Ce = !1, Se = !1, De = !1, Fe = !1, Q;
|
|
69
69
|
Q = Symbol.for("react.module.reference");
|
|
70
70
|
function ze(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === g || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === g || e === b || Fe || e === T || e === P || e === m || De || e === N || Oe || Ce || Se || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === y || e.$$typeof === D || e.$$typeof === _ || e.$$typeof === v || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -87,7 +87,7 @@ function lr() {
|
|
|
87
87
|
function j(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -96,11 +96,11 @@ function lr() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case R:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case $:
|
|
100
|
-
return "Profiler";
|
|
101
99
|
case b:
|
|
102
|
-
return "
|
|
100
|
+
return "Profiler";
|
|
103
101
|
case T:
|
|
102
|
+
return "StrictMode";
|
|
103
|
+
case P:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case m:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -110,10 +110,10 @@ function lr() {
|
|
|
110
110
|
case _:
|
|
111
111
|
var r = e;
|
|
112
112
|
return ee(r) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case D:
|
|
114
114
|
var t = e;
|
|
115
115
|
return ee(t._context) + ".Provider";
|
|
116
|
-
case
|
|
116
|
+
case v:
|
|
117
117
|
return Ae(e, e.render, "ForwardRef");
|
|
118
118
|
case y:
|
|
119
119
|
var a = e.displayName || null;
|
|
@@ -129,13 +129,13 @@ function lr() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var k = Object.assign,
|
|
132
|
+
var k = Object.assign, F = 0, re, te, ne, ae, ie, oe, se;
|
|
133
133
|
function le() {
|
|
134
134
|
}
|
|
135
135
|
le.__reactDisabledLog = !0;
|
|
136
136
|
function $e() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
138
|
+
if (F === 0) {
|
|
139
139
|
re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, se = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
@@ -153,12 +153,12 @@ function lr() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
F++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
function Ne() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (F--, F === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
@@ -188,10 +188,10 @@ function lr() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
F < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var V =
|
|
194
|
+
var V = O.ReactCurrentDispatcher, U;
|
|
195
195
|
function I(e, r, t) {
|
|
196
196
|
{
|
|
197
197
|
if (U === void 0)
|
|
@@ -259,14 +259,14 @@ function lr() {
|
|
|
259
259
|
} catch (E) {
|
|
260
260
|
if (E && a && typeof E.stack == "string") {
|
|
261
261
|
for (var i = E.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), u = i.length - 1, c =
|
|
262
|
+
`), p = a.stack.split(`
|
|
263
|
+
`), u = i.length - 1, c = p.length - 1; u >= 1 && c >= 0 && i[u] !== p[c]; )
|
|
264
264
|
c--;
|
|
265
265
|
for (; u >= 1 && c >= 0; u--, c--)
|
|
266
|
-
if (i[u] !==
|
|
266
|
+
if (i[u] !== p[c]) {
|
|
267
267
|
if (u !== 1 || c !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (u--, c--, c < 0 || i[u] !==
|
|
269
|
+
if (u--, c--, c < 0 || i[u] !== p[c]) {
|
|
270
270
|
var x = `
|
|
271
271
|
` + i[u].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, x), x;
|
|
@@ -278,7 +278,7 @@ function lr() {
|
|
|
278
278
|
} finally {
|
|
279
279
|
B = !1, V.current = l, Ne(), Error.prepareStackTrace = s;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var S = e ? e.displayName || e.name : "", Ee = S ? I(S) : "";
|
|
282
282
|
return typeof e == "function" && W.set(e, Ee), Ee;
|
|
283
283
|
}
|
|
284
284
|
function We(e, r, t) {
|
|
@@ -296,14 +296,14 @@ function lr() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return I(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case P:
|
|
300
300
|
return I("Suspense");
|
|
301
301
|
case m:
|
|
302
302
|
return I("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
306
|
+
case v:
|
|
307
307
|
return We(e.render);
|
|
308
308
|
case y:
|
|
309
309
|
return Y(e.type, r, t);
|
|
@@ -317,7 +317,7 @@ function lr() {
|
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var L = Object.prototype.hasOwnProperty, ce = {}, fe =
|
|
320
|
+
var L = Object.prototype.hasOwnProperty, ce = {}, fe = O.ReactDebugCurrentFrame;
|
|
321
321
|
function M(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
@@ -333,14 +333,14 @@ function lr() {
|
|
|
333
333
|
var i = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[o] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var p = Error((a || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw p.name = "Invariant Violation", p;
|
|
338
338
|
}
|
|
339
339
|
i = e[o](r, o, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (u) {
|
|
341
341
|
i = u;
|
|
342
342
|
}
|
|
343
|
-
i && !(i instanceof Error) && (M(s),
|
|
343
|
+
i && !(i instanceof Error) && (M(s), h("%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).", a || "React class", t, o, typeof i), M(null)), i instanceof Error && !(i.message in ce) && (ce[i.message] = !0, M(s), h("Failed %s type: %s", t, i.message), M(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,9 +366,9 @@ function lr() {
|
|
|
366
366
|
}
|
|
367
367
|
function ve(e) {
|
|
368
368
|
if (Ue(e))
|
|
369
|
-
return
|
|
369
|
+
return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), de(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var z = O.ReactCurrentOwner, Be = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -392,15 +392,15 @@ function lr() {
|
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
394
|
function Je(e, r) {
|
|
395
|
-
if (typeof e.ref == "string" &&
|
|
396
|
-
var t = j(
|
|
397
|
-
G[t] || (
|
|
395
|
+
if (typeof e.ref == "string" && z.current && r && z.current.stateNode !== r) {
|
|
396
|
+
var t = j(z.current.type);
|
|
397
|
+
G[t] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(z.current.type), e.ref), G[t] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function He(e, r) {
|
|
401
401
|
{
|
|
402
402
|
var t = function() {
|
|
403
|
-
he || (he = !0,
|
|
403
|
+
he || (he = !0, h("%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)", r));
|
|
404
404
|
};
|
|
405
405
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
406
|
get: t,
|
|
@@ -411,7 +411,7 @@ function lr() {
|
|
|
411
411
|
function Ke(e, r) {
|
|
412
412
|
{
|
|
413
413
|
var t = function() {
|
|
414
|
-
pe || (pe = !0,
|
|
414
|
+
pe || (pe = !0, h("%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)", r));
|
|
415
415
|
};
|
|
416
416
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
417
|
get: t,
|
|
@@ -422,7 +422,7 @@ function lr() {
|
|
|
422
422
|
var Xe = function(e, r, t, a, s, l, o) {
|
|
423
423
|
var i = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
425
|
+
$$typeof: d,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
@@ -450,8 +450,8 @@ function lr() {
|
|
|
450
450
|
};
|
|
451
451
|
function Ze(e, r, t, a, s) {
|
|
452
452
|
{
|
|
453
|
-
var l, o = {}, i = null,
|
|
454
|
-
t !== void 0 && (ve(t), i = "" + t), Ge(r) && (ve(r.key), i = "" + r.key), qe(r) && (
|
|
453
|
+
var l, o = {}, i = null, p = null;
|
|
454
|
+
t !== void 0 && (ve(t), i = "" + t), Ge(r) && (ve(r.key), i = "" + r.key), qe(r) && (p = r.ref, Je(r, s));
|
|
455
455
|
for (l in r)
|
|
456
456
|
L.call(r, l) && !Be.hasOwnProperty(l) && (o[l] = r[l]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
@@ -459,15 +459,15 @@ function lr() {
|
|
|
459
459
|
for (l in u)
|
|
460
460
|
o[l] === void 0 && (o[l] = u[l]);
|
|
461
461
|
}
|
|
462
|
-
if (i ||
|
|
462
|
+
if (i || p) {
|
|
463
463
|
var c = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
i && He(o, c),
|
|
464
|
+
i && He(o, c), p && Ke(o, c);
|
|
465
465
|
}
|
|
466
|
-
return Xe(e, i,
|
|
466
|
+
return Xe(e, i, p, s, a, z.current, o);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var J =
|
|
470
|
-
function
|
|
469
|
+
var J = O.ReactCurrentOwner, me = O.ReactDebugCurrentFrame;
|
|
470
|
+
function C(e) {
|
|
471
471
|
if (e) {
|
|
472
472
|
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
473
473
|
me.setExtraStackFrame(t);
|
|
@@ -477,7 +477,7 @@ function lr() {
|
|
|
477
477
|
var H;
|
|
478
478
|
H = !1;
|
|
479
479
|
function K(e) {
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === d;
|
|
481
481
|
}
|
|
482
482
|
function xe() {
|
|
483
483
|
{
|
|
@@ -525,7 +525,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
525
525
|
return;
|
|
526
526
|
ge[t] = !0;
|
|
527
527
|
var a = "";
|
|
528
|
-
e && e._owner && e._owner !== J.current && (a = " It was passed a child from " + j(e._owner.type) + "."),
|
|
528
|
+
e && e._owner && e._owner !== J.current && (a = " It was passed a child from " + j(e._owner.type) + "."), C(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), C(null);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
function ye(e, r) {
|
|
@@ -555,7 +555,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
555
555
|
var t;
|
|
556
556
|
if (typeof r == "function")
|
|
557
557
|
t = r.propTypes;
|
|
558
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
558
|
+
else if (typeof r == "object" && (r.$$typeof === v || // Note: Memo only checks outer props here.
|
|
559
559
|
// Inner props are checked in the reconciler.
|
|
560
560
|
r.$$typeof === y))
|
|
561
561
|
t = r.propTypes;
|
|
@@ -567,9 +567,9 @@ Check the top-level render call using <` + t + ">.");
|
|
|
567
567
|
} else if (r.PropTypes !== void 0 && !H) {
|
|
568
568
|
H = !0;
|
|
569
569
|
var s = j(r);
|
|
570
|
-
|
|
570
|
+
h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
571
571
|
}
|
|
572
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
572
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function tr(e) {
|
|
@@ -577,11 +577,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
577
577
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
578
578
|
var a = r[t];
|
|
579
579
|
if (a !== "children" && a !== "key") {
|
|
580
|
-
|
|
580
|
+
C(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), C(null);
|
|
581
581
|
break;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
e.ref !== null && (
|
|
584
|
+
e.ref !== null && (C(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), C(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
function je(e, r, t, a, s, l) {
|
|
@@ -590,10 +590,10 @@ Check the top-level render call using <` + t + ">.");
|
|
|
590
590
|
if (!o) {
|
|
591
591
|
var i = "";
|
|
592
592
|
(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.");
|
|
593
|
-
var
|
|
594
|
-
|
|
593
|
+
var p = Qe(s);
|
|
594
|
+
p ? i += p : i += xe();
|
|
595
595
|
var u;
|
|
596
|
-
e === null ? u = "null" : q(e) ? u = "array" : e !== void 0 && e.$$typeof ===
|
|
596
|
+
e === null ? u = "null" : q(e) ? u = "array" : e !== void 0 && e.$$typeof === d ? (u = "<" + (j(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : u = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", u, i);
|
|
597
597
|
}
|
|
598
598
|
var c = Ze(e, r, t, s, l);
|
|
599
599
|
if (c == null)
|
|
@@ -603,11 +603,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
603
603
|
if (x !== void 0)
|
|
604
604
|
if (a)
|
|
605
605
|
if (q(x)) {
|
|
606
|
-
for (var
|
|
607
|
-
ye(x[
|
|
606
|
+
for (var S = 0; S < x.length; S++)
|
|
607
|
+
ye(x[S], e);
|
|
608
608
|
Object.freeze && Object.freeze(x);
|
|
609
609
|
} else
|
|
610
|
-
|
|
610
|
+
h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
611
|
else
|
|
612
612
|
ye(x, e);
|
|
613
613
|
}
|
|
@@ -621,8 +621,8 @@ Check the top-level render call using <` + t + ">.");
|
|
|
621
621
|
return je(e, r, t, !1);
|
|
622
622
|
}
|
|
623
623
|
var ir = ar, or = nr;
|
|
624
|
-
|
|
625
|
-
}()),
|
|
624
|
+
$.Fragment = g, $.jsx = ir, $.jsxs = or;
|
|
625
|
+
}()), $;
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? X.exports = sr() : X.exports = lr();
|
|
628
628
|
var n = X.exports;
|
|
@@ -660,9 +660,10 @@ function cr() {
|
|
|
660
660
|
}
|
|
661
661
|
function fr({
|
|
662
662
|
variant: f,
|
|
663
|
-
icon:
|
|
663
|
+
icon: d,
|
|
664
664
|
circle: R,
|
|
665
|
-
children: g
|
|
665
|
+
children: g,
|
|
666
|
+
...T
|
|
666
667
|
}) {
|
|
667
668
|
let b = "";
|
|
668
669
|
switch (f) {
|
|
@@ -682,15 +683,19 @@ function fr({
|
|
|
682
683
|
${R ? "rounded-full" : "rounded-md"}`;
|
|
683
684
|
break;
|
|
684
685
|
}
|
|
685
|
-
return /* @__PURE__ */ n.jsxs("button", { className: b, children: [
|
|
686
|
-
|
|
686
|
+
return /* @__PURE__ */ n.jsxs("button", { ...T, className: b, children: [
|
|
687
|
+
d,
|
|
687
688
|
g
|
|
688
689
|
] });
|
|
689
690
|
}
|
|
690
|
-
function dr({
|
|
691
|
+
function dr({
|
|
692
|
+
placeholder: f,
|
|
693
|
+
...d
|
|
694
|
+
}) {
|
|
691
695
|
return /* @__PURE__ */ n.jsx(
|
|
692
696
|
"input",
|
|
693
697
|
{
|
|
698
|
+
...d,
|
|
694
699
|
type: "text",
|
|
695
700
|
placeholder: f,
|
|
696
701
|
className: "rounded-md dark:text-white py-2 px-3 dark:bg-[#3a3a3a]"
|
|
@@ -705,7 +710,7 @@ function hr({ children: f }) {
|
|
|
705
710
|
}
|
|
706
711
|
function pr({
|
|
707
712
|
onClick: f,
|
|
708
|
-
children:
|
|
713
|
+
children: d
|
|
709
714
|
}) {
|
|
710
715
|
return /* @__PURE__ */ n.jsx(
|
|
711
716
|
"div",
|
|
@@ -713,7 +718,7 @@ function pr({
|
|
|
713
718
|
onClick: f,
|
|
714
719
|
className: `flex flex-row gap-2 transition duration-300 justify-between items-center p-4 first:rounded-t-xl last:rounded-b-xl text-white dark:bg-[#363636]
|
|
715
720
|
${f ? "dark:hover:bg-[#3c3c3c]" : ""}`,
|
|
716
|
-
children:
|
|
721
|
+
children: d
|
|
717
722
|
}
|
|
718
723
|
);
|
|
719
724
|
}
|
|
@@ -753,24 +758,24 @@ function mr() {
|
|
|
753
758
|
}
|
|
754
759
|
function xr({
|
|
755
760
|
logo: f,
|
|
756
|
-
title:
|
|
761
|
+
title: d,
|
|
757
762
|
description: R
|
|
758
763
|
}) {
|
|
759
764
|
return /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-2 items-center", children: [
|
|
760
765
|
f,
|
|
761
|
-
/* @__PURE__ */ n.jsx("h1", { className: "text-2xl font-black dark:text-white", children:
|
|
766
|
+
/* @__PURE__ */ n.jsx("h1", { className: "text-2xl font-black dark:text-white", children: d }),
|
|
762
767
|
/* @__PURE__ */ n.jsx("p", { className: "dark:text-white", children: R })
|
|
763
768
|
] });
|
|
764
769
|
}
|
|
765
770
|
function gr({
|
|
766
771
|
center: f,
|
|
767
|
-
children:
|
|
772
|
+
children: d
|
|
768
773
|
}) {
|
|
769
774
|
return /* @__PURE__ */ n.jsx(
|
|
770
775
|
"div",
|
|
771
776
|
{
|
|
772
777
|
className: `${f ? "justify-center" : ""} bg-[#242424] p-3 flex flex-col w-screen h-screen items-center`,
|
|
773
|
-
children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children:
|
|
778
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children: d })
|
|
774
779
|
}
|
|
775
780
|
);
|
|
776
781
|
}
|