@krizaka/ui 3.30.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-GYKQ52HX.js → chunk-2AJ4NJUF.js} +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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 +7 -7
- 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 +3 -3
- 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/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-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-GYKQ52HX.js.map → chunk-2AJ4NJUF.js.map} +0 -0
- /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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
function StickyActionPhone() {
|
|
8
8
|
return /* @__PURE__ */ jsxs("main", { className: "flex h-[28rem] flex-col overflow-auto", children: [
|
|
9
9
|
/* @__PURE__ */ jsx("p", { className: "m-0 h-[40rem] p-4 text-fg-secondary", children: "The page scrolls here\u2026" }),
|
|
10
|
-
/* @__PURE__ */ jsx(StickyAction, { children: /* @__PURE__ */ jsx(Button, { size: "lg",
|
|
10
|
+
/* @__PURE__ */ jsx(StickyAction, { children: /* @__PURE__ */ jsx(Button, { size: "lg", variant: "primary", children: "Book" }) })
|
|
11
11
|
] });
|
|
12
12
|
}
|
|
13
13
|
export {
|
|
@@ -7,7 +7,7 @@ export default function StickyActionPhone() {
|
|
|
7
7
|
<main className="flex h-[28rem] flex-col overflow-auto">
|
|
8
8
|
<p className="m-0 h-[40rem] p-4 text-fg-secondary">The page scrolls here…</p>
|
|
9
9
|
<StickyAction>
|
|
10
|
-
<Button size="lg"
|
|
10
|
+
<Button size="lg" variant="primary">Book</Button>
|
|
11
11
|
</StickyAction>
|
|
12
12
|
</main>
|
|
13
13
|
);
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"files": [
|
|
232
232
|
{
|
|
233
233
|
"path": "force-update-screen/force-update-screen.tsx",
|
|
234
|
-
"content": "// Server-safe. The blocking screen: this version can no longer run. It replaces the app, it is not laid over it —\n// nothing behind it is reachable. Every word is a prop; the store URL and the versions come from the backend.\nimport { Button } from \"@krizaka/ui/button\";\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nexport const forceUpdateScreen = tv({\n slots: {\n root: \"mx-auto flex min-h-dvh w-full max-w-md flex-col items-center justify-center gap-4 px-6 py-12 text-center text-fg\",\n mark: \"flex h-24 w-24 items-center justify-center [&>svg]:h-24 [&>svg]:w-24\",\n title: \"text-2xl font-semibold text-fg\",\n message: \"text-fg-secondary\",\n version: \"font-mono text-xs text-fg-tertiary\",\n actions: \"mt-2 flex w-full flex-col gap-2\",\n },\n});\n\nexport type ForceUpdateScreenProps = Omit<React.ComponentProps<\"main\">, \"title\"> & {\n /** The headline (“Update to keep going”). */\n title: React.ReactNode;\n /** Why, in a sentence — the backend's localized `message`. */\n message?: React.ReactNode;\n /** The versions, in words and mono (“You have 1.1.0 · 1.2.0 or later is required”). */\n versionLabel?: React.ReactNode;\n /** The product's mark or mascot (decorative). */\n mark?: React.ReactNode;\n /** The button that updates (“Update the app”). */\n updateLabel: string;\n /** Opens the store page. */\n onUpdate: () => void;\n /** A secondary way (“Check again”) once the update is installed — optional. */\n retryLabel?: string;\n /** Checks the backend again. */\n onRetry?: () => void;\n};\n\n/** The forced update: one thing to do, and the way to do it. */\nexport function ForceUpdateScreen({ title, message, versionLabel, mark, updateLabel, onUpdate, retryLabel, onRetry, className, ...props }: ForceUpdateScreenProps) {\n const s = forceUpdateScreen();\n return (\n <main data-kind=\"update-force\" className={s.root({ className })} {...props}>\n {mark && (\n <div aria-hidden className={s.mark()}>\n {mark}\n </div>\n )}\n <h1 className={s.title()}>{title}</h1>\n {message && <p className={s.message()}>{message}</p>}\n {versionLabel && <p className={s.version()}>{versionLabel}</p>}\n <div className={s.actions()}>\n <Button variant=\"primary\" size=\"lg\"
|
|
234
|
+
"content": "// Server-safe. The blocking screen: this version can no longer run. It replaces the app, it is not laid over it —\n// nothing behind it is reachable. Every word is a prop; the store URL and the versions come from the backend.\nimport { Button } from \"@krizaka/ui/button\";\nimport type * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nexport const forceUpdateScreen = tv({\n slots: {\n root: \"mx-auto flex min-h-dvh w-full max-w-md flex-col items-center justify-center gap-4 px-6 py-12 text-center text-fg\",\n mark: \"flex h-24 w-24 items-center justify-center [&>svg]:h-24 [&>svg]:w-24\",\n title: \"text-2xl font-semibold text-fg\",\n message: \"text-fg-secondary\",\n version: \"font-mono text-xs text-fg-tertiary\",\n actions: \"mt-2 flex w-full flex-col gap-2\",\n },\n});\n\nexport type ForceUpdateScreenProps = Omit<React.ComponentProps<\"main\">, \"title\"> & {\n /** The headline (“Update to keep going”). */\n title: React.ReactNode;\n /** Why, in a sentence — the backend's localized `message`. */\n message?: React.ReactNode;\n /** The versions, in words and mono (“You have 1.1.0 · 1.2.0 or later is required”). */\n versionLabel?: React.ReactNode;\n /** The product's mark or mascot (decorative). */\n mark?: React.ReactNode;\n /** The button that updates (“Update the app”). */\n updateLabel: string;\n /** Opens the store page. */\n onUpdate: () => void;\n /** A secondary way (“Check again”) once the update is installed — optional. */\n retryLabel?: string;\n /** Checks the backend again. */\n onRetry?: () => void;\n};\n\n/** The forced update: one thing to do, and the way to do it. */\nexport function ForceUpdateScreen({ title, message, versionLabel, mark, updateLabel, onUpdate, retryLabel, onRetry, className, ...props }: ForceUpdateScreenProps) {\n const s = forceUpdateScreen();\n return (\n <main data-kind=\"update-force\" className={s.root({ className })} {...props}>\n {mark && (\n <div aria-hidden className={s.mark()}>\n {mark}\n </div>\n )}\n <h1 className={s.title()}>{title}</h1>\n {message && <p className={s.message()}>{message}</p>}\n {versionLabel && <p className={s.version()}>{versionLabel}</p>}\n <div className={s.actions()}>\n <Button variant=\"primary\" size=\"lg\" autoFocus onClick={onUpdate}>\n {updateLabel}\n </Button>\n {retryLabel && onRetry && (\n <Button variant=\"ghost\" onClick={onRetry}>\n {retryLabel}\n </Button>\n )}\n </div>\n </main>\n );\n}\n"
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"path": "force-update-screen/index.ts",
|
package/registry/form.json
CHANGED
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
"name": "magnetic",
|
|
742
742
|
"type": "boolean",
|
|
743
743
|
"default": null,
|
|
744
|
-
"description": "
|
|
744
|
+
"description": "@deprecated Since 3.31 (krizaka-ui#393): does nothing — a button never moves under the pointer. Removed in 4.0.",
|
|
745
745
|
"required": false
|
|
746
746
|
},
|
|
747
747
|
{
|
|
@@ -755,14 +755,14 @@
|
|
|
755
755
|
"name": "shape",
|
|
756
756
|
"type": "\"rounded\" | \"pill\" | \"cut\"",
|
|
757
757
|
"default": "rounded",
|
|
758
|
-
"description": "rounded · pill
|
|
758
|
+
"description": "`rounded` (an 8 px radius, the radius of a field) · `pill`. `cut` is deprecated (krizaka-ui#393: the chamfer is\nretired) — it draws `rounded` and warns in development; it will be removed in 4.0.",
|
|
759
759
|
"required": false
|
|
760
760
|
},
|
|
761
761
|
{
|
|
762
762
|
"name": "shimmer",
|
|
763
763
|
"type": "boolean",
|
|
764
764
|
"default": null,
|
|
765
|
-
"description": "
|
|
765
|
+
"description": "@deprecated Since 3.31 (krizaka-ui#393): does nothing — the hover is quiet. Removed in 4.0.",
|
|
766
766
|
"required": false
|
|
767
767
|
},
|
|
768
768
|
{
|
|
@@ -2785,7 +2785,7 @@
|
|
|
2785
2785
|
"name": "magnetic",
|
|
2786
2786
|
"type": "boolean",
|
|
2787
2787
|
"default": null,
|
|
2788
|
-
"description": "
|
|
2788
|
+
"description": "@deprecated Since 3.31 (krizaka-ui#393): does nothing — a button never moves under the pointer. Removed in 4.0.",
|
|
2789
2789
|
"required": false
|
|
2790
2790
|
},
|
|
2791
2791
|
{
|
|
@@ -2799,14 +2799,14 @@
|
|
|
2799
2799
|
"name": "shape",
|
|
2800
2800
|
"type": "\"rounded\" | \"pill\" | \"cut\"",
|
|
2801
2801
|
"default": "rounded",
|
|
2802
|
-
"description": "rounded · pill
|
|
2802
|
+
"description": "`rounded` (an 8 px radius, the radius of a field) · `pill`. `cut` is deprecated (krizaka-ui#393: the chamfer is\nretired) — it draws `rounded` and warns in development; it will be removed in 4.0.",
|
|
2803
2803
|
"required": false
|
|
2804
2804
|
},
|
|
2805
2805
|
{
|
|
2806
2806
|
"name": "shimmer",
|
|
2807
2807
|
"type": "boolean",
|
|
2808
2808
|
"default": null,
|
|
2809
|
-
"description": "
|
|
2809
|
+
"description": "@deprecated Since 3.31 (krizaka-ui#393): does nothing — the hover is quiet. Removed in 4.0.",
|
|
2810
2810
|
"required": false
|
|
2811
2811
|
},
|
|
2812
2812
|
{
|
package/registry/glow-card.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "glow-card",
|
|
3
3
|
"type": "primitive",
|
|
4
4
|
"title": "Glow card",
|
|
5
|
-
"summary": "A card
|
|
6
|
-
"description": "A card
|
|
5
|
+
"summary": "A card ringed by the brand: its border is a still hairline of the brand gradient, a step brighter under the pointer or the focus, fuller on a featured card. Nothing follows the pointer, nothing turns (krizaka-ui#393).",
|
|
6
|
+
"description": "A card ringed by the brand: its border is a still hairline of the brand gradient, a step brighter under the pointer or the focus, fuller on a featured card. Nothing follows the pointer, nothing turns (krizaka-ui#393).",
|
|
7
7
|
"status": "beta",
|
|
8
8
|
"deprecated": null,
|
|
9
9
|
"category": "layout",
|
|
@@ -32,24 +32,24 @@
|
|
|
32
32
|
"use": "card"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"when": "Around content the reader studies (a form, a table):
|
|
35
|
+
"when": "Around content the reader studies (a form, a table): a coloured ring competes with it."
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
"bestPractices": [
|
|
39
39
|
"One grid of glowing cards per page; `alive` on one card at most.",
|
|
40
|
-
"Make the whole card the link with `asChild` when it leads somewhere — the focus
|
|
40
|
+
"Make the whole card the link with `asChild` when it leads somewhere — the focus brightens its ring like the pointer.",
|
|
41
41
|
"Colours come from the brand (`.brand-<id>`): never pass one."
|
|
42
42
|
],
|
|
43
43
|
"accessibility": {
|
|
44
44
|
"keyboard": [
|
|
45
45
|
{
|
|
46
46
|
"keys": "Tab",
|
|
47
|
-
"action": "Focusing the card (or a control inside it)
|
|
47
|
+
"action": "Focusing the card (or a control inside it) brightens its ring, as the pointer does."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"notes": [
|
|
51
|
-
"
|
|
52
|
-
"
|
|
51
|
+
"A decorative ring only (a pseudo-element): nothing is added to the accessibility tree; the card's semantics are yours.",
|
|
52
|
+
"Nothing moves or turns, with or without `prefers-reduced-motion`; only the ring's opacity changes, in 150 ms.",
|
|
53
53
|
"Its loops pause off screen and while the page settles (MotionObserver)."
|
|
54
54
|
]
|
|
55
55
|
},
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"props": [
|
|
64
64
|
{
|
|
65
65
|
"component": "GlowCard",
|
|
66
|
-
"description": "A card
|
|
66
|
+
"description": "A card ringed by the brand: a still hairline of its gradient, a step brighter under the pointer. Content is yours.",
|
|
67
67
|
"props": [
|
|
68
68
|
{
|
|
69
69
|
"name": "alive",
|
|
70
70
|
"type": "boolean",
|
|
71
71
|
"default": "false",
|
|
72
|
-
"description": "
|
|
72
|
+
"description": "A featured card: the ring is fuller at rest. It never turns.",
|
|
73
73
|
"required": false
|
|
74
74
|
},
|
|
75
75
|
{
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"name": "glow",
|
|
84
84
|
"type": "\"both\" | \"border\" | \"spotlight\"",
|
|
85
85
|
"default": "both",
|
|
86
|
-
"description": "
|
|
86
|
+
"description": "`border` (a still hairline ring of the brand gradient) or `both`. `spotlight` (the bloom under the pointer) is\ndeprecated since 3.31 (krizaka-ui#393) and draws nothing.",
|
|
87
87
|
"required": false
|
|
88
88
|
}
|
|
89
89
|
]
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
{
|
|
94
94
|
"name": "plans",
|
|
95
95
|
"title": "Plans",
|
|
96
|
-
"description": "Three plans:
|
|
96
|
+
"description": "Three plans: each ring brightens under the pointer; the featured one's ring is fuller at rest.",
|
|
97
97
|
"path": "examples/glow-card/plans.tsx",
|
|
98
98
|
"module": "@krizaka/ui/registry/examples/glow-card/plans",
|
|
99
99
|
"code": "import { Button } from \"@krizaka/ui/button\";\nimport { GlowCard } from \"@krizaka/ui/glow-card\";\n\nconst plans = [\n { name: \"Community\", price: \"Free\", line: \"Self-hosted, every feature.\", action: \"Start free\" },\n { name: \"Team\", price: \"€19\", line: \"Shared workspaces and roles.\", action: \"Choose Team\", featured: true },\n { name: \"Sovereign\", price: \"Custom\", line: \"Your servers, our support.\", action: \"Talk to us\" },\n];\n\n// Plans: move the pointer across them — the light follows, the ring brightens. The featured plan's ring turns at rest.\n// The columns follow the box they are in (a container query), not the screen: three side by side only when each has room\n// for its price and its button; the buttons span their card and stand on one line at the bottom.\nexport default function GlowCardPlans() {\n return (\n <div className=\"@container w-full max-w-3xl\">\n <div className=\"grid gap-3 @lg:grid-cols-3\">\n {plans.map((p) => (\n <GlowCard key={p.name} alive={p.featured} className=\"flex min-w-0 flex-col gap-2 p-5\">\n <h3 className=\"font-display text-base font-semibold text-fg\">{p.name}</h3>\n <p className=\"font-display text-3xl font-bold tracking-tight text-fg\">{p.price}</p>\n <p className=\"mb-3 text-sm text-fg-secondary\">{p.line}</p>\n <Button variant={p.featured ? \"gradient\" : \"outline\"} size=\"sm\" className=\"mt-auto w-full\">\n {p.action}\n </Button>\n </GlowCard>\n ))}\n </div>\n </div>\n );\n}\n"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{
|
|
102
102
|
"name": "link-card",
|
|
103
103
|
"title": "A card that is a link",
|
|
104
|
-
"description": "`asChild` on an `<a>`, `glow=\"border\"`: the focus
|
|
104
|
+
"description": "`asChild` on an `<a>`, `glow=\"border\"`: the focus brightens the ring.",
|
|
105
105
|
"path": "examples/glow-card/link-card.tsx",
|
|
106
106
|
"module": "@krizaka/ui/registry/examples/glow-card/link-card",
|
|
107
107
|
"code": "import { GlowCard } from \"@krizaka/ui/glow-card\";\n\n// `asChild`: the card is the link. The focus lights the ring as the pointer does — keyboard readers get the same answer.\nexport default function GlowCardLink() {\n return (\n <GlowCard asChild glow=\"border\" className=\"block max-w-sm no-underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring\">\n <a href=\"#docs\">\n <span className=\"block font-display text-lg font-semibold text-fg\">Read the documentation</span>\n <span className=\"mt-1 block text-sm text-fg-secondary\">Every component, its examples and its props — generated from the code.</span>\n </a>\n </GlowCard>\n );\n}\n"
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
{
|
|
110
110
|
"name": "spotlight",
|
|
111
111
|
"title": "Spotlight only",
|
|
112
|
-
"description": "`glow=\"spotlight\"
|
|
112
|
+
"description": "`glow=\"spotlight\"` is deprecated (krizaka-ui#393): the bloom is retired, the card draws no ring.",
|
|
113
113
|
"path": "examples/glow-card/spotlight.tsx",
|
|
114
114
|
"module": "@krizaka/ui/registry/examples/glow-card/spotlight",
|
|
115
|
-
"code": "import { GlowCard } from \"@krizaka/ui/glow-card\";\n\n// `glow=\"spotlight\"
|
|
115
|
+
"code": "import { GlowCard } from \"@krizaka/ui/glow-card\";\n\n// `glow=\"spotlight\"` is deprecated (krizaka-ui#393): the bloom under the pointer is retired, so these cards draw no ring.\nexport default function GlowCardSpotlight() {\n return (\n <div className=\"grid w-full max-w-lg grid-cols-2 gap-3\">\n {[\"Tips\", \"Unlocks\", \"Auctions\", \"Challenges\"].map((name) => (\n <GlowCard key={name} glow=\"spotlight\" className=\"p-4\">\n <p className=\"font-semibold text-fg\">{name}</p>\n <p className=\"text-xs text-fg-secondary\">90 % to the creator</p>\n </GlowCard>\n ))}\n </div>\n );\n}\n"
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
},
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"files": [
|
|
121
121
|
{
|
|
122
122
|
"path": "glow-card/glow-card.tsx",
|
|
123
|
-
"content": "// Client (the pointer). A card that answers light: a soft bloom of the brand accent follows the pointer across it, and\n// its border is a ring of the brand gradient that turns slowly and brightens under the pointer or the focus. Composited\n// properties only (CSS variables, opacity); no animation frame — the pointer writes two variables. Under reduced motion\n// the ring rests at a fixed angle and the light stays where it is: a designed still frame, not a switched-off one.\nimport { Slot } from \"radix-ui\";\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport type GlowCardProps = React.ComponentProps<\"div\"> & {\n /**\n *
|
|
123
|
+
"content": "// Client (the pointer). A card that answers light: a soft bloom of the brand accent follows the pointer across it, and\n// its border is a ring of the brand gradient that turns slowly and brightens under the pointer or the focus. Composited\n// properties only (CSS variables, opacity); no animation frame — the pointer writes two variables. Under reduced motion\n// the ring rests at a fixed angle and the light stays where it is: a designed still frame, not a switched-off one.\nimport { Slot } from \"radix-ui\";\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport type GlowCardProps = React.ComponentProps<\"div\"> & {\n /**\n * `border` (a still hairline ring of the brand gradient) or `both`. `spotlight` (the bloom under the pointer) is\n * deprecated since 3.31 (krizaka-ui#393) and draws nothing.\n * @default \"both\"\n */\n glow?: \"border\" | \"spotlight\" | \"both\";\n /** Renders your element (a link, an article) with the card's look and behaviour. */\n asChild?: boolean;\n /**\n * A featured card: the ring is fuller at rest. It never turns.\n * @default false\n */\n alive?: boolean;\n};\n\n/** A card ringed by the brand: a still hairline of its gradient, a step brighter under the pointer. Content is yours. */\nexport function GlowCard({ glow = \"both\", asChild, alive, className, ...props }: GlowCardProps) {\n const Comp = asChild ? Slot.Root : \"div\";\n return (\n <Comp\n data-glow={glow}\n data-alive={alive ? \"\" : undefined}\n className={cn(\"kz-glow relative isolate rounded-2xl border border-border-default bg-surface-1 p-6\", className)}\n {...props}\n />\n );\n}\n"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"path": "glow-card/index.ts",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"path": "glow-card/meta.ts",
|
|
131
|
-
"content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Glow card\",\n summary:\n \"A card
|
|
131
|
+
"content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Glow card\",\n summary:\n \"A card ringed by the brand: its border is a still hairline of the brand gradient, a step brighter under the pointer or the focus, fuller on a featured card. Nothing follows the pointer, nothing turns (krizaka-ui#393).\",\n status: \"beta\",\n category: \"layout\",\n platforms: \"web\",\n parity: { native: { status: \"n/a\", reason: \"A block of a public site's page; an app screen on a phone is built from Screen, Header and Card.\", use: \"card\" }, desktop: { status: \"n/a\", reason: \"A public site's page, not a window of the Mac app.\" } },\n whenToUse: [\n \"Cards that invite a choice: plans, products, the entry points of a landing page.\",\n \"One featured card among others (`alive`): its ring turns at rest.\",\n ],\n whenNotToUse: [\n { when: \"For the cards of an app's lists and feeds: a calm card reads better there.\", use: \"card\" },\n { when: \"Around content the reader studies (a form, a table): a coloured ring competes with it.\" },\n ],\n bestPractices: [\n \"One grid of glowing cards per page; `alive` on one card at most.\",\n \"Make the whole card the link with `asChild` when it leads somewhere — the focus brightens its ring like the pointer.\",\n \"Colours come from the brand (`.brand-<id>`): never pass one.\",\n ],\n accessibility: {\n keyboard: [{ keys: \"Tab\", action: \"Focusing the card (or a control inside it) brightens its ring, as the pointer does.\" }],\n notes: [\n \"A decorative ring only (a pseudo-element): nothing is added to the accessibility tree; the card's semantics are yours.\",\n \"Nothing moves or turns, with or without `prefers-reduced-motion`; only the ring's opacity changes, in 150 ms.\",\n \"Its loops pause off screen and while the page settles (MotionObserver).\",\n ],\n },\n related: [\"card\", \"button\"],\n web: {\n imports: [\"GlowCard\"],\n examples: [\n { name: \"plans\", title: \"Plans\", description: \"Three plans: each ring brightens under the pointer; the featured one's ring is fuller at rest.\" },\n { name: \"link-card\", title: \"A card that is a link\", description: \"`asChild` on an `<a>`, `glow=\\\"border\\\"`: the focus brightens the ring.\" },\n { name: \"spotlight\", title: \"Spotlight only\", description: \"`glow=\\\"spotlight\\\"` is deprecated (krizaka-ui#393): the bloom is retired, the card draws no ring.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"path": "meta.ts",
|
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
"props": [
|
|
149
149
|
{
|
|
150
150
|
"component": "GlowCard",
|
|
151
|
-
"description": "A card
|
|
151
|
+
"description": "A card ringed by the brand: a still hairline of its gradient, a step brighter under the pointer. Content is yours.",
|
|
152
152
|
"props": [
|
|
153
153
|
{
|
|
154
154
|
"name": "alive",
|
|
155
155
|
"type": "boolean",
|
|
156
156
|
"default": "false",
|
|
157
|
-
"description": "
|
|
157
|
+
"description": "A featured card: the ring is fuller at rest. It never turns.",
|
|
158
158
|
"required": false
|
|
159
159
|
},
|
|
160
160
|
{
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"name": "glow",
|
|
169
169
|
"type": "\"both\" | \"border\" | \"spotlight\"",
|
|
170
170
|
"default": "both",
|
|
171
|
-
"description": "
|
|
171
|
+
"description": "`border` (a still hairline ring of the brand gradient) or `both`. `spotlight` (the bloom under the pointer) is\ndeprecated since 3.31 (krizaka-ui#393) and draws nothing.",
|
|
172
172
|
"required": false
|
|
173
173
|
}
|
|
174
174
|
]
|
package/registry/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.31.0",
|
|
4
4
|
"templatePurposes": {
|
|
5
5
|
"convince": {
|
|
6
6
|
"title": "Convince",
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
}
|
|
720
720
|
},
|
|
721
721
|
"examples": {
|
|
722
|
-
"web":
|
|
722
|
+
"web": 4,
|
|
723
723
|
"native": 0
|
|
724
724
|
},
|
|
725
725
|
"dependencies": [],
|
|
@@ -860,8 +860,8 @@
|
|
|
860
860
|
"name": "button",
|
|
861
861
|
"type": "primitive",
|
|
862
862
|
"title": "Button",
|
|
863
|
-
"summary": "The action: six looks, three sizes,
|
|
864
|
-
"description": "The action: six looks, three sizes,
|
|
863
|
+
"summary": "The action: six looks, three sizes, two shapes (an 8 px radius, the pill) — and the whole life of an action built in: a wait traced by the loader glyph, its progress, a success or a failure drawn and announced.",
|
|
864
|
+
"description": "The action: six looks, three sizes, two shapes (an 8 px radius, the pill) — and the whole life of an action built in: a wait traced by the loader glyph, its progress, a success or a failure drawn and announced.",
|
|
865
865
|
"status": "stable",
|
|
866
866
|
"category": "actions",
|
|
867
867
|
"platforms": "both",
|
|
@@ -959,8 +959,8 @@
|
|
|
959
959
|
"name": "card-grid",
|
|
960
960
|
"type": "primitive",
|
|
961
961
|
"title": "Card grid",
|
|
962
|
-
"summary": "A responsive grid of cards: as many columns as the width allows (one on a phone), the cells of a row at one height, a staggered reveal
|
|
963
|
-
"description": "A responsive grid of cards: as many columns as the width allows (one on a phone), the cells of a row at one height, a staggered reveal
|
|
962
|
+
"summary": "A responsive grid of cards: as many columns as the width allows (one on a phone), the cells of a row at one height, a staggered reveal; each card keeps its own quiet hover.",
|
|
963
|
+
"description": "A responsive grid of cards: as many columns as the width allows (one on a phone), the cells of a row at one height, a staggered reveal; each card keeps its own quiet hover.",
|
|
964
964
|
"status": "beta",
|
|
965
965
|
"category": "blocks",
|
|
966
966
|
"platforms": "web",
|
|
@@ -985,8 +985,7 @@
|
|
|
985
985
|
"dependencies": [],
|
|
986
986
|
"registryDependencies": [
|
|
987
987
|
"cn",
|
|
988
|
-
"link-card"
|
|
989
|
-
"pointer-light"
|
|
988
|
+
"link-card"
|
|
990
989
|
]
|
|
991
990
|
},
|
|
992
991
|
{
|
|
@@ -2429,8 +2428,8 @@
|
|
|
2429
2428
|
"name": "glow-card",
|
|
2430
2429
|
"type": "primitive",
|
|
2431
2430
|
"title": "Glow card",
|
|
2432
|
-
"summary": "A card
|
|
2433
|
-
"description": "A card
|
|
2431
|
+
"summary": "A card ringed by the brand: its border is a still hairline of the brand gradient, a step brighter under the pointer or the focus, fuller on a featured card. Nothing follows the pointer, nothing turns (krizaka-ui#393).",
|
|
2432
|
+
"description": "A card ringed by the brand: its border is a still hairline of the brand gradient, a step brighter under the pointer or the focus, fuller on a featured card. Nothing follows the pointer, nothing turns (krizaka-ui#393).",
|
|
2434
2433
|
"status": "beta",
|
|
2435
2434
|
"category": "layout",
|
|
2436
2435
|
"platforms": "web",
|
|
@@ -2839,8 +2838,8 @@
|
|
|
2839
2838
|
"name": "link-card",
|
|
2840
2839
|
"type": "primitive",
|
|
2841
2840
|
"title": "Link card",
|
|
2842
|
-
"summary": "An entry point where the whole card is one link: an icon tile, a title, one sentence and the way in — compact, the same on every page
|
|
2843
|
-
"description": "An entry point where the whole card is one link: an icon tile, a title, one sentence and the way in — compact, the same on every page
|
|
2841
|
+
"summary": "An entry point where the whole card is one link: an icon tile, a title, one sentence and the way in — compact, the same on every page; under the pointer its surface and hairline go one step up, nothing moves.",
|
|
2842
|
+
"description": "An entry point where the whole card is one link: an icon tile, a title, one sentence and the way in — compact, the same on every page; under the pointer its surface and hairline go one step up, nothing moves.",
|
|
2844
2843
|
"status": "beta",
|
|
2845
2844
|
"category": "blocks",
|
|
2846
2845
|
"platforms": "web",
|
|
@@ -2859,7 +2858,7 @@
|
|
|
2859
2858
|
}
|
|
2860
2859
|
},
|
|
2861
2860
|
"examples": {
|
|
2862
|
-
"web":
|
|
2861
|
+
"web": 4,
|
|
2863
2862
|
"native": 0
|
|
2864
2863
|
},
|
|
2865
2864
|
"dependencies": [],
|
|
@@ -3014,11 +3013,11 @@
|
|
|
3014
3013
|
}
|
|
3015
3014
|
},
|
|
3016
3015
|
"examples": {
|
|
3017
|
-
"web":
|
|
3016
|
+
"web": 5,
|
|
3018
3017
|
"native": 2
|
|
3019
3018
|
},
|
|
3020
3019
|
"dependencies": [
|
|
3021
|
-
"@krizaka/tokens@^3.
|
|
3020
|
+
"@krizaka/tokens@^3.31.0",
|
|
3022
3021
|
"@protomaps/basemaps@5.7.2",
|
|
3023
3022
|
"tailwind-variants@^3.3.1"
|
|
3024
3023
|
],
|
|
@@ -3457,7 +3456,7 @@
|
|
|
3457
3456
|
"native": 0
|
|
3458
3457
|
},
|
|
3459
3458
|
"dependencies": [
|
|
3460
|
-
"@krizaka/tokens@^3.
|
|
3459
|
+
"@krizaka/tokens@^3.31.0",
|
|
3461
3460
|
"radix-ui@^1.7.0",
|
|
3462
3461
|
"tailwind-variants@^3.3.1"
|
|
3463
3462
|
],
|
|
@@ -3778,9 +3777,9 @@
|
|
|
3778
3777
|
"name": "pointer-light",
|
|
3779
3778
|
"type": "primitive",
|
|
3780
3779
|
"title": "Pointer light",
|
|
3781
|
-
"summary": "
|
|
3782
|
-
"description": "
|
|
3783
|
-
"status": "
|
|
3780
|
+
"summary": "Deprecated (krizaka-ui#393): it drew a light that followed the pointer over cards. It now does nothing — the cards have one quiet hover of their own.",
|
|
3781
|
+
"description": "Deprecated (krizaka-ui#393): it drew a light that followed the pointer over cards. It now does nothing — the cards have one quiet hover of their own.",
|
|
3782
|
+
"status": "deprecated",
|
|
3784
3783
|
"category": "blocks",
|
|
3785
3784
|
"platforms": "web",
|
|
3786
3785
|
"parity": {
|
|
@@ -4089,7 +4088,7 @@
|
|
|
4089
4088
|
"native": 0
|
|
4090
4089
|
},
|
|
4091
4090
|
"dependencies": [
|
|
4092
|
-
"@krizaka/tokens@^3.
|
|
4091
|
+
"@krizaka/tokens@^3.31.0",
|
|
4093
4092
|
"radix-ui@^1.7.0",
|
|
4094
4093
|
"tailwind-variants@^3.3.1"
|
|
4095
4094
|
],
|
|
@@ -4432,7 +4431,7 @@
|
|
|
4432
4431
|
"native": 0
|
|
4433
4432
|
},
|
|
4434
4433
|
"dependencies": [
|
|
4435
|
-
"@krizaka/tokens@^3.
|
|
4434
|
+
"@krizaka/tokens@^3.31.0",
|
|
4436
4435
|
"radix-ui@^1.7.0",
|
|
4437
4436
|
"tailwind-variants@^3.3.1"
|
|
4438
4437
|
],
|