codeforlife 2.9.2 → 2.10.0

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.
Files changed (84) hide show
  1. package/dist/Countdown-7-Mzftzr.cjs +2 -0
  2. package/dist/{Countdown-CTNMDtaU.cjs.map → Countdown-7-Mzftzr.cjs.map} +1 -1
  3. package/dist/{Countdown-D4s4yfhB.js → Countdown-ZA68a09m.js} +4 -4
  4. package/dist/{Countdown-D4s4yfhB.js.map → Countdown-ZA68a09m.js.map} +1 -1
  5. package/dist/{Image-D5jC9UoX.js → Image-KHEjEELP.js} +2 -2
  6. package/dist/{Image-D5jC9UoX.js.map → Image-KHEjEELP.js.map} +1 -1
  7. package/dist/{LinkButton-COnDB_KU.js → LinkButton-Do07PnhU.js} +4 -4
  8. package/dist/LinkButton-Do07PnhU.js.map +1 -0
  9. package/dist/LinkButton-cfljqSBx.cjs +2 -0
  10. package/dist/LinkButton-cfljqSBx.cjs.map +1 -0
  11. package/dist/Navigate-Cu8Ge031.cjs +2 -0
  12. package/dist/Navigate-Cu8Ge031.cjs.map +1 -0
  13. package/dist/{Navigate-Baeudg5V.js → Navigate-DC6ag0th.js} +4 -4
  14. package/dist/Navigate-DC6ag0th.js.map +1 -0
  15. package/dist/api/endpoints/index.es.js +2 -2
  16. package/dist/api/index.es.js +3 -3
  17. package/dist/{api-Cbyt3rw0.js → api-CYqNqtN9.js} +2 -2
  18. package/dist/{api-Cbyt3rw0.js.map → api-CYqNqtN9.js.map} +1 -1
  19. package/dist/auth-C_aSIrwD.cjs +2 -0
  20. package/dist/auth-C_aSIrwD.cjs.map +1 -0
  21. package/dist/{auth-C9qgLRQ4.js → auth-CvJ5Mh6y.js} +17 -17
  22. package/dist/auth-CvJ5Mh6y.js.map +1 -0
  23. package/dist/components/form/index.es.js +1 -1
  24. package/dist/components/index.cjs.js +1 -10
  25. package/dist/components/index.cjs.js.map +1 -1
  26. package/dist/components/index.es.js +179 -256
  27. package/dist/components/index.es.js.map +1 -1
  28. package/dist/components/page/index.cjs.js +1 -1
  29. package/dist/components/page/index.es.js +1 -1
  30. package/dist/components/router/Navigate.d.ts +1 -1
  31. package/dist/components/router/index.cjs.js +1 -1
  32. package/dist/components/router/index.es.js +2 -2
  33. package/dist/components/table/index.es.js +1 -1
  34. package/dist/features/index.cjs.js +1 -1
  35. package/dist/features/index.cjs.js.map +1 -1
  36. package/dist/features/index.es.js +7 -7
  37. package/dist/hooks/index.cjs.js +1 -1
  38. package/dist/hooks/index.es.js +1 -1
  39. package/dist/hooks/router.d.ts +1 -1
  40. package/dist/{index-2W--_sNE.js → index-B3cd2A-G.js} +2 -2
  41. package/dist/{index-2W--_sNE.js.map → index-B3cd2A-G.js.map} +1 -1
  42. package/dist/{index-CkM7p7f8.js → index-Brh3Kbv6.js} +2 -2
  43. package/dist/{index-CkM7p7f8.js.map → index-Brh3Kbv6.js.map} +1 -1
  44. package/dist/{index-DALohJdb.js → index-DlQc68Q4.js} +6 -6
  45. package/dist/index-DlQc68Q4.js.map +1 -0
  46. package/dist/index-DsVpb45W.cjs +2 -0
  47. package/dist/index-DsVpb45W.cjs.map +1 -0
  48. package/dist/{index-Dqp7dpn3.js → index-DuVBQMst.js} +5 -5
  49. package/dist/{index-Dqp7dpn3.js.map → index-DuVBQMst.js.map} +1 -1
  50. package/dist/{jsx-runtime-Dpn_P65e.js → jsx-runtime-XvoU0p7t.js} +57 -57
  51. package/dist/{jsx-runtime-Dpn_P65e.js.map → jsx-runtime-XvoU0p7t.js.map} +1 -1
  52. package/dist/{schemas-DlOtf2vf.js → schemas-CDXuSjyI.js} +2 -2
  53. package/dist/{schemas-DlOtf2vf.js.map → schemas-CDXuSjyI.js.map} +1 -1
  54. package/dist/server.cjs.js +3 -3
  55. package/dist/server.cjs.js.map +1 -1
  56. package/dist/server.d.ts +12 -1
  57. package/dist/server.es.js +84 -56
  58. package/dist/server.es.js.map +1 -1
  59. package/dist/theme/components/index.es.js +1 -1
  60. package/dist/theme/index.es.js +2 -2
  61. package/dist/{urls-DtHr1d3H.js → urls-BY-za1bX.js} +2 -2
  62. package/dist/{urls-DtHr1d3H.js.map → urls-BY-za1bX.js.map} +1 -1
  63. package/dist/utils/api.es.js +2 -2
  64. package/dist/utils/router.cjs.js +1 -1
  65. package/dist/utils/router.cjs.js.map +1 -1
  66. package/dist/utils/router.d.ts +1 -1
  67. package/dist/utils/router.es.js +3 -3
  68. package/dist/utils/router.es.js.map +1 -1
  69. package/dist/utils/test.es.js +1 -1
  70. package/dist/utils/theme.es.js +2 -2
  71. package/package.json +3 -3
  72. package/dist/Countdown-CTNMDtaU.cjs +0 -2
  73. package/dist/LinkButton-C9y6XyQV.cjs +0 -2
  74. package/dist/LinkButton-C9y6XyQV.cjs.map +0 -1
  75. package/dist/LinkButton-COnDB_KU.js.map +0 -1
  76. package/dist/Navigate-Baeudg5V.js.map +0 -1
  77. package/dist/Navigate-D8_ubqaT.cjs +0 -2
  78. package/dist/Navigate-D8_ubqaT.cjs.map +0 -1
  79. package/dist/auth-C9qgLRQ4.js.map +0 -1
  80. package/dist/auth-DjC4nR_8.cjs +0 -2
  81. package/dist/auth-DjC4nR_8.cjs.map +0 -1
  82. package/dist/index-CiWln8tI.cjs +0 -2
  83. package/dist/index-CiWln8tI.cjs.map +0 -1
  84. package/dist/index-DALohJdb.js.map +0 -1
