@oxy.so/bloom 19.5.2 → 19.7.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 (740) hide show
  1. package/docs/adoption-matrix.mdx +19 -19
  2. package/docs/app-shell.mdx +18 -11
  3. package/docs/bottom-bar.mdx +57 -1
  4. package/docs/button.mdx +19 -0
  5. package/docs/chat-composer.mdx +59 -1
  6. package/docs/compose-layouts.mdx +114 -2
  7. package/docs/dialog.mdx +7 -0
  8. package/docs/engagement-bar.mdx +9 -0
  9. package/docs/icons.mdx +22 -0
  10. package/docs/layout.mdx +1 -1
  11. package/docs/list.mdx +4 -3
  12. package/docs/page-header.mdx +7 -0
  13. package/docs/public-parts.mdx +14 -3
  14. package/docs/screen.mdx +4 -0
  15. package/docs/scroll.mdx +6 -3
  16. package/docs/sidebar.mdx +26 -5
  17. package/docs/tab-pager.mdx +10 -0
  18. package/docs/task-catalog.json +1 -1
  19. package/docs/task-catalog.mdx +1 -1
  20. package/lib/commonjs/app-shell/AppShell.js +3 -3
  21. package/lib/commonjs/app-shell/AppShell.js.map +1 -1
  22. package/lib/commonjs/app-shell/AppShellEngine.js +2 -1
  23. package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
  24. package/lib/commonjs/app-shell/AppShellPanelLayout.js +345 -172
  25. package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
  26. package/lib/commonjs/app-shell/RetainedPanelLayout.js +6 -0
  27. package/lib/commonjs/app-shell/RetainedPanelLayout.js.map +1 -1
  28. package/lib/commonjs/app-shell/panel-layout-css.js +20 -13
  29. package/lib/commonjs/app-shell/panel-layout-css.js.map +1 -1
  30. package/lib/commonjs/app-shell/panel-layout.js +33 -185
  31. package/lib/commonjs/app-shell/panel-layout.js.map +1 -1
  32. package/lib/commonjs/app-shell/panel-motion.js +13 -36
  33. package/lib/commonjs/app-shell/panel-motion.js.map +1 -1
  34. package/lib/commonjs/app-shell/panel-transitions.js +26 -0
  35. package/lib/commonjs/app-shell/panel-transitions.js.map +1 -0
  36. package/lib/commonjs/app-shell/shell-layout-css.js +2 -2
  37. package/lib/commonjs/app-shell/shell-layout-css.js.map +1 -1
  38. package/lib/commonjs/app-shell/use-panel-exit-completion.js +100 -0
  39. package/lib/commonjs/app-shell/use-panel-exit-completion.js.map +1 -0
  40. package/lib/commonjs/app-shell/use-panel-resize.js +21 -7
  41. package/lib/commonjs/app-shell/use-panel-resize.js.map +1 -1
  42. package/lib/commonjs/app-shell/use-panel-reveal.js +2 -1
  43. package/lib/commonjs/app-shell/use-panel-reveal.js.map +1 -1
  44. package/lib/commonjs/bottom-bar/BottomBarBase.js +141 -37
  45. package/lib/commonjs/bottom-bar/BottomBarBase.js.map +1 -1
  46. package/lib/commonjs/bottom-sheet/BottomSheetBase.js +3 -2
  47. package/lib/commonjs/bottom-sheet/BottomSheetBase.js.map +1 -1
  48. package/lib/commonjs/button/GlyphAttention.js +110 -0
  49. package/lib/commonjs/button/GlyphAttention.js.map +1 -0
  50. package/lib/commonjs/button/GlyphButton.js +18 -7
  51. package/lib/commonjs/button/GlyphButton.js.map +1 -1
  52. package/lib/commonjs/chat-composer/CompactComposer.js +18 -0
  53. package/lib/commonjs/chat-composer/CompactComposer.js.map +1 -0
  54. package/lib/commonjs/chat-composer/CompactComposer.web.js +18 -0
  55. package/lib/commonjs/chat-composer/CompactComposer.web.js.map +1 -0
  56. package/lib/commonjs/chat-composer/compact-text.js +11 -0
  57. package/lib/commonjs/chat-composer/compact-text.js.map +1 -0
  58. package/lib/commonjs/chat-composer/compact-types.js +6 -0
  59. package/lib/commonjs/chat-composer/compact-types.js.map +1 -0
  60. package/lib/commonjs/chat-composer/create-compact-composer.js +185 -0
  61. package/lib/commonjs/chat-composer/create-compact-composer.js.map +1 -0
  62. package/lib/commonjs/chat-composer/index.js +14 -0
  63. package/lib/commonjs/chat-composer/index.js.map +1 -1
  64. package/lib/commonjs/chat-composer/index.web.js +14 -0
  65. package/lib/commonjs/chat-composer/index.web.js.map +1 -1
  66. package/lib/commonjs/chat-composer/messages.js +8 -1
  67. package/lib/commonjs/chat-composer/messages.js.map +1 -1
  68. package/lib/commonjs/dialog/DialogBottomSheet.js +6 -3
  69. package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
  70. package/lib/commonjs/engagement-bar/EngagementAction.js +6 -5
  71. package/lib/commonjs/engagement-bar/EngagementAction.js.map +1 -1
  72. package/lib/commonjs/engagement-bar/EngagementBar.js +31 -7
  73. package/lib/commonjs/engagement-bar/EngagementBar.js.map +1 -1
  74. package/lib/commonjs/engagement-bar/EngagementPop.js +10 -3
  75. package/lib/commonjs/engagement-bar/EngagementPop.js.map +1 -1
  76. package/lib/commonjs/engagement-bar/context.js.map +1 -1
  77. package/lib/commonjs/engagement-bar/paint.js +59 -12
  78. package/lib/commonjs/engagement-bar/paint.js.map +1 -1
  79. package/lib/commonjs/hooks/use-border-box-size.js +46 -0
  80. package/lib/commonjs/hooks/use-border-box-size.js.map +1 -0
  81. package/lib/commonjs/icons/index.js +12 -0
  82. package/lib/commonjs/icons/index.js.map +1 -1
  83. package/lib/commonjs/icons/social/BookmarkFillIcon.js +12 -0
  84. package/lib/commonjs/icons/social/BookmarkFillIcon.js.map +1 -0
  85. package/lib/commonjs/icons/social/BookmarkIcon.js +12 -0
  86. package/lib/commonjs/icons/social/BookmarkIcon.js.map +1 -0
  87. package/lib/commonjs/icons/social/GifAttachmentIcon.js +12 -0
  88. package/lib/commonjs/icons/social/GifAttachmentIcon.js.map +1 -0
  89. package/lib/commonjs/icons/social/LikeFillIcon.js +13 -0
  90. package/lib/commonjs/icons/social/LikeFillIcon.js.map +1 -0
  91. package/lib/commonjs/icons/social/LikeIcon.js +14 -0
  92. package/lib/commonjs/icons/social/LikeIcon.js.map +1 -0
  93. package/lib/commonjs/icons/social/MediaAttachmentIcon.js +12 -0
  94. package/lib/commonjs/icons/social/MediaAttachmentIcon.js.map +1 -0
  95. package/lib/commonjs/icons/social/ReplyIcon.js +14 -0
  96. package/lib/commonjs/icons/social/ReplyIcon.js.map +1 -0
  97. package/lib/commonjs/icons/social/RepostIcon.js +12 -0
  98. package/lib/commonjs/icons/social/RepostIcon.js.map +1 -0
  99. package/lib/commonjs/icons/social/ShareIcon.js +12 -0
  100. package/lib/commonjs/icons/social/ShareIcon.js.map +1 -0
  101. package/lib/commonjs/icons/social/index.js +69 -0
  102. package/lib/commonjs/icons/social/index.js.map +1 -0
  103. package/lib/commonjs/index.js +14 -0
  104. package/lib/commonjs/index.js.map +1 -1
  105. package/lib/commonjs/index.web.js +14 -0
  106. package/lib/commonjs/index.web.js.map +1 -1
  107. package/lib/commonjs/layout/ScrollBar.web.js +62 -29
  108. package/lib/commonjs/layout/ScrollBar.web.js.map +1 -1
  109. package/lib/commonjs/layout/bottom-edge.js +14 -0
  110. package/lib/commonjs/layout/bottom-edge.js.map +1 -1
  111. package/lib/commonjs/layout/scroll-metrics.js.map +1 -1
  112. package/lib/commonjs/list/VirtualList.js +12 -0
  113. package/lib/commonjs/list/VirtualList.js.map +1 -1
  114. package/lib/commonjs/list/VirtualList.web.js +40 -19
  115. package/lib/commonjs/list/VirtualList.web.js.map +1 -1
  116. package/lib/commonjs/list/flash-list-module.js.map +1 -1
  117. package/lib/commonjs/locale/translations/ar.js +8 -0
  118. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  119. package/lib/commonjs/locale/translations/bn.js +8 -0
  120. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  121. package/lib/commonjs/locale/translations/ca.js +8 -0
  122. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  123. package/lib/commonjs/locale/translations/de.js +8 -0
  124. package/lib/commonjs/locale/translations/de.js.map +1 -1
  125. package/lib/commonjs/locale/translations/es.js +8 -0
  126. package/lib/commonjs/locale/translations/es.js.map +1 -1
  127. package/lib/commonjs/locale/translations/fr.js +8 -0
  128. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  129. package/lib/commonjs/locale/translations/hi.js +8 -0
  130. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  131. package/lib/commonjs/locale/translations/id.js +8 -0
  132. package/lib/commonjs/locale/translations/id.js.map +1 -1
  133. package/lib/commonjs/locale/translations/it.js +8 -0
  134. package/lib/commonjs/locale/translations/it.js.map +1 -1
  135. package/lib/commonjs/locale/translations/ja.js +8 -0
  136. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  137. package/lib/commonjs/locale/translations/pt.js +8 -0
  138. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  139. package/lib/commonjs/locale/translations/ru.js +8 -0
  140. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  141. package/lib/commonjs/locale/translations/tr.js +8 -0
  142. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  143. package/lib/commonjs/locale/translations/zh.js +8 -0
  144. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  145. package/lib/commonjs/page-header/EdgeScrim.js +14 -4
  146. package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
  147. package/lib/commonjs/page-header/PageHeader.js +19 -6
  148. package/lib/commonjs/page-header/PageHeader.js.map +1 -1
  149. package/lib/commonjs/screen/ScreenBase.js +15 -6
  150. package/lib/commonjs/screen/ScreenBase.js.map +1 -1
  151. package/lib/commonjs/screen/ScreenScrollViewBase.js +12 -2
  152. package/lib/commonjs/screen/ScreenScrollViewBase.js.map +1 -1
  153. package/lib/commonjs/screen/context.js.map +1 -1
  154. package/lib/commonjs/screen/use-intrinsic-content-height.js +53 -0
  155. package/lib/commonjs/screen/use-intrinsic-content-height.js.map +1 -0
  156. package/lib/commonjs/screen/use-screen-viewport.js +37 -6
  157. package/lib/commonjs/screen/use-screen-viewport.js.map +1 -1
  158. package/lib/commonjs/scroll/constants.js +4 -1
  159. package/lib/commonjs/scroll/constants.js.map +1 -1
  160. package/lib/commonjs/scroll/owner-handoff.js +27 -7
  161. package/lib/commonjs/scroll/owner-handoff.js.map +1 -1
  162. package/lib/commonjs/scroll/use-scroll-restoration.web.js +2 -11
  163. package/lib/commonjs/scroll/use-scroll-restoration.web.js.map +1 -1
  164. package/lib/commonjs/sidebar/Sidebar.js +121 -87
  165. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  166. package/lib/commonjs/sidebar/arrangement.js +36 -0
  167. package/lib/commonjs/sidebar/arrangement.js.map +1 -0
  168. package/lib/commonjs/sidebar/index.js.map +1 -1
  169. package/lib/commonjs/tab-bar/TabBarBase.js +126 -20
  170. package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -1
  171. package/lib/commonjs/tab-bar/shared.js +3 -1
  172. package/lib/commonjs/tab-bar/shared.js.map +1 -1
  173. package/lib/commonjs/tab-pager/TabPagerBottomBar.js +12 -2
  174. package/lib/commonjs/tab-pager/TabPagerBottomBar.js.map +1 -1
  175. package/lib/module/app-shell/AppShell.js +3 -3
  176. package/lib/module/app-shell/AppShell.js.map +1 -1
  177. package/lib/module/app-shell/AppShellEngine.js +2 -1
  178. package/lib/module/app-shell/AppShellEngine.js.map +1 -1
  179. package/lib/module/app-shell/AppShellPanelLayout.js +319 -147
  180. package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
  181. package/lib/module/app-shell/RetainedPanelLayout.js +7 -1
  182. package/lib/module/app-shell/RetainedPanelLayout.js.map +1 -1
  183. package/lib/module/app-shell/panel-layout-css.js +19 -12
  184. package/lib/module/app-shell/panel-layout-css.js.map +1 -1
  185. package/lib/module/app-shell/panel-layout.js +32 -183
  186. package/lib/module/app-shell/panel-layout.js.map +1 -1
  187. package/lib/module/app-shell/panel-motion.js +14 -36
  188. package/lib/module/app-shell/panel-motion.js.map +1 -1
  189. package/lib/module/app-shell/panel-transitions.js +21 -0
  190. package/lib/module/app-shell/panel-transitions.js.map +1 -0
  191. package/lib/module/app-shell/shell-layout-css.js +2 -2
  192. package/lib/module/app-shell/shell-layout-css.js.map +1 -1
  193. package/lib/module/app-shell/use-panel-exit-completion.js +97 -0
  194. package/lib/module/app-shell/use-panel-exit-completion.js.map +1 -0
  195. package/lib/module/app-shell/use-panel-resize.js +22 -8
  196. package/lib/module/app-shell/use-panel-resize.js.map +1 -1
  197. package/lib/module/app-shell/use-panel-reveal.js +2 -1
  198. package/lib/module/app-shell/use-panel-reveal.js.map +1 -1
  199. package/lib/module/bottom-bar/BottomBarBase.js +143 -39
  200. package/lib/module/bottom-bar/BottomBarBase.js.map +1 -1
  201. package/lib/module/bottom-sheet/BottomSheetBase.js +3 -2
  202. package/lib/module/bottom-sheet/BottomSheetBase.js.map +1 -1
  203. package/lib/module/button/GlyphAttention.js +104 -0
  204. package/lib/module/button/GlyphAttention.js.map +1 -0
  205. package/lib/module/button/GlyphButton.js +18 -7
  206. package/lib/module/button/GlyphButton.js.map +1 -1
  207. package/lib/module/chat-composer/CompactComposer.js +14 -0
  208. package/lib/module/chat-composer/CompactComposer.js.map +1 -0
  209. package/lib/module/chat-composer/CompactComposer.web.js +14 -0
  210. package/lib/module/chat-composer/CompactComposer.web.js.map +1 -0
  211. package/lib/module/chat-composer/compact-text.js +7 -0
  212. package/lib/module/chat-composer/compact-text.js.map +1 -0
  213. package/lib/module/chat-composer/compact-types.js +4 -0
  214. package/lib/module/chat-composer/compact-types.js.map +1 -0
  215. package/lib/module/chat-composer/create-compact-composer.js +181 -0
  216. package/lib/module/chat-composer/create-compact-composer.js.map +1 -0
  217. package/lib/module/chat-composer/index.js +2 -0
  218. package/lib/module/chat-composer/index.js.map +1 -1
  219. package/lib/module/chat-composer/index.web.js +2 -0
  220. package/lib/module/chat-composer/index.web.js.map +1 -1
  221. package/lib/module/chat-composer/messages.js +7 -0
  222. package/lib/module/chat-composer/messages.js.map +1 -1
  223. package/lib/module/dialog/DialogBottomSheet.js +6 -3
  224. package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
  225. package/lib/module/engagement-bar/EngagementAction.js +7 -6
  226. package/lib/module/engagement-bar/EngagementAction.js.map +1 -1
  227. package/lib/module/engagement-bar/EngagementBar.js +29 -5
  228. package/lib/module/engagement-bar/EngagementBar.js.map +1 -1
  229. package/lib/module/engagement-bar/EngagementPop.js +10 -3
  230. package/lib/module/engagement-bar/EngagementPop.js.map +1 -1
  231. package/lib/module/engagement-bar/context.js.map +1 -1
  232. package/lib/module/engagement-bar/paint.js +60 -13
  233. package/lib/module/engagement-bar/paint.js.map +1 -1
  234. package/lib/module/hooks/use-border-box-size.js +42 -0
  235. package/lib/module/hooks/use-border-box-size.js.map +1 -0
  236. package/lib/module/icons/index.js +2 -1
  237. package/lib/module/icons/index.js.map +1 -1
  238. package/lib/module/icons/social/BookmarkFillIcon.js +9 -0
  239. package/lib/module/icons/social/BookmarkFillIcon.js.map +1 -0
  240. package/lib/module/icons/social/BookmarkIcon.js +9 -0
  241. package/lib/module/icons/social/BookmarkIcon.js.map +1 -0
  242. package/lib/module/icons/social/GifAttachmentIcon.js +9 -0
  243. package/lib/module/icons/social/GifAttachmentIcon.js.map +1 -0
  244. package/lib/module/icons/social/LikeFillIcon.js +10 -0
  245. package/lib/module/icons/social/LikeFillIcon.js.map +1 -0
  246. package/lib/module/icons/social/LikeIcon.js +11 -0
  247. package/lib/module/icons/social/LikeIcon.js.map +1 -0
  248. package/lib/module/icons/social/MediaAttachmentIcon.js +9 -0
  249. package/lib/module/icons/social/MediaAttachmentIcon.js.map +1 -0
  250. package/lib/module/icons/social/ReplyIcon.js +11 -0
  251. package/lib/module/icons/social/ReplyIcon.js.map +1 -0
  252. package/lib/module/icons/social/RepostIcon.js +9 -0
  253. package/lib/module/icons/social/RepostIcon.js.map +1 -0
  254. package/lib/module/icons/social/ShareIcon.js +9 -0
  255. package/lib/module/icons/social/ShareIcon.js.map +1 -0
  256. package/lib/module/icons/social/index.js +12 -0
  257. package/lib/module/icons/social/index.js.map +1 -0
  258. package/lib/module/index.js +1 -1
  259. package/lib/module/index.js.map +1 -1
  260. package/lib/module/index.web.js +1 -1
  261. package/lib/module/index.web.js.map +1 -1
  262. package/lib/module/layout/ScrollBar.web.js +64 -31
  263. package/lib/module/layout/ScrollBar.web.js.map +1 -1
  264. package/lib/module/layout/bottom-edge.js +14 -1
  265. package/lib/module/layout/bottom-edge.js.map +1 -1
  266. package/lib/module/layout/scroll-metrics.js.map +1 -1
  267. package/lib/module/list/VirtualList.js +12 -0
  268. package/lib/module/list/VirtualList.js.map +1 -1
  269. package/lib/module/list/VirtualList.web.js +41 -20
  270. package/lib/module/list/VirtualList.web.js.map +1 -1
  271. package/lib/module/list/flash-list-module.js.map +1 -1
  272. package/lib/module/locale/translations/ar.js +8 -0
  273. package/lib/module/locale/translations/ar.js.map +1 -1
  274. package/lib/module/locale/translations/bn.js +8 -0
  275. package/lib/module/locale/translations/bn.js.map +1 -1
  276. package/lib/module/locale/translations/ca.js +8 -0
  277. package/lib/module/locale/translations/ca.js.map +1 -1
  278. package/lib/module/locale/translations/de.js +8 -0
  279. package/lib/module/locale/translations/de.js.map +1 -1
  280. package/lib/module/locale/translations/es.js +8 -0
  281. package/lib/module/locale/translations/es.js.map +1 -1
  282. package/lib/module/locale/translations/fr.js +8 -0
  283. package/lib/module/locale/translations/fr.js.map +1 -1
  284. package/lib/module/locale/translations/hi.js +8 -0
  285. package/lib/module/locale/translations/hi.js.map +1 -1
  286. package/lib/module/locale/translations/id.js +8 -0
  287. package/lib/module/locale/translations/id.js.map +1 -1
  288. package/lib/module/locale/translations/it.js +8 -0
  289. package/lib/module/locale/translations/it.js.map +1 -1
  290. package/lib/module/locale/translations/ja.js +8 -0
  291. package/lib/module/locale/translations/ja.js.map +1 -1
  292. package/lib/module/locale/translations/pt.js +8 -0
  293. package/lib/module/locale/translations/pt.js.map +1 -1
  294. package/lib/module/locale/translations/ru.js +8 -0
  295. package/lib/module/locale/translations/ru.js.map +1 -1
  296. package/lib/module/locale/translations/tr.js +8 -0
  297. package/lib/module/locale/translations/tr.js.map +1 -1
  298. package/lib/module/locale/translations/zh.js +8 -0
  299. package/lib/module/locale/translations/zh.js.map +1 -1
  300. package/lib/module/page-header/EdgeScrim.js +14 -4
  301. package/lib/module/page-header/EdgeScrim.js.map +1 -1
  302. package/lib/module/page-header/PageHeader.js +19 -6
  303. package/lib/module/page-header/PageHeader.js.map +1 -1
  304. package/lib/module/screen/ScreenBase.js +15 -6
  305. package/lib/module/screen/ScreenBase.js.map +1 -1
  306. package/lib/module/screen/ScreenScrollViewBase.js +12 -2
  307. package/lib/module/screen/ScreenScrollViewBase.js.map +1 -1
  308. package/lib/module/screen/context.js.map +1 -1
  309. package/lib/module/screen/use-intrinsic-content-height.js +50 -0
  310. package/lib/module/screen/use-intrinsic-content-height.js.map +1 -0
  311. package/lib/module/screen/use-screen-viewport.js +39 -8
  312. package/lib/module/screen/use-screen-viewport.js.map +1 -1
  313. package/lib/module/scroll/constants.js +3 -0
  314. package/lib/module/scroll/constants.js.map +1 -1
  315. package/lib/module/scroll/owner-handoff.js +27 -8
  316. package/lib/module/scroll/owner-handoff.js.map +1 -1
  317. package/lib/module/scroll/use-scroll-restoration.web.js +1 -10
  318. package/lib/module/scroll/use-scroll-restoration.web.js.map +1 -1
  319. package/lib/module/sidebar/Sidebar.js +121 -87
  320. package/lib/module/sidebar/Sidebar.js.map +1 -1
  321. package/lib/module/sidebar/arrangement.js +32 -0
  322. package/lib/module/sidebar/arrangement.js.map +1 -0
  323. package/lib/module/sidebar/index.js.map +1 -1
  324. package/lib/module/tab-bar/TabBarBase.js +130 -23
  325. package/lib/module/tab-bar/TabBarBase.js.map +1 -1
  326. package/lib/module/tab-bar/shared.js +2 -0
  327. package/lib/module/tab-bar/shared.js.map +1 -1
  328. package/lib/module/tab-pager/TabPagerBottomBar.js +13 -3
  329. package/lib/module/tab-pager/TabPagerBottomBar.js.map +1 -1
  330. package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
  331. package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
  332. package/lib/typescript/commonjs/app-shell/AppShellPanelLayout.d.ts.map +1 -1
  333. package/lib/typescript/commonjs/app-shell/RetainedPanelLayout.d.ts.map +1 -1
  334. package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts +2 -1
  335. package/lib/typescript/commonjs/app-shell/panel-layout-css.d.ts.map +1 -1
  336. package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts +11 -2
  337. package/lib/typescript/commonjs/app-shell/panel-layout-types.d.ts.map +1 -1
  338. package/lib/typescript/commonjs/app-shell/panel-layout.d.ts +13 -27
  339. package/lib/typescript/commonjs/app-shell/panel-layout.d.ts.map +1 -1
  340. package/lib/typescript/commonjs/app-shell/panel-motion.d.ts +1 -12
  341. package/lib/typescript/commonjs/app-shell/panel-motion.d.ts.map +1 -1
  342. package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts +4 -0
  343. package/lib/typescript/commonjs/app-shell/panel-transitions.d.ts.map +1 -0
  344. package/lib/typescript/commonjs/app-shell/shell-layout-css.d.ts.map +1 -1
  345. package/lib/typescript/commonjs/app-shell/types.d.ts +4 -0
  346. package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
  347. package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts +14 -0
  348. package/lib/typescript/commonjs/app-shell/use-panel-exit-completion.d.ts.map +1 -0
  349. package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts +2 -2
  350. package/lib/typescript/commonjs/app-shell/use-panel-reorder.d.ts.map +1 -1
  351. package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts +4 -2
  352. package/lib/typescript/commonjs/app-shell/use-panel-resize.d.ts.map +1 -1
  353. package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts +2 -2
  354. package/lib/typescript/commonjs/app-shell/use-panel-reveal.d.ts.map +1 -1
  355. package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts +1 -1
  356. package/lib/typescript/commonjs/bottom-bar/BottomBarBase.d.ts.map +1 -1
  357. package/lib/typescript/commonjs/bottom-bar/types.d.ts +10 -2
  358. package/lib/typescript/commonjs/bottom-bar/types.d.ts.map +1 -1
  359. package/lib/typescript/commonjs/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
  360. package/lib/typescript/commonjs/bottom-sheet/types.d.ts +2 -0
  361. package/lib/typescript/commonjs/bottom-sheet/types.d.ts.map +1 -1
  362. package/lib/typescript/commonjs/button/GlyphAttention.d.ts +11 -0
  363. package/lib/typescript/commonjs/button/GlyphAttention.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/button/GlyphButton.d.ts.map +1 -1
  365. package/lib/typescript/commonjs/button/types.d.ts +11 -0
  366. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  367. package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts +2 -0
  368. package/lib/typescript/commonjs/chat-composer/CompactComposer.d.ts.map +1 -0
  369. package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts +2 -0
  370. package/lib/typescript/commonjs/chat-composer/CompactComposer.web.d.ts.map +1 -0
  371. package/lib/typescript/commonjs/chat-composer/compact-text.d.ts +3 -0
  372. package/lib/typescript/commonjs/chat-composer/compact-text.d.ts.map +1 -0
  373. package/lib/typescript/commonjs/chat-composer/compact-types.d.ts +45 -0
  374. package/lib/typescript/commonjs/chat-composer/compact-types.d.ts.map +1 -0
  375. package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts +13 -0
  376. package/lib/typescript/commonjs/chat-composer/create-compact-composer.d.ts.map +1 -0
  377. package/lib/typescript/commonjs/chat-composer/index.d.ts +3 -0
  378. package/lib/typescript/commonjs/chat-composer/index.d.ts.map +1 -1
  379. package/lib/typescript/commonjs/chat-composer/index.web.d.ts +3 -0
  380. package/lib/typescript/commonjs/chat-composer/index.web.d.ts.map +1 -1
  381. package/lib/typescript/commonjs/chat-composer/messages.d.ts +8 -0
  382. package/lib/typescript/commonjs/chat-composer/messages.d.ts.map +1 -1
  383. package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts +2 -2
  384. package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
  385. package/lib/typescript/commonjs/dialog/types.d.ts +2 -0
  386. package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
  387. package/lib/typescript/commonjs/engagement-bar/EngagementAction.d.ts.map +1 -1
  388. package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts +3 -3
  389. package/lib/typescript/commonjs/engagement-bar/EngagementBar.d.ts.map +1 -1
  390. package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts +2 -1
  391. package/lib/typescript/commonjs/engagement-bar/EngagementPop.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/engagement-bar/context.d.ts +1 -0
  393. package/lib/typescript/commonjs/engagement-bar/context.d.ts.map +1 -1
  394. package/lib/typescript/commonjs/engagement-bar/paint.d.ts +4 -2
  395. package/lib/typescript/commonjs/engagement-bar/paint.d.ts.map +1 -1
  396. package/lib/typescript/commonjs/engagement-bar/types.d.ts +10 -1
  397. package/lib/typescript/commonjs/engagement-bar/types.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts +13 -0
  399. package/lib/typescript/commonjs/hooks/use-border-box-size.d.ts.map +1 -0
  400. package/lib/typescript/commonjs/icons/index.d.ts +1 -0
  401. package/lib/typescript/commonjs/icons/index.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts +8 -0
  403. package/lib/typescript/commonjs/icons/social/BookmarkFillIcon.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts +8 -0
  405. package/lib/typescript/commonjs/icons/social/BookmarkIcon.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts +8 -0
  407. package/lib/typescript/commonjs/icons/social/GifAttachmentIcon.d.ts.map +1 -0
  408. package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts +8 -0
  409. package/lib/typescript/commonjs/icons/social/LikeFillIcon.d.ts.map +1 -0
  410. package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts +8 -0
  411. package/lib/typescript/commonjs/icons/social/LikeIcon.d.ts.map +1 -0
  412. package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts +8 -0
  413. package/lib/typescript/commonjs/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
  414. package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts +8 -0
  415. package/lib/typescript/commonjs/icons/social/ReplyIcon.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts +8 -0
  417. package/lib/typescript/commonjs/icons/social/RepostIcon.d.ts.map +1 -0
  418. package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts +8 -0
  419. package/lib/typescript/commonjs/icons/social/ShareIcon.d.ts.map +1 -0
  420. package/lib/typescript/commonjs/icons/social/index.d.ts +10 -0
  421. package/lib/typescript/commonjs/icons/social/index.d.ts.map +1 -0
  422. package/lib/typescript/commonjs/index.d.ts +2 -2
  423. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  424. package/lib/typescript/commonjs/index.web.d.ts +2 -2
  425. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  426. package/lib/typescript/commonjs/layout/ScrollBar.web.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/layout/bottom-edge.d.ts +2 -0
  428. package/lib/typescript/commonjs/layout/bottom-edge.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/layout/scroll-metrics.d.ts +2 -0
  430. package/lib/typescript/commonjs/layout/scroll-metrics.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/layout/types.d.ts +2 -2
  432. package/lib/typescript/commonjs/layout/types.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/list/VirtualList.d.ts.map +1 -1
  434. package/lib/typescript/commonjs/list/VirtualList.web.d.ts.map +1 -1
  435. package/lib/typescript/commonjs/list/flash-list-module.d.ts +1 -1
  436. package/lib/typescript/commonjs/list/flash-list-module.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  438. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  439. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  440. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  441. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  443. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  445. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  447. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  448. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  449. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  450. package/lib/typescript/commonjs/locale/translations/types.d.ts +2 -1
  451. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  452. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  453. package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +3 -1
  454. package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
  455. package/lib/typescript/commonjs/page-header/PageHeader.d.ts +1 -1
  456. package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
  457. package/lib/typescript/commonjs/page-header/types.d.ts +2 -0
  458. package/lib/typescript/commonjs/page-header/types.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/screen/ScreenBase.d.ts.map +1 -1
  460. package/lib/typescript/commonjs/screen/ScreenScrollViewBase.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/screen/context.d.ts +3 -0
  462. package/lib/typescript/commonjs/screen/context.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts +3 -0
  464. package/lib/typescript/commonjs/screen/use-intrinsic-content-height.d.ts.map +1 -0
  465. package/lib/typescript/commonjs/screen/use-screen-viewport.d.ts.map +1 -1
  466. package/lib/typescript/commonjs/scroll/constants.d.ts +2 -0
  467. package/lib/typescript/commonjs/scroll/constants.d.ts.map +1 -1
  468. package/lib/typescript/commonjs/scroll/owner-handoff.d.ts +3 -1
  469. package/lib/typescript/commonjs/scroll/owner-handoff.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/scroll/use-scroll-restoration.web.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  472. package/lib/typescript/commonjs/sidebar/arrangement.d.ts +32 -0
  473. package/lib/typescript/commonjs/sidebar/arrangement.d.ts.map +1 -0
  474. package/lib/typescript/commonjs/sidebar/index.d.ts +1 -0
  475. package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/sidebar/types.d.ts +13 -1
  477. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  478. package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/tab-bar/shared.d.ts +2 -0
  480. package/lib/typescript/commonjs/tab-bar/shared.d.ts.map +1 -1
  481. package/lib/typescript/commonjs/tab-bar/types.d.ts +2 -0
  482. package/lib/typescript/commonjs/tab-bar/types.d.ts.map +1 -1
  483. package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts +1 -1
  484. package/lib/typescript/commonjs/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
  485. package/lib/typescript/commonjs/tab-pager/types.d.ts +4 -1
  486. package/lib/typescript/commonjs/tab-pager/types.d.ts.map +1 -1
  487. package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
  488. package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
  489. package/lib/typescript/module/app-shell/AppShellPanelLayout.d.ts.map +1 -1
  490. package/lib/typescript/module/app-shell/RetainedPanelLayout.d.ts.map +1 -1
  491. package/lib/typescript/module/app-shell/panel-layout-css.d.ts +2 -1
  492. package/lib/typescript/module/app-shell/panel-layout-css.d.ts.map +1 -1
  493. package/lib/typescript/module/app-shell/panel-layout-types.d.ts +11 -2
  494. package/lib/typescript/module/app-shell/panel-layout-types.d.ts.map +1 -1
  495. package/lib/typescript/module/app-shell/panel-layout.d.ts +13 -27
  496. package/lib/typescript/module/app-shell/panel-layout.d.ts.map +1 -1
  497. package/lib/typescript/module/app-shell/panel-motion.d.ts +1 -12
  498. package/lib/typescript/module/app-shell/panel-motion.d.ts.map +1 -1
  499. package/lib/typescript/module/app-shell/panel-transitions.d.ts +4 -0
  500. package/lib/typescript/module/app-shell/panel-transitions.d.ts.map +1 -0
  501. package/lib/typescript/module/app-shell/shell-layout-css.d.ts.map +1 -1
  502. package/lib/typescript/module/app-shell/types.d.ts +4 -0
  503. package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
  504. package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts +14 -0
  505. package/lib/typescript/module/app-shell/use-panel-exit-completion.d.ts.map +1 -0
  506. package/lib/typescript/module/app-shell/use-panel-reorder.d.ts +2 -2
  507. package/lib/typescript/module/app-shell/use-panel-reorder.d.ts.map +1 -1
  508. package/lib/typescript/module/app-shell/use-panel-resize.d.ts +4 -2
  509. package/lib/typescript/module/app-shell/use-panel-resize.d.ts.map +1 -1
  510. package/lib/typescript/module/app-shell/use-panel-reveal.d.ts +2 -2
  511. package/lib/typescript/module/app-shell/use-panel-reveal.d.ts.map +1 -1
  512. package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts +1 -1
  513. package/lib/typescript/module/bottom-bar/BottomBarBase.d.ts.map +1 -1
  514. package/lib/typescript/module/bottom-bar/types.d.ts +10 -2
  515. package/lib/typescript/module/bottom-bar/types.d.ts.map +1 -1
  516. package/lib/typescript/module/bottom-sheet/BottomSheetBase.d.ts.map +1 -1
  517. package/lib/typescript/module/bottom-sheet/types.d.ts +2 -0
  518. package/lib/typescript/module/bottom-sheet/types.d.ts.map +1 -1
  519. package/lib/typescript/module/button/GlyphAttention.d.ts +11 -0
  520. package/lib/typescript/module/button/GlyphAttention.d.ts.map +1 -0
  521. package/lib/typescript/module/button/GlyphButton.d.ts.map +1 -1
  522. package/lib/typescript/module/button/types.d.ts +11 -0
  523. package/lib/typescript/module/button/types.d.ts.map +1 -1
  524. package/lib/typescript/module/chat-composer/CompactComposer.d.ts +2 -0
  525. package/lib/typescript/module/chat-composer/CompactComposer.d.ts.map +1 -0
  526. package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts +2 -0
  527. package/lib/typescript/module/chat-composer/CompactComposer.web.d.ts.map +1 -0
  528. package/lib/typescript/module/chat-composer/compact-text.d.ts +3 -0
  529. package/lib/typescript/module/chat-composer/compact-text.d.ts.map +1 -0
  530. package/lib/typescript/module/chat-composer/compact-types.d.ts +45 -0
  531. package/lib/typescript/module/chat-composer/compact-types.d.ts.map +1 -0
  532. package/lib/typescript/module/chat-composer/create-compact-composer.d.ts +13 -0
  533. package/lib/typescript/module/chat-composer/create-compact-composer.d.ts.map +1 -0
  534. package/lib/typescript/module/chat-composer/index.d.ts +3 -0
  535. package/lib/typescript/module/chat-composer/index.d.ts.map +1 -1
  536. package/lib/typescript/module/chat-composer/index.web.d.ts +3 -0
  537. package/lib/typescript/module/chat-composer/index.web.d.ts.map +1 -1
  538. package/lib/typescript/module/chat-composer/messages.d.ts +8 -0
  539. package/lib/typescript/module/chat-composer/messages.d.ts.map +1 -1
  540. package/lib/typescript/module/dialog/DialogBottomSheet.d.ts +2 -2
  541. package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
  542. package/lib/typescript/module/dialog/types.d.ts +2 -0
  543. package/lib/typescript/module/dialog/types.d.ts.map +1 -1
  544. package/lib/typescript/module/engagement-bar/EngagementAction.d.ts.map +1 -1
  545. package/lib/typescript/module/engagement-bar/EngagementBar.d.ts +3 -3
  546. package/lib/typescript/module/engagement-bar/EngagementBar.d.ts.map +1 -1
  547. package/lib/typescript/module/engagement-bar/EngagementPop.d.ts +2 -1
  548. package/lib/typescript/module/engagement-bar/EngagementPop.d.ts.map +1 -1
  549. package/lib/typescript/module/engagement-bar/context.d.ts +1 -0
  550. package/lib/typescript/module/engagement-bar/context.d.ts.map +1 -1
  551. package/lib/typescript/module/engagement-bar/paint.d.ts +4 -2
  552. package/lib/typescript/module/engagement-bar/paint.d.ts.map +1 -1
  553. package/lib/typescript/module/engagement-bar/types.d.ts +10 -1
  554. package/lib/typescript/module/engagement-bar/types.d.ts.map +1 -1
  555. package/lib/typescript/module/hooks/use-border-box-size.d.ts +13 -0
  556. package/lib/typescript/module/hooks/use-border-box-size.d.ts.map +1 -0
  557. package/lib/typescript/module/icons/index.d.ts +1 -0
  558. package/lib/typescript/module/icons/index.d.ts.map +1 -1
  559. package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts +8 -0
  560. package/lib/typescript/module/icons/social/BookmarkFillIcon.d.ts.map +1 -0
  561. package/lib/typescript/module/icons/social/BookmarkIcon.d.ts +8 -0
  562. package/lib/typescript/module/icons/social/BookmarkIcon.d.ts.map +1 -0
  563. package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts +8 -0
  564. package/lib/typescript/module/icons/social/GifAttachmentIcon.d.ts.map +1 -0
  565. package/lib/typescript/module/icons/social/LikeFillIcon.d.ts +8 -0
  566. package/lib/typescript/module/icons/social/LikeFillIcon.d.ts.map +1 -0
  567. package/lib/typescript/module/icons/social/LikeIcon.d.ts +8 -0
  568. package/lib/typescript/module/icons/social/LikeIcon.d.ts.map +1 -0
  569. package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts +8 -0
  570. package/lib/typescript/module/icons/social/MediaAttachmentIcon.d.ts.map +1 -0
  571. package/lib/typescript/module/icons/social/ReplyIcon.d.ts +8 -0
  572. package/lib/typescript/module/icons/social/ReplyIcon.d.ts.map +1 -0
  573. package/lib/typescript/module/icons/social/RepostIcon.d.ts +8 -0
  574. package/lib/typescript/module/icons/social/RepostIcon.d.ts.map +1 -0
  575. package/lib/typescript/module/icons/social/ShareIcon.d.ts +8 -0
  576. package/lib/typescript/module/icons/social/ShareIcon.d.ts.map +1 -0
  577. package/lib/typescript/module/icons/social/index.d.ts +10 -0
  578. package/lib/typescript/module/icons/social/index.d.ts.map +1 -0
  579. package/lib/typescript/module/index.d.ts +2 -2
  580. package/lib/typescript/module/index.d.ts.map +1 -1
  581. package/lib/typescript/module/index.web.d.ts +2 -2
  582. package/lib/typescript/module/index.web.d.ts.map +1 -1
  583. package/lib/typescript/module/layout/ScrollBar.web.d.ts.map +1 -1
  584. package/lib/typescript/module/layout/bottom-edge.d.ts +2 -0
  585. package/lib/typescript/module/layout/bottom-edge.d.ts.map +1 -1
  586. package/lib/typescript/module/layout/scroll-metrics.d.ts +2 -0
  587. package/lib/typescript/module/layout/scroll-metrics.d.ts.map +1 -1
  588. package/lib/typescript/module/layout/types.d.ts +2 -2
  589. package/lib/typescript/module/layout/types.d.ts.map +1 -1
  590. package/lib/typescript/module/list/VirtualList.d.ts.map +1 -1
  591. package/lib/typescript/module/list/VirtualList.web.d.ts.map +1 -1
  592. package/lib/typescript/module/list/flash-list-module.d.ts +1 -1
  593. package/lib/typescript/module/list/flash-list-module.d.ts.map +1 -1
  594. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  595. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  596. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  597. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  598. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  599. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  600. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  601. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  602. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  603. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  604. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  605. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  606. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  607. package/lib/typescript/module/locale/translations/types.d.ts +2 -1
  608. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  609. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  610. package/lib/typescript/module/page-header/EdgeScrim.d.ts +3 -1
  611. package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
  612. package/lib/typescript/module/page-header/PageHeader.d.ts +1 -1
  613. package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
  614. package/lib/typescript/module/page-header/types.d.ts +2 -0
  615. package/lib/typescript/module/page-header/types.d.ts.map +1 -1
  616. package/lib/typescript/module/screen/ScreenBase.d.ts.map +1 -1
  617. package/lib/typescript/module/screen/ScreenScrollViewBase.d.ts.map +1 -1
  618. package/lib/typescript/module/screen/context.d.ts +3 -0
  619. package/lib/typescript/module/screen/context.d.ts.map +1 -1
  620. package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts +3 -0
  621. package/lib/typescript/module/screen/use-intrinsic-content-height.d.ts.map +1 -0
  622. package/lib/typescript/module/screen/use-screen-viewport.d.ts.map +1 -1
  623. package/lib/typescript/module/scroll/constants.d.ts +2 -0
  624. package/lib/typescript/module/scroll/constants.d.ts.map +1 -1
  625. package/lib/typescript/module/scroll/owner-handoff.d.ts +3 -1
  626. package/lib/typescript/module/scroll/owner-handoff.d.ts.map +1 -1
  627. package/lib/typescript/module/scroll/use-scroll-restoration.web.d.ts.map +1 -1
  628. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  629. package/lib/typescript/module/sidebar/arrangement.d.ts +32 -0
  630. package/lib/typescript/module/sidebar/arrangement.d.ts.map +1 -0
  631. package/lib/typescript/module/sidebar/index.d.ts +1 -0
  632. package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
  633. package/lib/typescript/module/sidebar/types.d.ts +13 -1
  634. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  635. package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -1
  636. package/lib/typescript/module/tab-bar/shared.d.ts +2 -0
  637. package/lib/typescript/module/tab-bar/shared.d.ts.map +1 -1
  638. package/lib/typescript/module/tab-bar/types.d.ts +2 -0
  639. package/lib/typescript/module/tab-bar/types.d.ts.map +1 -1
  640. package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts +1 -1
  641. package/lib/typescript/module/tab-pager/TabPagerBottomBar.d.ts.map +1 -1
  642. package/lib/typescript/module/tab-pager/types.d.ts +4 -1
  643. package/lib/typescript/module/tab-pager/types.d.ts.map +1 -1
  644. package/package.json +154 -1
  645. package/src/__tests__/support/public-part-classifications.json +22 -1
  646. package/src/__tests__/support/yoga-host-tree.ts +67 -4
  647. package/src/app-shell/AppShell.tsx +7 -3
  648. package/src/app-shell/AppShellEngine.tsx +6 -2
  649. package/src/app-shell/AppShellPanelLayout.tsx +466 -189
  650. package/src/app-shell/RetainedPanelLayout.tsx +7 -1
  651. package/src/app-shell/panel-layout-css.ts +41 -27
  652. package/src/app-shell/panel-layout-types.ts +11 -2
  653. package/src/app-shell/panel-layout.ts +49 -256
  654. package/src/app-shell/panel-motion.ts +34 -52
  655. package/src/app-shell/panel-transitions.ts +39 -0
  656. package/src/app-shell/shell-layout-css.ts +6 -2
  657. package/src/app-shell/types.ts +4 -0
  658. package/src/app-shell/use-panel-exit-completion.ts +95 -0
  659. package/src/app-shell/use-panel-reorder.ts +2 -2
  660. package/src/app-shell/use-panel-resize.ts +37 -10
  661. package/src/app-shell/use-panel-reveal.ts +4 -9
  662. package/src/bottom-bar/BottomBarBase.tsx +230 -46
  663. package/src/bottom-bar/types.ts +10 -2
  664. package/src/bottom-sheet/BottomSheetBase.tsx +6 -2
  665. package/src/bottom-sheet/types.ts +2 -0
  666. package/src/button/GlyphAttention.tsx +100 -0
  667. package/src/button/GlyphButton.tsx +21 -6
  668. package/src/button/types.ts +11 -0
  669. package/src/chat-composer/CompactComposer.tsx +7 -0
  670. package/src/chat-composer/CompactComposer.web.tsx +7 -0
  671. package/src/chat-composer/compact-text.ts +4 -0
  672. package/src/chat-composer/compact-types.ts +47 -0
  673. package/src/chat-composer/create-compact-composer.tsx +213 -0
  674. package/src/chat-composer/index.ts +8 -0
  675. package/src/chat-composer/index.web.ts +8 -0
  676. package/src/chat-composer/messages.ts +16 -0
  677. package/src/dialog/DialogBottomSheet.tsx +13 -2
  678. package/src/dialog/types.ts +2 -0
  679. package/src/engagement-bar/EngagementAction.tsx +5 -4
  680. package/src/engagement-bar/EngagementBar.tsx +30 -5
  681. package/src/engagement-bar/EngagementPop.tsx +11 -3
  682. package/src/engagement-bar/context.ts +1 -0
  683. package/src/engagement-bar/paint.ts +60 -13
  684. package/src/engagement-bar/types.ts +10 -1
  685. package/src/hooks/use-border-box-size.ts +38 -0
  686. package/src/icons/index.ts +2 -1
  687. package/src/icons/social/BookmarkFillIcon.tsx +6 -0
  688. package/src/icons/social/BookmarkIcon.tsx +6 -0
  689. package/src/icons/social/GifAttachmentIcon.tsx +6 -0
  690. package/src/icons/social/LikeFillIcon.tsx +7 -0
  691. package/src/icons/social/LikeIcon.tsx +8 -0
  692. package/src/icons/social/MediaAttachmentIcon.tsx +6 -0
  693. package/src/icons/social/ReplyIcon.tsx +8 -0
  694. package/src/icons/social/RepostIcon.tsx +6 -0
  695. package/src/icons/social/ShareIcon.tsx +6 -0
  696. package/src/icons/social/index.ts +9 -0
  697. package/src/index.ts +5 -0
  698. package/src/index.web.ts +5 -0
  699. package/src/layout/ScrollBar.web.tsx +74 -40
  700. package/src/layout/bottom-edge.tsx +17 -0
  701. package/src/layout/scroll-metrics.tsx +2 -0
  702. package/src/layout/types.ts +2 -2
  703. package/src/list/VirtualList.tsx +18 -0
  704. package/src/list/VirtualList.web.tsx +69 -22
  705. package/src/list/flash-list-module.ts +2 -0
  706. package/src/locale/translations/ar.ts +9 -0
  707. package/src/locale/translations/bn.ts +9 -0
  708. package/src/locale/translations/ca.ts +10 -0
  709. package/src/locale/translations/de.ts +10 -0
  710. package/src/locale/translations/es.ts +10 -0
  711. package/src/locale/translations/fr.ts +10 -0
  712. package/src/locale/translations/hi.ts +9 -0
  713. package/src/locale/translations/id.ts +10 -0
  714. package/src/locale/translations/it.ts +10 -0
  715. package/src/locale/translations/ja.ts +10 -0
  716. package/src/locale/translations/pt.ts +10 -0
  717. package/src/locale/translations/ru.ts +10 -0
  718. package/src/locale/translations/tr.ts +10 -0
  719. package/src/locale/translations/types.ts +5 -1
  720. package/src/locale/translations/zh.ts +9 -0
  721. package/src/page-header/EdgeScrim.tsx +29 -9
  722. package/src/page-header/PageHeader.tsx +10 -6
  723. package/src/page-header/types.ts +2 -0
  724. package/src/screen/ScreenBase.tsx +13 -6
  725. package/src/screen/ScreenScrollViewBase.tsx +24 -2
  726. package/src/screen/context.ts +3 -0
  727. package/src/screen/use-intrinsic-content-height.ts +56 -0
  728. package/src/screen/use-screen-viewport.ts +60 -11
  729. package/src/scroll/constants.ts +3 -0
  730. package/src/scroll/owner-handoff.ts +45 -11
  731. package/src/scroll/use-scroll-restoration.web.ts +4 -10
  732. package/src/sidebar/Sidebar.tsx +146 -121
  733. package/src/sidebar/arrangement.ts +47 -0
  734. package/src/sidebar/index.ts +6 -0
  735. package/src/sidebar/types.ts +13 -1
  736. package/src/tab-bar/TabBarBase.tsx +193 -27
  737. package/src/tab-bar/shared.ts +2 -0
  738. package/src/tab-bar/types.ts +2 -0
  739. package/src/tab-pager/TabPagerBottomBar.tsx +23 -3
  740. package/src/tab-pager/types.ts +4 -1
