@hortiview/shared-components 2.8.6 → 2.8.8

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 (133) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AlertBanner-DlgFtlZm.js → AlertBanner-D-NTP_6i.js} +3 -3
  3. package/dist/{BigLoadingSpinner-B_HFhx2F.js → BigLoadingSpinner-CCxsMWnc.js} +1 -1
  4. package/dist/{GenericCard-Cv8qaFLu.js → GenericCard-DOKyENNm.js} +3 -3
  5. package/dist/{ListAreaService-D9HRsvH0.js → ListAreaService-CI-s1Xx5.js} +5 -5
  6. package/dist/{OfflineView-Bw-sbsym.js → OfflineView-DHtzNLwt.js} +3 -3
  7. package/dist/_Map-BmafU0dj.js +113 -0
  8. package/dist/assets/FormSelect.css +1 -1
  9. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  10. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  11. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  12. package/dist/components/BaseView/BaseView.js +2 -2
  13. package/dist/components/BasicHeading/BasicHeading.js +2 -2
  14. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  15. package/dist/components/BlockView/BlockView.js +1 -1
  16. package/dist/components/ChipCard/ChipCard.js +499 -390
  17. package/dist/components/ContextMenu/ContextMenu.js +4 -4
  18. package/dist/components/DeleteModal/DeleteModal.js +5 -5
  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 +161 -125
  22. package/dist/components/Filter/Filter.js +11 -11
  23. package/dist/components/Filter/Filter.test.js +51 -35
  24. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  25. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +10 -10
  26. package/dist/components/FormComponents/FormNumber/CustomTextField.js +3 -3
  27. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  28. package/dist/components/FormComponents/FormSelect/FormSelect.js +53 -53
  29. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  30. package/dist/components/FormComponents/FormSlider/FormSlider.js +540 -535
  31. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  32. package/dist/components/FormComponents/FormToggle/FormToggle.js +4 -4
  33. package/dist/components/GenericTable/GenericTable.js +8246 -7153
  34. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  35. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  36. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  37. package/dist/components/HashTabView/HashTabView.js +552 -541
  38. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  39. package/dist/components/Iconify/Iconify.js +2 -2
  40. package/dist/components/InfoCard/InfoCard.js +4 -4
  41. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  42. package/dist/components/ListArea/ListArea.js +16 -16
  43. package/dist/components/ListArea/ListArea.test.js +20 -20
  44. package/dist/components/ListArea/ListAreaService.js +6 -6
  45. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
  46. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  47. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +164 -178
  48. package/dist/components/Modal/Modal.js +305 -312
  49. package/dist/components/ModulePadding/ModulePadding.js +8 -8
  50. package/dist/components/OfflineView/OfflineView.js +4 -4
  51. package/dist/components/OfflineView/OfflineView.test.js +1 -1
  52. package/dist/components/OnboardingBanner/OnboardingBanner.js +13 -13
  53. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  54. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  55. package/dist/components/SearchBar/SearchBar.js +2 -2
  56. package/dist/components/SearchBar/SearchBar.test.js +1 -1
  57. package/dist/components/Select/Select.js +2 -2
  58. package/dist/components/Stepper/Stepper.js +1 -1
  59. package/dist/components/Stepper/components/StepperButton.js +1 -1
  60. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  61. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  62. package/dist/defineProperty-CmuOyxyf.js +318 -0
  63. package/dist/es.string.iterator-DrqCBub-.js +581 -0
  64. package/dist/find-B-dm7n_F.js +88 -0
  65. package/dist/{get-CqneoueQ.js → get-DuK51wnj.js} +1 -1
  66. package/dist/get-u1nFMLdT.js +377 -0
  67. package/dist/hooks/useHelperText.js +1 -1
  68. package/dist/identity-BIZAN_pL.js +213 -0
  69. package/dist/includes-Bt-Stz_B.js +110 -0
  70. package/dist/index-Cpb-8cAN.js +2465 -0
  71. package/dist/index.es-0QJC9VS2.js +325 -0
  72. package/dist/{index.es-CyjMwj5g.js → index.es-45NOgWlB.js} +93 -101
  73. package/dist/index.es-B6ZgiW2s.js +3790 -0
  74. package/dist/{index.es-1zrFd4Te.js → index.es-BGordhUK.js} +352 -323
  75. package/dist/index.es-BRtk0Q33.js +42 -0
  76. package/dist/index.es-BXj90wb_.js +402 -0
  77. package/dist/index.es-Bg8hxXM8.js +912 -0
  78. package/dist/index.es-Bgjh6euR.js +292 -0
  79. package/dist/index.es-Bo1Rhtyb.js +80 -0
  80. package/dist/{index.es-BaX-8joZ.js → index.es-CK4oZMKs.js} +3329 -3232
  81. package/dist/{index.es-nQ0lMwpE.js → index.es-CKdJX75f.js} +74 -78
  82. package/dist/index.es-CmF6xAUJ.js +48 -0
  83. package/dist/{index.es-p4O33fMu.js → index.es-Cq04gn3U.js} +321 -305
  84. package/dist/{index.es-Cdu6tjUC.js → index.es-D1IpdMde.js} +87 -95
  85. package/dist/index.es-DDYCugj-.js +166 -0
  86. package/dist/{index.es-jFaPNuBO.js → index.es-DENZVv7_.js} +427 -444
  87. package/dist/{index.es-Dnrk7XL6.js → index.es-DObVvepK.js} +158 -166
  88. package/dist/index.es-DeF-y7fd.js +122 -0
  89. package/dist/{index.es-ks_RnHLh.js → index.es-Dfju71Pi.js} +27 -37
  90. package/dist/index.es-DqSY-ePE.js +4923 -0
  91. package/dist/index.es-DwzB1d7_.js +1061 -0
  92. package/dist/index.es-IXyb5F6n.js +457 -0
  93. package/dist/index.es-t7hFwQSs.js +67 -0
  94. package/dist/isArray-DN9s620O.js +83 -0
  95. package/dist/{isArray-CSaAxHlq.js → isArray-Dub1wGJM.js} +1 -1
  96. package/dist/{isEmpty-SkzPhavO.js → isEmpty-CxD71Jv8.js} +4 -5
  97. package/dist/{isString-CZsZiWgW.js → isString-BNaBRq3S.js} +2 -2
  98. package/dist/isTypedArray-Dw_IY7Zq.js +212 -0
  99. package/dist/keyboard-B-WUULl-.js +173 -0
  100. package/dist/main.js +2 -2
  101. package/dist/map-Dbvlv_6y.js +707 -0
  102. package/dist/omit-uTAyrUTm.js +645 -0
  103. package/dist/orderBy-BXxEvUw6.js +571 -0
  104. package/dist/parse-int-qVAoFbOL.js +75 -0
  105. package/dist/services/UtilService.js +7 -7
  106. package/dist/slicedToArray-BWk2gTCn.js +436 -0
  107. package/dist/{toString-BFJes2_D.js → toString-CrgB_7Pe.js} +1 -1
  108. package/dist/{uniqueId-DrPMzA-E.js → uniqueId-NU3-C36A.js} +1 -1
  109. package/package.json +3 -3
  110. package/dist/_baseIsEqual-Df2URKWm.js +0 -240
  111. package/dist/_getAllKeys-BQWmkEw5.js +0 -86
  112. package/dist/_getTag-BkGSRa18.js +0 -79
  113. package/dist/_setToString-B6E13pDg.js +0 -580
  114. package/dist/get-DQr2KQKm.js +0 -113
  115. package/dist/index-D5m--65X.js +0 -1491
  116. package/dist/index.es-8MVlRCi4.js +0 -1066
  117. package/dist/index.es-BbaCXS9-.js +0 -45
  118. package/dist/index.es-BikIx4uw.js +0 -3242
  119. package/dist/index.es-CDMu_yu0.js +0 -954
  120. package/dist/index.es-ChSlnpSq.js +0 -309
  121. package/dist/index.es-D66OkZJH.js +0 -4853
  122. package/dist/index.es-DFFyENnI.js +0 -63
  123. package/dist/index.es-DTMwaJ6B.js +0 -56
  124. package/dist/index.es-DgTJmbgD.js +0 -268
  125. package/dist/index.es-DmsyeHLO.js +0 -306
  126. package/dist/index.es-Dw1eih7R.js +0 -159
  127. package/dist/index.es-eKuwB1ll.js +0 -54
  128. package/dist/index.es-qxTN-Bb2.js +0 -107
  129. package/dist/index.es-xnSvM9b9.js +0 -444
  130. package/dist/isArray-DDZrq40X.js +0 -456
  131. package/dist/keyboard-Bpt0aBqQ.js +0 -107
  132. package/dist/omit-BN3qeeaj.js +0 -364
  133. package/dist/orderBy-D4LvP9Az.js +0 -316
@@ -1,13 +1,13 @@
1
- import { c as D, _ as I, P as r } from "./index-D5m--65X.js";
2
- import N, { forwardRef as P, useRef as T, useImperativeHandle as H } from "react";
3
- import { d as e } from "./index.es-ChSlnpSq.js";
4
- const _ = {
1
+ import { _ as x, c as b, a as O, P as e } from "./index-Cpb-8cAN.js";
2
+ import R, { forwardRef as U, useRef as k, useImperativeHandle as j } from "react";
3
+ import { d as a } from "./index.es-BXj90wb_.js";
4
+ var w = {
5
5
  /**
6
6
  * The css class name to be passed through to the component markup.
7
7
  *
8
8
  * Defaults to **undefined**.
9
9
  */
10
- className: r.string,
10
+ className: e.string,
11
11
  /**
12
12
  * @deprecated _Use `themeColor` instead._
13
13
  *
@@ -15,7 +15,7 @@ const _ = {
15
15
  *
16
16
  * Defaults to **undefined**.
17
17
  */
18
- dividerColor: e(r.string, "Divider", "Use `themeColor` instead."),
18
+ dividerColor: a(e.string, "Divider", "Use `themeColor` instead."),
19
19
  /**
20
20
  * @deprecated _Use `themeColorImportant` instead._
21
21
  *
@@ -23,7 +23,7 @@ const _ = {
23
23
  *
24
24
  * Defaults to **undefined**.
25
25
  */
26
- dividerColorImportant: e(r.bool, "Divider", "Use `themeColorImportant` instead."),
26
+ dividerColorImportant: a(e.bool, "Divider", "Use `themeColorImportant` instead."),
27
27
  /**
28
28
  * @deprecated _Use `variant` instead._
29
29
  *
@@ -31,19 +31,19 @@ const _ = {
31
31
  *
32
32
  * Defaults to **undefined**.
33
33
  */
34
- dividerHeight: e(r.string, "Divider", "Use `variant` instead."),
34
+ dividerHeight: a(e.string, "Divider", "Use `variant` instead."),
35
35
  /**
36
36
  * Set the border-style with default browser styles. In general, avoid using.
37
37
  *
38
38
  * Defaults to **empty string**.
39
39
  */
40
- dividerStyle: r.string,
40
+ dividerStyle: e.string,
41
41
  /**
42
42
  * The name of the desired Element color like 'primary'
43
43
  *
44
44
  * Defaults to **'on-surface-stroke'**.
45
45
  */
46
- themeColor: r.oneOf(["", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "success", "success-variant", "success-50", "success-100", "success-200", "success-300", "success-400", "success-500", "success-600", "success-700", "success-800", "success-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400", "ancillary-500", "ancillary-600", "ancillary-700", "ancillary-800", "ancillary-900", "on-surface-stroke"]),
46
+ themeColor: e.oneOf(["", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "success", "success-variant", "success-50", "success-100", "success-200", "success-300", "success-400", "success-500", "success-600", "success-700", "success-800", "success-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400", "ancillary-500", "ancillary-600", "ancillary-700", "ancillary-800", "ancillary-900", "on-surface-stroke"]),
47
47
  /**
48
48
  * @deprecated _No longer needed._
49
49
  *
@@ -51,20 +51,20 @@ const _ = {
51
51
  *
52
52
  * Defaults to **undefined**.
53
53
  */
54
- themeColorImportant: e(r.bool, "Divider", "No longer needed."),
54
+ themeColorImportant: a(e.bool, "Divider", "No longer needed."),
55
55
  /**
56
56
  * Choose between dense and tall variants.
57
57
  *
58
58
  * Defaults to **'dense'**.
59
59
  */
60
- variant: r.oneOf(["dense", "tall"]),
60
+ variant: e.oneOf(["dense", "tall"]),
61
61
  /**
62
62
  * Adds top and bottom margin.
63
63
  *
64
64
  * Defaults to **'none'**.
65
65
  */
66
- verticalMargin: r.oneOf(["none", "dense", "standard", "airy"])
67
- }, $ = {
66
+ verticalMargin: e.oneOf(["none", "dense", "standard", "airy"])
67
+ }, E = {
68
68
  className: void 0,
69
69
  dividerColor: void 0,
70
70
  dividerColorImportant: void 0,
@@ -74,29 +74,19 @@ const _ = {
74
74
  themeColorImportant: void 0,
75
75
  variant: "dense",
76
76
  verticalMargin: "none"
77
- }, n = /* @__PURE__ */ P((t, c) => {
78
- const {
79
- dividerColor: l,
80
- dividerColorImportant: m,
81
- dividerHeight: y,
82
- dividerStyle: i,
83
- themeColor: p,
84
- themeColorImportant: v,
85
- variant: u,
86
- className: g,
87
- verticalMargin: a,
88
- ...f
89
- } = t, C = m || v, s = y || u, d = l || p, o = T();
90
- H(c, () => o.current, []);
91
- const h = D("lmnt", "lmnt-divider", C && "lmnt-divider--color-important", s && `lmnt-divider--${s}`, i && `lmnt-divider--${i}`, d && `lmnt-divider--${d}`, a && a !== "none" && `lmnt-divider--margin-${a}`, g);
92
- return /* @__PURE__ */ N.createElement("hr", I({
93
- ref: o,
94
- className: h
95
- }, f));
77
+ }, V = ["dividerColor", "dividerColorImportant", "dividerHeight", "dividerStyle", "themeColor", "themeColorImportant", "variant", "className", "verticalMargin"], i = E, h = /* @__PURE__ */ U(function(r, f) {
78
+ var d = r.dividerColor, I = d === void 0 ? i.dividerColor : d, t = r.dividerColorImportant, N = t === void 0 ? i.dividerColorImportant : t, n = r.dividerHeight, D = n === void 0 ? i.dividerHeight : n, s = r.dividerStyle, l = s === void 0 ? i.dividerStyle : s, c = r.themeColor, $ = c === void 0 ? i.themeColor : c, v = r.themeColorImportant, H = v === void 0 ? i.themeColorImportant : v, m = r.variant, M = m === void 0 ? i.variant : m, p = r.className, P = p === void 0 ? i.className : p, y = r.verticalMargin, o = y === void 0 ? i.verticalMargin : y, S = x(r, V), _ = N || H, u = D || M, g = I || $, C = k();
79
+ j(f, function() {
80
+ return C.current;
81
+ }, []);
82
+ var T = b("lmnt", "lmnt-divider", _ && "lmnt-divider--color-important", u && "lmnt-divider--".concat(u), l && "lmnt-divider--".concat(l), g && "lmnt-divider--".concat(g), o && o !== "none" && "lmnt-divider--margin-".concat(o), P);
83
+ return /* @__PURE__ */ R.createElement("hr", O({
84
+ ref: C,
85
+ className: T
86
+ }, S));
96
87
  });
97
- n.displayName = "Divider";
98
- n.propTypes = _;
99
- n.defaultProps = $;
88
+ h.displayName = "Divider";
89
+ h.propTypes = w;
100
90
  export {
101
- n as D
91
+ h as D
102
92
  };