@expo/ui 56.0.18 → 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 (405) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/ui/DatePickerView.kt +33 -8
  4. package/build/community/bottom-sheet/BottomSheet.android.d.ts.map +1 -1
  5. package/build/community/bottom-sheet/BottomSheet.ios.d.ts.map +1 -1
  6. package/build/community/bottom-sheet/scrollContextReset.d.ts +5 -0
  7. package/build/community/bottom-sheet/scrollContextReset.d.ts.map +1 -0
  8. package/build/community/datetime-picker/DateTimePicker.d.ts.map +1 -1
  9. package/build/community/datetime-picker/types.d.ts +2 -2
  10. package/build/community/datetime-picker/types.d.ts.map +1 -1
  11. package/build/community/menu/types.d.ts +2 -2
  12. package/build/community/menu/types.d.ts.map +1 -1
  13. package/build/community/pager-view/types.d.ts +2 -2
  14. package/build/community/pager-view/types.d.ts.map +1 -1
  15. package/build/community/segmented-control/types.d.ts +2 -2
  16. package/build/community/segmented-control/types.d.ts.map +1 -1
  17. package/build/community/slider/types.d.ts +2 -2
  18. package/build/community/slider/types.d.ts.map +1 -1
  19. package/build/jetpack-compose/AlertDialog/index.d.ts +2 -2
  20. package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
  21. package/build/jetpack-compose/AnimatedVisibility/index.d.ts +2 -2
  22. package/build/jetpack-compose/AnimatedVisibility/index.d.ts.map +1 -1
  23. package/build/jetpack-compose/Badge/index.d.ts +2 -2
  24. package/build/jetpack-compose/Badge/index.d.ts.map +1 -1
  25. package/build/jetpack-compose/BadgedBox/index.d.ts +2 -2
  26. package/build/jetpack-compose/BadgedBox/index.d.ts.map +1 -1
  27. package/build/jetpack-compose/BasicAlertDialog/index.d.ts +2 -2
  28. package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -1
  29. package/build/jetpack-compose/Box/index.d.ts +2 -2
  30. package/build/jetpack-compose/Box/index.d.ts.map +1 -1
  31. package/build/jetpack-compose/Button/index.d.ts +2 -2
  32. package/build/jetpack-compose/Button/index.d.ts.map +1 -1
  33. package/build/jetpack-compose/Card/index.d.ts +6 -6
  34. package/build/jetpack-compose/Card/index.d.ts.map +1 -1
  35. package/build/jetpack-compose/Carousel/index.d.ts +6 -6
  36. package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
  37. package/build/jetpack-compose/Checkbox/index.d.ts +4 -4
  38. package/build/jetpack-compose/Checkbox/index.d.ts.map +1 -1
  39. package/build/jetpack-compose/Chip/index.d.ts +8 -8
  40. package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
  41. package/build/jetpack-compose/Column/index.d.ts +2 -2
  42. package/build/jetpack-compose/Column/index.d.ts.map +1 -1
  43. package/build/jetpack-compose/DatePicker/index.d.ts +6 -6
  44. package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
  45. package/build/jetpack-compose/DockedSearchBar/index.d.ts +2 -2
  46. package/build/jetpack-compose/DockedSearchBar/index.d.ts.map +1 -1
  47. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  48. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
  49. package/build/jetpack-compose/DropdownMenu/index.d.ts +2 -2
  50. package/build/jetpack-compose/DropdownMenu/index.d.ts.map +1 -1
  51. package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts +2 -2
  52. package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts.map +1 -1
  53. package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts +2 -2
  54. package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts.map +1 -1
  55. package/build/jetpack-compose/FloatingActionButton/index.d.ts +8 -6
  56. package/build/jetpack-compose/FloatingActionButton/index.d.ts.map +1 -1
  57. package/build/jetpack-compose/FlowRow/index.d.ts +2 -2
  58. package/build/jetpack-compose/FlowRow/index.d.ts.map +1 -1
  59. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +4 -4
  60. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -1
  61. package/build/jetpack-compose/HorizontalPager/index.d.ts +2 -2
  62. package/build/jetpack-compose/HorizontalPager/index.d.ts.map +1 -1
  63. package/build/jetpack-compose/Host/index.d.ts +2 -2
  64. package/build/jetpack-compose/Host/index.d.ts.map +1 -1
  65. package/build/jetpack-compose/Icon/index.d.ts +2 -2
  66. package/build/jetpack-compose/Icon/index.d.ts.map +1 -1
  67. package/build/jetpack-compose/IconButton/index.d.ts +2 -2
  68. package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
  69. package/build/jetpack-compose/LazyColumn/index.d.ts +2 -2
  70. package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -1
  71. package/build/jetpack-compose/LazyRow/index.d.ts +2 -2
  72. package/build/jetpack-compose/LazyRow/index.d.ts.map +1 -1
  73. package/build/jetpack-compose/ListItem/index.d.ts +2 -2
  74. package/build/jetpack-compose/ListItem/index.d.ts.map +1 -1
  75. package/build/jetpack-compose/LoadingIndicator/index.d.ts +2 -2
  76. package/build/jetpack-compose/LoadingIndicator/index.d.ts.map +1 -1
  77. package/build/jetpack-compose/ModalBottomSheet/index.d.ts +2 -2
  78. package/build/jetpack-compose/ModalBottomSheet/index.d.ts.map +1 -1
  79. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts +2 -2
  80. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts.map +1 -1
  81. package/build/jetpack-compose/NavigationBar/index.d.ts +4 -4
  82. package/build/jetpack-compose/NavigationBar/index.d.ts.map +1 -1
  83. package/build/jetpack-compose/Progress/index.d.ts +9 -8
  84. package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
  85. package/build/jetpack-compose/PullToRefreshBox/index.d.ts +4 -4
  86. package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -1
  87. package/build/jetpack-compose/RadioButton/index.d.ts +2 -2
  88. package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -1
  89. package/build/jetpack-compose/Row/index.d.ts +2 -2
  90. package/build/jetpack-compose/Row/index.d.ts.map +1 -1
  91. package/build/jetpack-compose/SearchBar/index.d.ts +2 -2
  92. package/build/jetpack-compose/SearchBar/index.d.ts.map +1 -1
  93. package/build/jetpack-compose/SegmentedButton/index.d.ts +2 -2
  94. package/build/jetpack-compose/SegmentedButton/index.d.ts.map +1 -1
  95. package/build/jetpack-compose/Shape/index.d.ts +2 -2
  96. package/build/jetpack-compose/Shape/index.d.ts.map +1 -1
  97. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts +2 -2
  98. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts.map +1 -1
  99. package/build/jetpack-compose/Slider/index.d.ts +2 -2
  100. package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
  101. package/build/jetpack-compose/Snackbar/index.d.ts +4 -4
  102. package/build/jetpack-compose/Snackbar/index.d.ts.map +1 -1
  103. package/build/jetpack-compose/Spacer/index.d.ts +2 -2
  104. package/build/jetpack-compose/Spacer/index.d.ts.map +1 -1
  105. package/build/jetpack-compose/Surface/index.d.ts +2 -2
  106. package/build/jetpack-compose/Surface/index.d.ts.map +1 -1
  107. package/build/jetpack-compose/Switch/index.d.ts +2 -2
  108. package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
  109. package/build/jetpack-compose/SyncSwitch/index.d.ts +2 -2
  110. package/build/jetpack-compose/SyncSwitch/index.d.ts.map +1 -1
  111. package/build/jetpack-compose/Text/index.d.ts +2 -2
  112. package/build/jetpack-compose/Text/index.d.ts.map +1 -1
  113. package/build/jetpack-compose/TextField/BasicTextField.d.ts +2 -2
  114. package/build/jetpack-compose/TextField/BasicTextField.d.ts.map +1 -1
  115. package/build/jetpack-compose/TextField/TextField.d.ts +4 -4
  116. package/build/jetpack-compose/TextField/TextField.d.ts.map +1 -1
  117. package/build/jetpack-compose/ToggleButton/index.d.ts +2 -2
  118. package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -1
  119. package/build/jetpack-compose/Tooltip/index.d.ts +6 -6
  120. package/build/jetpack-compose/Tooltip/index.d.ts.map +1 -1
  121. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +2 -1
  122. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -1
  123. package/build/swift-ui/Alert/index.d.ts +2 -2
  124. package/build/swift-ui/Alert/index.d.ts.map +1 -1
  125. package/build/swift-ui/BottomSheet/index.d.ts +2 -2
  126. package/build/swift-ui/BottomSheet/index.d.ts.map +1 -1
  127. package/build/swift-ui/Button/index.d.ts +2 -2
  128. package/build/swift-ui/Button/index.d.ts.map +1 -1
  129. package/build/swift-ui/Chart/index.d.ts +2 -2
  130. package/build/swift-ui/Chart/index.d.ts.map +1 -1
  131. package/build/swift-ui/ColorPicker/index.d.ts +2 -2
  132. package/build/swift-ui/ColorPicker/index.d.ts.map +1 -1
  133. package/build/swift-ui/ConfirmationDialog/index.d.ts +2 -2
  134. package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
  135. package/build/swift-ui/ContextMenu/types.d.ts +4 -4
  136. package/build/swift-ui/ContextMenu/types.d.ts.map +1 -1
  137. package/build/swift-ui/DatePicker/index.d.ts +2 -2
  138. package/build/swift-ui/DatePicker/index.d.ts.map +1 -1
  139. package/build/swift-ui/Divider/index.d.ts +2 -1
  140. package/build/swift-ui/Divider/index.d.ts.map +1 -1
  141. package/build/swift-ui/Gauge/index.d.ts +2 -2
  142. package/build/swift-ui/Gauge/index.d.ts.map +1 -1
  143. package/build/swift-ui/GlassEffectContainer/index.d.ts +2 -2
  144. package/build/swift-ui/GlassEffectContainer/index.d.ts.map +1 -1
  145. package/build/swift-ui/Grid/index.d.ts +2 -2
  146. package/build/swift-ui/Grid/index.d.ts.map +1 -1
  147. package/build/swift-ui/HStack/index.d.ts +2 -2
  148. package/build/swift-ui/HStack/index.d.ts.map +1 -1
  149. package/build/swift-ui/Host/index.d.ts +9 -3
  150. package/build/swift-ui/Host/index.d.ts.map +1 -1
  151. package/build/swift-ui/Label/index.d.ts +2 -2
  152. package/build/swift-ui/Label/index.d.ts.map +1 -1
  153. package/build/swift-ui/LabeledContent/index.d.ts +2 -2
  154. package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
  155. package/build/swift-ui/LazyHStack/index.d.ts +2 -2
  156. package/build/swift-ui/LazyHStack/index.d.ts.map +1 -1
  157. package/build/swift-ui/LazyVStack/index.d.ts +2 -2
  158. package/build/swift-ui/LazyVStack/index.d.ts.map +1 -1
  159. package/build/swift-ui/Link/index.d.ts +2 -2
  160. package/build/swift-ui/Link/index.d.ts.map +1 -1
  161. package/build/swift-ui/List/ListForEach.d.ts +2 -2
  162. package/build/swift-ui/List/ListForEach.d.ts.map +1 -1
  163. package/build/swift-ui/Mask/index.d.ts +2 -2
  164. package/build/swift-ui/Mask/index.d.ts.map +1 -1
  165. package/build/swift-ui/Menu/types.d.ts +2 -2
  166. package/build/swift-ui/Menu/types.d.ts.map +1 -1
  167. package/build/swift-ui/Namespace.d.ts +2 -2
  168. package/build/swift-ui/Namespace.d.ts.map +1 -1
  169. package/build/swift-ui/Overlay/index.d.ts +2 -2
  170. package/build/swift-ui/Overlay/index.d.ts.map +1 -1
  171. package/build/swift-ui/Popover/index.d.ts +2 -2
  172. package/build/swift-ui/Popover/index.d.ts.map +1 -1
  173. package/build/swift-ui/ProgressView/index.d.ts +2 -2
  174. package/build/swift-ui/ProgressView/index.d.ts.map +1 -1
  175. package/build/swift-ui/RNHostView.d.ts +2 -2
  176. package/build/swift-ui/RNHostView.d.ts.map +1 -1
  177. package/build/swift-ui/ScrollView/index.d.ts +2 -2
  178. package/build/swift-ui/ScrollView/index.d.ts.map +1 -1
  179. package/build/swift-ui/Section/index.d.ts +2 -2
  180. package/build/swift-ui/Section/index.d.ts.map +1 -1
  181. package/build/swift-ui/SecureField/index.d.ts +2 -2
  182. package/build/swift-ui/SecureField/index.d.ts.map +1 -1
  183. package/build/swift-ui/ShareLink/index.d.ts +2 -2
  184. package/build/swift-ui/ShareLink/index.d.ts.map +1 -1
  185. package/build/swift-ui/Slider/index.d.ts +2 -2
  186. package/build/swift-ui/Slider/index.d.ts.map +1 -1
  187. package/build/swift-ui/Stepper/index.d.ts +2 -2
  188. package/build/swift-ui/Stepper/index.d.ts.map +1 -1
  189. package/build/swift-ui/SwipeActions/index.d.ts +4 -4
  190. package/build/swift-ui/SwipeActions/index.d.ts.map +1 -1
  191. package/build/swift-ui/SyncToggle/index.d.ts +2 -2
  192. package/build/swift-ui/SyncToggle/index.d.ts.map +1 -1
  193. package/build/swift-ui/TabView/Tab.d.ts +2 -2
  194. package/build/swift-ui/TabView/Tab.d.ts.map +1 -1
  195. package/build/swift-ui/TabView/index.d.ts +2 -2
  196. package/build/swift-ui/TabView/index.d.ts.map +1 -1
  197. package/build/swift-ui/TextField/index.d.ts +2 -2
  198. package/build/swift-ui/TextField/index.d.ts.map +1 -1
  199. package/build/swift-ui/Toggle/index.d.ts +2 -2
  200. package/build/swift-ui/Toggle/index.d.ts.map +1 -1
  201. package/build/swift-ui/VStack/index.d.ts +2 -2
  202. package/build/swift-ui/VStack/index.d.ts.map +1 -1
  203. package/build/swift-ui/ZStack/index.d.ts +2 -2
  204. package/build/swift-ui/ZStack/index.d.ts.map +1 -1
  205. package/build/swift-ui/modifiers/index.d.ts +59 -1
  206. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  207. package/build/swift-ui/modifiers/presentationModifiers.d.ts +19 -0
  208. package/build/swift-ui/modifiers/presentationModifiers.d.ts.map +1 -1
  209. package/build/universal/Button/index.d.ts.map +1 -1
  210. package/build/universal/Checkbox/index.d.ts.map +1 -1
  211. package/build/universal/Collapsible/index.d.ts.map +1 -1
  212. package/build/universal/FieldGroup/FieldGroup.d.ts.map +1 -1
  213. package/build/universal/FieldGroup/FieldSection.d.ts.map +1 -1
  214. package/build/universal/Host/index.d.ts +1 -2
  215. package/build/universal/Host/index.d.ts.map +1 -1
  216. package/build/universal/Host/types.d.ts +16 -2
  217. package/build/universal/Host/types.d.ts.map +1 -1
  218. package/build/universal/ListItem/ListItem.android.d.ts.map +1 -1
  219. package/build/universal/ListItem/ListItem.ios.d.ts.map +1 -1
  220. package/build/universal/ListItem/types.d.ts +8 -0
  221. package/build/universal/ListItem/types.d.ts.map +1 -1
  222. package/build/universal/Picker/Picker.d.ts.map +1 -1
  223. package/build/universal/Slider/index.d.ts.map +1 -1
  224. package/build/universal/Switch/index.d.ts.map +1 -1
  225. package/build/universal/TextInput/index.d.ts.map +1 -1
  226. package/build/universal/hooks.d.ts +11 -0
  227. package/build/universal/hooks.d.ts.map +1 -1
  228. package/build/universal/keyboardEvent.fx.d.ts +2 -0
  229. package/build/universal/keyboardEvent.fx.d.ts.map +1 -0
  230. package/build/universal/webUtils.d.ts +66 -0
  231. package/build/universal/webUtils.d.ts.map +1 -0
  232. package/expo-module.config.json +1 -1
  233. package/ios/HostView.swift +15 -0
  234. package/ios/Modifiers/PresentationModifiers.swift +30 -0
  235. package/ios/Modifiers/ViewModifierRegistry.swift +115 -11
  236. package/ios/Modifiers/WidgetModifiers.swift +1 -1
  237. package/ios/RNHostView.swift +5 -0
  238. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18-sources.jar → 56.0.19/expo.modules.ui-56.0.19-sources.jar} +0 -0
  239. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.md5 +1 -0
  240. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha1 +1 -0
  241. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha256 +1 -0
  242. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha512 +1 -0
  243. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar +0 -0
  244. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.md5 +1 -0
  245. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha1 +1 -0
  246. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha256 +1 -0
  247. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha512 +1 -0
  248. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18.module → 56.0.19/expo.modules.ui-56.0.19.module} +22 -22
  249. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.md5 +1 -0
  250. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha1 +1 -0
  251. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha256 +1 -0
  252. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha512 +1 -0
  253. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18.pom → 56.0.19/expo.modules.ui-56.0.19.pom} +1 -1
  254. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.md5 +1 -0
  255. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha1 +1 -0
  256. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha256 +1 -0
  257. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha512 +1 -0
  258. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  259. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  260. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  261. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  262. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  263. package/package.json +4 -9
  264. package/plugin/tsconfig.tsbuildinfo +1 -0
  265. package/src/State/index.fx.ts +4 -5
  266. package/src/community/bottom-sheet/BottomSheet.android.tsx +6 -1
  267. package/src/community/bottom-sheet/BottomSheet.ios.tsx +8 -4
  268. package/src/community/bottom-sheet/scrollContextReset.tsx +24 -0
  269. package/src/community/datetime-picker/DateTimePicker.tsx +9 -1
  270. package/src/community/datetime-picker/types.tsx +2 -2
  271. package/src/community/menu/types.tsx +2 -2
  272. package/src/community/pager-view/types.tsx +2 -2
  273. package/src/community/segmented-control/types.tsx +2 -2
  274. package/src/community/slider/types.tsx +2 -2
  275. package/src/jetpack-compose/AlertDialog/index.tsx +2 -2
  276. package/src/jetpack-compose/AnimatedVisibility/index.tsx +2 -2
  277. package/src/jetpack-compose/Badge/index.tsx +2 -2
  278. package/src/jetpack-compose/BadgedBox/index.tsx +2 -2
  279. package/src/jetpack-compose/BasicAlertDialog/index.tsx +2 -2
  280. package/src/jetpack-compose/Box/index.tsx +2 -2
  281. package/src/jetpack-compose/Button/index.tsx +2 -2
  282. package/src/jetpack-compose/Card/index.tsx +6 -6
  283. package/src/jetpack-compose/Carousel/index.tsx +6 -6
  284. package/src/jetpack-compose/Checkbox/index.tsx +4 -4
  285. package/src/jetpack-compose/Chip/index.tsx +8 -8
  286. package/src/jetpack-compose/Column/index.tsx +2 -2
  287. package/src/jetpack-compose/DatePicker/index.tsx +6 -6
  288. package/src/jetpack-compose/DockedSearchBar/index.tsx +2 -2
  289. package/src/jetpack-compose/DropdownMenu/DropdownMenuItem.tsx +2 -2
  290. package/src/jetpack-compose/DropdownMenu/index.tsx +2 -2
  291. package/src/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.tsx +2 -2
  292. package/src/jetpack-compose/ExposedDropdownMenuBox/index.tsx +2 -2
  293. package/src/jetpack-compose/FloatingActionButton/index.tsx +6 -6
  294. package/src/jetpack-compose/FlowRow/index.tsx +2 -2
  295. package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +4 -4
  296. package/src/jetpack-compose/HorizontalPager/index.tsx +2 -2
  297. package/src/jetpack-compose/Host/index.tsx +2 -2
  298. package/src/jetpack-compose/Icon/index.tsx +2 -2
  299. package/src/jetpack-compose/IconButton/index.tsx +2 -2
  300. package/src/jetpack-compose/LazyColumn/index.tsx +2 -2
  301. package/src/jetpack-compose/LazyRow/index.tsx +2 -2
  302. package/src/jetpack-compose/ListItem/index.tsx +2 -2
  303. package/src/jetpack-compose/LoadingIndicator/index.tsx +2 -2
  304. package/src/jetpack-compose/ModalBottomSheet/index.tsx +2 -2
  305. package/src/jetpack-compose/MultiChoiceSegmentedButtonRow/index.tsx +2 -2
  306. package/src/jetpack-compose/NavigationBar/index.tsx +4 -4
  307. package/src/jetpack-compose/Progress/index.tsx +7 -7
  308. package/src/jetpack-compose/PullToRefreshBox/index.tsx +4 -4
  309. package/src/jetpack-compose/RadioButton/index.tsx +2 -2
  310. package/src/jetpack-compose/Row/index.tsx +2 -2
  311. package/src/jetpack-compose/SearchBar/index.tsx +2 -2
  312. package/src/jetpack-compose/SegmentedButton/index.tsx +2 -2
  313. package/src/jetpack-compose/Shape/index.tsx +2 -2
  314. package/src/jetpack-compose/SingleChoiceSegmentedButtonRow/index.tsx +2 -2
  315. package/src/jetpack-compose/Slider/index.tsx +2 -2
  316. package/src/jetpack-compose/Snackbar/index.tsx +4 -4
  317. package/src/jetpack-compose/Spacer/index.tsx +2 -2
  318. package/src/jetpack-compose/Surface/index.tsx +2 -2
  319. package/src/jetpack-compose/Switch/index.tsx +2 -2
  320. package/src/jetpack-compose/SyncSwitch/index.tsx +2 -2
  321. package/src/jetpack-compose/Text/index.tsx +2 -2
  322. package/src/jetpack-compose/TextField/BasicTextField.tsx +2 -2
  323. package/src/jetpack-compose/TextField/TextField.tsx +4 -4
  324. package/src/jetpack-compose/ToggleButton/index.tsx +2 -2
  325. package/src/jetpack-compose/Tooltip/index.tsx +6 -6
  326. package/src/swift-ui/AccessoryWidgetBackground/index.tsx +1 -1
  327. package/src/swift-ui/Alert/index.tsx +2 -2
  328. package/src/swift-ui/BottomSheet/index.tsx +2 -2
  329. package/src/swift-ui/Button/index.tsx +2 -2
  330. package/src/swift-ui/Chart/index.tsx +2 -2
  331. package/src/swift-ui/ColorPicker/index.tsx +2 -2
  332. package/src/swift-ui/ConfirmationDialog/index.tsx +2 -2
  333. package/src/swift-ui/ContextMenu/types.ts +4 -4
  334. package/src/swift-ui/DatePicker/index.tsx +2 -2
  335. package/src/swift-ui/Divider/index.tsx +1 -1
  336. package/src/swift-ui/Gauge/index.tsx +2 -2
  337. package/src/swift-ui/GlassEffectContainer/index.tsx +2 -2
  338. package/src/swift-ui/Grid/index.tsx +2 -2
  339. package/src/swift-ui/HStack/index.tsx +2 -2
  340. package/src/swift-ui/Host/index.tsx +12 -3
  341. package/src/swift-ui/Label/index.tsx +2 -2
  342. package/src/swift-ui/LabeledContent/index.tsx +2 -2
  343. package/src/swift-ui/LazyHStack/index.tsx +2 -2
  344. package/src/swift-ui/LazyVStack/index.tsx +2 -2
  345. package/src/swift-ui/Link/index.tsx +2 -2
  346. package/src/swift-ui/List/ListForEach.tsx +2 -2
  347. package/src/swift-ui/Mask/index.tsx +2 -2
  348. package/src/swift-ui/Menu/types.ts +2 -2
  349. package/src/swift-ui/Namespace.tsx +2 -2
  350. package/src/swift-ui/Overlay/index.tsx +2 -2
  351. package/src/swift-ui/Popover/index.tsx +2 -2
  352. package/src/swift-ui/ProgressView/index.tsx +2 -2
  353. package/src/swift-ui/RNHostView.tsx +2 -2
  354. package/src/swift-ui/ScrollView/index.tsx +2 -2
  355. package/src/swift-ui/Section/index.tsx +2 -2
  356. package/src/swift-ui/SecureField/index.tsx +2 -2
  357. package/src/swift-ui/ShareLink/index.tsx +2 -2
  358. package/src/swift-ui/Slider/index.tsx +2 -2
  359. package/src/swift-ui/Stepper/index.tsx +2 -2
  360. package/src/swift-ui/SwipeActions/index.tsx +4 -4
  361. package/src/swift-ui/SyncToggle/index.tsx +2 -2
  362. package/src/swift-ui/TabView/Tab.tsx +2 -2
  363. package/src/swift-ui/TabView/index.tsx +2 -2
  364. package/src/swift-ui/TextField/index.tsx +2 -2
  365. package/src/swift-ui/Toggle/index.tsx +2 -2
  366. package/src/swift-ui/VStack/index.tsx +2 -2
  367. package/src/swift-ui/ZStack/index.tsx +2 -2
  368. package/src/swift-ui/modifiers/index.ts +80 -0
  369. package/src/swift-ui/modifiers/presentationModifiers.ts +22 -0
  370. package/src/ts-declarations/react-native-web.d.ts +31 -3
  371. package/src/universal/Button/index.tsx +83 -35
  372. package/src/universal/Checkbox/index.tsx +85 -30
  373. package/src/universal/Collapsible/index.tsx +5 -17
  374. package/src/universal/FieldGroup/FieldGroup.tsx +5 -15
  375. package/src/universal/FieldGroup/FieldSection.tsx +14 -31
  376. package/src/universal/Host/index.tsx +44 -30
  377. package/src/universal/Host/types.ts +17 -2
  378. package/src/universal/ListItem/ListItem.android.tsx +10 -2
  379. package/src/universal/ListItem/ListItem.ios.tsx +23 -6
  380. package/src/universal/ListItem/types.ts +10 -0
  381. package/src/universal/Picker/Picker.tsx +74 -29
  382. package/src/universal/Slider/index.tsx +90 -9
  383. package/src/universal/Switch/index.android.tsx +2 -2
  384. package/src/universal/Switch/index.tsx +77 -18
  385. package/src/universal/TextInput/index.tsx +49 -13
  386. package/src/universal/hooks.ts +25 -1
  387. package/src/universal/keyboardEvent.fx.ts +28 -0
  388. package/src/universal/webUtils.ts +245 -0
  389. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.md5 +0 -1
  390. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha1 +0 -1
  391. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha256 +0 -1
  392. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha512 +0 -1
  393. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar +0 -0
  394. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.md5 +0 -1
  395. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha1 +0 -1
  396. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha256 +0 -1
  397. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha512 +0 -1
  398. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.md5 +0 -1
  399. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha1 +0 -1
  400. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha256 +0 -1
  401. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha512 +0 -1
  402. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.md5 +0 -1
  403. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha1 +0 -1
  404. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha256 +0 -1
  405. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha512 +0 -1
