@almadar/ui 4.47.7 → 4.47.8

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