@oxy.so/bloom 23.8.0 → 23.9.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/android/src/main/java/so/oxy/bloom/AvatarLoops.kt +293 -0
- package/android/src/main/java/so/oxy/bloom/AvatarSurface.kt +351 -0
- package/android/src/main/java/so/oxy/bloom/BloomPackage.kt +1 -1
- package/docs/agent-avatar.mdx +77 -1
- package/docs/bloom-language-classnames.mdx +11 -11
- package/docs/bloom-language-codemod.mdx +30 -5
- package/docs/bloom-language-for-agents.mdx +1 -1
- package/docs/bloom-language-modifiers.mdx +222 -77
- package/docs/bloom-language-nodes.mdx +43 -21
- package/docs/bloom-language-tokens.mdx +69 -14
- package/docs/bloom-language.mdx +148 -46
- package/docs/design-tokens.mdx +12 -2
- package/docs/no-nativewind.mdx +5 -2
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/docs/theme.mdx +37 -0
- package/lib/commonjs/accordion/Accordion.js +12 -12
- package/lib/commonjs/accordion/Accordion.js.map +1 -1
- package/lib/commonjs/accordion/Accordion.web.js +8 -8
- package/lib/commonjs/accordion/Accordion.web.js.map +1 -1
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +267 -111
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/commonjs/agent-avatar/VectorNativeSurface.js +75 -0
- package/lib/commonjs/agent-avatar/VectorNativeSurface.js.map +1 -0
- package/lib/commonjs/agent-avatar/vector-loop.js +161 -0
- package/lib/commonjs/agent-avatar/vector-loop.js.map +1 -0
- package/lib/commonjs/agent-avatar/vector-visibility.js +4 -1
- package/lib/commonjs/agent-avatar/vector-visibility.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorSection.js +8 -10
- package/lib/commonjs/agent-creator/AgentCreatorSection.js.map +1 -1
- package/lib/commonjs/agent-creator/EmotionPicker.js +3 -5
- package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -1
- package/lib/commonjs/agent-log/AgentLog.js +131 -174
- package/lib/commonjs/agent-log/AgentLog.js.map +1 -1
- package/lib/commonjs/agent-reply/AgentProfile.js +6 -9
- package/lib/commonjs/agent-reply/AgentProfile.js.map +1 -1
- package/lib/commonjs/agent-thinking/AgentThinking.js +8 -7
- package/lib/commonjs/agent-thinking/AgentThinking.js.map +1 -1
- package/lib/commonjs/agent-thinking/ThinkingReasoning.js +8 -8
- package/lib/commonjs/agent-thinking/ThinkingReasoning.js.map +1 -1
- package/lib/commonjs/app-shell/AppShell.js +5 -7
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +72 -28
- package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellPanelLayout.js +3 -3
- package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/NotificationBell.js +9 -9
- package/lib/commonjs/app-shell/NotificationBell.js.map +1 -1
- package/lib/commonjs/app-shell/PanelReorderHandle.js +4 -6
- package/lib/commonjs/app-shell/PanelReorderHandle.js.map +1 -1
- package/lib/commonjs/avatar-group/AvatarGroupBase.js +7 -7
- package/lib/commonjs/avatar-group/AvatarGroupBase.js.map +1 -1
- package/lib/commonjs/blur/BlurIsland.js +112 -118
- package/lib/commonjs/blur/BlurIsland.js.map +1 -1
- package/lib/commonjs/button/Button.js +12 -22
- package/lib/commonjs/button/Button.js.map +1 -1
- package/lib/commonjs/button/GroupBase.js +35 -50
- package/lib/commonjs/button/GroupBase.js.map +1 -1
- package/lib/commonjs/chat-list/ChatSearchResultsBase.js +4 -4
- package/lib/commonjs/chat-list/ChatSearchResultsBase.js.map +1 -1
- package/lib/commonjs/choice-list/ChoiceList.js +5 -5
- package/lib/commonjs/choice-list/ChoiceList.js.map +1 -1
- package/lib/commonjs/color-swatch-picker/ColorSwatchPicker.js +7 -7
- package/lib/commonjs/color-swatch-picker/ColorSwatchPicker.js.map +1 -1
- package/lib/commonjs/connection-dots/ConnectionDots.js +4 -4
- package/lib/commonjs/connection-dots/ConnectionDots.js.map +1 -1
- package/lib/commonjs/connection-dots/ConnectionDots.web.js +4 -4
- package/lib/commonjs/connection-dots/ConnectionDots.web.js.map +1 -1
- package/lib/commonjs/cover-header/CoverHeader.js +3 -3
- package/lib/commonjs/cover-header/CoverHeader.js.map +1 -1
- package/lib/commonjs/data-table/DataTableSelect.js +8 -8
- package/lib/commonjs/data-table/DataTableSelect.js.map +1 -1
- package/lib/commonjs/design-tokens/theme.css +1 -0
- package/lib/commonjs/design-tokens/tokens.json +390 -0
- package/lib/commonjs/dialog/DialogContent.js +5 -4
- package/lib/commonjs/dialog/DialogContent.js.map +1 -1
- package/lib/commonjs/dialog/DialogHeader.js +6 -5
- package/lib/commonjs/dialog/DialogHeader.js.map +1 -1
- package/lib/commonjs/dialog/SheetShell.js +5 -4
- package/lib/commonjs/dialog/SheetShell.js.map +1 -1
- package/lib/commonjs/expandable-text/ExpandableText.js +3 -3
- package/lib/commonjs/expandable-text/ExpandableText.js.map +1 -1
- package/lib/commonjs/floating/lens/lens-cover.js +56 -0
- package/lib/commonjs/floating/lens/lens-cover.js.map +1 -0
- package/lib/commonjs/floating/lens/lens-frame.js +286 -0
- package/lib/commonjs/floating/lens/lens-frame.js.map +1 -0
- package/lib/commonjs/floating/lens/lens-material.js +1 -1
- package/lib/commonjs/floating/lens/native-lens.js.map +1 -1
- package/lib/commonjs/grouped-section/GroupedSection.js +16 -15
- package/lib/commonjs/grouped-section/GroupedSection.js.map +1 -1
- package/lib/commonjs/home-search/BudgetPicker.js +8 -8
- package/lib/commonjs/home-search/BudgetPicker.js.map +1 -1
- package/lib/commonjs/home-search/MoveInPicker.js +7 -7
- package/lib/commonjs/home-search/MoveInPicker.js.map +1 -1
- package/lib/commonjs/icon-circle/IconCircle.js +14 -16
- package/lib/commonjs/icon-circle/IconCircle.js.map +1 -1
- package/lib/commonjs/icons/shared.js +3 -5
- package/lib/commonjs/icons/shared.js.map +1 -1
- package/lib/commonjs/kbd/Kbd.js +8 -8
- package/lib/commonjs/kbd/Kbd.js.map +1 -1
- package/lib/commonjs/layout/ResizeHandle.js +6 -5
- package/lib/commonjs/layout/ResizeHandle.js.map +1 -1
- package/lib/commonjs/link-preview/LinkPreviewCard.js +24 -26
- package/lib/commonjs/link-preview/LinkPreviewCard.js.map +1 -1
- package/lib/commonjs/list/ListBase.js +3 -3
- package/lib/commonjs/list/ListBase.js.map +1 -1
- package/lib/commonjs/list/ListPerson.js +3 -3
- package/lib/commonjs/list/ListPerson.js.map +1 -1
- package/lib/commonjs/listing-editor/ListingPreviewPane.js +30 -30
- package/lib/commonjs/listing-editor/ListingPreviewPane.js.map +1 -1
- package/lib/commonjs/markdown/InlineMarkdown.js +9 -11
- package/lib/commonjs/markdown/InlineMarkdown.js.map +1 -1
- package/lib/commonjs/markdown/MarkdownBlocks.js +35 -43
- package/lib/commonjs/markdown/MarkdownBlocks.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +5 -8
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +9 -11
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
- package/lib/commonjs/notifications/NotificationPermissionSheet.js +3 -5
- package/lib/commonjs/notifications/NotificationPermissionSheet.js.map +1 -1
- package/lib/commonjs/notifications/NotificationsScreen.js +21 -27
- package/lib/commonjs/notifications/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/overlay/OverlayInertBoundary.js +33 -12
- package/lib/commonjs/overlay/OverlayInertBoundary.js.map +1 -1
- package/lib/commonjs/page-header/PageHeader.js +24 -15
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/page-header/PageHeaderTitleInput.js +20 -20
- package/lib/commonjs/page-header/PageHeaderTitleInput.js.map +1 -1
- package/lib/commonjs/panel-routing/expo-router/StackScene.js +43 -24
- package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/commonjs/phone-input/CountryCodeSelect.js +4 -4
- package/lib/commonjs/phone-input/CountryCodeSelect.js.map +1 -1
- package/lib/commonjs/project-board/MemberAvatars.js +7 -9
- package/lib/commonjs/project-board/MemberAvatars.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoardBase.js +3 -6
- package/lib/commonjs/project-board/ProjectBoardBase.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/project-board/styles.js +2 -5
- package/lib/commonjs/project-board/styles.js.map +1 -1
- package/lib/commonjs/radio/RadioSwatch.js +5 -5
- package/lib/commonjs/radio/RadioSwatch.js.map +1 -1
- package/lib/commonjs/rating/Rating.js +7 -7
- package/lib/commonjs/rating/Rating.js.map +1 -1
- package/lib/commonjs/rating/RatingBar.js +8 -8
- package/lib/commonjs/rating/RatingBar.js.map +1 -1
- package/lib/commonjs/rating/RatingBar.web.js +5 -5
- package/lib/commonjs/rating/RatingBar.web.js.map +1 -1
- package/lib/commonjs/rating/RatingInput.js +9 -9
- package/lib/commonjs/rating/RatingInput.js.map +1 -1
- package/lib/commonjs/rating/RatingSummary.js +6 -6
- package/lib/commonjs/rating/RatingSummary.js.map +1 -1
- package/lib/commonjs/row-actions/RowActions.js +5 -5
- package/lib/commonjs/row-actions/RowActions.js.map +1 -1
- package/lib/commonjs/select/Select.js +5 -5
- package/lib/commonjs/select/Select.js.map +1 -1
- package/lib/commonjs/skeleton/Skeleton.js +22 -30
- package/lib/commonjs/skeleton/Skeleton.js.map +1 -1
- package/lib/commonjs/stay-filters/AvailabilityFilter.js +3 -3
- package/lib/commonjs/stay-filters/AvailabilityFilter.js.map +1 -1
- package/lib/commonjs/stay-filters/CountFilter.js +3 -3
- package/lib/commonjs/stay-filters/CountFilter.js.map +1 -1
- package/lib/commonjs/stay-filters/FilterFooter.js +7 -7
- package/lib/commonjs/stay-filters/FilterFooter.js.map +1 -1
- package/lib/commonjs/stay-filters/FilterSection.js +12 -12
- package/lib/commonjs/stay-filters/FilterSection.js.map +1 -1
- package/lib/commonjs/stay-filters/SwitchFilterRow.js +9 -9
- package/lib/commonjs/stay-filters/SwitchFilterRow.js.map +1 -1
- package/lib/commonjs/stay-search/GuestPicker.js +5 -5
- package/lib/commonjs/stay-search/GuestPicker.js.map +1 -1
- package/lib/commonjs/stepper/Stepper.js +11 -10
- package/lib/commonjs/stepper/Stepper.js.map +1 -1
- package/lib/commonjs/stepper/StepperRow.js +12 -12
- package/lib/commonjs/stepper/StepperRow.js.map +1 -1
- package/lib/commonjs/subscription-plans/SubscriptionPlans.js +10 -10
- package/lib/commonjs/subscription-plans/SubscriptionPlans.js.map +1 -1
- package/lib/commonjs/subscription-plans/SubscriptionPrice.js +5 -5
- package/lib/commonjs/subscription-plans/SubscriptionPrice.js.map +1 -1
- package/lib/commonjs/surface/Surface.js +64 -193
- package/lib/commonjs/surface/Surface.js.map +1 -1
- package/lib/commonjs/tab-bar/TabBarBase.js +18 -15
- package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -1
- package/lib/commonjs/task-list/TaskList.js +14 -15
- package/lib/commonjs/task-list/TaskList.js.map +1 -1
- package/lib/commonjs/theme/BloomThemeProvider.js +207 -223
- package/lib/commonjs/theme/BloomThemeProvider.js.map +1 -1
- package/lib/commonjs/theme/build-theme-from-seed.js +1 -1
- package/lib/commonjs/theme/build-theme.js +39 -9
- package/lib/commonjs/theme/build-theme.js.map +1 -1
- package/lib/commonjs/theme/canonical-tokens.js +40 -0
- package/lib/commonjs/theme/canonical-tokens.js.map +1 -0
- package/lib/commonjs/theme/color-policy.js +3 -0
- package/lib/commonjs/theme/color-policy.js.map +1 -1
- package/lib/commonjs/theme/color-scope/resolve-scope.js +48 -5
- package/lib/commonjs/theme/color-scope/resolve-scope.js.map +1 -1
- package/lib/commonjs/theme/color-scope/use-scope.js +1 -5
- package/lib/commonjs/theme/color-scope/use-scope.js.map +1 -1
- package/lib/commonjs/theme/color-tokens.js +32 -10
- package/lib/commonjs/theme/color-tokens.js.map +1 -1
- package/lib/commonjs/theme/color-utils.js +4 -0
- package/lib/commonjs/theme/color-utils.js.map +1 -1
- package/lib/commonjs/theme/default-token-vars.js +92 -0
- package/lib/commonjs/theme/default-token-vars.js.map +1 -0
- package/lib/commonjs/theme/index.js +6 -0
- package/lib/commonjs/theme/index.js.map +1 -1
- package/lib/commonjs/theme/index.web.js +6 -0
- package/lib/commonjs/theme/index.web.js.map +1 -1
- package/lib/commonjs/theme/prepaint-palettes.js +1 -5
- package/lib/commonjs/theme/prepaint-palettes.js.map +1 -1
- package/lib/commonjs/theme/token-registry.js +7 -28
- package/lib/commonjs/theme/token-registry.js.map +1 -1
- package/lib/commonjs/theme/use-theme-paint.js +28 -0
- package/lib/commonjs/theme/use-theme-paint.js.map +1 -1
- package/lib/commonjs/typography/Typography.js +27 -27
- package/lib/commonjs/typography/Typography.js.map +1 -1
- package/lib/commonjs/web-search/WebSearch.js +18 -19
- package/lib/commonjs/web-search/WebSearch.js.map +1 -1
- package/lib/commonjs/wizard/WizardFooterBase.js +10 -10
- package/lib/commonjs/wizard/WizardFooterBase.js.map +1 -1
- package/lib/commonjs/wizard/WizardProgress.js +5 -5
- package/lib/commonjs/wizard/WizardProgress.js.map +1 -1
- package/lib/module/accordion/Accordion.js +12 -12
- package/lib/module/accordion/Accordion.js.map +1 -1
- package/lib/module/accordion/Accordion.web.js +8 -8
- package/lib/module/accordion/Accordion.web.js.map +1 -1
- package/lib/module/agent-avatar/VectorCharacterAvatar.js +268 -112
- package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/module/agent-avatar/VectorNativeSurface.js +66 -0
- package/lib/module/agent-avatar/VectorNativeSurface.js.map +1 -0
- package/lib/module/agent-avatar/vector-loop.js +150 -0
- package/lib/module/agent-avatar/vector-loop.js.map +1 -0
- package/lib/module/agent-avatar/vector-visibility.js +3 -1
- package/lib/module/agent-avatar/vector-visibility.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorSection.js +8 -10
- package/lib/module/agent-creator/AgentCreatorSection.js.map +1 -1
- package/lib/module/agent-creator/EmotionPicker.js +3 -5
- package/lib/module/agent-creator/EmotionPicker.js.map +1 -1
- package/lib/module/agent-log/AgentLog.js +131 -174
- package/lib/module/agent-log/AgentLog.js.map +1 -1
- package/lib/module/agent-reply/AgentProfile.js +7 -10
- package/lib/module/agent-reply/AgentProfile.js.map +1 -1
- package/lib/module/agent-thinking/AgentThinking.js +8 -7
- package/lib/module/agent-thinking/AgentThinking.js.map +1 -1
- package/lib/module/agent-thinking/ThinkingReasoning.js +8 -8
- package/lib/module/agent-thinking/ThinkingReasoning.js.map +1 -1
- package/lib/module/app-shell/AppShell.js +5 -7
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +73 -29
- package/lib/module/app-shell/AppShellEngine.js.map +1 -1
- package/lib/module/app-shell/AppShellPanelLayout.js +3 -3
- package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/module/app-shell/NotificationBell.js +9 -9
- package/lib/module/app-shell/NotificationBell.js.map +1 -1
- package/lib/module/app-shell/PanelReorderHandle.js +4 -6
- package/lib/module/app-shell/PanelReorderHandle.js.map +1 -1
- package/lib/module/avatar-group/AvatarGroupBase.js +7 -7
- package/lib/module/avatar-group/AvatarGroupBase.js.map +1 -1
- package/lib/module/blur/BlurIsland.js +112 -116
- package/lib/module/blur/BlurIsland.js.map +1 -1
- package/lib/module/button/Button.js +13 -23
- package/lib/module/button/Button.js.map +1 -1
- package/lib/module/button/GroupBase.js +37 -52
- package/lib/module/button/GroupBase.js.map +1 -1
- package/lib/module/chat-list/ChatSearchResultsBase.js +4 -4
- package/lib/module/chat-list/ChatSearchResultsBase.js.map +1 -1
- package/lib/module/choice-list/ChoiceList.js +5 -5
- package/lib/module/choice-list/ChoiceList.js.map +1 -1
- package/lib/module/color-swatch-picker/ColorSwatchPicker.js +7 -7
- package/lib/module/color-swatch-picker/ColorSwatchPicker.js.map +1 -1
- package/lib/module/connection-dots/ConnectionDots.js +4 -4
- package/lib/module/connection-dots/ConnectionDots.js.map +1 -1
- package/lib/module/connection-dots/ConnectionDots.web.js +4 -4
- package/lib/module/connection-dots/ConnectionDots.web.js.map +1 -1
- package/lib/module/cover-header/CoverHeader.js +3 -3
- package/lib/module/cover-header/CoverHeader.js.map +1 -1
- package/lib/module/data-table/DataTableSelect.js +8 -8
- package/lib/module/data-table/DataTableSelect.js.map +1 -1
- package/lib/module/design-tokens/theme.css +1 -0
- package/lib/module/design-tokens/tokens.json +390 -0
- package/lib/module/dialog/DialogContent.js +5 -4
- package/lib/module/dialog/DialogContent.js.map +1 -1
- package/lib/module/dialog/DialogHeader.js +6 -5
- package/lib/module/dialog/DialogHeader.js.map +1 -1
- package/lib/module/dialog/SheetShell.js +5 -4
- package/lib/module/dialog/SheetShell.js.map +1 -1
- package/lib/module/expandable-text/ExpandableText.js +3 -3
- package/lib/module/expandable-text/ExpandableText.js.map +1 -1
- package/lib/module/floating/lens/lens-cover.js +51 -0
- package/lib/module/floating/lens/lens-cover.js.map +1 -0
- package/lib/module/floating/lens/lens-frame.js +282 -0
- package/lib/module/floating/lens/lens-frame.js.map +1 -0
- package/lib/module/floating/lens/lens-material.js +1 -1
- package/lib/module/floating/lens/native-lens.js.map +1 -1
- package/lib/module/grouped-section/GroupedSection.js +16 -15
- package/lib/module/grouped-section/GroupedSection.js.map +1 -1
- package/lib/module/home-search/BudgetPicker.js +8 -8
- package/lib/module/home-search/BudgetPicker.js.map +1 -1
- package/lib/module/home-search/MoveInPicker.js +7 -7
- package/lib/module/home-search/MoveInPicker.js.map +1 -1
- package/lib/module/icon-circle/IconCircle.js +14 -16
- package/lib/module/icon-circle/IconCircle.js.map +1 -1
- package/lib/module/icons/shared.js +3 -5
- package/lib/module/icons/shared.js.map +1 -1
- package/lib/module/kbd/Kbd.js +8 -8
- package/lib/module/kbd/Kbd.js.map +1 -1
- package/lib/module/layout/ResizeHandle.js +6 -5
- package/lib/module/layout/ResizeHandle.js.map +1 -1
- package/lib/module/link-preview/LinkPreviewCard.js +24 -26
- package/lib/module/link-preview/LinkPreviewCard.js.map +1 -1
- package/lib/module/list/ListBase.js +3 -3
- package/lib/module/list/ListBase.js.map +1 -1
- package/lib/module/list/ListPerson.js +3 -3
- package/lib/module/list/ListPerson.js.map +1 -1
- package/lib/module/listing-editor/ListingPreviewPane.js +30 -30
- package/lib/module/listing-editor/ListingPreviewPane.js.map +1 -1
- package/lib/module/markdown/InlineMarkdown.js +9 -11
- package/lib/module/markdown/InlineMarkdown.js.map +1 -1
- package/lib/module/markdown/MarkdownBlocks.js +35 -43
- package/lib/module/markdown/MarkdownBlocks.js.map +1 -1
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js +6 -9
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js +9 -11
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
- package/lib/module/notifications/NotificationPermissionSheet.js +3 -5
- package/lib/module/notifications/NotificationPermissionSheet.js.map +1 -1
- package/lib/module/notifications/NotificationsScreen.js +21 -27
- package/lib/module/notifications/NotificationsScreen.js.map +1 -1
- package/lib/module/overlay/OverlayInertBoundary.js +33 -12
- package/lib/module/overlay/OverlayInertBoundary.js.map +1 -1
- package/lib/module/page-header/PageHeader.js +24 -15
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/page-header/PageHeaderTitleInput.js +20 -20
- package/lib/module/page-header/PageHeaderTitleInput.js.map +1 -1
- package/lib/module/panel-routing/expo-router/StackScene.js +43 -24
- package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
- package/lib/module/phone-input/CountryCodeSelect.js +4 -4
- package/lib/module/phone-input/CountryCodeSelect.js.map +1 -1
- package/lib/module/project-board/MemberAvatars.js +7 -9
- package/lib/module/project-board/MemberAvatars.js.map +1 -1
- package/lib/module/project-board/ProjectBoardBase.js +4 -7
- package/lib/module/project-board/ProjectBoardBase.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/project-board/styles.js +3 -6
- package/lib/module/project-board/styles.js.map +1 -1
- package/lib/module/radio/RadioSwatch.js +5 -5
- package/lib/module/radio/RadioSwatch.js.map +1 -1
- package/lib/module/rating/Rating.js +7 -7
- package/lib/module/rating/Rating.js.map +1 -1
- package/lib/module/rating/RatingBar.js +8 -8
- package/lib/module/rating/RatingBar.js.map +1 -1
- package/lib/module/rating/RatingBar.web.js +5 -5
- package/lib/module/rating/RatingBar.web.js.map +1 -1
- package/lib/module/rating/RatingInput.js +9 -9
- package/lib/module/rating/RatingInput.js.map +1 -1
- package/lib/module/rating/RatingSummary.js +6 -6
- package/lib/module/rating/RatingSummary.js.map +1 -1
- package/lib/module/row-actions/RowActions.js +5 -5
- package/lib/module/row-actions/RowActions.js.map +1 -1
- package/lib/module/select/Select.js +5 -5
- package/lib/module/select/Select.js.map +1 -1
- package/lib/module/skeleton/Skeleton.js +22 -30
- package/lib/module/skeleton/Skeleton.js.map +1 -1
- package/lib/module/stay-filters/AvailabilityFilter.js +3 -3
- package/lib/module/stay-filters/AvailabilityFilter.js.map +1 -1
- package/lib/module/stay-filters/CountFilter.js +3 -3
- package/lib/module/stay-filters/CountFilter.js.map +1 -1
- package/lib/module/stay-filters/FilterFooter.js +7 -7
- package/lib/module/stay-filters/FilterFooter.js.map +1 -1
- package/lib/module/stay-filters/FilterSection.js +12 -12
- package/lib/module/stay-filters/FilterSection.js.map +1 -1
- package/lib/module/stay-filters/SwitchFilterRow.js +9 -9
- package/lib/module/stay-filters/SwitchFilterRow.js.map +1 -1
- package/lib/module/stay-search/GuestPicker.js +5 -5
- package/lib/module/stay-search/GuestPicker.js.map +1 -1
- package/lib/module/stepper/Stepper.js +11 -10
- package/lib/module/stepper/Stepper.js.map +1 -1
- package/lib/module/stepper/StepperRow.js +12 -12
- package/lib/module/stepper/StepperRow.js.map +1 -1
- package/lib/module/subscription-plans/SubscriptionPlans.js +10 -10
- package/lib/module/subscription-plans/SubscriptionPlans.js.map +1 -1
- package/lib/module/subscription-plans/SubscriptionPrice.js +5 -5
- package/lib/module/subscription-plans/SubscriptionPrice.js.map +1 -1
- package/lib/module/surface/Surface.js +65 -194
- package/lib/module/surface/Surface.js.map +1 -1
- package/lib/module/tab-bar/TabBarBase.js +18 -15
- package/lib/module/tab-bar/TabBarBase.js.map +1 -1
- package/lib/module/task-list/TaskList.js +14 -15
- package/lib/module/task-list/TaskList.js.map +1 -1
- package/lib/module/theme/BloomThemeProvider.js +208 -224
- package/lib/module/theme/BloomThemeProvider.js.map +1 -1
- package/lib/module/theme/build-theme-from-seed.js +1 -1
- package/lib/module/theme/build-theme.js +38 -9
- package/lib/module/theme/build-theme.js.map +1 -1
- package/lib/module/theme/canonical-tokens.js +36 -0
- package/lib/module/theme/canonical-tokens.js.map +1 -0
- package/lib/module/theme/color-policy.js +3 -0
- package/lib/module/theme/color-policy.js.map +1 -1
- package/lib/module/theme/color-scope/resolve-scope.js +46 -5
- package/lib/module/theme/color-scope/resolve-scope.js.map +1 -1
- package/lib/module/theme/color-scope/use-scope.js +2 -6
- package/lib/module/theme/color-scope/use-scope.js.map +1 -1
- package/lib/module/theme/color-tokens.js +30 -8
- package/lib/module/theme/color-tokens.js.map +1 -1
- package/lib/module/theme/color-utils.js +4 -0
- package/lib/module/theme/color-utils.js.map +1 -1
- package/lib/module/theme/default-token-vars.js +88 -0
- package/lib/module/theme/default-token-vars.js.map +1 -0
- package/lib/module/theme/index.js +1 -1
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/index.web.js +1 -1
- package/lib/module/theme/index.web.js.map +1 -1
- package/lib/module/theme/prepaint-palettes.js +2 -6
- package/lib/module/theme/prepaint-palettes.js.map +1 -1
- package/lib/module/theme/token-registry.js +1 -27
- package/lib/module/theme/token-registry.js.map +1 -1
- package/lib/module/theme/use-theme-paint.js +30 -3
- package/lib/module/theme/use-theme-paint.js.map +1 -1
- package/lib/module/typography/Typography.js +27 -27
- package/lib/module/typography/Typography.js.map +1 -1
- package/lib/module/web-search/WebSearch.js +18 -19
- package/lib/module/web-search/WebSearch.js.map +1 -1
- package/lib/module/wizard/WizardFooterBase.js +10 -10
- package/lib/module/wizard/WizardFooterBase.js.map +1 -1
- package/lib/module/wizard/WizardProgress.js +5 -5
- package/lib/module/wizard/WizardProgress.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/VectorNativeSurface.d.ts +75 -0
- package/lib/typescript/commonjs/agent-avatar/VectorNativeSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/vector-loop.d.ts +93 -0
- package/lib/typescript/commonjs/agent-avatar/vector-loop.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/vector-visibility.d.ts +2 -0
- package/lib/typescript/commonjs/agent-avatar/vector-visibility.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreatorSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-log/AgentLog.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-reply/AgentProfile.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-thinking/AgentThinking.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/commonjs/blur/BlurIsland.d.ts +1 -1
- package/lib/typescript/commonjs/blur/BlurIsland.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/GroupBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogContent.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/SheetShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/lens/lens-cover.d.ts +15 -0
- package/lib/typescript/commonjs/floating/lens/lens-cover.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/lens/lens-frame.d.ts +52 -0
- package/lib/typescript/commonjs/floating/lens/lens-frame.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/lens/lens-material.d.ts +1 -1
- package/lib/typescript/commonjs/floating/lens/native-lens.d.ts +6 -0
- package/lib/typescript/commonjs/floating/lens/native-lens.d.ts.map +1 -1
- package/lib/typescript/commonjs/grouped-section/GroupedSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/ResizeHandle.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/ListBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/OverlayInertBoundary.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +3 -1
- package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/stepper/Stepper.d.ts.map +1 -1
- package/lib/typescript/commonjs/surface/Surface.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/task-list/TaskList.d.ts +3 -3
- package/lib/typescript/commonjs/task-list/TaskList.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/BloomThemeProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/build-theme.d.ts +9 -0
- package/lib/typescript/commonjs/theme/build-theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/canonical-tokens.d.ts +20 -0
- package/lib/typescript/commonjs/theme/canonical-tokens.d.ts.map +1 -0
- package/lib/typescript/commonjs/theme/color-policy.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/resolve-scope.d.ts +58 -0
- package/lib/typescript/commonjs/theme/color-scope/resolve-scope.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/use-scope.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-tokens.d.ts +5 -2
- package/lib/typescript/commonjs/theme/color-tokens.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-utils.d.ts +3 -0
- package/lib/typescript/commonjs/theme/color-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/default-token-vars.d.ts +11 -0
- package/lib/typescript/commonjs/theme/default-token-vars.d.ts.map +1 -0
- package/lib/typescript/commonjs/theme/index.d.ts +1 -1
- package/lib/typescript/commonjs/theme/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/theme/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/prepaint-palettes.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/token-registry.d.ts +1 -16
- package/lib/typescript/commonjs/theme/token-registry.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/use-theme-paint.d.ts +11 -0
- package/lib/typescript/commonjs/theme/use-theme-paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/web-search/WebSearch.d.ts +3 -3
- package/lib/typescript/commonjs/web-search/WebSearch.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/VectorNativeSurface.d.ts +75 -0
- package/lib/typescript/module/agent-avatar/VectorNativeSurface.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/vector-loop.d.ts +93 -0
- package/lib/typescript/module/agent-avatar/vector-loop.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/vector-visibility.d.ts +2 -0
- package/lib/typescript/module/agent-avatar/vector-visibility.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreatorSection.d.ts.map +1 -1
- package/lib/typescript/module/agent-log/AgentLog.d.ts.map +1 -1
- package/lib/typescript/module/agent-reply/AgentProfile.d.ts.map +1 -1
- package/lib/typescript/module/agent-thinking/AgentThinking.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/module/blur/BlurIsland.d.ts +1 -1
- package/lib/typescript/module/blur/BlurIsland.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.d.ts.map +1 -1
- package/lib/typescript/module/button/GroupBase.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogContent.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogHeader.d.ts.map +1 -1
- package/lib/typescript/module/dialog/SheetShell.d.ts.map +1 -1
- package/lib/typescript/module/floating/lens/lens-cover.d.ts +15 -0
- package/lib/typescript/module/floating/lens/lens-cover.d.ts.map +1 -0
- package/lib/typescript/module/floating/lens/lens-frame.d.ts +52 -0
- package/lib/typescript/module/floating/lens/lens-frame.d.ts.map +1 -0
- package/lib/typescript/module/floating/lens/lens-material.d.ts +1 -1
- package/lib/typescript/module/floating/lens/native-lens.d.ts +6 -0
- package/lib/typescript/module/floating/lens/native-lens.d.ts.map +1 -1
- package/lib/typescript/module/grouped-section/GroupedSection.d.ts.map +1 -1
- package/lib/typescript/module/layout/ResizeHandle.d.ts.map +1 -1
- package/lib/typescript/module/list/ListBase.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
- package/lib/typescript/module/overlay/OverlayInertBoundary.d.ts.map +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +3 -1
- package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -1
- package/lib/typescript/module/project-board/styles.d.ts.map +1 -1
- package/lib/typescript/module/stay-search/GuestPicker.d.ts.map +1 -1
- package/lib/typescript/module/stepper/Stepper.d.ts.map +1 -1
- package/lib/typescript/module/surface/Surface.d.ts.map +1 -1
- package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -1
- package/lib/typescript/module/task-list/TaskList.d.ts +3 -3
- package/lib/typescript/module/task-list/TaskList.d.ts.map +1 -1
- package/lib/typescript/module/theme/BloomThemeProvider.d.ts.map +1 -1
- package/lib/typescript/module/theme/build-theme.d.ts +9 -0
- package/lib/typescript/module/theme/build-theme.d.ts.map +1 -1
- package/lib/typescript/module/theme/canonical-tokens.d.ts +20 -0
- package/lib/typescript/module/theme/canonical-tokens.d.ts.map +1 -0
- package/lib/typescript/module/theme/color-policy.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/resolve-scope.d.ts +58 -0
- package/lib/typescript/module/theme/color-scope/resolve-scope.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/use-scope.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-tokens.d.ts +5 -2
- package/lib/typescript/module/theme/color-tokens.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-utils.d.ts +3 -0
- package/lib/typescript/module/theme/color-utils.d.ts.map +1 -1
- package/lib/typescript/module/theme/default-token-vars.d.ts +11 -0
- package/lib/typescript/module/theme/default-token-vars.d.ts.map +1 -0
- package/lib/typescript/module/theme/index.d.ts +1 -1
- package/lib/typescript/module/theme/index.d.ts.map +1 -1
- package/lib/typescript/module/theme/index.web.d.ts +1 -1
- package/lib/typescript/module/theme/index.web.d.ts.map +1 -1
- package/lib/typescript/module/theme/prepaint-palettes.d.ts.map +1 -1
- package/lib/typescript/module/theme/token-registry.d.ts +1 -16
- package/lib/typescript/module/theme/token-registry.d.ts.map +1 -1
- package/lib/typescript/module/theme/use-theme-paint.d.ts +11 -0
- package/lib/typescript/module/theme/use-theme-paint.d.ts.map +1 -1
- package/lib/typescript/module/web-search/WebSearch.d.ts +3 -3
- package/lib/typescript/module/web-search/WebSearch.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/accordion/Accordion.tsx +6 -6
- package/src/accordion/Accordion.web.tsx +6 -6
- package/src/agent-avatar/VectorCharacterAvatar.tsx +327 -120
- package/src/agent-avatar/VectorNativeSurface.tsx +117 -0
- package/src/agent-avatar/vector-loop.ts +213 -0
- package/src/agent-avatar/vector-visibility.ts +3 -1
- package/src/agent-creator/AgentCreatorSection.tsx +4 -6
- package/src/agent-creator/EmotionPicker.tsx +3 -3
- package/src/agent-log/AgentLog.tsx +8 -21
- package/src/agent-reply/AgentProfile.tsx +4 -5
- package/src/agent-thinking/AgentThinking.tsx +4 -3
- package/src/agent-thinking/ThinkingReasoning.tsx +4 -4
- package/src/app-shell/AppShell.tsx +3 -3
- package/src/app-shell/AppShellEngine.tsx +67 -19
- package/src/app-shell/AppShellPanelLayout.tsx +3 -3
- package/src/app-shell/NotificationBell.tsx +6 -6
- package/src/app-shell/PanelReorderHandle.tsx +4 -4
- package/src/avatar-group/AvatarGroupBase.tsx +6 -6
- package/src/blur/BlurIsland.tsx +16 -14
- package/src/button/Button.tsx +19 -36
- package/src/button/GroupBase.tsx +42 -56
- package/src/chat-list/ChatSearchResultsBase.tsx +4 -4
- package/src/choice-list/ChoiceList.tsx +3 -3
- package/src/color-swatch-picker/ColorSwatchPicker.tsx +4 -4
- package/src/connection-dots/ConnectionDots.tsx +4 -4
- package/src/connection-dots/ConnectionDots.web.tsx +4 -4
- package/src/cover-header/CoverHeader.tsx +3 -3
- package/src/data-table/DataTableSelect.tsx +4 -4
- package/src/design-tokens/theme.css +1 -0
- package/src/design-tokens/tokens.json +390 -0
- package/src/dialog/DialogContent.tsx +3 -2
- package/src/dialog/DialogHeader.tsx +6 -5
- package/src/dialog/SheetShell.tsx +3 -2
- package/src/expandable-text/ExpandableText.tsx +3 -3
- package/src/floating/lens/lens-cover.tsx +29 -0
- package/src/floating/lens/lens-frame.tsx +195 -0
- package/src/floating/lens/lens-material.ts +1 -1
- package/src/floating/lens/native-lens.ts +2 -0
- package/src/grouped-section/GroupedSection.tsx +7 -6
- package/src/home-search/BudgetPicker.tsx +4 -4
- package/src/home-search/MoveInPicker.tsx +3 -3
- package/src/icon-circle/IconCircle.tsx +5 -5
- package/src/icons/shared.tsx +3 -3
- package/src/kbd/Kbd.tsx +4 -4
- package/src/layout/ResizeHandle.tsx +7 -5
- package/src/link-preview/LinkPreviewCard.tsx +7 -7
- package/src/list/ListBase.tsx +3 -6
- package/src/list/ListPerson.tsx +3 -3
- package/src/listing-editor/ListingPreviewPane.tsx +13 -13
- package/src/markdown/InlineMarkdown.tsx +3 -3
- package/src/markdown/MarkdownBlocks.tsx +14 -14
- package/src/multi-agent-chat/MultiAgentChatBase.tsx +6 -9
- package/src/multi-agent-chat/SelectedAgentPreview.tsx +4 -4
- package/src/notifications/NotificationPermissionSheet.tsx +3 -3
- package/src/notifications/NotificationsScreen.tsx +9 -9
- package/src/overlay/OverlayInertBoundary.tsx +10 -1
- package/src/page-header/PageHeader.tsx +26 -13
- package/src/page-header/PageHeaderTitleInput.tsx +4 -4
- package/src/panel-routing/expo-router/StackScene.tsx +16 -2
- package/src/phone-input/CountryCodeSelect.tsx +4 -4
- package/src/project-board/MemberAvatars.tsx +3 -3
- package/src/project-board/ProjectBoardBase.tsx +4 -5
- package/src/project-board/ProjectBoardCanvas.tsx +2 -2
- package/src/project-board/styles.ts +3 -4
- package/src/radio/RadioSwatch.tsx +3 -3
- package/src/rating/Rating.tsx +5 -5
- package/src/rating/RatingBar.tsx +4 -4
- package/src/rating/RatingBar.web.tsx +3 -3
- package/src/rating/RatingInput.tsx +5 -5
- package/src/rating/RatingSummary.tsx +4 -4
- package/src/row-actions/RowActions.tsx +3 -3
- package/src/select/Select.tsx +3 -3
- package/src/skeleton/Skeleton.tsx +9 -9
- package/src/stay-filters/AvailabilityFilter.tsx +3 -3
- package/src/stay-filters/CountFilter.tsx +3 -3
- package/src/stay-filters/FilterFooter.tsx +4 -4
- package/src/stay-filters/FilterSection.tsx +5 -5
- package/src/stay-filters/SwitchFilterRow.tsx +4 -4
- package/src/stay-search/GuestPicker.tsx +3 -6
- package/src/stepper/Stepper.tsx +6 -5
- package/src/stepper/StepperRow.tsx +5 -5
- package/src/subscription-plans/SubscriptionPlans.tsx +6 -6
- package/src/subscription-plans/SubscriptionPrice.tsx +3 -3
- package/src/surface/Surface.tsx +13 -28
- package/src/tab-bar/TabBarBase.tsx +13 -8
- package/src/task-list/TaskList.tsx +14 -16
- package/src/theme/BloomThemeProvider.tsx +33 -33
- package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +134 -0
- package/src/theme/build-theme-from-seed.ts +1 -1
- package/src/theme/build-theme.ts +52 -11
- package/src/theme/canonical-tokens.ts +108 -0
- package/src/theme/color-policy.ts +3 -0
- package/src/theme/color-scope/resolve-scope.ts +47 -8
- package/src/theme/color-scope/use-scope.ts +2 -6
- package/src/theme/color-tokens.ts +7 -7
- package/src/theme/color-utils.ts +4 -0
- package/src/theme/default-token-vars.ts +86 -0
- package/src/theme/index.ts +1 -1
- package/src/theme/index.web.ts +1 -1
- package/src/theme/prepaint-palettes.ts +2 -3
- package/src/theme/token-registry.ts +1 -101
- package/src/theme/use-theme-paint.ts +26 -3
- package/src/typography/Typography.tsx +12 -12
- package/src/web-search/WebSearch.tsx +16 -18
- package/src/wizard/WizardFooterBase.tsx +5 -5
- package/src/wizard/WizardProgress.tsx +5 -5
- package/lib/commonjs/floating/lens/lens-button-host.js +0 -218
- package/lib/commonjs/floating/lens/lens-button-host.js.map +0 -1
- package/lib/module/floating/lens/lens-button-host.js +0 -214
- package/lib/module/floating/lens/lens-button-host.js.map +0 -1
- package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts +0 -34
- package/lib/typescript/commonjs/floating/lens/lens-button-host.d.ts.map +0 -1
- package/lib/typescript/module/floating/lens/lens-button-host.d.ts +0 -34
- package/lib/typescript/module/floating/lens/lens-button-host.d.ts.map +0 -1
- package/src/floating/lens/lens-button-host.tsx +0 -148
|
@@ -25,7 +25,7 @@ import { StyleSheet, View } from 'react-native';
|
|
|
25
25
|
import { openExternal } from '../hooks/link-activation';
|
|
26
26
|
|
|
27
27
|
import { Card } from '../card';
|
|
28
|
-
import {
|
|
28
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
29
29
|
import { fontSize, space } from '../styles/tokens';
|
|
30
30
|
import { Text } from '../typography';
|
|
31
31
|
import { TYPE_SCALE } from '../typography/scale';
|
|
@@ -105,7 +105,7 @@ const LinkPreviewCardComponent: React.FC<LinkPreviewCardProps> = ({
|
|
|
105
105
|
onPress,
|
|
106
106
|
style,
|
|
107
107
|
}) => {
|
|
108
|
-
const
|
|
108
|
+
const tokens = useColorTokens();
|
|
109
109
|
|
|
110
110
|
const { displaySiteName, displayTitle } = useMemo(() => {
|
|
111
111
|
const host = hostnameOf(url);
|
|
@@ -158,7 +158,7 @@ const LinkPreviewCardComponent: React.FC<LinkPreviewCardProps> = ({
|
|
|
158
158
|
// by the consumer via `style`), letting the text block stay a
|
|
159
159
|
// compact footer. Default mode: fixed intrinsic cover height.
|
|
160
160
|
coverFill ? styles.coverFill : styles.coverFixed,
|
|
161
|
-
{ backgroundColor:
|
|
161
|
+
{ backgroundColor: tokens.popover },
|
|
162
162
|
]}
|
|
163
163
|
/>
|
|
164
164
|
) : null}
|
|
@@ -168,14 +168,14 @@ const LinkPreviewCardComponent: React.FC<LinkPreviewCardProps> = ({
|
|
|
168
168
|
<Text
|
|
169
169
|
variant="caption-1-medium"
|
|
170
170
|
numberOfLines={1}
|
|
171
|
-
style={[styles.siteName, { color:
|
|
171
|
+
style={[styles.siteName, { color: tokens.mutedForeground }]}
|
|
172
172
|
>
|
|
173
173
|
{displaySiteName}
|
|
174
174
|
</Text>
|
|
175
175
|
) : null}
|
|
176
176
|
|
|
177
177
|
{displayTitle ? (
|
|
178
|
-
<Text numberOfLines={2} style={[styles.title, { color:
|
|
178
|
+
<Text numberOfLines={2} style={[styles.title, { color: tokens.foreground }]}>
|
|
179
179
|
{displayTitle}
|
|
180
180
|
</Text>
|
|
181
181
|
) : null}
|
|
@@ -184,7 +184,7 @@ const LinkPreviewCardComponent: React.FC<LinkPreviewCardProps> = ({
|
|
|
184
184
|
<Text
|
|
185
185
|
variant="body-2-regular"
|
|
186
186
|
numberOfLines={2}
|
|
187
|
-
style={[styles.description, { color:
|
|
187
|
+
style={[styles.description, { color: tokens.mutedForeground }]}
|
|
188
188
|
>
|
|
189
189
|
{description}
|
|
190
190
|
</Text>
|
|
@@ -194,7 +194,7 @@ const LinkPreviewCardComponent: React.FC<LinkPreviewCardProps> = ({
|
|
|
194
194
|
<Text
|
|
195
195
|
variant="caption-1-medium"
|
|
196
196
|
numberOfLines={1}
|
|
197
|
-
style={[styles.author, { color:
|
|
197
|
+
style={[styles.author, { color: tokens.mutedForeground }]}
|
|
198
198
|
>
|
|
199
199
|
{author}
|
|
200
200
|
</Text>
|
package/src/list/ListBase.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { Divider } from '../divider';
|
|
|
4
4
|
import { CHAT_PEOPLE_MESSAGES } from '../chat-people/messages';
|
|
5
5
|
import { useMessages } from '../locale/messages';
|
|
6
6
|
import { useSurfaceFill } from '../styles/surface-levels';
|
|
7
|
-
import {
|
|
7
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
8
8
|
import * as Skeleton from '../skeleton';
|
|
9
9
|
import { Text } from '../typography';
|
|
10
10
|
import type { ListProps } from './types';
|
|
@@ -37,7 +37,7 @@ export function createList({
|
|
|
37
37
|
const groups = (sections ?? [{ id: 'all', items: items ?? [] }]).filter(
|
|
38
38
|
(section) => section.items.length > 0,
|
|
39
39
|
);
|
|
40
|
-
const
|
|
40
|
+
const tokens = useColorTokens();
|
|
41
41
|
const fill = useSurfaceFill();
|
|
42
42
|
const { messages } = useMessages(CHAT_PEOPLE_MESSAGES);
|
|
43
43
|
const scroller = useRef<ComponentRef<typeof ScrollView> | null>(null);
|
|
@@ -185,10 +185,7 @@ export function createList({
|
|
|
185
185
|
<Text
|
|
186
186
|
variant={id === sectionIndex.activeId ? 'caption-2-bold' : 'caption-2-medium'}
|
|
187
187
|
style={{
|
|
188
|
-
color:
|
|
189
|
-
id === sectionIndex.activeId
|
|
190
|
-
? theme.colors.primary
|
|
191
|
-
: theme.colors.textSecondary,
|
|
188
|
+
color: id === sectionIndex.activeId ? tokens.primary : tokens.mutedForeground,
|
|
192
189
|
}}
|
|
193
190
|
>
|
|
194
191
|
{id}
|
package/src/list/ListPerson.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import { CHAT_PEOPLE_MESSAGES } from '../chat-people/messages';
|
|
|
5
5
|
import { RiCheckLine } from '../icons/remix/RiCheckLine';
|
|
6
6
|
import { useMessages } from '../locale/messages';
|
|
7
7
|
import { useSurfaceFill } from '../styles/surface-levels';
|
|
8
|
-
import {
|
|
8
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
9
9
|
import { Text } from '../typography';
|
|
10
10
|
import type { ListCommonProps, ListItemShellProps, ListPersonData } from './types';
|
|
11
11
|
|
|
@@ -21,7 +21,7 @@ export function ListPerson({
|
|
|
21
21
|
}) {
|
|
22
22
|
const { messages } = useMessages(CHAT_PEOPLE_MESSAGES);
|
|
23
23
|
const fill = useSurfaceFill();
|
|
24
|
-
const
|
|
24
|
+
const tokens = useColorTokens();
|
|
25
25
|
const {
|
|
26
26
|
name,
|
|
27
27
|
avatar,
|
|
@@ -73,7 +73,7 @@ export function ListPerson({
|
|
|
73
73
|
<Text
|
|
74
74
|
variant="body-2-regular"
|
|
75
75
|
numberOfLines={1}
|
|
76
|
-
style={{ color:
|
|
76
|
+
style={{ color: tokens.mutedForeground }}
|
|
77
77
|
testID={id('subtitle')}
|
|
78
78
|
>
|
|
79
79
|
{subtitle}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SegmentedControlItem,
|
|
14
14
|
SegmentedControlItemText,
|
|
15
15
|
} from '../segmented-control';
|
|
16
|
-
import {
|
|
16
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
17
17
|
import { useMessages } from '../locale/messages';
|
|
18
18
|
import { Text } from '../typography';
|
|
19
19
|
import { LISTING_EDITOR_MESSAGES, type ListingEditorMessages } from './messages';
|
|
@@ -60,7 +60,7 @@ function ListingPreviewPaneComponent({
|
|
|
60
60
|
const cardLabel = cardLabelProp ?? messages.card;
|
|
61
61
|
const pageLabel = pageLabelProp ?? messages.page;
|
|
62
62
|
const toggleLabel = toggleLabelProp ?? messages.previewAs;
|
|
63
|
-
const
|
|
63
|
+
const tokens = useColorTokens();
|
|
64
64
|
const [mode, setMode] = useControllableState<ListingPreviewMode>({
|
|
65
65
|
value: modeProp,
|
|
66
66
|
defaultValue: defaultMode,
|
|
@@ -78,17 +78,17 @@ function ListingPreviewPaneComponent({
|
|
|
78
78
|
paddingLeft: 20,
|
|
79
79
|
paddingRight: 20,
|
|
80
80
|
borderRadius: 20,
|
|
81
|
-
backgroundColor:
|
|
81
|
+
backgroundColor: tokens.surface,
|
|
82
82
|
},
|
|
83
83
|
style,
|
|
84
84
|
]}
|
|
85
85
|
>
|
|
86
86
|
<View style={{ gap: 2 }}>
|
|
87
|
-
<Text variant="headline-semibold" style={{ color:
|
|
87
|
+
<Text variant="headline-semibold" style={{ color: tokens.foreground }}>
|
|
88
88
|
{title}
|
|
89
89
|
</Text>
|
|
90
90
|
{description ? (
|
|
91
|
-
<Text variant="body-2-regular" style={{ color:
|
|
91
|
+
<Text variant="body-2-regular" style={{ color: tokens.mutedForeground }}>
|
|
92
92
|
{description}
|
|
93
93
|
</Text>
|
|
94
94
|
) : null}
|
|
@@ -134,12 +134,12 @@ function reviewsLabel(messages: ListingEditorMessages, count: number | string):
|
|
|
134
134
|
|
|
135
135
|
function PagePreview({ listing }: { listing: ListingPreviewData }) {
|
|
136
136
|
const { messages } = useMessages(LISTING_EDITOR_MESSAGES);
|
|
137
|
-
const
|
|
137
|
+
const tokens = useColorTokens();
|
|
138
138
|
const resolver = useImageResolver();
|
|
139
139
|
const cover = listing.photos[0]
|
|
140
140
|
? resolvePhoto(listing.photos[0], resolver, listing.photoVariant)
|
|
141
141
|
: undefined;
|
|
142
|
-
const hairline =
|
|
142
|
+
const hairline = tokens.border;
|
|
143
143
|
|
|
144
144
|
return (
|
|
145
145
|
<View
|
|
@@ -149,7 +149,7 @@ function PagePreview({ listing }: { listing: ListingPreviewData }) {
|
|
|
149
149
|
borderRadius: 20,
|
|
150
150
|
borderWidth: 1,
|
|
151
151
|
borderColor: hairline,
|
|
152
|
-
backgroundColor:
|
|
152
|
+
backgroundColor: tokens.background,
|
|
153
153
|
overflow: 'hidden',
|
|
154
154
|
}}
|
|
155
155
|
>
|
|
@@ -157,7 +157,7 @@ function PagePreview({ listing }: { listing: ListingPreviewData }) {
|
|
|
157
157
|
style={{
|
|
158
158
|
width: '100%',
|
|
159
159
|
aspectRatio: 4 / 3,
|
|
160
|
-
backgroundColor:
|
|
160
|
+
backgroundColor: tokens.surface,
|
|
161
161
|
}}
|
|
162
162
|
>
|
|
163
163
|
{cover ? (
|
|
@@ -183,12 +183,12 @@ function PagePreview({ listing }: { listing: ListingPreviewData }) {
|
|
|
183
183
|
location={listing.location}
|
|
184
184
|
/>
|
|
185
185
|
{listing.facts && listing.facts.length > 0 ? (
|
|
186
|
-
<Text variant="body-2-regular" style={{ color:
|
|
186
|
+
<Text variant="body-2-regular" style={{ color: tokens.mutedForeground }}>
|
|
187
187
|
{listing.facts.map((fact) => fact.accessibilityLabel ?? fact.label).join(' · ')}
|
|
188
188
|
</Text>
|
|
189
189
|
) : null}
|
|
190
190
|
{listing.description ? (
|
|
191
|
-
<Text variant="body-regular" numberOfLines={6} style={{ color:
|
|
191
|
+
<Text variant="body-regular" numberOfLines={6} style={{ color: tokens.foreground }}>
|
|
192
192
|
{listing.description}
|
|
193
193
|
</Text>
|
|
194
194
|
) : null}
|
|
@@ -207,11 +207,11 @@ function PagePreview({ listing }: { listing: ListingPreviewData }) {
|
|
|
207
207
|
paddingRight: 16,
|
|
208
208
|
}}
|
|
209
209
|
>
|
|
210
|
-
<Text variant="headline-semibold" style={{ color:
|
|
210
|
+
<Text variant="headline-semibold" style={{ color: tokens.foreground }}>
|
|
211
211
|
{listing.price ?? listing.total}
|
|
212
212
|
</Text>
|
|
213
213
|
{listing.price && listing.priceUnit ? (
|
|
214
|
-
<Text variant="body-regular" style={{ color:
|
|
214
|
+
<Text variant="body-regular" style={{ color: tokens.mutedForeground }}>
|
|
215
215
|
{listing.priceUnit}
|
|
216
216
|
</Text>
|
|
217
217
|
) : null}
|
|
@@ -4,7 +4,7 @@ import { openExternal } from '../hooks/link-activation';
|
|
|
4
4
|
|
|
5
5
|
import { Code } from '../code';
|
|
6
6
|
import { IS_WEB } from '../styles/platform';
|
|
7
|
-
import {
|
|
7
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
8
8
|
import { parseInline } from './parse-inline';
|
|
9
9
|
import type { InlineMarkdownProps, MarkdownInline } from './types';
|
|
10
10
|
import { safeUrl } from './safe-url';
|
|
@@ -22,7 +22,7 @@ export const InlineMarkdown = memo(function InlineMarkdown({
|
|
|
22
22
|
renderLink,
|
|
23
23
|
suffix,
|
|
24
24
|
}: InlineMarkdownProps) {
|
|
25
|
-
const
|
|
25
|
+
const tokens = useColorTokens();
|
|
26
26
|
const nodes = useMemo(
|
|
27
27
|
() => suppliedNodes ?? parseInline(source ?? '', streaming),
|
|
28
28
|
[suppliedNodes, source, streaming],
|
|
@@ -89,7 +89,7 @@ export const InlineMarkdown = memo(function InlineMarkdown({
|
|
|
89
89
|
key={index}
|
|
90
90
|
role="link"
|
|
91
91
|
onPress={press(url)}
|
|
92
|
-
style={{ color:
|
|
92
|
+
style={{ color: tokens.primary, textDecorationLine: 'underline' }}
|
|
93
93
|
{...webLink}
|
|
94
94
|
>
|
|
95
95
|
{children}
|
|
@@ -6,7 +6,7 @@ import { CodeBlock } from '../code';
|
|
|
6
6
|
import { RiCheckLine } from '../icons/remix/RiCheckLine';
|
|
7
7
|
import { useMessages } from '../locale/messages';
|
|
8
8
|
import { IS_WEB } from '../styles/platform';
|
|
9
|
-
import {
|
|
9
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
10
10
|
import { Text } from '../typography';
|
|
11
11
|
import type { TypeScaleVariant } from '../typography/scale';
|
|
12
12
|
import { useMarkdownContext } from './context';
|
|
@@ -98,7 +98,7 @@ interface BlockProps {
|
|
|
98
98
|
|
|
99
99
|
const MarkdownBlockView = memo(function MarkdownBlockView({ block, streaming, depth }: BlockProps) {
|
|
100
100
|
const { size, renderCodeBlock } = useMarkdownContext();
|
|
101
|
-
const
|
|
101
|
+
const tokens = useColorTokens();
|
|
102
102
|
|
|
103
103
|
switch (block.type) {
|
|
104
104
|
case 'paragraph':
|
|
@@ -124,12 +124,12 @@ const MarkdownBlockView = memo(function MarkdownBlockView({ block, streaming, de
|
|
|
124
124
|
);
|
|
125
125
|
case 'quote':
|
|
126
126
|
return (
|
|
127
|
-
<View style={{ borderStartWidth: 3, borderStartColor:
|
|
127
|
+
<View style={{ borderStartWidth: 3, borderStartColor: tokens.border, paddingStart: 12 }}>
|
|
128
128
|
<MarkdownBlocks blocks={block.children} streaming={streaming} depth={depth} />
|
|
129
129
|
</View>
|
|
130
130
|
);
|
|
131
131
|
case 'rule':
|
|
132
|
-
return <View role="separator" style={{ height: 1, backgroundColor:
|
|
132
|
+
return <View role="separator" style={{ height: 1, backgroundColor: tokens.border }} />;
|
|
133
133
|
case 'list':
|
|
134
134
|
return (
|
|
135
135
|
<View collapsable={false} role="list" style={{ gap: ITEM_GAP }}>
|
|
@@ -169,7 +169,7 @@ interface ListItemProps {
|
|
|
169
169
|
|
|
170
170
|
function MarkdownListItemView({ item, marker, ordered, streaming, depth }: ListItemProps) {
|
|
171
171
|
const { size } = useMarkdownContext();
|
|
172
|
-
const
|
|
172
|
+
const tokens = useColorTokens();
|
|
173
173
|
const lineHeight = BODY_LINE_HEIGHT[size];
|
|
174
174
|
// The marker column is as wide as the widest number, so the text hangs in line.
|
|
175
175
|
const width = ordered ? 9 * marker.length + 6 : 18;
|
|
@@ -191,7 +191,7 @@ function MarkdownListItemView({ item, marker, ordered, streaming, depth }: ListI
|
|
|
191
191
|
{item.checked !== undefined ? (
|
|
192
192
|
<TaskBox checked={item.checked} />
|
|
193
193
|
) : (
|
|
194
|
-
<Text variant={BODY[size]} style={[BODY_STYLE[size], { color:
|
|
194
|
+
<Text variant={BODY[size]} style={[BODY_STYLE[size], { color: tokens.mutedForeground }]}>
|
|
195
195
|
{marker}
|
|
196
196
|
</Text>
|
|
197
197
|
)}
|
|
@@ -210,7 +210,7 @@ function MarkdownListItemView({ item, marker, ordered, streaming, depth }: ListI
|
|
|
210
210
|
|
|
211
211
|
/** A task item's box. Read-only: the document is not a form. */
|
|
212
212
|
function TaskBox({ checked }: { checked: boolean }) {
|
|
213
|
-
const
|
|
213
|
+
const tokens = useColorTokens();
|
|
214
214
|
const { messages } = useMessages(MARKDOWN_MESSAGES);
|
|
215
215
|
return (
|
|
216
216
|
<View
|
|
@@ -221,13 +221,13 @@ function TaskBox({ checked }: { checked: boolean }) {
|
|
|
221
221
|
height: TASK_BOX,
|
|
222
222
|
borderRadius: 4,
|
|
223
223
|
borderWidth: 1.5,
|
|
224
|
-
borderColor: checked ?
|
|
225
|
-
backgroundColor: checked ?
|
|
224
|
+
borderColor: checked ? tokens.primary : tokens.border,
|
|
225
|
+
backgroundColor: checked ? tokens.primary : 'transparent',
|
|
226
226
|
alignItems: 'center',
|
|
227
227
|
justifyContent: 'center',
|
|
228
228
|
}}
|
|
229
229
|
>
|
|
230
|
-
{checked ? <RiCheckLine width={12} height={12} fill={
|
|
230
|
+
{checked ? <RiCheckLine width={12} height={12} fill={tokens.primaryForeground} /> : null}
|
|
231
231
|
</View>
|
|
232
232
|
);
|
|
233
233
|
}
|
|
@@ -243,7 +243,7 @@ const MIN_COLUMN = 96;
|
|
|
243
243
|
|
|
244
244
|
function MarkdownTable({ align, header, rows, streaming }: TableProps) {
|
|
245
245
|
const { size } = useMarkdownContext();
|
|
246
|
-
const
|
|
246
|
+
const tokens = useColorTokens();
|
|
247
247
|
|
|
248
248
|
const cells = (values: string[], isHeader: boolean, isLast: boolean) =>
|
|
249
249
|
values.map((value, column) => {
|
|
@@ -273,7 +273,7 @@ function MarkdownTable({ align, header, rows, streaming }: TableProps) {
|
|
|
273
273
|
style={{
|
|
274
274
|
flexGrow: 1,
|
|
275
275
|
borderWidth: 1,
|
|
276
|
-
borderColor:
|
|
276
|
+
borderColor: tokens.border,
|
|
277
277
|
borderRadius: 8,
|
|
278
278
|
overflow: 'hidden',
|
|
279
279
|
}}
|
|
@@ -281,7 +281,7 @@ function MarkdownTable({ align, header, rows, streaming }: TableProps) {
|
|
|
281
281
|
<View
|
|
282
282
|
collapsable={false}
|
|
283
283
|
role="row"
|
|
284
|
-
style={{ flexDirection: 'row', backgroundColor:
|
|
284
|
+
style={{ flexDirection: 'row', backgroundColor: tokens.surface }}
|
|
285
285
|
>
|
|
286
286
|
{cells(header, true, false)}
|
|
287
287
|
</View>
|
|
@@ -290,7 +290,7 @@ function MarkdownTable({ align, header, rows, streaming }: TableProps) {
|
|
|
290
290
|
collapsable={false}
|
|
291
291
|
key={index}
|
|
292
292
|
role="row"
|
|
293
|
-
style={{ flexDirection: 'row', borderTopWidth: 1, borderTopColor:
|
|
293
|
+
style={{ flexDirection: 'row', borderTopWidth: 1, borderTopColor: tokens.border }}
|
|
294
294
|
>
|
|
295
295
|
{cells(row, false, index === rows.length - 1)}
|
|
296
296
|
</View>
|
|
@@ -48,8 +48,7 @@ import { OverlayRoot, TOAST_LAYER_Z } from '../overlay';
|
|
|
48
48
|
import { IS_WEB } from '../styles/platform';
|
|
49
49
|
import { ROUNDED_FULL } from '../styles/rounded-full';
|
|
50
50
|
import { TextFieldInput } from '../text-field';
|
|
51
|
-
import { createTokenStyles } from '../theme/color-tokens';
|
|
52
|
-
import { useTheme } from '../theme/use-theme';
|
|
51
|
+
import { createTokenStyles, useColorTokens } from '../theme/color-tokens';
|
|
53
52
|
import { Text } from '../typography';
|
|
54
53
|
import { stepLineHeight, WEB_TRANSITION_COLORS } from './web-css';
|
|
55
54
|
import { SupportCopy } from './SupportCopy';
|
|
@@ -114,7 +113,7 @@ export function MultiAgentChatBase(props: MultiAgentChatProps) {
|
|
|
114
113
|
AgentCreator,
|
|
115
114
|
Dropdown: D,
|
|
116
115
|
} = useChatComponents();
|
|
117
|
-
const
|
|
116
|
+
const tokens = useColorTokens();
|
|
118
117
|
const tokenStyles = useTokenStyles();
|
|
119
118
|
const directionProps = useDirectionProps();
|
|
120
119
|
const flights = useAvatarFlights();
|
|
@@ -628,7 +627,7 @@ export function MultiAgentChatBase(props: MultiAgentChatProps) {
|
|
|
628
627
|
style={{
|
|
629
628
|
maxWidth: 420,
|
|
630
629
|
textAlign: 'center',
|
|
631
|
-
color:
|
|
630
|
+
color: tokens.mutedForeground,
|
|
632
631
|
}}
|
|
633
632
|
>
|
|
634
633
|
{participants.length > 1
|
|
@@ -757,7 +756,7 @@ export function MultiAgentChatBase(props: MultiAgentChatProps) {
|
|
|
757
756
|
>
|
|
758
757
|
<View pointerEvents="none" style={tokenStyles.notice}>
|
|
759
758
|
<View style={styles.noticeRow}>
|
|
760
|
-
<RiCheckLine width={16} height={16} fill={
|
|
759
|
+
<RiCheckLine width={16} height={16} fill={tokens.mutedForeground} />
|
|
761
760
|
{/* A confirmation: a polite `status` (RN's Text drops `aria-live`
|
|
762
761
|
on native; the role is what reaches it). */}
|
|
763
762
|
<Text role="status" style={tokenStyles.noticeText}>
|
|
@@ -865,10 +864,8 @@ export function MultiAgentChatBase(props: MultiAgentChatProps) {
|
|
|
865
864
|
borderRadius: 999,
|
|
866
865
|
borderStyle: 'solid',
|
|
867
866
|
borderWidth: 1,
|
|
868
|
-
borderColor: picked ?
|
|
869
|
-
backgroundColor: picked
|
|
870
|
-
? colors.backgroundTertiary
|
|
871
|
-
: colors.backgroundSecondary,
|
|
867
|
+
borderColor: picked ? tokens.mutedForeground : 'transparent',
|
|
868
|
+
backgroundColor: picked ? tokens.popover : tokens.surface,
|
|
872
869
|
boxShadow: 'none',
|
|
873
870
|
paddingInline: 8,
|
|
874
871
|
paddingStart: 8,
|
|
@@ -11,7 +11,7 @@ import { AvatarSnapshotObserver } from '../agent-avatar/context';
|
|
|
11
11
|
import type { AvatarFlights } from '../avatar-flight';
|
|
12
12
|
import { RiGroupLine } from '../icons/remix/RiGroupLine';
|
|
13
13
|
import { useMessages, formatMessage } from '../locale/messages';
|
|
14
|
-
import {
|
|
14
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
15
15
|
import { Text } from '../typography';
|
|
16
16
|
import { agentCharacter, type Agent } from './data';
|
|
17
17
|
import { MULTI_AGENT_CHAT_MESSAGES } from './messages';
|
|
@@ -105,7 +105,7 @@ export function SelectedAgentPreview({
|
|
|
105
105
|
caption?: boolean;
|
|
106
106
|
}) {
|
|
107
107
|
const { messages } = useMessages(MULTI_AGENT_CHAT_MESSAGES);
|
|
108
|
-
const
|
|
108
|
+
const tokens = useColorTokens();
|
|
109
109
|
return (
|
|
110
110
|
<View style={[styles.preview, { paddingBottom: caption ? 20 : 0 }]}>
|
|
111
111
|
<View
|
|
@@ -119,7 +119,7 @@ export function SelectedAgentPreview({
|
|
|
119
119
|
>
|
|
120
120
|
{!agents.length && (
|
|
121
121
|
<View style={styles.empty}>
|
|
122
|
-
<RiGroupLine size="3xl" fill={
|
|
122
|
+
<RiGroupLine size="3xl" fill={tokens.faintForeground} />
|
|
123
123
|
</View>
|
|
124
124
|
)}
|
|
125
125
|
{agents.map((agent, index) => (
|
|
@@ -134,7 +134,7 @@ export function SelectedAgentPreview({
|
|
|
134
134
|
))}
|
|
135
135
|
</View>
|
|
136
136
|
{caption && (
|
|
137
|
-
<Text variant="body-regular" style={{ color:
|
|
137
|
+
<Text variant="body-regular" style={{ color: tokens.mutedForeground }}>
|
|
138
138
|
{messages.chooseWhoSJoiningTheConversation}
|
|
139
139
|
</Text>
|
|
140
140
|
)}
|
|
@@ -6,7 +6,7 @@ import { IconCircle } from '../icon-circle';
|
|
|
6
6
|
import { RiNotification3Line } from '../icons/remix/RiNotification3Line';
|
|
7
7
|
import { useMessages } from '../locale/messages';
|
|
8
8
|
import type { SurfaceControls } from '../surfaces';
|
|
9
|
-
import {
|
|
9
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
10
10
|
import { Text } from '../typography';
|
|
11
11
|
import { NOTIFICATIONS_MESSAGES } from './messages';
|
|
12
12
|
import type { NotificationPermissionCopy, NotificationPermissionAdapter } from './types';
|
|
@@ -40,7 +40,7 @@ export function NotificationPermissionSheet({
|
|
|
40
40
|
laterLabel,
|
|
41
41
|
}: NotificationPermissionSheetProps) {
|
|
42
42
|
const { messages } = useMessages(NOTIFICATIONS_MESSAGES);
|
|
43
|
-
const
|
|
43
|
+
const tokens = useColorTokens();
|
|
44
44
|
const [requesting, setRequesting] = useState(false);
|
|
45
45
|
|
|
46
46
|
const enable = async () => {
|
|
@@ -65,7 +65,7 @@ export function NotificationPermissionSheet({
|
|
|
65
65
|
<Text variant="title-3-semibold" accessibilityRole="header" style={styles.centered}>
|
|
66
66
|
{title ?? messages.permissionTitle}
|
|
67
67
|
</Text>
|
|
68
|
-
<Text variant="body-regular" style={[styles.centered, { color:
|
|
68
|
+
<Text variant="body-regular" style={[styles.centered, { color: tokens.mutedForeground }]}>
|
|
69
69
|
{body ?? messages.permissionBody}
|
|
70
70
|
</Text>
|
|
71
71
|
</View>
|
|
@@ -18,7 +18,7 @@ import { useMessages } from '../locale/messages';
|
|
|
18
18
|
import { NOTIFICATION_CENTER_MESSAGES } from '../notification-center/messages';
|
|
19
19
|
import type { NotificationCenterStatus } from '../notification-center/types';
|
|
20
20
|
import { Switch } from '../switch';
|
|
21
|
-
import {
|
|
21
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
22
22
|
import { Text } from '../typography';
|
|
23
23
|
import { NOTIFICATIONS_MESSAGES } from './messages';
|
|
24
24
|
import type {
|
|
@@ -41,7 +41,7 @@ function NotificationRow({
|
|
|
41
41
|
item: NotificationsScreenItem;
|
|
42
42
|
onPress?: (id: string) => void;
|
|
43
43
|
}) {
|
|
44
|
-
const
|
|
44
|
+
const tokens = useColorTokens();
|
|
45
45
|
const { messages } = useMessages(NOTIFICATION_CENTER_MESSAGES);
|
|
46
46
|
const name =
|
|
47
47
|
item.accessibilityLabel ??
|
|
@@ -75,13 +75,13 @@ function NotificationRow({
|
|
|
75
75
|
{item.title}
|
|
76
76
|
</Text>
|
|
77
77
|
{item.timestamp ? (
|
|
78
|
-
<Text variant="caption-1-medium" style={{ color:
|
|
78
|
+
<Text variant="caption-1-medium" style={{ color: tokens.faintForeground }}>
|
|
79
79
|
{item.timestamp}
|
|
80
80
|
</Text>
|
|
81
81
|
) : null}
|
|
82
82
|
</View>
|
|
83
83
|
{item.description ? (
|
|
84
|
-
<Text variant="body-regular" style={{ color:
|
|
84
|
+
<Text variant="body-regular" style={{ color: tokens.mutedForeground }} numberOfLines={3}>
|
|
85
85
|
{item.description}
|
|
86
86
|
</Text>
|
|
87
87
|
) : null}
|
|
@@ -89,7 +89,7 @@ function NotificationRow({
|
|
|
89
89
|
{item.unread ? (
|
|
90
90
|
<View
|
|
91
91
|
testID={`notification-${item.id}-unread`}
|
|
92
|
-
style={[styles.dot, { backgroundColor:
|
|
92
|
+
style={[styles.dot, { backgroundColor: tokens.primary }]}
|
|
93
93
|
/>
|
|
94
94
|
) : null}
|
|
95
95
|
</Pressable>
|
|
@@ -97,7 +97,7 @@ function NotificationRow({
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
function PushRow({ push }: { push: NotificationsScreenPush }) {
|
|
100
|
-
const
|
|
100
|
+
const tokens = useColorTokens();
|
|
101
101
|
const { messages } = useMessages(NOTIFICATIONS_MESSAGES);
|
|
102
102
|
const [busy, setBusy] = useState(false);
|
|
103
103
|
const change = async (next: boolean) => {
|
|
@@ -112,7 +112,7 @@ function PushRow({ push }: { push: NotificationsScreenPush }) {
|
|
|
112
112
|
<View style={styles.pushRow}>
|
|
113
113
|
<View style={styles.body}>
|
|
114
114
|
<Text variant="body-medium">{messages.pushTitle}</Text>
|
|
115
|
-
<Text variant="body-regular" style={{ color:
|
|
115
|
+
<Text variant="body-regular" style={{ color: tokens.mutedForeground }}>
|
|
116
116
|
{push.blocked ? messages.pushBlocked : messages.pushDescription}
|
|
117
117
|
</Text>
|
|
118
118
|
</View>
|
|
@@ -169,7 +169,7 @@ export const NotificationsScreen = memo(function NotificationsScreen({
|
|
|
169
169
|
style,
|
|
170
170
|
testID,
|
|
171
171
|
}: NotificationsScreenProps) {
|
|
172
|
-
const
|
|
172
|
+
const tokens = useColorTokens();
|
|
173
173
|
const { messages } = useMessages(NOTIFICATIONS_MESSAGES);
|
|
174
174
|
const { messages: center } = useMessages(NOTIFICATION_CENTER_MESSAGES);
|
|
175
175
|
const { messages: common } = useMessages(COMMON_MESSAGES);
|
|
@@ -234,7 +234,7 @@ export const NotificationsScreen = memo(function NotificationsScreen({
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
return (
|
|
237
|
-
<View style={[styles.root, { backgroundColor:
|
|
237
|
+
<View style={[styles.root, { backgroundColor: tokens.background }, style]} testID={testID}>
|
|
238
238
|
<VirtualList
|
|
239
239
|
data={items}
|
|
240
240
|
renderItem={renderItem}
|
|
@@ -27,14 +27,21 @@
|
|
|
27
27
|
* a `flex: 1` view — the content it wraps already fills the root there — and it
|
|
28
28
|
* is never collapsed, because flattening a layout-only view would drop the
|
|
29
29
|
* accessibility prop the moment it is needed.
|
|
30
|
+
*
|
|
31
|
+
* The covered content's lens controls are drawn in their place too, under the
|
|
32
|
+
* overlay (`LensCover`): the window overlay draws a resting lens above
|
|
33
|
+
* everything, and drew Mention's Home header over the settings modal.
|
|
30
34
|
*/
|
|
31
35
|
import { Platform, StyleSheet, View } from 'react-native';
|
|
32
36
|
|
|
37
|
+
import { LensCover } from '../floating/lens/lens-cover';
|
|
38
|
+
import { useOptionalSurfaceFill } from '../styles/surface-levels';
|
|
33
39
|
import type { OverlayInertBoundaryProps } from './types';
|
|
34
40
|
import { useModalOverlayActive } from './use-modal-overlay-active';
|
|
35
41
|
|
|
36
42
|
export function OverlayInertBoundary({ children, style, testID }: OverlayInertBoundaryProps) {
|
|
37
43
|
const active = useModalOverlayActive();
|
|
44
|
+
const fill = useOptionalSurfaceFill();
|
|
38
45
|
|
|
39
46
|
if (Platform.OS === 'web') {
|
|
40
47
|
return (
|
|
@@ -57,7 +64,9 @@ export function OverlayInertBoundary({ children, style, testID }: OverlayInertBo
|
|
|
57
64
|
importantForAccessibility={active ? 'no-hide-descendants' : 'auto'}
|
|
58
65
|
accessibilityElementsHidden={active}
|
|
59
66
|
>
|
|
60
|
-
{
|
|
67
|
+
<LensCover covered={active} fill={fill}>
|
|
68
|
+
{children}
|
|
69
|
+
</LensCover>
|
|
61
70
|
</View>
|
|
62
71
|
);
|
|
63
72
|
}
|