@oxy.so/bloom 23.8.1 → 23.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/bloom-language-classnames.mdx +14 -14
- package/docs/bloom-language-codemod.mdx +40 -5
- package/docs/bloom-language-for-agents.mdx +3 -1
- package/docs/bloom-language-from-jsx.mdx +1 -0
- package/docs/bloom-language-modifiers.mdx +231 -84
- package/docs/bloom-language-nodes.mdx +48 -26
- package/docs/bloom-language-tokens.mdx +71 -14
- package/docs/bloom-language.mdx +251 -68
- package/docs/design-tokens.mdx +12 -2
- package/docs/no-nativewind.mdx +5 -4
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/docs/theme.mdx +22 -6
- 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-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/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/DataTable.js +10 -11
- package/lib/commonjs/data-table/DataTable.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/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/image/BloomImage.js +3 -0
- package/lib/commonjs/image/BloomImage.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/PageHeaderTitleInput.js +20 -20
- package/lib/commonjs/page-header/PageHeaderTitleInput.js.map +1 -1
- package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -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/stat-bar/StatBar.js +41 -43
- package/lib/commonjs/stat-bar/StatBar.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/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-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/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/DataTable.js +10 -11
- package/lib/module/data-table/DataTable.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/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/image/BloomImage.js +3 -0
- package/lib/module/image/BloomImage.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/PageHeaderTitleInput.js +20 -20
- package/lib/module/page-header/PageHeaderTitleInput.js.map +1 -1
- package/lib/module/panel-routing/expo-router/StackScene.js +42 -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/stat-bar/StatBar.js +41 -43
- package/lib/module/stat-bar/StatBar.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/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-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/data-table/DataTable.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/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/image/BloomImage.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/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/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-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/data-table/DataTable.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/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/image/BloomImage.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/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/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-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/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/DataTable.tsx +8 -10
- 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/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/image/BloomImage.tsx +3 -0
- 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/PageHeaderTitleInput.tsx +4 -4
- package/src/panel-routing/expo-router/StackScene.tsx +7 -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/stat-bar/StatBar.tsx +14 -14
- 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/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
|
@@ -507,6 +507,7 @@ Modifiers:
|
|
|
507
507
|
- [`.textCase()`](bloom-language-modifiers.mdx#textcase) `(value: TextCase)`: Draws the text in upper case, lower case, or with each word capitalised.
|
|
508
508
|
- [`.monospacedDigit()`](bloom-language-modifiers.mdx#monospaceddigit) `()`: Digits of one width, so numbers in a column or a counter line up (`font-variant: tabular-nums`).
|
|
509
509
|
- [`.wordBreak()`](bloom-language-modifiers.mdx#wordbreak) `(value: WordBreak)`: Web: where a line may break inside a word (`all`, `words`); native text keeps its platform's breaking.
|
|
510
|
+
- [`.textShadow()`](bloom-language-modifiers.mdx#textshadow) `(value: TextShadowName)`: A shadow under the glyphs, each named by its exact CSS `text-shadow` (`'0 1px 3px rgb(0 0 0 / 0.8)'`): React Native's `textShadowColor`, `textShadowOffset` and `textShadowRadius`, the web's `text-shadow`. For text over a photo or a video.
|
|
510
511
|
- [`.contentTransition()`](bloom-language-modifiers.mdx#contenttransition) `(value: ContentTransition, direction?: number)`: How a change of the text inside an animation plays, up when `direction` rose and down when it fell: `roll` rolls the old text out and the new one in; `numeric` (SwiftUI's `.contentTransition(.numericText(value:))`) rolls each character that changed, the rest staying put.
|
|
511
512
|
|
|
512
513
|
And every universal modifier.
|
|
@@ -537,6 +538,7 @@ Token sets:
|
|
|
537
538
|
|
|
538
539
|
Modifiers:
|
|
539
540
|
|
|
541
|
+
- [`.motion()`](bloom-language-modifiers.mdx#motion) `(value: AvatarMotion)`: Whether its character moves (Bloom's `motion`): `auto` (the default), `always`, `never` (a still portrait); reduced motion always wins.
|
|
540
542
|
- [`.size()`](bloom-language-modifiers.mdx#size) `(value: AvatarSizeToken)`: A rung (`xs` 20, `sm` 24, `md` 32, `lg` 36) or an app's own diameter; 40 with none.
|
|
541
543
|
- [`.tint()`](bloom-language-modifiers.mdx#tint) `(value: AvatarColor)`: The initials disc's tint; derived from the name when not set.
|
|
542
544
|
- [`.shape()`](bloom-language-modifiers.mdx#shape) `(value: ShapeName)`: One of Bloom's silhouettes; the image and the fallback keep it.
|
|
@@ -544,6 +546,7 @@ Modifiers:
|
|
|
544
546
|
- [`.live()`](bloom-language-modifiers.mdx#live) `(value?: boolean)`: Live-streaming: the live ring, and the LIVE pill unless `liveBadge(false)`.
|
|
545
547
|
- [`.liveBadge()`](bloom-language-modifiers.mdx#livebadge) `(value: boolean)`
|
|
546
548
|
- [`.presence()`](bloom-language-modifiers.mdx#presence) `(value: Presence)`: A presence dot on its edge (Bloom `AvatarPresence`), sized from the avatar.
|
|
549
|
+
- [`.cornerRadius()`](bloom-language-modifiers.mdx#cornerradius) `(value: Exclude<CornerName, 'concentric'>)`: The radius of its corners (Bloom's Avatar `style.borderRadius`): a rounded square of an avatar a shape name does not draw (a list's 12pt corners on a 58pt cover). `.corner()` is a box around it instead.
|
|
547
550
|
|
|
548
551
|
And every universal modifier.
|
|
549
552
|
|
|
@@ -559,6 +562,7 @@ Token sets:
|
|
|
559
562
|
Modifiers:
|
|
560
563
|
|
|
561
564
|
- [`.layout()`](bloom-language-modifiers.mdx#layout) `(value: AvatarLayout)`
|
|
565
|
+
- [`.motion()`](bloom-language-modifiers.mdx#motion) `(value: AvatarMotion)`: Each member's character motion (Bloom's `motion`).
|
|
562
566
|
- [`.size()`](bloom-language-modifiers.mdx#size) `(value: AvatarSizeToken)`: Each avatar's diameter (a cluster's whole box); Bloom's default with none.
|
|
563
567
|
- [`.shape()`](bloom-language-modifiers.mdx#shape) `(value: ShapeName)`
|
|
564
568
|
- [`.max()`](bloom-language-modifiers.mdx#max) `(value: number)`: The most avatars before the `+N` chip.
|
|
@@ -568,6 +572,9 @@ Modifiers:
|
|
|
568
572
|
- [`.initials()`](bloom-language-modifiers.mdx#initials) `()`: A member without an image shows its tinted initial, not the neutral placeholder.
|
|
569
573
|
- [`.onPressItem()`](bloom-language-modifiers.mdx#onpressitem) `(value: ((item: AvatarGroupItem, index: number) => void) | undefined)`
|
|
570
574
|
- [`.hoverCard()`](bloom-language-modifiers.mdx#hovercard) `(value?: boolean)`: Web: hovering an avatar shows the member's card.
|
|
575
|
+
- [`.ringColor()`](bloom-language-modifiers.mdx#ringcolor) `(value: InkToken)`: The ring each face is cut out of its neighbours by (Bloom's `ringColor`): the colour behind the group, a role or an app colour (`'background'`).
|
|
576
|
+
- [`.itemAction()`](bloom-language-modifiers.mdx#itemaction) `(value: (item: AvatarGroupItem, index: number) => Child)`: Web: a view under the member's name in its hover card (Bloom's `renderItemAction`: a follow button).
|
|
577
|
+
- [`.variant()`](bloom-language-modifiers.mdx#variant) `(value: string)` (here: a value): The rendition the members' images load (Bloom's `variant`: `'thumb'` with none, `'small'`, `'medium'`).
|
|
571
578
|
|
|
572
579
|
And every universal modifier.
|
|
573
580
|
|
|
@@ -622,7 +629,7 @@ Modifiers:
|
|
|
622
629
|
|
|
623
630
|
- [`.style()`](bloom-language-modifiers.mdx#style) `(value: LoadingStyle)`
|
|
624
631
|
- [`.size()`](bloom-language-modifiers.mdx#size) `(value: BloomSize)`
|
|
625
|
-
- [`.tint()`](bloom-language-modifiers.mdx#tint) `(value: BloomTone)`
|
|
632
|
+
- [`.tint()`](bloom-language-modifiers.mdx#tint) `(value: BloomTone | AppToken<'color'>)`: A Bloom tone, or an app's own colour (`defineTokens({ color })`), Bloom's `color` as written.
|
|
626
633
|
|
|
627
634
|
And every universal modifier.
|
|
628
635
|
|
|
@@ -722,7 +729,7 @@ And every universal modifier.
|
|
|
722
729
|
|
|
723
730
|
Token sets:
|
|
724
731
|
|
|
725
|
-
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
732
|
+
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
726
733
|
|
|
727
734
|
Modifiers:
|
|
728
735
|
|
|
@@ -890,6 +897,9 @@ Modifiers:
|
|
|
890
897
|
- [`.maxHeightRatio()`](bloom-language-modifiers.mdx#maxheightratio) `(value: number)`: Its height ceiling, as a fraction of the window's (`0.9`).
|
|
891
898
|
- [`.onDismissed()`](bloom-language-modifiers.mdx#ondismissed) `(action: () => void)`: Once it has finished closing, its exit animation done (Bloom's `onDismissed`): after its binding turned false and it left the screen, the place to unmount what presented it.
|
|
892
899
|
- [`.presented()`](bloom-language-modifiers.mdx#presented) `(isPresented: Binding<boolean>)`: The dialog as a view of its own, shown while `isPresented` holds; dismissing it sets it false. It ends the chain: what a component that is a dialog returns, its binding handed in by the caller.
|
|
900
|
+
- [`.control()`](bloom-language-modifiers.mdx#control) `(control: DialogControlProps)`: The dialog as a view of its own, opened and closed by Bloom's dialog control (`useDialogControl()`: `control.open()`, `control.close()`), for a dialog another view opens imperatively. It ends the chain, as `.presented()` does.
|
|
901
|
+
- [`.detached()`](bloom-language-modifiers.mdx#detached) `(value?: boolean)`: Floats a bottom dialog above the window's safe area, with rounded corners and gutters beside it (Bloom's `detached`); other placements are as they were.
|
|
902
|
+
- [`.panelFrame()`](bloom-language-modifiers.mdx#panelframe) `(value: FrameSpec)`: The side or bottom panel's own frame (Bloom's `panelStyle`): a bottom dialog kept to a width on a wide window (`{ maxWidth: '540' }`). `.frame()` is the centred card's width and ceiling.
|
|
893
903
|
|
|
894
904
|
Takes only the modifiers above (no universal modifiers).
|
|
895
905
|
|
|
@@ -903,7 +913,7 @@ Modifiers:
|
|
|
903
913
|
- [`.side()`](bloom-language-modifiers.mdx#side) `(side: FloatingSide, align?: FloatingAlign)`: The side of the view it opens on, and its alignment along that side.
|
|
904
914
|
- [`.testID()`](bloom-language-modifiers.mdx#testid) `(value: string)`
|
|
905
915
|
- [`.sideOffset()`](bloom-language-modifiers.mdx#sideoffset) `(value: SpaceToken)`: The gap between the view and the popover.
|
|
906
|
-
- [`.alignOffset()`](bloom-language-modifiers.mdx#alignoffset) `(value: PaddingToken)`: A shift along the side it opens on (negative toward the start).
|
|
916
|
+
- [`.alignOffset()`](bloom-language-modifiers.mdx#alignoffset) `(value: PaddingToken | Points)`: A shift along the side it opens on (negative toward the start).
|
|
907
917
|
- [`.frame()`](bloom-language-modifiers.mdx#frame) `(value: PopoverFrame)`: Its widths and its height ceiling.
|
|
908
918
|
|
|
909
919
|
Takes only the modifiers above (no universal modifiers).
|
|
@@ -952,7 +962,7 @@ Modifiers:
|
|
|
952
962
|
- [`.titleAlign()`](bloom-language-modifiers.mdx#titlealign) `(value: TitleAlign)`: The title after the back button (`start`, the default) or centred on the bar.
|
|
953
963
|
- [`.accessory()`](bloom-language-modifiers.mdx#accessory) `(value: Child)`: Full-width chrome under the title row (tabs, a toolbar).
|
|
954
964
|
- [`.tone()`](bloom-language-modifiers.mdx#tone) `(value: HeaderTone)`: `onImage`: light title and text over media.
|
|
955
|
-
- [`.scrimColor()`](bloom-language-modifiers.mdx#scrimcolor) `(value: ColorToken)`:
|
|
965
|
+
- [`.scrimColor()`](bloom-language-modifiers.mdx#scrimcolor) `(value: ColorToken | AppToken<'color'>)`: A colour role (painted from the theme, at an opacity too), or an app's own colour as written.
|
|
956
966
|
- [`.scrimFalloff()`](bloom-language-modifiers.mdx#scrimfalloff) `(value: ScrimFalloff)`
|
|
957
967
|
- [`.titleReveal()`](bloom-language-modifiers.mdx#titlereveal) `(value: TitleReveal)`: When the title shows: `auto` (default), `always`, `onScroll`, `onDock`.
|
|
958
968
|
|
|
@@ -1164,13 +1174,13 @@ Modifiers:
|
|
|
1164
1174
|
- [`.label()`](bloom-language-modifiers.mdx#label) `(value: string | undefined)`
|
|
1165
1175
|
- [`.hint()`](bloom-language-modifiers.mdx#hint) `(value: string | undefined)`
|
|
1166
1176
|
- [`.testID()`](bloom-language-modifiers.mdx#testid) `(value: string)`
|
|
1167
|
-
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken)` or `(edge: Edge, value: PaddingToken)`
|
|
1177
|
+
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken | Points)` or `(edge: Edge, value: PaddingToken | Points)`: A padding token, or points the view computes as it renders (a thread's indent times its depth, a bar's measured height and a gap), as `.frame()` takes; a number written out is a token (`'44'`).
|
|
1168
1178
|
- [`.frame()`](bloom-language-modifiers.mdx#frame) `(value: FrameSpec)`
|
|
1169
1179
|
- [`.grow()`](bloom-language-modifiers.mdx#grow) `()`: Takes the free space along its parent's axis.
|
|
1170
1180
|
- [`.shrink()`](bloom-language-modifiers.mdx#shrink) `(value: ShrinkPriority)`
|
|
1171
1181
|
- [`.alignSelf()`](bloom-language-modifiers.mdx#alignself) `(value: Alignment)`: Its own place across its parent's axis, over the parent's `align`.
|
|
1172
1182
|
- [`.background()`](bloom-language-modifiers.mdx#background) `(value: InkToken)` or `(value: ViewNode, alignment?: OverlayAlignment)`: A fill: a colour role, or a role at a named opacity (`'primary/10'`); or a view behind it, placed at `alignment` (centred by default).
|
|
1173
|
-
- [`.border()`](bloom-language-modifiers.mdx#border) `(value: InkToken, width?: BorderWidthName, edge?: BorderEdge)`
|
|
1183
|
+
- [`.border()`](bloom-language-modifiers.mdx#border) `(value: InkToken | undefined, width?: BorderWidthName, edge?: BorderEdge)`: A border: a colour role (or a role at an opacity, or an app colour), a width (`hairline` by default) and an edge (`all` by default). A colour of `undefined` writes the width alone, so the line keeps the platform's default colour (black natively, react-native-web's own on the web), as a style with a `borderWidth` and no `borderColor` does: `.border(subscribed ? 'border' : undefined, 'thin')`.
|
|
1174
1184
|
- [`.corner()`](bloom-language-modifiers.mdx#corner) `(value: CornerName, side?: CornerSide)`: Rounds the box: a radius rung, `full`, or `concentric` (the radius of the shape it sits in, less the inset between them: a glass's, another concentric box's, a Bloom card's).
|
|
1175
1185
|
- [`.opacity()`](bloom-language-modifiers.mdx#opacity) `(value: OpacityName)`
|
|
1176
1186
|
|
|
@@ -1268,10 +1278,10 @@ Modifiers:
|
|
|
1268
1278
|
- [`.iconOnly()`](bloom-language-modifiers.mdx#icononly) `()`: Only its icon shows; its label still names it.
|
|
1269
1279
|
- [`.reorderable()`](bloom-language-modifiers.mdx#reorderable) `(value?: boolean)`: It can be moved, and take a moved tab's place (with the strip's `.onReorder()`).
|
|
1270
1280
|
- [`.trailing()`](bloom-language-modifiers.mdx#trailing) `(...value: Child[])`: A control beside its label, in its chrome, not part of its press.
|
|
1271
|
-
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: Press | undefined)
|
|
1281
|
+
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: Press | undefined)` (here: a value): A long press: the tab's own menu.
|
|
1272
1282
|
- [`.frame()`](bloom-language-modifiers.mdx#frame) `(value: FrameSpec)`: The tab's own box (`TabsTrigger`'s `style`): its size, over Bloom's.
|
|
1273
|
-
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken)` or `(edge: Edge, value: PaddingToken)`: The tab's own padding (`TabsTrigger`'s `style`), over Bloom's.
|
|
1274
|
-
- [`.font()`](bloom-language-modifiers.mdx#font) `(value: Exclude<FontName,
|
|
1283
|
+
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken | Points)` or `(edge: Edge, value: PaddingToken | Points)`: The tab's own padding (`TabsTrigger`'s `style`), over Bloom's.
|
|
1284
|
+
- [`.font()`](bloom-language-modifiers.mdx#font) `(value: Exclude<FontName, FontFamilyName>)` (here: [labelFont](bloom-language-tokens.mdx#labelfont)): Its label's size, line and weight (`TabsTrigger`'s `textStyle`), over Bloom's.
|
|
1275
1285
|
- [`.leading()`](bloom-language-modifiers.mdx#leading) `(value: LeadingToken)`
|
|
1276
1286
|
- [`.weight()`](bloom-language-modifiers.mdx#weight) `(value: WeightName)`
|
|
1277
1287
|
|
|
@@ -1304,13 +1314,13 @@ Modifiers:
|
|
|
1304
1314
|
- [`.onError()`](bloom-language-modifiers.mdx#onerror) `(value: BoundaryErrorHandler | undefined)`
|
|
1305
1315
|
- [`.fallback()`](bloom-language-modifiers.mdx#fallback) `(value: Child | BoundaryFallback)`: What it shows in place of Bloom's fallback: a view, or a view of what it caught.
|
|
1306
1316
|
- [`.testID()`](bloom-language-modifiers.mdx#testid) `(value: string)`
|
|
1307
|
-
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken)` or `(edge: Edge, value: PaddingToken)`
|
|
1317
|
+
- [`.padding()`](bloom-language-modifiers.mdx#padding) `(value: PaddingToken | Points)` or `(edge: Edge, value: PaddingToken | Points)`: A padding token, or points the view computes as it renders (a thread's indent times its depth, a bar's measured height and a gap), as `.frame()` takes; a number written out is a token (`'44'`).
|
|
1308
1318
|
- [`.frame()`](bloom-language-modifiers.mdx#frame) `(value: FrameSpec)`
|
|
1309
1319
|
- [`.grow()`](bloom-language-modifiers.mdx#grow) `()`: Takes the free space along its parent's axis.
|
|
1310
1320
|
- [`.shrink()`](bloom-language-modifiers.mdx#shrink) `(value: ShrinkPriority)`
|
|
1311
1321
|
- [`.alignSelf()`](bloom-language-modifiers.mdx#alignself) `(value: Alignment)`: Its own place across its parent's axis, over the parent's `align`.
|
|
1312
1322
|
- [`.background()`](bloom-language-modifiers.mdx#background) `(value: InkToken)` or `(value: ViewNode, alignment?: OverlayAlignment)`: A fill: a colour role, or a role at a named opacity (`'primary/10'`); or a view behind it, placed at `alignment` (centred by default).
|
|
1313
|
-
- [`.border()`](bloom-language-modifiers.mdx#border) `(value: InkToken, width?: BorderWidthName, edge?: BorderEdge)`
|
|
1323
|
+
- [`.border()`](bloom-language-modifiers.mdx#border) `(value: InkToken | undefined, width?: BorderWidthName, edge?: BorderEdge)`: A border: a colour role (or a role at an opacity, or an app colour), a width (`hairline` by default) and an edge (`all` by default). A colour of `undefined` writes the width alone, so the line keeps the platform's default colour (black natively, react-native-web's own on the web), as a style with a `borderWidth` and no `borderColor` does: `.border(subscribed ? 'border' : undefined, 'thin')`.
|
|
1314
1324
|
- [`.corner()`](bloom-language-modifiers.mdx#corner) `(value: CornerName, side?: CornerSide)`: Rounds the box: a radius rung, `full`, or `concentric` (the radius of the shape it sits in, less the inset between them: a glass's, another concentric box's, a Bloom card's).
|
|
1315
1325
|
- [`.opacity()`](bloom-language-modifiers.mdx#opacity) `(value: OpacityName)`
|
|
1316
1326
|
|
|
@@ -1425,9 +1435,13 @@ Modifiers:
|
|
|
1425
1435
|
- [`.prefix()`](bloom-language-modifiers.mdx#prefix) `(value: string)`: Text before the input (a currency, a protocol).
|
|
1426
1436
|
- [`.suffix()`](bloom-language-modifiers.mdx#suffix) `(value: string)`: Text after the input (a unit, a domain).
|
|
1427
1437
|
- [`.keyboard()`](bloom-language-modifiers.mdx#keyboard) `(value: Keyboard)`: The keyboard it asks for.
|
|
1438
|
+
- [`.inputMode()`](bloom-language-modifiers.mdx#inputmode) `(value: InputMode)`: The kind of text it takes (React Native's `inputMode`, the web's `inputmode`).
|
|
1439
|
+
- [`.inputRef()`](bloom-language-modifiers.mdx#inputref) `(value: RefObject<ComponentRef<typeof TextInput> | null>)`: The ref of its text input itself (React Native's `TextInput`): to focus it or move its caret.
|
|
1440
|
+
- [`.onSelectionChange()`](bloom-language-modifiers.mdx#onselectionchange) `(value: (event: TextInputSelectionChangeEvent) => void)`: React Native's `onSelectionChange`: the input's caret or selection moved.
|
|
1428
1441
|
- [`.autocapitalize()`](bloom-language-modifiers.mdx#autocapitalize) `(value: Autocapitalize)`
|
|
1429
1442
|
- [`.autocorrect()`](bloom-language-modifiers.mdx#autocorrect) `(value: boolean)`
|
|
1430
1443
|
- [`.contentType()`](bloom-language-modifiers.mdx#contenttype) `(value: ContentType)`
|
|
1444
|
+
- [`.textContentType()`](bloom-language-modifiers.mdx#textcontenttype) `(value: TextContentType)`: iOS: what the text is (React Native's `textContentType`: `URL`, `emailAddress`, `oneTimeCode`…), which its autofill and keyboard offer; `.contentType()` is Android's and the web's `autoComplete`.
|
|
1431
1445
|
- [`.submitLabel()`](bloom-language-modifiers.mdx#submitlabel) `(value: SubmitLabel)`
|
|
1432
1446
|
- [`.onSubmit()`](bloom-language-modifiers.mdx#onsubmit) `(value: () => void)`: The return key's action.
|
|
1433
1447
|
- [`.autoFocus()`](bloom-language-modifiers.mdx#autofocus) `()`: Takes the keyboard's focus when it appears.
|
|
@@ -1461,6 +1475,9 @@ Modifiers:
|
|
|
1461
1475
|
- [`.maxLength()`](bloom-language-modifiers.mdx#maxlength) `(value: number)`
|
|
1462
1476
|
- [`.showCount()`](bloom-language-modifiers.mdx#showcount) `()`: The count of characters against `maxLength`.
|
|
1463
1477
|
- [`.keyboard()`](bloom-language-modifiers.mdx#keyboard) `(value: Keyboard)`: The keyboard it asks for.
|
|
1478
|
+
- [`.inputMode()`](bloom-language-modifiers.mdx#inputmode) `(value: InputMode)`: The kind of text it takes (React Native's `inputMode`, the web's `inputmode`).
|
|
1479
|
+
- [`.inputRef()`](bloom-language-modifiers.mdx#inputref) `(value: RefObject<ComponentRef<typeof TextInput> | null>)`: The ref of its text input itself (React Native's `TextInput`): to focus it or move its caret.
|
|
1480
|
+
- [`.onSelectionChange()`](bloom-language-modifiers.mdx#onselectionchange) `(value: (event: TextInputSelectionChangeEvent) => void)`: React Native's `onSelectionChange`: the input's caret or selection moved.
|
|
1464
1481
|
- [`.autocapitalize()`](bloom-language-modifiers.mdx#autocapitalize) `(value: Autocapitalize)`
|
|
1465
1482
|
- [`.autocorrect()`](bloom-language-modifiers.mdx#autocorrect) `(value: boolean)`
|
|
1466
1483
|
- [`.autoFocus()`](bloom-language-modifiers.mdx#autofocus) `()`: Takes the keyboard's focus when it appears.
|
|
@@ -1617,6 +1634,9 @@ Modifiers:
|
|
|
1617
1634
|
- [`.presented()`](bloom-language-modifiers.mdx#presented) `(value: Binding<boolean>)`: Whether a collapsible search is open.
|
|
1618
1635
|
- [`.tokens()`](bloom-language-modifiers.mdx#tokens) `(value: Binding<readonly SearchToken[]>)`: Filters drawn as tokens before the text; removing one takes it out.
|
|
1619
1636
|
- [`.keyboard()`](bloom-language-modifiers.mdx#keyboard) `(value: Keyboard)`: The keyboard it asks for.
|
|
1637
|
+
- [`.inputMode()`](bloom-language-modifiers.mdx#inputmode) `(value: InputMode)`: The kind of text it takes (React Native's `inputMode`, the web's `inputmode`).
|
|
1638
|
+
- [`.inputRef()`](bloom-language-modifiers.mdx#inputref) `(value: RefObject<ComponentRef<typeof TextInput> | null>)`: The ref of its text input itself (React Native's `TextInput`): to focus it or move its caret.
|
|
1639
|
+
- [`.onSelectionChange()`](bloom-language-modifiers.mdx#onselectionchange) `(value: (event: TextInputSelectionChangeEvent) => void)`: React Native's `onSelectionChange`: the input's caret or selection moved.
|
|
1620
1640
|
- [`.autocapitalize()`](bloom-language-modifiers.mdx#autocapitalize) `(value: Autocapitalize)`
|
|
1621
1641
|
- [`.autocorrect()`](bloom-language-modifiers.mdx#autocorrect) `(value: boolean)`
|
|
1622
1642
|
- [`.submitLabel()`](bloom-language-modifiers.mdx#submitlabel) `(value: SubmitLabel)`
|
|
@@ -1627,6 +1647,7 @@ Modifiers:
|
|
|
1627
1647
|
- [`.trigger()`](bloom-language-modifiers.mdx#trigger) `(value: ButtonView)`: The collapsed search's button: a `Button`'s style, tint, size and test id (Search owns its glyph and name).
|
|
1628
1648
|
- [`.trailing()`](bloom-language-modifiers.mdx#trailing) `(...value: Child[])`: An action at the field's end (a voice search).
|
|
1629
1649
|
- [`.focused()`](bloom-language-modifiers.mdx#focused) `(value: Binding<boolean>)`: Whether it holds the keyboard's focus: focusing or leaving it writes the binding, and setting the binding focuses or blurs it.
|
|
1650
|
+
- [`.editable()`](bloom-language-modifiers.mdx#editable) `(value: boolean)`: `false`: the text is shown but takes no typing (React Native's `editable`), as a search that is full; `.disabled()` is Bloom's disabled look.
|
|
1630
1651
|
|
|
1631
1652
|
And every universal modifier.
|
|
1632
1653
|
|
|
@@ -1735,13 +1756,14 @@ Modifiers:
|
|
|
1735
1756
|
- [`.contentGrows()`](bloom-language-modifiers.mdx#contentgrows) `(on?: boolean)`: The content container grows to fill the scroll (`flexGrow: 1` on React Native's `contentContainerStyle`), so content shorter than the viewport (an empty state) can centre or sit at its bottom; `false` (an `items.length === 0` written as a boolean) leaves it the content's height.
|
|
1736
1757
|
- [`.spacing()`](bloom-language-modifiers.mdx#spacing) `(value: SpaceToken)`: The gap between the content's children.
|
|
1737
1758
|
- [`.refreshable()`](bloom-language-modifiers.mdx#refreshable) `(value: Refresh, tint?: RefreshTint<ColorToken>)`: Pull to refresh: a binding a pull writes `true` (the app writes `false` when done), or `{ refreshing, onRefresh }`, a refreshing value and the action a pull runs (a query's `isRefetching` and `refetch`). `tint` paints the refresh control's `tintColor` (iOS) and `colors` (Android) from a colour role, as an app hands it its theme's colour, or each platform's own (`{ ios: 'primary' }`: Android's spinner keeps its look); the platform's by default.
|
|
1738
|
-
- [`.onEndReached()`](bloom-language-modifiers.mdx#onendreached) `(action: () => void, threshold?: number)`: Called once each time the end comes within `threshold` viewports (2 by default).
|
|
1759
|
+
- [`.onEndReached()`](bloom-language-modifiers.mdx#onendreached) `(action: (() => void) | undefined, threshold?: number)`: Called once each time the end comes within `threshold` viewports (2 by default); `undefined` calls nothing.
|
|
1739
1760
|
- [`.scrollIndicators()`](bloom-language-modifiers.mdx#scrollindicators) `(value: ScrollIndicators, axis?: Axis)`: The scroll indicators: `hidden`, `visible`, or the platform's (`automatic`, the default), on both axes or on the one `axis` names.
|
|
1740
1761
|
- [`.scrollDismissesKeyboard()`](bloom-language-modifiers.mdx#scrolldismisseskeyboard) `(value: KeyboardDismiss)`: A drag `immediately` dismisses the keyboard, or drags it away `interactively`; `never` by default.
|
|
1741
1762
|
- [`.keyboardTaps()`](bloom-language-modifiers.mdx#keyboardtaps) `(value: KeyboardTaps)`: Whether a tap with the keyboard up reaches the content: `handled` by a control, `always`, or `never` (default).
|
|
1742
1763
|
- [`.contentView()`](bloom-language-modifiers.mdx#contentview) `(build: (view: ScrollContentView) => ScrollContentView)`: The content laid out in a view of its own inside the content container, as Bloom's `ScreenScrollView contentView` lays it out: `build` sets that view's layout (`.contentView((v) => v.padding('horizontal', 'lg').spacing('md'))`). The content container then grows to the viewport and pads only the screen's chrome; the content margins and spacing go on the view, after its own.
|
|
1743
1764
|
- [`.safeAreaInset()`](bloom-language-modifiers.mdx#safeareainset) `(edge: InsetEdge, view: ViewNode, spacing?: SpaceToken)`: SwiftUI's `safeAreaInset`: `view` pinned at the scroll's `edge`, and the content inset by its measured height (and `spacing`), so it scrolls clear of it: a filter bar over a list, a composer under a chat.
|
|
1744
1765
|
- [`.safeAreaBar()`](bloom-language-modifiers.mdx#safeareabar) `(edge: InsetEdge, view: ViewNode)`: SwiftUI's `safeAreaBar`: a `safeAreaInset` that is a bar, with Bloom's scroll edge scrim under it, so the content fades as it scrolls beneath.
|
|
1766
|
+
- [`.stickyIndices()`](bloom-language-modifiers.mdx#stickyindices) `(value: readonly number[] | undefined)`: The children that stay at the top once scrolled to it, by index (React Native's `stickyHeaderIndices`: a profile's tabs); `undefined` keeps none.
|
|
1745
1767
|
|
|
1746
1768
|
And every universal modifier.
|
|
1747
1769
|
|
|
@@ -1814,7 +1836,7 @@ Modifiers:
|
|
|
1814
1836
|
- [`.shortcut()`](bloom-language-modifiers.mdx#shortcut) `(value: string)`: Its keyboard shortcut, drawn at its end and bound on the web (`⌘1`).
|
|
1815
1837
|
- [`.secondary()`](bloom-language-modifiers.mdx#secondary) `()`: Pinned at the sidebar's foot, under its other rows.
|
|
1816
1838
|
- [`.onPress()`](bloom-language-modifiers.mdx#onpress) `(value: Press | undefined)`
|
|
1817
|
-
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)`
|
|
1839
|
+
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)` (here: a value)
|
|
1818
1840
|
|
|
1819
1841
|
Takes only the modifiers above (no universal modifiers).
|
|
1820
1842
|
|
|
@@ -1863,7 +1885,7 @@ Modifiers:
|
|
|
1863
1885
|
- [`.expanded()`](bloom-language-modifiers.mdx#expanded) `(value: Binding<boolean>)`
|
|
1864
1886
|
- [`.emptyLabel()`](bloom-language-modifiers.mdx#emptylabel) `(value: string)`
|
|
1865
1887
|
- [`.onPress()`](bloom-language-modifiers.mdx#onpress) `(value: Press | undefined)`
|
|
1866
|
-
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)`
|
|
1888
|
+
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)` (here: a value)
|
|
1867
1889
|
- [`.draggable()`](bloom-language-modifiers.mdx#draggable) `(value?: boolean)`: It can be dragged (the sidebar's `.onDrop` takes it): a long press lifts it on touch.
|
|
1868
1890
|
- [`.droppable()`](bloom-language-modifiers.mdx#droppable) `(value?: boolean)`: `false`: nothing lands inside it.
|
|
1869
1891
|
- [`.dropBeside()`](bloom-language-modifiers.mdx#dropbeside) `(value?: boolean)`: `false`: nothing lands before or after it (a container among containers); a drop goes inside.
|
|
@@ -2006,7 +2028,7 @@ Modifiers:
|
|
|
2006
2028
|
- [`.sidebar()`](bloom-language-modifiers.mdx#sidebar) `(value?: boolean)`: A row of the sidebar (shown when it has a label and an icon, by default).
|
|
2007
2029
|
- [`.sidebarAfter()`](bloom-language-modifiers.mdx#sidebarafter) `(value: string)`: Its sidebar row goes after this destination's.
|
|
2008
2030
|
- [`.onPress()`](bloom-language-modifiers.mdx#onpress) `(value: (() => void) | undefined)`
|
|
2009
|
-
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)`
|
|
2031
|
+
- [`.onLongPress()`](bloom-language-modifiers.mdx#onlongpress) `(value: (() => void) | undefined)` (here: a value)
|
|
2010
2032
|
|
|
2011
2033
|
Takes only the modifiers above (no universal modifiers).
|
|
2012
2034
|
|
|
@@ -2410,7 +2432,7 @@ And every universal modifier.
|
|
|
2410
2432
|
|
|
2411
2433
|
Token sets:
|
|
2412
2434
|
|
|
2413
|
-
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
2435
|
+
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
2414
2436
|
- `.tint()`: [color](bloom-language-tokens.mdx#color), `'foreground'`, `'muted'`, `'textTertiary'`, `'primary'`, `'primaryText'`, `'onPrimary'`, `'secondary'`, `'onSecondary'`, `'tertiary'`, `'onTertiary'`, `'background'`, `'surface'`, `'popover'`, `'border'`, `'input'`, `'success'`, `'successText'`, `'warning'`, `'warningText'`, `'error'`, `'info'`, `'mutedFill'`, `'card'`, `'destructive'`, `'white'`, `'black'`, `'transparent'`, `'onSurface'`, `'accent'`, `'errorText'`, `'infoText'`, `'surfaceFill'`
|
|
2415
2437
|
|
|
2416
2438
|
Modifiers:
|
|
@@ -2623,9 +2645,9 @@ Modifiers:
|
|
|
2623
2645
|
- [`.estimatedItemSize()`](bloom-language-modifiers.mdx#estimateditemsize) `(value: number)`: The engine's first estimate of a row's height, in px.
|
|
2624
2646
|
- [`.columns()`](bloom-language-modifiers.mdx#columns) `(value: number)`: Items per row.
|
|
2625
2647
|
- [`.itemLayout()`](bloom-language-modifiers.mdx#itemlayout) `(value: VirtualListItemLayout<T>)`: How many of the columns an item takes: the function sets `layout.span` (Bloom's `overrideItemLayout`; 1 by default), so a full-width row sits in the grid. FlashList and the web; the `FlatList` fallback gives every item one column.
|
|
2626
|
-
- [`.onEndReached()`](bloom-language-modifiers.mdx#onendreached) `(action: () => void, threshold?: number)`: Called near the end, `threshold` viewports from it
|
|
2648
|
+
- [`.onEndReached()`](bloom-language-modifiers.mdx#onendreached) `(action: (() => void) | undefined, threshold?: number)`: Called near the end, `threshold` viewports from it; `undefined` (nothing more to load) calls nothing, as `onEndReached={undefined}`.
|
|
2627
2649
|
- [`.refreshable()`](bloom-language-modifiers.mdx#refreshable) `(value: Refresh)` (here: a value): Pull to refresh: a binding a pull writes `true` (the app writes `false` when done), or `{ refreshing, onRefresh }`, a refreshing value and the action a pull runs (a query's `isRefetching` and `refetch`).
|
|
2628
|
-
- [`.stickyIndices()`](bloom-language-modifiers.mdx#stickyindices) `(value: readonly number[])`: The indices whose rows stick to the top
|
|
2650
|
+
- [`.stickyIndices()`](bloom-language-modifiers.mdx#stickyindices) `(value: readonly number[] | undefined)`: The indices whose rows stick to the top; `undefined` sticks none, as `stickyHeaderIndices={undefined}`.
|
|
2629
2651
|
- [`.restorationKey()`](bloom-language-modifiers.mdx#restorationkey) `(value: string)`: Where its scroll position is kept across visits.
|
|
2630
2652
|
- [`.headerContent()`](bloom-language-modifiers.mdx#headercontent) `(value: Child)`
|
|
2631
2653
|
- [`.headerFitsContent()`](bloom-language-modifiers.mdx#headerfitscontent) `()`: The header is its content's height and the list's width: its container neither grows nor shrinks and stretches across (`ListHeaderComponentStyle`'s `flexGrow: 0, flexShrink: 0, alignSelf: 'stretch'`), so the engine never stretches it to the viewport and the row after it (a sticky one) starts under it.
|
|
@@ -3064,7 +3086,7 @@ And every universal modifier.
|
|
|
3064
3086
|
|
|
3065
3087
|
Token sets:
|
|
3066
3088
|
|
|
3067
|
-
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3089
|
+
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3068
3090
|
|
|
3069
3091
|
Modifiers:
|
|
3070
3092
|
|
|
@@ -3079,7 +3101,7 @@ And every universal modifier.
|
|
|
3079
3101
|
|
|
3080
3102
|
Token sets:
|
|
3081
3103
|
|
|
3082
|
-
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3104
|
+
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3083
3105
|
- `.tint()`: [color](bloom-language-tokens.mdx#color), `'foreground'`, `'muted'`, `'textTertiary'`, `'primary'`, `'primaryText'`, `'onPrimary'`, `'secondary'`, `'onSecondary'`, `'tertiary'`, `'onTertiary'`, `'background'`, `'surface'`, `'popover'`, `'border'`, `'input'`, `'success'`, `'successText'`, `'warning'`, `'warningText'`, `'error'`, `'info'`, `'mutedFill'`, `'card'`, `'destructive'`, `'white'`, `'black'`, `'transparent'`, `'onSurface'`, `'accent'`, `'errorText'`, `'infoText'`, `'surfaceFill'`
|
|
3084
3106
|
|
|
3085
3107
|
Modifiers:
|
|
@@ -3101,7 +3123,7 @@ Token sets:
|
|
|
3101
3123
|
Modifiers:
|
|
3102
3124
|
|
|
3103
3125
|
- [`.size()`](bloom-language-modifiers.mdx#size) `(value: IconSizeToken)`: Its width and height: an icon rung, a numeric side or an app token (Bloom's 26 by default).
|
|
3104
|
-
- [`.tint()`](bloom-language-modifiers.mdx#tint) `(value:
|
|
3126
|
+
- [`.tint()`](bloom-language-modifiers.mdx#tint) `(value: InkToken)`: Its colour (Bloom's `color`): a role painted from the theme, or an app's own colour (`defineTokens({ color: { onVideo: '#FFFFFF' } })`), drawn as written; the text's colour by default.
|
|
3105
3127
|
|
|
3106
3128
|
And every universal modifier.
|
|
3107
3129
|
|
|
@@ -3516,9 +3538,9 @@ Modifiers:
|
|
|
3516
3538
|
|
|
3517
3539
|
- [`.streaming()`](bloom-language-modifiers.mdx#streaming) `(value?: boolean)`: The text is still arriving: an unclosed span is drawn as it will close.
|
|
3518
3540
|
- [`.onLinkPress()`](bloom-language-modifiers.mdx#onlinkpress) `(value: (url: string) => void)`: What a link does (opened outside the app by default).
|
|
3519
|
-
- [`.plainRun()`](bloom-language-modifiers.mdx#plainrun) `(value: (text: string) =>
|
|
3520
|
-
- [`.linkView()`](bloom-language-modifiers.mdx#linkview) `(value: (link: InlineMarkdownLink) =>
|
|
3521
|
-
- [`.suffix()`](bloom-language-modifiers.mdx#suffix) `(value:
|
|
3541
|
+
- [`.plainRun()`](bloom-language-modifiers.mdx#plainrun) `(value: (text: string) => TextRuns)`: Runs of your own for each plain run (mentions, tags), not inside links or code: one run or several, strings beside spans, as a `Text` takes them.
|
|
3542
|
+
- [`.linkView()`](bloom-language-modifiers.mdx#linkview) `(value: (link: InlineMarkdownLink) => TextRuns)`: A link of your own, as runs of the text; `undefined` keeps Bloom's.
|
|
3543
|
+
- [`.suffix()`](bloom-language-modifiers.mdx#suffix) `(value: TextRuns)`: What follows the runs, in the line (a "Read more"): runs of the text.
|
|
3522
3544
|
|
|
3523
3545
|
And every universal modifier.
|
|
3524
3546
|
|
|
@@ -3630,7 +3652,7 @@ Takes only the modifiers above (no universal modifiers).
|
|
|
3630
3652
|
|
|
3631
3653
|
Token sets:
|
|
3632
3654
|
|
|
3633
|
-
- `.blend()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3655
|
+
- `.blend()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3634
3656
|
|
|
3635
3657
|
Modifiers:
|
|
3636
3658
|
|
|
@@ -3724,7 +3746,7 @@ And every universal modifier.
|
|
|
3724
3746
|
|
|
3725
3747
|
Token sets:
|
|
3726
3748
|
|
|
3727
|
-
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3749
|
+
- `.size()`: [space](bloom-language-tokens.mdx#space), `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'1'`, `'3'`, `'6'`, `'10'`, `'14'`, `'28'`, `'30'`, `'36'`, `'38'`, `'44'`, `'48'`, `'56'`, `'64'`, `'72'`, `'76'`, `'80'`, `'96'`, `'120'`, `'128'`, `'140'`, `'160'`, `'192'`, `'200'`, `'224'`, `'240'`, `'256'`, `'260'`, `'280'`, `'288'`, `'300'`, `'320'`, `'360'`, `'380'`, `'384'`, `'400'`, `'420'`, `'440'`, `'448'`, `'480'`, `'512'`, `'540'`, `'560'`, `'640'`, `'672'`, `'720'`, `'768'`, `'1200'`
|
|
3728
3750
|
- `.tint()`: [composerButtonTone](bloom-language-tokens.mdx#composerbuttontone), `'plain'`, `'accent'`
|
|
3729
3751
|
|
|
3730
3752
|
Modifiers:
|