@orangecheck/app-design 1.1.1 → 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 (39) hide show
  1. package/dist/chrome.d.mts +4 -4
  2. package/dist/chrome.d.ts +4 -4
  3. package/dist/chrome.js +7 -6
  4. package/dist/chrome.js.map +1 -1
  5. package/dist/chrome.mjs +7 -6
  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.map +1 -1
  10. package/dist/components.mjs.map +1 -1
  11. package/dist/{docs-DhnstueM.d.ts → docs-Dxg4Tp_q.d.ts} +2 -2
  12. package/dist/{docs-DiR6s43s.d.mts → docs-wJBfLS08.d.mts} +2 -2
  13. package/dist/family.d.mts +1 -1
  14. package/dist/family.d.ts +1 -1
  15. package/dist/family.js +8 -0
  16. package/dist/family.js.map +1 -1
  17. package/dist/family.mjs +8 -1
  18. package/dist/family.mjs.map +1 -1
  19. package/dist/{index-C6hDqOOS.d.mts → index-DmfyPYe5.d.mts} +2 -1
  20. package/dist/{index-C6hDqOOS.d.ts → index-DmfyPYe5.d.ts} +2 -1
  21. package/dist/index.d.mts +4 -4
  22. package/dist/index.d.ts +4 -4
  23. package/dist/index.js +15 -6
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +15 -7
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/mdx.d.mts +3 -3
  28. package/dist/mdx.d.ts +3 -3
  29. package/dist/mdx.js.map +1 -1
  30. package/dist/mdx.mjs.map +1 -1
  31. package/dist/primitives.d.mts +2 -2
  32. package/dist/primitives.d.ts +2 -2
  33. package/dist/session.d.mts +3 -3
  34. package/dist/session.d.ts +3 -3
  35. package/dist/{status-badge-DRwGhB0h.d.mts → status-badge-BJ9Sdsx8.d.mts} +1 -1
  36. package/dist/{status-badge-BEOxeY9j.d.ts → status-badge-Bt8x3RhO.d.ts} +1 -1
  37. package/dist/{tool-shell-B1C7ahKE.d.ts → tool-shell-DLSwUxTD.d.ts} +1 -1
  38. package/dist/{tool-shell-BDx_N5ai.d.mts → tool-shell-kqGWMTep.d.mts} +1 -1
  39. package/package.json +1 -1
package/dist/chrome.mjs CHANGED
@@ -742,9 +742,9 @@ function SiteBanner({
742
742
  ] }) });
743
743
  }
744
744
  var FOOT_LINK = "inline-flex min-h-11 items-center transition-colors hover:text-foreground md:min-h-0";
745
- function LegalRow() {
745
+ function LegalRow({ links }) {
746
746
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:items-center sm:justify-between", children: [
747
- /* @__PURE__ */ jsx("nav", { "aria-label": "Legal", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap gap-x-5", children: LEGAL_LINKS.map((l) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: l.href, className: FOOT_LINK, children: l.label }) }, l.href)) }) }),
747
+ /* @__PURE__ */ jsx("nav", { "aria-label": "Legal", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap gap-x-5", children: links.map((l) => /* @__PURE__ */ jsx("li", { children: l.href.startsWith("/") ? /* @__PURE__ */ jsx(Link5, { href: l.href, className: FOOT_LINK, children: l.label }) : /* @__PURE__ */ jsx("a", { href: l.href, className: FOOT_LINK, children: l.label }) }, l.href)) }) }),
748
748
  /* @__PURE__ */ jsxs("p", { children: [
749
749
  "\xA9 ",
750
750
  (/* @__PURE__ */ new Date()).getFullYear(),
@@ -762,14 +762,15 @@ function SiteFooter({
762
762
  signature = true,
763
763
  className
764
764
  }) {
765
+ const legalLinks = legal === true ? LEGAL_LINKS : legal || null;
765
766
  if (compact) {
766
767
  return /* @__PURE__ */ jsx("footer", { className: cn("border-t border-border bg-background text-[0.875rem] text-muted-foreground", className), children: /* @__PURE__ */ 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: [
767
768
  /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-x-6 gap-y-1", children: [
768
769
  /* @__PURE__ */ jsx("a", { href: OCHK_IO, className: "rounded-lg text-foreground", children: /* @__PURE__ */ jsx(Lockup, { size: 22 }) }),
769
770
  family ? /* @__PURE__ */ jsx("nav", { "aria-label": "Protocols", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap gap-x-4", children: PROTOCOLS.map((p) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: p.pageHref, className: FOOT_LINK, children: p.label }) }, p.slug)) }) }) : null
770
771
  ] }),
771
- legal || meta ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:flex-wrap sm:items-center", children: [
772
- legal ? /* @__PURE__ */ jsx(LegalRow, {}) : null,
772
+ legalLinks || meta ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-x-6 gap-y-2 sm:flex-row sm:flex-wrap sm:items-center", children: [
773
+ legalLinks ? /* @__PURE__ */ jsx(LegalRow, { links: legalLinks }) : null,
773
774
  meta
774
775
  ] }) : null
775
776
  ] }) });
@@ -827,8 +828,8 @@ function SiteFooter({
827
828
  /* @__PURE__ */ jsx("span", { className: "mb-[0.06em] inline-block w-[1.1em] shrink-0", children: /* @__PURE__ */ jsx(Mark, { className: "block h-auto w-full" }) }),
828
829
  /* @__PURE__ */ jsx("span", { children: "orangecheck" })
829
830
  ] }) }) : null,
830
- legal || meta ? /* @__PURE__ */ jsx("div", { className: "oca-container", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 border-t border-border py-6 text-[0.875rem] text-muted-foreground", children: [
831
- legal ? /* @__PURE__ */ jsx(LegalRow, {}) : null,
831
+ legalLinks || meta ? /* @__PURE__ */ jsx("div", { className: "oca-container", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 border-t border-border py-6 text-[0.875rem] text-muted-foreground", children: [
832
+ legalLinks ? /* @__PURE__ */ jsx(LegalRow, { links: legalLinks }) : null,
832
833
  meta
833
834
  ] }) }) : null
834
835
  ] });