@pismo/marola 1.1.0 → 1.1.1

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 (66) hide show
  1. package/dist/Dialog.module-BlXtafuW.js +28 -0
  2. package/dist/Group-ZXteFV4M.js +1 -2
  3. package/dist/Popover.module-B4boCutS.js +1 -2
  4. package/dist/SelectButton-B38avP9u.js +1 -2
  5. package/dist/Tabs.module-BNRwj3Z0.js +1 -2
  6. package/dist/Toggle-BuZjueQ7.js +1 -2
  7. package/dist/assets/BankCard.css +1 -1
  8. package/dist/assets/Button.css +1 -1
  9. package/dist/assets/Calendar.css +1 -1
  10. package/dist/assets/Description.css +1 -1
  11. package/dist/assets/Dialog.css +1 -1
  12. package/dist/assets/PageHeader.css +1 -1
  13. package/dist/assets/Pagination.css +1 -1
  14. package/dist/assets/StepperNavigator.css +1 -1
  15. package/dist/assets/Tag.css +1 -1
  16. package/dist/components/Adornment/Adornment.js +1 -2
  17. package/dist/components/Advice/Advice.js +1 -2
  18. package/dist/components/Alert/Alert.js +1 -2
  19. package/dist/components/Autocomplete/Autocomplete.js +1 -2
  20. package/dist/components/Avatar/Avatar.js +1 -2
  21. package/dist/components/BankCard/BankCard.js +57 -58
  22. package/dist/components/Button/Button.js +69 -70
  23. package/dist/components/Calendar/Calendar.js +19 -20
  24. package/dist/components/Checkbox/Checkbox.js +1 -2
  25. package/dist/components/Chip/Chip.stories.d.ts +1 -1
  26. package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -1
  27. package/dist/components/Description/Description.js +37 -38
  28. package/dist/components/Dialog/Actions.js +1 -1
  29. package/dist/components/Dialog/Backdrop.js +1 -1
  30. package/dist/components/Dialog/CloseIconButton.js +1 -1
  31. package/dist/components/Dialog/Dialog.js +1 -1
  32. package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
  33. package/dist/components/Dialog/DialogTitle.js +1 -1
  34. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +1 -2
  35. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
  36. package/dist/components/IconButton/IconButton.js +1 -2
  37. package/dist/components/Input/Input.js +1 -2
  38. package/dist/components/InputSearch/InputSearch.js +1 -2
  39. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -2
  40. package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
  41. package/dist/components/PageHeader/PageHeader.js +110 -90
  42. package/dist/components/PageHeader/PageHeader.stories.d.ts +6 -3
  43. package/dist/components/Pagination/Pagination.js +62 -63
  44. package/dist/components/Popover/Popover.stories.d.ts +1 -1
  45. package/dist/components/RadioButton/RadioButton.js +1 -2
  46. package/dist/components/ResultWithChips/ResultWithChips.js +1 -2
  47. package/dist/components/Skeleton/Skeleton.js +1 -2
  48. package/dist/components/Snackbar/Snackbar.js +1 -2
  49. package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
  50. package/dist/components/SortTooltip/SortTooltip.js +1 -2
  51. package/dist/components/Stepper/Stepper.js +1 -2
  52. package/dist/components/StepperNavigator/StepperNavigator.js +79 -73
  53. package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -1
  54. package/dist/components/Table/Table.js +1 -2
  55. package/dist/components/Tag/Tag.js +54 -55
  56. package/dist/components/TextDisplay/TextDisplay.js +1 -2
  57. package/dist/components/Toggle/Toggle.js +1 -2
  58. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
  59. package/dist/components/Tooltip/Tooltip.js +1 -2
  60. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
  61. package/dist/components/TransactionRow/TransactionRow.js +1 -2
  62. package/dist/components/Typography/Typography.js +1 -2
  63. package/dist/components/Typography/Typography.stories.d.ts +1 -1
  64. package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
  65. package/package.json +2 -2
  66. package/dist/Dialog.module-BFRHcF1J.js +0 -29
@@ -1,104 +1,124 @@
1
- import '../../assets/PageHeader.css';
2
- import { jsxs as _, jsx as a, Fragment as l } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as _, Fragment as h } from "react/jsx-runtime";
3
2
  import { useMemo as I } from "react";
4
- import { c as b } from "../../clsx-DB4S2d7J.js";
5
- import { Icon as T } from "../Icon/Icon.js";
3
+ import { c as g } from "../../clsx-DB4S2d7J.js";
4
+ import { Icon as P } from "../Icon/Icon.js";
6
5
  import { IconButton as $ } from "../IconButton/IconButton.js";
