@krizaka/ui 3.62.0 → 3.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (635) hide show
  1. package/README.md +13 -16
  2. package/dist/account-menu.d.ts +1 -1
  3. package/dist/account-menu.js +1 -1
  4. package/dist/account-settings.d.ts +1 -1
  5. package/dist/account-settings.js +2 -2
  6. package/dist/achievement.d.ts +2 -2
  7. package/dist/achievement.js +1 -1
  8. package/dist/achievement.js.map +1 -1
  9. package/dist/action-bar.js +4 -4
  10. package/dist/activity-feed.d.ts +1 -1
  11. package/dist/activity-feed.js.map +1 -1
  12. package/dist/analysis-report.d.ts +274 -0
  13. package/dist/analysis-report.js +207 -0
  14. package/dist/analysis-report.js.map +1 -0
  15. package/dist/app-shell.js.map +1 -1
  16. package/dist/argument-card.d.ts +1 -1
  17. package/dist/argument-card.js +5 -5
  18. package/dist/auth-layout.d.ts +1 -1
  19. package/dist/auth-layout.js.map +1 -1
  20. package/dist/avatar/defaults.d.ts +2 -1
  21. package/dist/avatar/defaults.js.map +1 -1
  22. package/dist/{avatar-iajODANU.d.ts → avatar-BL2iG_Js.d.ts} +2 -1
  23. package/dist/avatar.d.ts +3 -2
  24. package/dist/avatar.js.map +1 -1
  25. package/dist/badge.js +4 -34
  26. package/dist/badge.js.map +1 -1
  27. package/dist/bird-plate.d.ts +1 -1
  28. package/dist/bird-plate.js +1 -1
  29. package/dist/blocks.css +99 -8
  30. package/dist/button.js +1 -1
  31. package/dist/captcha.js +1 -1
  32. package/dist/chat.js +1 -1
  33. package/dist/choice-grid.d.ts +1 -1
  34. package/dist/choice-grid.js +1 -1
  35. package/dist/choice-grid.js.map +1 -1
  36. package/dist/chunk-5PFCELGW.js +41 -0
  37. package/dist/chunk-5PFCELGW.js.map +1 -0
  38. package/dist/chunk-5RWHDX5J.js +37 -0
  39. package/dist/chunk-5RWHDX5J.js.map +1 -0
  40. package/dist/{chunk-KB7OLYIJ.js → chunk-7AZ23BUX.js} +1 -1
  41. package/dist/chunk-7AZ23BUX.js.map +1 -0
  42. package/dist/{chunk-4E5IUZHR.js → chunk-B2HS5EAH.js} +1 -1
  43. package/dist/chunk-B2HS5EAH.js.map +1 -0
  44. package/dist/{chunk-5LANVCK7.js → chunk-BG5APGX6.js} +2 -2
  45. package/dist/{chunk-WOZP3JLW.js → chunk-DJ5ZPPWL.js} +1 -1
  46. package/dist/chunk-DJ5ZPPWL.js.map +1 -0
  47. package/dist/{chunk-MHUUNC5W.js → chunk-DRTIE44Z.js} +1 -1
  48. package/dist/chunk-DRTIE44Z.js.map +1 -0
  49. package/dist/{chunk-UV4HBVH7.js → chunk-EB45EVPJ.js} +2 -2
  50. package/dist/{chunk-SJS6RJIT.js.map → chunk-EB45EVPJ.js.map} +1 -1
  51. package/dist/{chunk-555LWYIN.js → chunk-EHTXLZSM.js} +1 -1
  52. package/dist/{chunk-555LWYIN.js.map → chunk-EHTXLZSM.js.map} +1 -1
  53. package/dist/{chunk-6EAHUURY.js → chunk-GHAN7OOE.js} +2 -2
  54. package/dist/chunk-JT7ZKZT5.js +1 -0
  55. package/dist/chunk-JT7ZKZT5.js.map +1 -0
  56. package/dist/{chunk-3DHNN5V7.js → chunk-M3GEYLMR.js} +2 -2
  57. package/dist/{chunk-3DHNN5V7.js.map → chunk-M3GEYLMR.js.map} +1 -1
  58. package/dist/{chunk-7J2L4HOD.js → chunk-MTVX4RRF.js} +2 -2
  59. package/dist/{chunk-7J2L4HOD.js.map → chunk-MTVX4RRF.js.map} +1 -1
  60. package/dist/{chunk-YKEIOYJ5.js → chunk-NPMGYLJV.js} +1 -1
  61. package/dist/chunk-NPMGYLJV.js.map +1 -0
  62. package/dist/{chunk-3RVFD3UX.js → chunk-PW2FVPTV.js} +1 -1
  63. package/dist/chunk-PW2FVPTV.js.map +1 -0
  64. package/dist/{chunk-HEKDKM5Y.js → chunk-QVHSV6RA.js} +1 -1
  65. package/dist/{chunk-MIMOTE4W.js → chunk-RCHKIOVV.js} +1 -1
  66. package/dist/chunk-RCHKIOVV.js.map +1 -0
  67. package/dist/{chunk-7JG3VR4C.js → chunk-RCKXJEDQ.js} +5 -5
  68. package/dist/{chunk-XVFQZ3ZG.js → chunk-TPITVAUW.js} +1 -1
  69. package/dist/{chunk-XVFQZ3ZG.js.map → chunk-TPITVAUW.js.map} +1 -1
  70. package/dist/chunk-U4XTZMB7.js +103 -0
  71. package/dist/chunk-U4XTZMB7.js.map +1 -0
  72. package/dist/{chunk-SJS6RJIT.js → chunk-V7W4RLRW.js} +2 -2
  73. package/dist/{chunk-UV4HBVH7.js.map → chunk-V7W4RLRW.js.map} +1 -1
  74. package/dist/{chunk-RBETQO2P.js → chunk-Y5YBTHVD.js} +9 -15
  75. package/dist/chunk-Y5YBTHVD.js.map +1 -0
  76. package/dist/command.js +2 -2
  77. package/dist/confirm-button.js +1 -1
  78. package/dist/continue-prompt.js +2 -2
  79. package/dist/continue-prompt.js.map +1 -1
  80. package/dist/cover-hero.js +1 -1
  81. package/dist/dashboard-layout.js.map +1 -1
  82. package/dist/data-table.js +2 -2
  83. package/dist/detail-layout.js.map +1 -1
  84. package/dist/dialog.js +2 -2
  85. package/dist/elephant.js.map +1 -1
  86. package/dist/embed-facade.d.ts +37 -0
  87. package/dist/embed-facade.js +96 -0
  88. package/dist/embed-facade.js.map +1 -0
  89. package/dist/engine-flow.d.ts +4 -4
  90. package/dist/engine-flow.js.map +1 -1
  91. package/dist/environment-notice.d.ts +110 -0
  92. package/dist/environment-notice.js +47 -0
  93. package/dist/environment-notice.js.map +1 -0
  94. package/dist/file-upload.d.ts +2 -2
  95. package/dist/flock.js +1 -1
  96. package/dist/force-update-screen.js +1 -1
  97. package/dist/genui.js +2 -2
  98. package/dist/{geometry-DZ4Q3hDQ.d.ts → geometry-DDlFDtiQ.d.ts} +3 -4
  99. package/dist/{geometry-DncHaYP8.d.ts → geometry-DuUQyHZ1.d.ts} +3 -4
  100. package/dist/goal-gauge.d.ts +1 -1
  101. package/dist/goal-gauge.js +1 -1
  102. package/dist/goal-gauge.js.map +1 -1
  103. package/dist/index.d.ts +15 -1
  104. package/dist/index.js +1 -1
  105. package/dist/kind-config-editor.js +1 -1
  106. package/dist/landing-page.d.ts +1 -1
  107. package/dist/landing-page.js.map +1 -1
  108. package/dist/language-switch.d.ts +9 -9
  109. package/dist/link-card.js +2 -2
  110. package/dist/loader.d.ts +1 -1
  111. package/dist/loader.js.map +1 -1
  112. package/dist/maintenance-screen.js +1 -1
  113. package/dist/map.js +6 -0
  114. package/dist/map.js.map +1 -1
  115. package/dist/margin-layout.d.ts +71 -0
  116. package/dist/margin-layout.js +29 -0
  117. package/dist/margin-layout.js.map +1 -0
  118. package/dist/mascot-quote.d.ts +1 -1
  119. package/dist/mascot-quote.js +1 -1
  120. package/dist/mascot-state.js +1 -1
  121. package/dist/mascots.d.ts +2 -2
  122. package/dist/mascots.js +1 -1
  123. package/dist/match-dialog.js +2 -2
  124. package/dist/media-grid.d.ts +1 -0
  125. package/dist/media-grid.js +2 -2
  126. package/dist/meter.js +2 -1
  127. package/dist/native/map.js +6 -0
  128. package/dist/native/map.js.map +1 -1
  129. package/dist/native.d.ts +125 -10
  130. package/dist/native.js +1690 -1517
  131. package/dist/native.js.map +1 -1
  132. package/dist/nav-bar.d.ts +1 -1
  133. package/dist/nav-bar.js +3 -3
  134. package/dist/page-DPHDmDAQ.d.ts +131 -0
  135. package/dist/page-hero.js +4 -4
  136. package/dist/page.d.ts +7 -125
  137. package/dist/page.js +13 -1
  138. package/dist/page.js.map +1 -1
  139. package/dist/product-page.d.ts +1 -1
  140. package/dist/product-page.js.map +1 -1
  141. package/dist/profile-card.d.ts +1 -1
  142. package/dist/profile-card.js +1 -1
  143. package/dist/profile-card.js.map +1 -1
  144. package/dist/promise-card.js +1 -1
  145. package/dist/quota-meter.js +2 -1
  146. package/dist/quota-meter.js.map +1 -1
  147. package/dist/rail-nav.d.ts +4 -0
  148. package/dist/retro-tv.d.ts +6 -3
  149. package/dist/retro-tv.js +6 -5
  150. package/dist/retro-tv.js.map +1 -1
  151. package/dist/reviews.d.ts +49 -0
  152. package/dist/reviews.js +66 -0
  153. package/dist/reviews.js.map +1 -0
  154. package/dist/scroll-stage.d.ts +1 -1
  155. package/dist/scroll-stage.js +1 -1
  156. package/dist/scroll-stage.js.map +1 -1
  157. package/dist/separator.d.ts +26 -3
  158. package/dist/separator.js +19 -1
  159. package/dist/separator.js.map +1 -1
  160. package/dist/service-card.d.ts +56 -63
  161. package/dist/service-card.js +49 -10
  162. package/dist/service-card.js.map +1 -1
  163. package/dist/settings-layout.js +1 -1
  164. package/dist/site-cahier.d.ts +10 -2
  165. package/dist/site-cahier.js +9 -15
  166. package/dist/site-cahier.js.map +1 -1
  167. package/dist/site-footer.d.ts +1 -1
  168. package/dist/site-footer.js +2 -2
  169. package/dist/{sites-BKz1beUK.d.ts → sites-CEnywB89.d.ts} +10 -2
  170. package/dist/sites.d.ts +13 -5
  171. package/dist/sites.js +7 -13
  172. package/dist/sites.js.map +1 -1
  173. package/dist/specimen-tag.d.ts +15 -3
  174. package/dist/specimen-tag.js +4 -27
  175. package/dist/specimen-tag.js.map +1 -1
  176. package/dist/stage-banner.d.ts +1 -1
  177. package/dist/stage-banner.js +1 -1
  178. package/dist/stage-banner.js.map +1 -1
  179. package/dist/stat.d.ts +87 -5
  180. package/dist/stat.js +9 -53
  181. package/dist/stat.js.map +1 -1
  182. package/dist/status-page.d.ts +1 -1
  183. package/dist/status-page.js.map +1 -1
  184. package/dist/sticky-action.d.ts +7 -2
  185. package/dist/sticky-action.js +24 -3
  186. package/dist/sticky-action.js.map +1 -1
  187. package/dist/theme.js +1 -1
  188. package/dist/update-prompt.js +1 -1
  189. package/dist/usage.d.ts +229 -0
  190. package/dist/usage.js +189 -0
  191. package/dist/usage.js.map +1 -0
  192. package/dist/versus-card.js +1 -1
  193. package/dist/vertical-video.js +2 -2
  194. package/dist/wall.d.ts +24 -12
  195. package/dist/wall.js +106 -43
  196. package/dist/wall.js.map +1 -1
  197. package/package.json +108 -17
  198. package/registry/account-menu.json +1 -1
  199. package/registry/account-settings.json +1 -1
  200. package/registry/achievement.json +8 -8
  201. package/registry/action-bar.json +1 -1
  202. package/registry/activity-feed.json +8 -8
  203. package/registry/agenda.json +1 -1
  204. package/registry/alert.json +1 -1
  205. package/registry/analysis-report.json +445 -0
  206. package/registry/anatomy-plate.json +1 -1
  207. package/registry/app-header.json +3 -3
  208. package/registry/app-shell.json +10 -10
  209. package/registry/argument-card.json +3 -3
  210. package/registry/audio-player.json +6 -6
  211. package/registry/auth-layout.json +9 -9
  212. package/registry/avatar.json +8 -8
  213. package/registry/badge.json +1 -1
  214. package/registry/bird-plate.json +1 -1
  215. package/registry/button.json +2 -2
  216. package/registry/captcha.json +1 -1
  217. package/registry/card-grid.json +6 -6
  218. package/registry/card.json +1 -1
  219. package/registry/catalogue-page.json +1 -1
  220. package/registry/changelog-page.json +1 -1
  221. package/registry/chapter.json +1 -1
  222. package/registry/chat.json +3 -3
  223. package/registry/checkbox.json +1 -1
  224. package/registry/chip-link.json +1 -1
  225. package/registry/chip-row.json +1 -1
  226. package/registry/chip.json +1 -1
  227. package/registry/choice-grid.json +6 -6
  228. package/registry/code-block.json +1 -1
  229. package/registry/combobox.json +1 -1
  230. package/registry/command.json +1 -1
  231. package/registry/comparison-table.json +1 -1
  232. package/registry/component-page.json +1 -1
  233. package/registry/confirm-button.json +1 -1
  234. package/registry/contact-page.json +1 -1
  235. package/registry/continue-prompt.json +2 -2
  236. package/registry/countdown.json +1 -1
  237. package/registry/cover-hero.json +1 -1
  238. package/registry/cta-panel.json +1 -1
  239. package/registry/dashboard-layout.json +2 -2
  240. package/registry/data-table.json +1 -1
  241. package/registry/date-picker.json +2 -2
  242. package/registry/decision-list.json +1 -1
  243. package/registry/description-list.json +1 -1
  244. package/registry/detail-layout.json +6 -6
  245. package/registry/dialog.json +1 -1
  246. package/registry/docs-article-page.json +1 -1
  247. package/registry/docs-hub-page.json +3 -3
  248. package/registry/docs-layout.json +1 -1
  249. package/registry/docs-nav.json +1 -1
  250. package/registry/document-viewer.json +1 -1
  251. package/registry/doodle.json +1 -1
  252. package/registry/drop-overlay.json +1 -1
  253. package/registry/dropdown-menu.json +1 -1
  254. package/registry/elephant.json +7 -7
  255. package/registry/embed-facade.json +243 -0
  256. package/registry/empty-state.json +2 -2
  257. package/registry/engine-flow.json +6 -6
  258. package/registry/environment-notice.json +270 -0
  259. package/registry/error-page.json +1 -1
  260. package/registry/examples/achievement/arcade.js +1 -1
  261. package/registry/examples/achievement/arcade.tsx +1 -1
  262. package/registry/examples/activity-feed/job-activity.tsx +1 -1
  263. package/registry/examples/analysis-report/document-validation.js +47 -0
  264. package/registry/examples/analysis-report/document-validation.tsx +29 -0
  265. package/registry/examples/analysis-report/native/document-validation.dark.png +0 -0
  266. package/registry/examples/analysis-report/native/document-validation.js +48 -0
  267. package/registry/examples/analysis-report/native/document-validation.light.png +0 -0
  268. package/registry/examples/analysis-report/native/document-validation.tsx +32 -0
  269. package/registry/examples/analysis-report/streaming.d.ts +4 -0
  270. package/registry/examples/analysis-report/streaming.js +42 -0
  271. package/registry/examples/analysis-report/streaming.tsx +23 -0
  272. package/registry/examples/app-shell/admin-console.js +1 -1
  273. package/registry/examples/app-shell/admin-console.tsx +2 -2
  274. package/registry/examples/app-shell/basic.js +1 -1
  275. package/registry/examples/app-shell/basic.tsx +1 -1
  276. package/registry/examples/app-shell/creator-studio.d.ts +4 -0
  277. package/registry/examples/app-shell/{orochia-studio.js → creator-studio.js} +6 -6
  278. package/registry/examples/app-shell/{orochia-studio.tsx → creator-studio.tsx} +4 -4
  279. package/registry/examples/audio-player/podcast.js +1 -1
  280. package/registry/examples/audio-player/podcast.tsx +1 -1
  281. package/registry/examples/audio-player/voice-note.js +1 -1
  282. package/registry/examples/audio-player/voice-note.tsx +1 -1
  283. package/registry/examples/auth-layout/onboarding.js +3 -3
  284. package/registry/examples/auth-layout/onboarding.tsx +3 -3
  285. package/registry/examples/auth-layout/sign-in.js +3 -3
  286. package/registry/examples/auth-layout/sign-in.tsx +3 -3
  287. package/registry/examples/avatar/default.js +1 -1
  288. package/registry/examples/avatar/default.tsx +1 -1
  289. package/registry/examples/card-grid/aligned.js +2 -2
  290. package/registry/examples/card-grid/aligned.tsx +2 -2
  291. package/registry/examples/card-grid/foundation.js +1 -2
  292. package/registry/examples/card-grid/foundation.tsx +1 -2
  293. package/registry/examples/card-grid/hover-quiet.js +1 -1
  294. package/registry/examples/card-grid/hover-quiet.tsx +1 -1
  295. package/registry/examples/card-grid/products.js +1 -1
  296. package/registry/examples/card-grid/products.tsx +1 -1
  297. package/registry/examples/choice-grid/line-up.js +1 -1
  298. package/registry/examples/choice-grid/line-up.tsx +1 -1
  299. package/registry/examples/detail-layout/checkout.js +1 -1
  300. package/registry/examples/detail-layout/checkout.tsx +2 -2
  301. package/registry/examples/detail-layout/video.js +1 -1
  302. package/registry/examples/detail-layout/video.tsx +2 -2
  303. package/registry/examples/docs-hub-page/krizaka.js +1 -1
  304. package/registry/examples/docs-hub-page/krizaka.tsx +1 -1
  305. package/registry/examples/embed-facade/tiktok.d.ts +4 -0
  306. package/registry/examples/embed-facade/tiktok.js +20 -0
  307. package/registry/examples/embed-facade/tiktok.tsx +16 -0
  308. package/registry/examples/embed-facade/youtube.d.ts +4 -0
  309. package/registry/examples/embed-facade/youtube.js +22 -0
  310. package/registry/examples/embed-facade/youtube.tsx +20 -0
  311. package/registry/examples/empty-state/library.js +1 -1
  312. package/registry/examples/empty-state/library.tsx +1 -1
  313. package/registry/examples/engine-flow/calm.js +1 -1
  314. package/registry/examples/engine-flow/calm.tsx +1 -1
  315. package/registry/examples/engine-flow/compact.js +4 -4
  316. package/registry/examples/engine-flow/compact.tsx +4 -4
  317. package/registry/examples/engine-flow/radial.js +2 -6
  318. package/registry/examples/engine-flow/radial.tsx +1 -5
  319. package/registry/examples/environment-notice/development.d.ts +4 -0
  320. package/registry/examples/environment-notice/development.js +15 -0
  321. package/registry/examples/environment-notice/development.tsx +13 -0
  322. package/registry/examples/environment-notice/native/development.d.ts +4 -0
  323. package/registry/examples/environment-notice/native/development.dark.png +0 -0
  324. package/registry/examples/environment-notice/native/development.js +21 -0
  325. package/registry/examples/environment-notice/native/development.light.png +0 -0
  326. package/registry/examples/environment-notice/native/development.tsx +17 -0
  327. package/registry/examples/environment-notice/staging.d.ts +4 -0
  328. package/registry/examples/environment-notice/staging.js +11 -0
  329. package/registry/examples/environment-notice/staging.tsx +6 -0
  330. package/registry/examples/force-update-screen/default.js +1 -1
  331. package/registry/examples/force-update-screen/default.tsx +1 -1
  332. package/registry/examples/force-update-screen/native/default.dark.png +0 -0
  333. package/registry/examples/force-update-screen/native/default.js +1 -1
  334. package/registry/examples/force-update-screen/native/default.light.png +0 -0
  335. package/registry/examples/force-update-screen/native/default.tsx +1 -1
  336. package/registry/examples/form/native/sign-up.js +2 -2
  337. package/registry/examples/form/native/sign-up.tsx +2 -2
  338. package/registry/examples/form/sign-up.js +1 -1
  339. package/registry/examples/form/sign-up.tsx +3 -3
  340. package/registry/examples/goal-gauge/arcade.js +1 -1
  341. package/registry/examples/goal-gauge/arcade.tsx +1 -1
  342. package/registry/examples/image-cropper/avatar.js +1 -1
  343. package/registry/examples/image-cropper/avatar.tsx +1 -1
  344. package/registry/examples/image-cropper/banner.js +1 -1
  345. package/registry/examples/image-cropper/banner.tsx +1 -1
  346. package/registry/examples/image-cropper/vertical-video.js +1 -2
  347. package/registry/examples/image-cropper/vertical-video.tsx +1 -3
  348. package/registry/examples/iso/creator-hero.d.ts +4 -0
  349. package/registry/examples/iso/{orochia-hero.js → creator-hero.js} +3 -3
  350. package/registry/examples/iso/{orochia-hero.tsx → creator-hero.tsx} +1 -1
  351. package/registry/examples/landing-page/krizaka.js +2 -2
  352. package/registry/examples/landing-page/krizaka.tsx +2 -2
  353. package/registry/examples/link-card/docs-hub.js +1 -1
  354. package/registry/examples/link-card/docs-hub.tsx +1 -1
  355. package/registry/examples/link-card/hover-quiet.js +1 -1
  356. package/registry/examples/link-card/hover-quiet.tsx +1 -1
  357. package/registry/examples/loader/branded.js +2 -2
  358. package/registry/examples/loader/branded.tsx +3 -3
  359. package/registry/examples/loader/native/branded.dark.png +0 -0
  360. package/registry/examples/loader/native/branded.js +1 -1
  361. package/registry/examples/loader/native/branded.light.png +0 -0
  362. package/registry/examples/loader/native/branded.tsx +2 -2
  363. package/registry/examples/longform-page/story.js +3 -3
  364. package/registry/examples/longform-page/story.tsx +3 -3
  365. package/registry/examples/margin-layout/findings.d.ts +4 -0
  366. package/registry/examples/margin-layout/findings.js +15 -0
  367. package/registry/examples/margin-layout/findings.tsx +18 -0
  368. package/registry/examples/margin-layout/steps.d.ts +4 -0
  369. package/registry/examples/margin-layout/steps.js +15 -0
  370. package/registry/examples/margin-layout/steps.tsx +16 -0
  371. package/registry/examples/marketing-layout/docs-hub.js +1 -1
  372. package/registry/examples/marketing-layout/docs-hub.tsx +1 -1
  373. package/registry/examples/mascots/flock.tsx +2 -2
  374. package/registry/examples/nav-bar/family-admin.js +5 -5
  375. package/registry/examples/nav-bar/family-admin.tsx +4 -4
  376. package/registry/examples/nav-bar/site.js +1 -1
  377. package/registry/examples/nav-bar/site.tsx +1 -1
  378. package/registry/examples/page/kraft.d.ts +4 -0
  379. package/registry/examples/page/kraft.js +14 -0
  380. package/registry/examples/page/kraft.tsx +12 -0
  381. package/registry/examples/page/papers.d.ts +4 -0
  382. package/registry/examples/page/papers.js +14 -0
  383. package/registry/examples/page/papers.tsx +13 -0
  384. package/registry/examples/permission-prompt/native/blocked.dark.png +0 -0
  385. package/registry/examples/permission-prompt/native/blocked.js +1 -1
  386. package/registry/examples/permission-prompt/native/blocked.tsx +1 -1
  387. package/registry/examples/permission-prompt/native/camera.dark.png +0 -0
  388. package/registry/examples/permission-prompt/native/camera.js +1 -1
  389. package/registry/examples/permission-prompt/native/camera.light.png +0 -0
  390. package/registry/examples/permission-prompt/native/camera.tsx +1 -1
  391. package/registry/examples/profile-card/match.js +1 -1
  392. package/registry/examples/profile-card/match.tsx +1 -1
  393. package/registry/examples/promise-card/arcade.js +1 -1
  394. package/registry/examples/promise-card/arcade.tsx +1 -1
  395. package/registry/examples/pull-to-refresh/native/branded.dark.png +0 -0
  396. package/registry/examples/pull-to-refresh/native/branded.js +1 -1
  397. package/registry/examples/pull-to-refresh/native/branded.light.png +0 -0
  398. package/registry/examples/pull-to-refresh/native/branded.tsx +1 -1
  399. package/registry/examples/rail-nav/expandable.js +3 -3
  400. package/registry/examples/rail-nav/expandable.tsx +3 -3
  401. package/registry/examples/retro-tv/cabinet.js +1 -2
  402. package/registry/examples/retro-tv/cabinet.tsx +1 -3
  403. package/registry/examples/retro-tv/facade.d.ts +4 -0
  404. package/registry/examples/retro-tv/facade.js +12 -0
  405. package/registry/examples/retro-tv/facade.tsx +13 -0
  406. package/registry/examples/retro-tv/portable.js +1 -2
  407. package/registry/examples/retro-tv/portable.tsx +1 -3
  408. package/registry/examples/reviews/card.d.ts +4 -0
  409. package/registry/examples/reviews/card.js +23 -0
  410. package/registry/examples/reviews/card.tsx +19 -0
  411. package/registry/examples/reviews/summary.d.ts +4 -0
  412. package/registry/examples/reviews/summary.js +23 -0
  413. package/registry/examples/reviews/summary.tsx +17 -0
  414. package/registry/examples/scroll-stage/arcade.js +1 -1
  415. package/registry/examples/scroll-stage/arcade.tsx +1 -1
  416. package/registry/examples/search-field/global.js +1 -1
  417. package/registry/examples/search-field/global.tsx +1 -1
  418. package/registry/examples/separator/hand.d.ts +4 -0
  419. package/registry/examples/separator/hand.js +19 -0
  420. package/registry/examples/separator/hand.tsx +16 -0
  421. package/registry/examples/service-card/index-card.d.ts +4 -0
  422. package/registry/examples/service-card/index-card.js +15 -0
  423. package/registry/examples/service-card/index-card.tsx +12 -0
  424. package/registry/examples/service-card/index-list.d.ts +4 -0
  425. package/registry/examples/service-card/index-list.js +14 -0
  426. package/registry/examples/service-card/index-list.tsx +11 -0
  427. package/registry/examples/sites/french.js +1 -1
  428. package/registry/examples/sites/french.tsx +1 -1
  429. package/registry/examples/specimen-tag/facts.d.ts +4 -0
  430. package/registry/examples/specimen-tag/facts.js +23 -0
  431. package/registry/examples/specimen-tag/facts.tsx +18 -0
  432. package/registry/examples/specimen-tag/wire.js +2 -2
  433. package/registry/examples/specimen-tag/wire.tsx +2 -2
  434. package/registry/examples/splash-handoff/native/default.dark.png +0 -0
  435. package/registry/examples/splash-handoff/native/default.js +1 -1
  436. package/registry/examples/splash-handoff/native/default.light.png +0 -0
  437. package/registry/examples/splash-handoff/native/default.tsx +1 -1
  438. package/registry/examples/split-view/messages.tsx +1 -1
  439. package/registry/examples/split-view/notifications.js +1 -1
  440. package/registry/examples/split-view/notifications.tsx +1 -1
  441. package/registry/examples/stat/strip.d.ts +4 -0
  442. package/registry/examples/stat/strip.js +25 -0
  443. package/registry/examples/stat/strip.tsx +25 -0
  444. package/registry/examples/status-page/building.js +2 -2
  445. package/registry/examples/status-page/building.tsx +2 -2
  446. package/registry/examples/status-page/operational.js +1 -1
  447. package/registry/examples/status-page/operational.tsx +1 -1
  448. package/registry/examples/sticky-action/hide-while-visible.d.ts +4 -0
  449. package/registry/examples/sticky-action/hide-while-visible.js +16 -0
  450. package/registry/examples/sticky-action/hide-while-visible.tsx +17 -0
  451. package/registry/examples/tab-bar/native/main-sections.tsx +1 -1
  452. package/registry/examples/tree-view/docs.js +1 -1
  453. package/registry/examples/tree-view/docs.tsx +1 -1
  454. package/registry/examples/usage/credits-page.d.ts +4 -0
  455. package/registry/examples/usage/credits-page.js +45 -0
  456. package/registry/examples/usage/credits-page.tsx +40 -0
  457. package/registry/examples/usage/empty.d.ts +4 -0
  458. package/registry/examples/usage/empty.js +15 -0
  459. package/registry/examples/usage/empty.tsx +12 -0
  460. package/registry/examples/video-player/default.js +1 -2
  461. package/registry/examples/video-player/default.tsx +1 -3
  462. package/registry/examples/video-player/gated.js +2 -3
  463. package/registry/examples/video-player/gated.tsx +2 -4
  464. package/registry/examples/video-player/native/default.dark.png +0 -0
  465. package/registry/examples/video-player/native/default.js +3 -3
  466. package/registry/examples/video-player/native/default.light.png +0 -0
  467. package/registry/examples/video-player/native/default.tsx +3 -3
  468. package/registry/examples/video-player/signed-source.js +2 -3
  469. package/registry/examples/video-player/signed-source.tsx +2 -4
  470. package/registry/examples/video-player/vertical.js +1 -2
  471. package/registry/examples/video-player/vertical.tsx +1 -3
  472. package/registry/examples/video-trimmer/filmstrip.js +10 -2
  473. package/registry/examples/video-trimmer/filmstrip.tsx +11 -2
  474. package/registry/examples/video-trimmer/playhead.js +8 -1
  475. package/registry/examples/video-trimmer/playhead.tsx +9 -1
  476. package/registry/examples/wall/brick.js +1 -1
  477. package/registry/examples/wall/brick.tsx +1 -1
  478. package/registry/examples/wall/composition-fr.js +1 -1
  479. package/registry/examples/wall/composition-fr.tsx +1 -1
  480. package/registry/examples/wall/composition.js +1 -1
  481. package/registry/examples/wall/composition.tsx +1 -1
  482. package/registry/examples/wall/pinned-note.js +2 -2
  483. package/registry/examples/wall/pinned-note.tsx +3 -2
  484. package/registry/examples/wall/plaster.js +1 -1
  485. package/registry/examples/wall/plaster.tsx +1 -1
  486. package/registry/examples/wall/ridge.js +1 -1
  487. package/registry/examples/wall/ridge.tsx +1 -1
  488. package/registry/examples/wall/shop-sign.js +5 -4
  489. package/registry/examples/wall/shop-sign.tsx +7 -4
  490. package/registry/examples/wall/zellige.js +1 -1
  491. package/registry/examples/wall/zellige.tsx +1 -1
  492. package/registry/field.json +1 -1
  493. package/registry/file-upload.json +2 -2
  494. package/registry/filter-bar.json +1 -1
  495. package/registry/flock.json +1 -1
  496. package/registry/footnote.json +1 -1
  497. package/registry/force-update-screen.json +4 -4
  498. package/registry/form.json +7 -7
  499. package/registry/gallery-page.json +1 -1
  500. package/registry/genui.json +2 -2
  501. package/registry/glossary-term.json +1 -1
  502. package/registry/glossary.json +1 -1
  503. package/registry/glow-card.json +1 -1
  504. package/registry/goal-gauge.json +6 -6
  505. package/registry/grade-stamp.json +1 -1
  506. package/registry/how-it-works-page.json +1 -1
  507. package/registry/image-cropper.json +5 -5
  508. package/registry/index.json +231 -35
  509. package/registry/iso.json +7 -7
  510. package/registry/kanban.json +3 -3
  511. package/registry/kbd.json +1 -1
  512. package/registry/kind-config-editor.json +1 -1
  513. package/registry/kpi-explained.json +2 -2
  514. package/registry/landing-page.json +6 -6
  515. package/registry/landscape.json +1 -1
  516. package/registry/language-switch.json +1 -1
  517. package/registry/legal-page.json +1 -1
  518. package/registry/link-card.json +4 -4
  519. package/registry/list.json +3 -3
  520. package/registry/loader.json +11 -11
  521. package/registry/longform-page.json +3 -3
  522. package/registry/maintenance-screen.json +1 -1
  523. package/registry/map.json +2 -2
  524. package/registry/margin-layout.json +200 -0
  525. package/registry/markdown.json +1 -1
  526. package/registry/marketing-layout.json +2 -2
  527. package/registry/marquee.json +1 -1
  528. package/registry/mascot-quote.json +1 -1
  529. package/registry/mascot-state.json +1 -1
  530. package/registry/mascots.json +5 -5
  531. package/registry/match-dialog.json +1 -1
  532. package/registry/media-capture.json +1 -1
  533. package/registry/media-gallery.json +1 -1
  534. package/registry/media-grid.json +3 -3
  535. package/registry/meta-row.json +1 -1
  536. package/registry/meter.json +1 -1
  537. package/registry/nav-bar.json +9 -9
  538. package/registry/next-actions.json +1 -1
  539. package/registry/notification-preferences.json +3 -3
  540. package/registry/number-ticker.json +1 -1
  541. package/registry/onboarding.json +1 -1
  542. package/registry/opening-hours.json +1 -1
  543. package/registry/page-header.json +1 -1
  544. package/registry/page-hero.json +1 -1
  545. package/registry/page-index.json +1 -1
  546. package/registry/page.json +53 -11
  547. package/registry/pagination.json +1 -1
  548. package/registry/permission-prompt.json +3 -3
  549. package/registry/photo-grid.json +1 -1
  550. package/registry/pointer-light.json +1 -1
  551. package/registry/popover.json +1 -1
  552. package/registry/pricing-page.json +1 -1
  553. package/registry/product-page.json +6 -6
  554. package/registry/profile-card.json +7 -7
  555. package/registry/progress.json +1 -1
  556. package/registry/promise-card.json +3 -3
  557. package/registry/pull-to-refresh.json +2 -2
  558. package/registry/quota-meter.json +1 -1
  559. package/registry/radio-group.json +1 -1
  560. package/registry/rail-nav.json +10 -10
  561. package/registry/recipes.json +1 -1
  562. package/registry/retro-tv.json +48 -32
  563. package/registry/reviews.json +361 -0
  564. package/registry/router.json +1 -1
  565. package/registry/scroll-stage.json +6 -6
  566. package/registry/search-field.json +3 -3
  567. package/registry/section-backdrop.json +1 -1
  568. package/registry/separator.json +71 -6
  569. package/registry/service-card.json +55 -6
  570. package/registry/settings-layout.json +1 -1
  571. package/registry/showcase.json +1 -1
  572. package/registry/signature.json +1 -1
  573. package/registry/site-cahier.json +1 -1
  574. package/registry/site-footer.json +7 -7
  575. package/registry/sites.json +4 -4
  576. package/registry/skeleton.json +1 -1
  577. package/registry/skip-link.json +1 -1
  578. package/registry/slider.json +1 -1
  579. package/registry/slot-picker.json +1 -1
  580. package/registry/slot.json +1 -1
  581. package/registry/specimen-tag.json +58 -6
  582. package/registry/speed-lines.json +1 -1
  583. package/registry/spinner.json +1 -1
  584. package/registry/splash-handoff.json +4 -4
  585. package/registry/split-view.json +4 -4
  586. package/registry/stage-banner.json +10 -6
  587. package/registry/stat.json +62 -10
  588. package/registry/status-chip.json +1 -1
  589. package/registry/status-page.json +9 -9
  590. package/registry/step-progress.json +1 -1
  591. package/registry/step-showcase.json +1 -1
  592. package/registry/stepper.json +1 -1
  593. package/registry/sticky-action.json +27 -4
  594. package/registry/stuck.json +1 -1
  595. package/registry/swipe-deck.json +1 -1
  596. package/registry/switch.json +1 -1
  597. package/registry/tab-bar.json +2 -2
  598. package/registry/tabs.json +1 -1
  599. package/registry/tag-input.json +1 -1
  600. package/registry/tag-selector.json +1 -1
  601. package/registry/taped-photo.json +1 -1
  602. package/registry/terminal-replay.json +1 -1
  603. package/registry/text-style.json +1 -1
  604. package/registry/theme.json +1 -1
  605. package/registry/toast.json +1 -1
  606. package/registry/toc.json +1 -1
  607. package/registry/tooltip.json +1 -1
  608. package/registry/tree-view.json +3 -3
  609. package/registry/update-prompt.json +1 -1
  610. package/registry/upload-queue.json +1 -1
  611. package/registry/usage.json +542 -0
  612. package/registry/verified-badge.json +1 -1
  613. package/registry/versus-card.json +1 -1
  614. package/registry/vertical-video.json +4 -4
  615. package/registry/video-player.json +7 -7
  616. package/registry/video-trimmer.json +8 -8
  617. package/registry/virtual.json +1 -1
  618. package/registry/wall.json +128 -40
  619. package/registry/waveform.json +1 -1
  620. package/skills/form/SKILL.md +1 -1
  621. package/skills/map/SKILL.md +2 -2
  622. package/dist/chunk-3RVFD3UX.js.map +0 -1
  623. package/dist/chunk-4E5IUZHR.js.map +0 -1
  624. package/dist/chunk-KB7OLYIJ.js.map +0 -1
  625. package/dist/chunk-MHUUNC5W.js.map +0 -1
  626. package/dist/chunk-MIMOTE4W.js.map +0 -1
  627. package/dist/chunk-RBETQO2P.js.map +0 -1
  628. package/dist/chunk-WOZP3JLW.js.map +0 -1
  629. package/dist/chunk-YKEIOYJ5.js.map +0 -1
  630. /package/dist/{chunk-5LANVCK7.js.map → chunk-BG5APGX6.js.map} +0 -0
  631. /package/dist/{chunk-6EAHUURY.js.map → chunk-GHAN7OOE.js.map} +0 -0
  632. /package/dist/{chunk-HEKDKM5Y.js.map → chunk-QVHSV6RA.js.map} +0 -0
  633. /package/dist/{chunk-7JG3VR4C.js.map → chunk-RCKXJEDQ.js.map} +0 -0
  634. /package/registry/examples/{app-shell/orochia-studio.d.ts → analysis-report/document-validation.d.ts} +0 -0
  635. /package/registry/examples/{iso/orochia-hero.d.ts → analysis-report/native/document-validation.d.ts} +0 -0
