@pismo/marola 1.0.0-beta.8 → 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 (54) hide show
  1. package/dist/Dialog.module-DFcZsVAd.js +30 -0
  2. package/dist/{Input.module-iOYlI_1w.js → Input.module-ZTRZRcNt.js} +136 -136
  3. package/dist/SelectButton-CoOT2txy.js +61 -0
  4. package/dist/Toggle-f5brSwAI.js +175 -0
  5. package/dist/assets/Advice.css +1 -1
  6. package/dist/assets/Autocomplete.css +1 -1
  7. package/dist/assets/Button.css +1 -1
  8. package/dist/assets/Checkbox.css +1 -1
  9. package/dist/assets/Dialog.css +1 -1
  10. package/dist/assets/IconButton.css +1 -1
  11. package/dist/assets/Input.css +1 -1
  12. package/dist/assets/PageHeader.css +1 -1
  13. package/dist/assets/Pagination.css +1 -1
  14. package/dist/assets/SelectButton.css +1 -1
  15. package/dist/assets/Snackbar.css +1 -1
  16. package/dist/assets/SortTooltip.css +1 -1
  17. package/dist/assets/Stepper.css +1 -1
  18. package/dist/assets/Table.css +1 -1
  19. package/dist/assets/Toggle.css +1 -1
  20. package/dist/assets/Toggle2.css +1 -1
  21. package/dist/assets/Typography.css +1 -1
  22. package/dist/components/Advice/Advice.d.ts +32 -17
  23. package/dist/components/Advice/Advice.js +39 -40
  24. package/dist/components/Advice/Advice.stories.d.ts +4 -3
  25. package/dist/components/Autocomplete/Autocomplete.js +58 -58
  26. package/dist/components/Button/Button.js +48 -48
  27. package/dist/components/Checkbox/Checkbox.js +52 -52
  28. package/dist/components/Chip/Chip.js +1 -1
  29. package/dist/components/Dialog/Actions.js +1 -1
  30. package/dist/components/Dialog/Backdrop.js +1 -1
  31. package/dist/components/Dialog/CloseIconButton.js +1 -1
  32. package/dist/components/Dialog/Dialog.js +1 -1
  33. package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
  34. package/dist/components/Dialog/DialogTitle.js +1 -1
  35. package/dist/components/IconButton/IconButton.js +42 -42
  36. package/dist/components/Input/Input.js +1 -1
  37. package/dist/components/PageHeader/PageHeader.js +57 -57
  38. package/dist/components/Pagination/Pagination.js +70 -70
  39. package/dist/components/RowItem/RowItem.js +1 -1
  40. package/dist/components/Select/Select.js +1 -1
  41. package/dist/components/Select/SelectButton.js +1 -1
  42. package/dist/components/Snackbar/Snackbar.js +90 -90
  43. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  44. package/dist/components/Stepper/Stepper.js +35 -35
  45. package/dist/components/Table/Table.js +96 -96
  46. package/dist/components/Toggle/Toggle.js +55 -55
  47. package/dist/components/ToggleGroup/Toggle.js +1 -1
  48. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  49. package/dist/components/Typography/Typography.js +47 -47
  50. package/dist/main.js +1 -1
  51. package/package.json +1 -1
  52. package/dist/Dialog.module-DFEmFdYT.js +0 -30
  53. package/dist/SelectButton-K3OIfR5m.js +0 -61
  54. package/dist/Toggle-BSvvbKBp.js +0 -175
@@ -1,71 +1,71 @@
1
1
  import '../../assets/Checkbox.css';
2
- import { jsxs as v, jsx as c } from "react/jsx-runtime";
3
- import * as o from "react";
2
+ import { jsxs as w, jsx as c } from "react/jsx-runtime";
3
+ import * as l from "react";
4
4
  import { useState as k, useEffect as i } from "react";
5
- import { c as s } from "../../clsx-DB4S2d7J.js";
6
- const N = (a) => /* @__PURE__ */ o.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ o.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), z = "_label_18hen_64", E = "_checkmark_18hen_93", e = {
7
- "u-typography-h1": "_u-typography-h1_18hen_1",
8
- "u-typography-h2": "_u-typography-h2_18hen_8",
9
- "u-typography-h3": "_u-typography-h3_18hen_15",
10
- "u-typography-h4": "_u-typography-h4_18hen_22",
11
- "u-typography-h5": "_u-typography-h5_18hen_29",
12
- "u-typography-h6": "_u-typography-h6_18hen_36",
13
- "u-typography-base": "_u-typography-base_18hen_43",
14
- "u-typography-base--xxl": "_u-typography-base--xxl_18hen_48",
15
- "u-typography-base--xl": "_u-typography-base--xl_18hen_52",
16
- "u-typography-base--lg": "_u-typography-base--lg_18hen_56",
17
- "u-typography-base--sm": "_u-typography-base--sm_18hen_60",
18
- "u-typography-base--bold": "_u-typography-base--bold_18hen_64",
19
- "checkbox-wrapper": "_checkbox-wrapper_18hen_64",
20
- "label--highlighted": "_label--highlighted_18hen_64",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_18hen_67",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_18hen_70",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_18hen_73",
24
- label: z,
25
- "label--highlighted-checked": "_label--highlighted-checked_18hen_90",
26
- checkmark: E,
27
- "checkmark--checked": "_checkmark--checked_18hen_105",
28
- "checkmark--light-theme": "_checkmark--light-theme_18hen_108",
29
- "checkmark--accent-theme": "_checkmark--accent-theme_18hen_115",
30
- "checkmark--small-size": "_checkmark--small-size_18hen_122",
31
- "checkmark--normal-size": "_checkmark--normal-size_18hen_129"
32
- }, F = (a) => /* @__PURE__ */ o.createElement("svg", { width: 10, height: 3, viewBox: "0 0 10 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ o.createElement("rect", { y: 0.5, width: 10, height: 2, rx: 1, fill: "#1897F3" })), M = ({
5
+ import { c as _ } from "../../clsx-DB4S2d7J.js";
6
+ const v = (a) => /* @__PURE__ */ l.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), N = "_label_xqg5n_65", z = "_checkmark_xqg5n_94", e = {
7
+ "u-typography-h1": "_u-typography-h1_xqg5n_1",
8
+ "u-typography-h2": "_u-typography-h2_xqg5n_8",
9
+ "u-typography-h3": "_u-typography-h3_xqg5n_15",
10
+ "u-typography-h4": "_u-typography-h4_xqg5n_22",
11
+ "u-typography-h5": "_u-typography-h5_xqg5n_29",
12
+ "u-typography-h6": "_u-typography-h6_xqg5n_36",
13
+ "u-typography-base": "_u-typography-base_xqg5n_43",
14
+ "u-typography-base--xxl": "_u-typography-base--xxl_xqg5n_49",
15
+ "u-typography-base--xl": "_u-typography-base--xl_xqg5n_53",
16
+ "u-typography-base--lg": "_u-typography-base--lg_xqg5n_57",
17
+ "u-typography-base--sm": "_u-typography-base--sm_xqg5n_61",
18
+ "u-typography-base--bold": "_u-typography-base--bold_xqg5n_65",
19
+ "checkbox-wrapper": "_checkbox-wrapper_xqg5n_65",
20
+ "label--highlighted": "_label--highlighted_xqg5n_65",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_xqg5n_68",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_xqg5n_71",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_xqg5n_74",
24
+ label: N,
25
+ "label--highlighted-checked": "_label--highlighted-checked_xqg5n_91",
26
+ checkmark: z,
27
+ "checkmark--checked": "_checkmark--checked_xqg5n_106",
28
+ "checkmark--light-theme": "_checkmark--light-theme_xqg5n_109",
29
+ "checkmark--accent-theme": "_checkmark--accent-theme_xqg5n_116",
30
+ "checkmark--small-size": "_checkmark--small-size_xqg5n_123",
31
+ "checkmark--normal-size": "_checkmark--normal-size_xqg5n_130"
32
+ }, E = (a) => /* @__PURE__ */ l.createElement("svg", { width: 10, height: 3, viewBox: "0 0 10 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("rect", { y: 0.5, width: 10, height: 2, rx: 1, fill: "#1897F3" })), B = ({
33
33
  className: a,
34
- label: n,
34
+ label: s,
35
35
  name: m,
36
- theme: u = "accent",
37
- size: b = "normal",
36
+ theme: x = "accent",
37
+ size: u = "normal",
38
38
  checked: r,
39
- onChange: d,
40
- isIndeterminate: l,
41
- highlightLabel: x = !1,
42
- ...p
39
+ onChange: b,
40
+ isIndeterminate: g,
41
+ highlightLabel: d = !1,
42
+ ...o
43
43
  }) => {
44
- const [h, g] = k(r), [t, y] = k(l);
44
+ const [h, n] = k(r), [t, y] = k(g);
45
45
  i(() => {
46
- r !== h && g(r);
46
+ r !== h && n(r);
47
47
  }, [r]), i(() => {
48
- typeof l == "boolean" && y(l);
49
- }, [l]);
50
- const C = s(e["checkbox-wrapper"], a), f = s(
48
+ typeof g == "boolean" && y(g);
49
+ }, [g]);
50
+ const q = _(e["checkbox-wrapper"], a), C = _(
51
51
  e.checkmark,
52
- e[`checkmark--${u}-theme`],
53
- e[`checkmark--${b}-size`],
52
+ e[`checkmark--${x}-theme`],
53
+ e[`checkmark--${u}-size`],
54
54
  (h || t) && e["checkmark--checked"]
55
- ), w = x && (p.children || n) ? s(
55
+ ), f = d && (o.children || s) ? _(
56
56
  e.label,
57
57
  e["label--highlighted"],
58
58
  (h || t) && e["label--highlighted-checked"]
59
59
  ) : e.label;
60
- return /* @__PURE__ */ v("div", { className: C, onClick: () => {
61
- let _ = !h;
62
- t && (y(!1), _ = !0), d(_), g(_);
63
- }, ...p, children: [
60
+ return /* @__PURE__ */ w("div", { className: q, onClick: () => {
61
+ let p = !h;
62
+ t && (y(!1), p = !0), b(p), n(p);
63
+ }, ...o, children: [
64
64
  /* @__PURE__ */ c("input", { name: m, type: "checkbox", checked: !t && h, readOnly: !0 }),
65
- /* @__PURE__ */ c("span", { className: f, children: t ? /* @__PURE__ */ c(F, {}) : h && /* @__PURE__ */ c(N, {}) }),
66
- /* @__PURE__ */ c("label", { className: w, children: p.children || n })
65
+ /* @__PURE__ */ c("span", { className: C, children: t ? /* @__PURE__ */ c(E, {}) : h && /* @__PURE__ */ c(v, {}) }),
66
+ /* @__PURE__ */ c("label", { className: f, children: o.children || s })
67
67
  ] });
68
68
  };
69
69
  export {
70
- M as Checkbox
70
+ B as Checkbox
71
71
  };
@@ -5,7 +5,7 @@ import "../Adornment/Adornment.js";
5
5
  import "../Icon/Icon.js";
6
6
  import "../Typography/Typography.js";
7
7
  import "../Button/Button.js";
8
- import { C as k } from "../../Toggle-BSvvbKBp.js";
8
+ import { C as k } from "../../Toggle-f5brSwAI.js";
9
9
  import "../Dialog/Backdrop.js";
10
10
  import "../IconButton/IconButton.js";
11
11
  import "../Select/Select.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { s as t } from "../../Dialog.module-DFEmFdYT.js";
2
+ import { s as t } from "../../Dialog.module-DFcZsVAd.js";
3
3
  const i = ({ children: s }) => /* @__PURE__ */ o("div", { className: t.dialog__actions, children: s });
4
4
  export {
5
5
  i as default
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as t } from "react";
3
- import { s as e } from "../../Dialog.module-DFEmFdYT.js";
3
+ import { s as e } from "../../Dialog.module-DFcZsVAd.js";
4
4
  const i = t((o, r) => {
5
5
  const { open: m, className: p, ...s } = o;
6
6
  return /* @__PURE__ */ a("div", { className: e.dialog__backdrop, ref: r, ...s });
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as r } from "../Icon/Icon.js";
3
- import { s as t } from "../../Dialog.module-DFEmFdYT.js";
3
+ import { s as t } from "../../Dialog.module-DFcZsVAd.js";
4
4
  import { B as a } from "../../Button-DiLqcAJG.js";
5
5
  const d = ({ handleOnClose: i, className: o }) => {
6
6
  const l = o != null ? t["dialog__close-icon "] + o : t["dialog__close-icon"];
@@ -3,7 +3,7 @@ import { default as Ye } from "./Actions.js";
3
3
  import oe from "./Backdrop.js";
4
4
  import re from "./CloseIconButton.js";
5
5
  import { default as Ge } from "./Content.js";
6
- import { s as q } from "../../Dialog.module-DFEmFdYT.js";
6
+ import { s as q } from "../../Dialog.module-DFcZsVAd.js";
7
7
  import se from "./DialogTitle.js";
8
8
  import { u as Z, P as i, f as ie, b as C, g as ae, a as le, _ as ce, c as z, d as de, e as ue } from "../../useSlotProps-kRhf7Gil.js";
9
9
  import * as f from "react";
@@ -76,11 +76,11 @@ declare const meta: {
76
76
  style?: import('react').CSSProperties | undefined;
77
77
  className?: string | undefined;
78
78
  slot?: string | undefined;
79
- content?: string | undefined;
80
79
  suppressHydrationWarning?: boolean | undefined;
81
80
  defaultChecked?: boolean | undefined;
82
81
  defaultValue?: string | number | readonly string[] | undefined;
83
82
  suppressContentEditableWarning?: boolean | undefined;
83
+ content?: string | undefined;
84
84
  dir?: string | undefined;
85
85
  hidden?: boolean | undefined;
86
86
  id?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, Fragment as o, jsx as e } from "react/jsx-runtime";
2
2
  import { Typography as r } from "../Typography/Typography.js";
3
- import { s as a } from "../../Dialog.module-DFEmFdYT.js";
3
+ import { s as a } from "../../Dialog.module-DFcZsVAd.js";
4
4
  const n = ({ title: t, subTitle: i }) => /* @__PURE__ */ l(o, { children: [
5
5
  /* @__PURE__ */ e(
6
6
  r,
@@ -1,58 +1,58 @@
1
1
  import '../../assets/IconButton.css';
2
- import { jsx as a, jsxs as c } from "react/jsx-runtime";
3
- import { forwardRef as x, useMemo as d } from "react";
4
- import { c as l } from "../../clsx-DB4S2d7J.js";
5
- import { LoadingSpinner as j } from "../LoadingSpinner/LoadingSpinner.js";
6
- import { B as m } from "../../Button-DiLqcAJG.js";
2
+ import { jsx as r, jsxs as c } from "react/jsx-runtime";
3
+ import { forwardRef as d, useMemo as l } from "react";
4
+ import { c as j } from "../../clsx-DB4S2d7J.js";
5
+ import { LoadingSpinner as m } from "../LoadingSpinner/LoadingSpinner.js";
6
+ import { B as x } from "../../Button-DiLqcAJG.js";
7
7
  const o = {
8
- "u-typography-h1": "_u-typography-h1_1xyj5_1",
9
- "u-typography-h2": "_u-typography-h2_1xyj5_8",
10
- "u-typography-h3": "_u-typography-h3_1xyj5_15",
11
- "u-typography-h4": "_u-typography-h4_1xyj5_22",
12
- "u-typography-h5": "_u-typography-h5_1xyj5_29",
13
- "u-typography-h6": "_u-typography-h6_1xyj5_36",
14
- "u-typography-base": "_u-typography-base_1xyj5_43",
15
- "icon-button": "_icon-button_1xyj5_43",
16
- "u-typography-base--xxl": "_u-typography-base--xxl_1xyj5_48",
17
- "u-typography-base--xl": "_u-typography-base--xl_1xyj5_52",
18
- "u-typography-base--lg": "_u-typography-base--lg_1xyj5_56",
19
- "u-typography-base--sm": "_u-typography-base--sm_1xyj5_60",
20
- "u-typography-base--bold": "_u-typography-base--bold_1xyj5_64",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1xyj5_67",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_1xyj5_70",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1xyj5_73",
24
- "icon-button--primary": "_icon-button--primary_1xyj5_86",
25
- "icon-button--square": "_icon-button--square_1xyj5_108",
26
- "icon-button__container": "_icon-button__container_1xyj5_124"
27
- }, B = x((r, p) => {
8
+ "u-typography-h1": "_u-typography-h1_gt5j9_1",
9
+ "u-typography-h2": "_u-typography-h2_gt5j9_8",
10
+ "u-typography-h3": "_u-typography-h3_gt5j9_15",
11
+ "u-typography-h4": "_u-typography-h4_gt5j9_22",
12
+ "u-typography-h5": "_u-typography-h5_gt5j9_29",
13
+ "u-typography-h6": "_u-typography-h6_gt5j9_36",
14
+ "u-typography-base": "_u-typography-base_gt5j9_43",
15
+ "icon-button": "_icon-button_gt5j9_43",
16
+ "u-typography-base--xxl": "_u-typography-base--xxl_gt5j9_49",
17
+ "u-typography-base--xl": "_u-typography-base--xl_gt5j9_53",
18
+ "u-typography-base--lg": "_u-typography-base--lg_gt5j9_57",
19
+ "u-typography-base--sm": "_u-typography-base--sm_gt5j9_61",
20
+ "u-typography-base--bold": "_u-typography-base--bold_gt5j9_65",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_gt5j9_68",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_gt5j9_71",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_gt5j9_74",
24
+ "icon-button--primary": "_icon-button--primary_gt5j9_87",
25
+ "icon-button--square": "_icon-button--square_gt5j9_109",
26
+ "icon-button__container": "_icon-button__container_gt5j9_125"
27
+ }, B = d((p, y) => {
28
28
  const {
29
29
  onClick: _,
30
30
  icon: e,
31
31
  link: u,
32
- loading: n,
33
- children: h,
34
- type: s = "button",
35
- disabled: i,
36
- className: y,
32
+ loading: g,
33
+ children: n,
34
+ type: h = "button",
35
+ disabled: s,
36
+ className: a,
37
37
  variant: t = "primary",
38
- "data-testid": g
39
- } = r, b = d(
40
- () => l([o["icon-button"], o[`icon-button--${t}`], y]),
41
- [y, t]
38
+ "data-testid": i
39
+ } = p, b = l(
40
+ () => j([o["icon-button"], o[`icon-button--${t}`], a]),
41
+ [a, t]
42
42
  );
43
- return /* @__PURE__ */ a(
44
- m,
43
+ return /* @__PURE__ */ r(
44
+ x,
45
45
  {
46
- type: s,
46
+ type: h,
47
47
  href: u,
48
48
  onClick: _,
49
- disabled: i,
49
+ disabled: s,
50
50
  className: b,
51
- ref: p,
52
- "data-testid": g,
51
+ ref: y,
52
+ "data-testid": i,
53
53
  children: /* @__PURE__ */ c("div", { className: o["icon-button__container"], children: [
54
- n ? /* @__PURE__ */ a(j, { invert: !0 }) : e,
55
- t !== "square" && h
54
+ g ? /* @__PURE__ */ r(m, { invert: !0 }) : e,
55
+ t !== "square" && n
56
56
  ] })
57
57
  }
58
58
  );
@@ -3,7 +3,7 @@ import * as g from "react";
3
3
  import { useState as V, useId as k } from "react";
4
4
  import { c as a } from "../../clsx-DB4S2d7J.js";
5
5
  import { Typography as c } from "../Typography/Typography.js";
6
- import { s as t, I as q } from "../../Input.module-iOYlI_1w.js";
6
+ import { s as t, I as q } from "../../Input.module-ZTRZRcNt.js";
7
7
  const D = (s) => /* @__PURE__ */ g.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", "data-waves-icon": "fa/solid/circle-exclamation", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
8
8
  fill: "currentcolor",
9
9
  color: "currentcolor",
@@ -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 {