@orangecheck/app-design 1.1.0 → 1.2.0

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.
Files changed (43) hide show
  1. package/dist/chrome.d.mts +4 -4
  2. package/dist/chrome.d.ts +4 -4
  3. package/dist/chrome.js +9 -7
  4. package/dist/chrome.js.map +1 -1
  5. package/dist/chrome.mjs +9 -7
  6. package/dist/chrome.mjs.map +1 -1
  7. package/dist/components.d.mts +3 -3
  8. package/dist/components.d.ts +3 -3
  9. package/dist/components.js +9 -2
  10. package/dist/components.js.map +1 -1
  11. package/dist/components.mjs +10 -3
  12. package/dist/components.mjs.map +1 -1
  13. package/dist/{docs-DhnstueM.d.ts → docs-Dxg4Tp_q.d.ts} +2 -2
  14. package/dist/{docs-DiR6s43s.d.mts → docs-wJBfLS08.d.mts} +2 -2
  15. package/dist/family.d.mts +1 -1
  16. package/dist/family.d.ts +1 -1
  17. package/dist/family.js +10 -1
  18. package/dist/family.js.map +1 -1
  19. package/dist/family.mjs +10 -2
  20. package/dist/family.mjs.map +1 -1
  21. package/dist/{index-C6hDqOOS.d.mts → index-DmfyPYe5.d.mts} +2 -1
  22. package/dist/{index-C6hDqOOS.d.ts → index-DmfyPYe5.d.ts} +2 -1
  23. package/dist/index.d.mts +4 -4
  24. package/dist/index.d.ts +4 -4
  25. package/dist/index.js +24 -8
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +24 -9
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/mdx.d.mts +3 -3
  30. package/dist/mdx.d.ts +3 -3
  31. package/dist/mdx.js +9 -2
  32. package/dist/mdx.js.map +1 -1
  33. package/dist/mdx.mjs +9 -2
  34. package/dist/mdx.mjs.map +1 -1
  35. package/dist/primitives.d.mts +2 -2
  36. package/dist/primitives.d.ts +2 -2
  37. package/dist/session.d.mts +3 -3
  38. package/dist/session.d.ts +3 -3
  39. package/dist/{status-badge-DRwGhB0h.d.mts → status-badge-BJ9Sdsx8.d.mts} +1 -1
  40. package/dist/{status-badge-BEOxeY9j.d.ts → status-badge-Bt8x3RhO.d.ts} +1 -1
  41. package/dist/{tool-shell-B1C7ahKE.d.ts → tool-shell-DLSwUxTD.d.ts} +1 -1
  42. package/dist/{tool-shell-BDx_N5ai.d.mts → tool-shell-kqGWMTep.d.mts} +1 -1
  43. package/package.json +1 -1
package/dist/chrome.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { e as FooterColumn, d as FamilySlug, N as NavItem } from './index-C6hDqOOS.mjs';
3
+ import { e as FooterColumn, N as NavItem, d as FamilySlug } from './index-DmfyPYe5.mjs';
4
4
  import { T as TocItem } from './hero-Dn37il-9.mjs';
5
- import { a as Status } from './status-badge-DRwGhB0h.mjs';
6
- export { A as AccountMenu, a as AccountMenuItem, b as AppShell, O as OCHK_APP_ACCOUNT, S as SessionAccountView, c as SessionState, d as ShellNavGroup, e as ShellNavItem, f as ShellSection, T as ThemeToggle, g as ToolShell, h as ToolShellProps } from './tool-shell-BDx_N5ai.mjs';
5
+ import { a as Status } from './status-badge-BJ9Sdsx8.mjs';
6
+ export { A as AccountMenu, a as AccountMenuItem, b as AppShell, O as OCHK_APP_ACCOUNT, S as SessionAccountView, c as SessionState, d as ShellNavGroup, e as ShellNavItem, f as ShellSection, T as ThemeToggle, g as ToolShell, h as ToolShellProps } from './tool-shell-kqGWMTep.mjs';
7
7
  import './tools-DFIxIj5p.mjs';
8
8
  import './format.mjs';
9
9
 
