webadwaita 0.0.9 → 0.0.11

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
@@ -9,6 +9,10 @@ export declare function Button({ variant, icon, circle, children, }: {
9
9
  children?: React.ReactNode;
10
10
  }): JSX_2.Element;
11
11
 
12
+ export declare function Entry({ placeholder, ...props }: {
13
+ placeholder?: string;
14
+ }): JSX_2.Element;
15
+
12
16
  export declare function Heading({ children }: any): JSX_2.Element;
13
17
 
14
18
  export declare function List({ children }: any): JSX_2.Element;
package/dist/index.es.js CHANGED
@@ -14,16 +14,16 @@ function sr() {
14
14
  if (Re)
15
15
  return z;
16
16
  Re = 1;
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]);
17
+ var f = we, d = Symbol.for("react.element"), R = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, b = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function S(_, v, T) {
19
+ var m, y = {}, w = null, N = null;
20
+ T !== void 0 && (w = "" + T), v.key !== void 0 && (w = "" + v.key), v.ref !== void 0 && (N = v.ref);
21
+ for (m in v)
22
+ g.call(v, m) && !$.hasOwnProperty(m) && (y[m] = v[m]);
23
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 };
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: b.current };
27
27
  }
28
28
  return z.Fragment = R, z.jsx = S, z.jsxs = S, z;
29
29
  }
@@ -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, 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
- function ke(e) {
43
+ var f = we, d = Symbol.for("react.element"), R = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), _ = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), T = 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
+ function Te(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var r = Z && e[Z] || e[Te];
47
+ var r = Z && e[Z] || e[ke];
48
48
  return typeof r == "function" ? r : null;
49
49
  }
