@krizaka/ui 3.64.0 → 3.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/dist/account-menu.d.ts +7 -3
  2. package/dist/account-menu.js +14 -10
  3. package/dist/account-menu.js.map +1 -1
  4. package/dist/app-frame/server.d.ts +123 -0
  5. package/dist/app-frame/server.js +109 -0
  6. package/dist/app-frame/server.js.map +1 -0
  7. package/dist/app-frame.d.ts +210 -0
  8. package/dist/app-frame.js +220 -0
  9. package/dist/app-frame.js.map +1 -0
  10. package/dist/app-header.d.ts +3 -3
  11. package/dist/blocks.css +41 -0
  12. package/dist/chunk-5D7NMUF6.js +35 -0
  13. package/dist/chunk-5D7NMUF6.js.map +1 -0
  14. package/dist/chunk-A7MQPIEG.js +31 -0
  15. package/dist/chunk-A7MQPIEG.js.map +1 -0
  16. package/dist/chunk-B47WSPMP.js +60 -0
  17. package/dist/chunk-B47WSPMP.js.map +1 -0
  18. package/dist/chunk-HKEAYSFS.js +19 -0
  19. package/dist/chunk-HKEAYSFS.js.map +1 -0
  20. package/dist/chunk-ZYHWJ7U5.js +20 -0
  21. package/dist/chunk-ZYHWJ7U5.js.map +1 -0
  22. package/dist/cover-hero.d.ts +4 -0
  23. package/dist/cover-hero.js +5 -2
  24. package/dist/cover-hero.js.map +1 -1
  25. package/dist/desktop-window.d.ts +223 -0
  26. package/dist/desktop-window.js +261 -0
  27. package/dist/desktop-window.js.map +1 -0
  28. package/dist/filter-bar.d.ts +3 -3
  29. package/dist/frame-D6Xv83t8.d.ts +52 -0
  30. package/dist/native.d.ts +218 -3
  31. package/dist/native.js +1638 -1450
  32. package/dist/native.js.map +1 -1
  33. package/dist/service-card.d.ts +25 -1
  34. package/dist/service-card.js +7 -3
  35. package/dist/service-card.js.map +1 -1
  36. package/dist/shop/booking.d.ts +36 -0
  37. package/dist/shop/booking.js +37 -0
  38. package/dist/shop/booking.js.map +1 -0
  39. package/dist/shop/bulletin.d.ts +28 -0
  40. package/dist/shop/bulletin.js +29 -0
  41. package/dist/shop/bulletin.js.map +1 -0
  42. package/dist/shop/demo.d.ts +135 -0
  43. package/dist/shop/demo.js +141 -0
  44. package/dist/shop/demo.js.map +1 -0
  45. package/dist/shop/faq.d.ts +20 -0
  46. package/dist/shop/faq.js +33 -0
  47. package/dist/shop/faq.js.map +1 -0
  48. package/dist/shop/gallery.d.ts +46 -0
  49. package/dist/shop/gallery.js +76 -0
  50. package/dist/shop/gallery.js.map +1 -0
  51. package/dist/shop/hero.d.ts +36 -0
  52. package/dist/shop/hero.js +70 -0
  53. package/dist/shop/hero.js.map +1 -0
  54. package/dist/shop/map-gate.d.ts +22 -0
  55. package/dist/shop/map-gate.js +34 -0
  56. package/dist/shop/map-gate.js.map +1 -0
  57. package/dist/shop/policies.d.ts +18 -0
  58. package/dist/shop/policies.js +16 -0
  59. package/dist/shop/policies.js.map +1 -0
  60. package/dist/shop/reviews.d.ts +25 -0
  61. package/dist/shop/reviews.js +47 -0
  62. package/dist/shop/reviews.js.map +1 -0
  63. package/dist/shop/services.d.ts +57 -0
  64. package/dist/shop/services.js +118 -0
  65. package/dist/shop/services.js.map +1 -0
  66. package/dist/shop/social.d.ts +27 -0
  67. package/dist/shop/social.js +27 -0
  68. package/dist/shop/social.js.map +1 -0
  69. package/dist/shop/story.d.ts +24 -0
  70. package/dist/shop/story.js +26 -0
  71. package/dist/shop/story.js.map +1 -0
  72. package/dist/shop/team.d.ts +24 -0
  73. package/dist/shop/team.js +26 -0
  74. package/dist/shop/team.js.map +1 -0
  75. package/dist/shop/video.d.ts +40 -0
  76. package/dist/shop/video.js +33 -0
  77. package/dist/shop/video.js.map +1 -0
  78. package/dist/shop/visit.d.ts +29 -0
  79. package/dist/shop/visit.js +38 -0
  80. package/dist/shop/visit.js.map +1 -0
  81. package/dist/shop-composer.d.ts +490 -0
  82. package/dist/shop-composer.js +2061 -0
  83. package/dist/shop-composer.js.map +1 -0
  84. package/dist/shop.d.ts +316 -0
  85. package/dist/shop.js +389 -0
  86. package/dist/shop.js.map +1 -0
  87. package/dist/theme.d.ts +3 -1
  88. package/dist/theme.js +4 -0
  89. package/dist/theme.js.map +1 -1
  90. package/package.json +305 -5
  91. package/registry/account-menu.json +22 -8
  92. package/registry/account-settings.json +1 -1
  93. package/registry/achievement.json +1 -1
  94. package/registry/action-bar.json +1 -1
  95. package/registry/activity-feed.json +1 -1
  96. package/registry/agenda.json +1 -1
  97. package/registry/alert.json +1 -1
  98. package/registry/analysis-report.json +1 -1
  99. package/registry/anatomy-plate.json +1 -1
  100. package/registry/app-frame.json +564 -0
  101. package/registry/app-header.json +1 -1
  102. package/registry/app-shell.json +1 -1
  103. package/registry/argument-card.json +1 -1
  104. package/registry/audio-player.json +1 -1
  105. package/registry/auth-layout.json +1 -1
  106. package/registry/avatar.json +1 -1
  107. package/registry/badge.json +1 -1
  108. package/registry/bird-plate.json +1 -1
  109. package/registry/button.json +1 -1
  110. package/registry/captcha.json +1 -1
  111. package/registry/card-grid.json +1 -1
  112. package/registry/card.json +1 -1
  113. package/registry/catalogue-page.json +1 -1
  114. package/registry/changelog-page.json +1 -1
  115. package/registry/chapter.json +1 -1
  116. package/registry/chat.json +1 -1
  117. package/registry/checkbox.json +1 -1
  118. package/registry/chip-link.json +1 -1
  119. package/registry/chip-row.json +1 -1
  120. package/registry/chip.json +1 -1
  121. package/registry/choice-grid.json +1 -1
  122. package/registry/code-block.json +1 -1
  123. package/registry/combobox.json +1 -1
  124. package/registry/command.json +1 -1
  125. package/registry/comparison-table.json +1 -1
  126. package/registry/component-page.json +1 -1
  127. package/registry/confirm-button.json +1 -1
  128. package/registry/contact-page.json +1 -1
  129. package/registry/continue-prompt.json +1 -1
  130. package/registry/countdown.json +1 -1
  131. package/registry/cover-hero.json +2 -2
  132. package/registry/cta-panel.json +1 -1
  133. package/registry/dashboard-layout.json +1 -1
  134. package/registry/data-table.json +1 -1
  135. package/registry/date-picker.json +3 -3
  136. package/registry/decision-list.json +1 -1
  137. package/registry/description-list.json +1 -1
  138. package/registry/desktop-window.json +407 -0
  139. package/registry/detail-layout.json +1 -1
  140. package/registry/dialog.json +1 -1
  141. package/registry/docs-article-page.json +1 -1
  142. package/registry/docs-hub-page.json +1 -1
  143. package/registry/docs-layout.json +1 -1
  144. package/registry/docs-nav.json +1 -1
  145. package/registry/document-viewer.json +1 -1
  146. package/registry/doodle.json +1 -1
  147. package/registry/drop-overlay.json +1 -1
  148. package/registry/dropdown-menu.json +1 -1
  149. package/registry/elephant.json +2 -2
  150. package/registry/embed-facade.json +1 -1
  151. package/registry/empty-state.json +1 -1
  152. package/registry/engine-flow.json +1 -1
  153. package/registry/environment-notice.json +1 -1
  154. package/registry/error-page.json +1 -1
  155. package/registry/examples/app-frame/admin.d.ts +4 -0
  156. package/registry/examples/app-frame/admin.js +32 -0
  157. package/registry/examples/app-frame/admin.tsx +33 -0
  158. package/registry/examples/app-frame/app.d.ts +4 -0
  159. package/registry/examples/app-frame/app.js +53 -0
  160. package/registry/examples/app-frame/app.tsx +56 -0
  161. package/registry/examples/desktop-window/library.d.ts +4 -0
  162. package/registry/examples/desktop-window/library.js +49 -0
  163. package/registry/examples/desktop-window/library.tsx +58 -0
  164. package/registry/examples/form-flow/native/signup.d.ts +4 -0
  165. package/registry/examples/form-flow/native/signup.dark.png +0 -0
  166. package/registry/examples/form-flow/native/signup.js +26 -0
  167. package/registry/examples/form-flow/native/signup.light.png +0 -0
  168. package/registry/examples/form-flow/native/signup.tsx +23 -0
  169. package/registry/examples/grid/native/columns.d.ts +4 -0
  170. package/registry/examples/grid/native/columns.dark.png +0 -0
  171. package/registry/examples/grid/native/columns.js +23 -0
  172. package/registry/examples/grid/native/columns.light.png +0 -0
  173. package/registry/examples/grid/native/columns.tsx +20 -0
  174. package/registry/examples/grid/native/photos.d.ts +4 -0
  175. package/registry/examples/grid/native/photos.dark.png +0 -0
  176. package/registry/examples/grid/native/photos.js +14 -0
  177. package/registry/examples/grid/native/photos.light.png +0 -0
  178. package/registry/examples/grid/native/photos.tsx +18 -0
  179. package/registry/examples/grid/native/stats.d.ts +4 -0
  180. package/registry/examples/grid/native/stats.dark.png +0 -0
  181. package/registry/examples/grid/native/stats.js +22 -0
  182. package/registry/examples/grid/native/stats.light.png +0 -0
  183. package/registry/examples/grid/native/stats.tsx +24 -0
  184. package/registry/examples/list-detail/native/inbox.d.ts +4 -0
  185. package/registry/examples/list-detail/native/inbox.dark.png +0 -0
  186. package/registry/examples/list-detail/native/inbox.js +35 -0
  187. package/registry/examples/list-detail/native/inbox.light.png +0 -0
  188. package/registry/examples/list-detail/native/inbox.tsx +35 -0
  189. package/registry/examples/screen/native/dashboard.d.ts +4 -0
  190. package/registry/examples/screen/native/dashboard.dark.png +0 -0
  191. package/registry/examples/screen/native/dashboard.js +48 -0
  192. package/registry/examples/screen/native/dashboard.light.png +0 -0
  193. package/registry/examples/screen/native/dashboard.tsx +52 -0
  194. package/registry/examples/screen/native/settings-home.d.ts +4 -0
  195. package/registry/examples/screen/native/settings-home.dark.png +0 -0
  196. package/registry/examples/screen/native/settings-home.js +26 -0
  197. package/registry/examples/screen/native/settings-home.light.png +0 -0
  198. package/registry/examples/screen/native/settings-home.tsx +25 -0
  199. package/registry/examples/shop/booking-panel.d.ts +4 -0
  200. package/registry/examples/shop/booking-panel.js +12 -0
  201. package/registry/examples/shop/booking-panel.tsx +11 -0
  202. package/registry/examples/shop/booking-sticky.d.ts +4 -0
  203. package/registry/examples/shop/booking-sticky.js +15 -0
  204. package/registry/examples/shop/booking-sticky.tsx +12 -0
  205. package/registry/examples/shop/booking-strip.d.ts +4 -0
  206. package/registry/examples/shop/booking-strip.js +13 -0
  207. package/registry/examples/shop/booking-strip.tsx +12 -0
  208. package/registry/examples/shop/bulletin-banner.d.ts +4 -0
  209. package/registry/examples/shop/bulletin-banner.js +13 -0
  210. package/registry/examples/shop/bulletin-banner.tsx +12 -0
  211. package/registry/examples/shop/bulletin-board.d.ts +4 -0
  212. package/registry/examples/shop/bulletin-board.js +13 -0
  213. package/registry/examples/shop/bulletin-board.tsx +12 -0
  214. package/registry/examples/shop/cards.d.ts +4 -0
  215. package/registry/examples/shop/cards.js +13 -0
  216. package/registry/examples/shop/cards.tsx +12 -0
  217. package/registry/examples/shop/carousel.d.ts +4 -0
  218. package/registry/examples/shop/carousel.js +13 -0
  219. package/registry/examples/shop/carousel.tsx +12 -0
  220. package/registry/examples/shop/document.d.ts +4 -0
  221. package/registry/examples/shop/document.js +20 -0
  222. package/registry/examples/shop/document.tsx +13 -0
  223. package/registry/examples/shop/faq.d.ts +4 -0
  224. package/registry/examples/shop/faq.js +13 -0
  225. package/registry/examples/shop/faq.tsx +12 -0
  226. package/registry/examples/shop/gallery-filmstrip.d.ts +4 -0
  227. package/registry/examples/shop/gallery-filmstrip.js +13 -0
  228. package/registry/examples/shop/gallery-filmstrip.tsx +12 -0
  229. package/registry/examples/shop/gallery-grid.d.ts +4 -0
  230. package/registry/examples/shop/gallery-grid.js +13 -0
  231. package/registry/examples/shop/gallery-grid.tsx +12 -0
  232. package/registry/examples/shop/gallery-mosaic.d.ts +4 -0
  233. package/registry/examples/shop/gallery-mosaic.js +13 -0
  234. package/registry/examples/shop/gallery-mosaic.tsx +12 -0
  235. package/registry/examples/shop/gallery-wall.d.ts +4 -0
  236. package/registry/examples/shop/gallery-wall.js +13 -0
  237. package/registry/examples/shop/gallery-wall.tsx +12 -0
  238. package/registry/examples/shop/hero-banner.d.ts +4 -0
  239. package/registry/examples/shop/hero-banner.js +15 -0
  240. package/registry/examples/shop/hero-banner.tsx +14 -0
  241. package/registry/examples/shop/hero-poster.d.ts +4 -0
  242. package/registry/examples/shop/hero-poster.js +15 -0
  243. package/registry/examples/shop/hero-poster.tsx +14 -0
  244. package/registry/examples/shop/hero-split.d.ts +4 -0
  245. package/registry/examples/shop/hero-split.js +15 -0
  246. package/registry/examples/shop/hero-split.tsx +14 -0
  247. package/registry/examples/shop/hero-tv.d.ts +4 -0
  248. package/registry/examples/shop/hero-tv.js +15 -0
  249. package/registry/examples/shop/hero-tv.tsx +14 -0
  250. package/registry/examples/shop/index.d.ts +4 -0
  251. package/registry/examples/shop/index.js +13 -0
  252. package/registry/examples/shop/index.tsx +12 -0
  253. package/registry/examples/shop/menu-columns.d.ts +4 -0
  254. package/registry/examples/shop/menu-columns.js +13 -0
  255. package/registry/examples/shop/menu-columns.tsx +12 -0
  256. package/registry/examples/shop/menu.d.ts +4 -0
  257. package/registry/examples/shop/menu.js +25 -0
  258. package/registry/examples/shop/menu.tsx +21 -0
  259. package/registry/examples/shop/page.d.ts +4 -0
  260. package/registry/examples/shop/page.js +32 -0
  261. package/registry/examples/shop/page.tsx +27 -0
  262. package/registry/examples/shop/policies.d.ts +4 -0
  263. package/registry/examples/shop/policies.js +13 -0
  264. package/registry/examples/shop/policies.tsx +12 -0
  265. package/registry/examples/shop/reviews-quote.d.ts +4 -0
  266. package/registry/examples/shop/reviews-quote.js +13 -0
  267. package/registry/examples/shop/reviews-quote.tsx +12 -0
  268. package/registry/examples/shop/reviews-strip.d.ts +4 -0
  269. package/registry/examples/shop/reviews-strip.js +13 -0
  270. package/registry/examples/shop/reviews-strip.tsx +12 -0
  271. package/registry/examples/shop/reviews-summary-cards.d.ts +4 -0
  272. package/registry/examples/shop/reviews-summary-cards.js +13 -0
  273. package/registry/examples/shop/reviews-summary-cards.tsx +12 -0
  274. package/registry/examples/shop/social-facade.d.ts +4 -0
  275. package/registry/examples/shop/social-facade.js +13 -0
  276. package/registry/examples/shop/social-facade.tsx +12 -0
  277. package/registry/examples/shop/social-links.d.ts +4 -0
  278. package/registry/examples/shop/social-links.js +12 -0
  279. package/registry/examples/shop/social-links.tsx +11 -0
  280. package/registry/examples/shop/story-owner.d.ts +4 -0
  281. package/registry/examples/shop/story-owner.js +13 -0
  282. package/registry/examples/shop/story-owner.tsx +12 -0
  283. package/registry/examples/shop/story-quote.d.ts +4 -0
  284. package/registry/examples/shop/story-quote.js +13 -0
  285. package/registry/examples/shop/story-quote.tsx +12 -0
  286. package/registry/examples/shop/team-cards.d.ts +4 -0
  287. package/registry/examples/shop/team-cards.js +13 -0
  288. package/registry/examples/shop/team-cards.tsx +12 -0
  289. package/registry/examples/shop/team-row.d.ts +4 -0
  290. package/registry/examples/shop/team-row.js +13 -0
  291. package/registry/examples/shop/team-row.tsx +12 -0
  292. package/registry/examples/shop/video-shorts.d.ts +4 -0
  293. package/registry/examples/shop/video-shorts.js +14 -0
  294. package/registry/examples/shop/video-shorts.tsx +13 -0
  295. package/registry/examples/shop/video-tv.d.ts +4 -0
  296. package/registry/examples/shop/video-tv.js +13 -0
  297. package/registry/examples/shop/video-tv.tsx +12 -0
  298. package/registry/examples/shop/visit-card.d.ts +4 -0
  299. package/registry/examples/shop/visit-card.js +13 -0
  300. package/registry/examples/shop/visit-card.tsx +12 -0
  301. package/registry/examples/shop/visit-map.d.ts +4 -0
  302. package/registry/examples/shop/visit-map.js +13 -0
  303. package/registry/examples/shop/visit-map.tsx +12 -0
  304. package/registry/examples/shop/visit-split.d.ts +4 -0
  305. package/registry/examples/shop/visit-split.js +13 -0
  306. package/registry/examples/shop/visit-split.tsx +12 -0
  307. package/registry/examples/shop-composer/composer.d.ts +4 -0
  308. package/registry/examples/shop-composer/composer.js +17 -0
  309. package/registry/examples/shop-composer/composer.tsx +21 -0
  310. package/registry/examples/state-screen/native/empty.d.ts +4 -0
  311. package/registry/examples/state-screen/native/empty.dark.png +0 -0
  312. package/registry/examples/state-screen/native/empty.js +12 -0
  313. package/registry/examples/state-screen/native/empty.light.png +0 -0
  314. package/registry/examples/state-screen/native/empty.tsx +11 -0
  315. package/registry/examples/state-screen/native/error.d.ts +4 -0
  316. package/registry/examples/state-screen/native/error.dark.png +0 -0
  317. package/registry/examples/state-screen/native/error.js +21 -0
  318. package/registry/examples/state-screen/native/error.light.png +0 -0
  319. package/registry/examples/state-screen/native/error.tsx +17 -0
  320. package/registry/examples/state-screen/native/offline.d.ts +4 -0
  321. package/registry/examples/state-screen/native/offline.dark.png +0 -0
  322. package/registry/examples/state-screen/native/offline.js +15 -0
  323. package/registry/examples/state-screen/native/offline.light.png +0 -0
  324. package/registry/examples/state-screen/native/offline.tsx +12 -0
  325. package/registry/field.json +1 -1
  326. package/registry/file-upload.json +1 -1
  327. package/registry/filter-bar.json +1 -1
  328. package/registry/flock.json +1 -1
  329. package/registry/footnote.json +1 -1
  330. package/registry/force-update-screen.json +1 -1
  331. package/registry/form-flow.json +152 -0
  332. package/registry/form.json +1 -1
  333. package/registry/gallery-page.json +1 -1
  334. package/registry/genui.json +1 -1
  335. package/registry/glossary-term.json +1 -1
  336. package/registry/glossary.json +1 -1
  337. package/registry/glow-card.json +1 -1
  338. package/registry/goal-gauge.json +1 -1
  339. package/registry/grade-stamp.json +1 -1
  340. package/registry/grid.json +262 -0
  341. package/registry/how-it-works-page.json +1 -1
  342. package/registry/image-cropper.json +1 -1
  343. package/registry/index.json +403 -11
  344. package/registry/iso.json +1 -1
  345. package/registry/kanban.json +1 -1
  346. package/registry/kbd.json +1 -1
  347. package/registry/kind-config-editor.json +1 -1
  348. package/registry/kpi-explained.json +1 -1
  349. package/registry/landing-page.json +1 -1
  350. package/registry/landscape.json +1 -1
  351. package/registry/language-switch.json +1 -1
  352. package/registry/legal-page.json +1 -1
  353. package/registry/link-card.json +1 -1
  354. package/registry/list-detail.json +188 -0
  355. package/registry/list.json +1 -1
  356. package/registry/loader.json +1 -1
  357. package/registry/longform-page.json +1 -1
  358. package/registry/maintenance-screen.json +1 -1
  359. package/registry/map.json +2 -2
  360. package/registry/margin-layout.json +1 -1
  361. package/registry/markdown.json +1 -1
  362. package/registry/marketing-layout.json +1 -1
  363. package/registry/marquee.json +1 -1
  364. package/registry/mascot-quote.json +1 -1
  365. package/registry/mascot-state.json +1 -1
  366. package/registry/mascots.json +1 -1
  367. package/registry/match-dialog.json +1 -1
  368. package/registry/media-capture.json +1 -1
  369. package/registry/media-gallery.json +1 -1
  370. package/registry/media-grid.json +1 -1
  371. package/registry/meta-row.json +1 -1
  372. package/registry/meter.json +1 -1
  373. package/registry/nav-bar.json +2 -2
  374. package/registry/next-actions.json +1 -1
  375. package/registry/notification-preferences.json +1 -1
  376. package/registry/number-ticker.json +1 -1
  377. package/registry/onboarding.json +3 -0
  378. package/registry/opening-hours.json +1 -1
  379. package/registry/page-header.json +1 -1
  380. package/registry/page-hero.json +1 -1
  381. package/registry/page-index.json +1 -1
  382. package/registry/page.json +1 -1
  383. package/registry/pagination.json +1 -1
  384. package/registry/photo-grid.json +1 -1
  385. package/registry/pointer-light.json +1 -1
  386. package/registry/popover.json +1 -1
  387. package/registry/pricing-page.json +1 -1
  388. package/registry/product-page.json +1 -1
  389. package/registry/profile-card.json +1 -1
  390. package/registry/progress.json +1 -1
  391. package/registry/promise-card.json +1 -1
  392. package/registry/quota-meter.json +1 -1
  393. package/registry/radio-group.json +1 -1
  394. package/registry/rail-nav.json +2 -2
  395. package/registry/recipes.json +1 -1
  396. package/registry/retro-tv.json +1 -1
  397. package/registry/reviews.json +1 -1
  398. package/registry/router.json +1 -1
  399. package/registry/screen.json +68 -4
  400. package/registry/scroll-stage.json +1 -1
  401. package/registry/search-field.json +1 -1
  402. package/registry/section-backdrop.json +1 -1
  403. package/registry/separator.json +1 -1
  404. package/registry/service-card.json +24 -6
  405. package/registry/settings-layout.json +5 -2
  406. package/registry/shop-composer.json +424 -0
  407. package/registry/shop.json +776 -0
  408. package/registry/showcase.json +1 -1
  409. package/registry/signature.json +1 -1
  410. package/registry/site-cahier.json +1 -1
  411. package/registry/site-footer.json +4 -4
  412. package/registry/sites.json +1 -1
  413. package/registry/skeleton.json +1 -1
  414. package/registry/skip-link.json +1 -1
  415. package/registry/slider.json +1 -1
  416. package/registry/slot-picker.json +1 -1
  417. package/registry/slot.json +1 -1
  418. package/registry/specimen-tag.json +1 -1
  419. package/registry/speed-lines.json +1 -1
  420. package/registry/spinner.json +1 -1
  421. package/registry/split-view.json +1 -1
  422. package/registry/stage-banner.json +1 -1
  423. package/registry/stat.json +1 -1
  424. package/registry/state-screen.json +224 -0
  425. package/registry/status-chip.json +1 -1
  426. package/registry/status-page.json +1 -1
  427. package/registry/step-progress.json +1 -1
  428. package/registry/step-showcase.json +1 -1
  429. package/registry/stepper.json +1 -1
  430. package/registry/sticky-action.json +1 -1
  431. package/registry/stuck.json +1 -1
  432. package/registry/swipe-deck.json +1 -1
  433. package/registry/switch.json +1 -1
  434. package/registry/tabs.json +1 -1
  435. package/registry/tag-input.json +1 -1
  436. package/registry/tag-selector.json +1 -1
  437. package/registry/taped-photo.json +1 -1
  438. package/registry/terminal-replay.json +1 -1
  439. package/registry/text-style.json +1 -1
  440. package/registry/theme.json +3 -3
  441. package/registry/toast.json +1 -1
  442. package/registry/toc.json +1 -1
  443. package/registry/tooltip.json +1 -1
  444. package/registry/tree-view.json +1 -1
  445. package/registry/update-prompt.json +1 -1
  446. package/registry/upload-queue.json +1 -1
  447. package/registry/usage.json +1 -1
  448. package/registry/verified-badge.json +1 -1
  449. package/registry/versus-card.json +1 -1
  450. package/registry/vertical-video.json +1 -1
  451. package/registry/video-player.json +1 -1
  452. package/registry/video-trimmer.json +1 -1
  453. package/registry/virtual.json +1 -1
  454. package/registry/wall.json +3 -3
  455. package/registry/waveform.json +1 -1
