@prokodo/ui 0.0.25 → 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 (61) 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-teaser/PostTeaser.js +76 -76
  34. package/dist/components/post-widget/PostWidget.js +63 -63
  35. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +67 -67
  36. package/dist/components/quote/Quote.js +40 -40
  37. package/dist/components/rich-text/RichText.js +76 -76
  38. package/dist/components/select/Select.js +92 -92
  39. package/dist/components/skeleton/Skeleton.js +8 -8
  40. package/dist/components/slider/Slider.js +50 -50
  41. package/dist/components/stepper/Stepper.js +41 -41
  42. package/dist/components/switch/Switch.js +32 -32
  43. package/dist/components/table/Table.js +31 -31
  44. package/dist/components/teaser/Teaser.js +55 -55
  45. package/dist/constants/project.js +1 -1
  46. 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
  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/Portal/Portal.js +22 -22
  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/Select/Select.js +46 -46
  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/Slider/Slider.js +141 -141
  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/Switch/Switch.js +33 -33
  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/Unstable_Popup/Popup.js +31 -31
  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/useSelect/SelectProvider.js +14 -14
  53. package/dist/tsconfig.build.tsbuildinfo +1 -1
  54. package/package.json +7 -3
  55. package/dist/_virtual/jsx-runtime.js +0 -5
  56. package/dist/_virtual/jsx-runtime2.js +0 -4
  57. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  58. package/dist/_virtual/react-jsx-runtime.production.js +0 -4
  59. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  60. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  61. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +0 -10
@@ -1,28 +1,28 @@
1
- import * as K from "react";
1
+ import * as Q from "react";
2
2
  import e from "../../../../../../../_virtual/index.js";
