@oxy.so/bloom 19.5.1 → 19.6.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/activity-heatmap.mdx +7 -0
- package/docs/adoption-matrix.mdx +26 -26
- package/docs/announcement.mdx +7 -0
- package/docs/app-shell.mdx +18 -11
- package/docs/avatar.mdx +2 -0
- package/docs/badge.mdx +2 -0
- package/docs/chip.mdx +6 -2
- package/docs/compose-layouts.mdx +114 -2
- package/docs/composition-bar.mdx +4 -0
- package/docs/contact-card.mdx +5 -0
- package/docs/dialog.mdx +7 -0
- package/docs/divider.mdx +8 -0
- package/docs/empty-state.mdx +8 -0
- package/docs/engagement-bar.mdx +9 -0
- package/docs/icon-circle.mdx +2 -0
- package/docs/layout.mdx +1 -1
- package/docs/list.mdx +4 -3
- package/docs/page-header.mdx +7 -0
- package/docs/public-parts.mdx +39 -28
- package/docs/screen.mdx +4 -0
- package/docs/scroll.mdx +6 -3
- package/docs/sidebar.mdx +26 -5
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/docs/typography.mdx +9 -0
- package/lib/commonjs/app-shell/AppShell.js +3 -3
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +2 -1
- package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellPanelLayout.js +345 -172
- package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/RetainedPanelLayout.js +6 -0
- package/lib/commonjs/app-shell/RetainedPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/panel-layout-css.js +20 -13
- package/lib/commonjs/app-shell/panel-layout-css.js.map +1 -1
- package/lib/commonjs/app-shell/panel-layout.js +33 -185
- package/lib/commonjs/app-shell/panel-layout.js.map +1 -1
- package/lib/commonjs/app-shell/panel-motion.js +13 -36
- package/lib/commonjs/app-shell/panel-motion.js.map +1 -1
- package/lib/commonjs/app-shell/panel-transitions.js +26 -0
- package/lib/commonjs/app-shell/panel-transitions.js.map +1 -0
- package/lib/commonjs/app-shell/shell-layout-css.js +2 -2
- package/lib/commonjs/app-shell/shell-layout-css.js.map +1 -1
- package/lib/commonjs/app-shell/use-panel-exit-completion.js +100 -0
- package/lib/commonjs/app-shell/use-panel-exit-completion.js.map +1 -0
- package/lib/commonjs/app-shell/use-panel-resize.js +21 -7
- package/lib/commonjs/app-shell/use-panel-resize.js.map +1 -1
- package/lib/commonjs/app-shell/use-panel-reveal.js +2 -1
- package/lib/commonjs/app-shell/use-panel-reveal.js.map +1 -1
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js +3 -2
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/commonjs/chip/Chip.js +10 -1
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/chip/shared.js +2 -2
- package/lib/commonjs/dialog/DialogBottomSheet.js +6 -3
- package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementAction.js +6 -5
- package/lib/commonjs/engagement-bar/EngagementAction.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementBar.js +31 -7
- package/lib/commonjs/engagement-bar/EngagementBar.js.map +1 -1
- package/lib/commonjs/engagement-bar/EngagementPop.js +10 -3
- package/lib/commonjs/engagement-bar/EngagementPop.js.map +1 -1
- package/lib/commonjs/engagement-bar/context.js.map +1 -1
- package/lib/commonjs/engagement-bar/paint.js +59 -12
- package/lib/commonjs/engagement-bar/paint.js.map +1 -1
- package/lib/commonjs/hooks/use-border-box-size.js +46 -0
- package/lib/commonjs/hooks/use-border-box-size.js.map +1 -0
- package/lib/commonjs/layout/ScrollBar.web.js +62 -29
- package/lib/commonjs/layout/ScrollBar.web.js.map +1 -1
- package/lib/commonjs/layout/scroll-metrics.js.map +1 -1
- package/lib/commonjs/list/VirtualList.js +12 -0
- package/lib/commonjs/list/VirtualList.js.map +1 -1
- package/lib/commonjs/list/VirtualList.web.js +40 -19
- package/lib/commonjs/list/VirtualList.web.js.map +1 -1
- package/lib/commonjs/list/flash-list-module.js.map +1 -1
- package/lib/commonjs/page-header/EdgeScrim.js +14 -4
- package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
- package/lib/commonjs/page-header/PageHeader.js +19 -6
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/screen/ScreenBase.js +15 -6
- package/lib/commonjs/screen/ScreenBase.js.map +1 -1
- package/lib/commonjs/screen/ScreenScrollViewBase.js +12 -2
- package/lib/commonjs/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/commonjs/screen/context.js.map +1 -1
- package/lib/commonjs/screen/use-intrinsic-content-height.js +53 -0
- package/lib/commonjs/screen/use-intrinsic-content-height.js.map +1 -0
- package/lib/commonjs/screen/use-screen-viewport.js +37 -6
- package/lib/commonjs/screen/use-screen-viewport.js.map +1 -1
- package/lib/commonjs/scroll/constants.js +4 -1
- package/lib/commonjs/scroll/constants.js.map +1 -1
- package/lib/commonjs/scroll/owner-handoff.js +27 -7
- package/lib/commonjs/scroll/owner-handoff.js.map +1 -1
- package/lib/commonjs/scroll/use-scroll-restoration.web.js +2 -11
- package/lib/commonjs/scroll/use-scroll-restoration.web.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +121 -87
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/arrangement.js +36 -0
- package/lib/commonjs/sidebar/arrangement.js.map +1 -0
- package/lib/commonjs/sidebar/index.js.map +1 -1
- package/lib/commonjs/stay-filters/CountFilter.js +1 -1
- package/lib/commonjs/stay-filters/FilterChip.js +1 -1
- package/lib/commonjs/stay-filters/ToggleChipGroup.js +1 -1
- package/lib/module/app-shell/AppShell.js +3 -3
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +2 -1
- package/lib/module/app-shell/AppShellEngine.js.map +1 -1
- package/lib/module/app-shell/AppShellPanelLayout.js +319 -147
- package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/module/app-shell/RetainedPanelLayout.js +7 -1
- package/lib/module/app-shell/RetainedPanelLayout.js.map +1 -1
- package/lib/module/app-shell/panel-layout-css.js +19 -12
- package/lib/module/app-shell/panel-layout-css.js.map +1 -1
- package/lib/module/app-shell/panel-layout.js +32 -183
- package/lib/module/app-shell/panel-layout.js.map +1 -1
- package/lib/module/app-shell/panel-motion.js +14 -36
- package/lib/module/app-shell/panel-motion.js.map +1 -1
- package/lib/module/app-shell/panel-transitions.js +21 -0
- package/lib/module/app-shell/panel-transitions.js.map +1 -0
- package/lib/module/app-shell/shell-layout-css.js +2 -2
- package/lib/module/app-shell/shell-layout-css.js.map +1 -1
- package/lib/module/app-shell/use-panel-exit-completion.js +97 -0
- package/lib/module/app-shell/use-panel-exit-completion.js.map +1 -0
- package/lib/module/app-shell/use-panel-resize.js +22 -8
- package/lib/module/app-shell/use-panel-resize.js.map +1 -1
- package/lib/module/app-shell/use-panel-reveal.js +2 -1
- package/lib/module/app-shell/use-panel-reveal.js.map +1 -1
- package/lib/module/bottom-sheet/BottomSheetBase.js +3 -2
- package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/module/chip/Chip.js +10 -1
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/chip/shared.js +2 -2
- package/lib/module/dialog/DialogBottomSheet.js +6 -3
- package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/module/engagement-bar/EngagementAction.js +7 -6
- package/lib/module/engagement-bar/EngagementAction.js.map +1 -1
- package/lib/module/engagement-bar/EngagementBar.js +29 -5
- package/lib/module/engagement-bar/EngagementBar.js.map +1 -1
- package/lib/module/engagement-bar/EngagementPop.js +10 -3
- package/lib/module/engagement-bar/EngagementPop.js.map +1 -1
- package/lib/module/engagement-bar/context.js.map +1 -1
- package/lib/module/engagement-bar/paint.js +60 -13
- package/lib/module/engagement-bar/paint.js.map +1 -1
- package/lib/module/hooks/use-border-box-size.js +42 -0
- package/lib/module/hooks/use-border-box-size.js.map +1 -0
- package/lib/module/layout/ScrollBar.web.js +64 -31
- package/lib/module/layout/ScrollBar.web.js.map +1 -1
- package/lib/module/layout/scroll-metrics.js.map +1 -1
- package/lib/module/list/VirtualList.js +12 -0
- package/lib/module/list/VirtualList.js.map +1 -1
- package/lib/module/list/VirtualList.web.js +41 -20
- package/lib/module/list/VirtualList.web.js.map +1 -1
- package/lib/module/list/flash-list-module.js.map +1 -1
- package/lib/module/page-header/EdgeScrim.js +14 -4
- package/lib/module/page-header/EdgeScrim.js.map +1 -1
- package/lib/module/page-header/PageHeader.js +19 -6
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/screen/ScreenBase.js +15 -6
- package/lib/module/screen/ScreenBase.js.map +1 -1
- package/lib/module/screen/ScreenScrollViewBase.js +12 -2
- package/lib/module/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/module/screen/context.js.map +1 -1
- package/lib/module/screen/use-intrinsic-content-height.js +50 -0
- package/lib/module/screen/use-intrinsic-content-height.js.map +1 -0
- package/lib/module/screen/use-screen-viewport.js +39 -8
- package/lib/module/screen/use-screen-viewport.js.map +1 -1
- package/lib/module/scroll/constants.js +3 -0
- package/lib/module/scroll/constants.js.map +1 -1
- package/lib/module/scroll/owner-handoff.js +27 -8
- package/lib/module/scroll/owner-handoff.js.map +1 -1
- package/lib/module/scroll/use-scroll-restoration.web.js +1 -10
- package/lib/module/scroll/use-scroll-restoration.web.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +121 -87
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/arrangement.js +32 -0
- package/lib/module/sidebar/arrangement.js.map +1 -0
- package/lib/module/sidebar/index.js.map +1 -1
- package/lib/module/stay-filters/CountFilter.js +1 -1
- package/lib/module/stay-filters/FilterChip.js +1 -1
- package/lib/module/stay-filters/ToggleChipGroup.js +1 -1
- package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellPanelLayout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/RetainedPanelLayout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts +2 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts +11 -2
- package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-layout.d.ts +13 -27
- package/lib/typescript/commonjs/app-shell/panel-layout.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-motion.d.ts +1 -12
- package/lib/typescript/commonjs/app-shell/panel-motion.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts +14 -0
- package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts +2 -2
- package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts +4 -2
- package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts +2 -2
- package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/types.d.ts +2 -0
- package/lib/typescript/commonjs/bottom-sheet/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/shared.d.ts +1 -1
- package/lib/typescript/commonjs/chip/types.d.ts +1 -1
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +2 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts +3 -3
- package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts +2 -1
- package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/context.d.ts +1 -0
- package/lib/typescript/commonjs/engagement-bar/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/paint.d.ts +4 -2
- package/lib/typescript/commonjs/engagement-bar/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/engagement-bar/types.d.ts +10 -1
- package/lib/typescript/commonjs/engagement-bar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts.map +1 -0
- package/lib/typescript/commonjs/layout/ScrollBar.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/scroll-metrics.d.ts +2 -0
- package/lib/typescript/commonjs/layout/scroll-metrics.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/types.d.ts +2 -2
- package/lib/typescript/commonjs/layout/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/VirtualList.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/VirtualList.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/flash-list-module.d.ts +1 -1
- package/lib/typescript/commonjs/list/flash-list-module.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +3 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/types.d.ts +2 -0
- package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/context.d.ts +3 -0
- package/lib/typescript/commonjs/screen/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts +3 -0
- package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/use-screen-viewport.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/constants.d.ts +2 -0
- package/lib/typescript/commonjs/scroll/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/owner-handoff.d.ts +3 -1
- package/lib/typescript/commonjs/scroll/owner-handoff.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/use-scroll-restoration.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/arrangement.d.ts +32 -0
- package/lib/typescript/commonjs/sidebar/arrangement.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +13 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts +1 -1
- package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts +1 -1
- package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellPanelLayout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/RetainedPanelLayout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout-css.d.ts +2 -1
- package/lib/typescript/module/app-shell/panel-layout-css.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout-types.d.ts +11 -2
- package/lib/typescript/module/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-layout.d.ts +13 -27
- package/lib/typescript/module/app-shell/panel-layout.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-motion.d.ts +1 -12
- package/lib/typescript/module/app-shell/panel-motion.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-transitions.d.ts +4 -0
- package/lib/typescript/module/app-shell/panel-transitions.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +4 -0
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts +14 -0
- package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/use-panel-reorder.d.ts +2 -2
- package/lib/typescript/module/app-shell/use-panel-reorder.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-resize.d.ts +4 -2
- package/lib/typescript/module/app-shell/use-panel-resize.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/use-panel-reveal.d.ts +2 -2
- package/lib/typescript/module/app-shell/use-panel-reveal.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/types.d.ts +2 -0
- package/lib/typescript/module/bottom-sheet/types.d.ts.map +1 -1
- package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/chip/shared.d.ts +1 -1
- package/lib/typescript/module/chip/types.d.ts +1 -1
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts +2 -2
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +2 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementAction.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementBar.d.ts +3 -3
- package/lib/typescript/module/engagement-bar/EngagementBar.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/EngagementPop.d.ts +2 -1
- package/lib/typescript/module/engagement-bar/EngagementPop.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/context.d.ts +1 -0
- package/lib/typescript/module/engagement-bar/context.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/paint.d.ts +4 -2
- package/lib/typescript/module/engagement-bar/paint.d.ts.map +1 -1
- package/lib/typescript/module/engagement-bar/types.d.ts +10 -1
- package/lib/typescript/module/engagement-bar/types.d.ts.map +1 -1
- package/lib/typescript/module/hooks/use-border-box-size.d.ts +13 -0
- package/lib/typescript/module/hooks/use-border-box-size.d.ts.map +1 -0
- package/lib/typescript/module/layout/ScrollBar.web.d.ts.map +1 -1
- package/lib/typescript/module/layout/scroll-metrics.d.ts +2 -0
- package/lib/typescript/module/layout/scroll-metrics.d.ts.map +1 -1
- package/lib/typescript/module/layout/types.d.ts +2 -2
- package/lib/typescript/module/layout/types.d.ts.map +1 -1
- package/lib/typescript/module/list/VirtualList.d.ts.map +1 -1
- package/lib/typescript/module/list/VirtualList.web.d.ts.map +1 -1
- package/lib/typescript/module/list/flash-list-module.d.ts +1 -1
- package/lib/typescript/module/list/flash-list-module.d.ts.map +1 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts +3 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/page-header/types.d.ts +2 -0
- package/lib/typescript/module/page-header/types.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/context.d.ts +3 -0
- package/lib/typescript/module/screen/context.d.ts.map +1 -1
- package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts +3 -0
- package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts.map +1 -0
- package/lib/typescript/module/screen/use-screen-viewport.d.ts.map +1 -1
- package/lib/typescript/module/scroll/constants.d.ts +2 -0
- package/lib/typescript/module/scroll/constants.d.ts.map +1 -1
- package/lib/typescript/module/scroll/owner-handoff.d.ts +3 -1
- package/lib/typescript/module/scroll/owner-handoff.d.ts.map +1 -1
- package/lib/typescript/module/scroll/use-scroll-restoration.web.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/arrangement.d.ts +32 -0
- package/lib/typescript/module/sidebar/arrangement.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/index.d.ts +1 -0
- package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +13 -1
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/stay-filters/CountFilter.d.ts +1 -1
- package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/public-part-classifications.json +169 -26
- package/src/__tests__/support/yoga-host-tree.ts +55 -2
- package/src/app-shell/AppShell.tsx +7 -3
- package/src/app-shell/AppShellEngine.tsx +6 -2
- package/src/app-shell/AppShellPanelLayout.tsx +466 -189
- package/src/app-shell/RetainedPanelLayout.tsx +7 -1
- package/src/app-shell/panel-layout-css.ts +41 -27
- package/src/app-shell/panel-layout-types.ts +11 -2
- package/src/app-shell/panel-layout.ts +49 -256
- package/src/app-shell/panel-motion.ts +34 -52
- package/src/app-shell/panel-transitions.ts +39 -0
- package/src/app-shell/shell-layout-css.ts +6 -2
- package/src/app-shell/types.ts +4 -0
- package/src/app-shell/use-panel-exit-completion.ts +95 -0
- package/src/app-shell/use-panel-reorder.ts +2 -2
- package/src/app-shell/use-panel-resize.ts +37 -10
- package/src/app-shell/use-panel-reveal.ts +4 -9
- package/src/bottom-sheet/BottomSheetBase.tsx +6 -2
- package/src/bottom-sheet/types.ts +2 -0
- package/src/chip/Chip.tsx +3 -1
- package/src/chip/shared.ts +2 -2
- package/src/chip/types.ts +1 -1
- package/src/dialog/DialogBottomSheet.tsx +13 -2
- package/src/dialog/types.ts +2 -0
- package/src/engagement-bar/EngagementAction.tsx +5 -4
- package/src/engagement-bar/EngagementBar.tsx +30 -5
- package/src/engagement-bar/EngagementPop.tsx +11 -3
- package/src/engagement-bar/context.ts +1 -0
- package/src/engagement-bar/paint.ts +60 -13
- package/src/engagement-bar/types.ts +10 -1
- package/src/hooks/use-border-box-size.ts +38 -0
- package/src/layout/ScrollBar.web.tsx +74 -40
- package/src/layout/scroll-metrics.tsx +2 -0
- package/src/layout/types.ts +2 -2
- package/src/list/VirtualList.tsx +18 -0
- package/src/list/VirtualList.web.tsx +69 -22
- package/src/list/flash-list-module.ts +2 -0
- package/src/page-header/EdgeScrim.tsx +29 -9
- package/src/page-header/PageHeader.tsx +10 -6
- package/src/page-header/types.ts +2 -0
- package/src/screen/ScreenBase.tsx +13 -6
- package/src/screen/ScreenScrollViewBase.tsx +24 -2
- package/src/screen/context.ts +3 -0
- package/src/screen/use-intrinsic-content-height.ts +56 -0
- package/src/screen/use-screen-viewport.ts +60 -11
- package/src/scroll/constants.ts +3 -0
- package/src/scroll/owner-handoff.ts +45 -11
- package/src/scroll/use-scroll-restoration.web.ts +4 -10
- package/src/sidebar/Sidebar.tsx +146 -121
- package/src/sidebar/arrangement.ts +47 -0
- package/src/sidebar/index.ts +6 -0
- package/src/sidebar/types.ts +13 -1
- package/src/stay-filters/CountFilter.tsx +1 -1
- package/src/stay-filters/FilterChip.tsx +1 -1
- package/src/stay-filters/ToggleChipGroup.tsx +1 -1
|
@@ -35,6 +35,13 @@ import { ActivityHeatmap } from '@oxy.so/bloom/activity-heatmap';
|
|
|
35
35
|
| `monthLabels` / `weekdayLabels` | the axis text, for localisation |
|
|
36
36
|
| `onPressDay` | makes a cell pressable |
|
|
37
37
|
|
|
38
|
+
## Touch-target limitation
|
|
39
|
+
|
|
40
|
+
`cellSize` also sets the pressable cell's hit box. The default is 12px, so
|
|
41
|
+
interactive cells are smaller than standalone touch targets. The grid does not
|
|
42
|
+
expand them with overlapping hit regions; no touch-safe interaction model is
|
|
43
|
+
currently provided for `onPressDay` on dense grids.
|
|
44
|
+
|
|
38
45
|
## `levels` is the prop to think about
|
|
39
46
|
|
|
40
47
|
The default buckets suit a roughly uniform distribution. Real activity data is
|
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -38,7 +38,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
38
38
|
| contract | applies to | reads | delegated | n/a¹ | adaptation |
|
|
39
39
|
| --- | --- | --- | --- | --- | --- |
|
|
40
40
|
| Field membership | 54 | 31 | 0 | 23 | 0 |
|
|
41
|
-
| Control presentation |
|
|
41
|
+
| Control presentation | 64 | 63 | 1 | 0 | 0 |
|
|
42
42
|
| Trigger composition | 11 | 8 | 0 | 3 | 0 |
|
|
43
43
|
| Controlled / uncontrolled state | 61 | 58 | 2 | 1 | 0 |
|
|
44
44
|
|
|
@@ -97,7 +97,7 @@ None.
|
|
|
97
97
|
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
98
98
|
| `accordion` | `@oxy.so/bloom/accordion` + barrel | web fork | `accordion.mdx` | yes | 6 | | reads | | |
|
|
99
99
|
| `activity-feed` | `@oxy.so/bloom/activity-feed` + barrel | universal | `activity-feed.mdx` | yes | 3 | | | | |
|
|
100
|
-
| `activity-heatmap` | `@oxy.so/bloom/activity-heatmap` + barrel | universal | `activity-heatmap.mdx` | yes |
|
|
100
|
+
| `activity-heatmap` | `@oxy.so/bloom/activity-heatmap` + barrel | universal | `activity-heatmap.mdx` | yes | 3 | | | | |
|
|
101
101
|
| `address` | `@oxy.so/bloom/address` + barrel | universal | `address.mdx` | yes | 4 | n/a¹ | reads | | |
|
|
102
102
|
| `admonition` | `@oxy.so/bloom/admonition` + barrel | universal | `admonition.mdx` | yes | 6 | | reads | | |
|
|
103
103
|
| `agent-avatar` | `@oxy.so/bloom/agent-avatar` + barrel | universal | `agent-avatar.mdx` | yes | 45 | | | | |
|
|
@@ -113,22 +113,22 @@ None.
|
|
|
113
113
|
| `alert-dialog` | `@oxy.so/bloom/alert-dialog` + barrel | web fork | `alert-dialog.mdx` | yes | 3 | | | | |
|
|
114
114
|
| `ambient-photo` | `@oxy.so/bloom/ambient-photo` + barrel | web fork | `ambient-photo.mdx` | yes | 2 | | | | |
|
|
115
115
|
| `animated-check` | `@oxy.so/bloom/animated-check` + barrel | universal | `animated-check.mdx` | yes | 2 | | | | |
|
|
116
|
-
| `announcement` | `@oxy.so/bloom/announcement` + barrel | universal | `announcement.mdx` | yes |
|
|
117
|
-
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes |
|
|
118
|
-
| `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes |
|
|
116
|
+
| `announcement` | `@oxy.so/bloom/announcement` + barrel | universal | `announcement.mdx` | yes | 5 | | | | |
|
|
117
|
+
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes | 57 | | | | reads |
|
|
118
|
+
| `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes | 76 | | reads | | |
|
|
119
119
|
| `aspect-ratio` | `@oxy.so/bloom/aspect-ratio` + barrel | universal | `aspect-ratio.mdx` | yes | 1 | | | | |
|
|
120
120
|
| `auth-card` | `@oxy.so/bloom/auth-card` + barrel | universal | `auth-card.mdx` | yes | 2 | | | | |
|
|
121
|
-
| `avatar` | `@oxy.so/bloom/avatar` + barrel | universal | `avatar.mdx` | yes |
|
|
121
|
+
| `avatar` | `@oxy.so/bloom/avatar` + barrel | universal | `avatar.mdx` | yes | 13 | | reads | | |
|
|
122
122
|
| `avatar-flight` | `@oxy.so/bloom/avatar-flight` + barrel | web fork | `avatar-flight.mdx` | yes | 7 | | | | |
|
|
123
123
|
| `avatar-group` | `@oxy.so/bloom/avatar-group` + barrel | web fork | `avatar-group.mdx` | yes | 5 | | | | |
|
|
124
|
-
| `badge` | `@oxy.so/bloom/badge` + barrel | universal | `badge.mdx` | yes |
|
|
124
|
+
| `badge` | `@oxy.so/bloom/badge` + barrel | universal | `badge.mdx` | yes | 5 | | reads | | |
|
|
125
125
|
| `blur` | internal | universal | `blur.mdx` | — | 4 | | | | |
|
|
126
126
|
| `booking` | `@oxy.so/bloom/booking` + barrel | universal | `booking.mdx` | yes | 5 | | | | reads |
|
|
127
127
|
| `bottom-bar` | `@oxy.so/bloom/bottom-bar` + barrel | web fork | `bottom-bar.mdx` | yes | 6 | | | | |
|
|
128
128
|
| `bottom-promo` | `@oxy.so/bloom/bottom-promo` + barrel | universal | `bottom-promo.mdx` | yes | 1 | | | | |
|
|
129
129
|
| `bottom-sheet` | `@oxy.so/bloom/bottom-sheet` + barrel | web fork | `bottom-sheet.mdx` | yes | 17 | | | | |
|
|
130
130
|
| `breadcrumb` | `@oxy.so/bloom/breadcrumb` + barrel | web fork | `breadcrumb.mdx` | yes | 4 | | reads | | |
|
|
131
|
-
| `button` | `@oxy.so/bloom/button` + barrel | web fork | `button.mdx` | yes |
|
|
131
|
+
| `button` | `@oxy.so/bloom/button` + barrel | web fork | `button.mdx` | yes | 89 | | reads | n/a¹ | |
|
|
132
132
|
| `button-group` | `@oxy.so/bloom/button-group` + barrel | web fork | `button-group.mdx` | yes | 12 | | reads | | |
|
|
133
133
|
| `calendar` | `@oxy.so/bloom/calendar` + barrel | universal | `calendar.mdx` | yes | 3 | | | | reads |
|
|
134
134
|
| `call-ui` | `@oxy.so/bloom/call-ui` + barrel | universal | `call-ui.mdx` | yes | 2 | | reads | | |
|
|
@@ -148,7 +148,7 @@ None.
|
|
|
148
148
|
| `checkbox` | `@oxy.so/bloom/checkbox` + barrel | universal | `checkbox.mdx` | yes | 11 | reads | reads | | reads |
|
|
149
149
|
| `checkout-sheet` | `@oxy.so/bloom/checkout-sheet` + barrel | universal | `checkout-sheet.mdx` | yes | 3 | | | | |
|
|
150
150
|
| `checkout-summary` | `@oxy.so/bloom/checkout-summary` + barrel | universal | `checkout-summary.mdx` | yes | 2 | | | | |
|
|
151
|
-
| `chip` | `@oxy.so/bloom/chip` + barrel | universal | `chip.mdx` | yes |
|
|
151
|
+
| `chip` | `@oxy.so/bloom/chip` + barrel | universal | `chip.mdx` | yes | 14 | | reads | | |
|
|
152
152
|
| `choice-list` | `@oxy.so/bloom/choice-list` + barrel | universal | `choice-list.mdx` | yes | 2 | | | | |
|
|
153
153
|
| `code` | `@oxy.so/bloom/code` + barrel | universal | `code.mdx` | yes | 5 | | | | |
|
|
154
154
|
| `collapsible` | `@oxy.so/bloom/collapsible` + barrel | web fork | `collapsible.mdx` | yes | 4 | | | | |
|
|
@@ -156,11 +156,11 @@ None.
|
|
|
156
156
|
| `command` | `@oxy.so/bloom/command` + barrel | web fork | `command.mdx` | yes | 2 | n/a¹ | | | reads |
|
|
157
157
|
| `composer-loader` | `@oxy.so/bloom/composer-loader` + barrel | web fork | `composer-loader.mdx` | yes | 5 | | | | |
|
|
158
158
|
| `composer-panel` | `@oxy.so/bloom/composer-panel` + barrel | web fork | `composer-panel.mdx` | yes | 12 | n/a¹ | | | reads |
|
|
159
|
-
| `composition-bar` | `@oxy.so/bloom/composition-bar` + barrel | universal | `composition-bar.mdx` | yes |
|
|
159
|
+
| `composition-bar` | `@oxy.so/bloom/composition-bar` + barrel | universal | `composition-bar.mdx` | yes | 3 | | | | |
|
|
160
160
|
| `concentric` | `@oxy.so/bloom/concentric` + barrel | universal | `concentric.mdx` | yes | 5 | | | | |
|
|
161
161
|
| `connection-dots` | `@oxy.so/bloom/connection-dots` + barrel | web fork | `connection-dots.mdx` | yes | 4 | | | | |
|
|
162
162
|
| `connection-status` | `@oxy.so/bloom/connection-status` + barrel | web fork | `connection-status.mdx` | yes | 4 | | | | |
|
|
163
|
-
| `contact-card` | `@oxy.so/bloom/contact-card` + barrel | universal | `contact-card.mdx` | yes |
|
|
163
|
+
| `contact-card` | `@oxy.so/bloom/contact-card` + barrel | universal | `contact-card.mdx` | yes | 4 | | | | |
|
|
164
164
|
| `content-panel` | `@oxy.so/bloom/content-panel` + barrel | web fork | `content-panel.mdx` | yes | 12 | | | | |
|
|
165
165
|
| `context-menu` | `@oxy.so/bloom/context-menu` + barrel | web fork | `context-menu.mdx` | yes | 11 | | | reads | |
|
|
166
166
|
| `conversation-sidebar` | `@oxy.so/bloom/conversation-sidebar` + barrel | web fork | `conversation-sidebar.mdx` | yes | 1 | | | | reads |
|
|
@@ -172,12 +172,12 @@ None.
|
|
|
172
172
|
| `design-tokens` | `@oxy.so/bloom/design-tokens` + barrel | universal | `design-tokens.mdx` | yes | 6 | | | | |
|
|
173
173
|
| `dialog` | `@oxy.so/bloom/dialog` + barrel | web fork | `dialog.mdx` | yes | 50 | | | n/a¹ | |
|
|
174
174
|
| `directions` | `@oxy.so/bloom/directions` + barrel | universal | `directions.mdx` | yes | 3 | | | | |
|
|
175
|
-
| `divider` | `@oxy.so/bloom/divider` + barrel | universal | `divider.mdx` | yes |
|
|
175
|
+
| `divider` | `@oxy.so/bloom/divider` + barrel | universal | `divider.mdx` | yes | 3 | | | | |
|
|
176
176
|
| `drop-zone` | `@oxy.so/bloom/drop-zone` + barrel | web fork | `drop-zone.mdx` | yes | 4 | | | | |
|
|
177
177
|
| `dropdown-menu` | `@oxy.so/bloom/dropdown-menu` + barrel | web fork | `dropdown-menu.mdx` | yes | 19 | | | reads | reads |
|
|
178
178
|
| `earnings` | `@oxy.so/bloom/earnings` + barrel | universal | `earnings.mdx` | yes | 2 | | | | reads |
|
|
179
|
-
| `empty-state` | `@oxy.so/bloom/empty-state` + barrel | universal | `empty-state.mdx` | yes |
|
|
180
|
-
| `engagement-bar` | `@oxy.so/bloom/engagement-bar` + barrel | universal | `engagement-bar.mdx` | yes | 1 | |
|
|
179
|
+
| `empty-state` | `@oxy.so/bloom/empty-state` + barrel | universal | `empty-state.mdx` | yes | 4 | | | | |
|
|
180
|
+
| `engagement-bar` | `@oxy.so/bloom/engagement-bar` + barrel | universal | `engagement-bar.mdx` | yes | 1 | | reads | | |
|
|
181
181
|
| `error-boundary` | `@oxy.so/bloom/error-boundary` + barrel | universal | `error-boundary.mdx` | yes | 4 | | | | |
|
|
182
182
|
| `eviction` | `@oxy.so/bloom/eviction` + barrel | universal | `eviction.mdx` | yes | 2 | | | | |
|
|
183
183
|
| `expandable-text` | `@oxy.so/bloom/expandable-text` + barrel | universal | `expandable-text.mdx` | yes | 1 | | | | reads |
|
|
@@ -192,10 +192,10 @@ None.
|
|
|
192
192
|
| `grid` | `@oxy.so/bloom/grid` + barrel | universal | `grid.mdx` | yes | 3 | | | | |
|
|
193
193
|
| `grouped-section` | `@oxy.so/bloom/grouped-section` + barrel | universal | `grouped-section.mdx` | yes | 7 | | reads | | |
|
|
194
194
|
| `home-search` | `@oxy.so/bloom/home-search` + barrel | universal | `home-search.mdx` | yes | 2 | n/a¹ | | | |
|
|
195
|
-
| `hooks` | `@oxy.so/bloom/hooks` + barrel | universal | `hooks.mdx` | yes |
|
|
195
|
+
| `hooks` | `@oxy.so/bloom/hooks` + barrel | universal | `hooks.mdx` | yes | 56 | | | | reads |
|
|
196
196
|
| `hover-card` | `@oxy.so/bloom/hover-card` + barrel | web fork | `hover-card.mdx` | yes | 5 | | | reads | reads |
|
|
197
|
-
| `icon-circle` | `@oxy.so/bloom/icon-circle` + barrel | universal | `icon-circle.mdx` | yes |
|
|
198
|
-
| `icons` | `@oxy.so/bloom/icons` + barrel | universal | `icons.mdx` | yes |
|
|
197
|
+
| `icon-circle` | `@oxy.so/bloom/icon-circle` + barrel | universal | `icon-circle.mdx` | yes | 3 | | | | |
|
|
198
|
+
| `icons` | `@oxy.so/bloom/icons` + barrel | universal | `icons.mdx` | yes | 102 | | | | |
|
|
199
199
|
| `image` | internal | universal | — | — | 5 | | | | |
|
|
200
200
|
| `image-aspect-ratio-cache` | `@oxy.so/bloom/image-aspect-ratio-cache` + barrel | universal | `image-aspect-ratio-cache.mdx` | yes | 4 | | | | |
|
|
201
201
|
| `image-resolver` | `@oxy.so/bloom/image-resolver` + barrel | universal | `image-resolver.mdx` | yes | 8 | | | | |
|
|
@@ -206,10 +206,10 @@ None.
|
|
|
206
206
|
| `job-board` | `@oxy.so/bloom/job-board` + barrel | universal | `job-board.mdx` | yes | 2 | n/a¹ | | | reads |
|
|
207
207
|
| `kbd` | `@oxy.so/bloom/kbd` + barrel | universal | `kbd.mdx` | yes | 4 | | reads | | |
|
|
208
208
|
| `label` | `@oxy.so/bloom/label` + barrel | universal | `label.mdx` | yes | 2 | | reads | | |
|
|
209
|
-
| `layout` | `@oxy.so/bloom/layout` + barrel | web fork | `layout.mdx` | yes |
|
|
209
|
+
| `layout` | `@oxy.so/bloom/layout` + barrel | web fork | `layout.mdx` | yes | 50 | | reads | | |
|
|
210
210
|
| `lead-score` | `@oxy.so/bloom/lead-score` + barrel | universal | `lead-score.mdx` | yes | 1 | | | | |
|
|
211
211
|
| `link-preview` | `@oxy.so/bloom/link-preview` | universal | `link-preview.mdx` | yes | 3 | | | | |
|
|
212
|
-
| `list` | `@oxy.so/bloom/list` + barrel | web fork | `list.mdx` | yes |
|
|
212
|
+
| `list` | `@oxy.so/bloom/list` + barrel | web fork | `list.mdx` | yes | 4 | | | | |
|
|
213
213
|
| `listing-actions` | `@oxy.so/bloom/listing-actions` + barrel | universal | `listing-actions.mdx` | yes | 4 | reads | | | reads |
|
|
214
214
|
| `listing-card` | `@oxy.so/bloom/listing-card` + barrel | universal | `listing-card.mdx` | yes | 6 | | | | |
|
|
215
215
|
| `listing-details` | `@oxy.so/bloom/listing-details` + barrel | universal | `listing-details.mdx` | yes | 5 | | | | reads |
|
|
@@ -252,7 +252,7 @@ None.
|
|
|
252
252
|
| `outline-nav` | `@oxy.so/bloom/outline-nav` + barrel | universal | `outline-nav.mdx` | yes | 2 | | | | |
|
|
253
253
|
| `overlay` | `@oxy.so/bloom/overlay` + barrel | universal | `overlay.mdx` | yes | 39 | | reads | | |
|
|
254
254
|
| `page-footer` | `@oxy.so/bloom/page-footer` + barrel | universal | `page-footer.mdx` | yes | 4 | | | | |
|
|
255
|
-
| `page-header` | `@oxy.so/bloom/page-header` + barrel | web fork | `page-header.mdx` | yes |
|
|
255
|
+
| `page-header` | `@oxy.so/bloom/page-header` + barrel | web fork | `page-header.mdx` | yes | 30 | reads | | | |
|
|
256
256
|
| `pagination` | `@oxy.so/bloom/pagination` + barrel | universal | `pagination.mdx` | yes | 3 | | | | |
|
|
257
257
|
| `panel-routing` | `@oxy.so/bloom/panel-routing` + barrel | universal | `panel-routing.mdx` | yes | 4 | | | | |
|
|
258
258
|
| `patient-info-card` | `@oxy.so/bloom/patient-info-card` + barrel | universal | `patient-info-card.mdx` | yes | 1 | | | | |
|
|
@@ -265,7 +265,7 @@ None.
|
|
|
265
265
|
| `place-list` | `@oxy.so/bloom/place-list` + barrel | universal | `place-list.mdx` | yes | 2 | | | | |
|
|
266
266
|
| `place-picker` | `@oxy.so/bloom/place-picker` + barrel | universal | `place-picker.mdx` | yes | 2 | reads | reads | | |
|
|
267
267
|
| `place-reviews` | `@oxy.so/bloom/place-reviews` + barrel | universal | `place-reviews.mdx` | yes | 2 | | | | reads |
|
|
268
|
-
| `platform-surface` | `@oxy.so/bloom/platform-surface` + barrel | universal | `platform-surface.mdx` | yes |
|
|
268
|
+
| `platform-surface` | `@oxy.so/bloom/platform-surface` + barrel | universal | `platform-surface.mdx` | yes | 44 | | | | |
|
|
269
269
|
| `popover` | `@oxy.so/bloom/popover` + barrel | web fork | `popover.mdx` | yes | 18 | | | reads | reads |
|
|
270
270
|
| `portal` | `@oxy.so/bloom/portal` + barrel | web fork | `portal.mdx` | yes | 66 | | | | |
|
|
271
271
|
| `preferences` | `@oxy.so/bloom/preferences` + barrel | universal | `preferences.mdx` | yes | 2 | | | | |
|
|
@@ -285,8 +285,8 @@ None.
|
|
|
285
285
|
| `recent-hires-card` | `@oxy.so/bloom/recent-hires-card` + barrel | universal | `recent-hires-card.mdx` | yes | 1 | | | | |
|
|
286
286
|
| `route-stops` | `@oxy.so/bloom/route-stops` + barrel | universal | `route-stops.mdx` | yes | 2 | | | | |
|
|
287
287
|
| `row-actions` | `@oxy.so/bloom/row-actions` + barrel | universal | `row-actions.mdx` | yes | 1 | | | | |
|
|
288
|
-
| `screen` | `@oxy.so/bloom/screen` + barrel | web fork | `screen.mdx` | yes |
|
|
289
|
-
| `scroll` | `@oxy.so/bloom/scroll` + barrel | web fork | `scroll.mdx` | yes |
|
|
288
|
+
| `screen` | `@oxy.so/bloom/screen` + barrel | web fork | `screen.mdx` | yes | 47 | | | | |
|
|
289
|
+
| `scroll` | `@oxy.so/bloom/scroll` + barrel | web fork | `scroll.mdx` | yes | 13 | | | | |
|
|
290
290
|
| `search` | `@oxy.so/bloom/search` + barrel | universal | `search.mdx` | yes | 8 | reads | reads | | |
|
|
291
291
|
| `segmented-control` | `@oxy.so/bloom/segmented-control` + barrel | universal | `segmented-control.mdx` | yes | 8 | reads | reads | | |
|
|
292
292
|
| `select` | `@oxy.so/bloom/select` + barrel | web fork | `select.mdx` | yes | 19 | reads | reads | reads | reads |
|
|
@@ -295,7 +295,7 @@ None.
|
|
|
295
295
|
| `shapes` | `@oxy.so/bloom/shapes` + barrel | universal | `shapes.mdx` | yes | 4 | | | | |
|
|
296
296
|
| `share-sheet` | `@oxy.so/bloom/share-sheet` + barrel | universal | `share-sheet.mdx` | yes | 2 | | reads | | |
|
|
297
297
|
| `shipment-request` | `@oxy.so/bloom/shipment-request` + barrel | universal | `shipment-request.mdx` | yes | 2 | reads | | | |
|
|
298
|
-
| `sidebar` | `@oxy.so/bloom/sidebar` + barrel | universal | `sidebar.mdx` | yes |
|
|
298
|
+
| `sidebar` | `@oxy.so/bloom/sidebar` + barrel | universal | `sidebar.mdx` | yes | 29 | n/a¹ | reads | | reads |
|
|
299
299
|
| `skeleton` | `@oxy.so/bloom/skeleton` + barrel | universal | `skeleton.mdx` | yes | 2 | | | | |
|
|
300
300
|
| `slider` | `@oxy.so/bloom/slider` + barrel | universal | `slider.mdx` | yes | 8 | reads | reads | | |
|
|
301
301
|
| `social-button` | `@oxy.so/bloom/social-button` + barrel | web fork | `social-button.mdx` | yes | 2 | | reads | | |
|
|
@@ -325,12 +325,12 @@ None.
|
|
|
325
325
|
| `tenancy` | `@oxy.so/bloom/tenancy` + barrel | universal | `tenancy.mdx` | yes | 5 | | reads | | |
|
|
326
326
|
| `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 27 | reads | reads | | |
|
|
327
327
|
| `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 6 | reads | reads | | n/a¹ |
|
|
328
|
-
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes |
|
|
328
|
+
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 681 | | | n/a¹ | reads |
|
|
329
329
|
| `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
|
|
330
330
|
| `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 21 | | | | |
|
|
331
331
|
| `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 7 | | reads | | |
|
|
332
332
|
| `track-list` | `@oxy.so/bloom/track-list` + barrel | universal | `track-list.mdx` | yes | 3 | | | | reads |
|
|
333
|
-
| `typography` | `@oxy.so/bloom/typography` + barrel | universal | `typography.mdx` | yes |
|
|
333
|
+
| `typography` | `@oxy.so/bloom/typography` + barrel | universal | `typography.mdx` | yes | 33 | | | | |
|
|
334
334
|
| `usage-card` | `@oxy.so/bloom/usage-card` + barrel | universal | `usage-card.mdx` | yes | 2 | | | | reads |
|
|
335
335
|
| `user-hover-card` | `@oxy.so/bloom/user-hover-card` + barrel | universal | `user-hover-card.mdx` | yes | 5 | | | | |
|
|
336
336
|
| `vehicle-picker` | `@oxy.so/bloom/vehicle-picker` + barrel | universal | `vehicle-picker.mdx` | yes | 3 | reads | | | |
|
package/docs/announcement.mdx
CHANGED
|
@@ -41,6 +41,13 @@ import { Announcement } from '@oxy.so/bloom/announcement';
|
|
|
41
41
|
Full height with every part: 12 + 20 + 4 + (20 + 2 + 36) + 12 + 32 + 12 = 150
|
|
42
42
|
(plus the 1px border each side).
|
|
43
43
|
|
|
44
|
+
## Control scope
|
|
45
|
+
|
|
46
|
+
The card has no Bloom control-size prop. Its call to action is explicitly `sm`
|
|
47
|
+
and its dismiss control is explicitly `xs`; those role sizes stay fixed when a
|
|
48
|
+
surrounding `BloomScope` changes. Native-renderer and DOM web tests verify both
|
|
49
|
+
sizes at default, `xs`, `lg` and nested scopes.
|
|
50
|
+
|
|
44
51
|
## Props
|
|
45
52
|
|
|
46
53
|
| Prop | Type | Notes |
|
package/docs/app-shell.mdx
CHANGED
|
@@ -459,12 +459,15 @@ flex, laid out by Yoga in the pass that lays the resized window out:
|
|
|
459
459
|
- panel tracks are `resolvePanelFlex`'s flex values, the CSS compositor's
|
|
460
460
|
(`flex: <span> 1 0px` for a flexible track, its width for a fixed one), moved
|
|
461
461
|
by Reanimated only while the layout itself changes (`animatePanelFlex`);
|
|
462
|
-
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
to
|
|
462
|
+
- minimums and maximums remain direct flex constraints. Yoga starts flexible
|
|
463
|
+
tracks from their minimums while browser flexbox can distribute differently.
|
|
464
|
+
The former JS water-fill compensation reproduced browser pixel sizes but was
|
|
465
|
+
itself a second distribution engine. It has been removed: `PanelNativeFlex.test.tsx`
|
|
466
|
+
retains the unequal-minimum regression fixtures and lays the rendered tree out
|
|
467
|
+
with real Yoga to verify bounds, full space use and resize without a React render.
|
|
468
|
+
Equal constraints give equal splits; unequal bound constraints do not promise
|
|
469
|
+
identical cross-platform pixel ratios. Resize gestures read actual rendered sizes.
|
|
470
|
+
|
|
468
471
|
|
|
469
472
|
Before, the shell and each panel group measured themselves with `onLayout` →
|
|
470
473
|
`setState` and sized their regions in pixels: every frame of a resize was two
|
|
@@ -1389,11 +1392,15 @@ const [spans, setSpans] = useState({ left: 1, right: 1 });
|
|
|
1389
1392
|
}} />
|
|
1390
1393
|
```
|
|
1391
1394
|
|
|
1392
|
-
Flexible tracks
|
|
1393
|
-
`
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1395
|
+
Flexible tracks declare a zero basis (`flex: <span> 1 0px`) and explicit
|
|
1396
|
+
`minWidth`/`maxWidth` constraints. A measured historical difference remains
|
|
1397
|
+
relevant: 1:2 spans with 100 minimums in 800 produced 300/500 in Yoga and 267/533
|
|
1398
|
+
in browser flexbox. Earlier releases compensated with a JavaScript water-fill
|
|
1399
|
+
pass to force browser sizes. Version 19.6 removes that second distribution
|
|
1400
|
+
engine and gives the constraints directly to each platform. The native Yoga
|
|
1401
|
+
regression fixtures retain this case and verify bounds and complete space use;
|
|
1402
|
+
identical pixels across platforms are not promised when unequal constraints
|
|
1403
|
+
bind. Resize gestures start from the actual rendered size, not that old model.
|
|
1397
1404
|
|
|
1398
1405
|
A slot of the split that stacks two panes is a nested
|
|
1399
1406
|
`AppShellPanels scope="local"` with `axis: 'vertical'` inside a pane with
|
package/docs/avatar.mdx
CHANGED
|
@@ -270,6 +270,8 @@ explain the move to direct SVG portraits and are not instructions for current co
|
|
|
270
270
|
|
|
271
271
|
## Props
|
|
272
272
|
|
|
273
|
+
When `size` is omitted, the nearest `BloomScope` supplies the `xs`/`sm`/`md`/`lg` rung; without a size scope the avatar keeps its 40dp default. An explicit named or numeric `size` always takes precedence.
|
|
274
|
+
|
|
273
275
|
| Prop | Type | Default | Description |
|
|
274
276
|
|------|------|---------|-------------|
|
|
275
277
|
| `source?` | `string \| Shapes.ImageSource \| null` | — | Flexible image source. Takes precedence over `uri`. |
|
package/docs/badge.mdx
CHANGED
|
@@ -27,6 +27,8 @@ Geometry is a standard counter badge; colours stay on Bloom's accent recipe.
|
|
|
27
27
|
|
|
28
28
|
There are five rungs in TWO families, and the difference between them is not just height.
|
|
29
29
|
|
|
30
|
+
The counter aliases `xs`, `sm`, `md` and `lg` follow the nearest `BloomScope`; an explicit alias wins. The word rungs `label-small` and `label-medium` are badge-specific recipes and keep their chosen geometry under surrounding control scopes. `md` is the default.
|
|
31
|
+
|
|
30
32
|
| size | height | text | padding-x | icon |
|
|
31
33
|
| ---- | ------ | ---- | --------- | ---- |
|
|
32
34
|
| `sm` | 17 | `caption-2-semibold` (11/15), tracking 0 | 4 | 10 |
|
package/docs/chip.mdx
CHANGED
|
@@ -8,6 +8,10 @@ order: 23
|
|
|
8
8
|
|
|
9
9
|
A labelled pill. A filter you can toggle, a tag you can remove, or a static token.
|
|
10
10
|
|
|
11
|
+
## Size and control scopes
|
|
12
|
+
|
|
13
|
+
`xs`, `sm`, `md` and `lg` follow the nearest `BloomScope`; an explicit `size` wins. `xl` and `2xl` are chip-specific filter and touch-target rungs, so they remain explicit sizes rather than being substituted by a control scope. `md` is the default.
|
|
14
|
+
|
|
11
15
|
`Chip` is what shadcn calls `Badge`. Bloom's own [`Badge`](/docs/bloom/main/design-tokens) is a different component — a counter or a dot that rides on another control — so if you are porting a `<Badge>Draft</Badge>` from shadcn, this is the one you want.
|
|
12
16
|
|
|
13
17
|
## Basic
|
|
@@ -184,9 +188,9 @@ The close affordance is its own control inside the pill, with its own label and
|
|
|
184
188
|
| `md` (default) | 24 | 6 | 4 | 16 | `body-medium` |
|
|
185
189
|
| `lg` | 28 | 6 | 4 | 16 | `body-medium` |
|
|
186
190
|
| `xl` | 32 | 12 | 8 | 16 | `body-medium` |
|
|
187
|
-
| `2xl` |
|
|
191
|
+
| `2xl` | 44 | 16 | 8 | 18 | `body-medium` |
|
|
188
192
|
|
|
189
|
-
The scale used to stop at `lg`, which is why five families grew a pill of their own rather than use this one: 28 tall with 6px sides is a TAG, and a filter you tap needs a target. `xl` is the filter/segment pill; `2xl` is the filters-sheet pill,
|
|
193
|
+
The scale used to stop at `lg`, which is why five families grew a pill of their own rather than use this one: 28 tall with 6px sides is a TAG, and a filter you tap needs a target. `xl` is the filter/segment pill; `2xl` is the filters-sheet pill at 44px tall, with 2px of native vertical hit slop reaching 48dp without side overlap. It pins a `minWidth` of 48 so a one-character label ("1", "8+") stays a pill rather than collapsing to a dot — a rung with a `minWidth` also centres its contents.
|
|
190
194
|
|
|
191
195
|
**Override the side padding with `paddingHorizontal`, never `paddingLeft`/`paddingRight`.** react-native-web maps the shorthand this component uses to `padding-inline`, which its atomic sheet ranks above `padding-left` whatever the array order — so a longhand override drops on WEB and lands on native. Two families were overriding it that way and had been drawing 6px on the web since they shipped. Better still: pick the rung that already carries the padding you want.
|
|
192
196
|
|
package/docs/compose-layouts.mdx
CHANGED
|
@@ -245,7 +245,6 @@ export function PageWorkspace({
|
|
|
245
245
|
mode: deck ? 'deck' : 'split',
|
|
246
246
|
flow: deck ? 'bounded' : 'document',
|
|
247
247
|
horizontalScroll: 'document',
|
|
248
|
-
transition: 'exit-before-enter',
|
|
249
248
|
activePanel: 'main',
|
|
250
249
|
onPanelOrderChange: (ids) => {
|
|
251
250
|
const customizable = new Set(extraPanels.map((panel) => panel.id));
|
|
@@ -279,7 +278,9 @@ motion applies to later insertions and visibility changes, not the first screen.
|
|
|
279
278
|
|
|
280
279
|
`transition: 'exit-before-enter'` lets outgoing panels fade/recede before track
|
|
281
280
|
geometry changes, then reveals incoming content at its usable width. The reverse
|
|
282
|
-
follows the same policy. Default `simultaneous` changes those phases together
|
|
281
|
+
follows the same policy. Default `simultaneous` changes those phases together
|
|
282
|
+
and responds immediately to a mode switch. The retained primary content and shell
|
|
283
|
+
chrome stay painted in both directions; fades belong to entering or exiting panels.
|
|
283
284
|
Reduced motion settles immediately; applications supply no transition timers,
|
|
284
285
|
window measurements or duplicate page animations.
|
|
285
286
|
|
|
@@ -498,3 +499,114 @@ Check document flow, bounded Deck, compact layout, Back, delayed loading and
|
|
|
498
499
|
account switching before removing a legacy adapter. Cached data can render
|
|
499
500
|
immediately; a cold network request still needs an accurate skeleton and error
|
|
500
501
|
state rather than a promise of zero latency.
|
|
502
|
+
|
|
503
|
+
## Nested splits and growing groups
|
|
504
|
+
|
|
505
|
+
A panel descriptor can contain `group: AppShellPanelLayout`. This is a transparent
|
|
506
|
+
layout node: it owns no Surface, Screen, navigation history or scroll-restoration
|
|
507
|
+
namespace. Its leaves use the same panel renderer as root and Deck panels. IDs
|
|
508
|
+
must be unique among siblings; the same ID can appear at another group depth.
|
|
509
|
+
Keep the group and its primary leaf mounted when adding an auxiliary panel.
|
|
510
|
+
|
|
511
|
+
```tsx
|
|
512
|
+
const layout: AppShellPanelLayout = {
|
|
513
|
+
flow: 'document',
|
|
514
|
+
panels: [{
|
|
515
|
+
id: 'main',
|
|
516
|
+
group: {
|
|
517
|
+
mode: 'split',
|
|
518
|
+
axis: 'vertical',
|
|
519
|
+
flow: 'bounded',
|
|
520
|
+
singlePanelFlow: 'document',
|
|
521
|
+
panels: [
|
|
522
|
+
{ id: 'main', minHeight: 160, resizable: true, content: postScreen },
|
|
523
|
+
{
|
|
524
|
+
id: 'likes', minHeight: 160, visible: likesOpen, content: likesScreen,
|
|
525
|
+
floating: {
|
|
526
|
+
below: 'md', open: likesOpen, onOpenChange: setLikesOpen,
|
|
527
|
+
label: likesLabel, placement: 'bottom', whenConstrained: true,
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
},
|
|
532
|
+
}],
|
|
533
|
+
};
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
`split` distributes the group's bounded space using flex weights (`span`, default
|
|
537
|
+
1). Each leaf Screen owns its own scroll. `flow` adds panels without shrinking
|
|
538
|
+
existing panels to fit: horizontal flow uses each width (default 360), and vertical
|
|
539
|
+
flow uses content height unless a height is declared. The group owns scrolling
|
|
540
|
+
along its axis. Both modes accept either axis and groups can nest recursively.
|
|
541
|
+
Existing `deck` retains its document-horizontal-scroll defaults; `flow` defaults
|
|
542
|
+
to contained scrolling. Resizable split dividers redistribute a pair; flow
|
|
543
|
+
resizing changes that panel's resting dimension.
|
|
544
|
+
|
|
545
|
+
`singlePanelFlow: 'document'` explicitly lets a nested split's sole inline leaf
|
|
546
|
+
return to document scrolling when its parent is a document region. When another
|
|
547
|
+
inline leaf opens, the group occupies the available viewport height and the
|
|
548
|
+
leaves scroll independently. Hidden and floating leaves do not count. Native
|
|
549
|
+
continues using native scroll owners. On close, the primary fills the bounded
|
|
550
|
+
viewport during the outgoing track's CSS transition and any ancestor geometry
|
|
551
|
+
transition (such as a Deck column widening). Its reading offset transfers to the
|
|
552
|
+
document after those transitions finish. The sole reading pane keeps one flex
|
|
553
|
+
basis across document and bounded owners, so opening starts at the full viewport
|
|
554
|
+
instead of collapsing to its minimum. Reopening cancels the pending
|
|
555
|
+
handoff, and reduced motion transfers immediately. Document restoration follows
|
|
556
|
+
only the primary inline branch through transparent groups; a parent cannot restore
|
|
557
|
+
the window while its primary descendant still owns bounded scrolling. The group
|
|
558
|
+
and leaf identities stay stable.
|
|
559
|
+
When application data should be released after closing, keep the descriptor and
|
|
560
|
+
its payload while setting `visible: false`, then release that payload in
|
|
561
|
+
`onExitComplete`. The callback belongs to that exit: reopening cancels it, and
|
|
562
|
+
replacing a callback during the exit does not redirect the old completion. It
|
|
563
|
+
runs after owned CSS/native geometry and paint finish, or after the floating
|
|
564
|
+
Dialog closes. Reduced motion and nonanimated retained layouts complete without
|
|
565
|
+
an extra delay. Initially hidden panels and responsive presentation changes do
|
|
566
|
+
not count as exits. The app still owns account, route and request identity:
|
|
567
|
+
guard a delayed release against those identities, and clear private data
|
|
568
|
+
immediately when its account or host is removed. Bloom never caches the app's
|
|
569
|
+
React content to manufacture an outgoing frame.
|
|
570
|
+
|
|
571
|
+
Transparent groups pass entry/exit presence to their painted descendants.
|
|
572
|
+
Surviving primary content stays opaque; an outgoing group fades before its
|
|
573
|
+
children become narrow strips. Material hosts and their ancestors never fade,
|
|
574
|
+
so backdrop sampling remains intact.
|
|
575
|
+
|
|
576
|
+
Compact presentation follows the enclosing shell's responsive scope, so a narrow
|
|
577
|
+
column inside a desktop workspace does not accidentally become a phone sheet.
|
|
578
|
+
|
|
579
|
+
Geometry is owned by CSS flexbox on web and Yoga on native. NativeWind classes
|
|
580
|
+
express static structural layout; dynamic flex constraints and gesture values
|
|
581
|
+
are applied by the shared renderer. There is no JavaScript water-fill pass in
|
|
582
|
+
normal native layout. Native and browser flex engines can distribute spare space
|
|
583
|
+
differently when unequal minimums bind; minimums remain explicit constraints.
|
|
584
|
+
Use equal constraints for an equal split. Without a floating fallback, minimums
|
|
585
|
+
that cannot fit retain the existing active-panel capacity behavior; configure
|
|
586
|
+
`floating.whenConstrained` for an auxiliary sheet. Direct resize gestures may
|
|
587
|
+
measure a panel and commit weights or dimensions once the gesture ends.
|
|
588
|
+
|
|
589
|
+
Give resizable panes explicit `minWidth`/`minHeight` to set their stop (for
|
|
590
|
+
example, `minHeight: 160` on both sides of a vertical split). An auxiliary panel
|
|
591
|
+
with `floating.whenConstrained: true` uses its configured sheet when those
|
|
592
|
+
minimums and the group gap cannot fit. This is a container-capacity decision,
|
|
593
|
+
shared by CSS queries and native breakpoint subscriptions, not a consumer window
|
|
594
|
+
measurement. A capacity fallback keeps the group bounded, avoiding a loop with
|
|
595
|
+
`singlePanelFlow`; a width-based mobile fallback can still restore document flow.
|
|
596
|
+
|
|
597
|
+
`resizeMaxHeight: 'content'` optionally limits vertical divider interaction to a
|
|
598
|
+
Screen's measured intrinsic content plus its chrome. It does not change the
|
|
599
|
+
initial split, its flex weights or its default size. If a pane starts larger
|
|
600
|
+
than its content, it cannot grow further; it can shrink progressively without a
|
|
601
|
+
jump, and reversing the gesture cannot restore the excess space already removed.
|
|
602
|
+
Below the content ceiling, normal resizing remains available. Authored minimums
|
|
603
|
+
and maximums still apply. Unknown content measurements keep those existing
|
|
604
|
+
constraints rather than guessing from item counts or viewport `scrollHeight`.
|
|
605
|
+
The gesture reads the published extent once at its start; CSS/Yoga continue
|
|
606
|
+
laying out the panels, with no content measurement loop during dragging.
|
|
607
|
+
|
|
608
|
+
Nested native panels consume the top safe area once: a first panel at the physical
|
|
609
|
+
window edge keeps it, while lower vertical panels and panels below a workspace
|
|
610
|
+
header receive an already-consumed top inset. Floating sheets use the original
|
|
611
|
+
window insets to position their surface, while their content receives an already
|
|
612
|
+
consumed top inset. Consumers do not add safe-area offsets to compensate for nesting.
|
package/docs/composition-bar.mdx
CHANGED
|
@@ -56,6 +56,10 @@ Five or six. Beyond that the small segments are too thin to press and the
|
|
|
56
56
|
colours stop being distinguishable — group the tail into an "Other" category
|
|
57
57
|
with its own neutral colour, as above.
|
|
58
58
|
|
|
59
|
+
Each segment keeps its 44px touch height under `BloomScope`; the bar has no
|
|
60
|
+
control-size prop. A chart segment's hit target is role-specific geometry and
|
|
61
|
+
does not shrink with surrounding controls.
|
|
62
|
+
|
|
59
63
|
## `formatReadout`
|
|
60
64
|
|
|
61
65
|
The default states the amount and its share ("120 pts · 35%", in the app's
|
package/docs/contact-card.mdx
CHANGED
|
@@ -134,6 +134,11 @@ the KIND still decides the verb and the word.
|
|
|
134
134
|
The control DRAWS at 32, the size a card wants, and is HIT at 44 through
|
|
135
135
|
`CONTACT_CHANNEL_HIT`, the size a thumb needs.
|
|
136
136
|
|
|
137
|
+
The card has no Bloom control-size prop. Its channel actions delegate to
|
|
138
|
+
`Button` with an explicit `sm` size, its chips use explicit `md`, and its
|
|
139
|
+
`density` prop controls card layout. The caller-owned `actions` slot is passed
|
|
140
|
+
through and inherits the nearest `BloomScope` normally.
|
|
141
|
+
|
|
137
142
|
## The press target is the identity block, not the card
|
|
138
143
|
|
|
139
144
|
`onPress` is bound to the text (and, in a row, the mark with it), never to the
|
package/docs/dialog.mdx
CHANGED
|
@@ -613,3 +613,10 @@ reordering or translating dynamic command sets; an index fallback cannot provide
|
|
|
613
613
|
the identity of a command moved to a different index. Dialog actions stay
|
|
614
614
|
icon-only by default to preserve existing header presentation; explicitly choose
|
|
615
615
|
`labelVisibility` when the label should participate in adaptation.
|
|
616
|
+
|
|
617
|
+
For a bottom dialog whose Screen or virtualized list owns scrolling, use
|
|
618
|
+
`scrollable={false} sizing="fill"`. This explicitly fills the sheet's available
|
|
619
|
+
height (bounded by `maxHeightRatio`) instead of asking flexible children for an
|
|
620
|
+
intrinsic height. The default `sizing="content"` preserves content-sized dialogs.
|
|
621
|
+
Height morphing applies to content sizing; fill sizing stays attached to its
|
|
622
|
+
available bounds.
|
package/docs/divider.mdx
CHANGED
|
@@ -76,3 +76,11 @@ not between items.
|
|
|
76
76
|
`SettingsListDivider` is the inset variant for grouped rows; prefer it inside a
|
|
77
77
|
settings group so the rule starts after the icon column instead of cutting the
|
|
78
78
|
card in half.
|
|
79
|
+
|
|
80
|
+
## Control scope
|
|
81
|
+
|
|
82
|
+
`Divider` has no Bloom control-size prop. `thickness` and the variant geometry
|
|
83
|
+
describe the separator, so they remain unchanged under `BloomScope`. A control
|
|
84
|
+
passed as `children` remains caller-owned and inherits the caller's scope.
|
|
85
|
+
Native-renderer and DOM web tests verify the separator weight and child Button
|
|
86
|
+
at default, `xs`, `lg`, nested and explicit-size scopes.
|
package/docs/empty-state.mdx
CHANGED
|
@@ -67,6 +67,14 @@ fact box or a list rather than centred text. `order-confirmation` is built on ex
|
|
|
67
67
|
that: a "done" screen is the same object as a "nothing here" screen with a different
|
|
68
68
|
reason for existing.
|
|
69
69
|
|
|
70
|
+
## Control scope
|
|
71
|
+
|
|
72
|
+
`variant` selects the empty-state layout rung and the explicit sizes of its own
|
|
73
|
+
actions and suggestion pills; `BloomScope` does not replace those role sizes.
|
|
74
|
+
The caller-owned `children` slot retains the surrounding scope and explicit
|
|
75
|
+
child sizes. Native-renderer and DOM web tests verify both behaviors for
|
|
76
|
+
comfortable and compact variants.
|
|
77
|
+
|
|
70
78
|
## `suggestions`: pills under the description
|
|
71
79
|
|
|
72
80
|
`suggestions` is `{ id, label, icon?, onPress }[]`, drawn as a centred, wrapping row of
|
package/docs/engagement-bar.mdx
CHANGED
|
@@ -10,6 +10,15 @@ The row of actions under a post. `EngagementBar` lays out `EngagementAction`s
|
|
|
10
10
|
with an optional `trailing` group pushed to the far edge; `EngagementGroup` puts
|
|
11
11
|
adjacent actions that read as one control (an up/down vote) on a single pill.
|
|
12
12
|
|
|
13
|
+
For controls over video, use `orientation="vertical" size="lg" tone="onImage"`.
|
|
14
|
+
The same actions stack vertically with counts below their 28px glyphs; accepted
|
|
15
|
+
likes retain the existing pop and count-roll animations, haptics and accessibility.
|
|
16
|
+
Resting glyphs and counts are white while active actions keep their semantic tone.
|
|
17
|
+
Horizontal `md` remains the default. `size` inherits `BloomScope`; an explicit size
|
|
18
|
+
wins. No animated nodes are mounted on idle actions in either orientation.
|
|
19
|
+
Use `showZeroCounts` for a media rail that keeps its `0` labels visible and rolls
|
|
20
|
+
the first `0→1` change. Post bars continue to hide zero counts by default.
|
|
21
|
+
|
|
13
22
|
```tsx
|
|
14
23
|
import {
|
|
15
24
|
EngagementAction,
|
package/docs/icon-circle.mdx
CHANGED
|
@@ -27,6 +27,8 @@ import { RiShieldLine as ShieldIcon } from '@oxy.so/bloom/icons';
|
|
|
27
27
|
| `style` | the disc |
|
|
28
28
|
| `iconStyle` | the glyph |
|
|
29
29
|
|
|
30
|
+
`size` uses the icon-token vocabulary and does not inherit from `BloomScope`; the decorative disc and glyph keep their selected geometry unless the caller changes `size` or styles explicitly.
|
|
31
|
+
|
|
30
32
|
`icon` takes the component itself (`icon={ShieldIcon}`), not an element
|
|
31
33
|
(`icon={<ShieldIcon />}`), so the circle can size and colour it. The slot accepts the shared
|
|
32
34
|
`BloomIconComponent` contract and passes numeric `width`/`height` (24px for
|
package/docs/layout.mdx
CHANGED
|
@@ -476,7 +476,7 @@ every scroll event, so scrolling renders nothing in React.
|
|
|
476
476
|
</View>
|
|
477
477
|
```
|
|
478
478
|
|
|
479
|
-
It hides the scroller's own bar and draws Bloom's over it; on native it renders nothing. `ScrollArea` is a `ScrollView` and one of these, and `scrollIndicatorInsets` (`top` / `bottom`, or `left` / `right` when `horizontal`) keeps the bar clear of chrome that floats over the scroller. Do not style `::-webkit-scrollbar` per component: that is how nine surfaces ended up with nine different bars, some hidden outright.
|
|
479
|
+
It hides the scroller's own bar and draws Bloom's over it; on native it renders nothing. `scrollbar="never"` keeps that web indicator ownership without rendering an overlay or observing its geometry. AppShell and retained Screens use it while bounded or exiting, so the system indicator cannot flash while their content still moves. Scrolling itself remains enabled. `ScrollArea` is a `ScrollView` and one of these, and `scrollIndicatorInsets` (`top` / `bottom`, or `left` / `right` when `horizontal`) keeps the bar clear of chrome that floats over the scroller. Do not style `::-webkit-scrollbar` per component: that is how nine surfaces ended up with nine different bars, some hidden outright.
|
|
480
480
|
|
|
481
481
|
|
|
482
482
|
### Shared scroll owners
|
package/docs/list.mdx
CHANGED
|
@@ -140,9 +140,10 @@ have moved — shown again, or content above it grew — never from a box-less
|
|
|
140
140
|
wrapper. Returning to retained content or resizing the viewport preserves measured
|
|
141
141
|
row heights; it must not reset unchanged rows to `estimatedItemSize`. Row resize
|
|
142
142
|
observations update actual content changes. When a retained list changes between
|
|
143
|
-
document and panel scrolling,
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
document and panel scrolling, the same virtualizer retains its row measurements
|
|
144
|
+
and mounted row identities; only its owner adapters change. The adapter reads the
|
|
145
|
+
current Screen scroll ref during layout. A post-commit fallback covers a parent
|
|
146
|
+
ref that attaches after child layout effects, without requiring an unrelated render.
|
|
146
147
|
|
|
147
148
|
`screen={{ active, restoration }}` binds the window to the Screen's chrome only
|
|
148
149
|
when no Screen viewport already does; a Screen that owns its viewport drives
|
package/docs/page-header.mdx
CHANGED
|
@@ -139,6 +139,12 @@ It is an opacity ramp of one flat colour, not a blur of varying intensity. `back
|
|
|
139
139
|
|
|
140
140
|
`scrim="auto"` fades it in over `[0, scrollThreshold]`, so it appears when content starts passing under. `"always"` paints it at rest — for a header born over a photograph. `"none"` removes it and leaves legibility to the islands alone.
|
|
141
141
|
|
|
142
|
+
`scrimFalloff="linear"` fades uniformly from fully opaque at the top to transparent
|
|
143
|
+
at the bottom, with half opacity at the midpoint. The default `"smooth"` retains
|
|
144
|
+
the existing legibility curve. Both extend below the header and leave title/action
|
|
145
|
+
opacity unchanged. `EdgeScrim falloff="linear"` exposes the same option for other
|
|
146
|
+
floating chrome; Android's background gradient and the SVG use the same stops.
|
|
147
|
+
|
|
142
148
|
**The colour follows the containing surface.** The ramp inherits the fill published by ContentPanel/SurfaceLevelProvider, falling back to the page background. A custom background unknown to that context must publish its resolved fill (for a panel, `surfaceColor`) or explicitly pass `scrimColor`. Pass an **opaque** colour: the alpha belongs to the ramp, and a colour carrying its own would multiply with it.
|
|
143
149
|
|
|
144
150
|
**The islands protect themselves; the title does not.** An island carries its own material and is legible over both ends of the backdrop range (measured, in [Blur](/docs/blur)). A title is bare text on whatever is behind it, and with `scrim="auto"` there is nothing behind it until the page scrolls. So a header that sits over a photograph **at rest** needs a declared heading relationship or a choice that keeps its title readable:
|
|
@@ -183,6 +189,7 @@ The scrim sizes to its parent, so the parent carries the height — extend it AB
|
|
|
183
189
|
| `leading` | — | After the back capsule, before the title (an avatar, a logo). |
|
|
184
190
|
| `actions` | — | End of the bar. Floating: wrapped in a blur `BloomScope`. |
|
|
185
191
|
| `scrim` | `'auto'` | `presentation="floating"` only. `auto` \| `always` \| `none`. |
|
|
192
|
+
| `scrimFalloff` | `'smooth'` | Floating ramp curve; `linear` fades uniformly from opaque to transparent. |
|
|
186
193
|
| `scrimColor` | Inherited surface fill | The opaque colour the edge effect fades from. Pass it when the screen paints a background the theme does not know about. |
|
|
187
194
|
| `border` | `'auto'` | `bar` and `navigation` only. `auto` fades the separator in with scroll; `always`; `none`. |
|
|
188
195
|
| `transparent` | `false` | `bar` and `navigation` only: background and shadow fade in with scroll. It no longer hides the title. |
|