webadwaita 0.0.1 → 0.0.2

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({ children, action, }: {
8
+ children: React.ReactNode;
9
+ action?: 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: {} }, D = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -12,22 +12,22 @@ var X = { exports: {} }, F = {};
12
12
  var xe;
13
13
  function ur() {
14
14
  if (xe)
15
- return F;
15
+ return D;
16
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);
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 S(y, f, w) {
19
+ var v, m = {}, _ = null, N = null;
20
+ w !== void 0 && (_ = "" + w), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (N = 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) && (m[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
+ m[v] === void 0 && (m[v] = f[v]);
26
+ return { $$typeof: E, type: y, key: _, ref: N, props: m, _owner: A.current };
27
27
  }
28
- return F.Fragment = S, F.jsx = j, F.jsxs = j, F;
28
+ return D.Fragment = M, D.jsx = S, D.jsxs = S, D;
29
29
  }
30
- var A = {};
30
+ var F = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -40,7 +40,7 @@ var A = {};
40
40
  var Te;
41
41
  function sr() {
42
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";
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"), S = 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"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), N = 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;
@@ -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 === w || e === v || De || e === N || Se || je || ke || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === m || e.$$typeof === S || 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.
@@ -84,7 +84,7 @@ function sr() {
84
84
  function ee(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function m(e) {
87
+ function b(e) {
88
88
  if (e == null)
89
89
  return null;
90
90
  if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -94,11 +94,11 @@ 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
103
  case w:
104
104
  return "Suspense";
@@ -110,18 +110,18 @@ function sr() {
110
110
  case y:
111
111
  var r = e;
112
112
  return ee(r) + ".Consumer";
113
- case j:
113
+ case S:
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 m:
119
119
  var n = e.displayName || null;
120
- return n !== null ? n : m(e.type) || "Memo";
120
+ return n !== null ? n : b(e.type) || "Memo";
121
121
  case _: {
122
122
  var o = e, u = o._payload, i = o._init;
123
123
  try {
124
- return m(i(u));
124
+ return b(i(u));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -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, j = 0, re, te, ne, ae, ie, oe, ue;
133
133
  function se() {
134
134
  }
135
135
  se.__reactDisabledLog = !0;
136
136
  function Ne() {
137
137
  {
138
- if (k === 0) {
138
+ if (j === 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
+ j++;
157
157
  }
158
158
  }
159
159
  function We() {
160
160
  {
161
- if (k--, k === 0) {
161
+ if (j--, j === 0) {
162
162
  var e = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
@@ -188,11 +188,11 @@ 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
+ j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
194
  var U = O.ReactCurrentDispatcher, B;
195
- function $(e, r, t) {
195
+ function W(e, r, t) {
196
196
  {
197
197
  if (B === void 0)
198
198
  try {
@@ -205,16 +205,16 @@ function sr() {
205
205
  ` + B + e;
206
206
  }
207
207
  }
208
- var q = !1, Y;
208
+ var q = !1, $;
209
209
  {
210
210
  var $e = typeof WeakMap == "function" ? WeakMap : Map;
211
- Y = new $e();
211
+ $ = new $e();
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 = $.get(e);
218
218
  if (t !== void 0)
219
219
  return t;
220
220
  }
@@ -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,7 +269,7 @@ 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" && $.set(e, p), p;
273
273
  }
274
274
  while (s >= 1 && l >= 0);
275
275
  break;
@@ -278,8 +278,8 @@ function sr() {
278
278
  } finally {
279
279
  q = !1, U.current = u, We(), 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 P = e ? e.displayName || e.name : "", Re = P ? W(P) : "";
282
+ return typeof e == "function" && $.set(e, Re), Re;
283
283
  }
284
284
  function Ye(e, r, t) {
285
285
  return le(e, !1);
@@ -288,46 +288,46 @@ 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")
295
295
  return le(e, Le(e));
296
296
  if (typeof e == "string")
297
- return $(e);
297
+ return W(e);
298
298
  switch (e) {
299
299
  case w:
300
- return $("Suspense");
300
+ return W("Suspense");
301
301
  case v:
302
- return $("SuspenseList");
302
+ return W("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
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 m:
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 = O.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 k = O.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" && k.current && r && k.current.stateNode !== r) {
396
+ var t = b(k.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', b(k.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,26 +463,26 @@ 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, k.current, i);
467
467
  }
468
468
  }
469
- var z = O.ReactCurrentOwner, he = O.ReactDebugCurrentFrame;
469
+ var z = O.ReactCurrentOwner, me = O.ReactDebugCurrentFrame;
470
470
  function C(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
+ me.setExtraStackFrame(t);
474
474
  } else
475
- he.setExtraStackFrame(null);
475
+ me.setExtraStackFrame(null);
476
476
  }
477
477
  var H;
478
478
  H = !1;
479
479
  function K(e) {
480
480
  return typeof e == "object" && e !== null && e.$$typeof === E;
481
481
  }
482
- function me() {
482
+ function be() {
483
483
  {
484
484
  if (z.current) {
485
- var e = m(z.current.type);
485
+ var e = b(z.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -502,10 +502,10 @@ 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
- var r = me();
508
+ var r = be();
509
509
  if (!r) {
510
510
  var t = typeof e == "string" ? e : e.displayName || e.name;
511
511
  t && (r = `
@@ -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 " + b(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);
529
529
  }
530
530
  }
531
531
  function ye(e, r) {
@@ -557,16 +557,16 @@ 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 === m))
561
561
  t = r.propTypes;
562
562
  else
563
563
  return;
564
564
  if (t) {
565
- var n = m(r);
565
+ var n = b(r);
566
566
  Ve(t, e.props, "prop", n, e);
567
567
  } else if (r.PropTypes !== void 0 && !H) {
568
568
  H = !0;
569
- var o = m(r);
569
+ var o = b(r);
570
570
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
571
571
  }
572
572
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -591,9 +591,9 @@ Check the top-level render call using <` + t + ">.");
591
591
  var a = "";
592
592
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " 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
593
  var d = Qe(o);
594
- d ? a += d : a += me();
594
+ d ? a += d : a += be();
595
595
  var s;
596
- e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === E ? (s = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
596
+ e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === E ? (s = "<" + (b(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
597
597
  }
598
598
  var l = Ze(e, r, t, o, u);
599
599
  if (l == null)
@@ -621,26 +621,33 @@ 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
+ F.Fragment = T, F.jsx = ir, F.jsxs = or;
625
+ }()), F;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? X.exports = ur() : X.exports = sr();
628
628
  var x = X.exports;
629
629
  function fr({ children: g }) {
630
630
  return /* @__PURE__ */ x.jsx("p", { className: "font-bold dark:text-white", children: g });
631
631
  }
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
- ] })) });
632
+ function cr({ children: g }) {
633
+ return /* @__PURE__ */ x.jsx("div", { className: "flex flex-col divide-y divide-[#242424]", children: g });
634
+ }
635
+ function dr({
636
+ children: g,
637
+ action: E
638
+ }) {
639
+ return /* @__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: [
640
+ /* @__PURE__ */ x.jsx("div", { className: "flex flex-col", children: g }),
641
+ /* @__PURE__ */ x.jsx("div", { className: "flex flex-row", children: E })
642
+ ] });
637
643
  }
638
- function dr({ children: g }) {
644
+ function vr({ children: g }) {
639
645
  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 }) });
640
646
  }
641
647
  export {
642
648
  fr as Heading,
643
649
  cr as List,
644
- dr as Window
650
+ dr as ListItem,
651
+ vr as Window
645
652
  };
646
653
  //# sourceMappingURL=index.es.js.map