@bizapps/ui 1.3.5 → 1.3.6

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
@@ -8495,7 +8495,7 @@ function BottomNavTabsList({ items, className }) {
8495
8495
  {
8496
8496
  "data-slot": "bottom-nav-tabs-list",
8497
8497
  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)]",
8498
+ "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
8499
  className
8500
8500
  ),
8501
8501
  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 +8506,12 @@ function BottomNavTabsList({ items, className }) {
8506
8506
  value,
8507
8507
  "data-slot": "bottom-nav-tabs-trigger",
8508
8508
  className: cn(
8509
- "group flex flex-col items-center gap-0.5 transition-colors",
8509
+ "group flex flex-col items-center transition-colors",
8510
8510
  "data-[state=active]:text-primary data-[state=inactive]:text-muted-foreground",
8511
8511
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:rounded-2xl"
8512
8512
  ),
8513
8513
  children: [
8514
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative flex h-12 w-12 items-center justify-center", children: [
8514
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative flex h-15 w-16 flex-col items-center justify-center gap-1.5", children: [
8515
8515
  /* @__PURE__ */ jsxRuntime.jsx(react$1.AnimatePresence, { initial: false, children: isActive && /* @__PURE__ */ jsxRuntime.jsx(
8516
8516
  react$1.motion.span,
8517
8517
  {
@@ -8520,23 +8520,14 @@ function BottomNavTabsList({ items, className }) {
8520
8520
  transition: spring.snappy
8521
8521
  }
8522
8522
  ) }),
8523
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon })
8523
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon }),
8524
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-[10px] font-medium leading-none", children: label })
8524
8525
  ] }),
8525
8526
  /* @__PURE__ */ jsxRuntime.jsx(
8526
8527
  "span",
8527
8528
  {
8528
8529
  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",
8530
+ "mt-1 h-1 w-6 rounded-full transition-colors",
8540
8531
  isActive ? "bg-primary" : "bg-transparent"
8541
8532
  )
8542
8533
  }