@almadar/ui 4.47.5 → 4.47.7

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.
@@ -4418,6 +4418,9 @@ function exprToTree(expr) {
4418
4418
  }
4419
4419
  return { label: expr, type: "literal" };
4420
4420
  }
4421
+ if (expr !== null && typeof expr === "object") {
4422
+ return { label: JSON.stringify(expr), type: "literal" };
4423
+ }
4421
4424
  return { label: String(expr), type: "literal" };
4422
4425
  }
4423
4426
  function parseApplicationLevel(schema) {
@@ -23554,7 +23557,7 @@ var init_Tabs = __esm({
23554
23557
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
23555
23558
  ),
23556
23559
  children: [
23557
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
23558
23561
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
23559
23562
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
23560
23563
  ]
package/dist/avl/index.js CHANGED
@@ -4372,6 +4372,9 @@ function exprToTree(expr) {
4372
4372
  }
4373
4373
  return { label: expr, type: "literal" };
4374
4374
  }
4375
+ if (expr !== null && typeof expr === "object") {
4376
+ return { label: JSON.stringify(expr), type: "literal" };
4377
+ }
4375
4378
  return { label: String(expr), type: "literal" };
4376
4379
  }
4377
4380
  function parseApplicationLevel(schema) {
@@ -23508,7 +23511,7 @@ var init_Tabs = __esm({
23508
23511
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
23509
23512
  ),
23510
23513
  children: [
23511
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
23512
23515
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
23513
23516
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
23514
23517
  ]
@@ -18539,7 +18539,7 @@ var init_Tabs = __esm({
18539
18539
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
18540
18540
  ),
18541
18541
  children: [
18542
- 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" })),
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" })),
18543
18543
  /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
18544
18544
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: "default", size: "sm", children: item.badge })
18545
18545
  ]
@@ -18493,7 +18493,7 @@ var init_Tabs = __esm({
18493
18493
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
18494
18494
  ),
18495
18495
  children: [
18496
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
18497
18497
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
18498
18498
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
18499
18499
  ]
@@ -3484,6 +3484,9 @@ function exprToTree(expr) {
3484
3484
  }
3485
3485
  return { label: expr, type: "literal" };
3486
3486
  }
3487
+ if (expr !== null && typeof expr === "object") {
3488
+ return { label: JSON.stringify(expr), type: "literal" };
3489
+ }
3487
3490
  return { label: String(expr), type: "literal" };
3488
3491
  }
3489
3492
  function parseApplicationLevel(schema) {
@@ -3460,6 +3460,9 @@ function exprToTree(expr) {
3460
3460
  }
3461
3461
  return { label: expr, type: "literal" };
3462
3462
  }
3463
+ if (expr !== null && typeof expr === "object") {
3464
+ return { label: JSON.stringify(expr), type: "literal" };
3465
+ }
3463
3466
  return { label: String(expr), type: "literal" };
3464
3467
  }
3465
3468
  function parseApplicationLevel(schema) {
@@ -19969,7 +19969,7 @@ var init_Tabs = __esm({
19969
19969
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19970
19970
  ),
19971
19971
  children: [
19972
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
19973
19973
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19974
19974
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19975
19975
  ]
@@ -19923,7 +19923,7 @@ var init_Tabs = __esm({
19923
19923
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19924
19924
  ),
19925
19925
  children: [
19926
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
19927
19927
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19928
19928
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19929
19929
  ]
@@ -19752,7 +19752,7 @@ var init_Tabs = __esm({
19752
19752
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19753
19753
  ),
19754
19754
  children: [
19755
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
19756
19756
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19757
19757
  item.badge !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19758
19758
  ]
@@ -19706,7 +19706,7 @@ var init_Tabs = __esm({
19706
19706
  isActive ? variant === "pills" ? "text-primary-foreground font-bold" : "text-foreground font-bold" : "text-muted-foreground hover:text-foreground"
19707
19707
  ),
19708
19708
  children: [
19709
- item.icon && (typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: item.icon, size: "sm" }) : /* @__PURE__ */ jsx(Icon, { icon: item.icon, size: "sm" })),
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" })),
19710
19710
  /* @__PURE__ */ jsx(Typography, { variant: "small", weight: isActive ? "semibold" : "normal", className: "!text-inherit", children: item.label }),
19711
19711
  item.badge !== void 0 && /* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: item.badge })
19712
19712
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.47.5",
3
+ "version": "4.47.7",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [