webadwaita 0.0.1 → 0.0.3
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 +6 -1
- package/dist/index.es.js +107 -96
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,12 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
2
2
|
|
|
3
3
|
export declare function Heading({ children }: any): JSX_2.Element;
|
|
4
4
|
|
|
5
|
-
export declare function List({
|
|
5
|
+
export declare function List({ children }: any): JSX_2.Element;
|
|
6
|
+
|
|
7
|
+
export declare function ListItem({ onClick, children, }: {
|
|
8
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}): JSX_2.Element;
|
|
6
11
|
|
|
7
12
|
declare function Window_2({ children }: any): JSX_2.Element;
|
|
8
13
|
export { Window_2 as Window }
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import we from "react";
|
|
2
|
-
var X = { exports: {} },
|
|
2
|
+
var X = { exports: {} }, k = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,25 +9,25 @@ var X = { exports: {} }, F = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
12
|
+
var Te;
|
|
13
13
|
function ur() {
|
|
14
|
-
if (
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
var g = we, E = Symbol.for("react.element"),
|
|
18
|
-
function
|
|
19
|
-
var v,
|
|
20
|
-
|
|
14
|
+
if (Te)
|
|
15
|
+
return k;
|
|
16
|
+
Te = 1;
|
|
17
|
+
var g = we, E = Symbol.for("react.element"), M = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, A = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function P(y, f, x) {
|
|
19
|
+
var v, b = {}, _ = null, W = null;
|
|
20
|
+
x !== void 0 && (_ = "" + x), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (W = f.ref);
|
|
21
21
|
for (v in f)
|
|
22
|
-
T.call(f, v) && !
|
|
22
|
+
T.call(f, v) && !I.hasOwnProperty(v) && (b[v] = f[v]);
|
|
23
23
|
if (y && y.defaultProps)
|
|
24
24
|
for (v in f = y.defaultProps, f)
|
|
25
|
-
|
|
26
|
-
return { $$typeof: E, type: y, key: _, ref: W, props:
|
|
25
|
+
b[v] === void 0 && (b[v] = f[v]);
|
|
26
|
+
return { $$typeof: E, type: y, key: _, ref: W, props: b, _owner: A.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return k.Fragment = M, k.jsx = P, k.jsxs = P, k;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var D = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,17 +37,17 @@ var A = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
40
|
+
var xe;
|
|
41
41
|
function sr() {
|
|
42
|
-
return
|
|
43
|
-
var g = we, E = Symbol.for("react.element"),
|
|
42
|
+
return xe || (xe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var g = we, E = Symbol.for("react.element"), M = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Z = Symbol.iterator, Oe = "@@iterator";
|
|
44
44
|
function Ce(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var r = Z && e[Z] || e[Oe];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var w = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function c(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -57,7 +57,7 @@ function sr() {
|
|
|
57
57
|
}
|
|
58
58
|
function Pe(e, r, t) {
|
|
59
59
|
{
|
|
60
|
-
var n =
|
|
60
|
+
var n = w.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
61
61
|
o !== "" && (r += "%s", t = t.concat([o]));
|
|
62
62
|
var u = t.map(function(i) {
|
|
63
63
|
return String(i);
|
|
@@ -68,7 +68,7 @@ function sr() {
|
|
|
68
68
|
var Se = !1, je = !1, ke = !1, De = !1, Fe = !1, Q;
|
|
69
69
|
Q = Symbol.for("react.module.reference");
|
|
70
70
|
function Ae(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === T || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === T || e === I || Fe || e === A || e === x || e === v || De || e === W || Se || je || ke || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === P || e.$$typeof === y || e.$$typeof === f || // 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.
|
|
@@ -94,13 +94,13 @@ function sr() {
|
|
|
94
94
|
switch (e) {
|
|
95
95
|
case T:
|
|
96
96
|
return "Fragment";
|
|
97
|
-
case
|
|
97
|
+
case M:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case N:
|
|
100
|
-
return "Profiler";
|
|
101
99
|
case I:
|
|
100
|
+
return "Profiler";
|
|
101
|
+
case A:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case x:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case v:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -110,12 +110,12 @@ function sr() {
|
|
|
110
110
|
case y:
|
|
111
111
|
var r = e;
|
|
112
112
|
return ee(r) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case P:
|
|
114
114
|
var t = e;
|
|
115
115
|
return ee(t._context) + ".Provider";
|
|
116
116
|
case f:
|
|
117
117
|
return Ie(e, e.render, "ForwardRef");
|
|
118
|
-
case
|
|
118
|
+
case b:
|
|
119
119
|
var n = e.displayName || null;
|
|
120
120
|
return n !== null ? n : m(e.type) || "Memo";
|
|
121
121
|
case _: {
|
|
@@ -129,13 +129,13 @@ function sr() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var R = Object.assign,
|
|
132
|
+
var R = Object.assign, S = 0, re, te, ne, ae, ie, oe, ue;
|
|
133
133
|
function se() {
|
|
134
134
|
}
|
|
135
135
|
se.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function We() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
138
|
+
if (S === 0) {
|
|
139
139
|
re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, ue = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
@@ -153,12 +153,12 @@ function sr() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
S++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function $e() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (S--, S === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
@@ -188,10 +188,10 @@ function sr() {
|
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
S < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var U =
|
|
194
|
+
var U = w.ReactCurrentDispatcher, B;
|
|
195
195
|
function $(e, r, t) {
|
|
196
196
|
{
|
|
197
197
|
if (B === void 0)
|
|
@@ -205,16 +205,16 @@ function sr() {
|
|
|
205
205
|
` + B + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var q = !1,
|
|
208
|
+
var q = !1, N;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var Ne = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
N = new Ne();
|
|
212
212
|
}
|
|
213
213
|
function le(e, r) {
|
|
214
214
|
if (!e || q)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var t =
|
|
217
|
+
var t = N.get(e);
|
|
218
218
|
if (t !== void 0)
|
|
219
219
|
return t;
|
|
220
220
|
}
|
|
@@ -223,7 +223,7 @@ function sr() {
|
|
|
223
223
|
var o = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var u;
|
|
226
|
-
u = U.current, U.current = null,
|
|
226
|
+
u = U.current, U.current = null, We();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
229
|
var i = function() {
|
|
@@ -236,29 +236,29 @@ function sr() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(i, []);
|
|
239
|
-
} catch (
|
|
240
|
-
n =
|
|
239
|
+
} catch (h) {
|
|
240
|
+
n = h;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], i);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
i.call();
|
|
246
|
-
} catch (
|
|
247
|
-
n =
|
|
246
|
+
} catch (h) {
|
|
247
|
+
n = h;
|
|
248
248
|
}
|
|
249
249
|
e.call(i.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
n =
|
|
254
|
+
} catch (h) {
|
|
255
|
+
n = h;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var a =
|
|
259
|
+
} catch (h) {
|
|
260
|
+
if (h && n && typeof h.stack == "string") {
|
|
261
|
+
for (var a = h.stack.split(`
|
|
262
262
|
`), d = n.stack.split(`
|
|
263
263
|
`), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
|
|
264
264
|
l--;
|
|
@@ -269,17 +269,17 @@ function sr() {
|
|
|
269
269
|
if (s--, l--, l < 0 || a[s] !== d[l]) {
|
|
270
270
|
var p = `
|
|
271
271
|
` + a[s].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
272
|
+
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, p), p;
|
|
273
273
|
}
|
|
274
274
|
while (s >= 1 && l >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
q = !1, U.current = u,
|
|
279
|
+
q = !1, U.current = u, $e(), Error.prepareStackTrace = o;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var C = e ? e.displayName || e.name : "", Re = C ? $(C) : "";
|
|
282
|
+
return typeof e == "function" && N.set(e, Re), Re;
|
|
283
283
|
}
|
|
284
284
|
function Ye(e, r, t) {
|
|
285
285
|
return le(e, !1);
|
|
@@ -288,7 +288,7 @@ function sr() {
|
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Y(e, r, t) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
@@ -296,7 +296,7 @@ function sr() {
|
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return $(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case x:
|
|
300
300
|
return $("Suspense");
|
|
301
301
|
case v:
|
|
302
302
|
return $("SuspenseList");
|
|
@@ -305,29 +305,29 @@ function sr() {
|
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case f:
|
|
307
307
|
return Ye(e.render);
|
|
308
|
-
case
|
|
309
|
-
return
|
|
308
|
+
case b:
|
|
309
|
+
return Y(e.type, r, t);
|
|
310
310
|
case _: {
|
|
311
311
|
var n = e, o = n._payload, u = n._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return Y(u(o), r, t);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var L = Object.prototype.hasOwnProperty, fe = {}, ce = w.ReactDebugCurrentFrame;
|
|
321
|
+
function V(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner, t =
|
|
323
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
324
324
|
ce.setExtraStackFrame(t);
|
|
325
325
|
} else
|
|
326
326
|
ce.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
328
|
function Ve(e, r, t, n, o) {
|
|
329
329
|
{
|
|
330
|
-
var u = Function.call.bind(
|
|
330
|
+
var u = Function.call.bind(L);
|
|
331
331
|
for (var i in e)
|
|
332
332
|
if (u(e, i)) {
|
|
333
333
|
var a = void 0;
|
|
@@ -340,7 +340,7 @@ function sr() {
|
|
|
340
340
|
} catch (s) {
|
|
341
341
|
a = s;
|
|
342
342
|
}
|
|
343
|
-
a && !(a instanceof Error) && (
|
|
343
|
+
a && !(a instanceof Error) && (V(o), c("%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", t, i, typeof a), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(o), c("Failed %s type: %s", t, a.message), V(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -368,7 +368,7 @@ function sr() {
|
|
|
368
368
|
if (Be(e))
|
|
369
369
|
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ue(e)), de(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var j = w.ReactCurrentOwner, qe = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
@@ -376,7 +376,7 @@ function sr() {
|
|
|
376
376
|
}, pe, ge, G;
|
|
377
377
|
G = {};
|
|
378
378
|
function Je(e) {
|
|
379
|
-
if (
|
|
379
|
+
if (L.call(e, "ref")) {
|
|
380
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (r && r.isReactWarning)
|
|
382
382
|
return !1;
|
|
@@ -384,7 +384,7 @@ function sr() {
|
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
386
|
function Ge(e) {
|
|
387
|
-
if (
|
|
387
|
+
if (L.call(e, "key")) {
|
|
388
388
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (r && r.isReactWarning)
|
|
390
390
|
return !1;
|
|
@@ -392,9 +392,9 @@ function sr() {
|
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
394
|
function ze(e, r) {
|
|
395
|
-
if (typeof e.ref == "string" &&
|
|
396
|
-
var t = m(
|
|
397
|
-
G[t] || (c('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', m(
|
|
395
|
+
if (typeof e.ref == "string" && j.current && r && j.current.stateNode !== r) {
|
|
396
|
+
var t = m(j.current.type);
|
|
397
|
+
G[t] || (c('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', m(j.current.type), e.ref), G[t] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function He(e, r) {
|
|
@@ -453,7 +453,7 @@ function sr() {
|
|
|
453
453
|
var u, i = {}, a = null, d = null;
|
|
454
454
|
t !== void 0 && (ve(t), a = "" + t), Ge(r) && (ve(r.key), a = "" + r.key), Je(r) && (d = r.ref, ze(r, o));
|
|
455
455
|
for (u in r)
|
|
456
|
-
|
|
456
|
+
L.call(r, u) && !qe.hasOwnProperty(u) && (i[u] = r[u]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var s = e.defaultProps;
|
|
459
459
|
for (u in s)
|
|
@@ -463,16 +463,16 @@ function sr() {
|
|
|
463
463
|
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
464
|
a && He(i, l), d && Ke(i, l);
|
|
465
465
|
}
|
|
466
|
-
return Xe(e, a, d, o, n,
|
|
466
|
+
return Xe(e, a, d, o, n, j.current, i);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var z =
|
|
470
|
-
function
|
|
469
|
+
var z = w.ReactCurrentOwner, be = w.ReactDebugCurrentFrame;
|
|
470
|
+
function O(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner, t =
|
|
473
|
-
|
|
472
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
473
|
+
be.setExtraStackFrame(t);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
be.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
477
|
var H;
|
|
478
478
|
H = !1;
|
|
@@ -502,7 +502,7 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
502
502
|
return "";
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
var
|
|
505
|
+
var he = {};
|
|
506
506
|
function er(e) {
|
|
507
507
|
{
|
|
508
508
|
var r = me();
|
|
@@ -521,11 +521,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
521
521
|
return;
|
|
522
522
|
e._store.validated = !0;
|
|
523
523
|
var t = er(r);
|
|
524
|
-
if (
|
|
524
|
+
if (he[t])
|
|
525
525
|
return;
|
|
526
|
-
|
|
526
|
+
he[t] = !0;
|
|
527
527
|
var n = "";
|
|
528
|
-
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + m(e._owner.type) + "."),
|
|
528
|
+
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + m(e._owner.type) + "."), O(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), O(null);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
function ye(e, r) {
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
557
557
|
t = r.propTypes;
|
|
558
558
|
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
559
559
|
// Inner props are checked in the reconciler.
|
|
560
|
-
r.$$typeof ===
|
|
560
|
+
r.$$typeof === b))
|
|
561
561
|
t = r.propTypes;
|
|
562
562
|
else
|
|
563
563
|
return;
|
|
@@ -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 n = r[t];
|
|
579
579
|
if (n !== "children" && n !== "key") {
|
|
580
|
-
|
|
580
|
+
O(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), O(null);
|
|
581
581
|
break;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
e.ref !== null && (
|
|
584
|
+
e.ref !== null && (O(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
function _e(e, r, t, n, o, u) {
|
|
@@ -603,8 +603,8 @@ Check the top-level render call using <` + t + ">.");
|
|
|
603
603
|
if (p !== void 0)
|
|
604
604
|
if (n)
|
|
605
605
|
if (J(p)) {
|
|
606
|
-
for (var
|
|
607
|
-
ye(p[
|
|
606
|
+
for (var C = 0; C < p.length; C++)
|
|
607
|
+
ye(p[C], e);
|
|
608
608
|
Object.freeze && Object.freeze(p);
|
|
609
609
|
} else
|
|
610
610
|
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -621,26 +621,37 @@ Check the top-level render call using <` + t + ">.");
|
|
|
621
621
|
return _e(e, r, t, !1);
|
|
622
622
|
}
|
|
623
623
|
var ir = ar, or = nr;
|
|
624
|
-
|
|
625
|
-
}()),
|
|
624
|
+
D.Fragment = T, D.jsx = ir, D.jsxs = or;
|
|
625
|
+
}()), D;
|
|
626
626
|
}
|
|
627
627
|
process.env.NODE_ENV === "production" ? X.exports = ur() : X.exports = sr();
|
|
628
|
-
var
|
|
628
|
+
var F = X.exports;
|
|
629
629
|
function fr({ children: g }) {
|
|
630
|
-
return /* @__PURE__ */
|
|
630
|
+
return /* @__PURE__ */ F.jsx("p", { className: "font-bold dark:text-white", children: g });
|
|
631
|
+
}
|
|
632
|
+
function cr({ children: g }) {
|
|
633
|
+
return /* @__PURE__ */ F.jsx("div", { className: "flex flex-col divide-y divide-[#242424] shadow", children: g });
|
|
631
634
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
function dr({
|
|
636
|
+
onClick: g,
|
|
637
|
+
children: E
|
|
638
|
+
}) {
|
|
639
|
+
return /* @__PURE__ */ F.jsx(
|
|
640
|
+
"div",
|
|
641
|
+
{
|
|
642
|
+
onClick: g,
|
|
643
|
+
className: "flex flex-row gap-2 dark:hover:bg-[#3c3c3c] transition duration-300 justify-between items-center p-4 first:rounded-t-lg last:rounded-b-lg text-white dark:bg-[#363636]",
|
|
644
|
+
children: E
|
|
645
|
+
}
|
|
646
|
+
);
|
|
637
647
|
}
|
|
638
|
-
function
|
|
639
|
-
return /* @__PURE__ */
|
|
648
|
+
function vr({ children: g }) {
|
|
649
|
+
return /* @__PURE__ */ F.jsx("div", { className: "bg-[#242424] p-3 flex flex-col w-screen h-screen items-center", children: /* @__PURE__ */ F.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children: g }) });
|
|
640
650
|
}
|
|
641
651
|
export {
|
|
642
652
|
fr as Heading,
|
|
643
653
|
cr as List,
|
|
644
|
-
dr as
|
|
654
|
+
dr as ListItem,
|
|
655
|
+
vr as Window
|
|
645
656
|
};
|
|
646
657
|
//# sourceMappingURL=index.es.js.map
|