@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-theme.d.ts","sourceRoot":"","sources":["../../../../src/theme/build-theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"build-theme.d.ts","sourceRoot":"","sources":["../../../../src/theme/build-theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAK1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAoLX;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,OAAO,GAAG,MAAM,EAC1B,UAAU,GAAE,OAAe,EAC3B,OAAO,CAAC,EAAE,eAAe,GACxB,KAAK,CAEP;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,OAAO,GAAG,MAAM,EAC1B,UAAU,GAAE,OAAe,EAC3B,OAAO,CAAC,EAAE,eAAe,GACxB,YAAY,CAOd"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The canonical set of Bloom theme token names — WITHOUT the leading `--`.
|
|
3
|
+
*
|
|
4
|
+
* This is the single source of truth for which tokens a preset produces. It
|
|
5
|
+
* covers exactly the keys returned by `getPresetVars(name, mode)` (the base
|
|
6
|
+
* shadcn palette plus the synthesized extended tokens: card/chart/content-area/
|
|
7
|
+
* sidebar-*). The list is intentionally hand-maintained and verified by
|
|
8
|
+
* `token-registry.test.ts` against the live `getPresetVars('oxy', 'light')`
|
|
9
|
+
* output, so any drift in the preset shape fails CI.
|
|
10
|
+
*
|
|
11
|
+
* Order mirrors `getPresetVars`'s insertion order: base tokens first (in the
|
|
12
|
+
* order they appear in the preset data), then the synthesized extended tokens.
|
|
13
|
+
*
|
|
14
|
+
* It imports nothing, so a reader of the names (`useColorTokens`) does not pull
|
|
15
|
+
* in the colour engine; `token-registry` re-exports it.
|
|
16
|
+
*/
|
|
17
|
+
export declare const CANONICAL_TOKENS: readonly ["background", "foreground", "surface", "surface-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "tertiary", "tertiary-foreground", "muted", "muted-foreground", "faint-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "sidebar", "card", "card-foreground", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "chart-6", "chart-7", "chart-8", "chart-9", "chart-1-active", "chart-2-active", "chart-3-active", "chart-4-active", "chart-5-active", "chart-6-active", "chart-7-active", "chart-8-active", "chart-9-active", "content-area", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring", "primary-text", "vivid", "vivid-foreground", "primary-subtle", "secondary-text", "secondary-subtle", "tertiary-text", "tertiary-subtle", "success", "success-foreground", "success-text", "success-subtle", "error", "error-foreground", "error-text", "error-subtle", "warning", "warning-foreground", "warning-text", "warning-subtle", "info", "info-foreground", "info-text", "info-subtle"];
|
|
18
|
+
/** A canonical token name (no leading `--`). */
|
|
19
|
+
export type CanonicalToken = (typeof CANONICAL_TOKENS)[number];
|
|
20
|
+
//# sourceMappingURL=canonical-tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canonical-tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/canonical-tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,gqCAwFnB,CAAC;AAEX,gDAAgD;AAChD,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-policy.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-policy.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAO9D,sFAAsF;AACtF,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,wFAAwF;AACxF,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/C,kFAAkF;AAClF,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AA0KlD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,OAAO,EACf,eAAe,GAAE,OAAe,GAC/B,MAAM,CASR;AA+LD,oEAAoE;AACpE,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAmB5D;AAeD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,UAAU,EACjB,MAAM,GAAE,aAAkB,GACzB,YAAY,
|
|
1
|
+
{"version":3,"file":"color-policy.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-policy.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAO9D,sFAAsF;AACtF,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,wFAAwF;AACxF,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/C,kFAAkF;AAClF,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AA0KlD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,OAAO,EACf,eAAe,GAAE,OAAe,GAC/B,MAAM,CASR;AA+LD,oEAAoE;AACpE,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAmB5D;AAeD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,UAAU,EACjB,MAAM,GAAE,aAAkB,GACzB,YAAY,CA+Nd"}
|
|
@@ -1,5 +1,63 @@
|
|
|
1
|
+
import type { ThemeColors } from '../types';
|
|
1
2
|
import type { ScopePalette } from './context';
|
|
2
3
|
import type { BloomColorScopeTokens } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* The `theme.colors` fields each canonical token feeds. The first is the
|
|
6
|
+
* token's own field, the one `buildTheme` reads from it (`--muted-foreground`
|
|
7
|
+
* is `textSecondary`); the rest are aliases an exact override also sets.
|
|
8
|
+
*/
|
|
9
|
+
export declare const COLOR_FIELDS: {
|
|
10
|
+
background: ["background", "primaryDark"];
|
|
11
|
+
foreground: ["text"];
|
|
12
|
+
surface: ["backgroundSecondary", "primaryLight"];
|
|
13
|
+
popover: ["backgroundTertiary"];
|
|
14
|
+
'muted-foreground': ["textSecondary", "icon"];
|
|
15
|
+
'faint-foreground': ["textTertiary"];
|
|
16
|
+
border: ["border"];
|
|
17
|
+
input: ["borderLight"];
|
|
18
|
+
primary: ["primary", "tint", "iconActive"];
|
|
19
|
+
'primary-foreground': ["primaryForeground"];
|
|
20
|
+
vivid: ["vivid"];
|
|
21
|
+
'vivid-foreground': ["vividForeground"];
|
|
22
|
+
'primary-subtle': ["primarySubtle"];
|
|
23
|
+
'primary-text': ["primarySubtleForeground"];
|
|
24
|
+
secondary: ["secondary"];
|
|
25
|
+
'secondary-foreground': ["secondaryForeground"];
|
|
26
|
+
'secondary-subtle': ["secondarySubtle"];
|
|
27
|
+
'secondary-text': ["secondarySubtleForeground"];
|
|
28
|
+
tertiary: ["tertiary"];
|
|
29
|
+
'tertiary-foreground': ["tertiaryForeground"];
|
|
30
|
+
'tertiary-subtle': ["tertiarySubtle"];
|
|
31
|
+
'tertiary-text': ["tertiarySubtleForeground"];
|
|
32
|
+
success: ["success"];
|
|
33
|
+
'success-foreground': ["successForeground"];
|
|
34
|
+
'success-subtle': ["successSubtle"];
|
|
35
|
+
'success-text': ["successSubtleForeground"];
|
|
36
|
+
error: ["error", "negative"];
|
|
37
|
+
'error-foreground': ["errorForeground", "negativeForeground"];
|
|
38
|
+
'error-subtle': ["errorSubtle", "negativeSubtle"];
|
|
39
|
+
'error-text': ["errorSubtleForeground", "negativeSubtleForeground"];
|
|
40
|
+
warning: ["warning"];
|
|
41
|
+
'warning-foreground': ["warningForeground"];
|
|
42
|
+
'warning-subtle': ["warningSubtle"];
|
|
43
|
+
'warning-text': ["warningSubtleForeground"];
|
|
44
|
+
info: ["info"];
|
|
45
|
+
'info-foreground': ["infoForeground"];
|
|
46
|
+
'info-subtle': ["infoSubtle"];
|
|
47
|
+
'info-text': ["infoSubtleForeground"];
|
|
48
|
+
muted: ["contrast50"];
|
|
49
|
+
card: ["card"];
|
|
50
|
+
destructive: ["destructive"];
|
|
51
|
+
'surface-foreground': ["surfaceForeground"];
|
|
52
|
+
accent: ["accent"];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* A token record whose tokens take the colours `colors` holds, each the colour
|
|
56
|
+
* of the token's own field (`COLOR_FIELDS`), with the aliases rebuilt. The
|
|
57
|
+
* provider's record in an adaptive theme, so `useColorTokens()` paints the
|
|
58
|
+
* platform's colours exactly where `useTheme().colors` holds them.
|
|
59
|
+
*/
|
|
60
|
+
export declare function withFieldColors(vars: Record<string, string>, colors: Partial<ThemeColors>): Record<string, string>;
|
|
3
61
|
/** Preserve unspecified roles; rebuild the full CSS alias layer after exact overrides. */
|
|
4
62
|
export declare function applyScopeTokens(base: ScopePalette, overrides?: BloomColorScopeTokens): ScopePalette;
|
|
5
63
|
//# sourceMappingURL=resolve-scope.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-scope.d.ts","sourceRoot":"","sources":["../../../../../src/theme/color-scope/resolve-scope.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolve-scope.d.ts","sourceRoot":"","sources":["../../../../../src/theme/color-scope/resolve-scope.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C0E,CAAC;AAOpG;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC5B,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,GAC3B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOxB;AAeD,0FAA0F;AAC1F,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,YAAY,EAClB,SAAS,CAAC,EAAE,qBAAqB,GAChC,YAAY,CA0Bd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scope.d.ts","sourceRoot":"","sources":["../../../../../src/theme/color-scope/use-scope.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"use-scope.d.ts","sourceRoot":"","sources":["../../../../../src/theme/color-scope/use-scope.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAElF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,QAAQ,CACtB,WAAW,CAAC,EAAE,YAAY,EAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,EACvB,UAAU,CAAC,EAAE,qBAAqB,EAClC,IAAI,CAAC,EAAE,MAAM;;;;EA8Dd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { type CanonicalToken } from './
|
|
2
|
+
import { type CanonicalToken } from './canonical-tokens';
|
|
3
3
|
/** `primary-foreground` → `primaryForeground`, `chart-1-active` → `chart1Active`. */
|
|
4
4
|
type Camel<S extends string> = S extends `${infer Head}-${infer Tail}` ? `${Head}${Capitalize<Camel<Tail>>}` : S;
|
|
5
5
|
/** A Bloom colour token, by its camelCase name (`--muted-foreground` is `mutedForeground`). */
|
|
@@ -15,7 +15,10 @@ export type ColorTokens = Readonly<Record<ColorToken, string>>;
|
|
|
15
15
|
* Native reads the nearest scope's token record (the provider's, a
|
|
16
16
|
* `BloomColorScope`'s, a `BloomSeedScope`'s, or the one a portal bridge
|
|
17
17
|
* carries): the same values the theme publishes, in an adaptive theme as well.
|
|
18
|
-
*
|
|
18
|
+
* Outside any provider it reads Bloom's default palette (`oxy`, light), from a
|
|
19
|
+
* generated table (`default-token-vars.ts`), so a component that paints
|
|
20
|
+
* through the tokens does not import the colour engine. The web returns the
|
|
21
|
+
* CSS variables, which the cascade resolves.
|
|
19
22
|
*/
|
|
20
23
|
export declare function useColorTokens(): ColorTokens;
|
|
21
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE3E,qFAAqF;AACrF,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,IAAI,IAAI,MAAM,IAAI,EAAE,GAClE,GAAG,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,GACnC,CAAC,CAAC;AAEN,+FAA+F;AAC/F,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;AA6B/D;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAK5C;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAOjE;AAKD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,UAAU,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EACjF,KAAK,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,CAAC,GAChC,MAAM,QAAQ,CAAC,CAAC,CAAC,CAWnB"}
|
|
@@ -33,6 +33,9 @@ export interface RgbaChannels extends RgbChannels {
|
|
|
33
33
|
* resolve to `rgba(r, g, b, 0.13)` in light and `0.24` in dark, so anything
|
|
34
34
|
* compositing onto a tint has to know it is compositing onto something
|
|
35
35
|
* translucent — dropping the alpha silently turns a tint into an opaque fill.
|
|
36
|
+
*
|
|
37
|
+
* A platform colour (iOS dynamic, Material You: a `PlatformColor` object in an
|
|
38
|
+
* adaptive theme) is not a string and yields `null` as well.
|
|
36
39
|
*/
|
|
37
40
|
export declare function parseRgba(color: string): RgbaChannels | null;
|
|
38
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-utils.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,iCAAiC;AACjC,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,gEAAgE;AAChE,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,CAAC,EAAE,MAAM,CAAC;CACX;AAED
|
|
1
|
+
{"version":3,"file":"color-utils.d.ts","sourceRoot":"","sources":["../../../../src/theme/color-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,iCAAiC;AACjC,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,gEAAgE;AAChE,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CA6B5D;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAI1D;AAED,iFAAiF;AACjF,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAI9D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by scripts/generate-default-token-vars.ts — DO NOT EDIT.
|
|
3
|
+
* Re-run `bun run generate:default-token-vars` after changing the oxy preset or
|
|
4
|
+
* the colour policy; default-token-vars.test.ts fails until then.
|
|
5
|
+
*
|
|
6
|
+
* Bloom's default palette (`oxy`, light): every canonical token's value, as
|
|
7
|
+
* `buildScopeVars('oxy', 'light')` resolves it.
|
|
8
|
+
*/
|
|
9
|
+
import type { CanonicalToken } from './canonical-tokens';
|
|
10
|
+
export declare const DEFAULT_TOKEN_VARS: Readonly<Record<`--${CanonicalToken}`, string>>;
|
|
11
|
+
//# sourceMappingURL=default-token-vars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-token-vars.d.ts","sourceRoot":"","sources":["../../../../src/theme/default-token-vars.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,cAAc,EAAE,EAAE,MAAM,CAAC,CA2E9E,CAAC"}
|
|
@@ -33,7 +33,7 @@ export { applyDarkClass } from './apply-dark-class';
|
|
|
33
33
|
export { setColorSchemeSafe } from './set-color-scheme-safe';
|
|
34
34
|
export type { BloomThemeStorage, BloomThemeStorageConfig, PersistedThemeState, } from './persistence';
|
|
35
35
|
export { createBloomThemeStorage, webLocalStorage } from './persistence';
|
|
36
|
-
export { useThemePaint } from './use-theme-paint';
|
|
36
|
+
export { readThemePaint, useThemePaint } from './use-theme-paint';
|
|
37
37
|
export { createTokenStyles, tokenAlpha, useColorTokens } from './color-tokens';
|
|
38
38
|
export { ColorScopeLayerContext } from './color-scope/layer';
|
|
39
39
|
export type { ColorScopeLayer } from './color-scope/layer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EACV,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,YAAY,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAepE,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAA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@ -33,7 +33,7 @@ export { applyDarkClass } from './apply-dark-class';
|
|
|
33
33
|
export { setColorSchemeSafe } from './set-color-scheme-safe';
|
|
34
34
|
export type { BloomThemeStorage, BloomThemeStorageConfig, PersistedThemeState, } from './persistence';
|
|
35
35
|
export { createBloomThemeStorage, webLocalStorage } from './persistence';
|
|
36
|
-
export { useThemePaint } from './use-theme-paint';
|
|
36
|
+
export { readThemePaint, useThemePaint } from './use-theme-paint';
|
|
37
37
|
export { createTokenStyles, tokenAlpha, useColorTokens } from './color-tokens';
|
|
38
38
|
export { ColorScopeLayerContext } from './color-scope/layer';
|
|
39
39
|
export type { ColorScopeLayer } from './color-scope/layer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.web.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EACV,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAepE,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAClF,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,aAAa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AAY,EAAE,MAAM,eAAe,CAAC;AAK/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EACV,iBAAiB,EACjB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepaint-palettes.d.ts","sourceRoot":"","sources":["../../../../src/theme/prepaint-palettes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prepaint-palettes.d.ts","sourceRoot":"","sources":["../../../../src/theme/prepaint-palettes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMpD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,CAQ7F"}
|
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { APP_COLOR_NAMES, type AppColorName } from './color-presets';
|
|
2
2
|
import { type ExplicitAccents } from './preset-vars';
|
|
3
|
-
|
|
4
|
-
* The canonical set of Bloom theme token names — WITHOUT the leading `--`.
|
|
5
|
-
*
|
|
6
|
-
* This is the single source of truth for which tokens a preset produces. It
|
|
7
|
-
* covers exactly the keys returned by `getPresetVars(name, mode)` (the base
|
|
8
|
-
* shadcn palette plus the synthesized extended tokens: card/chart/content-area/
|
|
9
|
-
* sidebar-*). The list is intentionally hand-maintained and verified by
|
|
10
|
-
* `token-registry.test.ts` against the live `getPresetVars('oxy', 'light')`
|
|
11
|
-
* output, so any drift in the preset shape fails CI.
|
|
12
|
-
*
|
|
13
|
-
* Order mirrors `getPresetVars`'s insertion order: base tokens first (in the
|
|
14
|
-
* order they appear in the preset data), then the synthesized extended tokens.
|
|
15
|
-
*/
|
|
16
|
-
export declare const CANONICAL_TOKENS: readonly ["background", "foreground", "surface", "surface-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "tertiary", "tertiary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "sidebar", "card", "card-foreground", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "chart-6", "chart-7", "chart-8", "chart-9", "chart-1-active", "chart-2-active", "chart-3-active", "chart-4-active", "chart-5-active", "chart-6-active", "chart-7-active", "chart-8-active", "chart-9-active", "content-area", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring", "primary-text", "vivid", "vivid-foreground", "primary-subtle", "secondary-text", "secondary-subtle", "tertiary-text", "tertiary-subtle", "success", "success-foreground", "success-text", "success-subtle", "error", "error-foreground", "error-text", "error-subtle", "warning", "warning-foreground", "warning-text", "warning-subtle", "info", "info-foreground", "info-text", "info-subtle"];
|
|
17
|
-
/** A canonical token name (no leading `--`). */
|
|
18
|
-
export type CanonicalToken = (typeof CANONICAL_TOKENS)[number];
|
|
3
|
+
export { CANONICAL_TOKENS, type CanonicalToken } from './canonical-tokens';
|
|
19
4
|
/**
|
|
20
5
|
* Convert a shadcn-style HSL triple (`'H S% L%'`, optionally with an alpha tail
|
|
21
6
|
* `'H S% L% / A'`) into an sRGB `rgb(...)` string.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-registry.d.ts","sourceRoot":"","sources":["../../../../src/theme/token-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"token-registry.d.ts","sourceRoot":"","sources":["../../../../src/theme/token-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAW3E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CA6ChD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,OAAO,GAAG,MAAM,EACtB,OAAO,CAAC,EAAE,eAAe,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOxB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAY/F"}
|
|
@@ -36,4 +36,15 @@ export declare function useThemeRecipe<T>(resolve: (theme: Theme, documentMode:
|
|
|
36
36
|
};
|
|
37
37
|
/** Semantic colours for final styles; useTheme() retains RGB for colour math. */
|
|
38
38
|
export declare function useThemePaint(): ThemeColors;
|
|
39
|
+
/**
|
|
40
|
+
* `useTheme()` and `useThemePaint()` in one read, through React's `use`: not a
|
|
41
|
+
* hook, so a renderer that draws from a tree it builds (the Bloom language's
|
|
42
|
+
* roots and `view()` bodies) reads the theme only when that tree paints from
|
|
43
|
+
* it. Called during render, as a hook is. One context read natively, two on
|
|
44
|
+
* the web (the theme and its prepaint).
|
|
45
|
+
*/
|
|
46
|
+
export declare function readThemePaint(): {
|
|
47
|
+
readonly theme: Theme;
|
|
48
|
+
readonly paint: ThemeColors;
|
|
49
|
+
};
|
|
39
50
|
//# sourceMappingURL=use-theme-paint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-theme-paint.d.ts","sourceRoot":"","sources":["../../../../src/theme/use-theme-paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"use-theme-paint.d.ts","sourceRoot":"","sources":["../../../../src/theme/use-theme-paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAmC,MAAM,OAAO,CAAC;AAQ5F,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,GAAG,MAAM,EAAE,cAAc,CAAC,EAAE,YAAY,KAAK,CAAC,EAC3F,IAAI,EAAE,cAAc;;;;;4BAea,YAAY,gBAAgB,OAAO,GAAG,MAAM;;;;;;;4BAA5C,YAAY,gBAAgB,OAAO,GAAG,MAAM;;;;;;;;EA8C9E;AAED,iFAAiF;AACjF,wBAAgB,aAAa,IAAI,WAAW,CAI3C;AAID;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI;IAAE,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAWvF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type ColorTokens } from '../theme/color-tokens';
|
|
3
3
|
import type { WebSearchProps } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* Web Search: what the agent looked at, as it looks.
|
|
@@ -42,8 +42,8 @@ export interface WebSearchPalette {
|
|
|
42
42
|
ring: string;
|
|
43
43
|
accent: string;
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
46
|
-
export declare function resolveWebSearchPalette(
|
|
45
|
+
/** The colour tokens it paints: surfaces, foregrounds and focus roles. */
|
|
46
|
+
export declare function resolveWebSearchPalette(t: ColorTokens): WebSearchPalette;
|
|
47
47
|
declare function WebSearchComponent({ steps, run, stepInterval, startDelay, revealed: controlledRevealed, working: workingProp, onComplete, reduce: reduceProp, labels, style, testID, }: WebSearchProps): React.JSX.Element;
|
|
48
48
|
export declare const WebSearch: React.MemoExoticComponent<typeof WebSearchComponent>;
|
|
49
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSearch.d.ts","sourceRoot":"","sources":["../../../../src/web-search/WebSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAUN,MAAM,OAAO,CAAC;AAwCf,OAAO,
|
|
1
|
+
{"version":3,"file":"WebSearch.d.ts","sourceRoot":"","sources":["../../../../src/web-search/WebSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAUN,MAAM,OAAO,CAAC;AAwCf,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,uBAAuB,CAAC;AAIzE,OAAO,KAAK,EAAkB,cAAc,EAAkC,MAAM,SAAS,CAAC;AAI9F;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAMH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,0EAA0E;AAC1E,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,WAAW,GAAG,gBAAgB,CAcxE;AA2zBD,iBAAS,kBAAkB,CAAC,EAC1B,KAAK,EACL,GAAU,EACV,YAAkB,EAClB,UAAgB,EAChB,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,WAAW,EACpB,UAAU,EACV,MAAM,EAAE,UAAU,EAClB,MAAM,EACN,KAAK,EACL,MAAM,GACP,EAAE,cAAc,qBAuIhB;AAED,eAAO,MAAM,SAAS,sDAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAiChD,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA0BzD,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,+BAGjD"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as ReactNative from 'react-native';
|
|
2
|
+
import { type NativeSyntheticEvent, type ViewProps } from 'react-native';
|
|
3
|
+
import type { VectorLoopTracks } from './vector-loop.js';
|
|
4
|
+
/** One frame as the native surface draws it: colours as native colour numbers, the viewBox as four numbers. */
|
|
5
|
+
export type NativeVectorFrame = {
|
|
6
|
+
/** Changes with every frame JS draws, so a frame equal to an older one still replaces the loop's. */
|
|
7
|
+
revision: number;
|
|
8
|
+
viewBox: number[];
|
|
9
|
+
/** The whole drawing's opacity (the entrance), as one layer. */
|
|
10
|
+
opacity: number;
|
|
11
|
+
paths: {
|
|
12
|
+
d: string;
|
|
13
|
+
clip?: string;
|
|
14
|
+
fill: number;
|
|
15
|
+
opacity: number;
|
|
16
|
+
fillOpacity: number;
|
|
17
|
+
stroke?: number;
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
/** A complete rest loop (`VectorLoopTracks`) in the same native form. */
|
|
22
|
+
export type NativeVectorLoop = {
|
|
23
|
+
duration: number;
|
|
24
|
+
length: number;
|
|
25
|
+
viewBox: number[];
|
|
26
|
+
paths: {
|
|
27
|
+
fill: number;
|
|
28
|
+
fillOpacity: number;
|
|
29
|
+
stroke?: number;
|
|
30
|
+
strokeWidth?: number;
|
|
31
|
+
d: string[];
|
|
32
|
+
opacity: number[];
|
|
33
|
+
clip?: string[];
|
|
34
|
+
}[];
|
|
35
|
+
};
|
|
36
|
+
/** Plays the loop: at `epoch` (a `performance.now()` reading) the loop is `time` seconds in. */
|
|
37
|
+
export type NativeVectorClock = {
|
|
38
|
+
epoch: number;
|
|
39
|
+
time: number;
|
|
40
|
+
};
|
|
41
|
+
export type NativeVectorSurfaceProps = ViewProps & {
|
|
42
|
+
frame?: NativeVectorFrame;
|
|
43
|
+
/** The rest loop this surface is about: it answers `onLoop` with whether it has it. */
|
|
44
|
+
loopKey?: string;
|
|
45
|
+
/** The loop `loopKey` names, handed over once when the surface does not have it. */
|
|
46
|
+
loopTracks?: NativeVectorLoop;
|
|
47
|
+
/** Set while the surface plays the loop by itself; the JS thread draws nothing meanwhile. */
|
|
48
|
+
loopClock?: NativeVectorClock;
|
|
49
|
+
/** A non-zero id asks for a PNG of what is on screen, answered by `onCapture`. */
|
|
50
|
+
capture?: number;
|
|
51
|
+
onLoop?: (event: NativeSyntheticEvent<{
|
|
52
|
+
key: string;
|
|
53
|
+
ready: boolean;
|
|
54
|
+
}>) => void;
|
|
55
|
+
onCapture?: (event: NativeSyntheticEvent<{
|
|
56
|
+
id: number;
|
|
57
|
+
data: string | null;
|
|
58
|
+
}>) => void;
|
|
59
|
+
};
|
|
60
|
+
export declare const VectorNativeSurface: ReactNative.HostComponent<NativeVectorSurfaceProps> | null;
|
|
61
|
+
/** A viewBox string as four numbers. */
|
|
62
|
+
export declare const viewBoxNumbers: (viewBox: string) => number[];
|
|
63
|
+
/** The native form of one drawn path's paint. */
|
|
64
|
+
export declare function nativePaint(path: {
|
|
65
|
+
fill: string;
|
|
66
|
+
stroke?: string;
|
|
67
|
+
strokeWidth?: number;
|
|
68
|
+
}): {
|
|
69
|
+
fill: number;
|
|
70
|
+
stroke?: number;
|
|
71
|
+
strokeWidth?: number;
|
|
72
|
+
};
|
|
73
|
+
/** A complete loop in the surface's form. */
|
|
74
|
+
export declare function nativeVectorLoop(tracks: VectorLoopTracks, viewBox: string): NativeVectorLoop;
|
|
75
|
+
//# sourceMappingURL=VectorNativeSurface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VectorNativeSurface.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorNativeSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAC5C,OAAO,EAKL,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAe,CAAC;AAEtD,+GAA+G;AAC/G,MAAM,MAAM,iBAAiB,GAAG;IAC9B,qGAAqG;IACrG,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE;QACL,CAAC,EAAE,MAAM,CAAC;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,EAAE,CAAC;CACL,CAAC;AACF,yEAAyE;AACzE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,CAAC,EAAE,MAAM,EAAE,CAAC;QACZ,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KACjB,EAAE,CAAC;CACL,CAAC;AACF,gGAAgG;AAChG,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IA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|
2
|
+
/**
|
|
3
|
+
* A character at rest repeats itself. With no gesture, pointer, mood or transition, and no
|
|
4
|
+
* reference face (whose procedural gaze never repeats), the frame it draws depends on one number:
|
|
5
|
+
* where it is in its idle clip. So the frames of that clip are computed once, the first time
|
|
6
|
+
* round, and replayed after that: its loop.
|
|
7
|
+
*
|
|
8
|
+
* The loop's frames sit on a fixed grid, `VECTOR_LOOP_FPS` a second, the rate frames are painted
|
|
9
|
+
* at, and an avatar at rest draws the grid frame its clock is in. Every avatar with the same
|
|
10
|
+
* geometry and paint shares one loop, keyed by `vectorFrameRecipeKey`.
|
|
11
|
+
*/
|
|
12
|
+
export declare const VECTOR_LOOP_FPS = 30;
|
|
13
|
+
/** The loops kept, in path characters (about bytes): Alia's is 2 M, the largest character 10 M. */
|
|
14
|
+
export declare const VECTOR_LOOP_CACHE_CHARACTERS = 24000000;
|
|
15
|
+
export type VectorLoop<Frame extends {
|
|
16
|
+
drawing: VectorFrame;
|
|
17
|
+
}> = {
|
|
18
|
+
/** Seconds the loop takes: its idle clip's duration. */
|
|
19
|
+
duration: number;
|
|
20
|
+
/** One slot per grid frame, filled the first time that frame is drawn. */
|
|
21
|
+
frames: (Frame | undefined)[];
|
|
22
|
+
/** How many slots are filled. */
|
|
23
|
+
drawn: number;
|
|
24
|
+
/** Path characters held, for the cache budget. */
|
|
25
|
+
characters: number;
|
|
26
|
+
/** Its tracks, built once every frame is drawn (`vectorLoopTracks`); `null` if it has none. */
|
|
27
|
+
tracks?: VectorLoopTracks | null;
|
|
28
|
+
/** What it is made from, as a name that is the same on every start (`vectorLoopKey`). */
|
|
29
|
+
key?: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* A complete loop as one track per drawn path, for a player that draws it frame by frame without
|
|
33
|
+
* recomputing anything: what stays the same on every frame (the paint) and what changes (outline,
|
|
34
|
+
* clip and opacity, one entry per frame). A path that is clipped on some frames and not on others
|
|
35
|
+
* gets `VECTOR_UNCLIPPED` on the frames it has none, which hides nothing.
|
|
36
|
+
*/
|
|
37
|
+
export type VectorLoopTracks = {
|
|
38
|
+
/** Seconds the loop takes. */
|
|
39
|
+
duration: number;
|
|
40
|
+
/** Grid frames in it: the length of every per-frame list. */
|
|
41
|
+
length: number;
|
|
42
|
+
viewBox: string;
|
|
43
|
+
paths: {
|
|
44
|
+
id: string;
|
|
45
|
+
fill: string;
|
|
46
|
+
fillOpacity: number;
|
|
47
|
+
stroke?: string;
|
|
48
|
+
strokeWidth?: number;
|
|
49
|
+
d: string[];
|
|
50
|
+
opacity: number[];
|
|
51
|
+
clip?: string[];
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
/** The loop of the avatar whose frame recipe is `key`, with an idle clip of `duration` seconds. */
|
|
55
|
+
export declare function vectorLoop<Frame extends {
|
|
56
|
+
drawing: VectorFrame;
|
|
57
|
+
}>(key: string, duration: number): VectorLoop<Frame>;
|
|
58
|
+
/**
|
|
59
|
+
* A name for a loop's content that is the same on every start of the app, for a store that keeps
|
|
60
|
+
* loops across starts (the native avatar surface). It is a hash of what the loop is drawn from: the
|
|
61
|
+
* character (`recipe`), its idle clip's tracks, and its first frame as drawn, which carries the
|
|
62
|
+
* geometry, the paint and what the renderer makes of them. Remembered on the loop.
|
|
63
|
+
*/
|
|
64
|
+
export declare function vectorLoopKey(loop: VectorLoop<{
|
|
65
|
+
drawing: VectorFrame;
|
|
66
|
+
}>, recipe: string, clip: unknown, first: () => VectorFrame): string;
|
|
67
|
+
/**
|
|
68
|
+
* Lets go of a loop's frames once something else plays it (the native surface): the JS thread
|
|
69
|
+
* draws none of them again, and if it ever must, it draws them again.
|
|
70
|
+
*/
|
|
71
|
+
export declare function releaseVectorLoop(loop: VectorLoop<{
|
|
72
|
+
drawing: VectorFrame;
|
|
73
|
+
}>): void;
|
|
74
|
+
/** The grid frame a clock of `time` seconds is in. */
|
|
75
|
+
export declare function vectorLoopIndex(loop: VectorLoop<{
|
|
76
|
+
drawing: VectorFrame;
|
|
77
|
+
}>, time: number): number;
|
|
78
|
+
/** The clip time grid frame `index` is drawn at. */
|
|
79
|
+
export declare function vectorLoopTime(loop: VectorLoop<{
|
|
80
|
+
drawing: VectorFrame;
|
|
81
|
+
}>, index: number): number;
|
|
82
|
+
/** Grid frame `index`: drawn by `draw` the first time it is asked for, remembered after that. */
|
|
83
|
+
export declare function vectorLoopFrame<Frame extends {
|
|
84
|
+
drawing: VectorFrame;
|
|
85
|
+
}>(loop: VectorLoop<Frame>, index: number, draw: () => Frame): Frame;
|
|
86
|
+
/**
|
|
87
|
+
* The tracks of a complete loop, or `null` while frames are missing or when its frames do not
|
|
88
|
+
* draw the same paths with the same paint (then it is replayed frame by frame instead).
|
|
89
|
+
*/
|
|
90
|
+
export declare function vectorLoopTracks(loop: VectorLoop<{
|
|
91
|
+
drawing: VectorFrame;
|
|
92
|
+
}>): VectorLoopTracks | null;
|
|
93
|
+
//# sourceMappingURL=vector-loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vector-loop.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-loop.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC;AAElD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,WAAa,CAAC;AAEvD,MAAM,MAAM,UAAU,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,IAAI;IAC/D,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,MAAM,EAAE,CAAC,KAAK,GAAG,SAAS,CAAC,EAAE,CAAC;IAC9B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACj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,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhG;AAED,iGAAiG;AACjG,wBAAgB,eAAe,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,EACpE,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,EACvB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,KAAK,GAChB,KAAK,CAmBP;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,UAAU,CAAC;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAC,GACzC,gBAAgB,GAAG,IAAI,CA2CzB"}
|
|
@@ -9,5 +9,7 @@ export type OcclusionPart = {
|
|
|
9
9
|
opaque?: boolean;
|
|
10
10
|
group?: string;
|
|
11
11
|
};
|
|
12
|
+
/** A clip that hides nothing: the frame and a margin round it. Every mask starts from it. */
|
|
13
|
+
export declare const VECTOR_UNCLIPPED = "M-2 -2H322V322H-2Z";
|
|
12
14
|
export declare function projectedVisibilityPaths(parts: OcclusionPart[]): Map<number, string | null>;
|
|
13
15
|
//# sourceMappingURL=vector-visibility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector-visibility.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-visibility.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA+
|
|
1
|
+
{"version":3,"file":"vector-visibility.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/vector-visibility.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,6FAA6F;AAC7F,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AA+MrD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAyI3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCreatorSection.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,wBAAwB;IACvC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,6FAA6F;IAC7F,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+
|
|
1
|
+
{"version":3,"file":"AgentCreatorSection.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,wBAAwB;IACvC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,6FAA6F;IAC7F,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAUhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentLog.d.ts","sourceRoot":"","sources":["../../../../src/agent-log/AgentLog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AgentLog.d.ts","sourceRoot":"","sources":["../../../../src/agent-log/AgentLog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA6BtE,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,YAAS,CAAC;AAqCjB;;;;;;;;GAQG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,QAAQ,EACR,MAAM,EAAE,UAAU,EAClB,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,GACP,EAAE,mBAAmB,qBAqErB;AAED,eAAO,MAAM,cAAc,2DAAgC,CAAC;AA0B5D;;;;;;;GAOG;AACH,iBAAS,6BAA6B,CAAC,EACrC,KAAK,EACL,IAAI,EACJ,MAAM,EAAE,UAAU,GACnB,EAAE,yBAAyB,qBAoE3B;AAED,eAAO,MAAM,oBAAoB,iEAAsC,CAAC;AAGxE;;;;;;;;;GASG;AACH,iBAAS,4BAA4B,CAAC,EACpC,MAAM,EACN,MAAU,EACV,MAAM,EAAE,UAAU,GACnB,EAAE,wBAAwB,qBAkC1B;AAED,eAAO,MAAM,mBAAmB,gEAAqC,CAAC;AAGtE;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,gBAAgB,qBAY/F;AAED,eAAO,MAAM,WAAW,wDAA6B,CAAC;AAGtD;;;;;GAKG;AACH,iBAAS,2BAA2B,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,uBAAuB,qBAQ7F;AAED,eAAO,MAAM,kBAAkB,+DAAoC,CAAC;AAkDpE;;;;;;GAMG;AACH,iBAAS,4BAA4B,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,wBAAwB,qBA0BlF;AAED,eAAO,MAAM,mBAAmB,gEAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentProfile.d.ts","sourceRoot":"","sources":["../../../../src/agent-reply/AgentProfile.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AgentProfile.d.ts","sourceRoot":"","sources":["../../../../src/agent-reply/AgentProfile.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAyCjD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,KAAK,EAAE,SAAS,EAChB,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,YAAoB,GACrB,EAAE,iBAAiB,+BAoFnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentThinking.d.ts","sourceRoot":"","sources":["../../../../src/agent-thinking/AgentThinking.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AgentThinking.d.ts","sourceRoot":"","sources":["../../../../src/agent-thinking/AgentThinking.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAgCjE,OAAO,KAAK,EAAE,kBAAkB,EAA2C,MAAM,YAAS,CAAC;AAiF3F,uCAAuC;AACvC,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAQ9E;AAycD,iBAAS,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,qBAExD;AAED,eAAO,MAAM,aAAa,0DAA+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellEngine.d.ts","sourceRoot":"","sources":["../../../../src/app-shell/AppShellEngine.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppShellEngine.d.ts","sourceRoot":"","sources":["../../../../src/app-shell/AppShellEngine.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6E/B,OAAO,KAAK,EAAgB,mBAAmB,EAAE,MAAM,YAAS,CAAC;AAwHjE,wBAAgB,oBAAoB,oDAy9DnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlurIsland.d.ts","sourceRoot":"","sources":["../../../../src/blur/BlurIsland.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"BlurIsland.d.ts","sourceRoot":"","sources":["../../../../src/blur/BlurIsland.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAiH/C,eAAO,MAAM,UAAU,6CAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAqDhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAsD3C,YAAY,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,YAAS,CAAC;AACjB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAAuB,CAAC;AAoxB9D,eAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,KAAK,CAAA;CAGzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupBase.d.ts","sourceRoot":"","sources":["../../../../src/button/GroupBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GroupBase.d.ts","sourceRoot":"","sources":["../../../../src/button/GroupBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;AA0Bf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAuChD;;;;;;;GAOG;AAEH,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,sJAYjE,gBAAgB,kCA0MpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DialogContent.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+E,MAAM,OAAO,CAAC;AAsBpG,OAAO,KAAK,EAAE,YAAY,EAAqB,MAAM,YAAS,CAAC;AAG/D;;;;;;GAMG;AAEH;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,aAAa,EACb,KAAK,EACL,WAAW,EACX,IAAI,EACJ,OAAO,EACP,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,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