@hortiview/shared-components 2.15.0 → 2.16.1
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-aW6joVUm.js +35 -0
- package/dist/assets/ButtonCard.css +1 -0
- package/dist/assets/ConfirmationModal.css +1 -0
- package/dist/assets/InfoCard.css +1 -1
- package/dist/assets/stepper.css +1 -1
- package/dist/components/AlertBanner/AlertBanner.d.ts +5 -1
- package/dist/components/AlertBanner/AlertBanner.js +1 -1
- package/dist/components/AlertBanner/AlertBanner.test.js +9 -7
- package/dist/components/AlertBanner/LinkBanner.js +1 -1
- package/dist/components/AlertBanner/LinkBanner.test.js +3 -3
- package/dist/components/BaseView/BaseView.test.js +1 -1
- package/dist/components/ButtonCard/ButtonCard.d.ts +42 -0
- package/dist/components/ButtonCard/ButtonCard.js +51 -0
- package/dist/components/ButtonCard/ButtonCard.test.d.ts +1 -0
- package/dist/components/ButtonCard/ButtonCard.test.js +92 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +77 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js +90 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.test.d.ts +1 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.test.js +221 -0
- package/dist/components/DeleteModal/DeleteModal.js +6 -6
- package/dist/components/Filter/Filter.js +3 -3
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +1 -1
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +1 -1
- package/dist/components/FormComponents/FormSlider/FormSlider.js +1 -1
- package/dist/components/FormComponents/FormText/FormText.js +1 -1
- package/dist/components/GenericTable/GenericTable.js +4 -4
- package/dist/components/InfoCard/InfoCard.d.ts +6 -2
- package/dist/components/InfoCard/InfoCard.js +50 -37
- package/dist/components/InfoCard/InfoCard.test.js +40 -18
- package/dist/components/ModulePadding/ModulePadding.js +2 -2
- package/dist/components/SearchBar/SearchBar.js +1 -1
- package/dist/components/Stepper/Stepper.d.ts +19 -14
- package/dist/components/Stepper/Stepper.js +94 -39
- package/dist/components/Stepper/Stepper.test.js +305 -121
- package/dist/components/Stepper/components/StepperButton.js +1 -1
- package/dist/components/Stepper/components/StepperHeader.d.ts +2 -11
- package/dist/components/Stepper/components/StepperHeader.js +141 -70
- package/dist/components/Stepper/components/StepperItem.d.ts +8 -0
- package/dist/components/Stepper/components/StepperItem.js +44 -0
- package/dist/components/Stepper/stepperStyles.d.ts +5 -0
- package/dist/components/Stepper/stepperStyles.js +4 -0
- package/dist/components/Stepper/stepperTypes.d.ts +102 -47
- package/dist/{index.es-B74L_Dje.js → index.es-BYcQTTL8.js} +3 -3
- package/dist/{index.es-C7cC1Hdu.js → index.es-C32E1Lcb.js} +1 -1
- package/dist/main.d.ts +3 -1
- package/dist/main.js +120 -116
- package/dist/services/UtilService.js +2 -2
- package/dist/stepper.module-DR_FbENS.js +23 -0
- package/package.json +3 -2
- package/dist/AlertBanner-Ci-F-6S9.js +0 -26
- package/dist/components/Stepper/components/StepperIndicator.d.ts +0 -9
- package/dist/components/Stepper/components/StepperIndicator.js +0 -16
- package/dist/stepper.module-c-CWmpkt.js +0 -15
package/dist/main.js
CHANGED
|
@@ -1,127 +1,131 @@
|
|
|
1
|
-
import { A as e } from "./AlertBanner-
|
|
1
|
+
import { A as e } from "./AlertBanner-aW6joVUm.js";
|
|
2
2
|
import { LinkBanner as m } from "./components/AlertBanner/LinkBanner.js";
|
|
3
3
|
import { BaseView as f } from "./components/BaseView/BaseView.js";
|
|
4
4
|
import { BasicHeading as i } from "./components/BasicHeading/BasicHeading.js";
|
|
5
5
|
import { BlockView as n } from "./components/BlockView/BlockView.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
6
|
+
import { ButtonCard as A } from "./components/ButtonCard/ButtonCard.js";
|
|
7
|
+
import { ChipCard as d } from "./components/ChipCard/ChipCard.js";
|
|
8
|
+
import { ConfirmationModal as E } from "./components/ConfirmationModal/ConfirmationModal.js";
|
|
9
|
+
import { ContextMenu as L } from "./components/ContextMenu/ContextMenu.js";
|
|
10
|
+
import { DeleteModal as F } from "./components/DeleteModal/DeleteModal.js";
|
|
11
|
+
import { DetailContentWrapper as T } from "./components/DetailContentWrapper/DetailContentWrapper.js";
|
|
12
|
+
import { Disclaimer as D } from "./components/Disclaimer/Disclaimer.js";
|
|
13
|
+
import { EmptyView as u } from "./components/EmptyView/EmptyView.js";
|
|
14
|
+
import { Filter as C } from "./components/Filter/Filter.js";
|
|
15
|
+
import { FormattedNumberDisplay as N } from "./components/FormattedNumberDisplay/FormattedNumberDisplay.js";
|
|
16
|
+
import { GenericTable as w } from "./components/GenericTable/GenericTable.js";
|
|
17
|
+
import { HashTabView as b } from "./components/HashTabView/HashTabView.js";
|
|
18
|
+
import { HeaderFilter as V } from "./components/HeaderFilter/HeaderFilter.js";
|
|
19
|
+
import { Iconify as U } from "./components/Iconify/Iconify.js";
|
|
20
|
+
import { InfoCard as k } from "./components/InfoCard/InfoCard.js";
|
|
21
|
+
import { InfoGroup as y } from "./components/InfoGroup/InfoGroup.js";
|
|
22
|
+
import { ListArea as Y } from "./components/ListArea/ListArea.js";
|
|
23
|
+
import { LoadingSpinner as z } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
|
|
24
|
+
import { Modal as j } from "./components/Modal/Modal.js";
|
|
25
|
+
import { ModulePadding as J } from "./components/ModulePadding/ModulePadding.js";
|
|
26
|
+
import { O as Z } from "./OfflineView-CIwV08EQ.js";
|
|
27
|
+
import { OnboardingBanner as rr } from "./components/OnboardingBanner/OnboardingBanner.js";
|
|
28
|
+
import { OverflowTooltip as er } from "./components/OverflowTooltip/OverflowTooltip.js";
|
|
29
|
+
import { ScrollbarX as mr, ScrollbarY as pr } from "./components/Scrollbar/Scrollbar.js";
|
|
30
|
+
import { SearchBar as xr } from "./components/SearchBar/SearchBar.js";
|
|
31
|
+
import { Select as ar } from "./components/Select/Select.js";
|
|
32
|
+
import { StepperHeader as lr } from "./components/Stepper/components/StepperHeader.js";
|
|
33
|
+
import { Stepper as sr } from "./components/Stepper/Stepper.js";
|
|
34
|
+
import { VerticalDivider as Sr } from "./components/VerticalDivider/VerticalDivider.js";
|
|
35
|
+
import { FormCheckBox as cr } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
|
|
36
|
+
import { FormDatePicker as _r } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
|
|
37
|
+
import { FormNumber as Ir } from "./components/FormComponents/FormNumber/FormNumber.js";
|
|
38
|
+
import { FormRadio as Gr } from "./components/FormComponents/FormRadio/FormRadio.js";
|
|
39
|
+
import { FormSelect as Mr } from "./components/FormComponents/FormSelect/FormSelect.js";
|
|
40
|
+
import { FormSlider as Br } from "./components/FormComponents/FormSlider/FormSlider.js";
|
|
41
|
+
import { FormText as Pr } from "./components/FormComponents/FormText/FormText.js";
|
|
42
|
+
import { FormToggle as gr } from "./components/FormComponents/FormToggle/FormToggle.js";
|
|
43
|
+
import { SafeForm as Or } from "./components/SafeForm/SafeForm.js";
|
|
44
|
+
import { AvailableCustomIcons as Rr } from "./enums/AvailableCustomIcons.js";
|
|
45
|
+
import { ThemeColor as Hr } from "./enums/ThemeColor.js";
|
|
46
|
+
import { u as hr } from "./useBreakpoints-MzTZ0tCT.js";
|
|
47
|
+
import { capitalizeFirstLetters as vr, getFormattedDateTime as yr, getNumberAsLocaleString as Wr, trimLeadingAndTrailingSpaces as Yr } from "./services/UtilService.js";
|
|
48
|
+
import { StepperStyle as zr } from "./components/Stepper/stepperStyles.js";
|
|
49
|
+
import { DATE_FORMAT as jr, DATE_TIME_FORMAT as qr, TIME_FORMAT as Jr } from "./types/Time.js";
|
|
50
|
+
import { AVAILABLE_COUNTRY_KEYS as Zr, AVAILABLE_LOCALES as $r, ENGLISH_LANGUAGE_ID as ro, GERMAN_LANGUAGE_ID as oo, LANGUAGE_CODES_MAPPER as eo, LANGUAGE_ID_MAPPER as to, SPANISH_LANGUAGE_ID as mo, TURKISH_LANGUAGE_ID as po } from "./types/Languages.js";
|
|
51
|
+
import { Allowed as xo } from "./components/Allowed/Allowed.js";
|
|
52
|
+
import { AllowedButton as ao } from "./components/AllowedButton/AllowedButton.js";
|
|
53
|
+
import { AllowedIconButton as lo } from "./components/AllowedIconButton/AllowedIconButton.js";
|
|
54
|
+
import { getPermissionsFromModulePermissionToken as so, useIsAllowed as So } from "./components/PermissionChecks/PermissionService.js";
|
|
55
|
+
import { SharedComponentsPermissionProvider as co } from "./components/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider.js";
|
|
56
|
+
import { createPermissionWrapper as _o, renderWithPermissions as Fo } from "./test-utils.js";
|
|
57
|
+
import { HVMainPermissions as To } from "./types/Permission.js";
|
|
56
58
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
Zr as AVAILABLE_COUNTRY_KEYS,
|
|
60
|
+
$r as AVAILABLE_LOCALES,
|
|
59
61
|
e as AlertBanner,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
xo as Allowed,
|
|
63
|
+
ao as AllowedButton,
|
|
64
|
+
lo as AllowedIconButton,
|
|
65
|
+
Rr as AvailableCustomIcons,
|
|
64
66
|
f as BaseView,
|
|
65
67
|
i as BasicHeading,
|
|
66
68
|
n as BlockView,
|
|
67
|
-
A as
|
|
68
|
-
d as
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
b as
|
|
92
|
-
V as
|
|
93
|
-
U as
|
|
94
|
-
|
|
95
|
-
|
|
69
|
+
A as ButtonCard,
|
|
70
|
+
d as ChipCard,
|
|
71
|
+
E as ConfirmationModal,
|
|
72
|
+
L as ContextMenu,
|
|
73
|
+
jr as DATE_FORMAT,
|
|
74
|
+
qr as DATE_TIME_FORMAT,
|
|
75
|
+
F as DeleteModal,
|
|
76
|
+
T as DetailContentWrapper,
|
|
77
|
+
D as Disclaimer,
|
|
78
|
+
ro as ENGLISH_LANGUAGE_ID,
|
|
79
|
+
u as EmptyView,
|
|
80
|
+
C as Filter,
|
|
81
|
+
cr as FormCheckBox,
|
|
82
|
+
_r as FormDatePicker,
|
|
83
|
+
Ir as FormNumber,
|
|
84
|
+
Gr as FormRadio,
|
|
85
|
+
Mr as FormSelect,
|
|
86
|
+
Br as FormSlider,
|
|
87
|
+
Pr as FormText,
|
|
88
|
+
gr as FormToggle,
|
|
89
|
+
N as FormattedNumberDisplay,
|
|
90
|
+
oo as GERMAN_LANGUAGE_ID,
|
|
91
|
+
w as GenericTable,
|
|
92
|
+
To as HVMainPermissions,
|
|
93
|
+
b as HashTabView,
|
|
94
|
+
V as HeaderFilter,
|
|
95
|
+
U as Iconify,
|
|
96
|
+
k as InfoCard,
|
|
97
|
+
y as InfoGroup,
|
|
98
|
+
eo as LANGUAGE_CODES_MAPPER,
|
|
99
|
+
to as LANGUAGE_ID_MAPPER,
|
|
96
100
|
m as LinkBanner,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
101
|
+
Y as ListArea,
|
|
102
|
+
z as LoadingSpinner,
|
|
103
|
+
j as Modal,
|
|
104
|
+
J as ModulePadding,
|
|
105
|
+
Z as OfflineView,
|
|
106
|
+
rr as OnboardingBanner,
|
|
107
|
+
er as OverflowTooltip,
|
|
108
|
+
mo as SPANISH_LANGUAGE_ID,
|
|
109
|
+
Or as SafeForm,
|
|
110
|
+
mr as ScrollbarX,
|
|
111
|
+
pr as ScrollbarY,
|
|
112
|
+
xr as SearchBar,
|
|
113
|
+
ar as Select,
|
|
114
|
+
co as SharedComponentsPermissionProvider,
|
|
115
|
+
sr as Stepper,
|
|
116
|
+
lr as StepperHeader,
|
|
117
|
+
zr as StepperStyle,
|
|
118
|
+
Jr as TIME_FORMAT,
|
|
119
|
+
po as TURKISH_LANGUAGE_ID,
|
|
120
|
+
Hr as ThemeColor,
|
|
121
|
+
Sr as VerticalDivider,
|
|
122
|
+
vr as capitalizeFirstLetters,
|
|
123
|
+
_o as createPermissionWrapper,
|
|
124
|
+
yr as getFormattedDateTime,
|
|
125
|
+
Wr as getNumberAsLocaleString,
|
|
126
|
+
so as getPermissionsFromModulePermissionToken,
|
|
127
|
+
Fo as renderWithPermissions,
|
|
128
|
+
Yr as trimLeadingAndTrailingSpaces,
|
|
129
|
+
hr as useBreakpoints,
|
|
130
|
+
So as useIsAllowed
|
|
127
131
|
};
|
|
@@ -6,13 +6,13 @@ import "../isEmpty-BnfHn4bl.js";
|
|
|
6
6
|
import "react";
|
|
7
7
|
import "../react-tooltip.min-CVsI--2Y.js";
|
|
8
8
|
import "../orderBy-DLBJlgdL.js";
|
|
9
|
+
import "../index-CuHybtft.js";
|
|
10
|
+
import "../components/SharedComponentsPermissionProvider/PermissionContext.js";
|
|
9
11
|
import "../uniqueId-BNVTeImh.js";
|
|
10
12
|
import "react-hook-form";
|
|
11
13
|
import "../get-D8IXqiys.js";
|
|
12
14
|
import "../omit-CYY_mIYv.js";
|
|
13
15
|
import { DATE_FORMAT as c } from "../types/Time.js";
|
|
14
|
-
import "../index-CuHybtft.js";
|
|
15
|
-
import "../components/SharedComponentsPermissionProvider/PermissionContext.js";
|
|
16
16
|
import "../react.esm-Bm0cAgpZ.js";
|
|
17
17
|
const d = (t) => t.split(" ").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join(" "), f = (t) => Object.fromEntries(
|
|
18
18
|
Object.entries(t).map(([r, i]) => [r, o(i)])
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import './assets/stepper.css';const e = "_stepperIndicatorItem_1tz4b_1", t = "_stepperIndicatorItemActive_1tz4b_8", p = "_stepperIndicatorItemOptional_1tz4b_12", r = "_stepperContainer_1tz4b_16", s = "_stepperTitle_1tz4b_23", o = "_stepperButton_1tz4b_28", n = "_stepperButtonLoading_1tz4b_32", i = "_stepperDescriptionContainer_1tz4b_43", _ = "_stepperDescriptionProgress_1tz4b_49", c = "_stepperDescriptionText_1tz4b_60", m = "_stepperDesktopHeaderContainer_1tz4b_66", I = "_stepperItem_1tz4b_73", a = "_stepperItemNumber_1tz4b_73", b = "_stepperItemNumberActive_1tz4b_91", d = "_itemText_1tz4b_96", z = "_itemTextActive_1tz4b_101", C = "_stepperItemConnector_1tz4b_105", u = "_stepperItemConnectorCompleted_1tz4b_125", D = {
|
|
2
|
+
stepperIndicatorItem: e,
|
|
3
|
+
stepperIndicatorItemActive: t,
|
|
4
|
+
stepperIndicatorItemOptional: p,
|
|
5
|
+
stepperContainer: r,
|
|
6
|
+
stepperTitle: s,
|
|
7
|
+
stepperButton: o,
|
|
8
|
+
stepperButtonLoading: n,
|
|
9
|
+
stepperDescriptionContainer: i,
|
|
10
|
+
stepperDescriptionProgress: _,
|
|
11
|
+
stepperDescriptionText: c,
|
|
12
|
+
stepperDesktopHeaderContainer: m,
|
|
13
|
+
stepperItem: I,
|
|
14
|
+
stepperItemNumber: a,
|
|
15
|
+
stepperItemNumberActive: b,
|
|
16
|
+
itemText: d,
|
|
17
|
+
itemTextActive: z,
|
|
18
|
+
stepperItemConnector: C,
|
|
19
|
+
stepperItemConnectorCompleted: u
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
D as s
|
|
23
|
+
};
|
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": "2.
|
|
4
|
+
"version": "2.16.1",
|
|
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>",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"react": "^18.3.1",
|
|
47
47
|
"react-dom": "^18.3.1",
|
|
48
48
|
"react-hook-form": "^7.55.0",
|
|
49
|
-
"react-number-format": "^5.4.3"
|
|
49
|
+
"react-number-format": "^5.4.3",
|
|
50
|
+
"@element-public/react-components": "^5.72.2-alpha.1"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@chromatic-com/storybook": "^3.2.4",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as n, Fragment as i, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { G as l } from "./index.es-oxil0uFe.js";
|
|
3
|
-
import { I as _ } from "./index.es-Dgxrk6xW.js";
|
|
4
|
-
import { T as m } from "./index.es-SjZ_-d7U.js";
|
|
5
|
-
import './assets/AlertBanner.css';const d = "_messageContainer_2hnjr_1", g = "_info_2hnjr_9", h = "_danger_2hnjr_14", f = "_success_2hnjr_19", p = "_warning_2hnjr_24", u = "_closeIcon_2hnjr_29", j = "_linkBanner_2hnjr_34", s = {
|
|
6
|
-
messageContainer: d,
|
|
7
|
-
info: g,
|
|
8
|
-
danger: h,
|
|
9
|
-
success: f,
|
|
10
|
-
warning: p,
|
|
11
|
-
closeIcon: u,
|
|
12
|
-
linkBanner: j
|
|
13
|
-
}, k = ({
|
|
14
|
-
text: e,
|
|
15
|
-
color: o = "info",
|
|
16
|
-
isOpen: a = !0,
|
|
17
|
-
isBold: c = !0,
|
|
18
|
-
onClose: r
|
|
19
|
-
}) => a ? /* @__PURE__ */ n("div", { "data-testid": "alert-banner", className: `${s.messageContainer} ${s[o]}`, children: /* @__PURE__ */ t(l, { primaryAlign: "space-between", gap: "dense", fullWidth: !0, children: [
|
|
20
|
-
typeof e == "string" ? /* @__PURE__ */ n(m, { bold: c, level: 2, children: e }) : /* @__PURE__ */ n("div", { style: { width: "100%" }, children: e }),
|
|
21
|
-
r && /* @__PURE__ */ n(_, { icon: "close", iconSize: "small", onClick: r, className: s.closeIcon })
|
|
22
|
-
] }) }) : /* @__PURE__ */ n(i, {});
|
|
23
|
-
export {
|
|
24
|
-
k as A,
|
|
25
|
-
s
|
|
26
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { StepperBaseProps } from '../stepperTypes';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A component that displays the stepper indicator, showing the current step and optional steps.
|
|
5
|
-
* @param steps - An array of steps for the stepper.
|
|
6
|
-
* @param currentStep - The current step index.
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare const StepperIndicator: ({ steps, currentStep }: StepperBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { G as p } from "../../../index.es-oxil0uFe.js";
|
|
3
|
-
import { s as e } from "../../../stepper.module-c-CWmpkt.js";
|
|
4
|
-
const m = ({ steps: a, currentStep: i }) => /* @__PURE__ */ r(p, { gap: "dense", "data-testid": "stepper-indicator", children: a.map((t, o) => /* @__PURE__ */ r(
|
|
5
|
-
"div",
|
|
6
|
-
{
|
|
7
|
-
"data-testid": `stepper-indicator-${t.name}`,
|
|
8
|
-
className: `${e.stepperIndicatorItem}
|
|
9
|
-
${t.optional ? e.stepperIndicatorItemOptional : ""}
|
|
10
|
-
${o <= i ? e.stepperIndicatorItemActive : ""}`
|
|
11
|
-
},
|
|
12
|
-
`indicator_${t.name}`
|
|
13
|
-
)) });
|
|
14
|
-
export {
|
|
15
|
-
m as StepperIndicator
|
|
16
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import './assets/stepper.css';const t = "_stepperIndicatorItem_x786o_1", e = "_stepperIndicatorItemActive_x786o_8", p = "_stepperIndicatorItemOptional_x786o_12", o = "_stepperContainer_x786o_16", r = "_stepperTitle_x786o_23", s = "_stepperButton_x786o_28", n = "_stepperButtonLoading_x786o_32", i = "_stepperDescriptionContainer_x786o_43", c = "_stepperDescriptionProgress_x786o_49", _ = "_stepperDescriptionText_x786o_60", a = {
|
|
2
|
-
stepperIndicatorItem: t,
|
|
3
|
-
stepperIndicatorItemActive: e,
|
|
4
|
-
stepperIndicatorItemOptional: p,
|
|
5
|
-
stepperContainer: o,
|
|
6
|
-
stepperTitle: r,
|
|
7
|
-
stepperButton: s,
|
|
8
|
-
stepperButtonLoading: n,
|
|
9
|
-
stepperDescriptionContainer: i,
|
|
10
|
-
stepperDescriptionProgress: c,
|
|
11
|
-
stepperDescriptionText: _
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
a as s
|
|
15
|
-
};
|