@hortiview/shared-components 2.25.0 → 2.26.1

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 (98) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/{AlertBanner-BFzaGOer.js → AlertBanner-C9TvBTkH.js} +3 -3
  3. package/dist/{GenericCard-grpa3KJR.js → GenericCard-2v0lBsVu.js} +3 -3
  4. package/dist/{ListAreaService-B0x97Jin.js → ListAreaService-PaN1DrXf.js} +5 -5
  5. package/dist/assets/ContextMenu.css +1 -1
  6. package/dist/assets/FormSelect.css +1 -1
  7. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  8. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  9. package/dist/components/AllowedButton/AllowedButton.js +1 -1
  10. package/dist/components/AllowedIconButton/AllowedIconButton.js +1 -1
  11. package/dist/components/BaseView/BaseView.js +4 -4
  12. package/dist/components/BasicHeading/BasicHeading.js +4 -4
  13. package/dist/components/BlockView/BlockView.js +2 -2
  14. package/dist/components/ButtonCard/ButtonCard.js +3 -3
  15. package/dist/components/ChipCard/ChipCard.js +10 -10
  16. package/dist/components/ConfirmationModal/ConfirmationModal.js +3 -3
  17. package/dist/components/ContextMenu/ContextMenu.js +98 -68
  18. package/dist/components/DeleteModal/DeleteModal.js +4 -4
  19. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  20. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  21. package/dist/components/EmptyView/EmptyView.js +3 -3
  22. package/dist/components/ErrorBanner/ErrorBanner.js +5 -5
  23. package/dist/components/Filter/Filter.js +6 -6
  24. package/dist/components/FloatingActionButton/FloatingActionButton.js +3 -3
  25. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  26. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +4 -4
  27. package/dist/components/FormComponents/FormNumber/CustomTextField.js +1 -1
  28. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  29. package/dist/components/FormComponents/FormSelect/FormSelect.js +104 -99
  30. package/dist/components/FormComponents/FormSelect/FormSelectService.d.ts +34 -0
  31. package/dist/components/FormComponents/FormSelect/FormSelectService.js +20 -0
  32. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  33. package/dist/components/FormComponents/FormSlider/FormSlider.js +6 -6
  34. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  35. package/dist/components/FormComponents/FormToggle/FormToggle.js +3 -3
  36. package/dist/components/GenericTable/GenericTable.js +5349 -5409
  37. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  38. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  39. package/dist/components/HashTabView/HashTabView.js +6 -6
  40. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  41. package/dist/components/Iconify/Iconify.js +1 -1
  42. package/dist/components/InfoCard/InfoCard.js +4 -4
  43. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  44. package/dist/components/ListArea/ListArea.js +5 -5
  45. package/dist/components/ListArea/ListAreaService.js +6 -6
  46. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +1 -1
  47. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +5 -5
  48. package/dist/components/Modal/Modal.js +150 -142
  49. package/dist/components/ModulePadding/ModulePadding.js +1 -1
  50. package/dist/components/OfflineView/OfflineView.js +3 -3
  51. package/dist/components/OnboardingBanner/OnboardingBanner.js +7 -7
  52. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  53. package/dist/components/SearchBar/SearchBar.js +2 -2
  54. package/dist/components/Select/Select.js +1 -1
  55. package/dist/components/Stepper/Stepper.js +1 -1
  56. package/dist/components/Stepper/components/StepperButton.js +1 -1
  57. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  58. package/dist/components/Stepper/components/StepperItem.js +2 -2
  59. package/dist/{defineProperty-B7N9EBBI.js → defineProperty-SoB5opr-.js} +51 -51
  60. package/dist/{es.string.iterator-DBx2A42F.js → es.string.iterator-BrOvr7F6.js} +78 -78
  61. package/dist/{find-eU9ab_u7.js → find-OaLSg5iu.js} +35 -35
  62. package/dist/includes-CSD_V_RY.js +112 -0
  63. package/dist/{index-Df2FYN-K.js → index-_-9ybP20.js} +76 -76
  64. package/dist/{index.es-C27R5Xae.js → index.es-0SkNh4dU.js} +2 -2
  65. package/dist/{index.es-B19PQgzU.js → index.es-B1cewJEy.js} +4 -4
  66. package/dist/{index.es-Z0aF-7Cn.js → index.es-BE1XL1dD.js} +3 -3
  67. package/dist/{index.es-BcnmoCEg.js → index.es-BSaDtduL.js} +6 -6
  68. package/dist/{index.es-Ci3O23C_.js → index.es-BVW2k-5y.js} +4 -4
  69. package/dist/index.es-BZkGOjEo.js +383 -0
  70. package/dist/{index.es-Cr1PSTyq.js → index.es-C2ejWpji.js} +3 -3
  71. package/dist/{index.es-DgncYOqO.js → index.es-C8AExypY.js} +2 -2
  72. package/dist/{index.es-BOvO8moE.js → index.es-CNrSvjAv.js} +5 -6
  73. package/dist/{index.es-l_3PNohs.js → index.es-CTKwa3Es.js} +1 -1
  74. package/dist/{index.es-BwafUoK3.js → index.es-CVPUG1pf.js} +785 -781
  75. package/dist/index.es-CpPnZRt7.js +604 -0
  76. package/dist/{index.es-DHoIQ8lu.js → index.es-CwgwR6SB.js} +1 -1
  77. package/dist/{index.es-BOG3_7IM.js → index.es-DHL1mFb3.js} +249 -317
  78. package/dist/{index.es-DHnCVuQ8.js → index.es-DPGGEmi5.js} +5 -5
  79. package/dist/{index.es-C6I3L4U4.js → index.es-DRC-9PLs.js} +43 -43
  80. package/dist/{index.es-C2IOpX7R.js → index.es-DVgCBhVx.js} +3020 -2798
  81. package/dist/{index.es-B9BUXRQn.js → index.es-DsOSfaF5.js} +39 -39
  82. package/dist/{index.es-DUrjyxNI.js → index.es-EXzC8zuP.js} +2 -2
  83. package/dist/index.es-LckFzDz-.js +1069 -0
  84. package/dist/{index.es-DdeCB7LW.js → index.es-Pc5KKhcb.js} +1 -1
  85. package/dist/{index.es-Cg57snrN.js → index.es-_PSuLbjQ.js} +15 -16
  86. package/dist/{index.es-DhlgTSuU.js → index.es-eZDofmng.js} +10 -13
  87. package/dist/{keyboard-DbG3oyPU.js → keyboard-DQ9O_Ke1.js} +21 -21
  88. package/dist/main.js +1 -1
  89. package/dist/{map-ZSVweMI1.js → map-BErBeya5.js} +85 -85
  90. package/dist/parse-int-BYd7r_4n.js +47 -0
  91. package/dist/{slicedToArray-DC6VAZtW.js → slicedToArray-C2Ed3239.js} +67 -67
  92. package/dist/string-trim-v5pkXsl2.js +32 -0
  93. package/package.json +4 -4
  94. package/dist/correct-is-regexp-logic-BJ-OWRrn.js +0 -44
  95. package/dist/index.es-CkB4776y.js +0 -391
  96. package/dist/index.es-D1iB_QlE.js +0 -608
  97. package/dist/index.es-DEBGoIKX.js +0 -1061
  98. package/dist/parse-int-CGpIXMGa.js +0 -75
@@ -1,9 +1,9 @@
1
- import { _ as G, c as k, a as J, P as r } from "./index-Df2FYN-K.js";
2
- import { _ as K } from "./slicedToArray-DC6VAZtW.js";
1
+ import { _ as G, c as k, a as J, P as r } from "./index-_-9ybP20.js";
2
+ import { _ as K } from "./slicedToArray-C2Ed3239.js";
3
3
  import l, { forwardRef as Q, useState as X, useRef as I, useImperativeHandle as Y, useEffect as f } from "react";
4
- import { F as Z } from "./index.es-l_3PNohs.js";
5
- import { I as ee } from "./index.es-DdeCB7LW.js";
6
- import { e as te, d as ne } from "./index.es-C6I3L4U4.js";
4
+ import { F as Z } from "./index.es-CTKwa3Es.js";
5
+ import { I as ee } from "./index.es-Pc5KKhcb.js";
6
+ import { e as te, d as ne } from "./index.es-DRC-9PLs.js";
7
7
  import { b as M, c as m } from "./tslib.es6-BDCynO9F.js";
8
8
  import { M as re, a as ae } from "./component-By6nyiBU.js";
9
9
  import { M as $, a as A, b as ie } from "./component-DYpB_4EP.js";
@@ -1,6 +1,6 @@
1
1
  import q, { useLayoutEffect as Dr, useEffect as br, createContext as Fr, useRef as Nr } from "react";
2
2
  import { g } from "./_commonjsHelpers-ByX85dGu.js";
3
- import { D as xr, i as Vr, j as h, s as H, t as U, x as I, f as Lr, J as Pr, K as Gr, L as jr, M as Hr, z as _r, N as Ur, O as Qr, H as zr, b as Mr, d as Jr } from "./index-Df2FYN-K.js";
3
+ import { z as xr, l as Vr, i as h, u as U, v as H, g as I, D as Gr, I as Pr, J as Lr, K as jr, L as Ur, j as _r, M as Hr, N as Qr, G as zr, b as Mr, d as Jr } from "./index-_-9ybP20.js";
4
4
  var z = {}, J;
5
5
  function Kr() {
6
6
  if (J) return z;
@@ -16,14 +16,14 @@ var $, K;
16
16
  function Xr() {
17
17
  if (K) return $;
18
18
  K = 1, Kr();
19
- var n = /* @__PURE__ */ H();
19
+ var n = /* @__PURE__ */ U();
20
20
  return $ = n("Array", "map"), $;
21
21
  }
22
22
  var R, X;
23
23
  function Yr() {
24
24
  if (X) return R;
25
25
  X = 1;
26
- var n = /* @__PURE__ */ U(), r = /* @__PURE__ */ Xr(), a = Array.prototype;
26
+ var n = /* @__PURE__ */ H(), r = /* @__PURE__ */ Xr(), a = Array.prototype;
27
27
  return R = function(t) {
28
28
  var e = t.map;
29
29
  return t === a || n(a, t) && e === a.map ? r : e;
@@ -46,7 +46,7 @@ var k = {}, rr = {}, C, er;
46
46
  function ne() {
47
47
  if (er) return C;
48
48
  er = 1;
49
- var n = /* @__PURE__ */ I(), r = /* @__PURE__ */ Pr(), a = /* @__PURE__ */ Lr(), t = function(e) {
49
+ var n = /* @__PURE__ */ I(), r = /* @__PURE__ */ Pr(), a = /* @__PURE__ */ Gr(), t = function(e) {
50
50
  return r.slice(0, e.length) === e;
51
51
  };
52
52
  return C = (function() {
@@ -64,10 +64,10 @@ function ae() {
64
64
  }, T;
65
65
  }
66
66
  var b, ar;
67
- function Or() {
67
+ function Wr() {
68
68
  if (ar) return b;
69
69
  ar = 1;
70
- var n = /* @__PURE__ */ I(), r = /* @__PURE__ */ Hr(), a = /* @__PURE__ */ Gr(), t = /* @__PURE__ */ ne(), e = /* @__PURE__ */ Pr(), o = /* @__PURE__ */ jr(), u = /* @__PURE__ */ ae(), i = n.Function, v = /MSIE .\./.test(e) || t === "BUN" && (function() {
70
+ var n = /* @__PURE__ */ I(), r = /* @__PURE__ */ Ur(), a = /* @__PURE__ */ Lr(), t = /* @__PURE__ */ ne(), e = /* @__PURE__ */ Pr(), o = /* @__PURE__ */ jr(), u = /* @__PURE__ */ ae(), i = n.Function, v = /MSIE .\./.test(e) || t === "BUN" && (function() {
71
71
  var s = n.Bun.version.split(".");
72
72
  return s.length < 3 || s[0] === "0" && (s[1] < 3 || s[1] === "3" && s[2] === "0");
73
73
  })();
@@ -85,7 +85,7 @@ var tr;
85
85
  function te() {
86
86
  if (tr) return rr;
87
87
  tr = 1;
88
- var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ I(), a = /* @__PURE__ */ Or(), t = a(r.setInterval, !0);
88
+ var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ I(), a = /* @__PURE__ */ Wr(), t = a(r.setInterval, !0);
89
89
  return n({ global: !0, bind: !0, forced: r.setInterval !== t }, {
90
90
  setInterval: t
91
91
  }), rr;
@@ -94,7 +94,7 @@ var ur = {}, or;
94
94
  function ue() {
95
95
  if (or) return ur;
96
96
  or = 1;
97
- var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ I(), a = /* @__PURE__ */ Or(), t = a(r.setTimeout, !0);
97
+ var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ I(), a = /* @__PURE__ */ Wr(), t = a(r.setTimeout, !0);
98
98
  return n({ global: !0, bind: !0, forced: r.setTimeout !== t }, {
99
99
  setTimeout: t
100
100
  }), ur;
@@ -120,7 +120,7 @@ var cr = {}, fr;
120
120
  function fe() {
121
121
  if (fr) return cr;
122
122
  fr = 1;
123
- var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ Ur();
123
+ var n = /* @__PURE__ */ h(), r = /* @__PURE__ */ Hr();
124
124
  return n({ target: "Array", stat: !0 }, {
125
125
  isArray: r
126
126
  }), cr;
@@ -139,15 +139,15 @@ function le() {
139
139
  var n = /* @__PURE__ */ de();
140
140
  return M = n, M;
141
141
  }
142
- var O, pr;
142
+ var W, pr;
143
143
  function pe() {
144
- return pr || (pr = 1, O = /* @__PURE__ */ le()), O;
144
+ return pr || (pr = 1, W = /* @__PURE__ */ le()), W;
145
145
  }
146
146
  var me = pe();
147
147
  const ge = /* @__PURE__ */ g(me);
148
- var W, mr;
148
+ var O, mr;
149
149
  function he() {
150
- if (mr) return W;
150
+ if (mr) return O;
151
151
  mr = 1;
152
152
  var n = process.env.NODE_ENV !== "production", r = function() {
153
153
  };
@@ -178,7 +178,7 @@ function he() {
178
178
  t || a.apply(null, [e].concat(o));
179
179
  };
180
180
  }
181
- return W = r, W;
181
+ return O = r, O;
182
182
  }
183
183
  var ye = he();
184
184
  const E = /* @__PURE__ */ g(ye);
@@ -186,14 +186,14 @@ var B, gr;
186
186
  function qe() {
187
187
  if (gr) return B;
188
188
  gr = 1, Qr();
189
- var n = /* @__PURE__ */ H();
189
+ var n = /* @__PURE__ */ U();
190
190
  return B = n("Array", "concat"), B;
191
191
  }
192
192
  var D, hr;
193
193
  function Ae() {
194
194
  if (hr) return D;
195
195
  hr = 1;
196
- var n = /* @__PURE__ */ U(), r = /* @__PURE__ */ qe(), a = Array.prototype;
196
+ var n = /* @__PURE__ */ H(), r = /* @__PURE__ */ qe(), a = Array.prototype;
197
197
  return D = function(t) {
198
198
  var e = t.concat;
199
199
  return t === a || n(a, t) && e === a.concat ? r : e;
@@ -227,25 +227,25 @@ var V, Er;
227
227
  function Se() {
228
228
  if (Er) return V;
229
229
  Er = 1, Re();
230
- var n = /* @__PURE__ */ H();
230
+ var n = /* @__PURE__ */ U();
231
231
  return V = n("Array", "some"), V;
232
232
  }
233
- var L, $r;
233
+ var G, $r;
234
234
  function we() {
235
- if ($r) return L;
235
+ if ($r) return G;
236
236
  $r = 1;
237
- var n = /* @__PURE__ */ U(), r = /* @__PURE__ */ Se(), a = Array.prototype;
238
- return L = function(t) {
237
+ var n = /* @__PURE__ */ H(), r = /* @__PURE__ */ Se(), a = Array.prototype;
238
+ return G = function(t) {
239
239
  var e = t.some;
240
240
  return t === a || n(a, t) && e === a.some ? r : e;
241
- }, L;
241
+ }, G;
242
242
  }
243
- var G, Rr;
243
+ var L, Rr;
244
244
  function Ce() {
245
- if (Rr) return G;
245
+ if (Rr) return L;
246
246
  Rr = 1;
247
247
  var n = /* @__PURE__ */ we();
248
- return G = n, G;
248
+ return L = n, L;
249
249
  }
250
250
  var j, Sr;
251
251
  function Te() {
@@ -256,7 +256,7 @@ const xe = /* @__PURE__ */ g(be);
256
256
  var Ve = function(r) {
257
257
  var a = r.condition, t = r.wrapper, e = r.children;
258
258
  return a ? t(e) : e;
259
- }, Le = /* @__PURE__ */ Fr({}), Ge = {
259
+ }, Ge = /* @__PURE__ */ Fr({}), Le = {
260
260
  enabled: !0
261
261
  }, Pe = function(r) {
262
262
  return "".concat(r, " element was not found in the DOM.");
@@ -265,23 +265,23 @@ var Ve = function(r) {
265
265
  }, wr = {}, Cr = function(r) {
266
266
  wr[r] || (E(!1, r), wr[r] = !0);
267
267
  };
268
- function Wr() {
268
+ function Or() {
269
269
  return typeof document < "u";
270
270
  }
271
271
  function je() {
272
272
  return typeof window < "u";
273
273
  }
274
274
  var Me = function(r) {
275
- return Wr() ? document.createDocumentFragment().querySelector(r) : void 0;
276
- }, Oe = function(r) {
275
+ return Or() ? document.createDocumentFragment().querySelector(r) : void 0;
276
+ }, We = function(r) {
277
277
  try {
278
278
  Me(r);
279
279
  } catch {
280
280
  return !1;
281
281
  }
282
282
  return !0;
283
- }, We = function(r) {
284
- return Oe(r) ? Wr() && document.querySelector(r) || Cr(Pe(r)) : (Cr(_e(r)), !1);
283
+ }, Oe = function(r) {
284
+ return We(r) ? Or() && document.querySelector(r) || Cr(Pe(r)) : (Cr(_e(r)), !1);
285
285
  }, Be = function(r, a) {
286
286
  var t;
287
287
  return r ? ee(t = q.Children).call(t, r, function(e, o) {
@@ -296,13 +296,13 @@ var Me = function(r) {
296
296
  }
297
297
  return /* @__PURE__ */ q.isValidElement(e) ? /* @__PURE__ */ q.cloneElement(e, u) : /* @__PURE__ */ q.createElement("div", u, e);
298
298
  }) : null;
299
- }, He = function(r, a) {
299
+ }, Ue = function(r, a) {
300
300
  return Be(r, {
301
301
  className: a
302
302
  });
303
- }, Ue = function(r) {
303
+ }, He = function(r) {
304
304
  ce(function() {
305
- var a = We(r);
305
+ var a = Oe(r);
306
306
  a && a.focus();
307
307
  }, 0);
308
308
  }, Qe = function(r, a, t) {
@@ -374,28 +374,28 @@ var Me = function(r) {
374
374
  };
375
375
  export {
376
376
  Ve as C,
377
- Le as H,
377
+ Ge as H,
378
378
  p as _,
379
- He as a,
379
+ Ue as a,
380
380
  Ye as b,
381
381
  Be as c,
382
382
  Xe as d,
383
383
  Ze as e,
384
384
  Ke as f,
385
- Wr as g,
386
- We as h,
385
+ Or as g,
386
+ Oe as h,
387
387
  Cr as i,
388
- ke as j,
388
+ He as j,
389
389
  ee as k,
390
390
  ge as l,
391
391
  ne as m,
392
392
  ze as n,
393
393
  Qe as o,
394
394
  Je as p,
395
- le as q,
396
- Ue as r,
397
- xe as s,
398
- Ge as t,
395
+ xe as q,
396
+ ke as r,
397
+ Le as s,
398
+ le as t,
399
399
  rn as u,
400
400
  en as v,
401
401
  je as w,