@oxy.so/bloom 22.0.1 → 22.1.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/adoption-matrix.mdx +10 -10
- package/docs/agent-task-index.mdx +1 -1
- package/docs/app-conventions.mdx +11 -0
- package/docs/app-shell.mdx +25 -2
- package/docs/compose-layouts.mdx +6 -0
- package/docs/composition.mdx +3 -1
- package/docs/dialog.mdx +57 -0
- package/docs/layout.mdx +10 -0
- package/docs/project-board.mdx +28 -1
- package/docs/public-parts.mdx +8 -2
- package/docs/screen.mdx +15 -0
- package/docs/semantic-composition.mdx +207 -0
- package/docs/task-catalog.json +16 -3
- package/docs/task-catalog.mdx +6 -6
- package/docs/ui-architecture.mdx +6 -4
- package/lib/commonjs/app-shell/AppShell.js +18 -9
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellEngine.js +18 -5
- package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellPanelLayout.js +59 -30
- package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellPanels.js +53 -31
- package/lib/commonjs/app-shell/AppShellPanels.js.map +1 -1
- package/lib/commonjs/app-shell/composition.js +232 -0
- package/lib/commonjs/app-shell/composition.js.map +1 -0
- package/lib/commonjs/app-shell/context.js +7 -1
- package/lib/commonjs/app-shell/context.js.map +1 -1
- package/lib/commonjs/app-shell/hooks/index.js +13 -0
- package/lib/commonjs/app-shell/hooks/index.js.map +1 -1
- package/lib/commonjs/app-shell/index.js +38 -0
- package/lib/commonjs/app-shell/index.js.map +1 -1
- package/lib/commonjs/app-shell/index.web.js +38 -0
- package/lib/commonjs/app-shell/index.web.js.map +1 -1
- package/lib/commonjs/app-shell/panel-layout-css.js +7 -3
- package/lib/commonjs/app-shell/panel-layout-css.js.map +1 -1
- package/lib/commonjs/app-shell/panel-session.js +210 -0
- package/lib/commonjs/app-shell/panel-session.js.map +1 -0
- package/lib/commonjs/app-shell/shell-layout-css.js +6 -4
- package/lib/commonjs/app-shell/shell-layout-css.js.map +1 -1
- package/lib/commonjs/canvas/CanvasPanelBase.js +1 -0
- package/lib/commonjs/canvas/CanvasPanelBase.js.map +1 -1
- package/lib/commonjs/chat-screen/ChatInfoPanelBase.js +1 -0
- package/lib/commonjs/chat-screen/ChatInfoPanelBase.js.map +1 -1
- package/lib/commonjs/dialog/DetailDialog.js +19 -0
- package/lib/commonjs/dialog/DetailDialog.js.map +1 -0
- package/lib/commonjs/dialog/DetailDialog.web.js +19 -0
- package/lib/commonjs/dialog/DetailDialog.web.js.map +1 -0
- package/lib/commonjs/dialog/DetailDialogBase.js +204 -0
- package/lib/commonjs/dialog/DetailDialogBase.js.map +1 -0
- package/lib/commonjs/dialog/DetailDialogMotion.js +87 -0
- package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -0
- package/lib/commonjs/dialog/DetailDialogMotion.web.js +345 -0
- package/lib/commonjs/dialog/DetailDialogMotion.web.js.map +1 -0
- package/lib/commonjs/dialog/DetailDialogSection.js +49 -0
- package/lib/commonjs/dialog/DetailDialogSection.js.map +1 -0
- package/lib/commonjs/dialog/Dialog.js +101 -90
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/context.js +4 -1
- package/lib/commonjs/dialog/context.js.map +1 -1
- package/lib/commonjs/dialog/index.js +20 -0
- package/lib/commonjs/dialog/index.js.map +1 -1
- package/lib/commonjs/dialog/index.web.js +20 -0
- package/lib/commonjs/dialog/index.web.js.map +1 -1
- package/lib/commonjs/index.js +28 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +28 -0
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/layout/app-shell-region.js.map +1 -1
- package/lib/commonjs/layout/index.js +7 -0
- package/lib/commonjs/layout/index.js.map +1 -1
- package/lib/commonjs/layout/index.web.js +7 -0
- package/lib/commonjs/layout/index.web.js.map +1 -1
- package/lib/commonjs/layout/safe-area-ownership.js +31 -0
- package/lib/commonjs/layout/safe-area-ownership.js.map +1 -0
- package/lib/commonjs/layout/screen-scope.js +26 -20
- package/lib/commonjs/layout/screen-scope.js.map +1 -1
- package/lib/commonjs/list/ListMail.js +5 -1
- package/lib/commonjs/list/ListMail.js.map +1 -1
- package/lib/commonjs/page-header/PageHeader.js +3 -1
- package/lib/commonjs/page-header/PageHeader.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoard.js +2 -0
- package/lib/commonjs/project-board/ProjectBoard.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoard.web.js +2 -0
- package/lib/commonjs/project-board/ProjectBoard.web.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoardBase.js +29 -41
- package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -1
- package/lib/commonjs/project-board/ProjectBoardCardContent.js +56 -0
- package/lib/commonjs/project-board/ProjectBoardCardContent.js.map +1 -0
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js +7 -340
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js.map +1 -1
- package/lib/commonjs/project-board/TicketDetailDialog.js +317 -412
- package/lib/commonjs/project-board/TicketDetailDialog.js.map +1 -1
- package/lib/commonjs/project-board/TicketGenieSurface.js +13 -82
- package/lib/commonjs/project-board/TicketGenieSurface.js.map +1 -1
- package/lib/commonjs/project-board/TicketTokenChart.js +1 -1
- package/lib/commonjs/project-board/TicketTokenChart.js.map +1 -1
- package/lib/commonjs/project-board/context.js +9 -2
- package/lib/commonjs/project-board/context.js.map +1 -1
- package/lib/commonjs/project-board/index.js +7 -0
- package/lib/commonjs/project-board/index.js.map +1 -1
- package/lib/commonjs/project-board/index.web.js +7 -0
- package/lib/commonjs/project-board/index.web.js.map +1 -1
- package/lib/commonjs/screen/ScreenBase.js +44 -32
- package/lib/commonjs/screen/ScreenBase.js.map +1 -1
- package/lib/commonjs/screen/ScreenContent.js +61 -0
- package/lib/commonjs/screen/ScreenContent.js.map +1 -0
- package/lib/commonjs/screen/ScreenScrollViewBase.js +66 -1
- package/lib/commonjs/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/commonjs/screen/content.js +25 -0
- package/lib/commonjs/screen/content.js.map +1 -0
- package/lib/commonjs/screen/index.js +7 -0
- package/lib/commonjs/screen/index.js.map +1 -1
- package/lib/commonjs/screen/index.web.js +7 -0
- package/lib/commonjs/screen/index.web.js.map +1 -1
- package/lib/commonjs/screen/keyboard-components.js.map +1 -1
- package/lib/module/app-shell/AppShell.js +15 -5
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellEngine.js +18 -5
- package/lib/module/app-shell/AppShellEngine.js.map +1 -1
- package/lib/module/app-shell/AppShellPanelLayout.js +60 -30
- package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
- package/lib/module/app-shell/AppShellPanels.js +52 -28
- package/lib/module/app-shell/AppShellPanels.js.map +1 -1
- package/lib/module/app-shell/composition.js +226 -0
- package/lib/module/app-shell/composition.js.map +1 -0
- package/lib/module/app-shell/context.js +4 -0
- package/lib/module/app-shell/context.js.map +1 -1
- package/lib/module/app-shell/hooks/index.js +1 -0
- package/lib/module/app-shell/hooks/index.js.map +1 -1
- package/lib/module/app-shell/index.js +3 -0
- package/lib/module/app-shell/index.js.map +1 -1
- package/lib/module/app-shell/index.web.js +3 -0
- package/lib/module/app-shell/index.web.js.map +1 -1
- package/lib/module/app-shell/panel-layout-css.js +7 -3
- package/lib/module/app-shell/panel-layout-css.js.map +1 -1
- package/lib/module/app-shell/panel-session.js +204 -0
- package/lib/module/app-shell/panel-session.js.map +1 -0
- package/lib/module/app-shell/shell-layout-css.js +6 -4
- package/lib/module/app-shell/shell-layout-css.js.map +1 -1
- package/lib/module/canvas/CanvasPanelBase.js +1 -0
- package/lib/module/canvas/CanvasPanelBase.js.map +1 -1
- package/lib/module/chat-screen/ChatInfoPanelBase.js +1 -0
- package/lib/module/chat-screen/ChatInfoPanelBase.js.map +1 -1
- package/lib/module/dialog/DetailDialog.js +15 -0
- package/lib/module/dialog/DetailDialog.js.map +1 -0
- package/lib/module/dialog/DetailDialog.web.js +15 -0
- package/lib/module/dialog/DetailDialog.web.js.map +1 -0
- package/lib/module/dialog/DetailDialogBase.js +200 -0
- package/lib/module/dialog/DetailDialogBase.js.map +1 -0
- package/lib/module/dialog/DetailDialogMotion.js +81 -0
- package/lib/module/dialog/DetailDialogMotion.js.map +1 -0
- package/lib/module/dialog/DetailDialogMotion.web.js +342 -0
- package/lib/module/dialog/DetailDialogMotion.web.js.map +1 -0
- package/lib/module/dialog/DetailDialogSection.js +44 -0
- package/lib/module/dialog/DetailDialogSection.js.map +1 -0
- package/lib/module/dialog/Dialog.js +102 -91
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/context.js +3 -0
- package/lib/module/dialog/context.js.map +1 -1
- package/lib/module/dialog/index.js +2 -0
- package/lib/module/dialog/index.js.map +1 -1
- package/lib/module/dialog/index.web.js +2 -0
- package/lib/module/dialog/index.web.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +2 -2
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/layout/app-shell-region.js.map +1 -1
- package/lib/module/layout/index.js +1 -0
- package/lib/module/layout/index.js.map +1 -1
- package/lib/module/layout/index.web.js +1 -0
- package/lib/module/layout/index.web.js.map +1 -1
- package/lib/module/layout/safe-area-ownership.js +26 -0
- package/lib/module/layout/safe-area-ownership.js.map +1 -0
- package/lib/module/layout/screen-scope.js +26 -20
- package/lib/module/layout/screen-scope.js.map +1 -1
- package/lib/module/list/ListMail.js +5 -1
- package/lib/module/list/ListMail.js.map +1 -1
- package/lib/module/page-header/PageHeader.js +3 -1
- package/lib/module/page-header/PageHeader.js.map +1 -1
- package/lib/module/project-board/ProjectBoard.js +2 -0
- package/lib/module/project-board/ProjectBoard.js.map +1 -1
- package/lib/module/project-board/ProjectBoard.web.js +2 -0
- package/lib/module/project-board/ProjectBoard.web.js.map +1 -1
- package/lib/module/project-board/ProjectBoardBase.js +30 -42
- package/lib/module/project-board/ProjectBoardBase.js.map +1 -1
- package/lib/module/project-board/ProjectBoardCardContent.js +52 -0
- package/lib/module/project-board/ProjectBoardCardContent.js.map +1 -0
- package/lib/module/project-board/TicketCornerGenieSurface.web.js +1 -339
- package/lib/module/project-board/TicketCornerGenieSurface.web.js.map +1 -1
- package/lib/module/project-board/TicketDetailDialog.js +317 -412
- package/lib/module/project-board/TicketDetailDialog.js.map +1 -1
- package/lib/module/project-board/TicketGenieSurface.js +1 -78
- package/lib/module/project-board/TicketGenieSurface.js.map +1 -1
- package/lib/module/project-board/TicketTokenChart.js +1 -1
- package/lib/module/project-board/TicketTokenChart.js.map +1 -1
- package/lib/module/project-board/context.js +1 -1
- package/lib/module/project-board/context.js.map +1 -1
- package/lib/module/project-board/index.js +1 -0
- package/lib/module/project-board/index.js.map +1 -1
- package/lib/module/project-board/index.web.js +1 -0
- package/lib/module/project-board/index.web.js.map +1 -1
- package/lib/module/screen/ScreenBase.js +22 -10
- package/lib/module/screen/ScreenBase.js.map +1 -1
- package/lib/module/screen/ScreenContent.js +57 -0
- package/lib/module/screen/ScreenContent.js.map +1 -0
- package/lib/module/screen/ScreenScrollViewBase.js +67 -2
- package/lib/module/screen/ScreenScrollViewBase.js.map +1 -1
- package/lib/module/screen/content.js +21 -0
- package/lib/module/screen/content.js.map +1 -0
- package/lib/module/screen/index.js +1 -0
- package/lib/module/screen/index.js.map +1 -1
- package/lib/module/screen/index.web.js +1 -0
- package/lib/module/screen/index.web.js.map +1 -1
- package/lib/module/screen/keyboard-components.js.map +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/AppShellPanels.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/composition.d.ts +52 -0
- package/lib/typescript/commonjs/app-shell/composition.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/hooks/index.d.ts +2 -0
- package/lib/typescript/commonjs/app-shell/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.d.ts +5 -0
- package/lib/typescript/commonjs/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.web.d.ts +5 -0
- package/lib/typescript/commonjs/app-shell/index.web.d.ts.map +1 -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 +2 -1
- package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/panel-session.d.ts +51 -0
- package/lib/typescript/commonjs/app-shell/panel-session.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/shell-layout-css.d.ts +2 -1
- package/lib/typescript/commonjs/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +15 -3
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DetailDialog.d.ts +5 -0
- package/lib/typescript/commonjs/dialog/DetailDialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DetailDialog.web.d.ts +5 -0
- package/lib/typescript/commonjs/dialog/DetailDialog.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DetailDialogBase.d.ts +20 -0
- package/lib/typescript/commonjs/dialog/DetailDialogBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts +9 -0
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.web.d.ts +7 -0
- package/lib/typescript/commonjs/dialog/DetailDialogMotion.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DetailDialogSection.d.ts +6 -0
- package/lib/typescript/commonjs/dialog/DetailDialogSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/context.d.ts +2 -0
- package/lib/typescript/commonjs/dialog/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/index.d.ts +3 -1
- package/lib/typescript/commonjs/dialog/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts +3 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +37 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +3 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +3 -3
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/app-shell-region.d.ts +2 -0
- package/lib/typescript/commonjs/layout/app-shell-region.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/index.d.ts +1 -0
- package/lib/typescript/commonjs/layout/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/index.web.d.ts +1 -0
- package/lib/typescript/commonjs/layout/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/layout/safe-area-ownership.d.ts +8 -0
- package/lib/typescript/commonjs/layout/safe-area-ownership.d.ts.map +1 -0
- package/lib/typescript/commonjs/layout/screen-scope.d.ts +3 -1
- package/lib/typescript/commonjs/layout/screen-scope.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/ListMail.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/ProjectBoardCardContent.d.ts +4 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardCardContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts +1 -6
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts +1 -8
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/context.d.ts +2 -1
- package/lib/typescript/commonjs/project-board/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/index.d.ts +2 -1
- package/lib/typescript/commonjs/project-board/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/index.web.d.ts +2 -1
- package/lib/typescript/commonjs/project-board/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/types.d.ts +12 -0
- package/lib/typescript/commonjs/project-board/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/ScreenContent.d.ts +14 -0
- package/lib/typescript/commonjs/screen/ScreenContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/content.d.ts +6 -0
- package/lib/typescript/commonjs/screen/content.d.ts.map +1 -0
- package/lib/typescript/commonjs/screen/index.d.ts +3 -0
- package/lib/typescript/commonjs/screen/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/index.web.d.ts +3 -0
- package/lib/typescript/commonjs/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/keyboard-components.d.ts +5 -0
- package/lib/typescript/commonjs/screen/keyboard-components.d.ts.map +1 -1
- package/lib/typescript/commonjs/screen/types.d.ts +7 -0
- package/lib/typescript/commonjs/screen/types.d.ts.map +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/AppShellPanels.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/composition.d.ts +52 -0
- package/lib/typescript/module/app-shell/composition.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/context.d.ts +4 -0
- package/lib/typescript/module/app-shell/context.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/hooks/index.d.ts +2 -0
- package/lib/typescript/module/app-shell/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.d.ts +5 -0
- package/lib/typescript/module/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.web.d.ts +5 -0
- package/lib/typescript/module/app-shell/index.web.d.ts.map +1 -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 +2 -1
- package/lib/typescript/module/app-shell/panel-layout-types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/panel-session.d.ts +51 -0
- package/lib/typescript/module/app-shell/panel-session.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/shell-layout-css.d.ts +2 -1
- package/lib/typescript/module/app-shell/shell-layout-css.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +15 -3
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DetailDialog.d.ts +5 -0
- package/lib/typescript/module/dialog/DetailDialog.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DetailDialog.web.d.ts +5 -0
- package/lib/typescript/module/dialog/DetailDialog.web.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DetailDialogBase.d.ts +20 -0
- package/lib/typescript/module/dialog/DetailDialogBase.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DetailDialogMotion.d.ts +9 -0
- package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DetailDialogMotion.web.d.ts +7 -0
- package/lib/typescript/module/dialog/DetailDialogMotion.web.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DetailDialogSection.d.ts +6 -0
- package/lib/typescript/module/dialog/DetailDialogSection.d.ts.map +1 -0
- package/lib/typescript/module/dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/module/dialog/context.d.ts +2 -0
- package/lib/typescript/module/dialog/context.d.ts.map +1 -1
- package/lib/typescript/module/dialog/index.d.ts +3 -1
- package/lib/typescript/module/dialog/index.d.ts.map +1 -1
- package/lib/typescript/module/dialog/index.web.d.ts +3 -1
- package/lib/typescript/module/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +37 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +3 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +3 -3
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/layout/app-shell-region.d.ts +2 -0
- package/lib/typescript/module/layout/app-shell-region.d.ts.map +1 -1
- package/lib/typescript/module/layout/index.d.ts +1 -0
- package/lib/typescript/module/layout/index.d.ts.map +1 -1
- package/lib/typescript/module/layout/index.web.d.ts +1 -0
- package/lib/typescript/module/layout/index.web.d.ts.map +1 -1
- package/lib/typescript/module/layout/safe-area-ownership.d.ts +8 -0
- package/lib/typescript/module/layout/safe-area-ownership.d.ts.map +1 -0
- package/lib/typescript/module/layout/screen-scope.d.ts +3 -1
- package/lib/typescript/module/layout/screen-scope.d.ts.map +1 -1
- package/lib/typescript/module/list/ListMail.d.ts.map +1 -1
- package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
- package/lib/typescript/module/project-board/ProjectBoard.d.ts.map +1 -1
- package/lib/typescript/module/project-board/ProjectBoard.web.d.ts.map +1 -1
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -1
- package/lib/typescript/module/project-board/ProjectBoardCardContent.d.ts +4 -0
- package/lib/typescript/module/project-board/ProjectBoardCardContent.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts +1 -6
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -1
- package/lib/typescript/module/project-board/TicketDetailDialog.d.ts.map +1 -1
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts +1 -8
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts.map +1 -1
- package/lib/typescript/module/project-board/context.d.ts +2 -1
- package/lib/typescript/module/project-board/context.d.ts.map +1 -1
- package/lib/typescript/module/project-board/index.d.ts +2 -1
- package/lib/typescript/module/project-board/index.d.ts.map +1 -1
- package/lib/typescript/module/project-board/index.web.d.ts +2 -1
- package/lib/typescript/module/project-board/index.web.d.ts.map +1 -1
- package/lib/typescript/module/project-board/types.d.ts +12 -0
- package/lib/typescript/module/project-board/types.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/ScreenContent.d.ts +14 -0
- package/lib/typescript/module/screen/ScreenContent.d.ts.map +1 -0
- package/lib/typescript/module/screen/ScreenScrollViewBase.d.ts.map +1 -1
- package/lib/typescript/module/screen/content.d.ts +6 -0
- package/lib/typescript/module/screen/content.d.ts.map +1 -0
- package/lib/typescript/module/screen/index.d.ts +3 -0
- package/lib/typescript/module/screen/index.d.ts.map +1 -1
- package/lib/typescript/module/screen/index.web.d.ts +3 -0
- package/lib/typescript/module/screen/index.web.d.ts.map +1 -1
- package/lib/typescript/module/screen/keyboard-components.d.ts +5 -0
- package/lib/typescript/module/screen/keyboard-components.d.ts.map +1 -1
- package/lib/typescript/module/screen/types.d.ts +7 -0
- package/lib/typescript/module/screen/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/public-part-classifications.json +19 -1
- package/src/app-shell/AppShell.tsx +15 -6
- package/src/app-shell/AppShellEngine.tsx +36 -10
- package/src/app-shell/AppShellPanelLayout.tsx +106 -55
- package/src/app-shell/AppShellPanels.tsx +75 -44
- package/src/app-shell/composition.ts +257 -0
- package/src/app-shell/context.ts +5 -0
- package/src/app-shell/hooks/index.ts +3 -0
- package/src/app-shell/index.ts +16 -0
- package/src/app-shell/index.web.ts +16 -0
- package/src/app-shell/panel-layout-css.ts +7 -3
- package/src/app-shell/panel-layout-types.ts +2 -1
- package/src/app-shell/panel-session.tsx +246 -0
- package/src/app-shell/shell-layout-css.ts +6 -1
- package/src/app-shell/types.ts +15 -3
- package/src/canvas/CanvasPanelBase.tsx +1 -1
- package/src/chat-screen/ChatInfoPanelBase.tsx +1 -1
- package/src/dialog/DetailDialog.tsx +13 -0
- package/src/dialog/DetailDialog.web.tsx +13 -0
- package/src/dialog/DetailDialogBase.tsx +207 -0
- package/src/dialog/DetailDialogMotion.tsx +75 -0
- package/src/dialog/DetailDialogMotion.web.tsx +360 -0
- package/src/dialog/DetailDialogSection.tsx +42 -0
- package/src/dialog/Dialog.tsx +98 -85
- package/src/dialog/context.ts +3 -0
- package/src/dialog/index.ts +5 -0
- package/src/dialog/index.web.ts +5 -0
- package/src/dialog/types.ts +40 -0
- package/src/index.ts +7 -0
- package/src/index.web.ts +7 -0
- package/src/layout/app-shell-region.ts +2 -0
- package/src/layout/index.ts +2 -0
- package/src/layout/index.web.ts +2 -0
- package/src/layout/safe-area-ownership.ts +22 -0
- package/src/layout/screen-scope.tsx +31 -22
- package/src/list/ListMail.tsx +5 -1
- package/src/page-header/PageHeader.tsx +3 -1
- package/src/project-board/ProjectBoard.tsx +2 -0
- package/src/project-board/ProjectBoard.web.tsx +2 -0
- package/src/project-board/ProjectBoardBase.tsx +13 -13
- package/src/project-board/ProjectBoardCardContent.tsx +54 -0
- package/src/project-board/TicketCornerGenieSurface.web.tsx +1 -362
- package/src/project-board/TicketDetailDialog.tsx +311 -426
- package/src/project-board/TicketGenieSurface.tsx +4 -75
- package/src/project-board/TicketTokenChart.tsx +1 -1
- package/src/project-board/context.ts +2 -1
- package/src/project-board/index.ts +2 -0
- package/src/project-board/index.web.ts +2 -0
- package/src/project-board/types.ts +13 -0
- package/src/screen/ScreenBase.tsx +30 -7
- package/src/screen/ScreenContent.tsx +61 -0
- package/src/screen/ScreenScrollViewBase.tsx +80 -1
- package/src/screen/content.ts +26 -0
- package/src/screen/index.ts +4 -0
- package/src/screen/index.web.ts +4 -0
- package/src/screen/keyboard-components.ts +2 -0
- package/src/screen/types.ts +7 -0
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -113,7 +113,7 @@ None.
|
|
|
113
113
|
| `ambient-photo` | `@oxy.so/bloom/ambient-photo` + barrel | web fork | `ambient-photo.mdx` | yes | 2 | | | | |
|
|
114
114
|
| `animated-check` | `@oxy.so/bloom/animated-check` + barrel | universal | `animated-check.mdx` | yes | 2 | | | | |
|
|
115
115
|
| `announcement` | `@oxy.so/bloom/announcement` + barrel | universal | `announcement.mdx` | yes | 5 | | | | |
|
|
116
|
-
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes |
|
|
116
|
+
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes | 65 | | | | reads |
|
|
117
117
|
| `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes | 80 | | reads | | |
|
|
118
118
|
| `aspect-ratio` | `@oxy.so/bloom/aspect-ratio` + barrel | universal | `aspect-ratio.mdx` | yes | 1 | | | | |
|
|
119
119
|
| `auth-card` | `@oxy.so/bloom/auth-card` + barrel | universal | `auth-card.mdx` | yes | 2 | | | | |
|
|
@@ -159,7 +159,7 @@ None.
|
|
|
159
159
|
| `connection-dots` | `@oxy.so/bloom/connection-dots` + barrel | web fork | `connection-dots.mdx` | yes | 4 | | | | |
|
|
160
160
|
| `connection-status` | `@oxy.so/bloom/connection-status` + barrel | web fork | `connection-status.mdx` | yes | 4 | | | | |
|
|
161
161
|
| `contact-card` | `@oxy.so/bloom/contact-card` + barrel | universal | `contact-card.mdx` | yes | 4 | | | | |
|
|
162
|
-
| `content-panel` | `@oxy.so/bloom/content-panel` + barrel | web fork | `content-panel.mdx` | yes |
|
|
162
|
+
| `content-panel` | `@oxy.so/bloom/content-panel` + barrel | web fork | `content-panel.mdx` | yes | 13 | | | | |
|
|
163
163
|
| `context-menu` | `@oxy.so/bloom/context-menu` + barrel | web fork | `context-menu.mdx` | yes | 11 | | | reads | |
|
|
164
164
|
| `conversation-sidebar` | `@oxy.so/bloom/conversation-sidebar` + barrel | web fork | `conversation-sidebar.mdx` | yes | 2 | | | | reads |
|
|
165
165
|
| `cover-header` | `@oxy.so/bloom/cover-header` + barrel | universal | `cover-header.mdx` | yes | 3 | | | | |
|
|
@@ -168,7 +168,7 @@ None.
|
|
|
168
168
|
| `date-picker` | `@oxy.so/bloom/date-picker` + barrel | universal | `date-picker.mdx` | yes | 6 | reads | reads | | reads |
|
|
169
169
|
| `delivery-slot` | `@oxy.so/bloom/delivery-slot` + barrel | universal | `delivery-slot.mdx` | yes | 2 | reads | | | |
|
|
170
170
|
| `design-tokens` | `@oxy.so/bloom/design-tokens` + barrel | universal | `design-tokens.mdx` | yes | 6 | | | | |
|
|
171
|
-
| `dialog` | `@oxy.so/bloom/dialog` + barrel | web fork | `dialog.mdx` | yes |
|
|
171
|
+
| `dialog` | `@oxy.so/bloom/dialog` + barrel | web fork | `dialog.mdx` | yes | 53 | | | n/a¹ | |
|
|
172
172
|
| `directions` | `@oxy.so/bloom/directions` + barrel | universal | `directions.mdx` | yes | 3 | | | | |
|
|
173
173
|
| `divider` | `@oxy.so/bloom/divider` + barrel | universal | `divider.mdx` | yes | 3 | | | | |
|
|
174
174
|
| `drop-zone` | `@oxy.so/bloom/drop-zone` + barrel | web fork | `drop-zone.mdx` | yes | 4 | | | | |
|
|
@@ -189,7 +189,7 @@ None.
|
|
|
189
189
|
| `grid` | `@oxy.so/bloom/grid` + barrel | universal | `grid.mdx` | yes | 3 | | | | |
|
|
190
190
|
| `grouped-section` | `@oxy.so/bloom/grouped-section` + barrel | universal | `grouped-section.mdx` | yes | 10 | | reads | | |
|
|
191
191
|
| `home-search` | `@oxy.so/bloom/home-search` + barrel | universal | `home-search.mdx` | yes | 2 | n/a¹ | | | |
|
|
192
|
-
| `hooks` | `@oxy.so/bloom/hooks` + barrel | universal | `hooks.mdx` | yes |
|
|
192
|
+
| `hooks` | `@oxy.so/bloom/hooks` + barrel | universal | `hooks.mdx` | yes | 60 | | | | reads |
|
|
193
193
|
| `hover-card` | `@oxy.so/bloom/hover-card` + barrel | web fork | `hover-card.mdx` | yes | 5 | | | reads | reads |
|
|
194
194
|
| `icon-circle` | `@oxy.so/bloom/icon-circle` + barrel | universal | `icon-circle.mdx` | yes | 3 | | | | |
|
|
195
195
|
| `icons` | `@oxy.so/bloom/icons` + barrel | universal | `icons.mdx` | yes | 108 | | | | |
|
|
@@ -203,7 +203,7 @@ None.
|
|
|
203
203
|
| `job-board` | `@oxy.so/bloom/job-board` + barrel | universal | `job-board.mdx` | yes | 2 | n/a¹ | | | reads |
|
|
204
204
|
| `kbd` | `@oxy.so/bloom/kbd` + barrel | universal | `kbd.mdx` | yes | 4 | | reads | | |
|
|
205
205
|
| `label` | `@oxy.so/bloom/label` + barrel | universal | `label.mdx` | yes | 2 | | reads | | |
|
|
206
|
-
| `layout` | `@oxy.so/bloom/layout` + barrel | web fork | `layout.mdx` | yes |
|
|
206
|
+
| `layout` | `@oxy.so/bloom/layout` + barrel | web fork | `layout.mdx` | yes | 53 | | reads | | |
|
|
207
207
|
| `lead-score` | `@oxy.so/bloom/lead-score` + barrel | universal | `lead-score.mdx` | yes | 1 | | | | |
|
|
208
208
|
| `link-preview` | `@oxy.so/bloom/link-preview` | universal | `link-preview.mdx` | yes | 3 | | | | |
|
|
209
209
|
| `list` | `@oxy.so/bloom/list` + barrel | web fork | `list.mdx` | yes | 18 | | | | |
|
|
@@ -249,7 +249,7 @@ None.
|
|
|
249
249
|
| `outline-nav` | `@oxy.so/bloom/outline-nav` + barrel | universal | `outline-nav.mdx` | yes | 2 | | | | |
|
|
250
250
|
| `overlay` | `@oxy.so/bloom/overlay` + barrel | universal | `overlay.mdx` | yes | 39 | | reads | | |
|
|
251
251
|
| `page-footer` | `@oxy.so/bloom/page-footer` + barrel | universal | `page-footer.mdx` | yes | 4 | | | | |
|
|
252
|
-
| `page-header` | `@oxy.so/bloom/page-header` + barrel | web fork | `page-header.mdx` | yes |
|
|
252
|
+
| `page-header` | `@oxy.so/bloom/page-header` + barrel | web fork | `page-header.mdx` | yes | 31 | reads | | | |
|
|
253
253
|
| `pagination` | `@oxy.so/bloom/pagination` + barrel | universal | `pagination.mdx` | yes | 3 | | | | |
|
|
254
254
|
| `panel-routing` | `@oxy.so/bloom/panel-routing` + barrel | universal | `panel-routing.mdx` | yes | 4 | | | | |
|
|
255
255
|
| `patient-info-card` | `@oxy.so/bloom/patient-info-card` + barrel | universal | `patient-info-card.mdx` | yes | 1 | | | | |
|
|
@@ -264,12 +264,12 @@ None.
|
|
|
264
264
|
| `place-reviews` | `@oxy.so/bloom/place-reviews` + barrel | universal | `place-reviews.mdx` | yes | 2 | | | | reads |
|
|
265
265
|
| `platform-surface` | `@oxy.so/bloom/platform-surface` + barrel | universal | `platform-surface.mdx` | yes | 51 | | | | |
|
|
266
266
|
| `popover` | `@oxy.so/bloom/popover` + barrel | web fork | `popover.mdx` | yes | 18 | | | reads | reads |
|
|
267
|
-
| `portal` | `@oxy.so/bloom/portal` + barrel | web fork | `portal.mdx` | yes |
|
|
267
|
+
| `portal` | `@oxy.so/bloom/portal` + barrel | web fork | `portal.mdx` | yes | 80 | | | | |
|
|
268
268
|
| `preferences` | `@oxy.so/bloom/preferences` + barrel | universal | `preferences.mdx` | yes | 2 | | | | |
|
|
269
269
|
| `pressable-scale` | `@oxy.so/bloom/pressable-scale` + barrel | universal | `pressable-scale.mdx` | yes | 1 | | | | |
|
|
270
270
|
| `price-breakdown` | `@oxy.so/bloom/price-breakdown` + barrel | universal | `price-breakdown.mdx` | yes | 3 | | | | reads |
|
|
271
271
|
| `progressive-blur` | `@oxy.so/bloom/progressive-blur` + barrel | web fork | `progressive-blur.mdx` | yes | 2 | | | | |
|
|
272
|
-
| `project-board` | `@oxy.so/bloom/project-board` + barrel | web fork | `project-board.mdx` | yes |
|
|
272
|
+
| `project-board` | `@oxy.so/bloom/project-board` + barrel | web fork | `project-board.mdx` | yes | 9 | n/a¹ | | | |
|
|
273
273
|
| `proof-of-delivery` | `@oxy.so/bloom/proof-of-delivery` + barrel | universal | `proof-of-delivery.mdx` | yes | 1 | | | | reads |
|
|
274
274
|
| `property-insights` | `@oxy.so/bloom/property-insights` + barrel | web fork | `property-insights.mdx` | yes | 5 | | reads | | reads |
|
|
275
275
|
| `provider` | `@oxy.so/bloom/provider` | universal | `provider.mdx` | yes | 25 | | | | |
|
|
@@ -282,7 +282,7 @@ None.
|
|
|
282
282
|
| `recent-hires-card` | `@oxy.so/bloom/recent-hires-card` + barrel | universal | `recent-hires-card.mdx` | yes | 1 | | | | |
|
|
283
283
|
| `route-stops` | `@oxy.so/bloom/route-stops` + barrel | universal | `route-stops.mdx` | yes | 2 | | | | |
|
|
284
284
|
| `row-actions` | `@oxy.so/bloom/row-actions` + barrel | universal | `row-actions.mdx` | yes | 1 | | | | |
|
|
285
|
-
| `screen` | `@oxy.so/bloom/screen` + barrel | web fork | `screen.mdx` | yes |
|
|
285
|
+
| `screen` | `@oxy.so/bloom/screen` + barrel | web fork | `screen.mdx` | yes | 52 | | | | |
|
|
286
286
|
| `scroll` | `@oxy.so/bloom/scroll` + barrel | web fork | `scroll.mdx` | yes | 13 | | | | |
|
|
287
287
|
| `search` | `@oxy.so/bloom/search` + barrel | universal | `search.mdx` | yes | 12 | reads | reads | | reads |
|
|
288
288
|
| `segmented-control` | `@oxy.so/bloom/segmented-control` + barrel | universal | `segmented-control.mdx` | yes | 8 | reads | reads | | |
|
|
@@ -321,7 +321,7 @@ None.
|
|
|
321
321
|
| `tenancy` | `@oxy.so/bloom/tenancy` + barrel | web fork | `tenancy.mdx` | yes | 5 | | reads | | |
|
|
322
322
|
| `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 28 | reads | reads | | |
|
|
323
323
|
| `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 6 | reads | reads | | n/a¹ |
|
|
324
|
-
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes |
|
|
324
|
+
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 709 | | | n/a¹ | reads |
|
|
325
325
|
| `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
|
|
326
326
|
| `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 21 | | | | |
|
|
327
327
|
| `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 8 | | reads | | |
|
|
@@ -11,7 +11,7 @@ Start with [`AGENTS.md`](../AGENTS.md) for the short entry and [`AGENTS.rules.md
|
|
|
11
11
|
| --- | --- | --- |
|
|
12
12
|
| Choose and compose UI | [UI architecture](ui-architecture.mdx), [composition](composition.mdx), [unified API](unified-api.mdx), [task catalog](task-catalog.mdx) | [`AGENTS.rules.md` — Composition](../AGENTS.rules.md#composition-docscompositionmdx-docsadoption-matrixmdx), [Families/barrels](../AGENTS.rules.md#familiesbarrels) |
|
|
13
13
|
| Change a family, public API, size, or Field behavior | [Adoption matrix](adoption-matrix.mdx), the family guide in `docs/` | [`AGENTS.rules.md` — Families/barrels](../AGENTS.rules.md#familiesbarrels), [Composition](../AGENTS.rules.md#composition-docscompositionmdx-docsadoption-matrixmdx) |
|
|
14
|
-
| Build a screen, workspace, panel, or navigation flow | [Compose layouts](compose-layouts.mdx), [AppShell](app-shell.mdx), [Screen](screen.mdx) | [`AGENTS.rules.md` — Screens](../AGENTS.rules.md#screens), [Scroll restoration](../AGENTS.rules.md#scroll-restoration) |
|
|
14
|
+
| Build a screen, workspace, panel, or navigation flow | [Semantic composition](semantic-composition.mdx), [Compose layouts](compose-layouts.mdx), [AppShell](app-shell.mdx), [Screen](screen.mdx) | [`AGENTS.rules.md` — Screens](../AGENTS.rules.md#screens), [Scroll restoration](../AGENTS.rules.md#scroll-restoration) |
|
|
15
15
|
| Change scrolling or virtualized content | [Scroll contract](scroll.mdx), [layout](layout.mdx) | [`AGENTS.rules.md` — Scroll restoration](../AGENTS.rules.md#scroll-restoration), [Screens](../AGENTS.rules.md#screens) |
|
|
16
16
|
| Change overlays, dialog, menu, focus, or accessibility | [Overlay](overlay.mdx), [dialog](dialog.mdx), [surfaces](surfaces.mdx) | [`AGENTS.rules.md` — Overlay](../AGENTS.rules.md#overlay-overlay), [Web ARIA](../AGENTS.rules.md#web-aria), [Overlay surfaces](../AGENTS.rules.md#overlay-surfaces) |
|
|
17
17
|
| Change surface material, blur, or contrast | [Surface](surface.mdx), [design tokens](design-tokens.mdx) | [`AGENTS.rules.md` — Material](../AGENTS.rules.md#material-surface), [Theme/tokens](../AGENTS.rules.md#themetokens); inspect linked audits for measurements and failure captures |
|
package/docs/app-conventions.mdx
CHANGED
|
@@ -30,6 +30,17 @@ An app composes Bloom. It does not build UI of its own.
|
|
|
30
30
|
only per-item data, such as an aspect ratio, belongs inline.
|
|
31
31
|
- Keep `md` as the normal control size ([UI architecture](./ui-architecture.mdx)).
|
|
32
32
|
|
|
33
|
+
### Declare application structure
|
|
34
|
+
|
|
35
|
+
Choose AppShell `layout` and `presentation`, panel roles and Screen `kind` before
|
|
36
|
+
adding geometry overrides. A continuous workspace and framed catalog are both
|
|
37
|
+
first-class compositions. Route groups inherit the shell contract; isolated
|
|
38
|
+
embedded regions use an explicit local scope. Shared owners handle responsive
|
|
39
|
+
frames, body measure, scroll pagination and action clearance. Register adapting
|
|
40
|
+
inspector drafts/focus with the panel-session hooks; domain identity and durable
|
|
41
|
+
persistence stay application-controlled. Follow [semantic composition](./semantic-composition.mdx)
|
|
42
|
+
for the exact lifetime and platform limits.
|
|
43
|
+
|
|
33
44
|
### Media goes through one resolver
|
|
34
45
|
|
|
35
46
|
Register one `ImageResolverProvider` at the app root and pass bare file ids to
|
package/docs/app-shell.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: AppShell
|
|
3
|
-
description:
|
|
3
|
+
description: Semantic application families, independent presentation, panel roles and shared navigation, with legacy variant compatibility.
|
|
4
4
|
order: 83
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -32,7 +32,21 @@ import { AppShell, NotificationBell, ProOfferCard } from '@oxy.so/bloom/app-shel
|
|
|
32
32
|
</AppShell>
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
##
|
|
35
|
+
## Semantic composition
|
|
36
|
+
|
|
37
|
+
For new application composition, choose `layout="workspace|collection-detail|feed|deck|catalog|map-browser"`
|
|
38
|
+
and `presentation="continuous|framed|floating"`. Continuous removes the structural
|
|
39
|
+
outer frame at every size; Screen body measure and padding remain independent.
|
|
40
|
+
Panels declare roles; controlled inspectors supply `open`, `onOpenChange` and
|
|
41
|
+
`label`. Root descriptors and route `AppShellPanels` resolve through the same
|
|
42
|
+
engine, while `scope="local"` isolates an embedded composition.
|
|
43
|
+
|
|
44
|
+
[Semantic application composition](./semantic-composition.mdx) documents precedence,
|
|
45
|
+
constraints, `explainAppShellComposition`, registered panel state/focus and migration
|
|
46
|
+
acceptance. The variants below remain compatibility inputs; they do not form a
|
|
47
|
+
second compositor and are not removed by this release.
|
|
48
|
+
|
|
49
|
+
## Compatibility variants
|
|
36
50
|
|
|
37
51
|
One engine, four shapes. `variant` picks the shape; everything else — the nav,
|
|
38
52
|
the drawer, the pinned regions, the slots, the sizes, and the [panels](#panels)
|
|
@@ -1723,3 +1737,12 @@ On the web the hover strip and the floating region use pointer enter and leave.
|
|
|
1723
1737
|
On a native platform without hover pointer events, drive `peek()` from the
|
|
1724
1738
|
host. Ordering the peek above the content uses `zIndex` among the row's
|
|
1725
1739
|
children, which needs the New Architecture on macOS.
|
|
1740
|
+
|
|
1741
|
+
### Semantic safe areas
|
|
1742
|
+
|
|
1743
|
+
A semantic `layout` defaults the existing native `safeArea` owner on. PageHeaders
|
|
1744
|
+
inherit frame-consumed top edges, while their explicit `safeArea` prop still wins.
|
|
1745
|
+
`useContentSafeAreaInsets` from `@oxy.so/bloom/layout` gives custom inline content the
|
|
1746
|
+
remaining edges. Raw physical insets remain available to independent overlays.
|
|
1747
|
+
Legacy shells keep their opt-in default; `safeArea={false}` remains an explicit
|
|
1748
|
+
opt-out for semantic shells too.
|
package/docs/compose-layouts.mdx
CHANGED
|
@@ -11,6 +11,12 @@ React props and slots, not a second router or a separate screen definition langu
|
|
|
11
11
|
Start with `AppShell.panelLayout` and `Screen`, then add navigation or persistence
|
|
12
12
|
only where the product needs them.
|
|
13
13
|
|
|
14
|
+
Start with [Semantic application composition](/docs/semantic-composition) to choose
|
|
15
|
+
family, presentation and screen intent. The structural APIs below remain the
|
|
16
|
+
same engine; legacy variants are compatibility inputs. For inline/sheet host
|
|
17
|
+
changes, use the explicit registered panel-session and focus contract rather
|
|
18
|
+
than assuming arbitrary local React state is retained.
|
|
19
|
+
|
|
14
20
|
## Ownership contract
|
|
15
21
|
|
|
16
22
|
| Layer | Owns | Application supplies |
|
package/docs/composition.mdx
CHANGED
|
@@ -22,10 +22,12 @@ an explicit prop > the nearest container > the component's own default
|
|
|
22
22
|
|
|
23
23
|
**A constraint is not a default.** Anything that RESTRICTS a control — `disabled`, a modal's inertness, the user's reduce-transparency or reduce-motion preference — travels on its own channel and combines with `||`, never `??`. The rule above is exactly wrong for those: a descendant must not be able to re-enable an action its group disabled by passing a prop.
|
|
24
24
|
|
|
25
|
-
**State does not travel
|
|
25
|
+
**State does not travel through visual scopes.** `checked`, `selected`, field values and business data remain explicitly owned. The separate panel-session contract retains registered UI state across presentation hosts within one descriptor lifetime; it is not inherited visual state or durable persistence. See [semantic composition](/docs/semantic-composition#state-and-focus-continuity).
|
|
26
26
|
|
|
27
27
|
## Application and panel composition
|
|
28
28
|
|
|
29
|
+
Declare the application family with `AppShell.layout` and material with `presentation`; panel roles and `Screen.kind` complete the semantic contract. Root and route groups resolve through the same engine. [Semantic application composition](/docs/semantic-composition) describes defaults, constraints and diagnostics.
|
|
30
|
+
|
|
29
31
|
`AppShell.panelLayout` and embedded `AppShellPanels layout` share one compositor. Stable descriptors own geometry, visibility, ordering and optional panel histories. A route’s `Screen` owns vertical scrolling and measured chrome; a horizontal Deck has a separate owner for its horizontal axis. The host supplies these scopes, so descriptor content does not add another ContentPanel or wrapper Screen. An intentionally embedded group uses `AppShellPanels scope="local"`; a canvas Screen uses `scroll="none"` to reserve chrome without a second vertical scroller. See [Compose application layouts](/docs/bloom/main/compose-layouts) for complete examples.
|
|
30
32
|
|
|
31
33
|
Surface choices remain independent: group `appearance` selects joined or separated panels; panel `appearance="plain"` inherits its enclosing fill; `chrome="none"` removes edge chrome from a painted panel. `surfaceClassName` paints a custom surface and `surfaceColor` publishes its resolved fill to descendants. Header `density="compact"` changes content geometry without changing inherited control sizes.
|
package/docs/dialog.mdx
CHANGED
|
@@ -12,6 +12,63 @@ A single `<Dialog>` component for every overlay surface — centered modal, side
|
|
|
12
12
|
Your app root **must** be wrapped with `GestureHandlerRootView` from `react-native-gesture-handler` for the bottom-sheet pan gestures to work. See [Getting started](/docs/bloom/main/getting-started).
|
|
13
13
|
</Callout>
|
|
14
14
|
|
|
15
|
+
## Record details
|
|
16
|
+
|
|
17
|
+
`DetailDialog` composes the record surface used by ProjectBoard: a 609px side
|
|
18
|
+
surface with 12px outer inset (8px on compact windows), rounded material, shared
|
|
19
|
+
corner entrance/exit motion, `PageHeader`, and one `ScreenScrollView`. `mode="center"`
|
|
20
|
+
centers the same surface on wide windows; compact windows retain the inset full-height
|
|
21
|
+
surface. This is a record presentation, not a second overlay engine: `Dialog` still
|
|
22
|
+
owns focus, Escape, outside dismissal and exit lifetime. Native side/custom dialogs
|
|
23
|
+
use the root portal outlet (provided by BloomProvider), preserving the triggering
|
|
24
|
+
record provider while escaping a bounded panel. Native detail geometry clears
|
|
25
|
+
physical device edges through that shared owner.
|
|
26
|
+
|
|
27
|
+
```tsx
|
|
28
|
+
import { DetailDialog, DetailDialogSection, DetailDialogSectionGroup } from '@oxy.so/bloom/dialog';
|
|
29
|
+
|
|
30
|
+
<DetailDialog
|
|
31
|
+
open={selected != null}
|
|
32
|
+
onClose={() => setSelected(null)}
|
|
33
|
+
label="Record details"
|
|
34
|
+
header={record.name}
|
|
35
|
+
subtitle={database.name}
|
|
36
|
+
actions={recordActions}
|
|
37
|
+
footer={editorToolbar}
|
|
38
|
+
footerKeyboardBehavior="follow"
|
|
39
|
+
>
|
|
40
|
+
<DetailDialogSectionGroup>
|
|
41
|
+
<DetailDialogSection label="Status">{statusControl}</DetailDialogSection>
|
|
42
|
+
<DetailDialogSection label="Owner">{ownerControl}</DetailDialogSection>
|
|
43
|
+
</DetailDialogSectionGroup>
|
|
44
|
+
{editor}
|
|
45
|
+
</DetailDialog>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The application owns the schema, permissions, editable fields, persistence and
|
|
49
|
+
selected record. Keep its editor provider **outside** `DetailDialog` when both the
|
|
50
|
+
body and footer consume it. `header` is the PageHeader title slot; `subtitle` and
|
|
51
|
+
`actions` complete the identity. The surface supplies its dismiss button;
|
|
52
|
+
`closeLabel` overrides its localized accessible name. `scrollFooter` places activity
|
|
53
|
+
or a composer at the bottom of the **same scroller**; `footer` stays fixed.
|
|
54
|
+
|
|
55
|
+
Keep a controlled detail mounted while `open` becomes false so its exit can finish.
|
|
56
|
+
For a record detail mounted only while selected, omit `open` and use `startOpen`;
|
|
57
|
+
the existing Dialog lifecycle then calls `onClose` after the exit, when the host
|
|
58
|
+
can remove the record. ProjectBoard uses this conditionally mounted form.
|
|
59
|
+
|
|
60
|
+
The scrolling body clears the actual shared header edge before scrolling underneath
|
|
61
|
+
it. `contentKind="canvas" scrollable={false}` instead gives a bounded body and reserves
|
|
62
|
+
the header through Screen. No extra Screen, dialog width, local ScrollView or copied
|
|
63
|
+
padding is needed. Native `footerKeyboardBehavior="follow"` uses Screen's existing
|
|
64
|
+
keyboard-provider contract; see [Screen](/docs/bloom/main/screen).
|
|
65
|
+
|
|
66
|
+
`DetailDialogSection` owns the label/values layout and typography, while controls
|
|
67
|
+
remain opaque product content. `DetailDialogSectionGroup` owns the spacing between
|
|
68
|
+
sections and also works in full-page records. `DetailDialog` has no ticket DTO or
|
|
69
|
+
fixed set of properties. A controlled close/reopen preserves only state owned above
|
|
70
|
+
the dialog; move durable drafts into the application's record owner.
|
|
71
|
+
|
|
15
72
|
## Declarative (the 90% case)
|
|
16
73
|
|
|
17
74
|
```tsx
|
package/docs/layout.mdx
CHANGED
|
@@ -595,3 +595,13 @@ function Tab({ tab, current, publish }) {
|
|
|
595
595
|
```
|
|
596
596
|
|
|
597
597
|
`AutoHideBar` itself is the hook, a body and a region in one box.
|
|
598
|
+
|
|
599
|
+
## Content safe-area insets
|
|
600
|
+
|
|
601
|
+
`useContentSafeAreaInsets()` returns physical insets minus the edges already owned
|
|
602
|
+
by the enclosing AppShell frame/navigation. Use it for custom inline layout that
|
|
603
|
+
must clear a device edge. Shared PageHeader/Screen ownership already observes this
|
|
604
|
+
contract; applications should prefer those owners over calculating padding.
|
|
605
|
+
Independent `ScreenScope` surfaces reset the consumed-edge claim. Bounded regions
|
|
606
|
+
that create a new scroll/chrome scope inside the same frame use `inheritSafeArea`.
|
|
607
|
+
The raw safe-area provider is never modified by this ownership mechanism.
|
package/docs/project-board.mdx
CHANGED
|
@@ -5,13 +5,40 @@ description: Controlled boards, ticket workspaces and their shared layout owners
|
|
|
5
5
|
|
|
6
6
|
# Project Board
|
|
7
7
|
|
|
8
|
+
## Shared card and detail composition
|
|
9
|
+
|
|
10
|
+
`ProjectBoardCardContent` exposes the template card's inner composition for arbitrary
|
|
11
|
+
records: `preview` (outside the padded body), `header`, `actions`, `badges`, `title`,
|
|
12
|
+
`description`, `children`, and `footer`. The board still owns card material and drag
|
|
13
|
+
behavior. Do not add a second card surface around this content. String titles use the
|
|
14
|
+
shared typography; React nodes remain intact for `BoardDragHandle`, editable fields
|
|
15
|
+
and product controls.
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
renderCard={(record) => (
|
|
19
|
+
<ProjectBoardCardContent
|
|
20
|
+
header={<BoardDragHandle>{record.name}</BoardDragHandle>}
|
|
21
|
+
actions={recordActions(record)}
|
|
22
|
+
preview={recordPreview(record)}
|
|
23
|
+
>
|
|
24
|
+
{recordProperties(record)}
|
|
25
|
+
</ProjectBoardCardContent>
|
|
26
|
+
)}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The ticket template itself uses this component and the generic `DetailDialog`,
|
|
30
|
+
`DetailDialogSection` and `DetailDialogSectionGroup` from `@oxy.so/bloom/dialog`.
|
|
31
|
+
Products supply record data and actions through these slots, rather than converting
|
|
32
|
+
their schema to the template's demo ticket model. See [Dialog](/docs/bloom/main/dialog)
|
|
33
|
+
for selection, body scrolling, bounded canvases and editor footer ownership.
|
|
34
|
+
|
|
8
35
|
## Controlled records
|
|
9
36
|
|
|
10
37
|
`ProjectBoard<Item>` composes arbitrary records into caller-controlled columns. Use it
|
|
11
38
|
when a product owns its properties, grouping, permissions and persistence:
|
|
12
39
|
|
|
13
40
|
```tsx
|
|
14
|
-
import { ProjectBoard, BoardDragHandle } from '@oxy.so/bloom/project-board';
|
|
41
|
+
import { ProjectBoard, ProjectBoardCardContent, BoardDragHandle } from '@oxy.so/bloom/project-board';
|
|
15
42
|
|
|
16
43
|
<ProjectBoard
|
|
17
44
|
variant="embedded"
|
package/docs/public-parts.mdx
CHANGED
|
@@ -8,7 +8,7 @@ order: 4
|
|
|
8
8
|
|
|
9
9
|
# Public React part census
|
|
10
10
|
|
|
11
|
-
The TypeScript checker resolves **
|
|
11
|
+
The TypeScript checker resolves **1458 React part-contract identities** through **933 native** and **933 web** package entrypoints. Aliases/namespaces and wildcard subpaths are retained below; platform implementations with the same normalized source path and symbol share one contract identity, even when their implementations differ. A family count or a hook import cannot establish part adoption.
|
|
12
12
|
|
|
13
13
|
The generator follows exported value symbols, star exports, namespace exports, default exports, callable static members, object-valued parts, memo/forwardRef/factory and class signatures. Cycles terminate by symbol and type; real aliases share identity while inline members retain their lexical owner. External part declarations retain their package provenance and do not establish a Bloom-owned implementation. React-callable exports with component names (including default/underscore names), exotic markers or element-return signatures are component candidates; lower-case aliases retain their resolved identity; ambiguous any/unknown values fail the unresolved-symbol gate. Type-only exports and lower-case scalar-return hooks/utilities are not components. Size vocabularies come from resolved prop types, including aliases, unions and subsets—not spelling patterns.
|
|
14
14
|
|
|
@@ -34,7 +34,7 @@ Classification is an explicit equality-checked ledger keyed by part-contract ide
|
|
|
34
34
|
| connection-dots-art | independent-scale | 1 | ConnectionDots is a relationship illustration, not a control. dotSize and dotCount are explicit artwork dimensions, so the row and dots do not consume BloomScope control size. The left/right endpoints are rendered as supplied and preserve caller and nested child-control scopes. Evidence: `src/connection-dots/ConnectionDots.tsx`, `src/connection-dots/ConnectionDots.web.tsx`, `src/connection-dots/ConnectionDotsBase.tsx`, `src/connection-dots/types.ts`, `docs/connection-dots.mdx`, `src/__tests__/ConnectionDotsPublicPartScope.test.tsx`, `src/__tests__/ConnectionDotsPublicPartScope.web.test.tsx`. Native-renderer and DOM web checks verify default md endpoints, inherited xs, nested lg, explicit child size, and independent dot diameter/count. This family does not own portals or submenus; physical-device geometry remains unverified.. |
|
|
35
35
|
| radio-control-size | applicable | 4 | Radio, RadioGroup and its default/chip/swatch variants, RadioChip, and RadioSwatch resolve the nearest BloomScope size. An explicit size overrides that scope; the variants retain distinct indicator, pill, and disc geometry. Evidence: `src/radio/Radio.tsx`, `src/radio/RadioChip.tsx`, `src/radio/RadioSwatch.tsx`, `src/__tests__/RadioPublicPartScope.test.tsx`, `src/__tests__/RadioPublicPartScope.web.test.tsx`. Native-renderer and DOM web suites verify unscoped md, nearest xs, nested lg over xs, explicit lg over xs, ordinary wrappers and a real portal for Radio, RadioGroup default/chip/swatch variants, RadioChip and RadioSwatch. These are renderer checks; physical geometry and device accessibility remain pending. These parts own no submenu. |
|
|
36
36
|
| checkbox-switch-controls | applicable | 2 | Checkbox and Switch own interactive controls whose box, label recipe, track and thumb geometry resolve BloomScope size. Explicit size overrides the nearest scope; this is the standard control size contract, not content or artwork density. Evidence: `src/checkbox/Checkbox.tsx`, `src/switch/Switch.tsx`, `src/__tests__/CheckboxSwitchPublicPartScope.test.tsx`, `src/__tests__/CheckboxSwitchPublicPartScope.web.test.tsx`. Native-renderer and DOM web suites verify default md, nearest xs, nested lg over xs, explicit lg over xs, ordinary wrappers and an actual portal for both controls; physical geometry, assistive-technology behavior and device accessibility remain pending. These parts own no submenu. |
|
|
37
|
-
| pending | pending |
|
|
37
|
+
| pending | pending | 781 | Public React identity and prop vocabulary are enumerated, but per-part applicability/delegation and complete runtime matrix have not yet been audited. Family hook imports and transitive reachability grant no conformance. Evidence: none yet. pending; not a passing adoption verdict. |
|
|
38
38
|
| navigation-layout | independent-scale | 3 | PageHeader, TabBar and BottomBar own screen chrome, measured edge claims, safe areas and expanded/minimized navigation geometry, not a canonical control-size prop. Preserve those role-specific layout recipes; their separately exported controls/parts still need their own applicability audit. Native and web runtime tests verify the fixed header/tab/navigation dimensions remain stable under xs and lg BloomScope; fixed chrome dimensions do not establish that targets inside or surrounding controls meet touch contracts. Evidence: `src/page-header/PageHeader.tsx`, `src/tab-bar/TabBarBase.tsx`, `src/bottom-bar/BottomBarBase.tsx`, `src/__tests__/NavigationPublicPartScope.test.tsx`, `src/__tests__/NavigationPublicPartScope.web.test.tsx`. mock-rendered native styles and DOM-computed web styles compare PageHeader navigation min-height 44, TabBar pill height 58 and BottomBar height 74 under xs and lg BloomScope; physical layout, control proportions and target matrix pending. |
|
|
39
39
|
| historical-scope-regression | applicable | 8 | These are the size-consuming parts repaired in #417, not new gaps inferred from the historical family table. The existing web regression checks defaults, inherited rungs, nested scopes and explicit overrides; Tooltip content parts also cross their real web portal. Keep each existing recipe and partial mapping. Evidence: `src/__tests__/InheritedControlSize.web.test.tsx`, `src/__tests__/Voice.test.tsx`, `src/__tests__/ChatPeople.test.tsx`, `src/__tests__/CreatorStudio.test.tsx`, `src/__tests__/OfferingBadge.test.tsx`. existing web scope regressions rerun; native family regressions rerun but complete per-part native scope/portal and device matrix remains pending. |
|
|
40
40
|
| external-router-parts | pending | 6 | Expo Router Link static parts are forwarded by Object.assign in the router adapter. Their declarations and implementations belong to the external package; inclusion records the public contract, not BloomScope adoption or a Bloom-owned implementation. Each part still needs semantic and platform review. Evidence: `src/panel-routing/expo-router/PanelRouterAdapter.tsx`, `src/__tests__/public-parts.test.ts`. Type-resolved native/web routes and declaration provenance only; external runtime behavior and size semantics remain unaudited. |
|
|
@@ -59,6 +59,7 @@ Classification is an explicit equality-checked ledger keyed by part-contract ide
|
|
|
59
59
|
| icon-circle-geometry | independent-scale | 1 | IconCircle uses the icon-token size vocabulary to select a decorative disc and glyph box; it does not consume BloomScope control size. BloomIconComponent is its public glyph contract and receives the resolved width, height and fill. Evidence: `src/icon-circle/IconCircle.tsx`, `src/icon-circle/types.ts`, `src/icons/icon-component.ts`, `docs/icon-circle.mdx`, `src/__tests__/IconCircleRadioIndicator.test.tsx`, `src/__tests__/IconCirclePublicPartScope.test.tsx`, `src/__tests__/IconCirclePublicPartScope.web.test.tsx`. Native renderer and DOM web verify the default xl disc/glyph (64/28px), explicit lg geometry (52/24px), and stable geometry under xs, lg and nested BloomScope. Native type-level fixtures use BloomIconComponent directly. Physical-device proportions remain unverified.. |
|
|
60
60
|
| compact-composer | delegated | 1 | Controlled composed editor delegates surface, field, scroll, expansion, meter and controls to their existing owners. Its compact recipe explicitly sets attachment targets to sm (32), expand glyph to 32, field to sm and submit to md; these are role-specific dimensions, not inherited application scale. Caller slots preserve their own scope. Evidence: `src/chat-composer/create-compact-composer.tsx`, `src/__tests__/CompactComposer.test.tsx`, `scripts/verify-compact-composer.mjs`, `docs/chat-composer.mdx`. Native-renderer behavior tests and Chromium input/scroll/focus validation; physical IME and device geometry not established by these checks.. |
|
|
61
61
|
| button-group-composition | applicable | 1 | Button.Group owns the shared surface, layout and inherited size. Its children are ordinary Button controls using the same size and density recipe as standalone buttons; explicit Button size wins over the group size. Evidence: `src/button/GroupBase.tsx`, `src/button/use-grouped-button.ts`, `src/button/types.ts`, `src/__tests__/ButtonGroupPublicPartScope.test.tsx`, `src/__tests__/ButtonGroupPublicPartScope.web.test.tsx`, `src/__tests__/ButtonGroup.test.tsx`, `src/__tests__/ButtonGroupTrigger.web.test.tsx`. Native mock and DOM web verify default md, xs/lg inheritance, explicit group and button overrides, nested scopes and portals. Material, selection, trigger composition and callbacks use the existing regression suites. Browser verifies matching header geometry and toggle/keyboard behavior in light/dark with desktop and touch emulation. Physical-device layout and touch fit remain unverified.. |
|
|
62
|
+
| record-detail-composition | delegated | 4 | DetailDialog delegates overlay/focus/dismissal to Dialog, header controls to PageHeader and Button, and scrolling/footer edges to Screen. DetailDialogSection and ProjectBoardCardContent own template record layout and typography, not control sizing; opaque product controls inherit BloomScope. Evidence: `src/dialog/DetailDialogBase.tsx`, `src/dialog/DetailDialogSection.tsx`, `src/project-board/ProjectBoardCardContent.tsx`, `src/dialog/DetailDialog.stories.tsx`. Eight actual Chromium scenarios cover side/center, 1440/390 widths, motion/reduced motion, first-field pointer input, long-body scrolling, fixed header/footer, close/reopen and product draft retention. DOM/native renderer tests cover provider continuity, bounded canvas and native window portal geometry; final device verification is recorded separately in the compositor audit.. |
|
|
62
63
|
|
|
63
64
|
## Every exported part
|
|
64
65
|
|
|
@@ -361,6 +362,9 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
361
362
|
| `src/delivery-slot/DeliverySlotDays.tsx#DeliverySlotDays` (`src/delivery-slot/DeliverySlotDays.tsx`) | `native:.#DeliverySlotDays` · `native:./delivery-slot#DeliverySlotDays` · `web:.#DeliverySlotDays` · `web:./delivery-slot#DeliverySlotDays` | no public size prop | pending |
|
|
362
363
|
| `src/delivery-slot/DeliverySlotOption.tsx#DeliverySlotOption` (`src/delivery-slot/DeliverySlotOption.tsx`) | `native:.#DeliverySlotOption` · `native:./delivery-slot#DeliverySlotOption` · `web:.#DeliverySlotOption` · `web:./delivery-slot#DeliverySlotOption` | no public size prop | pending |
|
|
363
364
|
| `src/delivery-slot/DeliverySlotPicker.tsx#DeliverySlotPicker` (`src/delivery-slot/DeliverySlotPicker.tsx`) | `native:.#DeliverySlotPicker` · `native:./delivery-slot#DeliverySlotPicker` · `web:.#DeliverySlotPicker` · `web:./delivery-slot#DeliverySlotPicker` | no public size prop | pending |
|
|
365
|
+
| `src/dialog/DetailDialog.tsx#DetailDialog` (`src/dialog/DetailDialog.tsx`, `src/dialog/DetailDialog.web.tsx`) | `native:.#DetailDialog` · `native:./dialog#DetailDialog` · `web:.#DetailDialog` · `web:./dialog#DetailDialog` | no public size prop | record-detail-composition |
|
|
366
|
+
| `src/dialog/DetailDialogSection.tsx#DetailDialogSection` (`src/dialog/DetailDialogSection.tsx`) | `native:.#DetailDialogSection` · `native:./dialog#DetailDialogSection` · `web:.#DetailDialogSection` · `web:./dialog#DetailDialogSection` | no public size prop | record-detail-composition |
|
|
367
|
+
| `src/dialog/DetailDialogSection.tsx#DetailDialogSectionGroup` (`src/dialog/DetailDialogSection.tsx`) | `native:.#DetailDialogSectionGroup` · `native:./dialog#DetailDialogSectionGroup` · `web:.#DetailDialogSectionGroup` · `web:./dialog#DetailDialogSectionGroup` | no public size prop | record-detail-composition |
|
|
364
368
|
| `src/dialog/Dialog.tsx#Dialog` (`src/dialog/Dialog.tsx`, `src/dialog/Dialog.web.tsx`) | `native:.#Dialog` · `native:./dialog#Dialog` · `web:.#Dialog` · `web:./dialog#Dialog` | no public size prop | pending |
|
|
365
369
|
| `src/directions/DirectionsSteps.tsx#DirectionsSteps` (`src/directions/DirectionsSteps.tsx`) | `native:.#DirectionsSteps` · `native:./directions#DirectionsSteps` · `web:.#DirectionsSteps` · `web:./directions#DirectionsSteps` | no public size prop | pending |
|
|
366
370
|
| `src/directions/DirectionsSummary.tsx#DirectionsSummary` (`src/directions/DirectionsSummary.tsx`) | `native:.#DirectionsSummary` · `native:./directions#DirectionsSummary` · `web:.#DirectionsSummary` · `web:./directions#DirectionsSummary` | no public size prop | pending |
|
|
@@ -1287,6 +1291,7 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
1287
1291
|
| `src/progressive-blur/ProgressiveBlur.tsx#ProgressiveBlur` (`src/progressive-blur/ProgressiveBlur.tsx`, `src/progressive-blur/ProgressiveBlur.web.tsx`) | `native:.#ProgressiveBlur` · `native:./progressive-blur#ProgressiveBlur` · `web:.#ProgressiveBlur` · `web:./progressive-blur#ProgressiveBlur` | no public size prop | pending |
|
|
1288
1292
|
| `src/project-board/BoardGesture.tsx#BoardDragHandle` (`src/project-board/BoardGesture.tsx`) | `native:.#BoardDragHandle` · `native:./project-board#BoardDragHandle` · `web:.#BoardDragHandle` · `web:./project-board#BoardDragHandle` | no public size prop | pending |
|
|
1289
1293
|
| `src/project-board/ProjectBoard.tsx#ProjectBoard` (`src/project-board/ProjectBoard.tsx`, `src/project-board/ProjectBoard.web.tsx`) | `native:.#ProjectBoard` · `native:./project-board#ProjectBoard` · `web:.#ProjectBoard` · `web:./project-board#ProjectBoard` | no public size prop | pending |
|
|
1294
|
+
| `src/project-board/ProjectBoardCardContent.tsx#ProjectBoardCardContent` (`src/project-board/ProjectBoardCardContent.tsx`) | `native:.#ProjectBoardCardContent` · `native:./project-board#ProjectBoardCardContent` · `web:.#ProjectBoardCardContent` · `web:./project-board#ProjectBoardCardContent` | no public size prop | record-detail-composition |
|
|
1290
1295
|
| `src/proof-of-delivery/ProofOfDelivery.tsx#ProofOfDelivery` (`src/proof-of-delivery/ProofOfDelivery.tsx`) | `native:.#ProofOfDelivery` · `native:./proof-of-delivery#ProofOfDelivery` · `web:.#ProofOfDelivery` · `web:./proof-of-delivery#ProofOfDelivery` | no public size prop | pending |
|
|
1291
1296
|
| `src/proof-of-delivery/SignaturePad.tsx#SignaturePad` (`src/proof-of-delivery/SignaturePad.tsx`) | `native:.#SignaturePad` · `native:./proof-of-delivery#SignaturePad` · `web:.#SignaturePad` · `web:./proof-of-delivery#SignaturePad` | no public size prop | pending |
|
|
1292
1297
|
| `src/property-insights/EnergyBadge.tsx#EnergyBadge` (`src/property-insights/EnergyBadge.tsx`) | `native:.#EnergyBadge` · `native:./property-insights#EnergyBadge` · `web:.#EnergyBadge` · `web:./property-insights#EnergyBadge` | native:size: md/sm; web:size: md/sm | ui-indicators |
|
|
@@ -1320,6 +1325,7 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
1320
1325
|
| `src/screen/reselect.tsx#ScreenReselectScope` (`src/screen/reselect.tsx`) | `native:.#ScreenReselectScope` · `native:./screen#ScreenReselectScope` · `web:.#ScreenReselectScope` · `web:./screen#ScreenReselectScope` | no public size prop | pending |
|
|
1321
1326
|
| `src/screen/Screen.tsx#Screen` (`src/screen/Screen.tsx`, `src/screen/Screen.web.tsx`) | `native:.#Screen` · `native:./screen#Screen` · `web:.#Screen` · `web:./screen#Screen` | no public size prop | pending |
|
|
1322
1327
|
| `src/screen/ScreenActivity.tsx#ScreenActivity` (`src/screen/ScreenActivity.tsx`) | `native:.#ScreenActivity` · `native:./screen#ScreenActivity` · `web:.#ScreenActivity` · `web:./screen#ScreenActivity` | no public size prop | pending |
|
|
1328
|
+
| `src/screen/ScreenContent.tsx#ScreenContent` (`src/screen/ScreenContent.tsx`) | `native:.#ScreenContent` · `native:./screen#ScreenContent` · `web:.#ScreenContent` · `web:./screen#ScreenContent` | no public size prop | pending |
|
|
1323
1329
|
| `src/screen/ScreenPager.tsx#ScreenPager` (`src/screen/ScreenPager.tsx`) | `native:.#ScreenPager` · `native:./screen#ScreenPager` · `web:.#ScreenPager` · `web:./screen#ScreenPager` | no public size prop | pending |
|
|
1324
1330
|
| `src/screen/ScreenScrollView.tsx#ScreenScrollView` (`src/screen/ScreenScrollView.tsx`, `src/screen/ScreenScrollView.web.tsx`) | `native:.#ScreenScrollView` · `native:./screen#ScreenScrollView` · `web:.#ScreenScrollView` · `web:./screen#ScreenScrollView` | no public size prop | pending |
|
|
1325
1331
|
| `src/scroll/context.tsx#ScrollRestorationProvider` (`src/scroll/context.tsx`) | `native:.#ScrollRestorationProvider` · `native:./scroll#ScrollRestorationProvider` · `web:.#ScrollRestorationProvider` · `web:./scroll#ScrollRestorationProvider` | no public size prop | pending |
|
package/docs/screen.mdx
CHANGED
|
@@ -13,6 +13,16 @@ handles ignore imperative scrolling while inactive, including calls held by a
|
|
|
13
13
|
background chat as new messages arrive. `ScreenScrollView.onLayout` on web reports
|
|
14
14
|
the enclosing Screen's viewport, rather than the growing transcript wrapper.
|
|
15
15
|
|
|
16
|
+
## Body intent and measure
|
|
17
|
+
|
|
18
|
+
`kind="document|collection|table|canvas|form"` describes body intent independently
|
|
19
|
+
of the shell's surface presentation. Within the existing `ScreenScrollView`,
|
|
20
|
+
`ScreenContent` inherits the kind and supplies body padding and reading measure.
|
|
21
|
+
`width="full"` removes the readable cap while retaining body inset. Adaptation
|
|
22
|
+
follows the body's container, so a narrow inspector does not get desktop padding
|
|
23
|
+
just because the window is wide. This helper creates neither another scroll
|
|
24
|
+
owner nor another panel. See [semantic composition](./semantic-composition.mdx).
|
|
25
|
+
|
|
16
26
|
## Declarative screens in any host
|
|
17
27
|
|
|
18
28
|
A route declares its own chrome once. The shell supplies the surface and available
|
|
@@ -136,6 +146,11 @@ it and its scroller pads its end clear of it. While that screen is the
|
|
|
136
146
|
active one, an `AppShell`'s own floating action (the compose FAB) steps aside: one
|
|
137
147
|
floating action on screen at a time. The app's action belongs to the shell's
|
|
138
148
|
`primaryAction`, never to every screen.
|
|
149
|
+
`primaryActionPlacement="start|center|end"` selects placement through this same
|
|
150
|
+
footer owner. For a map/list toggle, `primaryActionVisibility="alone"` includes
|
|
151
|
+
both the action and its clearance only when the enclosing panel is alone; it
|
|
152
|
+
also leaves the shell action unclaimed while hidden. Returning null from an
|
|
153
|
+
action component does not communicate that ownership decision.
|
|
139
154
|
`headerHeight` and `bottomBarHeight` declare initial footprints for custom chrome;
|
|
140
155
|
defaults match Bloom's 56-point header and 58-point bottom bar plus safe area.
|
|
141
156
|
For compact PageHeader chrome without a top safe area, `headerHeight={32}`
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Semantic application composition
|
|
3
|
+
description: Choose application structure, presentation and screen intent through one compositor, with explicit state and adaptation contracts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Semantic application composition
|
|
7
|
+
|
|
8
|
+
An application declares its structure; Bloom resolves its navigation envelope,
|
|
9
|
+
panel roles, surface ownership, adaptation and screen scopes through the existing
|
|
10
|
+
AppShell compositor. Applications retain domain data, permissions, destinations
|
|
11
|
+
and mutations. This is a declarative UI contract, not automatic discovery of an
|
|
12
|
+
application's business relationships or a replacement router.
|
|
13
|
+
|
|
14
|
+
Check the installed package and [task catalog](/docs/task-catalog) before using
|
|
15
|
+
these APIs. The [rollout ledger](https://github.com/OxyHQ/Bloom/blob/main/docs/audits/2026-11-16-semantic-compositor.md)
|
|
16
|
+
separates implementation from browser/device checks and registry publication.
|
|
17
|
+
|
|
18
|
+
## Structure and presentation are separate
|
|
19
|
+
|
|
20
|
+
| `AppShell.layout` | Structure supplied by the family |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| `workspace` | Bounded working area with persistent application navigation |
|
|
23
|
+
| `collection-detail` | Collection and selected detail; compact selection adaptation |
|
|
24
|
+
| `feed` | Reading flow with contextual content |
|
|
25
|
+
| `deck` | Multiple panels in a shared horizontal viewport |
|
|
26
|
+
| `catalog` | Document-scrolled public/catalog content and its navigation envelope |
|
|
27
|
+
| `map-browser` | Bounded results/canvas region with explicit active-panel selection |
|
|
28
|
+
|
|
29
|
+
Choose `presentation="continuous"`, `"framed"` or `"floating"` independently.
|
|
30
|
+
Continuous joins regions with no outer gutter, navigation gap or structural
|
|
31
|
+
rounding at every viewport size. It does not mean compact controls or a narrow
|
|
32
|
+
viewport. A document inside that surface still needs a reading measure and body
|
|
33
|
+
insets. Framed and floating presentations retain their material distinctions.
|
|
34
|
+
The application's existing sidebar, navigation, bottom bar, content constraints
|
|
35
|
+
and controlled panel layout remain available.
|
|
36
|
+
|
|
37
|
+
Explicit product constraints override family defaults when they are compatible.
|
|
38
|
+
For example, a catalog can retain a product-specific navigation breakpoint.
|
|
39
|
+
Continuous presentation is a constraint: nonzero outer gutters, a card sidebar
|
|
40
|
+
or separated surfaces conflict with its meaning and produce a diagnostic error.
|
|
41
|
+
Use a framed local composition for a genuinely independent embedded region.
|
|
42
|
+
|
|
43
|
+
## Roles supply shared defaults
|
|
44
|
+
|
|
45
|
+
Descriptors and JSX panels accept `role="main|collection|detail|inspector|context|canvas"`.
|
|
46
|
+
Roles supply sizing and adaptation defaults; explicit dimensions, spans and
|
|
47
|
+
navigation state retain priority. Vertical groups do not inherit horizontal
|
|
48
|
+
width defaults. Stable descriptor IDs identify regions, independently of their
|
|
49
|
+
position or current presentation.
|
|
50
|
+
|
|
51
|
+
An inspector supplies `open`, `onOpenChange` and an accessible `label`. Bloom
|
|
52
|
+
owns the inline/sheet decision, dismissal, backdrop, focus boundary, safe area
|
|
53
|
+
and isolated Screen scope. The same open intent controls both presentations.
|
|
54
|
+
An explicit `floating` configuration refines the defaults; missing labels or
|
|
55
|
+
conflicting `visible`/`open` values are rejected.
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
<AppShell
|
|
59
|
+
layout="workspace"
|
|
60
|
+
presentation="continuous"
|
|
61
|
+
sidebar={navigation}
|
|
62
|
+
panelLayout={{
|
|
63
|
+
panels: [
|
|
64
|
+
{ id: 'document', role: 'main', content: documentScreen },
|
|
65
|
+
{
|
|
66
|
+
id: 'comments',
|
|
67
|
+
role: 'inspector',
|
|
68
|
+
open: commentsOpen,
|
|
69
|
+
onOpenChange: setCommentsOpen,
|
|
70
|
+
label: 'Comments',
|
|
71
|
+
content: commentsScreen,
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
}}
|
|
75
|
+
/>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
This snippet assumes the application's existing BloomProvider and bounded shell
|
|
79
|
+
host. A route can instead return `AppShellPanels layout={...}`: shell family and
|
|
80
|
+
presentation flow into that group. Its `layout.family` can select a more specific
|
|
81
|
+
structure, such as a map-browser within a catalog application. `scope="local"`
|
|
82
|
+
starts an independent embedded frame. Do not add a second shell to recreate a
|
|
83
|
+
route's inherited environment.
|
|
84
|
+
|
|
85
|
+
## Screen owns the body and its edges
|
|
86
|
+
|
|
87
|
+
`Screen kind="document|collection|table|canvas|form"` describes body intent.
|
|
88
|
+
`ScreenContent` consumes that intent within the existing scroller; it supplies
|
|
89
|
+
reading measure and body padding without another scroll viewport or surface.
|
|
90
|
+
`width="full"` removes the readable width cap while preserving body inset.
|
|
91
|
+
Body adaptation follows the available body container, not the window width.
|
|
92
|
+
|
|
93
|
+
```tsx
|
|
94
|
+
<Screen kind="document" header={pageHeader}>
|
|
95
|
+
<ScreenScrollView>
|
|
96
|
+
<ScreenContent width={fullWidth ? 'full' : 'readable'}>
|
|
97
|
+
{editor}
|
|
98
|
+
</ScreenContent>
|
|
99
|
+
</ScreenScrollView>
|
|
100
|
+
</Screen>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
A canvas uses the Screen canvas intent and its existing non-scrolling body.
|
|
104
|
+
Collections use `ScreenScrollView.onEndReached` or the shared list integration;
|
|
105
|
+
applications do not duplicate viewport measurement, end detection or bottom
|
|
106
|
+
bar padding. `primaryActionPlacement="center"` positions a map/list action through
|
|
107
|
+
the Screen footer owner. `primaryActionVisibility="alone"` excludes the action
|
|
108
|
+
from both layout reservation and shell claims when its panel is not alone;
|
|
109
|
+
passing an element whose component happens to return null cannot express that
|
|
110
|
+
ownership decision.
|
|
111
|
+
|
|
112
|
+
## State and focus continuity
|
|
113
|
+
|
|
114
|
+
Stable IDs preserve mounted inline panel content through ordinary geometry,
|
|
115
|
+
visibility and ordering changes. A style change between joined and framed
|
|
116
|
+
surfaces keeps the same content owner. Changing the application route or a
|
|
117
|
+
panel's identity still creates a new lifetime.
|
|
118
|
+
|
|
119
|
+
Inline-to-dialog adaptation crosses platform presentation hosts. Bloom does
|
|
120
|
+
**not** promise preservation of arbitrary local React hooks, DOM/native view
|
|
121
|
+
identity, editor instances, media playback or ongoing composition events across
|
|
122
|
+
that host change. The vendored native teleport specifications do not provide a
|
|
123
|
+
shipped native view-reparenting implementation.
|
|
124
|
+
|
|
125
|
+
Register state that must survive that transition with the panel session:
|
|
126
|
+
|
|
127
|
+
```tsx
|
|
128
|
+
const [draft, setDraft] = usePanelSessionState(`comment:${commentId}:draft`, '');
|
|
129
|
+
const focus = usePanelSessionFocus<TextInputInstance>(`comment:${commentId}:input`);
|
|
130
|
+
|
|
131
|
+
<Textarea
|
|
132
|
+
inputRef={focus.ref}
|
|
133
|
+
value={draft}
|
|
134
|
+
onChangeText={setDraft}
|
|
135
|
+
onFocus={focus.onFocus}
|
|
136
|
+
onBlur={focus.onBlur}
|
|
137
|
+
onSelectionChange={focus.onSelectionChange}
|
|
138
|
+
/>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Both hooks are exported from `@oxy.so/bloom/app-shell/hooks` and
|
|
142
|
+
`@oxy.so/bloom/app-shell`. A session belongs to one descriptor owner. Use stable,
|
|
143
|
+
unique domain keys for drafts, mention ranges, filters, replies and submission
|
|
144
|
+
state. A changed key initializes from its own initial value; updater functions
|
|
145
|
+
read the latest registered state. Separate panels do not share a session.
|
|
146
|
+
|
|
147
|
+
Closing a panel retains registered drafts for its current route lifetime but
|
|
148
|
+
clears focus intent. Removing the descriptor or route destroys the session.
|
|
149
|
+
Outside a descriptor panel, the hooks have component-local lifetime. They do
|
|
150
|
+
not persist data to disk or a server. Product stores remain responsible for
|
|
151
|
+
cross-route/account persistence and asynchronous mutation ownership.
|
|
152
|
+
|
|
153
|
+
The focus adapter records the focused input and selection, then restores them
|
|
154
|
+
when its presentation changes. It cancels when the panel closes, the user blurs,
|
|
155
|
+
another destination receives focus or a pointer/key action supersedes the
|
|
156
|
+
request. Compose existing input handlers with the returned handlers. Do not
|
|
157
|
+
force `autoFocus` on every remount: that bypasses the restoration contract and
|
|
158
|
+
can steal focus. Screen-reader focus follows the overlay's existing platform
|
|
159
|
+
contract; keyboard selection restoration is a separate check.
|
|
160
|
+
|
|
161
|
+
## Inspect resolution
|
|
162
|
+
|
|
163
|
+
`explainAppShellComposition(props)` exposes resolved family/presentation,
|
|
164
|
+
ownership and the origin/reason for decisions. It is a development diagnostic
|
|
165
|
+
for an explicit declaration, not an interactive inspector UI and not telemetry.
|
|
166
|
+
Use it when investigating a gutter: distinguish the shell frame, panel gap,
|
|
167
|
+
Screen body inset and an explicit product override before changing geometry.
|
|
168
|
+
The task catalog and guide examples do not establish runtime adoption.
|
|
169
|
+
|
|
170
|
+
## Migrate and retire compatibility deliberately
|
|
171
|
+
|
|
172
|
+
1. Record each application's current routes, navigation, scrolling and material
|
|
173
|
+
presentation. Choose a family and presentation for each actual composition.
|
|
174
|
+
2. Replace legacy `variant` selection with semantic declarations, retaining
|
|
175
|
+
justified explicit product constraints. Do not change approved visuals just
|
|
176
|
+
to make all applications look alike.
|
|
177
|
+
3. Move responsive frame calculations, body padding, scroll-end detection and
|
|
178
|
+
action clearance into their Bloom owners. Remove the obsolete consumer code
|
|
179
|
+
and replace its behavioral tests at the new ownership boundary.
|
|
180
|
+
4. Register drafts and focus for adapting inspectors. Verify data, selection,
|
|
181
|
+
Back/Escape/backdrop behavior, route resets and mutations across transitions.
|
|
182
|
+
5. Run source gates, a built-package consumer check, actual browser/device flows,
|
|
183
|
+
and then registry-installed consumer checks. Publish through CI and record
|
|
184
|
+
the exact package version, commit, release and deployment evidence.
|
|
185
|
+
|
|
186
|
+
Legacy variants remain compatibility inputs to the same resolver. They are not
|
|
187
|
+
removed in this rollout. Deprecation can advance only when all five consumers
|
|
188
|
+
have migrated their relevant routes, responsive geometry duplicates are removed,
|
|
189
|
+
required browser/native checks pass, and installed release/deployment evidence
|
|
190
|
+
is recorded. A later removal requires an export/API migration plan and a major
|
|
191
|
+
release where appropriate. Unverified native behavior, missing iOS evidence or
|
|
192
|
+
unresolved state-loss defects cannot be relabeled as complete adoption.
|
|
193
|
+
|
|
194
|
+
## Native safe-area ownership
|
|
195
|
+
|
|
196
|
+
Semantic shells default to `safeArea={true}`. The existing shell frame/navigation
|
|
197
|
+
owns physical device edges once; explicit `false` and legacy variants retain their
|
|
198
|
+
previous behavior. Descendant PageHeaders inherit consumed top edges unless their
|
|
199
|
+
own `safeArea` prop is explicit. Ordinary Screens and bounded panels preserve this
|
|
200
|
+
ownership; independent dialogs, sheets and overlays reset it and retain the physical
|
|
201
|
+
device insets.
|
|
202
|
+
|
|
203
|
+
Custom inline content can use `useContentSafeAreaInsets` from
|
|
204
|
+
`@oxy.so/bloom/layout` instead of recharging a physical inset already owned by its
|
|
205
|
+
frame. This hook reports only the remaining content insets. Keep raw device insets
|
|
206
|
+
for window-level geometry; never globally replace them with zero. Shell bottom
|
|
207
|
+
chrome and the frame coordinate which of them pays the physical bottom edge.
|