@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
|
@@ -0,0 +1,673 @@
|
|
|
1
|
+
// src/native/map.tsx
|
|
2
|
+
import { Txt, useTheme } from "@krizaka/ui/native";
|
|
3
|
+
import {
|
|
4
|
+
Camera,
|
|
5
|
+
GeoJSONSource,
|
|
6
|
+
Layer,
|
|
7
|
+
LocationManager,
|
|
8
|
+
Map as MapView,
|
|
9
|
+
Marker as MapMarker
|
|
10
|
+
} from "@maplibre/maplibre-react-native";
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
import { Animated, Pressable, StyleSheet, Text, View } from "react-native";
|
|
13
|
+
import Svg, { Circle, Path } from "react-native-svg";
|
|
14
|
+
|
|
15
|
+
// src/map/assets.ts
|
|
16
|
+
var CDN = "https://krizaka-assets.b-cdn.net/maps/v1";
|
|
17
|
+
var MAP_TILES = {
|
|
18
|
+
world: `${CDN}/tiles/world-20261012.pmtiles`,
|
|
19
|
+
quebec: `${CDN}/tiles/quebec-20261012.pmtiles`
|
|
20
|
+
};
|
|
21
|
+
var MAP_GLYPHS = `${CDN}/fonts/{fontstack}/{range}.pbf`;
|
|
22
|
+
var MAP_ATTRIBUTION = { osm: "\xA9 OpenStreetMap contributors", osmUrl: "https://www.openstreetmap.org/copyright", protomaps: "Protomaps", protomapsUrl: "https://protomaps.com" };
|
|
23
|
+
var base = null;
|
|
24
|
+
function mapAssets() {
|
|
25
|
+
const at = (u) => base ? u.replace(CDN, base) : u;
|
|
26
|
+
return { tiles: { world: at(MAP_TILES.world), quebec: at(MAP_TILES.quebec) }, glyphs: at(MAP_GLYPHS) };
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// src/map/geo.ts
|
|
30
|
+
var R = 63710088e-1;
|
|
31
|
+
var rad = (d) => d * Math.PI / 180;
|
|
32
|
+
function distanceMeters(a, b) {
|
|
33
|
+
const dLat = rad(b[1] - a[1]);
|
|
34
|
+
const dLng = rad(b[0] - a[0]);
|
|
35
|
+
const h = Math.sin(dLat / 2) ** 2 + Math.cos(rad(a[1])) * Math.cos(rad(b[1])) * Math.sin(dLng / 2) ** 2;
|
|
36
|
+
return 2 * R * Math.asin(Math.min(1, Math.sqrt(h)));
|
|
37
|
+
}
|
|
38
|
+
function circlePolygon(center, radius, steps = 64) {
|
|
39
|
+
const [lng, lat] = center;
|
|
40
|
+
const d = radius / R;
|
|
41
|
+
const ring = [];
|
|
42
|
+
for (let i = 0; i <= steps; i++) {
|
|
43
|
+
const brg = 2 * Math.PI * i / steps;
|
|
44
|
+
const lat2 = Math.asin(Math.sin(rad(lat)) * Math.cos(d) + Math.cos(rad(lat)) * Math.sin(d) * Math.cos(brg));
|
|
45
|
+
const lng2 = rad(lng) + Math.atan2(Math.sin(brg) * Math.sin(d) * Math.cos(rad(lat)), Math.cos(d) - Math.sin(rad(lat)) * Math.sin(lat2));
|
|
46
|
+
ring.push([lng2 * 180 / Math.PI, lat2 * 180 / Math.PI]);
|
|
47
|
+
}
|
|
48
|
+
return { type: "Feature", properties: {}, geometry: { type: "Polygon", coordinates: [ring] } };
|
|
49
|
+
}
|
|
50
|
+
function formatDistance(meters, locale) {
|
|
51
|
+
if (meters < 1e3) return new Intl.NumberFormat(locale, { style: "unit", unit: "meter", maximumFractionDigits: 0 }).format(Math.round(meters / 10) * 10);
|
|
52
|
+
return new Intl.NumberFormat(locale, { style: "unit", unit: "kilometer", maximumFractionDigits: meters < 1e4 ? 1 : 0 }).format(meters / 1e3);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// ../tokens/dist/native.js
|
|
56
|
+
var themes = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Object.freeze({
|
|
57
|
+
"surface0": "#0c0c0e",
|
|
58
|
+
"surface1": "#161618",
|
|
59
|
+
"surface2": "#1f1f23",
|
|
60
|
+
"surface3": "#2a2a2d",
|
|
61
|
+
"media": "#1b1b1d",
|
|
62
|
+
"borderSubtle": "rgba(255,255,255,0.06)",
|
|
63
|
+
"borderDefault": "rgba(255,255,255,0.1)",
|
|
64
|
+
"borderStrong": "rgba(255,255,255,0.16)",
|
|
65
|
+
"textPrimary": "#f5f5f5",
|
|
66
|
+
"textSecondary": "#a0a0a7",
|
|
67
|
+
"textMuted": "#73737d",
|
|
68
|
+
"textOnMedia": "#ffffff",
|
|
69
|
+
"accent": "#196df5",
|
|
70
|
+
"accentHover": "#0e5bd8",
|
|
71
|
+
"accentSoft": "rgba(25,109,245,0.1)",
|
|
72
|
+
"accentText": "#629cf8",
|
|
73
|
+
"accent2": "#196df5",
|
|
74
|
+
"onAccent": "#ffffff",
|
|
75
|
+
"ring": "#196df5",
|
|
76
|
+
"brandGradientFrom": "#0e1525",
|
|
77
|
+
"brandGradientVia": "#0e0f16",
|
|
78
|
+
"brandGradientTo": "#0c0c0e",
|
|
79
|
+
"success": "#10b77f",
|
|
80
|
+
"successText": "#36d399",
|
|
81
|
+
"successSoft": "rgba(16,183,127,0.14)",
|
|
82
|
+
"warning": "#f59f0a",
|
|
83
|
+
"warningText": "#f6a823",
|
|
84
|
+
"warningSoft": "rgba(245,159,10,0.14)",
|
|
85
|
+
"danger": "#ef4343",
|
|
86
|
+
"dangerText": "#f87272",
|
|
87
|
+
"dangerSoft": "rgba(239,67,67,0.14)",
|
|
88
|
+
"info": "#196df5",
|
|
89
|
+
"infoText": "#629cf8",
|
|
90
|
+
"scrim": "rgba(0,0,0,0.6)",
|
|
91
|
+
"scrimStrong": "rgba(0,0,0,0.8)",
|
|
92
|
+
"overlay": "rgba(0,0,0,0.7)",
|
|
93
|
+
"surfaceSheen": "rgba(255,255,255,0.045)",
|
|
94
|
+
"fillShade": "rgba(0,0,0,0.12)",
|
|
95
|
+
"edgeLight": "rgba(255,255,255,0.07)",
|
|
96
|
+
"edgeOnFill": "rgba(255,255,255,0.22)",
|
|
97
|
+
"edgeWell": "rgba(4,4,7,0.5)",
|
|
98
|
+
"glassBg": "rgba(29,29,32,0.88)",
|
|
99
|
+
"glassBorder": "rgba(255,255,255,0.1)"
|
|
100
|
+
}), light: /* @__PURE__ */ Object.freeze({
|
|
101
|
+
"surface0": "#fafafa",
|
|
102
|
+
"surface1": "#ffffff",
|
|
103
|
+
"surface2": "#f1f1f3",
|
|
104
|
+
"surface3": "#e4e4e7",
|
|
105
|
+
"media": "#e9e9ec",
|
|
106
|
+
"borderSubtle": "rgba(0,0,0,0.06)",
|
|
107
|
+
"borderDefault": "rgba(0,0,0,0.1)",
|
|
108
|
+
"borderStrong": "rgba(0,0,0,0.16)",
|
|
109
|
+
"textPrimary": "#18181b",
|
|
110
|
+
"textSecondary": "#64646d",
|
|
111
|
+
"textMuted": "#808089",
|
|
112
|
+
"textOnMedia": "#ffffff",
|
|
113
|
+
"accent": "#0a64f5",
|
|
114
|
+
"accentHover": "#0d55c9",
|
|
115
|
+
"accentSoft": "rgba(10,100,245,0.08)",
|
|
116
|
+
"accentText": "#0954ce",
|
|
117
|
+
"accent2": "#0a64f5",
|
|
118
|
+
"onAccent": "#ffffff",
|
|
119
|
+
"ring": "#0a64f5",
|
|
120
|
+
"brandGradientFrom": "#dcebfe",
|
|
121
|
+
"brandGradientVia": "#f3f6fc",
|
|
122
|
+
"brandGradientTo": "#fafafa",
|
|
123
|
+
"success": "#10b77f",
|
|
124
|
+
"successText": "#0a714e",
|
|
125
|
+
"successSoft": "rgba(16,183,127,0.1)",
|
|
126
|
+
"warning": "#f59f0a",
|
|
127
|
+
"warningText": "#955104",
|
|
128
|
+
"warningSoft": "rgba(245,159,10,0.12)",
|
|
129
|
+
"danger": "#ef4343",
|
|
130
|
+
"dangerText": "#af1d1d",
|
|
131
|
+
"dangerSoft": "rgba(239,67,67,0.1)",
|
|
132
|
+
"info": "#0a64f5",
|
|
133
|
+
"infoText": "#0954ce",
|
|
134
|
+
"scrim": "rgba(0,0,0,0.6)",
|
|
135
|
+
"scrimStrong": "rgba(0,0,0,0.8)",
|
|
136
|
+
"overlay": "rgba(0,0,0,0.7)",
|
|
137
|
+
"surfaceSheen": "rgba(255,255,255,0.7)",
|
|
138
|
+
"fillShade": "rgba(0,0,0,0.12)",
|
|
139
|
+
"edgeLight": "rgba(255,255,255,0.9)",
|
|
140
|
+
"edgeOnFill": "rgba(255,255,255,0.22)",
|
|
141
|
+
"edgeWell": "rgba(48,52,80,0.08)",
|
|
142
|
+
"glassBg": "rgba(255,255,255,0.88)",
|
|
143
|
+
"glassBorder": "rgba(0,0,0,0.08)"
|
|
144
|
+
}) });
|
|
145
|
+
var brands = /* @__PURE__ */ Object.freeze({
|
|
146
|
+
"krizaka": {
|
|
147
|
+
"dark": {
|
|
148
|
+
"accent": "#196df5",
|
|
149
|
+
"accentHover": "#0e5bd8",
|
|
150
|
+
"accentSoft": "rgba(25,109,245,0.1)",
|
|
151
|
+
"accentText": "#629cf8",
|
|
152
|
+
"accent2": "#196df5",
|
|
153
|
+
"onAccent": "#ffffff",
|
|
154
|
+
"ring": "#196df5",
|
|
155
|
+
"info": "#196df5",
|
|
156
|
+
"infoText": "#629cf8",
|
|
157
|
+
"brandGradientFrom": "#0e1525",
|
|
158
|
+
"brandGradientVia": "#0e0f16",
|
|
159
|
+
"brandGradientTo": "#0c0c0e"
|
|
160
|
+
},
|
|
161
|
+
"light": {
|
|
162
|
+
"accent": "#0a64f5",
|
|
163
|
+
"accentHover": "#0d55c9",
|
|
164
|
+
"accentSoft": "rgba(10,100,245,0.08)",
|
|
165
|
+
"accentText": "#0954ce",
|
|
166
|
+
"accent2": "#0a64f5",
|
|
167
|
+
"onAccent": "#ffffff",
|
|
168
|
+
"ring": "#0a64f5",
|
|
169
|
+
"info": "#0a64f5",
|
|
170
|
+
"infoText": "#0954ce",
|
|
171
|
+
"brandGradientFrom": "#dcebfe",
|
|
172
|
+
"brandGradientVia": "#f3f6fc",
|
|
173
|
+
"brandGradientTo": "#fafafa"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"orazaka": {
|
|
177
|
+
"dark": {
|
|
178
|
+
"accent": "#f67e23",
|
|
179
|
+
"accentHover": "#f79245",
|
|
180
|
+
"accentSoft": "rgba(246,126,35,0.12)",
|
|
181
|
+
"accentText": "#f78c3b",
|
|
182
|
+
"accent2": "#f59e0b",
|
|
183
|
+
"onAccent": "#0c0c0e",
|
|
184
|
+
"ring": "#f67e23",
|
|
185
|
+
"info": "#3b83f7",
|
|
186
|
+
"infoText": "#629cf8",
|
|
187
|
+
"brandGradientFrom": "#28170b",
|
|
188
|
+
"brandGradientVia": "#17130c",
|
|
189
|
+
"brandGradientTo": "#0c0c0e"
|
|
190
|
+
},
|
|
191
|
+
"light": {
|
|
192
|
+
"accent": "#b45309",
|
|
193
|
+
"accentHover": "#964608",
|
|
194
|
+
"accentSoft": "rgba(180,83,9,0.08)",
|
|
195
|
+
"accentText": "#9b4808",
|
|
196
|
+
"accent2": "#a45904",
|
|
197
|
+
"onAccent": "#ffffff",
|
|
198
|
+
"ring": "#b45309",
|
|
199
|
+
"info": "#0a64f5",
|
|
200
|
+
"infoText": "#0954ce",
|
|
201
|
+
"brandGradientFrom": "#ffebd6",
|
|
202
|
+
"brandGradientVia": "#fdf7ed",
|
|
203
|
+
"brandGradientTo": "#fafafa"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"orochia": {
|
|
207
|
+
"dark": {
|
|
208
|
+
"accent": "#7c3aed",
|
|
209
|
+
"accentHover": "#6d28d9",
|
|
210
|
+
"accentSoft": "rgba(139,92,246,0.12)",
|
|
211
|
+
"accentText": "#a78bfa",
|
|
212
|
+
"accent2": "#db2777",
|
|
213
|
+
"onAccent": "#ffffff",
|
|
214
|
+
"ring": "#a78bfa",
|
|
215
|
+
"info": "#7c3aed",
|
|
216
|
+
"infoText": "#a78bfa",
|
|
217
|
+
"brandGradientFrom": "#1a0e2a",
|
|
218
|
+
"brandGradientVia": "#1c0d17",
|
|
219
|
+
"brandGradientTo": "#0c0c0e"
|
|
220
|
+
},
|
|
221
|
+
"light": {
|
|
222
|
+
"accent": "#7c3aed",
|
|
223
|
+
"accentHover": "#6d28d9",
|
|
224
|
+
"accentSoft": "rgba(124,58,237,0.08)",
|
|
225
|
+
"accentText": "#6d28d9",
|
|
226
|
+
"accent2": "#db2777",
|
|
227
|
+
"onAccent": "#ffffff",
|
|
228
|
+
"ring": "#7c3aed",
|
|
229
|
+
"info": "#7c3aed",
|
|
230
|
+
"infoText": "#6d28d9",
|
|
231
|
+
"brandGradientFrom": "#efe7fe",
|
|
232
|
+
"brandGradientVia": "#fdedf5",
|
|
233
|
+
"brandGradientTo": "#fafafa"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"yazakia": {
|
|
237
|
+
"dark": {
|
|
238
|
+
"accent": "#24dbc9",
|
|
239
|
+
"accentHover": "#47e1d2",
|
|
240
|
+
"accentSoft": "rgba(36,219,201,0.12)",
|
|
241
|
+
"accentText": "#3ee0cf",
|
|
242
|
+
"accent2": "#22c378",
|
|
243
|
+
"onAccent": "#0c0c0e",
|
|
244
|
+
"ring": "#24dbc9",
|
|
245
|
+
"info": "#3b83f7",
|
|
246
|
+
"infoText": "#629cf8",
|
|
247
|
+
"brandGradientFrom": "#0a241e",
|
|
248
|
+
"brandGradientVia": "#0c1818",
|
|
249
|
+
"brandGradientTo": "#0c0c0e"
|
|
250
|
+
},
|
|
251
|
+
"light": {
|
|
252
|
+
"accent": "#097169",
|
|
253
|
+
"accentHover": "#085e57",
|
|
254
|
+
"accentSoft": "rgba(9,113,105,0.08)",
|
|
255
|
+
"accentText": "#096d64",
|
|
256
|
+
"accent2": "#107546",
|
|
257
|
+
"onAccent": "#ffffff",
|
|
258
|
+
"ring": "#097169",
|
|
259
|
+
"info": "#0a64f5",
|
|
260
|
+
"infoText": "#0954ce",
|
|
261
|
+
"brandGradientFrom": "#e1faf1",
|
|
262
|
+
"brandGradientVia": "#e9fbfa",
|
|
263
|
+
"brandGradientTo": "#fafafa"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"yororis": {
|
|
267
|
+
"dark": {
|
|
268
|
+
"accent": "#98b587",
|
|
269
|
+
"accentHover": "#adc69f",
|
|
270
|
+
"accentSoft": "rgba(152,181,135,0.12)",
|
|
271
|
+
"accentText": "#a7c497",
|
|
272
|
+
"accent2": "#c3a579",
|
|
273
|
+
"onAccent": "#0c0c0e",
|
|
274
|
+
"ring": "#98b587",
|
|
275
|
+
"info": "#3b83f7",
|
|
276
|
+
"infoText": "#629cf8",
|
|
277
|
+
"brandGradientFrom": "#1c1812",
|
|
278
|
+
"brandGradientVia": "#11140f",
|
|
279
|
+
"brandGradientTo": "#0c0c0e"
|
|
280
|
+
},
|
|
281
|
+
"light": {
|
|
282
|
+
"accent": "#456237",
|
|
283
|
+
"accentHover": "#39532d",
|
|
284
|
+
"accentSoft": "rgba(69,98,55,0.08)",
|
|
285
|
+
"accentText": "#415b33",
|
|
286
|
+
"accent2": "#745834",
|
|
287
|
+
"onAccent": "#ffffff",
|
|
288
|
+
"ring": "#456237",
|
|
289
|
+
"info": "#0a64f5",
|
|
290
|
+
"infoText": "#0954ce",
|
|
291
|
+
"brandGradientFrom": "#f5efe5",
|
|
292
|
+
"brandGradientVia": "#f1f6ee",
|
|
293
|
+
"brandGradientTo": "#fafafa"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
// src/map/style.ts
|
|
299
|
+
import { layers, namedFlavor } from "@protomaps/basemaps";
|
|
300
|
+
function mix(a, b, t) {
|
|
301
|
+
const p = (h) => [1, 3, 5].map((i) => parseInt(h.slice(i, i + 2), 16));
|
|
302
|
+
const [x, y] = [p(a), p(b)];
|
|
303
|
+
return `#${x.map((v, i) => Math.round(v + (y[i] - v) * t).toString(16).padStart(2, "0")).join("")}`;
|
|
304
|
+
}
|
|
305
|
+
function mapPalette(scheme, brand = "krizaka") {
|
|
306
|
+
const t = { ...themes[scheme], ...brands[brand]?.[scheme] };
|
|
307
|
+
const dark = scheme === "dark";
|
|
308
|
+
const land = dark ? t.surface1 : t.surface0;
|
|
309
|
+
return {
|
|
310
|
+
land,
|
|
311
|
+
background: dark ? t.surface0 : t.surface2,
|
|
312
|
+
water: mix(land, t.accent, dark ? 0.18 : 0.14),
|
|
313
|
+
park: mix(land, t.success, dark ? 0.1 : 0.12),
|
|
314
|
+
road: dark ? mix(land, t.textPrimary, 0.12) : "#ffffff",
|
|
315
|
+
roadMajor: dark ? mix(land, t.textPrimary, 0.2) : mix(land, t.textPrimary, 0.06),
|
|
316
|
+
casing: mix(land, t.textPrimary, dark ? 0.05 : 0.12),
|
|
317
|
+
building: mix(land, t.textPrimary, dark ? 0.06 : 0.07),
|
|
318
|
+
boundary: mix(land, t.textPrimary, 0.3),
|
|
319
|
+
label: t.textSecondary,
|
|
320
|
+
labelStrong: t.textPrimary,
|
|
321
|
+
halo: land,
|
|
322
|
+
accent: t.accent,
|
|
323
|
+
onAccent: t.onAccent
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
function mapFlavor(scheme, brand) {
|
|
327
|
+
const c = mapPalette(scheme, brand);
|
|
328
|
+
const base2 = namedFlavor(scheme);
|
|
329
|
+
return {
|
|
330
|
+
...base2,
|
|
331
|
+
background: c.background,
|
|
332
|
+
earth: c.land,
|
|
333
|
+
park_a: c.park,
|
|
334
|
+
park_b: c.park,
|
|
335
|
+
wood_a: c.park,
|
|
336
|
+
wood_b: c.park,
|
|
337
|
+
scrub_a: c.park,
|
|
338
|
+
scrub_b: c.park,
|
|
339
|
+
glacier: c.land,
|
|
340
|
+
sand: c.land,
|
|
341
|
+
beach: c.land,
|
|
342
|
+
zoo: c.park,
|
|
343
|
+
hospital: c.land,
|
|
344
|
+
industrial: c.land,
|
|
345
|
+
school: c.land,
|
|
346
|
+
military: c.land,
|
|
347
|
+
aerodrome: c.land,
|
|
348
|
+
pedestrian: c.land,
|
|
349
|
+
runway: c.building,
|
|
350
|
+
water: c.water,
|
|
351
|
+
buildings: c.building,
|
|
352
|
+
pier: c.building,
|
|
353
|
+
boundaries: c.boundary,
|
|
354
|
+
railway: c.casing,
|
|
355
|
+
other: c.road,
|
|
356
|
+
minor_service: c.road,
|
|
357
|
+
minor_a: c.road,
|
|
358
|
+
minor_b: c.road,
|
|
359
|
+
link: c.road,
|
|
360
|
+
major: c.roadMajor,
|
|
361
|
+
highway: c.roadMajor,
|
|
362
|
+
bridges_other: c.road,
|
|
363
|
+
bridges_minor: c.road,
|
|
364
|
+
bridges_link: c.road,
|
|
365
|
+
bridges_major: c.roadMajor,
|
|
366
|
+
bridges_highway: c.roadMajor,
|
|
367
|
+
tunnel_other: c.road,
|
|
368
|
+
tunnel_minor: c.road,
|
|
369
|
+
tunnel_link: c.road,
|
|
370
|
+
tunnel_major: c.roadMajor,
|
|
371
|
+
tunnel_highway: c.roadMajor,
|
|
372
|
+
minor_service_casing: c.casing,
|
|
373
|
+
minor_casing: c.casing,
|
|
374
|
+
link_casing: c.casing,
|
|
375
|
+
major_casing_late: c.casing,
|
|
376
|
+
major_casing_early: c.casing,
|
|
377
|
+
highway_casing_late: c.casing,
|
|
378
|
+
highway_casing_early: c.casing,
|
|
379
|
+
bridges_other_casing: c.casing,
|
|
380
|
+
bridges_minor_casing: c.casing,
|
|
381
|
+
bridges_link_casing: c.casing,
|
|
382
|
+
bridges_major_casing: c.casing,
|
|
383
|
+
bridges_highway_casing: c.casing,
|
|
384
|
+
tunnel_other_casing: c.casing,
|
|
385
|
+
tunnel_minor_casing: c.casing,
|
|
386
|
+
tunnel_link_casing: c.casing,
|
|
387
|
+
tunnel_major_casing: c.casing,
|
|
388
|
+
tunnel_highway_casing: c.casing,
|
|
389
|
+
roads_label_minor: c.label,
|
|
390
|
+
roads_label_minor_halo: c.halo,
|
|
391
|
+
roads_label_major: c.label,
|
|
392
|
+
roads_label_major_halo: c.halo,
|
|
393
|
+
ocean_label: c.label,
|
|
394
|
+
subplace_label: c.label,
|
|
395
|
+
subplace_label_halo: c.halo,
|
|
396
|
+
city_label: c.labelStrong,
|
|
397
|
+
city_label_halo: c.halo,
|
|
398
|
+
state_label: c.label,
|
|
399
|
+
state_label_halo: c.halo,
|
|
400
|
+
country_label: c.label,
|
|
401
|
+
address_label: c.label,
|
|
402
|
+
address_label_halo: c.halo,
|
|
403
|
+
regular: "Noto Sans Regular",
|
|
404
|
+
bold: "Noto Sans Medium",
|
|
405
|
+
italic: "Noto Sans Italic",
|
|
406
|
+
// No point-of-interest icons (no sprite to host): the app's own markers carry the places that matter.
|
|
407
|
+
pois: void 0,
|
|
408
|
+
landcover: void 0
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
var REGION_FROM_ZOOM = 6.5;
|
|
412
|
+
function mapStyle({ scheme, brand, lang = "en", world = { url: mapAssets().tiles.world, maxzoom: 6 }, region = { url: mapAssets().tiles.quebec, maxzoom: 14 }, glyphs = mapAssets().glyphs }) {
|
|
413
|
+
const flavor = mapFlavor(scheme, brand);
|
|
414
|
+
const attribution = `<a href="${MAP_ATTRIBUTION.protomapsUrl}">${MAP_ATTRIBUTION.protomaps}</a> \xB7 <a href="${MAP_ATTRIBUTION.osmUrl}">${MAP_ATTRIBUTION.osm}</a>`;
|
|
415
|
+
const sources = {};
|
|
416
|
+
const all = [];
|
|
417
|
+
if (world) {
|
|
418
|
+
sources.world = { type: "vector", url: `pmtiles://${world.url}`, attribution };
|
|
419
|
+
for (const l of layers("world", flavor, { lang })) {
|
|
420
|
+
if (l.id === "background") all.push(l);
|
|
421
|
+
else all.push({ ...l, id: `world-${l.id}`, maxzoom: region ? Math.min(l.maxzoom ?? 24, REGION_FROM_ZOOM) : l.maxzoom });
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
if (region) {
|
|
425
|
+
sources.region = { type: "vector", url: `pmtiles://${region.url}`, attribution };
|
|
426
|
+
for (const l of layers("region", flavor, { lang })) {
|
|
427
|
+
if (l.id === "background") {
|
|
428
|
+
if (!world) all.push(l);
|
|
429
|
+
continue;
|
|
430
|
+
}
|
|
431
|
+
all.push({ ...l, id: `region-${l.id}`, minzoom: world ? Math.max(l.minzoom ?? 0, REGION_FROM_ZOOM) : l.minzoom });
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
const drawn = all.filter((l) => !l.layout?.["icon-image"]);
|
|
435
|
+
return { version: 8, glyphs, sources, layers: drawn.map((l) => l.maxzoom === void 0 ? withoutKey(l, "maxzoom") : l) };
|
|
436
|
+
}
|
|
437
|
+
var withoutKey = (o, key) => Object.fromEntries(Object.entries(o).filter(([k]) => k !== key));
|
|
438
|
+
|
|
439
|
+
// src/native/map.tsx
|
|
440
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
441
|
+
var MapContext = React.createContext(null);
|
|
442
|
+
var useMapContext = () => {
|
|
443
|
+
const ctx = React.useContext(MapContext);
|
|
444
|
+
if (!ctx) throw new Error("inside a <Map> only");
|
|
445
|
+
return ctx;
|
|
446
|
+
};
|
|
447
|
+
function Map({ label, center, zoom = 12, brand, lang, region, world, interactive = true, onMoveEnd, onPress, children, style }) {
|
|
448
|
+
const { scheme, theme, radius, motion } = useTheme();
|
|
449
|
+
const reduce = motion.duration.base === 0;
|
|
450
|
+
const camera = React.useRef(null);
|
|
451
|
+
const [places, setPlaces] = React.useState({});
|
|
452
|
+
const registry = React.useMemo(
|
|
453
|
+
() => ({
|
|
454
|
+
add: (id, text) => setPlaces((p) => p[id] === text ? p : { ...p, [id]: text }),
|
|
455
|
+
remove: (id) => setPlaces((p) => {
|
|
456
|
+
const { [id]: _gone, ...rest } = p;
|
|
457
|
+
return rest;
|
|
458
|
+
})
|
|
459
|
+
}),
|
|
460
|
+
[]
|
|
461
|
+
);
|
|
462
|
+
const styleJson = React.useMemo(() => mapStyle({ scheme, brand, lang, ...region !== void 0 ? { region } : {}, ...world !== void 0 ? { world } : {} }), [scheme, brand, lang, region, world]);
|
|
463
|
+
const palette = React.useMemo(() => mapPalette(scheme, brand), [scheme, brand]);
|
|
464
|
+
const listed = Object.values(places);
|
|
465
|
+
const ctx = React.useMemo(() => ({ palette, reduce, places: registry }), [palette, reduce, registry]);
|
|
466
|
+
return /* @__PURE__ */ jsx(MapContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxs(View, { style: [styles.root, { borderRadius: radius.xl, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
|
|
467
|
+
/* @__PURE__ */ jsxs(
|
|
468
|
+
MapView,
|
|
469
|
+
{
|
|
470
|
+
style: StyleSheet.absoluteFill,
|
|
471
|
+
mapStyle: styleJson,
|
|
472
|
+
"aria-label": listed.length ? `${label}: ${listed.join(", ")}` : label,
|
|
473
|
+
dragPan: interactive,
|
|
474
|
+
touchZoom: interactive,
|
|
475
|
+
doubleTapZoom: interactive,
|
|
476
|
+
touchRotate: false,
|
|
477
|
+
touchPitch: false,
|
|
478
|
+
attribution: false,
|
|
479
|
+
logo: false,
|
|
480
|
+
compass: false,
|
|
481
|
+
onRegionDidChange: (e) => onMoveEnd?.({ center: e.nativeEvent.center, zoom: e.nativeEvent.zoom }),
|
|
482
|
+
onPress: (e) => {
|
|
483
|
+
const coords = e.nativeEvent.lngLat;
|
|
484
|
+
if (coords) onPress?.(coords);
|
|
485
|
+
},
|
|
486
|
+
children: [
|
|
487
|
+
/* @__PURE__ */ jsx(Camera, { ref: camera, center: [...center], zoom, duration: reduce ? 0 : 600, easing: reduce ? void 0 : "ease" }),
|
|
488
|
+
children
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
),
|
|
492
|
+
/* @__PURE__ */ jsx(View, { style: [styles.attribution, { backgroundColor: theme.surface1, borderRadius: radius.sm }], children: /* @__PURE__ */ jsxs(Text, { style: [styles.attributionText, { color: theme.textSecondary }], children: [
|
|
493
|
+
MAP_ATTRIBUTION.protomaps,
|
|
494
|
+
" \xB7 ",
|
|
495
|
+
MAP_ATTRIBUTION.osm
|
|
496
|
+
] }) })
|
|
497
|
+
] }) });
|
|
498
|
+
}
|
|
499
|
+
function usePlace(label) {
|
|
500
|
+
const { places } = useMapContext();
|
|
501
|
+
const id = React.useId();
|
|
502
|
+
React.useEffect(() => {
|
|
503
|
+
places.add(id, label);
|
|
504
|
+
return () => places.remove(id);
|
|
505
|
+
}, [id, label, places]);
|
|
506
|
+
return id;
|
|
507
|
+
}
|
|
508
|
+
function Marker({ position, label, onPress, selected, children }) {
|
|
509
|
+
const { palette } = useMapContext();
|
|
510
|
+
const { theme, radius, haptic } = useTheme();
|
|
511
|
+
const id = usePlace(label);
|
|
512
|
+
return /* @__PURE__ */ jsx(MapMarker, { id, lngLat: [...position], anchor: "center", selected, children: /* @__PURE__ */ jsxs(
|
|
513
|
+
Pressable,
|
|
514
|
+
{
|
|
515
|
+
role: onPress ? "button" : void 0,
|
|
516
|
+
"aria-label": label,
|
|
517
|
+
disabled: !onPress,
|
|
518
|
+
hitSlop: 12,
|
|
519
|
+
onPress: () => {
|
|
520
|
+
haptic("selection");
|
|
521
|
+
onPress?.();
|
|
522
|
+
},
|
|
523
|
+
style: styles.markerSlot,
|
|
524
|
+
children: [
|
|
525
|
+
selected ? /* @__PURE__ */ jsx(View, { style: [styles.markerLabel, { backgroundColor: theme.surface1, borderColor: theme.borderDefault, borderRadius: radius.md }], children: /* @__PURE__ */ jsx(Txt, { variant: "label", children: label }) }) : null,
|
|
526
|
+
children ?? /* @__PURE__ */ jsx(View, { style: [styles.dot, { backgroundColor: palette.accent, borderColor: palette.onAccent, transform: [{ scale: selected ? 1.3 : 1 }] }] })
|
|
527
|
+
]
|
|
528
|
+
}
|
|
529
|
+
) });
|
|
530
|
+
}
|
|
531
|
+
function UserPosition({ position, label, accuracy }) {
|
|
532
|
+
const { palette, reduce } = useMapContext();
|
|
533
|
+
const id = usePlace(label);
|
|
534
|
+
const [pulse] = React.useState(() => new Animated.Value(0));
|
|
535
|
+
React.useEffect(() => {
|
|
536
|
+
if (reduce) return;
|
|
537
|
+
const loop = Animated.loop(Animated.timing(pulse, { toValue: 1, duration: 2e3, useNativeDriver: true }));
|
|
538
|
+
loop.start();
|
|
539
|
+
return () => loop.stop();
|
|
540
|
+
}, [pulse, reduce]);
|
|
541
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
542
|
+
accuracy ? /* @__PURE__ */ jsx(RadiusCircle, { center: position, radius: accuracy, tone: "soft" }) : null,
|
|
543
|
+
/* @__PURE__ */ jsx(MapMarker, { id, lngLat: [...position], anchor: "center", children: /* @__PURE__ */ jsxs(View, { role: "img", "aria-label": label, accessible: true, style: styles.userSlot, children: [
|
|
544
|
+
/* @__PURE__ */ jsx(Animated.View, { style: [styles.userHalo, { backgroundColor: palette.accent, opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.4, 0] }), transform: [{ scale: pulse.interpolate({ inputRange: [0, 1], outputRange: [1, 3] }) }] }] }),
|
|
545
|
+
/* @__PURE__ */ jsx(View, { style: [styles.user, { backgroundColor: palette.accent, borderColor: palette.halo }] })
|
|
546
|
+
] }) })
|
|
547
|
+
] });
|
|
548
|
+
}
|
|
549
|
+
function RadiusCircle({ center, radius, tone = "accent" }) {
|
|
550
|
+
const { palette } = useMapContext();
|
|
551
|
+
const id = `kz-circle-${React.useId().replace(/[^a-zA-Z0-9]/g, "")}`;
|
|
552
|
+
const data = React.useMemo(() => circlePolygon(center, radius), [center, radius]);
|
|
553
|
+
return /* @__PURE__ */ jsxs(GeoJSONSource, { id, data, children: [
|
|
554
|
+
/* @__PURE__ */ jsx(Layer, { type: "fill", id: `${id}-fill`, paint: { "fill-color": palette.accent, "fill-opacity": tone === "soft" ? 0.1 : 0.14 } }),
|
|
555
|
+
/* @__PURE__ */ jsx(Layer, { type: "line", id: `${id}-line`, paint: { "line-color": palette.accent, "line-width": tone === "soft" ? 1 : 2, "line-opacity": tone === "soft" ? 0.4 : 0.9 } })
|
|
556
|
+
] });
|
|
557
|
+
}
|
|
558
|
+
function Cluster({ points, onPointPress, radius = 48 }) {
|
|
559
|
+
const { palette, places } = useMapContext();
|
|
560
|
+
const id = `kz-cluster-${React.useId().replace(/[^a-zA-Z0-9]/g, "")}`;
|
|
561
|
+
React.useEffect(() => {
|
|
562
|
+
for (const p of points) places.add(`${id}-${p.id}`, p.label);
|
|
563
|
+
return () => points.forEach((p) => places.remove(`${id}-${p.id}`));
|
|
564
|
+
}, [points, places, id]);
|
|
565
|
+
const data = React.useMemo(
|
|
566
|
+
() => ({ type: "FeatureCollection", features: points.map((p) => ({ type: "Feature", properties: { id: p.id, label: p.label }, geometry: { type: "Point", coordinates: [...p.position] } })) }),
|
|
567
|
+
[points]
|
|
568
|
+
);
|
|
569
|
+
return /* @__PURE__ */ jsxs(
|
|
570
|
+
GeoJSONSource,
|
|
571
|
+
{
|
|
572
|
+
id,
|
|
573
|
+
data,
|
|
574
|
+
cluster: true,
|
|
575
|
+
clusterRadius: radius,
|
|
576
|
+
clusterMaxZoom: 15,
|
|
577
|
+
onPress: (e) => {
|
|
578
|
+
const feature = e.nativeEvent?.features?.[0];
|
|
579
|
+
const pid = feature?.properties?.id;
|
|
580
|
+
const point = points.find((p) => p.id === pid);
|
|
581
|
+
if (point) onPointPress?.(point);
|
|
582
|
+
},
|
|
583
|
+
children: [
|
|
584
|
+
/* @__PURE__ */ jsx(Layer, { type: "circle", id: `${id}-groups`, filter: ["has", "point_count"], paint: { "circle-color": palette.accent, "circle-radius": ["step", ["get", "point_count"], 16, 10, 20, 50, 26], "circle-stroke-width": 3, "circle-stroke-color": palette.halo } }),
|
|
585
|
+
/* @__PURE__ */ jsx(Layer, { type: "symbol", id: `${id}-count`, filter: ["has", "point_count"], layout: { "text-field": ["get", "point_count_abbreviated"], "text-font": ["Noto Sans Medium"], "text-size": 13 }, paint: { "text-color": palette.onAccent } }),
|
|
586
|
+
/* @__PURE__ */ jsx(Layer, { type: "circle", id: `${id}-points`, filter: ["!", ["has", "point_count"]], paint: { "circle-color": palette.accent, "circle-radius": 7, "circle-stroke-width": 2.5, "circle-stroke-color": palette.halo } })
|
|
587
|
+
]
|
|
588
|
+
}
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
var pickerLabels = {
|
|
592
|
+
nearMe: "Near me",
|
|
593
|
+
locating: "Finding you\u2026",
|
|
594
|
+
denied: "Location is off for this app. Move the map instead.",
|
|
595
|
+
unavailable: "We could not find you. Move the map instead.",
|
|
596
|
+
you: "You are here",
|
|
597
|
+
distance: (d) => `${d} from you`
|
|
598
|
+
};
|
|
599
|
+
function LocationPicker({ label, value, onValueChange, locale, zoom = 14, radius: zone, origin: originProp = null, labels: given, style, ...map }) {
|
|
600
|
+
const labels = { ...pickerLabels, ...given };
|
|
601
|
+
const { theme, radius, haptic } = useTheme();
|
|
602
|
+
const [origin, setOrigin] = React.useState(originProp);
|
|
603
|
+
const [camera, setCamera] = React.useState(value);
|
|
604
|
+
const [status, setStatus] = React.useState("idle");
|
|
605
|
+
const nearMe = async () => {
|
|
606
|
+
setStatus("locating");
|
|
607
|
+
try {
|
|
608
|
+
if (!await LocationManager.requestPermissions()) return setStatus("denied");
|
|
609
|
+
const p = await LocationManager.getCurrentPosition();
|
|
610
|
+
if (!p) return setStatus("unavailable");
|
|
611
|
+
const here = [p.coords.longitude, p.coords.latitude];
|
|
612
|
+
haptic("success");
|
|
613
|
+
setOrigin(here);
|
|
614
|
+
setCamera(here);
|
|
615
|
+
onValueChange(here);
|
|
616
|
+
setStatus("idle");
|
|
617
|
+
} catch {
|
|
618
|
+
setStatus("unavailable");
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
const message = status === "locating" ? labels.locating : status === "denied" ? labels.denied : status === "unavailable" ? labels.unavailable : null;
|
|
622
|
+
return /* @__PURE__ */ jsxs(View, { role: "group", "aria-label": label, style: [styles.picker, style], children: [
|
|
623
|
+
/* @__PURE__ */ jsxs(View, { style: styles.pickerFrame, children: [
|
|
624
|
+
/* @__PURE__ */ jsxs(Map, { ...map, label, center: camera, zoom, onMoveEnd: (v) => onValueChange(v.center), style: StyleSheet.absoluteFill, children: [
|
|
625
|
+
zone ? /* @__PURE__ */ jsx(RadiusCircle, { center: value, radius: zone }) : null,
|
|
626
|
+
origin ? /* @__PURE__ */ jsx(UserPosition, { position: origin, label: labels.you }) : null
|
|
627
|
+
] }),
|
|
628
|
+
/* @__PURE__ */ jsx(View, { pointerEvents: "none", style: styles.pin, children: /* @__PURE__ */ jsxs(Svg, { width: 30, height: 40, viewBox: "0 0 24 32", "aria-hidden": true, children: [
|
|
629
|
+
/* @__PURE__ */ jsx(Path, { d: "M12 0C5.4 0 0 5.2 0 11.7 0 20.4 12 32 12 32s12-11.6 12-20.3C24 5.2 18.6 0 12 0Z", fill: theme.accent }),
|
|
630
|
+
/* @__PURE__ */ jsx(Circle, { cx: 12, cy: 11.5, r: 4.5, fill: theme.onAccent })
|
|
631
|
+
] }) }),
|
|
632
|
+
/* @__PURE__ */ jsxs(View, { style: styles.bar, pointerEvents: "box-none", children: [
|
|
633
|
+
origin ? /* @__PURE__ */ jsx(View, { style: [styles.chip, { backgroundColor: theme.surface1, borderColor: theme.borderDefault, borderRadius: radius.full }], children: /* @__PURE__ */ jsx(Txt, { variant: "label", "aria-live": "polite", children: labels.distance(formatDistance(distanceMeters(origin, value), locale)) }) }) : /* @__PURE__ */ jsx(View, {}),
|
|
634
|
+
/* @__PURE__ */ jsx(Pressable, { role: "button", "aria-label": labels.nearMe, disabled: status === "locating", onPress: () => void nearMe(), style: [styles.near, { backgroundColor: theme.surface1, borderColor: theme.borderDefault, borderRadius: radius.full }], children: /* @__PURE__ */ jsx(Txt, { variant: "label", children: status === "locating" ? labels.locating : labels.nearMe }) })
|
|
635
|
+
] })
|
|
636
|
+
] }),
|
|
637
|
+
message && status !== "locating" ? /* @__PURE__ */ jsx(Txt, { variant: "caption", tone: "danger", role: "alert", children: message }) : null
|
|
638
|
+
] });
|
|
639
|
+
}
|
|
640
|
+
var styles = StyleSheet.create({
|
|
641
|
+
root: { height: 280, overflow: "hidden", borderWidth: StyleSheet.hairlineWidth, alignSelf: "stretch" },
|
|
642
|
+
attribution: { position: "absolute", right: 6, bottom: 6, paddingHorizontal: 6, paddingVertical: 2, opacity: 0.9 },
|
|
643
|
+
attributionText: { fontSize: 10 },
|
|
644
|
+
markerSlot: { alignItems: "center", justifyContent: "center", minWidth: 44, minHeight: 44 },
|
|
645
|
+
markerLabel: { position: "absolute", bottom: 40, paddingHorizontal: 8, paddingVertical: 4, borderWidth: StyleSheet.hairlineWidth },
|
|
646
|
+
dot: { width: 18, height: 18, borderRadius: 9, borderWidth: 2.5 },
|
|
647
|
+
userSlot: { width: 44, height: 44, alignItems: "center", justifyContent: "center" },
|
|
648
|
+
userHalo: { position: "absolute", width: 16, height: 16, borderRadius: 8 },
|
|
649
|
+
user: { width: 16, height: 16, borderRadius: 8, borderWidth: 3 },
|
|
650
|
+
picker: { gap: 6, alignSelf: "stretch" },
|
|
651
|
+
pickerFrame: { height: 320 },
|
|
652
|
+
pin: { position: "absolute", left: "50%", top: "50%", marginLeft: -15, marginTop: -40 },
|
|
653
|
+
bar: { position: "absolute", left: 12, right: 12, bottom: 28, flexDirection: "row", justifyContent: "space-between", alignItems: "center", gap: 8 },
|
|
654
|
+
chip: { paddingHorizontal: 12, paddingVertical: 6, borderWidth: StyleSheet.hairlineWidth },
|
|
655
|
+
near: { minHeight: 44, paddingHorizontal: 16, justifyContent: "center", borderWidth: StyleSheet.hairlineWidth }
|
|
656
|
+
});
|
|
657
|
+
export {
|
|
658
|
+
Cluster,
|
|
659
|
+
LocationPicker,
|
|
660
|
+
MAP_ATTRIBUTION,
|
|
661
|
+
MAP_GLYPHS,
|
|
662
|
+
MAP_TILES,
|
|
663
|
+
Map,
|
|
664
|
+
Marker,
|
|
665
|
+
RadiusCircle,
|
|
666
|
+
UserPosition,
|
|
667
|
+
circlePolygon,
|
|
668
|
+
distanceMeters,
|
|
669
|
+
formatDistance,
|
|
670
|
+
mapPalette,
|
|
671
|
+
mapStyle
|
|
672
|
+
};
|
|
673
|
+
//# sourceMappingURL=map.js.map
|