@moises.ai/design-system 3.14.0 → 4.14.1
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.
package/dist/index.js
CHANGED
|
@@ -1455,7 +1455,7 @@ const Bi = h.forwardRef(({ children: n, ...t }, r) => h.createElement(sc, { ...t
|
|
|
1455
1455
|
Bi.displayName = "AlertDialog.Action";
|
|
1456
1456
|
const xi = h.forwardRef(({ children: n, ...t }, r) => h.createElement(ac, { ...t, ref: r, asChild: !0 }, Dt(n)));
|
|
1457
1457
|
xi.displayName = "AlertDialog.Cancel";
|
|
1458
|
-
const
|
|
1458
|
+
const Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1459
1459
|
__proto__: null,
|
|
1460
1460
|
Action: Bi,
|
|
1461
1461
|
Cancel: xi,
|
|
@@ -1464,7 +1464,7 @@ const ww = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1464
1464
|
Root: Si,
|
|
1465
1465
|
Title: Ri,
|
|
1466
1466
|
Trigger: Ei
|
|
1467
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1467
|
+
}, Symbol.toStringTag, { value: "Module" })), Nw = Ac, ph = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], gh = ["solid", "soft"], mh = { ...ge, size: { type: "enum", className: "rt-r-size", values: ph, default: "3", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: gh, default: "soft" }, ...gn, ...Qe, ...st, fallback: { type: "ReactNode", required: !0 } };
|
|
1468
1468
|
function Vs(n, t) {
|
|
1469
1469
|
const { asChild: r, children: s } = n;
|
|
1470
1470
|
if (!r) return typeof t == "function" ? t(s) : t;
|
|
@@ -1626,7 +1626,7 @@ const Hi = h.forwardRef((n, t) => {
|
|
|
1626
1626
|
Hi.displayName = "DataList.Label";
|
|
1627
1627
|
const Ki = h.forwardRef(({ children: n, className: t, ...r }, s) => h.createElement("dd", { ...r, ref: s, className: b(t, "rt-DataListValue") }, n));
|
|
1628
1628
|
Ki.displayName = "DataList.Value";
|
|
1629
|
-
const
|
|
1629
|
+
const Bw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1630
1630
|
__proto__: null,
|
|
1631
1631
|
Item: Wi,
|
|
1632
1632
|
Label: Hi,
|
|
@@ -1647,7 +1647,7 @@ const na = h.forwardRef((n, t) => h.createElement(Ic, { asChild: !0 }, h.createE
|
|
|
1647
1647
|
na.displayName = "Dialog.Description";
|
|
1648
1648
|
const ra = h.forwardRef(({ children: n, ...t }, r) => h.createElement(vc, { ...t, ref: r, asChild: !0 }, Dt(n)));
|
|
1649
1649
|
ra.displayName = "Dialog.Close";
|
|
1650
|
-
const
|
|
1650
|
+
const xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1651
1651
|
__proto__: null,
|
|
1652
1652
|
Close: ra,
|
|
1653
1653
|
Content: ea,
|
|
@@ -1669,7 +1669,7 @@ const Gi = h.forwardRef((n, t) => {
|
|
|
1669
1669
|
return h.createElement(Rc, { container: o, forceMount: s }, h.createElement(Jt, { asChild: !0 }, h.createElement(Nc, { align: "start", sideOffset: 8, collisionPadding: 10, ...i, ref: t, className: b("rt-PopperContent", "rt-HoverCardContent", r) })));
|
|
1670
1670
|
});
|
|
1671
1671
|
Gi.displayName = "HoverCard.Content";
|
|
1672
|
-
const
|
|
1672
|
+
const Tw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1673
1673
|
__proto__: null,
|
|
1674
1674
|
Content: Gi,
|
|
1675
1675
|
Root: ji,
|
|
@@ -1708,7 +1708,7 @@ const Yi = h.forwardRef(({ children: n, ...t }, r) => h.createElement(Jc, { ...t
|
|
|
1708
1708
|
Yi.displayName = "Popover.Close";
|
|
1709
1709
|
const Xi = h.forwardRef(({ children: n, ...t }, r) => h.createElement(Tc, { ...t, ref: r }));
|
|
1710
1710
|
Xi.displayName = "Popover.Anchor";
|
|
1711
|
-
const
|
|
1711
|
+
const Jw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1712
1712
|
__proto__: null,
|
|
1713
1713
|
Anchor: Xi,
|
|
1714
1714
|
Close: Yi,
|
|
@@ -1747,7 +1747,7 @@ const fs = h.forwardRef(({ __scopeRadioGroup: n, ...t }, r) => {
|
|
|
1747
1747
|
return h.createElement(oo, { ...o, "data-accent-color": i, ...t, asChild: !1, ref: r, className: b("rt-reset", "rt-BaseRadioRoot", l) });
|
|
1748
1748
|
});
|
|
1749
1749
|
fs.displayName = "RadioGroup.ItemRadio";
|
|
1750
|
-
const
|
|
1750
|
+
const Dw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1751
1751
|
__proto__: null,
|
|
1752
1752
|
Item: tl,
|
|
1753
1753
|
Root: el
|
|
@@ -1859,7 +1859,7 @@ const al = h.forwardRef((n, t) => {
|
|
|
1859
1859
|
return h.createElement("th", { className: b("rt-TableCell", "rt-TableRowHeaderCell", r), scope: "row", ref: t, ...s });
|
|
1860
1860
|
});
|
|
1861
1861
|
al.displayName = "Table.RowHeaderCell";
|
|
1862
|
-
const
|
|
1862
|
+
const Qw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1863
1863
|
__proto__: null,
|
|
1864
1864
|
Body: Aa,
|
|
1865
1865
|
Cell: St,
|
|
@@ -1888,7 +1888,7 @@ const cl = h.forwardRef((n, t) => {
|
|
|
1888
1888
|
return h.createElement(zc, { ...s, ref: t, className: b("rt-TabsContent", r) });
|
|
1889
1889
|
});
|
|
1890
1890
|
cl.displayName = "Tabs.Content";
|
|
1891
|
-
const
|
|
1891
|
+
const Mw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1892
1892
|
__proto__: null,
|
|
1893
1893
|
Content: cl,
|
|
1894
1894
|
List: il,
|
|
@@ -3996,15 +3996,15 @@ const HC = "_content_1cwsl_2", KC = "_iconWrapper_1cwsl_10", LC = "_iconWrapperL
|
|
|
3996
3996
|
};
|
|
3997
3997
|
tv.displayName = "EmptyState";
|
|
3998
3998
|
const ga = un(null), vl = un(null), ys = un(null);
|
|
3999
|
-
function
|
|
3999
|
+
function Uw() {
|
|
4000
4000
|
return dt(ga);
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function Ow() {
|
|
4003
4003
|
const n = dt(vl);
|
|
4004
4004
|
if (!n) throw new Error("useNavigation must be used inside an <Extension> with initialScreen");
|
|
4005
4005
|
return n;
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4007
|
+
function Fw() {
|
|
4008
4008
|
const n = dt(ys);
|
|
4009
4009
|
if (!n) throw new Error("useScreen must be used inside an <Extension.Screen> component");
|
|
4010
4010
|
return n;
|
|
@@ -4612,7 +4612,7 @@ const Fr = we.forwardRef(
|
|
|
4612
4612
|
Fr.displayName = "HeaderPanel";
|
|
4613
4613
|
Fr.Button = bl;
|
|
4614
4614
|
Fr.Details = Il;
|
|
4615
|
-
const
|
|
4615
|
+
const Pw = Fr, Qv = "_sliderRoot_19e7a_23", Mv = "_sliderTrack_19e7a_31", Uv = "_sliderRange_19e7a_46", Ov = "_sliderThumb_19e7a_65", Fv = "_tooltipContent_19e7a_85", Pv = "_tooltipArrow_19e7a_101", zv = "_sliderContainer_19e7a_116", zt = {
|
|
4616
4616
|
sliderRoot: Qv,
|
|
4617
4617
|
sliderTrack: Mv,
|
|
4618
4618
|
sliderRange: Uv,
|
|
@@ -5719,7 +5719,7 @@ const tk = "_listCardsItem_rjypk_1", nk = "_listCardsItemDescriptionWrappable_rj
|
|
|
5719
5719
|
Yt.Card = Ek;
|
|
5720
5720
|
Yt.CardDetails = wk;
|
|
5721
5721
|
Yt.displayName = "ListCards";
|
|
5722
|
-
const
|
|
5722
|
+
const zw = ({
|
|
5723
5723
|
i18n: n = { _: (d) => d },
|
|
5724
5724
|
subDivision: t = 1,
|
|
5725
5725
|
volume: r,
|
|
@@ -8237,7 +8237,7 @@ const xI = "_sectionTitle_bwlze_1", TI = "_separator_bwlze_17", Ka = {
|
|
|
8237
8237
|
orientation: "horizontal",
|
|
8238
8238
|
className: Ka.separator
|
|
8239
8239
|
}
|
|
8240
|
-
) : /* @__PURE__ */ a(z, { size: "1", weight: "medium", className: Ka.sectionTitle, children: n }) }),
|
|
8240
|
+
) : /* @__PURE__ */ a(z, { size: "1", weight: "medium", className: Ka.sectionTitle, children: n }) }), Ww = ({
|
|
8241
8241
|
additionalItems: n,
|
|
8242
8242
|
selectedAdditionalItemId: t,
|
|
8243
8243
|
userProfileItems: r,
|
|
@@ -9482,7 +9482,7 @@ const Va = {
|
|
|
9482
9482
|
toms: ["drums"],
|
|
9483
9483
|
hiHat: ["drums"],
|
|
9484
9484
|
cymbals: ["drums"]
|
|
9485
|
-
},
|
|
9485
|
+
}, Hw = ({
|
|
9486
9486
|
i18n: n = { _: (m) => m },
|
|
9487
9487
|
freeStems: t,
|
|
9488
9488
|
paidStems: r,
|
|
@@ -10235,7 +10235,7 @@ const es = (n, t) => typeof n == "string" ? { title: n, description: "", variant
|
|
|
10235
10235
|
description: (n == null ? void 0 : n.description) ?? "",
|
|
10236
10236
|
variant: (n == null ? void 0 : n.variant) ?? t,
|
|
10237
10237
|
duration: n == null ? void 0 : n.duration
|
|
10238
|
-
},
|
|
10238
|
+
}, Kw = ({
|
|
10239
10239
|
children: n,
|
|
10240
10240
|
duration: t = 1e4,
|
|
10241
10241
|
maxToasts: r = 4,
|
|
@@ -10325,7 +10325,7 @@ const es = (n, t) => typeof n == "string" ? { title: n, description: "", variant
|
|
|
10325
10325
|
]
|
|
10326
10326
|
}
|
|
10327
10327
|
) });
|
|
10328
|
-
},
|
|
10328
|
+
}, Lw = () => {
|
|
10329
10329
|
const n = dt(Ml);
|
|
10330
10330
|
if (!n)
|
|
10331
10331
|
throw new Error("useToast must be used inside ToastProvider");
|
|
@@ -10721,7 +10721,7 @@ function mE({ name: n, errorsRef: t, children: r }) {
|
|
|
10721
10721
|
s && /* @__PURE__ */ a(G, { size: "1", color: "red", children: s })
|
|
10722
10722
|
] });
|
|
10723
10723
|
}
|
|
10724
|
-
function
|
|
10724
|
+
function jw({ schema: n }) {
|
|
10725
10725
|
const [t, r] = V(() => n.parse({})), [s, o] = V({}), i = te(s);
|
|
10726
10726
|
i.current = s;
|
|
10727
10727
|
const l = te([]), c = te(!1);
|
|
@@ -12819,7 +12819,7 @@ const cw = "_root_1bt4i_2", dw = "_item_1bt4i_9", uw = "_surface_1bt4i_29", hw =
|
|
|
12819
12819
|
labelSelected: pw,
|
|
12820
12820
|
indicator: gw,
|
|
12821
12821
|
indicatorSelected: mw
|
|
12822
|
-
}, fw = ({
|
|
12822
|
+
}, fw = (n, t) => n == null || t == null ? !1 : n === t ? !0 : n.value != null && t.value != null && n.value === t.value, Cw = ({
|
|
12823
12823
|
items: n,
|
|
12824
12824
|
selectedType: t,
|
|
12825
12825
|
handleTypeChange: r,
|
|
@@ -12835,7 +12835,7 @@ const cw = "_root_1bt4i_2", dw = "_item_1bt4i_9", uw = "_surface_1bt4i_29", hw =
|
|
|
12835
12835
|
"aria-label": o,
|
|
12836
12836
|
...i,
|
|
12837
12837
|
children: n.map((l) => {
|
|
12838
|
-
const c = t
|
|
12838
|
+
const c = fw(t, l);
|
|
12839
12839
|
return /* @__PURE__ */ f(
|
|
12840
12840
|
"button",
|
|
12841
12841
|
{
|
|
@@ -12843,7 +12843,7 @@ const cw = "_root_1bt4i_2", dw = "_item_1bt4i_9", uw = "_surface_1bt4i_29", hw =
|
|
|
12843
12843
|
role: "radio",
|
|
12844
12844
|
"aria-checked": c,
|
|
12845
12845
|
className: kt.item,
|
|
12846
|
-
onClick: () => r(l
|
|
12846
|
+
onClick: () => r(l),
|
|
12847
12847
|
children: [
|
|
12848
12848
|
/* @__PURE__ */ a(
|
|
12849
12849
|
"div",
|
|
@@ -12877,11 +12877,11 @@ const cw = "_root_1bt4i_2", dw = "_item_1bt4i_9", uw = "_surface_1bt4i_29", hw =
|
|
|
12877
12877
|
})
|
|
12878
12878
|
}
|
|
12879
12879
|
);
|
|
12880
|
-
|
|
12880
|
+
Cw.displayName = "VerticalSegmentControl";
|
|
12881
12881
|
export {
|
|
12882
12882
|
pg as AdditionalItems,
|
|
12883
|
-
|
|
12884
|
-
|
|
12883
|
+
Rw as AlertDialog,
|
|
12884
|
+
Nw as AspectRatio,
|
|
12885
12885
|
rt as Avatar,
|
|
12886
12886
|
Gs as Badge,
|
|
12887
12887
|
tm as BannerAnnouncement,
|
|
@@ -12898,9 +12898,9 @@ export {
|
|
|
12898
12898
|
hA as Container,
|
|
12899
12899
|
xf as ContextMenu,
|
|
12900
12900
|
fl as Countdown,
|
|
12901
|
-
|
|
12901
|
+
Bw as DataList,
|
|
12902
12902
|
JC as DataTable,
|
|
12903
|
-
|
|
12903
|
+
xw as Dialog,
|
|
12904
12904
|
WC as DropdownButton,
|
|
12905
12905
|
dn as DropdownMenu,
|
|
12906
12906
|
IA as Em,
|
|
@@ -12913,10 +12913,10 @@ export {
|
|
|
12913
12913
|
AS as GenerationStatus,
|
|
12914
12914
|
Oi as Grid,
|
|
12915
12915
|
Dv as GroupButtons,
|
|
12916
|
-
|
|
12916
|
+
Pw as HeaderPanel,
|
|
12917
12917
|
Rr as Heading,
|
|
12918
12918
|
Wv as HorizontalVolume,
|
|
12919
|
-
|
|
12919
|
+
Tw as HoverCard,
|
|
12920
12920
|
be as IconButton,
|
|
12921
12921
|
ma as InputLevelMeter,
|
|
12922
12922
|
BA as Inset,
|
|
@@ -12926,13 +12926,13 @@ export {
|
|
|
12926
12926
|
UA as Link,
|
|
12927
12927
|
Yt as ListCards,
|
|
12928
12928
|
je as MessageWithAction,
|
|
12929
|
-
|
|
12929
|
+
zw as MetronomeForm,
|
|
12930
12930
|
Mr as MoreButton,
|
|
12931
12931
|
Qk as MultiSelect,
|
|
12932
12932
|
ws as MultiSelectCards,
|
|
12933
12933
|
Rl as PanControl,
|
|
12934
12934
|
oy as PeakLevel,
|
|
12935
|
-
|
|
12935
|
+
Jw as Popover,
|
|
12936
12936
|
Pr as ProductsBrandPattern,
|
|
12937
12937
|
ky as ProductsList,
|
|
12938
12938
|
Jy as ProfileMenu,
|
|
@@ -12941,7 +12941,7 @@ export {
|
|
|
12941
12941
|
LA as Quote,
|
|
12942
12942
|
tp as Radio,
|
|
12943
12943
|
ob as RadioCardsGroup,
|
|
12944
|
-
|
|
12944
|
+
Dw as RadioGroup,
|
|
12945
12945
|
Cb as Rating,
|
|
12946
12946
|
l0 as RecordingForm,
|
|
12947
12947
|
_t as ScrollArea,
|
|
@@ -12951,7 +12951,7 @@ export {
|
|
|
12951
12951
|
Rt as Select,
|
|
12952
12952
|
ct as Separator,
|
|
12953
12953
|
eI as SetlistList,
|
|
12954
|
-
|
|
12954
|
+
Ww as Shell,
|
|
12955
12955
|
Jl as Sidebar,
|
|
12956
12956
|
La as SidebarSection,
|
|
12957
12957
|
bp as Skeleton,
|
|
@@ -12959,30 +12959,30 @@ export {
|
|
|
12959
12959
|
lw as SpecialDialog,
|
|
12960
12960
|
Nr as Spinner,
|
|
12961
12961
|
hS as StemGenerationForm,
|
|
12962
|
-
|
|
12962
|
+
Hw as StemSeparationForm,
|
|
12963
12963
|
Sp as Strong,
|
|
12964
12964
|
Bt as Switch,
|
|
12965
|
-
|
|
12966
|
-
|
|
12965
|
+
Qw as Table,
|
|
12966
|
+
Mw as Tabs,
|
|
12967
12967
|
FS as TempoControlsForm,
|
|
12968
12968
|
G as Text,
|
|
12969
12969
|
Dl as TextArea,
|
|
12970
12970
|
Ql as TextField,
|
|
12971
12971
|
Cs as Theme,
|
|
12972
12972
|
wl as ThumbnailPicker,
|
|
12973
|
-
|
|
12973
|
+
Kw as ToastProvider,
|
|
12974
12974
|
_e as Tooltip,
|
|
12975
12975
|
Ge as TooltipWithInfoIcon,
|
|
12976
12976
|
Ul as TrackControlButton,
|
|
12977
12977
|
cr as TrackControlsToggle,
|
|
12978
12978
|
gE as TrackHeader,
|
|
12979
|
-
|
|
12979
|
+
Cw as VerticalSegmentControl,
|
|
12980
12980
|
Fh as VisuallyHidden,
|
|
12981
12981
|
nw as VoiceConversionForm,
|
|
12982
12982
|
Hl as Waveform,
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12983
|
+
Uw as useExtension,
|
|
12984
|
+
jw as useForm,
|
|
12985
|
+
Ow as useNavigation,
|
|
12986
|
+
Fw as useScreen,
|
|
12987
|
+
Lw as useToast
|
|
12988
12988
|
};
|
package/package.json
CHANGED
|
@@ -3,6 +3,12 @@ import classNames from 'classnames'
|
|
|
3
3
|
import { Text } from '../Text/Text'
|
|
4
4
|
import styles from './VerticalSegmentControl.module.css'
|
|
5
5
|
|
|
6
|
+
const isSelectedItem = (selected, item) => {
|
|
7
|
+
if (selected == null || item == null) return false
|
|
8
|
+
if (selected === item) return true
|
|
9
|
+
return selected.value != null && item.value != null && selected.value === item.value
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
export const VerticalSegmentControl = ({
|
|
7
13
|
items,
|
|
8
14
|
selectedType,
|
|
@@ -20,7 +26,7 @@ export const VerticalSegmentControl = ({
|
|
|
20
26
|
{...props}
|
|
21
27
|
>
|
|
22
28
|
{items.map((item) => {
|
|
23
|
-
const isSelected = selectedType
|
|
29
|
+
const isSelected = isSelectedItem(selectedType, item)
|
|
24
30
|
return (
|
|
25
31
|
<button
|
|
26
32
|
key={item.value}
|
|
@@ -28,7 +34,7 @@ export const VerticalSegmentControl = ({
|
|
|
28
34
|
role="radio"
|
|
29
35
|
aria-checked={isSelected}
|
|
30
36
|
className={styles.item}
|
|
31
|
-
onClick={() => handleTypeChange(item
|
|
37
|
+
onClick={() => handleTypeChange(item)}
|
|
32
38
|
>
|
|
33
39
|
<div
|
|
34
40
|
className={classNames(styles.surface, isSelected && styles.surfaceSelected)}
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
29
29
|
export const Default = {
|
|
30
30
|
args: {
|
|
31
31
|
items: sixItems,
|
|
32
|
-
initialSelectedType:
|
|
32
|
+
initialSelectedType: sixItems[0],
|
|
33
33
|
'aria-label': 'Mixer segment',
|
|
34
34
|
},
|
|
35
35
|
render: (args) => {
|
|
@@ -40,9 +40,9 @@ export const Default = {
|
|
|
40
40
|
<VerticalSegmentControl
|
|
41
41
|
items={args.items}
|
|
42
42
|
selectedType={selectedType}
|
|
43
|
-
handleTypeChange={(
|
|
44
|
-
setSelectedType(
|
|
45
|
-
args.handleTypeChange(
|
|
43
|
+
handleTypeChange={(item) => {
|
|
44
|
+
setSelectedType(item)
|
|
45
|
+
args.handleTypeChange(item)
|
|
46
46
|
}}
|
|
47
47
|
aria-label={args['aria-label']}
|
|
48
48
|
/>
|
|
@@ -51,14 +51,16 @@ export const Default = {
|
|
|
51
51
|
},
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
const compactItems = [
|
|
55
|
+
{ value: 'a', label: 'Preset' },
|
|
56
|
+
{ value: 'b', label: 'Model' },
|
|
57
|
+
{ value: 'c', label: 'Prompt' },
|
|
58
|
+
]
|
|
59
|
+
|
|
54
60
|
export const CompactList = {
|
|
55
61
|
args: {
|
|
56
|
-
items:
|
|
57
|
-
|
|
58
|
-
{ value: 'b', label: 'Model' },
|
|
59
|
-
{ value: 'c', label: 'Prompt' },
|
|
60
|
-
],
|
|
61
|
-
initialSelectedType: 'b',
|
|
62
|
+
items: compactItems,
|
|
63
|
+
initialSelectedType: compactItems[1],
|
|
62
64
|
},
|
|
63
65
|
render: (args) => {
|
|
64
66
|
const [selectedType, setSelectedType] = useState(args.initialSelectedType)
|
|
@@ -68,9 +70,9 @@ export const CompactList = {
|
|
|
68
70
|
<VerticalSegmentControl
|
|
69
71
|
items={args.items}
|
|
70
72
|
selectedType={selectedType}
|
|
71
|
-
handleTypeChange={(
|
|
72
|
-
setSelectedType(
|
|
73
|
-
args.handleTypeChange?.(
|
|
73
|
+
handleTypeChange={(item) => {
|
|
74
|
+
setSelectedType(item)
|
|
75
|
+
args.handleTypeChange?.(item)
|
|
74
76
|
}}
|
|
75
77
|
/>
|
|
76
78
|
</Flex>
|