@multiplatform.one/components 9.3.0 → 9.4.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 (575) hide show
  1. package/dist/cjs/Accordion/index.native.js +1 -1
  2. package/dist/cjs/Accordion/index.native.js.map +1 -1
  3. package/dist/cjs/Alert/index.native.js.map +1 -1
  4. package/dist/cjs/AnimateHeight/index.native.js.map +1 -1
  5. package/dist/cjs/Avatar/getInitials.native.js.map +1 -1
  6. package/dist/cjs/Avatar/index.native.js.map +1 -1
  7. package/dist/cjs/Badge/index.native.js.map +1 -1
  8. package/dist/cjs/Button.native.js.map +1 -1
  9. package/dist/cjs/Card.native.js.map +1 -1
  10. package/dist/cjs/CardFooter.native.js.map +1 -1
  11. package/dist/cjs/CardHeader.native.js.map +1 -1
  12. package/dist/cjs/Carousel/geometry.native.js.map +1 -1
  13. package/dist/cjs/Carousel/index.cjs +1 -1
  14. package/dist/cjs/Carousel/index.native.js +3 -3
  15. package/dist/cjs/Carousel/index.native.js.map +1 -1
  16. package/dist/cjs/ChatTurn/index.native.js.map +1 -1
  17. package/dist/cjs/CheckGlyph/MenuCheckColumn.native.js.map +1 -1
  18. package/dist/cjs/CheckGlyph/index.native.js.map +1 -1
  19. package/dist/cjs/Chip/index.native.js.map +1 -1
  20. package/dist/cjs/ChoiceChips/index.native.js +1 -1
  21. package/dist/cjs/ChoiceChips/index.native.js.map +1 -1
  22. package/dist/cjs/Collapsible.native.js.map +1 -1
  23. package/dist/cjs/ContextMenu/index.native.js.map +1 -1
  24. package/dist/cjs/CopyField/CopyMenuButton.native.js +1 -1
  25. package/dist/cjs/CopyField/CopyMenuButton.native.js.map +1 -1
  26. package/dist/cjs/CopyField/index.native.js.map +1 -1
  27. package/dist/cjs/Dialog.native.js +1 -1
  28. package/dist/cjs/Dialog.native.js.map +1 -1
  29. package/dist/cjs/Diff/diff.native.js.map +1 -1
  30. package/dist/cjs/Diff/index.native.js.map +1 -1
  31. package/dist/cjs/DotIndicator/index.native.js.map +1 -1
  32. package/dist/cjs/DrillStack/DrillBar.native.js.map +1 -1
  33. package/dist/cjs/DrillStack/context.native.js.map +1 -1
  34. package/dist/cjs/DrillStack/drillMotion.native.js.map +1 -1
  35. package/dist/cjs/DropDownPanel/index.cjs +1 -1
  36. package/dist/cjs/DropDownPanel/index.native.js +1 -1
  37. package/dist/cjs/DropDownPanel/index.native.js.map +1 -1
  38. package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
  39. package/dist/cjs/DropdownMenu/menuSettle.native.js.map +1 -1
  40. package/dist/cjs/ElapsedProgress/index.native.js.map +1 -1
  41. package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
  42. package/dist/cjs/Heading.native.js.map +1 -1
  43. package/dist/cjs/Kbd/index.native.js.map +1 -1
  44. package/dist/cjs/Kbd/keys.native.js.map +1 -1
  45. package/dist/cjs/Lightbox/MediaControl.native.js.map +1 -1
  46. package/dist/cjs/Lightbox/index.gnome.native.js.map +1 -1
  47. package/dist/cjs/Lightbox/index.native.js +1 -1
  48. package/dist/cjs/Lightbox/shared.native.js.map +1 -1
  49. package/dist/cjs/Lightbox/useLightbox.native.js.map +1 -1
  50. package/dist/cjs/MachineLiteral/index.native.js.map +1 -1
  51. package/dist/cjs/Material/index.native.js.map +1 -1
  52. package/dist/cjs/Meter/index.native.js +1 -1
  53. package/dist/cjs/Meter/index.native.js.map +1 -1
  54. package/dist/cjs/Meter/meter.native.js.map +1 -1
  55. package/dist/cjs/MiddleEllipsisText/middleSplit.native.js.map +1 -1
  56. package/dist/cjs/MiddleEllipsisText/types.native.js.map +1 -1
  57. package/dist/cjs/Pagination.native.js +1 -1
  58. package/dist/cjs/Pagination.native.js.map +1 -1
  59. package/dist/cjs/Popover.native.js +1 -1
  60. package/dist/cjs/Popover.native.js.map +1 -1
  61. package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
  62. package/dist/cjs/Quote/index.native.js.map +1 -1
  63. package/dist/cjs/SchemeToggle/index.native.js +1 -1
  64. package/dist/cjs/SchemeToggle/index.native.js.map +1 -1
  65. package/dist/cjs/{ScrollView/index.cjs → ScrollView.cjs} +2 -2
  66. package/dist/cjs/{ScrollView/useRevealFocusedField.cjs → ScrollView.native.js} +8 -5
  67. package/dist/cjs/ScrollView.native.js.map +1 -0
  68. package/dist/cjs/Separator/index.native.js.map +1 -1
  69. package/dist/cjs/Sheet.native.js.map +1 -1
  70. package/dist/cjs/SheetModal/SheetBodyRegion.native.js.map +1 -1
  71. package/dist/cjs/SheetModal/SheetHeader.native.js.map +1 -1
  72. package/dist/cjs/SheetModal/SheetNavigation.native.js.map +1 -1
  73. package/dist/cjs/SheetModal/detents.native.js.map +1 -1
  74. package/dist/cjs/SheetModal/index.cjs +1 -1
  75. package/dist/cjs/SheetModal/index.native.js +1 -1
  76. package/dist/cjs/SheetModal/index.native.js.map +1 -1
  77. package/dist/cjs/SheetModal/useSheetFrameFocus.native.js.map +1 -1
  78. package/dist/cjs/SheetScrollView/index.cjs +1 -1
  79. package/dist/cjs/SheetScrollView/index.native.js +1 -1
  80. package/dist/cjs/SheetScrollView/index.native.js.map +1 -1
  81. package/dist/cjs/SheetScrollView/sheetHandoff.native.js.map +1 -1
  82. package/dist/cjs/Skeleton/index.native.js.map +1 -1
  83. package/dist/cjs/SkipLink/index.native.js.map +1 -1
  84. package/dist/cjs/SortableList/SortableHandle.native.js.map +1 -1
  85. package/dist/cjs/SortableList/index.native.js.map +1 -1
  86. package/dist/cjs/SortableList/useSortableRows.native.js.map +1 -1
  87. package/dist/cjs/SortableList/useUserOrder.native.js.map +1 -1
  88. package/dist/cjs/SwipeDismissRow/index.native.js.map +1 -1
  89. package/dist/cjs/Tabs/index.cjs +1 -1
  90. package/dist/cjs/Tabs/index.native.js +1 -1
  91. package/dist/cjs/Tabs/index.native.js.map +1 -1
  92. package/dist/cjs/Text.native.js.map +1 -1
  93. package/dist/cjs/ThemePresetPicker/index.native.js +1 -1
  94. package/dist/cjs/ThemePresetPicker/index.native.js.map +1 -1
  95. package/dist/cjs/Toast/index.native.js.map +1 -1
  96. package/dist/cjs/Toast/store.native.js.map +1 -1
  97. package/dist/cjs/Tooltip/nativePress.native.js.map +1 -1
  98. package/dist/cjs/Tooltip/tooltipShared.native.js.map +1 -1
  99. package/dist/cjs/TreeSelect/index.native.js +2 -2
  100. package/dist/cjs/TreeSelect/index.native.js.map +1 -1
  101. package/dist/cjs/TreeSelect/treeSelectModel.native.js.map +1 -1
  102. package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
  103. package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
  104. package/dist/cjs/Video/types.native.js.map +1 -1
  105. package/dist/cjs/Wheel/index.native.js.map +1 -1
  106. package/dist/cjs/Wizard/index.native.js +2 -2
  107. package/dist/cjs/Wizard/index.native.js.map +1 -1
  108. package/dist/cjs/actions/ActionBar.native.js.map +1 -1
  109. package/dist/cjs/actions/DangerSection.native.js.map +1 -1
  110. package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
  111. package/dist/cjs/actions/HeaderActions.native.js +2 -2
  112. package/dist/cjs/actions/HeaderActions.native.js.map +1 -1
  113. package/dist/cjs/actions/StandardAction.native.js +1 -1
  114. package/dist/cjs/actions/StandardAction.native.js.map +1 -1
  115. package/dist/cjs/actions/devWarn.native.js.map +1 -1
  116. package/dist/cjs/actions/index.native.js.map +1 -1
  117. package/dist/cjs/actions/severity.native.js.map +1 -1
  118. package/dist/cjs/appShell/AppShell.native.js +1 -1
  119. package/dist/cjs/appShell/AppShell.native.js.map +1 -1
  120. package/dist/cjs/appShell/BottomChromeClearance.native.js.map +1 -1
  121. package/dist/cjs/appShell/Dock.native.js.map +1 -1
  122. package/dist/cjs/appShell/MpoTabHost.native.js.map +1 -1
  123. package/dist/cjs/appShell/ScopeMenu.native.js +1 -1
  124. package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
  125. package/dist/cjs/appShell/SettingsSplit.cjs +1 -1
  126. package/dist/cjs/appShell/SettingsSplit.native.js +1 -1
  127. package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
  128. package/dist/cjs/appShell/Springboard.native.js +1 -1
  129. package/dist/cjs/appShell/Springboard.native.js.map +1 -1
  130. package/dist/cjs/appShell/SystemBar.native.js +1 -1
  131. package/dist/cjs/appShell/SystemBar.native.js.map +1 -1
  132. package/dist/cjs/appShell/TabBar.native.js +1 -1
  133. package/dist/cjs/appShell/TabBar.native.js.map +1 -1
  134. package/dist/cjs/appShell/appTile.native.js +1 -1
  135. package/dist/cjs/appShell/appTile.native.js.map +1 -1
  136. package/dist/cjs/appShell/bottomChrome.native.js.map +1 -1
  137. package/dist/cjs/appShell/index.native.js.map +1 -1
  138. package/dist/cjs/appShell/stackBack.native.js.map +1 -1
  139. package/dist/cjs/appShell/systemBarFit.native.js.map +1 -1
  140. package/dist/cjs/charts/Axis.native.js.map +1 -1
  141. package/dist/cjs/charts/BarChart.native.js.map +1 -1
  142. package/dist/cjs/charts/ChartDataView.cjs +1 -1
  143. package/dist/cjs/charts/ChartDataView.native.js +2 -2
  144. package/dist/cjs/charts/ChartDataView.native.js.map +1 -1
  145. package/dist/cjs/charts/ChartSurface.native.js.map +1 -1
  146. package/dist/cjs/charts/LineChart.native.js.map +1 -1
  147. package/dist/cjs/charts/PieChart.native.js.map +1 -1
  148. package/dist/cjs/charts/Sparkline.native.js.map +1 -1
  149. package/dist/cjs/charts/accessibility.native.js.map +1 -1
  150. package/dist/cjs/charts/chartHeight.native.js.map +1 -1
  151. package/dist/cjs/charts/composeChart.native.js.map +1 -1
  152. package/dist/cjs/charts/index.native.js.map +1 -1
  153. package/dist/cjs/charts/math.native.js.map +1 -1
  154. package/dist/cjs/charts/series.native.js.map +1 -1
  155. package/dist/cjs/charts/svg.native.js.map +1 -1
  156. package/dist/cjs/charts/types.native.js.map +1 -1
  157. package/dist/cjs/charts/useChartTheme.native.js.map +1 -1
  158. package/dist/cjs/code/Code/index.native.js.map +1 -1
  159. package/dist/cjs/code/CodeBlock/index.cjs +1 -1
  160. package/dist/cjs/code/CodeBlock/index.native.js +8 -8
  161. package/dist/cjs/code/CodeBlock/index.native.js.map +1 -1
  162. package/dist/cjs/code/HighlightedCode/index.native.js.map +1 -1
  163. package/dist/cjs/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
  164. package/dist/cjs/code/Highlighter/index.native.js.map +1 -1
  165. package/dist/cjs/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
  166. package/dist/cjs/code/HoldSelect/tapGate.native.js.map +1 -1
  167. package/dist/cjs/code/LogView.cjs +1 -1
  168. package/dist/cjs/code/LogView.native.js +1 -1
  169. package/dist/cjs/code/LogView.native.js.map +1 -1
  170. package/dist/cjs/code/PayloadView/index.cjs +1 -1
  171. package/dist/cjs/code/PayloadView/index.native.js +5 -5
  172. package/dist/cjs/code/PayloadView/index.native.js.map +1 -1
  173. package/dist/cjs/code/PayloadView/payloadModel.native.js.map +1 -1
  174. package/dist/cjs/code/Pre/index.native.js.map +1 -1
  175. package/dist/cjs/code/index.native.js +7 -7
  176. package/dist/cjs/code/index.native.js.map +1 -1
  177. package/dist/cjs/componentColors.native.js.map +1 -1
  178. package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
  179. package/dist/cjs/feedback/NotifyHost.native.js +2 -2
  180. package/dist/cjs/feedback/NotifyHost.native.js.map +1 -1
  181. package/dist/cjs/feedback/copy.native.js.map +1 -1
  182. package/dist/cjs/feedback/index.native.js.map +1 -1
  183. package/dist/cjs/feedback/notify.native.js.map +1 -1
  184. package/dist/cjs/feedback/route.native.js.map +1 -1
  185. package/dist/cjs/feedback/store.native.js.map +1 -1
  186. package/dist/cjs/formLayouts/FormLayouts.native.js +1 -1
  187. package/dist/cjs/formLayouts/FormLayouts.native.js.map +1 -1
  188. package/dist/cjs/formLayouts/PreferencePanel.native.js +2 -2
  189. package/dist/cjs/formLayouts/PreferencePanel.native.js.map +1 -1
  190. package/dist/cjs/formLayouts/SingleTaskColumn.native.js.map +1 -1
  191. package/dist/cjs/formLayouts/index.native.js.map +1 -1
  192. package/dist/cjs/hooks/index.native.js +1 -1
  193. package/dist/cjs/hooks/index.native.js.map +1 -1
  194. package/dist/cjs/hooks/useClipboard.native.js.map +1 -1
  195. package/dist/cjs/hooks/useDirection.cjs +2 -27
  196. package/dist/cjs/hooks/useDirection.native.js +5 -8
  197. package/dist/cjs/hooks/useDirection.native.js.map +1 -1
  198. package/dist/cjs/hooks/useDocumentTitle.native.js.map +1 -1
  199. package/dist/cjs/icons/CheckRegular.native.js.map +1 -1
  200. package/dist/cjs/icons/MinusRegular.native.js.map +1 -1
  201. package/dist/cjs/icons/index.native.js.map +1 -1
  202. package/dist/cjs/icons/lucide.native.js.map +1 -1
  203. package/dist/cjs/icons/themed.native.js.map +1 -1
  204. package/dist/cjs/images/Image/ImageFrame.native.js +1 -1
  205. package/dist/cjs/images/Image/ImageFrame.native.js.map +1 -1
  206. package/dist/cjs/images/Image/framing.native.js.map +1 -1
  207. package/dist/cjs/images/Image/index.native.js +1 -1
  208. package/dist/cjs/images/Image/mediaRadius.native.js.map +1 -1
  209. package/dist/cjs/images/Image/shared.native.js +1 -1
  210. package/dist/cjs/images/Image/shared.native.js.map +1 -1
  211. package/dist/cjs/images/Image/types.native.js.map +1 -1
  212. package/dist/cjs/images/RemoteArt/index.native.js +1 -1
  213. package/dist/cjs/images/RemoteArt/remoteArtCache.native.js.map +1 -1
  214. package/dist/cjs/images/RemoteArt/svgMarkup.native.js.map +1 -1
  215. package/dist/cjs/images/RemoteArt/types.native.js.map +1 -1
  216. package/dist/cjs/images/index.native.js.map +1 -1
  217. package/dist/cjs/index.cjs +11 -11
  218. package/dist/cjs/index.gnome.native.js +22 -22
  219. package/dist/cjs/index.gnome.native.js.map +1 -1
  220. package/dist/cjs/index.native.js +56 -56
  221. package/dist/cjs/index.native.js.map +1 -1
  222. package/dist/cjs/knobImmuneExports.native.js.map +1 -1
  223. package/dist/cjs/layouts/AsyncBoundary.native.js +2 -2
  224. package/dist/cjs/layouts/AsyncBoundary.native.js.map +1 -1
  225. package/dist/cjs/layouts/Debug/index.native.js.map +1 -1
  226. package/dist/cjs/layouts/EmptyState.native.js +1 -1
  227. package/dist/cjs/layouts/EmptyState.native.js.map +1 -1
  228. package/dist/cjs/layouts/IdentityPlate.cjs +2 -2
  229. package/dist/cjs/layouts/IdentityPlate.native.js +2 -2
  230. package/dist/cjs/layouts/IdentityPlate.native.js.map +1 -1
  231. package/dist/cjs/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
  232. package/dist/cjs/layouts/PageTemplates.native.js.map +1 -1
  233. package/dist/cjs/layouts/PaneScaffold.native.js.map +1 -1
  234. package/dist/cjs/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
  235. package/dist/cjs/layouts/StatusDot.native.js.map +1 -1
  236. package/dist/cjs/layouts/StatusGlyphStrip.native.js +1 -1
  237. package/dist/cjs/layouts/StatusGlyphStrip.native.js.map +1 -1
  238. package/dist/cjs/layouts/ViewSwitcher.native.js.map +1 -1
  239. package/dist/cjs/layouts/asyncFailure.native.js.map +1 -1
  240. package/dist/cjs/layouts/attachments.cjs +1 -3
  241. package/dist/cjs/layouts/attachments.native.js +3 -5
  242. package/dist/cjs/layouts/attachments.native.js.map +1 -1
  243. package/dist/cjs/layouts/barTitleSpan.native.js.map +1 -1
  244. package/dist/cjs/layouts/bottomAccessory.native.js.map +1 -1
  245. package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
  246. package/dist/cjs/layouts/index.native.js +3 -3
  247. package/dist/cjs/layouts/index.native.js.map +1 -1
  248. package/dist/cjs/layouts/page.cjs +1 -1
  249. package/dist/cjs/layouts/page.native.js +2 -2
  250. package/dist/cjs/layouts/page.native.js.map +1 -1
  251. package/dist/cjs/layouts/pageHeadingScope.native.js.map +1 -1
  252. package/dist/cjs/layouts/screenScroll.native.js.map +1 -1
  253. package/dist/cjs/layouts/shellSidebarSlot.native.js.map +1 -1
  254. package/dist/cjs/layouts/sidebar.cjs +1 -1
  255. package/dist/cjs/layouts/sidebar.native.js +1 -1
  256. package/dist/cjs/layouts/sidebar.native.js.map +1 -1
  257. package/dist/cjs/layouts/tags.cjs +1 -1
  258. package/dist/cjs/layouts/tags.native.js +2 -2
  259. package/dist/cjs/layouts/tags.native.js.map +1 -1
  260. package/dist/cjs/layouts/timeline.native.js +2 -2
  261. package/dist/cjs/layouts/timeline.native.js.map +1 -1
  262. package/dist/cjs/layouts/toolbar.cjs +1 -1
  263. package/dist/cjs/layouts/toolbar.native.js +1 -1
  264. package/dist/cjs/layouts/toolbar.native.js.map +1 -1
  265. package/dist/cjs/shared/actionScan.native.js.map +1 -1
  266. package/dist/cjs/shared/i18n.native.js.map +1 -1
  267. package/dist/cjs/shared/restoreRetries.native.js.map +1 -1
  268. package/dist/cjs/shared/t.native.js.map +1 -1
  269. package/dist/cjs/shared/textRidesText.native.js.map +1 -1
  270. package/dist/cjs/shared/useReturnFocusOnClose.native.js.map +1 -1
  271. package/dist/cjs/surfaces.native.js +1 -1
  272. package/dist/cjs/surfaces.native.js.map +1 -1
  273. package/dist/cjs/tamagui.cjs +1 -1
  274. package/dist/cjs/tamagui.native.js +1 -1
  275. package/dist/cjs/tamagui.native.js.map +1 -1
  276. package/dist/cjs/testSetup.native.js.map +1 -1
  277. package/dist/cjs/utils/unwrapText.native.js.map +1 -1
  278. package/dist/cjs/views/Calendar.cjs +1 -1
  279. package/dist/cjs/views/Calendar.native.js +1 -1
  280. package/dist/cjs/views/Calendar.native.js.map +1 -1
  281. package/dist/cjs/views/CardGrid.native.js.map +1 -1
  282. package/dist/cjs/views/Dashboard.cjs +1 -1
  283. package/dist/cjs/views/Dashboard.native.js +2 -2
  284. package/dist/cjs/views/Dashboard.native.js.map +1 -1
  285. package/dist/cjs/views/FilePreview.cjs +1 -2
  286. package/dist/cjs/views/FilePreview.native.js +3 -4
  287. package/dist/cjs/views/FilePreview.native.js.map +1 -1
  288. package/dist/cjs/views/Gantt.cjs +1 -1
  289. package/dist/cjs/views/Gantt.native.js +2 -2
  290. package/dist/cjs/views/Gantt.native.js.map +1 -1
  291. package/dist/cjs/views/GanttDateGrip.native.js.map +1 -1
  292. package/dist/cjs/views/ImageGrid.native.js +2 -2
  293. package/dist/cjs/views/ImageGrid.native.js.map +1 -1
  294. package/dist/cjs/views/Kanban.cjs +1 -1
  295. package/dist/cjs/views/Kanban.native.js +1 -1
  296. package/dist/cjs/views/List.native.js.map +1 -1
  297. package/dist/cjs/views/ListGroup.native.js +1 -1
  298. package/dist/cjs/views/ListGroup.native.js.map +1 -1
  299. package/dist/cjs/views/ListRow.native.js.map +1 -1
  300. package/dist/cjs/views/Matrix.cjs +1 -1
  301. package/dist/cjs/views/Matrix.native.js +2 -2
  302. package/dist/cjs/views/Matrix.native.js.map +1 -1
  303. package/dist/cjs/views/ReportBuilder.cjs +1 -1
  304. package/dist/cjs/views/ReportBuilder.native.js +2 -2
  305. package/dist/cjs/views/ReportBuilder.native.js.map +1 -1
  306. package/dist/cjs/views/ShortcutCard.native.js.map +1 -1
  307. package/dist/cjs/views/TreeView.native.js.map +1 -1
  308. package/dist/cjs/views/calendarMath.native.js.map +1 -1
  309. package/dist/cjs/views/ganttIntervals.native.js.map +1 -1
  310. package/dist/cjs/views/ganttMath.native.js.map +1 -1
  311. package/dist/cjs/views/index.native.js +1 -1
  312. package/dist/cjs/views/index.native.js.map +1 -1
  313. package/dist/cjs/views/kanbanDnd.native.js.map +1 -1
  314. package/dist/cjs/views/matrixMath.native.js.map +1 -1
  315. package/dist/cjs/views/sameNameScope.native.js.map +1 -1
  316. package/dist/cjs/views/treeViewDnd.native.js.map +1 -1
  317. package/dist/cjs/views/treeViewLayout.native.js.map +1 -1
  318. package/dist/cjs/views/treeViewMotion.native.js.map +1 -1
  319. package/dist/cjs/views/treeViewReveal.native.js.map +1 -1
  320. package/dist/cjs/views/usePageFlowLoadMore.native.js.map +1 -1
  321. package/dist/cjs/views/widgetChrome.native.js.map +1 -1
  322. package/dist/esm/Carousel/index.mjs +1 -1
  323. package/dist/esm/Carousel/index.native.js +1 -1
  324. package/dist/esm/Carousel/index.native.js.map +1 -1
  325. package/dist/esm/DropDownPanel/index.mjs +2 -2
  326. package/dist/esm/DropDownPanel/index.mjs.map +1 -1
  327. package/dist/esm/DropDownPanel/index.native.js +2 -2
  328. package/dist/esm/DropDownPanel/index.native.js.map +1 -1
  329. package/dist/esm/ScrollView.mjs +3 -0
  330. package/dist/esm/ScrollView.mjs.map +1 -0
  331. package/dist/esm/ScrollView.native.js +3 -0
  332. package/dist/esm/ScrollView.native.js.map +1 -0
  333. package/dist/esm/SheetModal/index.mjs +2 -2
  334. package/dist/esm/SheetModal/index.mjs.map +1 -1
  335. package/dist/esm/SheetModal/index.native.js +2 -2
  336. package/dist/esm/SheetModal/index.native.js.map +1 -1
  337. package/dist/esm/SheetScrollView/index.mjs +1 -1
  338. package/dist/esm/SheetScrollView/index.native.js +1 -1
  339. package/dist/esm/SheetScrollView/index.native.js.map +1 -1
  340. package/dist/esm/Tabs/index.mjs +1 -1
  341. package/dist/esm/Tabs/index.native.js +1 -1
  342. package/dist/esm/Tabs/index.native.js.map +1 -1
  343. package/dist/esm/appShell/SettingsSplit.mjs +1 -1
  344. package/dist/esm/appShell/SettingsSplit.native.js +1 -1
  345. package/dist/esm/appShell/SettingsSplit.native.js.map +1 -1
  346. package/dist/esm/charts/ChartDataView.mjs +1 -1
  347. package/dist/esm/charts/ChartDataView.native.js +1 -1
  348. package/dist/esm/charts/ChartDataView.native.js.map +1 -1
  349. package/dist/esm/code/CodeBlock/index.mjs +1 -1
  350. package/dist/esm/code/CodeBlock/index.native.js +1 -1
  351. package/dist/esm/code/CodeBlock/index.native.js.map +1 -1
  352. package/dist/esm/code/LogView.mjs +1 -1
  353. package/dist/esm/code/LogView.native.js +1 -1
  354. package/dist/esm/code/LogView.native.js.map +1 -1
  355. package/dist/esm/code/PayloadView/index.mjs +1 -1
  356. package/dist/esm/code/PayloadView/index.native.js +1 -1
  357. package/dist/esm/code/PayloadView/index.native.js.map +1 -1
  358. package/dist/esm/hooks/useDirection.mjs +1 -26
  359. package/dist/esm/hooks/useDirection.mjs.map +1 -1
  360. package/dist/esm/hooks/useDirection.native.js +1 -4
  361. package/dist/esm/hooks/useDirection.native.js.map +1 -1
  362. package/dist/esm/index.mjs +1 -1
  363. package/dist/esm/index.native.js +1 -1
  364. package/dist/esm/index.native.js.map +1 -1
  365. package/dist/esm/layouts/IdentityPlate.mjs +1 -1
  366. package/dist/esm/layouts/IdentityPlate.mjs.map +1 -1
  367. package/dist/esm/layouts/IdentityPlate.native.js +1 -1
  368. package/dist/esm/layouts/IdentityPlate.native.js.map +1 -1
  369. package/dist/esm/layouts/attachments.mjs +1 -3
  370. package/dist/esm/layouts/attachments.mjs.map +1 -1
  371. package/dist/esm/layouts/attachments.native.js +1 -3
  372. package/dist/esm/layouts/attachments.native.js.map +1 -1
  373. package/dist/esm/layouts/page.mjs +1 -1
  374. package/dist/esm/layouts/page.native.js +1 -1
  375. package/dist/esm/layouts/page.native.js.map +1 -1
  376. package/dist/esm/layouts/sidebar.mjs +1 -1
  377. package/dist/esm/layouts/sidebar.native.js +1 -1
  378. package/dist/esm/layouts/sidebar.native.js.map +1 -1
  379. package/dist/esm/layouts/tags.mjs +1 -1
  380. package/dist/esm/layouts/tags.native.js +1 -1
  381. package/dist/esm/layouts/tags.native.js.map +1 -1
  382. package/dist/esm/layouts/toolbar.mjs +1 -1
  383. package/dist/esm/layouts/toolbar.native.js +1 -1
  384. package/dist/esm/layouts/toolbar.native.js.map +1 -1
  385. package/dist/esm/tamagui.mjs +1 -1
  386. package/dist/esm/tamagui.native.js +1 -1
  387. package/dist/esm/tamagui.native.js.map +1 -1
  388. package/dist/esm/views/Calendar.mjs +1 -1
  389. package/dist/esm/views/Calendar.native.js +1 -1
  390. package/dist/esm/views/Calendar.native.js.map +1 -1
  391. package/dist/esm/views/Dashboard.mjs +1 -1
  392. package/dist/esm/views/Dashboard.native.js +1 -1
  393. package/dist/esm/views/Dashboard.native.js.map +1 -1
  394. package/dist/esm/views/FilePreview.mjs +1 -2
  395. package/dist/esm/views/FilePreview.mjs.map +1 -1
  396. package/dist/esm/views/FilePreview.native.js +1 -2
  397. package/dist/esm/views/FilePreview.native.js.map +1 -1
  398. package/dist/esm/views/Gantt.mjs +1 -1
  399. package/dist/esm/views/Gantt.native.js +1 -1
  400. package/dist/esm/views/Gantt.native.js.map +1 -1
  401. package/dist/esm/views/Kanban.mjs +1 -1
  402. package/dist/esm/views/Kanban.native.js +1 -1
  403. package/dist/esm/views/Matrix.mjs +1 -1
  404. package/dist/esm/views/Matrix.native.js +1 -1
  405. package/dist/esm/views/Matrix.native.js.map +1 -1
  406. package/dist/esm/views/ReportBuilder.mjs +1 -1
  407. package/dist/esm/views/ReportBuilder.native.js +1 -1
  408. package/dist/esm/views/ReportBuilder.native.js.map +1 -1
  409. package/dist/jsx/Carousel/index.mjs +1 -1
  410. package/dist/jsx/Carousel/index.native.js +1 -1
  411. package/dist/jsx/DropDownPanel/index.mjs +2 -2
  412. package/dist/jsx/DropDownPanel/index.mjs.map +1 -1
  413. package/dist/jsx/DropDownPanel/index.native.js +1 -1
  414. package/dist/jsx/DropDownPanel/index.native.js.map +1 -1
  415. package/dist/jsx/ScrollView.mjs +3 -0
  416. package/dist/jsx/ScrollView.mjs.map +1 -0
  417. package/dist/{cjs/ScrollView/revealFocusedField.cjs → jsx/ScrollView.native.js} +8 -13
  418. package/dist/jsx/ScrollView.native.js.map +1 -0
  419. package/dist/jsx/SheetModal/index.mjs +2 -2
  420. package/dist/jsx/SheetModal/index.mjs.map +1 -1
  421. package/dist/jsx/SheetModal/index.native.js +1 -1
  422. package/dist/jsx/SheetModal/index.native.js.map +1 -1
  423. package/dist/jsx/SheetScrollView/index.mjs +1 -1
  424. package/dist/jsx/SheetScrollView/index.native.js +1 -1
  425. package/dist/jsx/SheetScrollView/index.native.js.map +1 -1
  426. package/dist/jsx/Tabs/index.mjs +1 -1
  427. package/dist/jsx/Tabs/index.native.js +1 -1
  428. package/dist/jsx/Tabs/index.native.js.map +1 -1
  429. package/dist/jsx/appShell/SettingsSplit.mjs +1 -1
  430. package/dist/jsx/appShell/SettingsSplit.native.js +1 -1
  431. package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
  432. package/dist/jsx/charts/ChartDataView.mjs +1 -1
  433. package/dist/jsx/charts/ChartDataView.native.js +1 -1
  434. package/dist/jsx/code/CodeBlock/index.mjs +1 -1
  435. package/dist/jsx/code/CodeBlock/index.native.js +1 -1
  436. package/dist/jsx/code/LogView.mjs +1 -1
  437. package/dist/jsx/code/LogView.native.js +1 -1
  438. package/dist/jsx/code/LogView.native.js.map +1 -1
  439. package/dist/jsx/code/PayloadView/index.mjs +1 -1
  440. package/dist/jsx/code/PayloadView/index.native.js +1 -1
  441. package/dist/jsx/hooks/useDirection.mjs +1 -26
  442. package/dist/jsx/hooks/useDirection.mjs.map +1 -1
  443. package/dist/jsx/hooks/useDirection.native.js +5 -8
  444. package/dist/jsx/hooks/useDirection.native.js.map +1 -1
  445. package/dist/jsx/index.js +1 -1
  446. package/dist/jsx/index.mjs +1 -1
  447. package/dist/jsx/index.native.js +11 -11
  448. package/dist/jsx/index.native.js.map +1 -1
  449. package/dist/jsx/layouts/IdentityPlate.mjs +1 -1
  450. package/dist/jsx/layouts/IdentityPlate.mjs.map +1 -1
  451. package/dist/jsx/layouts/IdentityPlate.native.js +2 -2
  452. package/dist/jsx/layouts/IdentityPlate.native.js.map +1 -1
  453. package/dist/jsx/layouts/attachments.mjs +1 -3
  454. package/dist/jsx/layouts/attachments.mjs.map +1 -1
  455. package/dist/jsx/layouts/attachments.native.js +1 -3
  456. package/dist/jsx/layouts/attachments.native.js.map +1 -1
  457. package/dist/jsx/layouts/page.mjs +1 -1
  458. package/dist/jsx/layouts/page.native.js +1 -1
  459. package/dist/jsx/layouts/sidebar.mjs +1 -1
  460. package/dist/jsx/layouts/sidebar.native.js +1 -1
  461. package/dist/jsx/layouts/tags.mjs +1 -1
  462. package/dist/jsx/layouts/tags.native.js +1 -1
  463. package/dist/jsx/layouts/toolbar.mjs +1 -1
  464. package/dist/jsx/layouts/toolbar.native.js +1 -1
  465. package/dist/jsx/layouts/toolbar.native.js.map +1 -1
  466. package/dist/jsx/tamagui.mjs +1 -1
  467. package/dist/jsx/tamagui.native.js +1 -1
  468. package/dist/jsx/views/Calendar.mjs +1 -1
  469. package/dist/jsx/views/Calendar.native.js +1 -1
  470. package/dist/jsx/views/Dashboard.mjs +1 -1
  471. package/dist/jsx/views/Dashboard.native.js +1 -1
  472. package/dist/jsx/views/Dashboard.native.js.map +1 -1
  473. package/dist/jsx/views/FilePreview.mjs +1 -2
  474. package/dist/jsx/views/FilePreview.mjs.map +1 -1
  475. package/dist/jsx/views/FilePreview.native.js +1 -2
  476. package/dist/jsx/views/Gantt.mjs +1 -1
  477. package/dist/jsx/views/Gantt.native.js +1 -1
  478. package/dist/jsx/views/Kanban.mjs +1 -1
  479. package/dist/jsx/views/Kanban.native.js +1 -1
  480. package/dist/jsx/views/Matrix.mjs +1 -1
  481. package/dist/jsx/views/Matrix.native.js +1 -1
  482. package/dist/jsx/views/Matrix.native.js.map +1 -1
  483. package/dist/jsx/views/ReportBuilder.mjs +1 -1
  484. package/dist/jsx/views/ReportBuilder.native.js +1 -1
  485. package/package.json +7 -7
  486. package/src/Carousel/Carousel.native.spec.tsx +4 -2
  487. package/src/DropDownPanel/index.tsx +2 -2
  488. package/src/ScrollView.ts +2 -0
  489. package/src/SheetModal/SheetModal.stories.tsx +36 -4
  490. package/src/SheetModal/index.native.tsx +2 -2
  491. package/src/SheetModal/index.tsx +2 -2
  492. package/src/feedback/ConfirmDialog.stories.tsx +41 -5
  493. package/src/hooks/useDirection.ts +2 -67
  494. package/src/index.ts +1 -1
  495. package/src/layouts/IdentityPlate.native-press.spec.tsx +3 -3
  496. package/src/layouts/IdentityPlate.tsx +1 -1
  497. package/src/layouts/attachments.tsx +1 -1
  498. package/src/linearGradientSetup.native.spec.ts +2 -2
  499. package/src/tamagui.ts +1 -1
  500. package/src/views/FilePreview.tsx +1 -1
  501. package/types/ScrollView.d.ts +3 -0
  502. package/types/ScrollView.d.ts.map +1 -0
  503. package/types/hooks/useDirection.d.ts +2 -28
  504. package/types/hooks/useDirection.d.ts.map +1 -1
  505. package/types/index.d.ts +1 -1
  506. package/types/index.d.ts.map +1 -1
  507. package/types/layouts/IdentityPlate.d.ts.map +1 -1
  508. package/dist/cjs/OverflowRow/index.cjs +0 -239
  509. package/dist/cjs/OverflowRow/index.native.js +0 -252
  510. package/dist/cjs/OverflowRow/index.native.js.map +0 -1
  511. package/dist/cjs/ScrollView/index.native.js +0 -89
  512. package/dist/cjs/ScrollView/index.native.js.map +0 -1
  513. package/dist/cjs/ScrollView/revealFocusedField.native.js +0 -39
  514. package/dist/cjs/ScrollView/revealFocusedField.native.js.map +0 -1
  515. package/dist/cjs/ScrollView/useRevealFocusedField.native.js +0 -76
  516. package/dist/cjs/ScrollView/useRevealFocusedField.native.js.map +0 -1
  517. package/dist/esm/OverflowRow/index.mjs +0 -213
  518. package/dist/esm/OverflowRow/index.mjs.map +0 -1
  519. package/dist/esm/OverflowRow/index.native.js +0 -223
  520. package/dist/esm/OverflowRow/index.native.js.map +0 -1
  521. package/dist/esm/ScrollView/index.mjs +0 -3
  522. package/dist/esm/ScrollView/index.mjs.map +0 -1
  523. package/dist/esm/ScrollView/index.native.js +0 -61
  524. package/dist/esm/ScrollView/index.native.js.map +0 -1
  525. package/dist/esm/ScrollView/revealFocusedField.mjs +0 -11
  526. package/dist/esm/ScrollView/revealFocusedField.mjs.map +0 -1
  527. package/dist/esm/ScrollView/revealFocusedField.native.js +0 -11
  528. package/dist/esm/ScrollView/revealFocusedField.native.js.map +0 -1
  529. package/dist/esm/ScrollView/useRevealFocusedField.mjs +0 -3
  530. package/dist/esm/ScrollView/useRevealFocusedField.mjs.map +0 -1
  531. package/dist/esm/ScrollView/useRevealFocusedField.native.js +0 -48
  532. package/dist/esm/ScrollView/useRevealFocusedField.native.js.map +0 -1
  533. package/dist/jsx/OverflowRow/index.mjs +0 -213
  534. package/dist/jsx/OverflowRow/index.mjs.map +0 -1
  535. package/dist/jsx/OverflowRow/index.native.js +0 -252
  536. package/dist/jsx/OverflowRow/index.native.js.map +0 -1
  537. package/dist/jsx/ScrollView/index.mjs +0 -3
  538. package/dist/jsx/ScrollView/index.mjs.map +0 -1
  539. package/dist/jsx/ScrollView/index.native.js +0 -89
  540. package/dist/jsx/ScrollView/index.native.js.map +0 -1
  541. package/dist/jsx/ScrollView/revealFocusedField.mjs +0 -11
  542. package/dist/jsx/ScrollView/revealFocusedField.mjs.map +0 -1
  543. package/dist/jsx/ScrollView/revealFocusedField.native.js +0 -39
  544. package/dist/jsx/ScrollView/revealFocusedField.native.js.map +0 -1
  545. package/dist/jsx/ScrollView/useRevealFocusedField.mjs +0 -3
  546. package/dist/jsx/ScrollView/useRevealFocusedField.mjs.map +0 -1
  547. package/dist/jsx/ScrollView/useRevealFocusedField.native.js +0 -76
  548. package/dist/jsx/ScrollView/useRevealFocusedField.native.js.map +0 -1
  549. package/src/OverflowRow/OverflowRow.native.spec.tsx +0 -335
  550. package/src/OverflowRow/OverflowRow.spec.tsx +0 -51
  551. package/src/OverflowRow/OverflowRow.stories.tsx +0 -138
  552. package/src/OverflowRow/index.tsx +0 -264
  553. package/src/ScrollView/ScrollView.native.spec.tsx +0 -278
  554. package/src/ScrollView/index.native.tsx +0 -68
  555. package/src/ScrollView/index.tsx +0 -2
  556. package/src/ScrollView/revealFocusedField.spec.ts +0 -26
  557. package/src/ScrollView/revealFocusedField.ts +0 -24
  558. package/src/ScrollView/useRevealFocusedField.native.ts +0 -65
  559. package/src/ScrollView/useRevealFocusedField.ts +0 -4
  560. package/src/hooks/useDirection.native.ts +0 -16
  561. package/src/hooks/useDirection.spec.tsx +0 -89
  562. package/types/OverflowRow/index.d.ts +0 -12
  563. package/types/OverflowRow/index.d.ts.map +0 -1
  564. package/types/ScrollView/index.d.ts +0 -3
  565. package/types/ScrollView/index.d.ts.map +0 -1
  566. package/types/ScrollView/index.native.d.ts +0 -4
  567. package/types/ScrollView/index.native.d.ts.map +0 -1
  568. package/types/ScrollView/revealFocusedField.d.ts +0 -15
  569. package/types/ScrollView/revealFocusedField.d.ts.map +0 -1
  570. package/types/ScrollView/useRevealFocusedField.d.ts +0 -4
  571. package/types/ScrollView/useRevealFocusedField.d.ts.map +0 -1
  572. package/types/ScrollView/useRevealFocusedField.native.d.ts +0 -12
  573. package/types/ScrollView/useRevealFocusedField.native.d.ts.map +0 -1
  574. package/types/hooks/useDirection.native.d.ts +0 -11
  575. package/types/hooks/useDirection.native.d.ts.map +0 -1
