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 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({ items }: any): JSX_2.Element;
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: {} }, F = {};
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 xe;
12
+ var Te;
13
13
  function ur() {
14
- if (xe)
15
- return F;
16
- xe = 1;
17
- var g = we, E = Symbol.for("react.element"), S = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, I = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, N = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function j(y, f, w) {
19
- var v, h = {}, _ = null, W = null;
20
- w !== void 0 && (_ = "" + w), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (W = f.ref);
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) && !N.hasOwnProperty(v) && (h[v] = 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
- h[v] === void 0 && (h[v] = f[v]);
26
- return { $$typeof: E, type: y, key: _, ref: W, props: h, _owner: I.current };
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 F.Fragment = S, F.jsx = j, F.jsxs = j, F;
28
+ return k.Fragment = M, k.jsx = P, k.jsxs = P, k;
29
29
  }
30
- var A = {};
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 Te;
40
+ var xe;
41
41
  function sr() {
42
- return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
43
- var g = we, E = Symbol.for("react.element"), S = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Z = Symbol.iterator, Oe = "@@iterator";
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 O = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
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 = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
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 === N || Fe || e === I || e === w || e === v || De || e === W || Se || je || ke || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === h || e.$$typeof === j || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
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 S:
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 w:
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 j:
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 h:
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, k = 0, re, te, ne, ae, ie, oe, ue;
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 Ne() {
136
+ function We() {
137
137
  {
138
- if (k === 0) {
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
- k++;
156
+ S++;
157
157
  }
158
158
  }
159
- function We() {
159
+ function $e() {
160
160
  {
161
- if (k--, k === 0) {
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
- k < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
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 = O.ReactCurrentDispatcher, B;
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, Y;
208
+ var q = !1, N;
209
209
  {
210
- var $e = typeof WeakMap == "function" ? WeakMap : Map;
211
- Y = new $e();
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 = Y.get(e);
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, Ne();
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 (b) {
240
- n = b;
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 (b) {
247
- n = b;
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 (b) {
255
- n = b;
254
+ } catch (h) {
255
+ n = h;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (b) {
260
- if (b && n && typeof b.stack == "string") {
261
- for (var a = b.stack.split(`
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" && Y.set(e, p), p;
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, We(), Error.prepareStackTrace = o;
279
+ q = !1, U.current = u, $e(), Error.prepareStackTrace = o;
280
280
  }
281
- var P = e ? e.displayName || e.name : "", Re = P ? $(P) : "";
282
- return typeof e == "function" && Y.set(e, Re), Re;
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 L(e, r, t) {
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 w:
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 h:
309
- return L(e.type, r, t);
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 L(u(o), r, t);
313
+ return Y(u(o), r, t);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var V = Object.prototype.hasOwnProperty, fe = {}, ce = O.ReactDebugCurrentFrame;
321
- function M(e) {
320
+ var L = Object.prototype.hasOwnProperty, fe = {}, ce = w.ReactDebugCurrentFrame;
321
+ function V(e) {
322
322
  if (e) {
323
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
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(V);
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) && (M(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), M(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, M(o), c("Failed %s type: %s", t, a.message), M(null));
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 D = O.ReactCurrentOwner, qe = {
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 (V.call(e, "ref")) {
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 (V.call(e, "key")) {
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" && D.current && r && D.current.stateNode !== r) {
396
- var t = m(D.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(D.current.type), e.ref), G[t] = !0);
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
- V.call(r, u) && !qe.hasOwnProperty(u) && (i[u] = r[u]);
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, D.current, i);
466
+ return Xe(e, a, d, o, n, j.current, i);
467
467
  }
468
468
  }
469
- var z = O.ReactCurrentOwner, he = O.ReactDebugCurrentFrame;
470
- function C(e) {
469
+ var z = w.ReactCurrentOwner, be = w.ReactDebugCurrentFrame;
470
+ function O(e) {
471
471
  if (e) {
472
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
473
- he.setExtraStackFrame(t);
472
+ var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
473
+ be.setExtraStackFrame(t);
474
474
  } else
475
- he.setExtraStackFrame(null);
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 be = {};
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 (be[t])
524
+ if (he[t])
525
525
  return;
526
- be[t] = !0;
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) + "."), C(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), C(null);
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 === h))
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
- C(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), C(null);
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 && (C(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), C(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 P = 0; P < p.length; P++)
607
- ye(p[P], e);
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
- A.Fragment = T, A.jsx = ir, A.jsxs = or;
625
- }()), A;
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 x = X.exports;
628
+ var F = X.exports;
629
629
  function fr({ children: g }) {
630
- return /* @__PURE__ */ x.jsx("p", { className: "font-bold dark:text-white", children: g });
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 cr({ items: g }) {
633
- return /* @__PURE__ */ x.jsx("div", { className: "flex flex-col divide-y divide-[#242424]", children: g.map(({ label: E, action: S }) => /* @__PURE__ */ x.jsxs("div", { 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]", children: [
634
- /* @__PURE__ */ x.jsx("div", { className: "flex flex-col", children: E }),
635
- /* @__PURE__ */ x.jsx("div", { className: "flex flex-row", children: S })
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 dr({ children: g }) {
639
- return /* @__PURE__ */ x.jsx("div", { className: "bg-[#242424] p-3 flex flex-col w-screen h-screen items-center", children: /* @__PURE__ */ x.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children: g }) });
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 Window
654
+ dr as ListItem,
655
+ vr as Window
645
656
  };
646
657
  //# sourceMappingURL=index.es.js.map