reactive-bulma 4.1.4 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/atoms/Checkbox/index.js +24 -18
- package/dist/components/atoms/File/index.js +32 -27
- package/dist/components/atoms/Input/index.js +33 -29
- package/dist/components/atoms/RadioButton/index.js +57 -45
- package/dist/components/atoms/Select/index.js +34 -28
- package/dist/components/atoms/TextArea/index.js +32 -30
- package/dist/components/molecules/Breadcrumbs/index.js +3 -2
- package/dist/components/molecules/ButtonGroup/index.js +3 -2
- package/dist/components/molecules/ColumnGroup/index.js +13 -12
- package/dist/components/molecules/InputControl/index.js +15 -14
- package/dist/components/molecules/MenuList/index.js +10 -9
- package/dist/components/molecules/Message/index.js +7 -6
- package/dist/components/molecules/NavBarBrand/index.js +9 -8
- package/dist/components/molecules/NavBarDropdown/index.js +7 -6
- package/dist/components/molecules/Notification/index.js +11 -10
- package/dist/components/molecules/TableRow/index.js +7 -6
- package/dist/components/molecules/Tabs/index.js +11 -10
- package/dist/components/molecules/TileBox/index.js +3 -2
- package/dist/components/organisms/Card/index.js +7 -6
- package/dist/components/organisms/Level/index.js +1 -1
- package/dist/components/organisms/NavBar/index.js +1 -1
- package/dist/components/organisms/Panel/index.js +1 -1
- package/dist/components/organisms/Table/index.js +1 -1
- package/dist/components/organisms/TileGroup/index.js +7 -6
- package/dist/interfaces/atomProps.d.ts +8 -18
- package/dist/interfaces/commonProps.d.ts +19 -1
- package/package.json +26 -25
@@ -1,42 +1,48 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { parseClasses as
|
3
|
-
const a = (s) => typeof s == "string" ? `-${s == null ? void 0 : s.toString()}` : s !== null ? "-with-component" : "",
|
1
|
+
import { jsxs as C, jsx as f } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as m, parseTestId as l } from "../../../functions/parsers.js";
|
3
|
+
const a = (s) => typeof s == "string" ? `-${s == null ? void 0 : s.toString()}` : s !== null ? "-with-component" : "", I = ({
|
4
4
|
testId: s = null,
|
5
5
|
containerTestId: r = null,
|
6
6
|
cssClasses: t = null,
|
7
7
|
containerCssClasses: o = null,
|
8
8
|
style: i = null,
|
9
|
-
containerStyle:
|
9
|
+
containerStyle: c = null,
|
10
10
|
content: e = null,
|
11
|
-
|
12
|
-
|
11
|
+
name: d,
|
12
|
+
isDisabled: n = null,
|
13
|
+
onClick: u,
|
14
|
+
onChange: p,
|
15
|
+
onBlur: x
|
13
16
|
}) => {
|
14
|
-
const
|
17
|
+
const h = m([
|
15
18
|
"checkbox",
|
16
19
|
o
|
17
|
-
]),
|
20
|
+
]), b = r ?? l({
|
18
21
|
tag: "checkbox-container",
|
19
22
|
parsedClasses: a(e)
|
20
|
-
}),
|
23
|
+
}), k = s ?? l({
|
21
24
|
tag: "checkbox",
|
22
25
|
parsedClasses: a(e)
|
23
26
|
});
|
24
|
-
return /* @__PURE__ */
|
27
|
+
return /* @__PURE__ */ C(
|
25
28
|
"label",
|
26
29
|
{
|
27
|
-
"data-testid":
|
28
|
-
className:
|
29
|
-
style:
|
30
|
+
"data-testid": b,
|
31
|
+
className: h,
|
32
|
+
style: c ?? void 0,
|
30
33
|
children: [
|
31
|
-
/* @__PURE__ */
|
34
|
+
/* @__PURE__ */ f(
|
32
35
|
"input",
|
33
36
|
{
|
34
|
-
"data-testid":
|
37
|
+
"data-testid": k,
|
35
38
|
type: "checkbox",
|
39
|
+
name: d,
|
36
40
|
className: t ?? void 0,
|
37
41
|
style: i ?? void 0,
|
38
|
-
disabled:
|
39
|
-
|
42
|
+
disabled: n ?? !1,
|
43
|
+
onClick: u,
|
44
|
+
onChange: p,
|
45
|
+
onBlur: x
|
40
46
|
}
|
41
47
|
),
|
42
48
|
e
|
@@ -45,5 +51,5 @@ const a = (s) => typeof s == "string" ? `-${s == null ? void 0 : s.toString()}`
|
|
45
51
|
);
|
46
52
|
};
|
47
53
|
export {
|
48
|
-
|
54
|
+
I as default
|
49
55
|
};
|
@@ -1,33 +1,36 @@
|
|
1
1
|
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
2
|
-
import
|
3
|
-
import { parseClasses as v, parseTestId as
|
4
|
-
const
|
2
|
+
import j from "../Icon/index.js";
|
3
|
+
import { parseClasses as v, parseTestId as E } from "../../../functions/parsers.js";
|
4
|
+
const $ = ({
|
5
5
|
testId: t = null,
|
6
6
|
containerTestId: r = null,
|
7
7
|
cssClasses: u = null,
|
8
|
-
containerCssClasses:
|
9
|
-
style:
|
8
|
+
containerCssClasses: c = null,
|
9
|
+
style: o = null,
|
10
10
|
containerStyle: f = null,
|
11
11
|
fileName: e = null,
|
12
|
+
name: p,
|
12
13
|
uploadIcon: s = { iconLabel: "upload" },
|
13
|
-
uploadText:
|
14
|
-
buttonOnRight:
|
15
|
-
isFullWidth:
|
16
|
-
isBoxed:
|
17
|
-
color:
|
18
|
-
size:
|
19
|
-
onClick:
|
14
|
+
uploadText: d = "Choose a file…",
|
15
|
+
buttonOnRight: m = !1,
|
16
|
+
isFullWidth: h = !1,
|
17
|
+
isBoxed: C = !1,
|
18
|
+
color: g = null,
|
19
|
+
size: x = null,
|
20
|
+
onClick: b,
|
21
|
+
onChange: I,
|
22
|
+
onBlur: N
|
20
23
|
}) => {
|
21
24
|
const a = v([
|
22
25
|
"file",
|
23
26
|
e ? "has-name" : null,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
C,
|
27
|
+
m ? "is-right" : null,
|
28
|
+
h ? "is-fullwidth" : null,
|
29
|
+
C ? "is-boxed" : null,
|
28
30
|
g,
|
29
|
-
|
30
|
-
|
31
|
+
x,
|
32
|
+
c
|
33
|
+
]), n = r ?? E({
|
31
34
|
tag: "file",
|
32
35
|
parsedClasses: a,
|
33
36
|
rules: [
|
@@ -40,7 +43,7 @@ const k = ({
|
|
40
43
|
replacer: ""
|
41
44
|
}
|
42
45
|
]
|
43
|
-
}),
|
46
|
+
}), y = u ?? "file-input", T = t ?? `${n}-input`;
|
44
47
|
return /* @__PURE__ */ l(
|
45
48
|
"section",
|
46
49
|
{
|
@@ -51,17 +54,19 @@ const k = ({
|
|
51
54
|
/* @__PURE__ */ l(
|
52
55
|
"input",
|
53
56
|
{
|
54
|
-
"data-testid":
|
57
|
+
"data-testid": T,
|
55
58
|
type: "file",
|
56
|
-
name:
|
57
|
-
className:
|
58
|
-
style:
|
59
|
-
onClick:
|
59
|
+
name: p,
|
60
|
+
className: y,
|
61
|
+
style: o ?? void 0,
|
62
|
+
onClick: b,
|
63
|
+
onChange: I,
|
64
|
+
onBlur: N
|
60
65
|
}
|
61
66
|
),
|
62
67
|
/* @__PURE__ */ i("span", { className: "file-cta", children: [
|
63
|
-
s ? /* @__PURE__ */ l(
|
64
|
-
/* @__PURE__ */ l("span", { className: "file-label", children:
|
68
|
+
s ? /* @__PURE__ */ l(j, { ...s }) : null,
|
69
|
+
/* @__PURE__ */ l("span", { className: "file-label", children: d })
|
65
70
|
] }),
|
66
71
|
e ? /* @__PURE__ */ l("span", { className: "file-name", children: e }) : null
|
67
72
|
] })
|
@@ -69,5 +74,5 @@ const k = ({
|
|
69
74
|
);
|
70
75
|
};
|
71
76
|
export {
|
72
|
-
|
77
|
+
$ as default
|
73
78
|
};
|
@@ -1,50 +1,54 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
3
|
-
const
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
6
|
-
style:
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as y, parseTestId as T } from "../../../functions/parsers.js";
|
3
|
+
const j = ({
|
4
|
+
testId: s = null,
|
5
|
+
cssClasses: e = null,
|
6
|
+
style: n = null,
|
7
7
|
type: u,
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
value: t = null,
|
9
|
+
name: a,
|
10
|
+
placeholder: d = null,
|
11
|
+
isDisabled: i = !1,
|
11
12
|
isReadonly: o = !1,
|
12
|
-
color:
|
13
|
-
size:
|
14
|
-
isRounded:
|
13
|
+
color: r = null,
|
14
|
+
size: p = null,
|
15
|
+
isRounded: f = null,
|
15
16
|
isHovered: c = null,
|
16
|
-
isFocused:
|
17
|
-
onClick: v
|
18
|
-
onChange:
|
17
|
+
isFocused: m = null,
|
18
|
+
onClick: v,
|
19
|
+
onChange: C,
|
20
|
+
onBlur: I
|
19
21
|
}) => {
|
20
|
-
const l =
|
22
|
+
const l = y([
|
21
23
|
"input",
|
22
|
-
i,
|
23
24
|
r,
|
24
|
-
p
|
25
|
+
p,
|
26
|
+
f ? "is-rounded" : null,
|
25
27
|
c ? "is-hovered" : null,
|
26
|
-
|
27
|
-
|
28
|
-
]),
|
28
|
+
m ? "is-focused" : null,
|
29
|
+
e
|
30
|
+
]), h = s ?? T({
|
29
31
|
tag: "input",
|
30
32
|
parsedClasses: l
|
31
33
|
});
|
32
|
-
return /* @__PURE__ */
|
34
|
+
return /* @__PURE__ */ x(
|
33
35
|
"input",
|
34
36
|
{
|
35
|
-
"data-testid":
|
37
|
+
"data-testid": h,
|
36
38
|
type: u,
|
37
|
-
placeholder:
|
39
|
+
placeholder: d ?? void 0,
|
38
40
|
defaultValue: t ?? void 0,
|
39
|
-
|
41
|
+
name: a,
|
42
|
+
disabled: i,
|
40
43
|
readOnly: o,
|
41
44
|
className: l,
|
42
|
-
style:
|
43
|
-
onClick: v
|
44
|
-
onChange:
|
45
|
+
style: n ?? void 0,
|
46
|
+
onClick: v,
|
47
|
+
onChange: C,
|
48
|
+
onBlur: I
|
45
49
|
}
|
46
50
|
);
|
47
51
|
};
|
48
52
|
export {
|
49
|
-
|
53
|
+
j as default
|
50
54
|
};
|
@@ -1,71 +1,83 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { jsx as m, jsxs as f } from "react/jsx-runtime";
|
2
|
+
import { useMemo as C } from "react";
|
3
|
+
import { parseClasses as B, parseTestId as b } from "../../../functions/parsers.js";
|
4
|
+
const h = (d, t) => {
|
4
5
|
const {
|
5
|
-
testId:
|
6
|
-
label:
|
7
|
-
name:
|
8
|
-
isChecked:
|
9
|
-
isDisabled:
|
10
|
-
style:
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
testId: r = null,
|
7
|
+
label: e,
|
8
|
+
name: s,
|
9
|
+
isChecked: a = !1,
|
10
|
+
isDisabled: o = !1,
|
11
|
+
style: n = null,
|
12
|
+
onClick: l,
|
13
|
+
onChange: i,
|
14
|
+
onBlur: u
|
15
|
+
} = d, c = r ?? `test-radio-button-item-${t}`;
|
16
|
+
return /* @__PURE__ */ f(
|
14
17
|
"label",
|
15
18
|
{
|
16
19
|
className: "radio",
|
17
20
|
children: [
|
18
|
-
/* @__PURE__ */
|
21
|
+
/* @__PURE__ */ m(
|
19
22
|
"input",
|
20
23
|
{
|
21
|
-
"data-testid":
|
24
|
+
"data-testid": c,
|
22
25
|
type: "radio",
|
23
|
-
style:
|
24
|
-
name:
|
25
|
-
defaultChecked:
|
26
|
-
disabled:
|
27
|
-
|
26
|
+
style: n ?? void 0,
|
27
|
+
name: s,
|
28
|
+
defaultChecked: a,
|
29
|
+
disabled: o,
|
30
|
+
onClick: l,
|
31
|
+
onChange: i,
|
32
|
+
onBlur: u
|
28
33
|
}
|
29
34
|
),
|
30
|
-
|
35
|
+
e
|
31
36
|
]
|
32
37
|
},
|
33
38
|
t
|
34
39
|
);
|
35
|
-
},
|
36
|
-
containerTestId:
|
40
|
+
}, T = ({
|
41
|
+
containerTestId: d = null,
|
37
42
|
containerCssClasses: t = null,
|
38
|
-
containerStyle:
|
39
|
-
options:
|
40
|
-
name:
|
41
|
-
|
43
|
+
containerStyle: r = null,
|
44
|
+
options: e,
|
45
|
+
name: s,
|
46
|
+
onClick: a,
|
47
|
+
onChange: o,
|
48
|
+
onBlur: n
|
42
49
|
}) => {
|
43
|
-
const
|
50
|
+
const l = B([
|
44
51
|
"control",
|
45
52
|
t
|
46
|
-
]),
|
53
|
+
]), i = d ?? b({
|
47
54
|
tag: "container-",
|
48
|
-
parsedClasses:
|
49
|
-
})
|
50
|
-
|
55
|
+
parsedClasses: l
|
56
|
+
}), u = C(
|
57
|
+
() => e.map(
|
58
|
+
(c, p) => h(
|
59
|
+
{
|
60
|
+
...c,
|
61
|
+
name: s,
|
62
|
+
onClick: a,
|
63
|
+
onChange: o,
|
64
|
+
onBlur: n
|
65
|
+
},
|
66
|
+
p
|
67
|
+
)
|
68
|
+
),
|
69
|
+
[e, s, a, o, n]
|
70
|
+
);
|
71
|
+
return /* @__PURE__ */ m(
|
51
72
|
"section",
|
52
73
|
{
|
53
|
-
"data-testid":
|
54
|
-
className:
|
55
|
-
style:
|
56
|
-
children:
|
57
|
-
(i, r) => C(
|
58
|
-
{
|
59
|
-
...i,
|
60
|
-
name: o,
|
61
|
-
onChange: l ?? void 0
|
62
|
-
},
|
63
|
-
r
|
64
|
-
)
|
65
|
-
)
|
74
|
+
"data-testid": i,
|
75
|
+
className: l,
|
76
|
+
style: r ?? void 0,
|
77
|
+
children: u
|
66
78
|
}
|
67
79
|
);
|
68
80
|
};
|
69
81
|
export {
|
70
|
-
|
82
|
+
T as default
|
71
83
|
};
|
@@ -1,39 +1,42 @@
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
import { parseClasses as
|
3
|
-
const
|
2
|
+
import { parseClasses as j, parseTestId as k } from "../../../functions/parsers.js";
|
3
|
+
const q = ({
|
4
4
|
testId: n = null,
|
5
5
|
containerTestId: a = null,
|
6
6
|
cssClasses: o = null,
|
7
|
-
containerCssClasses:
|
8
|
-
style:
|
7
|
+
containerCssClasses: d = null,
|
8
|
+
style: i = null,
|
9
9
|
containerStyle: c = null,
|
10
10
|
options: u = [],
|
11
|
-
|
11
|
+
name: r,
|
12
|
+
showOptions: m = 1,
|
12
13
|
isMultiple: s = !1,
|
13
14
|
color: p = null,
|
14
|
-
size:
|
15
|
-
isRounded:
|
16
|
-
isHovered:
|
17
|
-
isFocused:
|
18
|
-
onClick:
|
15
|
+
size: f = null,
|
16
|
+
isRounded: h = null,
|
17
|
+
isHovered: v = null,
|
18
|
+
isFocused: C = null,
|
19
|
+
onClick: S,
|
20
|
+
onChange: I,
|
21
|
+
onBlur: T
|
19
22
|
}) => {
|
20
|
-
const t =
|
23
|
+
const t = j([
|
21
24
|
"select",
|
22
25
|
p,
|
23
|
-
|
26
|
+
f,
|
24
27
|
s ? "is-multiple" : null,
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
]), l = n ??
|
28
|
+
h ? "is-rounded" : null,
|
29
|
+
v ? "is-hovered" : null,
|
30
|
+
C ? "is-focused" : null,
|
31
|
+
d
|
32
|
+
]), l = n ?? k({
|
30
33
|
tag: "select",
|
31
34
|
parsedClasses: t
|
32
|
-
}),
|
35
|
+
}), $ = a ?? `${l}-container`;
|
33
36
|
return /* @__PURE__ */ e(
|
34
37
|
"section",
|
35
38
|
{
|
36
|
-
"data-testid":
|
39
|
+
"data-testid": $,
|
37
40
|
className: t,
|
38
41
|
style: c ?? void 0,
|
39
42
|
children: /* @__PURE__ */ e(
|
@@ -41,18 +44,21 @@ const j = ({
|
|
41
44
|
{
|
42
45
|
"data-testid": l,
|
43
46
|
className: o ?? void 0,
|
44
|
-
style:
|
47
|
+
style: i ?? void 0,
|
48
|
+
name: r,
|
45
49
|
multiple: s,
|
46
|
-
size:
|
47
|
-
children: u.map(({ id:
|
50
|
+
size: m,
|
51
|
+
children: u.map(({ id: g, name: x, selected: y }, N) => /* @__PURE__ */ e(
|
48
52
|
"option",
|
49
53
|
{
|
50
|
-
"data-testid": `${l}-option-${
|
51
|
-
defaultChecked:
|
52
|
-
onClick:
|
53
|
-
|
54
|
+
"data-testid": `${l}-option-${N}`,
|
55
|
+
defaultChecked: y ?? !1,
|
56
|
+
onClick: S,
|
57
|
+
onChange: I,
|
58
|
+
onBlur: T,
|
59
|
+
children: x
|
54
60
|
},
|
55
|
-
|
61
|
+
g.toString()
|
56
62
|
))
|
57
63
|
}
|
58
64
|
)
|
@@ -60,5 +66,5 @@ const j = ({
|
|
60
66
|
);
|
61
67
|
};
|
62
68
|
export {
|
63
|
-
|
69
|
+
q as default
|
64
70
|
};
|
@@ -1,31 +1,32 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
3
|
-
const
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as h, parseTestId as A } from "../../../functions/parsers.js";
|
3
|
+
const E = ({
|
4
4
|
testId: l = null,
|
5
5
|
cssClasses: s = null,
|
6
6
|
style: a = null,
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
7
|
+
value: t = null,
|
8
|
+
name: r,
|
9
|
+
cols: n = null,
|
10
|
+
rows: u = null,
|
11
|
+
isDisabled: o = !1,
|
12
|
+
isReadonly: d = !1,
|
13
|
+
isFixedSize: i = !1,
|
14
|
+
color: x = null,
|
15
|
+
size: p = null,
|
16
|
+
isHovered: c = null,
|
17
|
+
isFocused: f = null,
|
18
|
+
onClick: m = null,
|
19
|
+
onChange: v = null
|
19
20
|
}) => {
|
20
|
-
const e =
|
21
|
+
const e = h([
|
21
22
|
"textarea",
|
22
|
-
i,
|
23
23
|
x,
|
24
|
-
p
|
25
|
-
c ? "is-
|
26
|
-
|
24
|
+
p,
|
25
|
+
c ? "is-hovered" : null,
|
26
|
+
f ? "is-focused" : null,
|
27
|
+
i ? "has-fixed-size" : null,
|
27
28
|
s
|
28
|
-
]),
|
29
|
+
]), g = l ?? A({
|
29
30
|
tag: "textarea",
|
30
31
|
parsedClasses: e,
|
31
32
|
rules: [
|
@@ -39,22 +40,23 @@ const y = ({
|
|
39
40
|
}
|
40
41
|
]
|
41
42
|
});
|
42
|
-
return /* @__PURE__ */
|
43
|
+
return /* @__PURE__ */ C(
|
43
44
|
"textarea",
|
44
45
|
{
|
45
|
-
"data-testid":
|
46
|
+
"data-testid": g,
|
46
47
|
defaultValue: t ?? void 0,
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
name: r,
|
49
|
+
cols: n ?? void 0,
|
50
|
+
rows: u ?? void 0,
|
51
|
+
disabled: o,
|
52
|
+
readOnly: d,
|
51
53
|
className: e,
|
52
54
|
style: a ?? void 0,
|
53
|
-
onClick:
|
54
|
-
onChange:
|
55
|
+
onClick: m ?? void 0,
|
56
|
+
onChange: v ?? void 0
|
55
57
|
}
|
56
58
|
);
|
57
59
|
};
|
58
60
|
export {
|
59
|
-
|
61
|
+
E as default
|
60
62
|
};
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { parseClasses as p, parseTestId as g } from "../../../functions/parsers.js";
|
3
|
+
import "react";
|
3
4
|
import f from "../../atoms/BreadcrumbItem/index.js";
|
4
5
|
import { generateKey as C } from "../../../functions/generators.js";
|
5
|
-
const
|
6
|
+
const B = ({
|
6
7
|
testId: a = "breadcrumbs",
|
7
8
|
containerTestId: s = null,
|
8
9
|
cssClasses: l = null,
|
@@ -59,5 +60,5 @@ const I = ({
|
|
59
60
|
);
|
60
61
|
};
|
61
62
|
export {
|
62
|
-
|
63
|
+
B as default
|
63
64
|
};
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
2
2
|
import g from "../../atoms/Button/index.js";
|
3
3
|
import { parseClasses as b, parseTestId as h } from "../../../functions/parsers.js";
|
4
|
+
import "react";
|
4
5
|
import { generateKey as C } from "../../../functions/generators.js";
|
5
|
-
const
|
6
|
+
const T = ({
|
6
7
|
testId: r = null,
|
7
8
|
cssClasses: a = null,
|
8
9
|
style: n = null,
|
@@ -54,5 +55,5 @@ const S = ({
|
|
54
55
|
);
|
55
56
|
};
|
56
57
|
export {
|
57
|
-
|
58
|
+
T as default
|
58
59
|
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
2
2
|
import { parseClasses as d, parseTestId as C } from "../../../functions/parsers.js";
|
3
3
|
import f from "../../atoms/Column/index.js";
|
4
|
+
import "react";
|
4
5
|
import { generateKey as v } from "../../../functions/generators.js";
|
5
6
|
const G = (l) => {
|
6
7
|
switch (l) {
|
@@ -11,24 +12,24 @@ const G = (l) => {
|
|
11
12
|
default:
|
12
13
|
return l;
|
13
14
|
}
|
14
|
-
},
|
15
|
+
}, T = ({
|
15
16
|
testId: l = null,
|
16
17
|
cssClasses: n = null,
|
17
18
|
style: t = null,
|
18
|
-
listOfColumns:
|
19
|
-
isMobileLayout:
|
20
|
-
isMultiline:
|
19
|
+
listOfColumns: o,
|
20
|
+
isMobileLayout: r = null,
|
21
|
+
isMultiline: u = null,
|
21
22
|
isVerticallyCentered: i = null,
|
22
|
-
isHorizontallyCentered:
|
23
|
-
gap:
|
23
|
+
isHorizontallyCentered: m = null,
|
24
|
+
gap: a = void 0
|
24
25
|
}) => {
|
25
26
|
const s = d([
|
26
27
|
"columns",
|
27
|
-
|
28
|
-
|
28
|
+
u ? "is-multiline" : null,
|
29
|
+
r ? "is-mobile" : null,
|
29
30
|
i ? "is-vcentered" : null,
|
30
|
-
|
31
|
-
G(
|
31
|
+
m ? "is-centered" : null,
|
32
|
+
G(a),
|
32
33
|
n
|
33
34
|
]), c = l ?? C({
|
34
35
|
tag: "columns",
|
@@ -40,7 +41,7 @@ const G = (l) => {
|
|
40
41
|
"data-testid": c,
|
41
42
|
className: s,
|
42
43
|
style: t ?? void 0,
|
43
|
-
children:
|
44
|
+
children: o.map((p) => /* @__PURE__ */ e(
|
44
45
|
f,
|
45
46
|
{
|
46
47
|
...p
|
@@ -51,5 +52,5 @@ const G = (l) => {
|
|
51
52
|
);
|
52
53
|
};
|
53
54
|
export {
|
54
|
-
|
55
|
+
T as default
|
55
56
|
};
|