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,51 +1,51 @@
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
2
2
|
import { parseClasses as y, parseTestId as T } from "../../../functions/parsers.js";
|
3
3
|
const j = ({
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
6
|
-
style:
|
4
|
+
testId: e = null,
|
5
|
+
cssClasses: n = null,
|
6
|
+
style: s = null,
|
7
7
|
type: u,
|
8
8
|
value: t = null,
|
9
|
-
name:
|
10
|
-
placeholder:
|
9
|
+
name: d,
|
10
|
+
placeholder: a = null,
|
11
11
|
isDisabled: i = !1,
|
12
|
-
isReadonly:
|
13
|
-
color:
|
14
|
-
size:
|
15
|
-
isRounded:
|
16
|
-
isHovered:
|
12
|
+
isReadonly: r = !1,
|
13
|
+
color: p = null,
|
14
|
+
size: o = null,
|
15
|
+
isRounded: f = null,
|
16
|
+
isHovered: c = null,
|
17
17
|
isFocused: m = null,
|
18
|
-
onClick:
|
19
|
-
onChange:
|
20
|
-
onBlur:
|
18
|
+
onClick: C,
|
19
|
+
onChange: I,
|
20
|
+
onBlur: h
|
21
21
|
}) => {
|
22
22
|
const l = y([
|
23
23
|
"input",
|
24
|
-
r,
|
25
24
|
p,
|
26
|
-
|
27
|
-
f ? "is-
|
25
|
+
o,
|
26
|
+
f ? "is-rounded" : null,
|
27
|
+
c ? "is-hovered" : null,
|
28
28
|
m ? "is-focused" : null,
|
29
|
-
|
30
|
-
]),
|
29
|
+
n
|
30
|
+
]), v = e ?? T({
|
31
31
|
tag: "input",
|
32
32
|
parsedClasses: l
|
33
33
|
});
|
34
34
|
return /* @__PURE__ */ x(
|
35
35
|
"input",
|
36
36
|
{
|
37
|
-
"data-testid":
|
37
|
+
"data-testid": v,
|
38
38
|
type: u,
|
39
|
-
placeholder:
|
39
|
+
placeholder: a ?? void 0,
|
40
40
|
value: t ?? void 0,
|
41
|
-
name:
|
41
|
+
name: d,
|
42
42
|
disabled: i,
|
43
|
-
readOnly:
|
43
|
+
readOnly: r,
|
44
44
|
className: l,
|
45
|
-
style:
|
46
|
-
onClick:
|
47
|
-
onChange:
|
48
|
-
onBlur:
|
45
|
+
style: s ?? void 0,
|
46
|
+
onClick: C,
|
47
|
+
onChange: I,
|
48
|
+
onBlur: h
|
49
49
|
}
|
50
50
|
);
|
51
51
|
};
|
@@ -1,22 +1,22 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { parseTestId as
|
1
|
+
import { jsxs as r, jsx as l } from "react/jsx-runtime";
|
2
|
+
import { parseTestId as i } from "../../../functions/parsers.js";
|
3
3
|
const m = ({
|
4
4
|
testId: a = null,
|
5
5
|
cssClasses: e = null,
|
6
|
-
style:
|
7
|
-
header:
|
8
|
-
value:
|
6
|
+
style: d = null,
|
7
|
+
header: s,
|
8
|
+
value: t
|
9
9
|
}) => {
|
10
|
-
const
|
11
|
-
return /* @__PURE__ */
|
10
|
+
const n = a ?? i({ tag: "level-header", parsedClasses: e ?? "" });
|
11
|
+
return /* @__PURE__ */ r(
|
12
12
|
"section",
|
13
13
|
{
|
14
|
-
"data-testid":
|
14
|
+
"data-testid": n,
|
15
15
|
className: e ?? void 0,
|
16
|
-
style:
|
16
|
+
style: d ?? void 0,
|
17
17
|
children: [
|
18
|
-
/* @__PURE__ */ l("p", { className: "heading", children:
|
19
|
-
/* @__PURE__ */ l("p", { className: "title", children:
|
18
|
+
/* @__PURE__ */ l("p", { className: "heading", children: s }),
|
19
|
+
/* @__PURE__ */ l("p", { className: "title", children: t })
|
20
20
|
]
|
21
21
|
}
|
22
22
|
);
|
@@ -1,27 +1,27 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as r, parseTestId as i } from "../../../functions/parsers.js";
|
3
3
|
const I = ({
|
4
4
|
testId: s = null,
|
5
|
-
cssClasses:
|
6
|
-
style:
|
7
|
-
text:
|
5
|
+
cssClasses: n = null,
|
6
|
+
style: t = null,
|
7
|
+
text: l,
|
8
8
|
isActive: a = null,
|
9
|
-
onClick:
|
9
|
+
onClick: u = null
|
10
10
|
}) => {
|
11
|
-
const e =
|
11
|
+
const e = r([
|
12
12
|
"menuItem",
|
13
13
|
a ? "is-active" : null,
|
14
|
-
|
15
|
-
]),
|
16
|
-
return /* @__PURE__ */
|
14
|
+
n
|
15
|
+
]), m = s ?? i({ tag: "menuItem", parsedClasses: e });
|
16
|
+
return /* @__PURE__ */ d(
|
17
17
|
"a",
|
18
18
|
{
|
19
|
-
"data-testid":
|
19
|
+
"data-testid": m,
|
20
20
|
className: e,
|
21
|
-
style:
|
21
|
+
style: t ?? void 0,
|
22
22
|
"aria-hidden": "true",
|
23
|
-
onClick:
|
24
|
-
children:
|
23
|
+
onClick: u ?? void 0,
|
24
|
+
children: l
|
25
25
|
}
|
26
26
|
);
|
27
27
|
};
|
@@ -1,30 +1,30 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
3
|
-
const
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as m, parseTestId as u } from "../../../functions/parsers.js";
|
3
|
+
const f = ({
|
4
|
+
testId: e = null,
|
5
|
+
cssClasses: s = null,
|
6
6
|
style: t = null,
|
7
|
-
children:
|
8
|
-
isActive:
|
9
|
-
onClick:
|
7
|
+
children: n,
|
8
|
+
isActive: l = !1,
|
9
|
+
onClick: r = null
|
10
10
|
}) => {
|
11
|
-
const a =
|
11
|
+
const a = m([
|
12
12
|
"navbar-item",
|
13
|
-
|
14
|
-
|
15
|
-
]),
|
16
|
-
return /* @__PURE__ */
|
13
|
+
l ? "is-active" : null,
|
14
|
+
s
|
15
|
+
]), d = e ?? u({ tag: "navbar-item", parsedClasses: a });
|
16
|
+
return /* @__PURE__ */ i(
|
17
17
|
"a",
|
18
18
|
{
|
19
|
-
"data-testid":
|
19
|
+
"data-testid": d,
|
20
20
|
className: a,
|
21
21
|
style: t ?? void 0,
|
22
22
|
"aria-hidden": "true",
|
23
|
-
onClick:
|
24
|
-
children:
|
23
|
+
onClick: r ?? void 0,
|
24
|
+
children: n
|
25
25
|
}
|
26
26
|
);
|
27
27
|
};
|
28
28
|
export {
|
29
|
-
|
29
|
+
f as default
|
30
30
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
2
2
|
import { parseClasses as u, parseTestId as g } from "../../../functions/parsers.js";
|
3
|
-
const
|
4
|
-
testId:
|
3
|
+
const I = ({
|
4
|
+
testId: t = null,
|
5
5
|
cssClasses: s = null,
|
6
6
|
style: l = null,
|
7
7
|
text: n,
|
@@ -10,19 +10,19 @@ const C = ({
|
|
10
10
|
isSelected: a = null,
|
11
11
|
onClick: o = null
|
12
12
|
}) => {
|
13
|
-
const
|
13
|
+
const e = u([
|
14
14
|
"pagination-link",
|
15
15
|
a ? "is-current" : null,
|
16
16
|
s
|
17
|
-
]),
|
17
|
+
]), d = t ?? g({
|
18
18
|
tag: "pagination-link",
|
19
|
-
parsedClasses:
|
19
|
+
parsedClasses: e
|
20
20
|
});
|
21
|
-
return /* @__PURE__ */
|
21
|
+
return /* @__PURE__ */ p(
|
22
22
|
"a",
|
23
23
|
{
|
24
|
-
"data-testid":
|
25
|
-
className:
|
24
|
+
"data-testid": d,
|
25
|
+
className: e,
|
26
26
|
style: l ?? void 0,
|
27
27
|
"aria-label": `${a ? r : i} ${n}`,
|
28
28
|
"aria-current": a ? "page" : void 0,
|
@@ -33,5 +33,5 @@ const C = ({
|
|
33
33
|
);
|
34
34
|
};
|
35
35
|
export {
|
36
|
-
|
36
|
+
I as default
|
37
37
|
};
|
@@ -1,33 +1,33 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { parseClasses as
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
2
|
+
import { parseClasses as u, parseTestId as c } from "../../../functions/parsers.js";
|
3
3
|
const C = ({
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
4
|
+
testId: l = null,
|
5
|
+
cssClasses: o = null,
|
6
6
|
style: a = null,
|
7
7
|
value: s = 0,
|
8
|
-
max:
|
9
|
-
color:
|
10
|
-
size:
|
11
|
-
isLoading:
|
8
|
+
max: e = 100,
|
9
|
+
color: n = "is-primary",
|
10
|
+
size: p = null,
|
11
|
+
isLoading: r = !1
|
12
12
|
}) => {
|
13
|
-
const
|
13
|
+
const d = s > e || s < 0 ? 0 : s, t = u([
|
14
14
|
"progress",
|
15
|
+
n,
|
15
16
|
p,
|
16
|
-
|
17
|
-
|
18
|
-
]), i = t ?? f({
|
17
|
+
o
|
18
|
+
]), f = l ?? c({
|
19
19
|
tag: "progress",
|
20
|
-
parsedClasses:
|
20
|
+
parsedClasses: t
|
21
21
|
});
|
22
|
-
return /* @__PURE__ */
|
22
|
+
return /* @__PURE__ */ i(
|
23
23
|
"progress",
|
24
24
|
{
|
25
|
-
"data-testid":
|
26
|
-
className:
|
25
|
+
"data-testid": f,
|
26
|
+
className: t,
|
27
27
|
style: a ?? void 0,
|
28
|
-
value:
|
29
|
-
max:
|
30
|
-
children: `${
|
28
|
+
value: r ? void 0 : s,
|
29
|
+
max: e,
|
30
|
+
children: `${r ? 0 : d}%`
|
31
31
|
}
|
32
32
|
);
|
33
33
|
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { jsx as m, jsxs as
|
2
|
-
import { useMemo as
|
1
|
+
import { jsx as m, jsxs as f } from "react/jsx-runtime";
|
2
|
+
import { useMemo as B } from "react";
|
3
3
|
import { parseClasses as y, parseTestId as C } from "../../../functions/parsers.js";
|
4
4
|
const b = (d, t) => {
|
5
5
|
const {
|
@@ -7,13 +7,13 @@ const b = (d, t) => {
|
|
7
7
|
label: e,
|
8
8
|
name: s,
|
9
9
|
isChecked: a = !1,
|
10
|
-
isDisabled:
|
11
|
-
style:
|
10
|
+
isDisabled: n = !1,
|
11
|
+
style: o = null,
|
12
12
|
onClick: l,
|
13
13
|
onChange: i,
|
14
14
|
onBlur: u
|
15
15
|
} = d, c = r ?? `test-radio-button-item-${t}`;
|
16
|
-
return /* @__PURE__ */
|
16
|
+
return /* @__PURE__ */ f(
|
17
17
|
"label",
|
18
18
|
{
|
19
19
|
className: "radio",
|
@@ -23,10 +23,10 @@ const b = (d, t) => {
|
|
23
23
|
{
|
24
24
|
"data-testid": c,
|
25
25
|
type: "radio",
|
26
|
-
style:
|
26
|
+
style: o ?? void 0,
|
27
27
|
name: s,
|
28
28
|
defaultChecked: a,
|
29
|
-
disabled:
|
29
|
+
disabled: n,
|
30
30
|
onClick: l,
|
31
31
|
onChange: i,
|
32
32
|
onBlur: u
|
@@ -47,8 +47,8 @@ const b = (d, t) => {
|
|
47
47
|
options: e,
|
48
48
|
name: s,
|
49
49
|
onClick: a,
|
50
|
-
onChange:
|
51
|
-
onBlur:
|
50
|
+
onChange: n,
|
51
|
+
onBlur: o
|
52
52
|
}) => {
|
53
53
|
const l = y([
|
54
54
|
"control",
|
@@ -56,20 +56,20 @@ const b = (d, t) => {
|
|
56
56
|
]), i = d ?? C({
|
57
57
|
tag: "container-",
|
58
58
|
parsedClasses: l
|
59
|
-
}), u =
|
59
|
+
}), u = B(
|
60
60
|
() => e.map(
|
61
61
|
(c, p) => b(
|
62
62
|
{
|
63
63
|
...c,
|
64
64
|
name: s,
|
65
65
|
onClick: a,
|
66
|
-
onChange:
|
67
|
-
onBlur:
|
66
|
+
onChange: n,
|
67
|
+
onBlur: o
|
68
68
|
},
|
69
69
|
p
|
70
70
|
)
|
71
71
|
),
|
72
|
-
[e, s, a,
|
72
|
+
[e, s, a, n, o]
|
73
73
|
);
|
74
74
|
return /* @__PURE__ */ m(
|
75
75
|
"section",
|
@@ -1,68 +1,68 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
2
2
|
import { parseClasses as j, parseTestId as k } from "../../../functions/parsers.js";
|
3
3
|
const w = ({
|
4
4
|
testId: a = null,
|
5
|
-
containerTestId:
|
5
|
+
containerTestId: d = null,
|
6
6
|
cssClasses: i = null,
|
7
|
-
containerCssClasses:
|
8
|
-
style:
|
7
|
+
containerCssClasses: u = null,
|
8
|
+
style: o = null,
|
9
9
|
containerStyle: c = null,
|
10
10
|
isDisabled: r,
|
11
11
|
options: p = [],
|
12
12
|
selectedValues: m,
|
13
13
|
name: f,
|
14
|
-
showOptions:
|
15
|
-
isMultiple:
|
16
|
-
color:
|
17
|
-
size:
|
18
|
-
isRounded:
|
19
|
-
isHovered:
|
14
|
+
showOptions: S = 1,
|
15
|
+
isMultiple: n = !1,
|
16
|
+
color: h = null,
|
17
|
+
size: $ = null,
|
18
|
+
isRounded: g = null,
|
19
|
+
isHovered: v = null,
|
20
20
|
isFocused: y = null,
|
21
21
|
onClick: C,
|
22
22
|
onChange: I,
|
23
23
|
onBlur: T
|
24
24
|
}) => {
|
25
|
-
const
|
25
|
+
const s = j([
|
26
26
|
"select",
|
27
|
-
S,
|
28
27
|
h,
|
29
|
-
|
30
|
-
|
31
|
-
g ? "is-
|
28
|
+
$,
|
29
|
+
n ? "is-multiple" : null,
|
30
|
+
g ? "is-rounded" : null,
|
31
|
+
v ? "is-hovered" : null,
|
32
32
|
y ? "is-focused" : null,
|
33
|
-
|
34
|
-
]),
|
33
|
+
u
|
34
|
+
]), e = a ?? k({
|
35
35
|
tag: "select",
|
36
|
-
parsedClasses:
|
37
|
-
}), x =
|
38
|
-
return /* @__PURE__ */
|
36
|
+
parsedClasses: s
|
37
|
+
}), x = d ?? `${e}-container`;
|
38
|
+
return /* @__PURE__ */ l(
|
39
39
|
"section",
|
40
40
|
{
|
41
41
|
"data-testid": x,
|
42
|
-
className:
|
42
|
+
className: s,
|
43
43
|
style: c ?? void 0,
|
44
|
-
children: /* @__PURE__ */
|
44
|
+
children: /* @__PURE__ */ l(
|
45
45
|
"select",
|
46
46
|
{
|
47
|
-
"data-testid":
|
47
|
+
"data-testid": e,
|
48
48
|
className: i ?? void 0,
|
49
|
-
style:
|
49
|
+
style: o ?? void 0,
|
50
50
|
value: m,
|
51
51
|
name: f,
|
52
52
|
disabled: r ?? !1,
|
53
|
-
multiple:
|
54
|
-
size:
|
53
|
+
multiple: n,
|
54
|
+
size: S,
|
55
55
|
onClick: C,
|
56
56
|
onChange: I,
|
57
57
|
onBlur: T,
|
58
|
-
children: p.map(({ id:
|
58
|
+
children: p.map(({ id: t, name: N }, b) => /* @__PURE__ */ l(
|
59
59
|
"option",
|
60
60
|
{
|
61
|
-
"data-testid": `${
|
62
|
-
value:
|
61
|
+
"data-testid": `${e}-option-${b}`,
|
62
|
+
value: t.toString(),
|
63
63
|
children: N
|
64
64
|
},
|
65
|
-
`key-option-${
|
65
|
+
`key-option-${t.toString()}`
|
66
66
|
))
|
67
67
|
}
|
68
68
|
)
|
@@ -1,38 +1,38 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import
|
3
|
-
import { parseTestId as
|
4
|
-
const
|
1
|
+
import { jsxs as p, jsx as l } from "react/jsx-runtime";
|
2
|
+
import c from "../Icon/index.js";
|
3
|
+
import { parseTestId as a } from "../../../functions/parsers.js";
|
4
|
+
const h = ({
|
5
5
|
testId: d = null,
|
6
6
|
containerTestId: s = null,
|
7
|
-
cssClasses:
|
8
|
-
containerCssClasses:
|
7
|
+
cssClasses: e = null,
|
8
|
+
containerCssClasses: t = null,
|
9
9
|
style: i = null,
|
10
|
-
containerStyle:
|
11
|
-
icon:
|
12
|
-
text:
|
10
|
+
containerStyle: r = null,
|
11
|
+
icon: n = null,
|
12
|
+
text: u,
|
13
13
|
onClick: m = null
|
14
14
|
}) => {
|
15
|
-
const
|
15
|
+
const o = s ?? a({
|
16
16
|
tag: "tab-item-container",
|
17
|
-
parsedClasses:
|
18
|
-
}),
|
19
|
-
return /* @__PURE__ */
|
17
|
+
parsedClasses: t ?? ""
|
18
|
+
}), f = d ?? a({ tag: "tab-item", parsedClasses: e ?? "" });
|
19
|
+
return /* @__PURE__ */ p(
|
20
20
|
"a",
|
21
21
|
{
|
22
|
-
"data-testid":
|
23
|
-
className:
|
24
|
-
style:
|
22
|
+
"data-testid": o,
|
23
|
+
className: t ?? void 0,
|
24
|
+
style: r ?? void 0,
|
25
25
|
"aria-hidden": "true",
|
26
26
|
onClick: m ?? void 0,
|
27
27
|
children: [
|
28
|
-
|
29
|
-
/* @__PURE__ */
|
28
|
+
n ? /* @__PURE__ */ l(c, { ...n }) : null,
|
29
|
+
/* @__PURE__ */ l(
|
30
30
|
"span",
|
31
31
|
{
|
32
|
-
"data-testid":
|
33
|
-
className:
|
32
|
+
"data-testid": f,
|
33
|
+
className: e ?? void 0,
|
34
34
|
style: i ?? void 0,
|
35
|
-
children:
|
35
|
+
children: u
|
36
36
|
}
|
37
37
|
)
|
38
38
|
]
|
@@ -40,5 +40,5 @@ const T = ({
|
|
40
40
|
);
|
41
41
|
};
|
42
42
|
export {
|
43
|
-
|
43
|
+
h as default
|
44
44
|
};
|
@@ -1,24 +1,24 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { parseTestId as s } from "../../../functions/parsers.js";
|
3
|
-
const
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
3
|
+
const o = ({
|
4
|
+
testId: l = null,
|
5
|
+
cssClasses: e = null,
|
6
6
|
style: t = null,
|
7
|
-
content:
|
7
|
+
content: n,
|
8
8
|
onClick: d = null
|
9
9
|
}) => {
|
10
|
-
const
|
10
|
+
const a = l ?? s({ tag: "table-cell", parsedClasses: e ?? "" });
|
11
11
|
return /* @__PURE__ */ r(
|
12
12
|
"td",
|
13
13
|
{
|
14
|
-
"data-testid":
|
15
|
-
className:
|
14
|
+
"data-testid": a,
|
15
|
+
className: e ?? void 0,
|
16
16
|
style: t ?? void 0,
|
17
17
|
onClick: d ?? void 0,
|
18
|
-
children:
|
18
|
+
children: n
|
19
19
|
}
|
20
20
|
);
|
21
21
|
};
|
22
22
|
export {
|
23
|
-
|
23
|
+
o as default
|
24
24
|
};
|
@@ -1,24 +1,24 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { parseTestId as s } from "../../../functions/parsers.js";
|
3
|
-
const
|
4
|
-
testId:
|
5
|
-
cssClasses:
|
3
|
+
const o = ({
|
4
|
+
testId: l = null,
|
5
|
+
cssClasses: e = null,
|
6
6
|
style: t = null,
|
7
|
-
content:
|
8
|
-
onClick:
|
7
|
+
content: d,
|
8
|
+
onClick: a = null
|
9
9
|
}) => {
|
10
|
-
const
|
10
|
+
const n = l ?? s({ tag: "table-head-cell", parsedClasses: e ?? "" });
|
11
11
|
return /* @__PURE__ */ r(
|
12
12
|
"th",
|
13
13
|
{
|
14
|
-
"data-testid":
|
15
|
-
className:
|
14
|
+
"data-testid": n,
|
15
|
+
className: e ?? void 0,
|
16
16
|
style: t ?? void 0,
|
17
|
-
onClick:
|
18
|
-
children:
|
17
|
+
onClick: a ?? void 0,
|
18
|
+
children: d
|
19
19
|
}
|
20
20
|
);
|
21
21
|
};
|
22
22
|
export {
|
23
|
-
|
23
|
+
o as default
|
24
24
|
};
|