@prokodo/ui 0.0.24 → 0.0.26

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 (63) hide show
  1. package/dist/components/accordion/Accordion.js +65 -65
  2. package/dist/components/animated/Animated.js +17 -17
  3. package/dist/components/animatedText/AnimatedText.js +4 -4
  4. package/dist/components/avatar/Avatar.js +34 -34
  5. package/dist/components/base-link/BaseLink.js +12 -12
  6. package/dist/components/button/Button.js +48 -48
  7. package/dist/components/calendly/Calendly.js +32 -32
  8. package/dist/components/card/Card.js +107 -107
  9. package/dist/components/carousel/Carousel.js +106 -106
  10. package/dist/components/chip/Chip.js +26 -26
  11. package/dist/components/datePicker/DatePicker.js +37 -37
  12. package/dist/components/dialog/Dialog.js +82 -82
  13. package/dist/components/drawer/Drawer.js +48 -48
  14. package/dist/components/form/Form.js +94 -94
  15. package/dist/components/form/FormField.js +41 -41
  16. package/dist/components/form/FormResponse.js +22 -22
  17. package/dist/components/grid/Grid.js +8 -8
  18. package/dist/components/grid/GridRow.js +10 -10
  19. package/dist/components/headline/Headline.js +28 -28
  20. package/dist/components/icon/Icon.js +4 -4
  21. package/dist/components/image/Image.js +15 -15
  22. package/dist/components/image-text/ImageText.js +48 -48
  23. package/dist/components/input/Input.js +121 -121
  24. package/dist/components/inputOTP/InputOTP.js +24 -24
  25. package/dist/components/label/Label.js +26 -26
  26. package/dist/components/link/Link.js +27 -27
  27. package/dist/components/list/List.js +75 -75
  28. package/dist/components/loading/Loading.js +17 -17
  29. package/dist/components/lottie/Lottie.js +23 -23
  30. package/dist/components/map/Map.js +19 -19
  31. package/dist/components/post-item/PostItem.js +73 -73
  32. package/dist/components/post-item/PostItemAuthor.js +16 -16
  33. package/dist/components/post-item/index.js +4 -2
  34. package/dist/components/post-teaser/PostTeaser.js +76 -76
  35. package/dist/components/post-widget/PostWidget.js +63 -63
  36. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +67 -67
  37. package/dist/components/quote/Quote.js +40 -40
  38. package/dist/components/rich-text/RichText.js +76 -76
  39. package/dist/components/select/Select.js +92 -92
  40. package/dist/components/skeleton/Skeleton.js +8 -8
  41. package/dist/components/slider/Slider.js +50 -50
  42. package/dist/components/stepper/Stepper.js +41 -41
  43. package/dist/components/switch/Switch.js +32 -32
  44. package/dist/components/table/Table.js +31 -31
  45. package/dist/components/teaser/Teaser.js +55 -55
  46. package/dist/constants/project.js +1 -1
  47. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +23 -23
  48. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +22 -22
  49. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +46 -46
  50. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +141 -141
  51. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +33 -33
  52. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +31 -31
  53. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +14 -14
  54. package/dist/tsconfig.build.tsbuildinfo +1 -1
  55. package/dist/types/components/post-item/index.d.ts +1 -0
  56. package/package.json +7 -3
  57. package/dist/_virtual/jsx-runtime.js +0 -5
  58. package/dist/_virtual/jsx-runtime2.js +0 -4
  59. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  60. package/dist/_virtual/react-jsx-runtime.production.js +0 -4
  61. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  62. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  63. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +0 -10
@@ -1,90 +1,90 @@
1
- import { j as o } from "../../_virtual/jsx-runtime.js";
2
- import { memo as r } from "react";
3
- import { create as e } from "../../helpers/bem.js";
4
- import { isString as h } from "../../helpers/validations.js";
5
- import g from "./Teaser.module.scss.js";
6
- import { Card as v } from "../card/Card.js";
7
- import { Lottie as C } from "../lottie/Lottie.js";
8
- import { Image as y } from "../image/Image.js";
9
- import { Headline as T } from "../headline/Headline.js";
10
- import { RichText as b } from "../rich-text/RichText.js";
11
- import { Icon as I } from "../icon/Icon.js";
12
- const s = e(g, "Teaser"), R = r(
1
+ import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
+ import { memo as v } from "react";
3
+ import { create as x } from "../../helpers/bem.js";
4
+ import { isString as _ } from "../../helpers/validations.js";
5
+ import C from "./Teaser.module.scss.js";
6
+ import { Card as y } from "../card/Card.js";
7
+ import { Lottie as T } from "../lottie/Lottie.js";
8
+ import { Image as b } from "../image/Image.js";
9
+ import { Headline as I } from "../headline/Headline.js";
10
+ import { RichText as j } from "../rich-text/RichText.js";
11
+ import { Icon as k } from "../icon/Icon.js";
12
+ const m = x(C, "Teaser"), w = v(
13
13
  ({
14
- className: f,
14
+ className: g,
15
15
  variant: n = "primary",
16
- animation: l,
17
- lineClamp: c,
16
+ animation: c,
17
+ lineClamp: N,
18
18
  align: p,
19
- image: N,
20
- title: m,
21
- content: x,
22
- onClick: j,
19
+ image: h,
20
+ title: o,
21
+ content: i,
22
+ onClick: r,
23
23
  redirect: a,
24
- ..._
24
+ ...e
25
25
  }) => {
26
- var i;
27
- return /* @__PURE__ */ o.jsxs(
28
- v,
26
+ var f;
27
+ return /* @__PURE__ */ l(
28
+ y,
29
29
  {
30
30
  variant: n,
31
- ..._,
32
- className: s(void 0, void 0, f),
33
- contentClassName: s("card"),
31
+ ...e,
32
+ className: m(void 0, void 0, g),
33
+ contentClassName: m("card"),
34
34
  redirect: a,
35
- onClick: j,
35
+ onClick: r,
36
36
  children: [
37
- l && /* @__PURE__ */ o.jsx(C, { animationName: l, className: s("animation") }),
38
- N && /* @__PURE__ */ o.jsx("div", { className: s("image__wrapper"), children: /* @__PURE__ */ o.jsx(
39
- y,
37
+ c && /* @__PURE__ */ s(T, { animationName: c, className: m("animation") }),
38
+ h && /* @__PURE__ */ s("div", { className: m("image__wrapper"), children: /* @__PURE__ */ s(
39
+ b,
40
40
  {
41
- ...N,
42
- captionClassName: s("image__caption"),
43
- className: s("image"),
44
- containerClassName: s("image")
41
+ ...h,
42
+ captionClassName: m("image__caption"),
43
+ className: m("image"),
44
+ containerClassName: m("image")
45
45
  }
46
46
  ) }),
47
- /* @__PURE__ */ o.jsxs("div", { className: s("card__content"), children: [
48
- /* @__PURE__ */ o.jsx(
49
- T,
47
+ /* @__PURE__ */ l("div", { className: m("card__content"), children: [
48
+ /* @__PURE__ */ s(
49
+ I,
50
50
  {
51
51
  align: p ?? "center",
52
52
  size: "md",
53
53
  type: "h3",
54
- ...m,
55
- variant: (m == null ? void 0 : m.variant) ?? n,
56
- className: s(
54
+ ...o,
55
+ variant: (o == null ? void 0 : o.variant) ?? n,
56
+ className: m(
57
57
  "headline",
58
58
  {
59
- "has-lineClamp": !!c
59
+ "has-lineClamp": !!N
60
60
  },
61
- m == null ? void 0 : m.className
61
+ o == null ? void 0 : o.className
62
62
  ),
63
- children: m == null ? void 0 : m.content
63
+ children: o == null ? void 0 : o.content
64
64
  }
65
65
  ),
66
- h(x) && /* @__PURE__ */ o.jsx(
67
- b,
66
+ _(i) && /* @__PURE__ */ s(
67
+ j,
68
68
  {
69
- className: s("content", {
70
- "has-lineClamp": !!c,
69
+ className: m("content", {
70
+ "has-lineClamp": !!N,
71
71
  [`align-${p}`]: !!p
72
72
  }),
73
- children: x
73
+ children: i
74
74
  }
75
75
  ),
76
- h(a == null ? void 0 : a.label) && /* @__PURE__ */ o.jsxs("span", { className: s("link"), children: [
77
- /* @__PURE__ */ o.jsx(
78
- I,
76
+ _(a == null ? void 0 : a.label) && /* @__PURE__ */ l("span", { className: m("link"), children: [
77
+ /* @__PURE__ */ s(
78
+ k,
79
79
  {
80
80
  color: n,
81
81
  name: "ArrowRight01Icon",
82
82
  size: "xs",
83
83
  ...a == null ? void 0 : a.icon,
84
- className: s(
84
+ className: m(
85
85
  "link__icon",
86
86
  void 0,
87
- (i = a == null ? void 0 : a.icon) == null ? void 0 : i.className
87
+ (f = a == null ? void 0 : a.icon) == null ? void 0 : f.className
88
88
  )
89
89
  }
90
90
  ),
@@ -96,7 +96,7 @@ const s = e(g, "Teaser"), R = r(
96
96
  );
97
97
  }
98
98
  );
99
- R.displayName = "Teaser";
99
+ w.displayName = "Teaser";
100
100
  export {
101
- R as Teaser
101
+ w as Teaser
102
102
  };
@@ -1,4 +1,4 @@
1
- const O = "0.0.24";
1
+ const O = "0.0.26";
2
2
  export {
3
3
  O as PROKODO_UI_VERSION
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import * as n from "react";
2
2
  import o from "../../../../../../../_virtual/index.js";
3
- import { getOptionUtilityClass as N } from "./optionClasses.js";
4
- import { useClassNamesOverride as S } from "../utils/ClassNameConfigurator.js";
5
- import { j as l } from "../../../../../../../_virtual/jsx-runtime.js";
6
- import { useOptionContextStabilizer as T } from "../useOption/useOptionContextStabilizer.js";
7
- import w from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
3
+ import { getOptionUtilityClass as S } from "./optionClasses.js";
4
+ import { useClassNamesOverride as T } from "../utils/ClassNameConfigurator.js";
5
+ import { jsx as l } from "react/jsx-runtime";
6
+ import { useOptionContextStabilizer as w } from "../useOption/useOptionContextStabilizer.js";
7
+ import j from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
8
8
  import { useOption as E } from "../useOption/useOption.js";
9
9
  import F from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js";
10
10
  import L from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
@@ -17,7 +17,7 @@ function V(i) {
17
17
  } = i;
18
18
  return L({
19
19
  root: ["root", e && "disabled", s && "highlighted", t && "selected"]
20
- }, S(N));
20
+ }, T(S));
21
21
  }
22
22
  const k = /* @__PURE__ */ n.memo(/* @__PURE__ */ n.forwardRef(function(e, s) {
23
23
  var m, d;
@@ -27,34 +27,34 @@ const k = /* @__PURE__ */ n.memo(/* @__PURE__ */ n.forwardRef(function(e, s) {
27
27
  label: f,
28
28
  slotProps: u = {},
29
29
  slots: h = {},
30
- value: x,
31
- ...b
32
- } = e, p = h.root ?? "li", c = n.useRef(null), g = w(c, s), R = f ?? (typeof t == "string" ? t : (d = (m = c.current) == null ? void 0 : m.textContent) == null ? void 0 : d.trim()), {
33
- getRootProps: O,
34
- selected: P,
30
+ value: b,
31
+ ...g
32
+ } = e, p = h.root ?? "li", c = n.useRef(null), R = j(c, s), O = f ?? (typeof t == "string" ? t : (d = (m = c.current) == null ? void 0 : m.textContent) == null ? void 0 : d.trim()), {
33
+ getRootProps: P,
34
+ selected: x,
35
35
  highlighted: y,
36
36
  index: v
37
37
  } = E({
38
38
  disabled: r,
39
- label: R,
40
- rootRef: g,
41
- value: x
39
+ label: O,
40
+ rootRef: R,
41
+ value: b
42
42
  }), a = {
43
43
  ...e,
44
44
  disabled: r,
45
45
  highlighted: y,
46
46
  index: v,
47
- selected: P
48
- }, C = V(a), j = F({
49
- getSlotProps: O,
47
+ selected: x
48
+ }, C = V(a), N = F({
49
+ getSlotProps: P,
50
50
  elementType: p,
51
51
  externalSlotProps: u.root,
52
- externalForwardedProps: b,
52
+ externalForwardedProps: g,
53
53
  className: C.root,
54
54
  ownerState: a
55
55
  });
56
- return /* @__PURE__ */ l.jsx(p, {
57
- ...j,
56
+ return /* @__PURE__ */ l(p, {
57
+ ...N,
58
58
  children: t
59
59
  });
60
60
  })), q = /* @__PURE__ */ n.forwardRef(function(e, s) {
@@ -62,10 +62,10 @@ const k = /* @__PURE__ */ n.memo(/* @__PURE__ */ n.forwardRef(function(e, s) {
62
62
  value: t
63
63
  } = e, {
64
64
  contextValue: r
65
- } = T(t);
66
- return /* @__PURE__ */ l.jsx(U.Provider, {
65
+ } = w(t);
66
+ return /* @__PURE__ */ l(U.Provider, {
67
67
  value: r,
68
- children: /* @__PURE__ */ l.jsx(k, {
68
+ children: /* @__PURE__ */ l(k, {
69
69
  ...e,
70
70
  ref: s
71
71
  })
@@ -1,45 +1,45 @@
1
1
  import * as o from "react";
2
2
  import * as y from "react-dom";
3
3
  import p from "../../../../../../../_virtual/index.js";
4
- import { j as c } from "../../../../../../../_virtual/jsx-runtime.js";
4
+ import { jsx as f } from "react/jsx-runtime";
5
5
  import P from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
6
6
  import N from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js";
7
- import f from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js";
7
+ import s from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js";
8
8
  import l from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js";
9
9
  import T from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js";
10
10
  import h from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js";
11
- function x(n) {
11
+ function R(n) {
12
12
  return typeof n == "function" ? n() : n;
13
13
  }
14
- const s = /* @__PURE__ */ o.forwardRef(function(u, i) {
14
+ const m = /* @__PURE__ */ o.forwardRef(function(u, i) {
15
15
  const {
16
- children: t,
17
- container: m,
18
- disablePortal: r = !1
19
- } = u, [e, a] = o.useState(null), d = P(N(t), i);
20
- if (f(() => {
21
- r || a(x(m) || document.body);
22
- }, [m, r]), f(() => {
23
- if (e && !r)
16
+ children: r,
17
+ container: c,
18
+ disablePortal: t = !1
19
+ } = u, [e, a] = o.useState(null), d = P(N(r), i);
20
+ if (s(() => {
21
+ t || a(R(c) || document.body);
22
+ }, [c, t]), s(() => {
23
+ if (e && !t)
24
24
  return l(i, e), () => {
25
25
  l(i, null);
26
26
  };
27
- }, [i, e, r]), r) {
28
- if (/* @__PURE__ */ o.isValidElement(t)) {
27
+ }, [i, e, t]), t) {
28
+ if (/* @__PURE__ */ o.isValidElement(r)) {
29
29
  const E = {
30
30
  ref: d
31
31
  };
32
- return /* @__PURE__ */ o.cloneElement(t, E);
32
+ return /* @__PURE__ */ o.cloneElement(r, E);
33
33
  }
34
- return /* @__PURE__ */ c.jsx(o.Fragment, {
35
- children: t
34
+ return /* @__PURE__ */ f(o.Fragment, {
35
+ children: r
36
36
  });
37
37
  }
38
- return /* @__PURE__ */ c.jsx(o.Fragment, {
39
- children: e && /* @__PURE__ */ y.createPortal(t, e)
38
+ return /* @__PURE__ */ f(o.Fragment, {
39
+ children: e && /* @__PURE__ */ y.createPortal(r, e)
40
40
  });
41
41
  });
42
- process.env.NODE_ENV !== "production" && (s.propTypes = {
42
+ process.env.NODE_ENV !== "production" && (m.propTypes = {
43
43
  // ┌────────────────────────────── Warning ──────────────────────────────┐
44
44
  // │ These PropTypes are generated from the TypeScript type definitions. │
45
45
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -65,7 +65,7 @@ process.env.NODE_ENV !== "production" && (s.propTypes = {
65
65
  */
66
66
  disablePortal: p.bool
67
67
  });
68
- process.env.NODE_ENV !== "production" && (s.propTypes = h(s.propTypes));
68
+ process.env.NODE_ENV !== "production" && (m.propTypes = h(m.propTypes));
69
69
  export {
70
- s as Portal
70
+ m as Portal
71
71
  };
@@ -1,61 +1,61 @@
1
1
  import * as t from "react";
2
2
  import e from "../../../../../../../_virtual/index.js";
3
3
  import { Popup as ne } from "../Unstable_Popup/Popup.js";
4
- import { getSelectUtilityClass as se } from "./selectClasses.js";
5
- import { defaultOptionStringifier as le } from "../useSelect/defaultOptionStringifier.js";
4
+ import { getSelectUtilityClass as le } from "./selectClasses.js";
5
+ import { defaultOptionStringifier as se } from "../useSelect/defaultOptionStringifier.js";
6
6
  import { useClassNamesOverride as re } from "../utils/ClassNameConfigurator.js";
7
7
  import { SelectProvider as ae } from "../useSelect/SelectProvider.js";
8
- import { j as n } from "../../../../../../../_virtual/jsx-runtime.js";
9
- import pe from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
10
- import { useSelect as ie } from "../useSelect/useSelect.js";
8
+ import { jsxs as pe, jsx as n } from "react/jsx-runtime";
9
+ import ie from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
10
+ import { useSelect as ue } from "../useSelect/useSelect.js";
11
11
  import P from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js";
12
- import ue from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
13
- var j;
14
- function ce(o) {
15
- return Array.isArray(o) ? /* @__PURE__ */ n.jsx(t.Fragment, {
16
- children: o.map((s) => s.label).join(", ")
12
+ import ce from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
13
+ var R;
14
+ function de(o) {
15
+ return Array.isArray(o) ? /* @__PURE__ */ n(t.Fragment, {
16
+ children: o.map((l) => l.label).join(", ")
17
17
  }) : (o == null ? void 0 : o.label) ?? null;
18
18
  }
19
- function de(o) {
19
+ function fe(o) {
20
20
  const {
21
- active: s,
21
+ active: l,
22
22
  disabled: r,
23
23
  open: p,
24
24
  focusVisible: i
25
25
  } = o;
26
- return ue({
27
- root: ["root", r && "disabled", i && "focusVisible", s && "active", p && "expanded"],
26
+ return ce({
27
+ root: ["root", r && "disabled", i && "focusVisible", l && "active", p && "expanded"],
28
28
  listbox: ["listbox", r && "disabled"],
29
29
  popup: ["popup"]
30
- }, re(se));
30
+ }, re(le));
31
31
  }
32
- const fe = /* @__PURE__ */ t.forwardRef(function(s, r) {
32
+ const me = /* @__PURE__ */ t.forwardRef(function(l, r) {
33
33
  const {
34
34
  areOptionsEqual: p,
35
35
  autoComplete: i,
36
36
  autoFocus: u,
37
- children: R,
38
- defaultValue: T,
37
+ children: T,
38
+ defaultValue: N,
39
39
  defaultListboxOpen: h = !1,
40
- disabled: N,
41
- getSerializedValue: F,
40
+ disabled: F,
41
+ getSerializedValue: j,
42
42
  listboxId: B,
43
- listboxOpen: E,
43
+ listboxOpen: L,
44
44
  multiple: c = !1,
45
- name: L,
46
- required: A = !1,
45
+ name: A,
46
+ required: E = !1,
47
47
  onChange: q,
48
48
  onListboxOpenChange: k,
49
- getOptionAsString: w = le,
49
+ getOptionAsString: w = se,
50
50
  renderValue: D,
51
51
  placeholder: I,
52
52
  slotProps: d = {},
53
53
  slots: f = {},
54
54
  value: M,
55
55
  ...z
56
- } = s, S = D ?? ce, [U, _] = t.useState(!1), m = t.useRef(null), H = t.useRef(null), y = f.root ?? "button", v = f.listbox ?? "ul", C = f.popup ?? "div", G = t.useCallback((l) => {
57
- _(l != null);
58
- }, []), J = pe(r, m, G);
56
+ } = l, S = D ?? de, [U, _] = t.useState(!1), m = t.useRef(null), H = t.useRef(null), y = f.root ?? "button", v = f.listbox ?? "ul", C = f.popup ?? "div", G = t.useCallback((s) => {
57
+ _(s != null);
58
+ }, []), J = ie(r, m, G);
59
59
  t.useEffect(() => {
60
60
  u && m.current.focus();
61
61
  }, [u]);
@@ -70,25 +70,25 @@ const fe = /* @__PURE__ */ t.forwardRef(function(s, r) {
70
70
  getOptionMetadata: O,
71
71
  value: b,
72
72
  open: V
73
- } = ie({
74
- name: L,
75
- required: A,
76
- getSerializedValue: F,
73
+ } = ue({
74
+ name: A,
75
+ required: E,
76
+ getSerializedValue: j,
77
77
  areOptionsEqual: p,
78
78
  buttonRef: J,
79
79
  defaultOpen: h,
80
- defaultValue: T,
81
- disabled: N,
80
+ defaultValue: N,
81
+ disabled: F,
82
82
  listboxId: B,
83
83
  multiple: c,
84
- open: E,
84
+ open: L,
85
85
  onChange: q,
86
86
  onOpenChange: k,
87
87
  getOptionAsString: w,
88
88
  value: M,
89
89
  componentName: "Select"
90
90
  }), a = {
91
- ...s,
91
+ ...l,
92
92
  active: K,
93
93
  defaultListboxOpen: h,
94
94
  disabled: X,
@@ -97,7 +97,7 @@ const fe = /* @__PURE__ */ t.forwardRef(function(s, r) {
97
97
  multiple: c,
98
98
  renderValue: S,
99
99
  value: b
100
- }, x = de(a), ee = P({
100
+ }, x = fe(a), ee = P({
101
101
  elementType: y,
102
102
  getSlotProps: Y,
103
103
  externalSlotProps: d.root,
@@ -127,34 +127,34 @@ const fe = /* @__PURE__ */ t.forwardRef(function(s, r) {
127
127
  className: x.popup
128
128
  });
129
129
  let g;
130
- return c ? g = b.map((l) => O(l)).filter((l) => l !== void 0) : g = O(b) ?? null, /* @__PURE__ */ n.jsxs(t.Fragment, {
131
- children: [/* @__PURE__ */ n.jsx(y, {
130
+ return c ? g = b.map((s) => O(s)).filter((s) => s !== void 0) : g = O(b) ?? null, /* @__PURE__ */ pe(t.Fragment, {
131
+ children: [/* @__PURE__ */ n(y, {
132
132
  ...ee,
133
133
  children: S(g) ?? I ?? // fall back to a zero-width space to prevent layout shift
134
134
  // from https://github.com/mui/material-ui/pull/24563
135
- (j || (j = /* @__PURE__ */ n.jsx("span", {
135
+ (R || (R = /* @__PURE__ */ n("span", {
136
136
  className: "notranslate",
137
137
  children: "​"
138
138
  })))
139
- }), U && /* @__PURE__ */ n.jsx(ne, {
139
+ }), U && /* @__PURE__ */ n(ne, {
140
140
  slots: {
141
141
  root: C
142
142
  },
143
143
  ...te,
144
- children: /* @__PURE__ */ n.jsx(v, {
144
+ children: /* @__PURE__ */ n(v, {
145
145
  ...oe,
146
- children: /* @__PURE__ */ n.jsx(ae, {
146
+ children: /* @__PURE__ */ n(ae, {
147
147
  value: W,
148
- children: R
148
+ children: T
149
149
  })
150
150
  })
151
- }), /* @__PURE__ */ n.jsx("input", {
151
+ }), /* @__PURE__ */ n("input", {
152
152
  ...$(),
153
153
  autoComplete: i
154
154
  })]
155
155
  });
156
156
  });
157
- process.env.NODE_ENV !== "production" && (fe.propTypes = {
157
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
158
158
  // ┌────────────────────────────── Warning ──────────────────────────────┐
159
159
  // │ These PropTypes are generated from the TypeScript type definitions. │
160
160
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -282,5 +282,5 @@ process.env.NODE_ENV !== "production" && (fe.propTypes = {
282
282
  value: e.any
283
283
  });
284
284
  export {
285
- fe as Select
285
+ me as Select
286
286
  };