@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.js
CHANGED
|
@@ -387,6 +387,13 @@ var OWNER_ENTRIES = [
|
|
|
387
387
|
label: "oc\xB7bot",
|
|
388
388
|
sub: "social bot",
|
|
389
389
|
docsHref: "https://bot.ochk.io"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
slug: "forge",
|
|
393
|
+
href: "https://forge.ochk.io",
|
|
394
|
+
label: "oc\xB7forge",
|
|
395
|
+
sub: "agent ops",
|
|
396
|
+
docsHref: "https://forge.ochk.io"
|
|
390
397
|
}
|
|
391
398
|
];
|
|
392
399
|
function EcosystemSwitcher({
|
|
@@ -742,6 +749,15 @@ var FAMILY_PROPERTIES = [
|
|
|
742
749
|
sub: "social bot",
|
|
743
750
|
docsHref: "https://bot.ochk.io",
|
|
744
751
|
category: "owner"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
slug: "forge",
|
|
755
|
+
origin: "https://forge.ochk.io",
|
|
756
|
+
hostname: "forge.ochk.io",
|
|
757
|
+
label: "oc\xB7forge",
|
|
758
|
+
sub: "agent ops",
|
|
759
|
+
docsHref: "https://forge.ochk.io",
|
|
760
|
+
category: "owner"
|
|
745
761
|
}
|
|
746
762
|
];
|
|
747
763
|
var SITE_STATE_LABEL = {
|
|
@@ -1743,7 +1759,11 @@ function isActive(pathname, link) {
|
|
|
1743
1759
|
if (link.href === "/") return pathname === "/";
|
|
1744
1760
|
return pathname === link.href || pathname.startsWith(link.href + "/");
|
|
1745
1761
|
}
|
|
1746
|
-
function OcPrimaryNav({
|
|
1762
|
+
function OcPrimaryNav({
|
|
1763
|
+
activePath,
|
|
1764
|
+
links,
|
|
1765
|
+
className
|
|
1766
|
+
}) {
|
|
1747
1767
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1748
1768
|
"nav",
|
|
1749
1769
|
{
|
|
@@ -1752,7 +1772,7 @@ function OcPrimaryNav({ activePath, links, className }) {
|
|
|
1752
1772
|
"data-oc-primary-nav": "",
|
|
1753
1773
|
children: links.map((link) => {
|
|
1754
1774
|
const active = isActive(activePath, link);
|
|
1755
|
-
const className2 = "font-display
|
|
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");
|
|
1756
1776
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1757
1777
|
link.label,
|
|
1758
1778
|
link.external ? /* @__PURE__ */ jsxRuntime.jsx(
|