@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/chrome.mjs
CHANGED
|
@@ -110,6 +110,13 @@ var OWNER_ENTRIES = [
|
|
|
110
110
|
label: "oc\xB7bot",
|
|
111
111
|
sub: "social bot",
|
|
112
112
|
docsHref: "https://bot.ochk.io"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
slug: "forge",
|
|
116
|
+
href: "https://forge.ochk.io",
|
|
117
|
+
label: "oc\xB7forge",
|
|
118
|
+
sub: "agent ops",
|
|
119
|
+
docsHref: "https://forge.ochk.io"
|
|
113
120
|
}
|
|
114
121
|
];
|
|
115
122
|
function EcosystemSwitcher({
|
|
@@ -468,6 +475,15 @@ var FAMILY_PROPERTIES = [
|
|
|
468
475
|
sub: "social bot",
|
|
469
476
|
docsHref: "https://bot.ochk.io",
|
|
470
477
|
category: "owner"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
slug: "forge",
|
|
481
|
+
origin: "https://forge.ochk.io",
|
|
482
|
+
hostname: "forge.ochk.io",
|
|
483
|
+
label: "oc\xB7forge",
|
|
484
|
+
sub: "agent ops",
|
|
485
|
+
docsHref: "https://forge.ochk.io",
|
|
486
|
+
category: "owner"
|
|
471
487
|
}
|
|
472
488
|
];
|
|
473
489
|
var SITE_STATE_LABEL = {
|
|
@@ -1469,7 +1485,11 @@ function isActive(pathname, link) {
|
|
|
1469
1485
|
if (link.href === "/") return pathname === "/";
|
|
1470
1486
|
return pathname === link.href || pathname.startsWith(link.href + "/");
|
|
1471
1487
|
}
|
|
1472
|
-
function OcPrimaryNav({
|
|
1488
|
+
function OcPrimaryNav({
|
|
1489
|
+
activePath,
|
|
1490
|
+
links,
|
|
1491
|
+
className
|
|
1492
|
+
}) {
|
|
1473
1493
|
return /* @__PURE__ */ jsx(
|
|
1474
1494
|
"nav",
|
|
1475
1495
|
{
|
|
@@ -1478,7 +1498,7 @@ function OcPrimaryNav({ activePath, links, className }) {
|
|
|
1478
1498
|
"data-oc-primary-nav": "",
|
|
1479
1499
|
children: links.map((link) => {
|
|
1480
1500
|
const active = isActive(activePath, link);
|
|
1481
|
-
const className2 = "font-display
|
|
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");
|
|
1482
1502
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1483
1503
|
link.label,
|
|
1484
1504
|
link.external ? /* @__PURE__ */ jsx(
|