@oxy.so/bloom 4.24.1 → 4.25.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 +6 -6
- package/docs/ai-chat.mdx +1 -1
- package/docs/context-menu.mdx +2 -0
- package/lib/commonjs/ai-chat/AiChatContainer.js +60 -7
- package/lib/commonjs/ai-chat/AiChatContainer.js.map +1 -1
- package/lib/commonjs/ai-chat/use-panel-interaction.js +6 -1
- package/lib/commonjs/ai-chat/use-panel-interaction.js.map +1 -1
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js +6 -2
- package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/commonjs/bottom-sheet/context.js +29 -0
- package/lib/commonjs/bottom-sheet/context.js.map +1 -0
- package/lib/commonjs/composer-panel/ComposerPanelBase.js +32 -11
- package/lib/commonjs/composer-panel/ComposerPanelBase.js.map +1 -1
- package/lib/commonjs/composer-panel/ComposerPopover.js +13 -5
- package/lib/commonjs/composer-panel/ComposerPopover.js.map +1 -1
- package/lib/commonjs/composer-panel/ModelPickerBase.js +13 -2
- package/lib/commonjs/composer-panel/ModelPickerBase.js.map +1 -1
- package/lib/commonjs/context-menu/ContextMenu.js +10 -2
- package/lib/commonjs/context-menu/ContextMenu.js.map +1 -1
- package/lib/commonjs/dialog/DialogBottomSheet.js +27 -6
- package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/commonjs/floating/LongPressArea.js +107 -0
- package/lib/commonjs/floating/LongPressArea.js.map +1 -0
- package/lib/commonjs/settings-modal/SettingsModal.js +8 -1
- package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
- package/lib/commonjs/settings-modal/use-keyboard-reveal.js +76 -0
- package/lib/commonjs/settings-modal/use-keyboard-reveal.js.map +1 -0
- package/lib/commonjs/sidebar/SidebarItem.js +5 -1
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/ai-chat/AiChatContainer.js +60 -7
- package/lib/module/ai-chat/AiChatContainer.js.map +1 -1
- package/lib/module/ai-chat/use-panel-interaction.js +7 -2
- package/lib/module/ai-chat/use-panel-interaction.js.map +1 -1
- package/lib/module/bottom-sheet/BottomSheetBase.js +6 -2
- package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
- package/lib/module/bottom-sheet/context.js +25 -0
- package/lib/module/bottom-sheet/context.js.map +1 -0
- package/lib/module/composer-panel/ComposerPanelBase.js +33 -12
- package/lib/module/composer-panel/ComposerPanelBase.js.map +1 -1
- package/lib/module/composer-panel/ComposerPopover.js +13 -5
- package/lib/module/composer-panel/ComposerPopover.js.map +1 -1
- package/lib/module/composer-panel/ModelPickerBase.js +13 -2
- package/lib/module/composer-panel/ModelPickerBase.js.map +1 -1
- package/lib/module/context-menu/ContextMenu.js +10 -2
- package/lib/module/context-menu/ContextMenu.js.map +1 -1
- package/lib/module/dialog/DialogBottomSheet.js +25 -4
- package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/module/floating/LongPressArea.js +100 -0
- package/lib/module/floating/LongPressArea.js.map +1 -0
- package/lib/module/settings-modal/SettingsModal.js +8 -1
- package/lib/module/settings-modal/SettingsModal.js.map +1 -1
- package/lib/module/settings-modal/use-keyboard-reveal.js +72 -0
- package/lib/module/settings-modal/use-keyboard-reveal.js.map +1 -0
- package/lib/module/sidebar/SidebarItem.js +5 -1
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/typescript/commonjs/ai-chat/use-panel-interaction.d.ts +5 -1
- package/lib/typescript/commonjs/ai-chat/use-panel-interaction.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/bottom-sheet/context.d.ts +5 -0
- package/lib/typescript/commonjs/bottom-sheet/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/composer-panel/ComposerPanelBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-panel/ComposerPopover.d.ts.map +1 -1
- package/lib/typescript/commonjs/composer-panel/ModelPickerBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/context-menu/ContextMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/floating/LongPressArea.d.ts +34 -0
- package/lib/typescript/commonjs/floating/LongPressArea.d.ts.map +1 -0
- package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/use-keyboard-reveal.d.ts +21 -0
- package/lib/typescript/commonjs/settings-modal/use-keyboard-reveal.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/module/ai-chat/use-panel-interaction.d.ts +5 -1
- package/lib/typescript/module/ai-chat/use-panel-interaction.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
- package/lib/typescript/module/bottom-sheet/context.d.ts +5 -0
- package/lib/typescript/module/bottom-sheet/context.d.ts.map +1 -0
- package/lib/typescript/module/composer-panel/ComposerPanelBase.d.ts.map +1 -1
- package/lib/typescript/module/composer-panel/ComposerPopover.d.ts.map +1 -1
- package/lib/typescript/module/composer-panel/ModelPickerBase.d.ts.map +1 -1
- package/lib/typescript/module/context-menu/ContextMenu.d.ts.map +1 -1
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/floating/LongPressArea.d.ts +34 -0
- package/lib/typescript/module/floating/LongPressArea.d.ts.map +1 -0
- package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/use-keyboard-reveal.d.ts +21 -0
- package/lib/typescript/module/settings-modal/use-keyboard-reveal.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ai-chat/AiChatContainer.tsx +44 -5
- package/src/ai-chat/use-panel-interaction.ts +7 -2
- package/src/bottom-sheet/BottomSheetBase.tsx +4 -1
- package/src/bottom-sheet/context.ts +23 -0
- package/src/composer-panel/ComposerPanelBase.tsx +38 -13
- package/src/composer-panel/ComposerPopover.tsx +13 -5
- package/src/composer-panel/ModelPickerBase.tsx +11 -3
- package/src/context-menu/ContextMenu.tsx +7 -2
- package/src/dialog/DialogBottomSheet.tsx +16 -4
- package/src/floating/LongPressArea.tsx +114 -0
- package/src/settings-modal/SettingsModal.tsx +9 -2
- package/src/settings-modal/use-keyboard-reveal.ts +62 -0
- package/src/sidebar/SidebarItem.tsx +5 -1
|
@@ -67,7 +67,11 @@ const SidebarItemComponent: React.FC<SidebarItemProps> = ({
|
|
|
67
67
|
// Not clipped: the collapsed badge hangs off the square's top-end corner.
|
|
68
68
|
// The content clips itself instead, so the label can't spill mid-morph.
|
|
69
69
|
overflow: 'visible',
|
|
70
|
-
|
|
70
|
+
// Collapsed it is a square. Expanded it is at LEAST the square: at the
|
|
71
|
+
// default type scale the label's line fits exactly, and at the largest
|
|
72
|
+
// system font a fixed height clipped it top and bottom (Android 16).
|
|
73
|
+
height: collapsed ? metrics.row.square : undefined,
|
|
74
|
+
minHeight: metrics.row.square,
|
|
71
75
|
paddingLeft: metrics.row.padding,
|
|
72
76
|
paddingRight: metrics.row.padding,
|
|
73
77
|
paddingTop: metrics.row.padding,
|