@krizaka/ui 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/activity-feed.d.ts +199 -0
- package/dist/activity-feed.js +155 -0
- package/dist/activity-feed.js.map +1 -0
- package/dist/argument-card.js +3 -3
- package/dist/{chunk-I5RVM5CW.js → chunk-2FRWNSRO.js} +2 -6
- package/dist/chunk-2FRWNSRO.js.map +1 -0
- package/dist/chunk-7Z4KHPFC.js +42 -0
- package/dist/chunk-7Z4KHPFC.js.map +1 -0
- package/dist/chunk-BTMFZ66D.js +135 -0
- package/dist/chunk-BTMFZ66D.js.map +1 -0
- package/dist/chunk-C2BRIFJG.js +13 -0
- package/dist/chunk-C2BRIFJG.js.map +1 -0
- package/dist/chunk-KDXRYUD3.js +39 -0
- package/dist/chunk-KDXRYUD3.js.map +1 -0
- package/dist/{chunk-2PUDI7JS.js → chunk-ZKVQGXLD.js} +5 -3
- package/dist/{chunk-2PUDI7JS.js.map → chunk-ZKVQGXLD.js.map} +1 -1
- package/dist/command.js +1 -1
- package/dist/confirm-button.js +1 -1
- package/dist/data-table.js +101 -133
- package/dist/data-table.js.map +1 -1
- package/dist/date-picker.d.ts +3 -1
- package/dist/date-picker.js +13 -13
- package/dist/date-picker.js.map +1 -1
- package/dist/description-list.d.ts +105 -0
- package/dist/description-list.js +49 -0
- package/dist/description-list.js.map +1 -0
- package/dist/dropdown-menu.js +1 -1
- package/dist/filter-bar.js +3 -2
- package/dist/form.d.ts +23 -12
- package/dist/form.js +11 -47
- package/dist/form.js.map +1 -1
- package/dist/glow-card.js +1 -1
- package/dist/image-cropper.js +3 -1
- package/dist/image-cropper.js.map +1 -1
- package/dist/index.js +13 -66
- package/dist/index.js.map +1 -1
- package/dist/kanban.d.ts +132 -0
- package/dist/kanban.js +187 -0
- package/dist/kanban.js.map +1 -0
- package/dist/list.d.ts +153 -0
- package/dist/list.js +130 -0
- package/dist/list.js.map +1 -0
- package/dist/map.d.ts +463 -0
- package/dist/map.js +952 -0
- package/dist/map.js.map +1 -0
- package/dist/marquee.js +1 -1
- package/dist/motion.css +12 -1
- package/dist/native/form.d.ts +60 -15
- package/dist/native/form.js +103 -42
- package/dist/native/form.js.map +1 -1
- package/dist/native/map.d.ts +200 -0
- package/dist/native/map.js +673 -0
- package/dist/native/map.js.map +1 -0
- package/dist/native/media-picker.d.ts +58 -0
- package/dist/native/media-picker.js +63 -0
- package/dist/native/media-picker.js.map +1 -0
- package/dist/native.d.ts +772 -6
- package/dist/native.js +2493 -741
- package/dist/native.js.map +1 -1
- package/dist/nav-bar.js +1 -1
- package/dist/page-hero.js +3 -3
- package/dist/popover.js +1 -1
- package/dist/radio-group.d.ts +66 -32
- package/dist/radio-group.js +54 -10
- package/dist/radio-group.js.map +1 -1
- package/dist/slider.d.ts +96 -35
- package/dist/slider.js +67 -13
- package/dist/slider.js.map +1 -1
- package/dist/stat.d.ts +31 -2
- package/dist/stat.js +21 -4
- package/dist/stat.js.map +1 -1
- package/dist/terminal-replay.js +34 -60
- package/dist/terminal-replay.js.map +1 -1
- package/dist/toast.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tree-view.d.ts +111 -0
- package/dist/tree-view.js +154 -0
- package/dist/tree-view.js.map +1 -0
- package/dist/video-player.js +3 -1
- package/dist/video-player.js.map +1 -1
- package/package.json +148 -11
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/action-sheet.json +121 -0
- package/registry/activity-feed.json +468 -0
- package/registry/alert.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +58 -3
- package/registry/badge.json +1 -1
- package/registry/button.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +226 -4
- package/registry/command.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +1 -1
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +18 -4
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +232 -0
- package/registry/detail-layout.json +1 -1
- package/registry/dialog.json +75 -4
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/empty-state.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/action-sheet/native/video-actions.d.ts +4 -0
- package/registry/examples/action-sheet/native/video-actions.dark.png +0 -0
- package/registry/examples/action-sheet/native/video-actions.js +30 -0
- package/registry/examples/action-sheet/native/video-actions.light.png +0 -0
- package/registry/examples/action-sheet/native/video-actions.tsx +24 -0
- package/registry/examples/activity-feed/job-activity.d.ts +4 -0
- package/registry/examples/activity-feed/job-activity.js +21 -0
- package/registry/examples/activity-feed/job-activity.tsx +17 -0
- package/registry/examples/activity-feed/live.d.ts +4 -0
- package/registry/examples/activity-feed/live.js +23 -0
- package/registry/examples/activity-feed/live.tsx +24 -0
- package/registry/examples/activity-feed/native/notifications.d.ts +4 -0
- package/registry/examples/activity-feed/native/notifications.dark.png +0 -0
- package/registry/examples/activity-feed/native/notifications.js +18 -0
- package/registry/examples/activity-feed/native/notifications.light.png +0 -0
- package/registry/examples/activity-feed/native/notifications.tsx +18 -0
- package/registry/examples/activity-feed/timeline.d.ts +4 -0
- package/registry/examples/activity-feed/timeline.js +25 -0
- package/registry/examples/activity-feed/timeline.tsx +19 -0
- package/registry/examples/avatar/native/presence.d.ts +4 -0
- package/registry/examples/avatar/native/presence.dark.png +0 -0
- package/registry/examples/avatar/native/presence.js +18 -0
- package/registry/examples/avatar/native/presence.light.png +0 -0
- package/registry/examples/avatar/native/presence.tsx +15 -0
- package/registry/examples/combobox/native/multiple.d.ts +4 -0
- package/registry/examples/combobox/native/multiple.dark.png +0 -0
- package/registry/examples/combobox/native/multiple.js +15 -0
- package/registry/examples/combobox/native/multiple.light.png +0 -0
- package/registry/examples/combobox/native/multiple.tsx +15 -0
- package/registry/examples/combobox/native/search.d.ts +4 -0
- package/registry/examples/combobox/native/search.dark.png +0 -0
- package/registry/examples/combobox/native/search.js +15 -0
- package/registry/examples/combobox/native/search.light.png +0 -0
- package/registry/examples/combobox/native/search.tsx +15 -0
- package/registry/examples/description-list/job-details.d.ts +4 -0
- package/registry/examples/description-list/job-details.js +23 -0
- package/registry/examples/description-list/job-details.tsx +17 -0
- package/registry/examples/description-list/key-value-grid.d.ts +4 -0
- package/registry/examples/description-list/key-value-grid.js +22 -0
- package/registry/examples/description-list/key-value-grid.tsx +16 -0
- package/registry/examples/description-list/native/job-details.d.ts +4 -0
- package/registry/examples/description-list/native/job-details.dark.png +0 -0
- package/registry/examples/description-list/native/job-details.js +33 -0
- package/registry/examples/description-list/native/job-details.light.png +0 -0
- package/registry/examples/description-list/native/job-details.tsx +24 -0
- package/registry/examples/description-list/receipt.d.ts +4 -0
- package/registry/examples/description-list/receipt.js +23 -0
- package/registry/examples/description-list/receipt.tsx +17 -0
- package/registry/examples/dialog/native/sheet.d.ts +4 -0
- package/registry/examples/dialog/native/sheet.dark.png +0 -0
- package/registry/examples/dialog/native/sheet.js +21 -0
- package/registry/examples/dialog/native/sheet.light.png +0 -0
- package/registry/examples/dialog/native/sheet.tsx +18 -0
- package/registry/examples/fab/native/extended.d.ts +4 -0
- package/registry/examples/fab/native/extended.dark.png +0 -0
- package/registry/examples/fab/native/extended.js +18 -0
- package/registry/examples/fab/native/extended.light.png +0 -0
- package/registry/examples/fab/native/extended.tsx +23 -0
- package/registry/examples/field/native/select.d.ts +4 -0
- package/registry/examples/field/native/select.dark.png +0 -0
- package/registry/examples/field/native/select.js +29 -0
- package/registry/examples/field/native/select.light.png +0 -0
- package/registry/examples/field/native/select.tsx +25 -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/header/native/large-title.d.ts +4 -0
- package/registry/examples/header/native/large-title.dark.png +0 -0
- package/registry/examples/header/native/large-title.js +23 -0
- package/registry/examples/header/native/large-title.light.png +0 -0
- package/registry/examples/header/native/large-title.tsx +31 -0
- package/registry/examples/image-viewer/native/gallery.d.ts +4 -0
- package/registry/examples/image-viewer/native/gallery.dark.png +0 -0
- package/registry/examples/image-viewer/native/gallery.js +22 -0
- package/registry/examples/image-viewer/native/gallery.light.png +0 -0
- package/registry/examples/image-viewer/native/gallery.tsx +21 -0
- package/registry/examples/kanban/moderation.d.ts +4 -0
- package/registry/examples/kanban/moderation.js +35 -0
- package/registry/examples/kanban/moderation.tsx +37 -0
- package/registry/examples/list/jobs.d.ts +4 -0
- package/registry/examples/list/jobs.js +35 -0
- package/registry/examples/list/jobs.tsx +33 -0
- package/registry/examples/list/selectable.d.ts +4 -0
- package/registry/examples/list/selectable.js +33 -0
- package/registry/examples/list/selectable.tsx +30 -0
- package/registry/examples/list/virtualized.d.ts +4 -0
- package/registry/examples/list/virtualized.js +22 -0
- package/registry/examples/list/virtualized.tsx +17 -0
- package/registry/examples/loader/native/block.d.ts +4 -0
- package/registry/examples/loader/native/block.dark.png +0 -0
- package/registry/examples/loader/native/block.js +12 -0
- package/registry/examples/loader/native/block.light.png +0 -0
- package/registry/examples/loader/native/block.tsx +11 -0
- package/registry/examples/loader/native/job-wait.d.ts +4 -0
- package/registry/examples/loader/native/job-wait.dark.png +0 -0
- package/registry/examples/loader/native/job-wait.js +17 -0
- package/registry/examples/loader/native/job-wait.light.png +0 -0
- package/registry/examples/loader/native/job-wait.tsx +14 -0
- package/registry/examples/map/cluster.d.ts +4 -0
- package/registry/examples/map/cluster.js +16 -0
- package/registry/examples/map/cluster.tsx +18 -0
- package/registry/examples/map/location-picker.d.ts +4 -0
- package/registry/examples/map/location-picker.js +24 -0
- package/registry/examples/map/location-picker.tsx +22 -0
- package/registry/examples/map/native/location-picker.d.ts +4 -0
- package/registry/examples/map/native/location-picker.dark.png +0 -0
- package/registry/examples/map/native/location-picker.js +14 -0
- package/registry/examples/map/native/location-picker.light.png +0 -0
- package/registry/examples/map/native/location-picker.tsx +13 -0
- package/registry/examples/map/native/places.d.ts +4 -0
- package/registry/examples/map/native/places.dark.png +0 -0
- package/registry/examples/map/native/places.js +25 -0
- package/registry/examples/map/native/places.light.png +0 -0
- package/registry/examples/map/native/places.tsx +27 -0
- package/registry/examples/map/places.d.ts +4 -0
- package/registry/examples/map/places.js +28 -0
- package/registry/examples/map/places.tsx +28 -0
- package/registry/examples/map/static.d.ts +4 -0
- package/registry/examples/map/static.js +22 -0
- package/registry/examples/map/static.tsx +18 -0
- package/registry/examples/media-picker/native/story.d.ts +4 -0
- package/registry/examples/media-picker/native/story.dark.png +0 -0
- package/registry/examples/media-picker/native/story.js +30 -0
- package/registry/examples/media-picker/native/story.light.png +0 -0
- package/registry/examples/media-picker/native/story.tsx +26 -0
- package/registry/examples/meter/native/credits.d.ts +4 -0
- package/registry/examples/meter/native/credits.dark.png +0 -0
- package/registry/examples/meter/native/credits.js +15 -0
- package/registry/examples/meter/native/credits.light.png +0 -0
- package/registry/examples/meter/native/credits.tsx +12 -0
- package/registry/examples/meter/native/split-ring.d.ts +4 -0
- package/registry/examples/meter/native/split-ring.dark.png +0 -0
- package/registry/examples/meter/native/split-ring.js +24 -0
- package/registry/examples/meter/native/split-ring.light.png +0 -0
- package/registry/examples/meter/native/split-ring.tsx +19 -0
- package/registry/examples/number-ticker/native/balance.d.ts +4 -0
- package/registry/examples/number-ticker/native/balance.dark.png +0 -0
- package/registry/examples/number-ticker/native/balance.js +18 -0
- package/registry/examples/number-ticker/native/balance.light.png +0 -0
- package/registry/examples/number-ticker/native/balance.tsx +17 -0
- package/registry/examples/onboarding/native/first-launch.d.ts +4 -0
- package/registry/examples/onboarding/native/first-launch.dark.png +0 -0
- package/registry/examples/onboarding/native/first-launch.js +23 -0
- package/registry/examples/onboarding/native/first-launch.light.png +0 -0
- package/registry/examples/onboarding/native/first-launch.tsx +19 -0
- package/registry/examples/otp-input/native/invalid.d.ts +4 -0
- package/registry/examples/otp-input/native/invalid.dark.png +0 -0
- package/registry/examples/otp-input/native/invalid.js +15 -0
- package/registry/examples/otp-input/native/invalid.light.png +0 -0
- package/registry/examples/otp-input/native/invalid.tsx +14 -0
- package/registry/examples/otp-input/native/verify.d.ts +4 -0
- package/registry/examples/otp-input/native/verify.dark.png +0 -0
- package/registry/examples/otp-input/native/verify.js +17 -0
- package/registry/examples/otp-input/native/verify.light.png +0 -0
- package/registry/examples/otp-input/native/verify.tsx +14 -0
- package/registry/examples/permission-prompt/native/blocked.d.ts +4 -0
- package/registry/examples/permission-prompt/native/blocked.dark.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.js +25 -0
- package/registry/examples/permission-prompt/native/blocked.light.png +0 -0
- package/registry/examples/permission-prompt/native/blocked.tsx +21 -0
- package/registry/examples/permission-prompt/native/camera.d.ts +4 -0
- package/registry/examples/permission-prompt/native/camera.dark.png +0 -0
- package/registry/examples/permission-prompt/native/camera.js +25 -0
- package/registry/examples/permission-prompt/native/camera.light.png +0 -0
- package/registry/examples/permission-prompt/native/camera.tsx +21 -0
- package/registry/examples/pull-to-refresh/native/feed.d.ts +4 -0
- package/registry/examples/pull-to-refresh/native/feed.dark.png +0 -0
- package/registry/examples/pull-to-refresh/native/feed.js +14 -0
- package/registry/examples/pull-to-refresh/native/feed.light.png +0 -0
- package/registry/examples/pull-to-refresh/native/feed.tsx +19 -0
- package/registry/examples/radio-group/buttons.d.ts +4 -0
- package/registry/examples/radio-group/buttons.js +17 -0
- package/registry/examples/radio-group/buttons.tsx +21 -0
- package/registry/examples/radio-group/cards.js +1 -1
- package/registry/examples/radio-group/cards.tsx +2 -2
- package/registry/examples/radio-group/native/buttons.d.ts +4 -0
- package/registry/examples/radio-group/native/buttons.dark.png +0 -0
- package/registry/examples/radio-group/native/buttons.js +25 -0
- package/registry/examples/radio-group/native/buttons.light.png +0 -0
- package/registry/examples/radio-group/native/buttons.tsx +21 -0
- package/registry/examples/radio-group/native/cards.d.ts +4 -0
- package/registry/examples/radio-group/native/cards.dark.png +0 -0
- package/registry/examples/radio-group/native/cards.js +23 -0
- package/registry/examples/radio-group/native/cards.light.png +0 -0
- package/registry/examples/radio-group/native/cards.tsx +19 -0
- package/registry/examples/radio-group/native/list.d.ts +4 -0
- package/registry/examples/radio-group/native/list.dark.png +0 -0
- package/registry/examples/radio-group/native/list.js +24 -0
- package/registry/examples/radio-group/native/list.light.png +0 -0
- package/registry/examples/radio-group/native/list.tsx +20 -0
- package/registry/examples/radio-group/native/segmented.d.ts +4 -0
- package/registry/examples/radio-group/native/segmented.dark.png +0 -0
- package/registry/examples/radio-group/native/segmented.js +24 -0
- package/registry/examples/radio-group/native/segmented.light.png +0 -0
- package/registry/examples/radio-group/native/segmented.tsx +20 -0
- package/registry/examples/radio-group/segmented.d.ts +4 -0
- package/registry/examples/radio-group/segmented.js +15 -0
- package/registry/examples/radio-group/segmented.tsx +12 -0
- package/registry/examples/search-field/native/cancel.d.ts +4 -0
- package/registry/examples/search-field/native/cancel.dark.png +0 -0
- package/registry/examples/search-field/native/cancel.js +14 -0
- package/registry/examples/search-field/native/cancel.light.png +0 -0
- package/registry/examples/search-field/native/cancel.tsx +13 -0
- package/registry/examples/slider/floating.d.ts +4 -0
- package/registry/examples/slider/floating.js +11 -0
- package/registry/examples/slider/floating.tsx +12 -0
- package/registry/examples/slider/native/default.d.ts +4 -0
- package/registry/examples/slider/native/default.dark.png +0 -0
- package/registry/examples/slider/native/default.js +14 -0
- package/registry/examples/slider/native/default.light.png +0 -0
- package/registry/examples/slider/native/default.tsx +13 -0
- package/registry/examples/slider/native/range.d.ts +4 -0
- package/registry/examples/slider/native/range.dark.png +0 -0
- package/registry/examples/slider/native/range.js +12 -0
- package/registry/examples/slider/native/range.light.png +0 -0
- package/registry/examples/slider/native/range.tsx +11 -0
- package/registry/examples/slider/native/stepped.d.ts +4 -0
- package/registry/examples/slider/native/stepped.dark.png +0 -0
- package/registry/examples/slider/native/stepped.js +28 -0
- package/registry/examples/slider/native/stepped.light.png +0 -0
- package/registry/examples/slider/native/stepped.tsx +24 -0
- package/registry/examples/slider/native/vertical.d.ts +4 -0
- package/registry/examples/slider/native/vertical.dark.png +0 -0
- package/registry/examples/slider/native/vertical.js +16 -0
- package/registry/examples/slider/native/vertical.light.png +0 -0
- package/registry/examples/slider/native/vertical.tsx +13 -0
- package/registry/examples/slider/price-range.d.ts +4 -0
- package/registry/examples/slider/price-range.js +29 -0
- package/registry/examples/slider/price-range.tsx +27 -0
- package/registry/examples/slider/stepped.d.ts +4 -0
- package/registry/examples/slider/stepped.js +28 -0
- package/registry/examples/slider/stepped.tsx +24 -0
- package/registry/examples/slider/vertical.d.ts +4 -0
- package/registry/examples/slider/vertical.js +15 -0
- package/registry/examples/slider/vertical.tsx +14 -0
- package/registry/examples/stat/grid.d.ts +4 -0
- package/registry/examples/stat/grid.js +17 -0
- package/registry/examples/stat/grid.tsx +14 -0
- package/registry/examples/stepper/native/run.d.ts +4 -0
- package/registry/examples/stepper/native/run.dark.png +0 -0
- package/registry/examples/stepper/native/run.js +24 -0
- package/registry/examples/stepper/native/run.light.png +0 -0
- package/registry/examples/stepper/native/run.tsx +20 -0
- package/registry/examples/swipeable-row/native/conversation.d.ts +4 -0
- package/registry/examples/swipeable-row/native/conversation.dark.png +0 -0
- package/registry/examples/swipeable-row/native/conversation.js +30 -0
- package/registry/examples/swipeable-row/native/conversation.light.png +0 -0
- package/registry/examples/swipeable-row/native/conversation.tsx +27 -0
- package/registry/examples/switch/native/default.d.ts +4 -0
- package/registry/examples/switch/native/default.dark.png +0 -0
- package/registry/examples/switch/native/default.js +16 -0
- package/registry/examples/switch/native/default.light.png +0 -0
- package/registry/examples/switch/native/default.tsx +13 -0
- package/registry/examples/switch/native/settings.d.ts +4 -0
- package/registry/examples/switch/native/settings.dark.png +0 -0
- package/registry/examples/switch/native/settings.js +20 -0
- package/registry/examples/switch/native/settings.light.png +0 -0
- package/registry/examples/switch/native/settings.tsx +17 -0
- package/registry/examples/tab-bar/native/main-sections.d.ts +4 -0
- package/registry/examples/tab-bar/native/main-sections.dark.png +0 -0
- package/registry/examples/tab-bar/native/main-sections.js +29 -0
- package/registry/examples/tab-bar/native/main-sections.light.png +0 -0
- package/registry/examples/tab-bar/native/main-sections.tsx +30 -0
- package/registry/examples/tabs/native/sections.d.ts +4 -0
- package/registry/examples/tabs/native/sections.dark.png +0 -0
- package/registry/examples/tabs/native/sections.js +23 -0
- package/registry/examples/tabs/native/sections.light.png +0 -0
- package/registry/examples/tabs/native/sections.tsx +19 -0
- package/registry/examples/tabs/native/segmented.d.ts +4 -0
- package/registry/examples/tabs/native/segmented.dark.png +0 -0
- package/registry/examples/tabs/native/segmented.js +22 -0
- package/registry/examples/tabs/native/segmented.light.png +0 -0
- package/registry/examples/tabs/native/segmented.tsx +18 -0
- package/registry/examples/toast/native/snackbar.d.ts +4 -0
- package/registry/examples/toast/native/snackbar.dark.png +0 -0
- package/registry/examples/toast/native/snackbar.js +23 -0
- package/registry/examples/toast/native/snackbar.light.png +0 -0
- package/registry/examples/toast/native/snackbar.tsx +21 -0
- package/registry/examples/tree-view/docs.d.ts +4 -0
- package/registry/examples/tree-view/docs.js +24 -0
- package/registry/examples/tree-view/docs.tsx +22 -0
- package/registry/examples/tree-view/lazy.d.ts +4 -0
- package/registry/examples/tree-view/lazy.js +21 -0
- package/registry/examples/tree-view/lazy.tsx +19 -0
- package/registry/fab.json +122 -0
- package/registry/field.json +16 -4
- package/registry/file-upload.json +2 -2
- package/registry/filter-bar.json +1 -1
- package/registry/form.json +252 -44
- package/registry/gallery-page.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/header.json +137 -0
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/image-viewer.json +107 -0
- package/registry/index.json +322 -44
- package/registry/iso.json +1 -1
- package/registry/kanban.json +253 -0
- package/registry/kbd.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +1 -1
- package/registry/list.json +367 -30
- package/registry/loader.json +157 -4
- package/registry/longform-page.json +1 -1
- package/registry/map.json +1368 -0
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-picker.json +129 -0
- package/registry/meter.json +136 -4
- package/registry/nav-bar.json +1 -1
- package/registry/number-ticker.json +96 -4
- package/registry/onboarding.json +95 -0
- package/registry/otp-input.json +150 -0
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/permission-prompt.json +172 -0
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +2 -2
- package/registry/promise-card.json +1 -1
- package/registry/pull-to-refresh.json +74 -0
- package/registry/radio-group.json +228 -16
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +30 -3
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/slider.json +315 -14
- package/registry/slot.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +68 -5
- package/registry/status-page.json +1 -1
- package/registry/stepper.json +75 -4
- package/registry/swipeable-row.json +124 -0
- package/registry/switch.json +116 -4
- package/registry/tab-bar.json +115 -0
- package/registry/tabs.json +96 -6
- package/registry/tag-input.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/theme.json +8 -1
- package/registry/toast.json +17 -3
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +291 -0
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/skills/choice-controls/SKILL.md +39 -0
- package/skills/form/SKILL.md +3 -0
- package/skills/map/SKILL.md +35 -0
- package/dist/chunk-I5RVM5CW.js.map +0 -1
- package/dist/chunk-RUPRYJ45.js +0 -82
- package/dist/chunk-RUPRYJ45.js.map +0 -1
package/dist/native.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { StyleProp, ViewStyle, ViewProps, PressableProps, TextProps, ImageProps, TextInput, TextInputProps, Animated, NativeSyntheticEvent, NativeScrollEvent, TextStyle, RefreshControlProps, DimensionValue, ActivityIndicatorProps } from 'react-native';
|
|
4
4
|
|
|
5
5
|
/** Milliseconds left until `target` (never negative), ticking every second. `skewMs` = server clock − this clock. */
|
|
6
6
|
declare function useCountdown(target: Date | string | number, skewMs?: number): number;
|
|
@@ -54,6 +54,93 @@ declare const addMonths: (iso: string, months: number) => string;
|
|
|
54
54
|
|
|
55
55
|
type BrandId = "krizaka" | "orazaka" | "orochia" | "yazakia" | "yororis";
|
|
56
56
|
|
|
57
|
+
type Controlled = {
|
|
58
|
+
/** Open (controlled). */
|
|
59
|
+
open?: boolean;
|
|
60
|
+
/** Open at first, uncontrolled. */
|
|
61
|
+
defaultOpen?: boolean;
|
|
62
|
+
/** Called when it opens or closes (the back button, the scrim, an action). */
|
|
63
|
+
onOpenChange?: (open: boolean) => void;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
type ActionSheetAction = {
|
|
67
|
+
/** The action's words — passed translated. */
|
|
68
|
+
label: string;
|
|
69
|
+
/** What it does; the sheet closes first. */
|
|
70
|
+
onPress: () => void;
|
|
71
|
+
/** A destructive action wears the danger text. */
|
|
72
|
+
destructive?: boolean;
|
|
73
|
+
/** A decorative icon before the words. */
|
|
74
|
+
icon?: React.ReactNode;
|
|
75
|
+
/** Cannot be chosen now. */
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
};
|
|
78
|
+
type ActionSheetProps = Controlled & {
|
|
79
|
+
/** What the choices are about (“Your video”) — the accessible name. */
|
|
80
|
+
title: string;
|
|
81
|
+
/** One line under the title. */
|
|
82
|
+
description?: string;
|
|
83
|
+
/** The choices, in order. */
|
|
84
|
+
actions: readonly ActionSheetAction[];
|
|
85
|
+
/** The cancel button's words (“Cancel”) — passed translated. */
|
|
86
|
+
cancelLabel: string;
|
|
87
|
+
};
|
|
88
|
+
/** A short list of actions from the bottom edge — share, edit, delete — and a cancel button apart, as the platforms do. */
|
|
89
|
+
declare function ActionSheet({ title, description, actions, cancelLabel, ...controlled }: ActionSheetProps): React.JSX.Element;
|
|
90
|
+
|
|
91
|
+
type ActivityTone = "neutral" | "accent" | "success" | "warning" | "danger" | "info";
|
|
92
|
+
type ActivityEvent = {
|
|
93
|
+
/** A stable id. */
|
|
94
|
+
id: string;
|
|
95
|
+
/** When it happened: an ISO date-time, an epoch in ms or a `Date`. */
|
|
96
|
+
at: string | number | Date;
|
|
97
|
+
/** What happened, in a sentence — passed translated (“Mina tipped your video $5”). */
|
|
98
|
+
title: string;
|
|
99
|
+
/** A detail under it. */
|
|
100
|
+
description?: string;
|
|
101
|
+
/** Who did it (folds a run of the same `kind` by the same actor). */
|
|
102
|
+
actor?: string;
|
|
103
|
+
/** The kind of event (`tip`, `bid`, `job.done`): with `actor`, what folds. */
|
|
104
|
+
kind?: string;
|
|
105
|
+
/** The tone of its marker: success for a payout, danger for a failure. */
|
|
106
|
+
tone?: ActivityTone;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
type ActivityFeedLabels = {
|
|
110
|
+
/** The heading of today's events. */
|
|
111
|
+
today: string;
|
|
112
|
+
/** The heading of yesterday's. */
|
|
113
|
+
yesterday: string;
|
|
114
|
+
/** A folded run: `(n) => "×" + n`. */
|
|
115
|
+
times: (count: number) => string;
|
|
116
|
+
/** Announced when new events arrive in a live feed. */
|
|
117
|
+
newEvents: (count: number) => string;
|
|
118
|
+
};
|
|
119
|
+
type ActivityFeedProps<T extends ActivityEvent> = {
|
|
120
|
+
/** The events, in any order. */
|
|
121
|
+
events: readonly T[];
|
|
122
|
+
/** The feed's accessible name. */
|
|
123
|
+
"aria-label"?: string;
|
|
124
|
+
/** The locale of the dates and the “… ago”. Default `en-US`. */
|
|
125
|
+
locale?: string;
|
|
126
|
+
/** Now, for the “… ago” and the headings. Default: now, refreshed every minute. */
|
|
127
|
+
now?: Date;
|
|
128
|
+
/** Fold the runs of the same actor and kind. Default true. */
|
|
129
|
+
fold?: boolean;
|
|
130
|
+
/** Announce new events (a stream). */
|
|
131
|
+
live?: boolean;
|
|
132
|
+
/** Before an event's text: its actor's `Avatar`. */
|
|
133
|
+
leading?: (event: T) => React.ReactNode;
|
|
134
|
+
/** Shown when there is no event (an `EmptyState`). */
|
|
135
|
+
empty?: React.ReactNode;
|
|
136
|
+
/** The words, passed translated. */
|
|
137
|
+
labels?: Partial<ActivityFeedLabels>;
|
|
138
|
+
/** Styles of the list. */
|
|
139
|
+
style?: StyleProp<ViewStyle>;
|
|
140
|
+
};
|
|
141
|
+
/** What happened, newest first — the web `ActivityFeed`: by day under sticky headings, runs folded, “2 min ago”, new events announced. */
|
|
142
|
+
declare function ActivityFeed<T extends ActivityEvent>({ events, "aria-label": label, locale, now: given, fold, live, leading, empty, labels: words, style }: ActivityFeedProps<T>): React.JSX.Element;
|
|
143
|
+
|
|
57
144
|
type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
58
145
|
type AvatarProps = Omit<ViewProps, "children"> & {
|
|
59
146
|
/**
|
|
@@ -70,8 +157,14 @@ type AvatarProps = Omit<ViewProps, "children"> & {
|
|
|
70
157
|
fallback?: React.ReactNode;
|
|
71
158
|
/** A size of the scale, or points. */
|
|
72
159
|
size?: AvatarSize | number;
|
|
160
|
+
/** A dot at the bottom right: `online` (success), `away` (warning), `busy` (danger), `offline` (hollow). */
|
|
161
|
+
presence?: "online" | "away" | "busy" | "offline";
|
|
162
|
+
/** The words of the presence for screen readers (“online”) — passed translated; read after the name. */
|
|
163
|
+
presenceLabel?: string;
|
|
164
|
+
/** A ring around it: `story` (an unseen story, in the accent gradient), `seen` (a story already watched), `live` (danger). */
|
|
165
|
+
ring?: "story" | "seen" | "live";
|
|
73
166
|
};
|
|
74
|
-
declare function AvatarRoot({ src, svg, alt, fallback, size, style, ...props }: AvatarProps): React.JSX.Element;
|
|
167
|
+
declare function AvatarRoot({ src, svg, alt, fallback, size, presence, presenceLabel, ring, style, ...props }: AvatarProps): React.JSX.Element;
|
|
75
168
|
type AvatarGroupProps = ViewProps & {
|
|
76
169
|
/** How many avatars are shown; the rest becomes a `+n` avatar. */
|
|
77
170
|
max?: number;
|
|
@@ -325,6 +418,71 @@ declare const Chip: typeof ChipBase & {
|
|
|
325
418
|
Group: typeof ChipGroup;
|
|
326
419
|
};
|
|
327
420
|
|
|
421
|
+
/** An option: the value stored and its words (passed translated), a line under them. */
|
|
422
|
+
type SelectOption = {
|
|
423
|
+
value: string;
|
|
424
|
+
label: string;
|
|
425
|
+
description?: string;
|
|
426
|
+
disabled?: boolean;
|
|
427
|
+
};
|
|
428
|
+
type FieldShared = {
|
|
429
|
+
/** The visible label, passed translated (the field's name). */
|
|
430
|
+
label: string;
|
|
431
|
+
/** Shown while nothing is chosen ("Choose a category"), passed translated. */
|
|
432
|
+
placeholder?: string;
|
|
433
|
+
/** A help text under the field. */
|
|
434
|
+
hint?: string;
|
|
435
|
+
/** An error under the field: a danger edge, read and announced. Replaces the hint. */
|
|
436
|
+
error?: string;
|
|
437
|
+
/** Not available. */
|
|
438
|
+
disabled?: boolean;
|
|
439
|
+
/** Called when the sheet closes (the field is left). */
|
|
440
|
+
onBlur?: () => void;
|
|
441
|
+
/** Styles merged last, on the field. */
|
|
442
|
+
style?: StyleProp<ViewStyle>;
|
|
443
|
+
};
|
|
444
|
+
type SelectProps = FieldShared & {
|
|
445
|
+
/** The choices. */
|
|
446
|
+
options: readonly SelectOption[];
|
|
447
|
+
/** The chosen value (controlled); `null` or `""` for none. */
|
|
448
|
+
value?: string | null;
|
|
449
|
+
/** The chosen value at first, uncontrolled. */
|
|
450
|
+
defaultValue?: string | null;
|
|
451
|
+
/** Called with the value picked. */
|
|
452
|
+
onValueChange?: (value: string) => void;
|
|
453
|
+
/** The sheet's title. Default: the label. */
|
|
454
|
+
sheetTitle?: string;
|
|
455
|
+
};
|
|
456
|
+
/** One choice among many — the web `<select>`: a field that opens a sheet of options; picking one closes it. */
|
|
457
|
+
declare function Select({ options, value: valueProp, defaultValue, onValueChange, sheetTitle, ...shared }: SelectProps): React.JSX.Element;
|
|
458
|
+
type ComboboxLabels = {
|
|
459
|
+
/** The search box's name and placeholder ("Search"). */
|
|
460
|
+
search: string;
|
|
461
|
+
/** While a search runs ("Searching…"). */
|
|
462
|
+
loading: string;
|
|
463
|
+
/** When nothing matches ("No results"). */
|
|
464
|
+
empty: string;
|
|
465
|
+
/** The button that closes a multiple choice ("Done"). */
|
|
466
|
+
done: string;
|
|
467
|
+
};
|
|
468
|
+
declare const comboboxLabels: ComboboxLabels;
|
|
469
|
+
type ComboboxProps = FieldShared & {
|
|
470
|
+
/** The options, filtered by what is typed. */
|
|
471
|
+
options?: readonly SelectOption[];
|
|
472
|
+
/** Fetches the options for a query (debounced 250 ms, aborted by a newer one). */
|
|
473
|
+
onSearch?: (query: string, signal: AbortSignal) => Promise<readonly SelectOption[]>;
|
|
474
|
+
/** Several values (`string[]`, checkboxes, a Done button); one by default. */
|
|
475
|
+
multiple?: boolean;
|
|
476
|
+
/** The chosen value(s) (controlled): a string, or strings with `multiple`. */
|
|
477
|
+
value?: string | readonly string[] | null;
|
|
478
|
+
/** Called with the value — or the values — chosen. */
|
|
479
|
+
onValueChange?: (value: string | string[]) => void;
|
|
480
|
+
/** The words, passed translated; English by default. */
|
|
481
|
+
labels?: Partial<ComboboxLabels>;
|
|
482
|
+
};
|
|
483
|
+
/** A choice among many, searched: a field that opens a sheet with a search box and the matching options. */
|
|
484
|
+
declare function Combobox({ options, onSearch, multiple, value, onValueChange, labels: given, ...shared }: ComboboxProps): React.JSX.Element;
|
|
485
|
+
|
|
328
486
|
type CountdownProps = {
|
|
329
487
|
/** The moment it counts down to: a Date, an ISO string or epoch milliseconds. */
|
|
330
488
|
target: Date | string | number;
|
|
@@ -554,6 +712,48 @@ type DateWheelProps = {
|
|
|
554
712
|
/** Day, month and year as three wheels in the locale's order, bounded by `min` and `max` — the web `DateWheel`. */
|
|
555
713
|
declare function DateWheel({ label, locale, value: valueProp, defaultValue, onValueChange, min, max, defaultView, hint, error, labels: given, disabled, style }: DateWheelProps): React.JSX.Element;
|
|
556
714
|
|
|
715
|
+
type DescriptionItem = {
|
|
716
|
+
/** The term (“Status”, “Credits”) — passed translated. */
|
|
717
|
+
term: string;
|
|
718
|
+
/** The value: text, a `Badge`. */
|
|
719
|
+
details: React.ReactNode;
|
|
720
|
+
/** A line under the value (a date, a unit). */
|
|
721
|
+
hint?: string;
|
|
722
|
+
/** A stable key, when the terms are not unique. */
|
|
723
|
+
id?: string;
|
|
724
|
+
};
|
|
725
|
+
type DescriptionListProps = {
|
|
726
|
+
/** The pairs, in reading order. */
|
|
727
|
+
items: readonly DescriptionItem[];
|
|
728
|
+
/** stacked (default) · inline (term left, value right: a receipt) · grid (cards, two per row). */
|
|
729
|
+
layout?: "stacked" | "inline" | "grid";
|
|
730
|
+
/** Styles merged last. */
|
|
731
|
+
style?: StyleProp<ViewStyle>;
|
|
732
|
+
};
|
|
733
|
+
/** Term and value pairs — the web `DescriptionList`: a job's details, a payout's breakdown; each pair read as one. */
|
|
734
|
+
declare function DescriptionList({ items, layout, style }: DescriptionListProps): React.JSX.Element;
|
|
735
|
+
|
|
736
|
+
type SheetProps = {
|
|
737
|
+
/** Open (controlled). */
|
|
738
|
+
open: boolean;
|
|
739
|
+
/** Called to close it: the scrim pressed, the back button, a choice made. */
|
|
740
|
+
onOpenChange: (open: boolean) => void;
|
|
741
|
+
/** The title at the top of the sheet (its accessible name), passed translated. */
|
|
742
|
+
title?: string;
|
|
743
|
+
/** The name of the close action read by screen readers ("Close"), passed translated. */
|
|
744
|
+
closeLabel?: string;
|
|
745
|
+
/** The content: a list, details, a form. */
|
|
746
|
+
children: React.ReactNode;
|
|
747
|
+
/** Styles merged last, on the sheet. */
|
|
748
|
+
style?: StyleProp<ViewStyle>;
|
|
749
|
+
};
|
|
750
|
+
/**
|
|
751
|
+
* A bottom sheet: it rises over a dimmed screen, its grip on top, the scrim closes it. The web `Dialog` on a phone —
|
|
752
|
+
* a choice (`Select`, `Combobox`), the details of a pin on a map, a short form. React Native's `Modal`: focus stays
|
|
753
|
+
* inside, the back button closes it. Rises with the theme's ease; still under reduced motion.
|
|
754
|
+
*/
|
|
755
|
+
declare function Sheet({ open, onOpenChange, title, closeLabel, children, style }: SheetProps): React.JSX.Element;
|
|
756
|
+
|
|
557
757
|
type EmptyStateProps = Omit<ViewProps, "children"> & {
|
|
558
758
|
/** A decorative icon (hidden from screen readers). */
|
|
559
759
|
icon?: React.ReactNode;
|
|
@@ -567,6 +767,28 @@ type EmptyStateProps = Omit<ViewProps, "children"> & {
|
|
|
567
767
|
/** What a list, a search or a screen says when it has nothing to show — every word is a prop. */
|
|
568
768
|
declare function EmptyState({ icon, title, description, action, style, ...props }: EmptyStateProps): React.JSX.Element;
|
|
569
769
|
|
|
770
|
+
type FabProps = {
|
|
771
|
+
/** The action in words (“New challenge”) — passed translated: the accessible name, and shown when `extended`. */
|
|
772
|
+
label: string;
|
|
773
|
+
/** The icon (decorative). */
|
|
774
|
+
icon: React.ReactNode;
|
|
775
|
+
/** What it does. */
|
|
776
|
+
onPress: () => void;
|
|
777
|
+
/** Shows the words beside the icon (collapse it while the list scrolls down). */
|
|
778
|
+
extended?: boolean;
|
|
779
|
+
/** Which corner. Default `end` (bottom right in left-to-right). */
|
|
780
|
+
placement?: "end" | "center" | "start";
|
|
781
|
+
/** Extra distance from the bottom, above a tab bar (its height). Default 0. */
|
|
782
|
+
offset?: number;
|
|
783
|
+
/** Styles merged last. */
|
|
784
|
+
style?: StyleProp<ViewStyle>;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* The screen's main action, floating above the content in the accent — one per screen (create, compose, record). It
|
|
788
|
+
* keeps clear of the safe area and the tab bar (`offset`), shows its words when `extended`, a light tap confirms.
|
|
789
|
+
*/
|
|
790
|
+
declare function Fab({ label, icon, onPress, extended, placement, offset, style }: FabProps): React.JSX.Element;
|
|
791
|
+
|
|
570
792
|
type TextFieldProps = Omit<TextInputProps, "value" | "defaultValue" | "onChangeText" | "style" | "editable"> & {
|
|
571
793
|
/** The visible label above the input, passed translated (also its accessible name). */
|
|
572
794
|
label: string;
|
|
@@ -617,6 +839,67 @@ type GoalGaugeProps = Omit<ViewProps, "children"> & {
|
|
|
617
839
|
/** A goal in steps for React Native: `role="meter"`, the reached steps lit, the value in words beside the label. */
|
|
618
840
|
declare function GoalGauge({ label, segments, value, valueText, mode, showLabel, variant, animated, style, ...props }: GoalGaugeProps): React.JSX.Element;
|
|
619
841
|
|
|
842
|
+
type HeaderProps = {
|
|
843
|
+
/** The screen's title — a heading, shown large under the bar until the content scrolls under it. */
|
|
844
|
+
title: string;
|
|
845
|
+
/** A line under the large title (a count, a date). */
|
|
846
|
+
subtitle?: string;
|
|
847
|
+
/** The scroll position of the screen's list (`useCollapsingHeader().scrollY`): the large title folds into the bar. Absent: always large. */
|
|
848
|
+
scrollY?: Animated.Value;
|
|
849
|
+
/** `large` (default: the top of a section) or `inline` (a detail screen: the title in the bar only). */
|
|
850
|
+
size?: "large" | "inline";
|
|
851
|
+
/** The back button's words (“Back”) — passed translated; with `onBack` it shows. */
|
|
852
|
+
backLabel?: string;
|
|
853
|
+
/** Called by the back button. */
|
|
854
|
+
onBack?: () => void;
|
|
855
|
+
/** Buttons at the right of the bar (`IconButton`s). */
|
|
856
|
+
actions?: React.ReactNode;
|
|
857
|
+
/** Under the title: a `SearchField`, `Tabs`. */
|
|
858
|
+
children?: React.ReactNode;
|
|
859
|
+
/** Styles merged last. */
|
|
860
|
+
style?: StyleProp<ViewStyle>;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* A screen's header: the bar (back, title, actions) under the status bar's safe area, and a large title that folds into
|
|
864
|
+
* the bar as the content scrolls — the iOS idiom, readable on Android. Feed it the list's scroll with
|
|
865
|
+
* `useCollapsingHeader()`. The title is the screen's heading for screen readers either way.
|
|
866
|
+
*/
|
|
867
|
+
declare function Header({ title, subtitle, scrollY, size, backLabel, onBack, actions, children, style }: HeaderProps): React.JSX.Element;
|
|
868
|
+
/** The scroll position a `Header` folds with: `<ScrollView onScroll={onScroll} scrollEventThrottle={16}>` and `<Header scrollY={scrollY}>`. */
|
|
869
|
+
declare function useCollapsingHeader(): {
|
|
870
|
+
scrollY: Animated.Value;
|
|
871
|
+
onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
type ViewerImage = {
|
|
875
|
+
/** The image's URI. */
|
|
876
|
+
uri: string;
|
|
877
|
+
/** What it shows — passed translated; its accessible name. */
|
|
878
|
+
alt: string;
|
|
879
|
+
/** A caption under it. */
|
|
880
|
+
caption?: string;
|
|
881
|
+
};
|
|
882
|
+
type ImageViewerProps = {
|
|
883
|
+
/** The images, in order. */
|
|
884
|
+
images: readonly ViewerImage[];
|
|
885
|
+
/** The image open (its index); `null` closes the viewer. */
|
|
886
|
+
index: number | null;
|
|
887
|
+
/** Called when the person moves to another image or closes the viewer (`null`). */
|
|
888
|
+
onIndexChange: (index: number | null) => void;
|
|
889
|
+
/** The close button's words (“Close”) — passed translated. */
|
|
890
|
+
closeLabel: string;
|
|
891
|
+
/** The position for screen readers and the counter: `(n, total) => "2 of 5"`. */
|
|
892
|
+
positionLabel?: (position: number, total: number) => string;
|
|
893
|
+
};
|
|
894
|
+
/**
|
|
895
|
+
* Images full screen, on black: pinch to zoom (to 4×), double tap to zoom in and out, drag a zoomed image, swipe left
|
|
896
|
+
* and right between images, swipe down to close. Screen readers get the image's words, its position, and the close
|
|
897
|
+
* button; their swipes move between images (accessibility actions).
|
|
898
|
+
*/
|
|
899
|
+
declare function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel }: ImageViewerProps): React.JSX.Element | null;
|
|
900
|
+
/** Preloads the neighbours of the image open, so a swipe shows the next one at once. */
|
|
901
|
+
declare function prefetchNeighbours(images: readonly ViewerImage[], index: number | null): void;
|
|
902
|
+
|
|
620
903
|
interface NativeMarkProps {
|
|
621
904
|
/** Width and height in points. */
|
|
622
905
|
size?: number;
|
|
@@ -635,6 +918,47 @@ interface NativeMarkProps {
|
|
|
635
918
|
*/
|
|
636
919
|
declare function KrizakaMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
|
|
637
920
|
|
|
921
|
+
type LoaderGlyphProps = {
|
|
922
|
+
/** loading · success · error. */
|
|
923
|
+
state?: "loading" | "success" | "error";
|
|
924
|
+
/** Between 0 and 1: the trace grows to it. Absent: indeterminate (the trace turns). */
|
|
925
|
+
value?: number | null;
|
|
926
|
+
/** The side, in points. Default 20. */
|
|
927
|
+
size?: number;
|
|
928
|
+
/** The stroke colour. Default: the accent (success and error: their tones). */
|
|
929
|
+
color?: string;
|
|
930
|
+
};
|
|
931
|
+
/** The Krizaka loader glyph (decorative): a hexagon traced by a segment of light around a node; done, a check or a cross. */
|
|
932
|
+
declare function LoaderGlyph({ state, value, size, color }: LoaderGlyphProps): React.JSX.Element;
|
|
933
|
+
/** `active` once it has lasted `delay` ms, then held at least `minDuration` ms: a wait never flashes nor blinks. */
|
|
934
|
+
declare function useDelayedWait(active: boolean, delay?: number, minDuration?: number): boolean;
|
|
935
|
+
type LoaderProps = {
|
|
936
|
+
/** What is loading, in words (“Loading your jobs”) — passed translated; shown and announced. */
|
|
937
|
+
label: string;
|
|
938
|
+
/** loading (default) · success · error: the ending shows for `endDuration` ms, then the loader goes. */
|
|
939
|
+
status?: "loading" | "success" | "error";
|
|
940
|
+
/** The words of a success — passed translated. Default: the label. */
|
|
941
|
+
successLabel?: string;
|
|
942
|
+
/** The words of a failure — passed translated. */
|
|
943
|
+
errorLabel?: string;
|
|
944
|
+
/** Between 0 and 1: a determinate wait, the percentage shows. */
|
|
945
|
+
value?: number | null;
|
|
946
|
+
/** The time left, in words (“About 20 s left”). */
|
|
947
|
+
eta?: string;
|
|
948
|
+
/** Milliseconds before anything shows. Default 250. */
|
|
949
|
+
delay?: number;
|
|
950
|
+
/** Once shown, the least milliseconds it stays. Default 600. */
|
|
951
|
+
minDuration?: number;
|
|
952
|
+
/** Milliseconds the ending stays. Default 1600; `0` never shows it. */
|
|
953
|
+
endDuration?: number;
|
|
954
|
+
/** inline (default) · block (a region's centre) · overlay (over its parent, frosted) · page (the whole screen). */
|
|
955
|
+
variant?: "inline" | "block" | "overlay" | "page";
|
|
956
|
+
/** Styles merged last. */
|
|
957
|
+
style?: StyleProp<ViewStyle>;
|
|
958
|
+
};
|
|
959
|
+
/** A wait from start to end — the web `Loader`: delayed, never blinking, announced when it shows and when it ends. */
|
|
960
|
+
declare function Loader({ label, status, successLabel, errorLabel, value, eta, delay, minDuration, endDuration, variant, style }: LoaderProps): React.JSX.Element | null;
|
|
961
|
+
|
|
638
962
|
/**
|
|
639
963
|
* The Krizaka flock — the geometry of the mascots, drawn by the web `Mascot` (`./mascot.tsx`) and the native one
|
|
640
964
|
* (`../native/mascots.tsx`). Five birds that have carried the Krizaka story since the first site (the sentry falcon,
|
|
@@ -715,6 +1039,107 @@ interface MascotProps {
|
|
|
715
1039
|
*/
|
|
716
1040
|
declare function Mascot({ bird, mood, tone, size, animated, title, style }: MascotProps): React__default.JSX.Element;
|
|
717
1041
|
|
|
1042
|
+
type MeterPart = {
|
|
1043
|
+
/** Its name (“To the creator”) — passed translated. */
|
|
1044
|
+
label: string;
|
|
1045
|
+
/** Its value, in the meter's unit. */
|
|
1046
|
+
value: number;
|
|
1047
|
+
/** Its value in words (“€9.00”); default: its percentage. */
|
|
1048
|
+
valueText?: string;
|
|
1049
|
+
};
|
|
1050
|
+
type MeterProps = {
|
|
1051
|
+
/** The accessible name (“Storage”, “Credits”) — passed translated; shown with `showLabel`. */
|
|
1052
|
+
label: string;
|
|
1053
|
+
/** The value, between `min` and `max` (ignored with `parts`). */
|
|
1054
|
+
value?: number;
|
|
1055
|
+
/** The start of the range. Default 0. */
|
|
1056
|
+
min?: number;
|
|
1057
|
+
/** The end of the range. Default 100. */
|
|
1058
|
+
max?: number;
|
|
1059
|
+
/** The value in words (“42 GB of 50 GB”); default: the percentage. */
|
|
1060
|
+
valueText?: string;
|
|
1061
|
+
/** The shares where the tone changes: below `low` good, up to `high` warning, past it the other end. */
|
|
1062
|
+
thresholds?: {
|
|
1063
|
+
readonly low: number;
|
|
1064
|
+
readonly high: number;
|
|
1065
|
+
};
|
|
1066
|
+
/** Which end is good: `low` (default: a quota) or `high` (a score). */
|
|
1067
|
+
optimum?: "low" | "high";
|
|
1068
|
+
/** Split into parts that add up to `max`: a stacked bar or ring, with its legend. */
|
|
1069
|
+
parts?: readonly MeterPart[];
|
|
1070
|
+
/** bar (default) · ring. */
|
|
1071
|
+
variant?: "bar" | "ring";
|
|
1072
|
+
/** sm · md (default) · lg: the bar's thickness, the ring's diameter. */
|
|
1073
|
+
size?: "sm" | "md" | "lg";
|
|
1074
|
+
/** Shows the label and the value above the bar. */
|
|
1075
|
+
showLabel?: boolean;
|
|
1076
|
+
/** A ring's centre: the value, a word. */
|
|
1077
|
+
children?: React.ReactNode;
|
|
1078
|
+
/** Styles merged last. */
|
|
1079
|
+
style?: StyleProp<ViewStyle>;
|
|
1080
|
+
};
|
|
1081
|
+
/** A measure within a range — a quota, a balance, a share — toned by thresholds or split into parts: the web `Meter`. */
|
|
1082
|
+
declare function Meter({ label, value, min, max, valueText, thresholds, optimum, parts, variant, size, showLabel, children, style }: MeterProps): React.JSX.Element;
|
|
1083
|
+
|
|
1084
|
+
type NumberTickerProps = {
|
|
1085
|
+
/** The value to show. */
|
|
1086
|
+
value: number;
|
|
1087
|
+
/** The locale of the digits and separators (`"fr"`: 1 204,5) — the app's locale. */
|
|
1088
|
+
locale?: string;
|
|
1089
|
+
/** How to write it (`{ style: "currency", currency: "EUR" }`): Intl.NumberFormat options. */
|
|
1090
|
+
format?: Intl.NumberFormatOptions;
|
|
1091
|
+
/** `mount` (default): climbs from zero once, when shown. `change`: rolls from the previous value on every change. */
|
|
1092
|
+
trigger?: "mount" | "change";
|
|
1093
|
+
/** Milliseconds of the roll. Default 1100. */
|
|
1094
|
+
duration?: number;
|
|
1095
|
+
/** Announce each new value (`trigger="change"`): a live total the person should hear. */
|
|
1096
|
+
announce?: boolean;
|
|
1097
|
+
/** The type scale. Default `display`. */
|
|
1098
|
+
variant?: TxtVariant;
|
|
1099
|
+
/** The text role. Default `text`. */
|
|
1100
|
+
tone?: TxtTone;
|
|
1101
|
+
/** Styles merged last. */
|
|
1102
|
+
style?: StyleProp<TextStyle>;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* A figure that climbs to its value — the web `NumberTicker`: tabular digits (no jitter), the final value for screen
|
|
1106
|
+
* readers from the first frame, still under reduced motion.
|
|
1107
|
+
*/
|
|
1108
|
+
declare function NumberTicker({ value, locale, format, trigger, duration, announce, variant, tone, style }: NumberTickerProps): React.JSX.Element;
|
|
1109
|
+
|
|
1110
|
+
type OnboardingSlide = {
|
|
1111
|
+
/** The picture: a `Mascot`, an illustration, a product mark (decorative). */
|
|
1112
|
+
visual?: React.ReactNode;
|
|
1113
|
+
/** The promise, in a few words — passed translated. */
|
|
1114
|
+
title: string;
|
|
1115
|
+
/** One or two sentences. */
|
|
1116
|
+
description: string;
|
|
1117
|
+
};
|
|
1118
|
+
type OnboardingProps = {
|
|
1119
|
+
/** The slides, three or four. */
|
|
1120
|
+
slides: readonly OnboardingSlide[];
|
|
1121
|
+
/** The words of the buttons — passed translated. */
|
|
1122
|
+
labels: {
|
|
1123
|
+
/** To the next slide (“Next”). */
|
|
1124
|
+
next: string;
|
|
1125
|
+
/** On the last slide (“Get started”). */
|
|
1126
|
+
done: string;
|
|
1127
|
+
/** Skips to the end (“Skip”). */
|
|
1128
|
+
skip: string;
|
|
1129
|
+
/** The position, for screen readers: `(n, total) => "Step 2 of 3"`. */
|
|
1130
|
+
position: (n: number, total: number) => string;
|
|
1131
|
+
};
|
|
1132
|
+
/** Called by “Get started” and “Skip”: remember it and leave. */
|
|
1133
|
+
onDone: () => void;
|
|
1134
|
+
/** Styles merged last. */
|
|
1135
|
+
style?: StyleProp<ViewStyle>;
|
|
1136
|
+
};
|
|
1137
|
+
/**
|
|
1138
|
+
* A first launch in a few slides: swipe or tap Next, Skip at any time, dots that say where you are, the safe areas
|
|
1139
|
+
* kept. Each slide is announced with its position; the buttons do everything a swipe does.
|
|
1140
|
+
*/
|
|
1141
|
+
declare function Onboarding({ slides, labels, onDone, style }: OnboardingProps): React.JSX.Element;
|
|
1142
|
+
|
|
718
1143
|
/**
|
|
719
1144
|
* The Orazaka mark for React Native — the geometry of the web mark (marks/orazaka-geometry.ts): the three shards turn
|
|
720
1145
|
* slowly around the core, which breathes; still when the system reduces motion.
|
|
@@ -728,6 +1153,34 @@ declare function OrazakaMark({ size, animated, title, neutral }: NativeMarkProps
|
|
|
728
1153
|
*/
|
|
729
1154
|
declare function OrochiaMark({ size, animated, title, neutral: neutralProp }: NativeMarkProps): React__default.JSX.Element;
|
|
730
1155
|
|
|
1156
|
+
type OtpInputProps = {
|
|
1157
|
+
/** The accessible name (“Verification code”) — passed translated. */
|
|
1158
|
+
label: string;
|
|
1159
|
+
/** How many characters. Default 6. */
|
|
1160
|
+
length?: number;
|
|
1161
|
+
/** The code (controlled). */
|
|
1162
|
+
value?: string;
|
|
1163
|
+
/** Called on every change with the code typed so far. */
|
|
1164
|
+
onValueChange?: (code: string) => void;
|
|
1165
|
+
/** Called once all the characters are there (check it here); a tick confirms. */
|
|
1166
|
+
onComplete?: (code: string) => void;
|
|
1167
|
+
/** `numeric` (default) or `text` (letters and digits). */
|
|
1168
|
+
mode?: "numeric" | "text";
|
|
1169
|
+
/** The code was refused: the boxes turn to danger, and an error tick. */
|
|
1170
|
+
invalid?: boolean;
|
|
1171
|
+
/** Cannot be typed in (checking). */
|
|
1172
|
+
disabled?: boolean;
|
|
1173
|
+
/** Focus it when shown. */
|
|
1174
|
+
autoFocus?: boolean;
|
|
1175
|
+
/** Styles merged last. */
|
|
1176
|
+
style?: StyleProp<ViewStyle>;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* A one-time code in boxes — one real input underneath, so the keyboard's suggestion of the code from a message
|
|
1180
|
+
* (iOS `oneTimeCode`, Android `sms-otp`) and pasting fill every box at once; the caret shows in the next empty box.
|
|
1181
|
+
*/
|
|
1182
|
+
declare function OtpInput({ label, length, value, onValueChange, onComplete, mode, invalid, disabled, autoFocus, style }: OtpInputProps): React.JSX.Element;
|
|
1183
|
+
|
|
731
1184
|
type PaginationLabels = {
|
|
732
1185
|
/** The previous-page button ("Previous page"). */
|
|
733
1186
|
previous: string;
|
|
@@ -766,6 +1219,41 @@ type PaginationProps = {
|
|
|
766
1219
|
*/
|
|
767
1220
|
declare function Pagination({ page, pageCount, onPageChange, hasPrevious, hasNext, onPrevious, onNext, status, disabled, labels, style }: PaginationProps): React.JSX.Element;
|
|
768
1221
|
|
|
1222
|
+
type PermissionStatus = "undetermined" | "granted" | "denied" | "blocked";
|
|
1223
|
+
type PermissionPromptProps = {
|
|
1224
|
+
/** Where the permission stands (from expo-camera, expo-notifications…): `blocked` = denied and the system will not ask again. */
|
|
1225
|
+
status: PermissionStatus;
|
|
1226
|
+
/** What it is for, in a few words (“Film your challenge”) — passed translated. */
|
|
1227
|
+
title: string;
|
|
1228
|
+
/** Why the app needs it, said plainly, before the system asks. */
|
|
1229
|
+
description: string;
|
|
1230
|
+
/** The button that asks (“Allow the camera”). */
|
|
1231
|
+
allowLabel: string;
|
|
1232
|
+
/** Asks the system (`requestPermission()` of the module). */
|
|
1233
|
+
onAllow: () => void;
|
|
1234
|
+
/** The button when the system will not ask again (“Open settings”) — with `onOpenSettings`. */
|
|
1235
|
+
settingsLabel?: string;
|
|
1236
|
+
/** Opens the app's settings (`Linking.openSettings()`). */
|
|
1237
|
+
onOpenSettings?: () => void;
|
|
1238
|
+
/** The words when it is blocked (“The camera is off for Orochia. Turn it on in the settings.”). */
|
|
1239
|
+
blockedDescription?: string;
|
|
1240
|
+
/** A secondary way out (“Not now”), with `onDismiss`. */
|
|
1241
|
+
dismissLabel?: string;
|
|
1242
|
+
/** Called by the way out. */
|
|
1243
|
+
onDismiss?: () => void;
|
|
1244
|
+
/** The bird above (decorative): the falcon watches (camera), the pigeon delivers (notifications). Default falcon. */
|
|
1245
|
+
mascot?: MascotProps["bird"];
|
|
1246
|
+
/** Rendered once granted: the camera, the screen. Absent: nothing. */
|
|
1247
|
+
children?: React.ReactNode;
|
|
1248
|
+
/** Styles merged last. */
|
|
1249
|
+
style?: StyleProp<ViewStyle>;
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* Before the system's permission dialog, the app says why: a bird, what it is for, the button that asks — and, once the
|
|
1253
|
+
* system will not ask again, the way to the settings. Once granted, its children (the camera, the feature) show.
|
|
1254
|
+
*/
|
|
1255
|
+
declare function PermissionPrompt({ status, title, description, allowLabel, onAllow, settingsLabel, onOpenSettings, blockedDescription, dismissLabel, onDismiss, mascot, children, style, }: PermissionPromptProps): React.JSX.Element;
|
|
1256
|
+
|
|
769
1257
|
interface PhoenixProps {
|
|
770
1258
|
/** `own` (default): the violet wing and the gold wing of the Krizaka story. `brand`: the theme's accent and accent-2. */
|
|
771
1259
|
tone?: "own" | "brand";
|
|
@@ -843,6 +1331,54 @@ type ProgressProps = {
|
|
|
843
1331
|
*/
|
|
844
1332
|
declare function Progress({ variant, size, value, max, label, valueText, children, style }: ProgressProps): React.JSX.Element;
|
|
845
1333
|
|
|
1334
|
+
type PullToRefreshProps = Omit<RefreshControlProps, "colors" | "tintColor" | "progressBackgroundColor" | "titleColor" | "title"> & {
|
|
1335
|
+
/** The words of the pull (“Pull to refresh”) — passed translated; shown on iOS under the spinner. */
|
|
1336
|
+
label?: string;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* The platform's pull to refresh in the theme's accent: the `refreshControl` of a ScrollView or a FlatList. `List`
|
|
1340
|
+
* draws it already with `onRefresh`.
|
|
1341
|
+
*/
|
|
1342
|
+
declare function PullToRefresh({ label, ...props }: PullToRefreshProps): React.JSX.Element;
|
|
1343
|
+
|
|
1344
|
+
/** A choice: the value stored and its words (passed translated), a line under them, a second line on a key. */
|
|
1345
|
+
type RadioOption = {
|
|
1346
|
+
value: string;
|
|
1347
|
+
label: string;
|
|
1348
|
+
description?: string;
|
|
1349
|
+
hint?: string;
|
|
1350
|
+
disabled?: boolean;
|
|
1351
|
+
};
|
|
1352
|
+
type RadioGroupProps = {
|
|
1353
|
+
/** The group's accessible name (the question), passed translated. */
|
|
1354
|
+
label: string;
|
|
1355
|
+
/** The choices, all visible (two to five, a few more for `buttons`). */
|
|
1356
|
+
options: readonly RadioOption[];
|
|
1357
|
+
/** The chosen value (controlled). */
|
|
1358
|
+
value?: string | null;
|
|
1359
|
+
/** The chosen value at first, uncontrolled. */
|
|
1360
|
+
defaultValue?: string | null;
|
|
1361
|
+
/** Called with the value pressed. */
|
|
1362
|
+
onValueChange?: (value: string) => void;
|
|
1363
|
+
/**
|
|
1364
|
+
* `list` (a dot and its words, 44-pt rows), `cards` (whole cards, the check lit), `buttons` (tactile keys that press
|
|
1365
|
+
* in: an `impact` haptic), `segmented` (a track of equal segments).
|
|
1366
|
+
* @default "list"
|
|
1367
|
+
*/
|
|
1368
|
+
variant?: "list" | "cards" | "buttons" | "segmented";
|
|
1369
|
+
/** An error under the group, read and announced. */
|
|
1370
|
+
error?: string;
|
|
1371
|
+
/** Not available. */
|
|
1372
|
+
disabled?: boolean;
|
|
1373
|
+
/** Styles merged last. */
|
|
1374
|
+
style?: StyleProp<ViewStyle>;
|
|
1375
|
+
};
|
|
1376
|
+
/**
|
|
1377
|
+
* One choice among a few, all visible — the web `RadioGroup` in its four looks. A radio group for VoiceOver and
|
|
1378
|
+
* TalkBack; each press plays a haptic (`selection`, `impact` for a tactile key) when the app passes `haptics`.
|
|
1379
|
+
*/
|
|
1380
|
+
declare function RadioGroup({ label, options, value: valueProp, defaultValue, onValueChange, variant, error, disabled, style }: RadioGroupProps): React.JSX.Element;
|
|
1381
|
+
|
|
846
1382
|
type SearchFieldProps = Omit<TextInputProps, "value" | "defaultValue" | "onChangeText" | "style" | "onSubmitEditing"> & {
|
|
847
1383
|
/** The accessible name of the input ("Search videos"), passed translated. */
|
|
848
1384
|
label: string;
|
|
@@ -860,6 +1396,10 @@ type SearchFieldProps = Omit<TextInputProps, "value" | "defaultValue" | "onChang
|
|
|
860
1396
|
onSubmit?: (query: string) => void;
|
|
861
1397
|
/** The clear button's name ("Clear search"), passed translated. */
|
|
862
1398
|
clearLabel: string;
|
|
1399
|
+
/** The words of a cancel button beside the field (“Cancel”, iOS search bars) — passed translated; with `onCancel` it shows while the field has the focus or a query. */
|
|
1400
|
+
cancelLabel?: string;
|
|
1401
|
+
/** Called by the cancel button: the query is cleared and the keyboard closes. */
|
|
1402
|
+
onCancel?: () => void;
|
|
863
1403
|
/** Styles merged last, on the field's frame. */
|
|
864
1404
|
style?: StyleProp<ViewStyle>;
|
|
865
1405
|
};
|
|
@@ -867,7 +1407,7 @@ type SearchFieldProps = Omit<TextInputProps, "value" | "defaultValue" | "onChang
|
|
|
867
1407
|
* A search box: the glyph, the input with the keyboard's search key, a clear button, and a debounced `onSearch` —
|
|
868
1408
|
* the web `SearchField` without the shortcut and the suggestions (a screen of results is the native idiom).
|
|
869
1409
|
*/
|
|
870
|
-
declare function SearchField({ label, value, defaultValue, onValueChange, onSearch, debounce, onSubmit, clearLabel, style, placeholder, ...props }: SearchFieldProps): React.JSX.Element;
|
|
1410
|
+
declare function SearchField({ label, value, defaultValue, onValueChange, onSearch, debounce, onSubmit, clearLabel, cancelLabel, onCancel, style, placeholder, onFocus, onBlur, ...props }: SearchFieldProps): React.JSX.Element;
|
|
871
1411
|
|
|
872
1412
|
type SegmentedOption<T extends string> = {
|
|
873
1413
|
value: T;
|
|
@@ -909,6 +1449,55 @@ type SkeletonProps = {
|
|
|
909
1449
|
/** A pulsing placeholder the size of what is loading — hidden from screen readers; still when the system reduces motion. */
|
|
910
1450
|
declare function Skeleton({ shape, width, height, style, testID }: SkeletonProps): React.JSX.Element;
|
|
911
1451
|
|
|
1452
|
+
type SliderValue = number | [number, number];
|
|
1453
|
+
type SliderProps<V extends SliderValue = number> = {
|
|
1454
|
+
/** The accessible name of the thumb (or of both thumbs of a range), passed translated. */
|
|
1455
|
+
label: string;
|
|
1456
|
+
/** For a range: each thumb's own name (["Minimum", "Maximum"]), passed translated. */
|
|
1457
|
+
thumbLabels?: [string, string];
|
|
1458
|
+
/** One number (a thumb) or two (a range), controlled. */
|
|
1459
|
+
value?: V;
|
|
1460
|
+
/** The value at first, uncontrolled. */
|
|
1461
|
+
defaultValue?: V;
|
|
1462
|
+
/** Called on every step the thumb passes. */
|
|
1463
|
+
onValueChange?: (value: V) => void;
|
|
1464
|
+
/** Called once the thumb is released (or an accessibility action is done). */
|
|
1465
|
+
onValueCommit?: (value: V) => void;
|
|
1466
|
+
/** The lowest value. Default 0. */
|
|
1467
|
+
min?: number;
|
|
1468
|
+
/** The highest value. Default 100. */
|
|
1469
|
+
max?: number;
|
|
1470
|
+
/** The step. Default 1. */
|
|
1471
|
+
step?: number;
|
|
1472
|
+
/** The value as words (read, and shown): "1.5×", "15 %". */
|
|
1473
|
+
formatValue?: (value: number) => string;
|
|
1474
|
+
/** Shows the label and the value above the track. */
|
|
1475
|
+
showLabel?: boolean;
|
|
1476
|
+
/** Shows the value floating over the thumb while it is dragged (`"always"`: at all times). */
|
|
1477
|
+
floatingValue?: boolean | "always";
|
|
1478
|
+
/** A graduation at every step (`true`, up to 40) or at the values given. */
|
|
1479
|
+
ticks?: boolean | readonly number[];
|
|
1480
|
+
/** Words under the track at some values. Horizontal only. */
|
|
1481
|
+
marks?: readonly {
|
|
1482
|
+
value: number;
|
|
1483
|
+
label: string;
|
|
1484
|
+
}[];
|
|
1485
|
+
/** `gradient` (accent → accent-2, default) or `solid`. */
|
|
1486
|
+
tone?: "gradient" | "solid";
|
|
1487
|
+
/** `horizontal` (default) or `vertical` (give the slider a height). */
|
|
1488
|
+
orientation?: "horizontal" | "vertical";
|
|
1489
|
+
/** Not available. */
|
|
1490
|
+
disabled?: boolean;
|
|
1491
|
+
/** Styles merged last. */
|
|
1492
|
+
style?: StyleProp<ViewStyle>;
|
|
1493
|
+
};
|
|
1494
|
+
/**
|
|
1495
|
+
* A slider for React Native — the web `Slider`: one value or a range, drawn by the theme, dragged anywhere on the track.
|
|
1496
|
+
* Each step the thumb passes ticks under the thumb (`selection` haptic); for VoiceOver and TalkBack each thumb is an
|
|
1497
|
+
* adjustable control (swipe up or down by a step), its value read as words.
|
|
1498
|
+
*/
|
|
1499
|
+
declare function Slider<V extends SliderValue = number>({ label, thumbLabels, value, defaultValue, onValueChange, onValueCommit, min, max, step, formatValue, showLabel, floatingValue, ticks, marks, tone, orientation, disabled, style, }: SliderProps<V>): React.JSX.Element;
|
|
1500
|
+
|
|
912
1501
|
type SpinnerProps = Omit<ActivityIndicatorProps, "size" | "color"> & {
|
|
913
1502
|
/** The accessible name of the wait, e.g. "Loading" — passed translated. */
|
|
914
1503
|
label: string;
|
|
@@ -918,6 +1507,170 @@ type SpinnerProps = Omit<ActivityIndicatorProps, "size" | "color"> & {
|
|
|
918
1507
|
/** An indeterminate wait: the platform's activity indicator in the accent, named by `label`. */
|
|
919
1508
|
declare function Spinner({ label, size, ...props }: SpinnerProps): React.JSX.Element;
|
|
920
1509
|
|
|
1510
|
+
type StepStatus = "done" | "current" | "upcoming" | "error";
|
|
1511
|
+
type Step = {
|
|
1512
|
+
/** Its name — passed translated. */
|
|
1513
|
+
title: string;
|
|
1514
|
+
/** One line under it (what happens, a time) — passed translated. */
|
|
1515
|
+
description?: string;
|
|
1516
|
+
/** Where it stands; by default from `current`. */
|
|
1517
|
+
status?: StepStatus;
|
|
1518
|
+
/** Between 0 and 1 for the current step: its glyph grows to it. */
|
|
1519
|
+
value?: number;
|
|
1520
|
+
/** Anything under the step while it is current or failed: a progress bar, an action. */
|
|
1521
|
+
content?: React.ReactNode;
|
|
1522
|
+
};
|
|
1523
|
+
type StepperProps = {
|
|
1524
|
+
/** The steps, in order. */
|
|
1525
|
+
steps: readonly Step[];
|
|
1526
|
+
/** The index of the current step (the steps before are done). */
|
|
1527
|
+
current?: number;
|
|
1528
|
+
/** vertical (default: a job's run, a checkout) · horizontal (a few short steps across the screen). */
|
|
1529
|
+
orientation?: "vertical" | "horizontal";
|
|
1530
|
+
/** The words read after each step's title (`{ done: "done", current: "in progress", upcoming: "to come", error: "failed" }`) — passed translated. */
|
|
1531
|
+
statusLabels?: Partial<Record<StepStatus, string>>;
|
|
1532
|
+
/** The accessible name of the list (“Run of the dubbing job”). */
|
|
1533
|
+
"aria-label"?: string;
|
|
1534
|
+
/** Styles merged last. */
|
|
1535
|
+
style?: StyleProp<ViewStyle>;
|
|
1536
|
+
};
|
|
1537
|
+
/** The steps of a process, where it stands — the web `Stepper`: done steps checked, the current one tracing, a failure crossed. */
|
|
1538
|
+
declare function Stepper({ steps, current, orientation, statusLabels, "aria-label": label, style }: StepperProps): React.JSX.Element;
|
|
1539
|
+
|
|
1540
|
+
type SwipeAction = {
|
|
1541
|
+
/** The action's words — passed translated; also its accessibility action. */
|
|
1542
|
+
label: string;
|
|
1543
|
+
/** What it does; the row closes first. */
|
|
1544
|
+
onPress: () => void;
|
|
1545
|
+
/** The tone: `danger` (delete), `accent` (pin, reply), `neutral` (archive, mute). Default `neutral`. */
|
|
1546
|
+
tone?: "neutral" | "accent" | "success" | "warning" | "danger";
|
|
1547
|
+
/** A decorative icon above the words. */
|
|
1548
|
+
icon?: React.ReactNode;
|
|
1549
|
+
};
|
|
1550
|
+
type SwipeableRowProps = {
|
|
1551
|
+
/** The row's content (a `ListItem`). */
|
|
1552
|
+
children: React.ReactNode;
|
|
1553
|
+
/** Revealed by a swipe to the left, at the right edge (the first is the outermost). */
|
|
1554
|
+
trailing?: readonly SwipeAction[];
|
|
1555
|
+
/** Revealed by a swipe to the right, at the left edge. */
|
|
1556
|
+
leading?: readonly SwipeAction[];
|
|
1557
|
+
/** A full swipe past this share of the row runs the outermost action (delete, archive). Default 0.6; `false` never. */
|
|
1558
|
+
fullSwipe?: number | false;
|
|
1559
|
+
/** Width of each action, in points. Default 80. */
|
|
1560
|
+
actionWidth?: number;
|
|
1561
|
+
/**
|
|
1562
|
+
* The row's own action, for screen readers: the row is one element whose actions are the swipe actions, and
|
|
1563
|
+
* activating it calls this (pass the `onPress` of the `ListItem` inside).
|
|
1564
|
+
*/
|
|
1565
|
+
onActivate?: () => void;
|
|
1566
|
+
/** The test id of the row's moving part (the accessibility element). */
|
|
1567
|
+
testID?: string;
|
|
1568
|
+
/** Styles merged last. */
|
|
1569
|
+
style?: StyleProp<ViewStyle>;
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* A row whose actions show under a swipe — mail-style: swipe left for the trailing actions, right for the leading ones,
|
|
1573
|
+
* a full swipe runs the outermost one, a tick marks the threshold. Screen readers get the same actions from the
|
|
1574
|
+
* rotor (accessibility actions): nothing is reachable only by a gesture.
|
|
1575
|
+
*/
|
|
1576
|
+
declare function SwipeableRow({ children, trailing, leading, fullSwipe, actionWidth, onActivate, testID, style }: SwipeableRowProps): React.JSX.Element;
|
|
1577
|
+
|
|
1578
|
+
type SwitchProps = {
|
|
1579
|
+
/** The accessible name ("Push notifications"), passed translated — also the visible words when `children` is not given and `showLabel` is set. */
|
|
1580
|
+
label: string;
|
|
1581
|
+
/** On (controlled). */
|
|
1582
|
+
checked?: boolean;
|
|
1583
|
+
/** On at first, uncontrolled. */
|
|
1584
|
+
defaultChecked?: boolean;
|
|
1585
|
+
/** Called with the new state. */
|
|
1586
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
1587
|
+
/** A line under the label, read with the switch ("Auctions you follow, new messages"). Shown with `showLabel`. */
|
|
1588
|
+
description?: string;
|
|
1589
|
+
/** Draws the label (and the description) beside the switch, the whole row pressable: a settings row. */
|
|
1590
|
+
showLabel?: boolean;
|
|
1591
|
+
/** sm · md (default). */
|
|
1592
|
+
size?: "sm" | "md";
|
|
1593
|
+
/** An error under the row, read and announced. */
|
|
1594
|
+
error?: string;
|
|
1595
|
+
/** Not available. */
|
|
1596
|
+
disabled?: boolean;
|
|
1597
|
+
/** Styles merged last. */
|
|
1598
|
+
style?: StyleProp<ViewStyle>;
|
|
1599
|
+
};
|
|
1600
|
+
/**
|
|
1601
|
+
* An on/off switch for React Native — the web `Switch`, drawn by the theme (the accent when on, the material's knob),
|
|
1602
|
+
* not the system's: the same look on iOS and Android, a `selection` haptic when it flips. `showLabel` makes it a
|
|
1603
|
+
* settings row (the label and its description beside it, all pressable).
|
|
1604
|
+
*/
|
|
1605
|
+
declare function Switch({ label, checked, defaultChecked, onCheckedChange, description, showLabel, size, error, disabled, style }: SwitchProps): React.JSX.Element;
|
|
1606
|
+
|
|
1607
|
+
type TabBarItem<T extends string> = {
|
|
1608
|
+
/** The section's key (the route name). */
|
|
1609
|
+
value: T;
|
|
1610
|
+
/** Its name under the icon — passed translated. */
|
|
1611
|
+
label: string;
|
|
1612
|
+
/** The icon: a function of the selected state and the colour (`(on, color) => <HomeIcon color={color} />`). */
|
|
1613
|
+
icon: (selected: boolean, color: string) => React.ReactNode;
|
|
1614
|
+
/** A count on the icon (`99+` past 99); `true` for a dot without a number. */
|
|
1615
|
+
badge?: number | boolean;
|
|
1616
|
+
/** The badge in words for screen readers (“3 unread”) — passed translated. */
|
|
1617
|
+
badgeLabel?: string;
|
|
1618
|
+
};
|
|
1619
|
+
type TabBarProps<T extends string> = {
|
|
1620
|
+
/** The app's main sections, two to five. */
|
|
1621
|
+
items: readonly TabBarItem<T>[];
|
|
1622
|
+
/** The current section. */
|
|
1623
|
+
value: T;
|
|
1624
|
+
/** Called with the section pressed (navigate there); a light tick confirms it. */
|
|
1625
|
+
onValueChange: (value: T) => void;
|
|
1626
|
+
/** Called when the current section is pressed again: scroll it to the top, refresh it. */
|
|
1627
|
+
onReselect?: (value: T) => void;
|
|
1628
|
+
/** The accessible name of the bar (“Main sections”) — passed translated. */
|
|
1629
|
+
"aria-label"?: string;
|
|
1630
|
+
/** Styles merged last. */
|
|
1631
|
+
style?: StyleProp<ViewStyle>;
|
|
1632
|
+
};
|
|
1633
|
+
/**
|
|
1634
|
+
* The app's main sections, at the bottom of the screen: an icon and a word each, the current one in the accent, a
|
|
1635
|
+
* badge for what is new; clear of the home indicator (the safe area), a tick on change, a second press to go back to
|
|
1636
|
+
* the top. Plug it in expo-router's or React Navigation's `tabBar`.
|
|
1637
|
+
*/
|
|
1638
|
+
declare function TabBar<T extends string>({ items, value, onValueChange, onReselect, "aria-label": label, style }: TabBarProps<T>): React.JSX.Element;
|
|
1639
|
+
|
|
1640
|
+
type TabItem<T extends string> = {
|
|
1641
|
+
/** The tab's key. */
|
|
1642
|
+
value: T;
|
|
1643
|
+
/** Its words — passed translated. */
|
|
1644
|
+
label: string;
|
|
1645
|
+
/** A count after the words (unread, results). */
|
|
1646
|
+
count?: number;
|
|
1647
|
+
/** The panel shown while it is selected. */
|
|
1648
|
+
content?: React.ReactNode;
|
|
1649
|
+
/** Cannot be selected. */
|
|
1650
|
+
disabled?: boolean;
|
|
1651
|
+
};
|
|
1652
|
+
type TabsProps<T extends string> = {
|
|
1653
|
+
/** The tabs, in order. */
|
|
1654
|
+
items: readonly TabItem<T>[];
|
|
1655
|
+
/** The selected tab (controlled). */
|
|
1656
|
+
value?: T;
|
|
1657
|
+
/** The selected tab at first, uncontrolled. Default: the first. */
|
|
1658
|
+
defaultValue?: T;
|
|
1659
|
+
/** Called with the tab pressed; a light tick confirms it. */
|
|
1660
|
+
onValueChange?: (value: T) => void;
|
|
1661
|
+
/** The accessible name of the tab list — passed translated. */
|
|
1662
|
+
"aria-label"?: string;
|
|
1663
|
+
/** `underline` (default: sections of a screen, scrolls sideways when they do not fit) or `segmented` (two to four views). */
|
|
1664
|
+
variant?: "underline" | "segmented";
|
|
1665
|
+
/** Styles merged last, on the root. */
|
|
1666
|
+
style?: StyleProp<ViewStyle>;
|
|
1667
|
+
};
|
|
1668
|
+
/**
|
|
1669
|
+
* Sections of one screen — the web `Tabs`: a tab list (underlined, scrolling sideways when long, or segmented) and the
|
|
1670
|
+
* selected panel under it. For the app's main sections, use `TabBar`.
|
|
1671
|
+
*/
|
|
1672
|
+
declare function Tabs<T extends string>({ items, value, defaultValue, onValueChange, "aria-label": label, variant, style }: TabsProps<T>): React.JSX.Element;
|
|
1673
|
+
|
|
921
1674
|
type ThemeName = "dark" | "light";
|
|
922
1675
|
/** The colour roles of one theme (the @krizaka/tokens roles). */
|
|
923
1676
|
type Theme = {
|
|
@@ -1011,6 +1764,13 @@ type ThemeFonts = {
|
|
|
1011
1764
|
* pressed in), `success` / `warning` (an outcome).
|
|
1012
1765
|
*/
|
|
1013
1766
|
type HapticKind = "selection" | "impact" | "success" | "warning";
|
|
1767
|
+
/** The screen's safe-area insets, in points (`useSafeAreaInsets()` of react-native-safe-area-context). */
|
|
1768
|
+
type Insets = {
|
|
1769
|
+
readonly top: number;
|
|
1770
|
+
readonly right: number;
|
|
1771
|
+
readonly bottom: number;
|
|
1772
|
+
readonly left: number;
|
|
1773
|
+
};
|
|
1014
1774
|
type ThemeContextValue = {
|
|
1015
1775
|
/** The chosen mode: dark, light or follow the system. */
|
|
1016
1776
|
mode: Mode;
|
|
@@ -1024,6 +1784,8 @@ type ThemeContextValue = {
|
|
|
1024
1784
|
fonts: ThemeFonts;
|
|
1025
1785
|
/** Plays a haptic (the app's `haptics`, through expo-haptics or another module); nothing without one. */
|
|
1026
1786
|
haptic: (kind: HapticKind) => void;
|
|
1787
|
+
/** The safe-area insets the app passed (zero by default): the tab bar, the header and the FAB keep clear of them. */
|
|
1788
|
+
insets: Insets;
|
|
1027
1789
|
};
|
|
1028
1790
|
type ThemeProviderProps = {
|
|
1029
1791
|
children: React.ReactNode;
|
|
@@ -1043,9 +1805,11 @@ type ThemeProviderProps = {
|
|
|
1043
1805
|
* with expo-haptics. Absent: no haptics.
|
|
1044
1806
|
*/
|
|
1045
1807
|
haptics?: (kind: HapticKind) => void;
|
|
1808
|
+
/** The safe-area insets (`useSafeAreaInsets()` of react-native-safe-area-context): bars and floating buttons keep clear of them. */
|
|
1809
|
+
insets?: Insets;
|
|
1046
1810
|
};
|
|
1047
1811
|
/** Once, at the root of the app. Without it, `useTheme()` follows the system with the platform's roles. */
|
|
1048
|
-
declare function ThemeProvider({ children, mode: controlled, defaultMode, onModeChange, overrides, fonts, haptics }: ThemeProviderProps): React.JSX.Element;
|
|
1812
|
+
declare function ThemeProvider({ children, mode: controlled, defaultMode, onModeChange, overrides, fonts, haptics, insets }: ThemeProviderProps): React.JSX.Element;
|
|
1049
1813
|
/** The current theme: `{ mode, setMode, scheme, theme, radius, motion, fonts }`. */
|
|
1050
1814
|
declare function useTheme(): ThemeContextValue;
|
|
1051
1815
|
/** True while the system asks to reduce motion: every loop and transition of /native stops. */
|
|
@@ -1117,11 +1881,13 @@ type WheelPickerProps = {
|
|
|
1117
1881
|
visible?: 3 | 5 | 7;
|
|
1118
1882
|
/** Marks the group invalid (a danger edge). */
|
|
1119
1883
|
invalid?: boolean;
|
|
1884
|
+
/** Nothing is chosen yet: the values under the band stay quiet (secondary) until a wheel is turned. */
|
|
1885
|
+
unset?: boolean;
|
|
1120
1886
|
/** Styles merged last. */
|
|
1121
1887
|
style?: StyleProp<ViewStyle>;
|
|
1122
1888
|
};
|
|
1123
1889
|
/** The frame of one or several wheels: a raised surface, the lit band across them — the web `WheelPicker`. */
|
|
1124
|
-
declare function WheelPicker({ label, children, visible, invalid, style }: WheelPickerProps): React.JSX.Element;
|
|
1890
|
+
declare function WheelPicker({ label, children, visible, invalid, unset, style }: WheelPickerProps): React.JSX.Element;
|
|
1125
1891
|
/** A divider between two wheels (`:` between the hours and the minutes). */
|
|
1126
1892
|
declare function WheelDivider({ children }: {
|
|
1127
1893
|
children: string;
|
|
@@ -1162,4 +1928,4 @@ declare function YazakiaMark({ size, animated, title, neutral }: NativeMarkProps
|
|
|
1162
1928
|
*/
|
|
1163
1929
|
declare function YororisMark({ size, animated, title, neutral }: NativeMarkProps): React__default.JSX.Element;
|
|
1164
1930
|
|
|
1165
|
-
export { Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, AvatarRoot, type AvatarSize, Badge, type BadgeProps, type BadgeTone, type BrandId, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarLabels, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, CardFooter, CardImage, type CardImageProps, CardMedia, type CardMediaProps, CardOverlay, type CardOverlayProps, CardRoot, type CardRootProps, CardTitle, Checkbox, type CheckboxProps, Chip, type ChipGroupProps, type ChipProps, type ChipSize, Countdown, type CountdownProps, type CountdownUnits, DateField, type DateFieldLabels, type DateFieldProps, type DatePart, DateWheel, type DateWheelProps, DayStrip, type DayStripProps, EmptyState, type EmptyStateProps, ErrorState, GoalGauge, type GoalGaugeProps, type HapticKind, IconButton, type IconButtonProps, KrizakaMark, LoadingState, Mascot, type MascotProps, MascotState, type MascotStateProps, type Mode, MonthPicker, type MonthPickerProps, type Motion, type NativeMarkProps, OrazakaMark, OrochiaMark, Pagination, type PaginationLabels, type PaginationProps, Phoenix, type PhoenixProps, ProductMark, ProfileCard, type ProfileCardProps, type ProfileStat, Progress, type ProgressProps, type Radius, SearchField, type SearchFieldProps, Segmented, type SegmentedOption, type SegmentedProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, SuccessState, TextField, type TextFieldProps, type Theme, type ThemeContextValue, type ThemeFonts, type ThemeName, type ThemeOverrides, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerLabels, type TimePickerProps, type TimeValue, type ToastItem, type ToastOptions, type ToastTone, Toaster, type ToasterProps, Txt, type TxtProps, type TxtTone, type TxtVariant, WelcomeState, Wheel, WheelDivider, type WheelOption, WheelPicker, type WheelPickerProps, type WheelProps, YazakiaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, formatTime, isRealDate, latestBirthDate, monthNames, splitDuration, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCountdown, useReducedMotion, useTheme, uses12Hours };
|
|
1931
|
+
export { ActionSheet, type ActionSheetAction, type ActionSheetProps, type ActivityEvent, ActivityFeed, type ActivityFeedLabels, type ActivityFeedProps, type ActivityTone, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, AvatarRoot, type AvatarSize, Badge, type BadgeProps, type BadgeTone, type BrandId, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarLabels, type CalendarProps, Card, CardBody, type CardBodyProps, CardDescription, CardFooter, CardImage, type CardImageProps, CardMedia, type CardMediaProps, CardOverlay, type CardOverlayProps, CardRoot, type CardRootProps, CardTitle, Checkbox, type CheckboxProps, Chip, type ChipGroupProps, type ChipProps, type ChipSize, Combobox, type ComboboxLabels, type ComboboxProps, Countdown, type CountdownProps, type CountdownUnits, DateField, type DateFieldLabels, type DateFieldProps, type DatePart, DateWheel, type DateWheelProps, DayStrip, type DayStripProps, type DescriptionItem, DescriptionList, type DescriptionListProps, EmptyState, type EmptyStateProps, ErrorState, Fab, type FabProps, GoalGauge, type GoalGaugeProps, type HapticKind, Header, type HeaderProps, IconButton, type IconButtonProps, ImageViewer, type ImageViewerProps, type Insets, KrizakaMark, Loader, LoaderGlyph, type LoaderGlyphProps, type LoaderProps, LoadingState, Mascot, type MascotProps, MascotState, type MascotStateProps, Meter, type MeterPart, type MeterProps, type Mode, MonthPicker, type MonthPickerProps, type Motion, type NativeMarkProps, NumberTicker, type NumberTickerProps, Onboarding, type OnboardingProps, type OnboardingSlide, OrazakaMark, OrochiaMark, OtpInput, type OtpInputProps, Pagination, type PaginationLabels, type PaginationProps, PermissionPrompt, type PermissionPromptProps, type PermissionStatus, Phoenix, type PhoenixProps, ProductMark, ProfileCard, type ProfileCardProps, type ProfileStat, Progress, type ProgressProps, PullToRefresh, type PullToRefreshProps, RadioGroup, type RadioGroupProps, type RadioOption, type Radius, SearchField, type SearchFieldProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sheet, type SheetProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderValue, Spinner, type SpinnerProps, type Step, type StepStatus, Stepper, type StepperProps, SuccessState, type SwipeAction, SwipeableRow, type SwipeableRowProps, Switch, type SwitchProps, TabBar, type TabBarItem, type TabBarProps, type TabItem, Tabs, type TabsProps, TextField, type TextFieldProps, type Theme, type ThemeContextValue, type ThemeFonts, type ThemeName, type ThemeOverrides, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerLabels, type TimePickerProps, type TimeValue, type ToastItem, type ToastOptions, type ToastTone, Toaster, type ToasterProps, Txt, type TxtProps, type TxtTone, type TxtVariant, type ViewerImage, WelcomeState, Wheel, WheelDivider, type WheelOption, WheelPicker, type WheelPickerProps, type WheelProps, YazakiaMark, YororisMark, addDays, addMonths, ageOn, alpha, calendarLabels, comboboxLabels, composeDate, dateFieldLabels, datePartsOrder, daysInMonth, formatTime, isRealDate, latestBirthDate, monthNames, prefetchNeighbours, splitDuration, textStyles, timeSlots, timeToMinutes, toast, todayIso, useCollapsingHeader, useCountdown, useDelayedWait, useReducedMotion, useTheme, uses12Hours };
|