@pismo/marola 0.0.1-alpha.19 → 0.0.1-alpha.20

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 (60) hide show
  1. package/dist/Dialog.module-DFEmFdYT.js +30 -0
  2. package/dist/SelectButton-C8JQKaf4.js +61 -0
  3. package/dist/assets/Advice.css +1 -1
  4. package/dist/assets/Button.css +1 -1
  5. package/dist/assets/Checkbox.css +1 -1
  6. package/dist/assets/Chip.css +1 -1
  7. package/dist/assets/Dialog.css +1 -1
  8. package/dist/assets/IconButton.css +1 -1
  9. package/dist/assets/Input.css +1 -1
  10. package/dist/assets/PageHeader.css +1 -1
  11. package/dist/assets/Pagination.css +1 -1
  12. package/dist/assets/SelectButton.css +1 -1
  13. package/dist/assets/Snackbar.css +1 -1
  14. package/dist/assets/SortTooltip.css +1 -1
  15. package/dist/assets/Stepper.css +1 -1
  16. package/dist/assets/Table.css +1 -1
  17. package/dist/assets/Toggle.css +1 -1
  18. package/dist/assets/Typography.css +1 -1
  19. package/dist/components/Advice/Advice.js +32 -17
  20. package/dist/components/Button/Button.js +56 -85
  21. package/dist/components/Checkbox/Checkbox.js +57 -42
  22. package/dist/components/Chip/Chip.js +81 -111
  23. package/dist/components/Dialog/Actions.js +1 -1
  24. package/dist/components/Dialog/Backdrop.js +1 -1
  25. package/dist/components/Dialog/CloseIconButton.js +1 -1
  26. package/dist/components/Dialog/Dialog.d.ts +1 -1
  27. package/dist/components/Dialog/Dialog.js +2 -2
  28. package/dist/components/Dialog/{Title.d.ts → DialogTitle.d.ts} +3 -3
  29. package/dist/components/Dialog/DialogTitle.js +29 -0
  30. package/dist/components/Icon/Icon.d.ts +1 -1
  31. package/dist/components/Icon/Icon.js +31 -25
  32. package/dist/components/IconButton/IconButton.js +34 -64
  33. package/dist/components/Input/Input.js +241 -229
  34. package/dist/components/PageHeader/PageHeader.js +52 -37
  35. package/dist/components/Pagination/Pagination.js +127 -113
  36. package/dist/components/Select/Select.js +2 -2
  37. package/dist/components/Select/SelectButton.js +1 -1
  38. package/dist/components/Snackbar/Snackbar.js +176 -161
  39. package/dist/components/SortTooltip/SortTooltip.js +53 -38
  40. package/dist/components/Stepper/Stepper.js +37 -22
  41. package/dist/components/Table/Table.d.ts +33 -16
  42. package/dist/components/Table/Table.js +98 -81
  43. package/dist/components/Table/Table.stories.d.ts +29 -0
  44. package/dist/components/Table/_Table.TBody.stories.d.ts +14 -0
  45. package/dist/components/Table/_Table.THead.stories.d.ts +14 -0
  46. package/dist/components/Table/_Table.Td.stories.d.ts +16 -0
  47. package/dist/components/Table/_Table.Th.stories.d.ts +15 -0
  48. package/dist/components/Table/_Table.Tr.stories.d.ts +15 -0
  49. package/dist/components/TextDisplay/TextDisplay.js +13 -13
  50. package/dist/components/Toggle/Toggle.js +138 -123
  51. package/dist/components/Typography/Typography.d.ts +1 -1
  52. package/dist/components/Typography/Typography.js +54 -84
  53. package/dist/main.js +42 -37
  54. package/dist/marola.css +1 -1
  55. package/dist/utils/styleStrings.d.ts +1 -1
  56. package/dist/utils/styleStrings.js +7 -7
  57. package/package.json +1 -1
  58. package/dist/Dialog.module-B8COssqi.js +0 -15
  59. package/dist/SelectButton-pciwIWcj.js +0 -46
  60. package/dist/components/Dialog/Title.js +0 -29
@@ -1,51 +1,66 @@
1
1
  import '../../assets/PageHeader.css';
2
2
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
3
- import { c as n } from "../../clsx-DB4S2d7J.js";
4
- import * as _ from "react";
5
- const w = (c) => /* @__PURE__ */ _.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", "data-waves-icon": "fa/solid/arrow-left", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
3
+ import { c as _ } from "../../clsx-DB4S2d7J.js";
4
+ import * as g from "react";
5
+ const j = (r) => /* @__PURE__ */ g.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", "data-waves-icon": "fa/solid/arrow-left", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
6
6
  fill: "currentcolor",
7
7
  color: "currentcolor",
8
8
  width: "1em",
9
9
  height: "1em"
10
- }, ...c }, /* @__PURE__ */ _.createElement("path", { d: "M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z" })), b = "_title_fxc86_47", N = "_subtitle_fxc86_48", e = {
11
- "page-header": "_page-header_fxc86_1",
12
- "page-header__top-content": "_page-header__top-content_fxc86_10",
13
- "page-header__main-content": "_page-header__main-content_fxc86_13",
14
- "page-header__bottom-content": "_page-header__bottom-content_fxc86_13",
15
- "page-header__main-left-content": "_page-header__main-left-content_fxc86_41",
16
- title: b,
17
- subtitle: N,
18
- "page-header__main-right-content": "_page-header__main-right-content_fxc86_65"
19
- }, H = ({
20
- title: c,
21
- subtitle: d,
22
- backLinkText: r,
23
- onBackLinkClick: s,
24
- rightChildren: i,
25
- bottomChildren: o,
26
- classNameWrapper: l,
27
- classNameBackLink: h,
28
- classNameTitle: m,
29
- classNameSubtitle: p,
30
- "data-testid-wrapper": g,
31
- "data-testid-backLink": f,
32
- "data-testid-title": x,
33
- "data-testid-subtitle": u,
34
- ...v
35
- }) => /* @__PURE__ */ a("div", { className: n([e["page-header"], l]), "data-testid": g, ...v, children: [
36
- r && /* @__PURE__ */ t("div", { className: e["page-header__top-content"], children: /* @__PURE__ */ a("button", { type: "button", onClick: s, className: h, "data-testid": f, children: [
37
- /* @__PURE__ */ t(w, { fontSize: 16 }),
38
- r
10
+ }, ...r }, /* @__PURE__ */ g.createElement("path", { d: "M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z" })), f = "_subtitle_8gwjb_43", v = "_title_8gwjb_48", e = {
11
+ "u-typography-h1": "_u-typography-h1_8gwjb_1",
12
+ "u-typography-h2": "_u-typography-h2_8gwjb_8",
13
+ "u-typography-h3": "_u-typography-h3_8gwjb_15",
14
+ "u-typography-h4": "_u-typography-h4_8gwjb_22",
15
+ "u-typography-h5": "_u-typography-h5_8gwjb_29",
16
+ "u-typography-h6": "_u-typography-h6_8gwjb_36",
17
+ "u-typography-base": "_u-typography-base_8gwjb_43",
18
+ "page-header__main-left-content": "_page-header__main-left-content_8gwjb_43",
19
+ subtitle: f,
20
+ "page-header__top-content": "_page-header__top-content_8gwjb_43",
21
+ "u-typography-base--xxl": "_u-typography-base--xxl_8gwjb_48",
22
+ title: v,
23
+ "u-typography-base--xl": "_u-typography-base--xl_8gwjb_52",
24
+ "u-typography-base--lg": "_u-typography-base--lg_8gwjb_56",
25
+ "u-typography-base--sm": "_u-typography-base--sm_8gwjb_60",
26
+ "u-typography-base--bold": "_u-typography-base--bold_8gwjb_64",
27
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_8gwjb_67",
28
+ "u-typography-base--underlined": "_u-typography-base--underlined_8gwjb_70",
29
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_8gwjb_73",
30
+ "page-header": "_page-header_8gwjb_43",
31
+ "page-header__main-content": "_page-header__main-content_8gwjb_89",
32
+ "page-header__bottom-content": "_page-header__bottom-content_8gwjb_89",
33
+ "page-header__main-right-content": "_page-header__main-right-content_8gwjb_128"
34
+ }, k = ({
35
+ title: r,
36
+ subtitle: s,
37
+ backLinkText: o,
38
+ onBackLinkClick: n,
39
+ rightChildren: p,
40
+ bottomChildren: h,
41
+ classNameWrapper: i,
42
+ classNameBackLink: d,
43
+ classNameTitle: l,
44
+ classNameSubtitle: y,
45
+ "data-testid-wrapper": c,
46
+ "data-testid-backLink": b,
47
+ "data-testid-title": u,
48
+ "data-testid-subtitle": m,
49
+ ...w
50
+ }) => /* @__PURE__ */ a("div", { className: _([e["page-header"], i]), "data-testid": c, ...w, children: [
51
+ o && /* @__PURE__ */ t("div", { className: e["page-header__top-content"], children: /* @__PURE__ */ a("button", { type: "button", onClick: n, className: d, "data-testid": b, children: [
52
+ /* @__PURE__ */ t(j, { fontSize: 16 }),
53
+ o
39
54
  ] }) }),
40
55
  /* @__PURE__ */ a("div", { className: e["page-header__main-content"], children: [
41
56
  /* @__PURE__ */ a("div", { className: e["page-header__main-left-content"], children: [
42
- /* @__PURE__ */ t("h1", { className: n(e.title, m), "data-testid": x, children: c }),
43
- /* @__PURE__ */ t("h2", { className: n(e.subtitle, p), "data-testid": u, children: d })
57
+ /* @__PURE__ */ t("h1", { className: _(e.title, l), "data-testid": u, children: r }),
58
+ /* @__PURE__ */ t("h2", { className: _(e.subtitle, y), "data-testid": m, children: s })
44
59
  ] }),
45
- i && /* @__PURE__ */ t("div", { className: e["page-header__main-right-content"], children: i })
60
+ p && /* @__PURE__ */ t("div", { className: e["page-header__main-right-content"], children: p })
46
61
  ] }),
47
- o && /* @__PURE__ */ t("div", { className: e["page-header__bottom-content"], children: o })
62
+ h && /* @__PURE__ */ t("div", { className: e["page-header__bottom-content"], children: h })
48
63
  ] });
49
64
  export {
50
- H as PageHeader
65
+ k as PageHeader
51
66
  };
@@ -1,114 +1,128 @@
1
1
  import '../../assets/Pagination.css';
2
- import { jsxs as m, jsx as o, Fragment as M } from "react/jsx-runtime";
3
- import { c as p } from "../../clsx-DB4S2d7J.js";
4
- import { Select as k } from "../Select/Select.js";
5
- import { _ as A, b as E } from "../../index-CH45lKw7.js";
6
- import { u as $ } from "../../useControlled-CCMYYdCM.js";
7
- const R = ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"];
8
- function T(g = {}) {
2
+ import { jsxs as b, jsx as r, Fragment as k } from "react/jsx-runtime";
3
+ import { c as y } from "../../clsx-DB4S2d7J.js";
4
+ import { Select as w } from "../Select/Select.js";
5
+ import { _ as I, b as A } from "../../index-CH45lKw7.js";
6
+ import { u as E } from "../../useControlled-CCMYYdCM.js";
7
+ const $ = ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"];
8
+ function R(g = {}) {
9
9
  const {
10
10
  boundaryCount: a = 1,
11
11
  componentName: e = "usePagination",
12
- count: s = 1,
13
- defaultPage: v = 1,
14
- disabled: _ = !1,
15
- hideNextButton: f = !1,
16
- hidePrevButton: u = !1,
17
- onChange: h,
18
- page: n,
19
- showFirstButton: r = !1,
12
+ count: o = 1,
13
+ defaultPage: m = 1,
14
+ disabled: h = !1,
15
+ hideNextButton: v = !1,
16
+ hidePrevButton: d = !1,
17
+ onChange: c,
18
+ page: t,
19
+ showFirstButton: i = !1,
20
20
  showLastButton: x = !1,
21
- siblingCount: d = 1
22
- } = g, b = A(g, R), [i, S] = $({
23
- controlled: n,
24
- default: v,
21
+ siblingCount: _ = 1
22
+ } = g, p = I(g, $), [s, M] = E({
23
+ controlled: t,
24
+ default: m,
25
25
  name: e,
26
26
  state: "page"
27
- }), N = (t, c) => {
28
- n || S(c), h && h(t, c);
29
- }, C = (t, c) => {
30
- const F = c - t + 1;
27
+ }), P = (n, l) => {
28
+ t || M(l), c && c(n, l);
29
+ }, f = (n, l) => {
30
+ const D = l - n + 1;
31
31
  return Array.from({
32
- length: F
33
- }, (z, I) => t + I);
34
- }, L = C(1, Math.min(a, s)), P = C(Math.max(s - a + 1, a + 1), s), y = Math.max(
32
+ length: D
33
+ }, (q, F) => n + F);
34
+ }, S = f(1, Math.min(a, o)), C = f(Math.max(o - a + 1, a + 1), o), z = Math.max(
35
35
  Math.min(
36
36
  // Natural start
37
- i - d,
37
+ s - _,
38
38
  // Lower boundary when page is high
39
- s - a - d * 2 - 1
39
+ o - a - _ * 2 - 1
40
40
  ),
41
41
  // Greater than startPages
42
42
  a + 2
43
- ), B = Math.min(
43
+ ), N = Math.min(
44
44
  Math.max(
45
45
  // Natural end
46
- i + d,
46
+ s + _,
47
47
  // Upper boundary when page is low
48
- a + d * 2 + 2
48
+ a + _ * 2 + 2
49
49
  ),
50
50
  // Less than endPages
51
- P.length > 0 ? P[0] - 2 : s - 1
52
- ), j = [
53
- ...r ? ["first"] : [],
54
- ...u ? [] : ["previous"],
55
- ...L,
51
+ C.length > 0 ? C[0] - 2 : o - 1
52
+ ), L = [
53
+ ...i ? ["first"] : [],
54
+ ...d ? [] : ["previous"],
55
+ ...S,
56
56
  // Start ellipsis
57
57
  // eslint-disable-next-line no-nested-ternary
58
- ...y > a + 2 ? ["start-ellipsis"] : a + 1 < s - a ? [a + 1] : [],
58
+ ...z > a + 2 ? ["start-ellipsis"] : a + 1 < o - a ? [a + 1] : [],
59
59
  // Sibling pages
60
- ...C(y, B),
60
+ ...f(z, N),
61
61
  // End ellipsis
62
62
  // eslint-disable-next-line no-nested-ternary
63
- ...B < s - a - 1 ? ["end-ellipsis"] : s - a > a ? [s - a] : [],
64
- ...P,
65
- ...f ? [] : ["next"],
63
+ ...N < o - a - 1 ? ["end-ellipsis"] : o - a > a ? [o - a] : [],
64
+ ...C,
65
+ ...v ? [] : ["next"],
66
66
  ...x ? ["last"] : []
67
- ], w = (t) => {
68
- switch (t) {
67
+ ], B = (n) => {
68
+ switch (n) {
69
69
  case "first":
70
70
  return 1;
71
71
  case "previous":
72
- return i - 1;
72
+ return s - 1;
73
73
  case "next":
74
- return i + 1;
74
+ return s + 1;
75
75
  case "last":
76
- return s;
76
+ return o;
77
77
  default:
78
78
  return null;
79
79
  }
80
- }, D = j.map((t) => typeof t == "number" ? {
81
- onClick: (c) => {
82
- N(c, t);
80
+ }, j = L.map((n) => typeof n == "number" ? {
81
+ onClick: (l) => {
82
+ P(l, n);
83
83
  },
84
84
  type: "page",
85
- page: t,
86
- selected: t === i,
87
- disabled: _,
88
- "aria-current": t === i ? "true" : void 0
85
+ page: n,
86
+ selected: n === s,
87
+ disabled: h,
88
+ "aria-current": n === s ? "true" : void 0
89
89
  } : {
90
- onClick: (c) => {
91
- N(c, w(t));
90
+ onClick: (l) => {
91
+ P(l, B(n));
92
92
  },
93
- type: t,
94
- page: w(t),
93
+ type: n,
94
+ page: B(n),
95
95
  selected: !1,
96
- disabled: _ || t.indexOf("ellipsis") === -1 && (t === "next" || t === "last" ? i >= s : i <= 1)
96
+ disabled: h || n.indexOf("ellipsis") === -1 && (n === "next" || n === "last" ? s >= o : s <= 1)
97
97
  });
98
- return E({
99
- items: D
100
- }, b);
98
+ return A({
99
+ items: j
100
+ }, p);
101
101
  }
102
- const W = "_pagination_n3y7g_1", l = {
103
- pagination: W,
104
- "per-page-container": "_per-page-container_n3y7g_8",
105
- "per-page-container__select": "_per-page-container__select_n3y7g_17",
106
- "pages-navigator-container": "_pages-navigator-container_n3y7g_22",
107
- "pages-navigator-container__label": "_pages-navigator-container__label_n3y7g_37",
108
- "page-number__btn": "_page-number__btn_n3y7g_37",
109
- "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_n3y7g_50",
110
- "page-number__btn--selected": "_page-number__btn--selected_n3y7g_75"
111
- }, q = {
102
+ const T = "_pagination_ondmz_43", u = {
103
+ "u-typography-h1": "_u-typography-h1_ondmz_1",
104
+ "u-typography-h2": "_u-typography-h2_ondmz_8",
105
+ "u-typography-h3": "_u-typography-h3_ondmz_15",
106
+ "u-typography-h4": "_u-typography-h4_ondmz_22",
107
+ "u-typography-h5": "_u-typography-h5_ondmz_29",
108
+ "u-typography-h6": "_u-typography-h6_ondmz_36",
109
+ "u-typography-base": "_u-typography-base_ondmz_43",
110
+ pagination: T,
111
+ "per-page-container": "_per-page-container_ondmz_43",
112
+ "u-typography-base--xxl": "_u-typography-base--xxl_ondmz_48",
113
+ "u-typography-base--xl": "_u-typography-base--xl_ondmz_52",
114
+ "u-typography-base--lg": "_u-typography-base--lg_ondmz_56",
115
+ "u-typography-base--sm": "_u-typography-base--sm_ondmz_60",
116
+ "u-typography-base--bold": "_u-typography-base--bold_ondmz_64",
117
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_ondmz_67",
118
+ "u-typography-base--underlined": "_u-typography-base--underlined_ondmz_70",
119
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_ondmz_73",
120
+ "pages-navigator-container": "_pages-navigator-container_ondmz_96",
121
+ "pages-navigator-container__label": "_pages-navigator-container__label_ondmz_107",
122
+ "page-number__btn": "_page-number__btn_ondmz_107",
123
+ "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_ondmz_120",
124
+ "page-number__btn--selected": "_page-number__btn--selected_ondmz_145"
125
+ }, W = {
112
126
  pt: {
113
127
  showing: "Exibindo",
114
128
  of: "de",
@@ -124,90 +138,90 @@ const W = "_pagination_n3y7g_1", l = {
124
138
  next: "Next"
125
139
  }
126
140
  }, U = ({ perPageOptions: g = [5, 10, 25, 50, 100], language: a = "en", ...e }) => {
127
- const s = Math.ceil(e.totalItems / e.perPage), v = e.currentPage <= 1, _ = e.currentPage >= s, f = e.t || q[a], u = (n) => f[n], { items: h } = T({
128
- count: s,
141
+ const o = Math.ceil(e.totalItems / e.perPage), m = e.currentPage <= 1, h = e.currentPage >= o, v = e.t || W[a], d = (t) => v[t], { items: c } = R({
142
+ count: o,
129
143
  hideNextButton: !0,
130
144
  hidePrevButton: !0,
131
145
  page: e.currentPage,
132
146
  siblingCount: 1,
133
147
  boundaryCount: 2,
134
- onChange: (n, r) => e.onPageChange(r)
148
+ onChange: (t, i) => e.onPageChange(i)
135
149
  });
136
- return /* @__PURE__ */ m("div", { className: p(l.pagination, e.className), "data-testid": e["data-testid"], children: [
137
- /* @__PURE__ */ o(
150
+ return /* @__PURE__ */ b("div", { className: y(u.pagination, e.className), "data-testid": e["data-testid"], children: [
151
+ /* @__PURE__ */ r(
138
152
  "div",
139
153
  {
140
- className: p(l["per-page-container"], e.classNamePerPage),
154
+ className: y(u["per-page-container"], e.classNamePerPage),
141
155
  "data-testid": e["data-testid-per-page"],
142
- children: g && /* @__PURE__ */ m(M, { children: [
143
- /* @__PURE__ */ o("span", { children: u`showing` }),
144
- /* @__PURE__ */ o(
145
- k,
156
+ children: g && /* @__PURE__ */ b(k, { children: [
157
+ /* @__PURE__ */ r("span", { children: d`showing` }),
158
+ /* @__PURE__ */ r(
159
+ w,
146
160
  {
147
- className: l["per-page-container__select"],
161
+ className: u["per-page-container__select"],
148
162
  value: String(e.perPage),
149
- onChange: (n) => e.onRowsPerPageChange(Number(n)),
150
- children: g == null ? void 0 : g.map((n) => {
151
- const r = typeof n == "number";
152
- return /* @__PURE__ */ o(
153
- k.Option,
163
+ onChange: (t) => e.onRowsPerPageChange(Number(t)),
164
+ children: g == null ? void 0 : g.map((t) => {
165
+ const i = typeof t == "number";
166
+ return /* @__PURE__ */ r(
167
+ w.Option,
154
168
  {
155
- value: String(r ? n : n.value),
156
- children: r ? n : n.label
169
+ value: String(i ? t : t.value),
170
+ children: i ? t : t.label
157
171
  },
158
- `per-page__${r ? n : n.value}`
172
+ `per-page__${i ? t : t.value}`
159
173
  );
160
174
  })
161
175
  }
162
176
  ),
163
- /* @__PURE__ */ m("span", { children: [
164
- u`of`,
177
+ /* @__PURE__ */ b("span", { children: [
178
+ d`of`,
165
179
  " ",
166
- /* @__PURE__ */ o("strong", { children: e.totalItems }),
180
+ /* @__PURE__ */ r("strong", { children: e.totalItems }),
167
181
  " ",
168
- u`results`
182
+ d`results`
169
183
  ] })
170
184
  ] })
171
185
  }
172
186
  ),
173
- /* @__PURE__ */ m(
187
+ /* @__PURE__ */ b(
174
188
  "div",
175
189
  {
176
- className: p(l["pages-navigator-container"], e.classNamePagesNav),
190
+ className: y(u["pages-navigator-container"], e.classNamePagesNav),
177
191
  "data-testid": e["data-testid-pages-nav"],
178
192
  children: [
179
- /* @__PURE__ */ o(
193
+ /* @__PURE__ */ r(
180
194
  "button",
181
195
  {
182
- className: l["pages-navigator-container__previous-next-btn"],
183
- disabled: v,
196
+ className: u["pages-navigator-container__previous-next-btn"],
197
+ disabled: m,
184
198
  onClick: () => e.onPageChange(e.currentPage - 1),
185
199
  type: "button",
186
- children: u`previous`
200
+ children: d`previous`
187
201
  },
188
202
  "page__previous"
189
203
  ),
190
- /* @__PURE__ */ o("ul", { children: h.map(({ page: n, type: r, selected: x, ...d }, b) => {
191
- let i = /* @__PURE__ */ o(M, {});
192
- return r === "start-ellipsis" || r === "end-ellipsis" ? i = /* @__PURE__ */ o("span", { className: l["pages-navigator-container__label"], children: "..." }) : r === "page" ? i = /* @__PURE__ */ o(
204
+ /* @__PURE__ */ r("ul", { children: c.map(({ page: t, type: i, selected: x, ..._ }, p) => {
205
+ let s = /* @__PURE__ */ r(k, {});
206
+ return i === "start-ellipsis" || i === "end-ellipsis" ? s = /* @__PURE__ */ r("span", { className: u["pages-navigator-container__label"], children: "..." }) : i === "page" ? s = /* @__PURE__ */ r(
193
207
  "button",
194
208
  {
195
- className: p(l["page-number__btn"], x && l["page-number__btn--selected"]),
196
- onClick: () => e.onPageChange(n || 0),
209
+ className: y(u["page-number__btn"], x && u["page-number__btn--selected"]),
210
+ onClick: () => e.onPageChange(t || 0),
197
211
  type: "button",
198
- children: n
212
+ children: t
199
213
  },
200
- `page__${b}`
201
- ) : i = /* @__PURE__ */ o("button", { type: "button", ...d, children: r }), /* @__PURE__ */ o("li", { children: i }, b);
214
+ `page__${p}`
215
+ ) : s = /* @__PURE__ */ r("button", { type: "button", ..._, children: i }), /* @__PURE__ */ r("li", { children: s }, p);
202
216
  }) }),
203
- /* @__PURE__ */ o(
217
+ /* @__PURE__ */ r(
204
218
  "button",
205
219
  {
206
- className: l["pages-navigator-container__previous-next-btn"],
207
- disabled: _,
220
+ className: u["pages-navigator-container__previous-next-btn"],
221
+ disabled: h,
208
222
  onClick: () => e.onPageChange(e.currentPage + 1),
209
223
  type: "button",
210
- children: u`next`
224
+ children: d`next`
211
225
  },
212
226
  "page__next"
213
227
  )
@@ -218,5 +232,5 @@ const W = "_pagination_n3y7g_1", l = {
218
232
  };
219
233
  export {
220
234
  U as Pagination,
221
- q as paginationDefaultTranslations
235
+ W as paginationDefaultTranslations
222
236
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as h, jsxs as Oe } from "react/jsx-runtime";
2
2
  import { c as _e } from "../../clsx-DB4S2d7J.js";
3
3
  import { Typography as Ke } from "../Typography/Typography.js";
4
- import { s as L, S as ze } from "../../SelectButton-pciwIWcj.js";
4
+ import { s as L, S as ze } from "../../SelectButton-C8JQKaf4.js";
5
5
  import { g as Ve, a as we, u as X, f as ne, b as g, P as l, _ as ke, c as le, d as Ie, e as Ne } from "../../index-CH45lKw7.js";
6
6
  import * as s from "react";
7
7
  import { u as Je, c as se, a as ye, L as Q } from "../../combineHooksSlotProps-DVjg9PRh.js";
@@ -827,7 +827,7 @@ const ht = (n) => {
827
827
  },
828
828
  children: [
829
829
  i ? /* @__PURE__ */ h("span", { className: L.select__listbox__option__icon, children: i }) : "",
830
- /* @__PURE__ */ h(Ke, { element: "span", variant: "body-small", className: L.select__listbox__option__text, children: o })
830
+ /* @__PURE__ */ h(Ke, { className: L.select__listbox__option__text, children: o })
831
831
  ]
832
832
  }
833
833
  );
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../clsx-DB4S2d7J.js";
4
4
  import "../Typography/Typography.js";
5
- import { S as e } from "../../SelectButton-pciwIWcj.js";
5
+ import { S as e } from "../../SelectButton-C8JQKaf4.js";
6
6
  export {
7
7
  e as SelectButton
8
8
  };