@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.cjs
CHANGED
|
@@ -2230,7 +2230,7 @@ function DialogTrigger({ ...props }) {
|
|
|
2230
2230
|
}
|
|
2231
2231
|
function DialogPortal({ children, ...props }) {
|
|
2232
2232
|
const isOpen = react.useContext(DialogContext);
|
|
2233
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Portal, { "data-slot": "dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { mode: "
|
|
2233
|
+
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Portal, { "data-slot": "dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { mode: "sync", children: isOpen && children }) });
|
|
2234
2234
|
}
|
|
2235
2235
|
function DialogClose({ ...props }) {
|
|
2236
2236
|
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Close, { "data-slot": "dialog-close", ...props });
|
|
@@ -2257,7 +2257,7 @@ function DialogContent({
|
|
|
2257
2257
|
...props
|
|
2258
2258
|
}) {
|
|
2259
2259
|
return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
|
|
2260
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
|
|
2260
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}, "dialog-overlay"),
|
|
2261
2261
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2262
2262
|
radixUi.Dialog.Content,
|
|
2263
2263
|
{
|
|
@@ -2294,7 +2294,8 @@ function DialogContent({
|
|
|
2294
2294
|
]
|
|
2295
2295
|
}
|
|
2296
2296
|
)
|
|
2297
|
-
}
|
|
2297
|
+
},
|
|
2298
|
+
"dialog-content"
|
|
2298
2299
|
)
|
|
2299
2300
|
] });
|
|
2300
2301
|
}
|
|
@@ -2397,7 +2398,7 @@ function AlertDialogPortal({
|
|
|
2397
2398
|
...props
|
|
2398
2399
|
}) {
|
|
2399
2400
|
const isOpen = react.useContext(AlertDialogContext);
|
|
2400
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Portal, { "data-slot": "alert-dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { mode: "
|
|
2401
|
+
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Portal, { "data-slot": "alert-dialog-portal", forceMount: true, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { mode: "sync", children: isOpen && children }) });
|
|
2401
2402
|
}
|
|
2402
2403
|
function AlertDialogOverlay({
|
|
2403
2404
|
className,
|
|
@@ -2439,7 +2440,8 @@ function AlertDialogContent({
|
|
|
2439
2440
|
AlertDialogOverlay,
|
|
2440
2441
|
{
|
|
2441
2442
|
className: cn(variant === "dark-glass" && "bg-primary/60 backdrop-blur-md")
|
|
2442
|
-
}
|
|
2443
|
+
},
|
|
2444
|
+
"alert-dialog-overlay"
|
|
2443
2445
|
),
|
|
2444
2446
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2445
2447
|
radixUi.AlertDialog.Content,
|
|
@@ -2473,7 +2475,8 @@ function AlertDialogContent({
|
|
|
2473
2475
|
]
|
|
2474
2476
|
}
|
|
2475
2477
|
)
|
|
2476
|
-
}
|
|
2478
|
+
},
|
|
2479
|
+
"alert-dialog-content"
|
|
2477
2480
|
)
|
|
2478
2481
|
] });
|
|
2479
2482
|
}
|
|
@@ -8606,7 +8609,7 @@ function DrawerContent({
|
|
|
8606
8609
|
const dragRef = react.useRef(null);
|
|
8607
8610
|
const { modal } = react.useContext(DrawerContext);
|
|
8608
8611
|
return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { children: [
|
|
8609
|
-
modal && /* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
|
|
8612
|
+
modal && /* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}, "drawer-overlay"),
|
|
8610
8613
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8611
8614
|
radixUi.Dialog.Content,
|
|
8612
8615
|
{
|
|
@@ -8703,7 +8706,8 @@ function DrawerContent({
|
|
|
8703
8706
|
]
|
|
8704
8707
|
}
|
|
8705
8708
|
)
|
|
8706
|
-
}
|
|
8709
|
+
},
|
|
8710
|
+
"drawer-content"
|
|
8707
8711
|
)
|
|
8708
8712
|
] });
|
|
8709
8713
|
}
|