@expo/ui 55.0.0-preview.6 → 55.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/android/build.gradle +27 -8
  3. package/android/src/main/java/expo/modules/ui/BasicAlertDialogView.kt +26 -0
  4. package/android/src/main/java/expo/modules/ui/BottomSheetView.kt +12 -37
  5. package/android/src/main/java/expo/modules/ui/CardView.kt +72 -0
  6. package/android/src/main/java/expo/modules/ui/CarouselView.kt +2 -5
  7. package/android/src/main/java/expo/modules/ui/ComposeViews.kt +91 -130
  8. package/android/src/main/java/expo/modules/ui/DatePickerView.kt +2 -2
  9. package/android/src/main/java/expo/modules/ui/DividerView.kt +1 -1
  10. package/android/src/main/java/expo/modules/ui/DockedSearchBarView.kt +53 -0
  11. package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +136 -17
  12. package/android/src/main/java/expo/modules/ui/FilterChipView.kt +59 -0
  13. package/android/src/main/java/expo/modules/ui/HorizontalFloatingToolbarView.kt +63 -0
  14. package/android/src/main/java/expo/modules/ui/LazyColumnView.kt +95 -0
  15. package/android/src/main/java/expo/modules/ui/ListItemView.kt +89 -0
  16. package/android/src/main/java/expo/modules/ui/MaterialShapes.kt +77 -0
  17. package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +168 -30
  18. package/android/src/main/java/expo/modules/ui/PickerView.kt +2 -2
  19. package/android/src/main/java/expo/modules/ui/ProgressView.kt +1 -1
  20. package/android/src/main/java/expo/modules/ui/PullToRefreshBoxView.kt +40 -0
  21. package/android/src/main/java/expo/modules/ui/RNHostView.kt +87 -0
  22. package/android/src/main/java/expo/modules/ui/RadioButtonView.kt +28 -0
  23. package/android/src/main/java/expo/modules/ui/SearchBarView.kt +60 -0
  24. package/android/src/main/java/expo/modules/ui/ShapeView.kt +36 -5
  25. package/android/src/main/java/expo/modules/ui/SliderView.kt +1 -1
  26. package/android/src/main/java/expo/modules/ui/SlotView.kt +53 -0
  27. package/android/src/main/java/expo/modules/ui/SpacerView.kt +15 -0
  28. package/android/src/main/java/expo/modules/ui/SurfaceView.kt +36 -0
  29. package/android/src/main/java/expo/modules/ui/SwitchView.kt +24 -4
  30. package/android/src/main/java/expo/modules/ui/TextButtonView.kt +33 -0
  31. package/android/src/main/java/expo/modules/ui/TextInputView.kt +1 -2
  32. package/android/src/main/java/expo/modules/ui/TextView.kt +194 -0
  33. package/android/src/main/java/expo/modules/ui/ToggleButtonView.kt +96 -0
  34. package/android/src/main/java/expo/modules/ui/Utils.kt +6 -0
  35. package/android/src/main/java/expo/modules/ui/button/Button.kt +1 -1
  36. package/android/src/main/java/expo/modules/ui/button/IconButton.kt +2 -6
  37. package/android/src/main/java/expo/modules/ui/convertibles/Alignment.kt +112 -0
  38. package/android/src/main/java/expo/modules/ui/convertibles/Arrangement.kt +72 -0
  39. package/android/src/main/java/expo/modules/ui/icon/IconView.kt +159 -0
  40. package/android/src/main/java/expo/modules/ui/icon/ResourceIdHelper.kt +47 -0
  41. package/android/src/main/java/expo/modules/ui/icon/VectorIconLoader.kt +369 -0
  42. package/android/src/main/java/expo/modules/ui/menu/ContextMenu.kt +1 -1
  43. package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
  44. package/build/jetpack-compose/BasicAlertDialog/index.d.ts +22 -0
  45. package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -0
  46. package/build/jetpack-compose/Button/index.d.ts.map +1 -1
  47. package/build/jetpack-compose/Card/index.d.ts +40 -0
  48. package/build/jetpack-compose/Card/index.d.ts.map +1 -0
  49. package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
  50. package/build/jetpack-compose/Chip/index.d.ts +0 -4
  51. package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
  52. package/build/jetpack-compose/ContextMenu/index.d.ts.map +1 -1
  53. package/build/jetpack-compose/DatePicker/index.d.ts +1 -12
  54. package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
  55. package/build/jetpack-compose/Divider/index.d.ts.map +1 -1
  56. package/build/jetpack-compose/DockedSearchBar/index.d.ts +30 -0
  57. package/build/jetpack-compose/DockedSearchBar/index.d.ts.map +1 -0
  58. package/build/jetpack-compose/ExpoUIModule.d.ts +2 -0
  59. package/build/jetpack-compose/ExpoUIModule.d.ts.map +1 -0
  60. package/build/jetpack-compose/FilterChip/index.d.ts +49 -0
  61. package/build/jetpack-compose/FilterChip/index.d.ts.map +1 -0
  62. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +41 -0
  63. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -0
  64. package/build/jetpack-compose/Icon/index.d.ts +112 -0
  65. package/build/jetpack-compose/Icon/index.d.ts.map +1 -0
  66. package/build/jetpack-compose/IconButton/index.d.ts +0 -4
  67. package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
  68. package/build/jetpack-compose/LazyColumn/index.d.ts +55 -0
  69. package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -0
  70. package/build/jetpack-compose/ListItem/index.d.ts +81 -0
  71. package/build/jetpack-compose/ListItem/index.d.ts.map +1 -0
  72. package/build/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.d.ts +2 -0
  73. package/build/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.d.ts.map +1 -0
  74. package/build/jetpack-compose/ModalBottomSheet/index.d.ts +34 -0
  75. package/build/jetpack-compose/ModalBottomSheet/index.d.ts.map +1 -0
  76. package/build/jetpack-compose/Picker/index.d.ts +0 -6
  77. package/build/jetpack-compose/Picker/index.d.ts.map +1 -1
  78. package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
  79. package/build/jetpack-compose/PullToRefreshBox/index.d.ts +31 -0
  80. package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -0
  81. package/build/jetpack-compose/RNHostView/index.d.ts +28 -0
  82. package/build/jetpack-compose/RNHostView/index.d.ts.map +1 -0
  83. package/build/jetpack-compose/RadioButton/index.d.ts +20 -0
  84. package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -0
  85. package/build/jetpack-compose/SearchBar/index.d.ts +47 -0
  86. package/build/jetpack-compose/SearchBar/index.d.ts.map +1 -0
  87. package/build/jetpack-compose/Shape/index.d.ts +29 -2
  88. package/build/jetpack-compose/Shape/index.d.ts.map +1 -1
  89. package/build/jetpack-compose/Slider/index.d.ts +1 -9
  90. package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
  91. package/build/jetpack-compose/Spacer/index.d.ts +22 -0
  92. package/build/jetpack-compose/Spacer/index.d.ts.map +1 -0
  93. package/build/jetpack-compose/Surface/index.d.ts +44 -0
  94. package/build/jetpack-compose/Surface/index.d.ts.map +1 -0
  95. package/build/jetpack-compose/Switch/index.d.ts +17 -9
  96. package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
  97. package/build/jetpack-compose/Text/index.d.ts +182 -0
  98. package/build/jetpack-compose/Text/index.d.ts.map +1 -0
  99. package/build/jetpack-compose/TextButton/index.d.ts +29 -0
  100. package/build/jetpack-compose/TextButton/index.d.ts.map +1 -0
  101. package/build/jetpack-compose/TextInput/index.d.ts.map +1 -1
  102. package/build/jetpack-compose/ToggleButton/index.d.ts +54 -0
  103. package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -0
  104. package/build/jetpack-compose/index.d.ts +20 -1
  105. package/build/jetpack-compose/index.d.ts.map +1 -1
  106. package/build/jetpack-compose/layout.d.ts +16 -19
  107. package/build/jetpack-compose/layout.d.ts.map +1 -1
  108. package/build/jetpack-compose/modifiers/createModifier.d.ts +18 -0
  109. package/build/jetpack-compose/modifiers/createModifier.d.ts.map +1 -0
  110. package/build/jetpack-compose/modifiers/index.d.ts +133 -41
  111. package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
  112. package/build/jetpack-compose/modifiers/utils.d.ts +15 -0
  113. package/build/jetpack-compose/modifiers/utils.d.ts.map +1 -0
  114. package/build/swift-ui/ConfirmationDialog/index.d.ts +47 -0
  115. package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -0
  116. package/build/swift-ui/ScrollView/index.d.ts +16 -0
  117. package/build/swift-ui/ScrollView/index.d.ts.map +1 -0
  118. package/build/swift-ui/index.d.ts +2 -0
  119. package/build/swift-ui/index.d.ts.map +1 -1
  120. package/build/swift-ui/modifiers/index.d.ts +12 -3
  121. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  122. package/expo-module.config.json +2 -1
  123. package/ios/ColorPickerView.swift +2 -2
  124. package/ios/ConfirmationDialog/ConfirmationDialog.swift +65 -0
  125. package/ios/ConfirmationDialog/ConfirmationDialogComponents.swift +26 -0
  126. package/ios/ConfirmationDialog/ConfirmationDialogProps.swift +15 -0
  127. package/ios/Convertibles/VisibilityOptions.swift +19 -0
  128. package/ios/ExpoUIModule.swift +5 -0
  129. package/ios/Modifiers/ForegroundStyleModifier.swift +124 -0
  130. package/ios/Modifiers/PresentationModifiers.swift +1 -18
  131. package/ios/Modifiers/ViewModifierRegistry.swift +30 -121
  132. package/ios/ScrollViewComponent.swift +23 -0
  133. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar +0 -0
  134. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.md5 +1 -0
  135. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha1 +1 -0
  136. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha256 +1 -0
  137. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha512 +1 -0
  138. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar +0 -0
  139. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.md5 +1 -0
  140. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha1 +1 -0
  141. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha256 +1 -0
  142. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha512 +1 -0
  143. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module → 55.0.0/expo.modules.ui-55.0.0.module} +46 -28
  144. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.md5 +1 -0
  145. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha1 +1 -0
  146. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha256 +1 -0
  147. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha512 +1 -0
  148. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom → 55.0.0/expo.modules.ui-55.0.0.pom} +36 -7
  149. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.md5 +1 -0
  150. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha1 +1 -0
  151. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha256 +1 -0
  152. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha512 +1 -0
  153. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  154. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  155. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  156. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  157. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  158. package/package.json +5 -3
  159. package/src/jetpack-compose/AlertDialog/index.tsx +11 -1
  160. package/src/jetpack-compose/BasicAlertDialog/index.tsx +51 -0
  161. package/src/jetpack-compose/Button/index.tsx +13 -1
  162. package/src/jetpack-compose/Card/index.tsx +62 -0
  163. package/src/jetpack-compose/Carousel/index.tsx +7 -1
  164. package/src/jetpack-compose/Chip/index.tsx +14 -7
  165. package/src/jetpack-compose/ContextMenu/index.tsx +5 -2
  166. package/src/jetpack-compose/DatePicker/index.tsx +5 -5
  167. package/src/jetpack-compose/Divider/index.tsx +13 -2
  168. package/src/jetpack-compose/DockedSearchBar/index.tsx +78 -0
  169. package/src/jetpack-compose/ExpoUIModule.ts +3 -0
  170. package/src/jetpack-compose/FilterChip/index.tsx +89 -0
  171. package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +90 -0
  172. package/src/jetpack-compose/Icon/index.tsx +144 -0
  173. package/src/jetpack-compose/IconButton/index.tsx +5 -5
  174. package/src/jetpack-compose/LazyColumn/index.tsx +82 -0
  175. package/src/jetpack-compose/ListItem/index.tsx +129 -0
  176. package/src/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.ts +22 -0
  177. package/src/jetpack-compose/ModalBottomSheet/index.tsx +61 -0
  178. package/src/jetpack-compose/Picker/index.tsx +6 -5
  179. package/src/jetpack-compose/Progress/index.tsx +14 -4
  180. package/src/jetpack-compose/PullToRefreshBox/index.tsx +66 -0
  181. package/src/jetpack-compose/RNHostView/index.tsx +56 -0
  182. package/src/jetpack-compose/RadioButton/index.tsx +48 -0
  183. package/src/jetpack-compose/SearchBar/index.tsx +96 -0
  184. package/src/jetpack-compose/Shape/index.tsx +65 -22
  185. package/src/jetpack-compose/Slider/index.tsx +6 -5
  186. package/src/jetpack-compose/Spacer/index.tsx +43 -0
  187. package/src/jetpack-compose/Surface/index.tsx +66 -0
  188. package/src/jetpack-compose/Switch/index.tsx +43 -8
  189. package/src/jetpack-compose/Text/index.tsx +274 -0
  190. package/src/jetpack-compose/TextButton/index.tsx +55 -0
  191. package/src/jetpack-compose/TextInput/index.tsx +5 -4
  192. package/src/jetpack-compose/ToggleButton/index.tsx +83 -0
  193. package/src/jetpack-compose/index.ts +21 -1
  194. package/src/jetpack-compose/layout.tsx +55 -70
  195. package/src/jetpack-compose/modifiers/createModifier.ts +27 -0
  196. package/src/jetpack-compose/modifiers/index.ts +204 -83
  197. package/src/jetpack-compose/modifiers/utils.ts +30 -0
  198. package/src/swift-ui/ConfirmationDialog/index.tsx +98 -0
  199. package/src/swift-ui/ScrollView/index.tsx +34 -0
  200. package/src/swift-ui/index.tsx +2 -0
  201. package/src/swift-ui/modifiers/index.ts +19 -3
  202. package/src/ts-declarations/react-native-assets.d.ts +31 -0
  203. package/build/jetpack-compose/BottomSheet/index.d.ts +0 -21
  204. package/build/jetpack-compose/BottomSheet/index.d.ts.map +0 -1
  205. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar +0 -0
  206. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.md5 +0 -1
  207. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha1 +0 -1
  208. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha256 +0 -1
  209. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha512 +0 -1
  210. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar +0 -0
  211. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.md5 +0 -1
  212. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha1 +0 -1
  213. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha256 +0 -1
  214. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha512 +0 -1
  215. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.md5 +0 -1
  216. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha1 +0 -1
  217. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha256 +0 -1
  218. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha512 +0 -1
  219. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.md5 +0 -1
  220. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha1 +0 -1
  221. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha256 +0 -1
  222. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha512 +0 -1
  223. package/src/jetpack-compose/BottomSheet/index.tsx +0 -46