50
50
  var P = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function v(e) {
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];
@@ -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 === 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
71
+ return !!(typeof e == "string" || typeof e == "function" || e === g || e === $ || Fe || e === b || e === T || e === m || De || e === N || Oe || Ce || Se || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === y || e.$$typeof === S || 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" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
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 N:
99
+ case $:
100
100
  return "Profiler";
101
- case E:
101
+ case b:
102
102
  return "StrictMode";
103
- case k:
103
+ case T:
104
104
  return "Suspense";
105
105
  case m:
106
106
  return "SuspenseList";
@@ -113,9 +113,9 @@ function lr() {
113
113
  case S:
114
114
  var t = e;
115
115
  return ee(t._context) + ".Provider";
116
- case d:
116
+ case v:
117
117
  return Ae(e, e.render, "ForwardRef");
118
- case b:
118
+ case y:
119
119
  var a = e.displayName || null;
120
120
  return a !== null ? a : j(e.type) || "Memo";
121
121
  case w: {
@@ -129,11 +129,11 @@ function lr() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var T = Object.assign, D = 0, re, te, ne, ae, ie, oe, se;
132
+ var k = Object.assign, D = 0, re, te, ne, ae, ie, oe, se;
133
133
  function le() {
134
134
  }
135
135
  le.__reactDisabledLog = !0;
136
- function Ne() {
136
+ function $e() {
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;
@@ -156,7 +156,7 @@ function lr() {
156
156
  D++;
157
157
  }
158
158
  }
159
- function $e() {
159
+ function Ne() {
160
160
  {
161
161
  if (D--, D === 0) {
162
162
  var e = {
@@ -165,30 +165,30 @@ function lr() {
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: T({}, e, {
168
+ log: k({}, e, {
169
169
  value: re
170
170
  }),
171
- info: T({}, e, {
171
+ info: k({}, e, {
172
172
  value: te
173
173
  }),
174
- warn: T({}, e, {
174
+ warn: k({}, e, {
175
175
  value: ne
176
176
  }),
177
- error: T({}, e, {
177
+ error: k({}, e, {
178
178
  value: ae
179
179
  }),
180
- group: T({}, e, {
180
+ group: k({}, e, {
181
181
  value: ie
182
182
  }),
183
- groupCollapsed: T({}, e, {
183
+ groupCollapsed: k({}, e, {
184
184
  value: oe
185
185
  }),
186
- groupEnd: T({}, e, {
186
+ groupEnd: k({}, e, {
187
187
  value: se
188
188
  })
189
189
  });
190
190
  }
191
- D < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ D < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
194
  var V = P.ReactCurrentDispatcher, U;
@@ -210,7 +210,7 @@ function lr() {
210
210
  var Ie = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  W = new Ie();
212
212
  }
213
- function ce(e, r) {
213
+ function ue(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, Ne();
226
+ l = V.current, V.current = null, $e();
227
227
  try {
228
228
  if (r) {
229
229
  var o = function() {
@@ -236,53 +236,53 @@ function lr() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(o, []);
239
- } catch (y) {
240
- a = y;
239
+ } catch (E) {
240
+ a = E;
241
241
  }
242
242
  Reflect.construct(e, [], o);
243
243
  } else {
244
244
  try {
245
245
  o.call();
246
- } catch (y) {
247
- a = y;
246
+ } catch (E) {
247
+ a = E;
248
248
  }
249
249
  e.call(o.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (y) {
255
- a = y;
254
+ } catch (E) {
255
+ a = E;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (y) {
260
- if (y && a && typeof y.stack == "string") {
261
- for (var i = y.stack.split(`
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)
259
+ } catch (E) {
260
+ if (E && a && typeof E.stack == "string") {
261
+ for (var i = E.stack.split(`
262
+ `), p = a.stack.split(`
263
+ `), u = i.length - 1, c = p.length - 1; u >= 1 && c >= 0 && i[u] !== p[c]; )
264
+ c--;
265
+ for (; u >= 1 && c >= 0; u--, c--)
266
+ if (i[u] !== p[c]) {
267
+ if (u !== 1 || c !== 1)
268
268
  do
269
- if (c--, u--, u < 0 || i[c] !== h[u]) {
269
+ if (u--, c--, c < 0 || i[u] !== p[c]) {
270
270
  var x = `
271
- ` + i[c].replace(" at new ", " at ");
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;
273
273
  }
274
- while (c >= 1 && u >= 0);
274
+ while (u >= 1 && c >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- B = !1, V.current = l, $e(), Error.prepareStackTrace = s;
279
+ B = !1, V.current = l, Ne(), Error.prepareStackTrace = s;
280
280
  }
281
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 ce(e, !1);
285
+ return ue(e, !1);
286
286
  }
287
287
  function Ye(e) {
288
288
  var r = e.prototype;
@@ -292,20 +292,20 @@ function lr() {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return ce(e, Ye(e));
295
+ return ue(e, Ye(e));
296
296
  if (typeof e == "string")
297
297
  return I(e);
298
298
  switch (e) {
299
- case k:
299
+ case T:
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 d:
306
+ case v:
307
307
  return We(e.render);
308
- case b:
308
+ case y:
309
309
  return Y(e.type, r, t);
310
310
  case w: {
311
311
  var a = e, s = a._payload, l = a._init;
@@ -317,7 +317,7 @@ function lr() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var L = Object.prototype.hasOwnProperty, ue = {}, fe = P.ReactDebugCurrentFrame;
320
+ var L = Object.prototype.hasOwnProperty, ce = {}, 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 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;
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
- } catch (c) {
341
- i = c;
340
+ } catch (u) {
341
+ i = u;
342
342
  }
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));
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,7 +366,7 @@ function lr() {
366
366
  }
367
367
  function ve(e) {
368
368
  if (Ue(e))
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);
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
371
  var F = P.ReactCurrentOwner, Be = {
372
372
  key: !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] || (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);
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(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, 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));
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, 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));
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: p,
425
+ $$typeof: d,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
428
  key: r,
@@ -450,20 +450,20 @@ function lr() {
450
450
  };
451
451
  function Ze(e, r, t, a, s) {
452
452
  {
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));
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) {
458
- var c = e.defaultProps;
459
- for (l in c)
460
- o[l] === void 0 && (o[l] = c[l]);
458
+ var u = e.defaultProps;
459
+ for (l in u)
460
+ o[l] === void 0 && (o[l] = u[l]);
461
461
  }
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);
462
+ if (i || p) {
463
+ var c = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
+ i && He(o, c), p && Ke(o, c);
465
465
  }
466
- return Xe(e, i, h, s, a, F.current, o);
466
+ return Xe(e, i, p, s, a, F.current, o);
467
467
  }
468
468
  }
469
469
  var J = P.ReactCurrentOwner, me = P.ReactDebugCurrentFrame;
@@ -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 === p;
480
+ return typeof e == "object" && e !== null && e.$$typeof === d;
481
481
  }
482
482
  function xe() {
483
483
  {
@@ -525,10 +525,10 @@ 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) + "."), 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);
528
+ e && e._owner && e._owner !== J.current && (a = " It was passed a child from " + j(e._owner.type) + "."), O(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), O(null);
529
529
  }
530
530
  }
531
- function je(e, r) {
531
+ function ye(e, r) {
532
532
  {
533
533
  if (typeof e != "object")
534
534
  return;
@@ -540,7 +540,7 @@ Check the top-level render call using <` + t + ">.");
540
540
  else if (K(e))
541
541
  e._store && (e._store.validated = !0);
542
542
  else if (e) {
543
- var s = ke(e);
543
+ var s = Te(e);
544
544
  if (typeof s == "function" && s !== e.entries)
545
545
  for (var l = s.call(e), o; !(o = l.next()).done; )
546
546
  K(o.value) && be(o.value, r);
@@ -555,9 +555,9 @@ 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 === d || // Note: Memo only checks outer props here.
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
- r.$$typeof === b))
560
+ r.$$typeof === y))
561
561
  t = r.propTypes;
562
562
  else
563
563
  return;
@@ -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
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
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 && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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,48 +577,48 @@ 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
- O(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), O(null);
580
+ O(e), h("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 && (O(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
584
+ e.ref !== null && (O(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
585
585
  }
586
586
  }
587
- function ye(e, r, t, a, s, l) {
587
+ function je(e, r, t, a, s, l) {
588
588
  {
589
589
  var o = ze(e);
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 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);
593
+ var p = Qe(s);
594
+ p ? i += p : i += xe();
595
+ var u;
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
- var u = Ze(e, r, t, s, l);
599
- if (u == null)
600
- return u;
598
+ var c = Ze(e, r, t, s, l);
599
+ if (c == null)
600
+ return c;
601
601
  if (o) {
602
602
  var x = r.children;
603
603
  if (x !== void 0)
604
604
  if (a)
605
605
  if (q(x)) {
606
606
  for (var C = 0; C < x.length; C++)
607
- je(x[C], e);
607
+ ye(x[C], e);
608
608
  Object.freeze && Object.freeze(x);
609
609
  } else
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.");
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
- je(x, e);
612
+ ye(x, e);
613
613
  }
614
- return e === g ? tr(u) : rr(u), u;
614
+ return e === g ? tr(c) : rr(c), c;
615
615
  }
616
616
  }
617
617
  function nr(e, r, t) {
618
- return ye(e, r, t, !0);
618
+ return je(e, r, t, !0);
619
619
  }
620
620
  function ar(e, r, t) {
621
- return ye(e, r, t, !1);
621
+ return je(e, r, t, !1);
622
622
  }
623
623
  var ir = ar, or = nr;
624
624
  A.Fragment = g, A.jsx = ir, A.jsxs = or;
@@ -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 ur() {
629
+ function cr() {
630
630
  return /* @__PURE__ */ n.jsxs(
631
631
  "svg",
632
632
  {
@@ -660,36 +660,56 @@ function ur() {
660
660
  }
661
661
  function fr({
662
662
  variant: f,
663
- icon: p,
663
+ icon: d,
664
664
  circle: R,
665
665
  children: g
666
666
  }) {
667
- let E = "";
667
+ let b = "";
668
668
  switch (f) {
669
+ case "pill":
670
+ b = `
671
+ ${g ? "px-8 py-3" : "px-3 py-3"}
672
+ flex flex-row dark:bg-[#3584e4] rounded-full dark:hover:bg-[#4990e7] transition dark:text-white gap-2 items-center justify-center font-bold`;
673
+ break;
669
674
  case "fill":
670
- E = `
671
- ${g ? "px-6 py-2" : "px-2 py-2"}
672
- flex flex-row dark:bg-[#454545] dark:hover:bg-[#4b4b4b] transition dark:text-white gap-2 items-center justify-center font-bold rounded-md`;
675
+ b = `
676
+ ${g ? "px-6 py-2 min-w-32" : "px-3 py-3"}
677
+ ${R ? "rounded-full" : "rounded-md"}
678
+ flex flex-row dark:bg-[#454545] dark:hover:bg-[#4b4b4b] transition dark:text-white gap-2 items-center justify-center font-bold`;
673
679
  break;
674
680
  default:
675
- E = `flex flex-row dark:hover:bg-[#3e3e3e] dark:text-white gap-2 p-2 transition items-center justify-center font-bold
681
+ b = `flex flex-row dark:hover:bg-[#3e3e3e] dark:text-white gap-2 p-2 transition items-center justify-center font-bold
676
682
  ${R ? "rounded-full" : "rounded-md"}`;
677
683
  break;
678
684
  }
679
- return /* @__PURE__ */ n.jsxs("button", { className: E, children: [
680
- p,
685
+ return /* @__PURE__ */ n.jsxs("button", { className: b, children: [
686
+ d,
681
687
  g
682
688
  ] });
683
689
  }
684
- function dr({ children: f }) {
685
- return /* @__PURE__ */ n.jsx("p", { className: "font-bold dark:text-white", children: f });
690
+ function dr({
691
+ placeholder: f,
692
+ ...d
693
+ }) {
694
+ return /* @__PURE__ */ n.jsx(
695
+ "input",
696
+ {
697
+ ...d,
698
+ type: "text",
699
+ placeholder: f,
700
+ className: "rounded-md dark:text-white py-2 px-3 dark:bg-[#3a3a3a]"
701
+ }
702
+ );
686
703
  }
687
704
  function vr({ children: f }) {
705
+ return /* @__PURE__ */ n.jsx("p", { className: "font-bold dark:text-white", children: f });
706
+ }
707
+ function hr({ children: f }) {
688
708
  return /* @__PURE__ */ n.jsx("div", { className: "flex flex-col divide-y divide-[#242424] shadow", children: f });
689
709
  }
690
- function hr({
710
+ function pr({
691
711
  onClick: f,
692
- children: p
712
+ children: d
693
713
  }) {
694
714
  return /* @__PURE__ */ n.jsx(
695
715
  "div",
@@ -697,11 +717,11 @@ function hr({
697
717
  onClick: f,
698
718
  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
719
  ${f ? "dark:hover:bg-[#3c3c3c]" : ""}`,
700
- children: p
720
+ children: d
701
721
  }
702
722
  );
703
723
  }
704
- function pr() {
724
+ function mr() {
705
725
  return /* @__PURE__ */ n.jsxs(
706
726
  "svg",
707
727
  {
@@ -727,7 +747,7 @@ function pr() {
727
747
  /* @__PURE__ */ n.jsx("g", { mask: "url(#b)", children: /* @__PURE__ */ n.jsx("g", { "clip-path": "url(#c)", transform: "matrix(1 0 0 1 -36 -876)", children: /* @__PURE__ */ n.jsx("path", { d: "m 550 182 c -0.351562 0.003906 -0.695312 0.101562 -1 0.28125 v 3.4375 c 0.304688 0.179688 0.648438 0.277344 1 0.28125 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 5 c -0.339844 0 -0.679688 0.058594 -1 0.175781 v 6.824219 h 4 v -4 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0" }) }) }),
728
748
  /* @__PURE__ */ n.jsx("g", { mask: "url(#d)", children: /* @__PURE__ */ n.jsx("g", { "clip-path": "url(#e)", transform: "matrix(1 0 0 1 -36 -876)", children: /* @__PURE__ */ n.jsx("path", { d: "m 569 182 v 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 5 v 7 h 3 v -4 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0" }) }) }),
729
749
  /* @__PURE__ */ n.jsx("g", { mask: "url(#f)", children: /* @__PURE__ */ n.jsx("g", { "clip-path": "url(#g)", transform: "matrix(1 0 0 1 -36 -876)", children: /* @__PURE__ */ n.jsx("path", { d: "m 573 182.269531 v 3.449219 c 0.613281 -0.355469 0.996094 -1.007812 1 -1.71875 c 0 -0.714844 -0.382812 -1.375 -1 -1.730469 z m 0 4.90625 v 6.824219 h 2 v -4 c 0 -1.269531 -0.800781 -2.402344 -2 -2.824219 z m 0 0" }) }) }),
730
- /* @__PURE__ */ n.jsxs("g", { fill: "#222222", children: [
750
+ /* @__PURE__ */ n.jsxs("g", { children: [
731
751
  /* @__PURE__ */ n.jsx("path", { d: "m 6.507812 1 c -3.027343 0 -5.507812 2.472656 -5.507812 5.5 s 2.480469 5.5 5.507812 5.5 c 3.027344 0 5.503907 -2.472656 5.503907 -5.5 s -2.476563 -5.5 -5.503907 -5.5 z m 0 2 c 1.945313 0 3.503907 1.554688 3.503907 3.5 s -1.558594 3.5 -3.503907 3.5 c -1.949218 0 -3.503906 -1.554688 -3.503906 -3.5 s 1.554688 -3.5 3.503906 -3.5 z m 0 0" }),
732
752
  /* @__PURE__ */ n.jsx("path", { d: "m 10 8.988281 c -0.40625 0.003907 -0.773438 0.25 -0.925781 0.625 c -0.152344 0.378907 -0.0625 0.808594 0.230469 1.09375 l 4.003906 4 c 0.25 0.261719 0.625 0.367188 0.972656 0.273438 c 0.351562 -0.089844 0.625 -0.363281 0.714844 -0.714844 c 0.09375 -0.347656 -0.011719 -0.722656 -0.273438 -0.972656 l -4.003906 -4 c -0.1875 -0.195313 -0.449219 -0.304688 -0.71875 -0.304688 z m 0 0" })
733
753
  ] })
@@ -735,37 +755,38 @@ function pr() {
735
755
  }
736
756
  );
737
757
  }
738
- function mr({
758
+ function xr({
739
759
  logo: f,
740
- title: p,
760
+ title: d,
741
761
  description: R
742
762
  }) {
743
763
  return /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-2 items-center", children: [
744
764
  f,
745
- /* @__PURE__ */ n.jsx("h1", { className: "text-2xl font-black dark:text-white", children: p }),
765
+ /* @__PURE__ */ n.jsx("h1", { className: "text-2xl font-black dark:text-white", children: d }),
746
766
  /* @__PURE__ */ n.jsx("p", { className: "dark:text-white", children: R })
747
767
  ] });
748
768
  }
749
- function xr({
769
+ function gr({
750
770
  center: f,
751
- children: p
771
+ children: d
752
772
  }) {
753
773
  return /* @__PURE__ */ n.jsx(
754
774
  "div",
755
775
  {
756
776
  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 })
777
+ children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col gap-3 max-w-xl w-full", children: d })
758
778
  }
759
779
  );
760
780
  }
761
781
  export {
762
- ur as Arrow2TopRight,
782
+ cr as Arrow2TopRight,
763
783
  fr as Button,
764
- dr as Heading,
765
- vr as List,
766
- hr as ListItem,
767
- pr as Loupe,
768
- mr as Welcome,
769
- xr as Window
784
+ dr as Entry,
785
+ vr as Heading,
786
+ hr as List,
787
+ pr as ListItem,
788
+ mr as Loupe,
789
+ xr as Welcome,
790
+ gr as Window
770
791
  };
771
792
  //# sourceMappingURL=index.es.js.map