@krizaka/ui 3.3.0 → 3.5.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/chat.d.ts +187 -0
- package/dist/chat.js +132 -0
- package/dist/chat.js.map +1 -0
- package/dist/chunk-7Z4KHPFC.js +42 -0
- package/dist/chunk-7Z4KHPFC.js.map +1 -0
- package/dist/chunk-ECSCA3CN.js +128 -0
- package/dist/chunk-ECSCA3CN.js.map +1 -0
- package/dist/chunk-F2GKFIYK.js +47 -0
- package/dist/chunk-F2GKFIYK.js.map +1 -0
- package/dist/data-table.js +84 -231
- package/dist/data-table.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/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/match-dialog.d.ts +30 -0
- package/dist/match-dialog.js +146 -0
- package/dist/match-dialog.js.map +1 -0
- package/dist/motion.css +12 -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 +952 -75
- package/dist/native.js +2572 -889
- package/dist/native.js.map +1 -1
- package/dist/photo-grid.d.ts +122 -0
- package/dist/photo-grid.js +94 -0
- package/dist/photo-grid.js.map +1 -0
- package/dist/stat.d.ts +31 -2
- package/dist/stat.js +21 -4
- package/dist/stat.js.map +1 -1
- package/dist/step-progress.d.ts +20 -0
- package/dist/step-progress.js +17 -0
- package/dist/step-progress.js.map +1 -0
- package/dist/swipe-deck.d.ts +183 -0
- package/dist/swipe-deck.js +144 -0
- package/dist/swipe-deck.js.map +1 -0
- package/dist/tag-selector.d.ts +26 -0
- package/dist/tag-selector.js +21 -0
- package/dist/tag-selector.js.map +1 -0
- 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/verified-badge.d.ts +16 -0
- package/dist/verified-badge.js +23 -0
- package/dist/verified-badge.js.map +1 -0
- package/package.json +245 -10
- 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/chat.json +917 -0
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/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/chat/conversation.d.ts +4 -0
- package/registry/examples/chat/conversation.js +22 -0
- package/registry/examples/chat/conversation.tsx +21 -0
- package/registry/examples/chat/inbox.d.ts +4 -0
- package/registry/examples/chat/inbox.js +15 -0
- package/registry/examples/chat/inbox.tsx +12 -0
- package/registry/examples/chat/native/conversation.d.ts +4 -0
- package/registry/examples/chat/native/conversation.dark.png +0 -0
- package/registry/examples/chat/native/conversation.js +23 -0
- package/registry/examples/chat/native/conversation.light.png +0 -0
- package/registry/examples/chat/native/conversation.tsx +20 -0
- package/registry/examples/chat/native/inbox.d.ts +4 -0
- package/registry/examples/chat/native/inbox.dark.png +0 -0
- package/registry/examples/chat/native/inbox.js +16 -0
- package/registry/examples/chat/native/inbox.light.png +0 -0
- package/registry/examples/chat/native/inbox.tsx +13 -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/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/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/match-dialog/its-a-match.d.ts +4 -0
- package/registry/examples/match-dialog/its-a-match.js +29 -0
- package/registry/examples/match-dialog/its-a-match.tsx +25 -0
- package/registry/examples/match-dialog/native/its-a-match.d.ts +4 -0
- package/registry/examples/match-dialog/native/its-a-match.dark.png +0 -0
- package/registry/examples/match-dialog/native/its-a-match.js +28 -0
- package/registry/examples/match-dialog/native/its-a-match.light.png +0 -0
- package/registry/examples/match-dialog/native/its-a-match.tsx +22 -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/photo-grid/native/profile-photos.d.ts +4 -0
- package/registry/examples/photo-grid/native/profile-photos.dark.png +0 -0
- package/registry/examples/photo-grid/native/profile-photos.js +27 -0
- package/registry/examples/photo-grid/native/profile-photos.light.png +0 -0
- package/registry/examples/photo-grid/native/profile-photos.tsx +24 -0
- package/registry/examples/photo-grid/profile-photos.d.ts +4 -0
- package/registry/examples/photo-grid/profile-photos.js +28 -0
- package/registry/examples/photo-grid/profile-photos.tsx +25 -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/screen/native/app-shell.d.ts +4 -0
- package/registry/examples/screen/native/app-shell.dark.png +0 -0
- package/registry/examples/screen/native/app-shell.js +25 -0
- package/registry/examples/screen/native/app-shell.light.png +0 -0
- package/registry/examples/screen/native/app-shell.tsx +33 -0
- package/registry/examples/screen/native/auth.d.ts +4 -0
- package/registry/examples/screen/native/auth.dark.png +0 -0
- package/registry/examples/screen/native/auth.js +24 -0
- package/registry/examples/screen/native/auth.light.png +0 -0
- package/registry/examples/screen/native/auth.tsx +20 -0
- package/registry/examples/screen/native/chat.d.ts +4 -0
- package/registry/examples/screen/native/chat.dark.png +0 -0
- package/registry/examples/screen/native/chat.js +27 -0
- package/registry/examples/screen/native/chat.light.png +0 -0
- package/registry/examples/screen/native/chat.tsx +22 -0
- package/registry/examples/screen/native/feed.d.ts +4 -0
- package/registry/examples/screen/native/feed.dark.png +0 -0
- package/registry/examples/screen/native/feed.js +24 -0
- package/registry/examples/screen/native/feed.light.png +0 -0
- package/registry/examples/screen/native/feed.tsx +34 -0
- package/registry/examples/screen/native/profile.d.ts +4 -0
- package/registry/examples/screen/native/profile.dark.png +0 -0
- package/registry/examples/screen/native/profile.js +29 -0
- package/registry/examples/screen/native/profile.light.png +0 -0
- package/registry/examples/screen/native/profile.tsx +27 -0
- package/registry/examples/screen/native/settings.d.ts +4 -0
- package/registry/examples/screen/native/settings.dark.png +0 -0
- package/registry/examples/screen/native/settings.js +20 -0
- package/registry/examples/screen/native/settings.light.png +0 -0
- package/registry/examples/screen/native/settings.tsx +19 -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/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/step-progress/native/sign-up.d.ts +4 -0
- package/registry/examples/step-progress/native/sign-up.dark.png +0 -0
- package/registry/examples/step-progress/native/sign-up.js +12 -0
- package/registry/examples/step-progress/native/sign-up.light.png +0 -0
- package/registry/examples/step-progress/native/sign-up.tsx +11 -0
- package/registry/examples/step-progress/sign-up.d.ts +4 -0
- package/registry/examples/step-progress/sign-up.js +22 -0
- package/registry/examples/step-progress/sign-up.tsx +16 -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/swipe-deck/discover.d.ts +4 -0
- package/registry/examples/swipe-deck/discover.js +41 -0
- package/registry/examples/swipe-deck/discover.tsx +37 -0
- package/registry/examples/swipe-deck/native/discover.d.ts +4 -0
- package/registry/examples/swipe-deck/native/discover.dark.png +0 -0
- package/registry/examples/swipe-deck/native/discover.js +39 -0
- package/registry/examples/swipe-deck/native/discover.light.png +0 -0
- package/registry/examples/swipe-deck/native/discover.tsx +35 -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/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/tag-selector/interests.d.ts +4 -0
- package/registry/examples/tag-selector/interests.js +14 -0
- package/registry/examples/tag-selector/interests.tsx +12 -0
- package/registry/examples/tag-selector/native/interests.d.ts +4 -0
- package/registry/examples/tag-selector/native/interests.dark.png +0 -0
- package/registry/examples/tag-selector/native/interests.js +15 -0
- package/registry/examples/tag-selector/native/interests.light.png +0 -0
- package/registry/examples/tag-selector/native/interests.tsx +15 -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/examples/verified-badge/native/verified.d.ts +4 -0
- package/registry/examples/verified-badge/native/verified.dark.png +0 -0
- package/registry/examples/verified-badge/native/verified.js +18 -0
- package/registry/examples/verified-badge/native/verified.light.png +0 -0
- package/registry/examples/verified-badge/native/verified.tsx +15 -0
- package/registry/examples/verified-badge/verified.d.ts +4 -0
- package/registry/examples/verified-badge/verified.js +17 -0
- package/registry/examples/verified-badge/verified.tsx +13 -0
- package/registry/fab.json +122 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +2 -2
- package/registry/filter-bar.json +1 -1
- package/registry/form.json +2 -2
- 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 +441 -25
- 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/match-dialog.json +300 -0
- 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/photo-grid.json +302 -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 +1 -1
- package/registry/screen.json +184 -0
- 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 +1 -1
- 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/step-progress.json +255 -0
- package/registry/stepper.json +75 -4
- package/registry/swipe-deck.json +512 -0
- package/registry/swipeable-row.json +124 -0
- package/registry/switch.json +1 -1
- package/registry/tab-bar.json +115 -0
- package/registry/tabs.json +94 -4
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +276 -0
- 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/verified-badge.json +202 -0
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/skills/map/SKILL.md +35 -0
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/activity-feed/native/notifications.tsx
|
|
4
|
+
import { ActivityFeed } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
var events = [
|
|
8
|
+
{ id: "e1", at: "2026-10-11T14:58:00Z", title: "Dubbing of \u201CSunset session\u201D finished", tone: "success" },
|
|
9
|
+
{ id: "e2", at: "2026-10-11T13:05:00Z", title: "Mina tipped your video $5", kind: "tip", actor: "mina", tone: "success" },
|
|
10
|
+
{ id: "e3", at: "2026-10-11T12:50:00Z", title: "Mina tipped your video $5", kind: "tip", actor: "mina", tone: "success" },
|
|
11
|
+
{ id: "e4", at: "2026-10-10T18:20:00Z", title: "Clip job failed", description: "The source is too short", tone: "danger" }
|
|
12
|
+
];
|
|
13
|
+
function NativeActivityFeedNotifications() {
|
|
14
|
+
return /* @__PURE__ */ jsx(View, { style: { width: 340, height: 300 }, children: /* @__PURE__ */ jsx(ActivityFeed, { "aria-label": "Activity", events, now: /* @__PURE__ */ new Date("2026-10-11T15:00:00Z") }) });
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
NativeActivityFeedNotifications as default
|
|
18
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActivityFeed } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
|
|
4
|
+
const events = [
|
|
5
|
+
{ id: "e1", at: "2026-10-11T14:58:00Z", title: "Dubbing of “Sunset session” finished", tone: "success" as const },
|
|
6
|
+
{ id: "e2", at: "2026-10-11T13:05:00Z", title: "Mina tipped your video $5", kind: "tip", actor: "mina", tone: "success" as const },
|
|
7
|
+
{ id: "e3", at: "2026-10-11T12:50:00Z", title: "Mina tipped your video $5", kind: "tip", actor: "mina", tone: "success" as const },
|
|
8
|
+
{ id: "e4", at: "2026-10-10T18:20:00Z", title: "Clip job failed", description: "The source is too short", tone: "danger" as const },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
// The activity tab: by day, the tips folded, how long ago.
|
|
12
|
+
export default function NativeActivityFeedNotifications() {
|
|
13
|
+
return (
|
|
14
|
+
<View style={{ width: 340, height: 300 }}>
|
|
15
|
+
<ActivityFeed aria-label="Activity" events={events} now={new Date("2026-10-11T15:00:00Z")} />
|
|
16
|
+
</View>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/activity-feed/timeline.tsx
|
|
4
|
+
import { Timeline } from "@krizaka/ui/activity-feed";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function ActivityFeedTimeline() {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Timeline,
|
|
9
|
+
{
|
|
10
|
+
"aria-label": "History of the payout",
|
|
11
|
+
locale: "en-GB",
|
|
12
|
+
timeStyle: "datetime",
|
|
13
|
+
className: "max-w-md",
|
|
14
|
+
events: [
|
|
15
|
+
{ id: "t1", at: "2026-10-09T09:00:00Z", title: "Payout requested", description: "$120.00 to the account ending 4821" },
|
|
16
|
+
{ id: "t2", at: "2026-10-09T09:01:00Z", title: "Funds reserved", tone: "accent" },
|
|
17
|
+
{ id: "t3", at: "2026-10-10T07:30:00Z", title: "Sent to Stripe", tone: "info" },
|
|
18
|
+
{ id: "t4", at: "2026-10-11T10:12:00Z", title: "Arrived at the bank", tone: "success" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
ActivityFeedTimeline as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Timeline } from "@krizaka/ui/activity-feed";
|
|
2
|
+
|
|
3
|
+
// One thing's history, oldest first: a payout from request to bank.
|
|
4
|
+
export default function ActivityFeedTimeline() {
|
|
5
|
+
return (
|
|
6
|
+
<Timeline
|
|
7
|
+
aria-label="History of the payout"
|
|
8
|
+
locale="en-GB"
|
|
9
|
+
timeStyle="datetime"
|
|
10
|
+
className="max-w-md"
|
|
11
|
+
events={[
|
|
12
|
+
{ id: "t1", at: "2026-10-09T09:00:00Z", title: "Payout requested", description: "$120.00 to the account ending 4821" },
|
|
13
|
+
{ id: "t2", at: "2026-10-09T09:01:00Z", title: "Funds reserved", tone: "accent" },
|
|
14
|
+
{ id: "t3", at: "2026-10-10T07:30:00Z", title: "Sent to Stripe", tone: "info" },
|
|
15
|
+
{ id: "t4", at: "2026-10-11T10:12:00Z", title: "Arrived at the bank", tone: "success" },
|
|
16
|
+
]}
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/avatar/native/presence.tsx
|
|
4
|
+
import { Avatar } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function NativeAvatarPresence() {
|
|
8
|
+
return /* @__PURE__ */ jsxs(View, { style: { flexDirection: "row", gap: 16, alignItems: "center" }, children: [
|
|
9
|
+
/* @__PURE__ */ jsx(Avatar, { alt: "Elena", size: "lg", presence: "online", presenceLabel: "online" }),
|
|
10
|
+
/* @__PURE__ */ jsx(Avatar, { alt: "Alex", size: "lg", presence: "away", presenceLabel: "away" }),
|
|
11
|
+
/* @__PURE__ */ jsx(Avatar, { alt: "Mina", size: "lg", presence: "offline", presenceLabel: "offline" }),
|
|
12
|
+
/* @__PURE__ */ jsx(Avatar, { alt: "Elena's story, new", size: "lg", ring: "story" }),
|
|
13
|
+
/* @__PURE__ */ jsx(Avatar, { alt: "Alex's story, seen", size: "lg", ring: "seen" })
|
|
14
|
+
] });
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
NativeAvatarPresence as default
|
|
18
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Avatar } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
|
|
4
|
+
// Presence in Messages, story rings in the rail: the dot and the ring are said with the name.
|
|
5
|
+
export default function NativeAvatarPresence() {
|
|
6
|
+
return (
|
|
7
|
+
<View style={{ flexDirection: "row", gap: 16, alignItems: "center" }}>
|
|
8
|
+
<Avatar alt="Elena" size="lg" presence="online" presenceLabel="online" />
|
|
9
|
+
<Avatar alt="Alex" size="lg" presence="away" presenceLabel="away" />
|
|
10
|
+
<Avatar alt="Mina" size="lg" presence="offline" presenceLabel="offline" />
|
|
11
|
+
<Avatar alt="Elena's story, new" size="lg" ring="story" />
|
|
12
|
+
<Avatar alt="Alex's story, seen" size="lg" ring="seen" />
|
|
13
|
+
</View>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chat/conversation.tsx
|
|
4
|
+
import { MessageBubble, MessageComposer, TypingIndicator } from "@krizaka/ui/chat";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function ChatConversation() {
|
|
8
|
+
const [draft, setDraft] = useState("");
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex max-w-md flex-col overflow-hidden rounded-xl border border-border-default bg-surface-0", children: [
|
|
10
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 p-3", children: [
|
|
11
|
+
/* @__PURE__ */ jsx(MessageBubble, { text: "Hey! Loved your sunset photo \u{1F305}", time: "19:02", grouped: "first" }),
|
|
12
|
+
/* @__PURE__ */ jsx(MessageBubble, { text: "Was it Cabo da Roca?", time: "19:02", grouped: "last" }),
|
|
13
|
+
/* @__PURE__ */ jsx(MessageBubble, { mine: true, text: "It was! Have you been?", time: "19:05", grouped: "first" }),
|
|
14
|
+
/* @__PURE__ */ jsx(MessageBubble, { mine: true, text: "We should go this weekend", time: "19:05", grouped: "last", status: "read", showStatus: true }),
|
|
15
|
+
/* @__PURE__ */ jsx(TypingIndicator, { label: "Elena is typing" })
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ jsx(MessageComposer, { value: draft, onValueChange: setDraft, onSend: () => setDraft(""), placeholder: "Message", sendLabel: "Send" })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
ChatConversation as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { MessageBubble, MessageComposer, TypingIndicator } from "@krizaka/ui/chat";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
|
|
6
|
+
// A conversation: runs grouped, the time inside, the receipt under the last of yours, typing, the composer.
|
|
7
|
+
export default function ChatConversation() {
|
|
8
|
+
const [draft, setDraft] = useState("");
|
|
9
|
+
return (
|
|
10
|
+
<div className="flex max-w-md flex-col overflow-hidden rounded-xl border border-border-default bg-surface-0">
|
|
11
|
+
<div className="flex flex-col gap-1 p-3">
|
|
12
|
+
<MessageBubble text="Hey! Loved your sunset photo 🌅" time="19:02" grouped="first" />
|
|
13
|
+
<MessageBubble text="Was it Cabo da Roca?" time="19:02" grouped="last" />
|
|
14
|
+
<MessageBubble mine text="It was! Have you been?" time="19:05" grouped="first" />
|
|
15
|
+
<MessageBubble mine text="We should go this weekend" time="19:05" grouped="last" status="read" showStatus />
|
|
16
|
+
<TypingIndicator label="Elena is typing" />
|
|
17
|
+
</div>
|
|
18
|
+
<MessageComposer value={draft} onValueChange={setDraft} onSend={() => setDraft("")} placeholder="Message" sendLabel="Send" />
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chat/inbox.tsx
|
|
4
|
+
import { ConversationItem } from "@krizaka/ui/chat";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
function ChatInbox() {
|
|
7
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex max-w-md flex-col rounded-xl border border-border-default bg-surface-0 py-1", children: [
|
|
8
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Elena", online: true, onlineLabel: "online", preview: "typing\u2026", typing: true, time: "19:06", unread: 2, unreadLabel: "2 unread", href: "#/chats/elena" }),
|
|
9
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Noah", preview: "See you Saturday then!", time: "Mon", href: "#/chats/noah" }),
|
|
10
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Mina", preview: "You: haha same", time: "Sun", href: "#/chats/mina" })
|
|
11
|
+
] });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
ChatInbox as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ConversationItem } from "@krizaka/ui/chat";
|
|
2
|
+
|
|
3
|
+
// The inbox: online, the last message or “typing…”, the time, the unread count.
|
|
4
|
+
export default function ChatInbox() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="flex max-w-md flex-col rounded-xl border border-border-default bg-surface-0 py-1">
|
|
7
|
+
<ConversationItem name="Elena" online onlineLabel="online" preview="typing…" typing time="19:06" unread={2} unreadLabel="2 unread" href="#/chats/elena" />
|
|
8
|
+
<ConversationItem name="Noah" preview="See you Saturday then!" time="Mon" href="#/chats/noah" />
|
|
9
|
+
<ConversationItem name="Mina" preview="You: haha same" time="Sun" href="#/chats/mina" />
|
|
10
|
+
</div>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chat/native/conversation.tsx
|
|
4
|
+
import { MessageBubble, MessageComposer, TypingIndicator } from "@krizaka/ui/native";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { View } from "react-native";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
function NativeChatConversation() {
|
|
9
|
+
const [draft, setDraft] = useState("");
|
|
10
|
+
return /* @__PURE__ */ jsxs(View, { style: { width: 360, gap: 4 }, children: [
|
|
11
|
+
/* @__PURE__ */ jsxs(View, { style: { padding: 12, gap: 4 }, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(MessageBubble, { text: "Hey! Loved your sunset photo \u{1F305}", time: "19:02", grouped: "first" }),
|
|
13
|
+
/* @__PURE__ */ jsx(MessageBubble, { text: "Was it Cabo da Roca?", time: "19:02", grouped: "last" }),
|
|
14
|
+
/* @__PURE__ */ jsx(MessageBubble, { mine: true, text: "It was! Have you been?", time: "19:05", grouped: "first" }),
|
|
15
|
+
/* @__PURE__ */ jsx(MessageBubble, { mine: true, text: "We should go this weekend", time: "19:05", grouped: "last", status: "read", showStatus: true, labels: { status: { read: "Read" } } }),
|
|
16
|
+
/* @__PURE__ */ jsx(TypingIndicator, { label: "Elena is typing" })
|
|
17
|
+
] }),
|
|
18
|
+
/* @__PURE__ */ jsx(MessageComposer, { value: draft, onValueChange: setDraft, onSend: () => setDraft(""), placeholder: "Message", sendLabel: "Send" })
|
|
19
|
+
] });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
NativeChatConversation as default
|
|
23
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MessageBubble, MessageComposer, TypingIndicator } from "@krizaka/ui/native";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
|
|
5
|
+
// A conversation: runs grouped, the time inside, the receipt under the last of yours, the typing dots, the composer.
|
|
6
|
+
export default function NativeChatConversation() {
|
|
7
|
+
const [draft, setDraft] = useState("");
|
|
8
|
+
return (
|
|
9
|
+
<View style={{ width: 360, gap: 4 }}>
|
|
10
|
+
<View style={{ padding: 12, gap: 4 }}>
|
|
11
|
+
<MessageBubble text="Hey! Loved your sunset photo 🌅" time="19:02" grouped="first" />
|
|
12
|
+
<MessageBubble text="Was it Cabo da Roca?" time="19:02" grouped="last" />
|
|
13
|
+
<MessageBubble mine text="It was! Have you been?" time="19:05" grouped="first" />
|
|
14
|
+
<MessageBubble mine text="We should go this weekend" time="19:05" grouped="last" status="read" showStatus labels={{ status: { read: "Read" } }} />
|
|
15
|
+
<TypingIndicator label="Elena is typing" />
|
|
16
|
+
</View>
|
|
17
|
+
<MessageComposer value={draft} onValueChange={setDraft} onSend={() => setDraft("")} placeholder="Message" sendLabel="Send" />
|
|
18
|
+
</View>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/chat/native/inbox.tsx
|
|
4
|
+
import { ConversationItem } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function NativeChatInbox() {
|
|
8
|
+
return /* @__PURE__ */ jsxs(View, { style: { width: 360 }, children: [
|
|
9
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Elena", presence: "online", presenceLabel: "online", preview: "typing\u2026", typing: true, time: "19:06", unread: 2, unreadLabel: "2 unread" }),
|
|
10
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Noah", presence: "away", presenceLabel: "away", preview: "See you Saturday then!", time: "Mon" }),
|
|
11
|
+
/* @__PURE__ */ jsx(ConversationItem, { name: "Mina", preview: "You: haha same", time: "Sun" })
|
|
12
|
+
] });
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
NativeChatInbox as default
|
|
16
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ConversationItem } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
|
|
4
|
+
// The inbox: presence, the last message or “typing…”, the time, the unread count.
|
|
5
|
+
export default function NativeChatInbox() {
|
|
6
|
+
return (
|
|
7
|
+
<View style={{ width: 360 }}>
|
|
8
|
+
<ConversationItem name="Elena" presence="online" presenceLabel="online" preview="typing…" typing time="19:06" unread={2} unreadLabel="2 unread" />
|
|
9
|
+
<ConversationItem name="Noah" presence="away" presenceLabel="away" preview="See you Saturday then!" time="Mon" />
|
|
10
|
+
<ConversationItem name="Mina" preview="You: haha same" time="Sun" />
|
|
11
|
+
</View>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/description-list/job-details.tsx
|
|
4
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
5
|
+
import { DescriptionList } from "@krizaka/ui/description-list";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
function DescriptionListJobDetails() {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
DescriptionList,
|
|
10
|
+
{
|
|
11
|
+
className: "max-w-sm",
|
|
12
|
+
items: [
|
|
13
|
+
{ term: "Status", details: /* @__PURE__ */ jsx(Badge, { tone: "accent", children: "Running" }) },
|
|
14
|
+
{ term: "Studio", details: "Dubbing \xB7 English, Spanish" },
|
|
15
|
+
{ term: "Started", details: "Oct 11, 2026, 14:02", hint: "by Elena Ruiz" },
|
|
16
|
+
{ term: "Credits", details: "120", hint: "estimated, charged at the end" }
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
DescriptionListJobDetails as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Badge } from "@krizaka/ui/badge";
|
|
2
|
+
import { DescriptionList } from "@krizaka/ui/description-list";
|
|
3
|
+
|
|
4
|
+
// A job's details, stacked: what a side panel shows.
|
|
5
|
+
export default function DescriptionListJobDetails() {
|
|
6
|
+
return (
|
|
7
|
+
<DescriptionList
|
|
8
|
+
className="max-w-sm"
|
|
9
|
+
items={[
|
|
10
|
+
{ term: "Status", details: <Badge tone="accent">Running</Badge> },
|
|
11
|
+
{ term: "Studio", details: "Dubbing · English, Spanish" },
|
|
12
|
+
{ term: "Started", details: "Oct 11, 2026, 14:02", hint: "by Elena Ruiz" },
|
|
13
|
+
{ term: "Credits", details: "120", hint: "estimated, charged at the end" },
|
|
14
|
+
]}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/description-list/key-value-grid.tsx
|
|
4
|
+
import { KeyValueGrid } from "@krizaka/ui/description-list";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function DescriptionListKeyValueGrid() {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
KeyValueGrid,
|
|
9
|
+
{
|
|
10
|
+
minWidth: 9,
|
|
11
|
+
items: [
|
|
12
|
+
{ term: "Requests / min", details: "600" },
|
|
13
|
+
{ term: "Concurrent jobs", details: "8" },
|
|
14
|
+
{ term: "Storage", details: "50 GB", hint: "18 GB used" },
|
|
15
|
+
{ term: "Retention", details: "30 days" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
DescriptionListKeyValueGrid as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { KeyValueGrid } from "@krizaka/ui/description-list";
|
|
2
|
+
|
|
3
|
+
// Key figures as cards that wrap: an account's limits in the console.
|
|
4
|
+
export default function DescriptionListKeyValueGrid() {
|
|
5
|
+
return (
|
|
6
|
+
<KeyValueGrid
|
|
7
|
+
minWidth={9}
|
|
8
|
+
items={[
|
|
9
|
+
{ term: "Requests / min", details: "600" },
|
|
10
|
+
{ term: "Concurrent jobs", details: "8" },
|
|
11
|
+
{ term: "Storage", details: "50 GB", hint: "18 GB used" },
|
|
12
|
+
{ term: "Retention", details: "30 days" },
|
|
13
|
+
]}
|
|
14
|
+
/>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/description-list/native/job-details.tsx
|
|
4
|
+
import { Badge, DescriptionList } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
function NativeDescriptionListJobDetails() {
|
|
8
|
+
return /* @__PURE__ */ jsxs(View, { style: { width: 320, gap: 24 }, children: [
|
|
9
|
+
/* @__PURE__ */ jsx(
|
|
10
|
+
DescriptionList,
|
|
11
|
+
{
|
|
12
|
+
items: [
|
|
13
|
+
{ term: "Status", details: /* @__PURE__ */ jsx(Badge, { tone: "accent", children: "Running" }) },
|
|
14
|
+
{ term: "Studio", details: "Dubbing \xB7 English, Spanish" },
|
|
15
|
+
{ term: "Started", details: "Oct 11, 14:02", hint: "by Elena Ruiz" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
20
|
+
DescriptionList,
|
|
21
|
+
{
|
|
22
|
+
layout: "inline",
|
|
23
|
+
items: [
|
|
24
|
+
{ term: "Estimated", details: "120 credits" },
|
|
25
|
+
{ term: "Left this month", details: "1,880 credits" }
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] });
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
NativeDescriptionListJobDetails as default
|
|
33
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Badge, DescriptionList } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
|
|
4
|
+
// A job's details on a phone: stacked, then a receipt inline.
|
|
5
|
+
export default function NativeDescriptionListJobDetails() {
|
|
6
|
+
return (
|
|
7
|
+
<View style={{ width: 320, gap: 24 }}>
|
|
8
|
+
<DescriptionList
|
|
9
|
+
items={[
|
|
10
|
+
{ term: "Status", details: <Badge tone="accent">Running</Badge> },
|
|
11
|
+
{ term: "Studio", details: "Dubbing · English, Spanish" },
|
|
12
|
+
{ term: "Started", details: "Oct 11, 14:02", hint: "by Elena Ruiz" },
|
|
13
|
+
]}
|
|
14
|
+
/>
|
|
15
|
+
<DescriptionList
|
|
16
|
+
layout="inline"
|
|
17
|
+
items={[
|
|
18
|
+
{ term: "Estimated", details: "120 credits" },
|
|
19
|
+
{ term: "Left this month", details: "1,880 credits" },
|
|
20
|
+
]}
|
|
21
|
+
/>
|
|
22
|
+
</View>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/description-list/receipt.tsx
|
|
4
|
+
import { DescriptionList } from "@krizaka/ui/description-list";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function DescriptionListReceipt() {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
DescriptionList,
|
|
9
|
+
{
|
|
10
|
+
layout: "inline",
|
|
11
|
+
className: "max-w-sm",
|
|
12
|
+
items: [
|
|
13
|
+
{ term: "Tip from @mina", details: "$10.00" },
|
|
14
|
+
{ term: "Payment fees", details: "\u2212$0.50" },
|
|
15
|
+
{ term: "Platform", details: "\u2212$1.00" },
|
|
16
|
+
{ term: "To you", details: "$8.50", hint: "paid on Oct 15" }
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
DescriptionListReceipt as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DescriptionList } from "@krizaka/ui/description-list";
|
|
2
|
+
|
|
3
|
+
// Inline: a tip's breakdown, read like a receipt.
|
|
4
|
+
export default function DescriptionListReceipt() {
|
|
5
|
+
return (
|
|
6
|
+
<DescriptionList
|
|
7
|
+
layout="inline"
|
|
8
|
+
className="max-w-sm"
|
|
9
|
+
items={[
|
|
10
|
+
{ term: "Tip from @mina", details: "$10.00" },
|
|
11
|
+
{ term: "Payment fees", details: "−$0.50" },
|
|
12
|
+
{ term: "Platform", details: "−$1.00" },
|
|
13
|
+
{ term: "To you", details: "$8.50", hint: "paid on Oct 15" },
|
|
14
|
+
]}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/fab/native/extended.tsx
|
|
4
|
+
import { Fab, useTheme } from "@krizaka/ui/native";
|
|
5
|
+
import { View } from "react-native";
|
|
6
|
+
import Svg, { Path } from "react-native-svg";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
function NativeFabExtended() {
|
|
9
|
+
const { theme } = useTheme();
|
|
10
|
+
const plus = /* @__PURE__ */ jsx(Svg, { width: 22, height: 22, viewBox: "0 0 24 24", stroke: theme.onAccent, strokeWidth: 2.4, strokeLinecap: "round", children: /* @__PURE__ */ jsx(Path, { d: "M12 5v14M5 12h14" }) });
|
|
11
|
+
return /* @__PURE__ */ jsxs(View, { style: { width: 360, height: 200, flexDirection: "row" }, children: [
|
|
12
|
+
/* @__PURE__ */ jsx(View, { style: { flex: 1 }, children: /* @__PURE__ */ jsx(Fab, { label: "New challenge", icon: plus, extended: true, onPress: () => void 0 }) }),
|
|
13
|
+
/* @__PURE__ */ jsx(View, { style: { flex: 1 }, children: /* @__PURE__ */ jsx(Fab, { label: "New challenge", icon: plus, onPress: () => void 0 }) })
|
|
14
|
+
] });
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
NativeFabExtended as default
|
|
18
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Fab, useTheme } from "@krizaka/ui/native";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import Svg, { Path } from "react-native-svg";
|
|
4
|
+
|
|
5
|
+
// The screen's one main action, floating over the list, above the tab bar (`offset`).
|
|
6
|
+
export default function NativeFabExtended() {
|
|
7
|
+
const { theme } = useTheme();
|
|
8
|
+
const plus = (
|
|
9
|
+
<Svg width={22} height={22} viewBox="0 0 24 24" stroke={theme.onAccent} strokeWidth={2.4} strokeLinecap="round">
|
|
10
|
+
<Path d="M12 5v14M5 12h14" />
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
13
|
+
return (
|
|
14
|
+
<View style={{ width: 360, height: 200, flexDirection: "row" }}>
|
|
15
|
+
<View style={{ flex: 1 }}>
|
|
16
|
+
<Fab label="New challenge" icon={plus} extended onPress={() => undefined} />
|
|
17
|
+
</View>
|
|
18
|
+
<View style={{ flex: 1 }}>
|
|
19
|
+
<Fab label="New challenge" icon={plus} onPress={() => undefined} />
|
|
20
|
+
</View>
|
|
21
|
+
</View>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
Binary file
|