reactive-bulma 5.1.21 → 5.1.23

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.
Files changed (32) hide show
  1. package/dist/components/atoms/Column/index.js +5 -5
  2. package/dist/components/atoms/Delete/index.js +5 -5
  3. package/dist/components/atoms/GridCell/index.js +5 -5
  4. package/dist/components/atoms/Icon/index.js +9 -9
  5. package/dist/components/atoms/Input/index.js +5 -5
  6. package/dist/components/atoms/LevelHeader/index.js +16 -13
  7. package/dist/components/atoms/MenuItem/index.js +5 -5
  8. package/dist/components/atoms/NavBarItem/index.js +5 -5
  9. package/dist/components/atoms/PaginationItem/index.js +5 -5
  10. package/dist/components/atoms/ProgressBar/index.js +5 -5
  11. package/dist/components/atoms/RadioButton/index.js +24 -21
  12. package/dist/components/atoms/Select/index.js +2 -2
  13. package/dist/components/atoms/Skeleton/index.js +5 -5
  14. package/dist/components/atoms/TableCell/index.js +5 -5
  15. package/dist/components/atoms/TableHeadCell/index.js +5 -5
  16. package/dist/components/atoms/TextArea/index.js +12 -12
  17. package/dist/components/atoms/Tile/index.js +12 -12
  18. package/dist/components/atoms/Title/index.js +6 -3
  19. package/dist/components/molecules/ButtonGroup/index.js +15 -15
  20. package/dist/components/molecules/FormFieldInput/index.js +18 -18
  21. package/dist/components/molecules/Grid/index.js +12 -12
  22. package/dist/components/molecules/InputControl/index.js +10 -10
  23. package/dist/components/molecules/LevelItem/index.js +12 -12
  24. package/dist/components/molecules/Notification/index.js +5 -5
  25. package/dist/components/molecules/Pagination/index.js +10 -6
  26. package/dist/components/molecules/PanelBlock/index.js +5 -5
  27. package/dist/components/molecules/PanelTabs/index.js +5 -5
  28. package/dist/components/molecules/Section/index.js +5 -5
  29. package/dist/components/molecules/TagList/index.js +5 -5
  30. package/dist/components/molecules/TileBox/index.js +12 -12
  31. package/dist/components/organisms/TileGroup/index.js +12 -12
  32. package/package.json +22 -22
@@ -10,12 +10,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, children: s
10
10
  l ? `${e.OFFSET}${l}` : null,
11
11
  u ? `${e.NARROW}` : null,
12
12
  a
