@bizapps/ui 1.3.6 → 1.3.7
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/main.cjs +12 -8
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +12 -8
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2225,7 +2225,7 @@ function DialogTrigger({ ...props }) {
|
|
|
2225
2225
|
}
|
|
2226
2226
|
function DialogPortal({ children, ...props }) {
|
|
2227
2227
|
const isOpen = useContext(DialogContext);
|
|
2228
|
-
return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "
|
|
2228
|
+
return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "sync", children: isOpen && children }) });
|
|
2229
2229
|
}
|
|
2230
2230
|
function DialogClose({ ...props }) {
|
|
2231
2231
|
return /* @__PURE__ */ jsx(Dialog$1.Close, { "data-slot": "dialog-close", ...props });
|
|
@@ -2252,7 +2252,7 @@ function DialogContent({
|
|
|
2252
2252
|
...props
|
|
2253
2253
|
}) {
|
|
2254
2254
|
return /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
2255
|
-
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
2255
|
+
/* @__PURE__ */ jsx(DialogOverlay, {}, "dialog-overlay"),
|
|
2256
2256
|
/* @__PURE__ */ jsx(
|
|
2257
2257
|
Dialog$1.Content,
|
|
2258
2258
|
{
|
|
@@ -2289,7 +2289,8 @@ function DialogContent({
|
|
|
2289
2289
|
]
|
|
2290
2290
|
}
|
|
2291
2291
|
)
|
|
2292
|
-
}
|
|
2292
|
+
},
|
|
2293
|
+
"dialog-content"
|
|
2293
2294
|
)
|
|
2294
2295
|
] });
|
|
2295
2296
|
}
|
|
@@ -2392,7 +2393,7 @@ function AlertDialogPortal({
|
|
|
2392
2393
|
...props
|
|
2393
2394
|
}) {
|
|
2394
2395
|
const isOpen = useContext(AlertDialogContext);
|
|
2395
|
-
return /* @__PURE__ */ jsx(AlertDialog$1.Portal, { "data-slot": "alert-dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "
|
|
2396
|
+
return /* @__PURE__ */ jsx(AlertDialog$1.Portal, { "data-slot": "alert-dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "sync", children: isOpen && children }) });
|
|
2396
2397
|
}
|
|
2397
2398
|
function AlertDialogOverlay({
|
|
2398
2399
|
className,
|
|
@@ -2434,7 +2435,8 @@ function AlertDialogContent({
|
|
|
2434
2435
|
AlertDialogOverlay,
|
|
2435
2436
|
{
|
|
2436
2437
|
className: cn(variant === "dark-glass" && "bg-primary/60 backdrop-blur-md")
|
|
2437
|
-
}
|
|
2438
|
+
},
|
|
2439
|
+
"alert-dialog-overlay"
|
|
2438
2440
|
),
|
|
2439
2441
|
/* @__PURE__ */ jsx(
|
|
2440
2442
|
AlertDialog$1.Content,
|
|
@@ -2468,7 +2470,8 @@ function AlertDialogContent({
|
|
|
2468
2470
|
]
|
|
2469
2471
|
}
|
|
2470
2472
|
)
|
|
2471
|
-
}
|
|
2473
|
+
},
|
|
2474
|
+
"alert-dialog-content"
|
|
2472
2475
|
)
|
|
2473
2476
|
] });
|
|
2474
2477
|
}
|
|
@@ -8601,7 +8604,7 @@ function DrawerContent({
|
|
|
8601
8604
|
const dragRef = useRef(null);
|
|
8602
8605
|
const { modal } = useContext(DrawerContext);
|
|
8603
8606
|
return /* @__PURE__ */ jsxs(DrawerPortal, { children: [
|
|
8604
|
-
modal && /* @__PURE__ */ jsx(DrawerOverlay, {}),
|
|
8607
|
+
modal && /* @__PURE__ */ jsx(DrawerOverlay, {}, "drawer-overlay"),
|
|
8605
8608
|
/* @__PURE__ */ jsx(
|
|
8606
8609
|
Dialog$1.Content,
|
|
8607
8610
|
{
|
|
@@ -8698,7 +8701,8 @@ function DrawerContent({
|
|
|
8698
8701
|
]
|
|
8699
8702
|
}
|
|
8700
8703
|
)
|
|
8701
|
-
}
|
|
8704
|
+
},
|
|
8705
|
+
"drawer-content"
|
|
8702
8706
|
)
|
|
8703
8707
|
] });
|
|
8704
8708
|
}
|