@krizaka/ui 3.64.0 → 3.65.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 (455) hide show
  1. package/dist/account-menu.d.ts +7 -3
  2. package/dist/account-menu.js +14 -10
  3. package/dist/account-menu.js.map +1 -1
  4. package/dist/app-frame/server.d.ts +123 -0
  5. package/dist/app-frame/server.js +109 -0
  6. package/dist/app-frame/server.js.map +1 -0
  7. package/dist/app-frame.d.ts +210 -0
  8. package/dist/app-frame.js +220 -0
  9. package/dist/app-frame.js.map +1 -0
  10. package/dist/app-header.d.ts +3 -3
  11. package/dist/blocks.css +41 -0
  12. package/dist/chunk-5D7NMUF6.js +35 -0
  13. package/dist/chunk-5D7NMUF6.js.map +1 -0
  14. package/dist/chunk-A7MQPIEG.js +31 -0
  15. package/dist/chunk-A7MQPIEG.js.map +1 -0
  16. package/dist/chunk-B47WSPMP.js +60 -0
  17. package/dist/chunk-B47WSPMP.js.map +1 -0
  18. package/dist/chunk-HKEAYSFS.js +19 -0
  19. package/dist/chunk-HKEAYSFS.js.map +1 -0
  20. package/dist/chunk-ZYHWJ7U5.js +20 -0
  21. package/dist/chunk-ZYHWJ7U5.js.map +1 -0
  22. package/dist/cover-hero.d.ts +4 -0
  23. package/dist/cover-hero.js +5 -2
  24. package/dist/cover-hero.js.map +1 -1
  25. package/dist/desktop-window.d.ts +223 -0
  26. package/dist/desktop-window.js +261 -0
  27. package/dist/desktop-window.js.map +1 -0
  28. package/dist/filter-bar.d.ts +3 -3
  29. package/dist/frame-D6Xv83t8.d.ts +52 -0
  30. package/dist/native.d.ts +218 -3
  31. package/dist/native.js +1638 -1450
  32. package/dist/native.js.map +1 -1
  33. package/dist/service-card.d.ts +25 -1
  34. package/dist/service-card.js +7 -3
  35. package/dist/service-card.js.map +1 -1
  36. package/dist/shop/booking.d.ts +36 -0
  37. package/dist/shop/booking.js +37 -0
  38. package/dist/shop/booking.js.map +1 -0
  39. package/dist/shop/bulletin.d.ts +28 -0
  40. package/dist/shop/bulletin.js +29 -0
  41. package/dist/shop/bulletin.js.map +1 -0
  42. package/dist/shop/demo.d.ts +135 -0
  43. package/dist/shop/demo.js +141 -0
  44. package/dist/shop/demo.js.map +1 -0
  45. package/dist/shop/faq.d.ts +20 -0
  46. package/dist/shop/faq.js +33 -0
  47. package/dist/shop/faq.js.map +1 -0
  48. package/dist/shop/gallery.d.ts +46 -0
  49. package/dist/shop/gallery.js +76 -0
  50. package/dist/shop/gallery.js.map +1 -0
  51. package/dist/shop/hero.d.ts +36 -0
  52. package/dist/shop/hero.js +70 -0
  53. package/dist/shop/hero.js.map +1 -0
  54. package/dist/shop/map-gate.d.ts +22 -0
  55. package/dist/shop/map-gate.js +34 -0
  56. package/dist/shop/map-gate.js.map +1 -0
  57. package/dist/shop/policies.d.ts +18 -0
  58. package/dist/shop/policies.js +16 -0
  59. package/dist/shop/policies.js.map +1 -0
  60. package/dist/shop/reviews.d.ts +25 -0
  61. package/dist/shop/reviews.js +47 -0
  62. package/dist/shop/reviews.js.map +1 -0
  63. package/dist/shop/services.d.ts +57 -0
  64. package/dist/shop/services.js +118 -0
  65. package/dist/shop/services.js.map +1 -0
  66. package/dist/shop/social.d.ts +27 -0
  67. package/dist/shop/social.js +27 -0
  68. package/dist/shop/social.js.map +1 -0
  69. package/dist/shop/story.d.ts +24 -0
  70. package/dist/shop/story.js +26 -0
  71. package/dist/shop/story.js.map +1 -0
  72. package/dist/shop/team.d.ts +24 -0
  73. package/dist/shop/team.js +26 -0
  74. package/dist/shop/team.js.map +1 -0
  75. package/dist/shop/video.d.ts +40 -0
  76. package/dist/shop/video.js +33 -0
  77. package/dist/shop/video.js.map +1 -0
  78. package/dist/shop/visit.d.ts +29 -0
  79. package/dist/shop/visit.js +38 -0
  80. package/dist/shop/visit.js.map +1 -0
  81. package/dist/shop-composer.d.ts +490 -0
  82. package/dist/shop-composer.js +2061 -0
  83. package/dist/shop-composer.js.map +1 -0
  84. package/dist/shop.d.ts +316 -0
  85. package/dist/shop.js +389 -0
  86. package/dist/shop.js.map +1 -0
  87. package/dist/theme.d.ts +3 -1
  88. package/dist/theme.js +4 -0
  89. package/dist/theme.js.map +1 -1
  90. package/package.json +305 -5
  91. package/registry/account-menu.json +22 -8
  92. package/registry/account-settings.json +1 -1
  93. package/registry/achievement.json +1 -1
  94. package/registry/action-bar.json +1 -1
  95. package/registry/activity-feed.json +1 -1
  96. package/registry/agenda.json +1 -1
  97. package/registry/alert.json +1 -1
  98. package/registry/analysis-report.json +1 -1
  99. package/registry/anatomy-plate.json +1 -1
  100. package/registry/app-frame.json +564 -0
  101. package/registry/app-header.json +1 -1
  102. package/registry/app-shell.json +1 -1
  103. package/registry/argument-card.json +1 -1
  104. package/registry/audio-player.json +1 -1
  105. package/registry/auth-layout.json +1 -1
  106. package/registry/avatar.json +1 -1
  107. package/registry/badge.json +1 -1
  108. package/registry/bird-plate.json +1 -1
  109. package/registry/button.json +1 -1
  110. package/registry/captcha.json +1 -1
  111. package/registry/card-grid.json +1 -1
  112. package/registry/card.json +1 -1
  113. package/registry/catalogue-page.json +1 -1
  114. package/registry/changelog-page.json +1 -1
  115. package/registry/chapter.json +1 -1
  116. package/registry/chat.json +1 -1
  117. package/registry/checkbox.json +1 -1
  118. package/registry/chip-link.json +1 -1
  119. package/registry/chip-row.json +1 -1
  120. package/registry/chip.json +1 -1
  121. package/registry/choice-grid.json +1 -1
  122. package/registry/code-block.json +1 -1
  123. package/registry/combobox.json +1 -1
  124. package/registry/command.json +1 -1
  125. package/registry/comparison-table.json +1 -1
  126. package/registry/component-page.json +1 -1
  127. package/registry/confirm-button.json +1 -1
  128. package/registry/contact-page.json +1 -1
  129. package/registry/continue-prompt.json +1 -1
  130. package/registry/countdown.json +1 -1
  131. package/registry/cover-hero.json +2 -2
  132. package/registry/cta-panel.json +1 -1
  133. package/registry/dashboard-layout.json +1 -1
  134. package/registry/data-table.json +1 -1
  135. package/registry/date-picker.json +3 -3
  136. package/registry/decision-list.json +1 -1
  137. package/registry/description-list.json +1 -1
  138. package/registry/desktop-window.json +407 -0
  139. package/registry/detail-layout.json +1 -1
  140. package/registry/dialog.json +1 -1
  141. package/registry/docs-article-page.json +1 -1
  142. package/registry/docs-hub-page.json +1 -1
  143. package/registry/docs-layout.json +1 -1
  144. package/registry/docs-nav.json +1 -1
  145. package/registry/document-viewer.json +1 -1
  146. package/registry/doodle.json +1 -1
  147. package/registry/drop-overlay.json +1 -1
  148. package/registry/dropdown-menu.json +1 -1
  149. package/registry/elephant.json +2 -2
  150. package/registry/embed-facade.json +1 -1
  151. package/registry/empty-state.json +1 -1
  152. package/registry/engine-flow.json +1 -1
  153. package/registry/environment-notice.json +1 -1
  154. package/registry/error-page.json +1 -1
  155. package/registry/examples/app-frame/admin.d.ts +4 -0
  156. package/registry/examples/app-frame/admin.js +32 -0
  157. package/registry/examples/app-frame/admin.tsx +33 -0
  158. package/registry/examples/app-frame/app.d.ts +4 -0
  159. package/registry/examples/app-frame/app.js +53 -0
  160. package/registry/examples/app-frame/app.tsx +56 -0
  161. package/registry/examples/desktop-window/library.d.ts +4 -0
  162. package/registry/examples/desktop-window/library.js +49 -0
  163. package/registry/examples/desktop-window/library.tsx +58 -0
  164. package/registry/examples/form-flow/native/signup.d.ts +4 -0
  165. package/registry/examples/form-flow/native/signup.dark.png +0 -0
  166. package/registry/examples/form-flow/native/signup.js +26 -0
  167. package/registry/examples/form-flow/native/signup.light.png +0 -0
  168. package/registry/examples/form-flow/native/signup.tsx +23 -0
  169. package/registry/examples/grid/native/columns.d.ts +4 -0
  170. package/registry/examples/grid/native/columns.dark.png +0 -0
  171. package/registry/examples/grid/native/columns.js +23 -0
  172. package/registry/examples/grid/native/columns.light.png +0 -0
  173. package/registry/examples/grid/native/columns.tsx +20 -0
  174. package/registry/examples/grid/native/photos.d.ts +4 -0
  175. package/registry/examples/grid/native/photos.dark.png +0 -0
  176. package/registry/examples/grid/native/photos.js +14 -0
  177. package/registry/examples/grid/native/photos.light.png +0 -0
  178. package/registry/examples/grid/native/photos.tsx +18 -0
  179. package/registry/examples/grid/native/stats.d.ts +4 -0
  180. package/registry/examples/grid/native/stats.dark.png +0 -0
  181. package/registry/examples/grid/native/stats.js +22 -0
  182. package/registry/examples/grid/native/stats.light.png +0 -0
  183. package/registry/examples/grid/native/stats.tsx +24 -0
  184. package/registry/examples/list-detail/native/inbox.d.ts +4 -0
  185. package/registry/examples/list-detail/native/inbox.dark.png +0 -0
  186. package/registry/examples/list-detail/native/inbox.js +35 -0
  187. package/registry/examples/list-detail/native/inbox.light.png +0 -0
  188. package/registry/examples/list-detail/native/inbox.tsx +35 -0
  189. package/registry/examples/screen/native/dashboard.d.ts +4 -0
  190. package/registry/examples/screen/native/dashboard.dark.png +0 -0
  191. package/registry/examples/screen/native/dashboard.js +48 -0
  192. package/registry/examples/screen/native/dashboard.light.png +0 -0
  193. package/registry/examples/screen/native/dashboard.tsx +52 -0
  194. package/registry/examples/screen/native/settings-home.d.ts +4 -0
  195. package/registry/examples/screen/native/settings-home.dark.png +0 -0
  196. package/registry/examples/screen/native/settings-home.js +26 -0
  197. package/registry/examples/screen/native/settings-home.light.png +0 -0
  198. package/registry/examples/screen/native/settings-home.tsx +25 -0
  199. package/registry/examples/shop/booking-panel.d.ts +4 -0
  200. package/registry/examples/shop/booking-panel.js +12 -0
  201. package/registry/examples/shop/booking-panel.tsx +11 -0
  202. package/registry/examples/shop/booking-sticky.d.ts +4 -0
  203. package/registry/examples/shop/booking-sticky.js +15 -0
  204. package/registry/examples/shop/booking-sticky.tsx +12 -0
  205. package/registry/examples/shop/booking-strip.d.ts +4 -0
  206. package/registry/examples/shop/booking-strip.js +13 -0
  207. package/registry/examples/shop/booking-strip.tsx +12 -0
  208. package/registry/examples/shop/bulletin-banner.d.ts +4 -0
  209. package/registry/examples/shop/bulletin-banner.js +13 -0
  210. package/registry/examples/shop/bulletin-banner.tsx +12 -0
  211. package/registry/examples/shop/bulletin-board.d.ts +4 -0
  212. package/registry/examples/shop/bulletin-board.js +13 -0
  213. package/registry/examples/shop/bulletin-board.tsx +12 -0
  214. package/registry/examples/shop/cards.d.ts +4 -0
  215. package/registry/examples/shop/cards.js +13 -0
  216. package/registry/examples/shop/cards.tsx +12 -0
  217. package/registry/examples/shop/carousel.d.ts +4 -0
  218. package/registry/examples/shop/carousel.js +13 -0
  219. package/registry/examples/shop/carousel.tsx +12 -0
  220. package/registry/examples/shop/document.d.ts +4 -0
  221. package/registry/examples/shop/document.js +20 -0
  222. package/registry/examples/shop/document.tsx +13 -0
  223. package/registry/examples/shop/faq.d.ts +4 -0
  224. package/registry/examples/shop/faq.js +13 -0
  225. package/registry/examples/shop/faq.tsx +12 -0
  226. package/registry/examples/shop/gallery-filmstrip.d.ts +4 -0
  227. package/registry/examples/shop/gallery-filmstrip.js +13 -0
  228. package/registry/examples/shop/gallery-filmstrip.tsx +12 -0
  229. package/registry/examples/shop/gallery-grid.d.ts +4 -0
  230. package/registry/examples/shop/gallery-grid.js +13 -0
  231. package/registry/examples/shop/gallery-grid.tsx +12 -0
  232. package/registry/examples/shop/gallery-mosaic.d.ts +4 -0
  233. package/registry/examples/shop/gallery-mosaic.js +13 -0
  234. package/registry/examples/shop/gallery-mosaic.tsx +12 -0
  235. package/registry/examples/shop/gallery-wall.d.ts +4 -0
  236. package/registry/examples/shop/gallery-wall.js +13 -0
  237. package/registry/examples/shop/gallery-wall.tsx +12 -0
  238. package/registry/examples/shop/hero-banner.d.ts +4 -0
  239. package/registry/examples/shop/hero-banner.js +15 -0
  240. package/registry/examples/shop/hero-banner.tsx +14 -0
  241. package/registry/examples/shop/hero-poster.d.ts +4 -0
  242. package/registry/examples/shop/hero-poster.js +15 -0
  243. package/registry/examples/shop/hero-poster.tsx +14 -0
  244. package/registry/examples/shop/hero-split.d.ts +4 -0
  245. package/registry/examples/shop/hero-split.js +15 -0
  246. package/registry/examples/shop/hero-split.tsx +14 -0
  247. package/registry/examples/shop/hero-tv.d.ts +4 -0
  248. package/registry/examples/shop/hero-tv.js +15 -0
  249. package/registry/examples/shop/hero-tv.tsx +14 -0
  250. package/registry/examples/shop/index.d.ts +4 -0
  251. package/registry/examples/shop/index.js +13 -0
  252. package/registry/examples/shop/index.tsx +12 -0
  253. package/registry/examples/shop/menu-columns.d.ts +4 -0
  254. package/registry/examples/shop/menu-columns.js +13 -0
  255. package/registry/examples/shop/menu-columns.tsx +12 -0
  256. package/registry/examples/shop/menu.d.ts +4 -0
  257. package/registry/examples/shop/menu.js +25 -0
  258. package/registry/examples/shop/menu.tsx +21 -0
  259. package/registry/examples/shop/page.d.ts +4 -0
  260. package/registry/examples/shop/page.js +32 -0
  261. package/registry/examples/shop/page.tsx +27 -0
  262. package/registry/examples/shop/policies.d.ts +4 -0
  263. package/registry/examples/shop/policies.js +13 -0
  264. package/registry/examples/shop/policies.tsx +12 -0
  265. package/registry/examples/shop/reviews-quote.d.ts +4 -0
  266. package/registry/examples/shop/reviews-quote.js +13 -0
  267. package/registry/examples/shop/reviews-quote.tsx +12 -0
  268. package/registry/examples/shop/reviews-strip.d.ts +4 -0
  269. package/registry/examples/shop/reviews-strip.js +13 -0
  270. package/registry/examples/shop/reviews-strip.tsx +12 -0
  271. package/registry/examples/shop/reviews-summary-cards.d.ts +4 -0
  272. package/registry/examples/shop/reviews-summary-cards.js +13 -0
  273. package/registry/examples/shop/reviews-summary-cards.tsx +12 -0
  274. package/registry/examples/shop/social-facade.d.ts +4 -0
  275. package/registry/examples/shop/social-facade.js +13 -0
  276. package/registry/examples/shop/social-facade.tsx +12 -0
  277. package/registry/examples/shop/social-links.d.ts +4 -0
  278. package/registry/examples/shop/social-links.js +12 -0
  279. package/registry/examples/shop/social-links.tsx +11 -0
  280. package/registry/examples/shop/story-owner.d.ts +4 -0
  281. package/registry/examples/shop/story-owner.js +13 -0
  282. package/registry/examples/shop/story-owner.tsx +12 -0
  283. package/registry/examples/shop/story-quote.d.ts +4 -0
  284. package/registry/examples/shop/story-quote.js +13 -0
  285. package/registry/examples/shop/story-quote.tsx +12 -0
  286. package/registry/examples/shop/team-cards.d.ts +4 -0
  287. package/registry/examples/shop/team-cards.js +13 -0
  288. package/registry/examples/shop/team-cards.tsx +12 -0
  289. package/registry/examples/shop/team-row.d.ts +4 -0
  290. package/registry/examples/shop/team-row.js +13 -0
  291. package/registry/examples/shop/team-row.tsx +12 -0
  292. package/registry/examples/shop/video-shorts.d.ts +4 -0
  293. package/registry/examples/shop/video-shorts.js +14 -0
  294. package/registry/examples/shop/video-shorts.tsx +13 -0
  295. package/registry/examples/shop/video-tv.d.ts +4 -0
  296. package/registry/examples/shop/video-tv.js +13 -0
  297. package/registry/examples/shop/video-tv.tsx +12 -0
  298. package/registry/examples/shop/visit-card.d.ts +4 -0
  299. package/registry/examples/shop/visit-card.js +13 -0
  300. package/registry/examples/shop/visit-card.tsx +12 -0
  301. package/registry/examples/shop/visit-map.d.ts +4 -0
  302. package/registry/examples/shop/visit-map.js +13 -0
  303. package/registry/examples/shop/visit-map.tsx +12 -0
  304. package/registry/examples/shop/visit-split.d.ts +4 -0
  305. package/registry/examples/shop/visit-split.js +13 -0
  306. package/registry/examples/shop/visit-split.tsx +12 -0
  307. package/registry/examples/shop-composer/composer.d.ts +4 -0
  308. package/registry/examples/shop-composer/composer.js +17 -0
  309. package/registry/examples/shop-composer/composer.tsx +21 -0
  310. package/registry/examples/state-screen/native/empty.d.ts +4 -0
  311. package/registry/examples/state-screen/native/empty.dark.png +0 -0
  312. package/registry/examples/state-screen/native/empty.js +12 -0
  313. package/registry/examples/state-screen/native/empty.light.png +0 -0
  314. package/registry/examples/state-screen/native/empty.tsx +11 -0
  315. package/registry/examples/state-screen/native/error.d.ts +4 -0
  316. package/registry/examples/state-screen/native/error.dark.png +0 -0
  317. package/registry/examples/state-screen/native/error.js +21 -0
  318. package/registry/examples/state-screen/native/error.light.png +0 -0
  319. package/registry/examples/state-screen/native/error.tsx +17 -0
  320. package/registry/examples/state-screen/native/offline.d.ts +4 -0
  321. package/registry/examples/state-screen/native/offline.dark.png +0 -0
  322. package/registry/examples/state-screen/native/offline.js +15 -0
  323. package/registry/examples/state-screen/native/offline.light.png +0 -0
  324. package/registry/examples/state-screen/native/offline.tsx +12 -0
  325. package/registry/field.json +1 -1
  326. package/registry/file-upload.json +1 -1
  327. package/registry/filter-bar.json +1 -1
  328. package/registry/flock.json +1 -1
  329. package/registry/footnote.json +1 -1
  330. package/registry/force-update-screen.json +1 -1
  331. package/registry/form-flow.json +152 -0
  332. package/registry/form.json +1 -1
  333. package/registry/gallery-page.json +1 -1
  334. package/registry/genui.json +1 -1
  335. package/registry/glossary-term.json +1 -1
  336. package/registry/glossary.json +1 -1
  337. package/registry/glow-card.json +1 -1
  338. package/registry/goal-gauge.json +1 -1
  339. package/registry/grade-stamp.json +1 -1
  340. package/registry/grid.json +262 -0
  341. package/registry/how-it-works-page.json +1 -1
  342. package/registry/image-cropper.json +1 -1
  343. package/registry/index.json +403 -11
  344. package/registry/iso.json +1 -1
  345. package/registry/kanban.json +1 -1
  346. package/registry/kbd.json +1 -1
  347. package/registry/kind-config-editor.json +1 -1
  348. package/registry/kpi-explained.json +1 -1
  349. package/registry/landing-page.json +1 -1
  350. package/registry/landscape.json +1 -1
  351. package/registry/language-switch.json +1 -1
  352. package/registry/legal-page.json +1 -1
  353. package/registry/link-card.json +1 -1
  354. package/registry/list-detail.json +188 -0
  355. package/registry/list.json +1 -1
  356. package/registry/loader.json +1 -1
  357. package/registry/longform-page.json +1 -1
  358. package/registry/maintenance-screen.json +1 -1
  359. package/registry/map.json +2 -2
  360. package/registry/margin-layout.json +1 -1
  361. package/registry/markdown.json +1 -1
  362. package/registry/marketing-layout.json +1 -1
  363. package/registry/marquee.json +1 -1
  364. package/registry/mascot-quote.json +1 -1
  365. package/registry/mascot-state.json +1 -1
  366. package/registry/mascots.json +1 -1
  367. package/registry/match-dialog.json +1 -1
  368. package/registry/media-capture.json +1 -1
  369. package/registry/media-gallery.json +1 -1
  370. package/registry/media-grid.json +1 -1
  371. package/registry/meta-row.json +1 -1
  372. package/registry/meter.json +1 -1
  373. package/registry/nav-bar.json +2 -2
  374. package/registry/next-actions.json +1 -1
  375. package/registry/notification-preferences.json +1 -1
  376. package/registry/number-ticker.json +1 -1
  377. package/registry/onboarding.json +3 -0
  378. package/registry/opening-hours.json +1 -1
  379. package/registry/page-header.json +1 -1
  380. package/registry/page-hero.json +1 -1
  381. package/registry/page-index.json +1 -1
  382. package/registry/page.json +1 -1
  383. package/registry/pagination.json +1 -1
  384. package/registry/photo-grid.json +1 -1
  385. package/registry/pointer-light.json +1 -1
  386. package/registry/popover.json +1 -1
  387. package/registry/pricing-page.json +1 -1
  388. package/registry/product-page.json +1 -1
  389. package/registry/profile-card.json +1 -1
  390. package/registry/progress.json +1 -1
  391. package/registry/promise-card.json +1 -1
  392. package/registry/quota-meter.json +1 -1
  393. package/registry/radio-group.json +1 -1
  394. package/registry/rail-nav.json +2 -2
  395. package/registry/recipes.json +1 -1
  396. package/registry/retro-tv.json +1 -1
  397. package/registry/reviews.json +1 -1
  398. package/registry/router.json +1 -1
  399. package/registry/screen.json +68 -4
  400. package/registry/scroll-stage.json +1 -1
  401. package/registry/search-field.json +1 -1
  402. package/registry/section-backdrop.json +1 -1
  403. package/registry/separator.json +1 -1
  404. package/registry/service-card.json +24 -6
  405. package/registry/settings-layout.json +5 -2
  406. package/registry/shop-composer.json +424 -0
  407. package/registry/shop.json +776 -0
  408. package/registry/showcase.json +1 -1
  409. package/registry/signature.json +1 -1
  410. package/registry/site-cahier.json +1 -1
  411. package/registry/site-footer.json +4 -4
  412. package/registry/sites.json +1 -1
  413. package/registry/skeleton.json +1 -1
  414. package/registry/skip-link.json +1 -1
  415. package/registry/slider.json +1 -1
  416. package/registry/slot-picker.json +1 -1
  417. package/registry/slot.json +1 -1
  418. package/registry/specimen-tag.json +1 -1
  419. package/registry/speed-lines.json +1 -1
  420. package/registry/spinner.json +1 -1
  421. package/registry/split-view.json +1 -1
  422. package/registry/stage-banner.json +1 -1
  423. package/registry/stat.json +1 -1
  424. package/registry/state-screen.json +224 -0
  425. package/registry/status-chip.json +1 -1
  426. package/registry/status-page.json +1 -1
  427. package/registry/step-progress.json +1 -1
  428. package/registry/step-showcase.json +1 -1
  429. package/registry/stepper.json +1 -1
  430. package/registry/sticky-action.json +1 -1
  431. package/registry/stuck.json +1 -1
  432. package/registry/swipe-deck.json +1 -1
  433. package/registry/switch.json +1 -1
  434. package/registry/tabs.json +1 -1
  435. package/registry/tag-input.json +1 -1
  436. package/registry/tag-selector.json +1 -1
  437. package/registry/taped-photo.json +1 -1
  438. package/registry/terminal-replay.json +1 -1
  439. package/registry/text-style.json +1 -1
  440. package/registry/theme.json +3 -3
  441. package/registry/toast.json +1 -1
  442. package/registry/toc.json +1 -1
  443. package/registry/tooltip.json +1 -1
  444. package/registry/tree-view.json +1 -1
  445. package/registry/update-prompt.json +1 -1
  446. package/registry/upload-queue.json +1 -1
  447. package/registry/usage.json +1 -1
  448. package/registry/verified-badge.json +1 -1
  449. package/registry/versus-card.json +1 -1
  450. package/registry/vertical-video.json +1 -1
  451. package/registry/video-player.json +1 -1
  452. package/registry/video-trimmer.json +1 -1
  453. package/registry/virtual.json +1 -1
  454. package/registry/wall.json +3 -3
  455. package/registry/waveform.json +1 -1
