@almadar/ui 4.55.0 → 4.56.0

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
  {
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
  {
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -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
  {
@@ -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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.55.0",
3
+ "version": "4.56.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [