@krizaka/ui 3.73.0 → 3.75.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 (369) hide show
  1. package/README.md +4 -10
  2. package/dist/{RotatingWord-COSabR2c.d.ts → RotatingWord-D3tpDLE4.d.ts} +1 -1
  3. package/dist/account-menu.d.ts +1 -1
  4. package/dist/account-menu.js +1 -1
  5. package/dist/account-settings.d.ts +1 -1
  6. package/dist/account-settings.js +1 -1
  7. package/dist/app-frame.d.ts +2 -5
  8. package/dist/avatar/defaults.d.ts +2 -2
  9. package/dist/avatar/defaults.js +1 -5
  10. package/dist/avatar/defaults.js.map +1 -1
  11. package/dist/{avatar-B_na7r1U.d.ts → avatar-CNV6ld8l.d.ts} +2 -2
  12. package/dist/avatar.d.ts +2 -2
  13. package/dist/avatar.js +1 -5
  14. package/dist/avatar.js.map +1 -1
  15. package/dist/blocks.css +4 -4
  16. package/dist/chat.js +1 -1
  17. package/dist/{chunk-5MPPIGCB.js → chunk-E46AEUPH.js} +1 -5
  18. package/dist/chunk-E46AEUPH.js.map +1 -0
  19. package/dist/{chunk-TISDOZH3.js → chunk-IOTY5HYG.js} +1 -5
  20. package/dist/chunk-IOTY5HYG.js.map +1 -0
  21. package/dist/chunk-PGPNYYE2.js +286 -0
  22. package/dist/chunk-PGPNYYE2.js.map +1 -0
  23. package/dist/{chunk-GRVIZTT2.js → chunk-RI3AA2E3.js} +3 -3
  24. package/dist/{chunk-Y5YBTHVD.js → chunk-SG3QJJXE.js} +6 -12
  25. package/dist/chunk-SG3QJJXE.js.map +1 -0
  26. package/dist/{chunk-4JO5GSSD.js → chunk-VA4NPCUQ.js} +2 -2
  27. package/dist/chunk-VA4NPCUQ.js.map +1 -0
  28. package/dist/{chunk-E4FMPPDL.js → chunk-WC3SO4CE.js} +2 -2
  29. package/dist/{chunk-T5NZSKWT.js → chunk-YQWYGQTV.js} +38 -41
  30. package/dist/chunk-YQWYGQTV.js.map +1 -0
  31. package/dist/{chunk-M3GEYLMR.js → chunk-ZPOVOEO3.js} +1 -2
  32. package/dist/collection-switcher.d.ts +1 -1
  33. package/dist/data-table.js +3 -3
  34. package/dist/{default-avatar-BL0nJFti.d.ts → default-avatar-Bh4atFDo.d.ts} +2 -2
  35. package/dist/elephant.d.ts +2 -2
  36. package/dist/elephant.js +2 -3
  37. package/dist/elephant.js.map +1 -1
  38. package/dist/engine-flow.js +29 -21
  39. package/dist/engine-flow.js.map +1 -1
  40. package/dist/entity-header.d.ts +1 -1
  41. package/dist/filter-bar.d.ts +9 -1
  42. package/dist/filter-bar.js +1 -1
  43. package/dist/gallery-page.js +3 -3
  44. package/dist/genui.js +101 -35
  45. package/dist/genui.js.map +1 -1
  46. package/dist/index.d.ts +7 -51
  47. package/dist/index.js +2 -12
  48. package/dist/index.js.map +1 -1
  49. package/dist/{lightbox-D5NAHFEA.js → lightbox-Q45BZ3HW.js} +3 -3
  50. package/dist/map.js +0 -120
  51. package/dist/map.js.map +1 -1
  52. package/dist/match-dialog.js +3 -3
  53. package/dist/motion.css +3 -120
  54. package/dist/motion.d.ts +1 -1
  55. package/dist/motion.js +1 -1
  56. package/dist/native/list.js +1 -1
  57. package/dist/native/list.js.map +1 -1
  58. package/dist/native/map.js +0 -120
  59. package/dist/native/map.js.map +1 -1
  60. package/dist/native.d.ts +7 -111
  61. package/dist/native.js +988 -1436
  62. package/dist/native.js.map +1 -1
  63. package/dist/nav-bar.d.ts +1 -1
  64. package/dist/nav-bar.js +2 -2
  65. package/dist/product-page.js +3 -3
  66. package/dist/rail-nav.d.ts +2 -5
  67. package/dist/shop-gallery.js +1 -1
  68. package/dist/site-cahier.d.ts +3 -11
  69. package/dist/site-cahier.js +126 -367
  70. package/dist/site-cahier.js.map +1 -1
  71. package/dist/site-footer.d.ts +1 -1
  72. package/dist/site-footer.js +2 -2
  73. package/dist/{sites-CEnywB89.d.ts → sites-CVNSirrg.d.ts} +3 -11
  74. package/dist/sites.d.ts +7 -15
  75. package/dist/sites.js +4 -10
  76. package/dist/sites.js.map +1 -1
  77. package/dist/tag-selector.js +28 -21
  78. package/dist/tag-selector.js.map +1 -1
  79. package/dist/vertical-video.js +2 -2
  80. package/dist/waveform.js.map +1 -1
  81. package/package.json +5 -109
  82. package/registry/account-menu.json +1 -1
  83. package/registry/account-settings.json +1 -1
  84. package/registry/achievement.json +1 -1
  85. package/registry/action-bar.json +1 -1
  86. package/registry/activity-feed.json +1 -1
  87. package/registry/agenda.json +1 -1
  88. package/registry/alert.json +1 -1
  89. package/registry/analysis-report.json +1 -1
  90. package/registry/anatomy-plate.json +1 -1
  91. package/registry/app-frame.json +6 -38
  92. package/registry/app-header.json +1 -1
  93. package/registry/app-shell.json +1 -1
  94. package/registry/argument-card.json +1 -1
  95. package/registry/auth-layout.json +1 -1
  96. package/registry/avatar.json +2 -2
  97. package/registry/badge.json +1 -1
  98. package/registry/bird-plate.json +1 -1
  99. package/registry/button.json +1 -1
  100. package/registry/captcha.json +1 -1
  101. package/registry/card-grid.json +1 -1
  102. package/registry/card.json +1 -1
  103. package/registry/catalogue-page.json +1 -1
  104. package/registry/changelog-page.json +1 -1
  105. package/registry/chapter.json +1 -1
  106. package/registry/chat.json +3 -3
  107. package/registry/checkbox.json +1 -1
  108. package/registry/chip-link.json +1 -1
  109. package/registry/chip-row.json +1 -1
  110. package/registry/chip.json +1 -1
  111. package/registry/choice-grid.json +1 -1
  112. package/registry/code-block.json +1 -1
  113. package/registry/collection-switcher.json +1 -1
  114. package/registry/combobox.json +1 -1
  115. package/registry/command.json +1 -1
  116. package/registry/comparison-table.json +1 -1
  117. package/registry/component-page.json +1 -1
  118. package/registry/confirm-button.json +1 -1
  119. package/registry/contact-page.json +1 -1
  120. package/registry/continue-prompt.json +1 -1
  121. package/registry/copy-button.json +1 -1
  122. package/registry/countdown.json +1 -1
  123. package/registry/cover-hero.json +1 -1
  124. package/registry/cta-panel.json +1 -1
  125. package/registry/dashboard-layout.json +1 -1
  126. package/registry/data-table.json +1 -1
  127. package/registry/date-picker.json +1 -1
  128. package/registry/decision-list.json +1 -1
  129. package/registry/description-list.json +1 -1
  130. package/registry/desktop-window.json +1 -1
  131. package/registry/detail-layout.json +1 -1
  132. package/registry/dialog.json +1 -1
  133. package/registry/docs-article-page.json +1 -1
  134. package/registry/docs-hub-page.json +1 -1
  135. package/registry/docs-layout.json +1 -1
  136. package/registry/docs-nav.json +1 -1
  137. package/registry/document-viewer.json +1 -1
  138. package/registry/doodle.json +1 -1
  139. package/registry/drop-overlay.json +1 -1
  140. package/registry/dropdown-menu.json +1 -1
  141. package/registry/elephant.json +3 -5
  142. package/registry/embed-facade.json +1 -1
  143. package/registry/empty-state.json +1 -1
  144. package/registry/engine-flow.json +3 -4
  145. package/registry/entity-header.json +1 -1
  146. package/registry/environment-notice.json +1 -1
  147. package/registry/error-page.json +1 -1
  148. package/registry/field.json +1 -1
  149. package/registry/file-upload.json +1 -1
  150. package/registry/filter-bar.json +2 -2
  151. package/registry/flock.json +1 -1
  152. package/registry/footnote.json +1 -1
  153. package/registry/force-update-screen.json +1 -1
  154. package/registry/form.json +1 -1
  155. package/registry/gallery-page.json +1 -1
  156. package/registry/genui.json +1 -1
  157. package/registry/glossary-term.json +1 -1
  158. package/registry/glossary.json +1 -1
  159. package/registry/glow-card.json +1 -1
  160. package/registry/goal-gauge.json +1 -1
  161. package/registry/grade-stamp.json +1 -1
  162. package/registry/image-cropper.json +1 -1
  163. package/registry/index.json +11 -246
  164. package/registry/kanban.json +1 -1
  165. package/registry/kbd.json +1 -1
  166. package/registry/kind-config-editor.json +1 -1
  167. package/registry/kpi-explained.json +1 -1
  168. package/registry/landing-page.json +1 -1
  169. package/registry/landscape.json +1 -1
  170. package/registry/language-switch.json +1 -1
  171. package/registry/legal-page.json +1 -1
  172. package/registry/link-card.json +1 -1
  173. package/registry/list.json +1 -1
  174. package/registry/loader.json +1 -1
  175. package/registry/longform-page.json +1 -1
  176. package/registry/maintenance-screen.json +1 -1
  177. package/registry/map.json +2 -2
  178. package/registry/margin-layout.json +1 -1
  179. package/registry/markdown.json +1 -1
  180. package/registry/marketing-layout.json +1 -1
  181. package/registry/mascot-quote.json +1 -1
  182. package/registry/mascot-state.json +1 -1
  183. package/registry/mascots.json +1 -1
  184. package/registry/match-dialog.json +3 -3
  185. package/registry/media-capture.json +1 -1
  186. package/registry/media-gallery.json +3 -14
  187. package/registry/meter.json +1 -1
  188. package/registry/money-input.json +1 -1
  189. package/registry/nav-bar.json +6 -38
  190. package/registry/next-actions.json +1 -1
  191. package/registry/notification-preferences.json +1 -1
  192. package/registry/number-ticker.json +1 -1
  193. package/registry/opening-hours.json +3 -4
  194. package/registry/page-header.json +1 -1
  195. package/registry/page-hero.json +1 -1
  196. package/registry/page-index.json +1 -1
  197. package/registry/page.json +1 -1
  198. package/registry/pagination.json +1 -1
  199. package/registry/pointer-light.json +1 -1
  200. package/registry/popover.json +1 -1
  201. package/registry/price-catalogue-editor.json +1 -1
  202. package/registry/pricing-page.json +1 -1
  203. package/registry/product-page.json +2 -6
  204. package/registry/profile-card.json +1 -1
  205. package/registry/progress.json +1 -1
  206. package/registry/promise-card.json +1 -1
  207. package/registry/promo-code-field.json +1 -1
  208. package/registry/proposal.json +1 -1
  209. package/registry/qr-code.json +1 -1
  210. package/registry/quota-meter.json +1 -1
  211. package/registry/radio-group.json +1 -1
  212. package/registry/rail-nav.json +6 -38
  213. package/registry/recipes.json +1 -1
  214. package/registry/retro-tv.json +2 -3
  215. package/registry/reviews.json +1 -1
  216. package/registry/router.json +1 -1
  217. package/registry/schema-form.json +1 -1
  218. package/registry/scroll-stage.json +1 -1
  219. package/registry/search-field.json +1 -1
  220. package/registry/section-backdrop.json +1 -1
  221. package/registry/separator.json +1 -1
  222. package/registry/service-card.json +1 -1
  223. package/registry/settings-layout.json +1 -1
  224. package/registry/shop-composer.json +1 -1
  225. package/registry/shop-gallery.json +3 -8
  226. package/registry/shop.json +2 -2
  227. package/registry/showcase.json +2 -7
  228. package/registry/signature.json +1 -1
  229. package/registry/site-cahier.json +1 -1
  230. package/registry/site-footer.json +6 -38
  231. package/registry/sites.json +3 -3
  232. package/registry/skeleton.json +1 -1
  233. package/registry/skip-link.json +1 -1
  234. package/registry/slider.json +1 -1
  235. package/registry/slot-picker.json +1 -1
  236. package/registry/slot.json +1 -1
  237. package/registry/specimen-tag.json +1 -1
  238. package/registry/speed-lines.json +1 -1
  239. package/registry/spinner.json +1 -1
  240. package/registry/split-view.json +1 -1
  241. package/registry/stage-banner.json +1 -1
  242. package/registry/stat.json +1 -1
  243. package/registry/status-chip.json +1 -1
  244. package/registry/status-page.json +1 -1
  245. package/registry/step-progress.json +1 -1
  246. package/registry/step-showcase.json +1 -1
  247. package/registry/stepper.json +1 -1
  248. package/registry/sticky-action.json +1 -1
  249. package/registry/stuck.json +1 -1
  250. package/registry/swipe-deck.json +4 -5
  251. package/registry/switch.json +1 -1
  252. package/registry/tabs.json +1 -1
  253. package/registry/tag-input.json +1 -1
  254. package/registry/tag-selector.json +2 -2
  255. package/registry/taped-photo.json +1 -1
  256. package/registry/terminal-replay.json +1 -1
  257. package/registry/text-style.json +1 -1
  258. package/registry/theme.json +1 -1
  259. package/registry/toast.json +1 -1
  260. package/registry/toc.json +1 -1
  261. package/registry/tooltip.json +1 -1
  262. package/registry/tree-view.json +1 -1
  263. package/registry/update-prompt.json +1 -1
  264. package/registry/upload-queue.json +1 -1
  265. package/registry/usage.json +1 -1
  266. package/registry/verified-badge.json +1 -1
  267. package/registry/versus-card.json +1 -1
  268. package/registry/vertical-video.json +2 -6
  269. package/registry/video-player.json +2 -7
  270. package/registry/video-trimmer.json +3 -4
  271. package/registry/virtual.json +1 -1
  272. package/registry/wall.json +3 -9
  273. package/registry/waveform.json +4 -9
  274. package/dist/audio-player.d.ts +0 -115
  275. package/dist/audio-player.js +0 -211
  276. package/dist/audio-player.js.map +0 -1
  277. package/dist/chunk-4JO5GSSD.js.map +0 -1
  278. package/dist/chunk-5MPPIGCB.js.map +0 -1
  279. package/dist/chunk-B2HS5EAH.js +0 -527
  280. package/dist/chunk-B2HS5EAH.js.map +0 -1
  281. package/dist/chunk-T5NZSKWT.js.map +0 -1
  282. package/dist/chunk-TISDOZH3.js.map +0 -1
  283. package/dist/chunk-Y5YBTHVD.js.map +0 -1
  284. package/dist/chunk-YKOLME7R.js +0 -126
  285. package/dist/chunk-YKOLME7R.js.map +0 -1
  286. package/dist/how-it-works-page.d.ts +0 -49
  287. package/dist/how-it-works-page.js +0 -28
  288. package/dist/how-it-works-page.js.map +0 -1
  289. package/dist/iso.d.ts +0 -401
  290. package/dist/iso.js +0 -363
  291. package/dist/iso.js.map +0 -1
  292. package/dist/marquee.d.ts +0 -34
  293. package/dist/marquee.js +0 -52
  294. package/dist/marquee.js.map +0 -1
  295. package/dist/media-grid.d.ts +0 -246
  296. package/dist/media-grid.js +0 -468
  297. package/dist/media-grid.js.map +0 -1
  298. package/dist/meta-row.d.ts +0 -55
  299. package/dist/meta-row.js +0 -35
  300. package/dist/meta-row.js.map +0 -1
  301. package/dist/photo-grid.d.ts +0 -123
  302. package/dist/photo-grid.js +0 -94
  303. package/dist/photo-grid.js.map +0 -1
  304. package/registry/audio-player.json +0 -300
  305. package/registry/examples/audio-player/podcast.d.ts +0 -4
  306. package/registry/examples/audio-player/podcast.js +0 -22
  307. package/registry/examples/audio-player/podcast.tsx +0 -19
  308. package/registry/examples/audio-player/voice-note.d.ts +0 -4
  309. package/registry/examples/audio-player/voice-note.js +0 -12
  310. package/registry/examples/audio-player/voice-note.tsx +0 -12
  311. package/registry/examples/how-it-works-page/orazaka.d.ts +0 -4
  312. package/registry/examples/how-it-works-page/orazaka.js +0 -30
  313. package/registry/examples/how-it-works-page/orazaka.tsx +0 -26
  314. package/registry/examples/iso/compose.d.ts +0 -4
  315. package/registry/examples/iso/compose.js +0 -22
  316. package/registry/examples/iso/compose.tsx +0 -19
  317. package/registry/examples/iso/creator-hero.d.ts +0 -4
  318. package/registry/examples/iso/creator-hero.js +0 -29
  319. package/registry/examples/iso/creator-hero.tsx +0 -23
  320. package/registry/examples/iso/orazaka-hero.d.ts +0 -4
  321. package/registry/examples/iso/orazaka-hero.js +0 -26
  322. package/registry/examples/iso/orazaka-hero.tsx +0 -21
  323. package/registry/examples/iso/still.d.ts +0 -4
  324. package/registry/examples/iso/still.js +0 -21
  325. package/registry/examples/iso/still.tsx +0 -15
  326. package/registry/examples/marquee/cards.d.ts +0 -4
  327. package/registry/examples/marquee/cards.js +0 -23
  328. package/registry/examples/marquee/cards.tsx +0 -21
  329. package/registry/examples/marquee/logos.d.ts +0 -4
  330. package/registry/examples/marquee/logos.js +0 -12
  331. package/registry/examples/marquee/logos.tsx +0 -17
  332. package/registry/examples/media-grid/feed.d.ts +0 -4
  333. package/registry/examples/media-grid/feed.js +0 -32
  334. package/registry/examples/media-grid/feed.tsx +0 -31
  335. package/registry/examples/media-grid/loading.d.ts +0 -4
  336. package/registry/examples/media-grid/loading.js +0 -28
  337. package/registry/examples/media-grid/loading.tsx +0 -25
  338. package/registry/examples/media-grid/uniform.d.ts +0 -4
  339. package/registry/examples/media-grid/uniform.js +0 -29
  340. package/registry/examples/media-grid/uniform.tsx +0 -26
  341. package/registry/examples/meta-row/native/video.d.ts +0 -4
  342. package/registry/examples/meta-row/native/video.dark.png +0 -0
  343. package/registry/examples/meta-row/native/video.js +0 -11
  344. package/registry/examples/meta-row/native/video.light.png +0 -0
  345. package/registry/examples/meta-row/native/video.tsx +0 -5
  346. package/registry/examples/meta-row/status.d.ts +0 -4
  347. package/registry/examples/meta-row/status.js +0 -12
  348. package/registry/examples/meta-row/status.tsx +0 -7
  349. package/registry/examples/meta-row/video.d.ts +0 -4
  350. package/registry/examples/meta-row/video.js +0 -12
  351. package/registry/examples/meta-row/video.tsx +0 -7
  352. package/registry/examples/photo-grid/native/profile-photos.d.ts +0 -4
  353. package/registry/examples/photo-grid/native/profile-photos.dark.png +0 -0
  354. package/registry/examples/photo-grid/native/profile-photos.js +0 -27
  355. package/registry/examples/photo-grid/native/profile-photos.light.png +0 -0
  356. package/registry/examples/photo-grid/native/profile-photos.tsx +0 -24
  357. package/registry/examples/photo-grid/profile-photos.d.ts +0 -4
  358. package/registry/examples/photo-grid/profile-photos.js +0 -28
  359. package/registry/examples/photo-grid/profile-photos.tsx +0 -25
  360. package/registry/how-it-works-page.json +0 -258
  361. package/registry/iso.json +0 -1371
  362. package/registry/marquee.json +0 -241
  363. package/registry/media-grid.json +0 -1034
  364. package/registry/meta-row.json +0 -218
  365. package/registry/photo-grid.json +0 -316
  366. /package/dist/{chunk-GRVIZTT2.js.map → chunk-RI3AA2E3.js.map} +0 -0
  367. /package/dist/{chunk-E4FMPPDL.js.map → chunk-WC3SO4CE.js.map} +0 -0
  368. /package/dist/{chunk-M3GEYLMR.js.map → chunk-ZPOVOEO3.js.map} +0 -0
  369. /package/dist/{lightbox-D5NAHFEA.js.map → lightbox-Q45BZ3HW.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/avatar/default-avatar.ts","../src/avatar/avatar.tsx"],"sourcesContent":["// The default profile pictures of the Krizaka family: what a product shows when a person has no photo.\n// They are generated from this file (tools/export-brand.mjs renders them to SVG and WebP and uploads them to Bunny,\n// `people/defaults/v1/<brand>/…`), so the pictures and the URLs that name them cannot drift apart.\n\n/** A brand of the default avatars. */\nexport type DefaultAvatarBrand = \"krizaka\" | \"orazaka\" | \"yomizaka\" | \"akinaza\";\n/**\n * What the picture is of. `person`: a neutral silhouette. `plain`: the brand's gradient alone, ready for initials.\n * `folder`, `organisation` and `shop` are the pictures of a thing that is not a person (a folder or collection, a company, a shop):\n * a glyph on the gradient, never a silhouette. The central sets of these kinds are in the Krizaka org JSON (`defaults`, `@krizaka/org`).\n */\nexport type DefaultAvatarKind = \"person\" | \"plain\" | \"folder\" | \"organisation\" | \"shop\";\n/** The kinds of entity that have a set of default pictures of their own (`plain` is a style of `person`). */\nexport type DefaultAvatarEntityKind = \"person\" | \"folder\" | \"organisation\" | \"shop\";\nexport type DefaultAvatarSize = 256 | 512;\n\nexport const DEFAULT_AVATAR_BRANDS: readonly DefaultAvatarBrand[] = [\"krizaka\", \"orazaka\", \"yomizaka\", \"akinaza\"];\n/** The two styles of the legacy brand sets (`people/defaults/v1/<brand>`); the kinds of the central sets are `DEFAULT_AVATAR_ENTITY_KINDS`. */\nexport const DEFAULT_AVATAR_KINDS: readonly DefaultAvatarKind[] = [\"person\", \"plain\"];\nexport const DEFAULT_AVATAR_ENTITY_KINDS: readonly DefaultAvatarEntityKind[] = [\"person\", \"folder\", \"organisation\", \"shop\"];\nexport const DEFAULT_AVATAR_SIZES: readonly DefaultAvatarSize[] = [256, 512];\n/** How many tones each brand has: a person always gets the same one from their seed, so a list is not one colour. */\nexport const DEFAULT_AVATAR_TONES = 6;\n\n/** Where the set lives. `v1` is the set's version: a changed picture is a new version folder, never an overwrite. */\nexport const DEFAULT_AVATAR_BASE = \"https://krizaka-assets.b-cdn.net/people/defaults/v1\";\n\nexport interface DefaultAvatar {\n /** The brand of the product showing the avatar: its gradient, its hues. */\n brand: DefaultAvatarBrand;\n /** Any stable text or number of the person (their id): the same seed gives the same tone everywhere. */\n seed?: string | number;\n /** Force a tone, 1 to 6, instead of deriving it from `seed`. */\n tone?: number;\n /**\n * `person` (default): a silhouette. `plain`: the gradient alone. `folder`, `organisation`, `shop`: that thing's glyph, drawn here\n * (a data URL, no request) — a folder is never given a person.\n * @default \"person\"\n */\n kind?: DefaultAvatarKind;\n /**\n * The family's central set (`listDefaults(\"person\")` of `@krizaka/org`): when given with a `seed`, the avatar is the set's picture for that seed —\n * the same person has the same picture in every product — instead of the brand's silhouette. An empty set, or no seed, draws the silhouette.\n */\n set?: readonly DefaultAvatarPicture[];\n}\n\n/** The mark gradient of each brand (BRAND.md, `$extensions[\"com.krizaka\"].mark`) as [hue, saturation %, lightness %] and the hue spread of its tones. */\nconst BRANDS: Record<DefaultAvatarBrand, { from: [number, number, number]; to: [number, number, number]; spread: number }> = {\n krizaka: { from: [217, 92, 53], to: [217, 92, 68], spread: 14 },\n orazaka: { from: [26, 90.5, 37.1], to: [26, 92, 45], spread: 7 },\n yomizaka: { from: [232, 50, 55], to: [248, 50, 58], spread: 10 },\n akinaza: { from: [140, 48, 34], to: [22, 60, 46], spread: 10 },\n};\n\n/** White on top of a stop must stay visible: a stop is darkened until the contrast reaches this (WCAG 1.4.11, non-text). */\nconst MIN_CONTRAST = 3.2;\nconst OFFSETS = [0, -1, 1, -2, 2, 3] as const;\n\nfunction hslToHex([h, s, l]: [number, number, number]): string {\n const sat = s / 100;\n const light = l / 100;\n const k = (n: number) => (n + (((h % 360) + 360) % 360) / 30) % 12;\n const a = sat * Math.min(light, 1 - light);\n const channel = (n: number) => Math.round(255 * (light - a * Math.max(-1, Math.min(k(n) - 3, 9 - k(n), 1))));\n return `#${[0, 8, 4].map((n) => channel(n).toString(16).padStart(2, \"0\")).join(\"\")}`;\n}\n\nconst channelLuminance = (v: number) => (v <= 0.03928 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4);\nconst whiteContrast = (hex: string) => {\n const [r, g, b] = [1, 3, 5].map((i) => channelLuminance(Number.parseInt(hex.slice(i, i + 2), 16) / 255));\n return 1.05 / (0.2126 * r! + 0.7152 * g! + 0.0722 * b! + 0.05);\n};\n/** The stop, darkened one point of lightness at a time until white reads on it. */\nfunction readable([h, s, l]: [number, number, number]): string {\n let hex = hslToHex([h, s, l]);\n for (let light = l; whiteContrast(hex) < MIN_CONTRAST && light > 10; light -= 1) hex = hslToHex([h, s, light]);\n return hex;\n}\n\n/** The two stops (hex) of tone `tone` (1 to 6) of a brand. */\nexport function defaultAvatarTone(brand: DefaultAvatarBrand, tone: number): readonly [string, string] {\n const b = BRANDS[brand];\n const o = OFFSETS[(clampTone(tone) - 1) % OFFSETS.length] * b.spread;\n return [readable([b.from[0] + o, b.from[1], b.from[2]]), readable([b.to[0] + o, b.to[1], b.to[2]])];\n}\n\nconst clampTone = (tone: number) => Math.min(DEFAULT_AVATAR_TONES, Math.max(1, Math.round(tone)));\n\n/** 32-bit FNV-1a of a seed: the rule of the family's default pictures (`@krizaka/org`'s `seedHash` is the same function). */\nexport function defaultAvatarSeedHash(seed: string | number): number {\n let h = 0x811c9dc5;\n for (const ch of String(seed)) {\n h ^= ch.codePointAt(0)!;\n h = Math.imul(h, 0x01000193) >>> 0;\n }\n return h;\n}\n\n/** 1 to 6 from a seed (FNV-1a): stable across renders, devices and products. */\nexport function defaultAvatarToneOf(seed: string | number | undefined): number {\n if (seed === undefined) return 1;\n return (defaultAvatarSeedHash(seed) % DEFAULT_AVATAR_TONES) + 1;\n}\n\n/**\n * One picture of the family's central set, as `@krizaka/org` lists it (`listDefaults(\"person\")` items fit as they are): the sizes it is served in.\n * `disabled` pictures are never picked.\n */\nexport interface DefaultAvatarPicture {\n id: string;\n disabled?: boolean;\n urls: { webp: Readonly<Record<string, string>> };\n}\n\n/** The picture a seed gets from a set: `set[fnv1a(seed) mod n]` among the pictures not disabled, in the set's order — the same rule as `@krizaka/org`'s `defaultFor`. */\nexport function pickDefaultPicture<T extends DefaultAvatarPicture>(set: readonly T[], seed: string | number): T | undefined {\n const usable = set.filter((picture) => !picture.disabled);\n return usable[defaultAvatarSeedHash(seed) % usable.length];\n}\n\nconst resolveTone = (a: DefaultAvatar) => (a.tone === undefined ? defaultAvatarToneOf(a.seed) : clampTone(a.tone));\n\n/** The file name of a picture in the set: `person-3` + 256 → `person-3-256.webp`; `svg` has no size. */\nexport function defaultAvatarFile(kind: DefaultAvatarKind, tone: number, size: DefaultAvatarSize | \"svg\"): string {\n return size === \"svg\" ? `${kind}-${tone}.svg` : `${kind}-${tone}-${size}.webp`;\n}\n\n/** Linear on purpose: a `/\\/+$/` regex backtracks quadratically on a long run of slashes. */\nfunction trimTrailingSlashes(value: string): string {\n let end = value.length;\n while (end > 0 && value[end - 1] === \"/\") end--;\n return value.slice(0, end);\n}\n\n/**\n * The URL of a default avatar: `defaultAvatarUrl({ brand: \"orazaka\", seed: user.id })`.\n * @param size 256 for lists, 512 for a profile; `\"svg\"` for the vector.\n * @param base Another host or version of the set (a self-hosted copy); the default is the Krizaka CDN.\n */\nexport function defaultAvatarUrl(avatar: DefaultAvatar, { size = 256, base = DEFAULT_AVATAR_BASE }: { size?: DefaultAvatarSize | \"svg\"; base?: string } = {}): string {\n if (isGlyphKind(avatar.kind)) return defaultAvatarDataUrl(avatar);\n if (avatar.set && avatar.seed !== undefined) {\n // The size asked, as the set serves it (256 and 512; the vector has none, so it stays the brand's silhouette).\n const picked = pickDefaultPicture(avatar.set, avatar.seed)?.urls.webp[size];\n if (picked) return picked;\n }\n return `${trimTrailingSlashes(base)}/${avatar.brand}/${defaultAvatarFile(avatar.kind ?? \"person\", resolveTone(avatar), size)}`;\n}\n\nconst GLYPHS: Record<\"folder\" | \"organisation\" | \"shop\", (from: string) => string> = {\n folder: () => `<path d=\"M96 176a28 28 0 0 1 28-28h92l40 44h132a28 28 0 0 1 28 28v152a28 28 0 0 1-28 28H124a28 28 0 0 1-28-28z\" fill=\"#fff\" fill-opacity=\".92\"/>`,\n organisation: (from) =>\n `<rect x=\"136\" y=\"104\" width=\"240\" height=\"304\" rx=\"16\" fill=\"#fff\" fill-opacity=\".92\"/>${[160, 226, 292]\n .flatMap((y) => [168, 236, 304].map((x) => `<rect x=\"${x}\" y=\"${y}\" width=\"40\" height=\"40\" rx=\"6\" fill=\"${from}\"/>`))\n .join(\"\")}<rect x=\"232\" y=\"352\" width=\"48\" height=\"56\" rx=\"6\" fill=\"${from}\"/>`,\n shop: (from) =>\n `<path d=\"M112 132h288l24 84a56 56 0 0 1-112 0 56 56 0 0 1-112 0 56 56 0 0 1-112 0z\" fill=\"#fff\" fill-opacity=\".92\"/><rect x=\"136\" y=\"292\" width=\"240\" height=\"116\" rx=\"12\" fill=\"#fff\" fill-opacity=\".92\"/><rect x=\"226\" y=\"326\" width=\"60\" height=\"82\" rx=\"8\" fill=\"${from}\"/><rect x=\"156\" y=\"318\" width=\"48\" height=\"44\" rx=\"6\" fill=\"${from}\"/><rect x=\"308\" y=\"318\" width=\"48\" height=\"44\" rx=\"6\" fill=\"${from}\"/>`,\n};\n\ntype GlyphKind = keyof typeof GLYPHS;\nconst isGlyphKind = (kind: DefaultAvatarKind | undefined): kind is GlyphKind => kind === \"folder\" || kind === \"organisation\" || kind === \"shop\";\n\n/** The picture as a `data:` URL: nothing to fetch, so a folder, an organisation or a shop always has its picture (offline, in a test, before the CDN answers). */\nexport function defaultAvatarDataUrl(avatar: DefaultAvatar): string {\n return `data:image/svg+xml,${encodeURIComponent(defaultAvatarSvg(avatar))}`;\n}\n\n/** The SVG source of a default avatar, 512 × 512 and square (the Avatar clips it round). */\nexport function defaultAvatarSvg(avatar: DefaultAvatar): string {\n const [from, to] = defaultAvatarTone(avatar.brand, resolveTone(avatar));\n const kind = avatar.kind ?? \"person\";\n const person = isGlyphKind(kind)\n ? GLYPHS[kind](from)\n : kind === \"person\"\n ? `<circle cx=\"256\" cy=\"200\" r=\"86\" fill=\"#fff\" fill-opacity=\".92\"/><path d=\"M84 512c0-108 78-182 172-182s172 74 172 182z\" fill=\"#fff\" fill-opacity=\".92\"/>`\n : \"\";\n return `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" width=\"512\" height=\"512\"><defs><linearGradient id=\"g\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0\" stop-color=\"${from}\"/><stop offset=\"1\" stop-color=\"${to}\"/></linearGradient><radialGradient id=\"l\" cx=\".28\" cy=\".18\" r=\".85\"><stop offset=\"0\" stop-color=\"#fff\" stop-opacity=\".24\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></radialGradient></defs><rect width=\"512\" height=\"512\" fill=\"url(#g)\"/><rect width=\"512\" height=\"512\" fill=\"url(#l)\"/>${person}</svg>`;\n}\n","// Client: Radix tracks the image's loading state and shows the fallback until it has loaded (or when it fails).\nimport { Avatar as AvatarPrimitive } from \"radix-ui\";\nimport * as React from \"react\";\nimport { tv, type VariantProps } from \"tailwind-variants\";\n\nimport { type DefaultAvatar, defaultAvatarUrl } from \"./default-avatar\";\n\nconst avatar = tv({\n slots: {\n root: \"relative inline-flex shrink-0 overflow-hidden rounded-full bg-surface-3 align-middle\",\n image: \"h-full w-full object-cover\",\n fallback: \"flex h-full w-full items-center justify-center font-semibold uppercase text-fg-secondary\",\n group: \"flex items-center -space-x-2 [&>*]:ring-2 [&>*]:ring-surface-0\",\n },\n variants: {\n size: {\n xs: { root: \"h-5 w-5 text-[9px]\" },\n sm: { root: \"h-8 w-8 text-xs\" },\n md: { root: \"h-10 w-10 text-sm\" },\n lg: { root: \"h-14 w-14 text-base\" },\n xl: { root: \"h-20 w-20 text-lg\" },\n },\n },\n defaultVariants: { size: \"md\" },\n});\n\nexport type AvatarSize = NonNullable<VariantProps<typeof avatar>[\"size\"]>;\n\nexport type AvatarProps = Omit<React.ComponentProps<\"span\">, \"children\"> & {\n /** The image's URL; `null` or nothing shows the `fallback`. */\n src?: string | null;\n /** The image's text alternative (the person's name); empty when a visible name sits next to the avatar. */\n alt?: string;\n /** Shown while the image loads, when it fails or when there is none: initials, an icon. */\n fallback?: React.ReactNode;\n /** The picture to show instead when `src` is missing or fails to load (an image URL). The `fallback` still covers its own loading. */\n fallbackSrc?: string;\n /**\n * The Krizaka default picture when the person has no photo (or it fails): their brand's gradient and a silhouette,\n * one of six tones from `seed` — `defaultAvatar={{ brand: \"orazaka\", seed: user.id }}`. `fallbackSrc` wins over it.\n */\n defaultAvatar?: DefaultAvatar;\n /**\n * xs · sm · md · lg · xl.\n * @default \"md\"\n */\n size?: AvatarSize;\n};\n\nexport function AvatarRoot({ src, alt = \"\", fallback, fallbackSrc, defaultAvatar, size, className, ...props }: AvatarProps) {\n const s = avatar({ size });\n const [failed, setFailed] = React.useState<string | null>(null);\n // 512 px for the big sizes, 256 for the others: sharp on a 2x screen either way.\n const backup = fallbackSrc ?? (defaultAvatar ? defaultAvatarUrl(defaultAvatar, { size: size === \"xl\" || size === \"lg\" ? 512 : 256 }) : undefined);\n const shown = src && failed !== src ? src : backup;\n return (\n <AvatarPrimitive.Root data-size={size ?? \"md\"} className={s.root({ className })} {...props}>\n {shown && (\n <AvatarPrimitive.Image\n src={shown}\n alt={alt}\n className={s.image()}\n onLoadingStatusChange={(status) => {\n if (status === \"error\" && shown === src) setFailed(src);\n }}\n />\n )}\n <AvatarPrimitive.Fallback delayMs={shown ? 300 : 0} className={s.fallback()}>\n {fallback}\n </AvatarPrimitive.Fallback>\n </AvatarPrimitive.Root>\n );\n}\n\nexport type AvatarGroupProps = React.ComponentProps<\"div\"> & {\n /** How many avatars are shown; the rest becomes a `+n` avatar. */\n max?: number;\n /** The size of the `+n` avatar (match the avatars of the group). */\n size?: AvatarSize;\n};\n\n/** Overlapping avatars; past `max`, a `+n` avatar counts the rest. */\nexport function AvatarGroup({ max, size, className, children, ...props }: AvatarGroupProps) {\n const items = React.Children.toArray(children);\n const shown = max === undefined ? items : items.slice(0, max);\n const rest = items.length - shown.length;\n return (\n <div className={avatar().group({ className })} {...props}>\n {shown}\n {rest > 0 && <AvatarRoot size={size} fallback={`+${rest}`} />}\n </div>\n );\n}\n\n/** `Avatar` (an image with a fallback) and `Avatar.Group`. */\nexport const Avatar = Object.assign(AvatarRoot, { Group: AvatarGroup });\n"],"mappings":";AAsBO,IAAM,uBAAuB;AAG7B,IAAM,sBAAsB;AAuBnC,IAAM,SAAuH;AAAA,EAC3H,SAAS,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,GAAG,QAAQ,GAAG;AAAA,EAC9D,SAAS,EAAE,MAAM,CAAC,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,GAAG,QAAQ,EAAE;AAAA,EAC/D,UAAU,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,GAAG,QAAQ,GAAG;AAAA,E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CAAC,WAAW;AACjC,cAAI,WAAW,WAAW,UAAU,IAAK,WAAU,GAAG;AAAA,QACxD;AAAA;AAAA,IACF;AAAA,IAEF,oBAAC,gBAAgB,UAAhB,EAAyB,SAAS,QAAQ,MAAM,GAAG,WAAW,EAAE,SAAS,GACvE,oBACH;AAAA,KACF;AAEJ;AAUO,SAAS,YAAY,EAAE,KAAK,MAAM,WAAW,UAAU,GAAG,MAAM,GAAqB;AAC1F,QAAM,QAAc,eAAS,QAAQ,QAAQ;AAC7C,QAAM,QAAQ,QAAQ,SAAY,QAAQ,MAAM,MAAM,GAAG,GAAG;AAC5D,QAAM,OAAO,MAAM,SAAS,MAAM;AAClC,SACE,qBAAC,SAAI,WAAW,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,GAAI,GAAG,OAChD;AAAA;AAAA,IACA,OAAO,KAAK,oBAAC,cAAW,MAAY,UAAU,IAAI,IAAI,IAAI;AAAA,KAC7D;AAEJ;AAGO,IAAM,SAAS,OAAO,OAAO,YAAY,EAAE,OAAO,YAAY,CAAC;","names":["avatar"]}
@@ -0,0 +1,286 @@
1
+ "use client";
2
+
3
+ // src/marks/akinaza-geometry.ts
4
+ import { marks } from "@krizaka/tokens/native";
5
+ var forest = marks.akinaza[0][1];
6
+ var copper = marks.akinaza[marks.akinaza.length - 1][1];
7
+ var AKINAZA = {
8
+ viewBox: "0 0 400 400",
9
+ croppedViewBox: "80 80 240 240",
10
+ center: 200,
11
+ forest,
12
+ copper,
13
+ log: "M197 110 L290 203 A96 96 0 1 1 197 110 Z",
14
+ /** The fresh face of the cut: a copper band along the chord. */
15
+ cut: "M197 110 L290 203 A96 96 0 0 1 289.1 219.1 L180.9 110.9 A96 96 0 0 1 197 110 Z",
16
+ /** The year rings, in light, inside the band. */
17
+ rings: { cx: 194, cy: 206, r: [52, 28], width: 7, opacity: 0.42 },
18
+ heart: { cx: 194, cy: 206, r: 16, inner: 5.4 },
19
+ highlight: "#fff7ed",
20
+ gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.akinaza },
21
+ /** A coin: one node on the orbit, that turns with it. */
22
+ node: { r: 9, at: [200, 40] },
23
+ glow: { color: copper, opacity: 0.16 },
24
+ pulse: { color: copper, low: 0.3, high: 0.65 },
25
+ motion: { spin: 32, breath: 3.8 },
26
+ orbit: { r: 160, dash: "8 8", width: 1.5 },
27
+ ring: { r: 134, width: 1 }
28
+ };
29
+
30
+ // src/marks/shared.ts
31
+ import { useId } from "react";
32
+ var neutral = (token, percent) => `var(${token}, color-mix(in srgb, currentColor ${percent}%, transparent))`;
33
+ function useIds(prefix, keys) {
34
+ const uid = useId().replace(/[^a-zA-Z0-9_-]/g, "");
35
+ return Object.fromEntries(keys.map((k) => [k, `${prefix}-${k}-${uid}`]));
36
+ }
37
+ var a11y = (title) => title ? { role: "img", "aria-label": title } : { "aria-hidden": true };
38
+ var withAlpha = (hex, opacity) => `${hex}${Math.round(opacity * 255).toString(16).padStart(2, "0")}`;
39
+ var familyMotion = (prefix, { spin, breath, color, low, high }) => `
40
+ .${prefix}-orbit { transform-origin: 200px 200px; animation: ${prefix}-orbit ${spin}s linear infinite; }
41
+ .${prefix}-core { transform-box: fill-box; transform-origin: center; animation: ${prefix}-core ${breath}s ease-in-out infinite; }
42
+ @keyframes ${prefix}-orbit { to { transform: rotate(360deg); } }
43
+ @keyframes ${prefix}-core {
44
+ 0%, 100% { filter: drop-shadow(0 0 6px ${withAlpha(color, low)}); opacity: .92; }
45
+ 50% { filter: drop-shadow(0 0 16px ${withAlpha(color, high)}); opacity: 1; }
46
+ }
47
+ @media (prefers-reduced-motion: reduce) { .${prefix}-orbit, .${prefix}-core { animation: none; } }
48
+ `;
49
+
50
+ // src/marks/AkinazaLogo.tsx
51
+ import { jsx, jsxs } from "react/jsx-runtime";
52
+ var CSS = familyMotion("akm", { ...AKINAZA.motion, ...AKINAZA.pulse });
53
+ function AkinazaLogo({ size = 32, animated = true, title, className }) {
54
+ const id = useIds("akm", ["glow"]);
55
+ const m = (cls) => animated ? `akm-${cls}` : void 0;
56
+ return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: size < 48 ? AKINAZA.croppedViewBox : AKINAZA.viewBox, fill: "none", xmlns: "http://www.w3.org/2000/svg", className, ...a11y(title), children: [
57
+ /* @__PURE__ */ jsx("style", { children: CSS }),
58
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
59
+ /* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: AKINAZA.glow.color, stopOpacity: AKINAZA.glow.opacity }),
60
+ /* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: AKINAZA.glow.color, stopOpacity: "0" })
61
+ ] }) }),
62
+ size >= 48 ? /* @__PURE__ */ jsx("circle", { cx: AKINAZA.center, cy: AKINAZA.center, r: "190", fill: `url(#${id.glow})` }) : null,
63
+ /* @__PURE__ */ jsx("circle", { cx: AKINAZA.center, cy: AKINAZA.center, r: AKINAZA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: AKINAZA.ring.width, opacity: ".35" }),
64
+ /* @__PURE__ */ jsxs("g", { className: m("orbit"), children: [
65
+ /* @__PURE__ */ jsx("circle", { cx: AKINAZA.center, cy: AKINAZA.center, r: AKINAZA.orbit.r, stroke: neutral("--kz-border-strong", 40), strokeWidth: AKINAZA.orbit.width, strokeDasharray: AKINAZA.orbit.dash, opacity: ".6" }),
66
+ /* @__PURE__ */ jsx("circle", { cx: AKINAZA.node.at[0], cy: AKINAZA.node.at[1], r: AKINAZA.node.r, fill: AKINAZA.copper })
67
+ ] }),
68
+ /* @__PURE__ */ jsx("path", { d: AKINAZA.log, fill: AKINAZA.forest }),
69
+ /* @__PURE__ */ jsx("path", { d: AKINAZA.cut, fill: AKINAZA.copper }),
70
+ AKINAZA.rings.r.map((r) => /* @__PURE__ */ jsx("circle", { cx: AKINAZA.rings.cx, cy: AKINAZA.rings.cy, r, stroke: AKINAZA.highlight, strokeOpacity: AKINAZA.rings.opacity, strokeWidth: AKINAZA.rings.width }, r)),
71
+ /* @__PURE__ */ jsxs("g", { className: m("core"), children: [
72
+ /* @__PURE__ */ jsx("circle", { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.r, fill: AKINAZA.copper }),
73
+ /* @__PURE__ */ jsx("circle", { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.inner, fill: AKINAZA.highlight })
74
+ ] })
75
+ ] });
76
+ }
77
+
78
+ // src/marks/krizaka-geometry.ts
79
+ import { marks as marks2 } from "@krizaka/tokens/native";
80
+ var KRIZAKA = {
81
+ viewBox: "0 0 400 400",
82
+ croppedViewBox: "86 82 228 228",
83
+ offset: 20,
84
+ /** The shield: a pointy-top hexagon (r 92 around 180,180), open at its upper-right edge. */
85
+ shield: "M259.7,134 L259.7,226 L180,272 L100.3,226 L100.3,134 L180,88 L212,106.5",
86
+ stroke: 22,
87
+ ink: { x1: 70, y1: 290, x2: 290, y2: 70 },
88
+ blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks2.krizaka },
89
+ /** The vertex where the shield opens: a node (the head of the line). */
90
+ node: { cx: 259.7, cy: 134, r: 19, inner: 6 },
91
+ core: { cx: 180, cy: 180, r: 24, inner: 8 },
92
+ highlight: "#ddeaf4",
93
+ glow: { color: marks2.krizaka[0][1], opacity: 0.16 },
94
+ orbit: { r: 160, dash: "8 8", width: 1.5 },
95
+ ring: { r: 134, width: 1 }
96
+ };
97
+
98
+ // src/marks/KrizakaLogo.tsx
99
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
100
+ var CSS2 = `
101
+ .kzm-spin { transform-origin: 200px 200px; animation: kzm-spin 30s linear infinite; }
102
+ .kzm-pulse { transform-box: fill-box; transform-origin: center; animation: kzm-pulse 3.2s ease-in-out infinite; }
103
+ @keyframes kzm-spin { to { transform: rotate(360deg); } }
104
+ @keyframes kzm-pulse {
105
+ 0%, 100% { filter: drop-shadow(0 0 6px hsla(217, 92%, 53%, .25)); opacity: .9; }
106
+ 50% { filter: drop-shadow(0 0 14px hsla(217, 92%, 53%, .55)); opacity: 1; }
107
+ }
108
+ @media (prefers-reduced-motion: reduce) { .kzm-spin, .kzm-pulse { animation: none; } }
109
+ `;
110
+ function KrizakaLogo({ size = 32, animated = true, title, className }) {
111
+ const id = useIds("kzm", ["ink", "blue", "glow"]);
112
+ const m = (cls) => animated ? cls : void 0;
113
+ return /* @__PURE__ */ jsxs2("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: [
114
+ /* @__PURE__ */ jsx2("style", { children: CSS2 }),
115
+ /* @__PURE__ */ jsxs2("defs", { children: [
116
+ /* @__PURE__ */ jsxs2("linearGradient", { id: id.ink, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1, y1: KRIZAKA.ink.y1, x2: KRIZAKA.ink.x2, y2: KRIZAKA.ink.y2, children: [
117
+ /* @__PURE__ */ jsx2("stop", { offset: "0%", stopColor: neutral("--kz-text-secondary", 60) }),
118
+ /* @__PURE__ */ jsx2("stop", { offset: "100%", stopColor: neutral("--kz-text-primary", 92) })
119
+ ] }),
120
+ /* @__PURE__ */ jsx2("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__ */ jsx2("stop", { offset, stopColor: color }, offset)) }),
121
+ /* @__PURE__ */ jsxs2("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
122
+ /* @__PURE__ */ jsx2("stop", { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
123
+ /* @__PURE__ */ jsx2("stop", { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: "0" })
124
+ ] })
125
+ ] }),
126
+ size >= 48 ? /* @__PURE__ */ jsx2("circle", { cx: "200", cy: "200", r: "190", fill: `url(#${id.glow})` }) : null,
127
+ /* @__PURE__ */ jsx2("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" }),
128
+ /* @__PURE__ */ jsx2("circle", { cx: "200", cy: "200", r: KRIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: KRIZAKA.ring.width, opacity: ".35" }),
129
+ /* @__PURE__ */ jsxs2("g", { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
130
+ /* @__PURE__ */ jsx2("path", { d: KRIZAKA.shield, stroke: `url(#${id.ink})`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
131
+ /* @__PURE__ */ jsxs2("g", { className: m("kzm-pulse"), children: [
132
+ /* @__PURE__ */ jsx2("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.r, fill: `url(#${id.blue})` }),
133
+ /* @__PURE__ */ jsx2("circle", { cx: KRIZAKA.node.cx, cy: KRIZAKA.node.cy, r: KRIZAKA.node.inner, fill: KRIZAKA.highlight })
134
+ ] }),
135
+ /* @__PURE__ */ jsxs2("g", { className: m("kzm-pulse"), children: [
136
+ /* @__PURE__ */ jsx2("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.r, fill: `url(#${id.blue})` }),
137
+ /* @__PURE__ */ jsx2("circle", { cx: KRIZAKA.core.cx, cy: KRIZAKA.core.cy, r: KRIZAKA.core.inner, fill: KRIZAKA.highlight })
138
+ ] })
139
+ ] })
140
+ ] });
141
+ }
142
+
143
+ // src/marks/orazaka-geometry.ts
144
+ import { marks as marks3 } from "@krizaka/tokens/native";
145
+ var orange = marks3.orazaka[marks3.orazaka.length - 1][1];
146
+ var ORAZAKA = {
147
+ viewBox: "0 0 400 400",
148
+ croppedViewBox: "76 76 248 248",
149
+ center: 200,
150
+ /**
151
+ * The three shards — a hexagon's cap (from the original 132-unit drawing), scaled ×1.9 around the centre and turned
152
+ * 0°, 120°, 240° — in view-box coordinates, so that one gradient runs across all three.
153
+ */
154
+ shards: [
155
+ "M154.4,121.2 L200,94.7 L245.6,121.2 L245.6,154.4 L226.6,165.4 L226.6,132.2 L200,116.8 L173.4,132.2 L173.4,165.4 L154.4,154.4 Z",
156
+ "M291.1,199.9 L291.2,252.6 L245.5,278.9 L216.7,262.3 L216.6,240.3 L245.4,257 L272.1,241.6 L272,210.9 L243.2,194.3 L262.3,183.3 Z",
157
+ "M154.5,278.9 L108.8,252.6 L108.9,199.9 L137.7,183.3 L156.8,194.3 L128,210.9 L127.9,241.6 L154.6,257 L183.4,240.3 L183.3,262.3 Z"
158
+ ],
159
+ shardStroke: 5.7,
160
+ gradient: { x1: 90, y1: 310, x2: 310, y2: 90, stops: marks3.orazaka },
161
+ core: { r: 21, inner: 7.6 },
162
+ highlight: "#fff7ed",
163
+ glow: { color: orange, opacity: 0.16 },
164
+ /** The core's breathing shadow (web), in the mark's orange. */
165
+ pulse: { color: orange, low: 0.3, high: 0.6 },
166
+ orbit: { r: 160, dash: "8 8", width: 1.5 },
167
+ ring: { r: 134, width: 1 }
168
+ };
169
+
170
+ // src/marks/OrazakaLogo.tsx
171
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
172
+ var CSS3 = `
173
+ .ozm-orbit { transform-origin: 200px 200px; animation: ozm-orbit 35s linear infinite; }
174
+ .ozm-core { transform-box: fill-box; transform-origin: center; animation: ozm-core 3.2s ease-in-out infinite; }
175
+ @keyframes ozm-orbit { to { transform: rotate(360deg); } }
176
+ @keyframes ozm-core {
177
+ 0%, 100% { filter: drop-shadow(0 0 6px ${withAlpha(ORAZAKA.pulse.color, ORAZAKA.pulse.low)}); opacity: .9; }
178
+ 50% { filter: drop-shadow(0 0 14px ${withAlpha(ORAZAKA.pulse.color, ORAZAKA.pulse.high)}); opacity: 1; }
179
+ }
180
+ @media (prefers-reduced-motion: reduce) { .ozm-orbit, .ozm-core { animation: none; } }
181
+ `;
182
+ function OrazakaLogo({ size = 32, animated = true, title, className }) {
183
+ const id = useIds("ozm", ["gradient", "glow"]);
184
+ const fill = `url(#${id.gradient})`;
185
+ return /* @__PURE__ */ jsxs3("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: [
186
+ /* @__PURE__ */ jsx3("style", { children: CSS3 }),
187
+ /* @__PURE__ */ jsxs3("defs", { children: [
188
+ /* @__PURE__ */ jsx3("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__ */ jsx3("stop", { offset, stopColor: color }, offset)) }),
189
+ /* @__PURE__ */ jsxs3("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
190
+ /* @__PURE__ */ jsx3("stop", { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
191
+ /* @__PURE__ */ jsx3("stop", { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: "0" })
192
+ ] })
193
+ ] }),
194
+ size >= 48 ? /* @__PURE__ */ jsx3("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
195
+ /* @__PURE__ */ jsx3("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" }),
196
+ /* @__PURE__ */ jsx3("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: ORAZAKA.ring.width, opacity: ".35" }),
197
+ /* @__PURE__ */ jsx3("g", { className: animated ? "ozm-orbit" : void 0, children: ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx3("path", { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d)) }),
198
+ /* @__PURE__ */ jsxs3("g", { className: animated ? "ozm-core" : void 0, children: [
199
+ /* @__PURE__ */ jsx3("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
200
+ /* @__PURE__ */ jsx3("circle", { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
201
+ ] })
202
+ ] });
203
+ }
204
+
205
+ // src/marks/yomizaka-geometry.ts
206
+ import { marks as marks4 } from "@krizaka/tokens/native";
207
+ var indigo = marks4.yomizaka[marks4.yomizaka.length - 1][1];
208
+ var YOMIZAKA = {
209
+ viewBox: "0 0 400 400",
210
+ croppedViewBox: "80 80 240 240",
211
+ center: 200,
212
+ stroke: 22,
213
+ /** The brow: two soft arcs that meet over the beak — calm, never a sharp V. */
214
+ brow: "M106 153 C130 125 176 129 200 159 C224 129 270 125 294 153",
215
+ /** The two lenses (rings at the family stroke). */
216
+ lenses: [
217
+ { cx: 146, cy: 223, r: 40 },
218
+ { cx: 254, cy: 223, r: 40 }
219
+ ],
220
+ /** The pupils, glancing down-right (reading): the lit cores. */
221
+ pupils: [
222
+ { cx: 154, cy: 229, r: 15, inner: 5.1 },
223
+ { cx: 262, cy: 229, r: 15, inner: 5.1 }
224
+ ],
225
+ highlight: "#f4f5ff",
226
+ gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks4.yomizaka },
227
+ /** One node, a page, rides the orbit. */
228
+ node: { r: 9, at: [200, 40] },
229
+ glow: { color: indigo, opacity: 0.18 },
230
+ pulse: { color: indigo, low: 0.3, high: 0.6 },
231
+ motion: { spin: 32, breath: 3.6 },
232
+ orbit: { r: 160, dash: "8 8", width: 1.5 },
233
+ ring: { r: 134, width: 1 }
234
+ };
235
+
236
+ // src/marks/YomizakaLogo.tsx
237
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
238
+ var CSS4 = familyMotion("ymm", { ...YOMIZAKA.motion, ...YOMIZAKA.pulse });
239
+ function YomizakaLogo({ size = 32, animated = true, title, className }) {
240
+ const id = useIds("ymm", ["gradient", "glow"]);
241
+ const fill = `url(#${id.gradient})`;
242
+ const m = (cls) => animated ? `ymm-${cls}` : void 0;
243
+ return /* @__PURE__ */ jsxs4("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: [
244
+ /* @__PURE__ */ jsx4("style", { children: CSS4 }),
245
+ /* @__PURE__ */ jsxs4("defs", { children: [
246
+ /* @__PURE__ */ jsx4("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__ */ jsx4("stop", { offset, stopColor: color }, offset)) }),
247
+ /* @__PURE__ */ jsxs4("radialGradient", { id: id.glow, cx: "50%", cy: "50%", r: "50%", children: [
248
+ /* @__PURE__ */ jsx4("stop", { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
249
+ /* @__PURE__ */ jsx4("stop", { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: "0" })
250
+ ] })
251
+ ] }),
252
+ size >= 48 ? /* @__PURE__ */ jsx4("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: "190", fill: `url(#${id.glow})` }) : null,
253
+ /* @__PURE__ */ jsx4("circle", { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke: neutral("--kz-border-default", 30), strokeWidth: YOMIZAKA.ring.width, opacity: ".35" }),
254
+ /* @__PURE__ */ jsxs4("g", { className: m("orbit"), children: [
255
+ /* @__PURE__ */ jsx4("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" }),
256
+ /* @__PURE__ */ jsx4("circle", { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
257
+ ] }),
258
+ /* @__PURE__ */ jsx4("path", { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round" }),
259
+ YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx4("circle", { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke }, l.cx)),
260
+ /* @__PURE__ */ jsx4("g", { className: m("core"), children: YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs4("g", { children: [
261
+ /* @__PURE__ */ jsx4("circle", { cx: p.cx, cy: p.cy, r: p.r, fill }),
262
+ /* @__PURE__ */ jsx4("circle", { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
263
+ ] }, p.cx)) })
264
+ ] });
265
+ }
266
+
267
+ // src/marks/ProductLogo.tsx
268
+ import { jsx as jsx5 } from "react/jsx-runtime";
269
+ function ProductLogo({ id, ...props }) {
270
+ if (id === "krizaka") return /* @__PURE__ */ jsx5(KrizakaLogo, { ...props });
271
+ if (id === "orazaka") return /* @__PURE__ */ jsx5(OrazakaLogo, { ...props });
272
+ if (id === "yomizaka") return /* @__PURE__ */ jsx5(YomizakaLogo, { ...props });
273
+ return /* @__PURE__ */ jsx5(AkinazaLogo, { ...props });
274
+ }
275
+
276
+ export {
277
+ neutral,
278
+ useIds,
279
+ a11y,
280
+ AkinazaLogo,
281
+ KrizakaLogo,
282
+ OrazakaLogo,
283
+ YomizakaLogo,
284
+ ProductLogo
285
+ };
286
+ //# sourceMappingURL=chunk-PGPNYYE2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/marks/akinaza-geometry.ts","../src/marks/shared.ts","../src/marks/AkinazaLogo.tsx","../src/marks/krizaka-geometry.ts","../src/marks/KrizakaLogo.tsx","../src/marks/orazaka-geometry.ts","../src/marks/OrazakaLogo.tsx","../src/marks/yomizaka-geometry.ts","../src/marks/YomizakaLogo.tsx","../src/marks/ProductLogo.tsx"],"sourcesContent":["import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Akinaza mark's geometry — drawn by the web mark (AkinazaLogo) and the native one (AkinazaMark). The family's\n * grammar (packages/tokens/BRAND.md, \"Marks\"): 400×400 view box, dashed orbit and ring, a bold solid emblem, a lit core;\n * below 48 px the view box crops to the emblem.\n *\n * The emblem is **the cut log** (2026-10-17): a log seen end-on, its year rings in light, cut at 45° by the beaver —\n * the cut is the Krizaka chamfer, its fresh face in copper — and a copper heart that breathes: a shop built ring by\n * ring, year after year. Forest and copper stay **apart** (blended they turn brown): they are the two stops of the\n * brand's mark gradient (`marks.akinaza` of @krizaka/tokens), each ≥ 3:1 on the page surfaces of both themes.\n *\n * Literal geometry (no clip, so web and native draw the same thing): the log is a circle r 96 centred (194, 206) — set\n * off the centre so the cut log sits optically centred — minus the segment beyond the 45° chord at 70 from its centre;\n * the copper face is the band between that chord and a parallel one at 58, bounded by the circle.\n */\nconst forest = marks.akinaza[0]![1];\n/** The copper end: the cut, the heart, the halo and its breath. */\nconst copper = marks.akinaza[marks.akinaza.length - 1]![1];\n\nexport const AKINAZA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"80 80 240 240\",\n center: 200,\n forest,\n copper,\n log: \"M197 110 L290 203 A96 96 0 1 1 197 110 Z\",\n /** The fresh face of the cut: a copper band along the chord. */\n cut: \"M197 110 L290 203 A96 96 0 0 1 289.1 219.1 L180.9 110.9 A96 96 0 0 1 197 110 Z\",\n /** The year rings, in light, inside the band. */\n rings: { cx: 194, cy: 206, r: [52, 28], width: 7, opacity: 0.42 },\n heart: { cx: 194, cy: 206, r: 16, inner: 5.4 },\n highlight: \"#fff7ed\",\n gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.akinaza },\n /** A coin: one node on the orbit, that turns with it. */\n node: { r: 9, at: [200, 40] as const },\n glow: { color: copper, opacity: 0.16 },\n pulse: { color: copper, low: 0.3, high: 0.65 },\n motion: { spin: 32, breath: 3.8 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { useId } from \"react\";\n\nexport interface MarkProps {\n /** Width and height in pixels. */\n size?: number;\n /** Orbit, pulse and shimmer. Off with `false`; always off under prefers-reduced-motion. */\n animated?: boolean;\n /** An accessible name (the mark becomes an image); without it the mark is decorative. */\n title?: string;\n className?: string;\n}\n\n/** A neutral stroke: the host's `--kz-*` token when it has one, else the text colour at a low opacity. */\nexport const neutral = (token: string, percent: number) => `var(${token}, color-mix(in srgb, currentColor ${percent}%, transparent))`;\n\n/** Ids unique per instance, so several marks on a page never share a gradient. */\nexport function useIds<K extends string>(prefix: string, keys: readonly K[]): Record<K, string> {\n const uid = useId().replace(/[^a-zA-Z0-9_-]/g, \"\");\n return Object.fromEntries(keys.map((k) => [k, `${prefix}-${k}-${uid}`])) as Record<K, string>;\n}\n\nexport const a11y = (title?: string) => (title ? { role: \"img\" as const, \"aria-label\": title } : { \"aria-hidden\": true as const });\n\n/** `#rrggbb` + an opacity → `#rrggbbaa` (a brand colour in a CSS shadow). */\nexport const withAlpha = (hex: string, opacity: number) => `${hex}${Math.round(opacity * 255).toString(16).padStart(2, \"0\")}`;\n\n/**\n * The family's motion (web), for a mark whose classes start with `prefix`: `<prefix>-orbit` turns the dashed orbit and\n * its node, `<prefix>-core` makes the lit core breathe (a shadow in the brand colour). Still under prefers-reduced-motion.\n */\nexport const familyMotion = (prefix: string, { spin, breath, color, low, high }: { spin: number; breath: number; color: string; low: number; high: number }) => `\n.${prefix}-orbit { transform-origin: 200px 200px; animation: ${prefix}-orbit ${spin}s linear infinite; }\n.${prefix}-core { transform-box: fill-box; transform-origin: center; animation: ${prefix}-core ${breath}s ease-in-out infinite; }\n@keyframes ${prefix}-orbit { to { transform: rotate(360deg); } }\n@keyframes ${prefix}-core {\n 0%, 100% { filter: drop-shadow(0 0 6px ${withAlpha(color, low)}); opacity: .92; }\n 50% { filter: drop-shadow(0 0 16px ${withAlpha(color, high)}); opacity: 1; }\n}\n@media (prefers-reduced-motion: reduce) { .${prefix}-orbit, .${prefix}-core { animation: none; } }\n`;\n","import { AKINAZA as G } from \"./akinaza-geometry\";\nimport { a11y, familyMotion, type MarkProps, neutral, useIds } from \"./shared\";\n\nconst CSS = familyMotion(\"akm\", { ...G.motion, ...G.pulse });\n\n/**\n * The Akinaza mark, \"the cut log\": a log seen end-on in forest green, its year rings in light, cut at 45° by the beaver\n * (the Krizaka chamfer) with the fresh face in copper, and a copper heart that breathes — a shop built ring by ring.\n * One node, a coin, rides the dashed orbit. Below 48 px it crops to the emblem.\n */\nexport function AkinazaLogo({ size = 32, animated = true, title, className }: MarkProps) {\n const id = useIds(\"akm\", [\"glow\"] as const);\n const m = (cls: string) => (animated ? `akm-${cls}` : undefined);\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 <style>{CSS}</style>\n <defs>\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={G.center} cy={G.center} r=\"190\" fill={`url(#${id.glow})`} /> : null /* cropped: the halo would show its square */}\n <circle cx={G.center} cy={G.center} r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n <g className={m(\"orbit\")}>\n <circle cx={G.center} cy={G.center} r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx={G.node.at[0]} cy={G.node.at[1]} r={G.node.r} fill={G.copper} />\n </g>\n <path d={G.log} fill={G.forest} />\n <path d={G.cut} fill={G.copper} />\n {G.rings.r.map((r) => (\n <circle key={r} cx={G.rings.cx} cy={G.rings.cy} r={r} stroke={G.highlight} strokeOpacity={G.rings.opacity} strokeWidth={G.rings.width} />\n ))}\n <g className={m(\"core\")}>\n <circle cx={G.heart.cx} cy={G.heart.cy} r={G.heart.r} fill={G.copper} />\n <circle cx={G.heart.cx} cy={G.heart.cy} r={G.heart.inner} fill={G.highlight} />\n </g>\n </svg>\n );\n}\n","import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Krizaka mark's geometry — the one description drawn by the web mark (KrizakaLogo) and the native one\n * (KrizakaMark). Built on the family's mark grammar (docs: packages/tokens/BRAND.md, \"Marks\"): a 360×360 artwork at\n * (20, 20) in a 400×400 view box, one bold stroke (22) drawn as an open figure, an end that breaks out as a node, a\n * core, a dashed orbit and a ring; below 48 px the view box crops to the emblem.\n *\n * Krizaka is the parent: the hexagonal shield is **ink** (the host's text roles), the node and the core carry the\n * Krizaka blue (`marks.krizaka` of @krizaka/tokens: the brand's accent hsl(208 46% 45%) → its text tint hsl(206 58% 72%)).\n */\nexport const KRIZAKA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"86 82 228 228\",\n offset: 20,\n /** The shield: a 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 node (the head of the line). */\n node: { cx: 259.7, cy: 134, r: 19, inner: 6 },\n core: { cx: 180, cy: 180, r: 24, inner: 8 },\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 { KRIZAKA as G } from \"./krizaka-geometry\";\nimport { a11y, type MarkProps, neutral, useIds } from \"./shared\";\n\nconst CSS = `\n.kzm-spin { transform-origin: 200px 200px; animation: kzm-spin 30s linear infinite; }\n.kzm-pulse { transform-box: fill-box; transform-origin: center; animation: kzm-pulse 3.2s ease-in-out infinite; }\n@keyframes kzm-spin { to { transform: rotate(360deg); } }\n@keyframes kzm-pulse {\n 0%, 100% { filter: drop-shadow(0 0 6px hsla(217, 92%, 53%, .25)); opacity: .9; }\n 50% { filter: drop-shadow(0 0 14px hsla(217, 92%, 53%, .55)); opacity: 1; }\n}\n@media (prefers-reduced-motion: reduce) { .kzm-spin, .kzm-pulse { animation: none; } }\n`;\n\n/**\n * The Krizaka mark: an ink hexagonal shield, open at one vertex where a blue node breaks out, around a blue core —\n * the parent of the family (Orazaka's shards). The orbit turns, the node and the core\n * breathe. The shield reads the host's text roles, so it is ink in both themes. Below 48 px it crops to the emblem.\n */\nexport function KrizakaLogo({ size = 32, animated = true, title, className }: MarkProps) {\n const id = useIds(\"kzm\", [\"ink\", \"blue\", \"glow\"] as const);\n const m = (cls: string) => (animated ? cls : undefined);\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 <style>{CSS}</style>\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 /* cropped: the halo would show its square */}\n <circle className={m(\"kzm-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\" />\n <circle cx=\"200\" cy=\"200\" r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\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 <g className={m(\"kzm-pulse\")}>\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 </g>\n <g className={m(\"kzm-pulse\")}>\n <circle cx={G.core.cx} cy={G.core.cy} r={G.core.r} fill={`url(#${id.blue})`} />\n <circle cx={G.core.cx} cy={G.core.cy} r={G.core.inner} fill={G.highlight} />\n </g>\n </g>\n </svg>\n );\n}\n","import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Orazaka mark's geometry — drawn by the web mark (OrazakaLogo) and the native one (OrazakaMark). The same\n * grammar as Krizaka (packages/tokens/BRAND.md, \"Marks\"): 400×400 view box, dashed orbit and ring, a bold\n * emblem in the brand gradient, a bright core; below 48 px the view box crops to the emblem.\n *\n * The emblem keeps the original idea — three hexagonal shards orbiting a core — drawn as solid shards (the weight of\n * the family's bodies) in the Orazaka orange: the brand's mark gradient (`marks.orazaka` of @krizaka/tokens, the same source\n * as the accent), deep orange → orange on the accent's hue 26 — never the amber of --kz-warning (hue 38). Every stop\n * reads ≥ 3:1 on the page surfaces of both themes (tested in @krizaka/tokens), so one mark serves dark and light.\n */\n/** The bright end of the gradient: the halo and the core's glow. */\nconst orange = marks.orazaka[marks.orazaka.length - 1]![1];\n\nexport const ORAZAKA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"76 76 248 248\",\n center: 200,\n /**\n * The three shards — a hexagon's cap (from the original 132-unit drawing), scaled ×1.9 around the centre and turned\n * 0°, 120°, 240° — in view-box coordinates, so that one gradient runs across all three.\n */\n shards: [\n \"M154.4,121.2 L200,94.7 L245.6,121.2 L245.6,154.4 L226.6,165.4 L226.6,132.2 L200,116.8 L173.4,132.2 L173.4,165.4 L154.4,154.4 Z\",\n \"M291.1,199.9 L291.2,252.6 L245.5,278.9 L216.7,262.3 L216.6,240.3 L245.4,257 L272.1,241.6 L272,210.9 L243.2,194.3 L262.3,183.3 Z\",\n \"M154.5,278.9 L108.8,252.6 L108.9,199.9 L137.7,183.3 L156.8,194.3 L128,210.9 L127.9,241.6 L154.6,257 L183.4,240.3 L183.3,262.3 Z\",\n ],\n shardStroke: 5.7,\n gradient: { x1: 90, y1: 310, x2: 310, y2: 90, stops: marks.orazaka },\n core: { r: 21, inner: 7.6 },\n highlight: \"#fff7ed\",\n glow: { color: orange, opacity: 0.16 },\n /** The core's breathing shadow (web), in the mark's orange. */\n pulse: { color: orange, low: 0.3, high: 0.6 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { ORAZAKA as G } from \"./orazaka-geometry\";\nimport { a11y, type MarkProps, neutral, useIds, withAlpha } from \"./shared\";\n\nconst CSS = `\n.ozm-orbit { transform-origin: 200px 200px; animation: ozm-orbit 35s linear infinite; }\n.ozm-core { transform-box: fill-box; transform-origin: center; animation: ozm-core 3.2s ease-in-out infinite; }\n@keyframes ozm-orbit { to { transform: rotate(360deg); } }\n@keyframes ozm-core {\n 0%, 100% { filter: drop-shadow(0 0 6px ${withAlpha(G.pulse.color, G.pulse.low)}); opacity: .9; }\n 50% { filter: drop-shadow(0 0 14px ${withAlpha(G.pulse.color, G.pulse.high)}); opacity: 1; }\n}\n@media (prefers-reduced-motion: reduce) { .ozm-orbit, .ozm-core { animation: none; } }\n`;\n\n/**\n * The Orazaka mark: three solid hexagonal shards in the Orazaka orange (the brand's mark\n * gradient of @krizaka/tokens, deep orange → orange, hue 26 — the same in dark and light) orbiting slowly around a core that breathes —\n * the family's grammar (dashed orbit, ring, bold emblem, bright core). Below 48 px it crops to the emblem.\n */\nexport function OrazakaLogo({ size = 32, animated = true, title, className }: MarkProps) {\n const id = useIds(\"ozm\", [\"gradient\", \"glow\"] as const);\n const fill = `url(#${id.gradient})`;\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 <style>{CSS}</style>\n <defs>\n <linearGradient id={id.gradient} gradientUnits=\"userSpaceOnUse\" x1={G.gradient.x1} y1={G.gradient.y1} x2={G.gradient.x2} y2={G.gradient.y2}>\n {G.gradient.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={G.center} cy={G.center} r=\"190\" fill={`url(#${id.glow})`} /> : null /* cropped: the halo would show its square */}\n <circle cx={G.center} cy={G.center} r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx={G.center} cy={G.center} r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n <g className={animated ? \"ozm-orbit\" : undefined}>\n {G.shards.map((d) => (\n <path key={d} d={d} fill={fill} stroke={fill} strokeWidth={G.shardStroke} strokeLinejoin=\"round\" />\n ))}\n </g>\n <g className={animated ? \"ozm-core\" : undefined}>\n <circle cx={G.center} cy={G.center} r={G.core.r} fill={fill} />\n <circle cx={G.center} cy={G.center} r={G.core.inner} fill={G.highlight} />\n </g>\n </svg>\n );\n}\n","import { marks } from \"@krizaka/tokens/native\";\n\n/**\n * The Yomizaka mark's geometry — drawn by the web mark (YomizakaLogo) and the native one (YomizakaMark). The family's\n * grammar (packages/tokens/BRAND.md, \"Marks\"): 400×400 view box, dashed orbit and ring, a bold emblem at the family\n * stroke (22) in the brand gradient, a lit core; below 48 px the view box crops to the emblem.\n *\n * The emblem is **the watch** (2026-10-17): the owl — the bird that reads documents and knows faces — drawn as two\n * lenses under one calm brow, its pupils glancing down the line it reads. The brow is a soft double curve (never a\n * sharp V: the owl is attentive, not stern). The pupils are the lit cores: they breathe. The gradient is the brand's\n * mark gradient (`marks.yomizaka` of @krizaka/tokens): ink → indigo, ≥ 3:1 on the page surfaces of both themes.\n */\n/** The indigo end of the gradient: the halo and the pupils' breath. */\nconst indigo = marks.yomizaka[marks.yomizaka.length - 1]![1];\n\nexport const YOMIZAKA = {\n viewBox: \"0 0 400 400\",\n croppedViewBox: \"80 80 240 240\",\n center: 200,\n stroke: 22,\n /** The brow: two soft arcs that meet over the beak — calm, never a sharp V. */\n brow: \"M106 153 C130 125 176 129 200 159 C224 129 270 125 294 153\",\n /** The two lenses (rings at the family stroke). */\n lenses: [\n { cx: 146, cy: 223, r: 40 },\n { cx: 254, cy: 223, r: 40 },\n ],\n /** The pupils, glancing down-right (reading): the lit cores. */\n pupils: [\n { cx: 154, cy: 229, r: 15, inner: 5.1 },\n { cx: 262, cy: 229, r: 15, inner: 5.1 },\n ],\n highlight: \"#f4f5ff\",\n gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.yomizaka },\n /** One node, a page, rides the orbit. */\n node: { r: 9, at: [200, 40] as const },\n glow: { color: indigo, opacity: 0.18 },\n pulse: { color: indigo, low: 0.3, high: 0.6 },\n motion: { spin: 32, breath: 3.6 },\n orbit: { r: 160, dash: \"8 8\", width: 1.5 },\n ring: { r: 134, width: 1 },\n} as const;\n","import { a11y, familyMotion, type MarkProps, neutral, useIds } from \"./shared\";\nimport { YOMIZAKA as G } from \"./yomizaka-geometry\";\n\nconst CSS = familyMotion(\"ymm\", { ...G.motion, ...G.pulse });\n\n/**\n * The Yomizaka mark, \"the watch\": the owl — two lenses at the family stroke under one calm brow, its pupils glancing\n * down the line it reads — in the Yomizaka gradient (ink → indigo, the same in dark and light). The pupils are the lit\n * cores and breathe; one node, a page, rides the dashed orbit. Below 48 px it crops to the emblem.\n */\nexport function YomizakaLogo({ size = 32, animated = true, title, className }: MarkProps) {\n const id = useIds(\"ymm\", [\"gradient\", \"glow\"] as const);\n const fill = `url(#${id.gradient})`;\n const m = (cls: string) => (animated ? `ymm-${cls}` : undefined);\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 <style>{CSS}</style>\n <defs>\n <linearGradient id={id.gradient} gradientUnits=\"userSpaceOnUse\" x1={G.gradient.x1} y1={G.gradient.y1} x2={G.gradient.x2} y2={G.gradient.y2}>\n {G.gradient.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={G.center} cy={G.center} r=\"190\" fill={`url(#${id.glow})`} /> : null /* cropped: the halo would show its square */}\n <circle cx={G.center} cy={G.center} r={G.ring.r} stroke={neutral(\"--kz-border-default\", 30)} strokeWidth={G.ring.width} opacity=\".35\" />\n <g className={m(\"orbit\")}>\n <circle cx={G.center} cy={G.center} r={G.orbit.r} stroke={neutral(\"--kz-border-strong\", 40)} strokeWidth={G.orbit.width} strokeDasharray={G.orbit.dash} opacity=\".6\" />\n <circle cx={G.node.at[0]} cy={G.node.at[1]} r={G.node.r} fill={fill} />\n </g>\n <path d={G.brow} stroke={fill} strokeWidth={G.stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n {G.lenses.map((l) => (\n <circle key={l.cx} cx={l.cx} cy={l.cy} r={l.r} stroke={fill} strokeWidth={G.stroke} />\n ))}\n <g className={m(\"core\")}>\n {G.pupils.map((p) => (\n <g key={p.cx}>\n <circle cx={p.cx} cy={p.cy} r={p.r} fill={fill} />\n <circle cx={p.cx} cy={p.cy} r={p.inner} fill={G.highlight} />\n </g>\n ))}\n </g>\n </svg>\n );\n}\n","import { AkinazaLogo } from \"./AkinazaLogo\";\nimport { KrizakaLogo } from \"./KrizakaLogo\";\nimport { OrazakaLogo } from \"./OrazakaLogo\";\nimport type { MarkProps } from \"./shared\";\nimport { YomizakaLogo } from \"./YomizakaLogo\";\n\n/** A Krizaka brand: the company and its three products. */\nexport type BrandId = \"krizaka\" | \"orazaka\" | \"yomizaka\" | \"akinaza\";\n\n/** The mark of a Krizaka brand by id — for navigation, cards and lists driven by data. */\nexport function ProductLogo({ id, ...props }: MarkProps & { /** The brand: `krizaka`, `orazaka`, `yomizaka` or `akinaza`. */ id: BrandId }) {\n if (id === \"krizaka\") return <KrizakaLogo {...props} />;\n if (id === \"orazaka\") return <OrazakaLogo {...props} />;\n if (id === \"yomizaka\") return <YomizakaLogo {...props} />;\n return <AkinazaLogo {...props} />;\n}\n"],"mappings":";;;AAAA,SAAS,aAAa;AAgBtB,IAAM,SAAS,MAAM,QAAQ,CAAC,EAAG,CAAC;AAElC,IAAM,SAAS,MAAM,QAAQ,MAAM,QAAQ,SAAS,CAAC,EAAG,CAAC;AAElD,IAAM,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA,KAAK;AAAA;AAAA,EAEL,KAAK;AAAA;AAAA,EAEL,OAAO,EAAE,IAAI,KAAK,IAAI,KAAK,GAAG,CAAC,IAAI,EAAE,GAAG,OAAO,GAAG,SAAS,KAAK;AAAA,EAChE,OAAO,EAAE,IAAI,KAAK,IAAI,KAAK,GAAG,IAAI,OAAO,IAAI;AAAA,EAC7C,WAAW;AAAA,EACX,UAAU,EAAE,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,OAAO,MAAM,QAAQ;AAAA;AAAA,EAErE,MAAM,EAAE,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,EAAW;AAAA,EACrC,MAAM,EAAE,OAAO,QAAQ,SAAS,KAAK;AAAA,EACrC,OAAO,EAAE,OAAO,QAAQ,KAAK,KAAK,MAAM,KAAK;AAAA,EAC7C,QAAQ,EAAE,MAAM,IAAI,QAAQ,IAAI;AAAA,EAChC,OAAO,EAAE,GAAG,KAAK,MAAM,OAAO,OAAO,IAAI;AAAA,EACzC,MAAM,EAAE,GAAG,KAAK,OAAO,EAAE;AAC3B;;;ACzCA,SAAS,aAAa;AAaf,IAAM,UAAU,CAAC,OAA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IAAI,EAAE,IAAI,IAAI,EAAE,IAAI,GAAG,EAAE,OAAO,MAAM,SAAE,WAAW;AAAA,SAFrD,EAAE,EAGV,CACD,GACH;AAAA,KACF;AAEJ;;;ACrC+B,gBAAAG,YAAA;AADxB,SAAS,YAAY,EAAE,IAAI,GAAG,MAAM,GAAiG;AAC1I,MAAI,OAAO,UAAW,QAAO,gBAAAA,KAAC,eAAa,GAAG,OAAO;AACrD,MAAI,OAAO,UAAW,QAAO,gBAAAA,KAAC,eAAa,GAAG,OAAO;AACrD,MAAI,OAAO,WAAY,QAAO,gBAAAA,KAAC,gBAAc,GAAG,OAAO;AACvD,SAAO,gBAAAA,KAAC,eAAa,GAAG,OAAO;AACjC;","names":["marks","jsx","jsxs","CSS","marks","jsx","jsxs","CSS","marks","jsx","jsxs","CSS","jsx"]}
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3X3OF4TI.js";
5
5
  import {
6
6
  Button
7
- } from "./chunk-M3GEYLMR.js";
7
+ } from "./chunk-ZPOVOEO3.js";
8
8
  import {
9
9
  useLayoutFallbacks,
10
10
  useVirtualizer
@@ -13,7 +13,7 @@ import {
13
13
  DropdownMenu,
14
14
  FilterBar,
15
15
  FilterMenu
16
- } from "./chunk-T5NZSKWT.js";
16
+ } from "./chunk-YQWYGQTV.js";
17
17
  import {
18
18
  cn
19
19
  } from "./chunk-NSLXEDIS.js";
@@ -1352,4 +1352,4 @@ export {
1352
1352
  DataTableColumnsMenu,
1353
1353
  DataTableExport
1354
1354
  };
1355
- //# sourceMappingURL=chunk-GRVIZTT2.js.map
1355
+ //# sourceMappingURL=chunk-RI3AA2E3.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  ProductLogo
4
- } from "./chunk-B2HS5EAH.js";
4
+ } from "./chunk-PGPNYYE2.js";
5
5
 
6
6
  // src/family-mark.tsx
7
7
  import { jsx } from "react/jsx-runtime";
@@ -23,19 +23,13 @@ var sites = [
23
23
  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" }),
24
24
  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" }),
25
25
  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" }),
26
- // The motion lab: built in the open, served at motion.krizaka.com; what proves itself there moves into Krizaka UI.
27
- site({ id: "motion", name: "Krizaka Motion", url: "https://motion.krizaka.com", kind: "open-source", group: "open-source", status: "development", mark: "krizaka", repo: "https://github.com/krizaka/krizaka-motion" }),
26
+ // The family lab: built in the open, served at lab.krizaka.com; what proves itself there moves into Krizaka UI.
27
+ 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" }),
28
28
  site({ id: "github", name: "GitHub", url: "https://github.com/krizaka", kind: "open-source", group: "github", status: "released", mark: "github", repo: "https://github.com/krizaka" })
29
29
  ];
30
- var pausedSites = [
31
- site({ id: "orochia", name: "Orochia", url: "https://www.orochia.com", kind: "product", group: "products", status: "development", mark: "orochia", repo: "https://github.com/krizaka/orochia" }),
32
- site({ id: "yasakia", name: "Yasakia", url: "https://www.yasakia.com", kind: "product", group: "products", status: "development", mark: "yasakia", repo: "https://github.com/krizaka/yasakia" }),
33
- site({ id: "yororis", name: "Yororis", url: "https://www.yororis.com", kind: "product", group: "products", status: "development", mark: "yororis", repo: "https://github.com/krizaka/yororis" }),
34
- site({ id: "kachizaka", name: "Kachizaka", url: "https://www.kachizaka.com", kind: "product", group: "products", status: "development", mark: "kachizaka", repo: "https://github.com/krizaka/kachizaka" })
35
- ];
36
30
  var siteGroups = ["krizaka", "products", "open-source", "github"];
37
31
  function siteById(id) {
38
- const found = sites.find((s) => s.id === id) ?? pausedSites.find((s) => s.id === id);
32
+ const found = sites.find((s) => s.id === id);
39
33
  if (!found) throw new Error(`Unknown Krizaka site "${id}".`);
40
34
  return found;
41
35
  }
@@ -61,7 +55,7 @@ var familyLabels = {
61
55
  ui: "Components, tokens, icons and charts \u2014 web and React Native.",
62
56
  java: "Spring Boot building blocks on Maven Central.",
63
57
  ts: "TypeScript backend building blocks on npm.",
64
- motion: "The motion lab: the kit's motion, played live with its knobs.",
58
+ motion: "The family lab: the kit's motion, played live with its knobs.",
65
59
  github: "Every repository, in the open."
66
60
  },
67
61
  signature: { company: "A Krizaka company", product: "A Krizaka product", "open-source": "A Krizaka open-source project" },
@@ -102,4 +96,4 @@ export {
102
96
  companyLinks,
103
97
  familyLabels
104
98
  };
105
- //# sourceMappingURL=chunk-Y5YBTHVD.js.map
99
+ //# sourceMappingURL=chunk-SG3QJJXE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/family-mark.tsx","../src/sites/sites.ts"],"sourcesContent":["// The mark of a site of the family (`@krizaka/ui/sites`): its brand's `ProductLogo`, still (a list of marks never\n// moves), or GitHub's, in the text colour. Shared by `NavBar.Family` and `SiteFooter` — not an entry of its own.\nimport type * as React from \"react\";\n\nimport { ProductLogo } from \"./marks/ProductLogo\";\nimport type { SiteMark } from \"./sites/sites\";\n\n/** GitHub's mark, in the text colour (both themes). */\nexport function GitHubGlyph({ size = 16, className }: { size?: number; className?: string }) {\n return (\n <svg viewBox=\"0 0 16 16\" width={size} height={size} fill=\"currentColor\" aria-hidden className={className}>\n <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\" />\n </svg>\n );\n}\n\n/** A site's mark, decorative (its name is always written beside it). */\nexport function FamilyMark({ mark, size }: { mark: SiteMark; size: number }): React.ReactElement {\n if (mark === \"github\") return <GitHubGlyph size={Math.round(size * 0.8)} />;\n return <ProductLogo id={mark} size={size} animated={false} />;\n}\n","// Server-safe: plain data. The Krizaka family — every site Krizaka runs, once. The family switcher of the bar\n// (`NavBar.Family`) and the common footer (`SiteFooter`) both read it, so adding a site is one release of this package:\n// every bar and every footer of the family follow.\n//\n// The words of the family (a site's one line, the groups, the statuses, the footer's signature) are brand data, written\n// here in English and French (`familyLabels`) — a site passes the set of its locale, or its own translation.\n\n/** A site of the family. */\nexport type SiteId = \"krizaka\" | \"orazaka\" | \"yomizaka\" | \"akinaza\" | \"ui\" | \"java\" | \"ts\" | \"motion\" | \"github\";\n\n/** What a site is: the company, a product, or an open-source project. It chooses the footer's signature line. */\nexport type SiteKind = \"company\" | \"product\" | \"open-source\";\n\n/**\n * `released`: open to visit. `upcoming`: announced, not released yet (said \"Coming soon\"). `construction`: under\n * construction — nothing offered (a QA-only app may run; the public page says so). `development`: being built in the\n * open, with a dev site (said \"In development\"). A site with none yet would use its repository as its address.\n */\nexport type SiteStatus = \"released\" | \"upcoming\" | \"construction\" | \"development\";\n\n/** The groups of the family, in reading order: Krizaka · Products · Open source · GitHub. */\nexport type SiteGroup = \"krizaka\" | \"products\" | \"open-source\" | \"github\";\n\n/** The mark a site wears: a brand of `ProductLogo` (Krizaka UI and Krizaka Java wear Krizaka's), or GitHub's. */\nexport type SiteMark = \"krizaka\" | \"orazaka\" | \"yomizaka\" | \"akinaza\" | \"github\";\n\nexport interface Site {\n readonly id: SiteId;\n /** The name, never translated. */\n readonly name: string;\n /** The address of the site (its home). */\n readonly url: string;\n /** The address without the scheme, as people say it (`ui.krizaka.com`). */\n readonly host: string;\n readonly kind: SiteKind;\n readonly group: SiteGroup;\n readonly status: SiteStatus;\n readonly mark: SiteMark;\n /** The repository the site is built from. */\n readonly repo: string;\n}\n\nconst site = (s: Omit<Site, \"host\">): Site => ({ ...s, host: s.url.replace(/^https?:\\/\\//, \"\").replace(/\\/$/, \"\") });\n\n/** Every site of the family, in reading order (the group order, then the order inside each group). */\nexport const sites: readonly Site[] = [\n 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\" }),\n site({ id: \"orazaka\", name: \"Orazaka\", url: \"https://www.orazaka.com\", kind: \"product\", group: \"products\", status: \"released\", mark: \"orazaka\", repo: \"https://github.com/krizaka/orazaka\" }),\n site({ id: \"yomizaka\", name: \"Yomizaka\", url: \"https://www.yomizaka.com\", kind: \"product\", group: \"products\", status: \"development\", mark: \"yomizaka\", repo: \"https://github.com/krizaka/yomizaka\" }),\n site({ id: \"akinaza\", name: \"Akinaza\", url: \"https://www.akinaza.com\", kind: \"product\", group: \"products\", status: \"development\", mark: \"akinaza\", repo: \"https://github.com/krizaka/akinaza\" }),\n 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\" }),\n 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\" }),\n 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\" }),\n // The family lab: built in the open, served at lab.krizaka.com; what proves itself there moves into Krizaka UI.\n 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\" }),\n site({ id: \"github\", name: \"GitHub\", url: \"https://github.com/krizaka\", kind: \"open-source\", group: \"github\", status: \"released\", mark: \"github\", repo: \"https://github.com/krizaka\" }),\n];\n\n/** The groups, in reading order. */\nexport const siteGroups: readonly SiteGroup[] = [\"krizaka\", \"products\", \"open-source\", \"github\"];\n\n/** A site by id. */\nexport function siteById(id: SiteId): Site {\n const found = sites.find((s) => s.id === id);\n if (!found) throw new Error(`Unknown Krizaka site \"${id}\".`);\n return found;\n}\n\n/** The family grouped, in reading order: `[{ group, sites }]`, empty groups left out. */\nexport function sitesByGroup(): { group: SiteGroup; sites: Site[] }[] {\n return siteGroups.map((group) => ({ group, sites: sites.filter((s) => s.group === group) })).filter((g) => g.sites.length > 0);\n}\n\n/** The languages the family's words are written in. */\nexport type SiteLocale = \"en\" | \"fr\";\n\n/** The company's own pages, the footer's « Krizaka » column (the brand's home is the signature line's link). */\nexport type CompanyLinkId = \"story\" | \"blog\" | \"contact\";\nexport const companyLinks: readonly { id: CompanyLinkId; url: Record<SiteLocale, string> }[] = [\n { id: \"story\", url: { en: \"https://www.krizaka.com/story\", fr: \"https://www.krizaka.com/fr/story\" } },\n { id: \"blog\", url: { en: \"https://blog.krizaka.com\", fr: \"https://blog.krizaka.com\" } },\n { id: \"contact\", url: { en: \"https://www.krizaka.com/contact\", fr: \"https://www.krizaka.com/fr/contact\" } },\n];\n\n/** The words of the family: the switcher, the footer, each site's one line. */\nexport interface FamilyLabels {\n /** The family's name: the switcher's navigation and its button, the footer's navigation (“Krizaka family”). */\n family: string;\n /** The heading of each group. */\n groups: Record<SiteGroup, string>;\n /** The badge of a site that is not released. */\n status: Record<Exclude<SiteStatus, \"released\">, string>;\n /** Says which site is the current one (“You are here”). */\n current: string;\n /** One line per site: what it is. */\n descriptions: Record<SiteId, string>;\n /** The footer's signature, by the kind of the current site (“A Krizaka product”). */\n signature: Record<SiteKind, string>;\n /** The footer's place line (“Made in Montréal”). */\n place: string;\n /** The accessible name of the version (“Version”). */\n version: string;\n /** The language of these words: the company links open in it. @default \"en\" */\n lang?: SiteLocale;\n /** The company's pages in the footer's « Krizaka » column. @default the English words */\n company?: Record<CompanyLinkId, string>;\n}\n\n/** The family's words in English and French. Pass `familyLabels[locale]`, or your own translation of the same shape. */\nexport const familyLabels: Record<SiteLocale, FamilyLabels> = {\n en: {\n family: \"Krizaka family\",\n groups: { krizaka: \"Krizaka\", products: \"Products\", \"open-source\": \"Open source\", github: \"GitHub\" },\n status: { upcoming: \"Coming soon\", construction: \"Under construction\", development: \"In development\" },\n current: \"You are here\",\n descriptions: {\n krizaka: \"The company: our products, our open source, our story.\",\n orazaka: \"Sovereign AI on your own servers: chat, documents, images and video — and the engine under the other products.\",\n yomizaka: \"Yomizaka reads your leases, contracts and invoices.\",\n akinaza: \"Running a shop in Québec, for less — Loi 25 by design.\",\n ui: \"Components, tokens, icons and charts — web and React Native.\",\n java: \"Spring Boot building blocks on Maven Central.\",\n ts: \"TypeScript backend building blocks on npm.\",\n motion: \"The family lab: the kit's motion, played live with its knobs.\",\n github: \"Every repository, in the open.\",\n },\n signature: { company: \"A Krizaka company\", product: \"A Krizaka product\", \"open-source\": \"A Krizaka open-source project\" },\n place: \"Made in Montréal\",\n version: \"Version\",\n lang: \"en\",\n company: { story: \"Our story\", blog: \"Blog\", contact: \"Contact us\" },\n },\n fr: {\n family: \"Famille Krizaka\",\n groups: { krizaka: \"Krizaka\", products: \"Produits\", \"open-source\": \"Open source\", github: \"GitHub\" },\n status: { upcoming: \"Bientôt\", construction: \"En construction\", development: \"En développement\" },\n current: \"Vous êtes ici\",\n descriptions: {\n krizaka: \"La compagnie : nos produits, notre open source, notre histoire.\",\n orazaka: \"L’IA souveraine sur vos propres serveurs : conversation, documents, images et vidéo — et le moteur des autres produits.\",\n yomizaka: \"Yomizaka lit vos baux, contrats et factures.\",\n akinaza: \"Tenir une boutique au Québec, pour moins cher — Loi 25 dès la conception.\",\n ui: \"Composants, jetons, icônes et graphiques — web et React Native.\",\n java: \"Des briques Spring Boot sur Maven Central.\",\n ts: \"Des briques backend TypeScript sur npm.\",\n motion: \"Le labo du mouvement : le mouvement du kit, joué en direct, avec ses réglages.\",\n github: \"Tous les dépôts, au grand jour.\",\n },\n signature: { company: \"Une compagnie Krizaka\", product: \"Un produit Krizaka\", \"open-source\": \"Un projet open source de Krizaka\" },\n place: \"Fait à Montréal\",\n version: \"Version\",\n lang: \"fr\",\n company: { story: \"Notre histoire\", blog: \"Blogue\", contact: \"Nous écrire\" },\n },\n};\n\n/**\n * What the footer and the bar read from `@krizaka/org` (the organisation's public facts, one validated JSON): the brand's\n * name, the footer line and the legal links, each in both languages. Structural: the whole `Org` of `@krizaka/org` fits.\n */\nexport interface OrgFacts {\n brand: { name: string };\n footer: {\n /** « Une entreprise de Technologies Krizaka · Fait à Montréal ». */\n line: Record<SiteLocale, string>;\n legal: readonly { id: string; label: Record<SiteLocale, string>; url: Record<SiteLocale, string> }[];\n };\n}\n\n/** The family's words with the organisation's facts in them: the place line is the org's, not a copy. */\nexport function orgFamilyLabels(org: OrgFacts, locale: SiteLocale): FamilyLabels {\n return { ...familyLabels[locale], place: org.footer.line[locale] };\n}\n"],"mappings":";;;;;;AAWM;AAHC,SAAS,YAAY,EAAE,OAAO,IAAI,UAAU,GAA0C;AAC3F,SACE,oBAAC,SAAI,SAAQ,aAAY,OAAO,MAAM,QAAQ,MAAM,MAAK,gBAAe,eAAW,MAAC,WAClF,8BAAC,UAAK,GAAE,8jBAA6jB,GACvkB;AAEJ;AAGO,SAAS,WAAW,EAAE,MAA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U;AAAA,MACV,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,IACA,WAAW,EAAE,SAAS,qBAAqB,SAAS,qBAAqB,eAAe,gCAAgC;AAAA,IACxH,OAAO;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS,EAAE,OAAO,aAAa,MAAM,QAAQ,SAAS,aAAa;AAAA,EACrE;AAAA,EACA,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,QAAQ,EAAE,SAAS,WAAW,UAAU,YAAY,eAAe,eAAe,QAAQ,SAAS;AAAA,IACnG,QAAQ,EAAE,UAAU,cAAW,cAAc,mBAAmB,aAAa,sBAAmB;AAAA,IAChG,SAAS;AAAA,IACT,cAAc;AAAA,MACZ,SAAS;AAAA,MACT,SAAS;AAAA,MACT,UAAU;AAAA,MACV,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,IACA,WAAW,EAAE,SAAS,yBAAyB,SAAS,sBAAsB,eAAe,mCAAmC;AAAA,IAChI,OAAO;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS,EAAE,OAAO,kBAAkB,MAAM,UAAU,SAAS,iBAAc;AAAA,EAC7E;AACF;","names":[]}
@@ -2,7 +2,7 @@
2
2
 
3
3
  // src/motion/MotionObserver.tsx
4
4
  import { useEffect } from "react";
5
- var SCOPES = ".kz-backdrop, .kz-iso, [data-motion-scope], main > section, main > header, footer";
5
+ var SCOPES = ".kz-backdrop, [data-motion-scope], main > section, main > header, footer";
6
6
  var REVEAL = "[data-reveal]:not(.kz-in)";
7
7
  var SETTLE_MS = 1200;
8
8
  function MotionObserver({ settle = true, pauseOffscreen = true } = {}) {
@@ -78,4 +78,4 @@ export {
78
78
  MotionObserver,
79
79
  RotatingWord
80
80
  };
81
- //# sourceMappingURL=chunk-4JO5GSSD.js.map
81
+ //# sourceMappingURL=chunk-VA4NPCUQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/motion/MotionObserver.tsx","../src/motion/RotatingWord.tsx"],"sourcesContent":["import { useEffect } from \"react\";\n\n/** What gets `data-offscreen` while out of view: its animations pause (motion.css). */\nconst SCOPES = \".kz-backdrop, [data-motion-scope], main > section, main > header, footer\";\nconst REVEAL = \"[data-reveal]:not(.kz-in)\";\n/** How long after `load` the first screen's loops wait before they start (LCP first). */\nconst SETTLE_MS = 1200;\n\nexport interface MotionObserverProps {\n /**\n * Hold the loops of the page (`.kz-loop`, the backdrop's drift) still until the page has loaded and settled\n * (`html[data-motion=\"settling\"]` → `\"ready\"`, about 1.2 s after `load`): nothing repaints the first screen while it\n * paints.\n * @default true\n */\n settle?: boolean;\n /**\n * Pause every animation of a scope while it is off screen (`data-offscreen` on `.kz-backdrop`,\n * `[data-motion-scope]` and the page's sections).\n * @default true\n */\n pauseOffscreen?: boolean;\n}\n\n/**\n * The Krizaka motion conductor. Mount it once at the root of the app; it renders nothing and keeps no animation frame\n * running. It reveals every `[data-reveal]` element once as it enters the viewport (including elements added later:\n * client navigation needs nothing more), pauses what is off screen, lets the first screen settle before its loops\n * start. Nothing follows the pointer (krizaka-ui#393: the spotlight and the magnetic buttons are retired). Under\n * prefers-reduced-motion everything is revealed at once.\n */\nexport function MotionObserver({ settle = true, pauseOffscreen = true }: MotionObserverProps = {}): null {\n useEffect(() => {\n const root = document.documentElement;\n const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n\n let settleTimer: ReturnType<typeof setTimeout> | undefined;\n const ready = () => (settleTimer = setTimeout(() => root.setAttribute(\"data-motion\", \"ready\"), SETTLE_MS));\n if (settle && !reduce && root.getAttribute(\"data-motion\") !== \"ready\") {\n root.setAttribute(\"data-motion\", \"settling\");\n if (document.readyState === \"complete\") ready();\n else window.addEventListener(\"load\", ready, { once: true });\n } else root.setAttribute(\"data-motion\", \"ready\");\n\n const revealIo = reduce\n ? null\n : new IntersectionObserver(\n (entries) => {\n for (const entry of entries) {\n if (!entry.isIntersecting) continue;\n entry.target.classList.add(\"kz-in\");\n revealIo!.unobserve(entry.target);\n }\n },\n { rootMargin: \"0px 0px -8% 0px\", threshold: 0.12 },\n );\n const scopeIo = pauseOffscreen\n ? new IntersectionObserver(\n (entries) => {\n for (const entry of entries) entry.target.toggleAttribute(\"data-offscreen\", !entry.isIntersecting);\n },\n { rootMargin: \"120px 0px\" },\n )\n : null;\n\n const reveal = (el: Element) => (revealIo ? revealIo.observe(el) : el.classList.add(\"kz-in\"));\n const watch = (scope: ParentNode) => {\n scope.querySelectorAll(REVEAL).forEach(reveal);\n if (scopeIo) scope.querySelectorAll(SCOPES).forEach((el) => scopeIo.observe(el));\n };\n watch(document);\n const mo = new MutationObserver((records) => {\n for (const record of records)\n record.addedNodes.forEach((node) => {\n if (!(node instanceof Element)) return;\n if (node.matches(REVEAL)) reveal(node);\n if (scopeIo && node.matches(SCOPES)) scopeIo.observe(node);\n watch(node);\n });\n });\n mo.observe(document.body, { childList: true, subtree: true });\n\n return () => {\n clearTimeout(settleTimer);\n window.removeEventListener(\"load\", ready);\n revealIo?.disconnect();\n scopeIo?.disconnect();\n mo.disconnect();\n };\n }, [settle, pauseOffscreen]);\n\n return null;\n}\n","import { useEffect, useState } from \"react\";\n\nexport interface RotatingWordProps {\n /** The alternatives, passed translated; the first one is what the server renders. */\n words: readonly string[];\n /**\n * Milliseconds each word stays.\n * @default 2600\n */\n interval?: number;\n /** Classes for every word (a colour, gradient text). */\n className?: string;\n}\n\n/**\n * A word that rolls through alternatives — the Krizaka headline signature. Every word shares one grid cell from the\n * first paint, so the line keeps the width of the longest one (no layout shift); the current one rolls in. The server\n * render shows the first word; it stays put under prefers-reduced-motion and while the tab is hidden. Decorative\n * (`aria-hidden`): give the heading a stable accessible label.\n */\nexport function RotatingWord({ words, interval = 2600, className }: RotatingWordProps) {\n const [i, setI] = useState(0);\n useEffect(() => {\n if (words.length < 2 || window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) return;\n const timer = setInterval(() => {\n if (!document.hidden) setI((k) => (k + 1) % words.length);\n }, interval);\n return () => clearInterval(timer);\n }, [words.length, interval]);\n return (\n <span aria-hidden className=\"kz-rotating\">\n {words.map((word, k) => (\n <span key={word} data-active={k === i} className={className}>\n {word}\n </span>\n ))}\n </span>\n );\n}\n"],"mappings":";;;AAAA,SAAS,iBAAiB;AAG1B,IAAM,SAAS;AACf,IAAM,SAAS;AAEf,IAAM,YAAY;AAyBX,SAAS,eAAe,EAAE,SAAS,MAAM,iBAAiB,KAAK,IAAyB,CAAC,GAAS;AACvG,YAAU,MAAM;AACd,UAAM,OAAO,SAAS;AACtB,UAAM,SAAS,OAAO,WAAW,kCAAkC,EAAE;AAErE,QAAI;AACJ,UAAM,QAAQ,MAAO,cAAc,WAAW,MAAM,KAAK,aAAa,eAAe,OAAO,GAAG,SAAS;AACxG,QAAI,UAAU,CAAC,UAAU,KAAK,aAAa,aAAa,MAAM,SAAS;AACrE,WAAK,aAAa,eAAe,UAAU;AAC3C,UAAI,SAAS,eAAe,WAAY,OAAM;AAAA,UACzC,QAAO,iBAAiB,QAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAAA,IAC5D,MAAO,MAAK,aAAa,eAAe,OAAO;AAE/C,UAAM,WAAW,SACb,OACA,IAAI;AAAA,MACF,CAAC,YAAY;AACX,mBAAW,SAAS,SAAS;AAC3B,cAAI,CAAC,MAAM,eAAgB;AAC3B,gBAAM,OAAO,UAAU,IAAI,OAAO;AAClC,mBAAU,UAAU,MAAM,MAAM;AAAA,QAClC;AAAA,MACF;AAAA,MACA,EAAE,YAAY,mBAAmB,WAAW,KAAK;AAAA,IACnD;AACJ,UAAM,UAAU,iBACZ,IAAI;AAAA,MACF,CAAC,YAAY;AACX,mBAAW,SAAS,QAAS,OAAM,OAAO,gBAAgB,kBAAkB,CAA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K,CAAC,OAAO,IAAI,KAAK,MAAM,MAAM;AAAA,IAC1D,GAAG,QAAQ;AACX,WAAO,MAAM,cAAc,KAAK;AAAA,EAClC,GAAG,CAAC,MAAM,QAAQ,QAAQ,CAAC;AAC3B,SACE,oBAAC,UAAK,eAAW,MAAC,WAAU,eACzB,gBAAM,IAAI,CAAC,MAAM,MAChB,oBAAC,UAAgB,eAAa,MAAM,GAAG,WACpC,kBADQ,IAEX,CACD,GACH;AAEJ;","names":["useEffect"]}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  IconButton
4
- } from "./chunk-M3GEYLMR.js";
4
+ } from "./chunk-ZPOVOEO3.js";
5
5
 
6
6
  // src/dialog/dialog.tsx
7
7
  import { Dialog as DialogPrimitive } from "radix-ui";
@@ -131,4 +131,4 @@ var Dialog = {
131
131
  export {
132
132
  Dialog
133
133
  };
134
- //# sourceMappingURL=chunk-E4FMPPDL.js.map
134
+ //# sourceMappingURL=chunk-WC3SO4CE.js.map