@@ -37,6 +37,10 @@
37
37
  {
38
38
  "when": "An argument with a bird and a long version.",
39
39
  "use": "argument-card"
40
+ },
41
+ {
42
+ "when": "A menu: every service of a shop, one compact row each, with its price and a button.",
43
+ "use": "shop"
40
44
  }
41
45
  ],
42
46
  "bestPractices": [
@@ -107,7 +111,7 @@
107
111
  "name": "density",
108
112
  "type": "\"grid\" | \"list\"",
109
113
  "default": "grid",
110
- "description": "`variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).",
114
+ "description": "`variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).\n@deprecated Since 3.64: use `ServicesSection variant=\"menu\"` of `@krizaka/ui/shop/services` (the compact price board). Removed in 4.0.0.",
111
115
  "required": false
112
116
  },
113
117
  {
@@ -159,6 +163,13 @@
159
163
  "description": "A photo or a loop above the card (an `img`, a `video`): fills a 16:9 band.",
160
164
  "required": false
161
165
  },
166
+ {
167
+ "name": "mediaRatio",
168
+ "type": "\"wide\" | \"photo\"",
169
+ "default": "wide",
170
+ "description": "The photo's box: `wide` (16:9) or `photo` (4:3).",
171
+ "required": false
172
+ },
162
173
  {
163
174
  "name": "priceFrom",
164
175
  "type": "string",
@@ -216,7 +227,7 @@
216
227
  {
217
228
  "name": "index-list",
218
229
  "title": "Index cards in one column",
219
- "description": "`density=\"list\"`: the same card as a row, for a menu of services.",
230
+ "description": "`density=\"list\"`: the same card as a row. Deprecated since 3.64 (removed in 4.0.0): a menu of services is `ServicesSection variant=\"menu\"` of `@krizaka/ui/shop/services`, the compact price board.",
220
231
  "path": "examples/service-card/index-list.tsx",
221
232
  "module": "@krizaka/ui/registry/examples/service-card/index-list",
222
233
  "code": "import { ServiceCard } from \"@krizaka/ui/service-card\";\n\n// `density=\"list\"`: the same card in one column, for a menu of services.\nexport default function ServiceCardIndexList() {\n return (\n <div className=\"grid max-w-2xl gap-4\">\n <ServiceCard variant=\"index\" density=\"list\" name=\"Solo walk\" duration=\"30 min\" capacity=\"1 dog\" price=\"$22.00\" description=\"One dog, one walker.\" actionLabel=\"Book\" href=\"#book\" />\n <ServiceCard variant=\"index\" density=\"list\" name=\"Group walk\" duration=\"60 min\" capacity=\"Up to 5 dogs\" price=\"$22.00\" actionLabel=\"Book\" href=\"#book\" />\n </div>\n );\n}\n"
@@ -243,7 +254,7 @@
243
254
  },
244
255
  {
245
256
  "path": "meta.ts",
246
- "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"
257
+ "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-frame\"\n | \"desktop-window\"\n | \"form-flow\"\n | \"grid\"\n | \"list-detail\"\n | \"state-screen\"\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 | \"shop\"\n | \"shop-composer\"\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"
247
258
  },
248
259
  {
249
260
  "path": "service-card/index.ts",
@@ -251,11 +262,11 @@
251
262
  },
252
263
  {
253
264
  "path": "service-card/meta.ts",
254
- "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Service card\",\n summary: \"A service a shop sells, as a card that argues: icon or photo, name, duration, capacity, price (« from » when it varies), what is included, a « Popular » tag — and one way in, the whole card pressable.\",\n status: \"beta\",\n category: \"data-display\",\n platforms: \"web\",\n parity: { native: { status: \"n/a\", reason: \"A shop's public storefront is a web page; the apps book through their own lists.\", use: \"list\" }, desktop: \"web\" },\n whenToUse: [\n \"A shop's page: the services it sells, each with its price and a way to book it.\",\n \"Any priced offer with a duration and a few inclusions (a class, a treatment, a package).\",\n ],\n whenNotToUse: [\n { when: \"Plans compared side by side with a feature table.\", use: \"pricing-page\" },\n { when: \"A card that only leads somewhere (no price).\", use: \"link-card\" },\n { when: \"An argument with a bird and a long version.\", use: \"argument-card\" },\n ],\n bestPractices: [\n \"`variant=\\\"index\\\"` is the Cahier's card for a shop page: same props, same accessible output. Its button is the way in, not the whole card, so the name stays selectable; keep it straight (a card you pick is never askew).\",\n \"Pass the price already formatted (the shop's currency and the reader's locale): the card never formats money.\",\n \"Use `priceFrom` only when the price truly varies; keep `included` to three short lines.\",\n \"Show `tag` (« Popular ») only from real data, such as the most booked service — never as decoration.\",\n \"Give the way in a verb (« Book », « Choose ») and, from a Server Component, an `href` to the booking page with the service in the address.\",\n \"Put the cards in a `CardGrid` so a row shares one height.\",\n ],\n accessibility: {\n keyboard: [{ keys: \"Tab, Enter\", action: \"Focuses and presses the card's one way in (a link or a button).\" }],\n notes: [\n \"An `article` named by its heading; the way in is the only tab stop and stretches over the card, so the whole card takes the press.\",\n \"The link or button is described by the service's name, so « Book » is read with the service it books.\",\n \"With `onSelect` the button carries `aria-pressed` (the chosen service).\",\n ],\n },\n related: [\"card-grid\", \"slot-picker\", \"opening-hours\", \"link-card\", \"argument-card\"],\n web: {\n imports: [\"ServiceCard\"],\n examples: [\n { name: \"index-card\", title: \"Stamped index cards\", description: \"`variant=\\\"index\\\"`: ruled, straight, a punched hole, the duration and the price as stamps, a secondary button.\" },\n { name: \"index-list\", title: \"Index cards in one column\", description: \"`density=\\\"list\\\"`: the same card as a row, for a menu of services.\" },\n { name: \"services\", title: \"Services\", description: \"A solo walk marked Popular and a group walk priced « from »: duration, capacity, inclusions, one way in each.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
265
+ "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Service card\",\n summary: \"A service a shop sells, as a card that argues: icon or photo, name, duration, capacity, price (« from » when it varies), what is included, a « Popular » tag — and one way in, the whole card pressable.\",\n status: \"beta\",\n category: \"data-display\",\n platforms: \"web\",\n parity: { native: { status: \"n/a\", reason: \"A shop's public storefront is a web page; the apps book through their own lists.\", use: \"list\" }, desktop: \"web\" },\n whenToUse: [\n \"A shop's page: the services it sells, each with its price and a way to book it.\",\n \"Any priced offer with a duration and a few inclusions (a class, a treatment, a package).\",\n ],\n whenNotToUse: [\n { when: \"Plans compared side by side with a feature table.\", use: \"pricing-page\" },\n { when: \"A card that only leads somewhere (no price).\", use: \"link-card\" },\n { when: \"An argument with a bird and a long version.\", use: \"argument-card\" },\n { when: \"A menu: every service of a shop, one compact row each, with its price and a button.\", use: \"shop\" },\n ],\n bestPractices: [\n \"`variant=\\\"index\\\"` is the Cahier's card for a shop page: same props, same accessible output. Its button is the way in, not the whole card, so the name stays selectable; keep it straight (a card you pick is never askew).\",\n \"Pass the price already formatted (the shop's currency and the reader's locale): the card never formats money.\",\n \"Use `priceFrom` only when the price truly varies; keep `included` to three short lines.\",\n \"Show `tag` (« Popular ») only from real data, such as the most booked service — never as decoration.\",\n \"Give the way in a verb (« Book », « Choose ») and, from a Server Component, an `href` to the booking page with the service in the address.\",\n \"Put the cards in a `CardGrid` so a row shares one height.\",\n ],\n accessibility: {\n keyboard: [{ keys: \"Tab, Enter\", action: \"Focuses and presses the card's one way in (a link or a button).\" }],\n notes: [\n \"An `article` named by its heading; the way in is the only tab stop and stretches over the card, so the whole card takes the press.\",\n \"The link or button is described by the service's name, so « Book » is read with the service it books.\",\n \"With `onSelect` the button carries `aria-pressed` (the chosen service).\",\n ],\n },\n related: [\"card-grid\", \"slot-picker\", \"opening-hours\", \"link-card\", \"argument-card\"],\n web: {\n imports: [\"ServiceCard\"],\n examples: [\n { name: \"index-card\", title: \"Stamped index cards\", description: \"`variant=\\\"index\\\"`: ruled, straight, a punched hole, the duration and the price as stamps, a secondary button.\" },\n { name: \"index-list\", title: \"Index cards in one column\", description: \"`density=\\\"list\\\"`: the same card as a row. Deprecated since 3.64 (removed in 4.0.0): a menu of services is `ServicesSection variant=\\\"menu\\\"` of `@krizaka/ui/shop/services`, the compact price board.\" },\n { name: \"services\", title: \"Services\", description: \"A solo walk marked Popular and a group walk priced « from »: duration, capacity, inclusions, one way in each.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
255
266
  },
256
267
  {
257
268
  "path": "service-card/service-card.tsx",
258
- "content": "// Server-safe: no hook, no context. A service a shop sells, as a card that argues: icon or photo, name, duration, price\n// (« from » when it varies), what is included, the capacity, a « Popular » tag — and one way in: a link (the booking page\n// with this service chosen) or a button (`onSelect`, from a client parent). The whole card takes the press.\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { BlockLink, type LinkComponent } from \"../block-link\";\nimport { buttonVariants } from \"../button/button\";\nimport { cn } from \"../cn\";\nimport { CheckGlyph } from \"../glyphs\";\nimport { Stamp } from \"../specimen-tag/specimen-tag\";\n\nexport const serviceCard = tv({\n slots: {\n root:\n \"group relative flex h-full min-w-0 flex-col overflow-hidden rounded-xl border border-border-default bg-surface-1 text-fg transition-colors duration-150 hover:border-border-strong hover:bg-surface-2 \" +\n \"hover:border-accent/50 focus-within:ring-2 focus-within:ring-ring data-[selected]:border-accent data-[selected]:bg-accent-soft\",\n media: \"relative aspect-[16/9] w-full overflow-hidden bg-media [&>img]:h-full [&>img]:w-full [&>img]:object-cover\",\n body: \"flex flex-1 flex-col gap-3 p-4 sm:p-5\",\n head: \"flex items-start gap-3\",\n icon: \"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-fg-accent [&>svg]:h-5 [&>svg]:w-5\",\n titles: \"flex min-w-0 flex-1 flex-col gap-1\",\n name: \"m-0 font-display text-lg font-bold leading-tight tracking-tight text-fg\",\n facts: \"m-0 flex list-none flex-wrap gap-x-2 gap-y-0.5 p-0 text-xs text-fg-secondary\",\n tag: \"shrink-0 rounded-sm bg-accent px-2 py-0.5 text-[10px] font-extrabold text-on-accent\",\n description: \"m-0 text-sm leading-relaxed text-fg-secondary\",\n included: \"m-0 flex list-none flex-col gap-1.5 p-0 text-sm text-fg-secondary\",\n includedItem: \"flex items-start gap-2 [&>svg]:mt-0.5 [&>svg]:h-4 [&>svg]:w-4 [&>svg]:shrink-0 [&>svg]:text-fg-accent\",\n foot: \"mt-auto flex items-end justify-between gap-3 border-t border-border-subtle pt-3\",\n priceBlock: \"flex flex-col leading-none\",\n from: \"mb-1 text-[11px] font-semibold text-fg-secondary\",\n price: \"font-display text-2xl font-black tabular-nums text-fg\",\n action:\n \"inline-flex min-h-9 items-center gap-1 rounded-sm text-sm font-bold text-fg-accent no-underline \" +\n \"after:absolute after:inset-0 after:content-[''] focus-visible:outline-hidden group-data-[selected]:text-fg\",\n },\n variants: {\n // The Cahier's stamped index card (krizaka-ui#603): ruled, straight, a punched hole, the facts stamped, a secondary Button.\n // Same elements and same accessible output as the default card; only the drawing changes. The card is not the link, so\n // the name stays selectable.\n variant: {\n default: {},\n index: {\n root:\n \"rounded-none border-border-default bg-surface-1 shadow-[4px_5px_0_-2px_var(--kz-border-default)] \" +\n \"transition-[transform,box-shadow,border-color] duration-120 hover:border-border-strong hover:bg-surface-1 hover:-translate-y-0.5 \" +\n \"hover:shadow-[6px_7px_0_-2px_var(--kz-border-default)] focus-within:-translate-y-0.5 focus-within:shadow-[6px_7px_0_-2px_var(--kz-border-default)] \" +\n \"motion-reduce:transition-none motion-reduce:hover:translate-y-0 motion-reduce:focus-within:translate-y-0\",\n body: \"relative pt-8 sm:pt-9\",\n head: \"border-b border-(--kz-paper-rule-major) pb-3\",\n name: \"font-display font-normal\",\n facts: \"gap-2 text-fg\",\n foot: \"border-t-0 pt-1\",\n },\n },\n density: { grid: {}, list: {} },\n },\n compoundVariants: [\n { variant: \"index\", density: \"list\", class: { root: \"sm:flex-row\", media: \"sm:aspect-auto sm:w-1/3 sm:shrink-0\", body: \"sm:flex-1\" } },\n ],\n defaultVariants: { variant: \"default\", density: \"grid\" },\n});\n\nexport type ServiceCardProps = Omit<React.ComponentProps<\"article\">, \"title\" | \"children\"> & {\n /** The service's name (the heading). */\n name: string;\n /** Its price, formatted by the app (`22,00 $`): the card never formats money. */\n price: string;\n /** The words before the price when it varies (`From`, `À partir de`), passed translated. */\n priceFrom?: string;\n /** How long it takes (`30 min`) — the first fact. */\n duration?: string;\n /** How many it takes (`Up to 5 dogs`, `1 person`) — the second fact. */\n capacity?: string;\n /** One or two sentences: what it is. */\n description?: string;\n /** What is included, one short line each (a check precedes it). */\n included?: readonly string[];\n /** A tag on the top right (`Popular`): only from real data, never decoration. */\n tag?: string;\n /** An icon tile before the name (a signature icon): decorative. */\n icon?: React.ReactNode;\n /** A photo or a loop above the card (an `img`, a `video`): fills a 16:9 band. */\n media?: React.ReactNode;\n /** This service is the chosen one (the accent, `data-selected`). */\n selected?: boolean;\n /** The words of the way in (`Book`, `Choose`): the accessible name of the press. */\n actionLabel: string;\n /** The way in, as an address (the booking page with this service preselected). */\n href?: string;\n /** The app's link component for internal addresses (Next's `Link`). */\n linkAs?: LinkComponent;\n /** The way in, as a press (a client parent). Ignored when `href` is set. */\n onSelect?: () => void;\n /**\n * `index` — the Cahier's stamped index card: a ruled card with a punched hole, straight, the duration and the price as\n * stamps, a secondary button. The same props and the same accessible output; only the drawing changes.\n * @default \"default\"\n */\n variant?: \"default\" | \"index\";\n /**\n * `variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).\n * @default \"grid\"\n */\n density?: \"grid\" | \"list\";\n /**\n * The heading level of the name.\n * @default \"h3\"\n */\n titleAs?: \"h2\" | \"h3\" | \"h4\";\n /** Enters on scroll (MotionObserver): the index in the grid becomes the delay. */\n reveal?: number;\n};\n\n/** A service as a card: icon or photo, duration, price, what is included, the capacity, a tag — one way in. */\nexport function ServiceCard({\n name, price, priceFrom, duration, capacity, description, included, tag, icon, media, selected, actionLabel, href, linkAs, onSelect, titleAs: Title = \"h3\", reveal, variant = \"default\", density = \"grid\", className, style, ...props\n}: ServiceCardProps) {\n const s = serviceCard({ variant, density });\n const index = variant === \"index\";\n const id = React.useId();\n const facts = [duration, capacity].filter(Boolean);\n const actionClass = index ? cn(buttonVariants({ variant: \"secondary\", size: \"md\" }), \"min-h-11 rounded-none no-underline\") : s.action();\n const arrow = <span aria-hidden>→</span>;\n const revealStyle = reveal === undefined ? style : ({ ...style, \"--kz-delay\": `${Math.min(Math.max(reveal, 0), 8) * 50}ms` } as React.CSSProperties);\n return (\n <article\n aria-labelledby={id}\n data-selected={selected ? \"\" : undefined}\n data-variant={variant}\n data-density={index ? density : undefined}\n data-reveal={reveal === undefined ? undefined : \"\"}\n style={revealStyle}\n className={s.root({ className })}\n {...props}\n >\n {media && <div className={s.media()}>{media}</div>}\n <div className={s.body()}>\n {index && (\n <svg data-hole aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 16 16\" className=\"absolute start-3 top-3 h-4 w-4\">\n <circle cx=\"8\" cy=\"8\" r=\"5.5\" fill=\"var(--kz-surface-0)\" stroke=\"var(--kz-border-strong)\" strokeWidth=\"1.5\" />\n </svg>\n )}\n <div className={s.head()}>\n {icon && <span aria-hidden className={s.icon()}>{icon}</span>}\n <div className={s.titles()}>\n <Title id={id} className={s.name()}>{name}</Title>\n {facts.length > 0 && (\n <ul className={s.facts()}>\n {facts.map((fact, i) => (\n <li key={i}>\n {index ? <Stamp tone=\"ink\" size=\"sm\">{fact}</Stamp> : <>{i > 0 && <span aria-hidden>· </span>}{fact}</>}\n </li>\n ))}\n </ul>\n )}\n </div>\n {tag && <span className={s.tag()}>{tag}</span>}\n </div>\n {description && <p className={s.description()}>{description}</p>}\n {included && included.length > 0 && (\n <ul className={s.included()}>\n {included.map((line) => (\n <li key={line} className={s.includedItem()}>\n <CheckGlyph />\n <span>{line}</span>\n </li>\n ))}\n </ul>\n )}\n <div className={s.foot()}>\n <p className={s.priceBlock()}>\n {priceFrom && <span className={s.from()}>{priceFrom}</span>}\n {index ? <Stamp tone=\"ink\" size=\"sm\" data-figure=\"\" className=\"tabular-nums\">{price}</Stamp> : <span className={s.price()}>{price}</span>}\n </p>\n {href ? (\n <BlockLink href={href} linkAs={linkAs} className={actionClass} aria-describedby={id}>\n {actionLabel} {arrow}\n </BlockLink>\n ) : onSelect ? (\n <button type=\"button\" onClick={onSelect} aria-pressed={selected ?? false} aria-describedby={id} className={actionClass}>\n {actionLabel} {arrow}\n </button>\n ) : null}\n </div>\n </div>\n </article>\n );\n}\n"
269
+ "content": "// Server-safe: no hook, no context. A service a shop sells, as a card that argues: icon or photo, name, duration, price\n// (« from » when it varies), what is included, the capacity, a « Popular » tag — and one way in: a link (the booking page\n// with this service chosen) or a button (`onSelect`, from a client parent). The whole card takes the press.\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { BlockLink, type LinkComponent } from \"../block-link\";\nimport { buttonVariants } from \"../button/button\";\nimport { cn } from \"../cn\";\nimport { CheckGlyph } from \"../glyphs\";\nimport { Stamp } from \"../specimen-tag/specimen-tag\";\n\nexport const serviceCard = tv({\n slots: {\n root:\n \"group relative flex h-full min-w-0 flex-col overflow-hidden rounded-xl border border-border-default bg-surface-1 text-fg transition-colors duration-150 hover:border-border-strong hover:bg-surface-2 \" +\n \"hover:border-accent/50 focus-within:ring-2 focus-within:ring-ring data-[selected]:border-accent data-[selected]:bg-accent-soft\",\n media: \"relative aspect-[16/9] w-full overflow-hidden bg-media [&>img]:h-full [&>img]:w-full [&>img]:object-cover\",\n body: \"flex flex-1 flex-col gap-3 p-4 sm:p-5\",\n head: \"flex items-start gap-3\",\n icon: \"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-fg-accent [&>svg]:h-5 [&>svg]:w-5\",\n titles: \"flex min-w-0 flex-1 flex-col gap-1\",\n name: \"m-0 font-display text-lg font-bold leading-tight tracking-tight text-fg\",\n facts: \"m-0 flex list-none flex-wrap gap-x-2 gap-y-0.5 p-0 text-xs text-fg-secondary\",\n tag: \"shrink-0 rounded-sm bg-accent px-2 py-0.5 text-[10px] font-extrabold text-on-accent\",\n description: \"m-0 text-sm leading-relaxed text-fg-secondary\",\n included: \"m-0 flex list-none flex-col gap-1.5 p-0 text-sm text-fg-secondary\",\n includedItem: \"flex items-start gap-2 [&>svg]:mt-0.5 [&>svg]:h-4 [&>svg]:w-4 [&>svg]:shrink-0 [&>svg]:text-fg-accent\",\n foot: \"mt-auto flex items-end justify-between gap-3 border-t border-border-subtle pt-3\",\n priceBlock: \"flex flex-col leading-none\",\n from: \"mb-1 text-[11px] font-semibold text-fg-secondary\",\n price: \"font-display text-2xl font-black tabular-nums text-fg\",\n action:\n \"inline-flex min-h-9 items-center gap-1 rounded-sm text-sm font-bold text-fg-accent no-underline \" +\n \"after:absolute after:inset-0 after:content-[''] focus-visible:outline-hidden group-data-[selected]:text-fg\",\n },\n variants: {\n // The Cahier's stamped index card (krizaka-ui#603): ruled, straight, a punched hole, the facts stamped, a secondary Button.\n // Same elements and same accessible output as the default card; only the drawing changes. The card is not the link, so\n // the name stays selectable.\n variant: {\n default: {},\n index: {\n root:\n \"rounded-none border-border-default bg-surface-1 shadow-[4px_5px_0_-2px_var(--kz-border-default)] \" +\n \"transition-[transform,box-shadow,border-color] duration-120 hover:border-border-strong hover:bg-surface-1 hover:-translate-y-0.5 \" +\n \"hover:shadow-[6px_7px_0_-2px_var(--kz-border-default)] focus-within:-translate-y-0.5 focus-within:shadow-[6px_7px_0_-2px_var(--kz-border-default)] \" +\n \"motion-reduce:transition-none motion-reduce:hover:translate-y-0 motion-reduce:focus-within:translate-y-0\",\n body: \"relative pt-8 sm:pt-9\",\n head: \"border-b border-(--kz-paper-rule-major) pb-3\",\n name: \"font-display font-normal\",\n facts: \"gap-2 text-fg\",\n foot: \"border-t-0 pt-1\",\n },\n },\n // `density=\"list\"` is deprecated (ADR-007): a list of services is `ServicesSection variant=\"menu\"` of `@krizaka/ui/shop/services`.\n density: { grid: {}, list: {} },\n // The photo's box: the wide 16:9 band, or the 4:3 of `services · cards` (ADR-007 §6).\n mediaRatio: { wide: {}, photo: { media: \"aspect-[4/3]\" } },\n },\n compoundVariants: [\n { variant: \"index\", density: \"list\", class: { root: \"sm:flex-row\", media: \"sm:aspect-auto sm:w-1/3 sm:shrink-0\", body: \"sm:flex-1\" } },\n ],\n defaultVariants: { variant: \"default\", density: \"grid\", mediaRatio: \"wide\" },\n});\n\nexport type ServiceCardProps = Omit<React.ComponentProps<\"article\">, \"title\" | \"children\"> & {\n /** The service's name (the heading). */\n name: string;\n /** Its price, formatted by the app (`22,00 $`): the card never formats money. */\n price: string;\n /** The words before the price when it varies (`From`, `À partir de`), passed translated. */\n priceFrom?: string;\n /** How long it takes (`30 min`) — the first fact. */\n duration?: string;\n /** How many it takes (`Up to 5 dogs`, `1 person`) — the second fact. */\n capacity?: string;\n /** One or two sentences: what it is. */\n description?: string;\n /** What is included, one short line each (a check precedes it). */\n included?: readonly string[];\n /** A tag on the top right (`Popular`): only from real data, never decoration. */\n tag?: string;\n /** An icon tile before the name (a signature icon): decorative. */\n icon?: React.ReactNode;\n /** A photo or a loop above the card (an `img`, a `video`): fills a 16:9 band. */\n media?: React.ReactNode;\n /** This service is the chosen one (the accent, `data-selected`). */\n selected?: boolean;\n /** The words of the way in (`Book`, `Choose`): the accessible name of the press. */\n actionLabel: string;\n /** The way in, as an address (the booking page with this service preselected). */\n href?: string;\n /** The app's link component for internal addresses (Next's `Link`). */\n linkAs?: LinkComponent;\n /** The way in, as a press (a client parent). Ignored when `href` is set. */\n onSelect?: () => void;\n /**\n * `index` — the Cahier's stamped index card: a ruled card with a punched hole, straight, the duration and the price as\n * stamps, a secondary button. The same props and the same accessible output; only the drawing changes.\n * @default \"default\"\n */\n variant?: \"default\" | \"index\";\n /**\n * `variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).\n * @deprecated Since 3.64: use `ServicesSection variant=\"menu\"` of `@krizaka/ui/shop/services` (the compact price board). Removed in 4.0.0.\n * @default \"grid\"\n */\n density?: \"grid\" | \"list\";\n /**\n * The photo's box: `wide` (16:9) or `photo` (4:3).\n * @default \"wide\"\n */\n mediaRatio?: \"wide\" | \"photo\";\n /**\n * The heading level of the name.\n * @default \"h3\"\n */\n titleAs?: \"h2\" | \"h3\" | \"h4\";\n /** Enters on scroll (MotionObserver): the index in the grid becomes the delay. */\n reveal?: number;\n};\n\n/** A service as a card: icon or photo, duration, price, what is included, the capacity, a tag — one way in. */\nexport function ServiceCard({\n name, price, priceFrom, duration, capacity, description, included, tag, icon, media, selected, actionLabel, href, linkAs, onSelect, titleAs: Title = \"h3\", reveal, variant = \"default\", density = \"grid\", mediaRatio = \"wide\", className, style, ...props\n}: ServiceCardProps) {\n const s = serviceCard({ variant, density, mediaRatio });\n const index = variant === \"index\";\n const id = React.useId();\n const facts = [duration, capacity].filter(Boolean);\n const actionClass = index ? cn(buttonVariants({ variant: \"secondary\", size: \"md\" }), \"min-h-11 rounded-none no-underline\") : s.action();\n const arrow = <span aria-hidden>→</span>;\n const revealStyle = reveal === undefined ? style : ({ ...style, \"--kz-delay\": `${Math.min(Math.max(reveal, 0), 8) * 50}ms` } as React.CSSProperties);\n return (\n <article\n aria-labelledby={id}\n data-selected={selected ? \"\" : undefined}\n data-variant={variant}\n data-density={index ? density : undefined}\n data-reveal={reveal === undefined ? undefined : \"\"}\n style={revealStyle}\n className={s.root({ className })}\n {...props}\n >\n {media && <div className={s.media()}>{media}</div>}\n <div className={s.body()}>\n {index && (\n <svg data-hole aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 16 16\" className=\"absolute start-3 top-3 h-4 w-4\">\n <circle cx=\"8\" cy=\"8\" r=\"5.5\" fill=\"var(--kz-surface-0)\" stroke=\"var(--kz-border-strong)\" strokeWidth=\"1.5\" />\n </svg>\n )}\n <div className={s.head()}>\n {icon && <span aria-hidden className={s.icon()}>{icon}</span>}\n <div className={s.titles()}>\n <Title id={id} className={s.name()}>{name}</Title>\n {facts.length > 0 && (\n <ul className={s.facts()}>\n {facts.map((fact, i) => (\n <li key={i}>\n {index ? <Stamp tone=\"ink\" size=\"sm\">{fact}</Stamp> : <>{i > 0 && <span aria-hidden>· </span>}{fact}</>}\n </li>\n ))}\n </ul>\n )}\n </div>\n {tag && <span className={s.tag()}>{tag}</span>}\n </div>\n {description && <p className={s.description()}>{description}</p>}\n {included && included.length > 0 && (\n <ul className={s.included()}>\n {included.map((line) => (\n <li key={line} className={s.includedItem()}>\n <CheckGlyph />\n <span>{line}</span>\n </li>\n ))}\n </ul>\n )}\n <div className={s.foot()}>\n <p className={s.priceBlock()}>\n {priceFrom && <span className={s.from()}>{priceFrom}</span>}\n {index ? <Stamp tone=\"ink\" size=\"sm\" data-figure=\"\" className=\"tabular-nums\">{price}</Stamp> : <span className={s.price()}>{price}</span>}\n </p>\n {href ? (\n <BlockLink href={href} linkAs={linkAs} className={actionClass} aria-describedby={id}>\n {actionLabel} {arrow}\n </BlockLink>\n ) : onSelect ? (\n <button type=\"button\" onClick={onSelect} aria-pressed={selected ?? false} aria-describedby={id} className={actionClass}>\n {actionLabel} {arrow}\n </button>\n ) : null}\n </div>\n </div>\n </article>\n );\n}\n"
259
270
  }
260
271
  ],