@@ -0,0 +1,490 @@
1
+ import * as z from 'zod/mini';
2
+ import * as React from 'react';
3
+
4
+ /** The owner's words, in each language; the product's message is the fallback when a language is absent. */
5
+ declare const localizedText: z.ZodMiniObject<{
6
+ fr: z.ZodMiniOptional<z.ZodMiniString<string>>;
7
+ en: z.ZodMiniOptional<z.ZodMiniString<string>>;
8
+ }, z.core.$strip>;
9
+ type LocalizedText = z.output<typeof localizedText>;
10
+
11
+ type Shape = z.ZodMiniObject;
12
+ type BlockShapes = Record<string, Shape>;
13
+ /** What a section of a type is, once parsed. */
14
+ type ParsedSection<T extends string, V extends string, S extends Shape, B extends BlockShapes> = {
15
+ key: string;
16
+ type: T;
17
+ variant: V;
18
+ disabled?: boolean | undefined;
19
+ settings: z.output<S>;
20
+ text?: {
21
+ title?: z.output<typeof localizedText> | undefined;
22
+ lead?: z.output<typeof localizedText> | undefined;
23
+ } | undefined;
24
+ blocks?: {
25
+ [K in keyof B & string]: {
26
+ key: string;
27
+ type: K;
28
+ settings: z.output<B[K]>;
29
+ text?: Record<string, z.output<typeof localizedText>> | undefined;
30
+ };
31
+ }[keyof B & string][] | undefined;
32
+ };
33
+ type SectionSpec<T extends string, V extends readonly [string, ...string[]], S extends Shape, B extends BlockShapes> = {
34
+ /** The type's name: the `type` of a section. */
35
+ type: T;
36
+ /** Its variants; the first is the default one. */
37
+ variants: V;
38
+ /** The zod schema of its settings. */
39
+ settings: S;
40
+ /** The settings a new section starts with. */
41
+ settingsDefault: z.input<S>;
42
+ /** The block types it allows, each with the zod schema of its settings. None: the section has no blocks. */
43
+ blocks?: B;
44
+ /** The checks that read the whole section (a count, a combination); `issue(path, message)` refuses it. */
45
+ refine?: (section: ParsedSection<T, V[number], S, B>, issue: (path: (string | number)[], message: string) => void) => void;
46
+ };
47
+ type SectionDefinitionOf<T extends string, V extends readonly [string, ...string[]], S extends Shape, B extends BlockShapes> = SectionSpec<T, V, S, B> & {
48
+ readonly defaultVariant: V[number];
49
+ readonly blockTypes: readonly (keyof B & string)[];
50
+ /** The zod schema of a section of this type. */
51
+ readonly schema: z.ZodMiniType<ParsedSection<T, V[number], S, B>>;
52
+ };
53
+
54
+ /** Every section type, in the order the composer lists them. */
55
+ declare const SECTION_DEFINITIONS: readonly [SectionDefinitionOf<"hero", readonly ["poster", "split", "banner", "tv"], z.ZodMiniObject<{
56
+ media: z.ZodMiniOptional<z.ZodMiniString<string>>;
57
+ focus: z.ZodMiniEnum<{
58
+ center: "center";
59
+ top: "top";
60
+ bottom: "bottom";
61
+ }>;
62
+ }, z.core.$strip>, {
63
+ fact: z.ZodMiniObject<{
64
+ kind: z.ZodMiniEnum<{
65
+ "open-now": "open-now";
66
+ area: "area";
67
+ score: "score";
68
+ }>;
69
+ }, z.core.$strip>;
70
+ }>, SectionDefinitionOf<"services", readonly ["menu", "cards", "index", "carousel"], z.ZodMiniObject<{
71
+ source: z.ZodMiniEnum<{
72
+ all: "all";
73
+ pick: "pick";
74
+ }>;
75
+ groupBy: z.ZodMiniEnum<{
76
+ category: "category";
77
+ none: "none";
78
+ }>;
79
+ columns: z.ZodMiniUnion<[z.ZodMiniLiteral<1 | 2>, z.ZodMiniLiteral<1 | 2>]>;
80
+ aside: z.ZodMiniEnum<{
81
+ none: "none";
82
+ hours: "hours";
83
+ }>;
84
+ }, z.core.$strip>, {
85
+ service: z.ZodMiniObject<{
86
+ serviceId: z.ZodMiniString<string>;
87
+ }, z.core.$strip>;
88
+ }>, SectionDefinitionOf<"booking", readonly ["strip", "panel", "sticky"], z.ZodMiniObject<{
89
+ serviceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
90
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 4 | 6>, z.ZodMiniLiteral<3 | 4 | 6>]>;
91
+ }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"gallery", readonly ["mosaic", "filmstrip", "wall", "grid"], z.ZodMiniObject<{
92
+ source: z.ZodMiniEnum<{
93
+ all: "all";
94
+ pick: "pick";
95
+ }>;
96
+ texture: z.ZodMiniEnum<{
97
+ plaster: "plaster";
98
+ brick: "brick";
99
+ ridge: "ridge";
100
+ zellige: "zellige";
101
+ }>;
102
+ }, z.core.$strip>, {
103
+ photo: z.ZodMiniObject<{
104
+ mediaId: z.ZodMiniString<string>;
105
+ caption: z.ZodMiniOptional<z.ZodMiniString<string>>;
106
+ }, z.core.$strip>;
107
+ note: z.ZodMiniObject<{
108
+ text: z.ZodMiniString<string>;
109
+ signature: z.ZodMiniOptional<z.ZodMiniString<string>>;
110
+ }, z.core.$strip>;
111
+ sign: z.ZodMiniObject<{}, z.core.$strip>;
112
+ }>, SectionDefinitionOf<"video", readonly ["tv", "shorts"], z.ZodMiniObject<{
113
+ cabinet: z.ZodMiniEnum<{
114
+ cabinet: "cabinet";
115
+ portable: "portable";
116
+ }>;
117
+ channel: z.ZodMiniOptional<z.ZodMiniString<string>>;
118
+ }, z.core.$strip>, {
119
+ reel: z.ZodMiniObject<{
120
+ platform: z.ZodMiniEnum<{
121
+ tiktok: "tiktok";
122
+ "youtube-shorts": "youtube-shorts";
123
+ instagram: "instagram";
124
+ }>;
125
+ url: z.ZodMiniString<string>;
126
+ }, z.core.$strip>;
127
+ }>, SectionDefinitionOf<"reviews", readonly ["summary-cards", "quote", "strip"], z.ZodMiniObject<{
128
+ rule: z.ZodMiniEnum<{
129
+ best: "best";
130
+ latest: "latest";
131
+ }>;
132
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 1 | 2>, z.ZodMiniLiteral<3 | 1 | 2>]>;
133
+ }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"bulletin", readonly ["board", "banner"], z.ZodMiniObject<{}, z.core.$strip>, {
134
+ flyer: z.ZodMiniObject<{
135
+ text: z.ZodMiniString<string>;
136
+ signature: z.ZodMiniOptional<z.ZodMiniString<string>>;
137
+ until: z.ZodMiniOptional<z.ZodMiniString<string>>;
138
+ }, z.core.$strip>;
139
+ }>, SectionDefinitionOf<"team", readonly ["row", "cards"], z.ZodMiniObject<{
140
+ source: z.ZodMiniEnum<{
141
+ all: "all";
142
+ pick: "pick";
143
+ }>;
144
+ }, z.core.$strip>, {
145
+ member: z.ZodMiniObject<{
146
+ memberId: z.ZodMiniString<string>;
147
+ }, z.core.$strip>;
148
+ }>, SectionDefinitionOf<"visit", readonly ["card", "map", "split"], z.ZodMiniObject<{
149
+ showPhone: z.ZodMiniBoolean<boolean>;
150
+ }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"story", readonly ["quote", "owner"], z.ZodMiniObject<{
151
+ body: z.ZodMiniObject<{
152
+ fr: z.ZodMiniOptional<z.ZodMiniString<string>>;
153
+ en: z.ZodMiniOptional<z.ZodMiniString<string>>;
154
+ }, z.core.$strip>;
155
+ }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"social", readonly ["links", "facade"], z.ZodMiniObject<{}, z.core.$strip>, {
156
+ link: z.ZodMiniObject<{
157
+ platform: z.ZodMiniEnum<{
158
+ tiktok: "tiktok";
159
+ "youtube-shorts": "youtube-shorts";
160
+ instagram: "instagram";
161
+ }>;
162
+ url: z.ZodMiniString<string>;
163
+ }, z.core.$strip>;
164
+ }>, SectionDefinitionOf<"faq", readonly ["list"], z.ZodMiniObject<{}, z.core.$strip>, {
165
+ question: z.ZodMiniObject<{
166
+ question: z.ZodMiniObject<{
167
+ fr: z.ZodMiniOptional<z.ZodMiniString<string>>;
168
+ en: z.ZodMiniOptional<z.ZodMiniString<string>>;
169
+ }, z.core.$strip>;
170
+ answer: z.ZodMiniObject<{
171
+ fr: z.ZodMiniOptional<z.ZodMiniString<string>>;
172
+ en: z.ZodMiniOptional<z.ZodMiniString<string>>;
173
+ }, z.core.$strip>;
174
+ }, z.core.$strip>;
175
+ }>, SectionDefinitionOf<"policies", readonly ["inline"], z.ZodMiniObject<{
176
+ show: z.ZodMiniArray<z.ZodMiniEnum<{
177
+ cancellation: "cancellation";
178
+ prices: "prices";
179
+ "booking-window": "booking-window";
180
+ }>>;
181
+ }, z.core.$strip>, Record<never, never>>];
182
+ type SectionDefinition = (typeof SECTION_DEFINITIONS)[number];
183
+ type SectionType = SectionDefinition["type"];
184
+
185
+ /** The version of the document's format; migrations are pure functions schema n → n + 1 (`migrate.ts`). */
186
+ declare const SHOP_SCHEMA_VERSION = 1;
187
+ /** A look preset by id and version (`@krizaka/tokens`): `salon-atelier`. The mode is the visitor's, never stored. */
188
+ declare const presetRef: z.ZodMiniObject<{
189
+ id: z.ZodMiniString<string>;
190
+ version: z.ZodMiniInt;
191
+ }, z.core.$strip>;
192
+ /** A section of any type, as parsed: its `settings` and `blocks` are the type's own. */
193
+ type Section = z.output<(typeof SECTION_DEFINITIONS)[number]["schema"]>;
194
+ type ShopPage = {
195
+ schema: typeof SHOP_SCHEMA_VERSION;
196
+ preset: z.output<typeof presetRef>;
197
+ density?: "compact" | "airy" | undefined;
198
+ sections: Section[];
199
+ };
200
+
201
+ type Rec = Record<string, unknown>;
202
+ type Command =
203
+ /** Adds a section (its type's default settings, the given or the default variant) at an index; a hero goes first. */
204
+ {
205
+ type: "addSection";
206
+ sectionType: SectionType;
207
+ key: string;
208
+ variant?: string;
209
+ at?: number;
210
+ settings?: Rec;
211
+ } | {
212
+ type: "removeSection";
213
+ key: string;
214
+ }
215
+ /** Moves a section to an absolute index (the hero stays first: nothing goes above it). */
216
+ | {
217
+ type: "moveSection";
218
+ key: string;
219
+ to: number;
220
+ } | {
221
+ type: "setVariant";
222
+ key: string;
223
+ variant: string;
224
+ }
225
+ /** Merges into the settings. */
226
+ | {
227
+ type: "patchSettings";
228
+ key: string;
229
+ patch: Rec;
230
+ } | {
231
+ type: "setText";
232
+ key: string;
233
+ field: "title" | "lead";
234
+ value: LocalizedText | undefined;
235
+ } | {
236
+ type: "toggleDisabled";
237
+ key: string;
238
+ } | {
239
+ type: "setPreset";
240
+ preset: {
241
+ id: string;
242
+ version: number;
243
+ };
244
+ density?: "compact" | "airy" | null;
245
+ } | {
246
+ type: "setDensity";
247
+ density: "compact" | "airy" | undefined;
248
+ } | {
249
+ type: "addBlock";
250
+ key: string;
251
+ blockKey: string;
252
+ blockType: string;
253
+ settings?: Rec;
254
+ at?: number;
255
+ } | {
256
+ type: "removeBlock";
257
+ key: string;
258
+ blockKey: string;
259
+ } | {
260
+ type: "moveBlock";
261
+ key: string;
262
+ blockKey: string;
263
+ to: number;
264
+ } | {
265
+ type: "patchBlock";
266
+ key: string;
267
+ blockKey: string;
268
+ patch: Rec;
269
+ };
270
+ /** The array with an item moved to an index. */
271
+ declare function moved<T>(list: readonly T[], from: number, to: number): T[];
272
+ /** Applies a command to a document; returns the same object when nothing changes. */
273
+ declare function applyCommand(page: ShopPage, cmd: Command): ShopPage;
274
+
275
+ type DiffEntry = {
276
+ kind: "added" | "removed";
277
+ key: string;
278
+ type: string;
279
+ position: number;
280
+ } | {
281
+ kind: "moved";
282
+ key: string;
283
+ type: string;
284
+ from: number;
285
+ to: number;
286
+ } | {
287
+ kind: "variant";
288
+ key: string;
289
+ type: string;
290
+ from: string;
291
+ to: string;
292
+ } | {
293
+ kind: "settings" | "blocks" | "text";
294
+ key: string;
295
+ type: string;
296
+ } | {
297
+ kind: "disabled" | "enabled";
298
+ key: string;
299
+ type: string;
300
+ } | {
301
+ kind: "preset";
302
+ from: string;
303
+ to: string;
304
+ } | {
305
+ kind: "density";
306
+ from: string | undefined;
307
+ to: string | undefined;
308
+ };
309
+ /** The differences between the published document and the draft, in the draft's reading order. */
310
+ declare function diffPages(before: ShopPage, after: ShopPage): DiffEntry[];
311
+
312
+ type ShopComposerMessages = {
313
+ title: string;
314
+ /** The outline's name. */
315
+ sections: string;
316
+ addSection: string;
317
+ addSectionHint: string;
318
+ /** « Show {name} » / the switch's accessible name. */
319
+ toggleVisible: string;
320
+ sectionMenu: string;
321
+ moveUp: string;
322
+ moveDown: string;
323
+ moveTop: string;
324
+ remove: string;
325
+ /** Announcements. */
326
+ announceMoved: string;
327
+ announceCannotMove: string;
328
+ announceAdded: string;
329
+ announceRemoved: string;
330
+ announceShown: string;
331
+ announceHidden: string;
332
+ announceUndone: string;
333
+ announceRedone: string;
334
+ hiddenNote: string;
335
+ /** The inspector. */
336
+ inspector: string;
337
+ noSelection: string;
338
+ backToSections: string;
339
+ variant: string;
340
+ settings: string;
341
+ words: string;
342
+ titleField: string;
343
+ leadField: string;
344
+ french: string;
345
+ english: string;
346
+ blocks: string;
347
+ addBlock: string;
348
+ removeBlock: string;
349
+ /** The look. */
350
+ look: string;
351
+ preset: string;
352
+ density: string;
353
+ densityCompact: string;
354
+ densityAiry: string;
355
+ /** The toolbar. */
356
+ undo: string;
357
+ redo: string;
358
+ saved: string;
359
+ saving: string;
360
+ saveFailed: string;
361
+ publish: string;
362
+ discard: string;
363
+ /** The preview. */
364
+ preview: string;
365
+ previewTitle: string;
366
+ phone: string;
367
+ desktop: string;
368
+ viewPreview: string;
369
+ closePreview: string;
370
+ /** The publish dialog. */
371
+ publishTitle: string;
372
+ publishWhat: string;
373
+ publishNothing: string;
374
+ publishConfirm: string;
375
+ cancel: string;
376
+ problemsTitle: string;
377
+ problemIn: string;
378
+ /** The names. */
379
+ sectionNames: Record<SectionType, string>;
380
+ /** `type.variant` → « Poster ». */
381
+ variantNames: Record<string, string>;
382
+ blockNames: Record<string, string>;
383
+ settingNames: Record<string, string>;
384
+ optionNames: Record<string, string>;
385
+ /** One line per kind of change, with `{name}` (the section) and `{from}` / `{to}` / `{n}`. */
386
+ diff: Record<DiffEntry["kind"], string>;
387
+ };
388
+ /** `fill("Moved to {n}", { n: 2 })`. */
389
+ declare const fill: (message: string, vars: Record<string, string | number>) => string;
390
+ declare const defaultShopComposerMessages: ShopComposerMessages;
391
+
392
+ /** How long the draft waits for calm before it is saved. */
393
+ declare const AUTOSAVE_MS = 800;
394
+ type ShopComposerPreset = {
395
+ id: string;
396
+ version: number;
397
+ name: string;
398
+ density: "compact" | "airy";
399
+ variants: Readonly<Record<string, string>>;
400
+ };
401
+ type ShopComposerProps = {
402
+ /** The draft to edit. The composer keeps its own history from it. */
403
+ value: ShopPage;
404
+ /** Change it to load another document (another draft): the history and the selection start again. */
405
+ resetKey?: string | number;
406
+ /** Called with a valid draft after 800 ms without a change: save it. A rejection says « Not saved ». */
407
+ onChange?: (page: ShopPage) => void | Promise<void>;
408
+ /** Called with the draft once the person confirmed the diff. */
409
+ onPublish: (page: ShopPage) => void | Promise<void>;
410
+ /** The discard of the draft (the product asks first, in its own dialog). Absent: no such button. */
411
+ onDiscard?: () => void;
412
+ /** What is live now, for the diff of « Publish ». Absent: the document the composer was opened with. */
413
+ published?: ShopPage;
414
+ /** The page of the product, in an iframe: its own route with `?draft=<id>`. Its origin is the bridge's. */
415
+ previewUrl: string;
416
+ /** The look presets of the shop's trade. */
417
+ presets: readonly ShopComposerPreset[];
418
+ /** The section types the trade does not use: folded under « … » in the catalogue. */
419
+ foldedTypes?: readonly SectionType[];
420
+ /** The words, translated. Default: English. */
421
+ messages?: ShopComposerMessages;
422
+ /** Classes merged on the root (its height: `h-[100dvh]`). */
423
+ className?: string;
424
+ };
425
+ /** The shop composer. */
426
+ declare function ShopComposer({ value, resetKey, onChange, onPublish, onDiscard, published, previewUrl, presets, foldedTypes, messages, className }: ShopComposerProps): React.JSX.Element;
427
+
428
+ type FieldSpec = {
429
+ name: string;
430
+ kind: "choice";
431
+ options: readonly (string | number)[];
432
+ optional: boolean;
433
+ } | {
434
+ name: string;
435
+ kind: "toggle";
436
+ optional: boolean;
437
+ } | {
438
+ name: string;
439
+ kind: "text";
440
+ optional: boolean;
441
+ } | {
442
+ name: string;
443
+ kind: "localized";
444
+ optional: boolean;
445
+ } | {
446
+ name: string;
447
+ kind: "multi";
448
+ options: readonly string[];
449
+ optional: boolean;
450
+ };
451
+ /** The fields of a settings schema, in the schema's order. A setting of a kind the form does not draw is left out. */
452
+ declare function describeSettings(schema: z.ZodMiniObject): FieldSpec[];
453
+
454
+ /** The most steps kept. */
455
+ declare const HISTORY_LIMIT = 100;
456
+ type History = {
457
+ readonly past: readonly ShopPage[];
458
+ readonly present: ShopPage;
459
+ readonly future: readonly ShopPage[]; /** The key of the burst the last step belongs to (typing in one field). */
460
+ readonly merge?: string;
461
+ };
462
+ declare const createHistory: (page: ShopPage) => History;
463
+ /**
464
+ * Runs a command: a new step, unless it changes nothing. Commands with the same `merge` key in a row (the keystrokes of one field)
465
+ * make one step, so a hundred letters do not use the hundred steps of undo.
466
+ */
467
+ declare function run(history: History, cmd: Command, merge?: string): History;
468
+ declare const canUndo: (h: History) => boolean;
469
+ declare const canRedo: (h: History) => boolean;
470
+ declare function undo(h: History): History;
471
+ declare function redo(h: History): History;
472
+
473
+ /** A short random key with a prefix; `random` is injectable so a test is deterministic. */
474
+ declare function newKey(prefix: "s" | "b", random?: () => number): string;
475
+
476
+ type SectionThumbnailProps = {
477
+ /** The section type. */
478
+ type: SectionType;
479
+ /** Its variant: one of the type's. */
480
+ variant: string;
481
+ /** The look preset the page wears (`salon-vitrine`): the thumbnail wears it too. */
482
+ preset?: string;
483
+ /** The page's spacing. @default "compact" */
484
+ density?: "compact" | "airy";
485
+ };
486
+ /** A picture of a section: 160 × 96 px of a 960 px page, inert and hidden from assistive technology. */
487
+ declare function SectionThumbnail({ type, variant, preset, density }: SectionThumbnailProps): React.JSX.Element;
488
+
489
+ export { AUTOSAVE_MS, HISTORY_LIMIT, SectionThumbnail, ShopComposer, applyCommand, canRedo, canUndo, createHistory, defaultShopComposerMessages, describeSettings, diffPages, fill, moved, newKey, redo, run, undo };
490
+ export type { Command, DiffEntry, FieldSpec, History, SectionThumbnailProps, ShopComposerMessages, ShopComposerPreset, ShopComposerProps };