@krizaka/ui 3.63.0 → 3.63.1

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 (377) hide show
  1. package/dist/account-settings.js +1 -1
  2. package/dist/action-bar.js +4 -4
  3. package/dist/analysis-report.d.ts +274 -0
  4. package/dist/analysis-report.js +207 -0
  5. package/dist/analysis-report.js.map +1 -0
  6. package/dist/argument-card.d.ts +1 -1
  7. package/dist/argument-card.js +5 -5
  8. package/dist/badge.js +4 -34
  9. package/dist/badge.js.map +1 -1
  10. package/dist/blocks.css +99 -8
  11. package/dist/button.js +1 -1
  12. package/dist/captcha.js +1 -1
  13. package/dist/chunk-5PFCELGW.js +41 -0
  14. package/dist/chunk-5PFCELGW.js.map +1 -0
  15. package/dist/chunk-5RWHDX5J.js +37 -0
  16. package/dist/chunk-5RWHDX5J.js.map +1 -0
  17. package/dist/{chunk-5LANVCK7.js → chunk-BG5APGX6.js} +2 -2
  18. package/dist/{chunk-WOZP3JLW.js → chunk-DJ5ZPPWL.js} +1 -1
  19. package/dist/chunk-DJ5ZPPWL.js.map +1 -0
  20. package/dist/{chunk-UV4HBVH7.js → chunk-EB45EVPJ.js} +2 -2
  21. package/dist/{chunk-SJS6RJIT.js.map → chunk-EB45EVPJ.js.map} +1 -1
  22. package/dist/{chunk-6EAHUURY.js → chunk-GHAN7OOE.js} +2 -2
  23. package/dist/chunk-JT7ZKZT5.js +1 -0
  24. package/dist/chunk-JT7ZKZT5.js.map +1 -0
  25. package/dist/{chunk-3DHNN5V7.js → chunk-M3GEYLMR.js} +2 -2
  26. package/dist/{chunk-3DHNN5V7.js.map → chunk-M3GEYLMR.js.map} +1 -1
  27. package/dist/{chunk-7J2L4HOD.js → chunk-MTVX4RRF.js} +2 -2
  28. package/dist/{chunk-7J2L4HOD.js.map → chunk-MTVX4RRF.js.map} +1 -1
  29. package/dist/{chunk-YKEIOYJ5.js → chunk-NPMGYLJV.js} +1 -1
  30. package/dist/chunk-NPMGYLJV.js.map +1 -0
  31. package/dist/{chunk-HEKDKM5Y.js → chunk-QVHSV6RA.js} +1 -1
  32. package/dist/{chunk-7JG3VR4C.js → chunk-RCKXJEDQ.js} +5 -5
  33. package/dist/chunk-U4XTZMB7.js +103 -0
  34. package/dist/chunk-U4XTZMB7.js.map +1 -0
  35. package/dist/{chunk-SJS6RJIT.js → chunk-V7W4RLRW.js} +2 -2
  36. package/dist/{chunk-UV4HBVH7.js.map → chunk-V7W4RLRW.js.map} +1 -1
  37. package/dist/command.js +2 -2
  38. package/dist/confirm-button.js +1 -1
  39. package/dist/continue-prompt.js +1 -1
  40. package/dist/continue-prompt.js.map +1 -1
  41. package/dist/cover-hero.js +1 -1
  42. package/dist/data-table.js +2 -2
  43. package/dist/date-picker.d.ts +15 -15
  44. package/dist/dialog.js +2 -2
  45. package/dist/embed-facade.d.ts +37 -0
  46. package/dist/embed-facade.js +96 -0
  47. package/dist/embed-facade.js.map +1 -0
  48. package/dist/filter-bar.d.ts +3 -3
  49. package/dist/force-update-screen.js +1 -1
  50. package/dist/genui.js +2 -2
  51. package/dist/kind-config-editor.js +1 -1
  52. package/dist/language-switch.d.ts +9 -9
  53. package/dist/link-card.js +2 -2
  54. package/dist/maintenance-screen.js +1 -1
  55. package/dist/map.js +6 -0
  56. package/dist/map.js.map +1 -1
  57. package/dist/margin-layout.d.ts +71 -0
  58. package/dist/margin-layout.js +29 -0
  59. package/dist/margin-layout.js.map +1 -0
  60. package/dist/match-dialog.js +1 -1
  61. package/dist/media-grid.js +1 -1
  62. package/dist/meter.js +2 -1
  63. package/dist/native/map.js +6 -0
  64. package/dist/native/map.js.map +1 -1
  65. package/dist/native.d.ts +88 -2
  66. package/dist/native.js +1667 -1529
  67. package/dist/native.js.map +1 -1
  68. package/dist/nav-bar.js +1 -1
  69. package/dist/page-DPHDmDAQ.d.ts +131 -0
  70. package/dist/page-hero.js +4 -4
  71. package/dist/page.d.ts +7 -125
  72. package/dist/page.js +13 -1
  73. package/dist/page.js.map +1 -1
  74. package/dist/quota-meter.js +2 -1
  75. package/dist/quota-meter.js.map +1 -1
  76. package/dist/retro-tv.d.ts +6 -3
  77. package/dist/retro-tv.js +6 -5
  78. package/dist/retro-tv.js.map +1 -1
  79. package/dist/reviews.d.ts +49 -0
  80. package/dist/reviews.js +66 -0
  81. package/dist/reviews.js.map +1 -0
  82. package/dist/separator.d.ts +26 -3
  83. package/dist/separator.js +19 -1
  84. package/dist/separator.js.map +1 -1
  85. package/dist/service-card.d.ts +56 -63
  86. package/dist/service-card.js +49 -10
  87. package/dist/service-card.js.map +1 -1
  88. package/dist/settings-layout.js +1 -1
  89. package/dist/site-cahier.js +1 -1
  90. package/dist/specimen-tag.d.ts +15 -3
  91. package/dist/specimen-tag.js +4 -27
  92. package/dist/specimen-tag.js.map +1 -1
  93. package/dist/stat.d.ts +87 -5
  94. package/dist/stat.js +9 -53
  95. package/dist/stat.js.map +1 -1
  96. package/dist/sticky-action.d.ts +7 -2
  97. package/dist/sticky-action.js +24 -3
  98. package/dist/sticky-action.js.map +1 -1
  99. package/dist/theme.js +1 -1
  100. package/dist/update-prompt.js +1 -1
  101. package/dist/usage.d.ts +229 -0
  102. package/dist/usage.js +189 -0
  103. package/dist/usage.js.map +1 -0
  104. package/dist/vertical-video.js +1 -1
  105. package/dist/wall.d.ts +24 -12
  106. package/dist/wall.js +106 -43
  107. package/dist/wall.js.map +1 -1
  108. package/package.json +87 -8
  109. package/registry/account-menu.json +1 -1
  110. package/registry/account-settings.json +1 -1
  111. package/registry/achievement.json +1 -1
  112. package/registry/action-bar.json +1 -1
  113. package/registry/activity-feed.json +1 -1
  114. package/registry/agenda.json +1 -1
  115. package/registry/alert.json +1 -1
  116. package/registry/analysis-report.json +445 -0
  117. package/registry/anatomy-plate.json +1 -1
  118. package/registry/app-header.json +1 -1
  119. package/registry/app-shell.json +1 -1
  120. package/registry/argument-card.json +3 -3
  121. package/registry/audio-player.json +1 -1
  122. package/registry/auth-layout.json +1 -1
  123. package/registry/avatar.json +1 -1
  124. package/registry/badge.json +1 -1
  125. package/registry/bird-plate.json +1 -1
  126. package/registry/button.json +2 -2
  127. package/registry/captcha.json +1 -1
  128. package/registry/card-grid.json +1 -1
  129. package/registry/card.json +1 -1
  130. package/registry/catalogue-page.json +1 -1
  131. package/registry/changelog-page.json +1 -1
  132. package/registry/chapter.json +1 -1
  133. package/registry/chat.json +1 -1
  134. package/registry/checkbox.json +1 -1
  135. package/registry/chip-link.json +1 -1
  136. package/registry/chip-row.json +1 -1
  137. package/registry/chip.json +1 -1
  138. package/registry/choice-grid.json +1 -1
  139. package/registry/code-block.json +1 -1
  140. package/registry/combobox.json +1 -1
  141. package/registry/command.json +1 -1
  142. package/registry/comparison-table.json +1 -1
  143. package/registry/component-page.json +1 -1
  144. package/registry/confirm-button.json +1 -1
  145. package/registry/contact-page.json +1 -1
  146. package/registry/continue-prompt.json +1 -1
  147. package/registry/countdown.json +1 -1
  148. package/registry/cover-hero.json +1 -1
  149. package/registry/cta-panel.json +1 -1
  150. package/registry/dashboard-layout.json +1 -1
  151. package/registry/data-table.json +1 -1
  152. package/registry/date-picker.json +1 -1
  153. package/registry/decision-list.json +1 -1
  154. package/registry/description-list.json +1 -1
  155. package/registry/detail-layout.json +1 -1
  156. package/registry/dialog.json +1 -1
  157. package/registry/docs-article-page.json +1 -1
  158. package/registry/docs-hub-page.json +1 -1
  159. package/registry/docs-layout.json +1 -1
  160. package/registry/docs-nav.json +1 -1
  161. package/registry/document-viewer.json +1 -1
  162. package/registry/doodle.json +1 -1
  163. package/registry/drop-overlay.json +1 -1
  164. package/registry/dropdown-menu.json +1 -1
  165. package/registry/elephant.json +2 -2
  166. package/registry/embed-facade.json +243 -0
  167. package/registry/empty-state.json +1 -1
  168. package/registry/engine-flow.json +1 -1
  169. package/registry/environment-notice.json +1 -1
  170. package/registry/error-page.json +1 -1
  171. package/registry/examples/analysis-report/document-validation.d.ts +4 -0
  172. package/registry/examples/analysis-report/document-validation.js +47 -0
  173. package/registry/examples/analysis-report/document-validation.tsx +29 -0
  174. package/registry/examples/analysis-report/native/document-validation.d.ts +4 -0
  175. package/registry/examples/analysis-report/native/document-validation.dark.png +0 -0
  176. package/registry/examples/analysis-report/native/document-validation.js +48 -0
  177. package/registry/examples/analysis-report/native/document-validation.light.png +0 -0
  178. package/registry/examples/analysis-report/native/document-validation.tsx +32 -0
  179. package/registry/examples/analysis-report/streaming.d.ts +4 -0
  180. package/registry/examples/analysis-report/streaming.js +42 -0
  181. package/registry/examples/analysis-report/streaming.tsx +23 -0
  182. package/registry/examples/embed-facade/tiktok.d.ts +4 -0
  183. package/registry/examples/embed-facade/tiktok.js +20 -0
  184. package/registry/examples/embed-facade/tiktok.tsx +16 -0
  185. package/registry/examples/embed-facade/youtube.d.ts +4 -0
  186. package/registry/examples/embed-facade/youtube.js +22 -0
  187. package/registry/examples/embed-facade/youtube.tsx +20 -0
  188. package/registry/examples/margin-layout/findings.d.ts +4 -0
  189. package/registry/examples/margin-layout/findings.js +15 -0
  190. package/registry/examples/margin-layout/findings.tsx +18 -0
  191. package/registry/examples/margin-layout/steps.d.ts +4 -0
  192. package/registry/examples/margin-layout/steps.js +15 -0
  193. package/registry/examples/margin-layout/steps.tsx +16 -0
  194. package/registry/examples/page/kraft.d.ts +4 -0
  195. package/registry/examples/page/kraft.js +14 -0
  196. package/registry/examples/page/kraft.tsx +12 -0
  197. package/registry/examples/page/papers.d.ts +4 -0
  198. package/registry/examples/page/papers.js +14 -0
  199. package/registry/examples/page/papers.tsx +13 -0
  200. package/registry/examples/retro-tv/facade.d.ts +4 -0
  201. package/registry/examples/retro-tv/facade.js +12 -0
  202. package/registry/examples/retro-tv/facade.tsx +13 -0
  203. package/registry/examples/reviews/card.d.ts +4 -0
  204. package/registry/examples/reviews/card.js +23 -0
  205. package/registry/examples/reviews/card.tsx +19 -0
  206. package/registry/examples/reviews/summary.d.ts +4 -0
  207. package/registry/examples/reviews/summary.js +23 -0
  208. package/registry/examples/reviews/summary.tsx +17 -0
  209. package/registry/examples/separator/hand.d.ts +4 -0
  210. package/registry/examples/separator/hand.js +19 -0
  211. package/registry/examples/separator/hand.tsx +16 -0
  212. package/registry/examples/service-card/index-card.d.ts +4 -0
  213. package/registry/examples/service-card/index-card.js +15 -0
  214. package/registry/examples/service-card/index-card.tsx +12 -0
  215. package/registry/examples/service-card/index-list.d.ts +4 -0
  216. package/registry/examples/service-card/index-list.js +14 -0
  217. package/registry/examples/service-card/index-list.tsx +11 -0
  218. package/registry/examples/specimen-tag/facts.d.ts +4 -0
  219. package/registry/examples/specimen-tag/facts.js +23 -0
  220. package/registry/examples/specimen-tag/facts.tsx +18 -0
  221. package/registry/examples/stat/strip.d.ts +4 -0
  222. package/registry/examples/stat/strip.js +25 -0
  223. package/registry/examples/stat/strip.tsx +25 -0
  224. package/registry/examples/sticky-action/hide-while-visible.d.ts +4 -0
  225. package/registry/examples/sticky-action/hide-while-visible.js +16 -0
  226. package/registry/examples/sticky-action/hide-while-visible.tsx +17 -0
  227. package/registry/examples/usage/credits-page.d.ts +4 -0
  228. package/registry/examples/usage/credits-page.js +45 -0
  229. package/registry/examples/usage/credits-page.tsx +40 -0
  230. package/registry/examples/usage/empty.d.ts +4 -0
  231. package/registry/examples/usage/empty.js +15 -0
  232. package/registry/examples/usage/empty.tsx +12 -0
  233. package/registry/examples/wall/brick.js +1 -1
  234. package/registry/examples/wall/brick.tsx +1 -1
  235. package/registry/examples/wall/composition-fr.js +1 -1
  236. package/registry/examples/wall/composition-fr.tsx +1 -1
  237. package/registry/examples/wall/composition.js +1 -1
  238. package/registry/examples/wall/composition.tsx +1 -1
  239. package/registry/examples/wall/pinned-note.js +2 -2
  240. package/registry/examples/wall/pinned-note.tsx +3 -2
  241. package/registry/examples/wall/plaster.js +1 -1
  242. package/registry/examples/wall/plaster.tsx +1 -1
  243. package/registry/examples/wall/ridge.js +1 -1
  244. package/registry/examples/wall/ridge.tsx +1 -1
  245. package/registry/examples/wall/shop-sign.js +5 -4
  246. package/registry/examples/wall/shop-sign.tsx +7 -4
  247. package/registry/examples/wall/zellige.js +1 -1
  248. package/registry/examples/wall/zellige.tsx +1 -1
  249. package/registry/field.json +1 -1
  250. package/registry/file-upload.json +1 -1
  251. package/registry/filter-bar.json +1 -1
  252. package/registry/flock.json +1 -1
  253. package/registry/footnote.json +1 -1
  254. package/registry/force-update-screen.json +1 -1
  255. package/registry/form.json +1 -1
  256. package/registry/gallery-page.json +1 -1
  257. package/registry/genui.json +1 -1
  258. package/registry/glossary-term.json +1 -1
  259. package/registry/glossary.json +1 -1
  260. package/registry/glow-card.json +1 -1
  261. package/registry/goal-gauge.json +1 -1
  262. package/registry/grade-stamp.json +1 -1
  263. package/registry/how-it-works-page.json +1 -1
  264. package/registry/image-cropper.json +1 -1
  265. package/registry/index.json +184 -17
  266. package/registry/iso.json +1 -1
  267. package/registry/kanban.json +1 -1
  268. package/registry/kbd.json +1 -1
  269. package/registry/kind-config-editor.json +1 -1
  270. package/registry/kpi-explained.json +1 -1
  271. package/registry/landing-page.json +1 -1
  272. package/registry/landscape.json +1 -1
  273. package/registry/language-switch.json +1 -1
  274. package/registry/legal-page.json +1 -1
  275. package/registry/link-card.json +1 -1
  276. package/registry/list.json +1 -1
  277. package/registry/loader.json +1 -1
  278. package/registry/longform-page.json +1 -1
  279. package/registry/maintenance-screen.json +1 -1
  280. package/registry/map.json +2 -2
  281. package/registry/margin-layout.json +200 -0
  282. package/registry/markdown.json +1 -1
  283. package/registry/marketing-layout.json +1 -1
  284. package/registry/marquee.json +1 -1
  285. package/registry/mascot-quote.json +1 -1
  286. package/registry/mascot-state.json +1 -1
  287. package/registry/mascots.json +1 -1
  288. package/registry/match-dialog.json +1 -1
  289. package/registry/media-capture.json +1 -1
  290. package/registry/media-gallery.json +1 -1
  291. package/registry/media-grid.json +1 -1
  292. package/registry/meta-row.json +1 -1
  293. package/registry/meter.json +1 -1
  294. package/registry/nav-bar.json +2 -2
  295. package/registry/next-actions.json +1 -1
  296. package/registry/notification-preferences.json +1 -1
  297. package/registry/number-ticker.json +1 -1
  298. package/registry/opening-hours.json +1 -1
  299. package/registry/page-header.json +1 -1
  300. package/registry/page-hero.json +1 -1
  301. package/registry/page-index.json +1 -1
  302. package/registry/page.json +53 -11
  303. package/registry/pagination.json +1 -1
  304. package/registry/photo-grid.json +1 -1
  305. package/registry/pointer-light.json +1 -1
  306. package/registry/popover.json +1 -1
  307. package/registry/pricing-page.json +1 -1
  308. package/registry/product-page.json +1 -1
  309. package/registry/profile-card.json +1 -1
  310. package/registry/progress.json +1 -1
  311. package/registry/promise-card.json +1 -1
  312. package/registry/quota-meter.json +1 -1
  313. package/registry/radio-group.json +1 -1
  314. package/registry/rail-nav.json +2 -2
  315. package/registry/recipes.json +1 -1
  316. package/registry/retro-tv.json +45 -29
  317. package/registry/reviews.json +361 -0
  318. package/registry/router.json +1 -1
  319. package/registry/scroll-stage.json +1 -1
  320. package/registry/search-field.json +1 -1
  321. package/registry/section-backdrop.json +1 -1
  322. package/registry/separator.json +71 -6
  323. package/registry/service-card.json +55 -6
  324. package/registry/settings-layout.json +1 -1
  325. package/registry/showcase.json +1 -1
  326. package/registry/signature.json +1 -1
  327. package/registry/site-cahier.json +1 -1
  328. package/registry/site-footer.json +2 -2
  329. package/registry/sites.json +1 -1
  330. package/registry/skeleton.json +1 -1
  331. package/registry/skip-link.json +1 -1
  332. package/registry/slider.json +1 -1
  333. package/registry/slot-picker.json +1 -1
  334. package/registry/slot.json +1 -1
  335. package/registry/specimen-tag.json +57 -5
  336. package/registry/speed-lines.json +1 -1
  337. package/registry/spinner.json +1 -1
  338. package/registry/split-view.json +1 -1
  339. package/registry/stage-banner.json +1 -1
  340. package/registry/stat.json +61 -9
  341. package/registry/status-chip.json +1 -1
  342. package/registry/status-page.json +1 -1
  343. package/registry/step-progress.json +1 -1
  344. package/registry/step-showcase.json +1 -1
  345. package/registry/stepper.json +1 -1
  346. package/registry/sticky-action.json +27 -4
  347. package/registry/stuck.json +1 -1
  348. package/registry/swipe-deck.json +1 -1
  349. package/registry/switch.json +1 -1
  350. package/registry/tabs.json +1 -1
  351. package/registry/tag-input.json +1 -1
  352. package/registry/tag-selector.json +1 -1
  353. package/registry/taped-photo.json +1 -1
  354. package/registry/terminal-replay.json +1 -1
  355. package/registry/text-style.json +1 -1
  356. package/registry/theme.json +1 -1
  357. package/registry/toast.json +1 -1
  358. package/registry/toc.json +1 -1
  359. package/registry/tooltip.json +1 -1
  360. package/registry/tree-view.json +1 -1
  361. package/registry/update-prompt.json +1 -1
  362. package/registry/upload-queue.json +1 -1
  363. package/registry/usage.json +542 -0
  364. package/registry/verified-badge.json +1 -1
  365. package/registry/versus-card.json +1 -1
  366. package/registry/vertical-video.json +1 -1
  367. package/registry/video-player.json +1 -1
  368. package/registry/video-trimmer.json +3 -3
  369. package/registry/virtual.json +1 -1
  370. package/registry/wall.json +128 -40
  371. package/registry/waveform.json +1 -1
  372. package/dist/chunk-WOZP3JLW.js.map +0 -1
  373. package/dist/chunk-YKEIOYJ5.js.map +0 -1
  374. /package/dist/{chunk-5LANVCK7.js.map → chunk-BG5APGX6.js.map} +0 -0
  375. /package/dist/{chunk-6EAHUURY.js.map → chunk-GHAN7OOE.js.map} +0 -0
  376. /package/dist/{chunk-HEKDKM5Y.js.map → chunk-QVHSV6RA.js.map} +0 -0
  377. /package/dist/{chunk-7JG3VR4C.js.map → chunk-RCKXJEDQ.js.map} +0 -0
