@pismo/marola 1.0.0-beta.7 → 1.0.0-beta.9

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 (78) hide show
  1. package/dist/{Button-2b1peDFT.js → Button-DiLqcAJG.js} +2 -2
  2. package/dist/{ClickAwayListener-BSW-Nd-y.js → ClickAwayListener-BaJ-OV_7.js} +4 -3
  3. package/dist/Dialog.module-DFcZsVAd.js +30 -0
  4. package/dist/Input.module-ZTRZRcNt.js +405 -0
  5. package/dist/{Popup-B6ZSGIEI.js → Popup-lLWZt2wk.js} +3 -3
  6. package/dist/{Portal-DIeBsWdL.js → Portal-B_Es6eUL.js} +2 -2
  7. package/dist/SelectButton-CoOT2txy.js +61 -0
  8. package/dist/Toggle-f5brSwAI.js +175 -0
  9. package/dist/assets/Advice.css +1 -1
  10. package/dist/assets/Autocomplete.css +1 -0
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Checkbox.css +1 -1
  13. package/dist/assets/Dialog.css +1 -1
  14. package/dist/assets/IconButton.css +1 -1
  15. package/dist/assets/Input.css +1 -1
  16. package/dist/assets/PageHeader.css +1 -1
  17. package/dist/assets/Pagination.css +1 -1
  18. package/dist/assets/SelectButton.css +1 -1
  19. package/dist/assets/Snackbar.css +1 -1
  20. package/dist/assets/SortTooltip.css +1 -1
  21. package/dist/assets/Stepper.css +1 -1
  22. package/dist/assets/Table.css +1 -1
  23. package/dist/assets/Toggle.css +1 -1
  24. package/dist/assets/Toggle2.css +1 -1
  25. package/dist/assets/Typography.css +1 -1
  26. package/dist/{combineHooksSlotProps-DVjg9PRh.js → combineHooksSlotProps-BtBYUV_B.js} +1 -1
  27. package/dist/components/Advice/Advice.d.ts +32 -17
  28. package/dist/components/Advice/Advice.js +39 -40
  29. package/dist/components/Advice/Advice.stories.d.ts +4 -3
  30. package/dist/components/Autocomplete/Autocomplete.d.ts +50 -0
  31. package/dist/components/Autocomplete/Autocomplete.js +689 -0
  32. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +45 -0
  33. package/dist/components/Button/Button.js +48 -48
  34. package/dist/components/Checkbox/Checkbox.js +52 -52
  35. package/dist/components/Chip/Chip.js +3 -3
  36. package/dist/components/Dialog/Actions.js +1 -1
  37. package/dist/components/Dialog/Backdrop.js +1 -1
  38. package/dist/components/Dialog/CloseIconButton.js +2 -2
  39. package/dist/components/Dialog/Dialog.js +13 -12
  40. package/dist/components/Dialog/Dialog.stories.d.ts +43 -43
  41. package/dist/components/Dialog/DialogTitle.js +1 -1
  42. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
  43. package/dist/components/IconButton/IconButton.js +42 -42
  44. package/dist/components/Input/Input.js +74 -471
  45. package/dist/components/PageHeader/PageHeader.js +57 -57
  46. package/dist/components/Pagination/Pagination.js +70 -70
  47. package/dist/components/RowItem/RowItem.js +2 -2
  48. package/dist/components/Select/Select.js +8 -7
  49. package/dist/components/Select/SelectButton.js +1 -1
  50. package/dist/components/Snackbar/Snackbar.js +94 -94
  51. package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -3
  52. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  53. package/dist/components/Stepper/Stepper.js +35 -35
  54. package/dist/components/Table/Table.js +96 -96
  55. package/dist/components/Tabs/Tab.js +18 -17
  56. package/dist/components/Tabs/TabPanel.js +27 -26
  57. package/dist/components/Tabs/Tabs.js +25 -25
  58. package/dist/components/Toggle/Toggle.js +55 -55
  59. package/dist/components/ToggleGroup/Toggle.js +2 -2
  60. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  61. package/dist/components/Tooltip/Tooltip.js +3 -3
  62. package/dist/components/Typography/Typography.js +47 -47
  63. package/dist/{index-CjW42-M-.js → index-D3Wj0eid.js} +1 -1
  64. package/dist/main.d.ts +1 -0
  65. package/dist/main.js +77 -75
  66. package/dist/ownerDocument-B61GUaFs.js +33 -0
  67. package/dist/{useButton-DNk3wrQp.js → useButton-Bn3MNH8I.js} +1 -1
  68. package/dist/useCompoundItem-B7Eo_qZk.js +68 -0
  69. package/dist/useEventCallback-BAQJJ3ye.js +14 -0
  70. package/dist/useId-BW-oWmul.js +19 -0
  71. package/dist/{useList-B0hog_3-.js → useList-BpJT77u3.js} +2 -2
  72. package/dist/{index-CH45lKw7.js → useSlotProps-kRhf7Gil.js} +93 -94
  73. package/package.json +1 -1
  74. package/dist/Dialog.module-DFEmFdYT.js +0 -30
  75. package/dist/SelectButton-K3OIfR5m.js +0 -61
  76. package/dist/Toggle-BWF0-SPB.js +0 -175
  77. package/dist/useCompoundItem-D1iRfg8D.js +0 -84
  78. package/dist/useEventCallback-xTG9piMa.js +0 -45
@@ -1,85 +1,85 @@
1
1
  import '../../assets/PageHeader.css';
2
- import { jsx as a, jsxs as h } from "react/jsx-runtime";
2
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
3
3
  import { useMemo as L } from "react";
4
- import { c as n } from "../../clsx-DB4S2d7J.js";
4
+ import { c as h } from "../../clsx-DB4S2d7J.js";
5
5
  import { Icon as B } from "../Icon/Icon.js";
6
6
  import { IconButton as C } from "../IconButton/IconButton.js";
7
- const j = "_title_z7ezb_22", w = "_subtitle_z7ezb_43", e = {
8
- "u-typography-h1": "_u-typography-h1_z7ezb_1",
9
- "u-typography-h2": "_u-typography-h2_z7ezb_8",
10
- "u-typography-h3": "_u-typography-h3_z7ezb_15",
11
- "u-typography-h4": "_u-typography-h4_z7ezb_22",
12
- "page-header__main-left-content": "_page-header__main-left-content_z7ezb_22",
7
+ const j = "_title_1qpkd_22", w = "_subtitle_1qpkd_43", e = {
8
+ "u-typography-h1": "_u-typography-h1_1qpkd_1",
9
+ "u-typography-h2": "_u-typography-h2_1qpkd_8",
10
+ "u-typography-h3": "_u-typography-h3_1qpkd_15",
11
+ "u-typography-h4": "_u-typography-h4_1qpkd_22",
12
+ "page-header__main-left-content": "_page-header__main-left-content_1qpkd_22",
13
13
  title: j,
14
- "u-typography-h5": "_u-typography-h5_z7ezb_29",
15
- "u-typography-h6": "_u-typography-h6_z7ezb_36",
16
- "u-typography-base": "_u-typography-base_z7ezb_43",
14
+ "u-typography-h5": "_u-typography-h5_1qpkd_29",
15
+ "u-typography-h6": "_u-typography-h6_1qpkd_36",
16
+ "u-typography-base": "_u-typography-base_1qpkd_43",
17
17
  subtitle: w,
18
- "u-typography-base--xxl": "_u-typography-base--xxl_z7ezb_48",
19
- "u-typography-base--xl": "_u-typography-base--xl_z7ezb_52",
20
- "u-typography-base--lg": "_u-typography-base--lg_z7ezb_56",
21
- "u-typography-base--sm": "_u-typography-base--sm_z7ezb_60",
22
- "u-typography-base--bold": "_u-typography-base--bold_z7ezb_64",
23
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_z7ezb_67",
24
- "u-typography-base--underlined": "_u-typography-base--underlined_z7ezb_70",
25
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_z7ezb_73",
26
- "page-header": "_page-header_z7ezb_22",
27
- "page-header__top-content": "_page-header__top-content_z7ezb_86",
28
- "page-header__main-content": "_page-header__main-content_z7ezb_89",
29
- "page-header__bottom-content": "_page-header__bottom-content_z7ezb_89",
30
- "page-header__breadcrumb": "_page-header__breadcrumb_z7ezb_103",
31
- "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_z7ezb_108",
32
- "page-header__main-right-content": "_page-header__main-right-content_z7ezb_131"
18
+ "u-typography-base--xxl": "_u-typography-base--xxl_1qpkd_49",
19
+ "u-typography-base--xl": "_u-typography-base--xl_1qpkd_53",
20
+ "u-typography-base--lg": "_u-typography-base--lg_1qpkd_57",
21
+ "u-typography-base--sm": "_u-typography-base--sm_1qpkd_61",
22
+ "u-typography-base--bold": "_u-typography-base--bold_1qpkd_65",
23
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1qpkd_68",
24
+ "u-typography-base--underlined": "_u-typography-base--underlined_1qpkd_71",
25
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1qpkd_74",
26
+ "page-header": "_page-header_1qpkd_22",
27
+ "page-header__top-content": "_page-header__top-content_1qpkd_87",
28
+ "page-header__main-content": "_page-header__main-content_1qpkd_90",
29
+ "page-header__bottom-content": "_page-header__bottom-content_1qpkd_90",
30
+ "page-header__breadcrumb": "_page-header__breadcrumb_1qpkd_104",
31
+ "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_1qpkd_109",
32
+ "page-header__main-right-content": "_page-header__main-right-content_1qpkd_132"
33
33
  }, P = ({
34
- title: l,
35
- subtitle: g,
36
- rightChildren: d,
37
- bottomChildren: b,
38
- classNameWrapper: y,
39
- classNameTitle: u,
40
- classNameSubtitle: z,
34
+ title: g,
35
+ subtitle: y,
36
+ rightChildren: n,
37
+ bottomChildren: c,
38
+ classNameWrapper: u,
39
+ classNameTitle: b,
40
+ classNameSubtitle: k,
41
41
  "data-testid-wrapper": m,
42
- "data-testid-title": k,
42
+ "data-testid-title": q,
43
43
  "data-testid-subtitle": N,
44
44
  ...f
45
45
  }) => {
46
46
  const {
47
- breadcrumb: r,
48
- backLinkText: p,
49
- onBackLinkClick: s,
50
- classNameBackLink: c,
51
- "data-testid-backLink": i,
47
+ breadcrumb: _,
48
+ backLinkText: r,
49
+ onBackLinkClick: d,
50
+ classNameBackLink: i,
51
+ "data-testid-backLink": l,
52
52
  ...x
53
53
  } = f, v = L(() => {
54
- const _ = [];
55
- return p && s && _.push({
56
- label: p,
57
- className: c,
58
- "data-testid": i,
59
- onClick: s
60
- }), r && _.push(...r), /* @__PURE__ */ a("div", { className: e["page-header__top-content"], children: /* @__PURE__ */ a("div", { className: e["page-header__breadcrumb"], children: _.map((t, o) => /* @__PURE__ */ a(
54
+ const p = [];
55
+ return r && d && p.push({
56
+ label: r,
57
+ className: i,
58
+ "data-testid": l,
59
+ onClick: d
60
+ }), _ && p.push(..._), /* @__PURE__ */ a("div", { className: e["page-header__top-content"], children: /* @__PURE__ */ a("div", { className: e["page-header__breadcrumb"], children: p.map((t, s) => /* @__PURE__ */ a(
61
61
  C,
62
62
  {
63
- icon: o === 0 ? /* @__PURE__ */ a(B, { icon: "arrow-left" }) : /* @__PURE__ */ a("span", { className: e["page-header__breadcrumb__separator"], children: "/" }),
63
+ icon: s === 0 ? /* @__PURE__ */ a(B, { icon: "arrow-left" }) : /* @__PURE__ */ a("span", { className: e["page-header__breadcrumb__separator"], children: "/" }),
64
64
  onClick: () => t.onClick && t.onClick(),
65
65
  className: t.className,
66
66
  "data-testid": t["data-testid"],
67
- disabled: _.length === 1 ? !1 : o === _.length - 1,
67
+ disabled: p.length === 1 ? !1 : s === p.length - 1,
68
68
  children: t.label
69
69
  },
70
- `${t.label}_${o}`
70
+ `${t.label}_${s}`
71
71
  )) }) });
72
- }, [r, p, c, i, s]);
73
- return /* @__PURE__ */ h("div", { className: n([e["page-header"], y]), "data-testid": m, ...x, children: [
72
+ }, [_, r, i, l, d]);
73
+ return /* @__PURE__ */ o("div", { className: h([e["page-header"], u]), "data-testid": m, ...x, children: [
74
74
  v,
75
- /* @__PURE__ */ h("div", { className: e["page-header__main-content"], children: [
76
- /* @__PURE__ */ h("div", { className: e["page-header__main-left-content"], children: [
77
- /* @__PURE__ */ a("h1", { className: n(e.title, u), "data-testid": k, children: l }),
78
- /* @__PURE__ */ a("h2", { className: n(e.subtitle, z), "data-testid": N, children: g })
75
+ /* @__PURE__ */ o("div", { className: e["page-header__main-content"], children: [
76
+ /* @__PURE__ */ o("div", { className: e["page-header__main-left-content"], children: [
77
+ /* @__PURE__ */ a("h1", { className: h(e.title, b), "data-testid": q, children: g }),
78
+ /* @__PURE__ */ a("h2", { className: h(e.subtitle, k), "data-testid": N, children: y })
79
79
  ] }),
80
- d && /* @__PURE__ */ a("div", { className: e["page-header__main-right-content"], children: d })
80
+ n && /* @__PURE__ */ a("div", { className: e["page-header__main-right-content"], children: n })
81
81
  ] }),
82
- b && /* @__PURE__ */ a("div", { className: e["page-header__bottom-content"], children: b })
82
+ c && /* @__PURE__ */ a("div", { className: e["page-header__bottom-content"], children: c })
83
83
  ] });
84
84
  };
85
85
  export {
@@ -1,33 +1,33 @@
1
1
  import '../../assets/Pagination.css';
2
- import { jsxs as r, Fragment as p, jsx as a } from "react/jsx-runtime";
2
+ import { jsxs as s, Fragment as p, jsx as t } from "react/jsx-runtime";
3
3
  import { c as o } from "../../clsx-DB4S2d7J.js";
4
- import { Select as m } from "../Select/Select.js";
4
+ import { Select as d } from "../Select/Select.js";
5
5
  import I from "./usePagination.js";
6
- const C = "_pagination_19imj_43", n = {
7
- "u-typography-h1": "_u-typography-h1_19imj_1",
8
- "u-typography-h2": "_u-typography-h2_19imj_8",
9
- "u-typography-h3": "_u-typography-h3_19imj_15",
10
- "u-typography-h4": "_u-typography-h4_19imj_22",
11
- "u-typography-h5": "_u-typography-h5_19imj_29",
12
- "u-typography-h6": "_u-typography-h6_19imj_36",
13
- "u-typography-base": "_u-typography-base_19imj_43",
6
+ const C = "_pagination_2n0nk_43", a = {
7
+ "u-typography-h1": "_u-typography-h1_2n0nk_1",
8
+ "u-typography-h2": "_u-typography-h2_2n0nk_8",
9
+ "u-typography-h3": "_u-typography-h3_2n0nk_15",
10
+ "u-typography-h4": "_u-typography-h4_2n0nk_22",
11
+ "u-typography-h5": "_u-typography-h5_2n0nk_29",
12
+ "u-typography-h6": "_u-typography-h6_2n0nk_36",
13
+ "u-typography-base": "_u-typography-base_2n0nk_43",
14
14
  pagination: C,
15
- "per-page-container": "_per-page-container_19imj_43",
16
- "u-typography-base--xxl": "_u-typography-base--xxl_19imj_48",
17
- "u-typography-base--xl": "_u-typography-base--xl_19imj_52",
18
- "u-typography-base--lg": "_u-typography-base--lg_19imj_56",
19
- "u-typography-base--sm": "_u-typography-base--sm_19imj_60",
20
- "u-typography-base--bold": "_u-typography-base--bold_19imj_64",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_19imj_67",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_19imj_70",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_19imj_73",
24
- "per-page-container__select": "_per-page-container__select_19imj_90",
25
- "pages-navigator-container": "_pages-navigator-container_19imj_97",
26
- "page-item": "_page-item_19imj_114",
27
- "page-number__btn": "_page-number__btn_19imj_114",
28
- "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_19imj_133",
29
- "page-number__btn--selected": "_page-number__btn--selected_19imj_158"
30
- }, k = {
15
+ "per-page-container": "_per-page-container_2n0nk_43",
16
+ "u-typography-base--xxl": "_u-typography-base--xxl_2n0nk_49",
17
+ "u-typography-base--xl": "_u-typography-base--xl_2n0nk_53",
18
+ "u-typography-base--lg": "_u-typography-base--lg_2n0nk_57",
19
+ "u-typography-base--sm": "_u-typography-base--sm_2n0nk_61",
20
+ "u-typography-base--bold": "_u-typography-base--bold_2n0nk_65",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_2n0nk_68",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_2n0nk_71",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_2n0nk_74",
24
+ "per-page-container__select": "_per-page-container__select_2n0nk_91",
25
+ "pages-navigator-container": "_pages-navigator-container_2n0nk_98",
26
+ "page-item": "_page-item_2n0nk_115",
27
+ "page-number__btn": "_page-number__btn_2n0nk_115",
28
+ "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_2n0nk_134",
29
+ "page-number__btn--selected": "_page-number__btn--selected_2n0nk_159"
30
+ }, w = {
31
31
  pt: {
32
32
  showing: "Exibindo",
33
33
  of: "de",
@@ -44,8 +44,8 @@ const C = "_pagination_19imj_43", n = {
44
44
  next: "Next",
45
45
  perPage: "Items per page"
46
46
  }
47
- }, L = ({ perPageOptions: g = [5, 10, 25, 50, 100], language: d = "en", ...e }) => {
48
- const l = Math.ceil(e.totalItems / e.perPage), y = e.currentPage <= 1, b = e.currentPage >= l, v = { ...k[d], ...e.t || {} }, s = (t) => v[t], { items: j } = I({
47
+ }, j = ({ perPageOptions: g = [5, 10, 25, 50, 100], language: y = "en", ...e }) => {
48
+ const l = Math.ceil(e.totalItems / e.perPage), b = e.currentPage <= 1, m = e.currentPage >= l, k = { ...w[y], ...e.t || {} }, i = (n) => k[n], { items: v } = I({
49
49
  count: l,
50
50
  hideNextButton: !0,
51
51
  hidePrevButton: !0,
@@ -53,53 +53,53 @@ const C = "_pagination_19imj_43", n = {
53
53
  siblingCount: 1,
54
54
  boundaryCount: 2
55
55
  }), c = e.perPage * (e.currentPage - 1) + 1, u = c + e.perPage - 1, x = u > e.totalItems ? u - e.totalItems : 0, P = u - x;
56
- return /* @__PURE__ */ r("div", { className: o(n.pagination, e.className), "data-testid": e["data-testid"], children: [
57
- /* @__PURE__ */ r(
56
+ return /* @__PURE__ */ s("div", { className: o(a.pagination, e.className), "data-testid": e["data-testid"], children: [
57
+ /* @__PURE__ */ s(
58
58
  "div",
59
59
  {
60
- className: o(n["per-page-container"], e.classNamePerPage),
60
+ className: o(a["per-page-container"], e.classNamePerPage),
61
61
  "data-testid": e["data-testid-per-page"],
62
62
  children: [
63
- g && /* @__PURE__ */ r(p, { children: [
64
- /* @__PURE__ */ a("span", { children: s`perPage` }),
65
- /* @__PURE__ */ a(
66
- m,
63
+ g && /* @__PURE__ */ s(p, { children: [
64
+ /* @__PURE__ */ t("span", { children: i`perPage` }),
65
+ /* @__PURE__ */ t(
66
+ d,
67
67
  {
68
- className: n["per-page-container__select"],
68
+ className: a["per-page-container__select"],
69
69
  value: String(e.perPage),
70
- onChange: (t) => e.onRowsPerPageChange(Number(t)),
71
- children: g == null ? void 0 : g.map((t) => {
72
- const i = typeof t == "number";
73
- return /* @__PURE__ */ a(
74
- m.Option,
70
+ onChange: (n) => e.onRowsPerPageChange(Number(n)),
71
+ children: g == null ? void 0 : g.map((n) => {
72
+ const r = typeof n == "number";
73
+ return /* @__PURE__ */ t(
74
+ d.Option,
75
75
  {
76
- value: String(i ? t : t.value),
77
- children: i ? t : t.label
76
+ value: String(r ? n : n.value),
77
+ children: r ? n : n.label
78
78
  },
79
- `per-page__${i ? t : t.value}`
79
+ `per-page__${r ? n : n.value}`
80
80
  );
81
81
  })
82
82
  }
83
83
  )
84
84
  ] }),
85
- /* @__PURE__ */ r(
85
+ /* @__PURE__ */ s(
86
86
  "div",
87
87
  {
88
- className: o(n["page-infos"], e.classNamePagesInfo),
88
+ className: o(a["page-infos"], e.classNamePagesInfo),
89
89
  "data-testid": e["data-testid-pages-info"],
90
90
  children: [
91
- /* @__PURE__ */ r("span", { children: [
91
+ /* @__PURE__ */ s("span", { children: [
92
92
  c,
93
93
  " - ",
94
94
  P
95
95
  ] }),
96
96
  " ",
97
- /* @__PURE__ */ r("span", { children: [
98
- s`of`,
97
+ /* @__PURE__ */ s("span", { children: [
98
+ i`of`,
99
99
  " ",
100
- /* @__PURE__ */ a("strong", { children: e.totalItems }),
100
+ /* @__PURE__ */ t("strong", { children: e.totalItems }),
101
101
  " ",
102
- s`results`
102
+ i`results`
103
103
  ] })
104
104
  ]
105
105
  }
@@ -107,44 +107,44 @@ const C = "_pagination_19imj_43", n = {
107
107
  ]
108
108
  }
109
109
  ),
110
- /* @__PURE__ */ r(
110
+ /* @__PURE__ */ s(
111
111
  "div",
112
112
  {
113
- className: o(n["pages-navigator-container"], e.classNamePagesNav),
113
+ className: o(a["pages-navigator-container"], e.classNamePagesNav),
114
114
  "data-testid": e["data-testid-pages-nav"],
115
115
  children: [
116
- /* @__PURE__ */ a(
116
+ /* @__PURE__ */ t(
117
117
  "button",
118
118
  {
119
- className: n["pages-navigator-container__previous-next-btn"],
120
- disabled: y,
119
+ className: a["pages-navigator-container__previous-next-btn"],
120
+ disabled: b,
121
121
  onClick: () => e.onPageChange(e.currentPage - 1),
122
122
  type: "button",
123
- children: s`previous`
123
+ children: i`previous`
124
124
  },
125
125
  "page__previous"
126
126
  ),
127
- /* @__PURE__ */ a("ul", { children: j.map(({ page: t, type: i, selected: N, ...f }, h) => {
128
- let _ = /* @__PURE__ */ a(p, {});
129
- return i === "start-ellipsis" || i === "end-ellipsis" ? _ = /* @__PURE__ */ a("span", { className: n["page-item"], children: "..." }) : i === "page" ? _ = /* @__PURE__ */ a(
127
+ /* @__PURE__ */ t("ul", { children: v.map(({ page: n, type: r, selected: N, ...f }, h) => {
128
+ let _ = /* @__PURE__ */ t(p, {});
129
+ return r === "start-ellipsis" || r === "end-ellipsis" ? _ = /* @__PURE__ */ t("span", { className: a["page-item"], children: "..." }) : r === "page" ? _ = /* @__PURE__ */ t(
130
130
  "button",
131
131
  {
132
- className: o(n["page-number__btn"], N && n["page-number__btn--selected"]),
133
- onClick: () => e.onPageChange(t || 0),
132
+ className: o(a["page-number__btn"], N && a["page-number__btn--selected"]),
133
+ onClick: () => e.onPageChange(n || 0),
134
134
  type: "button",
135
- children: t
135
+ children: n
136
136
  },
137
137
  `page__${h}`
138
- ) : _ = /* @__PURE__ */ a("button", { type: "button", ...f, children: i }), /* @__PURE__ */ a("li", { children: _ }, h);
138
+ ) : _ = /* @__PURE__ */ t("button", { type: "button", ...f, children: r }), /* @__PURE__ */ t("li", { children: _ }, h);
139
139
  }) }),
140
- /* @__PURE__ */ a(
140
+ /* @__PURE__ */ t(
141
141
  "button",
142
142
  {
143
- className: n["pages-navigator-container__previous-next-btn"],
144
- disabled: b,
143
+ className: a["pages-navigator-container__previous-next-btn"],
144
+ disabled: m,
145
145
  onClick: () => e.onPageChange(e.currentPage + 1),
146
146
  type: "button",
147
- children: s`next`
147
+ children: i`next`
148
148
  },
149
149
  "page__next"
150
150
  )
@@ -154,6 +154,6 @@ const C = "_pagination_19imj_43", n = {
154
154
  ] });
155
155
  };
156
156
  export {
157
- L as Pagination,
158
- k as paginationDefaultTranslations
157
+ j as Pagination,
158
+ w as paginationDefaultTranslations
159
159
  };
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../clsx-DB4S2d7J.js";
4
4
  import "../Adornment/Adornment.js";
5
5
  import "../Icon/Icon.js";
6
+ import "../Typography/Typography.js";
6
7
  import "../Button/Button.js";
7
- import { R as I, R as b } from "../../Toggle-BWF0-SPB.js";
8
+ import { R as I, R as b } from "../../Toggle-f5brSwAI.js";
8
9
  import "../Dialog/Backdrop.js";
9
- import "../Typography/Typography.js";
10
10
  import "../IconButton/IconButton.js";
11
11
  import "../Select/Select.js";
12
12
  import "../Table/Table.js";
@@ -1,14 +1,15 @@
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-K3OIfR5m.js";
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";
4
+ import { s as L, S as ze } from "../../SelectButton-CoOT2txy.js";
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 "../../useSlotProps-kRhf7Gil.js";
6
6
  import * as s from "react";
7
- import { u as Je, c as se, a as ye, L as Q } from "../../combineHooksSlotProps-DVjg9PRh.js";
8
- import { u as Me } from "../../useButton-DNk3wrQp.js";
9
- import { u as Te, a as We, b as Ge, C as Qe } from "../../useCompoundItem-D1iRfg8D.js";
10
- import { P as Xe } from "../../Popup-B6ZSGIEI.js";
11
- import { m as ve, h as Ye, l as Ze, u as et } from "../../useList-B0hog_3-.js";
7
+ import { u as Je, c as se, a as ye, L as Q } from "../../combineHooksSlotProps-BtBYUV_B.js";
8
+ import { u as Me } from "../../useButton-Bn3MNH8I.js";
9
+ import { u as Te } from "../../useId-BW-oWmul.js";
10
+ import { u as We, a as Ge, C as Qe } from "../../useCompoundItem-B7Eo_qZk.js";
11
+ import { P as Xe } from "../../Popup-lLWZt2wk.js";
12
+ import { m as ve, h as Ye, l as Ze, u as et } from "../../useList-BpJT77u3.js";
12
13
  import { u as tt } from "../../useEnhancedEffect-CJGo-L3B.js";
13
14
  const ot = {
14
15
  border: 0,
@@ -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-K3OIfR5m.js";
5
+ import { S as e } from "../../SelectButton-CoOT2txy.js";
6
6
  export {
7
7
  e as SelectButton
8
8
  };