@almadar/ui 4.55.0 → 4.56.1

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.
@@ -25507,7 +25507,10 @@ var init_DashboardLayout = __esm({
25507
25507
  Box,
25508
25508
  {
25509
25509
  as: "nav",
25510
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
25510
+ className: cn(
25511
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
25512
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
25513
+ ),
25511
25514
  children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
25512
25515
  NavLinkBottom,
25513
25516
  {
@@ -25574,7 +25577,7 @@ var init_DashboardLayout = __esm({
25574
25577
  ),
25575
25578
  children: [
25576
25579
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: "h-4 w-4" })),
25577
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
25580
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
25578
25581
  item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
25579
25582
  ]
25580
25583
  }
package/dist/avl/index.js CHANGED
@@ -25461,7 +25461,10 @@ var init_DashboardLayout = __esm({
25461
25461
  Box,
25462
25462
  {
25463
25463
  as: "nav",
25464
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
25464
+ className: cn(
25465
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
25466
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
25467
+ ),
25465
25468
  children: /* @__PURE__ */ jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsx(
25466
25469
  NavLinkBottom,
25467
25470
  {
@@ -25528,7 +25531,7 @@ var init_DashboardLayout = __esm({
25528
25531
  ),
25529
25532
  children: [
25530
25533
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsx(item.icon, { className: "h-4 w-4" })),
25531
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
25534
+ /* @__PURE__ */ jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
25532
25535
  item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
25533
25536
  ]
25534
25537
  }
@@ -20674,7 +20674,10 @@ var init_DashboardLayout = __esm({
20674
20674
  exports.Box,
20675
20675
  {
20676
20676
  as: "nav",
20677
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
20677
+ className: cn(
20678
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
20679
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
20680
+ ),
20678
20681
  children: /* @__PURE__ */ jsxRuntime.jsx(exports.HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
20679
20682
  NavLinkBottom,
20680
20683
  {
@@ -20741,7 +20744,7 @@ var init_DashboardLayout = __esm({
20741
20744
  ),
20742
20745
  children: [
20743
20746
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: "h-4 w-4" })),
20744
- /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
20747
+ /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
20745
20748
  item.badge && /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
20746
20749
  ]
20747
20750
  }
@@ -20628,7 +20628,10 @@ var init_DashboardLayout = __esm({
20628
20628
  Box,
20629
20629
  {
20630
20630
  as: "nav",
20631
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
20631
+ className: cn(
20632
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
20633
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
20634
+ ),
20632
20635
  children: /* @__PURE__ */ jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsx(
20633
20636
  NavLinkBottom,
20634
20637
  {
@@ -20695,7 +20698,7 @@ var init_DashboardLayout = __esm({
20695
20698
  ),
20696
20699
  children: [
20697
20700
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsx(item.icon, { className: "h-4 w-4" })),
20698
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
20701
+ /* @__PURE__ */ jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
20699
20702
  item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
20700
20703
  ]
20701
20704
  }
@@ -21919,7 +21919,10 @@ var init_DashboardLayout = __esm({
21919
21919
  Box,
21920
21920
  {
21921
21921
  as: "nav",
21922
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
21922
+ className: cn(
21923
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
21924
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
21925
+ ),
21923
21926
  children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
21924
21927
  NavLinkBottom,
21925
21928
  {
@@ -21986,7 +21989,7 @@ var init_DashboardLayout = __esm({
21986
21989
  ),
21987
21990
  children: [
21988
21991
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: "h-4 w-4" })),
21989
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
21992
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
21990
21993
  item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
21991
21994
  ]
21992
21995
  }
@@ -21873,7 +21873,10 @@ var init_DashboardLayout = __esm({
21873
21873
  Box,
21874
21874
  {
21875
21875
  as: "nav",
21876
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
21876
+ className: cn(
21877
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
21878
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
21879
+ ),
21877
21880
  children: /* @__PURE__ */ jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsx(
21878
21881
  NavLinkBottom,
21879
21882
  {
@@ -21940,7 +21943,7 @@ var init_DashboardLayout = __esm({
21940
21943
  ),
21941
21944
  children: [
21942
21945
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsx(item.icon, { className: "h-4 w-4" })),
21943
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
21946
+ /* @__PURE__ */ jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
21944
21947
  item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
21945
21948
  ]
21946
21949
  }
@@ -21688,7 +21688,10 @@ var init_DashboardLayout = __esm({
21688
21688
  Box,
21689
21689
  {
21690
21690
  as: "nav",
21691
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
21691
+ className: cn(
21692
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
21693
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
21694
+ ),
21692
21695
  children: /* @__PURE__ */ jsxRuntime.jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
21693
21696
  NavLinkBottom,
21694
21697
  {
@@ -21755,7 +21758,7 @@ var init_DashboardLayout = __esm({
21755
21758
  ),
21756
21759
  children: [
21757
21760
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: "h-4 w-4" })),
21758
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
21761
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
21759
21762
  item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
21760
21763
  ]
21761
21764
  }
@@ -21642,7 +21642,10 @@ var init_DashboardLayout = __esm({
21642
21642
  Box,
21643
21643
  {
21644
21644
  as: "nav",
21645
- className: "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border @md/dashboard:hidden",
21645
+ className: cn(
21646
+ "sticky bottom-0 z-20 h-16 bg-card dark:bg-card border-t border-border dark:border-border",
21647
+ layoutMode !== "bottomnav" && "@md/dashboard:hidden"
21648
+ ),
21646
21649
  children: /* @__PURE__ */ jsx(HStack, { align: "center", justify: "around", className: "h-full px-2", children: navItems.map((item) => /* @__PURE__ */ jsx(
21647
21650
  NavLinkBottom,
21648
21651
  {
@@ -21709,7 +21712,7 @@ var init_DashboardLayout = __esm({
21709
21712
  ),
21710
21713
  children: [
21711
21714
  item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, className: "h-4 w-4" }) : /* @__PURE__ */ jsx(item.icon, { className: "h-4 w-4" })),
21712
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "flex-1", as: "span", children: item.label }),
21715
+ /* @__PURE__ */ jsx(Typography, { variant: "small", color: "inherit", className: "flex-1", as: "span", children: item.label }),
21713
21716
  item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", children: item.badge })
21714
21717
  ]
21715
21718
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.55.0",
3
+ "version": "4.56.1",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [