webadwaita 0.0.8 → 0.0.9
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 +10 -1
- package/dist/index.es.js +148 -127
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +11 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,16 @@ export declare function ListItem({ onClick, children, }: {
|
|
|
20
20
|
|
|
21
21
|
export declare function Loupe(): JSX_2.Element;
|
|
22
22
|
|
|
23
|
-
declare function
|
|
23
|
+
export declare function Welcome({ logo, title, description, }: {
|
|
24
|
+
logo: React.ReactNode;
|
|
25
|
+
title: string;
|
|
26
|
+
description: string;
|
|
27
|
+
}): JSX_2.Element;
|
|
28
|
+
|
|
29
|
+
declare function Window_2({ center, children, }: {
|
|
30
|
+
center?: boolean;
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
}): JSX_2.Element;
|
|
24
33
|
export { Window_2 as Window }
|
|
25
34
|
|
|
26
35
|
export { }
|
package/dist/index.es.js
CHANGED
|
@@ -14,18 +14,18 @@ function sr() {
|
|
|
14
14
|
if (Re)
|
|
15
15
|
return z;
|
|
16
16
|
Re = 1;
|
|
17
|
-
var
|
|
18
|
-
function S(
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
g.call(
|
|
23
|
-
if (
|
|
24
|
-
for (
|
|
25
|
-
b[
|
|
26
|
-
return { $$typeof:
|
|
17
|
+
var f = we, p = Symbol.for("react.element"), R = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, E = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, N = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function S(_, d, k) {
|
|
19
|
+
var m, b = {}, w = null, $ = null;
|
|
20
|
+
k !== void 0 && (w = "" + k), d.key !== void 0 && (w = "" + d.key), d.ref !== void 0 && ($ = d.ref);
|
|
21
|
+
for (m in d)
|
|
22
|
+
g.call(d, m) && !N.hasOwnProperty(m) && (b[m] = d[m]);
|
|
23
|
+
if (_ && _.defaultProps)
|
|
24
|
+
for (m in d = _.defaultProps, d)
|
|
25
|
+
b[m] === void 0 && (b[m] = d[m]);
|
|
26
|
+
return { $$typeof: p, type: _, key: w, ref: $, props: b, _owner: E.current };
|
|
27
27
|
}
|
|
28
|
-
return z.Fragment =
|
|
28
|
+
return z.Fragment = R, z.jsx = S, z.jsxs = S, z;
|
|
29
29
|
}
|
|
30
30
|
var A = {};
|
|
31
31
|
/**
|
|
@@ -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
|
|
43
|
+
var f = we, p = Symbol.for("react.element"), R = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), Z = Symbol.iterator, Te = "@@iterator";
|
|
44
44
|
function ke(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var r = Z && e[Z] || e[Te];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
50
|
+
var P = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function v(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 = P.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 === N || Fe || e === E || e === k || e === m || De || e === $ || Oe || Ce || Se || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === b || e.$$typeof === S || e.$$typeof === _ || e.$$typeof === d || // 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,38 +87,38 @@ 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" && v("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;
|
|
94
94
|
switch (e) {
|
|
95
95
|
case g:
|
|
96
96
|
return "Fragment";
|
|
97
|
-
case
|
|
97
|
+
case R:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case N:
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case E:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case k:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case m:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
|
-
case
|
|
110
|
+
case _:
|
|
111
111
|
var r = e;
|
|
112
112
|
return ee(r) + ".Consumer";
|
|
113
113
|
case S:
|
|
114
114
|
var t = e;
|
|
115
115
|
return ee(t._context) + ".Provider";
|
|
116
|
-
case
|
|
116
|
+
case d:
|
|
117
117
|
return Ae(e, e.render, "ForwardRef");
|
|
118
118
|
case b:
|
|
119
119
|
var a = e.displayName || null;
|
|
120
120
|
return a !== null ? a : j(e.type) || "Memo";
|
|
121
|
-
case
|
|
121
|
+
case w: {
|
|
122
122
|
var s = e, l = s._payload, o = s._init;
|
|
123
123
|
try {
|
|
124
124
|
return j(o(l));
|
|
@@ -129,11 +129,11 @@ function lr() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var T = Object.assign, D = 0, re, te, ne, ae, ie, oe, se;
|
|
133
133
|
function le() {
|
|
134
134
|
}
|
|
135
135
|
le.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function Ne() {
|
|
137
137
|
{
|
|
138
138
|
if (D === 0) {
|
|
139
139
|
re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, se = console.groupEnd;
|
|
@@ -165,34 +165,34 @@ function lr() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: T({}, e, {
|
|
169
169
|
value: re
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: T({}, e, {
|
|
172
172
|
value: te
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: T({}, e, {
|
|
175
175
|
value: ne
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: T({}, e, {
|
|
178
178
|
value: ae
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: T({}, e, {
|
|
181
181
|
value: ie
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: T({}, e, {
|
|
184
184
|
value: oe
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: T({}, e, {
|
|
187
187
|
value: se
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
D < 0 &&
|
|
191
|
+
D < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var V =
|
|
195
|
-
function
|
|
194
|
+
var V = P.ReactCurrentDispatcher, U;
|
|
195
|
+
function I(e, r, t) {
|
|
196
196
|
{
|
|
197
197
|
if (U === void 0)
|
|
198
198
|
try {
|
|
@@ -207,10 +207,10 @@ function lr() {
|
|
|
207
207
|
}
|
|
208
208
|
var B = !1, W;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
W = new
|
|
210
|
+
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
W = new Ie();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function ce(e, r) {
|
|
214
214
|
if (!e || B)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
@@ -223,7 +223,7 @@ function lr() {
|
|
|
223
223
|
var s = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var l;
|
|
226
|
-
l = V.current, V.current = null,
|
|
226
|
+
l = V.current, V.current = null, Ne();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
229
|
var o = function() {
|
|
@@ -259,30 +259,30 @@ function lr() {
|
|
|
259
259
|
} catch (y) {
|
|
260
260
|
if (y && a && typeof y.stack == "string") {
|
|
261
261
|
for (var i = y.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (i[
|
|
267
|
-
if (
|
|
262
|
+
`), h = a.stack.split(`
|
|
263
|
+
`), c = i.length - 1, u = h.length - 1; c >= 1 && u >= 0 && i[c] !== h[u]; )
|
|
264
|
+
u--;
|
|
265
|
+
for (; c >= 1 && u >= 0; c--, u--)
|
|
266
|
+
if (i[c] !== h[u]) {
|
|
267
|
+
if (c !== 1 || u !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` + i[
|
|
272
|
-
return e.displayName &&
|
|
269
|
+
if (c--, u--, u < 0 || i[c] !== h[u]) {
|
|
270
|
+
var x = `
|
|
271
|
+
` + i[c].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, x), x;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (c >= 1 && u >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
279
|
B = !1, V.current = l, $e(), Error.prepareStackTrace = s;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var C = e ? e.displayName || e.name : "", Ee = C ? I(C) : "";
|
|
282
282
|
return typeof e == "function" && W.set(e, Ee), Ee;
|
|
283
283
|
}
|
|
284
284
|
function We(e, r, t) {
|
|
285
|
-
return
|
|
285
|
+
return ce(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function Ye(e) {
|
|
288
288
|
var r = e.prototype;
|
|
@@ -292,22 +292,22 @@ function lr() {
|
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return ce(e, Ye(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return I(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
299
|
+
case k:
|
|
300
|
+
return I("Suspense");
|
|
301
|
+
case m:
|
|
302
|
+
return I("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
306
|
+
case d:
|
|
307
307
|
return We(e.render);
|
|
308
308
|
case b:
|
|
309
309
|
return Y(e.type, r, t);
|
|
310
|
-
case
|
|
310
|
+
case w: {
|
|
311
311
|
var a = e, s = a._payload, l = a._init;
|
|
312
312
|
try {
|
|
313
313
|
return Y(l(s), r, t);
|
|
@@ -317,7 +317,7 @@ function lr() {
|
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var L = Object.prototype.hasOwnProperty,
|
|
320
|
+
var L = Object.prototype.hasOwnProperty, ue = {}, fe = P.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 h = 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 h.name = "Invariant Violation", h;
|
|
338
338
|
}
|
|
339
339
|
i = e[o](r, o, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (
|
|
341
|
-
i =
|
|
340
|
+
} catch (c) {
|
|
341
|
+
i = c;
|
|
342
342
|
}
|
|
343
|
-
i && !(i instanceof Error) && (M(s),
|
|
343
|
+
i && !(i instanceof Error) && (M(s), v("%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 ue) && (ue[i.message] = !0, M(s), v("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 v("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 F =
|
|
371
|
+
var F = P.ReactCurrentOwner, Be = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -394,13 +394,13 @@ function lr() {
|
|
|
394
394
|
function Je(e, r) {
|
|
395
395
|
if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
|
|
396
396
|
var t = j(F.current.type);
|
|
397
|
-
G[t] || (
|
|
397
|
+
G[t] || (v('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(F.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, v("%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, v("%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: p,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
@@ -450,24 +450,24 @@ 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, h = null;
|
|
454
|
+
t !== void 0 && (ve(t), i = "" + t), Ge(r) && (ve(r.key), i = "" + r.key), qe(r) && (h = 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) {
|
|
458
|
-
var
|
|
459
|
-
for (l in
|
|
460
|
-
o[l] === void 0 && (o[l] =
|
|
458
|
+
var c = e.defaultProps;
|
|
459
|
+
for (l in c)
|
|
460
|
+
o[l] === void 0 && (o[l] = c[l]);
|
|
461
461
|
}
|
|
462
|
-
if (i ||
|
|
463
|
-
var
|
|
464
|
-
i && He(o,
|
|
462
|
+
if (i || h) {
|
|
463
|
+
var u = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
+
i && He(o, u), h && Ke(o, u);
|
|
465
465
|
}
|
|
466
|
-
return Xe(e, i,
|
|
466
|
+
return Xe(e, i, h, s, a, F.current, o);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var J =
|
|
470
|
-
function
|
|
469
|
+
var J = P.ReactCurrentOwner, me = P.ReactDebugCurrentFrame;
|
|
470
|
+
function O(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 === p;
|
|
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) + "."), O(e), v('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), O(null);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
function je(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 === d || // Note: Memo only checks outer props here.
|
|
559
559
|
// Inner props are checked in the reconciler.
|
|
560
560
|
r.$$typeof === b))
|
|
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
|
+
v("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 && v("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
|
+
O(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), O(null);
|
|
581
581
|
break;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
e.ref !== null && (
|
|
584
|
+
e.ref !== null && (O(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
function ye(e, r, t, a, s, l) {
|
|
@@ -590,28 +590,28 @@ 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
|
-
|
|
595
|
-
var
|
|
596
|
-
e === null ?
|
|
593
|
+
var h = Qe(s);
|
|
594
|
+
h ? i += h : i += xe();
|
|
595
|
+
var c;
|
|
596
|
+
e === null ? c = "null" : q(e) ? c = "array" : e !== void 0 && e.$$typeof === p ? (c = "<" + (j(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, i);
|
|
597
597
|
}
|
|
598
|
-
var
|
|
599
|
-
if (
|
|
600
|
-
return
|
|
598
|
+
var u = Ze(e, r, t, s, l);
|
|
599
|
+
if (u == null)
|
|
600
|
+
return u;
|
|
601
601
|
if (o) {
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
602
|
+
var x = r.children;
|
|
603
|
+
if (x !== void 0)
|
|
604
604
|
if (a)
|
|
605
|
-
if (q(
|
|
606
|
-
for (var
|
|
607
|
-
je(
|
|
608
|
-
Object.freeze && Object.freeze(
|
|
605
|
+
if (q(x)) {
|
|
606
|
+
for (var C = 0; C < x.length; C++)
|
|
607
|
+
je(x[C], e);
|
|
608
|
+
Object.freeze && Object.freeze(x);
|
|
609
609
|
} else
|
|
610
|
-
|
|
610
|
+
v("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
|
-
je(
|
|
612
|
+
je(x, e);
|
|
613
613
|
}
|
|
614
|
-
return e === g ? tr(
|
|
614
|
+
return e === g ? tr(u) : rr(u), u;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function nr(e, r, t) {
|
|
@@ -626,7 +626,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? X.exports = sr() : X.exports = lr();
|
|
628
628
|
var n = X.exports;
|
|
629
|
-
function
|
|
629
|
+
function ur() {
|
|
630
630
|
return /* @__PURE__ */ n.jsxs(
|
|
631
631
|
"svg",
|
|
632
632
|
{
|
|
@@ -659,13 +659,13 @@ function cr() {
|
|
|
659
659
|
);
|
|
660
660
|
}
|
|
661
661
|
function fr({
|
|
662
|
-
variant:
|
|
663
|
-
icon:
|
|
664
|
-
circle:
|
|
662
|
+
variant: f,
|
|
663
|
+
icon: p,
|
|
664
|
+
circle: R,
|
|
665
665
|
children: g
|
|
666
666
|
}) {
|
|
667
667
|
let E = "";
|
|
668
|
-
switch (
|
|
668
|
+
switch (f) {
|
|
669
669
|
case "fill":
|
|
670
670
|
E = `
|
|
671
671
|
${g ? "px-6 py-2" : "px-2 py-2"}
|
|
@@ -673,31 +673,31 @@ function fr({
|
|
|
673
673
|
break;
|
|
674
674
|
default:
|
|
675
675
|
E = `flex flex-row dark:hover:bg-[#3e3e3e] dark:text-white gap-2 p-2 transition items-center justify-center font-bold
|
|
676
|
-
${
|
|
676
|
+
${R ? "rounded-full" : "rounded-md"}`;
|
|
677
677
|
break;
|
|
678
678
|
}
|
|
679
679
|
return /* @__PURE__ */ n.jsxs("button", { className: E, children: [
|
|
680
|
-
|
|
680
|
+
p,
|
|
681
681
|
g
|
|
682
682
|
] });
|
|
683
683
|
}
|
|
684
|
-
function dr({ children:
|
|
685
|
-
return /* @__PURE__ */ n.jsx("p", { className: "font-bold dark:text-white", children:
|
|
684
|
+
function dr({ children: f }) {
|
|
685
|
+
return /* @__PURE__ */ n.jsx("p", { className: "font-bold dark:text-white", children: f });
|
|
686
686
|
}
|
|
687
|
-
function vr({ children:
|
|
688
|
-
return /* @__PURE__ */ n.jsx("div", { className: "flex flex-col divide-y divide-[#242424] shadow", children:
|
|
687
|
+
function vr({ children: f }) {
|
|
688
|
+
return /* @__PURE__ */ n.jsx("div", { className: "flex flex-col divide-y divide-[#242424] shadow", children: f });
|
|
689
689
|
}
|
|
690
690
|
function hr({
|
|
691
|
-
onClick:
|
|
692
|
-
children:
|
|
691
|
+
onClick: f,
|
|
692
|
+
children: p
|
|
693
693
|
}) {
|
|
694
694
|
return /* @__PURE__ */ n.jsx(
|
|
695
695
|
"div",
|
|
696
696
|
{
|
|
697
|
-
onClick:
|
|
697
|
+
onClick: f,
|
|
698
698
|
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]
|
|
699
|
-
${
|
|
700
|
-
children:
|
|
699
|
+
${f ? "dark:hover:bg-[#3c3c3c]" : ""}`,
|
|
700
|
+
children: p
|
|
701
701
|
}
|
|
702
702
|
);
|
|
703
703
|
}
|
|
@@ -735,16 +735,37 @@ function pr() {
|
|
|
735
735
|
}
|
|
736
736
|
);
|
|
737
737
|
}
|
|
738
|
-
function mr({
|
|
739
|
-
|
|
738
|
+
function mr({
|
|
739
|
+
logo: f,
|
|
740
|
+
title: p,
|
|
741
|
+
description: R
|
|
742
|
+
}) {
|
|
743
|
+
return /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-2 items-center", children: [
|
|
744
|
+
f,
|
|
745
|
+
/* @__PURE__ */ n.jsx("h1", { className: "text-2xl font-black dark:text-white", children: p }),
|
|
746
|
+
/* @__PURE__ */ n.jsx("p", { className: "dark:text-white", children: R })
|
|
747
|
+
] });
|
|
748
|
+
}
|
|
749
|
+
function xr({
|
|
750
|
+
center: f,
|
|
751
|
+
children: p
|
|
752
|
+
}) {
|
|
753
|
+
return /* @__PURE__ */ n.jsx(
|
|
754
|
+
"div",
|
|
755
|
+
{
|
|
756
|
+
className: `${f ? "justify-center" : ""} bg-[#242424] p-3 flex flex-col w-screen h-screen items-center`,
|
|
757
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children: p })
|
|
758
|
+
}
|
|
759
|
+
);
|
|
740
760
|
}
|
|
741
761
|
export {
|
|
742
|
-
|
|
762
|
+
ur as Arrow2TopRight,
|
|
743
763
|
fr as Button,
|
|
744
764
|
dr as Heading,
|
|
745
765
|
vr as List,
|
|
746
766
|
hr as ListItem,
|
|
747
767
|
pr as Loupe,
|
|
748
|
-
mr as
|
|
768
|
+
mr as Welcome,
|
|
769
|
+
xr as Window
|
|
749
770
|
};
|
|
750
771
|
//# sourceMappingURL=index.es.js.map
|