1mpacto-react-ui 2.0.27 → 2.0.29
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/dist/assets/_typography.scss +16 -16
- package/dist/assets/core.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.mjs +55 -51
- package/dist/components/Alert/style.module.scss.cjs +1 -1
- package/dist/components/Alert/style.module.scss.mjs +12 -11
- package/dist/components/Badges/Badges.config.cjs +1 -1
- package/dist/components/Badges/Badges.config.mjs +18 -3
- package/dist/components/Badges/style.module.scss.cjs +1 -1
- package/dist/components/Badges/style.module.scss.mjs +46 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +38 -36
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +16 -16
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +64 -64
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +55 -55
- package/dist/components/Modal/ModalDialog.cjs +11 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +16 -9
- package/dist/components/Modal/ModalDialog.mjs +59 -33
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +17 -13
- package/dist/components/Pagination/Pagination.cjs +2 -2
- package/dist/components/Pagination/Pagination.config.cjs +1 -1
- package/dist/components/Pagination/Pagination.config.mjs +4 -3
- package/dist/components/Pagination/Pagination.mjs +90 -90
- package/dist/components/Pagination/style.module.scss.cjs +1 -1
- package/dist/components/Pagination/style.module.scss.mjs +18 -16
- package/dist/components/Popover/Popover.config.cjs +1 -1
- package/dist/components/Popover/Popover.config.mjs +3 -2
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +8 -7
- package/dist/components/RadioCheckbox/RadioCheckbox.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.config.mjs +24 -22
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.mjs +25 -23
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.mjs +5 -4
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.mjs +8 -7
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.mjs +19 -10
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +95 -80
- package/dist/components/SelectDropdownContainer/styleConfig.cjs +1 -1
- package/dist/components/SelectDropdownContainer/styleConfig.mjs +151 -11
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +25 -25
- package/dist/components/Step/StepIndicator.cjs +6 -4
- package/dist/components/Step/StepIndicator.config.cjs +1 -0
- package/dist/components/Step/StepIndicator.config.mjs +12 -0
- package/dist/components/Step/StepIndicator.mjs +31 -26
- package/dist/components/Step/StepIndicator.module.scss.cjs +1 -1
- package/dist/components/Step/StepIndicator.module.scss.mjs +12 -11
- package/dist/components/Switch/Switch.config.cjs +1 -1
- package/dist/components/Switch/Switch.config.mjs +6 -3
- package/dist/components/Switch/style.module.scss.cjs +1 -1
- package/dist/components/Switch/style.module.scss.mjs +18 -15
- package/dist/components/Tabs/Tabs.config.cjs +1 -1
- package/dist/components/Tabs/Tabs.config.mjs +13 -6
- package/dist/components/Tabs/style.module.scss.cjs +1 -1
- package/dist/components/Tabs/style.module.scss.mjs +29 -23
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +12 -12
- package/dist/components/fin/Chat/BubbleChat.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChat.mjs +20 -0
- package/dist/components/fin/Chat/BubbleChatOption.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatOption.mjs +70 -0
- package/dist/components/fin/Chat/BubbleChatUser.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatUser.mjs +15 -0
- package/dist/components/fin/Chat/Icons.cjs +1 -0
- package/dist/components/fin/Chat/Icons.mjs +44 -0
- package/dist/components/fin/Chat/style.module.scss.cjs +1 -0
- package/dist/components/fin/Chat/style.module.scss.mjs +27 -0
- package/dist/config/components/typography.cjs +1 -1
- package/dist/config/components/typography.mjs +40 -6
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +20 -20
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +86 -80
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Badges/Badges.config.d.ts +15 -0
- package/dist/src/components/Modal/ModalDialog.config.d.ts +8 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +17 -1
- package/dist/src/components/Pagination/Pagination.config.d.ts +1 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +14 -1
- package/dist/src/components/Popover/Popover.config.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +2 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +1 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +10 -0
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -0
- package/dist/src/components/Step/StepIndicator.config.d.ts +18 -0
- package/dist/src/components/Step/StepIndicator.d.ts +1 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +30 -1
- package/dist/src/components/Switch/Switch.config.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +7 -1
- package/dist/src/components/fin/Chat/BubbleChat.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatOption.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatUser.d.ts +3 -0
- package/dist/src/components/fin/Chat/Icons.d.ts +5 -0
- package/dist/src/components/fin/index.d.ts +4 -0
- package/dist/src/components/index.d.ts +4 -2
- package/dist/src/config/components/typography.d.ts +1 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +6 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +5 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +6 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +7 -1
- package/dist/src/interfaces/components/Step/index.d.ts +13 -2
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/fin/Chat/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
import e from "./SelectDropdownContainer.module.scss.mjs";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { styleSelectDropdownContainerFin as r, styleSelectDropdownContainerBill as o, styleSelectDropdownContainerPayhere as a, styleSelectDropdownContainerLaba as l, styleSelectDropdownContainerNoSearchFin as n, styleSelectDropdownContainerNoSearchBill as t, styleSelectDropdownContainerNoSearchPayhere as i, styleSelectDropdownContainerNoSearchLaba as p } from "./styleConfig.mjs";
|
|
3
|
+
const y = {
|
|
4
4
|
error: {
|
|
5
5
|
laba: e["error-laba"],
|
|
6
6
|
payhere: e["error-payhere"],
|
|
7
7
|
bill: e["error-bill"]
|
|
8
8
|
},
|
|
9
9
|
variant: {
|
|
10
|
-
laba:
|
|
11
|
-
payhere:
|
|
12
|
-
bill:
|
|
10
|
+
laba: l,
|
|
11
|
+
payhere: a,
|
|
12
|
+
bill: o,
|
|
13
|
+
fin: r
|
|
14
|
+
},
|
|
15
|
+
variantPopover: {
|
|
16
|
+
laba: "white",
|
|
17
|
+
payhere: "white",
|
|
18
|
+
bill: "white",
|
|
19
|
+
fin: "white-fin"
|
|
13
20
|
},
|
|
14
21
|
noSearchVariant: {
|
|
15
|
-
laba:
|
|
16
|
-
payhere:
|
|
17
|
-
bill:
|
|
22
|
+
laba: p,
|
|
23
|
+
payhere: i,
|
|
24
|
+
bill: t,
|
|
25
|
+
fin: n
|
|
18
26
|
},
|
|
19
27
|
classNamePopover: {
|
|
20
28
|
laba: "",
|
|
21
29
|
payhere: "",
|
|
22
|
-
bill: "!iru-rounded-xl"
|
|
30
|
+
bill: "!iru-rounded-xl",
|
|
31
|
+
fin: ""
|
|
23
32
|
}
|
|
24
33
|
};
|
|
25
34
|
export {
|
|
26
|
-
|
|
35
|
+
y as configSelectDropdownContainer
|
|
27
36
|
};
|
|
@@ -1,26 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as ee, jsx as w } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import
|
|
3
|
+
import oe from "react-select";
|
|
4
4
|
import te from "../Popover/Popover.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { useDeepCompareEffect as
|
|
7
|
-
import { configSelectDropdownContainer as
|
|
8
|
-
const
|
|
9
|
-
|
|
5
|
+
import ne from "./SelectDropdownContainer.module.scss.mjs";
|
|
6
|
+
import { useDeepCompareEffect as ae, useDeepCompareMemoize as re } from "../../hooks/useDeepCompareEffect.mjs";
|
|
7
|
+
import { configSelectDropdownContainer as l } from "./SelectDropdownContainer.config.mjs";
|
|
8
|
+
const se = {
|
|
9
|
+
"en-US": {
|
|
10
|
+
"No data found.": "No data found."
|
|
11
|
+
},
|
|
12
|
+
"id-ID": {
|
|
13
|
+
"No data found.": "Tidak ada data."
|
|
14
|
+
},
|
|
15
|
+
"zh-CN": {
|
|
16
|
+
"No data found.": "暂无数据."
|
|
17
|
+
},
|
|
18
|
+
"nl-NL": {
|
|
19
|
+
"No data found.": "Geen data gevonden."
|
|
20
|
+
}
|
|
21
|
+
}, le = e.forwardRef(
|
|
22
|
+
(S, R) => {
|
|
10
23
|
const {
|
|
11
24
|
width: p,
|
|
12
|
-
children:
|
|
13
|
-
components:
|
|
14
|
-
classNameContainer:
|
|
15
|
-
classNameContainerShowSelect:
|
|
16
|
-
classNameContainerSelect:
|
|
17
|
-
classNameLabelError:
|
|
18
|
-
error:
|
|
19
|
-
onChange:
|
|
20
|
-
externalValue:
|
|
25
|
+
children: V,
|
|
26
|
+
components: y,
|
|
27
|
+
classNameContainer: O = "",
|
|
28
|
+
classNameContainerShowSelect: D = "",
|
|
29
|
+
classNameContainerSelect: E = "",
|
|
30
|
+
classNameLabelError: $ = "",
|
|
31
|
+
error: z,
|
|
32
|
+
onChange: v,
|
|
33
|
+
externalValue: i = !1,
|
|
21
34
|
defaultValueButtonDropdown: n = {},
|
|
22
|
-
autoClose:
|
|
23
|
-
onMenuOpen:
|
|
35
|
+
autoClose: L = !0,
|
|
36
|
+
onMenuOpen: x = () => {
|
|
24
37
|
},
|
|
25
38
|
autoCloseOutside: M = !0,
|
|
26
39
|
styleInnerPopper: b = {},
|
|
@@ -32,115 +45,117 @@ const ae = e.forwardRef(
|
|
|
32
45
|
useAutoPlacement: T,
|
|
33
46
|
flipOptions: A,
|
|
34
47
|
autoPlacementOptions: B,
|
|
35
|
-
withSearch:
|
|
36
|
-
floatingOptions:
|
|
37
|
-
offsetPopover:
|
|
38
|
-
selectProps:
|
|
39
|
-
errorLabel:
|
|
40
|
-
controlType:
|
|
41
|
-
actionValueChange:
|
|
48
|
+
withSearch: G = !1,
|
|
49
|
+
floatingOptions: H = {},
|
|
50
|
+
offsetPopover: U = 5,
|
|
51
|
+
selectProps: q = {},
|
|
52
|
+
errorLabel: J = "payhere",
|
|
53
|
+
controlType: c = "payhere",
|
|
54
|
+
actionValueChange: K = () => {
|
|
42
55
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
56
|
+
locale: Q = "id-ID",
|
|
57
|
+
...X
|
|
58
|
+
} = S, a = e.useRef(null), r = e.useRef(null), [Y, C] = e.useState(""), [t, h] = e.useState(!1), [u, d] = e.useState({}), [N, P] = e.useState(0), m = (o) => {
|
|
59
|
+
r.current?.setShow(o), h(o);
|
|
60
|
+
}, Z = () => {
|
|
61
|
+
if (i)
|
|
48
62
|
return S.isMulti ? n : [n];
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
M &&
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
63
|
+
}, g = (o) => {
|
|
64
|
+
r.current?.handlerShow(o), P(a.current.offsetWidth), h((s) => !s);
|
|
65
|
+
}, I = () => {
|
|
66
|
+
M && r.current?.setShow(!1);
|
|
67
|
+
}, _ = (o, s) => {
|
|
68
|
+
L && (h(!1), r.current?.setShow(!1)), typeof v == "function" && v(o, s), i || d(o);
|
|
69
|
+
}, f = () => {
|
|
70
|
+
a.current && P(a.current.offsetWidth);
|
|
57
71
|
};
|
|
58
|
-
return
|
|
59
|
-
|
|
60
|
-
}, [
|
|
61
|
-
|
|
62
|
-
}, [
|
|
63
|
-
|
|
72
|
+
return ae(() => {
|
|
73
|
+
i && d(n), K(n);
|
|
74
|
+
}, [i, n]), e.useEffect(() => {
|
|
75
|
+
t ? x() : t || (W(), C(""));
|
|
76
|
+
}, [t]), e.useImperativeHandle(
|
|
77
|
+
R,
|
|
64
78
|
() => ({
|
|
65
|
-
selectValue:
|
|
66
|
-
setSelectValue:
|
|
67
|
-
handlerClose:
|
|
68
|
-
handlerShow:
|
|
69
|
-
show:
|
|
79
|
+
selectValue: u,
|
|
80
|
+
setSelectValue: d,
|
|
81
|
+
handlerClose: I,
|
|
82
|
+
handlerShow: g,
|
|
83
|
+
show: t,
|
|
70
84
|
setShow: m
|
|
71
85
|
}),
|
|
72
|
-
[
|
|
73
|
-
), e.useEffect(() => (window.addEventListener("resize",
|
|
74
|
-
window.removeEventListener("resize",
|
|
75
|
-
}), [
|
|
86
|
+
[t, re(u)]
|
|
87
|
+
), e.useEffect(() => (window.addEventListener("resize", f), window.addEventListener("load", f), () => {
|
|
88
|
+
window.removeEventListener("resize", f), window.removeEventListener("load", f);
|
|
89
|
+
}), [a]), /* @__PURE__ */ ee(
|
|
76
90
|
"div",
|
|
77
91
|
{
|
|
78
92
|
id: k,
|
|
79
|
-
className: `${
|
|
80
|
-
ref:
|
|
93
|
+
className: `${ne.container} ${O} ${t ? `${D} open-popover` : null}`,
|
|
94
|
+
ref: a,
|
|
81
95
|
children: [
|
|
82
|
-
|
|
83
|
-
selectValue:
|
|
84
|
-
setSelectValue:
|
|
85
|
-
handlerClose:
|
|
86
|
-
handlerShow:
|
|
87
|
-
show:
|
|
96
|
+
V({
|
|
97
|
+
selectValue: u,
|
|
98
|
+
setSelectValue: d,
|
|
99
|
+
handlerClose: I,
|
|
100
|
+
handlerShow: g,
|
|
101
|
+
show: t,
|
|
88
102
|
setShow: m
|
|
89
103
|
}),
|
|
90
104
|
/* @__PURE__ */ w(
|
|
91
105
|
te,
|
|
92
106
|
{
|
|
93
|
-
ref:
|
|
94
|
-
offset:
|
|
107
|
+
ref: r,
|
|
108
|
+
offset: U,
|
|
95
109
|
useAutoPlacement: T,
|
|
96
110
|
flipOptions: A,
|
|
111
|
+
variant: l.variantPopover[c],
|
|
97
112
|
autoPlacementOptions: B,
|
|
98
113
|
zIndex: j,
|
|
99
114
|
styleInnerPopover: b,
|
|
100
115
|
id: F,
|
|
101
|
-
width: typeof p == "function" ? p(
|
|
102
|
-
className: `${
|
|
103
|
-
floatingOptions:
|
|
116
|
+
width: typeof p == "function" ? p(N, u) : p || N,
|
|
117
|
+
className: `${E} ${l.classNamePopover[c]}`,
|
|
118
|
+
floatingOptions: H,
|
|
104
119
|
children: /* @__PURE__ */ w(
|
|
105
|
-
|
|
120
|
+
oe,
|
|
106
121
|
{
|
|
107
122
|
className: "iru-w-full",
|
|
108
|
-
defaultValue:
|
|
109
|
-
inputValue:
|
|
110
|
-
onInputChange: (
|
|
111
|
-
s === "input-change" &&
|
|
123
|
+
defaultValue: Z(),
|
|
124
|
+
inputValue: Y,
|
|
125
|
+
onInputChange: (o, { action: s }) => {
|
|
126
|
+
s === "input-change" && C(o);
|
|
112
127
|
},
|
|
113
128
|
openMenuOnFocus: !0,
|
|
114
129
|
autoFocus: !1,
|
|
115
130
|
backspaceRemovesValue: !1,
|
|
116
131
|
components: {
|
|
117
132
|
IndicatorSeparator: null,
|
|
118
|
-
...
|
|
133
|
+
...y
|
|
119
134
|
},
|
|
120
135
|
controlShouldRenderValue: !1,
|
|
121
136
|
hideSelectedOptions: !1,
|
|
122
137
|
isClearable: !1,
|
|
123
138
|
menuIsOpen: !0,
|
|
124
139
|
tabSelectsValue: !1,
|
|
125
|
-
styles:
|
|
126
|
-
noOptionsMessage: () => "
|
|
127
|
-
onChange:
|
|
140
|
+
styles: G ? l.variant[c] : l.noSearchVariant[c],
|
|
141
|
+
noOptionsMessage: () => se[Q]["Rows per page:"],
|
|
142
|
+
onChange: _,
|
|
128
143
|
selectProps: {
|
|
129
|
-
...
|
|
144
|
+
...q,
|
|
130
145
|
setShowDropdown: m
|
|
131
146
|
},
|
|
132
|
-
...
|
|
147
|
+
...X
|
|
133
148
|
}
|
|
134
149
|
)
|
|
135
150
|
}
|
|
136
151
|
),
|
|
137
|
-
/* @__PURE__ */ w("div", { className: `${
|
|
152
|
+
/* @__PURE__ */ w("div", { className: `${l.error[J]} ${$}`, children: z })
|
|
138
153
|
]
|
|
139
154
|
}
|
|
140
155
|
);
|
|
141
156
|
}
|
|
142
157
|
);
|
|
143
|
-
|
|
158
|
+
le.displayName = "SelectDropdownContainer";
|
|
144
159
|
export {
|
|
145
|
-
|
|
160
|
+
le as default
|
|
146
161
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={control:o=>({...o,border:"1px solid #D6D6D6","&:hover":{borderColor:"#0163C8"},borderRadius:"4px",outline:"none",boxShadow:"none",color:"#898989",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:32,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Lato",cursor:"pointer",background:i.isSelected?"#F0F7FF":"white",color:i.isSelected?"#0163C8":o.color,"&:hover":{background:i.isDisabled?"":"#F0F7FF",color:i.isDisabled?"":"#0163C8",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"})},r={control:o=>({...o,border:"1px solid #BDBDBD","&:hover":{borderColor:"#64B5F6"},borderRadius:"6px",outline:"none",color:"#212121",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:38,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",marginBottom:"5px"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",cursor:"pointer",background:i.isSelected?"#E1F5FE":"white",color:i.isSelected?"#1565C0":o.color,"&:hover":{background:i.isDisabled?"":"#E1F5FE",color:i.isDisabled?"":"#1565C0",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter"})},n={control:o=>({...o,border:"1px solid #BDBDBD","&:hover":{borderColor:"#64B5F6"},borderRadius:"6px",outline:"none",color:"#212121",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:38,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",marginBottom:"5px"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",borderRadius:"12px"}),menuList:o=>({...o,borderRadius:"12px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",cursor:"pointer",background:i.isSelected?"#F0FEFD":"white",color:i.isSelected?"#2F7E79":o.color,"&:hover":{background:i.isDisabled?"":"#F0FEFD",color:i.isDisabled?"":"#2F7E79",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans"})},d={control:o=>({...o,border:"1px solid #29B6F6","&:hover":{borderColor:"#29B6F6"},borderRadius:"8px",outline:"none",backgroundColor:"#ECEFF1",margin:"0px",cursor:"text",minHeight:38,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",marginBottom:"5px",'html[data-color-mode="dark"] &':{backgroundColor:"#1B3049"}}),dropdownIndicator:o=>({...o,padding:"0px 8px",color:"#616161"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",marginBottom:"0px",borderBottomRightRadius:"12px",borderBottomLeftRadius:"12px",background:"white",'html[data-color-mode="dark"] &':{background:"#0E1824"}}),noOptionsMessage:o=>({...o,color:"#78909C",fontFamily:"PJakartaSans",'html[data-color-mode="dark"] &':{color:"#78909C"}}),menuList:o=>({...o,borderRadius:"4px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontWeight:500,fontFamily:"PJakartaSans",cursor:"pointer",borderRadius:"4px",background:i.isSelected?"#CFD8DC":"white",color:i.isDisabled?"#90A4AE":"#0A121B","&:hover":{background:i.isDisabled?"":"#CFD8DC",cursor:i.isDisabled?"default":""},'html[data-color-mode="dark"] &':{background:i.isSelected?"#223C5B":"#0E1824",color:i.isDisabled?"#546E7A":"white","&:hover":{background:i.isDisabled?"":"#223C5B"}}}),group:o=>({...o,padding:0}),input:o=>({...o,color:"#0A121B",'html[data-color-mode="dark"] &':{color:"white !important",caretColor:"white !important","& input":{color:"white !important"}}}),placeholder:o=>({...o,color:"#78909C",fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",'html[data-color-mode="dark"] &':{color:"#78909C"}})},t={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Lato",cursor:"pointer",background:i.isSelected?"#F0F7FF":"white",color:i.isSelected?"#0163C8":o.color,"&:hover":{background:i.isDisabled?"":"#F0F7FF",color:i.isDisabled?"":"#0163C8",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"})},a={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",cursor:"pointer",background:i.isSelected?"#E1F5FE":"white",color:i.isSelected?"#1565C0":o.color,"&:hover":{background:i.isDisabled?"":"#E1F5FE",color:i.isDisabled?"":"#1565C0",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter"})},l={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",borderRadius:"12px"}),menuList:o=>({...o,borderRadius:"12px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",fontWeight:"500",cursor:"pointer",background:i.isSelected?"#F0FEFD":"white",color:i.isSelected?"#2F7E79":o.color,"&:hover":{background:i.isDisabled?"":"#F0FEFD",color:i.isDisabled?"":"#2F7E79",cursor:i.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans"})},p={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",marginBottom:"0px",borderBottomRightRadius:"12px",borderBottomLeftRadius:"12px"}),menuList:o=>({...o,borderRadius:"4px"}),option:(o,i)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",fontWeight:"500",cursor:"pointer",borderRadius:"4px",background:i.isSelected?"#CFD8DC":"white",color:i.isDisabled?"#90A4AE":"#0A121B","&:hover":{background:i.isDisabled?"":"#CFD8DC",cursor:i.isDisabled?"default":""},'html[data-color-mode="dark"] &':{background:i.isSelected?"#223C5B":"#0E1824",color:i.isDisabled?"#546E7A":"white","&:hover":{background:i.isDisabled?"":"#223C5B"}}}),group:o=>({...o,padding:0})};exports.styleSelectDropdownContainerBill=n;exports.styleSelectDropdownContainerFin=d;exports.styleSelectDropdownContainerLaba=e;exports.styleSelectDropdownContainerNoSearchBill=l;exports.styleSelectDropdownContainerNoSearchFin=p;exports.styleSelectDropdownContainerNoSearchLaba=t;exports.styleSelectDropdownContainerNoSearchPayhere=a;exports.styleSelectDropdownContainerPayhere=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r = {
|
|
2
2
|
control: (o) => ({
|
|
3
3
|
...o,
|
|
4
4
|
border: "1px solid #D6D6D6",
|
|
@@ -48,7 +48,7 @@ const n = {
|
|
|
48
48
|
lineHeight: "16px",
|
|
49
49
|
fontFamily: "Lato"
|
|
50
50
|
})
|
|
51
|
-
},
|
|
51
|
+
}, n = {
|
|
52
52
|
control: (o) => ({
|
|
53
53
|
...o,
|
|
54
54
|
border: "1px solid #BDBDBD",
|
|
@@ -99,7 +99,7 @@ const n = {
|
|
|
99
99
|
lineHeight: "22px",
|
|
100
100
|
fontFamily: "Inter"
|
|
101
101
|
})
|
|
102
|
-
},
|
|
102
|
+
}, e = {
|
|
103
103
|
control: (o) => ({
|
|
104
104
|
...o,
|
|
105
105
|
border: "1px solid #BDBDBD",
|
|
@@ -156,6 +156,100 @@ const n = {
|
|
|
156
156
|
fontFamily: "PJakartaSans"
|
|
157
157
|
})
|
|
158
158
|
}, d = {
|
|
159
|
+
control: (o) => ({
|
|
160
|
+
...o,
|
|
161
|
+
border: "1px solid #29B6F6",
|
|
162
|
+
"&:hover": {
|
|
163
|
+
borderColor: "#29B6F6"
|
|
164
|
+
},
|
|
165
|
+
borderRadius: "8px",
|
|
166
|
+
outline: "none",
|
|
167
|
+
backgroundColor: "#ECEFF1",
|
|
168
|
+
margin: "0px",
|
|
169
|
+
cursor: "text",
|
|
170
|
+
minHeight: 38,
|
|
171
|
+
fontSize: "14px",
|
|
172
|
+
lineHeight: "22px",
|
|
173
|
+
fontFamily: "PJakartaSans",
|
|
174
|
+
marginBottom: "5px",
|
|
175
|
+
'html[data-color-mode="dark"] &': {
|
|
176
|
+
backgroundColor: "#1B3049"
|
|
177
|
+
}
|
|
178
|
+
}),
|
|
179
|
+
dropdownIndicator: (o) => ({ ...o, padding: "0px 8px", color: "#616161" }),
|
|
180
|
+
menu: (o) => ({
|
|
181
|
+
...o,
|
|
182
|
+
position: "static",
|
|
183
|
+
boxShadow: "none",
|
|
184
|
+
marginTop: "0px",
|
|
185
|
+
marginBottom: "0px",
|
|
186
|
+
borderBottomRightRadius: "12px",
|
|
187
|
+
borderBottomLeftRadius: "12px",
|
|
188
|
+
background: "white",
|
|
189
|
+
'html[data-color-mode="dark"] &': {
|
|
190
|
+
background: "#0E1824"
|
|
191
|
+
}
|
|
192
|
+
}),
|
|
193
|
+
noOptionsMessage: (o) => ({
|
|
194
|
+
...o,
|
|
195
|
+
color: "#78909C",
|
|
196
|
+
fontFamily: "PJakartaSans",
|
|
197
|
+
'html[data-color-mode="dark"] &': {
|
|
198
|
+
color: "#78909C"
|
|
199
|
+
}
|
|
200
|
+
}),
|
|
201
|
+
menuList: (o) => ({
|
|
202
|
+
...o,
|
|
203
|
+
borderRadius: "4px"
|
|
204
|
+
}),
|
|
205
|
+
option: (o, i) => ({
|
|
206
|
+
...o,
|
|
207
|
+
fontSize: "14px",
|
|
208
|
+
lineHeight: "22px",
|
|
209
|
+
fontWeight: 500,
|
|
210
|
+
fontFamily: "PJakartaSans",
|
|
211
|
+
cursor: "pointer",
|
|
212
|
+
borderRadius: "4px",
|
|
213
|
+
background: i.isSelected ? "#CFD8DC" : "white",
|
|
214
|
+
color: i.isDisabled ? "#90A4AE" : "#0A121B",
|
|
215
|
+
"&:hover": {
|
|
216
|
+
background: i.isDisabled ? "" : "#CFD8DC",
|
|
217
|
+
cursor: i.isDisabled ? "default" : ""
|
|
218
|
+
},
|
|
219
|
+
'html[data-color-mode="dark"] &': {
|
|
220
|
+
background: i.isSelected ? "#223C5B" : "#0E1824",
|
|
221
|
+
color: i.isDisabled ? "#546E7A" : "white",
|
|
222
|
+
"&:hover": {
|
|
223
|
+
background: i.isDisabled ? "" : "#223C5B"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}),
|
|
227
|
+
group: (o) => ({
|
|
228
|
+
...o,
|
|
229
|
+
padding: 0
|
|
230
|
+
}),
|
|
231
|
+
input: (o) => ({
|
|
232
|
+
...o,
|
|
233
|
+
color: "#0A121B",
|
|
234
|
+
'html[data-color-mode="dark"] &': {
|
|
235
|
+
color: "white !important",
|
|
236
|
+
caretColor: "white !important",
|
|
237
|
+
"& input": {
|
|
238
|
+
color: "white !important"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}),
|
|
242
|
+
placeholder: (o) => ({
|
|
243
|
+
...o,
|
|
244
|
+
color: "#78909C",
|
|
245
|
+
fontSize: "14px",
|
|
246
|
+
lineHeight: "22px",
|
|
247
|
+
fontFamily: "PJakartaSans",
|
|
248
|
+
'html[data-color-mode="dark"] &': {
|
|
249
|
+
color: "#78909C"
|
|
250
|
+
}
|
|
251
|
+
})
|
|
252
|
+
}, a = {
|
|
159
253
|
control: () => ({
|
|
160
254
|
display: "none"
|
|
161
255
|
}),
|
|
@@ -190,7 +284,7 @@ const n = {
|
|
|
190
284
|
lineHeight: "16px",
|
|
191
285
|
fontFamily: "Lato"
|
|
192
286
|
})
|
|
193
|
-
},
|
|
287
|
+
}, t = {
|
|
194
288
|
control: () => ({
|
|
195
289
|
display: "none"
|
|
196
290
|
}),
|
|
@@ -225,7 +319,7 @@ const n = {
|
|
|
225
319
|
lineHeight: "22px",
|
|
226
320
|
fontFamily: "Inter"
|
|
227
321
|
})
|
|
228
|
-
},
|
|
322
|
+
}, l = {
|
|
229
323
|
control: () => ({
|
|
230
324
|
display: "none"
|
|
231
325
|
}),
|
|
@@ -266,12 +360,58 @@ const n = {
|
|
|
266
360
|
lineHeight: "22px",
|
|
267
361
|
fontFamily: "PJakartaSans"
|
|
268
362
|
})
|
|
363
|
+
}, p = {
|
|
364
|
+
control: () => ({
|
|
365
|
+
display: "none"
|
|
366
|
+
}),
|
|
367
|
+
dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
|
|
368
|
+
menu: (o) => ({
|
|
369
|
+
...o,
|
|
370
|
+
position: "static",
|
|
371
|
+
boxShadow: "none",
|
|
372
|
+
marginTop: "0px",
|
|
373
|
+
marginBottom: "0px",
|
|
374
|
+
borderBottomRightRadius: "12px",
|
|
375
|
+
borderBottomLeftRadius: "12px"
|
|
376
|
+
}),
|
|
377
|
+
menuList: (o) => ({
|
|
378
|
+
...o,
|
|
379
|
+
borderRadius: "4px"
|
|
380
|
+
}),
|
|
381
|
+
option: (o, i) => ({
|
|
382
|
+
...o,
|
|
383
|
+
fontSize: "14px",
|
|
384
|
+
lineHeight: "22px",
|
|
385
|
+
fontFamily: "PJakartaSans",
|
|
386
|
+
fontWeight: "500",
|
|
387
|
+
cursor: "pointer",
|
|
388
|
+
borderRadius: "4px",
|
|
389
|
+
background: i.isSelected ? "#CFD8DC" : "white",
|
|
390
|
+
color: i.isDisabled ? "#90A4AE" : "#0A121B",
|
|
391
|
+
"&:hover": {
|
|
392
|
+
background: i.isDisabled ? "" : "#CFD8DC",
|
|
393
|
+
cursor: i.isDisabled ? "default" : ""
|
|
394
|
+
},
|
|
395
|
+
'html[data-color-mode="dark"] &': {
|
|
396
|
+
background: i.isSelected ? "#223C5B" : "#0E1824",
|
|
397
|
+
color: i.isDisabled ? "#546E7A" : "white",
|
|
398
|
+
"&:hover": {
|
|
399
|
+
background: i.isDisabled ? "" : "#223C5B"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}),
|
|
403
|
+
group: (o) => ({
|
|
404
|
+
...o,
|
|
405
|
+
padding: 0
|
|
406
|
+
})
|
|
269
407
|
};
|
|
270
408
|
export {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
409
|
+
e as styleSelectDropdownContainerBill,
|
|
410
|
+
d as styleSelectDropdownContainerFin,
|
|
411
|
+
r as styleSelectDropdownContainerLaba,
|
|
412
|
+
l as styleSelectDropdownContainerNoSearchBill,
|
|
413
|
+
p as styleSelectDropdownContainerNoSearchFin,
|
|
414
|
+
a as styleSelectDropdownContainerNoSearchLaba,
|
|
415
|
+
t as styleSelectDropdownContainerNoSearchPayhere,
|
|
416
|
+
n as styleSelectDropdownContainerPayhere
|
|
277
417
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_sidebar_1v0uy_16",a={"splace-screen":"_splace-screen_1v0uy_1","payhere-brand-base-white":"_payhere-brand-base-white_1v0uy_13",sidebar:e,"button-collaps-sidebar":"_button-collaps-sidebar_1v0uy_31","menu-sidebar":"_menu-sidebar_1v0uy_48","sidebar-open":"_sidebar-open_1v0uy_79","container-icon-company-sidebar":"_container-icon-company-sidebar_1v0uy_96","icon-company-sidebar":"_icon-company-sidebar_1v0uy_99","sidebar-close":"_sidebar-close_1v0uy_107","content-sidebar":"_content-sidebar_1v0uy_132","payhere-brand-base-transparent":"_payhere-brand-base-transparent_1v0uy_211","payhere-brand-blue-gray-900-transparent":"_payhere-brand-blue-gray-900-transparent_1v0uy_409","payhere-brand-indigo-900-transparent":"_payhere-brand-indigo-900-transparent_1v0uy_607","laba-white":"_laba-white_1v0uy_805","lpd-brand-base-white":"_lpd-brand-base-white_1v0uy_1195","lpd-brand-base-transparent":"_lpd-brand-base-transparent_1v0uy_1393","lpd-brand-base-white-responsive":"_lpd-brand-base-white-responsive_1v0uy_1591","lpd-brand-base-transparent-responsive":"_lpd-brand-base-transparent-responsive_1v0uy_1825","bill-brand-base":"_bill-brand-base_1v0uy_2059","bill-brand-base-responsive":"_bill-brand-base-responsive_1v0uy_2460","fin-base":"_fin-base_1v0uy_2861","fin-base-responsive":"_fin-base-responsive_1v0uy_3255"};exports.default=a;exports.sidebar=e;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
const
|
|
2
|
-
"splace-screen": "_splace-
|
|
3
|
-
"payhere-brand-base-white": "_payhere-brand-base-
|
|
4
|
-
sidebar:
|
|
5
|
-
"button-collaps-sidebar": "_button-collaps-
|
|
6
|
-
"menu-sidebar": "_menu-
|
|
7
|
-
"sidebar-open": "_sidebar-
|
|
8
|
-
"container-icon-company-sidebar": "_container-icon-company-
|
|
9
|
-
"icon-company-sidebar": "_icon-company-
|
|
10
|
-
"sidebar-close": "_sidebar-
|
|
11
|
-
"content-sidebar": "_content-
|
|
12
|
-
"payhere-brand-base-transparent": "_payhere-brand-base-
|
|
13
|
-
"payhere-brand-blue-gray-900-transparent": "_payhere-brand-blue-gray-900-
|
|
14
|
-
"payhere-brand-indigo-900-transparent": "_payhere-brand-indigo-900-
|
|
15
|
-
"laba-white": "_laba-
|
|
16
|
-
"lpd-brand-base-white": "_lpd-brand-base-
|
|
17
|
-
"lpd-brand-base-transparent": "_lpd-brand-base-
|
|
18
|
-
"lpd-brand-base-white-responsive": "_lpd-brand-base-white-
|
|
19
|
-
"lpd-brand-base-transparent-responsive": "_lpd-brand-base-transparent-
|
|
20
|
-
"bill-brand-base": "_bill-brand-
|
|
21
|
-
"bill-brand-base-responsive": "_bill-brand-base-
|
|
22
|
-
"fin-base": "_fin-
|
|
23
|
-
"fin-base-responsive": "_fin-base-
|
|
1
|
+
const e = "_sidebar_1v0uy_16", a = {
|
|
2
|
+
"splace-screen": "_splace-screen_1v0uy_1",
|
|
3
|
+
"payhere-brand-base-white": "_payhere-brand-base-white_1v0uy_13",
|
|
4
|
+
sidebar: e,
|
|
5
|
+
"button-collaps-sidebar": "_button-collaps-sidebar_1v0uy_31",
|
|
6
|
+
"menu-sidebar": "_menu-sidebar_1v0uy_48",
|
|
7
|
+
"sidebar-open": "_sidebar-open_1v0uy_79",
|
|
8
|
+
"container-icon-company-sidebar": "_container-icon-company-sidebar_1v0uy_96",
|
|
9
|
+
"icon-company-sidebar": "_icon-company-sidebar_1v0uy_99",
|
|
10
|
+
"sidebar-close": "_sidebar-close_1v0uy_107",
|
|
11
|
+
"content-sidebar": "_content-sidebar_1v0uy_132",
|
|
12
|
+
"payhere-brand-base-transparent": "_payhere-brand-base-transparent_1v0uy_211",
|
|
13
|
+
"payhere-brand-blue-gray-900-transparent": "_payhere-brand-blue-gray-900-transparent_1v0uy_409",
|
|
14
|
+
"payhere-brand-indigo-900-transparent": "_payhere-brand-indigo-900-transparent_1v0uy_607",
|
|
15
|
+
"laba-white": "_laba-white_1v0uy_805",
|
|
16
|
+
"lpd-brand-base-white": "_lpd-brand-base-white_1v0uy_1195",
|
|
17
|
+
"lpd-brand-base-transparent": "_lpd-brand-base-transparent_1v0uy_1393",
|
|
18
|
+
"lpd-brand-base-white-responsive": "_lpd-brand-base-white-responsive_1v0uy_1591",
|
|
19
|
+
"lpd-brand-base-transparent-responsive": "_lpd-brand-base-transparent-responsive_1v0uy_1825",
|
|
20
|
+
"bill-brand-base": "_bill-brand-base_1v0uy_2059",
|
|
21
|
+
"bill-brand-base-responsive": "_bill-brand-base-responsive_1v0uy_2460",
|
|
22
|
+
"fin-base": "_fin-base_1v0uy_2861",
|
|
23
|
+
"fin-base-responsive": "_fin-base-responsive_1v0uy_3255"
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
a as default,
|
|
27
|
+
e as sidebar
|
|
28
28
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
2
|
-
${i==="left"?
|
|
3
|
-
${
|
|
4
|
-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),n=require("./StepIndicator.config.cjs"),r=require("./StepIndicator.module.scss.cjs");function j(e,t){if(e<=0)return"0px";if(e===1)return"100%";const s=e-1;return`calc((100% - (${t} * ${s})) / ${e})`}const p=({activeStep:e=0,countStep:t=0,classNameActiveStepIndicator:s="",classNameContainer:$="",classNameDesc:d="",classNameStepIndicator:c="",id:o="1ru-step-indicator",locationStepIndicator:i="right",widthStepIndicator:g=120,dynamicWidthStepIndicator:u=!1,gapStepIndicator:a="2px",classNameStepIndicatorContainer:h="",variant:m="laba-green-08",borderRadius:x="full"})=>l.jsxs("div",{id:o,className:`${n.configStepIndicator.variants[m]}
|
|
2
|
+
${i==="left"?r.default.left:r.default.right} ${$||""}`,children:[i==="left"&&l.jsxs("p",{className:`${r.default["text-step-indicator"]} ${d||""}`,children:[e+1,"/",t]}),l.jsx("div",{className:`${r.default["step-indicator"]} ${h||""}
|
|
3
|
+
${u?"iru-w-full":""} ${a}`,style:{gap:a},children:Array.from({length:t}).map((v,f)=>l.jsx("div",{className:`${r.default.indicator}
|
|
4
|
+
${n.configStepIndicator.borderRadius[x]}
|
|
5
|
+
${c||""}
|
|
6
|
+
${f<=e?`${r.default.active} ${s}`:""}`,style:{width:u?j(t,a):g}},f))}),i==="right"&&l.jsxs("p",{className:`${r.default["text-step-indicator"]} ${d||""}`,children:[e+1,"/",t]})]});exports.default=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../config/components/borderRadius.cjs"),e=require("./StepIndicator.module.scss.cjs"),t={variants:{"laba-green-08":e.default["laba-green-08"],"teal-600":e.default["teal-600"]},borderRadius:r.configBorderRadius};exports.configStepIndicator=t;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { configBorderRadius as a } from "../../config/components/borderRadius.mjs";
|
|
2
|
+
import r from "./StepIndicator.module.scss.mjs";
|
|
3
|
+
const t = {
|
|
4
|
+
variants: {
|
|
5
|
+
"laba-green-08": r["laba-green-08"],
|
|
6
|
+
"teal-600": r["teal-600"]
|
|
7
|
+
},
|
|
8
|
+
borderRadius: a
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
t as configStepIndicator
|
|
12
|
+
};
|