@krizaka/ui 3.78.1 → 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.
Files changed (240) hide show
  1. package/README.md +1 -0
  2. package/dist/app-frame.d.ts +4 -1
  3. package/dist/chunk-BCD2CRFG.js +349 -0
  4. package/dist/chunk-BCD2CRFG.js.map +1 -0
  5. package/dist/{chunk-PGPNYYE2.js → chunk-BHAWCN4I.js} +128 -110
  6. package/dist/chunk-BHAWCN4I.js.map +1 -0
  7. package/dist/{chunk-SG3QJJXE.js → chunk-ENFXJUDN.js} +3 -16
  8. package/dist/chunk-ENFXJUDN.js.map +1 -0
  9. package/dist/identity-card.d.ts +39 -0
  10. package/dist/identity-card.js +34 -0
  11. package/dist/identity-card.js.map +1 -0
  12. package/dist/index.d.ts +47 -15
  13. package/dist/index.js +87 -23
  14. package/dist/index.js.map +1 -1
  15. package/dist/native.d.ts +4 -1
  16. package/dist/nav-bar.d.ts +1 -1
  17. package/dist/nav-bar.js +63 -53
  18. package/dist/nav-bar.js.map +1 -1
  19. package/dist/qr-code.d.ts +25 -2
  20. package/dist/qr-code.js +29 -339
  21. package/dist/qr-code.js.map +1 -1
  22. package/dist/rail-nav.d.ts +4 -1
  23. package/dist/{schema-CL7t7xqb.d.ts → schema-DgjBz7-8.d.ts} +1 -1
  24. package/dist/shop.d.ts +2 -2
  25. package/dist/site-cahier.d.ts +32 -19
  26. package/dist/site-cahier.js +164 -138
  27. package/dist/site-cahier.js.map +1 -1
  28. package/dist/site-footer.d.ts +59 -39
  29. package/dist/site-footer.js +94 -68
  30. package/dist/site-footer.js.map +1 -1
  31. package/dist/{sites-CVNSirrg.d.ts → sites-BLqbwmng.d.ts} +14 -0
  32. package/dist/sites.d.ts +28 -2
  33. package/dist/sites.js +10 -0
  34. package/dist/sites.js.map +1 -1
  35. package/package.json +17 -3
  36. package/registry/account-menu.json +1 -1
  37. package/registry/account-settings.json +1 -1
  38. package/registry/achievement.json +1 -1
  39. package/registry/action-bar.json +1 -1
  40. package/registry/activity-feed.json +1 -1
  41. package/registry/agenda.json +1 -1
  42. package/registry/alert.json +1 -1
  43. package/registry/analysis-report.json +1 -1
  44. package/registry/anatomy-plate.json +1 -1
  45. package/registry/app-frame.json +8 -4
  46. package/registry/app-header.json +1 -1
  47. package/registry/app-shell.json +1 -1
  48. package/registry/argument-card.json +1 -1
  49. package/registry/auth-layout.json +1 -1
  50. package/registry/avatar.json +1 -1
  51. package/registry/badge.json +1 -1
  52. package/registry/bird-plate.json +1 -1
  53. package/registry/button.json +1 -1
  54. package/registry/captcha.json +1 -1
  55. package/registry/card-grid.json +1 -1
  56. package/registry/card.json +1 -1
  57. package/registry/catalogue-page.json +1 -1
  58. package/registry/changelog-page.json +1 -1
  59. package/registry/chapter.json +1 -1
  60. package/registry/chat.json +1 -1
  61. package/registry/checkbox.json +1 -1
  62. package/registry/chip-link.json +1 -1
  63. package/registry/chip-row.json +1 -1
  64. package/registry/chip.json +1 -1
  65. package/registry/choice-grid.json +1 -1
  66. package/registry/code-block.json +1 -1
  67. package/registry/collection-switcher.json +1 -1
  68. package/registry/combobox.json +1 -1
  69. package/registry/command.json +1 -1
  70. package/registry/comparison-table.json +1 -1
  71. package/registry/component-page.json +1 -1
  72. package/registry/confirm-button.json +1 -1
  73. package/registry/contact-page.json +1 -1
  74. package/registry/continue-prompt.json +1 -1
  75. package/registry/copy-button.json +1 -1
  76. package/registry/countdown.json +1 -1
  77. package/registry/cover-hero.json +1 -1
  78. package/registry/cta-panel.json +1 -1
  79. package/registry/dashboard-layout.json +1 -1
  80. package/registry/data-table.json +1 -1
  81. package/registry/date-picker.json +1 -1
  82. package/registry/decision-list.json +1 -1
  83. package/registry/description-list.json +1 -1
  84. package/registry/desktop-window.json +1 -1
  85. package/registry/detail-layout.json +1 -1
  86. package/registry/dialog.json +1 -1
  87. package/registry/docs-article-page.json +1 -1
  88. package/registry/docs-hub-page.json +1 -1
  89. package/registry/docs-layout.json +1 -1
  90. package/registry/docs-nav.json +1 -1
  91. package/registry/document-viewer.json +1 -1
  92. package/registry/doodle.json +1 -1
  93. package/registry/drop-overlay.json +1 -1
  94. package/registry/dropdown-menu.json +1 -1
  95. package/registry/elephant.json +1 -1
  96. package/registry/embed-facade.json +1 -1
  97. package/registry/empty-state.json +1 -1
  98. package/registry/engine-flow.json +1 -1
  99. package/registry/entity-header.json +1 -1
  100. package/registry/environment-notice.json +1 -1
  101. package/registry/error-page.json +1 -1
  102. package/registry/examples/identity-card/basic.d.ts +4 -0
  103. package/registry/examples/identity-card/basic.js +33 -0
  104. package/registry/examples/identity-card/basic.tsx +29 -0
  105. package/registry/examples/site-footer/company.js +1 -0
  106. package/registry/examples/site-footer/company.tsx +3 -2
  107. package/registry/examples/site-footer/docs.tsx +1 -1
  108. package/registry/examples/site-footer/open-source-fr.js +1 -1
  109. package/registry/examples/site-footer/open-source-fr.tsx +1 -1
  110. package/registry/examples/site-footer/product.js +9 -14
  111. package/registry/examples/site-footer/product.tsx +14 -12
  112. package/registry/field.json +1 -1
  113. package/registry/file-upload.json +1 -1
  114. package/registry/filter-bar.json +1 -1
  115. package/registry/flock.json +1 -1
  116. package/registry/footnote.json +1 -1
  117. package/registry/force-update-screen.json +1 -1
  118. package/registry/form.json +1 -1
  119. package/registry/gallery-page.json +1 -1
  120. package/registry/genui.json +1 -1
  121. package/registry/glossary-term.json +1 -1
  122. package/registry/glossary.json +1 -1
  123. package/registry/glow-card.json +1 -1
  124. package/registry/goal-gauge.json +1 -1
  125. package/registry/grade-stamp.json +1 -1
  126. package/registry/identity-card.json +218 -0
  127. package/registry/image-cropper.json +1 -1
  128. package/registry/index.json +40 -9
  129. package/registry/kanban.json +1 -1
  130. package/registry/kbd.json +1 -1
  131. package/registry/kind-config-editor.json +1 -1
  132. package/registry/kpi-explained.json +1 -1
  133. package/registry/landing-page.json +1 -1
  134. package/registry/landscape.json +1 -1
  135. package/registry/language-switch.json +1 -1
  136. package/registry/legal-page.json +1 -1
  137. package/registry/link-card.json +1 -1
  138. package/registry/list.json +1 -1
  139. package/registry/loader.json +1 -1
  140. package/registry/longform-page.json +1 -1
  141. package/registry/maintenance-screen.json +1 -1
  142. package/registry/map.json +2 -2
  143. package/registry/margin-layout.json +1 -1
  144. package/registry/markdown.json +1 -1
  145. package/registry/marketing-layout.json +1 -1
  146. package/registry/mascot-quote.json +1 -1
  147. package/registry/mascot-state.json +1 -1
  148. package/registry/mascots.json +1 -1
  149. package/registry/match-dialog.json +1 -1
  150. package/registry/media-capture.json +1 -1
  151. package/registry/media-gallery.json +1 -1
  152. package/registry/meter.json +1 -1
  153. package/registry/money-input.json +1 -1
  154. package/registry/nav-bar.json +8 -4
  155. package/registry/next-actions.json +1 -1
  156. package/registry/notification-preferences.json +1 -1
  157. package/registry/number-ticker.json +1 -1
  158. package/registry/opening-hours.json +1 -1
  159. package/registry/page-header.json +1 -1
  160. package/registry/page-hero.json +1 -1
  161. package/registry/page-index.json +1 -1
  162. package/registry/page.json +1 -1
  163. package/registry/pagination.json +1 -1
  164. package/registry/pointer-light.json +1 -1
  165. package/registry/popover.json +1 -1
  166. package/registry/price-catalogue-editor.json +1 -1
  167. package/registry/pricing-page.json +1 -1
  168. package/registry/product-page.json +1 -1
  169. package/registry/profile-card.json +1 -1
  170. package/registry/progress.json +1 -1
  171. package/registry/promise-card.json +1 -1
  172. package/registry/promo-code-field.json +1 -1
  173. package/registry/proposal.json +1 -1
  174. package/registry/qr-code.json +6 -2
  175. package/registry/quota-meter.json +1 -1
  176. package/registry/radio-group.json +1 -1
  177. package/registry/rail-nav.json +8 -4
  178. package/registry/recipes.json +1 -1
  179. package/registry/retro-tv.json +1 -1
  180. package/registry/reviews.json +1 -1
  181. package/registry/router.json +1 -1
  182. package/registry/schema-form.json +1 -1
  183. package/registry/scroll-stage.json +1 -1
  184. package/registry/search-field.json +1 -1
  185. package/registry/section-backdrop.json +1 -1
  186. package/registry/separator.json +1 -1
  187. package/registry/service-card.json +1 -1
  188. package/registry/settings-layout.json +1 -1
  189. package/registry/shop-composer.json +1 -1
  190. package/registry/shop-gallery.json +1 -1
  191. package/registry/shop.json +2 -2
  192. package/registry/showcase.json +1 -1
  193. package/registry/signature.json +1 -1
  194. package/registry/site-cahier.json +1 -1
  195. package/registry/site-footer.json +87 -60
  196. package/registry/sites.json +7 -3
  197. package/registry/skeleton.json +1 -1
  198. package/registry/skip-link.json +1 -1
  199. package/registry/slider.json +1 -1
  200. package/registry/slot-picker.json +1 -1
  201. package/registry/slot.json +1 -1
  202. package/registry/specimen-tag.json +1 -1
  203. package/registry/speed-lines.json +1 -1
  204. package/registry/spinner.json +1 -1
  205. package/registry/split-view.json +1 -1
  206. package/registry/stage-banner.json +1 -1
  207. package/registry/stat.json +1 -1
  208. package/registry/status-chip.json +1 -1
  209. package/registry/status-page.json +1 -1
  210. package/registry/step-progress.json +1 -1
  211. package/registry/step-showcase.json +1 -1
  212. package/registry/stepper.json +1 -1
  213. package/registry/sticky-action.json +1 -1
  214. package/registry/stuck.json +1 -1
  215. package/registry/swipe-deck.json +1 -1
  216. package/registry/switch.json +1 -1
  217. package/registry/tabs.json +1 -1
  218. package/registry/tag-input.json +1 -1
  219. package/registry/tag-selector.json +1 -1
  220. package/registry/taped-photo.json +1 -1
  221. package/registry/terminal-replay.json +1 -1
  222. package/registry/text-style.json +1 -1
  223. package/registry/theme.json +1 -1
  224. package/registry/toast.json +1 -1
  225. package/registry/toc.json +1 -1
  226. package/registry/tooltip.json +1 -1
  227. package/registry/tree-view.json +1 -1
  228. package/registry/update-prompt.json +1 -1
  229. package/registry/upload-queue.json +1 -1
  230. package/registry/usage.json +1 -1
  231. package/registry/verified-badge.json +1 -1
  232. package/registry/versus-card.json +1 -1
  233. package/registry/vertical-video.json +1 -1
  234. package/registry/video-player.json +1 -1
  235. package/registry/video-trimmer.json +1 -1
  236. package/registry/virtual.json +1 -1
  237. package/registry/wall.json +1 -1
  238. package/registry/waveform.json +1 -1
  239. package/dist/chunk-PGPNYYE2.js.map +0 -1
  240. package/dist/chunk-SG3QJJXE.js.map +0 -1
@@ -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,53 +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";
315
- 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 });
320
- }
321
-
322
- // src/family-mark.tsx
323
329
  import { jsx as jsx7 } from "react/jsx-runtime";
324
- function GitHubGlyph({ size = 16, className }) {
325
- return /* @__PURE__ */ jsx7("svg", { viewBox: "0 0 16 16", width: size, height: size, fill: "currentColor", "aria-hidden": true, className, children: /* @__PURE__ */ jsx7("path", { d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z" }) });
326
- }
327
- function FamilyMark({ mark, size }) {
328
- if (mark === "github") return /* @__PURE__ */ jsx7(GitHubGlyph, { size: Math.round(size * 0.8) });
329
- return /* @__PURE__ */ jsx7(ProductLogo, { id: mark, size, animated: false });
330
+ function ProductLogo({ id, ...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 });
330
335
  }
331
336
 
332
337
  // src/sites/sites.ts
@@ -349,9 +354,6 @@ function siteById(id) {
349
354
  if (!found) throw new Error(`Unknown Krizaka site "${id}".`);
350
355
  return found;
351
356
  }
352
- function sitesByGroup() {
353
- return siteGroups.map((group) => ({ group, sites: sites.filter((s) => s.group === group) })).filter((g) => g.sites.length > 0);
354
- }
355
357
  var companyLinks = [
356
358
  { id: "story", url: { en: "https://www.krizaka.com/story", fr: "https://www.krizaka.com/fr/story" } },
357
359
  { id: "blog", url: { en: "https://blog.krizaka.com", fr: "https://blog.krizaka.com" } },
@@ -404,42 +406,58 @@ var familyLabels = {
404
406
  }
405
407
  };
406
408
 
409
+ // src/sites/family-groups.ts
410
+ var ORG_ID = { motion: "lab" };
411
+ function familyGroups(org) {
412
+ 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 }));
413
+ return siteGroups.map((group) => ({ group, entries: entries.filter((e) => e.group === group) })).filter((g) => g.entries.length > 0);
414
+ }
415
+ var orgIdOf = (id) => ORG_ID[id] ?? id;
416
+
407
417
  // src/site-footer/site-footer.tsx
408
418
  import { Fragment, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
409
419
  var siteFooter = tv({
410
420
  slots: {
411
421
  root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
412
- inner: "mx-auto grid w-full max-w-[calc(var(--kz-page-max,72rem)_+_2*var(--kz-page-gutter,clamp(16px,3.2vw,32px)))] grid-cols-[minmax(0,1fr)] gap-10 px-[var(--kz-page-gutter,clamp(16px,3.2vw,32px))] py-12",
413
- band: "grid grid-cols-[minmax(0,1fr)] gap-8 lg:grid-flow-col lg:auto-cols-[minmax(0,1fr)]",
414
- own: "grid grid-cols-[repeat(auto-fit,minmax(9rem,1fr))] gap-8",
415
- family: "grid grid-cols-2 gap-8 sm:grid-cols-3",
416
- column: "grid min-w-0 content-start gap-3",
417
- title: "text-[11px] font-semibold text-fg-secondary",
418
- list: "grid min-w-0 gap-2",
419
- link: "inline-flex min-h-6 min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5 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",
420
- mark: "flex h-4 w-4 shrink-0 items-center justify-center text-fg",
421
- tag: "rounded-sm bg-surface-3 px-1.5 py-px text-[10px] font-semibold text-fg-secondary",
422
- bottom: "flex flex-wrap items-center gap-x-5 gap-y-3 text-xs text-fg-secondary",
422
+ inner: "mx-auto grid w-full max-w-[calc(var(--kz-page-max,72rem)_+_2*var(--kz-page-gutter,clamp(16px,3.2vw,32px)))] grid-cols-[minmax(0,1fr)] gap-3 px-[var(--kz-page-gutter,clamp(16px,3.2vw,32px))] py-6",
423
+ row: "flex min-w-0 flex-wrap items-baseline gap-x-6 gap-y-2",
424
+ family: "grid min-w-0 grid-cols-[minmax(0,1fr)] gap-1 lg:flex lg:flex-wrap lg:items-baseline lg:gap-x-6 lg:gap-y-2",
425
+ group: "group/fold min-w-0 lg:[&::details-content]:[content-visibility:visible] lg:[&::details-content]:contents lg:[&>summary]:pointer-events-none lg:inline-flex lg:items-baseline lg:gap-2",
426
+ summary: "flex min-h-11 cursor-pointer list-none items-center justify-between rounded-md text-xs font-semibold text-fg-secondary [&::-webkit-details-marker]:hidden focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring lg:inline lg:min-h-0 lg:cursor-default",
427
+ chevron: "size-4 shrink-0 transition-transform group-open/fold:rotate-180 motion-reduce:transition-none lg:hidden",
428
+ column: "inline-flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1",
429
+ title: "text-xs font-semibold text-fg-secondary",
430
+ list: "flex min-w-0 flex-wrap items-baseline gap-x-3 gap-y-1 pb-2 lg:pb-0",
431
+ 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",
432
+ bottom: "flex flex-wrap items-center gap-x-4 gap-y-2 text-xs text-fg-secondary",
423
433
  signature: "inline-flex items-center gap-2 rounded-md font-medium text-fg no-underline hover:text-fg-accent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
424
434
  version: "rounded-sm border border-border-subtle bg-surface-2 px-2 py-0.5 font-mono text-[11px] text-fg-secondary",
425
- legal: "flex flex-wrap items-center gap-x-4 gap-y-2 sm:ml-auto"
435
+ legal: "flex flex-wrap items-center gap-x-4 gap-y-2",
436
+ controls: "flex flex-wrap items-center gap-2 sm:ml-auto"
426
437
  },
427
438
  variants: {
428
- // `site`: the full footer. `docs`: no site block, the columns in one row, on the documentation's width. `app`: one
429
- // slim line inside a signed-in product — signature, version, legal links.
439
+ // `site`: the three lines. `docs`: the same on the documentation's width. `app`: line 3 only, inside a signed-in product.
430
440
  variant: {
431
441
  site: {},
432
442
  docs: {
433
- inner: "max-w-[calc(var(--kz-page-max-docs,88rem)_+_2*var(--kz-page-gutter,clamp(16px,3.2vw,32px)))] gap-6 py-8",
434
- own: "sm:grid-cols-4"
443
+ inner: "max-w-[calc(var(--kz-page-max-docs,88rem)_+_2*var(--kz-page-gutter,clamp(16px,3.2vw,32px)))]"
435
444
  },
436
445
  app: {
437
446
  root: "bg-transparent",
438
- inner: "gap-0 py-3"
447
+ inner: "py-3"
448
+ }
449
+ },
450
+ // `product`: the products' plain Krizaka UI. `cahier`: the Cahier sites (www, blog, ui., java., ts., lab.) — the
451
+ // headings in the Cahier's hand; the structure is the same.
452
+ tone: {
453
+ product: {},
454
+ cahier: {
455
+ title: "font-[family-name:var(--kz-font-display,inherit)] italic",
456
+ summary: "font-[family-name:var(--kz-font-display,inherit)] italic"
439
457
  }
440
458
  }
441
459
  },
442
- defaultVariants: { variant: "site" }
460
+ defaultVariants: { variant: "site", tone: "product" }
443
461
  });
444
462
  var bare = (p) => p.replace(/^\/(en|fr)(?=\/|$)/, "").replace(/\/+$/, "") || "/";
445
463
  function isThisPage(href, siteUrl, path) {
@@ -455,6 +473,7 @@ function backToTop(event) {
455
473
  event.preventDefault();
456
474
  window.scrollTo({ top: 0, behavior: "auto" });
457
475
  }
476
+ var ToneContext = React.createContext("product");
458
477
  function SiteFooter({
459
478
  current,
460
479
  labels = familyLabels.en,
@@ -463,66 +482,72 @@ function SiteFooter({
463
482
  env,
464
483
  path,
465
484
  legal: legalProp,
485
+ controls,
466
486
  org,
467
487
  family: familyProp,
468
488
  products,
469
489
  variant = "site",
490
+ tone = "product",
470
491
  className,
471
492
  ...props
472
493
  }) {
473
494
  const id = React.useId();
474
- const s = siteFooter({ variant });
475
- const family = variant === "site" && (familyProp ?? current === "krizaka");
495
+ const s = siteFooter({ variant, tone });
476
496
  const slim = variant === "app";
497
+ const family = !slim && (familyProp ?? current === "krizaka");
477
498
  const site2 = siteById(current);
478
499
  const krizaka = siteById("krizaka");
500
+ const currentId = orgIdOf(current);
479
501
  const tag = [env, version && `v${version.replace(/^v/, "")}`].filter(Boolean).join(" \xB7 ");
480
- const own = React.Children.toArray(children).length > 0;
502
+ const own = !slim && React.Children.toArray(children).length > 0;
481
503
  const lang = labels.lang ?? "en";
482
504
  const company = labels.company ?? familyLabels.en.company;
483
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)) }));
484
506
  const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
485
- const groups = sitesByGroup();
507
+ const productIds = products?.map(orgIdOf);
508
+ const groups = familyGroups(org);
486
509
  const columns = [
487
- ...groups.filter((g) => g.group === "products").map((g) => products ? { ...g, sites: g.sites.filter((x) => products.includes(x.id) || x.id === current) } : g),
488
- { group: "open-source", sites: groups.filter((g) => g.group === "open-source" || g.group === "github").flatMap((g) => g.sites) }
510
+ ...groups.filter((g) => g.group === "products").map((g) => ({ ...g, entries: productIds ? g.entries.filter((e) => productIds.includes(e.id) || e.id === currentId) : g.entries })),
511
+ { group: "open-source", entries: groups.filter((g) => g.group === "open-source" || g.group === "github").flatMap((g) => g.entries) }
489
512
  ];
490
- return /* @__PURE__ */ jsx8("footer", { className: s.root({ className }), ...props, children: /* @__PURE__ */ jsxs6("div", { className: s.inner(), children: [
491
- !slim && (own || family) && /* @__PURE__ */ jsxs6("div", { className: s.band(), children: [
492
- own && /* @__PURE__ */ jsx8("div", { className: s.own(), children }),
493
- family && /* @__PURE__ */ jsxs6("nav", { "aria-label": labels.family, className: s.family(), children: [
494
- columns.map(({ group, sites: sites2 }) => /* @__PURE__ */ jsxs6("div", { className: s.column(), children: [
495
- /* @__PURE__ */ jsx8("p", { id: `${id}-${group}`, className: s.title(), children: labels.groups[group] }),
496
- /* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-${group}`, className: s.list(), children: sites2.map((item) => /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsxs6("a", { href: item.url, "aria-current": item.id === current ? "true" : void 0, className: s.link(), children: [
497
- /* @__PURE__ */ jsx8("span", { className: s.mark(), children: /* @__PURE__ */ jsx8(FamilyMark, { mark: item.mark, size: 16 }) }),
498
- item.name,
499
- item.status !== "released" && /* @__PURE__ */ jsx8("span", { className: s.tag(), children: labels.status[item.status] }),
500
- item.id === current && /* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
501
- "(",
502
- labels.current,
503
- ")"
504
- ] })
505
- ] }) }, item.id)) })
506
- ] }, group)),
507
- /* @__PURE__ */ jsxs6("div", { className: s.column(), children: [
508
- /* @__PURE__ */ jsx8("p", { id: `${id}-krizaka`, className: s.title(), children: labels.groups.krizaka }),
509
- /* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-krizaka`, className: s.list(), children: companyLinks.map((l) => /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsx8(
510
- "a",
511
- {
512
- href: l.url[lang],
513
- "aria-current": here(l.url[lang]) ? "page" : void 0,
514
- onClick: here(l.url[lang]) ? backToTop : void 0,
515
- className: s.link(),
516
- children: company[l.id]
517
- }
518
- ) }, l.id)) })
519
- ] })
520
- ] })
521
- ] }),
513
+ const companyEntries = companyLinks.map((l) => ({ id: l.id, name: company[l.id], url: l.url[lang] }));
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: [
517
+ ...columns.map((c) => ({ key: c.group, title: labels.groups[c.group], entries: c.entries })),
518
+ { key: "krizaka", title: labels.groups.krizaka, entries: companyEntries }
519
+ ].filter((c) => c.entries.length > 0).map((c) => /* @__PURE__ */ jsxs6("details", { className: s.group(), children: [
520
+ /* @__PURE__ */ jsxs6("summary", { id: `${id}-${c.key}`, className: s.summary(), children: [
521
+ c.title,
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" }) })
523
+ ] }),
524
+ /* @__PURE__ */ jsx8("ul", { "aria-labelledby": `${id}-${c.key}`, className: s.list(), children: c.entries.map((e) => {
525
+ const isCompany = c.key === "krizaka";
526
+ const atHome = isCompany && here(e.url);
527
+ const isCurrent = !isCompany && e.id === currentId;
528
+ return /* @__PURE__ */ jsx8("li", { children: /* @__PURE__ */ jsxs6(
529
+ "a",
530
+ {
531
+ href: e.url,
532
+ "aria-current": atHome ? "page" : isCurrent ? "true" : void 0,
533
+ onClick: atHome ? backToTop : void 0,
534
+ className: s.link(),
535
+ children: [
536
+ e.name,
537
+ isCurrent && /* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
538
+ " (",
539
+ labels.current,
540
+ ")"
541
+ ] })
542
+ ]
543
+ }
544
+ ) }, e.id);
545
+ }) })
546
+ ] }, c.key)) }),
522
547
  /* @__PURE__ */ jsxs6("div", { className: s.bottom(), children: [
523
548
  /* @__PURE__ */ jsxs6("a", { href: krizaka.url, className: s.signature(), children: [
524
- /* @__PURE__ */ jsx8(KrizakaLogo, { size: 18, animated: false }),
525
- org ? org.footer.line[lang] : labels.signature[site2.kind]
549
+ /* @__PURE__ */ jsx8(ProductLogo, { id: "krizaka", size: 18, animated: false }),
550
+ org ? org.footer.line[lang] : `${labels.signature[site2.kind]} \xB7 ${labels.place}`
526
551
  ] }),
527
552
  tag && /* @__PURE__ */ jsxs6("span", { className: s.version(), children: [
528
553
  /* @__PURE__ */ jsxs6("span", { className: "sr-only", children: [
@@ -531,18 +556,19 @@ function SiteFooter({
531
556
  ] }),
532
557
  tag
533
558
  ] }),
534
- !slim && !org && /* @__PURE__ */ jsx8("span", { children: labels.place }),
535
- legal && /* @__PURE__ */ jsx8("div", { className: s.legal(), children: legal })
559
+ legal && /* @__PURE__ */ jsx8("div", { className: s.legal(), children: legal }),
560
+ controls && /* @__PURE__ */ jsx8("div", { className: s.controls(), children: controls })
536
561
  ] })
537
- ] }) });
562
+ ] }) }) });
538
563
  }
539
564
  function SiteFooterColumn({ title, children, className, ...props }) {
540
565
  const id = React.useId();
566
+ const tone = React.useContext(ToneContext);
541
567
  if (React.Children.toArray(children).length === 0) return null;
542
- const s = siteFooter();
568
+ const s = siteFooter({ tone });
543
569
  return /* @__PURE__ */ jsxs6("div", { className: s.column({ className }), ...props, children: [
544
570
  /* @__PURE__ */ jsx8("p", { id, className: s.title(), children: title }),
545
- /* @__PURE__ */ jsx8("ul", { "aria-labelledby": id, className: s.list(), children: React.Children.toArray(children).map((child, i) => /* @__PURE__ */ jsx8("li", { children: child }, i)) })
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)) })
546
572
  ] });
547
573
  }
548
574
  function SiteFooterLink({ active, asChild, className, ...props }) {