@@ -26,7 +26,7 @@ export type AlertDialogColors = {
26
26
  textContentColor?: ColorValue;
27
27
  };
28
28
 
29
- export type AlertDialogProps = {
29
+ export interface AlertDialogProps {
30
30
  /**
31
31
  * Colors for the alert dialog.
32
32
  */
@@ -54,7 +54,7 @@ export type AlertDialogProps = {
54
54
  * `AlertDialog.ConfirmButton`, `AlertDialog.DismissButton`, `AlertDialog.Icon`).
55
55
  */
56
56
  children?: React.ReactNode;
57
- };
57
+ }
58
58
 
59
59
  type NativeAlertDialogProps = Omit<AlertDialogProps, 'onDismissRequest'> &
60
60
  ViewEvent<'onDismissRequest', { onDismissRequest?: () => void }>;
@@ -163,7 +163,7 @@ export const ExitTransition = {
163
163
  createExitTransition([{ type: 'scaleOut', ...params }]),
164
164
  };
165
165
 
166
- export type AnimatedVisibilityProps = {
166
+ export interface AnimatedVisibilityProps extends PrimitiveBaseProps {
167
167
  children?: React.ReactNode;
168
168
  /**
169
169
  * Whether the content is visible. When changed, the content will animate in or out.
@@ -181,7 +181,7 @@ export type AnimatedVisibilityProps = {
181
181
  * Defaults to Compose's `fadeOut + shrinkOut` when not specified.
182
182
  */
183
183
  exitTransition?: ExitTransitionType;
184
- } & PrimitiveBaseProps;
184
+ }
185
185
 
