@krizaka/ui 3.63.1 → 3.64.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 (405) hide show
  1. package/dist/account-menu.d.ts +1 -1
  2. package/dist/account-menu.js +1 -1
  3. package/dist/account-settings.d.ts +61 -4
  4. package/dist/account-settings.js +206 -44
  5. package/dist/account-settings.js.map +1 -1
  6. package/dist/avatar/defaults.d.ts +16 -5
  7. package/dist/avatar/defaults.js +15 -1
  8. package/dist/avatar/defaults.js.map +1 -1
  9. package/dist/{avatar-BL2iG_Js.d.ts → avatar-BdZcfkWR.d.ts} +11 -4
  10. package/dist/avatar.d.ts +16 -5
  11. package/dist/avatar.js +15 -1
  12. package/dist/avatar.js.map +1 -1
  13. package/dist/blocks.css +41 -0
  14. package/dist/chat.js +1 -1
  15. package/dist/chunk-5D7NMUF6.js +35 -0
  16. package/dist/chunk-5D7NMUF6.js.map +1 -0
  17. package/dist/chunk-A7MQPIEG.js +31 -0
  18. package/dist/chunk-A7MQPIEG.js.map +1 -0
  19. package/dist/chunk-B47WSPMP.js +60 -0
  20. package/dist/chunk-B47WSPMP.js.map +1 -0
  21. package/dist/chunk-EUJ7337V.js +137 -0
  22. package/dist/chunk-EUJ7337V.js.map +1 -0
  23. package/dist/chunk-HK525THY.js +139 -0
  24. package/dist/chunk-HK525THY.js.map +1 -0
  25. package/dist/chunk-HKEAYSFS.js +19 -0
  26. package/dist/chunk-HKEAYSFS.js.map +1 -0
  27. package/dist/{chunk-3D2YI63L.js → chunk-SHBYNQFS.js} +7 -2
  28. package/dist/{chunk-3D2YI63L.js.map → chunk-SHBYNQFS.js.map} +1 -1
  29. package/dist/chunk-ZYHWJ7U5.js +20 -0
  30. package/dist/chunk-ZYHWJ7U5.js.map +1 -0
  31. package/dist/cover-hero.d.ts +4 -0
  32. package/dist/cover-hero.js +5 -2
  33. package/dist/cover-hero.js.map +1 -1
  34. package/dist/dashboard-layout.js +2 -1
  35. package/dist/dashboard-layout.js.map +1 -1
  36. package/dist/docs-layout.js +1 -1
  37. package/dist/filter-bar.d.ts +3 -3
  38. package/dist/frame-D6Xv83t8.d.ts +52 -0
  39. package/dist/match-dialog.js +1 -1
  40. package/dist/media-grid.d.ts +8 -3
  41. package/dist/media-grid.js +1 -1
  42. package/dist/native.d.ts +8 -3
  43. package/dist/native.js +51 -0
  44. package/dist/native.js.map +1 -1
  45. package/dist/service-card.d.ts +25 -1
  46. package/dist/service-card.js +7 -3
  47. package/dist/service-card.js.map +1 -1
  48. package/dist/shop/booking.d.ts +36 -0
  49. package/dist/shop/booking.js +37 -0
  50. package/dist/shop/booking.js.map +1 -0
  51. package/dist/shop/bulletin.d.ts +28 -0
  52. package/dist/shop/bulletin.js +29 -0
  53. package/dist/shop/bulletin.js.map +1 -0
  54. package/dist/shop/demo.d.ts +135 -0
  55. package/dist/shop/demo.js +141 -0
  56. package/dist/shop/demo.js.map +1 -0
  57. package/dist/shop/faq.d.ts +20 -0
  58. package/dist/shop/faq.js +33 -0
  59. package/dist/shop/faq.js.map +1 -0
  60. package/dist/shop/gallery.d.ts +46 -0
  61. package/dist/shop/gallery.js +76 -0
  62. package/dist/shop/gallery.js.map +1 -0
  63. package/dist/shop/hero.d.ts +36 -0
  64. package/dist/shop/hero.js +70 -0
  65. package/dist/shop/hero.js.map +1 -0
  66. package/dist/shop/map-gate.d.ts +22 -0
  67. package/dist/shop/map-gate.js +34 -0
  68. package/dist/shop/map-gate.js.map +1 -0
  69. package/dist/shop/policies.d.ts +18 -0
  70. package/dist/shop/policies.js +16 -0
  71. package/dist/shop/policies.js.map +1 -0
  72. package/dist/shop/reviews.d.ts +25 -0
  73. package/dist/shop/reviews.js +47 -0
  74. package/dist/shop/reviews.js.map +1 -0
  75. package/dist/shop/services.d.ts +57 -0
  76. package/dist/shop/services.js +118 -0
  77. package/dist/shop/services.js.map +1 -0
  78. package/dist/shop/social.d.ts +27 -0
  79. package/dist/shop/social.js +27 -0
  80. package/dist/shop/social.js.map +1 -0
  81. package/dist/shop/story.d.ts +24 -0
  82. package/dist/shop/story.js +26 -0
  83. package/dist/shop/story.js.map +1 -0
  84. package/dist/shop/team.d.ts +24 -0
  85. package/dist/shop/team.js +26 -0
  86. package/dist/shop/team.js.map +1 -0
  87. package/dist/shop/video.d.ts +40 -0
  88. package/dist/shop/video.js +33 -0
  89. package/dist/shop/video.js.map +1 -0
  90. package/dist/shop/visit.d.ts +29 -0
  91. package/dist/shop/visit.js +38 -0
  92. package/dist/shop/visit.js.map +1 -0
  93. package/dist/shop-composer.d.ts +490 -0
  94. package/dist/shop-composer.js +2061 -0
  95. package/dist/shop-composer.js.map +1 -0
  96. package/dist/shop.d.ts +316 -0
  97. package/dist/shop.js +389 -0
  98. package/dist/shop.js.map +1 -0
  99. package/dist/vertical-video.js +1 -1
  100. package/package.json +267 -9
  101. package/registry/account-menu.json +1 -1
  102. package/registry/account-settings.json +67 -6
  103. package/registry/achievement.json +1 -1
  104. package/registry/action-bar.json +1 -1
  105. package/registry/activity-feed.json +1 -1
  106. package/registry/agenda.json +1 -1
  107. package/registry/alert.json +1 -1
  108. package/registry/analysis-report.json +1 -1
  109. package/registry/anatomy-plate.json +1 -1
  110. package/registry/app-header.json +1 -1
  111. package/registry/app-shell.json +1 -1
  112. package/registry/argument-card.json +1 -1
  113. package/registry/audio-player.json +1 -1
  114. package/registry/auth-layout.json +1 -1
  115. package/registry/avatar.json +6 -5
  116. package/registry/badge.json +1 -1
  117. package/registry/bird-plate.json +1 -1
  118. package/registry/button.json +1 -1
  119. package/registry/captcha.json +1 -1
  120. package/registry/card-grid.json +1 -1
  121. package/registry/card.json +1 -1
  122. package/registry/catalogue-page.json +1 -1
  123. package/registry/changelog-page.json +1 -1
  124. package/registry/chapter.json +1 -1
  125. package/registry/chat.json +1 -1
  126. package/registry/checkbox.json +1 -1
  127. package/registry/chip-link.json +1 -1
  128. package/registry/chip-row.json +1 -1
  129. package/registry/chip.json +1 -1
  130. package/registry/choice-grid.json +1 -1
  131. package/registry/code-block.json +1 -1
  132. package/registry/combobox.json +1 -1
  133. package/registry/command.json +1 -1
  134. package/registry/comparison-table.json +1 -1
  135. package/registry/component-page.json +1 -1
  136. package/registry/confirm-button.json +1 -1
  137. package/registry/contact-page.json +1 -1
  138. package/registry/continue-prompt.json +1 -1
  139. package/registry/countdown.json +1 -1
  140. package/registry/cover-hero.json +2 -2
  141. package/registry/cta-panel.json +1 -1
  142. package/registry/dashboard-layout.json +2 -2
  143. package/registry/data-table.json +1 -1
  144. package/registry/date-picker.json +1 -1
  145. package/registry/decision-list.json +1 -1
  146. package/registry/description-list.json +1 -1
  147. package/registry/detail-layout.json +1 -1
  148. package/registry/dialog.json +1 -1
  149. package/registry/docs-article-page.json +1 -1
  150. package/registry/docs-hub-page.json +1 -1
  151. package/registry/docs-layout.json +1 -1
  152. package/registry/docs-nav.json +1 -1
  153. package/registry/document-viewer.json +1 -1
  154. package/registry/doodle.json +1 -1
  155. package/registry/drop-overlay.json +1 -1
  156. package/registry/dropdown-menu.json +1 -1
  157. package/registry/elephant.json +2 -2
  158. package/registry/embed-facade.json +1 -1
  159. package/registry/empty-state.json +1 -1
  160. package/registry/engine-flow.json +1 -1
  161. package/registry/environment-notice.json +1 -1
  162. package/registry/error-page.json +1 -1
  163. package/registry/examples/account-settings/avatar-picker-folder.d.ts +4 -0
  164. package/registry/examples/account-settings/avatar-picker-folder.js +27 -0
  165. package/registry/examples/account-settings/avatar-picker-folder.tsx +23 -0
  166. package/registry/examples/shop/booking-panel.d.ts +4 -0
  167. package/registry/examples/shop/booking-panel.js +12 -0
  168. package/registry/examples/shop/booking-panel.tsx +11 -0
  169. package/registry/examples/shop/booking-sticky.d.ts +4 -0
  170. package/registry/examples/shop/booking-sticky.js +15 -0
  171. package/registry/examples/shop/booking-sticky.tsx +12 -0
  172. package/registry/examples/shop/booking-strip.d.ts +4 -0
  173. package/registry/examples/shop/booking-strip.js +13 -0
  174. package/registry/examples/shop/booking-strip.tsx +12 -0
  175. package/registry/examples/shop/bulletin-banner.d.ts +4 -0
  176. package/registry/examples/shop/bulletin-banner.js +13 -0
  177. package/registry/examples/shop/bulletin-banner.tsx +12 -0
  178. package/registry/examples/shop/bulletin-board.d.ts +4 -0
  179. package/registry/examples/shop/bulletin-board.js +13 -0
  180. package/registry/examples/shop/bulletin-board.tsx +12 -0
  181. package/registry/examples/shop/cards.d.ts +4 -0
  182. package/registry/examples/shop/cards.js +13 -0
  183. package/registry/examples/shop/cards.tsx +12 -0
  184. package/registry/examples/shop/carousel.d.ts +4 -0
  185. package/registry/examples/shop/carousel.js +13 -0
  186. package/registry/examples/shop/carousel.tsx +12 -0
  187. package/registry/examples/shop/document.d.ts +4 -0
  188. package/registry/examples/shop/document.js +20 -0
  189. package/registry/examples/shop/document.tsx +13 -0
  190. package/registry/examples/shop/faq.d.ts +4 -0
  191. package/registry/examples/shop/faq.js +13 -0
  192. package/registry/examples/shop/faq.tsx +12 -0
  193. package/registry/examples/shop/gallery-filmstrip.d.ts +4 -0
  194. package/registry/examples/shop/gallery-filmstrip.js +13 -0
  195. package/registry/examples/shop/gallery-filmstrip.tsx +12 -0
  196. package/registry/examples/shop/gallery-grid.d.ts +4 -0
  197. package/registry/examples/shop/gallery-grid.js +13 -0
  198. package/registry/examples/shop/gallery-grid.tsx +12 -0
  199. package/registry/examples/shop/gallery-mosaic.d.ts +4 -0
  200. package/registry/examples/shop/gallery-mosaic.js +13 -0
  201. package/registry/examples/shop/gallery-mosaic.tsx +12 -0
  202. package/registry/examples/shop/gallery-wall.d.ts +4 -0
  203. package/registry/examples/shop/gallery-wall.js +13 -0
  204. package/registry/examples/shop/gallery-wall.tsx +12 -0
  205. package/registry/examples/shop/hero-banner.d.ts +4 -0
  206. package/registry/examples/shop/hero-banner.js +15 -0
  207. package/registry/examples/shop/hero-banner.tsx +14 -0
  208. package/registry/examples/shop/hero-poster.d.ts +4 -0
  209. package/registry/examples/shop/hero-poster.js +15 -0
  210. package/registry/examples/shop/hero-poster.tsx +14 -0
  211. package/registry/examples/shop/hero-split.d.ts +4 -0
  212. package/registry/examples/shop/hero-split.js +15 -0
  213. package/registry/examples/shop/hero-split.tsx +14 -0
  214. package/registry/examples/shop/hero-tv.d.ts +4 -0
  215. package/registry/examples/shop/hero-tv.js +15 -0
  216. package/registry/examples/shop/hero-tv.tsx +14 -0
  217. package/registry/examples/shop/index.d.ts +4 -0
  218. package/registry/examples/shop/index.js +13 -0
  219. package/registry/examples/shop/index.tsx +12 -0
  220. package/registry/examples/shop/menu-columns.d.ts +4 -0
  221. package/registry/examples/shop/menu-columns.js +13 -0
  222. package/registry/examples/shop/menu-columns.tsx +12 -0
  223. package/registry/examples/shop/menu.d.ts +4 -0
  224. package/registry/examples/shop/menu.js +25 -0
  225. package/registry/examples/shop/menu.tsx +21 -0
  226. package/registry/examples/shop/page.d.ts +4 -0
  227. package/registry/examples/shop/page.js +32 -0
  228. package/registry/examples/shop/page.tsx +27 -0
  229. package/registry/examples/shop/policies.d.ts +4 -0
  230. package/registry/examples/shop/policies.js +13 -0
  231. package/registry/examples/shop/policies.tsx +12 -0
  232. package/registry/examples/shop/reviews-quote.d.ts +4 -0
  233. package/registry/examples/shop/reviews-quote.js +13 -0
  234. package/registry/examples/shop/reviews-quote.tsx +12 -0
  235. package/registry/examples/shop/reviews-strip.d.ts +4 -0
  236. package/registry/examples/shop/reviews-strip.js +13 -0
  237. package/registry/examples/shop/reviews-strip.tsx +12 -0
  238. package/registry/examples/shop/reviews-summary-cards.d.ts +4 -0
  239. package/registry/examples/shop/reviews-summary-cards.js +13 -0
  240. package/registry/examples/shop/reviews-summary-cards.tsx +12 -0
  241. package/registry/examples/shop/social-facade.d.ts +4 -0
  242. package/registry/examples/shop/social-facade.js +13 -0
  243. package/registry/examples/shop/social-facade.tsx +12 -0
  244. package/registry/examples/shop/social-links.d.ts +4 -0
  245. package/registry/examples/shop/social-links.js +12 -0
  246. package/registry/examples/shop/social-links.tsx +11 -0
  247. package/registry/examples/shop/story-owner.d.ts +4 -0
  248. package/registry/examples/shop/story-owner.js +13 -0
  249. package/registry/examples/shop/story-owner.tsx +12 -0
  250. package/registry/examples/shop/story-quote.d.ts +4 -0
  251. package/registry/examples/shop/story-quote.js +13 -0
  252. package/registry/examples/shop/story-quote.tsx +12 -0
  253. package/registry/examples/shop/team-cards.d.ts +4 -0
  254. package/registry/examples/shop/team-cards.js +13 -0
  255. package/registry/examples/shop/team-cards.tsx +12 -0
  256. package/registry/examples/shop/team-row.d.ts +4 -0
  257. package/registry/examples/shop/team-row.js +13 -0
  258. package/registry/examples/shop/team-row.tsx +12 -0
  259. package/registry/examples/shop/video-shorts.d.ts +4 -0
  260. package/registry/examples/shop/video-shorts.js +14 -0
  261. package/registry/examples/shop/video-shorts.tsx +13 -0
  262. package/registry/examples/shop/video-tv.d.ts +4 -0
  263. package/registry/examples/shop/video-tv.js +13 -0
  264. package/registry/examples/shop/video-tv.tsx +12 -0
  265. package/registry/examples/shop/visit-card.d.ts +4 -0
  266. package/registry/examples/shop/visit-card.js +13 -0
  267. package/registry/examples/shop/visit-card.tsx +12 -0
  268. package/registry/examples/shop/visit-map.d.ts +4 -0
  269. package/registry/examples/shop/visit-map.js +13 -0
  270. package/registry/examples/shop/visit-map.tsx +12 -0
  271. package/registry/examples/shop/visit-split.d.ts +4 -0
  272. package/registry/examples/shop/visit-split.js +13 -0
  273. package/registry/examples/shop/visit-split.tsx +12 -0
  274. package/registry/examples/shop-composer/composer.d.ts +4 -0
  275. package/registry/examples/shop-composer/composer.js +17 -0
  276. package/registry/examples/shop-composer/composer.tsx +21 -0
  277. package/registry/field.json +1 -1
  278. package/registry/file-upload.json +1 -1
  279. package/registry/filter-bar.json +1 -1
  280. package/registry/flock.json +1 -1
  281. package/registry/footnote.json +1 -1
  282. package/registry/force-update-screen.json +1 -1
  283. package/registry/form.json +1 -1
  284. package/registry/gallery-page.json +1 -1
  285. package/registry/genui.json +1 -1
  286. package/registry/glossary-term.json +1 -1
  287. package/registry/glossary.json +1 -1
  288. package/registry/glow-card.json +1 -1
  289. package/registry/goal-gauge.json +1 -1
  290. package/registry/grade-stamp.json +1 -1
  291. package/registry/how-it-works-page.json +1 -1
  292. package/registry/image-cropper.json +1 -1
  293. package/registry/index.json +98 -7
  294. package/registry/iso.json +1 -1
  295. package/registry/kanban.json +1 -1
  296. package/registry/kbd.json +1 -1
  297. package/registry/kind-config-editor.json +1 -1
  298. package/registry/kpi-explained.json +1 -1
  299. package/registry/landing-page.json +1 -1
  300. package/registry/landscape.json +1 -1
  301. package/registry/language-switch.json +1 -1
  302. package/registry/legal-page.json +1 -1
  303. package/registry/link-card.json +1 -1
  304. package/registry/list.json +1 -1
  305. package/registry/loader.json +1 -1
  306. package/registry/longform-page.json +1 -1
  307. package/registry/maintenance-screen.json +1 -1
  308. package/registry/map.json +2 -2
  309. package/registry/margin-layout.json +1 -1
  310. package/registry/markdown.json +1 -1
  311. package/registry/marketing-layout.json +1 -1
  312. package/registry/marquee.json +1 -1
  313. package/registry/mascot-quote.json +1 -1
  314. package/registry/mascot-state.json +1 -1
  315. package/registry/mascots.json +1 -1
  316. package/registry/match-dialog.json +1 -1
  317. package/registry/media-capture.json +1 -1
  318. package/registry/media-gallery.json +1 -1
  319. package/registry/media-grid.json +1 -1
  320. package/registry/meta-row.json +1 -1
  321. package/registry/meter.json +1 -1
  322. package/registry/nav-bar.json +2 -2
  323. package/registry/next-actions.json +1 -1
  324. package/registry/notification-preferences.json +1 -1
  325. package/registry/number-ticker.json +1 -1
  326. package/registry/opening-hours.json +1 -1
  327. package/registry/page-header.json +1 -1
  328. package/registry/page-hero.json +1 -1
  329. package/registry/page-index.json +1 -1
  330. package/registry/page.json +1 -1
  331. package/registry/pagination.json +1 -1
  332. package/registry/photo-grid.json +1 -1
  333. package/registry/pointer-light.json +1 -1
  334. package/registry/popover.json +1 -1
  335. package/registry/pricing-page.json +1 -1
  336. package/registry/product-page.json +1 -1
  337. package/registry/profile-card.json +1 -1
  338. package/registry/progress.json +1 -1
  339. package/registry/promise-card.json +1 -1
  340. package/registry/quota-meter.json +1 -1
  341. package/registry/radio-group.json +1 -1
  342. package/registry/rail-nav.json +2 -2
  343. package/registry/recipes.json +1 -1
  344. package/registry/retro-tv.json +1 -1
  345. package/registry/reviews.json +1 -1
  346. package/registry/router.json +1 -1
  347. package/registry/scroll-stage.json +1 -1
  348. package/registry/search-field.json +1 -1
  349. package/registry/section-backdrop.json +1 -1
  350. package/registry/separator.json +1 -1
  351. package/registry/service-card.json +24 -6
  352. package/registry/settings-layout.json +1 -1
  353. package/registry/shop-composer.json +424 -0
  354. package/registry/shop.json +776 -0
  355. package/registry/showcase.json +1 -1
  356. package/registry/signature.json +1 -1
  357. package/registry/site-cahier.json +1 -1
  358. package/registry/site-footer.json +2 -2
  359. package/registry/sites.json +1 -1
  360. package/registry/skeleton.json +1 -1
  361. package/registry/skip-link.json +1 -1
  362. package/registry/slider.json +1 -1
  363. package/registry/slot-picker.json +1 -1
  364. package/registry/slot.json +1 -1
  365. package/registry/specimen-tag.json +1 -1
  366. package/registry/speed-lines.json +1 -1
  367. package/registry/spinner.json +1 -1
  368. package/registry/split-view.json +1 -1
  369. package/registry/stage-banner.json +1 -1
  370. package/registry/stat.json +1 -1
  371. package/registry/status-chip.json +1 -1
  372. package/registry/status-page.json +1 -1
  373. package/registry/step-progress.json +1 -1
  374. package/registry/step-showcase.json +1 -1
  375. package/registry/stepper.json +1 -1
  376. package/registry/sticky-action.json +1 -1
  377. package/registry/stuck.json +1 -1
  378. package/registry/swipe-deck.json +1 -1
  379. package/registry/switch.json +1 -1
  380. package/registry/tabs.json +1 -1
  381. package/registry/tag-input.json +1 -1
  382. package/registry/tag-selector.json +1 -1
  383. package/registry/taped-photo.json +1 -1
  384. package/registry/terminal-replay.json +1 -1
  385. package/registry/text-style.json +1 -1
  386. package/registry/theme.json +1 -1
  387. package/registry/toast.json +1 -1
  388. package/registry/toc.json +1 -1
  389. package/registry/tooltip.json +1 -1
  390. package/registry/tree-view.json +1 -1
  391. package/registry/update-prompt.json +1 -1
  392. package/registry/upload-queue.json +1 -1
  393. package/registry/usage.json +1 -1
  394. package/registry/verified-badge.json +1 -1
  395. package/registry/versus-card.json +1 -1
  396. package/registry/vertical-video.json +1 -1
  397. package/registry/video-player.json +1 -1
  398. package/registry/video-trimmer.json +1 -1
  399. package/registry/virtual.json +1 -1
  400. package/registry/wall.json +3 -3
  401. package/registry/waveform.json +1 -1
  402. package/dist/chunk-7AZ23BUX.js +0 -88
  403. package/dist/chunk-7AZ23BUX.js.map +0 -1
  404. package/dist/chunk-PW2FVPTV.js +0 -85
  405. package/dist/chunk-PW2FVPTV.js.map +0 -1
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/policies.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoPolicies } from "@krizaka/ui/shop/demo";
6
+ import { PoliciesSection } from "@krizaka/ui/shop/policies";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopPolicies() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(PoliciesSection, { title: "Good to know", items: demoPolicies }) });
10
+ }
11
+ export {
12
+ ShopPolicies as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoPolicies } from "@krizaka/ui/shop/demo";
3
+ import { PoliciesSection } from "@krizaka/ui/shop/policies";
4
+
5
+ // Cancellation, prices and the booking window, as term and value.
6
+ export default function ShopPolicies() {
7
+ return (
8
+ <ShopFrame>
9
+ <PoliciesSection title="Good to know" items={demoPolicies} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/reviews-quote.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReviews } from "@krizaka/ui/shop/demo";
6
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopReviewsQuote() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(ReviewsSection, { variant: "quote", title: "What clients say", summary: demoReviews.summary, reviews: demoReviews.reviews, count: 2 }) });
10
+ }
11
+ export {
12
+ ShopReviewsQuote as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReviews } from "@krizaka/ui/shop/demo";
3
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
4
+
5
+ // Reviews · quote. Nothing is drawn under the host's minimum of verified reviews (5 here, 38 verified).
6
+ export default function ShopReviewsQuote() {
7
+ return (
8
+ <ShopFrame>
9
+ <ReviewsSection variant="quote" title="What clients say" summary={demoReviews.summary} reviews={demoReviews.reviews} count={2} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/reviews-strip.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReviews } from "@krizaka/ui/shop/demo";
6
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopReviewsStrip() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(ReviewsSection, { variant: "strip", title: "What clients say", summary: demoReviews.summary, reviews: demoReviews.reviews, count: 2 }) });
10
+ }
11
+ export {
12
+ ShopReviewsStrip as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReviews } from "@krizaka/ui/shop/demo";
3
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
4
+
5
+ // Reviews · strip. Nothing is drawn under the host's minimum of verified reviews (5 here, 38 verified).
6
+ export default function ShopReviewsStrip() {
7
+ return (
8
+ <ShopFrame>
9
+ <ReviewsSection variant="strip" title="What clients say" summary={demoReviews.summary} reviews={demoReviews.reviews} count={2} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/reviews-summary-cards.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReviews } from "@krizaka/ui/shop/demo";
6
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopReviewsSummary() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(ReviewsSection, { variant: "summary-cards", title: "What clients say", summary: demoReviews.summary, reviews: demoReviews.reviews, count: 2 }) });
10
+ }
11
+ export {
12
+ ShopReviewsSummary as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReviews } from "@krizaka/ui/shop/demo";
3
+ import { ReviewsSection } from "@krizaka/ui/shop/reviews";
4
+
5
+ // Reviews · summary-cards. Nothing is drawn under the host's minimum of verified reviews (5 here, 38 verified).
6
+ export default function ShopReviewsSummary() {
7
+ return (
8
+ <ShopFrame>
9
+ <ReviewsSection variant="summary-cards" title="What clients say" summary={demoReviews.summary} reviews={demoReviews.reviews} count={2} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/social-facade.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReel } from "@krizaka/ui/shop/demo";
6
+ import { SocialSection } from "@krizaka/ui/shop/social";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopSocialFacade() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(SocialSection, { variant: "facade", title: "Latest reel", links: [{ id: "t", platform: demoReel.platform, url: demoReel.url }], reelTitle: demoReel.title, playLabels: { tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" } }) });
10
+ }
11
+ export {
12
+ ShopSocialFacade as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReel } from "@krizaka/ui/shop/demo";
3
+ import { SocialSection } from "@krizaka/ui/shop/social";
4
+
5
+ // The latest reel behind a button: the frame is added only after the click.
6
+ export default function ShopSocialFacade() {
7
+ return (
8
+ <ShopFrame>
9
+ <SocialSection variant="facade" title="Latest reel" links={[{ id: "t", platform: demoReel.platform, url: demoReel.url }]} reelTitle={demoReel.title} playLabels={{ tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" }} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,12 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/social-links.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { SocialSection } from "@krizaka/ui/shop/social";
6
+ import { jsx } from "react/jsx-runtime";
7
+ function ShopSocialLinks() {
8
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(SocialSection, { title: "Follow the salon", links: [{ id: "i", platform: "instagram", url: "https://www.instagram.com/salon.cedre" }, { id: "t", platform: "tiktok", url: "https://www.tiktok.com/@salon.cedre" }] }) });
9
+ }
10
+ export {
11
+ ShopSocialLinks as default
12
+ };
@@ -0,0 +1,11 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { SocialSection } from "@krizaka/ui/shop/social";
3
+
4
+ // Plain anchors: a new tab, no referrer, `nofollow`, nothing loaded from the platform.
5
+ export default function ShopSocialLinks() {
6
+ return (
7
+ <ShopFrame>
8
+ <SocialSection title="Follow the salon" links={[{ id: "i", platform: "instagram", url: "https://www.instagram.com/salon.cedre" }, { id: "t", platform: "tiktok", url: "https://www.tiktok.com/@salon.cedre" }]} />
9
+ </ShopFrame>
10
+ );
11
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/story-owner.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoStory } from "@krizaka/ui/shop/demo";
6
+ import { StorySection } from "@krizaka/ui/shop/story";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopStoryOwner() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(StorySection, { variant: "owner", title: "Who we are", body: demoStory.body, owner: demoStory.owner, actions: /* @__PURE__ */ jsx("a", { className: "text-fg-accent underline", href: "tel:5145550110", children: "Call Jade" }) }) });
10
+ }
11
+ export {
12
+ ShopStoryOwner as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoStory } from "@krizaka/ui/shop/demo";
3
+ import { StorySection } from "@krizaka/ui/shop/story";
4
+
5
+ // The owner's face, a paragraph, a way to call.
6
+ export default function ShopStoryOwner() {
7
+ return (
8
+ <ShopFrame>
9
+ <StorySection variant="owner" title="Who we are" body={demoStory.body} owner={demoStory.owner} actions={<a className="text-fg-accent underline" href="tel:5145550110">Call Jade</a>} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/story-quote.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoStory } from "@krizaka/ui/shop/demo";
6
+ import { StorySection } from "@krizaka/ui/shop/story";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopStoryQuote() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(StorySection, { title: "Our story", quote: demoStory.quote, body: demoStory.body }) });
10
+ }
11
+ export {
12
+ ShopStoryQuote as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoStory } from "@krizaka/ui/shop/demo";
3
+ import { StorySection } from "@krizaka/ui/shop/story";
4
+
5
+ // A pull quote and a paragraph: the owner's own words.
6
+ export default function ShopStoryQuote() {
7
+ return (
8
+ <ShopFrame density="airy">
9
+ <StorySection title="Our story" quote={demoStory.quote} body={demoStory.body} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/team-cards.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoSalon } from "@krizaka/ui/shop/demo";
6
+ import { TeamSection } from "@krizaka/ui/shop/team";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopTeamCards() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(TeamSection, { variant: "cards", title: "Your team", members: demoSalon.team.map((t, i) => ({ id: t.id, name: t.name, role: ["Colourist", "Barber", "Stylist", "Reception"][i] })) }) });
10
+ }
11
+ export {
12
+ ShopTeamCards as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoSalon } from "@krizaka/ui/shop/demo";
3
+ import { TeamSection } from "@krizaka/ui/shop/team";
4
+
5
+ // Team · cards: first names, and the face the member chose (the default avatar otherwise — never a stock face).
6
+ export default function ShopTeamCards() {
7
+ return (
8
+ <ShopFrame>
9
+ <TeamSection variant="cards" title="Your team" members={demoSalon.team.map((t, i) => ({ id: t.id, name: t.name, role: ["Colourist", "Barber", "Stylist", "Reception"][i] }))} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/team-row.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoSalon } from "@krizaka/ui/shop/demo";
6
+ import { TeamSection } from "@krizaka/ui/shop/team";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopTeamRow() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(TeamSection, { variant: "row", title: "Your team", members: demoSalon.team.map((t, i) => ({ id: t.id, name: t.name, role: ["Colourist", "Barber", "Stylist", "Reception"][i] })) }) });
10
+ }
11
+ export {
12
+ ShopTeamRow as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoSalon } from "@krizaka/ui/shop/demo";
3
+ import { TeamSection } from "@krizaka/ui/shop/team";
4
+
5
+ // Team · row: first names, and the face the member chose (the default avatar otherwise — never a stock face).
6
+ export default function ShopTeamRow() {
7
+ return (
8
+ <ShopFrame>
9
+ <TeamSection variant="row" title="Your team" members={demoSalon.team.map((t, i) => ({ id: t.id, name: t.name, role: ["Colourist", "Barber", "Stylist", "Reception"][i] }))} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/video-shorts.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReel } from "@krizaka/ui/shop/demo";
6
+ import { VideoSection } from "@krizaka/ui/shop/video";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopVideoShorts() {
9
+ const play = { tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" };
10
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(VideoSection, { variant: "shorts", title: "Reels", reels: [demoReel, { ...demoReel, id: "r2", title: "Colour day" }, { ...demoReel, id: "r3", title: "Cut and blow-dry" }], playLabels: play }) });
11
+ }
12
+ export {
13
+ ShopVideoShorts as default
14
+ };
@@ -0,0 +1,13 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReel } from "@krizaka/ui/shop/demo";
3
+ import { VideoSection } from "@krizaka/ui/shop/video";
4
+
5
+ // Another channel's reels, each behind its own button.
6
+ export default function ShopVideoShorts() {
7
+ const play = { tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" };
8
+ return (
9
+ <ShopFrame>
10
+ <VideoSection variant="shorts" title="Reels" reels={[demoReel, { ...demoReel, id: "r2", title: "Colour day" }, { ...demoReel, id: "r3", title: "Cut and blow-dry" }]} playLabels={play} />
11
+ </ShopFrame>
12
+ );
13
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/video-tv.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoReel } from "@krizaka/ui/shop/demo";
6
+ import { VideoSection } from "@krizaka/ui/shop/video";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopVideoTv() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(VideoSection, { title: "Latest from the salon", reels: [demoReel], cabinet: "portable", channel: "CH 3 \xB7 Saint-Henri", playLabels: { tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" }, notice: "TikTok will receive your address when you press play.", aside: /* @__PURE__ */ jsx("p", { className: "m-0 max-w-sm text-fg-secondary", children: "Press play to watch. We only load TikTok when you ask." }) }) });
10
+ }
11
+ export {
12
+ ShopVideoTv as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoReel } from "@krizaka/ui/shop/demo";
3
+ import { VideoSection } from "@krizaka/ui/shop/video";
4
+
5
+ // The shop's latest reel in the old TV: a platform's short is behind a button, nothing is requested before the click.
6
+ export default function ShopVideoTv() {
7
+ return (
8
+ <ShopFrame density="airy">
9
+ <VideoSection title="Latest from the salon" reels={[demoReel]} cabinet="portable" channel="CH 3 · Saint-Henri" playLabels={{ tiktok: "Load TikTok and play", "youtube-shorts": "Load YouTube and play", instagram: "Load Instagram and play" }} notice="TikTok will receive your address when you press play." aside={<p className="m-0 max-w-sm text-fg-secondary">Press play to watch. We only load TikTok when you ask.</p>} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/visit-card.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
6
+ import { VisitSection } from "@krizaka/ui/shop/visit";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopVisitCard() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(VisitSection, { variant: "card", title: "Visit", hours: shop.hours, today: "3", status: shop.status, hoursLabel: "Hours", address: shop.address, phone: { href: "tel:5145550110", label: shop.phone }, map: demoMap }) });
10
+ }
11
+ export {
12
+ ShopVisitCard as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
3
+ import { VisitSection } from "@krizaka/ui/shop/visit";
4
+
5
+ // Visit · card: hours, address and a call; the map shows as a still until it is asked for on a phone.
6
+ export default function ShopVisitCard() {
7
+ return (
8
+ <ShopFrame>
9
+ <VisitSection variant="card" title="Visit" hours={shop.hours} today="3" status={shop.status} hoursLabel="Hours" address={shop.address} phone={{ href: "tel:5145550110", label: shop.phone }} map={demoMap} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/visit-map.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
6
+ import { VisitSection } from "@krizaka/ui/shop/visit";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopVisitMap() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(VisitSection, { variant: "map", title: "Visit", hours: shop.hours, today: "3", status: shop.status, hoursLabel: "Hours", address: shop.address, phone: { href: "tel:5145550110", label: shop.phone }, map: demoMap }) });
10
+ }
11
+ export {
12
+ ShopVisitMap as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
3
+ import { VisitSection } from "@krizaka/ui/shop/visit";
4
+
5
+ // Visit · map: hours, address and a call; the map shows as a still until it is asked for on a phone.
6
+ export default function ShopVisitMap() {
7
+ return (
8
+ <ShopFrame>
9
+ <VisitSection variant="map" title="Visit" hours={shop.hours} today="3" status={shop.status} hoursLabel="Hours" address={shop.address} phone={{ href: "tel:5145550110", label: shop.phone }} map={demoMap} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop/visit-split.tsx
4
+ import { ShopFrame } from "@krizaka/ui/shop";
5
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
6
+ import { VisitSection } from "@krizaka/ui/shop/visit";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function ShopVisitSplit() {
9
+ return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(VisitSection, { variant: "split", title: "Visit", hours: shop.hours, today: "3", status: shop.status, hoursLabel: "Hours", address: shop.address, phone: { href: "tel:5145550110", label: shop.phone }, map: demoMap }) });
10
+ }
11
+ export {
12
+ ShopVisitSplit as default
13
+ };
@@ -0,0 +1,12 @@
1
+ import { ShopFrame } from "@krizaka/ui/shop";
2
+ import { demoMap, demoSalon as shop } from "@krizaka/ui/shop/demo";
3
+ import { VisitSection } from "@krizaka/ui/shop/visit";
4
+
5
+ // Visit · split: hours, address and a call; the map shows as a still until it is asked for on a phone.
6
+ export default function ShopVisitSplit() {
7
+ return (
8
+ <ShopFrame>
9
+ <VisitSection variant="split" title="Visit" hours={shop.hours} today="3" status={shop.status} hoursLabel="Hours" address={shop.address} phone={{ href: "tel:5145550110", label: shop.phone }} map={demoMap} />
10
+ </ShopFrame>
11
+ );
12
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,17 @@
1
+ "use client";
2
+
3
+ // registry/examples/shop-composer/composer.tsx
4
+ import { shopStarters } from "@krizaka/ui/shop";
5
+ import { ShopComposer } from "@krizaka/ui/shop-composer";
6
+ import { jsx } from "react/jsx-runtime";
7
+ var presets = [
8
+ { id: "salon-vitrine", version: 1, name: "Vitrine", density: "compact", variants: { hero: "poster", services: "menu" } },
9
+ { id: "salon-atelier", version: 1, name: "Atelier", density: "airy", variants: { hero: "split", services: "menu" } }
10
+ ];
11
+ var PREVIEW = "data:text/html,%3Cbody style='margin:0;display:grid;place-items:center;height:100vh;font:15px system-ui;color:%23667'%3EThe live page of the shop appears here%3C/body%3E";
12
+ function ShopComposerExample() {
13
+ return /* @__PURE__ */ jsx("div", { className: "h-[44rem] max-w-full p-3", children: /* @__PURE__ */ jsx(ShopComposer, { value: shopStarters.salonCompact, previewUrl: PREVIEW, presets, onPublish: () => void 0, className: "h-full" }) });
14
+ }
15
+ export {
16
+ ShopComposerExample as default
17
+ };
@@ -0,0 +1,21 @@
1
+ "use client";
2
+
3
+ import { shopStarters } from "@krizaka/ui/shop";
4
+ import { ShopComposer } from "@krizaka/ui/shop-composer";
5
+
6
+ const presets = [
7
+ { id: "salon-vitrine", version: 1, name: "Vitrine", density: "compact", variants: { hero: "poster", services: "menu" } },
8
+ { id: "salon-atelier", version: 1, name: "Atelier", density: "airy", variants: { hero: "split", services: "menu" } },
9
+ ] as const;
10
+
11
+ // The product's own route goes here (`https://…/salon?draft=<id>`); a still note stands in for it.
12
+ const PREVIEW = "data:text/html,%3Cbody style='margin:0;display:grid;place-items:center;height:100vh;font:15px system-ui;color:%23667'%3EThe live page of the shop appears here%3C/body%3E";
13
+
14
+ // The salon's compact page: reorder with Alt+↑ / Alt+↓, change how a section is drawn, undo with ⌘Z, publish to see what changes.
15
+ export default function ShopComposerExample() {
16
+ return (
17
+ <div className="h-[44rem] max-w-full p-3">
18
+ <ShopComposer value={shopStarters.salonCompact} previewUrl={PREVIEW} presets={presets} onPublish={() => undefined} className="h-full" />
19
+ </div>
20
+ );
21
+ }