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