@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
@@ -0,0 +1,45 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: <T extends string | (object & {
6
+ label: string;
7
+ })>({ label, type, options, infoMessage, errorMessage, leftIcon, rightIcon, id, disabled, maxLength, onChange, classNameLabel, classNameInput, classNameErrorMessage, classNameInfoMessage, "data-testid-label": testIdLabel, "data-testid-input": testIdInput, "data-testid-infoMessage": testIdInfoMessage, "data-testid-errorMessage": testIdErrorMessage, ...rest }: import('react').InputHTMLAttributes<HTMLInputElement> & {
8
+ label?: string | undefined;
9
+ options?: T[] | undefined;
10
+ onChange?: ((event: import('react').SyntheticEvent<Element, Event>, newValue: T) => void) | undefined;
11
+ infoMessage?: string | undefined;
12
+ errorMessage?: string | undefined;
13
+ leftIcon?: import('react').ReactNode;
14
+ rightIcon?: import('react').ReactNode;
15
+ type?: "search" | "text" | "password" | undefined;
16
+ hideCharsCounter?: boolean | undefined;
17
+ classNameWrapper?: string | undefined;
18
+ classNameLabel?: string | undefined;
19
+ classNameInput?: string | undefined;
20
+ classNameInfoMessage?: string | undefined;
21
+ classNameErrorMessage?: string | undefined;
22
+ classNameCharsCounter?: string | undefined;
23
+ 'data-testid-wrapper'?: string | undefined;
24
+ 'data-testid-label'?: string | undefined;
25
+ 'data-testid-input'?: string | undefined;
26
+ 'data-testid-infoMessage'?: string | undefined;
27
+ 'data-testid-errorMessage'?: string | undefined;
28
+ 'data-testid-charsCounter'?: string | undefined;
29
+ }) => import("react/jsx-runtime").JSX.Element;
30
+ tags: string[];
31
+ parameters: {
32
+ layout: string;
33
+ };
34
+ };
35
+ export default meta;
36
+ type Story = StoryObj<typeof meta>;
37
+ export declare const Simple: Story;
38
+ export declare const WithLabel: Story;
39
+ export declare const WithSearch: Story;
40
+ export declare const WithPlaceholder: Story;
41
+ export declare const Disabled: Story;
42
+ export declare const WithLeftIcon: Story;
43
+ export declare const WithBothIcons: Story;
44
+ export declare const WithInfoMessage: Story;
45
+ export declare const WithErrorMessage: Story;
@@ -1,61 +1,61 @@
1
1
  import '../../assets/Button.css';
2
- import { jsx as n, jsxs as l } from "react/jsx-runtime";
3
- import { forwardRef as f, useMemo as d } from "react";
2
+ import { jsx as p, jsxs as b } from "react/jsx-runtime";
3
+ import { forwardRef as l, useMemo as x } from "react";
4
4
  import { c } from "../../clsx-DB4S2d7J.js";
5
- import { LoadingSpinner as m } from "../LoadingSpinner/LoadingSpinner.js";
6
- import { B as x } from "../../Button-2b1peDFT.js";
7
- const k = "_button_1ynf4_56", o = {
8
- "u-typography-h1": "_u-typography-h1_1ynf4_1",
9
- "u-typography-h2": "_u-typography-h2_1ynf4_8",
10
- "u-typography-h3": "_u-typography-h3_1ynf4_15",
11
- "u-typography-h4": "_u-typography-h4_1ynf4_22",
12
- "u-typography-h5": "_u-typography-h5_1ynf4_29",
13
- "u-typography-h6": "_u-typography-h6_1ynf4_36",
14
- "u-typography-base": "_u-typography-base_1ynf4_43",
15
- "u-typography-base--xxl": "_u-typography-base--xxl_1ynf4_48",
16
- "u-typography-base--xl": "_u-typography-base--xl_1ynf4_52",
17
- "u-typography-base--lg": "_u-typography-base--lg_1ynf4_56",
18
- button: k,
19
- "u-typography-base--sm": "_u-typography-base--sm_1ynf4_60",
20
- "u-typography-base--bold": "_u-typography-base--bold_1ynf4_64",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1ynf4_67",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_1ynf4_70",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1ynf4_73",
24
- "button--primary": "_button--primary_1ynf4_85",
25
- "button--secondary": "_button--secondary_1ynf4_100",
26
- "button--quick": "_button--quick_1ynf4_117",
27
- "button__loading-container": "_button__loading-container_1ynf4_137"
28
- }, P = f((r, p) => {
5
+ import { LoadingSpinner as v } from "../LoadingSpinner/LoadingSpinner.js";
6
+ import { B as m } from "../../Button-DiLqcAJG.js";
7
+ const f = "_button_dxo5v_57", t = {
8
+ "u-typography-h1": "_u-typography-h1_dxo5v_1",
9
+ "u-typography-h2": "_u-typography-h2_dxo5v_8",
10
+ "u-typography-h3": "_u-typography-h3_dxo5v_15",
11
+ "u-typography-h4": "_u-typography-h4_dxo5v_22",
12
+ "u-typography-h5": "_u-typography-h5_dxo5v_29",
13
+ "u-typography-h6": "_u-typography-h6_dxo5v_36",
14
+ "u-typography-base": "_u-typography-base_dxo5v_43",
15
+ "u-typography-base--xxl": "_u-typography-base--xxl_dxo5v_49",
16
+ "u-typography-base--xl": "_u-typography-base--xl_dxo5v_53",
17
+ "u-typography-base--lg": "_u-typography-base--lg_dxo5v_57",
18
+ button: f,
19
+ "u-typography-base--sm": "_u-typography-base--sm_dxo5v_61",
20
+ "u-typography-base--bold": "_u-typography-base--bold_dxo5v_65",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_dxo5v_68",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_dxo5v_71",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_dxo5v_74",
24
+ "button--primary": "_button--primary_dxo5v_86",
25
+ "button--secondary": "_button--secondary_dxo5v_101",
26
+ "button--quick": "_button--quick_dxo5v_118",
27
+ "button__loading-container": "_button__loading-container_dxo5v_138"
28
+ }, P = l((y, _) => {
29
29
  const {
30
- onClick: _,
31
- link: u,
30
+ onClick: u,
31
+ link: n,
32
32
  loading: e,
33
- children: y,
33
+ children: a,
34
34
  type: s = "button",
35
35
  disabled: h,
36
- className: a,
37
- variant: t = "primary",
38
- muiButtonBaseProps: g
39
- } = r, i = {
40
- invert: t === "secondary" || t === "quick"
41
- }, b = d(
42
- () => c([o.button, o[`button--${t}`], a]),
43
- [a, t]
36
+ className: r,
37
+ variant: o = "primary",
38
+ muiButtonBaseProps: d
39
+ } = y, g = {
40
+ invert: o === "secondary" || o === "quick"
41
+ }, i = x(
42
+ () => c([t.button, t[`button--${o}`], r]),
43
+ [r, o]
44
44
  );
45
- return /* @__PURE__ */ n(
46
- x,
45
+ return /* @__PURE__ */ p(
46
+ m,
47
47
  {
48
48
  type: s,
49
- href: u,
50
- onClick: _,
49
+ href: n,
50
+ onClick: u,
51
51
  disabled: h,
52
- className: b,
53
- ref: p,
54
- ...g ?? {},
55
- children: e ? /* @__PURE__ */ l("div", { className: o["button__loading-container"], children: [
56
- /* @__PURE__ */ n(m, { ...i }),
57
- y
58
- ] }) : y
52
+ className: i,
53
+ ref: _,
54
+ ...d ?? {},
55
+ children: e ? /* @__PURE__ */ b("div", { className: t["button__loading-container"], children: [
56
+ /* @__PURE__ */ p(v, { ...g }),
57
+ a
58
+ ] }) : a
59
59
  }
60
60
  );
61
61
  });
@@ -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
  };
@@ -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 { C as k } from "../../Toggle-BWF0-SPB.js";
8
+ import { C as k } 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 "../Skeleton/Skeleton.js";
@@ -14,7 +14,7 @@ import "../Table/Table.js";
14
14
  import "../Tabs/Tabs.js";
15
15
  import "../../Group-B3p31ftp.js";
16
16
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
17
- import "../../Button-2b1peDFT.js";
17
+ import "../../Button-DiLqcAJG.js";
18
18
  export {
19
19
  k as Chip
20
20
  };
@@ -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,7 +1,7 @@
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";
4
- import { B as a } from "../../Button-2b1peDFT.js";
3
+ import { s as t } from "../../Dialog.module-DFcZsVAd.js";
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"];
7
7
  return /* @__PURE__ */ s(
@@ -1,15 +1,16 @@
1
1
  import { jsxs as $, jsx as S } from "react/jsx-runtime";
2
- import { default as $e } from "./Actions.js";
2
+ import { default as Ye } from "./Actions.js";
3
3
  import oe from "./Backdrop.js";
4
4
  import re from "./CloseIconButton.js";
5
- import { default as ze } from "./Content.js";
6
- import { s as q } from "../../Dialog.module-DFEmFdYT.js";
5
+ import { default as Ge } from "./Content.js";
6
+ import { s as q } from "../../Dialog.module-DFcZsVAd.js";
7
7
  import se from "./DialogTitle.js";
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 "../../index-CH45lKw7.js";
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";
10
- import { o as w, e as ee, u as G } from "../../useEventCallback-xTG9piMa.js";
11
- import { P as fe, H as pe } from "../../Portal-DIeBsWdL.js";
12
- import { e as be } from "../../index-CjW42-M-.js";
10
+ import { o as w, e as ee } from "../../ownerDocument-B61GUaFs.js";
11
+ import { u as G } from "../../useEventCallback-BAQJJ3ye.js";
12
+ import { P as fe, H as pe } from "../../Portal-B_Es6eUL.js";
13
+ import { e as be } from "../../index-D3Wj0eid.js";
13
14
  function X(...e) {
14
15
  return e.reduce((t, o) => o == null ? t : function(...s) {
15
16
  t.apply(this, s), o.apply(this, s);
@@ -613,7 +614,7 @@ process.env.NODE_ENV !== "production" && (ne.propTypes = {
613
614
  root: i.elementType
614
615
  })
615
616
  });
616
- const je = ({
617
+ const qe = ({
617
618
  children: e,
618
619
  dialogTitle: t,
619
620
  dialogSubtitle: o,
@@ -638,9 +639,9 @@ const je = ({
638
639
  }
639
640
  );
640
641
  export {
641
- $e as Actions,
642
- ze as Content,
643
- je as Dialog,
642
+ Ye as Actions,
643
+ Ge as Content,
644
+ qe as Dialog,
644
645
  se as DialogTitle,
645
- je as default
646
+ qe as default
646
647
  };
@@ -76,13 +76,50 @@ 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
- onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
81
- tabIndex?: number | undefined;
82
79
  suppressHydrationWarning?: boolean | undefined;
80
+ defaultChecked?: boolean | undefined;
81
+ defaultValue?: string | number | readonly string[] | undefined;
82
+ suppressContentEditableWarning?: boolean | undefined;
83
+ content?: string | undefined;
84
+ dir?: string | undefined;
85
+ hidden?: boolean | undefined;
83
86
  id?: string | undefined;
87
+ onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
88
+ accessKey?: string | undefined;
89
+ autoFocus?: boolean | undefined;
90
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
91
+ contextMenu?: string | undefined;
92
+ draggable?: (boolean | "true" | "false") | undefined;
84
93
  lang?: string | undefined;
94
+ nonce?: string | undefined;
95
+ spellCheck?: (boolean | "true" | "false") | undefined;
96
+ tabIndex?: number | undefined;
97
+ translate?: "no" | "yes" | undefined;
98
+ radioGroup?: string | undefined;
85
99
  role?: import('react').AriaRole | undefined;
100
+ about?: string | undefined;
101
+ datatype?: string | undefined;
102
+ inlist?: any;
103
+ prefix?: string | undefined;
104
+ property?: string | undefined;
105
+ rel?: string | undefined;
106
+ resource?: string | undefined;
107
+ rev?: string | undefined;
108
+ typeof?: string | undefined;
109
+ vocab?: string | undefined;
110
+ autoCapitalize?: string | undefined;
111
+ autoCorrect?: string | undefined;
112
+ autoSave?: string | undefined;
113
+ itemProp?: string | undefined;
114
+ itemScope?: boolean | undefined;
115
+ itemType?: string | undefined;
116
+ itemID?: string | undefined;
117
+ itemRef?: string | undefined;
118
+ results?: number | undefined;
119
+ security?: string | undefined;
120
+ unselectable?: "on" | "off" | undefined;
121
+ inputMode?: "url" | "search" | "text" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
122
+ is?: string | undefined;
86
123
  "aria-activedescendant"?: string | undefined;
87
124
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
88
125
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
@@ -95,7 +132,7 @@ declare const meta: {
95
132
  "aria-colindextext"?: string | undefined;
96
133
  "aria-colspan"?: number | undefined;
97
134
  "aria-controls"?: string | undefined;
98
- "aria-current"?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
135
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
99
136
  "aria-describedby"?: string | undefined;
100
137
  "aria-description"?: string | undefined;
101
138
  "aria-details"?: string | undefined;
@@ -131,7 +168,7 @@ declare const meta: {
131
168
  "aria-rowspan"?: number | undefined;
132
169
  "aria-selected"?: (boolean | "true" | "false") | undefined;
133
170
  "aria-setsize"?: number | undefined;
134
- "aria-sort"?: "none" | "other" | "ascending" | "descending" | undefined;
171
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
135
172
  "aria-valuemax"?: number | undefined;
136
173
  "aria-valuemin"?: number | undefined;
137
174
  "aria-valuenow"?: number | undefined;
@@ -155,7 +192,6 @@ declare const meta: {
155
192
  onFocusCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
156
193
  onBlur?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
157
194
  onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
158
- onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
159
195
  onChangeCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
160
196
  onBeforeInput?: import('react').FormEventHandler<HTMLDivElement> | undefined;
161
197
  onBeforeInputCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
@@ -225,6 +261,7 @@ declare const meta: {
225
261
  onWaitingCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
226
262
  onAuxClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
227
263
  onAuxClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
264
+ onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
228
265
  onClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
229
266
  onContextMenu?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
230
267
  onContextMenuCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
@@ -299,43 +336,6 @@ declare const meta: {
299
336
  onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
300
337
  onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
301
338
  key?: import('react').Key | null | undefined;
302
- defaultChecked?: boolean | undefined;
303
- defaultValue?: string | number | readonly string[] | undefined;
304
- suppressContentEditableWarning?: boolean | undefined;
305
- accessKey?: string | undefined;
306
- autoFocus?: boolean | undefined;
307
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
308
- contextMenu?: string | undefined;
309
- dir?: string | undefined;
310
- draggable?: (boolean | "true" | "false") | undefined;
311
- hidden?: boolean | undefined;
312
- nonce?: string | undefined;
313
- spellCheck?: (boolean | "true" | "false") | undefined;
314
- translate?: "no" | "yes" | undefined;
315
- radioGroup?: string | undefined;
316
- about?: string | undefined;
317
- datatype?: string | undefined;
318
- inlist?: any;
319
- prefix?: string | undefined;
320
- property?: string | undefined;
321
- rel?: string | undefined;
322
- resource?: string | undefined;
323
- rev?: string | undefined;
324
- typeof?: string | undefined;
325
- vocab?: string | undefined;
326
- autoCapitalize?: string | undefined;
327
- autoCorrect?: string | undefined;
328
- autoSave?: string | undefined;
329
- itemProp?: string | undefined;
330
- itemScope?: boolean | undefined;
331
- itemType?: string | undefined;
332
- itemID?: string | undefined;
333
- itemRef?: string | undefined;
334
- results?: number | undefined;
335
- security?: string | undefined;
336
- unselectable?: "on" | "off" | undefined;
337
- inputMode?: "url" | "search" | "text" | "email" | "tel" | "none" | "numeric" | "decimal" | undefined;
338
- is?: string | undefined;
339
339
  }>) => import("react/jsx-runtime").JSX.Element)[];
340
340
  };
341
341
  export default meta;
@@ -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,
@@ -16,9 +16,9 @@ declare const meta: {
16
16
  'data-testid'?: string | undefined;
17
17
  open?: boolean | undefined;
18
18
  onClose?: (() => void) | undefined;
19
- theme?: "black" | "white" | undefined;
20
19
  position?: import('@floating-ui/utils').Placement | undefined;
21
20
  padding?: "small" | "normal" | undefined;
21
+ theme?: "black" | "white" | undefined;
22
22
  arialRole?: import('react').AriaRole | undefined;
23
23
  disableHoverListener?: boolean | undefined;
24
24
  lineClamp?: number | undefined;
@@ -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-2b1peDFT.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
  );