@krizaka/ui 3.79.0 → 3.81.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.
@@ -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,55 +295,55 @@ 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
323
338
  var site = (s) => ({ ...s, host: s.url.replace(/^https?:\/\//, "").replace(/\/$/, "") });
324
339
  var sites = [
325
340
  site({ id: "krizaka", name: "Krizaka", url: "https://www.krizaka.com", kind: "company", group: "krizaka", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-com" }),
326
- site({ id: "orazaka", name: "Orazaka", url: "https://www.orazaka.com", kind: "product", group: "products", status: "released", mark: "orazaka", repo: "https://github.com/krizaka/orazaka" }),
341
+ site({ id: "orazaka", name: "Orazaka", url: "https://www.orazaka.com", kind: "product", group: "products", status: "development", mark: "orazaka", repo: "https://github.com/krizaka/orazaka" }),
327
342
  site({ id: "yomizaka", name: "Yomizaka", url: "https://www.yomizaka.com", kind: "product", group: "products", status: "development", mark: "yomizaka", repo: "https://github.com/krizaka/yomizaka" }),
328
343
  site({ id: "akinaza", name: "Akinaza", url: "https://www.akinaza.com", kind: "product", group: "products", status: "development", mark: "akinaza", repo: "https://github.com/krizaka/akinaza" }),
329
- site({ id: "ui", name: "Krizaka UI", url: "https://ui.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ui" }),
330
- site({ id: "java", name: "Krizaka Java", url: "https://java.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-build" }),
331
- site({ id: "ts", name: "Krizaka TypeScript", url: "https://ts.krizaka.com", kind: "open-source", group: "open-source", status: "released", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ts" }),
344
+ site({ id: "ui", name: "Krizaka UI", url: "https://ui.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ui" }),
345
+ site({ id: "java", name: "Krizaka Java", url: "https://java.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-build" }),
346
+ site({ id: "ts", name: "Krizaka TypeScript", url: "https://ts.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-ts" }),
332
347
  // The family lab: built in the open, served at lab.krizaka.com; what proves itself there moves into Krizaka UI.
333
348
  site({ id: "motion", name: "Krizaka Lab", url: "https://lab.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-lab" }),
334
349
  site({ id: "github", name: "GitHub", url: "https://github.com/krizaka", kind: "open-source", group: "github", status: "released", mark: "github", repo: "https://github.com/krizaka" })
@@ -394,13 +409,21 @@ var familyLabels = {
394
409
  // src/sites/family-groups.ts
395
410
  var ORG_ID = { motion: "lab" };
396
411
  function familyGroups(org) {
397
- const entries = org?.family ? org.family.map((e) => ({ id: e.id, name: e.name, url: e.url, group: e.group })) : sites.map((s) => ({ id: ORG_ID[s.id] ?? s.id, name: s.name, url: s.url, group: s.group }));
412
+ const entries = org?.family ? org.family.map((e) => ({ id: e.id, name: e.name, url: e.url, group: e.group, status: e.status })) : sites.map((s) => ({ id: ORG_ID[s.id] ?? s.id, name: s.name, url: s.url, group: s.group, status: s.status }));
398
413
  return siteGroups.map((group) => ({ group, entries: entries.filter((e) => e.group === group) })).filter((g) => g.entries.length > 0);
399
414
  }
400
415
  var orgIdOf = (id) => ORG_ID[id] ?? id;
416
+ function columnStatus(entries) {
417
+ const counts = /* @__PURE__ */ new Map();
418
+ for (const e of entries) counts.set(e.status, (counts.get(e.status) ?? 0) + 1);
419
+ const common = [...counts.entries()].sort((a, b) => b[1] - a[1])[0]?.[0] ?? null;
420
+ const exceptions = /* @__PURE__ */ new Map();
421
+ for (const e of entries) if (e.status !== common && e.status !== "released") exceptions.set(e.id, e.status);
422
+ return { shared: common === null || common === "released" ? null : common, exceptions };
423
+ }
401
424
 
402
425
  // src/site-footer/site-footer.tsx
403
- import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
426
+ import { Fragment, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
404
427
  var siteFooter = tv({
405
428
  slots: {
406
429
  root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
@@ -412,6 +435,7 @@ var siteFooter = tv({
412
435
  chevron: "size-4 shrink-0 transition-transform group-open/fold:rotate-180 motion-reduce:transition-none lg:hidden",
413
436
  column: "inline-flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1",
414
437
  title: "text-xs font-semibold text-fg-secondary",
438
+ note: "font-normal",
415
439
  list: "flex min-w-0 flex-wrap items-baseline gap-x-3 gap-y-1 pb-2 lg:pb-0",
416
440
  link: "inline-flex min-h-6 min-w-0 items-center rounded-md text-sm [overflow-wrap:anywhere] text-fg-secondary no-underline transition-colors hover:text-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring aria-[current=page]:text-fg aria-[current=page]:font-semibold aria-[current=true]:text-fg aria-[current=true]:font-semibold",
417
441
  bottom: "flex flex-wrap items-center gap-x-4 gap-y-2 text-xs text-fg-secondary",
@@ -459,6 +483,7 @@ function backToTop(event) {
459
483
  window.scrollTo({ top: 0, behavior: "auto" });
460
484
  }
461
485
  var ToneContext = React.createContext("product");
486
+ var NO_STATUS = { shared: null, exceptions: /* @__PURE__ */ new Map() };
462
487
  function SiteFooter({
463
488
  current,
464
489
  labels = familyLabels.en,
@@ -487,7 +512,7 @@ function SiteFooter({
487
512
  const own = !slim && React.Children.toArray(children).length > 0;
488
513
  const lang = labels.lang ?? "en";
489
514
  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)) }));
515
+ 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
516
  const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
492
517
  const productIds = products?.map(orgIdOf);
493
518
  const groups = familyGroups(org);
@@ -496,21 +521,28 @@ function SiteFooter({
496
521
  { group: "open-source", entries: groups.filter((g) => g.group === "open-source" || g.group === "github").flatMap((g) => g.entries) }
497
522
  ];
498
523
  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: [
502
- ...columns.map((c) => ({ key: c.group, title: labels.groups[c.group], entries: c.entries })),
503
- { key: "krizaka", title: labels.groups.krizaka, entries: companyEntries }
524
+ return /* @__PURE__ */ jsx8(ToneContext.Provider, { value: tone, children: /* @__PURE__ */ jsx8("footer", { className: s.root({ className }), ...props, children: /* @__PURE__ */ jsxs6("div", { className: s.inner(), children: [
525
+ own && /* @__PURE__ */ jsx8("div", { className: s.row(), children }),
526
+ family && /* @__PURE__ */ jsx8("nav", { "aria-label": labels.family, className: s.family(), children: [
527
+ ...columns.map((c) => ({ key: c.group, title: labels.groups[c.group], entries: c.entries, ...columnStatus(c.entries) })),
528
+ { key: "krizaka", title: labels.groups.krizaka, entries: companyEntries, ...NO_STATUS }
504
529
  ].filter((c) => c.entries.length > 0).map((c) => /* @__PURE__ */ jsxs6("details", { className: s.group(), children: [
505
- /* @__PURE__ */ jsxs6("summary", { id: `${id}-${c.key}`, className: s.summary(), children: [
506
- 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" }) })
530
+ /* @__PURE__ */ jsxs6("summary", { className: s.summary(), children: [
531
+ /* @__PURE__ */ jsxs6("span", { children: [
532
+ /* @__PURE__ */ jsx8("span", { id: `${id}-${c.key}`, children: c.title }),
533
+ c.shared && /* @__PURE__ */ jsxs6("span", { className: s.note(), children: [
534
+ /* @__PURE__ */ jsx8("span", { "aria-hidden": "true", children: " \xB7 " }),
535
+ labels.status[c.shared]
536
+ ] })
537
+ ] }),
538
+ /* @__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
539
  ] }),
509
- /* @__PURE__ */ jsx7("ul", { "aria-labelledby": `${id}-${c.key}`, className: s.list(), children: c.entries.map((e) => {
540
+ /* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-${c.key}`, className: s.list(), children: c.entries.map((e) => {
510
541
  const isCompany = c.key === "krizaka";
511
542
  const atHome = isCompany && here(e.url);
543
+ const exception = c.exceptions.get(e.id);
512
544
  const isCurrent = !isCompany && e.id === currentId;
513
- return /* @__PURE__ */ jsx7("li", { children: /* @__PURE__ */ jsxs6(
545
+ return /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsxs6(
514
546
  "a",
515
547
  {
516
548
  href: e.url,
@@ -519,6 +551,11 @@ function SiteFooter({
519
551
  className: s.link(),
520
552
  children: [
521
553
  e.name,
554
+ exception && /* @__PURE__ */ jsxs6("span", { className: s.note(), children: [
555
+ " (",
556
+ labels.status[exception],
557
+ ")"
558
+ ] }),
522
559
  isCurrent && /* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
523
560
  " (",
524
561
  labels.current,
@@ -531,7 +568,7 @@ function SiteFooter({
531
568
  ] }, c.key)) }),
532
569
  /* @__PURE__ */ jsxs6("div", { className: s.bottom(), children: [
533
570
  /* @__PURE__ */ jsxs6("a", { href: krizaka.url, className: s.signature(), children: [
534
- /* @__PURE__ */ jsx7(ProductLogo, { id: "krizaka", size: 18, animated: false }),
571
+ /* @__PURE__ */ jsx8(ProductLogo, { id: "krizaka", size: 18, animated: false }),
535
572
  org ? org.footer.line[lang] : `${labels.signature[site2.kind]} \xB7 ${labels.place}`
536
573
  ] }),
537
574
  tag && /* @__PURE__ */ jsxs6("span", { className: s.version(), children: [
@@ -541,8 +578,8 @@ function SiteFooter({
541
578
  ] }),
542
579
  tag
543
580
  ] }),
544
- legal && /* @__PURE__ */ jsx7("div", { className: s.legal(), children: legal }),
545
- controls && /* @__PURE__ */ jsx7("div", { className: s.controls(), children: controls })
581
+ legal && /* @__PURE__ */ jsx8("div", { className: s.legal(), children: legal }),
582
+ controls && /* @__PURE__ */ jsx8("div", { className: s.controls(), children: controls })
546
583
  ] })
547
584
  ] }) }) });
548
585
  }
@@ -552,20 +589,20 @@ function SiteFooterColumn({ title, children, className, ...props }) {
552
589
  if (React.Children.toArray(children).length === 0) return null;
553
590
  const s = siteFooter({ tone });
554
591
  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)) })
592
+ /* @__PURE__ */ jsx8("p", { id, className: s.title(), children: title }),
593
+ /* @__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
594
  ] });
558
595
  }
559
596
  function SiteFooterLink({ active, asChild, className, ...props }) {
560
597
  const s = siteFooter();
561
598
  const Comp = asChild ? Slot.Root : "a";
562
- return /* @__PURE__ */ jsx7(Comp, { "aria-current": active ? "page" : void 0, className: s.link({ className }), ...props });
599
+ return /* @__PURE__ */ jsx8(Comp, { "aria-current": active ? "page" : void 0, className: s.link({ className }), ...props });
563
600
  }
564
601
  SiteFooter.Column = SiteFooterColumn;
565
602
  SiteFooter.Link = SiteFooterLink;
566
603
 
567
604
  // src/site-cahier/site-cahier.tsx
568
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
605
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
569
606
  function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", homeHref = "/", linkAs, bar, footer, className, style, children, ...props }) {
570
607
  const h = hue === void 0 || !Number.isFinite(hue) ? void 0 : (Math.round(hue) % 360 + 360) % 360;
571
608
  const tint = h === void 0 ? void 0 : {
@@ -574,32 +611,32 @@ function SiteCahier({ site: site2, name, bird, hue, nav, navLabel = "Main", home
574
611
  "--kz-hue-text": "var(--kz-text-primary)"
575
612
  };
576
613
  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: [
614
+ bar ?? /* @__PURE__ */ jsx9("header", { className: "kz-cahier-bar", children: /* @__PURE__ */ jsx9(Page, { children: /* @__PURE__ */ jsxs7("div", { className: "kz-cahier-bar-row", children: [
578
615
  /* @__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 })
616
+ /* @__PURE__ */ jsx9(Mascot, { bird, tone: "own", size: 30, animated: false }),
617
+ /* @__PURE__ */ jsx9("span", { children: name })
581
618
  ] }),
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)) }) })
619
+ /* @__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
620
  ] }) }) }),
584
- /* @__PURE__ */ jsx8("main", { className: "kz-cahier-main", children }),
585
- footer === false ? null : /* @__PURE__ */ jsx8(SiteFooter, { current: site2, ...footer })
621
+ /* @__PURE__ */ jsx9("main", { className: "kz-cahier-main", children }),
622
+ footer === false ? null : /* @__PURE__ */ jsx9(SiteFooter, { current: site2, ...footer })
586
623
  ] });
587
624
  }
588
625
  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);
626
+ 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
627
  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 })
628
+ /* @__PURE__ */ jsx9(PageHero, { backdrop: "plain", aside: print, ...props, children }),
629
+ doodle && /* @__PURE__ */ jsx9("div", { className: "kz-cahier-doodle", children: doodle })
593
630
  ] });
594
631
  }
595
632
  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: [
633
+ 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
634
  /* @__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 })
635
+ eyebrow && /* @__PURE__ */ jsx9("p", { className: "kz-eyebrow", children: eyebrow }),
636
+ /* @__PURE__ */ jsx9("h1", { className: "kz-hero-title", children: title }),
637
+ /* @__PURE__ */ jsx9("div", { className: "kz-tpl-prose", children })
601
638
  ] }),
602
- aside && /* @__PURE__ */ jsx8("aside", { className: "kz-cahier-aside", "aria-label": asideLabel, children: aside })
639
+ aside && /* @__PURE__ */ jsx9("aside", { className: "kz-cahier-aside", "aria-label": asideLabel, children: aside })
603
640
  ] }) });
604
641
  }
605
642
  export {