@krizaka/ui 3.55.0 → 3.59.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 (576) hide show
  1. package/dist/{RotatingWord-D9s7FXFD.d.ts → RotatingWord-COSabR2c.d.ts} +2 -1
  2. package/dist/account-menu.d.ts +2 -1
  3. package/dist/account-settings.d.ts +153 -61
  4. package/dist/account-settings.js +240 -97
  5. package/dist/account-settings.js.map +1 -1
  6. package/dist/achievement.d.ts +2 -1
  7. package/dist/action-bar.d.ts +3 -2
  8. package/dist/activity-feed.d.ts +2 -1
  9. package/dist/agenda.d.ts +2 -1
  10. package/dist/alert.d.ts +2 -1
  11. package/dist/anatomy-plate.d.ts +2 -1
  12. package/dist/app-header/search.d.ts +8 -7
  13. package/dist/app-header.d.ts +2 -1
  14. package/dist/app-shell.d.ts +26 -25
  15. package/dist/argument-card.d.ts +3 -2
  16. package/dist/audio-player.d.ts +2 -1
  17. package/dist/auth-layout.d.ts +11 -10
  18. package/dist/avatar/defaults.d.ts +2 -1
  19. package/dist/avatar.d.ts +2 -1
  20. package/dist/badge.d.ts +2 -1
  21. package/dist/bird-plate.d.ts +4 -2
  22. package/dist/blocks.css +77 -4
  23. package/dist/button.d.ts +2 -1
  24. package/dist/captcha.d.ts +2 -1
  25. package/dist/captcha.js +1 -0
  26. package/dist/captcha.js.map +1 -1
  27. package/dist/card-grid.d.ts +2 -1
  28. package/dist/card.d.ts +2 -1
  29. package/dist/catalogue-page.d.ts +82 -2
  30. package/dist/catalogue-page.js +156 -13
  31. package/dist/catalogue-page.js.map +1 -1
  32. package/dist/changelog-page.d.ts +2 -1
  33. package/dist/chapter.d.ts +2 -1
  34. package/dist/chat.d.ts +14 -13
  35. package/dist/checkbox.d.ts +2 -1
  36. package/dist/chip-link.d.ts +2 -1
  37. package/dist/chip-row.d.ts +8 -7
  38. package/dist/chip.d.ts +55 -1
  39. package/dist/chip.js +10 -1
  40. package/dist/choice-grid.d.ts +3 -2
  41. package/dist/chunk-27AWSJTK.js +46 -0
  42. package/dist/chunk-27AWSJTK.js.map +1 -0
  43. package/dist/{chunk-AEP3K4YD.js → chunk-4GQH27IT.js} +2 -2
  44. package/dist/{chunk-QWKCNSPF.js → chunk-5LANVCK7.js} +125 -73
  45. package/dist/chunk-5LANVCK7.js.map +1 -0
  46. package/dist/{chunk-KDXRYUD3.js → chunk-5QEXOGO2.js} +3 -1
  47. package/dist/{chunk-KDXRYUD3.js.map → chunk-5QEXOGO2.js.map} +1 -1
  48. package/dist/chunk-7J2L4HOD.js +340 -0
  49. package/dist/chunk-7J2L4HOD.js.map +1 -0
  50. package/dist/{chunk-7U5TXA5Q.js → chunk-BQ4EOR2O.js} +74 -2
  51. package/dist/chunk-BQ4EOR2O.js.map +1 -0
  52. package/dist/chunk-F6JTHPHE.js +399 -0
  53. package/dist/chunk-F6JTHPHE.js.map +1 -0
  54. package/dist/chunk-OGWB76BR.js +90 -0
  55. package/dist/chunk-OGWB76BR.js.map +1 -0
  56. package/dist/{chunk-VIPSZXO4.js → chunk-UYGUSYIC.js} +72 -2
  57. package/dist/chunk-UYGUSYIC.js.map +1 -0
  58. package/dist/chunk-WOZP3JLW.js +51 -0
  59. package/dist/chunk-WOZP3JLW.js.map +1 -0
  60. package/dist/chunk-XVXFMVG3.js +27 -0
  61. package/dist/chunk-XVXFMVG3.js.map +1 -0
  62. package/dist/code-block.d.ts +2 -1
  63. package/dist/combobox.d.ts +20 -19
  64. package/dist/combobox.js +3 -2
  65. package/dist/command.d.ts +21 -20
  66. package/dist/comparison-table.d.ts +2 -1
  67. package/dist/component-page.d.ts +2 -1
  68. package/dist/confirm-button.d.ts +2 -1
  69. package/dist/contact-page.d.ts +2 -1
  70. package/dist/continue-prompt.d.ts +2 -1
  71. package/dist/countdown.d.ts +2 -1
  72. package/dist/cover-hero.d.ts +20 -19
  73. package/dist/cover-hero.js +25 -42
  74. package/dist/cover-hero.js.map +1 -1
  75. package/dist/cta-panel.d.ts +2 -1
  76. package/dist/dashboard-layout.d.ts +50 -2
  77. package/dist/dashboard-layout.js +66 -11
  78. package/dist/dashboard-layout.js.map +1 -1
  79. package/dist/data-table.d.ts +45 -2
  80. package/dist/data-table.js +7 -3
  81. package/dist/date-picker.d.ts +29 -28
  82. package/dist/decision-list.d.ts +2 -1
  83. package/dist/description-list.d.ts +2 -1
  84. package/dist/detail-layout.d.ts +153 -20
  85. package/dist/detail-layout.js +73 -4
  86. package/dist/detail-layout.js.map +1 -1
  87. package/dist/{dialog-D42QwYb_.d.ts → dialog-DpUwec2g.d.ts} +2 -1
  88. package/dist/dialog.d.ts +3 -2
  89. package/dist/docs-article-page.d.ts +2 -1
  90. package/dist/docs-hub-page.d.ts +2 -1
  91. package/dist/docs-layout.d.ts +2 -1
  92. package/dist/docs-nav.d.ts +3 -10
  93. package/dist/document-viewer.d.ts +5 -4
  94. package/dist/doodle.d.ts +17 -6
  95. package/dist/doodle.js +40 -9
  96. package/dist/doodle.js.map +1 -1
  97. package/dist/drop-overlay.d.ts +2 -1
  98. package/dist/dropdown-menu.d.ts +2 -1
  99. package/dist/dropdown-menu.js +13 -74
  100. package/dist/dropdown-menu.js.map +1 -1
  101. package/dist/elephant.d.ts +2 -1
  102. package/dist/empty-state.d.ts +2 -1
  103. package/dist/engine-flow.d.ts +2 -1
  104. package/dist/error-page.d.ts +2 -1
  105. package/dist/file-upload.d.ts +14 -13
  106. package/dist/filter-bar.d.ts +84 -11
  107. package/dist/filter-bar.js +6 -2
  108. package/dist/flock.d.ts +3 -2
  109. package/dist/footnote.d.ts +2 -1
  110. package/dist/force-update-screen.d.ts +8 -7
  111. package/dist/form/server.d.ts +2 -1
  112. package/dist/form.d.ts +2 -1
  113. package/dist/gallery-page.d.ts +2 -1
  114. package/dist/genui.d.ts +2 -1
  115. package/dist/genui.js +3 -3
  116. package/dist/{geometry-DX-W-Yyf.d.ts → geometry-DZ4Q3hDQ.d.ts} +2 -1
  117. package/dist/glossary-term.d.ts +2 -1
  118. package/dist/glossary.d.ts +2 -1
  119. package/dist/glow-card.d.ts +2 -1
  120. package/dist/goal-gauge.d.ts +2 -1
  121. package/dist/grade-stamp.d.ts +23 -0
  122. package/dist/grade-stamp.js +42 -0
  123. package/dist/grade-stamp.js.map +1 -0
  124. package/dist/how-it-works-page.d.ts +2 -1
  125. package/dist/image-cropper.d.ts +5 -4
  126. package/dist/index.d.ts +3 -2
  127. package/dist/index.js +4 -4
  128. package/dist/iso.d.ts +2 -1
  129. package/dist/kanban.d.ts +2 -1
  130. package/dist/kbd.d.ts +2 -1
  131. package/dist/kind-config-editor.d.ts +152 -0
  132. package/dist/kind-config-editor.js +574 -0
  133. package/dist/kind-config-editor.js.map +1 -0
  134. package/dist/kpi-explained.d.ts +2 -1
  135. package/dist/landing-page.d.ts +2 -1
  136. package/dist/landscape.d.ts +2 -1
  137. package/dist/language-switch/server.d.ts +2 -1
  138. package/dist/language-switch.d.ts +11 -10
  139. package/dist/legal-page.d.ts +2 -1
  140. package/dist/link-card.d.ts +2 -1
  141. package/dist/list.d.ts +2 -1
  142. package/dist/loader.d.ts +2 -1
  143. package/dist/longform-page.d.ts +2 -1
  144. package/dist/maintenance-screen.d.ts +5 -4
  145. package/dist/map.d.ts +8 -7
  146. package/dist/map.js +24 -0
  147. package/dist/map.js.map +1 -1
  148. package/dist/markdown.d.ts +2 -1
  149. package/dist/marketing-layout.d.ts +5 -4
  150. package/dist/marquee.d.ts +2 -1
  151. package/dist/mascot-quote.d.ts +2 -1
  152. package/dist/mascot-state.d.ts +3 -2
  153. package/dist/mascots.d.ts +4 -3
  154. package/dist/match-dialog.d.ts +2 -1
  155. package/dist/media-capture.d.ts +5 -4
  156. package/dist/media-gallery.d.ts +2 -1
  157. package/dist/media-grid.d.ts +3 -10
  158. package/dist/meta-row.d.ts +2 -1
  159. package/dist/meter.d.ts +2 -1
  160. package/dist/motion.d.ts +3 -2
  161. package/dist/native/form.d.ts +2 -1
  162. package/dist/native/list.d.ts +2 -1
  163. package/dist/native/map.d.ts +2 -1
  164. package/dist/native/map.js +24 -0
  165. package/dist/native/map.js.map +1 -1
  166. package/dist/native/markdown.d.ts +2 -1
  167. package/dist/native/media-capture.d.ts +2 -1
  168. package/dist/native/media-picker.d.ts +2 -1
  169. package/dist/native/vertical-video.d.ts +2 -1
  170. package/dist/native/video-player.d.ts +2 -1
  171. package/dist/native.d.ts +230 -1
  172. package/dist/native.js +1465 -965
  173. package/dist/native.js.map +1 -1
  174. package/dist/nav-bar/me.d.ts +2 -1
  175. package/dist/nav-bar.d.ts +2 -1
  176. package/dist/next-actions.d.ts +2 -1
  177. package/dist/notification-preferences.d.ts +23 -22
  178. package/dist/notification-preferences.js +4 -3
  179. package/dist/notification-preferences.js.map +1 -1
  180. package/dist/number-ticker.d.ts +2 -1
  181. package/dist/opening-hours.d.ts +2 -1
  182. package/dist/page-header.d.ts +2 -1
  183. package/dist/page-hero.d.ts +2 -1
  184. package/dist/page-index.d.ts +2 -1
  185. package/dist/page.d.ts +2 -1
  186. package/dist/pagination.d.ts +2 -1
  187. package/dist/photo-grid.d.ts +2 -1
  188. package/dist/pointer-light.d.ts +2 -1
  189. package/dist/popover.d.ts +2 -1
  190. package/dist/pricing-page.d.ts +2 -1
  191. package/dist/product-page.d.ts +2 -1
  192. package/dist/profile-card.d.ts +2 -1
  193. package/dist/progress.d.ts +2 -1
  194. package/dist/promise-card.d.ts +2 -1
  195. package/dist/quota-meter.d.ts +2 -1
  196. package/dist/radio-group.d.ts +2 -1
  197. package/dist/radio-group.js +3 -3
  198. package/dist/rail-nav.d.ts +17 -16
  199. package/dist/rail-nav.js +22 -56
  200. package/dist/rail-nav.js.map +1 -1
  201. package/dist/recipes.d.ts +2 -1
  202. package/dist/retro-tv.d.ts +2 -1
  203. package/dist/router.d.ts +2 -1
  204. package/dist/scroll-stage.d.ts +2 -1
  205. package/dist/search-field.d.ts +2 -1
  206. package/dist/section-backdrop.d.ts +2 -1
  207. package/dist/separator.d.ts +2 -1
  208. package/dist/service-card.d.ts +9 -8
  209. package/dist/settings-layout.d.ts +2 -1
  210. package/dist/settings-layout.js +10 -324
  211. package/dist/settings-layout.js.map +1 -1
  212. package/dist/showcase.d.ts +2 -1
  213. package/dist/signature.d.ts +2 -1
  214. package/dist/site-cahier.d.ts +187 -0
  215. package/dist/site-cahier.js +844 -0
  216. package/dist/site-cahier.js.map +1 -0
  217. package/dist/site-footer.d.ts +2 -1
  218. package/dist/sites.d.ts +2 -1
  219. package/dist/skeleton.d.ts +2 -1
  220. package/dist/skip-link.d.ts +2 -1
  221. package/dist/slider.d.ts +2 -1
  222. package/dist/slot-picker.d.ts +86 -13
  223. package/dist/slot-picker.js +98 -16
  224. package/dist/slot-picker.js.map +1 -1
  225. package/dist/specimen-tag.d.ts +2 -1
  226. package/dist/speed-lines.d.ts +19 -0
  227. package/dist/speed-lines.js +45 -0
  228. package/dist/speed-lines.js.map +1 -0
  229. package/dist/spinner.d.ts +2 -1
  230. package/dist/split-view.d.ts +2 -1
  231. package/dist/stage-banner.d.ts +2 -1
  232. package/dist/stat.d.ts +2 -1
  233. package/dist/status-chip.d.ts +44 -0
  234. package/dist/status-chip.js +137 -0
  235. package/dist/status-chip.js.map +1 -0
  236. package/dist/status-page.d.ts +2 -1
  237. package/dist/step-progress.d.ts +2 -1
  238. package/dist/step-showcase.d.ts +2 -1
  239. package/dist/stepper.d.ts +2 -1
  240. package/dist/sticky-action.d.ts +28 -5
  241. package/dist/sticky-action.js +10 -4
  242. package/dist/sticky-action.js.map +1 -1
  243. package/dist/stuck.d.ts +2 -1
  244. package/dist/swipe-deck.d.ts +2 -1
  245. package/dist/switch.d.ts +2 -1
  246. package/dist/tabs.d.ts +2 -1
  247. package/dist/tag-input.d.ts +2 -1
  248. package/dist/tag-input.js +3 -2
  249. package/dist/tag-input.js.map +1 -1
  250. package/dist/tag-selector.d.ts +30 -4
  251. package/dist/tag-selector.js +90 -8
  252. package/dist/tag-selector.js.map +1 -1
  253. package/dist/taped-photo.d.ts +2 -1
  254. package/dist/taped-photo.js +3 -20
  255. package/dist/taped-photo.js.map +1 -1
  256. package/dist/terminal-replay.d.ts +2 -1
  257. package/dist/terminal-replay.js +1 -1
  258. package/dist/text-style/server.d.ts +2 -1
  259. package/dist/text-style.d.ts +2 -1
  260. package/dist/theme.d.ts +21 -1
  261. package/dist/theme.js +37 -1
  262. package/dist/theme.js.map +1 -1
  263. package/dist/toast.d.ts +2 -1
  264. package/dist/toc.d.ts +2 -1
  265. package/dist/tooltip.d.ts +2 -1
  266. package/dist/tree-view.d.ts +2 -1
  267. package/dist/update-prompt.d.ts +11 -10
  268. package/dist/upload-queue.d.ts +2 -1
  269. package/dist/verified-badge.d.ts +2 -1
  270. package/dist/versus-card.d.ts +40 -0
  271. package/dist/versus-card.js +40 -0
  272. package/dist/versus-card.js.map +1 -0
  273. package/dist/vertical-video.d.ts +2 -1
  274. package/dist/video-player.d.ts +20 -19
  275. package/dist/video-trimmer.d.ts +2 -1
  276. package/dist/virtual.d.ts +8 -7
  277. package/dist/waveform.d.ts +2 -1
  278. package/package.json +124 -39
  279. package/registry/account-menu.json +1 -1
  280. package/registry/account-settings.json +257 -5
  281. package/registry/achievement.json +1 -1
  282. package/registry/action-bar.json +1 -1
  283. package/registry/activity-feed.json +1 -1
  284. package/registry/agenda.json +1 -1
  285. package/registry/alert.json +1 -1
  286. package/registry/anatomy-plate.json +1 -1
  287. package/registry/app-header.json +1 -1
  288. package/registry/app-shell.json +1 -1
  289. package/registry/argument-card.json +1 -1
  290. package/registry/audio-player.json +1 -1
  291. package/registry/auth-layout.json +1 -1
  292. package/registry/avatar.json +1 -1
  293. package/registry/badge.json +1 -1
  294. package/registry/bird-plate.json +1 -1
  295. package/registry/button.json +1 -1
  296. package/registry/captcha.json +1 -1
  297. package/registry/card-grid.json +1 -1
  298. package/registry/card.json +1 -1
  299. package/registry/catalogue-page.json +116 -6
  300. package/registry/changelog-page.json +1 -1
  301. package/registry/chapter.json +1 -1
  302. package/registry/chat.json +1 -1
  303. package/registry/checkbox.json +1 -1
  304. package/registry/chip-link.json +1 -1
  305. package/registry/chip-row.json +1 -1
  306. package/registry/chip.json +386 -11
  307. package/registry/choice-grid.json +1 -1
  308. package/registry/code-block.json +1 -1
  309. package/registry/combobox.json +1 -1
  310. package/registry/command.json +1 -1
  311. package/registry/comparison-table.json +1 -1
  312. package/registry/component-page.json +1 -1
  313. package/registry/confirm-button.json +1 -1
  314. package/registry/contact-page.json +1 -1
  315. package/registry/continue-prompt.json +1 -1
  316. package/registry/countdown.json +1 -1
  317. package/registry/cover-hero.json +1 -1
  318. package/registry/cta-panel.json +1 -1
  319. package/registry/dashboard-layout.json +91 -5
  320. package/registry/data-table.json +156 -5
  321. package/registry/date-picker.json +1 -1
  322. package/registry/decision-list.json +1 -1
  323. package/registry/description-list.json +1 -1
  324. package/registry/detail-layout.json +199 -5
  325. package/registry/dialog.json +1 -1
  326. package/registry/docs-article-page.json +1 -1
  327. package/registry/docs-hub-page.json +1 -1
  328. package/registry/docs-layout.json +1 -1
  329. package/registry/docs-nav.json +1 -1
  330. package/registry/document-viewer.json +1 -1
  331. package/registry/doodle.json +115 -22
  332. package/registry/drop-overlay.json +1 -1
  333. package/registry/dropdown-menu.json +1 -1
  334. package/registry/elephant.json +2 -2
  335. package/registry/empty-state.json +1 -1
  336. package/registry/engine-flow.json +1 -1
  337. package/registry/error-page.json +1 -1
  338. package/registry/examples/account-settings/appearance.d.ts +4 -0
  339. package/registry/examples/account-settings/appearance.js +40 -0
  340. package/registry/examples/account-settings/appearance.tsx +30 -0
  341. package/registry/examples/catalogue-page/clients.d.ts +4 -0
  342. package/registry/examples/catalogue-page/clients.js +49 -0
  343. package/registry/examples/catalogue-page/clients.tsx +61 -0
  344. package/registry/examples/chip/marker-picker.d.ts +4 -0
  345. package/registry/examples/chip/marker-picker.js +17 -0
  346. package/registry/examples/chip/marker-picker.tsx +17 -0
  347. package/registry/examples/chip/native/marker-picker.d.ts +4 -0
  348. package/registry/examples/chip/native/marker-picker.dark.png +0 -0
  349. package/registry/examples/chip/native/marker-picker.js +18 -0
  350. package/registry/examples/chip/native/marker-picker.light.png +0 -0
  351. package/registry/examples/chip/native/marker-picker.tsx +16 -0
  352. package/registry/examples/chip/native/tags.d.ts +4 -0
  353. package/registry/examples/chip/native/tags.dark.png +0 -0
  354. package/registry/examples/chip/native/tags.js +22 -0
  355. package/registry/examples/chip/native/tags.light.png +0 -0
  356. package/registry/examples/chip/native/tags.tsx +20 -0
  357. package/registry/examples/chip/tags.d.ts +4 -0
  358. package/registry/examples/chip/tags.js +26 -0
  359. package/registry/examples/chip/tags.tsx +23 -0
  360. package/registry/examples/dashboard-layout/today.d.ts +4 -0
  361. package/registry/examples/dashboard-layout/today.js +54 -0
  362. package/registry/examples/dashboard-layout/today.tsx +63 -0
  363. package/registry/examples/data-table/bulk.d.ts +4 -0
  364. package/registry/examples/data-table/bulk.js +45 -0
  365. package/registry/examples/data-table/bulk.tsx +34 -0
  366. package/registry/examples/detail-layout/client.d.ts +4 -0
  367. package/registry/examples/detail-layout/client.js +40 -0
  368. package/registry/examples/detail-layout/client.tsx +39 -0
  369. package/registry/examples/detail-layout/new-invoice.d.ts +4 -0
  370. package/registry/examples/detail-layout/new-invoice.js +44 -0
  371. package/registry/examples/detail-layout/new-invoice.tsx +34 -0
  372. package/registry/examples/doodle/bird-sketch.d.ts +4 -0
  373. package/registry/examples/doodle/bird-sketch.js +11 -0
  374. package/registry/examples/doodle/bird-sketch.tsx +12 -0
  375. package/registry/examples/doodle/margin-marks.d.ts +4 -0
  376. package/registry/examples/doodle/margin-marks.js +27 -0
  377. package/registry/examples/doodle/margin-marks.tsx +19 -0
  378. package/registry/examples/filter-bar/views.d.ts +4 -0
  379. package/registry/examples/filter-bar/views.js +39 -0
  380. package/registry/examples/filter-bar/views.tsx +30 -0
  381. package/registry/examples/grade-stamp/coverage.d.ts +4 -0
  382. package/registry/examples/grade-stamp/coverage.js +12 -0
  383. package/registry/examples/grade-stamp/coverage.tsx +8 -0
  384. package/registry/examples/grade-stamp/lighthouse.d.ts +4 -0
  385. package/registry/examples/grade-stamp/lighthouse.js +12 -0
  386. package/registry/examples/grade-stamp/lighthouse.tsx +14 -0
  387. package/registry/examples/kind-config-editor/derived.d.ts +4 -0
  388. package/registry/examples/kind-config-editor/derived.js +26 -0
  389. package/registry/examples/kind-config-editor/derived.tsx +16 -0
  390. package/registry/examples/kind-config-editor/native/status-set.d.ts +4 -0
  391. package/registry/examples/kind-config-editor/native/status-set.dark.png +0 -0
  392. package/registry/examples/kind-config-editor/native/status-set.js +22 -0
  393. package/registry/examples/kind-config-editor/native/status-set.light.png +0 -0
  394. package/registry/examples/kind-config-editor/native/status-set.tsx +19 -0
  395. package/registry/examples/kind-config-editor/native/tag-set.d.ts +4 -0
  396. package/registry/examples/kind-config-editor/native/tag-set.dark.png +0 -0
  397. package/registry/examples/kind-config-editor/native/tag-set.js +20 -0
  398. package/registry/examples/kind-config-editor/native/tag-set.light.png +0 -0
  399. package/registry/examples/kind-config-editor/native/tag-set.tsx +18 -0
  400. package/registry/examples/kind-config-editor/status-set.d.ts +4 -0
  401. package/registry/examples/kind-config-editor/status-set.js +29 -0
  402. package/registry/examples/kind-config-editor/status-set.tsx +25 -0
  403. package/registry/examples/kind-config-editor/tag-set.d.ts +4 -0
  404. package/registry/examples/kind-config-editor/tag-set.js +20 -0
  405. package/registry/examples/kind-config-editor/tag-set.tsx +18 -0
  406. package/registry/examples/site-cahier/java-releases.d.ts +4 -0
  407. package/registry/examples/site-cahier/java-releases.js +33 -0
  408. package/registry/examples/site-cahier/java-releases.tsx +32 -0
  409. package/registry/examples/site-cahier/motion-lab.d.ts +4 -0
  410. package/registry/examples/site-cahier/motion-lab.js +32 -0
  411. package/registry/examples/site-cahier/motion-lab.tsx +29 -0
  412. package/registry/examples/site-cahier/ts-changelog.d.ts +4 -0
  413. package/registry/examples/site-cahier/ts-changelog.js +24 -0
  414. package/registry/examples/site-cahier/ts-changelog.tsx +20 -0
  415. package/registry/examples/site-cahier/ts-doc.d.ts +4 -0
  416. package/registry/examples/site-cahier/ts-doc.js +38 -0
  417. package/registry/examples/site-cahier/ts-doc.tsx +27 -0
  418. package/registry/examples/site-cahier/ui-home.d.ts +4 -0
  419. package/registry/examples/site-cahier/ui-home.js +46 -0
  420. package/registry/examples/site-cahier/ui-home.tsx +40 -0
  421. package/registry/examples/slot-picker/weeks.d.ts +4 -0
  422. package/registry/examples/slot-picker/weeks.js +45 -0
  423. package/registry/examples/slot-picker/weeks.tsx +28 -0
  424. package/registry/examples/speed-lines/hero.d.ts +4 -0
  425. package/registry/examples/speed-lines/hero.js +11 -0
  426. package/registry/examples/speed-lines/hero.tsx +12 -0
  427. package/registry/examples/speed-lines/streaks.d.ts +4 -0
  428. package/registry/examples/speed-lines/streaks.js +11 -0
  429. package/registry/examples/speed-lines/streaks.tsx +12 -0
  430. package/registry/examples/status-chip/default.d.ts +4 -0
  431. package/registry/examples/status-chip/default.js +35 -0
  432. package/registry/examples/status-chip/default.tsx +32 -0
  433. package/registry/examples/status-chip/native/default.d.ts +4 -0
  434. package/registry/examples/status-chip/native/default.dark.png +0 -0
  435. package/registry/examples/status-chip/native/default.js +26 -0
  436. package/registry/examples/status-chip/native/default.light.png +0 -0
  437. package/registry/examples/status-chip/native/default.tsx +20 -0
  438. package/registry/examples/tag-selector/creatable.d.ts +4 -0
  439. package/registry/examples/tag-selector/creatable.js +41 -0
  440. package/registry/examples/tag-selector/creatable.tsx +29 -0
  441. package/registry/examples/tag-selector/native/tags.d.ts +4 -0
  442. package/registry/examples/tag-selector/native/tags.dark.png +0 -0
  443. package/registry/examples/tag-selector/native/tags.js +19 -0
  444. package/registry/examples/tag-selector/native/tags.light.png +0 -0
  445. package/registry/examples/tag-selector/native/tags.tsx +19 -0
  446. package/registry/examples/versus-card/alternatives.d.ts +4 -0
  447. package/registry/examples/versus-card/alternatives.js +20 -0
  448. package/registry/examples/versus-card/alternatives.tsx +14 -0
  449. package/registry/examples/versus-card/releases.d.ts +4 -0
  450. package/registry/examples/versus-card/releases.js +35 -0
  451. package/registry/examples/versus-card/releases.tsx +29 -0
  452. package/registry/field.json +1 -1
  453. package/registry/file-upload.json +1 -1
  454. package/registry/filter-bar.json +208 -8
  455. package/registry/flock.json +1 -1
  456. package/registry/footnote.json +1 -1
  457. package/registry/force-update-screen.json +1 -1
  458. package/registry/form.json +1 -1
  459. package/registry/gallery-page.json +1 -1
  460. package/registry/genui.json +1 -1
  461. package/registry/glossary-term.json +1 -1
  462. package/registry/glossary.json +1 -1
  463. package/registry/glow-card.json +1 -1
  464. package/registry/goal-gauge.json +1 -1
  465. package/registry/grade-stamp.json +227 -0
  466. package/registry/how-it-works-page.json +1 -1
  467. package/registry/image-cropper.json +1 -1
  468. package/registry/index.json +323 -30
  469. package/registry/iso.json +1 -1
  470. package/registry/kanban.json +1 -1
  471. package/registry/kbd.json +1 -1
  472. package/registry/kind-config-editor.json +565 -0
  473. package/registry/kpi-explained.json +1 -1
  474. package/registry/landing-page.json +1 -1
  475. package/registry/landscape.json +1 -1
  476. package/registry/language-switch.json +1 -1
  477. package/registry/legal-page.json +1 -1
  478. package/registry/link-card.json +1 -1
  479. package/registry/list.json +1 -1
  480. package/registry/loader.json +1 -1
  481. package/registry/longform-page.json +1 -1
  482. package/registry/maintenance-screen.json +1 -1
  483. package/registry/map.json +2 -2
  484. package/registry/markdown.json +1 -1
  485. package/registry/marketing-layout.json +1 -1
  486. package/registry/marquee.json +1 -1
  487. package/registry/mascot-quote.json +1 -1
  488. package/registry/mascot-state.json +1 -1
  489. package/registry/mascots.json +1 -1
  490. package/registry/match-dialog.json +1 -1
  491. package/registry/media-capture.json +1 -1
  492. package/registry/media-gallery.json +1 -1
  493. package/registry/media-grid.json +1 -1
  494. package/registry/meta-row.json +1 -1
  495. package/registry/meter.json +1 -1
  496. package/registry/nav-bar.json +2 -2
  497. package/registry/next-actions.json +1 -1
  498. package/registry/notification-preferences.json +1 -1
  499. package/registry/number-ticker.json +1 -1
  500. package/registry/opening-hours.json +1 -1
  501. package/registry/page-header.json +1 -1
  502. package/registry/page-hero.json +1 -1
  503. package/registry/page-index.json +1 -1
  504. package/registry/page.json +1 -1
  505. package/registry/pagination.json +1 -1
  506. package/registry/photo-grid.json +1 -1
  507. package/registry/pointer-light.json +1 -1
  508. package/registry/popover.json +1 -1
  509. package/registry/pricing-page.json +1 -1
  510. package/registry/product-page.json +1 -1
  511. package/registry/profile-card.json +1 -1
  512. package/registry/progress.json +1 -1
  513. package/registry/promise-card.json +1 -1
  514. package/registry/quota-meter.json +1 -1
  515. package/registry/radio-group.json +1 -1
  516. package/registry/rail-nav.json +2 -2
  517. package/registry/recipes.json +1 -1
  518. package/registry/retro-tv.json +1 -1
  519. package/registry/router.json +1 -1
  520. package/registry/scroll-stage.json +1 -1
  521. package/registry/search-field.json +1 -1
  522. package/registry/section-backdrop.json +1 -1
  523. package/registry/separator.json +1 -1
  524. package/registry/service-card.json +1 -1
  525. package/registry/settings-layout.json +1 -1
  526. package/registry/showcase.json +1 -1
  527. package/registry/signature.json +1 -1
  528. package/registry/site-cahier.json +548 -0
  529. package/registry/site-footer.json +2 -2
  530. package/registry/sites.json +1 -1
  531. package/registry/skeleton.json +1 -1
  532. package/registry/skip-link.json +1 -1
  533. package/registry/slider.json +1 -1
  534. package/registry/slot-picker.json +156 -10
  535. package/registry/slot.json +1 -1
  536. package/registry/specimen-tag.json +1 -1
  537. package/registry/speed-lines.json +174 -0
  538. package/registry/spinner.json +1 -1
  539. package/registry/split-view.json +1 -1
  540. package/registry/stage-banner.json +1 -1
  541. package/registry/stat.json +1 -1
  542. package/registry/status-chip.json +350 -0
  543. package/registry/status-page.json +1 -1
  544. package/registry/step-progress.json +1 -1
  545. package/registry/step-showcase.json +1 -1
  546. package/registry/stepper.json +1 -1
  547. package/registry/sticky-action.json +38 -8
  548. package/registry/stuck.json +1 -1
  549. package/registry/swipe-deck.json +1 -1
  550. package/registry/switch.json +1 -1
  551. package/registry/tabs.json +1 -1
  552. package/registry/tag-input.json +1 -1
  553. package/registry/tag-selector.json +189 -12
  554. package/registry/taped-photo.json +1 -1
  555. package/registry/terminal-replay.json +1 -1
  556. package/registry/text-style.json +1 -1
  557. package/registry/theme.json +3 -3
  558. package/registry/toast.json +1 -1
  559. package/registry/toc.json +1 -1
  560. package/registry/tooltip.json +1 -1
  561. package/registry/tree-view.json +1 -1
  562. package/registry/update-prompt.json +1 -1
  563. package/registry/upload-queue.json +1 -1
  564. package/registry/verified-badge.json +1 -1
  565. package/registry/versus-card.json +194 -0
  566. package/registry/vertical-video.json +1 -1
  567. package/registry/video-player.json +1 -1
  568. package/registry/video-trimmer.json +1 -1
  569. package/registry/virtual.json +2 -2
  570. package/registry/waveform.json +1 -1
  571. package/dist/chunk-7U5TXA5Q.js.map +0 -1
  572. package/dist/chunk-OIMXKRXF.js +0 -179
  573. package/dist/chunk-OIMXKRXF.js.map +0 -1
  574. package/dist/chunk-QWKCNSPF.js.map +0 -1
  575. package/dist/chunk-VIPSZXO4.js.map +0 -1
  576. /package/dist/{chunk-AEP3K4YD.js.map → chunk-4GQH27IT.js.map} +0 -0
