@oxy.so/bloom 4.24.1 → 4.25.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.
Files changed (147) hide show
  1. package/docs/adoption-matrix.mdx +6 -6
  2. package/docs/ai-chat.mdx +1 -1
  3. package/docs/context-menu.mdx +2 -0
  4. package/lib/commonjs/ai-chat/AiChatCodePanel.js +2 -2
  5. package/lib/commonjs/ai-chat/AiChatCodePanel.js.map +1 -1
  6. package/lib/commonjs/ai-chat/AiChatContainer.js +60 -7
  7. package/lib/commonjs/ai-chat/AiChatContainer.js.map +1 -1
  8. package/lib/commonjs/ai-chat/AiChatShell.js +3 -3
  9. package/lib/commonjs/ai-chat/AiChatShell.js.map +1 -1
  10. package/lib/commonjs/ai-chat/use-panel-interaction.js +6 -1
  11. package/lib/commonjs/ai-chat/use-panel-interaction.js.map +1 -1
  12. package/lib/commonjs/bottom-sheet/BottomSheetBase.js +6 -2
  13. package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
  14. package/lib/commonjs/bottom-sheet/context.js +29 -0
  15. package/lib/commonjs/bottom-sheet/context.js.map +1 -0
  16. package/lib/commonjs/composer-panel/ComposerPanelBase.js +32 -11
  17. package/lib/commonjs/composer-panel/ComposerPanelBase.js.map +1 -1
  18. package/lib/commonjs/composer-panel/ComposerPanelStatusTab.js +2 -2
  19. package/lib/commonjs/composer-panel/ComposerPanelStatusTab.js.map +1 -1
  20. package/lib/commonjs/composer-panel/ComposerPillBase.js +3 -1
  21. package/lib/commonjs/composer-panel/ComposerPillBase.js.map +1 -1
  22. package/lib/commonjs/composer-panel/ComposerPopover.js +13 -5
  23. package/lib/commonjs/composer-panel/ComposerPopover.js.map +1 -1
  24. package/lib/commonjs/composer-panel/ComposerStatusBarBase.js +3 -3
  25. package/lib/commonjs/composer-panel/ComposerStatusBarBase.js.map +1 -1
  26. package/lib/commonjs/composer-panel/ModelPickerBase.js +16 -4
  27. package/lib/commonjs/composer-panel/ModelPickerBase.js.map +1 -1
  28. package/lib/commonjs/composer-panel/PermissionMenu.js +19 -3
  29. package/lib/commonjs/composer-panel/PermissionMenu.js.map +1 -1
  30. package/lib/commonjs/context-menu/ContextMenu.js +10 -2
  31. package/lib/commonjs/context-menu/ContextMenu.js.map +1 -1
  32. package/lib/commonjs/dialog/DialogBottomSheet.js +27 -6
  33. package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
  34. package/lib/commonjs/floating/LongPressArea.js +107 -0
  35. package/lib/commonjs/floating/LongPressArea.js.map +1 -0
  36. package/lib/commonjs/settings-modal/SettingsModal.js +8 -1
  37. package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
  38. package/lib/commonjs/settings-modal/use-keyboard-reveal.js +76 -0
  39. package/lib/commonjs/settings-modal/use-keyboard-reveal.js.map +1 -0
  40. package/lib/commonjs/sidebar/SidebarItem.js +5 -1
  41. package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
  42. package/lib/module/ai-chat/AiChatCodePanel.js +2 -2
  43. package/lib/module/ai-chat/AiChatCodePanel.js.map +1 -1
  44. package/lib/module/ai-chat/AiChatContainer.js +60 -7
  45. package/lib/module/ai-chat/AiChatContainer.js.map +1 -1
  46. package/lib/module/ai-chat/AiChatShell.js +3 -3
  47. package/lib/module/ai-chat/AiChatShell.js.map +1 -1
  48. package/lib/module/ai-chat/use-panel-interaction.js +7 -2
  49. package/lib/module/ai-chat/use-panel-interaction.js.map +1 -1
  50. package/lib/module/bottom-sheet/BottomSheetBase.js +6 -2
  51. package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
  52. package/lib/module/bottom-sheet/context.js +25 -0
  53. package/lib/module/bottom-sheet/context.js.map +1 -0
  54. package/lib/module/composer-panel/ComposerPanelBase.js +33 -12
  55. package/lib/module/composer-panel/ComposerPanelBase.js.map +1 -1
  56. package/lib/module/composer-panel/ComposerPanelStatusTab.js +2 -2
  57. package/lib/module/composer-panel/ComposerPanelStatusTab.js.map +1 -1
  58. package/lib/module/composer-panel/ComposerPillBase.js +3 -1
  59. package/lib/module/composer-panel/ComposerPillBase.js.map +1 -1
  60. package/lib/module/composer-panel/ComposerPopover.js +13 -5
  61. package/lib/module/composer-panel/ComposerPopover.js.map +1 -1
  62. package/lib/module/composer-panel/ComposerStatusBarBase.js +3 -3
  63. package/lib/module/composer-panel/ComposerStatusBarBase.js.map +1 -1
  64. package/lib/module/composer-panel/ModelPickerBase.js +16 -4
  65. package/lib/module/composer-panel/ModelPickerBase.js.map +1 -1
  66. package/lib/module/composer-panel/PermissionMenu.js +19 -3
  67. package/lib/module/composer-panel/PermissionMenu.js.map +1 -1
  68. package/lib/module/context-menu/ContextMenu.js +10 -2
  69. package/lib/module/context-menu/ContextMenu.js.map +1 -1
  70. package/lib/module/dialog/DialogBottomSheet.js +25 -4
  71. package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
  72. package/lib/module/floating/LongPressArea.js +100 -0
  73. package/lib/module/floating/LongPressArea.js.map +1 -0
  74. package/lib/module/settings-modal/SettingsModal.js +8 -1
  75. package/lib/module/settings-modal/SettingsModal.js.map +1 -1
  76. package/lib/module/settings-modal/use-keyboard-reveal.js +72 -0
  77. package/lib/module/settings-modal/use-keyboard-reveal.js.map +1 -0
  78. package/lib/module/sidebar/SidebarItem.js +5 -1
  79. package/lib/module/sidebar/SidebarItem.js.map +1 -1
  80. package/lib/typescript/commonjs/ai-chat/AiChatCodePanel.d.ts +1 -1
  81. package/lib/typescript/commonjs/ai-chat/AiChatShell.d.ts +1 -1
  82. package/lib/typescript/commonjs/ai-chat/use-panel-interaction.d.ts +5 -1
  83. package/lib/typescript/commonjs/ai-chat/use-panel-interaction.d.ts.map +1 -1
  84. package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/bottom-sheet/context.d.ts +5 -0
  86. package/lib/typescript/commonjs/bottom-sheet/context.d.ts.map +1 -0
  87. package/lib/typescript/commonjs/composer-panel/ComposerPanelBase.d.ts.map +1 -1
  88. package/lib/typescript/commonjs/composer-panel/ComposerPanelStatusTab.d.ts +1 -1
  89. package/lib/typescript/commonjs/composer-panel/ComposerPillBase.d.ts.map +1 -1
  90. package/lib/typescript/commonjs/composer-panel/ComposerPopover.d.ts.map +1 -1
  91. package/lib/typescript/commonjs/composer-panel/ComposerStatusBarBase.d.ts +2 -2
  92. package/lib/typescript/commonjs/composer-panel/ModelPickerBase.d.ts +1 -1
  93. package/lib/typescript/commonjs/composer-panel/ModelPickerBase.d.ts.map +1 -1
  94. package/lib/typescript/commonjs/composer-panel/PermissionMenu.d.ts +3 -1
  95. package/lib/typescript/commonjs/composer-panel/PermissionMenu.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/context-menu/ContextMenu.d.ts.map +1 -1
  97. package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/floating/LongPressArea.d.ts +34 -0
  99. package/lib/typescript/commonjs/floating/LongPressArea.d.ts.map +1 -0
  100. package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
  101. package/lib/typescript/commonjs/settings-modal/use-keyboard-reveal.d.ts +21 -0
  102. package/lib/typescript/commonjs/settings-modal/use-keyboard-reveal.d.ts.map +1 -0
  103. package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
  104. package/lib/typescript/module/ai-chat/AiChatCodePanel.d.ts +1 -1
  105. package/lib/typescript/module/ai-chat/AiChatShell.d.ts +1 -1
  106. package/lib/typescript/module/ai-chat/use-panel-interaction.d.ts +5 -1
  107. package/lib/typescript/module/ai-chat/use-panel-interaction.d.ts.map +1 -1
  108. package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
  109. package/lib/typescript/module/bottom-sheet/context.d.ts +5 -0
  110. package/lib/typescript/module/bottom-sheet/context.d.ts.map +1 -0
  111. package/lib/typescript/module/composer-panel/ComposerPanelBase.d.ts.map +1 -1
  112. package/lib/typescript/module/composer-panel/ComposerPanelStatusTab.d.ts +1 -1
  113. package/lib/typescript/module/composer-panel/ComposerPillBase.d.ts.map +1 -1
  114. package/lib/typescript/module/composer-panel/ComposerPopover.d.ts.map +1 -1
  115. package/lib/typescript/module/composer-panel/ComposerStatusBarBase.d.ts +2 -2
  116. package/lib/typescript/module/composer-panel/ModelPickerBase.d.ts +1 -1
  117. package/lib/typescript/module/composer-panel/ModelPickerBase.d.ts.map +1 -1
  118. package/lib/typescript/module/composer-panel/PermissionMenu.d.ts +3 -1
  119. package/lib/typescript/module/composer-panel/PermissionMenu.d.ts.map +1 -1
  120. package/lib/typescript/module/context-menu/ContextMenu.d.ts.map +1 -1
  121. package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
  122. package/lib/typescript/module/floating/LongPressArea.d.ts +34 -0
  123. package/lib/typescript/module/floating/LongPressArea.d.ts.map +1 -0
  124. package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
  125. package/lib/typescript/module/settings-modal/use-keyboard-reveal.d.ts +21 -0
  126. package/lib/typescript/module/settings-modal/use-keyboard-reveal.d.ts.map +1 -0
  127. package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
  128. package/package.json +1 -1
  129. package/src/ai-chat/AiChatCodePanel.tsx +2 -2
  130. package/src/ai-chat/AiChatContainer.tsx +44 -5
  131. package/src/ai-chat/AiChatShell.tsx +3 -3
  132. package/src/ai-chat/use-panel-interaction.ts +7 -2
  133. package/src/bottom-sheet/BottomSheetBase.tsx +4 -1
  134. package/src/bottom-sheet/context.ts +23 -0
  135. package/src/composer-panel/ComposerPanelBase.tsx +38 -13
  136. package/src/composer-panel/ComposerPanelStatusTab.tsx +2 -2
  137. package/src/composer-panel/ComposerPillBase.tsx +3 -1
  138. package/src/composer-panel/ComposerPopover.tsx +13 -5
  139. package/src/composer-panel/ComposerStatusBarBase.tsx +3 -3
  140. package/src/composer-panel/ModelPickerBase.tsx +14 -5
  141. package/src/composer-panel/PermissionMenu.tsx +17 -4
  142. package/src/context-menu/ContextMenu.tsx +7 -2
  143. package/src/dialog/DialogBottomSheet.tsx +16 -4
  144. package/src/floating/LongPressArea.tsx +114 -0
  145. package/src/settings-modal/SettingsModal.tsx +9 -2
  146. package/src/settings-modal/use-keyboard-reveal.ts +62 -0
  147. package/src/sidebar/SidebarItem.tsx +5 -1