@@ -1,26 +1,11 @@
1
1
  import { type ColorValue } from 'react-native';
2
- import { ShapeJSXElement } from '../Shape';
3
- /**
4
- * Modifier configuration for Jetpack Compose views.
5
- * This follows the JSON Config pattern (same as iOS SwiftUI modifiers).
6
- *
7
- * @example
8
- * ```tsx
9
- * import { Button, paddingAll, background } from 'expo-ui';
10
- *
11
- * <Button modifiers={[paddingAll(10), background('#FF0000')]} />
12
- * ```
13
- */
14
- export interface ModifierConfig {
15
- $type: string;
16
- $scope?: string;
17
- [key: string]: unknown;
18
- }
2
+ export { type ExpoModifier } from '../../types';
3
+ export type Alignment = 'topStart' | 'topCenter' | 'topEnd' | 'centerStart' | 'center' | 'centerEnd' | 'bottomStart' | 'bottomCenter' | 'bottomEnd' | 'top' | 'centerVertically' | 'bottom' | 'start' | 'centerHorizontally' | 'end';
19
4
  /**
20
5
  * Applies equal padding on all sides.
21
6
  * @param all - Padding value in dp.
22
7
  */
23
- export declare const paddingAll: (all: number) => ModifierConfig;
8
+ export declare const paddingAll: (all: number) => import("./createModifier").ModifierConfig;
24
9
  /**
25
10
  * Applies padding with individual values for each side.
26
11
  * @param start - Left padding in dp (or right in RTL).
@@ -28,100 +13,207 @@ export declare const paddingAll: (all: number) => ModifierConfig;
28
13
  * @param end - Right padding in dp (or left in RTL).
29
14
  * @param bottom - Bottom padding in dp.
30
15
  */
