@bizapps/ui 1.3.5 → 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 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: "wait", children: isOpen && children }) });
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: "wait", children: isOpen && children }) });
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
  }
@@ -8495,7 +8498,7 @@ function BottomNavTabsList({ items, className }) {
8495
8498
  {
8496
8499
  "data-slot": "bottom-nav-tabs-list",
8497
8500
  className: cn(
8498
- "fixed bottom-0 left-0 right-0 z-50 mx-4 mb-4 rounded-2xl bg-background shadow-[0_-4px_20px_rgba(0,0,0,0.08)]",
8501
+ "fixed bottom-0 left-0 right-0 z-50 mx-6 max-w- mb-4 rounded-2xl bg-background shadow-[0_-4px_20px_rgba(0,0,0,0.08)]",
8499
8502
  className
8500
8503
  ),
8501
8504
  children: /* @__PURE__ */ jsxRuntime.jsx(radixUi.Tabs.List, { className: "flex h-20 items-center justify-around px-4", children: items.map(({ value, label, icon, activeIcon }) => {
@@ -8506,12 +8509,12 @@ function BottomNavTabsList({ items, className }) {
8506
8509
  value,
8507
8510
  "data-slot": "bottom-nav-tabs-trigger",
8508
8511
  className: cn(
8509
- "group flex flex-col items-center gap-0.5 transition-colors",
8512
+ "group flex flex-col items-center transition-colors",
8510
8513
  "data-[state=active]:text-primary data-[state=inactive]:text-muted-foreground",
8511
8514
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:rounded-2xl"
8512
8515
  ),
8513
8516
  children: [
8514
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative flex h-12 w-12 items-center justify-center", children: [
8517
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative flex h-15 w-16 flex-col items-center justify-center gap-1.5", children: [
8515
8518
  /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { initial: false, children: isActive && /* @__PURE__ */ jsxRuntime.jsx(
8516
8519
  react$1.motion.span,
8517
8520
  {
@@ -8520,23 +8523,14 @@ function BottomNavTabsList({ items, className }) {
8520
8523
  transition: spring.snappy
8521
8524
  }
8522
8525
  ) }),
8523
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon })
8526
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon }),
8527
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-[10px] font-medium leading-none", children: label })
8524
8528
  ] }),
8525
8529
  /* @__PURE__ */ jsxRuntime.jsx(
8526
8530
  "span",
8527
8531
  {
8528
8532
  className: cn(
8529
- "text-[10px] font-medium",
8530
- isActive && "font-semibold"
8531
- ),
8532
- children: label
8533
- }
8534
- ),
8535
- /* @__PURE__ */ jsxRuntime.jsx(
8536
- "span",
8537
- {
8538
- className: cn(
8539
- "h-1 w-5 rounded-full transition-colors",
8533
+ "mt-1 h-1 w-6 rounded-full transition-colors",
8540
8534
  isActive ? "bg-primary" : "bg-transparent"
8541
8535
  )
8542
8536
  }
@@ -8615,7 +8609,7 @@ function DrawerContent({
8615
8609
  const dragRef = react.useRef(null);
8616
8610
  const { modal } = react.useContext(DrawerContext);
8617
8611
  return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { children: [
8618
- modal && /* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
8612
+ modal && /* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}, "drawer-overlay"),
8619
8613
  /* @__PURE__ */ jsxRuntime.jsx(
8620
8614
  radixUi.Dialog.Content,
8621
8615
  {
@@ -8712,7 +8706,8 @@ function DrawerContent({
8712
8706
  ]
8713
8707
  }
8714
8708
  )
8715
- }
8709
+ },
8710
+ "drawer-content"
8716
8711
  )
8717
8712
  ] });
8718
8713
  }