@oxy.so/bloom 23.8.1 → 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/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 -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/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/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/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/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/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/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/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/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/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/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/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/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/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
|
@@ -7,34 +7,37 @@ description: Every modifier of the Bloom language: its parameters and their toke
|
|
|
7
7
|
|
|
8
8
|
# Bloom language modifiers
|
|
9
9
|
|
|
10
|
-
Every modifier the language has (
|
|
10
|
+
Every modifier the language has (667). Each lists its parameters as the spec types them (a token set, an object of tokens, or a free value such as a string, a callback or a binding), its TypeScript signature where the package declares it, and which nodes take it. A token set links to its values in [the tokens reference](bloom-language-tokens.mdx). How modifiers combine (order is nesting, the environment, variants) is in [the tour](bloom-language-tour.mdx#modifiers-and-order).
|
|
11
11
|
|
|
12
12
|
## Universal modifiers
|
|
13
13
|
|
|
14
14
|
Every node takes these, except the 65 nodes that take only their own ([menuItem](bloom-language-nodes.mdx#menuitem), [menuSubmenu](bloom-language-nodes.mdx#menusubmenu), [menuSection](bloom-language-nodes.mdx#menusection), [alert](bloom-language-nodes.mdx#alert), [dialog](bloom-language-nodes.mdx#dialog), [popover](bloom-language-nodes.mdx#popover), [connectionStatus](bloom-language-nodes.mdx#connectionstatus), [menuContent](bloom-language-nodes.mdx#menucontent), [menuActions](bloom-language-nodes.mdx#menuactions), [header](bloom-language-nodes.mdx#header), [bottomBar](bloom-language-nodes.mdx#bottombar), [tab](bloom-language-nodes.mdx#tab), [cardTitle](bloom-language-nodes.mdx#cardtitle), [cardDescription](bloom-language-nodes.mdx#carddescription), [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [tabItem](bloom-language-nodes.mdx#tabitem), [errorBoundary](bloom-language-nodes.mdx#errorboundary), [group](bloom-language-nodes.mdx#group), [appLayout](bloom-language-nodes.mdx#applayout), [navStack](bloom-language-nodes.mdx#navstack), [route](bloom-language-nodes.mdx#route), [tabView](bloom-language-nodes.mdx#tabview), [option](bloom-language-nodes.mdx#option), [optionGroup](bloom-language-nodes.mdx#optiongroup), [groupedSectionIcon](bloom-language-nodes.mdx#groupedsectionicon), [groupedSectionDivider](bloom-language-nodes.mdx#groupedsectiondivider), [groupedSectionCollapse](bloom-language-nodes.mdx#groupedsectioncollapse), [bottomSheet](bloom-language-nodes.mdx#bottomsheet), [sidebar](bloom-language-nodes.mdx#sidebar), [navItem](bloom-language-nodes.mdx#navitem), [treeSection](bloom-language-nodes.mdx#treesection), [treeFolder](bloom-language-nodes.mdx#treefolder), [treeItem](bloom-language-nodes.mdx#treeitem), [rail](bloom-language-nodes.mdx#rail), [railItem](bloom-language-nodes.mdx#railitem), [command](bloom-language-nodes.mdx#command), [commandItem](bloom-language-nodes.mdx#commanditem), [commandGroup](bloom-language-nodes.mdx#commandgroup), [settings](bloom-language-nodes.mdx#settings), [settingsGroup](bloom-language-nodes.mdx#settingsgroup), [settingsItem](bloom-language-nodes.mdx#settingsitem), [panel](bloom-language-nodes.mdx#panel), [destination](bloom-language-nodes.mdx#destination), [toolbarView](bloom-language-nodes.mdx#toolbarview), [stickySection](bloom-language-nodes.mdx#stickysection), [pageFooter](bloom-language-nodes.mdx#pagefooter), [autoHideBar](bloom-language-nodes.mdx#autohidebar), [resizeHandle](bloom-language-nodes.mdx#resizehandle), [sidebarMode](bloom-language-nodes.mdx#sidebarmode), [settingsTextField](bloom-language-nodes.mdx#settingstextfield), [settingsDateField](bloom-language-nodes.mdx#settingsdatefield), [fact](bloom-language-nodes.mdx#fact), [videoPlayback](bloom-language-nodes.mdx#videoplayback), [videoViewability](bloom-language-nodes.mdx#videoviewability), [videoViewabilityScope](bloom-language-nodes.mdx#videoviewabilityscope), [menubarMenu](bloom-language-nodes.mdx#menubarmenu), [mediaFlightLayer](bloom-language-nodes.mdx#mediaflightlayer), [avatarFlightLayer](bloom-language-nodes.mdx#avatarflightlayer), [gallery](bloom-language-nodes.mdx#gallery), [dataColumn](bloom-language-nodes.mdx#datacolumn), [sortableChip](bloom-language-nodes.mdx#sortablechip), [viewport](bloom-language-nodes.mdx#viewport), [toolbarGroup](bloom-language-nodes.mdx#toolbargroup), [toolbarSpacer](bloom-language-nodes.mdx#toolbarspacer), [confirmationDialog](bloom-language-nodes.mdx#confirmationdialog)):
|
|
15
15
|
|
|
16
|
-
[`.padding()`](#padding), [`.safeAreaPadding()`](#safeareapadding), [`.frame()`](#frame), [`.aspectRatio()`](#aspectratio), [`.grow()`](#grow), [`.shrink()`](#shrink), [`.alignSelf()`](#alignself), [`.position()`](#position), [`.offset()`](#offset), [`.zIndex()`](#zindex), [`.hidden()`](#hidden), [`.basis()`](#basis), [`.flex()`](#flex), [`.margin()`](#margin), [`.scale()`](#scale), [`.allowsHitTesting()`](#allowshittesting), [`.accessibilityOnly()`](#accessibilityonly), [`.background()`](#background), [`.overlay()`](#overlay), [`.border()`](#border), [`.borderStyle()`](#borderstyle), [`.ring()`](#ring), [`.corner()`](#corner), [`.cornerCurve()`](#cornercurve), [`.clipped()`](#clipped), [`.opacity()`](#opacity), [`.shadow()`](#shadow), [`.glass()`](#glass), [`.blur()`](#blur), [`.foreground()`](#foreground), [`.font()`](#font), [`.weight()`](#weight), [`.leading()`](#leading), [`.tracking()`](#tracking), [`.onPress()`](#onpress), [`.onLongPress()`](#onlongpress), [`.onHover()`](#onhover), [`.hoverGroup()`](#hovergroup), [`.pressScale()`](#pressscale), [`.pressFade()`](#pressfade), [`.label()`](#label), [`.hint()`](#hint), [`.role()`](#role), [`.accessibilityState()`](#accessibilitystate), [`.accessibilityValue()`](#accessibilityvalue), [`.liveRegion()`](#liveregion), [`.accessibilityHidden()`](#accessibilityhidden), [`.hitSlop()`](#hitslop), [`.testID()`](#testid), [`.ref()`](#ref), [`.onLayout()`](#onlayout), [`.badge()`](#badge), [`.id()`](#id), [`.title()`](#title), [`.titleDisplay()`](#titledisplay), [`.subtitle()`](#subtitle), [`.header()`](#header), [`.toolbar()`](#toolbar), [`.toolbarLeading()`](#toolbarleading), [`.onBack()`](#onback), [`.backLabel()`](#backlabel), [`.headingLevel()`](#headinglevel), [`.footer()`](#footer), [`.sheet()`](#sheet), [`.alert()`](#alert), [`.dialog()`](#dialog), [`.popover()`](#popover), [`.onReselect()`](#onreselect), [`.when()`](#when), [`.rotation()`](#rotation), [`.animation()`](#animation), [`.animatesColors()`](#animatescolors), [`.transition()`](#transition), [`.keyframes()`](#keyframes), [`.repeatForever()`](#repeatforever), [`.delay()`](#delay), [`.anchor()`](#anchor), [`.matchedGeometry()`](#matchedgeometry), [`.drag()`](#drag), [`.swipe()`](#swipe), [`.pinch()`](#pinch), [`.onDoubleTap()`](#ondoubletap), [`.screenKind()`](#screenkind), [`.screenScroll()`](#screenscroll), [`.documentScroll()`](#documentscroll), [`.headerPlacement()`](#headerplacement), [`.scrollEdge()`](#scrolledge), [`.underlay()`](#underlay), [`.floatingAction()`](#floatingaction), [`.contentClearance()`](#contentclearance), [`.navigationScope()`](#navigationscope), [`.colorPreset()`](#colorpreset), [`.seed()`](#seed), [`.screenActive()`](#screenactive), [`.replacesBottomBar()`](#replacesbottombar), [`.screenBackground()`](#screenbackground), [`.reselectTop()`](#reselecttop), [`.initialHeaderHeight()`](#initialheaderheight), [`.initialFooterHeight()`](#initialfooterheight), [`.colorScope()`](#colorscope), [`.keyboardAvoiding()`](#keyboardavoiding), [`.provider()`](#provider), [`.fullScreenCover()`](#fullscreencover), [`.glassID()`](#glassid), [`.glassUnion()`](#glassunion), [`.glassTransition()`](#glasstransition), [`.inContent()`](#incontent), [`.disabled()`](#disabled), [`.environment()`](#environment), [`.controlSize()`](#controlsize), [`.buttonStyle()`](#buttonstyle), [`.modifier()`](#modifier), [`.confirmationDialog()`](#confirmationdialog), [`.phases()`](#phases)
|
|
16
|
+
[`.padding()`](#padding), [`.safeAreaPadding()`](#safeareapadding), [`.frame()`](#frame), [`.aspectRatio()`](#aspectratio), [`.grow()`](#grow), [`.shrink()`](#shrink), [`.alignSelf()`](#alignself), [`.position()`](#position), [`.sticky()`](#sticky), [`.cursor()`](#cursor), [`.offset()`](#offset), [`.zIndex()`](#zindex), [`.hidden()`](#hidden), [`.basis()`](#basis), [`.flex()`](#flex), [`.margin()`](#margin), [`.scale()`](#scale), [`.allowsHitTesting()`](#allowshittesting), [`.accessibilityOnly()`](#accessibilityonly), [`.background()`](#background), [`.overlay()`](#overlay), [`.border()`](#border), [`.borderStyle()`](#borderstyle), [`.ring()`](#ring), [`.corner()`](#corner), [`.cornerCurve()`](#cornercurve), [`.clipped()`](#clipped), [`.opacity()`](#opacity), [`.shadow()`](#shadow), [`.glass()`](#glass), [`.blur()`](#blur), [`.foreground()`](#foreground), [`.font()`](#font), [`.weight()`](#weight), [`.leading()`](#leading), [`.tracking()`](#tracking), [`.onPress()`](#onpress), [`.onLongPress()`](#onlongpress), [`.onHover()`](#onhover), [`.hoverGroup()`](#hovergroup), [`.pressScale()`](#pressscale), [`.pressFade()`](#pressfade), [`.label()`](#label), [`.hint()`](#hint), [`.role()`](#role), [`.accessibilityState()`](#accessibilitystate), [`.accessibilityValue()`](#accessibilityvalue), [`.liveRegion()`](#liveregion), [`.accessibilityHidden()`](#accessibilityhidden), [`.accessibilityElement()`](#accessibilityelement), [`.focusable()`](#focusable), [`.collapsable()`](#collapsable), [`.hitSlop()`](#hitslop), [`.testID()`](#testid), [`.ref()`](#ref), [`.onLayout()`](#onlayout), [`.badge()`](#badge), [`.id()`](#id), [`.title()`](#title), [`.titleDisplay()`](#titledisplay), [`.subtitle()`](#subtitle), [`.header()`](#header), [`.toolbar()`](#toolbar), [`.toolbarLeading()`](#toolbarleading), [`.onBack()`](#onback), [`.backLabel()`](#backlabel), [`.headingLevel()`](#headinglevel), [`.footer()`](#footer), [`.sheet()`](#sheet), [`.alert()`](#alert), [`.dialog()`](#dialog), [`.popover()`](#popover), [`.onReselect()`](#onreselect), [`.when()`](#when), [`.rotation()`](#rotation), [`.animation()`](#animation), [`.animatesColors()`](#animatescolors), [`.transition()`](#transition), [`.keyframes()`](#keyframes), [`.repeatForever()`](#repeatforever), [`.delay()`](#delay), [`.anchor()`](#anchor), [`.matchedGeometry()`](#matchedgeometry), [`.drag()`](#drag), [`.swipe()`](#swipe), [`.pinch()`](#pinch), [`.onDoubleTap()`](#ondoubletap), [`.screenKind()`](#screenkind), [`.screenScroll()`](#screenscroll), [`.documentScroll()`](#documentscroll), [`.headerPlacement()`](#headerplacement), [`.scrollEdge()`](#scrolledge), [`.underlay()`](#underlay), [`.floatingAction()`](#floatingaction), [`.contentClearance()`](#contentclearance), [`.navigationScope()`](#navigationscope), [`.colorPreset()`](#colorpreset), [`.seed()`](#seed), [`.screenActive()`](#screenactive), [`.replacesBottomBar()`](#replacesbottombar), [`.screenBackground()`](#screenbackground), [`.reselectTop()`](#reselecttop), [`.initialHeaderHeight()`](#initialheaderheight), [`.initialFooterHeight()`](#initialfooterheight), [`.colorScope()`](#colorscope), [`.keyboardAvoiding()`](#keyboardavoiding), [`.provider()`](#provider), [`.fullScreenCover()`](#fullscreencover), [`.glassID()`](#glassid), [`.glassUnion()`](#glassunion), [`.glassTransition()`](#glasstransition), [`.inContent()`](#incontent), [`.disabled()`](#disabled), [`.environment()`](#environment), [`.controlSize()`](#controlsize), [`.buttonStyle()`](#buttonstyle), [`.modifier()`](#modifier), [`.confirmationDialog()`](#confirmationdialog), [`.phases()`](#phases)
|
|
17
17
|
|
|
18
18
|
## Modifiers
|
|
19
19
|
|
|
20
20
|
### `padding`
|
|
21
21
|
|
|
22
|
+
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'`).
|
|
23
|
+
|
|
22
24
|
- Parameters: [edge](bloom-language-tokens.mdx#edge) (optional); [padding](bloom-language-tokens.mdx#padding)
|
|
23
|
-
- Signature: `.padding(value: PaddingToken)` or `.padding(edge: Edge, value: PaddingToken)`
|
|
25
|
+
- Signature: `.padding(value: PaddingToken | Points)` or `.padding(edge: Edge, value: PaddingToken | Points)`
|
|
24
26
|
- Taken by: every node (universal), and [dialog](bloom-language-nodes.mdx#dialog), [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [tabItem](bloom-language-nodes.mdx#tabitem), [errorBoundary](bloom-language-nodes.mdx#errorboundary)
|
|
25
27
|
- Narrower on: [dialog](bloom-language-nodes.mdx#dialog) ([space](bloom-language-tokens.mdx#space))
|
|
26
28
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
27
29
|
- `edge` tokens: `'all'`, `'horizontal'`, `'vertical'`, `'top'`, `'bottom'`, `'leading'`, `'trailing'`, `'left'`, `'right'`
|
|
28
|
-
- `padding` tokens:
|
|
30
|
+
- `padding` tokens: 116, listed under [padding](bloom-language-tokens.mdx#padding)
|
|
29
31
|
|
|
30
32
|
### `safeAreaPadding`
|
|
31
33
|
|
|
32
34
|
Padded by the device's safe area on those sides (all by default), as SwiftUI's `.safeAreaPadding()`: React Native's safe-area insets (`react-native-safe-area-context`), a view of its own, so a padding beside it adds to it. The sides are physical: the insets are the device's.
|
|
33
35
|
|
|
34
|
-
- Parameters: [physicalEdge](bloom-language-tokens.mdx#physicaledge) (optional)
|
|
35
|
-
- Signature: `.safeAreaPadding(edge?: PhysicalEdge)`
|
|
36
|
+
- Parameters: [physicalEdge](bloom-language-tokens.mdx#physicaledge) (optional); [safeArea](bloom-language-tokens.mdx#safearea) (optional)
|
|
37
|
+
- Signature: `.safeAreaPadding(edge?: PhysicalEdge)` or `.safeAreaPadding(edge: PhysicalEdge, source: SafeArea)`
|
|
36
38
|
- Taken by: every node (universal)
|
|
37
39
|
- `physicalEdge` tokens: `'all'`, `'top'`, `'bottom'`, `'horizontal'`, `'vertical'`, `'left'`, `'right'`
|
|
40
|
+
- `safeArea` tokens: `'device'`, `'content'`
|
|
38
41
|
|
|
39
42
|
### `frame`
|
|
40
43
|
|
|
@@ -42,7 +45,7 @@ Padded by the device's safe area on those sides (all by default), as SwiftUI's `
|
|
|
42
45
|
- Signature: `.frame(value: FrameSpec)`
|
|
43
46
|
- Taken by: every node (universal), and [dialog](bloom-language-nodes.mdx#dialog), [popover](bloom-language-nodes.mdx#popover), [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [tabItem](bloom-language-nodes.mdx#tabitem), [errorBoundary](bloom-language-nodes.mdx#errorboundary)
|
|
44
47
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
45
|
-
- `frame` tokens:
|
|
48
|
+
- `frame` tokens: 70, listed under [length](bloom-language-tokens.mdx#length)
|
|
46
49
|
|
|
47
50
|
### `grow`
|
|
48
51
|
|
|
@@ -59,7 +62,7 @@ Takes the free space along its parent's axis.
|
|
|
59
62
|
- Signature: `.shrink(value: ShrinkPriority)`
|
|
60
63
|
- Taken by: every node (universal), and [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [errorBoundary](bloom-language-nodes.mdx#errorboundary)
|
|
61
64
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
62
|
-
- `shrink` tokens: `'never'`, `'normal'`, `'first'`
|
|
65
|
+
- `shrink` tokens: `'never'`, `'normal'`, `'first'`, `'20'`
|
|
63
66
|
|
|
64
67
|
### `background`
|
|
65
68
|
|
|
@@ -101,17 +104,17 @@ A ring outside the box (an outline, which takes no room): a role, `thin` by defa
|
|
|
101
104
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
102
105
|
- `ring` tokens: `'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'`, `'none'`
|
|
103
106
|
- `borderWidth` tokens: `'hairline'`, `'thin'`, `'thick'`, `'0.5'`, `'1.5'`, `'2.5'`, `'3'`, `'4'`
|
|
104
|
-
- `space` tokens:
|
|
107
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
105
108
|
|
|
106
109
|
### `position`
|
|
107
110
|
|
|
108
111
|
Pinned to its parent's edges, out of the stack's flow (absolute): each edge given is a distance from that edge of the parent. An overlay (`.overlay(view, alignment)`) is the way to lay one view over another.
|
|
109
112
|
|
|
110
|
-
- Parameters: `{ top, bottom, leading, trailing, left, right }`, each [edgeDistance](bloom-language-tokens.mdx#edgedistance)
|
|
113
|
+
- Parameters: `{ top, bottom, leading, trailing, left, right, horizontal, vertical }`, each [edgeDistance](bloom-language-tokens.mdx#edgedistance)
|
|
111
114
|
- Signature: `.position(value: PositionEdges)`
|
|
112
115
|
- Taken by: every node (universal)
|
|
113
116
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
114
|
-
- `edges` tokens:
|
|
117
|
+
- `edges` tokens: 118, listed under [edgeDistance](bloom-language-tokens.mdx#edgedistance)
|
|
115
118
|
|
|
116
119
|
### `offset`
|
|
117
120
|
|
|
@@ -121,7 +124,7 @@ Drawn shifted from where it is laid out (`x` right, `y` down); its siblings keep
|
|
|
121
124
|
- Signature: `.offset(value: OffsetSpec)`
|
|
122
125
|
- Taken by: every node (universal)
|
|
123
126
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
124
|
-
- `offset` tokens:
|
|
127
|
+
- `offset` tokens: 116, listed under [padding](bloom-language-tokens.mdx#padding)
|
|
125
128
|
|
|
126
129
|
### `zIndex`
|
|
127
130
|
|
|
@@ -151,7 +154,7 @@ Its length along its parent's axis before free space is shared (`flex-basis`): a
|
|
|
151
154
|
- Taken by: every node (universal), and [dataColumn](bloom-language-nodes.mdx#datacolumn)
|
|
152
155
|
- Narrower on: [dataColumn](bloom-language-nodes.mdx#datacolumn) ([space](bloom-language-tokens.mdx#space))
|
|
153
156
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
154
|
-
- `length` tokens:
|
|
157
|
+
- `length` tokens: 70, listed under [length](bloom-language-tokens.mdx#length)
|
|
155
158
|
|
|
156
159
|
### `flex`
|
|
157
160
|
|
|
@@ -172,7 +175,7 @@ Room outside the box, on every edge or one (`top`, `leading`, `left`…): a marg
|
|
|
172
175
|
- Taken by: every node (universal)
|
|
173
176
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
174
177
|
- `edge` tokens: `'all'`, `'horizontal'`, `'vertical'`, `'top'`, `'bottom'`, `'leading'`, `'trailing'`, `'left'`, `'right'`
|
|
175
|
-
- `margin` tokens:
|
|
178
|
+
- `margin` tokens: 117, listed under [margin](bloom-language-tokens.mdx#margin)
|
|
176
179
|
|
|
177
180
|
### `horizontalSpacing`
|
|
178
181
|
|
|
@@ -182,7 +185,7 @@ The gap between children side by side (`columnGap`, Tailwind's `gap-x-*`), over
|
|
|
182
185
|
- Signature: `.horizontalSpacing(value: SpaceToken)`
|
|
183
186
|
- Taken by: [stack](bloom-language-nodes.mdx#stack)
|
|
184
187
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
185
|
-
- `space` tokens:
|
|
188
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
186
189
|
|
|
187
190
|
### `verticalSpacing`
|
|
188
191
|
|
|
@@ -192,7 +195,7 @@ The gap between children one above another, and between wrapped lines (`rowGap`,
|
|
|
192
195
|
- Signature: `.verticalSpacing(value: SpaceToken)`
|
|
193
196
|
- Taken by: [stack](bloom-language-nodes.mdx#stack)
|
|
194
197
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
195
|
-
- `space` tokens:
|
|
198
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
196
199
|
|
|
197
200
|
### `borderStyle`
|
|
198
201
|
|
|
@@ -212,7 +215,7 @@ Tailwind's `space-x-*`/`space-y-*` exactly as NativeWind draws them: on the web
|
|
|
212
215
|
- Taken by: [stack](bloom-language-nodes.mdx#stack)
|
|
213
216
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
214
217
|
- `axis` tokens: `'horizontal'`, `'vertical'`
|
|
215
|
-
- `space` tokens:
|
|
218
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
216
219
|
|
|
217
220
|
### `scale`
|
|
218
221
|
|
|
@@ -279,7 +282,7 @@ Rounds the box: a radius rung, `full`, or `concentric` (the radius of the shape
|
|
|
279
282
|
- Signature: `.opacity(value: OpacityName)`
|
|
280
283
|
- Taken by: every node (universal), and [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [errorBoundary](bloom-language-nodes.mdx#errorboundary)
|
|
281
284
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
282
|
-
- `opacity` tokens: `'transparent'`, `'half'`, `'opaque'`, `'10'`, `'20'`, `'30'`, `'40'`, `'45'`, `'60'`, `'70'`, `'75'`, `'80'`, `'85'`, `'90'`
|
|
285
|
+
- `opacity` tokens: `'transparent'`, `'12.5'`, `'31.4'`, `'half'`, `'opaque'`, `'5'`, `'10'`, `'20'`, `'25'`, `'30'`, `'40'`, `'45'`, `'60'`, `'70'`, `'75'`, `'80'`, `'85'`, `'90'`
|
|
283
286
|
|
|
284
287
|
### `glass`
|
|
285
288
|
|
|
@@ -318,7 +321,7 @@ A ramp step or a size rung; or a face, which keeps the size: `mono`, Bloom's mon
|
|
|
318
321
|
- Taken by: every node (universal), and [tabItem](bloom-language-nodes.mdx#tabitem)
|
|
319
322
|
- Narrower on: [tabItem](bloom-language-nodes.mdx#tabitem) ([labelFont](bloom-language-tokens.mdx#labelfont))
|
|
320
323
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
321
|
-
- `font` tokens: `'large-title'`, `'display-1'`, `'display-2'`, `'display-3'`, `'display-4'`, `'title-1'`, `'title-2'`, `'title-3'`, `'headline'`, `'body'`, `'body-2'`, `'caption-1'`, `'caption-2'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'12.5'`, `'mono'`, `'display'`, `'9'`, `'11'`, `'14'`, `'16'`, `'18'`, `'24'`, `'28'`, `'30'`, `'36'`, `'42'`, `'96'`
|
|
324
|
+
- `font` tokens: `'large-title'`, `'display-1'`, `'display-2'`, `'display-3'`, `'display-4'`, `'title-1'`, `'title-2'`, `'title-3'`, `'headline'`, `'body'`, `'body-2'`, `'caption-1'`, `'caption-2'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'4xl'`, `'5xl'`, `'12.5'`, `'mono'`, `'display'`, `'system-mono'`, `'9'`, `'11'`, `'14'`, `'16'`, `'18'`, `'24'`, `'28'`, `'30'`, `'36'`, `'42'`, `'96'`
|
|
322
325
|
|
|
323
326
|
### `weight`
|
|
324
327
|
|
|
@@ -353,7 +356,7 @@ The gap between children.
|
|
|
353
356
|
- Signature: `.spacing(value: SpaceToken)`
|
|
354
357
|
- Taken by: [stack](bloom-language-nodes.mdx#stack), [avatarGroup](bloom-language-nodes.mdx#avatargroup), [grid](bloom-language-nodes.mdx#grid), [divider](bloom-language-nodes.mdx#divider), [card](bloom-language-nodes.mdx#card), [chipRow](bloom-language-nodes.mdx#chiprow), [cappedChipRow](bloom-language-nodes.mdx#cappedchiprow), [scrollView](bloom-language-nodes.mdx#scrollview), [scrollArea](bloom-language-nodes.mdx#scrollarea), [scrollSurface](bloom-language-nodes.mdx#scrollsurface), [virtualList](bloom-language-nodes.mdx#virtuallist), [carousel](bloom-language-nodes.mdx#carousel), [activityHeatmap](bloom-language-nodes.mdx#activityheatmap), [choiceList](bloom-language-nodes.mdx#choicelist), [categoryBar](bloom-language-nodes.mdx#categorybar), [chartCardSurface](bloom-language-nodes.mdx#chartcardsurface), [chatFolderTabs](bloom-language-nodes.mdx#chatfoldertabs), [storiesRow](bloom-language-nodes.mdx#storiesrow), [sharedMediaGrid](bloom-language-nodes.mdx#sharedmediagrid), [shelf](bloom-language-nodes.mdx#shelf), [shelfSkeleton](bloom-language-nodes.mdx#shelfskeleton), [groupCallGrid](bloom-language-nodes.mdx#groupcallgrid)
|
|
355
358
|
- Varies under `.when(condition, v => v…)` ([variants](bloom-language-tour.mdx#variants)).
|
|
356
|
-
- `space` tokens:
|
|
359
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
357
360
|
|
|
358
361
|
### `align`
|
|
359
362
|
|
|
@@ -445,7 +448,7 @@ Cross-fades the image in when it arrives, over a Bloom duration. Defaults to non
|
|
|
445
448
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
446
449
|
- Signature: `.crossFade(value: DurationName)`
|
|
447
450
|
- Taken by: [image](bloom-language-nodes.mdx#image)
|
|
448
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
451
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
449
452
|
|
|
450
453
|
### `onLoad`
|
|
451
454
|
|
|
@@ -647,9 +650,13 @@ The side of the view it opens on, and its alignment along that side.
|
|
|
647
650
|
|
|
648
651
|
### `onLongPress`
|
|
649
652
|
|
|
650
|
-
|
|
651
|
-
|
|
653
|
+
The action of a press held down, after `duration` (React Native's `delayLongPress`: its own 500 ms when the chain names none).
|
|
654
|
+
|
|
655
|
+
- Parameters: a value; [duration](bloom-language-tokens.mdx#duration) (optional)
|
|
656
|
+
- Signature: `.onLongPress(value: (() => void) | undefined, duration?: DurationName)`
|
|
652
657
|
- Taken by: every node (universal), and [tabItem](bloom-language-nodes.mdx#tabitem), [navItem](bloom-language-nodes.mdx#navitem), [treeItem](bloom-language-nodes.mdx#treeitem), [destination](bloom-language-nodes.mdx#destination)
|
|
658
|
+
- Narrower on: [tabItem](bloom-language-nodes.mdx#tabitem) (a value), [navItem](bloom-language-nodes.mdx#navitem) (a value), [treeItem](bloom-language-nodes.mdx#treeitem) (a value), [destination](bloom-language-nodes.mdx#destination) (a value)
|
|
659
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
653
660
|
|
|
654
661
|
### `onHover`
|
|
655
662
|
|
|
@@ -725,7 +732,50 @@ Its ink under the pointer, a colour role (Bloom's `hoverColor`); its ink at rest
|
|
|
725
732
|
|
|
726
733
|
- Parameters: a value
|
|
727
734
|
- Signature: `.editable(value: boolean)`
|
|
728
|
-
- Taken by: [textField](bloom-language-nodes.mdx#textfield)
|
|
735
|
+
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [search](bloom-language-nodes.mdx#search)
|
|
736
|
+
|
|
737
|
+
### `control`
|
|
738
|
+
|
|
739
|
+
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.
|
|
740
|
+
|
|
741
|
+
- Parameters: a value
|
|
742
|
+
- Signature: `.control(control: DialogControlProps)`
|
|
743
|
+
- Taken by: [dialog](bloom-language-nodes.mdx#dialog)
|
|
744
|
+
|
|
745
|
+
### `panelFrame`
|
|
746
|
+
|
|
747
|
+
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.
|
|
748
|
+
|
|
749
|
+
- Parameters: `{ width, height, minWidth, minHeight, maxWidth, maxHeight }`, each [length](bloom-language-tokens.mdx#length)
|
|
750
|
+
- Signature: `.panelFrame(value: FrameSpec)`
|
|
751
|
+
- Taken by: [dialog](bloom-language-nodes.mdx#dialog)
|
|
752
|
+
- `frame` tokens: 70, listed under [length](bloom-language-tokens.mdx#length)
|
|
753
|
+
|
|
754
|
+
### `ringColor`
|
|
755
|
+
|
|
756
|
+
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'`).
|
|
757
|
+
|
|
758
|
+
- Parameters: [color](bloom-language-tokens.mdx#color)
|
|
759
|
+
- Signature: `.ringColor(value: InkToken)`
|
|
760
|
+
- Taken by: [avatarGroup](bloom-language-nodes.mdx#avatargroup)
|
|
761
|
+
- `color` tokens: `'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'`
|
|
762
|
+
|
|
763
|
+
### `itemAction`
|
|
764
|
+
|
|
765
|
+
Web: a view under the member's name in its hover card (Bloom's `renderItemAction`: a follow button).
|
|
766
|
+
|
|
767
|
+
- Parameters: a value
|
|
768
|
+
- Signature: `.itemAction(value: (item: AvatarGroupItem, index: number) => Child)`
|
|
769
|
+
- Taken by: [avatarGroup](bloom-language-nodes.mdx#avatargroup)
|
|
770
|
+
|
|
771
|
+
### `cornerRadius`
|
|
772
|
+
|
|
773
|
+
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.
|
|
774
|
+
|
|
775
|
+
- Parameters: [cornerRadius](bloom-language-tokens.mdx#cornerradius)
|
|
776
|
+
- Signature: `.cornerRadius(value: Exclude<CornerName, 'concentric'>)`
|
|
777
|
+
- Taken by: [avatar](bloom-language-nodes.mdx#avatar)
|
|
778
|
+
- `cornerRadius` tokens: `'none'`, `'2xs'`, `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'2xl'`, `'3xl'`, `'full'`, `'infinite'`, `'6'`, `'7'`, `'10'`, `'14'`, `'15'`, `'18'`, `'22'`
|
|
729
779
|
|
|
730
780
|
### `pressOpenTab`
|
|
731
781
|
|
|
@@ -786,12 +836,63 @@ Hidden from screen readers, with everything inside it: on Android and iOS `acces
|
|
|
786
836
|
- Signature: `.accessibilityHidden(value?: boolean)`
|
|
787
837
|
- Taken by: every node (universal)
|
|
788
838
|
|
|
839
|
+
### `accessibilityElement`
|
|
840
|
+
|
|
841
|
+
Whether the view is one element to assistive technology (React Native's `accessible`): `false` makes it no element of its own, so what is inside it is read on its own (a row whose label area hands its name to the box beside it). Its press and focus stay.
|
|
842
|
+
|
|
843
|
+
- Parameters: a value
|
|
844
|
+
- Signature: `.accessibilityElement(value: boolean)`
|
|
845
|
+
- Taken by: every node (universal)
|
|
846
|
+
|
|
847
|
+
### `focusable`
|
|
848
|
+
|
|
849
|
+
Whether keyboard focus stops at the view (React Native's `tabIndex`: `0`, or `-1` for `false`): `false` keeps its press but takes it out of the focus order on the web and Android, as a pressable whose action another control already offers.
|
|
850
|
+
|
|
851
|
+
- Parameters: a value (optional)
|
|
852
|
+
- Signature: `.focusable(value?: boolean)`
|
|
853
|
+
- Taken by: every node (universal)
|
|
854
|
+
|
|
855
|
+
### `collapsable`
|
|
856
|
+
|
|
857
|
+
`false` keeps the view's own native view (React Native's `collapsable`): Android flattens a view that only lays out its children, which a native component measuring or animating it needs to find. Draws nothing.
|
|
858
|
+
|
|
859
|
+
- Parameters: a value
|
|
860
|
+
- Signature: `.collapsable(value: boolean)`
|
|
861
|
+
- Taken by: every node (universal)
|
|
862
|
+
|
|
863
|
+
### `sticky`
|
|
864
|
+
|
|
865
|
+
Web: held at its scroll container's `edge` (the top by default) once scrolled to it, in its parent's flow until then (CSS `position: sticky` at 0). React Native has no sticky position, so native draws the view in place; a list's or a scroll's own sticky rows are `.stickyIndices()`.
|
|
866
|
+
|
|
867
|
+
- Parameters: [stickyEdge](bloom-language-tokens.mdx#stickyedge) (optional)
|
|
868
|
+
- Signature: `.sticky(edge?: StickyEdge)`
|
|
869
|
+
- Taken by: every node (universal)
|
|
870
|
+
- `stickyEdge` tokens: `'top'`, `'bottom'`
|
|
871
|
+
|
|
872
|
+
### `motion`
|
|
873
|
+
|
|
874
|
+
Whether its character moves (Bloom's `motion`): `auto` (the default), `always`, `never` (a still portrait); reduced motion always wins.
|
|
875
|
+
|
|
876
|
+
- Parameters: [avatarMotion](bloom-language-tokens.mdx#avatarmotion)
|
|
877
|
+
- Signature: `.motion(value: AvatarMotion)`
|
|
878
|
+
- Taken by: [avatar](bloom-language-nodes.mdx#avatar), [avatarGroup](bloom-language-nodes.mdx#avatargroup)
|
|
879
|
+
- `avatarMotion` tokens: `'auto'`, `'always'`, `'never'`
|
|
880
|
+
|
|
881
|
+
### `cursor`
|
|
882
|
+
|
|
883
|
+
The pointer's shape over the view, on the web (CSS's `cursor`: `grab` over a row that drags, `pointer` over a link); native has no pointer shape to set.
|
|
884
|
+
|
|
885
|
+
- Parameters: [cursor](bloom-language-tokens.mdx#cursor)
|
|
886
|
+
- Signature: `.cursor(value: Cursor)`
|
|
887
|
+
- Taken by: every node (universal)
|
|
888
|
+
- `cursor` tokens: `'auto'`, `'default'`, `'pointer'`, `'grab'`, `'grabbing'`, `'text'`, `'move'`, `'not-allowed'`
|
|
889
|
+
|
|
789
890
|
### `role`
|
|
790
891
|
|
|
791
892
|
- Parameters: [role](bloom-language-tokens.mdx#role)
|
|
792
893
|
- Signature: `.role(value: Role)`
|
|
793
894
|
- Taken by: every node (universal)
|
|
794
|
-
- `role` tokens: `'button'`, `'link'`, `'header'`, `'image'`, `'text'`, `'none'`, `'checkbox'`, `'radio'`, `'tab'`, `'radiogroup'`, `'tablist'`, `'list'`, `'alert'`, `'progressbar'`, `'imagebutton'`, `'summary'`
|
|
895
|
+
- `role` tokens: `'button'`, `'link'`, `'header'`, `'image'`, `'text'`, `'none'`, `'checkbox'`, `'radio'`, `'tab'`, `'radiogroup'`, `'tablist'`, `'list'`, `'alert'`, `'progressbar'`, `'imagebutton'`, `'summary'`, `'option'`, `'listbox'`
|
|
795
896
|
|
|
796
897
|
### `hitSlop`
|
|
797
898
|
|
|
@@ -1116,10 +1217,10 @@ Pads its top by the safe-area inset (Bloom's default: on native, not on the web)
|
|
|
1116
1217
|
|
|
1117
1218
|
### `scrimColor`
|
|
1118
1219
|
|
|
1119
|
-
|
|
1220
|
+
A colour role (painted from the theme, at an opacity too), or an app's own colour as written.
|
|
1120
1221
|
|
|
1121
1222
|
- Parameters: [color](bloom-language-tokens.mdx#color)
|
|
1122
|
-
- Signature: `.scrimColor(value: ColorToken)`
|
|
1223
|
+
- Signature: `.scrimColor(value: ColorToken | AppToken<'color'>)`
|
|
1123
1224
|
- Taken by: [header](bloom-language-nodes.mdx#header)
|
|
1124
1225
|
- `color` tokens: `'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'`
|
|
1125
1226
|
|
|
@@ -1226,6 +1327,15 @@ Web: where a line may break inside a word (`all`, `words`); native text keeps it
|
|
|
1226
1327
|
- Taken by: [text](bloom-language-nodes.mdx#text)
|
|
1227
1328
|
- `wordBreak` tokens: `'all'`, `'words'`
|
|
1228
1329
|
|
|
1330
|
+
### `textShadow`
|
|
1331
|
+
|
|
1332
|
+
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.
|
|
1333
|
+
|
|
1334
|
+
- Parameters: [textShadow](bloom-language-tokens.mdx#textshadow)
|
|
1335
|
+
- Signature: `.textShadow(value: TextShadowName)`
|
|
1336
|
+
- Taken by: [text](bloom-language-nodes.mdx#text)
|
|
1337
|
+
- `textShadow` tokens: `'0 1px 2px rgb(0 0 0 / 0.8)'`, `'0 1px 3px rgb(0 0 0 / 0.8)'`
|
|
1338
|
+
|
|
1229
1339
|
### `listMarker`
|
|
1230
1340
|
|
|
1231
1341
|
Web: a list, each child a row behind the marker (an HTML list and its items, `list-style-type`); give it the room for the markers with a leading padding. Native draws no markers, as React Native has none.
|
|
@@ -1268,7 +1378,7 @@ A cell's narrowest width before the grid drops a column (Bloom's default: 320).
|
|
|
1268
1378
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
1269
1379
|
- Signature: `.minCellWidth(value: SpaceToken)`
|
|
1270
1380
|
- Taken by: [grid](bloom-language-nodes.mdx#grid)
|
|
1271
|
-
- `space` tokens:
|
|
1381
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
1272
1382
|
|
|
1273
1383
|
### `flow`
|
|
1274
1384
|
|
|
@@ -1402,7 +1512,7 @@ A pressable view fades while pressed, as React Native's `TouchableOpacity` fades
|
|
|
1402
1512
|
- Parameters: [opacity](bloom-language-tokens.mdx#opacity) (optional)
|
|
1403
1513
|
- Signature: `.pressFade(value?: OpacityName)`
|
|
1404
1514
|
- Taken by: every node (universal)
|
|
1405
|
-
- `opacity` tokens: `'transparent'`, `'half'`, `'opaque'`, `'10'`, `'20'`, `'30'`, `'40'`, `'45'`, `'60'`, `'70'`, `'75'`, `'80'`, `'85'`, `'90'`
|
|
1515
|
+
- `opacity` tokens: `'transparent'`, `'12.5'`, `'31.4'`, `'half'`, `'opaque'`, `'5'`, `'10'`, `'20'`, `'25'`, `'30'`, `'40'`, `'45'`, `'60'`, `'70'`, `'75'`, `'80'`, `'85'`, `'90'`
|
|
1406
1516
|
|
|
1407
1517
|
### `hoverHighlight`
|
|
1408
1518
|
|
|
@@ -1741,7 +1851,7 @@ How long what this view plays waits before it starts: a change under its `.anima
|
|
|
1741
1851
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
1742
1852
|
- Signature: `.delay(value: DurationName)`
|
|
1743
1853
|
- Taken by: every node (universal)
|
|
1744
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
1854
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
1745
1855
|
|
|
1746
1856
|
### `anchor`
|
|
1747
1857
|
|
|
@@ -1860,7 +1970,7 @@ SwiftUI's `safeAreaInset`: `view` pinned at the scroll's `edge`, and the content
|
|
|
1860
1970
|
- Signature: `.safeAreaInset(edge: InsetEdge, view: ViewNode, spacing?: SpaceToken)`
|
|
1861
1971
|
- Taken by: [scrollView](bloom-language-nodes.mdx#scrollview), [scrollArea](bloom-language-nodes.mdx#scrollarea), [scrollSurface](bloom-language-nodes.mdx#scrollsurface), [list](bloom-language-nodes.mdx#list), [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
1862
1972
|
- `insetEdge` tokens: `'top'`, `'bottom'`
|
|
1863
|
-
- `space` tokens:
|
|
1973
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
1864
1974
|
|
|
1865
1975
|
### `safeAreaBar`
|
|
1866
1976
|
|
|
@@ -1998,6 +2108,31 @@ The keyboard it asks for.
|
|
|
1998
2108
|
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [search](bloom-language-nodes.mdx#search), [settingsTextField](bloom-language-nodes.mdx#settingstextfield)
|
|
1999
2109
|
- `keyboard` tokens: `'default'`, `'email-address'`, `'numeric'`, `'number-pad'`, `'decimal-pad'`, `'phone-pad'`, `'url'`, `'web-search'`
|
|
2000
2110
|
|
|
2111
|
+
### `inputMode`
|
|
2112
|
+
|
|
2113
|
+
The kind of text it takes (React Native's `inputMode`, the web's `inputmode`).
|
|
2114
|
+
|
|
2115
|
+
- Parameters: [inputMode](bloom-language-tokens.mdx#inputmode)
|
|
2116
|
+
- Signature: `.inputMode(value: InputMode)`
|
|
2117
|
+
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [search](bloom-language-nodes.mdx#search)
|
|
2118
|
+
- `inputMode` tokens: `'none'`, `'text'`, `'decimal'`, `'numeric'`, `'tel'`, `'search'`, `'email'`, `'url'`
|
|
2119
|
+
|
|
2120
|
+
### `inputRef`
|
|
2121
|
+
|
|
2122
|
+
The ref of its text input itself (React Native's `TextInput`): to focus it or move its caret.
|
|
2123
|
+
|
|
2124
|
+
- Parameters: a value
|
|
2125
|
+
- Signature: `.inputRef(value: RefObject<ComponentRef<typeof TextInput> | null>)`
|
|
2126
|
+
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [search](bloom-language-nodes.mdx#search)
|
|
2127
|
+
|
|
2128
|
+
### `onSelectionChange`
|
|
2129
|
+
|
|
2130
|
+
React Native's `onSelectionChange`: the input's caret or selection moved.
|
|
2131
|
+
|
|
2132
|
+
- Parameters: a value
|
|
2133
|
+
- Signature: `.onSelectionChange(value: (event: TextInputSelectionChangeEvent) => void)`
|
|
2134
|
+
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [search](bloom-language-nodes.mdx#search)
|
|
2135
|
+
|
|
2001
2136
|
### `autocapitalize`
|
|
2002
2137
|
|
|
2003
2138
|
- Parameters: [autocapitalize](bloom-language-tokens.mdx#autocapitalize)
|
|
@@ -2018,6 +2153,15 @@ The keyboard it asks for.
|
|
|
2018
2153
|
- Taken by: [textField](bloom-language-nodes.mdx#textfield), [settingsTextField](bloom-language-nodes.mdx#settingstextfield)
|
|
2019
2154
|
- `contentType` tokens: `'off'`, `'email'`, `'username'`, `'password'`, `'new-password'`, `'current-password'`, `'one-time-code'`, `'name'`, `'given-name'`, `'family-name'`, `'tel'`, `'postal-code'`, `'street-address'`, `'url'`
|
|
2020
2155
|
|
|
2156
|
+
### `textContentType`
|
|
2157
|
+
|
|
2158
|
+
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`.
|
|
2159
|
+
|
|
2160
|
+
- Parameters: [textContentType](bloom-language-tokens.mdx#textcontenttype)
|
|
2161
|
+
- Signature: `.textContentType(value: TextContentType)`
|
|
2162
|
+
- Taken by: [textField](bloom-language-nodes.mdx#textfield)
|
|
2163
|
+
- `textContentType` tokens: 44, listed under [textContentType](bloom-language-tokens.mdx#textcontenttype)
|
|
2164
|
+
|
|
2021
2165
|
### `submitLabel`
|
|
2022
2166
|
|
|
2023
2167
|
- Parameters: [submitLabel](bloom-language-tokens.mdx#submitlabel)
|
|
@@ -2195,16 +2339,16 @@ The gap between the view and the popover.
|
|
|
2195
2339
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2196
2340
|
- Signature: `.sideOffset(value: SpaceToken)`
|
|
2197
2341
|
- Taken by: [popover](bloom-language-nodes.mdx#popover)
|
|
2198
|
-
- `space` tokens:
|
|
2342
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2199
2343
|
|
|
2200
2344
|
### `alignOffset`
|
|
2201
2345
|
|
|
2202
2346
|
A shift along the side it opens on (negative toward the start).
|
|
2203
2347
|
|
|
2204
2348
|
- Parameters: [padding](bloom-language-tokens.mdx#padding)
|
|
2205
|
-
- Signature: `.alignOffset(value: PaddingToken)`
|
|
2349
|
+
- Signature: `.alignOffset(value: PaddingToken | Points)`
|
|
2206
2350
|
- Taken by: [popover](bloom-language-nodes.mdx#popover)
|
|
2207
|
-
- `padding` tokens:
|
|
2351
|
+
- `padding` tokens: 116, listed under [padding](bloom-language-tokens.mdx#padding)
|
|
2208
2352
|
|
|
2209
2353
|
### `offlineMessage`
|
|
2210
2354
|
|
|
@@ -2233,7 +2377,7 @@ How long an outage lasts before the reconnecting toast shows: a duration token (
|
|
|
2233
2377
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
2234
2378
|
- Signature: `.reconnectingDelay(value: DurationName)`
|
|
2235
2379
|
- Taken by: [connectionStatus](bloom-language-nodes.mdx#connectionstatus)
|
|
2236
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
2380
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
2237
2381
|
|
|
2238
2382
|
### `restoredDuration`
|
|
2239
2383
|
|
|
@@ -2242,7 +2386,7 @@ How long the restored toast stays: a duration token (`'2500'` by default).
|
|
|
2242
2386
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
2243
2387
|
- Signature: `.restoredDuration(value: DurationName)`
|
|
2244
2388
|
- Taken by: [connectionStatus](bloom-language-nodes.mdx#connectionstatus)
|
|
2245
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
2389
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
2246
2390
|
|
|
2247
2391
|
### `contentInset`
|
|
2248
2392
|
|
|
@@ -2251,14 +2395,14 @@ The padding at both ends, inside the scroll.
|
|
|
2251
2395
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2252
2396
|
- Signature: `.contentInset(value: SpaceToken)`
|
|
2253
2397
|
- Taken by: [chipRow](bloom-language-nodes.mdx#chiprow), [carousel](bloom-language-nodes.mdx#carousel), [factStrip](bloom-language-nodes.mdx#factstrip)
|
|
2254
|
-
- `space` tokens:
|
|
2398
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2255
2399
|
|
|
2256
2400
|
### `inset`
|
|
2257
2401
|
|
|
2258
2402
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2259
2403
|
- Signature: `.inset(value: SpaceToken)`
|
|
2260
2404
|
- Taken by: [groupedSectionDivider](bloom-language-nodes.mdx#groupedsectiondivider), [settingsSection](bloom-language-nodes.mdx#settingssection)
|
|
2261
|
-
- `space` tokens:
|
|
2405
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2262
2406
|
|
|
2263
2407
|
### `illustration`
|
|
2264
2408
|
|
|
@@ -2350,7 +2494,7 @@ The room kept on every side for a chip's focus ring (4 by default).
|
|
|
2350
2494
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2351
2495
|
- Signature: `.ringInset(value: SpaceToken)`
|
|
2352
2496
|
- Taken by: [chipRow](bloom-language-nodes.mdx#chiprow)
|
|
2353
|
-
- `space` tokens:
|
|
2497
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2354
2498
|
|
|
2355
2499
|
### `keyboardTaps`
|
|
2356
2500
|
|
|
@@ -2384,7 +2528,7 @@ The least room kept beside it on a narrow screen (Bloom's `minSideGutter`).
|
|
|
2384
2528
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2385
2529
|
- Signature: `.sideGutter(value: SpaceToken)`
|
|
2386
2530
|
- Taken by: [dialog](bloom-language-nodes.mdx#dialog)
|
|
2387
|
-
- `space` tokens:
|
|
2531
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2388
2532
|
|
|
2389
2533
|
### `maxHeightRatio`
|
|
2390
2534
|
|
|
@@ -2460,7 +2604,7 @@ The room the content keeps above the screen's bottom chrome; Bloom's 16 by defau
|
|
|
2460
2604
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2461
2605
|
- Signature: `.contentClearance(value: SpaceToken)`
|
|
2462
2606
|
- Taken by: every node (universal), and [group](bloom-language-nodes.mdx#group)
|
|
2463
|
-
- `space` tokens:
|
|
2607
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2464
2608
|
|
|
2465
2609
|
### `navigationScope`
|
|
2466
2610
|
|
|
@@ -2479,7 +2623,7 @@ Room around the content, inside the scroll (the content container's padding).
|
|
|
2479
2623
|
- Signature: `.contentMargins(value: SpaceToken)` or `.contentMargins(edge: Edge, value: SpaceToken)`
|
|
2480
2624
|
- Taken by: [scrollView](bloom-language-nodes.mdx#scrollview), [scrollArea](bloom-language-nodes.mdx#scrollarea), [scrollSurface](bloom-language-nodes.mdx#scrollsurface), [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
2481
2625
|
- `edge` tokens: `'all'`, `'horizontal'`, `'vertical'`, `'top'`, `'bottom'`, `'leading'`, `'trailing'`, `'left'`, `'right'`
|
|
2482
|
-
- `space` tokens:
|
|
2626
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2483
2627
|
|
|
2484
2628
|
### `contentGrows`
|
|
2485
2629
|
|
|
@@ -2501,10 +2645,10 @@ Pull to refresh: a binding a pull writes `true` (the app writes `false` when don
|
|
|
2501
2645
|
|
|
2502
2646
|
### `onEndReached`
|
|
2503
2647
|
|
|
2504
|
-
Called once each time the end comes within `threshold` viewports (2 by default).
|
|
2648
|
+
Called once each time the end comes within `threshold` viewports (2 by default); `undefined` calls nothing.
|
|
2505
2649
|
|
|
2506
2650
|
- Parameters: a value; a value (optional)
|
|
2507
|
-
- Signature: `.onEndReached(action: () => void, threshold?: number)`
|
|
2651
|
+
- Signature: `.onEndReached(action: (() => void) | undefined, threshold?: number)`
|
|
2508
2652
|
- Taken by: [scrollView](bloom-language-nodes.mdx#scrollview), [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
2509
2653
|
|
|
2510
2654
|
### `scrollIndicators`
|
|
@@ -2528,11 +2672,11 @@ A drag `immediately` dismisses the keyboard, or drags it away `interactively`; `
|
|
|
2528
2672
|
|
|
2529
2673
|
### `detached`
|
|
2530
2674
|
|
|
2531
|
-
|
|
2675
|
+
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.
|
|
2532
2676
|
|
|
2533
2677
|
- Parameters: a value (optional)
|
|
2534
2678
|
- Signature: `.detached(value?: boolean)`
|
|
2535
|
-
- Taken by: [bottomSheet](bloom-language-nodes.mdx#bottomsheet)
|
|
2679
|
+
- Taken by: [dialog](bloom-language-nodes.mdx#dialog), [bottomSheet](bloom-language-nodes.mdx#bottomsheet)
|
|
2536
2680
|
|
|
2537
2681
|
### `dragIndicator`
|
|
2538
2682
|
|
|
@@ -2628,11 +2772,12 @@ A quiet word at its end (a count, a time).
|
|
|
2628
2772
|
|
|
2629
2773
|
### `variant`
|
|
2630
2774
|
|
|
2631
|
-
|
|
2775
|
+
The rendition the members' images load (Bloom's `variant`: `'thumb'` with none, `'small'`, `'medium'`).
|
|
2632
2776
|
|
|
2633
2777
|
- Parameters: [sidebarVariant](bloom-language-tokens.mdx#sidebarvariant)
|
|
2634
|
-
- Signature: `.variant(value:
|
|
2635
|
-
- Taken by: [sidebar](bloom-language-nodes.mdx#sidebar)
|
|
2778
|
+
- Signature: `.variant(value: string)`
|
|
2779
|
+
- Taken by: [avatarGroup](bloom-language-nodes.mdx#avatargroup), [sidebar](bloom-language-nodes.mdx#sidebar)
|
|
2780
|
+
- Narrower on: [avatarGroup](bloom-language-nodes.mdx#avatargroup) (a value)
|
|
2636
2781
|
- `sidebarVariant` tokens: `'panel'`, `'rail'`
|
|
2637
2782
|
|
|
2638
2783
|
### `surface`
|
|
@@ -2681,7 +2826,7 @@ Its width; Bloom's 80 by default.
|
|
|
2681
2826
|
- Signature: `.width(value: SpaceToken)`
|
|
2682
2827
|
- Taken by: [rail](bloom-language-nodes.mdx#rail), [panel](bloom-language-nodes.mdx#panel), [settingsSelect](bloom-language-nodes.mdx#settingsselect), [tableColumn](bloom-language-nodes.mdx#tablecolumn), [tableCell](bloom-language-nodes.mdx#tablecell), [carouselItem](bloom-language-nodes.mdx#carouselitem), [dataColumn](bloom-language-nodes.mdx#datacolumn)
|
|
2683
2828
|
- Narrower on: [rail](bloom-language-nodes.mdx#rail) ([space](bloom-language-tokens.mdx#space)), [panel](bloom-language-nodes.mdx#panel) ([space](bloom-language-tokens.mdx#space)), [settingsSelect](bloom-language-nodes.mdx#settingsselect) ([space](bloom-language-tokens.mdx#space)), [carouselItem](bloom-language-nodes.mdx#carouselitem) ([space](bloom-language-tokens.mdx#space))
|
|
2684
|
-
- `columnWidth` tokens:
|
|
2829
|
+
- `columnWidth` tokens: 59, listed under [columnWidth](bloom-language-tokens.mdx#columnwidth)
|
|
2685
2830
|
|
|
2686
2831
|
### `pinning`
|
|
2687
2832
|
|
|
@@ -2797,14 +2942,14 @@ What the panel is: `main`, `collection`, `detail`, `inspector`, `context` or `ca
|
|
|
2797
2942
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2798
2943
|
- Signature: `.minWidth(value: SpaceToken)`
|
|
2799
2944
|
- Taken by: [panel](bloom-language-nodes.mdx#panel), [table](bloom-language-nodes.mdx#table), [tableColumn](bloom-language-nodes.mdx#tablecolumn), [tableCell](bloom-language-nodes.mdx#tablecell), [dataTable](bloom-language-nodes.mdx#datatable), [dataColumn](bloom-language-nodes.mdx#datacolumn)
|
|
2800
|
-
- `space` tokens:
|
|
2945
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2801
2946
|
|
|
2802
2947
|
### `maxWidth`
|
|
2803
2948
|
|
|
2804
2949
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2805
2950
|
- Signature: `.maxWidth(value: SpaceToken)`
|
|
2806
2951
|
- Taken by: [panel](bloom-language-nodes.mdx#panel)
|
|
2807
|
-
- `space` tokens:
|
|
2952
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2808
2953
|
|
|
2809
2954
|
### `resizable`
|
|
2810
2955
|
|
|
@@ -2919,7 +3064,7 @@ The header's height before it measures itself (Bloom `Screen`'s `headerHeight`,
|
|
|
2919
3064
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2920
3065
|
- Signature: `.initialHeaderHeight(value: SpaceToken)`
|
|
2921
3066
|
- Taken by: every node (universal), and [group](bloom-language-nodes.mdx#group)
|
|
2922
|
-
- `space` tokens:
|
|
3067
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2923
3068
|
|
|
2924
3069
|
### `initialFooterHeight`
|
|
2925
3070
|
|
|
@@ -2928,7 +3073,7 @@ The footer's height before it measures itself (Bloom `Screen`'s `bottomBarHeight
|
|
|
2928
3073
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2929
3074
|
- Signature: `.initialFooterHeight(value: SpaceToken)`
|
|
2930
3075
|
- Taken by: every node (universal), and [group](bloom-language-nodes.mdx#group)
|
|
2931
|
-
- `space` tokens:
|
|
3076
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
2932
3077
|
|
|
2933
3078
|
### `colorScope`
|
|
2934
3079
|
|
|
@@ -2997,7 +3142,7 @@ The depth of each end's fade (24 by default).
|
|
|
2997
3142
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
2998
3143
|
- Signature: `.fadeHeight(value: SpaceToken)`
|
|
2999
3144
|
- Taken by: [scrollSurface](bloom-language-nodes.mdx#scrollsurface)
|
|
3000
|
-
- `space` tokens:
|
|
3145
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3001
3146
|
|
|
3002
3147
|
### `fadeBottom`
|
|
3003
3148
|
|
|
@@ -3046,7 +3191,7 @@ The bar's height (41 by default).
|
|
|
3046
3191
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3047
3192
|
- Signature: `.barHeight(value: SpaceToken)`
|
|
3048
3193
|
- Taken by: [autoHideBar](bloom-language-nodes.mdx#autohidebar)
|
|
3049
|
-
- `space` tokens:
|
|
3194
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3050
3195
|
|
|
3051
3196
|
### `band`
|
|
3052
3197
|
|
|
@@ -3064,7 +3209,7 @@ How long the pointer rests on the strip before the bar peeks: a duration token (
|
|
|
3064
3209
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
3065
3210
|
- Signature: `.peekDelay(value: DurationName)`
|
|
3066
3211
|
- Taken by: [autoHideBar](bloom-language-nodes.mdx#autohidebar)
|
|
3067
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3212
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3068
3213
|
|
|
3069
3214
|
### `unpeekDelay`
|
|
3070
3215
|
|
|
@@ -3073,7 +3218,7 @@ How long after the pointer leaves a peeked bar it collapses again: a duration to
|
|
|
3073
3218
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
3074
3219
|
- Signature: `.unpeekDelay(value: DurationName)`
|
|
3075
3220
|
- Taken by: [autoHideBar](bloom-language-nodes.mdx#autohidebar)
|
|
3076
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3221
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3077
3222
|
|
|
3078
3223
|
### `hideMotion`
|
|
3079
3224
|
|
|
@@ -3100,7 +3245,7 @@ The strip's height (20 by default).
|
|
|
3100
3245
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3101
3246
|
- Signature: `.collapsedHeight(value: SpaceToken)`
|
|
3102
3247
|
- Taken by: [autoHideBar](bloom-language-nodes.mdx#autohidebar)
|
|
3103
|
-
- `space` tokens:
|
|
3248
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3104
3249
|
|
|
3105
3250
|
### `thickness`
|
|
3106
3251
|
|
|
@@ -3109,7 +3254,7 @@ The depth of its hit strip, across the separator.
|
|
|
3109
3254
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3110
3255
|
- Signature: `.thickness(value: SpaceToken)`
|
|
3111
3256
|
- Taken by: [resizeHandle](bloom-language-nodes.mdx#resizehandle), [meter](bloom-language-nodes.mdx#meter), [meterRing](bloom-language-nodes.mdx#meterring), [statBar](bloom-language-nodes.mdx#statbar), [slider](bloom-language-nodes.mdx#slider), [rangeSlider](bloom-language-nodes.mdx#rangeslider)
|
|
3112
|
-
- `space` tokens:
|
|
3257
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3113
3258
|
|
|
3114
3259
|
### `onResizeStart`
|
|
3115
3260
|
|
|
@@ -3370,7 +3515,7 @@ The star's edge, apart from the text's size.
|
|
|
3370
3515
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3371
3516
|
- Signature: `.starSize(value: SpaceToken)`
|
|
3372
3517
|
- Taken by: [rating](bloom-language-nodes.mdx#rating)
|
|
3373
|
-
- `space` tokens:
|
|
3518
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3374
3519
|
|
|
3375
3520
|
### `starTint`
|
|
3376
3521
|
|
|
@@ -3430,7 +3575,7 @@ A fixed label width: the bar takes the free space (a distribution).
|
|
|
3430
3575
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3431
3576
|
- Signature: `.labelWidth(value: SpaceToken)`
|
|
3432
3577
|
- Taken by: [ratingBar](bloom-language-nodes.mdx#ratingbar)
|
|
3433
|
-
- `space` tokens:
|
|
3578
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3434
3579
|
|
|
3435
3580
|
### `reveal`
|
|
3436
3581
|
|
|
@@ -3439,7 +3584,7 @@ The bar's entrance, which never changes its accessible measurement.
|
|
|
3439
3584
|
- Parameters: `{ visible, once, delay }`, each [duration](bloom-language-tokens.mdx#duration)
|
|
3440
3585
|
- Signature: `.reveal(value: MeterReveal)`
|
|
3441
3586
|
- Taken by: [ratingBar](bloom-language-nodes.mdx#ratingbar), [meter](bloom-language-nodes.mdx#meter)
|
|
3442
|
-
- `meterReveal` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3587
|
+
- `meterReveal` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3443
3588
|
|
|
3444
3589
|
### `valueText`
|
|
3445
3590
|
|
|
@@ -3473,7 +3618,7 @@ Web: how long the fill eases to a new value (native snaps); none by default.
|
|
|
3473
3618
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
3474
3619
|
- Signature: `.fillDuration(value: DurationName)`
|
|
3475
3620
|
- Taken by: [meter](bloom-language-nodes.mdx#meter), [meterRing](bloom-language-nodes.mdx#meterring)
|
|
3476
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3621
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
3477
3622
|
|
|
3478
3623
|
### `barCorner`
|
|
3479
3624
|
|
|
@@ -3583,7 +3728,7 @@ A compact row's own vertical padding.
|
|
|
3583
3728
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3584
3729
|
- Signature: `.compactPadding(value: SpaceToken)`
|
|
3585
3730
|
- Taken by: [listItem](bloom-language-nodes.mdx#listitem), [mailRow](bloom-language-nodes.mdx#mailrow)
|
|
3586
|
-
- `space` tokens:
|
|
3731
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3587
3732
|
|
|
3588
3733
|
### `onPrefetch`
|
|
3589
3734
|
|
|
@@ -3656,7 +3801,7 @@ A scrolling list's viewport height.
|
|
|
3656
3801
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3657
3802
|
- Signature: `.scrollHeight(value: SpaceToken)`
|
|
3658
3803
|
- Taken by: [list](bloom-language-nodes.mdx#list)
|
|
3659
|
-
- `space` tokens:
|
|
3804
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3660
3805
|
|
|
3661
3806
|
### `stickyHeaders`
|
|
3662
3807
|
|
|
@@ -3734,11 +3879,11 @@ The header is its content's height and the list's width: its container neither g
|
|
|
3734
3879
|
|
|
3735
3880
|
### `stickyIndices`
|
|
3736
3881
|
|
|
3737
|
-
The
|
|
3882
|
+
The children that stay at the top once scrolled to it, by index (React Native's `stickyHeaderIndices`: a profile's tabs); `undefined` keeps none.
|
|
3738
3883
|
|
|
3739
3884
|
- Parameters: a value
|
|
3740
|
-
- Signature: `.stickyIndices(value: readonly number[])`
|
|
3741
|
-
- Taken by: [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
3885
|
+
- Signature: `.stickyIndices(value: readonly number[] | undefined)`
|
|
3886
|
+
- Taken by: [scrollView](bloom-language-nodes.mdx#scrollview), [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
3742
3887
|
|
|
3743
3888
|
### `restorationKey`
|
|
3744
3889
|
|
|
@@ -3816,7 +3961,7 @@ How far overlay arrows sit from the edges.
|
|
|
3816
3961
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3817
3962
|
- Signature: `.arrowsInset(value: SpaceToken)`
|
|
3818
3963
|
- Taken by: [carousel](bloom-language-nodes.mdx#carousel)
|
|
3819
|
-
- `space` tokens:
|
|
3964
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3820
3965
|
|
|
3821
3966
|
### `hidesUnavailableArrows`
|
|
3822
3967
|
|
|
@@ -3871,7 +4016,7 @@ How far an arrow key moves it (the step by default).
|
|
|
3871
4016
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
3872
4017
|
- Signature: `.thumbSize(value: SpaceToken)`
|
|
3873
4018
|
- Taken by: [slider](bloom-language-nodes.mdx#slider), [rangeSlider](bloom-language-nodes.mdx#rangeslider)
|
|
3874
|
-
- `space` tokens:
|
|
4019
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
3875
4020
|
|
|
3876
4021
|
### `fillTint`
|
|
3877
4022
|
|
|
@@ -4041,7 +4186,7 @@ A cell's edge.
|
|
|
4041
4186
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
4042
4187
|
- Signature: `.cellSize(value: SpaceToken)`
|
|
4043
4188
|
- Taken by: [activityHeatmap](bloom-language-nodes.mdx#activityheatmap)
|
|
4044
|
-
- `space` tokens:
|
|
4189
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
4045
4190
|
|
|
4046
4191
|
### `onPressDay`
|
|
4047
4192
|
|
|
@@ -4058,7 +4203,7 @@ How long the pointer rests before it shows: a duration token (a desktop's own wa
|
|
|
4058
4203
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
4059
4204
|
- Signature: `.openDelay(value: DurationName)`
|
|
4060
4205
|
- Taken by: [tooltip](bloom-language-nodes.mdx#tooltip), [hoverCard](bloom-language-nodes.mdx#hovercard)
|
|
4061
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4206
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4062
4207
|
|
|
4063
4208
|
### `collapses`
|
|
4064
4209
|
|
|
@@ -4299,7 +4444,7 @@ The narrowest a fact gets before the strip scrolls (`96` by default).
|
|
|
4299
4444
|
- Parameters: [space](bloom-language-tokens.mdx#space)
|
|
4300
4445
|
- Signature: `.minItemWidth(value: SpaceToken)`
|
|
4301
4446
|
- Taken by: [factStrip](bloom-language-nodes.mdx#factstrip)
|
|
4302
|
-
- `space` tokens:
|
|
4447
|
+
- `space` tokens: 58, listed under [space](bloom-language-tokens.mdx#space)
|
|
4303
4448
|
|
|
4304
4449
|
### `onRetry`
|
|
4305
4450
|
|
|
@@ -4356,7 +4501,7 @@ How long it stays after the pointer leaves: a duration token (`fast` by default;
|
|
|
4356
4501
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
4357
4502
|
- Signature: `.closeDelay(value: DurationName)`
|
|
4358
4503
|
- Taken by: [hoverCard](bloom-language-nodes.mdx#hovercard)
|
|
4359
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4504
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4360
4505
|
|
|
4361
4506
|
### `padded`
|
|
4362
4507
|
|
|
@@ -4495,7 +4640,7 @@ It dismisses itself after a duration token's wait, a countdown bar along its foo
|
|
|
4495
4640
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
4496
4641
|
- Signature: `.autoDismiss(value: DurationName)`
|
|
4497
4642
|
- Taken by: [notification](bloom-language-nodes.mdx#notification)
|
|
4498
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4643
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4499
4644
|
|
|
4500
4645
|
### `introDelay`
|
|
4501
4646
|
|
|
@@ -4504,7 +4649,7 @@ It plays its entrance, after a duration token's wait (`'0'`: at once).
|
|
|
4504
4649
|
- Parameters: [duration](bloom-language-tokens.mdx#duration)
|
|
4505
4650
|
- Signature: `.introDelay(value: DurationName)`
|
|
4506
4651
|
- Taken by: [notification](bloom-language-nodes.mdx#notification)
|
|
4507
|
-
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4652
|
+
- `duration` tokens: `'instant'`, `'fast'`, `'normal'`, `'slow'`, `'0'`, `'250'`, `'400'`, `'500'`, `'800'`, `'1000'`, `'2500'`, `'3000'`, `'4000'`
|
|
4508
4653
|
|
|
4509
4654
|
### `liveRole`
|
|
4510
4655
|
|