@oxy.so/bloom 4.5.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/docs/adoption-matrix.mdx +12 -12
- package/docs/code.mdx +12 -0
- package/docs/context-menu.mdx +2 -0
- package/docs/dropdown-menu.mdx +21 -0
- package/docs/icons.mdx +2 -2
- package/docs/menubar.mdx +6 -2
- package/docs/popover.mdx +4 -2
- package/docs/segmented-control.mdx +12 -0
- package/docs/select.mdx +19 -0
- package/docs/tabs.mdx +12 -0
- package/lib/commonjs/agent-chat/index.web.js.map +1 -1
- package/lib/commonjs/ai-chat/index.web.js.map +1 -1
- package/lib/commonjs/alert-dialog/index.web.js +10 -1
- package/lib/commonjs/alert-dialog/index.web.js.map +1 -1
- package/lib/commonjs/avatar-group/index.web.js.map +1 -1
- package/lib/commonjs/bottom-sheet/index.web.js.map +1 -1
- package/lib/commonjs/code/index.js +13 -0
- package/lib/commonjs/code/index.js.map +1 -1
- package/lib/commonjs/command/index.web.js +5 -0
- package/lib/commonjs/command/index.web.js.map +1 -1
- package/lib/commonjs/composer-loader/ComposerLoader.web.js +9 -0
- package/lib/commonjs/composer-loader/ComposerLoader.web.js.map +1 -1
- package/lib/commonjs/composer-loader/index.web.js.map +1 -1
- package/lib/commonjs/composer-panel/index.web.js.map +1 -1
- package/lib/commonjs/connection-dots/index.web.js.map +1 -1
- package/lib/commonjs/connection-status/index.web.js.map +1 -1
- package/lib/commonjs/content-panel/index.web.js.map +1 -1
- package/lib/commonjs/context-menu/ContextMenu.web.js +22 -4
- package/lib/commonjs/context-menu/ContextMenu.web.js.map +1 -1
- package/lib/commonjs/context-menu/context.js.map +1 -1
- package/lib/commonjs/context-menu/index.web.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.web.js +14 -0
- package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
- package/lib/commonjs/dialog/index.web.js.map +1 -1
- package/lib/commonjs/dropdown-menu/DropdownMenu.web.js +22 -2
- package/lib/commonjs/dropdown-menu/DropdownMenu.web.js.map +1 -1
- package/lib/commonjs/dropdown-menu/index.web.js.map +1 -1
- package/lib/commonjs/floating/FloatingPanel.js +42 -33
- package/lib/commonjs/floating/FloatingPanel.js.map +1 -1
- package/lib/commonjs/floating/escape-stack.js +90 -0
- package/lib/commonjs/floating/escape-stack.js.map +1 -0
- package/lib/commonjs/floating/menu-keyboard.js +238 -0
- package/lib/commonjs/floating/menu-keyboard.js.map +1 -0
- package/lib/commonjs/floating/menu-sub-flyout.js +28 -16
- package/lib/commonjs/floating/menu-sub-flyout.js.map +1 -1
- package/lib/commonjs/fonts/index.web.js.map +1 -1
- package/lib/commonjs/frosted-icon-button/FrostedIconButton.web.js +10 -0
- package/lib/commonjs/frosted-icon-button/FrostedIconButton.web.js.map +1 -1
- package/lib/commonjs/frosted-icon-button/index.web.js.map +1 -1
- package/lib/commonjs/hooks/roving-focus.js +192 -0
- package/lib/commonjs/hooks/roving-focus.js.map +1 -0
- package/lib/commonjs/hover-card/index.web.js.map +1 -1
- package/lib/commonjs/icons/remix/RiBookReadLine.js +12 -0
- package/lib/commonjs/icons/remix/RiBookReadLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiBugLine.js +12 -0
- package/lib/commonjs/icons/remix/RiBugLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiChat1Line.js +12 -0
- package/lib/commonjs/icons/remix/RiChat1Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiCloudLine.js +12 -0
- package/lib/commonjs/icons/remix/RiCloudLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiCodeLine.js +12 -0
- package/lib/commonjs/icons/remix/RiCodeLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiCpuLine.js +12 -0
- package/lib/commonjs/icons/remix/RiCpuLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiFloodLine.js +12 -0
- package/lib/commonjs/icons/remix/RiFloodLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiLockUnlockLine.js +12 -0
- package/lib/commonjs/icons/remix/RiLockUnlockLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiMoneyDollarCircleLine.js +12 -0
- package/lib/commonjs/icons/remix/RiMoneyDollarCircleLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiPlayCircleLine.js +12 -0
- package/lib/commonjs/icons/remix/RiPlayCircleLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiRocket2Line.js +12 -0
- package/lib/commonjs/icons/remix/RiRocket2Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiServerLine.js +12 -0
- package/lib/commonjs/icons/remix/RiServerLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiShareBoxLine.js +12 -0
- package/lib/commonjs/icons/remix/RiShareBoxLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTv2Line.js +12 -0
- package/lib/commonjs/icons/remix/RiTv2Line.js.map +1 -0
- package/lib/commonjs/icons/remix/index.js +98 -0
- package/lib/commonjs/icons/remix/index.js.map +1 -1
- package/lib/commonjs/list/index.web.js.map +1 -1
- package/lib/commonjs/loading/Loading.js +21 -157
- package/lib/commonjs/loading/Loading.js.map +1 -1
- package/lib/commonjs/loading/Loading.web.js +23 -157
- package/lib/commonjs/loading/Loading.web.js.map +1 -1
- package/lib/commonjs/loading/LoadingBase.js +202 -0
- package/lib/commonjs/loading/LoadingBase.js.map +1 -0
- package/lib/commonjs/loading/index.web.js.map +1 -1
- package/lib/commonjs/media-flight/index.web.js.map +1 -1
- package/lib/commonjs/menubar/Menubar.js +31 -123
- package/lib/commonjs/menubar/Menubar.js.map +1 -1
- package/lib/commonjs/menubar/Menubar.web.js +33 -114
- package/lib/commonjs/menubar/Menubar.web.js.map +1 -1
- package/lib/commonjs/menubar/MenubarBase.js +154 -0
- package/lib/commonjs/menubar/MenubarBase.js.map +1 -0
- package/lib/commonjs/menubar/index.web.js.map +1 -1
- package/lib/commonjs/popover/index.web.js.map +1 -1
- package/lib/commonjs/popover/parts.js +69 -11
- package/lib/commonjs/popover/parts.js.map +1 -1
- package/lib/commonjs/popover/surface.js +39 -13
- package/lib/commonjs/popover/surface.js.map +1 -1
- package/lib/commonjs/portal/index.web.js.map +1 -1
- package/lib/commonjs/progressive-blur/index.web.js.map +1 -1
- package/lib/commonjs/scroll/index.web.js.map +1 -1
- package/lib/commonjs/segmented-control/SegmentedControl.js +36 -1
- package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/commonjs/select/Select.js +6 -81
- package/lib/commonjs/select/Select.js.map +1 -1
- package/lib/commonjs/select/Select.web.js +147 -85
- package/lib/commonjs/select/Select.web.js.map +1 -1
- package/lib/commonjs/select/index.js +4 -4
- package/lib/commonjs/select/index.js.map +1 -1
- package/lib/commonjs/select/index.web.js +4 -4
- package/lib/commonjs/select/index.web.js.map +1 -1
- package/lib/commonjs/select/shared.js +110 -5
- package/lib/commonjs/select/shared.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarTeamMenu.js +1 -1
- package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarUserMenu.js +1 -1
- package/lib/commonjs/sidebar/SidebarUserMenu.js.map +1 -1
- package/lib/commonjs/sidebar/parts.js +9 -9
- package/lib/commonjs/sidebar/parts.js.map +1 -1
- package/lib/commonjs/surfaces/SurfaceHost.js +6 -0
- package/lib/commonjs/surfaces/SurfaceHost.js.map +1 -1
- package/lib/commonjs/surfaces/index.web.js +14 -4
- package/lib/commonjs/surfaces/index.web.js.map +1 -1
- package/lib/commonjs/tab-bar/index.web.js +13 -10
- package/lib/commonjs/tab-bar/index.web.js.map +1 -1
- package/lib/commonjs/tabs/Tabs.js +49 -2
- package/lib/commonjs/tabs/Tabs.js.map +1 -1
- package/lib/commonjs/theme/color-scope/index.web.js.map +1 -1
- package/lib/commonjs/theme/persistence.js +12 -1
- package/lib/commonjs/theme/persistence.js.map +1 -1
- package/lib/commonjs/theme/seed-scope/index.web.js.map +1 -1
- package/lib/commonjs/tooltip/index.web.js.map +1 -1
- package/lib/module/agent-chat/index.web.js +5 -3
- package/lib/module/agent-chat/index.web.js.map +1 -1
- package/lib/module/ai-chat/index.web.js +5 -2
- package/lib/module/ai-chat/index.web.js.map +1 -1
- package/lib/module/alert-dialog/index.web.js +10 -1
- package/lib/module/alert-dialog/index.web.js.map +1 -1
- package/lib/module/avatar-group/index.web.js +5 -0
- package/lib/module/avatar-group/index.web.js.map +1 -1
- package/lib/module/bottom-sheet/index.web.js +5 -0
- package/lib/module/bottom-sheet/index.web.js.map +1 -1
- package/lib/module/code/index.js +1 -0
- package/lib/module/code/index.js.map +1 -1
- package/lib/module/command/index.web.js +5 -0
- package/lib/module/command/index.web.js.map +1 -1
- package/lib/module/composer-loader/ComposerLoader.web.js +8 -0
- package/lib/module/composer-loader/ComposerLoader.web.js.map +1 -1
- package/lib/module/composer-loader/index.web.js +5 -2
- package/lib/module/composer-loader/index.web.js.map +1 -1
- package/lib/module/composer-panel/index.web.js +5 -3
- package/lib/module/composer-panel/index.web.js.map +1 -1
- package/lib/module/connection-dots/index.web.js +5 -0
- package/lib/module/connection-dots/index.web.js.map +1 -1
- package/lib/module/connection-status/index.web.js +5 -0
- package/lib/module/connection-status/index.web.js.map +1 -1
- package/lib/module/content-panel/index.web.js +5 -0
- package/lib/module/content-panel/index.web.js.map +1 -1
- package/lib/module/context-menu/ContextMenu.web.js +22 -4
- package/lib/module/context-menu/ContextMenu.web.js.map +1 -1
- package/lib/module/context-menu/context.js.map +1 -1
- package/lib/module/context-menu/index.web.js +5 -0
- package/lib/module/context-menu/index.web.js.map +1 -1
- package/lib/module/dialog/Dialog.web.js +13 -0
- package/lib/module/dialog/Dialog.web.js.map +1 -1
- package/lib/module/dialog/index.web.js +7 -11
- package/lib/module/dialog/index.web.js.map +1 -1
- package/lib/module/dropdown-menu/DropdownMenu.web.js +23 -3
- package/lib/module/dropdown-menu/DropdownMenu.web.js.map +1 -1
- package/lib/module/dropdown-menu/index.web.js +5 -0
- package/lib/module/dropdown-menu/index.web.js.map +1 -1
- package/lib/module/floating/FloatingPanel.js +42 -33
- package/lib/module/floating/FloatingPanel.js.map +1 -1
- package/lib/module/floating/escape-stack.js +85 -0
- package/lib/module/floating/escape-stack.js.map +1 -0
- package/lib/module/floating/menu-keyboard.js +227 -0
- package/lib/module/floating/menu-keyboard.js.map +1 -0
- package/lib/module/floating/menu-sub-flyout.js +28 -16
- package/lib/module/floating/menu-sub-flyout.js.map +1 -1
- package/lib/module/fonts/index.web.js +5 -20
- package/lib/module/fonts/index.web.js.map +1 -1
- package/lib/module/frosted-icon-button/FrostedIconButton.web.js +9 -0
- package/lib/module/frosted-icon-button/FrostedIconButton.web.js.map +1 -1
- package/lib/module/frosted-icon-button/index.web.js +5 -7
- package/lib/module/frosted-icon-button/index.web.js.map +1 -1
- package/lib/module/hooks/roving-focus.js +181 -0
- package/lib/module/hooks/roving-focus.js.map +1 -0
- package/lib/module/hover-card/index.web.js +5 -0
- package/lib/module/hover-card/index.web.js.map +1 -1
- package/lib/module/icons/remix/RiBookReadLine.js +9 -0
- package/lib/module/icons/remix/RiBookReadLine.js.map +1 -0
- package/lib/module/icons/remix/RiBugLine.js +9 -0
- package/lib/module/icons/remix/RiBugLine.js.map +1 -0
- package/lib/module/icons/remix/RiChat1Line.js +9 -0
- package/lib/module/icons/remix/RiChat1Line.js.map +1 -0
- package/lib/module/icons/remix/RiCloudLine.js +9 -0
- package/lib/module/icons/remix/RiCloudLine.js.map +1 -0
- package/lib/module/icons/remix/RiCodeLine.js +9 -0
- package/lib/module/icons/remix/RiCodeLine.js.map +1 -0
- package/lib/module/icons/remix/RiCpuLine.js +9 -0
- package/lib/module/icons/remix/RiCpuLine.js.map +1 -0
- package/lib/module/icons/remix/RiFloodLine.js +9 -0
- package/lib/module/icons/remix/RiFloodLine.js.map +1 -0
- package/lib/module/icons/remix/RiLockUnlockLine.js +9 -0
- package/lib/module/icons/remix/RiLockUnlockLine.js.map +1 -0
- package/lib/module/icons/remix/RiMoneyDollarCircleLine.js +9 -0
- package/lib/module/icons/remix/RiMoneyDollarCircleLine.js.map +1 -0
- package/lib/module/icons/remix/RiPlayCircleLine.js +9 -0
- package/lib/module/icons/remix/RiPlayCircleLine.js.map +1 -0
- package/lib/module/icons/remix/RiRocket2Line.js +9 -0
- package/lib/module/icons/remix/RiRocket2Line.js.map +1 -0
- package/lib/module/icons/remix/RiServerLine.js +9 -0
- package/lib/module/icons/remix/RiServerLine.js.map +1 -0
- package/lib/module/icons/remix/RiShareBoxLine.js +9 -0
- package/lib/module/icons/remix/RiShareBoxLine.js.map +1 -0
- package/lib/module/icons/remix/RiTv2Line.js +9 -0
- package/lib/module/icons/remix/RiTv2Line.js.map +1 -0
- package/lib/module/icons/remix/index.js +14 -0
- package/lib/module/icons/remix/index.js.map +1 -1
- package/lib/module/list/index.web.js +5 -0
- package/lib/module/list/index.web.js.map +1 -1
- package/lib/module/loading/Loading.js +17 -155
- package/lib/module/loading/Loading.js.map +1 -1
- package/lib/module/loading/Loading.web.js +19 -155
- package/lib/module/loading/Loading.web.js.map +1 -1
- package/lib/module/loading/LoadingBase.js +194 -0
- package/lib/module/loading/LoadingBase.js.map +1 -0
- package/lib/module/loading/index.web.js +5 -13
- package/lib/module/loading/index.web.js.map +1 -1
- package/lib/module/media-flight/index.web.js +5 -9
- package/lib/module/media-flight/index.web.js.map +1 -1
- package/lib/module/menubar/Menubar.js +15 -122
- package/lib/module/menubar/Menubar.js.map +1 -1
- package/lib/module/menubar/Menubar.web.js +18 -114
- package/lib/module/menubar/Menubar.web.js.map +1 -1
- package/lib/module/menubar/MenubarBase.js +146 -0
- package/lib/module/menubar/MenubarBase.js.map +1 -0
- package/lib/module/menubar/index.web.js +5 -0
- package/lib/module/menubar/index.web.js.map +1 -1
- package/lib/module/motion/index.web.js +5 -5
- package/lib/module/motion/index.web.js.map +1 -1
- package/lib/module/popover/index.web.js +5 -0
- package/lib/module/popover/index.web.js.map +1 -1
- package/lib/module/popover/parts.js +70 -12
- package/lib/module/popover/parts.js.map +1 -1
- package/lib/module/popover/surface.js +39 -13
- package/lib/module/popover/surface.js.map +1 -1
- package/lib/module/portal/index.web.js +6 -1
- package/lib/module/portal/index.web.js.map +1 -1
- package/lib/module/progressive-blur/index.web.js +5 -0
- package/lib/module/progressive-blur/index.web.js.map +1 -1
- package/lib/module/scroll/index.web.js +5 -0
- package/lib/module/scroll/index.web.js.map +1 -1
- package/lib/module/segmented-control/SegmentedControl.js +36 -1
- package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/module/select/Select.js +5 -77
- package/lib/module/select/Select.js.map +1 -1
- package/lib/module/select/Select.web.js +147 -82
- package/lib/module/select/Select.web.js.map +1 -1
- package/lib/module/select/index.js +2 -2
- package/lib/module/select/index.js.map +1 -1
- package/lib/module/select/index.web.js +7 -2
- package/lib/module/select/index.web.js.map +1 -1
- package/lib/module/select/shared.js +106 -6
- package/lib/module/select/shared.js.map +1 -1
- package/lib/module/sidebar/SidebarTeamMenu.js +2 -2
- package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/module/sidebar/SidebarUserMenu.js +2 -2
- package/lib/module/sidebar/SidebarUserMenu.js.map +1 -1
- package/lib/module/sidebar/parts.js +8 -8
- package/lib/module/sidebar/parts.js.map +1 -1
- package/lib/module/surfaces/SurfaceHost.js +6 -0
- package/lib/module/surfaces/SurfaceHost.js.map +1 -1
- package/lib/module/surfaces/index.web.js +14 -4
- package/lib/module/surfaces/index.web.js.map +1 -1
- package/lib/module/tab-bar/index.web.js +13 -10
- package/lib/module/tab-bar/index.web.js.map +1 -1
- package/lib/module/tabs/Tabs.js +49 -2
- package/lib/module/tabs/Tabs.js.map +1 -1
- package/lib/module/theme/color-scope/index.web.js +5 -0
- package/lib/module/theme/color-scope/index.web.js.map +1 -1
- package/lib/module/theme/persistence.js +12 -1
- package/lib/module/theme/persistence.js.map +1 -1
- package/lib/module/theme/seed-scope/index.web.js +5 -0
- package/lib/module/theme/seed-scope/index.web.js.map +1 -1
- package/lib/module/tooltip/index.web.js +5 -0
- package/lib/module/tooltip/index.web.js.map +1 -1
- package/lib/typescript/commonjs/agent-chat/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/ai-chat/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/alert-dialog/index.web.d.ts +5 -1
- package/lib/typescript/commonjs/alert-dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar-group/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/code/index.d.ts +2 -0
- package/lib/typescript/commonjs/code/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/command/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-loader/ComposerLoader.web.d.ts +8 -0
- package/lib/typescript/commonjs/composer-loader/ComposerLoader.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-loader/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-panel/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/connection-dots/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/connection-status/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/content-panel/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/ContextMenu.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/context.d.ts +3 -0
- package/lib/typescript/commonjs/context-menu/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts +2 -1
- package/lib/typescript/commonjs/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dropdown-menu/DropdownMenu.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dropdown-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/FloatingPanel.d.ts +1 -1
- package/lib/typescript/commonjs/floating/FloatingPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/escape-stack.d.ts +55 -0
- package/lib/typescript/commonjs/floating/escape-stack.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/menu-keyboard.d.ts +57 -0
- package/lib/typescript/commonjs/floating/menu-keyboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/floating/menu-sub-flyout.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/types.d.ts +11 -0
- package/lib/typescript/commonjs/floating/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/fonts/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/frosted-icon-button/FrostedIconButton.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/frosted-icon-button/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/roving-focus.d.ts +66 -0
- package/lib/typescript/commonjs/hooks/roving-focus.d.ts.map +1 -0
- package/lib/typescript/commonjs/hover-card/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/remix/RiBookReadLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiBookReadLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiBugLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiBugLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiChat1Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiChat1Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiCloudLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiCloudLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiCodeLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiCodeLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiCpuLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiCpuLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiFloodLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiFloodLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiLockUnlockLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiLockUnlockLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiMoneyDollarCircleLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiMoneyDollarCircleLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiPlayCircleLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiPlayCircleLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiRocket2Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiRocket2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiServerLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiServerLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiShareBoxLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiShareBoxLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTv2Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTv2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/index.d.ts +14 -0
- package/lib/typescript/commonjs/icons/remix/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/list/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/loading/Loading.d.ts +8 -2
- package/lib/typescript/commonjs/loading/Loading.d.ts.map +1 -1
- package/lib/typescript/commonjs/loading/Loading.web.d.ts +10 -2
- package/lib/typescript/commonjs/loading/Loading.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/loading/LoadingBase.d.ts +64 -0
- package/lib/typescript/commonjs/loading/LoadingBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/loading/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/media-flight/index.web.d.ts +0 -9
- package/lib/typescript/commonjs/media-flight/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/menubar/Menubar.d.ts +14 -9
- package/lib/typescript/commonjs/menubar/Menubar.d.ts.map +1 -1
- package/lib/typescript/commonjs/menubar/Menubar.web.d.ts +8 -6
- package/lib/typescript/commonjs/menubar/Menubar.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/menubar/MenubarBase.d.ts +5 -0
- package/lib/typescript/commonjs/menubar/MenubarBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/menubar/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/motion/index.web.d.ts +0 -5
- package/lib/typescript/commonjs/motion/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/popover/surface.d.ts +15 -5
- package/lib/typescript/commonjs/popover/surface.d.ts.map +1 -1
- package/lib/typescript/commonjs/portal/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/portal/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/progressive-blur/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/scroll/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/Select.d.ts +2 -4
- package/lib/typescript/commonjs/select/Select.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/Select.web.d.ts +2 -4
- package/lib/typescript/commonjs/select/Select.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/index.d.ts +2 -2
- package/lib/typescript/commonjs/select/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/index.web.d.ts +2 -2
- package/lib/typescript/commonjs/select/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/shared.d.ts +52 -5
- package/lib/typescript/commonjs/select/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/select/types.d.ts +6 -0
- package/lib/typescript/commonjs/select/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts +8 -2
- package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/surfaces/SurfaceHost.d.ts.map +1 -1
- package/lib/typescript/commonjs/surfaces/index.web.d.ts +9 -4
- package/lib/typescript/commonjs/surfaces/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/tab-bar/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/Tabs.d.ts.map +1 -1
- package/lib/typescript/commonjs/tabs/types.d.ts +6 -0
- package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/persistence.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/seed-scope/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/tooltip/index.web.d.ts.map +1 -1
- package/lib/typescript/module/agent-chat/index.web.d.ts.map +1 -1
- package/lib/typescript/module/ai-chat/index.web.d.ts.map +1 -1
- package/lib/typescript/module/alert-dialog/index.web.d.ts +5 -1
- package/lib/typescript/module/alert-dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/module/avatar-group/index.web.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/index.web.d.ts.map +1 -1
- package/lib/typescript/module/code/index.d.ts +2 -0
- package/lib/typescript/module/code/index.d.ts.map +1 -1
- package/lib/typescript/module/command/index.web.d.ts.map +1 -1
- package/lib/typescript/module/composer-loader/ComposerLoader.web.d.ts +8 -0
- package/lib/typescript/module/composer-loader/ComposerLoader.web.d.ts.map +1 -1
- package/lib/typescript/module/composer-loader/index.web.d.ts.map +1 -1
- package/lib/typescript/module/composer-panel/index.web.d.ts.map +1 -1
- package/lib/typescript/module/connection-dots/index.web.d.ts.map +1 -1
- package/lib/typescript/module/connection-status/index.web.d.ts.map +1 -1
- package/lib/typescript/module/content-panel/index.web.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/ContextMenu.web.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/context.d.ts +3 -0
- package/lib/typescript/module/context-menu/context.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/index.web.d.ts +2 -1
- package/lib/typescript/module/dialog/index.web.d.ts.map +1 -1
- package/lib/typescript/module/dropdown-menu/DropdownMenu.web.d.ts.map +1 -1
- package/lib/typescript/module/dropdown-menu/index.web.d.ts.map +1 -1
- package/lib/typescript/module/floating/FloatingPanel.d.ts +1 -1
- package/lib/typescript/module/floating/FloatingPanel.d.ts.map +1 -1
- package/lib/typescript/module/floating/escape-stack.d.ts +55 -0
- package/lib/typescript/module/floating/escape-stack.d.ts.map +1 -0
- package/lib/typescript/module/floating/menu-keyboard.d.ts +57 -0
- package/lib/typescript/module/floating/menu-keyboard.d.ts.map +1 -0
- package/lib/typescript/module/floating/menu-sub-flyout.d.ts.map +1 -1
- package/lib/typescript/module/floating/types.d.ts +11 -0
- package/lib/typescript/module/floating/types.d.ts.map +1 -1
- package/lib/typescript/module/fonts/index.web.d.ts.map +1 -1
- package/lib/typescript/module/frosted-icon-button/FrostedIconButton.web.d.ts.map +1 -1
- package/lib/typescript/module/frosted-icon-button/index.web.d.ts.map +1 -1
- package/lib/typescript/module/hooks/roving-focus.d.ts +66 -0
- package/lib/typescript/module/hooks/roving-focus.d.ts.map +1 -0
- package/lib/typescript/module/hover-card/index.web.d.ts.map +1 -1
- package/lib/typescript/module/icons/remix/RiBookReadLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiBookReadLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiBugLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiBugLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiChat1Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiChat1Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiCloudLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiCloudLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiCodeLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiCodeLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiCpuLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiCpuLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiFloodLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiFloodLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiLockUnlockLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiLockUnlockLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiMoneyDollarCircleLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiMoneyDollarCircleLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiPlayCircleLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiPlayCircleLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiRocket2Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiRocket2Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiServerLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiServerLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiShareBoxLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiShareBoxLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTv2Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTv2Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/index.d.ts +14 -0
- package/lib/typescript/module/icons/remix/index.d.ts.map +1 -1
- package/lib/typescript/module/list/index.web.d.ts.map +1 -1
- package/lib/typescript/module/loading/Loading.d.ts +8 -2
- package/lib/typescript/module/loading/Loading.d.ts.map +1 -1
- package/lib/typescript/module/loading/Loading.web.d.ts +10 -2
- package/lib/typescript/module/loading/Loading.web.d.ts.map +1 -1
- package/lib/typescript/module/loading/LoadingBase.d.ts +64 -0
- package/lib/typescript/module/loading/LoadingBase.d.ts.map +1 -0
- package/lib/typescript/module/loading/index.web.d.ts.map +1 -1
- package/lib/typescript/module/media-flight/index.web.d.ts +0 -9
- package/lib/typescript/module/media-flight/index.web.d.ts.map +1 -1
- package/lib/typescript/module/menubar/Menubar.d.ts +14 -9
- package/lib/typescript/module/menubar/Menubar.d.ts.map +1 -1
- package/lib/typescript/module/menubar/Menubar.web.d.ts +8 -6
- package/lib/typescript/module/menubar/Menubar.web.d.ts.map +1 -1
- package/lib/typescript/module/menubar/MenubarBase.d.ts +5 -0
- package/lib/typescript/module/menubar/MenubarBase.d.ts.map +1 -0
- package/lib/typescript/module/menubar/index.web.d.ts.map +1 -1
- package/lib/typescript/module/motion/index.web.d.ts +0 -5
- package/lib/typescript/module/motion/index.web.d.ts.map +1 -1
- package/lib/typescript/module/popover/index.web.d.ts.map +1 -1
- package/lib/typescript/module/popover/parts.d.ts.map +1 -1
- package/lib/typescript/module/popover/surface.d.ts +15 -5
- package/lib/typescript/module/popover/surface.d.ts.map +1 -1
- package/lib/typescript/module/portal/index.web.d.ts +1 -1
- package/lib/typescript/module/portal/index.web.d.ts.map +1 -1
- package/lib/typescript/module/progressive-blur/index.web.d.ts.map +1 -1
- package/lib/typescript/module/scroll/index.web.d.ts.map +1 -1
- package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/module/select/Select.d.ts +2 -4
- package/lib/typescript/module/select/Select.d.ts.map +1 -1
- package/lib/typescript/module/select/Select.web.d.ts +2 -4
- package/lib/typescript/module/select/Select.web.d.ts.map +1 -1
- package/lib/typescript/module/select/index.d.ts +2 -2
- package/lib/typescript/module/select/index.d.ts.map +1 -1
- package/lib/typescript/module/select/index.web.d.ts +2 -2
- package/lib/typescript/module/select/index.web.d.ts.map +1 -1
- package/lib/typescript/module/select/shared.d.ts +52 -5
- package/lib/typescript/module/select/shared.d.ts.map +1 -1
- package/lib/typescript/module/select/types.d.ts +6 -0
- package/lib/typescript/module/select/types.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/parts.d.ts +8 -2
- package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/module/surfaces/SurfaceHost.d.ts.map +1 -1
- package/lib/typescript/module/surfaces/index.web.d.ts +9 -4
- package/lib/typescript/module/surfaces/index.web.d.ts.map +1 -1
- package/lib/typescript/module/tab-bar/index.web.d.ts.map +1 -1
- package/lib/typescript/module/tabs/Tabs.d.ts.map +1 -1
- package/lib/typescript/module/tabs/types.d.ts +6 -0
- package/lib/typescript/module/tabs/types.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/index.web.d.ts.map +1 -1
- package/lib/typescript/module/theme/persistence.d.ts.map +1 -1
- package/lib/typescript/module/theme/seed-scope/index.web.d.ts.map +1 -1
- package/lib/typescript/module/tooltip/index.web.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/agent-chat/index.web.ts +5 -3
- package/src/ai-chat/index.web.ts +5 -2
- package/src/alert-dialog/index.web.ts +10 -1
- package/src/avatar-group/index.web.ts +5 -0
- package/src/bottom-sheet/index.web.ts +5 -0
- package/src/code/index.ts +2 -0
- package/src/command/index.web.ts +5 -0
- package/src/composer-loader/ComposerLoader.web.tsx +8 -0
- package/src/composer-loader/index.web.ts +5 -2
- package/src/composer-panel/index.web.ts +5 -3
- package/src/connection-dots/index.web.ts +5 -0
- package/src/connection-status/index.web.ts +5 -0
- package/src/content-panel/index.web.ts +5 -0
- package/src/context-menu/ContextMenu.web.tsx +26 -3
- package/src/context-menu/context.ts +3 -0
- package/src/context-menu/index.web.ts +5 -0
- package/src/dialog/Dialog.web.tsx +13 -0
- package/src/dialog/index.web.ts +7 -11
- package/src/dropdown-menu/DropdownMenu.web.tsx +25 -2
- package/src/dropdown-menu/index.web.ts +5 -0
- package/src/floating/FloatingPanel.tsx +37 -38
- package/src/floating/escape-stack.ts +92 -0
- package/src/floating/menu-keyboard.ts +242 -0
- package/src/floating/menu-sub-flyout.tsx +22 -17
- package/src/floating/types.ts +11 -0
- package/src/fonts/index.web.ts +5 -20
- package/src/frosted-icon-button/FrostedIconButton.web.tsx +9 -0
- package/src/frosted-icon-button/index.web.ts +5 -7
- package/src/hooks/roving-focus.ts +204 -0
- package/src/hover-card/index.web.ts +5 -0
- package/src/icons/remix/RiBookReadLine.tsx +6 -0
- package/src/icons/remix/RiBugLine.tsx +6 -0
- package/src/icons/remix/RiChat1Line.tsx +6 -0
- package/src/icons/remix/RiCloudLine.tsx +6 -0
- package/src/icons/remix/RiCodeLine.tsx +6 -0
- package/src/icons/remix/RiCpuLine.tsx +6 -0
- package/src/icons/remix/RiFloodLine.tsx +6 -0
- package/src/icons/remix/RiLockUnlockLine.tsx +6 -0
- package/src/icons/remix/RiMoneyDollarCircleLine.tsx +6 -0
- package/src/icons/remix/RiPlayCircleLine.tsx +6 -0
- package/src/icons/remix/RiRocket2Line.tsx +6 -0
- package/src/icons/remix/RiServerLine.tsx +6 -0
- package/src/icons/remix/RiShareBoxLine.tsx +6 -0
- package/src/icons/remix/RiTv2Line.tsx +6 -0
- package/src/icons/remix/index.ts +14 -0
- package/src/list/index.web.ts +5 -0
- package/src/loading/Loading.tsx +15 -135
- package/src/loading/Loading.web.tsx +16 -134
- package/src/loading/LoadingBase.tsx +170 -0
- package/src/loading/index.web.ts +5 -13
- package/src/media-flight/index.web.ts +5 -9
- package/src/menubar/Menubar.tsx +16 -147
- package/src/menubar/Menubar.web.tsx +15 -138
- package/src/menubar/MenubarBase.tsx +170 -0
- package/src/menubar/index.web.ts +5 -0
- package/src/motion/index.web.ts +5 -5
- package/src/popover/index.web.ts +5 -0
- package/src/popover/parts.tsx +76 -12
- package/src/popover/surface.ts +68 -15
- package/src/portal/index.web.ts +6 -1
- package/src/progressive-blur/index.web.ts +5 -0
- package/src/scroll/index.web.ts +5 -0
- package/src/segmented-control/SegmentedControl.tsx +45 -1
- package/src/select/Select.tsx +4 -67
- package/src/select/Select.web.tsx +133 -69
- package/src/select/index.ts +3 -3
- package/src/select/index.web.ts +8 -3
- package/src/select/shared.tsx +107 -5
- package/src/select/types.ts +6 -0
- package/src/sidebar/SidebarTeamMenu.tsx +2 -2
- package/src/sidebar/SidebarUserMenu.tsx +2 -2
- package/src/sidebar/parts.tsx +8 -9
- package/src/surfaces/SurfaceHost.tsx +6 -0
- package/src/surfaces/index.web.ts +14 -4
- package/src/tab-bar/index.web.ts +13 -10
- package/src/tabs/Tabs.tsx +65 -1
- package/src/tabs/types.ts +6 -0
- package/src/theme/color-scope/index.web.ts +5 -0
- package/src/theme/persistence.ts +11 -1
- package/src/theme/seed-scope/index.web.ts +5 -0
- package/src/tooltip/index.web.ts +5 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Everything `Loading` does that is the SAME on both platforms.
|
|
5
|
+
*
|
|
6
|
+
* The family forks for one reason: the `top` variant's motion. Native drives
|
|
7
|
+
* it with react-native-reanimated, whose worklets Babel plugin has no web
|
|
8
|
+
* equivalent — a static import of it breaks every web bundler, Vite, webpack
|
|
9
|
+
* and Metro-web alike — so web drives the same motion with CSS transitions.
|
|
10
|
+
* That is the whole of the difference. The `spinner` and `inline` variants,
|
|
11
|
+
* the size table, the variant dispatch and the stylesheet were byte-identical
|
|
12
|
+
* copies in both forks.
|
|
13
|
+
*
|
|
14
|
+
* So the two platform pieces are INJECTED rather than imported: `SpinnerIcon`
|
|
15
|
+
* (itself forked) and `TopLoading`. `bindLoading` is called once at module
|
|
16
|
+
* scope by each fork, never per render, so the component identities are
|
|
17
|
+
* stable — the same discipline as `bindAgentChat` and `bindAiChat`.
|
|
18
|
+
*
|
|
19
|
+
* NEUTRAL by construction: nothing this module reaches is platform-forked, so
|
|
20
|
+
* it resolves the same way in Metro, Vite, webpack, SSR and jest. (jest
|
|
21
|
+
* resolves no platform extensions at all, so logic that moved into a
|
|
22
|
+
* `.native.*` file would lose its coverage in silence.)
|
|
23
|
+
*/
|
|
24
|
+
import { normalizeBloomSize } from "../appearance/legacy.js";
|
|
25
|
+
import { resolveBloomColors } from "../appearance/colors.js";
|
|
26
|
+
import { useBloomAppearance } from "../appearance/index.js";
|
|
27
|
+
import React, { memo } from 'react';
|
|
28
|
+
import { View, Text, StyleSheet } from 'react-native';
|
|
29
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
30
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
|
+
/** Spinner diameter and label size per `size` token. Read by all three variants. */
|
|
32
|
+
export const SIZE_CONFIG = {
|
|
33
|
+
xs: {
|
|
34
|
+
spinner: 16,
|
|
35
|
+
text: 12
|
|
36
|
+
},
|
|
37
|
+
sm: {
|
|
38
|
+
spinner: 20,
|
|
39
|
+
text: 13
|
|
40
|
+
},
|
|
41
|
+
md: {
|
|
42
|
+
spinner: 24,
|
|
43
|
+
text: 15
|
|
44
|
+
},
|
|
45
|
+
lg: {
|
|
46
|
+
spinner: 44,
|
|
47
|
+
text: 16
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** The two platform pieces a fork supplies. */
|
|
52
|
+
|
|
53
|
+
export function bindLoading({
|
|
54
|
+
SpinnerIcon,
|
|
55
|
+
TopLoading
|
|
56
|
+
}) {
|
|
57
|
+
const SpinnerLoading = ({
|
|
58
|
+
size: sizeProp,
|
|
59
|
+
color,
|
|
60
|
+
tone: toneProp,
|
|
61
|
+
className,
|
|
62
|
+
text,
|
|
63
|
+
textStyle,
|
|
64
|
+
style,
|
|
65
|
+
showText = true,
|
|
66
|
+
iconSize,
|
|
67
|
+
spinnerIcon,
|
|
68
|
+
testID
|
|
69
|
+
}) => {
|
|
70
|
+
const theme = useTheme();
|
|
71
|
+
const {
|
|
72
|
+
size,
|
|
73
|
+
tone
|
|
74
|
+
} = useBloomAppearance({
|
|
75
|
+
size: normalizeBloomSize(sizeProp),
|
|
76
|
+
tone: toneProp
|
|
77
|
+
}, {
|
|
78
|
+
size: 'md',
|
|
79
|
+
tone: 'accent'
|
|
80
|
+
});
|
|
81
|
+
const sizeConfig = SIZE_CONFIG[size];
|
|
82
|
+
const effectiveIconSize = iconSize ?? sizeConfig.spinner;
|
|
83
|
+
const spinnerColor = className ? 'currentColor' : color ?? resolveBloomColors(theme.colors, tone, 'solid').background;
|
|
84
|
+
const textColor = color ?? theme.colors.textSecondary;
|
|
85
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
86
|
+
style: [styles.container, style],
|
|
87
|
+
testID: testID,
|
|
88
|
+
children: [spinnerIcon ?? /*#__PURE__*/_jsx(SpinnerIcon, {
|
|
89
|
+
size: effectiveIconSize,
|
|
90
|
+
color: spinnerColor,
|
|
91
|
+
className: className
|
|
92
|
+
}), showText && text && /*#__PURE__*/_jsx(Text, {
|
|
93
|
+
style: [styles.text, {
|
|
94
|
+
color: textColor,
|
|
95
|
+
fontSize: sizeConfig.text,
|
|
96
|
+
marginTop: 8
|
|
97
|
+
}, textStyle],
|
|
98
|
+
children: text
|
|
99
|
+
})]
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
const InlineLoading = ({
|
|
103
|
+
size: sizeProp,
|
|
104
|
+
color,
|
|
105
|
+
tone: toneProp,
|
|
106
|
+
text,
|
|
107
|
+
style,
|
|
108
|
+
textStyle,
|
|
109
|
+
spinnerIcon,
|
|
110
|
+
testID
|
|
111
|
+
}) => {
|
|
112
|
+
const theme = useTheme();
|
|
113
|
+
const {
|
|
114
|
+
size,
|
|
115
|
+
tone
|
|
116
|
+
} = useBloomAppearance({
|
|
117
|
+
size: normalizeBloomSize(sizeProp),
|
|
118
|
+
tone: toneProp
|
|
119
|
+
}, {
|
|
120
|
+
size: 'md',
|
|
121
|
+
tone: 'accent'
|
|
122
|
+
});
|
|
123
|
+
const sizeConfig = SIZE_CONFIG[size];
|
|
124
|
+
const spinnerColor = color ?? resolveBloomColors(theme.colors, tone, 'solid').background;
|
|
125
|
+
const textColor = theme.colors.textSecondary;
|
|
126
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
127
|
+
style: [styles.inlineContainer, style],
|
|
128
|
+
testID: testID,
|
|
129
|
+
children: [spinnerIcon ?? /*#__PURE__*/_jsx(SpinnerIcon, {
|
|
130
|
+
size: sizeConfig.spinner,
|
|
131
|
+
color: spinnerColor
|
|
132
|
+
}), text && /*#__PURE__*/_jsx(Text, {
|
|
133
|
+
style: [{
|
|
134
|
+
color: textColor,
|
|
135
|
+
fontSize: sizeConfig.text,
|
|
136
|
+
marginLeft: 8
|
|
137
|
+
}, textStyle],
|
|
138
|
+
children: text
|
|
139
|
+
})]
|
|
140
|
+
});
|
|
141
|
+
};
|
|
142
|
+
const LoadingComponent = props => {
|
|
143
|
+
const variant = props.variant ?? 'spinner';
|
|
144
|
+
switch (variant) {
|
|
145
|
+
case 'top':
|
|
146
|
+
return /*#__PURE__*/_jsx(TopLoading, {
|
|
147
|
+
...props
|
|
148
|
+
});
|
|
149
|
+
case 'inline':
|
|
150
|
+
return /*#__PURE__*/_jsx(InlineLoading, {
|
|
151
|
+
...props
|
|
152
|
+
});
|
|
153
|
+
case 'spinner':
|
|
154
|
+
default:
|
|
155
|
+
return /*#__PURE__*/_jsx(SpinnerLoading, {
|
|
156
|
+
...props
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
const Loading = /*#__PURE__*/memo(LoadingComponent);
|
|
161
|
+
Loading.displayName = 'Loading';
|
|
162
|
+
return {
|
|
163
|
+
Loading
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
export const styles = StyleSheet.create({
|
|
167
|
+
container: {
|
|
168
|
+
alignItems: 'center',
|
|
169
|
+
justifyContent: 'center',
|
|
170
|
+
padding: 16
|
|
171
|
+
},
|
|
172
|
+
text: {
|
|
173
|
+
textAlign: 'center'
|
|
174
|
+
},
|
|
175
|
+
topContainer: {
|
|
176
|
+
width: '100%',
|
|
177
|
+
position: 'relative',
|
|
178
|
+
overflow: 'hidden'
|
|
179
|
+
},
|
|
180
|
+
topLoadingView: {
|
|
181
|
+
width: '100%',
|
|
182
|
+
alignItems: 'center',
|
|
183
|
+
justifyContent: 'center',
|
|
184
|
+
position: 'absolute',
|
|
185
|
+
top: 0,
|
|
186
|
+
left: 0
|
|
187
|
+
},
|
|
188
|
+
inlineContainer: {
|
|
189
|
+
flexDirection: 'row',
|
|
190
|
+
alignItems: 'center',
|
|
191
|
+
justifyContent: 'center'
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
//# sourceMappingURL=LoadingBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["normalizeBloomSize","resolveBloomColors","useBloomAppearance","React","memo","View","Text","StyleSheet","useTheme","jsx","_jsx","jsxs","_jsxs","SIZE_CONFIG","xs","spinner","text","sm","md","lg","bindLoading","SpinnerIcon","TopLoading","SpinnerLoading","size","sizeProp","color","tone","toneProp","className","textStyle","style","showText","iconSize","spinnerIcon","testID","theme","sizeConfig","effectiveIconSize","spinnerColor","colors","background","textColor","textSecondary","styles","container","children","fontSize","marginTop","InlineLoading","inlineContainer","marginLeft","LoadingComponent","props","variant","Loading","displayName","create","alignItems","justifyContent","padding","textAlign","topContainer","width","position","overflow","topLoadingView","top","left","flexDirection"],"sourceRoot":"../../../src","sources":["loading/LoadingBase.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,kBAAkB,QAAQ,yBAAsB;AACzD,SAASC,kBAAkB,QAAQ,yBAAsB;AACzD,SAASC,kBAAkB,QAAQ,wBAAe;AAClD,OAAOC,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAErD,SAASC,QAAQ,QA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pBC,cAAc,EAAE,QAAQ;IACxBC,OAAO,EAAE;EACX,CAAC;EACD5C,IAAI,EAAE;IACJ6C,SAAS,EAAE;EACb,CAAC;EACDC,YAAY,EAAE;IACZC,KAAK,EAAE,MAAM;IACbC,QAAQ,EAAE,UAAU;IACpBC,QAAQ,EAAE;EACZ,CAAC;EACDC,cAAc,EAAE;IACdH,KAAK,EAAE,MAAM;IACbL,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBK,QAAQ,EAAE,UAAU;IACpBG,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE;EACR,CAAC;EACDlB,eAAe,EAAE;IACfmB,aAAa,EAAE,KAAK;IACpBX,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
// is native-only and importing it statically breaks every web bundler (Vite,
|
|
9
|
-
// webpack, Metro-web). The web forks (`./Loading.web`, `./SpinnerIcon.web`)
|
|
10
|
-
// render the same components with CSS keyframes/transitions and no native deps.
|
|
11
|
-
//
|
|
12
|
-
// Web bundlers select this file via the `"browser"` export condition in
|
|
13
|
-
// `package.json`'s `exports['./loading']`; native bundlers fall through to the
|
|
14
|
-
// React Native build above. Types are platform-agnostic, so they come straight
|
|
15
|
-
// from `./types`.
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
|
|
4
|
+
// Source of truth: src/loading/index.ts.
|
|
5
|
+
// Re-run `bun run generate:exports` (or any `bun run build`) after
|
|
6
|
+
// changing that barrel or the set of web-forked subpaths.
|
|
7
|
+
|
|
16
8
|
export { Loading } from "./Loading.web.js";
|
|
17
9
|
export { SpinnerIcon } from "./SpinnerIcon.web.js";
|
|
18
10
|
//# sourceMappingURL=index.web.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Loading","SpinnerIcon"],"sourceRoot":"../../../src","sources":["loading/index.web.ts"],"mappings":";;AAAA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["Loading","SpinnerIcon"],"sourceRoot":"../../../src","sources":["loading/index.web.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,QAAQ,kBAAe;AACvC,SAASC,WAAW,QAAQ,sBAAmB","ignoreList":[]}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* only because this file spells them out. Those two are the whole web fork of
|
|
9
|
-
* this family: the layer that paints each shared media node once, and the host
|
|
10
|
-
* that claims it. Everything else below is the same module on both platforms.
|
|
11
|
-
*/
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
|
|
4
|
+
// Source of truth: src/media-flight/index.ts.
|
|
5
|
+
// Re-run `bun run generate:exports` (or any `bun run build`) after
|
|
6
|
+
// changing that barrel or the set of web-forked subpaths.
|
|
7
|
+
|
|
12
8
|
export { MediaFlightLayer } from "./MediaFlightLayer.web.js";
|
|
13
9
|
export { MediaFlightHost } from "./MediaFlightHost.web.js";
|
|
14
10
|
export { MediaSurface, MediaPoster, EmptyMediaSurface } from "./MediaSurface.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MediaFlightLayer","MediaFlightHost","MediaSurface","MediaPoster","EmptyMediaSurface","useMediaFlight","DEFAULT_FLIGHT_CORNER_RADIUS","flightProgress","handOffFlight","hasFlight","releaseFlight","resetMediaFlight","SURFACE_MOUNT_TIMEOUT_MS","loadExpoVideo","warnExpoVideoUnavailable","provideExpoVideo","resetExpoVideoModule"],"sourceRoot":"../../../src","sources":["media-flight/index.web.ts"],"mappings":";;AAAA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["MediaFlightLayer","MediaFlightHost","MediaSurface","MediaPoster","EmptyMediaSurface","useMediaFlight","DEFAULT_FLIGHT_CORNER_RADIUS","flightProgress","handOffFlight","hasFlight","releaseFlight","resetMediaFlight","SURFACE_MOUNT_TIMEOUT_MS","loadExpoVideo","warnExpoVideoUnavailable","provideExpoVideo","resetExpoVideoModule"],"sourceRoot":"../../../src","sources":["media-flight/index.web.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,SAASA,gBAAgB,QAAQ,2BAAwB;AACzD,SAASC,eAAe,QAAQ,0BAAuB;AACvD,SAASC,YAAY,EAAEC,WAAW,EAAEC,iBAAiB,QAAQ,mBAAgB;AAC7E,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SACEC,4BAA4B,EAC5BC,cAAc,EACdC,aAAa,EACbC,SAAS,EACTC,aAAa,EACbC,gBAAgB,QACX,YAAS;AAChB,SAASC,wBAAwB,QAAQ,gBAAa;AACtD,SACEC,aAAa,EACbC,wBAAwB,EACxBC,gBAAgB,EAChBC,oBAAoB,QAMf,wBAAqB","ignoreList":[]}
|
|
@@ -1,136 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* `Menubar` — NATIVE
|
|
5
|
-
* `
|
|
4
|
+
* `Menubar` — NATIVE: each menu opens the same bottom sheet `DropdownMenu` and
|
|
5
|
+
* `ContextMenu` present, because a phone has no room to hang a panel beside a
|
|
6
|
+
* control and every Bloom overlay resolving to one sheet is what makes the
|
|
7
|
+
* native surfaces feel like one system.
|
|
6
8
|
*
|
|
7
|
-
* The
|
|
8
|
-
* `
|
|
9
|
-
*
|
|
9
|
+
* The bar, the per-menu state and the trigger are identical on both platforms
|
|
10
|
+
* and live in `MenubarBase`. What forks is this file: the surface a menu opens
|
|
11
|
+
* into, and which sub-menu the rows get — INLINE on native, because a flyout
|
|
12
|
+
* needs a pointer.
|
|
13
|
+
*
|
|
14
|
+
* Bloom had no menu bar before this family; its rows are `floating/menu-rows`,
|
|
15
|
+
* published here under the `Menubar*` names so a call site keeps every part it
|
|
16
|
+
* wrote.
|
|
10
17
|
*/
|
|
11
|
-
import React, { useMemo
|
|
18
|
+
import React, { useMemo } from 'react';
|
|
12
19
|
import { SheetShell } from "../dialog/SheetShell.js";
|
|
13
|
-
import { MENUBAR_CLASS, MENUBAR_TRIGGER_CLASS, MENUBAR_TRIGGER_OPEN_CLASS, MENUBAR_TRIGGER_TEXT_CLASS, MENU_TRIGGER_POPUP } from "../floating/constants.js";
|
|
14
20
|
import { MenuSurfaceProvider } from "../floating/context.js";
|
|
15
21
|
import { createMenuRows } from "../floating/menu-rows.js";
|
|
16
22
|
import { createInlineMenuSub } from "../floating/menu-sub-inline.js";
|
|
17
|
-
import { cx } from "../floating/shared.js";
|
|
18
|
-
import { TriggerSlot } from "../floating/TriggerSlot.js";
|
|
19
23
|
import { useSheetOpenBridge } from "../floating/use-sheet-open-bridge.js";
|
|
20
|
-
import {
|
|
21
|
-
import { StyledText, StyledView } from "../styles/styled-primitives.js";
|
|
22
|
-
import { useMenuPalette } from "../floating/menu-palette.js";
|
|
23
|
-
import { menuType } from "../floating/menu-type.js";
|
|
24
|
-
import { MenubarMenuProvider, MenubarProvider, useMenubar, useMenubarMenu } from "./context.js";
|
|
24
|
+
import { useMenubarMenu } from "./context.js";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
|
-
export
|
|
27
|
-
children,
|
|
28
|
-
value,
|
|
29
|
-
defaultValue,
|
|
30
|
-
onValueChange,
|
|
31
|
-
label = 'Menu bar',
|
|
32
|
-
className,
|
|
33
|
-
style,
|
|
34
|
-
testID
|
|
35
|
-
}) {
|
|
36
|
-
const [openValue, setValue] = useControllableState({
|
|
37
|
-
value,
|
|
38
|
-
defaultValue,
|
|
39
|
-
onChange: onValueChange
|
|
40
|
-
});
|
|
41
|
-
const context = useMemo(() => ({
|
|
42
|
-
value: openValue,
|
|
43
|
-
setValue
|
|
44
|
-
}), [openValue, setValue]);
|
|
45
|
-
const palette = useMenuPalette();
|
|
46
|
-
const barPaint = {
|
|
47
|
-
backgroundColor: palette.trigger.background,
|
|
48
|
-
borderColor: palette.trigger.border,
|
|
49
|
-
boxShadow: palette.trigger.shadow
|
|
50
|
-
};
|
|
51
|
-
return /*#__PURE__*/_jsx(MenubarProvider, {
|
|
52
|
-
value: context,
|
|
53
|
-
children: /*#__PURE__*/_jsx(StyledView, {
|
|
54
|
-
role: "menubar",
|
|
55
|
-
"aria-label": label,
|
|
56
|
-
testID: testID,
|
|
57
|
-
className: cx(MENUBAR_CLASS, className)
|
|
58
|
-
// `shadow-s` reaches WEB through the class; NATIVE takes the same role as
|
|
59
|
-
// an inline style, because `design-tokens/shadows` is platform-forked and
|
|
60
|
-
// its own contract is that a multi-layer `box-shadow` is not something to
|
|
61
|
-
// rely on NativeWind translating to RN elevation. On web the two agree, so
|
|
62
|
-
// whichever wins paints the same thing.
|
|
63
|
-
,
|
|
64
|
-
style: [barPaint, style],
|
|
65
|
-
children: children
|
|
66
|
-
})
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
export function MenubarMenu({
|
|
70
|
-
children,
|
|
71
|
-
value
|
|
72
|
-
}) {
|
|
73
|
-
const bar = useMenubar();
|
|
74
|
-
const anchorRef = useRef(null);
|
|
75
|
-
const {
|
|
76
|
-
setValue
|
|
77
|
-
} = bar;
|
|
78
|
-
const context = useMemo(() => ({
|
|
79
|
-
open: bar.value === value,
|
|
80
|
-
setOpen: next => setValue(next ? value : undefined),
|
|
81
|
-
anchorRef
|
|
82
|
-
}), [bar.value, value, setValue]);
|
|
83
|
-
return /*#__PURE__*/_jsx(MenubarMenuProvider, {
|
|
84
|
-
value: context,
|
|
85
|
-
children: children
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
export function MenubarTrigger({
|
|
89
|
-
children,
|
|
90
|
-
asChild,
|
|
91
|
-
disabled,
|
|
92
|
-
label,
|
|
93
|
-
className,
|
|
94
|
-
style,
|
|
95
|
-
testID
|
|
96
|
-
}) {
|
|
97
|
-
const menu = useMenubarMenu();
|
|
98
|
-
const palette = useMenuPalette();
|
|
99
|
-
|
|
100
|
-
// `flex items-center rounded-md px-2 py-1.5`, plus `bg-accent` while its menu
|
|
101
|
-
// is open and `text-sm font-medium` for the label — the same chrome the web
|
|
102
|
-
// fork draws, so the bar reads identically on both platforms.
|
|
103
|
-
const trigger = /*#__PURE__*/_jsx(StyledView, {
|
|
104
|
-
className: cx(MENUBAR_TRIGGER_CLASS, menu.open && MENUBAR_TRIGGER_OPEN_CLASS, className),
|
|
105
|
-
style: {
|
|
106
|
-
backgroundColor: menu.open ? palette.rowHighlight : 'transparent'
|
|
107
|
-
},
|
|
108
|
-
children: typeof children === 'string' ? /*#__PURE__*/_jsx(StyledText, {
|
|
109
|
-
className: MENUBAR_TRIGGER_TEXT_CLASS
|
|
110
|
-
// `text-body-medium text-text-primary`, in Inter.
|
|
111
|
-
,
|
|
112
|
-
style: [menuType('body-medium'), {
|
|
113
|
-
color: palette.text
|
|
114
|
-
}],
|
|
115
|
-
children: children
|
|
116
|
-
}) : children
|
|
117
|
-
});
|
|
118
|
-
return /*#__PURE__*/_jsx(TriggerSlot, {
|
|
119
|
-
asChild: asChild,
|
|
120
|
-
anchorRef: menu.anchorRef,
|
|
121
|
-
style: style,
|
|
122
|
-
testID: testID,
|
|
123
|
-
handle: {
|
|
124
|
-
onPress: () => menu.setOpen(!menu.open),
|
|
125
|
-
disabled,
|
|
126
|
-
accessibilityLabel: label,
|
|
127
|
-
accessibilityRole: 'button',
|
|
128
|
-
'aria-haspopup': MENU_TRIGGER_POPUP,
|
|
129
|
-
'aria-expanded': menu.open
|
|
130
|
-
},
|
|
131
|
-
children: asChild ? children : trigger
|
|
132
|
-
});
|
|
133
|
-
}
|
|
26
|
+
export { Menubar, MenubarMenu, MenubarTrigger } from "./MenubarBase.js";
|
|
134
27
|
export function MenubarContent({
|
|
135
28
|
children,
|
|
136
29
|
label = 'Menu',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","
|
|
1
|
+
{"version":3,"names":["React","useMemo","SheetShell","MenuSurfaceProvider","createMenuRows","createInlineMenuSub","useSheetOpenBridge","useMenubarMenu","jsx","_jsx","Menubar","MenubarMenu","MenubarTrigger","MenubarContent","children","label","style","menu","control","onSheetClose","open","setOpen","surface","close","presentation","onClose","contentStyle","value","rows","MenubarItem","Item","MenubarCheckboxItem","CheckboxItem","MenubarRadioGroup","RadioGroup","MenubarRadioItem","RadioItem","MenubarLabel","Label","MenubarSeparator","Separator","MenubarShortcut","Shortcut","MenubarGroup","Group","MenubarSub","Sub","MenubarSubTrigger","SubTrigger","MenubarSubContent","SubContent"],"sourceRoot":"../../../src","sources":["menubar/Menubar.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAEtC,SAASC,UAAU,QAAQ,yBAAsB;AACjD,SAASC,mBAAmB,QAAsC,wBAAqB;AACvF,SAASC,cAAc,QAAQ,0BAAuB;AACtD,SAASC,mBAAmB,QAAQ,gCAA6B;AACjE,SAASC,kBAAkB,QAAQ,sCAAmC;AACtE,SAASC,cAAc,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG3C,SAASC,OAAO,EAAEC,WAAW,EAAEC,cAAc,QAAQ,kBAAe;AAEpE,OAAO,SAASC,cAAcA,CAAC;EAAEC,QAAQ;EAAEC,KAAK,GAAG,MAAM;EAAEC;AAA2B,CAAC,EAAE;EACvF,MAAMC,IAAI,GAAGV,cAAc,CAAC,CAAC;EAC7B,MAAM;IAAEW,OAAO;IAAEC;EAAa,CAAC,GAAGb,kBAAkB,CAACW,IAAI,CAACG,IAAI,EAAEH,IAAI,CAACI,OAAO,CAAC;EAC7E,MAAMC,OAAO,GAAGr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is an anchored panel from `floating/FloatingPanel`
|
|
5
|
+
* rather than a sheet.
|
|
6
|
+
*
|
|
7
|
+
* The bar, the per-menu state and the trigger are identical on both platforms
|
|
8
|
+
* and live in `MenubarBase`. What forks is this file: the surface a menu opens
|
|
9
|
+
* into, and which sub-menu the rows get — a FLYOUT here, which needs a pointer.
|
|
6
10
|
*
|
|
7
11
|
* `align="start"` and the trigger's own width as `minWidth` are what make a
|
|
8
12
|
* menubar menu hang under its trigger the way a desktop menu bar does, rather
|
|
9
13
|
* than centring like a popover.
|
|
10
14
|
*/
|
|
11
|
-
import React, { useCallback, useMemo,
|
|
12
|
-
import { MENUBAR_ALIGN_OFFSET,
|
|
15
|
+
import React, { useCallback, useMemo, useState } from 'react';
|
|
16
|
+
import { MENUBAR_ALIGN_OFFSET, MENUBAR_MENU_MIN_WIDTH_CLASS, MENUBAR_SIDE_OFFSET } from "../floating/constants.js";
|
|
13
17
|
import { MenuSurfaceProvider } from "../floating/context.js";
|
|
14
18
|
import { FloatingPanel } from "../floating/FloatingPanel.js";
|
|
19
|
+
import { hostElement, useMenuPanelKeys } from "../floating/menu-keyboard.js";
|
|
15
20
|
import { createMenuRows } from "../floating/menu-rows.js";
|
|
16
21
|
import { createFlyoutMenuSub } from "../floating/menu-sub-flyout.js";
|
|
17
22
|
import { cx } from "../floating/shared.js";
|
|
18
|
-
import { TriggerSlot } from "../floating/TriggerSlot.js";
|
|
19
23
|
import { useAnchorRect } from "../floating/use-anchor-rect.js";
|
|
20
|
-
import {
|
|
21
|
-
import { StyledText, StyledView } from "../styles/styled-primitives.js";
|
|
22
|
-
import { useMenuPalette } from "../floating/menu-palette.js";
|
|
23
|
-
import { menuType } from "../floating/menu-type.js";
|
|
24
|
-
import { MenubarMenuProvider, MenubarProvider, useMenubar, useMenubarMenu } from "./context.js";
|
|
24
|
+
import { useMenubarMenu } from "./context.js";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
|
-
export
|
|
27
|
-
children,
|
|
28
|
-
value,
|
|
29
|
-
defaultValue,
|
|
30
|
-
onValueChange,
|
|
31
|
-
label = 'Menu bar',
|
|
32
|
-
className,
|
|
33
|
-
style,
|
|
34
|
-
testID
|
|
35
|
-
}) {
|
|
36
|
-
const [openValue, setValue] = useControllableState({
|
|
37
|
-
value,
|
|
38
|
-
defaultValue,
|
|
39
|
-
onChange: onValueChange
|
|
40
|
-
});
|
|
41
|
-
const context = useMemo(() => ({
|
|
42
|
-
value: openValue,
|
|
43
|
-
setValue
|
|
44
|
-
}), [openValue, setValue]);
|
|
45
|
-
const palette = useMenuPalette();
|
|
46
|
-
const barPaint = {
|
|
47
|
-
backgroundColor: palette.trigger.background,
|
|
48
|
-
borderColor: palette.trigger.border,
|
|
49
|
-
boxShadow: palette.trigger.shadow
|
|
50
|
-
};
|
|
51
|
-
return /*#__PURE__*/_jsx(MenubarProvider, {
|
|
52
|
-
value: context,
|
|
53
|
-
children: /*#__PURE__*/_jsx(StyledView, {
|
|
54
|
-
role: "menubar",
|
|
55
|
-
"aria-label": label,
|
|
56
|
-
testID: testID,
|
|
57
|
-
className: cx(MENUBAR_CLASS, className),
|
|
58
|
-
style: [barPaint, style],
|
|
59
|
-
children: children
|
|
60
|
-
})
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
export function MenubarMenu({
|
|
64
|
-
children,
|
|
65
|
-
value
|
|
66
|
-
}) {
|
|
67
|
-
const bar = useMenubar();
|
|
68
|
-
const anchorRef = useRef(null);
|
|
69
|
-
const {
|
|
70
|
-
setValue
|
|
71
|
-
} = bar;
|
|
72
|
-
const context = useMemo(() => ({
|
|
73
|
-
open: bar.value === value,
|
|
74
|
-
setOpen: next => setValue(next ? value : undefined),
|
|
75
|
-
anchorRef
|
|
76
|
-
}), [bar.value, value, setValue]);
|
|
77
|
-
return /*#__PURE__*/_jsx(MenubarMenuProvider, {
|
|
78
|
-
value: context,
|
|
79
|
-
children: children
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
export function MenubarTrigger({
|
|
83
|
-
children,
|
|
84
|
-
asChild,
|
|
85
|
-
disabled,
|
|
86
|
-
label,
|
|
87
|
-
className,
|
|
88
|
-
style,
|
|
89
|
-
testID
|
|
90
|
-
}) {
|
|
91
|
-
const menu = useMenubarMenu();
|
|
92
|
-
const palette = useMenuPalette();
|
|
93
|
-
|
|
94
|
-
// `flex items-center rounded-md px-2 py-1.5`, plus `bg-accent` while its menu
|
|
95
|
-
// is open, and `text-sm font-medium` for the label. A menubar trigger is a
|
|
96
|
-
// BUTTON with chrome of its own, not a bare hit box — leaving it unstyled is
|
|
97
|
-
// why a Bloom menubar read as loose text against a pill-per-menu bar.
|
|
98
|
-
// `asChild` still hands the whole thing to the caller.
|
|
99
|
-
const trigger = /*#__PURE__*/_jsx(StyledView, {
|
|
100
|
-
className: cx(MENUBAR_TRIGGER_CLASS, menu.open && MENUBAR_TRIGGER_OPEN_CLASS, className),
|
|
101
|
-
style: {
|
|
102
|
-
backgroundColor: menu.open ? palette.rowHighlight : 'transparent'
|
|
103
|
-
},
|
|
104
|
-
children: typeof children === 'string' ? /*#__PURE__*/_jsx(StyledText, {
|
|
105
|
-
className: MENUBAR_TRIGGER_TEXT_CLASS
|
|
106
|
-
// `text-body-medium text-text-primary`, in Inter.
|
|
107
|
-
,
|
|
108
|
-
style: [menuType('body-medium'), {
|
|
109
|
-
color: palette.text
|
|
110
|
-
}],
|
|
111
|
-
children: children
|
|
112
|
-
}) : children
|
|
113
|
-
});
|
|
114
|
-
return /*#__PURE__*/_jsx(TriggerSlot, {
|
|
115
|
-
asChild: asChild,
|
|
116
|
-
anchorRef: menu.anchorRef,
|
|
117
|
-
style: style,
|
|
118
|
-
testID: testID,
|
|
119
|
-
handle: {
|
|
120
|
-
onPress: () => menu.setOpen(!menu.open),
|
|
121
|
-
disabled,
|
|
122
|
-
accessibilityLabel: label,
|
|
123
|
-
accessibilityRole: 'button',
|
|
124
|
-
'aria-haspopup': MENU_TRIGGER_POPUP,
|
|
125
|
-
'aria-expanded': menu.open
|
|
126
|
-
},
|
|
127
|
-
children: asChild ? children : trigger
|
|
128
|
-
});
|
|
129
|
-
}
|
|
26
|
+
export { Menubar, MenubarMenu, MenubarTrigger } from "./MenubarBase.js";
|
|
130
27
|
export function MenubarContent({
|
|
131
28
|
children,
|
|
132
29
|
label = 'Menu',
|
|
@@ -151,7 +48,14 @@ export function MenubarContent({
|
|
|
151
48
|
close,
|
|
152
49
|
presentation: 'dropdown'
|
|
153
50
|
}), [close]);
|
|
51
|
+
const [panel, setPanel] = useState(null);
|
|
52
|
+
useMenuPanelKeys(hostElement(panel), {
|
|
53
|
+
open: menu.open,
|
|
54
|
+
onTab: close,
|
|
55
|
+
intent: menu.focusIntent
|
|
56
|
+
});
|
|
154
57
|
return /*#__PURE__*/_jsx(FloatingPanel, {
|
|
58
|
+
panelRef: setPanel,
|
|
155
59
|
open: menu.open,
|
|
156
60
|
anchor: anchor,
|
|
157
61
|
role: "menu",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useMemo","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useState","MENUBAR_ALIGN_OFFSET","MENUBAR_MENU_MIN_WIDTH_CLASS","MENUBAR_SIDE_OFFSET","MenuSurfaceProvider","FloatingPanel","hostElement","useMenuPanelKeys","createMenuRows","createFlyoutMenuSub","cx","useAnchorRect","useMenubarMenu","jsx","_jsx","Menubar","MenubarMenu","MenubarTrigger","MenubarContent","children","label","side","align","sideOffset","alignOffset","dismissible","minWidth","maxWidth","className","style","testID","menu","anchor","anchorRef","open","close","setOpen","surface","presentation","panel","setPanel","onTab","intent","focusIntent","panelRef","role","modal","onDismiss","value","rows","MenubarItem","Item","MenubarCheckboxItem","CheckboxItem","MenubarRadioGroup","RadioGroup","MenubarRadioItem","RadioItem","MenubarLabel","Label","MenubarSeparator","Separator","MenubarShortcut","Shortcut","MenubarGroup","Group","MenubarSub","Sub","MenubarSubTrigger","SubTrigger","MenubarSubContent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