@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 CHANGED
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { DisplayIdentity, OcSignOutScope, DisplayIdentityKind, OcAccountSummary } from '@orangecheck/auth-client';
4
4
 
5
- type EcosystemSlug = 'home' | 'docs' | 'fleet' | 'me' | 'vault' | 'chat' | 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'bot';
5
+ type EcosystemSlug = 'home' | 'docs' | 'fleet' | 'me' | 'vault' | 'chat' | 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'bot' | 'forge';
6
6
  interface EcosystemSwitcherProps {
7
7
  current: EcosystemSlug;
8
8
  className?: string;
@@ -96,7 +96,7 @@ interface OcPrimaryNavProps {
96
96
  links: ReadonlyArray<OcPrimaryNavLink>;
97
97
  className?: string;
98
98
  }
99
- declare function OcPrimaryNav({ activePath, links, className }: OcPrimaryNavProps): react_jsx_runtime.JSX.Element;
99
+ declare function OcPrimaryNav({ activePath, links, className, }: OcPrimaryNavProps): react_jsx_runtime.JSX.Element;
100
100
 
101
101
  interface OcDashboardTool {
102
102
  id: string;
package/dist/chrome.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { DisplayIdentity, OcSignOutScope, DisplayIdentityKind, OcAccountSummary } from '@orangecheck/auth-client';
4
4
 
5
- type EcosystemSlug = 'home' | 'docs' | 'fleet' | 'me' | 'vault' | 'chat' | 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'bot';
5
+ type EcosystemSlug = 'home' | 'docs' | 'fleet' | 'me' | 'vault' | 'chat' | 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge' | 'analytics' | 'bot' | 'forge';
6
6
  interface EcosystemSwitcherProps {
7
7
  current: EcosystemSlug;
8
8
  className?: string;
@@ -96,7 +96,7 @@ interface OcPrimaryNavProps {
96
96
  links: ReadonlyArray<OcPrimaryNavLink>;
97
97
  className?: string;
98
98
  }
99
- declare function OcPrimaryNav({ activePath, links, className }: OcPrimaryNavProps): react_jsx_runtime.JSX.Element;
99
+ declare function OcPrimaryNav({ activePath, links, className, }: OcPrimaryNavProps): react_jsx_runtime.JSX.Element;
100
100
 
101
101
  interface OcDashboardTool {
102
102
  id: string;
package/dist/chrome.js CHANGED
@@ -135,6 +135,13 @@ var OWNER_ENTRIES = [
135
135
  label: "oc\xB7bot",
136
136
  sub: "social bot",
137
137
  docsHref: "https://bot.ochk.io"
138
+ },
139
+ {
140
+ slug: "forge",
141
+ href: "https://forge.ochk.io",
142
+ label: "oc\xB7forge",
143
+ sub: "agent ops",
144
+ docsHref: "https://forge.ochk.io"
138
145
  }
139
146
  ];
140
147
  function EcosystemSwitcher({
@@ -493,6 +500,15 @@ var FAMILY_PROPERTIES = [
493
500
  sub: "social bot",
494
501
  docsHref: "https://bot.ochk.io",
495
502
  category: "owner"
503
+ },
504
+ {
505
+ slug: "forge",
506
+ origin: "https://forge.ochk.io",
507
+ hostname: "forge.ochk.io",
508
+ label: "oc\xB7forge",
509
+ sub: "agent ops",
510
+ docsHref: "https://forge.ochk.io",
511
+ category: "owner"
496
512
  }
497
513
  ];
498
514
  var SITE_STATE_LABEL = {
@@ -1494,7 +1510,11 @@ function isActive(pathname, link) {
1494
1510
  if (link.href === "/") return pathname === "/";
1495
1511
  return pathname === link.href || pathname.startsWith(link.href + "/");
1496
1512
  }
1497
- function OcPrimaryNav({ activePath, links, className }) {
1513
+ function OcPrimaryNav({
1514
+ activePath,
1515
+ links,
1516
+ className
1517
+ }) {
1498
1518
  return /* @__PURE__ */ jsxRuntime.jsx(
1499
1519
  "nav",
1500
1520
  {
@@ -1503,7 +1523,7 @@ function OcPrimaryNav({ activePath, links, className }) {
1503
1523
  "data-oc-primary-nav": "",
1504
1524
  children: links.map((link) => {
1505
1525
  const active = isActive(activePath, link);
1506
- const className2 = "font-display relative shrink-0 px-2 py-1 sm:px-3 text-[11px] sm:text-[12px] font-semibold tracking-wider uppercase transition-colors " + (active ? 'text-primary after:bg-primary after:absolute after:inset-x-2 after:-bottom-[13px] after:h-px after:content-[""]' : "text-muted-foreground hover:text-foreground");
1526
+ 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");
1507
1527
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1508
1528
  link.label,
1509
1529
  link.external ? /* @__PURE__ */ jsxRuntime.jsx(