261
272
  "dependencies": [
@@ -307,7 +318,7 @@
307
318
  "name": "density",
308
319
  "type": "\"grid\" | \"list\"",
309
320
  "default": "grid",
310
- "description": "`variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).",
321
+ "description": "`variant=\"index\"`: `list` lays the card out as a row for a single column (the media on the left from `sm`).\n@deprecated Since 3.64: use `ServicesSection variant=\"menu\"` of `@krizaka/ui/shop/services` (the compact price board). Removed in 4.0.0.",
311
322
  "required": false
312
323
  },
313
324
  {
@@ -359,6 +370,13 @@
359
370
  "description": "A photo or a loop above the card (an `img`, a `video`): fills a 16:9 band.",
360
371
  "required": false
361
372
  },
373
+ {
374
+ "name": "mediaRatio",
375
+ "type": "\"wide\" | \"photo\"",
376
+ "default": "wide",
377
+ "description": "The photo's box: `wide` (16:9) or `photo` (4:3).",
378
+ "required": false
379
+ },
362
380
  {
363
381
  "name": "priceFrom",
364
382
  "type": "string",
@@ -332,6 +332,9 @@
332
332
  "name": "account",
333
333
  "title": "Account settings",
334
334
  "description": "A group of rows: a value, a link that opens a screen, a switch, a destructive action.",
335
+ "template": true,
336
+ "purpose": "operate",
337
+ "why": "A person reviews their account and changes one thing, with the dangerous action set apart at the end.",
335
338
  "path": "examples/settings-layout/native/account.tsx",
336
339
  "module": "@krizaka/ui/registry/examples/settings-layout/native/account",
337
340
  "code": "import { SettingsGroup, SettingsRow, Switch } from \"@krizaka/ui/native\";\nimport { View } from \"react-native\";\n\n// A phone's settings: a value, a row that opens a screen, a switch, and the destructive action last.\nexport default function NativeSettingsAccount() {\n return (\n <View style={{ rowGap: 20, padding: 16 }}>\n <SettingsGroup title=\"Account\">\n <SettingsRow label=\"Username\" value=\"eric\" />\n <SettingsRow label=\"Language\" description=\"Used across the app\" value=\"English\" onPress={() => {}} />\n <SettingsRow label=\"Notifications\" trailing={<Switch label=\"Notifications\" checked onCheckedChange={() => {}} />} />\n </SettingsGroup>\n <SettingsGroup>\n <SettingsRow label=\"Delete account\" destructive onPress={() => {}} />\n </SettingsGroup>\n </View>\n );\n}\n",
@@ -345,7 +348,7 @@
345
348
  "files": [
346
349
  {
347
350
  "path": "meta.ts",
348
- "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"
351
+ "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-frame\"\n | \"desktop-window\"\n | \"form-flow\"\n | \"grid\"\n | \"list-detail\"\n | \"state-screen\"\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 | \"shop\"\n | \"shop-composer\"\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"
349
352
  },
350
353
  {
351
354
  "path": "settings-layout/index.ts",
@@ -353,7 +356,7 @@
353
356
  },
354
357
  {
355
358
  "path": "settings-layout/meta.ts",
356
- "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Settings layout\",\n summary: \"Settings: the sections on the side, alone or in titled groups (a row of chips on a phone, one menu past five), an optional identity header and the current section's forms, as titled cards with their own save or, flat, as hairline-divided rows (`SettingsRow`).\",\n status: \"beta\",\n category: \"layouts\",\n platforms: \"both\",\n parity: { desktop: \"web\" },\n whenToUse: [\"Account, workspace and administration settings.\", \"Any long form that splits into independent groups.\"],\n whenNotToUse: [\n { when: \"For a step-by-step setup the user follows once.\", use: \"stepper\" },\n { when: \"For one small form.\", use: \"field\" },\n ],\n bestPractices: [\"Past five sections, group them (`nav` as `SettingsNavGroup[]`): the sidebar shows the group titles and a phone gets one menu, never a scrolling strip of chips.\", \"Prefer `variant=\\\"flat\\\"` and `SettingsRow` for a product's settings: a label and its help on the left, the control on the right, no card.\", \"Keep support-only facts (an account id) in a last `Advanced` section, small and mono, never in the first screen.\", \"One save per section, at its foot: a change never waits for another.\", \"Sections as pages (`/settings/billing`) or as anchors of one long page (`#billing`).\", \"Say in the description what the section changes for the user.\"],\n accessibility: {\n keyboard: [],\n notes: [\"The sections are a `nav` named by `navLabel`; the current one has `aria-current` (page or location).\", \"Each section is a `section` named by its `h2`.\"],\n },\n related: [\"field\", \"switch\", \"app-shell\"],\n native: {\n imports: [\"SettingsGroup\", \"SettingsRow\"],\n differences: [\n \"Only the rows: `SettingsGroup` (a titled card of hairline-divided rows) and `SettingsRow` (icon tile, label, help, value or control, a chevron when `onPress` opens something). The sections-on-the-side layout is a web idea; on a phone each section is a screen.\",\n \"A row with `onPress` is a button named by its visible words; a row with a `trailing` control (a `Switch`) leaves the control as the thing to press.\",\n ],\n examples: [{ name: \"account\", title: \"Account settings\", description: \"A group of rows: a value, a link that opens a screen, a switch, a destructive action.\" }],\n },\n web: {\n imports: [\"SettingsLayout\", \"SettingsSection\", \"SettingsRow\"],\n examples: [\n { name: \"account\", title: \"Account settings\", description: \"Profile and notifications, each with its own save; the sections as chips on a phone.\", template: true, purpose: \"operate\", why: \"A person changes one setting at a time, saves it at once and knows where each lives.\" },\n { name: \"flat\", title: \"Calm settings\", description: \"The flat variant: one column of at most 45rem, each setting a row (label and help left, control right) divided by hairlines.\", template: true, purpose: \"operate\", why: \"A person scans the settings, finds the one to change and changes it in place, without cards competing for attention.\" },\n { name: \"grouped\", title: \"A private space\", description: \"Who you are on top, eight sections in three groups with counts; one menu on a phone.\", template: true, purpose: \"operate\", why: \"A person with many places to go finds each under its group, and never meets a strip of chips that hides half of them.\" },\n { name: \"sections\", title: \"One section per page\", description: \"A workspace's settings, the current section marked.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
359
+ "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Settings layout\",\n summary: \"Settings: the sections on the side, alone or in titled groups (a row of chips on a phone, one menu past five), an optional identity header and the current section's forms, as titled cards with their own save or, flat, as hairline-divided rows (`SettingsRow`).\",\n status: \"beta\",\n category: \"layouts\",\n platforms: \"both\",\n parity: { desktop: \"web\" },\n whenToUse: [\"Account, workspace and administration settings.\", \"Any long form that splits into independent groups.\"],\n whenNotToUse: [\n { when: \"For a step-by-step setup the user follows once.\", use: \"stepper\" },\n { when: \"For one small form.\", use: \"field\" },\n ],\n bestPractices: [\"Past five sections, group them (`nav` as `SettingsNavGroup[]`): the sidebar shows the group titles and a phone gets one menu, never a scrolling strip of chips.\", \"Prefer `variant=\\\"flat\\\"` and `SettingsRow` for a product's settings: a label and its help on the left, the control on the right, no card.\", \"Keep support-only facts (an account id) in a last `Advanced` section, small and mono, never in the first screen.\", \"One save per section, at its foot: a change never waits for another.\", \"Sections as pages (`/settings/billing`) or as anchors of one long page (`#billing`).\", \"Say in the description what the section changes for the user.\"],\n accessibility: {\n keyboard: [],\n notes: [\"The sections are a `nav` named by `navLabel`; the current one has `aria-current` (page or location).\", \"Each section is a `section` named by its `h2`.\"],\n },\n related: [\"field\", \"switch\", \"app-shell\"],\n native: {\n imports: [\"SettingsGroup\", \"SettingsRow\"],\n differences: [\n \"Only the rows: `SettingsGroup` (a titled card of hairline-divided rows) and `SettingsRow` (icon tile, label, help, value or control, a chevron when `onPress` opens something). The sections-on-the-side layout is a web idea; on a phone each section is a screen.\",\n \"A row with `onPress` is a button named by its visible words; a row with a `trailing` control (a `Switch`) leaves the control as the thing to press.\",\n ],\n examples: [{ name: \"account\", title: \"Account settings\", description: \"A group of rows: a value, a link that opens a screen, a switch, a destructive action.\", template: true, purpose: \"operate\", why: \"A person reviews their account and changes one thing, with the dangerous action set apart at the end.\" }],\n },\n web: {\n imports: [\"SettingsLayout\", \"SettingsSection\", \"SettingsRow\"],\n examples: [\n { name: \"account\", title: \"Account settings\", description: \"Profile and notifications, each with its own save; the sections as chips on a phone.\", template: true, purpose: \"operate\", why: \"A person changes one setting at a time, saves it at once and knows where each lives.\" },\n { name: \"flat\", title: \"Calm settings\", description: \"The flat variant: one column of at most 45rem, each setting a row (label and help left, control right) divided by hairlines.\", template: true, purpose: \"operate\", why: \"A person scans the settings, finds the one to change and changes it in place, without cards competing for attention.\" },\n { name: \"grouped\", title: \"A private space\", description: \"Who you are on top, eight sections in three groups with counts; one menu on a phone.\", template: true, purpose: \"operate\", why: \"A person with many places to go finds each under its group, and never meets a strip of chips that hides half of them.\" },\n { name: \"sections\", title: \"One section per page\", description: \"A workspace's settings, the current section marked.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
357
360
  },
358
361
  {
359
362
  "path": "settings-layout/save-status.ts",