@oxy.so/bloom 23.1.0 → 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
@@ -1 +0,0 @@
1
- {"version":3,"names":["codegenNativeComponent","interfaceOnly"],"sourceRoot":"../../../../src","sources":["teleport/specs/PortalViewNativeComponent.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,sBAAsB,QAAwB,cAAc;AAOrE,eAAeA,sBAAsB,CAAc,YAAY,EAAE;EAC/DC,aAAa,EAAE;AACjB,CAAC,CAAC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/global.d.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path. `moveBefore` is newer than
6
- * TypeScript's DOM library, and this is how they declare it.
7
- */
8
- // https://developer.mozilla.org/en-US/docs/Web/API/Element/moveBefore
9
- interface Node {
10
- moveBefore(node: Node, child: Node | null): void;
11
- }
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["teleport/types.ts"],"mappings":"","ignoreList":[]}
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * COPIED FROM react-native-teleport 1.2.0 — `src/hooks/useId.ts`
5
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
6
- *
7
- * Changed: nothing — byte-for-byte, only its path.
8
- */
9
- import { useRef } from 'react';
10
- let __idCounter = 0;
11
- export default function useId(prefix = 'uid') {
12
- const idRef = useRef('');
13
- if (!idRef.current) {
14
- const n = ++__idCounter;
15
- idRef.current = `${prefix}-${n}`;
16
- }
17
- return idRef.current;
18
- }
19
- //# sourceMappingURL=use-id.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useRef","__idCounter","useId","prefix","idRef","current","n"],"sourceRoot":"../../../src","sources":["teleport/use-id.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,MAAM,QAAQ,OAAO;AAE9B,IAAIC,WAAW,GAAG,CAAC;AAEnB,eAAe,SAASC,KAAKA,CAACC,MAAM,GAAG,KAAK,EAAU;EACpD,MAAMC,KAAK,GAAGJ,MAAM,CAAS,EAAE,CAAC;EAChC,IAAI,CAACI,KAAK,CAACC,OAAO,EAAE;IAClB,MAAMC,CAAC,GAAG,EAAEL,WAAW;IACvBG,KAAK,CAACC,OAAO,GAAG,GAAGF,MAAM,IAAIG,CAAC,EAAE;EAClC;EACA,OAAOF,KAAK,CAACC,OAAO;AACtB","ignoreList":[]}
@@ -1,55 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * COPIED FROM react-native-teleport 1.2.0 — `src/hooks/usePortal.ts`
5
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
6
- *
7
- * Changed: import paths only, for this flat directory.
8
- */
9
- import { usePortalManagerContext } from "./portal-manager.js";
10
-
11
- /**
12
- * The `usePortal` hook allows you to manage portals in imperative way.
13
- *
14
- * @category hooks
15
- * @param `hostName` - `name` of the `<PortalHost />` component
16
- * @returns an object that helps to manipulate portals
17
- * @example
18
- * ```tsx
19
- * import { usePortal } from "react-native-teleport";
20
- * export default function App() {
21
- * const { removePortal, isHostAvailable } = usePortal("root");
22
- * return (
23
- * <View style={{ flex: 1 }}>
24
- * <Text>{isHostAvailable ? "Host is available" : "Host is not available"}</Text>
25
- * <Button title="Remove" onPress={() => removePortal("portal")} />
26
- * </View>
27
- * );
28
- * }
29
- * ```
30
- */
31
- export default function usePortal(hostName = 'root') {
32
- const {
33
- state,
34
- dispatch
35
- } = usePortalManagerContext();
36
- return {
37
- /**
38
- * Whether a `<PortalHost />` with the given `hostName` is currently mounted.
39
- */
40
- isHostAvailable: (state.hosts[hostName] ?? 0) > 0,
41
- /**
42
- * Remove portal from host container. Subsequent re-renders will not restore portal,
43
- * but if you mount a new portal with the same name it will be shown (i. e. hook doesn't
44
- * prevent new portal from being added).
45
- *
46
- * @param name - `name` of `<Portal />` component.
47
- */
48
- removePortal: name => dispatch({
49
- type: 'REMOVE_PORTAL',
50
- hostName,
51
- name
52
- })
53
- };
54
- }
55
- //# sourceMappingURL=use-portal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["usePortalManagerContext","usePortal","hostName","state","dispatch","isHostAvailable","hosts","removePortal","name","type"],"sourceRoot":"../../../src","sources":["teleport/use-portal.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,uBAAuB,QAAQ,qBAAkB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,SAASA,CAACC,QAAgB,GAAG,MAAM,EAAE;EAC3D,MAAM;IAAEC,KAAK;IAAEC;EAAS,CAAC,GAAGJ,uBAAuB,CAAC,CAAC;EAErD,OAAO;IACL;AACJ;AACA;IACIK,eAAe,EAAE,CAACF,KAAK,CAACG,KAAK,CAACJ,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;IACjD;AACJ;AACA;AACA;AACA;AACA;AACA;IACIK,YAAY,EAAGC,IAAY,IAAKJ,QAAQ,CAAC;MAAEK,IAAI,EAAE,eAAe;MAAEP,QAAQ;MAAEM;IAAK,CAAC;EACpF,CAAC;AACH","ignoreList":[]}
@@ -1,69 +0,0 @@
1
- /**
2
- * React Native's primitives typed with the web props react-native-web forwards
3
- * (a `listbox` role, `aria-*` on a pressable), for Bloom's own hosts. They are
4
- * React Native's components themselves: Bloom styles through `style` alone
5
- * (`docs/no-nativewind.mdx`).
6
- */
7
- import type { ComponentRef, ComponentType, Ref } from 'react';
8
- import { ScrollView, Text, View, type PressableProps, type ScrollViewProps, type StyleProp, type TextProps, type ViewProps, type ViewStyle } from 'react-native';
9
- import { type BloomImageProps } from '../image';
10
- type StyledPressableBase = Omit<PressableProps, 'style'> & {
11
- style?: StyleProp<ViewStyle>;
12
- };
13
- export interface WebAriaProps {
14
- /**
15
- * What kind of surface this control opens. `menu` is the only value Bloom
16
- * currently needs; the union is the ARIA one, narrowed to what is spellable.
17
- */
18
- 'aria-haspopup'?: 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
19
- /**
20
- * The id list of the elements that DESCRIBE this control — a field's hint or
21
- * its error message (`field/context.ts`).
22
- *
23
- * Here for the same reason as `aria-haspopup`: React Native types no such prop
24
- * (there is no `accessibilityState` entry for it to fold into) while
25
- * react-native-web forwards it, so web gets the association and native is
26
- * unaffected. A control that needs the description READ on native carries it
27
- * in its accessible name instead.
28
- */
29
- 'aria-describedby'?: string;
30
- /**
31
- * Whether the control's current value is invalid. Same platform split as
32
- * `aria-describedby`.
33
- */
34
- 'aria-invalid'?: boolean;
35
- }
36
- /**
37
- * `ref` is on the PUBLISHED type and deliberately not on the one handed to
38
- * `styled()`: adding it to the argument widens that dot-path union past the
39
- * checker's limit again, and the mapping only ever names `className`. The same
40
- * goes for {@link WebAriaProps}.
41
- */
42
- export type StyledPressableProps = Omit<StyledPressableBase, 'role'> & WebAriaProps & {
43
- /** RNW supports these menu roles; native callers retain checkbox/radio. */
44
- role?: PressableProps['role'] | 'menuitemcheckbox' | 'menuitemradio';
45
- ref?: Ref<ComponentRef<typeof View>>;
46
- };
47
- /**
48
- * `styled()` is declared as returning `any`, so these annotations are the whole
49
- * type contract — including `ref`, which under React 19 is an ordinary prop that
50
- * `useCssElement` spreads onto the wrapped primitive. Leaving it out made a
51
- * measured node (a flyout's scroll box, a select option) a compile error while
52
- * the runtime forwarded it fine.
53
- */
54
- export declare const StyledView: ComponentType<Omit<ViewProps, "role"> & {
55
- /** Web-only listbox semantics; RN's Role type does not include this role. */
56
- role?: ViewProps["role"] | "listbox";
57
- ref?: Ref<ComponentRef<typeof View>>;
58
- }>;
59
- export declare const StyledText: ComponentType<TextProps & {
60
- ref?: Ref<ComponentRef<typeof Text>>;
61
- }>;
62
- /** Bloom's one raster renderer (expo-image on a device), never react-native's `Image`. */
63
- export declare const StyledImage: ComponentType<BloomImageProps>;
64
- export declare const StyledPressable: ComponentType<StyledPressableProps>;
65
- export declare const StyledScrollView: ComponentType<ScrollViewProps & {
66
- ref?: Ref<ComponentRef<typeof ScrollView>>;
67
- }>;
68
- export {};
69
- //# sourceMappingURL=styled-primitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styled-primitives.d.ts","sourceRoot":"","sources":["../../../../src/styles/styled-primitives.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAE5D,KAAK,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IAClE;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,GAClE,YAAY,GAAG;IACb,2EAA2E;IAC3E,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,kBAAkB,GAAG,eAAe,CAAC;IACrE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;CACtC,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAW,aAAa,CAC7C,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IACxB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;CACtC,CACF,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,SAAS,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;CAAE,CAAQ,CAAC;AAEpG,0FAA0F;AAC1F,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,eAAe,CAAc,CAAC;AAEtE,eAAO,MAAM,eAAe,EAAgB,aAAa,CAAC,oBAAoB,CAAC,CAAC;AAEhF,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAC1C,eAAe,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA;CAAE,CACpD,CAAC"}
@@ -1,48 +0,0 @@
1
- import type { PortalProps } from './types';
2
- /**
3
- * Portal helps you to render a component in a different place in the view hierarchy.
4
- * This is useful when you need a view to visually “break out” of its parent container (for example: modals, toasts, floating UI, popovers).
5
- *
6
- * @category components
7
- * @param hostName - The `name` of the `PortalHost`. It's used to identify the host where the content should be rendered.
8
- * @param name - The name of the portal. It's used to identify the portal.
9
- * @param children - The content that should be rendered in the portal.
10
- * @example
11
- * ```tsx
12
- * import { useState } from "react";
13
- * import { View, StyleSheet, Button } from "react-native";
14
- * import { Portal } from "react-native-teleport";
15
- * export default function InstantRootExample() {
16
- * const [shouldBeTeleported, setTeleported] = useState(true);
17
- * return (
18
- * <View style={styles.container}>
19
- * {shouldBeTeleported && (
20
- * <Portal hostName={"overlay"}>
21
- * <View style={styles.box} />
22
- * </Portal>
23
- * )}
24
- * <Button
25
- * title={shouldBeTeleported ? "Hide" : "Show"}
26
- * onPress={() => setTeleported((t) => !t)}
27
- * />
28
- * </View>
29
- * );
30
- * }
31
- * const styles = StyleSheet.create({
32
- * container: {
33
- * flex: 1,
34
- * alignItems: "center",
35
- * justifyContent: "center",
36
- * },
37
- * box: {
38
- * width: 160,
39
- * height: 160,
40
- * marginVertical: 20,
41
- * backgroundColor: "blue",
42
- * },
43
- * });
44
- * ```
45
- */
46
- declare const PortalComponent: ({ hostName, name, style, children }: PortalProps) => import("react").JSX.Element;
47
- export default PortalComponent;
48
- //# sourceMappingURL=Portal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Portal.d.ts","sourceRoot":"","sources":["../../../../src/teleport/Portal.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,QAAA,MAAM,eAAe,GAAI,qCAAqC,WAAW,gCAoCxE,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,25 +0,0 @@
1
- import type { PortalHostProps } from './types';
2
- /**
3
- * PortalHost is a component that acts as an anchor for the portals.
4
- * You can define multiple portal hosts in your app and use them to render different portals.
5
- * Each portal host has a unique name that you can use to identify a necessary one among the others.
6
- *
7
- * @category components
8
- * @param name - The name of the portal host. It's used by `<Portal />` component to identify the host.
9
- *
10
- * @example
11
- * ```tsx
12
- * import { StyleSheet, View } from "react-native";
13
- * import { PortalHost, PortalProvider } from "react-native-teleport";
14
- * export default function App() {
15
- * return (
16
- * <PortalProvider>
17
- * <PortalHost style={StyleSheet.absoluteFill} name="overlay" />
18
- * </PortalProvider>
19
- * );
20
- * }
21
- * ```
22
- */
23
- declare const PortalHostComponent: ({ name, children, style }: PortalHostProps) => import("react").JSX.Element;
24
- export default PortalHostComponent;
25
- //# sourceMappingURL=PortalHost.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalHost.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalHost.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,mBAAmB,GAAI,2BAA2B,eAAe,gCAyBtE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { PortalHostProps } from './types';
2
- declare function PortalHost({ name, children, style }: PortalHostProps): import("react").JSX.Element;
3
- declare const _default: import("react").MemoExoticComponent<typeof PortalHost>;
4
- export default _default;
5
- //# sourceMappingURL=PortalHostView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalHostView.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalHostView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,eAAe,+BAiB7D;;AAED,wBAAgC"}
@@ -1,4 +0,0 @@
1
- import type { PortalHostProps } from './types';
2
- declare const PortalHost: (props: PortalHostProps) => import("react").JSX.Element;
3
- export default PortalHost;
4
- //# sourceMappingURL=PortalHostView.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalHostView.native.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalHostView.native.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,QAAA,MAAM,UAAU,GAAI,OAAO,eAAe,gCAEzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,23 +0,0 @@
1
- type PortalProviderProps = {
2
- children: React.ReactNode;
3
- };
4
- /**
5
- * Wraps your app with this component to use the teleport API.
6
- *
7
- * This component provides a context/registry for all Portals so that you can use imperative API, such as `usePortal` hook to manage Portals.
8
- *
9
- * @category components
10
- * @example
11
- * ```tsx
12
- * import { PortalProvider } from "react-native-teleport";
13
- * export default function App() {
14
- * return (
15
- * <PortalProvider>
16
- * //* your main application code goes here
17
- * </PortalProvider>
18
- * );
19
- * }
20
- */
21
- export default function PortalProvider({ children }: PortalProviderProps): import("react").JSX.Element;
22
- export {};
23
- //# sourceMappingURL=PortalProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalProvider.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalProvider.tsx"],"names":[],"mappings":"AAUA,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BASvE"}
@@ -1,3 +0,0 @@
1
- import type { PortalProviderProps } from './types';
2
- export default function PortalProvider({ children }: PortalProviderProps): import("react").JSX.Element;
3
- //# sourceMappingURL=PortalProviderView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalProviderView.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalProviderView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BA2CvE"}
@@ -1,9 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/views/PortalProvider/index.native.tsx`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- import type { PortalProviderProps } from './types';
8
- export default function PortalProvider({ children }: PortalProviderProps): import("react").ReactNode;
9
- //# sourceMappingURL=PortalProviderView.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalProviderView.native.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalProviderView.native.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,6BAEvE"}
@@ -1,9 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/views/Portal/index.tsx`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: import paths only, for this flat directory.
6
- */
7
- import type { PortalProps } from './types';
8
- export default function Portal({ hostName, children, style }: PortalProps): import("react").JSX.Element;
9
- //# sourceMappingURL=PortalView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalView.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalView.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAiB3C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,WAAW,+BAgDxE"}
@@ -1,8 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/views/Portal/index.native.tsx`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: import paths only, for this flat directory.
6
- */
7
- export { default } from './specs/PortalViewNativeComponent';
8
- //# sourceMappingURL=PortalView.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalView.native.d.ts","sourceRoot":"","sources":["../../../../src/teleport/PortalView.native.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
@@ -1,29 +0,0 @@
1
- /**
2
- * react-native-teleport, vendored.
3
- *
4
- * COPIED FROM react-native-teleport 1.2.0 — `src/index.ts`. MIT, Copyright (c)
5
- * 2025 Kiryl Ziusko; the full licence is in `NOTICE` at the repository root and
6
- * every file in this directory names the file it came from.
7
- *
8
- * It is here rather than as a dependency because Bloom needs its NATIVE
9
- * re-parenting — moving one platform view between hosts instead of mounting a
10
- * second one — and that arrives as Fabric components, not as JavaScript.
11
- *
12
- * WHAT IS DIFFERENT FROM UPSTREAM, and it is not their code: **Bloom mounts
13
- * these portals from its ROOT LAYER, never from the origin screen.** Their own
14
- * recipe mounts the `<Portal>` inside the screen the media starts on, which is
15
- * correct for a navigator that keeps that screen alive — and measured against
16
- * expo-router on web, where the origin route unmounts on the URL change, it
17
- * takes the media with it (`count 1 -> 0 -> 0`). The portal is not what fails
18
- * there; the ownership is. Same piece, mounted where it does not die.
19
- *
20
- * Changed: import paths only, for this flat directory. Their file layout uses
21
- * `index.tsx` per component, which Bloom's family-layout gate reserves for pure
22
- * barrels, so each one is named after what it exports.
23
- */
24
- export { default as PortalHost } from './PortalHost';
25
- export { default as Portal } from './Portal';
26
- export { default as PortalProvider } from './PortalProvider';
27
- export { default as usePortal } from './use-portal';
28
- export type { PortalHostProps, PortalProps, PortalProviderProps, } from './types';
29
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/teleport/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EACV,eAAe,EACf,WAAW,EACX,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/contexts/PortalManager.tsx`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: import paths only, for this flat directory.
6
- */
7
- import { type ReactNode } from 'react';
8
- import { type Action, type PortalState } from './reducer';
9
- export declare const PortalManagerProvider: ({ children }: {
10
- children: ReactNode;
11
- }) => import("react").JSX.Element;
12
- export declare const usePortalManagerContext: () => {
13
- state: PortalState;
14
- dispatch: React.Dispatch<Action>;
15
- };
16
- //# sourceMappingURL=portal-manager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"portal-manager.d.ts","sourceRoot":"","sources":["../../../../src/teleport/portal-manager.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,EAAyB,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAMjF,eAAO,MAAM,qBAAqB,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAK1E,CAAC;AAEF,eAAO,MAAM,uBAAuB;WAVzB,WAAW;cAAY,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;CAkBvD,CAAC"}
@@ -1,10 +0,0 @@
1
- type PortalRegistryContextType = {
2
- registerHost: (name: string, node: HTMLElement | null) => void;
3
- getHost: (name: string) => HTMLElement | null;
4
- registerPendingPortal: (name: string, callback: () => void) => void;
5
- unregisterPendingPortal: (name: string, callback: () => void) => void;
6
- };
7
- export declare const PortalRegistryContext: import("react").Context<PortalRegistryContextType | null>;
8
- export declare function usePortalRegistryContext(): PortalRegistryContextType;
9
- export {};
10
- //# sourceMappingURL=portal-registry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"portal-registry.d.ts","sourceRoot":"","sources":["../../../../src/teleport/portal-registry.ts"],"names":[],"mappings":"AAQA,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/D,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,WAAW,GAAG,IAAI,CAAC;IAC9C,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACpE,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,eAAO,MAAM,qBAAqB,2DAAwD,CAAC;AAE3F,wBAAgB,wBAAwB,8BAMvC"}
@@ -1,40 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/state/reducer.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- import type { ScrollViewContextValue } from './scroll-view-context/types';
8
- export type PortalState = {
9
- removed: Record<string, Record<string, Record<string, boolean>>>;
10
- hosts: Record<string, number>;
11
- hostScrollViewContexts: Record<string, ScrollViewContextValue | undefined>;
12
- };
13
- export type Action = {
14
- type: 'REMOVE_PORTAL';
15
- hostName: string;
16
- name: string;
17
- } | {
18
- type: 'CLEAR_REMOVED_ON_UNMOUNT';
19
- hostName: string;
20
- name: string;
21
- instanceId: string;
22
- } | {
23
- type: 'REGISTER_PORTAL';
24
- hostName: string;
25
- name: string;
26
- instanceId: string;
27
- } | {
28
- type: 'REGISTER_HOST';
29
- hostName: string;
30
- } | {
31
- type: 'UNREGISTER_HOST';
32
- hostName: string;
33
- } | {
34
- type: 'SET_HOST_SCROLL_VIEW_CONTEXT';
35
- hostName: string;
36
- value: ScrollViewContextValue;
37
- };
38
- export declare const initialState: PortalState;
39
- export declare const reducer: (state: PortalState, action: Action) => PortalState;
40
- //# sourceMappingURL=reducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/teleport/reducer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACjE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,SAAS,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,MAAM,GACd;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzD;IACE,IAAI,EAAE,0BAA0B,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,GACD;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,GACD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC7C;IACE,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,sBAAsB,CAAC;CAC/B,CAAC;AAEN,eAAO,MAAM,YAAY,EAAE,WAI1B,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,WAAW,EAAE,QAAQ,MAAM,KAAG,WAkD5D,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { ScrollViewContextValue } from './types';
2
- declare const ScrollViewContext: import("react").Context<ScrollViewContextValue>;
3
- export default ScrollViewContext;
4
- //# sourceMappingURL=context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/teleport/scroll-view-context/context.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,QAAA,MAAM,iBAAiB,iDAA8C,CAAC;AAEtE,eAAe,iBAAiB,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/contexts/ScrollViewContext/index.native.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: import paths, and `ScrollView.Context` is reached through a cast
6
- * because Bloom does not compile with their `react-native-strict-api` condition,
7
- * which is the only place that property is declared.
8
- */
9
- import type { Context } from 'react';
10
- import type { ScrollViewContextValue } from './types';
11
- declare const ScrollViewContext: Context<ScrollViewContextValue>;
12
- export default ScrollViewContext;
13
- //# sourceMappingURL=context.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.native.d.ts","sourceRoot":"","sources":["../../../../../src/teleport/scroll-view-context/context.native.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAKtD,QAAA,MAAM,iBAAiB,iCACb,CAAC;AAEX,eAAe,iBAAiB,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/contexts/ScrollViewContext/types.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- export type ScrollViewContextValue = {
8
- horizontal: boolean;
9
- } | null;
10
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/teleport/scroll-view-context/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/specs/PortalHostViewNativeComponent.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- import { type ViewProps } from 'react-native';
8
- interface NativeProps extends ViewProps {
9
- name?: string;
10
- }
11
- declare const _default: import("react-native").HostComponent<NativeProps>;
12
- export default _default;
13
- //# sourceMappingURL=PortalHostViewNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalHostViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/teleport/specs/PortalHostViewNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtE,UAAU,WAAY,SAAQ,SAAS;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;;AAED,wBAEG"}
@@ -1,14 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/specs/PortalViewNativeComponent.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- import { type ViewProps } from 'react-native';
8
- interface NativeProps extends ViewProps {
9
- name?: string;
10
- hostName?: string;
11
- }
12
- declare const _default: import("react-native").HostComponent<NativeProps>;
13
- export default _default;
14
- //# sourceMappingURL=PortalViewNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PortalViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/teleport/specs/PortalViewNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtE,UAAU,WAAY,SAAQ,SAAS;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;AAED,wBAEG"}
@@ -1,22 +0,0 @@
1
- /**
2
- * COPIED FROM react-native-teleport 1.2.0 — `src/types/index.ts`
3
- * MIT, Copyright (c) 2025 Kiryl Ziusko. Full licence in `NOTICE` at the root.
4
- *
5
- * Changed: nothing — byte-for-byte, only its path.
6
- */
7
- import type { StyleProp, ViewStyle } from 'react-native';
8
- export type PortalProviderProps = {
9
- children: React.ReactNode;
10
- };
11
- export type PortalHostProps = {
12
- name: string;
13
- style?: StyleProp<ViewStyle>;
14
- children?: React.ReactNode;
15
- };
16
- export type PortalProps = {
17
- name?: string;
18
- hostName?: string;
19
- style?: StyleProp<ViewStyle>;
20
- children?: React.ReactNode;
21
- };
22
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/teleport/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AACF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC"}
@@ -1,2 +0,0 @@
1
- export default function useId(prefix?: string): string;
2
- //# sourceMappingURL=use-id.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-id.d.ts","sourceRoot":"","sources":["../../../../src/teleport/use-id.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,MAAM,SAAQ,GAAG,MAAM,CAOpD"}