186
186
  type AnimatedVisibilityNativeProps = Omit<
187
187
  AnimatedVisibilityProps,
@@ -4,7 +4,7 @@ import { type ColorValue } from 'react-native';
4
4
  import { type ModifierConfig } from '../../types';
5
5
  import { createViewModifierEventListener } from '../modifiers/utils';
6
6
 
7
- export type BadgeProps = {
7
+ export interface BadgeProps {
8
8
  /**
9
9
  * Background color of the badge.
10
10
  * @default BadgeDefaults.containerColor
@@ -24,7 +24,7 @@ export type BadgeProps = {
24
24
  * When omitted, renders as a small indicator dot.
25
25
  */
26
26
  children?: React.ReactNode;
27
- };
27
+ }
28
28
 
29
29
  const BadgeNativeView: React.ComponentType<BadgeProps> = requireNativeView('ExpoUI', 'BadgeView');
30
30
 
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
3
3
  import { type ModifierConfig } from '../../types';
4
4
  import { createViewModifierEventListener } from '../modifiers/utils';
5
5
 
6
- export type BadgedBoxProps = {
6
+ export interface BadgedBoxProps {
7
7
  /**
8
8
  * Modifiers for the component.
9
9
  */
@@ -12,7 +12,7 @@ export type BadgedBoxProps = {
12
12
  * Children containing the main content and a `BadgedBox.Badge` slot.
13
13
  */
14
14
  children?: React.ReactNode;
15
- };
15
+ }
16
16
 
17
17
  type SlotProps = {
18
18
  slotName: string;
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
3
3
  import { type ViewEvent, type ModifierConfig, type DialogProperties } from '../../types';
4
4
  import { createViewModifierEventListener } from '../modifiers/utils';
5
5
 
6
- export type BasicAlertDialogProps = {
6
+ export interface BasicAlertDialogProps {
7
7
  /**
8
8
  * The content to display inside the dialog.
9
9
  */
@@ -21,7 +21,7 @@ export type BasicAlertDialogProps = {
21
21
  * Modifiers for the component.
22
22
  */
23
23
  modifiers?: ModifierConfig[];
24
- };
24
+ }
25
25
 
26
26
  type NativeBasicAlertDialogProps = Omit<BasicAlertDialogProps, 'onDismissRequest'> &
27
27
  ViewEvent<
@@ -7,7 +7,7 @@ import {
7
7
  transformProps,
8
8
  } from '../layout-types';
9
9
 
10
- export type BoxProps = {
10
+ export interface BoxProps extends PrimitiveBaseProps {
11
11
  children?: React.ReactNode;
12
12
  /**
13
13
  * Alignment of children within the box.
@@ -17,7 +17,7 @@ export type BoxProps = {
17
17
  * Scroll behavior for the floating toolbar exit.
18
18
  */
19
19
  floatingToolbarExitAlwaysScrollBehavior?: FloatingToolbarExitAlwaysScrollBehavior;
20
- } & PrimitiveBaseProps;
20
+ }
21
21
 
22
22
  const BoxNativeView: React.ComponentType<BoxProps> = requireNativeView('ExpoUI', 'BoxView');
23
23
 
@@ -26,7 +26,7 @@ export type ButtonContentPadding = {
26
26
  bottom?: number;
27
27
  };
28
28
 
29
- export type ButtonProps = {
29
+ export interface ButtonProps {
30
30
  /**
31
31
  * Callback that is called when the button is clicked.
32
32
  */
@@ -57,7 +57,7 @@ export type ButtonProps = {
57
57
  * Content to display inside the button.
58
58
  */
59
59
  children: React.ReactNode;
60
- };
60
+ }
61
61
 
62
62
  type NativeButtonProps = Omit<ButtonProps, 'onClick' | 'shape' | 'children'> & {
63
63
  shape?: ShapeRecordProps;
@@ -49,7 +49,7 @@ function createCardComponent<P extends { modifiers?: ModifierConfig[] }>(
49
49
 
50
50
  // region Card
51
51
 
52
- export type CardProps = {
52
+ export interface CardProps {
53
53
  /**
54
54
  * The content to display inside the card.
55
55
  */
@@ -70,7 +70,7 @@ export type CardProps = {
70
70
  * Modifiers for the component.
71
71
  */
72
72
  modifiers?: ModifierConfig[];
73
- };
73
+ }
74
74
 
75
75
  /**
76
76
  * A card component that renders a filled card surface for content.
@@ -81,7 +81,7 @@ export const Card = createCardComponent<CardProps>('CardView');
81
81
 
82
82
  // region ElevatedCard
83
83
 
84
- export type ElevatedCardProps = {
84
+ export interface ElevatedCardProps {
85
85
  /**
86
86
  * The content to display inside the card.
87
87
  */
@@ -98,7 +98,7 @@ export type ElevatedCardProps = {
98
98
  * Modifiers for the component.
99
99
  */
100
100
  modifiers?: ModifierConfig[];
101
- };
101
+ }
102
102
 
103
103
  /**
104
104
  * An elevated card component that provides a raised surface for content.
@@ -109,7 +109,7 @@ export const ElevatedCard = createCardComponent<ElevatedCardProps>('ElevatedCard
109
109
 
110
110
  // region OutlinedCard
111
111
 
112
- export type OutlinedCardProps = {
112
+ export interface OutlinedCardProps {
113
113
  /**
114
114
  * The content to display inside the card.
115
115
  */
@@ -130,7 +130,7 @@ export type OutlinedCardProps = {
130
130
  * Modifiers for the component.
131
131
  */
132
132
  modifiers?: ModifierConfig[];
133
- };
133
+ }
134
134
 
135
135
  /**
136
136
  * An outlined card component that provides a bordered surface for content.
@@ -71,7 +71,7 @@ function createCarouselComponent<P extends { modifiers?: ModifierConfig[] }>(
71
71
 
72
72
  // region HorizontalCenteredHeroCarousel
73
73
 
74
- export type HorizontalCenteredHeroCarouselProps = CarouselCommonConfig & {
74
+ export interface HorizontalCenteredHeroCarouselProps extends CarouselCommonConfig {
75
75
  /**
76
76
  * Maximum width of the hero item in dp.
77
77
  * When unspecified, the hero item will be as wide as possible.
@@ -87,7 +87,7 @@ export type HorizontalCenteredHeroCarouselProps = CarouselCommonConfig & {
87
87
  * @default CarouselDefaults.MaxSmallItemSize
88
88
  */
89
89
  maxSmallItemWidth?: number;
90
- };
90
+ }
91
91
 
92
92
  /**
93
93
  * A hero carousel that centers one large item between two small peek items,
@@ -102,7 +102,7 @@ export const HorizontalCenteredHeroCarousel =
102
102
 
103
103
  // region HorizontalMultiBrowseCarousel
104
104
 
105
- export type HorizontalMultiBrowseCarouselProps = CarouselCommonConfig & {
105
+ export interface HorizontalMultiBrowseCarouselProps extends CarouselCommonConfig {
106
106
  /**
107
107
  * The preferred width of the large item in dp.
108
108
  */
@@ -117,7 +117,7 @@ export type HorizontalMultiBrowseCarouselProps = CarouselCommonConfig & {
117
117
  * @default CarouselDefaults.MaxSmallItemSize
118
118
  */
119
119
  maxSmallItemWidth?: number;
120
- };
120
+ }
121
121
 
122
122
  /**
123
123
  * A carousel that shows a large item alongside smaller peek items,
@@ -130,12 +130,12 @@ export const HorizontalMultiBrowseCarousel =
130
130
 
131
131
  // region HorizontalUncontainedCarousel
132
132
 
133
- export type HorizontalUncontainedCarouselProps = CarouselCommonConfig & {
133
+ export interface HorizontalUncontainedCarouselProps extends CarouselCommonConfig {
134
134
  /**
135
135
  * The width of each item in dp.
136
136
  */
137
137
  itemWidth: number;
138
- };
138
+ }
139
139
 
