@krizaka/ui 3.79.0 → 3.80.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
@@ -1,6 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  AkinazaLogo,
4
+ InkDefs,
5
+ InkMark,
6
+ KRIZAKA,
4
7
  KrizakaLogo,
5
8
  OrazakaLogo,
6
9
  ProductLogo,
@@ -8,7 +11,7 @@ import {
8
11
  a11y,
9
12
  neutral,
10
13
  useIds
11
- } from "./chunk-PGPNYYE2.js";
14
+ } from "./chunk-BHAWCN4I.js";
12
15
  import {
13
16
  cx
14
17
  } from "./chunk-6ISW63JI.js";
@@ -17,6 +20,72 @@ import {
17
20
  RotatingWord
18
21
  } from "./chunk-VA4NPCUQ.js";
19
22
 
23
+ // src/marks/kridoc-geometry.ts
24
+ var KRIDOC = {
25
+ viewBox: KRIZAKA.viewBox,
26
+ croppedViewBox: KRIZAKA.croppedViewBox,
27
+ offset: KRIZAKA.offset,
28
+ /** The page: from the fold, down the right edge, along the bottom, up the left edge and across the top, stopping short of the fold. */
29
+ page: "M248,140 L248,268 L112,268 L112,92 L190,92",
30
+ /** The folded corner: the crease from the top edge to the right edge. */
31
+ fold: "M214,92 L214,124 L248,124",
32
+ /** Two lines of text on the page. */
33
+ lines: ["M140,170 L214,170", "M140,206 L196,206"],
34
+ stroke: KRIZAKA.stroke,
35
+ ink: KRIZAKA.ink,
36
+ blue: KRIZAKA.blue,
37
+ node: { cx: 248, cy: 92, r: 19, inner: 6 },
38
+ core: { cx: 196, cy: 240, r: 20, inner: 7 },
39
+ highlight: KRIZAKA.highlight,
40
+ glow: KRIZAKA.glow,
41
+ orbit: KRIZAKA.orbit,
42
+ ring: KRIZAKA.ring
43
+ };
44
+
45
+ // src/marks/KridocLogo.tsx
46
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
47
+ var CSS = `
48
+ .kdm-spin { transform-origin: 200px 200px; animation: kdm-spin 30s linear infinite; }
49
+ .kdm-pulse { transform-box: fill-box; transform-origin: center; animation: kdm-pulse 3.2s ease-in-out infinite; }
50
+ @keyframes kdm-spin { to { transform: rotate(360deg); } }
51
+ @keyframes kdm-pulse { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }
52
+ @media (prefers-reduced-motion: reduce) { .kdm-spin, .kdm-pulse { animation: none; } }
53
+ `;
54
+ function KridocLogo(props) {
55
+ return /* @__PURE__ */ jsx(
56
+ InkMark,
57
+ {
58
+ ...props,
59
+ prefix: "kdm",
60
+ css: CSS,
61
+ geometry: KRIDOC,
62
+ figure: (ink) => /* @__PURE__ */ jsxs(Fragment, { children: [
63
+ /* @__PURE__ */ jsx("path", { d: KRIDOC.page, stroke: ink, strokeWidth: KRIDOC.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
64
+ /* @__PURE__ */ jsx("path", { d: KRIDOC.fold, stroke: ink, strokeWidth: KRIDOC.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
65
+ KRIDOC.lines.map((d) => /* @__PURE__ */ jsx("path", { d, stroke: ink, strokeWidth: KRIDOC.stroke * 0.6, strokeLinecap: "round" }, d))
66
+ ] })
67
+ }
68
+ );
69
+ }
70
+
71
+ // src/marks/ProductLockup.tsx
72
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
73
+ function textSize(size) {
74
+ if (size >= 64) return "text-2xl";
75
+ if (size >= 40) return "text-lg";
76
+ return "text-base";
77
+ }
78
+ function ProductLockup({ id, name, endorsement, size = 32, animated = true, layout = "stacked", className }) {
79
+ const text = textSize(size);
80
+ return /* @__PURE__ */ jsxs2("span", { className: cx("inline-flex items-center gap-2.5", className), "data-brand": id, children: [
81
+ id === "kachizaka" ? /* @__PURE__ */ jsx2(KridocLogo, { size, animated }) : /* @__PURE__ */ jsx2(ProductLogo, { id, size, animated }),
82
+ /* @__PURE__ */ jsxs2("span", { className: cx("flex leading-tight", layout === "stacked" ? "flex-col" : "items-baseline gap-1.5"), children: [
83
+ /* @__PURE__ */ jsx2("span", { className: cx("font-semibold tracking-tight text-fg", text), children: name }),
84
+ /* @__PURE__ */ jsx2("span", { className: "text-xs text-fg-secondary", children: endorsement })
85
+ ] })
86
+ ] });
87
+ }
88
+
20
89
  // src/marks/wu-sama-geometry.ts
21
90
  import { marks } from "@krizaka/tokens/native";
22
91
  var WU_SAMA = {
@@ -40,41 +109,36 @@ var WU_SAMA = {
40
109
  };
41
110
 
42
111
  // src/marks/WuSamaMark.tsx
43
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
112
+ import { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
44
113
  function WuSamaMark({ size = 32, title, className }) {
45
114
  const id = useIds("wsm", ["ink", "blue", "glow"]);
46
- return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: size < 48 ? WU_SAMA.croppedViewBox : WU_SAMA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
47
- /* @__PURE__ */ jsxs("defs", { children: [
48
- /* @__PURE__ */ jsxs("linearGradient", { id: id.ink, gradientUnits: "userSpaceOnUse", x1: WU_SAMA.ink.x1, y1: WU_SAMA.ink.y1, x2: WU_SAMA.ink.x2, y2: WU_SAMA.ink.y2, children: [
49
- /* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: neutral("--kz-text-secondary", 60) }),
50
- /* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: neutral("--kz-text-primary", 92) })
51
- ] }),
52
- /* @__PURE__ */ jsx("linearGradient", { id: id.blue, gradientUnits: "userSpaceOnUse", x1: WU_SAMA.blue.x1, y1: WU_SAMA.blue.y1, x2: WU_SAMA.blue.x2, y2: WU_SAMA.blue.y2, children: WU_SAMA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx("stop", { offset, stopColor: color }, offset)) }),
53
- /* @__PURE__ */ jsxs("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
54
- /* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: WU_SAMA.glow.color, stopOpacity: WU_SAMA.glow.opacity }),
55
- /* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: WU_SAMA.glow.color, stopOpacity: "0" })
56
- ] })
57
- ] }),
58
- size >= 48 ? /* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
59
- size >= 48 ? /* @__PURE__ */ jsxs(Fragment, { children: [
60
- /* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: WU_SAMA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: WU_SAMA.orbit.width, strokeDasharray: WU_SAMA.orbit.dash, opacity: ".6" }),
61
- /* @__PURE__ */ jsx("circle", { cx: "200", cy: "200", r: WU_SAMA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: WU_SAMA.ring.width, opacity: ".35" })
115
+ return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? WU_SAMA.croppedViewBox : WU_SAMA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
116
+ /* @__PURE__ */ jsx3(InkDefs, { ids: id, geometry: WU_SAMA }),
117
+ size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
118
+ size >= 48 ? /* @__PURE__ */ jsxs3(Fragment2, { children: [
119
+ /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: WU_SAMA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: WU_SAMA.orbit.width, strokeDasharray: WU_SAMA.orbit.dash, opacity: ".6" }),
120
+ /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: WU_SAMA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: WU_SAMA.ring.width, opacity: ".35" })
62
121
  ] }) : null,
63
- /* @__PURE__ */ jsxs("g", { transform: `translate(${WU_SAMA.offset} ${WU_SAMA.offset})`, children: [
64
- /* @__PURE__ */ jsx("path", { d: WU_SAMA.shield, stroke: `url(#${id.ink})`, strokeWidth: WU_SAMA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
65
- /* @__PURE__ */ jsx("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.r, fill: `url(#${id.blue})` }),
66
- /* @__PURE__ */ jsx("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.inner, fill: WU_SAMA.highlight }),
67
- /* @__PURE__ */ jsx("path", { d: WU_SAMA.w, stroke: `url(#${id.blue})`, strokeWidth: WU_SAMA.wStroke, strokeLinecap: "round", strokeLinejoin: "round" })
122
+ /* @__PURE__ */ jsxs3("g", { transform: `translate(${WU_SAMA.offset} ${WU_SAMA.offset})`, children: [
123
+ /* @__PURE__ */ jsx3("path", { d: WU_SAMA.shield, stroke: `url(#${id.ink})`, strokeWidth: WU_SAMA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
124
+ /* @__PURE__ */ jsx3("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.r, fill: `url(#${id.blue})` }),
125
+ /* @__PURE__ */ jsx3("circle", { cx: WU_SAMA.node.cx, cy: WU_SAMA.node.cy, r: WU_SAMA.node.inner, fill: WU_SAMA.highlight }),
126
+ /* @__PURE__ */ jsx3("path", { d: WU_SAMA.w, stroke: `url(#${id.blue})`, strokeWidth: WU_SAMA.wStroke, strokeLinecap: "round", strokeLinejoin: "round" })
68
127
  ] })
69
128
  ] });
70
129
  }
71
130
  export {
72
131
  AkinazaLogo,
132
+ AkinazaLogo as FoliovivLogo,
133
+ KridocLogo,
73
134
  KrizakaLogo,
74
135
  MotionObserver,
75
136
  OrazakaLogo,
137
+ ProductLockup,
76
138
  ProductLogo,
77
139
  RotatingWord,
140
+ OrazakaLogo as SovkoraLogo,
141
+ YomizakaLogo as VerikoraLogo,
78
142
  WuSamaMark,
79
143
  YomizakaLogo,
80
144
  cx
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/marks/wu-sama-geometry.ts","../src/marks/WuSamaMark.tsx"],"sourcesContent":["import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Wu-sama mark's geometry — the founder's byline mark.\n * It shares the Krizaka shield contour (pointy-top hexagonal shield with open vertex and lit node)\n * and brand colors, holding a W of five straight legs in Krizaka blue at its center.\n */\nexport const WU_SAMA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"86 82 228 228\",\n offset: 20,\n /** The shield: the Krizaka pointy-top hexagon (r 92 around 180,180), open at its upper-right edge. */\n shield: \"M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5\",\n stroke: 22,\n ink: { x1: 70, y1: 290, x2: 290, y2: 70 },\n blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },\n /** The vertex where the shield opens: a lit node in Krizaka blue. */\n node: { cx: 259.7, cy: 134, r: 19, inner: 6 },\n /** The W: five straight legs in Krizaka blue. */\n w: \"M132,142 L154,216 L180,166 L206,216 L228,142\",\n wStroke: 18,\n highlight: \"#ddeaf4\",\n glow: { color: marks.krizaka[0]![1], opacity: 0.16 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { a11y, type MarkProps, neutral, useIds } from \"./shared\";\nimport { WU_SAMA as G } from \"./wu-sama-geometry\";\n\n/**\n * The Wu-sama mark — the founder's byline mark, for the person and not the company (the company keeps `KrizakaLogo`).\n * Oussama's nickname is Wu-sama: it shares Krizaka's hexagonal shield contour and color palette (ink shield, open\n * vertex with lit blue node), with the W rendered in Krizaka blue at the center. Below 48 px it crops to the emblem.\n */\nexport function WuSamaMark({ size = 32, title, className }: Omit<MarkProps, \"animated\"> & { animated?: boolean }) {\n const id = useIds(\"wsm\", [\"ink\", \"blue\", \"glow\"] as const);\n return (\n <svg width={size} height={size} viewBox={size < 48 ? G.croppedViewBox : G.viewBox} fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className={className} {...a11y(title)}>\n <defs>\n <linearGradient id={id.ink} gradientUnits=\"userSpaceOnUse\" x1={G.ink.x1} y1={G.ink.y1} x2={G.ink.x2} y2={G.ink.y2}>\n <stop offset=\"0%\" stopColor={neutral(\"--kz-text-secondary\", 60)} />\n <stop offset=\"100%\" stopColor={neutral(\"--kz-text-primary\", 92)} />\n </linearGradient>\n <linearGradient id={id.blue} gradientUnits=\"userSpaceOnUse\" x1={G.blue.x1} y1={G.blue.y1} x2={G.blue.x2} y2={G.blue.y2}>\n {G.blue.stops.map(([offset, color]) => (\n <stop key={offset} offset={offset} stopColor={color} />\n ))}\n </linearGradient>\n <radialGradient id={id.glow} cx=\"50%\" cy=\"50%\" r=\"50%\">\n <stop offset=\"0%\" stopColor={G.glow.color} stopOpacity={G.glow.opacity} />\n <stop offset=\"100%\" stopColor={G.glow.color} stopOpacity=\"0\" />\n </radialGradient>\n </defs>\n {size >= 48 ? <circle cx=\"200\" cy=\"200\" r=\"190\" fill={`url(#${id.glow})`} /> : null}\n {size >= 48 ? (\n <>\n <circle cx=\"200\" cy=\"200\" r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx=\"200\" cy=\"200\" r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n </>\n ) : null}\n <g transform={`translate(${G.offset} ${G.offset})`}>\n <path d={G.shield} stroke={`url(#${id.ink})`} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.r} fill={`url(#${id.blue})`} />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.inner} fill={G.highlight} />\n <path d={G.w} stroke={`url(#${id.blue})`} strokeWidth={G.wStroke} strokeL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,aAAa,QAAE,QAAQ,eAAc,SAAQ,gBAAe,SAAQ;AAAA,MAClH,oBAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,GAAG,MAAM,QAAQ,GAAG,IAAI,KAAK;AAAA,MAC7E,oBAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,OAAO,MAAM,QAAE,WAAW;AAAA,MAC1E,oBAAC,UAAK,GAAG,QAAE,GAAG,QAAQ,QAAQ,GAAG,IAAI,KAAK,aAAa,QAAE,SAAS,eAAc,SAAQ,gBAAe,SAAQ;AAAA,OACjH;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../src/marks/kridoc-geometry.ts","../src/marks/KridocLogo.tsx","../src/marks/ProductLockup.tsx","../src/marks/wu-sama-geometry.ts","../src/marks/WuSamaMark.tsx"],"sourcesContent":["import { KRIZAKA } from \"./krizaka-geometry\";\n\n/**\n * The Kridoc mark's geometry (the managed storage, code name kachizaka; krizaka-internal#2035). Same grammar as the family\n * (a 360×360 artwork at (20, 20), one stroke of 22, an open figure whose end breaks out as a node, a core, a dashed orbit\n * and a ring). Kridoc is a service of the company, so it wears the **Krizaka** colours — ink figure, blue node and core.\n * The figure is a page with its corner folded: the stroke stays open at the fold, where the node — the share link — sits;\n * the core is the seal on the page (kept, audited).\n */\nexport const KRIDOC = {\n viewBox: KRIZAKA.viewBox,\n croppedViewBox: KRIZAKA.croppedViewBox,\n offset: KRIZAKA.offset,\n /** The page: from the fold, down the right edge, along the bottom, up the left edge and across the top, stopping short of the fold. */\n page: \"M248,140 L248,268 L112,268 L112,92 L190,92\",\n /** The folded corner: the crease from the top edge to the right edge. */\n fold: \"M214,92 L214,124 L248,124\",\n /** Two lines of text on the page. */\n lines: [\"M140,170 L214,170\", \"M140,206 L196,206\"],\n stroke: KRIZAKA.stroke,\n ink: KRIZAKA.ink,\n blue: KRIZAKA.blue,\n node: { cx: 248, cy: 92, r: 19, inner: 6 },\n core: { cx: 196, cy: 240, r: 20, inner: 7 },\n highlight: KRIZAKA.highlight,\n glow: KRIZAKA.glow,\n orbit: KRIZAKA.orbit,\n ring: KRIZAKA.ring,\n} as const;\n","import { InkMark } from \"./InkMark\";\nimport { KRIDOC as G } from \"./kridoc-geometry\";\nimport type { MarkProps } from \"./shared\";\n\nconst CSS = `\n.kdm-spin { transform-origin: 200px 200px; animation: kdm-spin 30s linear infinite; }\n.kdm-pulse { transform-box: fill-box; transform-origin: center; animation: kdm-pulse 3.2s ease-in-out infinite; }\n@keyframes kdm-spin { to { transform: rotate(360deg); } }\n@keyframes kdm-pulse { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }\n@media (prefers-reduced-motion: reduce) { .kdm-spin, .kdm-pulse { animation: none; } }\n`;\n\n/**\n * The Kridoc mark (the managed storage, sold as « Kridoc by Krizaka »): an ink page with its corner folded, open at the\n * fold where a blue node — the share link — breaks out, and a blue seal on the page. Krizaka's colours: a service of the\n * company. The orbit turns, the node and the seal breathe. Below 48 px it crops to the emblem.\n */\nexport function KridocLogo(props: Readonly<MarkProps>) {\n return (\n <InkMark\n {...props}\n prefix=\"kdm\"\n css={CSS}\n geometry={G}\n figure={(ink) => (\n <>\n <path d={G.page} stroke={ink} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <path d={G.fold} stroke={ink} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n {G.lines.map((d) => (\n <path key={d} d={d} stroke={ink} strokeWidth={G.stroke * 0.6} strokeLinecap=\"round\" />\n ))}\n </>\n )}\n />\n );\n}\n","import { cx } from \"../cx\";\nimport { KridocLogo } from \"./KridocLogo\";\nimport { type MarkId, ProductLogo } from \"./ProductLogo\";\n\nexport interface ProductLockupProps {\n /** The brand by its code name (`yomizaka`): it picks the mark only, never the words. */\n id: MarkId;\n /** The name shown — `displayName(codeName, setting)` of `@krizaka/org`, so the administrator's choice wins (« Verikora »). */\n name: string;\n /** The endorsement under it — `brandOf(codeName).endorsement[locale]` of `@krizaka/org` (« by Krizaka » / « par Krizaka »). */\n endorsement: string;\n /**\n * The mark's size in px; the words follow it (`sm` under 40 px, `md` from 40, `lg` from 64).\n * @default 32\n */\n size?: number;\n /** @default true */\n animated?: boolean;\n /** `inline` puts the endorsement beside the name (a footer line); `stacked` under it (a bar, a hero, an email header). @default \"stacked\" */\n layout?: \"stacked\" | \"inline\";\n className?: string;\n}\n\n/**\n * The « Verikora by Krizaka » lockup (krizaka-internal#2035): the product's mark, its name, and the company that endorses\n * it — for heroes, bars, footers, emails and store art. The words are data passed in (from `@krizaka/org` and the app's\n * `brand.displayName` setting), never typed here; the mark is decorative, the name is the text a screen reader reads.\n */\nfunction textSize(size: number): string {\n if (size >= 64) return \"text-2xl\";\n if (size >= 40) return \"text-lg\";\n return \"text-base\";\n}\n\nexport function ProductLockup({ id, name, endorsement, size = 32, animated = true, layout = \"stacked\", className }: Readonly<ProductLockupProps>) {\n const text = textSize(size);\n return (\n <span className={cx(\"inline-flex items-center gap-2.5\", className)} data-brand={id}>\n {id === \"kachizaka\" ? <KridocLogo size={size} animated={animated} /> : <ProductLogo id={id} size={size} animated={animated} />}\n <span className={cx(\"flex leading-tight\", layout === \"stacked\" ? \"flex-col\" : \"items-baseline gap-1.5\")}>\n <span className={cx(\"font-semibold tracking-tight text-fg\", text)}>{name}</span>\n <span className=\"text-xs text-fg-secondary\">{endorsement}</span>\n </span>\n </span>\n );\n}\n","import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Wu-sama mark's geometry — the founder's byline mark.\n * It shares the Krizaka shield contour (pointy-top hexagonal shield with open vertex and lit node)\n * and brand colors, holding a W of five straight legs in Krizaka blue at its center.\n */\nexport const WU_SAMA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"86 82 228 228\",\n offset: 20,\n /** The shield: the Krizaka pointy-top hexagon (r 92 around 180,180), open at its upper-right edge. */\n shield: \"M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5\",\n stroke: 22,\n ink: { x1: 70, y1: 290, x2: 290, y2: 70 },\n blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },\n /** The vertex where the shield opens: a lit node in Krizaka blue. */\n node: { cx: 259.7, cy: 134, r: 19, inner: 6 },\n /** The W: five straight legs in Krizaka blue. */\n w: \"M132,142 L154,216 L180,166 L206,216 L228,142\",\n wStroke: 18,\n highlight: \"#ddeaf4\",\n glow: { color: marks.krizaka[0]![1], opacity: 0.16 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { InkDefs } from \"./InkMark\";\nimport { a11y, type MarkProps, neutral, useIds } from \"./shared\";\nimport { WU_SAMA as G } from \"./wu-sama-geometry\";\n\n/**\n * The Wu-sama mark — the founder's byline mark, for the person and not the company (the company keeps `KrizakaLogo`).\n * Oussama's nickname is Wu-sama: it shares Krizaka's hexagonal shield contour and color palette (ink shield, open\n * vertex with lit blue node), with the W rendered in Krizaka blue at the center. Below 48 px it crops to the emblem.\n */\nexport function WuSamaMark({ size = 32, title, className }: Omit<MarkProps, \"animated\"> & { animated?: boolean }) {\n const id = useIds(\"wsm\", [\"ink\", \"blue\", \"glow\"] as const);\n return (\n <svg width={size} height={size} viewBox={size < 48 ? G.croppedViewBox : G.viewBox} fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" className={className} {...a11y(title)}>\n <InkDefs ids={id} geometry={G} />\n {size >= 48 ? <circle cx=\"200\" cy=\"200\" r=\"190\" fill={`url(#${id.glow})`} /> : null}\n {size >= 48 ? (\n <>\n <circle cx=\"200\" cy=\"200\" r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx=\"200\" cy=\"200\" r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n </>\n ) : null}\n <g transform={`translate(${G.offset} ${G.offset})`}>\n <path d={G.shield} stroke={`url(#${id.ink})`} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.r} fill={`url(#${id.blue})`} />\n <circle cx={G.node.cx} cy={G.node.cy} r={G.node.inner} fill={G.highlight} />\n <path d={G.w} stroke={`url(#${id.blue})`} strokeWidth={G.wStroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AASO,IAAM,SAAS;AAAA,EACpB,SAAS,QAAQ;AAAA,EACjB,gBAAgB,QAAQ;AAAA,EACxB,QAAQ,QAAQ;AAAA;AAAA,EAEhB,MAAM;AAAA;AAAA,EAEN,MAAM;AAAA;AAAA,EAEN,OAAO,CAAC,qBAAqB,mBAAmB;AAAA,EAChD,QAAQ,QAAQ;AAAA,EAChB,KAAK,QAAQ;AAAA,EACb,MAAM,QAAQ;AAAA,EACd,MAAM,EAAE,IAAI,KAAK,IAAI,IAAI,GAAG,IAAI,OAAO,EAAE;AAAA,EACzC,MAAM,EAAE,IAAI,KAAK,IAAI,KAAK,GAAG,IAAI,OAAO,EAAE;AAAA,EAC1C,WAAW,QAAQ;AAAA,EACnB,MAAM,QAAQ;AAAA,EACd,OAAO,QAAQ;AAAA,EACf,MAAM,QAAQ;AAChB;;;ACHQ,mBACE,KADF;AArBR,IAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaL,SAAS,WAAW,OAA4B;AACrD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,QAAO;AAAA,MACP,KAAK;AAAA,MACL,UAAU;AAAA,MACV,QAAQ,CAAC,QACP,iCACE;AAAA,4BAAC,UAAK,GAAG,OAAE,MAAM,QAAQ,KAAK,aAAa,OAAE,QAAQ,eAAc,SAAQ,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AQ,OAAM;AAAA,OAC9H,IACE;AAAA,IACJ,gBAAAC,MAAC,OAAE,WAAW,aAAa,QAAE,MAAM,IAAI,QAAE,MAAM,KAC7C;AAAA,sBAAAD,KAAC,UAAK,GAAG,QAAE,QAAQ,QAAQ,QAAQ,GAAG,GAAG,KAAK,aAAa,QAAE,QAAQ,eAAc,SAAQ,gBAAe,SAAQ;AAAA,MAClH,gBAAAA,KAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,GAAG,MAAM,QAAQ,GAAG,IAAI,KAAK;AAAA,MAC7E,gBAAAA,KAAC,YAAO,IAAI,QAAE,KAAK,IAAI,IAAI,QAAE,KAAK,IAAI,GAAG,QAAE,KAAK,OAAO,MAAM,QAAE,WAAW;AAAA,MAC1E,gBAAAA,KAAC,UAAK,GAAG,QAAE,GAAG,QAAQ,QAAQ,GAAG,IAAI,KAAK,aAAa,QAAE,SAAS,eAAc,SAAQ,gBAAe,SAAQ;AAAA,OACjH;AAAA,KACF;AAEJ;","names":["jsx","jsxs","Fragment","jsx","jsxs"]}
package/dist/native.d.ts CHANGED
@@ -102,7 +102,10 @@ declare const addDays: (iso: string, days: number) => string;
102
102
  /** The ISO date `months` later (or earlier), the day kept inside the shorter months (`01-31` + 1 → `02-28`). */
103
103
  declare const addMonths: (iso: string, months: number) => string;
104
104
 
105
- /** A Krizaka brand: the company and its three products. */
105
+ /**
106
+ * A Krizaka brand by its code name: the company and its three products — sold as Verikora (`yomizaka`), Folioviv
107
+ * (`akinaza`) and Sovkora (`orazaka`). It also keys the brand palettes (maps, forms, loaders).
108
+ */
106
109
  type BrandId = "krizaka" | "orazaka" | "yomizaka" | "akinaza";
107
110
 
108
111
  type Controlled = {
package/dist/nav-bar.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-4QN5YJ3D.js";
13
13
  import {
14
14
  ProductLogo
15
- } from "./chunk-PGPNYYE2.js";
15
+ } from "./chunk-BHAWCN4I.js";
16
16
  import {
17
17
  Button
18
18
  } from "./chunk-V7W4RLRW.js";
@@ -1,7 +1,10 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import * as React from 'react';
3
3
 
4
- /** A Krizaka brand: the company and its three products. */
4
+ /**
5
+ * A Krizaka brand by its code name: the company and its three products — sold as Verikora (`yomizaka`), Folioviv
6
+ * (`akinaza`) and Sovkora (`orazaka`). It also keys the brand palettes (maps, forms, loaders).
7
+ */
5
8
  type BrandId = "krizaka" | "orazaka" | "yomizaka" | "akinaza";
6
9
 
7
10
  declare const railNav: tailwind_variants.TVReturnType<{
@@ -121,6 +121,41 @@ function AkinazaLogo({ size = 32, animated = true, title, className }) {
121
121
  ] });
122
122
  }
123
123
 
124
+ // src/marks/InkMark.tsx
125
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
126
+ function InkDefs({ ids: id, geometry: G }) {
127
+ return /* @__PURE__ */ jsxs3("defs", { children: [
128
+ /* @__PURE__ */ jsxs3("linearGradient", { id: id.ink, gradientUnits: "userSpaceOnUse", x1: G.ink.x1, y1: G.ink.y1, x2: G.ink.x2, y2: G.ink.y2, children: [
129
+ /* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: neutral("--kz-text-secondary", 60) }),
130
+ /* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: neutral("--kz-text-primary", 92) })
131
+ ] }),
132
+ /* @__PURE__ */ jsx3("linearGradient", { id: id.blue, gradientUnits: "userSpaceOnUse", x1: G.blue.x1, y1: G.blue.y1, x2: G.blue.x2, y2: G.blue.y2, children: G.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx3("stop", { offset, stopColor: color }, offset)) }),
133
+ /* @__PURE__ */ jsxs3("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
134
+ /* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: G.glow.color, stopOpacity: G.glow.opacity }),
135
+ /* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: G.glow.color, stopOpacity: "0" })
136
+ ] })
137
+ ] });
138
+ }
139
+ function InkMark({ size = 32, animated = true, title, className, prefix, css, geometry: G, figure }) {
140
+ const id = useIds(prefix, ["ink", "blue", "glow"]);
141
+ const m = (cls) => animated ? `${prefix}-${cls}` : void 0;
142
+ const dots = [G.node, G.core];
143
+ return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? G.croppedViewBox : G.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
144
+ /* @__PURE__ */ jsx3("style", { children: css }),
145
+ /* @__PURE__ */ jsx3(InkDefs, { ids: id, geometry: G }),
146
+ size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
147
+ /* @__PURE__ */ jsx3("circle", { className: m("spin"), cx: "200", cy: "200", r: G.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: G.orbit.width, strokeDasharray: G.orbit.dash, opacity: ".6" }),
148
+ /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: G.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: G.ring.width, opacity: ".35" }),
149
+ /* @__PURE__ */ jsxs3("g", { transform: `translate(${G.offset} ${G.offset})`, children: [
150
+ figure(`url(#${id.ink})`),
151
+ dots.map((d) => /* @__PURE__ */ jsxs3("g", { className: m("pulse"), children: [
152
+ /* @__PURE__ */ jsx3("circle", { cx: d.cx, cy: d.cy, r: d.r, fill: `url(#${id.blue})` }),
153
+ /* @__PURE__ */ jsx3("circle", { cx: d.cx, cy: d.cy, r: d.inner, fill: G.highlight })
154
+ ] }, `${d.cx},${d.cy}`))
155
+ ] })
156
+ ] });
157
+ }
158
+
124
159
  // src/marks/krizaka-geometry.ts
125
160
  import { marks as marks2 } from "@krizaka/tokens/native";
126
161
  var KRIZAKA = {
@@ -142,7 +177,7 @@ var KRIZAKA = {
142
177
  };
143
178
 
144
179
  // src/marks/KrizakaLogo.tsx
145
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
180
+ import { jsx as jsx4 } from "react/jsx-runtime";
146
181
  var CSS2 = `
147
182
  .kzm-spin { transform-origin: 200px 200px; animation: kzm-spin 30s linear infinite; }
148
183
  .kzm-pulse { transform-box: fill-box; transform-origin: center; animation: kzm-pulse 3.2s ease-in-out infinite; }
@@ -153,37 +188,17 @@ var CSS2 = `
153
188
  }
154
189
  @media (prefers-reduced-motion: reduce) { .kzm-spin, .kzm-pulse { animation: none; } }
155
190
  `;
156
- function KrizakaLogo({ size = 32, animated = true, title, className }) {
157
- const id = useIds("kzm", ["ink", "blue", "glow"]);
158
- const m = (cls) => animated ? cls : void 0;
159
- return /* @__PURE__ */ jsxs3("svg", { width: size, height: size, viewBox: size < 48 ? KRIZAKA.croppedViewBox : KRIZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
160
- /* @__PURE__ */ jsx3("style", { children: CSS2 }),
161
- /* @__PURE__ */ jsxs3("defs", { children: [
162
- /* @__PURE__ */ jsxs3("linearGradient", { id: id.ink, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1, y1: KRIZAKA.ink.y1, x2: KRIZAKA.ink.x2, y2: KRIZAKA.ink.y2, children: [
163
- /* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: neutral("--kz-text-secondary", 60) }),
164
- /* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: neutral("--kz-text-primary", 92) })
165
- ] }),
166
- /* @__PURE__ */ jsx3("linearGradient", { id: id.blue, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1, y1: KRIZAKA.blue.y1, x2: KRIZAKA.blue.x2, y2: KRIZAKA.blue.y2, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx3("stop", { offset, stopColor: color }, offset)) }),
167
- /* @__PURE__ */ jsxs3("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
168
- /* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
169
- /* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: "0" })
170
- ] })
171
- ] }),
172
- size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
173
- /* @__PURE__ */ jsx3("circle", { className: m("kzm-spin"), cx: "200", cy: "200", r: KRIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: ".6" }),
174
- /* @__PURE__ */ jsx3("circle", { cx: "200", cy: "200", r: KRIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: KRIZAKA.ring.width, opacity: ".35" }),
175
- /* @__PURE__ */ jsxs3("g", { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
176
- /* @__PURE__ */ jsx3("path", { d: KRIZAKA.shield, stroke: `url(#${id.ink})`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
177
- /* @__PURE__ */ jsxs3("g", { className: m("kzm-pulse"), children: [
178
- /* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.r, fill: `url(#${id.blue})` }),
179
- /* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.inner, fill: KRIZAKA.highlight })
180
- ] }),
181
- /* @__PURE__ */ jsxs3("g", { className: m("kzm-pulse"), children: [
182
- /* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.r, fill: `url(#${id.blue})` }),
183
- /* @__PURE__ */ jsx3("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.inner, fill: KRIZAKA.highlight })
184
- ] })
185
- ] })
186
- ] });
191
+ function KrizakaLogo(props) {
192
+ return /* @__PURE__ */ jsx4(
193
+ InkMark,
194
+ {
195
+ ...props,
196
+ prefix: "kzm",
197
+ css: CSS2,
198
+ geometry: KRIZAKA,
199
+ figure: (ink) => /* @__PURE__ */ jsx4("path", { d: KRIZAKA.shield, stroke: ink, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" })
200
+ }
201
+ );
187
202
  }
188
203
 
189
204
  // src/marks/orazaka-geometry.ts
@@ -214,7 +229,7 @@ var ORAZAKA = {
214
229
  };
215
230
 
216
231
  // src/marks/OrazakaLogo.tsx
217
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
232
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
218
233
  var CSS3 = `
219
234
  .ozm-orbit { transform-origin: 200px 200px; animation: ozm-orbit 35s linear infinite; }
220
235
  .ozm-core { transform-box: fill-box; transform-origin: center; animation: ozm-core 3.2s ease-in-out infinite; }
@@ -229,21 +244,21 @@ function OrazakaLogo({ size = 32, animated = true, title, className }) {
229
244
  const id = useIds("ozm", ["gradient", "glow"]);
230
245
  const fill = `url(#${id.gradient})`;
231
246
  return /* @__PURE__ */ jsxs4("svg", { width: size, height: size, viewBox: size < 48 ? ORAZAKA.croppedViewBox : ORAZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
232
- /* @__PURE__ */ jsx4("style", { children: CSS3 }),
247
+ /* @__PURE__ */ jsx5("style", { children: CSS3 }),
233
248
  /* @__PURE__ */ jsxs4("defs", { children: [
234
- /* @__PURE__ */ jsx4("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx4("stop", { offset, stopColor: color }, offset)) }),
249
+ /* @__PURE__ */ jsx5("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx5("stop", { offset, stopColor: color }, offset)) }),
235
250
  /* @__PURE__ */ jsxs4("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
236
- /* @__PURE__ */ jsx4("stop", { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
237
- /* @__PURE__ */ jsx4("stop", { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: "0" })
251
+ /* @__PURE__ */ jsx5("stop", { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
252
+ /* @__PURE__ */ jsx5("stop", { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: "0" })
238
253
  ] })
239
254
  ] }),
240
- size >= 48 ? /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
241
- /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: ".6" }),
242
- /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: ORAZAKA.ring.width, opacity: ".35" }),
243
- /* @__PURE__ */ jsx4("g", { className: animated ? "ozm-orbit" : void 0, children: ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx4("path", { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d)) }),
255
+ size >= 48 ? /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
256
+ /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: ".6" }),
257
+ /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: ORAZAKA.ring.width, opacity: ".35" }),
258
+ /* @__PURE__ */ jsx5("g", { className: animated ? "ozm-orbit" : void 0, children: ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx5("path", { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d)) }),
244
259
  /* @__PURE__ */ jsxs4("g", { className: animated ? "ozm-core" : void 0, children: [
245
- /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
246
- /* @__PURE__ */ jsx4("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
260
+ /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
261
+ /* @__PURE__ */ jsx5("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
247
262
  ] })
248
263
  ] });
249
264
  }
@@ -280,43 +295,43 @@ var YOMIZAKA = {
280
295
  };
281
296
 
282
297
  // src/marks/YomizakaLogo.tsx
283
- import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
298
+ import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
284
299
  var CSS4 = familyMotion("ymm", { ...YOMIZAKA.motion, ...YOMIZAKA.pulse });
285
300
  function YomizakaLogo({ size = 32, animated = true, title, className }) {
286
301
  const id = useIds("ymm", ["gradient", "glow"]);
287
302
  const fill = `url(#${id.gradient})`;
288
303
  const m = (cls) => animated ? `ymm-${cls}` : void 0;
289
304
  return /* @__PURE__ */ jsxs5("svg", { width: size, height: size, viewBox: size < 48 ? YOMIZAKA.croppedViewBox : YOMIZAKA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
290
- /* @__PURE__ */ jsx5("style", { children: CSS4 }),
305
+ /* @__PURE__ */ jsx6("style", { children: CSS4 }),
291
306
  /* @__PURE__ */ jsxs5("defs", { children: [
292
- /* @__PURE__ */ jsx5("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx5("stop", { offset, stopColor: color }, offset)) }),
307
+ /* @__PURE__ */ jsx6("linearGradient", { id: id.gradient, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx6("stop", { offset, stopColor: color }, offset)) }),
293
308
  /* @__PURE__ */ jsxs5("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
294
- /* @__PURE__ */ jsx5("stop", { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
295
- /* @__PURE__ */ jsx5("stop", { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: "0" })
309
+ /* @__PURE__ */ jsx6("stop", { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
310
+ /* @__PURE__ */ jsx6("stop", { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: "0" })
296
311
  ] })
297
312
  ] }),
298
- size >= 48 ? /* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
299
- /* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YOMIZAKA.ring.width, opacity: ".35" }),
313
+ size >= 48 ? /* @__PURE__ */ jsx6("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
314
+ /* @__PURE__ */ jsx6("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YOMIZAKA.ring.width, opacity: ".35" }),
300
315
  /* @__PURE__ */ jsxs5("g", { className: m("orbit"), children: [
301
- /* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: ".6" }),
302
- /* @__PURE__ */ jsx5("circle", { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
316
+ /* @__PURE__ */ jsx6("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: ".6" }),
317
+ /* @__PURE__ */ jsx6("circle", { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
303
318
  ] }),
304
- /* @__PURE__ */ jsx5("path", { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
305
- YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx5("circle", { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke }, l.cx)),
306
- /* @__PURE__ */ jsx5("g", { className: m("core"), children: YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs5("g", { children: [
307
- /* @__PURE__ */ jsx5("circle", { cx: p.cx, cy: p.cy, r: p.r, fill }),
308
- /* @__PURE__ */ jsx5("circle", { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
319
+ /* @__PURE__ */ jsx6("path", { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
320
+ YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx6("circle", { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke }, l.cx)),
321
+ /* @__PURE__ */ jsx6("g", { className: m("core"), children: YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs5("g", { children: [
322
+ /* @__PURE__ */ jsx6("circle", { cx: p.cx, cy: p.cy, r: p.r, fill }),
323
+ /* @__PURE__ */ jsx6("circle", { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
309
324
  ] }, p.cx)) })
310
325
  ] });
311
326
  }
312
327
 
313
328
  // src/marks/ProductLogo.tsx
314
- import { jsx as jsx6 } from "react/jsx-runtime";
329
+ import { jsx as jsx7 } from "react/jsx-runtime";
315
330
  function ProductLogo({ id, ...props }) {
316
- if (id === "krizaka") return /* @__PURE__ */ jsx6(KrizakaLogo, { ...props });
317
- if (id === "orazaka") return /* @__PURE__ */ jsx6(OrazakaLogo, { ...props });
318
- if (id === "yomizaka") return /* @__PURE__ */ jsx6(YomizakaLogo, { ...props });
319
- return /* @__PURE__ */ jsx6(AkinazaLogo, { ...props });
331
+ if (id === "krizaka") return /* @__PURE__ */ jsx7(KrizakaLogo, { ...props });
332
+ if (id === "orazaka") return /* @__PURE__ */ jsx7(OrazakaLogo, { ...props });
333
+ if (id === "yomizaka") return /* @__PURE__ */ jsx7(YomizakaLogo, { ...props });
334
+ return /* @__PURE__ */ jsx7(AkinazaLogo, { ...props });
320
335
  }
321
336
 
322
337
  // src/sites/sites.ts
@@ -400,7 +415,7 @@ function familyGroups(org) {
400
415
  var orgIdOf = (id) => ORG_ID[id] ?? id;
401
416
 
402
417
  // src/site-footer/site-footer.tsx
403
- import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
418
+ import { Fragment, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
404
419
  var siteFooter = tv({
405
420
  slots: {
406
421
  root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
@@ -487,7 +502,7 @@ function SiteFooter({
487
502
  const own = !slim && React.Children.toArray(children).length > 0;
488
503
  const lang = labels.lang ?? "en";
489
504
  const company = labels.company ?? familyLabels.en.company;
490
- const legal = legalProp ?? (org && /* @__PURE__ */ jsx7(Fragment, { children: org.footer.legal.map((l) => /* @__PURE__ */ jsx7(SiteFooterLink, { href: l.url[lang], children: l.label[lang] }, l.id)) }));
505
+ const legal = legalProp ?? (org && /* @__PURE__ */ jsx8(Fragment, { children: org.footer.legal.map((l) => /* @__PURE__ */ jsx8(SiteFooterLink, { href: l.url[lang], children: l.label[lang] }, l.id)) }));
491
506
  const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
492
507
  const productIds = products?.map(orgIdOf);
493
508
  const groups = familyGroups(org);
@@ -496,21 +511,21 @@ function SiteFooter({
496
511
  { group: "open-source", entries: groups.filter((g) => g.group === "open-source" || g.group === "github").flatMap((g) => g.entries) }
497
512
  ];
498
513
  const companyEntries = companyLinks.map((l) => ({ id: l.id, name: company[l.id], url: l.url[lang] }));
499
- return /* @__PURE__ */ jsx7(ToneContext.Provider, { value: tone, children: /* @__PURE__ */ jsx7("footer", { className: s.root({ className }), ...props, children: /* @__PURE__ */ jsxs6("div", { className: s.inner(), children: [
500
- own && /* @__PURE__ */ jsx7("div", { className: s.row(), children }),
501
- family && /* @__PURE__ */ jsx7("nav", { "aria-label": labels.family, className: s.family(), children: [
514
+ return /* @__PURE__ */ jsx8(ToneContext.Provider, { value: tone, children: /* @__PURE__ */ jsx8("footer", { className: s.root({ className }), ...props, children: /* @__PURE__ */ jsxs6("div", { className: s.inner(), children: [
515
+ own && /* @__PURE__ */ jsx8("div", { className: s.row(), children }),
516
+ family && /* @__PURE__ */ jsx8("nav", { "aria-label": labels.family, className: s.family(), children: [
502
517
  ...columns.map((c) => ({ key: c.group, title: labels.groups[c.group], entries: c.entries })),
503
518
  { key: "krizaka", title: labels.groups.krizaka, entries: companyEntries }
504
519
  ].filter((c) => c.entries.length > 0).map((c) => /* @__PURE__ */ jsxs6("details", { className: s.group(), children: [
505
520
  /* @__PURE__ */ jsxs6("summary", { id: `${id}-${c.key}`, className: s.summary(), children: [
506
521
  c.title,
507
- /* @__PURE__ */ jsx7("svg", { "aria-hidden": "true", viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "1.5", className: s.chevron(), children: /* @__PURE__ */ jsx7("path", { d: "M4 6l4 4 4-4", strokeLinecap: "round", strokeLinejoin: "round" }) })
522
+ /* @__PURE__ */ jsx8("svg", { "aria-hidden": "true", viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "1.5", className: s.chevron(), children: /* @__PURE__ */ jsx8("path", { d: "M4 6l4 4 4-4", strokeLinecap: "round", strokeLinejoin: "round" }) })
508
523
  ] }),
509
- /* @__PURE__ */ jsx7("ul", { "aria-labelledby": `${id}-${c.key}`, className: s.list(), children: c.entries.map((e) => {
524
+ /* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-${c.key}`, className: s.list(), children: c.entries.map((e) => {
510
525
  const isCompany = c.key === "krizaka";
511
526
  const atHome = isCompany && here(e.url);
512
527
  const isCurrent = !isCompany && e.id === currentId;
513
- return /* @__PURE__ */ jsx7("li", { children: /* @__PURE__ */ jsxs6(
528
+ return /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsxs6(
514
529
  "a",
515
530
  {
516
531
  href: e.url,
@@ -531,7 +546,7 @@ function SiteFooter({
531
546
  ] }, c.key)) }),
532
547
  /* @__PURE__ */ jsxs6("div", { className: s.bottom(), children: [
533
548
  /* @__PURE__ */ jsxs6("a", { href: krizaka.url, className: s.signature(), children: [
534
- /* @__PURE__ */ jsx7(ProductLogo, { id: "krizaka", size: 18, animated: false }),
549
+ /* @__PURE__ */ jsx8(ProductLogo, { id: "krizaka", size: 18, animated: false }),
535
550
  org ? org.footer.line[lang] : `${labels.signature[site2.kind]} \xB7 ${labels.place}`
536
551
  ] }),
537
552
  tag && /* @__PURE__ */ jsxs6("span", { className: s.version(), children: [
@@ -541,8 +556,8 @@ function SiteFooter({
541
556
  ] }),
542
557
  tag
543
558
  ] }),
544
- legal && /* @__PURE__ */ jsx7("div", { className: s.legal(), children: legal }),
545
- controls && /* @__PURE__ */ jsx7("div", { className: s.controls(), children: controls })
559
+ legal && /* @__PURE__ */ jsx8("div", { className: s.legal(), children: legal }),
560
+ controls && /* @__PURE__ */ jsx8("div", { className: s.controls(), children: controls })
546
561
  ] })
547
562
  ] }) }) });
548
563
  }
@@ -552,20 +567,20 @@ function SiteFooterColumn({ title, children, className, ...props }) {
552
567
  if (React.Children.toArray(children).length === 0) return null;
553
568
  const s = siteFooter({ tone });
554
569
  return /* @__PURE__ */ jsxs6("div", { className: s.column({ className }), ...props, children: [
555
- /* @__PURE__ */ jsx7("p", { id, className: s.title(), children: title }),
556
- /* @__PURE__ */ jsx7("ul", { "aria-labelledby": id, className: s.list({ className: "pb-0" }), children: React.Children.toArray(children).map((child, i) => /* @__PURE__ */ jsx7("li", { children: child }, i)) })
570
+ /* @__PURE__ */ jsx8("p", { id, className: s.title(), children: title }),
571
+ /* @__PURE__ */ jsx8("ul", { "aria-labelledby": id, className: s.list({ className: "pb-0" }), children: React.Children.toArray(children).map((child, i) => /* @__PURE__ */ jsx8("li", { children: child }, i)) })
557
572
  ] });
558
573
  }
559
574
  function SiteFooterLink({ active, asChild, className, ...props }) {
560
575
  const s = siteFooter();
561
576
  const Comp = asChild ? Slot.Root : "a";
562
- return /* @__PURE__ */ jsx7(Comp, { "aria-current": active ? "page" : void 0, className: s.link({ className }), ...props });
577
+ return /* @__PURE__ */ jsx8(Comp, { "aria-current": active ? "page" : void 0, className: s.link({ className }), ...props });
563
578
  }
564
579
  SiteFooter.Column = SiteFooterColumn;
565
580
  SiteFooter.Link = SiteFooterLink;
566
581
 
567
582
  // src/site-cahier/site-cahier.tsx
568
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
583
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
569
584
  function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", homeHref = "/", linkAs, bar, footer, className, style, children, ...props }) {
570
585
  const h = hue === void 0 || !Number.isFinite(hue) ? void 0 : (Math.round(hue) % 360 + 360) % 360;
571
586
  const tint = h === void 0 ? void 0 : {
@@ -574,32 +589,32 @@ function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", home
574
589
  "--kz-hue-text": "var(--kz-text-primary)"
575
590
  };
576
591
  return /* @__PURE__ */ jsxs7("div", { className: cn("kz-cahier", className), "data-site": site2, style: { ...tint, ...style }, ...props, children: [
577
- bar ?? /* @__PURE__ */ jsx8("header", { className: "kz-cahier-bar", children: /* @__PURE__ */ jsx8(Page, { children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-bar-row", children: [
592
+ bar ?? /* @__PURE__ */ jsx9("header", { className: "kz-cahier-bar", children: /* @__PURE__ */ jsx9(Page, { children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-bar-row", children: [
578
593
  /* @__PURE__ */ jsxs7(BlockLink, { href: homeHref, linkAs, className: "kz-cahier-brand", children: [
579
- /* @__PURE__ */ jsx8(Mascot, { bird, tone: "own", size: 30, animated: false }),
580
- /* @__PURE__ */ jsx8("span", { children: name })
594
+ /* @__PURE__ */ jsx9(Mascot, { bird, tone: "own", size: 30, animated: false }),
595
+ /* @__PURE__ */ jsx9("span", { children: name })
581
596
  ] }),
582
- /* @__PURE__ */ jsx8("nav", { "aria-label": navLabel, children: /* @__PURE__ */ jsx8("ul", { className: "kz-cahier-nav", children: nav.map((item, i) => /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsx8(BlockLink, { href: item.href, linkAs, "aria-current": item.current ? "page" : void 0, children: item.label }) }, i)) }) })
597
+ /* @__PURE__ */ jsx9("nav", { "aria-label": navLabel, children: /* @__PURE__ */ jsx9("ul", { className: "kz-cahier-nav", children: nav.map((item, i) => /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(BlockLink, { href: item.href, linkAs, "aria-current": item.current ? "page" : void 0, children: item.label }) }, i)) }) })
583
598
  ] }) }) }),
584
- /* @__PURE__ */ jsx8("main", { className: "kz-cahier-main", children }),
585
- footer === false ? null : /* @__PURE__ */ jsx8(SiteFooter, { current: site2, ...footer })
599
+ /* @__PURE__ */ jsx9("main", { className: "kz-cahier-main", children }),
600
+ footer === false ? null : /* @__PURE__ */ jsx9(SiteFooter, { current: site2, ...footer })
586
601
  ] });
587
602
  }
588
603
  function SiteCahierHero({ bird, birdCaption, aside, doodle, children, ...props }) {
589
- const print = aside ?? (bird ? /* @__PURE__ */ jsx8(TapedPhoto, { tape: "top", tilt: 2, caption: birdCaption, children: /* @__PURE__ */ jsx8("div", { className: "kz-cahier-print", children: /* @__PURE__ */ jsx8(Mascot, { bird, tone: "own", size: 150, animated: false }) }) }) : void 0);
604
+ const print = aside ?? (bird ? /* @__PURE__ */ jsx9(TapedPhoto, { tape: "top", tilt: 2, caption: birdCaption, children: /* @__PURE__ */ jsx9("div", { className: "kz-cahier-print", children: /* @__PURE__ */ jsx9(Mascot, { bird, tone: "own", size: 150, animated: false }) }) }) : void 0);
590
605
  return /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-hero", children: [
591
- /* @__PURE__ */ jsx8(PageHero, { backdrop: "plain", aside: print, ...props, children }),
592
- doodle && /* @__PURE__ */ jsx8("div", { className: "kz-cahier-doodle", children: doodle })
606
+ /* @__PURE__ */ jsx9(PageHero, { backdrop: "plain", aside: print, ...props, children }),
607
+ doodle && /* @__PURE__ */ jsx9("div", { className: "kz-cahier-doodle", children: doodle })
593
608
  ] });
594
609
  }
595
610
  function SiteCahierDoc({ title, eyebrow, aside, asideLabel = "On this page", className, children, ...props }) {
596
- return /* @__PURE__ */ jsx8(Page, { size: "wide", paper: "lines", margin: true, children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-doc", "data-aside": aside ? "" : void 0, children: [
611
+ return /* @__PURE__ */ jsx9(Page, { size: "wide", paper: "lines", margin: true, children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-doc", "data-aside": aside ? "" : void 0, children: [
597
612
  /* @__PURE__ */ jsxs7("article", { className: cn("kz-cahier-article", className), ...props, children: [
598
- eyebrow && /* @__PURE__ */ jsx8("p", { className: "kz-eyebrow", children: eyebrow }),
599
- /* @__PURE__ */ jsx8("h1", { className: "kz-hero-title", children: title }),
600
- /* @__PURE__ */ jsx8("div", { className: "kz-tpl-prose", children })
613
+ eyebrow && /* @__PURE__ */ jsx9("p", { className: "kz-eyebrow", children: eyebrow }),
614
+ /* @__PURE__ */ jsx9("h1", { className: "kz-hero-title", children: title }),
615
+ /* @__PURE__ */ jsx9("div", { className: "kz-tpl-prose", children })
601
616
  ] }),
602
- aside && /* @__PURE__ */ jsx8("aside", { className: "kz-cahier-aside", "aria-label": asideLabel, children: aside })
617
+ aside && /* @__PURE__ */ jsx9("aside", { className: "kz-cahier-aside", "aria-label": asideLabel, children: aside })
603
618
  ] }) });
604
619
  }
605
620
  export {