@oxy.so/bloom 23.1.1 → 23.3.1
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/NOTICE +1 -2
- package/README.md +1 -1
- package/docs/admonition.mdx +1 -2
- package/docs/adoption-matrix.mdx +3 -13
- package/docs/bloom-language-codemod.mdx +4 -2
- package/docs/bloom-language-for-agents.mdx +1 -0
- package/docs/bloom-language-modifiers.mdx +9 -48
- package/docs/bloom-language-nodes.mdx +2 -195
- package/docs/bloom-language-tokens.mdx +2 -2
- package/docs/bloom-language.mdx +27 -57
- package/docs/empty-state.mdx +1 -2
- package/docs/fab.mdx +5 -3
- package/docs/field.mdx +1 -1
- package/docs/page-header.mdx +3 -3
- package/docs/public-parts.mdx +2 -21
- package/docs/screen.mdx +10 -0
- package/docs/scroll.mdx +7 -0
- package/docs/semantic-composition.mdx +2 -2
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/docs/verification.mdx +1 -1
- package/docs/zoomable-media-gallery.mdx +33 -3
- package/lib/commonjs/agent-chat/shared.js +1 -3
- package/lib/commonjs/agent-chat/shared.js.map +1 -1
- package/lib/commonjs/agent-progress/AgentProgressPlan.js +1 -2
- package/lib/commonjs/agent-progress/AgentProgressPlan.js.map +1 -1
- package/lib/commonjs/ai-chat/AiChatGalleryPanelBase.js +9 -9
- package/lib/commonjs/ai-chat/AiChatGalleryPanelBase.js.map +1 -1
- package/lib/commonjs/ai-chat/AiChatImageGenerationBase.js +6 -6
- package/lib/commonjs/ai-chat/AiChatImageGenerationBase.js.map +1 -1
- package/lib/commonjs/app-shell/use-shell-viewport.js +0 -11
- package/lib/commonjs/app-shell/use-shell-viewport.js.map +1 -1
- package/lib/commonjs/avatar/Avatar.js +37 -18
- package/lib/commonjs/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/avatar/LiveBadge.js +6 -1
- package/lib/commonjs/avatar/LiveBadge.js.map +1 -1
- package/lib/commonjs/avatar-flight/create-avatar-flight-layer.js +5 -5
- package/lib/commonjs/avatar-flight/create-avatar-flight-layer.js.map +1 -1
- package/lib/commonjs/button/Button.web.js +5 -2
- package/lib/commonjs/button/Button.web.js.map +1 -1
- package/lib/commonjs/button/shared.js +0 -7
- package/lib/commonjs/button/shared.js.map +1 -1
- package/lib/commonjs/canvas/CanvasPanelBase.js +2 -2
- package/lib/commonjs/canvas/CanvasPanelBase.js.map +1 -1
- package/lib/commonjs/card/SelectionCard.js +11 -11
- package/lib/commonjs/card/SelectionCard.js.map +1 -1
- package/lib/commonjs/chat-composer/shared.js +0 -7
- package/lib/commonjs/chat-composer/shared.js.map +1 -1
- package/lib/commonjs/chat-list/shared.js +1 -8
- package/lib/commonjs/chat-list/shared.js.map +1 -1
- package/lib/commonjs/chat-people/StoryViewer.js +2 -1
- package/lib/commonjs/chat-people/StoryViewer.js.map +1 -1
- package/lib/commonjs/chip/Chip.js +2 -2
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/composer-panel/ModelPickerBase.js +2 -1
- package/lib/commonjs/composer-panel/ModelPickerBase.js.map +1 -1
- package/lib/commonjs/composer-panel/shared.js +0 -7
- package/lib/commonjs/composer-panel/shared.js.map +1 -1
- package/lib/commonjs/content-panel/ContentPanel.web.js +12 -35
- package/lib/commonjs/content-panel/ContentPanel.web.js.map +1 -1
- package/lib/commonjs/cover-header/CoverHeader.js +1 -2
- package/lib/commonjs/cover-header/CoverHeader.js.map +1 -1
- package/lib/commonjs/date-picker/PickerShell.js +2 -1
- package/lib/commonjs/date-picker/PickerShell.js.map +1 -1
- package/lib/commonjs/dialog/DetailDialogMotion.js +11 -6
- package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/commonjs/fab/constants.js +5 -2
- package/lib/commonjs/fab/constants.js.map +1 -1
- package/lib/commonjs/fab/index.js +6 -0
- package/lib/commonjs/fab/index.js.map +1 -1
- package/lib/commonjs/fab/index.web.js +6 -0
- package/lib/commonjs/fab/index.web.js.map +1 -1
- package/lib/commonjs/fab/use-fab-props.js +1 -1
- package/lib/commonjs/fab/use-fab-props.js.map +1 -1
- package/lib/commonjs/field/FieldConstraintScope.js +2 -2
- package/lib/commonjs/floating/FloatingPanel.js +3 -3
- package/lib/commonjs/floating/FloatingPanel.js.map +1 -1
- package/lib/commonjs/floating/TriggerSlot.js +2 -2
- package/lib/commonjs/floating/TriggerSlot.js.map +1 -1
- package/lib/commonjs/floating/constants.js +1 -1
- package/lib/commonjs/floating/lens/lens-button-host.js +2 -1
- package/lib/commonjs/floating/lens/lens-button-host.js.map +1 -1
- package/lib/commonjs/floating/lens/lens-tint.js +19 -0
- package/lib/commonjs/floating/lens/lens-tint.js.map +1 -0
- package/lib/commonjs/floating/lens/use-lens-menu.js +2 -1
- package/lib/commonjs/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/commonjs/floating/menu-swatch-row.js +2 -2
- package/lib/commonjs/floating/menu-swatch-row.js.map +1 -1
- package/lib/commonjs/floating/shared.js +2 -2
- package/lib/commonjs/floating/shared.js.map +1 -1
- package/lib/commonjs/image/BloomImage.js +4 -0
- package/lib/commonjs/image/BloomImage.js.map +1 -1
- package/lib/commonjs/image/expo-image-module.js.map +1 -1
- package/lib/commonjs/index.js +229 -866
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +229 -866
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/link-preview/LinkPreviewCard.js +21 -5
- package/lib/commonjs/link-preview/LinkPreviewCard.js.map +1 -1
- package/lib/commonjs/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +0 -262
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +0 -234
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +0 -249
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +0 -246
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +0 -249
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +0 -249
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +0 -240
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +0 -234
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +0 -249
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +0 -234
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +0 -249
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +0 -259
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +0 -238
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +0 -234
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/lyrics/shared.js +0 -12
- package/lib/commonjs/lyrics/shared.js.map +1 -1
- package/lib/commonjs/mail-list/shared.js +1 -11
- package/lib/commonjs/mail-list/shared.js.map +1 -1
- package/lib/commonjs/media-card/shared.js +0 -12
- package/lib/commonjs/media-card/shared.js.map +1 -1
- package/lib/commonjs/media-flight/MediaSurface.js +34 -12
- package/lib/commonjs/media-flight/MediaSurface.js.map +1 -1
- package/lib/commonjs/media-header/shared.js +0 -12
- package/lib/commonjs/media-header/shared.js.map +1 -1
- package/lib/commonjs/media-player/shared.js +0 -12
- package/lib/commonjs/media-player/shared.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/Marketplace.js +3 -3
- package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -1
- package/lib/commonjs/music-library/shared.js +0 -12
- package/lib/commonjs/music-library/shared.js.map +1 -1
- package/lib/commonjs/overlay/Overlay.js +13 -22
- package/lib/commonjs/overlay/Overlay.js.map +1 -1
- package/lib/commonjs/page-header/EdgeScrim.js +19 -16
- package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
- package/lib/commonjs/page-header/PageHeader.js +10 -2
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -3
- package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoardCanvas.js +2 -2
- package/lib/commonjs/project-board/ProjectBoardCanvas.js.map +1 -1
- package/lib/commonjs/property-insights/shared.js +1 -14
- package/lib/commonjs/property-insights/shared.js.map +1 -1
- package/lib/commonjs/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/commonjs/radio/RadioHost.js +2 -2
- package/lib/commonjs/radio/RadioHost.js.map +1 -1
- package/lib/commonjs/screen/index.js +7 -0
- package/lib/commonjs/screen/index.js.map +1 -1
- package/lib/commonjs/screen/index.web.js +7 -0
- package/lib/commonjs/screen/index.web.js.map +1 -1
- package/lib/commonjs/screen/use-screen-entered.js +28 -0
- package/lib/commonjs/screen/use-screen-entered.js.map +1 -0
- package/lib/commonjs/screen/use-screen-scroll.js +21 -2
- package/lib/commonjs/screen/use-screen-scroll.js.map +1 -1
- package/lib/commonjs/select/Select.js +2 -2
- package/lib/commonjs/select/Select.js.map +1 -1
- package/lib/commonjs/select/Select.web.js +2 -2
- package/lib/commonjs/select/Select.web.js.map +1 -1
- package/lib/commonjs/select/shared.js +2 -2
- package/lib/commonjs/select/shared.js.map +1 -1
- package/lib/commonjs/shapes/Image.js +11 -3
- package/lib/commonjs/shapes/Image.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +18 -9
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarItem.js +2 -2
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarOnboardingCard.js +2 -2
- package/lib/commonjs/sidebar/SidebarOnboardingCard.js.map +1 -1
- package/lib/commonjs/sidebar/parts.js +0 -50
- package/lib/commonjs/sidebar/parts.js.map +1 -1
- package/lib/commonjs/stay-filters/EnergyRatingFilter.js +0 -6
- package/lib/commonjs/stay-filters/EnergyRatingFilter.js.map +1 -1
- package/lib/commonjs/styles/aria-hosts.js +20 -0
- package/lib/commonjs/styles/aria-hosts.js.map +1 -0
- package/lib/commonjs/surface/Surface.js +8 -2
- package/lib/commonjs/surface/Surface.js.map +1 -1
- package/lib/commonjs/surface/Surface.web.js +1 -2
- package/lib/commonjs/surface/Surface.web.js.map +1 -1
- package/lib/commonjs/surface/SurfacePaint.js +1 -2
- package/lib/commonjs/surface/SurfacePaint.js.map +1 -1
- package/lib/commonjs/tab-pager/expo-router/TabPager.js +18 -13
- package/lib/commonjs/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/commonjs/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.js +1 -0
- package/lib/commonjs/toast/ToastHost.js.map +1 -1
- package/lib/commonjs/toast/ToastHost.native.js +1 -0
- package/lib/commonjs/toast/ToastHost.native.js.map +1 -1
- package/lib/commonjs/toast/animations.js +1 -2
- package/lib/commonjs/toast/animations.js.map +1 -1
- package/lib/commonjs/typography/TypographyScope.js +0 -6
- package/lib/commonjs/typography/TypographyScope.js.map +1 -1
- package/lib/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.js +255 -258
- package/lib/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.js.map +1 -1
- package/lib/module/agent-chat/shared.js +0 -2
- package/lib/module/agent-chat/shared.js.map +1 -1
- package/lib/module/agent-progress/AgentProgressPlan.js +1 -2
- package/lib/module/agent-progress/AgentProgressPlan.js.map +1 -1
- package/lib/module/ai-chat/AiChatGalleryPanelBase.js +1 -1
- package/lib/module/ai-chat/AiChatGalleryPanelBase.js.map +1 -1
- package/lib/module/ai-chat/AiChatImageGenerationBase.js +1 -1
- package/lib/module/ai-chat/AiChatImageGenerationBase.js.map +1 -1
- package/lib/module/app-shell/use-shell-viewport.js +1 -11
- package/lib/module/app-shell/use-shell-viewport.js.map +1 -1
- package/lib/module/avatar/Avatar.js +37 -18
- package/lib/module/avatar/Avatar.js.map +1 -1
- package/lib/module/avatar/LiveBadge.js +6 -1
- package/lib/module/avatar/LiveBadge.js.map +1 -1
- package/lib/module/avatar-flight/create-avatar-flight-layer.js +6 -6
- package/lib/module/avatar-flight/create-avatar-flight-layer.js.map +1 -1
- package/lib/module/button/Button.web.js +6 -3
- package/lib/module/button/Button.web.js.map +1 -1
- package/lib/module/button/shared.js +0 -6
- package/lib/module/button/shared.js.map +1 -1
- package/lib/module/canvas/CanvasPanelBase.js +2 -2
- package/lib/module/canvas/CanvasPanelBase.js.map +1 -1
- package/lib/module/card/SelectionCard.js +1 -1
- package/lib/module/card/SelectionCard.js.map +1 -1
- package/lib/module/chat-composer/shared.js +1 -1
- package/lib/module/chat-composer/shared.js.map +1 -1
- package/lib/module/chat-list/shared.js +0 -7
- package/lib/module/chat-list/shared.js.map +1 -1
- package/lib/module/chat-people/StoryViewer.js +1 -2
- package/lib/module/chat-people/StoryViewer.js.map +1 -1
- package/lib/module/chip/Chip.js +2 -2
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/composer-panel/ModelPickerBase.js +2 -1
- package/lib/module/composer-panel/ModelPickerBase.js.map +1 -1
- package/lib/module/composer-panel/shared.js +0 -1
- package/lib/module/composer-panel/shared.js.map +1 -1
- package/lib/module/content-panel/ContentPanel.web.js +12 -35
- package/lib/module/content-panel/ContentPanel.web.js.map +1 -1
- package/lib/module/cover-header/CoverHeader.js +1 -2
- package/lib/module/cover-header/CoverHeader.js.map +1 -1
- package/lib/module/date-picker/PickerShell.js +1 -2
- package/lib/module/date-picker/PickerShell.js.map +1 -1
- package/lib/module/dialog/DetailDialogMotion.js +13 -8
- package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
- package/lib/module/fab/constants.js +4 -1
- package/lib/module/fab/constants.js.map +1 -1
- package/lib/module/fab/index.js +1 -1
- package/lib/module/fab/index.js.map +1 -1
- package/lib/module/fab/index.web.js +1 -1
- package/lib/module/fab/index.web.js.map +1 -1
- package/lib/module/fab/use-fab-props.js +2 -2
- package/lib/module/fab/use-fab-props.js.map +1 -1
- package/lib/module/field/FieldConstraintScope.js +2 -2
- package/lib/module/floating/FloatingPanel.js +3 -3
- package/lib/module/floating/FloatingPanel.js.map +1 -1
- package/lib/module/floating/TriggerSlot.js +2 -2
- package/lib/module/floating/TriggerSlot.js.map +1 -1
- package/lib/module/floating/constants.js +1 -1
- package/lib/module/floating/lens/lens-button-host.js +2 -1
- package/lib/module/floating/lens/lens-button-host.js.map +1 -1
- package/lib/module/floating/lens/lens-tint.js +15 -0
- package/lib/module/floating/lens/lens-tint.js.map +1 -0
- package/lib/module/floating/lens/use-lens-menu.js +2 -1
- package/lib/module/floating/lens/use-lens-menu.js.map +1 -1
- package/lib/module/floating/menu-swatch-row.js +2 -2
- package/lib/module/floating/menu-swatch-row.js.map +1 -1
- package/lib/module/floating/shared.js +2 -2
- package/lib/module/floating/shared.js.map +1 -1
- package/lib/module/image/BloomImage.js +4 -0
- package/lib/module/image/BloomImage.js.map +1 -1
- package/lib/module/image/expo-image-module.js.map +1 -1
- package/lib/module/index.js +0 -23
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +0 -23
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/link-preview/LinkPreviewCard.js +21 -5
- package/lib/module/link-preview/LinkPreviewCard.js.map +1 -1
- package/lib/module/listing-actions/ApplicationChecklist.js.map +1 -1
- package/lib/module/locale/translations/ar.js +0 -262
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +0 -234
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +0 -249
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +0 -246
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +0 -249
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +0 -249
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +0 -240
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +0 -234
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +0 -249
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +0 -234
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +0 -249
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +0 -259
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +0 -238
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +0 -234
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/lyrics/shared.js +1 -2
- package/lib/module/lyrics/shared.js.map +1 -1
- package/lib/module/mail-list/shared.js +0 -9
- package/lib/module/mail-list/shared.js.map +1 -1
- package/lib/module/media-card/shared.js +1 -2
- package/lib/module/media-card/shared.js.map +1 -1
- package/lib/module/media-flight/MediaSurface.js +34 -12
- package/lib/module/media-flight/MediaSurface.js.map +1 -1
- package/lib/module/media-header/shared.js +1 -2
- package/lib/module/media-header/shared.js.map +1 -1
- package/lib/module/media-player/shared.js +1 -2
- package/lib/module/media-player/shared.js.map +1 -1
- package/lib/module/multi-agent-chat/Marketplace.js +3 -3
- package/lib/module/multi-agent-chat/Marketplace.js.map +1 -1
- package/lib/module/music-library/shared.js +0 -1
- package/lib/module/music-library/shared.js.map +1 -1
- package/lib/module/overlay/Overlay.js +13 -22
- package/lib/module/overlay/Overlay.js.map +1 -1
- package/lib/module/page-header/EdgeScrim.js +19 -16
- package/lib/module/page-header/EdgeScrim.js.map +1 -1
- package/lib/module/page-header/PageHeader.js +11 -3
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/panel-routing/expo-router/StackScene.js +42 -4
- package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/module/project-board/ProjectBoardCanvas.js +2 -2
- package/lib/module/project-board/ProjectBoardCanvas.js.map +1 -1
- package/lib/module/property-insights/shared.js +1 -2
- package/lib/module/property-insights/shared.js.map +1 -1
- package/lib/module/queue-panel/QueueIconButton.js.map +1 -1
- package/lib/module/radio/RadioHost.js +2 -2
- package/lib/module/radio/RadioHost.js.map +1 -1
- package/lib/module/screen/index.js +1 -0
- package/lib/module/screen/index.js.map +1 -1
- package/lib/module/screen/index.web.js +1 -0
- package/lib/module/screen/index.web.js.map +1 -1
- package/lib/module/screen/use-screen-entered.js +24 -0
- package/lib/module/screen/use-screen-entered.js.map +1 -0
- package/lib/module/screen/use-screen-scroll.js +21 -2
- package/lib/module/screen/use-screen-scroll.js.map +1 -1
- package/lib/module/select/Select.js +2 -2
- package/lib/module/select/Select.js.map +1 -1
- package/lib/module/select/Select.web.js +2 -2
- package/lib/module/select/Select.web.js.map +1 -1
- package/lib/module/select/shared.js +2 -2
- package/lib/module/select/shared.js.map +1 -1
- package/lib/module/shapes/Image.js +11 -3
- package/lib/module/shapes/Image.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +18 -9
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarItem.js +2 -2
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/sidebar/SidebarOnboardingCard.js +2 -2
- package/lib/module/sidebar/SidebarOnboardingCard.js.map +1 -1
- package/lib/module/sidebar/parts.js +3 -52
- package/lib/module/sidebar/parts.js.map +1 -1
- package/lib/module/stay-filters/EnergyRatingFilter.js +0 -1
- package/lib/module/stay-filters/EnergyRatingFilter.js.map +1 -1
- package/lib/module/styles/aria-hosts.js +16 -0
- package/lib/module/styles/aria-hosts.js.map +1 -0
- package/lib/module/surface/Surface.js +11 -5
- package/lib/module/surface/Surface.js.map +1 -1
- package/lib/module/surface/Surface.web.js +2 -3
- package/lib/module/surface/Surface.web.js.map +1 -1
- package/lib/module/surface/SurfacePaint.js +1 -2
- package/lib/module/surface/SurfacePaint.js.map +1 -1
- package/lib/module/tab-pager/expo-router/TabPager.js +19 -14
- package/lib/module/tab-pager/expo-router/TabPager.js.map +1 -1
- package/lib/module/tabs/expo-router/RouterTabs.js.map +1 -1
- package/lib/module/toast/ToastHost.js +1 -0
- package/lib/module/toast/ToastHost.js.map +1 -1
- package/lib/module/toast/ToastHost.native.js +1 -0
- package/lib/module/toast/ToastHost.native.js.map +1 -1
- package/lib/module/toast/animations.js +0 -1
- package/lib/module/toast/animations.js.map +1 -1
- package/lib/module/typography/TypographyScope.js +0 -5
- package/lib/module/typography/TypographyScope.js.map +1 -1
- package/lib/module/zoomable-media-gallery/ZoomableMediaGalleryBase.js +256 -259
- package/lib/module/zoomable-media-gallery/ZoomableMediaGalleryBase.js.map +1 -1
- package/lib/typescript/commonjs/agent-chat/shared.d.ts +0 -2
- package/lib/typescript/commonjs/agent-chat/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-progress/AgentProgressPlan.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-reply/types.d.ts +2 -2
- package/lib/typescript/commonjs/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-shell-viewport.d.ts +0 -1
- package/lib/typescript/commonjs/app-shell/use-shell-viewport.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/LiveBadge.d.ts +6 -2
- package/lib/typescript/commonjs/avatar/LiveBadge.d.ts.map +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts +1 -1
- package/lib/typescript/commonjs/badge/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/commonjs/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/shared.d.ts +3 -4
- package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +4 -4
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/carousel/types.d.ts +3 -2
- package/lib/typescript/commonjs/carousel/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/shared.d.ts +4 -4
- package/lib/typescript/commonjs/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/types.d.ts +9 -9
- package/lib/typescript/commonjs/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-list/shared.d.ts +0 -9
- package/lib/typescript/commonjs/chat-list/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-panel/shared.d.ts +0 -1
- package/lib/typescript/commonjs/composer-panel/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts +9 -11
- package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/cover-header/CoverHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/commonjs/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/constants.d.ts +3 -1
- package/lib/typescript/commonjs/fab/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/fab/types.d.ts +2 -2
- package/lib/typescript/commonjs/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/commonjs/floating/constants.d.ts +1 -1
- package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/commonjs/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/shared.d.ts +1 -1
- package/lib/typescript/commonjs/floating/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/types.d.ts +2 -2
- package/lib/typescript/commonjs/floating/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts +1 -1
- package/lib/typescript/commonjs/home-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/image/BloomImage.d.ts +1 -1
- package/lib/typescript/commonjs/image/BloomImage.d.ts.map +1 -1
- package/lib/typescript/commonjs/image/expo-image-module.d.ts +3 -1
- package/lib/typescript/commonjs/image/expo-image-module.d.ts.map +1 -1
- package/lib/typescript/commonjs/image/index.d.ts +1 -1
- package/lib/typescript/commonjs/image/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/image/types.d.ts +18 -0
- package/lib/typescript/commonjs/image/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +0 -21
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +0 -21
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/link-preview/LinkPreviewCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/link-preview/types.d.ts +7 -0
- package/lib/typescript/commonjs/link-preview/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-actions/types.d.ts +2 -2
- package/lib/typescript/commonjs/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -14
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/lyrics/shared.d.ts +0 -2
- package/lib/typescript/commonjs/lyrics/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/mail-list/shared.d.ts +0 -9
- package/lib/typescript/commonjs/mail-list/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-card/shared.d.ts +0 -2
- package/lib/typescript/commonjs/media-card/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-flight/MediaSurface.d.ts +10 -1
- package/lib/typescript/commonjs/media-flight/MediaSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-header/shared.d.ts +0 -2
- package/lib/typescript/commonjs/media-header/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-header/types.d.ts +1 -1
- package/lib/typescript/commonjs/media-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-player/PlayerIconButton.d.ts +1 -1
- package/lib/typescript/commonjs/media-player/PlayerIconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-player/shared.d.ts +0 -2
- package/lib/typescript/commonjs/media-player/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/music-library/shared.d.ts +0 -2
- package/lib/typescript/commonjs/music-library/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/commonjs/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/types.d.ts +10 -0
- package/lib/typescript/commonjs/overlay/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +19 -16
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/commonjs/property-insights/shared.d.ts +0 -2
- package/lib/typescript/commonjs/property-insights/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts +3 -3
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.web.d.ts +1 -0
- package/lib/typescript/commonjs/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/commonjs/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/commonjs/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/commonjs/shapes/Image.d.ts +1 -1
- package/lib/typescript/commonjs/shapes/Image.d.ts.map +1 -1
- package/lib/typescript/commonjs/shapes/types.d.ts +10 -0
- package/lib/typescript/commonjs/shapes/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts +0 -6
- package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +9 -9
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-filters/EnergyRatingFilter.d.ts +1 -2
- package/lib/typescript/commonjs/stay-filters/EnergyRatingFilter.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-search/types.d.ts +3 -3
- package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/aria-hosts.d.ts +49 -0
- package/lib/typescript/commonjs/styles/aria-hosts.d.ts.map +1 -0
- package/lib/typescript/commonjs/surface/Surface.d.ts.map +1 -1
- package/lib/typescript/commonjs/surface/Surface.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/surface/SurfacePaint.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/commonjs/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/toast/ToastHost.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/toast/animations.d.ts +0 -1
- package/lib/typescript/commonjs/toast/animations.d.ts.map +1 -1
- package/lib/typescript/commonjs/track-list/parts.d.ts +1 -1
- package/lib/typescript/commonjs/track-list/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/typography/TypographyScope.d.ts +0 -4
- package/lib/typescript/commonjs/typography/TypographyScope.d.ts.map +1 -1
- package/lib/typescript/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/zoomable-media-gallery/types.d.ts +11 -0
- package/lib/typescript/commonjs/zoomable-media-gallery/types.d.ts.map +1 -1
- package/lib/typescript/module/agent-chat/shared.d.ts +0 -2
- package/lib/typescript/module/agent-chat/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-progress/AgentProgressPlan.d.ts.map +1 -1
- package/lib/typescript/module/agent-reply/types.d.ts +2 -2
- package/lib/typescript/module/agent-reply/types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-shell-viewport.d.ts +0 -1
- package/lib/typescript/module/app-shell/use-shell-viewport.d.ts.map +1 -1
- package/lib/typescript/module/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/avatar/LiveBadge.d.ts +6 -2
- package/lib/typescript/module/avatar/LiveBadge.d.ts.map +1 -1
- package/lib/typescript/module/badge/types.d.ts +1 -1
- package/lib/typescript/module/badge/types.d.ts.map +1 -1
- package/lib/typescript/module/breadcrumb/types.d.ts +3 -2
- package/lib/typescript/module/breadcrumb/types.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.web.d.ts.map +1 -1
- package/lib/typescript/module/button/shared.d.ts +3 -4
- package/lib/typescript/module/button/shared.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +4 -4
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/carousel/types.d.ts +3 -2
- package/lib/typescript/module/carousel/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/shared.d.ts +4 -4
- package/lib/typescript/module/chat-composer/shared.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/types.d.ts +9 -9
- package/lib/typescript/module/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-list/shared.d.ts +0 -9
- package/lib/typescript/module/chat-list/shared.d.ts.map +1 -1
- package/lib/typescript/module/chat-people/StoryViewer.d.ts.map +1 -1
- package/lib/typescript/module/composer-panel/shared.d.ts +0 -1
- package/lib/typescript/module/composer-panel/shared.d.ts.map +1 -1
- package/lib/typescript/module/content-panel/ContentPanel.web.d.ts +9 -11
- package/lib/typescript/module/content-panel/ContentPanel.web.d.ts.map +1 -1
- package/lib/typescript/module/cover-header/CoverHeader.d.ts.map +1 -1
- package/lib/typescript/module/date-picker/PickerShell.d.ts +2 -2
- package/lib/typescript/module/date-picker/PickerShell.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/fab/constants.d.ts +3 -1
- package/lib/typescript/module/fab/constants.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.d.ts +1 -1
- package/lib/typescript/module/fab/index.d.ts.map +1 -1
- package/lib/typescript/module/fab/index.web.d.ts +1 -1
- package/lib/typescript/module/fab/index.web.d.ts.map +1 -1
- package/lib/typescript/module/fab/types.d.ts +2 -2
- package/lib/typescript/module/fab/use-fab-props.d.ts.map +1 -1
- package/lib/typescript/module/field/FieldConstraintScope.d.ts +2 -2
- package/lib/typescript/module/floating/constants.d.ts +1 -1
- package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +1 -1
- package/lib/typescript/module/floating/lens/lens-tint.d.ts +13 -0
- package/lib/typescript/module/floating/lens/lens-tint.d.ts.map +1 -0
- package/lib/typescript/module/floating/lens/use-lens-menu.d.ts.map +1 -1
- package/lib/typescript/module/floating/shared.d.ts +1 -1
- package/lib/typescript/module/floating/shared.d.ts.map +1 -1
- package/lib/typescript/module/floating/types.d.ts +2 -2
- package/lib/typescript/module/floating/types.d.ts.map +1 -1
- package/lib/typescript/module/home-search/types.d.ts +1 -1
- package/lib/typescript/module/home-search/types.d.ts.map +1 -1
- package/lib/typescript/module/image/BloomImage.d.ts +1 -1
- package/lib/typescript/module/image/BloomImage.d.ts.map +1 -1
- package/lib/typescript/module/image/expo-image-module.d.ts +3 -1
- package/lib/typescript/module/image/expo-image-module.d.ts.map +1 -1
- package/lib/typescript/module/image/index.d.ts +1 -1
- package/lib/typescript/module/image/index.d.ts.map +1 -1
- package/lib/typescript/module/image/types.d.ts +18 -0
- package/lib/typescript/module/image/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +0 -21
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +0 -21
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/link-preview/LinkPreviewCard.d.ts.map +1 -1
- package/lib/typescript/module/link-preview/types.d.ts +7 -0
- package/lib/typescript/module/link-preview/types.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/ApplicationChecklist.d.ts.map +1 -1
- package/lib/typescript/module/listing-actions/types.d.ts +2 -2
- package/lib/typescript/module/listing-actions/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +0 -14
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/lyrics/shared.d.ts +0 -2
- package/lib/typescript/module/lyrics/shared.d.ts.map +1 -1
- package/lib/typescript/module/mail-list/shared.d.ts +0 -9
- package/lib/typescript/module/mail-list/shared.d.ts.map +1 -1
- package/lib/typescript/module/media-card/shared.d.ts +0 -2
- package/lib/typescript/module/media-card/shared.d.ts.map +1 -1
- package/lib/typescript/module/media-flight/MediaSurface.d.ts +10 -1
- package/lib/typescript/module/media-flight/MediaSurface.d.ts.map +1 -1
- package/lib/typescript/module/media-header/shared.d.ts +0 -2
- package/lib/typescript/module/media-header/shared.d.ts.map +1 -1
- package/lib/typescript/module/media-header/types.d.ts +1 -1
- package/lib/typescript/module/media-header/types.d.ts.map +1 -1
- package/lib/typescript/module/media-player/PlayerIconButton.d.ts +1 -1
- package/lib/typescript/module/media-player/PlayerIconButton.d.ts.map +1 -1
- package/lib/typescript/module/media-player/shared.d.ts +0 -2
- package/lib/typescript/module/media-player/shared.d.ts.map +1 -1
- package/lib/typescript/module/music-library/shared.d.ts +0 -2
- package/lib/typescript/module/music-library/shared.d.ts.map +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts +1 -1
- package/lib/typescript/module/overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/module/overlay/types.d.ts +10 -0
- package/lib/typescript/module/overlay/types.d.ts.map +1 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts +19 -16
- package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +1 -1
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +32 -5
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/module/property-insights/shared.d.ts +0 -2
- package/lib/typescript/module/property-insights/shared.d.ts.map +1 -1
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts +3 -3
- package/lib/typescript/module/queue-panel/QueueIconButton.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.d.ts +1 -0
- package/lib/typescript/module/screen/index.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.web.d.ts +1 -0
- package/lib/typescript/module/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-screen-entered.d.ts +16 -0
- package/lib/typescript/module/screen/use-screen-entered.d.ts.map +1 -0
- package/lib/typescript/module/screen/use-screen-scroll.d.ts +3 -2
- package/lib/typescript/module/screen/use-screen-scroll.d.ts.map +1 -1
- package/lib/typescript/module/shapes/Image.d.ts +1 -1
- package/lib/typescript/module/shapes/Image.d.ts.map +1 -1
- package/lib/typescript/module/shapes/types.d.ts +10 -0
- package/lib/typescript/module/shapes/types.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/parts.d.ts +0 -6
- package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +9 -9
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/stay-filters/EnergyRatingFilter.d.ts +1 -2
- package/lib/typescript/module/stay-filters/EnergyRatingFilter.d.ts.map +1 -1
- package/lib/typescript/module/stay-search/types.d.ts +3 -3
- package/lib/typescript/module/stay-search/types.d.ts.map +1 -1
- package/lib/typescript/module/styles/aria-hosts.d.ts +49 -0
- package/lib/typescript/module/styles/aria-hosts.d.ts.map +1 -0
- package/lib/typescript/module/surface/Surface.d.ts.map +1 -1
- package/lib/typescript/module/surface/Surface.web.d.ts.map +1 -1
- package/lib/typescript/module/surface/SurfacePaint.d.ts.map +1 -1
- package/lib/typescript/module/tab-pager/expo-router/TabPager.d.ts.map +1 -1
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts +3 -2
- package/lib/typescript/module/tabs/expo-router/RouterTabs.d.ts.map +1 -1
- package/lib/typescript/module/tabs/types.d.ts +1 -1
- package/lib/typescript/module/tabs/types.d.ts.map +1 -1
- package/lib/typescript/module/toast/ToastHost.native.d.ts.map +1 -1
- package/lib/typescript/module/toast/animations.d.ts +0 -1
- package/lib/typescript/module/toast/animations.d.ts.map +1 -1
- package/lib/typescript/module/track-list/parts.d.ts +1 -1
- package/lib/typescript/module/track-list/parts.d.ts.map +1 -1
- package/lib/typescript/module/typography/TypographyScope.d.ts +0 -4
- package/lib/typescript/module/typography/TypographyScope.d.ts.map +1 -1
- package/lib/typescript/module/zoomable-media-gallery/ZoomableMediaGalleryBase.d.ts.map +1 -1
- package/lib/typescript/module/zoomable-media-gallery/types.d.ts +11 -0
- package/lib/typescript/module/zoomable-media-gallery/types.d.ts.map +1 -1
- package/package.json +1 -137
- package/src/__tests__/support/adoption-matrix.ts +0 -9
- package/src/__tests__/support/held-animations.ts +33 -0
- package/src/__tests__/support/public-part-classifications.json +0 -19
- package/src/agent-chat/shared.ts +0 -2
- package/src/agent-progress/AgentProgressPlan.tsx +2 -3
- package/src/agent-reply/types.ts +2 -2
- package/src/ai-chat/AiChatGalleryPanelBase.tsx +1 -1
- package/src/ai-chat/AiChatImageGenerationBase.tsx +1 -1
- package/src/app-shell/use-shell-viewport.ts +1 -7
- package/src/avatar/Avatar.tsx +44 -16
- package/src/avatar/LiveBadge.tsx +10 -3
- package/src/avatar-flight/create-avatar-flight-layer.tsx +8 -8
- package/src/badge/types.ts +1 -1
- package/src/breadcrumb/types.ts +3 -2
- package/src/button/Button.web.tsx +15 -2
- package/src/button/shared.ts +3 -10
- package/src/button/types.ts +4 -4
- package/src/canvas/CanvasPanelBase.tsx +3 -3
- package/src/card/SelectionCard.tsx +1 -1
- package/src/carousel/types.ts +3 -2
- package/src/chat-composer/shared.ts +4 -5
- package/src/chat-composer/types.ts +9 -9
- package/src/chat-list/shared.ts +0 -7
- package/src/chat-people/StoryViewer.tsx +2 -2
- package/src/chip/Chip.tsx +3 -3
- package/src/composer-panel/ModelPickerBase.tsx +1 -1
- package/src/composer-panel/shared.ts +0 -1
- package/src/content-panel/ContentPanel.web.tsx +12 -35
- package/src/cover-header/CoverHeader.tsx +2 -3
- package/src/date-picker/PickerShell.tsx +2 -2
- package/src/dialog/DetailDialogMotion.tsx +16 -11
- package/src/dialog/types.ts +0 -1
- package/src/fab/constants.ts +4 -1
- package/src/fab/index.ts +1 -1
- package/src/fab/index.web.ts +1 -1
- package/src/fab/types.ts +2 -2
- package/src/fab/use-fab-props.ts +2 -2
- package/src/field/FieldConstraintScope.tsx +2 -2
- package/src/floating/FloatingPanel.tsx +3 -3
- package/src/floating/TriggerSlot.tsx +2 -2
- package/src/floating/constants.ts +1 -1
- package/src/floating/lens/lens-button-host.tsx +2 -1
- package/src/floating/lens/lens-tint.ts +12 -0
- package/src/floating/lens/use-lens-menu.tsx +2 -1
- package/src/floating/menu-swatch-row.tsx +3 -3
- package/src/floating/shared.tsx +3 -3
- package/src/floating/types.ts +2 -2
- package/src/home-search/types.ts +1 -1
- package/src/image/BloomImage.tsx +4 -0
- package/src/image/expo-image-module.ts +3 -1
- package/src/image/index.ts +1 -0
- package/src/image/types.ts +19 -0
- package/src/index.ts +0 -195
- package/src/index.web.ts +0 -195
- package/src/link-preview/LinkPreviewCard.tsx +27 -5
- package/src/link-preview/types.ts +7 -0
- package/src/listing-actions/ApplicationChecklist.tsx +3 -2
- package/src/listing-actions/types.ts +2 -2
- package/src/locale/translations/ar.ts +0 -232
- package/src/locale/translations/bn.ts +0 -200
- package/src/locale/translations/ca.ts +0 -210
- package/src/locale/translations/de.ts +0 -213
- package/src/locale/translations/es.ts +0 -210
- package/src/locale/translations/fr.ts +0 -214
- package/src/locale/translations/hi.ts +0 -201
- package/src/locale/translations/id.ts +0 -206
- package/src/locale/translations/it.ts +0 -214
- package/src/locale/translations/ja.ts +0 -202
- package/src/locale/translations/pt.ts +0 -220
- package/src/locale/translations/ru.ts +0 -225
- package/src/locale/translations/tr.ts +0 -202
- package/src/locale/translations/types.ts +0 -14
- package/src/locale/translations/zh.ts +0 -200
- package/src/lyrics/shared.ts +0 -3
- package/src/mail-list/shared.ts +0 -9
- package/src/media-card/shared.ts +1 -9
- package/src/media-flight/MediaSurface.tsx +46 -8
- package/src/media-header/shared.ts +1 -8
- package/src/media-header/types.ts +1 -1
- package/src/media-player/PlayerIconButton.tsx +1 -1
- package/src/media-player/shared.ts +1 -8
- package/src/multi-agent-chat/Marketplace.tsx +5 -5
- package/src/music-library/shared.ts +0 -2
- package/src/overlay/Overlay.tsx +23 -21
- package/src/overlay/types.ts +10 -0
- package/src/page-header/EdgeScrim.tsx +17 -14
- package/src/page-header/PageHeader.tsx +11 -6
- package/src/page-header/types.ts +1 -1
- package/src/panel-routing/expo-router/StackScene.tsx +62 -5
- package/src/project-board/ProjectBoardCanvas.tsx +3 -3
- package/src/property-insights/shared.ts +1 -3
- package/src/queue-panel/QueueIconButton.tsx +3 -3
- package/src/radio/RadioHost.tsx +2 -2
- package/src/screen/index.ts +1 -0
- package/src/screen/index.web.ts +1 -0
- package/src/screen/use-screen-entered.ts +21 -0
- package/src/screen/use-screen-scroll.ts +36 -2
- package/src/select/Select.tsx +3 -3
- package/src/select/Select.web.tsx +3 -3
- package/src/select/shared.tsx +3 -3
- package/src/shapes/Image.tsx +18 -2
- package/src/shapes/types.ts +10 -0
- package/src/sidebar/Sidebar.tsx +17 -11
- package/src/sidebar/SidebarItem.tsx +2 -2
- package/src/sidebar/SidebarOnboardingCard.tsx +3 -3
- package/src/sidebar/parts.tsx +3 -36
- package/src/sidebar/types.ts +9 -9
- package/src/stay-filters/EnergyRatingFilter.tsx +0 -2
- package/src/stay-search/types.ts +3 -3
- package/src/styles/aria-hosts.ts +62 -0
- package/src/surface/Surface.tsx +12 -6
- package/src/surface/Surface.web.tsx +3 -4
- package/src/surface/SurfacePaint.tsx +1 -2
- package/src/tab-pager/expo-router/TabPager.tsx +35 -16
- package/src/tabs/expo-router/RouterTabs.tsx +3 -2
- package/src/tabs/types.ts +1 -1
- package/src/toast/ToastHost.native.tsx +5 -1
- package/src/toast/ToastHost.tsx +1 -1
- package/src/toast/animations.ts +0 -1
- package/src/track-list/parts.tsx +1 -1
- package/src/typography/TypographyScope.tsx +0 -5
- package/src/zoomable-media-gallery/ZoomableMediaGalleryBase.tsx +368 -324
- package/src/zoomable-media-gallery/types.ts +11 -0
- package/docs/carrier-quote.mdx +0 -121
- package/docs/delivery-slot.mdx +0 -91
- package/docs/earnings.mdx +0 -89
- package/docs/job-board.mdx +0 -82
- package/docs/proof-of-delivery.mdx +0 -86
- package/docs/shipment-request.mdx +0 -139
- package/docs/teleport.mdx +0 -72
- package/docs/vehicle-picker.mdx +0 -92
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js +0 -547
- package/lib/commonjs/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js +0 -274
- package/lib/commonjs/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/commonjs/carrier-quote/constants.js +0 -64
- package/lib/commonjs/carrier-quote/constants.js.map +0 -1
- package/lib/commonjs/carrier-quote/index.js +0 -82
- package/lib/commonjs/carrier-quote/index.js.map +0 -1
- package/lib/commonjs/carrier-quote/messages.js +0 -50
- package/lib/commonjs/carrier-quote/messages.js.map +0 -1
- package/lib/commonjs/carrier-quote/shared.js +0 -150
- package/lib/commonjs/carrier-quote/shared.js.map +0 -1
- package/lib/commonjs/carrier-quote/types.js +0 -6
- package/lib/commonjs/carrier-quote/types.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js +0 -92
- package/lib/commonjs/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js +0 -131
- package/lib/commonjs/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js +0 -265
- package/lib/commonjs/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/commonjs/delivery-slot/constants.js +0 -52
- package/lib/commonjs/delivery-slot/constants.js.map +0 -1
- package/lib/commonjs/delivery-slot/index.js +0 -101
- package/lib/commonjs/delivery-slot/index.js.map +0 -1
- package/lib/commonjs/delivery-slot/messages.js +0 -27
- package/lib/commonjs/delivery-slot/messages.js.map +0 -1
- package/lib/commonjs/delivery-slot/shared.js +0 -60
- package/lib/commonjs/delivery-slot/shared.js.map +0 -1
- package/lib/commonjs/delivery-slot/types.js +0 -6
- package/lib/commonjs/delivery-slot/types.js.map +0 -1
- package/lib/commonjs/earnings/EarningsBreakdown.js +0 -85
- package/lib/commonjs/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/commonjs/earnings/EarningsPayoutRow.js +0 -156
- package/lib/commonjs/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/commonjs/earnings/EarningsSummary.js +0 -295
- package/lib/commonjs/earnings/EarningsSummary.js.map +0 -1
- package/lib/commonjs/earnings/constants.js +0 -61
- package/lib/commonjs/earnings/constants.js.map +0 -1
- package/lib/commonjs/earnings/index.js +0 -77
- package/lib/commonjs/earnings/index.js.map +0 -1
- package/lib/commonjs/earnings/messages.js +0 -30
- package/lib/commonjs/earnings/messages.js.map +0 -1
- package/lib/commonjs/earnings/shared.js +0 -72
- package/lib/commonjs/earnings/shared.js.map +0 -1
- package/lib/commonjs/earnings/types.js +0 -6
- package/lib/commonjs/earnings/types.js.map +0 -1
- package/lib/commonjs/job-board/JobBoard.js +0 -464
- package/lib/commonjs/job-board/JobBoard.js.map +0 -1
- package/lib/commonjs/job-board/JobCard.js +0 -582
- package/lib/commonjs/job-board/JobCard.js.map +0 -1
- package/lib/commonjs/job-board/constants.js +0 -119
- package/lib/commonjs/job-board/constants.js.map +0 -1
- package/lib/commonjs/job-board/index.js +0 -106
- package/lib/commonjs/job-board/index.js.map +0 -1
- package/lib/commonjs/job-board/messages.js +0 -68
- package/lib/commonjs/job-board/messages.js.map +0 -1
- package/lib/commonjs/job-board/shared.js +0 -179
- package/lib/commonjs/job-board/shared.js.map +0 -1
- package/lib/commonjs/job-board/types.js +0 -6
- package/lib/commonjs/job-board/types.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js +0 -306
- package/lib/commonjs/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/SignaturePad.js +0 -304
- package/lib/commonjs/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/constants.js +0 -51
- package/lib/commonjs/proof-of-delivery/constants.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/index.js +0 -106
- package/lib/commonjs/proof-of-delivery/index.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/messages.js +0 -41
- package/lib/commonjs/proof-of-delivery/messages.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/shared.js +0 -171
- package/lib/commonjs/proof-of-delivery/shared.js.map +0 -1
- package/lib/commonjs/proof-of-delivery/types.js +0 -6
- package/lib/commonjs/proof-of-delivery/types.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js +0 -272
- package/lib/commonjs/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js +0 -188
- package/lib/commonjs/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js +0 -155
- package/lib/commonjs/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/commonjs/shipment-request/constants.js +0 -118
- package/lib/commonjs/shipment-request/constants.js.map +0 -1
- package/lib/commonjs/shipment-request/index.js +0 -95
- package/lib/commonjs/shipment-request/index.js.map +0 -1
- package/lib/commonjs/shipment-request/messages.js +0 -79
- package/lib/commonjs/shipment-request/messages.js.map +0 -1
- package/lib/commonjs/shipment-request/shared.js +0 -65
- package/lib/commonjs/shipment-request/shared.js.map +0 -1
- package/lib/commonjs/shipment-request/types.js +0 -6
- package/lib/commonjs/shipment-request/types.js.map +0 -1
- package/lib/commonjs/styles/styled-primitives.js +0 -37
- package/lib/commonjs/styles/styled-primitives.js.map +0 -1
- package/lib/commonjs/teleport/Portal.js +0 -109
- package/lib/commonjs/teleport/Portal.js.map +0 -1
- package/lib/commonjs/teleport/PortalHost.js +0 -75
- package/lib/commonjs/teleport/PortalHost.js.map +0 -1
- package/lib/commonjs/teleport/PortalHostView.js +0 -40
- package/lib/commonjs/teleport/PortalHostView.js.map +0 -1
- package/lib/commonjs/teleport/PortalHostView.native.js +0 -24
- package/lib/commonjs/teleport/PortalHostView.native.js.map +0 -1
- package/lib/commonjs/teleport/PortalProvider.js +0 -57
- package/lib/commonjs/teleport/PortalProvider.js.map +0 -1
- package/lib/commonjs/teleport/PortalProviderView.js +0 -59
- package/lib/commonjs/teleport/PortalProviderView.js.map +0 -1
- package/lib/commonjs/teleport/PortalProviderView.native.js +0 -19
- package/lib/commonjs/teleport/PortalProviderView.native.js.map +0 -1
- package/lib/commonjs/teleport/PortalView.js +0 -83
- package/lib/commonjs/teleport/PortalView.js.map +0 -1
- package/lib/commonjs/teleport/PortalView.native.js +0 -14
- package/lib/commonjs/teleport/PortalView.native.js.map +0 -1
- package/lib/commonjs/teleport/index.js +0 -35
- package/lib/commonjs/teleport/index.js.map +0 -1
- package/lib/commonjs/teleport/portal-manager.js +0 -40
- package/lib/commonjs/teleport/portal-manager.js.map +0 -1
- package/lib/commonjs/teleport/portal-registry.js +0 -24
- package/lib/commonjs/teleport/portal-registry.js.map +0 -1
- package/lib/commonjs/teleport/reducer.js +0 -86
- package/lib/commonjs/teleport/reducer.js.map +0 -1
- package/lib/commonjs/teleport/scroll-view-context/context.js +0 -17
- package/lib/commonjs/teleport/scroll-view-context/context.js.map +0 -1
- package/lib/commonjs/teleport/scroll-view-context/context.native.js +0 -22
- package/lib/commonjs/teleport/scroll-view-context/context.native.js.map +0 -1
- package/lib/commonjs/teleport/scroll-view-context/types.js +0 -2
- package/lib/commonjs/teleport/scroll-view-context/types.js.map +0 -1
- package/lib/commonjs/teleport/specs/PortalHostViewNativeComponent.js +0 -17
- package/lib/commonjs/teleport/specs/PortalHostViewNativeComponent.js.map +0 -1
- package/lib/commonjs/teleport/specs/PortalViewNativeComponent.js +0 -17
- package/lib/commonjs/teleport/specs/PortalViewNativeComponent.js.map +0 -1
- package/lib/commonjs/teleport/teleport-global.d.ts +0 -11
- package/lib/commonjs/teleport/types.js +0 -6
- package/lib/commonjs/teleport/types.js.map +0 -1
- package/lib/commonjs/teleport/use-id.js +0 -24
- package/lib/commonjs/teleport/use-id.js.map +0 -1
- package/lib/commonjs/teleport/use-portal.js +0 -59
- package/lib/commonjs/teleport/use-portal.js.map +0 -1
- package/lib/commonjs/vehicle-picker/VehiclePicker.js +0 -238
- package/lib/commonjs/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/commonjs/vehicle-picker/constants.js +0 -76
- package/lib/commonjs/vehicle-picker/constants.js.map +0 -1
- package/lib/commonjs/vehicle-picker/index.js +0 -45
- package/lib/commonjs/vehicle-picker/index.js.map +0 -1
- package/lib/commonjs/vehicle-picker/messages.js +0 -49
- package/lib/commonjs/vehicle-picker/messages.js.map +0 -1
- package/lib/commonjs/vehicle-picker/shared.js +0 -24
- package/lib/commonjs/vehicle-picker/shared.js.map +0 -1
- package/lib/commonjs/vehicle-picker/types.js +0 -6
- package/lib/commonjs/vehicle-picker/types.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteCard.js +0 -543
- package/lib/module/carrier-quote/CarrierQuoteCard.js.map +0 -1
- package/lib/module/carrier-quote/CarrierQuoteList.js +0 -270
- package/lib/module/carrier-quote/CarrierQuoteList.js.map +0 -1
- package/lib/module/carrier-quote/constants.js +0 -61
- package/lib/module/carrier-quote/constants.js.map +0 -1
- package/lib/module/carrier-quote/index.js +0 -7
- package/lib/module/carrier-quote/index.js.map +0 -1
- package/lib/module/carrier-quote/messages.js +0 -47
- package/lib/module/carrier-quote/messages.js.map +0 -1
- package/lib/module/carrier-quote/shared.js +0 -139
- package/lib/module/carrier-quote/shared.js.map +0 -1
- package/lib/module/carrier-quote/types.js +0 -4
- package/lib/module/carrier-quote/types.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotDays.js +0 -86
- package/lib/module/delivery-slot/DeliverySlotDays.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotOption.js +0 -125
- package/lib/module/delivery-slot/DeliverySlotOption.js.map +0 -1
- package/lib/module/delivery-slot/DeliverySlotPicker.js +0 -259
- package/lib/module/delivery-slot/DeliverySlotPicker.js.map +0 -1
- package/lib/module/delivery-slot/constants.js +0 -48
- package/lib/module/delivery-slot/constants.js.map +0 -1
- package/lib/module/delivery-slot/index.js +0 -8
- package/lib/module/delivery-slot/index.js.map +0 -1
- package/lib/module/delivery-slot/messages.js +0 -24
- package/lib/module/delivery-slot/messages.js.map +0 -1
- package/lib/module/delivery-slot/shared.js +0 -52
- package/lib/module/delivery-slot/shared.js.map +0 -1
- package/lib/module/delivery-slot/types.js +0 -4
- package/lib/module/delivery-slot/types.js.map +0 -1
- package/lib/module/earnings/EarningsBreakdown.js +0 -79
- package/lib/module/earnings/EarningsBreakdown.js.map +0 -1
- package/lib/module/earnings/EarningsPayoutRow.js +0 -150
- package/lib/module/earnings/EarningsPayoutRow.js.map +0 -1
- package/lib/module/earnings/EarningsSummary.js +0 -289
- package/lib/module/earnings/EarningsSummary.js.map +0 -1
- package/lib/module/earnings/constants.js +0 -58
- package/lib/module/earnings/constants.js.map +0 -1
- package/lib/module/earnings/index.js +0 -8
- package/lib/module/earnings/index.js.map +0 -1
- package/lib/module/earnings/messages.js +0 -27
- package/lib/module/earnings/messages.js.map +0 -1
- package/lib/module/earnings/shared.js +0 -63
- package/lib/module/earnings/shared.js.map +0 -1
- package/lib/module/earnings/types.js +0 -4
- package/lib/module/earnings/types.js.map +0 -1
- package/lib/module/job-board/JobBoard.js +0 -460
- package/lib/module/job-board/JobBoard.js.map +0 -1
- package/lib/module/job-board/JobCard.js +0 -578
- package/lib/module/job-board/JobCard.js.map +0 -1
- package/lib/module/job-board/constants.js +0 -114
- package/lib/module/job-board/constants.js.map +0 -1
- package/lib/module/job-board/index.js +0 -7
- package/lib/module/job-board/index.js.map +0 -1
- package/lib/module/job-board/messages.js +0 -65
- package/lib/module/job-board/messages.js.map +0 -1
- package/lib/module/job-board/shared.js +0 -167
- package/lib/module/job-board/shared.js.map +0 -1
- package/lib/module/job-board/types.js +0 -4
- package/lib/module/job-board/types.js.map +0 -1
- package/lib/module/proof-of-delivery/ProofOfDelivery.js +0 -300
- package/lib/module/proof-of-delivery/ProofOfDelivery.js.map +0 -1
- package/lib/module/proof-of-delivery/SignaturePad.js +0 -298
- package/lib/module/proof-of-delivery/SignaturePad.js.map +0 -1
- package/lib/module/proof-of-delivery/constants.js +0 -47
- package/lib/module/proof-of-delivery/constants.js.map +0 -1
- package/lib/module/proof-of-delivery/index.js +0 -7
- package/lib/module/proof-of-delivery/index.js.map +0 -1
- package/lib/module/proof-of-delivery/messages.js +0 -38
- package/lib/module/proof-of-delivery/messages.js.map +0 -1
- package/lib/module/proof-of-delivery/shared.js +0 -157
- package/lib/module/proof-of-delivery/shared.js.map +0 -1
- package/lib/module/proof-of-delivery/types.js +0 -4
- package/lib/module/proof-of-delivery/types.js.map +0 -1
- package/lib/module/shipment-request/ShipmentLoadPicker.js +0 -266
- package/lib/module/shipment-request/ShipmentLoadPicker.js.map +0 -1
- package/lib/module/shipment-request/ShipmentOptionsList.js +0 -184
- package/lib/module/shipment-request/ShipmentOptionsList.js.map +0 -1
- package/lib/module/shipment-request/ShipmentRequestForm.js +0 -149
- package/lib/module/shipment-request/ShipmentRequestForm.js.map +0 -1
- package/lib/module/shipment-request/constants.js +0 -112
- package/lib/module/shipment-request/constants.js.map +0 -1
- package/lib/module/shipment-request/index.js +0 -8
- package/lib/module/shipment-request/index.js.map +0 -1
- package/lib/module/shipment-request/messages.js +0 -76
- package/lib/module/shipment-request/messages.js.map +0 -1
- package/lib/module/shipment-request/shared.js +0 -58
- package/lib/module/shipment-request/shared.js.map +0 -1
- package/lib/module/shipment-request/types.js +0 -4
- package/lib/module/shipment-request/types.js.map +0 -1
- package/lib/module/styles/styled-primitives.js +0 -34
- package/lib/module/styles/styled-primitives.js.map +0 -1
- package/lib/module/teleport/Portal.js +0 -103
- package/lib/module/teleport/Portal.js.map +0 -1
- package/lib/module/teleport/PortalHost.js +0 -71
- package/lib/module/teleport/PortalHost.js.map +0 -1
- package/lib/module/teleport/PortalHostView.js +0 -35
- package/lib/module/teleport/PortalHostView.js.map +0 -1
- package/lib/module/teleport/PortalHostView.native.js +0 -18
- package/lib/module/teleport/PortalHostView.native.js.map +0 -1
- package/lib/module/teleport/PortalProvider.js +0 -51
- package/lib/module/teleport/PortalProvider.js.map +0 -1
- package/lib/module/teleport/PortalProviderView.js +0 -54
- package/lib/module/teleport/PortalProviderView.js.map +0 -1
- package/lib/module/teleport/PortalProviderView.native.js +0 -15
- package/lib/module/teleport/PortalProviderView.native.js.map +0 -1
- package/lib/module/teleport/PortalView.js +0 -79
- package/lib/module/teleport/PortalView.js.map +0 -1
- package/lib/module/teleport/PortalView.native.js +0 -10
- package/lib/module/teleport/PortalView.native.js.map +0 -1
- package/lib/module/teleport/index.js +0 -30
- package/lib/module/teleport/index.js.map +0 -1
- package/lib/module/teleport/portal-manager.js +0 -33
- package/lib/module/teleport/portal-manager.js.map +0 -1
- package/lib/module/teleport/portal-registry.js +0 -18
- package/lib/module/teleport/portal-registry.js.map +0 -1
- package/lib/module/teleport/reducer.js +0 -81
- package/lib/module/teleport/reducer.js.map +0 -1
- package/lib/module/teleport/scroll-view-context/context.js +0 -12
- package/lib/module/teleport/scroll-view-context/context.js.map +0 -1
- package/lib/module/teleport/scroll-view-context/context.native.js +0 -18
- package/lib/module/teleport/scroll-view-context/context.native.js.map +0 -1
- package/lib/module/teleport/scroll-view-context/types.js +0 -2
- package/lib/module/teleport/scroll-view-context/types.js.map +0 -1
- package/lib/module/teleport/specs/PortalHostViewNativeComponent.js +0 -13
- package/lib/module/teleport/specs/PortalHostViewNativeComponent.js.map +0 -1
- package/lib/module/teleport/specs/PortalViewNativeComponent.js +0 -13
- package/lib/module/teleport/specs/PortalViewNativeComponent.js.map +0 -1
- package/lib/module/teleport/teleport-global.d.ts +0 -11
- package/lib/module/teleport/types.js +0 -4
- package/lib/module/teleport/types.js.map +0 -1
- package/lib/module/teleport/use-id.js +0 -19
- package/lib/module/teleport/use-id.js.map +0 -1
- package/lib/module/teleport/use-portal.js +0 -55
- package/lib/module/teleport/use-portal.js.map +0 -1
- package/lib/module/vehicle-picker/VehiclePicker.js +0 -232
- package/lib/module/vehicle-picker/VehiclePicker.js.map +0 -1
- package/lib/module/vehicle-picker/constants.js +0 -71
- package/lib/module/vehicle-picker/constants.js.map +0 -1
- package/lib/module/vehicle-picker/index.js +0 -6
- package/lib/module/vehicle-picker/index.js.map +0 -1
- package/lib/module/vehicle-picker/messages.js +0 -46
- package/lib/module/vehicle-picker/messages.js.map +0 -1
- package/lib/module/vehicle-picker/shared.js +0 -20
- package/lib/module/vehicle-picker/shared.js.map +0 -1
- package/lib/module/vehicle-picker/types.js +0 -4
- package/lib/module/vehicle-picker/types.js.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/commonjs/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/commonjs/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/commonjs/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/commonjs/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/commonjs/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/commonjs/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/commonjs/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/commonjs/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/commonjs/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/commonjs/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/commonjs/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/commonjs/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/commonjs/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/commonjs/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/constants.d.ts +0 -41
- package/lib/typescript/commonjs/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/index.d.ts +0 -9
- package/lib/typescript/commonjs/earnings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/messages.d.ts +0 -26
- package/lib/typescript/commonjs/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/shared.d.ts +0 -43
- package/lib/typescript/commonjs/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/earnings/types.d.ts +0 -171
- package/lib/typescript/commonjs/earnings/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/commonjs/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/commonjs/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/constants.d.ts +0 -79
- package/lib/typescript/commonjs/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/index.d.ts +0 -8
- package/lib/typescript/commonjs/job-board/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/messages.d.ts +0 -56
- package/lib/typescript/commonjs/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/shared.d.ts +0 -78
- package/lib/typescript/commonjs/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/job-board/types.d.ts +0 -269
- package/lib/typescript/commonjs/job-board/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/commonjs/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/commonjs/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/commonjs/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/commonjs/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/commonjs/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/commonjs/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/commonjs/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/commonjs/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/commonjs/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/commonjs/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/commonjs/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/index.d.ts +0 -8
- package/lib/typescript/commonjs/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/commonjs/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/commonjs/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/shipment-request/types.d.ts +0 -219
- package/lib/typescript/commonjs/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/styles/styled-primitives.d.ts +0 -69
- package/lib/typescript/commonjs/styles/styled-primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/Portal.d.ts +0 -48
- package/lib/typescript/commonjs/teleport/Portal.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalHost.d.ts +0 -25
- package/lib/typescript/commonjs/teleport/PortalHost.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalHostView.d.ts +0 -5
- package/lib/typescript/commonjs/teleport/PortalHostView.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalHostView.native.d.ts +0 -4
- package/lib/typescript/commonjs/teleport/PortalHostView.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalProvider.d.ts +0 -23
- package/lib/typescript/commonjs/teleport/PortalProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalProviderView.d.ts +0 -3
- package/lib/typescript/commonjs/teleport/PortalProviderView.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalProviderView.native.d.ts +0 -9
- package/lib/typescript/commonjs/teleport/PortalProviderView.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalView.d.ts +0 -9
- package/lib/typescript/commonjs/teleport/PortalView.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/PortalView.native.d.ts +0 -8
- package/lib/typescript/commonjs/teleport/PortalView.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/index.d.ts +0 -29
- package/lib/typescript/commonjs/teleport/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/portal-manager.d.ts +0 -16
- package/lib/typescript/commonjs/teleport/portal-manager.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/portal-registry.d.ts +0 -10
- package/lib/typescript/commonjs/teleport/portal-registry.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/reducer.d.ts +0 -40
- package/lib/typescript/commonjs/teleport/reducer.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/scroll-view-context/context.d.ts +0 -4
- package/lib/typescript/commonjs/teleport/scroll-view-context/context.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/scroll-view-context/context.native.d.ts +0 -13
- package/lib/typescript/commonjs/teleport/scroll-view-context/context.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/scroll-view-context/types.d.ts +0 -10
- package/lib/typescript/commonjs/teleport/scroll-view-context/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/specs/PortalHostViewNativeComponent.d.ts +0 -13
- package/lib/typescript/commonjs/teleport/specs/PortalHostViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/specs/PortalViewNativeComponent.d.ts +0 -14
- package/lib/typescript/commonjs/teleport/specs/PortalViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/types.d.ts +0 -22
- package/lib/typescript/commonjs/teleport/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/use-id.d.ts +0 -2
- package/lib/typescript/commonjs/teleport/use-id.d.ts.map +0 -1
- package/lib/typescript/commonjs/teleport/use-portal.d.ts +0 -35
- package/lib/typescript/commonjs/teleport/use-portal.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/commonjs/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/commonjs/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/commonjs/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/commonjs/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/commonjs/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/commonjs/vehicle-picker/types.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts +0 -6
- package/lib/typescript/module/carrier-quote/CarrierQuoteCard.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts +0 -29
- package/lib/typescript/module/carrier-quote/CarrierQuoteList.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/constants.d.ts +0 -55
- package/lib/typescript/module/carrier-quote/constants.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/index.d.ts +0 -8
- package/lib/typescript/module/carrier-quote/index.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/messages.d.ts +0 -38
- package/lib/typescript/module/carrier-quote/messages.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/shared.d.ts +0 -58
- package/lib/typescript/module/carrier-quote/shared.d.ts.map +0 -1
- package/lib/typescript/module/carrier-quote/types.d.ts +0 -191
- package/lib/typescript/module/carrier-quote/types.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts +0 -28
- package/lib/typescript/module/delivery-slot/DeliverySlotDays.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts +0 -27
- package/lib/typescript/module/delivery-slot/DeliverySlotOption.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/DeliverySlotPicker.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/constants.d.ts +0 -34
- package/lib/typescript/module/delivery-slot/constants.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/index.d.ts +0 -8
- package/lib/typescript/module/delivery-slot/index.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/messages.d.ts +0 -23
- package/lib/typescript/module/delivery-slot/messages.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/shared.d.ts +0 -36
- package/lib/typescript/module/delivery-slot/shared.d.ts.map +0 -1
- package/lib/typescript/module/delivery-slot/types.d.ts +0 -178
- package/lib/typescript/module/delivery-slot/types.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts +0 -24
- package/lib/typescript/module/earnings/EarningsBreakdown.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts +0 -25
- package/lib/typescript/module/earnings/EarningsPayoutRow.d.ts.map +0 -1
- package/lib/typescript/module/earnings/EarningsSummary.d.ts +0 -6
- package/lib/typescript/module/earnings/EarningsSummary.d.ts.map +0 -1
- package/lib/typescript/module/earnings/constants.d.ts +0 -41
- package/lib/typescript/module/earnings/constants.d.ts.map +0 -1
- package/lib/typescript/module/earnings/index.d.ts +0 -9
- package/lib/typescript/module/earnings/index.d.ts.map +0 -1
- package/lib/typescript/module/earnings/messages.d.ts +0 -26
- package/lib/typescript/module/earnings/messages.d.ts.map +0 -1
- package/lib/typescript/module/earnings/shared.d.ts +0 -43
- package/lib/typescript/module/earnings/shared.d.ts.map +0 -1
- package/lib/typescript/module/earnings/types.d.ts +0 -171
- package/lib/typescript/module/earnings/types.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobBoard.d.ts +0 -38
- package/lib/typescript/module/job-board/JobBoard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/JobCard.d.ts +0 -6
- package/lib/typescript/module/job-board/JobCard.d.ts.map +0 -1
- package/lib/typescript/module/job-board/constants.d.ts +0 -79
- package/lib/typescript/module/job-board/constants.d.ts.map +0 -1
- package/lib/typescript/module/job-board/index.d.ts +0 -8
- package/lib/typescript/module/job-board/index.d.ts.map +0 -1
- package/lib/typescript/module/job-board/messages.d.ts +0 -56
- package/lib/typescript/module/job-board/messages.d.ts.map +0 -1
- package/lib/typescript/module/job-board/shared.d.ts +0 -78
- package/lib/typescript/module/job-board/shared.d.ts.map +0 -1
- package/lib/typescript/module/job-board/types.d.ts +0 -269
- package/lib/typescript/module/job-board/types.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts +0 -51
- package/lib/typescript/module/proof-of-delivery/ProofOfDelivery.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts +0 -6
- package/lib/typescript/module/proof-of-delivery/SignaturePad.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/constants.d.ts +0 -43
- package/lib/typescript/module/proof-of-delivery/constants.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/index.d.ts +0 -8
- package/lib/typescript/module/proof-of-delivery/index.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/messages.d.ts +0 -13
- package/lib/typescript/module/proof-of-delivery/messages.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/shared.d.ts +0 -79
- package/lib/typescript/module/proof-of-delivery/shared.d.ts.map +0 -1
- package/lib/typescript/module/proof-of-delivery/types.d.ts +0 -165
- package/lib/typescript/module/proof-of-delivery/types.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts +0 -32
- package/lib/typescript/module/shipment-request/ShipmentLoadPicker.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts +0 -5
- package/lib/typescript/module/shipment-request/ShipmentOptionsList.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts +0 -33
- package/lib/typescript/module/shipment-request/ShipmentRequestForm.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/constants.d.ts +0 -50
- package/lib/typescript/module/shipment-request/constants.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/index.d.ts +0 -8
- package/lib/typescript/module/shipment-request/index.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/messages.d.ts +0 -45
- package/lib/typescript/module/shipment-request/messages.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/shared.d.ts +0 -40
- package/lib/typescript/module/shipment-request/shared.d.ts.map +0 -1
- package/lib/typescript/module/shipment-request/types.d.ts +0 -219
- package/lib/typescript/module/shipment-request/types.d.ts.map +0 -1
- package/lib/typescript/module/styles/styled-primitives.d.ts +0 -69
- package/lib/typescript/module/styles/styled-primitives.d.ts.map +0 -1
- package/lib/typescript/module/teleport/Portal.d.ts +0 -48
- package/lib/typescript/module/teleport/Portal.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalHost.d.ts +0 -25
- package/lib/typescript/module/teleport/PortalHost.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalHostView.d.ts +0 -5
- package/lib/typescript/module/teleport/PortalHostView.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalHostView.native.d.ts +0 -4
- package/lib/typescript/module/teleport/PortalHostView.native.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalProvider.d.ts +0 -23
- package/lib/typescript/module/teleport/PortalProvider.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalProviderView.d.ts +0 -3
- package/lib/typescript/module/teleport/PortalProviderView.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalProviderView.native.d.ts +0 -9
- package/lib/typescript/module/teleport/PortalProviderView.native.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalView.d.ts +0 -9
- package/lib/typescript/module/teleport/PortalView.d.ts.map +0 -1
- package/lib/typescript/module/teleport/PortalView.native.d.ts +0 -8
- package/lib/typescript/module/teleport/PortalView.native.d.ts.map +0 -1
- package/lib/typescript/module/teleport/index.d.ts +0 -29
- package/lib/typescript/module/teleport/index.d.ts.map +0 -1
- package/lib/typescript/module/teleport/portal-manager.d.ts +0 -16
- package/lib/typescript/module/teleport/portal-manager.d.ts.map +0 -1
- package/lib/typescript/module/teleport/portal-registry.d.ts +0 -10
- package/lib/typescript/module/teleport/portal-registry.d.ts.map +0 -1
- package/lib/typescript/module/teleport/reducer.d.ts +0 -40
- package/lib/typescript/module/teleport/reducer.d.ts.map +0 -1
- package/lib/typescript/module/teleport/scroll-view-context/context.d.ts +0 -4
- package/lib/typescript/module/teleport/scroll-view-context/context.d.ts.map +0 -1
- package/lib/typescript/module/teleport/scroll-view-context/context.native.d.ts +0 -13
- package/lib/typescript/module/teleport/scroll-view-context/context.native.d.ts.map +0 -1
- package/lib/typescript/module/teleport/scroll-view-context/types.d.ts +0 -10
- package/lib/typescript/module/teleport/scroll-view-context/types.d.ts.map +0 -1
- package/lib/typescript/module/teleport/specs/PortalHostViewNativeComponent.d.ts +0 -13
- package/lib/typescript/module/teleport/specs/PortalHostViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/teleport/specs/PortalViewNativeComponent.d.ts +0 -14
- package/lib/typescript/module/teleport/specs/PortalViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/teleport/types.d.ts +0 -22
- package/lib/typescript/module/teleport/types.d.ts.map +0 -1
- package/lib/typescript/module/teleport/use-id.d.ts +0 -2
- package/lib/typescript/module/teleport/use-id.d.ts.map +0 -1
- package/lib/typescript/module/teleport/use-portal.d.ts +0 -35
- package/lib/typescript/module/teleport/use-portal.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts +0 -7
- package/lib/typescript/module/vehicle-picker/VehiclePicker.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/constants.d.ts +0 -45
- package/lib/typescript/module/vehicle-picker/constants.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/index.d.ts +0 -6
- package/lib/typescript/module/vehicle-picker/index.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/messages.d.ts +0 -26
- package/lib/typescript/module/vehicle-picker/messages.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/shared.d.ts +0 -19
- package/lib/typescript/module/vehicle-picker/shared.d.ts.map +0 -1
- package/lib/typescript/module/vehicle-picker/types.d.ts +0 -82
- package/lib/typescript/module/vehicle-picker/types.d.ts.map +0 -1
- package/src/carrier-quote/CarrierQuoteCard.tsx +0 -558
- package/src/carrier-quote/CarrierQuoteList.tsx +0 -271
- package/src/carrier-quote/constants.ts +0 -57
- package/src/carrier-quote/index.ts +0 -28
- package/src/carrier-quote/messages.ts +0 -66
- package/src/carrier-quote/shared.ts +0 -168
- package/src/carrier-quote/types.ts +0 -199
- package/src/delivery-slot/DeliverySlotDays.tsx +0 -91
- package/src/delivery-slot/DeliverySlotOption.tsx +0 -123
- package/src/delivery-slot/DeliverySlotPicker.tsx +0 -275
- package/src/delivery-slot/constants.ts +0 -47
- package/src/delivery-slot/index.ts +0 -24
- package/src/delivery-slot/messages.ts +0 -33
- package/src/delivery-slot/shared.ts +0 -84
- package/src/delivery-slot/types.ts +0 -191
- package/src/earnings/EarningsBreakdown.tsx +0 -75
- package/src/earnings/EarningsPayoutRow.tsx +0 -141
- package/src/earnings/EarningsSummary.tsx +0 -310
- package/src/earnings/constants.ts +0 -61
- package/src/earnings/index.ts +0 -24
- package/src/earnings/messages.ts +0 -45
- package/src/earnings/shared.ts +0 -94
- package/src/earnings/types.ts +0 -180
- package/src/job-board/JobBoard.tsx +0 -514
- package/src/job-board/JobCard.tsx +0 -597
- package/src/job-board/constants.ts +0 -106
- package/src/job-board/index.ts +0 -34
- package/src/job-board/messages.ts +0 -96
- package/src/job-board/shared.ts +0 -215
- package/src/job-board/types.ts +0 -274
- package/src/proof-of-delivery/ProofOfDelivery.tsx +0 -321
- package/src/proof-of-delivery/SignaturePad.tsx +0 -309
- package/src/proof-of-delivery/constants.ts +0 -54
- package/src/proof-of-delivery/index.ts +0 -29
- package/src/proof-of-delivery/messages.ts +0 -43
- package/src/proof-of-delivery/shared.ts +0 -190
- package/src/proof-of-delivery/types.ts +0 -174
- package/src/shipment-request/ShipmentLoadPicker.tsx +0 -249
- package/src/shipment-request/ShipmentOptionsList.tsx +0 -192
- package/src/shipment-request/ShipmentRequestForm.tsx +0 -160
- package/src/shipment-request/constants.ts +0 -138
- package/src/shipment-request/index.ts +0 -37
- package/src/shipment-request/messages.ts +0 -85
- package/src/shipment-request/shared.ts +0 -72
- package/src/shipment-request/types.ts +0 -235
- package/src/styles/styled-primitives.ts +0 -87
- package/src/teleport/Portal.tsx +0 -96
- package/src/teleport/PortalHost.tsx +0 -61
- package/src/teleport/PortalHostView.native.tsx +0 -14
- package/src/teleport/PortalHostView.tsx +0 -30
- package/src/teleport/PortalProvider.tsx +0 -51
- package/src/teleport/PortalProviderView.native.tsx +0 -11
- package/src/teleport/PortalProviderView.tsx +0 -54
- package/src/teleport/PortalView.native.tsx +0 -7
- package/src/teleport/PortalView.tsx +0 -83
- package/src/teleport/index.ts +0 -32
- package/src/teleport/portal-manager.tsx +0 -29
- package/src/teleport/portal-registry.ts +0 -24
- package/src/teleport/reducer.ts +0 -93
- package/src/teleport/scroll-view-context/context.native.ts +0 -19
- package/src/teleport/scroll-view-context/context.ts +0 -12
- package/src/teleport/scroll-view-context/types.ts +0 -7
- package/src/teleport/specs/PortalHostViewNativeComponent.ts +0 -15
- package/src/teleport/specs/PortalViewNativeComponent.ts +0 -16
- package/src/teleport/teleport-global.d.ts +0 -11
- package/src/teleport/types.ts +0 -22
- package/src/teleport/use-id.ts +0 -18
- package/src/teleport/use-portal.ts +0 -46
- package/src/vehicle-picker/VehiclePicker.tsx +0 -233
- package/src/vehicle-picker/constants.ts +0 -77
- package/src/vehicle-picker/index.ts +0 -15
- package/src/vehicle-picker/messages.ts +0 -61
- package/src/vehicle-picker/shared.ts +0 -27
- package/src/vehicle-picker/types.ts +0 -86
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CarrierQuoteList = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _index = require("../card/index.js");
|
|
10
|
-
var _index2 = require("../chip/index.js");
|
|
11
|
-
var _useControllableState = require("../hooks/use-controllable-state.js");
|
|
12
|
-
var _index3 = require("../icon-circle/index.js");
|
|
13
|
-
var _RiInbox2Line = require("../icons/remix/RiInbox2Line.js");
|
|
14
|
-
var Skeleton = _interopRequireWildcard(require("../skeleton/index.js"));
|
|
15
|
-
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
16
|
-
var _useTheme = require("../theme/use-theme.js");
|
|
17
|
-
var _index5 = require("../typography/index.js");
|
|
18
|
-
var _CarrierQuoteCard = require("./CarrierQuoteCard.js");
|
|
19
|
-
var _constants = require("./constants.js");
|
|
20
|
-
var _shared = require("./shared.js");
|
|
21
|
-
var _messages = require("../locale/messages.js");
|
|
22
|
-
var _messages2 = require("./messages.js");
|
|
23
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
|
-
var cache;
|
|
25
|
-
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, default: e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
26
|
-
/**
|
|
27
|
-
* The offers on one job, ordered, marked and counted.
|
|
28
|
-
*
|
|
29
|
-
* head the count at `body-semibold` on the left, the order as a
|
|
30
|
-
* `radiogroup` of chips on the right; both wrap onto their own line
|
|
31
|
-
* under 420
|
|
32
|
-
* list the cards, 12 apart, each one handed the marks the SET earned
|
|
33
|
-
* loading placeholder cards of the same height, announced `busy` — not a
|
|
34
|
-
* spinner, because the answer arriving is a list and a list is what
|
|
35
|
-
* should be reserved for it
|
|
36
|
-
* empty a tinted glyph disc over one line of explanation and the caller's
|
|
37
|
-
* own action; an empty offers list is a WAIT, not a failure, so it
|
|
38
|
-
* says what happens next rather than what went wrong
|
|
39
|
-
*
|
|
40
|
-
* **THE ORDER IS THIS COMPONENT'S, NOT THE CALLER'S.** `quotes` arrives in
|
|
41
|
-
* whatever order the app has; `sortCarrierQuotes` puts it in the chosen one and
|
|
42
|
-
* is stable, so two equal offers never swap places on a re-render.
|
|
43
|
-
*
|
|
44
|
-
* **THE MARKS ARE A STATEMENT ABOUT THE SET.** `cheapest` and `fastest` are
|
|
45
|
-
* derived here from `priceValue` / `etaMinutes` — numbers the app supplies for
|
|
46
|
-
* comparison and this family never draws — and every offer tied at a minimum
|
|
47
|
-
* is marked. A card cannot mark itself: it has never seen the others.
|
|
48
|
-
*/function CarrierQuoteListComponent({
|
|
49
|
-
quotes,
|
|
50
|
-
sort: sortProp,
|
|
51
|
-
defaultSort = 'price',
|
|
52
|
-
onSortChange,
|
|
53
|
-
sortOptions = _constants.CARRIER_QUOTE_SORTS,
|
|
54
|
-
showCount = true,
|
|
55
|
-
marks = true,
|
|
56
|
-
loading = false,
|
|
57
|
-
loadingCount = 3,
|
|
58
|
-
onAccept,
|
|
59
|
-
onMessage,
|
|
60
|
-
onDecline,
|
|
61
|
-
onPressCarrier,
|
|
62
|
-
selectedId = null,
|
|
63
|
-
density = 'comfortable',
|
|
64
|
-
breakdown,
|
|
65
|
-
emptyTitle: emptyTitleProp,
|
|
66
|
-
emptyDescription: emptyDescriptionProp,
|
|
67
|
-
emptyAction,
|
|
68
|
-
labels: labelOverrides,
|
|
69
|
-
accessibilityLabel: accessibilityLabelProp,
|
|
70
|
-
style,
|
|
71
|
-
testID
|
|
72
|
-
}) {
|
|
73
|
-
const {
|
|
74
|
-
messages: quoteText
|
|
75
|
-
} = (0, _messages.useMessages)(_messages2.CARRIER_QUOTE_MESSAGES);
|
|
76
|
-
const emptyTitle = emptyTitleProp ?? quoteText.emptyTitle;
|
|
77
|
-
const emptyDescription = emptyDescriptionProp ?? quoteText.emptyDescription;
|
|
78
|
-
const accessibilityLabel = accessibilityLabelProp ?? quoteText.list;
|
|
79
|
-
const theme = (0, _useTheme.useTheme)();
|
|
80
|
-
const ambient = (0, _surfaceLevels.useSurfaceLevel)(0);
|
|
81
|
-
const paint = (0, _react.useMemo)(() => (0, _shared.resolveCarrierQuotePaint)(theme, ambient.background), [theme, ambient.background]);
|
|
82
|
-
const labels = (0, _react.useMemo)(() => ({
|
|
83
|
-
...quoteText.labels,
|
|
84
|
-
...labelOverrides,
|
|
85
|
-
sortOptions: {
|
|
86
|
-
...quoteText.labels.sortOptions,
|
|
87
|
-
...labelOverrides?.sortOptions
|
|
88
|
-
}
|
|
89
|
-
}), [labelOverrides, quoteText]);
|
|
90
|
-
const [sort, setSort] = (0, _useControllableState.useControllableState)({
|
|
91
|
-
value: sortProp,
|
|
92
|
-
defaultValue: defaultSort,
|
|
93
|
-
onChange: onSortChange
|
|
94
|
-
});
|
|
95
|
-
const ordered = (0, _react.useMemo)(() => (0, _shared.sortCarrierQuotes)(quotes, sort), [quotes, sort]);
|
|
96
|
-
const marked = (0, _react.useMemo)(() => marks ? (0, _shared.markCarrierQuotes)(quotes) : new Map(), [quotes, marks]);
|
|
97
|
-
const id = part => testID ? `${testID}-${part}` : undefined;
|
|
98
|
-
|
|
99
|
-
// No head at all until there is something to count and something to order.
|
|
100
|
-
// "0 offers" over a control that can reorder nothing is chrome for a list
|
|
101
|
-
// that does not exist yet, and the empty state already says the same thing in
|
|
102
|
-
// words a reader can act on.
|
|
103
|
-
const head = quotes.length > 0 && (showCount || sortOptions.length > 0) ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
104
|
-
style: {
|
|
105
|
-
flexDirection: 'row',
|
|
106
|
-
alignItems: 'center',
|
|
107
|
-
justifyContent: 'space-between',
|
|
108
|
-
flexWrap: 'wrap',
|
|
109
|
-
gap: 8
|
|
110
|
-
},
|
|
111
|
-
testID: id('head'),
|
|
112
|
-
children: [showCount ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Text, {
|
|
113
|
-
variant: "body-semibold",
|
|
114
|
-
role: "heading",
|
|
115
|
-
"aria-level": 3,
|
|
116
|
-
style: {
|
|
117
|
-
color: paint.text
|
|
118
|
-
},
|
|
119
|
-
testID: id('count'),
|
|
120
|
-
children: labels.count(quotes.length)
|
|
121
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {}), sortOptions.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
122
|
-
collapsable: false,
|
|
123
|
-
role: "radiogroup",
|
|
124
|
-
accessibilityLabel: labels.sort,
|
|
125
|
-
style: {
|
|
126
|
-
flexDirection: 'row',
|
|
127
|
-
flexWrap: 'wrap',
|
|
128
|
-
gap: 8
|
|
129
|
-
},
|
|
130
|
-
testID: id('sort'),
|
|
131
|
-
children: sortOptions.map(option => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Chip, {
|
|
132
|
-
role: "radio"
|
|
133
|
-
// 32 drawn, 44 under a thumb through `Chip`'s own hitSlop: this
|
|
134
|
-
// is a control, not a label.
|
|
135
|
-
,
|
|
136
|
-
size: "xl",
|
|
137
|
-
variant: "outlined",
|
|
138
|
-
selected: sort === option,
|
|
139
|
-
onPress: () => setSort(option),
|
|
140
|
-
accessibilityLabel: labels.sortOptions[option],
|
|
141
|
-
testID: id(`sort-${option}`),
|
|
142
|
-
children: labels.sortOptions[option]
|
|
143
|
-
}, option))
|
|
144
|
-
}) : null]
|
|
145
|
-
}) : null;
|
|
146
|
-
let body;
|
|
147
|
-
if (loading) {
|
|
148
|
-
body = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
149
|
-
"aria-busy": true,
|
|
150
|
-
accessibilityState: {
|
|
151
|
-
busy: true
|
|
152
|
-
},
|
|
153
|
-
accessibilityLabel: labels.loading,
|
|
154
|
-
style: {
|
|
155
|
-
gap: 12
|
|
156
|
-
},
|
|
157
|
-
testID: id('loading'),
|
|
158
|
-
children: Array.from({
|
|
159
|
-
length: Math.max(1, loadingCount)
|
|
160
|
-
}, (_unused, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Card, {
|
|
161
|
-
radius: "radius-20",
|
|
162
|
-
style: (0, _surfaceLevels.surfaceFillVars)(theme.colors.card),
|
|
163
|
-
testID: id(`placeholder-${index}`),
|
|
164
|
-
appearance: "outline",
|
|
165
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
166
|
-
style: {
|
|
167
|
-
paddingTop: _constants.CARRIER_QUOTE_GEOMETRY.padding,
|
|
168
|
-
paddingBottom: _constants.CARRIER_QUOTE_GEOMETRY.padding,
|
|
169
|
-
paddingLeft: _constants.CARRIER_QUOTE_GEOMETRY.padding,
|
|
170
|
-
paddingRight: _constants.CARRIER_QUOTE_GEOMETRY.padding,
|
|
171
|
-
gap: _constants.CARRIER_QUOTE_GEOMETRY.gap
|
|
172
|
-
},
|
|
173
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(Skeleton.Row, {
|
|
174
|
-
style: {
|
|
175
|
-
alignItems: 'center',
|
|
176
|
-
gap: 12
|
|
177
|
-
},
|
|
178
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Circle, {
|
|
179
|
-
size: _constants.CARRIER_QUOTE_GEOMETRY.avatar.comfortable
|
|
180
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(Skeleton.Col, {
|
|
181
|
-
style: {
|
|
182
|
-
gap: 6
|
|
183
|
-
},
|
|
184
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Text, {
|
|
185
|
-
style: {
|
|
186
|
-
width: 160
|
|
187
|
-
}
|
|
188
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Text, {
|
|
189
|
-
style: {
|
|
190
|
-
width: 110
|
|
191
|
-
}
|
|
192
|
-
})]
|
|
193
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Box, {
|
|
194
|
-
width: 72,
|
|
195
|
-
height: 20
|
|
196
|
-
})]
|
|
197
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton.Box, {
|
|
198
|
-
height: 64,
|
|
199
|
-
borderRadius: _constants.CARRIER_QUOTE_GEOMETRY.tileRadius
|
|
200
|
-
})]
|
|
201
|
-
})
|
|
202
|
-
}, index))
|
|
203
|
-
});
|
|
204
|
-
} else if (ordered.length === 0) {
|
|
205
|
-
body = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
206
|
-
collapsable: false,
|
|
207
|
-
role: "group",
|
|
208
|
-
accessibilityLabel: emptyTitle,
|
|
209
|
-
style: {
|
|
210
|
-
alignItems: 'center',
|
|
211
|
-
gap: 12,
|
|
212
|
-
paddingTop: 32,
|
|
213
|
-
paddingBottom: 32,
|
|
214
|
-
paddingLeft: 24,
|
|
215
|
-
paddingRight: 24
|
|
216
|
-
},
|
|
217
|
-
testID: id('empty'),
|
|
218
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.IconCircle, {
|
|
219
|
-
icon: _RiInbox2Line.RiInbox2Line,
|
|
220
|
-
size: "lg"
|
|
221
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Text, {
|
|
222
|
-
variant: "headline-semibold",
|
|
223
|
-
style: {
|
|
224
|
-
color: paint.text,
|
|
225
|
-
textAlign: 'center'
|
|
226
|
-
},
|
|
227
|
-
testID: id('empty-title'),
|
|
228
|
-
children: emptyTitle
|
|
229
|
-
}), emptyDescription ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Text, {
|
|
230
|
-
variant: "body-regular",
|
|
231
|
-
style: {
|
|
232
|
-
color: paint.textSecondary,
|
|
233
|
-
textAlign: 'center',
|
|
234
|
-
maxWidth: 360
|
|
235
|
-
},
|
|
236
|
-
children: emptyDescription
|
|
237
|
-
}) : null, emptyAction]
|
|
238
|
-
});
|
|
239
|
-
} else {
|
|
240
|
-
body = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
241
|
-
style: {
|
|
242
|
-
gap: 12
|
|
243
|
-
},
|
|
244
|
-
children: ordered.map(quote => /*#__PURE__*/(0, _jsxRuntime.jsx)(_CarrierQuoteCard.CarrierQuoteCard, {
|
|
245
|
-
quote: marks ? {
|
|
246
|
-
...quote,
|
|
247
|
-
marks: marked.get(quote.id) ?? []
|
|
248
|
-
} : quote,
|
|
249
|
-
onAccept: onAccept,
|
|
250
|
-
onMessage: onMessage,
|
|
251
|
-
onDecline: onDecline,
|
|
252
|
-
onPressCarrier: onPressCarrier,
|
|
253
|
-
selected: selectedId === quote.id,
|
|
254
|
-
density: density,
|
|
255
|
-
breakdown: breakdown,
|
|
256
|
-
labels: labelOverrides,
|
|
257
|
-
testID: id(quote.id)
|
|
258
|
-
}, quote.id))
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
262
|
-
collapsable: false,
|
|
263
|
-
testID: testID,
|
|
264
|
-
role: "group",
|
|
265
|
-
accessibilityLabel: accessibilityLabel,
|
|
266
|
-
style: [{
|
|
267
|
-
gap: 16
|
|
268
|
-
}, style],
|
|
269
|
-
children: [head, body]
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
const CarrierQuoteList = exports.CarrierQuoteList = /*#__PURE__*/(0, _react.memo)(CarrierQuoteListComponent);
|
|
273
|
-
CarrierQuoteList.displayName = 'CarrierQuoteList';
|
|
274
|
-
//# sourceMappingURL=CarrierQuoteList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_useControllableState","_index3","_RiInbox2Line","Skeleton","_surfaceLevels","_useTheme","_index5","_CarrierQuoteCard","_constants","_shared","_messages","_messages2","_jsxRuntime","cache","e","t","__esModule","r","c","a","Object","defineProperty","n","__proto__","default","WeakMap","has","get","set","hasOwnProperty","call","getOwnPropertyDescriptor","CarrierQuoteListComponent","quotes","sort","sortProp","defaultSort","onSortChange","sortOptions","CARRIER_QUOTE_SORTS","showCount","marks","loading","loadingCount","onAccept","onMessage","onDecline","onPressCarrier","selectedId","density","breakdown","emptyTitle","emptyTitleProp","emptyDescription","emptyDescriptionProp","emptyAction","labels","labelOverrides","accessibilityLabel","accessibilityLabelProp","style","testID","messages","quoteText","useMessages","CARRIER_QUOTE_MESSAGES","list","theme","useTheme","ambient","useSurfaceLevel","paint","useMemo","resolveCarrierQuotePaint","background","setSort","useControllableState","value","defaultValue","onChange","ordered","sortCarrierQuotes","marked","markCarrierQuotes","Map","id","part","undefined","head","length","jsxs","View","flexDirection","alignItems","justifyContent","flexWrap","gap","children","jsx","Text","variant","role","color","text","count","collapsable","map","option","Chip","size","selected","onPress","body","accessibilityState","busy","Array","from","Math","max","_unused","index","Card","radius","surfaceFillVars","colors","card","appearance","paddingTop","CARRIER_QUOTE_GEOMETRY","padding","paddingBottom","paddingLeft","paddingRight","Row","Circle","avatar","comfortable","Col","width","Box","height","borderRadius","tileRadius","IconCircle","icon","RiInbox2Line","textAlign","textSecondary","maxWidth","quote","CarrierQuoteCard","CarrierQuoteList","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["carrier-quote/CarrierQuoteList.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CARRIER_QUOTE_SORTS = exports.CARRIER_QUOTE_MARK_TONE = exports.CARRIER_QUOTE_MARK_ORDER = exports.CARRIER_QUOTE_LABELS = exports.CARRIER_QUOTE_GEOMETRY = void 0;
|
|
7
|
-
var _scales = require("../design-tokens/scales.js");
|
|
8
|
-
var _messages = require("./messages.js");
|
|
9
|
-
/**
|
|
10
|
-
* Every default word the card and the list draw, in English. The components
|
|
11
|
-
* speak the locale's (`CARRIER_QUOTE_MESSAGES`, via `BloomProvider locale`).
|
|
12
|
-
*/
|
|
13
|
-
const CARRIER_QUOTE_LABELS = exports.CARRIER_QUOTE_LABELS = _messages.CARRIER_QUOTE_MESSAGES.en.labels;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The tone each mark is painted in.
|
|
17
|
-
*
|
|
18
|
-
* Two marks, two different things: money is `success` because a lower number is
|
|
19
|
-
* unambiguously in the reader's favour, time is `info` because "fastest" is a
|
|
20
|
-
* fact rather than a recommendation — a reader who is not in a hurry should not
|
|
21
|
-
* see it painted as the good answer.
|
|
22
|
-
*/
|
|
23
|
-
const CARRIER_QUOTE_MARK_TONE = exports.CARRIER_QUOTE_MARK_TONE = {
|
|
24
|
-
cheapest: 'success',
|
|
25
|
-
fastest: 'info'
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/** The order the marks are drawn in, so two marked quotes never disagree. */
|
|
29
|
-
const CARRIER_QUOTE_MARK_ORDER = exports.CARRIER_QUOTE_MARK_ORDER = ['cheapest', 'fastest'];
|
|
30
|
-
|
|
31
|
-
/** The three orders a list offers, in the order they are drawn. */
|
|
32
|
-
const CARRIER_QUOTE_SORTS = exports.CARRIER_QUOTE_SORTS = ['price', 'eta', 'rating'];
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* The card's geometry, as numbers rather than as prose.
|
|
36
|
-
*
|
|
37
|
-
* `narrowWidth` is the card's OWN width under which the actions drop their
|
|
38
|
-
* labels to glyphs and the tiles stack two by two — one measurement for both,
|
|
39
|
-
* because a card too narrow for three tiles is too narrow for three labelled
|
|
40
|
-
* buttons beside a 48 mark. `avatar` is the mark: 48 on the card, 36 in a
|
|
41
|
-
* compact row, which is the rung a list item uses everywhere else in Bloom.
|
|
42
|
-
*/
|
|
43
|
-
const CARRIER_QUOTE_GEOMETRY = exports.CARRIER_QUOTE_GEOMETRY = {
|
|
44
|
-
padding: 16,
|
|
45
|
-
gap: 16,
|
|
46
|
-
tileGap: 8,
|
|
47
|
-
tilePadding: 12,
|
|
48
|
-
tileRadius: _scales.RADIUS['radius-12'],
|
|
49
|
-
radius: _scales.RADIUS['radius-20'],
|
|
50
|
-
narrowWidth: 420,
|
|
51
|
-
avatar: {
|
|
52
|
-
comfortable: 48,
|
|
53
|
-
compact: 36
|
|
54
|
-
},
|
|
55
|
-
rowMinHeight: 64,
|
|
56
|
-
/** The drawn size of an action; a `hitSlop` takes it to 44 for a thumb. */
|
|
57
|
-
actionHit: {
|
|
58
|
-
top: 6,
|
|
59
|
-
bottom: 6,
|
|
60
|
-
left: 6,
|
|
61
|
-
right: 6
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_scales","require","_messages","CARRIER_QUOTE_LABELS","exports","CARRIER_QUOTE_MESSAGES","en","labels","CARRIER_QUOTE_MARK_TONE","cheapest","fastest","CARRIER_QUOTE_MARK_ORDER","CARRIER_QUOTE_SORTS","CARRIER_QUOTE_GEOMETRY","padding","gap","tileGap","tilePadding","tileRadius","RADIUS","radius","narrowWidth","avatar","comfortable","compact","rowMinHeight","actionHit","top","bottom","left","right"],"sourceRoot":"../../../src","sources":["carrier-quote/constants.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGA,IAAAC,SAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAME,oBAGZ,GAAAC,OAAA,CAAAD,oBAAA,GAAGE,gCAAsB,CAACC,EAAE,CAACC,MAAM;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,uBAA6D,GAAAJ,OAAA,CAAAI,uBAAA,GAAG;EAC3EC,QAAQ,EAAE,SAAS;EACnBC,OAAO,EAAE;AACX,CAAC;;AAED;AACO,MAAMC,wBAAqD,GAAAP,OAAA,CAAAO,wBAAA,GAAG,CAAC,UAAU,EAAE,SAAS,CAAC;;AAE5F;AACO,MAAMC,mBAAgD,GAAAR,OAAA,CAAAQ,mBAAA,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC;;AAE1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,sBAAsB,GAAAT,OAAA,CAAAS,sBAAA,GAAG;EACpCC,OAAO,EAAE,EAAE;EACXC,GAAG,EAAE,EAAE;EACPC,OAAO,EAAE,CAAC;EACVC,WAAW,EAAE,EAAE;EACfC,UAAU,EAAEC,cAAM,CAAC,WAAW,CAAC;EAC/BC,MAAM,EAAED,cAAM,CAAC,WAAW,CAAC;EAC3BE,WAAW,EAAE,GAAG;EAChBC,MAAM,EAAE;IAAEC,WAAW,EAAE,EAAE;IAAEC,OAAO,EAAE;EAAG,CAAC;EACxCC,YAAY,EAAE,EAAE;EAChB;EACAC,SAAS,EAAE;IAAEC,GAAG,EAAE,CAAC;IAAEC,MAAM,EAAE,CAAC;IAAEC,IAAI,EAAE,CAAC;IAAEC,KAAK,EAAE;EAAE;AACpD,CAAU","ignoreList":[]}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "CARRIER_QUOTE_GEOMETRY", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _constants.CARRIER_QUOTE_GEOMETRY;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "CARRIER_QUOTE_LABELS", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _constants.CARRIER_QUOTE_LABELS;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "CARRIER_QUOTE_MARK_ORDER", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _constants.CARRIER_QUOTE_MARK_ORDER;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "CARRIER_QUOTE_MARK_TONE", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _constants.CARRIER_QUOTE_MARK_TONE;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "CARRIER_QUOTE_SORTS", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _constants.CARRIER_QUOTE_SORTS;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "CarrierQuoteCard", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _CarrierQuoteCard.CarrierQuoteCard;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "CarrierQuoteList", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _CarrierQuoteList.CarrierQuoteList;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "carrierActionsAreLabelled", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _shared.carrierActionsAreLabelled;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "markCarrierQuotes", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _shared.markCarrierQuotes;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "orderCarrierMarks", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _shared.orderCarrierMarks;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "resolveCarrierQuotePaint", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _shared.resolveCarrierQuotePaint;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "sortCarrierQuotes", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _shared.sortCarrierQuotes;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
var _CarrierQuoteCard = require("./CarrierQuoteCard.js");
|
|
79
|
-
var _CarrierQuoteList = require("./CarrierQuoteList.js");
|
|
80
|
-
var _constants = require("./constants.js");
|
|
81
|
-
var _shared = require("./shared.js");
|
|
82
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_CarrierQuoteCard","require","_CarrierQuoteList","_constants","_shared"],"sourceRoot":"../../../src","sources":["carrier-quote/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAQA,IAAAG,OAAA,GAAAH,OAAA","ignoreList":[]}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CARRIER_QUOTE_MESSAGES = void 0;
|
|
7
|
-
var _messages = require("../locale/messages.js");
|
|
8
|
-
var _plural = require("../locale/plural.js");
|
|
9
|
-
/**
|
|
10
|
-
* Every fixed string the carrier-quote card and list draw or announce, in each
|
|
11
|
-
* Bloom language. `labels` has the shape of `CARRIER_QUOTE_LABELS` (the English
|
|
12
|
-
* entry); a caller's `labels` / `emptyTitle` / `accessibilityLabel` still win.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
const CARRIER_QUOTE_MESSAGES = exports.CARRIER_QUOTE_MESSAGES = (0, _messages.defineMessages)('CARRIER_QUOTE_MESSAGES', {
|
|
16
|
-
labels: {
|
|
17
|
-
accept: 'Accept',
|
|
18
|
-
message: 'Message',
|
|
19
|
-
decline: 'Decline',
|
|
20
|
-
pickup: 'Pick-up',
|
|
21
|
-
eta: 'Arrives',
|
|
22
|
-
vehicle: 'Vehicle',
|
|
23
|
-
jobs: jobs => `${jobs} jobs`,
|
|
24
|
-
verified: 'Verified carrier',
|
|
25
|
-
marks: {
|
|
26
|
-
cheapest: 'Cheapest',
|
|
27
|
-
fastest: 'Fastest'
|
|
28
|
-
},
|
|
29
|
-
showPrice: 'Show price details',
|
|
30
|
-
hidePrice: 'Hide price details',
|
|
31
|
-
priceDetails: 'Price details for',
|
|
32
|
-
sort: 'Sort offers',
|
|
33
|
-
sortOptions: {
|
|
34
|
-
price: 'Cheapest',
|
|
35
|
-
eta: 'Fastest',
|
|
36
|
-
rating: 'Best rated'
|
|
37
|
-
},
|
|
38
|
-
count: n => (0, _plural.plural)('en', n, {
|
|
39
|
-
one: '{n} offer',
|
|
40
|
-
other: '{n} offers'
|
|
41
|
-
}),
|
|
42
|
-
loading: 'Loading offers'
|
|
43
|
-
},
|
|
44
|
-
emptyTitle: 'No offers yet',
|
|
45
|
-
emptyDescription: 'Carriers are looking at your job. The first offers usually arrive within a few minutes.',
|
|
46
|
-
list: 'Offers',
|
|
47
|
-
priceDetailsFor: name => `Price details for ${name}`,
|
|
48
|
-
rating: rating => `${rating} out of 5`
|
|
49
|
-
});
|
|
50
|
-
//# sourceMappingURL=messages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_messages","require","_plural","CARRIER_QUOTE_MESSAGES","exports","defineMessages","labels","accept","message","decline","pickup","eta","vehicle","jobs","verified","marks","cheapest","fastest","showPrice","hidePrice","priceDetails","sort","sortOptions","price","rating","count","n","plural","one","other","loading","emptyTitle","emptyDescription","list","priceDetailsFor","name"],"sourceRoot":"../../../src","sources":["carrier-quote/messages.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAGA;AACA;AACA;AACA;AACA;;AA+BO,MAAME,sBAA4D,GAAAC,OAAA,CAAAD,sBAAA,GACvE,IAAAE,wBAAc,EAAuB,wBAAwB,EAAE;EAC7DC,MAAM,EAAE;IACNC,MAAM,EAAE,QAAQ;IAChBC,OAAO,EAAE,SAAS;IAClBC,OAAO,EAAE,SAAS;IAClBC,MAAM,EAAE,SAAS;IACjBC,GAAG,EAAE,SAAS;IACdC,OAAO,EAAE,SAAS;IAClBC,IAAI,EAAGA,IAAI,IAAK,GAAGA,IAAI,OAAO;IAC9BC,QAAQ,EAAE,kBAAkB;IAC5BC,KAAK,EAAE;MAAEC,QAAQ,EAAE,UAAU;MAAEC,OAAO,EAAE;IAAU,CAAC;IACnDC,SAAS,EAAE,oBAAoB;IAC/BC,SAAS,EAAE,oBAAoB;IAC/BC,YAAY,EAAE,mBAAmB;IACjCC,IAAI,EAAE,aAAa;IACnBC,WAAW,EAAE;MAAEC,KAAK,EAAE,UAAU;MAAEZ,GAAG,EAAE,SAAS;MAAEa,MAAM,EAAE;IAAa,CAAC;IACxEC,KAAK,EAAGC,CAAC,IAAK,IAAAC,cAAM,EAAC,IAAI,EAAED,CAAC,EAAE;MAAEE,GAAG,EAAE,WAAW;MAAEC,KAAK,EAAE;IAAa,CAAC,CAAC;IACxEC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE,eAAe;EAC3BC,gBAAgB,EACd,yFAAyF;EAC3FC,IAAI,EAAE,QAAQ;EACdC,eAAe,EAAGC,IAAI,IAAK,qBAAqBA,IAAI,EAAE;EACtDX,MAAM,EAAGA,MAAM,IAAK,GAAGA,MAAM;AAC/B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CARRIER_QUOTE_WEB_CSS = exports.CARRIER_QUOTE_STYLE_ID = void 0;
|
|
7
|
-
exports.carrierActionsAreLabelled = carrierActionsAreLabelled;
|
|
8
|
-
exports.joinQuoteName = joinQuoteName;
|
|
9
|
-
exports.markCarrierQuotes = markCarrierQuotes;
|
|
10
|
-
exports.orderCarrierMarks = orderCarrierMarks;
|
|
11
|
-
exports.resolveCarrierQuotePaint = resolveCarrierQuotePaint;
|
|
12
|
-
exports.sortCarrierQuotes = sortCarrierQuotes;
|
|
13
|
-
var _interactiveWebCss = require("../styles/interactive-web-css.js");
|
|
14
|
-
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
15
|
-
var _constants = require("./constants.js");
|
|
16
|
-
/**
|
|
17
|
-
* What `CarrierQuoteCard` paints, and the pure ordering the list is built on.
|
|
18
|
-
*
|
|
19
|
-
* The paint is RELATIVE, for the reason every commerce family here computes one
|
|
20
|
-
* the same way: the card is a `Card` on an offers screen and a bare row inside
|
|
21
|
-
* a sheet, and a ramp stop picked here would be right for one of them and
|
|
22
|
-
* invisible on the other. Everything comes off the fill the content actually
|
|
23
|
-
* lands on (`styles/surface-levels.ts`).
|
|
24
|
-
*
|
|
25
|
-
* The ordering is pure and exported because "cheapest first" is a claim about a
|
|
26
|
-
* SET, and a claim about a set is exactly what a render-level test cannot walk
|
|
27
|
-
* at its boundaries — ties, missing numbers, a list of one.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
function resolveCarrierQuotePaint(theme, surface) {
|
|
31
|
-
const text = (0, _surfaceLevels.surfaceTextOn)(theme, surface);
|
|
32
|
-
const tile = (0, _surfaceLevels.surfaceFillOn)(theme, surface);
|
|
33
|
-
return {
|
|
34
|
-
surface,
|
|
35
|
-
hairline: (0, _surfaceLevels.hairlineOn)(theme, surface),
|
|
36
|
-
tile,
|
|
37
|
-
text: text.text,
|
|
38
|
-
textSecondary: text.textSecondary,
|
|
39
|
-
textTertiary: text.textTertiary,
|
|
40
|
-
tileText: (0, _surfaceLevels.surfaceTextOn)(theme, tile),
|
|
41
|
-
accent: theme.colors.primary
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Whether the card's actions carry their LABELS at this width.
|
|
47
|
-
*
|
|
48
|
-
* A pure function of the measured width so the threshold can be walked without
|
|
49
|
-
* a layout pass — `onLayout` never fires in jsdom, and a threshold only a
|
|
50
|
-
* browser exercises is a threshold nothing pins. Before the first layout the
|
|
51
|
-
* width is `null` and the labels are ON: an unmeasured card is one the caller
|
|
52
|
-
* has not constrained, and the label is the better of the two guesses.
|
|
53
|
-
*/
|
|
54
|
-
function carrierActionsAreLabelled(width, narrowWidth) {
|
|
55
|
-
return width === null || width >= narrowWidth;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* The offers in the order the list draws them.
|
|
60
|
-
*
|
|
61
|
-
* Every key is a NUMBER the caller supplied for comparison only — this family
|
|
62
|
-
* never reads a formatted amount, so a quote with no number for the current
|
|
63
|
-
* order cannot be placed against one that has a number, and goes LAST. Within
|
|
64
|
-
* the missing group the caller's own order is kept, because there is nothing
|
|
65
|
-
* left to sort on and re-shuffling a group of equals makes a list jump for no
|
|
66
|
-
* visible reason.
|
|
67
|
-
*
|
|
68
|
-
* Stable: equal keys keep their input order.
|
|
69
|
-
*/
|
|
70
|
-
function sortCarrierQuotes(quotes, sort) {
|
|
71
|
-
const key = quote => {
|
|
72
|
-
if (sort === 'price') return quote.priceValue;
|
|
73
|
-
if (sort === 'eta') return quote.etaMinutes;
|
|
74
|
-
const rating = quote.carrier.rating;
|
|
75
|
-
return typeof rating === 'number' ? rating : undefined;
|
|
76
|
-
};
|
|
77
|
-
// A rating sorts HIGH first; a price and an ETA sort LOW first.
|
|
78
|
-
const direction = sort === 'rating' ? -1 : 1;
|
|
79
|
-
return quotes.map((quote, index) => ({
|
|
80
|
-
quote,
|
|
81
|
-
index,
|
|
82
|
-
key: key(quote)
|
|
83
|
-
})).sort((a, b) => {
|
|
84
|
-
if (a.key === undefined && b.key === undefined) return a.index - b.index;
|
|
85
|
-
if (a.key === undefined) return 1;
|
|
86
|
-
if (b.key === undefined) return -1;
|
|
87
|
-
if (a.key === b.key) return a.index - b.index;
|
|
88
|
-
return (a.key - b.key) * direction;
|
|
89
|
-
}).map(entry => entry.quote);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Which offers are the cheapest and which the fastest, by id.
|
|
94
|
-
*
|
|
95
|
-
* EVERY offer tied at a minimum is marked. Two offers at €38.40 are both the
|
|
96
|
-
* cheapest, and choosing one of them would be this component inventing a
|
|
97
|
-
* tie-break the app never asked for — while marking neither would hide a true
|
|
98
|
-
* statement. A quote with no number for a mark cannot win it.
|
|
99
|
-
*/
|
|
100
|
-
function markCarrierQuotes(quotes) {
|
|
101
|
-
const best = read => {
|
|
102
|
-
let min;
|
|
103
|
-
for (const quote of quotes) {
|
|
104
|
-
const value = read(quote);
|
|
105
|
-
if (value === undefined || Number.isNaN(value)) continue;
|
|
106
|
-
if (min === undefined || value < min) min = value;
|
|
107
|
-
}
|
|
108
|
-
return min;
|
|
109
|
-
};
|
|
110
|
-
const cheapest = best(quote => quote.priceValue);
|
|
111
|
-
const fastest = best(quote => quote.etaMinutes);
|
|
112
|
-
const out = new Map();
|
|
113
|
-
for (const quote of quotes) {
|
|
114
|
-
const marks = [];
|
|
115
|
-
if (cheapest !== undefined && quote.priceValue === cheapest) marks.push('cheapest');
|
|
116
|
-
if (fastest !== undefined && quote.etaMinutes === fastest) marks.push('fastest');
|
|
117
|
-
if (marks.length > 0) out.set(quote.id, marks);
|
|
118
|
-
}
|
|
119
|
-
return out;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/** The marks in their drawn order, so two marked quotes never disagree. Pure. */
|
|
123
|
-
function orderCarrierMarks(marks) {
|
|
124
|
-
return _constants.CARRIER_QUOTE_MARK_ORDER.filter(mark => marks.includes(mark));
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** Joins the non-empty parts of an accessible name. */
|
|
128
|
-
function joinQuoteName(parts, separator = ', ') {
|
|
129
|
-
return parts.map(part => typeof part === 'number' ? String(part) : part).filter(part => typeof part === 'string' && part !== '').join(separator);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// ---------------------------------------------------------------------------
|
|
133
|
-
// Keyboard focus on web
|
|
134
|
-
//
|
|
135
|
-
// The identity block is a react-native-web `Pressable`: focusable, with the
|
|
136
|
-
// outline reset, so without a `:focus-visible` rule a keyboard user tabs
|
|
137
|
-
// through an invisible stop. Inline styles carry no pseudo-classes, so the
|
|
138
|
-
// rule lives in an adopted sheet hanging off a `dataSet` attribute, and the
|
|
139
|
-
// ring colour is a per-instance custom property because it is a resolved
|
|
140
|
-
// token.
|
|
141
|
-
// ---------------------------------------------------------------------------
|
|
142
|
-
|
|
143
|
-
const CARRIER_QUOTE_STYLE_ID = exports.CARRIER_QUOTE_STYLE_ID = 'bloom-carrier-quote-web-css';
|
|
144
|
-
const CARRIER_QUOTE_WEB_CSS = exports.CARRIER_QUOTE_WEB_CSS = (0, _interactiveWebCss.interactiveWebCss)({
|
|
145
|
-
selector: '[data-bloom-carrier-subject]',
|
|
146
|
-
varPrefix: 'bloom-carrier',
|
|
147
|
-
reset: 'none',
|
|
148
|
-
transition: 'background-color 150ms ease'
|
|
149
|
-
});
|
|
150
|
-
//# sourceMappingURL=shared.js.map
|