@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/index.js
CHANGED
|
@@ -2616,6 +2616,13 @@ var OWNER_ENTRIES = [
|
|
|
2616
2616
|
label: "oc\xB7bot",
|
|
2617
2617
|
sub: "social bot",
|
|
2618
2618
|
docsHref: "https://bot.ochk.io"
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
slug: "forge",
|
|
2622
|
+
href: "https://forge.ochk.io",
|
|
2623
|
+
label: "oc\xB7forge",
|
|
2624
|
+
sub: "agent ops",
|
|
2625
|
+
docsHref: "https://forge.ochk.io"
|
|
2619
2626
|
}
|
|
2620
2627
|
];
|
|
2621
2628
|
function EcosystemSwitcher({
|
|
@@ -2836,6 +2843,15 @@ var FAMILY_PROPERTIES = [
|
|
|
2836
2843
|
sub: "social bot",
|
|
2837
2844
|
docsHref: "https://bot.ochk.io",
|
|
2838
2845
|
category: "owner"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
slug: "forge",
|
|
2849
|
+
origin: "https://forge.ochk.io",
|
|
2850
|
+
hostname: "forge.ochk.io",
|
|
2851
|
+
label: "oc\xB7forge",
|
|
2852
|
+
sub: "agent ops",
|
|
2853
|
+
docsHref: "https://forge.ochk.io",
|
|
2854
|
+
category: "owner"
|
|
2839
2855
|
}
|
|
2840
2856
|
];
|
|
2841
2857
|
var SITE_STATE_LABEL = {
|
|
@@ -3837,7 +3853,11 @@ function isActive(pathname, link) {
|
|
|
3837
3853
|
if (link.href === "/") return pathname === "/";
|
|
3838
3854
|
return pathname === link.href || pathname.startsWith(link.href + "/");
|
|
3839
3855
|
}
|
|
3840
|
-
function OcPrimaryNav({
|
|
3856
|
+
function OcPrimaryNav({
|
|
3857
|
+
activePath,
|
|
3858
|
+
links,
|
|
3859
|
+
className
|
|
3860
|
+
}) {
|
|
3841
3861
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3842
3862
|
"nav",
|
|
3843
3863
|
{
|
|
@@ -3846,7 +3866,7 @@ function OcPrimaryNav({ activePath, links, className }) {
|
|
|
3846
3866
|
"data-oc-primary-nav": "",
|
|
3847
3867
|
children: links.map((link) => {
|
|
3848
3868
|
const active = isActive(activePath, link);
|
|
3849
|
-
const className2 = "font-display
|
|
3869
|
+
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");
|
|
3850
3870
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3851
3871
|
link.label,
|
|
3852
3872
|
link.external ? /* @__PURE__ */ jsxRuntime.jsx(
|