@solostylist/ui-kit 1.0.42 → 1.0.44

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.
@@ -1,16 +1,16 @@
1
1
  import { j as e } from "../jsx-runtime-C5mzlN2N.js";
2
- import { Avatar as v, Tooltip as b, IconButton as y, Button as I } from "@mui/material";
3
- import { IconCloudUp as S, IconX as w } from "@tabler/icons-react";
4
- import { useDropzone as z } from "react-dropzone";
5
- import C from "../s-file-icon/s-file-icon.js";
6
- import k from "../s-form/s-form.js";
2
+ import { Avatar as v, Tooltip as y, IconButton as b, Button as I } from "@mui/material";
3
+ import { IconCloudUp as S, IconX as z } from "@tabler/icons-react";
4
+ import { useDropzone as C } from "react-dropzone";
5
+ import k from "../s-file-icon/s-file-icon.js";
6
+ import w from "../s-form/s-form.js";
7
7
  import { bytesToSize as B } from "../utils/bytes-to-size.js";
8
8
  import { S as r } from "../Stack-CHCAZYKm.js";
9
- import { B as d } from "../Box-BOnkyXg-.js";
9
+ import { B as p } from "../Box-BOnkyXg-.js";
10
10
  import { T as o } from "../Typography-8CUP66S2.js";
