@oxy.so/bloom 4.4.0 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/README.md +1 -1
  2. package/docs/adoption-matrix.mdx +12 -12
  3. package/docs/code.mdx +12 -0
  4. package/docs/context-menu.mdx +2 -0
  5. package/docs/dropdown-menu.mdx +21 -0
  6. package/docs/icons.mdx +2 -2
  7. package/docs/layout.mdx +36 -0
  8. package/docs/menubar.mdx +6 -2
  9. package/docs/page-header.mdx +16 -0
  10. package/docs/popover.mdx +4 -2
  11. package/docs/segmented-control.mdx +12 -0
  12. package/docs/select.mdx +19 -0
  13. package/docs/sidebar.mdx +6 -0
  14. package/docs/tabs.mdx +12 -0
  15. package/lib/commonjs/agent-chat/index.web.js.map +1 -1
  16. package/lib/commonjs/ai-chat/index.web.js.map +1 -1
  17. package/lib/commonjs/alert-dialog/index.web.js +10 -1
  18. package/lib/commonjs/alert-dialog/index.web.js.map +1 -1
  19. package/lib/commonjs/avatar-group/index.web.js.map +1 -1
  20. package/lib/commonjs/bottom-sheet/index.web.js.map +1 -1
  21. package/lib/commonjs/code/index.js +13 -0
  22. package/lib/commonjs/code/index.js.map +1 -1
  23. package/lib/commonjs/command/index.web.js +5 -0
  24. package/lib/commonjs/command/index.web.js.map +1 -1
  25. package/lib/commonjs/composer-loader/ComposerLoader.web.js +9 -0
  26. package/lib/commonjs/composer-loader/ComposerLoader.web.js.map +1 -1
  27. package/lib/commonjs/composer-loader/index.web.js.map +1 -1
  28. package/lib/commonjs/composer-panel/index.web.js.map +1 -1
  29. package/lib/commonjs/connection-dots/index.web.js.map +1 -1
  30. package/lib/commonjs/connection-status/index.web.js.map +1 -1
  31. package/lib/commonjs/content-panel/index.web.js.map +1 -1
  32. package/lib/commonjs/context-menu/ContextMenu.web.js +22 -4
  33. package/lib/commonjs/context-menu/ContextMenu.web.js.map +1 -1
  34. package/lib/commonjs/context-menu/context.js.map +1 -1
  35. package/lib/commonjs/context-menu/index.web.js.map +1 -1
  36. package/lib/commonjs/dialog/Dialog.web.js +14 -0
  37. package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
  38. package/lib/commonjs/dialog/index.web.js.map +1 -1
  39. package/lib/commonjs/dropdown-menu/DropdownMenu.web.js +22 -2
  40. package/lib/commonjs/dropdown-menu/DropdownMenu.web.js.map +1 -1
  41. package/lib/commonjs/dropdown-menu/index.web.js.map +1 -1
  42. package/lib/commonjs/floating/FloatingPanel.js +42 -33
  43. package/lib/commonjs/floating/FloatingPanel.js.map +1 -1
  44. package/lib/commonjs/floating/escape-stack.js +90 -0
  45. package/lib/commonjs/floating/escape-stack.js.map +1 -0
  46. package/lib/commonjs/floating/menu-keyboard.js +238 -0
  47. package/lib/commonjs/floating/menu-keyboard.js.map +1 -0
  48. package/lib/commonjs/floating/menu-sub-flyout.js +28 -16
  49. package/lib/commonjs/floating/menu-sub-flyout.js.map +1 -1
  50. package/lib/commonjs/fonts/index.web.js.map +1 -1
  51. package/lib/commonjs/frosted-icon-button/FrostedIconButton.web.js +10 -0
  52. package/lib/commonjs/frosted-icon-button/FrostedIconButton.web.js.map +1 -1
  53. package/lib/commonjs/frosted-icon-button/index.web.js.map +1 -1
  54. package/lib/commonjs/hooks/roving-focus.js +192 -0
  55. package/lib/commonjs/hooks/roving-focus.js.map +1 -0
  56. package/lib/commonjs/hover-card/index.web.js.map +1 -1
  57. package/lib/commonjs/icons/remix/RiBookReadLine.js +12 -0
  58. package/lib/commonjs/icons/remix/RiBookReadLine.js.map +1 -0
  59. package/lib/commonjs/icons/remix/RiBugLine.js +12 -0
  60. package/lib/commonjs/icons/remix/RiBugLine.js.map +1 -0
  61. package/lib/commonjs/icons/remix/RiChat1Line.js +12 -0
  62. package/lib/commonjs/icons/remix/RiChat1Line.js.map +1 -0
  63. package/lib/commonjs/icons/remix/RiCloudLine.js +12 -0
  64. package/lib/commonjs/icons/remix/RiCloudLine.js.map +1 -0
  65. package/lib/commonjs/icons/remix/RiCodeLine.js +12 -0
  66. package/lib/commonjs/icons/remix/RiCodeLine.js.map +1 -0
  67. package/lib/commonjs/icons/remix/RiCpuLine.js +12 -0
  68. package/lib/commonjs/icons/remix/RiCpuLine.js.map +1 -0
  69. package/lib/commonjs/icons/remix/RiFloodLine.js +12 -0
  70. package/lib/commonjs/icons/remix/RiFloodLine.js.map +1 -0
  71. package/lib/commonjs/icons/remix/RiLockUnlockLine.js +12 -0
  72. package/lib/commonjs/icons/remix/RiLockUnlockLine.js.map +1 -0
  73. package/lib/commonjs/icons/remix/RiMoneyDollarCircleLine.js +12 -0
  74. package/lib/commonjs/icons/remix/RiMoneyDollarCircleLine.js.map +1 -0
  75. package/lib/commonjs/icons/remix/RiPlayCircleLine.js +12 -0
  76. package/lib/commonjs/icons/remix/RiPlayCircleLine.js.map +1 -0
  77. package/lib/commonjs/icons/remix/RiRocket2Line.js +12 -0
  78. package/lib/commonjs/icons/remix/RiRocket2Line.js.map +1 -0
  79. package/lib/commonjs/icons/remix/RiServerLine.js +12 -0
  80. package/lib/commonjs/icons/remix/RiServerLine.js.map +1 -0
  81. package/lib/commonjs/icons/remix/RiShareBoxLine.js +12 -0
  82. package/lib/commonjs/icons/remix/RiShareBoxLine.js.map +1 -0
  83. package/lib/commonjs/icons/remix/RiTv2Line.js +12 -0
  84. package/lib/commonjs/icons/remix/RiTv2Line.js.map +1 -0
  85. package/lib/commonjs/icons/remix/index.js +98 -0
  86. package/lib/commonjs/icons/remix/index.js.map +1 -1
  87. package/lib/commonjs/index.js +21 -0
  88. package/lib/commonjs/index.js.map +1 -1
  89. package/lib/commonjs/index.web.js +21 -0
  90. package/lib/commonjs/index.web.js.map +1 -1
  91. package/lib/commonjs/layout/StickySection.js +106 -0
  92. package/lib/commonjs/layout/StickySection.js.map +1 -0
  93. package/lib/commonjs/layout/header-dock.js +61 -0
  94. package/lib/commonjs/layout/header-dock.js.map +1 -0
  95. package/lib/commonjs/layout/index.js +20 -0
  96. package/lib/commonjs/layout/index.js.map +1 -1
  97. package/lib/commonjs/list/index.web.js.map +1 -1
  98. package/lib/commonjs/loading/Loading.js +21 -157
  99. package/lib/commonjs/loading/Loading.js.map +1 -1
  100. package/lib/commonjs/loading/Loading.web.js +23 -157
  101. package/lib/commonjs/loading/Loading.web.js.map +1 -1
  102. package/lib/commonjs/loading/LoadingBase.js +202 -0
  103. package/lib/commonjs/loading/LoadingBase.js.map +1 -0
  104. package/lib/commonjs/loading/index.web.js.map +1 -1
  105. package/lib/commonjs/media-flight/index.web.js.map +1 -1
  106. package/lib/commonjs/menubar/Menubar.js +31 -123
  107. package/lib/commonjs/menubar/Menubar.js.map +1 -1
  108. package/lib/commonjs/menubar/Menubar.web.js +33 -114
  109. package/lib/commonjs/menubar/Menubar.web.js.map +1 -1
  110. package/lib/commonjs/menubar/MenubarBase.js +154 -0
  111. package/lib/commonjs/menubar/MenubarBase.js.map +1 -0
  112. package/lib/commonjs/menubar/index.web.js.map +1 -1
  113. package/lib/commonjs/page-header/PageHeader.js +38 -14
  114. package/lib/commonjs/page-header/PageHeader.js.map +1 -1
  115. package/lib/commonjs/popover/index.web.js.map +1 -1
  116. package/lib/commonjs/popover/parts.js +69 -11
  117. package/lib/commonjs/popover/parts.js.map +1 -1
  118. package/lib/commonjs/popover/surface.js +39 -13
  119. package/lib/commonjs/popover/surface.js.map +1 -1
  120. package/lib/commonjs/portal/index.web.js.map +1 -1
  121. package/lib/commonjs/progressive-blur/index.web.js.map +1 -1
  122. package/lib/commonjs/scroll/index.web.js.map +1 -1
  123. package/lib/commonjs/segmented-control/SegmentedControl.js +36 -1
  124. package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
  125. package/lib/commonjs/select/Select.js +6 -81
  126. package/lib/commonjs/select/Select.js.map +1 -1
  127. package/lib/commonjs/select/Select.web.js +147 -85
  128. package/lib/commonjs/select/Select.web.js.map +1 -1
  129. package/lib/commonjs/select/index.js +4 -4
  130. package/lib/commonjs/select/index.js.map +1 -1
  131. package/lib/commonjs/select/index.web.js +4 -4
  132. package/lib/commonjs/select/index.web.js.map +1 -1
  133. package/lib/commonjs/select/shared.js +110 -5
  134. package/lib/commonjs/select/shared.js.map +1 -1
  135. package/lib/commonjs/sidebar/Sidebar.js +121 -108
  136. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  137. package/lib/commonjs/sidebar/SidebarRail.js +70 -48
  138. package/lib/commonjs/sidebar/SidebarRail.js.map +1 -1
  139. package/lib/commonjs/sidebar/SidebarTeamMenu.js +1 -1
  140. package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
  141. package/lib/commonjs/sidebar/SidebarUserMenu.js +1 -1
  142. package/lib/commonjs/sidebar/SidebarUserMenu.js.map +1 -1
  143. package/lib/commonjs/sidebar/parts.js +9 -9
  144. package/lib/commonjs/sidebar/parts.js.map +1 -1
  145. package/lib/commonjs/styles/web-view-style.js +6 -0
  146. package/lib/commonjs/styles/web-view-style.js.map +1 -1
  147. package/lib/commonjs/surfaces/SurfaceHost.js +6 -0
  148. package/lib/commonjs/surfaces/SurfaceHost.js.map +1 -1
  149. package/lib/commonjs/surfaces/index.web.js +14 -4
  150. package/lib/commonjs/surfaces/index.web.js.map +1 -1
  151. package/lib/commonjs/tab-bar/index.web.js +13 -10
  152. package/lib/commonjs/tab-bar/index.web.js.map +1 -1
  153. package/lib/commonjs/tabs/Tabs.js +49 -2
  154. package/lib/commonjs/tabs/Tabs.js.map +1 -1
  155. package/lib/commonjs/theme/color-scope/index.web.js.map +1 -1
  156. package/lib/commonjs/theme/seed-scope/index.web.js.map +1 -1
  157. package/lib/commonjs/tooltip/index.web.js.map +1 -1
  158. package/lib/module/agent-chat/index.web.js +5 -3
  159. package/lib/module/agent-chat/index.web.js.map +1 -1
  160. package/lib/module/ai-chat/index.web.js +5 -2
  161. package/lib/module/ai-chat/index.web.js.map +1 -1
  162. package/lib/module/alert-dialog/index.web.js +10 -1
  163. package/lib/module/alert-dialog/index.web.js.map +1 -1
  164. package/lib/module/avatar-group/index.web.js +5 -0
  165. package/lib/module/avatar-group/index.web.js.map +1 -1
  166. package/lib/module/bottom-sheet/index.web.js +5 -0
  167. package/lib/module/bottom-sheet/index.web.js.map +1 -1
  168. package/lib/module/code/index.js +1 -0
  169. package/lib/module/code/index.js.map +1 -1
  170. package/lib/module/command/index.web.js +5 -0
  171. package/lib/module/command/index.web.js.map +1 -1
  172. package/lib/module/composer-loader/ComposerLoader.web.js +8 -0
  173. package/lib/module/composer-loader/ComposerLoader.web.js.map +1 -1
  174. package/lib/module/composer-loader/index.web.js +5 -2
  175. package/lib/module/composer-loader/index.web.js.map +1 -1
  176. package/lib/module/composer-panel/index.web.js +5 -3
  177. package/lib/module/composer-panel/index.web.js.map +1 -1
  178. package/lib/module/connection-dots/index.web.js +5 -0
  179. package/lib/module/connection-dots/index.web.js.map +1 -1
  180. package/lib/module/connection-status/index.web.js +5 -0
  181. package/lib/module/connection-status/index.web.js.map +1 -1
  182. package/lib/module/content-panel/index.web.js +5 -0
  183. package/lib/module/content-panel/index.web.js.map +1 -1
  184. package/lib/module/context-menu/ContextMenu.web.js +22 -4
  185. package/lib/module/context-menu/ContextMenu.web.js.map +1 -1
  186. package/lib/module/context-menu/context.js.map +1 -1
  187. package/lib/module/context-menu/index.web.js +5 -0
  188. package/lib/module/context-menu/index.web.js.map +1 -1
  189. package/lib/module/dialog/Dialog.web.js +13 -0
  190. package/lib/module/dialog/Dialog.web.js.map +1 -1
  191. package/lib/module/dialog/index.web.js +7 -11
  192. package/lib/module/dialog/index.web.js.map +1 -1
  193. package/lib/module/dropdown-menu/DropdownMenu.web.js +23 -3
  194. package/lib/module/dropdown-menu/DropdownMenu.web.js.map +1 -1
  195. package/lib/module/dropdown-menu/index.web.js +5 -0
  196. package/lib/module/dropdown-menu/index.web.js.map +1 -1
  197. package/lib/module/floating/FloatingPanel.js +42 -33
  198. package/lib/module/floating/FloatingPanel.js.map +1 -1
  199. package/lib/module/floating/escape-stack.js +85 -0
  200. package/lib/module/floating/escape-stack.js.map +1 -0
  201. package/lib/module/floating/menu-keyboard.js +227 -0
  202. package/lib/module/floating/menu-keyboard.js.map +1 -0
  203. package/lib/module/floating/menu-sub-flyout.js +28 -16
  204. package/lib/module/floating/menu-sub-flyout.js.map +1 -1
  205. package/lib/module/fonts/index.web.js +5 -20
  206. package/lib/module/fonts/index.web.js.map +1 -1
  207. package/lib/module/frosted-icon-button/FrostedIconButton.web.js +9 -0
  208. package/lib/module/frosted-icon-button/FrostedIconButton.web.js.map +1 -1
  209. package/lib/module/frosted-icon-button/index.web.js +5 -7
  210. package/lib/module/frosted-icon-button/index.web.js.map +1 -1
  211. package/lib/module/hooks/roving-focus.js +181 -0
  212. package/lib/module/hooks/roving-focus.js.map +1 -0
  213. package/lib/module/hover-card/index.web.js +5 -0
  214. package/lib/module/hover-card/index.web.js.map +1 -1
  215. package/lib/module/icons/remix/RiBookReadLine.js +9 -0
  216. package/lib/module/icons/remix/RiBookReadLine.js.map +1 -0
  217. package/lib/module/icons/remix/RiBugLine.js +9 -0
  218. package/lib/module/icons/remix/RiBugLine.js.map +1 -0
  219. package/lib/module/icons/remix/RiChat1Line.js +9 -0
  220. package/lib/module/icons/remix/RiChat1Line.js.map +1 -0
  221. package/lib/module/icons/remix/RiCloudLine.js +9 -0
  222. package/lib/module/icons/remix/RiCloudLine.js.map +1 -0
  223. package/lib/module/icons/remix/RiCodeLine.js +9 -0
  224. package/lib/module/icons/remix/RiCodeLine.js.map +1 -0
  225. package/lib/module/icons/remix/RiCpuLine.js +9 -0
  226. package/lib/module/icons/remix/RiCpuLine.js.map +1 -0
  227. package/lib/module/icons/remix/RiFloodLine.js +9 -0
  228. package/lib/module/icons/remix/RiFloodLine.js.map +1 -0
  229. package/lib/module/icons/remix/RiLockUnlockLine.js +9 -0
  230. package/lib/module/icons/remix/RiLockUnlockLine.js.map +1 -0
  231. package/lib/module/icons/remix/RiMoneyDollarCircleLine.js +9 -0
  232. package/lib/module/icons/remix/RiMoneyDollarCircleLine.js.map +1 -0
  233. package/lib/module/icons/remix/RiPlayCircleLine.js +9 -0
  234. package/lib/module/icons/remix/RiPlayCircleLine.js.map +1 -0
  235. package/lib/module/icons/remix/RiRocket2Line.js +9 -0
  236. package/lib/module/icons/remix/RiRocket2Line.js.map +1 -0
  237. package/lib/module/icons/remix/RiServerLine.js +9 -0
  238. package/lib/module/icons/remix/RiServerLine.js.map +1 -0
  239. package/lib/module/icons/remix/RiShareBoxLine.js +9 -0
  240. package/lib/module/icons/remix/RiShareBoxLine.js.map +1 -0
  241. package/lib/module/icons/remix/RiTv2Line.js +9 -0
  242. package/lib/module/icons/remix/RiTv2Line.js.map +1 -0
  243. package/lib/module/icons/remix/index.js +14 -0
  244. package/lib/module/icons/remix/index.js.map +1 -1
  245. package/lib/module/index.js +1 -1
  246. package/lib/module/index.js.map +1 -1
  247. package/lib/module/index.web.js +1 -1
  248. package/lib/module/index.web.js.map +1 -1
  249. package/lib/module/layout/StickySection.js +101 -0
  250. package/lib/module/layout/StickySection.js.map +1 -0
  251. package/lib/module/layout/header-dock.js +54 -0
  252. package/lib/module/layout/header-dock.js.map +1 -0
  253. package/lib/module/layout/index.js +2 -0
  254. package/lib/module/layout/index.js.map +1 -1
  255. package/lib/module/list/index.web.js +5 -0
  256. package/lib/module/list/index.web.js.map +1 -1
  257. package/lib/module/loading/Loading.js +17 -155
  258. package/lib/module/loading/Loading.js.map +1 -1
  259. package/lib/module/loading/Loading.web.js +19 -155
  260. package/lib/module/loading/Loading.web.js.map +1 -1
  261. package/lib/module/loading/LoadingBase.js +194 -0
  262. package/lib/module/loading/LoadingBase.js.map +1 -0
  263. package/lib/module/loading/index.web.js +5 -13
  264. package/lib/module/loading/index.web.js.map +1 -1
  265. package/lib/module/media-flight/index.web.js +5 -9
  266. package/lib/module/media-flight/index.web.js.map +1 -1
  267. package/lib/module/menubar/Menubar.js +15 -122
  268. package/lib/module/menubar/Menubar.js.map +1 -1
  269. package/lib/module/menubar/Menubar.web.js +18 -114
  270. package/lib/module/menubar/Menubar.web.js.map +1 -1
  271. package/lib/module/menubar/MenubarBase.js +146 -0
  272. package/lib/module/menubar/MenubarBase.js.map +1 -0
  273. package/lib/module/menubar/index.web.js +5 -0
  274. package/lib/module/menubar/index.web.js.map +1 -1
  275. package/lib/module/motion/index.web.js +5 -5
  276. package/lib/module/motion/index.web.js.map +1 -1
  277. package/lib/module/page-header/PageHeader.js +38 -14
  278. package/lib/module/page-header/PageHeader.js.map +1 -1
  279. package/lib/module/popover/index.web.js +5 -0
  280. package/lib/module/popover/index.web.js.map +1 -1
  281. package/lib/module/popover/parts.js +70 -12
  282. package/lib/module/popover/parts.js.map +1 -1
  283. package/lib/module/popover/surface.js +39 -13
  284. package/lib/module/popover/surface.js.map +1 -1
  285. package/lib/module/portal/index.web.js +6 -1
  286. package/lib/module/portal/index.web.js.map +1 -1
  287. package/lib/module/progressive-blur/index.web.js +5 -0
  288. package/lib/module/progressive-blur/index.web.js.map +1 -1
  289. package/lib/module/scroll/index.web.js +5 -0
  290. package/lib/module/scroll/index.web.js.map +1 -1
  291. package/lib/module/segmented-control/SegmentedControl.js +36 -1
  292. package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
  293. package/lib/module/select/Select.js +5 -77
  294. package/lib/module/select/Select.js.map +1 -1
  295. package/lib/module/select/Select.web.js +147 -82
  296. package/lib/module/select/Select.web.js.map +1 -1
  297. package/lib/module/select/index.js +2 -2
  298. package/lib/module/select/index.js.map +1 -1
  299. package/lib/module/select/index.web.js +7 -2
  300. package/lib/module/select/index.web.js.map +1 -1
  301. package/lib/module/select/shared.js +106 -6
  302. package/lib/module/select/shared.js.map +1 -1
  303. package/lib/module/sidebar/Sidebar.js +121 -108
  304. package/lib/module/sidebar/Sidebar.js.map +1 -1
  305. package/lib/module/sidebar/SidebarRail.js +70 -48
  306. package/lib/module/sidebar/SidebarRail.js.map +1 -1
  307. package/lib/module/sidebar/SidebarTeamMenu.js +2 -2
  308. package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
  309. package/lib/module/sidebar/SidebarUserMenu.js +2 -2
  310. package/lib/module/sidebar/SidebarUserMenu.js.map +1 -1
  311. package/lib/module/sidebar/parts.js +8 -8
  312. package/lib/module/sidebar/parts.js.map +1 -1
  313. package/lib/module/styles/web-view-style.js +5 -0
  314. package/lib/module/styles/web-view-style.js.map +1 -1
  315. package/lib/module/surfaces/SurfaceHost.js +6 -0
  316. package/lib/module/surfaces/SurfaceHost.js.map +1 -1
  317. package/lib/module/surfaces/index.web.js +14 -4
  318. package/lib/module/surfaces/index.web.js.map +1 -1
  319. package/lib/module/tab-bar/index.web.js +13 -10
  320. package/lib/module/tab-bar/index.web.js.map +1 -1
  321. package/lib/module/tabs/Tabs.js +49 -2
  322. package/lib/module/tabs/Tabs.js.map +1 -1
  323. package/lib/module/theme/color-scope/index.web.js +5 -0
  324. package/lib/module/theme/color-scope/index.web.js.map +1 -1
  325. package/lib/module/theme/seed-scope/index.web.js +5 -0
  326. package/lib/module/theme/seed-scope/index.web.js.map +1 -1
  327. package/lib/module/tooltip/index.web.js +5 -0
  328. package/lib/module/tooltip/index.web.js.map +1 -1
  329. package/lib/typescript/commonjs/agent-chat/index.web.d.ts.map +1 -1
  330. package/lib/typescript/commonjs/ai-chat/index.web.d.ts.map +1 -1
  331. package/lib/typescript/commonjs/alert-dialog/index.web.d.ts +5 -1
  332. package/lib/typescript/commonjs/alert-dialog/index.web.d.ts.map +1 -1
  333. package/lib/typescript/commonjs/avatar-group/index.web.d.ts.map +1 -1
  334. package/lib/typescript/commonjs/bottom-sheet/index.web.d.ts.map +1 -1
  335. package/lib/typescript/commonjs/code/index.d.ts +2 -0
  336. package/lib/typescript/commonjs/code/index.d.ts.map +1 -1
  337. package/lib/typescript/commonjs/command/index.web.d.ts.map +1 -1
  338. package/lib/typescript/commonjs/composer-loader/ComposerLoader.web.d.ts +8 -0
  339. package/lib/typescript/commonjs/composer-loader/ComposerLoader.web.d.ts.map +1 -1
  340. package/lib/typescript/commonjs/composer-loader/index.web.d.ts.map +1 -1
  341. package/lib/typescript/commonjs/composer-panel/index.web.d.ts.map +1 -1
  342. package/lib/typescript/commonjs/connection-dots/index.web.d.ts.map +1 -1
  343. package/lib/typescript/commonjs/connection-status/index.web.d.ts.map +1 -1
  344. package/lib/typescript/commonjs/content-panel/index.web.d.ts.map +1 -1
  345. package/lib/typescript/commonjs/context-menu/ContextMenu.web.d.ts.map +1 -1
  346. package/lib/typescript/commonjs/context-menu/context.d.ts +3 -0
  347. package/lib/typescript/commonjs/context-menu/context.d.ts.map +1 -1
  348. package/lib/typescript/commonjs/context-menu/index.web.d.ts.map +1 -1
  349. package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
  350. package/lib/typescript/commonjs/dialog/index.web.d.ts +2 -1
  351. package/lib/typescript/commonjs/dialog/index.web.d.ts.map +1 -1
  352. package/lib/typescript/commonjs/dropdown-menu/DropdownMenu.web.d.ts.map +1 -1
  353. package/lib/typescript/commonjs/dropdown-menu/index.web.d.ts.map +1 -1
  354. package/lib/typescript/commonjs/floating/FloatingPanel.d.ts +1 -1
  355. package/lib/typescript/commonjs/floating/FloatingPanel.d.ts.map +1 -1
  356. package/lib/typescript/commonjs/floating/escape-stack.d.ts +55 -0
  357. package/lib/typescript/commonjs/floating/escape-stack.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/floating/menu-keyboard.d.ts +57 -0
  359. package/lib/typescript/commonjs/floating/menu-keyboard.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/floating/menu-sub-flyout.d.ts.map +1 -1
  361. package/lib/typescript/commonjs/floating/types.d.ts +11 -0
  362. package/lib/typescript/commonjs/floating/types.d.ts.map +1 -1
  363. package/lib/typescript/commonjs/fonts/index.web.d.ts.map +1 -1
  364. package/lib/typescript/commonjs/frosted-icon-button/FrostedIconButton.web.d.ts.map +1 -1
  365. package/lib/typescript/commonjs/frosted-icon-button/index.web.d.ts.map +1 -1
  366. package/lib/typescript/commonjs/hooks/roving-focus.d.ts +66 -0
  367. package/lib/typescript/commonjs/hooks/roving-focus.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/hover-card/index.web.d.ts.map +1 -1
  369. package/lib/typescript/commonjs/icons/remix/RiBookReadLine.d.ts +8 -0
  370. package/lib/typescript/commonjs/icons/remix/RiBookReadLine.d.ts.map +1 -0
  371. package/lib/typescript/commonjs/icons/remix/RiBugLine.d.ts +8 -0
  372. package/lib/typescript/commonjs/icons/remix/RiBugLine.d.ts.map +1 -0
  373. package/lib/typescript/commonjs/icons/remix/RiChat1Line.d.ts +8 -0
  374. package/lib/typescript/commonjs/icons/remix/RiChat1Line.d.ts.map +1 -0
  375. package/lib/typescript/commonjs/icons/remix/RiCloudLine.d.ts +8 -0
  376. package/lib/typescript/commonjs/icons/remix/RiCloudLine.d.ts.map +1 -0
  377. package/lib/typescript/commonjs/icons/remix/RiCodeLine.d.ts +8 -0
  378. package/lib/typescript/commonjs/icons/remix/RiCodeLine.d.ts.map +1 -0
  379. package/lib/typescript/commonjs/icons/remix/RiCpuLine.d.ts +8 -0
  380. package/lib/typescript/commonjs/icons/remix/RiCpuLine.d.ts.map +1 -0
  381. package/lib/typescript/commonjs/icons/remix/RiFloodLine.d.ts +8 -0
  382. package/lib/typescript/commonjs/icons/remix/RiFloodLine.d.ts.map +1 -0
  383. package/lib/typescript/commonjs/icons/remix/RiLockUnlockLine.d.ts +8 -0
  384. package/lib/typescript/commonjs/icons/remix/RiLockUnlockLine.d.ts.map +1 -0
  385. package/lib/typescript/commonjs/icons/remix/RiMoneyDollarCircleLine.d.ts +8 -0
  386. package/lib/typescript/commonjs/icons/remix/RiMoneyDollarCircleLine.d.ts.map +1 -0
  387. package/lib/typescript/commonjs/icons/remix/RiPlayCircleLine.d.ts +8 -0
  388. package/lib/typescript/commonjs/icons/remix/RiPlayCircleLine.d.ts.map +1 -0
  389. package/lib/typescript/commonjs/icons/remix/RiRocket2Line.d.ts +8 -0
  390. package/lib/typescript/commonjs/icons/remix/RiRocket2Line.d.ts.map +1 -0
  391. package/lib/typescript/commonjs/icons/remix/RiServerLine.d.ts +8 -0
  392. package/lib/typescript/commonjs/icons/remix/RiServerLine.d.ts.map +1 -0
  393. package/lib/typescript/commonjs/icons/remix/RiShareBoxLine.d.ts +8 -0
  394. package/lib/typescript/commonjs/icons/remix/RiShareBoxLine.d.ts.map +1 -0
  395. package/lib/typescript/commonjs/icons/remix/RiTv2Line.d.ts +8 -0
  396. package/lib/typescript/commonjs/icons/remix/RiTv2Line.d.ts.map +1 -0
  397. package/lib/typescript/commonjs/icons/remix/index.d.ts +14 -0
  398. package/lib/typescript/commonjs/icons/remix/index.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/index.d.ts +2 -1
  400. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  401. package/lib/typescript/commonjs/index.web.d.ts +2 -1
  402. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  403. package/lib/typescript/commonjs/layout/StickySection.d.ts +8 -0
  404. package/lib/typescript/commonjs/layout/StickySection.d.ts.map +1 -0
  405. package/lib/typescript/commonjs/layout/header-dock.d.ts +21 -0
  406. package/lib/typescript/commonjs/layout/header-dock.d.ts.map +1 -0
  407. package/lib/typescript/commonjs/layout/index.d.ts +3 -0
  408. package/lib/typescript/commonjs/layout/index.d.ts.map +1 -1
  409. package/lib/typescript/commonjs/list/index.web.d.ts.map +1 -1
  410. package/lib/typescript/commonjs/loading/Loading.d.ts +8 -2
  411. package/lib/typescript/commonjs/loading/Loading.d.ts.map +1 -1
  412. package/lib/typescript/commonjs/loading/Loading.web.d.ts +10 -2
  413. package/lib/typescript/commonjs/loading/Loading.web.d.ts.map +1 -1
  414. package/lib/typescript/commonjs/loading/LoadingBase.d.ts +64 -0
  415. package/lib/typescript/commonjs/loading/LoadingBase.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/loading/index.web.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/media-flight/index.web.d.ts +0 -9
  418. package/lib/typescript/commonjs/media-flight/index.web.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/menubar/Menubar.d.ts +14 -9
  420. package/lib/typescript/commonjs/menubar/Menubar.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/menubar/Menubar.web.d.ts +8 -6
  422. package/lib/typescript/commonjs/menubar/Menubar.web.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/menubar/MenubarBase.d.ts +5 -0
  424. package/lib/typescript/commonjs/menubar/MenubarBase.d.ts.map +1 -0
  425. package/lib/typescript/commonjs/menubar/index.web.d.ts.map +1 -1
  426. package/lib/typescript/commonjs/motion/index.web.d.ts +0 -5
  427. package/lib/typescript/commonjs/motion/index.web.d.ts.map +1 -1
  428. package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/page-header/types.d.ts +10 -6
  430. package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/popover/index.web.d.ts.map +1 -1
  432. package/lib/typescript/commonjs/popover/parts.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/popover/surface.d.ts +15 -5
  434. package/lib/typescript/commonjs/popover/surface.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/portal/index.web.d.ts +1 -1
  436. package/lib/typescript/commonjs/portal/index.web.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/progressive-blur/index.web.d.ts.map +1 -1
  438. package/lib/typescript/commonjs/scroll/index.web.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
  440. package/lib/typescript/commonjs/select/Select.d.ts +2 -4
  441. package/lib/typescript/commonjs/select/Select.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/select/Select.web.d.ts +2 -4
  443. package/lib/typescript/commonjs/select/Select.web.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/select/index.d.ts +2 -2
  445. package/lib/typescript/commonjs/select/index.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/select/index.web.d.ts +2 -2
  447. package/lib/typescript/commonjs/select/index.web.d.ts.map +1 -1
  448. package/lib/typescript/commonjs/select/shared.d.ts +52 -5
  449. package/lib/typescript/commonjs/select/shared.d.ts.map +1 -1
  450. package/lib/typescript/commonjs/select/types.d.ts +6 -0
  451. package/lib/typescript/commonjs/select/types.d.ts.map +1 -1
  452. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  453. package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts +1 -1
  454. package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts.map +1 -1
  455. package/lib/typescript/commonjs/sidebar/parts.d.ts +8 -2
  456. package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
  457. package/lib/typescript/commonjs/sidebar/types.d.ts +2 -0
  458. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/styles/web-view-style.d.ts +2 -0
  460. package/lib/typescript/commonjs/styles/web-view-style.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/surfaces/SurfaceHost.d.ts.map +1 -1
  462. package/lib/typescript/commonjs/surfaces/index.web.d.ts +9 -4
  463. package/lib/typescript/commonjs/surfaces/index.web.d.ts.map +1 -1
  464. package/lib/typescript/commonjs/tab-bar/index.web.d.ts.map +1 -1
  465. package/lib/typescript/commonjs/tabs/Tabs.d.ts.map +1 -1
  466. package/lib/typescript/commonjs/tabs/types.d.ts +6 -0
  467. package/lib/typescript/commonjs/tabs/types.d.ts.map +1 -1
  468. package/lib/typescript/commonjs/theme/color-scope/index.web.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/theme/seed-scope/index.web.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/tooltip/index.web.d.ts.map +1 -1
  471. package/lib/typescript/module/agent-chat/index.web.d.ts.map +1 -1
  472. package/lib/typescript/module/ai-chat/index.web.d.ts.map +1 -1
  473. package/lib/typescript/module/alert-dialog/index.web.d.ts +5 -1
  474. package/lib/typescript/module/alert-dialog/index.web.d.ts.map +1 -1
  475. package/lib/typescript/module/avatar-group/index.web.d.ts.map +1 -1
  476. package/lib/typescript/module/bottom-sheet/index.web.d.ts.map +1 -1
  477. package/lib/typescript/module/code/index.d.ts +2 -0
  478. package/lib/typescript/module/code/index.d.ts.map +1 -1
  479. package/lib/typescript/module/command/index.web.d.ts.map +1 -1
  480. package/lib/typescript/module/composer-loader/ComposerLoader.web.d.ts +8 -0
  481. package/lib/typescript/module/composer-loader/ComposerLoader.web.d.ts.map +1 -1
  482. package/lib/typescript/module/composer-loader/index.web.d.ts.map +1 -1
  483. package/lib/typescript/module/composer-panel/index.web.d.ts.map +1 -1
  484. package/lib/typescript/module/connection-dots/index.web.d.ts.map +1 -1
  485. package/lib/typescript/module/connection-status/index.web.d.ts.map +1 -1
  486. package/lib/typescript/module/content-panel/index.web.d.ts.map +1 -1
  487. package/lib/typescript/module/context-menu/ContextMenu.web.d.ts.map +1 -1
  488. package/lib/typescript/module/context-menu/context.d.ts +3 -0
  489. package/lib/typescript/module/context-menu/context.d.ts.map +1 -1
  490. package/lib/typescript/module/context-menu/index.web.d.ts.map +1 -1
  491. package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
  492. package/lib/typescript/module/dialog/index.web.d.ts +2 -1
  493. package/lib/typescript/module/dialog/index.web.d.ts.map +1 -1
  494. package/lib/typescript/module/dropdown-menu/DropdownMenu.web.d.ts.map +1 -1
  495. package/lib/typescript/module/dropdown-menu/index.web.d.ts.map +1 -1
  496. package/lib/typescript/module/floating/FloatingPanel.d.ts +1 -1
  497. package/lib/typescript/module/floating/FloatingPanel.d.ts.map +1 -1
  498. package/lib/typescript/module/floating/escape-stack.d.ts +55 -0
  499. package/lib/typescript/module/floating/escape-stack.d.ts.map +1 -0
  500. package/lib/typescript/module/floating/menu-keyboard.d.ts +57 -0
  501. package/lib/typescript/module/floating/menu-keyboard.d.ts.map +1 -0
  502. package/lib/typescript/module/floating/menu-sub-flyout.d.ts.map +1 -1
  503. package/lib/typescript/module/floating/types.d.ts +11 -0
  504. package/lib/typescript/module/floating/types.d.ts.map +1 -1
  505. package/lib/typescript/module/fonts/index.web.d.ts.map +1 -1
  506. package/lib/typescript/module/frosted-icon-button/FrostedIconButton.web.d.ts.map +1 -1
  507. package/lib/typescript/module/frosted-icon-button/index.web.d.ts.map +1 -1
  508. package/lib/typescript/module/hooks/roving-focus.d.ts +66 -0
  509. package/lib/typescript/module/hooks/roving-focus.d.ts.map +1 -0
  510. package/lib/typescript/module/hover-card/index.web.d.ts.map +1 -1
  511. package/lib/typescript/module/icons/remix/RiBookReadLine.d.ts +8 -0
  512. package/lib/typescript/module/icons/remix/RiBookReadLine.d.ts.map +1 -0
  513. package/lib/typescript/module/icons/remix/RiBugLine.d.ts +8 -0
  514. package/lib/typescript/module/icons/remix/RiBugLine.d.ts.map +1 -0
  515. package/lib/typescript/module/icons/remix/RiChat1Line.d.ts +8 -0
  516. package/lib/typescript/module/icons/remix/RiChat1Line.d.ts.map +1 -0
  517. package/lib/typescript/module/icons/remix/RiCloudLine.d.ts +8 -0
  518. package/lib/typescript/module/icons/remix/RiCloudLine.d.ts.map +1 -0
  519. package/lib/typescript/module/icons/remix/RiCodeLine.d.ts +8 -0
  520. package/lib/typescript/module/icons/remix/RiCodeLine.d.ts.map +1 -0
  521. package/lib/typescript/module/icons/remix/RiCpuLine.d.ts +8 -0
  522. package/lib/typescript/module/icons/remix/RiCpuLine.d.ts.map +1 -0
  523. package/lib/typescript/module/icons/remix/RiFloodLine.d.ts +8 -0
  524. package/lib/typescript/module/icons/remix/RiFloodLine.d.ts.map +1 -0
  525. package/lib/typescript/module/icons/remix/RiLockUnlockLine.d.ts +8 -0
  526. package/lib/typescript/module/icons/remix/RiLockUnlockLine.d.ts.map +1 -0
  527. package/lib/typescript/module/icons/remix/RiMoneyDollarCircleLine.d.ts +8 -0
  528. package/lib/typescript/module/icons/remix/RiMoneyDollarCircleLine.d.ts.map +1 -0
  529. package/lib/typescript/module/icons/remix/RiPlayCircleLine.d.ts +8 -0
  530. package/lib/typescript/module/icons/remix/RiPlayCircleLine.d.ts.map +1 -0
  531. package/lib/typescript/module/icons/remix/RiRocket2Line.d.ts +8 -0
  532. package/lib/typescript/module/icons/remix/RiRocket2Line.d.ts.map +1 -0
  533. package/lib/typescript/module/icons/remix/RiServerLine.d.ts +8 -0
  534. package/lib/typescript/module/icons/remix/RiServerLine.d.ts.map +1 -0
  535. package/lib/typescript/module/icons/remix/RiShareBoxLine.d.ts +8 -0
  536. package/lib/typescript/module/icons/remix/RiShareBoxLine.d.ts.map +1 -0
  537. package/lib/typescript/module/icons/remix/RiTv2Line.d.ts +8 -0
  538. package/lib/typescript/module/icons/remix/RiTv2Line.d.ts.map +1 -0
  539. package/lib/typescript/module/icons/remix/index.d.ts +14 -0
  540. package/lib/typescript/module/icons/remix/index.d.ts.map +1 -1
  541. package/lib/typescript/module/index.d.ts +2 -1
  542. package/lib/typescript/module/index.d.ts.map +1 -1
  543. package/lib/typescript/module/index.web.d.ts +2 -1
  544. package/lib/typescript/module/index.web.d.ts.map +1 -1
  545. package/lib/typescript/module/layout/StickySection.d.ts +8 -0
  546. package/lib/typescript/module/layout/StickySection.d.ts.map +1 -0
  547. package/lib/typescript/module/layout/header-dock.d.ts +21 -0
  548. package/lib/typescript/module/layout/header-dock.d.ts.map +1 -0
  549. package/lib/typescript/module/layout/index.d.ts +3 -0
  550. package/lib/typescript/module/layout/index.d.ts.map +1 -1
  551. package/lib/typescript/module/list/index.web.d.ts.map +1 -1
  552. package/lib/typescript/module/loading/Loading.d.ts +8 -2
  553. package/lib/typescript/module/loading/Loading.d.ts.map +1 -1
  554. package/lib/typescript/module/loading/Loading.web.d.ts +10 -2
  555. package/lib/typescript/module/loading/Loading.web.d.ts.map +1 -1
  556. package/lib/typescript/module/loading/LoadingBase.d.ts +64 -0
  557. package/lib/typescript/module/loading/LoadingBase.d.ts.map +1 -0
  558. package/lib/typescript/module/loading/index.web.d.ts.map +1 -1
  559. package/lib/typescript/module/media-flight/index.web.d.ts +0 -9
  560. package/lib/typescript/module/media-flight/index.web.d.ts.map +1 -1
  561. package/lib/typescript/module/menubar/Menubar.d.ts +14 -9
  562. package/lib/typescript/module/menubar/Menubar.d.ts.map +1 -1
  563. package/lib/typescript/module/menubar/Menubar.web.d.ts +8 -6
  564. package/lib/typescript/module/menubar/Menubar.web.d.ts.map +1 -1
  565. package/lib/typescript/module/menubar/MenubarBase.d.ts +5 -0
  566. package/lib/typescript/module/menubar/MenubarBase.d.ts.map +1 -0
  567. package/lib/typescript/module/menubar/index.web.d.ts.map +1 -1
  568. package/lib/typescript/module/motion/index.web.d.ts +0 -5
  569. package/lib/typescript/module/motion/index.web.d.ts.map +1 -1
  570. package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
  571. package/lib/typescript/module/page-header/types.d.ts +10 -6
  572. package/lib/typescript/module/page-header/types.d.ts.map +1 -1
  573. package/lib/typescript/module/popover/index.web.d.ts.map +1 -1
  574. package/lib/typescript/module/popover/parts.d.ts.map +1 -1
  575. package/lib/typescript/module/popover/surface.d.ts +15 -5
  576. package/lib/typescript/module/popover/surface.d.ts.map +1 -1
  577. package/lib/typescript/module/portal/index.web.d.ts +1 -1
  578. package/lib/typescript/module/portal/index.web.d.ts.map +1 -1
  579. package/lib/typescript/module/progressive-blur/index.web.d.ts.map +1 -1
  580. package/lib/typescript/module/scroll/index.web.d.ts.map +1 -1
  581. package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
  582. package/lib/typescript/module/select/Select.d.ts +2 -4
  583. package/lib/typescript/module/select/Select.d.ts.map +1 -1
  584. package/lib/typescript/module/select/Select.web.d.ts +2 -4
  585. package/lib/typescript/module/select/Select.web.d.ts.map +1 -1
  586. package/lib/typescript/module/select/index.d.ts +2 -2
  587. package/lib/typescript/module/select/index.d.ts.map +1 -1
  588. package/lib/typescript/module/select/index.web.d.ts +2 -2
  589. package/lib/typescript/module/select/index.web.d.ts.map +1 -1
  590. package/lib/typescript/module/select/shared.d.ts +52 -5
  591. package/lib/typescript/module/select/shared.d.ts.map +1 -1
  592. package/lib/typescript/module/select/types.d.ts +6 -0
  593. package/lib/typescript/module/select/types.d.ts.map +1 -1
  594. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  595. package/lib/typescript/module/sidebar/SidebarRail.d.ts +1 -1
  596. package/lib/typescript/module/sidebar/SidebarRail.d.ts.map +1 -1
  597. package/lib/typescript/module/sidebar/parts.d.ts +8 -2
  598. package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
  599. package/lib/typescript/module/sidebar/types.d.ts +2 -0
  600. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  601. package/lib/typescript/module/styles/web-view-style.d.ts +2 -0
  602. package/lib/typescript/module/styles/web-view-style.d.ts.map +1 -1
  603. package/lib/typescript/module/surfaces/SurfaceHost.d.ts.map +1 -1
  604. package/lib/typescript/module/surfaces/index.web.d.ts +9 -4
  605. package/lib/typescript/module/surfaces/index.web.d.ts.map +1 -1
  606. package/lib/typescript/module/tab-bar/index.web.d.ts.map +1 -1
  607. package/lib/typescript/module/tabs/Tabs.d.ts.map +1 -1
  608. package/lib/typescript/module/tabs/types.d.ts +6 -0
  609. package/lib/typescript/module/tabs/types.d.ts.map +1 -1
  610. package/lib/typescript/module/theme/color-scope/index.web.d.ts.map +1 -1
  611. package/lib/typescript/module/theme/seed-scope/index.web.d.ts.map +1 -1
  612. package/lib/typescript/module/tooltip/index.web.d.ts.map +1 -1
  613. package/package.json +1 -1
  614. package/src/agent-chat/index.web.ts +5 -3
  615. package/src/ai-chat/index.web.ts +5 -2
  616. package/src/alert-dialog/index.web.ts +10 -1
  617. package/src/avatar-group/index.web.ts +5 -0
  618. package/src/bottom-sheet/index.web.ts +5 -0
  619. package/src/code/index.ts +2 -0
  620. package/src/command/index.web.ts +5 -0
  621. package/src/composer-loader/ComposerLoader.web.tsx +8 -0
  622. package/src/composer-loader/index.web.ts +5 -2
  623. package/src/composer-panel/index.web.ts +5 -3
  624. package/src/connection-dots/index.web.ts +5 -0
  625. package/src/connection-status/index.web.ts +5 -0
  626. package/src/content-panel/index.web.ts +5 -0
  627. package/src/context-menu/ContextMenu.web.tsx +26 -3
  628. package/src/context-menu/context.ts +3 -0
  629. package/src/context-menu/index.web.ts +5 -0
  630. package/src/dialog/Dialog.web.tsx +13 -0
  631. package/src/dialog/index.web.ts +7 -11
  632. package/src/dropdown-menu/DropdownMenu.web.tsx +25 -2
  633. package/src/dropdown-menu/index.web.ts +5 -0
  634. package/src/floating/FloatingPanel.tsx +37 -38
  635. package/src/floating/escape-stack.ts +92 -0
  636. package/src/floating/menu-keyboard.ts +242 -0
  637. package/src/floating/menu-sub-flyout.tsx +22 -17
  638. package/src/floating/types.ts +11 -0
  639. package/src/fonts/index.web.ts +5 -20
  640. package/src/frosted-icon-button/FrostedIconButton.web.tsx +9 -0
  641. package/src/frosted-icon-button/index.web.ts +5 -7
  642. package/src/hooks/roving-focus.ts +204 -0
  643. package/src/hover-card/index.web.ts +5 -0
  644. package/src/icons/remix/RiBookReadLine.tsx +6 -0
  645. package/src/icons/remix/RiBugLine.tsx +6 -0
  646. package/src/icons/remix/RiChat1Line.tsx +6 -0
  647. package/src/icons/remix/RiCloudLine.tsx +6 -0
  648. package/src/icons/remix/RiCodeLine.tsx +6 -0
  649. package/src/icons/remix/RiCpuLine.tsx +6 -0
  650. package/src/icons/remix/RiFloodLine.tsx +6 -0
  651. package/src/icons/remix/RiLockUnlockLine.tsx +6 -0
  652. package/src/icons/remix/RiMoneyDollarCircleLine.tsx +6 -0
  653. package/src/icons/remix/RiPlayCircleLine.tsx +6 -0
  654. package/src/icons/remix/RiRocket2Line.tsx +6 -0
  655. package/src/icons/remix/RiServerLine.tsx +6 -0
  656. package/src/icons/remix/RiShareBoxLine.tsx +6 -0
  657. package/src/icons/remix/RiTv2Line.tsx +6 -0
  658. package/src/icons/remix/index.ts +14 -0
  659. package/src/index.ts +4 -0
  660. package/src/index.web.ts +4 -0
  661. package/src/layout/StickySection.tsx +75 -0
  662. package/src/layout/header-dock.tsx +42 -0
  663. package/src/layout/index.ts +4 -0
  664. package/src/list/index.web.ts +5 -0
  665. package/src/loading/Loading.tsx +15 -135
  666. package/src/loading/Loading.web.tsx +16 -134
  667. package/src/loading/LoadingBase.tsx +170 -0
  668. package/src/loading/index.web.ts +5 -13
  669. package/src/media-flight/index.web.ts +5 -9
  670. package/src/menubar/Menubar.tsx +16 -147
  671. package/src/menubar/Menubar.web.tsx +15 -138
  672. package/src/menubar/MenubarBase.tsx +170 -0
  673. package/src/menubar/index.web.ts +5 -0
  674. package/src/motion/index.web.ts +5 -5
  675. package/src/page-header/PageHeader.tsx +26 -12
  676. package/src/page-header/types.ts +10 -6
  677. package/src/popover/index.web.ts +5 -0
  678. package/src/popover/parts.tsx +76 -12
  679. package/src/popover/surface.ts +68 -15
  680. package/src/portal/index.web.ts +6 -1
  681. package/src/progressive-blur/index.web.ts +5 -0
  682. package/src/scroll/index.web.ts +5 -0
  683. package/src/segmented-control/SegmentedControl.tsx +45 -1
  684. package/src/select/Select.tsx +4 -67
  685. package/src/select/Select.web.tsx +133 -69
  686. package/src/select/index.ts +3 -3
  687. package/src/select/index.web.ts +8 -3
  688. package/src/select/shared.tsx +107 -5
  689. package/src/select/types.ts +6 -0
  690. package/src/sidebar/Sidebar.tsx +3 -0
  691. package/src/sidebar/SidebarRail.tsx +6 -1
  692. package/src/sidebar/SidebarTeamMenu.tsx +2 -2
  693. package/src/sidebar/SidebarUserMenu.tsx +2 -2
  694. package/src/sidebar/parts.tsx +8 -9
  695. package/src/sidebar/types.ts +2 -0
  696. package/src/styles/web-view-style.ts +5 -0
  697. package/src/surfaces/SurfaceHost.tsx +6 -0
  698. package/src/surfaces/index.web.ts +14 -4
  699. package/src/tab-bar/index.web.ts +13 -10
  700. package/src/tabs/Tabs.tsx +65 -1
  701. package/src/tabs/types.ts +6 -0
  702. package/src/theme/color-scope/index.web.ts +5 -0
  703. package/src/theme/seed-scope/index.web.ts +5 -0
  704. package/src/tooltip/index.web.ts +5 -0
