@orangecheck/design 0.12.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.d.mts +2 -2
- package/dist/chrome.d.ts +2 -2
- package/dist/chrome.js +22 -2
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +22 -2
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +22 -2
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +22 -2
- package/dist/components.mjs.map +1 -1
- package/dist/index.js +22 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/components.mjs
CHANGED
|
@@ -362,6 +362,13 @@ var OWNER_ENTRIES = [
|
|
|
362
362
|
label: "oc\xB7bot",
|
|
363
363
|
sub: "social bot",
|
|
364
364
|
docsHref: "https://bot.ochk.io"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
slug: "forge",
|
|
368
|
+
href: "https://forge.ochk.io",
|
|
369
|
+
label: "oc\xB7forge",
|
|
370
|
+
sub: "agent ops",
|
|
371
|
+
docsHref: "https://forge.ochk.io"
|
|
365
372
|
}
|
|
366
373
|
];
|
|
367
374
|
function EcosystemSwitcher({
|
|
@@ -717,6 +724,15 @@ var FAMILY_PROPERTIES = [
|
|
|
717
724
|
sub: "social bot",
|
|
718
725
|
docsHref: "https://bot.ochk.io",
|
|
719
726
|
category: "owner"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
slug: "forge",
|
|
730
|
+
origin: "https://forge.ochk.io",
|
|
731
|
+
hostname: "forge.ochk.io",
|
|
732
|
+
label: "oc\xB7forge",
|
|
733
|
+
sub: "agent ops",
|
|
734
|
+
docsHref: "https://forge.ochk.io",
|
|
735
|
+
category: "owner"
|
|
720
736
|
}
|
|
721
737
|
];
|
|
722
738
|
var SITE_STATE_LABEL = {
|
|
@@ -1718,7 +1734,11 @@ function isActive(pathname, link) {
|
|
|
1718
1734
|
if (link.href === "/") return pathname === "/";
|
|
1719
1735
|
return pathname === link.href || pathname.startsWith(link.href + "/");
|
|
1720
1736
|
}
|
|
1721
|
-
function OcPrimaryNav({
|
|
1737
|
+
function OcPrimaryNav({
|
|
1738
|
+
activePath,
|
|
1739
|
+
links,
|
|
1740
|
+
className
|
|
1741
|
+
}) {
|
|
1722
1742
|
return /* @__PURE__ */ jsx(
|
|
1723
1743
|
"nav",
|
|
1724
1744
|
{
|
|
@@ -1727,7 +1747,7 @@ function OcPrimaryNav({ activePath, links, className }) {
|
|
|
1727
1747
|
"data-oc-primary-nav": "",
|
|
1728
1748
|
children: links.map((link) => {
|
|
1729
1749
|
const active = isActive(activePath, link);
|
|
1730
|
-
const className2 = "font-display
|
|
1750
|
+
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");
|
|
1731
1751
|
const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1732
1752
|
link.label,
|
|
1733
1753
|
link.external ? /* @__PURE__ */ jsx(
|