@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.
- package/CHANGELOG.md +12 -0
- package/dist/{AlertBanner-DlgFtlZm.js → AlertBanner-D-NTP_6i.js} +3 -3
- package/dist/{BigLoadingSpinner-B_HFhx2F.js → BigLoadingSpinner-CCxsMWnc.js} +1 -1
- package/dist/{GenericCard-Cv8qaFLu.js → GenericCard-DOKyENNm.js} +3 -3
- package/dist/{ListAreaService-D9HRsvH0.js → ListAreaService-CI-s1Xx5.js} +5 -5
- package/dist/{OfflineView-Bw-sbsym.js → OfflineView-DHtzNLwt.js} +3 -3
- package/dist/_Map-BmafU0dj.js +113 -0
- package/dist/assets/FormSelect.css +1 -1
- package/dist/components/AlertBanner/AlertBanner.js +4 -4
- package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
- package/dist/components/AlertBanner/LinkBanner.js +3 -3
- package/dist/components/BaseView/BaseView.js +2 -2
- package/dist/components/BasicHeading/BasicHeading.js +2 -2
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.js +1 -1
- package/dist/components/ChipCard/ChipCard.js +499 -390
- package/dist/components/ContextMenu/ContextMenu.js +4 -4
- package/dist/components/DeleteModal/DeleteModal.js +5 -5
- package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.js +3 -3
- package/dist/components/EmptyView/EmptyView.js +161 -125
- package/dist/components/Filter/Filter.js +11 -11
- package/dist/components/Filter/Filter.test.js +51 -35
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +10 -10
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +3 -3
- package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.js +53 -53
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
- package/dist/components/FormComponents/FormSlider/FormSlider.js +540 -535
- package/dist/components/FormComponents/FormText/FormText.js +2 -2
- package/dist/components/FormComponents/FormToggle/FormToggle.js +4 -4
- package/dist/components/GenericTable/GenericTable.js +8246 -7153
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
- package/dist/components/HashTabView/HashTabView.js +552 -541
- package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
- package/dist/components/Iconify/Iconify.js +2 -2
- package/dist/components/InfoCard/InfoCard.js +4 -4
- package/dist/components/InfoGroup/InfoGroup.js +3 -3
- package/dist/components/ListArea/ListArea.js +16 -16
- package/dist/components/ListArea/ListArea.test.js +20 -20
- package/dist/components/ListArea/ListAreaService.js +6 -6
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +164 -178
- package/dist/components/Modal/Modal.js +305 -312
- package/dist/components/ModulePadding/ModulePadding.js +8 -8
- package/dist/components/OfflineView/OfflineView.js +4 -4
- package/dist/components/OfflineView/OfflineView.test.js +1 -1
- package/dist/components/OnboardingBanner/OnboardingBanner.js +13 -13
- package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
- package/dist/components/SearchBar/SearchBar.js +2 -2
- package/dist/components/SearchBar/SearchBar.test.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/components/StepperButton.js +1 -1
- package/dist/components/Stepper/components/StepperHeader.js +2 -2
- package/dist/components/Stepper/components/StepperIndicator.js +1 -1
- package/dist/defineProperty-CmuOyxyf.js +318 -0
- package/dist/es.string.iterator-DrqCBub-.js +581 -0
- package/dist/find-B-dm7n_F.js +88 -0
- package/dist/{get-CqneoueQ.js → get-DuK51wnj.js} +1 -1
- package/dist/get-u1nFMLdT.js +377 -0
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/identity-BIZAN_pL.js +213 -0
- package/dist/includes-Bt-Stz_B.js +110 -0
- package/dist/index-Cpb-8cAN.js +2465 -0
- package/dist/index.es-0QJC9VS2.js +325 -0
- package/dist/{index.es-CyjMwj5g.js → index.es-45NOgWlB.js} +93 -101
- package/dist/index.es-B6ZgiW2s.js +3790 -0
- package/dist/{index.es-1zrFd4Te.js → index.es-BGordhUK.js} +352 -323
- package/dist/index.es-BRtk0Q33.js +42 -0
- package/dist/index.es-BXj90wb_.js +402 -0
- package/dist/index.es-Bg8hxXM8.js +912 -0
- package/dist/index.es-Bgjh6euR.js +292 -0
- package/dist/index.es-Bo1Rhtyb.js +80 -0
- package/dist/{index.es-BaX-8joZ.js → index.es-CK4oZMKs.js} +3329 -3232
- package/dist/{index.es-nQ0lMwpE.js → index.es-CKdJX75f.js} +74 -78
- package/dist/index.es-CmF6xAUJ.js +48 -0
- package/dist/{index.es-p4O33fMu.js → index.es-Cq04gn3U.js} +321 -305
- package/dist/{index.es-Cdu6tjUC.js → index.es-D1IpdMde.js} +87 -95
- package/dist/index.es-DDYCugj-.js +166 -0
- package/dist/{index.es-jFaPNuBO.js → index.es-DENZVv7_.js} +427 -444
- package/dist/{index.es-Dnrk7XL6.js → index.es-DObVvepK.js} +158 -166
- package/dist/index.es-DeF-y7fd.js +122 -0
- package/dist/{index.es-ks_RnHLh.js → index.es-Dfju71Pi.js} +27 -37
- package/dist/index.es-DqSY-ePE.js +4923 -0
- package/dist/index.es-DwzB1d7_.js +1061 -0
- package/dist/index.es-IXyb5F6n.js +457 -0
- package/dist/index.es-t7hFwQSs.js +67 -0
- package/dist/isArray-DN9s620O.js +83 -0
- package/dist/{isArray-CSaAxHlq.js → isArray-Dub1wGJM.js} +1 -1
- package/dist/{isEmpty-SkzPhavO.js → isEmpty-CxD71Jv8.js} +4 -5
- package/dist/{isString-CZsZiWgW.js → isString-BNaBRq3S.js} +2 -2
- package/dist/isTypedArray-Dw_IY7Zq.js +212 -0
- package/dist/keyboard-B-WUULl-.js +173 -0
- package/dist/main.js +2 -2
- package/dist/map-Dbvlv_6y.js +707 -0
- package/dist/omit-uTAyrUTm.js +645 -0
- package/dist/orderBy-BXxEvUw6.js +571 -0
- package/dist/parse-int-qVAoFbOL.js +75 -0
- package/dist/services/UtilService.js +7 -7
- package/dist/slicedToArray-BWk2gTCn.js +436 -0
- package/dist/{toString-BFJes2_D.js → toString-CrgB_7Pe.js} +1 -1
- package/dist/{uniqueId-DrPMzA-E.js → uniqueId-NU3-C36A.js} +1 -1
- package/package.json +3 -3
- package/dist/_baseIsEqual-Df2URKWm.js +0 -240
- package/dist/_getAllKeys-BQWmkEw5.js +0 -86
- package/dist/_getTag-BkGSRa18.js +0 -79
- package/dist/_setToString-B6E13pDg.js +0 -580
- package/dist/get-DQr2KQKm.js +0 -113
- package/dist/index-D5m--65X.js +0 -1491
- package/dist/index.es-8MVlRCi4.js +0 -1066
- package/dist/index.es-BbaCXS9-.js +0 -45
- package/dist/index.es-BikIx4uw.js +0 -3242
- package/dist/index.es-CDMu_yu0.js +0 -954
- package/dist/index.es-ChSlnpSq.js +0 -309
- package/dist/index.es-D66OkZJH.js +0 -4853
- package/dist/index.es-DFFyENnI.js +0 -63
- package/dist/index.es-DTMwaJ6B.js +0 -56
- package/dist/index.es-DgTJmbgD.js +0 -268
- package/dist/index.es-DmsyeHLO.js +0 -306
- package/dist/index.es-Dw1eih7R.js +0 -159
- package/dist/index.es-eKuwB1ll.js +0 -54
- package/dist/index.es-qxTN-Bb2.js +0 -107
- package/dist/index.es-xnSvM9b9.js +0 -444
- package/dist/isArray-DDZrq40X.js +0 -456
- package/dist/keyboard-Bpt0aBqQ.js +0 -107
- package/dist/omit-BN3qeeaj.js +0 -364
- package/dist/orderBy-D4LvP9Az.js +0 -316
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import
|
|
3
|
-
import { d as
|
|
4
|
-
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
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:
|
|
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:
|
|
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
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
n.defaultProps = $;
|
|
88
|
+
h.displayName = "Divider";
|
|
89
|
+
h.propTypes = w;
|
|
100
90
|
export {
|
|
101
|
-
|
|
91
|
+
h as D
|
|
102
92
|
};
|