@@ -0,0 +1,170 @@
1
+ /**
2
+ * The three `Menubar` parts that are the SAME on both platforms.
3
+ *
4
+ * A menubar forks in exactly one place — what a menu opens INTO. Native
5
+ * presents the bottom sheet every Bloom overlay resolves to; web anchors a
6
+ * `floating/FloatingPanel` under the trigger. The bar itself, the per-menu
7
+ * state and the trigger are identical, so they live here and each fork
8
+ * re-exports them rather than keeping a second copy that has to be edited
9
+ * twice.
10
+ *
11
+ * NEUTRAL by construction: everything this module reaches (`floating/*`,
12
+ * `hooks/*`, `styles/*`, `./context`, `./types`) is fork-free. That is not a
13
+ * detail — `web-fork-reachability.test.ts` only scans `.web` files, so a
14
+ * neutral module naming a forked target resolves to NATIVE in every bundler
15
+ * that is not Metro and no gate would report it.
16
+ */
17
+ import React, { useMemo, useRef } from 'react';
18
+ import type { View as RNView } from 'react-native';
19
+
20
+ import {
21
+ MENUBAR_CLASS,
22
+ MENUBAR_TRIGGER_CLASS,
23
+ MENUBAR_TRIGGER_OPEN_CLASS,
24
+ MENUBAR_TRIGGER_TEXT_CLASS,
25
+ MENU_TRIGGER_POPUP,
26
+ } from '../floating/constants';
27
+ import { useMenuPalette } from '../floating/menu-palette';
28
+ import { menuType } from '../floating/menu-type';
29
+ import { cx } from '../floating/shared';
30
+ import { TriggerSlot } from '../floating/TriggerSlot';
31
+ import { useMenuFocusIntent, useMenuTriggerKeys } from '../floating/menu-keyboard';
32
+ import { useControllableState } from '../hooks/use-controllable-state';
33
+ import { StyledText, StyledView } from '../styles/styled-primitives';
34
+ import {
35
+ MenubarMenuProvider,
36
+ MenubarProvider,
37
+ useMenubar,
38
+ useMenubarMenu,
39
+ } from './context';
40
+ import type { MenubarMenuProps, MenubarProps, MenubarTriggerProps } from './types';
41
+
42
+ export function Menubar({
43
+ children,
44
+ value,
45
+ defaultValue,
46
+ onValueChange,
47
+ label = 'Menu bar',
48
+ className,
49
+ style,
50
+ testID,
51
+ }: MenubarProps) {
52
+ const [openValue, setValue] = useControllableState<string | undefined>({
53
+ value,
54
+ defaultValue,
55
+ onChange: onValueChange,
56
+ });
57
+ const context = useMemo(() => ({ value: openValue, setValue }), [openValue, setValue]);
58
+ const palette = useMenuPalette();
59
+ const barPaint = {
60
+ backgroundColor: palette.trigger.background,
61
+ borderColor: palette.trigger.border,
62
+ boxShadow: palette.trigger.shadow,
63
+ };
64
+
65
+ return (
66
+ <MenubarProvider value={context}>
67
+ {/* `shadow-s` — the bar is a raised control, not an overlay, so it takes
68
+ the lighter of Bloom's two elevation roles. It reaches WEB through the
69
+ class and NATIVE through `barPaint`, because `design-tokens/shadows`
70
+ is platform-forked and its contract is that a multi-layer
71
+ `box-shadow` is not something to rely on NativeWind translating to an
72
+ RN elevation. On web the two agree, so whichever wins paints the
73
+ same thing. */}
74
+ <StyledView
75
+ role="menubar"
76
+ aria-label={label}
77
+ testID={testID}
78
+ className={cx(MENUBAR_CLASS, className)}
79
+ style={[barPaint, style]}>
80
+ {children}
81
+ </StyledView>
82
+ </MenubarProvider>
83
+ );
84
+ }
85
+
86
+ export function MenubarMenu({ children, value }: MenubarMenuProps) {
87
+ const bar = useMenubar();
88
+ const anchorRef = useRef<RNView | null>(null);
89
+ const { setValue } = bar;
90
+ const focusIntent = useMenuFocusIntent();
91
+
92
+ const context = useMemo(
93
+ () => ({
94
+ open: bar.value === value,
95
+ setOpen: (next: boolean) => setValue(next ? value : undefined),
96
+ anchorRef,
97
+ focusIntent,
98
+ }),
99
+ [bar.value, value, setValue, focusIntent],
100
+ );
101
+
102
+ return <MenubarMenuProvider value={context}>{children}</MenubarMenuProvider>;
103
+ }
104
+
105
+ export function MenubarTrigger({
106
+ children,
107
+ asChild,
108
+ disabled,
109
+ label,
110
+ className,
111
+ style,
112
+ testID,
113
+ }: MenubarTriggerProps) {
114
+ const menu = useMenubarMenu();
115
+ const palette = useMenuPalette();
116
+ // Web: Enter/Space/ArrowDown open into the first row, ArrowUp into the last,
117
+ // and focus returns here on close (`floating/menu-keyboard.ts`). Inert on
118
+ // native, where there is no DOM node to listen on.
119
+ useMenuTriggerKeys(menu.anchorRef, {
120
+ open: menu.open,
121
+ setOpen: menu.setOpen,
122
+ disabled,
123
+ intent: menu.focusIntent,
124
+ });
125
+
126
+ // `flex items-center rounded-md px-2 py-1.5`, plus `bg-accent` while its menu
127
+ // is open, and `text-sm font-medium` for the label. A menubar trigger is a
128
+ // BUTTON with chrome of its own, not a bare hit box — leaving it unstyled is
129
+ // why a Bloom menubar read as loose text against a pill-per-menu bar. The
130
+ // same chrome on both platforms, so the bar reads identically. `asChild`
131
+ // still hands the whole thing to the caller.
132
+ const trigger = (
133
+ <StyledView
134
+ className={cx(
135
+ MENUBAR_TRIGGER_CLASS,
136
+ menu.open && MENUBAR_TRIGGER_OPEN_CLASS,
137
+ className,
138
+ )}
139
+ style={{ backgroundColor: menu.open ? palette.rowHighlight : 'transparent' }}>
140
+ {typeof children === 'string' ? (
141
+ <StyledText
142
+ className={MENUBAR_TRIGGER_TEXT_CLASS}
143
+ // `text-body-medium text-text-primary`, in Inter.
144
+ style={[menuType('body-medium'), { color: palette.text }]}>
145
+ {children}
146
+ </StyledText>
147
+ ) : (
148
+ children
149
+ )}
150
+ </StyledView>
151
+ );
152
+
153
+ return (
154
+ <TriggerSlot
155
+ asChild={asChild}
156
+ anchorRef={menu.anchorRef}
157
+ style={style}
158
+ testID={testID}
159
+ handle={{
160
+ onPress: () => menu.setOpen(!menu.open),
161
+ disabled,
162
+ accessibilityLabel: label,
163
+ accessibilityRole: 'button',
164
+ 'aria-haspopup': MENU_TRIGGER_POPUP,
165
+ 'aria-expanded': menu.open,
166
+ }}>
167
+ {asChild ? children : trigger}
168
+ </TriggerSlot>
169
+ );
170
+ }
@@ -1,3 +1,8 @@
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/menubar/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
1
6
  export {
2
7
  Menubar,
3
8
  MenubarMenu,
@@ -1,8 +1,8 @@
1
- /**
2
- * Web variant of the `motion` barrel. Only the three layout-animation presets
3
- * fork — see `motion.web.ts` for why. `ScreenTransition` is universal: it already
4
- * branches on `Platform.OS` internally.
5
- */
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/motion/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
6
6
  export { ScaleAndFadeIn, ScaleAndFadeOut, ShrinkAndPop } from './motion.web';
7
7
  export { ScreenTransition } from './ScreenTransition';
8
8
  export type { ScreenTransitionProps, ScreenTransitionDirection } from './types';
@@ -16,6 +16,7 @@ import Animated, {
16
16
  } from 'react-native-reanimated';
17
17
  import { SafeAreaInsetsContext } from 'react-native-safe-area-context';
18
18
 
19
+ import { useHeaderDockContext } from '../layout/header-dock';
19
20
  import { useSurfaceFill } from '../styles/surface-levels';
20
21
  import { useScreenContext } from '../screen/context';
21
22
  import { Button } from '../button';
@@ -161,7 +162,16 @@ function PageHeaderComponent({
161
162
  // the content reads it back. Measured rather than computed: a second title
162
163
  // line, an enlarged font or a notch all move it, and every one of those is a
163
164
  // case a constant was written to survive and does not.
164
- useClaimTopEdge(overlay ? height : 0);
165
+ const dock = useHeaderDockContext();
166
+ const dockProgress = dock?.progress;
167
+ useClaimTopEdge(overlay || placement === 'overlap' || dock ? height : 0);
168
+ useEffect(() => {
169
+ if (!dock) return;
170
+ dock.headerHeight.value = height;
171
+ dock.overlay.value = overlay || placement === 'overlap';
172
+ dock.setOverlaps(overlay || placement === 'overlap');
173
+ return () => { dock.headerHeight.value = 0; };
174
+ }, [dock, height, overlay, placement]);
165
175
 
166
176
  const paint = useMemo(() => {
167
177
  return {
@@ -181,8 +191,8 @@ function PageHeaderComponent({
181
191
  const screen = useScreenContext();
182
192
  const contextScrollY = useScrollOffset();
183
193
  const internalScrollY = useSharedValue(0);
184
- const scrollY = externalScrollY ?? screen?.scrollY ?? contextScrollY ?? internalScrollY;
185
- const followsWindow = !externalScrollY && !screen && !contextScrollY;
194
+ const scrollY = externalScrollY ?? dock?.scrollY ?? screen?.scrollY ?? contextScrollY ?? internalScrollY;
195
+ const followsWindow = !externalScrollY && !dock && !screen && !contextScrollY;
186
196
 
187
197
  useEffect(() => {
188
198
  if (!isWeb || !followsWindow || typeof window === 'undefined') return undefined;
@@ -196,12 +206,12 @@ function PageHeaderComponent({
196
206
 
197
207
  const threshold = Math.max(1, Number.isFinite(scrollThreshold) ? scrollThreshold : DEFAULT_THRESHOLD);
198
208
  const revealOffset = Math.max(0, Number.isFinite(titleRevealOffset) ? titleRevealOffset : 0);
199
- const [titleHidden, setTitleHidden] = useState(() => titleReveal === 'onScroll' && scrollY.value <= revealOffset);
200
- useEffect(() => { setTitleHidden(titleReveal === 'onScroll' && scrollY.value <= revealOffset); }, [titleReveal, scrollY, revealOffset]);
209
+ const [titleHidden, setTitleHidden] = useState(() => (titleReveal === 'onDock' ? (dockProgress?.value ?? 0) <= 0 : titleReveal === 'onScroll' && scrollY.value <= revealOffset));
210
+ useEffect(() => { setTitleHidden((titleReveal === 'onDock' ? (dockProgress?.value ?? 0) <= 0 : titleReveal === 'onScroll' && scrollY.value <= revealOffset)); }, [titleReveal, scrollY, revealOffset, dockProgress]);
201
211
  useAnimatedReaction(
202
- () => titleReveal === 'onScroll' && scrollY.value <= revealOffset,
212
+ () => (titleReveal === 'onDock' ? (dockProgress?.value ?? 0) <= 0 : titleReveal === 'onScroll' && scrollY.value <= revealOffset),
203
213
  (hidden, previous) => { if (hidden !== previous) runOnJS(setTitleHidden)(hidden); },
204
- [titleReveal, scrollY, revealOffset, setTitleHidden],
214
+ [titleReveal, scrollY, revealOffset, setTitleHidden, dockProgress],
205
215
  );
206
216
 
207
217
  const shadowStyle = useAnimatedStyle(() => ({
@@ -215,13 +225,13 @@ function PageHeaderComponent({
215
225
  }), [scrollY, threshold, transparent]);
216
226
 
217
227
  const scrimStyle = useAnimatedStyle(() => ({
218
- opacity:
228
+ opacity: (1 - (dockProgress?.value ?? 0)) * (
219
229
  scrim === 'always'
220
230
  ? 1
221
231
  : scrim === 'none'
222
232
  ? 0
223
- : interpolate(scrollY.value, [0, threshold], [0, 1], Extrapolation.CLAMP),
224
- }), [scrollY, threshold, scrim]);
233
+ : interpolate(scrollY.value, [0, threshold], [0, 1], Extrapolation.CLAMP)),
234
+ }), [scrollY, threshold, scrim, dockProgress]);
225
235
 
226
236
  // Separate from the background's: a header can be transparent and still name
227
237
  // its screen, and one over a hero photo can do the opposite.
@@ -229,8 +239,8 @@ function PageHeaderComponent({
229
239
  opacity:
230
240
  titleReveal === 'always'
231
241
  ? 1
232
- : Math.min(1, Math.max(0, (scrollY.value - revealOffset) / threshold)),
233
- }), [scrollY, threshold, titleReveal, revealOffset]);
242
+ : titleReveal === 'onDock' ? (dockProgress?.value ?? 0) : Math.min(1, Math.max(0, (scrollY.value - revealOffset) / threshold)),
243
+ }), [scrollY, threshold, titleReveal, revealOffset, dockProgress]);
234
244
 
235
245
  const borderStyle = useAnimatedStyle(() => ({
236
246
  opacity:
@@ -342,6 +352,7 @@ function PageHeaderComponent({
342
352
  transitionProperty: 'top', transitionDuration: 'var(--bloom-panel-inset-duration, 0ms)', transitionTimingFunction: 'ease-in-out' }
343
353
  : null;
344
354
 
355
+ const dockFillStyle = useAnimatedStyle(() => ({ opacity: dockProgress?.value ?? 0 }), [dockProgress]);
345
356
  const chrome = floating ? (
346
357
  <Animated.View
347
358
  // A PROP: react-native-web resolves `none` from the prop path only, and
@@ -407,10 +418,13 @@ function PageHeaderComponent({
407
418
  { paddingTop: padTop },
408
419
  overlay ? [styles.overlay, { zIndex: Z_INDEX.floating }] : null,
409
420
  containerWeb,
421
+ placement === 'overlap' ? { marginBottom: -height, zIndex: Z_INDEX.floating } : null,
410
422
  style,
411
423
  ]}
412
424
  >
413
425
  {chrome}
426
+ {floating && dock ? <Animated.View pointerEvents="none" testID={testID ? `${testID}-docked-fill` : undefined}
427
+ style={[StyleSheet.absoluteFill, {backgroundColor: surfaceFill}, dockFillStyle]} /> : null}
414
428
  <View
415
429
  style={[styles.bar, { paddingLeft: sideInset, paddingRight: sideInset }]}
416
430
  pointerEvents={floating ? 'box-none' : undefined}
@@ -30,11 +30,14 @@ export type PageHeaderPresentation = 'floating' | 'bar';
30
30
  * at the top of the container and scrolls under the islands. The header then
31
31
  * CLAIMS its measured height on `layout/top-edge`, and the content reads it
32
32
  * with `useTopEdgeInset()` so its first item is not born underneath. This is
33
- * the placement the floating presentation was designed for; the two are
34
- * separate props because a floating header above a fixed panel is also a real
35
- * arrangement.
33
+ * placement the floating presentation was designed for.
34
+ *
35
+ * `overlap` keeps document stickiness while allowing the following hero to
36
+ * start behind the measured header; native places it before the list.
37
+ * Placement and presentation remain independent: a floating header above a
38
+ * fixed panel is also a supported arrangement.
36
39
  */
37
- export type PageHeaderPlacement = 'inline' | 'overlay';
40
+ export type PageHeaderPlacement = 'inline' | 'overlay' | 'overlap';
38
41
 
39
42
  /**
40
43
  * The bottom separator: `auto` fades it in once the page has scrolled past
@@ -60,13 +63,14 @@ export type PageHeaderScrim = 'auto' | 'always' | 'none';
60
63
  *
61
64
  * `always` (default) is the ordinary screen header. `onScroll` holds the title
62
65
  * back and fades it in with the scrim — the shape a header over a hero photo
63
- * wants, where the photo already names the screen.
66
+ * wants, where the photo already names the screen. `onDock` uses the paired
67
+ * StickySection arrival instead, inside HeaderDockProvider.
64
68
  *
65
69
  * It is a prop of its own rather than a side effect of the background, because
66
70
  * the two are different questions and conflating them is how every header that
67
71
  * turned transparent also lost its title.
68
72
  */
69
- export type PageHeaderTitleReveal = 'always' | 'onScroll';
73
+ export type PageHeaderTitleReveal = 'always' | 'onScroll' | 'onDock';
70
74
 
71
75
  export interface PageHeaderProps {
72
76
  /** A string renders as the heading; a node renders as-is (and owns its own semantics). */
@@ -1,3 +1,8 @@
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/popover/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
1
6
  export { Popover, PopoverTrigger, PopoverContent } from './Popover.web';
2
7
  export {
3
8
  PopoverHeader,
@@ -6,25 +6,41 @@
6
6
  * header/footer `px-2` is measured against — 18px from the panel edge on every
7
7
  * side ("panel p-2.5 + row px-2").
8
8
  *
9
- * PopoverHeader flex items-center gap-2 px-2 pt-1 (dashboard team menu)
9
+ * PopoverHeader flex items-center gap-2 px-2 pt-1 (sidebar team menu)
10
10
  * PopoverTitle text-body-medium text-text-primary (secondary: group label)
11
11
  * PopoverDescription text-body-regular text-text-secondary
12
- * PopoverFooter flex items-center gap-3 px-2 pb-2 (user menu actions)
12
+ * PopoverFooter flex items-center gap-3 px-2 pb-2 (sidebar user menu actions)
13
13
  * PopoverSeparator -mx-2.5 my-2.5 h-px bg-border-button-default
14
14
  *
15
15
  * Popovers have no close button and no arrow, so neither is a part.
16
16
  *
17
- * Colours are resolved inline from `menu-palette.ts`; a text colour default is
18
- * applied only when the caller passes no `className`, so a `text-*` utility is
19
- * never outranked (AGENTS.md, "Style and `className`").
17
+ * ── HOW A CALLER'S CLASS STILL WINS ─────────────────────────────────────────
18
+ *
19
+ * Every default here is INLINE, because the colours are ramp stops that exist
20
+ * as no CSS variable and the geometry has to agree with them. But an inline
21
+ * style beats ANY class on web, so a naive inline default silently outranks
22
+ * whatever the caller passes: `<PopoverSeparator className="bg-red-500" />`
23
+ * painted the palette colour, and `<PopoverHeader className="px-4" />` kept
24
+ * its 8px.
25
+ *
26
+ * So each part omits exactly the properties the caller's utilities NAME, using
27
+ * the same token scan the panel uses (`classChromeOverrides` in `surface.ts`).
28
+ * The parts previously used an all-or-nothing guard instead — drop the colour
29
+ * default if ANY `className` is present — which failed in the other direction:
30
+ * `<PopoverTitle className="mt-1">` lost its colour entirely.
31
+ *
32
+ * The trade-off is real and the panel already made it: on a web build whose
33
+ * Tailwind/NativeWind pipeline is not wired (`AGENTS.md`, "Consumer web CSS
34
+ * pipeline"), a named property falls back to NOTHING rather than to the
35
+ * default. A caller who names it is asking to own it.
20
36
  */
21
37
  import React from 'react';
22
- import { StyleSheet, View } from 'react-native';
38
+ import { StyleSheet, View, type ViewStyle } from 'react-native';
23
39
 
24
40
  import { useMenuPalette } from '../floating/menu-palette';
25
41
  import { StyledView } from '../styles/styled-primitives';
26
42
  import { Text } from '../typography';
27
- import { POPOVER_PADDING } from './surface';
43
+ import { classChromeOverrides, POPOVER_PADDING, type PopoverChromeKey } from './surface';
28
44
  import type {
29
45
  PopoverDescriptionProps,
30
46
  PopoverFooterProps,
@@ -33,9 +49,47 @@ import type {
33
49
  PopoverTitleProps,
34
50
  } from './types';
35
51
 
52
+ /**
53
+ * `base` minus the properties the caller's `className` claims.
54
+ *
55
+ * It walks BASE, not the map: a property with no chrome key is one no utility
56
+ * can name, so it is always kept. Walking the map instead would silently drop
57
+ * whatever was added to a part's stylesheet without being classified — the
58
+ * failure would be a missing default, with nothing to report it.
59
+ */
60
+ function kept(base: ViewStyle, owned: ReadonlySet<PopoverChromeKey>): ViewStyle {
61
+ if (owned.size === 0) return base;
62
+ const out: ViewStyle = {};
63
+ for (const [property, value] of Object.entries(base)) {
64
+ const key = PROPERTY_KEY[property];
65
+ if (key === undefined || !owned.has(key)) {
66
+ Object.assign(out, { [property]: value });
67
+ }
68
+ }
69
+ return out;
70
+ }
71
+
72
+ /** Which chrome key each style property belongs to. */
73
+ const PROPERTY_KEY: Record<string, PopoverChromeKey | undefined> = {
74
+ flexDirection: 'flexDirection',
75
+ alignItems: 'alignItems',
76
+ gap: 'gap',
77
+ paddingLeft: 'paddingLeft',
78
+ paddingRight: 'paddingRight',
79
+ paddingTop: 'paddingTop',
80
+ paddingBottom: 'paddingBottom',
81
+ marginLeft: 'marginLeft',
82
+ marginRight: 'marginRight',
83
+ marginTop: 'marginTop',
84
+ marginBottom: 'marginBottom',
85
+ height: 'height',
86
+ backgroundColor: 'background',
87
+ };
88
+
36
89
  export function PopoverHeader({ leading, children, className, style, testID }: PopoverHeaderProps) {
90
+ const owned = classChromeOverrides(className);
37
91
  return (
38
- <StyledView className={className} style={[styles.header, style]} testID={testID}>
92
+ <StyledView className={className} style={[kept(styles.header, owned), style]} testID={testID}>
39
93
  {leading ? <View style={styles.leading}>{leading}</View> : null}
40
94
  <View style={styles.headerText}>{children}</View>
41
95
  </StyledView>
@@ -57,7 +111,7 @@ export function PopoverTitle({
57
111
  variant="body-medium"
58
112
  numberOfLines={numberOfLines}
59
113
  className={className}
60
- style={[className ? null : { color }, style]}
114
+ style={[classChromeOverrides(className).has('color') ? null : { color }, style]}
61
115
  testID={testID}>
62
116
  {children}
63
117
  </Text>
@@ -77,7 +131,12 @@ export function PopoverDescription({
77
131
  variant="body-regular"
78
132
  numberOfLines={numberOfLines}
79
133
  className={className}
80
- style={[className ? null : { color: palette.textSecondary }, style]}
134
+ style={[
135
+ classChromeOverrides(className).has('color')
136
+ ? null
137
+ : { color: palette.textSecondary },
138
+ style,
139
+ ]}
81
140
  testID={testID}>
82
141
  {children}
83
142
  </Text>
@@ -85,8 +144,9 @@ export function PopoverDescription({
85
144
  }
86
145
 
87
146
  export function PopoverFooter({ children, className, style, testID }: PopoverFooterProps) {
147
+ const owned = classChromeOverrides(className);
88
148
  return (
89
- <StyledView className={className} style={[styles.footer, style]} testID={testID}>
149
+ <StyledView className={className} style={[kept(styles.footer, owned), style]} testID={testID}>
90
150
  {children}
91
151
  </StyledView>
92
152
  );
@@ -94,12 +154,16 @@ export function PopoverFooter({ children, className, style, testID }: PopoverFoo
94
154
 
95
155
  export function PopoverSeparator({ className, style, testID }: PopoverSeparatorProps) {
96
156
  const palette = useMenuPalette();
157
+ const owned = classChromeOverrides(className);
97
158
  return (
98
159
  <StyledView
99
160
  // Decorative: the sections it divides are announced on their own.
100
161
  aria-hidden
101
162
  className={className}
102
- style={[styles.separator, { backgroundColor: palette.border }, style]}
163
+ style={[
164
+ kept({ ...styles.separator, backgroundColor: palette.border }, owned),
165
+ style,
166
+ ]}
103
167
  testID={testID}
104
168
  />
105
169
  );
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * The popover PANEL — Bloom's one floating surface, resolved to inline style.
3
3
  *
4
- * Every floating panel (`dropdown/menu-styles.ts`'s `MENU_POPOVER_SURFACE`, the
5
- * dashboard team/user menus, the calendar inbox menu, the ai-chat menus) spells
6
- * the same class string:
4
+ * Every floating panel in the fleet — the sidebar team and user menus, the
5
+ * calendar inbox menu, the ai-chat menus — spells the same class string:
7
6
  *
8
7
  * w-[266px] max-w-[calc(100vw-32px)] overflow-y-auto
9
8
  * rounded-2xl border border-border-button-default
@@ -32,7 +31,7 @@
32
31
  import type { MenuPalette } from '../floating/menu-palette';
33
32
  import type { WebCssStyle } from '../styles/web-view-style';
34
33
 
35
- /** `w-[266px]` — `MENU_POPOVER_WIDTH`. */
34
+ /** `w-[266px]` — the one panel width every floating surface shares. */
36
35
  export const POPOVER_WIDTH = 266;
37
36
  /** `rounded-2xl`. */
38
37
  export const POPOVER_RADIUS = 16;
@@ -46,36 +45,91 @@ export const POPOVER_SIDE_OFFSET = 8;
46
45
  export type PopoverChromeKey =
47
46
  | 'width'
48
47
  | 'maxWidth'
49
- | 'padding'
48
+ | 'paddingTop'
49
+ | 'paddingBottom'
50
+ | 'paddingLeft'
51
+ | 'paddingRight'
50
52
  | 'radius'
51
53
  | 'borderWidth'
52
54
  | 'borderColor'
53
55
  | 'background'
54
56
  | 'shadow'
55
- | 'overflow';
57
+ | 'overflow'
58
+ // The rest are the PANEL PARTS' chrome (`parts.tsx`). The panel itself sets
59
+ // no default for any of them, so `resolvePopoverSurfaceStyle` ignores them.
60
+ | 'color'
61
+ | 'gap'
62
+ | 'marginTop'
63
+ | 'marginBottom'
64
+ | 'marginLeft'
65
+ | 'marginRight'
66
+ | 'height'
67
+ | 'flexDirection'
68
+ | 'alignItems';
56
69
 
57
70
  const BORDER_WIDTH = /^border(-[xytrblse])?(-\d+(\.\d+)?|-\[[^\]]+px\])?$/;
58
71
 
72
+ /**
73
+ * The sides a spacing utility's axis letter claims. `p-4` has no letter and
74
+ * claims all four; `px`/`py` are the pairs; `pt`/`pb`/`pl`/`pr` are single
75
+ * sides. `ps`/`pe` are the LOGICAL start and end — one side each, not the
76
+ * pair — which react-native-web resolves to left and right in an LTR
77
+ * document. Treating them as the pair would drop a default the caller never
78
+ * asked to own.
79
+ */
80
+ function sidesOf(letter: string | undefined, property: 'padding' | 'margin'): PopoverChromeKey[] {
81
+ const sides =
82
+ letter === undefined ? ['Top', 'Bottom', 'Left', 'Right']
83
+ : letter === 'x' ? ['Left', 'Right']
84
+ : letter === 'y' ? ['Top', 'Bottom']
85
+ : letter === 't' ? ['Top']
86
+ : letter === 'b' ? ['Bottom']
87
+ : letter === 'l' || letter === 's' ? ['Left']
88
+ : letter === 'r' || letter === 'e' ? ['Right']
89
+ : [];
90
+ return sides.map((side) => `${property}${side}` as PopoverChromeKey);
91
+ }
92
+
59
93
  /**
60
94
  * Which chrome properties a caller's utility classes set. Variants (`dark:`,
61
95
  * `md:`, `hover:`), the important `!` and a negative `-` are stripped first, so
62
96
  * `md:!p-0` counts as padding.
97
+ *
98
+ * Padding and margin are claimed PER SIDE, because the utilities are: `px-4`
99
+ * names left and right and says nothing about the top, so a part that also
100
+ * sets `paddingTop` must keep it. Treating them as one key dropped a header's
101
+ * `pt-1` for a caller who only asked for wider sides.
102
+ *
103
+ * `text-*` is counted as a COLOUR, including the size steps (`text-sm`). That
104
+ * is deliberately imprecise: telling `text-sm` from `text-red-500` means
105
+ * knowing the consumer's palette, and the alternative the parts used before
106
+ * this — drop the colour default whenever ANY `className` is passed — is
107
+ * strictly worse, since it loses the colour to an unrelated `mt-1`.
63
108
  */
64
109
  export function classChromeOverrides(className?: string): ReadonlySet<PopoverChromeKey> {
65
110
  const keys = new Set<PopoverChromeKey>();
66
111
  if (!className) return keys;
112
+ let spacing: RegExpExecArray | null;
67
113
  for (const raw of className.split(/\s+/)) {
68
114
  if (!raw) continue;
69
115
  const token = raw.slice(raw.lastIndexOf(':') + 1).replace(/^!/, '').replace(/^-/, '');
70
116
  if (/^(w|size)-/.test(token)) keys.add('width');
71
117
  else if (/^max-w-/.test(token)) keys.add('maxWidth');
72
- else if (/^p[xytrblse]?-/.test(token)) keys.add('padding');
118
+ else if ((spacing = /^([pm])([xytrbles])?-/.exec(token))) {
119
+ const property = spacing[1] === 'p' ? 'padding' : 'margin';
120
+ for (const key of sidesOf(spacing[2], property)) keys.add(key);
121
+ }
73
122
  else if (/^rounded(-|$)/.test(token)) keys.add('radius');
74
123
  else if (BORDER_WIDTH.test(token)) keys.add('borderWidth');
75
124
  else if (/^border-/.test(token)) keys.add('borderColor');
76
125
  else if (/^bg-/.test(token)) keys.add('background');
77
126
  else if (/^shadow(-|$)/.test(token)) keys.add('shadow');
78
127
  else if (/^overflow-/.test(token)) keys.add('overflow');
128
+ else if (/^text-/.test(token)) keys.add('color');
129
+ else if (/^gap(-|$)/.test(token)) keys.add('gap');
130
+ else if (/^h-/.test(token)) keys.add('height');
131
+ else if (/^flex-(row|col)/.test(token)) keys.add('flexDirection');
132
+ else if (/^items-/.test(token)) keys.add('alignItems');
79
133
  }
80
134
  return keys;
81
135
  }
@@ -96,14 +150,13 @@ export function resolvePopoverSurfaceStyle(
96
150
  if (!overridden.has('maxWidth') && viewportWidth !== undefined) {
97
151
  style.maxWidth = Math.max(0, viewportWidth - POPOVER_VIEWPORT_INSET);
98
152
  }
99
- if (!overridden.has('padding')) {
100
- // Longhands: a caller's `style` override of one side must not lose to a
101
- // shorthand react-native-web ranks above it (AGENTS.md, "Style").
102
- style.paddingTop = POPOVER_PADDING;
103
- style.paddingBottom = POPOVER_PADDING;
104
- style.paddingLeft = POPOVER_PADDING;
105
- style.paddingRight = POPOVER_PADDING;
106
- }
153
+ // Longhands, one side at a time: a caller's `style` override of one side must
154
+ // not lose to a shorthand react-native-web ranks above it (AGENTS.md,
155
+ // "Style"), and a caller who writes `px-4` is claiming the sides, not the top.
156
+ if (!overridden.has('paddingTop')) style.paddingTop = POPOVER_PADDING;
157
+ if (!overridden.has('paddingBottom')) style.paddingBottom = POPOVER_PADDING;
158
+ if (!overridden.has('paddingLeft')) style.paddingLeft = POPOVER_PADDING;
159
+ if (!overridden.has('paddingRight')) style.paddingRight = POPOVER_PADDING;
107
160
  if (!overridden.has('radius')) style.borderRadius = POPOVER_RADIUS;
108
161
  if (!overridden.has('borderWidth')) style.borderWidth = 1;
109
162
  if (!overridden.has('borderColor')) style.borderColor = palette.border;
@@ -1,5 +1,10 @@
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/portal/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
1
6
  export {
2
- Portal,
3
7
  PortalProvider,
4
8
  PortalOutlet,
9
+ Portal,
5
10
  } from './Portal.web';
@@ -1,3 +1,8 @@
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/progressive-blur/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
1
6
  export type { ProgressiveBlurProps } from './types';
2
7
  export {
3
8
  ProgressiveBlur,
@@ -1,3 +1,8 @@
1
+ // AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
2
+ // Source of truth: src/scroll/index.ts.
3
+ // Re-run `bun run generate:exports` (or any `bun run build`) after
4
+ // changing that barrel or the set of web-forked subpaths.
5
+
1
6
  export { ScrollRestorationProvider } from './context';
2
7
  export { useScrollRestoration } from './use-scroll-restoration.web';
3
8