31
- export declare const padding: (start: number, top: number, end: number, bottom: number) => ModifierConfig;
16
+ export declare const padding: (start: number, top: number, end: number, bottom: number) => import("./createModifier").ModifierConfig;
32
17
  /**
33
18
  * Sets exact width and height.
34
19
  * @param width - Width in dp.
35
20
  * @param height - Height in dp.
36
21
  */
37
- export declare const size: (width: number, height: number) => ModifierConfig;
22
+ export declare const size: (width: number, height: number) => import("./createModifier").ModifierConfig;
38
23
  /**
39
24
  * Fills the maximum available size.
40
25
  * @param fraction - Fraction of max size (0.0 to 1.0). Default is 1.0.
41
26
  */
42
- export declare const fillMaxSize: (fraction?: number) => ModifierConfig;
27
+ export declare const fillMaxSize: (fraction?: number) => import("./createModifier").ModifierConfig;
43
28
  /**
44
29
  * Fills the maximum available width.
45
30
  * @param fraction - Fraction of max width (0.0 to 1.0). Default is 1.0.
46
31
  */
47
- export declare const fillMaxWidth: (fraction?: number) => ModifierConfig;
32
+ export declare const fillMaxWidth: (fraction?: number) => import("./createModifier").ModifierConfig;
48
33
  /**
49
34
  * Fills the maximum available height.
50
35
  * @param fraction - Fraction of max height (0.0 to 1.0). Default is 1.0.
51
36
  */
