@pismo/marola 1.0.0-beta.69 → 1.0.0-beta.8

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 (174) hide show
  1. package/dist/{Button-BAljjMv3.js → Button-DiLqcAJG.js} +2 -2
  2. package/dist/{ClickAwayListener-DbEYZpyh.js → ClickAwayListener-BaJ-OV_7.js} +3 -3
  3. package/dist/Dialog.module-DFEmFdYT.js +30 -0
  4. package/dist/Group-B3p31ftp.js +26 -0
  5. package/dist/Input.module-iOYlI_1w.js +405 -0
  6. package/dist/{Popup-Ck3XlWMq.js → Popup-lLWZt2wk.js} +3 -3
  7. package/dist/{Portal-oY3enyAm.js → Portal-B_Es6eUL.js} +2 -2
  8. package/dist/SelectButton-K3OIfR5m.js +61 -0
  9. package/dist/{Tabs.module-BGGTkDc5.js → Tabs.module-jkH1Qjn7.js} +7 -7
  10. package/dist/Toggle-BSvvbKBp.js +175 -0
  11. package/dist/assets/Advice.css +1 -1
  12. package/dist/assets/Autocomplete.css +1 -1
  13. package/dist/assets/Button.css +1 -1
  14. package/dist/assets/Checkbox.css +1 -1
  15. package/dist/assets/Dialog.css +1 -1
  16. package/dist/assets/EllipsisTooltip.css +1 -1
  17. package/dist/assets/Group.css +1 -1
  18. package/dist/assets/IconButton.css +1 -1
  19. package/dist/assets/Input.css +1 -1
  20. package/dist/assets/PageHeader.css +1 -1
  21. package/dist/assets/Pagination.css +1 -1
  22. package/dist/assets/SelectButton.css +1 -1
  23. package/dist/assets/Skeleton.css +1 -1
  24. package/dist/assets/Snackbar.css +1 -1
  25. package/dist/assets/SortTooltip.css +1 -1
  26. package/dist/assets/Stepper.css +1 -1
  27. package/dist/assets/Table.css +1 -1
  28. package/dist/assets/Tabs.css +1 -1
  29. package/dist/assets/Toggle.css +1 -1
  30. package/dist/assets/Toggle2.css +1 -1
  31. package/dist/assets/Typography.css +1 -1
  32. package/dist/{combineHooksSlotProps-C-zYvfnF.js → combineHooksSlotProps-BtBYUV_B.js} +1 -1
  33. package/dist/components/Adornment/Adornment.d.ts +2 -11
  34. package/dist/components/Adornment/Adornment.js +6 -6
  35. package/dist/components/Advice/Advice.d.ts +17 -32
  36. package/dist/components/Advice/Advice.js +40 -39
  37. package/dist/components/Advice/Advice.stories.d.ts +3 -4
  38. package/dist/components/Autocomplete/Autocomplete.d.ts +42 -12
  39. package/dist/components/Autocomplete/Autocomplete.js +435 -425
  40. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +25 -3
  41. package/dist/components/Button/Button.d.ts +0 -2
  42. package/dist/components/Button/Button.js +49 -51
  43. package/dist/components/Checkbox/Checkbox.js +52 -52
  44. package/dist/components/Chip/Chip.d.ts +4 -6
  45. package/dist/components/Chip/Chip.js +6 -10
  46. package/dist/components/Chip/Chip.stories.d.ts +15 -6
  47. package/dist/components/Dialog/Actions.js +1 -1
  48. package/dist/components/Dialog/Backdrop.d.ts +3 -3
  49. package/dist/components/Dialog/Backdrop.js +7 -8
  50. package/dist/components/Dialog/CloseIconButton.d.ts +2 -1
  51. package/dist/components/Dialog/CloseIconButton.js +18 -15
  52. package/dist/components/Dialog/Dialog.d.ts +10 -16
  53. package/dist/components/Dialog/Dialog.js +167 -167
  54. package/dist/components/Dialog/Dialog.stories.d.ts +69 -75
  55. package/dist/components/Dialog/DialogTitle.d.ts +2 -5
  56. package/dist/components/Dialog/DialogTitle.js +16 -22
  57. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +17 -30
  58. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -2
  59. package/dist/components/Icon/Icon.js +51 -331
  60. package/dist/components/Icon/types.d.ts +1 -1
  61. package/dist/components/IconButton/IconButton.js +42 -42
  62. package/dist/components/Input/Input.d.ts +5 -26
  63. package/dist/components/Input/Input.js +102 -514
  64. package/dist/components/Input/Input.stories.d.ts +21 -2
  65. package/dist/components/InputSearch/InputSearch.d.ts +7 -37
  66. package/dist/components/InputSearch/InputSearch.js +29 -27
  67. package/dist/components/InputSearch/InputSearch.stories.d.ts +3 -15
  68. package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
  69. package/dist/components/PageHeader/PageHeader.d.ts +2 -6
  70. package/dist/components/PageHeader/PageHeader.js +71 -78
  71. package/dist/components/PageHeader/PageHeader.stories.d.ts +1 -3
  72. package/dist/components/Pagination/Pagination.d.ts +1 -5
  73. package/dist/components/Pagination/Pagination.js +91 -90
  74. package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
  75. package/dist/components/RowItem/RowItem.d.ts +2 -2
  76. package/dist/components/RowItem/RowItem.js +5 -9
  77. package/dist/components/Select/Select.d.ts +0 -22
  78. package/dist/components/Select/Select.js +414 -476
  79. package/dist/components/Select/SelectButton.d.ts +0 -2
  80. package/dist/components/Select/SelectButton.js +2 -3
  81. package/dist/components/Skeleton/Skeleton.d.ts +1 -3
  82. package/dist/components/Skeleton/Skeleton.js +14 -20
  83. package/dist/components/Skeleton/SkeletonTable.stories.d.ts +1 -1
  84. package/dist/components/Snackbar/Snackbar.js +93 -93
  85. package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
  86. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  87. package/dist/components/Stepper/Stepper.js +35 -35
  88. package/dist/components/Table/Table.d.ts +1 -3
  89. package/dist/components/Table/Table.js +99 -87
  90. package/dist/components/Table/Table.stories.d.ts +1 -1
  91. package/dist/components/Tabs/Tab.d.ts +3 -5
  92. package/dist/components/Tabs/Tab.js +35 -36
  93. package/dist/components/Tabs/TabPanel.d.ts +2 -4
  94. package/dist/components/Tabs/TabPanel.js +38 -48
  95. package/dist/components/Tabs/Tabs.d.ts +4 -6
  96. package/dist/components/Tabs/Tabs.js +112 -115
  97. package/dist/components/TextDisplay/TextDisplay.d.ts +3 -7
  98. package/dist/components/TextDisplay/TextDisplay.js +37 -44
  99. package/dist/components/TextDisplay/TextDisplay.stories.d.ts +1 -2
  100. package/dist/components/Toggle/Toggle.js +55 -55
  101. package/dist/components/ToggleGroup/Group.d.ts +0 -2
  102. package/dist/components/ToggleGroup/Group.js +2 -4
  103. package/dist/components/ToggleGroup/Toggle.d.ts +0 -2
  104. package/dist/components/ToggleGroup/Toggle.js +4 -8
  105. package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
  106. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -3
  107. package/dist/components/Tooltip/Tooltip.d.ts +1 -3
  108. package/dist/components/Tooltip/Tooltip.js +4 -4
  109. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -2
  110. package/dist/components/Typography/Typography.js +47 -47
  111. package/dist/components/Typography/Typography.stories.d.ts +1 -1
  112. package/dist/contexts/SnackbarProvider/SnackbarProvider.js +30 -34
  113. package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
  114. package/dist/{index-bQFToy-I.js → index-D3Wj0eid.js} +1 -1
  115. package/dist/main.d.ts +0 -8
  116. package/dist/main.js +79 -95
  117. package/dist/marola.css +1 -1
  118. package/dist/{ownerDocument-YGhwAnr1.js → ownerDocument-B61GUaFs.js} +1 -1
  119. package/dist/test-utils/assertStyles.d.ts +1 -1
  120. package/dist/{useButton-DcihopJG.js → useButton-Bn3MNH8I.js} +1 -1
  121. package/dist/{useList-B9C55YB7.js → useList-BpJT77u3.js} +2 -2
  122. package/dist/{useSlotProps-C_I1kEHr.js → useSlotProps-kRhf7Gil.js} +72 -73
  123. package/package.json +13 -22
  124. package/dist/Dialog.module-W7UCXlf3.js +0 -29
  125. package/dist/Group-DspH8hyO.js +0 -30
  126. package/dist/Popover.module-B4boCutS.js +0 -10
  127. package/dist/SelectButton-B38avP9u.js +0 -75
  128. package/dist/Toggle-MfR7l8Wn.js +0 -190
  129. package/dist/assets/Alert.css +0 -1
  130. package/dist/assets/Avatar.css +0 -1
  131. package/dist/assets/Description.css +0 -1
  132. package/dist/assets/Popover.css +0 -1
  133. package/dist/assets/RadioButton.css +0 -1
  134. package/dist/assets/ResultWithChips.css +0 -1
  135. package/dist/assets/StepperNavigator.css +0 -1
  136. package/dist/components/Adornment/Adornment.stories.d.ts +0 -14
  137. package/dist/components/Adornment/adornment.test.d.ts +0 -1
  138. package/dist/components/Alert/Alert.d.ts +0 -11
  139. package/dist/components/Alert/Alert.js +0 -46
  140. package/dist/components/Alert/Alert.stories.d.ts +0 -24
  141. package/dist/components/Alert/Alert.test.d.ts +0 -1
  142. package/dist/components/Avatar/Avatar.d.ts +0 -15
  143. package/dist/components/Avatar/Avatar.js +0 -51
  144. package/dist/components/Avatar/Avatar.stories.d.ts +0 -25
  145. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -14
  146. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +0 -37
  147. package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +0 -23
  148. package/dist/components/ConfirmationDialog/ConfirmationModal.test.d.ts +0 -1
  149. package/dist/components/Description/Description.d.ts +0 -21
  150. package/dist/components/Description/Description.js +0 -66
  151. package/dist/components/Description/Description.stories.d.ts +0 -22
  152. package/dist/components/Description/Description.test.d.ts +0 -1
  153. package/dist/components/PageHeader/PageHeader.test.d.ts +0 -1
  154. package/dist/components/Popover/Popover.d.ts +0 -32
  155. package/dist/components/Popover/Popover.js +0 -24
  156. package/dist/components/Popover/Popover.stories.d.ts +0 -34
  157. package/dist/components/Popover/PopoverBody.d.ts +0 -6
  158. package/dist/components/Popover/PopoverBody.js +0 -6
  159. package/dist/components/Popover/PopoverFooter.d.ts +0 -6
  160. package/dist/components/Popover/PopoverFooter.js +0 -6
  161. package/dist/components/Popover/PopoverHeader.d.ts +0 -6
  162. package/dist/components/Popover/PopoverHeader.js +0 -6
  163. package/dist/components/RadioButton/RadioButton.d.ts +0 -19
  164. package/dist/components/RadioButton/RadioButton.js +0 -37
  165. package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -24
  166. package/dist/components/RadioButton/RadioButton.test.d.ts +0 -1
  167. package/dist/components/ResultWithChips/ResultWithChips.d.ts +0 -12
  168. package/dist/components/ResultWithChips/ResultWithChips.js +0 -33
  169. package/dist/components/RowItem/RowItem.stories.d.ts +0 -17
  170. package/dist/components/RowItem/rowItem.test.d.ts +0 -1
  171. package/dist/components/StepperNavigator/StepperNavigator.d.ts +0 -58
  172. package/dist/components/StepperNavigator/StepperNavigator.js +0 -115
  173. package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -18
  174. package/dist/components/StepperNavigator/StepperNavigator.test.d.ts +0 -1
@@ -1,7 +1,7 @@
1
- import { g as T, a as _, _ as x, b as i, c as B, P as e, d as O, e as D } from "./useSlotProps-C_I1kEHr.js";
1
+ import { g as T, a as _, _ as x, b as i, c as B, P as e, d as O, e as D } from "./useSlotProps-kRhf7Gil.js";
2
2
  import * as c from "react";
3
3
  import { jsx as F } from "react/jsx-runtime";
4
- import { u as S } from "./useButton-DcihopJG.js";
4
+ import { u as S } from "./useButton-Bn3MNH8I.js";
5
5
  const m = "Button";
6
6
  function U(s) {
7
7
  return T(m, s);
@@ -1,9 +1,9 @@
1
1
  import * as t from "react";
2
- import { u as C, P as f } from "./useSlotProps-C_I1kEHr.js";
2
+ import { u as C, P as f } from "./useSlotProps-kRhf7Gil.js";
3
3
  import { jsx as w } from "react/jsx-runtime";
4
4
  import { u as L } from "./useEventCallback-BAQJJ3ye.js";
5
- import { o as h, e as b } from "./ownerDocument-YGhwAnr1.js";
6
- import { e as g } from "./index-bQFToy-I.js";
5
+ import { o as h, e as b } from "./ownerDocument-B61GUaFs.js";
6
+ import { e as g } from "./index-D3Wj0eid.js";
7
7
  function T(c) {
8
8
  return c.substring(2).toLowerCase();
9
9
  }
@@ -0,0 +1,30 @@
1
+ import './assets/Dialog.css';
2
+ const _ = "_dialog__subtitle_yi7uo_52", o = "_dialog_yi7uo_52", a = "_dialog__backdrop_yi7uo_87", y = "_dialog__panel_yi7uo_95", i = "_dialog__title_yi7uo_56", p = "_dialog__divider_yi7uo_121", t = "_dialog__actions_yi7uo_134", u = {
3
+ "u-typography-h1": "_u-typography-h1_yi7uo_1",
4
+ "u-typography-h2": "_u-typography-h2_yi7uo_8",
5
+ "u-typography-h3": "_u-typography-h3_yi7uo_15",
6
+ "u-typography-h4": "_u-typography-h4_yi7uo_22",
7
+ "u-typography-h5": "_u-typography-h5_yi7uo_29",
8
+ "u-typography-h6": "_u-typography-h6_yi7uo_36",
9
+ "u-typography-base": "_u-typography-base_yi7uo_43",
10
+ "u-typography-base--xxl": "_u-typography-base--xxl_yi7uo_48",
11
+ "u-typography-base--xl": "_u-typography-base--xl_yi7uo_52",
12
+ dialog__subtitle: _,
13
+ "u-typography-base--lg": "_u-typography-base--lg_yi7uo_56",
14
+ "dialog__title--small": "_dialog__title--small_yi7uo_56",
15
+ "u-typography-base--sm": "_u-typography-base--sm_yi7uo_60",
16
+ "u-typography-base--bold": "_u-typography-base--bold_yi7uo_64",
17
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_yi7uo_67",
18
+ "u-typography-base--underlined": "_u-typography-base--underlined_yi7uo_70",
19
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_yi7uo_73",
20
+ dialog: o,
21
+ dialog__backdrop: a,
22
+ dialog__panel: y,
23
+ dialog__title: i,
24
+ dialog__divider: p,
25
+ "dialog__close-icon": "_dialog__close-icon_yi7uo_125",
26
+ dialog__actions: t
27
+ };
28
+ export {
29
+ u as s
30
+ };
@@ -0,0 +1,26 @@
1
+ import './assets/Group.css';
2
+ import { jsxs as g, jsx as t } from "react/jsx-runtime";
3
+ import { forwardRef as i } from "react";
4
+ import { Icon as n } from "./components/Icon/Icon.js";
5
+ const c = "_toggle__input_wlkvp_1", p = "_toggle__label_wlkvp_8", o = {
6
+ toggle__input: c,
7
+ toggle__label: p,
8
+ "toggle__label--selected": "_toggle__label--selected_wlkvp_15",
9
+ "toggle-group__fieldset": "_toggle-group__fieldset_wlkvp_20",
10
+ "toggle-group__options": "_toggle-group__options_wlkvp_25",
11
+ "toggle-group__error": "_toggle-group__error_wlkvp_29"
12
+ }, f = i((e, r) => {
13
+ const { children: s, legend: l, error: _ } = e, d = e["data-testid"] ? `${e["data-testid"]}-legend` : void 0, a = e["data-testid"] ? `${e["data-testid"]}-error` : void 0;
14
+ return /* @__PURE__ */ g("fieldset", { ref: r, "data-testid": e["data-testid"], className: o["toggle-group__fieldset"], children: [
15
+ l && /* @__PURE__ */ t("legend", { "data-testid": d, children: l }),
16
+ /* @__PURE__ */ t("div", { className: o["toggle-group__options"], children: s }),
17
+ _ && /* @__PURE__ */ g("div", { className: o["toggle-group__error"], "data-testid": a, children: [
18
+ /* @__PURE__ */ t(n, { icon: "circle-exclamation", size: 24, color: "var(--alert)" }),
19
+ _
20
+ ] })
21
+ ] });
22
+ });
23
+ export {
24
+ f as G,
25
+ o as s
26
+ };
@@ -0,0 +1,405 @@
1
+ import './assets/Input.css';
2
+ import { g as ae, a as se, u as le, f as A, b as u, _ as ue, c as Y, i as ie, P as e, d as pe, e as de } from "./useSlotProps-kRhf7Gil.js";
3
+ import * as _ from "react";
4
+ import { jsxs as ce, jsx as _e } from "react/jsx-runtime";
5
+ const W = "Input";
6
+ function be(a) {
7
+ return ae(W, a);
8
+ }
9
+ se(W, ["root", "formControl", "focused", "disabled", "error", "multiline", "input", "inputMultiline", "inputTypeSearch", "adornedStart", "adornedEnd"]);
10
+ function fe(a) {
11
+ let s = "https://mui.com/production-error/?code=" + a;
12
+ for (let i = 1; i < arguments.length; i += 1)
13
+ s += "&args[]=" + encodeURIComponent(arguments[i]);
14
+ return "Minified MUI error #" + a + "; visit " + s + " for the full message.";
15
+ }
16
+ const z = /* @__PURE__ */ _.createContext(void 0);
17
+ process.env.NODE_ENV !== "production" && (z.displayName = "FormControlContext");
18
+ function ye() {
19
+ return _.useContext(z);
20
+ }
21
+ function he(a = {}) {
22
+ const {
23
+ defaultValue: s,
24
+ disabled: i = !1,
25
+ error: y = !1,
26
+ onBlur: p,
27
+ onChange: b,
28
+ onFocus: v,
29
+ required: C = !1,
30
+ value: E,
31
+ inputRef: I
32
+ } = a, t = ye();
33
+ let k, c, h, m, f;
34
+ if (t) {
35
+ var R, d, N;
36
+ if (k = void 0, c = (R = t.disabled) != null ? R : !1, h = (d = t.error) != null ? d : !1, m = (N = t.required) != null ? N : !1, f = t.value, process.env.NODE_ENV !== "production") {
37
+ const o = ["defaultValue", "disabled", "error", "required", "value"].filter((r) => a[r] !== void 0);
38
+ o.length > 0 && console.warn(["MUI: You have set props on an input that is inside a FormControl.", "Set these props on a FormControl instead. Otherwise they will be ignored.", `Ignored props: ${o.join(", ")}`].join(`
39
+ `));
40
+ }
41
+ } else
42
+ k = s, c = i, h = y, m = C, f = E;
43
+ const {
44
+ current: O
45
+ } = _.useRef(f != null), T = _.useCallback((o) => {
46
+ process.env.NODE_ENV !== "production" && o && o.nodeName !== "INPUT" && !o.focus && console.error(["MUI: You have provided a `slots.input` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
47
+ `));
48
+ }, []), g = _.useRef(null), F = le(g, I, T), [w, x] = _.useState(!1);
49
+ _.useEffect(() => {
50
+ !t && c && w && (x(!1), p == null || p());
51
+ }, [t, c, w, p]);
52
+ const B = (o) => (r) => {
53
+ var n;
54
+ if (t != null && t.disabled) {
55
+ r.stopPropagation();
56
+ return;
57
+ }
58
+ if ((n = o.onFocus) == null || n.call(o, r), t && t.onFocus) {
59
+ var l;
60
+ t == null || (l = t.onFocus) == null || l.call(t);
61
+ } else
62
+ x(!0);
63
+ }, S = (o) => (r) => {
64
+ var n;
65
+ (n = o.onBlur) == null || n.call(o, r), t && t.onBlur ? t.onBlur() : x(!1);
66
+ }, U = (o) => (r, ...n) => {
67
+ var l, P;
68
+ if (!O && (r.target || g.current) == null)
69
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : fe(17));
70
+ t == null || (l = t.onChange) == null || l.call(t, r), (P = o.onChange) == null || P.call(o, r, ...n);
71
+ }, V = (o) => (r) => {
72
+ var n;
73
+ g.current && r.currentTarget === r.target && g.current.focus(), (n = o.onClick) == null || n.call(o, r);
74
+ };
75
+ return {
76
+ disabled: c,
77
+ error: h,
78
+ focused: w,
79
+ formControlContext: t,
80
+ getInputProps: (o = {}) => {
81
+ const n = u({}, {
82
+ onBlur: p,
83
+ onChange: b,
84
+ onFocus: v
85
+ }, A(o)), l = u({}, n, {
86
+ onBlur: S(n),
87
+ onChange: U(n),
88
+ onFocus: B(n)
89
+ });
90
+ return u({}, l, {
91
+ "aria-invalid": h || void 0,
92
+ defaultValue: k,
93
+ value: f,
94
+ required: m,
95
+ disabled: c
96
+ }, o, {
97
+ ref: F
98
+ }, l);
99
+ },
100
+ getRootProps: (o = {}) => {
101
+ const r = A(a, ["onBlur", "onChange", "onFocus"]), n = u({}, r, A(o));
102
+ return u({}, o, n, {
103
+ onClick: V(n)
104
+ });
105
+ },
106
+ inputRef: F,
107
+ required: m,
108
+ value: f
109
+ };
110
+ }
111
+ const me = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "defaultValue", "disabled", "endAdornment", "error", "id", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "startAdornment", "value", "type", "rows", "slotProps", "slots", "minRows", "maxRows"], ge = (a) => {
112
+ const {
113
+ disabled: s,
114
+ error: i,
115
+ focused: y,
116
+ formControlContext: p,
117
+ multiline: b,
118
+ startAdornment: v,
119
+ endAdornment: C
120
+ } = a;
121
+ return pe({
122
+ root: ["root", s && "disabled", i && "error", y && "focused", !!p && "formControl", b && "multiline", !!v && "adornedStart", !!C && "adornedEnd"],
123
+ input: ["input", s && "disabled", b && "multiline"]
124
+ }, de(be));
125
+ }, ve = /* @__PURE__ */ _.forwardRef(function(s, i) {
126
+ var y, p, b;
127
+ const {
128
+ "aria-describedby": v,
129
+ "aria-label": C,
130
+ "aria-labelledby": E,
131
+ autoComplete: I,
132
+ autoFocus: t,
133
+ className: k,
134
+ defaultValue: c,
135
+ disabled: h,
136
+ endAdornment: m,
137
+ error: f,
138
+ id: R,
139
+ multiline: d = !1,
140
+ name: N,
141
+ onClick: O,
142
+ onChange: T,
143
+ onKeyDown: g,
144
+ onKeyUp: F,
145
+ onFocus: w,
146
+ onBlur: x,
147
+ placeholder: B,
148
+ readOnly: S,
149
+ required: U,
150
+ startAdornment: V,
151
+ value: H,
152
+ type: M,
153
+ rows: o,
154
+ slotProps: r = {},
155
+ slots: n = {},
156
+ minRows: l,
157
+ maxRows: P
158
+ } = s, q = ue(s, me), {
159
+ getRootProps: G,
160
+ getInputProps: J,
161
+ focused: Q,
162
+ formControlContext: X,
163
+ error: Z,
164
+ disabled: ee
165
+ } = he({
166
+ disabled: h,
167
+ defaultValue: c,
168
+ error: f,
169
+ onBlur: x,
170
+ onClick: O,
171
+ onChange: T,
172
+ onFocus: w,
173
+ required: U,
174
+ value: H
175
+ }), K = d ? void 0 : M ?? "text", D = u({}, s, {
176
+ disabled: ee,
177
+ error: Z,
178
+ focused: Q,
179
+ formControlContext: X,
180
+ multiline: d,
181
+ type: K
182
+ }), L = ge(D), oe = {
183
+ "aria-describedby": v,
184
+ "aria-label": C,
185
+ "aria-labelledby": E,
186
+ autoComplete: I,
187
+ autoFocus: t,
188
+ id: R,
189
+ onKeyDown: g,
190
+ onKeyUp: F,
191
+ name: N,
192
+ placeholder: B,
193
+ readOnly: S,
194
+ type: K
195
+ }, $ = (y = n.root) != null ? y : "div", te = Y({
196
+ elementType: $,
197
+ getSlotProps: G,
198
+ externalSlotProps: r.root,
199
+ externalForwardedProps: q,
200
+ additionalProps: {
201
+ ref: i
202
+ },
203
+ ownerState: D,
204
+ className: [L.root, k]
205
+ }), j = d ? (p = n.textarea) != null ? p : "textarea" : (b = n.input) != null ? b : "input", ne = Y({
206
+ elementType: j,
207
+ getSlotProps: (re) => J(u({}, oe, re)),
208
+ externalSlotProps: r.input,
209
+ additionalProps: u({
210
+ rows: d ? o : void 0
211
+ }, d && !ie(j) && {
212
+ minRows: o || l,
213
+ maxRows: o || P
214
+ }),
215
+ ownerState: D,
216
+ className: L.input
217
+ });
218
+ return process.env.NODE_ENV !== "production" && d && o && (l || P) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), /* @__PURE__ */ ce($, u({}, te, {
219
+ children: [V, /* @__PURE__ */ _e(j, u({}, ne)), m]
220
+ }));
221
+ });
222
+ process.env.NODE_ENV !== "production" && (ve.propTypes = {
223
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
224
+ // │ These PropTypes are generated from the TypeScript type definitions. │
225
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
226
+ // └─────────────────────────────────────────────────────────────────────┘
227
+ /**
228
+ * @ignore
229
+ */
230
+ "aria-describedby": e.string,
231
+ /**
232
+ * @ignore
233
+ */
234
+ "aria-label": e.string,
235
+ /**
236
+ * @ignore
237
+ */
238
+ "aria-labelledby": e.string,
239
+ /**
240
+ * This prop helps users to fill forms faster, especially on mobile devices.
241
+ * The name can be confusing, as it's more like an autofill.
242
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
243
+ */
244
+ autoComplete: e.string,
245
+ /**
246
+ * If `true`, the `input` element is focused during the first mount.
247
+ */
248
+ autoFocus: e.bool,
249
+ /**
250
+ * Class name applied to the root element.
251
+ */
252
+ className: e.string,
253
+ /**
254
+ * The default value. Use when the component is not controlled.
255
+ */
256
+ defaultValue: e.any,
257
+ /**
258
+ * If `true`, the component is disabled.
259
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
260
+ */
261
+ disabled: e.bool,
262
+ /**
263
+ * Trailing adornment for this input.
264
+ */
265
+ endAdornment: e.node,
266
+ /**
267
+ * If `true`, the `input` will indicate an error by setting the `aria-invalid` attribute on the input and the `baseui--error` class on the root element.
268
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
269
+ */
270
+ error: e.bool,
271
+ /**
272
+ * The id of the `input` element.
273
+ */
274
+ id: e.string,
275
+ /**
276
+ * @ignore
277
+ */
278
+ inputRef: e.oneOfType([e.func, e.shape({
279
+ current: e.object
280
+ })]),
281
+ /**
282
+ * Maximum number of rows to display when multiline option is set to true.
283
+ */
284
+ maxRows: e.number,
285
+ /**
286
+ * Minimum number of rows to display when multiline option is set to true.
287
+ */
288
+ minRows: e.number,
289
+ /**
290
+ * If `true`, a `textarea` element is rendered.
291
+ * @default false
292
+ */
293
+ multiline: e.bool,
294
+ /**
295
+ * Name attribute of the `input` element.
296
+ */
297
+ name: e.string,
298
+ /**
299
+ * @ignore
300
+ */
301
+ onBlur: e.func,
302
+ /**
303
+ * @ignore
304
+ */
305
+ onChange: e.func,
306
+ /**
307
+ * @ignore
308
+ */
309
+ onClick: e.func,
310
+ /**
311
+ * @ignore
312
+ */
313
+ onFocus: e.func,
314
+ /**
315
+ * @ignore
316
+ */
317
+ onKeyDown: e.func,
318
+ /**
319
+ * @ignore
320
+ */
321
+ onKeyUp: e.func,
322
+ /**
323
+ * The short hint displayed in the `input` before the user enters a value.
324
+ */
325
+ placeholder: e.string,
326
+ /**
327
+ * It prevents the user from changing the value of the field
328
+ * (not from interacting with the field).
329
+ */
330
+ readOnly: e.bool,
331
+ /**
332
+ * If `true`, the `input` element is required.
333
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
334
+ */
335
+ required: e.bool,
336
+ /**
337
+ * Number of rows to display when multiline option is set to true.
338
+ */
339
+ rows: e.number,
340
+ /**
341
+ * The props used for each slot inside the Input.
342
+ * @default {}
343
+ */
344
+ slotProps: e.shape({
345
+ input: e.oneOfType([e.func, e.object]),
346
+ root: e.oneOfType([e.func, e.object])
347
+ }),
348
+ /**
349
+ * The components used for each slot inside the InputBase.
350
+ * Either a string to use a HTML element or a component.
351
+ * @default {}
352
+ */
353
+ slots: e.shape({
354
+ input: e.elementType,
355
+ root: e.elementType,
356
+ textarea: e.elementType
357
+ }),
358
+ /**
359
+ * Leading adornment for this input.
360
+ */
361
+ startAdornment: e.node,
362
+ /**
363
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
364
+ * @default 'text'
365
+ */
366
+ type: e.oneOf(["button", "checkbox", "color", "date", "datetime-local", "email", "file", "hidden", "image", "month", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "time", "url", "week"]),
367
+ /**
368
+ * The value of the `input` element, required for a controlled component.
369
+ */
370
+ value: e.any
371
+ });
372
+ const Ce = "_input__label_19vkb_77", ke = "_input_19vkb_56", Pe = {
373
+ "u-typography-h1": "_u-typography-h1_19vkb_1",
374
+ "u-typography-h2": "_u-typography-h2_19vkb_8",
375
+ "u-typography-h3": "_u-typography-h3_19vkb_15",
376
+ "u-typography-h4": "_u-typography-h4_19vkb_22",
377
+ "u-typography-h5": "_u-typography-h5_19vkb_29",
378
+ "u-typography-h6": "_u-typography-h6_19vkb_36",
379
+ "u-typography-base": "_u-typography-base_19vkb_43",
380
+ "u-typography-base--xxl": "_u-typography-base--xxl_19vkb_48",
381
+ "u-typography-base--xl": "_u-typography-base--xl_19vkb_52",
382
+ "u-typography-base--lg": "_u-typography-base--lg_19vkb_56",
383
+ "input__input-el": "_input__input-el_19vkb_56",
384
+ "u-typography-base--sm": "_u-typography-base--sm_19vkb_60",
385
+ "u-typography-base--bold": "_u-typography-base--bold_19vkb_64",
386
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_19vkb_67",
387
+ "u-typography-base--underlined": "_u-typography-base--underlined_19vkb_70",
388
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_19vkb_73",
389
+ input__label: Ce,
390
+ "input__input-el-wrapper": "_input__input-el-wrapper_19vkb_82",
391
+ "input__left-icon": "_input__left-icon_19vkb_100",
392
+ "input__right-icon": "_input__right-icon_19vkb_100",
393
+ "input__messages-wrapper": "_input__messages-wrapper_19vkb_112",
394
+ "input__info-message": "_input__info-message_19vkb_120",
395
+ "input__error-message": "_input__error-message_19vkb_120",
396
+ "input__chars-counter": "_input__chars-counter_19vkb_131",
397
+ "input--disabled": "_input--disabled_19vkb_135",
398
+ input: ke,
399
+ "input--focused": "_input--focused_19vkb_141",
400
+ "input--error": "_input--error_19vkb_144"
401
+ };
402
+ export {
403
+ ve as I,
404
+ Pe as s
405
+ };
@@ -1,10 +1,10 @@
1
- import { g as jt, a as zt, _ as It, u as Ut, b as ut, c as Xt, P as x, d as Yt, e as Kt } from "./useSlotProps-C_I1kEHr.js";
1
+ import { g as jt, a as zt, _ as It, u as Ut, b as ut, c as Xt, P as x, d as Yt, e as Kt } from "./useSlotProps-kRhf7Gil.js";
2
2
  import * as b from "react";
3
3
  import { useLayoutEffect as Gt, useEffect as Jt } from "react";
4
- import { r as Qt } from "./index-bQFToy-I.js";
4
+ import { r as Qt } from "./index-D3Wj0eid.js";
5
5
  import { jsx as Z } from "react/jsx-runtime";
6
6
  import { u as Zt } from "./useEnhancedEffect-CJGo-L3B.js";
7
- import { P as qt, H as gt } from "./Portal-oY3enyAm.js";
7
+ import { P as qt, H as gt } from "./Portal-B_Es6eUL.js";
8
8
  const et = Math.min, z = Math.max, nt = Math.round, q = Math.floor, H = (t) => ({
9
9
  x: t,
10
10
  y: t
@@ -1,6 +1,6 @@
1
1
  import * as o from "react";
2
- import { r as P, e as y } from "./index-bQFToy-I.js";
3
- import { u as T, s as a, P as i } from "./useSlotProps-C_I1kEHr.js";
2
+ import { r as P, e as y } from "./index-D3Wj0eid.js";
3
+ import { u as T, s as a, P as i } from "./useSlotProps-kRhf7Gil.js";
4
4
  import { jsx as c } from "react/jsx-runtime";
5
5
  import { u as f } from "./useEnhancedEffect-CJGo-L3B.js";
6
6
  function N(t, l, s, n, u) {
@@ -0,0 +1,61 @@
1
+ import './assets/SelectButton.css';
2
+ import { jsxs as l, jsx as _ } from "react/jsx-runtime";
3
+ import * as o from "react";
4
+ import { forwardRef as u } from "react";
5
+ import { c as b } from "./clsx-DB4S2d7J.js";
6
+ import { Typography as y } from "./components/Typography/Typography.js";
7
+ const g = "_select__listbox__option__text_11qky_64", x = "_select_11qky_64", d = "_select__popup_11qky_80", k = "_select__listbox_11qky_64", q = "_select__listbox__option_11qky_64", m = "_select__listbox__option__icon_11qky_101", w = "_select__list__option__icon_11qky_122", e = {
8
+ "u-typography-h1": "_u-typography-h1_11qky_1",
9
+ "u-typography-h2": "_u-typography-h2_11qky_8",
10
+ "u-typography-h3": "_u-typography-h3_11qky_15",
11
+ "u-typography-h4": "_u-typography-h4_11qky_22",
12
+ "u-typography-h5": "_u-typography-h5_11qky_29",
13
+ "u-typography-h6": "_u-typography-h6_11qky_36",
14
+ "u-typography-base": "_u-typography-base_11qky_43",
15
+ "u-typography-base--xxl": "_u-typography-base--xxl_11qky_48",
16
+ "u-typography-base--xl": "_u-typography-base--xl_11qky_52",
17
+ "u-typography-base--lg": "_u-typography-base--lg_11qky_56",
18
+ "u-typography-base--sm": "_u-typography-base--sm_11qky_60",
19
+ "u-typography-base--bold": "_u-typography-base--bold_11qky_64",
20
+ select__listbox__option__text: g,
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_11qky_67",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_11qky_70",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_11qky_73",
24
+ select: x,
25
+ select__popup: d,
26
+ select__listbox: k,
27
+ select__listbox__option: q,
28
+ select__listbox__option__icon: m,
29
+ "select__listbox__option--disabled": "_select__listbox__option--disabled_11qky_105",
30
+ "select__listbox__option--selected": "_select__listbox__option--selected_11qky_114",
31
+ select__list__option__icon: w,
32
+ "select-button": "_select-button_11qky_127",
33
+ "base-Select-popup": "_base-Select-popup_11qky_145",
34
+ "select-button__text": "_select-button__text_11qky_148",
35
+ "select-button__icon": "_select-button__icon_11qky_157",
36
+ "select-button--active": "_select-button--active_11qky_163"
37
+ }, C = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M2.11104 4.9999C2.36691 4.9999 2.62291 5.09756 2.81791 5.29287L8.11104 10.5843L13.4048 5.29053C13.7954 4.8999 14.4282 4.8999 14.8188 5.29053C15.2095 5.68115 15.2095 6.31396 14.8188 6.70459L8.81885 12.7046C8.42822 13.0952 7.79541 13.0952 7.40479 12.7046L1.40479 6.70459C1.01416 6.31396 1.01416 5.68115 1.40479 5.29053C1.59854 5.09678 1.85479 4.9999 2.11104 4.9999Z", fill: "currentColor" })), f = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M13.8889 11C13.633 11 13.377 10.9023 13.182 10.707L7.8889 5.41563L2.59515 10.7094C2.20453 11.1 1.57172 11.1 1.18109 10.7094C0.790466 10.3188 0.790466 9.68594 1.18109 9.29532L7.18109 3.29532C7.57172 2.90469 8.20453 2.90469 8.59515 3.29532L14.5952 9.29532C14.9858 9.68594 14.9858 10.3188 14.5952 10.7094C14.4014 10.9031 14.1452 11 13.8889 11Z", fill: "#3F3D4B", fillOpacity: 0.88 })), E = u((t, a) => {
38
+ const { children: c, disabled: i, className: n, "data-testid": r, prefix: s, onClick: h } = t, p = t["aria-expanded"];
39
+ return /* @__PURE__ */ l(
40
+ "button",
41
+ {
42
+ className: b(n, p ? e["select-button--active"] : "", e["select-button"]),
43
+ type: "button",
44
+ onClick: h,
45
+ disabled: i,
46
+ "data-testid": r,
47
+ ref: a,
48
+ children: [
49
+ /* @__PURE__ */ l("span", { className: e["select-button__text"], children: [
50
+ s && /* @__PURE__ */ _(y, { children: s }),
51
+ /* @__PURE__ */ _(y, { children: c })
52
+ ] }),
53
+ /* @__PURE__ */ _("span", { className: e["select-button__icon"], children: p ? /* @__PURE__ */ _(f, {}) : /* @__PURE__ */ _(C, {}) })
54
+ ]
55
+ }
56
+ );
57
+ });
58
+ export {
59
+ E as S,
60
+ e as s
61
+ };
@@ -2,21 +2,21 @@ import './assets/Tabs.css';
2
2
  import * as a from "react";
3
3
  const s = /* @__PURE__ */ a.createContext(null);
4
4
  process.env.NODE_ENV !== "production" && (s.displayName = "TabsContext");
5
- function e() {
5
+ function b() {
6
6
  const t = a.useContext(s);
7
7
  if (t == null)
8
8
  throw new Error("No TabsContext provided");
9
9
  return t;
10
10
  }
11
- const _ = "_tabs_1xfbu_1", b = "_tabs__tab_1xfbu_5", o = {
11
+ const _ = "_tabs_18ymz_1", e = "_tabs__tab_18ymz_5", o = {
12
12
  tabs: _,
13
- tabs__tab: b,
14
- "tabs__tab--disabled": "_tabs__tab--disabled_1xfbu_23",
15
- "tabs__tab--selected": "_tabs__tab--selected_1xfbu_32",
16
- "tabs__tab-panel": "_tabs__tab-panel_1xfbu_36"
13
+ tabs__tab: e,
14
+ "tabs__tab--disabled": "_tabs__tab--disabled_18ymz_22",
15
+ "tabs__tab--selected": "_tabs__tab--selected_18ymz_31",
16
+ "tabs__tab-panel": "_tabs__tab-panel_18ymz_35"
17
17
  };
18
18
  export {
19
19
  s as T,
20
20
  o as s,
21
- e as u
21
+ b as u
22
22
  };