@hortiview/shared-components 2.10.1 → 2.11.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 (64) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +29 -13
  3. package/dist/assets/GenericTable.css +1 -1
  4. package/dist/assets/stepper.css +1 -1
  5. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  6. package/dist/components/AlertBanner/LinkBanner.test.js +1 -1
  7. package/dist/components/BaseView/BaseView.test.js +1 -1
  8. package/dist/components/BasicHeading/BasicHeading.js +27 -27
  9. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  10. package/dist/components/BlockView/BlockView.test.js +1 -1
  11. package/dist/components/ChipCard/ChipCard.test.js +1 -1
  12. package/dist/components/ContextMenu/ContextMenu.test.js +1 -1
  13. package/dist/components/DeleteModal/DeleteModal.test.js +1 -1
  14. package/dist/components/Disclaimer/Disclaimer.test.js +1 -1
  15. package/dist/components/EmptyView/EmptyView.test.js +1 -1
  16. package/dist/components/Filter/Filter.test.js +1 -1
  17. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +1 -1
  18. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +1 -1
  19. package/dist/components/FormComponents/FormNumber/FormNumber.test.js +1 -1
  20. package/dist/components/FormComponents/FormRadio/FormRadio.test.js +1 -1
  21. package/dist/components/FormComponents/FormSelect/FormSelect.test.js +2 -2
  22. package/dist/components/FormComponents/FormSlider/FormSlider.test.js +1 -1
  23. package/dist/components/FormComponents/FormText/FormText.test.js +1 -1
  24. package/dist/components/FormComponents/FormToggle/FormToggle.test.js +1 -1
  25. package/dist/components/GenericTable/GenericTable.js +1 -1
  26. package/dist/components/GenericTable/GenericTable.test.js +1 -1
  27. package/dist/components/GenericTable/GenericTableService.js +37 -31
  28. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  29. package/dist/components/GenericTable/Mobile/GenericCardList.test.js +1 -1
  30. package/dist/components/HashTabView/HashTabView.test.js +1 -1
  31. package/dist/components/HeaderFilter/HeaderFilter.test.js +1 -1
  32. package/dist/components/Iconify/Iconify.test.js +1 -1
  33. package/dist/components/InfoCard/InfoCard.test.js +1 -1
  34. package/dist/components/InfoGroup/InfoGroup.test.js +1 -1
  35. package/dist/components/ListArea/ListArea.test.js +1 -1
  36. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  37. package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +1 -1
  38. package/dist/components/Modal/Modal.d.ts +3 -1
  39. package/dist/components/Modal/Modal.js +111 -110
  40. package/dist/components/ModulePadding/ModulePadding.test.js +1 -1
  41. package/dist/components/OfflineView/OfflineView.test.js +1 -1
  42. package/dist/components/OnboardingBanner/OnboardingBanner.test.js +1 -1
  43. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +2 -2
  44. package/dist/components/SafeForm/SafeForm.test.js +2 -2
  45. package/dist/components/Scrollbar/scrollbar.test.js +1 -1
  46. package/dist/components/SearchBar/SearchBar.test.js +1 -1
  47. package/dist/components/Select/Select.test.js +1 -1
  48. package/dist/components/Stepper/Stepper.d.ts +7 -3
  49. package/dist/components/Stepper/Stepper.js +30 -20
  50. package/dist/components/Stepper/Stepper.test.js +127 -38
  51. package/dist/components/Stepper/components/StepperButton.d.ts +6 -2
  52. package/dist/components/Stepper/components/StepperButton.js +60 -46
  53. package/dist/components/Stepper/components/StepperHeader.d.ts +8 -2
  54. package/dist/components/Stepper/components/StepperHeader.js +60 -14
  55. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  56. package/dist/components/Stepper/stepperTypes.d.ts +35 -5
  57. package/dist/components/VerticalDivider/VerticalDivider.test.js +1 -1
  58. package/dist/hooks/useBreakpoints.test.js +1 -1
  59. package/dist/{index-I7uTh4Tr.js → index-CkZYDkGd.js} +1 -1
  60. package/dist/{react.esm-CX1WJ2Pp.js → react.esm-BbMrgZCM.js} +3 -2
  61. package/dist/stepper.module-c-CWmpkt.js +15 -0
  62. package/dist/types/GenericTable.d.ts +6 -1
  63. package/package.json +1 -1
  64. package/dist/stepper.module-HuqmDJPj.js +0 -12
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [2.11.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.10.2...v2.11.0) (2026-01-21)
2
+
3
+ ### Features
4
+
5
+ * HV-13800 Update Stepper and Modal component ([e78f32c](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/e78f32c02b4d0916de7e99a959de4dcf22acb6f9)), closes [#13800](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/issues/13800)
6
+
7
+ ## [2.10.2](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.10.1...v2.10.2) (2026-01-07)
8
+
9
+ ### Bug Fixes
10
+
11
+ * column width ([4a5f60a](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/4a5f60a263765fee170859fcb4162343be9bf326))
12
+ * fixed basic heading classname ([13af9e1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/13af9e192b104ea036dc4d1f125144639dbd7205))
13
+
14
+ ### Styles
15
+
16
+ * actions column sticked left ([c90e1c1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/c90e1c10b8e5197cf15a0cb3f8606ed9f76197df))
17
+
1
18
  ## [2.10.1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.10.0...v2.10.1) (2026-01-06)
2
19
 
3
20
  ### Bug Fixes
package/README.md CHANGED
@@ -1018,41 +1018,57 @@ import { Select } from '@hortiview/shared-components';
1018
1018
  ### Stepper
1019
1019
 
1020
1020
  Provides a simple stepper component, which contains the step indicators, a title text and buttons to navigate forwards and backwards.
1021
- Be aware that you need to control the Stepper flow by your own, like:
1021
+ The component is available in two types:
1022
+
1023
+ * 'default' (steps as dots and a centered step title below them)
1024
+ * 'description' (n/n numerical progress, description/title right of it)
1025
+
1026
+ **Be aware that you need to control the Stepper flow by your own, like:**
1022
1027
 
1023
1028
  ```jsx
1024
1029
  import { Step, Stepper } from '@hortiview/shared-components';
1025
1030
 
1031
+ const [currentStep, setCurrentStep] = useState(0);
1032
+
1026
1033
  const steps: Step[] = [
1027
1034
  {
1028
1035
  name: 'first',
1029
1036
  step: 0,
1030
1037
  title: 'First Step',
1031
1038
  optional: false,
1039
+ nextButtonProps: {
1040
+ onClick: () => { setCurrentStep(1)},
1041
+ label: 'Next',
1042
+ showArrowIcon: true,
1043
+ },
1044
+ prevButtonProps: {
1045
+ onClick: () => { // handle cancel action },
1046
+ label: 'Cancel',
1047
+ showArrowIcon: false,
1048
+ },
1032
1049
  },
1033
1050
  {
1034
1051
  name: 'second',
1035
1052
  step: 1,
1036
1053
  title: 'Second Step',
1037
1054
  optional: true,
1055
+ nextButtonProps: {
1056
+ onClick: () => { // handle finish action },
1057
+ label: 'Send',
1058
+ showArrowIcon: false,
1059
+ },
1060
+ prevButtonProps: {
1061
+ onClick: () => { setCurrentStep(0)},
1062
+ label: 'Back',
1063
+ showArrowIcon: false,
1064
+ },
1038
1065
  },
1039
1066
  ];
1040
1067
 
1041
- const [currentStep, setCurrentStep] = useState(0);
1042
-
1043
1068
  <Stepper
1069
+ type={'default'}
1044
1070
  steps={steps}
1045
1071
  currentStep={currentStep}
1046
- nextButtonProps={{
1047
- label: currentStep < args.steps.length - 1 ? 'Next' : 'Finish',
1048
- onClick: () =>
1049
- currentStep < args.steps.length - 1
1050
- ? setCurrentStep(currentStep + 1)
1051
- : setCurrentStep(args.steps.length - 1),
1052
- }}
1053
- prevButtonProps={{
1054
- onClick: () => (currentStep > 0 ? setCurrentStep(currentStep - 1) : setCurrentStep(0)),
1055
- }}
1056
1072
  />;
1057
1073
  ```
1058
1074
 
@@ -1 +1 @@
1
- ._topBar_1tmb3_1 [class*=lmnt-table__top-bar__title]{display:none}._filterBar_1tmb3_5{padding:1rem;width:inherit!important}._start_1tmb3_10{padding-top:0;padding-bottom:0}._emptyTable_1tmb3_15{height:16rem}[class*=mnt-pagination][class*=mdc-data-table__pagination]{border-top:1px solid var(--lmnt-theme-on-secondary-stroke)}._elevation_1tmb3_23{border-radius:.4rem;width:100%}._table_1tmb3_28,._table_1tmb3_28 [class*=mdc-data-table__table-container]{border-radius:.4rem}._noBorder_1tmb3_36{border:none}
1
+ ._topBar_47g7x_1 [class*=lmnt-table__top-bar__title]{display:none}._filterBar_47g7x_5{padding:1rem;width:inherit!important}._start_47g7x_10{padding-top:0;padding-bottom:0}._emptyTable_47g7x_15{height:16rem}[class*=mnt-pagination][class*=mdc-data-table__pagination]{border-top:1px solid var(--lmnt-theme-on-secondary-stroke)}._elevation_47g7x_23{border-radius:.4rem;width:100%}._table_47g7x_28,._table_47g7x_28 [class*=mdc-data-table__table-container]{border-radius:.4rem}._table_47g7x_28 *[id=actions]{width:44px;padding:0 2px;position:sticky;right:0;background-color:var(--lmnt-theme-background)}._table_47g7x_28 tr:hover td[id=actions]{background-color:var(--table-bg-color-hover)}._noBorder_47g7x_48{border:none}
@@ -1 +1 @@
1
- ._stepperIndicatorItem_78nle_1{height:var(--lmnt-stepper-indicator__size);width:var(--lmnt-stepper-indicator__size);background-color:#c7c7c7;border-radius:50%}._stepperIndicatorItemActive_78nle_8{background-color:var(--lmnt-theme-primary)}._stepperIndicatorItemOptional_78nle_12{border:1.5px dashed #7e7e7e}._stepperContainer_78nle_16{background-color:var(--lmnt-theme-primary-50);border:1px solid var(--lmnt-theme-on-surface-stroke);border-radius:.25rem;padding:.75rem 1rem}._stepperTitle_78nle_23{text-align:center;color:var(--lmnt-theme-on-secondary-inactive)}._stepperButton_78nle_28{margin-bottom:0}._stepperButtonLoading_78nle_32{padding-top:.375rem!important;padding-bottom:.375rem!important}._stepperButtonLoading_78nle_32 svg{stroke:var(--lmnt-theme-white)!important}
1
+ ._stepperIndicatorItem_x786o_1{height:var(--lmnt-stepper-indicator__size);width:var(--lmnt-stepper-indicator__size);background-color:#c7c7c7;border-radius:50%}._stepperIndicatorItemActive_x786o_8{background-color:var(--lmnt-theme-primary)}._stepperIndicatorItemOptional_x786o_12{border:1.5px dashed #7e7e7e}._stepperContainer_x786o_16{background-color:var(--lmnt-theme-primary-50);border:1px solid var(--lmnt-theme-on-surface-stroke);border-radius:.25rem;padding:.75rem 1rem}._stepperTitle_x786o_23{text-align:center;color:var(--lmnt-theme-on-secondary-inactive)}._stepperButton_x786o_28{margin-bottom:0}._stepperButtonLoading_x786o_32{padding-top:.375rem!important;padding-bottom:.375rem!important}._stepperButtonLoading_x786o_32 svg{stroke:var(--lmnt-theme-white)!important}._stepperDescriptionContainer_x786o_43{border-radius:.2rem;background-color:var(--lmnt-theme-primary-50);border:1px solid var(--lmnt-theme-on-surface-stroke)}._stepperDescriptionProgress_x786o_49{padding:0 1rem;min-width:3.5rem;background:var(--lmnt-theme-primary);color:var(--lmnt-theme-on-primary);border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}._stepperDescriptionText_x786o_60{padding:.7rem}
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as m } from "react/jsx-runtime";
2
- import { a as t, s } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as t, s } from "../../react.esm-BbMrgZCM.js";
3
3
  import { a as o } from "../../useBreakpoints-MzTZ0tCT.js";
4
4
  import { A as n } from "../../AlertBanner-Dss0v6W0.js";
5
5
  import { d as p, b as c, a as l, t as r, g as a } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { a as r, s as e } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as r, s as e } from "../../react.esm-BbMrgZCM.js";