52
- export declare const fillMaxHeight: (fraction?: number) => ModifierConfig;
37
+ export declare const fillMaxHeight: (fraction?: number) => import("./createModifier").ModifierConfig;
38
+ /**
39
+ * Sets the exact width of the view.
40
+ * @param value - Width in dp.
41
+ */
42
+ export declare const width: (value: number) => import("./createModifier").ModifierConfig;
43
+ /**
44
+ * Sets the exact height of the view.
45
+ * @param value - Height in dp.
46
+ */
47
+ export declare const height: (value: number) => import("./createModifier").ModifierConfig;
48
+ /**
49
+ * Wraps the width to the content size.
50
+ * @param alignment - Optional horizontal alignment ('start', 'centerHorizontally', 'end').
51
+ */
52
+ export declare const wrapContentWidth: (alignment?: "start" | "centerHorizontally" | "end") => import("./createModifier").ModifierConfig;
53
+ /**
54
+ * Wraps the height to the content size.
55
+ * @param alignment - Optional vertical alignment ('top', 'centerVertically', 'bottom').
56
+ */
57
+ export declare const wrapContentHeight: (alignment?: "top" | "centerVertically" | "bottom") => import("./createModifier").ModifierConfig;
53
58
  /**
54
59
  * Offsets the view from its natural position.
55
60
  * @param x - Horizontal offset in dp.
56
61
  * @param y - Vertical offset in dp.
57
62
  */
58
- export declare const offset: (x: number, y: number) => ModifierConfig;
63
+ export declare const offset: (x: number, y: number) => import("./createModifier").ModifierConfig;
59
64
  /**
60
65
  * Sets the background color.
61
66
  * @param color - Color string (hex, e.g., '#FF0000').
62
67
  */
63
- export declare const background: (color: ColorValue) => ModifierConfig;
68
+ export declare const background: (color: ColorValue) => import("./createModifier").ModifierConfig;
64
69
  /**
65
70
  * Adds a border around the view.
66
71
  * @param borderWidth - Border width in dp.
67
72
  * @param borderColor - Border color string (hex).
68
73
  */
69
- export declare const border: (borderWidth: number, borderColor: ColorValue) => ModifierConfig;
74
+ export declare const border: (borderWidth: number, borderColor: ColorValue) => import("./createModifier").ModifierConfig;
70
75
  /**
71
76
  * Adds a shadow/elevation effect.
72
77
  * @param elevation - Shadow elevation in dp.
73
78
  */