@@ -1 +1 @@
1
- {"version":3,"names":["React","memo","Pressable","View","Animated","useAnimatedStyle","useInteractionState","Text","useSidebarGeometry","useSidebarMetrics","useSidebarPalette","borderRadius","Collapsible","IS_WEB","useInSidebar","useSidebarCollapseProgress","useSidebarWebCss","jsx","_jsx","jsxs","_jsxs","AnimatedPressable","createAnimatedComponent","SidebarItemComponent","icon","Icon","label","size","href","badge","collapsedBadge","selected","collapsed","onPress","onLongPress","style","testID","palette","metrics","state","hovered","onIn","onOut","inSidebar","progress","lane","collapsedLane","row","square","horizontalInset","margin","value","marginLeft","marginRight","itemGap","gap","contentStyle","collapsedBadgeStyle","opacity","foreground","selectedForeground","textSecondary","rowStyle","flexDirection","alignItems","justifyContent","overflow","height","paddingLeft","padding","paddingRight","paddingTop","paddingBottom","full","alignSelf","width","undefined","backgroundColor","rowHover","ring","webProps","dataSet","bloomSidebar","title","role","accessibilityLabel","accessibilityState","onHoverIn","onHoverOut","event","preventDefault","children","minWidth","flexShrink","fill","variant","numberOfLines","color","pointerEvents","accessibilityElementsHidden","importantForAccessibility","position","top","insetInlineEnd","SidebarItem","displayName"],"sourceRoot":"../../../src","sources":["sidebar/SidebarItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,SAAS,EAAEC,IAAI,QAAoC,cAAc;AAC1E,OAAOC,QAAQ,IAAIC,gBAAgB,QAAQ,yBAAyB;AAEpE,SAASC,mBAAmB,QAAQ,mCAAgC;AAEpE,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,kBAAkB,QAAQ,eAAY;AAC/C,SAASC,iBAAi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X,CAAC,GACd,IAAI;EAAA,CACS,CAAC;AAExB,CAAC;AAED,OAAO,MAAM2E,WAAW,gBAAGvG,IAAI,CAACsB,oBAAoB,CAAC;AACrDiF,WAAW,CAACC,WAAW,GAAG,aAAa","ignoreList":[]}
1
+ {"version":3,"names":["React","memo","Pressable","View","Animated","useAnimatedStyle","useInteractionState","Text","useSidebarGeometry","useSidebarMetrics","useSidebarPalette","borderRadius","Collapsible","IS_WEB","useInSidebar","useSidebarCollapseProgress","useSidebarWebCss","jsx","_jsx","jsxs","_jsxs","AnimatedPressable","createAnimatedComponent","SidebarItemComponent","icon","Icon","label","size","href","badge","collapsedBadge","selected","collapsed","onPress","onLongPress","style","testID","palette","metrics","state","hovered","onIn","onOut","inSidebar","progress","lane","collapsedLane","row","square","horizontalInset","margin","value","marginLeft","marginRight","itemGap","gap","contentStyle","collapsedBadgeStyle","opacity","foreground","selectedForeground","textSecondary","rowStyle","flexDirection","alignItems","justifyContent","overflow","height","undefined","minHeight","paddingLeft","padding","paddingRight","paddingTop","paddingBottom","full","alignSelf","width","backgroundColor","rowHover","ring","webProps","dataSet","bloomSidebar","title","role","accessibilityLabel","accessibilityState","onHoverIn","onHoverOut","event","preventDefault","children","minWidth","flexShrink","fill","variant","numberOfLines","color","pointerEvents","accessibilityElementsHidden","importantForAccessibility","position","top","insetInlineEnd","SidebarItem","displayName"],"sourceRoot":"../../../src","sources":["sidebar/SidebarItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,SAAS,EAAEC,IAAI,QAAoC,cAAc;AAC1E,OAAOC,QAAQ,IAAIC,gBAAgB,QAAQ,yBAAyB;AAEpE,SAASC,mBAAmB,QAAQ,mCAAgC;AAEpE,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,kBAAkB,QAAQ,eAAY;AAC/C,SAASC,iBAAiB,QAAQ,cAAW;AAC7C,SAASC,iBAAiB,QAAQ,cAAW;AAC7C,SAASC,YAA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EAExD9D,cAAc,IAAID;IAAK,CACX,CAAC,GACd,IAAI;EAAA,CACS,CAAC;AAExB,CAAC;AAED,OAAO,MAAM4E,WAAW,gBAAGxG,IAAI,CAACsB,oBAAoB,CAAC;AACrDkF,WAAW,CAACC,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -3,7 +3,7 @@ import { type AiChatPalette } from './shared';
3
3
  import type { AiChatCodePanelProps, AiChatPanelAction, AiChatPanelTab } from './types';
4
4
  /**
5
5
  * The header row both right-hand panels share: the `PillTabList` (blue
6
- * pills, 20px glyphs) on the left and the panel actions on the right, 30 tall.
6
+ * pills, 20px glyphs) on the left and the panel actions on the right, at least 30 tall.
7
7
  */
8
8
  export declare function PanelHeader({ tabs, value, onValueChange, label, children, }: {
9
9
  tabs: ReadonlyArray<AiChatPanelTab>;
@@ -10,7 +10,7 @@ import type { AiChatMobileHeaderProps, AiChatResizeHandleProps, AiChatShellProps
10
10
  */
11
11
  export declare function AiChatResizeHandle({ onResizeStart, onResize, onResizeEnd, label, onNudge, style, testID, }: AiChatResizeHandleProps): import("react/jsx-runtime").JSX.Element;
12
12
  /**
13
- * The in-container header below `xl`: 48 tall, px 12 / pt 11. The menu
13
+ * The in-container header below `xl`: at least 48 tall, px 12 / pt 11. The menu
14
14
  * button (below `lg`, where the sidebar is a drawer) and the chat's name in
15
15
  * headline-medium on the left; the button opening the panel drawer on the right.
16
16
  * Both are 36px secondary icon buttons. Renders nothing outside an
@@ -5,7 +5,11 @@ import { type View } from 'react-native';
5
5
  *
6
6
  * open Escape (web) and back (Android) close it
7
7
  * modal it covers the workspace: focus moves in on open, Tab is kept
8
- * inside, and focus goes back to the opener on close
8
+ * inside, and focus goes back to the opener on close (web); on
9
+ * native the keyboard goes down as it opens — a composer that had
10
+ * the focus (say, regained after a sheet closed) otherwise kept the
11
+ * keyboard up under the drawer (Android 16). Nothing refocuses the
12
+ * composer on close.
9
13
  *
10
14
  * Any portaled overlay above (a dialog, a menu) takes all of it first.
11
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"use-panel-interaction.d.ts","sourceRoot":"","sources":["../../../../src/ai-chat/use-panel-interaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAKhE;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,0CAwCnF"}
1
+ {"version":3,"file":"use-panel-interaction.d.ts","sourceRoot":"","sources":["../../../../src/ai-chat/use-panel-interaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAmC,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAK1E;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,0CAyCnF"}
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheetBase.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/BottomSheetBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoC/B,OAAO,KAAK,EAAE,cAAc,EAA2C,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAsB7G,eAAO,MAAM,eAAe,6FA8rB1B,CAAC"}
1
+ {"version":3,"file":"BottomSheetBase.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/BottomSheetBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqC/B,OAAO,KAAK,EAAE,cAAc,EAA2C,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAsB7G,eAAO,MAAM,eAAe,6FAgsB1B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type SharedValue } from 'react-native-reanimated';
2
+ export declare const SheetKeyboardProvider: import("react").Provider<SharedValue<number> | null>;
3
+ /** The sheet's keyboard height, or a constant 0 outside a sheet. */
4
+ export declare function useSheetKeyboardHeight(): SharedValue<number>;
5
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/context.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAe3E,eAAO,MAAM,qBAAqB,sDAAgC,CAAC;AAEnE,oEAAoE;AACpE,wBAAgB,sBAAsB,IAAI,WAAW,CAAC,MAAM,CAAC,CAG5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPanelBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPanelBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkEvE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA2C,EAC3C,WAAwC,EACxC,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,OAAiC,EACjC,eAAe,EACf,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,2CAwLpB"}
1
+ {"version":3,"file":"ComposerPanelBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPanelBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkEvE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA2C,EAC3C,WAAwC,EACxC,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,OAAiC,EACjC,eAAe,EACf,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,2CAiNpB"}
@@ -8,7 +8,7 @@ export declare function ContextRing({ pct, palette }: {
8
8
  }): import("react/jsx-runtime").JSX.Element;
9
9
  /**
10
10
  * The status tab: the grey tab hanging off the Composer Panel's
11
- * top edge — 34 tall, inset 28 each side, radius 16 on the top corners only,
11
+ * top edge — at least 34 tall, inset 28 each side, radius 16 on the top corners only,
12
12
  * px 8 / py 4. Branch (mirrored merge glyph) and project folder on the left, 12
13
13
  * apart; the context meter on the right (py 4, pl 6 / pr 8, gap 4).
14
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPillBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPillBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAsB,iBAAiB,EAAoB,MAAM,SAAS,CAAC;AAkVvF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA+B,EAC/B,kBAA6B,EAC7B,OAAiC,EACjC,eAAe,EACf,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,OAAc,EACd,KAAa,EACb,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,QAAY,EACZ,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,MAAM,GACP,EAAE,iBAAiB,2CAwRnB"}
1
+ {"version":3,"file":"ComposerPillBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPillBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAsB,iBAAiB,EAAoB,MAAM,SAAS,CAAC;AAoVvF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA+B,EAC/B,kBAA6B,EAC7B,OAAiC,EACjC,eAAe,EACf,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,OAAc,EACd,KAAa,EACb,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,QAAY,EACZ,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,MAAM,GACP,EAAE,iBAAiB,2CAwRnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPopover.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPopover.tsx"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAQ,GACT,EAAE,oBAAoB,kDA2FtB"}
1
+ {"version":3,"file":"ComposerPopover.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPopover.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAQ,GACT,EAAE,oBAAoB,kDAgGtB"}
@@ -1,7 +1,7 @@
1
1
  import type { ComposerStatusBarProps } from './types';
2
2
  /**
3
- * The line under the AI chat's pill composer (the reference's `StatusBar`): 26
4
- * tall, space-between.
3
+ * The line under the AI chat's pill composer (the reference's `StatusBar`): at
4
+ * least 26 tall (it grows with the system font), space-between.
5
5
  *
6
6
  * left gap 12: the branch (mirrored merge glyph) and the project folder —
7
7
  * its caret turns over while the "Local Folders" panel is open
@@ -10,7 +10,7 @@ import type { ModelPickerProps } from './types';
10
10
  * mark in view (instantly on open, smoothly after)
11
11
  * column top 8 / right 8 / left 52: a 20px header ("Models" + a 50%-opacity
12
12
  * "Quick Search" hint, or the search field), then the list 4 below
13
- * rows 36 tall, radius 10, px 8: 16px mark, 6, name (+ provider while
13
+ * rows min 36 tall, radius 10, px 8: 16px mark, 6, name (+ provider while
14
14
  * searching), the effort chip on the selected row, 12, 14px radio;
15
15
  * 4 apart, pb 4, soft top edge once scrolled
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ModelPickerBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ModelPickerBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAuC,gBAAgB,EAAuB,MAAM,SAAS,CAAC;AAuX1G;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CA2TlB"}
1
+ {"version":3,"file":"ModelPickerBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ModelPickerBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAuC,gBAAgB,EAAuB,MAAM,SAAS,CAAC;AA0X1G;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CAiUlB"}
@@ -15,7 +15,9 @@ interface PermissionMenuProps {
15
15
  * press or while its menu is open, and a 323px panel of radio rows that opens
16
16
  * upward.
17
17
  *
18
- * trigger h 30, pl 8 / pr 10, gap 4, icon 16, body-medium secondary
18
+ * trigger min-h 30 (grows with the system font), max-w 160 then the
19
+ * label ellipsizes, pl 8 / pr 10, gap 4, icon 16, body-medium
20
+ * secondary
19
21
  * panel w 323, radius 20, border, p 6, shadow-dropdown
20
22
  * body pt 4, header→rows 6; header px 8 gap 10, body-medium tertiary
21
23
  * row p 8, radius 14, gap 8, icon 20, label body-medium secondary,
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionMenu.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/PermissionMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAKlF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC,6BAA6B,CAAC,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAM,EACN,MAAM,GACP,EAAE,mBAAmB,kDAuGrB"}
1
+ {"version":3,"file":"PermissionMenu.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/PermissionMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAOlF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC,6BAA6B,CAAC,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAM,EACN,MAAM,GACP,EAAE,mBAAmB,kDAgHrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAU9D,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,gBAAgB,2CAqBvE;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,2CAyBzB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAsB,EACtB,KAAK,GACN,EAAE,uBAAuB,2CAmBzB;AAID,eAAO,MAAM,eAAe,yDAAY,CAAC;AACzC,eAAO,MAAM,uBAAuB,iEAAoB,CAAC;AACzD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,oBAAoB,8DAAiB,CAAC;AACnD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,oBAAoB,4CAAiB,CAAC;AACnD,eAAO,MAAM,mBAAmB,8DAAgB,CAAC;AACjD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,cAAc,yDAAW,CAAC;AACvC,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAW9D,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,gBAAgB,2CAqBvE;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,2CA6BzB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAsB,EACtB,KAAK,GACN,EAAE,uBAAuB,2CAmBzB;AAID,eAAO,MAAM,eAAe,yDAAY,CAAC;AACzC,eAAO,MAAM,uBAAuB,iEAAoB,CAAC;AACzD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,oBAAoB,8DAAiB,CAAC;AACnD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,oBAAoB,4CAAiB,CAAC;AACnD,eAAO,MAAM,mBAAmB,8DAAgB,CAAC;AACjD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,cAAc,yDAAW,CAAC;AACvC,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DialogBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogBottomSheet.tsx"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,SAAS,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,cAAyC,EACzC,UAAiB,EACjB,iBAAwB,EACxB,cAA+C,EAC/C,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,GACT,EAAE,sBAAsB,2CAkRxB;AAQD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,WAAW,EACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,SAAS,GACT,QAAQ,GACR,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,OAAO,GACP,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,OAAO,GACP,UAAU,CACb,CAAC"}
1
+ {"version":3,"file":"DialogBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogBottomSheet.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,SAAS,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,cAAyC,EACzC,UAAiB,EACjB,iBAAwB,EACxB,cAA+C,EAC/C,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,GACT,EAAE,sBAAsB,2CAgRxB;AAqBD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,WAAW,EACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,SAAS,GACT,QAAQ,GACR,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,OAAO,GACP,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,OAAO,GACP,UAAU,CACb,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * A long-press target that never becomes the touch RESPONDER — native only,
3
+ * the trigger `ContextMenuTrigger` renders around content it does not own.
4
+ *
5
+ * ── WHY NOT A `Pressable` ───────────────────────────────────────────────────
6
+ *
7
+ * On Android the view holding the JS responder intercepts every later MOVE of
8
+ * that touch natively (`JSResponderHandler.onInterceptTouchEvent` returns true
9
+ * for the responder's own id). A `Pressable` claims the responder on touch
10
+ * start, so a horizontal `ScrollView` INSIDE it never sees the drag: a turn
11
+ * wrapped in the context menu's trigger could not scroll its code block
12
+ * sideways (Pixel 8a, Android 16; the same block scrolled without the wrapper).
13
+ * A vertical scroller ABOVE the trigger kept working, because a parent
14
+ * intercepts before its child — which is why only the inner one broke.
15
+ *
16
+ * So the hold is timed off the RAW touch events, which every ancestor receives
17
+ * without claiming anything: a scroller that takes the drag cancels the touch,
18
+ * and a finger that travels past the slop or lifts early cancels the timer.
19
+ * Taps keep going to whatever the content itself makes pressable.
20
+ *
21
+ * Assistive tech reaches the menu through the `longpress` accessibility action
22
+ * (TalkBack's double-tap-and-hold, VoiceOver's actions rotor).
23
+ */
24
+ import React from 'react';
25
+ import type { TriggerHandleProps } from './types';
26
+ /** `Pressable`'s own default, so a context menu opens on the platform's usual hold. */
27
+ export declare const LONG_PRESS_MS = 500;
28
+ /** How far the finger may drift and still be holding, in dp (`Pressability`'s deactivation distance). */
29
+ export declare const LONG_PRESS_SLOP = 10;
30
+ export type LongPressAreaProps = Partial<TriggerHandleProps> & {
31
+ children?: React.ReactNode;
32
+ };
33
+ export declare function LongPressArea({ children, onLongPress, onPress: _onPress, disabled, accessibilityLabel, accessibilityRole, ...aria }: LongPressAreaProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=LongPressArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongPressArea.d.ts","sourceRoot":"","sources":["../../../../src/floating/LongPressArea.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAO9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,uFAAuF;AACvF,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,yGAAyG;AACzG,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,WAAW,EAEX,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,GAAG,IAAI,EACR,EAAE,kBAAkB,2CA+DpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsModal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/SettingsModal.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,SAAS,CAAC;AAmFrF,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,OAAO,EACP,aAAa,EACb,MAAM,EACN,KAAK,EACL,IAAI,EAAE,cAAc,EACpB,WAAW,EACX,YAAY,EACZ,WAA0B,EAC1B,MAAM,EACN,MAAM,GACP,EAAE,kBAAkB,kDA4VpB"}
1
+ {"version":3,"file":"SettingsModal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/SettingsModal.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,SAAS,CAAC;AAoFrF,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,OAAO,EACP,aAAa,EACb,MAAM,EACN,KAAK,EACL,IAAI,EAAE,cAAc,EACpB,WAAW,EACX,YAAY,EACZ,WAA0B,EAC1B,MAAM,EACN,MAAM,GACP,EAAE,kBAAkB,kDA4VpB"}
@@ -0,0 +1,21 @@
1
+ import { type RefObject } from 'react';
2
+ import { type ScrollView } from 'react-native';
3
+ /** Clearance kept between the focused field and the keyboard's top, px. */
4
+ export declare const KEYBOARD_REVEAL_MARGIN = 16;
5
+ /**
6
+ * Keep a settings page's focused field above the software keyboard — native
7
+ * only; on web the browser scrolls a focused field into view itself.
8
+ *
9
+ * The settings modal draws edge to edge, so the keyboard slides OVER it rather
10
+ * than resizing it: a field low on a page (Personalization's last input, a
11
+ * Pixel 8a at Android 16) stayed behind the keyboard with nothing to scroll it
12
+ * out. This returns the keyboard's height for the page to pad its content by —
13
+ * so there is room to scroll — and, when the keyboard shows, scrolls the page
14
+ * by exactly what the focused field sits below the keyboard's top.
15
+ *
16
+ * `offset` is the page's current scroll offset (its scroll handler keeps it).
17
+ */
18
+ export declare function useKeyboardReveal(scrollRef: RefObject<ScrollView | null>, offset: {
19
+ value: number;
20
+ }, enabled: boolean): number;
21
+ //# sourceMappingURL=use-keyboard-reveal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-keyboard-reveal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/use-keyboard-reveal.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAqD,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAElG,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAIzC;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,EACvC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACzB,OAAO,EAAE,OAAO,GACf,MAAM,CAoCR"}
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAYpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgIhD,eAAO,MAAM,WAAW,8CAA6B,CAAC"}
1
+ {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAYpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAoIhD,eAAO,MAAM,WAAW,8CAA6B,CAAC"}
@@ -3,7 +3,7 @@ import { type AiChatPalette } from './shared';
3
3
  import type { AiChatCodePanelProps, AiChatPanelAction, AiChatPanelTab } from './types';
4
4
  /**
5
5
  * The header row both right-hand panels share: the `PillTabList` (blue
6
- * pills, 20px glyphs) on the left and the panel actions on the right, 30 tall.
6
+ * pills, 20px glyphs) on the left and the panel actions on the right, at least 30 tall.
7
7
  */
8
8
  export declare function PanelHeader({ tabs, value, onValueChange, label, children, }: {
9
9
  tabs: ReadonlyArray<AiChatPanelTab>;
@@ -10,7 +10,7 @@ import type { AiChatMobileHeaderProps, AiChatResizeHandleProps, AiChatShellProps
10
10
  */
11
11
  export declare function AiChatResizeHandle({ onResizeStart, onResize, onResizeEnd, label, onNudge, style, testID, }: AiChatResizeHandleProps): import("react/jsx-runtime").JSX.Element;
12
12
  /**
13
- * The in-container header below `xl`: 48 tall, px 12 / pt 11. The menu
13
+ * The in-container header below `xl`: at least 48 tall, px 12 / pt 11. The menu
14
14
  * button (below `lg`, where the sidebar is a drawer) and the chat's name in
15
15
  * headline-medium on the left; the button opening the panel drawer on the right.
16
16
  * Both are 36px secondary icon buttons. Renders nothing outside an
@@ -5,7 +5,11 @@ import { type View } from 'react-native';
5
5
  *
6
6
  * open Escape (web) and back (Android) close it
7
7
  * modal it covers the workspace: focus moves in on open, Tab is kept
8
- * inside, and focus goes back to the opener on close
8
+ * inside, and focus goes back to the opener on close (web); on
9
+ * native the keyboard goes down as it opens — a composer that had
10
+ * the focus (say, regained after a sheet closed) otherwise kept the
11
+ * keyboard up under the drawer (Android 16). Nothing refocuses the
12
+ * composer on close.
9
13
  *
10
14
  * Any portaled overlay above (a dialog, a menu) takes all of it first.
11
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"use-panel-interaction.d.ts","sourceRoot":"","sources":["../../../../src/ai-chat/use-panel-interaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAKhE;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,0CAwCnF"}
1
+ {"version":3,"file":"use-panel-interaction.d.ts","sourceRoot":"","sources":["../../../../src/ai-chat/use-panel-interaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAmC,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAK1E;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,0CAyCnF"}
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheetBase.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/BottomSheetBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoC/B,OAAO,KAAK,EAAE,cAAc,EAA2C,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAsB7G,eAAO,MAAM,eAAe,6FA8rB1B,CAAC"}
1
+ {"version":3,"file":"BottomSheetBase.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/BottomSheetBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqC/B,OAAO,KAAK,EAAE,cAAc,EAA2C,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAsB7G,eAAO,MAAM,eAAe,6FAgsB1B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type SharedValue } from 'react-native-reanimated';
2
+ export declare const SheetKeyboardProvider: import("react").Provider<SharedValue<number> | null>;
3
+ /** The sheet's keyboard height, or a constant 0 outside a sheet. */
4
+ export declare function useSheetKeyboardHeight(): SharedValue<number>;
5
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/bottom-sheet/context.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAe3E,eAAO,MAAM,qBAAqB,sDAAgC,CAAC;AAEnE,oEAAoE;AACpE,wBAAgB,sBAAsB,IAAI,WAAW,CAAC,MAAM,CAAC,CAG5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPanelBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPanelBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkEvE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA2C,EAC3C,WAAwC,EACxC,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,OAAiC,EACjC,eAAe,EACf,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,2CAwLpB"}
1
+ {"version":3,"file":"ComposerPanelBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPanelBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkEvE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA2C,EAC3C,WAAwC,EACxC,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,OAAiC,EACjC,eAAe,EACf,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,2CAiNpB"}
@@ -8,7 +8,7 @@ export declare function ContextRing({ pct, palette }: {
8
8
  }): import("react/jsx-runtime").JSX.Element;
9
9
  /**
10
10
  * The status tab: the grey tab hanging off the Composer Panel's
11
- * top edge — 34 tall, inset 28 each side, radius 16 on the top corners only,
11
+ * top edge — at least 34 tall, inset 28 each side, radius 16 on the top corners only,
12
12
  * px 8 / py 4. Branch (mirrored merge glyph) and project folder on the left, 12
13
13
  * apart; the context meter on the right (py 4, pl 6 / pr 8, gap 4).
14
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPillBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPillBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAsB,iBAAiB,EAAoB,MAAM,SAAS,CAAC;AAkVvF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA+B,EAC/B,kBAA6B,EAC7B,OAAiC,EACjC,eAAe,EACf,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,OAAc,EACd,KAAa,EACb,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,QAAY,EACZ,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,MAAM,GACP,EAAE,iBAAiB,2CAwRnB"}
1
+ {"version":3,"file":"ComposerPillBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPillBase.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAsB,iBAAiB,EAAoB,MAAM,SAAS,CAAC;AAoVvF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,QAAgB,EAChB,WAA+B,EAC/B,kBAA6B,EAC7B,OAAiC,EACjC,eAAe,EACf,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,SAAS,EACT,gBAAwB,EACxB,iBAAiB,EACjB,OAAc,EACd,KAAa,EACb,QAAQ,EACR,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,QAAY,EACZ,WAAW,EACX,UAAU,EAAE,cAAc,EAC1B,MAAM,GACP,EAAE,iBAAiB,2CAwRnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerPopover.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPopover.tsx"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAQ,GACT,EAAE,oBAAoB,kDA2FtB"}
1
+ {"version":3,"file":"ComposerPopover.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ComposerPopover.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAQ,GACT,EAAE,oBAAoB,kDAgGtB"}
@@ -1,7 +1,7 @@
1
1
  import type { ComposerStatusBarProps } from './types';
2
2
  /**
3
- * The line under the AI chat's pill composer (the reference's `StatusBar`): 26
4
- * tall, space-between.
3
+ * The line under the AI chat's pill composer (the reference's `StatusBar`): at
4
+ * least 26 tall (it grows with the system font), space-between.
5
5
  *
6
6
  * left gap 12: the branch (mirrored merge glyph) and the project folder —
7
7
  * its caret turns over while the "Local Folders" panel is open
@@ -10,7 +10,7 @@ import type { ModelPickerProps } from './types';
10
10
  * mark in view (instantly on open, smoothly after)
11
11
  * column top 8 / right 8 / left 52: a 20px header ("Models" + a 50%-opacity
12
12
  * "Quick Search" hint, or the search field), then the list 4 below
13
- * rows 36 tall, radius 10, px 8: 16px mark, 6, name (+ provider while
13
+ * rows min 36 tall, radius 10, px 8: 16px mark, 6, name (+ provider while
14
14
  * searching), the effort chip on the selected row, 12, 14px radio;
15
15
  * 4 apart, pb 4, soft top edge once scrolled
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ModelPickerBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ModelPickerBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAuC,gBAAgB,EAAuB,MAAM,SAAS,CAAC;AAuX1G;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CA2TlB"}
1
+ {"version":3,"file":"ModelPickerBase.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/ModelPickerBase.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAuC,gBAAgB,EAAuB,MAAM,SAAS,CAAC;AA0X1G;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,aAA8B,EAC9B,cAAc,EACd,YAAyC,EACzC,MAAM,EAAE,cAAc,EACtB,KAAK,EACL,MAAM,GACP,EAAE,gBAAgB,2CAiUlB"}
@@ -15,7 +15,9 @@ interface PermissionMenuProps {
15
15
  * press or while its menu is open, and a 323px panel of radio rows that opens
16
16
  * upward.
17
17
  *
18
- * trigger h 30, pl 8 / pr 10, gap 4, icon 16, body-medium secondary
18
+ * trigger min-h 30 (grows with the system font), max-w 160 then the
19
+ * label ellipsizes, pl 8 / pr 10, gap 4, icon 16, body-medium
20
+ * secondary
19
21
  * panel w 323, radius 20, border, p 6, shadow-dropdown
20
22
  * body pt 4, header→rows 6; header px 8 gap 10, body-medium tertiary
21
23
  * row p 8, radius 14, gap 8, icon 20, label body-medium secondary,
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionMenu.d.ts","sourceRoot":"","sources":["../../../../src/composer-panel/PermissionMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,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AAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,MAAM,EACN,MAAM,GACP,EAAE,mBAAmB,kDAgHrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAU9D,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,gBAAgB,2CAqBvE;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,2CAyBzB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAsB,EACtB,KAAK,GACN,EAAE,uBAAuB,2CAmBzB;AAID,eAAO,MAAM,eAAe,yDAAY,CAAC;AACzC,eAAO,MAAM,uBAAuB,iEAAoB,CAAC;AACzD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,oBAAoB,8DAAiB,CAAC;AACnD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,oBAAoB,4CAAiB,CAAC;AACnD,eAAO,MAAM,mBAAmB,8DAAgB,CAAC;AACjD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,cAAc,yDAAW,CAAC;AACvC,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAW9D,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,gBAAgB,2CAqBvE;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,2CA6BzB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAsB,EACtB,KAAK,GACN,EAAE,uBAAuB,2CAmBzB;AAID,eAAO,MAAM,eAAe,yDAAY,CAAC;AACzC,eAAO,MAAM,uBAAuB,iEAAoB,CAAC;AACzD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,oBAAoB,8DAAiB,CAAC;AACnD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,oBAAoB,4CAAiB,CAAC;AACnD,eAAO,MAAM,mBAAmB,8DAAgB,CAAC;AACjD,eAAO,MAAM,gBAAgB,2DAAa,CAAC;AAC3C,eAAO,MAAM,cAAc,yDAAW,CAAC;AACvC,eAAO,MAAM,qBAAqB,gEAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,gEAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DialogBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogBottomSheet.tsx"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,SAAS,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,cAAyC,EACzC,UAAiB,EACjB,iBAAwB,EACxB,cAA+C,EAC/C,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,GACT,EAAE,sBAAsB,2CAkRxB;AAQD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,WAAW,EACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,SAAS,GACT,QAAQ,GACR,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,OAAO,GACP,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,OAAO,GACP,UAAU,CACb,CAAC"}
1
+ {"version":3,"file":"DialogBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/dialog/DialogBottomSheet.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,SAAS,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,cAAyC,EACzC,UAAiB,EACjB,iBAAwB,EACxB,cAA+C,EAC/C,UAAU,EACV,KAAK,EACL,KAAK,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,KAAK,EACL,QAAQ,GACT,EAAE,sBAAsB,2CAgRxB;AAqBD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,WAAW,EACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,SAAS,GACT,QAAQ,GACR,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,OAAO,GACP,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,OAAO,GACP,UAAU,CACb,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * A long-press target that never becomes the touch RESPONDER — native only,
3
+ * the trigger `ContextMenuTrigger` renders around content it does not own.
4
+ *
5
+ * ── WHY NOT A `Pressable` ───────────────────────────────────────────────────
6
+ *
7
+ * On Android the view holding the JS responder intercepts every later MOVE of
8
+ * that touch natively (`JSResponderHandler.onInterceptTouchEvent` returns true
9
+ * for the responder's own id). A `Pressable` claims the responder on touch
10
+ * start, so a horizontal `ScrollView` INSIDE it never sees the drag: a turn
11
+ * wrapped in the context menu's trigger could not scroll its code block
12
+ * sideways (Pixel 8a, Android 16; the same block scrolled without the wrapper).
13
+ * A vertical scroller ABOVE the trigger kept working, because a parent
14
+ * intercepts before its child — which is why only the inner one broke.
15
+ *
16
+ * So the hold is timed off the RAW touch events, which every ancestor receives
17
+ * without claiming anything: a scroller that takes the drag cancels the touch,
18
+ * and a finger that travels past the slop or lifts early cancels the timer.
19
+ * Taps keep going to whatever the content itself makes pressable.
20
+ *
21
+ * Assistive tech reaches the menu through the `longpress` accessibility action
22
+ * (TalkBack's double-tap-and-hold, VoiceOver's actions rotor).
23
+ */
24
+ import React from 'react';
25
+ import type { TriggerHandleProps } from './types';
26
+ /** `Pressable`'s own default, so a context menu opens on the platform's usual hold. */
27
+ export declare const LONG_PRESS_MS = 500;
28
+ /** How far the finger may drift and still be holding, in dp (`Pressability`'s deactivation distance). */
29
+ export declare const LONG_PRESS_SLOP = 10;
30
+ export type LongPressAreaProps = Partial<TriggerHandleProps> & {
31
+ children?: React.ReactNode;
32
+ };
33
+ export declare function LongPressArea({ children, onLongPress, onPress: _onPress, disabled, accessibilityLabel, accessibilityRole, ...aria }: LongPressAreaProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=LongPressArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongPressArea.d.ts","sourceRoot":"","sources":["../../../../src/floating/LongPressArea.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAO9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,uFAAuF;AACvF,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,yGAAyG;AACzG,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,WAAW,EAEX,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,GAAG,IAAI,EACR,EAAE,kBAAkB,2CA+DpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsModal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/SettingsModal.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,SAAS,CAAC;AAmFrF,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,OAAO,EACP,aAAa,EACb,MAAM,EACN,KAAK,EACL,IAAI,EAAE,cAAc,EACpB,WAAW,EACX,YAAY,EACZ,WAA0B,EAC1B,MAAM,EACN,MAAM,GACP,EAAE,kBAAkB,kDA4VpB"}
1
+ {"version":3,"file":"SettingsModal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/SettingsModal.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,SAAS,CAAC;AAoFrF,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EAAE,cAAc,EACpB,OAAO,EACP,aAAa,EACb,MAAM,EACN,KAAK,EACL,IAAI,EAAE,cAAc,EACpB,WAAW,EACX,YAAY,EACZ,WAA0B,EAC1B,MAAM,EACN,MAAM,GACP,EAAE,kBAAkB,kDA4VpB"}
@@ -0,0 +1,21 @@
1
+ import { type RefObject } from 'react';
2
+ import { type ScrollView } from 'react-native';
3
+ /** Clearance kept between the focused field and the keyboard's top, px. */
4
+ export declare const KEYBOARD_REVEAL_MARGIN = 16;
5
+ /**
6
+ * Keep a settings page's focused field above the software keyboard — native
7
+ * only; on web the browser scrolls a focused field into view itself.
8
+ *
9
+ * The settings modal draws edge to edge, so the keyboard slides OVER it rather
10
+ * than resizing it: a field low on a page (Personalization's last input, a
11
+ * Pixel 8a at Android 16) stayed behind the keyboard with nothing to scroll it
12
+ * out. This returns the keyboard's height for the page to pad its content by —
13
+ * so there is room to scroll — and, when the keyboard shows, scrolls the page
14
+ * by exactly what the focused field sits below the keyboard's top.
15
+ *
16
+ * `offset` is the page's current scroll offset (its scroll handler keeps it).
17
+ */
18
+ export declare function useKeyboardReveal(scrollRef: RefObject<ScrollView | null>, offset: {
19
+ value: number;
20
+ }, enabled: boolean): number;
21
+ //# sourceMappingURL=use-keyboard-reveal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-keyboard-reveal.d.ts","sourceRoot":"","sources":["../../../../src/settings-modal/use-keyboard-reveal.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAqD,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAElG,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAIzC;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,EACvC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACzB,OAAO,EAAE,OAAO,GACf,MAAM,CAoCR"}
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAYpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgIhD,eAAO,MAAM,WAAW,8CAA6B,CAAC"}
1
+ {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/sidebar/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAYpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAoIhD,eAAO,MAAM,WAAW,8CAA6B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/bloom",
3
- "version": "4.24.1",
3
+ "version": "4.25.1",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "Bloom UI — Oxy ecosystem component library for React Native + Expo + Web",
6
6
  "main": "lib/commonjs/index.js",
@@ -17,7 +17,7 @@ import type { AiChatCodePanelProps, AiChatPanelAction, AiChatPanelTab } from './
17
17
 
18
18
  /**
19
19
  * The header row both right-hand panels share: the `PillTabList` (blue
20
- * pills, 20px glyphs) on the left and the panel actions on the right, 30 tall.
20
+ * pills, 20px glyphs) on the left and the panel actions on the right, at least 30 tall.
21
21
  */
22
22
  export function PanelHeader({
23
23
  tabs,
@@ -33,7 +33,7 @@ export function PanelHeader({
33
33
  children: React.ReactNode;
34
34
  }) {
35
35
  return (
36
- <View style={{ width: '100%', height: 30, flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }}>
36
+ <View style={{ width: '100%', minHeight: 30, flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }}>
37
37
  <View accessibilityLabel={label} style={{ flexShrink: 1, minWidth: 0 }}>
38
38
  <Tabs variant="pill" value={value} onValueChange={onValueChange}>
39
39
  {tabs.map((tab) => (