@oxyhq/bloom 0.50.1 → 0.51.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 (571) hide show
  1. package/NOTICE +89 -0
  2. package/README.md +12 -7
  3. package/lib/commonjs/avatar-group/AvatarGroup.web.js +2 -1
  4. package/lib/commonjs/avatar-group/AvatarGroup.web.js.map +1 -1
  5. package/lib/commonjs/bottom-sheet/index.web.js +5 -3
  6. package/lib/commonjs/bottom-sheet/index.web.js.map +1 -1
  7. package/lib/commonjs/context-menu/index.web.js +6 -9
  8. package/lib/commonjs/context-menu/index.web.js.map +1 -1
  9. package/lib/commonjs/dialog/Dialog.js +12 -7
  10. package/lib/commonjs/dialog/Dialog.js.map +1 -1
  11. package/lib/commonjs/dialog/Dialog.web.js +18 -22
  12. package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
  13. package/lib/commonjs/dialog/DialogHeader.js +61 -12
  14. package/lib/commonjs/dialog/DialogHeader.js.map +1 -1
  15. package/lib/commonjs/index.js +90 -83
  16. package/lib/commonjs/index.js.map +1 -1
  17. package/lib/commonjs/index.web.js +116 -109
  18. package/lib/commonjs/index.web.js.map +1 -1
  19. package/lib/commonjs/menu/index.web.js +5 -8
  20. package/lib/commonjs/menu/index.web.js.map +1 -1
  21. package/lib/commonjs/popover/index.web.js +8 -9
  22. package/lib/commonjs/popover/index.web.js.map +1 -1
  23. package/lib/commonjs/portal/index.js +4 -1
  24. package/lib/commonjs/portal/index.js.map +1 -1
  25. package/lib/commonjs/progressive-blur/index.js +79 -0
  26. package/lib/commonjs/progressive-blur/index.js.map +1 -0
  27. package/lib/commonjs/progressive-blur/index.web.js +67 -0
  28. package/lib/commonjs/progressive-blur/index.web.js.map +1 -0
  29. package/lib/commonjs/progressive-blur/shared.js +66 -0
  30. package/lib/commonjs/progressive-blur/shared.js.map +1 -0
  31. package/lib/commonjs/progressive-blur/types.js +6 -0
  32. package/lib/commonjs/progressive-blur/types.js.map +1 -0
  33. package/lib/commonjs/select/index.web.js +5 -8
  34. package/lib/commonjs/select/index.web.js.map +1 -1
  35. package/lib/commonjs/slider/Slider.js +4 -9
  36. package/lib/commonjs/slider/Slider.js.map +1 -1
  37. package/lib/commonjs/styles/web-view-style.js +26 -0
  38. package/lib/commonjs/styles/web-view-style.js.map +1 -0
  39. package/lib/commonjs/switch/Switch.js +4 -8
  40. package/lib/commonjs/switch/Switch.js.map +1 -1
  41. package/lib/commonjs/tab-bar/TabBarBase.js +415 -0
  42. package/lib/commonjs/tab-bar/TabBarBase.js.map +1 -0
  43. package/lib/commonjs/tab-bar/expo-router/RouterTabBar.js +83 -0
  44. package/lib/commonjs/tab-bar/expo-router/RouterTabBar.js.map +1 -0
  45. package/lib/commonjs/tab-bar/expo-router/fading-tab-screen.js +119 -0
  46. package/lib/commonjs/tab-bar/expo-router/fading-tab-screen.js.map +1 -0
  47. package/lib/commonjs/tab-bar/expo-router/index.js +26 -0
  48. package/lib/commonjs/tab-bar/expo-router/index.js.map +1 -0
  49. package/lib/commonjs/tab-bar/glyph.js +43 -0
  50. package/lib/commonjs/tab-bar/glyph.js.map +1 -0
  51. package/lib/commonjs/tab-bar/glyph.native.js +55 -0
  52. package/lib/commonjs/tab-bar/glyph.native.js.map +1 -0
  53. package/lib/commonjs/tab-bar/index.js +65 -0
  54. package/lib/commonjs/tab-bar/index.js.map +1 -0
  55. package/lib/commonjs/tab-bar/index.web.js +67 -0
  56. package/lib/commonjs/tab-bar/index.web.js.map +1 -0
  57. package/lib/commonjs/tab-bar/minimize-context.js +127 -0
  58. package/lib/commonjs/tab-bar/minimize-context.js.map +1 -0
  59. package/lib/commonjs/tab-bar/shared.js +139 -0
  60. package/lib/commonjs/tab-bar/shared.js.map +1 -0
  61. package/lib/commonjs/tab-bar/surface.js +50 -0
  62. package/lib/commonjs/tab-bar/surface.js.map +1 -0
  63. package/lib/commonjs/tab-bar/surface.native.js +56 -0
  64. package/lib/commonjs/tab-bar/surface.native.js.map +1 -0
  65. package/lib/commonjs/tab-bar/surface.web.js +59 -0
  66. package/lib/commonjs/tab-bar/surface.web.js.map +1 -0
  67. package/lib/commonjs/tab-bar/types.js +6 -0
  68. package/lib/commonjs/tab-bar/types.js.map +1 -0
  69. package/lib/commonjs/tabs/Tabs.js +3 -8
  70. package/lib/commonjs/tabs/Tabs.js.map +1 -1
  71. package/lib/commonjs/toast/Positioner.js +117 -0
  72. package/lib/commonjs/toast/Positioner.js.map +1 -0
  73. package/lib/commonjs/toast/ToastContent.js +301 -0
  74. package/lib/commonjs/toast/ToastContent.js.map +1 -0
  75. package/lib/commonjs/toast/ToastHost.js +69 -0
  76. package/lib/commonjs/toast/ToastHost.js.map +1 -0
  77. package/lib/commonjs/toast/ToastHost.native.js +44 -0
  78. package/lib/commonjs/toast/ToastHost.native.js.map +1 -0
  79. package/lib/commonjs/toast/ToastIcon.js +57 -0
  80. package/lib/commonjs/toast/ToastIcon.js.map +1 -0
  81. package/lib/commonjs/toast/ToastRow.js +411 -0
  82. package/lib/commonjs/toast/ToastRow.js.map +1 -0
  83. package/lib/commonjs/toast/ToastSwipeHandler.js +189 -0
  84. package/lib/commonjs/toast/ToastSwipeHandler.js.map +1 -0
  85. package/lib/commonjs/toast/Toaster.js +205 -0
  86. package/lib/commonjs/toast/Toaster.js.map +1 -0
  87. package/lib/commonjs/toast/animations.js +274 -0
  88. package/lib/commonjs/toast/animations.js.map +1 -0
  89. package/lib/commonjs/toast/constants.js +56 -0
  90. package/lib/commonjs/toast/constants.js.map +1 -0
  91. package/lib/commonjs/toast/context.js +42 -0
  92. package/lib/commonjs/toast/context.js.map +1 -0
  93. package/lib/commonjs/toast/index.js +32 -126
  94. package/lib/commonjs/toast/index.js.map +1 -1
  95. package/lib/commonjs/toast/position-utils.js +115 -0
  96. package/lib/commonjs/toast/position-utils.js.map +1 -0
  97. package/lib/commonjs/toast/positioner-utils.js +141 -0
  98. package/lib/commonjs/toast/positioner-utils.js.map +1 -0
  99. package/lib/commonjs/toast/toast-comparator.js +28 -0
  100. package/lib/commonjs/toast/toast-comparator.js.map +1 -0
  101. package/lib/commonjs/toast/toast-fns.js +90 -0
  102. package/lib/commonjs/toast/toast-fns.js.map +1 -0
  103. package/lib/commonjs/toast/toast-store.js +352 -0
  104. package/lib/commonjs/toast/toast-store.js.map +1 -0
  105. package/lib/commonjs/toast/toast-timers.js +110 -0
  106. package/lib/commonjs/toast/toast-timers.js.map +1 -0
  107. package/lib/commonjs/toast/types.js +42 -0
  108. package/lib/commonjs/toast/types.js.map +1 -1
  109. package/lib/commonjs/toast/use-animated-target.js +57 -0
  110. package/lib/commonjs/toast/use-animated-target.js.map +1 -0
  111. package/lib/commonjs/toast/use-app-state.js +76 -0
  112. package/lib/commonjs/toast/use-app-state.js.map +1 -0
  113. package/lib/commonjs/toast/use-toast-colors.js +114 -0
  114. package/lib/commonjs/toast/use-toast-colors.js.map +1 -0
  115. package/lib/commonjs/toast/use-toast-position.js +40 -0
  116. package/lib/commonjs/toast/use-toast-position.js.map +1 -0
  117. package/lib/commonjs/tooltip/index.web.js +2 -1
  118. package/lib/commonjs/tooltip/index.web.js.map +1 -1
  119. package/lib/commonjs/zoomable-image-gallery/ZoomableImageGallery.js +20 -8
  120. package/lib/commonjs/zoomable-image-gallery/ZoomableImageGallery.js.map +1 -1
  121. package/lib/module/avatar-group/AvatarGroup.web.js +2 -1
  122. package/lib/module/avatar-group/AvatarGroup.web.js.map +1 -1
  123. package/lib/module/bottom-sheet/index.web.js +5 -3
  124. package/lib/module/bottom-sheet/index.web.js.map +1 -1
  125. package/lib/module/context-menu/index.web.js +6 -9
  126. package/lib/module/context-menu/index.web.js.map +1 -1
  127. package/lib/module/dialog/Dialog.js +12 -7
  128. package/lib/module/dialog/Dialog.js.map +1 -1
  129. package/lib/module/dialog/Dialog.web.js +18 -22
  130. package/lib/module/dialog/Dialog.web.js.map +1 -1
  131. package/lib/module/dialog/DialogHeader.js +61 -12
  132. package/lib/module/dialog/DialogHeader.js.map +1 -1
  133. package/lib/module/index.js +3 -2
  134. package/lib/module/index.js.map +1 -1
  135. package/lib/module/index.web.js +3 -2
  136. package/lib/module/index.web.js.map +1 -1
  137. package/lib/module/menu/index.web.js +5 -8
  138. package/lib/module/menu/index.web.js.map +1 -1
  139. package/lib/module/popover/index.web.js +8 -9
  140. package/lib/module/popover/index.web.js.map +1 -1
  141. package/lib/module/portal/index.js +4 -1
  142. package/lib/module/portal/index.js.map +1 -1
  143. package/lib/module/progressive-blur/index.js +74 -0
  144. package/lib/module/progressive-blur/index.js.map +1 -0
  145. package/lib/module/progressive-blur/index.web.js +62 -0
  146. package/lib/module/progressive-blur/index.web.js.map +1 -0
  147. package/lib/module/progressive-blur/shared.js +60 -0
  148. package/lib/module/progressive-blur/shared.js.map +1 -0
  149. package/lib/module/progressive-blur/types.js +4 -0
  150. package/lib/module/progressive-blur/types.js.map +1 -0
  151. package/lib/module/select/index.web.js +5 -8
  152. package/lib/module/select/index.web.js.map +1 -1
  153. package/lib/module/slider/Slider.js +4 -9
  154. package/lib/module/slider/Slider.js.map +1 -1
  155. package/lib/module/styles/web-view-style.js +22 -0
  156. package/lib/module/styles/web-view-style.js.map +1 -0
  157. package/lib/module/switch/Switch.js +4 -8
  158. package/lib/module/switch/Switch.js.map +1 -1
  159. package/lib/module/tab-bar/TabBarBase.js +408 -0
  160. package/lib/module/tab-bar/TabBarBase.js.map +1 -0
  161. package/lib/module/tab-bar/expo-router/RouterTabBar.js +78 -0
  162. package/lib/module/tab-bar/expo-router/RouterTabBar.js.map +1 -0
  163. package/lib/module/tab-bar/expo-router/fading-tab-screen.js +113 -0
  164. package/lib/module/tab-bar/expo-router/fading-tab-screen.js.map +1 -0
  165. package/lib/module/tab-bar/expo-router/index.js +15 -0
  166. package/lib/module/tab-bar/expo-router/index.js.map +1 -0
  167. package/lib/module/tab-bar/glyph.js +38 -0
  168. package/lib/module/tab-bar/glyph.js.map +1 -0
  169. package/lib/module/tab-bar/glyph.native.js +50 -0
  170. package/lib/module/tab-bar/glyph.native.js.map +1 -0
  171. package/lib/module/tab-bar/index.js +24 -0
  172. package/lib/module/tab-bar/index.js.map +1 -0
  173. package/lib/module/tab-bar/index.web.js +26 -0
  174. package/lib/module/tab-bar/index.web.js.map +1 -0
  175. package/lib/module/tab-bar/minimize-context.js +118 -0
  176. package/lib/module/tab-bar/minimize-context.js.map +1 -0
  177. package/lib/module/tab-bar/shared.js +132 -0
  178. package/lib/module/tab-bar/shared.js.map +1 -0
  179. package/lib/module/tab-bar/surface.js +44 -0
  180. package/lib/module/tab-bar/surface.js.map +1 -0
  181. package/lib/module/tab-bar/surface.native.js +50 -0
  182. package/lib/module/tab-bar/surface.native.js.map +1 -0
  183. package/lib/module/tab-bar/surface.web.js +53 -0
  184. package/lib/module/tab-bar/surface.web.js.map +1 -0
  185. package/lib/module/tab-bar/types.js +4 -0
  186. package/lib/module/tab-bar/types.js.map +1 -0
  187. package/lib/module/tabs/Tabs.js +3 -8
  188. package/lib/module/tabs/Tabs.js.map +1 -1
  189. package/lib/module/toast/Positioner.js +110 -0
  190. package/lib/module/toast/Positioner.js.map +1 -0
  191. package/lib/module/toast/ToastContent.js +295 -0
  192. package/lib/module/toast/ToastContent.js.map +1 -0
  193. package/lib/module/toast/ToastHost.js +63 -0
  194. package/lib/module/toast/ToastHost.js.map +1 -0
  195. package/lib/module/toast/ToastHost.native.js +38 -0
  196. package/lib/module/toast/ToastHost.native.js.map +1 -0
  197. package/lib/module/toast/ToastIcon.js +52 -0
  198. package/lib/module/toast/ToastIcon.js.map +1 -0
  199. package/lib/module/toast/ToastRow.js +407 -0
  200. package/lib/module/toast/ToastRow.js.map +1 -0
  201. package/lib/module/toast/ToastSwipeHandler.js +182 -0
  202. package/lib/module/toast/ToastSwipeHandler.js.map +1 -0
  203. package/lib/module/toast/Toaster.js +198 -0
  204. package/lib/module/toast/Toaster.js.map +1 -0
  205. package/lib/module/toast/animations.js +261 -0
  206. package/lib/module/toast/animations.js.map +1 -0
  207. package/lib/module/toast/constants.js +52 -0
  208. package/lib/module/toast/constants.js.map +1 -0
  209. package/lib/module/toast/context.js +34 -0
  210. package/lib/module/toast/context.js.map +1 -0
  211. package/lib/module/toast/index.js +27 -103
  212. package/lib/module/toast/index.js.map +1 -1
  213. package/lib/module/toast/position-utils.js +107 -0
  214. package/lib/module/toast/position-utils.js.map +1 -0
  215. package/lib/module/toast/positioner-utils.js +134 -0
  216. package/lib/module/toast/positioner-utils.js.map +1 -0
  217. package/lib/module/toast/toast-comparator.js +22 -0
  218. package/lib/module/toast/toast-comparator.js.map +1 -0
  219. package/lib/module/toast/toast-fns.js +85 -0
  220. package/lib/module/toast/toast-fns.js.map +1 -0
  221. package/lib/module/toast/toast-store.js +346 -0
  222. package/lib/module/toast/toast-store.js.map +1 -0
  223. package/lib/module/toast/toast-timers.js +104 -0
  224. package/lib/module/toast/toast-timers.js.map +1 -0
  225. package/lib/module/toast/types.js +38 -0
  226. package/lib/module/toast/types.js.map +1 -1
  227. package/lib/module/toast/use-animated-target.js +52 -0
  228. package/lib/module/toast/use-animated-target.js.map +1 -0
  229. package/lib/module/toast/use-app-state.js +70 -0
  230. package/lib/module/toast/use-app-state.js.map +1 -0
  231. package/lib/module/toast/use-toast-colors.js +109 -0
  232. package/lib/module/toast/use-toast-colors.js.map +1 -0
  233. package/lib/module/toast/use-toast-position.js +35 -0
  234. package/lib/module/toast/use-toast-position.js.map +1 -0
  235. package/lib/module/tooltip/index.web.js +2 -1
  236. package/lib/module/tooltip/index.web.js.map +1 -1
  237. package/lib/module/zoomable-image-gallery/ZoomableImageGallery.js +20 -8
  238. package/lib/module/zoomable-image-gallery/ZoomableImageGallery.js.map +1 -1
  239. package/lib/typescript/commonjs/avatar-group/AvatarGroup.web.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/bottom-sheet/index.web.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/context-menu/index.web.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/dialog/Dialog.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/dialog/DialogHeader.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/index.d.ts +2 -1
  246. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/index.web.d.ts +2 -1
  248. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/menu/index.web.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/popover/index.web.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/portal/index.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/progressive-blur/index.d.ts +23 -0
  253. package/lib/typescript/commonjs/progressive-blur/index.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/progressive-blur/index.web.d.ts +30 -0
  255. package/lib/typescript/commonjs/progressive-blur/index.web.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/progressive-blur/shared.d.ts +35 -0
  257. package/lib/typescript/commonjs/progressive-blur/shared.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/progressive-blur/types.d.ts +21 -0
  259. package/lib/typescript/commonjs/progressive-blur/types.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/select/index.web.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/slider/Slider.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/styles/web-view-style.d.ts +21 -0
  263. package/lib/typescript/commonjs/styles/web-view-style.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/switch/Switch.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts +36 -0
  266. package/lib/typescript/commonjs/tab-bar/TabBarBase.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/tab-bar/expo-router/RouterTabBar.d.ts +59 -0
  268. package/lib/typescript/commonjs/tab-bar/expo-router/RouterTabBar.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/tab-bar/expo-router/fading-tab-screen.d.ts +11 -0
  270. package/lib/typescript/commonjs/tab-bar/expo-router/fading-tab-screen.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/tab-bar/expo-router/index.d.ts +14 -0
  272. package/lib/typescript/commonjs/tab-bar/expo-router/index.d.ts.map +1 -0
  273. package/lib/typescript/commonjs/tab-bar/glyph.d.ts +6 -0
  274. package/lib/typescript/commonjs/tab-bar/glyph.d.ts.map +1 -0
  275. package/lib/typescript/commonjs/tab-bar/glyph.native.d.ts +6 -0
  276. package/lib/typescript/commonjs/tab-bar/glyph.native.d.ts.map +1 -0
  277. package/lib/typescript/commonjs/tab-bar/index.d.ts +12 -0
  278. package/lib/typescript/commonjs/tab-bar/index.d.ts.map +1 -0
  279. package/lib/typescript/commonjs/tab-bar/index.web.d.ts +12 -0
  280. package/lib/typescript/commonjs/tab-bar/index.web.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/tab-bar/minimize-context.d.ts +51 -0
  282. package/lib/typescript/commonjs/tab-bar/minimize-context.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/tab-bar/shared.d.ts +93 -0
  284. package/lib/typescript/commonjs/tab-bar/shared.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/tab-bar/surface.d.ts +6 -0
  286. package/lib/typescript/commonjs/tab-bar/surface.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/tab-bar/surface.native.d.ts +6 -0
  288. package/lib/typescript/commonjs/tab-bar/surface.native.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/tab-bar/surface.web.d.ts +6 -0
  290. package/lib/typescript/commonjs/tab-bar/surface.web.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/tab-bar/types.d.ts +85 -0
  292. package/lib/typescript/commonjs/tab-bar/types.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/tabs/Tabs.d.ts.map +1 -1
  294. package/lib/typescript/commonjs/toast/Positioner.d.ts +21 -0
  295. package/lib/typescript/commonjs/toast/Positioner.d.ts.map +1 -0
  296. package/lib/typescript/commonjs/toast/ToastContent.d.ts +14 -0
  297. package/lib/typescript/commonjs/toast/ToastContent.d.ts.map +1 -0
  298. package/lib/typescript/commonjs/toast/ToastHost.d.ts +6 -0
  299. package/lib/typescript/commonjs/toast/ToastHost.d.ts.map +1 -0
  300. package/lib/typescript/commonjs/toast/ToastHost.native.d.ts +6 -0
  301. package/lib/typescript/commonjs/toast/ToastHost.native.d.ts.map +1 -0
  302. package/lib/typescript/commonjs/toast/ToastIcon.d.ts +9 -0
  303. package/lib/typescript/commonjs/toast/ToastIcon.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/toast/ToastRow.d.ts +80 -0
  305. package/lib/typescript/commonjs/toast/ToastRow.d.ts.map +1 -0
  306. package/lib/typescript/commonjs/toast/ToastSwipeHandler.d.ts +30 -0
  307. package/lib/typescript/commonjs/toast/ToastSwipeHandler.d.ts.map +1 -0
  308. package/lib/typescript/commonjs/toast/Toaster.d.ts +19 -0
  309. package/lib/typescript/commonjs/toast/Toaster.d.ts.map +1 -0
  310. package/lib/typescript/commonjs/toast/animations.d.ts +62 -0
  311. package/lib/typescript/commonjs/toast/animations.d.ts.map +1 -0
  312. package/lib/typescript/commonjs/toast/constants.d.ts +39 -0
  313. package/lib/typescript/commonjs/toast/constants.d.ts.map +1 -0
  314. package/lib/typescript/commonjs/toast/context.d.ts +19 -0
  315. package/lib/typescript/commonjs/toast/context.d.ts.map +1 -0
  316. package/lib/typescript/commonjs/toast/index.d.ts +23 -76
  317. package/lib/typescript/commonjs/toast/index.d.ts.map +1 -1
  318. package/lib/typescript/commonjs/toast/position-utils.d.ts +30 -0
  319. package/lib/typescript/commonjs/toast/position-utils.d.ts.map +1 -0
  320. package/lib/typescript/commonjs/toast/positioner-utils.d.ts +72 -0
  321. package/lib/typescript/commonjs/toast/positioner-utils.d.ts.map +1 -0
  322. package/lib/typescript/commonjs/toast/toast-comparator.d.ts +12 -0
  323. package/lib/typescript/commonjs/toast/toast-comparator.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/toast/toast-fns.d.ts +3 -0
  325. package/lib/typescript/commonjs/toast/toast-fns.d.ts.map +1 -0
  326. package/lib/typescript/commonjs/toast/toast-store.d.ts +52 -0
  327. package/lib/typescript/commonjs/toast/toast-store.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/toast/toast-timers.d.ts +24 -0
  329. package/lib/typescript/commonjs/toast/toast-timers.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/toast/types.d.ts +222 -5
  331. package/lib/typescript/commonjs/toast/types.d.ts.map +1 -1
  332. package/lib/typescript/commonjs/toast/use-animated-target.d.ts +7 -0
  333. package/lib/typescript/commonjs/toast/use-animated-target.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/toast/use-app-state.d.ts +18 -0
  335. package/lib/typescript/commonjs/toast/use-app-state.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/toast/use-toast-colors.d.ts +22 -0
  337. package/lib/typescript/commonjs/toast/use-toast-colors.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/toast/use-toast-position.d.ts +37 -0
  339. package/lib/typescript/commonjs/toast/use-toast-position.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/tooltip/index.web.d.ts.map +1 -1
  341. package/lib/typescript/commonjs/zoomable-image-gallery/ZoomableImageGallery.d.ts.map +1 -1
  342. package/lib/typescript/module/avatar-group/AvatarGroup.web.d.ts.map +1 -1
  343. package/lib/typescript/module/bottom-sheet/index.web.d.ts.map +1 -1
  344. package/lib/typescript/module/context-menu/index.web.d.ts.map +1 -1
  345. package/lib/typescript/module/dialog/Dialog.d.ts.map +1 -1
  346. package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
  347. package/lib/typescript/module/dialog/DialogHeader.d.ts.map +1 -1
  348. package/lib/typescript/module/index.d.ts +2 -1
  349. package/lib/typescript/module/index.d.ts.map +1 -1
  350. package/lib/typescript/module/index.web.d.ts +2 -1
  351. package/lib/typescript/module/index.web.d.ts.map +1 -1
  352. package/lib/typescript/module/menu/index.web.d.ts.map +1 -1
  353. package/lib/typescript/module/popover/index.web.d.ts.map +1 -1
  354. package/lib/typescript/module/portal/index.d.ts.map +1 -1
  355. package/lib/typescript/module/progressive-blur/index.d.ts +23 -0
  356. package/lib/typescript/module/progressive-blur/index.d.ts.map +1 -0
  357. package/lib/typescript/module/progressive-blur/index.web.d.ts +30 -0
  358. package/lib/typescript/module/progressive-blur/index.web.d.ts.map +1 -0
  359. package/lib/typescript/module/progressive-blur/shared.d.ts +35 -0
  360. package/lib/typescript/module/progressive-blur/shared.d.ts.map +1 -0
  361. package/lib/typescript/module/progressive-blur/types.d.ts +21 -0
  362. package/lib/typescript/module/progressive-blur/types.d.ts.map +1 -0
  363. package/lib/typescript/module/select/index.web.d.ts.map +1 -1
  364. package/lib/typescript/module/slider/Slider.d.ts.map +1 -1
  365. package/lib/typescript/module/styles/web-view-style.d.ts +21 -0
  366. package/lib/typescript/module/styles/web-view-style.d.ts.map +1 -0
  367. package/lib/typescript/module/switch/Switch.d.ts.map +1 -1
  368. package/lib/typescript/module/tab-bar/TabBarBase.d.ts +36 -0
  369. package/lib/typescript/module/tab-bar/TabBarBase.d.ts.map +1 -0
  370. package/lib/typescript/module/tab-bar/expo-router/RouterTabBar.d.ts +59 -0
  371. package/lib/typescript/module/tab-bar/expo-router/RouterTabBar.d.ts.map +1 -0
  372. package/lib/typescript/module/tab-bar/expo-router/fading-tab-screen.d.ts +11 -0
  373. package/lib/typescript/module/tab-bar/expo-router/fading-tab-screen.d.ts.map +1 -0
  374. package/lib/typescript/module/tab-bar/expo-router/index.d.ts +14 -0
  375. package/lib/typescript/module/tab-bar/expo-router/index.d.ts.map +1 -0
  376. package/lib/typescript/module/tab-bar/glyph.d.ts +6 -0
  377. package/lib/typescript/module/tab-bar/glyph.d.ts.map +1 -0
  378. package/lib/typescript/module/tab-bar/glyph.native.d.ts +6 -0
  379. package/lib/typescript/module/tab-bar/glyph.native.d.ts.map +1 -0
  380. package/lib/typescript/module/tab-bar/index.d.ts +12 -0
  381. package/lib/typescript/module/tab-bar/index.d.ts.map +1 -0
  382. package/lib/typescript/module/tab-bar/index.web.d.ts +12 -0
  383. package/lib/typescript/module/tab-bar/index.web.d.ts.map +1 -0
  384. package/lib/typescript/module/tab-bar/minimize-context.d.ts +51 -0
  385. package/lib/typescript/module/tab-bar/minimize-context.d.ts.map +1 -0
  386. package/lib/typescript/module/tab-bar/shared.d.ts +93 -0
  387. package/lib/typescript/module/tab-bar/shared.d.ts.map +1 -0
  388. package/lib/typescript/module/tab-bar/surface.d.ts +6 -0
  389. package/lib/typescript/module/tab-bar/surface.d.ts.map +1 -0
  390. package/lib/typescript/module/tab-bar/surface.native.d.ts +6 -0
  391. package/lib/typescript/module/tab-bar/surface.native.d.ts.map +1 -0
  392. package/lib/typescript/module/tab-bar/surface.web.d.ts +6 -0
  393. package/lib/typescript/module/tab-bar/surface.web.d.ts.map +1 -0
  394. package/lib/typescript/module/tab-bar/types.d.ts +85 -0
  395. package/lib/typescript/module/tab-bar/types.d.ts.map +1 -0
  396. package/lib/typescript/module/tabs/Tabs.d.ts.map +1 -1
  397. package/lib/typescript/module/toast/Positioner.d.ts +21 -0
  398. package/lib/typescript/module/toast/Positioner.d.ts.map +1 -0
  399. package/lib/typescript/module/toast/ToastContent.d.ts +14 -0
  400. package/lib/typescript/module/toast/ToastContent.d.ts.map +1 -0
  401. package/lib/typescript/module/toast/ToastHost.d.ts +6 -0
  402. package/lib/typescript/module/toast/ToastHost.d.ts.map +1 -0
  403. package/lib/typescript/module/toast/ToastHost.native.d.ts +6 -0
  404. package/lib/typescript/module/toast/ToastHost.native.d.ts.map +1 -0
  405. package/lib/typescript/module/toast/ToastIcon.d.ts +9 -0
  406. package/lib/typescript/module/toast/ToastIcon.d.ts.map +1 -0
  407. package/lib/typescript/module/toast/ToastRow.d.ts +80 -0
  408. package/lib/typescript/module/toast/ToastRow.d.ts.map +1 -0
  409. package/lib/typescript/module/toast/ToastSwipeHandler.d.ts +30 -0
  410. package/lib/typescript/module/toast/ToastSwipeHandler.d.ts.map +1 -0
  411. package/lib/typescript/module/toast/Toaster.d.ts +19 -0
  412. package/lib/typescript/module/toast/Toaster.d.ts.map +1 -0
  413. package/lib/typescript/module/toast/animations.d.ts +62 -0
  414. package/lib/typescript/module/toast/animations.d.ts.map +1 -0
  415. package/lib/typescript/module/toast/constants.d.ts +39 -0
  416. package/lib/typescript/module/toast/constants.d.ts.map +1 -0
  417. package/lib/typescript/module/toast/context.d.ts +19 -0
  418. package/lib/typescript/module/toast/context.d.ts.map +1 -0
  419. package/lib/typescript/module/toast/index.d.ts +23 -76
  420. package/lib/typescript/module/toast/index.d.ts.map +1 -1
  421. package/lib/typescript/module/toast/position-utils.d.ts +30 -0
  422. package/lib/typescript/module/toast/position-utils.d.ts.map +1 -0
  423. package/lib/typescript/module/toast/positioner-utils.d.ts +72 -0
  424. package/lib/typescript/module/toast/positioner-utils.d.ts.map +1 -0
  425. package/lib/typescript/module/toast/toast-comparator.d.ts +12 -0
  426. package/lib/typescript/module/toast/toast-comparator.d.ts.map +1 -0
  427. package/lib/typescript/module/toast/toast-fns.d.ts +3 -0
  428. package/lib/typescript/module/toast/toast-fns.d.ts.map +1 -0
  429. package/lib/typescript/module/toast/toast-store.d.ts +52 -0
  430. package/lib/typescript/module/toast/toast-store.d.ts.map +1 -0
  431. package/lib/typescript/module/toast/toast-timers.d.ts +24 -0
  432. package/lib/typescript/module/toast/toast-timers.d.ts.map +1 -0
  433. package/lib/typescript/module/toast/types.d.ts +222 -5
  434. package/lib/typescript/module/toast/types.d.ts.map +1 -1
  435. package/lib/typescript/module/toast/use-animated-target.d.ts +7 -0
  436. package/lib/typescript/module/toast/use-animated-target.d.ts.map +1 -0
  437. package/lib/typescript/module/toast/use-app-state.d.ts +18 -0
  438. package/lib/typescript/module/toast/use-app-state.d.ts.map +1 -0
  439. package/lib/typescript/module/toast/use-toast-colors.d.ts +22 -0
  440. package/lib/typescript/module/toast/use-toast-colors.d.ts.map +1 -0
  441. package/lib/typescript/module/toast/use-toast-position.d.ts +37 -0
  442. package/lib/typescript/module/toast/use-toast-position.d.ts.map +1 -0
  443. package/lib/typescript/module/tooltip/index.web.d.ts.map +1 -1
  444. package/lib/typescript/module/zoomable-image-gallery/ZoomableImageGallery.d.ts.map +1 -1
  445. package/package.json +63 -25
  446. package/src/__tests__/TabBar.test.tsx +342 -0
  447. package/src/__tests__/TabBarReanimatedDeps.test.ts +130 -0
  448. package/src/__tests__/TabBarWebFork.test.ts +197 -0
  449. package/src/__tests__/ToastContent.test.tsx +192 -0
  450. package/src/__tests__/ToastHostWebFork.test.ts +155 -0
  451. package/src/__tests__/Toaster.test.tsx +527 -0
  452. package/src/__tests__/animated-style-deps.test.ts +156 -0
  453. package/src/__tests__/toast-animations.test.ts +98 -0
  454. package/src/__tests__/toast-comparator.test.ts +131 -0
  455. package/src/__tests__/toast-enter-driver.test.ts +147 -0
  456. package/src/__tests__/toast-fns.test.ts +240 -0
  457. package/src/__tests__/toast-position-utils.test.ts +259 -0
  458. package/src/__tests__/toast-positioner-utils.test.ts +214 -0
  459. package/src/__tests__/toast-store.test.ts +622 -0
  460. package/src/__tests__/toast-timers.test.ts +163 -0
  461. package/src/__tests__/use-animated-target.test.tsx +60 -0
  462. package/src/__tests__/use-app-state.test.tsx +127 -0
  463. package/src/__tests__/use-toast-colors.test.tsx +189 -0
  464. package/src/__tests__/web-position-fixed.test.ts +70 -0
  465. package/src/avatar-group/AvatarGroup.web.tsx +2 -1
  466. package/src/bottom-sheet/index.web.tsx +4 -3
  467. package/src/context-menu/index.web.tsx +6 -6
  468. package/src/dialog/Dialog.tsx +7 -4
  469. package/src/dialog/Dialog.web.tsx +14 -14
  470. package/src/dialog/DialogHeader.tsx +72 -17
  471. package/src/index.ts +4 -1
  472. package/src/index.web.ts +4 -1
  473. package/src/menu/index.web.tsx +5 -5
  474. package/src/popover/index.web.tsx +8 -6
  475. package/src/portal/index.tsx +4 -1
  476. package/src/progressive-blur/index.tsx +78 -0
  477. package/src/progressive-blur/index.web.tsx +65 -0
  478. package/src/progressive-blur/shared.ts +81 -0
  479. package/src/progressive-blur/types.ts +21 -0
  480. package/src/select/index.web.tsx +5 -5
  481. package/src/slider/Slider.tsx +3 -5
  482. package/src/styles/web-view-style.ts +21 -0
  483. package/src/switch/Switch.tsx +4 -5
  484. package/src/tab-bar/TabBar.stories.tsx +217 -0
  485. package/src/tab-bar/TabBarBase.tsx +517 -0
  486. package/src/tab-bar/expo-router/RouterTabBar.tsx +80 -0
  487. package/src/tab-bar/expo-router/fading-tab-screen.tsx +109 -0
  488. package/src/tab-bar/expo-router/index.ts +13 -0
  489. package/src/tab-bar/glyph.native.tsx +46 -0
  490. package/src/tab-bar/glyph.tsx +31 -0
  491. package/src/tab-bar/index.ts +32 -0
  492. package/src/tab-bar/index.web.tsx +34 -0
  493. package/src/tab-bar/minimize-context.tsx +117 -0
  494. package/src/tab-bar/shared.ts +159 -0
  495. package/src/tab-bar/surface.native.tsx +60 -0
  496. package/src/tab-bar/surface.tsx +47 -0
  497. package/src/tab-bar/surface.web.tsx +56 -0
  498. package/src/tab-bar/types.ts +88 -0
  499. package/src/tabs/Tabs.tsx +3 -5
  500. package/src/toast/Positioner.tsx +121 -0
  501. package/src/toast/Toast.stories.tsx +292 -65
  502. package/src/toast/ToastContent.tsx +405 -0
  503. package/src/toast/ToastHost.native.tsx +31 -0
  504. package/src/toast/ToastHost.tsx +67 -0
  505. package/src/toast/ToastIcon.tsx +55 -0
  506. package/src/toast/ToastRow.tsx +485 -0
  507. package/src/toast/ToastSwipeHandler.tsx +222 -0
  508. package/src/toast/Toaster.tsx +259 -0
  509. package/src/toast/animations.ts +313 -0
  510. package/src/toast/constants.ts +76 -0
  511. package/src/toast/context.tsx +44 -0
  512. package/src/toast/index.tsx +47 -123
  513. package/src/toast/position-utils.ts +149 -0
  514. package/src/toast/positioner-utils.ts +142 -0
  515. package/src/toast/toast-comparator.ts +41 -0
  516. package/src/toast/toast-fns.ts +104 -0
  517. package/src/toast/toast-store.ts +432 -0
  518. package/src/toast/toast-timers.ts +124 -0
  519. package/src/toast/types.ts +301 -5
  520. package/src/toast/use-animated-target.ts +61 -0
  521. package/src/toast/use-app-state.ts +77 -0
  522. package/src/toast/use-toast-colors.ts +133 -0
  523. package/src/toast/use-toast-position.ts +46 -0
  524. package/src/tooltip/index.web.tsx +2 -1
  525. package/src/zoomable-image-gallery/ZoomableImageGallery.stories.tsx +134 -0
  526. package/src/zoomable-image-gallery/ZoomableImageGallery.tsx +50 -27
  527. package/lib/commonjs/toast/Toast.js +0 -272
  528. package/lib/commonjs/toast/Toast.js.map +0 -1
  529. package/lib/commonjs/toast/const.js +0 -8
  530. package/lib/commonjs/toast/const.js.map +0 -1
  531. package/lib/commonjs/toast/index.web.js +0 -114
  532. package/lib/commonjs/toast/index.web.js.map +0 -1
  533. package/lib/commonjs/toast/sonner/index.js +0 -9
  534. package/lib/commonjs/toast/sonner/index.js.map +0 -1
  535. package/lib/commonjs/toast/sonner/index.web.js +0 -9
  536. package/lib/commonjs/toast/sonner/index.web.js.map +0 -1
  537. package/lib/module/toast/Toast.js +0 -263
  538. package/lib/module/toast/Toast.js.map +0 -1
  539. package/lib/module/toast/const.js +0 -4
  540. package/lib/module/toast/const.js.map +0 -1
  541. package/lib/module/toast/index.web.js +0 -74
  542. package/lib/module/toast/index.web.js.map +0 -1
  543. package/lib/module/toast/sonner/index.js +0 -5
  544. package/lib/module/toast/sonner/index.js.map +0 -1
  545. package/lib/module/toast/sonner/index.web.js +0 -5
  546. package/lib/module/toast/sonner/index.web.js.map +0 -1
  547. package/lib/typescript/commonjs/toast/Toast.d.ts +0 -23
  548. package/lib/typescript/commonjs/toast/Toast.d.ts.map +0 -1
  549. package/lib/typescript/commonjs/toast/const.d.ts +0 -2
  550. package/lib/typescript/commonjs/toast/const.d.ts.map +0 -1
  551. package/lib/typescript/commonjs/toast/index.web.d.ts +0 -29
  552. package/lib/typescript/commonjs/toast/index.web.d.ts.map +0 -1
  553. package/lib/typescript/commonjs/toast/sonner/index.d.ts +0 -2
  554. package/lib/typescript/commonjs/toast/sonner/index.d.ts.map +0 -1
  555. package/lib/typescript/commonjs/toast/sonner/index.web.d.ts +0 -2
  556. package/lib/typescript/commonjs/toast/sonner/index.web.d.ts.map +0 -1
  557. package/lib/typescript/module/toast/Toast.d.ts +0 -23
  558. package/lib/typescript/module/toast/Toast.d.ts.map +0 -1
  559. package/lib/typescript/module/toast/const.d.ts +0 -2
  560. package/lib/typescript/module/toast/const.d.ts.map +0 -1
  561. package/lib/typescript/module/toast/index.web.d.ts +0 -29
  562. package/lib/typescript/module/toast/index.web.d.ts.map +0 -1
  563. package/lib/typescript/module/toast/sonner/index.d.ts +0 -2
  564. package/lib/typescript/module/toast/sonner/index.d.ts.map +0 -1
  565. package/lib/typescript/module/toast/sonner/index.web.d.ts +0 -2
  566. package/lib/typescript/module/toast/sonner/index.web.d.ts.map +0 -1
  567. package/src/toast/Toast.tsx +0 -271
  568. package/src/toast/const.ts +0 -1
  569. package/src/toast/index.web.tsx +0 -101
  570. package/src/toast/sonner/index.ts +0 -3
  571. package/src/toast/sonner/index.web.ts +0 -3
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * NEUTRAL default variant of a tab glyph: renders the item's own `icon` node,
8
+ * tinted for this crossfade layer.
9
+ *
10
+ * `item.icon` is the primary icon API for the whole family — a Bloom icon
11
+ * element, exactly like `TabsTrigger` and `FrostedIconButton` take. `sfSymbol`
12
+ * is an iOS-only enhancement and is deliberately ignored here: this file is
13
+ * resolved by web bundlers and by a consumer's `tsc`, where a static
14
+ * `expo-symbols` import would break resolution. See `glyph.native.tsx` for the
15
+ * variant that consumes it. Both implement `TabBarGlyphProps` exactly.
16
+ */
17
+ import { View } from 'react-native';
18
+ import { applyIconColor } from "../frosted-icon-button/shared.js";
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ export function TabBarGlyph({
21
+ item,
22
+ tint,
23
+ size
24
+ }) {
25
+ // The tint is injected as the icon's `fill` FALLBACK — an icon that sets its
26
+ // own `fill` (a brand mark, say) keeps it, so the crossfade layers simply
27
+ // render it twice at full opacity and it never flickers.
28
+ return /*#__PURE__*/_jsx(View, {
29
+ style: {
30
+ height: size,
31
+ alignItems: 'center',
32
+ justifyContent: 'center'
33
+ },
34
+ children: applyIconColor(item.icon, tint)
35
+ });
36
+ }
37
+ TabBarGlyph.displayName = 'TabBarGlyph';
38
+ //# sourceMappingURL=glyph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","applyIconColor","jsx","_jsx","TabBarGlyph","item","tint","size","style","height","alignItems","justifyContent","children","icon","displayName"],"sourceRoot":"../../../src","sources":["tab-bar/glyph.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,cAAc,QAAQ,kCAA+B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG/D,OAAO,SAASC,WAAWA,CAAC;EAAEC,IAAI;EAAEC,IAAI;EAAEC;AAAuB,CAAC,EAAE;EAClE;EACA;EACA;EACA,oBACEJ,IAAA,CAACH,IAAI;IAACQ,KAAK,EAAE;MAAEC,MAAM,EAAEF,IAAI;MAAEG,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IAAAC,QAAA,EAC3EX,cAAc,CAACI,IAAI,CAACQ,IAAI,EAAEP,IAAI;EAAC,CAC5B,CAAC;AAEX;AAEAF,WAAW,CAACU,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * NATIVE variant of a tab glyph. Identical to the neutral variant except that
8
+ * an item carrying an `sfSymbol` renders as a real SF Symbol on iOS: the system
9
+ * glyph set, weight-matched to the platform and tinted natively.
10
+ *
11
+ * `expo-symbols` is imported STATICALLY and only here — Metro selects `.native`
12
+ * on iOS/Android, so it never reaches a web bundle or a consumer's type-check
13
+ * (see the neutral `glyph.tsx` sibling). Android has no SF Symbols, so it falls
14
+ * through to the item's own icon node, which every item provides.
15
+ */
16
+ import { SymbolView } from 'expo-symbols';
17
+ import { Platform, View } from 'react-native';
18
+ import { applyIconColor } from "../frosted-icon-button/shared.js";
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ export function TabBarGlyph({
21
+ item,
22
+ tint,
23
+ size
24
+ }) {
25
+ if (item.sfSymbol && Platform.OS === 'ios') {
26
+ // `TabBarItem.sfSymbol` is a plain `string` because `types.ts` may import
27
+ // from react/react-native only — pulling `expo-symbols`' `SFSymbol` union
28
+ // into the public type would drag a native-only package into every web
29
+ // bundle and every consumer's type-check. The narrowing happens here, at
30
+ // the single boundary where the symbol reaches the native view; an unknown
31
+ // name renders nothing rather than crashing, which is why no runtime
32
+ // validation is warranted.
33
+ return /*#__PURE__*/_jsx(SymbolView, {
34
+ name: item.sfSymbol,
35
+ tintColor: tint,
36
+ size: size,
37
+ weight: "semibold"
38
+ });
39
+ }
40
+ return /*#__PURE__*/_jsx(View, {
41
+ style: {
42
+ height: size,
43
+ alignItems: 'center',
44
+ justifyContent: 'center'
45
+ },
46
+ children: applyIconColor(item.icon, tint)
47
+ });
48
+ }
49
+ TabBarGlyph.displayName = 'TabBarGlyph';
50
+ //# sourceMappingURL=glyph.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SymbolView","Platform","View","applyIconColor","jsx","_jsx","TabBarGlyph","item","tint","size","sfSymbol","OS","name","tintColor","weight","style","height","alignItems","justifyContent","children","icon","displayName"],"sourceRoot":"../../../src","sources":["tab-bar/glyph.native.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,QAAuB,cAAc;AACxD,SAASC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAE7C,SAASC,cAAc,QAAQ,kCAA+B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG/D,OAAO,SAASC,WAAWA,CAAC;EAAEC,IAAI;EAAEC,IAAI;EAAEC;AAAuB,CAAC,EAAE;EAClE,IAAIF,IAAI,CAACG,QAAQ,IAAIT,QAAQ,CAACU,EAAE,KAAK,KAAK,EAAE;IAC1C;IACA;IACA;IACA;IACA;IACA;IACA;IACA,oBACEN,IAAA,CAACL,UAAU;MACTY,IAAI,EAAEL,IAAI,CAACG,QAAqB;MAChCG,SAAS,EAAEL,IAAK;MAChBC,IAAI,EAAEA,IAAK;MACXK,MAAM,EAAC;IAAU,CAClB,CAAC;EAEN;EAEA,oBACET,IAAA,CAACH,IAAI;IAACa,KAAK,EAAE;MAAEC,MAAM,EAAEP,IAAI;MAAEQ,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IAAAC,QAAA,EAC3EhB,cAAc,CAACI,IAAI,CAACa,IAAI,EAAEZ,IAAI;EAAC,CAC5B,CAAC;AAEX;AAEAF,WAAW,CAACe,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/index.ts
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * DEFAULT entry for `@oxyhq/bloom/tab-bar`.
8
+ *
9
+ * The platform pieces are imported by their BARE relative name so Metro's
10
+ * platform-extension resolution picks `surface.native.tsx` / `glyph.native.tsx`
11
+ * on iOS and Android, and every other resolver falls back to the neutral
12
+ * `surface.tsx` / `glyph.tsx`. Both neutral files, and everything else this
13
+ * module reaches, are free of native-only imports, so a consumer's `tsc` and a
14
+ * non-Metro bundler resolve this entry cleanly. Web bundlers select
15
+ * `index.web.tsx` instead, through the package's `browser` export condition.
16
+ */
17
+ import { ProgressiveBlur } from '../progressive-blur';
18
+ import { createTabBar, createTabBarButton } from "./TabBarBase.js";
19
+ import { TabBarGlyph } from './glyph';
20
+ import { TabBarSurface } from './surface';
21
+ export const TabBar = createTabBar(TabBarSurface, ProgressiveBlur);
22
+ export const TabBarButton = createTabBarButton(TabBarGlyph);
23
+ export { MINIMIZE_SPRING, setMinimized, TabBarMinimizeProvider, useMinimizeOnScroll, useMinimizeState, useTabBarMinimized } from "./minimize-context.js";
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ProgressiveBlur","createTabBar","createTabBarButton","TabBarGlyph","TabBarSurface","TabBar","TabBarButton","MINIMIZE_SPRING","setMinimized","TabBarMinimizeProvider","useMinimizeOnScroll","useMinimizeState","useTabBarMinimized"],"sourceRoot":"../../../src","sources":["tab-bar/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,eAAe,QAAQ,qBAAqB;AACrD,SAASC,YAAY,EAAEC,kBAAkB,QAAQ,iBAAc;AAC/D,SAASC,WAAW,QAAQ,SAAS;AACrC,SAASC,aAAa,QAAQ,WAAW;AAEzC,OAAO,MAAMC,MAAM,GAAGJ,YAAY,CAACG,aAAa,EAAEJ,eAAe,CAAC;AAClE,OAAO,MAAMM,YAAY,GAAGJ,kBAAkB,CAACC,WAAW,CAAC;AAE3D,SACEI,eAAe,EACfC,YAAY,EACZC,sBAAsB,EACtBC,mBAAmB,EACnBC,gBAAgB,EAChBC,kBAAkB,QACb,uBAAoB","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/index.ts
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * WEB entry for `@oxyhq/bloom/tab-bar`, selected through the package's
8
+ * `browser` export condition.
9
+ *
10
+ * The web modules are imported by their FULL `.web` name on purpose. Inside the
11
+ * published `lib/` every file is plain `.js` (`surface.js` next to
12
+ * `surface.web.js`), and no web bundler resolves a bare `./surface` to the
13
+ * `.web` sibling by extension — only Metro does that. Writing the fork path
14
+ * explicitly is the same thing the generated root barrel does
15
+ * (`src/index.web.ts` → `from './dialog/index.web'`). `./glyph` has no web fork:
16
+ * the neutral file already renders `item.icon`, which is the correct web
17
+ * behaviour, and it is what any resolver lands on here.
18
+ */
19
+ import { ProgressiveBlur } from "../progressive-blur/index.web.js";
20
+ import { createTabBar, createTabBarButton } from "./TabBarBase.js";
21
+ import { TabBarGlyph } from './glyph';
22
+ import { TabBarSurface } from "./surface.web.js";
23
+ export const TabBar = createTabBar(TabBarSurface, ProgressiveBlur);
24
+ export const TabBarButton = createTabBarButton(TabBarGlyph);
25
+ export { MINIMIZE_SPRING, setMinimized, TabBarMinimizeProvider, useMinimizeOnScroll, useMinimizeState, useTabBarMinimized } from "./minimize-context.js";
26
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ProgressiveBlur","createTabBar","createTabBarButton","TabBarGlyph","TabBarSurface","TabBar","TabBarButton","MINIMIZE_SPRING","setMinimized","TabBarMinimizeProvider","useMinimizeOnScroll","useMinimizeState","useTabBarMinimized"],"sourceRoot":"../../../src","sources":["tab-bar/index.web.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,eAAe,QAAQ,kCAA+B;AAC/D,SAASC,YAAY,EAAEC,kBAAkB,QAAQ,iBAAc;AAC/D,SAASC,WAAW,QAAQ,SAAS;AACrC,SAASC,aAAa,QAAQ,kBAAe;AAE7C,OAAO,MAAMC,MAAM,GAAGJ,YAAY,CAACG,aAAa,EAAEJ,eAAe,CAAC;AAClE,OAAO,MAAMM,YAAY,GAAGJ,kBAAkB,CAACC,WAAW,CAAC;AAE3D,SACEI,eAAe,EACfC,YAAY,EACZC,sBAAsB,EACtBC,mBAAmB,EACnBC,gBAAgB,EAChBC,kBAAkB,QACb,uBAAoB","ignoreList":[]}
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/minimize-context.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * The shared 0..1 "minimize" progress the tab bar interpolates on, plus the
8
+ * scroll handler that drives it. Reanimated only — no platform imports.
9
+ */
10
+ import { createContext, useContext, useMemo } from 'react';
11
+ import { useAnimatedScrollHandler, useSharedValue, withSpring } from 'react-native-reanimated';
12
+
13
+ /**
14
+ * Spring, not timing: scroll direction flips mid-animation constantly, and a
15
+ * spring retargets while preserving velocity — a timing curve would restart
16
+ * from zero and feel mechanical. Critically damped (ratio 1): no overshoot and
17
+ * no long settling tail, which matters because the bar animates layout.
18
+ */
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ export const MINIMIZE_SPRING = {
21
+ duration: 380,
22
+ dampingRatio: 1
23
+ };
24
+
25
+ /** Scroll offset below which the bar is always expanded (px). */
26
+ const TOP_ZONE = 24;
27
+ /** Per-event scroll delta that counts as a deliberate direction change (px). */
28
+ const DIRECTION_THRESHOLD = 3;
29
+ const MinimizeContext = /*#__PURE__*/createContext(null);
30
+
31
+ /**
32
+ * Wrap the tab tree once. Screens then call `useMinimizeOnScroll()` and the bar
33
+ * reads the same progress, so scrolling any screen minimizes the bar.
34
+ */
35
+ export function TabBarMinimizeProvider({
36
+ children
37
+ }) {
38
+ const progress = useSharedValue(0);
39
+ const target = useSharedValue(0);
40
+ const state = useMemo(() => ({
41
+ progress,
42
+ target
43
+ }), [progress, target]);
44
+ return /*#__PURE__*/_jsx(MinimizeContext.Provider, {
45
+ value: state,
46
+ children: children
47
+ });
48
+ }
49
+ TabBarMinimizeProvider.displayName = 'TabBarMinimizeProvider';
50
+
51
+ /** Full minimize state — used by the bar, the buttons and the scroll hook. */
52
+ export function useMinimizeState() {
53
+ const shared = useContext(MinimizeContext);
54
+ // Local fallback keeps screens working when rendered outside the provider
55
+ // (e.g. a web tab layout with no floating bar). Hooks run unconditionally so
56
+ // the order is stable whether or not a provider is present.
57
+ const progress = useSharedValue(0);
58
+ const target = useSharedValue(0);
59
+ const local = useMemo(() => ({
60
+ progress,
61
+ target
62
+ }), [progress, target]);
63
+ return shared ?? local;
64
+ }
65
+
66
+ /** The animated 0..1 minimize progress (what styles interpolate on). */
67
+ export function useTabBarMinimized() {
68
+ return useMinimizeState().progress;
69
+ }
70
+
71
+ /**
72
+ * Retarget the minimize spring — no-op when already heading to `next`, so
73
+ * per-frame scroll events never restart (and visibly stutter) the animation.
74
+ * Callable from both threads.
75
+ */
76
+ export function setMinimized(state, next) {
77
+ 'worklet';
78
+
79
+ if (state.target.value !== next) {
80
+ state.target.value = next;
81
+ state.progress.value = withSpring(next, MINIMIZE_SPRING);
82
+ }
83
+ }
84
+
85
+ /**
86
+ * Scroll handler for `Animated.ScrollView`. Scrolling down minimizes the tab
87
+ * bar, scrolling up (or being near the top) expands it. Offsets are clamped to
88
+ * the scrollable range so rubber-band overscroll can't flip the direction for a
89
+ * frame and flicker the bar.
90
+ */
91
+ export function useMinimizeOnScroll() {
92
+ const state = useMinimizeState();
93
+ const previousY = useSharedValue(0);
94
+
95
+ // CRITICAL — `state` and `previousY` must stay in the dependency array. On
96
+ // web WITHOUT the react-native-worklets babel plugin (the production reality
97
+ // for every Oxy RN-Web app) reanimated cannot auto-detect what a worklet
98
+ // reads, so it drives the handler off its deps instead; an omitted or empty
99
+ // array binds the handler once against the first render's values. Native
100
+ // (plugin present) auto-tracks and ignores the extra deps, so listing them is
101
+ // correct on both platforms. Same rule as every mapper in `TabBarBase`.
102
+ return useAnimatedScrollHandler({
103
+ onScroll: event => {
104
+ const maxY = Math.max(event.contentSize.height - event.layoutMeasurement.height, 0);
105
+ const y = Math.min(Math.max(event.contentOffset.y, 0), maxY);
106
+ const dy = y - previousY.value;
107
+ previousY.value = y;
108
+ if (y < TOP_ZONE) {
109
+ setMinimized(state, 0);
110
+ } else if (dy > DIRECTION_THRESHOLD) {
111
+ setMinimized(state, 1);
112
+ } else if (dy < -DIRECTION_THRESHOLD) {
113
+ setMinimized(state, 0);
114
+ }
115
+ }
116
+ }, [state, previousY]);
117
+ }
118
+ //# sourceMappingURL=minimize-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","useMemo","useAnimatedScrollHandler","useSharedValue","withSpring","jsx","_jsx","MINIMIZE_SPRING","duration","dampingRatio","TOP_ZONE","DIRECTION_THRESHOLD","MinimizeContext","TabBarMinimizeProvider","children","progress","target","state","Provider","value","displayName","useMinimizeState","shared","local","useTabBarMinimized","setMinimized","next","useMinimizeOnScroll","previousY","onScroll","event","maxY","Math","max","contentSize","height","layoutMeasurement","y","min","contentOffset","dy"],"sourceRoot":"../../../src","sources":["tab-bar/minimize-context.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAgC,OAAO;AAClF,SACEC,wBAAwB,EACxBC,cAAc,EACdC,UAAU,QAEL,yBAAyB;;AAEhC;AACA;AACA;AACA;AACA;AACA;AALA,SAAAC,GAAA,IAAAC,IAAA;AAMA,OAAO,MAAMC,eAAe,GAAG;EAAEC,QAAQ,EAAE,GAAG;EAAEC,YAAY,EAAE;AAAE,CAAC;;AAEjE;AACA,MAAMC,QAAQ,GAAG,EAAE;AACnB;AACA,MAAMC,mBAAmB,GAAG,CAAC;AAS7B,MAAMC,eAAe,gBAAGb,aAAa,CAAuB,IAAI,CAAC;;AAEjE;AACA;AACA;AACA;AACA,OAAO,SAASc,sBAAsBA,CAAC;EAAEC;AAA4B,CAAC,EAAE;EACtE,MAAMC,QAAQ,GAAGZ,cAAc,CAAC,CAAC,CAAC;EAClC,MAAMa,MAAM,GAAGb,cAAc,CAAC,CAAC,CAAC;EAChC,MAAMc,KAAK,GAAGhB,OAAO,CAAC,OAAO;IAAEc,QAAQ;IAAEC;EAAO,CAAC,CAAC,EAAE,CAACD,QAAQ,EAAEC,MAAM,CAAC,CAAC;EACvE,oBAAOV,IAAA,CAACM,eAAe,CAACM,QAAQ;IAACC,KAAK,EAAEF,KAAM;IAAAH,QAAA,EAAEA;EAAQ,CAA2B,CAAC;AACtF;AAEAD,sBAAsB,CAACO,WAAW,GAAG,wBAAwB;;AAE7D;AACA,OAAO,SAASC,gBAAgBA,CAAA,EAAkB;EAChD,MAAMC,MAAM,GAAGtB,UAAU,CAACY,eAAe,CAAC;EAC1C;EACA;EACA;EACA,MAAMG,QAAQ,GAAGZ,cAAc,CAAC,CAAC,CAAC;EAClC,MAAMa,MAAM,GAAGb,cAAc,CAAC,CAAC,CAAC;EAChC,MAAMoB,KAAK,GAAGtB,OAAO,CAAC,OAAO;IAAEc,QAAQ;IAAEC;EAAO,CAAC,CAAC,EAAE,CAACD,QAAQ,EAAEC,MAAM,CAAC,CAAC;EACvE,OAAOM,MAAM,IAAIC,KAAK;AACxB;;AAEA;AACA,OAAO,SAASC,kBAAkBA,CAAA,EAAwB;EACxD,OAAOH,gBAAgB,CAAC,CAAC,CAACN,QAAQ;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASU,YAAYA,CAACR,KAAoB,EAAES,IAAW,EAAE;EAC9D,SAAS;;EACT,IAAIT,KAAK,CAACD,MAAM,CAACG,KAAK,KAAKO,IAAI,EAAE;IAC/BT,KAAK,CAACD,MAAM,CAACG,KAAK,GAAGO,IAAI;IACzBT,KAAK,CAACF,QAAQ,CAACI,KAAK,GAAGf,UAAU,CAACsB,IAAI,EAAEnB,eAAe,CAAC;EAC1D;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASoB,mBAAmBA,CAAA,EAAG;EACpC,MAAMV,KAAK,GAAGI,gBAAgB,CAAC,CAAC;EAChC,MAAMO,SAAS,GAAGzB,cAAc,CAAC,CAAC,CAAC;;EAEnC;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAOD,wBAAwB,CAC7B;IACE2B,QAAQ,EAAGC,KAAK,IAAK;MACnB,MAAMC,IAAI,GAAGC,IAAI,CAACC,GAAG,CAACH,KAAK,CAACI,WAAW,CAACC,MAAM,GAAGL,KAAK,CAACM,iBAAiB,CAACD,MAAM,EAAE,CAAC,CAAC;MACnF,MAAME,CAAC,GAAGL,IAAI,CAACM,GAAG,CAACN,IAAI,CAACC,GAAG,CAACH,KAAK,CAACS,aAAa,CAACF,CAAC,EAAE,CAAC,CAAC,EAAEN,IAAI,CAAC;MAC5D,MAAMS,EAAE,GAAGH,CAAC,GAAGT,SAAS,CAACT,KAAK;MAC9BS,SAAS,CAACT,KAAK,GAAGkB,CAAC;MAEnB,IAAIA,CAAC,GAAG3B,QAAQ,EAAE;QAChBe,YAAY,CAACR,KAAK,EAAE,CAAC,CAAC;MACxB,CAAC,MAAM,IAAIuB,EAAE,GAAG7B,mBAAmB,EAAE;QACnCc,YAAY,CAACR,KAAK,EAAE,CAAC,CAAC;MACxB,CAAC,MAAM,IAAIuB,EAAE,GAAG,CAAC7B,mBAAmB,EAAE;QACpCc,YAAY,CAACR,KAAK,EAAE,CAAC,CAAC;MACxB;IACF;EACF,CAAC,EACD,CAACA,KAAK,EAAEW,SAAS,CACnB,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * Geometry, motion constants, theme resolution and the contracts for the two
8
+ * injected platform components. Everything here is platform-neutral — no
9
+ * expo-glass-effect, expo-symbols, expo-router or react-native-screens — because
10
+ * this module is pulled into the native bundle, the web bundle and a consumer's
11
+ * `tsc` alike.
12
+ */
13
+ import { useMemo } from 'react';
14
+ import { withAlpha } from "../theme/color-utils.js";
15
+ import { useTheme } from "../theme/use-theme.js";
16
+ // ---------------------------------------------------------------------------
17
+ // Geometry
18
+ //
19
+ // Every dimension the bar animates is a constant here rather than a measured
20
+ // layout: the highlight's position, the item box height and the capsule radius
21
+ // are all derived from these on the UI thread each frame. Measuring instead
22
+ // would put a layout round-trip between the finger and the pixels.
23
+ // ---------------------------------------------------------------------------
24
+
25
+ export const EXPANDED_HEIGHT = 58;
26
+ export const MINIMIZED_HEIGHT = 44;
27
+ /** Extra horizontal inset applied to the pill when minimized (per side). */
28
+ export const MINIMIZED_INSET = 34;
29
+ /** Outer margin between the pill and the screen edges (per side). */
30
+ export const BAR_MARGIN = 12;
31
+ /** Inner inset between the capsule wall and the tab items. */
32
+ export const ROW_PAD_H = 4;
33
+ export const LABEL_HEIGHT = 13;
34
+ export const ICON_SIZE = 21;
35
+ /**
36
+ * Space between icon and label — folded into the label's animated height so it
37
+ * fully disappears when minimized (keeps the icon perfectly centered).
38
+ */
39
+ export const ITEM_GAP = 2;
40
+ export const LABEL_BLOCK = LABEL_HEIGHT + ITEM_GAP;
41
+ export const ITEM_PAD_V = 7;
42
+ /** Highlight content heights — radius must track h/2 for a true capsule. */
43
+ export const HIGHLIGHT_EXPANDED = ICON_SIZE + LABEL_BLOCK + ITEM_PAD_V * 2;
44
+ export const HIGHLIGHT_MINIMIZED = ICON_SIZE + ITEM_PAD_V * 2;
45
+ /** How far the bottom progressive blur bleeds above the pill. */
46
+ export const BLUR_BLEED = 44;
47
+ /** Label type size. Small by design — the icon carries the meaning. */
48
+ export const LABEL_FONT_SIZE = 9.5;
49
+
50
+ /**
51
+ * Slide spring: interruptible by design — rapid tab-hopping retargets with
52
+ * preserved velocity. Slight under-damping gives the pill a tiny settle, safe
53
+ * here because it's transform-only (no layout involved).
54
+ */
55
+ export const SLIDE_SPRING = {
56
+ duration: 420,
57
+ dampingRatio: 0.82
58
+ };
59
+
60
+ // ---------------------------------------------------------------------------
61
+ // Theme
62
+ // ---------------------------------------------------------------------------
63
+
64
+ /**
65
+ * Resolve the bar's five colors from Bloom's theme tokens, with an optional
66
+ * partial override on top.
67
+ *
68
+ * Upstream hardcoded a dark palette (`#FFFFFF` / `rgba(10,10,12,0.55)` / …),
69
+ * which would ignore the active preset and read as a black bar in a light
70
+ * theme. Each role maps onto the token that already carries that meaning, so
71
+ * the bar follows `BloomThemeProvider` for free:
72
+ *
73
+ * - the two tints are the standard foreground pair;
74
+ * - the highlight is `contrast50`, the token meant for a subtle raised fill;
75
+ * - the glass tint is a 55%-alpha page background, so the liquid-glass
76
+ * material behind it still refracts content;
77
+ * - the solid fallback is a 94%-alpha `backgroundSecondary` — near-opaque, so
78
+ * the bar reads as a distinct surface where there is no glass to lens.
79
+ *
80
+ * Overrides are coalesced key by key (not spread) so an explicit `undefined` in
81
+ * a partial can never punch a hole in the resolved theme.
82
+ */
83
+ export function resolveTabBarTheme(colors, overrides) {
84
+ return {
85
+ activeTint: overrides?.activeTint ?? colors.text,
86
+ inactiveTint: overrides?.inactiveTint ?? colors.textSecondary,
87
+ highlight: overrides?.highlight ?? colors.contrast50,
88
+ glassTint: overrides?.glassTint ?? withAlpha(colors.background, 0.55),
89
+ solidFallback: overrides?.solidFallback ?? withAlpha(colors.backgroundSecondary, 0.94)
90
+ };
91
+ }
92
+
93
+ /**
94
+ * Hook form of {@link resolveTabBarTheme}.
95
+ *
96
+ * Memoized on the individual override VALUES rather than on the `overrides`
97
+ * object: callers pass an inline literal (`theme={{ highlight: '#…' }}`), whose
98
+ * identity changes every render. The resolved theme feeds a React context and a
99
+ * reanimated dependency array, so a fresh identity per render would re-render
100
+ * every button and rebuild the label mapper for nothing.
101
+ */
102
+ export function useTabBarTheme(overrides) {
103
+ const {
104
+ colors
105
+ } = useTheme();
106
+ const {
107
+ activeTint,
108
+ inactiveTint,
109
+ highlight,
110
+ glassTint,
111
+ solidFallback
112
+ } = overrides ?? {};
113
+ return useMemo(() => resolveTabBarTheme(colors, {
114
+ activeTint,
115
+ inactiveTint,
116
+ highlight,
117
+ glassTint,
118
+ solidFallback
119
+ }), [colors, activeTint, inactiveTint, highlight, glassTint, solidFallback]);
120
+ }
121
+
122
+ // ---------------------------------------------------------------------------
123
+ // Injected platform components
124
+ //
125
+ // `TabBarBase` is platform-agnostic and receives its two platform-specific
126
+ // pieces as component props (the same shape as `BottomSheetBase`'s `Shell`).
127
+ // The three surface variants and the two glyph variants implement these exact
128
+ // signatures, which is what makes the resolution paths interchangeable:
129
+ // Metro picks `*.native.tsx`, the `browser` export condition picks the entry
130
+ // that imports `*.web.tsx`, everything else gets the neutral file.
131
+ // ---------------------------------------------------------------------------
132
+ //# sourceMappingURL=shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useMemo","withAlpha","useTheme","EXPANDED_HEIGHT","MINIMIZED_HEIGHT","MINIMIZED_INSET","BAR_MARGIN","ROW_PAD_H","LABEL_HEIGHT","ICON_SIZE","ITEM_GAP","LABEL_BLOCK","ITEM_PAD_V","HIGHLIGHT_EXPANDED","HIGHLIGHT_MINIMIZED","BLUR_BLEED","LABEL_FONT_SIZE","SLIDE_SPRING","duration","dampingRatio","resolveTabBarTheme","colors","overrides","activeTint","text","inactiveTint","textSecondary","highlight","contrast50","glassTint","background","solidFallback","backgroundSecondary","useTabBarTheme"],"sourceRoot":"../../../src","sources":["tab-bar/shared.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,OAAO,QAAQ,OAAO;AAI/B,SAASC,SAAS,QAAQ,yBAAsB;AAEhD,SAASC,QAAQ,QAAQ,uBAAoB;AAG7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMC,eAAe,GAAG,EAAE;AACjC,OAAO,MAAMC,gBAAgB,GAAG,EAAE;AAClC;AACA,OAAO,MAAMC,eAAe,GAAG,EAAE;AACjC;AACA,OAAO,MAAMC,UAAU,GAAG,EAAE;AAC5B;AACA,OAAO,MAAMC,SAAS,GAAG,CAAC;AAC1B,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B,OAAO,MAAMC,SAAS,GAAG,EAAE;AAC3B;AACA;AACA;AACA;AACA,OAAO,MAAMC,QAAQ,GAAG,CAAC;AACzB,OAAO,MAAMC,WAAW,GAAGH,YAAY,GAAGE,QAAQ;AAClD,OAAO,MAAME,UAAU,GAAG,CAAC;AAC3B;AACA,OAAO,MAAMC,kBAAkB,GAAGJ,SAAS,GAAGE,WAAW,GAAGC,UAAU,GAAG,CAAC;AAC1E,OAAO,MAAME,mBAAmB,GAAGL,SAAS,GAAGG,UAAU,GAAG,CAAC;AAC7D;AACA,OAAO,MAAMG,UAAU,GAAG,EAAE;AAC5B;AACA,OAAO,MAAMC,eAAe,GAAG,GAAG;;AAElC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAG;EAAEC,QAAQ,EAAE,GAAG;EAAEC,YAAY,EAAE;AAAK,CAAC;;AAEjE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAChCC,MAAmB,EACnBC,SAAgC,EACnB;EACb,OAAO;IACLC,UAAU,EAAED,SAAS,EAAEC,UAAU,IAAIF,MAAM,CAACG,IAAI;IAChDC,YAAY,EAAEH,SAAS,EAAEG,YAAY,IAAIJ,MAAM,CAACK,aAAa;IAC7DC,SAAS,EAAEL,SAAS,EAAEK,SAAS,IAAIN,MAAM,CAACO,UAAU;IACpDC,SAAS,EAAEP,SAAS,EAAEO,SAAS,IAAI5B,SAAS,CAACoB,MAAM,CAACS,UAAU,EAAE,IAAI,CAAC;IACrEC,aAAa,EAAET,SAAS,EAAES,aAAa,IAAI9B,SAAS,CAACoB,MAAM,CAACW,mBAAmB,EAAE,IAAI;EACvF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACX,SAAgC,EAAe;EAC5E,MAAM;IAAED;EAAO,CAAC,GAAGnB,QAAQ,CAAC,CAAC;EAC7B,MAAM;IAAEqB,UAAU;IAAEE,YAAY;IAAEE,SAAS;IAAEE,SAAS;IAAEE;EAAc,CAAC,GAAGT,SAAS,IAAI,CAAC,CAAC;EAEzF,OAAOtB,OAAO,CACZ,MACEoB,kBAAkB,CAACC,MAAM,EAAE;IACzBE,UAAU;IACVE,YAAY;IACZE,SAAS;IACTE,SAAS;IACTE;EACF,CAAC,CAAC,EACJ,CAACV,MAAM,EAAEE,UAAU,EAAEE,YAAY,EAAEE,SAAS,EAAEE,SAAS,EAAEE,aAAa,CACxE,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * NEUTRAL default variant of the tab bar's capsule surface: a plain animated
8
+ * view filled with the theme's solid fallback.
9
+ *
10
+ * This is the file resolved by everything that does NOT do React Native's
11
+ * platform-extension resolution — a consumer's `tsc` (which follows Bloom's
12
+ * `"react-native"` source export condition) and any non-Metro bundler reading
13
+ * the published `lib/`. It therefore imports NOTHING platform-specific:
14
+ * `expo-glass-effect` is native-only, and a static import of it from a file a
15
+ * web bundler or a consumer's type-checker resolves would break module
16
+ * resolution outright. Same three-way split, for the same reason, as
17
+ * `theme/native-root-vars{,.native,.web}.ts`.
18
+ *
19
+ * The variants — all three implement `TabBarSurfaceProps` exactly, so the entry
20
+ * modules can swap them freely:
21
+ * - `surface.native.tsx` — iOS/Android (Metro), real `UIGlassEffect` glass;
22
+ * - `surface.web.tsx` — web, a CSS `backdrop-filter`;
23
+ * - this file — everywhere else, the opaque fallback.
24
+ */
25
+ import { StyleSheet } from 'react-native';
26
+ import Animated from 'react-native-reanimated';
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ export function TabBarSurface({
29
+ theme,
30
+ style
31
+ }) {
32
+ return /*#__PURE__*/_jsx(Animated.View, {
33
+ style: [StyleSheet.absoluteFill, styles.surface, {
34
+ backgroundColor: theme.solidFallback
35
+ }, style]
36
+ });
37
+ }
38
+ TabBarSurface.displayName = 'TabBarSurface';
39
+ const styles = StyleSheet.create({
40
+ surface: {
41
+ borderCurve: 'continuous'
42
+ }
43
+ });
44
+ //# sourceMappingURL=surface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Animated","jsx","_jsx","TabBarSurface","theme","style","View","absoluteFill","styles","surface","backgroundColor","solidFallback","displayName","create","borderCurve"],"sourceRoot":"../../../src","sources":["tab-bar/surface.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,cAAc;AACzC,OAAOC,QAAQ,MAAM,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI/C,OAAO,SAASC,aAAaA,CAAC;EAAEC,KAAK;EAAEC;AAA0B,CAAC,EAAE;EAClE,oBACEH,IAAA,CAACF,QAAQ,CAACM,IAAI;IACZD,KAAK,EAAE,CACLN,UAAU,CAACQ,YAAY,EACvBC,MAAM,CAACC,OAAO,EACd;MAAEC,eAAe,EAAEN,KAAK,CAACO;IAAc,CAAC,EACxCN,KAAK;EACL,CACH,CAAC;AAEN;AAEAF,aAAa,CAACS,WAAW,GAAG,eAAe;AAE3C,MAAMJ,MAAM,GAAGT,UAAU,CAACc,MAAM,CAAC;EAC/BJ,OAAO,EAAE;IACPK,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * NATIVE variant of the tab bar's capsule surface — real liquid glass.
8
+ *
9
+ * `expo-glass-effect` is imported STATICALLY and this file is the only place it
10
+ * appears: Metro selects `.native` on iOS/Android, so the import never reaches
11
+ * a web bundle or a consumer's type-check (that is what the neutral
12
+ * `surface.tsx` sibling is for). A peer dependency plus a static import plus a
13
+ * runtime capability check is the deliberate shape here — not a lazy
14
+ * `require()`, which Metro cannot bundle from published `lib/` when the module
15
+ * name is dynamic and which would also hide the dependency from consumers.
16
+ *
17
+ * `isLiquidGlassAvailable()` is false on Android and pre-iOS-26, where the
18
+ * package's `GlassView` has no material to render; those platforms get the same
19
+ * opaque fallback the neutral variant paints.
20
+ */
21
+ import { GlassView, isLiquidGlassAvailable } from 'expo-glass-effect';
22
+ import { StyleSheet } from 'react-native';
23
+ import Animated from 'react-native-reanimated';
24
+ import { jsx as _jsx } from "react/jsx-runtime";
25
+ const AnimatedGlassView = Animated.createAnimatedComponent(GlassView);
26
+ export function TabBarSurface({
27
+ theme,
28
+ style
29
+ }) {
30
+ if (isLiquidGlassAvailable()) {
31
+ return /*#__PURE__*/_jsx(AnimatedGlassView, {
32
+ glassEffectStyle: "regular",
33
+ style: [StyleSheet.absoluteFill, styles.surface, {
34
+ backgroundColor: theme.glassTint
35
+ }, style]
36
+ });
37
+ }
38
+ return /*#__PURE__*/_jsx(Animated.View, {
39
+ style: [StyleSheet.absoluteFill, styles.surface, {
40
+ backgroundColor: theme.solidFallback
41
+ }, style]
42
+ });
43
+ }
44
+ TabBarSurface.displayName = 'TabBarSurface';
45
+ const styles = StyleSheet.create({
46
+ surface: {
47
+ borderCurve: 'continuous'
48
+ }
49
+ });
50
+ //# sourceMappingURL=surface.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GlassView","isLiquidGlassAvailable","StyleSheet","Animated","jsx","_jsx","AnimatedGlassView","createAnimatedComponent","TabBarSurface","theme","style","glassEffectStyle","absoluteFill","styles","surface","backgroundColor","glassTint","View","solidFallback","displayName","create","borderCurve"],"sourceRoot":"../../../src","sources":["tab-bar/surface.native.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,SAAS,EAAEC,sBAAsB,QAAQ,mBAAmB;AACrE,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,QAAQ,MAAM,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI/C,MAAMC,iBAAiB,GAAGH,QAAQ,CAACI,uBAAuB,CAACP,SAAS,CAAC;AAErE,OAAO,SAASQ,aAAaA,CAAC;EAAEC,KAAK;EAAEC;AAA0B,CAAC,EAAE;EAClE,IAAIT,sBAAsB,CAAC,CAAC,EAAE;IAC5B,oBACEI,IAAA,CAACC,iBAAiB;MAChBK,gBAAgB,EAAC,SAAS;MAC1BD,KAAK,EAAE,CACLR,UAAU,CAACU,YAAY,EACvBC,MAAM,CAACC,OAAO,EACd;QAAEC,eAAe,EAAEN,KAAK,CAACO;MAAU,CAAC,EACpCN,KAAK;IACL,CACH,CAAC;EAEN;EAEA,oBACEL,IAAA,CAACF,QAAQ,CAACc,IAAI;IACZP,KAAK,EAAE,CACLR,UAAU,CAACU,YAAY,EACvBC,MAAM,CAACC,OAAO,EACd;MAAEC,eAAe,EAAEN,KAAK,CAACS;IAAc,CAAC,EACxCR,KAAK;EACL,CACH,CAAC;AAEN;AAEAF,aAAa,CAACW,WAAW,GAAG,eAAe;AAE3C,MAAMN,MAAM,GAAGX,UAAU,CAACkB,MAAM,CAAC;EAC/BN,OAAO,EAAE;IACPO,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Ported from expo-glass-tabs v0.1.1 — src/glass-tab-bar.tsx
5
+ * (MIT © 2026 David Mokos). See the top-level NOTICE.
6
+ *
7
+ * WEB variant of the tab bar's capsule surface: the browser's own frosted
8
+ * material, `backdrop-filter`, under the theme's translucent glass tint.
9
+ *
10
+ * The element stays a react-native-web `Animated.View` because the capsule
11
+ * radius is animated by reanimated on every minimize frame. The two web-only
12
+ * declarations ride in the STYLE object rather than a CSS class: react-native-
13
+ * web does not forward `className` to the DOM (its `forwardedProps` list has no
14
+ * `className`, and `createDOMProps` overwrites the attribute with the atomic
15
+ * class it generates), whereas unknown style properties ARE passed straight
16
+ * through its style compiler. That is the same route `Dialog.web.tsx` uses for
17
+ * its `animation` shorthand. No stylesheet needs injecting here: there is no
18
+ * `@keyframes` or pseudo-class involved, so nothing that an inline declaration
19
+ * cannot express.
20
+ *
21
+ * Browsers without `backdrop-filter` simply skip it and are left with the
22
+ * translucent tint — a graceful degradation that needs no `@supports` rule.
23
+ */
24
+ import { StyleSheet } from 'react-native';
25
+ import Animated from 'react-native-reanimated';
26
+ import { jsx as _jsx } from "react/jsx-runtime";
27
+ /**
28
+ * Blur radius of the web glass, in px. Tuned to read like the iOS 26 `regular`
29
+ * glass under the same 55%-alpha tint: enough to dissolve text scrolling
30
+ * underneath without smearing large shapes into mush. The saturation boost is
31
+ * what keeps colors behind the bar from going flat and grey.
32
+ */
33
+ const GLASS_BLUR_PX = 24;
34
+ const GLASS_FILTER = `blur(${GLASS_BLUR_PX}px) saturate(180%)`;
35
+
36
+ // Web-only CSS, unknown to React Native's `ViewStyle`. Both spellings are set:
37
+ // Safari still needs the prefixed property for `backdrop-filter`.
38
+ const glassFilterStyle = {
39
+ backdropFilter: GLASS_FILTER,
40
+ WebkitBackdropFilter: GLASS_FILTER
41
+ };
42
+ export function TabBarSurface({
43
+ theme,
44
+ style
45
+ }) {
46
+ return /*#__PURE__*/_jsx(Animated.View, {
47
+ style: [StyleSheet.absoluteFill, glassFilterStyle, {
48
+ backgroundColor: theme.glassTint
49
+ }, style]
50
+ });
51
+ }
52
+ TabBarSurface.displayName = 'TabBarSurface';
53
+ //# sourceMappingURL=surface.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Animated","jsx","_jsx","GLASS_BLUR_PX","GLASS_FILTER","glassFilterStyle","backdropFilter","WebkitBackdropFilter","TabBarSurface","theme","style","View","absoluteFill","backgroundColor","glassTint","displayName"],"sourceRoot":"../../../src","sources":["tab-bar/surface.web.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAU,QAAwB,cAAc;AACzD,OAAOC,QAAQ,MAAM,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI/C;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,aAAa,GAAG,EAAE;AACxB,MAAMC,YAAY,GAAG,QAAQD,aAAa,oBAAoB;;AAE9D;AACA;AACA,MAAME,gBAAgB,GAAG;EACvBC,cAAc,EAAEF,YAAY;EAC5BG,oBAAoB,EAAEH;AACxB,CAAc;AAEd,OAAO,SAASI,aAAaA,CAAC;EAAEC,KAAK;EAAEC;AAA0B,CAAC,EAAE;EAClE,oBACER,IAAA,CAACF,QAAQ,CAACW,IAAI;IACZD,KAAK,EAAE,CACLX,UAAU,CAACa,YAAY,EACvBP,gBAAgB,EAChB;MAAEQ,eAAe,EAAEJ,KAAK,CAACK;IAAU,CAAC,EACpCJ,KAAK;EACL,CACH,CAAC;AAEN;AAEAF,aAAa,CAACO,WAAW,GAAG,eAAe","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["tab-bar/types.ts"],"mappings":"","ignoreList":[]}
@@ -5,6 +5,7 @@ import { View, Text, Pressable, Animated, Easing, ScrollView } from 'react-nativ
5
5
  import { useTheme } from "../theme/use-theme.js";
6
6
  import { usePressAnimation } from "../hooks/usePressAnimation.js";
7
7
  import { borderRadius, space } from "../styles/tokens.js";
8
+ import { bloomShadowStyle } from '../design-tokens/shadows';
8
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
10
  const TabsContext = /*#__PURE__*/createContext({
10
11
  value: '',
@@ -176,14 +177,8 @@ const TabComponent = ({
176
177
  if (isSelected) {
177
178
  base.backgroundColor = theme.colors.card;
178
179
  base.borderRadius = borderRadius.xs + 2;
179
- base.shadowColor = theme.colors.shadow;
180
- base.shadowOffset = {
181
- width: 0,
182
- height: 1
183
- };
184
- base.shadowOpacity = 0.1;
185
- base.shadowRadius = 2;
186
- base.elevation = 1;
180
+ // Subtle raise (`shadow-s`) — `boxShadow` on web, RN shadow/elevation on native.
181
+ Object.assign(base, bloomShadowStyle('s'));
187
182
  }
188
183
  break;
189
184
  case 'outlined':