7
- const q = "_title_7yb9o_22", F = "_subtitle_7yb9o_43", e = {
8
- "u-typography-h1": "_u-typography-h1_7yb9o_1",
9
- "u-typography-h2": "_u-typography-h2_7yb9o_8",
10
- "u-typography-h3": "_u-typography-h3_7yb9o_15",
11
- "u-typography-h4": "_u-typography-h4_7yb9o_22",
12
- "page-header__main-left-content": "_page-header__main-left-content_7yb9o_22",
13
- title: q,
14
- "u-typography-h5": "_u-typography-h5_7yb9o_29",
15
- "u-typography-h6": "_u-typography-h6_7yb9o_36",
16
- "u-typography-base": "_u-typography-base_7yb9o_43",
17
- subtitle: F,
18
- "u-typography-base--xxl": "_u-typography-base--xxl_7yb9o_49",
19
- "u-typography-base--xl": "_u-typography-base--xl_7yb9o_53",
20
- "u-typography-base--lg": "_u-typography-base--lg_7yb9o_57",
21
- "u-typography-base--sm": "_u-typography-base--sm_7yb9o_61",
22
- "u-typography-base--bold": "_u-typography-base--bold_7yb9o_65",
23
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_7yb9o_68",
24
- "u-typography-base--underlined": "_u-typography-base--underlined_7yb9o_71",
25
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_7yb9o_74",
26
- "page-header": "_page-header_7yb9o_22",
27
- "page-header__top-content": "_page-header__top-content_7yb9o_87",
28
- "page-header__main-content": "_page-header__main-content_7yb9o_90",
29
- "page-header__bottom-content": "_page-header__bottom-content_7yb9o_90",
30
- "page-header__breadcrumb": "_page-header__breadcrumb_7yb9o_107",
31
- "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_7yb9o_118",
32
- "header-bubble": "_header-bubble_7yb9o_141",
33
- "header-bubble--container": "_header-bubble--container_7yb9o_144",
34
- "header-bubble--container--full": "_header-bubble--container--full_7yb9o_152",
35
- "page-header__main-right-content": "_page-header__main-right-content_7yb9o_155",
36
- "header-bubble-margin": "_header-bubble-margin_7yb9o_163"
6
+ import { Text as y } from "../Typography/Typography.js";
7
+ import '../../assets/PageHeader.css';const a = {
8
+ "u-typography-h1": "_u-typography-h1_bamb5_1",
9
+ "u-typography-h2": "_u-typography-h2_bamb5_8",
10
+ "u-typography-h3": "_u-typography-h3_bamb5_15",
11
+ "u-typography-h4": "_u-typography-h4_bamb5_22",
12
+ "u-typography-h5": "_u-typography-h5_bamb5_29",
13
+ "u-typography-h6": "_u-typography-h6_bamb5_36",
14
+ "u-typography-base": "_u-typography-base_bamb5_43",
15
+ "u-typography-base--xxl": "_u-typography-base--xxl_bamb5_49",
16
+ "u-typography-base--xl": "_u-typography-base--xl_bamb5_53",
17
+ "u-typography-base--lg": "_u-typography-base--lg_bamb5_57",
18
+ "u-typography-base--sm": "_u-typography-base--sm_bamb5_61",
19
+ "u-typography-base--bold": "_u-typography-base--bold_bamb5_65",
20
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_bamb5_68",
21
+ "u-typography-base--underlined": "_u-typography-base--underlined_bamb5_71",
22
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_bamb5_74",
23
+ "page-header": "_page-header_bamb5_78",
24
+ "page-header__main-content": "_page-header__main-content_bamb5_82",
25
+ "page-header__bottom-content": "_page-header__bottom-content_bamb5_89",
26
+ "page-header__breadcrumb": "_page-header__breadcrumb_bamb5_94",
27
+ "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_bamb5_122",
28
+ "page-header__right-children-wrapper": "_page-header__right-children-wrapper_bamb5_128",
29
+ "header-bubble": "_header-bubble_bamb5_134",
30
+ "header-bubble--container": "_header-bubble--container_bamb5_137",
31
+ "header-bubble--container--full": "_header-bubble--container--full_bamb5_145",
32
+ "header-bubble-margin": "_header-bubble-margin_bamb5_149"
37
33
  }, E = ({
38
34
  title: n,
39
- subtitle: c,
40
- rightChildren: y,
41
- bottomChildren: h,
42
- classNameWrapper: m,
43
- classNameTitle: k,
44
- classNameSubtitle: N,
45
- headerBubble: r,
46
- fullWidthHeaderBubble: f,
35
+ subtitle: i,
36
+ rightChildren: p,
37
+ bottomChildren: l,
38
+ classNameWrapper: k,
39
+ classNameTitle: N,
40
+ classNameSubtitle: f,
41
+ headerBubble: b,
42
+ fullWidthHeaderBubble: x,
47
43
  "data-testid-wrapper": v,
48
- "data-testid-title": x,
49
- "data-testid-subtitle": C,
50
- "data-testid-header-bubble": L,
51
- ...w
44
+ "data-testid-title": w,
45
+ "data-testid-subtitle": L,
46
+ "data-testid-header-bubble": C,
47
+ ...T
52
48
  }) => {
53
49
  const {
54
- breadcrumb: s,
55
- backLinkText: d,
56
- onBackLinkClick: p,
50
+ breadcrumb: r,
51
+ backLinkText: s,
52
+ onBackLinkClick: d,
57
53
  classNameBackLink: u,
58
- "data-testid-backLink": g,
59
- ...j
60
- } = w;
61
- r && (n || c || h) && console.error("headerBubble prop can not be used with title, subtitle or bottomChildren"), !r && !n && console.error("title prop is required when not using headerBubble");
62
- const B = b([e["page-header"], m]), H = I(() => {
54
+ "data-testid-backLink": m,
55
+ ...B
56
+ } = T;
57
+ b && (n || i || l) && console.error("headerBubble prop can not be used with title, subtitle or bottomChildren"), !b && !n && console.error("title prop is required when not using headerBubble"), (s || d) && console.error("backLinkText and onBackLinkClick props are deprecated. Please use breadcrumb instead");
58
+ const j = g([a["page-header"], k]), H = I(() => {
63
59
  const o = [];
64
- return d && p && o.push({
65
- label: d,
60
+ return s && d && o.push({
61
+ label: s,
66
62
  className: u,
67
- "data-testid": g,
68
- onClick: p
69
- }), s && o.push(...s), /* @__PURE__ */ _("div", { className: e["page-header__top-content"], children: [
70
- /* @__PURE__ */ a("div", { className: e["page-header__breadcrumb"], children: o.map((t, i) => /* @__PURE__ */ a(
71
- $,
72
- {
73
- icon: i === 0 ? /* @__PURE__ */ a(T, { icon: "house-blank" }) : /* @__PURE__ */ a("span", { className: e["page-header__breadcrumb__separator"], children: "/" }),
74
- onClick: () => t.onClick && t.onClick(),
75
- className: t.className,
76
- "data-testid": t["data-testid"],
77
- disabled: o.length === 1 ? !1 : i === o.length - 1,
78
- children: t.label
79
- },
80
- `${t.label}_${i}`
81
- )) }),
82
- y && /* @__PURE__ */ a("div", { className: e["page-header__main-right-content"], children: y })
83
- ] });
84
- }, [s, d, u, g, p]);
85
- return /* @__PURE__ */ _(l, { children: [
86
- /* @__PURE__ */ _("div", { className: B, "data-testid": v, ...j, children: [
87
- H,
88
- /* @__PURE__ */ a("div", { className: e["page-header__main-content"], children: /* @__PURE__ */ a("div", { className: e["page-header__main-left-content"], children: r ? /* @__PURE__ */ a(l, { children: /* @__PURE__ */ a("div", { className: e["header-bubble"], children: /* @__PURE__ */ a(
89
- "div",
90
- {
91
- className: f ? b(e["header-bubble--container"], e["header-bubble--container--full"]) : e["header-bubble--container"],
92
- "data-testid": L,
93
- children: r
94
- }
95
- ) }) }) : /* @__PURE__ */ _(l, { children: [
96
- /* @__PURE__ */ a("h1", { className: b(e.title, k), "data-testid": x, children: n }),
97
- /* @__PURE__ */ a("h2", { className: b(e.subtitle, N), "data-testid": C, children: c })
98
- ] }) }) }),
99
- h && /* @__PURE__ */ a("div", { className: e["page-header__bottom-content"], children: h })
63
+ "data-testid": m,
64
+ onClick: d
65
+ }), r && o.push(...r), /* @__PURE__ */ e("div", { className: a["page-header__breadcrumb"], children: o.map((t, c) => /* @__PURE__ */ e(
66
+ $,
67
+ {
68
+ icon: c === 0 ? /* @__PURE__ */ e(P, { icon: "house-blank" }) : /* @__PURE__ */ e("span", { className: a["page-header__breadcrumb__separator"], children: "/" }),
69
+ onClick: () => t.onClick && t.onClick(),
70
+ className: t.className,
71
+ "data-testid": t["data-testid"],
72
+ disabled: o.length === 1 ? !1 : c === o.length - 1,
73
+ children: t.label
74
+ },
75
+ `${t.label}_${c}`
76
+ )) });
77
+ }, [r, s, u, m, d]);
78
+ return /* @__PURE__ */ _(h, { children: [
79
+ /* @__PURE__ */ _("div", { className: j, "data-testid": v, ...B, children: [
80
+ /* @__PURE__ */ _("div", { className: a["page-header__main-content"], children: [
81
+ /* @__PURE__ */ _("div", { className: a["page-header__right-children-wrapper"], children: [
82
+ r && H,
83
+ r && p && /* @__PURE__ */ e(h, { children: p })
84
+ ] }),
85
+ /* @__PURE__ */ _("div", { className: a["page-header__right-children-wrapper"], children: [
86
+ /* @__PURE__ */ e(
87
+ y,
88
+ {
89
+ variant: "h4",
90
+ element: "h1",
91
+ color: "var(--colors-neutral-text-color-text)",
92
+ className: N,
93
+ "data-testid": w,
94
+ children: n
95
+ }
96
+ ),
97
+ !r && p && /* @__PURE__ */ e(h, { children: p })
98
+ ] }),
99
+ /* @__PURE__ */ e(
100
+ y,
101
+ {
102
+ variant: "base",
103
+ element: "p",
104
+ color: "var(--colors-neutral-text-color-text)",
105
+ className: f,
106
+ "data-testid": L,
107
+ children: i
108
+ }
109
+ ),
110
+ b && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e("div", { className: a["header-bubble"], children: /* @__PURE__ */ e(
111
+ "div",
112
+ {
113
+ className: x ? g(a["header-bubble--container"], a["header-bubble--container--full"]) : a["header-bubble--container"],
114
+ "data-testid": C,
115
+ children: b
116
+ }
117
+ ) }) })
118
+ ] }),
119
+ l && /* @__PURE__ */ e("div", { className: a["page-header__bottom-content"], children: l })
100
120
  ] }),
101
- r && /* @__PURE__ */ a("div", { className: e["header-bubble-margin"] })
121
+ b && /* @__PURE__ */ e("div", { className: a["header-bubble-margin"] })
102
122
  ] });
103
123
  };
104
124
  export {
@@ -7,10 +7,13 @@ declare const meta: {
7
7
  };
8
8
  export default meta;
9
9
  type Story = StoryObj<typeof meta>;
10
- export declare const Simple: Story;
11
- export declare const WithBackLink: Story;
10
+ export declare const WithTitleOnly: Story;
11
+ export declare const WithTitleAndSubtitle: Story;
12
+ export declare const WithTitleAndRightChildren: Story;
13
+ export declare const WithTitleAndSubtitleAndRightChildren: Story;
12
14
  export declare const WithBreadcrumb: Story;
13
- export declare const WithRightChildren: Story;
15
+ export declare const WithBreadcrumbAndRightChildren: Story;
16
+ export declare const WithBreadcrumbAndTitleAndRightChildren: Story;
14
17
  export declare const WithBottomChildren: Story;
15
18
  export declare const WithHeaderBubble: Story;
16
19
  export declare const WithLargeHeaderBubble: Story;
@@ -1,32 +1,31 @@
1
- import '../../assets/Pagination.css';
2
- import { jsxs as s, Fragment as p, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as s, Fragment as h, jsx as a } from "react/jsx-runtime";
3
2
  import { c as _ } from "../../clsx-DB4S2d7J.js";
4
- import { Select as d } from "../Select/Select.js";
3
+ import { Select as p } from "../Select/Select.js";
5
4
  import C from "./usePagination.js";
6
- const w = "_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",
5
+ import '../../assets/Pagination.css';const w = "_pagination_2kmrd_43", n = {
6
+ "u-typography-h1": "_u-typography-h1_2kmrd_1",
7
+ "u-typography-h2": "_u-typography-h2_2kmrd_8",
8
+ "u-typography-h3": "_u-typography-h3_2kmrd_15",
9
+ "u-typography-h4": "_u-typography-h4_2kmrd_22",
10
+ "u-typography-h5": "_u-typography-h5_2kmrd_29",
11
+ "u-typography-h6": "_u-typography-h6_2kmrd_36",
12
+ "u-typography-base": "_u-typography-base_2kmrd_43",
14
13
  pagination: w,
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"
14
+ "per-page-container": "_per-page-container_2kmrd_43",
15
+ "u-typography-base--xxl": "_u-typography-base--xxl_2kmrd_49",
16
+ "u-typography-base--xl": "_u-typography-base--xl_2kmrd_53",
17
+ "u-typography-base--lg": "_u-typography-base--lg_2kmrd_57",
18
+ "u-typography-base--sm": "_u-typography-base--sm_2kmrd_61",
19
+ "u-typography-base--bold": "_u-typography-base--bold_2kmrd_65",
20
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_2kmrd_68",
21
+ "u-typography-base--underlined": "_u-typography-base--underlined_2kmrd_71",
22
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_2kmrd_74",
23
+ "per-page-container__select": "_per-page-container__select_2kmrd_91",
24
+ "pages-navigator-container": "_pages-navigator-container_2kmrd_98",
25
+ "page-item": "_page-item_2kmrd_115",
26
+ "page-number__btn": "_page-number__btn_2kmrd_115",
27
+ "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_2kmrd_134",
28
+ "page-number__btn--selected": "_page-number__btn--selected_2kmrd_156"
30
29
  }, B = {
31
30
  pt: {
32
31
  showing: "Exibindo",
@@ -46,43 +45,43 @@ const w = "_pagination_2n0nk_43", a = {
46
45
  }
47
46
  }, $ = ({
48
47
  perPageOptions: o = [5, 10, 25, 50, 100],
49
- language: y = "en",
50
- usePaginationProps: b = {},
48
+ language: m = "en",
49
+ usePaginationProps: y = {},
51
50
  ...e
52
51
  }) => {
53
- const l = Math.ceil(e.totalItems / e.perPage), m = e.currentPage <= 1, k = e.currentPage >= l, v = { ...B[y], ...e.t || {} }, i = (n) => v[n], { items: x } = C({
54
- count: l,
52
+ const d = Math.ceil(e.totalItems / e.perPage), b = e.currentPage <= 1, k = e.currentPage >= d, v = { ...B[m], ...e.t || {} }, i = (t) => v[t], { items: x } = C({
53
+ count: d,
55
54
  page: e.currentPage,
56
55
  hideNextButton: !0,
57
56
  hidePrevButton: !0,
58
57
  siblingCount: 1,
59
58
  boundaryCount: 2,
60
- ...b
61
- }), c = e.perPage * (e.currentPage - 1) + 1, u = c + e.perPage - 1, P = u > e.totalItems ? u - e.totalItems : 0, N = u - P;
62
- return /* @__PURE__ */ s("div", { className: _(a.pagination, e.className), "data-testid": e["data-testid"], children: [
59
+ ...y
60
+ }), l = e.perPage * (e.currentPage - 1) + 1, u = l + e.perPage - 1, P = u > e.totalItems ? u - e.totalItems : 0, N = u - P;
61
+ return /* @__PURE__ */ s("div", { className: _(n.pagination, e.className), "data-testid": e["data-testid"], children: [
63
62
  /* @__PURE__ */ s(
64
63
  "div",
65
64
  {
66
- className: _(a["per-page-container"], e.classNamePerPage),
65
+ className: _(n["per-page-container"], e.classNamePerPage),
67
66
  "data-testid": e["data-testid-per-page"],
68
67
  children: [
69
- o && /* @__PURE__ */ s(p, { children: [
70
- /* @__PURE__ */ t("span", { children: i`perPage` }),
71
- /* @__PURE__ */ t(
72
- d,
68
+ o && /* @__PURE__ */ s(h, { children: [
69
+ /* @__PURE__ */ a("span", { children: i`perPage` }),
70
+ /* @__PURE__ */ a(
71
+ p,
73
72
  {
74
- className: a["per-page-container__select"],
73
+ className: n["per-page-container__select"],
75
74
  value: String(e.perPage),
76
- onChange: (n) => e.onRowsPerPageChange(Number(n)),
77
- children: o == null ? void 0 : o.map((n) => {
78
- const r = typeof n == "number";
79
- return /* @__PURE__ */ t(
80
- d.Option,
75
+ onChange: (t) => e.onRowsPerPageChange(Number(t)),
76
+ children: o == null ? void 0 : o.map((t) => {
77
+ const r = typeof t == "number";
78
+ return /* @__PURE__ */ a(
79
+ p.Option,
81
80
  {
82
- value: String(r ? n : n.value),
83
- children: r ? n : n.label
81
+ value: String(r ? t : t.value),
82
+ children: r ? t : t.label
84
83
  },
85
- `per-page__${r ? n : n.value}`
84
+ `per-page__${r ? t : t.value}`
86
85
  );
87
86
  })
88
87
  }
@@ -90,7 +89,7 @@ const w = "_pagination_2n0nk_43", a = {
90
89
  ] }),
91
90
  /* @__PURE__ */ s("div", { className: e.classNamePagesInfo, "data-testid": e["data-testid-pages-info"], children: [
92
91
  /* @__PURE__ */ s("span", { children: [
93
- c,
92
+ l,
94
93
  " - ",
95
94
  N
96
95
  ] }),
@@ -98,7 +97,7 @@ const w = "_pagination_2n0nk_43", a = {
98
97
  /* @__PURE__ */ s("span", { children: [
99
98
  i`of`,
100
99
  " ",
101
- /* @__PURE__ */ t("strong", { children: e.totalItems }),
100
+ /* @__PURE__ */ a("strong", { children: e.totalItems }),
102
101
  " ",
103
102
  i`results`
104
103
  ] })
@@ -109,37 +108,37 @@ const w = "_pagination_2n0nk_43", a = {
109
108
  /* @__PURE__ */ s(
110
109
  "div",
111
110
  {
112
- className: _(a["pages-navigator-container"], e.classNamePagesNav),
111
+ className: _(n["pages-navigator-container"], e.classNamePagesNav),
113
112
  "data-testid": e["data-testid-pages-nav"],
114
113
  children: [
115
- /* @__PURE__ */ t(
114
+ /* @__PURE__ */ a(
116
115
  "button",
117
116
  {
118
- className: a["pages-navigator-container__previous-next-btn"],
119
- disabled: m,
117
+ className: n["pages-navigator-container__previous-next-btn"],
118
+ disabled: b,
120
119
  onClick: () => e.onPageChange(e.currentPage - 1),
121
120
  type: "button",
122
121
  children: i`previous`
123
122
  },
124
123
  "page__previous"
125
124
  ),
126
- /* @__PURE__ */ t("ul", { children: x.map(({ page: n, type: r, selected: f, ...I }, h) => {
127
- let g = /* @__PURE__ */ t(p, {});
128
- return r === "start-ellipsis" || r === "end-ellipsis" ? g = /* @__PURE__ */ t("span", { className: a["page-item"], children: "..." }) : r === "page" ? g = /* @__PURE__ */ t(
125
+ /* @__PURE__ */ a("ul", { children: x.map(({ page: t, type: r, selected: f, ...I }, c) => {
126
+ let g = /* @__PURE__ */ a(h, {});
127
+ return r === "start-ellipsis" || r === "end-ellipsis" ? g = /* @__PURE__ */ a("span", { className: n["page-item"], children: "..." }) : r === "page" ? g = /* @__PURE__ */ a(
129
128
  "button",
130
129
  {
131
- className: _(a["page-number__btn"], f && a["page-number__btn--selected"]),
132
- onClick: () => e.onPageChange(n || 0),
130
+ className: _(n["page-number__btn"], f && n["page-number__btn--selected"]),
131
+ onClick: () => e.onPageChange(t || 0),
133
132
  type: "button",
134
- children: n
133
+ children: t
135
134
  },
136
- `page__${h}`
137
- ) : g = /* @__PURE__ */ t("button", { type: "button", ...I, children: r }), /* @__PURE__ */ t("li", { children: g }, h);
135
+ `page__${c}`
136
+ ) : g = /* @__PURE__ */ a("button", { type: "button", ...I, children: r }), /* @__PURE__ */ a("li", { children: g }, c);
138
137
  }) }),
139
- /* @__PURE__ */ t(
138
+ /* @__PURE__ */ a(
140
139
  "button",
141
140
  {
142
- className: a["pages-navigator-container__previous-next-btn"],
141
+ className: n["pages-navigator-container__previous-next-btn"],
143
142
  disabled: k,
144
143
  onClick: () => e.onPageChange(e.currentPage + 1),
145
144
  type: "button",
@@ -25,7 +25,7 @@ declare const meta: {
25
25
  };
26
26
  };
27
27
  tags: string[];
28
- decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
28
+ decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
29
29
  [x: string]: any;
30
30
  }>) => import("react/jsx-runtime").JSX.Element)[];
31
31
  };
@@ -1,10 +1,9 @@
1
- import '../../assets/RadioButton.css';
2
1
  import { jsxs as h, jsx as t } from "react/jsx-runtime";
3
2
  import { useState as x, useEffect as y } from "react";
4
3
  import { c as s } from "../../clsx-DB4S2d7J.js";
5
4
  import { Icon as C } from "../Icon/Icon.js";
6
5
  import { Typography as S } from "../Typography/Typography.js";
7
- const g = "_radio_1t160_1", a = {
6
+ import '../../assets/RadioButton.css';const g = "_radio_1t160_1", a = {
8
7
  radio: g,
9
8
  "radio--label": "_radio--label_1t160_9",
10
9
  "radio--label__disabled": "_radio--label__disabled_1t160_12",
@@ -1,7 +1,6 @@
1
- import '../../assets/ResultWithChips.css';
2
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
3
2
  import { C as t } from "../../Toggle-BuZjueQ7.js";
4
- const r = "_container_hgp0p_1", o = "_label_hgp0p_17", a = {
3
+ import '../../assets/ResultWithChips.css';const r = "_container_hgp0p_1", o = "_label_hgp0p_17", a = {
5
4
  container: r,
6
5
  "chip-item-wrapper": "_chip-item-wrapper_hgp0p_8",
7
6
  label: o,
@@ -1,7 +1,6 @@
1
- import '../../assets/Skeleton.css';
2
1
  import { jsx as t, jsxs as N } from "react/jsx-runtime";
3
2
  import { c as r } from "../../clsx-DB4S2d7J.js";
4
- const u = "_skeleton_mst8q_1", b = "_skeletonLoading_mst8q_1", o = {
3
+ import '../../assets/Skeleton.css';const u = "_skeleton_mst8q_1", b = "_skeletonLoading_mst8q_1", o = {
5
4
  skeleton: u,
6
5
  skeletonLoading: b,
7
6
  "skeleton--circle-type": "_skeleton--circle-type_mst8q_13",
@@ -1,4 +1,3 @@
1
- import '../../assets/Snackbar.css';
2
1
  import { jsx as h, jsxs as Y } from "react/jsx-runtime";
3
2
  import * as N from "react";
4
3
  import S, { useState as V, useRef as X } from "react";
@@ -10,7 +9,7 @@ import { u as ee } from "../../useTimeout-DxF9kiZL.js";
10
9
  import { u as I } from "../../useEventCallback-BAQJJ3ye.js";
11
10
  import { C as B } from "../../ClickAwayListener-DbEYZpyh.js";
12
11
  import { R as P } from "../../index-bQFToy-I.js";
13
- const W = "Snackbar";
12
+ import '../../assets/Snackbar.css';const W = "Snackbar";
14
13
  function te(u) {
15
14
  return z(W, u);
16
15
  }
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  title: string;
6
6
  component: ({ snackbarMessage, variant, autoHideDuration, open, onClose, onClosed, classNameWrapper, "data-testid": dataTestId, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
7
7
  tags: string[];
8
- decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
+ decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
9
9
  accept?: string | undefined;
10
10
  alt?: string | undefined;
11
11
  autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
@@ -1,9 +1,8 @@
1
- import '../../assets/SortTooltip.css';
2
1
  import { jsx as h, jsxs as s } from "react/jsx-runtime";
3
2
  import { c as d } from "../../clsx-DB4S2d7J.js";
4
3
  import { Tooltip as b } from "../Tooltip/Tooltip.js";
5
4
  import * as t from "react";
6
- const f = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M4.73768 14.6906C4.35893 15.105 3.64205 15.105 3.26299 14.6906L0.541112 11.6878C0.167987 11.28 0.195487 10.6469 0.602643 10.2731C1.00952 9.89969 1.64233 9.92812 2.01577 10.3348L3.00017 11.4406V2.00094C3.00017 1.44781 3.44799 1 4.00017 1C4.55236 1 5.00017 1.44781 5.00017 2.00094V11.4384L6.01267 10.3325C6.3708 9.94219 7.00236 9.88281 7.4258 10.2708C7.83299 10.6443 7.86018 11.2777 7.48733 11.6855L4.73768 14.6906Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M14.0001 13H12.4141L14.7073 10.7069C14.9934 10.4208 15.0788 9.99098 14.9241 9.61691C14.7693 9.24285 14.4032 9.00004 13.972 9.00004H9.97196C9.44696 9.00004 9.00008 9.44691 9.00008 10C9.00008 10.5532 9.4479 11 10.0001 11H11.586L9.2929 13.2932C9.00677 13.5793 8.92133 14.0091 9.07608 14.3832C9.23083 14.7572 9.59696 15 9.97196 15H13.9438C14.5532 15 15.0001 14.5532 15.0001 14C15.0001 13.4469 14.5532 13 14.0001 13ZM15.3938 6.54066L12.8941 1.53754C12.5554 0.855977 11.4441 0.855977 11.1054 1.53754L8.60633 6.54066C8.35927 7.03785 8.55946 7.64191 9.05352 7.89035C9.54946 8.13791 10.1485 7.93651 10.3951 7.44035L10.6186 6.99066H13.3821L13.6056 7.44035C13.7986 7.82879 14.3547 8.18629 14.9472 7.89035C15.4407 7.64379 15.6407 7.03754 15.3938 6.54066ZM11.4938 5.23129L12.0001 4.20941L12.507 5.2291H11.4938V5.23129Z", fill: "#1897F3" })), m = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M0.512792 11.6594C0.139667 11.2516 0.167167 10.6184 0.574323 10.2447C0.766229 10.0688 1.00839 9.98175 1.24964 9.98175C1.52063 9.98175 1.79026 10.0912 1.98745 10.3064L2.99998 11.4406V2.00094C2.99998 1.44781 3.44779 1 3.99998 1C4.55217 1 4.99998 1.44781 4.99998 2.00094V11.4384L6.01248 10.3325C6.38748 9.92812 7.01873 9.89687 7.42498 10.2719C7.83216 10.6453 7.85935 11.2787 7.48651 11.6866L4.76463 14.6894C4.38588 15.1037 3.66901 15.1037 3.28995 14.6894L0.512792 11.6594Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M10.0002 3H11.5862L9.29303 5.29313C9.00691 5.57925 8.92147 6.00906 9.07622 6.38313C9.23097 6.75719 9.59591 7 9.99997 7H13.9718C14.5533 6.97188 15.0002 6.55313 15.0002 6C15.0002 5.44688 14.5524 5 14.0002 5H12.4143L14.7074 2.70688C14.9935 2.42075 15.079 1.99094 14.9242 1.61688C14.7695 1.24281 14.4033 1 13.9721 1H10.0002C9.44709 1 9.00022 1.44719 9.00022 2C9.00022 2.55281 9.44709 3 10.0002 3ZM15.394 13.5406L12.8943 8.5375C12.5555 7.85594 11.4443 7.85594 11.1055 8.5375L8.60584 13.5406C8.35878 14.0378 8.55897 14.6419 9.05303 14.8903C9.54897 15.1379 10.148 14.9365 10.3946 14.4403L10.6182 13.9906H13.3816L13.6052 14.4403C13.7981 14.8288 14.3542 15.1863 14.9467 14.8903C15.4408 14.6438 15.6408 14.0375 15.394 13.5406ZM11.494 12.2313L12.0002 11.2094L12.5071 12.2291H11.494V12.2313Z", fill: "#1897F3" })), a = {
5
+ import '../../assets/SortTooltip.css';const f = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M4.73768 14.6906C4.35893 15.105 3.64205 15.105 3.26299 14.6906L0.541112 11.6878C0.167987 11.28 0.195487 10.6469 0.602643 10.2731C1.00952 9.89969 1.64233 9.92812 2.01577 10.3348L3.00017 11.4406V2.00094C3.00017 1.44781 3.44799 1 4.00017 1C4.55236 1 5.00017 1.44781 5.00017 2.00094V11.4384L6.01267 10.3325C6.3708 9.94219 7.00236 9.88281 7.4258 10.2708C7.83299 10.6443 7.86018 11.2777 7.48733 11.6855L4.73768 14.6906Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M14.0001 13H12.4141L14.7073 10.7069C14.9934 10.4208 15.0788 9.99098 14.9241 9.61691C14.7693 9.24285 14.4032 9.00004 13.972 9.00004H9.97196C9.44696 9.00004 9.00008 9.44691 9.00008 10C9.00008 10.5532 9.4479 11 10.0001 11H11.586L9.2929 13.2932C9.00677 13.5793 8.92133 14.0091 9.07608 14.3832C9.23083 14.7572 9.59696 15 9.97196 15H13.9438C14.5532 15 15.0001 14.5532 15.0001 14C15.0001 13.4469 14.5532 13 14.0001 13ZM15.3938 6.54066L12.8941 1.53754C12.5554 0.855977 11.4441 0.855977 11.1054 1.53754L8.60633 6.54066C8.35927 7.03785 8.55946 7.64191 9.05352 7.89035C9.54946 8.13791 10.1485 7.93651 10.3951 7.44035L10.6186 6.99066H13.3821L13.6056 7.44035C13.7986 7.82879 14.3547 8.18629 14.9472 7.89035C15.4407 7.64379 15.6407 7.03754 15.3938 6.54066ZM11.4938 5.23129L12.0001 4.20941L12.507 5.2291H11.4938V5.23129Z", fill: "#1897F3" })), m = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M0.512792 11.6594C0.139667 11.2516 0.167167 10.6184 0.574323 10.2447C0.766229 10.0688 1.00839 9.98175 1.24964 9.98175C1.52063 9.98175 1.79026 10.0912 1.98745 10.3064L2.99998 11.4406V2.00094C2.99998 1.44781 3.44779 1 3.99998 1C4.55217 1 4.99998 1.44781 4.99998 2.00094V11.4384L6.01248 10.3325C6.38748 9.92812 7.01873 9.89687 7.42498 10.2719C7.83216 10.6453 7.85935 11.2787 7.48651 11.6866L4.76463 14.6894C4.38588 15.1037 3.66901 15.1037 3.28995 14.6894L0.512792 11.6594Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M10.0002 3H11.5862L9.29303 5.29313C9.00691 5.57925 8.92147 6.00906 9.07622 6.38313C9.23097 6.75719 9.59591 7 9.99997 7H13.9718C14.5533 6.97188 15.0002 6.55313 15.0002 6C15.0002 5.44688 14.5524 5 14.0002 5H12.4143L14.7074 2.70688C14.9935 2.42075 15.079 1.99094 14.9242 1.61688C14.7695 1.24281 14.4033 1 13.9721 1H10.0002C9.44709 1 9.00022 1.44719 9.00022 2C9.00022 2.55281 9.44709 3 10.0002 3ZM15.394 13.5406L12.8943 8.5375C12.5555 7.85594 11.4443 7.85594 11.1055 8.5375L8.60584 13.5406C8.35878 14.0378 8.55897 14.6419 9.05303 14.8903C9.54897 15.1379 10.148 14.9365 10.3946 14.4403L10.6182 13.9906H13.3816L13.6052 14.4403C13.7981 14.8288 14.3542 15.1863 14.9467 14.8903C15.4408 14.6438 15.6408 14.0375 15.394 13.5406ZM11.494 12.2313L12.0002 11.2094L12.5071 12.2291H11.494V12.2313Z", fill: "#1897F3" })), a = {
7
6
  "u-typography-h1": "_u-typography-h1_3hhsf_1",
8
7
  "u-typography-h2": "_u-typography-h2_3hhsf_8",
9
8
  "u-typography-h3": "_u-typography-h3_3hhsf_15",
@@ -1,7 +1,6 @@
1
- import '../../assets/Stepper.css';
2
1
  import { jsx as s, jsxs as g } from "react/jsx-runtime";
3
2
  import { c as r } from "../../clsx-DB4S2d7J.js";
4
- const d = "_stepper_7fsnr_61", m = "_item_7fsnr_61", c = "_name_7fsnr_61", l = "_counter_7fsnr_65", t = {
3
+ import '../../assets/Stepper.css';const d = "_stepper_7fsnr_61", m = "_item_7fsnr_61", c = "_name_7fsnr_61", l = "_counter_7fsnr_65", t = {
5
4
  "u-typography-h1": "_u-typography-h1_7fsnr_1",
6
5
  "u-typography-h2": "_u-typography-h2_7fsnr_8",
7
6
  "u-typography-h3": "_u-typography-h3_7fsnr_15",