74
- export declare const shadow: (elevation: number) => ModifierConfig;
79
+ export declare const shadow: (elevation: number) => import("./createModifier").ModifierConfig;
75
80
  /**
76
81
  * Sets the opacity/alpha of the view.
77
82
  * @param alpha - Opacity value (0.0 to 1.0).
78
83
  */
79
- export declare const alpha: (alpha: number) => ModifierConfig;
84
+ export declare const alpha: (alpha: number) => import("./createModifier").ModifierConfig;
80
85
  /**
81
86
  * Applies a blur effect.
82
87
  * @param radius - Blur radius in dp.
83
88
  */
84
- export declare const blur: (radius: number) => ModifierConfig;
89
+ export declare const blur: (radius: number) => import("./createModifier").ModifierConfig;
85
90
  /**
86
91
  * Rotates the view.
87
92
  * @param degrees - Rotation angle in degrees.
88
93
  */
89
- export declare const rotate: (degrees: number) => ModifierConfig;
94
+ export declare const rotate: (degrees: number) => import("./createModifier").ModifierConfig;
90
95
  /**
91
96
  * Sets the z-index for layering.
92
97
  * @param index - Z-index value.
93
98
  */
94
- export declare const zIndex: (index: number) => ModifierConfig;
99
+ export declare const zIndex: (index: number) => import("./createModifier").ModifierConfig;
95
100
  /**
96
101
  * Animates size changes with spring animation.
97
102
  * @param dampingRatio - Spring damping ratio. Default is DampingRatioNoBouncy.
98
103
  * @param stiffness - Spring stiffness. Default is StiffnessMedium.
99
104
  */
100
- export declare const animateContentSize: (dampingRatio?: number, stiffness?: number) => ModifierConfig;
105
+ export declare const animateContentSize: (dampingRatio?: number, stiffness?: number) => import("./createModifier").ModifierConfig;
101
106
  /**
102
107
  * Sets the weight for flexible sizing in Row or Column.
103
108
  * Only works when used inside Row or Column.
104
109
  * @param weight - Weight value (relative to siblings).
105
110
  */
106
- export declare const weight: (weight: number) => ModifierConfig;
111
+ export declare const weight: (weight: number) => import("./createModifier").ModifierConfig;
112
+ /**
113
+ * Aligns the view within its container.
114
+ */
115
+ export declare const align: (alignment: Alignment) => import("./createModifier").ModifierConfig;
107
116
  /**
108
117
  * Makes the view match the parent Box size.
109
118
  * Only works when used inside Box.
110
119
  */
111
- export declare const matchParentSize: () => ModifierConfig;
120
+ export declare const matchParentSize: () => import("./createModifier").ModifierConfig;
112
121
  /**
113
122
  * Makes the view clickable.
114
- * @param callback - Function to call when clicked.
123
+ * @param handler - Function to call when clicked.
124
+ */
125
+ export declare const clickable: (handler: () => void) => import("./createModifier").ModifierConfig;
126
+ /**
127
+ * Makes the view selectable, like a radio button row.
128
+ * @param selected - Whether the item is currently selected.
129
+ * @param handler - Function to call when the item is clicked.
115
130
  */
116
- export declare const clickable: (callback: () => void) => ModifierConfig;
131
+ export declare const selectable: (selected: boolean, handler: () => void) => import("./createModifier").ModifierConfig;
117
132
  /**
118
133
  * Sets the test ID for testing frameworks.
119
134
  * @param tag - Test ID string.
120
135
  */
121
- export declare const testID: (tag: string) => ModifierConfig;
122
- /**
123
- * Clips the view to a shape.
124
- * @param shape - Shape JSX element to clip to.
136
+ export declare const testID: (tag: string) => import("./createModifier").ModifierConfig;
137
+ type MaterialShapeName = 'cookie4Sided' | 'cookie6Sided' | 'cookie7Sided' | 'cookie9Sided' | 'cookie12Sided' | 'clover4Leaf' | 'clover8Leaf' | 'softBurst' | 'boom' | 'oval' | 'pill' | 'triangle' | 'diamond' | 'pentagon' | 'sunny' | 'verySunny' | 'fan' | 'pixelCircle' | 'pixelTriangle' | 'ghostish' | 'bun' | 'heart' | 'arch' | 'slanted' | 'puffy' | 'puffyDiamond';
138
+ type CornerRadii = {
139
+ topStart?: number;
140
+ topEnd?: number;
141
+ bottomStart?: number;
142
+ bottomEnd?: number;
143
+ };
144
+ /**
145
+ * Built-in Jetpack Compose shape for the clip modifier.
146
+ */
147
+ export type BuiltinShape = {
148
+ type: 'rectangle';
149
+ } | {
150
+ type: 'circle';
151
+ } | {
152
+ type: 'roundedCorner';
153
+ radius?: number;
154
+ topStart?: number;
155
+ topEnd?: number;
156
+ bottomStart?: number;
157
+ bottomEnd?: number;
158
+ } | {
159
+ type: 'cutCorner';
160
+ radius?: number;
161
+ topStart?: number;
162
+ topEnd?: number;
163
+ bottomStart?: number;
164
+ bottomEnd?: number;
165
+ } | {
166
+ type: 'material';
167
+ name: MaterialShapeName;
168
+ };
169
+ /**
170
+ * Predefined shapes for use with the `clip` modifier.
171
+ *
172
+ * @example
173
+ * ```tsx
174
+ * clip(Shapes.Circle)
175
+ * clip(Shapes.RoundedCorner(16))
176
+ * clip(Shapes.RoundedCorner({ topStart: 8, bottomEnd: 16 }))
177
+ * clip(Shapes.Material.Heart)
178
+ * ```
125
179
  */
