@expo/ui 56.0.17 → 56.0.19

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 (434) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/ui/DatePickerView.kt +33 -8
  4. package/android/src/main/java/expo/modules/ui/ModalBottomSheetView.kt +14 -0
  5. package/build/community/bottom-sheet/BottomSheet.android.d.ts.map +1 -1
  6. package/build/community/bottom-sheet/BottomSheet.ios.d.ts.map +1 -1
  7. package/build/community/bottom-sheet/scrollContextReset.d.ts +5 -0
  8. package/build/community/bottom-sheet/scrollContextReset.d.ts.map +1 -0
  9. package/build/community/datetime-picker/DateTimePicker.d.ts.map +1 -1
  10. package/build/community/datetime-picker/types.d.ts +2 -2
  11. package/build/community/datetime-picker/types.d.ts.map +1 -1
  12. package/build/community/menu/types.d.ts +2 -2
  13. package/build/community/menu/types.d.ts.map +1 -1
  14. package/build/community/pager-view/PagerView.android.d.ts.map +1 -1
  15. package/build/community/pager-view/types.d.ts +2 -2
  16. package/build/community/pager-view/types.d.ts.map +1 -1
  17. package/build/community/segmented-control/types.d.ts +2 -2
  18. package/build/community/segmented-control/types.d.ts.map +1 -1
  19. package/build/community/slider/types.d.ts +2 -2
  20. package/build/community/slider/types.d.ts.map +1 -1
  21. package/build/jetpack-compose/AlertDialog/index.d.ts +2 -2
  22. package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
  23. package/build/jetpack-compose/AnimatedVisibility/index.d.ts +2 -2
  24. package/build/jetpack-compose/AnimatedVisibility/index.d.ts.map +1 -1
  25. package/build/jetpack-compose/Badge/index.d.ts +2 -2
  26. package/build/jetpack-compose/Badge/index.d.ts.map +1 -1
  27. package/build/jetpack-compose/BadgedBox/index.d.ts +2 -2
  28. package/build/jetpack-compose/BadgedBox/index.d.ts.map +1 -1
  29. package/build/jetpack-compose/BasicAlertDialog/index.d.ts +2 -2
  30. package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -1
  31. package/build/jetpack-compose/Box/index.d.ts +2 -2
  32. package/build/jetpack-compose/Box/index.d.ts.map +1 -1
  33. package/build/jetpack-compose/Button/index.d.ts +2 -2
  34. package/build/jetpack-compose/Button/index.d.ts.map +1 -1
  35. package/build/jetpack-compose/Card/index.d.ts +6 -6
  36. package/build/jetpack-compose/Card/index.d.ts.map +1 -1
  37. package/build/jetpack-compose/Carousel/index.d.ts +6 -6
  38. package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
  39. package/build/jetpack-compose/Checkbox/index.d.ts +4 -4
  40. package/build/jetpack-compose/Checkbox/index.d.ts.map +1 -1
  41. package/build/jetpack-compose/Chip/index.d.ts +8 -8
  42. package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
  43. package/build/jetpack-compose/Column/index.d.ts +2 -2
  44. package/build/jetpack-compose/Column/index.d.ts.map +1 -1
  45. package/build/jetpack-compose/DatePicker/index.d.ts +6 -6
  46. package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
  47. package/build/jetpack-compose/DockedSearchBar/index.d.ts +2 -2
  48. package/build/jetpack-compose/DockedSearchBar/index.d.ts.map +1 -1
  49. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  50. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
  51. package/build/jetpack-compose/DropdownMenu/index.d.ts +2 -2
  52. package/build/jetpack-compose/DropdownMenu/index.d.ts.map +1 -1
  53. package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts +2 -2
  54. package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts.map +1 -1
  55. package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts +2 -2
  56. package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts.map +1 -1
  57. package/build/jetpack-compose/FloatingActionButton/index.d.ts +8 -6
  58. package/build/jetpack-compose/FloatingActionButton/index.d.ts.map +1 -1
  59. package/build/jetpack-compose/FlowRow/index.d.ts +2 -2
  60. package/build/jetpack-compose/FlowRow/index.d.ts.map +1 -1
  61. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +4 -4
  62. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -1
  63. package/build/jetpack-compose/HorizontalPager/index.d.ts +2 -2
  64. package/build/jetpack-compose/HorizontalPager/index.d.ts.map +1 -1
  65. package/build/jetpack-compose/Host/index.d.ts +2 -2
  66. package/build/jetpack-compose/Host/index.d.ts.map +1 -1
  67. package/build/jetpack-compose/Icon/index.d.ts +2 -2
  68. package/build/jetpack-compose/Icon/index.d.ts.map +1 -1
  69. package/build/jetpack-compose/IconButton/index.d.ts +2 -2
  70. package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
  71. package/build/jetpack-compose/LazyColumn/index.d.ts +2 -2
  72. package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -1
  73. package/build/jetpack-compose/LazyRow/index.d.ts +2 -2
  74. package/build/jetpack-compose/LazyRow/index.d.ts.map +1 -1
  75. package/build/jetpack-compose/ListItem/index.d.ts +2 -2
  76. package/build/jetpack-compose/ListItem/index.d.ts.map +1 -1
  77. package/build/jetpack-compose/LoadingIndicator/index.d.ts +2 -2
  78. package/build/jetpack-compose/LoadingIndicator/index.d.ts.map +1 -1
  79. package/build/jetpack-compose/ModalBottomSheet/index.d.ts +8 -2
  80. package/build/jetpack-compose/ModalBottomSheet/index.d.ts.map +1 -1
  81. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts +2 -2
  82. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts.map +1 -1
  83. package/build/jetpack-compose/NavigationBar/index.d.ts +4 -4
  84. package/build/jetpack-compose/NavigationBar/index.d.ts.map +1 -1
  85. package/build/jetpack-compose/Progress/index.d.ts +9 -8
  86. package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
  87. package/build/jetpack-compose/PullToRefreshBox/index.d.ts +4 -4
  88. package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -1
  89. package/build/jetpack-compose/RNHostView/index.d.ts +8 -0
  90. package/build/jetpack-compose/RNHostView/index.d.ts.map +1 -1
  91. package/build/jetpack-compose/RadioButton/index.d.ts +2 -2
  92. package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -1
  93. package/build/jetpack-compose/Row/index.d.ts +2 -2
  94. package/build/jetpack-compose/Row/index.d.ts.map +1 -1
  95. package/build/jetpack-compose/SearchBar/index.d.ts +2 -2
  96. package/build/jetpack-compose/SearchBar/index.d.ts.map +1 -1
  97. package/build/jetpack-compose/SegmentedButton/index.d.ts +2 -2
  98. package/build/jetpack-compose/SegmentedButton/index.d.ts.map +1 -1
  99. package/build/jetpack-compose/Shape/index.d.ts +2 -2
  100. package/build/jetpack-compose/Shape/index.d.ts.map +1 -1
  101. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts +2 -2
  102. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts.map +1 -1
  103. package/build/jetpack-compose/Slider/index.d.ts +2 -2
  104. package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
  105. package/build/jetpack-compose/Snackbar/index.d.ts +4 -4
  106. package/build/jetpack-compose/Snackbar/index.d.ts.map +1 -1
  107. package/build/jetpack-compose/Spacer/index.d.ts +2 -2
  108. package/build/jetpack-compose/Spacer/index.d.ts.map +1 -1
  109. package/build/jetpack-compose/Surface/index.d.ts +2 -2
  110. package/build/jetpack-compose/Surface/index.d.ts.map +1 -1
  111. package/build/jetpack-compose/Switch/index.d.ts +2 -2
  112. package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
  113. package/build/jetpack-compose/SyncSwitch/index.d.ts +2 -2
  114. package/build/jetpack-compose/SyncSwitch/index.d.ts.map +1 -1
  115. package/build/jetpack-compose/Text/index.d.ts +2 -2
  116. package/build/jetpack-compose/Text/index.d.ts.map +1 -1
  117. package/build/jetpack-compose/TextField/BasicTextField.d.ts +2 -2
  118. package/build/jetpack-compose/TextField/BasicTextField.d.ts.map +1 -1
  119. package/build/jetpack-compose/TextField/TextField.d.ts +4 -4
  120. package/build/jetpack-compose/TextField/TextField.d.ts.map +1 -1
  121. package/build/jetpack-compose/ToggleButton/index.d.ts +2 -2
  122. package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -1
  123. package/build/jetpack-compose/Tooltip/index.d.ts +6 -6
  124. package/build/jetpack-compose/Tooltip/index.d.ts.map +1 -1
  125. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +2 -1
  126. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -1
  127. package/build/swift-ui/Alert/index.d.ts +2 -2
  128. package/build/swift-ui/Alert/index.d.ts.map +1 -1
  129. package/build/swift-ui/BottomSheet/index.d.ts +2 -2
  130. package/build/swift-ui/BottomSheet/index.d.ts.map +1 -1
  131. package/build/swift-ui/Button/index.d.ts +2 -2
  132. package/build/swift-ui/Button/index.d.ts.map +1 -1
  133. package/build/swift-ui/Chart/index.d.ts +2 -2
  134. package/build/swift-ui/Chart/index.d.ts.map +1 -1
  135. package/build/swift-ui/ColorPicker/index.d.ts +2 -2
  136. package/build/swift-ui/ColorPicker/index.d.ts.map +1 -1
  137. package/build/swift-ui/ConfirmationDialog/index.d.ts +2 -2
  138. package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
  139. package/build/swift-ui/ContextMenu/types.d.ts +4 -4
  140. package/build/swift-ui/ContextMenu/types.d.ts.map +1 -1
  141. package/build/swift-ui/DatePicker/index.d.ts +2 -2
  142. package/build/swift-ui/DatePicker/index.d.ts.map +1 -1
  143. package/build/swift-ui/Divider/index.d.ts +2 -1
  144. package/build/swift-ui/Divider/index.d.ts.map +1 -1
  145. package/build/swift-ui/Gauge/index.d.ts +2 -2
  146. package/build/swift-ui/Gauge/index.d.ts.map +1 -1
  147. package/build/swift-ui/GlassEffectContainer/index.d.ts +2 -2
  148. package/build/swift-ui/GlassEffectContainer/index.d.ts.map +1 -1
  149. package/build/swift-ui/Grid/index.d.ts +2 -2
  150. package/build/swift-ui/Grid/index.d.ts.map +1 -1
  151. package/build/swift-ui/HStack/index.d.ts +2 -2
  152. package/build/swift-ui/HStack/index.d.ts.map +1 -1
  153. package/build/swift-ui/Host/index.d.ts +9 -3
  154. package/build/swift-ui/Host/index.d.ts.map +1 -1
  155. package/build/swift-ui/Label/index.d.ts +2 -2
  156. package/build/swift-ui/Label/index.d.ts.map +1 -1
  157. package/build/swift-ui/LabeledContent/index.d.ts +2 -2
  158. package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
  159. package/build/swift-ui/LazyHStack/index.d.ts +2 -2
  160. package/build/swift-ui/LazyHStack/index.d.ts.map +1 -1
  161. package/build/swift-ui/LazyVStack/index.d.ts +2 -2
  162. package/build/swift-ui/LazyVStack/index.d.ts.map +1 -1
  163. package/build/swift-ui/Link/index.d.ts +2 -2
  164. package/build/swift-ui/Link/index.d.ts.map +1 -1
  165. package/build/swift-ui/List/ListForEach.d.ts +2 -2
  166. package/build/swift-ui/List/ListForEach.d.ts.map +1 -1
  167. package/build/swift-ui/Mask/index.d.ts +2 -2
  168. package/build/swift-ui/Mask/index.d.ts.map +1 -1
  169. package/build/swift-ui/Menu/types.d.ts +2 -2
  170. package/build/swift-ui/Menu/types.d.ts.map +1 -1
  171. package/build/swift-ui/Namespace.d.ts +2 -2
  172. package/build/swift-ui/Namespace.d.ts.map +1 -1
  173. package/build/swift-ui/Overlay/index.d.ts +2 -2
  174. package/build/swift-ui/Overlay/index.d.ts.map +1 -1
  175. package/build/swift-ui/Popover/index.d.ts +2 -2
  176. package/build/swift-ui/Popover/index.d.ts.map +1 -1
  177. package/build/swift-ui/ProgressView/index.d.ts +2 -2
  178. package/build/swift-ui/ProgressView/index.d.ts.map +1 -1
  179. package/build/swift-ui/RNHostView.d.ts +2 -2
  180. package/build/swift-ui/RNHostView.d.ts.map +1 -1
  181. package/build/swift-ui/ScrollView/index.d.ts +2 -2
  182. package/build/swift-ui/ScrollView/index.d.ts.map +1 -1
  183. package/build/swift-ui/Section/index.d.ts +2 -2
  184. package/build/swift-ui/Section/index.d.ts.map +1 -1
  185. package/build/swift-ui/SecureField/index.d.ts +2 -2
  186. package/build/swift-ui/SecureField/index.d.ts.map +1 -1
  187. package/build/swift-ui/ShareLink/index.d.ts +2 -2
  188. package/build/swift-ui/ShareLink/index.d.ts.map +1 -1
  189. package/build/swift-ui/Slider/index.d.ts +2 -2
  190. package/build/swift-ui/Slider/index.d.ts.map +1 -1
  191. package/build/swift-ui/Stepper/index.d.ts +2 -2
  192. package/build/swift-ui/Stepper/index.d.ts.map +1 -1
  193. package/build/swift-ui/SwipeActions/index.d.ts +4 -4
  194. package/build/swift-ui/SwipeActions/index.d.ts.map +1 -1
  195. package/build/swift-ui/SyncToggle/index.d.ts +2 -2
  196. package/build/swift-ui/SyncToggle/index.d.ts.map +1 -1
  197. package/build/swift-ui/TabView/Tab.d.ts +2 -2
  198. package/build/swift-ui/TabView/Tab.d.ts.map +1 -1
  199. package/build/swift-ui/TabView/index.d.ts +2 -2
  200. package/build/swift-ui/TabView/index.d.ts.map +1 -1
  201. package/build/swift-ui/TextField/index.d.ts +2 -2
  202. package/build/swift-ui/TextField/index.d.ts.map +1 -1
  203. package/build/swift-ui/Toggle/index.d.ts +2 -2
  204. package/build/swift-ui/Toggle/index.d.ts.map +1 -1
  205. package/build/swift-ui/VStack/index.d.ts +2 -2
  206. package/build/swift-ui/VStack/index.d.ts.map +1 -1
  207. package/build/swift-ui/ZStack/index.d.ts +2 -2
  208. package/build/swift-ui/ZStack/index.d.ts.map +1 -1
  209. package/build/swift-ui/modifiers/index.d.ts +60 -2
  210. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  211. package/build/swift-ui/modifiers/presentationModifiers.d.ts +19 -0
  212. package/build/swift-ui/modifiers/presentationModifiers.d.ts.map +1 -1
  213. package/build/swift-ui/modifiers/widgets.d.ts +7 -0
  214. package/build/swift-ui/modifiers/widgets.d.ts.map +1 -1
  215. package/build/universal/Button/index.d.ts.map +1 -1
  216. package/build/universal/Button/index.ios.d.ts.map +1 -1
  217. package/build/universal/Checkbox/index.d.ts.map +1 -1
  218. package/build/universal/Collapsible/index.d.ts.map +1 -1
  219. package/build/universal/FieldGroup/FieldGroup.d.ts.map +1 -1
  220. package/build/universal/FieldGroup/FieldSection.d.ts.map +1 -1
  221. package/build/universal/FieldGroup/FieldSectionSlots.d.ts.map +1 -1
  222. package/build/universal/FieldGroup/groupChildren.d.ts.map +1 -1
  223. package/build/universal/Host/index.d.ts +1 -2
  224. package/build/universal/Host/index.d.ts.map +1 -1
  225. package/build/universal/Host/types.d.ts +16 -2
  226. package/build/universal/Host/types.d.ts.map +1 -1
  227. package/build/universal/ListItem/ListItem.android.d.ts.map +1 -1
  228. package/build/universal/ListItem/ListItem.ios.d.ts.map +1 -1
  229. package/build/universal/ListItem/types.d.ts +8 -0
  230. package/build/universal/ListItem/types.d.ts.map +1 -1
  231. package/build/universal/Picker/Picker.d.ts.map +1 -1
  232. package/build/universal/Slider/index.d.ts.map +1 -1
  233. package/build/universal/Switch/index.d.ts.map +1 -1
  234. package/build/universal/Text/index.ios.d.ts.map +1 -1
  235. package/build/universal/TextInput/index.d.ts.map +1 -1
  236. package/build/universal/hooks.d.ts +11 -0
  237. package/build/universal/hooks.d.ts.map +1 -1
  238. package/build/universal/keyboardEvent.fx.d.ts +2 -0
  239. package/build/universal/keyboardEvent.fx.d.ts.map +1 -0
  240. package/build/universal/modifierUtils.d.ts +16 -0
  241. package/build/universal/modifierUtils.d.ts.map +1 -0
  242. package/build/universal/transformStyle.android.d.ts +3 -0
  243. package/build/universal/transformStyle.android.d.ts.map +1 -1
  244. package/build/universal/transformStyle.ios.d.ts +3 -0
  245. package/build/universal/transformStyle.ios.d.ts.map +1 -1
  246. package/build/universal/types.d.ts +2 -0
  247. package/build/universal/types.d.ts.map +1 -1
  248. package/build/universal/webUtils.d.ts +66 -0
  249. package/build/universal/webUtils.d.ts.map +1 -0
  250. package/expo-module.config.json +1 -1
  251. package/ios/HostView.swift +15 -0
  252. package/ios/Modifiers/PresentationModifiers.swift +30 -0
  253. package/ios/Modifiers/ViewModifierRegistry.swift +119 -11
  254. package/ios/Modifiers/WidgetModifiers.swift +12 -0
  255. package/ios/RNHostView.swift +5 -0
  256. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17-sources.jar → 56.0.19/expo.modules.ui-56.0.19-sources.jar} +0 -0
  257. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.md5 +1 -0
  258. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha1 +1 -0
  259. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha256 +1 -0
  260. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha512 +1 -0
  261. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar +0 -0
  262. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.md5 +1 -0
  263. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha1 +1 -0
  264. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha256 +1 -0
  265. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha512 +1 -0
  266. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17.module → 56.0.19/expo.modules.ui-56.0.19.module} +22 -22
  267. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.md5 +1 -0
  268. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha1 +1 -0
  269. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha256 +1 -0
  270. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha512 +1 -0
  271. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17.pom → 56.0.19/expo.modules.ui-56.0.19.pom} +1 -1
  272. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.md5 +1 -0
  273. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha1 +1 -0
  274. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha256 +1 -0
  275. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha512 +1 -0
  276. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  277. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  278. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  279. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  280. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  281. package/package.json +4 -9
  282. package/plugin/tsconfig.tsbuildinfo +1 -0
  283. package/src/State/index.fx.ts +4 -5
  284. package/src/community/bottom-sheet/BottomSheet.android.tsx +8 -14
  285. package/src/community/bottom-sheet/BottomSheet.ios.tsx +9 -5
  286. package/src/community/bottom-sheet/scrollContextReset.tsx +24 -0
  287. package/src/community/datetime-picker/DateTimePicker.tsx +9 -1
  288. package/src/community/datetime-picker/types.tsx +2 -2
  289. package/src/community/menu/types.tsx +2 -2
  290. package/src/community/pager-view/PagerView.android.tsx +10 -6
  291. package/src/community/pager-view/types.tsx +2 -2
  292. package/src/community/segmented-control/types.tsx +2 -2
  293. package/src/community/slider/types.tsx +2 -2
  294. package/src/jetpack-compose/AlertDialog/index.tsx +2 -2
  295. package/src/jetpack-compose/AnimatedVisibility/index.tsx +2 -2
  296. package/src/jetpack-compose/Badge/index.tsx +2 -2
  297. package/src/jetpack-compose/BadgedBox/index.tsx +2 -2
  298. package/src/jetpack-compose/BasicAlertDialog/index.tsx +2 -2
  299. package/src/jetpack-compose/Box/index.tsx +2 -2
  300. package/src/jetpack-compose/Button/index.tsx +2 -2
  301. package/src/jetpack-compose/Card/index.tsx +6 -6
  302. package/src/jetpack-compose/Carousel/index.tsx +6 -6
  303. package/src/jetpack-compose/Checkbox/index.tsx +4 -4
  304. package/src/jetpack-compose/Chip/index.tsx +8 -8
  305. package/src/jetpack-compose/Column/index.tsx +2 -2
  306. package/src/jetpack-compose/DatePicker/index.tsx +6 -6
  307. package/src/jetpack-compose/DockedSearchBar/index.tsx +2 -2
  308. package/src/jetpack-compose/DropdownMenu/DropdownMenuItem.tsx +2 -2
  309. package/src/jetpack-compose/DropdownMenu/index.tsx +2 -2
  310. package/src/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.tsx +2 -2
  311. package/src/jetpack-compose/ExposedDropdownMenuBox/index.tsx +2 -2
  312. package/src/jetpack-compose/FloatingActionButton/index.tsx +6 -6
  313. package/src/jetpack-compose/FlowRow/index.tsx +2 -2
  314. package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +4 -4
  315. package/src/jetpack-compose/HorizontalPager/index.tsx +2 -2
  316. package/src/jetpack-compose/Host/index.tsx +2 -2
  317. package/src/jetpack-compose/Icon/index.tsx +2 -2
  318. package/src/jetpack-compose/IconButton/index.tsx +2 -2
  319. package/src/jetpack-compose/LazyColumn/index.tsx +2 -2
  320. package/src/jetpack-compose/LazyRow/index.tsx +2 -2
  321. package/src/jetpack-compose/ListItem/index.tsx +2 -2
  322. package/src/jetpack-compose/LoadingIndicator/index.tsx +2 -2
  323. package/src/jetpack-compose/ModalBottomSheet/index.tsx +9 -2
  324. package/src/jetpack-compose/MultiChoiceSegmentedButtonRow/index.tsx +2 -2
  325. package/src/jetpack-compose/NavigationBar/index.tsx +4 -4
  326. package/src/jetpack-compose/Progress/index.tsx +7 -7
  327. package/src/jetpack-compose/PullToRefreshBox/index.tsx +4 -4
  328. package/src/jetpack-compose/RNHostView/index.tsx +8 -0
  329. package/src/jetpack-compose/RadioButton/index.tsx +2 -2
  330. package/src/jetpack-compose/Row/index.tsx +2 -2
  331. package/src/jetpack-compose/SearchBar/index.tsx +2 -2
  332. package/src/jetpack-compose/SegmentedButton/index.tsx +2 -2
  333. package/src/jetpack-compose/Shape/index.tsx +2 -2
  334. package/src/jetpack-compose/SingleChoiceSegmentedButtonRow/index.tsx +2 -2
  335. package/src/jetpack-compose/Slider/index.tsx +2 -2
  336. package/src/jetpack-compose/Snackbar/index.tsx +4 -4
  337. package/src/jetpack-compose/Spacer/index.tsx +2 -2
  338. package/src/jetpack-compose/Surface/index.tsx +2 -2
  339. package/src/jetpack-compose/Switch/index.tsx +2 -2
  340. package/src/jetpack-compose/SyncSwitch/index.tsx +2 -2
  341. package/src/jetpack-compose/Text/index.tsx +2 -2
  342. package/src/jetpack-compose/TextField/BasicTextField.tsx +2 -2
  343. package/src/jetpack-compose/TextField/TextField.tsx +4 -4
  344. package/src/jetpack-compose/ToggleButton/index.tsx +2 -2
  345. package/src/jetpack-compose/Tooltip/index.tsx +6 -6
  346. package/src/swift-ui/AccessoryWidgetBackground/index.tsx +1 -1
  347. package/src/swift-ui/Alert/index.tsx +2 -2
  348. package/src/swift-ui/BottomSheet/index.tsx +2 -2
  349. package/src/swift-ui/Button/index.tsx +2 -2
  350. package/src/swift-ui/Chart/index.tsx +2 -2
  351. package/src/swift-ui/ColorPicker/index.tsx +2 -2
  352. package/src/swift-ui/ConfirmationDialog/index.tsx +2 -2
  353. package/src/swift-ui/ContextMenu/types.ts +4 -4
  354. package/src/swift-ui/DatePicker/index.tsx +2 -2
  355. package/src/swift-ui/Divider/index.tsx +1 -1
  356. package/src/swift-ui/Gauge/index.tsx +2 -2
  357. package/src/swift-ui/GlassEffectContainer/index.tsx +2 -2
  358. package/src/swift-ui/Grid/index.tsx +2 -2
  359. package/src/swift-ui/HStack/index.tsx +2 -2
  360. package/src/swift-ui/Host/index.tsx +12 -3
  361. package/src/swift-ui/Label/index.tsx +2 -2
  362. package/src/swift-ui/LabeledContent/index.tsx +2 -2
  363. package/src/swift-ui/LazyHStack/index.tsx +2 -2
  364. package/src/swift-ui/LazyVStack/index.tsx +2 -2
  365. package/src/swift-ui/Link/index.tsx +2 -2
  366. package/src/swift-ui/List/ListForEach.tsx +2 -2
  367. package/src/swift-ui/Mask/index.tsx +2 -2
  368. package/src/swift-ui/Menu/types.ts +2 -2
  369. package/src/swift-ui/Namespace.tsx +2 -2
  370. package/src/swift-ui/Overlay/index.tsx +2 -2
  371. package/src/swift-ui/Popover/index.tsx +2 -2
  372. package/src/swift-ui/ProgressView/index.tsx +2 -2
  373. package/src/swift-ui/RNHostView.tsx +2 -2
  374. package/src/swift-ui/ScrollView/index.tsx +2 -2
  375. package/src/swift-ui/Section/index.tsx +2 -2
  376. package/src/swift-ui/SecureField/index.tsx +2 -2
  377. package/src/swift-ui/ShareLink/index.tsx +2 -2
  378. package/src/swift-ui/Slider/index.tsx +2 -2
  379. package/src/swift-ui/Stepper/index.tsx +2 -2
  380. package/src/swift-ui/SwipeActions/index.tsx +4 -4
  381. package/src/swift-ui/SyncToggle/index.tsx +2 -2
  382. package/src/swift-ui/TabView/Tab.tsx +2 -2
  383. package/src/swift-ui/TabView/index.tsx +2 -2
  384. package/src/swift-ui/TextField/index.tsx +2 -2
  385. package/src/swift-ui/Toggle/index.tsx +2 -2
  386. package/src/swift-ui/VStack/index.tsx +2 -2
  387. package/src/swift-ui/ZStack/index.tsx +2 -2
  388. package/src/swift-ui/modifiers/index.ts +82 -1
  389. package/src/swift-ui/modifiers/presentationModifiers.ts +22 -0
  390. package/src/swift-ui/modifiers/widgets.ts +9 -0
  391. package/src/ts-declarations/react-native-web.d.ts +31 -3
  392. package/src/universal/Button/index.ios.tsx +6 -1
  393. package/src/universal/Button/index.tsx +83 -35
  394. package/src/universal/Checkbox/index.tsx +85 -30
  395. package/src/universal/Collapsible/index.tsx +5 -17
  396. package/src/universal/FieldGroup/FieldGroup.tsx +5 -15
  397. package/src/universal/FieldGroup/FieldSection.tsx +14 -31
  398. package/src/universal/FieldGroup/FieldSectionSlots.tsx +3 -0
  399. package/src/universal/FieldGroup/groupChildren.tsx +3 -0
  400. package/src/universal/Host/index.tsx +44 -30
  401. package/src/universal/Host/types.ts +17 -2
  402. package/src/universal/ListItem/ListItem.android.tsx +10 -2
  403. package/src/universal/ListItem/ListItem.ios.tsx +23 -6
  404. package/src/universal/ListItem/types.ts +10 -0
  405. package/src/universal/Picker/Picker.tsx +74 -29
  406. package/src/universal/Slider/index.tsx +90 -9
  407. package/src/universal/Switch/index.android.tsx +2 -2
  408. package/src/universal/Switch/index.tsx +77 -18
  409. package/src/universal/Text/index.ios.tsx +3 -1
  410. package/src/universal/TextInput/index.tsx +49 -13
  411. package/src/universal/hooks.ts +25 -1
  412. package/src/universal/keyboardEvent.fx.ts +28 -0
  413. package/src/universal/modifierUtils.ts +23 -0
  414. package/src/universal/transformStyle.android.ts +9 -1
  415. package/src/universal/transformStyle.ios.ts +9 -1
  416. package/src/universal/types.ts +2 -0
  417. package/src/universal/webUtils.ts +245 -0
  418. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.md5 +0 -1
  419. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha1 +0 -1
  420. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha256 +0 -1
  421. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha512 +0 -1
  422. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar +0 -0
  423. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.md5 +0 -1
  424. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha1 +0 -1
  425. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha256 +0 -1
  426. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha512 +0 -1
  427. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.md5 +0 -1
  428. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha1 +0 -1
  429. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha256 +0 -1
  430. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha512 +0 -1
  431. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.md5 +0 -1
  432. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha1 +0 -1
  433. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha256 +0 -1
  434. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha512 +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"transformStyle.ios.d.ts","sourceRoot":"","sources":["../../src/universal/transformStyle.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAUL,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAgBlE;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,KAAK,EAAE,IAAI,CACT,kBAAkB,EAClB,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAC1E,EACD,cAAc,CAAC,EAAE,cAAc,EAAE,EACjC,OAAO,CAAC,EAAE;IACR,6DAA6D;IAC7D,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IAC1D,wDAAwD;IACxD,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAChC,GACA,cAAc,EAAE,CAwGlB"}