@@ -132,7 +132,7 @@
132
132
  },
133
133
  {
134
134
  "path": "meta.ts",
135
- "content": "// The documentation of a component, carried by its code: each primitive has a `meta.ts` beside its source\n// (`src/<name>/meta.ts`; a component that exists only in React Native: `src/native/meta/<name>.ts`). Never built into\n// the package: `scripts/build-registry.mjs` reads them into `registry/<name>.json`, which ui.krizaka.com (apps/site) renders as\n// ui.krizaka.com/components/<name>, and `scripts/registry.test.mjs` fails when one is missing or incomplete.\n//\n// Why a typed module and not JSDoc tags: the fields are lists and links (`related`, `whenNotToUse[].use`, examples),\n// which a type checks and a comment does not; the file is plain data (erasable TypeScript), so Node reads it without a\n// compiler, and an editor completes it.\n\n/** Every documented component: the web primitives (one entry of the package each) and the native-only ones. */\nexport type ComponentName =\n | \"notification-preferences\"\n | \"quota-meter\"\n | \"environment-notice\"\n | \"status-chip\"\n | \"kind-config-editor\"\n | \"agenda\"\n | \"account-settings\"\n | \"drop-overlay\"\n | \"upload-queue\"\n | \"achievement\"\n | \"anatomy-plate\"\n | \"bird-plate\"\n | \"taped-photo\"\n | \"stuck\"\n | \"doodle\"\n | \"signature\"\n | \"grade-stamp\"\n | \"versus-card\"\n | \"speed-lines\"\n | \"site-cahier\"\n | \"text-style\"\n | \"flock\"\n | \"elephant\"\n | \"footnote\"\n | \"page-index\"\n | \"chapter\"\n | \"specimen-tag\"\n | \"action-bar\"\n | \"action-sheet\"\n | \"activity-feed\"\n | \"alert\"\n | \"app-header\"\n | \"app-shell\"\n | \"argument-card\"\n | \"audio-player\"\n | \"auth-layout\"\n | \"avatar\"\n | \"badge\"\n | \"button\"\n | \"captcha\"\n | \"card\"\n | \"card-grid\"\n | \"catalogue-page\"\n | \"changelog-page\"\n | \"chat\"\n | \"checkbox\"\n | \"chip\"\n | \"chip-link\"\n | \"chip-row\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"contact-page\"\n | \"continue-prompt\"\n | \"countdown\"\n | \"cover-hero\"\n | \"cta-panel\"\n | \"dashboard-layout\"\n | \"data-table\"\n | \"date-picker\"\n | \"decision-list\"\n | \"description-list\"\n | \"detail-layout\"\n | \"dialog\"\n | \"docs-article-page\"\n | \"docs-hub-page\"\n | \"docs-layout\"\n | \"docs-nav\"\n | \"document-viewer\"\n | \"dropdown-menu\"\n | \"empty-state\"\n | \"engine-flow\"\n | \"error-page\"\n | \"fab\"\n | \"field\"\n | \"file-upload\"\n | \"filter-bar\"\n | \"force-update-screen\"\n | \"form\"\n | \"gallery-page\"\n | \"genui\"\n | \"glossary\"\n | \"glossary-term\"\n | \"glow-card\"\n | \"goal-gauge\"\n | \"header\"\n | \"how-it-works-page\"\n | \"image-cropper\"\n | \"image-viewer\"\n | \"iso\"\n | \"kanban\"\n | \"kbd\"\n | \"kpi-explained\"\n | \"landing-page\"\n | \"landscape\"\n | \"legal-page\"\n | \"link-card\"\n | \"list\"\n | \"loader\"\n | \"longform-page\"\n | \"maintenance-screen\"\n | \"map\"\n | \"markdown\"\n | \"meta-row\"\n | \"waveform\"\n | \"marketing-layout\"\n | \"marquee\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\n | \"media-grid\"\n | \"language-switch\"\n | \"media-gallery\"\n | \"media-picker\"\n | \"meter\"\n | \"nav-bar\"\n | \"number-ticker\"\n | \"onboarding\"\n | \"opening-hours\"\n | \"otp-input\"\n | \"page\"\n | \"page-header\"\n | \"page-hero\"\n | \"pagination\"\n | \"permission-prompt\"\n | \"photo-grid\"\n | \"pointer-light\"\n | \"popover\"\n | \"pricing-page\"\n | \"product-page\"\n | \"profile-card\"\n | \"progress\"\n | \"promise-card\"\n | \"pull-to-refresh\"\n | \"retro-tv\"\n | \"radio-group\"\n | \"router\"\n | \"rail-nav\"\n | \"recipes\"\n | \"screen\"\n | \"scroll-stage\"\n | \"search-field\"\n | \"section-backdrop\"\n | \"segmented\"\n | \"separator\"\n | \"service-card\"\n | \"settings-layout\"\n | \"account-menu\"\n | \"showcase\"\n | \"step-showcase\"\n | \"site-footer\"\n | \"sites\"\n | \"skeleton\"\n | \"skip-link\"\n | \"slider\"\n | \"slot-picker\"\n | \"slot\"\n | \"spinner\"\n | \"sticky-action\"\n | \"splash-handoff\"\n | \"split-view\"\n | \"stage-banner\"\n | \"stat\"\n | \"status-page\"\n | \"step-progress\"\n | \"stepper\"\n | \"swipe-deck\"\n | \"swipeable-row\"\n | \"switch\"\n | \"tab-bar\"\n | \"tabs\"\n | \"tag-input\"\n | \"tag-selector\"\n | \"terminal-replay\"\n | \"theme\"\n | \"toast\"\n | \"toc\"\n | \"tooltip\"\n | \"tree-view\"\n | \"txt\"\n | \"update-prompt\"\n | \"verified-badge\"\n | \"vertical-video\"\n | \"video-player\"\n | \"video-trimmer\"\n | \"virtual\"\n | \"wall\";\n\n/** Where a component exists: `@krizaka/ui/<name>` (web), `@krizaka/ui/native` (React Native), or both. */\nexport type Platform = \"web\" | \"native\" | \"both\";\n\n/**\n * Why a component is not on a platform — a decision, never a silence (the parity matrix of ui.krizaka.com/platforms):\n * - `gap` (✗): it belongs there and is not built yet; `issue` is the issue that tracks it (`krizaka/krizaka-ui#275`);\n * - `n/a`: it is not meant for that platform (a site's page block on a phone, a swipe on a desktop); `use` names the\n * component that answers there, when one does.\n */\nexport type Absence =\n | { readonly status: \"gap\"; readonly issue: string; readonly reason: string; readonly use?: undefined }\n | { readonly status: \"n/a\"; readonly reason: string; readonly use?: ComponentName; readonly issue?: undefined };\n\n/**\n * Desktop is the Orazaka Mac app (Tauri 2: the system WebView renders the web components — ADR-002). `web`: the web\n * component runs there as it is; `desktop`: it also has a desktop form (a window's title bar, a denser layout…), said in\n * its documentation; otherwise the absence and why.\n */\nexport type DesktopSupport = \"web\" | \"desktop\" | Absence;\n\n/**\n * The three platforms of Krizaka UI — web · native (React Native, Expo) · desktop — for one component. The side a\n * component has is `platforms`; the side it lacks says why here: `native` is required for (and only for) a web-only\n * component, `web` for a native-only one; `desktop` always. `scripts/registry.test.mjs` fails on a missing decision.\n */\nexport interface Parity {\n readonly web?: Absence;\n readonly native?: Absence;\n readonly desktop: DesktopSupport;\n}\n\n/**\n * `stable`: its API only changes in a major. `beta`: it may still change in a minor. `deprecated`: no product uses it and\n * no work plans to — it still works, says what replaces it, and goes in the major named by `deprecated.removedIn`.\n */\nexport type Status = \"stable\" | \"beta\" | \"deprecated\";\n\n/** What a deprecated component says (required when `status` is `deprecated`, absent otherwise). */\nexport interface Deprecation {\n /** The version that deprecated it (`3.6.0`). */\n readonly since: string;\n /** The major that removes it (`4.0.0`). */\n readonly removedIn: string;\n /** What replaces it, when a component does. */\n readonly use?: ComponentName;\n /** Why it goes: no product uses it, no planned work needs it. */\n readonly reason: string;\n}\n\n/**\n * The group of the catalogue. `media`: video, sound, camera, files, cropping. `blocks`: the page blocks — the frame,\n * the hero, sections, cards that lead or argue, decisions, code, calls to act — that every page of a site is made of.\n * `layouts`: the shells of whole screens — an application, a dashboard, settings, sign-in, an object, a list and its\n * item, a site's page, a documentation page — each with its screens. `templates`: the page templates — whole pages of a\n * site (a landing, a product, a docs hub, a long read, a changelog, pricing, status, an error…), each a distinct\n * composition of the blocks, words and content as props.\n */\nexport type Category = \"actions\" | \"forms\" | \"navigation\" | \"overlays\" | \"feedback\" | \"data-display\" | \"media\" | \"blocks\" | \"layouts\" | \"templates\" | \"layout\" | \"foundations\";\n\n/** Why a reader needs a template: the seven intents the templates are grouped by (sidebar sub-headings, catalogue filter). */\nexport type TemplatePurpose = \"convince\" | \"explain\" | \"show\" | \"act\" | \"operate\" | \"converse\" | \"recover\";\n\n/** The groups of templates, in reading order: the title, and the one line that says when to come to that group. */\nexport const templatePurposes = {\n convince: { title: \"Convince\", useWhen: \"You come here when a visitor must decide: a landing, a product, a price, a comparison, a proof.\" },\n explain: { title: \"Explain\", useWhen: \"You come here when a reader must understand: how it works, a documentation hub or article, a changelog, a FAQ, a policy.\" },\n show: { title: \"Show\", useWhen: \"You come here when the work itself is the argument: a gallery, a story, a case study, an object and its details.\" },\n act: { title: \"Act\", useWhen: \"You come here when a person must do something once: reach the team, sign in or up, set up, pay.\" },\n operate: { title: \"Operate\", useWhen: \"You come here when a person works every day: a dashboard, a console with a table, settings, an app shell.\" },\n converse: { title: \"Converse\", useWhen: \"You come here when people talk: an inbox, a chat, comments, a notifications centre.\" },\n recover: { title: \"Recover\", useWhen: \"You come here when the way is blocked: an empty list, an error, a missing page, maintenance, a product still being built.\" },\n} as const satisfies Record<TemplatePurpose, { readonly title: string; readonly useWhen: string }>;\n\n/**\n * A named example: the file `registry/examples/<component>/<name>.tsx` (web) or\n * `registry/examples/<component>/native/<name>.tsx` (React Native) — at most 40 lines, imported by the stories and\n * shown (live, with its code) by the documentation.\n */\ninterface ExampleBase {\n /** The file name, kebab-case (`primary`, `icon-button`). */\n readonly name: string;\n /** A short title (`Primary`, `Icon button`). */\n readonly title: string;\n /** One or two sentences: when this variant is the right one. */\n readonly description: string;\n}\n\n/** A plain example, or a template: a whole screen with its intent (`purpose`) and the user goal its layout serves (`why`). */\nexport type Example =\n | (ExampleBase & { readonly template?: false; readonly purpose?: undefined; readonly why?: undefined })\n | (ExampleBase & {\n /**\n * A template: a whole screen of a product composed from the platform (a layout and its blocks, real words, its\n * phone version thought out), copied as a starting point — at most 160 lines, listed on ui.krizaka.com/templates.\n */\n readonly template: true;\n /** The intent that groups it: why you need this block. */\n readonly purpose: TemplatePurpose;\n /** Why this layout: the user goal it serves, in one sentence. */\n readonly why: string;\n });\n\n/** One platform's side of a component. */\nexport interface PlatformDocs {\n /** The names to import (`[\"Button\", \"IconButton\"]`): from `@krizaka/ui/<name>` on the web, `@krizaka/ui/native` in React Native. */\n readonly imports: readonly string[];\n /** The examples, in reading order; the first one is the component's preview. */\n readonly examples: readonly Example[];\n}\n\n/** The React Native side: the same concept, and what differs from the web API. */\nexport interface NativeDocs extends PlatformDocs {\n /**\n * The entry to import from when it is not `@krizaka/ui/native`: a component that needs an Expo module (an optional\n * peer) has its own, `@krizaka/ui/native/<name>`, so an app that does not use it never installs the module.\n */\n readonly entry?: string;\n /** What differs from the web API (`label` instead of children…); empty for a native-only component. */\n readonly differences: readonly string[];\n /** The React Native entry alone is deprecated while the web one stays (ADR-006 §7); a deprecated component says it once, above. */\n readonly deprecated?: Deprecation;\n}\n\nexport interface KeyboardInteraction {\n /** The keys, as written on a keyboard: `Space`, `Enter`, `Arrow keys`, `Esc`, `Tab`. */\n readonly keys: string;\n /** What they do. */\n readonly action: string;\n}\n\nexport interface ComponentMeta {\n /** The display name: `Button`, `Dropdown menu`. */\n readonly title: string;\n /** One sentence: what it is. */\n readonly summary: string;\n readonly status: Status;\n /** Required for, and only for, a `deprecated` component. */\n readonly deprecated?: Deprecation;\n readonly category: Category;\n /** Must match the sides below: `both` ⇔ `web` and `native`. */\n readonly platforms: Platform;\n /** The platforms it is not on, and why; and its desktop form (see `Parity`). */\n readonly parity: Parity;\n /** When to reach for it: concrete situations, one per item. */\n readonly whenToUse: readonly string[];\n /** When not to — and what to use instead (`use`), when another component is the answer. */\n readonly whenNotToUse: readonly { readonly when: string; readonly use?: ComponentName }[];\n /** How to use it well: wording, placement, composition. */\n readonly bestPractices: readonly string[];\n readonly accessibility: {\n /** The keyboard, when it does more than Tab and Enter. */\n readonly keyboard: readonly KeyboardInteraction[];\n /** Roles, names and announcements: what the component does, what the app must provide. */\n readonly notes: readonly string[];\n };\n /** The components a reader of this page should know about. */\n readonly related: readonly ComponentName[];\n readonly web?: PlatformDocs;\n readonly native?: NativeDocs;\n}\n"
135
+ "content": "// The documentation of a component, carried by its code: each primitive has a `meta.ts` beside its source\n// (`src/<name>/meta.ts`; a component that exists only in React Native: `src/native/meta/<name>.ts`). Never built into\n// the package: `scripts/build-registry.mjs` reads them into `registry/<name>.json`, which ui.krizaka.com (apps/site) renders as\n// ui.krizaka.com/components/<name>, and `scripts/registry.test.mjs` fails when one is missing or incomplete.\n//\n// Why a typed module and not JSDoc tags: the fields are lists and links (`related`, `whenNotToUse[].use`, examples),\n// which a type checks and a comment does not; the file is plain data (erasable TypeScript), so Node reads it without a\n// compiler, and an editor completes it.\n\n/** Every documented component: the web primitives (one entry of the package each) and the native-only ones. */\nexport type ComponentName =\n | \"notification-preferences\"\n | \"quota-meter\"\n | \"environment-notice\"\n | \"embed-facade\"\n | \"reviews\"\n | \"margin-layout\"\n | \"analysis-report\"\n | \"status-chip\"\n | \"kind-config-editor\"\n | \"agenda\"\n | \"account-settings\"\n | \"drop-overlay\"\n | \"upload-queue\"\n | \"achievement\"\n | \"anatomy-plate\"\n | \"bird-plate\"\n | \"taped-photo\"\n | \"stuck\"\n | \"doodle\"\n | \"signature\"\n | \"grade-stamp\"\n | \"versus-card\"\n | \"speed-lines\"\n | \"site-cahier\"\n | \"text-style\"\n | \"flock\"\n | \"elephant\"\n | \"footnote\"\n | \"page-index\"\n | \"chapter\"\n | \"specimen-tag\"\n | \"action-bar\"\n | \"action-sheet\"\n | \"activity-feed\"\n | \"alert\"\n | \"app-header\"\n | \"app-shell\"\n | \"argument-card\"\n | \"audio-player\"\n | \"auth-layout\"\n | \"avatar\"\n | \"badge\"\n | \"button\"\n | \"captcha\"\n | \"card\"\n | \"card-grid\"\n | \"catalogue-page\"\n | \"changelog-page\"\n | \"chat\"\n | \"checkbox\"\n | \"chip\"\n | \"chip-link\"\n | \"chip-row\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"contact-page\"\n | \"continue-prompt\"\n | \"countdown\"\n | \"cover-hero\"\n | \"cta-panel\"\n | \"dashboard-layout\"\n | \"data-table\"\n | \"date-picker\"\n | \"decision-list\"\n | \"description-list\"\n | \"detail-layout\"\n | \"dialog\"\n | \"docs-article-page\"\n | \"docs-hub-page\"\n | \"docs-layout\"\n | \"docs-nav\"\n | \"document-viewer\"\n | \"dropdown-menu\"\n | \"empty-state\"\n | \"engine-flow\"\n | \"error-page\"\n | \"fab\"\n | \"field\"\n | \"file-upload\"\n | \"filter-bar\"\n | \"force-update-screen\"\n | \"form\"\n | \"gallery-page\"\n | \"genui\"\n | \"glossary\"\n | \"glossary-term\"\n | \"glow-card\"\n | \"goal-gauge\"\n | \"header\"\n | \"how-it-works-page\"\n | \"image-cropper\"\n | \"image-viewer\"\n | \"iso\"\n | \"kanban\"\n | \"kbd\"\n | \"kpi-explained\"\n | \"landing-page\"\n | \"landscape\"\n | \"legal-page\"\n | \"link-card\"\n | \"list\"\n | \"loader\"\n | \"longform-page\"\n | \"maintenance-screen\"\n | \"map\"\n | \"markdown\"\n | \"meta-row\"\n | \"waveform\"\n | \"marketing-layout\"\n | \"marquee\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\n | \"media-grid\"\n | \"language-switch\"\n | \"media-gallery\"\n | \"media-picker\"\n | \"meter\"\n | \"nav-bar\"\n | \"number-ticker\"\n | \"onboarding\"\n | \"opening-hours\"\n | \"otp-input\"\n | \"page\"\n | \"page-header\"\n | \"page-hero\"\n | \"pagination\"\n | \"permission-prompt\"\n | \"photo-grid\"\n | \"pointer-light\"\n | \"popover\"\n | \"pricing-page\"\n | \"product-page\"\n | \"profile-card\"\n | \"progress\"\n | \"promise-card\"\n | \"pull-to-refresh\"\n | \"retro-tv\"\n | \"radio-group\"\n | \"router\"\n | \"rail-nav\"\n | \"recipes\"\n | \"screen\"\n | \"scroll-stage\"\n | \"search-field\"\n | \"section-backdrop\"\n | \"segmented\"\n | \"separator\"\n | \"service-card\"\n | \"settings-layout\"\n | \"account-menu\"\n | \"showcase\"\n | \"step-showcase\"\n | \"site-footer\"\n | \"sites\"\n | \"skeleton\"\n | \"skip-link\"\n | \"slider\"\n | \"slot-picker\"\n | \"slot\"\n | \"spinner\"\n | \"sticky-action\"\n | \"splash-handoff\"\n | \"split-view\"\n | \"stage-banner\"\n | \"stat\"\n | \"usage\"\n | \"status-page\"\n | \"step-progress\"\n | \"stepper\"\n | \"swipe-deck\"\n | \"swipeable-row\"\n | \"switch\"\n | \"tab-bar\"\n | \"tabs\"\n | \"tag-input\"\n | \"tag-selector\"\n | \"terminal-replay\"\n | \"theme\"\n | \"toast\"\n | \"toc\"\n | \"tooltip\"\n | \"tree-view\"\n | \"txt\"\n | \"update-prompt\"\n | \"verified-badge\"\n | \"vertical-video\"\n | \"video-player\"\n | \"video-trimmer\"\n | \"virtual\"\n | \"wall\";\n\n/** Where a component exists: `@krizaka/ui/<name>` (web), `@krizaka/ui/native` (React Native), or both. */\nexport type Platform = \"web\" | \"native\" | \"both\";\n\n/**\n * Why a component is not on a platform — a decision, never a silence (the parity matrix of ui.krizaka.com/platforms):\n * - `gap` (✗): it belongs there and is not built yet; `issue` is the issue that tracks it (`krizaka/krizaka-ui#275`);\n * - `n/a`: it is not meant for that platform (a site's page block on a phone, a swipe on a desktop); `use` names the\n * component that answers there, when one does.\n */\nexport type Absence =\n | { readonly status: \"gap\"; readonly issue: string; readonly reason: string; readonly use?: undefined }\n | { readonly status: \"n/a\"; readonly reason: string; readonly use?: ComponentName; readonly issue?: undefined };\n\n/**\n * Desktop is the Orazaka Mac app (Tauri 2: the system WebView renders the web components — ADR-002). `web`: the web\n * component runs there as it is; `desktop`: it also has a desktop form (a window's title bar, a denser layout…), said in\n * its documentation; otherwise the absence and why.\n */\nexport type DesktopSupport = \"web\" | \"desktop\" | Absence;\n\n/**\n * The three platforms of Krizaka UI — web · native (React Native, Expo) · desktop — for one component. The side a\n * component has is `platforms`; the side it lacks says why here: `native` is required for (and only for) a web-only\n * component, `web` for a native-only one; `desktop` always. `scripts/registry.test.mjs` fails on a missing decision.\n */\nexport interface Parity {\n readonly web?: Absence;\n readonly native?: Absence;\n readonly desktop: DesktopSupport;\n}\n\n/**\n * `stable`: its API only changes in a major. `beta`: it may still change in a minor. `deprecated`: no product uses it and\n * no work plans to — it still works, says what replaces it, and goes in the major named by `deprecated.removedIn`.\n */\nexport type Status = \"stable\" | \"beta\" | \"deprecated\";\n\n/** What a deprecated component says (required when `status` is `deprecated`, absent otherwise). */\nexport interface Deprecation {\n /** The version that deprecated it (`3.6.0`). */\n readonly since: string;\n /** The major that removes it (`4.0.0`). */\n readonly removedIn: string;\n /** What replaces it, when a component does. */\n readonly use?: ComponentName;\n /** Why it goes: no product uses it, no planned work needs it. */\n readonly reason: string;\n}\n\n/**\n * The group of the catalogue. `media`: video, sound, camera, files, cropping. `blocks`: the page blocks — the frame,\n * the hero, sections, cards that lead or argue, decisions, code, calls to act — that every page of a site is made of.\n * `layouts`: the shells of whole screens — an application, a dashboard, settings, sign-in, an object, a list and its\n * item, a site's page, a documentation page — each with its screens. `templates`: the page templates — whole pages of a\n * site (a landing, a product, a docs hub, a long read, a changelog, pricing, status, an error…), each a distinct\n * composition of the blocks, words and content as props.\n */\nexport type Category = \"actions\" | \"forms\" | \"navigation\" | \"overlays\" | \"feedback\" | \"data-display\" | \"media\" | \"blocks\" | \"layouts\" | \"templates\" | \"layout\" | \"foundations\";\n\n/** Why a reader needs a template: the seven intents the templates are grouped by (sidebar sub-headings, catalogue filter). */\nexport type TemplatePurpose = \"convince\" | \"explain\" | \"show\" | \"act\" | \"operate\" | \"converse\" | \"recover\";\n\n/** The groups of templates, in reading order: the title, and the one line that says when to come to that group. */\nexport const templatePurposes = {\n convince: { title: \"Convince\", useWhen: \"You come here when a visitor must decide: a landing, a product, a price, a comparison, a proof.\" },\n explain: { title: \"Explain\", useWhen: \"You come here when a reader must understand: how it works, a documentation hub or article, a changelog, a FAQ, a policy.\" },\n show: { title: \"Show\", useWhen: \"You come here when the work itself is the argument: a gallery, a story, a case study, an object and its details.\" },\n act: { title: \"Act\", useWhen: \"You come here when a person must do something once: reach the team, sign in or up, set up, pay.\" },\n operate: { title: \"Operate\", useWhen: \"You come here when a person works every day: a dashboard, a console with a table, settings, an app shell.\" },\n converse: { title: \"Converse\", useWhen: \"You come here when people talk: an inbox, a chat, comments, a notifications centre.\" },\n recover: { title: \"Recover\", useWhen: \"You come here when the way is blocked: an empty list, an error, a missing page, maintenance, a product still being built.\" },\n} as const satisfies Record<TemplatePurpose, { readonly title: string; readonly useWhen: string }>;\n\n/**\n * A named example: the file `registry/examples/<component>/<name>.tsx` (web) or\n * `registry/examples/<component>/native/<name>.tsx` (React Native) — at most 40 lines, imported by the stories and\n * shown (live, with its code) by the documentation.\n */\ninterface ExampleBase {\n /** The file name, kebab-case (`primary`, `icon-button`). */\n readonly name: string;\n /** A short title (`Primary`, `Icon button`). */\n readonly title: string;\n /** One or two sentences: when this variant is the right one. */\n readonly description: string;\n}\n\n/** A plain example, or a template: a whole screen with its intent (`purpose`) and the user goal its layout serves (`why`). */\nexport type Example =\n | (ExampleBase & { readonly template?: false; readonly purpose?: undefined; readonly why?: undefined })\n | (ExampleBase & {\n /**\n * A template: a whole screen of a product composed from the platform (a layout and its blocks, real words, its\n * phone version thought out), copied as a starting point — at most 160 lines, listed on ui.krizaka.com/templates.\n */\n readonly template: true;\n /** The intent that groups it: why you need this block. */\n readonly purpose: TemplatePurpose;\n /** Why this layout: the user goal it serves, in one sentence. */\n readonly why: string;\n });\n\n/** One platform's side of a component. */\nexport interface PlatformDocs {\n /** The names to import (`[\"Button\", \"IconButton\"]`): from `@krizaka/ui/<name>` on the web, `@krizaka/ui/native` in React Native. */\n readonly imports: readonly string[];\n /** The examples, in reading order; the first one is the component's preview. */\n readonly examples: readonly Example[];\n}\n\n/** The React Native side: the same concept, and what differs from the web API. */\nexport interface NativeDocs extends PlatformDocs {\n /**\n * The entry to import from when it is not `@krizaka/ui/native`: a component that needs an Expo module (an optional\n * peer) has its own, `@krizaka/ui/native/<name>`, so an app that does not use it never installs the module.\n */\n readonly entry?: string;\n /** What differs from the web API (`label` instead of children…); empty for a native-only component. */\n readonly differences: readonly string[];\n /** The React Native entry alone is deprecated while the web one stays (ADR-006 §7); a deprecated component says it once, above. */\n readonly deprecated?: Deprecation;\n}\n\nexport interface KeyboardInteraction {\n /** The keys, as written on a keyboard: `Space`, `Enter`, `Arrow keys`, `Esc`, `Tab`. */\n readonly keys: string;\n /** What they do. */\n readonly action: string;\n}\n\nexport interface ComponentMeta {\n /** The display name: `Button`, `Dropdown menu`. */\n readonly title: string;\n /** One sentence: what it is. */\n readonly summary: string;\n readonly status: Status;\n /** Required for, and only for, a `deprecated` component. */\n readonly deprecated?: Deprecation;\n readonly category: Category;\n /** Must match the sides below: `both` ⇔ `web` and `native`. */\n readonly platforms: Platform;\n /** The platforms it is not on, and why; and its desktop form (see `Parity`). */\n readonly parity: Parity;\n /** When to reach for it: concrete situations, one per item. */\n readonly whenToUse: readonly string[];\n /** When not to — and what to use instead (`use`), when another component is the answer. */\n readonly whenNotToUse: readonly { readonly when: string; readonly use?: ComponentName }[];\n /** How to use it well: wording, placement, composition. */\n readonly bestPractices: readonly string[];\n readonly accessibility: {\n /** The keyboard, when it does more than Tab and Enter. */\n readonly keyboard: readonly KeyboardInteraction[];\n /** Roles, names and announcements: what the component does, what the app must provide. */\n readonly notes: readonly string[];\n };\n /** The components a reader of this page should know about. */\n readonly related: readonly ComponentName[];\n readonly web?: PlatformDocs;\n readonly native?: NativeDocs;\n}\n"
136
136
  }