126
- export declare const clip: (shape: ShapeJSXElement) => ModifierConfig;
180
+ export declare const Shapes: {
181
+ Rectangle: BuiltinShape;
182
+ Circle: BuiltinShape;
183
+ RoundedCorner: (params: number | CornerRadii) => BuiltinShape;
184
+ CutCorner: (params: number | CornerRadii) => BuiltinShape;
185
+ Material: {
186
+ Cookie4Sided: BuiltinShape;
187
+ Cookie6Sided: BuiltinShape;
188
+ Cookie7Sided: BuiltinShape;
189
+ Cookie9Sided: BuiltinShape;
190
+ Cookie12Sided: BuiltinShape;
191
+ Clover4Leaf: BuiltinShape;
192
+ Clover8Leaf: BuiltinShape;
193
+ SoftBurst: BuiltinShape;
194
+ Boom: BuiltinShape;
195
+ Oval: BuiltinShape;
196
+ Pill: BuiltinShape;
197
+ Triangle: BuiltinShape;
198
+ Diamond: BuiltinShape;
199
+ Pentagon: BuiltinShape;
200
+ Sunny: BuiltinShape;
201
+ VerySunny: BuiltinShape;
202
+ Fan: BuiltinShape;
203
+ PixelCircle: BuiltinShape;
204
+ PixelTriangle: BuiltinShape;
205
+ Ghostish: BuiltinShape;
206
+ Bun: BuiltinShape;
207
+ Heart: BuiltinShape;
208
+ Arch: BuiltinShape;
209
+ Slanted: BuiltinShape;
210
+ Puffy: BuiltinShape;
211
+ PuffyDiamond: BuiltinShape;
212
+ };
213
+ };
214
+ /**
215
+ * Clips the view to a built-in Jetpack Compose shape.
216
+ * @param shape - A shape from `Shapes`, e.g. `Shapes.Circle` or `Shapes.Material.Heart`.
217
+ */
218
+ export declare const clip: (shape: BuiltinShape) => import("./createModifier").ModifierConfig;
127
219
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAiB,eAAe,EAAE,MAAM,UAAU,CAAC;AAE1D;;;;;;;;;;GAUG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAMD;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,KAAG,cAAgD,CAAC;AAE1F;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAClB,OAAO,MAAM,EACb,KAAK,MAAM,EACX,KAAK,MAAM,EACX,QAAQ,MAAM,KACb,cAAiE,CAAC;AAMrE;;;;GAIG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,KAAG,cAInD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,WAAW,MAAM,KAAG,cAG9C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,WAAW,MAAM,KAAG,cAG/C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,WAAW,MAAM,KAAG,cAGhD,CAAC;AAMH;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,cAA6C,CAAC;AAM5F;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,UAAU,KAAG,cA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,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GACrB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IACE,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAIlD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM;eACmB,YAAY;YAClB,YAAY;4BAClB,MAAM,GAAG,WAAW,KAAG,YAAY;wBAIvC,MAAM,GAAG,WAAW,KAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,YAAY,8CAAsC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type ModifierConfig } from './createModifier';
2
+ type GlobalEventPayload = [eventName: string, params: Record<string, any>];
3
+ type GlobalEvent = {
4
+ onGlobalEvent: (event: {
5
+ nativeEvent: {
6
+ payload: GlobalEventPayload;
7
+ };
8
+ }) => void;
9
+ };
10
+ /**
11
+ * Create an event listener for a view modifier.
12
+ */
13
+ export declare function createViewModifierEventListener(modifiers: ModifierConfig[]): GlobalEvent;
14
+ export {};
15
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/modifiers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,KAAK,kBAAkB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;AAC3E,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE;YAAE,OAAO,EAAE,kBAAkB,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;CAClF,CAAC;AAEF;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,WAAW,CAmBxF"}
@@ -0,0 +1,47 @@
1
+ import { type CommonViewModifierProps } from '../types';
2
+ /**
3
+ * Props of the `ConfirmationDialog` component.
4
+ */
5
+ export type ConfirmationDialogProps = {
6
+ /**
7
+ * The contents of the confirmation dialog.
8
+ * Should include `ConfirmationDialog.Trigger`, `ConfirmationDialog.Actions`, and optionally `ConfirmationDialog.Message`.
9
+ */
10
+ children: React.ReactNode;
11
+ /**
12
+ * The title of the confirmation dialog.
13
+ */
14
+ title: string;
15
+ /**
16
+ * Whether the confirmation dialog is presented.
17
+ */
18
+ isPresented?: boolean;
19
+ /**
20
+ * A callback that is called when the `isPresented` state changes.
21
+ */
22
+ onIsPresentedChange?: (isPresented: boolean) => void;
23
+ /**
24
+ * The visibility of the dialog title.
25
+ * @default 'automatic'
26
+ */
27
+ titleVisibility?: 'automatic' | 'visible' | 'hidden';
28
+ } & CommonViewModifierProps;
29
+ /**
30
+ * `ConfirmationDialog` presents a confirmation dialog with a title, optional message, and action buttons.
31
+ *
32
+ * @see https://developer.apple.com/documentation/swiftui/view/confirmationdialog(_:ispresented:titlevisibility:actions:message:)
33
+ */
34
+ declare function ConfirmationDialog(props: ConfirmationDialogProps): import("react").JSX.Element;
35
+ declare namespace ConfirmationDialog {
36
+ var Trigger: (props: {
37
+ children: React.ReactNode;
38
+ }) => import("react").JSX.Element;
39
+ var Actions: (props: {
40
+ children: React.ReactNode;
41
+ }) => import("react").JSX.Element;
42
+ var Message: (props: {
43
+ children: React.ReactNode;
44
+ }) => import("react").JSX.Element;
45
+ }
46
+ export { ConfirmationDialog };
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ConfirmationDialog/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD;;;OAGG;IACH,eAAe,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;CACtD,GAAG,uBAAuB,CAAC;AAuC5B;;;;GAIG;AACH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BAezD;kBAfQ,kBAAkB;yBAvBH;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AA8BrD,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type CommonViewModifierProps } from '../types';
2
+ export type ScrollViewProps = {
3
+ children: React.ReactNode;
4
+ /**
5
+ * The scrollable axes.
6
+ * @default 'vertical'
7
+ */
8
+ axes?: 'vertical' | 'horizontal' | 'both';
9
+ /**
10
+ * Whether to show scroll indicators.
11
+ * @default true
12
+ */
13
+ showsIndicators?: boolean;
14
+ } & CommonViewModifierProps;
15
+ export declare function ScrollView(props: ScrollViewProps): import("react").JSX.Element;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ScrollView/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAC1C;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,uBAAuB,CAAC;AAO5B,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BAShD"}
@@ -3,6 +3,7 @@ export * from './Button';
3
3
  export * from './Chart';