1
+ {"version":3,"file":"transformStyle.ios.d.ts","sourceRoot":"","sources":["../../src/universal/transformStyle.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAUL,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAgBlE;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,KAAK,EAAE,IAAI,CACT,kBAAkB,EAClB,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAC1E,EACD,cAAc,CAAC,EAAE,cAAc,EAAE,EACjC,OAAO,CAAC,EAAE;IACR,6DAA6D;IAC7D,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IAC1D,wDAAwD;IACxD,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAChC,GACA,cAAc,EAAE,CA4GlB"}
@@ -22,6 +22,8 @@ export interface UniversalBaseProps {
22
22
  /**
23
23
  * Platform-specific modifier escape hatch. Pass an array of modifier configs
24
24
  * from `@expo/ui/swift-ui/modifiers` or `@expo/ui/jetpack-compose/modifiers`.
25
+ * A modifier supplied here replaces any modifier of the same type that the
26
+ * component derives from `style` or other props.
25
27
  * @platform android
26
28
  * @platform ios
27
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/universal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACP,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,SAAS,GACT,OAAO,GACP,QAAQ,CACX,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAGjC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAI7B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAIrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IAIzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/universal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACP,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,SAAS,GACT,OAAO,GACP,QAAQ,CACX,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAGjC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAI7B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAIrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IAIzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC"}
@@ -0,0 +1,66 @@
1
+ import type { ComponentProps, ElementType } from 'react';
2
+ import { type ColorValue, type ImageStyle, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
3
+ type Simplify<T> = {
4
+ [K in keyof T]: T[K];
5
+ };
6
+ type Merge<A, B> = Simplify<Omit<A, keyof B> & B>;
7
+ type WebComponentProps<T extends ElementType> = Merge<ComponentProps<T>, {
8
+ dataSet?: Record<string, string | undefined>;
9
+ focusable?: boolean;
10
+ style?: StyleProp<ImageStyle | TextStyle | ViewStyle>;
11
+ testID?: string;
12
+ }>;
13
+ export declare const createWebComponent: <T extends ElementType>(type: T) => (props: WebComponentProps<T>) => import("react").ReactElement<Simplify<Omit<ComponentProps<T>, "style" | "testID" | "dataSet" | "focusable"> & {
14
+ dataSet?: Record<string, string | undefined>;
15
+ focusable?: boolean;
16
+ style?: StyleProp<ImageStyle | TextStyle | ViewStyle>;
17
+ testID?: string;
18
+ }>, string | import("react").JSXElementConstructor<any>>;
19
+ export declare const css: (strings: TemplateStringsArray, ...values: unknown[]) => string;
20
+ export declare const colors: {
21
+ background: string;
22
+ foreground: string;
23
+ red: string;
24
+ primary: {
25
+ foreground: string;
26
+ 50: string;
27
+ 100: string;
28
+ 200: string;
29
+ 300: string;
30
+ 400: string;
31
+ 500: string;
32
+ 600: string;
33
+ 700: string;
34
+ 800: string;
35
+ 900: string;
36
+ };
37
+ gray: {
38
+ 50: string;
39
+ 100: string;
40
+ 200: string;
41
+ 300: string;
42
+ 400: string;
43
+ 500: string;
44
+ 600: string;
45
+ 700: string;
46
+ 800: string;
47
+ 900: string;
48
+ };
49
+ };
50
+ export declare const durations: {
51
+ fast: string;
52
+ base: string;
53
+ slow: string;
54
+ };
55
+ export declare const easings: {
56
+ standard: string;
57
+ };
58
+ export declare const shadows: {
59
+ button: string;
60
+ focus: string;
61
+ input: string;
62
+ };
63
+ export declare const globalCss: string;
64
+ export declare const generatePrimaryColorScale: (color?: ColorValue | undefined) => Record<string, string>;
65
+ export {};
66
+ //# sourceMappingURL=webUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webUtils.d.ts","sourceRoot":"","sources":["../../src/universal/webUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAC5C,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAElD,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CACnD,cAAc,CAAC,CAAC,CAAC,EACjB;IACE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC5B,CAAC,SAAS,WAAW,EAAE,MAAM,CAAC,MAC9B,OAAO,iBAAiB,CAAC,CAAC,CAAC;cAThB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;gBAChC,OAAO;YACX,SAAS,CAAC,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;aAC5C,MAAM;wDAOoB,CAAC;AAExC,eAAO,MAAM,GAAG,GAAI,SAAS,oBAAoB,EAAE,GAAG,QAAQ,OAAO,EAAE,KAAG,MAI/D,CAAC;AAwCZ,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgClB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;CAIrB,CAAC;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,SAAS,QAcrB,CAAC;AA0FF,eAAO,MAAM,yBAAyB,GACpC,QAAO,UAAU,GAAG,SAAiC,KACpD,MAAM,CAAC,MAAM,EAAE,MAAM,CAevB,CAAC"}
@@ -10,7 +10,7 @@
10
10
  "publication": {
11
11
  "groupId": "expo.modules.ui",
12
12
  "artifactId": "expo.modules.ui",
13
- "version": "56.0.17",
13
+ "version": "56.0.19",
14
14
  "repository": "local-maven-repo"
15
15
  }
16
16
  }
@@ -34,6 +34,7 @@ internal enum ExpoLayoutDirection: String, Enumerable {
34
34
  internal final class HostViewProps: ExpoSwiftUI.ViewProps, ExpoSwiftUI.SafeAreaControllable {
35
35
  @Field var useViewportSizeMeasurement: Bool = false
36
36
  @Field var colorScheme: ExpoColorScheme?
37
+ @Field var seedColor: Color?
37
38
  @Field var layoutDirection: ExpoLayoutDirection = .leftToRight
38
39
  @Field var matchContentsHorizontal = false
39
40
  @Field var matchContentsVertical = false
@@ -60,6 +61,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
60
61
  .fixedSize(horizontal: props.matchContentsHorizontal, vertical: props.matchContentsVertical)
61
62
  .modifier(LayoutDirectionModifier(layoutDirection: layoutDirection))
62
63
  .modifier(ColorSchemeModifier(colorScheme: props.colorScheme?.toColorScheme()))
64
+ .modifier(SeedColorModifier(seedColor: props.seedColor))
63
65
  .applyModifiers(
64
66
  props.modifiers,
65
67
  appContext: props.appContext,
@@ -73,6 +75,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
73
75
  .fixedSize(horizontal: props.matchContentsHorizontal, vertical: props.matchContentsVertical)
74
76
  .modifier(LayoutDirectionModifier(layoutDirection: layoutDirection))
75
77
  .modifier(ColorSchemeModifier(colorScheme: props.colorScheme?.toColorScheme()))
78
+ .modifier(SeedColorModifier(seedColor: props.seedColor))
76
79
  .applyModifiers(
77
80
  props.modifiers,
78
81
  appContext: props.appContext,
@@ -212,6 +215,18 @@ private struct ColorSchemeModifier: ViewModifier {
212
215
  }
213
216
  }
214
217
 
218
+ private struct SeedColorModifier: ViewModifier {
219
+ let seedColor: Color?
220
+
221
+ func body(content: Content) -> some View {
222
+ if let seedColor {
223
+ content.tint(seedColor)
224
+ } else {
225
+ content
226
+ }
227
+ }
228
+ }
229
+
215
230
  private struct LayoutDirectionModifier: ViewModifier {
216
231
  let layoutDirection: LayoutDirection?
217
232
 
@@ -218,4 +218,34 @@ internal struct PresentationBackgroundModifier: ViewModifier, Record {
218
218
  content
219
219
  }
220
220
  }
221
+ }
222
+
223
+ // MARK: - Presentation Sizing
224
+
225
+ internal enum PresentationSizingOption: String, Enumerable {
226
+ case automatic
227
+ case fitted
228
+ case form
229
+ case page
230
+ }
231
+
232
+ internal struct PresentationSizingModifier: ViewModifier, Record {
233
+ @Field var sizing: PresentationSizingOption = .automatic
234
+
235
+ func body(content: Content) -> some View {
236
+ if #available(iOS 18.0, tvOS 18.0, macOS 15.0, *) {
237
+ switch sizing {
238
+ case .automatic:
239
+ content.presentationSizing(.automatic)
240
+ case .fitted:
241
+ content.presentationSizing(.fitted)
242
+ case .form:
243
+ content.presentationSizing(.form)
244
+ case .page:
245
+ content.presentationSizing(.page)
246
+ }
247
+ } else {
248
+ content
249
+ }
250
+ }
221
251
  }
@@ -224,6 +224,61 @@ internal struct DisabledModifier: ViewModifier, Record {
224
224
  }
225
225
  }
226
226
 
227
+ internal enum RedactionReason: String, Enumerable {
228
+ case placeholder
229
+ case privacy
230
+ case invalidated
231
+ }
232
+
233
+ internal struct RedactedModifier: ViewModifier, Record {
234
+ @Field var reasons: [RedactionReason] = [.placeholder]
235
+
236
+ func body(content: Content) -> some View {
237
+ content.redacted(reason: resolveReasons())
238
+ }
239
+
240
+ private func resolveReasons() -> RedactionReasons {
241
+ var set: RedactionReasons = []
242
+ for reason in reasons {
243
+ switch reason {
244
+ case .placeholder: set.insert(.placeholder)
245
+ case .privacy: set.insert(.privacy)
246
+ case .invalidated:
247
+ if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
248
+ set.insert(.invalidated)
249
+ }
250
+ }
251
+ }
252
+ return set
253
+ }
254
+ }
255
+
256
+ internal struct UnredactedModifier: ViewModifier, Record {
257
+ func body(content: Content) -> some View {
258
+ content.unredacted()
259
+ }
260
+ }
261
+
262
+ internal struct PrivacySensitiveModifier: ViewModifier, Record {
263
+ @Field var sensitive: Bool = true
264
+
265
+ func body(content: Content) -> some View {
266
+ content.privacySensitive(sensitive)
267
+ }
268
+ }
269
+
270
+ internal struct InvalidatableContentModifier: ViewModifier, Record {
271
+ @Field var invalidatable: Bool = true
272
+
273
+ func body(content: Content) -> some View {
274
+ if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
275
+ content.invalidatableContent(invalidatable)
276
+ } else {
277
+ content
278
+ }
279
+ }
280
+ }
281
+
227
282
  internal struct ZIndexModifier: ViewModifier, Record {
228
283
  @Field var index: Double = 0
229
284
 
@@ -518,6 +573,31 @@ internal struct AccessibilityHiddenModifier: ViewModifier, Record {
518
573
  }
519
574
  }
520
575
 
576
+ internal enum AccessibilityChildBehaviorType: String, Enumerable {
577
+ case ignore
578
+ case combine
579
+ case contain
580
+
581
+ func toNative() -> AccessibilityChildBehavior {
582
+ switch self {
583
+ case .ignore:
584
+ return .ignore
585
+ case .combine:
586
+ return .combine
587
+ case .contain:
588
+ return .contain
589
+ }
590
+ }
591
+ }
592
+
593
+ internal struct AccessibilityElementModifier: ViewModifier, Record {
594
+ @Field var children: AccessibilityChildBehaviorType = .ignore
595
+
596
+ func body(content: Content) -> some View {
597
+ content.accessibilityElement(children: children.toNative())
598
+ }
599
+ }
600
+
521
601
  internal struct LayoutPriorityModifier: ViewModifier, Record {
522
602
  @Field var priority: Double = 0
523
603
 
@@ -978,21 +1058,21 @@ internal struct HeaderProminence: ViewModifier, Record {
978
1058
  }
979
1059
 
980
1060
  internal struct ListRowInsets: ViewModifier, Record {
981
- @Field var top: CGFloat = 0
982
- @Field var leading: CGFloat = 0
983
- @Field var bottom: CGFloat = 0
984
- @Field var trailing: CGFloat = 0
1061
+ @Field var top: CGFloat?
1062
+ @Field var leading: CGFloat?
1063
+ @Field var bottom: CGFloat?
1064
+ @Field var trailing: CGFloat?
985
1065
 
986
1066
  func body(content: Content) -> some View {
987
- if top != 0 || leading != 0 || bottom != 0 || trailing != 0 {
1067
+ if top == nil && leading == nil && bottom == nil && trailing == nil {
1068
+ content
1069
+ } else {
988
1070
  content.listRowInsets(.init(
989
- top: top,
990
- leading: leading,
991
- bottom: bottom,
992
- trailing: trailing
1071
+ top: top ?? 0,
1072
+ leading: leading ?? 0,
1073
+ bottom: bottom ?? 0,
1074
+ trailing: trailing ?? 0
993
1075
  ))
994
- } else {
995
- content
996
1076
  }
997
1077
  }
998
1078
  }
@@ -1508,6 +1588,22 @@ extension ViewModifierRegistry {
1508
1588
  return try DisabledModifier(from: params, appContext: appContext)
1509
1589
  }
1510
1590
 
1591
+ register("redacted") { params, appContext, _ in
1592
+ return try RedactedModifier(from: params, appContext: appContext)
1593
+ }
1594
+
1595
+ register("unredacted") { params, appContext, _ in
1596
+ return try UnredactedModifier(from: params, appContext: appContext)
1597
+ }
1598
+
1599
+ register("privacySensitive") { params, appContext, _ in
1600
+ return try PrivacySensitiveModifier(from: params, appContext: appContext)
1601
+ }
1602
+
1603
+ register("invalidatableContent") { params, appContext, _ in
1604
+ return try InvalidatableContentModifier(from: params, appContext: appContext)
1605
+ }
1606
+
1511
1607
  register("zIndex") { params, appContext, _ in
1512
1608
  return try ZIndexModifier(from: params, appContext: appContext)
1513
1609
  }
@@ -1596,6 +1692,10 @@ extension ViewModifierRegistry {
1596
1692
  return try AccessibilityHiddenModifier(from: params, appContext: appContext)
1597
1693
  }
1598
1694
 
1695
+ register("accessibilityElement") { params, appContext, _ in
1696
+ return try AccessibilityElementModifier(from: params, appContext: appContext)
1697
+ }
1698
+
1599
1699
  register("layoutPriority") { params, appContext, _ in
1600
1700
  return try LayoutPriorityModifier(from: params, appContext: appContext)
1601
1701
  }
@@ -1892,6 +1992,10 @@ extension ViewModifierRegistry {
1892
1992
  return try PresentationBackgroundModifier(from: params, appContext: appContext)
1893
1993
  }
1894
1994
 
1995
+ register("presentationSizing") { params, appContext, _ in
1996
+ return try PresentationSizingModifier(from: params, appContext: appContext)
1997
+ }
1998
+
1895
1999
  register("listStyle") { params, appContext, _ in
1896
2000
  return try ListStyleModifier(from: params, appContext: appContext)
1897
2001
  }
@@ -1916,6 +2020,10 @@ extension ViewModifierRegistry {
1916
2020
  return try WidgetURLModifier(from: params, appContext: appContext)
1917
2021
  }
1918
2022
 
2023
+ register("activityBackgroundTint") { params, appContext, _ in
2024
+ return try ActivityBackgroundTintModifier(from: params, appContext: appContext)
2025
+ }
2026
+
1919
2027
  register("keyboardType") { params, appContext, _ in
1920
2028
  return try KeyboardTypeModifier(from: params, appContext: appContext)
1921
2029
  }
@@ -56,3 +56,15 @@ internal struct WidgetURLModifier: ViewModifier, Record {
56
56
  #endif
57
57
  }
58
58
  }
59
+
60
+ internal struct ActivityBackgroundTintModifier: ViewModifier, Record {
61
+ @Field var color: Color?
62
+
63
+ func body(content: Content) -> some View {
64
+ #if !os(tvOS) && !os(macOS) && !targetEnvironment(macCatalyst)
65
+ content.activityBackgroundTint(color)
66
+ #else
67
+ content
68
+ #endif
69
+ }
70
+ }
@@ -19,6 +19,11 @@ struct RNHostView: ExpoSwiftUI.View {
19
19
  .onAppear {
20
20
  ExpoUITouchHandlerHelper.createAndAttachTouchHandler(for: childUIView)
21
21
  }
22
+ } else if props.matchContents {
23
+ // No hosted UIView (a pure SwiftUI child, e.g. Text/Image). Render it at its
24
+ // natural size instead of falling into the fill branch below, which would
25
+ // stretch a self-sizing SwiftUI view to fill its container.
26
+ Children()
22
27
  } else {
23
28
  Children()
24
29
  .frame(maxWidth: .infinity, maxHeight: .infinity)
@@ -0,0 +1 @@
1
+ 1b9fff22820c7fb50e59d2033ae3199e9fa2c5c853138629a6e2767f50f7ab2f
@@ -0,0 +1 @@
1
+ 50b75ddd02eccceb55f0e7985344e58796d0636802fd81e940f357ed55f87bbf889edebad6dc727c1a677082928b67e6453595aaf809ada12871779e5e313978
@@ -0,0 +1 @@
1
+ 4d91a04542a27e40a7866b4e63f804293ff372b1
@@ -0,0 +1 @@
1
+ 11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8
@@ -0,0 +1 @@
1
+ 33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "expo.modules.ui",
5
5
  "module": "expo.modules.ui",
6
- "version": "56.0.17",
6
+ "version": "56.0.19",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.ui-56.0.17.aar",
28
- "url": "expo.modules.ui-56.0.17.aar",
29
- "size": 1941021,
30
- "sha512": "a9a4256d94715e7932f328ad004a5df0d5016275805c751a50eb9ceb370a2a522a81c9996cf0f95a10fd22e9d1eb5ddeab3a6a7f0e1e75a8ac17c3c3e7fc5d43",
31
- "sha256": "866c8d63f5a18f663ce603eb908d3cdf16fb0f8dd0edfe799214cfe7f8261f0a",
32
- "sha1": "33aac01ba03ba8dca900252f3fc70770c4e03c6c",
33
- "md5": "81713f2bd9b92dc37c26efb771e35ed8"
27
+ "name": "expo.modules.ui-56.0.19.aar",
28
+ "url": "expo.modules.ui-56.0.19.aar",
29
+ "size": 1941451,
30
+ "sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
31
+ "sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
32
+ "sha1": "4d91a04542a27e40a7866b4e63f804293ff372b1",
33
+ "md5": "944517fc36046ca971cf969760574fad"
34
34
  }
35
35
  ]
36
36
  },
@@ -141,13 +141,13 @@
141
141
  ],
142
142
  "files": [
143
143
  {
144
- "name": "expo.modules.ui-56.0.17.aar",
145
- "url": "expo.modules.ui-56.0.17.aar",
146
- "size": 1941021,
147
- "sha512": "a9a4256d94715e7932f328ad004a5df0d5016275805c751a50eb9ceb370a2a522a81c9996cf0f95a10fd22e9d1eb5ddeab3a6a7f0e1e75a8ac17c3c3e7fc5d43",
148
- "sha256": "866c8d63f5a18f663ce603eb908d3cdf16fb0f8dd0edfe799214cfe7f8261f0a",
149
- "sha1": "33aac01ba03ba8dca900252f3fc70770c4e03c6c",
150
- "md5": "81713f2bd9b92dc37c26efb771e35ed8"
144
+ "name": "expo.modules.ui-56.0.19.aar",
145
+ "url": "expo.modules.ui-56.0.19.aar",
146
+ "size": 1941451,
147
+ "sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
148
+ "sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
149
+ "sha1": "4d91a04542a27e40a7866b4e63f804293ff372b1",
150
+ "md5": "944517fc36046ca971cf969760574fad"
151
151
  }
152
152
  ]
153
153
  },
@@ -161,13 +161,13 @@
161
161
  },
162
162
  "files": [
163
163
  {
164
- "name": "expo.modules.ui-56.0.17-sources.jar",
165
- "url": "expo.modules.ui-56.0.17-sources.jar",
166
- "size": 93760,
167
- "sha512": "e557d79f5242ede237b371d5f85b1567ee12961dc1f2ba434d60649842996d377086ae27ae59a4a8f131b37d536ba3d5ddf1a6d29cadd2fb0ff6ed642ce4efc5",
168
- "sha256": "bac457301e76c3dfc74a046e5d5ed7267765368e432b1762051897bcabf7cac9",
169
- "sha1": "e82e406da75f0fa928868fcc7544e62b40878a6b",
170
- "md5": "f2d5194e36c18df1298150a82ed8f885"
164
+ "name": "expo.modules.ui-56.0.19-sources.jar",
165
+ "url": "expo.modules.ui-56.0.19-sources.jar",
166
+ "size": 94265,
167
+ "sha512": "50b75ddd02eccceb55f0e7985344e58796d0636802fd81e940f357ed55f87bbf889edebad6dc727c1a677082928b67e6453595aaf809ada12871779e5e313978",
168
+ "sha256": "1b9fff22820c7fb50e59d2033ae3199e9fa2c5c853138629a6e2767f50f7ab2f",
169
+ "sha1": "6abfcbf907f83e8fe7443a2e783fd2537c3935b2",
170
+ "md5": "e50d71fc4e05c0d5255ddfd0e92ede94"
171
171
  }
172
172
  ]
173
173
  }
@@ -0,0 +1 @@
1
+ 7c5b99acaf6c0cda8837c1c801326af0fb9100e7
@@ -0,0 +1 @@
1
+ 88baad7895dc098316076d09f77fa89991bcc6073939b0d9470ae4a3cb913341
@@ -0,0 +1 @@
1
+ b9f1019c58e27034ae53a920d9a29b3a71fc6fced31d0803a6be42decc2a72eb409aa2601f5f19fd9fb6a1285a2acacea09181e45a1c69a4bee7d133ddbd5fe5
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>expo.modules.ui</groupId>
11
11
  <artifactId>expo.modules.ui</artifactId>
12
- <version>56.0.17</version>
12
+ <version>56.0.19</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.ui</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ e18f9283d4a7064d29dabb5bf6766dec81da5397
@@ -0,0 +1 @@
1
+ c6136bb62be48327e43138ce5b402ef8e79e0957237bfa38f0cb7a448fd30db5
@@ -0,0 +1 @@
1
+ 6071f2acf6f9258f498f7e4e0ee4529cedad8a11e21509fa0a32ef1e74c3c1e265f0bef05532a7ce37578dc93c817531ed9d1658678c4fb9c14cf460c04282c5
@@ -3,11 +3,11 @@
3
3
  <groupId>expo.modules.ui</groupId>
4
4
  <artifactId>expo.modules.ui</artifactId>
5
5
  <versioning>
6
- <latest>56.0.17</latest>
7
- <release>56.0.17</release>
6
+ <latest>56.0.19</latest>
7
+ <release>56.0.19</release>
8
8
  <versions>
9
- <version>56.0.17</version>
9
+ <version>56.0.19</version>
10
10
  </versions>
11
- <lastUpdated>20260610225255</lastUpdated>
11
+ <lastUpdated>20260701091749</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 60c5694e01fc3b8dcd52745fd34646eb
1
+ 9803efc720ad653d2bd9a74777727160
@@ -1 +1 @@
1
- 86afe3595463910ac648dbece60ea85603f093da
1
+ fd5824d23d4a32c2eae7d0ecbb843f37f63f9e8a
@@ -1 +1 @@
1
- e33fc63e4f06dfa13f99ce5b5ceafeaf1d4045473ecbbe42799c66be3c5a1bc7
1
+ 3d6457706347643d6c85060f7825816c18f96411c2b3bbadc3fdf6407097c68b
@@ -1 +1 @@
1
- 8a94e8065a8cf5abcbc83a6d2ce2d927133a4670a8313b921b7369f6793cede644c762fefc3807c9bc2d7bfdf15aeccc183cb4c9b383094576455cbe6d8e0fa6
1
+ 3a01fd0aa15aeddc5446489654d40bfcc4e84fd0425a834b5c5e265edcf88b137da16e998e1f0357928456c888d43e8190d71f3258ff7b8e5af5cdca29abf4f5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/ui",
3
- "version": "56.0.17",
3
+ "version": "56.0.19",
4
4
  "description": "A collection of UI components",
5
5
  "sideEffects": [
6
6
  "*.fx.js"
@@ -93,10 +93,9 @@
93
93
  "@types/babel__core": "^7.20.5",
94
94
  "@types/node": "^22.14.0",
95
95
  "@types/react": "~19.2.0",
96
- "react-native-reanimated": "4.3.1",
97
96
  "react-native-worklets": "0.8.3",
98
- "expo": "56.0.10",
99
- "expo-module-scripts": "56.0.3"
97
+ "expo-module-scripts": "56.0.3",
98
+ "expo": "56.0.13"
100
99
  },
101
100
  "jest": {
102
101
  "preset": "expo-module-scripts"
@@ -107,7 +106,6 @@
107
106
  "react": "*",
108
107
  "react-dom": "*",
109
108
  "react-native": "*",
110
- "react-native-reanimated": "*",
111
109
  "react-native-worklets": "*"
112
110
  },
113
111
  "peerDependenciesMeta": {
@@ -117,14 +115,11 @@
117
115
  "react-dom": {
118
116
  "optional": true
119
117
  },
120
- "react-native-reanimated": {
121
- "optional": true
122
- },
123
118
  "react-native-worklets": {
124
119
  "optional": true
125
120
  }
126
121
  },
127
- "gitHead": "b1e94a5c1c5b19472a42ca25752a3533699bc46a",
122
+ "gitHead": "b293744c7b199c6cbe910188863e93a174c21250",
128
123
  "scripts": {
129
124
  "build": "expo-module build",
130
125
  "clean": "expo-module clean",
@@ -0,0 +1 @@
1
+ {"root":["./src/babel-plugin.ts"],"version":"6.0.3"}
@@ -61,11 +61,10 @@ function registerSharedObjectSerializer(): void {
61
61
  }
62
62
 
63
63
  try {
64
- // reanimated import is needed to initialise __WORKLET_RUNTIME global, which is required by the installOnUIRuntime
65
- require('react-native-reanimated');
66
-
67
- installOnUIRuntime();
68
- registerSharedObjectSerializer();
64
+ if (worklets) {
65
+ installOnUIRuntime(worklets.getUIRuntimeHolder());
66
+ registerSharedObjectSerializer();
67
+ }
69
68
  } catch {
70
69
  // Fail silently as worklet support is currently optional in Expo UI
71
70
  }