@hortiview/shared-components 2.10.2 → 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.
- package/CHANGELOG.md +6 -0
- package/README.md +29 -13
- package/dist/assets/stepper.css +1 -1
- package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
- package/dist/components/AlertBanner/LinkBanner.test.js +1 -1
- package/dist/components/BaseView/BaseView.test.js +1 -1
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.test.js +1 -1
- package/dist/components/ChipCard/ChipCard.test.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.test.js +1 -1
- package/dist/components/DeleteModal/DeleteModal.test.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.test.js +1 -1
- package/dist/components/EmptyView/EmptyView.test.js +1 -1
- package/dist/components/Filter/Filter.test.js +1 -1
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +1 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.test.js +1 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +2 -2
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +1 -1
- package/dist/components/FormComponents/FormText/FormText.test.js +1 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.test.js +1 -1
- package/dist/components/GenericTable/GenericTable.test.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.test.js +1 -1
- package/dist/components/HashTabView/HashTabView.test.js +1 -1
- package/dist/components/HeaderFilter/HeaderFilter.test.js +1 -1
- package/dist/components/Iconify/Iconify.test.js +1 -1
- package/dist/components/InfoCard/InfoCard.test.js +1 -1
- package/dist/components/InfoGroup/InfoGroup.test.js +1 -1
- package/dist/components/ListArea/ListArea.test.js +1 -1
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +1 -1
- package/dist/components/Modal/Modal.d.ts +3 -1
- package/dist/components/Modal/Modal.js +111 -110
- package/dist/components/ModulePadding/ModulePadding.test.js +1 -1
- package/dist/components/OfflineView/OfflineView.test.js +1 -1
- package/dist/components/OnboardingBanner/OnboardingBanner.test.js +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +2 -2
- package/dist/components/SafeForm/SafeForm.test.js +2 -2
- package/dist/components/Scrollbar/scrollbar.test.js +1 -1
- package/dist/components/SearchBar/SearchBar.test.js +1 -1
- package/dist/components/Select/Select.test.js +1 -1
- package/dist/components/Stepper/Stepper.d.ts +7 -3
- package/dist/components/Stepper/Stepper.js +30 -20
- package/dist/components/Stepper/Stepper.test.js +127 -38
- package/dist/components/Stepper/components/StepperButton.d.ts +6 -2
- package/dist/components/Stepper/components/StepperButton.js +60 -46
- package/dist/components/Stepper/components/StepperHeader.d.ts +8 -2
- package/dist/components/Stepper/components/StepperHeader.js +60 -14
- package/dist/components/Stepper/components/StepperIndicator.js +1 -1
- package/dist/components/Stepper/stepperTypes.d.ts +35 -5
- package/dist/components/VerticalDivider/VerticalDivider.test.js +1 -1
- package/dist/hooks/useBreakpoints.test.js +1 -1
- package/dist/{index-I7uTh4Tr.js → index-CkZYDkGd.js} +1 -1
- package/dist/{react.esm-CX1WJ2Pp.js → react.esm-BbMrgZCM.js} +3 -2
- package/dist/stepper.module-c-CWmpkt.js +15 -0
- package/package.json +1 -1
- package/dist/stepper.module-HuqmDJPj.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
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
|
+
|
|
1
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)
|
|
2
8
|
|
|
3
9
|
### 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
|
-
|
|
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
|
|
package/dist/assets/stepper.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
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-
|
|
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-
|
|
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-
|
|
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,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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
-
import { u as B } from "../../../index-
|
|
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-
|
|
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-
|
|
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-
|
|
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();
|
|
@@ -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-
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { a as c, s as o } from "../../../react.esm-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 {};
|