@@ -1,278 +0,0 @@
1
- /**
2
- * MPO-368: on native, a consumer onScroll must reach the React Native
3
- * ScrollView. These cases run tamagui's NATIVE build (see
4
- * ../../tests/nativeTamagui.ts); vitest's usual web build keeps onScroll and
5
- * would pass with or without the fix.
6
- */
7
- import { existsSync, readdirSync, readFileSync } from "node:fs";
8
- import { join, relative } from "node:path";
9
- import { act, createElement, createRef } from "react";
10
- import { createRoot, type Root } from "react-dom/client";
11
- import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from "vitest";
12
-
13
- const runtime = await vi.hoisted(async () => {
14
- const { loadNativeTamagui } = await import("../../tests/nativeTamagui");
15
- return loadNativeTamagui();
16
- });
17
-
18
- vi.mock("react-native-web", () => runtime.reactNative);
19
- vi.mock("tamagui", () => ({ ...runtime.core, ScrollView: runtime.RawScrollView }));
20
-
21
- const { ScrollView } = await import("./index.native");
22
-
23
- const { TamaguiProvider, createTamagui, createTokens, styled } = runtime.core;
24
- const previousGlobalConfig = (globalThis as { __tamaguiConfig?: unknown }).__tamaguiConfig;
25
- const config = createTamagui({
26
- tokens: createTokens({ size: {}, space: {}, radius: {}, zIndex: {}, color: {} }),
27
- themes: { light: {} },
28
- shorthands: {},
29
- media: {},
30
- });
31
-
32
- let container: HTMLDivElement;
33
- let root: Root;
34
-
35
- beforeAll(() => {
36
- (globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
37
- });
38
-
39
- afterEach(() => {
40
- act(() => root?.unmount());
41
- container?.remove();
42
- runtime.resetHosts();
43
- });
44
-
45
- afterAll(() => {
46
- (globalThis as { __tamaguiConfig?: unknown }).__tamaguiConfig = previousGlobalConfig;
47
- });
48
-
49
- function render(element: React.ReactElement) {
50
- container = document.createElement("div");
51
- document.body.append(container);
52
- root = createRoot(container);
53
- act(() => {
54
- root.render(createElement(TamaguiProvider, { config, defaultTheme: "light" }, element));
55
- });
56
- return runtime.lastHostProps("ScrollView") ?? {};
57
- }
58
-
59
- type AnyScrollView = React.ComponentType<Record<string, unknown>>;
60
-
61
- function scrollProps(): Record<string, unknown> {
62
- return {
63
- testID: "probe",
64
- scrollEventThrottle: 32,
65
- onScroll: vi.fn(),
66
- onContentSizeChange: vi.fn(),
67
- };
68
- }
69
-
70
- describe("tamagui native ScrollView (upstream control)", () => {
71
- it("lists onScroll in its native skip props", () => {
72
- expect(runtime.skipProps.onScroll).toBe(1);
73
- });
74
-
75
- it("drops a consumer onScroll before the RN ScrollView while other handlers pass", () => {
76
- const props = scrollProps();
77
- const host = render(createElement(runtime.RawScrollView as AnyScrollView, props));
78
- expect(host.onContentSizeChange).toBe(props.onContentSizeChange);
79
- expect(host.onScroll).toBeUndefined();
80
- });
81
-
82
- it("leaves keyboardShouldPersistTaps unset, so RN falls back to never", () => {
83
- const host = render(createElement(runtime.RawScrollView as AnyScrollView, { testID: "probe" }));
84
- expect(host.keyboardShouldPersistTaps).toBeUndefined();
85
- });
86
- });
87
-
88
- describe("components ScrollView keyboard taps on native (MPO-457)", () => {
89
- it("dismisses the iOS keyboard interactively while dragging", () => {
90
- const host = render(createElement(ScrollView as unknown as AnyScrollView, {}));
91
- expect(host.keyboardDismissMode).toBe("interactive");
92
- });
93
-
94
- it("preserves an explicit keyboard dismissal policy", () => {
95
- const host = render(
96
- createElement(ScrollView as unknown as AnyScrollView, { keyboardDismissMode: "none" }),
97
- );
98
- expect(host.keyboardDismissMode).toBe("none");
99
- });
100
-
101
- it("hands keyboardShouldPersistTaps=handled to the RN ScrollView by default", () => {
102
- const host = render(createElement(ScrollView as unknown as AnyScrollView, { testID: "probe" }));
103
- expect(host.keyboardShouldPersistTaps).toBe("handled");
104
- });
105
-
106
- it("keeps the default through a styled() extension", () => {
107
- const Extended = styled(ScrollView, { name: "Extended" });
108
- const host = render(createElement(Extended as unknown as AnyScrollView, { testID: "probe" }));
109
- expect(host.keyboardShouldPersistTaps).toBe("handled");
110
- });
111
-
112
- it("lets a consumer value win", () => {
113
- for (const value of ["never", "always"]) {
114
- const host = render(
115
- createElement(ScrollView as unknown as AnyScrollView, { keyboardShouldPersistTaps: value }),
116
- );
117
- expect(host.keyboardShouldPersistTaps).toBe(value);
118
- act(() => root.unmount());
119
- container.remove();
120
- }
121
- });
122
- });
123
-
124
- describe("components ScrollView on native", () => {
125
- it("hands the consumer onScroll to the RN ScrollView", () => {
126
- const props = scrollProps();
127
- const host = render(createElement(ScrollView as unknown as AnyScrollView, props));
128
- expect(host.onScroll).toBe(props.onScroll);
129
- expect(host.onContentSizeChange).toBe(props.onContentSizeChange);
130
- expect(host.scrollEventThrottle).toBe(32);
131
- expect(host.testID).toBe("probe");
132
- });
133
-
134
- it("gives the RN ScrollView the same props as tamagui's apart from onScroll", () => {
135
- const shared = {
136
- flex: 1,
137
- minHeight: 0,
138
- fullscreen: true,
139
- horizontal: true,
140
- contentContainerStyle: { paddingVertical: 4 },
141
- keyboardShouldPersistTaps: "handled",
142
- keyboardDismissMode: "interactive",
143
- };
144
- const raw = { ...render(createElement(runtime.RawScrollView as AnyScrollView, shared)) };
145
- act(() => root.unmount());
146
- const house = { ...render(createElement(ScrollView as unknown as AnyScrollView, shared)) };
147
- delete house.onScroll;
148
- expect(house).toEqual(raw);
149
- });
150
-
151
- it("forwards its ref to the RN ScrollView instance", () => {
152
- const ref = createRef<unknown>();
153
- render(createElement(ScrollView as unknown as AnyScrollView, { ref }));
154
- expect(ref.current).toBe(runtime.hostInstance("ScrollView"));
155
- });
156
-
157
- it("keeps forwarding onScroll through a styled() extension", () => {
158
- const Extended = styled(ScrollView, { name: "Extended" });
159
- const props = scrollProps();
160
- const host = render(createElement(Extended as unknown as AnyScrollView, props));
161
- expect(host.onScroll).toBe(props.onScroll);
162
- });
163
- });
164
-
165
- describe("catalog onScroll consumers", () => {
166
- it("take the components ScrollView, or route native to the RN ScrollView", () => {
167
- const src = join(import.meta.dirname, "..");
168
- const offenders = sourceFiles(src)
169
- .filter((file) => {
170
- const code = readFileSync(file, "utf8");
171
- return (
172
- /\bonScroll\b/.test(code) &&
173
- importsScrollView(code, "tamagui") &&
174
- !importsScrollView(code, "react-native")
175
- );
176
- })
177
- .map((file) => relative(src, file));
178
- expect(offenders).toEqual([]);
179
- });
180
- });
181
-
182
- describe("catalog scroll owners (MPO-457)", () => {
183
- it("take the components ScrollView, or declare keyboardShouldPersistTaps", () => {
184
- const publicDir = join(import.meta.dirname, "../../..");
185
- const house = join(import.meta.dirname, "index.native.tsx");
186
- const raw: Array<[binding: string, from: string]> = [
187
- ["ScrollView", "tamagui"],
188
- ["ScrollView", "react-native"],
189
- ["FlashList", "@shopify/flash-list"],
190
- ];
191
- const offenders = readdirSync(publicDir, { withFileTypes: true })
192
- .filter((entry) => entry.isDirectory())
193
- .flatMap((entry) => {
194
- const src = join(publicDir, entry.name, "src");
195
- return existsSync(src) ? sourceFiles(src) : [];
196
- })
197
- .filter((file) => file !== house)
198
- .flatMap((file) => {
199
- const code = readFileSync(file, "utf8");
200
- return raw
201
- .flatMap(([name, from]) => importedAs(code, name, from))
202
- .flatMap((local) => [local, ...aliasesOf(code, local)])
203
- .flatMap((local) => openingTags(code, local))
204
- .filter((tag) => !/\bkeyboardShouldPersistTaps\b/.test(tag.text))
205
- .map((tag) => `${relative(publicDir, file)}:${tag.line}`);
206
- });
207
- expect(offenders).toEqual([]);
208
- });
209
-
210
- it("reads a type argument as no tag, so a ref typed by the RN ScrollView owns no scroll", () => {
211
- const code = [
212
- "const scrollRef = useRef<RNScrollView | null>(null);",
213
- "const Scroller = forwardRef<RNScrollView, Props>(render);",
214
- "return <RNScrollView ref={scrollRef} />;",
215
- ].join("\n");
216
- expect(openingTags(code, "RNScrollView").map((tag) => tag.line)).toEqual([3]);
217
- });
218
- });
219
-
220
- function sourceFiles(dir: string): string[] {
221
- const out: string[] = [];
222
- for (const entry of readdirSync(dir, { withFileTypes: true })) {
223
- const path = join(dir, entry.name);
224
- if (entry.isDirectory()) out.push(...sourceFiles(path));
225
- else if (/\.tsx?$/.test(entry.name) && !/\.(spec|test|stories)\./.test(entry.name)) {
226
- out.push(path);
227
- }
228
- }
229
- return out;
230
- }
231
-
232
- function importsScrollView(code: string, from: string): boolean {
233
- const re = new RegExp(`import\\s+\\{([^}]*)\\}\\s+from\\s+["']${from}["']`, "g");
234
- return [...code.matchAll(re)].some((match) =>
235
- match[1]!.split(",").some((part) => /^ScrollView\b/.test(part.trim())),
236
- );
237
- }
238
-
239
- /** Local names a value import of `name` from `from` binds. */
240
- function importedAs(code: string, name: string, from: string): string[] {
241
- const re = new RegExp(`import\\s+\\{([^}]*)\\}\\s+from\\s+["']${from}["']`, "g");
242
- const alias = new RegExp(`^${name}(?:\\s+as\\s+(\\w+))?$`);
243
- return [...code.matchAll(re)].flatMap((match) =>
244
- match[1]!.split(",").flatMap((part) => {
245
- const found = part.trim().match(alias);
246
- return found ? [found[1] ?? name] : [];
247
- }),
248
- );
249
- }
250
-
251
- /** Consts that pick `local`, e.g. `const Scroller = isWeb ? ScrollView : RNScrollView`. */
252
- function aliasesOf(code: string, local: string): string[] {
253
- const re = new RegExp(`const\\s+(\\w+)\\s*=[^;\\n]*\\b${local}\\b`, "g");
254
- return [...code.matchAll(re)].map((match) => match[1]!);
255
- }
256
-
257
- /**
258
- * Every JSX opening tag of `name`, props included, with its line. A `<` right
259
- * after an identifier or a closing bracket opens a type argument, not a tag.
260
- */
261
- function openingTags(code: string, name: string): Array<{ text: string; line: number }> {
262
- const out: Array<{ text: string; line: number }> = [];
263
- for (const match of code.matchAll(new RegExp(`(?<![\\w$.)\\]])<${name}(?![\\w.])`, "g"))) {
264
- let depth = 0;
265
- let end = match.index + match[0].length;
266
- for (; end < code.length; end++) {
267
- const char = code[end];
268
- if (char === "{") depth++;
269
- else if (char === "}") depth--;
270
- else if (char === ">" && depth === 0) break;
271
- }
272
- out.push({
273
- text: code.slice(match.index, end + 1),
274
- line: code.slice(0, match.index).split("\n").length,
275
- });
276
- }
277
- return out;
278
- }
@@ -1,68 +0,0 @@
1
- import { forwardRef, useCallback, useRef, type Ref } from "react";
2
- import {
3
- Platform,
4
- ScrollView as RNScrollView,
5
- type ScrollViewProps as RNScrollViewProps,
6
- } from "react-native";
7
- import { styled, type ScrollView as TamaguiScrollView } from "tamagui";
8
- import { useRevealFocusedField } from "./useRevealFocusedField";
9
-
10
- export type { ScrollViewProps } from "tamagui";
11
-
12
- // tamagui 2.7.6 drops every key in helpers/webPropsToSkip.native (onScroll is
13
- // one) before a non-HOC styled component reaches its host, so its own
14
- // styled(RN ScrollView) never delivers onScroll (MPO-368). The handler rides
15
- // past getSplitStyles under another name and is restored at the RN boundary.
16
- // Drop this file once tamagui forwards onScroll on native; the upstream
17
- // control in ScrollView.native.spec.tsx fails when it does.
18
-
19
- type ScrollHandler = RNScrollViewProps["onScroll"];
20
-
21
- const ScrollHost = forwardRef<RNScrollView, RNScrollViewProps & { scrollHandler?: ScrollHandler }>(
22
- function ScrollHost({ scrollHandler, ...props }, ref) {
23
- const local = useRef<RNScrollView | null>(null);
24
- const setRef = useCallback(
25
- (node: RNScrollView | null) => {
26
- local.current = node;
27
- assignRef(ref, node);
28
- },
29
- [ref],
30
- );
31
- useRevealFocusedField(local, !props.horizontal);
32
- return <RNScrollView ref={setRef} {...props} onScroll={scrollHandler} />;
33
- },
34
- );
35
-
36
- function assignRef<T>(ref: Ref<T> | undefined, value: T | null) {
37
- if (typeof ref === "function") ref(value);
38
- else if (ref) (ref as { current: T | null }).current = value;
39
- }
40
-
41
- const ScrollFrame = styled(
42
- ScrollHost,
43
- {
44
- name: "ScrollView",
45
- scrollEnabled: true,
46
- // MPO-457: at RN's "never" a ScrollView claims, in the capture phase, the
47
- // first tap on any descendant while the keyboard is up, and a native
48
- // sheet's rows are React descendants of the screen that opened it.
49
- keyboardShouldPersistTaps: "handled",
50
- // FZ-7718: dragging the content down pulls the keyboard closed with the
51
- // finger on iOS. Android has no interactive mode, so a drag dismisses it.
52
- keyboardDismissMode: Platform.OS === "ios" ? "interactive" : "on-drag",
53
- variants: {
54
- fullscreen: {
55
- true: { position: "absolute", inset: 0 },
56
- },
57
- } as const,
58
- },
59
- {
60
- accept: {
61
- contentContainerStyle: "style",
62
- } as const,
63
- },
64
- );
65
-
66
- export const ScrollView = ScrollFrame.styleable(function ScrollView({ onScroll, ...props }, ref) {
67
- return <ScrollFrame ref={ref} {...props} scrollHandler={onScroll} />;
68
- }) as unknown as typeof TamaguiScrollView;
@@ -1,2 +0,0 @@
1
- export { ScrollView } from "tamagui";
2
- export type { ScrollViewProps } from "tamagui";
@@ -1,26 +0,0 @@
1
- import { describe, expect, it } from "vitest";
2
- import { revealOffset } from "./revealFocusedField";
3
-
4
- const viewport = { offset: 100, height: 300 };
5
-
6
- describe("revealOffset (FZ-7718)", () => {
7
- it("leaves a field that is already in view", () => {
8
- expect(revealOffset({ top: 150, bottom: 190 }, viewport, 16)).toBeUndefined();
9
- });
10
-
11
- it("scrolls down until a field below the fold clears it by the margin", () => {
12
- expect(revealOffset({ top: 420, bottom: 460 }, viewport, 16)).toBe(176);
13
- });
14
-
15
- it("scrolls up to a field above the viewport", () => {
16
- expect(revealOffset({ top: 40, bottom: 80 }, viewport, 16)).toBe(24);
17
- });
18
-
19
- it("keeps the top of a field taller than the viewport in view", () => {
20
- expect(revealOffset({ top: 500, bottom: 1000 }, viewport, 16)).toBe(484);
21
- });
22
-
23
- it("never scrolls past the top", () => {
24
- expect(revealOffset({ top: 4, bottom: 44 }, viewport, 16)).toBe(0);
25
- });
26
- });
@@ -1,24 +0,0 @@
1
- export interface Span {
2
- top: number;
3
- bottom: number;
4
- }
5
-
6
- export interface Viewport {
7
- offset: number;
8
- height: number;
9
- }
10
-
11
- /**
12
- * The scroll offset that brings a focused field into view with `margin` to
13
- * spare, or undefined when it is already in view. A field taller than the
14
- * viewport keeps its top edge visible.
15
- */
16
- export function revealOffset(field: Span, viewport: Viewport, margin: number): number | undefined {
17
- const top = field.top - margin;
18
- const bottom = field.bottom + margin;
19
- if (top < viewport.offset) return Math.max(0, top);
20
- if (bottom > viewport.offset + viewport.height) {
21
- return Math.max(0, Math.min(top, bottom - viewport.height));
22
- }
23
- return undefined;
24
- }
@@ -1,65 +0,0 @@
1
- import { type RefObject, useEffect } from "react";
2
- import { Keyboard, TextInput, type ScrollView } from "react-native";
3
- import { tokenNumber } from "@multiplatform.one/theme";
4
- import { revealOffset } from "./revealFocusedField";
5
-
6
- type Measured = (x: number, y: number, width: number, height: number) => void;
7
-
8
- interface HostNode {
9
- measureInWindow: (done: Measured) => void;
10
- measureLayout: (relativeTo: HostNode, done: Measured, fail?: () => void) => void;
11
- }
12
-
13
- interface ScrollInstance {
14
- getInnerViewRef?: () => HostNode | null;
15
- getNativeScrollRef?: () => HostNode | null;
16
- scrollTo: (options: { y: number; animated: boolean }) => void;
17
- }
18
-
19
- /**
20
- * FZ-7718: once the keyboard is up, scroll the focused field into the part of
21
- * this ScrollView that is still visible. iOS posts keyboardDidShow again each
22
- * time focus moves to another field, so Return-to-next lands here too. The
23
- * native automaticallyAdjustKeyboardInsets only measures against the
24
- * keyboard's top edge, which misses a field hidden behind a panel the page
25
- * keeps above the keyboard.
26
- */
27
- export function useRevealFocusedField(ref: RefObject<ScrollView | null>, enabled: boolean) {
28
- useEffect(() => {
29
- if (!enabled) return;
30
- let frame = 0;
31
- const subscription = Keyboard.addListener("keyboardDidShow", () => {
32
- cancelAnimationFrame(frame);
33
- frame = requestAnimationFrame(() => reveal(ref.current as unknown as ScrollInstance | null));
34
- });
35
- return () => {
36
- cancelAnimationFrame(frame);
37
- subscription.remove();
38
- };
39
- }, [enabled, ref]);
40
- }
41
-
42
- function reveal(scroll: ScrollInstance | null) {
43
- const input = TextInput.State.currentlyFocusedInput?.() as unknown as HostNode | null;
44
- const inner = scroll?.getInnerViewRef?.();
45
- const frame = scroll?.getNativeScrollRef?.();
46
- if (!scroll || !input || !inner || !frame) return;
47
- const margin = tokenNumber("space", 4) ?? 0;
48
- // A field outside this ScrollView fails measureLayout and is left alone.
49
- input.measureLayout(
50
- inner,
51
- (_x, top, _width, height) => {
52
- frame.measureInWindow((_fx, frameY, _fw, frameHeight) => {
53
- inner.measureInWindow((_ix, innerY) => {
54
- const y = revealOffset(
55
- { top, bottom: top + height },
56
- { offset: frameY - innerY, height: frameHeight },
57
- margin,
58
- );
59
- if (y !== undefined) scroll.scrollTo({ y, animated: true });
60
- });
61
- });
62
- },
63
- () => {},
64
- );
65
- }
@@ -1,4 +0,0 @@
1
- import type { RefObject } from "react";
2
-
3
- /** Web: the browser scrolls a focused field into view itself. */
4
- export function useRevealFocusedField(_ref: RefObject<unknown>, _enabled: boolean) {}
@@ -1,16 +0,0 @@
1
- /**
2
- * useDirection (native) — see useDirection.ts for the contract.
3
- *
4
- * React Native exposes direction through `I18nManager.isRTL`, which is fixed
5
- * for the app session (changing it requires a reload), so no subscription is
6
- * needed — the value cannot change while mounted.
7
- */
8
-
9
- import { I18nManager } from "react-native";
10
-
11
- export type Direction = "ltr" | "rtl";
12
-
13
- /** Returns the current writing direction (`"ltr"` | `"rtl"`). */
14
- export function useDirection(): Direction {
15
- return I18nManager.isRTL ? "rtl" : "ltr";
16
- }
@@ -1,89 +0,0 @@
1
- /**
2
- * useDirection — web direction detection (RTL audit backlog #1).
3
- * Covers the document-level `dir` resolution order (body wins over html),
4
- * non-explicit values falling through, live reaction to `dir` flips
5
- * (MutationObserver), and the ltr default.
6
- */
7
-
8
- import { act, renderHook } from "@testing-library/react";
9
- import { afterEach, describe, expect, it } from "vitest";
10
- import { useDirection } from "./useDirection";
11
-
12
- const clearDirs = () => {
13
- document.documentElement.removeAttribute("dir");
14
- document.body.removeAttribute("dir");
15
- };
16
-
17
- afterEach(clearDirs);
18
-
19
- describe("useDirection (web)", () => {
20
- it("defaults to ltr when no dir attribute is set", () => {
21
- clearDirs();
22
- const { result } = renderHook(() => useDirection());
23
- expect(result.current).toBe("ltr");
24
- });
25
-
26
- it("reads dir=rtl set before mount (probe pattern: dir at first paint)", () => {
27
- // Element-level reflected property, exactly what the RTL probe init
28
- // script sets. (happy-dom does not reflect the `document.dir` setter
29
- // onto <html dir>, so tests use the element form browsers reflect.)
30
- document.documentElement.dir = "rtl";
31
- const { result } = renderHook(() => useDirection());
32
- expect(result.current).toBe("rtl");
33
- });
34
-
35
- it("prefers the body dir over the html dir (nearest attribute wins)", () => {
36
- document.documentElement.setAttribute("dir", "rtl");
37
- document.body.setAttribute("dir", "ltr");
38
- const { result } = renderHook(() => useDirection());
39
- expect(result.current).toBe("ltr");
40
-
41
- document.body.setAttribute("dir", "rtl");
42
- document.documentElement.setAttribute("dir", "ltr");
43
- const { result: flipped } = renderHook(() => useDirection());
44
- expect(flipped.current).toBe("rtl");
45
- });
46
-
47
- it('treats "auto" and empty dir values as non-explicit and falls through', () => {
48
- document.body.setAttribute("dir", "auto");
49
- document.documentElement.setAttribute("dir", "rtl");
50
- const { result } = renderHook(() => useDirection());
51
- expect(result.current).toBe("rtl");
52
-
53
- document.documentElement.setAttribute("dir", "");
54
- const { result: fallback } = renderHook(() => useDirection());
55
- expect(fallback.current).toBe("ltr");
56
- });
57
-
58
- it("reacts to runtime dir flips in both directions (MutationObserver)", async () => {
59
- clearDirs();
60
- const { result } = renderHook(() => useDirection());
61
- expect(result.current).toBe("ltr");
62
-
63
- await act(async () => {
64
- document.documentElement.dir = "rtl";
65
- });
66
- expect(result.current).toBe("rtl");
67
-
68
- await act(async () => {
69
- document.documentElement.dir = "ltr";
70
- });
71
- expect(result.current).toBe("ltr");
72
- });
73
-
74
- it("reacts to body-level dir changes", async () => {
75
- clearDirs();
76
- const { result } = renderHook(() => useDirection());
77
- expect(result.current).toBe("ltr");
78
-
79
- await act(async () => {
80
- document.body.setAttribute("dir", "rtl");
81
- });
82
- expect(result.current).toBe("rtl");
83
-
84
- await act(async () => {
85
- document.body.removeAttribute("dir");
86
- });
87
- expect(result.current).toBe("ltr");
88
- });
89
- });
@@ -1,12 +0,0 @@
1
- import { type SizeKey } from "@multiplatform.one/theme";
2
- import { type ColorTokens, type SpaceTokens, type YStackProps } from "tamagui";
3
- import { type ScrollViewProps } from "../ScrollView";
4
- import "../linearGradientSetup";
5
- export interface OverflowRowProps extends Omit<ScrollViewProps, "horizontal"> {
6
- fade?: SizeKey | false;
7
- fadeColor?: ColorTokens;
8
- gap?: SpaceTokens;
9
- containerProps?: Omit<YStackProps, "children">;
10
- }
11
- export declare const OverflowRow: import("react").ForwardRefExoticComponent<OverflowRowProps & import("react").RefAttributes<import("react-native").ScrollView>>;
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/OverflowRow/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwC,KAAK,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAY9F,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,SAAS,CAAC;AAIjB,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC;IAC3E,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACvB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,cAAc,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;CAChD;AAwBD,eAAO,MAAM,WAAW,gIA8MvB,CAAC"}
@@ -1,3 +0,0 @@
1
- export { ScrollView } from "tamagui";
2
- export type { ScrollViewProps } from "tamagui";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ScrollView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type ScrollView as TamaguiScrollView } from "tamagui";
2
- export type { ScrollViewProps } from "tamagui";
3
- export declare const ScrollView: typeof TamaguiScrollView;
4
- //# sourceMappingURL=index.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/ScrollView/index.native.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGvE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAwD/C,eAAO,MAAM,UAAU,EAEN,OAAO,iBAAiB,CAAC"}
@@ -1,15 +0,0 @@
1
- export interface Span {
2
- top: number;
3
- bottom: number;
4
- }
5
- export interface Viewport {
6
- offset: number;
7
- height: number;
8
- }
9
- /**
10
- * The scroll offset that brings a focused field into view with `margin` to
11
- * spare, or undefined when it is already in view. A field taller than the
12
- * viewport keeps its top edge visible.
13
- */
14
- export declare function revealOffset(field: Span, viewport: Viewport, margin: number): number | undefined;
15
- //# sourceMappingURL=revealFocusedField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"revealFocusedField.d.ts","sourceRoot":"","sources":["../../src/ScrollView/revealFocusedField.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQhG"}
@@ -1,4 +0,0 @@
1
- import type { RefObject } from "react";
2
- /** Web: the browser scrolls a focused field into view itself. */
3
- export declare function useRevealFocusedField(_ref: RefObject<unknown>, _enabled: boolean): void;
4
- //# sourceMappingURL=useRevealFocusedField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRevealFocusedField.d.ts","sourceRoot":"","sources":["../../src/ScrollView/useRevealFocusedField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,iEAAiE;AACjE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,OAAO,QAAI"}
@@ -1,12 +0,0 @@
1
- import { type RefObject } from "react";
2
- import { type ScrollView } from "react-native";
3
- /**
4
- * FZ-7718: once the keyboard is up, scroll the focused field into the part of
5
- * this ScrollView that is still visible. iOS posts keyboardDidShow again each
6
- * time focus moves to another field, so Return-to-next lands here too. The
7
- * native automaticallyAdjustKeyboardInsets only measures against the
8
- * keyboard's top edge, which misses a field hidden behind a panel the page
9
- * keeps above the keyboard.
10
- */
11
- export declare function useRevealFocusedField(ref: RefObject<ScrollView | null>, enabled: boolean): void;
12
- //# sourceMappingURL=useRevealFocusedField.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRevealFocusedField.native.d.ts","sourceRoot":"","sources":["../../src/ScrollView/useRevealFocusedField.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAClD,OAAO,EAAuB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAiBpE;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,QAaxF"}