@oxy.so/bloom 23.1.1 → 23.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -2
- package/README.md +1 -1
- package/docs/adoption-matrix.mdx +1 -2
- package/docs/bloom-language-codemod.mdx +4 -2
- package/docs/bloom-language-for-agents.mdx +1 -0
- package/docs/bloom-language.mdx +9 -1
- package/docs/page-header.mdx +3 -3
- package/docs/public-parts.mdx +2 -5
- 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/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/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/dialog/DetailDialogMotion.js +1 -2
- package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
- 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/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/link-preview/LinkPreviewCard.js +21 -5
- package/lib/commonjs/link-preview/LinkPreviewCard.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/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/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/radio/RadioHost.js +2 -2
- package/lib/commonjs/radio/RadioHost.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/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/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/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/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/dialog/DetailDialogMotion.js +2 -3
- package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
- 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/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/link-preview/LinkPreviewCard.js +21 -5
- package/lib/module/link-preview/LinkPreviewCard.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/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/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/radio/RadioHost.js +2 -2
- package/lib/module/radio/RadioHost.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/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/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/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/button/shared.d.ts +0 -2
- package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +1 -1
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/shared.d.ts +0 -1
- package/lib/typescript/commonjs/chat-composer/shared.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/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/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/constants.d.ts +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/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/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/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/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/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 +1 -1
- package/lib/typescript/commonjs/queue-panel/QueueIconButton.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/parts.d.ts +0 -6
- package/lib/typescript/commonjs/sidebar/parts.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/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/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/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/button/shared.d.ts +0 -2
- package/lib/typescript/module/button/shared.d.ts.map +1 -1
- package/lib/typescript/module/button/types.d.ts +1 -1
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/shared.d.ts +0 -1
- package/lib/typescript/module/chat-composer/shared.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/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/dialog/DetailDialogMotion.d.ts.map +1 -1
- package/lib/typescript/module/floating/constants.d.ts +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/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/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/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/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/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 +1 -1
- package/lib/typescript/module/queue-panel/QueueIconButton.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/parts.d.ts +0 -6
- package/lib/typescript/module/sidebar/parts.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/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/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 -18
- package/src/__tests__/support/held-animations.ts +33 -0
- package/src/__tests__/support/public-part-classifications.json +0 -3
- package/src/agent-chat/shared.ts +0 -2
- package/src/agent-progress/AgentProgressPlan.tsx +2 -3
- 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/button/shared.ts +0 -6
- package/src/button/types.ts +1 -1
- package/src/canvas/CanvasPanelBase.tsx +3 -3
- package/src/card/SelectionCard.tsx +1 -1
- package/src/chat-composer/shared.ts +0 -1
- package/src/chat-list/shared.ts +0 -7
- 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/dialog/DetailDialogMotion.tsx +2 -3
- package/src/floating/FloatingPanel.tsx +3 -3
- package/src/floating/TriggerSlot.tsx +2 -2
- package/src/floating/constants.ts +1 -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/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/link-preview/LinkPreviewCard.tsx +27 -5
- package/src/link-preview/types.ts +7 -0
- 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/page-header/EdgeScrim.tsx +17 -14
- package/src/page-header/PageHeader.tsx +11 -6
- package/src/project-board/ProjectBoardCanvas.tsx +3 -3
- package/src/property-insights/shared.ts +1 -3
- package/src/queue-panel/QueueIconButton.tsx +1 -1
- package/src/radio/RadioHost.tsx +2 -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/SidebarItem.tsx +2 -2
- package/src/sidebar/SidebarOnboardingCard.tsx +3 -3
- package/src/sidebar/parts.tsx +3 -36
- package/src/stay-filters/EnergyRatingFilter.tsx +0 -2
- 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/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/teleport.mdx +0 -72
- 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/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/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/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/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
|
@@ -23,17 +23,20 @@ import type React from 'react';
|
|
|
23
23
|
*
|
|
24
24
|
* ── THE STOPS ───────────────────────────────────────────────────────────────
|
|
25
25
|
*
|
|
26
|
-
* Four of them describe the fading portion, after any opaque chrome region
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* the
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
26
|
+
* Four of them describe the fading portion, after any opaque chrome region:
|
|
27
|
+
* an ease-in-out (smoothstep at its thirds), the full range from opaque to
|
|
28
|
+
* nothing, leaving and arriving gently. An ease-out that held 86% through the
|
|
29
|
+
* first 42% of the fade read as a band that stopped at 90% and then stepped to
|
|
30
|
+
* opaque at the chrome's edge: the content showed at a faint, even 10% under it
|
|
31
|
+
* before it was hidden. Header/footer chrome stays opaque before that portion
|
|
32
|
+
* so scrolling text cannot cross its labels.
|
|
33
|
+
*
|
|
34
|
+
* The ramp continues BELOW the header's own box: the fade needs room past the
|
|
35
|
+
* layout, or it finishes at the same place the layout does, which is the line
|
|
36
|
+
* again. A floating header's chrome fade is short, the inset its row keeps
|
|
37
|
+
* below its islands, the way Apple's scroll edge ends just past the bar.
|
|
38
|
+
* `TAIL_RATIO` is the longer tail of a full-box ramp (a photo, a linear fade)
|
|
39
|
+
* and of the bottom chrome.
|
|
37
40
|
*
|
|
38
41
|
* ── `stopOpacity`, NOT AN `rgba()` STOP ─────────────────────────────────────
|
|
39
42
|
*
|
|
@@ -66,7 +69,7 @@ import type React from 'react';
|
|
|
66
69
|
* order on the server than during hydration, so an SSR'd page would reference a
|
|
67
70
|
* gradient that is not there.
|
|
68
71
|
*/
|
|
69
|
-
/** How far past
|
|
72
|
+
/** How far past its chrome's height a full-box ramp, or the bottom chrome's fade, continues, as a ratio of it. */
|
|
70
73
|
export declare const SCRIM_TAIL_RATIO = 0.55;
|
|
71
74
|
/** Measured chrome occupies this fraction of its chrome + external tail box. */
|
|
72
75
|
export declare const SCRIM_CHROME_FRACTION: number;
|
|
@@ -79,11 +82,11 @@ export declare const SCRIM_STOPS: readonly [{
|
|
|
79
82
|
readonly offset: 0;
|
|
80
83
|
readonly opacity: 1;
|
|
81
84
|
}, {
|
|
82
|
-
readonly offset:
|
|
83
|
-
readonly opacity: 0.
|
|
85
|
+
readonly offset: number;
|
|
86
|
+
readonly opacity: 0.74;
|
|
84
87
|
}, {
|
|
85
|
-
readonly offset:
|
|
86
|
-
readonly opacity: 0.
|
|
88
|
+
readonly offset: number;
|
|
89
|
+
readonly opacity: 0.26;
|
|
87
90
|
}, {
|
|
88
91
|
readonly offset: 1;
|
|
89
92
|
readonly opacity: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeScrim.d.ts","sourceRoot":"","sources":["../../../../src/page-header/EdgeScrim.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B
|
|
1
|
+
{"version":3,"file":"EdgeScrim.d.ts","sourceRoot":"","sources":["../../../../src/page-header/EdgeScrim.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AAEH,kHAAkH;AAClH,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,QAA6B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;EAKd,CAAC;AAMX,MAAM,WAAW,cAAc;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,gGAAgG;IAChG,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAqBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,KAAK,GAAG,QAAQ,EACtB,OAAO,GAAE,QAAQ,GAAG,QAAmB,EACvC,cAAc,SAAI,GACjB,MAAM,CAMR;AAiED,eAAO,MAAM,SAAS,4CAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AA2G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/page-header/PageHeader.tsx"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AA2G/C,iBAAS,mBAAmB,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAsB,EACtB,eAAyB,EACzB,YAAY,EACZ,uBAAuB,EACvB,UAAoB,EACpB,YAAgB,EAChB,WAAW,EAAE,oBAA6B,EAC1C,iBAAiB,EACjB,mBAAmB,EACnB,IAAgB,EAChB,YAAyB,EACzB,SAAoB,EACpB,OAAmB,EACnB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,aAAa,EACxB,SAAS,EACT,OAAO,EACP,OAAO,EAAE,aAAa,EACtB,MAAM,EACN,aAAa,EACb,SAAS,EACT,MAAe,EACf,WAAmB,EACnB,KAAc,EACd,YAAuB,EACvB,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,eAAmC,EACnC,MAAa,EACb,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,+BA0gCjB;AAqED,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '../theme/types.js';
|
|
2
2
|
import type { EnergyClass } from './types.js';
|
|
3
|
-
import { contrastRatio, relativeLuminance } from '../styles/color-contrast.js';
|
|
4
3
|
/**
|
|
5
4
|
* Every neutral and accent colour the insight parts paint. Pure.
|
|
6
5
|
*
|
|
@@ -64,5 +63,4 @@ export declare function resolveEnergyTones(theme: Theme): EnergyTone[];
|
|
|
64
63
|
export declare const formatEuros: (value: number, locale?: string) => string;
|
|
65
64
|
/** The default axis format: `€385K`, `€1.2M` (en), `385 mil €` (es). */
|
|
66
65
|
export declare function formatEurosCompact(value: number, locale?: string): string;
|
|
67
|
-
export { contrastRatio, relativeLuminance };
|
|
68
66
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/property-insights/shared.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/property-insights/shared.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAI3C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,CAsBlE;AAMD,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAAwC,CAAC;AAE1F,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB;AAmBD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,EAQ/E,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,UAAU,EAAE,CAgB7D;AAMD;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,WAAyC,CAAC;AAEpG,wEAAwE;AACxE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GestureResponderEvent } from 'react-native';
|
|
2
2
|
import type { ButtonIconComponent } from '../button';
|
|
3
|
-
import type { WebAriaProps } from '../styles/
|
|
3
|
+
import type { WebAriaProps } from '../styles/aria-hosts.js';
|
|
4
4
|
import type { WebCssStyle } from '../styles/web-view-style.js';
|
|
5
5
|
import type { RefComponent } from '../styles/native-refs.js';
|
|
6
6
|
export interface QueueIconButtonProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueueIconButton.d.ts","sourceRoot":"","sources":["../../../../src/queue-panel/QueueIconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAQ,MAAM,cAAc,CAAC;AAGhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueueIconButton.d.ts","sourceRoot":"","sources":["../../../../src/queue-panel/QueueIconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAQ,MAAM,cAAc,CAAC;AAGhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAAuB,CAAC;AAE1D,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;CACjD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,oBAAoB,CA2B7D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ImageProps } from './types.js';
|
|
3
3
|
/** Clips an image on every platform. SVG cannot clip arbitrary React Native views. */
|
|
4
|
-
export declare function Image({ shape, source, size, alt, onError }: ImageProps): React.JSX.Element;
|
|
4
|
+
export declare function Image({ shape, source, size, alt, onError, placeholderColor, recyclingKey, }: ImageProps): React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAS,CAAC;AAI1C,sFAAsF;AACtF,wBAAgB,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAS,CAAC;AAI1C,sFAAsF;AACtF,wBAAgB,KAAK,CAAC,EACpB,KAAgB,EAChB,MAAM,EACN,IAAI,EACJ,GAAG,EACH,OAAO,EACP,gBAAgB,EAChB,YAAY,GACb,EAAE,UAAU,qBA0DZ"}
|
|
@@ -31,6 +31,16 @@ export interface ImageProps {
|
|
|
31
31
|
* on web).
|
|
32
32
|
*/
|
|
33
33
|
onError?: (info: BloomImageErrorInfo) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Fills the shape until the picture covers it, so a slot whose image is still
|
|
36
|
+
* loading reads as a slot, never as a hole in the layout.
|
|
37
|
+
*/
|
|
38
|
+
placeholderColor?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The identity of the picture, for an image a list reuses for another item:
|
|
41
|
+
* when it changes the previous picture is cleared at once. Pass the URI.
|
|
42
|
+
*/
|
|
43
|
+
recyclingKey?: string;
|
|
34
44
|
}
|
|
35
45
|
export type GradientDirection = 'diagonal' | 'horizontal' | 'vertical';
|
|
36
46
|
export interface BorderProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shapes/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAU,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAE9C,MAAM,MAAM,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,cAAc,CAAC;AAC1D,uDAAuD;AACvD,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,MAAM,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;AAChC,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AACD,0EAA0E;AAC1E,MAAM,MAAM,WAAW,GACnB,MAAM,GACN;IACE,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACN,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shapes/types.ts"],"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AAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
|
|
@@ -37,12 +37,6 @@ export declare function Collapsible({ collapsed, children, style, stretch, }: {
|
|
|
37
37
|
}): React.JSX.Element;
|
|
38
38
|
export declare function useSidebarWebCss(): void;
|
|
39
39
|
export declare function webHook(kind?: 'ring' | 'offset' | 'inset'): Record<string, unknown>;
|
|
40
|
-
/** A top-to-bottom gradient fill (opaque stops — react-native-svg drops alpha). */
|
|
41
|
-
export declare function GradientFill({ from, to, radius }: {
|
|
42
|
-
from: string;
|
|
43
|
-
to: string;
|
|
44
|
-
radius: number;
|
|
45
|
-
}): React.JSX.Element;
|
|
46
40
|
/**
|
|
47
41
|
* An image, or initials on a tinted disc. A `squircle` avatar (a team, a
|
|
48
42
|
* workspace) takes `Avatar`'s squircle silhouette, the same on every platform,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/parts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAAuB,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/parts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAAuB,CAAC;AACrD,OAAO,EAAgC,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAiB,EAKf,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAW,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AAU7C,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IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,qBAWtF;AAED,oCAAoC;AACpC,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,qBAmBxF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAA0B,CAAC;AAE5D,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,qBAa7F"}
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { type StayFiltersMessages } from './messages.js';
|
|
3
3
|
import type { Theme } from '../theme/types.js';
|
|
4
4
|
import type { EnergyRating, EnergyRatingFilterProps } from './types.js';
|
|
5
|
-
import { contrastRatio } from '../styles/color-contrast.js';
|
|
6
5
|
export declare const ENERGY_PILL_HEIGHT = 32;
|
|
7
6
|
export interface EnergyRatingPaint {
|
|
8
7
|
fill: string;
|
|
@@ -13,5 +12,5 @@ export declare function resolveEnergyRatingPaint(theme: Theme): Record<EnergyRat
|
|
|
13
12
|
export declare function defaultEnergySummary(value: EnergyRating | null, messages?: StayFiltersMessages): string;
|
|
14
13
|
declare function EnergyRatingFilterComponent({ value, onValueChange, formatSummary: formatSummaryProp, accessibilityLabel: accessibilityLabelProp, disabled, style, testID, }: EnergyRatingFilterProps): React.JSX.Element;
|
|
15
14
|
export declare const EnergyRatingFilter: React.MemoExoticComponent<typeof EnergyRatingFilterComponent>;
|
|
16
|
-
export {
|
|
15
|
+
export {};
|
|
17
16
|
//# sourceMappingURL=EnergyRatingFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnergyRatingFilter.d.ts","sourceRoot":"","sources":["../../../../src/stay-filters/EnergyRatingFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAWxD,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,eAAY,CAAC;AAE7E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAI5C,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"EnergyRatingFilter.d.ts","sourceRoot":"","sources":["../../../../src/stay-filters/EnergyRatingFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAWxD,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,eAAY,CAAC;AAE7E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAI5C,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAS,CAAC;AAgDrE,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yEAAyE;AACzE,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAwB9F;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,YAAY,GAAG,IAAI,EAC1B,QAAQ,GAAE,mBAA8C,GACvD,MAAM,CAIR;AAmED,iBAAS,2BAA2B,CAAC,EACnC,KAAK,EACL,aAAa,EACb,aAAa,EAAE,iBAAiB,EAChC,kBAAkB,EAAE,sBAAsB,EAC1C,QAAgB,EAChB,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,qBA4CzB;AAED,eAAO,MAAM,kBAAkB,+DAAoC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React Native's `View` and `Pressable` typed with the web props
|
|
3
|
+
* react-native-web forwards (a `listbox` role, `aria-*` on a pressable), for
|
|
4
|
+
* Bloom's own hosts. They are React Native's components themselves, only
|
|
5
|
+
* widened types: Bloom styles through `style` alone (`docs/no-nativewind.mdx`).
|
|
6
|
+
*/
|
|
7
|
+
import type { ComponentRef, ComponentType, Ref } from 'react';
|
|
8
|
+
import { View, type PressableProps, type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
|
|
9
|
+
type AriaPressableBase = Omit<PressableProps, 'style'> & {
|
|
10
|
+
style?: StyleProp<ViewStyle>;
|
|
11
|
+
};
|
|
12
|
+
export interface WebAriaProps {
|
|
13
|
+
/**
|
|
14
|
+
* What kind of surface this control opens. `menu` is the only value Bloom
|
|
15
|
+
* currently needs; the union is the ARIA one, narrowed to what is spellable.
|
|
16
|
+
*/
|
|
17
|
+
'aria-haspopup'?: 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
18
|
+
/**
|
|
19
|
+
* The id list of the elements that DESCRIBE this control — a field's hint or
|
|
20
|
+
* its error message (`field/context.ts`).
|
|
21
|
+
*
|
|
22
|
+
* Here for the same reason as `aria-haspopup`: React Native types no such prop
|
|
23
|
+
* (there is no `accessibilityState` entry for it to fold into) while
|
|
24
|
+
* react-native-web forwards it, so web gets the association and native is
|
|
25
|
+
* unaffected. A control that needs the description READ on native carries it
|
|
26
|
+
* in its accessible name instead.
|
|
27
|
+
*/
|
|
28
|
+
'aria-describedby'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the control's current value is invalid. Same platform split as
|
|
31
|
+
* `aria-describedby`.
|
|
32
|
+
*/
|
|
33
|
+
'aria-invalid'?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export type AriaPressableProps = Omit<AriaPressableBase, 'role'> & WebAriaProps & {
|
|
36
|
+
/** RNW supports these menu roles; native callers retain checkbox/radio. */
|
|
37
|
+
role?: PressableProps['role'] | 'menuitemcheckbox' | 'menuitemradio';
|
|
38
|
+
ref?: Ref<ComponentRef<typeof View>>;
|
|
39
|
+
};
|
|
40
|
+
/** `View` with the web-only `listbox` role React Native's `Role` lacks. */
|
|
41
|
+
export declare const AriaView: ComponentType<Omit<ViewProps, "role"> & {
|
|
42
|
+
/** Web-only listbox semantics; RN's Role type does not include this role. */
|
|
43
|
+
role?: ViewProps["role"] | "listbox";
|
|
44
|
+
ref?: Ref<ComponentRef<typeof View>>;
|
|
45
|
+
}>;
|
|
46
|
+
/** `Pressable` with the web ARIA props and menu roles react-native-web forwards. */
|
|
47
|
+
export declare const AriaPressable: ComponentType<AriaPressableProps>;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=aria-hosts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aria-hosts.d.ts","sourceRoot":"","sources":["../../../../src/styles/aria-hosts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,IAAI,EACJ,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IAClE;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAC9D,YAAY,GAAG;IACb,2EAA2E;IAC3E,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,kBAAkB,GAAG,eAAe,CAAC;IACrE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;CACtC,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,EAAW,aAAa,CAC3C,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IACxB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;CACtC,CACF,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,aAAa,EAAgB,aAAa,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AA8G9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.web.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Surface.web.d.ts","sourceRoot":"","sources":["../../../../src/surface/Surface.web.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AAwJ9D,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,YAAY,CAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SurfacePaint.d.ts","sourceRoot":"","sources":["../../../../src/surface/SurfacePaint.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,2BAAwB,CAAC;AAEzE,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"SurfacePaint.d.ts","sourceRoot":"","sources":["../../../../src/surface/SurfacePaint.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,2BAAwB,CAAC;AAEzE,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAmC1E;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,sNAiBtB;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yFAAyF;IACzF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;IAChD,4EAA4E;IAC5E,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1B,kFAAkF;IAClF,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,iCAoIC,CAAC"}
|
|
@@ -3,7 +3,6 @@ import type { ToastAnimation, ToastEntryExitAnimation, ToastPosition } from './t
|
|
|
3
3
|
/** Worklet-callable easings for the stack's and the swipe's shared values. */
|
|
4
4
|
export declare const easeOutQuartFn: (x: number) => number;
|
|
5
5
|
export declare const easeInOutCircFn: (x: number) => number;
|
|
6
|
-
export declare const EXIT_DURATION: 180;
|
|
7
6
|
/** The row rises (or drops, from the top) into its slot as it fades in. */
|
|
8
7
|
export declare function toastEnterKeyframes(position: ToastPosition): KeyframesValue;
|
|
9
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../src/toast/animations.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,wBAAqB,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AAGtF,8EAA8E;AAC9E,eAAO,MAAM,cAAc,uBAAwC,CAAC;AACpE,eAAO,MAAM,eAAe,uBAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../src/toast/animations.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,wBAAqB,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AAGtF,8EAA8E;AAC9E,eAAO,MAAM,cAAc,uBAAwC,CAAC;AACpE,eAAO,MAAM,eAAe,uBAA4C,CAAC;AAezE,2EAA2E;AAC3E,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,GAAG,cAAc,CAa3E;AAID;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,aAAa,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,cAAc,CAqBjB;AAED,KAAK,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,EAAE,SAAS,CAAC,CAAC;AAWrE,MAAM,WAAW,WAAW;IAC1B,iFAAiF;IACjF,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC,8BAA8B;IAC9B,IAAI,EAAE,cAAc,GAAG,SAAS,CAAC;IACjC,kEAAkE;IAClE,QAAQ,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACxC,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACxC;AAED,eAAO,MAAM,cAAc,GACzB,cAAc,aAAa,GAAG,SAAS,EACvC,eAAe,cAAc,GAAG,SAAS,EACzC,iBAAiB,OAAO,EACxB,gBAAgB,MAAM,KACrB,WAqBF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GestureResponderEvent } from 'react-native';
|
|
2
|
-
import type { WebAriaProps } from '../styles/
|
|
2
|
+
import type { WebAriaProps } from '../styles/aria-hosts.js';
|
|
3
3
|
import type { TrackMenuItem } from './types.js';
|
|
4
4
|
import type { BloomIconComponent } from '../icons/icon-component.js';
|
|
5
5
|
/** The props `DropdownMenuTrigger asChild` merges onto its child. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../src/track-list/parts.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAchE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,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AC;AAEH,sHAAsH;AACtH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,MAAM,GACP,EAAE;IACD,KAAK,EAAE,KAAK,CAAC,aAAa,GAAG,WAAW,CAAC,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,+BA+BA"}
|
|
@@ -29,10 +29,6 @@ export declare function TypographyPlatformDefault({ desktop, children, }: PropsW
|
|
|
29
29
|
declare const SYSTEM_FAMILY: {
|
|
30
30
|
fontFamily: string;
|
|
31
31
|
};
|
|
32
|
-
/** Shared by Bloom text and every control composed from it. */
|
|
33
|
-
export declare function useTypographySystemFamily(): {
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
} | undefined;
|
|
36
32
|
/** Whether text below is drawn in the desktop text styles (`TypographyScale`). */
|
|
37
33
|
export declare function useDesktopTypography(): boolean;
|
|
38
34
|
/** Both answers from the one context read a `Text` makes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyScope.d.ts","sourceRoot":"","sources":["../../../../src/typography/TypographyScope.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,CAAC;AAClD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AACpD,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,0FAA0F;IAC1F,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAcD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BAM9E;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,OAAO,EACP,QAAQ,GACT,EAAE,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,+BAQzC;AAED,QAAA,MAAM,aAAa;;CAOlB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"TypographyScope.d.ts","sourceRoot":"","sources":["../../../../src/typography/TypographyScope.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,CAAC;AAClD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AACpD,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,0FAA0F;IAC1F,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAcD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BAM9E;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,OAAO,EACP,QAAQ,GACT,EAAE,iBAAiB,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,+BAQzC;AAED,QAAA,MAAM,aAAa;;CAOlB,CAAC;AAEF,kFAAkF;AAClF,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED,6DAA6D;AAC7D,wBAAgB,kBAAkB,IAAI;IACpC,YAAY,EAAE,OAAO,aAAa,GAAG,SAAS,CAAC;IAC/C,OAAO,EAAE,OAAO,CAAC;CAClB,CAMA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomableMediaGalleryBase.d.ts","sourceRoot":"","sources":["../../../../src/zoomable-media-gallery/ZoomableMediaGalleryBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ZoomableMediaGalleryBase.d.ts","sourceRoot":"","sources":["../../../../src/zoomable-media-gallery/ZoomableMediaGalleryBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AA2Bf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAW,MAAM,0BAAuB,CAAC;AAoCvE,OAAO,KAAK,EAGV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,YAAS,CAAC;AAqGjB,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAC,gHAs2C/E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { SharedValue } from 'react-native-reanimated';
|
|
2
3
|
import type { MeasuredRect, MediaSurfaceImage, MediaSurfaceVideo } from '../media-flight/types.js';
|
|
3
4
|
/**
|
|
4
5
|
* A still image page.
|
|
@@ -131,5 +132,15 @@ export interface ZoomableMediaGalleryProps {
|
|
|
131
132
|
* on for a viewer whose job is watching rather than glancing.
|
|
132
133
|
*/
|
|
133
134
|
videoControls?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* The thumbnail the open viewer stands in for, as an index into the opened
|
|
137
|
+
* items, or `-1` when none — written by the viewer on the UI thread. Hide the
|
|
138
|
+
* thumbnail whose index it holds (`opacity: 0` in an animated style) and the
|
|
139
|
+
* photo is never on screen twice: it is set when the open flight starts,
|
|
140
|
+
* follows the page while swiping, and goes back to `-1` on the very frame the
|
|
141
|
+
* fly-back lands, the frame the viewer's own copy disappears. Keep the
|
|
142
|
+
* thumbnail mounted while hidden, so nothing reloads when it comes back.
|
|
143
|
+
*/
|
|
144
|
+
hiddenThumbIndex?: SharedValue<number>;
|
|
134
145
|
}
|
|
135
146
|
//# sourceMappingUR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AyB;IACxC,oFAAoF;IACpF,UAAU,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAChC,kFAAkF;IAClF,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,SAAS,CAAC;IACxD,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAC7C,yEAAyE;IACzE,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/bloom",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.0",
|
|
4
4
|
"packageManager": "bun@1.4.3",
|
|
5
5
|
"description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
|
|
6
6
|
"main": "lib/commonjs/index.js",
|
|
@@ -2181,20 +2181,6 @@
|
|
|
2181
2181
|
"default": "./lib/commonjs/preferences/video-autoplay-setting-row.js"
|
|
2182
2182
|
}
|
|
2183
2183
|
},
|
|
2184
|
-
"./teleport": {
|
|
2185
|
-
"react-native": {
|
|
2186
|
-
"types": "./lib/typescript/module/teleport/index.d.ts",
|
|
2187
|
-
"default": "./src/teleport/index.ts"
|
|
2188
|
-
},
|
|
2189
|
-
"import": {
|
|
2190
|
-
"types": "./lib/typescript/module/teleport/index.d.ts",
|
|
2191
|
-
"default": "./lib/module/teleport/index.js"
|
|
2192
|
-
},
|
|
2193
|
-
"require": {
|
|
2194
|
-
"types": "./lib/typescript/commonjs/teleport/index.d.ts",
|
|
2195
|
-
"default": "./lib/commonjs/teleport/index.js"
|
|
2196
|
-
}
|
|
2197
|
-
},
|
|
2198
2184
|
"./pressable-scale": {
|
|
2199
2185
|
"react-native": {
|
|
2200
2186
|
"types": "./lib/typescript/module/pressable-scale/index.d.ts",
|
|
@@ -5165,9 +5151,6 @@
|
|
|
5165
5151
|
"preferences/video-autoplay-setting-row": [
|
|
5166
5152
|
"./lib/typescript/module/preferences/video-autoplay-setting-row.d.ts"
|
|
5167
5153
|
],
|
|
5168
|
-
"teleport": [
|
|
5169
|
-
"./lib/typescript/module/teleport/index.d.ts"
|
|
5170
|
-
],
|
|
5171
5154
|
"pressable-scale": [
|
|
5172
5155
|
"./lib/typescript/module/pressable-scale/index.d.ts"
|
|
5173
5156
|
],
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Reanimated from 'react-native-reanimated';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The reanimated MOCK settles every animation synchronously: `withSpring` and
|
|
5
|
+
* `withTiming` call their completion callback before they return. A component
|
|
6
|
+
* whose transition ENDS in that callback (the media gallery lands its fly-back
|
|
7
|
+
* there) therefore finishes the moment it starts, and "mid-transition" cannot be
|
|
8
|
+
* reached through its public path.
|
|
9
|
+
*
|
|
10
|
+
* This holds the callbacks instead, like a real animation that has not finished
|
|
11
|
+
* yet, until `land()` runs them in order. An instrument, not a seam in the
|
|
12
|
+
* source. `held()` is its own positive control: a spy that intercepted nothing
|
|
13
|
+
* would also report a transition still under way.
|
|
14
|
+
*/
|
|
15
|
+
export function holdAnimations(): { land: () => void; held: () => number; restore: () => void } {
|
|
16
|
+
const pending: Array<(finished: boolean) => void> = [];
|
|
17
|
+
const hold = (value: number, _config?: unknown, callback?: (finished: boolean) => void) => {
|
|
18
|
+
if (callback) pending.push(callback);
|
|
19
|
+
return value;
|
|
20
|
+
};
|
|
21
|
+
const spring = jest.spyOn(Reanimated, 'withSpring').mockImplementation(hold as never);
|
|
22
|
+
const timing = jest.spyOn(Reanimated, 'withTiming').mockImplementation(hold as never);
|
|
23
|
+
return {
|
|
24
|
+
land: () => {
|
|
25
|
+
while (pending.length > 0) pending.shift()?.(true);
|
|
26
|
+
},
|
|
27
|
+
held: () => pending.length,
|
|
28
|
+
restore: () => {
|
|
29
|
+
spring.mockRestore();
|
|
30
|
+
timing.mockRestore();
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -1549,9 +1549,6 @@
|
|
|
1549
1549
|
"src/tabs/expo-router/RouterTabs.tsx#RouterTabs",
|
|
1550
1550
|
"src/tag-field/TagField.tsx#TagField",
|
|
1551
1551
|
"src/task-list/TaskList.tsx#TaskList",
|
|
1552
|
-
"src/teleport/Portal.tsx#PortalComponent",
|
|
1553
|
-
"src/teleport/PortalHost.tsx#PortalHostComponent",
|
|
1554
|
-
"src/teleport/PortalProvider.tsx#default",
|
|
1555
1552
|
"src/tenancy/DocumentList.tsx#DocumentList",
|
|
1556
1553
|
"src/tenancy/LeaseSummaryCard.tsx#LeaseSummaryCard",
|
|
1557
1554
|
"src/tenancy/MaintenanceRequestCard.tsx#MaintenanceRequestCard",
|
package/src/agent-chat/shared.ts
CHANGED
|
@@ -101,8 +101,6 @@ export const ROW_RADIUS = 10;
|
|
|
101
101
|
export { CHAT_CONTENT_MAX_WIDTH as COLUMN_MAX_WIDTH } from '../styles/chat-layout';
|
|
102
102
|
/** `w-[260px]` — the history rail. */
|
|
103
103
|
export const RAIL_WIDTH = 260;
|
|
104
|
-
/** `size-7` — header and message action buttons. */
|
|
105
|
-
export const ACTION_SIZE = 28;
|
|
106
104
|
/** `w-[190px] p-2` — the chat and row menus. */
|
|
107
105
|
export const SMALL_MENU_STYLE = { width: 190, minWidth: 190, padding: 8 } as const;
|
|
108
106
|
/** `w-[248px] p-2.5` — the account menu. */
|
|
@@ -7,7 +7,6 @@ import { useAccessibilityFocus } from '../hooks/use-accessibility-focus';
|
|
|
7
7
|
import { useMessages } from '../locale/messages';
|
|
8
8
|
import { IS_WEB } from '../styles/platform';
|
|
9
9
|
import { SurfaceLevelProvider } from '../styles/surface-levels';
|
|
10
|
-
import { StyledView } from '../styles/styled-primitives';
|
|
11
10
|
import { SurfacePaint } from '../surface/SurfacePaint';
|
|
12
11
|
import { resolveSurfaceMaterial } from '../surface/resolve-surface-material';
|
|
13
12
|
import { useSurfaceLayer } from '../surface/use-surface-layer';
|
|
@@ -153,7 +152,7 @@ function AgentProgressPlanComponent({
|
|
|
153
152
|
</View>
|
|
154
153
|
)}
|
|
155
154
|
{/* Mounted before the decision lands, so assistive technology hears it arrive. */}
|
|
156
|
-
<
|
|
155
|
+
<View
|
|
157
156
|
ref={statusRef}
|
|
158
157
|
// A decision from elsewhere is said politely as it lands. One the
|
|
159
158
|
// user pressed for is said by the focus moving here, so the region
|
|
@@ -176,7 +175,7 @@ function AgentProgressPlanComponent({
|
|
|
176
175
|
content={decision === 'approved' ? messages.approved : messages.rejected}
|
|
177
176
|
/>
|
|
178
177
|
)}
|
|
179
|
-
</
|
|
178
|
+
</View>
|
|
180
179
|
</View>
|
|
181
180
|
</SurfaceLevelProvider>
|
|
182
181
|
</View>
|
|
@@ -20,7 +20,7 @@ import { RiImageAddLine } from '../icons/remix/RiImageAddLine';
|
|
|
20
20
|
import { RiMore2Fill } from '../icons/remix/RiMore2Fill';
|
|
21
21
|
import { RiSideBarLine } from '../icons/remix/RiSideBarLine';
|
|
22
22
|
import { RiSparkling2Line } from '../icons/remix/RiSparkling2Line';
|
|
23
|
-
import { withAlpha } from '../
|
|
23
|
+
import { withAlpha } from '../theme/color-utils';
|
|
24
24
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
25
25
|
import { Text } from '../typography';
|
|
26
26
|
import { PanelHeader, PanelPlaceholder } from './AiChatCodePanel';
|
|
@@ -11,7 +11,7 @@ import Animated, {
|
|
|
11
11
|
import Svg, { Circle } from 'react-native-svg';
|
|
12
12
|
|
|
13
13
|
import { AgentProgressLoadingText } from '../agent-progress';
|
|
14
|
-
import { withAlpha } from '../
|
|
14
|
+
import { withAlpha } from '../theme/color-utils';
|
|
15
15
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
16
16
|
import { Text } from '../typography';
|
|
17
17
|
import { AiChatFeedbackRowBase } from './AiChatFeedbackRowBase';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { useSyncExternalStore } from 'react';
|
|
2
2
|
import { useServerStylePolicy } from '../styles/context';
|
|
3
|
-
import { Platform
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
4
|
|
|
5
5
|
const subscribe = () => () => {};
|
|
6
6
|
const clientSnapshot = () => true;
|
|
7
7
|
const serverSnapshot = () => Platform.OS !== 'web';
|
|
8
|
-
const serverViewport = { width: 0, height: 0, scale: 1, fontScale: 1 };
|
|
9
8
|
|
|
10
9
|
/** SSR and its first hydration render must select the same layout tree. A
|
|
11
10
|
* client-only mount still reads its real viewport immediately. */
|
|
@@ -13,11 +12,6 @@ export function useShellLayoutReady() {
|
|
|
13
12
|
return useSyncExternalStore(subscribe, clientSnapshot, serverSnapshot);
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
export function useShellViewport() {
|
|
17
|
-
const viewport = useWindowDimensions();
|
|
18
|
-
return useShellLayoutReady() ? viewport : serverViewport;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
15
|
/** Opted-in SSR uses the same CSS tree as first hydration; feature fallback is client-only. */
|
|
22
16
|
export function useShellCssLayout() {
|
|
23
17
|
const ready = useShellLayoutReady();
|