@@ -0,0 +1,38 @@
1
+ "use client";
2
+
3
+ // registry/examples/site-cahier/ts-doc.tsx
4
+ import { Doodle } from "@krizaka/ui/doodle";
5
+ import { SiteCahier, SiteCahierDoc } from "@krizaka/ui/site-cahier";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ function SiteCahierTsDoc() {
8
+ return /* @__PURE__ */ jsx(SiteCahier, { site: "ts", name: "Krizaka TypeScript", bird: "pigeon", hue: 200, nav: [{ href: "/guides", label: "Guides", current: true }, { href: "/api", label: "API" }], footer: { version: "0.8.0" }, children: /* @__PURE__ */ jsxs(
9
+ SiteCahierDoc,
10
+ {
11
+ eyebrow: "Guide \xB7 4 min",
12
+ title: "Typed results, no exceptions",
13
+ aside: /* @__PURE__ */ jsxs("ol", { style: { margin: 0, paddingInlineStart: 18 }, children: [
14
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "#why", children: "Why" }) }),
15
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "#use", children: "Use it" }) })
16
+ ] }),
17
+ children: [
18
+ /* @__PURE__ */ jsx("h2", { id: "why", children: "Why" }),
19
+ /* @__PURE__ */ jsxs("p", { children: [
20
+ "A function that can fail says so in its type: ",
21
+ /* @__PURE__ */ jsx(Doodle, { kind: "circle", children: "a result" }),
22
+ ", never a surprise."
23
+ ] }),
24
+ /* @__PURE__ */ jsx("h2", { id: "use", children: "Use it" }),
25
+ /* @__PURE__ */ jsxs("p", { children: [
26
+ "Return ",
27
+ /* @__PURE__ */ jsx("code", { children: "ok(value)" }),
28
+ " or ",
29
+ /* @__PURE__ */ jsx("code", { children: "fail(error)" }),
30
+ "; the caller must look at both."
31
+ ] })
32
+ ]
33
+ }
34
+ ) });
35
+ }
36
+ export {
37
+ SiteCahierTsDoc as default
38
+ };
@@ -0,0 +1,27 @@
1
+ import { Doodle } from "@krizaka/ui/doodle";
2
+ import { SiteCahier, SiteCahierDoc } from "@krizaka/ui/site-cahier";
3
+
4
+ // TEMPLATE — a documentation page of the TypeScript site, the pigeon's: ruled paper, a reading column, its contents beside it.
5
+ export default function SiteCahierTsDoc() {
6
+ return (
7
+ <SiteCahier site="ts" name="Krizaka TypeScript" bird="pigeon" hue={200} nav={[{ href: "/guides", label: "Guides", current: true }, { href: "/api", label: "API" }]} footer={{ version: "0.8.0" }}>
8
+ <SiteCahierDoc
9
+ eyebrow="Guide · 4 min"
10
+ title="Typed results, no exceptions"
11
+ aside={
12
+ <ol style={{ margin: 0, paddingInlineStart: 18 }}>
13
+ <li><a href="#why">Why</a></li>
14
+ <li><a href="#use">Use it</a></li>
15
+ </ol>
16
+ }
17
+ >
18
+ <h2 id="why">Why</h2>
19
+ <p>
20
+ A function that can fail says so in its type: <Doodle kind="circle">a result</Doodle>, never a surprise.
21
+ </p>
22
+ <h2 id="use">Use it</h2>
23
+ <p>Return <code>ok(value)</code> or <code>fail(error)</code>; the caller must look at both.</p>
24
+ </SiteCahierDoc>
25
+ </SiteCahier>
26
+ );
27
+ }
@@ -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,46 @@
1
+ "use client";
2
+
3
+ // registry/examples/site-cahier/ui-home.tsx
4
+ import { CardGrid } from "@krizaka/ui/card-grid";
5
+ import { Doodle } from "@krizaka/ui/doodle";
6
+ import { GradeStamp } from "@krizaka/ui/grade-stamp";
7
+ import { LinkCard } from "@krizaka/ui/link-card";
8
+ import { Section } from "@krizaka/ui/page";
9
+ import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ var coverage = { percent: 94.1, source: "Vitest coverage report, lines, 2026-10-23" };
12
+ function SiteCahierUiHome() {
13
+ return /* @__PURE__ */ jsxs(
14
+ SiteCahier,
15
+ {
16
+ site: "ui",
17
+ name: "Krizaka UI",
18
+ bird: "duck",
19
+ hue: 215,
20
+ nav: [{ href: "/installation", label: "Get started", current: true }, { href: "/components", label: "Components" }, { href: "/templates", label: "Templates" }],
21
+ footer: { version: "2.0.0" },
22
+ children: [
23
+ /* @__PURE__ */ jsx(
24
+ SiteCahierHero,
25
+ {
26
+ bird: "duck",
27
+ birdCaption: "Plate III \xB7 the duck builds",
28
+ eyebrow: "Open source \xB7 design system",
29
+ title: "Build every Krizaka screen from one set of pieces",
30
+ lead: "Tokens, components and templates, published once and read by every product.",
31
+ doodle: /* @__PURE__ */ jsx(Doodle, { kind: "arrow", flip: true, place: "inline", label: "Start with the installation" }),
32
+ children: /* @__PURE__ */ jsx(GradeStamp, { value: Math.round(coverage.percent / 100 * 20 * 10) / 10, remark: "Tr\xE8s bien, continue", source: coverage.source })
33
+ }
34
+ ),
35
+ /* @__PURE__ */ jsx(Section, { id: "ways-in", number: "\xA7 1", title: "Three ways in", margin: true, paper: "ruled", children: /* @__PURE__ */ jsxs(CardGrid, { children: [
36
+ /* @__PURE__ */ jsx(LinkCard, { href: "/installation", title: "Install", description: "The packages, the stylesheet, the first component." }),
37
+ /* @__PURE__ */ jsx(LinkCard, { href: "/components", title: "Components", description: "Every piece, with its examples and its rules." }),
38
+ /* @__PURE__ */ jsx(LinkCard, { href: "/templates", title: "Templates", description: "Whole pages to copy as a starting point." })
39
+ ] }) })
40
+ ]
41
+ }
42
+ );
43
+ }
44
+ export {
45
+ SiteCahierUiHome as default
46
+ };
@@ -0,0 +1,40 @@
1
+ import { CardGrid } from "@krizaka/ui/card-grid";
2
+ import { Doodle } from "@krizaka/ui/doodle";
3
+ import { GradeStamp } from "@krizaka/ui/grade-stamp";
4
+ import { LinkCard } from "@krizaka/ui/link-card";
5
+ import { Section } from "@krizaka/ui/page";
6
+ import { SiteCahier, SiteCahierHero } from "@krizaka/ui/site-cahier";
7
+
8
+ // TEMPLATE — a tool site's home, the duck's: its print taped beside the title, an arrow doodle and a grade from real data.
9
+ const coverage = { percent: 94.1, source: "Vitest coverage report, lines, 2026-10-23" };
10
+
11
+ export default function SiteCahierUiHome() {
12
+ return (
13
+ <SiteCahier
14
+ site="ui"
15
+ name="Krizaka UI"
16
+ bird="duck"
17
+ hue={215}
18
+ nav={[{ href: "/installation", label: "Get started", current: true }, { href: "/components", label: "Components" }, { href: "/templates", label: "Templates" }]}
19
+ footer={{ version: "2.0.0" }}
20
+ >
21
+ <SiteCahierHero
22
+ bird="duck"
23
+ birdCaption="Plate III · the duck builds"
24
+ eyebrow="Open source · design system"
25
+ title="Build every Krizaka screen from one set of pieces"
26
+ lead="Tokens, components and templates, published once and read by every product."
27
+ doodle={<Doodle kind="arrow" flip place="inline" label="Start with the installation" />}
28
+ >
29
+ <GradeStamp value={Math.round((coverage.percent / 100) * 20 * 10) / 10} remark="Très bien, continue" source={coverage.source} />
30
+ </SiteCahierHero>
31
+ <Section id="ways-in" number="§ 1" title="Three ways in" margin paper="ruled">
32
+ <CardGrid>
33
+ <LinkCard href="/installation" title="Install" description="The packages, the stylesheet, the first component." />
34
+ <LinkCard href="/components" title="Components" description="Every piece, with its examples and its rules." />
35
+ <LinkCard href="/templates" title="Templates" description="Whole pages to copy as a starting point." />
36
+ </CardGrid>
37
+ </Section>
38
+ </SiteCahier>
39
+ );
40
+ }
@@ -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,45 @@
1
+ "use client";
2
+
3
+ // registry/examples/slot-picker/weeks.tsx
4
+ import { SlotPicker } from "@krizaka/ui/slot-picker";
5
+ import * as React from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ var t = (id, label, note, disabled) => ({ id, label, note, disabled });
8
+ var am = [t("a", "9:00 AM"), t("b", "9:45 AM", "Full", true), t("c", "10:30 AM")];
9
+ var day = (id, label, sub, pm) => ({
10
+ id,
11
+ label,
12
+ sub,
13
+ groups: [{ id: "am", label: "Morning", slots: am.map((s) => ({ ...s, id: id + s.id })) }, { id: "pm", label: "Afternoon", slots: pm ?? [] }]
14
+ });
15
+ var WEEKS = {
16
+ "2026-10-19": { label: "Oct 19 \u2013 25", days: [day("20", "Tue", "Oct 20", [t("20p", "2:00 PM"), t("20q", "3:30 PM", "1 spot left")])] },
17
+ "2026-10-26": { label: "Oct 26 \u2013 Nov 1", days: [day("27", "Tue", "Oct 27", [t("27p", "1:00 PM")])] },
18
+ "2026-11-02": { label: "Nov 2 \u2013 8", days: [] }
19
+ };
20
+ function SlotPickerWeeks() {
21
+ const [week, setWeek] = React.useState("2026-10-19");
22
+ const [value, setValue] = React.useState("20c");
23
+ const data = WEEKS[week] ?? { label: week, days: [] };
24
+ return /* @__PURE__ */ jsx(
25
+ SlotPicker,
26
+ {
27
+ label: "Available times",
28
+ emptyLabel: "Nothing free this week \u2014 try the next one.",
29
+ days: data.days,
30
+ value,
31
+ onValueChange: setValue,
32
+ week,
33
+ onWeekChange: setWeek,
34
+ minWeek: "2026-10-19",
35
+ maxWeek: "2026-11-02",
36
+ todayWeek: "2026-10-19",
37
+ weekLabel: data.label,
38
+ weekButtons: { previous: "Previous week", today: "Today", next: "Next week" },
39
+ footer: "Montr\xE9al (UTC\u22124) \xB7 45 min"
40
+ }
41
+ );
42
+ }
43
+ export {
44
+ SlotPickerWeeks as default
45
+ };
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { type PickerDay, SlotPicker } from "@krizaka/ui/slot-picker";
3
+ import * as React from "react";
4
+
5
+ // A fictitious shop: the host loads the days of the week it is asked for; the picker only shows them.
6
+ const t = (id: string, label: string, note?: string, disabled?: boolean) => ({ id, label, note, disabled });
7
+ const am = [t("a", "9:00 AM"), t("b", "9:45 AM", "Full", true), t("c", "10:30 AM")];
8
+ const day = (id: string, label: string, sub: string, pm: PickerDay["slots"]): PickerDay => ({
9
+ id, label, sub, groups: [{ id: "am", label: "Morning", slots: am.map((s) => ({ ...s, id: id + s.id })) }, { id: "pm", label: "Afternoon", slots: pm ?? [] }],
10
+ });
11
+ const WEEKS: Record<string, { label: string; days: PickerDay[] }> = {
12
+ "2026-10-19": { label: "Oct 19 – 25", days: [day("20", "Tue", "Oct 20", [t("20p", "2:00 PM"), t("20q", "3:30 PM", "1 spot left")])] },
13
+ "2026-10-26": { label: "Oct 26 – Nov 1", days: [day("27", "Tue", "Oct 27", [t("27p", "1:00 PM")])] },
14
+ "2026-11-02": { label: "Nov 2 – 8", days: [] },
15
+ };
16
+
17
+ export default function SlotPickerWeeks() {
18
+ const [week, setWeek] = React.useState("2026-10-19");
19
+ const [value, setValue] = React.useState<string | null>("20c");
20
+ const data = WEEKS[week] ?? { label: week, days: [] };
21
+ return (
22
+ <SlotPicker
23
+ label="Available times" emptyLabel="Nothing free this week — try the next one." days={data.days} value={value} onValueChange={setValue}
24
+ week={week} onWeekChange={setWeek} minWeek="2026-10-19" maxWeek="2026-11-02" todayWeek="2026-10-19" weekLabel={data.label}
25
+ weekButtons={{ previous: "Previous week", today: "Today", next: "Next week" }} footer="Montréal (UTC−4) · 45 min"
26
+ />
27
+ );
28
+ }
@@ -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,11 @@
1
+ "use client";
2
+
3
+ // registry/examples/speed-lines/hero.tsx
4
+ import { SpeedLines } from "@krizaka/ui/speed-lines";
5
+ import { jsx } from "react/jsx-runtime";
6
+ function SpeedLinesHero() {
7
+ return /* @__PURE__ */ jsx(SpeedLines, { style: { minHeight: 280, padding: 32 }, clear: 36, children: /* @__PURE__ */ jsx("h1", { style: { margin: 0, textAlign: "center", fontFamily: "var(--kz-font-display)", fontSize: "clamp(32px, 6vw, 56px)", background: "var(--kz-surface-0)", padding: "8px 20px" }, children: "2.0.0 is out" }) });
8
+ }
9
+ export {
10
+ SpeedLinesHero as default
11
+ };
@@ -0,0 +1,12 @@
1
+ import { SpeedLines } from "@krizaka/ui/speed-lines";
2
+
3
+ // A radial burst behind the title that opens a page: the lines are decoration, the title is the page's h1.
4
+ export default function SpeedLinesHero() {
5
+ return (
6
+ <SpeedLines style={{ minHeight: 280, padding: 32 }} clear={36}>
7
+ <h1 style={{ margin: 0, textAlign: "center", fontFamily: "var(--kz-font-display)", fontSize: "clamp(32px, 6vw, 56px)", background: "var(--kz-surface-0)", padding: "8px 20px" }}>
8
+ 2.0.0 is out
9
+ </h1>
10
+ </SpeedLines>
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,11 @@
1
+ "use client";
2
+
3
+ // registry/examples/speed-lines/streaks.tsx
4
+ import { SpeedLines } from "@krizaka/ui/speed-lines";
5
+ import { jsx } from "react/jsx-runtime";
6
+ function SpeedLinesStreaks() {
7
+ return /* @__PURE__ */ jsx(SpeedLines, { kind: "horizontal", count: 30, style: { minHeight: 200, padding: 24 }, children: /* @__PURE__ */ jsx("output", { style: { display: "block", padding: "12px 28px", fontFamily: "var(--kz-font-mono)", fontSize: 28, background: "var(--kz-surface-1)", border: "1px solid var(--kz-border-default)" }, children: "60 fps \xB7 0.0 ms jank" }) });
8
+ }
9
+ export {
10
+ SpeedLinesStreaks as default
11
+ };
@@ -0,0 +1,12 @@
1
+ import { SpeedLines } from "@krizaka/ui/speed-lines";
2
+
3
+ // Horizontal streaks behind a live demo (here a counter): the speed is in the lines, the demo stays calm.
4
+ export default function SpeedLinesStreaks() {
5
+ return (
6
+ <SpeedLines kind="horizontal" count={30} style={{ minHeight: 200, padding: 24 }}>
7
+ <output style={{ display: "block", padding: "12px 28px", fontFamily: "var(--kz-font-mono)", fontSize: 28, background: "var(--kz-surface-1)", border: "1px solid var(--kz-border-default)" }}>
8
+ 60 fps · 0.0 ms jank
9
+ </output>
10
+ </SpeedLines>
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,35 @@
1
+ "use client";
2
+
3
+ // registry/examples/status-chip/default.tsx
4
+ import { StatusChip } from "@krizaka/ui/status-chip";
5
+ import * as React from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ var label = (fr, en) => ({ fr, en });
8
+ var files = {
9
+ key: "applicant-file",
10
+ label: label("Dossier", "File"),
11
+ mode: "editable",
12
+ initial: "to-decide",
13
+ states: [
14
+ { key: "to-decide", label: label("\xC0 d\xE9cider", "To decide"), tone: "accent" },
15
+ { key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true },
16
+ { key: "declined", label: label("Non retenu", "Declined"), tone: "neutral", final: true }
17
+ ],
18
+ transitions: [
19
+ { from: "to-decide", to: "selected", roles: ["owner"], confirm: true },
20
+ { from: "to-decide", to: "declined", roles: ["owner"], reasons: [{ key: "incomplete", label: label("Dossier incomplet", "Incomplete file") }, { key: "other", label: label("Autre candidat", "Another applicant") }] }
21
+ ]
22
+ };
23
+ var paid = { ...files, key: "invoice", mode: "derived", states: [{ key: "paid", label: label("Pay\xE9e", "Paid"), tone: "success" }], transitions: [] };
24
+ function StatusChipDefault() {
25
+ const [state, setState] = React.useState("to-decide");
26
+ const move = ({ transition }) => setState(transition.to);
27
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-3", children: [
28
+ /* @__PURE__ */ jsx(StatusChip, { set: files, state, role: "owner", locale: "en", onMove: move }),
29
+ /* @__PURE__ */ jsx(StatusChip, { set: files, state: "to-decide", role: "viewer", locale: "en", onMove: move }),
30
+ /* @__PURE__ */ jsx(StatusChip, { set: paid, state: "paid", role: "owner", locale: "en", onMove: move })
31
+ ] });
32
+ }
33
+ export {
34
+ StatusChipDefault as default
35
+ };
@@ -0,0 +1,32 @@
1
+ "use client";
2
+
3
+ import { StatusChip, type StatusSet } from "@krizaka/ui/status-chip";
4
+ import * as React from "react";
5
+
6
+ const label = (fr: string, en: string) => ({ fr, en });
7
+ // Applicant files of a fictitious landlord (« To decide → Selected | Declined »): a declined file is final, the reason is picked.
8
+ const files: StatusSet = {
9
+ key: "applicant-file", label: label("Dossier", "File"), mode: "editable", initial: "to-decide",
10
+ states: [
11
+ { key: "to-decide", label: label("À décider", "To decide"), tone: "accent" },
12
+ { key: "selected", label: label("Retenu", "Selected"), tone: "success", final: true },
13
+ { key: "declined", label: label("Non retenu", "Declined"), tone: "neutral", final: true },
14
+ ],
15
+ transitions: [
16
+ { from: "to-decide", to: "selected", roles: ["owner"], confirm: true },
17
+ { from: "to-decide", to: "declined", roles: ["owner"], reasons: [{ key: "incomplete", label: label("Dossier incomplet", "Incomplete file") }, { key: "other", label: label("Autre candidat", "Another applicant") }] },
18
+ ],
19
+ };
20
+ const paid: StatusSet = { ...files, key: "invoice", mode: "derived", states: [{ key: "paid", label: label("Payée", "Paid"), tone: "success" }], transitions: [] };
21
+
22
+ export default function StatusChipDefault() {
23
+ const [state, setState] = React.useState("to-decide");
24
+ const move = ({ transition }: { transition: { to: string } }) => setState(transition.to);
25
+ return (
26
+ <div className="flex flex-wrap items-center gap-3">
27
+ <StatusChip set={files} state={state} role="owner" locale="en" onMove={move} />
28
+ <StatusChip set={files} state="to-decide" role="viewer" locale="en" onMove={move} />
29
+ <StatusChip set={paid} state="paid" role="owner" locale="en" onMove={move} />
30
+ </div>
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,26 @@
1
+ "use client";
2
+
3
+ // registry/examples/status-chip/native/default.tsx
4
+ import { StatusChip } from "@krizaka/ui/native";
5
+ import { useState } from "react";
6
+ import { View } from "react-native";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ function NativeStatusChipDefault() {
9
+ const [state, setState] = useState("to-decide");
10
+ const open = state === "to-decide";
11
+ return /* @__PURE__ */ jsxs(View, { style: { gap: 12, alignItems: "flex-start" }, children: [
12
+ /* @__PURE__ */ jsx(
13
+ StatusChip,
14
+ {
15
+ label: { "to-decide": "To decide", selected: "Selected", declined: "Declined" }[state],
16
+ tone: open ? "accent" : state === "selected" ? "success" : "neutral",
17
+ moves: open ? [{ key: "selected", label: "Selected", confirm: true }, { key: "declined", label: "Declined", reasons: [{ key: "incomplete", label: "Incomplete file" }] }] : [],
18
+ onMove: (to) => setState(to)
19
+ }
20
+ ),
21
+ /* @__PURE__ */ jsx(StatusChip, { label: "Paid", tone: "success" })
22
+ ] });
23
+ }
24
+ export {
25
+ NativeStatusChipDefault as default
26
+ };
@@ -0,0 +1,20 @@
1
+ import { StatusChip } from "@krizaka/ui/native";
2
+ import { useState } from "react";
3
+ import { View } from "react-native";
4
+
5
+ // Applicant files of a fictitious landlord: « To decide » opens the moves of the role; a derived status is read-only.
6
+ export default function NativeStatusChipDefault() {
7
+ const [state, setState] = useState<"to-decide" | "selected" | "declined">("to-decide");
8
+ const open = state === "to-decide";
9
+ return (
10
+ <View style={{ gap: 12, alignItems: "flex-start" }}>
11
+ <StatusChip
12
+ label={{ "to-decide": "To decide", selected: "Selected", declined: "Declined" }[state]}
13
+ tone={open ? "accent" : state === "selected" ? "success" : "neutral"}
14
+ moves={open ? [{ key: "selected", label: "Selected", confirm: true }, { key: "declined", label: "Declined", reasons: [{ key: "incomplete", label: "Incomplete file" }] }] : []}
15
+ onMove={(to) => setState(to as typeof state)}
16
+ />
17
+ <StatusChip label="Paid" tone="success" />
18
+ </View>
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,41 @@
1
+ "use client";
2
+
3
+ // registry/examples/tag-selector/creatable.tsx
4
+ import { TagSelector } from "@krizaka/ui/tag-selector";
5
+ import { useState } from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ var NAMES = { blue: "Blue", green: "Green", amber: "Amber", red: "Red", violet: "Violet", gray: "Gray" };
8
+ function TagSelectorCreatable() {
9
+ const [options, setOptions] = useState([
10
+ { value: "regular", label: "Regular", marker: "blue" },
11
+ { value: "to-follow", label: "To follow up", marker: "amber" },
12
+ { value: "late", label: "Late payer", marker: "red" }
13
+ ]);
14
+ const [chosen, setChosen] = useState(["regular"]);
15
+ return /* @__PURE__ */ jsx(
16
+ TagSelector,
17
+ {
18
+ className: "max-w-lg",
19
+ label: "Tags of Eric",
20
+ options,
21
+ value: chosen,
22
+ onValueChange: setChosen,
23
+ creatable: true,
24
+ inputLabel: "Add a tag",
25
+ placeholder: "Add a tag\u2026",
26
+ markerNames: NAMES,
27
+ markerLabel: "Colour of the new tag",
28
+ createLabel: (name) => `Create \u201C${name}\u201D`,
29
+ max: 6,
30
+ countLabel: (n, max) => `${n} of ${max} tags`,
31
+ onCreate: (name, marker) => {
32
+ const value = name.toLowerCase().replace(/\s+/g, "-");
33
+ setOptions((all) => [...all, { value, label: name, marker }]);
34
+ setChosen((all) => [...all, value]);
35
+ }
36
+ }
37
+ );
38
+ }
39
+ export {
40
+ TagSelectorCreatable as default
41
+ };
@@ -0,0 +1,29 @@
1
+ "use client";
2
+
3
+ import { type Marker } from "@krizaka/ui/chip";
4
+ import { type TagOption,TagSelector } from "@krizaka/ui/tag-selector";
5
+ import { useState } from "react";
6
+
7
+ const NAMES: Record<Marker, string> = { blue: "Blue", green: "Green", amber: "Amber", red: "Red", violet: "Violet", gray: "Gray" };
8
+
9
+ // A workshop's client tags: type to narrow, Enter takes the tag of that name or creates a new one in the colour chosen.
10
+ export default function TagSelectorCreatable() {
11
+ const [options, setOptions] = useState<TagOption[]>([
12
+ { value: "regular", label: "Regular", marker: "blue" },
13
+ { value: "to-follow", label: "To follow up", marker: "amber" },
14
+ { value: "late", label: "Late payer", marker: "red" },
15
+ ]);
16
+ const [chosen, setChosen] = useState<string[]>(["regular"]);
17
+ return (
18
+ <TagSelector
19
+ className="max-w-lg" label="Tags of Eric" options={options} value={chosen} onValueChange={setChosen}
20
+ creatable inputLabel="Add a tag" placeholder="Add a tag…" markerNames={NAMES} markerLabel="Colour of the new tag"
21
+ createLabel={(name) => `Create “${name}”`} max={6} countLabel={(n, max) => `${n} of ${max} tags`}
22
+ onCreate={(name, marker) => {
23
+ const value = name.toLowerCase().replace(/\s+/g, "-");
24
+ setOptions((all) => [...all, { value, label: name, marker }]);
25
+ setChosen((all) => [...all, value]);
26
+ }}
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,19 @@
1
+ "use client";
2
+
3
+ // registry/examples/tag-selector/native/tags.tsx
4
+ import { TagSelector } from "@krizaka/ui/native";
5
+ import { useState } from "react";
6
+ import { View } from "react-native";
7
+ import { jsx } from "react/jsx-runtime";
8
+ var TAGS = [
9
+ { value: "regular", label: "Regular", marker: "blue" },
10
+ { value: "to-follow", label: "To follow up", marker: "amber" },
11
+ { value: "late", label: "Late payer", marker: "red" }
12
+ ];
13
+ function NativeTagSelectorTags() {
14
+ const [chosen, setChosen] = useState(["regular"]);
15
+ return /* @__PURE__ */ jsx(View, { style: { width: 340 }, children: /* @__PURE__ */ jsx(TagSelector, { label: "Tags of Eric", options: TAGS, value: chosen, onValueChange: setChosen }) });
16
+ }
17
+ export {
18
+ NativeTagSelectorTags as default
19
+ };
@@ -0,0 +1,19 @@
1
+ import { TagSelector } from "@krizaka/ui/native";
2
+ import { useState } from "react";
3
+ import { View } from "react-native";
4
+
5
+ const TAGS = [
6
+ { value: "regular", label: "Regular", marker: "blue" },
7
+ { value: "to-follow", label: "To follow up", marker: "amber" },
8
+ { value: "late", label: "Late payer", marker: "red" },
9
+ ] as const;
10
+
11
+ // The tags of a client (a fictitious bike workshop), each with its marker.
12
+ export default function NativeTagSelectorTags() {
13
+ const [chosen, setChosen] = useState<string[]>(["regular"]);
14
+ return (
15
+ <View style={{ width: 340 }}>
16
+ <TagSelector label="Tags of Eric" options={TAGS} value={chosen} onValueChange={setChosen} />
17
+ </View>
18
+ );
19
+ }
@@ -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/versus-card/alternatives.tsx
4
+ import { VersusCard } from "@krizaka/ui/versus-card";
5
+ import { jsx } from "react/jsx-runtime";
6
+ function VersusCardAlternatives() {
7
+ return /* @__PURE__ */ jsx(
8
+ VersusCard,
9
+ {
10
+ label: "Dialog versus Sheet",
11
+ vs: "VS",
12
+ left: { name: "Dialog", bird: "falcon", stats: [{ label: "Focus trap", value: 100, display: "Yes" }, { label: "Bundle", value: 3.2, max: 6, display: "3.2 kB" }] },
13
+ right: { name: "Sheet", bird: "pigeon", stats: [{ label: "Focus trap", value: 100, display: "Yes" }, { label: "Bundle", value: 2.4, max: 6, display: "2.4 kB" }] },
14
+ source: "Sizes from each package's size-limit budget."
15
+ }
16
+ );
17
+ }
18
+ export {
19
+ VersusCardAlternatives as default
20
+ };
@@ -0,0 +1,14 @@
1
+ import { VersusCard } from "@krizaka/ui/versus-card";
2
+
3
+ // A component and its alternative: the same stats on both sides, the reader decides.
4
+ export default function VersusCardAlternatives() {
5
+ return (
6
+ <VersusCard
7
+ label="Dialog versus Sheet"
8
+ vs="VS"
9
+ left={{ name: "Dialog", bird: "falcon", stats: [{ label: "Focus trap", value: 100, display: "Yes" }, { label: "Bundle", value: 3.2, max: 6, display: "3.2 kB" }] }}
10
+ right={{ name: "Sheet", bird: "pigeon", stats: [{ label: "Focus trap", value: 100, display: "Yes" }, { label: "Bundle", value: 2.4, max: 6, display: "2.4 kB" }] }}
11
+ source="Sizes from each package's size-limit budget."
12
+ />
13
+ );
14
+ }
@@ -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;