@krizaka/ui 4.7.0 → 4.8.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 (965) hide show
  1. package/README.md +1 -0
  2. package/dist/{RotatingWord-D3tpDLE4.d.ts → RotatingWord-CkDcPH9x.d.ts} +2 -2
  3. package/dist/account-menu.js +2 -2
  4. package/dist/account-menu.js.map +1 -1
  5. package/dist/account-settings.d.ts +9 -9
  6. package/dist/account-settings.js +4 -4
  7. package/dist/account-settings.js.map +1 -1
  8. package/dist/achievement.d.ts +3 -3
  9. package/dist/achievement.js +1 -1
  10. package/dist/achievement.js.map +1 -1
  11. package/dist/action-bar.d.ts +1 -1
  12. package/dist/action-bar.js +5 -5
  13. package/dist/action-bar.js.map +1 -1
  14. package/dist/activity-feed.d.ts +2 -2
  15. package/dist/activity-feed.js +1 -1
  16. package/dist/activity-feed.js.map +1 -1
  17. package/dist/alert.d.ts +1 -1
  18. package/dist/alert.js.map +1 -1
  19. package/dist/analysis-report.d.ts +1 -1
  20. package/dist/analysis-report.js +4 -4
  21. package/dist/analysis-report.js.map +1 -1
  22. package/dist/anatomy-plate.d.ts +1 -1
  23. package/dist/anatomy-plate.js +1 -1
  24. package/dist/anatomy-plate.js.map +1 -1
  25. package/dist/app-header/search.d.ts +1 -1
  26. package/dist/app-header/search.js +2 -2
  27. package/dist/app-header/search.js.map +1 -1
  28. package/dist/app-header.d.ts +2 -2
  29. package/dist/app-header.js.map +1 -1
  30. package/dist/app-shell.d.ts +8 -8
  31. package/dist/app-shell.js +4 -4
  32. package/dist/app-shell.js.map +1 -1
  33. package/dist/architecture-diagram.d.ts +1 -1
  34. package/dist/architecture-diagram.js.map +1 -1
  35. package/dist/argument-card.d.ts +2 -2
  36. package/dist/argument-card.js +6 -6
  37. package/dist/argument-card.js.map +1 -1
  38. package/dist/auth-layout.d.ts +1 -1
  39. package/dist/auth-layout.js.map +1 -1
  40. package/dist/avatar.d.ts +2 -2
  41. package/dist/avatar.js.map +1 -1
  42. package/dist/badge.d.ts +1 -1
  43. package/dist/badge.js +1 -1
  44. package/dist/bird-plate.d.ts +1 -1
  45. package/dist/bird-plate.js +2 -2
  46. package/dist/bird-plate.js.map +1 -1
  47. package/dist/button/text-link.d.ts +8 -0
  48. package/dist/button/text-link.js +6 -0
  49. package/dist/button/text-link.js.map +1 -0
  50. package/dist/button.d.ts +2 -2
  51. package/dist/button.js +3 -3
  52. package/dist/captcha.d.ts +2 -2
  53. package/dist/captcha.js +3 -3
  54. package/dist/captcha.js.map +1 -1
  55. package/dist/card-grid.d.ts +1 -1
  56. package/dist/card-grid.js +1 -1
  57. package/dist/card-grid.js.map +1 -1
  58. package/dist/card.d.ts +9 -9
  59. package/dist/card.js +1 -1
  60. package/dist/card.js.map +1 -1
  61. package/dist/catalogue-page.d.ts +2 -2
  62. package/dist/catalogue-page.js.map +1 -1
  63. package/dist/changelog-page.d.ts +1 -1
  64. package/dist/changelog-page.js +2 -2
  65. package/dist/changelog-page.js.map +1 -1
  66. package/dist/chapter.d.ts +3 -3
  67. package/dist/chapter.js +2 -2
  68. package/dist/chapter.js.map +1 -1
  69. package/dist/chat.d.ts +3 -3
  70. package/dist/chat.js +1 -1
  71. package/dist/chat.js.map +1 -1
  72. package/dist/checkbox.d.ts +1 -1
  73. package/dist/checkbox.js.map +1 -1
  74. package/dist/chip-link.d.ts +1 -1
  75. package/dist/chip-link.js +1 -1
  76. package/dist/chip-row.d.ts +2 -2
  77. package/dist/chip-row.js +1 -1
  78. package/dist/chip-row.js.map +1 -1
  79. package/dist/chip.d.ts +4 -5
  80. package/dist/chip.js +2 -2
  81. package/dist/choice-grid.d.ts +1 -1
  82. package/dist/choice-grid.js +2 -2
  83. package/dist/choice-grid.js.map +1 -1
  84. package/dist/{chunk-S6NYGOJT.js → chunk-22IORLB5.js} +1 -1
  85. package/dist/chunk-22IORLB5.js.map +1 -0
  86. package/dist/{chunk-QA3WETWT.js → chunk-2P7Y3LNN.js} +1 -1
  87. package/dist/chunk-2P7Y3LNN.js.map +1 -0
  88. package/dist/{chunk-OGWB76BR.js → chunk-3CEMOJBL.js} +2 -2
  89. package/dist/chunk-3CEMOJBL.js.map +1 -0
  90. package/dist/{chunk-WC3SO4CE.js → chunk-3SWWUJJL.js} +2 -2
  91. package/dist/chunk-3SWWUJJL.js.map +1 -0
  92. package/dist/{chunk-S2O4NSN5.js → chunk-3TCHVNNB.js} +1 -1
  93. package/dist/chunk-3TCHVNNB.js.map +1 -0
  94. package/dist/{chunk-7P7I5OQV.js → chunk-5KBYZLU4.js} +2 -2
  95. package/dist/chunk-5KBYZLU4.js.map +1 -0
  96. package/dist/{chunk-WKQ5CB3I.js → chunk-6ARAO3TR.js} +1 -1
  97. package/dist/{chunk-WKQ5CB3I.js.map → chunk-6ARAO3TR.js.map} +1 -1
  98. package/dist/{chunk-QHVV2JGF.js → chunk-6LF6IZZM.js} +2 -2
  99. package/dist/chunk-6LF6IZZM.js.map +1 -0
  100. package/dist/{chunk-HP7BDMVK.js → chunk-7B5Q76JR.js} +2 -2
  101. package/dist/chunk-7B5Q76JR.js.map +1 -0
  102. package/dist/{chunk-F2UZ2WWL.js → chunk-7KIIAOQH.js} +1 -1
  103. package/dist/{chunk-F2UZ2WWL.js.map → chunk-7KIIAOQH.js.map} +1 -1
  104. package/dist/{chunk-ADRUEPYC.js → chunk-7MA3UODW.js} +2 -2
  105. package/dist/{chunk-ADRUEPYC.js.map → chunk-7MA3UODW.js.map} +1 -1
  106. package/dist/{chunk-KH3JOEPY.js → chunk-7PVLEALV.js} +1 -1
  107. package/dist/chunk-7PVLEALV.js.map +1 -0
  108. package/dist/{chunk-QVHSV6RA.js → chunk-7UBLUGNW.js} +1 -1
  109. package/dist/chunk-7UBLUGNW.js.map +1 -0
  110. package/dist/{chunk-YTYNKMNS.js → chunk-BKMHN4UA.js} +5 -5
  111. package/dist/chunk-BKMHN4UA.js.map +1 -0
  112. package/dist/{chunk-4QH6CP2Y.js → chunk-BRYRZWLV.js} +1 -1
  113. package/dist/{chunk-4QH6CP2Y.js.map → chunk-BRYRZWLV.js.map} +1 -1
  114. package/dist/{chunk-43PTCDTL.js → chunk-BVN7JFOP.js} +1 -1
  115. package/dist/chunk-BVN7JFOP.js.map +1 -0
  116. package/dist/{chunk-5RWHDX5J.js → chunk-BYKA3FHX.js} +2 -2
  117. package/dist/chunk-BYKA3FHX.js.map +1 -0
  118. package/dist/{chunk-5PFCELGW.js → chunk-DIOAQOR5.js} +1 -1
  119. package/dist/chunk-DIOAQOR5.js.map +1 -0
  120. package/dist/{chunk-HJFRHYCI.js → chunk-DTGRZXYO.js} +2 -2
  121. package/dist/{chunk-P7AFIKWG.js → chunk-DVC4YQI2.js} +2 -2
  122. package/dist/chunk-DVC4YQI2.js.map +1 -0
  123. package/dist/{chunk-V5RO6JYI.js → chunk-E3LFHTUV.js} +2 -2
  124. package/dist/chunk-E3LFHTUV.js.map +1 -0
  125. package/dist/{chunk-WEVYKZIF.js → chunk-EAXIDRMB.js} +1 -1
  126. package/dist/chunk-EAXIDRMB.js.map +1 -0
  127. package/dist/{chunk-WU4VLSEA.js → chunk-EYMS6VRF.js} +1 -1
  128. package/dist/chunk-EYMS6VRF.js.map +1 -0
  129. package/dist/{chunk-LH5J3VLZ.js → chunk-F7EJZV53.js} +1 -1
  130. package/dist/chunk-F7EJZV53.js.map +1 -0
  131. package/dist/{chunk-VPO27AFS.js → chunk-G3L7AKZJ.js} +1 -1
  132. package/dist/chunk-G3L7AKZJ.js.map +1 -0
  133. package/dist/{chunk-EB45EVPJ.js → chunk-G5NROYGK.js} +3 -3
  134. package/dist/chunk-G5NROYGK.js.map +1 -0
  135. package/dist/{chunk-HKEAYSFS.js → chunk-GQMINKT3.js} +1 -1
  136. package/dist/{chunk-ENOS6ETI.js.map → chunk-GQMINKT3.js.map} +1 -1
  137. package/dist/{chunk-3X3OF4TI.js → chunk-H4NXYAL7.js} +1 -1
  138. package/dist/{chunk-3X3OF4TI.js.map → chunk-H4NXYAL7.js.map} +1 -1
  139. package/dist/{chunk-KR2W4ONJ.js → chunk-H7I6YLI6.js} +1 -1
  140. package/dist/chunk-H7I6YLI6.js.map +1 -0
  141. package/dist/{chunk-PJNR4NTS.js → chunk-HC2TY45B.js} +4 -4
  142. package/dist/{chunk-NSLXEDIS.js → chunk-HHBTM4AU.js} +1 -1
  143. package/dist/chunk-HHBTM4AU.js.map +1 -0
  144. package/dist/{chunk-XVRKKYWU.js → chunk-HVUR3UNK.js} +2 -2
  145. package/dist/{chunk-XVRKKYWU.js.map → chunk-HVUR3UNK.js.map} +1 -1
  146. package/dist/{chunk-V7W4RLRW.js → chunk-HWIDTLLO.js} +3 -3
  147. package/dist/chunk-HWIDTLLO.js.map +1 -0
  148. package/dist/{chunk-W675RFOA.js → chunk-ISC2QBXJ.js} +1 -1
  149. package/dist/chunk-ISC2QBXJ.js.map +1 -0
  150. package/dist/{chunk-7DYZTEE3.js → chunk-IWPB6SSW.js} +1 -1
  151. package/dist/chunk-IWPB6SSW.js.map +1 -0
  152. package/dist/{chunk-TVLRE7S3.js → chunk-JDVWUF5W.js} +2 -2
  153. package/dist/{chunk-TVLRE7S3.js.map → chunk-JDVWUF5W.js.map} +1 -1
  154. package/dist/{chunk-757ZTGU5.js → chunk-JE2NY4XE.js} +4 -4
  155. package/dist/chunk-JE2NY4XE.js.map +1 -0
  156. package/dist/{chunk-HLEBSAGC.js → chunk-KBSZ6JRF.js} +2 -2
  157. package/dist/chunk-KBSZ6JRF.js.map +1 -0
  158. package/dist/{chunk-Y3P5B4XS.js → chunk-KCU45KQ3.js} +3 -3
  159. package/dist/chunk-KCU45KQ3.js.map +1 -0
  160. package/dist/{chunk-ST5P5HNI.js → chunk-L4YBG5US.js} +4 -4
  161. package/dist/{chunk-ST5P5HNI.js.map → chunk-L4YBG5US.js.map} +1 -1
  162. package/dist/{chunk-NG6G6V5E.js → chunk-LFH3LEWR.js} +1 -1
  163. package/dist/chunk-LFH3LEWR.js.map +1 -0
  164. package/dist/{chunk-YATTFMDV.js → chunk-LSQQSJ6J.js} +2 -2
  165. package/dist/{chunk-YATTFMDV.js.map → chunk-LSQQSJ6J.js.map} +1 -1
  166. package/dist/{chunk-LNAAWT4Y.js → chunk-MJWOZ3JI.js} +1 -1
  167. package/dist/chunk-MJWOZ3JI.js.map +1 -0
  168. package/dist/{chunk-KID32IRJ.js → chunk-MXHJMTZ5.js} +1 -1
  169. package/dist/{chunk-KID32IRJ.js.map → chunk-MXHJMTZ5.js.map} +1 -1
  170. package/dist/{chunk-GHAN7OOE.js → chunk-N6LAWI4F.js} +2 -2
  171. package/dist/chunk-N6LAWI4F.js.map +1 -0
  172. package/dist/{chunk-5VZ37TY3.js → chunk-NFJWD5BT.js} +2 -2
  173. package/dist/chunk-NFJWD5BT.js.map +1 -0
  174. package/dist/{chunk-ZPOVOEO3.js → chunk-NJLIHGU4.js} +2 -2
  175. package/dist/chunk-NJLIHGU4.js.map +1 -0
  176. package/dist/{chunk-PRD7JRQX.js → chunk-ONCQWOTH.js} +4 -4
  177. package/dist/{chunk-PRD7JRQX.js.map → chunk-ONCQWOTH.js.map} +1 -1
  178. package/dist/{chunk-ENOS6ETI.js → chunk-OZC6CDZF.js} +1 -1
  179. package/dist/{chunk-HKEAYSFS.js.map → chunk-OZC6CDZF.js.map} +1 -1
  180. package/dist/{chunk-TXFX4PMN.js → chunk-OZY4C4W5.js} +1 -1
  181. package/dist/{chunk-TXFX4PMN.js.map → chunk-OZY4C4W5.js.map} +1 -1
  182. package/dist/{chunk-NPMGYLJV.js → chunk-PIRYDEX2.js} +3 -3
  183. package/dist/chunk-PIRYDEX2.js.map +1 -0
  184. package/dist/{chunk-C57KK5VB.js → chunk-PM23USOC.js} +1 -1
  185. package/dist/chunk-PM23USOC.js.map +1 -0
  186. package/dist/{chunk-PGBF3UBX.js → chunk-QKL5TECH.js} +1 -1
  187. package/dist/chunk-QKL5TECH.js.map +1 -0
  188. package/dist/{chunk-Z47KIPCT.js → chunk-QY5JEUJT.js} +1 -1
  189. package/dist/chunk-QY5JEUJT.js.map +1 -0
  190. package/dist/{chunk-FVGFPB73.js → chunk-RPVKF4RR.js} +1 -1
  191. package/dist/{chunk-FVGFPB73.js.map → chunk-RPVKF4RR.js.map} +1 -1
  192. package/dist/{chunk-NM2DEHFZ.js → chunk-RXYKJIC4.js} +1 -1
  193. package/dist/chunk-RXYKJIC4.js.map +1 -0
  194. package/dist/{chunk-W64RAX4N.js → chunk-TKYNYIJS.js} +5 -5
  195. package/dist/chunk-TKYNYIJS.js.map +1 -0
  196. package/dist/{chunk-S4TLZRGZ.js → chunk-UMXWOA3I.js} +1 -1
  197. package/dist/chunk-UMXWOA3I.js.map +1 -0
  198. package/dist/{chunk-VA4NPCUQ.js → chunk-VD7QFUAP.js} +3 -3
  199. package/dist/chunk-VD7QFUAP.js.map +1 -0
  200. package/dist/{chunk-MDSP7DJR.js → chunk-VQELCPQJ.js} +5 -5
  201. package/dist/chunk-VQELCPQJ.js.map +1 -0
  202. package/dist/{chunk-2FCQCWIK.js → chunk-VXNBXW3P.js} +5 -5
  203. package/dist/chunk-VXNBXW3P.js.map +1 -0
  204. package/dist/{chunk-B47WSPMP.js → chunk-WPUDPH2Q.js} +1 -1
  205. package/dist/chunk-WPUDPH2Q.js.map +1 -0
  206. package/dist/{chunk-SG2RKUVJ.js → chunk-WTZUMVJI.js} +5 -5
  207. package/dist/chunk-WTZUMVJI.js.map +1 -0
  208. package/dist/{chunk-EDQLPCM4.js → chunk-WVZF6WK3.js} +2 -2
  209. package/dist/chunk-WVZF6WK3.js.map +1 -0
  210. package/dist/{chunk-5D7NMUF6.js → chunk-XDAETKWM.js} +2 -2
  211. package/dist/chunk-XDAETKWM.js.map +1 -0
  212. package/dist/{chunk-QD6SNXF5.js → chunk-XDWSGNL4.js} +3 -3
  213. package/dist/chunk-XDWSGNL4.js.map +1 -0
  214. package/dist/{chunk-SB5WSVPI.js → chunk-ZFH2BYXW.js} +2 -2
  215. package/dist/chunk-ZFH2BYXW.js.map +1 -0
  216. package/dist/{chunk-XVLWVTQA.js → chunk-ZI7K742O.js} +1 -1
  217. package/dist/{chunk-XVLWVTQA.js.map → chunk-ZI7K742O.js.map} +1 -1
  218. package/dist/{chunk-NQENOT6L.js → chunk-ZRRWSKV3.js} +8 -8
  219. package/dist/chunk-ZRRWSKV3.js.map +1 -0
  220. package/dist/cn.js +1 -1
  221. package/dist/code-block.d.ts +2 -2
  222. package/dist/code-block.js +2 -2
  223. package/dist/code-block.js.map +1 -1
  224. package/dist/collection-switcher.d.ts +1 -1
  225. package/dist/collection-switcher.js +1 -1
  226. package/dist/collection-switcher.js.map +1 -1
  227. package/dist/columns.d.ts +2 -2
  228. package/dist/columns.js.map +1 -1
  229. package/dist/combobox.js +4 -4
  230. package/dist/command.d.ts +10 -10
  231. package/dist/command.js +4 -4
  232. package/dist/command.js.map +1 -1
  233. package/dist/comparison-table.d.ts +1 -1
  234. package/dist/comparison-table.js +1 -1
  235. package/dist/comparison-table.js.map +1 -1
  236. package/dist/component-page.d.ts +1 -1
  237. package/dist/component-page.js.map +1 -1
  238. package/dist/confirm-button.d.ts +1 -1
  239. package/dist/confirm-button.js +4 -4
  240. package/dist/contact-page.d.ts +1 -1
  241. package/dist/contact-page.js.map +1 -1
  242. package/dist/continue-prompt.d.ts +1 -1
  243. package/dist/continue-prompt.js +1 -1
  244. package/dist/continue-prompt.js.map +1 -1
  245. package/dist/copy-button.d.ts +1 -1
  246. package/dist/copy-button.js +4 -4
  247. package/dist/copy-button.js.map +1 -1
  248. package/dist/countdown.d.ts +1 -1
  249. package/dist/countdown.js.map +1 -1
  250. package/dist/cover-hero.d.ts +1 -1
  251. package/dist/cover-hero.js +5 -5
  252. package/dist/cover-hero.js.map +1 -1
  253. package/dist/cta-panel.d.ts +1 -1
  254. package/dist/cta-panel.js +1 -1
  255. package/dist/cta-panel.js.map +1 -1
  256. package/dist/dashboard-layout.d.ts +2 -2
  257. package/dist/dashboard-layout.js.map +1 -1
  258. package/dist/data-table.d.ts +5 -5
  259. package/dist/data-table.js +9 -9
  260. package/dist/date-picker.d.ts +11 -11
  261. package/dist/date-picker.js +5 -5
  262. package/dist/date-picker.js.map +1 -1
  263. package/dist/decision-list.d.ts +1 -1
  264. package/dist/decision-list.js +2 -2
  265. package/dist/decision-list.js.map +1 -1
  266. package/dist/description-list.d.ts +2 -2
  267. package/dist/description-list.js.map +1 -1
  268. package/dist/detail-layout.d.ts +5 -5
  269. package/dist/detail-layout.js +1 -1
  270. package/dist/detail-layout.js.map +1 -1
  271. package/dist/{dialog-DpUwec2g.d.ts → dialog-CFnxFGyn.d.ts} +7 -7
  272. package/dist/dialog.d.ts +2 -2
  273. package/dist/dialog.js +4 -4
  274. package/dist/dialog.js.map +1 -1
  275. package/dist/docs-article-page.d.ts +1 -1
  276. package/dist/docs-article-page.js.map +1 -1
  277. package/dist/docs-hub-page.d.ts +1 -1
  278. package/dist/docs-hub-page.js.map +1 -1
  279. package/dist/docs-layout.d.ts +1 -1
  280. package/dist/docs-layout.js +1 -1
  281. package/dist/docs-layout.js.map +1 -1
  282. package/dist/docs-nav.d.ts +1 -1
  283. package/dist/docs-nav.js +1 -1
  284. package/dist/docs-nav.js.map +1 -1
  285. package/dist/document-viewer.d.ts +2 -2
  286. package/dist/document-viewer.js +3 -3
  287. package/dist/document-viewer.js.map +1 -1
  288. package/dist/doodle.d.ts +1 -1
  289. package/dist/doodle.js +1 -1
  290. package/dist/doodle.js.map +1 -1
  291. package/dist/drop-overlay.d.ts +1 -1
  292. package/dist/drop-overlay.js +1 -1
  293. package/dist/drop-overlay.js.map +1 -1
  294. package/dist/dropdown-menu.d.ts +8 -8
  295. package/dist/dropdown-menu.js +2 -2
  296. package/dist/embed-facade.js +1 -1
  297. package/dist/empty-state.d.ts +1 -1
  298. package/dist/empty-state.js.map +1 -1
  299. package/dist/engine-flow.d.ts +1 -1
  300. package/dist/engine-flow.js +1 -1
  301. package/dist/engine-flow.js.map +1 -1
  302. package/dist/entity-header.d.ts +1 -1
  303. package/dist/entity-header.js +1 -1
  304. package/dist/entity-header.js.map +1 -1
  305. package/dist/environment-notice.d.ts +1 -1
  306. package/dist/environment-notice.js.map +1 -1
  307. package/dist/error-page.d.ts +1 -1
  308. package/dist/error-page.js +1 -1
  309. package/dist/error-page.js.map +1 -1
  310. package/dist/field.d.ts +3 -3
  311. package/dist/field.js +1 -1
  312. package/dist/field.js.map +1 -1
  313. package/dist/file-upload.d.ts +1 -1
  314. package/dist/file-upload.js +1 -1
  315. package/dist/file-upload.js.map +1 -1
  316. package/dist/filter-bar.d.ts +2 -2
  317. package/dist/filter-bar.js +4 -4
  318. package/dist/flock.d.ts +1 -1
  319. package/dist/flock.js +2 -2
  320. package/dist/flock.js.map +1 -1
  321. package/dist/footnote.d.ts +3 -3
  322. package/dist/footnote.js +1 -1
  323. package/dist/footnote.js.map +1 -1
  324. package/dist/force-update-screen.d.ts +1 -1
  325. package/dist/force-update-screen.js +3 -3
  326. package/dist/force-update-screen.js.map +1 -1
  327. package/dist/form/server.js.map +1 -1
  328. package/dist/form.d.ts +12 -12
  329. package/dist/form.js +4 -4
  330. package/dist/form.js.map +1 -1
  331. package/dist/{frame-CmDztC_y.d.ts → frame-D5HU_cG8.d.ts} +2 -2
  332. package/dist/gallery-page.d.ts +1 -1
  333. package/dist/gallery-page.js +1 -1
  334. package/dist/gallery-page.js.map +1 -1
  335. package/dist/genui.d.ts +2 -2
  336. package/dist/genui.js +9 -9
  337. package/dist/genui.js.map +1 -1
  338. package/dist/glossary-term.js +2 -2
  339. package/dist/glow-card.d.ts +1 -1
  340. package/dist/glow-card.js +1 -1
  341. package/dist/glow-card.js.map +1 -1
  342. package/dist/goal-gauge.d.ts +1 -1
  343. package/dist/goal-gauge.js +1 -1
  344. package/dist/goal-gauge.js.map +1 -1
  345. package/dist/grade-stamp.d.ts +1 -1
  346. package/dist/grade-stamp.js +2 -2
  347. package/dist/grade-stamp.js.map +1 -1
  348. package/dist/identity-card.d.ts +1 -1
  349. package/dist/identity-card.js +5 -5
  350. package/dist/identity-card.js.map +1 -1
  351. package/dist/image-cropper.d.ts +1 -1
  352. package/dist/image-cropper.js +3 -3
  353. package/dist/image-cropper.js.map +1 -1
  354. package/dist/index.d.ts +5 -5
  355. package/dist/index.js +2 -2
  356. package/dist/index.js.map +1 -1
  357. package/dist/kanban.d.ts +1 -1
  358. package/dist/kanban.js.map +1 -1
  359. package/dist/kbd.d.ts +1 -1
  360. package/dist/kbd.js.map +1 -1
  361. package/dist/kind-config-editor.js +8 -8
  362. package/dist/kind-config-editor.js.map +1 -1
  363. package/dist/kpi-explained.js +1 -1
  364. package/dist/kpi-explained.js.map +1 -1
  365. package/dist/landing-page.d.ts +1 -1
  366. package/dist/landing-page.js.map +1 -1
  367. package/dist/landscape.d.ts +1 -1
  368. package/dist/landscape.js +2 -2
  369. package/dist/landscape.js.map +1 -1
  370. package/dist/language-switch.d.ts +10 -10
  371. package/dist/language-switch.js +1 -1
  372. package/dist/legal-page.d.ts +1 -1
  373. package/dist/legal-page.js.map +1 -1
  374. package/dist/{lightbox-MRB2YZEP.js → lightbox-JLWASIJC.js} +4 -4
  375. package/dist/link-card.d.ts +1 -1
  376. package/dist/link-card.js +4 -4
  377. package/dist/list.d.ts +1 -1
  378. package/dist/list.js +2 -2
  379. package/dist/list.js.map +1 -1
  380. package/dist/loader.d.ts +2 -2
  381. package/dist/loader.js +1 -1
  382. package/dist/loader.js.map +1 -1
  383. package/dist/longform-page.d.ts +1 -1
  384. package/dist/longform-page.js +1 -1
  385. package/dist/longform-page.js.map +1 -1
  386. package/dist/maintenance-screen.d.ts +1 -1
  387. package/dist/maintenance-screen.js +3 -3
  388. package/dist/maintenance-screen.js.map +1 -1
  389. package/dist/map/cards.d.ts +2 -2
  390. package/dist/map/cards.js +1 -1
  391. package/dist/map/cards.js.map +1 -1
  392. package/dist/map/pin.js +1 -1
  393. package/dist/map/sheet.d.ts +1 -1
  394. package/dist/map/sheet.js +1 -1
  395. package/dist/map/sheet.js.map +1 -1
  396. package/dist/map.d.ts +11 -11
  397. package/dist/map.js +4 -4
  398. package/dist/map.js.map +1 -1
  399. package/dist/margin-layout.d.ts +2 -2
  400. package/dist/margin-layout.js.map +1 -1
  401. package/dist/markdown.d.ts +1 -1
  402. package/dist/markdown.js.map +1 -1
  403. package/dist/marketing-layout.d.ts +1 -1
  404. package/dist/marketing-layout.js.map +1 -1
  405. package/dist/mascot-quote.d.ts +1 -1
  406. package/dist/mascot-quote.js +2 -2
  407. package/dist/mascot-quote.js.map +1 -1
  408. package/dist/mascot-state.d.ts +5 -5
  409. package/dist/mascot-state.js +1 -1
  410. package/dist/mascot-state.js.map +1 -1
  411. package/dist/mascots.d.ts +2 -2
  412. package/dist/mascots.js +2 -2
  413. package/dist/mascots.js.map +1 -1
  414. package/dist/match-dialog.d.ts +1 -1
  415. package/dist/match-dialog.js +4 -4
  416. package/dist/match-dialog.js.map +1 -1
  417. package/dist/media-capture.d.ts +1 -1
  418. package/dist/media-capture.js +1 -1
  419. package/dist/media-capture.js.map +1 -1
  420. package/dist/media-carousel.js +5 -5
  421. package/dist/media-carousel.js.map +1 -1
  422. package/dist/media-gallery.d.ts +1 -1
  423. package/dist/media-gallery.js +1 -1
  424. package/dist/media-gallery.js.map +1 -1
  425. package/dist/media-player.d.ts +1 -1
  426. package/dist/media-player.js +4 -4
  427. package/dist/meter.d.ts +2 -2
  428. package/dist/meter.js +1 -1
  429. package/dist/money-input.d.ts +1 -1
  430. package/dist/money-input.js +3 -3
  431. package/dist/motion.d.ts +1 -1
  432. package/dist/motion.js +1 -1
  433. package/dist/native/form.d.ts +12 -12
  434. package/dist/native/form.js +4 -4
  435. package/dist/native/form.js.map +1 -1
  436. package/dist/native/list.d.ts +1 -1
  437. package/dist/native/list.js.map +1 -1
  438. package/dist/native/map.d.ts +4 -4
  439. package/dist/native/map.js +2 -2
  440. package/dist/native/map.js.map +1 -1
  441. package/dist/native/markdown.js.map +1 -1
  442. package/dist/native/media-capture.d.ts +1 -1
  443. package/dist/native/media-capture.js.map +1 -1
  444. package/dist/native/media-picker.d.ts +1 -1
  445. package/dist/native/media-picker.js.map +1 -1
  446. package/dist/native/vertical-video.d.ts +2 -2
  447. package/dist/native/vertical-video.js.map +1 -1
  448. package/dist/native/video-player.d.ts +1 -1
  449. package/dist/native/video-player.js.map +1 -1
  450. package/dist/native.d.ts +95 -95
  451. package/dist/native.js +13 -13
  452. package/dist/native.js.map +1 -1
  453. package/dist/nav-bar.d.ts +13 -13
  454. package/dist/nav-bar.js +5 -5
  455. package/dist/nav-bar.js.map +1 -1
  456. package/dist/notification-preferences.js +3 -3
  457. package/dist/number-ticker.d.ts +1 -1
  458. package/dist/number-ticker.js +1 -1
  459. package/dist/number-ticker.js.map +1 -1
  460. package/dist/opening-hours.d.ts +1 -1
  461. package/dist/opening-hours.js +1 -1
  462. package/dist/opening-hours.js.map +1 -1
  463. package/dist/{page-DPHDmDAQ.d.ts → page-Ufnb5TrQ.d.ts} +5 -5
  464. package/dist/page-header.d.ts +1 -1
  465. package/dist/page-header.js.map +1 -1
  466. package/dist/page-hero.d.ts +1 -1
  467. package/dist/page-hero.js +5 -5
  468. package/dist/page-hero.js.map +1 -1
  469. package/dist/page-index.d.ts +1 -1
  470. package/dist/page-index.js +2 -2
  471. package/dist/page-index.js.map +1 -1
  472. package/dist/page.d.ts +1 -1
  473. package/dist/page.js +3 -3
  474. package/dist/pagination.d.ts +1 -1
  475. package/dist/pagination.js +1 -1
  476. package/dist/pagination.js.map +1 -1
  477. package/dist/pausable-loop.js +2 -2
  478. package/dist/platform-bar.d.ts +102 -0
  479. package/dist/platform-bar.js +42 -0
  480. package/dist/platform-bar.js.map +1 -0
  481. package/dist/{player-lightbox-BYQ57OXT.js → player-lightbox-SJR3GB7U.js} +5 -5
  482. package/dist/player-lightbox-SJR3GB7U.js.map +1 -0
  483. package/dist/pointer-light.d.ts +1 -1
  484. package/dist/pointer-light.js.map +1 -1
  485. package/dist/popover.d.ts +1 -1
  486. package/dist/popover.js +1 -1
  487. package/dist/popover.js.map +1 -1
  488. package/dist/price-catalogue-editor.js +8 -8
  489. package/dist/price-catalogue-editor.js.map +1 -1
  490. package/dist/pricing-page.d.ts +1 -1
  491. package/dist/pricing-page.js +1 -1
  492. package/dist/pricing-page.js.map +1 -1
  493. package/dist/product-page.d.ts +1 -1
  494. package/dist/product-page.js +1 -1
  495. package/dist/product-page.js.map +1 -1
  496. package/dist/profile-card.d.ts +3 -3
  497. package/dist/profile-card.js +1 -1
  498. package/dist/profile-card.js.map +1 -1
  499. package/dist/progress.d.ts +1 -1
  500. package/dist/progress.js.map +1 -1
  501. package/dist/promise-card.d.ts +1 -1
  502. package/dist/promise-card.js +1 -1
  503. package/dist/promise-card.js.map +1 -1
  504. package/dist/promo-code-field.js +4 -4
  505. package/dist/proposal.js +5 -5
  506. package/dist/qr-code.js +6 -6
  507. package/dist/qr-code.js.map +1 -1
  508. package/dist/quota-meter.d.ts +1 -1
  509. package/dist/quota-meter.js +1 -1
  510. package/dist/quota-meter.js.map +1 -1
  511. package/dist/radio-group.d.ts +5 -5
  512. package/dist/radio-group.js +3 -3
  513. package/dist/radio-group.js.map +1 -1
  514. package/dist/rail-nav.d.ts +4 -4
  515. package/dist/rail-nav.js +3 -3
  516. package/dist/rail-nav.js.map +1 -1
  517. package/dist/recipes.js +1 -1
  518. package/dist/recipes.js.map +1 -1
  519. package/dist/retro-tv-playlist.d.ts +1 -1
  520. package/dist/retro-tv-playlist.js.map +1 -1
  521. package/dist/retro-tv.js +6 -6
  522. package/dist/retro-tv.js.map +1 -1
  523. package/dist/reviews.js +3 -3
  524. package/dist/{schema-Dkn0uX72.d.ts → schema-Dd05m48Q.d.ts} +1 -1
  525. package/dist/schema-form.js +7 -7
  526. package/dist/schema-form.js.map +1 -1
  527. package/dist/scroll-stage.d.ts +2 -2
  528. package/dist/scroll-stage.js +2 -2
  529. package/dist/scroll-stage.js.map +1 -1
  530. package/dist/search-field.d.ts +1 -1
  531. package/dist/search-field.js +2 -2
  532. package/dist/section-backdrop.d.ts +1 -1
  533. package/dist/section-backdrop.js +1 -1
  534. package/dist/separator.d.ts +1 -1
  535. package/dist/separator.js.map +1 -1
  536. package/dist/service-card.d.ts +1 -1
  537. package/dist/service-card.js +6 -6
  538. package/dist/service-card.js.map +1 -1
  539. package/dist/settings-layout.d.ts +3 -3
  540. package/dist/settings-layout.js +2 -2
  541. package/dist/shop/booking.d.ts +1 -1
  542. package/dist/shop/booking.js +4 -4
  543. package/dist/shop/booking.js.map +1 -1
  544. package/dist/shop/bulletin.d.ts +1 -1
  545. package/dist/shop/bulletin.js +2 -2
  546. package/dist/shop/bulletin.js.map +1 -1
  547. package/dist/shop/faq.d.ts +1 -1
  548. package/dist/shop/faq.js +3 -3
  549. package/dist/shop/faq.js.map +1 -1
  550. package/dist/shop/gallery.d.ts +1 -1
  551. package/dist/shop/gallery.js +3 -3
  552. package/dist/shop/gallery.js.map +1 -1
  553. package/dist/shop/hero.d.ts +1 -1
  554. package/dist/shop/hero.js +2 -2
  555. package/dist/shop/hero.js.map +1 -1
  556. package/dist/shop/policies.d.ts +1 -1
  557. package/dist/shop/policies.js +2 -2
  558. package/dist/shop/policies.js.map +1 -1
  559. package/dist/shop/reviews.d.ts +1 -1
  560. package/dist/shop/reviews.js +2 -2
  561. package/dist/shop/reviews.js.map +1 -1
  562. package/dist/shop/services.d.ts +1 -1
  563. package/dist/shop/services.js +4 -4
  564. package/dist/shop/services.js.map +1 -1
  565. package/dist/shop/social.d.ts +1 -1
  566. package/dist/shop/social.js +2 -2
  567. package/dist/shop/social.js.map +1 -1
  568. package/dist/shop/story.d.ts +1 -1
  569. package/dist/shop/story.js +2 -2
  570. package/dist/shop/story.js.map +1 -1
  571. package/dist/shop/team.d.ts +1 -1
  572. package/dist/shop/team.js +2 -2
  573. package/dist/shop/team.js.map +1 -1
  574. package/dist/shop/video.d.ts +1 -1
  575. package/dist/shop/video.js +2 -2
  576. package/dist/shop/video.js.map +1 -1
  577. package/dist/shop/visit.d.ts +1 -1
  578. package/dist/shop/visit.js +2 -2
  579. package/dist/shop/visit.js.map +1 -1
  580. package/dist/shop-composer.js +2 -2
  581. package/dist/shop-composer.js.map +1 -1
  582. package/dist/shop-gallery.d.ts +1 -1
  583. package/dist/shop-gallery.js +2 -2
  584. package/dist/shop-gallery.js.map +1 -1
  585. package/dist/shop.d.ts +3 -3
  586. package/dist/shop.js +2 -2
  587. package/dist/showcase.d.ts +1 -1
  588. package/dist/showcase.js +6 -6
  589. package/dist/showcase.js.map +1 -1
  590. package/dist/signature.d.ts +1 -1
  591. package/dist/signature.js +2 -2
  592. package/dist/signature.js.map +1 -1
  593. package/dist/site-cahier.d.ts +8 -5
  594. package/dist/site-cahier.js +24 -10
  595. package/dist/site-cahier.js.map +1 -1
  596. package/dist/site-footer.d.ts +21 -6
  597. package/dist/site-footer.js +15 -1
  598. package/dist/site-footer.js.map +1 -1
  599. package/dist/skeleton.d.ts +3 -3
  600. package/dist/skeleton.js.map +1 -1
  601. package/dist/skip-link.d.ts +1 -1
  602. package/dist/skip-link.js +1 -1
  603. package/dist/slider.d.ts +1 -1
  604. package/dist/slider.js +2 -2
  605. package/dist/slider.js.map +1 -1
  606. package/dist/slot-picker.d.ts +1 -1
  607. package/dist/slot-picker.js +1 -1
  608. package/dist/slot-picker.js.map +1 -1
  609. package/dist/specimen-tag.d.ts +2 -2
  610. package/dist/specimen-tag.js +2 -2
  611. package/dist/speed-lines.d.ts +1 -1
  612. package/dist/speed-lines.js +1 -1
  613. package/dist/speed-lines.js.map +1 -1
  614. package/dist/spinner.d.ts +2 -2
  615. package/dist/spinner.js +1 -1
  616. package/dist/spinner.js.map +1 -1
  617. package/dist/split-view.d.ts +1 -1
  618. package/dist/split-view.js.map +1 -1
  619. package/dist/stage-banner.d.ts +1 -1
  620. package/dist/stage-banner.js +1 -1
  621. package/dist/stage-banner.js.map +1 -1
  622. package/dist/stat.d.ts +2 -2
  623. package/dist/stat.js +1 -1
  624. package/dist/status-chip.js +4 -4
  625. package/dist/status-chip.js.map +1 -1
  626. package/dist/status-page.d.ts +1 -1
  627. package/dist/status-page.js.map +1 -1
  628. package/dist/step-progress.d.ts +1 -1
  629. package/dist/step-progress.js.map +1 -1
  630. package/dist/step-showcase.d.ts +2 -2
  631. package/dist/step-showcase.js +3 -3
  632. package/dist/step-showcase.js.map +1 -1
  633. package/dist/stepper.d.ts +1 -1
  634. package/dist/stepper.js +1 -1
  635. package/dist/stepper.js.map +1 -1
  636. package/dist/sticky-action.d.ts +1 -1
  637. package/dist/sticky-action.js.map +1 -1
  638. package/dist/stuck.d.ts +1 -1
  639. package/dist/stuck.js +1 -1
  640. package/dist/stuck.js.map +1 -1
  641. package/dist/swipe-deck.d.ts +2 -2
  642. package/dist/swipe-deck.js.map +1 -1
  643. package/dist/switch.d.ts +1 -1
  644. package/dist/switch.js +1 -1
  645. package/dist/tabs.d.ts +6 -6
  646. package/dist/tabs.js +1 -1
  647. package/dist/tabs.js.map +1 -1
  648. package/dist/tag-input.d.ts +1 -1
  649. package/dist/tag-input.js +4 -4
  650. package/dist/tag-input.js.map +1 -1
  651. package/dist/tag-selector.d.ts +1 -1
  652. package/dist/tag-selector.js +3 -3
  653. package/dist/tag-selector.js.map +1 -1
  654. package/dist/taped-photo.d.ts +1 -1
  655. package/dist/taped-photo.js +2 -2
  656. package/dist/terminal-replay.d.ts +1 -1
  657. package/dist/terminal-replay.js +3 -3
  658. package/dist/terminal-replay.js.map +1 -1
  659. package/dist/text-style/server.d.ts +1 -1
  660. package/dist/text-style/server.js.map +1 -1
  661. package/dist/text-style.d.ts +2 -2
  662. package/dist/text-style.js.map +1 -1
  663. package/dist/theme.d.ts +3 -3
  664. package/dist/theme.js +3 -3
  665. package/dist/theme.js.map +1 -1
  666. package/dist/toast.d.ts +1 -1
  667. package/dist/toast.js +2 -2
  668. package/dist/toast.js.map +1 -1
  669. package/dist/toc.d.ts +2 -2
  670. package/dist/toc.js +1 -1
  671. package/dist/toc.js.map +1 -1
  672. package/dist/tooltip.d.ts +1 -1
  673. package/dist/tooltip.js +2 -2
  674. package/dist/tree-view.d.ts +1 -1
  675. package/dist/tree-view.js +2 -2
  676. package/dist/tree-view.js.map +1 -1
  677. package/dist/update-prompt.d.ts +1 -1
  678. package/dist/update-prompt.js +3 -3
  679. package/dist/update-prompt.js.map +1 -1
  680. package/dist/upload-queue.d.ts +2 -2
  681. package/dist/upload-queue.js +1 -1
  682. package/dist/upload-queue.js.map +1 -1
  683. package/dist/usage.d.ts +4 -4
  684. package/dist/usage.js +3 -3
  685. package/dist/usage.js.map +1 -1
  686. package/dist/verified-badge.d.ts +1 -1
  687. package/dist/verified-badge.js.map +1 -1
  688. package/dist/versus-card.d.ts +1 -1
  689. package/dist/versus-card.js +2 -2
  690. package/dist/versus-card.js.map +1 -1
  691. package/dist/vertical-video.d.ts +2 -2
  692. package/dist/vertical-video.js +6 -6
  693. package/dist/vertical-video.js.map +1 -1
  694. package/dist/video-player.d.ts +1 -1
  695. package/dist/video-player.js +5 -5
  696. package/dist/video-trimmer.d.ts +1 -1
  697. package/dist/video-trimmer.js.map +1 -1
  698. package/dist/virtual.d.ts +2 -2
  699. package/dist/virtual.js +1 -1
  700. package/dist/wall.js +2 -2
  701. package/dist/wall.js.map +1 -1
  702. package/dist/waveform.d.ts +1 -1
  703. package/dist/waveform.js.map +1 -1
  704. package/package.json +28 -8
  705. package/registry/account-menu.json +1 -1
  706. package/registry/account-settings.json +18 -18
  707. package/registry/achievement.json +2 -2
  708. package/registry/action-bar.json +4 -4
  709. package/registry/activity-feed.json +3 -3
  710. package/registry/agenda.json +1 -1
  711. package/registry/alert.json +2 -2
  712. package/registry/analysis-report.json +2 -2
  713. package/registry/anatomy-plate.json +2 -2
  714. package/registry/app-frame.json +7 -7
  715. package/registry/app-header.json +5 -5
  716. package/registry/app-shell.json +3 -3
  717. package/registry/architecture-diagram.json +2 -2
  718. package/registry/argument-card.json +4 -4
  719. package/registry/auth-layout.json +2 -2
  720. package/registry/avatar.json +4 -4
  721. package/registry/badge.json +2 -2
  722. package/registry/bird-plate.json +2 -2
  723. package/registry/button.json +6 -2
  724. package/registry/captcha.json +2 -2
  725. package/registry/card-grid.json +2 -2
  726. package/registry/card.json +2 -2
  727. package/registry/catalogue-page.json +2 -2
  728. package/registry/changelog-page.json +3 -3
  729. package/registry/chapter.json +3 -3
  730. package/registry/chat.json +2 -2
  731. package/registry/checkbox.json +2 -2
  732. package/registry/chip-link.json +2 -2
  733. package/registry/chip-row.json +2 -2
  734. package/registry/chip.json +3 -3
  735. package/registry/choice-grid.json +3 -3
  736. package/registry/cn.json +1 -1
  737. package/registry/code-block.json +3 -3
  738. package/registry/collection-switcher.json +3 -3
  739. package/registry/columns.json +2 -2
  740. package/registry/combobox.json +3 -3
  741. package/registry/command.json +2 -2
  742. package/registry/comparison-table.json +2 -2
  743. package/registry/component-page.json +2 -2
  744. package/registry/confirm-button.json +2 -2
  745. package/registry/contact-page.json +2 -2
  746. package/registry/continue-prompt.json +2 -2
  747. package/registry/copy-button.json +3 -3
  748. package/registry/countdown.json +2 -2
  749. package/registry/cover-hero.json +4 -4
  750. package/registry/cta-panel.json +2 -2
  751. package/registry/dashboard-layout.json +3 -3
  752. package/registry/data-table.json +5 -5
  753. package/registry/date-picker.json +9 -9
  754. package/registry/decision-list.json +3 -3
  755. package/registry/description-list.json +2 -2
  756. package/registry/desktop-window.json +1 -1
  757. package/registry/detail-layout.json +2 -2
  758. package/registry/dialog.json +3 -3
  759. package/registry/docs-article-page.json +2 -2
  760. package/registry/docs-hub-page.json +2 -2
  761. package/registry/docs-layout.json +3 -3
  762. package/registry/docs-nav.json +2 -2
  763. package/registry/document-viewer.json +3 -3
  764. package/registry/doodle.json +2 -2
  765. package/registry/drop-overlay.json +2 -2
  766. package/registry/dropdown-menu.json +2 -2
  767. package/registry/elephant.json +1 -1
  768. package/registry/embed-facade.json +1 -1
  769. package/registry/empty-state.json +2 -2
  770. package/registry/engine-flow.json +2 -2
  771. package/registry/entity-header.json +3 -3
  772. package/registry/environment-notice.json +2 -2
  773. package/registry/error-page.json +2 -2
  774. package/registry/examples/platform-bar/demo.d.ts +4 -0
  775. package/registry/examples/platform-bar/demo.js +24 -0
  776. package/registry/examples/platform-bar/demo.tsx +20 -0
  777. package/registry/examples/platform-bar/live.d.ts +4 -0
  778. package/registry/examples/platform-bar/live.js +22 -0
  779. package/registry/examples/platform-bar/live.tsx +22 -0
  780. package/registry/examples/site-footer/hosted.d.ts +4 -0
  781. package/registry/examples/site-footer/hosted.js +25 -0
  782. package/registry/examples/site-footer/hosted.tsx +23 -0
  783. package/registry/field.json +2 -2
  784. package/registry/file-upload.json +3 -3
  785. package/registry/filter-bar.json +5 -5
  786. package/registry/flock.json +2 -2
  787. package/registry/footnote.json +2 -2
  788. package/registry/force-update-screen.json +2 -2
  789. package/registry/form.json +65 -65
  790. package/registry/gallery-page.json +2 -2
  791. package/registry/genui.json +3 -3
  792. package/registry/glossary-term.json +1 -1
  793. package/registry/glossary.json +1 -1
  794. package/registry/glow-card.json +2 -2
  795. package/registry/goal-gauge.json +2 -2
  796. package/registry/grade-stamp.json +2 -2
  797. package/registry/identity-card.json +2 -2
  798. package/registry/image-cropper.json +2 -2
  799. package/registry/index.json +40 -9
  800. package/registry/kanban.json +2 -2
  801. package/registry/kbd.json +2 -2
  802. package/registry/kind-config-editor.json +3 -3
  803. package/registry/kpi-explained.json +2 -2
  804. package/registry/landing-page.json +2 -2
  805. package/registry/landscape.json +2 -2
  806. package/registry/language-switch.json +2 -2
  807. package/registry/legal-page.json +2 -2
  808. package/registry/link-card.json +4 -4
  809. package/registry/list.json +3 -3
  810. package/registry/loader.json +2 -2
  811. package/registry/longform-page.json +2 -2
  812. package/registry/maintenance-screen.json +2 -2
  813. package/registry/map.json +8 -8
  814. package/registry/margin-layout.json +2 -2
  815. package/registry/markdown.json +2 -2
  816. package/registry/marketing-layout.json +2 -2
  817. package/registry/mascot-quote.json +2 -2
  818. package/registry/mascot-state.json +3 -3
  819. package/registry/mascots.json +4 -4
  820. package/registry/match-dialog.json +2 -2
  821. package/registry/media-capture.json +3 -3
  822. package/registry/media-gallery.json +5 -5
  823. package/registry/meter.json +2 -2
  824. package/registry/money-input.json +2 -2
  825. package/registry/nav-bar.json +9 -9
  826. package/registry/next-actions.json +1 -1
  827. package/registry/notification-preferences.json +1 -1
  828. package/registry/number-ticker.json +2 -2
  829. package/registry/opening-hours.json +3 -3
  830. package/registry/page-header.json +2 -2
  831. package/registry/page-hero.json +4 -4
  832. package/registry/page-index.json +3 -3
  833. package/registry/page.json +2 -2
  834. package/registry/pagination.json +3 -3
  835. package/registry/platform-bar.json +179 -0
  836. package/registry/pointer-light.json +2 -2
  837. package/registry/popover.json +2 -2
  838. package/registry/price-catalogue-editor.json +2 -2
  839. package/registry/pricing-page.json +3 -3
  840. package/registry/product-page.json +2 -2
  841. package/registry/profile-card.json +4 -4
  842. package/registry/progress.json +2 -2
  843. package/registry/promise-card.json +2 -2
  844. package/registry/promo-code-field.json +1 -1
  845. package/registry/proposal.json +1 -1
  846. package/registry/qr-code.json +3 -3
  847. package/registry/quota-meter.json +2 -2
  848. package/registry/radio-group.json +15 -15
  849. package/registry/rail-nav.json +9 -9
  850. package/registry/recipes.json +2 -2
  851. package/registry/retro-tv.json +4 -4
  852. package/registry/reviews.json +1 -1
  853. package/registry/router.json +1 -1
  854. package/registry/schema-form.json +2 -2
  855. package/registry/scroll-stage.json +2 -2
  856. package/registry/search-field.json +3 -3
  857. package/registry/section-backdrop.json +2 -2
  858. package/registry/separator.json +2 -2
  859. package/registry/service-card.json +4 -4
  860. package/registry/settings-layout.json +2 -2
  861. package/registry/shop-composer.json +4 -4
  862. package/registry/shop-gallery.json +2 -2
  863. package/registry/shop.json +18 -18
  864. package/registry/showcase.json +2 -2
  865. package/registry/signature.json +2 -2
  866. package/registry/site-cahier.json +3 -3
  867. package/registry/site-footer.json +57 -20
  868. package/registry/sites.json +1 -1
  869. package/registry/skeleton.json +2 -2
  870. package/registry/skip-link.json +2 -2
  871. package/registry/slider.json +2 -2
  872. package/registry/slot-picker.json +3 -3
  873. package/registry/slot.json +1 -1
  874. package/registry/specimen-tag.json +2 -2
  875. package/registry/speed-lines.json +2 -2
  876. package/registry/spinner.json +3 -3
  877. package/registry/split-view.json +2 -2
  878. package/registry/stage-banner.json +2 -2
  879. package/registry/stat.json +2 -2
  880. package/registry/status-chip.json +3 -3
  881. package/registry/status-page.json +2 -2
  882. package/registry/step-progress.json +2 -2
  883. package/registry/step-showcase.json +3 -3
  884. package/registry/stepper.json +2 -2
  885. package/registry/sticky-action.json +2 -2
  886. package/registry/stuck.json +2 -2
  887. package/registry/swipe-deck.json +2 -2
  888. package/registry/switch.json +2 -2
  889. package/registry/tabs.json +2 -2
  890. package/registry/tag-input.json +2 -2
  891. package/registry/tag-selector.json +2 -2
  892. package/registry/taped-photo.json +2 -2
  893. package/registry/terminal-replay.json +3 -3
  894. package/registry/text-style.json +9 -9
  895. package/registry/theme.json +2 -2
  896. package/registry/toast.json +2 -2
  897. package/registry/toc.json +2 -2
  898. package/registry/tooltip.json +2 -2
  899. package/registry/tree-view.json +3 -3
  900. package/registry/update-prompt.json +2 -2
  901. package/registry/upload-queue.json +2 -2
  902. package/registry/usage.json +3 -3
  903. package/registry/verified-badge.json +2 -2
  904. package/registry/versus-card.json +2 -2
  905. package/registry/vertical-video.json +3 -3
  906. package/registry/video-player.json +3 -3
  907. package/registry/video-trimmer.json +2 -2
  908. package/registry/virtual.json +4 -4
  909. package/registry/wall.json +2 -2
  910. package/registry/waveform.json +2 -2
  911. package/dist/chunk-2FCQCWIK.js.map +0 -1
  912. package/dist/chunk-43PTCDTL.js.map +0 -1
  913. package/dist/chunk-5D7NMUF6.js.map +0 -1
  914. package/dist/chunk-5PFCELGW.js.map +0 -1
  915. package/dist/chunk-5RWHDX5J.js.map +0 -1
  916. package/dist/chunk-5VZ37TY3.js.map +0 -1
  917. package/dist/chunk-757ZTGU5.js.map +0 -1
  918. package/dist/chunk-7DYZTEE3.js.map +0 -1
  919. package/dist/chunk-7P7I5OQV.js.map +0 -1
  920. package/dist/chunk-B47WSPMP.js.map +0 -1
  921. package/dist/chunk-C57KK5VB.js.map +0 -1
  922. package/dist/chunk-EB45EVPJ.js.map +0 -1
  923. package/dist/chunk-EDQLPCM4.js.map +0 -1
  924. package/dist/chunk-GHAN7OOE.js.map +0 -1
  925. package/dist/chunk-HLEBSAGC.js.map +0 -1
  926. package/dist/chunk-HP7BDMVK.js.map +0 -1
  927. package/dist/chunk-KH3JOEPY.js.map +0 -1
  928. package/dist/chunk-KR2W4ONJ.js.map +0 -1
  929. package/dist/chunk-LH5J3VLZ.js.map +0 -1
  930. package/dist/chunk-LNAAWT4Y.js.map +0 -1
  931. package/dist/chunk-MDSP7DJR.js.map +0 -1
  932. package/dist/chunk-NG6G6V5E.js.map +0 -1
  933. package/dist/chunk-NM2DEHFZ.js.map +0 -1
  934. package/dist/chunk-NPMGYLJV.js.map +0 -1
  935. package/dist/chunk-NQENOT6L.js.map +0 -1
  936. package/dist/chunk-NSLXEDIS.js.map +0 -1
  937. package/dist/chunk-OGWB76BR.js.map +0 -1
  938. package/dist/chunk-P7AFIKWG.js.map +0 -1
  939. package/dist/chunk-PGBF3UBX.js.map +0 -1
  940. package/dist/chunk-QA3WETWT.js.map +0 -1
  941. package/dist/chunk-QD6SNXF5.js.map +0 -1
  942. package/dist/chunk-QHVV2JGF.js.map +0 -1
  943. package/dist/chunk-QVHSV6RA.js.map +0 -1
  944. package/dist/chunk-S2O4NSN5.js.map +0 -1
  945. package/dist/chunk-S4TLZRGZ.js.map +0 -1
  946. package/dist/chunk-S6NYGOJT.js.map +0 -1
  947. package/dist/chunk-SB5WSVPI.js.map +0 -1
  948. package/dist/chunk-SG2RKUVJ.js.map +0 -1
  949. package/dist/chunk-V5RO6JYI.js.map +0 -1
  950. package/dist/chunk-V7W4RLRW.js.map +0 -1
  951. package/dist/chunk-VA4NPCUQ.js.map +0 -1
  952. package/dist/chunk-VPO27AFS.js.map +0 -1
  953. package/dist/chunk-W64RAX4N.js.map +0 -1
  954. package/dist/chunk-W675RFOA.js.map +0 -1
  955. package/dist/chunk-WC3SO4CE.js.map +0 -1
  956. package/dist/chunk-WEVYKZIF.js.map +0 -1
  957. package/dist/chunk-WU4VLSEA.js.map +0 -1
  958. package/dist/chunk-Y3P5B4XS.js.map +0 -1
  959. package/dist/chunk-YTYNKMNS.js.map +0 -1
  960. package/dist/chunk-Z47KIPCT.js.map +0 -1
  961. package/dist/chunk-ZPOVOEO3.js.map +0 -1
  962. package/dist/player-lightbox-BYQ57OXT.js.map +0 -1
  963. /package/dist/{chunk-HJFRHYCI.js.map → chunk-DTGRZXYO.js.map} +0 -0
  964. /package/dist/{chunk-PJNR4NTS.js.map → chunk-HC2TY45B.js.map} +0 -0
  965. /package/dist/{lightbox-MRB2YZEP.js.map → lightbox-JLWASIJC.js.map} +0 -0
