@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 +6 -15
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +6 -15
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -8490,7 +8490,7 @@ function BottomNavTabsList({ items, className }) {
|
|
|
8490
8490
|
{
|
|
8491
8491
|
"data-slot": "bottom-nav-tabs-list",
|
|
8492
8492
|
className: cn(
|
|
8493
|
-
"fixed bottom-0 left-0 right-0 z-50 mx-
|
|
8493
|
+
"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)]",
|
|
8494
8494
|
className
|
|
8495
8495
|
),
|
|
8496
8496
|
children: /* @__PURE__ */ jsx(Tabs$1.List, { className: "flex h-20 items-center justify-around px-4", children: items.map(({ value, label, icon, activeIcon }) => {
|
|
@@ -8501,12 +8501,12 @@ function BottomNavTabsList({ items, className }) {
|
|
|
8501
8501
|
value,
|
|
8502
8502
|
"data-slot": "bottom-nav-tabs-trigger",
|
|
8503
8503
|
className: cn(
|
|
8504
|
-
"group flex flex-col items-center
|
|
8504
|
+
"group flex flex-col items-center transition-colors",
|
|
8505
8505
|
"data-[state=active]:text-primary data-[state=inactive]:text-muted-foreground",
|
|
8506
8506
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:rounded-2xl"
|
|
8507
8507
|
),
|
|
8508
8508
|
children: [
|
|
8509
|
-
/* @__PURE__ */ jsxs("span", { className: "relative flex h-
|
|
8509
|
+
/* @__PURE__ */ jsxs("span", { className: "relative flex h-15 w-16 flex-col items-center justify-center gap-1.5", children: [
|
|
8510
8510
|
/* @__PURE__ */ jsx(AnimatePresence, { initial: false, children: isActive && /* @__PURE__ */ jsx(
|
|
8511
8511
|
motion.span,
|
|
8512
8512
|
{
|
|
@@ -8515,23 +8515,14 @@ function BottomNavTabsList({ items, className }) {
|
|
|
8515
8515
|
transition: spring.snappy
|
|
8516
8516
|
}
|
|
8517
8517
|
) }),
|
|
8518
|
-
/* @__PURE__ */ jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon })
|
|
8518
|
+
/* @__PURE__ */ jsx("span", { className: "relative z-10 h-6 w-6", children: isActive ? activeIcon ?? icon : icon }),
|
|
8519
|
+
/* @__PURE__ */ jsx("span", { className: "relative z-10 text-[10px] font-medium leading-none", children: label })
|
|
8519
8520
|
] }),
|
|
8520
8521
|
/* @__PURE__ */ jsx(
|
|
8521
8522
|
"span",
|
|
8522
8523
|
{
|
|
8523
8524
|
className: cn(
|
|
8524
|
-
"
|
|
8525
|
-
isActive && "font-semibold"
|
|
8526
|
-
),
|
|
8527
|
-
children: label
|
|
8528
|
-
}
|
|
8529
|
-
),
|
|
8530
|
-
/* @__PURE__ */ jsx(
|
|
8531
|
-
"span",
|
|
8532
|
-
{
|
|
8533
|
-
className: cn(
|
|
8534
|
-
"h-1 w-5 rounded-full transition-colors",
|
|
8525
|
+
"mt-1 h-1 w-6 rounded-full transition-colors",
|
|
8535
8526
|
isActive ? "bg-primary" : "bg-transparent"
|
|
8536
8527
|
)
|
|
8537
8528
|
}
|