@@ -1,5 +1,13 @@
1
1
  import { ScrollArea } from '../layout/ScrollArea';
2
- import { type ComponentRef, useContext, useRef, useState, type ComponentType } from 'react';
2
+ import {
3
+ type ComponentRef,
4
+ useContext,
5
+ useRef,
6
+ useState,
7
+ useCallback,
8
+ useInsertionEffect,
9
+ type ComponentType,
10
+ } from 'react';
3
11
  import { View, Platform } from 'react-native';
4
12
  import { useKeyboardVisible } from '../hooks/use-keyboard-visible';
5
13
  import { useEffect } from 'react';
@@ -9,17 +17,23 @@ import Animated, {
9
17
  interpolate,
10
18
  runOnJS,
11
19
  useSharedValue,
20
+ useDerivedValue,
12
21
  } from 'react-native-reanimated';
13
22
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
14
23
  import { useDirectionProps } from '../hooks/use-is-rtl';
15
24
  import { BottomBarSlotContext } from '../layout/bottom-bar-slot';
16
- import { useClaimBottomEdge } from '../layout/bottom-edge';
25
+ import { ScreenFooterContext } from '../screen/context';
26
+ import { adoptStyleSheet } from '../styles/adopt-style-sheet';
27
+ import { IS_WEB } from '../styles/platform';
28
+ import { dataHook } from '../styles/data-hook';
29
+ import { useClaimBottomEdge, useMeasuredBottomEdgeClaim } from '../layout/bottom-edge';
17
30
  import { FAB_METRICS } from '../fab/constants';
