@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.
- package/dist/account-menu.d.ts +7 -3
- package/dist/account-menu.js +14 -10
- package/dist/account-menu.js.map +1 -1
- package/dist/app-frame/server.d.ts +123 -0
- package/dist/app-frame/server.js +109 -0
- package/dist/app-frame/server.js.map +1 -0
- package/dist/app-frame.d.ts +210 -0
- package/dist/app-frame.js +220 -0
- package/dist/app-frame.js.map +1 -0
- package/dist/app-header.d.ts +3 -3
- package/dist/blocks.css +41 -0
- package/dist/chunk-5D7NMUF6.js +35 -0
- package/dist/chunk-5D7NMUF6.js.map +1 -0
- package/dist/chunk-A7MQPIEG.js +31 -0
- package/dist/chunk-A7MQPIEG.js.map +1 -0
- package/dist/chunk-B47WSPMP.js +60 -0
- package/dist/chunk-B47WSPMP.js.map +1 -0
- package/dist/chunk-HKEAYSFS.js +19 -0
- package/dist/chunk-HKEAYSFS.js.map +1 -0
- package/dist/chunk-ZYHWJ7U5.js +20 -0
- package/dist/chunk-ZYHWJ7U5.js.map +1 -0
- package/dist/cover-hero.d.ts +4 -0
- package/dist/cover-hero.js +5 -2
- package/dist/cover-hero.js.map +1 -1
- package/dist/desktop-window.d.ts +223 -0
- package/dist/desktop-window.js +261 -0
- package/dist/desktop-window.js.map +1 -0
- package/dist/filter-bar.d.ts +3 -3
- package/dist/frame-D6Xv83t8.d.ts +52 -0
- package/dist/native.d.ts +218 -3
- package/dist/native.js +1638 -1450
- package/dist/native.js.map +1 -1
- package/dist/service-card.d.ts +25 -1
- package/dist/service-card.js +7 -3
- package/dist/service-card.js.map +1 -1
- package/dist/shop/booking.d.ts +36 -0
- package/dist/shop/booking.js +37 -0
- package/dist/shop/booking.js.map +1 -0
- package/dist/shop/bulletin.d.ts +28 -0
- package/dist/shop/bulletin.js +29 -0
- package/dist/shop/bulletin.js.map +1 -0
- package/dist/shop/demo.d.ts +135 -0
- package/dist/shop/demo.js +141 -0
- package/dist/shop/demo.js.map +1 -0
- package/dist/shop/faq.d.ts +20 -0
- package/dist/shop/faq.js +33 -0
- package/dist/shop/faq.js.map +1 -0
- package/dist/shop/gallery.d.ts +46 -0
- package/dist/shop/gallery.js +76 -0
- package/dist/shop/gallery.js.map +1 -0
- package/dist/shop/hero.d.ts +36 -0
- package/dist/shop/hero.js +70 -0
- package/dist/shop/hero.js.map +1 -0
- package/dist/shop/map-gate.d.ts +22 -0
- package/dist/shop/map-gate.js +34 -0
- package/dist/shop/map-gate.js.map +1 -0
- package/dist/shop/policies.d.ts +18 -0
- package/dist/shop/policies.js +16 -0
- package/dist/shop/policies.js.map +1 -0
- package/dist/shop/reviews.d.ts +25 -0
- package/dist/shop/reviews.js +47 -0
- package/dist/shop/reviews.js.map +1 -0
- package/dist/shop/services.d.ts +57 -0
- package/dist/shop/services.js +118 -0
- package/dist/shop/services.js.map +1 -0
- package/dist/shop/social.d.ts +27 -0
- package/dist/shop/social.js +27 -0
- package/dist/shop/social.js.map +1 -0
- package/dist/shop/story.d.ts +24 -0
- package/dist/shop/story.js +26 -0
- package/dist/shop/story.js.map +1 -0
- package/dist/shop/team.d.ts +24 -0
- package/dist/shop/team.js +26 -0
- package/dist/shop/team.js.map +1 -0
- package/dist/shop/video.d.ts +40 -0
- package/dist/shop/video.js +33 -0
- package/dist/shop/video.js.map +1 -0
- package/dist/shop/visit.d.ts +29 -0
- package/dist/shop/visit.js +38 -0
- package/dist/shop/visit.js.map +1 -0
- package/dist/shop-composer.d.ts +490 -0
- package/dist/shop-composer.js +2061 -0
- package/dist/shop-composer.js.map +1 -0
- package/dist/shop.d.ts +316 -0
- package/dist/shop.js +389 -0
- package/dist/shop.js.map +1 -0
- package/dist/theme.d.ts +3 -1
- package/dist/theme.js +4 -0
- package/dist/theme.js.map +1 -1
- package/package.json +305 -5
- package/registry/account-menu.json +22 -8
- package/registry/account-settings.json +1 -1
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/analysis-report.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-frame.json +564 -0
- package/registry/app-header.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +2 -2
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +1 -1
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +3 -3
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/desktop-window.json +407 -0
- package/registry/detail-layout.json +1 -1
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/embed-facade.json +1 -1
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/environment-notice.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/app-frame/admin.d.ts +4 -0
- package/registry/examples/app-frame/admin.js +32 -0
- package/registry/examples/app-frame/admin.tsx +33 -0
- package/registry/examples/app-frame/app.d.ts +4 -0
- package/registry/examples/app-frame/app.js +53 -0
- package/registry/examples/app-frame/app.tsx +56 -0
- package/registry/examples/desktop-window/library.d.ts +4 -0
- package/registry/examples/desktop-window/library.js +49 -0
- package/registry/examples/desktop-window/library.tsx +58 -0
- package/registry/examples/form-flow/native/signup.d.ts +4 -0
- package/registry/examples/form-flow/native/signup.dark.png +0 -0
- package/registry/examples/form-flow/native/signup.js +26 -0
- package/registry/examples/form-flow/native/signup.light.png +0 -0
- package/registry/examples/form-flow/native/signup.tsx +23 -0
- package/registry/examples/grid/native/columns.d.ts +4 -0
- package/registry/examples/grid/native/columns.dark.png +0 -0
- package/registry/examples/grid/native/columns.js +23 -0
- package/registry/examples/grid/native/columns.light.png +0 -0
- package/registry/examples/grid/native/columns.tsx +20 -0
- package/registry/examples/grid/native/photos.d.ts +4 -0
- package/registry/examples/grid/native/photos.dark.png +0 -0
- package/registry/examples/grid/native/photos.js +14 -0
- package/registry/examples/grid/native/photos.light.png +0 -0
- package/registry/examples/grid/native/photos.tsx +18 -0
- package/registry/examples/grid/native/stats.d.ts +4 -0
- package/registry/examples/grid/native/stats.dark.png +0 -0
- package/registry/examples/grid/native/stats.js +22 -0
- package/registry/examples/grid/native/stats.light.png +0 -0
- package/registry/examples/grid/native/stats.tsx +24 -0
- package/registry/examples/list-detail/native/inbox.d.ts +4 -0
- package/registry/examples/list-detail/native/inbox.dark.png +0 -0
- package/registry/examples/list-detail/native/inbox.js +35 -0
- package/registry/examples/list-detail/native/inbox.light.png +0 -0
- package/registry/examples/list-detail/native/inbox.tsx +35 -0
- package/registry/examples/screen/native/dashboard.d.ts +4 -0
- package/registry/examples/screen/native/dashboard.dark.png +0 -0
- package/registry/examples/screen/native/dashboard.js +48 -0
- package/registry/examples/screen/native/dashboard.light.png +0 -0
- package/registry/examples/screen/native/dashboard.tsx +52 -0
- package/registry/examples/screen/native/settings-home.d.ts +4 -0
- package/registry/examples/screen/native/settings-home.dark.png +0 -0
- package/registry/examples/screen/native/settings-home.js +26 -0
- package/registry/examples/screen/native/settings-home.light.png +0 -0
- package/registry/examples/screen/native/settings-home.tsx +25 -0
- package/registry/examples/shop/booking-panel.d.ts +4 -0
- package/registry/examples/shop/booking-panel.js +12 -0
- package/registry/examples/shop/booking-panel.tsx +11 -0
- package/registry/examples/shop/booking-sticky.d.ts +4 -0
- package/registry/examples/shop/booking-sticky.js +15 -0
- package/registry/examples/shop/booking-sticky.tsx +12 -0
- package/registry/examples/shop/booking-strip.d.ts +4 -0
- package/registry/examples/shop/booking-strip.js +13 -0
- package/registry/examples/shop/booking-strip.tsx +12 -0
- package/registry/examples/shop/bulletin-banner.d.ts +4 -0
- package/registry/examples/shop/bulletin-banner.js +13 -0
- package/registry/examples/shop/bulletin-banner.tsx +12 -0
- package/registry/examples/shop/bulletin-board.d.ts +4 -0
- package/registry/examples/shop/bulletin-board.js +13 -0
- package/registry/examples/shop/bulletin-board.tsx +12 -0
- package/registry/examples/shop/cards.d.ts +4 -0
- package/registry/examples/shop/cards.js +13 -0
- package/registry/examples/shop/cards.tsx +12 -0
- package/registry/examples/shop/carousel.d.ts +4 -0
- package/registry/examples/shop/carousel.js +13 -0
- package/registry/examples/shop/carousel.tsx +12 -0
- package/registry/examples/shop/document.d.ts +4 -0
- package/registry/examples/shop/document.js +20 -0
- package/registry/examples/shop/document.tsx +13 -0
- package/registry/examples/shop/faq.d.ts +4 -0
- package/registry/examples/shop/faq.js +13 -0
- package/registry/examples/shop/faq.tsx +12 -0
- package/registry/examples/shop/gallery-filmstrip.d.ts +4 -0
- package/registry/examples/shop/gallery-filmstrip.js +13 -0
- package/registry/examples/shop/gallery-filmstrip.tsx +12 -0
- package/registry/examples/shop/gallery-grid.d.ts +4 -0
- package/registry/examples/shop/gallery-grid.js +13 -0
- package/registry/examples/shop/gallery-grid.tsx +12 -0
- package/registry/examples/shop/gallery-mosaic.d.ts +4 -0
- package/registry/examples/shop/gallery-mosaic.js +13 -0
- package/registry/examples/shop/gallery-mosaic.tsx +12 -0
- package/registry/examples/shop/gallery-wall.d.ts +4 -0
- package/registry/examples/shop/gallery-wall.js +13 -0
- package/registry/examples/shop/gallery-wall.tsx +12 -0
- package/registry/examples/shop/hero-banner.d.ts +4 -0
- package/registry/examples/shop/hero-banner.js +15 -0
- package/registry/examples/shop/hero-banner.tsx +14 -0
- package/registry/examples/shop/hero-poster.d.ts +4 -0
- package/registry/examples/shop/hero-poster.js +15 -0
- package/registry/examples/shop/hero-poster.tsx +14 -0
- package/registry/examples/shop/hero-split.d.ts +4 -0
- package/registry/examples/shop/hero-split.js +15 -0
- package/registry/examples/shop/hero-split.tsx +14 -0
- package/registry/examples/shop/hero-tv.d.ts +4 -0
- package/registry/examples/shop/hero-tv.js +15 -0
- package/registry/examples/shop/hero-tv.tsx +14 -0
- package/registry/examples/shop/index.d.ts +4 -0
- package/registry/examples/shop/index.js +13 -0
- package/registry/examples/shop/index.tsx +12 -0
- package/registry/examples/shop/menu-columns.d.ts +4 -0
- package/registry/examples/shop/menu-columns.js +13 -0
- package/registry/examples/shop/menu-columns.tsx +12 -0
- package/registry/examples/shop/menu.d.ts +4 -0
- package/registry/examples/shop/menu.js +25 -0
- package/registry/examples/shop/menu.tsx +21 -0
- package/registry/examples/shop/page.d.ts +4 -0
- package/registry/examples/shop/page.js +32 -0
- package/registry/examples/shop/page.tsx +27 -0
- package/registry/examples/shop/policies.d.ts +4 -0
- package/registry/examples/shop/policies.js +13 -0
- package/registry/examples/shop/policies.tsx +12 -0
- package/registry/examples/shop/reviews-quote.d.ts +4 -0
- package/registry/examples/shop/reviews-quote.js +13 -0
- package/registry/examples/shop/reviews-quote.tsx +12 -0
- package/registry/examples/shop/reviews-strip.d.ts +4 -0
- package/registry/examples/shop/reviews-strip.js +13 -0
- package/registry/examples/shop/reviews-strip.tsx +12 -0
- package/registry/examples/shop/reviews-summary-cards.d.ts +4 -0
- package/registry/examples/shop/reviews-summary-cards.js +13 -0
- package/registry/examples/shop/reviews-summary-cards.tsx +12 -0
- package/registry/examples/shop/social-facade.d.ts +4 -0
- package/registry/examples/shop/social-facade.js +13 -0
- package/registry/examples/shop/social-facade.tsx +12 -0
- package/registry/examples/shop/social-links.d.ts +4 -0
- package/registry/examples/shop/social-links.js +12 -0
- package/registry/examples/shop/social-links.tsx +11 -0
- package/registry/examples/shop/story-owner.d.ts +4 -0
- package/registry/examples/shop/story-owner.js +13 -0
- package/registry/examples/shop/story-owner.tsx +12 -0
- package/registry/examples/shop/story-quote.d.ts +4 -0
- package/registry/examples/shop/story-quote.js +13 -0
- package/registry/examples/shop/story-quote.tsx +12 -0
- package/registry/examples/shop/team-cards.d.ts +4 -0
- package/registry/examples/shop/team-cards.js +13 -0
- package/registry/examples/shop/team-cards.tsx +12 -0
- package/registry/examples/shop/team-row.d.ts +4 -0
- package/registry/examples/shop/team-row.js +13 -0
- package/registry/examples/shop/team-row.tsx +12 -0
- package/registry/examples/shop/video-shorts.d.ts +4 -0
- package/registry/examples/shop/video-shorts.js +14 -0
- package/registry/examples/shop/video-shorts.tsx +13 -0
- package/registry/examples/shop/video-tv.d.ts +4 -0
- package/registry/examples/shop/video-tv.js +13 -0
- package/registry/examples/shop/video-tv.tsx +12 -0
- package/registry/examples/shop/visit-card.d.ts +4 -0
- package/registry/examples/shop/visit-card.js +13 -0
- package/registry/examples/shop/visit-card.tsx +12 -0
- package/registry/examples/shop/visit-map.d.ts +4 -0
- package/registry/examples/shop/visit-map.js +13 -0
- package/registry/examples/shop/visit-map.tsx +12 -0
- package/registry/examples/shop/visit-split.d.ts +4 -0
- package/registry/examples/shop/visit-split.js +13 -0
- package/registry/examples/shop/visit-split.tsx +12 -0
- package/registry/examples/shop-composer/composer.d.ts +4 -0
- package/registry/examples/shop-composer/composer.js +17 -0
- package/registry/examples/shop-composer/composer.tsx +21 -0
- package/registry/examples/state-screen/native/empty.d.ts +4 -0
- package/registry/examples/state-screen/native/empty.dark.png +0 -0
- package/registry/examples/state-screen/native/empty.js +12 -0
- package/registry/examples/state-screen/native/empty.light.png +0 -0
- package/registry/examples/state-screen/native/empty.tsx +11 -0
- package/registry/examples/state-screen/native/error.d.ts +4 -0
- package/registry/examples/state-screen/native/error.dark.png +0 -0
- package/registry/examples/state-screen/native/error.js +21 -0
- package/registry/examples/state-screen/native/error.light.png +0 -0
- package/registry/examples/state-screen/native/error.tsx +17 -0
- package/registry/examples/state-screen/native/offline.d.ts +4 -0
- package/registry/examples/state-screen/native/offline.dark.png +0 -0
- package/registry/examples/state-screen/native/offline.js +15 -0
- package/registry/examples/state-screen/native/offline.light.png +0 -0
- package/registry/examples/state-screen/native/offline.tsx +12 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +1 -1
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form-flow.json +152 -0
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/grade-stamp.json +1 -1
- package/registry/grid.json +262 -0
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +403 -11
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +1 -1
- package/registry/list-detail.json +188 -0
- package/registry/list.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/margin-layout.json +1 -1
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +2 -2
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/onboarding.json +3 -0
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/reviews.json +1 -1
- package/registry/router.json +1 -1
- package/registry/screen.json +68 -4
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +24 -6
- package/registry/settings-layout.json +5 -2
- package/registry/shop-composer.json +424 -0
- package/registry/shop.json +776 -0
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +4 -4
- package/registry/sites.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/state-screen.json +224 -0
- package/registry/status-chip.json +1 -1
- package/registry/status-page.json +1 -1
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +3 -3
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +1 -1
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/usage.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/registry/wall.json +3 -3
- package/registry/waveform.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/booking-strip.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { BookingSection } from "@krizaka/ui/shop/booking";
|
|
6
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopBookingStrip() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(BookingSection, { label: "Next free times", times: demoSalon.times, href: "#book", actionLabel: "All times" }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopBookingStrip as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { BookingSection } from "@krizaka/ui/shop/booking";
|
|
3
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
4
|
+
|
|
5
|
+
// The next free times in one line: one tap each, then the booking page.
|
|
6
|
+
export default function ShopBookingStrip() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<BookingSection label="Next free times" times={demoSalon.times} href="#book" actionLabel="All times" />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/bulletin-banner.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { BulletinSection } from "@krizaka/ui/shop/bulletin";
|
|
6
|
+
import { demoFlyers } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopBulletinBanner() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(BulletinSection, { variant: "banner", title: "News", today: "2026-10-27", flyers: demoFlyers }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopBulletinBanner as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { BulletinSection } from "@krizaka/ui/shop/bulletin";
|
|
3
|
+
import { demoFlyers } from "@krizaka/ui/shop/demo";
|
|
4
|
+
|
|
5
|
+
// One line of text above the hero — never an image, so the first screen's LCP stays the hero's. The renderer hoists it.
|
|
6
|
+
export default function ShopBulletinBanner() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<BulletinSection variant="banner" title="News" today="2026-10-27" flyers={demoFlyers} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/bulletin-board.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { BulletinSection } from "@krizaka/ui/shop/bulletin";
|
|
6
|
+
import { demoFlyers } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopBulletinBoard() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(BulletinSection, { title: "News", today: "2026-11-04", flyers: demoFlyers }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopBulletinBoard as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { BulletinSection } from "@krizaka/ui/shop/bulletin";
|
|
3
|
+
import { demoFlyers } from "@krizaka/ui/shop/demo";
|
|
4
|
+
|
|
5
|
+
// Pinned notes, newest first, each taken down after its last day: `today` is the shop's, never read from a clock here.
|
|
6
|
+
export default function ShopBulletinBoard() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="airy">
|
|
9
|
+
<BulletinSection title="News" today="2026-11-04" flyers={demoFlyers} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/cards.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopCards() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "compact", children: /* @__PURE__ */ jsx(ServicesSection, { variant: "cards", title: "Walks and visits", services: demoPets.services, chooseLabel: "Choose", popularLabel: "Popular" }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopCards as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
4
|
+
|
|
5
|
+
// Services · cards: the same resolved services, another drawing.
|
|
6
|
+
export default function ShopCards() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="compact">
|
|
9
|
+
<ServicesSection variant="cards" title="Walks and visits" services={demoPets.services} chooseLabel="Choose" popularLabel="Popular" />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/carousel.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopCarousel() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "compact", children: /* @__PURE__ */ jsx(ServicesSection, { variant: "carousel", title: "Walks and visits", services: demoPets.services, chooseLabel: "Choose", popularLabel: "Popular" }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopCarousel as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
4
|
+
|
|
5
|
+
// Services · carousel: the same resolved services, another drawing.
|
|
6
|
+
export default function ShopCarousel() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="compact">
|
|
9
|
+
<ServicesSection variant="carousel" title="Walks and visits" services={demoPets.services} chooseLabel="Choose" popularLabel="Popular" />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/document.tsx
|
|
4
|
+
import { parseShopPage, shopStarters } from "@krizaka/ui/shop";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
function ShopDocument() {
|
|
7
|
+
const page = parseShopPage(shopStarters.salonCompact);
|
|
8
|
+
const broken = parseShopPage({ ...shopStarters.salonCompact, sections: [{ key: "s", type: "hero", variant: "tv2", settings: {} }] });
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid gap-4 p-4 font-mono text-sm text-fg", children: [
|
|
10
|
+
/* @__PURE__ */ jsx("ol", { className: "m-0 list-decimal pl-6", children: page.ok && page.page.sections.map((s) => /* @__PURE__ */ jsxs("li", { children: [
|
|
11
|
+
s.type,
|
|
12
|
+
" \xB7 ",
|
|
13
|
+
s.variant
|
|
14
|
+
] }, s.key)) }),
|
|
15
|
+
/* @__PURE__ */ jsx("p", { className: "m-0 text-fg-secondary", children: !broken.ok && broken.issues[0]?.path })
|
|
16
|
+
] });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
ShopDocument as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { parseShopPage, shopStarters } from "@krizaka/ui/shop";
|
|
2
|
+
|
|
3
|
+
// What a product stores: a document. `parseShopPage` validates it and says every issue with its path (a 422 for the route).
|
|
4
|
+
export default function ShopDocument() {
|
|
5
|
+
const page = parseShopPage(shopStarters.salonCompact);
|
|
6
|
+
const broken = parseShopPage({ ...shopStarters.salonCompact, sections: [{ key: "s", type: "hero", variant: "tv2", settings: {} }] });
|
|
7
|
+
return (
|
|
8
|
+
<div className="grid gap-4 p-4 font-mono text-sm text-fg">
|
|
9
|
+
<ol className="m-0 list-decimal pl-6">{page.ok && page.page.sections.map((s) => <li key={s.key}>{s.type} · {s.variant}</li>)}</ol>
|
|
10
|
+
<p className="m-0 text-fg-secondary">{!broken.ok && broken.issues[0]?.path}</p>
|
|
11
|
+
</div>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/faq.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoFaq } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { FaqSection } from "@krizaka/ui/shop/faq";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopFaq() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(FaqSection, { title: "Questions", questions: demoFaq }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopFaq as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoFaq } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { FaqSection } from "@krizaka/ui/shop/faq";
|
|
4
|
+
|
|
5
|
+
// Native `details`, and the same answers as FAQPage structured data for search engines.
|
|
6
|
+
export default function ShopFaq() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<FaqSection title="Questions" questions={demoFaq} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/gallery-filmstrip.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopGalleryFilmstrip() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(GallerySection, { variant: "filmstrip", title: "Inside the salon", label: "Photos of the salon", photos: demoSalon.photos }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopGalleryFilmstrip as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
4
|
+
|
|
5
|
+
// Gallery · filmstrip: the shop's own photos, each once.
|
|
6
|
+
export default function ShopGalleryFilmstrip() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<GallerySection variant="filmstrip" title="Inside the salon" label="Photos of the salon" photos={demoSalon.photos} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/gallery-grid.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopGalleryGrid() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(GallerySection, { variant: "grid", title: "Inside the salon", label: "Photos of the salon", photos: demoSalon.photos }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopGalleryGrid as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
4
|
+
|
|
5
|
+
// Gallery · grid: the shop's own photos, each once.
|
|
6
|
+
export default function ShopGalleryGrid() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<GallerySection variant="grid" title="Inside the salon" label="Photos of the salon" photos={demoSalon.photos} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/gallery-mosaic.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopGalleryMosaic() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(GallerySection, { variant: "mosaic", title: "Inside the salon", label: "Photos of the salon", photos: demoSalon.photos }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopGalleryMosaic as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
4
|
+
|
|
5
|
+
// Gallery · mosaic: the shop's own photos, each once.
|
|
6
|
+
export default function ShopGalleryMosaic() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame>
|
|
9
|
+
<GallerySection variant="mosaic" title="Inside the salon" label="Photos of the salon" photos={demoSalon.photos} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/gallery-wall.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopGalleryWall() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(GallerySection, { variant: "wall", title: "On the wall", label: "The shop's wall", photos: demoPets.photos.slice(0, 4), sign: demoPets.name, texture: "ridge", notes: [{ id: "n1", text: "Rex waits for Maude at the door every morning.", signature: "Chlo\xE9" }] }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopGalleryWall as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { GallerySection } from "@krizaka/ui/shop/gallery";
|
|
4
|
+
|
|
5
|
+
// Gallery · wall: polaroids, a note from a client and the shop's sign, hung the same way every time.
|
|
6
|
+
export default function ShopGalleryWall() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="airy">
|
|
9
|
+
<GallerySection variant="wall" title="On the wall" label="The shop's wall" photos={demoPets.photos.slice(0, 4)} sign={demoPets.name} texture="ridge" notes={[{ id: "n1", text: "Rex waits for Maude at the door every morning.", signature: "Chloé" }]} />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/hero-banner.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
6
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ShopHeroBanner() {
|
|
10
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
11
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(HeroSection, { variant: "banner", title: name, eyebrow, lead: promise, cover, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }) }) });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
ShopHeroBanner as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
3
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
4
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
5
|
+
|
|
6
|
+
// Hero · banner. The shop's name is the page's h1; the first image is the page's LCP.
|
|
7
|
+
export default function ShopHeroBanner() {
|
|
8
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
9
|
+
return (
|
|
10
|
+
<ShopFrame>
|
|
11
|
+
<HeroSection variant="banner" title={name} eyebrow={eyebrow} lead={promise} cover={cover} actions={<Button variant="primary" size="lg">Book</Button>} />
|
|
12
|
+
</ShopFrame>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/hero-poster.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
6
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ShopHeroPoster() {
|
|
10
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
11
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(HeroSection, { variant: "poster", title: name, eyebrow, lead: promise, cover, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }) }) });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
ShopHeroPoster as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
3
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
4
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
5
|
+
|
|
6
|
+
// Hero · poster. The shop's name is the page's h1; the first image is the page's LCP.
|
|
7
|
+
export default function ShopHeroPoster() {
|
|
8
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
9
|
+
return (
|
|
10
|
+
<ShopFrame>
|
|
11
|
+
<HeroSection variant="poster" title={name} eyebrow={eyebrow} lead={promise} cover={cover} actions={<Button variant="primary" size="lg">Book</Button>} />
|
|
12
|
+
</ShopFrame>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/hero-split.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
6
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ShopHeroSplit() {
|
|
10
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
11
|
+
return /* @__PURE__ */ jsx(ShopFrame, { children: /* @__PURE__ */ jsx(HeroSection, { variant: "split", title: name, eyebrow, lead: promise, cover, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }) }) });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
ShopHeroSplit as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
3
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
4
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
5
|
+
|
|
6
|
+
// Hero · split. The shop's name is the page's h1; the first image is the page's LCP.
|
|
7
|
+
export default function ShopHeroSplit() {
|
|
8
|
+
const { name, eyebrow, promise, cover } = demoSalon;
|
|
9
|
+
return (
|
|
10
|
+
<ShopFrame>
|
|
11
|
+
<HeroSection variant="split" title={name} eyebrow={eyebrow} lead={promise} cover={cover} actions={<Button variant="primary" size="lg">Book</Button>} />
|
|
12
|
+
</ShopFrame>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/hero-tv.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
6
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
7
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function ShopHeroTv() {
|
|
10
|
+
const { name, promise, cover } = demoSalon;
|
|
11
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(HeroSection, { variant: "tv", title: name, lead: promise, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }), tv: { src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9-en.9391096007.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 \xB7 Saint-Henri" } }) });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
ShopHeroTv as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button } from "@krizaka/ui/button";
|
|
2
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
3
|
+
import { demoSalon } from "@krizaka/ui/shop/demo";
|
|
4
|
+
import { HeroSection } from "@krizaka/ui/shop/hero";
|
|
5
|
+
|
|
6
|
+
// Hero · tv: the sign is the h1, the shop's latest video plays in the cabinet (a still here: the demo has no clip).
|
|
7
|
+
export default function ShopHeroTv() {
|
|
8
|
+
const { name, promise, cover } = demoSalon;
|
|
9
|
+
return (
|
|
10
|
+
<ShopFrame density="airy">
|
|
11
|
+
<HeroSection variant="tv" title={name} lead={promise} actions={<Button variant="primary" size="lg">Book</Button>} tv={{ src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9-en.9391096007.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 · Saint-Henri" }} />
|
|
12
|
+
</ShopFrame>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/index.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopIndex() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "compact", children: /* @__PURE__ */ jsx(ServicesSection, { variant: "index", title: "Walks and visits", services: demoPets.services, chooseLabel: "Choose", popularLabel: "Popular" }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopIndex as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
4
|
+
|
|
5
|
+
// Services · index: the same resolved services, another drawing.
|
|
6
|
+
export default function ShopIndex() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="compact">
|
|
9
|
+
<ServicesSection variant="index" title="Walks and visits" services={demoPets.services} chooseLabel="Choose" popularLabel="Popular" />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/shop/menu-columns.tsx
|
|
4
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
5
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
6
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function ShopMenuColumns() {
|
|
9
|
+
return /* @__PURE__ */ jsx(ShopFrame, { density: "compact", children: /* @__PURE__ */ jsx(ServicesSection, { title: "Walks and visits", services: demoPets.services, columns: 2, chooseLabel: "Choose", popularLabel: "Popular" }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
ShopMenuColumns as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShopFrame } from "@krizaka/ui/shop";
|
|
2
|
+
import { demoPets } from "@krizaka/ui/shop/demo";
|
|
3
|
+
import { ServicesSection } from "@krizaka/ui/shop/services";
|
|
4
|
+
|
|
5
|
+
// Nothing beside the list: two columns from a laptop, one on a phone.
|
|
6
|
+
export default function ShopMenuColumns() {
|
|
7
|
+
return (
|
|
8
|
+
<ShopFrame density="compact">
|
|
9
|
+
<ServicesSection title="Walks and visits" services={demoPets.services} columns={2} chooseLabel="Choose" popularLabel="Popular" />
|
|
10
|
+
</ShopFrame>
|
|
11
|
+
);
|
|
12
|
+
}
|