3
3
  import { a as o } from "../../useBreakpoints-MzTZ0tCT.js";
4
4
  import { LinkBanner as a } from "./LinkBanner.js";
5
5
  import { d as n, b as i, a as m, t as p, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, Fragment as s } from "react/jsx-runtime";
2
- import { a as n, s as e, f as p } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as n, s as e, f as p } from "../../react.esm-BbMrgZCM.js";
3
3
  import { a as l } from "../../useBreakpoints-MzTZ0tCT.js";
4
4
  import { BaseView as r } from "./BaseView.js";
5
5
  import { d as u, b as d, a as c, t as i, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,86 +1,86 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as n } from "react/jsx-runtime";
2
2
  import { G as t } from "../../index.es-DsGuBR0Z.js";
3
3
  import { I as A } from "../../index.es-DYs8W4jv.js";
4
4
  import { b as I, T as z } from "../../index.es-DCSgIiJH.js";
5
- import { c as d } from "../../index-Cpb-8cAN.js";
5
+ import { c as m } from "../../index-Cpb-8cAN.js";
6
6
  import { Iconify as H } from "../Iconify/Iconify.js";
7
7
  import { AvailableCustomIcons as q } from "../../enums/AvailableCustomIcons.js";
8
- import { u as N } from "../../useBreakpoints-MzTZ0tCT.js";
9
- import { OverflowTooltip as w } from "../OverflowTooltip/OverflowTooltip.js";
10
- import '../../assets/BasicHeading.css';const x = "_basicHeading_14qaz_1", C = "_inList_14qaz_13", T = "_actions_14qaz_17", B = "_invisible_14qaz_25", L = "_leadingIcon_14qaz_29", W = "_withAvatar_14qaz_33", j = "_iconContainer_14qaz_39", n = {
11
- basicHeading: x,
12
- inList: C,
8
+ import { u as w } from "../../useBreakpoints-MzTZ0tCT.js";
9
+ import { OverflowTooltip as x } from "../OverflowTooltip/OverflowTooltip.js";
10
+ import '../../assets/BasicHeading.css';const C = "_basicHeading_14qaz_1", N = "_inList_14qaz_13", T = "_actions_14qaz_17", B = "_invisible_14qaz_25", L = "_leadingIcon_14qaz_29", W = "_withAvatar_14qaz_33", j = "_iconContainer_14qaz_39", e = {
11
+ basicHeading: C,
12
+ inList: N,
13
13
  actions: T,
14
14
  invisible: B,
15
15
  leadingIcon: L,
16
16
  withAvatar: W,
17
17
  iconContainer: j
18
- }, k = ({ icon: i }) => i ? typeof i != "string" ? /* @__PURE__ */ e("div", { className: n.iconContainer, children: i }) : i in q ? /* @__PURE__ */ e(
18
+ }, k = ({ icon: i }) => i ? typeof i != "string" ? /* @__PURE__ */ n("div", { className: e.iconContainer, children: i }) : i in q ? /* @__PURE__ */ n(
19
19
  H,
20
20
  {
21
21
  icon: i,
22
- className: n.leadingIcon,
22
+ className: e.leadingIcon,
23
23
  iconSize: "medium",
24
24
  iconType: "filled"
25
25
  }
26
- ) : /* @__PURE__ */ e(A, { iconSize: "medium", iconType: "filled", icon: i, className: n.leadingIcon }) : null, J = ({
26
+ ) : /* @__PURE__ */ n(A, { iconSize: "medium", iconType: "filled", icon: i, className: e.leadingIcon }) : null, J = ({
27
27
  children: i,
28
- marginBottom: o,
28
+ marginBottom: s,
29
29
  heading: a,
30
- icon: m,
31
- className: p,
30
+ icon: p,
31
+ className: r,
32
32
  subHeading: f,
33
33
  subHeadingLevel: g = 2,
34
34
  invisibleButton: _ = !1,
35
- level: r = 5,
36
- fontWeight: c = 400,
35
+ level: c = 5,
36
+ fontWeight: l = 400,
37
37
  withAvatar: u = !1,
38
38
  inList: y = !1
39
39
  }) => {
40
- const { isDesktop: l } = N(), v = l ? r : r + 1, b = c === "bold" ? 500 : c, h = typeof o == "number" ? `${o}px` : "2rem";
41
- return /* @__PURE__ */ s(
40
+ const { isDesktop: d } = w(), v = d ? c : c + 1, b = l === "bold" ? 500 : l, h = typeof s == "number" ? `${s}px` : "2rem";
41
+ return /* @__PURE__ */ o(
42
42
  t,
43
43
  {
44
44
  primaryAlign: "space-between",
45
45
  secondaryAlign: "center",
46
46
  gap: "none",
47
- className: d(n.basicHeading, y && n.inList),
47
+ className: m(e.basicHeading, y && e.inList, r),
48
48
  style: { marginBottom: h },
49
49
  "data-testid": "HeaderContainer",
50
50
  fullWidth: !0,
51
51
  children: [
52
- /* @__PURE__ */ s(
52
+ /* @__PURE__ */ o(
53
53
  t,
54
54
  {
55
55
  secondaryAlign: "center",
56
56
  gap: "none",
57
- className: `${u && l ? n.withAvatar : ""}`,
57
+ className: `${u && d ? e.withAvatar : ""}`,
58
58
  fullWidth: !0,
59
59
  children: [
60
- /* @__PURE__ */ e(k, { icon: m }),
61
- /* @__PURE__ */ s(t, { direction: "vertical", gap: "none", fullWidth: !0, children: [
62
- /* @__PURE__ */ e(w, { id: a, text: a, children: /* @__PURE__ */ e(
60
+ /* @__PURE__ */ n(k, { icon: p }),
61
+ /* @__PURE__ */ o(t, { direction: "vertical", gap: "none", fullWidth: !0, children: [
62
+ /* @__PURE__ */ n(x, { id: a, text: a, children: /* @__PURE__ */ n(
63
63
  I,
64
64
  {
65
65
  level: v,
66
66
  "data-testid": "Header",
67
- className: p ?? "",
67
+ className: r ?? "",
68
68
  style: { fontWeight: b },
69
69
  children: a
70
70
  }
71
71
  ) }),
72
- /* @__PURE__ */ e(z, { level: g, children: f })
72
+ /* @__PURE__ */ n(z, { level: g, children: f })
73
73
  ] })
74
74
  ]
75
75
  }
76
76
  ),
77
- i ? /* @__PURE__ */ e(
77
+ i ? /* @__PURE__ */ n(
78
78
  t,
79
79
  {
80
80
  primaryAlign: "end",
81
81
  secondaryAlign: "center",
82
82
  gap: "dense",
83
- className: d(_ && n.invisible, n.actions),
83
+ className: m(_ && e.invisible, e.actions),
84
84
  "data-testid": "RightPart",
85
85
  children: i
86
86
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, Fragment as d } from "react/jsx-runtime";
2
2
  import { B as g } from "../../index.es-DUcI2Zyr.js";
3
- import { a, s as t } from "../../react.esm-CX1WJ2Pp.js";
3
+ import { a, s as t } from "../../react.esm-BbMrgZCM.js";
4
4
  import { BasicHeading as i } from "./BasicHeading.js";
5
5
  import { d as h, t as s, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
6
6
  h("BasicHeading-Test", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { a as s, s as o, f as n } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as o, f as n } from "../../react.esm-BbMrgZCM.js";
3
3
  import { BlockView as i } from "./BlockView.js";
4
4
  import { d as a, a as B, t as r, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  a("BlockView Test", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { a, s as i } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a, s as i } from "../../react.esm-BbMrgZCM.js";
3
3
  import { ChipCard as n } from "./ChipCard.js";
4
4
  import { d as s, t as c, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  s("ChipCard Component", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as i, s as t, f as o, w as c } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as i, s as t, f as o, w as c } from "../../react.esm-BbMrgZCM.js";
3
3
  import { ContextMenu as d } from "./ContextMenu.js";
4
4
  import { a as B, d as I, t as l, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const g = B.fn(), m = B.fn(), r = B.fn(), u = [
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as c, s as e } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as c, s as e } from "../../react.esm-BbMrgZCM.js";
3
3
  import { DeleteModal as a } from "./DeleteModal.js";
4
4
  import { d, t as b, a as o, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  d("DeleteModal Test", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { a as r, s as t } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as r, s as t } from "../../react.esm-BbMrgZCM.js";
3
3
  import { Disclaimer as s } from "./Disclaimer.js";
4
4
  import { d as i, t as m, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  i("Disclaimer test", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as i, s as o, w as r, f as l } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as i, s as o, w as r, f as l } from "../../react.esm-BbMrgZCM.js";
3
3
  import { EmptyView as T } from "./EmptyView.js";
4
4
  import { d as m, t as s, g as t, a } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  m("EmptyView", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { a, s as t, f as c, w as d } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a, s as t, f as c, w as d } from "../../react.esm-BbMrgZCM.js";
3
3
  import { act as u } from "react";
4
4
  import { a as f } from "../../useBreakpoints-MzTZ0tCT.js";
5
5
  import { Filter as T } from "./Filter.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as s, s as r, f as h } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as r, f as h } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormCheckBox as n } from "./FormCheckBox.js";
4
4
  import { a as e, d as m, t as c, g as o } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const l = e.fn();
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as s, s as r, f as m } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as r, f as m } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormDatePicker as c } from "./FormDatePicker.js";
4
4
  import { a as e, d as f, t as l, g as a } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const i = e.fn();
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { a, s as n } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a, s as n } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormNumber as s } from "./FormNumber.js";
4
4
  import { a as e, d as m, t as f, g as r } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const l = e.fn();
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as s, s as t, f as m } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as t, f as m } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormRadio as l } from "./FormRadio.js";
4
4
  import { a as e, d as c, t as i, g as o } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const r = e.fn();
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { a, s as t, f as T, w as p } from "../../../react.esm-CX1WJ2Pp.js";
3
- import { u as B } from "../../../index-I7uTh4Tr.js";
2
+ import { a, s as t, f as T, w as p } from "../../../react.esm-BbMrgZCM.js";
3
+ import { u as B } from "../../../index-CkZYDkGd.js";
4
4
  import { FormSelect as i } from "./FormSelect.js";
5
5
  import { SelectTooltipText as d } from "./SelectTooltipText.js";
6
6
  import { a as n, d as f, t as u, g as e } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as s, s as n } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as n } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormSlider as l } from "./FormSlider.js";
4
4
  import { a as e, d as m, t as i, g as r } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const o = e.fn();
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as s, s as r, f as i } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as r, f as i } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormText as o } from "./FormText.js";
4
4
  import { a, d as u, t as l, g as e } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const d = a.fn();
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as s, s as t, f as m } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as s, s as t, f as m } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { FormToggle as n } from "./FormToggle.js";
4
4
  import { a as e, d as u, t as l, g as o } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const c = e.fn();
@@ -11493,7 +11493,7 @@ var $g = ["title", "actions", "prominent", "filterBar", "className"], Fa = Fv, R
11493
11493
  });
11494
11494
  Ro.displayName = "TableTopBar";
11495
11495
  Ro.propTypes = Mv;
11496
- const Mg = "_topBar_1tmb3_1", Fg = "_filterBar_1tmb3_5", Gg = "_start_1tmb3_10", zg = "_emptyTable_1tmb3_15", Wg = "_elevation_1tmb3_23", kg = "_table_1tmb3_28", Ug = "_noBorder_1tmb3_36", Ln = {
11496
+ const Mg = "_topBar_47g7x_1", Fg = "_filterBar_47g7x_5", Gg = "_start_47g7x_10", zg = "_emptyTable_47g7x_15", Wg = "_elevation_47g7x_23", kg = "_table_47g7x_28", Ug = "_noBorder_47g7x_48", Ln = {
11497
11497
  topBar: Mg,
11498
11498
  filterBar: Fg,
11499
11499
  start: Gg,
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as B } from "react/jsx-runtime";
2
- import { a as o, s as e } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as o, s as e } from "../../react.esm-BbMrgZCM.js";
3
3
  import { a as m } from "../../useBreakpoints-MzTZ0tCT.js";
4
4
  import { GenericTable as s } from "./GenericTable.js";
5
5
  import { d as h, a as r, t as i, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,58 +1,64 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { useMemo as d } from "react";
3
- import { ContextMenu as v } from "../ContextMenu/ContextMenu.js";
4
- const b = ({
2
+ import { useMemo as p } from "react";
3
+ import { ContextMenu as l } from "../ContextMenu/ContextMenu.js";
4
+ const P = ({
5
5
  data: r = [],
6
- order: n = [],
7
- cellTemplates: e = void 0,
8
- headerTranslation: t = (c) => c,
9
- getRowActions: f = void 0,
6
+ order: e = [],
7
+ cellTemplates: n = void 0,
8
+ headerTranslation: t = (d) => d,
9
+ getRowActions: c = void 0,
10
10
  customColumnWidth: o,
11
11
  cardTitleColumn: u,
12
12
  cardSubTitleColumn: s
13
- }) => d(() => {
13
+ }) => p(() => {
14
14
  if (r?.length === 0) return [];
15
- const c = x(r[0], n).map((i) => {
16
- const p = o ? o[i] : void 0;
15
+ const d = v(r[0], e).map((i) => {
16
+ const f = o ? o[i] : void 0;
17
17
  return {
18
18
  id: i,
19
19
  header: t(i),
20
20
  accessor: i,
21
- cellTemplate: e ? e[i] : void 0,
22
- cellProps: p ? { width: p } : void 0,
23
- headerCellProps: p ? { width: p } : void 0,
21
+ cellTemplate: n ? n[i] : void 0,
22
+ cellProps: f ? { width: f } : void 0,
23
+ headerCellProps: f ? { width: f } : void 0,
24
24
  asCardTitle: i === u,
25
25
  asCardSubtitle: i === s
26
26
  };
27
27
  });
28
- return f ? [
29
- ...c,
30
- { id: "actions", header: "", accessor: "actions" }
31
- ] : c;
28
+ return c ? [
29
+ ...d,
30
+ {
31
+ id: "actions",
32
+ header: " ",
33
+ accessor: "actions",
34
+ cellProps: { id: "actions" },
35
+ headerCellProps: { id: "actions" }
36
+ }
37
+ ] : d;
32
38
  }, [
33
39
  r,
34
- e,
35
40
  n,
41
+ e,
36
42
  t,
37
- f,
43
+ c,
38
44
  o,
39
45
  u,
40
46
  s
41
- ]), j = ({
47
+ ]), C = ({
42
48
  data: r = [],
43
- getRowActions: n = void 0
44
- }) => d(() => n ? r.map((e) => {
45
- const t = /* @__PURE__ */ a(v, { actions: n(e), iconOrientation: "horizontal" });
46
- return { ...e, actions: t };
47
- }) : r, [r, n]), x = (r, n) => {
49
+ getRowActions: e = void 0
50
+ }) => p(() => e ? r.map((n) => {
51
+ const t = /* @__PURE__ */ a(l, { actions: e(n), iconOrientation: "horizontal" });
52
+ return { ...n, actions: t };
53
+ }) : r, [r, e]), v = (r, e) => {
48
54
  if (!r) return [];
49
- let e = Object.keys(r).map((t) => t);
50
- return n?.length > 0 && (e = e.sort((t, f) => {
51
- const o = n.findIndex((s) => s === t), u = n.findIndex((s) => s === f);
55
+ let n = Object.keys(r).map((t) => t);
56
+ return e?.length > 0 && (n = n.sort((t, c) => {
57
+ const o = e.findIndex((s) => s === t), u = e.findIndex((s) => s === c);
52
58
  return o === -1 ? 1 : u === -1 ? -1 : o - u;
53
- })), e;
59
+ })), n;
54
60
  };
55
61
  export {
56
- b as useGenerateColumns,
57
- j as useGenerateTableData
62
+ P as useGenerateColumns,
63
+ C as useGenerateTableData
58
64
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as c, s as o } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as c, s as o } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { G as i } from "../../../GenericCard-MjxZ1L7r.js";
4
4
  import { d as m, t as s, g as e } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  m("GenericCard", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as r, s as o, w as l } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a as r, s as o, w as l } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { GenericCardList as s } from "./GenericCardList.js";
4
4
  import { d as m, t as i, g as e } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  m("GenericCardList", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as o } from "react/jsx-runtime";
2
- import { a, s as e, f as r } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a, s as e, f as r } from "../../react.esm-BbMrgZCM.js";
3
3
  import { HashTabView as c } from "./HashTabView.js";
4
4
  import { d as h, t as l, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  const m = [
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a as i, s as t, f as T } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as i, s as t, f as T } from "../../react.esm-BbMrgZCM.js";
3
3
  import { HeaderFilter as s } from "./HeaderFilter.js";
4
4
  import { d as c, t as o, a as l, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  c("HeaderFilter-Test", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { Iconify as c } from "./Iconify.js";
3
3
  import { AvailableCustomIcons as l } from "../../enums/AvailableCustomIcons.js";
4
- import { a as r, w as s, s as i } from "../../react.esm-CX1WJ2Pp.js";
4
+ import { a as r, w as s, s as i } from "../../react.esm-BbMrgZCM.js";
5
5
  import { d as f, t as a, g as o } from "../../vi.CjhMlMwf-CKxPQtd6.js";
6
6
  f("Iconify Test", async () => {
7
7
  const m = Object.keys(l).filter((e) => isNaN(Number(e)));
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as r, s as e } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as r, s as e } from "../../react.esm-BbMrgZCM.js";
3
3
  import { InfoCard as s } from "./InfoCard.js";
4
4
  import { d as h, t as i, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  h("HealthCheckFailed Component", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { a as l, s as t } from "../../react.esm-CX1WJ2Pp.js";
2
+ import { a as l, s as t } from "../../react.esm-BbMrgZCM.js";
3
3
  import { InfoGroup as r } from "./InfoGroup.js";
4
4
  import { d as s, t as i, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  s("InfoGroup Test", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, Fragment as i } from "react/jsx-runtime";
2
2
  import { P as m } from "../../index.es-Bo1Rhtyb.js";
3
3
  import { c as u } from "../../index.es-DCSgIiJH.js";
4
- import { a as s, s as a, f as c } from "../../react.esm-CX1WJ2Pp.js";
4
+ import { a as s, s as a, f as c } from "../../react.esm-BbMrgZCM.js";
5
5
  import { ListArea as l } from "./ListArea.js";
6
6
  import { g as h } from "../../ListAreaService-Dx9WBGHB.js";
7
7
  import { d, t as n, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { s as r, B as n } from "../../../BigLoadingSpinner-BeHzqdOg.js";
3
- import { a as i, s as e } from "../../../react.esm-CX1WJ2Pp.js";
3
+ import { a as i, s as e } from "../../../react.esm-BbMrgZCM.js";
4
4
  import { d as g, t as a, g as t } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  g("BigLoadingSpinner Test", () => {
6
6
  a("render BigLoadingSpinner with custom loading text", () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { a, s as e } from "../../../react.esm-CX1WJ2Pp.js";
2
+ import { a, s as e } from "../../../react.esm-BbMrgZCM.js";
3
3
  import { act as s } from "react";
4
4
  import { LoadingSpinner as i } from "./LoadingSpinner.js";
5
5
  import { d as m, b as d, t as o, g as t, v as r } from "../../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -3,6 +3,7 @@ import { AvailableCustomIcons } from '../../enums/AvailableCustomIcons';
3
3
  import { OfflineViewProps } from '../OfflineView/OfflineView';
4
4
 
5
5
  type ModalProps = Omit<ElementModalProps, 'primaryButton'> & React.HTMLProps<HTMLElement> & React.DOMAttributes<HTMLElement> & {
6
+ closeIcon?: keyof typeof AvailableCustomIcons | string;
6
7
  leadingIcon?: keyof typeof AvailableCustomIcons | string;
7
8
  isOnline?: boolean;
8
9
  offlineViewProps?: Partial<OfflineViewProps>;
@@ -14,6 +15,7 @@ type ModalProps = Omit<ElementModalProps, 'primaryButton'> & React.HTMLProps<HTM
14
15
  * @param title - The title of the modal.
15
16
  * @param headerActions - The actions to display in the header of the modal.
16
17
  * @param actionButton - Button for the primary action of the modal - primaryButton is omitted from {@link ModalProps} since it triggers form submission on Enter key press.
18
+ * @param closeIcon - Set a custom close icon. Default is 'close'.
17
19
  * @param hideCloseIcon - If true, the close icon will be hidden. Default true.
18
20
  * @param leadingIcon - Iconify icon string (material icons and custom icons)
19
21
  * @param isOnline - Whether the user is online; shows OfflineView when false.
@@ -21,5 +23,5 @@ type ModalProps = Omit<ElementModalProps, 'primaryButton'> & React.HTMLProps<HTM
21
23
  * @param ...props - Other element props to pass to the modal.
22
24
  * @returns
23
25
  */
24
- export declare const Modal: ({ onClose, title, headerActions, actionButton, hideCloseIcon, leadingIcon, isOnline, offlineViewProps, children, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element;
26
+ export declare const Modal: ({ onClose, title, headerActions, actionButton, hideCloseIcon, closeIcon, leadingIcon, isOnline, offlineViewProps, children, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element;
25
27
  export {};