@moises.ai/design-system 2.0.69 → 2.0.70
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 +11 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3460,30 +3460,32 @@ const fp = "_trigger_18rxe_1", hp = "_hover_18rxe_12", gp = "_separator_18rxe_21
|
|
|
3460
3460
|
className: r,
|
|
3461
3461
|
showSeparator: s = !0,
|
|
3462
3462
|
onTriggerClick: n,
|
|
3463
|
-
|
|
3463
|
+
open: o,
|
|
3464
|
+
onOpenChange: l,
|
|
3465
|
+
...i
|
|
3464
3466
|
}) => {
|
|
3465
|
-
const [
|
|
3466
|
-
n && (
|
|
3467
|
+
const [c, u] = Fe(!1), m = (f) => {
|
|
3468
|
+
n && (f.preventDefault(), f.stopPropagation(), n(f));
|
|
3467
3469
|
};
|
|
3468
|
-
return /* @__PURE__ */ d(x, { className: p(Me.container, r), ...
|
|
3470
|
+
return /* @__PURE__ */ d(x, { className: p(Me.container, r), ...i, children: /* @__PURE__ */ S(Hr, { open: o, onOpenChange: l, children: [
|
|
3469
3471
|
/* @__PURE__ */ d(Fr, { asChild: !0, children: /* @__PURE__ */ S(
|
|
3470
3472
|
"div",
|
|
3471
3473
|
{
|
|
3472
3474
|
className: p(Me.trigger, {
|
|
3473
|
-
[Me.hover]:
|
|
3475
|
+
[Me.hover]: c
|
|
3474
3476
|
}),
|
|
3475
3477
|
onMouseEnter: () => {
|
|
3476
|
-
|
|
3478
|
+
u(!0);
|
|
3477
3479
|
},
|
|
3478
3480
|
onMouseLeave: () => {
|
|
3479
|
-
|
|
3481
|
+
u(!1);
|
|
3480
3482
|
},
|
|
3481
3483
|
children: [
|
|
3482
3484
|
/* @__PURE__ */ d(
|
|
3483
3485
|
dt,
|
|
3484
3486
|
{
|
|
3485
3487
|
variant: "ghost",
|
|
3486
|
-
onClick:
|
|
3488
|
+
onClick: m,
|
|
3487
3489
|
size: "2",
|
|
3488
3490
|
style: {
|
|
3489
3491
|
padding: s ? "0px 8px 0 6px" : "0 6px"
|
|
@@ -3498,7 +3500,7 @@ const fp = "_trigger_18rxe_1", hp = "_hover_18rxe_12", gp = "_separator_18rxe_21
|
|
|
3498
3500
|
width: 8,
|
|
3499
3501
|
height: 8,
|
|
3500
3502
|
className: p(Me.chevron, {
|
|
3501
|
-
[Me.hover]:
|
|
3503
|
+
[Me.hover]: c
|
|
3502
3504
|
})
|
|
3503
3505
|
}
|
|
3504
3506
|
)
|