@hortiview/shared-components 1.3.4 → 1.4.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 (28) hide show
  1. package/CHANGELOG.md +61 -10
  2. package/dist/{BigLoadingSpinner-iegTbDcD.js → BigLoadingSpinner-CqSGYzZA.js} +2 -2
  3. package/dist/assets/Modal.css +1 -1
  4. package/dist/components/AlertBanner/AlertBanner.js +14 -14
  5. package/dist/components/BlockView/BlockView.js +26 -24
  6. package/dist/components/ContextMenu/ContextMenu.js +29 -29
  7. package/dist/components/ContextMenu/ContextMenu.test.js +1 -1
  8. package/dist/components/Disclaimer/Disclaimer.js +7 -6
  9. package/dist/components/EmptyView/EmptyView.js +47 -37
  10. package/dist/components/Filter/Filter.d.ts +2 -1
  11. package/dist/components/Filter/Filter.js +107 -90
  12. package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +1 -1
  13. package/dist/components/FormComponents/FormSelect/FormSelect.js +22 -22
  14. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -6
  15. package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +3 -1
  16. package/dist/components/FormComponents/FormToggle/FormToggle.js +32 -26
  17. package/dist/components/FormComponents/FormToggle/FormToggle.test.js +19 -15
  18. package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -10
  19. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +1 -1
  20. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  21. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +1 -1
  22. package/dist/components/Modal/Modal.js +49 -48
  23. package/dist/components/OverflowTooltip/OverflowTooltip.js +10 -9
  24. package/dist/components/SearchBar/SearchBar.js +3 -2
  25. package/dist/components/Select/Select.d.ts +1 -1
  26. package/dist/components/Select/Select.js +34 -27
  27. package/dist/components/VerticalDivider/VerticalDivider.js +12 -5
  28. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { jsxs as ft, jsx as O } from "react/jsx-runtime";
2
- import { G as W } from "../../index.es-DntoATwO.js";
2
+ import { G as V } from "../../index.es-DntoATwO.js";
3
3
  import { I as it } from "../../index.es-0lQcz8m1.js";
4
4
  import { _ as pt, c as B, P as s } from "../../identity-DLWZln-X.js";
5
- import u, { forwardRef as ht, useRef as tt, useImperativeHandle as gt, useState as et, useEffect as g, useCallback as z, useMemo as $ } from "react";
5
+ import u, { forwardRef as ht, useRef as et, useImperativeHandle as gt, useState as nt, useEffect as g, useCallback as z, useMemo as Y } from "react";
6
6
  import { i as Et, c as T, a as _t } from "../../index.es-da0cf7oE.js";
7
- import { b as at, c as nt, d as Ct } from "../../tslib.es6-BDCynO9F.js";
7
+ import { b as at, c as ot, d as Ct } from "../../tslib.es6-BDCynO9F.js";
8
8
  import { M as St, a as vt } from "../../component-neHBNHRu.js";
9
9
  import { M as yt, c as Ot, m as Tt } from "../../component-DsB0poTj.js";
10
10
  import { A as At } from "../../animationframe-EMBh6XeO.js";
@@ -31,10 +31,10 @@ import '../../assets/Modal.css';/**
31
31
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
32
32
  * THE SOFTWARE.
33
33
  */