140
140
  /**
141
141
  * A carousel where each item has a fixed width with free-form scrolling,
@@ -16,7 +16,7 @@ export type CheckboxColors = {
16
16
  disabledIndeterminateColor?: ColorValue;
17
17
  };
18
18
 
19
- export type CheckboxProps = {
19
+ export interface CheckboxProps {
20
20
  /**
21
21
  * Indicates whether the checkbox is checked.
22
22
  */
@@ -38,7 +38,7 @@ export type CheckboxProps = {
38
38
  * Modifiers for the component.
39
39
  */
40
40
  modifiers?: ModifierConfig[];
41
- };
41
+ }
42
42
 
43
43
  type NativeCheckboxProps = Omit<CheckboxProps, 'onCheckedChange'> & {
44
44
  nativeClickable: boolean;
@@ -75,7 +75,7 @@ export function Checkbox(props: CheckboxProps) {
75
75
  */
76
76
  export type ToggleableState = 'on' | 'off' | 'indeterminate';
77
77
 
78
- export type TriStateCheckboxProps = {
78
+ export interface TriStateCheckboxProps {
79
79
  /**
80
80
  * The toggleable state of the checkbox: `'on'`, `'off'`, or `'indeterminate'`.
81
81
  */
@@ -97,7 +97,7 @@ export type TriStateCheckboxProps = {
97
97
  * Modifiers for the component.
98
98
  */
99
99
  modifiers?: ModifierConfig[];
100
- };
100
+ }
101
101
 
102
102
  type NativeTriStateCheckboxProps = Omit<TriStateCheckboxProps, 'onClick'> & {
103
103
  nativeClickable: boolean;
@@ -81,7 +81,7 @@ const SlotNativeView: React.ComponentType<NativeSlotViewProps> = requireNativeVi
81
81
 
82
82
  // region AssistChip
83
83
 
84
- export type AssistChipProps = {
84
+ export interface AssistChipProps {
85
85
  /**
86
86
  * Whether the chip is enabled and can be clicked.
87
87
  * @default true
@@ -111,7 +111,7 @@ export type AssistChipProps = {
111
111
  * Children containing Label, LeadingIcon, and TrailingIcon slots.
112
112
  */
113
113
  children: React.ReactNode;
114
- };
114
+ }
115
115
 
116
116
  type NativeAssistChipProps = Omit<AssistChipProps, 'onClick'> & {
117
117
  onNativeClick?: () => void;
@@ -170,7 +170,7 @@ export { AssistChipComponent as AssistChip };
170
170
 
171
171
  // region FilterChip
172
172
 
173
- export type FilterChipProps = {
173
+ export interface FilterChipProps {
174
174
  /**
175
175
  * Whether the chip is currently selected.
176
176
  */
@@ -203,7 +203,7 @@ export type FilterChipProps = {
203
203
  * Children containing Label, LeadingIcon, and TrailingIcon slots.
204
204
  */
205
205
  children: React.ReactNode;
206
- };
206
+ }
207
207
 
208
208
  type NativeFilterChipProps = Omit<FilterChipProps, 'onClick'> & {
209
209
  onNativeClick?: () => void;
@@ -262,7 +262,7 @@ export { FilterChipComponent as FilterChip };
262
262
 
263
263
  // region InputChip
264
264
 
265
- export type InputChipProps = {
265
+ export interface InputChipProps {
266
266
  /**
267
267
  * Whether the chip is enabled and can be interacted with.
268
268
  * @default true
@@ -297,7 +297,7 @@ export type InputChipProps = {
297
297
  * Children containing Label, Avatar, and TrailingIcon slots.
298
298
  */
299
299
  children: React.ReactNode;
300
- };
300
+ }
301
301
 
302
302
  type NativeInputChipProps = Omit<InputChipProps, 'onClick'> & {
303
303
  onNativeClick?: () => void;
@@ -356,7 +356,7 @@ export { InputChipComponent as InputChip };
356
356
 
357
357
  // region SuggestionChip
358
358
 
359
- export type SuggestionChipProps = {
359
+ export interface SuggestionChipProps {
360
360
  /**
361
361
  * Whether the chip is enabled and can be clicked.
362
362
  * @default true
@@ -386,7 +386,7 @@ export type SuggestionChipProps = {
386
386
  * Children containing Label and Icon slots.
387
387
  */
388
388
  children: React.ReactNode;
389
- };
389
+ }
390
390
 
391
391
  type NativeSuggestionChipProps = Omit<SuggestionChipProps, 'onClick'> & {
392
392
  onNativeClick?: () => void;
@@ -9,7 +9,7 @@ import {
9
9
  transformProps,
10
10
  } from '../layout-types';
11
11
 
12
- export type ColumnProps = {
12
+ export interface ColumnProps extends PrimitiveBaseProps {
13
13
  children?: React.ReactNode;
14
14
  /**
15
15
  * Horizontal arrangement of children.
@@ -27,7 +27,7 @@ export type ColumnProps = {
27
27
  * Vertical alignment of children.
28
28
  */
29
29
  verticalAlignment?: VerticalAlignment;
30
- } & PrimitiveBaseProps;
30
+ }
31
31
 
32
32
  const ColumnNativeView: React.ComponentType<ColumnProps> = requireNativeView(
33
33
  'ExpoUI',
@@ -98,7 +98,7 @@ export type TimePickerElementColors = {
98
98
  timeSelectorUnselectedContentColor?: ColorValue;
99
99
  };
100
100
 
101
- export type DateTimePickerProps = {
101
+ export interface DateTimePickerProps {
102
102
  /**
103
103
  * The initial date to display on the picker.
104
104
  */
@@ -154,7 +154,7 @@ export type DateTimePickerProps = {
154
154
  * Modifiers for the component.
155
155
  */
156
156
  modifiers?: ModifierConfig[];
157
- };
157
+ }
158
158
 
159
159
  type NativeDatePickerProps = Omit<
160
160
  DateTimePickerProps,
@@ -212,7 +212,7 @@ export function DateTimePicker(props: DateTimePickerProps) {
212
212
 
213
213
  // -- Dialog views (used internally by the compat layer) ---------------------
214
214
 
215
- export type DatePickerDialogProps = {
215
+ export interface DatePickerDialogProps {
216
216
  initialDate?: string | null;
217
217
  variant?: AndroidVariant;
218
218
  showVariantToggle?: boolean;
@@ -223,7 +223,7 @@ export type DatePickerDialogProps = {
223
223
  selectableDates?: { start?: Date; end?: Date };
224
224
  onDateSelected?: (date: Date) => void;
225
225
  onDismissRequest: () => void;
226
- };
226
+ }
227
227
 
228
228
  type NativeDatePickerDialogProps = Omit<
229
229
  DatePickerDialogProps,
@@ -260,7 +260,7 @@ export function DatePickerDialog(props: DatePickerDialogProps) {
260
260
  return <DatePickerDialogNativeView {...nativeProps} />;
261
261
  }
262
262
 
263
- export type TimePickerDialogProps = {
263
+ export interface TimePickerDialogProps {
264
264
  initialDate?: string | null;
265
265
  is24Hour?: boolean;
266
266
  confirmButtonLabel?: string;
@@ -269,7 +269,7 @@ export type TimePickerDialogProps = {
269
269
  elementColors?: DatePickerElementColors & TimePickerElementColors;
270
270
  onDateSelected?: (date: Date) => void;
271
271
  onDismissRequest: () => void;
272
- };
272
+ }
273
273
 
274
274
  type NativeTimePickerDialogProps = Omit<
275
275
  TimePickerDialogProps,
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
3
3
  import { type ExpoModifier, type ViewEvent } from '../../types';
4
4
  import { createViewModifierEventListener } from '../modifiers/utils';
5
5
 
6
- export type DockedSearchBarProps = {
6
+ export interface DockedSearchBarProps {
7
7
  /**
8
8
  * Callback function that is called when the search query changes.
9
9
  */
@@ -18,7 +18,7 @@ export type DockedSearchBarProps = {
18
18
  * The children of the component.
19
19
  */
20
20
  children?: React.ReactNode;
21
- };
21
+ }
22
22
 
23
23
  type PlaceholderProps = {
24
24
  children: React.ReactNode;
@@ -31,7 +31,7 @@ export type DropdownMenuItemElementColors = {
31
31
  /**
32
32
  * Props of the `DropdownMenuItem` component.
33
33
  */
34
- export type DropdownMenuItemProps = {
34
+ export interface DropdownMenuItemProps {
35
35
  /**
36
36
  * Whether the menu item is enabled.
37
37
  * @default true
@@ -53,7 +53,7 @@ export type DropdownMenuItemProps = {
53
53
  * Slot children for text, leading/trailing icons.
54
54
  */
55
55
  children?: React.ReactNode;
56
- };
56
+ }
57
57
 
58
58
  type NativeDropdownMenuItemProps = Omit<DropdownMenuItemProps, 'onClick' | 'children'> &
59
59
  ViewEvent<'onItemPressed', void> & { children?: React.ReactNode };
@@ -19,7 +19,7 @@ const SlotNativeView: React.ComponentType<{
19
19
  /**
20
20
  * Props of the `DropdownMenu` component.
21
21
  */
22
- export type DropdownMenuProps = {
22
+ export interface DropdownMenuProps {
23
23
  /**
24
24
  * The contents of the submenu are used as an anchor for the dropdown menu.
25
25
  * The children will be wrapped in a pressable element, which triggers opening of the dropdown menu.
@@ -51,7 +51,7 @@ export type DropdownMenuProps = {
51
51
  * Modifiers for the component.
52
52
  */
53
53
  modifiers?: ModifierConfig[];
54
- };
54
+ }
55
55
 
56
56
  type NativeMenuProps = {
57
57
  expanded?: boolean;
@@ -13,7 +13,7 @@ const NativeView: React.ComponentType<ExposedDropdownMenuProps> = requireNativeV
13
13
  /**
14
14
  * Props for the `ExposedDropdownMenu` component.
15
15
  */
16
- export type ExposedDropdownMenuProps = {
16
+ export interface ExposedDropdownMenuProps {
17
17
  /**
18
18
  * Whether the dropdown menu is expanded (visible).
19
19
  */
@@ -34,7 +34,7 @@ export type ExposedDropdownMenuProps = {
34
34
  * Children should be `DropdownMenuItem` components.
35
35
  */
36
36
  children?: ReactNode;
37
- };
37
+ }
38
38
 
39
39
  /**
40
40
  * A Material 3 `ExposedDropdownMenu` that displays menu items in a dropdown.
@@ -10,7 +10,7 @@ const NativeView: React.ComponentType<NativeExposedDropdownMenuBoxProps> = requi
10
10
  'ExposedDropdownMenuBoxView'
11
11
  );
12
12
 
13
- export type ExposedDropdownMenuBoxProps = {
13
+ export interface ExposedDropdownMenuBoxProps {
14
14
  /**
15
15
  * Whether the dropdown menu is expanded (visible).
16
16
  */
@@ -28,7 +28,7 @@ export type ExposedDropdownMenuBoxProps = {
28
28
  * and an `ExposedDropdownMenu` with `DropdownMenuItem` children.
29
29
  */
30
30
  children?: ReactNode;
31
- };
31
+ }
32
32
 
33
33
  type NativeExposedDropdownMenuBoxProps = Omit<
34
34
  ExposedDropdownMenuBoxProps,
@@ -16,7 +16,7 @@ type NativeSlotViewProps = {
16
16
  /**
17
17
  * Props shared by all `FloatingActionButton` variants.
18
18
  */
19
- export type FloatingActionButtonProps = {
19
+ export interface FloatingActionButtonProps {
20
20
  /**
21
21
  * Slot-based children (use `.Icon` sub-component).
22
22
  */
@@ -37,24 +37,24 @@ export type FloatingActionButtonProps = {
37
37
  * Modifiers for the component.
38
38
  */
39
39
  modifiers?: ModifierConfig[];
40
- };
40
+ }
41
41
 
42
42
  /**
43
43
  * Props for the `SmallFloatingActionButton` component.
44
44
  * Same as {@link FloatingActionButtonProps}.
45
45
  */
46
- export type SmallFloatingActionButtonProps = FloatingActionButtonProps;
46
+ export interface SmallFloatingActionButtonProps extends FloatingActionButtonProps {}
47
47
 
48
48
  /**
49
49
  * Props for the `LargeFloatingActionButton` component.
50
50
  * Same as {@link FloatingActionButtonProps}.
51
51
  */
52
- export type LargeFloatingActionButtonProps = FloatingActionButtonProps;
52
+ export interface LargeFloatingActionButtonProps extends FloatingActionButtonProps {}
53
53
 
54
54
  /**
55
55
  * Props for the `ExtendedFloatingActionButton` component.
56
56
  */
57
- export type ExtendedFloatingActionButtonProps = FloatingActionButtonProps & {
57
+ export interface ExtendedFloatingActionButtonProps extends FloatingActionButtonProps {
58
58
  /**
59
59
  * Slot-based children (use `.Icon` and `.Text` sub-components).
60
60
  */
@@ -65,7 +65,7 @@ export type ExtendedFloatingActionButtonProps = FloatingActionButtonProps & {
65
65
  * @default true
66
66
  */
67
67
  expanded?: boolean;
68
- };
68
+ }
69
69
 
70
70
  /**
71
71
  * @hidden
@@ -7,7 +7,7 @@ import {
7
7
  transformProps,
8
8
  } from '../layout-types';
9
9
 
10
- export type FlowRowProps = {
10
+ export interface FlowRowProps extends PrimitiveBaseProps {
11
11
  children?: React.ReactNode;
12
12
  /**
13
13
  * Horizontal arrangement of children.
@@ -17,7 +17,7 @@ export type FlowRowProps = {
17
17
  * Vertical arrangement of children.
18
18
  */
19
19
  verticalArrangement?: VerticalArrangement;
20
- } & PrimitiveBaseProps;
20
+ }
21
21
 
22
22
  const FlowRowNativeView: React.ComponentType<FlowRowProps> = requireNativeView(
23
23
  'ExpoUI',
@@ -26,7 +26,7 @@ export type HorizontalFloatingToolbarColors = {
26
26
  fabContentColor?: ColorValue;
27
27
  };
28
28
 
29
- export type HorizontalFloatingToolbarProps = {
29
+ export interface HorizontalFloatingToolbarProps {
30
30
  /**
31
31
  * The variant of the horizontal floating toolbar.
32
32
  * @default 'standard'
@@ -48,9 +48,9 @@ export type HorizontalFloatingToolbarProps = {
48
48
  * Modifiers for the component.
49
49
  */
50
50
  modifiers?: ExpoModifier[];
51
- };
51
+ }
52
52
 
53
- export type HorizontalFloatingToolbarFloatingActionButtonProps = {
53
+ export interface HorizontalFloatingToolbarFloatingActionButtonProps {
54
54
  /**
55
55
  * A callback that is called when the button is pressed.
56
56
  */
@@ -60,7 +60,7 @@ export type HorizontalFloatingToolbarFloatingActionButtonProps = {
60
60
  * The children of the component.
61
61
  */
62
62
  children: React.ReactNode;
63
- };
63
+ }
64
64
 
65
65
  type NativeHorizontalFloatingToolbarProps = HorizontalFloatingToolbarProps & {};
66
66
 
@@ -26,7 +26,7 @@ export type HorizontalPagerHandle = {
26
26
  */
27
27
  export type HorizontalPagerDragInteraction = 'start' | 'stop' | 'cancel';
28
28
 
29
- export type HorizontalPagerProps = {
29
+ export interface HorizontalPagerProps {
30
30
  /**
31
31
  * Imperative handle for programmatic navigation. Mirrors the methods on
32
32
  * Compose's `PagerState`.
@@ -104,7 +104,7 @@ export type HorizontalPagerProps = {
104
104
  * Children to render as pages.
105
105
  */
106
106
  children: React.ReactNode;
107
- };
107
+ }
108
108
 
109
109
  type NativeHorizontalPagerProps = Omit<
110
110
  HorizontalPagerProps,
@@ -12,7 +12,7 @@ import {
12
12
  import { getMaterialColors, HostPaletteContext } from '../colors';
13
13
  import { type PrimitiveBaseProps } from '../layout';
14
14
 
15
- export type HostProps = {
15
+ export interface HostProps extends PrimitiveBaseProps {
16
16
  /**
17
17
  * When true, the host view will update its size in the React Native view tree to match the content's layout from Jetpack Compose.
18
18
  * Can be only set once on mount.
@@ -65,7 +65,7 @@ export type HostProps = {
65
65
  children: React.ReactNode;
66
66
  style?: StyleProp<ViewStyle>;
67
67
  pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto';
68
- } & PrimitiveBaseProps;
68
+ }
69
69
 
70
70
  type NativeHostProps = Omit<HostProps, 'colorScheme'> & {
71
71
  matchContentsVertical?: boolean;
@@ -9,7 +9,7 @@ import {
9
9
  import type { ModifierConfig } from '../../types';
10
10
  import { createViewModifierEventListener } from '../modifiers/utils';
11
11
 
12
- export type IconProps = {
12
+ export interface IconProps {
13
13
  /**
14
14
  * The source of the icon. Can be a URI string or the result of `require()`.
15
15
  * On Android, supports XML vector drawables loaded via Metro bundler.
@@ -81,7 +81,7 @@ export type IconProps = {
81
81
  * ```
82
82
  */
83
83
  modifiers?: ModifierConfig[];
84
- };
84
+ }
85
85
 
86
86
  /**
87
87
  * @hidden
@@ -15,7 +15,7 @@ export type IconButtonColors = {
15
15
  disabledContentColor?: ColorValue;
16
16
  };
17
17
 
18
- export type IconButtonProps = {
18
+ export interface IconButtonProps {
19
19
  /**
20
20
  * Callback that is called when the icon button is clicked.
21
21
  */
@@ -42,7 +42,7 @@ export type IconButtonProps = {
42
42
  * Content to display inside the icon button.
43
43
  */
44
44
  children: React.ReactNode;
45
- };
45
+ }
46
46
 
47
47
  type NativeIconButtonProps = Omit<IconButtonProps, 'onClick' | 'shape' | 'children'> & {
48
48
  shape?: ShapeRecordProps;