package/dist/wall.d.ts CHANGED
@@ -14,9 +14,15 @@ interface PinnedNoteProps extends Omit<React.ComponentProps<"article">, "childre
14
14
  text: string;
15
15
  /** The optional author's signature, written in the handwriting role. */
16
16
  signature?: string;
17
+ /** The ink of the pen: blue ink, the margin's red, or the page's hue. @default "blue" */
18
+ ink?: "blue" | "margin" | "hue";
19
+ /** How the note is held, through `Stuck`: a strip of tape or a pin. Takes over `attachment`. @default "tape" */
20
+ hold?: "tape" | "pin";
21
+ /** The lines of the text box, fixed so a late font never shifts the page (the text is read in full by assistive technology). @default 4 */
22
+ lines?: number;
17
23
  }
18
- /** A short word on a cut-corner card. */
19
- declare function PinnedNote({ text, signature, rotation, attachment, attachmentRotation, className, ...props }: PinnedNoteProps): React.JSX.Element;
24
+ /** A short word on a cut-corner card, stuck into the notebook. */
25
+ declare function PinnedNote({ text, signature, rotation, attachment, attachmentRotation: _attachmentRotation, ink, hold, lines, className, ...props }: PinnedNoteProps): React.JSX.Element;
20
26
 
21
27
  interface PolaroidProps extends Omit<React.ComponentProps<"figure">, "children" | "style">, WallObjectProps {
22
28
  /** The photo slot: an img or next/image, including fill inside this positioned frame. Supply its alt text. */
@@ -29,18 +35,22 @@ interface PolaroidProps extends Omit<React.ComponentProps<"figure">, "children"
29
35
  /** A photo held to the wall by tape or a pin, with a handwritten caption. */
30
36
  declare function Polaroid({ img, caption, rotation, attachment, attachmentRotation, develop, className, ...props }: PolaroidProps): React.JSX.Element;
31
37
 
32
- interface ShopSignProps extends Omit<React.ComponentProps<"div">, "children" | "style"> {
33
- /** The owner's logo or wordmark. Name an SVG/image accessibly, or use readable text. */
34
- logo: React.ReactNode;
35
- /** Enamel plate and screws, softly glowing neon, or a time-worn painted sign. */
36
- variant?: "enamel" | "neon" | "painted";
38
+ interface ShopSignProps extends Omit<React.ComponentProps<"div">, "style"> {
39
+ /** The shop's name as live text, in the sign's lettering: the page's heading (`as`). Prefer it to an image of the name. */
40
+ children?: React.ReactNode;
41
+ /** The element of the name: the page's `h1` by default, `h2`/`h3` for a second sign, `p` for none. A sign on a `Wall` is a `p` unless told otherwise. */
42
+ as?: "h1" | "h2" | "h3" | "p";
43
+ /** The owner's logo or wordmark, optional beside the name. Name an SVG/image accessibly, or use readable text. */
44
+ logo?: React.ReactNode;
45
+ /** Enamel plate and screws, softly glowing neon, a time-worn painted sign, or `none` (the name alone on paper). */
46
+ variant?: "enamel" | "neon" | "painted" | "none";
37
47
  /** Deterministic tilt in degrees; defaults to zero. */
38
48
  rotation?: number;
39
- /** Allow a single soft neon flicker on mount; defaults to true and respects reduced motion. */
49
+ /** Allow one soft neon flicker the first time the sign is seen; defaults to true, never loops, respects reduced motion. */
40
50
  animated?: boolean;
41
51
  }
42
- /** A shop's own mark, as a plate, a neon, or a painted sign. */
43
- declare function ShopSign({ logo, variant, rotation, animated, className, ...props }: ShopSignProps): React.JSX.Element;
52
+ /** A shop's own mark, as a plate, a neon, a painted sign, or the name alone. */
53
+ declare function ShopSign({ children, as: Name, logo, variant, rotation, animated, className, ...props }: ShopSignProps): React.JSX.Element;
44
54
 
45
55
  interface WallPosition {
46
56
  /** Stable identity for this object. */
@@ -67,13 +77,15 @@ interface WallProps extends Omit<React.ComponentProps<"ul">, "children" | "style
67
77
  items: readonly WallItem[];
68
78
  /** CSS/SVG texture; no image download. Defaults to plaster. */
69
79
  texture?: "brick" | "zellige" | "ridge" | "plaster";
70
- /** Desktop surface height in pixels (minimum 320); defaults to 560. Phones grow with content. */
80
+ /** Draws at most this many items (the first in z order); defaults to 12. The rest belongs to the host's « see the whole wall ». */
81
+ max?: number;
82
+ /** A fixed desktop surface height in pixels (minimum 320). Absent, the surface is a fixed 16:9 box. Phones grow with content. */
71
83
  height?: number;
72
84
  /** Desktop object width in pixels (minimum 120); defaults to 240 and never exceeds the surface. */
73
85
  itemWidth?: number;
74
86
  }
75
87
  /** A decorative textured surface over a real keyboard-reachable list; never an editor. */
76
- declare function Wall({ items, texture, height, itemWidth, className, ...props }: WallProps): React.JSX.Element;
88
+ declare function Wall({ items, texture, max, height, itemWidth, className, ...props }: WallProps): React.JSX.Element;
77
89
 
78
90
  export { PinnedNote, Polaroid, ShopSign, Wall };
79
91
  export type { PinnedNoteProps, PolaroidProps, ShopSignProps, WallItem, WallPosition, WallProps };
package/dist/wall.js CHANGED
@@ -7,29 +7,51 @@ import {
7
7
  cn
8
8
  } from "./chunk-WU4VLSEA.js";
9
9
 
10
- // src/wall/attachment.tsx
11
- import { jsx } from "react/jsx-runtime";
12
- var finite = (value) => Number.isFinite(value) ? value : 0;
13
- var rotationStyle = (rotation) => ({ "--kz-wall-rotation": `${finite(rotation)}deg` });
14
- function Attachment({ attachment = "tape", attachmentRotation = 0 }) {
15
- return /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: cn("kz-wall-attachment", attachment === "pin" ? "kz-wall-pin" : "kz-wall-tape"), style: { transform: `rotate(${finite(attachmentRotation)}deg)` } });
10
+ // src/cahier-seed.ts
11
+ function seedUnit(seed) {
12
+ let h = 2166136261;
13
+ for (let i = 0; i < seed.length; i++) h = Math.imul(h ^ seed.charCodeAt(i), 16777619);
14
+ return (h >>> 0) % 2001 / 1e3 - 1;
16
15
  }
17
16
 
18
- // src/wall/pinned-note.tsx
19
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
20
- function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation, className, ...props }) {
21
- return /* @__PURE__ */ jsxs("article", { ...props, className: cn("kz-pinned-note kz-wall-object", className), style: rotationStyle(rotation), "data-shape": "cut", children: [
22
- /* @__PURE__ */ jsx2(Attachment, { attachment, attachmentRotation }),
23
- /* @__PURE__ */ jsxs("div", { className: "kz-pinned-note-paper", children: [
24
- /* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-text", children: Array.from(text).slice(0, 140).join("") }),
25
- signature && /* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-signature", children: signature })
26
- ] })
17
+ // src/stuck/stuck.tsx
18
+ import { jsx, jsxs } from "react/jsx-runtime";
19
+ function stuckTilt(seed, tilt) {
20
+ return tilt ?? Math.round(seedUnit(seed) * 20) / 10;
21
+ }
22
+ function Stuck({ children, hold = "tape", tilt, seed = "", doodle, as: Tag = "div", className, style, ...props }) {
23
+ return /* @__PURE__ */ jsxs(Tag, { className: cn("kz-stuck", className), style, ...props, children: [
24
+ /* @__PURE__ */ jsxs("div", { className: "kz-stuck-body", "data-hold": hold, style: { ["--kz-stuck-tilt"]: `${stuckTilt(seed, tilt)}deg` }, children: [
25
+ hold === "pin" ? /* @__PURE__ */ jsx("span", { className: "kz-stuck-pin", "aria-hidden": true }) : null,
26
+ children
27
+ ] }),
28
+ doodle
27
29
  ] });
28
30
  }
29
31
 
32
+ // src/wall/pinned-note.tsx
33
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
34
+ function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation: _attachmentRotation, ink = "blue", hold, lines = 4, className, ...props }) {
35
+ const rows = Math.max(1, Math.round(Number.isFinite(lines) ? lines : 4));
36
+ return /* @__PURE__ */ jsx2(Stuck, { hold: hold ?? attachment ?? "tape", tilt: Number.isFinite(rotation) ? rotation : 0, className: "kz-wall-object kz-pinned-stuck", children: /* @__PURE__ */ jsx2("article", { ...props, className: cn("kz-pinned-note", className), "data-shape": "cut", "data-ink": ink, style: { "--kz-note-lines": rows }, children: /* @__PURE__ */ jsxs2("div", { className: "kz-pinned-note-paper", children: [
37
+ /* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-text", children: Array.from(text).slice(0, 140).join("") }),
38
+ signature && /* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-signature", children: signature })
39
+ ] }) }) });
40
+ }
41
+
30
42
  // src/wall/polaroid.tsx
31
43
  import * as React from "react";
32
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
44
+
45
+ // src/wall/attachment.tsx
46
+ import { jsx as jsx3 } from "react/jsx-runtime";
47
+ var finite = (value) => Number.isFinite(value) ? value : 0;
48
+ var rotationStyle = (rotation) => ({ "--kz-wall-rotation": `${finite(rotation)}deg` });
49
+ function Attachment({ attachment = "tape", attachmentRotation = 0 }) {
50
+ return /* @__PURE__ */ jsx3("span", { "aria-hidden": "true", className: cn("kz-wall-attachment", attachment === "pin" ? "kz-wall-pin" : "kz-wall-tape"), style: { transform: `rotate(${finite(attachmentRotation)}deg)` } });
51
+ }
52
+
53
+ // src/wall/polaroid.tsx
54
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
33
55
  function Polaroid({ img, caption, rotation = 0, attachment = "tape", attachmentRotation = 0, develop = true, className, ...props }) {
34
56
  const ref = React.useRef(null);
35
57
  const [state, setState] = React.useState();
@@ -61,7 +83,7 @@ function Polaroid({ img, caption, rotation = 0, attachment = "tape", attachmentR
61
83
  preference.removeEventListener("change", sync);
62
84
  };
63
85
  }, [develop]);
64
- return /* @__PURE__ */ jsxs2(
86
+ return /* @__PURE__ */ jsxs3(
65
87
  TapedPhoto,
66
88
  {
67
89
  ...props,
@@ -72,49 +94,90 @@ function Polaroid({ img, caption, rotation = 0, attachment = "tape", attachmentR
72
94
  style: { "--kz-wall-attachment-rotation": `${finite(attachmentRotation)}deg` },
73
95
  "data-develop": develop ? state : void 0,
74
96
  children: [
75
- attachment === "pin" && /* @__PURE__ */ jsx3(Attachment, { attachment: "pin", attachmentRotation }),
76
- /* @__PURE__ */ jsx3("div", { ref, className: "kz-polaroid-photo", children: img })
97
+ attachment === "pin" && /* @__PURE__ */ jsx4(Attachment, { attachment: "pin", attachmentRotation }),
98
+ /* @__PURE__ */ jsx4("div", { ref, className: "kz-polaroid-photo", children: img })
77
99
  ]
78
100
  }
79
101
  );
80
102
  }
81
103
 
82
104
  // src/wall/shop-sign.tsx
83
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
84
- function ShopSign({ logo, variant = "enamel", rotation = 0, animated = true, className, ...props }) {
85
- return /* @__PURE__ */ jsxs3("div", { ...props, className: cn("kz-shop-sign kz-wall-object", className), style: rotationStyle(rotation), "data-variant": variant, "data-animated": animated ? "" : void 0, children: [
86
- variant === "enamel" && [0, 1, 2, 3].map((corner) => /* @__PURE__ */ jsx4("span", { "aria-hidden": "true", className: "kz-shop-sign-screw", "data-corner": corner }, corner)),
87
- /* @__PURE__ */ jsx4("div", { className: "kz-shop-sign-logo", children: logo })
105
+ import * as React2 from "react";
106
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
107
+ function useFirstView(enabled) {
108
+ const ref = React2.useRef(null);
109
+ const [state, setState] = React2.useState();
110
+ React2.useEffect(() => {
111
+ if (!enabled || !ref.current || typeof IntersectionObserver === "undefined" || typeof matchMedia === "undefined") return;
112
+ const preference = matchMedia("(prefers-reduced-motion: reduce)");
113
+ let seen = false;
114
+ let observer;
115
+ const sync = () => {
116
+ observer?.disconnect();
117
+ if (preference.matches) {
118
+ setState(void 0);
119
+ } else if (!seen) {
120
+ setState("waiting");
121
+ observer = new IntersectionObserver((entries) => {
122
+ if (seen || !entries.some((entry) => entry.isIntersecting)) return;
123
+ seen = true;
124
+ setState("ready");
125
+ observer?.disconnect();
126
+ }, { threshold: 0.3 });
127
+ observer.observe(ref.current);
128
+ }
129
+ };
130
+ sync();
131
+ preference.addEventListener("change", sync);
132
+ return () => {
133
+ observer?.disconnect();
134
+ preference.removeEventListener("change", sync);
135
+ };
136
+ }, [enabled]);
137
+ return [ref, state];
138
+ }
139
+ function ShopSign({ children, as: Name = "h1", logo, variant = "enamel", rotation = 0, animated = true, className, ...props }) {
140
+ const [ref, lit] = useFirstView(variant === "neon" && animated);
141
+ return /* @__PURE__ */ jsxs4("div", { ...props, ref, className: cn("kz-shop-sign kz-wall-object", className), style: rotationStyle(rotation), "data-variant": variant, "data-animated": animated ? "" : void 0, "data-lit": lit, children: [
142
+ variant === "enamel" && [0, 1, 2, 3].map((corner) => /* @__PURE__ */ jsx5("span", { "aria-hidden": "true", className: "kz-shop-sign-screw", "data-corner": corner }, corner)),
143
+ logo && /* @__PURE__ */ jsx5("div", { className: "kz-shop-sign-logo", children: logo }),
144
+ children && /* @__PURE__ */ jsx5(Name, { className: "kz-shop-sign-name", children })
88
145
  ] });
89
146
  }
90
147
 
91
148
  // src/wall/wall.tsx
92
- import * as React2 from "react";
93
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
94
- function Wall({ items, texture = "plaster", height = 560, itemWidth = 240, className, ...props }) {
95
- const patternId = React2.useId().replace(/:/g, "");
96
- return /* @__PURE__ */ jsxs4("ul", { ...props, role: "list", className: cn("kz-wall", className), "data-texture": texture, style: { "--kz-wall-height": `${Math.max(320, finite(height))}px`, "--kz-wall-item-width": `${Math.max(120, finite(itemWidth))}px` }, children: [
97
- [...items].sort((a, b) => finite(a.z) - finite(b.z)).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => /* @__PURE__ */ jsx5("li", { className: "kz-wall-item", tabIndex: 0, style: {
149
+ import * as React3 from "react";
150
+ import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
151
+ function WallObject({ item }) {
152
+ if (item.kind === "polaroid") return /* @__PURE__ */ jsx6(Polaroid, { ...item, rotation: 0 });
153
+ if (item.kind === "note") return /* @__PURE__ */ jsx6(PinnedNote, { ...item, rotation: 0 });
154
+ return /* @__PURE__ */ jsx6(ShopSign, { ...item, as: item.as ?? "p", rotation: 0 });
155
+ }
156
+ function Wall({ items, texture = "plaster", max = 12, height, itemWidth = 240, className, ...props }) {
157
+ const patternId = React3.useId().replace(/:/g, "");
158
+ const drawn = Math.max(0, Math.floor(finite(max)));
159
+ return /* @__PURE__ */ jsxs5("ul", { ...props, role: "list", className: cn("kz-wall", className), "data-texture": texture, "data-count": Math.min(items.length, drawn), "data-fixed-height": height === void 0 ? void 0 : "", style: { ...height === void 0 ? null : { "--kz-wall-height": `${Math.max(320, finite(height))}px` }, "--kz-wall-item-width": `${Math.max(120, finite(itemWidth))}px` }, children: [
160
+ [...items].sort((a, b) => finite(a.z) - finite(b.z)).slice(0, drawn).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => /* @__PURE__ */ jsx6("li", { className: "kz-wall-item", tabIndex: 0, style: {
98
161
  "--kz-wall-x": `${Math.min(100, Math.max(0, finite(x)))}%`,
99
162
  "--kz-wall-y": `${Math.min(100, Math.max(0, finite(y)))}%`,
100
163
  "--kz-wall-rotation": `${finite(rotation)}deg`,
101
164
  zIndex: rank
102
- }, children: item.kind === "polaroid" ? /* @__PURE__ */ jsx5(Polaroid, { ...item, rotation: 0 }) : item.kind === "note" ? /* @__PURE__ */ jsx5(PinnedNote, { ...item, rotation: 0 }) : /* @__PURE__ */ jsx5(ShopSign, { ...item, rotation: 0 }) }, id)),
103
- texture === "brick" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
104
- /* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsx5("pattern", { id: patternId, width: "96", height: "48", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx5("path", { d: "M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48", fill: "none", stroke: "var(--kz-border-default)", strokeWidth: "2" }) }) }),
105
- /* @__PURE__ */ jsx5("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
165
+ }, children: /* @__PURE__ */ jsx6(WallObject, { item }) }, id)),
166
+ texture === "brick" && /* @__PURE__ */ jsx6("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs5("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
167
+ /* @__PURE__ */ jsx6("defs", { children: /* @__PURE__ */ jsx6("pattern", { id: patternId, width: "96", height: "48", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx6("path", { d: "M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48", fill: "none", stroke: "var(--kz-border-default)", strokeWidth: "2" }) }) }),
168
+ /* @__PURE__ */ jsx6("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
106
169
  ] }) }),
107
- texture === "zellige" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
108
- /* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsxs4("pattern", { id: patternId, width: "64", height: "64", patternUnits: "userSpaceOnUse", children: [
109
- /* @__PURE__ */ jsx5("path", { d: "M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z", fill: "var(--kz-accent-soft)", stroke: "var(--kz-border-default)" }),
110
- /* @__PURE__ */ jsx5("path", { d: "m32 18 14 14-14 14-14-14Z", fill: "var(--kz-surface-2)", stroke: "var(--kz-accent-2)" })
170
+ texture === "zellige" && /* @__PURE__ */ jsx6("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs5("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
171
+ /* @__PURE__ */ jsx6("defs", { children: /* @__PURE__ */ jsxs5("pattern", { id: patternId, width: "64", height: "64", patternUnits: "userSpaceOnUse", children: [
172
+ /* @__PURE__ */ jsx6("path", { d: "M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z", fill: "var(--kz-accent-soft)", stroke: "var(--kz-border-default)" }),
173
+ /* @__PURE__ */ jsx6("path", { d: "m32 18 14 14-14 14-14-14Z", fill: "var(--kz-surface-2)", stroke: "var(--kz-accent-2)" })
111
174
  ] }) }),
112
- /* @__PURE__ */ jsx5("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
175
+ /* @__PURE__ */ jsx6("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
113
176
  ] }) }),
114
- texture === "ridge" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { viewBox: "0 0 1000 600", preserveAspectRatio: "none", width: "100%", height: "100%", "aria-hidden": "true", children: [
115
- /* @__PURE__ */ jsx5("path", { d: "M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z", fill: "var(--kz-accent-soft)" }),
116
- /* @__PURE__ */ jsx5("path", { d: "M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z", fill: "var(--kz-surface-2)" }),
117
- /* @__PURE__ */ jsx5("path", { d: "M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z", fill: "var(--kz-surface-3)" })
177
+ texture === "ridge" && /* @__PURE__ */ jsx6("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs5("svg", { viewBox: "0 0 1000 600", preserveAspectRatio: "none", width: "100%", height: "100%", "aria-hidden": "true", children: [
178
+ /* @__PURE__ */ jsx6("path", { d: "M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z", fill: "var(--kz-accent-soft)" }),
179
+ /* @__PURE__ */ jsx6("path", { d: "M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z", fill: "var(--kz-surface-2)" }),
180
+ /* @__PURE__ */ jsx6("path", { d: "M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z", fill: "var(--kz-surface-3)" })
118
181
  ] }) })
119
182
  ] });
120
183
  }
package/dist/wall.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/wall/attachment.tsx","../src/wall/pinned-note.tsx","../src/wall/polaroid.tsx","../src/wall/shop-sign.tsx","../src/wall/wall.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport interface WallObjectProps {\n /** Tilt in degrees, deterministic; defaults to zero. */\n rotation?: number;\n /** A tape strip or a pin; defaults to tape. */\n attachment?: \"tape\" | \"pin\";\n /** The tape or pin's tilt in degrees; defaults to zero. */\n attachmentRotation?: number;\n}\n\nexport const finite = (value: number) => Number.isFinite(value) ? value : 0;\nexport const rotationStyle = (rotation: number): CSSProperties =>\n ({ \"--kz-wall-rotation\": `${finite(rotation)}deg` }) as CSSProperties;\n\nexport function Attachment({ attachment = \"tape\", attachmentRotation = 0 }: WallObjectProps) {\n return <span aria-hidden=\"true\" className={cn(\"kz-wall-attachment\", attachment === \"pin\" ? \"kz-wall-pin\" : \"kz-wall-tape\")} style={{ transform: `rotate(${finite(attachmentRotation)}deg)` }} />;\n}\n","import type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Attachment, rotationStyle, type WallObjectProps } from \"./attachment\";\n\nexport interface PinnedNoteProps extends Omit<React.ComponentProps<\"article\">, \"children\" | \"style\">, WallObjectProps {\n /** The short message; capped at 140 Unicode code points without an ellipsis. */\n text: string;\n /** The optional author's signature, written in the handwriting role. */\n signature?: string;\n}\n\n/** A short word on a cut-corner card. */\nexport function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation, className, ...props }: PinnedNoteProps) {\n return (\n <article {...props} className={cn(\"kz-pinned-note kz-wall-object\", className)} style={rotationStyle(rotation)} data-shape=\"cut\">\n <Attachment attachment={attachment} attachmentRotation={attachmentRotation} />\n <div className=\"kz-pinned-note-paper\">\n <p className=\"kz-pinned-note-text\">{Array.from(text).slice(0, 140).join(\"\")}</p>\n {signature && <p className=\"kz-pinned-note-signature\">{signature}</p>}\n </div>\n </article>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { TapedPhoto } from \"../taped-photo\";\nimport { Attachment, finite, type WallObjectProps } from \"./attachment\";\n\nexport interface PolaroidProps extends Omit<React.ComponentProps<\"figure\">, \"children\" | \"style\">, WallObjectProps {\n /** The photo slot: an img or next/image, including fill inside this positioned frame. Supply its alt text. */\n img: React.ReactNode;\n /** A short handwritten caption, using the --kz-font-cahier role. */\n caption?: React.ReactNode;\n /** Enable the first-view develop effect; defaults to true, never runs under reduced motion. */\n develop?: boolean;\n}\n\n/** A photo held to the wall by tape or a pin, with a handwritten caption. */\nexport function Polaroid({ img, caption, rotation = 0, attachment = \"tape\", attachmentRotation = 0, develop = true, className, ...props }: PolaroidProps) {\n const ref = React.useRef<HTMLDivElement>(null);\n const [state, setState] = React.useState<\"waiting\" | \"ready\" | undefined>();\n React.useEffect(() => {\n if (!develop || !ref.current || typeof IntersectionObserver === \"undefined\" || typeof matchMedia === \"undefined\") return;\n const preference = matchMedia(\"(prefers-reduced-motion: reduce)\");\n let seen = false;\n let observer: IntersectionObserver | undefined;\n const sync = () => {\n observer?.disconnect();\n if (preference.matches) {\n seen = true;\n setState(undefined);\n } else if (!seen) {\n setState(\"waiting\");\n observer = new IntersectionObserver((entries) => {\n if (seen || !entries.some((entry) => entry.isIntersecting)) return;\n seen = true;\n setState(\"ready\");\n observer?.disconnect();\n }, { threshold: 0.15 });\n observer.observe(ref.current!);\n }\n };\n sync();\n preference.addEventListener(\"change\", sync);\n return () => { observer?.disconnect(); preference.removeEventListener(\"change\", sync); };\n }, [develop]);\n return (\n <TapedPhoto {...props} className={cn(\"kz-polaroid\", className)} tilt={finite(rotation)} tape={attachment === \"pin\" ? \"none\" : \"top\"} caption={caption}\n style={{ \"--kz-wall-attachment-rotation\": `${finite(attachmentRotation)}deg` } as React.CSSProperties} data-develop={develop ? state : undefined}>\n {attachment === \"pin\" && <Attachment attachment=\"pin\" attachmentRotation={attachmentRotation} />}\n <div ref={ref} className=\"kz-polaroid-photo\">{img}</div>\n </TapedPhoto>\n );\n}\n","import type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { rotationStyle } from \"./attachment\";\n\nexport interface ShopSignProps extends Omit<React.ComponentProps<\"div\">, \"children\" | \"style\"> {\n /** The owner's logo or wordmark. Name an SVG/image accessibly, or use readable text. */\n logo: React.ReactNode;\n /** Enamel plate and screws, softly glowing neon, or a time-worn painted sign. */\n variant?: \"enamel\" | \"neon\" | \"painted\";\n /** Deterministic tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Allow a single soft neon flicker on mount; defaults to true and respects reduced motion. */\n animated?: boolean;\n}\n\n/** A shop's own mark, as a plate, a neon, or a painted sign. */\nexport function ShopSign({ logo, variant = \"enamel\", rotation = 0, animated = true, className, ...props }: ShopSignProps) {\n return (\n <div {...props} className={cn(\"kz-shop-sign kz-wall-object\", className)} style={rotationStyle(rotation)} data-variant={variant} data-animated={animated ? \"\" : undefined}>\n {variant === \"enamel\" && [0, 1, 2, 3].map((corner) => <span key={corner} aria-hidden=\"true\" className=\"kz-shop-sign-screw\" data-corner={corner} />)}\n <div className=\"kz-shop-sign-logo\">{logo}</div>\n </div>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { finite } from \"./attachment\";\nimport { PinnedNote, type PinnedNoteProps } from \"./pinned-note\";\nimport { Polaroid, type PolaroidProps } from \"./polaroid\";\nimport { ShopSign, type ShopSignProps } from \"./shop-sign\";\n\nexport interface WallPosition {\n /** Stable identity for this object. */\n id: string;\n /** Horizontal placement as a percentage (0–100); clamped to the wall. */\n x: number;\n /** Vertical placement as a percentage (0–100); clamped to the wall. */\n y: number;\n /** Tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Stacking and reading order, ascending; ties preserve input order. */\n z: number;\n}\n\n/** The item's kind chooses its component; its remaining fields are that component's props. */\nexport type WallItem = WallPosition & (\n | ({ /** A framed photo. */ kind: \"polaroid\" } & PolaroidProps)\n | ({ /** A short pinned message. */ kind: \"note\" } & PinnedNoteProps)\n | ({ /** The owner's sign. */ kind: \"sign\" } & ShopSignProps)\n);\n\nexport interface WallProps extends Omit<React.ComponentProps<\"ul\">, \"children\" | \"style\" | \"role\"> {\n /** The read-only objects; never mutated. Sorted by z for reading, keyboard and phone order. */\n items: readonly WallItem[];\n /** CSS/SVG texture; no image download. Defaults to plaster. */\n texture?: \"brick\" | \"zellige\" | \"ridge\" | \"plaster\";\n /** Desktop surface height in pixels (minimum 320); defaults to 560. Phones grow with content. */\n height?: number;\n /** Desktop object width in pixels (minimum 120); defaults to 240 and never exceeds the surface. */\n itemWidth?: number;\n}\n\n/** A decorative textured surface over a real keyboard-reachable list; never an editor. */\nexport function Wall({ items, texture = \"plaster\", height = 560, itemWidth = 240, className, ...props }: WallProps) {\n const patternId = React.useId().replace(/:/g, \"\");\n return (\n <ul {...props} role=\"list\" className={cn(\"kz-wall\", className)} data-texture={texture} style={{ \"--kz-wall-height\": `${Math.max(320, finite(height))}px`, \"--kz-wall-item-width\": `${Math.max(120, finite(itemWidth))}px` } as React.CSSProperties}>\n {[...items].sort((a, b) => finite(a.z) - finite(b.z)).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => (\n <li key={id} className=\"kz-wall-item\" tabIndex={0} style={{\n \"--kz-wall-x\": `${Math.min(100, Math.max(0, finite(x)))}%`,\n \"--kz-wall-y\": `${Math.min(100, Math.max(0, finite(y)))}%`,\n \"--kz-wall-rotation\": `${finite(rotation)}deg`,\n zIndex: rank,\n } as React.CSSProperties}>\n {item.kind === \"polaroid\" ? <Polaroid {...item} rotation={0} /> : item.kind === \"note\" ? <PinnedNote {...item} rotation={0} /> : <ShopSign {...item} rotation={0} />}\n </li>\n ))}\n {texture === \"brick\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"96\" height=\"48\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48\" fill=\"none\" stroke=\"var(--kz-border-default)\" strokeWidth=\"2\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"zellige\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"64\" height=\"64\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z\" fill=\"var(--kz-accent-soft)\" stroke=\"var(--kz-border-default)\" />\n <path d=\"m32 18 14 14-14 14-14-14Z\" fill=\"var(--kz-surface-2)\" stroke=\"var(--kz-accent-2)\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"ridge\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg viewBox=\"0 0 1000 600\" preserveAspectRatio=\"none\" width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <path d=\"M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z\" fill=\"var(--kz-accent-soft)\" />\n <path d=\"M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z\" fill=\"var(--kz-surface-2)\" />\n <path d=\"M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z\" fill=\"var(--kz-surface-3)\" />\n </svg></li>}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;;AAkBS;AALF,IAAM,SAAS,CAAC,UAAkB,OAAO,SAAS,KAAK,IAAI,QAAQ;AACnE,IAAM,gBAAgB,CAAC,cAC3B,EAAE,sBAAsB,GAAG,OAAO,QAAQ,CAAC,MAAM;AAE7C,SAAS,WAAW,EAAE,aAAa,QAAQ,qBAAqB,EAAE,GAAoB;AAC3F,SAAO,oBAAC,UAAK,eAAY,QAAO,WAAW,GAAG,sBAAsB,eAAe,QAAQ,gBAAgB,cAAc,GAAG,OAAO,EAAE,WAAW,UAAU,OAAO,kBAAkB,CAAC,OAAO,GAAG;AAChM;;;ACHM,gBAAAA,MACA,YADA;AAHC,SAAS,WAAW,EAAE,MAAM,WAAW,WAAW,GAAG,YAAY,oBAAoB,WAAW,GAAG,MAAM,GAAoB;AAClI,SACE,qBAAC,aAAS,GAAG,OAAO,WAAW,GAAG,iCAAiC,SAAS,GAAG,OAAO,cAAc,QAAQ,GAAG,cAAW,OACxH;AAAA,oBAAAA,KAAC,cAAW,YAAwB,oBAAwC;AAAA,IAC5E,qBAAC,SAAI,WAAU,wBACb;AAAA,sBAAAA,KAAC,OAAE,WAAU,uBAAuB,gBAAM,KAAK,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,KAAK,EA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AC,SAAI,OAAM,QAAO,QAAO,QAAO,eAAY,QAC9I;AAAA,sBAAAD,KAAC,UAAK,0BAAAC,MAAC,aAAQ,IAAI,WAAW,OAAM,MAAK,QAAO,MAAK,cAAa,kBAChE;AAAA,wBAAAD,KAAC,UAAK,GAAE,mGAAkG,MAAK,yBAAwB,QAAO,4BAA2B;AAAA,QACzK,gBAAAA,KAAC,UAAK,GAAE,6BAA4B,MAAK,uBAAsB,QAAO,sBAAqB;AAAA,SAC7F,GAAU;AAAA,MAAO,gBAAAA,KAAC,UAAK,OAAM,QAAO,QAAO,QAAO,MAAM,QAAQ,SAAS,KAAK;AAAA,OAChF,GAAM;AAAA,IACL,YAAY,WAAW,gBAAAA,KAAC,QAAG,WAAU,sBAAqB,eAAY,QAAO,MAAK,gBAAe,0BAAAC,MAAC,SAAI,SAAQ,gBAAe,qBAAoB,QAAO,OAAM,QAAO,QAAO,QAAO,eAAY,QAC9L;AAAA,sBAAAD,KAAC,UAAK,GAAE,iEAAgE,MAAK,yBAAwB;AAAA,MACrG,gBAAAA,KAAC,UAAK,GAAE,kEAAiE,MAAK,uBAAsB;AAAA,MACpG,gBAAAA,KAAC,UAAK,GAAE,kEAAiE,MAAK,uBAAsB;AAAA,OACtG,GAAM;AAAA,KACR;AAEJ;","names":["jsx","jsx","jsxs","jsx","jsxs","React","jsx","jsxs"]}
1
+ {"version":3,"sources":["../src/cahier-seed.ts","../src/stuck/stuck.tsx","../src/wall/pinned-note.tsx","../src/wall/polaroid.tsx","../src/wall/attachment.tsx","../src/wall/shop-sign.tsx","../src/wall/wall.tsx"],"sourcesContent":["// The Cahier's small deterministic randomness: a string (an id, a slug, a title) becomes a number in [-1, 1], always the\n// same one, so a tilt or a wobble drawn \"by hand\" is the same on the server, on the client and in every screenshot.\nexport function seedUnit(seed: string): number {\n let h = 2166136261;\n for (let i = 0; i < seed.length; i++) h = Math.imul(h ^ seed.charCodeAt(i), 16777619);\n return ((h >>> 0) % 2001) / 1000 - 1;\n}\n","// Server-safe. A block stuck into the notebook (ADR-004, blocks.css): a figure, a specimen tag, a card, a print — held by\n// tape, a pin, photo corners or a lifted edge, slightly tilted (from data, never random), on the Cahier's hard paper\n// shadow. The tape is TapedPhoto's own (the same rule in blocks.css). The tilt is a transform: nothing shifts.\nimport type * as React from \"react\";\n\nimport { seedUnit } from \"../cahier-seed\";\nimport { cn } from \"../cn\";\n\nexport type StuckHold = \"tape\" | \"tape-corners\" | \"pin\" | \"corner\" | \"glue\";\n\nexport type StuckProps = Omit<React.HTMLAttributes<HTMLElement>, \"children\"> & {\n /** What is stuck: a figure, a `SpecimenTag`, a card, a `TapedPhoto`. */\n children: React.ReactNode;\n /**\n * How it is held: `tape` (one strip), `tape-corners` (two opposite corners), `pin` (a drawing pin), `corner` (photo\n * corners) or `glue` (a slightly lifted edge).\n * @default \"tape\"\n */\n hold?: StuckHold;\n /** The tilt in degrees (negative leans left). Without it, the tilt comes from `seed`. */\n tilt?: number;\n /** Where the tilt comes from when `tilt` is not given: the same string always leans the same way (±2°). @default \"\" */\n seed?: string;\n /** Margin doodles (`Doodle`) drawn beside the block; they leave with the margin on a narrow screen. */\n doodle?: React.ReactNode;\n /** The element of the wrapper. A `figure` goes inside, never here. @default \"div\" */\n as?: \"div\" | \"li\" | \"aside\";\n};\n\n/** The tilt of a stuck block: `tilt` when given, otherwise a steady lean (−2° to 2°) read from `seed`, rounded to a tenth. */\nexport function stuckTilt(seed: string, tilt?: number): number {\n return tilt ?? Math.round(seedUnit(seed) * 20) / 10;\n}\n\n/** A block stuck into the notebook: held by tape, a pin, photo corners or glue; tilted from data; a hard paper shadow. */\nexport function Stuck({ children, hold = \"tape\", tilt, seed = \"\", doodle, as: Tag = \"div\", className, style, ...props }: StuckProps) {\n return (\n <Tag className={cn(\"kz-stuck\", className)} style={style} {...props}>\n <div className=\"kz-stuck-body\" data-hold={hold} style={{ [\"--kz-stuck-tilt\" as string]: `${stuckTilt(seed, tilt)}deg` }}>\n {hold === \"pin\" ? <span className=\"kz-stuck-pin\" aria-hidden /> : null}\n {children}\n </div>\n {doodle}\n </Tag>\n );\n}\n","import type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Stuck } from \"../stuck\";\nimport type { WallObjectProps } from \"./attachment\";\n\nexport interface PinnedNoteProps extends Omit<React.ComponentProps<\"article\">, \"children\" | \"style\">, WallObjectProps {\n /** The short message; capped at 140 Unicode code points without an ellipsis. */\n text: string;\n /** The optional author's signature, written in the handwriting role. */\n signature?: string;\n /** The ink of the pen: blue ink, the margin's red, or the page's hue. @default \"blue\" */\n ink?: \"blue\" | \"margin\" | \"hue\";\n /** How the note is held, through `Stuck`: a strip of tape or a pin. Takes over `attachment`. @default \"tape\" */\n hold?: \"tape\" | \"pin\";\n /** The lines of the text box, fixed so a late font never shifts the page (the text is read in full by assistive technology). @default 4 */\n lines?: number;\n}\n\n/** A short word on a cut-corner card, stuck into the notebook. */\nexport function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation: _attachmentRotation, ink = \"blue\", hold, lines = 4, className, ...props }: PinnedNoteProps) {\n const rows = Math.max(1, Math.round(Number.isFinite(lines) ? lines : 4));\n return (\n <Stuck hold={hold ?? attachment ?? \"tape\"} tilt={Number.isFinite(rotation) ? rotation : 0} className=\"kz-wall-object kz-pinned-stuck\">\n <article {...props} className={cn(\"kz-pinned-note\", className)} data-shape=\"cut\" data-ink={ink} style={{ \"--kz-note-lines\": rows } as React.CSSProperties}>\n <div className=\"kz-pinned-note-paper\">\n <p className=\"kz-pinned-note-text\">{Array.from(text).slice(0, 140).join(\"\")}</p>\n {signature && <p className=\"kz-pinned-note-signature\">{signature}</p>}\n </div>\n </article>\n </Stuck>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { TapedPhoto } from \"../taped-photo\";\nimport { Attachment, finite, type WallObjectProps } from \"./attachment\";\n\nexport interface PolaroidProps extends Omit<React.ComponentProps<\"figure\">, \"children\" | \"style\">, WallObjectProps {\n /** The photo slot: an img or next/image, including fill inside this positioned frame. Supply its alt text. */\n img: React.ReactNode;\n /** A short handwritten caption, using the --kz-font-cahier role. */\n caption?: React.ReactNode;\n /** Enable the first-view develop effect; defaults to true, never runs under reduced motion. */\n develop?: boolean;\n}\n\n/** A photo held to the wall by tape or a pin, with a handwritten caption. */\nexport function Polaroid({ img, caption, rotation = 0, attachment = \"tape\", attachmentRotation = 0, develop = true, className, ...props }: PolaroidProps) {\n const ref = React.useRef<HTMLDivElement>(null);\n const [state, setState] = React.useState<\"waiting\" | \"ready\" | undefined>();\n React.useEffect(() => {\n if (!develop || !ref.current || typeof IntersectionObserver === \"undefined\" || typeof matchMedia === \"undefined\") return;\n const preference = matchMedia(\"(prefers-reduced-motion: reduce)\");\n let seen = false;\n let observer: IntersectionObserver | undefined;\n const sync = () => {\n observer?.disconnect();\n if (preference.matches) {\n seen = true;\n setState(undefined);\n } else if (!seen) {\n setState(\"waiting\");\n observer = new IntersectionObserver((entries) => {\n if (seen || !entries.some((entry) => entry.isIntersecting)) return;\n seen = true;\n setState(\"ready\");\n observer?.disconnect();\n }, { threshold: 0.15 });\n observer.observe(ref.current!);\n }\n };\n sync();\n preference.addEventListener(\"change\", sync);\n return () => { observer?.disconnect(); preference.removeEventListener(\"change\", sync); };\n }, [develop]);\n return (\n <TapedPhoto {...props} className={cn(\"kz-polaroid\", className)} tilt={finite(rotation)} tape={attachment === \"pin\" ? \"none\" : \"top\"} caption={caption}\n style={{ \"--kz-wall-attachment-rotation\": `${finite(attachmentRotation)}deg` } as React.CSSProperties} data-develop={develop ? state : undefined}>\n {attachment === \"pin\" && <Attachment attachment=\"pin\" attachmentRotation={attachmentRotation} />}\n <div ref={ref} className=\"kz-polaroid-photo\">{img}</div>\n </TapedPhoto>\n );\n}\n","import type { CSSProperties } from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport interface WallObjectProps {\n /** Tilt in degrees, deterministic; defaults to zero. */\n rotation?: number;\n /** A tape strip or a pin; defaults to tape. */\n attachment?: \"tape\" | \"pin\";\n /** The tape or pin's tilt in degrees; defaults to zero. */\n attachmentRotation?: number;\n}\n\nexport const finite = (value: number) => Number.isFinite(value) ? value : 0;\nexport const rotationStyle = (rotation: number): CSSProperties =>\n ({ \"--kz-wall-rotation\": `${finite(rotation)}deg` }) as CSSProperties;\n\nexport function Attachment({ attachment = \"tape\", attachmentRotation = 0 }: WallObjectProps) {\n return <span aria-hidden=\"true\" className={cn(\"kz-wall-attachment\", attachment === \"pin\" ? \"kz-wall-pin\" : \"kz-wall-tape\")} style={{ transform: `rotate(${finite(attachmentRotation)}deg)` }} />;\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { rotationStyle } from \"./attachment\";\n\nexport interface ShopSignProps extends Omit<React.ComponentProps<\"div\">, \"style\"> {\n /** The shop's name as live text, in the sign's lettering: the page's heading (`as`). Prefer it to an image of the name. */\n children?: React.ReactNode;\n /** The element of the name: the page's `h1` by default, `h2`/`h3` for a second sign, `p` for none. A sign on a `Wall` is a `p` unless told otherwise. */\n as?: \"h1\" | \"h2\" | \"h3\" | \"p\";\n /** The owner's logo or wordmark, optional beside the name. Name an SVG/image accessibly, or use readable text. */\n logo?: React.ReactNode;\n /** Enamel plate and screws, softly glowing neon, a time-worn painted sign, or `none` (the name alone on paper). */\n variant?: \"enamel\" | \"neon\" | \"painted\" | \"none\";\n /** Deterministic tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Allow one soft neon flicker the first time the sign is seen; defaults to true, never loops, respects reduced motion. */\n animated?: boolean;\n}\n\n/** The neon's first view: `waiting` until it is on screen, then `ready` once. Nothing under reduced motion or without observers. */\nfunction useFirstView(enabled: boolean) {\n const ref = React.useRef<HTMLDivElement>(null);\n const [state, setState] = React.useState<\"waiting\" | \"ready\" | undefined>();\n React.useEffect(() => {\n if (!enabled || !ref.current || typeof IntersectionObserver === \"undefined\" || typeof matchMedia === \"undefined\") return;\n const preference = matchMedia(\"(prefers-reduced-motion: reduce)\");\n let seen = false;\n let observer: IntersectionObserver | undefined;\n const sync = () => {\n observer?.disconnect();\n if (preference.matches) {\n setState(undefined);\n } else if (!seen) {\n setState(\"waiting\");\n observer = new IntersectionObserver((entries) => {\n if (seen || !entries.some((entry) => entry.isIntersecting)) return;\n seen = true;\n setState(\"ready\");\n observer?.disconnect();\n }, { threshold: 0.3 });\n observer.observe(ref.current!);\n }\n };\n sync();\n preference.addEventListener(\"change\", sync);\n return () => { observer?.disconnect(); preference.removeEventListener(\"change\", sync); };\n }, [enabled]);\n return [ref, state] as const;\n}\n\n/** A shop's own mark, as a plate, a neon, a painted sign, or the name alone. */\nexport function ShopSign({ children, as: Name = \"h1\", logo, variant = \"enamel\", rotation = 0, animated = true, className, ...props }: ShopSignProps) {\n const [ref, lit] = useFirstView(variant === \"neon\" && animated);\n return (\n <div {...props} ref={ref} className={cn(\"kz-shop-sign kz-wall-object\", className)} style={rotationStyle(rotation)} data-variant={variant} data-animated={animated ? \"\" : undefined} data-lit={lit}>\n {variant === \"enamel\" && [0, 1, 2, 3].map((corner) => <span key={corner} aria-hidden=\"true\" className=\"kz-shop-sign-screw\" data-corner={corner} />)}\n {logo && <div className=\"kz-shop-sign-logo\">{logo}</div>}\n {children && <Name className=\"kz-shop-sign-name\">{children}</Name>}\n </div>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { finite } from \"./attachment\";\nimport { PinnedNote, type PinnedNoteProps } from \"./pinned-note\";\nimport { Polaroid, type PolaroidProps } from \"./polaroid\";\nimport { ShopSign, type ShopSignProps } from \"./shop-sign\";\n\nexport interface WallPosition {\n /** Stable identity for this object. */\n id: string;\n /** Horizontal placement as a percentage (0–100); clamped to the wall. */\n x: number;\n /** Vertical placement as a percentage (0–100); clamped to the wall. */\n y: number;\n /** Tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Stacking and reading order, ascending; ties preserve input order. */\n z: number;\n}\n\n/** The item's kind chooses its component; its remaining fields are that component's props. */\nexport type WallItem = WallPosition & (\n | ({ /** A framed photo. */ kind: \"polaroid\" } & PolaroidProps)\n | ({ /** A short pinned message. */ kind: \"note\" } & PinnedNoteProps)\n | ({ /** The owner's sign. */ kind: \"sign\" } & ShopSignProps)\n);\n\ntype DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;\n\nexport interface WallProps extends Omit<React.ComponentProps<\"ul\">, \"children\" | \"style\" | \"role\"> {\n /** The read-only objects; never mutated. Sorted by z for reading, keyboard and phone order. */\n items: readonly WallItem[];\n /** CSS/SVG texture; no image download. Defaults to plaster. */\n texture?: \"brick\" | \"zellige\" | \"ridge\" | \"plaster\";\n /** Draws at most this many items (the first in z order); defaults to 12. The rest belongs to the host's « see the whole wall ». */\n max?: number;\n /** A fixed desktop surface height in pixels (minimum 320). Absent, the surface is a fixed 16:9 box. Phones grow with content. */\n height?: number;\n /** Desktop object width in pixels (minimum 120); defaults to 240 and never exceeds the surface. */\n itemWidth?: number;\n}\n\n/** The object of one item, straight: the wall places and tilts it. A sign on a wall is a paragraph, not a second h1. */\nfunction WallObject({ item }: { readonly item: DistributiveOmit<WallItem, keyof WallPosition> }) {\n if (item.kind === \"polaroid\") return <Polaroid {...item} rotation={0} />;\n if (item.kind === \"note\") return <PinnedNote {...item} rotation={0} />;\n return <ShopSign {...item} as={item.as ?? \"p\"} rotation={0} />;\n}\n\n/** A decorative textured surface over a real keyboard-reachable list; never an editor. */\nexport function Wall({ items, texture = \"plaster\", max = 12, height, itemWidth = 240, className, ...props }: WallProps) {\n const patternId = React.useId().replace(/:/g, \"\");\n const drawn = Math.max(0, Math.floor(finite(max)));\n return (\n <ul {...props} role=\"list\" className={cn(\"kz-wall\", className)} data-texture={texture} data-count={Math.min(items.length, drawn)} data-fixed-height={height === undefined ? undefined : \"\"} style={{ ...(height === undefined ? null : { \"--kz-wall-height\": `${Math.max(320, finite(height))}px` }), \"--kz-wall-item-width\": `${Math.max(120, finite(itemWidth))}px` } as React.CSSProperties}>\n {[...items].sort((a, b) => finite(a.z) - finite(b.z)).slice(0, drawn).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => (\n <li key={id} className=\"kz-wall-item\" tabIndex={0} style={{\n \"--kz-wall-x\": `${Math.min(100, Math.max(0, finite(x)))}%`,\n \"--kz-wall-y\": `${Math.min(100, Math.max(0, finite(y)))}%`,\n \"--kz-wall-rotation\": `${finite(rotation)}deg`,\n zIndex: rank,\n } as React.CSSProperties}>\n <WallObject item={item} />\n </li>\n ))}\n {texture === \"brick\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"96\" height=\"48\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48\" fill=\"none\" stroke=\"var(--kz-border-default)\" strokeWidth=\"2\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"zellige\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"64\" height=\"64\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z\" fill=\"var(--kz-accent-soft)\" stroke=\"var(--kz-border-default)\" />\n <path d=\"m32 18 14 14-14 14-14-14Z\" fill=\"var(--kz-surface-2)\" stroke=\"var(--kz-accent-2)\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"ridge\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg viewBox=\"0 0 1000 600\" preserveAspectRatio=\"none\" width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <path d=\"M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z\" fill=\"var(--kz-accent-soft)\" />\n <path d=\"M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z\" fill=\"var(--kz-surface-2)\" />\n <path d=\"M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z\" fill=\"var(--kz-surface-3)\" />\n </svg></li>}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;;AAEO,SAAS,SAAS,MAAsB;AAC7C,MAAI,IAAI;AACR,WAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,IAAK,KAAI,KAAK,KAAK,IAAI,KAAK,WAAW,CAAC,GAAG,QAAQ;AACpF,UAAS,MAAM,KAAK,OAAQ,MAAO;AACrC;;;ACgCM,SACoB,KADpB;AARC,SAAS,UAAU,MAAc,MAAuB;AAC7D,SAAO,QAAQ,KAAK,MAAM,SAAS,IAAI,IAAI,EAAE,IAAI;AACnD;AAGO,SAAS,MAAM,EAAE,UAAU,OAAO,QAAQ,MAAM,OAAO,IAAI,QAAQ,IAAI,MAAM,OAAO,WAAW,OAAO,GAAG,MAAM,GAAe;AACnI,SACE,qBAAC,OAAI,WAAW,GAAG,YAAY,SAAS,GAAG,OAAe,GAAG,OAC3D;AAAA,yBAAC,SAAI,WAAU,iBAAgB,aAAW,MAAM,OAAO,EAAE,CAAC,iBAA2B,GAAG,GAAG,UAAU,MAAM,IAAI,CAAC,MAAM,GACnH;AAAA,eAAS,QAAQ,oBAAC,UAAK,WAAU,gBAAe,eAAW,MAAC,IAAK;AAAA,MACjE;AAAA,OACH;AAAA,IACC;AAAA,KACH;AAEJ;;;ACpBQ,SACE,OAAAA,MADF,QAAAC,aAAA;AALD,SAAS,WAAW,EAAE,MAAM,WAAW,WAAW,GAAG,YAAY,oBAAoB,qBAAqB,MAAM,QAAQ,MAAM,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAoB;AACtL,QAAM,OAAO,KAAK,IAAI,GAAG,KAAK,MAAM,OAAO,SAAS,KAAK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uBAAsB,QAAO,sBAAqB;AAAA,SAC7F,GAAU;AAAA,MAAO,gBAAAA,KAAC,UAAK,OAAM,QAAO,QAAO,QAAO,MAAM,QAAQ,SAAS,KAAK;AAAA,OAChF,GAAM;AAAA,IACL,YAAY,WAAW,gBAAAA,KAAC,QAAG,WAAU,sBAAqB,eAAY,QAAO,MAAK,gBAAe,0BAAAC,MAAC,SAAI,SAAQ,gBAAe,qBAAoB,QAAO,OAAM,QAAO,QAAO,QAAO,eAAY,QAC9L;AAAA,sBAAAD,KAAC,UAAK,GAAE,iEAAgE,MAAK,yBAAwB;AAAA,MACrG,gBAAAA,KAAC,UAAK,GAAE,kEAAiE,MAAK,uBAAsB;AAAA,MACpG,gBAAAA,KAAC,UAAK,GAAE,kEAAiE,MAAK,uBAAsB;AAAA,OACtG,GAAM;AAAA,KACR;AAEJ;","names":["jsx","jsxs","jsx","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs"]}
package/package.json CHANGED
@@ -1,15 +1,11 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "3.62.0",
4
- "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Orochia, Yasakia, Yororis) and the motion signature — web and /native.",
3
+ "version": "3.63.1",
4
+ "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Yomizaka, Akinaza) and the motion signature — web and /native.",
5
5
  "keywords": [
6
6
  "krizaka",
7
7
  "orazaka",
8
- "orochia",
9
- "yasakia",
10
- "yororis",
11
8
  "yomizaka",
12
- "kachizaka",
13
9
  "akinaza",
14
10
  "react",
15
11
  "logo",
@@ -157,6 +153,22 @@
157
153
  "types": "./dist/quota-meter.d.ts",
158
154
  "import": "./dist/quota-meter.js"
159
155
  },
156
+ "./environment-notice": {
157
+ "types": "./dist/environment-notice.d.ts",
158
+ "import": "./dist/environment-notice.js"
159
+ },
160
+ "./margin-layout": {
161
+ "types": "./dist/margin-layout.d.ts",
162
+ "import": "./dist/margin-layout.js"
163
+ },
164
+ "./usage": {
165
+ "types": "./dist/usage.d.ts",
166
+ "import": "./dist/usage.js"
167
+ },
168
+ "./analysis-report": {
169
+ "types": "./dist/analysis-report.d.ts",
170
+ "import": "./dist/analysis-report.js"
171
+ },
160
172
  "./alert": {
161
173
  "types": "./dist/alert.d.ts",
162
174
  "import": "./dist/alert.js"
@@ -409,6 +421,14 @@
409
421
  "types": "./dist/retro-tv.d.ts",
410
422
  "import": "./dist/retro-tv.js"
411
423
  },
424
+ "./reviews": {
425
+ "types": "./dist/reviews.d.ts",
426
+ "import": "./dist/reviews.js"
427
+ },
428
+ "./embed-facade": {
429
+ "types": "./dist/embed-facade.d.ts",
430
+ "import": "./dist/embed-facade.js"
431
+ },
412
432
  "./file-upload": {
413
433
  "types": "./dist/file-upload.d.ts",
414
434
  "import": "./dist/file-upload.js"
@@ -861,7 +881,7 @@
861
881
  ],
862
882
  "peerDependencies": {
863
883
  "@krizaka/query": ">=0.2.2",
864
- "@krizaka/tailwind": ">=3.62.0",
884
+ "@krizaka/tailwind": ">=3.63.1",
865
885
  "@maplibre/maplibre-react-native": ">=11",
866
886
  "@shopify/flash-list": ">=2",
867
887
  "expo-camera": ">=16",
@@ -921,8 +941,8 @@
921
941
  "tsup": "^9.0.0",
922
942
  "typescript": "^5.9.0",
923
943
  "vitest": "^5.0.5",
924
- "@krizaka/query": "0.2.2",
925
- "@krizaka/config": "0.8.0"
944
+ "@krizaka/config": "0.8.0",
945
+ "@krizaka/query": "0.2.2"
926
946
  },
927
947
  "engines": {
928
948
  "node": ">=22"
@@ -984,7 +1004,7 @@
984
1004
  {
985
1005
  "name": "./native (bundled into the app by Metro, never downloaded: a regression guard, not a budget)",
986
1006
  "path": "dist/native.js",
987
- "limit": "64.4 kB",
1007
+ "limit": "67 kB",
988
1008
  "gzip": true
989
1009
  },
990
1010
  {
@@ -1176,7 +1196,7 @@
1176
1196
  {
1177
1197
  "name": "./stat",
1178
1198
  "path": "dist/stat.js",
1179
- "limit": "1 kB",
1199
+ "limit": "1.5 kB",
1180
1200
  "gzip": true,
1181
1201
  "ignore": [
1182
1202
  "tailwind-variants",
@@ -1221,6 +1241,55 @@
1221
1241
  "clsx"
1222
1242
  ]
1223
1243
  },
1244
+ {
1245
+ "name": "./margin-layout",
1246
+ "path": "dist/margin-layout.js",
1247
+ "limit": "1 kB",
1248
+ "gzip": true,
1249
+ "ignore": [
1250
+ "tailwind-variants",
1251
+ "clsx",
1252
+ "react",
1253
+ "radix-ui"
1254
+ ]
1255
+ },
1256
+ {
1257
+ "name": "./usage",
1258
+ "path": "dist/usage.js",
1259
+ "limit": "5 kB",
1260
+ "gzip": true,
1261
+ "ignore": [
1262
+ "tailwind-variants",
1263
+ "clsx",
1264
+ "react",
1265
+ "radix-ui",
1266
+ "@krizaka/intl"
1267
+ ]
1268
+ },
1269
+ {
1270
+ "name": "./analysis-report",
1271
+ "path": "dist/analysis-report.js",
1272
+ "limit": "4.5 kB",
1273
+ "gzip": true,
1274
+ "ignore": [
1275
+ "tailwind-variants",
1276
+ "clsx",
1277
+ "react",
1278
+ "radix-ui"
1279
+ ]
1280
+ },
1281
+ {
1282
+ "name": "./environment-notice",
1283
+ "path": "dist/environment-notice.js",
1284
+ "limit": "1 kB",
1285
+ "gzip": true,
1286
+ "ignore": [
1287
+ "tailwind-variants",
1288
+ "clsx",
1289
+ "react",
1290
+ "radix-ui"
1291
+ ]
1292
+ },
1224
1293
  {
1225
1294
  "name": "./quota-meter",
1226
1295
  "path": "dist/quota-meter.js",
@@ -1246,7 +1315,7 @@
1246
1315
  {
1247
1316
  "name": "./separator",
1248
1317
  "path": "dist/separator.js",
1249
- "limit": "2 kB",
1318
+ "limit": "2.6 kB",
1250
1319
  "gzip": true,
1251
1320
  "ignore": [
1252
1321
  "tailwind-variants",
@@ -1768,6 +1837,28 @@
1768
1837
  "clsx"
1769
1838
  ]
1770
1839
  },
1840
+ {
1841
+ "name": "./reviews",
1842
+ "path": "dist/reviews.js",
1843
+ "limit": "6 kB",
1844
+ "gzip": true,
1845
+ "ignore": [
1846
+ "tailwind-variants",
1847
+ "clsx",
1848
+ "react"
1849
+ ]
1850
+ },
1851
+ {
1852
+ "name": "./embed-facade",
1853
+ "path": "dist/embed-facade.js",
1854
+ "limit": "2 kB",
1855
+ "gzip": true,
1856
+ "ignore": [
1857
+ "tailwind-variants",
1858
+ "clsx",
1859
+ "react"
1860
+ ]
1861
+ },
1771
1862
  {
1772
1863
  "name": "./retro-tv",
1773
1864
  "path": "dist/retro-tv.js",
@@ -1901,7 +1992,7 @@
1901
1992
  {
1902
1993
  "name": "./service-card",
1903
1994
  "path": "dist/service-card.js",
1904
- "limit": "2 kB",
1995
+ "limit": "3 kB",
1905
1996
  "gzip": true,
1906
1997
  "ignore": [
1907
1998
  "tailwind-variants",
@@ -2061,7 +2152,7 @@
2061
2152
  {
2062
2153
  "name": "./page",
2063
2154
  "path": "dist/page.js",
2064
- "limit": "1.25 kB",
2155
+ "limit": "1.6 kB",
2065
2156
  "gzip": true,
2066
2157
  "ignore": [
2067
2158
  "tailwind-variants",
@@ -2903,9 +2994,9 @@
2903
2994
  "sonner": "^2.0.8",
2904
2995
  "tailwind-variants": "^3.3.1",
2905
2996
  "zod": "^4.6.7",
2906
- "@krizaka/pacer": "^0.1.0",
2907
- "@krizaka/intl": "^0.4.0",
2908
- "@krizaka/tokens": "^3.62.0"
2997
+ "@krizaka/intl": "^0.4.1",
2998
+ "@krizaka/tokens": "^3.63.1",
2999
+ "@krizaka/pacer": "^0.1.0"
2909
3000
  },
2910
3001
  "scripts": {
2911
3002
  "build": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});for(const f of fs.readdirSync('registry/examples',{recursive:true}))if(/\\.(js|d\\.ts)$/.test(f))fs.rmSync('registry/examples/'+f)\" && tsup && node -e \"require('node:fs').copyFileSync('src/motion.css','dist/motion.css');require('node:fs').copyFileSync('src/blocks.css','dist/blocks.css');require('node:fs').copyFileSync('src/story.css','dist/story.css')\" && node scripts/build-registry.mjs",