reactive-bulma 4.3.6 → 4.3.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/atoms/Block/index.js +8 -8
- package/dist/components/atoms/Box/index.js +8 -8
- package/dist/components/atoms/BreadcrumbItem/index.js +9 -9
- package/dist/components/atoms/Button/index.js +27 -27
- package/dist/components/atoms/Checkbox/index.js +22 -22
- package/dist/components/atoms/Column/index.js +5 -5
- package/dist/components/atoms/Delete/index.js +5 -5
- package/dist/components/atoms/DropdownItem/index.js +20 -20
- package/dist/components/atoms/DropdownTrigger/index.js +17 -17
- package/dist/components/atoms/File/index.js +17 -17
- package/dist/components/atoms/Icon/index.js +15 -15
- package/dist/components/atoms/Image/index.js +18 -18
- package/dist/components/atoms/Input/index.js +26 -26
- package/dist/components/atoms/LevelHeader/index.js +11 -11
- package/dist/components/atoms/MenuItem/index.js +14 -14
- package/dist/components/atoms/NavBarItem/index.js +17 -17
- package/dist/components/atoms/PaginationItem/index.js +10 -10
- package/dist/components/atoms/ProgressBar/index.js +19 -19
- package/dist/components/atoms/RadioButton/index.js +13 -13
- package/dist/components/atoms/Select/index.js +30 -30
- package/dist/components/atoms/TabItem/index.js +22 -22
- package/dist/components/atoms/TableCell/index.js +9 -9
- package/dist/components/atoms/TableHeadCell/index.js +11 -11
- package/dist/components/atoms/Tag/index.js +40 -40
- package/dist/components/atoms/TextArea/index.js +31 -31
- package/dist/components/atoms/Tile/index.js +9 -9
- package/dist/components/atoms/Title/index.js +11 -11
- package/dist/components/molecules/Breadcrumbs/index.js +22 -22
- package/dist/components/molecules/ButtonGroup/index.js +18 -18
- package/dist/components/molecules/ColumnGroup/index.js +18 -18
- package/dist/components/molecules/Dropdown/index.js +10 -10
- package/dist/components/molecules/Footer/index.js +8 -8
- package/dist/components/molecules/FormFieldInput/index.js +8 -8
- package/dist/components/molecules/InputControl/index.js +21 -21
- package/dist/components/molecules/LevelItem/index.js +5 -5
- package/dist/components/molecules/Media/index.js +6 -6
- package/dist/components/molecules/Menu/index.js +11 -11
- package/dist/components/molecules/MenuList/index.js +7 -7
- package/dist/components/molecules/Message/index.js +7 -7
- package/dist/components/molecules/Modal/index.js +9 -9
- package/dist/components/molecules/NavBarBrand/index.js +9 -9
- package/dist/components/molecules/NavBarDropdown/index.js +18 -18
- package/dist/components/molecules/Notification/index.js +4 -4
- package/dist/components/molecules/Pagination/index.js +28 -28
- package/dist/components/molecules/PanelBlock/index.js +22 -22
- package/dist/components/molecules/PanelTabs/index.js +13 -13
- package/dist/components/molecules/Section/index.js +6 -6
- package/dist/components/molecules/TableRow/index.js +19 -19
- package/dist/components/molecules/Tabs/index.js +17 -17
- package/dist/components/molecules/TileBox/index.js +15 -15
- package/dist/components/organisms/Card/index.js +24 -24
- package/dist/components/organisms/Hero/index.js +13 -13
- package/dist/components/organisms/Level/index.js +8 -8
- package/dist/components/organisms/NavBar/index.js +20 -20
- package/dist/components/organisms/Panel/index.js +4 -4
- package/dist/components/organisms/Table/index.js +10 -10
- package/dist/components/organisms/TileGroup/index.js +16 -16
- package/package.json +29 -29
@@ -1,81 +1,81 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { parseClasses as n, parseTestId as
|
3
|
-
const
|
1
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as n, parseTestId as $ } from "../../../functions/parsers.js";
|
3
|
+
const v = ({
|
4
4
|
testId: g = null,
|
5
5
|
containerTestId: p = null,
|
6
6
|
cssClasses: m = null,
|
7
|
-
containerCssClasses:
|
8
|
-
style:
|
9
|
-
containerStyle:
|
7
|
+
containerCssClasses: f = null,
|
8
|
+
style: C = null,
|
9
|
+
containerStyle: N = null,
|
10
10
|
text: d,
|
11
|
-
withDelete:
|
11
|
+
withDelete: u = !1,
|
12
12
|
withAddon: a = !1,
|
13
13
|
addonText: T = null,
|
14
|
-
color:
|
15
|
-
isLight:
|
16
|
-
isRounded:
|
17
|
-
size:
|
18
|
-
addonColor:
|
19
|
-
onDeleteClick:
|
14
|
+
color: I = null,
|
15
|
+
isLight: b = null,
|
16
|
+
isRounded: j = null,
|
17
|
+
size: e = null,
|
18
|
+
addonColor: x = null,
|
19
|
+
onDeleteClick: r = null
|
20
20
|
}) => {
|
21
|
-
const
|
21
|
+
const c = n([
|
22
22
|
"tags",
|
23
23
|
"has-addons",
|
24
|
-
|
25
|
-
|
26
|
-
]),
|
24
|
+
e ? e.replace("is-", "are-") : null,
|
25
|
+
f
|
26
|
+
]), t = n([
|
27
27
|
"tag",
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
I,
|
29
|
+
b && !a ? "is-light" : null,
|
30
|
+
j && !a ? "is-rounded" : null,
|
31
|
+
e,
|
32
32
|
m
|
33
|
-
]),
|
33
|
+
]), y = n(["tag", x]), s = g ?? $({
|
34
34
|
tag: a ? "tags" : "tag",
|
35
|
-
parsedClasses: a ?
|
35
|
+
parsedClasses: a ? c : t,
|
36
36
|
separator: a ? "-" : ""
|
37
|
-
}),
|
38
|
-
return a ? /* @__PURE__ */
|
37
|
+
}), L = p ?? `${s}-container`, i = `${s}-delete`;
|
38
|
+
return a ? /* @__PURE__ */ o(
|
39
39
|
"section",
|
40
40
|
{
|
41
|
-
"data-testid":
|
42
|
-
style:
|
43
|
-
className:
|
41
|
+
"data-testid": L,
|
42
|
+
style: N ?? void 0,
|
43
|
+
className: c,
|
44
44
|
children: [
|
45
45
|
/* @__PURE__ */ l(
|
46
46
|
"span",
|
47
47
|
{
|
48
48
|
"data-testid": s,
|
49
|
-
className:
|
49
|
+
className: t,
|
50
50
|
children: d
|
51
51
|
}
|
52
52
|
),
|
53
|
-
|
53
|
+
u ? /* @__PURE__ */ l(
|
54
54
|
"a",
|
55
55
|
{
|
56
|
-
"data-testid":
|
56
|
+
"data-testid": i,
|
57
57
|
className: "tag is-delete",
|
58
58
|
title: "delete",
|
59
59
|
"aria-hidden": "true",
|
60
|
-
onClick:
|
60
|
+
onClick: r ?? void 0
|
61
61
|
}
|
62
|
-
) : /* @__PURE__ */ l("span", { className:
|
62
|
+
) : /* @__PURE__ */ l("span", { className: y, children: T })
|
63
63
|
]
|
64
64
|
}
|
65
|
-
) : /* @__PURE__ */
|
65
|
+
) : /* @__PURE__ */ o(
|
66
66
|
"span",
|
67
67
|
{
|
68
68
|
"data-testid": s,
|
69
|
-
style:
|
70
|
-
className:
|
69
|
+
style: C ?? void 0,
|
70
|
+
className: t,
|
71
71
|
children: [
|
72
72
|
d,
|
73
|
-
|
73
|
+
u ? /* @__PURE__ */ l(
|
74
74
|
"button",
|
75
75
|
{
|
76
|
-
"data-testid":
|
76
|
+
"data-testid": i,
|
77
77
|
className: "delete",
|
78
|
-
onClick:
|
78
|
+
onClick: r ?? void 0
|
79
79
|
}
|
80
80
|
) : null
|
81
81
|
]
|
@@ -83,5 +83,5 @@ const q = ({
|
|
83
83
|
);
|
84
84
|
};
|
85
85
|
export {
|
86
|
-
|
86
|
+
v as default
|
87
87
|
};
|
@@ -1,32 +1,32 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as A, parseTestId as T } from "../../../functions/parsers.js";
|
3
3
|
const E = ({
|
4
4
|
testId: l = null,
|
5
5
|
cssClasses: s = null,
|
6
6
|
style: a = null,
|
7
|
-
value:
|
8
|
-
name:
|
9
|
-
cols:
|
10
|
-
rows:
|
11
|
-
isDisabled:
|
12
|
-
isReadonly:
|
13
|
-
isFixedSize:
|
14
|
-
color:
|
15
|
-
size:
|
16
|
-
isHovered:
|
17
|
-
isFocused:
|
18
|
-
onClick:
|
19
|
-
onChange:
|
7
|
+
value: n = null,
|
8
|
+
name: t,
|
9
|
+
cols: r = null,
|
10
|
+
rows: u = null,
|
11
|
+
isDisabled: d = !1,
|
12
|
+
isReadonly: i = !1,
|
13
|
+
isFixedSize: f = !1,
|
14
|
+
color: o = null,
|
15
|
+
size: x = null,
|
16
|
+
isHovered: p = null,
|
17
|
+
isFocused: c = null,
|
18
|
+
onClick: m = null,
|
19
|
+
onChange: g = null
|
20
20
|
}) => {
|
21
|
-
const e =
|
21
|
+
const e = A([
|
22
22
|
"textarea",
|
23
|
+
o,
|
23
24
|
x,
|
24
|
-
p,
|
25
|
-
c ? "is-
|
26
|
-
f ? "
|
27
|
-
i ? "has-fixed-size" : null,
|
25
|
+
p ? "is-hovered" : null,
|
26
|
+
c ? "is-focused" : null,
|
27
|
+
f ? "has-fixed-size" : null,
|
28
28
|
s
|
29
|
-
]),
|
29
|
+
]), C = l ?? T({
|
30
30
|
tag: "textarea",
|
31
31
|
parsedClasses: e,
|
32
32
|
rules: [
|
@@ -40,20 +40,20 @@ const E = ({
|
|
40
40
|
}
|
41
41
|
]
|
42
42
|
});
|
43
|
-
return /* @__PURE__ */
|
43
|
+
return /* @__PURE__ */ h(
|
44
44
|
"textarea",
|
45
45
|
{
|
46
|
-
"data-testid":
|
47
|
-
value:
|
48
|
-
name:
|
49
|
-
cols:
|
50
|
-
rows:
|
51
|
-
disabled:
|
52
|
-
readOnly:
|
46
|
+
"data-testid": C,
|
47
|
+
value: n ?? void 0,
|
48
|
+
name: t,
|
49
|
+
cols: r ?? void 0,
|
50
|
+
rows: u ?? void 0,
|
51
|
+
disabled: d,
|
52
|
+
readOnly: i,
|
53
53
|
className: e,
|
54
54
|
style: a ?? void 0,
|
55
|
-
onClick:
|
56
|
-
onChange:
|
55
|
+
onClick: m ?? void 0,
|
56
|
+
onChange: g ?? void 0
|
57
57
|
}
|
58
58
|
);
|
59
59
|
};
|
@@ -7,19 +7,19 @@ const g = ({
|
|
7
7
|
children: a,
|
8
8
|
context: n = null,
|
9
9
|
size: r = null,
|
10
|
-
color:
|
11
|
-
isVertical:
|
10
|
+
color: e = null,
|
11
|
+
isVertical: u = !1
|
12
12
|
}) => {
|
13
|
-
const
|
13
|
+
const l = c([
|
14
14
|
"tile",
|
15
15
|
n,
|
16
16
|
r,
|
17
|
-
|
18
|
-
|
17
|
+
e ? `notification ${e}` : null,
|
18
|
+
u ? "is-vertical" : null,
|
19
19
|
t
|
20
|
-
]),
|
20
|
+
]), o = s ?? d({
|
21
21
|
tag: "tile",
|
22
|
-
parsedClasses:
|
22
|
+
parsedClasses: l,
|
23
23
|
rules: [
|
24
24
|
{
|
25
25
|
regExp: /notification |tile/gm,
|
@@ -34,8 +34,8 @@ const g = ({
|
|
34
34
|
return /* @__PURE__ */ p(
|
35
35
|
"section",
|
36
36
|
{
|
37
|
-
"data-testid":
|
38
|
-
className:
|
37
|
+
"data-testid": o,
|
38
|
+
className: l,
|
39
39
|
style: i ?? void 0,
|
40
40
|
children: a
|
41
41
|
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { jsxs as u, Fragment as m, jsx as
|
2
|
-
import { parseClasses as
|
3
|
-
const
|
4
|
-
const { type: s, size:
|
1
|
+
import { jsxs as u, Fragment as m, jsx as f } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as x } from "../../../functions/parsers.js";
|
3
|
+
const e = (l) => {
|
4
|
+
const { type: s, size: r, isSpaced: t, cssClasses: a } = l, d = x([
|
5
5
|
s,
|
6
|
-
|
7
|
-
s === "title" &&
|
8
|
-
|
6
|
+
r ?? null,
|
7
|
+
s === "title" && t ? "is-spaced" : null,
|
8
|
+
a
|
9
9
|
]), p = (l == null ? void 0 : l.testId) ?? `${l == null ? void 0 : l.type}-test`;
|
10
|
-
return /* @__PURE__ */
|
10
|
+
return /* @__PURE__ */ f(
|
11
11
|
"p",
|
12
12
|
{
|
13
13
|
"data-testid": p,
|
14
|
-
className:
|
14
|
+
className: d,
|
15
15
|
style: (l == null ? void 0 : l.style) ?? void 0,
|
16
16
|
children: l == null ? void 0 : l.text
|
17
17
|
}
|
18
18
|
);
|
19
19
|
}, T = ({ main: l, secondary: s }) => /* @__PURE__ */ u(m, { children: [
|
20
|
-
l ?
|
21
|
-
s ?
|
20
|
+
l ? e(l) : null,
|
21
|
+
s ? e(s) : null
|
22
22
|
] });
|
23
23
|
export {
|
24
24
|
T as default
|
@@ -1,29 +1,29 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as p, parseTestId as
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as p, parseTestId as f } from "../../../functions/parsers.js";
|
3
3
|
import "react";
|
4
|
-
import
|
4
|
+
import g from "../../atoms/BreadcrumbItem/index.js";
|
5
5
|
import { generateKey as C } from "../../../functions/generators.js";
|
6
|
-
const
|
6
|
+
const E = ({
|
7
7
|
testId: a = "breadcrumbs",
|
8
8
|
containerTestId: s = null,
|
9
9
|
cssClasses: l = null,
|
10
10
|
containerCssClasses: t = null,
|
11
|
-
style:
|
11
|
+
style: n = null,
|
12
12
|
containerStyle: d = null,
|
13
|
-
items:
|
14
|
-
alignment:
|
13
|
+
items: m,
|
14
|
+
alignment: u = null,
|
15
15
|
separator: c = null,
|
16
|
-
size:
|
16
|
+
size: b = null
|
17
17
|
}) => {
|
18
|
-
const
|
18
|
+
const r = p([
|
19
19
|
"breadcrumb",
|
20
|
-
|
20
|
+
u,
|
21
21
|
c,
|
22
|
-
|
22
|
+
b,
|
23
23
|
t
|
24
|
-
]),
|
24
|
+
]), i = s ?? f({
|
25
25
|
tag: "breadcrumb",
|
26
|
-
parsedClasses:
|
26
|
+
parsedClasses: r,
|
27
27
|
rules: [
|
28
28
|
{
|
29
29
|
regExp: /breadcrumb/gm,
|
@@ -35,22 +35,22 @@ const B = ({
|
|
35
35
|
}
|
36
36
|
]
|
37
37
|
});
|
38
|
-
return /* @__PURE__ */
|
38
|
+
return /* @__PURE__ */ e(
|
39
39
|
"nav",
|
40
40
|
{
|
41
|
-
"data-testid":
|
42
|
-
className:
|
41
|
+
"data-testid": i,
|
42
|
+
className: r,
|
43
43
|
style: d ?? void 0,
|
44
|
-
children: /* @__PURE__ */
|
44
|
+
children: /* @__PURE__ */ e(
|
45
45
|
"ul",
|
46
46
|
{
|
47
47
|
"data-testid": a,
|
48
48
|
className: l ?? void 0,
|
49
|
-
style:
|
50
|
-
children:
|
51
|
-
|
49
|
+
style: n ?? void 0,
|
50
|
+
children: m.map((o) => /* @__PURE__ */ e(
|
51
|
+
g,
|
52
52
|
{
|
53
|
-
...
|
53
|
+
...o
|
54
54
|
},
|
55
55
|
`breadcrumb-item-${C()}`
|
56
56
|
))
|
@@ -60,5 +60,5 @@ const B = ({
|
|
60
60
|
);
|
61
61
|
};
|
62
62
|
export {
|
63
|
-
|
63
|
+
E as default
|
64
64
|
};
|
@@ -3,22 +3,22 @@ import g from "../../atoms/Button/index.js";
|
|
3
3
|
import { parseClasses as b, parseTestId as h } from "../../../functions/parsers.js";
|
4
4
|
import "react";
|
5
5
|
import { generateKey as C } from "../../../functions/generators.js";
|
6
|
-
const
|
6
|
+
const $ = ({
|
7
7
|
testId: r = null,
|
8
|
-
cssClasses:
|
9
|
-
style:
|
8
|
+
cssClasses: n = null,
|
9
|
+
style: a = null,
|
10
10
|
buttonList: u,
|
11
11
|
isAttached: p = !1,
|
12
|
-
position:
|
12
|
+
position: e = "left"
|
13
13
|
}) => {
|
14
|
-
const
|
14
|
+
const t = b([
|
15
15
|
"buttons",
|
16
16
|
p ? "has-addons" : null,
|
17
|
-
!
|
18
|
-
|
17
|
+
!e || e === "left" ? null : `is-${e}`,
|
18
|
+
n
|
19
19
|
]), d = r ?? h({
|
20
20
|
tag: "buttons",
|
21
|
-
parsedClasses:
|
21
|
+
parsedClasses: t,
|
22
22
|
rules: [
|
23
23
|
{
|
24
24
|
regExp: /has-|is-/gm,
|
@@ -34,19 +34,19 @@ const T = ({
|
|
34
34
|
"section",
|
35
35
|
{
|
36
36
|
"data-testid": d,
|
37
|
-
className:
|
38
|
-
style:
|
39
|
-
children: u.map((
|
40
|
-
const
|
41
|
-
({ isSelected:
|
42
|
-
), m =
|
43
|
-
...
|
44
|
-
color: m ?
|
37
|
+
className: t,
|
38
|
+
style: a ?? void 0,
|
39
|
+
children: u.map((s, x, c) => {
|
40
|
+
const o = c.some(
|
41
|
+
({ isSelected: i }) => i
|
42
|
+
), m = o && s.isSelected || !o, f = {
|
43
|
+
...s,
|
44
|
+
color: m ? s.color : void 0
|
45
45
|
};
|
46
46
|
return /* @__PURE__ */ l(
|
47
47
|
g,
|
48
48
|
{
|
49
|
-
...
|
49
|
+
...f
|
50
50
|
},
|
51
51
|
`button-group-item-${C()}`
|
52
52
|
);
|
@@ -55,5 +55,5 @@ const T = ({
|
|
55
55
|
);
|
56
56
|
};
|
57
57
|
export {
|
58
|
-
|
58
|
+
$ as default
|
59
59
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
import { parseClasses as
|
3
|
-
import
|
2
|
+
import { parseClasses as p, parseTestId as f } from "../../../functions/parsers.js";
|
3
|
+
import C from "../../atoms/Column/index.js";
|
4
4
|
import "react";
|
5
|
-
import { generateKey as
|
6
|
-
const
|
5
|
+
import { generateKey as G } from "../../../functions/generators.js";
|
6
|
+
const g = (l) => {
|
7
7
|
switch (l) {
|
8
8
|
case null:
|
9
9
|
return "is-gapless";
|
@@ -12,26 +12,26 @@ const G = (l) => {
|
|
12
12
|
default:
|
13
13
|
return l;
|
14
14
|
}
|
15
|
-
},
|
15
|
+
}, b = ({
|
16
16
|
testId: l = null,
|
17
17
|
cssClasses: n = null,
|
18
|
-
style:
|
19
|
-
listOfColumns:
|
18
|
+
style: u = null,
|
19
|
+
listOfColumns: t,
|
20
20
|
isMobileLayout: r = null,
|
21
|
-
isMultiline:
|
21
|
+
isMultiline: o = null,
|
22
22
|
isVerticallyCentered: i = null,
|
23
23
|
isHorizontallyCentered: m = null,
|
24
24
|
gap: a = void 0
|
25
25
|
}) => {
|
26
|
-
const s =
|
26
|
+
const s = p([
|
27
27
|
"columns",
|
28
|
-
|
28
|
+
o ? "is-multiline" : null,
|
29
29
|
r ? "is-mobile" : null,
|
30
30
|
i ? "is-vcentered" : null,
|
31
31
|
m ? "is-centered" : null,
|
32
|
-
|
32
|
+
g(a),
|
33
33
|
n
|
34
|
-
]), c = l ??
|
34
|
+
]), c = l ?? f({
|
35
35
|
tag: "columns",
|
36
36
|
parsedClasses: s
|
37
37
|
});
|
@@ -40,17 +40,17 @@ const G = (l) => {
|
|
40
40
|
{
|
41
41
|
"data-testid": c,
|
42
42
|
className: s,
|
43
|
-
style:
|
44
|
-
children:
|
45
|
-
|
43
|
+
style: u ?? void 0,
|
44
|
+
children: t.map((d) => /* @__PURE__ */ e(
|
45
|
+
C,
|
46
46
|
{
|
47
|
-
...
|
47
|
+
...d
|
48
48
|
},
|
49
|
-
`column-group-item-${
|
49
|
+
`column-group-item-${G()}`
|
50
50
|
))
|
51
51
|
}
|
52
52
|
);
|
53
53
|
};
|
54
54
|
export {
|
55
|
-
|
55
|
+
b as default
|
56
56
|
};
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
2
2
|
import { useState as w } from "react";
|
3
|
-
import { parseClasses as f, parseTestId as
|
4
|
-
import
|
3
|
+
import { parseClasses as f, parseTestId as I } from "../../../functions/parsers.js";
|
4
|
+
import v from "../../atoms/DropdownTrigger/index.js";
|
5
5
|
import s from "../../atoms/DropdownItem/index.js";
|
6
6
|
import { generateKey as t } from "../../../functions/generators.js";
|
7
|
-
const h = (
|
7
|
+
const h = (n) => /* @__PURE__ */ e("section", { className: "dropdown-content", children: n.map((o, r) => n.length > 1 && r === 0 ? /* @__PURE__ */ e(
|
8
8
|
s,
|
9
9
|
{
|
10
|
-
...
|
10
|
+
...o
|
11
11
|
},
|
12
12
|
`dropdown-item-${t()}`
|
13
13
|
) : /* @__PURE__ */ l("section", { children: [
|
@@ -22,13 +22,13 @@ const h = (o) => /* @__PURE__ */ e("section", { className: "dropdown-content", c
|
|
22
22
|
/* @__PURE__ */ e(
|
23
23
|
s,
|
24
24
|
{
|
25
|
-
...
|
25
|
+
...o
|
26
26
|
},
|
27
27
|
`dropdown-item-${t()}`
|
28
28
|
)
|
29
29
|
] }, `dropdown-item-${t()}-section`)) }), y = ({
|
30
|
-
testId:
|
31
|
-
cssClasses:
|
30
|
+
testId: n = null,
|
31
|
+
cssClasses: o = null,
|
32
32
|
style: r = null,
|
33
33
|
inputText: d,
|
34
34
|
dropdownPointer: i = "dropdown-menu",
|
@@ -37,8 +37,8 @@ const h = (o) => /* @__PURE__ */ e("section", { className: "dropdown-content", c
|
|
37
37
|
const [m, a] = w(!1), p = f([
|
38
38
|
"dropdown",
|
39
39
|
m ? "is-active" : null,
|
40
|
-
|
41
|
-
]), u =
|
40
|
+
o
|
41
|
+
]), u = n ?? I({ tag: "dropdown", parsedClasses: p });
|
42
42
|
return /* @__PURE__ */ l(
|
43
43
|
"section",
|
44
44
|
{
|
@@ -47,7 +47,7 @@ const h = (o) => /* @__PURE__ */ e("section", { className: "dropdown-content", c
|
|
47
47
|
style: r ?? void 0,
|
48
48
|
children: [
|
49
49
|
/* @__PURE__ */ e(
|
50
|
-
|
50
|
+
v,
|
51
51
|
{
|
52
52
|
menuText: d,
|
53
53
|
dropdownPointer: i,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
2
|
-
import { parseClasses as
|
2
|
+
import { parseClasses as n, parseTestId as o } from "../../../functions/parsers.js";
|
3
3
|
const x = ({
|
4
4
|
testId: l = null,
|
5
5
|
containerTestId: r = null,
|
@@ -7,14 +7,14 @@ const x = ({
|
|
7
7
|
containerCssClasses: c = null,
|
8
8
|
style: d = null,
|
9
9
|
containerStyle: i = null,
|
10
|
-
content:
|
11
|
-
isContentCentered:
|
10
|
+
content: f,
|
11
|
+
isContentCentered: u = !1
|
12
12
|
}) => {
|
13
|
-
const e =
|
13
|
+
const e = n(["footer", c]), t = n([
|
14
14
|
"content",
|
15
|
-
|
15
|
+
u ? "has-text-centered" : null,
|
16
16
|
a
|
17
|
-
]),
|
17
|
+
]), p = r ?? o({ tag: "footer", parsedClasses: e }), C = l ?? o({
|
18
18
|
tag: "content",
|
19
19
|
parsedClasses: t,
|
20
20
|
rules: [
|
@@ -31,7 +31,7 @@ const x = ({
|
|
31
31
|
return /* @__PURE__ */ s(
|
32
32
|
"section",
|
33
33
|
{
|
34
|
-
"data-testid":
|
34
|
+
"data-testid": p,
|
35
35
|
className: e,
|
36
36
|
style: i ?? void 0,
|
37
37
|
children: /* @__PURE__ */ s(
|
@@ -40,7 +40,7 @@ const x = ({
|
|
40
40
|
"data-testid": C,
|
41
41
|
className: t,
|
42
42
|
style: d ?? void 0,
|
43
|
-
children:
|
43
|
+
children: f
|
44
44
|
}
|
45
45
|
)
|
46
46
|
}
|
@@ -88,19 +88,19 @@ const x = (r, t) => {
|
|
88
88
|
labelText: t,
|
89
89
|
type: e,
|
90
90
|
input: s,
|
91
|
-
helper:
|
92
|
-
isHorizontal:
|
91
|
+
helper: n,
|
92
|
+
isHorizontal: a
|
93
93
|
}) => {
|
94
|
-
const
|
95
|
-
() => x(t,
|
96
|
-
[t,
|
97
|
-
),
|
94
|
+
const d = m(
|
95
|
+
() => x(t, a),
|
96
|
+
[t, a]
|
97
|
+
), c = m(
|
98
98
|
() => F({ testId: r ?? void 0, type: e, input: s }),
|
99
99
|
[r, e, s]
|
100
|
-
), i = m(() => N(
|
100
|
+
), i = m(() => N(n), [n]);
|
101
101
|
return /* @__PURE__ */ f(p, { children: [
|
102
|
-
c,
|
103
102
|
d,
|
103
|
+
c,
|
104
104
|
i
|
105
105
|
] });
|
106
106
|
};
|