@geomak/ui 6.0.0 → 6.0.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.
package/dist/index.js CHANGED
@@ -1080,7 +1080,11 @@ function TabsTrigger({ value, icon, badge, closeable, onClose, disabled, classNa
1080
1080
  /* @__PURE__ */ jsxs("span", { className: "relative z-[1] inline-flex items-center gap-2 min-w-0", children: [
1081
1081
  icon && /* @__PURE__ */ jsx("span", { className: `flex-shrink-0 inline-flex items-center justify-center ${sz.icon}`, children: icon }),
1082
1082
  /* @__PURE__ */ jsx("span", { className: "truncate", children }),
1083
- badge != null && /* @__PURE__ */ jsx("span", { className: "ml-0.5 inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-full bg-border px-1 text-[11px] font-semibold leading-none text-foreground-secondary group-data-[state=active]/trigger:bg-accent group-data-[state=active]/trigger:text-accent-foreground transition-colors", children: badge })
1083
+ badge != null && // Unopinionated count chip: a subtle blue-tinted slate pill
1084
+ // with near-white text, consistent across active/inactive.
1085
+ // Both tokens are theme-relative, so it self-inverts in dark
1086
+ // mode (light pill + dark text) and always stays legible.
1087
+ /* @__PURE__ */ jsx("span", { className: "ml-0.5 inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-full bg-foreground-secondary px-1.5 text-[11px] font-semibold leading-none text-background", children: badge })
1084
1088
  ] }),
1085
1089
  variant === "underline" && isActive && /* @__PURE__ */ jsx(
1086
1090
  motion.span,