3
- import { clsx as E } from "../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
4
- import { isHostComponent as F } from "../utils/isHostComponent.js";
5
- import { getSliderUtilityClass as ge } from "./sliderClasses.js";
6
- import { resolveComponentProps as ke } from "../utils/resolveComponentProps.js";
7
- import { useClassNamesOverride as Te } from "../utils/ClassNameConfigurator.js";
8
- import { j as u } from "../../../../../../../_virtual/jsx-runtime.js";
9
- import { useSlider as he, valueToPercent as Q } from "../useSlider/useSlider.js";
10
- import m 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";
11
- import Pe 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";
12
- import W from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js";
13
- function X(l) {
3
+ import { clsx as F } from "../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
4
+ import { isHostComponent as E } from "../utils/isHostComponent.js";
5
+ import { getSliderUtilityClass as ke } from "./sliderClasses.js";
6
+ import { resolveComponentProps as Te } from "../utils/resolveComponentProps.js";
7
+ import { useClassNamesOverride as he } from "../utils/ClassNameConfigurator.js";
8
+ import { jsxs as M, jsx as p } from "react/jsx-runtime";
9
+ import { useSlider as Pe, valueToPercent as W } from "../useSlider/useSlider.js";
10
+ import c 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";
11
+ import Le 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";
12
+ import X from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js";
13
+ function Z(l) {
14
14
  return l;
15
15
  }
16
- const xe = (l) => {
16
+ const Oe = (l) => {
17
17
  const {
18
- disabled: p,
19
- dragging: x,
20
- marked: L,
21
- orientation: O,
18
+ disabled: m,
19
+ dragging: L,
20
+ marked: O,
21
+ orientation: S,
22
22
  track: f
23
23
  } = l;
24
- return Pe({
25
- root: ["root", p && "disabled", x && "dragging", L && "marked", O === "vertical" && "vertical", f === "inverted" && "trackInverted", f === !1 && "trackFalse"],
24
+ return Le({
25
+ root: ["root", m && "disabled", L && "dragging", O && "marked", S === "vertical" && "vertical", f === "inverted" && "trackInverted", f === !1 && "trackFalse"],
26
26
  rail: ["rail"],
27
27
  track: ["track"],
28
28
  mark: ["mark"],
@@ -30,202 +30,202 @@ const xe = (l) => {
30
30
  markLabel: ["markLabel"],
31
31
  markLabelActive: ["markLabelActive"],
32
32
  valueLabel: ["valueLabel"],
33
- thumb: ["thumb", p && "disabled"],
33
+ thumb: ["thumb", m && "disabled"],
34
34
  active: ["active"],
35
35
  disabled: ["disabled"],
36
36
  focusVisible: ["focusVisible"]
37
- }, Te(ge));
38
- }, Le = /* @__PURE__ */ K.forwardRef(function(p, x) {
37
+ }, he(ke));
38
+ }, Se = /* @__PURE__ */ Q.forwardRef(function(m, L) {
39
39
  const {
40
- "aria-label": L,
41
- "aria-valuetext": O,
40
+ "aria-label": O,
41
+ "aria-valuetext": S,
42
42
  "aria-labelledby": f,
43
- className: M,
44
- disableSwap: Z = !1,
45
- disabled: U = !1,
46
- getAriaLabel: z,
47
- getAriaValueText: H,
48
- marks: $ = !1,
43
+ className: U,
44
+ disableSwap: $ = !1,
45
+ disabled: z = !1,
46
+ getAriaLabel: H,
47
+ getAriaValueText: Y,
48
+ marks: ee = !1,
49
49
  max: d = 100,
50
50
  min: y = 0,
51
- name: Oe,
52
- onChange: Se,
53
- onChangeCommitted: je,
54
- orientation: ee = "horizontal",
55
- shiftStep: ae = 10,
56
- scale: v = X,
57
- step: te = 1,
58
- tabIndex: Ae,
51
+ name: xe,
52
+ onChange: Ae,
53
+ onChangeCommitted: Ne,
54
+ orientation: ae = "horizontal",
55
+ shiftStep: te = 10,
56
+ scale: v = Z,
57
+ step: re = 1,
58
+ tabIndex: Ve,
59
59
  track: g = "normal",
60
- value: Ne,
61
- valueLabelFormat: b = X,
62
- isRtl: re = !1,
63
- defaultValue: le,
60
+ value: Ce,
61
+ valueLabelFormat: b = Z,
62
+ isRtl: le = !1,
63
+ defaultValue: oe,
64
64
  slotProps: i = {},
65
- slots: c = {},
66
- ...oe
67
- } = p, Y = {
68
- ...p,
69
- marks: $,
70
- disabled: U,
71
- disableSwap: Z,
72
- isRtl: re,
73
- defaultValue: le,
65
+ slots: u = {},
66
+ ...ne
67
+ } = m, q = {
68
+ ...m,
69
+ marks: ee,
70
+ disabled: z,
71
+ disableSwap: $,
72
+ isRtl: le,
73
+ defaultValue: oe,
74
74
  max: d,
75
75
  min: y,
76
- orientation: ee,
76
+ orientation: ae,
77
77
  scale: v,
78
- step: te,
79
- shiftStep: ae,
78
+ step: re,
79
+ shiftStep: te,
80
80
  track: g,
81
81
  valueLabelFormat: b
82
82
  }, {
83
83
  axisProps: k,
84
84
  getRootProps: se,
85
- getHiddenInputProps: ne,
86
- getThumbProps: ie,
87
- active: S,
85
+ getHiddenInputProps: ie,
86
+ getThumbProps: ue,
87
+ active: x,
88
88
  axis: T,
89
- range: q,
90
- focusedThumbIndex: j,
91
- dragging: ue,
92
- marks: A,
89
+ range: D,
90
+ focusedThumbIndex: A,
91
+ dragging: ce,
92
+ marks: N,
93
93
  values: o,
94
- trackOffset: ce,
95
- trackLeap: me,
96
- getThumbStyle: pe
97
- } = he({
98
- ...Y,
99
- rootRef: x
100
- }), s = {
101
- ...Y,
102
- marked: A.length > 0 && A.some((a) => a.label),
103
- dragging: ue,
104
- focusedThumbIndex: j,
105
- activeThumbIndex: S
106
- }, n = xe(s), D = c.root ?? "span", be = m({
107
- elementType: D,
94
+ trackOffset: me,
95
+ trackLeap: pe,
96
+ getThumbStyle: be
97
+ } = Pe({
98
+ ...q,
99
+ rootRef: L
100
+ }), n = {
101
+ ...q,
102
+ marked: N.length > 0 && N.some((a) => a.label),
103
+ dragging: ce,
104
+ focusedThumbIndex: A,
105
+ activeThumbIndex: x
106
+ }, s = Oe(n), _ = u.root ?? "span", fe = c({
107
+ elementType: _,
108
108
  getSlotProps: se,
109
109
  externalSlotProps: i.root,
110
- externalForwardedProps: oe,
111
- ownerState: s,
112
- className: [n.root, M]
113
- }), _ = c.rail ?? "span", fe = m({
114
- elementType: _,
115
- externalSlotProps: i.rail,
116
- ownerState: s,
117
- className: n.rail
118
- }), B = c.track ?? "span", de = m({
110
+ externalForwardedProps: ne,
111
+ ownerState: n,
112
+ className: [s.root, U]
113
+ }), B = u.rail ?? "span", de = c({
119
114
  elementType: B,
115
+ externalSlotProps: i.rail,
116
+ ownerState: n,
117
+ className: s.rail
118
+ }), G = u.track ?? "span", ye = c({
119
+ elementType: G,
120
120
  externalSlotProps: i.track,
121
121
  additionalProps: {
122
122
  style: {
123
- ...k[T].offset(ce),
124
- ...k[T].leap(me)
123
+ ...k[T].offset(me),
124
+ ...k[T].leap(pe)
125
125
  }
126
126
  },
127
- ownerState: s,
128
- className: n.track
129
- }), G = c.thumb ?? "span", N = m({
130
- elementType: G,
131
- getSlotProps: ie,
127
+ ownerState: n,
128
+ className: s.track
129
+ }), J = u.thumb ?? "span", V = c({
130
+ elementType: J,
131
+ getSlotProps: ue,
132
132
  externalSlotProps: i.thumb,
133
- ownerState: s,
133
+ ownerState: n,
134
134
  skipResolvingSlotProps: !0
135
- }), h = c.valueLabel, ye = m({
135
+ }), h = u.valueLabel, ve = c({
136
136
  elementType: h,
137
137
  externalSlotProps: i.valueLabel,
138
- ownerState: s
139
- }), V = c.mark ?? "span", C = m({
140
- elementType: V,
138
+ ownerState: n
139
+ }), C = u.mark ?? "span", w = c({
140
+ elementType: C,
141
141
  externalSlotProps: i.mark,
142
- ownerState: s,
143
- className: n.mark
144
- }), w = c.markLabel ?? "span", R = m({
145
- elementType: w,
142
+ ownerState: n,
143
+ className: s.mark
144
+ }), I = u.markLabel ?? "span", R = c({
145
+ elementType: I,
146
146
  externalSlotProps: i.markLabel,
147
- ownerState: s
148
- }), J = c.input || "input", ve = m({
149
- elementType: J,
150
- getSlotProps: ne,
147
+ ownerState: n
148
+ }), K = u.input || "input", ge = c({
149
+ elementType: K,
150
+ getSlotProps: ie,
151
151
  externalSlotProps: i.input,
152
- ownerState: s
152
+ ownerState: n
153
153
  });
154
- return /* @__PURE__ */ u.jsxs(D, {
155
- ...be,
156
- children: [/* @__PURE__ */ u.jsx(_, {
157
- ...fe
158
- }), /* @__PURE__ */ u.jsx(B, {
154
+ return /* @__PURE__ */ M(_, {
155
+ ...fe,
156
+ children: [/* @__PURE__ */ p(B, {
159
157
  ...de
160
- }), A.filter((a) => a.value >= y && a.value <= d).map((a, t) => {
161
- const I = Q(a.value, y, d), P = k[T].offset(I);
158
+ }), /* @__PURE__ */ p(G, {
159
+ ...ye
160
+ }), N.filter((a) => a.value >= y && a.value <= d).map((a, t) => {
161
+ const j = W(a.value, y, d), P = k[T].offset(j);
162
162
  let r;
163
- return g === !1 ? r = o.indexOf(a.value) !== -1 : r = g === "normal" && (q ? a.value >= o[0] && a.value <= o[o.length - 1] : a.value <= o[0]) || g === "inverted" && (q ? a.value <= o[0] || a.value >= o[o.length - 1] : a.value >= o[0]), /* @__PURE__ */ u.jsxs(K.Fragment, {
164
- children: [/* @__PURE__ */ u.jsx(V, {
163
+ return g === !1 ? r = o.indexOf(a.value) !== -1 : r = g === "normal" && (D ? a.value >= o[0] && a.value <= o[o.length - 1] : a.value <= o[0]) || g === "inverted" && (D ? a.value <= o[0] || a.value >= o[o.length - 1] : a.value >= o[0]), /* @__PURE__ */ M(Q.Fragment, {
164
+ children: [/* @__PURE__ */ p(C, {
165
165
  "data-index": t,
166
- ...C,
167
- ...!F(V) && {
166
+ ...w,
167
+ ...!E(C) && {
168
168
  markActive: r
169
169
  },
170
170
  style: {
171
171
  ...P,
172
- ...C.style
172
+ ...w.style
173
173
  },
174
- className: E(C.className, r && n.markActive)
175
- }), a.label != null ? /* @__PURE__ */ u.jsx(w, {
174
+ className: F(w.className, r && s.markActive)
175
+ }), a.label != null ? /* @__PURE__ */ p(I, {
176
176
  "aria-hidden": !0,
177
177
  "data-index": t,
178
178
  ...R,
179
- ...!F(w) && {
179
+ ...!E(I) && {
180
180
  markLabelActive: r
181
181
  },
182
182
  style: {
183
183
  ...P,
184
184
  ...R.style
185
185
  },
186
- className: E(n.markLabel, R.className, r && n.markLabelActive),
186
+ className: F(s.markLabel, R.className, r && s.markLabelActive),
187
187
  children: a.label
188
188
  }) : null]
189
189
  }, t);
190
190
  }), o.map((a, t) => {
191
- const I = Q(a, y, d), P = k[T].offset(I), r = ke(i.thumb, s, {
191
+ const j = W(a, y, d), P = k[T].offset(j), r = Te(i.thumb, n, {
192
192
  index: t,
193
- focused: j === t,
194
- active: S === t
193
+ focused: A === t,
194
+ active: x === t
195
195
  });
196
- return /* @__PURE__ */ u.jsxs(G, {
196
+ return /* @__PURE__ */ M(J, {
197
197
  "data-index": t,
198
- ...N,
198
+ ...V,
199
199
  ...r,
200
- className: E(n.thumb, N.className, r == null ? void 0 : r.className, S === t && n.active, j === t && n.focusVisible),
200
+ className: F(s.thumb, V.className, r == null ? void 0 : r.className, x === t && s.active, A === t && s.focusVisible),
201
201
  style: {
202
202
  ...P,
203
- ...pe(t),
204
- ...N.style,
203
+ ...be(t),
204
+ ...V.style,
205
205
  ...r == null ? void 0 : r.style
206
206
  },
207
- children: [/* @__PURE__ */ u.jsx(J, {
207
+ children: [/* @__PURE__ */ p(K, {
208
208
  "data-index": t,
209
- "aria-label": z ? z(t) : L,
209
+ "aria-label": H ? H(t) : O,
210
210
  "aria-valuenow": v(a),
211
211
  "aria-labelledby": f,
212
- "aria-valuetext": H ? H(v(a), t) : O,
212
+ "aria-valuetext": Y ? Y(v(a), t) : S,
213
213
  value: o[t],
214
- ...ve
215
- }), h ? /* @__PURE__ */ u.jsx(h, {
216
- ...!F(h) && {
214
+ ...ge
215
+ }), h ? /* @__PURE__ */ p(h, {
216
+ ...!E(h) && {
217
217
  valueLabelFormat: b,
218
218
  index: t,
219
- disabled: U
219
+ disabled: z
220
220
  },
221
- ...ye,
221
+ ...ve,
222
222
  children: typeof b == "function" ? b(v(a), t) : b
223
223
  }) : null]
224
224
  }, t);
225
225
  })]
226
226
  });
227
227
  });
228
- process.env.NODE_ENV !== "production" && (Le.propTypes = {
228
+ process.env.NODE_ENV !== "production" && (Se.propTypes = {
229
229
  // ┌────────────────────────────── Warning ──────────────────────────────┐
230
230
  // │ These PropTypes are generated from the TypeScript type definitions. │
231
231
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -233,7 +233,7 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
233
233
  /**
234
234
  * The label of the slider.
235
235
  */
236
- "aria-label": W(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-label"] != null ? new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.") : null),
236
+ "aria-label": X(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-label"] != null ? new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.") : null),
237
237
  /**
238
238
  * The id of the element containing a label for the slider.
239
239
  */
@@ -241,7 +241,7 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
241
241
  /**
242
242
  * A string value that provides a user-friendly name for the current value of the slider.
243
243
  */
244
- "aria-valuetext": W(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-valuetext"] != null ? new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.") : null),
244
+ "aria-valuetext": X(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-valuetext"] != null ? new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.") : null),
245
245
  /**
246
246
  * The default value. Use when the component is not controlled.
247
247
  */
@@ -410,5 +410,5 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
410
410
  valueLabelFormat: e.oneOfType([e.func, e.string])
411
411
  });
412
412
  export {
413
- Le as Slider
413
+ Se as Slider
414
414
  };
@@ -1,35 +1,35 @@
1
- import * as w from "react";
1
+ import * as g from "react";
2
2
  import e from "../../../../../../../_virtual/index.js";
3
- import { useClassNamesOverride as g } from "../utils/ClassNameConfigurator.js";
3
+ import { useClassNamesOverride as j } from "../utils/ClassNameConfigurator.js";
4
4
  import { getSwitchUtilityClass as V } from "./switchClasses.js";
5
- import { j as c } from "../../../../../../../_virtual/jsx-runtime.js";
6
- import { useSwitch as F } from "../useSwitch/useSwitch.js";
7
- import l 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";
5
+ import { jsxs as F, jsx as p } from "react/jsx-runtime";
6
+ import { useSwitch as v } from "../useSwitch/useSwitch.js";
7
+ import c 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";
8
8
  import R 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";
9
- const v = (a) => {
9
+ const q = (a) => {
10
10
  const {
11
11
  checked: o,
12
- disabled: p,
12
+ disabled: l,
13
13
  focusVisible: u,
14
14
  readOnly: i
15
15
  } = a;
16
16
  return R({
17
- root: ["root", o && "checked", p && "disabled", u && "focusVisible", i && "readOnly"],
17
+ root: ["root", o && "checked", l && "disabled", u && "focusVisible", i && "readOnly"],
18
18
  thumb: ["thumb"],
19
19
  input: ["input"],
20
20
  track: ["track"]
21
- }, g(V));
22
- }, E = /* @__PURE__ */ w.forwardRef(function(o, p) {
21
+ }, j(V));
22
+ }, B = /* @__PURE__ */ g.forwardRef(function(o, l) {
23
23
  const {
24
24
  checked: u,
25
25
  defaultChecked: i,
26
26
  disabled: h,
27
- onBlur: q,
28
- onChange: B,
29
- onFocus: I,
30
- onFocusVisible: U,
31
- readOnly: D,
32
- required: _,
27
+ onBlur: E,
28
+ onChange: I,
29
+ onFocus: U,
30
+ onFocusVisible: D,
31
+ readOnly: _,
32
+ required: z,
33
33
  slotProps: r = {},
34
34
  slots: t = {},
35
35
  ...y
@@ -38,51 +38,51 @@ const v = (a) => {
38
38
  checked: k,
39
39
  disabled: T,
40
40
  focusVisible: O,
41
- readOnly: x
42
- } = F(o), s = {
41
+ readOnly: S
42
+ } = v(o), s = {
43
43
  ...o,
44
44
  checked: k,
45
45
  disabled: T,
46
46
  focusVisible: O,
47
- readOnly: x
48
- }, n = v(s), m = t.root ?? "span", S = l({
47
+ readOnly: S
48
+ }, n = q(s), m = t.root ?? "span", x = c({
49
49
  elementType: m,
50
50
  externalSlotProps: r.root,
51
51
  externalForwardedProps: y,
52
52
  additionalProps: {
53
- ref: p
53
+ ref: l
54
54
  },
55
55
  ownerState: s,
56
56
  className: n.root
57
- }), d = t.thumb ?? "span", j = l({
57
+ }), d = t.thumb ?? "span", C = c({
58
58
  elementType: d,
59
59
  externalSlotProps: r.thumb,
60
60
  ownerState: s,
61
61
  className: n.thumb
62
- }), f = t.input ?? "input", C = l({
62
+ }), f = t.input ?? "input", N = c({
63
63
  elementType: f,
64
64
  getSlotProps: P,
65
65
  externalSlotProps: r.input,
66
66
  ownerState: s,
67
67
  className: n.input
68
- }), b = t.track === null ? () => null : t.track ?? "span", N = l({
68
+ }), b = t.track === null ? () => null : t.track ?? "span", w = c({
69
69
  elementType: b,
70
70
  externalSlotProps: r.track,
71
71
  ownerState: s,
72
72
  className: n.track
73
73
  });
74
- return /* @__PURE__ */ c.jsxs(m, {
75
- ...S,
76
- children: [/* @__PURE__ */ c.jsx(b, {
77
- ...N
78
- }), /* @__PURE__ */ c.jsx(d, {
79
- ...j
80
- }), /* @__PURE__ */ c.jsx(f, {
74
+ return /* @__PURE__ */ F(m, {
75
+ ...x,
76
+ children: [/* @__PURE__ */ p(b, {
77
+ ...w
78
+ }), /* @__PURE__ */ p(d, {
81
79
  ...C
80
+ }), /* @__PURE__ */ p(f, {
81
+ ...N
82
82
  })]
83
83
  });
84
84
  });
85
- process.env.NODE_ENV !== "production" && (E.propTypes = {
85
+ process.env.NODE_ENV !== "production" && (B.propTypes = {
86
86
  // ┌────────────────────────────── Warning ──────────────────────────────┐
87
87
  // │ These PropTypes are generated from the TypeScript type definitions. │
88
88
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -154,5 +154,5 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
154
154
  })
155
155
  });
156
156
  export {
157
- E as Switch
157
+ B as Switch
158
158
  };
@@ -4,16 +4,16 @@ import { useFloating as V, offset as b, flip as q, shift as D } from "../../../.
4
4
  import { useClassNamesOverride as H } from "../utils/ClassNameConfigurator.js";
5
5
  import { getPopupUtilityClass as L } from "./popupClasses.js";
6
6
  import { PopupContext as _ } from "./PopupContext.js";
7
- import { j as i } from "../../../../../../../_virtual/jsx-runtime.js";
7
+ import { jsx as i } from "react/jsx-runtime";
8
8
  import z 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";
9
9
  import B 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";
10
- import { autoUpdate as x } from "../../../../../@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
10
+ import { autoUpdate as T } from "../../../../../@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
11
11
  import { useTransitionTrigger as G } from "../useTransition/useTransitionTrigger.js";
12
12
  import I 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";
13
13
  import { Portal as J } from "../Portal/Portal.js";
14
14
  import { TransitionContext as K } from "../useTransition/TransitionContext.js";
15
15
  import Q 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";
16
- 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";
16
+ import g 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";
17
17
  function W(o) {
18
18
  const {
19
19
  open: s
@@ -27,7 +27,7 @@ function X(o) {
27
27
  }
28
28
  const Y = /* @__PURE__ */ P.forwardRef(function(s, p) {
29
29
  const {
30
- anchor: g,
30
+ anchor: x,
31
31
  children: O,
32
32
  container: v,
33
33
  disablePortal: f = !1,
@@ -36,31 +36,31 @@ const Y = /* @__PURE__ */ P.forwardRef(function(s, p) {
36
36
  offset: E = 0,
37
37
  open: r = !1,
38
38
  placement: m = "bottom",
39
- slotProps: j = {},
39
+ slotProps: w = {},
40
40
  slots: l = {},
41
41
  strategy: c = "absolute",
42
- ...w
42
+ ...C
43
43
  } = s, {
44
- refs: C,
44
+ refs: M,
45
45
  elements: n,
46
- floatingStyles: M,
47
- update: u,
46
+ floatingStyles: A,
47
+ update: d,
48
48
  placement: a
49
49
  } = V({
50
50
  elements: {
51
- reference: X(g)
51
+ reference: X(x)
52
52
  },
53
53
  open: r,
54
54
  middleware: R ?? [b(E ?? 0), q(), D()],
55
55
  placement: m,
56
56
  strategy: c,
57
- whileElementsMounted: t ? void 0 : x
58
- }), A = z(C.setFloating, p);
57
+ whileElementsMounted: t ? void 0 : T
58
+ }), F = z(M.setFloating, p);
59
59
  B(() => {
60
60
  if (t && r && n.reference && n.floating)
61
- return x(n.reference, n.floating, u);
62
- }, [t, r, n, u]);
63
- const d = {
61
+ return T(n.reference, n.floating, d);
62
+ }, [t, r, n, d]);
63
+ const u = {
64
64
  ...s,
65
65
  disablePortal: f,
66
66
  keepMounted: t,
@@ -70,33 +70,33 @@ const Y = /* @__PURE__ */ P.forwardRef(function(s, p) {
70
70
  finalPlacement: a,
71
71
  strategy: c
72
72
  }, {
73
- contextValue: F,
73
+ contextValue: N,
74
74
  hasExited: h
75
- } = G(r), N = t && h ? "hidden" : void 0, S = W(d), y = (l == null ? void 0 : l.root) ?? "div", k = I({
75
+ } = G(r), S = t && h ? "hidden" : void 0, j = W(u), y = (l == null ? void 0 : l.root) ?? "div", k = I({
76
76
  elementType: y,
77
- externalSlotProps: j.root,
78
- externalForwardedProps: w,
79
- ownerState: d,
80
- className: S.root,
77
+ externalSlotProps: w.root,
78
+ externalForwardedProps: C,
79
+ ownerState: u,
80
+ className: j.root,
81
81
  additionalProps: {
82
- ref: A,
82
+ ref: F,
83
83
  role: "tooltip",
84
84
  style: {
85
- ...M,
86
- visibility: N
85
+ ...A,
86
+ visibility: S
87
87
  }
88
88
  }
89
89
  }), U = P.useMemo(() => ({
90
90
  placement: a
91
91
  }), [a]);
92
- return t || !h ? /* @__PURE__ */ i.jsx(J, {
92
+ return t || !h ? /* @__PURE__ */ i(J, {
93
93
  disablePortal: f,
94
94
  container: v,
95
- children: /* @__PURE__ */ i.jsx(_.Provider, {
95
+ children: /* @__PURE__ */ i(_.Provider, {
96
96
  value: U,
97
- children: /* @__PURE__ */ i.jsx(K.Provider, {
98
- value: F,
99
- children: /* @__PURE__ */ i.jsx(y, {
97
+ children: /* @__PURE__ */ i(K.Provider, {
98
+ value: N,
99
+ children: /* @__PURE__ */ i(y, {
100
100
  ...k,
101
101
  children: O
102
102
  })
@@ -114,7 +114,7 @@ process.env.NODE_ENV !== "production" && (Y.propTypes = {
114
114
  * or a function that returns either.
115
115
  * It's used to set the position of the popup.
116
116
  */
117
- anchor: e.oneOfType([T, e.object, e.func]),
117
+ anchor: e.oneOfType([g, e.object, e.func]),
118
118
  /**
119
119
  * @ignore
120
120
  */
@@ -123,7 +123,7 @@ process.env.NODE_ENV !== "production" && (Y.propTypes = {
123
123
  * An HTML element or function that returns one. The container will have the portal children appended to it.
124
124
  * By default, it uses the body of the top-level document object, so it's `document.body` in these cases.
125
125
  */
126
- container: e.oneOfType([T, e.func]),
126
+ container: e.oneOfType([g, e.func]),
127
127
  /**
128
128
  * If `true`, the popup will be rendered where it is defined, without the use of portals.
129
129
  * @default false