@@ -14,12 +14,12 @@ function lr() {
14
14
  if (Te) return k;
15
15
  Te = 1;
16
16
  var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function w(R, l, T) {
18
- var p, _ = {}, y = null, I = null;
19
- T !== void 0 && (y = "" + T), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (I = l.ref);
20
- for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (_[p] = l[p]);
21
- if (R && R.defaultProps) for (p in l = R.defaultProps, l) _[p] === void 0 && (_[p] = l[p]);
22
- return { $$typeof: C, type: R, key: y, ref: I, props: _, _owner: F.current };
17
+ function w(y, l, T) {
18
+ var p, E = {}, _ = null, I = null;
19
+ T !== void 0 && (_ = "" + T), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (I = l.ref);
20
+ for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (E[p] = l[p]);
21
+ if (y && y.defaultProps) for (p in l = y.defaultProps, l) E[p] === void 0 && (E[p] = l[p]);
22
+ return { $$typeof: C, type: y, key: _, ref: I, props: E, _owner: F.current };
23
23
  }
24
24
  return k.Fragment = U, k.jsx = w, k.jsxs = w, k;
25
25
  }
@@ -36,7 +36,7 @@ var D = {};
36
36
  var Oe;
37
37
  function cr() {
38
38
  return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
39
- var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
39
+ var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), y = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
40
40
  function we(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
@@ -64,13 +64,13 @@ function cr() {
64
64
  var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
65
65
  Z = Symbol.for("react.module.reference");
66
66
  function Ie(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === R || e.$$typeof === l || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === E || e.$$typeof === w || e.$$typeof === y || e.$$typeof === l || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
71
  e.$$typeof === Z || e.getModuleId !== void 0));
72
72
  }
73
- function We(e, r, t) {
73
+ function $e(e, r, t) {
74
74
  var n = e.displayName;
75
75
  if (n)
76
76
  return n;
@@ -80,7 +80,7 @@ function cr() {
80
80
  function Q(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function E(e) {
83
+ function R(e) {
84
84
  if (e == null)
85
85
  return null;
86
86
  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")
@@ -103,21 +103,21 @@ function cr() {
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case R:
106
+ case y:
107
107
  var r = e;
108
108
  return Q(r) + ".Consumer";
109
109
  case w:
110
110
  var t = e;
111
111
  return Q(t._context) + ".Provider";
112
112
  case l:
113
- return We(e, e.render, "ForwardRef");
114
- case _:
113
+ return $e(e, e.render, "ForwardRef");
114
+ case E:
115
115
  var n = e.displayName || null;
116
- return n !== null ? n : E(e.type) || "Memo";
117
- case y: {
116
+ return n !== null ? n : R(e.type) || "Memo";
117
+ case _: {
118
118
  var o = e, u = o._payload, i = o._init;
119
119
  try {
120
- return E(i(u));
120
+ return R(i(u));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -129,7 +129,7 @@ function cr() {
129
129
  function ue() {
130
130
  }
131
131
  ue.__reactDisabledLog = !0;
132
- function Ye() {
132
+ function We() {
133
133
  {
134
134
  if (j === 0) {
135
135
  ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
@@ -152,7 +152,7 @@ function cr() {
152
152
  j++;
153
153
  }
154
154
  }
155
- function $e() {
155
+ function Ye() {
156
156
  {
157
157
  if (j--, j === 0) {
158
158
  var e = {
@@ -188,7 +188,7 @@ function cr() {
188
188
  }
189
189
  }
190
190
  var N = O.ReactCurrentDispatcher, J;
191
- function W(e, r, t) {
191
+ function $(e, r, t) {
192
192
  {
193
193
  if (J === void 0)
194
194
  try {
@@ -201,16 +201,16 @@ function cr() {
201
201
  ` + J + e;
202
202
  }
203
203
  }
204
- var q = !1, Y;
204
+ var q = !1, W;
205
205
  {
206
206
  var Le = typeof WeakMap == "function" ? WeakMap : Map;
207
- Y = new Le();
207
+ W = new Le();
208
208
  }
209
209
  function se(e, r) {
210
210
  if (!e || q)
211
211
  return "";
212
212
  {
213
- var t = Y.get(e);
213
+ var t = W.get(e);
214
214
  if (t !== void 0)
215
215
  return t;
216
216
  }
@@ -219,7 +219,7 @@ function cr() {
219
219
  var o = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var u;
222
- u = N.current, N.current = null, Ye();
222
+ u = N.current, N.current = null, We();
223
223
  try {
224
224
  if (r) {
225
225
  var i = function() {
@@ -265,17 +265,17 @@ function cr() {
265
265
  if (s--, f--, f < 0 || a[s] !== v[f]) {
266
266
  var g = `
267
267
  ` + a[s].replace(" at new ", " at ");
268
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, g), g;
268
+ return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, g), g;
269
269
  }
270
270
  while (s >= 1 && f >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- q = !1, N.current = u, $e(), Error.prepareStackTrace = o;
275
+ q = !1, N.current = u, Ye(), Error.prepareStackTrace = o;
276
276
  }
277
- var P = e ? e.displayName || e.name : "", h = P ? W(P) : "";
278
- return typeof e == "function" && Y.set(e, h), h;
277
+ var P = e ? e.displayName || e.name : "", h = P ? $(P) : "";
278
+ return typeof e == "function" && W.set(e, h), h;
279
279
  }
280
280
  function Ve(e, r, t) {
281
281
  return se(e, !1);
@@ -284,29 +284,29 @@ function cr() {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
287
- function $(e, r, t) {
287
+ function Y(e, r, t) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
291
  return se(e, Me(e));
292
292
  if (typeof e == "string")
293
- return W(e);
293
+ return $(e);
294
294
  switch (e) {
295
295
  case T:
296
- return W("Suspense");
296
+ return $("Suspense");
297
297
  case p:
298
- return W("SuspenseList");
298
+ return $("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
302
  case l:
303
303
  return Ve(e.render);
304
- case _:
305
- return $(e.type, r, t);
306
- case y: {
304
+ case E:
305
+ return Y(e.type, r, t);
306
+ case _: {
307
307
  var n = e, o = n._payload, u = n._init;
308
308
  try {
309
- return $(u(o), r, t);
309
+ return Y(u(o), r, t);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -316,7 +316,7 @@ function cr() {
316
316
  var x = Object.prototype.hasOwnProperty, fe = {}, le = O.ReactDebugCurrentFrame;
317
317
  function L(e) {
318
318
  if (e) {
319
- var r = e._owner, t = $(e.type, e._source, r ? r.type : null);
319
+ var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
320
320
  le.setExtraStackFrame(t);
321
321
  } else
322
322
  le.setExtraStackFrame(null);
@@ -458,23 +458,23 @@ function cr() {
458
458
  return Ze(e, a, v, o, n, de.current, i);
459
459
  }
460
460
  }
461
- var K = O.ReactCurrentOwner, _e = O.ReactDebugCurrentFrame;
461
+ var K = O.ReactCurrentOwner, Ee = O.ReactDebugCurrentFrame;
462
462
  function S(e) {
463
463
  if (e) {
464
- var r = e._owner, t = $(e.type, e._source, r ? r.type : null);
465
- _e.setExtraStackFrame(t);
464
+ var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
465
+ Ee.setExtraStackFrame(t);
466
466
  } else
467
- _e.setExtraStackFrame(null);
467
+ Ee.setExtraStackFrame(null);
468
468
  }
469
469
  var G;
470
470
  G = !1;
471
471
  function z(e) {
472
472
  return typeof e == "object" && e !== null && e.$$typeof === C;
473
473
  }
474
- function Ee() {
474
+ function Re() {
475
475
  {
476
476
  if (K.current) {
477
- var e = E(K.current.type);
477
+ var e = R(K.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -486,10 +486,10 @@ Check the render method of \`` + e + "`.";
486
486
  function er(e) {
487
487
  return "";
488
488
  }
489
- var Re = {};
489
+ var ye = {};
490
490
  function rr(e) {
491
491
  {
492
- var r = Ee();
492
+ var r = Re();
493
493
  if (!r) {
494
494
  var t = typeof e == "string" ? e : e.displayName || e.name;
495
495
  t && (r = `
@@ -499,17 +499,17 @@ Check the top-level render call using <` + t + ">.");
499
499
  return r;
500
500
  }
501
501
  }
502
- function ye(e, r) {
502
+ function _e(e, r) {
503
503
  {
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
507
  var t = rr(r);
508
- if (Re[t])
508
+ if (ye[t])
509
509
  return;
510
- Re[t] = !0;
510
+ ye[t] = !0;
511
511
  var n = "";
512
- e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + E(e._owner.type) + "."), S(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), S(null);
512
+ e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + R(e._owner.type) + "."), S(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), S(null);
513
513
  }
514
514
  }
515
515
  function be(e, r) {
@@ -519,7 +519,7 @@ Check the top-level render call using <` + t + ">.");
519
519
  if (B(e))
520
520
  for (var t = 0; t < e.length; t++) {
521
521
  var n = e[t];
522
- z(n) && ye(n, r);
522
+ z(n) && _e(n, r);
523
523
  }
524
524
  else if (z(e))
525
525
  e._store && (e._store.validated = !0);
@@ -527,7 +527,7 @@ Check the top-level render call using <` + t + ">.");
527
527
  var o = we(e);
528
528
  if (typeof o == "function" && o !== e.entries)
529
529
  for (var u = o.call(e), i; !(i = u.next()).done; )
530
- z(i.value) && ye(i.value, r);
530
+ z(i.value) && _e(i.value, r);
531
531
  }
532
532
  }
533
533
  }
@@ -541,16 +541,16 @@ Check the top-level render call using <` + t + ">.");
541
541
  t = r.propTypes;
542
542
  else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- r.$$typeof === _))
544
+ r.$$typeof === E))
545
545
  t = r.propTypes;
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var n = E(r);
549
+ var n = R(r);
550
550
  Ue(t, e.props, "prop", n, e);
551
551
  } else if (r.PropTypes !== void 0 && !G) {
552
552
  G = !0;
553
- var o = E(r);
553
+ var o = R(r);
554
554
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
555
555
  }
556
556
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -576,9 +576,9 @@ Check the top-level render call using <` + t + ">.");
576
576
  var a = "";
577
577
  (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.");
578
578
  var v = er();
579
- v ? a += v : a += Ee();
579
+ v ? a += v : a += Re();
580
580
  var s;
581
- e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (E(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);
581
+ e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (R(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);
582
582
  }
583
583
  var f = Qe(e, r, t, o, u);
584
584
  if (f == null)
@@ -597,7 +597,7 @@ Check the top-level render call using <` + t + ">.");
597
597
  be(g, e);
598
598
  }
599
599
  if (x.call(r, "key")) {
600
- var h = E(e), d = Object.keys(r).filter(function(fr) {
600
+ var h = R(e), d = Object.keys(r).filter(function(fr) {
601
601
  return fr !== "key";
602
602
  }), X = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!he[h + X]) {
@@ -631,4 +631,4 @@ var pr = vr();
631
631
  export {
632
632
  pr as j
633
633
  };
634
- //# sourceMappingURL=jsx-runtime-Dpn_P65e.js.map
634
+ //# sourceMappingURL=jsx-runtime-XvoU0p7t.js.map