@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.
package/dist/chrome.mjs CHANGED
@@ -1485,7 +1485,11 @@ function isActive(pathname, link) {
1485
1485
  if (link.href === "/") return pathname === "/";
1486
1486
  return pathname === link.href || pathname.startsWith(link.href + "/");
1487
1487
  }
1488
- function OcPrimaryNav({ activePath, links, className }) {
1488
+ function OcPrimaryNav({
1489
+ activePath,
1490
+ links,
1491
+ className
1492
+ }) {
1489
1493
  return /* @__PURE__ */ jsx(
1490
1494
  "nav",
1491
1495
  {
@@ -1494,7 +1498,7 @@ function OcPrimaryNav({ activePath, links, className }) {
1494
1498
  "data-oc-primary-nav": "",
1495
1499
  children: links.map((link) => {
1496
1500
  const active = isActive(activePath, link);
1497
- 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");
1501
+ 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");
1498
1502
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1499
1503
  link.label,
1500
1504
  link.external ? /* @__PURE__ */ jsx(