@dev-blinq/ui-systems 1.0.63 → 1.0.65

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.mjs CHANGED
@@ -20,11 +20,11 @@ function Ne() {
20
20
  Gn = 1;
21
21
  var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
22
22
  function d(S, v, D) {
23
- var h, C = {}, R = null, F = null;
24
- D !== void 0 && (R = "" + D), v.key !== void 0 && (R = "" + v.key), v.ref !== void 0 && (F = v.ref);
23
+ var h, C = {}, N = null, F = null;
24
+ D !== void 0 && (N = "" + D), v.key !== void 0 && (N = "" + v.key), v.ref !== void 0 && (F = v.ref);
25
25
  for (h in v) c.call(v, h) && !g.hasOwnProperty(h) && (C[h] = v[h]);
26
26
  if (S && S.defaultProps) for (h in v = S.defaultProps, v) C[h] === void 0 && (C[h] = v[h]);
27
- return { $$typeof: o, type: S, key: R, ref: F, props: C, _owner: y.current };
27
+ return { $$typeof: o, type: S, key: N, ref: F, props: C, _owner: y.current };
28
28
  }
29
29
  return w.Fragment = p, w.jsx = d, w.jsxs = d, w;
30
30
  }
@@ -41,7 +41,7 @@ var V = {};
41
41
  var In;
42
42
  function De() {
43
43
  return In || (In = 1, process.env.NODE_ENV !== "production" && function() {
44
- var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), S = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, H = "@@iterator";
44
+ var e = J, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), S = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, H = "@@iterator";
45
45
  function _(n) {
46
46
  if (n === null || typeof n != "object")
47
47
  return null;
@@ -69,7 +69,7 @@ function De() {
69
69
  var jn = !1, wn = !1, Vn = !1, Hn = !1, _n = !1, sn;
70
70
  sn = Symbol.for("react.module.reference");
71
71
  function Wn(n) {
72
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === g || _n || n === y || n === D || n === h || Hn || n === F || jn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof === R || n.$$typeof === C || n.$$typeof === d || n.$$typeof === S || n.$$typeof === v || // This needs to include all possible module reference object
72
+ return !!(typeof n == "string" || typeof n == "function" || n === c || n === g || _n || n === y || n === D || n === h || Hn || n === F || jn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof === N || n.$$typeof === C || n.$$typeof === d || n.$$typeof === S || n.$$typeof === v || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
@@ -119,7 +119,7 @@ function De() {
119
119
  case C:
120
120
  var i = n.displayName || null;
121
121
  return i !== null ? i : b(n.type) || "Memo";
122
- case R: {
122
+ case N: {
123
123
  var s = n, m = s._payload, l = s._init;
124
124
  try {
125
125
  return b(l(m));
@@ -237,37 +237,37 @@ function De() {
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
239
  Reflect.construct(l, []);
240
- } catch (N) {
241
- i = N;
240
+ } catch (M) {
241
+ i = M;
242
242
  }
243
243
  Reflect.construct(n, [], l);
244
244
  } else {
245
245
  try {
246
246
  l.call();
247
- } catch (N) {
248
- i = N;
247
+ } catch (M) {
248
+ i = M;
249
249
  }
250
250
  n.call(l.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (N) {
256
- i = N;
255
+ } catch (M) {
256
+ i = M;
257
257
  }
258
258
  n();
259
259
  }
260
- } catch (N) {
261
- if (N && i && typeof N.stack == "string") {
262
- for (var u = N.stack.split(`
263
- `), M = i.stack.split(`
264
- `), f = u.length - 1, A = M.length - 1; f >= 1 && A >= 0 && u[f] !== M[A]; )
260
+ } catch (M) {
261
+ if (M && i && typeof M.stack == "string") {
262
+ for (var u = M.stack.split(`
263
+ `), R = i.stack.split(`
264
+ `), f = u.length - 1, A = R.length - 1; f >= 1 && A >= 0 && u[f] !== R[A]; )
265
265
  A--;
266
266
  for (; f >= 1 && A >= 0; f--, A--)
267
- if (u[f] !== M[A]) {
267
+ if (u[f] !== R[A]) {
268
268
  if (f !== 1 || A !== 1)
269
269
  do
270
- if (f--, A--, A < 0 || u[f] !== M[A]) {
270
+ if (f--, A--, A < 0 || u[f] !== R[A]) {
271
271
  var T = `
272
272
  ` + u[f].replace(" at new ", " at ");
273
273
  return n.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, T), T;
@@ -308,7 +308,7 @@ function De() {
308
308
  return zn(n.render);
309
309
  case C:
310
310
  return Z(n.type, a, r);
311
- case R: {
311
+ case N: {
312
312
  var i = n, s = i._payload, m = i._init;
313
313
  try {
314
314
  return Z(m(s), a, r);
@@ -334,8 +334,8 @@ function De() {
334
334
  var u = void 0;
335
335
  try {
336
336
  if (typeof n[l] != "function") {
337
- var M = Error((i || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw M.name = "Invariant Violation", M;
337
+ var R = Error((i || "React class") + ": " + r + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw R.name = "Invariant Violation", R;
339
339
  }
340
340
  u = n[l](a, l, i, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
341
  } catch (f) {
@@ -451,8 +451,8 @@ function De() {
451
451
  };
452
452
  function le(n, a, r, i, s) {
453
453
  {
454
- var m, l = {}, u = null, M = null;
455
- r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (M = a.ref, ie(a, s));
454
+ var m, l = {}, u = null, R = null;
455
+ r !== void 0 && (Mn(r), u = "" + r), re(a) && (Mn(a.key), u = "" + a.key), te(a) && (R = a.ref, ie(a, s));
456
456
  for (m in a)
457
457
  K.call(a, m) && !ae.hasOwnProperty(m) && (l[m] = a[m]);
458
458
  if (n && n.defaultProps) {
@@ -460,11 +460,11 @@ function De() {
460
460
  for (m in f)
461
461
  l[m] === void 0 && (l[m] = f[m]);
462
462
  }
463
- if (u || M) {
463
+ if (u || R) {
464
464
  var A = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
465
- u && ue(l, A), M && oe(l, A);
465
+ u && ue(l, A), R && oe(l, A);
466
466
  }
467
- return ce(n, u, M, s, i, j.current, l);
467
+ return ce(n, u, R, s, i, j.current, l);
468
468
  }
469
469
  }
470
470
  var en = U.ReactCurrentOwner, Tn = U.ReactDebugCurrentFrame;
@@ -584,8 +584,8 @@ Check the top-level render call using <` + r + ">.");
584
584
  if (!l) {
585
585
  var u = "";
586
586
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
587
- var M = se();
588
- M ? u += M : u += bn();
587
+ var R = se();
588
+ R ? u += R : u += bn();
589
589
  var f;
590
590
  n === null ? f = "null" : Q(n) ? f = "array" : n !== void 0 && n.$$typeof === o ? (f = "<" + (b(n.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : f = typeof n, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, u);
591
591
  }
@@ -606,11 +606,11 @@ Check the top-level render call using <` + r + ">.");
606
606
  Un(T, n);
607
607
  }
608
608
  if (K.call(a, "key")) {
609
- var x = b(n), N = Object.keys(a).filter(function(Ce) {
609
+ var x = b(n), M = Object.keys(a).filter(function(Ce) {
610
610
  return Ce !== "key";
611
- }), rn = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ }), rn = M.length > 0 ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}";
612
612
  if (!Pn[x + rn]) {
613
- var fe = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
613
+ var fe = M.length > 0 ? "{" + M.join(": ..., ") + ": ...}" : "{}";
614
614
  E(`A props object containing a "key" prop is being spread into JSX:
615
615
  let props = %s;
616
616
  <%s {...props} />
@@ -1227,30 +1227,28 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
1227
1227
  disabled: p = !1,
1228
1228
  label: c = "",
1229
1229
  errExists: y = !1,
1230
- errorMsg: g = "",
1231
- placeholder: d,
1232
- leftIcon: S,
1233
- rightIcon: v,
1234
- style: D,
1235
- onAction: h,
1236
- ...C
1230
+ placeholder: g,
1231
+ leftIcon: d,
1232
+ rightIcon: S,
1233
+ style: v,
1234
+ onAction: D,
1235
+ ...h
1237
1236
  }) => {
1238
- const R = {
1237
+ const C = {
1239
1238
  designType: o,
1240
- placeholder: d,
1239
+ placeholder: g,
1241
1240
  disabled: p,
1242
1241
  errExists: y,
1243
- leftIcon: S,
1244
- rightIcon: v,
1245
- style: D,
1246
- onAction: h,
1242
+ leftIcon: d,
1243
+ rightIcon: S,
1244
+ style: v,
1245
+ onAction: D,
1247
1246
  // application if type is action
1248
- props: C
1247
+ props: h
1249
1248
  };
1250
1249
  return /* @__PURE__ */ t.jsxs("div", { children: [
1251
1250
  c && /* @__PURE__ */ t.jsx(B, { category: "text", Size: "sm", bold: "semibold", children: c }),
1252
- /* @__PURE__ */ t.jsx(Ve, { ...R }),
1253
- y && /* @__PURE__ */ t.jsx("p", { className: "error-message-input", children: g })
1251
+ /* @__PURE__ */ t.jsx(Ve, { ...C })
1254
1252
  ] });
1255
1253
  }, $e = ({
1256
1254
  placeholder: e,
@@ -1261,8 +1259,8 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
1261
1259
  ...g
1262
1260
  }) => {
1263
1261
  const [d, S] = J.useState(""), [v, D] = I(g.rows || 8), h = (C) => {
1264
- D((R) => {
1265
- const F = C === "down" ? R + 1 : R - 1;
1262
+ D((N) => {
1263
+ const F = C === "down" ? N + 1 : N - 1;
1266
1264
  return F < 2 ? 2 : F;
1267
1265
  });
1268
1266
  };
@@ -1310,12 +1308,12 @@ const xe = /* @__PURE__ */ Me(Pe), Le = (e) => {
1310
1308
  {
1311
1309
  style: { cursor: "ns-resize", marginLeft: "auto" },
1312
1310
  onMouseDown: (C) => {
1313
- let R = C.clientY;
1311
+ let N = C.clientY;
1314
1312
  const F = 10, O = (_) => {
1315
- const U = _.clientY - R;
1313
+ const U = _.clientY - N;
1316
1314
  if (Math.abs(U) > F) {
1317
1315
  const E = U > 0 ? "down" : "up";
1318
- h(E), R = _.clientY;
1316
+ h(E), N = _.clientY;
1319
1317
  }
1320
1318
  }, H = () => {
1321
1319
  document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", H);