11
11
  const H = ({
12
12
  caption: i,
13
- label: p = "",
13
+ label: d = "",
14
14
  error: x,
15
15
  onRemoveAll: m,
16
16
  onUpload: D,
@@ -21,10 +21,10 @@ const H = ({
21
21
  ...n
22
22
  }) => {
23
23
  var l, c;
24
- const { getRootProps: u, getInputProps: g, isDragActive: a } = z(n);
25
- return /* @__PURE__ */ e.jsxs(k, { error: x, label: p, required: h, children: [
24
+ const { getRootProps: u, getInputProps: g, isDragActive: a } = C(n);
25
+ return /* @__PURE__ */ e.jsxs(w, { error: x, label: d, required: h, children: [
26
26
  /* @__PURE__ */ e.jsx(r, { spacing: 2, mt: "0.5rem", children: /* @__PURE__ */ e.jsxs(
27
- d,
27
+ p,
28
28
  {
29
29
  sx: {
30
30
  alignItems: "center",
@@ -55,7 +55,6 @@ const H = ({
55
55
  {
56
56
  sx: {
57
57
  bgcolor: "var(--s-palette-background-paper)",
58
- boxShadow: "var(--s-shadows-8)",
59
58
  color: "var(--s-palette-text-primary)"
60
59
  },
61
60
  children: /* @__PURE__ */ e.jsx(S, {})
@@ -90,18 +89,18 @@ const H = ({
90
89
  p: 1
91
90
  },
92
91
  children: [
93
- /* @__PURE__ */ e.jsx(C, { extension: f }),
94
- /* @__PURE__ */ e.jsxs(d, { sx: { flex: "1 1 auto" }, children: [
92
+ /* @__PURE__ */ e.jsx(k, { extension: f }),
93
+ /* @__PURE__ */ e.jsxs(p, { sx: { flex: "1 1 auto" }, children: [
95
94
  /* @__PURE__ */ e.jsx(o, { variant: "subtitle2", children: t.name }),
96
95
  /* @__PURE__ */ e.jsx(o, { color: "text.secondary", variant: "body2", children: B(t.size) })
97
96
  ] }),
98
- /* @__PURE__ */ e.jsx(b, { title: "Remove", children: /* @__PURE__ */ e.jsx(
99
- y,
97
+ /* @__PURE__ */ e.jsx(y, { title: "Remove", children: /* @__PURE__ */ e.jsx(
98
+ b,
100
99
  {
101
100
  onClick: () => {
102
101
  s == null || s(t);
103
102
  },
104
- children: /* @__PURE__ */ e.jsx(w, {})
103
+ children: /* @__PURE__ */ e.jsx(z, {})
105
104
  }
106
105
  ) })
107
106
  ]
@@ -1,49 +1,48 @@
1
1
  import { j as l } from "../jsx-runtime-C5mzlN2N.js";
2
- import * as f from "react";
3
- import { c as N } from "../createSvgIcon-FIMSBrG5.js";
4
- import { Stack as P, OutlinedInput as B, selectClasses as E } from "@mui/material";
5
- import { usePopover as U } from "../hooks/use-popover.js";
6
- import D from "../s-chips/s-chips.js";
7
- import { gray as y } from "../theme/theme-primitives.js";
8
- import { L as O, M as F } from "../Menu-BTGaz6HX.js";
9
- import { g as z, a as m, P as t } from "../createTheme-CyFSna1a.js";
10
- import { c as h } from "../identifier-BA7fwE7E.js";
11
- import { u as G, s as A, c as H, b as W, m as _ } from "../memoTheme-Bz_6CvJG.js";
12
- import { g as b } from "../generateUtilityClasses-CvAVhM6T.js";
13
- import { u as q } from "../useEnhancedEffect-CJGo-L3B.js";
14
- import { u as J, B as K } from "../useSlot-DFX3jR9F.js";
15
- const Q = N(/* @__PURE__ */ l.jsx("path", {
2
+ import * as c from "react";
3
+ import { c as T } from "../createSvgIcon-FIMSBrG5.js";
4
+ import { Stack as N, OutlinedInput as E } from "@mui/material";
5
+ import { usePopover as P } from "../hooks/use-popover.js";
6
+ import B from "../s-chips/s-chips.js";
7
+ import { L as h, M as U } from "../Menu-BTGaz6HX.js";
8
+ import { g as D, a as v, P as o } from "../createTheme-CyFSna1a.js";
9
+ import { c as R } from "../identifier-BA7fwE7E.js";
10
+ import { u as F, s as z, c as G, b as W, m as A } from "../memoTheme-Bz_6CvJG.js";
11
+ import { g } from "../generateUtilityClasses-CvAVhM6T.js";
12
+ import { u as H } from "../useEnhancedEffect-CJGo-L3B.js";
13
+ import { u as _, B as q } from "../useSlot-DFX3jR9F.js";
14
+ const J = T(/* @__PURE__ */ l.jsx("path", {
16
15
  d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"
17
- }), "UnfoldMore"), k = b("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), w = b("MuiListItemIcon", ["root", "alignItemsFlexStart"]), R = b("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
18
- function X(e) {
19
- return z("MuiMenuItem", e);
16
+ }), "UnfoldMore"), j = g("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), S = g("MuiListItemIcon", ["root", "alignItemsFlexStart"]), k = g("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
17
+ function K(e) {
18
+ return D("MuiMenuItem", e);
20
19
  }
21
- const u = b("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), Y = (e, o) => {
20
+ const b = g("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), Q = (e, t) => {
22
21
  const {
23
22
  ownerState: r
24
23
  } = e;
25
- return [o.root, r.dense && o.dense, r.divider && o.divider, !r.disableGutters && o.gutters];
26
- }, Z = (e) => {
24
+ return [t.root, r.dense && t.dense, r.divider && t.divider, !r.disableGutters && t.gutters];
25
+ }, X = (e) => {
27
26
  const {
28
- disabled: o,
27
+ disabled: t,
29
28
  dense: r,
30
29
  divider: a,
31
- disableGutters: d,
32
- selected: i,
33
- classes: c
34
- } = e, n = H({
35
- root: ["root", r && "dense", o && "disabled", !d && "gutters", a && "divider", i && "selected"]
36
- }, X, c);
30
+ disableGutters: u,
31
+ selected: n,
32
+ classes: i
33
+ } = e, d = G({
34
+ root: ["root", r && "dense", t && "disabled", !u && "gutters", a && "divider", n && "selected"]
35
+ }, K, i);
37
36
  return {
38
- ...c,
39
- ...n
37
+ ...i,
38
+ ...d
40
39
  };
41
- }, ee = A(K, {
40
+ }, Y = z(q, {
42
41
  shouldForwardProp: (e) => W(e) || e === "classes",
43
42
  name: "MuiMenuItem",
44
43
  slot: "Root",
45
- overridesResolver: Y
46
- })(_(({
44
+ overridesResolver: Q
45
+ })(A(({
47
46
  theme: e
48
47
  }) => ({
49
48
  ...e.typography.body1,
@@ -65,62 +64,62 @@ const u = b("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
65
64
  backgroundColor: "transparent"
66
65
  }
67
66
  },
68
- [`&.${u.selected}`]: {
69
- backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : m(e.palette.primary.main, e.palette.action.selectedOpacity),
70
- [`&.${u.focusVisible}`]: {
71
- backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : m(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
67
+ [`&.${b.selected}`]: {
68
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : v(e.palette.primary.main, e.palette.action.selectedOpacity),
69
+ [`&.${b.focusVisible}`]: {
70
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : v(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
72
71
  }
73
72
  },
74
- [`&.${u.selected}:hover`]: {
75
- backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : m(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
73
+ [`&.${b.selected}:hover`]: {
74
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : v(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
76
75
  // Reset on touch devices, it doesn't add specificity
77
76
  "@media (hover: none)": {
78
- backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : m(e.palette.primary.main, e.palette.action.selectedOpacity)
77
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : v(e.palette.primary.main, e.palette.action.selectedOpacity)
79
78
  }
80
79
  },
81
- [`&.${u.focusVisible}`]: {
80
+ [`&.${b.focusVisible}`]: {
82
81
  backgroundColor: (e.vars || e).palette.action.focus
83
82
  },
84
- [`&.${u.disabled}`]: {
83
+ [`&.${b.disabled}`]: {
85
84
  opacity: (e.vars || e).palette.action.disabledOpacity
86
85
  },
87
- [`& + .${k.root}`]: {
86
+ [`& + .${j.root}`]: {
88
87
  marginTop: e.spacing(1),
89
88
  marginBottom: e.spacing(1)
90
89
  },
91
- [`& + .${k.inset}`]: {
90
+ [`& + .${j.inset}`]: {
92
91
  marginLeft: 52
93
92
  },
94
- [`& .${R.root}`]: {
93
+ [`& .${k.root}`]: {
95
94
  marginTop: 0,
96
95
  marginBottom: 0
97
96
  },
98
- [`& .${R.inset}`]: {
97
+ [`& .${k.inset}`]: {
99
98
  paddingLeft: 36
100
99
  },
101
- [`& .${w.root}`]: {
100
+ [`& .${S.root}`]: {
102
101
  minWidth: 36
103
102
  },
104
103
  variants: [{
105
104
  props: ({
106
- ownerState: o
107
- }) => !o.disableGutters,
105
+ ownerState: t
106
+ }) => !t.disableGutters,
108
107
  style: {
109
108
  paddingLeft: 16,
110
109
  paddingRight: 16
111
110
  }
112
111
  }, {
113
112
  props: ({
114
- ownerState: o
115
- }) => o.divider,
113
+ ownerState: t
114
+ }) => t.divider,
116
115
  style: {
117
116
  borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
118
117
  backgroundClip: "padding-box"
119
118
  }
120
119
  }, {
121
120
  props: ({
122
- ownerState: o
123
- }) => !o.dense,
121
+ ownerState: t
122
+ }) => !t.dense,
124
123
  style: {
125
124
  [e.breakpoints.up("sm")]: {
126
125
  minHeight: "auto"
@@ -128,64 +127,64 @@ const u = b("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
128
127
  }
129
128
  }, {
130
129
  props: ({
131
- ownerState: o
132
- }) => o.dense,
130
+ ownerState: t
131
+ }) => t.dense,
133
132
  style: {
134
133
  minHeight: 32,
135
134
  // https://m2.material.io/components/menus#specs > Dense
136
135
  paddingTop: 4,
137
136
  paddingBottom: 4,
138
137
  ...e.typography.body2,
139
- [`& .${w.root} svg`]: {
138
+ [`& .${S.root} svg`]: {
140
139
  fontSize: "1.25rem"
141
140
  }
142
141
  }
143
142
  }]
144
- }))), S = /* @__PURE__ */ f.forwardRef(function(o, r) {
145
- const a = G({
146
- props: o,
143
+ }))), w = /* @__PURE__ */ c.forwardRef(function(t, r) {
144
+ const a = F({
145
+ props: t,
147
146
  name: "MuiMenuItem"
148
147
  }), {
149
- autoFocus: d = !1,
150
- component: i = "li",
151
- dense: c = !1,
152
- divider: s = !1,
153
- disableGutters: n = !1,
154
- focusVisibleClassName: p,
155
- role: g = "menuitem",
156
- tabIndex: C,
157
- className: j,
158
- ...V
159
- } = a, I = f.useContext(O), M = f.useMemo(() => ({
160
- dense: c || I.dense || !1,
161
- disableGutters: n
162
- }), [I.dense, c, n]), v = f.useRef(null);
163
- q(() => {
164
- d && (v.current ? v.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
165
- }, [d]);
166
- const L = {
148
+ autoFocus: u = !1,
149
+ component: n = "li",
150
+ dense: i = !1,
151
+ divider: m = !1,
152
+ disableGutters: d = !1,
153
+ focusVisibleClassName: y,
154
+ role: s = "menuitem",
155
+ tabIndex: p,
156
+ className: f,
157
+ ...x
158
+ } = a, M = c.useContext(h), $ = c.useMemo(() => ({
159
+ dense: i || M.dense || !1,
160
+ disableGutters: d
161
+ }), [M.dense, i, d]), C = c.useRef(null);
162
+ H(() => {
163
+ u && (C.current ? C.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
164
+ }, [u]);
165
+ const V = {
167
166
  ...a,
168
- dense: M.dense,
169
- divider: s,
170
- disableGutters: n
171
- }, x = Z(a), T = J(v, r);
172
- let $;
173
- return a.disabled || ($ = C !== void 0 ? C : -1), /* @__PURE__ */ l.jsx(O.Provider, {
174
- value: M,
175
- children: /* @__PURE__ */ l.jsx(ee, {
176
- ref: T,
177
- role: g,
178
- tabIndex: $,
179
- component: i,
180
- focusVisibleClassName: h(x.focusVisible, p),
181
- className: h(x.root, j),
182
- ...V,
183
- ownerState: L,
184
- classes: x
167
+ dense: $.dense,
168
+ divider: m,
169
+ disableGutters: d
170
+ }, I = X(a), L = _(C, r);
171
+ let O;
172
+ return a.disabled || (O = p !== void 0 ? p : -1), /* @__PURE__ */ l.jsx(h.Provider, {
173
+ value: $,
174
+ children: /* @__PURE__ */ l.jsx(Y, {
175
+ ref: L,
176
+ role: s,
177
+ tabIndex: O,
178
+ component: n,
179
+ focusVisibleClassName: R(I.focusVisible, y),
180
+ className: R(I.root, f),
181
+ ...x,
182
+ ownerState: V,
183
+ classes: I
185
184
  })
186
185
  });
187
186
  });
188
- process.env.NODE_ENV !== "production" && (S.propTypes = {
187
+ process.env.NODE_ENV !== "production" && (w.propTypes = {
189
188
  // ┌────────────────────────────── Warning ──────────────────────────────┐
190
189
  // │ These PropTypes are generated from the TypeScript type definitions. │
191
190
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -195,44 +194,44 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
195
194
  * Focus will also be triggered if the value changes from false to true.
196
195
  * @default false
197
196
  */
198
- autoFocus: t.bool,
197
+ autoFocus: o.bool,
199
198
  /**
200
199
  * The content of the component.
201
200
  */
202
- children: t.node,
201
+ children: o.node,
203
202
  /**
204
203
  * Override or extend the styles applied to the component.
205
204
  */
206
- classes: t.object,
205
+ classes: o.object,
207
206
  /**
208
207
  * @ignore
209
208
  */
210
- className: t.string,
209
+ className: o.string,
211
210
  /**
212
211
  * The component used for the root node.
213
212
  * Either a string to use a HTML element or a component.
214
213
  */
215
- component: t.elementType,
214
+ component: o.elementType,
216
215
  /**
217
216
  * If `true`, compact vertical padding designed for keyboard and mouse input is used.
218
217
  * The prop defaults to the value inherited from the parent Menu component.
219
218
  * @default false
220
219
  */
221
- dense: t.bool,
220
+ dense: o.bool,
222
221
  /**
223
222
  * @ignore
224
223
  */
225
- disabled: t.bool,
224
+ disabled: o.bool,
226
225
  /**
227
226
  * If `true`, the left and right padding is removed.
228
227
  * @default false
229
228
  */
230
- disableGutters: t.bool,
229
+ disableGutters: o.bool,
231
230
  /**
232
231
  * If `true`, a 1px light border is added to the bottom of the menu item.
233
232
  * @default false
234
233
  */
235
- divider: t.bool,
234
+ divider: o.bool,
236
235
  /**
237
236
  * This prop can help identify which element has keyboard focus.
238
237
  * The class name will be applied when the element gains the focus through keyboard interaction.
@@ -241,90 +240,82 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
241
240
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
242
241
  * if needed.
243
242
  */
244
- focusVisibleClassName: t.string,
243
+ focusVisibleClassName: o.string,
245
244
  /**
246
245
  * @ignore
247
246
  */
248
- role: t.string,
247
+ role: o.string,
249
248
  /**
250
249
  * If `true`, the component is selected.
251
250
  * @default false
252
251
  */
253
- selected: t.bool,
252
+ selected: o.bool,
254
253
  /**
255
254
  * The system prop that allows defining system overrides as well as additional CSS styles.
256
255
  */
257
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
256
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
258
257
  /**
259
258
  * @default 0
260
259
  */
261
- tabIndex: t.number
260
+ tabIndex: o.number
262
261
  });
263
- function me({
262
+ function pe({
264
263
  label: e,
265
- onChange: o,
264
+ onChange: t,
266
265
  options: r,
267
266
  value: a = [],
268
- chipProps: d
267
+ chipProps: u
269
268
  }) {
270
- const i = U(), c = f.useCallback(
271
- (s, n) => {
272
- let p = [...a];
273
- n ? p.push(s) : p = p.filter((g) => g !== s), o == null || o(p);
269
+ const n = P(), i = c.useRef(null), [m, d] = c.useState();
270
+ c.useEffect(() => {
271
+ i.current && d(i.current.offsetWidth);
272
+ }, [n.open]);
273
+ const y = c.useCallback(
274
+ (s, p) => {
275
+ let f = [...a];
276
+ p ? f.push(s) : f = f.filter((x) => x !== s), t == null || t(f);
274
277
  },
275
- [o, a]
278
+ [t, a]
276
279
  );
277
- return /* @__PURE__ */ l.jsxs(P, { direction: "column", gap: 1, children: [
280
+ return /* @__PURE__ */ l.jsxs(N, { direction: "column", gap: 1, children: [
278
281
  /* @__PURE__ */ l.jsx(
279
- B,
282
+ E,
280
283
  {
281
284
  endAdornment: /* @__PURE__ */ l.jsx(
282
- Q,
285
+ J,
283
286
  {
284
287
  fontSize: "small",
285
288
  sx: { color: "var(--s-palette-action-active)", position: "absolute", right: "7px" }
286
289
  }
287
290
  ),
288
- onClick: i.handleOpen,
289
- ref: i.anchorRef,
291
+ onClick: n.handleOpen,
292
+ ref: (s) => {
293
+ n.anchorRef.current = s, i.current = s;
294
+ },
290
295
  value: e,
291
296
  sx: {
292
- borderRadius: "var(--s-shape-borderRadius)",
293
- border: "1px solid",
294
- borderColor: y[200],
295
- backgroundColor: "var(--s-palette-background-paper)",
296
- boxShadow: "inset 0 1px 0 1px hsla(220, 0%, 100%, 0.6), inset 0 -1px 0 1px hsla(220, 35%, 90%, 0.5)",
297
- "&:hover": {
298
- borderColor: y[300],
299
- backgroundColor: "var(--s-palette-background-paper)",
300
- boxShadow: "none"
301
- },
302
- [`&.${E.focused}`]: {
303
- outlineOffset: 0,
304
- borderColor: y[400]
305
- },
306
- "&:before, &:after": {
307
- display: "none"
297
+ input: {
298
+ color: "var(--s-palette-text-secondary)"
308
299
  }
309
300
  }
310
301
  }
311
302
  ),
312
303
  /* @__PURE__ */ l.jsx(
313
- F,
304
+ U,
314
305
  {
315
- anchorEl: i.anchorRef.current,
316
- onClose: i.handleClose,
317
- open: i.open,
318
- slotProps: { paper: { sx: { width: "250px" } } },
306
+ anchorEl: n.anchorRef.current,
307
+ onClose: n.handleClose,
308
+ open: n.open,
309
+ slotProps: { paper: { sx: { width: m ? `${m}px` : void 0 } } },
319
310
  children: r.map((s) => {
320
- const n = a.includes(s.value);
311
+ const p = a.includes(s.value);
321
312
  return /* @__PURE__ */ l.jsx(
322
- S,
313
+ w,
323
314
  {
324
315
  onClick: () => {
325
- c(s.value, !n);
316
+ y(s.value, !p);
326
317
  },
327
- selected: n,
318
+ selected: p,
328
319
  children: s.label
329
320
  },
330
321
  s.label
@@ -333,14 +324,14 @@ function me({
333
324
  }
334
325
  ),
335
326
  /* @__PURE__ */ l.jsx(
336
- D,
327
+ B,
337
328
  {
338
329
  chips: r.filter((s) => a.includes(s.value)).map((s) => s.label),
339
- ...d
330
+ ...u
340
331
  }
341
332
  )
342
333
  ] });
343
334
  }
344
335
  export {
345
- me as default
336
+ pe as default
346
337
  };