@@ -39,7 +39,7 @@ declare function SiteBanner({ tone, children, action, className, }: {
39
39
  interface SiteFooterProps {
40
40
  columns?: readonly FooterColumn[];
41
41
  family?: boolean;
42
- legal?: boolean;
42
+ legal?: boolean | readonly NavItem[];
43
43
  compact?: boolean;
44
44
  fineprint?: ReactNode;
45
45
  meta?: ReactNode;
package/dist/chrome.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { e as FooterColumn, d as FamilySlug, N as NavItem } from './index-C6hDqOOS.js';
3
+ import { e as FooterColumn, N as NavItem, d as FamilySlug } from './index-DmfyPYe5.js';
4
4
  import { T as TocItem } from './hero-Dn37il-9.js';
5
- import { a as Status } from './status-badge-BEOxeY9j.js';
6
- export { A as AccountMenu, a as AccountMenuItem, b as AppShell, O as OCHK_APP_ACCOUNT, S as SessionAccountView, c as SessionState, d as ShellNavGroup, e as ShellNavItem, f as ShellSection, T as ThemeToggle, g as ToolShell, h as ToolShellProps } from './tool-shell-B1C7ahKE.js';
5
+ import { a as Status } from './status-badge-Bt8x3RhO.js';
6
+ export { A as AccountMenu, a as AccountMenuItem, b as AppShell, O as OCHK_APP_ACCOUNT, S as SessionAccountView, c as SessionState, d as ShellNavGroup, e as ShellNavItem, f as ShellSection, T as ThemeToggle, g as ToolShell, h as ToolShellProps } from './tool-shell-DLSwUxTD.js';
7
7
  import './tools-BggNN5DV.js';
8
8
  import './format.js';
9
9
 
@@ -39,7 +39,7 @@ declare function SiteBanner({ tone, children, action, className, }: {
39
39
  interface SiteFooterProps {
40
40
  columns?: readonly FooterColumn[];
41
41
  family?: boolean;
42
- legal?: boolean;
42
+ legal?: boolean | readonly NavItem[];
43
43
  compact?: boolean;
44
44
  fineprint?: ReactNode;
45
45
  meta?: ReactNode;
package/dist/chrome.js CHANGED
@@ -211,7 +211,8 @@ var FAMILY = [
211
211
  group: "app",
212
212
  line: "Builders find co-founders and backers.",
213
213
  status: "testing",
214
- protocols: ["attest"]
214
+ // Signs in with an orangecheck account and a wallet; uses none of the six directly.
215
+ protocols: []
215
216
  },
216
217
  {
217
218
  slug: "me-demo",
@@ -770,9 +771,9 @@ function SiteBanner({
770
771
  ] }) });
771
772
  }
772
773
  var FOOT_LINK = "inline-flex min-h-11 items-center transition-colors hover:text-foreground md:min-h-0";
773
- function LegalRow() {
774
+ function LegalRow({ links }) {
774
775
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:items-center sm:justify-between", children: [
775
- /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Legal", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-wrap gap-x-5", children: LEGAL_LINKS.map((l) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: l.href, className: FOOT_LINK, children: l.label }) }, l.href)) }) }),
776
+ /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Legal", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-wrap gap-x-5", children: links.map((l) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: l.href.startsWith("/") ? /* @__PURE__ */ jsxRuntime.jsx(Link5__default.default, { href: l.href, className: FOOT_LINK, children: l.label }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: l.href, className: FOOT_LINK, children: l.label }) }, l.href)) }) }),
776
777
  /* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
777
778
  "\xA9 ",
778
779
  (/* @__PURE__ */ new Date()).getFullYear(),
@@ -790,14 +791,15 @@ function SiteFooter({
790
791
  signature = true,
791
792
  className
792
793
  }) {
794
+ const legalLinks = legal === true ? LEGAL_LINKS : legal || null;
793
795
  if (compact) {
794
796
  return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: cn("border-t border-border bg-background text-[0.875rem] text-muted-foreground", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oca-container flex flex-col gap-x-8 gap-y-3 py-5 lg:flex-row lg:items-center lg:justify-between", children: [
795
797
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-x-6 gap-y-1", children: [
796
798
  /* @__PURE__ */ jsxRuntime.jsx("a", { href: OCHK_IO, className: "rounded-lg text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(Lockup, { size: 22 }) }),
797
799
  family ? /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Protocols", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-wrap gap-x-4", children: PROTOCOLS.map((p) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: p.pageHref, className: FOOT_LINK, children: p.label }) }, p.slug)) }) }) : null
798
800
  ] }),
799
- legal || meta ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:flex-wrap sm:items-center", children: [
800
- legal ? /* @__PURE__ */ jsxRuntime.jsx(LegalRow, {}) : null,
801
+ legalLinks || meta ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:flex-wrap sm:items-center", children: [
802
+ legalLinks ? /* @__PURE__ */ jsxRuntime.jsx(LegalRow, { links: legalLinks }) : null,
801
803
  meta
802
804
  ] }) : null
803
805
  ] }) });
@@ -855,8 +857,8 @@ function SiteFooter({
855
857
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-[0.06em] inline-block w-[1.1em] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(Mark, { className: "block h-auto w-full" }) }),
856
858
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "orangecheck" })
857
859
  ] }) }) : null,
858
- legal || meta ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oca-container", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3 border-t border-border py-6 text-[0.875rem] text-muted-foreground", children: [
859
- legal ? /* @__PURE__ */ jsxRuntime.jsx(LegalRow, {}) : null,
860
+ legalLinks || meta ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oca-container", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3 border-t border-border py-6 text-[0.875rem] text-muted-foreground", children: [
861
+ legalLinks ? /* @__PURE__ */ jsxRuntime.jsx(LegalRow, { links: legalLinks }) : null,
860
862
  meta
861
863
  ] }) }) : null
862
864
  ] });