@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.mjs
CHANGED
|
@@ -2581,6 +2581,13 @@ var OWNER_ENTRIES = [
|
|
|
2581
2581
|
label: "oc\xB7bot",
|
|
2582
2582
|
sub: "social bot",
|
|
2583
2583
|
docsHref: "https://bot.ochk.io"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
slug: "forge",
|
|
2587
|
+
href: "https://forge.ochk.io",
|
|
2588
|
+
label: "oc\xB7forge",
|
|
2589
|
+
sub: "agent ops",
|
|
2590
|
+
docsHref: "https://forge.ochk.io"
|
|
2584
2591
|
}
|
|
2585
2592
|
];
|
|
2586
2593
|
function EcosystemSwitcher({
|
|
@@ -2801,6 +2808,15 @@ var FAMILY_PROPERTIES = [
|
|
|
2801
2808
|
sub: "social bot",
|
|
2802
2809
|
docsHref: "https://bot.ochk.io",
|
|
2803
2810
|
category: "owner"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
slug: "forge",
|
|
2814
|
+
origin: "https://forge.ochk.io",
|
|
2815
|
+
hostname: "forge.ochk.io",
|
|
2816
|
+
label: "oc\xB7forge",
|
|
2817
|
+
sub: "agent ops",
|
|
2818
|
+
docsHref: "https://forge.ochk.io",
|
|
2819
|
+
category: "owner"
|
|
2804
2820
|
}
|
|
2805
2821
|
];
|
|
2806
2822
|
var SITE_STATE_LABEL = {
|
|
@@ -3802,7 +3818,11 @@ function isActive(pathname, link) {
|
|
|
3802
3818
|
if (link.href === "/") return pathname === "/";
|
|
3803
3819
|
return pathname === link.href || pathname.startsWith(link.href + "/");
|
|
3804
3820
|
}
|
|
3805
|
-
function OcPrimaryNav({
|
|
3821
|
+
function OcPrimaryNav({
|
|
3822
|
+
activePath,
|
|
3823
|
+
links,
|
|
3824
|
+
className
|
|
3825
|
+
}) {
|
|
3806
3826
|
return /* @__PURE__ */ jsx(
|
|
3807
3827
|
"nav",
|
|
3808
3828
|
{
|
|
@@ -3811,7 +3831,7 @@ function OcPrimaryNav({ activePath, links, className }) {
|
|
|
3811
3831
|
"data-oc-primary-nav": "",
|
|
3812
3832
|
children: links.map((link) => {
|
|
3813
3833
|
const active = isActive(activePath, link);
|
|
3814
|
-
const className2 = "font-display
|
|
3834
|
+
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");
|
|
3815
3835
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3816
3836
|
link.label,
|
|
3817
3837
|
link.external ? /* @__PURE__ */ jsx(
|