@krizaka/ui 3.62.0 → 3.63.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 +13 -16
- package/dist/account-menu.d.ts +1 -1
- package/dist/account-menu.js +1 -1
- package/dist/account-settings.d.ts +1 -1
- package/dist/account-settings.js +1 -1
- package/dist/achievement.d.ts +2 -2
- package/dist/achievement.js +1 -1
- package/dist/achievement.js.map +1 -1
- package/dist/activity-feed.d.ts +1 -1
- package/dist/activity-feed.js.map +1 -1
- package/dist/app-shell.js.map +1 -1
- package/dist/auth-layout.d.ts +1 -1
- package/dist/auth-layout.js.map +1 -1
- package/dist/avatar/defaults.d.ts +2 -1
- package/dist/avatar/defaults.js.map +1 -1
- package/dist/{avatar-iajODANU.d.ts → avatar-BL2iG_Js.d.ts} +2 -1
- package/dist/avatar.d.ts +3 -2
- package/dist/avatar.js.map +1 -1
- package/dist/bird-plate.d.ts +1 -1
- package/dist/bird-plate.js +1 -1
- package/dist/chat.js +1 -1
- package/dist/choice-grid.d.ts +1 -1
- package/dist/choice-grid.js +1 -1
- package/dist/choice-grid.js.map +1 -1
- package/dist/{chunk-KB7OLYIJ.js → chunk-7AZ23BUX.js} +1 -1
- package/dist/chunk-7AZ23BUX.js.map +1 -0
- package/dist/{chunk-4E5IUZHR.js → chunk-B2HS5EAH.js} +1 -1
- package/dist/chunk-B2HS5EAH.js.map +1 -0
- package/dist/{chunk-MHUUNC5W.js → chunk-DRTIE44Z.js} +1 -1
- package/dist/chunk-DRTIE44Z.js.map +1 -0
- package/dist/{chunk-555LWYIN.js → chunk-EHTXLZSM.js} +1 -1
- package/dist/{chunk-555LWYIN.js.map → chunk-EHTXLZSM.js.map} +1 -1
- package/dist/{chunk-3RVFD3UX.js → chunk-PW2FVPTV.js} +1 -1
- package/dist/chunk-PW2FVPTV.js.map +1 -0
- package/dist/{chunk-MIMOTE4W.js → chunk-RCHKIOVV.js} +1 -1
- package/dist/chunk-RCHKIOVV.js.map +1 -0
- package/dist/{chunk-XVFQZ3ZG.js → chunk-TPITVAUW.js} +1 -1
- package/dist/{chunk-XVFQZ3ZG.js.map → chunk-TPITVAUW.js.map} +1 -1
- package/dist/{chunk-RBETQO2P.js → chunk-Y5YBTHVD.js} +9 -15
- package/dist/chunk-Y5YBTHVD.js.map +1 -0
- package/dist/continue-prompt.js +1 -1
- package/dist/dashboard-layout.js.map +1 -1
- package/dist/date-picker.d.ts +15 -15
- package/dist/detail-layout.js.map +1 -1
- package/dist/elephant.js.map +1 -1
- package/dist/engine-flow.d.ts +4 -4
- package/dist/engine-flow.js.map +1 -1
- package/dist/environment-notice.d.ts +110 -0
- package/dist/environment-notice.js +47 -0
- package/dist/environment-notice.js.map +1 -0
- package/dist/file-upload.d.ts +2 -2
- package/dist/filter-bar.d.ts +3 -3
- package/dist/flock.js +1 -1
- package/dist/{geometry-DZ4Q3hDQ.d.ts → geometry-DDlFDtiQ.d.ts} +3 -4
- package/dist/{geometry-DncHaYP8.d.ts → geometry-DuUQyHZ1.d.ts} +3 -4
- package/dist/goal-gauge.d.ts +1 -1
- package/dist/goal-gauge.js +1 -1
- package/dist/goal-gauge.js.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/dist/landing-page.d.ts +1 -1
- package/dist/landing-page.js.map +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js.map +1 -1
- package/dist/mascot-quote.d.ts +1 -1
- package/dist/mascot-quote.js +1 -1
- package/dist/mascot-state.js +1 -1
- package/dist/mascots.d.ts +2 -2
- package/dist/mascots.js +1 -1
- package/dist/match-dialog.js +1 -1
- package/dist/media-grid.d.ts +1 -0
- package/dist/media-grid.js +1 -1
- package/dist/native.d.ts +39 -10
- package/dist/native.js +905 -870
- package/dist/native.js.map +1 -1
- package/dist/nav-bar.d.ts +1 -1
- package/dist/nav-bar.js +2 -2
- package/dist/product-page.d.ts +1 -1
- package/dist/product-page.js.map +1 -1
- package/dist/profile-card.d.ts +1 -1
- package/dist/profile-card.js +1 -1
- package/dist/profile-card.js.map +1 -1
- package/dist/promise-card.js +1 -1
- package/dist/rail-nav.d.ts +4 -0
- package/dist/scroll-stage.d.ts +1 -1
- package/dist/scroll-stage.js +1 -1
- package/dist/scroll-stage.js.map +1 -1
- package/dist/site-cahier.d.ts +10 -2
- package/dist/site-cahier.js +8 -14
- package/dist/site-cahier.js.map +1 -1
- package/dist/site-footer.d.ts +1 -1
- package/dist/site-footer.js +2 -2
- package/dist/{sites-BKz1beUK.d.ts → sites-CEnywB89.d.ts} +10 -2
- package/dist/sites.d.ts +13 -5
- package/dist/sites.js +7 -13
- package/dist/sites.js.map +1 -1
- package/dist/stage-banner.d.ts +1 -1
- package/dist/stage-banner.js +1 -1
- package/dist/stage-banner.js.map +1 -1
- package/dist/status-page.d.ts +1 -1
- package/dist/status-page.js.map +1 -1
- package/dist/versus-card.js +1 -1
- package/dist/vertical-video.js +1 -1
- package/package.json +25 -13
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +1 -1
- package/registry/achievement.json +8 -8
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +8 -8
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +3 -3
- package/registry/app-shell.json +10 -10
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +6 -6
- package/registry/auth-layout.json +9 -9
- package/registry/avatar.json +8 -8
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +6 -6
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +3 -3
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +6 -6
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +2 -2
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +2 -2
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +2 -2
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +6 -6
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +3 -3
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +7 -7
- package/registry/empty-state.json +2 -2
- package/registry/engine-flow.json +6 -6
- package/registry/environment-notice.json +270 -0
- package/registry/error-page.json +1 -1
- package/registry/examples/achievement/arcade.js +1 -1
- package/registry/examples/achievement/arcade.tsx +1 -1
- package/registry/examples/activity-feed/job-activity.tsx +1 -1
- package/registry/examples/app-shell/admin-console.js +1 -1
- package/registry/examples/app-shell/admin-console.tsx +2 -2
- package/registry/examples/app-shell/basic.js +1 -1
- package/registry/examples/app-shell/basic.tsx +1 -1
- package/registry/examples/app-shell/{orochia-studio.js → creator-studio.js} +6 -6
- package/registry/examples/app-shell/{orochia-studio.tsx → creator-studio.tsx} +4 -4
- package/registry/examples/audio-player/podcast.js +1 -1
- package/registry/examples/audio-player/podcast.tsx +1 -1
- package/registry/examples/audio-player/voice-note.js +1 -1
- package/registry/examples/audio-player/voice-note.tsx +1 -1
- package/registry/examples/auth-layout/onboarding.js +3 -3
- package/registry/examples/auth-layout/onboarding.tsx +3 -3
- package/registry/examples/auth-layout/sign-in.js +3 -3
- package/registry/examples/auth-layout/sign-in.tsx +3 -3
- package/registry/examples/avatar/default.js +1 -1
- package/registry/examples/avatar/default.tsx +1 -1
- package/registry/examples/card-grid/aligned.js +2 -2
- package/registry/examples/card-grid/aligned.tsx +2 -2
- package/registry/examples/card-grid/foundation.js +1 -2
- package/registry/examples/card-grid/foundation.tsx +1 -2
- package/registry/examples/card-grid/hover-quiet.js +1 -1
- package/registry/examples/card-grid/hover-quiet.tsx +1 -1
- package/registry/examples/card-grid/products.js +1 -1
- package/registry/examples/card-grid/products.tsx +1 -1
- package/registry/examples/choice-grid/line-up.js +1 -1
- package/registry/examples/choice-grid/line-up.tsx +1 -1
- package/registry/examples/detail-layout/checkout.js +1 -1
- package/registry/examples/detail-layout/checkout.tsx +2 -2
- package/registry/examples/detail-layout/video.js +1 -1
- package/registry/examples/detail-layout/video.tsx +2 -2
- 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/engine-flow/calm.js +1 -1
- package/registry/examples/engine-flow/calm.tsx +1 -1
- package/registry/examples/engine-flow/compact.js +4 -4
- package/registry/examples/engine-flow/compact.tsx +4 -4
- package/registry/examples/engine-flow/radial.js +2 -6
- package/registry/examples/engine-flow/radial.tsx +1 -5
- package/registry/examples/environment-notice/development.js +15 -0
- package/registry/examples/environment-notice/development.tsx +13 -0
- package/registry/examples/environment-notice/native/development.d.ts +4 -0
- package/registry/examples/environment-notice/native/development.dark.png +0 -0
- package/registry/examples/environment-notice/native/development.js +21 -0
- package/registry/examples/environment-notice/native/development.light.png +0 -0
- package/registry/examples/environment-notice/native/development.tsx +17 -0
- package/registry/examples/environment-notice/staging.d.ts +4 -0
- package/registry/examples/environment-notice/staging.js +11 -0
- package/registry/examples/environment-notice/staging.tsx +6 -0
- package/registry/examples/force-update-screen/default.js +1 -1
- package/registry/examples/force-update-screen/default.tsx +1 -1
- package/registry/examples/force-update-screen/native/default.dark.png +0 -0
- package/registry/examples/force-update-screen/native/default.js +1 -1
- package/registry/examples/force-update-screen/native/default.light.png +0 -0
- package/registry/examples/force-update-screen/native/default.tsx +1 -1
- package/registry/examples/form/native/sign-up.js +2 -2
- package/registry/examples/form/native/sign-up.tsx +2 -2
- package/registry/examples/form/sign-up.js +1 -1
- package/registry/examples/form/sign-up.tsx +3 -3
- package/registry/examples/goal-gauge/arcade.js +1 -1
- package/registry/examples/goal-gauge/arcade.tsx +1 -1
- package/registry/examples/image-cropper/avatar.js +1 -1
- package/registry/examples/image-cropper/avatar.tsx +1 -1
- package/registry/examples/image-cropper/banner.js +1 -1
- package/registry/examples/image-cropper/banner.tsx +1 -1
- package/registry/examples/image-cropper/vertical-video.js +1 -2
- package/registry/examples/image-cropper/vertical-video.tsx +1 -3
- package/registry/examples/iso/creator-hero.d.ts +4 -0
- package/registry/examples/iso/{orochia-hero.js → creator-hero.js} +3 -3
- package/registry/examples/iso/{orochia-hero.tsx → creator-hero.tsx} +1 -1
- package/registry/examples/landing-page/krizaka.js +2 -2
- package/registry/examples/landing-page/krizaka.tsx +2 -2
- package/registry/examples/link-card/docs-hub.js +1 -1
- package/registry/examples/link-card/docs-hub.tsx +1 -1
- package/registry/examples/link-card/hover-quiet.js +1 -1
- package/registry/examples/link-card/hover-quiet.tsx +1 -1
- package/registry/examples/loader/branded.js +2 -2
- package/registry/examples/loader/branded.tsx +3 -3
- package/registry/examples/loader/native/branded.dark.png +0 -0
- package/registry/examples/loader/native/branded.js +1 -1
- package/registry/examples/loader/native/branded.light.png +0 -0
- package/registry/examples/loader/native/branded.tsx +2 -2
- package/registry/examples/longform-page/story.js +3 -3
- package/registry/examples/longform-page/story.tsx +3 -3
- package/registry/examples/marketing-layout/docs-hub.js +1 -1
- package/registry/examples/marketing-layout/docs-hub.tsx +1 -1
- package/registry/examples/mascots/flock.tsx +2 -2
- package/registry/examples/nav-bar/family-admin.js +5 -5
- package/registry/examples/nav-bar/family-admin.tsx +4 -4
- package/registry/examples/nav-bar/site.js +1 -1
- package/registry/examples/nav-bar/site.tsx +1 -1
- package/registry/examples/permission-prompt/native/blocked.dark.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.js +1 -1
- package/registry/examples/permission-prompt/native/blocked.tsx +1 -1
- package/registry/examples/permission-prompt/native/camera.dark.png +0 -0
- package/registry/examples/permission-prompt/native/camera.js +1 -1
- package/registry/examples/permission-prompt/native/camera.light.png +0 -0
- package/registry/examples/permission-prompt/native/camera.tsx +1 -1
- package/registry/examples/profile-card/match.js +1 -1
- package/registry/examples/profile-card/match.tsx +1 -1
- package/registry/examples/promise-card/arcade.js +1 -1
- package/registry/examples/promise-card/arcade.tsx +1 -1
- package/registry/examples/pull-to-refresh/native/branded.dark.png +0 -0
- package/registry/examples/pull-to-refresh/native/branded.js +1 -1
- package/registry/examples/pull-to-refresh/native/branded.light.png +0 -0
- package/registry/examples/pull-to-refresh/native/branded.tsx +1 -1
- package/registry/examples/rail-nav/expandable.js +3 -3
- package/registry/examples/rail-nav/expandable.tsx +3 -3
- package/registry/examples/retro-tv/cabinet.js +1 -2
- package/registry/examples/retro-tv/cabinet.tsx +1 -3
- package/registry/examples/retro-tv/portable.js +1 -2
- package/registry/examples/retro-tv/portable.tsx +1 -3
- package/registry/examples/scroll-stage/arcade.js +1 -1
- package/registry/examples/scroll-stage/arcade.tsx +1 -1
- package/registry/examples/search-field/global.js +1 -1
- package/registry/examples/search-field/global.tsx +1 -1
- package/registry/examples/sites/french.js +1 -1
- package/registry/examples/sites/french.tsx +1 -1
- package/registry/examples/specimen-tag/wire.js +2 -2
- package/registry/examples/specimen-tag/wire.tsx +2 -2
- package/registry/examples/splash-handoff/native/default.dark.png +0 -0
- package/registry/examples/splash-handoff/native/default.js +1 -1
- package/registry/examples/splash-handoff/native/default.light.png +0 -0
- package/registry/examples/splash-handoff/native/default.tsx +1 -1
- package/registry/examples/split-view/messages.tsx +1 -1
- package/registry/examples/split-view/notifications.js +1 -1
- package/registry/examples/split-view/notifications.tsx +1 -1
- package/registry/examples/status-page/building.js +2 -2
- package/registry/examples/status-page/building.tsx +2 -2
- package/registry/examples/status-page/operational.js +1 -1
- package/registry/examples/status-page/operational.tsx +1 -1
- package/registry/examples/tab-bar/native/main-sections.tsx +1 -1
- package/registry/examples/tree-view/docs.js +1 -1
- package/registry/examples/tree-view/docs.tsx +1 -1
- package/registry/examples/video-player/default.js +1 -2
- package/registry/examples/video-player/default.tsx +1 -3
- package/registry/examples/video-player/gated.js +2 -3
- package/registry/examples/video-player/gated.tsx +2 -4
- package/registry/examples/video-player/native/default.dark.png +0 -0
- package/registry/examples/video-player/native/default.js +3 -3
- package/registry/examples/video-player/native/default.light.png +0 -0
- package/registry/examples/video-player/native/default.tsx +3 -3
- package/registry/examples/video-player/signed-source.js +2 -3
- package/registry/examples/video-player/signed-source.tsx +2 -4
- package/registry/examples/video-player/vertical.js +1 -2
- package/registry/examples/video-player/vertical.tsx +1 -3
- package/registry/examples/video-trimmer/filmstrip.js +10 -2
- package/registry/examples/video-trimmer/filmstrip.tsx +11 -2
- package/registry/examples/video-trimmer/playhead.js +8 -1
- package/registry/examples/video-trimmer/playhead.tsx +9 -1
- package/registry/field.json +1 -1
- package/registry/file-upload.json +2 -2
- package/registry/filter-bar.json +1 -1
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +4 -4
- package/registry/form.json +7 -7
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +2 -2
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +6 -6
- package/registry/grade-stamp.json +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +5 -5
- package/registry/index.json +53 -24
- package/registry/iso.json +7 -7
- package/registry/kanban.json +3 -3
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +2 -2
- package/registry/landing-page.json +6 -6
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +4 -4
- package/registry/list.json +3 -3
- package/registry/loader.json +11 -11
- package/registry/longform-page.json +3 -3
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +2 -2
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +5 -5
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +3 -3
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +9 -9
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +3 -3
- package/registry/number-ticker.json +1 -1
- package/registry/onboarding.json +1 -1
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/permission-prompt.json +3 -3
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +6 -6
- package/registry/profile-card.json +7 -7
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +3 -3
- package/registry/pull-to-refresh.json +2 -2
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +10 -10
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +4 -4
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +6 -6
- package/registry/search-field.json +3 -3
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +7 -7
- package/registry/sites.json +4 -4
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +2 -2
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/splash-handoff.json +4 -4
- package/registry/split-view.json +4 -4
- package/registry/stage-banner.json +10 -6
- package/registry/stat.json +3 -3
- package/registry/status-chip.json +1 -1
- package/registry/status-page.json +9 -9
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tab-bar.json +2 -2
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +3 -3
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +4 -4
- package/registry/video-player.json +7 -7
- package/registry/video-trimmer.json +6 -6
- package/registry/virtual.json +1 -1
- package/registry/wall.json +1 -1
- package/registry/waveform.json +1 -1
- package/skills/form/SKILL.md +1 -1
- package/skills/map/SKILL.md +2 -2
- package/dist/chunk-3RVFD3UX.js.map +0 -1
- package/dist/chunk-4E5IUZHR.js.map +0 -1
- package/dist/chunk-KB7OLYIJ.js.map +0 -1
- package/dist/chunk-MHUUNC5W.js.map +0 -1
- package/dist/chunk-MIMOTE4W.js.map +0 -1
- package/dist/chunk-RBETQO2P.js.map +0 -1
- /package/registry/examples/app-shell/{orochia-studio.d.ts → creator-studio.d.ts} +0 -0
- /package/registry/examples/{iso/orochia-hero.d.ts → environment-notice/development.d.ts} +0 -0
package/dist/filter-bar.d.ts
CHANGED
|
@@ -75,11 +75,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
75
75
|
[key: string]: {
|
|
76
76
|
[key: string]: tailwind_variants.ClassValue | {
|
|
77
77
|
root?: tailwind_variants.ClassValue;
|
|
78
|
-
count?: tailwind_variants.ClassValue;
|
|
79
78
|
controls?: tailwind_variants.ClassValue;
|
|
80
79
|
active?: tailwind_variants.ClassValue;
|
|
81
80
|
clear?: tailwind_variants.ClassValue;
|
|
82
81
|
results?: tailwind_variants.ClassValue;
|
|
82
|
+
count?: tailwind_variants.ClassValue;
|
|
83
83
|
optionCount?: tailwind_variants.ClassValue;
|
|
84
84
|
trigger?: tailwind_variants.ClassValue;
|
|
85
85
|
};
|
|
@@ -88,11 +88,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
88
88
|
[x: string]: {
|
|
89
89
|
[x: string]: tailwind_variants.ClassValue | {
|
|
90
90
|
root?: tailwind_variants.ClassValue;
|
|
91
|
-
count?: tailwind_variants.ClassValue;
|
|
92
91
|
controls?: tailwind_variants.ClassValue;
|
|
93
92
|
active?: tailwind_variants.ClassValue;
|
|
94
93
|
clear?: tailwind_variants.ClassValue;
|
|
95
94
|
results?: tailwind_variants.ClassValue;
|
|
95
|
+
count?: tailwind_variants.ClassValue;
|
|
96
96
|
optionCount?: tailwind_variants.ClassValue;
|
|
97
97
|
trigger?: tailwind_variants.ClassValue;
|
|
98
98
|
};
|
|
@@ -110,11 +110,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
110
110
|
[key: string]: {
|
|
111
111
|
[key: string]: tailwind_variants.ClassValue | {
|
|
112
112
|
root?: tailwind_variants.ClassValue;
|
|
113
|
-
count?: tailwind_variants.ClassValue;
|
|
114
113
|
controls?: tailwind_variants.ClassValue;
|
|
115
114
|
active?: tailwind_variants.ClassValue;
|
|
116
115
|
clear?: tailwind_variants.ClassValue;
|
|
117
116
|
results?: tailwind_variants.ClassValue;
|
|
117
|
+
count?: tailwind_variants.ClassValue;
|
|
118
118
|
optionCount?: tailwind_variants.ClassValue;
|
|
119
119
|
trigger?: tailwind_variants.ClassValue;
|
|
120
120
|
};
|
package/dist/flock.js
CHANGED
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* The Krizaka flock — the geometry of the mascots, drawn by the web `Mascot` (`./mascot.tsx`) and the native one
|
|
3
3
|
* (`../native/mascots.tsx`). Five birds that have carried the Krizaka story since the first site (the sentry falcon,
|
|
4
4
|
* the owl that reads, the developer duck, the flamingo that answers, the carrier pigeon), the lovebird that
|
|
5
|
-
* introduces (
|
|
6
|
-
* "la
|
|
7
|
-
* beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
5
|
+
* introduces ("l'inséparable présente") and the crane that listens ("la grue écoute"), the magpie that keeps the
|
|
6
|
+
* score ("la pie compte les points") and the beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
8
7
|
* feathers: its paws are drawn as wings, its paddle tail behind it), redrawn on one 120 × 120 grid so that any figure
|
|
9
8
|
* can wear any mood.
|
|
10
9
|
*
|
|
11
10
|
* Colours are roles, never fixed: `brand` (the default) paints a bird in the host's accent (`--kz-accent`,
|
|
12
|
-
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and
|
|
11
|
+
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and indigo in Yomizaka; `own` gives
|
|
13
12
|
* each bird the signature palette it has in the Krizaka story (the brand layer's exception, like the marks). Shades
|
|
14
13
|
* and highlights are black and white at a low opacity over the role, so they hold in both themes.
|
|
15
14
|
*/
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* The Krizaka flock — the geometry of the mascots, drawn by the web `Mascot` (`./mascot.tsx`) and the native one
|
|
3
3
|
* (`../native/mascots.tsx`). Five birds that have carried the Krizaka story since the first site (the sentry falcon,
|
|
4
4
|
* the owl that reads, the developer duck, the flamingo that answers, the carrier pigeon), the lovebird that
|
|
5
|
-
* introduces (
|
|
6
|
-
* "la
|
|
7
|
-
* beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
5
|
+
* introduces ("l'inséparable présente") and the crane that listens ("la grue écoute"), the magpie that keeps the
|
|
6
|
+
* score ("la pie compte les points") and the beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
8
7
|
* feathers: its paws are drawn as wings, its paddle tail behind it), redrawn on one 120 × 120 grid so that any figure
|
|
9
8
|
* can wear any mood.
|
|
10
9
|
*
|
|
11
10
|
* Colours are roles, never fixed: `brand` (the default) paints a bird in the host's accent (`--kz-accent`,
|
|
12
|
-
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and
|
|
11
|
+
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and indigo in Yomizaka; `own` gives
|
|
13
12
|
* each bird the signature palette it has in the Krizaka story (the brand layer's exception, like the marks). Shades
|
|
14
13
|
* and highlights are black and white at a low opacity over the role, so they hold in both themes.
|
|
15
14
|
*/
|
package/dist/goal-gauge.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ type GoalGaugeProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
|
29
29
|
* @default "default"
|
|
30
30
|
*/
|
|
31
31
|
variant?: StoryVariant;
|
|
32
|
-
/** A brand scope (`
|
|
32
|
+
/** A brand scope (`orazaka` → `.brand-orazaka`). */
|
|
33
33
|
brand?: string;
|
|
34
34
|
};
|
|
35
35
|
/** A goal in steps: `role="meter"`, the reached steps lit, the value in words beside the label. */
|
package/dist/goal-gauge.js
CHANGED
package/dist/goal-gauge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/goal-gauge/goal-gauge.tsx"],"sourcesContent":["// Server-safe. A goal counted in steps (story.css): 6 of 10 backers, 3 of 5 dares done, 8 problems out of the way. A\n// `meter` with its value in words; in a `Scene` of a `ScrollStage` the segments light (or drain) one by one, once.\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { brandClass, type StoryVariant, storyVariantClass } from \"../story-variant\";\n\nexport type GoalGaugeProps = Omit<React.HTMLAttributes<HTMLDivElement>, \"children\"> & {\n /** What the gauge counts (“Backers”, “Dares completed”) — passed translated; the meter's accessible name. */\n label: string;\n /** The number of steps of the goal (2–24). */\n segments: number;\n /**\n * The steps reached (lit), from 0 to `segments`.\n * @default segments\n */\n value?: number;\n /** The value in words (“6 of 10”, “€420 raised”); default `value / segments`. */\n valueText?: string;\n /**\n * How the scene plays it: `fill` lights the reached steps one by one; `drain` empties the spent ones (a countdown of\n * what is left: tickets, lives, problems still standing).\n * @default \"fill\"\n */\n mode?: \"fill\" | \"drain\";\n /**\n * Shows the label and the value above the segments.\n * @default true\n */\n showLabel?: boolean;\n /**\n * `default`: rounded segments. `arcade`: the boss gauge — a skewed frame, gradient cells, a centred mono label.\n * @default \"default\"\n */\n variant?: StoryVariant;\n /** A brand scope (`
|
|
1
|
+
{"version":3,"sources":["../src/goal-gauge/goal-gauge.tsx"],"sourcesContent":["// Server-safe. A goal counted in steps (story.css): 6 of 10 backers, 3 of 5 dares done, 8 problems out of the way. A\n// `meter` with its value in words; in a `Scene` of a `ScrollStage` the segments light (or drain) one by one, once.\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { brandClass, type StoryVariant, storyVariantClass } from \"../story-variant\";\n\nexport type GoalGaugeProps = Omit<React.HTMLAttributes<HTMLDivElement>, \"children\"> & {\n /** What the gauge counts (“Backers”, “Dares completed”) — passed translated; the meter's accessible name. */\n label: string;\n /** The number of steps of the goal (2–24). */\n segments: number;\n /**\n * The steps reached (lit), from 0 to `segments`.\n * @default segments\n */\n value?: number;\n /** The value in words (“6 of 10”, “€420 raised”); default `value / segments`. */\n valueText?: string;\n /**\n * How the scene plays it: `fill` lights the reached steps one by one; `drain` empties the spent ones (a countdown of\n * what is left: tickets, lives, problems still standing).\n * @default \"fill\"\n */\n mode?: \"fill\" | \"drain\";\n /**\n * Shows the label and the value above the segments.\n * @default true\n */\n showLabel?: boolean;\n /**\n * `default`: rounded segments. `arcade`: the boss gauge — a skewed frame, gradient cells, a centred mono label.\n * @default \"default\"\n */\n variant?: StoryVariant;\n /** A brand scope (`orazaka` → `.brand-orazaka`). */\n brand?: string;\n};\n\n/** A goal in steps: `role=\"meter\"`, the reached steps lit, the value in words beside the label. */\nexport function GoalGauge({ label, segments, value, valueText, mode = \"fill\", showLabel = true, variant, brand, className, style, ...props }: GoalGaugeProps) {\n const total = Math.max(1, Math.round(segments));\n const lit = Math.min(total, Math.max(0, Math.round(value ?? total)));\n const words = valueText ?? `${lit} / ${total}`;\n return (\n <div\n role=\"meter\"\n aria-label={label}\n aria-valuemin={0}\n aria-valuemax={total}\n aria-valuenow={lit}\n aria-valuetext={words}\n data-mode={mode}\n className={cn(\"kzs-gauge\", storyVariantClass(variant), brandClass(brand), className)}\n style={{ \"--kzs-segments\": total, ...style } as React.CSSProperties}\n {...props}\n >\n {showLabel && (\n <div className=\"kzs-gauge-head\" aria-hidden>\n <span className=\"kzs-gauge-label\">{label}</span>\n <span className=\"kzs-gauge-value\">{words}</span>\n </div>\n )}\n <div className=\"kzs-gauge-cells\" aria-hidden>\n {Array.from({ length: total }, (_, i) => {\n const on = i < lit;\n const animate = mode === \"fill\" ? on : !on;\n const order = mode === \"fill\" ? i : i - lit;\n return (\n <span\n key={i}\n className=\"kzs-gauge-cell\"\n data-lit={on ? \"\" : undefined}\n data-animate={animate ? \"\" : undefined}\n style={animate ? ({ \"--i\": order } as React.CSSProperties) : undefined}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;AA0DQ,SACE,KADF;AAlBD,SAAS,UAAU,EAAE,OAAO,UAAU,OAAO,WAAW,OAA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
@@ -26,6 +26,8 @@ declare function AkinazaLogo({ size, animated, title, className }: MarkProps): R
|
|
|
26
26
|
* (the brand's two colours, kept apart), under a gold diamond — the family's lit node — that breathes: a friendly
|
|
27
27
|
* leaderboard where only points change hands. One node, the ball, rides the dashed orbit. Below 48 px it crops to the
|
|
28
28
|
* emblem.
|
|
29
|
+
*
|
|
30
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
29
31
|
*/
|
|
30
32
|
declare function KachizakaLogo({ size, animated, title, className }: MarkProps): React.JSX.Element;
|
|
31
33
|
|
|
@@ -46,10 +48,18 @@ declare function OrazakaLogo({ size, animated, title, className }: MarkProps): R
|
|
|
46
48
|
/**
|
|
47
49
|
* The Orochia mark: the serpent (Orochi) coiled into an "O" around the flame it guards. The orbit turns, scales slide
|
|
48
50
|
* along the body, the eye and the flame breathe. Below 48 px it crops to the serpent: the orbits would be hairlines.
|
|
51
|
+
*
|
|
52
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
49
53
|
*/
|
|
50
54
|
declare function OrochiaLogo({ size, animated, title, className }: MarkProps): React.JSX.Element;
|
|
51
55
|
|
|
56
|
+
/**
|
|
57
|
+
* A Krizaka brand. `orochia`, `yasakia`, `yororis` and `kachizaka` are paused products, kept so nothing published
|
|
58
|
+
* breaks — see `PausedBrandId`.
|
|
59
|
+
*/
|
|
52
60
|
type BrandId = "krizaka" | "orazaka" | "orochia" | "yasakia" | "yororis" | "yomizaka" | "kachizaka" | "akinaza";
|
|
61
|
+
/** @deprecated Paused product (2026-10-25); removed in the next major. The brands of the paused products. */
|
|
62
|
+
type PausedBrandId = "orochia" | "yasakia" | "yororis" | "kachizaka";
|
|
53
63
|
/** The mark of a Krizaka brand by id — for navigation, cards and lists driven by data. */
|
|
54
64
|
declare function ProductLogo({ id, ...props }: MarkProps & {
|
|
55
65
|
id: BrandId | "yazakia";
|
|
@@ -69,6 +79,8 @@ declare function WuSamaMark({ size, title, className }: Omit<MarkProps, "animate
|
|
|
69
79
|
* can never read as a face) in the Yasakia gradient (emerald → turquoise, the same in dark and light), and the spark
|
|
70
80
|
* inside it — the family's lit node — that breathes: talk first, both ways. One node rides the dashed orbit. Below 48 px
|
|
71
81
|
* it crops to the emblem.
|
|
82
|
+
*
|
|
83
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
72
84
|
*/
|
|
73
85
|
declare function YasakiaLogo({ size, animated, title, className }: MarkProps): React.JSX.Element;
|
|
74
86
|
/** @deprecated Yazakia was renamed Yasakia (2026-10): use `YasakiaLogo`. Kept for one minor version. */
|
|
@@ -85,8 +97,10 @@ declare function YomizakaLogo({ size, animated, title, className }: MarkProps):
|
|
|
85
97
|
* The Yororis mark, "held": two open hands, two sage arcs of one circle, cup a warm sand core without closing on it —
|
|
86
98
|
* held, given room, free to go. The core breathes, the slowest breath of the family; one node, the moment, rides the
|
|
87
99
|
* dashed orbit. Below 48 px it crops to the emblem.
|
|
100
|
+
*
|
|
101
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
88
102
|
*/
|
|
89
103
|
declare function YororisLogo({ size, animated, title, className }: MarkProps): React.JSX.Element;
|
|
90
104
|
|
|
91
105
|
export { AkinazaLogo, KachizakaLogo, KrizakaLogo, OrazakaLogo, OrochiaLogo, ProductLogo, WuSamaMark, YasakiaLogo, YazakiaLogo, YomizakaLogo, YororisLogo, cx };
|
|
92
|
-
export type { BrandId, MarkProps };
|
|
106
|
+
export type { BrandId, MarkProps, PausedBrandId };
|
package/dist/index.js
CHANGED
package/dist/landing-page.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
|
28
28
|
actions?: React.ReactNode;
|
|
29
29
|
/** The product, alive, beside the words: a recording, a live demo (framed as a window). */
|
|
30
30
|
visual: React.ReactNode;
|
|
31
|
-
/** The window's caption (`
|
|
31
|
+
/** The window's caption (`studio.app — studio`). */
|
|
32
32
|
visualLabel?: React.ReactNode;
|
|
33
33
|
/** Figures or facts in a band under the hero: `{ value, label }`. */
|
|
34
34
|
proofs?: readonly {
|
package/dist/landing-page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/landing-page/landing-page.tsx"],"sourcesContent":["// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). */\n visual: React.ReactNode;\n /** The window's caption (`
|
|
1
|
+
{"version":3,"sources":["../src/landing-page/landing-page.tsx"],"sourcesContent":["// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). */\n visual: React.ReactNode;\n /** The window's caption (`studio.app — studio`). */\n visualLabel?: React.ReactNode;\n /** Figures or facts in a band under the hero: `{ value, label }`. */\n proofs?: readonly { value: React.ReactNode; label: React.ReactNode }[];\n /** The features' section: its eyebrow, title and lead. */\n featuresHeading?: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The features, as a bento. */\n features: readonly LandingFeature[];\n /** Between the features and the closing call: a story, a quote, testimonials. */\n children?: React.ReactNode;\n /** The closing call: its title, body and actions. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n};\n\n/** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */\nexport function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, featuresHeading, features, closing, children, ...props }: LandingPageProps) {\n return (\n <div {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page className=\"kz-tpl-hero-frame\">\n <div className=\"kz-tpl-split\">\n <div className=\"kz-hero-text\">\n {eyebrow && <p className=\"kz-eyebrow\">{eyebrow}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {actions && <div className=\"kz-tpl-actions kz-hero-extra\">{actions}</div>}\n </div>\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {visualLabel && <span>{visualLabel}</span>}\n </div>\n {visual}\n </figure>\n </div>\n </Page>\n </SectionBackdrop>\n {proofs && proofs.length > 0 && (\n <Page>\n <dl className=\"kz-tpl-band\">\n {proofs.map((p, i) => (\n <div key={i}>\n <dt>{p.value}</dt>\n <dd>{p.label}</dd>\n </div>\n ))}\n </dl>\n </Page>\n )}\n <Section id=\"features\" eyebrow={featuresHeading?.eyebrow} title={featuresHeading?.title} lead={featuresHeading?.lead} reveal aria-label={featuresHeading ? undefined : \"Features\"}>\n <ul className=\"kz-tpl-bento\">\n {features.map((f) => (\n <li key={f.id} data-size={f.size === \"sm\" ? undefined : f.size} data-reveal=\"\">\n {f.icon && <span className=\"kz-block-icon\" aria-hidden>{f.icon}</span>}\n <h3>{f.title}</h3>\n <p>{f.text}</p>\n {f.visual && <div className=\"kz-tpl-bento-visual\">{f.visual}</div>}\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"landing-closing\">\n <CtaPanel id=\"landing-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";AAGA,SAAS,gBAAgB;AACzB,SAAS,MAAM,eAAe;AAC9B,SAAS,uBAAuB;AAqDpB,SACc,KADd;AANL,SAAS,YAAY,EAAE,SAAS,OAAO,MAAM,SAAS,QAAQ,aAAa,QAAQ,iBAAiB,UAAU,SAAS,UAAU,GAAG,MAAM,GAAqB;AACpK,SACE,qBAAC,SAAK,GAAG,OACP;AAAA,wBAAC,mBAAgB,IAAG,UAAS,MAAI,MAAC,WAAU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MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
|
package/dist/loader.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ interface LoaderProps extends Omit<React.ComponentProps<"div">, "children"> {
|
|
|
182
182
|
*/
|
|
183
183
|
variant?: LoaderVariants["variant"];
|
|
184
184
|
/**
|
|
185
|
-
* The product's mark in place of the Krizaka glyph while it waits — `<
|
|
185
|
+
* The product's mark in place of the Krizaka glyph while it waits — `<OrazakaLogo animated />` (or `ProductLogo`) of
|
|
186
186
|
* `@krizaka/ui`; it takes the loader's size. The ending (check or cross) stays the glyph's. Decorative: leave `title` off.
|
|
187
187
|
*/
|
|
188
188
|
mark?: React.ReactNode;
|
package/dist/loader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/loader/loader.tsx"],"sourcesContent":["// Client (timers). The whole life of a wait, done right once: nothing for the first instants (a fast answer never\n// flashes a spinner), then the Krizaka glyph with its words and an ETA, held long enough to be read, ending on a\n// check or a cross that is drawn and announced. `LoadingRegion` hands a region over from its content to a skeleton of\n// the same shape, then to words when the wait grows long, then back to the content.\nimport * as React from \"react\";\nimport { tv, type VariantProps } from \"tailwind-variants\";\n\nimport { LoaderGlyph } from \"../spinner/glyph\";\n\nexport const loader = tv({\n slots: {\n root: \"text-fg-secondary\",\n box: \"kz-fade flex items-center gap-3\",\n glyph: \"shrink-0 text-accent\",\n mark: \"block shrink-0 [&>svg]:block [&>svg]:h-full [&>svg]:w-full\",\n text: \"flex min-w-0 flex-col\",\n label: \"font-medium text-fg\",\n detail: \"text-xs text-fg-secondary tabular-nums\",\n },\n variants: {\n variant: {\n inline: { box: \"text-sm\", glyph: \"h-5 w-5\", mark: \"h-5 w-5\" },\n block: { box: \"flex-col justify-center py-10 text-center text-sm\", glyph: \"h-9 w-9\", mark: \"h-9 w-9\", text: \"items-center\" },\n overlay: {\n root: \"absolute inset-0 z-10 flex items-center justify-center rounded-[inherit] empty:hidden\",\n box: \"flex-col rounded-xl border border-border-default bg-surface-1 px-6 py-5 text-center text-sm shadow-lg\",\n glyph: \"h-9 w-9\", mark: \"h-9 w-9\",\n text: \"items-center\",\n },\n page: {\n root: \"fixed inset-0 z-50 flex items-center justify-center bg-surface-0 empty:hidden\",\n box: \"flex-col text-center\",\n glyph: \"h-14 w-14\", mark: \"h-14 w-14\",\n text: \"items-center\",\n label: \"font-display text-lg\",\n },\n },\n ended: {\n success: { glyph: \"text-fg-success\" },\n error: { glyph: \"text-fg-danger\" },\n },\n },\n defaultVariants: { variant: \"inline\" },\n});\n\nexport type LoaderVariants = VariantProps<typeof loader>;\n\n/**\n * `true` once `active` has lasted `delay` ms; then stays `true` at least `minDuration` ms — a wait that ends early never\n * shows, one that shows never blinks.\n */\nexport function useDelayedWait(active: boolean, delay = 250, minDuration = 600): boolean {\n const [shown, setShown] = React.useState(false);\n const since = React.useRef(0);\n React.useEffect(() => {\n if (active === shown) return;\n const wait = active ? delay : Math.max(0, minDuration - (Date.now() - since.current));\n const timer = setTimeout(() => {\n since.current = Date.now();\n setShown(active);\n }, wait);\n return () => clearTimeout(timer);\n }, [active, shown, delay, minDuration]);\n return shown;\n}\n\nexport interface LoaderProps extends Omit<React.ComponentProps<\"div\">, \"children\"> {\n /** What is loading, in words (“Loading your invoices”) — passed translated; shown and announced. */\n label: string;\n /**\n * loading · success · error. When the wait ends, the loader shows how it ended for `endDuration` ms, then disappears.\n * @default \"loading\"\n */\n status?: \"loading\" | \"success\" | \"error\";\n /** The words of a success (“Invoices loaded”) — passed translated. Default: nothing more than the check. */\n successLabel?: string;\n /** The words of a failure (“Could not load the invoices”) — passed translated. */\n errorLabel?: string;\n /** Between 0 and 1: a determinate wait — the trace grows to it and the percentage shows. */\n value?: number | null;\n /** The time left, in words (“About 20 s left”) — passed translated (`@krizaka/intl` formats durations). */\n eta?: string;\n /**\n * Milliseconds before anything shows: a wait shorter than this never flashes.\n * @default 250\n */\n delay?: number;\n /**\n * Once shown, the least milliseconds it stays: it never blinks.\n * @default 600\n */\n minDuration?: number;\n /**\n * Milliseconds the ending (check or cross) stays before the loader disappears; `0` never shows it, `Infinity` keeps it.\n * @default 1600\n */\n endDuration?: number;\n /**\n * inline (beside the content) · block (a region's centre) · overlay (over a `relative` parent, frosted) · page (the\n * whole screen).\n * @default \"inline\"\n */\n variant?: LoaderVariants[\"variant\"];\n /**\n * The product's mark in place of the Krizaka glyph while it waits — `<OrochiaLogo animated />` (or `ProductLogo`) of\n * `@krizaka/ui`; it takes the loader's size. The ending (check or cross) stays the glyph's. Decorative: leave `title` off.\n */\n mark?: React.ReactNode;\n}\n\n/**\n * A wait, from start to end. `role=\"status\"` (polite): its words are announced when it shows and when it ends. Under\n * prefers-reduced-motion the glyph rests on a still frame; the delay and the ending stay.\n */\nexport function Loader({\n label,\n status = \"loading\",\n successLabel,\n errorLabel,\n value,\n eta,\n delay = 250,\n minDuration = 600,\n endDuration = 1600,\n variant,\n mark,\n className,\n ...props\n}: LoaderProps) {\n const waiting = useDelayedWait(status === \"loading\", delay, minDuration);\n // Rendered already ended (a result to show), it shows its ending; otherwise only a wait that was seen ends visibly.\n const [ending, setEnding] = React.useState<\"success\" | \"error\" | null>(() => (status !== \"loading\" && endDuration > 0 ? status : null));\n const wasWaiting = React.useRef(false);\n React.useEffect(() => {\n if (!Number.isFinite(endDuration)) return;\n const hide = setTimeout(() => setEnding((e) => (wasWaiting.current ? e : null)), endDuration);\n return () => clearTimeout(hide);\n // Only the ending a loader was mounted with: later endings have their own timer below.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n React.useEffect(() => {\n if (waiting) {\n wasWaiting.current = true;\n return;\n }\n if (!wasWaiting.current || status === \"loading\") return;\n wasWaiting.current = false;\n const end = status;\n const show = setTimeout(() => setEnding(endDuration > 0 ? end : null), 0);\n const hide = Number.isFinite(endDuration) ? setTimeout(() => setEnding(null), endDuration) : undefined;\n return () => {\n clearTimeout(show);\n clearTimeout(hide);\n };\n }, [waiting, status, endDuration]);\n\n const phase = waiting ? \"loading\" : ending;\n const s = loader({ variant, ended: phase === \"success\" || phase === \"error\" ? phase : undefined });\n const known = phase === \"loading\" && typeof value === \"number\" && Number.isFinite(value);\n const words = phase === \"success\" ? (successLabel ?? label) : phase === \"error\" ? (errorLabel ?? label) : label;\n const detail = phase === \"loading\" ? [known ? `${Math.round(Math.min(1, Math.max(0, value)) * 100)} %` : null, eta].filter(Boolean).join(\" · \") : \"\";\n return (\n <div role=\"status\" aria-live=\"polite\" data-phase={phase ?? \"idle\"} className={s.root({ className })} {...props}>\n {phase && (\n <div className={s.box()}>\n {mark && phase === \"loading\" ? (\n <span aria-hidden className={s.mark()} data-mark=\"\">\n {mark}\n </span>\n ) : (\n <LoaderGlyph state={phase} value={known ? value : null} className={s.glyph()} />\n )}\n <span className={s.text()}>\n <span className={s.label()}>{words}</span>\n {detail && <span className={s.detail()}>{detail}</span>}\n </span>\n </div>\n )}\n </div>\n );\n}\n\nexport interface LoadingRegionProps extends React.ComponentProps<\"div\"> {\n /** Whether the content is on its way. */\n loading: boolean;\n /** What stands in while it loads: skeletons the shape of the content (no layout shift when it arrives). */\n skeleton: React.ReactNode;\n /** What is loading, in words — passed translated; announced when the wait shows. */\n label: string;\n /** The words when the wait grows long (“Still loading — the server is busy”) — passed translated. */\n slowLabel?: string;\n /**\n * Milliseconds of skeleton before the words of a long wait appear over it.\n * @default 4000\n */\n slowAfter?: number;\n /**\n * Milliseconds before the skeleton shows: a fast answer goes straight to the content.\n * @default 200\n */\n delay?: number;\n /**\n * Once shown, the least milliseconds the skeleton stays.\n * @default 500\n */\n minDuration?: number;\n}\n\n/**\n * A region that hands over: its content → (after `delay`) a skeleton of the same shape → (after `slowAfter`) words over\n * the skeleton → its content again, fading in. `aria-busy` while it waits; the wait is announced once.\n */\nexport function LoadingRegion({\n loading,\n skeleton,\n label,\n slowLabel,\n slowAfter = 4000,\n delay = 200,\n minDuration = 500,\n className,\n children,\n ...props\n}: LoadingRegionProps) {\n const waiting = useDelayedWait(loading, delay, minDuration);\n const slow = useDelayedWait(waiting && loading, slowAfter, 0);\n const busy = loading || waiting;\n return (\n <div aria-busy={busy} data-phase={waiting ? (slow ? \"slow\" : \"skeleton\") : busy ? \"pending\" : \"ready\"} className={[\"relative\", className].filter(Boolean).join(\" \")} {...props}>\n <span role=\"status\" className=\"sr-only\">\n {waiting ? (slow ? (slowLabel ?? label) : label) : \"\"}\n </span>\n {waiting ? (\n <div aria-hidden className=\"kz-fade\">\n {skeleton}\n </div>\n ) : busy ? (\n // Within the delay: the skeleton holds the place, invisible — nothing flashes, nothing jumps.\n <div aria-hidden className=\"invisible\">\n {skeleton}\n </div>\n ) : (\n <div className=\"kz-fade\">{children}</div>\n )}\n {waiting && slow && <Loader label={slowLabel ?? label} variant=\"overlay\" delay={0} minDuration={0} endDuration={0} aria-live=\"off\" role=\"presentation\" />}\n </div>\n );\n}\n"],"mappings":";;;;;;AAIA,YAAY,WAAW;AACvB,SAAS,UAA6B;AAiK1B,cAMF,YANE;AA7JL,IAAM,SAAS,GAAG;AAAA,EACvB,OAAO;AAAA,IACL,MAAM;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,IACP,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,EACV;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,MACP,QAAQ,EAAE,KAAK,WAAW,OAAO,WAAW,MAAM,UAAU;AAAA,MAC5D,OAAO,EAAE,KAAK,qDAAqD,OAAO,WAAW,MAAM,WAAW,MAAM,eAAe;AAAA,MAC3H,SAAS;AAAA,QACP,MAAM;AAAA,QACN,KAAK;AAAA,QACL,OAAO;AAAA,QAAW,MAAM;AAAA,QACxB,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,KAAK;A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,OAAO,OAAO,OAAO,QAAQ,QAAQ,MAAM,WAAW,EAAE,MAAM,GAAG;AAAA,IAEhF,qBAAC,UAAK,WAAW,EAAE,KAAK,GACtB;AAAA,0BAAC,UAAK,WAAW,EAAE,MAAM,GAAI,iBAAM;AAAA,MAClC,UAAU,oBAAC,UAAK,WAAW,EAAE,OAAO,GAAI,kBAAO;AAAA,OAClD;AAAA,KACF,GAEJ;AAEJ;AAgCO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAuB;AACrB,QAAM,UAAU,eAAe,SAAS,OAAO,WAAW;AAC1D,QAAM,OAAO,eAAe,WAAW,SAAS,WAAW,CAAC;AAC5D,QAAM,OAAO,WAAW;AACxB,SACE,qBAAC,SAAI,aAAW,MAAM,cAAY,UAAW,OAAO,SAAS,aAAc,OAAO,YAAY,SAAS,WAAW,CAAC,YAAY,SAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,GAAI,GAAG,OACvK;AAAA,wBAAC,UAAK,MAAK,UAAS,WAAU,WAC3B,oBAAW,OAAQ,aAAa,QAAS,QAAS,IACrD;AAAA,IACC,UACC,oBAAC,SAAI,eAAW,MAAC,WAAU,WACxB,oBACH,IACE;AAAA;AAAA,MAEF,oBAAC,SAAI,eAAW,MAAC,WAAU,aACxB,oBACH;AAAA,QAEA,oBAAC,SAAI,WAAU,WAAW,UAAS;AAAA,IAEpC,WAAW,QAAQ,oBAAC,UAAO,OAAO,aAAa,OAAO,SAAQ,WAAU,OAAO,GAAG,aAAa,GAAG,aAAa,GAAG,aAAU,OAAM,MAAK,gBAAe;AAAA,KACzJ;AAEJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/loader/loader.tsx"],"sourcesContent":["// Client (timers). The whole life of a wait, done right once: nothing for the first instants (a fast answer never\n// flashes a spinner), then the Krizaka glyph with its words and an ETA, held long enough to be read, ending on a\n// check or a cross that is drawn and announced. `LoadingRegion` hands a region over from its content to a skeleton of\n// the same shape, then to words when the wait grows long, then back to the content.\nimport * as React from \"react\";\nimport { tv, type VariantProps } from \"tailwind-variants\";\n\nimport { LoaderGlyph } from \"../spinner/glyph\";\n\nexport const loader = tv({\n slots: {\n root: \"text-fg-secondary\",\n box: \"kz-fade flex items-center gap-3\",\n glyph: \"shrink-0 text-accent\",\n mark: \"block shrink-0 [&>svg]:block [&>svg]:h-full [&>svg]:w-full\",\n text: \"flex min-w-0 flex-col\",\n label: \"font-medium text-fg\",\n detail: \"text-xs text-fg-secondary tabular-nums\",\n },\n variants: {\n variant: {\n inline: { box: \"text-sm\", glyph: \"h-5 w-5\", mark: \"h-5 w-5\" },\n block: { box: \"flex-col justify-center py-10 text-center text-sm\", glyph: \"h-9 w-9\", mark: \"h-9 w-9\", text: \"items-center\" },\n overlay: {\n root: \"absolute inset-0 z-10 flex items-center justify-center rounded-[inherit] empty:hidden\",\n box: \"flex-col rounded-xl border border-border-default bg-surface-1 px-6 py-5 text-center text-sm shadow-lg\",\n glyph: \"h-9 w-9\", mark: \"h-9 w-9\",\n text: \"items-center\",\n },\n page: {\n root: \"fixed inset-0 z-50 flex items-center justify-center bg-surface-0 empty:hidden\",\n box: \"flex-col text-center\",\n glyph: \"h-14 w-14\", mark: \"h-14 w-14\",\n text: \"items-center\",\n label: \"font-display text-lg\",\n },\n },\n ended: {\n success: { glyph: \"text-fg-success\" },\n error: { glyph: \"text-fg-danger\" },\n },\n },\n defaultVariants: { variant: \"inline\" },\n});\n\nexport type LoaderVariants = VariantProps<typeof loader>;\n\n/**\n * `true` once `active` has lasted `delay` ms; then stays `true` at least `minDuration` ms — a wait that ends early never\n * shows, one that shows never blinks.\n */\nexport function useDelayedWait(active: boolean, delay = 250, minDuration = 600): boolean {\n const [shown, setShown] = React.useState(false);\n const since = React.useRef(0);\n React.useEffect(() => {\n if (active === shown) return;\n const wait = active ? delay : Math.max(0, minDuration - (Date.now() - since.current));\n const timer = setTimeout(() => {\n since.current = Date.now();\n setShown(active);\n }, wait);\n return () => clearTimeout(timer);\n }, [active, shown, delay, minDuration]);\n return shown;\n}\n\nexport interface LoaderProps extends Omit<React.ComponentProps<\"div\">, \"children\"> {\n /** What is loading, in words (“Loading your invoices”) — passed translated; shown and announced. */\n label: string;\n /**\n * loading · success · error. When the wait ends, the loader shows how it ended for `endDuration` ms, then disappears.\n * @default \"loading\"\n */\n status?: \"loading\" | \"success\" | \"error\";\n /** The words of a success (“Invoices loaded”) — passed translated. Default: nothing more than the check. */\n successLabel?: string;\n /** The words of a failure (“Could not load the invoices”) — passed translated. */\n errorLabel?: string;\n /** Between 0 and 1: a determinate wait — the trace grows to it and the percentage shows. */\n value?: number | null;\n /** The time left, in words (“About 20 s left”) — passed translated (`@krizaka/intl` formats durations). */\n eta?: string;\n /**\n * Milliseconds before anything shows: a wait shorter than this never flashes.\n * @default 250\n */\n delay?: number;\n /**\n * Once shown, the least milliseconds it stays: it never blinks.\n * @default 600\n */\n minDuration?: number;\n /**\n * Milliseconds the ending (check or cross) stays before the loader disappears; `0` never shows it, `Infinity` keeps it.\n * @default 1600\n */\n endDuration?: number;\n /**\n * inline (beside the content) · block (a region's centre) · overlay (over a `relative` parent, frosted) · page (the\n * whole screen).\n * @default \"inline\"\n */\n variant?: LoaderVariants[\"variant\"];\n /**\n * The product's mark in place of the Krizaka glyph while it waits — `<OrazakaLogo animated />` (or `ProductLogo`) of\n * `@krizaka/ui`; it takes the loader's size. The ending (check or cross) stays the glyph's. Decorative: leave `title` off.\n */\n mark?: React.ReactNode;\n}\n\n/**\n * A wait, from start to end. `role=\"status\"` (polite): its words are announced when it shows and when it ends. Under\n * prefers-reduced-motion the glyph rests on a still frame; the delay and the ending stay.\n */\nexport function Loader({\n label,\n status = \"loading\",\n successLabel,\n errorLabel,\n value,\n eta,\n delay = 250,\n minDuration = 600,\n endDuration = 1600,\n variant,\n mark,\n className,\n ...props\n}: LoaderProps) {\n const waiting = useDelayedWait(status === \"loading\", delay, minDuration);\n // Rendered already ended (a result to show), it shows its ending; otherwise only a wait that was seen ends visibly.\n const [ending, setEnding] = React.useState<\"success\" | \"error\" | null>(() => (status !== \"loading\" && endDuration > 0 ? status : null));\n const wasWaiting = React.useRef(false);\n React.useEffect(() => {\n if (!Number.isFinite(endDuration)) return;\n const hide = setTimeout(() => setEnding((e) => (wasWaiting.current ? e : null)), endDuration);\n return () => clearTimeout(hide);\n // Only the ending a loader was mounted with: later endings have their own timer below.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n React.useEffect(() => {\n if (waiting) {\n wasWaiting.current = true;\n return;\n }\n if (!wasWaiting.current || status === \"loading\") return;\n wasWaiting.current = false;\n const end = status;\n const show = setTimeout(() => setEnding(endDuration > 0 ? end : null), 0);\n const hide = Number.isFinite(endDuration) ? setTimeout(() => setEnding(null), endDuration) : undefined;\n return () => {\n clearTimeout(show);\n clearTimeout(hide);\n };\n }, [waiting, status, endDuration]);\n\n const phase = waiting ? \"loading\" : ending;\n const s = loader({ variant, ended: phase === \"success\" || phase === \"error\" ? phase : undefined });\n const known = phase === \"loading\" && typeof value === \"number\" && Number.isFinite(value);\n const words = phase === \"success\" ? (successLabel ?? label) : phase === \"error\" ? (errorLabel ?? label) : label;\n const detail = phase === \"loading\" ? [known ? `${Math.round(Math.min(1, Math.max(0, value)) * 100)} %` : null, eta].filter(Boolean).join(\" · \") : \"\";\n return (\n <div role=\"status\" aria-live=\"polite\" data-phase={phase ?? \"idle\"} className={s.root({ className })} {...props}>\n {phase && (\n <div className={s.box()}>\n {mark && phase === \"loading\" ? (\n <span aria-hidden className={s.mark()} data-mark=\"\">\n {mark}\n </span>\n ) : (\n <LoaderGlyph state={phase} value={known ? value : null} className={s.glyph()} />\n )}\n <span className={s.text()}>\n <span className={s.label()}>{words}</span>\n {detail && <span className={s.detail()}>{detail}</span>}\n </span>\n </div>\n )}\n </div>\n );\n}\n\nexport interface LoadingRegionProps extends React.ComponentProps<\"div\"> {\n /** Whether the content is on its way. */\n loading: boolean;\n /** What stands in while it loads: skeletons the shape of the content (no layout shift when it arrives). */\n skeleton: React.ReactNode;\n /** What is loading, in words — passed translated; announced when the wait shows. */\n label: string;\n /** The words when the wait grows long (“Still loading — the server is busy”) — passed translated. */\n slowLabel?: string;\n /**\n * Milliseconds of skeleton before the words of a long wait appear over it.\n * @default 4000\n */\n slowAfter?: number;\n /**\n * Milliseconds before the skeleton shows: a fast answer goes straight to the content.\n * @default 200\n */\n delay?: number;\n /**\n * Once shown, the least milliseconds the skeleton stays.\n * @default 500\n */\n minDuration?: number;\n}\n\n/**\n * A region that hands over: its content → (after `delay`) a skeleton of the same shape → (after `slowAfter`) words over\n * the skeleton → its content again, fading in. `aria-busy` while it waits; the wait is announced once.\n */\nexport function LoadingRegion({\n loading,\n skeleton,\n label,\n slowLabel,\n slowAfter = 4000,\n delay = 200,\n minDuration = 500,\n className,\n children,\n ...props\n}: LoadingRegionProps) {\n const waiting = useDelayedWait(loading, delay, minDuration);\n const slow = useDelayedWait(waiting && loading, slowAfter, 0);\n const busy = loading || waiting;\n return (\n <div aria-busy={busy} data-phase={waiting ? (slow ? \"slow\" : \"skeleton\") : busy ? \"pending\" : \"ready\"} className={[\"relative\", className].filter(Boolean).join(\" \")} {...props}>\n <span role=\"status\" className=\"sr-only\">\n {waiting ? (slow ? (slowLabel ?? label) : label) : \"\"}\n </span>\n {waiting ? (\n <div aria-hidden className=\"kz-fade\">\n {skeleton}\n </div>\n ) : busy ? (\n // Within the delay: the skeleton holds the place, invisible — nothing flashes, nothing jumps.\n <div aria-hidden className=\"invisible\">\n {skeleton}\n </div>\n ) : (\n <div className=\"kz-fade\">{children}</div>\n )}\n {waiting && slow && <Loader label={slowLabel ?? label} variant=\"overlay\" delay={0} minDuration={0} endDuration={0} aria-live=\"off\" role=\"presentation\" />}\n </div>\n );\n}\n"],"mappings":";;;;;;AAIA,YAAY,WAAW;AAC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AAK,GAAG,GAAI,GAAG,OACvK;AAAA,wBAAC,UAAK,MAAK,UAAS,WAAU,WAC3B,oBAAW,OAAQ,aAAa,QAAS,QAAS,IACrD;AAAA,IACC,UACC,oBAAC,SAAI,eAAW,MAAC,WAAU,WACxB,oBACH,IACE;AAAA;AAAA,MAEF,oBAAC,SAAI,eAAW,MAAC,WAAU,aACxB,oBACH;AAAA,QAEA,oBAAC,SAAI,WAAU,WAAW,UAAS;AAAA,IAEpC,WAAW,QAAQ,oBAAC,UAAO,OAAO,aAAa,OAAO,SAAQ,WAAU,OAAO,GAAG,aAAa,GAAG,aAAa,GAAG,aAAU,OAAM,MAAK,gBAAe;AAAA,KACzJ;AAEJ;","names":[]}
|
package/dist/mascot-quote.d.ts
CHANGED
package/dist/mascot-quote.js
CHANGED
package/dist/mascot-state.js
CHANGED
package/dist/mascots.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MascotBird, a as MascotMood, b as MascotTone } from './geometry-
|
|
2
|
-
export { c as MASCOT_BIRDS, d as MASCOT_MOODS } from './geometry-
|
|
1
|
+
import { M as MascotBird, a as MascotMood, b as MascotTone } from './geometry-DDlFDtiQ.js';
|
|
2
|
+
export { c as MASCOT_BIRDS, d as MASCOT_MOODS } from './geometry-DDlFDtiQ.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/mascots.js
CHANGED
package/dist/match-dialog.js
CHANGED
package/dist/media-grid.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ interface ShortsShelfProps<T> extends Omit<React.ComponentProps<"section">, "chi
|
|
|
69
69
|
/** A Shorts shelf: equal-height 9:16 cards in a snap-scrolling row. */
|
|
70
70
|
declare function ShortsShelf<T>({ label, title, hint, items, getId, renderItem, seeAll, previousLabel, nextLabel, className, ...props }: ShortsShelfProps<T>): React.JSX.Element | null;
|
|
71
71
|
|
|
72
|
+
/** A brand of the default avatars. `orochia`, `yasakia`, `yororis` and `kachizaka` are deprecated: paused products (2026-10-25), removed in the next major; their pictures stay served until then. */
|
|
72
73
|
type DefaultAvatarBrand = "krizaka" | "orazaka" | "orochia" | "yasakia" | "yororis" | "yomizaka" | "kachizaka" | "akinaza";
|
|
73
74
|
/** `person`: a neutral silhouette. `plain`: the brand's gradient alone, ready for initials. */
|
|
74
75
|
type DefaultAvatarKind = "person" | "plain";
|
package/dist/media-grid.js
CHANGED
package/dist/native.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import { StyleProp, ViewStyle, ViewProps, PressableProps, TextProps, ImageProps, TextInput, TextInputProps, Animated, NativeSyntheticEvent, NativeScrollEvent, TextStyle, RefreshControlProps, DimensionValue, ActivityIndicatorProps } from 'react-native';
|
|
4
4
|
import { Label, TagPreset, StatusTone, Marker as Marker$1, StatusSet } from '@krizaka/organize/contract';
|
|
5
5
|
|
|
6
|
+
/** A brand of the default avatars. `orochia`, `yasakia`, `yororis` and `kachizaka` are deprecated: paused products (2026-10-25), removed in the next major; their pictures stay served until then. */
|
|
6
7
|
type DefaultAvatarBrand = "krizaka" | "orazaka" | "orochia" | "yasakia" | "yororis" | "yomizaka" | "kachizaka" | "akinaza";
|
|
7
8
|
/** `person`: a neutral silhouette. `plain`: the brand's gradient alone, ready for initials. */
|
|
8
9
|
type DefaultAvatarKind = "person" | "plain";
|
|
@@ -21,7 +22,7 @@ interface DefaultAvatar {
|
|
|
21
22
|
kind?: DefaultAvatarKind;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
|
-
* The URL of a default avatar: `defaultAvatarUrl({ brand: "
|
|
25
|
+
* The URL of a default avatar: `defaultAvatarUrl({ brand: "orazaka", seed: user.id })`.
|
|
25
26
|
* @param size 256 for lists, 512 for a profile; `"svg"` for the vector.
|
|
26
27
|
* @param base Another host or version of the set (a self-hosted copy); the default is the Krizaka CDN.
|
|
27
28
|
*/
|
|
@@ -80,6 +81,10 @@ declare const addDays: (iso: string, days: number) => string;
|
|
|
80
81
|
/** The ISO date `months` later (or earlier), the day kept inside the shorter months (`01-31` + 1 → `02-28`). */
|
|
81
82
|
declare const addMonths: (iso: string, months: number) => string;
|
|
82
83
|
|
|
84
|
+
/**
|
|
85
|
+
* A Krizaka brand. `orochia`, `yasakia`, `yororis` and `kachizaka` are paused products, kept so nothing published
|
|
86
|
+
* breaks — see `PausedBrandId`.
|
|
87
|
+
*/
|
|
83
88
|
type BrandId = "krizaka" | "orazaka" | "orochia" | "yasakia" | "yororis" | "yomizaka" | "kachizaka" | "akinaza";
|
|
84
89
|
|
|
85
90
|
type Controlled = {
|
|
@@ -975,6 +980,23 @@ type EmptyStateProps = Omit<ViewProps, "children"> & {
|
|
|
975
980
|
/** What a list, a search or a screen says when it has nothing to show — every word is a prop. */
|
|
976
981
|
declare function EmptyState({ icon, title, description, action, style, ...props }: EmptyStateProps): React$1.JSX.Element;
|
|
977
982
|
|
|
983
|
+
type EnvironmentNoticeProps = Omit<ViewProps, "children"> & {
|
|
984
|
+
/** The deployment's stage, read once by the app. `production` (or `prod`) renders nothing. */
|
|
985
|
+
stage: string | null | undefined;
|
|
986
|
+
/** The headline (« Development version »): the region's accessible name. Passed translated. */
|
|
987
|
+
title: string;
|
|
988
|
+
/** The line (« Data can be reset at any time. Not a commercial offer. »). Passed translated. */
|
|
989
|
+
message: string;
|
|
990
|
+
/** An optional way to learn more; the app opens it in `onLinkPress`. */
|
|
991
|
+
link?: {
|
|
992
|
+
label: string;
|
|
993
|
+
};
|
|
994
|
+
/** Called when the link is pressed: the app opens the address. */
|
|
995
|
+
onLinkPress?: () => void;
|
|
996
|
+
};
|
|
997
|
+
/** The web `EnvironmentNotice` on React Native. */
|
|
998
|
+
declare function EnvironmentNotice({ stage, title, message, link, onLinkPress, style, ...props }: EnvironmentNoticeProps): React$1.JSX.Element | null;
|
|
999
|
+
|
|
978
1000
|
type FabProps = {
|
|
979
1001
|
/** The action in words (“New challenge”) — passed translated: the accessible name, and shown when `extended`. */
|
|
980
1002
|
label: string;
|
|
@@ -1137,6 +1159,8 @@ declare function prefetchNeighbours(images: readonly ViewerImage[], index: numbe
|
|
|
1137
1159
|
* The Kachizaka mark for React Native — the geometry of the web mark (marks/kachizaka-geometry.ts), "the podium": three
|
|
1138
1160
|
* steps, the winner in gold, the others in cobalt, under a gold diamond. The orbit and the ball turn, the diamond
|
|
1139
1161
|
* breathes; still when the system reduces motion.
|
|
1162
|
+
*
|
|
1163
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
1140
1164
|
*/
|
|
1141
1165
|
declare function KachizakaMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
|
|
1142
1166
|
|
|
@@ -1326,7 +1350,7 @@ type LoaderProps = {
|
|
|
1326
1350
|
/** inline (default) · block (a region's centre) · overlay (over its parent, frosted) · page (the whole screen). */
|
|
1327
1351
|
variant?: "inline" | "block" | "overlay" | "page";
|
|
1328
1352
|
/**
|
|
1329
|
-
* The product whose animated mark waits in place of the Krizaka glyph (`
|
|
1353
|
+
* The product whose animated mark waits in place of the Krizaka glyph (`orazaka`, `yomizaka`, `akinaza`,
|
|
1330
1354
|
* `krizaka`). Still when the system reduces motion; the ending stays the check or the cross.
|
|
1331
1355
|
*/
|
|
1332
1356
|
product?: BrandId;
|
|
@@ -1359,14 +1383,13 @@ declare function MaintenanceScreen({ title, message, mark, retryLabel, onRetry,
|
|
|
1359
1383
|
* The Krizaka flock — the geometry of the mascots, drawn by the web `Mascot` (`./mascot.tsx`) and the native one
|
|
1360
1384
|
* (`../native/mascots.tsx`). Five birds that have carried the Krizaka story since the first site (the sentry falcon,
|
|
1361
1385
|
* the owl that reads, the developer duck, the flamingo that answers, the carrier pigeon), the lovebird that
|
|
1362
|
-
* introduces (
|
|
1363
|
-
* "la
|
|
1364
|
-
* beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
1386
|
+
* introduces ("l'inséparable présente") and the crane that listens ("la grue écoute"), the magpie that keeps the
|
|
1387
|
+
* score ("la pie compte les points") and the beaver that builds the shop (2026-10, with Akinaza: "le castor artisan" — the one figure of the flock without
|
|
1365
1388
|
* feathers: its paws are drawn as wings, its paddle tail behind it), redrawn on one 120 × 120 grid so that any figure
|
|
1366
1389
|
* can wear any mood.
|
|
1367
1390
|
*
|
|
1368
1391
|
* Colours are roles, never fixed: `brand` (the default) paints a bird in the host's accent (`--kz-accent`,
|
|
1369
|
-
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and
|
|
1392
|
+
* `--kz-accent-2`), so the same falcon is blue on krizaka.com, orange in Orazaka and indigo in Yomizaka; `own` gives
|
|
1370
1393
|
* each bird the signature palette it has in the Krizaka story (the brand layer's exception, like the marks). Shades
|
|
1371
1394
|
* and highlights are black and white at a low opacity over the role, so they hold in both themes.
|
|
1372
1395
|
*/
|
|
@@ -1592,6 +1615,8 @@ declare function OrazakaMark({ size, animated, title, neutral }: NativeMarkProps
|
|
|
1592
1615
|
* The Orochia mark for React Native — the same geometry as the web mark (marks/orochia-geometry.ts), drawn with
|
|
1593
1616
|
* react-native-svg. Three layers so that the motion runs on the native driver: the orbit turns, the eye and the flame
|
|
1594
1617
|
* breathe, the serpent stays still.
|
|
1618
|
+
*
|
|
1619
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
1595
1620
|
*/
|
|
1596
1621
|
declare function OrochiaMark({ size, animated, title, neutral: neutralProp }: NativeMarkProps): React__default.JSX.Element;
|
|
1597
1622
|
|
|
@@ -1677,7 +1702,7 @@ type PermissionPromptProps = {
|
|
|
1677
1702
|
settingsLabel?: string;
|
|
1678
1703
|
/** Opens the app's settings (`Linking.openSettings()`). */
|
|
1679
1704
|
onOpenSettings?: () => void;
|
|
1680
|
-
/** The words when it is blocked (“The camera is off for
|
|
1705
|
+
/** The words when it is blocked (“The camera is off for this app. Turn it on in the settings.”). */
|
|
1681
1706
|
blockedDescription?: string;
|
|
1682
1707
|
/** A secondary way out (“Not now”), with `onDismiss`. */
|
|
1683
1708
|
dismissLabel?: string;
|
|
@@ -2167,7 +2192,7 @@ type SplashHandoffProps = {
|
|
|
2167
2192
|
size?: number;
|
|
2168
2193
|
/** The background. Default: the theme's page colour, the one `app.json` gives the native splash. */
|
|
2169
2194
|
background?: string;
|
|
2170
|
-
/** The words a screen reader hears while it waits (“
|
|
2195
|
+
/** The words a screen reader hears while it waits (“Orazaka is opening”) — passed translated. */
|
|
2171
2196
|
label: string;
|
|
2172
2197
|
/** The dissolve, in milliseconds. Default 320; none under reduced motion. */
|
|
2173
2198
|
duration?: number;
|
|
@@ -2854,6 +2879,8 @@ declare function Wheel({ label, options, value: valueProp, defaultValue, onValue
|
|
|
2854
2879
|
* The Yasakia mark for React Native — the geometry of the web mark (marks/yasakia-geometry.ts), "one conversation":
|
|
2855
2880
|
* one speech bubble with a tail on each side and the spark inside. The orbit and its node turn, the spark breathes;
|
|
2856
2881
|
* still when the system reduces motion.
|
|
2882
|
+
*
|
|
2883
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
2857
2884
|
*/
|
|
2858
2885
|
declare function YasakiaMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
|
|
2859
2886
|
/** @deprecated Yazakia was renamed Yasakia (2026-10): use `YasakiaMark`. Kept for one minor version. */
|
|
@@ -2869,8 +2896,10 @@ declare function YomizakaMark({ size, animated, title, neutral }: NativeMarkProp
|
|
|
2869
2896
|
* The Yororis mark for React Native — the geometry of the web mark (marks/yororis-geometry.ts), "held": two sage arcs,
|
|
2870
2897
|
* open hands, cup a warm sand core. The orbit and the moment turn, the core breathes; still when the system reduces
|
|
2871
2898
|
* motion.
|
|
2899
|
+
*
|
|
2900
|
+
* @deprecated Paused product (2026-10-25); removed in the next major.
|
|
2872
2901
|
*/
|
|
2873
2902
|
declare function YororisMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
|
|
2874
2903
|
|
|
2875
|
-
export { ActionSheet, ActivityFeed, AkinazaMark, AppHeader, AppHeaderCount, AppHeaderSearch, Avatar, AvatarGroup, AvatarRoot, Badge, BrandedRefresh, Button, Calendar, Card, CardBody, CardDescription, CardFooter, CardImage, CardMedia, CardOverlay, CardRoot, CardTitle, Checkbox, Chip, Combobox, ComposerMeta, ConversationItem, Countdown, DateField, DateWheel, DayStrip, DescriptionList, EmptyState, ErrorState, Fab, ForceUpdateScreen, GoalGauge, Header, IconButton, ImageViewer, KachizakaMark, KrizakaMark, Loader, LoaderGlyph, LoadingState, MaintenanceScreen, MarkerPicker, Mascot, MascotState, MatchDialog, MessageBubble, MessageComposer, MetaRow, Meter, MonthPicker, NumberTicker, Onboarding, OrazakaMark, OrochiaMark, OtpInput, Pagination, PermissionPrompt, PersonCard, Phoenix, PhotoGrid, ProductMark, ProfileBanner, ProfileCard, Progress, PullToRefresh, RadioGroup, Screen, SearchField, Segmented, Select, SettingsGroup, SettingsRow, Sheet, Showcase, Skeleton, Slider, Spinner, SplashHandoff, StatusChip, StatusSetEditor, StepProgress, Stepper, SuccessState, SwipeDeck, SwipeableRow, Switch, TAG_MARKERS, TabBar, Tabs, TagChip, TagMarker, TagSelector, TagSetEditor, TextField, ThemeProvider, TimePicker, Toaster, Txt, TypingIndicator, UpdatePrompt, VerifiedBadge, Waveform, WelcomeState, Wheel, WheelDivider, WheelPicker, YasakiaMark, YazakiaMark, YomizakaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, comboboxLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, defaultAvatarUrl, formatTime, isRealDate, latestBirthDate, monthNames, prefetchNeighbours, showcaseLabels, splitDuration, statusSetEditorLabels, tagSetEditorLabels, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCollapsingHeader, useCountdown, useDelayedWait, useReducedMotion, useTheme, uses12Hours };
|
|
2876
|
-
export type { ActionSheetAction, ActionSheetProps, ActivityEvent, ActivityFeedLabels, ActivityFeedProps, ActivityTone, AppHeaderCountProps, AppHeaderProps, AppHeaderSearchProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeTone, BrandId, BrandedRefreshProps, BrandedRefreshScrollProps, ButtonProps, ButtonSize, ButtonVariant, CalendarLabels, CalendarProps, CardBodyProps, CardImageProps, CardMediaProps, CardOverlayProps, CardRootProps, CheckboxProps, ChipGroupProps, ChipProps, ChipSize, ComboboxLabels, ComboboxProps, ComposerMetaProps, ConversationItemProps, CountdownProps, CountdownUnits, DateFieldLabels, DateFieldProps, DatePart, DateWheelProps, DayStripProps, DefaultAvatar, DefaultAvatarBrand, DescriptionItem, DescriptionListProps, EditorRole, EmptyStateProps, FabProps, ForceUpdateScreenProps, GoalGaugeProps, GridPhoto, HapticKind, HeaderProps, IconButtonProps, ImageViewerProps, Insets, LoaderGlyphProps, LoaderProps, MaintenanceScreenProps, Marker, MarkerPickerProps, MarkerShape, MascotProps, MascotStateProps, MatchDialogProps, MessageBubbleLabels, MessageBubbleProps, MessageComposerProps, MessageStatus, MetaRowProps, MeterPart, MeterProps, Mode, MonthPickerProps, Motion, NativeMarkProps, NumberTickerProps, OnboardingProps, OnboardingSlide, OtpInputProps, PaginationLabels, PaginationProps, PermissionPromptProps, PermissionStatus, PersonCardProps, PhoenixProps, PhotoGridLabels, PhotoGridProps, ProfileBannerProps, ProfileCardProps, ProfileStat, ProgressProps, PullToRefreshProps, RadioGroupProps, RadioOption, Radius, ScreenProps, SearchFieldProps, SegmentedOption, SegmentedProps, SelectOption, SelectProps, SettingsGroupProps, SettingsRowProps, SheetProps, ShowcaseLabels, ShowcaseProps, SkeletonProps, SliderProps, SliderValue, SpinnerProps, SplashHandoffProps, StatusChipProps, StatusMoveOption, StatusSetEditorLabels, StatusSetEditorProps, Step, StepProgressProps, StepStatus, StepperProps, SwipeAction, SwipeDeckLabels, SwipeDeckProps, SwipeDirection, SwipeableRowProps, SwitchProps, TabBarItem, TabBarProps, TabItem, TabsHue, TabsProps, TagChipProps, TagMarkerProps, TagOption, TagSelectorProps, TagSetEditorLabels, TagSetEditorProps, TagSetValue, TextFieldProps, Theme, ThemeContextValue, ThemeFonts, ThemeName, ThemeOverrides, ThemeProviderProps, TimePickerLabels, TimePickerProps, TimeValue, ToastItem, ToastOptions, ToastTone, ToasterProps, TxtProps, TxtTone, TxtVariant, TypingIndicatorProps, UpdatePromptProps, VerifiedBadgeProps, ViewerImage, WaveformProps, WheelOption, WheelPickerProps, WheelProps };
|
|
2904
|
+
export { ActionSheet, ActivityFeed, AkinazaMark, AppHeader, AppHeaderCount, AppHeaderSearch, Avatar, AvatarGroup, AvatarRoot, Badge, BrandedRefresh, Button, Calendar, Card, CardBody, CardDescription, CardFooter, CardImage, CardMedia, CardOverlay, CardRoot, CardTitle, Checkbox, Chip, Combobox, ComposerMeta, ConversationItem, Countdown, DateField, DateWheel, DayStrip, DescriptionList, EmptyState, EnvironmentNotice, ErrorState, Fab, ForceUpdateScreen, GoalGauge, Header, IconButton, ImageViewer, KachizakaMark, KrizakaMark, Loader, LoaderGlyph, LoadingState, MaintenanceScreen, MarkerPicker, Mascot, MascotState, MatchDialog, MessageBubble, MessageComposer, MetaRow, Meter, MonthPicker, NumberTicker, Onboarding, OrazakaMark, OrochiaMark, OtpInput, Pagination, PermissionPrompt, PersonCard, Phoenix, PhotoGrid, ProductMark, ProfileBanner, ProfileCard, Progress, PullToRefresh, RadioGroup, Screen, SearchField, Segmented, Select, SettingsGroup, SettingsRow, Sheet, Showcase, Skeleton, Slider, Spinner, SplashHandoff, StatusChip, StatusSetEditor, StepProgress, Stepper, SuccessState, SwipeDeck, SwipeableRow, Switch, TAG_MARKERS, TabBar, Tabs, TagChip, TagMarker, TagSelector, TagSetEditor, TextField, ThemeProvider, TimePicker, Toaster, Txt, TypingIndicator, UpdatePrompt, VerifiedBadge, Waveform, WelcomeState, Wheel, WheelDivider, WheelPicker, YasakiaMark, YazakiaMark, YomizakaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, comboboxLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, defaultAvatarUrl, formatTime, isRealDate, latestBirthDate, monthNames, prefetchNeighbours, showcaseLabels, splitDuration, statusSetEditorLabels, tagSetEditorLabels, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCollapsingHeader, useCountdown, useDelayedWait, useReducedMotion, useTheme, uses12Hours };
|
|
2905
|
+
export type { ActionSheetAction, ActionSheetProps, ActivityEvent, ActivityFeedLabels, ActivityFeedProps, ActivityTone, AppHeaderCountProps, AppHeaderProps, AppHeaderSearchProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeTone, BrandId, BrandedRefreshProps, BrandedRefreshScrollProps, ButtonProps, ButtonSize, ButtonVariant, CalendarLabels, CalendarProps, CardBodyProps, CardImageProps, CardMediaProps, CardOverlayProps, CardRootProps, CheckboxProps, ChipGroupProps, ChipProps, ChipSize, ComboboxLabels, ComboboxProps, ComposerMetaProps, ConversationItemProps, CountdownProps, CountdownUnits, DateFieldLabels, DateFieldProps, DatePart, DateWheelProps, DayStripProps, DefaultAvatar, DefaultAvatarBrand, DescriptionItem, DescriptionListProps, EditorRole, EmptyStateProps, EnvironmentNoticeProps, FabProps, ForceUpdateScreenProps, GoalGaugeProps, GridPhoto, HapticKind, HeaderProps, IconButtonProps, ImageViewerProps, Insets, LoaderGlyphProps, LoaderProps, MaintenanceScreenProps, Marker, MarkerPickerProps, MarkerShape, MascotProps, MascotStateProps, MatchDialogProps, MessageBubbleLabels, MessageBubbleProps, MessageComposerProps, MessageStatus, MetaRowProps, MeterPart, MeterProps, Mode, MonthPickerProps, Motion, NativeMarkProps, NumberTickerProps, OnboardingProps, OnboardingSlide, OtpInputProps, PaginationLabels, PaginationProps, PermissionPromptProps, PermissionStatus, PersonCardProps, PhoenixProps, PhotoGridLabels, PhotoGridProps, ProfileBannerProps, ProfileCardProps, ProfileStat, ProgressProps, PullToRefreshProps, RadioGroupProps, RadioOption, Radius, ScreenProps, SearchFieldProps, SegmentedOption, SegmentedProps, SelectOption, SelectProps, SettingsGroupProps, SettingsRowProps, SheetProps, ShowcaseLabels, ShowcaseProps, SkeletonProps, SliderProps, SliderValue, SpinnerProps, SplashHandoffProps, StatusChipProps, StatusMoveOption, StatusSetEditorLabels, StatusSetEditorProps, Step, StepProgressProps, StepStatus, StepperProps, SwipeAction, SwipeDeckLabels, SwipeDeckProps, SwipeDirection, SwipeableRowProps, SwitchProps, TabBarItem, TabBarProps, TabItem, TabsHue, TabsProps, TagChipProps, TagMarkerProps, TagOption, TagSelectorProps, TagSetEditorLabels, TagSetEditorProps, TagSetValue, TextFieldProps, Theme, ThemeContextValue, ThemeFonts, ThemeName, ThemeOverrides, ThemeProviderProps, TimePickerLabels, TimePickerProps, TimeValue, ToastItem, ToastOptions, ToastTone, ToasterProps, TxtProps, TxtTone, TxtVariant, TypingIndicatorProps, UpdatePromptProps, VerifiedBadgeProps, ViewerImage, WaveformProps, WheelOption, WheelPickerProps, WheelProps };
|