@@ -508,15 +508,15 @@
508
508
  "files": [
509
509
  {
510
510
  "path": "block-link.tsx",
511
- "content": "// The links of the page blocks (PageHero's back link, LinkCard, ArgumentCard, ActionBar): an internal path renders\n// through the app's router link (`linkAs`, e.g. Next's `Link`), anything else is an `<a>` that opens in a new tab.\n// Shared by the block entries; never exported on its own.\nimport type * as React from \"react\";\n\n/** The app's link component (Next's `Link`, React Router's `Link`…): receives `href`, `className` and the children. */\nexport type LinkComponent = React.ElementType<{ href: string; className?: string; children?: React.ReactNode; \"aria-label\"?: string; \"aria-describedby\"?: string }>;\n\n/** An address that leaves the app: an absolute URL or a protocol (`mailto:`). */\nexport const isExternal = (href: string) => /^[a-z][a-z0-9+.-]*:/i.test(href);\n\nexport function BlockLink({\n href,\n linkAs: Link = \"a\",\n external = isExternal(href),\n rel,\n ...props\n}: Omit<React.ComponentProps<\"a\">, \"href\"> & { href: string; linkAs?: LinkComponent; external?: boolean }) {\n if (external) return <a href={href} target=\"_blank\" rel={rel ?? \"noopener noreferrer\"} {...props} />;\n const Comp = Link as React.ElementType;\n return <Comp href={href} rel={rel} {...props} />;\n}\n"
511
+ "content": "// The links of the page blocks (PageHero's back link, LinkCard, ArgumentCard, ActionBar): an internal path renders\n// through the app's router link (`linkAs`, e.g. Next's `Link`), anything else is an `<a>` that opens in a new tab.\n// Shared by the block entries; never exported on its own.\nimport type * as React from \"react\";\n\n/** The app's link component (Next's `Link`, React Router's `Link`…): receives `href`, `className` and the children. */\nexport type LinkComponent = React.ElementType<{ href: string; className?: string; children?: React.ReactNode; \"aria-label\"?: string; \"aria-describedby\"?: string }>;\n\n/** An address that leaves the app: an absolute URL or a protocol (`mailto:`). */\nexport const isExternal = (href: string) => /^[a-z][a-z0-9+.-]*:/i.test(href);\n\nexport function BlockLink({\n href,\n linkAs: Link = \"a\",\n external = isExternal(href),\n rel,\n ...props\n}: Readonly<Omit<React.ComponentProps<\"a\">, \"href\"> & { href: string; linkAs?: LinkComponent; external?: boolean }>) {\n if (external) return <a href={href} target=\"_blank\" rel={rel ?? \"noopener noreferrer\"} {...props} />;\n const Comp = Link as React.ElementType;\n return <Comp href={href} rel={rel} {...props} />;\n}\n"
512
512
  },
513
513
  {
514
514
  "path": "meta.ts",
515
- "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 | \"architecture-diagram\"\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 | \"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 | \"columns\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"copy-button\"\n | \"money-input\"\n | \"price-catalogue-editor\"\n | \"promo-code-field\"\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 | \"image-cropper\"\n | \"image-viewer\"\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 | \"waveform\"\n | \"proposal\"\n | \"qr-code\"\n | \"identity-card\"\n | \"entity-header\"\n | \"collection-switcher\"\n | \"marketing-layout\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\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 | \"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 | \"shop-gallery\"\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 | \"schema-form\"\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 Sovkora 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 * `experimental`: created for a filed need (ADR-008 §4), it may change or go in any minor until its first consumer imports it; `adoption`\n * names that consumer's issue. `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 = \"experimental\" | \"stable\" | \"beta\" | \"deprecated\";\n\n/**\n * What a component is for (ADR-008 §3): the thirteen domains the documentation, the size budgets and the guards are\n * organised by. The domain is metadata: the entries stay flat (`@krizaka/ui/<name>`). `cahier` is the sites' register\n * (ADR-004): a product never imports it.\n */\nexport type Domain =\n | \"foundations\"\n | \"forms\"\n | \"data-display\"\n | \"navigation-shell\"\n | \"feedback\"\n | \"maps\"\n | \"media\"\n | \"commerce\"\n | \"identity\"\n | \"abuse\"\n | \"conversation\"\n | \"page-blocks\"\n | \"cahier\";\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 /** What it is for: one of the twelve domains (ADR-008 §3). */\n readonly domain: Domain;\n /** The `<repo>#<n>` issue of its first consumer: required for, and only for, an `experimental` component. */\n readonly adoption?: string;\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"
515
+ "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 | \"platform-bar\"\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 | \"architecture-diagram\"\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 | \"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 | \"columns\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"copy-button\"\n | \"money-input\"\n | \"price-catalogue-editor\"\n | \"promo-code-field\"\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 | \"image-cropper\"\n | \"image-viewer\"\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 | \"waveform\"\n | \"proposal\"\n | \"qr-code\"\n | \"identity-card\"\n | \"entity-header\"\n | \"collection-switcher\"\n | \"marketing-layout\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\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 | \"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 | \"shop-gallery\"\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 | \"schema-form\"\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 Sovkora 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 * `experimental`: created for a filed need (ADR-008 §4), it may change or go in any minor until its first consumer imports it; `adoption`\n * names that consumer's issue. `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 = \"experimental\" | \"stable\" | \"beta\" | \"deprecated\";\n\n/**\n * What a component is for (ADR-008 §3): the thirteen domains the documentation, the size budgets and the guards are\n * organised by. The domain is metadata: the entries stay flat (`@krizaka/ui/<name>`). `cahier` is the sites' register\n * (ADR-004): a product never imports it.\n */\nexport type Domain =\n | \"foundations\"\n | \"forms\"\n | \"data-display\"\n | \"navigation-shell\"\n | \"feedback\"\n | \"maps\"\n | \"media\"\n | \"commerce\"\n | \"identity\"\n | \"abuse\"\n | \"conversation\"\n | \"page-blocks\"\n | \"cahier\";\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 /** What it is for: one of the twelve domains (ADR-008 §3). */\n readonly domain: Domain;\n /** The `<repo>#<n>` issue of its first consumer: required for, and only for, an `experimental` component. */\n readonly adoption?: string;\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"
516
516
  },
517
517
  {
518
518
  "path": "shop/booking/booking.tsx",
519
- "content": "// Server-safe (the phone bar is a client island imported through its own entry). The way to book (ADR-007 §3): `strip` —\n// the next free times, one tap each, in one line; `panel` — the closing call in a box; `closing` — the closing call of a look (the shop's photo or mark, the next free time, Book); `sticky` — the phone bar, held at the bottom\n// edge and never over content. The times are resolved by the product: the section draws them, it never fetches.\nimport { buttonVariants } from \"@krizaka/ui/button\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { StickyAction } from \"@krizaka/ui/sticky-action\";\nimport * as React from \"react\";\n\nimport { BlockLink, type LinkComponent } from \"../../block-link\";\nimport { cn } from \"../../cn\";\nimport { Page } from \"../../page/page\";\nimport { type ShopPhoto, ShopSection, type ShopSectionProps } from \"../frame\";\nimport { Photo } from \"../photo\";\n\nexport type BookingVariant = \"strip\" | \"panel\" | \"closing\" | \"sticky\";\n\n/** `closing`: the second action beside « Book » (`Call`, `Directions`): the host chooses it from the shop's settings. */\nexport type BookingSecondary = { label: string; href: string };\n\nexport type BookingTime = {\n id: string;\n /** In words, formatted by the app (`Today 4:30 pm`). */\n label: string;\n /** The booking page with this time chosen. */\n href: string;\n};\n\nexport type BookingSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"strip\" */\n variant?: BookingVariant;\n /** `strip`: the next free times, in order (the first `count`). */\n times?: readonly BookingTime[];\n /** `strip`: the group's name (`Next free times`). */\n label: string;\n /** `strip`: said when no time is free. */\n emptyLabel?: string;\n /** The booking page (`All times →`, `Book`). */\n href: string;\n /** The words of that link / button. */\n actionLabel: string;\n /** `panel`: the invitation (`Ready when you are`), and why. */\n title?: React.ReactNode;\n body?: React.ReactNode;\n /** `closing`: the shop's photo, one the page does not already show (the host plans it). Wins over `mark`. */\n photo?: ShopPhoto;\n /** `closing`: the shop's mark, when there is no photo. Decorative (hidden from assistive technology). */\n mark?: React.ReactNode;\n /**\n * `closing`: the next free time (`Tomorrow 9 am`). On a closed day it is the next opening's. Absent, the call is the\n * title and the primary action alone: never an empty box.\n */\n nextTime?: BookingTime;\n /** `closing`: the words before the time (`Next free time`). */\n nextTimeLabel?: string;\n /** `closing`: « Call » or « Directions ». */\n secondary?: BookingSecondary;\n linkAs?: LinkComponent;\n /** `sticky`: the selector of the page's own action (`#hero-book`): while it is on screen the bar hides. */\n hideWhileVisible?: string;\n};\n\ntype ClosingCallProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> &\n Pick<BookingSectionProps, \"body\" | \"photo\" | \"mark\" | \"nextTime\" | \"nextTimeLabel\" | \"secondary\" | \"href\" | \"actionLabel\" | \"linkAs\"> & { title: React.ReactNode };\n\n/** The photo, or the mark when there is none, or nothing: the call then reads on one column. */\nfunction ClosingMedia({ photo, mark }: Readonly<Pick<BookingSectionProps, \"photo\" | \"mark\">>) {\n if (photo) return <Photo photo={photo} ratio=\"4/3\" sizes=\"(min-width: 64rem) 36rem, calc(100vw - 2rem)\" />;\n if (!mark) return null;\n return (\n <div aria-hidden className=\"grid aspect-[4/3] w-full place-items-center overflow-hidden rounded-xl bg-accent-soft text-fg-accent [&>svg]:h-1/2 [&>svg]:w-auto\">\n {mark}\n </div>\n );\n}\n\nfunction ClosingCall({ title, body, photo, mark, nextTime, nextTimeLabel, secondary, href, actionLabel, linkAs, className, ...props }: ClosingCallProps) {\n const headingId = React.useId();\n const hasMedia = Boolean(photo ?? mark);\n return (\n <ShopSection aria-labelledby={headingId} data-variant=\"closing\" bleed className={className} {...props}>\n <Page>\n <div className={cn(\"grid items-center gap-6 rounded-2xl bg-surface-1 p-4 sm:p-6 lg:gap-10 lg:p-8\", hasMedia && \"lg:grid-cols-[minmax(0,5fr)_minmax(0,6fr)]\")}>\n <ClosingMedia photo={photo} mark={mark} />\n <div className=\"flex min-w-0 flex-col items-start gap-4\">\n <h2 id={headingId} className=\"m-0 text-2xl font-bold leading-tight text-fg sm:text-3xl\">\n {title}\n </h2>\n {body ? <p className=\"m-0 max-w-prose text-[15px] leading-relaxed text-fg-secondary\">{body}</p> : null}\n {nextTime ? (\n <p className=\"m-0 flex flex-wrap items-center gap-2 text-sm text-fg-secondary\">\n {nextTimeLabel ? <span>{nextTimeLabel}</span> : null}\n <BlockLink href={nextTime.href} linkAs={linkAs} className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-2 px-3 text-sm font-semibold tabular-nums text-fg no-underline hover:border-accent hover:bg-accent-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {nextTime.label}\n </BlockLink>\n </p>\n ) : null}\n <div className=\"flex flex-wrap items-center gap-3\">\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size: \"lg\" }), \"no-underline\")}>\n {actionLabel}\n </BlockLink>\n {secondary ? (\n <BlockLink href={secondary.href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"secondary\", size: \"lg\" }), \"no-underline\")}>\n {secondary.label}\n </BlockLink>\n ) : null}\n </div>\n </div>\n </div>\n </Page>\n </ShopSection>\n );\n}\n\n/** The way to book: the next free times, a closing call, or the phone bar. */\nexport function BookingSection({ variant = \"strip\", times = [], label, emptyLabel, href, actionLabel, title, body, linkAs, hideWhileVisible, photo, mark, nextTime, nextTimeLabel, secondary, className, ...props }: BookingSectionProps) {\n const action = (size: \"md\" | \"lg\") => (\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size }), \"no-underline\")}>\n {actionLabel}\n </BlockLink>\n );\n if (variant === \"sticky\") {\n return (\n <StickyAction hideWhileVisible={hideWhileVisible} data-variant=\"sticky\" className={className} {...(props as object)}>\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size: \"lg\" }), \"w-full justify-center no-underline\")}>\n {actionLabel}\n </BlockLink>\n </StickyAction>\n );\n }\n if (variant === \"closing\") {\n return <ClosingCall title={title ?? label} body={body} photo={photo} mark={mark} nextTime={nextTime} nextTimeLabel={nextTimeLabel} secondary={secondary} href={href} actionLabel={actionLabel} linkAs={linkAs} className={className} {...props} />;\n }\n if (variant === \"panel\") {\n return (\n <ShopSection aria-label={typeof title === \"string\" ? title : label} data-variant=\"panel\" className={className} {...props}>\n <CtaPanel title={title ?? label} body={body}>\n {action(\"lg\")}\n </CtaPanel>\n </ShopSection>\n );\n }\n return (\n <ShopSection aria-label={label} data-variant=\"strip\" className={className} {...props}>\n <div className=\"flex flex-wrap items-center gap-x-3 gap-y-2 rounded-xl border border-border-default bg-surface-1 p-3 sm:px-4\">\n <p className=\"m-0 order-1 text-sm font-semibold text-fg\">{label}</p>\n {times.length > 0 ? (\n <ul className=\"m-0 order-3 grid w-full list-none grid-cols-2 gap-2 p-0 sm:order-2 sm:flex sm:w-auto sm:min-w-0 sm:flex-1 sm:flex-wrap\">\n {times.map((t) => (\n <li key={t.id}>\n <BlockLink href={t.href} linkAs={linkAs} className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-2 px-3 text-[13px] font-semibold tabular-nums text-fg no-underline hover:border-accent hover:bg-accent-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {t.label}\n </BlockLink>\n </li>\n ))}\n </ul>\n ) : (\n <p className=\"m-0 order-3 w-full text-sm text-fg-secondary sm:order-2 sm:w-auto sm:flex-1\">{emptyLabel}</p>\n )}\n <BlockLink href={href} linkAs={linkAs} className=\"order-2 ml-auto inline-flex min-h-11 items-center gap-1 text-[13px] sm:order-3 font-semibold text-fg-accent no-underline hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {actionLabel} <span aria-hidden>→</span>\n </BlockLink>\n </div>\n </ShopSection>\n );\n}\n"
519
+ "content": "// Server-safe (the phone bar is a client island imported through its own entry). The way to book (ADR-007 §3): `strip` —\n// the next free times, one tap each, in one line; `panel` — the closing call in a box; `closing` — the closing call of a look (the shop's photo or mark, the next free time, Book); `sticky` — the phone bar, held at the bottom\n// edge and never over content. The times are resolved by the product: the section draws them, it never fetches.\nimport { buttonVariants } from \"@krizaka/ui/button\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { StickyAction } from \"@krizaka/ui/sticky-action\";\nimport * as React from \"react\";\n\nimport { BlockLink, type LinkComponent } from \"../../block-link\";\nimport { cn } from \"../../cn\";\nimport { Page } from \"../../page/page\";\nimport { type ShopPhoto, ShopSection, type ShopSectionProps } from \"../frame\";\nimport { Photo } from \"../photo\";\n\nexport type BookingVariant = \"strip\" | \"panel\" | \"closing\" | \"sticky\";\n\n/** `closing`: the second action beside « Book » (`Call`, `Directions`): the host chooses it from the shop's settings. */\nexport type BookingSecondary = { label: string; href: string };\n\nexport type BookingTime = {\n id: string;\n /** In words, formatted by the app (`Today 4:30 pm`). */\n label: string;\n /** The booking page with this time chosen. */\n href: string;\n};\n\nexport type BookingSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"strip\" */\n variant?: BookingVariant;\n /** `strip`: the next free times, in order (the first `count`). */\n times?: readonly BookingTime[];\n /** `strip`: the group's name (`Next free times`). */\n label: string;\n /** `strip`: said when no time is free. */\n emptyLabel?: string;\n /** The booking page (`All times →`, `Book`). */\n href: string;\n /** The words of that link / button. */\n actionLabel: string;\n /** `panel`: the invitation (`Ready when you are`), and why. */\n title?: React.ReactNode;\n body?: React.ReactNode;\n /** `closing`: the shop's photo, one the page does not already show (the host plans it). Wins over `mark`. */\n photo?: ShopPhoto;\n /** `closing`: the shop's mark, when there is no photo. Decorative (hidden from assistive technology). */\n mark?: React.ReactNode;\n /**\n * `closing`: the next free time (`Tomorrow 9 am`). On a closed day it is the next opening's. Absent, the call is the\n * title and the primary action alone: never an empty box.\n */\n nextTime?: BookingTime;\n /** `closing`: the words before the time (`Next free time`). */\n nextTimeLabel?: string;\n /** `closing`: « Call » or « Directions ». */\n secondary?: BookingSecondary;\n linkAs?: LinkComponent;\n /** `sticky`: the selector of the page's own action (`#hero-book`): while it is on screen the bar hides. */\n hideWhileVisible?: string;\n};\n\ntype ClosingCallProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> &\n Pick<BookingSectionProps, \"body\" | \"photo\" | \"mark\" | \"nextTime\" | \"nextTimeLabel\" | \"secondary\" | \"href\" | \"actionLabel\" | \"linkAs\"> & { title: React.ReactNode };\n\n/** The photo, or the mark when there is none, or nothing: the call then reads on one column. */\nfunction ClosingMedia({ photo, mark }: Readonly<Pick<BookingSectionProps, \"photo\" | \"mark\">>) {\n if (photo) return <Photo photo={photo} ratio=\"4/3\" sizes=\"(min-width: 64rem) 36rem, calc(100vw - 2rem)\" />;\n if (!mark) return null;\n return (\n <div aria-hidden className=\"grid aspect-[4/3] w-full place-items-center overflow-hidden rounded-xl bg-accent-soft text-fg-accent [&>svg]:h-1/2 [&>svg]:w-auto\">\n {mark}\n </div>\n );\n}\n\nfunction ClosingCall({ title, body, photo, mark, nextTime, nextTimeLabel, secondary, href, actionLabel, linkAs, className, ...props }: Readonly<ClosingCallProps>) {\n const headingId = React.useId();\n const hasMedia = Boolean(photo ?? mark);\n return (\n <ShopSection aria-labelledby={headingId} data-variant=\"closing\" bleed className={className} {...props}>\n <Page>\n <div className={cn(\"grid items-center gap-6 rounded-2xl bg-surface-1 p-4 sm:p-6 lg:gap-10 lg:p-8\", hasMedia && \"lg:grid-cols-[minmax(0,5fr)_minmax(0,6fr)]\")}>\n <ClosingMedia photo={photo} mark={mark} />\n <div className=\"flex min-w-0 flex-col items-start gap-4\">\n <h2 id={headingId} className=\"m-0 text-2xl font-bold leading-tight text-fg sm:text-3xl\">\n {title}\n </h2>\n {body ? <p className=\"m-0 max-w-prose text-[15px] leading-relaxed text-fg-secondary\">{body}</p> : null}\n {nextTime ? (\n <p className=\"m-0 flex flex-wrap items-center gap-2 text-sm text-fg-secondary\">\n {nextTimeLabel ? <span>{nextTimeLabel}</span> : null}\n <BlockLink href={nextTime.href} linkAs={linkAs} className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-2 px-3 text-sm font-semibold tabular-nums text-fg no-underline hover:border-accent hover:bg-accent-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {nextTime.label}\n </BlockLink>\n </p>\n ) : null}\n <div className=\"flex flex-wrap items-center gap-3\">\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size: \"lg\" }), \"no-underline\")}>\n {actionLabel}\n </BlockLink>\n {secondary ? (\n <BlockLink href={secondary.href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"secondary\", size: \"lg\" }), \"no-underline\")}>\n {secondary.label}\n </BlockLink>\n ) : null}\n </div>\n </div>\n </div>\n </Page>\n </ShopSection>\n );\n}\n\n/** The way to book: the next free times, a closing call, or the phone bar. */\nexport function BookingSection({ variant = \"strip\", times = [], label, emptyLabel, href, actionLabel, title, body, linkAs, hideWhileVisible, photo, mark, nextTime, nextTimeLabel, secondary, className, ...props }: Readonly<BookingSectionProps>) {\n const action = (size: \"md\" | \"lg\") => (\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size }), \"no-underline\")}>\n {actionLabel}\n </BlockLink>\n );\n if (variant === \"sticky\") {\n return (\n <StickyAction hideWhileVisible={hideWhileVisible} data-variant=\"sticky\" className={className} {...(props as object)}>\n <BlockLink href={href} linkAs={linkAs} className={cn(buttonVariants({ variant: \"primary\", size: \"lg\" }), \"w-full justify-center no-underline\")}>\n {actionLabel}\n </BlockLink>\n </StickyAction>\n );\n }\n if (variant === \"closing\") {\n return <ClosingCall title={title ?? label} body={body} photo={photo} mark={mark} nextTime={nextTime} nextTimeLabel={nextTimeLabel} secondary={secondary} href={href} actionLabel={actionLabel} linkAs={linkAs} className={className} {...props} />;\n }\n if (variant === \"panel\") {\n return (\n <ShopSection aria-label={typeof title === \"string\" ? title : label} data-variant=\"panel\" className={className} {...props}>\n <CtaPanel title={title ?? label} body={body}>\n {action(\"lg\")}\n </CtaPanel>\n </ShopSection>\n );\n }\n return (\n <ShopSection aria-label={label} data-variant=\"strip\" className={className} {...props}>\n <div className=\"flex flex-wrap items-center gap-x-3 gap-y-2 rounded-xl border border-border-default bg-surface-1 p-3 sm:px-4\">\n <p className=\"m-0 order-1 text-sm font-semibold text-fg\">{label}</p>\n {times.length > 0 ? (\n <ul className=\"m-0 order-3 grid w-full list-none grid-cols-2 gap-2 p-0 sm:order-2 sm:flex sm:w-auto sm:min-w-0 sm:flex-1 sm:flex-wrap\">\n {times.map((t) => (\n <li key={t.id}>\n <BlockLink href={t.href} linkAs={linkAs} className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-2 px-3 text-[13px] font-semibold tabular-nums text-fg no-underline hover:border-accent hover:bg-accent-soft focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {t.label}\n </BlockLink>\n </li>\n ))}\n </ul>\n ) : (\n <p className=\"m-0 order-3 w-full text-sm text-fg-secondary sm:order-2 sm:w-auto sm:flex-1\">{emptyLabel}</p>\n )}\n <BlockLink href={href} linkAs={linkAs} className=\"order-2 ml-auto inline-flex min-h-11 items-center gap-1 text-[13px] sm:order-3 font-semibold text-fg-accent no-underline hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\">\n {actionLabel} <span aria-hidden>→</span>\n </BlockLink>\n </div>\n </ShopSection>\n );\n}\n"
520
520
  },
521
521
  {
522
522
  "path": "shop/booking/index.ts",
@@ -524,7 +524,7 @@
524
524
  },
525
525
  {
526
526
  "path": "shop/bulletin/bulletin.tsx",
527
- "content": "// Server-safe (the pinned notes are the wall's, a client island imported through its own entry). The owner's news\n// (ADR-007 §3): `board` — up to three pinned notes, newest first, each taken down after its last day; `banner` — one line of\n// text above the hero (never an image: the first screen's LCP stays the hero's). The clock is the host's: `today` arrives as a\n// day, the section never reads the time.\nimport { PinnedNote } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\n\nexport type BulletinVariant = \"board\" | \"banner\";\n\nexport type ShopFlyer = {\n id: string;\n /** At most 140 characters. */\n text: string;\n signature?: string;\n /** The last day it is shown (`2026-11-03`, inclusive); absent: until the owner takes it down. */\n until?: string;\n};\n\nexport type BulletinSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"board\" */\n variant?: BulletinVariant;\n /** The flyers, newest first. */\n flyers: readonly ShopFlyer[];\n /** Today, in the shop's time zone (`2026-10-27`). */\n today: string;\n /** `board`: the section's title (`News`). `banner`: its accessible name. */\n title: string;\n};\n\n/** The flyers still up on a given day, newest first, at most three. */\nexport function liveFlyers(flyers: readonly ShopFlyer[], today: string): ShopFlyer[] {\n return flyers.filter((f) => !f.until || f.until >= today).slice(0, SHOP_LIMITS.flyers);\n}\n\n/** The owner's news: pinned notes, or one line above the hero. */\nexport function BulletinSection({ variant = \"board\", flyers, today, title, className, ...props }: BulletinSectionProps) {\n const live = liveFlyers(flyers, today);\n if (live.length === 0) return null;\n if (variant === \"banner\") {\n return (\n <aside aria-label={title} data-variant=\"banner\" className={cn(\"border-b border-border-subtle bg-accent-soft\", className)}>\n <p className=\"m-0 mx-auto max-w-6xl px-4 py-2 text-center text-[13px] font-medium text-fg\">{live[0]!.text}</p>\n </aside>\n );\n }\n return (\n <ShopSection title={title} className={className} data-variant=\"board\" {...props}>\n <ul className=\"m-0 grid list-none gap-4 p-0 sm:grid-cols-2 lg:grid-cols-3\">\n {live.map((f, i) => (\n <li key={f.id}>\n <PinnedNote text={f.text} signature={f.signature} rotation={[-1.2, 1, -0.6][i % 3]} hold={i % 2 === 0 ? \"tape\" : \"pin\"} lines={3} />\n </li>\n ))}\n </ul>\n </ShopSection>\n );\n}\n"
527
+ "content": "// Server-safe (the pinned notes are the wall's, a client island imported through its own entry). The owner's news\n// (ADR-007 §3): `board` — up to three pinned notes, newest first, each taken down after its last day; `banner` — one line of\n// text above the hero (never an image: the first screen's LCP stays the hero's). The clock is the host's: `today` arrives as a\n// day, the section never reads the time.\nimport { PinnedNote } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\n\nexport type BulletinVariant = \"board\" | \"banner\";\n\nexport type ShopFlyer = {\n id: string;\n /** At most 140 characters. */\n text: string;\n signature?: string;\n /** The last day it is shown (`2026-11-03`, inclusive); absent: until the owner takes it down. */\n until?: string;\n};\n\nexport type BulletinSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"board\" */\n variant?: BulletinVariant;\n /** The flyers, newest first. */\n flyers: readonly ShopFlyer[];\n /** Today, in the shop's time zone (`2026-10-27`). */\n today: string;\n /** `board`: the section's title (`News`). `banner`: its accessible name. */\n title: string;\n};\n\n/** The flyers still up on a given day, newest first, at most three. */\nexport function liveFlyers(flyers: readonly ShopFlyer[], today: string): ShopFlyer[] {\n return flyers.filter((f) => !f.until || f.until >= today).slice(0, SHOP_LIMITS.flyers);\n}\n\n/** The owner's news: pinned notes, or one line above the hero. */\nexport function BulletinSection({ variant = \"board\", flyers, today, title, className, ...props }: Readonly<BulletinSectionProps>) {\n const live = liveFlyers(flyers, today);\n if (live.length === 0) return null;\n if (variant === \"banner\") {\n return (\n <aside aria-label={title} data-variant=\"banner\" className={cn(\"border-b border-border-subtle bg-accent-soft\", className)}>\n <p className=\"m-0 mx-auto max-w-6xl px-4 py-2 text-center text-[13px] font-medium text-fg\">{live[0]!.text}</p>\n </aside>\n );\n }\n return (\n <ShopSection title={title} className={className} data-variant=\"board\" {...props}>\n <ul className=\"m-0 grid list-none gap-4 p-0 sm:grid-cols-2 lg:grid-cols-3\">\n {live.map((f, i) => (\n <li key={f.id}>\n <PinnedNote text={f.text} signature={f.signature} rotation={[-1.2, 1, -0.6][i % 3]} hold={i % 2 === 0 ? \"tape\" : \"pin\"} lines={3} />\n </li>\n ))}\n </ul>\n </ShopSection>\n );\n}\n"
528
528
  },
529
529
  {
530
530
  "path": "shop/bulletin/index.ts",
@@ -548,7 +548,7 @@
548
548
  },
549
549
  {
550
550
  "path": "shop/faq/faq.tsx",
551
- "content": "// Server-safe. The questions clients ask (ADR-007 §3): a native `details` each — no script — and the page's FAQPage\n// JSON-LD, so a search engine reads the same answers.\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ShopQuestion = { id: string; question: string; answer: string };\n\nexport type FaqSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"list\" */\n variant?: \"list\";\n title: React.ReactNode;\n questions: readonly ShopQuestion[];\n};\n\n/** The FAQPage structured data of a list of questions, as a JSON string safe inside a `script`. */\nexport function faqJsonLd(questions: readonly ShopQuestion[]): string {\n const data = {\n \"@context\": \"https://schema.org\",\n \"@type\": \"FAQPage\",\n mainEntity: questions.map((q) => ({ \"@type\": \"Question\", name: q.question, acceptedAnswer: { \"@type\": \"Answer\", text: q.answer } })),\n };\n return JSON.stringify(data).replace(/</g, \"\\\\u003c\");\n}\n\n/** The questions and their answers. */\nexport function FaqSection({ title, questions, className, ...props }: FaqSectionProps) {\n if (questions.length === 0) return null;\n return (\n <ShopSection title={title} className={className} data-variant=\"list\" {...props}>\n <div className=\"max-w-3xl divide-y divide-border-subtle border-y border-border-subtle\">\n {questions.map((q) => (\n <details key={q.id} className=\"group py-3\">\n <summary className=\"flex min-h-11 cursor-pointer list-none items-center justify-between gap-4 font-semibold text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring [&::-webkit-details-marker]:hidden\">\n {q.question}\n <span aria-hidden className=\"shrink-0 text-fg-secondary transition-transform group-open:rotate-45 motion-reduce:transition-none\">+</span>\n </summary>\n <p className=\"m-0 mt-2 text-[15px] leading-relaxed text-fg-secondary\">{q.answer}</p>\n </details>\n ))}\n </div>\n <script type=\"application/ld+json\" dangerouslySetInnerHTML={{ __html: faqJsonLd(questions) }} />\n </ShopSection>\n );\n}\n"
551
+ "content": "// Server-safe. The questions clients ask (ADR-007 §3): a native `details` each — no script — and the page's FAQPage\n// JSON-LD, so a search engine reads the same answers.\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ShopQuestion = { id: string; question: string; answer: string };\n\nexport type FaqSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"list\" */\n variant?: \"list\";\n title: React.ReactNode;\n questions: readonly ShopQuestion[];\n};\n\n/** The FAQPage structured data of a list of questions, as a JSON string safe inside a `script`. */\nexport function faqJsonLd(questions: readonly ShopQuestion[]): string {\n const data = {\n \"@context\": \"https://schema.org\",\n \"@type\": \"FAQPage\",\n mainEntity: questions.map((q) => ({ \"@type\": \"Question\", name: q.question, acceptedAnswer: { \"@type\": \"Answer\", text: q.answer } })),\n };\n return JSON.stringify(data).replaceAll('<', \"\\\\u003c\");\n}\n\n/** The questions and their answers. */\nexport function FaqSection({ title, questions, className, ...props }: Readonly<FaqSectionProps>) {\n if (questions.length === 0) return null;\n return (\n <ShopSection title={title} className={className} data-variant=\"list\" {...props}>\n <div className=\"max-w-3xl divide-y divide-border-subtle border-y border-border-subtle\">\n {questions.map((q) => (\n <details key={q.id} className=\"group py-3\">\n <summary className=\"flex min-h-11 cursor-pointer list-none items-center justify-between gap-4 font-semibold text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring [&::-webkit-details-marker]:hidden\">\n {q.question}\n <span aria-hidden className=\"shrink-0 text-fg-secondary transition-transform group-open:rotate-45 motion-reduce:transition-none\">+</span>\n </summary>\n <p className=\"m-0 mt-2 text-[15px] leading-relaxed text-fg-secondary\">{q.answer}</p>\n </details>\n ))}\n </div>\n <script type=\"application/ld+json\" dangerouslySetInnerHTML={{ __html: faqJsonLd(questions) }} />\n </ShopSection>\n );\n}\n"
552
552
  },
553
553
  {
554
554
  "path": "shop/faq/index.ts",
@@ -556,11 +556,11 @@
556
556
  },
557
557
  {
558
558
  "path": "shop/frame.tsx",
559
- "content": "// Server-safe. The frame and the rhythm of a shop page (ADR-007 §2): every section draws inside the page frame between the\n// gutters (`bleed` for a photo only), one vertical rhythm set by the density, a hairline between sections. No section sets\n// its own margin: it only says what it holds.\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Page, SectionHeading } from \"../page/page\";\n\n/** A photo the product resolved: the address, its words, and the widths it has (`srcSet`). */\nexport type ShopPhoto = {\n src: string;\n /** What it shows, in words; empty when it only sets a mood. */\n alt: string;\n /** The widths the product holds (`/a-480.avif 480w, /a-960.avif 960w`); the section brings the `sizes`. */\n srcSet?: string;\n};\n\nexport type ShopFrameProps = React.HTMLAttributes<HTMLDivElement> & {\n /** The look preset (`salon-vitrine`, `@krizaka/tokens`): its tokens apply to everything inside. */\n preset?: string;\n /**\n * The rhythm: `compact` 40 px between sections (24 on a phone), `airy` 64 px (40). The document's, or the preset's.\n * @default \"compact\"\n */\n density?: \"compact\" | \"airy\";\n /**\n * One of the accents the preset lists as tested (`krizaka`, `folioviv:accent-2`…): the owner's choice within the look. Without it, the preset's own.\n * @see @krizaka/tokens `shopPresets`\n */\n accent?: string;\n /**\n * The paper under the page, from the preset: `seyes` (ruled), `kraft` (brown — mount `PaperGrain` once), `washi` (a tint of the accent) or `plain`.\n * @default \"plain\"\n */\n paper?: \"plain\" | \"seyes\" | \"kraft\" | \"washi\";\n /**\n * The look's motion mode, CSS only (`still` · `soft` · `paper` · `lively`): the arrival of blocks and the settling of photos. Under `prefers-reduced-motion` every mode is still.\n * @see @krizaka/tokens `shopPresets`\n */\n motion?: \"still\" | \"soft\" | \"paper\" | \"lively\";\n};\n\nconst PAPERS = { plain: undefined, seyes: \"ruled\", kraft: \"kraft\", washi: \"washi\" } as const;\n\n/** The page: sets the look preset, the accent, the paper and the density the sections below read. */\nexport function ShopFrame({ preset, density = \"compact\", accent, paper = \"plain\", motion, className, ...props }: ShopFrameProps) {\n return <div data-shop-preset={preset} data-shop-accent={accent} data-paper={PAPERS[paper]} data-density={density} data-shop-motion={motion} className={cn(\"kz-shop\", className)} {...props} />;\n}\n\nexport type ShopSectionProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The section's id: the anchor, and the heading's id. */\n id?: string;\n /** The `h2`. Without one the section is named by `aria-label`. */\n title?: React.ReactNode;\n /** A short lower-case note above the title. */\n eyebrow?: React.ReactNode;\n /** One sentence under the title. */\n lead?: React.ReactNode;\n /** A link or a button on the right of the heading (« All times → »). */\n actions?: React.ReactNode;\n /** The content reaches the edges of the screen (a photo, a strip); the heading stays on the frame. */\n bleed?: boolean;\n /** The section is the page's first (the hero): no hairline, no padding. */\n first?: boolean;\n /** A bird of the Krizaka look (`mascotFor`, `ShopMascot` of `@krizaka/ui/shop/look`), decorative, in the corner of the heading. Never on the first screen. */\n mascot?: React.ReactNode;\n};\n\n/** A section of a shop page. */\nexport function ShopSection({ id, title, eyebrow, lead, actions, bleed, first, mascot, className, children, ...props }: ShopSectionProps) {\n const auto = React.useId();\n const headingId = title ? `${id ?? auto}-title` : undefined;\n const heading = title ? <SectionHeading id={headingId} size=\"sm\" eyebrow={eyebrow} title={title} lead={lead} actions={actions} /> : null;\n return (\n <section id={id} aria-labelledby={headingId} data-first={first ? \"\" : undefined} data-bleed={bleed ? \"\" : undefined} className={cn(\"kz-shop-section\", className)} {...props}>\n {mascot ? <div aria-hidden className=\"kz-shop-mascot\">{mascot}</div> : null}\n {bleed ? (\n <>\n {heading && <Page>{heading}</Page>}\n {children}\n </>\n ) : (\n <Page>\n {heading}\n {children}\n </Page>\n )}\n </section>\n );\n}\n"
559
+ "content": "// Server-safe. The frame and the rhythm of a shop page (ADR-007 §2): every section draws inside the page frame between the\n// gutters (`bleed` for a photo only), one vertical rhythm set by the density, a hairline between sections. No section sets\n// its own margin: it only says what it holds.\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Page, SectionHeading } from \"../page/page\";\n\n/** A photo the product resolved: the address, its words, and the widths it has (`srcSet`). */\nexport type ShopPhoto = {\n src: string;\n /** What it shows, in words; empty when it only sets a mood. */\n alt: string;\n /** The widths the product holds (`/a-480.avif 480w, /a-960.avif 960w`); the section brings the `sizes`. */\n srcSet?: string;\n};\n\nexport type ShopFrameProps = React.HTMLAttributes<HTMLDivElement> & {\n /** The look preset (`salon-vitrine`, `@krizaka/tokens`): its tokens apply to everything inside. */\n preset?: string;\n /**\n * The rhythm: `compact` 40 px between sections (24 on a phone), `airy` 64 px (40). The document's, or the preset's.\n * @default \"compact\"\n */\n density?: \"compact\" | \"airy\";\n /**\n * One of the accents the preset lists as tested (`krizaka`, `folioviv:accent-2`…): the owner's choice within the look. Without it, the preset's own.\n * @see @krizaka/tokens `shopPresets`\n */\n accent?: string;\n /**\n * The paper under the page, from the preset: `seyes` (ruled), `kraft` (brown — mount `PaperGrain` once), `washi` (a tint of the accent) or `plain`.\n * @default \"plain\"\n */\n paper?: \"plain\" | \"seyes\" | \"kraft\" | \"washi\";\n /**\n * The look's motion mode, CSS only (`still` · `soft` · `paper` · `lively`): the arrival of blocks and the settling of photos. Under `prefers-reduced-motion` every mode is still.\n * @see @krizaka/tokens `shopPresets`\n */\n motion?: \"still\" | \"soft\" | \"paper\" | \"lively\";\n};\n\nconst PAPERS = { plain: undefined, seyes: \"ruled\", kraft: \"kraft\", washi: \"washi\" } as const;\n\n/** The page: sets the look preset, the accent, the paper and the density the sections below read. */\nexport function ShopFrame({ preset, density = \"compact\", accent, paper = \"plain\", motion, className, ...props }: Readonly<ShopFrameProps>) {\n return <div data-shop-preset={preset} data-shop-accent={accent} data-paper={PAPERS[paper]} data-density={density} data-shop-motion={motion} className={cn(\"kz-shop\", className)} {...props} />;\n}\n\nexport type ShopSectionProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The section's id: the anchor, and the heading's id. */\n id?: string;\n /** The `h2`. Without one the section is named by `aria-label`. */\n title?: React.ReactNode;\n /** A short lower-case note above the title. */\n eyebrow?: React.ReactNode;\n /** One sentence under the title. */\n lead?: React.ReactNode;\n /** A link or a button on the right of the heading (« All times → »). */\n actions?: React.ReactNode;\n /** The content reaches the edges of the screen (a photo, a strip); the heading stays on the frame. */\n bleed?: boolean;\n /** The section is the page's first (the hero): no hairline, no padding. */\n first?: boolean;\n /** A bird of the Krizaka look (`mascotFor`, `ShopMascot` of `@krizaka/ui/shop/look`), decorative, in the corner of the heading. Never on the first screen. */\n mascot?: React.ReactNode;\n};\n\n/** A section of a shop page. */\nexport function ShopSection({ id, title, eyebrow, lead, actions, bleed, first, mascot, className, children, ...props }: Readonly<ShopSectionProps>) {\n const auto = React.useId();\n const headingId = title ? `${id ?? auto}-title` : undefined;\n const heading = title ? <SectionHeading id={headingId} size=\"sm\" eyebrow={eyebrow} title={title} lead={lead} actions={actions} /> : null;\n return (\n <section id={id} aria-labelledby={headingId} data-first={first ? \"\" : undefined} data-bleed={bleed ? \"\" : undefined} className={cn(\"kz-shop-section\", className)} {...props}>\n {mascot ? <div aria-hidden className=\"kz-shop-mascot\">{mascot}</div> : null}\n {bleed ? (\n <>\n {heading && <Page>{heading}</Page>}\n {children}\n </>\n ) : (\n <Page>\n {heading}\n {children}\n </Page>\n )}\n </section>\n );\n}\n"
560
560
  },
561
561
  {
562
562
  "path": "shop/gallery/gallery.tsx",
563
- "content": "// Server-safe (the wall and the grid are client islands imported through their own entries). The photos of a shop\n// (ADR-007 §3): `mosaic` (one 4:5 lead and four squares), `filmstrip` (3:4, a snap strip), `wall` (polaroids, notes and the\n// sign on a textured wall) and `grid` (today's media gallery). A photo appears once: the product's resolver hands each id at\n// most once, and a section that runs out shows fewer tiles — never a repeat.\nimport { MediaGallery } from \"@krizaka/ui/media-gallery\";\nimport { Wall, type WallItem } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport type { ShopPhoto } from \"../frame\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\nimport { Photo } from \"../photo\";\n\nexport type GalleryVariant = \"mosaic\" | \"filmstrip\" | \"wall\" | \"grid\";\n\nexport type ShopGalleryPhoto = {\n id: string;\n photo: ShopPhoto;\n caption?: string;\n /** `grid`: a muted loop over the still. */\n video?: { webm?: string; mp4?: string };\n};\n\nexport type ShopGalleryNote = { id: string; text: string; signature?: string };\n\nexport type GallerySectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"mosaic\" */\n variant?: GalleryVariant;\n /** The shop's own photos, in order, already unique. */\n photos: readonly ShopGalleryPhoto[];\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** The gallery's accessible name (`Photos of the salon`). */\n label: string;\n /** `wall`: short notes pinned between the photos. */\n notes?: readonly ShopGalleryNote[];\n /** `wall`: the shop's name on its sign. */\n sign?: string;\n /** `wall`: the wall's texture. @default \"plaster\" */\n texture?: \"plaster\" | \"brick\" | \"ridge\" | \"zellige\";\n};\n\n/** A deterministic scatter: the same photos always hang the same way (no random, so no hydration mismatch). */\nexport function wallLayout(count: number): { x: number; y: number; rotation: number }[] {\n const perRow = Math.min(5, Math.max(1, Math.ceil(count / 2)));\n return Array.from({ length: count }, (_, i) => {\n const row = Math.floor(i / perRow);\n const col = i % perRow;\n const inRow = Math.min(perRow, count - row * perRow);\n const x = inRow === 1 ? 50 : (col / (inRow - 1)) * 100;\n let y = 92 - (col % 2) * 6;\n if (row === 0) y = count <= perRow ? 50 : 8 + (col % 2) * 6;\n return { x, y, rotation: [-2.2, 1.6, -1.2, 2.4, -1.8][(i * 3 + 1) % 5]! };\n });\n}\n\nfunction Mosaic({ photos }: Readonly<{ photos: readonly ShopGalleryPhoto[] }>) {\n const [lead, ...rest] = photos;\n if (!lead) return null;\n return (\n <ul className=\"m-0 grid list-none grid-cols-2 gap-2 p-0 sm:grid-cols-[1.6fr_1fr_1fr] sm:gap-3\">\n <li className=\"col-span-2 aspect-[16/11] sm:col-span-1 sm:row-span-2 sm:aspect-auto\">\n <Photo photo={lead.photo} ratio=\"4/5\" sizes=\"(min-width: 40rem) 36rem, 100vw\" className=\"h-full min-h-0 sm:aspect-auto\" />\n </li>\n {rest.slice(0, 4).map((p) => (\n <li key={p.id}>\n <Photo photo={p.photo} ratio=\"1/1\" sizes=\"(min-width: 40rem) 18rem, 50vw\" />\n </li>\n ))}\n </ul>\n );\n}\n\nfunction Filmstrip({ photos, label }: Readonly<{ photos: readonly ShopGalleryPhoto[]; label: string }>) {\n return (\n <div role=\"group\" aria-label={label} tabIndex={0} className=\"-mx-4 overflow-x-auto px-4 pb-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring sm:mx-0 sm:px-0\">\n <ul className=\"m-0 flex w-max snap-x snap-mandatory list-none gap-3 p-0\">\n {photos.map((p) => (\n <li key={p.id} className=\"w-[42vw] max-w-64 shrink-0 snap-start sm:w-64\">\n <Photo photo={p.photo} ratio=\"3/4\" sizes=\"(min-width: 40rem) 16rem, 42vw\" />\n </li>\n ))}\n </ul>\n </div>\n );\n}\n\nfunction ShopWall({ photos, notes, sign, texture, label }: Readonly<{ photos: readonly ShopGalleryPhoto[]; notes: readonly ShopGalleryNote[]; sign?: string; texture: NonNullable<GallerySectionProps[\"texture\"]>; label: string }>) {\n const pieces = [\n ...(sign ? [{ id: \"sign\", kind: \"sign\" as const, children: sign, variant: \"neon\" as const }] : []),\n ...photos.slice(0, SHOP_LIMITS.photos).map((p) => ({\n id: p.id,\n kind: \"polaroid\" as const,\n img: <img src={p.photo.src} srcSet={p.photo.srcSet} sizes=\"220px\" alt={p.photo.alt} loading=\"lazy\" decoding=\"async\" className=\"absolute inset-0 h-full w-full object-cover\" />,\n caption: p.caption,\n })),\n ...notes.map((n) => ({ id: n.id, kind: \"note\" as const, text: n.text, signature: n.signature })),\n ];\n const layout = wallLayout(pieces.length);\n const items = pieces.map((piece, i) => ({ ...piece, ...layout[i]!, z: i })) as WallItem[];\n return <Wall aria-label={label} items={items} texture={texture} itemWidth={220} max={SHOP_LIMITS.photos + 2} />;\n}\n\n/** The photos of a shop: a mosaic, a filmstrip, a wall or a grid. */\nexport function GallerySection({ variant = \"mosaic\", photos, title, lead, label, notes = [], sign, texture = \"plaster\", className, ...props }: GallerySectionProps) {\n const shown = photos.slice(0, SHOP_LIMITS.photos);\n const bodies: Record<GalleryVariant, React.ReactNode> = {\n mosaic: <Mosaic photos={shown} />,\n filmstrip: <Filmstrip photos={shown} label={label} />,\n wall: <ShopWall photos={shown} notes={notes} sign={sign} texture={texture} label={label} />,\n grid: (\n <MediaGallery\n label={label}\n items={shown.map((p) => ({ id: p.id, src: p.photo.src, alt: p.photo.alt, caption: p.caption, video: p.video, shape: \"wide\" as const }))}\n />\n ),\n };\n const body = bodies[variant];\n return (\n <ShopSection title={title} lead={lead} className={cn(className)} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
563
+ "content": "// Server-safe (the wall and the grid are client islands imported through their own entries). The photos of a shop\n// (ADR-007 §3): `mosaic` (one 4:5 lead and four squares), `filmstrip` (3:4, a snap strip), `wall` (polaroids, notes and the\n// sign on a textured wall) and `grid` (today's media gallery). A photo appears once: the product's resolver hands each id at\n// most once, and a section that runs out shows fewer tiles — never a repeat.\nimport { MediaGallery } from \"@krizaka/ui/media-gallery\";\nimport { Wall, type WallItem } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport type { ShopPhoto } from \"../frame\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\nimport { Photo } from \"../photo\";\n\nexport type GalleryVariant = \"mosaic\" | \"filmstrip\" | \"wall\" | \"grid\";\n\nexport type ShopGalleryPhoto = {\n id: string;\n photo: ShopPhoto;\n caption?: string;\n /** `grid`: a muted loop over the still. */\n video?: { webm?: string; mp4?: string };\n};\n\nexport type ShopGalleryNote = { id: string; text: string; signature?: string };\n\nexport type GallerySectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"mosaic\" */\n variant?: GalleryVariant;\n /** The shop's own photos, in order, already unique. */\n photos: readonly ShopGalleryPhoto[];\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** The gallery's accessible name (`Photos of the salon`). */\n label: string;\n /** `wall`: short notes pinned between the photos. */\n notes?: readonly ShopGalleryNote[];\n /** `wall`: the shop's name on its sign. */\n sign?: string;\n /** `wall`: the wall's texture. @default \"plaster\" */\n texture?: \"plaster\" | \"brick\" | \"ridge\" | \"zellige\";\n};\n\n/** A deterministic scatter: the same photos always hang the same way (no random, so no hydration mismatch). */\nexport function wallLayout(count: number): { x: number; y: number; rotation: number }[] {\n const perRow = Math.min(5, Math.max(1, Math.ceil(count / 2)));\n return Array.from({ length: count }, (_, i) => {\n const row = Math.floor(i / perRow);\n const col = i % perRow;\n const inRow = Math.min(perRow, count - row * perRow);\n const x = inRow === 1 ? 50 : (col / (inRow - 1)) * 100;\n let y = 92 - (col % 2) * 6;\n if (row === 0) y = count <= perRow ? 50 : 8 + (col % 2) * 6;\n return { x, y, rotation: [-2.2, 1.6, -1.2, 2.4, -1.8][(i * 3 + 1) % 5]! };\n });\n}\n\nfunction Mosaic({ photos }: Readonly<{ photos: readonly ShopGalleryPhoto[] }>) {\n const [lead, ...rest] = photos;\n if (!lead) return null;\n return (\n <ul className=\"m-0 grid list-none grid-cols-2 gap-2 p-0 sm:grid-cols-[1.6fr_1fr_1fr] sm:gap-3\">\n <li className=\"col-span-2 aspect-[16/11] sm:col-span-1 sm:row-span-2 sm:aspect-auto\">\n <Photo photo={lead.photo} ratio=\"4/5\" sizes=\"(min-width: 40rem) 36rem, 100vw\" className=\"h-full min-h-0 sm:aspect-auto\" />\n </li>\n {rest.slice(0, 4).map((p) => (\n <li key={p.id}>\n <Photo photo={p.photo} ratio=\"1/1\" sizes=\"(min-width: 40rem) 18rem, 50vw\" />\n </li>\n ))}\n </ul>\n );\n}\n\nfunction Filmstrip({ photos, label }: Readonly<{ photos: readonly ShopGalleryPhoto[]; label: string }>) {\n return (\n <div role=\"group\" aria-label={label} tabIndex={0} className=\"-mx-4 overflow-x-auto px-4 pb-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring sm:mx-0 sm:px-0\">\n <ul className=\"m-0 flex w-max snap-x snap-mandatory list-none gap-3 p-0\">\n {photos.map((p) => (\n <li key={p.id} className=\"w-[42vw] max-w-64 shrink-0 snap-start sm:w-64\">\n <Photo photo={p.photo} ratio=\"3/4\" sizes=\"(min-width: 40rem) 16rem, 42vw\" />\n </li>\n ))}\n </ul>\n </div>\n );\n}\n\nfunction ShopWall({ photos, notes, sign, texture, label }: Readonly<{ photos: readonly ShopGalleryPhoto[]; notes: readonly ShopGalleryNote[]; sign?: string; texture: NonNullable<GallerySectionProps[\"texture\"]>; label: string }>) {\n const pieces = [\n ...(sign ? [{ id: \"sign\", kind: \"sign\" as const, children: sign, variant: \"neon\" as const }] : []),\n ...photos.slice(0, SHOP_LIMITS.photos).map((p) => ({\n id: p.id,\n kind: \"polaroid\" as const,\n img: <img src={p.photo.src} srcSet={p.photo.srcSet} sizes=\"220px\" alt={p.photo.alt} loading=\"lazy\" decoding=\"async\" className=\"absolute inset-0 h-full w-full object-cover\" />,\n caption: p.caption,\n })),\n ...notes.map((n) => ({ id: n.id, kind: \"note\" as const, text: n.text, signature: n.signature })),\n ];\n const layout = wallLayout(pieces.length);\n const items = pieces.map((piece, i) => ({ ...piece, ...layout[i]!, z: i })) as WallItem[];\n return <Wall aria-label={label} items={items} texture={texture} itemWidth={220} max={SHOP_LIMITS.photos + 2} />;\n}\n\n/** The photos of a shop: a mosaic, a filmstrip, a wall or a grid. */\nexport function GallerySection({ variant = \"mosaic\", photos, title, lead, label, notes = [], sign, texture = \"plaster\", className, ...props }: Readonly<GallerySectionProps>) {\n const shown = photos.slice(0, SHOP_LIMITS.photos);\n const bodies: Record<GalleryVariant, React.ReactNode> = {\n mosaic: <Mosaic photos={shown} />,\n filmstrip: <Filmstrip photos={shown} label={label} />,\n wall: <ShopWall photos={shown} notes={notes} sign={sign} texture={texture} label={label} />,\n grid: (\n <MediaGallery\n label={label}\n items={shown.map((p) => ({ id: p.id, src: p.photo.src, alt: p.photo.alt, caption: p.caption, video: p.video, shape: \"wide\" as const }))}\n />\n ),\n };\n const body = bodies[variant];\n return (\n <ShopSection title={title} lead={lead} className={cn(className)} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
564
564
  },
565
565
  {
566
566
  "path": "shop/gallery/index.ts",
@@ -568,7 +568,7 @@
568
568
  },
569
569
  {
570
570
  "path": "shop/hero/hero.tsx",
571
- "content": "// Server-safe (the poster's cover and the TV are client islands imported through their own entries). The first section of\n// a shop page (ADR-007 §3): `poster` (the cover, the name over it), `split` (the title in the frame beside a 4:5 photo),\n// `banner` (a 21:9 photo, the name under it), `tv` (the shop's sign and its latest video in the old TV). The name is the\n// page's `h1` in every variant; the first image is the page's LCP (high priority, a fixed box).\nimport { CoverHero } from \"@krizaka/ui/cover-hero\";\nimport { RetroTv, type RetroTvProps } from \"@krizaka/ui/retro-tv\";\nimport { ShopSign } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport { Page } from \"../../page/page\";\nimport type { ShopPhoto } from \"../frame\";\nimport { Photo } from \"../photo\";\n\nexport type HeroVariant = \"poster\" | \"split\" | \"banner\" | \"tv\";\n\nexport type HeroSectionProps = Omit<React.ComponentProps<\"header\">, \"title\"> & {\n /** The drawing. @default \"poster\" */\n variant?: HeroVariant;\n /** The shop's name: the page's `h1`. */\n title: string;\n /** A short mono line above the name (`Saint-Henri · Montréal`). */\n eyebrow?: React.ReactNode;\n /** One line: what the shop promises. */\n lead?: React.ReactNode;\n /** Chips: open now, the area, the score — only what is true now. */\n facts?: React.ReactNode;\n /** The one action (`ButtonLink`, « Book »). */\n actions?: React.ReactNode;\n /** The cover: a photo (16:9), an optional 4:5 crop for a phone, an optional muted loop (`poster`). */\n cover?: ShopPhoto & { phone?: string; video?: { webm?: string; mp4?: string } };\n /** Where the photo is cropped to. @default \"center\" */\n focus?: \"center\" | \"top\" | \"bottom\";\n /** `tv`: the shop's latest video in the cabinet (`src`, `poster`, `label`, or an `EmbedFacade` as `children`). */\n tv?: RetroTvProps;\n};\n\nconst lead = \"m-0 max-w-xl text-base leading-relaxed text-fg-secondary sm:text-lg\";\nconst eyebrowClass = \"m-0 font-mono text-[13px] text-fg-accent\";\n// The weight comes from the preset (`--kz-shop-title-weight`: Young Serif has one, Plus Jakarta Sans 650): `blocks.css`.\nconst titleClass = \"kz-shop-title m-0 font-display text-4xl leading-[1.05] tracking-tight text-fg sm:text-5xl\";\n\nfunction Text({ title, eyebrow, lead: leadText, facts, actions }: Readonly<Pick<HeroSectionProps, \"title\" | \"eyebrow\" | \"lead\" | \"facts\" | \"actions\">>) {\n return (\n <div className=\"flex min-w-0 flex-col items-start gap-3\">\n {eyebrow && <p className={eyebrowClass}>{eyebrow}</p>}\n <h1 className={titleClass}>{title}</h1>\n {leadText && <p className={lead}>{leadText}</p>}\n {facts && <div className=\"flex flex-wrap items-center gap-2\">{facts}</div>}\n {actions && <div className=\"flex flex-wrap items-center gap-3 pt-1\">{actions}</div>}\n </div>\n );\n}\n\n/** The first section of a shop page: poster, split, banner or tv. */\nexport function HeroSection({ variant = \"poster\", title, eyebrow, lead: leadText, facts, actions, cover, focus = \"center\", tv, className, ...props }: HeroSectionProps) {\n if (variant === \"poster\") {\n return (\n <CoverHero\n data-first=\"\"\n data-variant=\"poster\"\n className={cn(\"kz-shop-section min-h-[24rem] sm:min-h-[28rem] lg:min-h-[31rem]\", className)}\n cover={cover && { src: cover.src, alt: cover.alt, video: cover.video, phone: cover.phone, focus }}\n eyebrow={eyebrow}\n title={title}\n lead={leadText}\n facts={facts}\n actions={actions}\n {...props}\n />\n );\n }\n const text = <Text title={title} eyebrow={eyebrow} lead={leadText} facts={facts} actions={actions} />;\n if (variant === \"split\") {\n return (\n <header data-first=\"\" data-variant=\"split\" className={cn(\"kz-shop-section\", className)} {...props}>\n <Page>\n <div className=\"grid items-center gap-6 py-6 md:grid-cols-[minmax(0,1fr)_minmax(0,32rem)] md:gap-12 md:py-8\">\n <div className=\"order-2 md:order-1\">{text}</div>\n {cover && <Photo photo={cover} ratio=\"4/5\" priority sizes=\"(min-width: 48rem) 32rem, 100vw\" className=\"order-1 max-h-[26rem] md:order-2 md:max-h-none\" />}\n </div>\n </Page>\n </header>\n );\n }\n if (variant === \"banner\") {\n return (\n <header data-first=\"\" data-variant=\"banner\" className={cn(\"kz-shop-section\", className)} {...props}>\n {cover && (\n <div className=\"mx-auto w-full max-w-[90rem]\">\n <Photo photo={cover} ratio=\"21/9\" priority sizes=\"100vw\" className=\"rounded-none aspect-[3/2] sm:aspect-[21/9]\" />\n </div>\n )}\n <Page>\n <div className=\"py-6\">{text}</div>\n </Page>\n </header>\n );\n }\n return (\n <header data-first=\"\" data-variant=\"tv\" className={cn(\"kz-shop-section\", className)} {...props}>\n <Page>\n <div className=\"grid items-center gap-6 py-6 md:grid-cols-[minmax(0,1fr)_17rem] md:gap-12 md:py-8\">\n <div className=\"flex min-w-0 flex-col items-start gap-4\">\n <ShopSign as=\"h1\" variant=\"neon\">{title}</ShopSign>\n {leadText && <p className={lead}>{leadText}</p>}\n {facts && <div className=\"flex flex-wrap items-center gap-2\">{facts}</div>}\n {actions && <div className=\"flex flex-wrap items-center gap-3 pt-1\">{actions}</div>}\n </div>\n {tv && <RetroTv {...tv} className={cn(\"mx-auto w-56 md:w-full\", tv.className)} />}\n </div>\n </Page>\n </header>\n );\n}\n"
571
+ "content": "// Server-safe (the poster's cover and the TV are client islands imported through their own entries). The first section of\n// a shop page (ADR-007 §3): `poster` (the cover, the name over it), `split` (the title in the frame beside a 4:5 photo),\n// `banner` (a 21:9 photo, the name under it), `tv` (the shop's sign and its latest video in the old TV). The name is the\n// page's `h1` in every variant; the first image is the page's LCP (high priority, a fixed box).\nimport { CoverHero } from \"@krizaka/ui/cover-hero\";\nimport { RetroTv, type RetroTvProps } from \"@krizaka/ui/retro-tv\";\nimport { ShopSign } from \"@krizaka/ui/wall\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../cn\";\nimport { Page } from \"../../page/page\";\nimport type { ShopPhoto } from \"../frame\";\nimport { Photo } from \"../photo\";\n\nexport type HeroVariant = \"poster\" | \"split\" | \"banner\" | \"tv\";\n\nexport type HeroSectionProps = Omit<React.ComponentProps<\"header\">, \"title\"> & {\n /** The drawing. @default \"poster\" */\n variant?: HeroVariant;\n /** The shop's name: the page's `h1`. */\n title: string;\n /** A short mono line above the name (`Saint-Henri · Montréal`). */\n eyebrow?: React.ReactNode;\n /** One line: what the shop promises. */\n lead?: React.ReactNode;\n /** Chips: open now, the area, the score — only what is true now. */\n facts?: React.ReactNode;\n /** The one action (`ButtonLink`, « Book »). */\n actions?: React.ReactNode;\n /** The cover: a photo (16:9), an optional 4:5 crop for a phone, an optional muted loop (`poster`). */\n cover?: ShopPhoto & { phone?: string; video?: { webm?: string; mp4?: string } };\n /** Where the photo is cropped to. @default \"center\" */\n focus?: \"center\" | \"top\" | \"bottom\";\n /** `tv`: the shop's latest video in the cabinet (`src`, `poster`, `label`, or an `EmbedFacade` as `children`). */\n tv?: RetroTvProps;\n};\n\nconst lead = \"m-0 max-w-xl text-base leading-relaxed text-fg-secondary sm:text-lg\";\nconst eyebrowClass = \"m-0 font-mono text-[13px] text-fg-accent\";\n// The weight comes from the preset (`--kz-shop-title-weight`: Young Serif has one, Plus Jakarta Sans 650): `blocks.css`.\nconst titleClass = \"kz-shop-title m-0 font-display text-4xl leading-[1.05] tracking-tight text-fg sm:text-5xl\";\n\nfunction Text({ title, eyebrow, lead: leadText, facts, actions }: Readonly<Pick<HeroSectionProps, \"title\" | \"eyebrow\" | \"lead\" | \"facts\" | \"actions\">>) {\n return (\n <div className=\"flex min-w-0 flex-col items-start gap-3\">\n {eyebrow && <p className={eyebrowClass}>{eyebrow}</p>}\n <h1 className={titleClass}>{title}</h1>\n {leadText && <p className={lead}>{leadText}</p>}\n {facts && <div className=\"flex flex-wrap items-center gap-2\">{facts}</div>}\n {actions && <div className=\"flex flex-wrap items-center gap-3 pt-1\">{actions}</div>}\n </div>\n );\n}\n\n/** The first section of a shop page: poster, split, banner or tv. */\nexport function HeroSection({ variant = \"poster\", title, eyebrow, lead: leadText, facts, actions, cover, focus = \"center\", tv, className, ...props }: Readonly<HeroSectionProps>) {\n if (variant === \"poster\") {\n return (\n <CoverHero\n data-first=\"\"\n data-variant=\"poster\"\n className={cn(\"kz-shop-section min-h-[24rem] sm:min-h-[28rem] lg:min-h-[31rem]\", className)}\n cover={cover && { src: cover.src, alt: cover.alt, video: cover.video, phone: cover.phone, focus }}\n eyebrow={eyebrow}\n title={title}\n lead={leadText}\n facts={facts}\n actions={actions}\n {...props}\n />\n );\n }\n const text = <Text title={title} eyebrow={eyebrow} lead={leadText} facts={facts} actions={actions} />;\n if (variant === \"split\") {\n return (\n <header data-first=\"\" data-variant=\"split\" className={cn(\"kz-shop-section\", className)} {...props}>\n <Page>\n <div className=\"grid items-center gap-6 py-6 md:grid-cols-[minmax(0,1fr)_minmax(0,32rem)] md:gap-12 md:py-8\">\n <div className=\"order-2 md:order-1\">{text}</div>\n {cover && <Photo photo={cover} ratio=\"4/5\" priority sizes=\"(min-width: 48rem) 32rem, 100vw\" className=\"order-1 max-h-[26rem] md:order-2 md:max-h-none\" />}\n </div>\n </Page>\n </header>\n );\n }\n if (variant === \"banner\") {\n return (\n <header data-first=\"\" data-variant=\"banner\" className={cn(\"kz-shop-section\", className)} {...props}>\n {cover && (\n <div className=\"mx-auto w-full max-w-[90rem]\">\n <Photo photo={cover} ratio=\"21/9\" priority sizes=\"100vw\" className=\"rounded-none aspect-[3/2] sm:aspect-[21/9]\" />\n </div>\n )}\n <Page>\n <div className=\"py-6\">{text}</div>\n </Page>\n </header>\n );\n }\n return (\n <header data-first=\"\" data-variant=\"tv\" className={cn(\"kz-shop-section\", className)} {...props}>\n <Page>\n <div className=\"grid items-center gap-6 py-6 md:grid-cols-[minmax(0,1fr)_17rem] md:gap-12 md:py-8\">\n <div className=\"flex min-w-0 flex-col items-start gap-4\">\n <ShopSign as=\"h1\" variant=\"neon\">{title}</ShopSign>\n {leadText && <p className={lead}>{leadText}</p>}\n {facts && <div className=\"flex flex-wrap items-center gap-2\">{facts}</div>}\n {actions && <div className=\"flex flex-wrap items-center gap-3 pt-1\">{actions}</div>}\n </div>\n {tv && <RetroTv {...tv} className={cn(\"mx-auto w-56 md:w-full\", tv.className)} />}\n </div>\n </Page>\n </header>\n );\n}\n"
572
572
  },
573
573
  {
574
574
  "path": "shop/hero/index.ts",
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "path": "shop/photo.tsx",
615
- "content": "// Server-safe. A photo in a box of one fixed ratio (CLS 0): the box is the ratio, the image fills it (ADR-007 §6).\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport type { ShopPhoto } from \"./frame\";\n\nconst RATIOS = {\n \"1/1\": \"aspect-square\",\n \"4/5\": \"aspect-[4/5]\",\n \"3/4\": \"aspect-[3/4]\",\n \"4/3\": \"aspect-[4/3]\",\n \"3/2\": \"aspect-[3/2]\",\n \"16/9\": \"aspect-video\",\n \"21/9\": \"aspect-[21/9]\",\n} as const;\nexport type ShopRatio = keyof typeof RATIOS;\n\nexport type PhotoProps = Omit<React.ComponentProps<\"div\">, \"children\"> & {\n photo: ShopPhoto;\n ratio: ShopRatio;\n /** The `sizes` of the image for this variant (ADR-007 §6). */\n sizes?: string;\n /** The first screen's image: high priority, never lazy. */\n priority?: boolean;\n};\n\n/** A photo in a fixed-ratio box; the look preset's grade and radius apply (`data-shop-photo`). */\nexport function Photo({ photo, ratio, sizes, priority, className, ...props }: PhotoProps) {\n return (\n <div data-shop-photo=\"\" data-ratio={ratio} className={cn(\"relative w-full overflow-hidden bg-media\", RATIOS[ratio], className)} {...props}>\n <img\n src={photo.src}\n srcSet={photo.srcSet}\n sizes={photo.srcSet ? sizes : undefined}\n alt={photo.alt}\n loading={priority ? undefined : \"lazy\"}\n fetchPriority={priority ? \"high\" : undefined}\n decoding=\"async\"\n className=\"absolute inset-0 h-full w-full object-cover\"\n />\n </div>\n );\n}\n"
615
+ "content": "// Server-safe. A photo in a box of one fixed ratio (CLS 0): the box is the ratio, the image fills it (ADR-007 §6).\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport type { ShopPhoto } from \"./frame\";\n\nconst RATIOS = {\n \"1/1\": \"aspect-square\",\n \"4/5\": \"aspect-[4/5]\",\n \"3/4\": \"aspect-[3/4]\",\n \"4/3\": \"aspect-[4/3]\",\n \"3/2\": \"aspect-[3/2]\",\n \"16/9\": \"aspect-video\",\n \"21/9\": \"aspect-[21/9]\",\n} as const;\nexport type ShopRatio = keyof typeof RATIOS;\n\nexport type PhotoProps = Omit<React.ComponentProps<\"div\">, \"children\"> & {\n photo: ShopPhoto;\n ratio: ShopRatio;\n /** The `sizes` of the image for this variant (ADR-007 §6). */\n sizes?: string;\n /** The first screen's image: high priority, never lazy. */\n priority?: boolean;\n};\n\n/** A photo in a fixed-ratio box; the look preset's grade and radius apply (`data-shop-photo`). */\nexport function Photo({ photo, ratio, sizes, priority, className, ...props }: Readonly<PhotoProps>) {\n return (\n <div data-shop-photo=\"\" data-ratio={ratio} className={cn(\"relative w-full overflow-hidden bg-media\", RATIOS[ratio], className)} {...props}>\n <img\n src={photo.src}\n srcSet={photo.srcSet}\n sizes={photo.srcSet ? sizes : undefined}\n alt={photo.alt}\n loading={priority ? undefined : \"lazy\"}\n fetchPriority={priority ? \"high\" : undefined}\n decoding=\"async\"\n className=\"absolute inset-0 h-full w-full object-cover\"\n />\n </div>\n );\n}\n"
616
616
  },
617
617
  {
618
618
  "path": "shop/policies/index.ts",
@@ -620,7 +620,7 @@
620
620
  },
621
621
  {
622
622
  "path": "shop/policies/policies.tsx",
623
- "content": "// Server-safe. The rules of the shop, in the open (ADR-007 §3): cancellation, prices, the booking window — a real\n// description list, the owner's own words.\nimport { DescriptionList } from \"@krizaka/ui/description-list\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ShopPolicy = { id: string; term: string; details: React.ReactNode };\n\nexport type PoliciesSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"inline\" */\n variant?: \"inline\";\n title: React.ReactNode;\n items: readonly ShopPolicy[];\n};\n\n/** Cancellation, prices and the booking window, as term and value. */\nexport function PoliciesSection({ title, items, className, ...props }: PoliciesSectionProps) {\n if (items.length === 0) return null;\n return (\n <ShopSection title={title} className={className} data-variant=\"inline\" {...props}>\n <DescriptionList layout=\"inline\" className=\"max-w-3xl\" items={items.map((p) => ({ id: p.id, term: p.term, details: p.details }))} />\n </ShopSection>\n );\n}\n"
623
+ "content": "// Server-safe. The rules of the shop, in the open (ADR-007 §3): cancellation, prices, the booking window — a real\n// description list, the owner's own words.\nimport { DescriptionList } from \"@krizaka/ui/description-list\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ShopPolicy = { id: string; term: string; details: React.ReactNode };\n\nexport type PoliciesSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"inline\" */\n variant?: \"inline\";\n title: React.ReactNode;\n items: readonly ShopPolicy[];\n};\n\n/** Cancellation, prices and the booking window, as term and value. */\nexport function PoliciesSection({ title, items, className, ...props }: Readonly<PoliciesSectionProps>) {\n if (items.length === 0) return null;\n return (\n <ShopSection title={title} className={className} data-variant=\"inline\" {...props}>\n <DescriptionList layout=\"inline\" className=\"max-w-3xl\" items={items.map((p) => ({ id: p.id, term: p.term, details: p.details }))} />\n </ShopSection>\n );\n}\n"
624
624
  },
625
625
  {
626
626
  "path": "shop/presets-page.tsx",
@@ -636,7 +636,7 @@
636
636
  },
637
637
  {
638
638
  "path": "shop/reviews/reviews.tsx",
639
- "content": "// Server-safe. What clients say (ADR-007 §3): `summary-cards` — the score stamp with its distribution beside two or three\n// reviews; `quote` — one large review; `strip` — the score as one line (a hero's fact). Nothing is drawn under the host's\n// `minCount` of verified reviews: a shop with two reviews shows none (the composer says why).\nimport { ReviewCard, type ReviewCardProps, ReviewSummary, type ReviewSummaryProps } from \"@krizaka/ui/reviews\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ReviewsVariant = \"summary-cards\" | \"quote\" | \"strip\";\n\nexport type ShopReview = Omit<ReviewCardProps, \"className\" | \"style\"> & { id: string };\n\nexport type ReviewsSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"summary-cards\" */\n variant?: ReviewsVariant;\n title: React.ReactNode;\n /** The score and its distribution, with the words that name them (the stamp's, the count's, the meters'). */\n summary: Omit<ReviewSummaryProps, \"minCount\" | \"className\" | \"style\">;\n /** The reviews the host chose (`best` or `latest`), in order: two or three are drawn. */\n reviews: readonly ShopReview[];\n /** How many reviews are drawn beside the stamp. @default 2 */\n count?: 1 | 2 | 3;\n /** The fewest verified reviews that may be shown at all. @default 5 */\n minCount?: number;\n};\n\n/** The score of the shop and what its clients wrote. */\nexport function ReviewsSection({ variant = \"summary-cards\", title, summary, reviews, count = 2, minCount = 5, className, ...props }: ReviewsSectionProps) {\n if (summary.count < Math.max(1, minCount) || reviews.length === 0) return null;\n const shown = reviews.slice(0, count);\n if (variant === \"strip\") {\n return (\n <ShopSection aria-label={typeof title === \"string\" ? title : summary.summaryText} data-variant=\"strip\" className={className} {...props}>\n <p className=\"m-0 flex flex-wrap items-baseline gap-x-3 gap-y-1 text-sm text-fg-secondary\">\n <span className=\"rounded-sm border-2 border-border-strong px-2 py-0.5 font-mono text-base font-bold text-fg tabular-nums\">{summary.scoreText}</span>\n <span>{summary.countText}</span>\n <span className=\"sr-only\">{summary.summaryText}</span>\n </p>\n </ShopSection>\n );\n }\n if (variant === \"quote\") {\n const r = shown[0]!;\n const { text, author, date, dateTime, service, ratingText } = r;\n return (\n <ShopSection title={title} className={className} data-variant=\"quote\" {...props}>\n <figure className=\"m-0 max-w-3xl\">\n <blockquote className=\"m-0 font-display text-2xl leading-snug text-fg sm:text-3xl\">“{text}”</blockquote>\n <figcaption className=\"mt-3 flex flex-wrap items-baseline gap-x-2 text-sm text-fg-secondary\">\n <span className=\"font-semibold text-fg\">{author}</span>\n <time dateTime={dateTime}>{date}</time>\n {service && <span>· {service}</span>}\n <span className=\"sr-only\">{ratingText}</span>\n </figcaption>\n </figure>\n </ShopSection>\n );\n }\n return (\n <ShopSection title={title} className={className} data-variant=\"summary-cards\" {...props}>\n <div className=\"grid items-start gap-4 lg:grid-cols-[18rem_minmax(0,1fr)] lg:gap-8\">\n <ReviewSummary {...summary} minCount={minCount} />\n <div className=\"grid gap-3 sm:grid-cols-2 lg:grid-cols-[repeat(auto-fit,minmax(14rem,1fr))]\">\n {shown.map(({ id, ...review }) => (\n <ReviewCard key={id} {...review} />\n ))}\n </div>\n </div>\n </ShopSection>\n );\n}\n"
639
+ "content": "// Server-safe. What clients say (ADR-007 §3): `summary-cards` — the score stamp with its distribution beside two or three\n// reviews; `quote` — one large review; `strip` — the score as one line (a hero's fact). Nothing is drawn under the host's\n// `minCount` of verified reviews: a shop with two reviews shows none (the composer says why).\nimport { ReviewCard, type ReviewCardProps, ReviewSummary, type ReviewSummaryProps } from \"@krizaka/ui/reviews\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type ReviewsVariant = \"summary-cards\" | \"quote\" | \"strip\";\n\nexport type ShopReview = Omit<ReviewCardProps, \"className\" | \"style\"> & { id: string };\n\nexport type ReviewsSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"summary-cards\" */\n variant?: ReviewsVariant;\n title: React.ReactNode;\n /** The score and its distribution, with the words that name them (the stamp's, the count's, the meters'). */\n summary: Omit<ReviewSummaryProps, \"minCount\" | \"className\" | \"style\">;\n /** The reviews the host chose (`best` or `latest`), in order: two or three are drawn. */\n reviews: readonly ShopReview[];\n /** How many reviews are drawn beside the stamp. @default 2 */\n count?: 1 | 2 | 3;\n /** The fewest verified reviews that may be shown at all. @default 5 */\n minCount?: number;\n};\n\n/** The score of the shop and what its clients wrote. */\nexport function ReviewsSection({ variant = \"summary-cards\", title, summary, reviews, count = 2, minCount = 5, className, ...props }: Readonly<ReviewsSectionProps>) {\n if (summary.count < Math.max(1, minCount) || reviews.length === 0) return null;\n const shown = reviews.slice(0, count);\n if (variant === \"strip\") {\n return (\n <ShopSection aria-label={typeof title === \"string\" ? title : summary.summaryText} data-variant=\"strip\" className={className} {...props}>\n <p className=\"m-0 flex flex-wrap items-baseline gap-x-3 gap-y-1 text-sm text-fg-secondary\">\n <span className=\"rounded-sm border-2 border-border-strong px-2 py-0.5 font-mono text-base font-bold text-fg tabular-nums\">{summary.scoreText}</span>\n <span>{summary.countText}</span>\n <span className=\"sr-only\">{summary.summaryText}</span>\n </p>\n </ShopSection>\n );\n }\n if (variant === \"quote\") {\n const r = shown[0]!;\n const { text, author, date, dateTime, service, ratingText } = r;\n return (\n <ShopSection title={title} className={className} data-variant=\"quote\" {...props}>\n <figure className=\"m-0 max-w-3xl\">\n <blockquote className=\"m-0 font-display text-2xl leading-snug text-fg sm:text-3xl\">“{text}”</blockquote>\n <figcaption className=\"mt-3 flex flex-wrap items-baseline gap-x-2 text-sm text-fg-secondary\">\n <span className=\"font-semibold text-fg\">{author}</span>\n <time dateTime={dateTime}>{date}</time>\n {service && <span>· {service}</span>}\n <span className=\"sr-only\">{ratingText}</span>\n </figcaption>\n </figure>\n </ShopSection>\n );\n }\n return (\n <ShopSection title={title} className={className} data-variant=\"summary-cards\" {...props}>\n <div className=\"grid items-start gap-4 lg:grid-cols-[18rem_minmax(0,1fr)] lg:gap-8\">\n <ReviewSummary {...summary} minCount={minCount} />\n <div className=\"grid gap-3 sm:grid-cols-2 lg:grid-cols-[repeat(auto-fit,minmax(14rem,1fr))]\">\n {shown.map(({ id, ...review }) => (\n <ReviewCard key={id} {...review} />\n ))}\n </div>\n </div>\n </ShopSection>\n );\n}\n"
640
640
  },
641
641
  {
642
642
  "path": "shop/schema.ts",
@@ -648,7 +648,7 @@
648
648
  },
649
649
  {
650
650
  "path": "shop/services/services.tsx",
651
- "content": "// Server-safe: no hook. The services of a shop (ADR-007 §3). `menu` — the compact price board, the default of every preset:\n// one row per service (an optional 56 px square thumbnail of the service's own photo, the name, « Popular », a dotted leader,\n// the price in tabular figures, the duration and one line, a « Choose » button that names the service), grouped by category\n// under a lower-case typewriter note, in one column beside an `aside` (a plain block, never a landmark) or in two. `cards` (4:3, six at most), `index` (the\n// Cahier's stamped cards), `carousel` (a snap strip, phone first). The section receives resolved services; it never fetches.\nimport { Badge } from \"@krizaka/ui/badge\";\nimport { buttonVariants } from \"@krizaka/ui/button\";\nimport { ServiceCard } from \"@krizaka/ui/service-card\";\nimport * as React from \"react\";\n\nimport { BlockLink, type LinkComponent } from \"../../block-link\";\nimport { cn } from \"../../cn\";\nimport type { ShopPhoto } from \"../frame\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\nimport { Photo } from \"../photo\";\n\nexport type ServicesVariant = \"menu\" | \"cards\" | \"index\" | \"carousel\";\n\n/** A service as the product resolved it: its own photo (or none), its price already formatted. */\nexport type ShopService = {\n id: string;\n name: string;\n /** Formatted by the app (`$45`): the section never formats money. */\n price: string;\n /** The word before a varying price (`from`). */\n priceFrom?: string;\n /** `30 min`. */\n duration?: string;\n /** `Up to 5 dogs`. */\n capacity?: string;\n /** One line: what it is (truncated in the menu). */\n description?: string;\n /** What is included, one short line each (cards and index). */\n included?: readonly string[];\n /** The shop's category (`cuts`): the menu's group. */\n category?: string;\n /** The service's OWN photo. Never a default: without one the menu draws no thumbnail. */\n photo?: ShopPhoto;\n /** Booked most often (a real count): wears « Popular ». */\n popular?: boolean;\n /** The booking page with this service chosen. */\n href?: string;\n};\n\nexport type ServicesSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"menu\" */\n variant?: ServicesVariant;\n services: readonly ShopService[];\n /** The section's `h2` (`Services`). */\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** `menu`: group by the services' `category`. @default \"category\" */\n groupBy?: \"category\" | \"none\";\n /** `menu` with no `aside`: one or two columns. @default 1 */\n columns?: 1 | 2;\n /** `menu`: the hours, the team and the address, beside the list from `lg` (sticky), below it on a phone. */\n aside?: React.ReactNode;\n /** The button's words (`Choose`); its accessible name is « Choose Short cut ». */\n chooseLabel: string;\n /** « Popular ». */\n popularLabel: string;\n /** The list's accessible name when there is no group (`Services`). */\n listLabel?: string;\n /** The app's link component for the booking addresses. */\n linkAs?: LinkComponent;\n};\n\nconst GROUP_NOTE = \"m-0 font-mono text-[13px] lowercase text-fg-secondary\";\n\nfunction groupsOf(services: readonly ShopService[], by: \"category\" | \"none\") {\n if (by === \"none\") return [{ name: undefined as string | undefined, items: services }];\n const groups: { name: string | undefined; items: ShopService[] }[] = [];\n for (const s of services) {\n const name = s.category;\n const group = groups.find((g) => g.name === name);\n if (group) group.items.push(s);\n else groups.push({ name, items: [s] });\n }\n return groups;\n}\n\nfunction MenuRow({ service, chooseLabel, popularLabel, linkAs }: Readonly<{ service: ShopService; chooseLabel: string; popularLabel: string; linkAs?: LinkComponent }>) {\n const facts = [service.duration, service.capacity].filter(Boolean).join(\" · \");\n return (\n <li className=\"flex items-center gap-3 border-b border-border-subtle py-2.5 last:border-b-0\" data-service={service.id}>\n {service.photo && (\n <Photo photo={service.photo} ratio=\"1/1\" sizes=\"56px\" className=\"h-12 w-12 shrink-0 rounded-md sm:h-14 sm:w-14\" />\n )}\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex items-baseline gap-2\">\n <h3 className=\"m-0 shrink truncate text-[15px] font-semibold leading-tight text-fg\">{service.name}</h3>\n {service.popular && <Badge tone=\"accent\" size=\"sm\" className=\"hidden shrink-0 self-center sm:inline-flex\">{popularLabel}</Badge>}\n <span aria-hidden className=\"min-w-4 flex-1 -translate-y-0.5 border-b border-dotted border-border-control\" />\n <span className=\"shrink-0 whitespace-nowrap text-[15px] font-bold tabular-nums text-fg\">\n {service.priceFrom && <span className=\"mr-1 text-xs font-medium text-fg-secondary\">{service.priceFrom}</span>}\n {service.price}\n </span>\n </div>\n <p className=\"m-0 mt-0.5 truncate text-[13px] leading-snug text-fg-secondary\">\n {service.popular && <Badge tone=\"accent\" size=\"sm\" className=\"mr-1.5 sm:hidden\">{popularLabel}</Badge>}\n <span className=\"font-mono tabular-nums\">{facts}</span>\n {facts && service.description && <span aria-hidden> · </span>}\n {service.description}\n </p>\n </div>\n {service.href && (\n <BlockLink\n href={service.href}\n linkAs={linkAs}\n aria-label={`${chooseLabel} ${service.name}`}\n className={cn(buttonVariants({ variant: \"secondary\", size: \"md\" }), \"min-h-11 shrink-0 no-underline\")}\n >\n {chooseLabel}\n </BlockLink>\n )}\n </li>\n );\n}\n\nfunction Menu({ services, groupBy, columns, aside, chooseLabel, popularLabel, listLabel, linkAs }: Required<Pick<ServicesSectionProps, \"services\" | \"groupBy\" | \"columns\" | \"chooseLabel\" | \"popularLabel\">> & Pick<ServicesSectionProps, \"aside\" | \"listLabel\" | \"linkAs\">) {\n const groups = groupsOf(services, groupBy);\n const uid = React.useId();\n const list = (\n <div className={cn(\"grid gap-x-12\", !aside && columns === 2 && \"lg:grid-cols-2\")}>\n {groups.map((g, i) => (\n <div key={g.name ?? i} className=\"mb-3 min-w-0 last:mb-0\">\n {g.name && <p className={GROUP_NOTE} id={`${uid}-grp-${i}`}>{g.name}</p>}\n <ul aria-label={g.name ? undefined : listLabel} aria-labelledby={g.name ? `${uid}-grp-${i}` : undefined} className=\"m-0 list-none p-0\">\n {g.items.map((s) => (\n <MenuRow key={s.id} service={s} chooseLabel={chooseLabel} popularLabel={popularLabel} linkAs={linkAs} />\n ))}\n </ul>\n </div>\n ))}\n </div>\n );\n if (!aside) return list;\n return (\n <div className=\"grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_20rem] lg:gap-12\">\n {list}\n <div className=\"kz-shop-aside flex flex-col gap-4\">{aside}</div>\n </div>\n );\n}\n\n/** The services of a shop: the price board by default, or cards, index cards, a carousel. */\nexport function ServicesSection({ variant = \"menu\", services, title, lead, groupBy = \"category\", columns = 1, aside, chooseLabel, popularLabel, listLabel, linkAs, className, ...props }: ServicesSectionProps) {\n const card = (s: ShopService, i: number, extra?: string) => (\n <ServiceCard\n key={s.id}\n name={s.name}\n price={s.price}\n priceFrom={s.priceFrom}\n duration={s.duration}\n capacity={s.capacity}\n description={s.description}\n included={s.included}\n tag={s.popular ? popularLabel : undefined}\n media={s.photo ? <img src={s.photo.src} srcSet={s.photo.srcSet} sizes=\"(min-width: 64rem) 18rem, 90vw\" alt={s.photo.alt} loading=\"lazy\" decoding=\"async\" /> : undefined}\n mediaRatio=\"photo\"\n variant={variant === \"index\" ? \"index\" : \"default\"}\n actionLabel={chooseLabel}\n href={s.href}\n linkAs={linkAs}\n className={extra}\n data-index={i}\n />\n );\n let body: React.ReactNode;\n if (variant === \"menu\") {\n body = <Menu services={services} groupBy={groupBy} columns={columns} aside={aside} chooseLabel={chooseLabel} popularLabel={popularLabel} listLabel={listLabel} linkAs={linkAs} />;\n } else if (variant === \"carousel\") {\n body = (\n <div role=\"group\" aria-label={listLabel ?? (typeof title === \"string\" ? title : undefined)} tabIndex={0} className=\"-mx-4 flex snap-x snap-mandatory gap-3 overflow-x-auto px-4 pb-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring sm:mx-0 sm:px-0\">\n {services.map((s, i) => card(s, i, \"w-[78vw] max-w-72 shrink-0 snap-start sm:w-72\"))}\n </div>\n );\n } else {\n const shown = variant === \"cards\" ? services.slice(0, SHOP_LIMITS.cards) : services;\n body = <div className=\"grid items-start gap-4 sm:grid-cols-2 lg:grid-cols-3\">{shown.map((s, i) => card(s, i, \"h-auto\"))}</div>;\n }\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
651
+ "content": "// Server-safe: no hook. The services of a shop (ADR-007 §3). `menu` — the compact price board, the default of every preset:\n// one row per service (an optional 56 px square thumbnail of the service's own photo, the name, « Popular », a dotted leader,\n// the price in tabular figures, the duration and one line, a « Choose » button that names the service), grouped by category\n// under a lower-case typewriter note, in one column beside an `aside` (a plain block, never a landmark) or in two. `cards` (4:3, six at most), `index` (the\n// Cahier's stamped cards), `carousel` (a snap strip, phone first). The section receives resolved services; it never fetches.\nimport { Badge } from \"@krizaka/ui/badge\";\nimport { buttonVariants } from \"@krizaka/ui/button\";\nimport { ServiceCard } from \"@krizaka/ui/service-card\";\nimport * as React from \"react\";\n\nimport { BlockLink, type LinkComponent } from \"../../block-link\";\nimport { cn } from \"../../cn\";\nimport type { ShopPhoto } from \"../frame\";\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\nimport { Photo } from \"../photo\";\n\nexport type ServicesVariant = \"menu\" | \"cards\" | \"index\" | \"carousel\";\n\n/** A service as the product resolved it: its own photo (or none), its price already formatted. */\nexport type ShopService = {\n id: string;\n name: string;\n /** Formatted by the app (`$45`): the section never formats money. */\n price: string;\n /** The word before a varying price (`from`). */\n priceFrom?: string;\n /** `30 min`. */\n duration?: string;\n /** `Up to 5 dogs`. */\n capacity?: string;\n /** One line: what it is (truncated in the menu). */\n description?: string;\n /** What is included, one short line each (cards and index). */\n included?: readonly string[];\n /** The shop's category (`cuts`): the menu's group. */\n category?: string;\n /** The service's OWN photo. Never a default: without one the menu draws no thumbnail. */\n photo?: ShopPhoto;\n /** Booked most often (a real count): wears « Popular ». */\n popular?: boolean;\n /** The booking page with this service chosen. */\n href?: string;\n};\n\nexport type ServicesSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"menu\" */\n variant?: ServicesVariant;\n services: readonly ShopService[];\n /** The section's `h2` (`Services`). */\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** `menu`: group by the services' `category`. @default \"category\" */\n groupBy?: \"category\" | \"none\";\n /** `menu` with no `aside`: one or two columns. @default 1 */\n columns?: 1 | 2;\n /** `menu`: the hours, the team and the address, beside the list from `lg` (sticky), below it on a phone. */\n aside?: React.ReactNode;\n /** The button's words (`Choose`); its accessible name is « Choose Short cut ». */\n chooseLabel: string;\n /** « Popular ». */\n popularLabel: string;\n /** The list's accessible name when there is no group (`Services`). */\n listLabel?: string;\n /** The app's link component for the booking addresses. */\n linkAs?: LinkComponent;\n};\n\nconst GROUP_NOTE = \"m-0 font-mono text-[13px] lowercase text-fg-secondary\";\n\nfunction groupsOf(services: readonly ShopService[], by: \"category\" | \"none\") {\n if (by === \"none\") return [{ name: undefined as string | undefined, items: services }];\n const groups: { name: string | undefined; items: ShopService[] }[] = [];\n for (const s of services) {\n const name = s.category;\n const group = groups.find((g) => g.name === name);\n if (group) group.items.push(s);\n else groups.push({ name, items: [s] });\n }\n return groups;\n}\n\nfunction MenuRow({ service, chooseLabel, popularLabel, linkAs }: Readonly<{ service: ShopService; chooseLabel: string; popularLabel: string; linkAs?: LinkComponent }>) {\n const facts = [service.duration, service.capacity].filter(Boolean).join(\" · \");\n return (\n <li className=\"flex items-center gap-3 border-b border-border-subtle py-2.5 last:border-b-0\" data-service={service.id}>\n {service.photo && (\n <Photo photo={service.photo} ratio=\"1/1\" sizes=\"56px\" className=\"h-12 w-12 shrink-0 rounded-md sm:h-14 sm:w-14\" />\n )}\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex items-baseline gap-2\">\n <h3 className=\"m-0 shrink truncate text-[15px] font-semibold leading-tight text-fg\">{service.name}</h3>\n {service.popular && <Badge tone=\"accent\" size=\"sm\" className=\"hidden shrink-0 self-center sm:inline-flex\">{popularLabel}</Badge>}\n <span aria-hidden className=\"min-w-4 flex-1 -translate-y-0.5 border-b border-dotted border-border-control\" />\n <span className=\"shrink-0 whitespace-nowrap text-[15px] font-bold tabular-nums text-fg\">\n {service.priceFrom && <span className=\"mr-1 text-xs font-medium text-fg-secondary\">{service.priceFrom}</span>}\n {service.price}\n </span>\n </div>\n <p className=\"m-0 mt-0.5 truncate text-[13px] leading-snug text-fg-secondary\">\n {service.popular && <Badge tone=\"accent\" size=\"sm\" className=\"mr-1.5 sm:hidden\">{popularLabel}</Badge>}\n <span className=\"font-mono tabular-nums\">{facts}</span>\n {facts && service.description && <span aria-hidden> · </span>}\n {service.description}\n </p>\n </div>\n {service.href && (\n <BlockLink\n href={service.href}\n linkAs={linkAs}\n aria-label={`${chooseLabel} ${service.name}`}\n className={cn(buttonVariants({ variant: \"secondary\", size: \"md\" }), \"min-h-11 shrink-0 no-underline\")}\n >\n {chooseLabel}\n </BlockLink>\n )}\n </li>\n );\n}\n\nfunction Menu({ services, groupBy, columns, aside, chooseLabel, popularLabel, listLabel, linkAs }: Readonly<Required<Pick<ServicesSectionProps, \"services\" | \"groupBy\" | \"columns\" | \"chooseLabel\" | \"popularLabel\">> & Pick<ServicesSectionProps, \"aside\" | \"listLabel\" | \"linkAs\">>) {\n const groups = groupsOf(services, groupBy);\n const uid = React.useId();\n const list = (\n <div className={cn(\"grid gap-x-12\", !aside && columns === 2 && \"lg:grid-cols-2\")}>\n {groups.map((g, i) => (\n <div key={g.name ?? i} className=\"mb-3 min-w-0 last:mb-0\">\n {g.name && <p className={GROUP_NOTE} id={`${uid}-grp-${i}`}>{g.name}</p>}\n <ul aria-label={g.name ? undefined : listLabel} aria-labelledby={g.name ? `${uid}-grp-${i}` : undefined} className=\"m-0 list-none p-0\">\n {g.items.map((s) => (\n <MenuRow key={s.id} service={s} chooseLabel={chooseLabel} popularLabel={popularLabel} linkAs={linkAs} />\n ))}\n </ul>\n </div>\n ))}\n </div>\n );\n if (!aside) return list;\n return (\n <div className=\"grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_20rem] lg:gap-12\">\n {list}\n <div className=\"kz-shop-aside flex flex-col gap-4\">{aside}</div>\n </div>\n );\n}\n\n/** The services of a shop: the price board by default, or cards, index cards, a carousel. */\nexport function ServicesSection({ variant = \"menu\", services, title, lead, groupBy = \"category\", columns = 1, aside, chooseLabel, popularLabel, listLabel, linkAs, className, ...props }: Readonly<ServicesSectionProps>) {\n const card = (s: ShopService, i: number, extra?: string) => (\n <ServiceCard\n key={s.id}\n name={s.name}\n price={s.price}\n priceFrom={s.priceFrom}\n duration={s.duration}\n capacity={s.capacity}\n description={s.description}\n included={s.included}\n tag={s.popular ? popularLabel : undefined}\n media={s.photo ? <img src={s.photo.src} srcSet={s.photo.srcSet} sizes=\"(min-width: 64rem) 18rem, 90vw\" alt={s.photo.alt} loading=\"lazy\" decoding=\"async\" /> : undefined}\n mediaRatio=\"photo\"\n variant={variant === \"index\" ? \"index\" : \"default\"}\n actionLabel={chooseLabel}\n href={s.href}\n linkAs={linkAs}\n className={extra}\n data-index={i}\n />\n );\n let body: React.ReactNode;\n if (variant === \"menu\") {\n body = <Menu services={services} groupBy={groupBy} columns={columns} aside={aside} chooseLabel={chooseLabel} popularLabel={popularLabel} listLabel={listLabel} linkAs={linkAs} />;\n } else if (variant === \"carousel\") {\n body = (\n <div role=\"group\" aria-label={listLabel ?? (typeof title === \"string\" ? title : undefined)} tabIndex={0} className=\"-mx-4 flex snap-x snap-mandatory gap-3 overflow-x-auto px-4 pb-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring sm:mx-0 sm:px-0\">\n {services.map((s, i) => card(s, i, \"w-[78vw] max-w-72 shrink-0 snap-start sm:w-72\"))}\n </div>\n );\n } else {\n const shown = variant === \"cards\" ? services.slice(0, SHOP_LIMITS.cards) : services;\n body = <div className=\"grid items-start gap-4 sm:grid-cols-2 lg:grid-cols-3\">{shown.map((s, i) => card(s, i, \"h-auto\"))}</div>;\n }\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
652
652
  },
653
653
  {
654
654
  "path": "shop/social/index.ts",
@@ -656,7 +656,7 @@
656
656
  },
657
657
  {
658
658
  "path": "shop/social/social.tsx",
659
- "content": "// Server-safe (the facade is a client island). The shop's other places (ADR-007 §3): `links` — plain anchors that open in a\n// new tab, `nofollow`, no referrer, nothing loaded from the platform; `facade` — the latest reel behind a button. Third\n// parties load on a click, never before (Law 25).\nimport { EMBED_PLATFORMS,EmbedFacade, type EmbedPlatform } from \"@krizaka/ui/embed-facade\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type SocialVariant = \"links\" | \"facade\";\n\nexport type ShopLink = { id: string; platform: EmbedPlatform; url: string };\n\nexport type SocialSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"links\" */\n variant?: SocialVariant;\n title: React.ReactNode;\n links: readonly ShopLink[];\n /** `links`: the name of each place, passed translated (`TikTok`). Default: the platform's own. */\n labels?: Partial<Record<EmbedPlatform, string>>;\n /** `facade`: the button's words per platform, and the reel's name. */\n playLabels?: Record<EmbedPlatform, string>;\n reelTitle?: string;\n poster?: string;\n notice?: React.ReactNode;\n};\n\n/** Where else to find the shop. */\nexport function SocialSection({ variant = \"links\", title, links, labels = {}, playLabels, reelTitle, poster, notice, className, ...props }: SocialSectionProps) {\n if (links.length === 0) return null;\n const first = links[0]!;\n return (\n <ShopSection title={title} className={className} data-variant={variant} {...props}>\n {variant === \"facade\" && playLabels ? (\n <div className=\"w-44 sm:w-52\">\n <EmbedFacade platform={first.platform} url={first.url} title={reelTitle ?? labels[first.platform] ?? EMBED_PLATFORMS[first.platform]} playLabel={playLabels[first.platform]} poster={poster} notice={notice} />\n </div>\n ) : (\n <ul className=\"m-0 flex list-none flex-wrap gap-2 p-0\">\n {links.map((l) => (\n <li key={l.id}>\n <a\n href={l.url}\n target=\"_blank\"\n rel=\"noopener noreferrer nofollow\"\n referrerPolicy=\"no-referrer\"\n className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-1 px-4 text-sm font-semibold text-fg no-underline hover:border-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\"\n >\n {labels[l.platform] ?? EMBED_PLATFORMS[l.platform]}\n </a>\n </li>\n ))}\n </ul>\n )}\n </ShopSection>\n );\n}\n"
659
+ "content": "// Server-safe (the facade is a client island). The shop's other places (ADR-007 §3): `links` — plain anchors that open in a\n// new tab, `nofollow`, no referrer, nothing loaded from the platform; `facade` — the latest reel behind a button. Third\n// parties load on a click, never before (Law 25).\nimport { EMBED_PLATFORMS,EmbedFacade, type EmbedPlatform } from \"@krizaka/ui/embed-facade\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type SocialVariant = \"links\" | \"facade\";\n\nexport type ShopLink = { id: string; platform: EmbedPlatform; url: string };\n\nexport type SocialSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"links\" */\n variant?: SocialVariant;\n title: React.ReactNode;\n links: readonly ShopLink[];\n /** `links`: the name of each place, passed translated (`TikTok`). Default: the platform's own. */\n labels?: Partial<Record<EmbedPlatform, string>>;\n /** `facade`: the button's words per platform, and the reel's name. */\n playLabels?: Record<EmbedPlatform, string>;\n reelTitle?: string;\n poster?: string;\n notice?: React.ReactNode;\n};\n\n/** Where else to find the shop. */\nexport function SocialSection({ variant = \"links\", title, links, labels = {}, playLabels, reelTitle, poster, notice, className, ...props }: Readonly<SocialSectionProps>) {\n if (links.length === 0) return null;\n const first = links[0]!;\n return (\n <ShopSection title={title} className={className} data-variant={variant} {...props}>\n {variant === \"facade\" && playLabels ? (\n <div className=\"w-44 sm:w-52\">\n <EmbedFacade platform={first.platform} url={first.url} title={reelTitle ?? labels[first.platform] ?? EMBED_PLATFORMS[first.platform]} playLabel={playLabels[first.platform]} poster={poster} notice={notice} />\n </div>\n ) : (\n <ul className=\"m-0 flex list-none flex-wrap gap-2 p-0\">\n {links.map((l) => (\n <li key={l.id}>\n <a\n href={l.url}\n target=\"_blank\"\n rel=\"noopener noreferrer nofollow\"\n referrerPolicy=\"no-referrer\"\n className=\"inline-flex min-h-11 items-center rounded-md border border-border-control bg-surface-1 px-4 text-sm font-semibold text-fg no-underline hover:border-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\"\n >\n {labels[l.platform] ?? EMBED_PLATFORMS[l.platform]}\n </a>\n </li>\n ))}\n </ul>\n )}\n </ShopSection>\n );\n}\n"
660
660
  },
661
661
  {
662
662
  "path": "shop/starters.ts",
@@ -668,7 +668,7 @@
668
668
  },
669
669
  {
670
670
  "path": "shop/story/story.tsx",
671
- "content": "// Server-safe. The owner's words (ADR-007 §3): `quote` — a pull quote and a paragraph; `owner` — the owner's face, a\n// paragraph, and a way to call or write. The words are the owner's, in the visitor's language; nothing is invented.\nimport { Avatar } from \"@krizaka/ui/avatar\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type StoryVariant = \"quote\" | \"owner\";\n\nexport type StorySectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"quote\" */\n variant?: StoryVariant;\n title: React.ReactNode;\n /** `quote`: the pull quote. */\n quote?: string;\n /** The paragraph. */\n body: string;\n /** `owner`: who speaks. */\n owner?: { name: string; photo?: string };\n /** `owner`: call or write (`ButtonLink`s). */\n actions?: React.ReactNode;\n};\n\n/** The owner's story, as a pull quote or a face and a paragraph. */\nexport function StorySection({ variant = \"quote\", title, quote, body, owner, actions, className, ...props }: StorySectionProps) {\n if (!body && !quote) return null;\n return (\n <ShopSection title={title} className={className} data-variant={variant} {...props}>\n {variant === \"owner\" ? (\n <div className=\"flex max-w-3xl items-start gap-4\">\n {owner && <Avatar src={owner.photo} alt=\"\" fallback={owner.name.slice(0, 1)} size=\"xl\" />}\n <div className=\"min-w-0\">\n {owner && <p className=\"m-0 font-semibold text-fg\">{owner.name}</p>}\n <p className=\"m-0 mt-1 text-base leading-relaxed text-fg-secondary\">{body}</p>\n {actions && <div className=\"mt-3 flex flex-wrap gap-2\">{actions}</div>}\n </div>\n </div>\n ) : (\n <div className=\"grid max-w-4xl gap-4 md:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] md:gap-10\">\n {quote && <blockquote className=\"m-0 border-s-2 border-accent ps-4 font-display text-2xl leading-snug text-fg\">{quote}</blockquote>}\n <p className=\"m-0 text-base leading-relaxed text-fg-secondary\">{body}</p>\n </div>\n )}\n </ShopSection>\n );\n}\n"
671
+ "content": "// Server-safe. The owner's words (ADR-007 §3): `quote` — a pull quote and a paragraph; `owner` — the owner's face, a\n// paragraph, and a way to call or write. The words are the owner's, in the visitor's language; nothing is invented.\nimport { Avatar } from \"@krizaka/ui/avatar\";\nimport * as React from \"react\";\n\nimport { ShopSection, type ShopSectionProps } from \"../frame\";\n\nexport type StoryVariant = \"quote\" | \"owner\";\n\nexport type StorySectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & Pick<ShopSectionProps, \"mascot\"> & {\n /** @default \"quote\" */\n variant?: StoryVariant;\n title: React.ReactNode;\n /** `quote`: the pull quote. */\n quote?: string;\n /** The paragraph. */\n body: string;\n /** `owner`: who speaks. */\n owner?: { name: string; photo?: string };\n /** `owner`: call or write (`ButtonLink`s). */\n actions?: React.ReactNode;\n};\n\n/** The owner's story, as a pull quote or a face and a paragraph. */\nexport function StorySection({ variant = \"quote\", title, quote, body, owner, actions, className, ...props }: Readonly<StorySectionProps>) {\n if (!body && !quote) return null;\n return (\n <ShopSection title={title} className={className} data-variant={variant} {...props}>\n {variant === \"owner\" ? (\n <div className=\"flex max-w-3xl items-start gap-4\">\n {owner && <Avatar src={owner.photo} alt=\"\" fallback={owner.name.slice(0, 1)} size=\"xl\" />}\n <div className=\"min-w-0\">\n {owner && <p className=\"m-0 font-semibold text-fg\">{owner.name}</p>}\n <p className=\"m-0 mt-1 text-base leading-relaxed text-fg-secondary\">{body}</p>\n {actions && <div className=\"mt-3 flex flex-wrap gap-2\">{actions}</div>}\n </div>\n </div>\n ) : (\n <div className=\"grid max-w-4xl gap-4 md:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] md:gap-10\">\n {quote && <blockquote className=\"m-0 border-s-2 border-accent ps-4 font-display text-2xl leading-snug text-fg\">{quote}</blockquote>}\n <p className=\"m-0 text-base leading-relaxed text-fg-secondary\">{body}</p>\n </div>\n )}\n </ShopSection>\n );\n}\n"
672
672
  },
673
673
  {
674
674
  "path": "shop/team/index.ts",
@@ -676,7 +676,7 @@
676
676
  },
677
677
  {
678
678
  "path": "shop/team/team.tsx",
679
- "content": "// Server-safe. The people of the shop (ADR-007 §3): `row` — avatars and first names in a line; `cards` — a card each with a\n// role. Faces are the members' own photos, or the default avatar of @krizaka/ui: never a stock face.\nimport { Avatar } from \"@krizaka/ui/avatar\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type TeamVariant = \"row\" | \"cards\";\n\nexport type ShopMember = {\n id: string;\n /** The first name. */\n name: string;\n /** What they do (`Colourist`): `cards` only. */\n role?: string;\n /** Their own photo. Without one the default avatar is drawn. */\n photo?: string;\n};\n\nexport type TeamSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"row\" */\n variant?: TeamVariant;\n members: readonly ShopMember[];\n title: React.ReactNode;\n lead?: React.ReactNode;\n};\n\n/** The people of the shop. */\nexport function TeamSection({ variant = \"row\", members, title, lead, className, ...props }: TeamSectionProps) {\n if (members.length === 0) return null;\n const list =\n variant === \"cards\" ? (\n <ul className=\"m-0 grid list-none gap-3 p-0 sm:grid-cols-2 lg:grid-cols-4\">\n {members.map((m) => (\n <li key={m.id} className=\"flex items-center gap-3 rounded-xl border border-border-default bg-surface-1 p-3\">\n <Avatar src={m.photo} fallback={m.name.slice(0, 1)} size=\"lg\" />\n <div className=\"min-w-0\">\n <p className=\"m-0 truncate font-semibold text-fg\">{m.name}</p>\n {m.role && <p className=\"m-0 truncate text-[13px] text-fg-secondary\">{m.role}</p>}\n </div>\n </li>\n ))}\n </ul>\n ) : (\n <ul className=\"m-0 flex list-none flex-wrap gap-x-6 gap-y-3 p-0\">\n {members.map((m) => (\n <li key={m.id} className=\"flex items-center gap-2.5\">\n <Avatar src={m.photo} fallback={m.name.slice(0, 1)} size=\"md\" />\n <span className=\"font-semibold text-fg\">{m.name}</span>\n </li>\n ))}\n </ul>\n );\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {list}\n </ShopSection>\n );\n}\n"
679
+ "content": "// Server-safe. The people of the shop (ADR-007 §3): `row` — avatars and first names in a line; `cards` — a card each with a\n// role. Faces are the members' own photos, or the default avatar of @krizaka/ui: never a stock face.\nimport { Avatar } from \"@krizaka/ui/avatar\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type TeamVariant = \"row\" | \"cards\";\n\nexport type ShopMember = {\n id: string;\n /** The first name. */\n name: string;\n /** What they do (`Colourist`): `cards` only. */\n role?: string;\n /** Their own photo. Without one the default avatar is drawn. */\n photo?: string;\n};\n\nexport type TeamSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"row\" */\n variant?: TeamVariant;\n members: readonly ShopMember[];\n title: React.ReactNode;\n lead?: React.ReactNode;\n};\n\n/** The people of the shop. */\nexport function TeamSection({ variant = \"row\", members, title, lead, className, ...props }: Readonly<TeamSectionProps>) {\n if (members.length === 0) return null;\n const list =\n variant === \"cards\" ? (\n <ul className=\"m-0 grid list-none gap-3 p-0 sm:grid-cols-2 lg:grid-cols-4\">\n {members.map((m) => (\n <li key={m.id} className=\"flex items-center gap-3 rounded-xl border border-border-default bg-surface-1 p-3\">\n <Avatar src={m.photo} fallback={m.name.slice(0, 1)} size=\"lg\" />\n <div className=\"min-w-0\">\n <p className=\"m-0 truncate font-semibold text-fg\">{m.name}</p>\n {m.role && <p className=\"m-0 truncate text-[13px] text-fg-secondary\">{m.role}</p>}\n </div>\n </li>\n ))}\n </ul>\n ) : (\n <ul className=\"m-0 flex list-none flex-wrap gap-x-6 gap-y-3 p-0\">\n {members.map((m) => (\n <li key={m.id} className=\"flex items-center gap-2.5\">\n <Avatar src={m.photo} fallback={m.name.slice(0, 1)} size=\"md\" />\n <span className=\"font-semibold text-fg\">{m.name}</span>\n </li>\n ))}\n </ul>\n );\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {list}\n </ShopSection>\n );\n}\n"
680
680
  },
681
681
  {
682
682
  "path": "shop/text.ts",
@@ -688,7 +688,7 @@
688
688
  },
689
689
  {
690
690
  "path": "shop/video/video.tsx",
691
- "content": "// Server-safe (the TV and the facades are client islands imported through their own entries). The shop's videos (ADR-007\n// §3): `tv` — the old television with the shop's latest video (its own clip, or a platform's short behind its facade);\n// `shorts` — another channel's reels, each behind a facade. Nothing is requested from a platform before the click.\nimport { EmbedFacade, type EmbedPlatform } from \"@krizaka/ui/embed-facade\";\nimport { RetroTv, type RetroTvProps } from \"@krizaka/ui/retro-tv\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\n\nexport type VideoVariant = \"tv\" | \"shorts\";\n\nexport type ShopReel = {\n id: string;\n platform: EmbedPlatform;\n /** The public address of the post (validated by `embedUrl`: anything else draws nothing). */\n url: string;\n /** Its accessible name. */\n title: string;\n /** The host's own copy of the picture. */\n poster?: string;\n};\n\nexport type VideoSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"tv\" */\n variant?: VideoVariant;\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** The reels, newest first. `tv` plays the first one (unless `clip` is set); `shorts` draws up to six. */\n reels?: readonly ShopReel[];\n /** `tv`: the shop's own clip in the cabinet (`src`, `poster`, `title`). */\n clip?: Pick<RetroTvProps, \"src\" | \"poster\" | \"title\">;\n /** The facade's button, per platform (« Load TikTok and play »), passed translated. */\n playLabels: Record<EmbedPlatform, string>;\n /** The line under a facade's button: what the platform will receive on the click. */\n notice?: React.ReactNode;\n /** `tv`: the cabinet. @default \"cabinet\" */\n cabinet?: \"cabinet\" | \"portable\";\n /** `tv`: the channel written on the cabinet (`CH 3 · Saint-Henri`). */\n channel?: string;\n /** `tv`: what sits beside the television (a few pinned notes, a line). */\n aside?: React.ReactNode;\n};\n\n/** The shop's videos: the old TV, or a strip of short reels behind a click. */\nexport function VideoSection({ variant = \"tv\", title, lead, reels = [], clip, playLabels, notice, cabinet = \"cabinet\", channel, aside, className, ...props }: VideoSectionProps) {\n const facade = (r: ShopReel, className?: string) => (\n <EmbedFacade key={r.id} platform={r.platform} url={r.url} title={r.title} playLabel={playLabels[r.platform]} poster={r.poster} notice={notice} className={className} />\n );\n let body: React.ReactNode;\n if (variant === \"shorts\") {\n body = (\n <ul className=\"m-0 flex list-none snap-x snap-mandatory gap-3 overflow-x-auto p-0 pb-2\">\n {reels.slice(0, SHOP_LIMITS.reels).map((r) => (\n <li key={r.id} className=\"w-44 shrink-0 snap-start sm:w-52\">\n {facade(r)}\n </li>\n ))}\n </ul>\n );\n } else {\n const first = reels[0];\n let tv: React.ReactNode = null;\n if (clip) tv = <RetroTv {...clip} variant={cabinet} channel={channel} />;\n else if (first) tv = <RetroTv title={first.title} variant={cabinet} channel={channel}>{facade(first)}</RetroTv>;\n body = (\n <div className=\"grid items-center gap-6 md:grid-cols-[minmax(0,1fr)_17rem] md:gap-12\">\n <div className=\"order-2 md:order-1\">{aside}</div>\n <div className=\"order-1 mx-auto w-56 md:order-2 md:w-full\">{tv}</div>\n </div>\n );\n }\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
691
+ "content": "// Server-safe (the TV and the facades are client islands imported through their own entries). The shop's videos (ADR-007\n// §3): `tv` — the old television with the shop's latest video (its own clip, or a platform's short behind its facade);\n// `shorts` — another channel's reels, each behind a facade. Nothing is requested from a platform before the click.\nimport { EmbedFacade, type EmbedPlatform } from \"@krizaka/ui/embed-facade\";\nimport { RetroTv, type RetroTvProps } from \"@krizaka/ui/retro-tv\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\nimport { SHOP_LIMITS } from \"../limits\";\n\nexport type VideoVariant = \"tv\" | \"shorts\";\n\nexport type ShopReel = {\n id: string;\n platform: EmbedPlatform;\n /** The public address of the post (validated by `embedUrl`: anything else draws nothing). */\n url: string;\n /** Its accessible name. */\n title: string;\n /** The host's own copy of the picture. */\n poster?: string;\n};\n\nexport type VideoSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"tv\" */\n variant?: VideoVariant;\n title: React.ReactNode;\n lead?: React.ReactNode;\n /** The reels, newest first. `tv` plays the first one (unless `clip` is set); `shorts` draws up to six. */\n reels?: readonly ShopReel[];\n /** `tv`: the shop's own clip in the cabinet (`src`, `poster`, `title`). */\n clip?: Pick<RetroTvProps, \"src\" | \"poster\" | \"title\">;\n /** The facade's button, per platform (« Load TikTok and play »), passed translated. */\n playLabels: Record<EmbedPlatform, string>;\n /** The line under a facade's button: what the platform will receive on the click. */\n notice?: React.ReactNode;\n /** `tv`: the cabinet. @default \"cabinet\" */\n cabinet?: \"cabinet\" | \"portable\";\n /** `tv`: the channel written on the cabinet (`CH 3 · Saint-Henri`). */\n channel?: string;\n /** `tv`: what sits beside the television (a few pinned notes, a line). */\n aside?: React.ReactNode;\n};\n\n/** The shop's videos: the old TV, or a strip of short reels behind a click. */\nexport function VideoSection({ variant = \"tv\", title, lead, reels = [], clip, playLabels, notice, cabinet = \"cabinet\", channel, aside, className, ...props }: Readonly<VideoSectionProps>) {\n const facade = (r: ShopReel, className?: string) => (\n <EmbedFacade key={r.id} platform={r.platform} url={r.url} title={r.title} playLabel={playLabels[r.platform]} poster={r.poster} notice={notice} className={className} />\n );\n let body: React.ReactNode;\n if (variant === \"shorts\") {\n body = (\n <ul className=\"m-0 flex list-none snap-x snap-mandatory gap-3 overflow-x-auto p-0 pb-2\">\n {reels.slice(0, SHOP_LIMITS.reels).map((r) => (\n <li key={r.id} className=\"w-44 shrink-0 snap-start sm:w-52\">\n {facade(r)}\n </li>\n ))}\n </ul>\n );\n } else {\n const first = reels[0];\n let tv: React.ReactNode = null;\n if (clip) tv = <RetroTv {...clip} variant={cabinet} channel={channel} />;\n else if (first) tv = <RetroTv title={first.title} variant={cabinet} channel={channel}>{facade(first)}</RetroTv>;\n body = (\n <div className=\"grid items-center gap-6 md:grid-cols-[minmax(0,1fr)_17rem] md:gap-12\">\n <div className=\"order-2 md:order-1\">{aside}</div>\n <div className=\"order-1 mx-auto w-56 md:order-2 md:w-full\">{tv}</div>\n </div>\n );\n }\n return (\n <ShopSection title={title} lead={lead} className={className} data-variant={variant} {...props}>\n {body}\n </ShopSection>\n );\n}\n"
692
692
  },
693
693
  {
694
694
  "path": "shop/visit/index.ts",
@@ -696,11 +696,11 @@
696
696
  },
697
697
  {
698
698
  "path": "shop/visit/visit.tsx",
699
- "content": "// Server-safe (the map is a client island). How to come and when (ADR-007 §3): `card` — the hours, the address and a call;\n// `map` — the place on a map (on a phone behind a button), the address under it; `split` — the hours beside the map. The\n// hours are the shop's own, the status is its own words: the section draws them, it never reads the clock.\nimport { type OpeningDay, OpeningHours, type OpeningStatus } from \"@krizaka/ui/opening-hours\";\nimport { MapGate, type MapGateProps } from \"@krizaka/ui/shop/map-gate\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type VisitVariant = \"card\" | \"map\" | \"split\";\n\nexport type VisitSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"card\" */\n variant?: VisitVariant;\n title: React.ReactNode;\n hours: readonly OpeningDay[];\n /** Today's day id: its row is marked. */\n today?: string;\n status: OpeningStatus;\n /** The name of the hours list (`Hours`). */\n hoursLabel: string;\n address?: string;\n /** `tel:` target and its text; `showPhone: false` of the document leaves both out. */\n phone?: { href: string; label: string };\n /** `map` and `split`: the place. Without it these draw as a `card`. */\n map?: Omit<MapGateProps, \"className\">;\n};\n\n/** Where and when: hours, address, call, and the place on a map. */\nexport function VisitSection({ variant = \"card\", title, hours, today, status, hoursLabel, address, phone, map, className, ...props }: VisitSectionProps) {\n const details = (\n <div className=\"flex flex-col gap-2 text-sm text-fg-secondary\">\n {address && <p className=\"m-0\">{address}</p>}\n {phone && (\n <p className=\"m-0\">\n <a href={phone.href} className=\"font-semibold text-fg-accent underline\">{phone.label}</a>\n </p>\n )}\n </div>\n );\n const opening = <OpeningHours label={hoursLabel} days={hours} today={today} status={status} />;\n const drawn: VisitVariant = map ? variant : \"card\";\n return (\n <ShopSection title={title} className={className} data-variant={drawn} {...props}>\n {drawn === \"card\" && (\n <div className=\"grid max-w-xl gap-3\">\n {opening}\n {details}\n </div>\n )}\n {drawn === \"map\" && (\n <div className=\"grid gap-3\">\n <MapGate {...map!} />\n {details}\n </div>\n )}\n {drawn === \"split\" && (\n <div className=\"grid items-start gap-4 md:grid-cols-[minmax(0,22rem)_minmax(0,1fr)] md:gap-8\">\n <div className=\"grid gap-3\">\n {opening}\n {details}\n </div>\n <MapGate {...map!} />\n </div>\n )}\n </ShopSection>\n );\n}\n"
699
+ "content": "// Server-safe (the map is a client island). How to come and when (ADR-007 §3): `card` — the hours, the address and a call;\n// `map` — the place on a map (on a phone behind a button), the address under it; `split` — the hours beside the map. The\n// hours are the shop's own, the status is its own words: the section draws them, it never reads the clock.\nimport { type OpeningDay, OpeningHours, type OpeningStatus } from \"@krizaka/ui/opening-hours\";\nimport { MapGate, type MapGateProps } from \"@krizaka/ui/shop/map-gate\";\nimport * as React from \"react\";\n\nimport { ShopSection } from \"../frame\";\n\nexport type VisitVariant = \"card\" | \"map\" | \"split\";\n\nexport type VisitSectionProps = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n /** @default \"card\" */\n variant?: VisitVariant;\n title: React.ReactNode;\n hours: readonly OpeningDay[];\n /** Today's day id: its row is marked. */\n today?: string;\n status: OpeningStatus;\n /** The name of the hours list (`Hours`). */\n hoursLabel: string;\n address?: string;\n /** `tel:` target and its text; `showPhone: false` of the document leaves both out. */\n phone?: { href: string; label: string };\n /** `map` and `split`: the place. Without it these draw as a `card`. */\n map?: Omit<MapGateProps, \"className\">;\n};\n\n/** Where and when: hours, address, call, and the place on a map. */\nexport function VisitSection({ variant = \"card\", title, hours, today, status, hoursLabel, address, phone, map, className, ...props }: Readonly<VisitSectionProps>) {\n const details = (\n <div className=\"flex flex-col gap-2 text-sm text-fg-secondary\">\n {address && <p className=\"m-0\">{address}</p>}\n {phone && (\n <p className=\"m-0\">\n <a href={phone.href} className=\"font-semibold text-fg-accent underline\">{phone.label}</a>\n </p>\n )}\n </div>\n );\n const opening = <OpeningHours label={hoursLabel} days={hours} today={today} status={status} />;\n const drawn: VisitVariant = map ? variant : \"card\";\n return (\n <ShopSection title={title} className={className} data-variant={drawn} {...props}>\n {drawn === \"card\" && (\n <div className=\"grid max-w-xl gap-3\">\n {opening}\n {details}\n </div>\n )}\n {drawn === \"map\" && (\n <div className=\"grid gap-3\">\n <MapGate {...map!} />\n {details}\n </div>\n )}\n {drawn === \"split\" && (\n <div className=\"grid items-start gap-4 md:grid-cols-[minmax(0,22rem)_minmax(0,1fr)] md:gap-8\">\n <div className=\"grid gap-3\">\n {opening}\n {details}\n </div>\n <MapGate {...map!} />\n </div>\n )}\n </ShopSection>\n );\n}\n"
700
700
  }
701
701
  ],
702
702
  "dependencies": [
703
- "@krizaka/tokens@^4.7.0",
703
+ "@krizaka/tokens@^4.8.0",
704
704
  "zod@^4.6.7"
705
705
  ],
706
706
  "registryDependencies": [