@almadar/ui 4.47.7 → 4.47.9

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.
@@ -5790,8 +5790,7 @@ var init_Icon = __esm({
5790
5790
  className: cn(
5791
5791
  sizeClasses[size],
5792
5792
  animationClasses[animation],
5793
- // Use theme's icon color or provided color
5794
- color ? color : "text-[var(--icon-color,currentColor)]",
5793
+ color ? color : "text-current",
5795
5794
  className
5796
5795
  ),
5797
5796
  strokeWidth: effectiveStrokeWidth,
@@ -23557,7 +23556,7 @@ var init_Tabs = __esm({
23557
23556
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
23558
23557
  ),
23559
23558
  children: [
23560
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
23559
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
23561
23560
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
23562
23561
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
23563
23562
  ]
@@ -23567,7 +23566,7 @@ var init_Tabs = __esm({
23567
23566
  })
23568
23567
  }
23569
23568
  ),
23570
- /* @__PURE__ */ jsxRuntime.jsx(
23569
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsxRuntime.jsx(
23571
23570
  Box,
23572
23571
  {
23573
23572
  role: "tabpanel",
package/dist/avl/index.js CHANGED
@@ -5744,8 +5744,7 @@ var init_Icon = __esm({
5744
5744
  className: cn(
5745
5745
  sizeClasses[size],
5746
5746
  animationClasses[animation],
5747
- // Use theme's icon color or provided color
5748
- color ? color : "text-[var(--icon-color,currentColor)]",
5747
+ color ? color : "text-current",
5749
5748
  className
5750
5749
  ),
5751
5750
  strokeWidth: effectiveStrokeWidth,
@@ -23511,7 +23510,7 @@ var init_Tabs = __esm({
23511
23510
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
23512
23511
  ),
23513
23512
  children: [
23514
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
23513
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
23515
23514
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
23516
23515
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
23517
23516
  ]
@@ -23521,7 +23520,7 @@ var init_Tabs = __esm({
23521
23520
  })
23522
23521
  }
23523
23522
  ),
23524
- /* @__PURE__ */ jsx(
23523
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsx(
23525
23524
  Box,
23526
23525
  {
23527
23526
  role: "tabpanel",
@@ -1196,8 +1196,7 @@ var init_Icon = __esm({
1196
1196
  className: cn(
1197
1197
  sizeClasses[size],
1198
1198
  animationClasses[animation],
1199
- // Use theme's icon color or provided color
1200
- color ? color : "text-[var(--icon-color,currentColor)]",
1199
+ color ? color : "text-current",
1201
1200
  className
1202
1201
  ),
1203
1202
  strokeWidth: effectiveStrokeWidth,
@@ -18539,7 +18538,7 @@ var init_Tabs = __esm({
18539
18538
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
18540
18539
  ),
18541
18540
  children: [
18542
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
18541
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { icon: item.icon, size: "sm" })),
18543
18542
  /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
18544
18543
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: "default", size: "sm", children: item.badge })
18545
18544
  ]
@@ -18549,7 +18548,7 @@ var init_Tabs = __esm({
18549
18548
  })
18550
18549
  }
18551
18550
  ),
18552
- /* @__PURE__ */ jsxRuntime.jsx(
18551
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsxRuntime.jsx(
18553
18552
  exports.Box,
18554
18553
  {
18555
18554
  role: "tabpanel",
@@ -1150,8 +1150,7 @@ var init_Icon = __esm({
1150
1150
  className: cn(
1151
1151
  sizeClasses[size],
1152
1152
  animationClasses[animation],
1153
- // Use theme's icon color or provided color
1154
- color ? color : "text-[var(--icon-color,currentColor)]",
1153
+ color ? color : "text-current",
1155
1154
  className
1156
1155
  ),
1157
1156
  strokeWidth: effectiveStrokeWidth,
@@ -18493,7 +18492,7 @@ var init_Tabs = __esm({
18493
18492
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
18494
18493
  ),
18495
18494
  children: [
18496
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
18495
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
18497
18496
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
18498
18497
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
18499
18498
  ]
@@ -18503,7 +18502,7 @@ var init_Tabs = __esm({
18503
18502
  })
18504
18503
  }
18505
18504
  ),
18506
- /* @__PURE__ */ jsx(
18505
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsx(
18507
18506
  Box,
18508
18507
  {
18509
18508
  role: "tabpanel",
@@ -3073,8 +3073,7 @@ var Icon = ({
3073
3073
  className: cn(
3074
3074
  sizeClasses[size],
3075
3075
  animationClasses[animation],
3076
- // Use theme's icon color or provided color
3077
- color ? color : "text-[var(--icon-color,currentColor)]",
3076
+ color ? color : "text-current",
3078
3077
  className
3079
3078
  ),
3080
3079
  strokeWidth: effectiveStrokeWidth,
@@ -3049,8 +3049,7 @@ var Icon = ({
3049
3049
  className: cn(
3050
3050
  sizeClasses[size],
3051
3051
  animationClasses[animation],
3052
- // Use theme's icon color or provided color
3053
- color ? color : "text-[var(--icon-color,currentColor)]",
3052
+ color ? color : "text-current",
3054
3053
  className
3055
3054
  ),
3056
3055
  strokeWidth: effectiveStrokeWidth,
@@ -3073,8 +3073,7 @@ var Icon = ({
3073
3073
  className: cn(
3074
3074
  sizeClasses[size],
3075
3075
  animationClasses[animation],
3076
- // Use theme's icon color or provided color
3077
- color ? color : "text-[var(--icon-color,currentColor)]",
3076
+ color ? color : "text-current",
3078
3077
  className
3079
3078
  ),
3080
3079
  strokeWidth: effectiveStrokeWidth,
@@ -3049,8 +3049,7 @@ var Icon = ({
3049
3049
  className: cn(
3050
3050
  sizeClasses[size],
3051
3051
  animationClasses[animation],
3052
- // Use theme's icon color or provided color
3053
- color ? color : "text-[var(--icon-color,currentColor)]",
3052
+ color ? color : "text-current",
3054
3053
  className
3055
3054
  ),
3056
3055
  strokeWidth: effectiveStrokeWidth,
@@ -608,8 +608,7 @@ var init_Icon = __esm({
608
608
  className: cn(
609
609
  sizeClasses[size],
610
610
  animationClasses[animation],
611
- // Use theme's icon color or provided color
612
- color ? color : "text-[var(--icon-color,currentColor)]",
611
+ color ? color : "text-current",
613
612
  className
614
613
  ),
615
614
  strokeWidth: effectiveStrokeWidth,
@@ -19969,7 +19968,7 @@ var init_Tabs = __esm({
19969
19968
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19970
19969
  ),
19971
19970
  children: [
19972
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
19971
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
19973
19972
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19974
19973
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19975
19974
  ]
@@ -19979,7 +19978,7 @@ var init_Tabs = __esm({
19979
19978
  })
19980
19979
  }
19981
19980
  ),
19982
- /* @__PURE__ */ jsxRuntime.jsx(
19981
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsxRuntime.jsx(
19983
19982
  Box,
19984
19983
  {
19985
19984
  role: "tabpanel",
@@ -562,8 +562,7 @@ var init_Icon = __esm({
562
562
  className: cn(
563
563
  sizeClasses[size],
564
564
  animationClasses[animation],
565
- // Use theme's icon color or provided color
566
- color ? color : "text-[var(--icon-color,currentColor)]",
565
+ color ? color : "text-current",
567
566
  className
568
567
  ),
569
568
  strokeWidth: effectiveStrokeWidth,
@@ -19923,7 +19922,7 @@ var init_Tabs = __esm({
19923
19922
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19924
19923
  ),
19925
19924
  children: [
19926
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
19925
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
19927
19926
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19928
19927
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19929
19928
  ]
@@ -19933,7 +19932,7 @@ var init_Tabs = __esm({
19933
19932
  })
19934
19933
  }
19935
19934
  ),
19936
- /* @__PURE__ */ jsx(
19935
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsx(
19937
19936
  Box,
19938
19937
  {
19939
19938
  role: "tabpanel",
@@ -892,8 +892,7 @@ var init_Icon = __esm({
892
892
  className: cn(
893
893
  sizeClasses[size],
894
894
  animationClasses[animation],
895
- // Use theme's icon color or provided color
896
- color ? color : "text-[var(--icon-color,currentColor)]",
895
+ color ? color : "text-current",
897
896
  className
898
897
  ),
899
898
  strokeWidth: effectiveStrokeWidth,
@@ -19752,7 +19751,7 @@ var init_Tabs = __esm({
19752
19751
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19753
19752
  ),
19754
19753
  children: [
19755
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
19754
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
19756
19755
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19757
19756
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19758
19757
  ]
@@ -19762,7 +19761,7 @@ var init_Tabs = __esm({
19762
19761
  })
19763
19762
  }
19764
19763
  ),
19765
- /* @__PURE__ */ jsxRuntime.jsx(
19764
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsxRuntime.jsx(
19766
19765
  Box,
19767
19766
  {
19768
19767
  role: "tabpanel",
@@ -846,8 +846,7 @@ var init_Icon = __esm({
846
846
  className: cn(
847
847
  sizeClasses[size],
848
848
  animationClasses[animation],
849
- // Use theme's icon color or provided color
850
- color ? color : "text-[var(--icon-color,currentColor)]",
849
+ color ? color : "text-current",
851
850
  className
852
851
  ),
853
852
  strokeWidth: effectiveStrokeWidth,
@@ -19706,7 +19705,7 @@ var init_Tabs = __esm({
19706
19705
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19707
19706
  ),
19708
19707
  children: [
19709
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm", color: "text-inherit" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm", color: "text-inherit" })),
19708
+ item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
19710
19709
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19711
19710
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19712
19711
  ]
@@ -19716,7 +19715,7 @@ var init_Tabs = __esm({
19716
19715
  })
19717
19716
  }
19718
19717
  ),
19719
- /* @__PURE__ */ jsx(
19718
+ activeTabContent !== void 0 && activeTabContent !== null && /* @__PURE__ */ jsx(
19720
19719
  Box,
19721
19720
  {
19722
19721
  role: "tabpanel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.47.7",
3
+ "version": "4.47.9",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [