@orangecheck/design 0.13.0 → 0.13.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.
@@ -1759,7 +1759,11 @@ function isActive(pathname, link) {
1759
1759
  if (link.href === "/") return pathname === "/";
1760
1760
  return pathname === link.href || pathname.startsWith(link.href + "/");
1761
1761
  }
1762
- function OcPrimaryNav({ activePath, links, className }) {
1762
+ function OcPrimaryNav({
1763
+ activePath,
1764
+ links,
1765
+ className
1766
+ }) {
1763
1767
  return /* @__PURE__ */ jsxRuntime.jsx(
1764
1768
  "nav",
1765
1769
  {
@@ -1768,7 +1772,7 @@ function OcPrimaryNav({ activePath, links, className }) {
1768
1772
  "data-oc-primary-nav": "",
1769
1773
  children: links.map((link) => {
1770
1774
  const active = isActive(activePath, link);
1771
- const className2 = "font-display relative shrink-0 px-2 py-1 sm:px-3 text-[11px] sm:text-[12px] font-semibold tracking-wider uppercase transition-colors " + (active ? 'text-primary after:bg-primary after:absolute after:inset-x-2 after:-bottom-[13px] after:h-px after:content-[""]' : "text-muted-foreground hover:text-foreground");
1775
+ const className2 = "font-display shrink-0 px-2 py-1 sm:px-3 text-[11px] sm:text-[12px] font-semibold tracking-wider uppercase transition-colors " + (active ? "text-primary" : "text-muted-foreground hover:text-foreground");
1772
1776
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1773
1777
  link.label,
1774
1778
  link.external ? /* @__PURE__ */ jsxRuntime.jsx(