137
137
  ],
138
138
  "dependencies": [],
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,47 @@
1
+ "use client";
2
+
3
+ // registry/examples/analysis-report/document-validation.tsx
4
+ import { AnalysisReport } from "@krizaka/ui/analysis-report";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var labels = {
7
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
8
+ findings: "Findings",
9
+ mayIndicate: "May indicate",
10
+ location: "Where:",
11
+ evidence: "Evidence",
12
+ details: "Details",
13
+ limits: "What this report did not examine",
14
+ nextSteps: "Next steps",
15
+ provenance: "Provenance",
16
+ model: "Model",
17
+ runId: "Run",
18
+ duration: "Duration",
19
+ version: "Version",
20
+ copyJson: "Copy JSON",
21
+ copyMarkdown: "Copy Markdown",
22
+ copied: "Copied",
23
+ streaming: "Findings are arriving",
24
+ noFindings: "No finding."
25
+ };
26
+ function AnalysisReportDocumentValidation() {
27
+ return /* @__PURE__ */ jsx(
28
+ AnalysisReport,
29
+ {
30
+ labels,
31
+ title: "Document validation",
32
+ summary: "Two signals disagree with the document's own dates.",
33
+ status: "inconsistent",
34
+ findings: [
35
+ { id: "1", status: "inconsistent", code: "PDF-META-002", title: "Modified after it was signed", observation: "The file was saved 12 days after the signature date.", mayIndicate: "An edit after signing, or a re-export. Not proof of tampering.", location: "metadata", evidence: "CreationDate: 2026-03-02\nModDate: 2026-03-14" },
36
+ { id: "2", status: "attention", code: "PDF-FONT-001", title: "Two fonts on one line", observation: "A single line mixes two typefaces.", location: "page 2" },
37
+ { id: "3", status: "consistent", code: "PDF-PAGE-001", title: "Page count matches", observation: "4 pages, as the footer says." }
38
+ ],
39
+ limits: ["Handwritten signatures were not compared.", "The sender's identity was not checked."],
40
+ nextSteps: ["Ask the sender for the original file.", "Compare with the copy on record."],
41
+ provenance: { model: "demo-model-1", runId: "run_8f3a21", duration: "4.2 s", version: "1.3.0" }
42
+ }
43
+ );
44
+ }
45
+ export {
46
+ AnalysisReportDocumentValidation as default
47
+ };
@@ -0,0 +1,29 @@
1
+ import { AnalysisReport, type AnalysisReportLabels } from "@krizaka/ui/analysis-report";
2
+
3
+ // The words come from the app's messages (demo wording here).
4
+ const labels: AnalysisReportLabels = {
5
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
6
+ findings: "Findings", mayIndicate: "May indicate", location: "Where:", evidence: "Evidence", details: "Details",
7
+ limits: "What this report did not examine", nextSteps: "Next steps", provenance: "Provenance",
8
+ model: "Model", runId: "Run", duration: "Duration", version: "Version",
9
+ copyJson: "Copy JSON", copyMarkdown: "Copy Markdown", copied: "Copied", streaming: "Findings are arriving", noFindings: "No finding.",
10
+ };
11
+
12
+ export default function AnalysisReportDocumentValidation() {
13
+ return (
14
+ <AnalysisReport
15
+ labels={labels}
16
+ title="Document validation"
17
+ summary="Two signals disagree with the document's own dates."
18
+ status="inconsistent"
19
+ findings={[
20
+ { id: "1", status: "inconsistent", code: "PDF-META-002", title: "Modified after it was signed", observation: "The file was saved 12 days after the signature date.", mayIndicate: "An edit after signing, or a re-export. Not proof of tampering.", location: "metadata", evidence: "CreationDate: 2026-03-02\nModDate: 2026-03-14" },
21
+ { id: "2", status: "attention", code: "PDF-FONT-001", title: "Two fonts on one line", observation: "A single line mixes two typefaces.", location: "page 2" },
22
+ { id: "3", status: "consistent", code: "PDF-PAGE-001", title: "Page count matches", observation: "4 pages, as the footer says." },
23
+ ]}
24
+ limits={["Handwritten signatures were not compared.", "The sender's identity was not checked."]}
25
+ nextSteps={["Ask the sender for the original file.", "Compare with the copy on record."]}
26
+ provenance={{ model: "demo-model-1", runId: "run_8f3a21", duration: "4.2 s", version: "1.3.0" }}
27
+ />
28
+ );
29
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,48 @@
1
+ "use client";
2
+
3
+ // registry/examples/analysis-report/native/document-validation.tsx
4
+ import { AnalysisReport } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx } from "react/jsx-runtime";
7
+ var labels = {
8
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
9
+ findings: "Findings",
10
+ mayIndicate: "May indicate",
11
+ location: "Where:",
12
+ evidence: "Evidence",
13
+ details: "Details",
14
+ limits: "What this report did not examine",
15
+ nextSteps: "Next steps",
16
+ provenance: "Provenance",
17
+ model: "Model",
18
+ runId: "Run",
19
+ duration: "Duration",
20
+ version: "Version",
21
+ copyJson: "Copy JSON",
22
+ copyMarkdown: "Copy Markdown",
23
+ copied: "Copied",
24
+ streaming: "Findings are arriving",
25
+ noFindings: "No finding."
26
+ };
27
+ function NativeAnalysisReportDocumentValidation() {
28
+ return /* @__PURE__ */ jsx(View, { style: { width: 360 }, children: /* @__PURE__ */ jsx(
29
+ AnalysisReport,
30
+ {
31
+ labels,
32
+ title: "Document validation",
33
+ summary: "Two signals disagree with the document's own dates.",
34
+ status: "inconsistent",
35
+ findings: [
36
+ { id: "1", status: "inconsistent", code: "PDF-META-002", title: "Modified after it was signed", observation: "The file was saved 12 days after the signature date.", mayIndicate: "An edit after signing. Not proof of tampering.", location: "metadata" },
37
+ { id: "2", status: "consistent", code: "PDF-PAGE-001", title: "Page count matches", observation: "4 pages, as the footer says." }
38
+ ],
39
+ limits: ["Handwritten signatures were not compared."],
40
+ nextSteps: ["Ask the sender for the original file."],
41
+ provenance: { model: "demo-model-1", runId: "run_8f3a21" },
42
+ onCopy: () => void 0
43
+ }
44
+ ) });
45
+ }
46
+ export {
47
+ NativeAnalysisReportDocumentValidation as default
48
+ };
@@ -0,0 +1,32 @@
1
+ import { AnalysisReport, type AnalysisReportLabels } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ const labels: AnalysisReportLabels = {
5
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
6
+ findings: "Findings", mayIndicate: "May indicate", location: "Where:", evidence: "Evidence", details: "Details",
7
+ limits: "What this report did not examine", nextSteps: "Next steps", provenance: "Provenance",
8
+ model: "Model", runId: "Run", duration: "Duration", version: "Version",
9
+ copyJson: "Copy JSON", copyMarkdown: "Copy Markdown", copied: "Copied", streaming: "Findings are arriving", noFindings: "No finding.",
10
+ };
11
+
12
+ // The phone has no clipboard here: `onCopy` receives the text and the app copies it (expo-clipboard).
13
+ export default function NativeAnalysisReportDocumentValidation() {
14
+ return (
15
+ <View style={{ width: 360 }}>
16
+ <AnalysisReport
17
+ labels={labels}
18
+ title="Document validation"
19
+ summary="Two signals disagree with the document's own dates."
20
+ status="inconsistent"
21
+ findings={[
22
+ { id: "1", status: "inconsistent", code: "PDF-META-002", title: "Modified after it was signed", observation: "The file was saved 12 days after the signature date.", mayIndicate: "An edit after signing. Not proof of tampering.", location: "metadata" },
23
+ { id: "2", status: "consistent", code: "PDF-PAGE-001", title: "Page count matches", observation: "4 pages, as the footer says." },
24
+ ]}
25
+ limits={["Handwritten signatures were not compared."]}
26
+ nextSteps={["Ask the sender for the original file."]}
27
+ provenance={{ model: "demo-model-1", runId: "run_8f3a21" }}
28
+ onCopy={() => undefined}
29
+ />
30
+ </View>
31
+ );
32
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,42 @@
1
+ "use client";
2
+
3
+ // registry/examples/analysis-report/streaming.tsx
4
+ import { AnalysisReport } from "@krizaka/ui/analysis-report";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var labels = {
7
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
8
+ findings: "Findings",
9
+ mayIndicate: "May indicate",
10
+ location: "Where:",
11
+ evidence: "Evidence",
12
+ details: "Details",
13
+ limits: "Limits",
14
+ nextSteps: "Next steps",
15
+ provenance: "Provenance",
16
+ model: "Model",
17
+ runId: "Run",
18
+ duration: "Duration",
19
+ version: "Version",
20
+ copyJson: "Copy JSON",
21
+ copyMarkdown: "Copy Markdown",
22
+ copied: "Copied",
23
+ streaming: "Findings are arriving",
24
+ noFindings: "No finding yet."
25
+ };
26
+ function AnalysisReportStreaming() {
27
+ return /* @__PURE__ */ jsx(
28
+ AnalysisReport,
29
+ {
30
+ labels,
31
+ streaming: true,
32
+ hideActions: true,
33
+ title: "Lease compliance",
34
+ summary: "Reading the lease, clause by clause\u2026",
35
+ status: "unverified",
36
+ findings: [{ id: "1", status: "consistent", code: "LEASE-TERM-001", title: "Term is 12 months", observation: "Start and end dates agree with the stated term.", location: "clause 3" }]
37
+ }
38
+ );
39
+ }
40
+ export {
41
+ AnalysisReportStreaming as default
42
+ };
@@ -0,0 +1,23 @@
1
+ import { AnalysisReport, type AnalysisReportLabels } from "@krizaka/ui/analysis-report";
2
+
3
+ const labels: AnalysisReportLabels = {
4
+ status: { inconsistent: "Inconsistent", attention: "Needs attention", unverified: "Not verified", consistent: "Consistent" },
5
+ findings: "Findings", mayIndicate: "May indicate", location: "Where:", evidence: "Evidence", details: "Details",
6
+ limits: "Limits", nextSteps: "Next steps", provenance: "Provenance", model: "Model", runId: "Run", duration: "Duration", version: "Version",
7
+ copyJson: "Copy JSON", copyMarkdown: "Copy Markdown", copied: "Copied", streaming: "Findings are arriving", noFindings: "No finding yet.",
8
+ };
9
+
10
+ // While the run is open, `streaming` marks the report busy and announces each arrival politely; the actions can be hidden.
11
+ export default function AnalysisReportStreaming() {
12
+ return (
13
+ <AnalysisReport
14
+ labels={labels}
15
+ streaming
16
+ hideActions
17
+ title="Lease compliance"
18
+ summary="Reading the lease, clause by clause…"
19
+ status="unverified"
20
+ findings={[{ id: "1", status: "consistent", code: "LEASE-TERM-001", title: "Term is 12 months", observation: "Start and end dates agree with the stated term.", location: "clause 3" }]}
21
+ />
22
+ );
23
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,20 @@
1
+ "use client";
2
+
3
+ // registry/examples/embed-facade/tiktok.tsx
4
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
5
+ import { jsx } from "react/jsx-runtime";
6
+ function EmbedFacadeTiktok() {
7
+ return /* @__PURE__ */ jsx("div", { className: "w-64 max-w-full", children: /* @__PURE__ */ jsx(
8
+ EmbedFacade,
9
+ {
10
+ platform: "tiktok",
11
+ url: "https://www.tiktok.com/@cedre.ciseaux/video/7301234567890123456",
12
+ title: "Dernier reel du salon",
13
+ playLabel: "Charger TikTok et lire",
14
+ notice: "TikTok saura que vous avez ouvert cette vid\xE9o."
15
+ }
16
+ ) });
17
+ }
18
+ export {
19
+ EmbedFacadeTiktok as default
20
+ };
@@ -0,0 +1,16 @@
1
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
2
+
3
+ // TikTok, in French: the words are the host's. Without a poster the gate is plain paper.
4
+ export default function EmbedFacadeTiktok() {
5
+ return (
6
+ <div className="w-64 max-w-full">
7
+ <EmbedFacade
8
+ platform="tiktok"
9
+ url="https://www.tiktok.com/@cedre.ciseaux/video/7301234567890123456"
10
+ title="Dernier reel du salon"
11
+ playLabel="Charger TikTok et lire"
12
+ notice="TikTok saura que vous avez ouvert cette vidéo."
13
+ />
14
+ </div>
15
+ );
16
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,22 @@
1
+ "use client";
2
+
3
+ // registry/examples/embed-facade/youtube.tsx
4
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var POSTER = `data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 16"><rect width="9" height="16" fill="#9fb8cc"/><path d="m0 16 4-8 2 4 1.5-2L9 16Z" fill="#2c5f8a"/></svg>')}`;
7
+ function EmbedFacadeYoutube() {
8
+ return /* @__PURE__ */ jsx("div", { className: "w-64 max-w-full", children: /* @__PURE__ */ jsx(
9
+ EmbedFacade,
10
+ {
11
+ platform: "youtube-shorts",
12
+ url: "https://www.youtube.com/shorts/abcDEF_-123",
13
+ title: "Latest reel",
14
+ playLabel: "Load YouTube and play",
15
+ poster: POSTER,
16
+ notice: "YouTube will receive your visit when you press play."
17
+ }
18
+ ) });
19
+ }
20
+ export {
21
+ EmbedFacadeYoutube as default
22
+ };
@@ -0,0 +1,20 @@
1
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
2
+
3
+ // Nothing is requested from YouTube until the visitor presses the button. The poster is the host's own copy (here inline;
4
+ // in an app, a picture of your own storage or CDN).
5
+ const POSTER = `data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 16"><rect width="9" height="16" fill="#9fb8cc"/><path d="m0 16 4-8 2 4 1.5-2L9 16Z" fill="#2c5f8a"/></svg>')}`;
6
+
7
+ export default function EmbedFacadeYoutube() {
8
+ return (
9
+ <div className="w-64 max-w-full">
10
+ <EmbedFacade
11
+ platform="youtube-shorts"
12
+ url="https://www.youtube.com/shorts/abcDEF_-123"
13
+ title="Latest reel"
14
+ playLabel="Load YouTube and play"
15
+ poster={POSTER}
16
+ notice="YouTube will receive your visit when you press play."
17
+ />
18
+ </div>
19
+ );
20
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+
3
+ // registry/examples/margin-layout/findings.tsx
4
+ import { MarginItem, MarginLayout } from "@krizaka/ui/margin-layout";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ function MarginLayoutFindings() {
7
+ return /* @__PURE__ */ jsxs(MarginLayout, { "aria-label": "Findings", children: [
8
+ /* @__PURE__ */ jsx(MarginItem, { number: "1", note: "Clause 4.2, page 3", children: "The deposit is two months of rent, which is above the legal limit." }),
9
+ /* @__PURE__ */ jsx(MarginItem, { number: "2", note: "Clause 9, page 6", children: "The notice period for ending the lease is not stated." }),
10
+ /* @__PURE__ */ jsx(MarginItem, { number: "3", note: "Signature page", children: "The tenant's signature is missing on the last page." })
11
+ ] });
12
+ }
13
+ export {
14
+ MarginLayoutFindings as default
15
+ };
@@ -0,0 +1,18 @@
1
+ import { MarginItem, MarginLayout } from "@krizaka/ui/margin-layout";
2
+
3
+ // Demo data: a fictitious lease check. The note sits in the right margin from 64 rem, under the text below.
4
+ export default function MarginLayoutFindings() {
5
+ return (
6
+ <MarginLayout aria-label="Findings">
7
+ <MarginItem number="1" note="Clause 4.2, page 3">
8
+ The deposit is two months of rent, which is above the legal limit.
9
+ </MarginItem>
10
+ <MarginItem number="2" note="Clause 9, page 6">
11
+ The notice period for ending the lease is not stated.
12
+ </MarginItem>
13
+ <MarginItem number="3" note="Signature page">
14
+ The tenant's signature is missing on the last page.
15
+ </MarginItem>
16
+ </MarginLayout>
17
+ );
18
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+
3
+ // registry/examples/margin-layout/steps.tsx
4
+ import { MarginItem, MarginLayout } from "@krizaka/ui/margin-layout";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ function MarginLayoutSteps() {
7
+ return /* @__PURE__ */ jsxs(MarginLayout, { "aria-label": "Steps", children: [
8
+ /* @__PURE__ */ jsx(MarginItem, { number: "01", note: "Takes about two minutes.", children: "Add the documents to check." }),
9
+ /* @__PURE__ */ jsx(MarginItem, { number: "02", children: "Choose what to compare them with." }),
10
+ /* @__PURE__ */ jsx(MarginItem, { number: "03", note: "You can change the result before you sign.", children: "Read the report and decide." })
11
+ ] });
12
+ }
13
+ export {
14
+ MarginLayoutSteps as default
15
+ };
@@ -0,0 +1,16 @@
1
+ import { MarginItem, MarginLayout } from "@krizaka/ui/margin-layout";
2
+
3
+ // Demo data: a step flow. A note is optional per item.
4
+ export default function MarginLayoutSteps() {
5
+ return (
6
+ <MarginLayout aria-label="Steps">
7
+ <MarginItem number="01" note="Takes about two minutes.">
8
+ Add the documents to check.
9
+ </MarginItem>
10
+ <MarginItem number="02">Choose what to compare them with.</MarginItem>
11
+ <MarginItem number="03" note="You can change the result before you sign.">
12
+ Read the report and decide.
13
+ </MarginItem>
14
+ </MarginLayout>
15
+ );
16
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // registry/examples/page/kraft.tsx
4
+ import { PaperGrain, Section } from "@krizaka/ui/page";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ function PageKraft() {
7
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
8
+ /* @__PURE__ */ jsx(PaperGrain, {}),
9
+ /* @__PURE__ */ jsx(Section, { id: "story", paper: "kraft", spacing: "sm", title: "Our story", lead: "Two walkers, one canal, and a notebook of the dogs we know by name." })
10
+ ] });
11
+ }
12
+ export {
13
+ PageKraft as default
14
+ };
@@ -0,0 +1,12 @@
1
+ import { PaperGrain, Section } from "@krizaka/ui/page";
2
+
3
+ // `kraft`: brown paper, its ink read at 7:1 on the darkest grain point in both themes. Mount `PaperGrain` once in the
4
+ // root layout (one inline SVG filter, a fixed seed, no image); without it the paper is flat, never broken.
5
+ export default function PageKraft() {
6
+ return (
7
+ <>
8
+ <PaperGrain />
9
+ <Section id="story" paper="kraft" spacing="sm" title="Our story" lead="Two walkers, one canal, and a notebook of the dogs we know by name." />
10
+ </>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // registry/examples/page/papers.tsx
4
+ import { Page, Section } from "@krizaka/ui/page";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ function PagePapers() {
7
+ return /* @__PURE__ */ jsxs("div", { className: "grid w-full gap-4", children: [
8
+ /* @__PURE__ */ jsx(Section, { id: "dot-grid", paper: "dot-grid", spacing: "sm", title: "Dot-grid", lead: "A dot every 24 px: a page to plan on." }),
9
+ /* @__PURE__ */ jsx(Page, { paper: "lines", className: "py-6", children: /* @__PURE__ */ jsx("p", { className: "m-0 text-fg", children: "Lines only: a page to read." }) })
10
+ ] });
11
+ }
12
+ export {
13
+ PagePapers as default
14
+ };
@@ -0,0 +1,13 @@
1
+ import { Page, Section } from "@krizaka/ui/page";
2
+
3
+ // `paper`: ruled (Seyès) · lines · dot-grid · kraft. Absent = plain. Text stays on the page's paper, never on a texture.
4
+ export default function PagePapers() {
5
+ return (
6
+ <div className="grid w-full gap-4">
7
+ <Section id="dot-grid" paper="dot-grid" spacing="sm" title="Dot-grid" lead="A dot every 24 px: a page to plan on." />
8
+ <Page paper="lines" className="py-6">
9
+ <p className="m-0 text-fg">Lines only: a page to read.</p>
10
+ </Page>
11
+ </div>
12
+ );
13
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,12 @@
1
+ "use client";
2
+
3
+ // registry/examples/retro-tv/facade.tsx
4
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
5
+ import { RetroTv } from "@krizaka/ui/retro-tv";
6
+ import { jsx } from "react/jsx-runtime";
7
+ function RetroTvFacade() {
8
+ return /* @__PURE__ */ jsx("div", { className: "w-72 max-w-full", children: /* @__PURE__ */ jsx(RetroTv, { title: "Latest reel", channel: "CH 3 \xB7 Plateau", children: /* @__PURE__ */ jsx(EmbedFacade, { platform: "instagram", url: "https://www.instagram.com/reel/C1abcDEF123/", title: "Latest reel", playLabel: "Load Instagram and play" }) }) });
9
+ }
10
+ export {
11
+ RetroTvFacade as default
12
+ };
@@ -0,0 +1,13 @@
1
+ import { EmbedFacade } from "@krizaka/ui/embed-facade";
2
+ import { RetroTv } from "@krizaka/ui/retro-tv";
3
+
4
+ // The latest reel of a platform on the shop's television: the screen shows the facade, nothing loads before the click.
5
+ export default function RetroTvFacade() {
6
+ return (
7
+ <div className="w-72 max-w-full">
8
+ <RetroTv title="Latest reel" channel="CH 3 · Plateau">
9
+ <EmbedFacade platform="instagram" url="https://www.instagram.com/reel/C1abcDEF123/" title="Latest reel" playLabel="Load Instagram and play" />
10
+ </RetroTv>
11
+ </div>
12
+ );
13
+ }