@krizaka/ui 3.29.0 → 3.31.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/README.md +4 -8
- package/dist/action-bar.js +3 -3
- package/dist/action-bar.js.map +1 -1
- package/dist/argument-card.d.ts +1 -1
- package/dist/argument-card.js +2 -2
- package/dist/argument-card.js.map +1 -1
- package/dist/blocks.css +19 -60
- package/dist/{button-BmCrLCq7.d.ts → button-Cm9pFH3P.d.ts} +10 -9
- package/dist/button.d.ts +11 -10
- package/dist/button.js +1 -1
- package/dist/captcha.js +1 -1
- package/dist/card-grid.d.ts +5 -12
- package/dist/card-grid.js +4 -12
- package/dist/card-grid.js.map +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.js +2 -2
- package/dist/card.js.map +1 -1
- package/dist/{chunk-OUWPBSSL.js → chunk-2AJ4NJUF.js} +8 -9
- package/dist/chunk-2AJ4NJUF.js.map +1 -0
- package/dist/{chunk-MQPC3P4T.js → chunk-2DGLWTPS.js} +3 -3
- package/dist/chunk-2DGLWTPS.js.map +1 -0
- package/dist/{chunk-DZU6RMYD.js → chunk-3DHNN5V7.js} +15 -9
- package/dist/chunk-3DHNN5V7.js.map +1 -0
- package/dist/{chunk-TFJDIOFK.js → chunk-4E5IUZHR.js} +3 -3
- package/dist/chunk-4E5IUZHR.js.map +1 -0
- package/dist/{chunk-HAQWKORZ.js → chunk-4JO5GSSD.js} +1 -37
- package/dist/chunk-4JO5GSSD.js.map +1 -0
- package/dist/{chunk-APNIVNIX.js → chunk-IBDTAMPF.js} +3 -4
- package/dist/chunk-IBDTAMPF.js.map +1 -0
- package/dist/{chunk-LYOPPBMC.js → chunk-KIBICUZK.js} +2 -2
- package/dist/{chunk-HBZPJ3EP.js → chunk-NJFCSVPT.js} +2 -2
- package/dist/{chunk-KM6VAKIE.js → chunk-RE5WJ4QP.js} +2 -2
- package/dist/chunk-RE5WJ4QP.js.map +1 -0
- package/dist/{chunk-CHOJUCVE.js → chunk-SJS6RJIT.js} +15 -9
- package/dist/chunk-SJS6RJIT.js.map +1 -0
- package/dist/{chunk-6ZYRUOTA.js → chunk-UV4HBVH7.js} +15 -9
- package/dist/chunk-UV4HBVH7.js.map +1 -0
- package/dist/command.js +2 -2
- package/dist/confirm-button.d.ts +1 -1
- package/dist/confirm-button.js +1 -1
- package/dist/continue-prompt.js +14 -8
- package/dist/continue-prompt.js.map +1 -1
- package/dist/data-table.js +2 -2
- package/dist/dialog.js +2 -2
- package/dist/engine-flow.d.ts +25 -2
- package/dist/engine-flow.js +27 -6
- package/dist/engine-flow.js.map +1 -1
- package/dist/force-update-screen.js +2 -2
- package/dist/force-update-screen.js.map +1 -1
- package/dist/genui.js +3 -3
- package/dist/glow-card.d.ts +5 -4
- package/dist/glow-card.js +2 -8
- package/dist/glow-card.js.map +1 -1
- package/dist/image-cropper.js +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/iso.d.ts +1 -1
- package/dist/iso.js.map +1 -1
- package/dist/landscape.js +4 -4
- package/dist/landscape.js.map +1 -1
- package/dist/link-card.d.ts +3 -6
- package/dist/link-card.js +1 -1
- package/dist/maintenance-screen.js +1 -1
- package/dist/map.d.ts +50 -5
- package/dist/map.js +202 -66
- package/dist/map.js.map +1 -1
- package/dist/match-dialog.js +1 -1
- package/dist/media-gallery.js +1 -1
- package/dist/media-gallery.js.map +1 -1
- package/dist/media-grid.js +2 -2
- package/dist/motion.css +52 -122
- package/dist/motion.d.ts +2 -2
- package/dist/motion.js +1 -1
- package/dist/native/map.js +64 -64
- package/dist/native/map.js.map +1 -1
- package/dist/native.js +30 -30
- package/dist/native.js.map +1 -1
- package/dist/nav-bar.d.ts +12 -3
- package/dist/nav-bar.js +19 -12
- package/dist/nav-bar.js.map +1 -1
- package/dist/pointer-light.d.ts +6 -9
- package/dist/pointer-light.js +9 -5
- package/dist/pointer-light.js.map +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/radio-group.js.map +1 -1
- package/dist/service-card.js +1 -1
- package/dist/service-card.js.map +1 -1
- package/dist/site-footer.d.ts +1 -1
- package/dist/site-footer.js +2 -2
- package/dist/{sites-CHp_vELn.d.ts → sites-B4prB793.d.ts} +2 -2
- package/dist/sites.d.ts +2 -2
- package/dist/sites.js +6 -7
- package/dist/sites.js.map +1 -1
- package/dist/slider.js +1 -1
- package/dist/slider.js.map +1 -1
- package/dist/story.css +5 -12
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +1 -1
- package/dist/update-prompt.js +2 -2
- package/dist/update-prompt.js.map +1 -1
- package/dist/vertical-video.js +1 -1
- package/dist/video-player.js +2 -2
- package/dist/video-player.js.map +1 -1
- package/package.json +5 -5
- package/registry/action-bar.json +1 -1
- package/registry/app-shell.json +4 -4
- package/registry/argument-card.json +7 -16
- package/registry/auth-layout.json +4 -4
- package/registry/button.json +20 -20
- package/registry/card-grid.json +21 -24
- package/registry/card.json +7 -7
- package/registry/component-page.json +2 -2
- package/registry/confirm-button.json +6 -6
- package/registry/contact-page.json +2 -2
- package/registry/cover-hero.json +3 -3
- package/registry/dashboard-layout.json +2 -2
- package/registry/detail-layout.json +4 -4
- package/registry/docs-hub-page.json +2 -2
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +74 -3
- package/registry/examples/app-shell/admin-console.js +1 -1
- package/registry/examples/app-shell/admin-console.tsx +1 -1
- package/registry/examples/app-shell/basic.js +1 -1
- package/registry/examples/app-shell/basic.tsx +1 -1
- package/registry/examples/app-shell/desktop.js +1 -1
- package/registry/examples/app-shell/desktop.tsx +1 -1
- package/registry/examples/app-shell/orochia-studio.js +1 -1
- package/registry/examples/app-shell/orochia-studio.tsx +1 -1
- package/registry/examples/argument-card/hover-quiet.js +1 -1
- package/registry/examples/argument-card/hover-quiet.tsx +1 -1
- package/registry/examples/auth-layout/onboarding.js +2 -2
- package/registry/examples/auth-layout/onboarding.tsx +2 -2
- package/registry/examples/auth-layout/sign-in.js +2 -2
- package/registry/examples/auth-layout/sign-in.tsx +2 -2
- package/registry/examples/auth-layout/verify.js +1 -1
- package/registry/examples/auth-layout/verify.tsx +1 -1
- package/registry/examples/avatar/native/presence.dark.png +0 -0
- package/registry/examples/avatar/native/presence.light.png +0 -0
- package/registry/examples/badge/native/tones.dark.png +0 -0
- package/registry/examples/badge/native/tones.light.png +0 -0
- package/registry/examples/button/native/disabled.dark.png +0 -0
- package/registry/examples/button/native/disabled.light.png +0 -0
- package/registry/examples/button/native/gradient.dark.png +0 -0
- package/registry/examples/button/native/gradient.light.png +0 -0
- package/registry/examples/button/native/icon-only.dark.png +0 -0
- package/registry/examples/button/native/icon-only.light.png +0 -0
- package/registry/examples/button/native/icon.dark.png +0 -0
- package/registry/examples/button/native/icon.light.png +0 -0
- package/registry/examples/button/native/loading.dark.png +0 -0
- package/registry/examples/button/native/loading.light.png +0 -0
- package/registry/examples/button/native/primary.dark.png +0 -0
- package/registry/examples/button/native/primary.light.png +0 -0
- package/registry/examples/button/native/sizes.dark.png +0 -0
- package/registry/examples/button/native/sizes.light.png +0 -0
- package/registry/examples/button/signature.js +2 -2
- package/registry/examples/button/signature.tsx +4 -4
- package/registry/examples/card/interactive-link.tsx +1 -1
- package/registry/examples/card/native/body.dark.png +0 -0
- package/registry/examples/card/native/body.light.png +0 -0
- package/registry/examples/card/native/default.dark.png +0 -0
- package/registry/examples/card/native/default.light.png +0 -0
- package/registry/examples/card/native/elevated.dark.png +0 -0
- package/registry/examples/card/native/elevated.light.png +0 -0
- package/registry/examples/card-grid/hover-quiet.js +1 -1
- package/registry/examples/card-grid/hover-quiet.tsx +1 -1
- package/registry/examples/chat/native/assistant.dark.png +0 -0
- package/registry/examples/chat/native/assistant.light.png +0 -0
- package/registry/examples/chat/native/conversation.dark.png +0 -0
- package/registry/examples/chat/native/conversation.light.png +0 -0
- package/registry/examples/chat/native/inbox.dark.png +0 -0
- package/registry/examples/chat/native/inbox.light.png +0 -0
- package/registry/examples/checkbox/native/terms.dark.png +0 -0
- package/registry/examples/checkbox/native/terms.light.png +0 -0
- package/registry/examples/chip/native/multiple.dark.png +0 -0
- package/registry/examples/chip/native/multiple.light.png +0 -0
- package/registry/examples/chip/native/single.dark.png +0 -0
- package/registry/examples/chip/native/single.light.png +0 -0
- package/registry/examples/chip/native/toggle.dark.png +0 -0
- package/registry/examples/chip/native/toggle.light.png +0 -0
- package/registry/examples/component-page/button.js +2 -2
- package/registry/examples/component-page/button.tsx +2 -2
- package/registry/examples/contact-page/team.js +1 -1
- package/registry/examples/contact-page/team.tsx +1 -1
- package/registry/examples/cover-hero/plain.js +1 -1
- package/registry/examples/cover-hero/plain.tsx +1 -1
- package/registry/examples/cover-hero/shop.js +1 -1
- package/registry/examples/cover-hero/shop.tsx +1 -1
- package/registry/examples/dashboard-layout/orazaka-eric.js +2 -2
- package/registry/examples/dashboard-layout/orazaka-eric.tsx +2 -2
- package/registry/examples/date-picker/native/calendar.dark.png +0 -0
- package/registry/examples/date-picker/native/calendar.light.png +0 -0
- package/registry/examples/date-picker/native/day-strip.dark.png +0 -0
- package/registry/examples/date-picker/native/day-strip.light.png +0 -0
- package/registry/examples/date-picker/native/month-year.dark.png +0 -0
- package/registry/examples/date-picker/native/month-year.light.png +0 -0
- package/registry/examples/date-picker/native/time-slots.dark.png +0 -0
- package/registry/examples/date-picker/native/time-slots.light.png +0 -0
- package/registry/examples/description-list/native/job-details.dark.png +0 -0
- package/registry/examples/description-list/native/job-details.light.png +0 -0
- package/registry/examples/detail-layout/checkout.js +1 -1
- package/registry/examples/detail-layout/checkout.tsx +1 -1
- package/registry/examples/detail-layout/job.js +1 -1
- package/registry/examples/detail-layout/job.tsx +1 -1
- package/registry/examples/detail-layout/video.js +2 -2
- package/registry/examples/detail-layout/video.tsx +2 -2
- package/registry/examples/dialog/native/sheet.dark.png +0 -0
- package/registry/examples/dialog/native/sheet.light.png +0 -0
- package/registry/examples/docs-hub-page/krizaka.js +1 -1
- package/registry/examples/docs-hub-page/krizaka.tsx +1 -1
- package/registry/examples/empty-state/library.js +1 -1
- package/registry/examples/empty-state/library.tsx +1 -1
- package/registry/examples/empty-state/native/default.dark.png +0 -0
- package/registry/examples/empty-state/native/default.light.png +0 -0
- package/registry/examples/fab/native/extended.dark.png +0 -0
- package/registry/examples/fab/native/extended.light.png +0 -0
- package/registry/examples/force-update-screen/native/default.dark.png +0 -0
- package/registry/examples/force-update-screen/native/default.light.png +0 -0
- package/registry/examples/form/native/amount.dark.png +0 -0
- package/registry/examples/form/native/amount.light.png +0 -0
- package/registry/examples/form/native/audience.dark.png +0 -0
- package/registry/examples/form/native/audience.light.png +0 -0
- package/registry/examples/form/native/profile.dark.png +0 -0
- package/registry/examples/form/native/profile.light.png +0 -0
- package/registry/examples/form/native/settings.dark.png +0 -0
- package/registry/examples/form/native/settings.light.png +0 -0
- package/registry/examples/form/native/sign-up.dark.png +0 -0
- package/registry/examples/form/native/sign-up.light.png +0 -0
- package/registry/examples/form/native/upload.dark.png +0 -0
- package/registry/examples/form/native/upload.light.png +0 -0
- package/registry/examples/glow-card/spotlight.tsx +1 -1
- package/registry/examples/goal-gauge/native/default.dark.png +0 -0
- package/registry/examples/goal-gauge/native/default.light.png +0 -0
- package/registry/examples/landing-page/krizaka.js +3 -3
- package/registry/examples/landing-page/krizaka.tsx +3 -3
- package/registry/examples/link-card/hover-quiet.js +1 -1
- package/registry/examples/link-card/hover-quiet.tsx +1 -1
- package/registry/examples/loader/native/block.dark.png +0 -0
- package/registry/examples/loader/native/block.light.png +0 -0
- package/registry/examples/map/native/location-picker.dark.png +0 -0
- package/registry/examples/map/native/location-picker.light.png +0 -0
- package/registry/examples/map/route.js +36 -0
- package/registry/examples/map/route.tsx +35 -0
- package/registry/examples/marketing-layout/pricing.js +1 -1
- package/registry/examples/marketing-layout/pricing.tsx +1 -1
- package/registry/examples/marketing-layout/product-page.js +1 -1
- package/registry/examples/marketing-layout/product-page.tsx +2 -2
- package/registry/examples/mascot-state/native/default.dark.png +0 -0
- package/registry/examples/mascot-state/native/default.light.png +0 -0
- package/registry/examples/mascots/native/crane.dark.png +0 -0
- package/registry/examples/mascots/native/crane.light.png +0 -0
- package/registry/examples/mascots/native/default.dark.png +0 -0
- package/registry/examples/mascots/native/default.light.png +0 -0
- package/registry/examples/mascots/native/lovebird.dark.png +0 -0
- package/registry/examples/mascots/native/lovebird.light.png +0 -0
- package/registry/examples/mascots/native/phoenix.dark.png +0 -0
- package/registry/examples/mascots/native/phoenix.light.png +0 -0
- package/registry/examples/match-dialog/native/its-a-match.dark.png +0 -0
- package/registry/examples/match-dialog/native/its-a-match.light.png +0 -0
- package/registry/examples/media-capture/native/photo.dark.png +0 -0
- package/registry/examples/media-capture/native/photo.light.png +0 -0
- package/registry/examples/meta-row/native/video.dark.png +0 -0
- package/registry/examples/meta-row/native/video.light.png +0 -0
- package/registry/examples/meter/native/credits.dark.png +0 -0
- package/registry/examples/meter/native/credits.light.png +0 -0
- package/registry/examples/meter/native/split-ring.dark.png +0 -0
- package/registry/examples/meter/native/split-ring.light.png +0 -0
- package/registry/examples/nav-bar/family-product.js +1 -1
- package/registry/examples/nav-bar/family-product.tsx +1 -1
- package/registry/examples/onboarding/native/first-launch.dark.png +0 -0
- package/registry/examples/onboarding/native/first-launch.light.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.dark.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.light.png +0 -0
- package/registry/examples/permission-prompt/native/camera.dark.png +0 -0
- package/registry/examples/permission-prompt/native/camera.light.png +0 -0
- package/registry/examples/photo-grid/native/profile-photos.dark.png +0 -0
- package/registry/examples/photo-grid/native/profile-photos.light.png +0 -0
- package/registry/examples/pricing-page/credits.js +3 -3
- package/registry/examples/pricing-page/credits.tsx +3 -3
- package/registry/examples/product-page/orazaka.js +2 -2
- package/registry/examples/product-page/orazaka.tsx +2 -2
- package/registry/examples/profile-card/native/default.dark.png +0 -0
- package/registry/examples/profile-card/native/default.light.png +0 -0
- package/registry/examples/progress/native/bar.dark.png +0 -0
- package/registry/examples/progress/native/bar.light.png +0 -0
- package/registry/examples/progress/native/indeterminate.dark.png +0 -0
- package/registry/examples/progress/native/indeterminate.light.png +0 -0
- package/registry/examples/progress/native/ring.dark.png +0 -0
- package/registry/examples/progress/native/ring.light.png +0 -0
- package/registry/examples/radio-group/native/buttons.dark.png +0 -0
- package/registry/examples/radio-group/native/buttons.light.png +0 -0
- package/registry/examples/radio-group/native/cards.dark.png +0 -0
- package/registry/examples/radio-group/native/cards.light.png +0 -0
- package/registry/examples/radio-group/native/list.dark.png +0 -0
- package/registry/examples/radio-group/native/list.light.png +0 -0
- package/registry/examples/screen/native/auth.dark.png +0 -0
- package/registry/examples/screen/native/auth.light.png +0 -0
- package/registry/examples/screen/native/chat.dark.png +0 -0
- package/registry/examples/screen/native/chat.light.png +0 -0
- package/registry/examples/screen/native/profile.dark.png +0 -0
- package/registry/examples/screen/native/profile.light.png +0 -0
- package/registry/examples/screen/native/settings.dark.png +0 -0
- package/registry/examples/screen/native/settings.light.png +0 -0
- package/registry/examples/search-field/native/cancel.dark.png +0 -0
- package/registry/examples/search-field/native/cancel.light.png +0 -0
- package/registry/examples/settings-layout/account.js +1 -1
- package/registry/examples/settings-layout/account.tsx +1 -1
- package/registry/examples/settings-layout/native/account.dark.png +0 -0
- package/registry/examples/settings-layout/native/account.light.png +0 -0
- package/registry/examples/settings-layout/sections.js +1 -1
- package/registry/examples/settings-layout/sections.tsx +1 -1
- package/registry/examples/showcase/native/slides.dark.png +0 -0
- package/registry/examples/showcase/native/slides.light.png +0 -0
- package/registry/examples/slider/native/default.dark.png +0 -0
- package/registry/examples/slider/native/default.light.png +0 -0
- package/registry/examples/slider/native/range.dark.png +0 -0
- package/registry/examples/slider/native/range.light.png +0 -0
- package/registry/examples/slider/native/stepped.dark.png +0 -0
- package/registry/examples/slider/native/stepped.light.png +0 -0
- package/registry/examples/slider/native/vertical.dark.png +0 -0
- package/registry/examples/slider/native/vertical.light.png +0 -0
- package/registry/examples/spinner/native/sizes.dark.png +0 -0
- package/registry/examples/spinner/native/sizes.light.png +0 -0
- package/registry/examples/split-view/messages.js +1 -1
- package/registry/examples/split-view/messages.tsx +1 -1
- package/registry/examples/status-page/building.js +1 -1
- package/registry/examples/status-page/building.tsx +1 -1
- package/registry/examples/step-progress/native/sign-up.dark.png +0 -0
- package/registry/examples/step-progress/native/sign-up.light.png +0 -0
- package/registry/examples/stepper/native/run.dark.png +0 -0
- package/registry/examples/stepper/native/run.light.png +0 -0
- package/registry/examples/sticky-action/phone.js +1 -1
- package/registry/examples/sticky-action/phone.tsx +1 -1
- package/registry/examples/switch/native/default.dark.png +0 -0
- package/registry/examples/switch/native/default.light.png +0 -0
- package/registry/examples/switch/native/settings.dark.png +0 -0
- package/registry/examples/switch/native/settings.light.png +0 -0
- package/registry/examples/tab-bar/native/main-sections.dark.png +0 -0
- package/registry/examples/tab-bar/native/main-sections.light.png +0 -0
- package/registry/examples/tabs/native/sections.dark.png +0 -0
- package/registry/examples/tabs/native/sections.light.png +0 -0
- package/registry/examples/tag-selector/native/interests.dark.png +0 -0
- package/registry/examples/tag-selector/native/interests.light.png +0 -0
- package/registry/examples/toast/native/snackbar.dark.png +0 -0
- package/registry/examples/toast/native/snackbar.light.png +0 -0
- package/registry/examples/toast/native/tones.dark.png +0 -0
- package/registry/examples/toast/native/tones.light.png +0 -0
- package/registry/examples/txt/native/tones.dark.png +0 -0
- package/registry/examples/txt/native/tones.light.png +0 -0
- package/registry/examples/update-prompt/native/default.dark.png +0 -0
- package/registry/examples/update-prompt/native/default.light.png +0 -0
- package/registry/examples/verified-badge/native/verified.dark.png +0 -0
- package/registry/examples/verified-badge/native/verified.light.png +0 -0
- package/registry/examples/vertical-video/native/rail.dark.png +0 -0
- package/registry/examples/vertical-video/native/rail.light.png +0 -0
- package/registry/examples/waveform/native/card.dark.png +0 -0
- package/registry/examples/waveform/native/card.light.png +0 -0
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +6 -6
- package/registry/glow-card.json +19 -19
- package/registry/index.json +20 -21
- package/registry/iso.json +7 -7
- package/registry/landing-page.json +2 -2
- package/registry/landscape.json +1 -1
- package/registry/link-card.json +15 -24
- package/registry/map.json +235 -6
- package/registry/marketing-layout.json +3 -3
- package/registry/media-gallery.json +1 -1
- package/registry/nav-bar.json +32 -4
- package/registry/pointer-light.json +17 -22
- package/registry/pricing-page.json +2 -2
- package/registry/product-page.json +2 -2
- package/registry/progress.json +2 -2
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +3 -3
- package/registry/site-footer.json +2 -2
- package/registry/sites.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/split-view.json +2 -2
- package/registry/status-page.json +1 -1
- package/registry/sticky-action.json +2 -2
- package/registry/update-prompt.json +1 -1
- package/registry/video-player.json +1 -1
- package/dist/chunk-6ZYRUOTA.js.map +0 -1
- package/dist/chunk-AB5D3KBG.js +0 -37
- package/dist/chunk-AB5D3KBG.js.map +0 -1
- package/dist/chunk-APNIVNIX.js.map +0 -1
- package/dist/chunk-CHOJUCVE.js.map +0 -1
- package/dist/chunk-DZU6RMYD.js.map +0 -1
- package/dist/chunk-HAQWKORZ.js.map +0 -1
- package/dist/chunk-KM6VAKIE.js.map +0 -1
- package/dist/chunk-MQPC3P4T.js.map +0 -1
- package/dist/chunk-OUWPBSSL.js.map +0 -1
- package/dist/chunk-TFJDIOFK.js.map +0 -1
- package/registry/examples/argument-card/hover-light.js +0 -17
- package/registry/examples/argument-card/hover-light.tsx +0 -19
- package/registry/examples/link-card/hover-light.d.ts +0 -4
- package/registry/examples/link-card/hover-light.js +0 -18
- package/registry/examples/link-card/hover-light.tsx +0 -20
- /package/dist/{chunk-LYOPPBMC.js.map → chunk-KIBICUZK.js.map} +0 -0
- /package/dist/{chunk-HBZPJ3EP.js.map → chunk-NJFCSVPT.js.map} +0 -0
- /package/registry/examples/{argument-card/hover-light.d.ts → map/route.d.ts} +0 -0
|
@@ -5,11 +5,11 @@ import { Button } from "@krizaka/ui/button";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
function ButtonSignature() {
|
|
7
7
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-3", children: [
|
|
8
|
-
/* @__PURE__ */ jsxs(Button, { variant: "gradient", size: "lg",
|
|
8
|
+
/* @__PURE__ */ jsxs(Button, { variant: "gradient", size: "lg", children: [
|
|
9
9
|
"Start free",
|
|
10
10
|
/* @__PURE__ */ jsx("svg", { "data-kz-icon": "ForwardIcon", viewBox: "0 0 24 24", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M5 12h14M13 6l6 6-6 6" }) })
|
|
11
11
|
] }),
|
|
12
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", size: "lg",
|
|
12
|
+
/* @__PURE__ */ jsx(Button, { variant: "outline", size: "lg", children: "Talk to us" })
|
|
13
13
|
] });
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Button } from "@krizaka/ui/button";
|
|
2
2
|
|
|
3
|
-
// The one action a page is about:
|
|
4
|
-
//
|
|
3
|
+
// The one action a page is about: the brand gradient beside a quiet outline. The arrow of a signature icon leans
|
|
4
|
+
// forward on hover; the button itself never moves (krizaka-ui#393).
|
|
5
5
|
export default function ButtonSignature() {
|
|
6
6
|
return (
|
|
7
7
|
<div className="flex flex-wrap items-center gap-3">
|
|
8
|
-
<Button variant="gradient" size="lg"
|
|
8
|
+
<Button variant="gradient" size="lg">
|
|
9
9
|
Start free
|
|
10
10
|
<svg data-kz-icon="ForwardIcon" viewBox="0 0 24 24" className="h-4 w-4" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" aria-hidden>
|
|
11
11
|
<path d="M5 12h14M13 6l6 6-6 6" />
|
|
12
12
|
</svg>
|
|
13
13
|
</Button>
|
|
14
|
-
<Button variant="outline" size="lg"
|
|
14
|
+
<Button variant="outline" size="lg">
|
|
15
15
|
Talk to us
|
|
16
16
|
</Button>
|
|
17
17
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Card } from "@krizaka/ui/card";
|
|
2
2
|
|
|
3
|
-
// `asChild` + `<a>`: the whole card is one link; `interactive` adds the
|
|
3
|
+
// `asChild` + `<a>`: the whole card is one link; `interactive` adds the quiet hover (a hairline and surface step).
|
|
4
4
|
export default function CardInteractiveLink() {
|
|
5
5
|
return (
|
|
6
6
|
<Card.Root asChild interactive>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -11,7 +11,7 @@ var shortcuts = [
|
|
|
11
11
|
{ id: "admin", logo: "orochia", title: "Orochia admin console", text: "Verification, moderation, payouts \u2014 behind four gates." }
|
|
12
12
|
];
|
|
13
13
|
function CardGridHoverQuiet() {
|
|
14
|
-
return /* @__PURE__ */ jsx(CardGrid, { className: "w-full max-w-4xl", min: 260, reveal: false,
|
|
14
|
+
return /* @__PURE__ */ jsx(CardGrid, { className: "w-full max-w-4xl", min: 260, reveal: false, children: shortcuts.map((s) => /* @__PURE__ */ jsx(LinkCard, { href: `#${s.id}`, icon: /* @__PURE__ */ jsx(ProductLogo, { id: s.logo, size: 24, animated: false }), title: s.title, description: s.text, cta: "Open" }, s.id)) });
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
17
17
|
CardGridHoverQuiet as default
|
|
@@ -11,7 +11,7 @@ const shortcuts = [
|
|
|
11
11
|
// A whole grid quiet: `hover="quiet"` on the grid, the cards inherit it (a card can still say `hover="light"`).
|
|
12
12
|
export default function CardGridHoverQuiet() {
|
|
13
13
|
return (
|
|
14
|
-
<CardGrid className="w-full max-w-4xl" min={260} reveal={false}
|
|
14
|
+
<CardGrid className="w-full max-w-4xl" min={260} reveal={false}>
|
|
15
15
|
{shortcuts.map((s) => (
|
|
16
16
|
<LinkCard key={s.id} href={`#${s.id}`} icon={<ProductLogo id={s.logo} size={24} animated={false} />} title={s.title} description={s.text} cta="Open" />
|
|
17
17
|
))}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -16,8 +16,8 @@ function ComponentPageButton() {
|
|
|
16
16
|
summary: "The action: six looks, three sizes, the Krizaka cut, and the whole life of an action built in.",
|
|
17
17
|
facts: [{ label: "Web + Mobile", tone: "ok" }, { label: "Stable" }],
|
|
18
18
|
preview: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-center gap-3 p-8", children: [
|
|
19
|
-
/* @__PURE__ */ jsx(Button, { variant: "primary",
|
|
20
|
-
/* @__PURE__ */ jsx(Button, { variant: "secondary",
|
|
19
|
+
/* @__PURE__ */ jsx(Button, { variant: "primary", children: "Publish" }),
|
|
20
|
+
/* @__PURE__ */ jsx(Button, { variant: "secondary", children: "Save a draft" })
|
|
21
21
|
] }),
|
|
22
22
|
install: { code: 'import { Button } from "@krizaka/ui/button";', language: "ts", copyLabel: "Copy", copiedLabel: "Copied" },
|
|
23
23
|
sections: [
|
|
@@ -15,8 +15,8 @@ export default function ComponentPageButton() {
|
|
|
15
15
|
facts={[{ label: "Web + Mobile", tone: "ok" }, { label: "Stable" }]}
|
|
16
16
|
preview={
|
|
17
17
|
<div className="flex flex-wrap items-center justify-center gap-3 p-8">
|
|
18
|
-
<Button variant="primary"
|
|
19
|
-
<Button variant="secondary"
|
|
18
|
+
<Button variant="primary">Publish</Button>
|
|
19
|
+
<Button variant="secondary">Save a draft</Button>
|
|
20
20
|
</div>
|
|
21
21
|
}
|
|
22
22
|
install={{ code: 'import { Button } from "@krizaka/ui/button";', language: "ts", copyLabel: "Copy", copiedLabel: "Copied" }}
|
|
@@ -28,7 +28,7 @@ function ContactPageTeam() {
|
|
|
28
28
|
/* @__PURE__ */ jsx(Field.Label, { htmlFor: "contact-message", children: "Message" }),
|
|
29
29
|
/* @__PURE__ */ jsx(Textarea, { id: "contact-message", rows: 4 })
|
|
30
30
|
] }),
|
|
31
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "primary", size: "lg",
|
|
31
|
+
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "primary", size: "lg", children: "Send" })
|
|
32
32
|
] }),
|
|
33
33
|
next: { title: "What happens next", steps: [{ title: "We read it", text: "The same day, on working days." }, { title: "We answer", text: "Within two working days." }] }
|
|
34
34
|
}
|
|
@@ -29,7 +29,7 @@ export default function ContactPageTeam() {
|
|
|
29
29
|
<Field.Label htmlFor="contact-message">Message</Field.Label>
|
|
30
30
|
<Textarea id="contact-message" rows={4} />
|
|
31
31
|
</Field.Root>
|
|
32
|
-
<Button type="submit" variant="primary" size="lg"
|
|
32
|
+
<Button type="submit" variant="primary" size="lg">Send</Button>
|
|
33
33
|
</form>
|
|
34
34
|
}
|
|
35
35
|
next={{ title: "What happens next", steps: [{ title: "We read it", text: "The same day, on working days." }, { title: "We answer", text: "Within two working days." }] }}
|
|
@@ -5,7 +5,7 @@ import { Button } from "@krizaka/ui/button";
|
|
|
5
5
|
import { CoverHero } from "@krizaka/ui/cover-hero";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function CoverHeroPlain() {
|
|
8
|
-
return /* @__PURE__ */ jsx(CoverHero, { eyebrow: "Plateau \xB7 Montr\xE9al", title: "Atelier S\xE8ve", lead: "Ceramics classes for beginners, in small groups.", actions: /* @__PURE__ */ jsx(Button, { size: "lg",
|
|
8
|
+
return /* @__PURE__ */ jsx(CoverHero, { eyebrow: "Plateau \xB7 Montr\xE9al", title: "Atelier S\xE8ve", lead: "Ceramics classes for beginners, in small groups.", actions: /* @__PURE__ */ jsx(Button, { size: "lg", variant: "primary", children: "Book a class" }) });
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
11
|
CoverHeroPlain as default
|
|
@@ -3,5 +3,5 @@ import { CoverHero } from "@krizaka/ui/cover-hero";
|
|
|
3
3
|
|
|
4
4
|
// Without a cover the hero wears the brand's colours: a new shop still opens on a designed screen.
|
|
5
5
|
export default function CoverHeroPlain() {
|
|
6
|
-
return <CoverHero eyebrow="Plateau · Montréal" title="Atelier Sève" lead="Ceramics classes for beginners, in small groups." actions={<Button size="lg"
|
|
6
|
+
return <CoverHero eyebrow="Plateau · Montréal" title="Atelier Sève" lead="Ceramics classes for beginners, in small groups." actions={<Button size="lg" variant="primary">Book a class</Button>} />;
|
|
7
7
|
}
|
|
@@ -18,7 +18,7 @@ function CoverHeroShop() {
|
|
|
18
18
|
/* @__PURE__ */ jsx(Badge, { tone: "success", dot: true, size: "md", children: "Open now \xB7 closes at 5 pm" }),
|
|
19
19
|
/* @__PURE__ */ jsx(Badge, { tone: "scrim", size: "md", children: "Saint-Henri" })
|
|
20
20
|
] }),
|
|
21
|
-
actions: /* @__PURE__ */ jsx(Button, { size: "lg",
|
|
21
|
+
actions: /* @__PURE__ */ jsx(Button, { size: "lg", variant: "primary", children: "Book a walk" })
|
|
22
22
|
}
|
|
23
23
|
);
|
|
24
24
|
}
|
|
@@ -14,7 +14,7 @@ export default function CoverHeroShop() {
|
|
|
14
14
|
title="Pattes de Saint-Henri"
|
|
15
15
|
lead="Neighbourhood dog walks, with a photo and a note after each one."
|
|
16
16
|
facts={<><Badge tone="success" dot size="md">Open now · closes at 5 pm</Badge><Badge tone="scrim" size="md">Saint-Henri</Badge></>}
|
|
17
|
-
actions={<Button size="lg"
|
|
17
|
+
actions={<Button size="lg" variant="primary">Book a walk</Button>}
|
|
18
18
|
/>
|
|
19
19
|
);
|
|
20
20
|
}
|
|
@@ -25,8 +25,8 @@ function DashboardLayoutOrazakaEric() {
|
|
|
25
25
|
title: "Good morning, Eric",
|
|
26
26
|
description: "Nothing left your server this week: 1,284 requests, all answered locally.",
|
|
27
27
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
28
|
-
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary",
|
|
29
|
-
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary",
|
|
28
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary", children: "Add a pack" }),
|
|
29
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary", children: "New job" })
|
|
30
30
|
] }),
|
|
31
31
|
toolbar: /* @__PURE__ */ jsxs(Chip.Group, { type: "single", label: "Period", defaultValue: "7d", required: true, children: [
|
|
32
32
|
/* @__PURE__ */ jsx(Chip, { value: "today", children: "Today" }),
|
|
@@ -27,8 +27,8 @@ export default function DashboardLayoutOrazakaEric() {
|
|
|
27
27
|
description="Nothing left your server this week: 1,284 requests, all answered locally."
|
|
28
28
|
actions={
|
|
29
29
|
<>
|
|
30
|
-
<Button size="sm" variant="secondary"
|
|
31
|
-
<Button size="sm" variant="primary"
|
|
30
|
+
<Button size="sm" variant="secondary">Add a pack</Button>
|
|
31
|
+
<Button size="sm" variant="primary">New job</Button>
|
|
32
32
|
</>
|
|
33
33
|
}
|
|
34
34
|
toolbar={
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -20,7 +20,7 @@ function DetailLayoutCheckout() {
|
|
|
20
20
|
meta: "She keeps 90 %. Paid out every Monday.",
|
|
21
21
|
aside: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 rounded-xl border border-border-default bg-surface-1 p-4", children: [
|
|
22
22
|
/* @__PURE__ */ jsx(Stat, { label: "You pay", value: `\u20AC${amount}`, hint: "no fee added on top" }),
|
|
23
|
-
/* @__PURE__ */ jsx(Button, { variant: "primary",
|
|
23
|
+
/* @__PURE__ */ jsx(Button, { variant: "primary", className: "w-full", children: `Tip \u20AC${amount}` })
|
|
24
24
|
] }),
|
|
25
25
|
children: /* @__PURE__ */ jsxs("form", { className: "flex max-w-lg flex-col gap-5", onSubmit: (e) => e.preventDefault(), children: [
|
|
26
26
|
/* @__PURE__ */ jsx(Chip.Group, { type: "single", label: "Amount", value: amount, onValueChange: (v) => v && setAmount(v), required: true, children: AMOUNTS.map((a) => /* @__PURE__ */ jsx(Chip, { value: String(a), children: `\u20AC${a}` }, a)) }),
|
|
@@ -23,7 +23,7 @@ export default function DetailLayoutCheckout() {
|
|
|
23
23
|
aside={
|
|
24
24
|
<div className="flex flex-col gap-4 rounded-xl border border-border-default bg-surface-1 p-4">
|
|
25
25
|
<Stat label="You pay" value={`€${amount}`} hint="no fee added on top" />
|
|
26
|
-
<Button variant="primary"
|
|
26
|
+
<Button variant="primary" className="w-full">{`Tip €${amount}`}</Button>
|
|
27
27
|
</div>
|
|
28
28
|
}
|
|
29
29
|
>
|
|
@@ -15,7 +15,7 @@ function DetailLayoutJob() {
|
|
|
15
15
|
title: "Podcast transcript",
|
|
16
16
|
status: /* @__PURE__ */ jsx(Badge, { tone: "accent", dot: true, children: "Running" }),
|
|
17
17
|
meta: "Whisper large \xB7 started 5 min ago",
|
|
18
|
-
actions: /* @__PURE__ */ jsx(Button, { size: "sm", variant: "danger",
|
|
18
|
+
actions: /* @__PURE__ */ jsx(Button, { size: "sm", variant: "danger", children: "Cancel" }),
|
|
19
19
|
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-fg-secondary", children: "The transcript appears here as it is written." })
|
|
20
20
|
}
|
|
21
21
|
);
|
|
@@ -12,7 +12,7 @@ export default function DetailLayoutJob() {
|
|
|
12
12
|
title="Podcast transcript"
|
|
13
13
|
status={<Badge tone="accent" dot>Running</Badge>}
|
|
14
14
|
meta="Whisper large · started 5 min ago"
|
|
15
|
-
actions={<Button size="sm" variant="danger"
|
|
15
|
+
actions={<Button size="sm" variant="danger">Cancel</Button>}
|
|
16
16
|
>
|
|
17
17
|
<p className="text-sm text-fg-secondary">The transcript appears here as it is written.</p>
|
|
18
18
|
</DetailLayout>
|
|
@@ -19,8 +19,8 @@ function DetailLayoutVideo() {
|
|
|
19
19
|
status: /* @__PURE__ */ jsx(Badge, { tone: "success", dot: true, children: "Published" }),
|
|
20
20
|
meta: /* @__PURE__ */ jsx(Facts, { items: [{ label: "12:48" }, { label: "Unlock \u20AC4.99" }, { label: "18+ checked", tone: "ok" }] }),
|
|
21
21
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22
|
-
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary",
|
|
23
|
-
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary",
|
|
22
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "secondary", children: "Edit" }),
|
|
23
|
+
/* @__PURE__ */ jsx(Button, { size: "sm", variant: "primary", children: "Share" })
|
|
24
24
|
] }),
|
|
25
25
|
tabs: /* @__PURE__ */ jsxs(Tabs.List, { "aria-label": "Video", children: [
|
|
26
26
|
/* @__PURE__ */ jsx(Tabs.Trigger, { value: "overview", children: "Overview" }),
|
|
@@ -23,8 +23,8 @@ export default function DetailLayoutVideo() {
|
|
|
23
23
|
meta={<Facts items={[{ label: "12:48" }, { label: "Unlock €4.99" }, { label: "18+ checked", tone: "ok" }]} />}
|
|
24
24
|
actions={
|
|
25
25
|
<>
|
|
26
|
-
<Button size="sm" variant="secondary"
|
|
27
|
-
<Button size="sm" variant="primary"
|
|
26
|
+
<Button size="sm" variant="secondary">Edit</Button>
|
|
27
|
+
<Button size="sm" variant="primary">Share</Button>
|
|
28
28
|
</>
|
|
29
29
|
}
|
|
30
30
|
tabs={
|
|
Binary file
|
|
Binary file
|
|
@@ -20,7 +20,7 @@ function DocsHubPageKrizaka() {
|
|
|
20
20
|
eyebrow: "Documentation",
|
|
21
21
|
title: "Build with Krizaka",
|
|
22
22
|
lead: "Every building block the products are made of, documented from its source.",
|
|
23
|
-
search: /* @__PURE__ */ jsxs(Button, { variant: "secondary", size: "lg",
|
|
23
|
+
search: /* @__PURE__ */ jsxs(Button, { variant: "secondary", size: "lg", className: "w-full justify-between text-fg-secondary", children: [
|
|
24
24
|
"Search the documentation ",
|
|
25
25
|
/* @__PURE__ */ jsx(Kbd, { children: "\u2318K" })
|
|
26
26
|
] }),
|
|
@@ -21,7 +21,7 @@ export default function DocsHubPageKrizaka() {
|
|
|
21
21
|
title="Build with Krizaka"
|
|
22
22
|
lead="Every building block the products are made of, documented from its source."
|
|
23
23
|
search={
|
|
24
|
-
<Button variant="secondary" size="lg"
|
|
24
|
+
<Button variant="secondary" size="lg" className="w-full justify-between text-fg-secondary">
|
|
25
25
|
Search the documentation <Kbd>⌘K</Kbd>
|
|
26
26
|
</Button>
|
|
27
27
|
}
|
|
@@ -15,7 +15,7 @@ function EmptyStateLibrary() {
|
|
|
15
15
|
icon: /* @__PURE__ */ jsx(Mascot, { bird: "flamingo", mood: "empty", size: 96 }),
|
|
16
16
|
title: "Nothing here yet",
|
|
17
17
|
description: "Your videos, once published, wait here with their sales. The first one takes about ten minutes.",
|
|
18
|
-
action: /* @__PURE__ */ jsx(Button, { variant: "primary",
|
|
18
|
+
action: /* @__PURE__ */ jsx(Button, { variant: "primary", children: "Publish a first video" })
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
] });
|
|
@@ -13,7 +13,7 @@ export default function EmptyStateLibrary() {
|
|
|
13
13
|
icon={<Mascot bird="flamingo" mood="empty" size={96} />}
|
|
14
14
|
title="Nothing here yet"
|
|
15
15
|
description="Your videos, once published, wait here with their sales. The first one takes about ten minutes."
|
|
16
|
-
action={<Button variant="primary"
|
|
16
|
+
action={<Button variant="primary">Publish a first video</Button>}
|
|
17
17
|
/>
|
|
18
18
|
</Page>
|
|
19
19
|
);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GlowCard } from "@krizaka/ui/glow-card";
|
|
2
2
|
|
|
3
|
-
// `glow="spotlight"
|
|
3
|
+
// `glow="spotlight"` is deprecated (krizaka-ui#393): the bloom under the pointer is retired, so these cards draw no ring.
|
|
4
4
|
export default function GlowCardSpotlight() {
|
|
5
5
|
return (
|
|
6
6
|
<div className="grid w-full max-w-lg grid-cols-2 gap-3">
|
|
Binary file
|
|
Binary file
|
|
@@ -13,8 +13,8 @@ function LandingPageKrizaka() {
|
|
|
13
13
|
title: "Products that keep what is yours",
|
|
14
14
|
lead: "Krizaka builds sovereign AI and a platform where creators are paid \u2014 open source, on your servers or ours.",
|
|
15
15
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
16
|
-
/* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg",
|
|
17
|
-
/* @__PURE__ */ jsx(Button, { variant: "secondary", size: "lg",
|
|
16
|
+
/* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "See the products" }),
|
|
17
|
+
/* @__PURE__ */ jsx(Button, { variant: "secondary", size: "lg", children: "Read the docs" })
|
|
18
18
|
] }),
|
|
19
19
|
visualLabel: "orazaka.local \u2014 console",
|
|
20
20
|
visual: /* @__PURE__ */ jsxs("div", { className: "grid gap-3 p-5", children: [
|
|
@@ -35,7 +35,7 @@ function LandingPageKrizaka() {
|
|
|
35
35
|
{ id: "blocks", size: "md", title: "Open building blocks", text: "Users, billing, notifications \u2014 on Maven Central and npm." },
|
|
36
36
|
{ id: "ui", size: "md", title: "One design system", text: "Krizaka UI, web and mobile, documented from its code." }
|
|
37
37
|
],
|
|
38
|
-
closing: { title: "Something to build together?", body: "Tell us what you need; a person answers within two days.", actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg",
|
|
38
|
+
closing: { title: "Something to build together?", body: "Tell us what you need; a person answers within two days.", actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Contact us" }) }
|
|
39
39
|
}
|
|
40
40
|
);
|
|
41
41
|
}
|
|
@@ -13,8 +13,8 @@ export default function LandingPageKrizaka() {
|
|
|
13
13
|
lead="Krizaka builds sovereign AI and a platform where creators are paid — open source, on your servers or ours."
|
|
14
14
|
actions={
|
|
15
15
|
<>
|
|
16
|
-
<Button variant="primary" size="lg"
|
|
17
|
-
<Button variant="secondary" size="lg"
|
|
16
|
+
<Button variant="primary" size="lg">See the products</Button>
|
|
17
|
+
<Button variant="secondary" size="lg">Read the docs</Button>
|
|
18
18
|
</>
|
|
19
19
|
}
|
|
20
20
|
visualLabel="orazaka.local — console"
|
|
@@ -38,7 +38,7 @@ export default function LandingPageKrizaka() {
|
|
|
38
38
|
{ id: "blocks", size: "md", title: "Open building blocks", text: "Users, billing, notifications — on Maven Central and npm." },
|
|
39
39
|
{ id: "ui", size: "md", title: "One design system", text: "Krizaka UI, web and mobile, documented from its code." },
|
|
40
40
|
]}
|
|
41
|
-
closing={{ title: "Something to build together?", body: "Tell us what you need; a person answers within two days.", actions: <Button variant="primary" size="lg"
|
|
41
|
+
closing={{ title: "Something to build together?", body: "Tell us what you need; a person answers within two days.", actions: <Button variant="primary" size="lg">Contact us</Button> }}
|
|
42
42
|
/>
|
|
43
43
|
);
|
|
44
44
|
}
|
|
@@ -11,7 +11,7 @@ var shortcuts = [
|
|
|
11
11
|
{ id: "admin", logo: "orochia", title: "Orochia admin console", text: "Verification, moderation, payouts \u2014 behind four gates." }
|
|
12
12
|
];
|
|
13
13
|
function LinkCardHoverQuiet() {
|
|
14
|
-
return /* @__PURE__ */ jsx(CardGrid, { className: "w-full max-w-4xl", min: 260, reveal: false, children: shortcuts.map((s) => /* @__PURE__ */ jsx(LinkCard, {
|
|
14
|
+
return /* @__PURE__ */ jsx(CardGrid, { className: "w-full max-w-4xl", min: 260, reveal: false, children: shortcuts.map((s) => /* @__PURE__ */ jsx(LinkCard, { href: `#${s.id}`, icon: /* @__PURE__ */ jsx(ProductLogo, { id: s.logo, size: 24, animated: false }), title: s.title, description: s.text, cta: "Open" }, s.id)) });
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
17
17
|
LinkCardHoverQuiet as default
|
|
@@ -13,7 +13,7 @@ export default function LinkCardHoverQuiet() {
|
|
|
13
13
|
return (
|
|
14
14
|
<CardGrid className="w-full max-w-4xl" min={260} reveal={false}>
|
|
15
15
|
{shortcuts.map((s) => (
|
|
16
|
-
<LinkCard key={s.id}
|
|
16
|
+
<LinkCard key={s.id} href={`#${s.id}`} icon={<ProductLogo id={s.logo} size={24} animated={false} />} title={s.title} description={s.text} cta="Open" />
|
|
17
17
|
))}
|
|
18
18
|
</CardGrid>
|
|
19
19
|
);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/map/route.tsx
|
|
4
|
+
import { Button } from "@krizaka/ui/button";
|
|
5
|
+
import { Map, Marker, Pulse, Route, StaticMap } from "@krizaka/ui/map";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
var STUDIO = [-73.6005, 45.5229];
|
|
9
|
+
var HOME = [-73.5695, 45.5268];
|
|
10
|
+
var PATH = [STUDIO, [-73.5935, 45.5232], [-73.5862, 45.5159], [-73.5753, 45.5171], HOME];
|
|
11
|
+
function MapRoute() {
|
|
12
|
+
const [run, setRun] = React.useState(0);
|
|
13
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-xl flex-col gap-3", children: [
|
|
14
|
+
/* @__PURE__ */ jsxs(
|
|
15
|
+
Map,
|
|
16
|
+
{
|
|
17
|
+
label: "A delivery from the studio to Parc La Fontaine",
|
|
18
|
+
center: [-73.585, 45.521],
|
|
19
|
+
zoom: 13.2,
|
|
20
|
+
className: "h-80 w-full",
|
|
21
|
+
fallback: /* @__PURE__ */ jsx(StaticMap, { label: "A delivery from the studio to Parc La Fontaine", center: [-73.585, 45.521], zoom: 13.2, places: [{ position: STUDIO, label: "Studio" }, { position: HOME, label: "Parc La Fontaine" }] }),
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsx(Route, { path: PATH, label: "Delivery from the studio to Parc La Fontaine, 3 km", courier: true, tripDuration: 3600 }),
|
|
24
|
+
/* @__PURE__ */ jsx(Marker, { position: STUDIO, label: "Studio", drop: 0 }),
|
|
25
|
+
/* @__PURE__ */ jsx(Marker, { position: HOME, label: "Parc La Fontaine", drop: 260 }),
|
|
26
|
+
/* @__PURE__ */ jsx(Pulse, { position: HOME, label: "Orders are picking up around Parc La Fontaine", size: 64 })
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
run
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ jsx(Button, { variant: "secondary", size: "sm", onClick: () => setRun((n) => n + 1), children: "Replay" })
|
|
32
|
+
] });
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
MapRoute as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Button } from "@krizaka/ui/button";
|
|
4
|
+
import { Map, Marker, Pulse, Route, StaticMap } from "@krizaka/ui/map";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
|
|
7
|
+
const STUDIO = [-73.6005, 45.5229] as const;
|
|
8
|
+
const HOME = [-73.5695, 45.5268] as const;
|
|
9
|
+
const PATH = [STUDIO, [-73.5935, 45.5232], [-73.5862, 45.5159], [-73.5753, 45.5171], HOME] as const;
|
|
10
|
+
|
|
11
|
+
// A delivery in Montréal: the pins drop (staggered), the route draws itself, a courier makes the trip, a demand pulse
|
|
12
|
+
// beats at the destination. Under reduced motion everything is in place at once, the courier at the end.
|
|
13
|
+
export default function MapRoute() {
|
|
14
|
+
const [run, setRun] = React.useState(0);
|
|
15
|
+
return (
|
|
16
|
+
<div className="flex w-full max-w-xl flex-col gap-3">
|
|
17
|
+
<Map
|
|
18
|
+
key={run}
|
|
19
|
+
label="A delivery from the studio to Parc La Fontaine"
|
|
20
|
+
center={[-73.585, 45.521]}
|
|
21
|
+
zoom={13.2}
|
|
22
|
+
className="h-80 w-full"
|
|
23
|
+
fallback={<StaticMap label="A delivery from the studio to Parc La Fontaine" center={[-73.585, 45.521]} zoom={13.2} places={[{ position: STUDIO, label: "Studio" }, { position: HOME, label: "Parc La Fontaine" }]} />}
|
|
24
|
+
>
|
|
25
|
+
<Route path={PATH} label="Delivery from the studio to Parc La Fontaine, 3 km" courier tripDuration={3600} />
|
|
26
|
+
<Marker position={STUDIO} label="Studio" drop={0} />
|
|
27
|
+
<Marker position={HOME} label="Parc La Fontaine" drop={260} />
|
|
28
|
+
<Pulse position={HOME} label="Orders are picking up around Parc La Fontaine" size={64} />
|
|
29
|
+
</Map>
|
|
30
|
+
<Button variant="secondary" size="sm" onClick={() => setRun((n) => n + 1)}>
|
|
31
|
+
Replay
|
|
32
|
+
</Button>
|
|
33
|
+
</div>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -29,7 +29,7 @@ function MarketingLayoutPricing() {
|
|
|
29
29
|
"\u2014 ",
|
|
30
30
|
x
|
|
31
31
|
] }, x)) }),
|
|
32
|
-
/* @__PURE__ */ jsxs(Button, { variant: p.featured ? "primary" : "secondary",
|
|
32
|
+
/* @__PURE__ */ jsxs(Button, { variant: p.featured ? "primary" : "secondary", className: "mt-auto w-full", children: [
|
|
33
33
|
"Choose ",
|
|
34
34
|
p.name
|
|
35
35
|
] })
|