@orangecheck/app-design 0.4.1 → 0.5.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.
package/dist/index.js CHANGED
@@ -2068,10 +2068,20 @@ function SplitBar({
2068
2068
  s.tone === "card" ? "bg-white text-oca-ink" : "bg-oca-ink text-white"
2069
2069
  ),
2070
2070
  style: { flexBasis: `${s.pct}%` },
2071
- children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "oca-tabular text-[1.25rem] leading-none tracking-[-0.02em] md:text-[1.875rem]", children: [
2072
- s.pct,
2073
- "%"
2074
- ] })
2071
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
2072
+ "span",
2073
+ {
2074
+ className: cn(
2075
+ "oca-tabular leading-none tracking-[-0.02em]",
2076
+ // A small share gets a smaller figure, so it fits its segment at any width.
2077
+ s.pct < 30 ? "text-[1.125rem] md:text-[1.375rem]" : "text-[1.25rem] md:text-[1.875rem]"
2078
+ ),
2079
+ children: [
2080
+ s.pct,
2081
+ "%"
2082
+ ]
2083
+ }
2084
+ )
2075
2085
  },
2076
2086
  i
2077
2087
  )) }),
@@ -2345,6 +2355,7 @@ function SiteFooter({
2345
2355
  columns = [],
2346
2356
  fineprint,
2347
2357
  meta,
2358
+ signature = true,
2348
2359
  className
2349
2360
  }) {
2350
2361
  return /* @__PURE__ */ jsxRuntime.jsxs("footer", { className: cn("border-t border-border bg-background", className), children: [
@@ -2365,6 +2376,10 @@ function SiteFooter({
2365
2376
  ))
2366
2377
  ] }, col.heading))
2367
2378
  ] }),
2379
+ signature ? /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": true, className: "oca-container select-none overflow-hidden pb-6 md:pb-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-[0.18em] text-[clamp(3rem,11.5vw,10rem)] leading-[0.78] tracking-[-0.065em] [font-family:var(--oc-font-display)]", children: [
2380
+ /* @__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" }) }),
2381
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "orangecheck" })
2382
+ ] }) }) : null,
2368
2383
  meta ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "oca-container border-t border-border py-6 text-[0.875rem] text-muted-foreground", children: meta }) : null
2369
2384
  ] });
2370
2385
  }