18
31
  import { windowEdgeGap } from '../layout/edge';
19
32
  import { useMinimizeState } from '../tab-bar/context';
20
33
  import {
21
34
  EXPANDED_HEIGHT,
22
35
  MINIMIZED_HEIGHT,
36
+ DOCK_NAVIGATION_PHASE,
23
37
  BLUR_BLEED,
24
38
  MAX_EXPANDED_ITEM_WIDTH,
25
39
  ROW_PAD_H,
@@ -29,6 +43,9 @@ import type { ProgressiveBlurProps } from '../progressive-blur/types';
29
43
  import type { BottomBarProps } from './types';
30
44
  import { useCssSafeAreaInsets } from '../hooks/use-css-safe-area-insets';
31
45
  import { UNSET } from '../styles/animated-style';
46
+ import { useBorderBoxSize } from '../hooks/use-border-box-size';
47
+ import { useWindowWidthClass } from '../hooks/use-width-class';
48
+ import { BREAKPOINTS } from '../styles/breakpoints';
32
49
  import { usePrefersReducedMotion } from '../hooks/use-prefers-reduced-motion';
33
50
 
34
51
  interface Props extends BottomBarProps {
@@ -48,19 +65,42 @@ export function BottomBarBase({
48
65
  action,
49
66
  actionPlacement = 'auto',
50
67
  actionBehavior = 'hide',
68
+ navigationVisibility = 'always',
51
69
  minimizeProgress,
52
70
  hideProgress,
53
71
  blur = false,
54
72
  maxWidth = 560,
73
+ horizontalInset = 12,
55
74
  style,
56
75
  testID,
57
76
  }: Props) {
77
+ const inset = Math.max(0, Number.isFinite(horizontalInset) ? horizontalInset : 12);
58
78
  const insets = useCssSafeAreaInsets(useSafeAreaInsets());
59
79
  // Logical insets below; react-native-web needs the direction handed to it.
60
80
  const dirProps = useDirectionProps();
61
81
  const minimize = useMinimizeState();
62
82
  const progress = minimizeProgress ?? minimize.progress;
63
83
  const reducedMotion = usePrefersReducedMotion();
84
+ const dock = actionBehavior === 'dock' && action != null;
85
+ const sizeClass = useWindowWidthClass(COMPACT_THRESHOLDS);
86
+ const keyboardVisible = useKeyboardVisible();
87
+ const showNavigation =
88
+ navigationVisibility !== 'never' &&
89
+ (navigationVisibility !== 'compact' || sizeClass < BREAKPOINTS.md) &&
90
+ !(dock && keyboardVisible);
91
+ const present = action != null || (showNavigation && items.length > 0);
92
+ const selected = items.some((item) => item.name === value);
93
+ const dockNavigation = dock && showNavigation && items.length > 0;
94
+ // Folding frees the horizontal lane before the editor descends into it.
95
+ // Both phases are reversible projections of the same scroll signal.
96
+ const navigationProgress = useDerivedValue(() => {
97
+ const amount = reducedMotion ? Number(progress.value > 0.01) : progress.value;
98
+ return dock
99
+ ? selected
100
+ ? Math.min(1, Math.max(0, amount / DOCK_NAVIGATION_PHASE))
101
+ : 0
102
+ : amount;
103
+ }, [dock, reducedMotion, progress, selected]);
64
104
  const hideAction = actionBehavior === 'hide' && items.length > 0;
65
105
  const [actionHidden, setActionHidden] = useState(() => hideAction && progress.value > 0.01);
66
106
  const actionRef = useRef<ComponentRef<typeof View>>(null);
@@ -69,12 +109,13 @@ export function BottomBarBase({
69
109
  const [rowWidth, setRowWidth] = useState(0);
70
110
  const actionSpace = action ? (actionWidth ?? FAB_METRICS.md.diameter) + 10 : 0;
71
111
  const above = Boolean(
72
- action &&
112
+ !dock &&
113
+ action &&
73
114
  items.length &&
74
115
  (actionPlacement === 'above' ||
75
116
  (actionPlacement === 'auto' &&
76
117
  rowWidth > 0 &&
77
- rowWidth - 24 - actionSpace < items.length * 56 + ROW_PAD_H * 2)),
118
+ rowWidth - inset * 2 - actionSpace < items.length * 56 + ROW_PAD_H * 2)),
78
119
  );
79
120
  const footprint =
80
121
  EXPANDED_HEIGHT +
@@ -82,7 +123,7 @@ export function BottomBarBase({
82
123
  const navigationWidth = Math.max(
83
124
  0,
84
125
  Math.min(
85
- rowWidth - 24 - (above ? 0 : actionSpace),
126
+ rowWidth - inset * 2 - (above ? 0 : actionSpace),
86
127
  items.length * MAX_EXPANDED_ITEM_WIDTH + ROW_PAD_H * 2,
87
128
  ),
88
129
  );
@@ -136,25 +177,109 @@ export function BottomBarBase({
136
177
  (document.activeElement as HTMLElement | null)?.blur?.();
137
178
  node.inert = barHidden;
138
179
  }, [barHidden]);
139
- const keyboardVisible = useKeyboardVisible();
140
180
  const suppliedBottomInset = useContext(BottomBarSlotContext);
141
- const bottom = Math.max(0, windowEdgeGap(insets.bottom) - (suppliedBottomInset ?? 0));
142
- useClaimBottomEdge(keyboardVisible || suppliedBottomInset !== undefined ? 0 : bottom + footprint);
181
+ const bottom = keyboardVisible
182
+ ? 0
183
+ : Math.max(0, windowEdgeGap(insets.bottom) - (suppliedBottomInset ?? 0));
184
+ useClaimBottomEdge(
185
+ dock || !present || keyboardVisible || suppliedBottomInset !== undefined
186
+ ? 0
187
+ : bottom + footprint,
188
+ );
189
+ const footerOwner = useContext(ScreenFooterContext);
190
+ const claimMeasured = useMeasuredBottomEdgeClaim(
191
+ dock && footerOwner == null && suppliedBottomInset === undefined,
192
+ );
193
+ const naturalFootprint = useSharedValue(0);
194
+ const rootMeasurement = useBorderBoxSize(({ height }) => {
195
+ if (dock) {
196
+ naturalFootprint.value = height;
197
+ claimMeasured(height);
198
+ }
199
+ });
200
+ const attachRoot = useCallback(
201
+ (node: ComponentRef<typeof View> | null) => {
202
+ rootRef.current = node;
203
+ rootMeasurement.ref?.(node);
204
+ },
205
+ [rootMeasurement.ref],
206
+ );
207
+ useInsertionEffect(() => {
208
+ if (Platform.OS === 'web') adoptStyleSheet('bloom-bottom-bar-dock', DOCK_CSS);
209
+ }, []);
143
210
  const rowStyle = useAnimatedStyle(
144
211
  () => ({
145
- height: interpolate(
146
- reducedMotion ? Number(progress.value > 0.01) : progress.value,
147
- [0, 1],
148
- [EXPANDED_HEIGHT, MINIMIZED_HEIGHT],
149
- 'clamp',
150
- ),
212
+ height: dock
213
+ ? ('auto' as const)
214
+ : interpolate(
215
+ reducedMotion ? Number(progress.value > 0.01) : progress.value,
216
+ [0, 1],
217
+ [EXPANDED_HEIGHT, MINIMIZED_HEIGHT],
218
+ 'clamp',
219
+ ),
151
220
  }),
152
- [progress, reducedMotion],
221
+ [progress, reducedMotion, dock, footprint],
153
222
  );
154
223
  // Not `items.length` in the mapper: a worklet copies `items` whole to the UI
155
224
  // runtime, icon elements and all (`worklet-captures.test.ts`).
156
225
  const hasItems = items.length > 0;
226
+ const fallbackNavigationWidth = navigationStyle.width;
227
+ const dockNavigationStyle = useAnimatedStyle(() => {
228
+ const amount = navigationProgress.value;
229
+ return {
230
+ width: !dock
231
+ ? fallbackNavigationWidth
232
+ : IS_WEB
233
+ ? (`calc(${(1 - amount) * 100}% + ${amount * MINIMIZED_HEIGHT - (1 - amount) * inset * 2}px)` as `${number}%`)
234
+ : amount === 0
235
+ ? UNSET
236
+ : Math.max(MINIMIZED_HEIGHT, rowWidth - inset * 2) * (1 - amount) +
237
+ MINIMIZED_HEIGHT * amount,
238
+ alignSelf: dock ? ('flex-end' as const) : ('auto' as const),
239
+ };
240
+ }, [dock, navigationProgress, rowWidth, inset, fallbackNavigationWidth]);
241
+ const minimumNavigationWidth = items.length * 44 + ROW_PAD_H * 2;
242
+ const navigationMinimumStyle = useAnimatedStyle(
243
+ () => ({
244
+ minWidth: dock
245
+ ? minimumNavigationWidth * (1 - navigationProgress.value) +
246
+ MINIMIZED_HEIGHT * navigationProgress.value
247
+ : minimumNavigationWidth,
248
+ }),
249
+ [dock, minimumNavigationWidth, navigationProgress],
250
+ );
251
+ const actionMeasurement = useBorderBoxSize(({ width, height }) => {
252
+ if (!dock) {
253
+ setActionWidth(width);
254
+ setActionHeight(height);
255
+ }
256
+ });
257
+ const rowMeasurement = useBorderBoxSize(({ width }) => {
258
+ if (!dock || Platform.OS !== 'web') setRowWidth(width);
259
+ });
157
260
  const actionStyle = useAnimatedStyle(() => {
261
+ if (dock) {
262
+ const amount =
263
+ dockNavigation && selected
264
+ ? Math.min(1, Math.max(0, reducedMotion ? Number(progress.value > 0.01) : progress.value))
265
+ : 0;
266
+ return {
267
+ width: 'auto' as const,
268
+ opacity: 1,
269
+ marginInlineStart: dockNavigation ? (MINIMIZED_HEIGHT + 10) * navigationProgress.value : 0,
270
+ transform: [
271
+ {
272
+ translateY: dockNavigation
273
+ ? (EXPANDED_HEIGHT + 10) *
274
+ Math.min(
275
+ 1,
276
+ Math.max(0, (amount - DOCK_NAVIGATION_PHASE) / (1 - DOCK_NAVIGATION_PHASE)),
277
+ )
278
+ : 0,
279
+ },
280
+ ],
281
+ };
282
+ }
158
283
  const amount = hideAction
159
284
  ? Math.min(1, Math.max(0, reducedMotion ? Number(progress.value > 0.01) : progress.value))
160
285
  : 0;
@@ -167,26 +292,43 @@ export function BottomBarBase({
167
292
  opacity: 1 - amount,
168
293
  transform: [{ scale: 1 - amount * 0.15 }],
169
294
  };
170
- }, [progress, hideAction, reducedMotion, actionWidth, hasItems, above]);
295
+ }, [
296
+ progress,
297
+ hideAction,
298
+ reducedMotion,
299
+ actionWidth,
300
+ hasItems,
301
+ above,
302
+ dock,
303
+ dockNavigation,
304
+ navigationProgress,
305
+ selected,
306
+ ]);
171
307
  const presenceStyle = useAnimatedStyle(() => {
172
308
  const amount = Math.min(1, Math.max(0, reducedMotion ? Number(hide.value > 0.5) : hide.value));
173
309
  // The whole footprint, so a gone bar leaves no sliver above the edge.
174
310
  return {
175
311
  opacity: 1 - amount,
176
- transform: [{ translateY: amount * (bottom + footprint) }],
312
+ transform: [{ translateY: amount * (dock ? naturalFootprint.value : bottom + footprint) }],
177
313
  };
178
- }, [hide, reducedMotion, bottom, footprint]);
179
- if (keyboardVisible || (!items.length && !action)) return null;
314
+ }, [hide, reducedMotion, bottom, footprint, dock, naturalFootprint]);
315
+ if ((keyboardVisible && !dock) || !present) return null;
180
316
  return (
181
317
  <Animated.View
182
318
  {...dirProps}
183
- ref={rootRef}
319
+ ref={dock ? attachRoot : rootRef}
320
+ onLayout={dock ? rootMeasurement.onLayout : undefined}
321
+ {...dataHook('bloomBottomBarDock', dock ? navigationVisibility : undefined)}
184
322
  testID={testID}
185
323
  pointerEvents={barHidden ? 'none' : 'box-none'}
186
324
  accessibilityElementsHidden={barHidden}
187
325
  importantForAccessibility={barHidden ? 'no-hide-descendants' : 'auto'}
188
326
  aria-hidden={barHidden}
189
- style={[{ height: bottom + footprint, justifyContent: 'flex-end' }, style, presenceStyle]}
327
+ style={[
328
+ { height: dock ? undefined : bottom + footprint, justifyContent: 'flex-end' },
329
+ style,
330
+ presenceStyle,
331
+ ]}
190
332
  >
191
333
  {blur && (
192
334
  <Blur
@@ -196,48 +338,74 @@ export function BottomBarBase({
196
338
  left: 0,
197
339
  right: 0,
198
340
  bottom: 0,
199
- height: bottom + footprint + BLUR_BLEED,
341
+ height: dock ? '100%' : bottom + footprint + BLUR_BLEED,
200
342
  }}
201
343
  />
202
344
  )}
203
345
  <Animated.View
204
346
  testID={testID ? `${testID}-row` : undefined}
205
- onLayout={(event) => setRowWidth(event.nativeEvent.layout.width)}
347
+ {...(dock && IS_WEB ? {} : rowMeasurement)}
348
+ {...dataHook('bloomBottomBarRow')}
206
349
  pointerEvents="box-none"
207
350
  style={[
208
351
  {
209
- justifyContent: items.length ? 'center' : 'flex-end',
352
+ justifyContent: dock ? 'flex-start' : items.length ? 'center' : 'flex-end',
210
353
  alignSelf: 'center',
211
354
  width: '100%',
212
355
  maxWidth,
213
- paddingLeft: 12,
214
- paddingRight: 12,
356
+ paddingLeft: inset,
357
+ paddingRight: inset,
215
358
  marginBottom: bottom,
216
- flexDirection: 'row',
217
- alignItems: 'center',
359
+ flexDirection: dock ? 'column' : 'row',
360
+ paddingBottom: dockNavigation ? EXPANDED_HEIGHT + 10 : 0,
361
+ alignItems: dock ? 'stretch' : 'center',
218
362
  },
219
363
  rowStyle,
220
364
  ]}
221
365
  >
222
366
  {items.length > 0 && (
223
- <View testID={testID ? `${testID}-navigation` : undefined} style={navigationStyle}>
367
+ <Animated.View
368
+ testID={testID ? `${testID}-navigation` : undefined}
369
+ {...dataHook('bloomBottomBarNavigation')}
370
+ style={[
371
+ dock
372
+ ? {
373
+ position: 'absolute',
374
+ bottom: 0,
375
+ insetInlineStart: inset,
376
+ insetInlineEnd: inset,
377
+ minWidth: MINIMIZED_HEIGHT,
378
+ flexShrink: 0,
379
+ }
380
+ : navigationStyle,
381
+ !showNavigation ? { display: 'none' } : undefined,
382
+ dockNavigationStyle,
383
+ ]}
384
+ >
224
385
  <ScrollArea
225
386
  horizontal
226
387
  showsHorizontalScrollIndicator={false}
227
- contentContainerStyle={{ minWidth: '100%' }}
388
+ contentContainerStyle={dock ? { width: '100%', minWidth: 0 } : { minWidth: '100%' }}
389
+ scrollbar="never"
228
390
  >
229
- <View
230
- style={
231
- Platform.OS === 'web'
232
- ? { width: '100%', minWidth: items.length * 44 + 8 }
233
- : { width: Math.max(navigationWidth, items.length * 44 + 8) }
234
- }
391
+ <Animated.View
392
+ style={[
393
+ dock
394
+ ? { width: '100%' }
395
+ : Platform.OS === 'web'
396
+ ? { width: '100%', minWidth: items.length * 44 + 8 }
397
+ : { width: Math.max(navigationWidth, items.length * 44 + 8) },
398
+ navigationMinimumStyle,
399
+ ]}
235
400
  >
236
401
  <Navigation
237
- scrollable={navigationWidth > 0 && navigationWidth < items.length * 44 + 8}
402
+ minimizeBehavior={dock ? 'active' : 'compact'}
403
+ scrollable={
404
+ !dock && navigationWidth > 0 && navigationWidth < items.length * 44 + 8
405
+ }
238
406
  embedded
239
407
  blur={false}
240
- minimizeProgress={progress}
408
+ minimizeProgress={dock && !selected ? shown : progress}
241
409
  activeProgress={activeProgress}
242
410
  onIndexLongPress={
243
411
  onValueLongPress
@@ -255,9 +423,9 @@ export function BottomBarBase({
255
423
  <Item key={item.name} item={item} index={index} />
256
424
  ))}
257
425
  </Navigation>
258
- </View>
426
+ </Animated.View>
259
427
  </ScrollArea>
260
- </View>
428
+ </Animated.View>
261
429
  )}
262
430
  {action && (
263
431
  <Animated.View
@@ -267,21 +435,27 @@ export function BottomBarBase({
267
435
  importantForAccessibility={actionHidden ? 'no-hide-descendants' : 'auto'}
268
436
  aria-hidden={actionHidden}
269
437
  testID={testID ? `${testID}-action` : undefined}
438
+ {...dataHook('bloomBottomBarAction')}
270
439
  style={[
271
- { flexShrink: 0, alignItems: 'flex-start', justifyContent: 'center' },
440
+ {
441
+ flexShrink: 0,
442
+ alignItems: dock ? 'stretch' : 'flex-start',
443
+ justifyContent: 'center',
444
+ },
445
+
272
446
  above
273
- ? { position: 'absolute', insetInlineEnd: 12, bottom: '100%', marginBottom: 10 }
447
+ ? { position: 'absolute', insetInlineEnd: inset, bottom: '100%', marginBottom: 10 }
274
448
  : undefined,
275
449
  actionStyle,
276
450
  ]}
277
451
  >
278
452
  <View
279
453
  testID={testID ? `${testID}-action-content` : undefined}
280
- onLayout={(event) => {
281
- setActionWidth(event.nativeEvent.layout.width);
282
- setActionHeight(event.nativeEvent.layout.height);
454
+ {...(dock ? {} : actionMeasurement)}
455
+ style={{
456
+ flexShrink: 0,
457
+ ...(dock || actionWidth == null ? {} : { width: actionWidth }),
283
458
  }}
284
- style={{ flexShrink: 0, ...(actionWidth == null ? {} : { width: actionWidth }) }}
285
459
  >
286
460
  {action}
287
461
  </View>
@@ -291,3 +465,13 @@ export function BottomBarBase({
291
465
  </Animated.View>
292
466
  );
293
467
  }
468
+
469
+ const COMPACT_THRESHOLDS = [BREAKPOINTS.md] as const;
470
+
471
+ const DOCK_CSS = `
472
+ @media (min-width: ${BREAKPOINTS.md}px) {
473
+ [data-bloom-bottom-bar-dock="compact"] [data-bloom-bottom-bar-navigation] { display: none !important; }
474
+ [data-bloom-bottom-bar-dock="compact"] [data-bloom-bottom-bar-row] { padding-bottom: 0 !important; }
475
+ [data-bloom-bottom-bar-dock="compact"] [data-bloom-bottom-bar-action] { margin-inline-start: 0 !important; transform: none !important; }
476
+ }
477
+ `;
@@ -15,8 +15,14 @@ export interface BottomBarProps {
15
15
  action?: ReactNode;
16
16
  /** Auto places the action above navigation when side-by-side targets would be cramped. */
17
17
  actionPlacement?: 'auto' | 'beside' | 'above';
18
- /** Hide the accessory while minimizing, returning on upward scroll. Default hide; standalone actions remain visible. */
19
- actionBehavior?: 'hide' | 'visible';
18
+ /**
19
+ * `hide` fades the accessory on scroll (default), `visible` retains it.
20
+ * `dock` keeps one editable action: above expanded navigation, beside the
21
+ * active destination when minimized. It stays mounted with the keyboard.
22
+ */
23
+ actionBehavior?: 'hide' | 'visible' | 'dock';
24
+ /** Keep the same action mounted while navigation is absent (for example on desktop). */
25
+ navigationVisibility?: 'always' | 'compact' | 'never';
20
26
  minimizeProgress?: SharedValue<number>;
21
27
  /**
22
28
  * The bar's presence, 0 (shown) to 1 (gone), on the UI thread. The bar fades
@@ -28,6 +34,8 @@ export interface BottomBarProps {
28
34
  /** Optional screen-edge blur band; disabled by default. */
29
35
  blur?: boolean;
30
36
  maxWidth?: number;
37
+ /** Horizontal breathing room shared by navigation and action. Default 12. */
38
+ horizontalInset?: number;
31
39
  style?: StyleProp<ViewStyle>;
32
40
  testID?: string;
33
41
  }
@@ -87,6 +87,7 @@ export const BottomSheetBase = forwardRef(
87
87
  backdropOpacity = BACKDROP_DIM_OPACITY,
88
88
  scrollable = true,
89
89
  sizing = 'content',
90
+ maxHeightRatio = 1,
90
91
  manualActivation = false,
91
92
  animatedProgress,
92
93
  handleComponent,
@@ -634,13 +635,16 @@ export const BottomSheetBase = forwardRef(
634
635
  const sheetHeightStyle = useAnimatedStyle(() => {
635
636
  const availableHeight = Math.max(
636
637
  0,
637
- screenHeightSV.value - keyboardHeight.value - topGap - detachedGap,
638
+ Math.min(
639
+ screenHeightSV.value * Math.max(0, Math.min(1, maxHeightRatio)),
640
+ screenHeightSV.value - keyboardHeight.value - topGap - detachedGap,
641
+ ),
638
642
  );
639
643
  return {
640
644
  maxHeight: availableHeight,
641
645
  height: sizing === 'fill' ? availableHeight : UNSET,
642
646
  };
643
- }, [sizing, topGap, detachedGap, screenHeightSV, keyboardHeight]);
647
+ }, [sizing, maxHeightRatio, topGap, detachedGap, screenHeightSV, keyboardHeight]);
644
648
 
645
649
  const sheetMarginStyle = useAnimatedStyle(() => {
646
650
  // Only add margin when detached, otherwise extend behind safe area
@@ -94,6 +94,8 @@ export interface BottomSheetProps {
94
94
  * keyboard and detached-edge calculation. It does not add a scroll owner.
95
95
  */
96
96
  sizing?: 'content' | 'fill';
97
+ /** Ceiling as a fraction of window height, also constrained by keyboard and safe areas. */
98
+ maxHeightRatio?: number;
97
99
  /**
98
100
  * When `true`, the body pan uses RNGH's `manualActivation` and only
99
101
  * activates when (a) the inner ScrollView is at the top AND (b) the user
@@ -0,0 +1,100 @@
1
+ import { type ComponentRef, type ReactNode, useLayoutEffect, useRef } from 'react';
2
+ import { View, type ViewStyle } from 'react-native';
3
+ import Animated, {
4
+ cancelAnimation,
5
+ Easing,
6
+ ReduceMotion,
7
+ useAnimatedStyle,
8
+ useSharedValue,
9
+ withSequence,
10
+ withTiming,
11
+ } from 'react-native-reanimated';
12
+
13
+ import { usePrefersReducedMotion } from '../hooks/use-prefers-reduced-motion';
14
+ import { useInteractiveWebCss } from '../styles/interactive-web-css';
15
+ import { IS_WEB } from '../styles/platform';
16
+ import { dataHook } from '../styles/data-hook';
17
+
18
+ interface Props {
19
+ token: number;
20
+ blocked: boolean;
21
+ children: ReactNode;
22
+ }
23
+
24
+ const CENTER: ViewStyle = { alignItems: 'center', justifyContent: 'center' };
25
+ const ATTENTION_CSS = `
26
+ @keyframes bloom-glyph-attention-a {
27
+ 0%, 100% { transform: scale(1); }
28
+ 31.25% { transform: scale(1.12); }
29
+ }
30
+ @keyframes bloom-glyph-attention-b {
31
+ 0%, 100% { transform: scale(1); }
32
+ 31.25% { transform: scale(1.12); }
33
+ }
34
+ [data-bloom-glyph-attention] {
35
+ animation-duration: 320ms;
36
+ animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
37
+ }
38
+ @media (prefers-reduced-motion: reduce) {
39
+ [data-bloom-glyph-attention] { animation: none !important; }
40
+ }`;
41
+
42
+ /** Only opt-in glyphs mount this feedback; ordinary buttons retain their plain View. */
43
+ function WebGlyphAttention({ token, blocked, children }: Props) {
44
+ const ref = useRef<ComponentRef<typeof View>>(null);
45
+ const previous = useRef(token);
46
+ const phase = useRef(false);
47
+ const reducedMotion = usePrefersReducedMotion();
48
+ useInteractiveWebCss('bloom-glyph-attention', ATTENTION_CSS);
49
+
50
+ useLayoutEffect(() => {
51
+ const changed = !Object.is(previous.current, token);
52
+ previous.current = token;
53
+ const node = ref.current as unknown as HTMLElement | null;
54
+ if (!node) return;
55
+ if (blocked || reducedMotion || !Number.isFinite(token)) {
56
+ node.style.animationName = 'none';
57
+ } else if (changed) {
58
+ // Alternating equivalent CSS animations restarts on each committed attempt,
59
+ // including during an unfinished pulse, without remounting or reading layout.
60
+ phase.current = !phase.current;
61
+ node.style.animationName = `bloom-glyph-attention-${phase.current ? 'a' : 'b'}`;
62
+ }
63
+ }, [token, blocked, reducedMotion]);
64
+
65
+ return (
66
+ <View ref={ref} pointerEvents="none" {...dataHook('bloomGlyphAttention')} style={CENTER}>
67
+ {children}
68
+ </View>
69
+ );
70
+ }
71
+
72
+ function NativeGlyphAttention({ token, blocked, children }: Props) {
73
+ const previous = useRef(token);
74
+ const scale = useSharedValue(1);
75
+ const reducedMotion = usePrefersReducedMotion();
76
+
77
+ useLayoutEffect(() => {
78
+ const changed = !Object.is(previous.current, token);
79
+ previous.current = token;
80
+ cancelAnimation(scale);
81
+ scale.value = 1;
82
+ if (changed && !blocked && !reducedMotion && Number.isFinite(token)) {
83
+ const easing = Easing.bezier(0.2, 0.8, 0.2, 1);
84
+ scale.value = withSequence(
85
+ withTiming(1.12, { duration: 100, easing, reduceMotion: ReduceMotion.System }),
86
+ withTiming(1, { duration: 220, easing, reduceMotion: ReduceMotion.System }),
87
+ );
88
+ }
89
+ return () => cancelAnimation(scale);
90
+ }, [token, blocked, reducedMotion, scale]);
91
+
92
+ const style = useAnimatedStyle(() => ({ transform: [{ scale: scale.value }] }), [scale]);
93
+ return (
94
+ <Animated.View pointerEvents="none" style={[CENTER, style]}>
95
+ {children}
96
+ </Animated.View>
97
+ );
98
+ }
99
+
100
+ export const GlyphAttention = IS_WEB ? WebGlyphAttention : NativeGlyphAttention;
@@ -13,6 +13,7 @@ import {
13
13
  resolveGlyphButtonPaint,
14
14
  } from './shared';
15
15
  import type { GlyphButtonProps } from './types';
16
+ import { GlyphAttention } from './GlyphAttention';
16
17
  import { IS_WEB } from '../styles/platform';
17
18
  import type { RefComponent } from '../styles/native-refs';
18
19
 
@@ -27,7 +28,7 @@ import type { RefComponent } from '../styles/native-refs';
27
28
  * disabled `aria-disabled`, no press, dimmed to `disabledOpacity` (0.5)
28
29
  * busy `aria-busy`, no press, NOT dimmed — working, not unavailable
29
30
  *
30
- * Colour change only, no scale, 150ms. Focus is a 2px ring at a 2px offset,
31
+ * Default feedback changes colour only, with no scale, in 150ms. Focus is a 2px ring at a 2px offset,
31
32
  * `:focus-visible` so a mouse press leaves none behind; `ring` is a PROP because
32
33
  * these sit on surfaces Bloom does not own (artwork, a player bar) where the
33
34
  * accent ring disappears.
@@ -86,10 +87,13 @@ function GlyphButtonComponent(
86
87
  {
87
88
  size = GLYPH_BUTTON_SIZE,
88
89
  glyphSize,
90
+ attention,
89
91
  icon: Icon,
90
92
  children,
91
93
  onPress,
92
94
  onLongPress,
95
+ onFocus,
96
+ onBlur,
93
97
  disabled = false,
94
98
  busy = false,
95
99
  pressed,
@@ -149,6 +153,11 @@ function GlyphButtonComponent(
149
153
  '--bloom-glyph-button-ring': ring ?? paint.ring,
150
154
  };
151
155
 
156
+ const glyphContent =
157
+ typeof children === 'function'
158
+ ? children(foreground)
159
+ : (children ?? (Icon ? <Icon width={glyph} height={glyph} fill={foreground} /> : null));
160
+
152
161
  return (
153
162
  <Pressable
154
163
  ref={ref}
@@ -181,6 +190,8 @@ function GlyphButtonComponent(
181
190
  }
182
191
  : undefined
183
192
  }
193
+ onFocus={onFocus}
194
+ onBlur={onBlur}
184
195
  onHoverIn={onHoverIn}
185
196
  onHoverOut={onHoverOut}
186
197
  onPressIn={onPressIn}
@@ -189,11 +200,15 @@ function GlyphButtonComponent(
189
200
  style={[rootStyle, style]}
190
201
  testID={testID}
191
202
  >
192
- <View pointerEvents="none" style={{ alignItems: 'center', justifyContent: 'center' }}>
193
- {typeof children === 'function'
194
- ? children(foreground)
195
- : (children ?? (Icon ? <Icon width={glyph} height={glyph} fill={foreground} /> : null))}
196
- </View>
203
+ {attention === undefined ? (
204
+ <View pointerEvents="none" style={{ alignItems: 'center', justifyContent: 'center' }}>
205
+ {glyphContent}
206
+ </View>
207
+ ) : (
208
+ <GlyphAttention token={attention} blocked={blocked}>
209
+ {glyphContent}
210
+ </GlyphAttention>
211
+ )}
197
212
  {decoration}
198
213
  </Pressable>
199
214
  );