4
4
  export * from './ColorPicker';
5
5
  export * from './ContentUnavailableView';
6
+ export * from './ConfirmationDialog';
6
7
  export * from './ContextMenu';
7
8
  export * from './DatePicker';
8
9
  export * from './Divider';
@@ -32,6 +33,7 @@ export * from './TextField';
32
33
  export * from './SecureField';
33
34
  export * from './Namespace';
34
35
  export * from './GlassEffectContainer';
36
+ export * from './ScrollView';
35
37
  export * from './Shapes';
36
38
  export * from './Popover';
37
39
  export * from './Grid';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UA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,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
@@ -159,10 +159,13 @@ export declare const border: (params: {
159
159
  }) => ModifierConfig;
160
160
  /**
161
161
  * Applies scaling transformation.
162
- * @param scale - Scale factor (1.0 = normal size).
162
+ * @param scale - Uniform scale factor (1.0 = normal size), or an object with separate `x` and `y` scale factors.
163
163
  * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/scaleeffect(_:anchor:)).
164
164
  */
165
- export declare const scaleEffect: (scale: number) => ModifierConfig;
165
+ export declare const scaleEffect: (scale: number | {
166
+ x: number;
167
+ y: number;
168
+ }) => ModifierConfig;
166
169
  /**
167
170
  * Applies rotation transformation.
168
171
  * @param angle - Rotation angle in degrees.
@@ -313,6 +316,12 @@ export declare const bold: () => ModifierConfig;
313
316
  * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/text/italic()).
314
317
  */
315
318
  export declare const italic: () => ModifierConfig;
319
+ /**
320
+ * Modifies the fonts of all child views to use fixed-width digits, if possible, while leaving other characters proportionally spaced.
321
+ * When applied to `Text`, modifies the text view's font to use fixed-width digits, while leaving other characters proportionally spaced.
322
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/monospaceddigit()).
323
+ */
324
+ export declare const monospacedDigit: () => ModifierConfig;
316
325
  /**
317
326
  * Sets the tint color of a view.
318
327
  * @param color - The tint color (hex string). For example, `#FF0000`.
@@ -801,7 +810,7 @@ export declare const listStyle: (style: ListStyle) => ModifierConfig;
801
810
  * This provides type safety for the modifiers array.
802
811
  * @hidden
803
812
  */