13
- ]);
13
+ ]), p = i ?? n({
14
+ tag: d,
15
+ parsedClasses: f
16
+ });
14
17
  return /* @__PURE__ */ r("section", {
15
- "data-testid": i ?? n({
16
- tag: d,
17
- parsedClasses: f
18
- }),
18
+ "data-testid": p,
19
19
  className: f,
20
20
  style: o ?? void 0,
21
21
  children: s
@@ -8,12 +8,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, size: s = nu
8
8
  l,
9
9
  s ? `${e.IS}${s}` : null,
10
10
  a
11
- ]);
11
+ ]), d = i ?? n({
12
+ tag: l,
13
+ parsedClasses: u
14
+ });
12
15
  return /* @__PURE__ */ r("button", {
13
- "data-testid": i ?? n({
14
- tag: l,
15
- parsedClasses: u
16
- }),
16
+ "data-testid": d,
17
17
  className: u,
18
18
  style: o ?? void 0,
19
19
  onClick: c ?? void 0
@@ -14,12 +14,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, children: s
14
14
  p ? `is-col-span-${p}` : null,
15
15
  m ? `is-row-span-${m}` : null,
16
16
  a
17
- ]);
17
+ ]), g = i ?? n({
18
+ tag: "cell",
19
+ parsedClasses: h
20
+ });
18
21
  return /* @__PURE__ */ r("section", {
19
- "data-testid": i ?? n({
20
- tag: "cell",
21
- parsedClasses: h
22
- }),
22
+ "data-testid": g,
23
23
  className: h,
24
24
  style: o ?? void 0,
25
25
  children: s
@@ -6,16 +6,16 @@ import "react";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  //#region src/components/atoms/Icon/index.tsx
8
8
  var s = "icon", c = "mdi", l = (n, i) => {
9
- let o = i ? `${s}-text-${i}` : `${s}-text`;
9
+ let o = i ? `${s}-text-${i}` : `${s}-text`, c = r({
10
+ tag: `${s}-container`,
11
+ parsedClasses: i ? `${e.HAS_TEXT}${i}` : "",
12
+ rules: [{
13
+ regExp: t.HAS_TEXT,
14
+ replacer: ""
15
+ }]
16
+ });
10
17
  return /* @__PURE__ */ a("span", {
11
- "data-testid": r({
12
- tag: `${s}-container`,
13
- parsedClasses: i ? `${e.HAS_TEXT}${i}` : "",
14
- rules: [{
15
- regExp: t.HAS_TEXT,
16
- replacer: ""
17
- }]
18
- }),
18
+ "data-testid": c,
19
19
  className: o,
20
20
  children: n
21
21
  });
@@ -13,12 +13,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, type: s, val
13
13
  v ? e.FOCUSED : null,
14
14
  p ? e.SKELETON : null,
15
15
  a
16
- ]);
16
+ ]), C = i ?? n({
17
+ tag: "input",
18
+ parsedClasses: S
19
+ });
17
20
  return /* @__PURE__ */ r("input", {
18
- "data-testid": i ?? n({
19
- tag: "input",
20
- parsedClasses: S
21
- }),
21
+ "data-testid": C,
22
22
  type: s,
23
23
  placeholder: u ?? void 0,
24
24
  value: c ?? void 0,
@@ -2,20 +2,23 @@ import { parseTestId as e } from "../../../functions/parsers.js";
2
2
  import "react";
3
3
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
4
  //#region src/components/atoms/LevelHeader/index.tsx
5
- var r = ({ testId: r = null, cssClasses: i = null, style: a = null, header: o, value: s }) => /* @__PURE__ */ n("section", {
6
- "data-testid": r ?? e({
5
+ var r = ({ testId: r = null, cssClasses: i = null, style: a = null, header: o, value: s }) => {
6
+ let c = r ?? e({
7
7
  tag: "level-header",
8
8
  parsedClasses: i ?? ""
9
- }),
10
- className: i ?? void 0,
11
- style: a ?? void 0,
12
- children: [/* @__PURE__ */ t("p", {
13
- className: "heading",
14
- children: o
15
- }), /* @__PURE__ */ t("p", {
16
- className: "title",
17
- children: s
18
- })]
19
- });
9
+ });
10
+ return /* @__PURE__ */ n("section", {
11
+ "data-testid": c,
12
+ className: i ?? void 0,
13
+ style: a ?? void 0,
14
+ children: [/* @__PURE__ */ t("p", {
15
+ className: "heading",
16
+ children: o
17
+ }), /* @__PURE__ */ t("p", {
18
+ className: "title",
19
+ children: s
20
+ })]
21
+ });
22
+ };
20
23
  //#endregion
21
24
  export { r as default };
@@ -7,12 +7,12 @@ var r = ({ testId: r = null, cssClasses: i = null, style: a = null, text: o, isA
7
7
  "menuItem",
8
8
  s ? "is-active" : null,
9
9
  i
10
- ]);
10
+ ]), u = r ?? t({
11
+ tag: "menuItem",
12
+ parsedClasses: l
13
+ });
11
14
  return /* @__PURE__ */ n("a", {
12
- "data-testid": r ?? t({
13
- tag: "menuItem",
14
- parsedClasses: l
15
- }),
15
+ "data-testid": u,
16
16
  className: l,
17
17
  style: a ?? void 0,
18
18
  "aria-hidden": "true",
@@ -7,12 +7,12 @@ var r = ({ testId: r = null, cssClasses: i = null, style: a = null, children: o,
7
7
  "navbar-item",
8
8
  s ? "is-selected" : null,
9
9
  i
10
- ]);
10
+ ]), u = r ?? t({
11
+ tag: "navbar-item",
12
+ parsedClasses: l
13
+ });
11
14
  return /* @__PURE__ */ n("a", {
12
- "data-testid": r ?? t({
13
- tag: "navbar-item",
14
- parsedClasses: l
15
- }),
15
+ "data-testid": u,
16
16
  className: l,
17
17
  style: a ?? void 0,
18
18
  "aria-hidden": "true",
@@ -7,12 +7,12 @@ var r = ({ testId: r = null, cssClasses: i = null, style: a = null, text: o, lab
7
7
  "pagination-link",
8
8
  l ? "is-current" : null,
9
9
  i
10
- ]);
10
+ ]), f = r ?? t({
11
+ tag: "pagination-link",
12
+ parsedClasses: d
13
+ });
11
14
  return /* @__PURE__ */ n("a", {
12
- "data-testid": r ?? t({
13
- tag: "pagination-link",
14
- parsedClasses: d
15
- }),
15
+ "data-testid": f,
16
16
  className: d,
17
17
  style: a ?? void 0,
18
18
  "aria-label": `${l ? c : s} ${o}`,
@@ -9,12 +9,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, value: s = 0
9
9
  l ? `${e.IS}${l}` : null,
10
10
  u ? `${e.IS}${u}` : null,
11
11
  a
12
- ]);
12
+ ]), h = i ?? n({
13
+ tag: f,
14
+ parsedClasses: m
15
+ });
13
16
  return /* @__PURE__ */ r("progress", {
14
- "data-testid": i ?? n({
15
- tag: f,
16
- parsedClasses: m
17
- }),
17
+ "data-testid": h,
18
18
  className: m,
19
19
  style: o ?? void 0,
20
20
  value: d ? void 0 : s,
@@ -7,27 +7,30 @@ var o = ({ containerTestId: o = null, containerCssClasses: s = null, containerSt
7
7
  let m = e(["control", s]), h = o ?? t({
8
8
  tag: "container-",
9
9
  parsedClasses: m
10
- }), g = r(() => l.map((e, t) => /* @__PURE__ */ a("label", {
11
- className: "radio",
12
- children: [/* @__PURE__ */ i("input", {
13
- "data-testid": e.testId ?? `test-radio-button-item-${t}`,
14
- type: "radio",
15
- style: e.style ?? void 0,
16
- name: u,
17
- value: e.value,
18
- defaultChecked: e.isChecked,
19
- disabled: e.isDisabled,
20
- onClick: d,
21
- onChange: f,
22
- onBlur: p
23
- }), /* @__PURE__ */ i("p", {
24
- style: {
25
- display: "inline-block",
26
- marginLeft: "5px"
27
- },
28
- children: e.label
29
- })]
30
- }, `radio-button-item-${n()}`)), [
10
+ }), g = r(() => l.map((e, t) => {
11
+ let r = e.testId ?? `test-radio-button-item-${t}`;
12
+ return /* @__PURE__ */ a("label", {
13
+ className: "radio",
14
+ children: [/* @__PURE__ */ i("input", {
15
+ "data-testid": r,
16
+ type: "radio",
17
+ style: e.style ?? void 0,
18
+ name: u,
19
+ value: e.value,
20
+ defaultChecked: e.isChecked,
21
+ disabled: e.isDisabled,
22
+ onClick: d,
23
+ onChange: f,
24
+ onBlur: p
25
+ }), /* @__PURE__ */ i("p", {
26
+ style: {
27
+ display: "inline-block",
28
+ marginLeft: "5px"
29
+ },
30
+ children: e.label
31
+ })]
32
+ }, `radio-button-item-${n()}`);
33
+ }), [
31
34
  l,
32
35
  u,
33
36
  d,
@@ -24,9 +24,9 @@ var a = ({ testId: a = null, containerTestId: o = null, cssClasses: s = null, co
24
24
  ]), E = r(() => a ?? n({
25
25
  tag: "select",
26
26
  parsedClasses: T
27
- }), [a, T]);
27
+ }), [a, T]), D = r(() => o ?? `${E}-container`, [o, E]);
28
28
  return /* @__PURE__ */ i("section", {
29
- "data-testid": r(() => o ?? `${E}-container`, [o, E]),
29
+ "data-testid": D,
30
30
  className: T,
31
31
  style: u ?? void 0,
32
32
  children: /* @__PURE__ */ i("select", {
@@ -3,12 +3,12 @@ import "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/components/atoms/Skeleton/index.tsx
5
5
  var r = ({ testId: r = null, cssClasses: i = null, style: a = null, children: o, displayType: s = "block" }) => {
6
- let c = `skeleton-${s}`, l = e([c, i]);
6
+ let c = `skeleton-${s}`, l = e([c, i]), u = r ?? t({
7
+ tag: c,
8
+ parsedClasses: l
9
+ });
7
10
  return /* @__PURE__ */ n("section", {
8
- "data-testid": r ?? t({
9
- tag: c,
10
- parsedClasses: l
11
- }),
11
+ "data-testid": u,
12
12
  className: l,
13
13
  style: a ?? void 0,
14
14
  children: o
@@ -4,12 +4,12 @@ import "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/atoms/TableCell/index.tsx
6
6
  var i = ({ testId: i = null, cssClasses: a = null, style: o = null, color: s = null, content: c, onClick: l = null }) => {
7
- let u = t([s ? `${e.IS}${s}` : null, a]);
7
+ let u = t([s ? `${e.IS}${s}` : null, a]), d = i ?? n({
8
+ tag: "table-cell",
9
+ parsedClasses: u
10
+ });
8
11
  return /* @__PURE__ */ r("td", {
9
- "data-testid": i ?? n({
10
- tag: "table-cell",
11
- parsedClasses: u
12
- }),
12
+ "data-testid": d,
13
13
  className: u,
14
14
  style: o ?? void 0,
15
15
  onClick: l ?? void 0,
@@ -4,12 +4,12 @@ import "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/atoms/TableHeadCell/index.tsx
6
6
  var i = ({ testId: i = null, cssClasses: a = null, style: o = null, color: s = null, content: c, onClick: l = null }) => {
7
- let u = t([s ? `${e.IS}${s}` : null, a]);
7
+ let u = t([s ? `${e.IS}${s}` : null, a]), d = i ?? n({
8
+ tag: "table-head-cell",
9
+ parsedClasses: u
10
+ });
8
11
  return /* @__PURE__ */ r("th", {
9
- "data-testid": i ?? n({
10
- tag: "table-head-cell",
11
- parsedClasses: u
12
- }),
12
+ "data-testid": d,
13
13
  className: u,
14
14
  style: o ?? void 0,
15
15
  onClick: l ?? void 0,
@@ -13,19 +13,19 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, value: s = n
13
13
  m ? "has-fixed-size" : null,
14
14
  p ? e.SKELETON : null,
15
15
  a
16
- ]);
16
+ ]), S = i ?? n({
17
+ tag: "textarea",
18
+ parsedClasses: x,
19
+ rules: [{
20
+ regExp: /textarea/gm,
21
+ replacer: ""
22
+ }, {
23
+ regExp: /is-|has-/gm,
24
+ replacer: "-"
25
+ }]
26
+ });
17
27
  return /* @__PURE__ */ r("textarea", {
18
- "data-testid": i ?? n({
19
- tag: "textarea",
20
- parsedClasses: x,
21
- rules: [{
22
- regExp: /textarea/gm,
23
- replacer: ""
24
- }, {
25
- regExp: /is-|has-/gm,
26
- replacer: "-"
27
- }]
28
- }),
28
+ "data-testid": S,
29
29
  value: s ?? void 0,
30
30
  name: c,
31
31
  cols: l ?? void 0,
@@ -12,19 +12,19 @@ var a = ({ testId: a = null, cssClasses: o = null, style: s = null, children: c,
12
12
  d ? `${e.NOTIFICATION} ${d}` : null,
13
13
  f ? `${e.VERTICAL}` : null,
14
14
  o
15
- ]);
15
+ ]), h = a ?? r({
16
+ tag: p,
17
+ parsedClasses: m,
18
+ rules: [{
19
+ regExp: t.TILE,
20
+ replacer: ""
21
+ }, {
22
+ regExp: t.IS,
23
+ replacer: "-"
24
+ }]
25
+ });
16
26
  return /* @__PURE__ */ i("section", {
17
- "data-testid": a ?? r({
18
- tag: p,
19
- parsedClasses: m,
20
- rules: [{
21
- regExp: t.TILE,
22
- replacer: ""
23
- }, {
24
- regExp: t.IS,
25
- replacer: "-"
26
- }]
27
- }),
27
+ "data-testid": h,
28
28
  className: m,
29
29
  style: s ?? void 0,
30
30
  children: c
@@ -11,13 +11,16 @@ var o = (n, r) => {
11
11
  a === "title" && s ? "is-spaced" : null,
12
12
  r ? e.SKELETON : null,
13
13
  c
14
- ]);
14
+ ]), u = n?.testId ?? `test-${n?.type}`;
15
15
  return /* @__PURE__ */ i("p", {
16
- "data-testid": n?.testId ?? `test-${n?.type}`,
16
+ "data-testid": u,
17
17
  className: l,
18
18
  style: n?.style ?? void 0,
19
19
  children: n?.text
20
20
  });
21
- }, s = ({ main: e, secondary: t, isSkeleton: i }) => /* @__PURE__ */ a(r, { children: [n(() => o(e, i), [e, i]), n(() => o(t, i), [t, i])] });
21
+ }, s = ({ main: e, secondary: t, isSkeleton: i }) => {
22
+ let s = n(() => o(e, i), [e, i]), c = n(() => o(t, i), [t, i]);
23
+ return /* @__PURE__ */ a(r, { children: [s, c] });
24
+ };
22
25
  //#endregion
23
26
  export { s as default };
@@ -11,27 +11,27 @@ var a = ({ testId: a = null, cssClasses: o = null, style: s = null, buttonList:
11
11
  l ? "has-addons" : null,
12
12
  !u || u === "left" ? null : `is-${u}`,
13
13
  o
14
- ]);
14
+ ]), f = a ?? t({
15
+ tag: "buttons",
16
+ parsedClasses: d,
17
+ rules: [{
18
+ regExp: /has-|is-/gm,
19
+ replacer: "-"
20
+ }, {
21
+ regExp: /buttons/gm,
22
+ replacer: ""
23
+ }]
24
+ });
15
25
  return /* @__PURE__ */ i("section", {
16
- "data-testid": a ?? t({
17
- tag: "buttons",
18
- parsedClasses: d,
19
- rules: [{
20
- regExp: /has-|is-/gm,
21
- replacer: "-"
22
- }, {
23
- regExp: /buttons/gm,
24
- replacer: ""
25
- }]
26
- }),
26
+ "data-testid": f,
27
27
  className: d,
28
28
  style: s ?? void 0,
29
29
  children: c.map((e, t, a) => {
30
- let o = a.some(({ isSelected: e }) => e), s = o && e.isSelected || !o;
31
- return /* @__PURE__ */ i(n, {
30
+ let o = a.some(({ isSelected: e }) => e), s = o && e.isSelected || !o, c = {
32
31
  ...e,
33
32
  color: s ? e.color : void 0
34
- }, `button-group-item-${r()}`);
33
+ };
34
+ return /* @__PURE__ */ i(n, { ...c }, `button-group-item-${r()}`);
35
35
  })
36
36
  });
37
37
  };
@@ -70,27 +70,27 @@ var d = ({ testId: s, element: c, isHorizontal: d }) => {
70
70
  e,
71
71
  t,
72
72
  i
73
+ ]), o = s(() => d({
74
+ testId: e,
75
+ element: n,
76
+ isHorizontal: i
77
+ }), [
78
+ e,
79
+ n,
80
+ i
81
+ ]), l = s(() => d({
82
+ testId: e,
83
+ element: r,
84
+ isHorizontal: i
85
+ }), [
86
+ e,
87
+ r,
88
+ i
73
89
  ]);
74
90
  return /* @__PURE__ */ u(c, { children: [
75
- s(() => d({
76
- testId: e,
77
- element: n,
78
- isHorizontal: i
79
- }), [
80
- e,
81
- n,
82
- i
83
- ]),
91
+ o,
84
92
  a,
85
- s(() => d({
86
- testId: e,
87
- element: r,
88
- isHorizontal: i
89
- }), [
90
- e,
91
- r,
92
- i
93
- ])
93
+ l
94
94
  ] });
95
95
  };
96
96
  //#endregion
@@ -35,19 +35,19 @@ var c = ({ testId: c = null, containerTestId: l = null, cssClasses: u = null, co
35
35
  b ? `${e.HAS}${b}-cols` : null,
36
36
  i,
37
37
  d
38
- ]);
38
+ ]), o = l ?? r({
39
+ tag: C,
40
+ parsedClasses: a,
41
+ rules: [{
42
+ regExp: t.FIXED_GRID,
43
+ replacer: ""
44
+ }, {
45
+ regExp: t.IS_HAS,
46
+ replacer: "-"
47
+ }]
48
+ });
39
49
  return /* @__PURE__ */ s("section", {
40
- "data-testid": l ?? r({
41
- tag: C,
42
- parsedClasses: a,
43
- rules: [{
44
- regExp: t.FIXED_GRID,
45
- replacer: ""
46
- }, {
47
- regExp: t.IS_HAS,
48
- replacer: "-"
49
- }]
50
- }),
50
+ "data-testid": o,
51
51
  className: a,
52
52
  style: p ?? void 0,
53
53
  children: D
@@ -52,17 +52,17 @@ var u = (e) => e ? /* @__PURE__ */ c(i, { ...e }) : null, d = (t) => t ? `${e.IS
52
52
  position: "right"
53
53
  } : void 0), [v]), A = o(() => {
54
54
  if (g === null) return null;
55
- let e = "help", i = n([e, d(h?.color ?? g?.color)]);
55
+ let e = "help", i = d(h?.color ?? g?.color), a = n([e, i]), o = r({
56
+ tag: e,
57
+ parsedClasses: a,
58
+ rules: [{
59
+ regExp: t.HELP,
60
+ replacer: ""
61
+ }]
62
+ });
56
63
  return /* @__PURE__ */ c("p", {
57
- "data-testid": r({
58
- tag: e,
59
- parsedClasses: i,
60
- rules: [{
61
- regExp: t.HELP,
62
- replacer: ""
63
- }]
64
- }),
65
- className: i,
64
+ "data-testid": o,
65
+ className: a,
66
66
  children: g.text
67
67
  });
68
68
  }, [g, h.color]);
@@ -7,19 +7,19 @@ var r = ({ testId: r = null, cssClasses: i = null, style: a = null, content: o,
7
7
  "level-item",
8
8
  s ? "has-text-centered" : null,
9
9
  i
10
- ]);
10
+ ]), l = r ?? t({
11
+ tag: "level-item",
12
+ parsedClasses: c,
13
+ rules: [{
14
+ regExp: /is-|has-/gm,
15
+ replacer: "-"
16
+ }, {
17
+ regExp: /level-item/gm,
18
+ replacer: ""
19
+ }]
20
+ });
11
21
  return /* @__PURE__ */ n("section", {
12
- "data-testid": r ?? t({
13
- tag: "level-item",
14
- parsedClasses: c,
15
- rules: [{
16
- regExp: /is-|has-/gm,
17
- replacer: "-"
18
- }, {
19
- regExp: /level-item/gm,
20
- replacer: ""
21
- }]
22
- }),
22
+ "data-testid": l,
23
23
  className: c,
24
24
  style: a ?? void 0,
25
25
  children: o
@@ -11,12 +11,12 @@ var o = ({ testId: o = null, cssClasses: s = null, style: c = null, children: l
11
11
  d ? `${e.IS}${d}` : null,
12
12
  f ? e.LIGHT : null,
13
13
  s
14
- ]);
14
+ ]), h = o ?? n({
15
+ tag: p,
16
+ parsedClasses: m
17
+ });
15
18
  return /* @__PURE__ */ a("section", {
16
- "data-testid": o ?? n({
17
- tag: p,
18
- parsedClasses: m
19
- }),
19
+ "data-testid": h,
20
20
  className: m,
21
21
  style: c ?? void 0,
22
22
  children: [u ? /* @__PURE__ */ i(r, { ...u }) : null, l]
@@ -6,12 +6,16 @@ import "../../atoms/index.js";
6
6
  import a, { useCallback as o, useMemo as s } from "react";
7
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  //#region src/components/molecules/Pagination/index.tsx
9
- var u = "pagination", d = "pagination-list", f = (n) => n ? /* @__PURE__ */ c("a", {
10
- className: t([n.cssClasses, n.isDisabled ? e.DISABLED : null]),
11
- onClick: n.onClick ?? void 0,
12
- "aria-hidden": "true",
13
- children: n.text
14
- }) : null, p = ({ testId: p = null, containerTestId: m = null, cssClasses: h = null, containerCssClasses: g = null, style: _ = null, containerStyle: v = null, pages: y, ellipsisItems: b = 0, showPreviousPageButton: x = {
9
+ var u = "pagination", d = "pagination-list", f = (n) => {
10
+ if (!n) return null;
11
+ let r = t([n.cssClasses, n.isDisabled ? e.DISABLED : null]);
12
+ return /* @__PURE__ */ c("a", {
13
+ className: r,
14
+ onClick: n.onClick ?? void 0,
15
+ "aria-hidden": "true",
16
+ children: n.text
17
+ });
18
+ }, p = ({ testId: p = null, containerTestId: m = null, cssClasses: h = null, containerCssClasses: g = null, style: _ = null, containerStyle: v = null, pages: y, ellipsisItems: b = 0, showPreviousPageButton: x = {
15
19
  text: "Previous",
16
20
  cssClasses: `${u}-previous`
17
21
  }, showNextPageButton: S = {
@@ -28,12 +28,12 @@ var c = ({ type: c, props: l }, u, d, f, p) => {
28
28
  "panel-block",
29
29
  f ? "is-active" : null,
30
30
  a
31
- ]);
31
+ ]), h = r ?? t({
32
+ tag: "panel-block",
33
+ parsedClasses: m
34
+ });
32
35
  return /* @__PURE__ */ o("a", {
33
- "data-testid": r ?? t({
34
- tag: "panel-block",
35
- parsedClasses: m
36
- }),
36
+ "data-testid": h,
37
37
  className: m,
38
38
  style: l ?? void 0,
39
39
  "aria-hidden": "true",
@@ -4,12 +4,12 @@ import "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/molecules/PanelTabs/index.tsx
6
6
  var i = ({ testId: i = null, cssClasses: a = null, style: o = null, tabList: s }) => {
7
- let c = e(["panel-tabs", a]);
7
+ let c = e(["panel-tabs", a]), l = i ?? t({
8
+ tag: "panel-tabs",
9
+ parsedClasses: c
10
+ });
8
11
  return /* @__PURE__ */ r("section", {
9
- "data-testid": i ?? t({
10
- tag: "panel-tabs",
11
- parsedClasses: c
12
- }),
12
+ "data-testid": l,
13
13
  className: c,
14
14
  style: o ?? void 0,
15
15
  children: s.map((e) => /* @__PURE__ */ r("a", {
@@ -8,12 +8,12 @@ var i = ({ testId: i = null, cssClasses: a = null, style: o = null, content: s,
8
8
  l,
9
9
  c ? `${e.IS}${c}` : null,
10
10
  a
11
- ]);
11
+ ]), d = i ?? n({
12
+ tag: l,
13
+ parsedClasses: u
14
+ });
12
15
  return /* @__PURE__ */ r("section", {
13
- "data-testid": i ?? n({
14
- tag: l,
15
- parsedClasses: u
16
- }),
16
+ "data-testid": d,
17
17
  className: u,
18
18
  style: o ?? void 0,
19
19
  children: s
@@ -6,12 +6,12 @@ import "react";
6
6
  import { jsx as i } from "react/jsx-runtime";
7
7
  //#region src/components/molecules/TagList/index.tsx
8
8
  var a = ({ testId: a = null, cssClasses: o = null, style: s = null, listOfTags: c }) => {
9
- let l = e(["tags", o]);
9
+ let l = e(["tags", o]), u = a ?? t({
10
+ tag: "tags",
11
+ parsedClasses: l
12
+ });
10
13
  return /* @__PURE__ */ i("section", {
11
- "data-testid": a ?? t({
12
- tag: "tags",
13
- parsedClasses: l
14
- }),
14
+ "data-testid": u,
15
15
  className: l,
16
16
  style: s ?? void 0,
17
17
  children: c.map((e) => /* @__PURE__ */ i(n, { ...e }, `tag-list-item-${r()}`))
@@ -12,19 +12,19 @@ var i = ({ testId: i = null, cssClasses: a = "box", style: o = null, children: s
12
12
  u ? `notification ${u}` : null,
13
13
  d ? "is-vertical" : null,
14
14
  a
15
- ]);
15
+ ]), p = i ?? t({
16
+ tag: "tileBox",
17
+ parsedClasses: f,
18
+ rules: [{
19
+ regExp: /notification |tileBox/gm,
20
+ replacer: ""
21
+ }, {
22
+ regExp: /is-/gm,
23
+ replacer: "-"
24
+ }]
25
+ });
16
26
  return /* @__PURE__ */ r(n, {
17
- testId: i ?? t({
18
- tag: "tileBox",
19
- parsedClasses: f,
20
- rules: [{
21
- regExp: /notification |tileBox/gm,
22
- replacer: ""
23
- }, {
24
- regExp: /is-/gm,
25
- replacer: "-"
26
- }]
27
- }),
27
+ testId: p,
28
28
  cssClasses: a,
29
29
  style: o ?? void 0,
30
30
  isVertical: d,
@@ -13,19 +13,19 @@ var o = ({ testId: o = null, cssClasses: s = null, style: c = null, context: l =
13
13
  u,
14
14
  d ? "is-vertical" : null,
15
15
  s
16
- ]);
16
+ ]), h = o ?? n({
17
+ tag: p,
18
+ parsedClasses: m,
19
+ rules: [{
20
+ regExp: e.TILE_GROUP,
21
+ replacer: ""
22
+ }, {
23
+ regExp: e.IS,
24
+ replacer: "-"
25
+ }]
26
+ });
17
27
  return /* @__PURE__ */ a(i, {
18
- testId: o ?? n({
19
- tag: p,
20
- parsedClasses: m,
21
- rules: [{
22
- regExp: e.TILE_GROUP,
23
- replacer: ""
24
- }, {
25
- regExp: e.IS,
26
- replacer: "-"
27
- }]
28
- }),
28
+ testId: h,
29
29
  cssClasses: s ?? void 0,
30
30
  style: c ?? void 0,
31
31
  context: l,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "5.1.21",
3
+ "version": "5.1.23",
4
4
  "description": "A component library based on React, Bulma, Typescript and Vite",
5
5
  "keywords": [
6
6
  "typescript",
@@ -70,47 +70,47 @@
70
70
  "@semantic-release/github": "^12.0.9",
71
71
  "@semantic-release/npm": "^13.1.5",
72
72
  "@semantic-release/release-notes-generator": "^14.1.1",
73
- "@storybook/addon-docs": "^10.5.5",
74
- "@storybook/addon-links": "^10.5.5",
75
- "@storybook/addon-onboarding": "^10.5.5",
76
- "@storybook/addon-themes": "^10.5.5",
77
- "@storybook/react-vite": "^10.5.5",
78
- "@testing-library/jest-dom": "^7.0.0",
73
+ "@storybook/addon-docs": "^10.5.7",
74
+ "@storybook/addon-links": "^10.5.7",
75
+ "@storybook/addon-onboarding": "^10.5.7",
76
+ "@storybook/addon-themes": "^10.5.7",
77
+ "@storybook/react-vite": "^10.5.7",
78
+ "@testing-library/jest-dom": "^7.0.1",
79
79
  "@testing-library/react": "^16.3.2",
80
- "@testing-library/user-event": "^14.6.1",
80
+ "@testing-library/user-event": "^14.6.3",
81
81
  "@types/css-modules": "^1.0.5",
82
82
  "@types/jest": "^30.0.0",
83
- "@types/node": "^26.1.2",
84
- "@types/react": "^19.2.17",
85
- "@types/react-dom": "^19.2.3",
83
+ "@types/node": "^26.2.0",
84
+ "@types/react": "^19.2.18",
85
+ "@types/react-dom": "^19.2.4",
86
86
  "@typescript-eslint/eslint-plugin": "^8.65.0",
87
- "@typescript-eslint/parser": "^8.65.0",
88
- "@vitejs/plugin-react": "^6.0.4",
87
+ "@typescript-eslint/parser": "^8.66.0",
88
+ "@vitejs/plugin-react": "^6.0.5",
89
89
  "babel-jest": "^30.4.1",
90
90
  "babel-loader": "^10.1.1",
91
91
  "bulma": "^1.0.4",
92
- "eslint": "^10.8.0",
92
+ "eslint": "^10.8.1",
93
93
  "eslint-config-prettier": "^10.1.8",
94
94
  "eslint-plugin-react-hooks": "^7.1.1",
95
95
  "eslint-plugin-react-refresh": "^0.5.3",
96
- "eslint-plugin-storybook": "^10.5.5",
96
+ "eslint-plugin-storybook": "^10.5.7",
97
97
  "glob": "^13.0.6",
98
- "globals": "^17.8.0",
98
+ "globals": "^17.9.0",
99
99
  "husky": "^9.1.7",
100
100
  "hygen": "^6.2.11",
101
101
  "jest": "^30.4.2",
102
102
  "jest-environment-jsdom": "^30.4.1",
103
- "lint-staged": "^17.2.0",
104
- "npm-check-updates": "^23.0.0",
103
+ "lint-staged": "^17.3.0",
104
+ "npm-check-updates": "^23.0.2",
105
105
  "prettier": "^3.9.6",
106
106
  "react": "^19.2.8",
107
107
  "react-dom": "^19.2.8",
108
- "semantic-release": "^25.0.8",
109
- "storybook": "^10.5.5",
108
+ "semantic-release": "^25.0.9",
109
+ "storybook": "^10.5.7",
110
110
  "tslib": "^2.8.1",
111
111
  "typescript": "~6.0.3",
112
- "typescript-eslint": "^8.65.0",
113
- "vite": "^8.1.5",
112
+ "typescript-eslint": "^8.66.0",
113
+ "vite": "^8.2.1",
114
114
  "vite-plugin-dts": "^5.0.3"
115
115
  },
116
116
  "lint-staged": {