@oxy.so/bloom 23.1.1 → 23.3.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 (670) hide show
  1. package/NOTICE +1 -2
  2. package/README.md +1 -1
  3. package/docs/adoption-matrix.mdx +1 -2
  4. package/docs/bloom-language-codemod.mdx +4 -2
  5. package/docs/bloom-language-for-agents.mdx +1 -0
  6. package/docs/bloom-language.mdx +9 -1
  7. package/docs/page-header.mdx +3 -3
  8. package/docs/public-parts.mdx +2 -5
  9. package/docs/semantic-composition.mdx +2 -2
  10. package/docs/task-catalog.json +1 -1
  11. package/docs/task-catalog.mdx +1 -1
  12. package/docs/verification.mdx +1 -1
  13. package/docs/zoomable-media-gallery.mdx +33 -3
  14. package/lib/commonjs/agent-chat/shared.js +1 -3
  15. package/lib/commonjs/agent-chat/shared.js.map +1 -1
  16. package/lib/commonjs/agent-progress/AgentProgressPlan.js +1 -2
  17. package/lib/commonjs/agent-progress/AgentProgressPlan.js.map +1 -1
  18. package/lib/commonjs/ai-chat/AiChatGalleryPanelBase.js +9 -9
  19. package/lib/commonjs/ai-chat/AiChatGalleryPanelBase.js.map +1 -1
  20. package/lib/commonjs/ai-chat/AiChatImageGenerationBase.js +6 -6
  21. package/lib/commonjs/ai-chat/AiChatImageGenerationBase.js.map +1 -1
  22. package/lib/commonjs/app-shell/use-shell-viewport.js +0 -11
  23. package/lib/commonjs/app-shell/use-shell-viewport.js.map +1 -1
  24. package/lib/commonjs/avatar/Avatar.js +37 -18
  25. package/lib/commonjs/avatar/Avatar.js.map +1 -1
  26. package/lib/commonjs/avatar/LiveBadge.js +6 -1
  27. package/lib/commonjs/avatar/LiveBadge.js.map +1 -1
  28. package/lib/commonjs/avatar-flight/create-avatar-flight-layer.js +5 -5
  29. package/lib/commonjs/avatar-flight/create-avatar-flight-layer.js.map +1 -1
  30. package/lib/commonjs/button/shared.js +0 -7
  31. package/lib/commonjs/button/shared.js.map +1 -1
  32. package/lib/commonjs/canvas/CanvasPanelBase.js +2 -2
  33. package/lib/commonjs/canvas/CanvasPanelBase.js.map +1 -1
  34. package/lib/commonjs/card/SelectionCard.js +11 -11
  35. package/lib/commonjs/card/SelectionCard.js.map +1 -1
  36. package/lib/commonjs/chat-composer/shared.js +0 -7
  37. package/lib/commonjs/chat-composer/shared.js.map +1 -1
  38. package/lib/commonjs/chat-list/shared.js +1 -8
  39. package/lib/commonjs/chat-list/shared.js.map +1 -1
  40. package/lib/commonjs/chip/Chip.js +2 -2
  41. package/lib/commonjs/chip/Chip.js.map +1 -1
  42. package/lib/commonjs/composer-panel/ModelPickerBase.js +2 -1
  43. package/lib/commonjs/composer-panel/ModelPickerBase.js.map +1 -1
  44. package/lib/commonjs/composer-panel/shared.js +0 -7
  45. package/lib/commonjs/composer-panel/shared.js.map +1 -1
  46. package/lib/commonjs/content-panel/ContentPanel.web.js +12 -35
  47. package/lib/commonjs/content-panel/ContentPanel.web.js.map +1 -1
  48. package/lib/commonjs/cover-header/CoverHeader.js +1 -2
  49. package/lib/commonjs/cover-header/CoverHeader.js.map +1 -1
  50. package/lib/commonjs/dialog/DetailDialogMotion.js +1 -2
  51. package/lib/commonjs/dialog/DetailDialogMotion.js.map +1 -1
  52. package/lib/commonjs/floating/FloatingPanel.js +3 -3
  53. package/lib/commonjs/floating/FloatingPanel.js.map +1 -1
  54. package/lib/commonjs/floating/TriggerSlot.js +2 -2
  55. package/lib/commonjs/floating/TriggerSlot.js.map +1 -1
  56. package/lib/commonjs/floating/constants.js +1 -1
  57. package/lib/commonjs/floating/menu-swatch-row.js +2 -2
  58. package/lib/commonjs/floating/menu-swatch-row.js.map +1 -1
  59. package/lib/commonjs/floating/shared.js +2 -2
  60. package/lib/commonjs/floating/shared.js.map +1 -1
  61. package/lib/commonjs/image/BloomImage.js +4 -0
  62. package/lib/commonjs/image/BloomImage.js.map +1 -1
  63. package/lib/commonjs/image/expo-image-module.js.map +1 -1
  64. package/lib/commonjs/link-preview/LinkPreviewCard.js +21 -5
  65. package/lib/commonjs/link-preview/LinkPreviewCard.js.map +1 -1
  66. package/lib/commonjs/lyrics/shared.js +0 -12
  67. package/lib/commonjs/lyrics/shared.js.map +1 -1
  68. package/lib/commonjs/mail-list/shared.js +1 -11
  69. package/lib/commonjs/mail-list/shared.js.map +1 -1
  70. package/lib/commonjs/media-card/shared.js +0 -12
  71. package/lib/commonjs/media-card/shared.js.map +1 -1
  72. package/lib/commonjs/media-flight/MediaSurface.js +34 -12
  73. package/lib/commonjs/media-flight/MediaSurface.js.map +1 -1
  74. package/lib/commonjs/media-header/shared.js +0 -12
  75. package/lib/commonjs/media-header/shared.js.map +1 -1
  76. package/lib/commonjs/media-player/shared.js +0 -12
  77. package/lib/commonjs/media-player/shared.js.map +1 -1
  78. package/lib/commonjs/multi-agent-chat/Marketplace.js +3 -3
  79. package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -1
  80. package/lib/commonjs/music-library/shared.js +0 -12
  81. package/lib/commonjs/music-library/shared.js.map +1 -1
  82. package/lib/commonjs/page-header/EdgeScrim.js +19 -16
  83. package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
  84. package/lib/commonjs/page-header/PageHeader.js +10 -2
  85. package/lib/commonjs/page-header/PageHeader.js.map +1 -1
  86. package/lib/commonjs/project-board/ProjectBoardCanvas.js +2 -2
  87. package/lib/commonjs/project-board/ProjectBoardCanvas.js.map +1 -1
  88. package/lib/commonjs/property-insights/shared.js +1 -14
  89. package/lib/commonjs/property-insights/shared.js.map +1 -1
  90. package/lib/commonjs/radio/RadioHost.js +2 -2
  91. package/lib/commonjs/radio/RadioHost.js.map +1 -1
  92. package/lib/commonjs/select/Select.js +2 -2
  93. package/lib/commonjs/select/Select.js.map +1 -1
  94. package/lib/commonjs/select/Select.web.js +2 -2
  95. package/lib/commonjs/select/Select.web.js.map +1 -1
  96. package/lib/commonjs/select/shared.js +2 -2
  97. package/lib/commonjs/select/shared.js.map +1 -1
  98. package/lib/commonjs/shapes/Image.js +11 -3
  99. package/lib/commonjs/shapes/Image.js.map +1 -1
  100. package/lib/commonjs/sidebar/SidebarItem.js +2 -2
  101. package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
  102. package/lib/commonjs/sidebar/SidebarOnboardingCard.js +2 -2
  103. package/lib/commonjs/sidebar/SidebarOnboardingCard.js.map +1 -1
  104. package/lib/commonjs/sidebar/parts.js +0 -50
  105. package/lib/commonjs/sidebar/parts.js.map +1 -1
  106. package/lib/commonjs/stay-filters/EnergyRatingFilter.js +0 -6
  107. package/lib/commonjs/stay-filters/EnergyRatingFilter.js.map +1 -1
  108. package/lib/commonjs/styles/aria-hosts.js +20 -0
  109. package/lib/commonjs/styles/aria-hosts.js.map +1 -0
  110. package/lib/commonjs/surface/Surface.js +8 -2
  111. package/lib/commonjs/surface/Surface.js.map +1 -1
  112. package/lib/commonjs/surface/Surface.web.js +1 -2
  113. package/lib/commonjs/surface/Surface.web.js.map +1 -1
  114. package/lib/commonjs/surface/SurfacePaint.js +1 -2
  115. package/lib/commonjs/surface/SurfacePaint.js.map +1 -1
  116. package/lib/commonjs/toast/animations.js +1 -2
  117. package/lib/commonjs/toast/animations.js.map +1 -1
  118. package/lib/commonjs/typography/TypographyScope.js +0 -6
  119. package/lib/commonjs/typography/TypographyScope.js.map +1 -1
  120. package/lib/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.js +255 -258
  121. package/lib/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.js.map +1 -1
  122. package/lib/module/agent-chat/shared.js +0 -2
  123. package/lib/module/agent-chat/shared.js.map +1 -1
  124. package/lib/module/agent-progress/AgentProgressPlan.js +1 -2
  125. package/lib/module/agent-progress/AgentProgressPlan.js.map +1 -1
  126. package/lib/module/ai-chat/AiChatGalleryPanelBase.js +1 -1
  127. package/lib/module/ai-chat/AiChatGalleryPanelBase.js.map +1 -1
  128. package/lib/module/ai-chat/AiChatImageGenerationBase.js +1 -1
  129. package/lib/module/ai-chat/AiChatImageGenerationBase.js.map +1 -1
  130. package/lib/module/app-shell/use-shell-viewport.js +1 -11
  131. package/lib/module/app-shell/use-shell-viewport.js.map +1 -1
  132. package/lib/module/avatar/Avatar.js +37 -18
  133. package/lib/module/avatar/Avatar.js.map +1 -1
  134. package/lib/module/avatar/LiveBadge.js +6 -1
  135. package/lib/module/avatar/LiveBadge.js.map +1 -1
  136. package/lib/module/avatar-flight/create-avatar-flight-layer.js +6 -6
  137. package/lib/module/avatar-flight/create-avatar-flight-layer.js.map +1 -1
  138. package/lib/module/button/shared.js +0 -6
  139. package/lib/module/button/shared.js.map +1 -1
  140. package/lib/module/canvas/CanvasPanelBase.js +2 -2
  141. package/lib/module/canvas/CanvasPanelBase.js.map +1 -1
  142. package/lib/module/card/SelectionCard.js +1 -1
  143. package/lib/module/card/SelectionCard.js.map +1 -1
  144. package/lib/module/chat-composer/shared.js +1 -1
  145. package/lib/module/chat-composer/shared.js.map +1 -1
  146. package/lib/module/chat-list/shared.js +0 -7
  147. package/lib/module/chat-list/shared.js.map +1 -1
  148. package/lib/module/chip/Chip.js +2 -2
  149. package/lib/module/chip/Chip.js.map +1 -1
  150. package/lib/module/composer-panel/ModelPickerBase.js +2 -1
  151. package/lib/module/composer-panel/ModelPickerBase.js.map +1 -1
  152. package/lib/module/composer-panel/shared.js +0 -1
  153. package/lib/module/composer-panel/shared.js.map +1 -1
  154. package/lib/module/content-panel/ContentPanel.web.js +12 -35
  155. package/lib/module/content-panel/ContentPanel.web.js.map +1 -1
  156. package/lib/module/cover-header/CoverHeader.js +1 -2
  157. package/lib/module/cover-header/CoverHeader.js.map +1 -1
  158. package/lib/module/dialog/DetailDialogMotion.js +2 -3
  159. package/lib/module/dialog/DetailDialogMotion.js.map +1 -1
  160. package/lib/module/floating/FloatingPanel.js +3 -3
  161. package/lib/module/floating/FloatingPanel.js.map +1 -1
  162. package/lib/module/floating/TriggerSlot.js +2 -2
  163. package/lib/module/floating/TriggerSlot.js.map +1 -1
  164. package/lib/module/floating/constants.js +1 -1
  165. package/lib/module/floating/menu-swatch-row.js +2 -2
  166. package/lib/module/floating/menu-swatch-row.js.map +1 -1
  167. package/lib/module/floating/shared.js +2 -2
  168. package/lib/module/floating/shared.js.map +1 -1
  169. package/lib/module/image/BloomImage.js +4 -0
  170. package/lib/module/image/BloomImage.js.map +1 -1
  171. package/lib/module/image/expo-image-module.js.map +1 -1
  172. package/lib/module/link-preview/LinkPreviewCard.js +21 -5
  173. package/lib/module/link-preview/LinkPreviewCard.js.map +1 -1
  174. package/lib/module/lyrics/shared.js +1 -2
  175. package/lib/module/lyrics/shared.js.map +1 -1
  176. package/lib/module/mail-list/shared.js +0 -9
  177. package/lib/module/mail-list/shared.js.map +1 -1
  178. package/lib/module/media-card/shared.js +1 -2
  179. package/lib/module/media-card/shared.js.map +1 -1
  180. package/lib/module/media-flight/MediaSurface.js +34 -12
  181. package/lib/module/media-flight/MediaSurface.js.map +1 -1
  182. package/lib/module/media-header/shared.js +1 -2
  183. package/lib/module/media-header/shared.js.map +1 -1
  184. package/lib/module/media-player/shared.js +1 -2
  185. package/lib/module/media-player/shared.js.map +1 -1
  186. package/lib/module/multi-agent-chat/Marketplace.js +3 -3
  187. package/lib/module/multi-agent-chat/Marketplace.js.map +1 -1
  188. package/lib/module/music-library/shared.js +0 -1
  189. package/lib/module/music-library/shared.js.map +1 -1
  190. package/lib/module/page-header/EdgeScrim.js +19 -16
  191. package/lib/module/page-header/EdgeScrim.js.map +1 -1
  192. package/lib/module/page-header/PageHeader.js +11 -3
  193. package/lib/module/page-header/PageHeader.js.map +1 -1
  194. package/lib/module/project-board/ProjectBoardCanvas.js +2 -2
  195. package/lib/module/project-board/ProjectBoardCanvas.js.map +1 -1
  196. package/lib/module/property-insights/shared.js +1 -2
  197. package/lib/module/property-insights/shared.js.map +1 -1
  198. package/lib/module/radio/RadioHost.js +2 -2
  199. package/lib/module/radio/RadioHost.js.map +1 -1
  200. package/lib/module/select/Select.js +2 -2
  201. package/lib/module/select/Select.js.map +1 -1
  202. package/lib/module/select/Select.web.js +2 -2
  203. package/lib/module/select/Select.web.js.map +1 -1
  204. package/lib/module/select/shared.js +2 -2
  205. package/lib/module/select/shared.js.map +1 -1
  206. package/lib/module/shapes/Image.js +11 -3
  207. package/lib/module/shapes/Image.js.map +1 -1
  208. package/lib/module/sidebar/SidebarItem.js +2 -2
  209. package/lib/module/sidebar/SidebarItem.js.map +1 -1
  210. package/lib/module/sidebar/SidebarOnboardingCard.js +2 -2
  211. package/lib/module/sidebar/SidebarOnboardingCard.js.map +1 -1
  212. package/lib/module/sidebar/parts.js +3 -52
  213. package/lib/module/sidebar/parts.js.map +1 -1
  214. package/lib/module/stay-filters/EnergyRatingFilter.js +0 -1
  215. package/lib/module/stay-filters/EnergyRatingFilter.js.map +1 -1
  216. package/lib/module/styles/aria-hosts.js +16 -0
  217. package/lib/module/styles/aria-hosts.js.map +1 -0
  218. package/lib/module/surface/Surface.js +11 -5
  219. package/lib/module/surface/Surface.js.map +1 -1
  220. package/lib/module/surface/Surface.web.js +2 -3
  221. package/lib/module/surface/Surface.web.js.map +1 -1
  222. package/lib/module/surface/SurfacePaint.js +1 -2
  223. package/lib/module/surface/SurfacePaint.js.map +1 -1
  224. package/lib/module/toast/animations.js +0 -1
  225. package/lib/module/toast/animations.js.map +1 -1
  226. package/lib/module/typography/TypographyScope.js +0 -5
  227. package/lib/module/typography/TypographyScope.js.map +1 -1
  228. package/lib/module/zoomable-media-gallery/ZoomableMediaGalleryBase.js +256 -259
  229. package/lib/module/zoomable-media-gallery/ZoomableMediaGalleryBase.js.map +1 -1
  230. package/lib/typescript/commonjs/agent-chat/shared.d.ts +0 -2
  231. package/lib/typescript/commonjs/agent-chat/shared.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/agent-progress/AgentProgressPlan.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/app-shell/use-shell-viewport.d.ts +0 -1
  234. package/lib/typescript/commonjs/app-shell/use-shell-viewport.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/avatar/Avatar.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/avatar/LiveBadge.d.ts +6 -2
  237. package/lib/typescript/commonjs/avatar/LiveBadge.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/button/shared.d.ts +0 -2
  239. package/lib/typescript/commonjs/button/shared.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/button/types.d.ts +1 -1
  241. package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/chat-composer/shared.d.ts +0 -1
  243. package/lib/typescript/commonjs/chat-composer/shared.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/chat-list/shared.d.ts +0 -9
  245. package/lib/typescript/commonjs/chat-list/shared.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/composer-panel/shared.d.ts +0 -1
  247. package/lib/typescript/commonjs/composer-panel/shared.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts +9 -11
  249. package/lib/typescript/commonjs/content-panel/ContentPanel.web.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/cover-header/CoverHeader.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/dialog/DetailDialogMotion.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/floating/constants.d.ts +1 -1
  253. package/lib/typescript/commonjs/floating/shared.d.ts +1 -1
  254. package/lib/typescript/commonjs/floating/shared.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/floating/types.d.ts +2 -2
  256. package/lib/typescript/commonjs/floating/types.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/image/BloomImage.d.ts +1 -1
  258. package/lib/typescript/commonjs/image/BloomImage.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/image/expo-image-module.d.ts +3 -1
  260. package/lib/typescript/commonjs/image/expo-image-module.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/image/index.d.ts +1 -1
  262. package/lib/typescript/commonjs/image/index.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/image/types.d.ts +18 -0
  264. package/lib/typescript/commonjs/image/types.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/link-preview/LinkPreviewCard.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/link-preview/types.d.ts +7 -0
  267. package/lib/typescript/commonjs/link-preview/types.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/lyrics/shared.d.ts +0 -2
  269. package/lib/typescript/commonjs/lyrics/shared.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/mail-list/shared.d.ts +0 -9
  271. package/lib/typescript/commonjs/mail-list/shared.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/media-card/shared.d.ts +0 -2
  273. package/lib/typescript/commonjs/media-card/shared.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/media-flight/MediaSurface.d.ts +10 -1
  275. package/lib/typescript/commonjs/media-flight/MediaSurface.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/media-header/shared.d.ts +0 -2
  277. package/lib/typescript/commonjs/media-header/shared.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/media-header/types.d.ts +1 -1
  279. package/lib/typescript/commonjs/media-header/types.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/media-player/PlayerIconButton.d.ts +1 -1
  281. package/lib/typescript/commonjs/media-player/PlayerIconButton.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/media-player/shared.d.ts +0 -2
  283. package/lib/typescript/commonjs/media-player/shared.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/music-library/shared.d.ts +0 -2
  285. package/lib/typescript/commonjs/music-library/shared.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +19 -16
  287. package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/page-header/PageHeader.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/property-insights/shared.d.ts +0 -2
  290. package/lib/typescript/commonjs/property-insights/shared.d.ts.map +1 -1
  291. package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts +1 -1
  292. package/lib/typescript/commonjs/queue-panel/QueueIconButton.d.ts.map +1 -1
  293. package/lib/typescript/commonjs/shapes/Image.d.ts +1 -1
  294. package/lib/typescript/commonjs/shapes/Image.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/shapes/types.d.ts +10 -0
  296. package/lib/typescript/commonjs/shapes/types.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/sidebar/parts.d.ts +0 -6
  298. package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/stay-filters/EnergyRatingFilter.d.ts +1 -2
  300. package/lib/typescript/commonjs/stay-filters/EnergyRatingFilter.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/styles/aria-hosts.d.ts +49 -0
  302. package/lib/typescript/commonjs/styles/aria-hosts.d.ts.map +1 -0
  303. package/lib/typescript/commonjs/surface/Surface.d.ts.map +1 -1
  304. package/lib/typescript/commonjs/surface/Surface.web.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/surface/SurfacePaint.d.ts.map +1 -1
  306. package/lib/typescript/commonjs/toast/animations.d.ts +0 -1
  307. package/lib/typescript/commonjs/toast/animations.d.ts.map +1 -1
  308. package/lib/typescript/commonjs/track-list/parts.d.ts +1 -1
  309. package/lib/typescript/commonjs/track-list/parts.d.ts.map +1 -1
  310. package/lib/typescript/commonjs/typography/TypographyScope.d.ts +0 -4
  311. package/lib/typescript/commonjs/typography/TypographyScope.d.ts.map +1 -1
  312. package/lib/typescript/commonjs/zoomable-media-gallery/ZoomableMediaGalleryBase.d.ts.map +1 -1
  313. package/lib/typescript/commonjs/zoomable-media-gallery/types.d.ts +11 -0
  314. package/lib/typescript/commonjs/zoomable-media-gallery/types.d.ts.map +1 -1
  315. package/lib/typescript/module/agent-chat/shared.d.ts +0 -2
  316. package/lib/typescript/module/agent-chat/shared.d.ts.map +1 -1
  317. package/lib/typescript/module/agent-progress/AgentProgressPlan.d.ts.map +1 -1
  318. package/lib/typescript/module/app-shell/use-shell-viewport.d.ts +0 -1
  319. package/lib/typescript/module/app-shell/use-shell-viewport.d.ts.map +1 -1
  320. package/lib/typescript/module/avatar/Avatar.d.ts.map +1 -1
  321. package/lib/typescript/module/avatar/LiveBadge.d.ts +6 -2
  322. package/lib/typescript/module/avatar/LiveBadge.d.ts.map +1 -1
  323. package/lib/typescript/module/button/shared.d.ts +0 -2
  324. package/lib/typescript/module/button/shared.d.ts.map +1 -1
  325. package/lib/typescript/module/button/types.d.ts +1 -1
  326. package/lib/typescript/module/button/types.d.ts.map +1 -1
  327. package/lib/typescript/module/chat-composer/shared.d.ts +0 -1
  328. package/lib/typescript/module/chat-composer/shared.d.ts.map +1 -1
  329. package/lib/typescript/module/chat-list/shared.d.ts +0 -9
  330. package/lib/typescript/module/chat-list/shared.d.ts.map +1 -1
  331. package/lib/typescript/module/composer-panel/shared.d.ts +0 -1
  332. package/lib/typescript/module/composer-panel/shared.d.ts.map +1 -1
  333. package/lib/typescript/module/content-panel/ContentPanel.web.d.ts +9 -11
  334. package/lib/typescript/module/content-panel/ContentPanel.web.d.ts.map +1 -1
  335. package/lib/typescript/module/cover-header/CoverHeader.d.ts.map +1 -1
  336. package/lib/typescript/module/dialog/DetailDialogMotion.d.ts.map +1 -1
  337. package/lib/typescript/module/floating/constants.d.ts +1 -1
  338. package/lib/typescript/module/floating/shared.d.ts +1 -1
  339. package/lib/typescript/module/floating/shared.d.ts.map +1 -1
  340. package/lib/typescript/module/floating/types.d.ts +2 -2
  341. package/lib/typescript/module/floating/types.d.ts.map +1 -1
  342. package/lib/typescript/module/image/BloomImage.d.ts +1 -1
  343. package/lib/typescript/module/image/BloomImage.d.ts.map +1 -1
  344. package/lib/typescript/module/image/expo-image-module.d.ts +3 -1
  345. package/lib/typescript/module/image/expo-image-module.d.ts.map +1 -1
  346. package/lib/typescript/module/image/index.d.ts +1 -1
  347. package/lib/typescript/module/image/index.d.ts.map +1 -1
  348. package/lib/typescript/module/image/types.d.ts +18 -0
  349. package/lib/typescript/module/image/types.d.ts.map +1 -1
  350. package/lib/typescript/module/link-preview/LinkPreviewCard.d.ts.map +1 -1
  351. package/lib/typescript/module/link-preview/types.d.ts +7 -0
  352. package/lib/typescript/module/link-preview/types.d.ts.map +1 -1
  353. package/lib/typescript/module/lyrics/shared.d.ts +0 -2
  354. package/lib/typescript/module/lyrics/shared.d.ts.map +1 -1
  355. package/lib/typescript/module/mail-list/shared.d.ts +0 -9
  356. package/lib/typescript/module/mail-list/shared.d.ts.map +1 -1
  357. package/lib/typescript/module/media-card/shared.d.ts +0 -2
  358. package/lib/typescript/module/media-card/shared.d.ts.map +1 -1
  359. package/lib/typescript/module/media-flight/MediaSurface.d.ts +10 -1
  360. package/lib/typescript/module/media-flight/MediaSurface.d.ts.map +1 -1
  361. package/lib/typescript/module/media-header/shared.d.ts +0 -2
  362. package/lib/typescript/module/media-header/shared.d.ts.map +1 -1
  363. package/lib/typescript/module/media-header/types.d.ts +1 -1
  364. package/lib/typescript/module/media-header/types.d.ts.map +1 -1
  365. package/lib/typescript/module/media-player/PlayerIconButton.d.ts +1 -1
  366. package/lib/typescript/module/media-player/PlayerIconButton.d.ts.map +1 -1
  367. package/lib/typescript/module/media-player/shared.d.ts +0 -2
  368. package/lib/typescript/module/media-player/shared.d.ts.map +1 -1
  369. package/lib/typescript/module/music-library/shared.d.ts +0 -2
  370. package/lib/typescript/module/music-library/shared.d.ts.map +1 -1
  371. package/lib/typescript/module/page-header/EdgeScrim.d.ts +19 -16
  372. package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
  373. package/lib/typescript/module/page-header/PageHeader.d.ts.map +1 -1
  374. package/lib/typescript/module/property-insights/shared.d.ts +0 -2
  375. package/lib/typescript/module/property-insights/shared.d.ts.map +1 -1
  376. package/lib/typescript/module/queue-panel/QueueIconButton.d.ts +1 -1
  377. package/lib/typescript/module/queue-panel/QueueIconButton.d.ts.map +1 -1
  378. package/lib/typescript/module/shapes/Image.d.ts +1 -1
  379. package/lib/typescript/module/shapes/Image.d.ts.map +1 -1
  380. package/lib/typescript/module/shapes/types.d.ts +10 -0
  381. package/lib/typescript/module/shapes/types.d.ts.map +1 -1
  382. package/lib/typescript/module/sidebar/parts.d.ts +0 -6
  383. package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
  384. package/lib/typescript/module/stay-filters/EnergyRatingFilter.d.ts +1 -2
  385. package/lib/typescript/module/stay-filters/EnergyRatingFilter.d.ts.map +1 -1
  386. package/lib/typescript/module/styles/aria-hosts.d.ts +49 -0
  387. package/lib/typescript/module/styles/aria-hosts.d.ts.map +1 -0
  388. package/lib/typescript/module/surface/Surface.d.ts.map +1 -1
  389. package/lib/typescript/module/surface/Surface.web.d.ts.map +1 -1
  390. package/lib/typescript/module/surface/SurfacePaint.d.ts.map +1 -1
  391. package/lib/typescript/module/toast/animations.d.ts +0 -1
  392. package/lib/typescript/module/toast/animations.d.ts.map +1 -1
  393. package/lib/typescript/module/track-list/parts.d.ts +1 -1
  394. package/lib/typescript/module/track-list/parts.d.ts.map +1 -1
  395. package/lib/typescript/module/typography/TypographyScope.d.ts +0 -4
  396. package/lib/typescript/module/typography/TypographyScope.d.ts.map +1 -1
  397. package/lib/typescript/module/zoomable-media-gallery/ZoomableMediaGalleryBase.d.ts.map +1 -1
  398. package/lib/typescript/module/zoomable-media-gallery/types.d.ts +11 -0
  399. package/lib/typescript/module/zoomable-media-gallery/types.d.ts.map +1 -1
  400. package/package.json +1 -18
  401. package/src/__tests__/support/held-animations.ts +33 -0
  402. package/src/__tests__/support/public-part-classifications.json +0 -3
  403. package/src/agent-chat/shared.ts +0 -2
  404. package/src/agent-progress/AgentProgressPlan.tsx +2 -3
  405. package/src/ai-chat/AiChatGalleryPanelBase.tsx +1 -1
  406. package/src/ai-chat/AiChatImageGenerationBase.tsx +1 -1
  407. package/src/app-shell/use-shell-viewport.ts +1 -7
  408. package/src/avatar/Avatar.tsx +44 -16
  409. package/src/avatar/LiveBadge.tsx +10 -3
  410. package/src/avatar-flight/create-avatar-flight-layer.tsx +8 -8
  411. package/src/button/shared.ts +0 -6
  412. package/src/button/types.ts +1 -1
  413. package/src/canvas/CanvasPanelBase.tsx +3 -3
  414. package/src/card/SelectionCard.tsx +1 -1
  415. package/src/chat-composer/shared.ts +0 -1
  416. package/src/chat-list/shared.ts +0 -7
  417. package/src/chip/Chip.tsx +3 -3
  418. package/src/composer-panel/ModelPickerBase.tsx +1 -1
  419. package/src/composer-panel/shared.ts +0 -1
  420. package/src/content-panel/ContentPanel.web.tsx +12 -35
  421. package/src/cover-header/CoverHeader.tsx +2 -3
  422. package/src/dialog/DetailDialogMotion.tsx +2 -3
  423. package/src/floating/FloatingPanel.tsx +3 -3
  424. package/src/floating/TriggerSlot.tsx +2 -2
  425. package/src/floating/constants.ts +1 -1
  426. package/src/floating/menu-swatch-row.tsx +3 -3
  427. package/src/floating/shared.tsx +3 -3
  428. package/src/floating/types.ts +2 -2
  429. package/src/image/BloomImage.tsx +4 -0
  430. package/src/image/expo-image-module.ts +3 -1
  431. package/src/image/index.ts +1 -0
  432. package/src/image/types.ts +19 -0
  433. package/src/link-preview/LinkPreviewCard.tsx +27 -5
  434. package/src/link-preview/types.ts +7 -0
  435. package/src/lyrics/shared.ts +0 -3
  436. package/src/mail-list/shared.ts +0 -9
  437. package/src/media-card/shared.ts +1 -9
  438. package/src/media-flight/MediaSurface.tsx +46 -8
  439. package/src/media-header/shared.ts +1 -8
  440. package/src/media-header/types.ts +1 -1
  441. package/src/media-player/PlayerIconButton.tsx +1 -1
  442. package/src/media-player/shared.ts +1 -8
  443. package/src/multi-agent-chat/Marketplace.tsx +5 -5
  444. package/src/music-library/shared.ts +0 -2
  445. package/src/page-header/EdgeScrim.tsx +17 -14
  446. package/src/page-header/PageHeader.tsx +11 -6
  447. package/src/project-board/ProjectBoardCanvas.tsx +3 -3
  448. package/src/property-insights/shared.ts +1 -3
  449. package/src/queue-panel/QueueIconButton.tsx +1 -1
  450. package/src/radio/RadioHost.tsx +2 -2
  451. package/src/select/Select.tsx +3 -3
  452. package/src/select/Select.web.tsx +3 -3
  453. package/src/select/shared.tsx +3 -3
  454. package/src/shapes/Image.tsx +18 -2
  455. package/src/shapes/types.ts +10 -0
  456. package/src/sidebar/SidebarItem.tsx +2 -2
  457. package/src/sidebar/SidebarOnboardingCard.tsx +3 -3
  458. package/src/sidebar/parts.tsx +3 -36
  459. package/src/stay-filters/EnergyRatingFilter.tsx +0 -2
  460. package/src/styles/aria-hosts.ts +62 -0
  461. package/src/surface/Surface.tsx +12 -6
  462. package/src/surface/Surface.web.tsx +3 -4
  463. package/src/surface/SurfacePaint.tsx +1 -2
  464. package/src/toast/animations.ts +0 -1
  465. package/src/track-list/parts.tsx +1 -1
  466. package/src/typography/TypographyScope.tsx +0 -5
  467. package/src/zoomable-media-gallery/ZoomableMediaGalleryBase.tsx +368 -324
  468. package/src/zoomable-media-gallery/types.ts +11 -0
  469. package/docs/teleport.mdx +0 -72
  470. package/lib/commonjs/styles/styled-primitives.js +0 -37
  471. package/lib/commonjs/styles/styled-primitives.js.map +0 -1
  472. package/lib/commonjs/teleport/Portal.js +0 -109
  473. package/lib/commonjs/teleport/Portal.js.map +0 -1
  474. package/lib/commonjs/teleport/PortalHost.js +0 -75
  475. package/lib/commonjs/teleport/PortalHost.js.map +0 -1
  476. package/lib/commonjs/teleport/PortalHostView.js +0 -40
  477. package/lib/commonjs/teleport/PortalHostView.js.map +0 -1
  478. package/lib/commonjs/teleport/PortalHostView.native.js +0 -24
  479. package/lib/commonjs/teleport/PortalHostView.native.js.map +0 -1
  480. package/lib/commonjs/teleport/PortalProvider.js +0 -57
  481. package/lib/commonjs/teleport/PortalProvider.js.map +0 -1
  482. package/lib/commonjs/teleport/PortalProviderView.js +0 -59
  483. package/lib/commonjs/teleport/PortalProviderView.js.map +0 -1
  484. package/lib/commonjs/teleport/PortalProviderView.native.js +0 -19
  485. package/lib/commonjs/teleport/PortalProviderView.native.js.map +0 -1
  486. package/lib/commonjs/teleport/PortalView.js +0 -83
  487. package/lib/commonjs/teleport/PortalView.js.map +0 -1
  488. package/lib/commonjs/teleport/PortalView.native.js +0 -14
  489. package/lib/commonjs/teleport/PortalView.native.js.map +0 -1
  490. package/lib/commonjs/teleport/index.js +0 -35
  491. package/lib/commonjs/teleport/index.js.map +0 -1
  492. package/lib/commonjs/teleport/portal-manager.js +0 -40
  493. package/lib/commonjs/teleport/portal-manager.js.map +0 -1
  494. package/lib/commonjs/teleport/portal-registry.js +0 -24
  495. package/lib/commonjs/teleport/portal-registry.js.map +0 -1
  496. package/lib/commonjs/teleport/reducer.js +0 -86
  497. package/lib/commonjs/teleport/reducer.js.map +0 -1
  498. package/lib/commonjs/teleport/scroll-view-context/context.js +0 -17
  499. package/lib/commonjs/teleport/scroll-view-context/context.js.map +0 -1
  500. package/lib/commonjs/teleport/scroll-view-context/context.native.js +0 -22
  501. package/lib/commonjs/teleport/scroll-view-context/context.native.js.map +0 -1
  502. package/lib/commonjs/teleport/scroll-view-context/types.js +0 -2
  503. package/lib/commonjs/teleport/scroll-view-context/types.js.map +0 -1
  504. package/lib/commonjs/teleport/specs/PortalHostViewNativeComponent.js +0 -17
  505. package/lib/commonjs/teleport/specs/PortalHostViewNativeComponent.js.map +0 -1
  506. package/lib/commonjs/teleport/specs/PortalViewNativeComponent.js +0 -17
  507. package/lib/commonjs/teleport/specs/PortalViewNativeComponent.js.map +0 -1
  508. package/lib/commonjs/teleport/teleport-global.d.ts +0 -11
  509. package/lib/commonjs/teleport/types.js +0 -6
  510. package/lib/commonjs/teleport/types.js.map +0 -1
  511. package/lib/commonjs/teleport/use-id.js +0 -24
  512. package/lib/commonjs/teleport/use-id.js.map +0 -1
  513. package/lib/commonjs/teleport/use-portal.js +0 -59
  514. package/lib/commonjs/teleport/use-portal.js.map +0 -1
  515. package/lib/module/styles/styled-primitives.js +0 -34
  516. package/lib/module/styles/styled-primitives.js.map +0 -1
  517. package/lib/module/teleport/Portal.js +0 -103
  518. package/lib/module/teleport/Portal.js.map +0 -1
  519. package/lib/module/teleport/PortalHost.js +0 -71
  520. package/lib/module/teleport/PortalHost.js.map +0 -1
  521. package/lib/module/teleport/PortalHostView.js +0 -35
  522. package/lib/module/teleport/PortalHostView.js.map +0 -1
  523. package/lib/module/teleport/PortalHostView.native.js +0 -18
  524. package/lib/module/teleport/PortalHostView.native.js.map +0 -1
  525. package/lib/module/teleport/PortalProvider.js +0 -51
  526. package/lib/module/teleport/PortalProvider.js.map +0 -1
  527. package/lib/module/teleport/PortalProviderView.js +0 -54
  528. package/lib/module/teleport/PortalProviderView.js.map +0 -1
  529. package/lib/module/teleport/PortalProviderView.native.js +0 -15
  530. package/lib/module/teleport/PortalProviderView.native.js.map +0 -1
  531. package/lib/module/teleport/PortalView.js +0 -79
  532. package/lib/module/teleport/PortalView.js.map +0 -1
  533. package/lib/module/teleport/PortalView.native.js +0 -10
  534. package/lib/module/teleport/PortalView.native.js.map +0 -1
  535. package/lib/module/teleport/index.js +0 -30
  536. package/lib/module/teleport/index.js.map +0 -1
  537. package/lib/module/teleport/portal-manager.js +0 -33
  538. package/lib/module/teleport/portal-manager.js.map +0 -1
  539. package/lib/module/teleport/portal-registry.js +0 -18
  540. package/lib/module/teleport/portal-registry.js.map +0 -1
  541. package/lib/module/teleport/reducer.js +0 -81
  542. package/lib/module/teleport/reducer.js.map +0 -1
  543. package/lib/module/teleport/scroll-view-context/context.js +0 -12
  544. package/lib/module/teleport/scroll-view-context/context.js.map +0 -1
  545. package/lib/module/teleport/scroll-view-context/context.native.js +0 -18
  546. package/lib/module/teleport/scroll-view-context/context.native.js.map +0 -1
  547. package/lib/module/teleport/scroll-view-context/types.js +0 -2
  548. package/lib/module/teleport/scroll-view-context/types.js.map +0 -1
  549. package/lib/module/teleport/specs/PortalHostViewNativeComponent.js +0 -13
  550. package/lib/module/teleport/specs/PortalHostViewNativeComponent.js.map +0 -1
  551. package/lib/module/teleport/specs/PortalViewNativeComponent.js +0 -13
  552. package/lib/module/teleport/specs/PortalViewNativeComponent.js.map +0 -1
  553. package/lib/module/teleport/teleport-global.d.ts +0 -11
  554. package/lib/module/teleport/types.js +0 -4
  555. package/lib/module/teleport/types.js.map +0 -1
  556. package/lib/module/teleport/use-id.js +0 -19
  557. package/lib/module/teleport/use-id.js.map +0 -1
  558. package/lib/module/teleport/use-portal.js +0 -55
  559. package/lib/module/teleport/use-portal.js.map +0 -1
  560. package/lib/typescript/commonjs/styles/styled-primitives.d.ts +0 -69
  561. package/lib/typescript/commonjs/styles/styled-primitives.d.ts.map +0 -1
  562. package/lib/typescript/commonjs/teleport/Portal.d.ts +0 -48
  563. package/lib/typescript/commonjs/teleport/Portal.d.ts.map +0 -1
  564. package/lib/typescript/commonjs/teleport/PortalHost.d.ts +0 -25
  565. package/lib/typescript/commonjs/teleport/PortalHost.d.ts.map +0 -1
  566. package/lib/typescript/commonjs/teleport/PortalHostView.d.ts +0 -5
  567. package/lib/typescript/commonjs/teleport/PortalHostView.d.ts.map +0 -1
  568. package/lib/typescript/commonjs/teleport/PortalHostView.native.d.ts +0 -4
  569. package/lib/typescript/commonjs/teleport/PortalHostView.native.d.ts.map +0 -1
  570. package/lib/typescript/commonjs/teleport/PortalProvider.d.ts +0 -23
  571. package/lib/typescript/commonjs/teleport/PortalProvider.d.ts.map +0 -1
  572. package/lib/typescript/commonjs/teleport/PortalProviderView.d.ts +0 -3
  573. package/lib/typescript/commonjs/teleport/PortalProviderView.d.ts.map +0 -1
  574. package/lib/typescript/commonjs/teleport/PortalProviderView.native.d.ts +0 -9
  575. package/lib/typescript/commonjs/teleport/PortalProviderView.native.d.ts.map +0 -1
  576. package/lib/typescript/commonjs/teleport/PortalView.d.ts +0 -9
  577. package/lib/typescript/commonjs/teleport/PortalView.d.ts.map +0 -1
  578. package/lib/typescript/commonjs/teleport/PortalView.native.d.ts +0 -8
  579. package/lib/typescript/commonjs/teleport/PortalView.native.d.ts.map +0 -1
  580. package/lib/typescript/commonjs/teleport/index.d.ts +0 -29
  581. package/lib/typescript/commonjs/teleport/index.d.ts.map +0 -1
  582. package/lib/typescript/commonjs/teleport/portal-manager.d.ts +0 -16
  583. package/lib/typescript/commonjs/teleport/portal-manager.d.ts.map +0 -1
  584. package/lib/typescript/commonjs/teleport/portal-registry.d.ts +0 -10
  585. package/lib/typescript/commonjs/teleport/portal-registry.d.ts.map +0 -1
  586. package/lib/typescript/commonjs/teleport/reducer.d.ts +0 -40
  587. package/lib/typescript/commonjs/teleport/reducer.d.ts.map +0 -1
  588. package/lib/typescript/commonjs/teleport/scroll-view-context/context.d.ts +0 -4
  589. package/lib/typescript/commonjs/teleport/scroll-view-context/context.d.ts.map +0 -1
  590. package/lib/typescript/commonjs/teleport/scroll-view-context/context.native.d.ts +0 -13
  591. package/lib/typescript/commonjs/teleport/scroll-view-context/context.native.d.ts.map +0 -1
  592. package/lib/typescript/commonjs/teleport/scroll-view-context/types.d.ts +0 -10
  593. package/lib/typescript/commonjs/teleport/scroll-view-context/types.d.ts.map +0 -1
  594. package/lib/typescript/commonjs/teleport/specs/PortalHostViewNativeComponent.d.ts +0 -13
  595. package/lib/typescript/commonjs/teleport/specs/PortalHostViewNativeComponent.d.ts.map +0 -1
  596. package/lib/typescript/commonjs/teleport/specs/PortalViewNativeComponent.d.ts +0 -14
  597. package/lib/typescript/commonjs/teleport/specs/PortalViewNativeComponent.d.ts.map +0 -1
  598. package/lib/typescript/commonjs/teleport/types.d.ts +0 -22
  599. package/lib/typescript/commonjs/teleport/types.d.ts.map +0 -1
  600. package/lib/typescript/commonjs/teleport/use-id.d.ts +0 -2
  601. package/lib/typescript/commonjs/teleport/use-id.d.ts.map +0 -1
  602. package/lib/typescript/commonjs/teleport/use-portal.d.ts +0 -35
  603. package/lib/typescript/commonjs/teleport/use-portal.d.ts.map +0 -1
  604. package/lib/typescript/module/styles/styled-primitives.d.ts +0 -69
  605. package/lib/typescript/module/styles/styled-primitives.d.ts.map +0 -1
  606. package/lib/typescript/module/teleport/Portal.d.ts +0 -48
  607. package/lib/typescript/module/teleport/Portal.d.ts.map +0 -1
  608. package/lib/typescript/module/teleport/PortalHost.d.ts +0 -25
  609. package/lib/typescript/module/teleport/PortalHost.d.ts.map +0 -1
  610. package/lib/typescript/module/teleport/PortalHostView.d.ts +0 -5
  611. package/lib/typescript/module/teleport/PortalHostView.d.ts.map +0 -1
  612. package/lib/typescript/module/teleport/PortalHostView.native.d.ts +0 -4
  613. package/lib/typescript/module/teleport/PortalHostView.native.d.ts.map +0 -1
  614. package/lib/typescript/module/teleport/PortalProvider.d.ts +0 -23
  615. package/lib/typescript/module/teleport/PortalProvider.d.ts.map +0 -1
  616. package/lib/typescript/module/teleport/PortalProviderView.d.ts +0 -3
  617. package/lib/typescript/module/teleport/PortalProviderView.d.ts.map +0 -1
  618. package/lib/typescript/module/teleport/PortalProviderView.native.d.ts +0 -9
  619. package/lib/typescript/module/teleport/PortalProviderView.native.d.ts.map +0 -1
  620. package/lib/typescript/module/teleport/PortalView.d.ts +0 -9
  621. package/lib/typescript/module/teleport/PortalView.d.ts.map +0 -1
  622. package/lib/typescript/module/teleport/PortalView.native.d.ts +0 -8
  623. package/lib/typescript/module/teleport/PortalView.native.d.ts.map +0 -1
  624. package/lib/typescript/module/teleport/index.d.ts +0 -29
  625. package/lib/typescript/module/teleport/index.d.ts.map +0 -1
  626. package/lib/typescript/module/teleport/portal-manager.d.ts +0 -16
  627. package/lib/typescript/module/teleport/portal-manager.d.ts.map +0 -1
  628. package/lib/typescript/module/teleport/portal-registry.d.ts +0 -10
  629. package/lib/typescript/module/teleport/portal-registry.d.ts.map +0 -1
  630. package/lib/typescript/module/teleport/reducer.d.ts +0 -40
  631. package/lib/typescript/module/teleport/reducer.d.ts.map +0 -1
  632. package/lib/typescript/module/teleport/scroll-view-context/context.d.ts +0 -4
  633. package/lib/typescript/module/teleport/scroll-view-context/context.d.ts.map +0 -1
  634. package/lib/typescript/module/teleport/scroll-view-context/context.native.d.ts +0 -13
  635. package/lib/typescript/module/teleport/scroll-view-context/context.native.d.ts.map +0 -1
  636. package/lib/typescript/module/teleport/scroll-view-context/types.d.ts +0 -10
  637. package/lib/typescript/module/teleport/scroll-view-context/types.d.ts.map +0 -1
  638. package/lib/typescript/module/teleport/specs/PortalHostViewNativeComponent.d.ts +0 -13
  639. package/lib/typescript/module/teleport/specs/PortalHostViewNativeComponent.d.ts.map +0 -1
  640. package/lib/typescript/module/teleport/specs/PortalViewNativeComponent.d.ts +0 -14
  641. package/lib/typescript/module/teleport/specs/PortalViewNativeComponent.d.ts.map +0 -1
  642. package/lib/typescript/module/teleport/types.d.ts +0 -22
  643. package/lib/typescript/module/teleport/types.d.ts.map +0 -1
  644. package/lib/typescript/module/teleport/use-id.d.ts +0 -2
  645. package/lib/typescript/module/teleport/use-id.d.ts.map +0 -1
  646. package/lib/typescript/module/teleport/use-portal.d.ts +0 -35
  647. package/lib/typescript/module/teleport/use-portal.d.ts.map +0 -1
  648. package/src/styles/styled-primitives.ts +0 -87
  649. package/src/teleport/Portal.tsx +0 -96
  650. package/src/teleport/PortalHost.tsx +0 -61
  651. package/src/teleport/PortalHostView.native.tsx +0 -14
  652. package/src/teleport/PortalHostView.tsx +0 -30
  653. package/src/teleport/PortalProvider.tsx +0 -51
  654. package/src/teleport/PortalProviderView.native.tsx +0 -11
  655. package/src/teleport/PortalProviderView.tsx +0 -54
  656. package/src/teleport/PortalView.native.tsx +0 -7
  657. package/src/teleport/PortalView.tsx +0 -83
  658. package/src/teleport/index.ts +0 -32
  659. package/src/teleport/portal-manager.tsx +0 -29
  660. package/src/teleport/portal-registry.ts +0 -24
  661. package/src/teleport/reducer.ts +0 -93
  662. package/src/teleport/scroll-view-context/context.native.ts +0 -19
  663. package/src/teleport/scroll-view-context/context.ts +0 -12
  664. package/src/teleport/scroll-view-context/types.ts +0 -7
  665. package/src/teleport/specs/PortalHostViewNativeComponent.ts +0 -15
  666. package/src/teleport/specs/PortalViewNativeComponent.ts +0 -16
  667. package/src/teleport/teleport-global.d.ts +0 -11
  668. package/src/teleport/types.ts +0 -22
  669. package/src/teleport/use-id.ts +0 -18
  670. package/src/teleport/use-portal.ts +0 -46
