@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
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from 'react-native';
|
|
12
12
|
import { useWindowWidthClass } from '../hooks/use-width-class';
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
15
15
|
import { DISPLAY_FACE_FAMILIES, withDisplayFaceCut } from '../fonts/display-face';
|
|
16
16
|
import { fontFamilies } from '../fonts/tokens';
|
|
17
17
|
import { BREAKPOINTS } from '../styles/breakpoints';
|
|
@@ -96,7 +96,7 @@ const DESKTOP_DEFAULT_TEXT_TYPOGRAPHY: TextStyle = {
|
|
|
96
96
|
* variants). A caller's `style` overrides the defaults.
|
|
97
97
|
*/
|
|
98
98
|
const TextComponent = function Text({ children, style, variant, ...rest }: TextProps) {
|
|
99
|
-
const
|
|
99
|
+
const tokens = useColorTokens();
|
|
100
100
|
const { systemFamily, desktop } = useTypographyScope();
|
|
101
101
|
|
|
102
102
|
const merged: StyleProp<TextStyle> = [
|
|
@@ -106,7 +106,7 @@ const TextComponent = function Text({ children, style, variant, ...rest }: TextP
|
|
|
106
106
|
: desktop
|
|
107
107
|
? DESKTOP_DEFAULT_TEXT_TYPOGRAPHY
|
|
108
108
|
: DEFAULT_TEXT_TYPOGRAPHY),
|
|
109
|
-
color:
|
|
109
|
+
color: tokens.foreground,
|
|
110
110
|
},
|
|
111
111
|
(rest.accessibilityRole === 'header' || rest.role === 'heading') && !desktop
|
|
112
112
|
? DISPLAY_FONT_FAMILY
|
|
@@ -167,7 +167,7 @@ const H2_RULE: TextStyle = { borderBottomWidth: 1, paddingBottom: 8 };
|
|
|
167
167
|
|
|
168
168
|
function createHeadingElement({ level }: { level: number }): React.FC<TextProps> {
|
|
169
169
|
return function HeadingElement({ style, ...rest }: TextProps) {
|
|
170
|
-
const
|
|
170
|
+
const tokens = useColorTokens();
|
|
171
171
|
const extraProps: Record<string, unknown> =
|
|
172
172
|
Platform.OS === 'web' ? { role: 'heading', 'aria-level': level } : {};
|
|
173
173
|
|
|
@@ -175,7 +175,7 @@ function createHeadingElement({ level }: { level: number }): React.FC<TextProps>
|
|
|
175
175
|
...DISPLAY_FONT_FAMILY,
|
|
176
176
|
...HEADING_SCALE[level],
|
|
177
177
|
...(level === 1 ? H1_ALIGNMENT : null),
|
|
178
|
-
...(level === 2 ? { ...H2_RULE, borderBottomColor:
|
|
178
|
+
...(level === 2 ? { ...H2_RULE, borderBottomColor: tokens.border } : null),
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
return <Text {...extraProps} {...rest} style={[headingBase, style]} />;
|
|
@@ -256,10 +256,10 @@ const LEAD_TYPOGRAPHY: TextStyle = {
|
|
|
256
256
|
|
|
257
257
|
/** An intro paragraph — larger than body text and set in the secondary colour. */
|
|
258
258
|
export function Lead({ style, ...rest }: TextProps) {
|
|
259
|
-
const
|
|
259
|
+
const tokens = useColorTokens();
|
|
260
260
|
const defaults = {
|
|
261
261
|
...LEAD_TYPOGRAPHY,
|
|
262
|
-
color:
|
|
262
|
+
color: tokens.mutedForeground,
|
|
263
263
|
};
|
|
264
264
|
return <Text {...rest} style={[defaults, style]} />;
|
|
265
265
|
}
|
|
@@ -299,10 +299,10 @@ const MUTED_TYPOGRAPHY: TextStyle = {
|
|
|
299
299
|
|
|
300
300
|
/** De-emphasised supporting text. */
|
|
301
301
|
export function Muted({ style, ...rest }: TextProps) {
|
|
302
|
-
const
|
|
302
|
+
const tokens = useColorTokens();
|
|
303
303
|
const defaults = {
|
|
304
304
|
...MUTED_TYPOGRAPHY,
|
|
305
|
-
color:
|
|
305
|
+
color: tokens.mutedForeground,
|
|
306
306
|
};
|
|
307
307
|
return <Text {...rest} style={[defaults, style]} />;
|
|
308
308
|
}
|
|
@@ -317,7 +317,7 @@ Muted.displayName = 'Muted';
|
|
|
317
317
|
* the container, `textStyle` the quotation.
|
|
318
318
|
*/
|
|
319
319
|
export function Blockquote({ children, style, textStyle, testID }: BlockquoteProps) {
|
|
320
|
-
const
|
|
320
|
+
const tokens = useColorTokens();
|
|
321
321
|
const width = useWindowWidthClass(SM_WIDTH);
|
|
322
322
|
const wide = width >= BREAKPOINTS.sm;
|
|
323
323
|
const extraProps: Record<string, unknown> = Platform.OS === 'web' ? { role: 'blockquote' } : {};
|
|
@@ -331,11 +331,11 @@ export function Blockquote({ children, style, textStyle, testID }: BlockquotePro
|
|
|
331
331
|
// `mt-4 sm:mt-6` and `pl-3 sm:pl-6` — a leading margin only, never a
|
|
332
332
|
// trailing one, so a quotation sits against the paragraph it follows.
|
|
333
333
|
{ marginTop: wide ? space._2xl : space.lg, paddingLeft: wide ? space._2xl : space.md },
|
|
334
|
-
{ borderLeftColor:
|
|
334
|
+
{ borderLeftColor: tokens.border },
|
|
335
335
|
style,
|
|
336
336
|
]}
|
|
337
337
|
>
|
|
338
|
-
<Text style={[styles.blockquoteText, { color:
|
|
338
|
+
<Text style={[styles.blockquoteText, { color: tokens.mutedForeground }, textStyle]}>
|
|
339
339
|
{children}
|
|
340
340
|
</Text>
|
|
341
341
|
</View>
|
|
@@ -48,8 +48,7 @@ import { useMessages } from '../locale/messages';
|
|
|
48
48
|
import { adoptStyleSheet } from '../styles/adopt-style-sheet';
|
|
49
49
|
import { BREAKPOINTS } from '../styles/breakpoints';
|
|
50
50
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
51
|
-
import type
|
|
52
|
-
import { useTheme } from '../theme/use-theme';
|
|
51
|
+
import { type ColorTokens, useColorTokens } from '../theme/color-tokens';
|
|
53
52
|
import { Text } from '../typography';
|
|
54
53
|
import { TYPE_SCALE } from '../typography/scale';
|
|
55
54
|
import { WEB_SEARCH_MESSAGES } from './messages';
|
|
@@ -104,21 +103,20 @@ export interface WebSearchPalette {
|
|
|
104
103
|
accent: string;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
/**
|
|
108
|
-
export function resolveWebSearchPalette(
|
|
109
|
-
const c = theme.colors;
|
|
106
|
+
/** The colour tokens it paints: surfaces, foregrounds and focus roles. */
|
|
107
|
+
export function resolveWebSearchPalette(t: ColorTokens): WebSearchPalette {
|
|
110
108
|
return {
|
|
111
|
-
textPrimary:
|
|
112
|
-
textSecondary:
|
|
113
|
-
textTertiary:
|
|
114
|
-
iconSecondary:
|
|
115
|
-
iconQuaternary:
|
|
116
|
-
ring:
|
|
117
|
-
accent:
|
|
118
|
-
markBorder:
|
|
119
|
-
markSurface:
|
|
120
|
-
markDot:
|
|
121
|
-
rowHover:
|
|
109
|
+
textPrimary: t.foreground,
|
|
110
|
+
textSecondary: t.mutedForeground,
|
|
111
|
+
textTertiary: t.faintForeground,
|
|
112
|
+
iconSecondary: t.mutedForeground,
|
|
113
|
+
iconQuaternary: t.faintForeground,
|
|
114
|
+
ring: t.primary,
|
|
115
|
+
accent: t.primary,
|
|
116
|
+
markBorder: t.input,
|
|
117
|
+
markSurface: t.card,
|
|
118
|
+
markDot: t.faintForeground,
|
|
119
|
+
rowHover: t.surface,
|
|
122
120
|
};
|
|
123
121
|
}
|
|
124
122
|
|
|
@@ -963,8 +961,8 @@ function WebSearchComponent({
|
|
|
963
961
|
const { messages } = useMessages(WEB_SEARCH_MESSAGES);
|
|
964
962
|
const common = useCommonMessages();
|
|
965
963
|
const working = workingProp ?? common.working;
|
|
966
|
-
const
|
|
967
|
-
const palette = useMemo(() => resolveWebSearchPalette(
|
|
964
|
+
const tokens = useColorTokens();
|
|
965
|
+
const palette = useMemo(() => resolveWebSearchPalette(tokens), [tokens]);
|
|
968
966
|
const systemReduce = useAgentLogMotion();
|
|
969
967
|
const reduce = reduceProp ?? systemReduce;
|
|
970
968
|
const sourcesLabel = labels?.sources ?? messages.sources;
|
|
@@ -6,7 +6,7 @@ import { adoptStyleSheet } from '../styles/adopt-style-sheet';
|
|
|
6
6
|
import { dataHook } from '../styles/data-hook';
|
|
7
7
|
|
|
8
8
|
import type { WebCssStyle } from '../styles/web-view-style';
|
|
9
|
-
import {
|
|
9
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
10
10
|
import { Text } from '../typography';
|
|
11
11
|
import type { WizardFooterProps } from './types';
|
|
12
12
|
import { useCommonMessages } from '../locale/common-messages';
|
|
@@ -53,7 +53,7 @@ export function createWizardFooter({ Button }: { Button: typeof import('../butto
|
|
|
53
53
|
const common = useCommonMessages();
|
|
54
54
|
const backLabel = backLabelProp ?? common.back;
|
|
55
55
|
const nextLabel = nextLabelProp ?? common.next;
|
|
56
|
-
const
|
|
56
|
+
const tokens = useColorTokens();
|
|
57
57
|
const [narrow, setNarrow] = useState(false);
|
|
58
58
|
useInsertionEffect(() => {
|
|
59
59
|
if (IS_WEB) adoptStyleSheet('bloom-wizard-footer-layout', WIZARD_FOOTER_CSS);
|
|
@@ -70,8 +70,8 @@ export function createWizardFooter({ Button }: { Button: typeof import('../butto
|
|
|
70
70
|
|
|
71
71
|
const frameStyle: WebCssStyle = {
|
|
72
72
|
borderTopWidth: 1,
|
|
73
|
-
borderTopColor:
|
|
74
|
-
backgroundColor:
|
|
73
|
+
borderTopColor: tokens.border,
|
|
74
|
+
backgroundColor: tokens.background,
|
|
75
75
|
...(IS_WEB ? { containerType: 'inline-size', containerName: 'bloom-wizard-footer' } : {}),
|
|
76
76
|
};
|
|
77
77
|
|
|
@@ -123,7 +123,7 @@ export function createWizardFooter({ Button }: { Button: typeof import('../butto
|
|
|
123
123
|
variant="caption-1-regular"
|
|
124
124
|
numberOfLines={1}
|
|
125
125
|
accessibilityLiveRegion="polite"
|
|
126
|
-
style={{ flexShrink: 1, color:
|
|
126
|
+
style={{ flexShrink: 1, color: tokens.mutedForeground, textAlign: 'center' }}
|
|
127
127
|
>
|
|
128
128
|
{status}
|
|
129
129
|
</Text>
|
|
@@ -2,7 +2,7 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { View } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { Meter } from '../stat-bar';
|
|
5
|
-
import {
|
|
5
|
+
import { useColorTokens } from '../theme/color-tokens';
|
|
6
6
|
import { Text } from '../typography';
|
|
7
7
|
import type { WizardProgressProps } from './types';
|
|
8
8
|
|
|
@@ -59,7 +59,7 @@ function WizardProgressComponent({
|
|
|
59
59
|
style,
|
|
60
60
|
testID,
|
|
61
61
|
}: WizardProgressProps) {
|
|
62
|
-
const
|
|
62
|
+
const tokens = useColorTokens();
|
|
63
63
|
|
|
64
64
|
const total = steps.length;
|
|
65
65
|
const index = Math.min(Math.max(0, current), Math.max(0, total - 1));
|
|
@@ -103,7 +103,7 @@ function WizardProgressComponent({
|
|
|
103
103
|
minHeight: 20,
|
|
104
104
|
}}
|
|
105
105
|
>
|
|
106
|
-
<Text variant="caption-1-medium" style={{ color:
|
|
106
|
+
<Text variant="caption-1-medium" style={{ color: tokens.mutedForeground }}>
|
|
107
107
|
{countLine}
|
|
108
108
|
</Text>
|
|
109
109
|
{action ?? null}
|
|
@@ -114,12 +114,12 @@ function WizardProgressComponent({
|
|
|
114
114
|
variant="title-2-semibold"
|
|
115
115
|
role="heading"
|
|
116
116
|
aria-level={headingLevel}
|
|
117
|
-
style={{ color:
|
|
117
|
+
style={{ color: tokens.foreground }}
|
|
118
118
|
>
|
|
119
119
|
{step.title}
|
|
120
120
|
</Text>
|
|
121
121
|
{step.description ? (
|
|
122
|
-
<Text variant="body-regular" style={{ color:
|
|
122
|
+
<Text variant="body-regular" style={{ color: tokens.mutedForeground }}>
|
|
123
123
|
{step.description}
|
|
124
124
|
</Text>
|
|
125
125
|
) : null}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.LensButtonHost = LensButtonHost;
|
|
7
|
-
exports.splitLensStyle = splitLensStyle;
|
|
8
|
-
var _compilerRuntime = require("react/compiler-runtime");
|
|
9
|
-
var _react = require("react");
|
|
10
|
-
var _reactNative = require("react-native");
|
|
11
|
-
var _useTheme = require("../../theme/use-theme.js");
|
|
12
|
-
var _lensFrost = require("./lens-frost.js");
|
|
13
|
-
var _lensTint = require("./lens-tint.js");
|
|
14
|
-
var _lensMaterial = require("./lens-material.js");
|
|
15
|
-
var _nativeLens = require("./native-lens.js");
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
/**
|
|
18
|
-
* The native lens material for a control: the lens base (see `@oxy.so/bloom-lens`), the same
|
|
19
|
-
* lens a menu grows out of. It draws the fill (the lens, tinted), springs under the finger and runs on the
|
|
20
|
-
* UI thread; the control inside only draws its content and handles the press.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/** The style keys that place a control among its siblings: they belong to the lens host. */const PLACEMENT_KEYS = ['position', 'top', 'right', 'bottom', 'left', 'start', 'end', 'zIndex', 'alignSelf', 'flex', 'flexGrow', 'flexShrink', 'flexBasis', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginHorizontal', 'marginVertical', 'marginStart', 'marginEnd'];
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Splits a control's style in two: where it sits (the host's) and what it looks like and how big
|
|
27
|
-
* it is (the control's). Size stays with both so the host and the control are the same box.
|
|
28
|
-
*/
|
|
29
|
-
function splitLensStyle(style) {
|
|
30
|
-
const flat = _reactNative.StyleSheet.flatten(style) ?? {};
|
|
31
|
-
const {
|
|
32
|
-
position,
|
|
33
|
-
top,
|
|
34
|
-
right,
|
|
35
|
-
bottom,
|
|
36
|
-
left,
|
|
37
|
-
start,
|
|
38
|
-
end,
|
|
39
|
-
zIndex,
|
|
40
|
-
alignSelf
|
|
41
|
-
} = flat;
|
|
42
|
-
const {
|
|
43
|
-
flex,
|
|
44
|
-
flexGrow,
|
|
45
|
-
flexShrink,
|
|
46
|
-
flexBasis
|
|
47
|
-
} = flat;
|
|
48
|
-
const {
|
|
49
|
-
margin,
|
|
50
|
-
marginTop,
|
|
51
|
-
marginRight,
|
|
52
|
-
marginBottom,
|
|
53
|
-
marginLeft
|
|
54
|
-
} = flat;
|
|
55
|
-
const {
|
|
56
|
-
marginHorizontal,
|
|
57
|
-
marginVertical,
|
|
58
|
-
marginStart,
|
|
59
|
-
marginEnd
|
|
60
|
-
} = flat;
|
|
61
|
-
const {
|
|
62
|
-
width,
|
|
63
|
-
height,
|
|
64
|
-
minWidth,
|
|
65
|
-
minHeight,
|
|
66
|
-
maxWidth,
|
|
67
|
-
maxHeight
|
|
68
|
-
} = flat;
|
|
69
|
-
const host = {
|
|
70
|
-
position,
|
|
71
|
-
top,
|
|
72
|
-
right,
|
|
73
|
-
bottom,
|
|
74
|
-
left,
|
|
75
|
-
start,
|
|
76
|
-
end,
|
|
77
|
-
zIndex,
|
|
78
|
-
alignSelf,
|
|
79
|
-
flex,
|
|
80
|
-
flexGrow,
|
|
81
|
-
flexShrink,
|
|
82
|
-
flexBasis,
|
|
83
|
-
margin,
|
|
84
|
-
marginTop,
|
|
85
|
-
marginRight,
|
|
86
|
-
marginBottom,
|
|
87
|
-
marginLeft,
|
|
88
|
-
marginHorizontal,
|
|
89
|
-
marginVertical,
|
|
90
|
-
marginStart,
|
|
91
|
-
marginEnd,
|
|
92
|
-
// Size stays with both, so the host and the control are the same box.
|
|
93
|
-
width,
|
|
94
|
-
height,
|
|
95
|
-
minWidth,
|
|
96
|
-
minHeight,
|
|
97
|
-
maxWidth,
|
|
98
|
-
maxHeight
|
|
99
|
-
};
|
|
100
|
-
const control = {
|
|
101
|
-
...flat
|
|
102
|
-
};
|
|
103
|
-
for (const key of PLACEMENT_KEYS) delete control[key];
|
|
104
|
-
return {
|
|
105
|
-
host: definedOnly(host),
|
|
106
|
-
control
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function definedOnly(style) {
|
|
110
|
-
return Object.fromEntries(Object.entries(style).filter(([, value]) => value !== undefined));
|
|
111
|
-
}
|
|
112
|
-
function LensButtonHost(t0) {
|
|
113
|
-
const $ = (0, _compilerRuntime.c)(21);
|
|
114
|
-
const {
|
|
115
|
-
tint,
|
|
116
|
-
radius,
|
|
117
|
-
jelly,
|
|
118
|
-
restBackdrop,
|
|
119
|
-
style,
|
|
120
|
-
children
|
|
121
|
-
} = t0;
|
|
122
|
-
const native = (0, _lensMaterial.useLensAvailable)() ? (0, _nativeLens.getNativeLens)() : null;
|
|
123
|
-
const dark = (0, _useTheme.useTheme)().isDark;
|
|
124
|
-
let t1;
|
|
125
|
-
if ($[0] !== tint) {
|
|
126
|
-
t1 = tint ? {
|
|
127
|
-
tintColor: tint,
|
|
128
|
-
tintOpacity: _lensTint.LENS_FILL_TINT
|
|
129
|
-
} : null;
|
|
130
|
-
$[0] = tint;
|
|
131
|
-
$[1] = t1;
|
|
132
|
-
} else {
|
|
133
|
-
t1 = $[1];
|
|
134
|
-
}
|
|
135
|
-
let t2;
|
|
136
|
-
if ($[2] !== jelly) {
|
|
137
|
-
t2 = jelly === undefined ? null : {
|
|
138
|
-
jelly
|
|
139
|
-
};
|
|
140
|
-
$[2] = jelly;
|
|
141
|
-
$[3] = t2;
|
|
142
|
-
} else {
|
|
143
|
-
t2 = $[3];
|
|
144
|
-
}
|
|
145
|
-
let t3;
|
|
146
|
-
if ($[4] !== t1 || $[5] !== t2) {
|
|
147
|
-
t3 = {
|
|
148
|
-
blur: _lensFrost.LENS_FROST.control,
|
|
149
|
-
...t1,
|
|
150
|
-
...t2
|
|
151
|
-
};
|
|
152
|
-
$[4] = t1;
|
|
153
|
-
$[5] = t2;
|
|
154
|
-
$[6] = t3;
|
|
155
|
-
} else {
|
|
156
|
-
t3 = $[6];
|
|
157
|
-
}
|
|
158
|
-
const config = t3;
|
|
159
|
-
if (!native) {
|
|
160
|
-
let t4;
|
|
161
|
-
if ($[7] !== children) {
|
|
162
|
-
t4 = _react.Children.only(children);
|
|
163
|
-
$[7] = children;
|
|
164
|
-
$[8] = t4;
|
|
165
|
-
} else {
|
|
166
|
-
t4 = $[8];
|
|
167
|
-
}
|
|
168
|
-
let t5;
|
|
169
|
-
if ($[9] !== t4) {
|
|
170
|
-
t5 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
171
|
-
children: t4
|
|
172
|
-
});
|
|
173
|
-
$[9] = t4;
|
|
174
|
-
$[10] = t5;
|
|
175
|
-
} else {
|
|
176
|
-
t5 = $[10];
|
|
177
|
-
}
|
|
178
|
-
return t5;
|
|
179
|
-
}
|
|
180
|
-
const {
|
|
181
|
-
LensBase
|
|
182
|
-
} = native;
|
|
183
|
-
const t4 = dark ? "dark" : "light";
|
|
184
|
-
let t5;
|
|
185
|
-
if ($[11] !== style) {
|
|
186
|
-
t5 = [HOST, style];
|
|
187
|
-
$[11] = style;
|
|
188
|
-
$[12] = t5;
|
|
189
|
-
} else {
|
|
190
|
-
t5 = $[12];
|
|
191
|
-
}
|
|
192
|
-
let t6;
|
|
193
|
-
if ($[13] !== LensBase || $[14] !== children || $[15] !== config || $[16] !== radius || $[17] !== restBackdrop || $[18] !== t4 || $[19] !== t5) {
|
|
194
|
-
t6 = /*#__PURE__*/(0, _jsxRuntime.jsx)(LensBase, {
|
|
195
|
-
colorScheme: t4,
|
|
196
|
-
cornerRadius: radius,
|
|
197
|
-
config: config,
|
|
198
|
-
restBackdrop: restBackdrop,
|
|
199
|
-
style: t5,
|
|
200
|
-
children: children
|
|
201
|
-
});
|
|
202
|
-
$[13] = LensBase;
|
|
203
|
-
$[14] = children;
|
|
204
|
-
$[15] = config;
|
|
205
|
-
$[16] = radius;
|
|
206
|
-
$[17] = restBackdrop;
|
|
207
|
-
$[18] = t4;
|
|
208
|
-
$[19] = t5;
|
|
209
|
-
$[20] = t6;
|
|
210
|
-
} else {
|
|
211
|
-
t6 = $[20];
|
|
212
|
-
}
|
|
213
|
-
return t6;
|
|
214
|
-
}
|
|
215
|
-
const HOST = {
|
|
216
|
-
alignSelf: 'flex-start'
|
|
217
|
-
};
|
|
218
|
-
//# sourceMappingURL=lens-button-host.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_useTheme","_lensFrost","_lensTint","_lensMaterial","_nativeLens","_jsxRuntime","PLACEMENT_KEYS","splitLensStyle","style","flat","StyleSheet","flatten","position","top","right","bottom","left","start","end","zIndex","alignSelf","flex","flexGrow","flexShrink","flexBasis","margin","marginTop","marginRight","marginBottom","marginLeft","marginHorizontal","marginVertical","marginStart","marginEnd","width","height","minWidth","minHeight","maxWidth","maxHeight","host","control","key","definedOnly","Object","fromEntries","entries","filter","value","undefined","LensButtonHost","t0","$","_compilerRuntime","c","tint","radius","jelly","restBackdrop","children","native","useLensAvailable","getNativeLens","dark","useTheme","isDark","t1","tintColor","tintOpacity","LENS_FILL_TINT","t2","t3","blur","LENS_FROST","config","t4","Children","only","t5","jsx","Fragment","LensBase","HOST","t6","colorScheme"],"sourceRoot":"../../../../src","sources":["floating/lens/lens-button-host.tsx"],"mappings":";;;;;;;;AAKA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAA8C,IAAAO,WAAA,GAAAP,OAAA;AAZ9C;AACA;AACA;AACA;AACA;;AAUA,4FACA,MAAMQ,cAAc,GAAG,CACrB,UAAU,EACV,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,UAAU,EACV,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,CACH;;AAEV;AACA;AACA;AACA;AACO,SAASC,cAAcA,CAACC,KAA2B,EAGxD;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,EAACE,QAAQ;MACMG,WAAuB,EAAvBT,EAAuB;MACtBnB,YAAM,EAANA,MAAM;MACZkB,MAAM,EAANA,MAAM;MACAhB,YAAY,EAAZA,YAAY;MACnBlD,KAAa,EAAbsE,EAAa;MAAAnB,QAAA,EAEnBA;IAAQ,CACD,CAAC;IAAAP,CAAA,OAAA6B,QAAA;IAAA7B,CAAA,OAAAO,QAAA;IAAAP,CAAA,OAAAsB,MAAA;IAAAtB,CAAA,OAAAI,MAAA;IAAAJ,CAAA,OAAAM,YAAA;IAAAN,CAAA,OAAAuB,EAAA;IAAAvB,CAAA,OAAA0B,EAAA;IAAA1B,CAAA,OAAA+B,EAAA;EAAA;IAAAA,EAAA,GAAA/B,CAAA;EAAA;EAAA,OARX+B,EAQW;AAAA;AAIf,MAAMD,IAAI,GAAG;EAAE9D,SAAS,EAAE;AAAa,CAAU","ignoreList":[]}
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
/**
|
|
5
|
-
* The native lens material for a control: the lens base (see `@oxy.so/bloom-lens`), the same
|
|
6
|
-
* lens a menu grows out of. It draws the fill (the lens, tinted), springs under the finger and runs on the
|
|
7
|
-
* UI thread; the control inside only draws its content and handles the press.
|
|
8
|
-
*/
|
|
9
|
-
import { Children, useMemo } from 'react';
|
|
10
|
-
import { StyleSheet } from 'react-native';
|
|
11
|
-
import { useTheme } from "../../theme/use-theme.js";
|
|
12
|
-
import { LENS_FROST } from "./lens-frost.js";
|
|
13
|
-
import { LENS_FILL_TINT } from "./lens-tint.js";
|
|
14
|
-
import { useLensAvailable } from "./lens-material.js";
|
|
15
|
-
import { getNativeLens } from "./native-lens.js";
|
|
16
|
-
|
|
17
|
-
/** The style keys that place a control among its siblings: they belong to the lens host. */
|
|
18
|
-
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
const PLACEMENT_KEYS = ['position', 'top', 'right', 'bottom', 'left', 'start', 'end', 'zIndex', 'alignSelf', 'flex', 'flexGrow', 'flexShrink', 'flexBasis', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginHorizontal', 'marginVertical', 'marginStart', 'marginEnd'];
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Splits a control's style in two: where it sits (the host's) and what it looks like and how big
|
|
23
|
-
* it is (the control's). Size stays with both so the host and the control are the same box.
|
|
24
|
-
*/
|
|
25
|
-
export function splitLensStyle(style) {
|
|
26
|
-
const flat = StyleSheet.flatten(style) ?? {};
|
|
27
|
-
const {
|
|
28
|
-
position,
|
|
29
|
-
top,
|
|
30
|
-
right,
|
|
31
|
-
bottom,
|
|
32
|
-
left,
|
|
33
|
-
start,
|
|
34
|
-
end,
|
|
35
|
-
zIndex,
|
|
36
|
-
alignSelf
|
|
37
|
-
} = flat;
|
|
38
|
-
const {
|
|
39
|
-
flex,
|
|
40
|
-
flexGrow,
|
|
41
|
-
flexShrink,
|
|
42
|
-
flexBasis
|
|
43
|
-
} = flat;
|
|
44
|
-
const {
|
|
45
|
-
margin,
|
|
46
|
-
marginTop,
|
|
47
|
-
marginRight,
|
|
48
|
-
marginBottom,
|
|
49
|
-
marginLeft
|
|
50
|
-
} = flat;
|
|
51
|
-
const {
|
|
52
|
-
marginHorizontal,
|
|
53
|
-
marginVertical,
|
|
54
|
-
marginStart,
|
|
55
|
-
marginEnd
|
|
56
|
-
} = flat;
|
|
57
|
-
const {
|
|
58
|
-
width,
|
|
59
|
-
height,
|
|
60
|
-
minWidth,
|
|
61
|
-
minHeight,
|
|
62
|
-
maxWidth,
|
|
63
|
-
maxHeight
|
|
64
|
-
} = flat;
|
|
65
|
-
const host = {
|
|
66
|
-
position,
|
|
67
|
-
top,
|
|
68
|
-
right,
|
|
69
|
-
bottom,
|
|
70
|
-
left,
|
|
71
|
-
start,
|
|
72
|
-
end,
|
|
73
|
-
zIndex,
|
|
74
|
-
alignSelf,
|
|
75
|
-
flex,
|
|
76
|
-
flexGrow,
|
|
77
|
-
flexShrink,
|
|
78
|
-
flexBasis,
|
|
79
|
-
margin,
|
|
80
|
-
marginTop,
|
|
81
|
-
marginRight,
|
|
82
|
-
marginBottom,
|
|
83
|
-
marginLeft,
|
|
84
|
-
marginHorizontal,
|
|
85
|
-
marginVertical,
|
|
86
|
-
marginStart,
|
|
87
|
-
marginEnd,
|
|
88
|
-
// Size stays with both, so the host and the control are the same box.
|
|
89
|
-
width,
|
|
90
|
-
height,
|
|
91
|
-
minWidth,
|
|
92
|
-
minHeight,
|
|
93
|
-
maxWidth,
|
|
94
|
-
maxHeight
|
|
95
|
-
};
|
|
96
|
-
const control = {
|
|
97
|
-
...flat
|
|
98
|
-
};
|
|
99
|
-
for (const key of PLACEMENT_KEYS) delete control[key];
|
|
100
|
-
return {
|
|
101
|
-
host: definedOnly(host),
|
|
102
|
-
control
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
function definedOnly(style) {
|
|
106
|
-
return Object.fromEntries(Object.entries(style).filter(([, value]) => value !== undefined));
|
|
107
|
-
}
|
|
108
|
-
export function LensButtonHost(t0) {
|
|
109
|
-
const $ = _c(21);
|
|
110
|
-
const {
|
|
111
|
-
tint,
|
|
112
|
-
radius,
|
|
113
|
-
jelly,
|
|
114
|
-
restBackdrop,
|
|
115
|
-
style,
|
|
116
|
-
children
|
|
117
|
-
} = t0;
|
|
118
|
-
const native = useLensAvailable() ? getNativeLens() : null;
|
|
119
|
-
const dark = useTheme().isDark;
|
|
120
|
-
let t1;
|
|
121
|
-
if ($[0] !== tint) {
|
|
122
|
-
t1 = tint ? {
|
|
123
|
-
tintColor: tint,
|
|
124
|
-
tintOpacity: LENS_FILL_TINT
|
|
125
|
-
} : null;
|
|
126
|
-
$[0] = tint;
|
|
127
|
-
$[1] = t1;
|
|
128
|
-
} else {
|
|
129
|
-
t1 = $[1];
|
|
130
|
-
}
|
|
131
|
-
let t2;
|
|
132
|
-
if ($[2] !== jelly) {
|
|
133
|
-
t2 = jelly === undefined ? null : {
|
|
134
|
-
jelly
|
|
135
|
-
};
|
|
136
|
-
$[2] = jelly;
|
|
137
|
-
$[3] = t2;
|
|
138
|
-
} else {
|
|
139
|
-
t2 = $[3];
|
|
140
|
-
}
|
|
141
|
-
let t3;
|
|
142
|
-
if ($[4] !== t1 || $[5] !== t2) {
|
|
143
|
-
t3 = {
|
|
144
|
-
blur: LENS_FROST.control,
|
|
145
|
-
...t1,
|
|
146
|
-
...t2
|
|
147
|
-
};
|
|
148
|
-
$[4] = t1;
|
|
149
|
-
$[5] = t2;
|
|
150
|
-
$[6] = t3;
|
|
151
|
-
} else {
|
|
152
|
-
t3 = $[6];
|
|
153
|
-
}
|
|
154
|
-
const config = t3;
|
|
155
|
-
if (!native) {
|
|
156
|
-
let t4;
|
|
157
|
-
if ($[7] !== children) {
|
|
158
|
-
t4 = Children.only(children);
|
|
159
|
-
$[7] = children;
|
|
160
|
-
$[8] = t4;
|
|
161
|
-
} else {
|
|
162
|
-
t4 = $[8];
|
|
163
|
-
}
|
|
164
|
-
let t5;
|
|
165
|
-
if ($[9] !== t4) {
|
|
166
|
-
t5 = /*#__PURE__*/_jsx(_Fragment, {
|
|
167
|
-
children: t4
|
|
168
|
-
});
|
|
169
|
-
$[9] = t4;
|
|
170
|
-
$[10] = t5;
|
|
171
|
-
} else {
|
|
172
|
-
t5 = $[10];
|
|
173
|
-
}
|
|
174
|
-
return t5;
|
|
175
|
-
}
|
|
176
|
-
const {
|
|
177
|
-
LensBase
|
|
178
|
-
} = native;
|
|
179
|
-
const t4 = dark ? "dark" : "light";
|
|
180
|
-
let t5;
|
|
181
|
-
if ($[11] !== style) {
|
|
182
|
-
t5 = [HOST, style];
|
|
183
|
-
$[11] = style;
|
|
184
|
-
$[12] = t5;
|
|
185
|
-
} else {
|
|
186
|
-
t5 = $[12];
|
|
187
|
-
}
|
|
188
|
-
let t6;
|
|
189
|
-
if ($[13] !== LensBase || $[14] !== children || $[15] !== config || $[16] !== radius || $[17] !== restBackdrop || $[18] !== t4 || $[19] !== t5) {
|
|
190
|
-
t6 = /*#__PURE__*/_jsx(LensBase, {
|
|
191
|
-
colorScheme: t4,
|
|
192
|
-
cornerRadius: radius,
|
|
193
|
-
config: config,
|
|
194
|
-
restBackdrop: restBackdrop,
|
|
195
|
-
style: t5,
|
|
196
|
-
children: children
|
|
197
|
-
});
|
|
198
|
-
$[13] = LensBase;
|
|
199
|
-
$[14] = children;
|
|
200
|
-
$[15] = config;
|
|
201
|
-
$[16] = radius;
|
|
202
|
-
$[17] = restBackdrop;
|
|
203
|
-
$[18] = t4;
|
|
204
|
-
$[19] = t5;
|
|
205
|
-
$[20] = t6;
|
|
206
|
-
} else {
|
|
207
|
-
t6 = $[20];
|
|
208
|
-
}
|
|
209
|
-
return t6;
|
|
210
|
-
}
|
|
211
|
-
const HOST = {
|
|
212
|
-
alignSelf: 'flex-start'
|
|
213
|
-
};
|
|
214
|
-
//# sourceMappingURL=lens-button-host.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Children","useMemo","StyleSheet","useTheme","LENS_FROST","LENS_FILL_TINT","useLensAvailable","getNativeLens","Fragment","_Fragment","jsx","_jsx","PLACEMENT_KEYS","splitLensStyle","style","flat","flatten","position","top","right","bottom","left","start","end","zIndex","alignSelf","flex","flexGrow","flexShrink","flexBasis","margin","marginTop","marginRight","marginBottom","marginLeft","marginHorizontal","marginVertical","marginStart","marginEnd","width","height","minWidth","minHeight","maxWidth","maxHeight","host","control","key","definedOnly","Object","fromEntries","entries","filter","value","undefined","LensButtonHost","t0","$","_c","tint","radius","jelly","restBackdrop","children","native","dark","isDark","t1","tintColor","tintOpacity","t2","t3","blur","config","t4","only","t5","LensBase","HOST","t6","colorScheme"],"sourceRoot":"../../../../src","sources":["floating/lens/lens-button-host.tsx"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA,SAASA,QAAQ,EAAkBC,OAAO,QAAQ,OAAO;AACzD,SA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