804
- export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof onDisappear> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof toggleStyle> | ReturnType<typeof controlSize> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof moveDisabled> | ReturnType<typeof deleteDisabled> | ReturnType<typeof environment> | ReturnType<typeof listRowBackground> | ReturnType<typeof listRowSeparator> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition>;
813
+ export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof onDisappear> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof monospacedDigit> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof toggleStyle> | ReturnType<typeof controlSize> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof moveDisabled> | ReturnType<typeof deleteDisabled> | ReturnType<typeof environment> | ReturnType<typeof listRowBackground> | ReturnType<typeof listRowSeparator> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition>;
805
814
  /**
806
815
  * Main ViewModifier type that supports both built-in and 3rd party modifiers.
807
816
  * 3rd party modifiers should return ModifierConfig objects with their own type strings.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAmD,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAQrC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,SAAS,GAAG,SAAS,GAAG,MAAM,mBASzE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,mBAA+C,CAAC;A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IAAI,cAEhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,WAAW,OAAO,EAAE,KAAG,cAAc,EAEpE,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,SAAS,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,kCAAkC,EAClC,sBAAsB,GACvB,MAAM,mBAAmB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  {
2
+ "name": "expo-ui",
2
3
  "platforms": ["apple", "android"],
3
4
  "coreFeatures": ["swiftui", "compose"],
4
5
  "apple": {
@@ -9,7 +10,7 @@
9
10
  "publication": {
10
11
  "groupId": "expo.modules.ui",
11
12
  "artifactId": "expo.modules.ui",
12
- "version": "55.0.0-preview.6",
13
+ "version": "55.0.0",
13
14
  "repository": "local-maven-repo"
14
15
  }
15
16
  }
@@ -7,7 +7,7 @@ final class ColorPickerProps: UIBaseViewProps {
7
7
  @Field var selection: Color = .clear
8
8
  @Field var label: String?
9
9
  @Field var supportsOpacity: Bool = true
10
- var onValueChanged = EventDispatcher()
10
+ var onSelectionChange = EventDispatcher()
11
11
  }
12
12
 
13
13
  struct ColorPickerView: ExpoSwiftUI.View {
@@ -29,7 +29,7 @@ struct ColorPickerView: ExpoSwiftUI.View {
29
29
  if newHex != previousHex {
30
30
  previousHex = newHex
31
31
  let payload = ["value": newHex]
32
- props.onValueChanged(payload)
32
+ props.onSelectionChange(payload)
33
33
  }
34
34
  }
35
35
  #else
@@ -0,0 +1,65 @@
1
+ import SwiftUI
2
+ import ExpoModulesCore
3
+
4
+ internal struct ConfirmationDialogView: ExpoSwiftUI.View {
5
+ @ObservedObject var props: ConfirmationDialogProps
6
+ @State private var isPresented: Bool
7
+
8
+ init(props: ConfirmationDialogProps) {
9
+ self.props = props
10
+ _isPresented = State(initialValue: props.isPresented)
11
+ }
12
+
13
+ var body: some View {
14
+ triggerContent
15
+ .confirmationDialog(
16
+ props.title,
17
+ isPresented: $isPresented,
18
+ titleVisibility: props.titleVisibility.toVisibility()
19
+ ) {
20
+ actionsContent
21
+ } message: {
22
+ messageContent
23
+ }
24
+ .onChange(of: isPresented) { newValue in
25
+ if props.isPresented != newValue {
26
+ props.onIsPresentedChange(["isPresented": newValue])
27
+ }
28
+ }
29
+ .onChange(of: props.isPresented) { newValue in
30
+ isPresented = newValue
31
+ }
32
+ }
33
+
34
+ @ViewBuilder
35
+ private var triggerContent: some View {
36
+ if let trigger = props.children?
37
+ .compactMap({ $0.childView as? ConfirmationDialogTrigger })
38
+ .first {
39
+ trigger
40
+ } else {
41
+ EmptyView()
42
+ .onAppear {
43
+ log.warn("ConfirmationDialog requires a ConfirmationDialog.Trigger child to be visible")
44
+ }
45
+ }
46
+ }
47
+
48
+ @ViewBuilder
49
+ private var actionsContent: some View {
50
+ if let actions = props.children?
51
+ .compactMap({ $0.childView as? ConfirmationDialogActions })
52
+ .first {
53
+ actions
54
+ }
55
+ }
56
+
57
+ @ViewBuilder
58
+ private var messageContent: some View {
59
+ if let message = props.children?
60
+ .compactMap({ $0.childView as? ConfirmationDialogMessage })
61
+ .first {
62
+ message
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,26 @@
1
+ import SwiftUI
2
+ import ExpoModulesCore
3
+
4
+ internal struct ConfirmationDialogTrigger: ExpoSwiftUI.View {
5
+ @ObservedObject var props: ConfirmationDialogTriggerProps
6
+
7
+ var body: some View {
8
+ Children()
9
+ }
10
+ }
11
+
12
+ internal struct ConfirmationDialogActions: ExpoSwiftUI.View {
13
+ @ObservedObject var props: ConfirmationDialogActionsProps
14
+
15
+ var body: some View {
16
+ Children()
17
+ }
18
+ }
19
+
20
+ internal struct ConfirmationDialogMessage: ExpoSwiftUI.View {
21
+ @ObservedObject var props: ConfirmationDialogMessageProps
22
+
23
+ var body: some View {
24
+ Children()
25
+ }
26
+ }