34
- function Dt(i, e, t) {
34
+ function It(i, e, t) {
35
35
  return e(i, { initialFocusEl: t });
36
36
  }
37
- function It(i) {
37
+ function Dt(i) {
38
38
  return i ? i.scrollHeight > i.offsetHeight : !1;
39
39
  }
40
40
  function Nt(i) {
@@ -224,7 +224,7 @@ var rt = (
224
224
  function(i) {
225
225
  at(e, i);
226
226
  function e(t) {
227
- var n = i.call(this, nt(nt({}, e.defaultAdapter), t)) || this;
227
+ var n = i.call(this, ot(ot({}, e.defaultAdapter), t)) || this;
228
228
  return n.dialogOpen = !1, n.isFullscreen = !1, n.animationFrame = 0, n.animationTimer = 0, n.escapeKeyAction = C.CLOSE_ACTION, n.scrimClickAction = C.CLOSE_ACTION, n.autoStackButtons = !0, n.areButtonsStacked = !1, n.suppressDefaultPressSelector = C.SUPPRESS_DEFAULT_PRESS_SELECTOR, n.animFrame = new At(), n.contentScrollHandler = function() {
229
229
  n.handleScrollEvent();
230
230
  }, n.windowResizeHandler = function() {
@@ -498,7 +498,7 @@ var m = rt.strings, Bt = (
498
498
  }
499
499
  }, e.prototype.initialSyncWithDOM = function() {
500
500
  var t = this;
501
- this.focusTrap = Dt(this.container, this.focusTrapFactory, this.getInitialFocusEl() || void 0), this.handleClick = this.foundation.handleClick.bind(this.foundation), this.handleKeydown = this.foundation.handleKeydown.bind(this.foundation), this.handleDocumentKeydown = this.foundation.handleDocumentKeydown.bind(this.foundation), this.handleOpening = function() {
501
+ this.focusTrap = It(this.container, this.focusTrapFactory, this.getInitialFocusEl() || void 0), this.handleClick = this.foundation.handleClick.bind(this.foundation), this.handleKeydown = this.foundation.handleKeydown.bind(this.foundation), this.handleDocumentKeydown = this.foundation.handleDocumentKeydown.bind(this.foundation), this.handleOpening = function() {
502
502
  document.addEventListener("keydown", t.handleDocumentKeydown);
503
503
  }, this.handleClosing = function() {
504
504
  document.removeEventListener("keydown", t.handleDocumentKeydown);
@@ -543,7 +543,7 @@ var m = rt.strings, Bt = (
543
543
  return t.root.classList.contains(o);
544
544
  },
545
545
  isContentScrollable: function() {
546
- return It(t.content);
546
+ return Dt(t.content);
547
547
  },
548
548
  notifyClosed: function(o) {
549
549
  return t.emit(m.CLOSED_EVENT, o ? { action: o } : {});
@@ -798,7 +798,7 @@ const wt = {
798
798
  defaultButton: E,
799
799
  dismissiveButton: _,
800
800
  footerSupplemental: b,
801
- headerActions: Y,
801
+ headerActions: J,
802
802
  hideCloseIcon: k,
803
803
  indicator: st,
804
804
  initialFocus: S,
@@ -808,19 +808,19 @@ const wt = {
808
808
  noActions: y,
809
809
  onClose: P,
810
810
  onClosed: U,
811
- onOpen: D,
812
- onOpened: I,
813
- open: J,
811
+ onOpen: I,
812
+ onOpened: D,
813
+ open: Q,
814
814
  preventClose: x,
815
- preventPrimaryAccept: Q,
815
+ preventPrimaryAccept: X,
816
816
  primaryButton: c,
817
817
  returnFocusSelector: G,
818
- scrollable: X,
819
- title: Z,
818
+ scrollable: Z,
819
+ title: tt,
820
820
  ...lt
821
- } = i, N = tt(), l = tt();
821
+ } = i, N = et(), l = et();
822
822
  gt(e, () => N.current, []);
823
- const [K, ct] = et(), [V, dt] = et(() => v || a);
823
+ const [K, ct] = nt(), [W, dt] = nt(() => v || a);
824
824
  g(() => {
825
825
  dt(v || a);
826
826
  }, [v, a]);
@@ -844,50 +844,50 @@ const wt = {
844
844
  }, [P]), R = z((f) => {
845
845
  G && Et(G), U && U(f);
846
846
  }, [G, U]);
847
- g(() => (l.current.unlisten("MDCDialog: opening", D), l.current.listen("MDCDialog: opening", D), () => {
848
- l.current.unlisten("MDCDialog: opening", D);
849
- }), [l, D]), g(() => (l.current.unlisten("MDCDialog:opened", I), l.current.listen("MDCDialog:opened", I), () => {
850
- l.current.unlisten("MDCDialog:opened", I);
851
- }), [l, I]), g(() => (l.current.unlisten("MDCDialog:closing", F), l.current.listen("MDCDialog:closing", F), () => {
847
+ g(() => (l.current.unlisten("MDCDialog: opening", I), l.current.listen("MDCDialog: opening", I), () => {
848
+ l.current.unlisten("MDCDialog: opening", I);
849
+ }), [l, I]), g(() => (l.current.unlisten("MDCDialog:opened", D), l.current.listen("MDCDialog:opened", D), () => {
850
+ l.current.unlisten("MDCDialog:opened", D);
851
+ }), [l, D]), g(() => (l.current.unlisten("MDCDialog:closing", F), l.current.listen("MDCDialog:closing", F), () => {
852
852
  l.current.unlisten("MDCDialog:closing", F);
853
853
  }), [l, F]), g(() => (l.current.unlisten("MDCDialog:closed", R), l.current.listen("MDCDialog:closed", R), () => {
854
854
  l.current.unlisten("MDCDialog:closed", R);
855
855
  }), [l, R]), g(() => {
856
- J ? l.current.open() : l.current.close();
857
- }, [l, J]);
858
- const ut = $(() => () => {
856
+ Q ? l.current.open() : l.current.close();
857
+ }, [l, Q]);
858
+ const ut = Y(() => () => {
859
859
  const f = {
860
860
  className: "lmnt-modal__button mdc-dialog__button",
861
861
  elevation: t?.props.elevation !== "default" ? t?.props.elevation : "flat",
862
862
  variant: t?.props.variant || "filled"
863
863
  };
864
864
  return E === "action" && (f["data-mdc-dialog-button-default"] = !0), S === "action" && (f["data-mdc-dialog-initial-focus"] = !0), f;
865
- }, [t?.props.elevation, t?.props.variant, E, S]), mt = $(() => () => {
865
+ }, [t?.props.elevation, t?.props.variant, E, S]), mt = Y(() => () => {
866
866
  const f = {
867
867
  className: "lmnt-modal__button mdc-dialog__button",
868
- "data-mdc-dialog-action": Q ? "" : "accept",
868
+ "data-mdc-dialog-action": X ? "" : "accept",
869
869
  elevation: c?.props.elevation !== "default" ? c?.props.elevation : "flat",
870
870
  variant: c?.props.variant || "filled"
871
871
  };
872
872
  return E === "primary" && (f["data-mdc-dialog-button-default"] = !0), S === "primary" && (f["data-mdc-dialog-initial-focus"] = !0), f;
873
- }, [Q, E, S, c?.props.elevation, c?.props.variant]);
873
+ }, [X, E, S, c?.props.elevation, c?.props.variant]);
874
874
  return /* @__PURE__ */ u.createElement("aside", pt({
875
875
  ref: N,
876
- className: B("lmnt", "lmnt-modal", "mdc-dialog", X && "lmnt-modal--scrollable mdc-dialog--scrollable", p),
876
+ className: B("lmnt", "lmnt-modal", "mdc-dialog", Z && "lmnt-modal--scrollable mdc-dialog--scrollable", p),
877
877
  role: "alertdialog"
878
878
  }, lt), /* @__PURE__ */ u.createElement("div", {
879
879
  className: B("lmnt-modal__container", "mdc-dialog__container", h === "fullscreen" && "mdc-dialog--fullscreen", h === "max" && "lmnt-modal__max", h === "xlarge" && "lmnt-modal__xl", h === "large" && "lmnt-modal__lg", h === "medium" && "lmnt-modal__md", h === "small" && "lmnt-modal__sm", (h === "mobile" || K) && "lmnt-modal__mobile", h === "dialog" && "lmnt-modal__dialog", y && "lmnt-modal-no-actions")
880
880
  }, /* @__PURE__ */ u.createElement("div", {
881
881
  className: "lmnt-modal__surface mdc-dialog__surface"
882
882
  }, /* @__PURE__ */ u.createElement("header", {
883
- className: B("lmnt-modal__title", "mdc-dialog__title", (h === "dialog" || k) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", X && "lmnt-modal__title-scrollable", (k || h === "dialog" || y) && "lmnt-modal--no-close-icon")
883
+ className: B("lmnt-modal__title", "mdc-dialog__title", (h === "dialog" || k) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", Z && "lmnt-modal__title-scrollable", (k || h === "dialog" || y) && "lmnt-modal--no-close-icon")
884
884
  }, !k && h !== "dialog" && !y && /* @__PURE__ */ u.createElement(it, {
885
885
  className: "mdc-icon-button material-icons mdc-dialog__close",
886
886
  "data-mdc-dialog-action": "close",
887
887
  icon: "clear"
888
- }), Z && /* @__PURE__ */ u.createElement("div", null, Z), Y && /* @__PURE__ */ u.createElement("div", {
888
+ }), tt && /* @__PURE__ */ u.createElement("div", null, tt), J && /* @__PURE__ */ u.createElement("div", {
889
889
  className: "lmnt-dialog__title-actions"
890
- }, Y), o && /* @__PURE__ */ u.createElement("div", {
890
+ }, J), o && /* @__PURE__ */ u.createElement("div", {
891
891
  className: "lmnt-badge--modal",
892
892
  style: {
893
893
  marginLeft: "0"
@@ -896,18 +896,18 @@ const wt = {
896
896
  className: "lmnt-modal__content mdc-dialog__content"
897
897
  }, A || d), st, (t || a || _ || v || c || b) && /* @__PURE__ */ u.createElement("footer", {
898
898
  className: B("lmnt-modal__actions", "mdc-dialog__actions", K && "lmnt-dialog__actions__mobile", b && "lmnt-modal__actions--supplemental-btn", K && H && "lmnt-modal_actions-mobile-stacked")
899
- }, !V && b && /* @__PURE__ */ u.createElement("div", {
899
+ }, !W && b && /* @__PURE__ */ u.createElement("div", {
900
900
  className: "lmnt-dialog__actions__supplemental"
901
901
  }, T(b, () => {
902
902
  const f = {};
903
903
  return E === "footerSupplemental" && (f["data-mdc-dialog-button-default"] = !0), S === "footerSupplemental" && (f["data-mdc-dialog-initial-focus"] = !0), f;
904
- })), !V && (t || _ || c) && /* @__PURE__ */ u.createElement("div", {
904
+ })), !W && (t || _ || c) && /* @__PURE__ */ u.createElement("div", {
905
905
  className: "lmnt-dialog__actions__right-align lmnt-modal_actions_button"
906
906
  }, _ && T(_, {
907
907
  variant: "text",
908
908
  className: "lmnt-modal__button mdc-dialog__button",
909
909
  "data-mdc-dialog-action": "close"
910
- }), t && !c && T(t, ut), c && T(c, mt)), V && /* @__PURE__ */ u.createElement("div", {
910
+ }), t && !c && T(t, ut), c && T(c, mt)), W && /* @__PURE__ */ u.createElement("div", {
911
911
  className: "lmnt-modal_actions_button lmnt-dialog__actions__directional"
912
912
  }, /* @__PURE__ */ u.createElement("div", null, _t(a, "lmnt-modal__button")), /* @__PURE__ */ u.createElement("div", null, T(v, {
913
913
  className: "lmnt-modal__button",
@@ -919,35 +919,36 @@ const wt = {
919
919
  M.displayName = "Modal";
920
920
  M.propTypes = wt;
921
921
  M.defaultProps = Mt;
922
- const kt = "_modal_br5s5_1", Ht = "_title_br5s5_6", ot = {
922
+ const kt = "_modal_18rd0_1", Ht = "_title_18rd0_6", Pt = "_titleWithoutCloseIcon_18rd0_18", $ = {
923
923
  modal: kt,
924
- title: Ht
925
- }, Yt = ({
924
+ title: Ht,
925
+ titleWithoutCloseIcon: Pt
926
+ }, Jt = ({
926
927
  onClose: i,
927
928
  title: e,
928
929
  headerActions: t,
929
930
  hideCloseIcon: n,
930
931
  ...o
931
932
  }) => {
932
- const a = $(() => {
933
- const d = /* @__PURE__ */ ft(W, { primaryAlign: "center", secondaryAlign: "center", children: [
934
- /* @__PURE__ */ O(it, { icon: "close", onClick: () => i?.(), type: "button" }),
935
- /* @__PURE__ */ O(bt, { level: 6, children: e })
933
+ const a = Y(() => {
934
+ const d = /* @__PURE__ */ ft(V, { primaryAlign: "center", secondaryAlign: "center", children: [
935
+ !n && /* @__PURE__ */ O(it, { icon: "close", onClick: () => i?.(), type: "button" }),
936
+ /* @__PURE__ */ O(bt, { level: 6, className: n ? $.titleWithoutCloseIcon : "", children: e })
936
937
  ] }, "base-group");
937
- return t ? Array.isArray(t) ? [d, /* @__PURE__ */ O(W, { children: t }, "action-group")] : [d, t] : d;
938
- }, [t, i, e]);
938
+ return t ? Array.isArray(t) ? [d, /* @__PURE__ */ O(V, { children: t }, "action-group")] : [d, t] : d;
939
+ }, [t, n, i, e]);
939
940
  return /* @__PURE__ */ O(
940
941
  M,
941
942
  {
942
943
  ...o,
943
944
  "data-testid": "modal",
944
- className: `${ot.modal} ${ot.title} ${o.className ?? ""}`,
945
- hideCloseIcon: n !== void 0 ? n : !0,
946
- headerActions: /* @__PURE__ */ O(W, { primaryAlign: "space-between", secondaryAlign: "center", children: a }, "header-group"),
945
+ className: `${$.modal} ${$.title} ${o.className ?? ""}`,
946
+ hideCloseIcon: !0,
947
+ headerActions: /* @__PURE__ */ O(V, { primaryAlign: "space-between", secondaryAlign: "center", children: a }, "header-group"),
947
948
  preventClose: !0
948
949
  }
949
950
  );
950
951
  };
951
952
  export {
952
- Yt as Modal
953
+ Jt as Modal
953
954
  };
@@ -1,27 +1,28 @@
1
- import { jsxs as a, Fragment as m, jsx as s } from "react/jsx-runtime";
1
+ import { jsxs as c, Fragment as m, jsx as s } from "react/jsx-runtime";
2
2
  import { b as p } from "../../index.es-CF_xy2ns.js";
3
- import { useState as h, useMemo as d, cloneElement as f } from "react";
3
+ import { useState as d, useMemo as h, cloneElement as f } from "react";
4
4
  import { M as w } from "../../react-tooltip.min-DSY6KDqS.js";
5
5
  import { hasChildWithGreaterWidth as W } from "./OverflowTooltipService.js";
6
- import '../../assets/OverflowTooltip.css';const u = "_truncate_wgwcv_1", b = {
6
+ import '../../assets/OverflowTooltip.css';const u = "_truncate_wgwcv_1", v = {
7
7
  truncate: u
8
8
  }, E = ({ id: o, text: l, children: e }) => {
9
- const [i, n] = h(!1), r = d(
9
+ const [i, r] = d(!1), n = h(
10
10
  () => f(e, {
11
11
  "data-tooltip-id": o,
12
12
  onMouseEnter: ({ currentTarget: t }) => {
13
- const c = t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight || W(t, t.parentElement?.clientWidth);
14
- n(c);
13
+ const a = t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight || W(t, t.parentElement?.clientWidth);
14
+ r(a);
15
15
  },
16
- className: `${b.truncate} ${e.props.className}`
16
+ className: `${v.truncate} ${e.props.className}`
17
17
  }),
18
18
  [e, o]
19
19
  );
20
- return /* @__PURE__ */ a(m, { children: [
21
- r,
20
+ return /* @__PURE__ */ c(m, { children: [
21
+ n,
22
22
  /* @__PURE__ */ s(
23
23
  w,
24
24
  {
25
+ "data-testid": "overflow-tooltip",
25
26
  id: o,
26
27
  noArrow: !0,
27
28
  place: "bottom",
@@ -3,7 +3,7 @@ import { I as c } from "../../index.es-0lQcz8m1.js";
3
3
  import { T as i } from "../../index.es-25EARqhH.js";
4
4
  import '../../assets/SearchBar.css';const l = "_searchbar_gnvwc_1", u = {
5
5
  searchbar: l
6
- }, b = ({
6
+ }, f = ({
7
7
  className: o = "",
8
8
  dense: n = !1,
9
9
  searchTerm: a,
@@ -23,6 +23,7 @@ import '../../assets/SearchBar.css';const l = "_searchbar_gnvwc_1", u = {
23
23
  trailingIcon: /* @__PURE__ */ r(
24
24
  c,
25
25
  {
26
+ "data-testid": "search-bar-icon-button",
26
27
  icon: a ? "close" : "search",
27
28
  onClick: () => a ? t("") : void 0
28
29
  }
@@ -30,5 +31,5 @@ import '../../assets/SearchBar.css';const l = "_searchbar_gnvwc_1", u = {
30
31
  }
31
32
  );
32
33
  export {
33
- b as SearchBar
34
+ f as SearchBar
34
35
  };
@@ -11,4 +11,4 @@ export type ExtendedSelectProps = SelectProps & {
11
11
  * @param portalClassName Custom class name for the portal. Only works if portalContainer is not set.
12
12
  * @param props Element Select props
13
13
  */
14
- export declare const Select: ({ menuMaxHeight, portalClassName, className, hoisted, ...props }: ExtendedSelectProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Select: ({ menuMaxHeight, portalClassName, "data-testid": dataTestId, className, hoisted, ...props }: ExtendedSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,34 +1,41 @@
1
- import { jsx as m, Fragment as u } from "react/jsx-runtime";
2
- import { S as d } from "../../index.es-UHKFl8Da.js";
3
- import { useEffect as a } from "react";
4
- import '../../assets/Select.css';const i = "_customPortal_8wq49_1", f = "_customSelect_8wq49_7", s = {
5
- customPortal: i,
6
- customSelect: f
7
- }, _ = ({
8
- menuMaxHeight: n = "15rem",
9
- portalClassName: e,
10
- className: r,
11
- hoisted: o,
12
- ...l
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { S as f } from "../../index.es-UHKFl8Da.js";
3
+ import { useEffect as n } from "react";
4
+ import { u as S } from "../../uniqueId-NU3-C36A.js";
5
+ import '../../assets/Select.css';const p = "_customPortal_8wq49_1", $ = "_customSelect_8wq49_7", r = {
6
+ customPortal: p,
7
+ customSelect: $
8
+ }, P = ({
9
+ menuMaxHeight: s = "15rem",
10
+ portalClassName: o,
11
+ "data-testid": l = "custom-select",
12
+ className: u,
13
+ hoisted: c,
14
+ ...d
13
15
  }) => {
14
- const t = `custom-portal-${e ?? "default"}`;
15
- return a(() => {
16
- if (o && !document.getElementById(t)) {
17
- const c = document.createElement("div");
18
- c.id = t, c.className = `${s.customPortal} ${e ?? ""}`, document.body.appendChild(c);
16
+ const e = `custom-portal-${o ?? "default"}`, m = S("elementSelectForTestId-");
17
+ return n(() => {
18
+ if (c && !document.getElementById(e)) {
19
+ const t = document.createElement("div");
20
+ t.id = e, t.className = `${r.customPortal} ${o ?? ""}`, document.body.appendChild(t);
19
21
  }
20
- }, [o, t, e]), /* @__PURE__ */ m(u, { children: /* @__PURE__ */ m(
21
- d,
22
+ }, [c, e, o]), n(() => {
23
+ const t = document.querySelectorAll(`#${m} input[role="combobox"]`);
24
+ t && t.forEach((i) => {
25
+ i.setAttribute("data-testid", l);
26
+ });
27
+ }, [l, m]), /* @__PURE__ */ a(
28
+ f,
22
29
  {
23
- "data-testid": "custom-select",
24
- menuMaxHeight: n,
25
- hoisted: o,
26
- portalContainer: document.getElementById(t) ? `#${t}` : void 0,
27
- className: `${s.customSelect} ${r ?? ""}`,
28
- ...l
30
+ menuMaxHeight: s,
31
+ hoisted: c,
32
+ id: m,
33
+ portalContainer: document.getElementById(e) ? `#${e}` : void 0,
34
+ className: `${r.customSelect} ${u ?? ""}`,
35
+ ...d
29
36
  }
30
- ) });
37
+ );
31
38
  };
32
39
  export {
33
- _ as Select
40
+ P as Select
34
41
  };
@@ -1,7 +1,14 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import '../../assets/VerticalDivider.css';const d = "_divider_opvom_1", s = {
3
- divider: d
4
- }, o = ({ height: i = "2rem", className: e = "" }) => /* @__PURE__ */ r("div", { className: `${s.divider} ${e}`, style: { height: i } });
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import '../../assets/VerticalDivider.css';const r = "_divider_opvom_1", t = {
3
+ divider: r
4
+ }, v = ({ height: i = "2rem", className: e = "" }) => /* @__PURE__ */ d(
5
+ "div",
6
+ {
7
+ "data-testid": "vertical-divider",
8
+ className: `${t.divider} ${e}`,
9
+ style: { height: i }
10
+ }
11
+ );
5
12
  export {
6
- o as VerticalDivider
13
+ v as VerticalDivider
7
14
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/shared-components",
3
3
  "description": "This is a shared component library. It should used in the HortiView platform and its modules.",
4
- "version": "1.3.4",
4
+ "version": "1.4.0",
5
5
  "type": "module",
6
6
  "repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
7
7
  "author": "Falk Menge <falk.menge.ext@bayer.com>",