@@ -8,13 +8,11 @@ import type { PressableStateCallbackType, TextStyle } from 'react-native';
8
8
  import { imageSourcesKey } from './source-key';
9
9
 
10
10
  import { useTheme } from '../theme/use-theme';
11
- import { useMessages } from '../locale/messages';
12
11
  import { useImageResolver } from '../image-resolver/context';
13
12
  import { isImageUrl } from '../image-resolver/is-image-url';
14
13
  import { Z_INDEX } from '../styles/z-index';
15
14
  import { PRESS_HOST_STYLE } from '../styles/press-host';
16
15
  import { useAvatarPlaceholder } from './context';
17
- import { AVATAR_MESSAGES } from './messages';
18
16
  import { LiveBadge } from './LiveBadge';
19
17
  import { AvatarRing } from './AvatarRing';
20
18
  import { CharacterFace } from './CharacterFace';
@@ -145,6 +143,8 @@ export const AVATAR_PHOTO_RETRY_DELAYS_MS = [2_000, 8_000] as const;
145
143
  type PhotoStage = 'primary' | 'fallback' | 'placeholder';
146
144
 
147
145
  interface PhotoState {
146
+ /** The sources this state is about (`imageSourcesKey`): new sources start the stages over. */
147
+ key: string;
148
148
  stage: PhotoStage;
149
149
  /** Requests of the primary photo made before the current one. */
150
150
  attempt: number;
@@ -183,7 +183,7 @@ function AvatarPhotoRetry({
183
183
  () =>
184
184
  setPhoto((current) =>
185
185
  current.retry && current.attempt === attempt
186
- ? { stage: 'primary', attempt: attempt + 1 }
186
+ ? { key: current.key, stage: 'primary', attempt: attempt + 1 }
187
187
  : current,
188
188
  ),
189
189
  delay,
@@ -202,25 +202,50 @@ function AvatarPhotoRetry({
202
202
  return null;
203
203
  }
204
204
 
205
+ function initialPhoto(
206
+ key: string,
207
+ primarySource: ImageSource | undefined,
208
+ fallbackSource: ImageSource | undefined,
209
+ ): PhotoState {
210
+ return {
211
+ key,
212
+ stage: primarySource ? 'primary' : fallbackSource ? 'fallback' : 'placeholder',
213
+ attempt: 0,
214
+ };
215
+ }
216
+
205
217
  /**
206
- * Keyed by resolved source values: a new request starts the stages over. A
207
- * primary that fails transiently shows the next stage at once and is requested
208
- * again after {@link AVATAR_PHOTO_RETRY_DELAYS_MS}; a 404 is never re-requested.
218
+ * New resolved source values start the stages over. A primary that fails
219
+ * transiently shows the next stage at once and is requested again after
220
+ * {@link AVATAR_PHOTO_RETRY_DELAYS_MS}; a 404 is never re-requested.
221
+ *
222
+ * The stages restart in place, not by remounting: a list row that takes another
223
+ * person keeps its image view and hands it the new picture (`recyclingKey`
224
+ * clears the old one at once), instead of building a new native view for every
225
+ * avatar a fling scrolls past. Until the picture arrives the shape shows
226
+ * `loadingColor`.
209
227
  */
210
228
  function AvatarImageContent({
211
229
  primarySource,
212
230
  fallbackSource,
213
231
  onImageError,
232
+ loadingColor,
214
233
  ...placeholder
215
234
  }: React.ComponentProps<typeof ShapeFallback> & {
216
235
  primarySource?: ImageSource;
217
236
  fallbackSource?: ImageSource;
218
237
  onImageError?: () => void;
238
+ loadingColor?: string;
219
239
  }) {
220
- const [photo, setPhoto] = useState<PhotoState>(() => ({
221
- stage: primarySource ? 'primary' : fallbackSource ? 'fallback' : 'placeholder',
222
- attempt: 0,
223
- }));
240
+ const sourcesKey = imageSourcesKey(primarySource, fallbackSource);
241
+ const [state, setPhoto] = useState<PhotoState>(() =>
242
+ initialPhoto(sourcesKey, primarySource, fallbackSource),
243
+ );
244
+ let photo = state;
245
+ if (state.key !== sourcesKey) {
246
+ photo = initialPhoto(sourcesKey, primarySource, fallbackSource);
247
+ setPhoto(photo);
248
+ }
224
249
  const { stage, attempt, retry } = photo;
225
250
  const uri = primaryUri(primarySource);
226
251
  const source =
@@ -241,15 +266,19 @@ function AvatarImageContent({
241
266
  shape: placeholder.shape,
242
267
  size: placeholder.size,
243
268
  alt: placeholder.alt,
269
+ placeholderColor: loadingColor,
270
+ recyclingKey: primaryUri(source),
244
271
  onError: ({ error }: BloomImageErrorInfo) =>
245
272
  setPhoto((current) => {
246
- if (current.stage !== stage || current.attempt !== attempt) return current;
273
+ if (current.key !== sourcesKey || current.stage !== stage || current.attempt !== attempt)
274
+ return current;
247
275
  if (stage !== 'primary') return { ...current, stage: 'placeholder' };
248
276
  const kind = classifyImageFailure(error);
249
277
  const retriable =
250
278
  attempt < AVATAR_PHOTO_RETRY_DELAYS_MS.length &&
251
279
  (kind === 'transient' || (kind === 'unknown' && canProbeImageFailure(uri)));
252
280
  return {
281
+ key: sourcesKey,
253
282
  stage: fallbackSource ? 'fallback' : 'placeholder',
254
283
  attempt,
255
284
  ...(retriable ? { retry: kind } : {}),
@@ -260,7 +289,8 @@ function AvatarImageContent({
260
289
  return (
261
290
  <>
262
291
  {stage === 'primary' && onImageError && attempt === 0 ? (
263
- <ObservedAvatarImage key={stage} {...image} onImageError={onImageError} />
292
+ // Its once-per-photo report is per sources, so it alone starts afresh.
293
+ <ObservedAvatarImage key={sourcesKey} {...image} onImageError={onImageError} />
264
294
  ) : (
265
295
  <ShapeImage key={`${stage}:${attempt}`} {...image} />
266
296
  )}
@@ -314,8 +344,6 @@ const AvatarComponent: React.FC<AvatarProps> = ({
314
344
  testID,
315
345
  }) => {
316
346
  const theme = useTheme();
317
- const { messages } = useMessages(AVATAR_MESSAGES);
318
- const liveLabel = liveLabelProp ?? messages.live;
319
347
  const placeholderConfig = useAvatarPlaceholder();
320
348
  const scope = useContext(BloomAppearanceContext);
321
349
  const size = resolveAvatarSize(sizeProp ?? scope.size);
@@ -442,10 +470,10 @@ const AvatarComponent: React.FC<AvatarProps> = ({
442
470
  />
443
471
  ) : (
444
472
  <AvatarImageContent
445
- key={imageSourcesKey(primarySource, fallbackSource)}
446
473
  primarySource={primarySource}
447
474
  fallbackSource={fallbackSource}
448
475
  onImageError={onImageError}
476
+ loadingColor={theme.colors.backgroundTertiary}
449
477
  {...placeholderProps}
450
478
  />
451
479
  )}
@@ -468,7 +496,7 @@ const AvatarComponent: React.FC<AvatarProps> = ({
468
496
  {showLiveBadge && (
469
497
  <LiveBadge
470
498
  variant={size > 32 ? 'small' : 'tiny'}
471
- label={liveLabel}
499
+ label={liveLabelProp}
472
500
  backgroundColor={liveBadgeColor}
473
501
  textColor={theme.colors.negativeForeground}
474
502
  />
@@ -2,9 +2,11 @@ import type React from 'react';
2
2
  import { memo } from 'react';
3
3
  import { View, StyleSheet } from 'react-native';
4
4
 
5
+ import { useMessages } from '../locale/messages';
5
6
  import { fontSize } from '../styles/tokens';
6
7
  import { Z_INDEX } from '../styles/z-index';
7
8
  import { Text } from '../typography';
9
+ import { AVATAR_MESSAGES } from './messages';
8
10
 
9
11
  export type LiveBadgeVariant = 'tiny' | 'small';
10
12
 
@@ -18,8 +20,12 @@ const LABEL_SIZE: Record<LiveBadgeVariant, number> = { small: fontSize._2xs, tin
18
20
  interface LiveBadgeProps {
19
21
  /** Size variant — `'tiny'` for small avatars, `'small'` for larger ones. */
20
22
  variant: LiveBadgeVariant;
21
- /** Text shown inside the pill (already localized by the caller). */
22
- label: string;
23
+ /**
24
+ * Text shown inside the pill, already localized by the caller. Omitted, the
25
+ * pill says Bloom's own localized "LIVE": read here, where only a live avatar
26
+ * pays for it, not in every avatar.
27
+ */
28
+ label?: string;
23
29
  /** Pill background color (defaults come from the theme `negative` token). */
24
30
  backgroundColor: string;
25
31
  /** Pill text color (defaults come from the theme `negativeForeground` token). */
@@ -39,6 +45,7 @@ const LiveBadgeComponent: React.FC<LiveBadgeProps> = ({
39
45
  backgroundColor,
40
46
  textColor,
41
47
  }) => {
48
+ const { messages } = useMessages(AVATAR_MESSAGES);
42
49
  return (
43
50
  <View style={styles.wrapper}>
44
51
  <View style={[styles.pill, { backgroundColor }]}>
@@ -47,7 +54,7 @@ const LiveBadgeComponent: React.FC<LiveBadgeProps> = ({
47
54
  numberOfLines={1}
48
55
  style={[styles.text, { color: textColor, fontSize: LABEL_SIZE[variant] }]}
49
56
  >
50
- {label}
57
+ {label ?? messages.live}
51
58
  </Text>
52
59
  </View>
53
60
  </View>
@@ -6,7 +6,7 @@ import {
6
6
  type ComponentType,
7
7
  type PropsWithChildren,
8
8
  } from 'react';
9
- import { Platform, useWindowDimensions, type View } from 'react-native';
9
+ import { Platform, useWindowDimensions, View } from 'react-native';
10
10
  import Animated, {
11
11
  cancelAnimation,
12
12
  Easing,
@@ -19,12 +19,12 @@ import Animated, {
19
19
 
20
20
  import { AgentAvatar } from '../agent-avatar';
21
21
  import { OverlayRoot } from '../overlay';
22
- import { StyledImage, StyledView } from '../styles/styled-primitives';
22
+ import { BloomImage } from '../image';
23
23
  import { avatarFlightPoint, measureAvatar } from './geometry';
24
24
  import type { ActiveAvatarFlight, AvatarFlightLayerState, AvatarRect } from './types';
25
25
  import { usePrefersReducedMotion } from '../hooks/use-prefers-reduced-motion';
26
26
 
27
- const AnimatedView = Animated.createAnimatedComponent(StyledView);
27
+ const AnimatedView = Animated.createAnimatedComponent(View);
28
28
 
29
29
  const EASE_OUT = Easing.bezier(0.22, 1, 0.36, 1);
30
30
  const DEFAULT_DURATION = 800;
@@ -39,7 +39,7 @@ const TRACK_FRAMES = 90;
39
39
  function Figure({ flight, paused = true }: { flight: ActiveAvatarFlight; paused?: boolean }) {
40
40
  const { width, height } = flight.from;
41
41
  return flight.snapshot ? (
42
- <StyledImage
42
+ <BloomImage
43
43
  source={flight.snapshot}
44
44
  accessible={false}
45
45
  contentFit="contain"
@@ -173,7 +173,7 @@ function Flights({ layer }: { layer: AvatarFlightLayerState }) {
173
173
 
174
174
  return (
175
175
  <OverlayRoot testID="avatar-flight-layer">
176
- <StyledView
176
+ <View
177
177
  ref={surface}
178
178
  collapsable={false}
179
179
  pointerEvents="none"
@@ -193,7 +193,7 @@ function Flights({ layer }: { layer: AvatarFlightLayerState }) {
193
193
  />
194
194
  ) : (
195
195
  // Waiting for its target to mount: parked where it left.
196
- <StyledView
196
+ <View
197
197
  key={flight.spec.key}
198
198
  pointerEvents="none"
199
199
  style={{
@@ -205,10 +205,10 @@ function Flights({ layer }: { layer: AvatarFlightLayerState }) {
205
205
  }}
206
206
  >
207
207
  <Figure flight={placed} />
208
- </StyledView>
208
+ </View>
209
209
  );
210
210
  })}
211
- </StyledView>
211
+ </View>
212
212
  </OverlayRoot>
213
213
  );
214
214
  }
@@ -489,12 +489,6 @@ export function resolveCanonicalButtonPalette(
489
489
  };
490
490
  }
491
491
 
492
- /** `linear-gradient(180deg, top, bottom)`, or a flat one for a solid state. */
493
- export function paintToCssImage(paint: ButtonStatePaint): string {
494
- const [top, bottom] = paint.gradient ?? [paint.background, paint.background];
495
- return `linear-gradient(180deg, ${top} 0%, ${bottom} 100%)`;
496
- }
497
-
498
492
  /** Elements are content; function, memo and forwardRef icons are components. */
499
493
  export function isIconComponent(
500
494
  icon: ReactNode | ButtonIconComponent,
@@ -16,7 +16,7 @@ import type {
16
16
  ViewStyle,
17
17
  TextStyle,
18
18
  } from 'react-native';
19
- import type { WebAriaProps } from '../styles/styled-primitives';
19
+ import type { WebAriaProps } from '../styles/aria-hosts';
20
20
  import type { BloomIconComponent } from '../icons/icon-component';
21
21
  import type { TypeScaleVariant } from '../typography/scale';
22
22
 
@@ -30,7 +30,7 @@ import { ScreenScope } from '../layout/screen-scope';
30
30
  import { useClaimBottomEdge } from '../layout/bottom-edge';
31
31
  import { ScrollOffsetProvider } from '../layout/scroll-offset';
32
32
  import { EDGE_GAP, windowEdgeGap } from '../layout/edge';
33
- import { StyledPressable } from '../styles/styled-primitives';
33
+ import { AriaPressable } from '../styles/aria-hosts';
34
34
  import { interactiveWebCss, useInteractiveWebCss } from '../styles/interactive-web-css';
35
35
  import { useTouchInput } from '../styles/pointer';
36
36
  import type { WebCssStyle } from '../styles/web-view-style';
@@ -343,7 +343,7 @@ export function createCanvasPanel(
343
343
  <ScrollOffsetProvider value={scrollY}>
344
344
  <GestureDetector gesture={handlePan} touchAction="none">
345
345
  <View style={{ display: lateral ? 'none' : 'flex' }}>
346
- <StyledPressable
346
+ <AriaPressable
347
347
  ref={handleRef}
348
348
  {...keyProps}
349
349
  onPress={() => moveTo(SNAPS[(SNAPS.indexOf(snap) + 1) % 3]!)}
@@ -384,7 +384,7 @@ export function createCanvasPanel(
384
384
  backgroundColor: colors.textTertiary,
385
385
  }}
386
386
  />
387
- </StyledPressable>
387
+ </AriaPressable>
388
388
  </View>
389
389
  </GestureDetector>
390
390
  <GestureDetector gesture={headerPan} touchAction={lateral ? 'auto' : 'none'}>
@@ -1,5 +1,5 @@
1
1
  import React, { memo, useEffect, useMemo, useState } from 'react';
2
- import { StyledPressable as Pressable, StyledView as View } from '../styles/styled-primitives';
2
+ import { AriaPressable as Pressable, AriaView as View } from '../styles/aria-hosts';
3
3
 
4
4
  import { resolveButtonRamps } from '../button/shared';
5
5
  import { useInteractionState } from '../hooks/use-interaction-state';
@@ -101,7 +101,6 @@ export interface ChatComposerPalette {
101
101
  }
102
102
 
103
103
  /** Re-exported from `theme/color-utils`, which owns it (it was copied here). */
104
- export { withAlpha } from '../theme/color-utils';
105
104
 
106
105
  export function resolveChatComposerPalette(theme: Theme, backing?: string): ChatComposerPalette {
107
106
  const { accent } = resolveButtonRamps(theme);
@@ -1,7 +1,6 @@
1
1
  import { colorRamp, DANGER_TABLE, resolveButtonRamps } from '../button/shared';
2
2
  import { CHAT_INDICATORS_MESSAGES } from '../chat-indicators/messages';
3
3
  import type { MessageDeliveryStatus } from '../chat-indicators/types';
4
- import { RiChat3Line } from '../icons/remix/RiChat3Line';
5
4
  import { RiContactsBookLine } from '../icons/remix/RiContactsBookLine';
6
5
  import { RiFileGifLine } from '../icons/remix/RiFileGifLine';
7
6
  import { RiFileTextLine } from '../icons/remix/RiFileTextLine';
@@ -87,9 +86,6 @@ export const CHAT_ROW_GEOMETRY: Record<ChatListDensity, ChatRowGeometry> = {
87
86
  },
88
87
  };
89
88
 
90
- /** Corner radius of a row's hover/selected fill. */
91
- export const CHAT_ROW_RADIUS = 12;
92
-
93
89
  // The swipe's thresholds and pane width live in `swipe-row/constants.ts` —
94
90
  // this family drags through `SwipeRow` and owns none of that geometry.
95
91
 
@@ -114,9 +110,6 @@ export const CHAT_ATTACHMENT_ICONS: Record<ChatAttachmentKind, ChatIconComponent
114
110
  poll: RiListCheck3,
115
111
  };
116
112
 
117
- /** The glyph of an empty conversations list. */
118
- export const CHAT_EMPTY_ICON = RiChat3Line;
119
-
120
113
  // ---------------------------------------------------------------------------
121
114
  // Paint
122
115
  // ---------------------------------------------------------------------------
package/src/chip/Chip.tsx CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  import type { WebCssStyle } from '../styles/web-view-style';
27
27
  import { CHIP_GEOMETRY, resolveChipPaint, resolveChipRing } from './shared';
28
28
  import type { ChipProps } from './types';
29
- import { StyledPressable } from '../styles/styled-primitives';
29
+ import { AriaPressable } from '../styles/aria-hosts';
30
30
  import { IS_WEB } from '../styles/platform';
31
31
  import type { MemoRefComponent } from '../styles/native-refs';
32
32
 
@@ -359,7 +359,7 @@ const ChipComponent = forwardRef<ComponentRef<typeof View>, ChipProps>(function
359
359
  : null;
360
360
 
361
361
  const button = (
362
- <StyledPressable
362
+ <AriaPressable
363
363
  ref={ref}
364
364
  // The DOM hook the adopted sheet above hangs off.
365
365
  //
@@ -436,7 +436,7 @@ const ChipComponent = forwardRef<ComponentRef<typeof View>, ChipProps>(function
436
436
  >
437
437
  {onClose ? null : material}
438
438
  {content}
439
- </StyledPressable>
439
+ </AriaPressable>
440
440
  );
441
441
  if (!onClose) return button;
442
442
  // Selection and removal are sibling controls, never nested buttons.
@@ -35,9 +35,9 @@ import {
35
35
  PICKER_HEIGHT,
36
36
  PICKER_WIDTH,
37
37
  resolveComposerPalette,
38
- withAlpha,
39
38
  type ComposerPalette,
40
39
  } from './shared';
40
+ import { withAlpha } from '../theme/color-utils';
41
41
  import type {
42
42
  ModelPickerLabels,
43
43
  ModelPickerModel,
@@ -89,7 +89,6 @@ export interface ComposerPalette {
89
89
  }
90
90
 
91
91
  /** Re-exported from `theme/color-utils`, which owns it (it was copied here). */
92
- export { withAlpha } from '../theme/color-utils';
93
92
 
94
93
  /** Canonical surfaces and foregrounds follow the preset's authored role pairs. */
95
94
  export function resolveComposerPalette(theme: Theme): ComposerPalette {
@@ -9,14 +9,14 @@ import { resolveSurfaceMaterial } from '../surface/resolve-surface-material';
9
9
  * from letting feed content bleed to the rounded panel edge, both solved here
10
10
  * with sticky, full-viewport-height overlays inside the panel surface:
11
11
  *
12
- * 1. BLEED-MASK overlay (`z-30`): a `box-shadow` ring in the GUTTER color
12
+ * 1. BLEED-MASK overlay (z-index 30): a `box-shadow` ring in the GUTTER color
13
13
  * (Bloom `background` token) drawn OVER content that bleeds into the thin
14
14
  * lateral gutter / rounded corners. The clip stays within the panel’s horizontal bounds
15
15
  * and covers the full declared vertical insets. It sits below opaque chrome (headers/banners),
16
16
  * so it only masks the content's bleed, never the chrome. No border.
17
17
  * (`clip-path` lives in the adopted sheet — RN-web drops it from `style`.)
18
18
  *
19
- * 2. BORDER-FRAME overlay (`z-[120]`): a single 1px rounded `border-border`
19
+ * 2. BORDER-FRAME overlay (z-index 120): a single 1px rounded `border` token
20
20
  * outline with a transparent interior, ABOVE all content. Being one element
21
21
  * above everything, it draws ONE continuous rounded border around all four
22
22
  * sides — no seams, no double lines, no per-chrome borders.
@@ -62,19 +62,17 @@ import { resolveSurfaceMaterial } from '../surface/resolve-surface-material';
62
62
  *
63
63
  * Framing is tri-state via the `framed` prop:
64
64
  *
65
- * - `undefined` (DEFAULT) → RESPONSIVE, driven purely by NativeWind: full-bleed
66
- * below the `framedFrom` breakpoint, framed at/above it. The breakpoint is
67
- * configurable per consumer (`framedFrom`, default `768` / Tailwind `md`); the
68
- * rounding is gated by that breakpoint's `min-*:` variant and both overlays
69
- * are always rendered but carry the matching `max-*:hidden` literal
70
- * (`display:none` below the breakpoint), so the breakpoint is decided entirely
71
- * in CSS — no consumer JS breakpoint hook.
65
+ * - `undefined` (DEFAULT) → RESPONSIVE: full-bleed below the `framedFrom`
66
+ * breakpoint (default `768`), framed at/above it. The window width picks the
67
+ * rounding and the overlays' `display: none`; the sticky inset PageHeader
68
+ * inherits follows the same breakpoint in CSS (`PANEL_INSET_CSS`, keyed by
69
+ * `data-bloom-panel`).
72
70
  * - `false` → NEVER framed (full-bleed at every size): a single flat surface,
73
71
  * no rounding, no overlays.
74
72
  * - `true` → ALWAYS framed (rounded + overlays at every size).
75
73
  *
76
- * The overlays are gated by VISIBILITY (a `max-*:hidden` literal for the chosen
77
- * breakpoint) rather than by conditional mounting for the responsive case, so
74
+ * The overlays are gated by VISIBILITY (`display: none` below the breakpoint)
75
+ * rather than by conditional mounting for the responsive case, so
78
76
  * crossing the breakpoint never remounts them. The content wrapper likewise
79
77
  * keeps a stable `key` so `{children}` reconciles in place across the breakpoint
80
78
  * instead of remounting (which would reset feed scroll / the virtualizer +
@@ -123,20 +121,6 @@ export const PANEL_TOP_INSET = 8;
123
121
  /** Bottom sticky inset (px) of the framed panel chrome. */
124
122
  export const PANEL_BOTTOM_INSET = 8;
125
123
 
126
- /**
127
- * Per-breakpoint literal Tailwind variant tokens for the WEB responsive mode.
128
- * Each field is a WHOLE literal class string (never assembled from parts at
129
- * runtime) so the consumer's content-scan over `lib/**` picks up every
130
- * arbitrary/`min-*`/`max-*`/`web:` token verbatim. Selecting a bundle by
131
- * `framedFrom` value is the only runtime decision:
132
- * - `surface` → framing rounding on the surface at/above the breakpoint.
133
- * - `content` → the same rounding + a web-only horizontal clip on the
134
- * inner content wrapper (`web:<bp>:overflow-x-clip`, platform-first-then-
135
- * breakpoint — matching the consumer convention `web:sm:flex` in `@mercaria/ui`).
136
- * - `overlayHidden` → `display:none` for the sticky overlays BELOW the breakpoint.
137
- * `min-[500px]:` (≥500) and `max-[500px]:` (<500) are exactly complementary
138
- * (meet at 500, no overlap/gap), mirroring the named `md:`/`max-md:` pair.
139
- */
140
124
  /** `flex: 1`, as the CSS shorthand computes it. */
141
125
  const FLEX_FILL: ViewStyle = { flexGrow: 1, flexShrink: 1, flexBasis: '0%' };
142
126
  const PANEL_RADIUS = 'var(--bloom-panel-radius)';
@@ -338,16 +322,9 @@ const ContentPanelComponent: React.FC<ContentPanelProps> = ({
338
322
  marginBottom: cssLength('calc(-100dvh + 16px)'),
339
323
  };
340
324
 
341
- // The viewport-mode overlays are sized and positioned from literal Tailwind
342
- // classes (`top-2`, `h-[calc(100dvh-16px)]`, the matching negative
343
- // `margin-bottom`) because those values are constants known at build time.
344
- // An INSET is a runtime number — a shell's gutter, a measured header — which
345
- // a Tailwind arbitrary class cannot express (content-scanning needs the
346
- // literal string in source, not a value computed later), so a non-default
347
- // inset shifts the same three properties through inline `style` instead,
348
- // which has no such constraint. The default (8/8) leaves the classes standing
349
- // alone, and `panel` mode ignores the inset entirely — that mode already
350
- // starts at the panel's own box.
325
+ // A non-default inset (a shell's gutter, a measured header) shifts the same
326
+ // three properties; `panel` mode ignores it, as it starts at the panel's own
327
+ // box.
351
328
  //
352
329
  // RN's `ViewStyle.height`/`marginBottom` types only accept a number or a
353
330
  // `${number}%` string, not an arbitrary CSS `calc()`, because most of that
@@ -7,7 +7,6 @@ import { Text } from '../typography';
7
7
  import { useCommonMessages } from '../locale/common-messages';
8
8
  import { useMessages } from '../locale/messages';
9
9
  import { pointerEventsStyles } from '../styles/pointer-events';
10
- import { StyledView } from '../styles/styled-primitives';
11
10
  import { useTheme } from '../theme/use-theme';
12
11
  import { CoverImage } from './CoverImage';
13
12
  import { CENTER_POSITION, clampPosition, dragCoverPosition, coverSourceIdentity } from './geometry';
@@ -214,7 +213,7 @@ function CoverHeaderComponent({
214
213
  ]}
215
214
  >
216
215
  <GestureDetector gesture={gesture} touchAction={editing ? 'none' : 'auto'}>
217
- <StyledView
216
+ <View
218
217
  ref={editHost}
219
218
  collapsable={false}
220
219
  {...webProps}
@@ -272,7 +271,7 @@ function CoverHeaderComponent({
272
271
  testID={testID ? `${testID}-cover-image` : undefined}
273
272
  />
274
273
  ) : null)}
275
- </StyledView>
274
+ </View>
276
275
  </GestureDetector>
277
276
  </View>
278
277
  <View
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState, type ReactNode } from 'react';
2
- import { useWindowDimensions } from 'react-native';
2
+ import { useWindowDimensions, View } from 'react-native';
3
3
  import Animated, {
4
4
  Easing,
5
5
  useAnimatedStyle,
@@ -7,10 +7,9 @@ import Animated, {
7
7
  withTiming,
8
8
  } from 'react-native-reanimated';
9
9
  import { useDialogContext } from './context';
10
- import { StyledView } from '../styles/styled-primitives';
11
10
  import { DetailDialogEnteredContext } from './context';
12
11
  import { usePrefersReducedMotion } from '../hooks/use-prefers-reduced-motion';
13
- const AnimatedView = Animated.createAnimatedComponent(StyledView);
12
+ const AnimatedView = Animated.createAnimatedComponent(View);
14
13
  function phase(start: number, end: number, value: number) {
15
14
  'worklet';
16
15
  const t = Math.min(1, Math.max(0, (value - start) / (end - start)));
@@ -90,7 +90,7 @@ import { usePlacementBoundary } from '../overlay/placement-boundary';
90
90
  import { useSurfaceMaterial } from '../surface/use-surface-material.web';
91
91
  import { surfacePresenceStyle, useSurfacePresenceContent } from '../surface/use-surface-presence';
92
92
  import { Portal } from '../portal/index.web';
93
- import { StyledView } from '../styles/styled-primitives';
93
+ import { AriaView } from '../styles/aria-hosts';
94
94
  import { SurfaceLevelProvider, surfaceFillVars, useSurfaceFill } from '../styles/surface-levels';
95
95
  import { webDataSet } from '../styles/web-data';
96
96
  import { WEB_OVERFLOW_CLIP, WEB_POSITION_FIXED, type WebCssStyle } from '../styles/web-view-style';
@@ -121,8 +121,8 @@ import { usePrefersReducedMotion } from '../hooks/use-prefers-reduced-motion';
121
121
  */
122
122
  const PANEL_CURVE = surfaceStyle({ curve: SURFACE_SHAPES.menu.curve });
123
123
 
124
- /** `StyledView` for its `listbox` role, which React Native's `Role` lacks. */
125
- const AnimatedPanel = Animated.createAnimatedComponent(StyledView);
124
+ /** `AriaView` for its `listbox` role, which React Native's `Role` lacks. */
125
+ const AnimatedPanel = Animated.createAnimatedComponent(AriaView);
126
126
 
127
127
  /** The hook the surface material's stylesheet paints the panel through (`useSurfaceMaterial`). */
128
128
  const MATERIAL_HOOK = webDataSet({ 'bloom-floating-surface': '' });
@@ -36,7 +36,7 @@ import { StyleSheet, type PointerEvent, View, type StyleProp, type ViewStyle } f
36
36
 
37
37
  import { useRestoreAccessibilityFocus } from '../hooks/use-accessibility-focus';
38
38
  import { mergeRefs } from '../hooks/merge-refs';
39
- import { StyledPressable } from '../styles/styled-primitives';
39
+ import { AriaPressable } from '../styles/aria-hosts';
40
40
  import type { OverlayTriggerProps, TriggerHandleProps } from './types';
41
41
  import { PrimaryTriggerStateContext } from './context';
42
42
 
@@ -242,7 +242,7 @@ export function TriggerSlot({
242
242
  const control = asChild ? (
243
243
  cloneTrigger(children, handle)
244
244
  ) : (
245
- <StyledPressable {...handle}>{children}</StyledPressable>
245
+ <AriaPressable {...handle}>{children}</AriaPressable>
246
246
  );
247
247
  return (
248
248
  <View
@@ -47,7 +47,7 @@ export const DEFAULT_ALIGN_OFFSET = 0;
47
47
  *
48
48
  * React Native types no `aria-haspopup` (it is a PROPERTY, with no state to fold
49
49
  * into `accessibilityState`) and ignores it; react-native-web forwards it.
50
- * `styles/styled-primitives.ts`'s `WebAriaProps` is what makes it spellable
50
+ * `styles/aria-hosts.ts`'s `WebAriaProps` is what makes it spellable
51
51
  * without a cast.
52
52
  */
53
53
  export const MENU_TRIGGER_POPUP = 'menu';
@@ -41,7 +41,7 @@ import { RiCheckLine as CheckIcon } from '../icons/remix/RiCheckLine';
41
41
  import { RiCloseLine as RemoveIcon } from '../icons/remix/RiCloseLine';
42
42
  import { RiSubtractLine as MixedIcon } from '../icons/remix/RiSubtractLine';
43
43
  import { AA_LARGE_TEXT_CONTRAST, contrastRatio, mixColors } from '../styles/color-contrast';
44
- import { StyledPressable } from '../styles/styled-primitives';
44
+ import { AriaPressable } from '../styles/aria-hosts';
45
45
  import { parseRgba } from '../theme/color-utils';
46
46
  import { useTheme } from '../theme/use-theme';
47
47
  import { useMenuSurface } from './context';
@@ -173,7 +173,7 @@ function Swatch({
173
173
  const glyphSize = shown ? geometry.litGlyph : geometry.glyph;
174
174
 
175
175
  return (
176
- <StyledPressable
176
+ <AriaPressable
177
177
  ref={swatchRef}
178
178
  role={Platform.OS === 'web' ? 'menuitemcheckbox' : undefined}
179
179
  accessibilityRole="checkbox"
@@ -215,7 +215,7 @@ function Swatch({
215
215
  >
216
216
  {Glyph ? <Glyph width={glyphSize} height={glyphSize} fill={paint.glyph} /> : null}
217
217
  </View>
218
- </StyledPressable>
218
+ </AriaPressable>
219
219
  );
220
220
  }
221
221
 
@@ -44,7 +44,7 @@ import {
44
44
  type ViewStyle,
45
45
  } from 'react-native';
46
46
 
47
- import { StyledPressable, type WebAriaProps } from '../styles/styled-primitives';
47
+ import { AriaPressable, type WebAriaProps } from '../styles/aria-hosts';
48
48
  import { useInteractionState } from '../hooks/use-interaction-state';
49
49
  import { FOCUS_SETTLE_MS } from '../hooks/use-accessibility-focus';
50
50
  import {
@@ -287,7 +287,7 @@ export function MenuRowShell({
287
287
  : null;
288
288
 
289
289
  return (
290
- <StyledPressable
290
+ <AriaPressable
291
291
  ref={navigation.inPopup ? rowRef : undefined}
292
292
  nativeID={nativeID}
293
293
  onLayout={onLayout}
@@ -440,7 +440,7 @@ export function MenuRowShell({
440
440
  on a direct flex child of the row, and a slot view would absorb them. */}
441
441
  {trailing}
442
442
  </MenuRowInkContext.Provider>
443
- </StyledPressable>
443
+ </AriaPressable>
444
444
  );
445
445
  }
446
446