@expo/ui 55.0.0-preview.4 → 55.0.0-preview.5

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 (62) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/android/build.gradle +2 -2
  3. package/build/swift-ui/index.d.ts +1 -0
  4. package/build/swift-ui/index.d.ts.map +1 -1
  5. package/build/swift-ui/modifiers/animation/index.d.ts +1 -1
  6. package/build/swift-ui/modifiers/animation/index.d.ts.map +1 -1
  7. package/build/swift-ui/modifiers/contentShape.d.ts +39 -0
  8. package/build/swift-ui/modifiers/contentShape.d.ts.map +1 -0
  9. package/build/swift-ui/modifiers/createModifier.d.ts +14 -2
  10. package/build/swift-ui/modifiers/createModifier.d.ts.map +1 -1
  11. package/build/swift-ui/modifiers/index.d.ts +6 -14
  12. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  13. package/build/swift-ui/modifiers/utils.d.ts +4 -3
  14. package/build/swift-ui/modifiers/utils.d.ts.map +1 -1
  15. package/expo-module.config.json +1 -1
  16. package/ios/ExpoUI.podspec +1 -0
  17. package/ios/Modifiers/ContentShapeModifier.swift +27 -0
  18. package/ios/Modifiers/ViewModifierRegistry.swift +41 -5
  19. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.aar +0 -0
  20. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.aar.md5 +1 -0
  21. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.aar.sha1 +1 -0
  22. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.aar.sha256 +1 -0
  23. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.aar.sha512 +1 -0
  24. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.module → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.module} +17 -17
  25. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.module.md5 +1 -0
  26. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.module.sha1 +1 -0
  27. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.module.sha256 +1 -0
  28. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.module.sha512 +1 -0
  29. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.pom → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.pom} +1 -1
  30. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.pom.md5 +1 -0
  31. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.pom.sha1 +1 -0
  32. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.pom.sha256 +1 -0
  33. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5.pom.sha512 +1 -0
  34. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  35. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  36. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  37. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  38. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  39. package/package.json +2 -2
  40. package/src/swift-ui/index.tsx +1 -0
  41. package/src/swift-ui/modifiers/contentShape.ts +40 -0
  42. package/src/swift-ui/modifiers/createModifier.ts +14 -2
  43. package/src/swift-ui/modifiers/index.ts +5 -12
  44. package/src/swift-ui/modifiers/utils.ts +4 -2
  45. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.aar +0 -0
  46. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.aar.md5 +0 -1
  47. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.aar.sha1 +0 -1
  48. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.aar.sha256 +0 -1
  49. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.aar.sha512 +0 -1
  50. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.module.md5 +0 -1
  51. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.module.sha1 +0 -1
  52. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.module.sha256 +0 -1
  53. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.module.sha512 +0 -1
  54. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.pom.md5 +0 -1
  55. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.pom.sha1 +0 -1
  56. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.pom.sha256 +0 -1
  57. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4.pom.sha512 +0 -1
  58. /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4-sources.jar → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5-sources.jar} +0 -0
  59. /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4-sources.jar.md5 → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5-sources.jar.md5} +0 -0
  60. /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4-sources.jar.sha1 → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5-sources.jar.sha1} +0 -0
  61. /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4-sources.jar.sha256 → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5-sources.jar.sha256} +0 -0
  62. /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.4/expo.modules.ui-55.0.0-preview.4-sources.jar.sha512 → 55.0.0-preview.5/expo.modules.ui-55.0.0-preview.5-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 55.0.0-preview.5 — 2026-02-08
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [iOS] Fixed missing dependency on RCTFabric in ExpoUI podspec. ([#42901](https://github.com/expo/expo/pull/42901) by [@chrfalch](https://github.com/chrfalch))
18
+
13
19
  ## 55.0.0-preview.4 — 2026-02-03
14
20
 
15
21
  ### 🛠 Breaking changes
@@ -20,6 +26,7 @@
20
26
 
21
27
  - [iOS] Remove leftover `Switch` TypeScript exports from swift-ui package. Use `Toggle` instead. ([#42571](https://github.com/expo/expo/pull/42571) by [@shubh73](https://github.com/shubh73))
22
28
  - Improved Jetpack Compose integration for Expo UI. ([#42450](https://github.com/expo/expo/pull/42450) by [@kudo](https://github.com/kudo))
29
+ - [iOS] Added `contentShape` modifier for SwiftUI ([#42813](https://github.com/expo/expo pull/42813) by [@sam-shubham](https://github.com/sam-shubham))
23
30
 
24
31
  ## 55.0.0-beta.3 — 2026-01-27
25
32
 
@@ -68,6 +75,7 @@ _This version does not introduce any user-facing changes._
68
75
  - [iOS] Remove presentation props from `BottomSheet` and add equivalent modifiers ([#42029](https://github.com/expo/expo/pull/42029) by [@nishan](https://github.com/intergalacticspacehighway))
69
76
  - [iOS] - Nested `Text` support ([#41707](https://github.com/expo/expo/pull/41707) by [@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
70
77
  - [iOS] Add containerRelativeFrame modifier. ([#42237](https://github.com/expo/expo/pull/42237) by [@jakex7](https://github.com/jakex7))
78
+ - [iOS] Expose `ViewModifierRegistry.register` and `ViewModifierRegistry.unregister` for custom modifiers. ([#42350](https://github.com/expo/expo/pull/42350) by [@nishan](https://github.com/intergalacticspacehighway))
71
79
 
72
80
  ### 🐛 Bug fixes
73
81
 
@@ -12,13 +12,13 @@ apply plugin: 'expo-module-gradle-plugin'
12
12
  apply plugin: 'org.jetbrains.kotlin.plugin.compose'
13
13
 
14
14
  group = 'expo.modules.ui'
15
- version = '55.0.0-preview.4'
15
+ version = '55.0.0-preview.5'
16
16
 
17
17
  android {
18
18
  namespace "expo.modules.ui"
19
19
  defaultConfig {
20
20
  versionCode 1
21
- versionName "55.0.0-preview.4"
21
+ versionName "55.0.0-preview.5"
22
22
  }
23
23
  buildFeatures {
24
24
  compose true
@@ -36,4 +36,5 @@ export * from './Shapes';
36
36
  export * from './Popover';
37
37
  export * from './Grid';
38
38
  export * from './RNHostView';
39
+ export { type CommonViewModifierProps } from './types';
39
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,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,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,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,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
@@ -38,6 +38,6 @@ export declare const Animation: {
38
38
  default: ChainableAnimationType;
39
39
  };
40
40
  declare function ChainableAnimation(animation: AnimationObject): ChainableAnimationType;
41
- export declare const animation: (animationObject: ReturnType<typeof ChainableAnimation>, animatedValue: number | boolean) => import("../createModifier").ModifierConfig;
41
+ export declare const animation: (animationObject: ReturnType<typeof ChainableAnimation>, animatedValue: number | boolean) => import("..").ModifierConfig;
42
42
  export {};
43
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/swift-ui/modifiers/animation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,SAAS;yBAEC,qBAAqB;sBAKxB,qBAAqB;uBAKpB,qBAAqB;sBAKtB,qBAAqB;sBAOrB,qBAAqB;mCASR,kCAAkC;;CAYlE,CAAC;AAEF,iBAAS,kBAAkB,CAAC,SAAS,EAAE,eAAe,GAAG,sBAAsB,CAc9E;AAED,eAAO,MAAM,SAAS,GACpB,iBAAiB,UAAU,CAAC,OAAO,kBAAkB,CAAC,EACtD,eAAe,MAAM,GAAG,OAAO,+CAGhC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/swift-ui/modifiers/animation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,SAAS;yBAEC,qBAAqB;sBAKxB,qBAAqB;uBAKpB,qBAAqB;sBAKtB,qBAAqB;sBAOrB,qBAAqB;mCASR,kCAAkC;;CAYlE,CAAC;AAEF,iBAAS,kBAAkB,CAAC,SAAS,EAAE,eAAe,GAAG,sBAAsB,CAc9E;AAED,eAAO,MAAM,SAAS,GACpB,iBAAiB,UAAU,CAAC,OAAO,kBAAkB,CAAC,EACtD,eAAe,MAAM,GAAG,OAAO,gCAGhC,CAAC"}
@@ -0,0 +1,39 @@
1
+ import type { Shape } from './shapes/index';
2
+ /**
3
+ * Defines the content shape for hit-testing purposes.
4
+ *
5
+ * This modifier is essential for making entire view areas (including `Spacer` or empty space)
6
+ * interactive. Without it, only visible elements like `Text` or `Image` respond to tap gestures.
7
+ *
8
+ * @param shape - A shape configuration from the shapes API (rectangle, circle, capsule, ellipse, roundedRectangle).
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { HStack, List, Section, Spacer, Text } from "@expo/ui/swift-ui";
13
+ * import { contentShape, onTapGesture } from "@expo/ui/swift-ui/modifiers";
14
+ * import { shapes } from "@expo/ui/swift-ui/modifiers";
15
+ *
16
+ * function InteractiveRow() {
17
+ * return (
18
+ * <List>
19
+ * <Section title="Settings">
20
+ * <HStack
21
+ * modifiers={[
22
+ * contentShape(shapes.rectangle()),
23
+ * onTapGesture(() => console.log("Row tapped!"))
24
+ * ]}
25
+ * >
26
+ * <Text>Label</Text>
27
+ * <Spacer />
28
+ * <Text>Value</Text>
29
+ * </HStack>
30
+ * </Section>
31
+ * </List>
32
+ * );
33
+ * }
34
+ * ```
35
+ *
36
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/contentshape(_:eofill:)).
37
+ */
38
+ export declare const contentShape: (shape: Shape) => import("./createModifier").ModifierConfig;
39
+ //# sourceMappingURL=contentShape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentShape.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/contentShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,8CAA0C,CAAC"}
@@ -9,8 +9,20 @@ export interface ModifierConfig {
9
9
  }
10
10
  /**
11
11
  * Factory function to create modifier configuration objects.
12
- * This is used internally by all modifier functions.
13
- * @hidden
12
+ * This is used by all built-in modifier functions and can be used by 3rd party libraries to create custom modifiers.
13
+ *
14
+ * @param type - The modifier type string that maps to a registered native modifier.
15
+ * @param params - Additional parameters to pass to the modifier.
16
+ * @returns A `ModifierConfig` object that can be passed in the `modifiers` prop array.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * // In a 3rd party package
21
+ * import { createModifier } from '@expo/ui/swift-ui/modifiers';
22
+ *
23
+ * export const blurEffect = (params: { radius: number; style?: string }) =>
24
+ * createModifier('blurEffect', params);
25
+ * ```
14
26
  */
15
27
  export declare function createModifier(type: string, params?: Record<string, any>): ModifierConfig;
16
28
  //# sourceMappingURL=createModifier.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createModifier.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/createModifier.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACrC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GAAG,cAAc,CAE7F"}
1
+ {"version":3,"file":"createModifier.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/createModifier.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACrC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GAAG,cAAc,CAE7F"}
@@ -5,7 +5,8 @@
5
5
  import { animation } from './animation/index';
6
6
  import { background } from './background';
7
7
  import { containerShape } from './containerShape';
8
- import { createModifier, ModifierConfig } from './createModifier';
8
+ import { contentShape } from './contentShape';
9
+ import { ModifierConfig } from './createModifier';
9
10
  import { datePickerStyle } from './datePickerStyle';
10
11
  import { environment } from './environment';
11
12
  import { gaugeStyle } from './gaugeStyle';
@@ -777,25 +778,15 @@ export declare const listStyle: (style: ListStyle) => ModifierConfig;
777
778
  * This provides type safety for the modifiers array.
778
779
  * @hidden
779
780
  */
780
- 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 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>;
781
+ 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>;
781
782
  /**
782
783
  * Main ViewModifier type that supports both built-in and 3rd party modifiers.
783
784
  * 3rd party modifiers should return ModifierConfig objects with their own type strings.
784
785
  * @hidden
785
786
  */
786
787
  export type ViewModifier = BuiltInModifier | ModifierConfig;
787
- /**
788
- * Creates a custom modifier for 3rd party libraries.
789
- * This function is exported so 3rd party packages can create their own modifiers.
790
- *
791
- * @example
792
- * ```ts
793
- * // In a 3rd party package
794
- * export const blurEffect = (params: { radius: number; style?: string }) =>
795
- * createModifier('blurEffect', params);
796
- * ```
797
- */
798
- export { createModifier };
788
+ export * from './createModifier';
789
+ export * from './utils';
799
790
  /**
800
791
  * Type guard to check if a value is a valid modifier.
801
792
  * @hidden
@@ -808,6 +799,7 @@ export declare const isModifier: (value: any) => value is ModifierConfig;
808
799
  export declare const filterModifiers: (modifiers: unknown[]) => ModifierConfig[];
809
800
  export * from './animation/index';
810
801
  export * from './containerShape';
802
+ export * from './contentShape';
811
803
  export * from './shapes/index';
812
804
  export * from './background';
813
805
  export type * from './types';
@@ -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,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClE,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;AAmBrC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,SAAS,GAAG,SAAS,GAAG,MAAM,mBASzE,CAAC;AAEF;;;;GAIG;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AAU,CAAC,OAAO,mBAAmB,CAAC,GACtC,UAAU,CAAC,OAAO,eAAe,CAAC,GAClC,UAAU,CAAC,OAAO,mBAAmB,CAAC,GACtC,UAAU,CAAC,OAAO,cAAc,CAAC,GACjC,UAAU,CAAC,OAAO,WAAW,CAAC,GAC9B,UAAU,CAAC,OAAO,eAAe,CAAC,GAClC,UAAU,CAAC,OAAO,iBAAiB,CAAC,GACpC,UAAU,CAAC,OAAO,UAAU,CAAC,GAC7B,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,cAAc,CAAC;AAM5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,KAAG,KAAK,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,15 +1,16 @@
1
1
  import { type ModifierConfig } from './createModifier';
2
- type GlobalEventPayload = {
2
+ export type GlobalEventPayload = {
3
3
  [eventName: string]: Record<string, any>;
4
4
  };
5
- type GlobalEvent = {
5
+ export type GlobalEvent = {
6
6
  onGlobalEvent: (event: {
7
7
  nativeEvent: GlobalEventPayload;
8
8
  }) => void;
9
9
  };
10
10
  /**
11
11
  * Create an event listener for a view modifier.
12
+ *
13
+ * @param modifiers - An array of modifier configs to extract event listeners from.
12
14
  */
13
15
  export declare function createViewModifierEventListener(modifiers: ModifierConfig[]): GlobalEvent;
14
- export {};
15
16
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,KAAK,kBAAkB,GAAG;IACxB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C,CAAC;AACF,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,kBAAkB,CAAA;KAAE,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,WAAW,CAoBxF"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C,CAAC;AACF,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,kBAAkB,CAAA;KAAE,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,WAAW,CAoBxF"}
@@ -9,7 +9,7 @@
9
9
  "publication": {
10
10
  "groupId": "expo.modules.ui",
11
11
  "artifactId": "expo.modules.ui",
12
- "version": "55.0.0-preview.4",
12
+ "version": "55.0.0-preview.5",
13
13
  "repository": "local-maven-repo"
14
14
  }
15
15
  }
@@ -19,6 +19,7 @@ Pod::Spec.new do |s|
19
19
  s.static_framework = true
20
20
 
21
21
  s.dependency 'ExpoModulesCore'
22
+ s.dependency 'React-RCTFabric'
22
23
 
23
24
  # Swift/Objective-C compatibility
24
25
  s.pod_target_xcconfig = {
@@ -0,0 +1,27 @@
1
+ // Copyright 2015-present 650 Industries. All rights reserved.
2
+
3
+ import ExpoModulesCore
4
+ import SwiftUI
5
+
6
+ internal struct ContentShapeModifier: ViewModifier, Record {
7
+ @Field var shape: ShapeType = .rectangle
8
+ @Field var cornerRadius: CGFloat = 0
9
+ @Field var roundedCornerStyle: RoundedCornerStyle?
10
+ @Field var cornerSize: CornerSize?
11
+
12
+ @ViewBuilder
13
+ func body(content: Content) -> some View {
14
+ switch shape {
15
+ case .capsule:
16
+ content.contentShape(makeCapsule(style: roundedCornerStyle))
17
+ case .circle:
18
+ content.contentShape(Circle())
19
+ case .ellipse:
20
+ content.contentShape(Ellipse())
21
+ case .rectangle:
22
+ content.contentShape(Rectangle())
23
+ case .roundedRectangle:
24
+ content.contentShape(makeRoundedRectangle(cornerRadius: cornerRadius, cornerSize: cornerSize, style: roundedCornerStyle))
25
+ }
26
+ }
27
+ }
@@ -1311,27 +1311,59 @@ internal struct GridCellAnchor: ViewModifier, Record {
1311
1311
  * Registry for SwiftUI view modifiers that can be applied from React Native.
1312
1312
  * This system uses ViewModifier structs for better performance than AnyView wrapping.
1313
1313
  */
1314
- internal class ViewModifierRegistry {
1314
+ public class ViewModifierRegistry {
1315
1315
  static let shared = ViewModifierRegistry()
1316
1316
 
1317
- internal typealias ModiferFactory = ([String: Any], AppContext, EventDispatcher) throws -> any ViewModifier
1318
- private(set) internal var modifierFactories: [String: ModiferFactory] = [:]
1317
+ public typealias ModifierFactory = ([String: Any], AppContext, EventDispatcher) throws -> any ViewModifier
1318
+ private(set) internal var modifierFactories: [String: ModifierFactory] = [:]
1319
1319
 
1320
1320
  private init() {
1321
1321
  registerBuiltInModifiers()
1322
1322
  }
1323
1323
 
1324
+ /**
1325
+ * Public API to register a custom modifier with the given type name.
1326
+ *
1327
+ * - Important: Call this in `OnCreate` of your module definition to ensure modifiers
1328
+ * are registered before any views are rendered.
1329
+ */
1330
+ public static func register(
1331
+ _ type: String,
1332
+ factory: @escaping ModifierFactory
1333
+ ) {
1334
+ shared.register(type, factory: factory)
1335
+ }
1336
+
1337
+ /**
1338
+ * Public API to unregister a custom modifier by type name.
1339
+ *
1340
+ * - Important: Call this in `OnDestroy` of your module definition for proper cleanup.
1341
+ */
1342
+ public static func unregister(_ type: String) {
1343
+ shared.unregister(type)
1344
+ }
1345
+
1324
1346
  /**
1325
1347
  * Registers a new modifier with the given type name.
1326
1348
  * The modifier factory creates a ViewModifier from parameters.
1327
1349
  */
1328
- func register(
1350
+ internal func register(
1329
1351
  _ type: String,
1330
- factory: @escaping ModiferFactory
1352
+ factory: @escaping ModifierFactory
1331
1353
  ) {
1354
+ if modifierFactories[type] != nil {
1355
+ log.warn("ViewModifierRegistry: Overwriting existing modifier '\(type)'. This may cause unexpected behavior.")
1356
+ }
1332
1357
  modifierFactories[type] = factory
1333
1358
  }
1334
1359
 
1360
+ /**
1361
+ * Unregisters a modifier by type name.
1362
+ */
1363
+ internal func unregister(_ type: String) {
1364
+ modifierFactories.removeValue(forKey: type)
1365
+ }
1366
+
1335
1367
  /**
1336
1368
  * Applies a modifier to an AnyView by type name and parameters.
1337
1369
  * Returns the original view if the modifier type is not found.
@@ -1705,6 +1737,10 @@ extension ViewModifierRegistry {
1705
1737
  return try ContainerShapeModifier(from: params, appContext: appContext)
1706
1738
  }
1707
1739
 
1740
+ register("contentShape") { params, appContext, _ in
1741
+ return try ContentShapeModifier(from: params, appContext: appContext)
1742
+ }
1743
+
1708
1744
  register("containerRelativeFrame") { params, appContext, _ in
1709
1745
  return try ContainerRelativeFrameModifier(from: params, appContext: appContext)
1710
1746
  }
@@ -0,0 +1 @@
1
+ b15dbe8f294d488bd2f6ad82bbe0427e8223c45cbe0d422ea9be8362feac675a
@@ -0,0 +1 @@
1
+ fe078e64c5039a9d29331bc198dd8f10145b1958e3f5440d567a15b783635e406079fcae27d6c67bab11f83698e3c9430c4c47a10c730564942e2a61452339a7
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "expo.modules.ui",
5
5
  "module": "expo.modules.ui",
6
- "version": "55.0.0-preview.4",
6
+ "version": "55.0.0-preview.5",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.ui-55.0.0-preview.4.aar",
28
- "url": "expo.modules.ui-55.0.0-preview.4.aar",
29
- "size": 395851,
30
- "sha512": "b9dcd00899c0a2ea269cccd829fd23094f9156561109dab51915bb93aae360477dd0e1795cc0ea9b7862536379833b111b0ef83849b3d97f92418f735f52559f",
31
- "sha256": "477f051a59e18d0802cea4bb1e406b263f99e34bb58ee70a97fe470302d25cdb",
32
- "sha1": "5e52083299c94aced200313b9940ae69d56010ba",
33
- "md5": "dd1a50b368481fa46d36d8aed7a5fb70"
27
+ "name": "expo.modules.ui-55.0.0-preview.5.aar",
28
+ "url": "expo.modules.ui-55.0.0-preview.5.aar",
29
+ "size": 395889,
30
+ "sha512": "fe078e64c5039a9d29331bc198dd8f10145b1958e3f5440d567a15b783635e406079fcae27d6c67bab11f83698e3c9430c4c47a10c730564942e2a61452339a7",
31
+ "sha256": "b15dbe8f294d488bd2f6ad82bbe0427e8223c45cbe0d422ea9be8362feac675a",
32
+ "sha1": "c9cec17255353ffc131a6098bb6a51c744e66fbe",
33
+ "md5": "a28b5a671d1d76e0cd9d78d3d0b6f74a"
34
34
  }
35
35
  ]
36
36
  },
@@ -102,13 +102,13 @@
102
102
  ],
103
103
  "files": [
104
104
  {
105
- "name": "expo.modules.ui-55.0.0-preview.4.aar",
106
- "url": "expo.modules.ui-55.0.0-preview.4.aar",
107
- "size": 395851,
108
- "sha512": "b9dcd00899c0a2ea269cccd829fd23094f9156561109dab51915bb93aae360477dd0e1795cc0ea9b7862536379833b111b0ef83849b3d97f92418f735f52559f",
109
- "sha256": "477f051a59e18d0802cea4bb1e406b263f99e34bb58ee70a97fe470302d25cdb",
110
- "sha1": "5e52083299c94aced200313b9940ae69d56010ba",
111
- "md5": "dd1a50b368481fa46d36d8aed7a5fb70"
105
+ "name": "expo.modules.ui-55.0.0-preview.5.aar",
106
+ "url": "expo.modules.ui-55.0.0-preview.5.aar",
107
+ "size": 395889,
108
+ "sha512": "fe078e64c5039a9d29331bc198dd8f10145b1958e3f5440d567a15b783635e406079fcae27d6c67bab11f83698e3c9430c4c47a10c730564942e2a61452339a7",
109
+ "sha256": "b15dbe8f294d488bd2f6ad82bbe0427e8223c45cbe0d422ea9be8362feac675a",
110
+ "sha1": "c9cec17255353ffc131a6098bb6a51c744e66fbe",
111
+ "md5": "a28b5a671d1d76e0cd9d78d3d0b6f74a"
112
112
  }
113
113
  ]
114
114
  },
@@ -122,8 +122,8 @@
122
122
  },
123
123
  "files": [
124
124
  {
125
- "name": "expo.modules.ui-55.0.0-preview.4-sources.jar",
126
- "url": "expo.modules.ui-55.0.0-preview.4-sources.jar",
125
+ "name": "expo.modules.ui-55.0.0-preview.5-sources.jar",
126
+ "url": "expo.modules.ui-55.0.0-preview.5-sources.jar",
127
127
  "size": 27614,
128
128
  "sha512": "a1afc79f1341ad5adec5f9067710344e31a688779a563121a745f3c244fed5a03fb2b7720fdac4a9e07e8795cccc7bb5fcecaf0edf6ee51424c884dcdb33c873",
129
129
  "sha256": "a8eb3912559f31957313543ed0b9a274cd1e952452c0fc28b04583007dfbf666",
@@ -0,0 +1 @@
1
+ 8afd2cce059084acd9e77bb025c9fe3075376c5e395bfa6467b9dbdfbe40df0d
@@ -0,0 +1 @@
1
+ e4ea14bc6120073e1b18bef56ef4af309219c4864d1a35c3c607bfa088bc49a7174a550205fcf9c5303341d7673065bba085837f4d1ed73e64df7b06f43f9449
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>expo.modules.ui</groupId>
11
11
  <artifactId>expo.modules.ui</artifactId>
12
- <version>55.0.0-preview.4</version>
12
+ <version>55.0.0-preview.5</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.ui</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ bd313e4040bdcfb160341a30cc6fd26d8b61e5a6e4cedddcaae640bf8ab01232
@@ -0,0 +1 @@
1
+ 9b184b7bdb9aef655c05ed08ee7e9504045f3a7078fc07498a22b7bb3b8589476c8a79443af02034f4f10e477e83f6901eb9368aca63c034dccb975fee815db8
@@ -3,11 +3,11 @@
3
3
  <groupId>expo.modules.ui</groupId>
4
4
  <artifactId>expo.modules.ui</artifactId>
5
5
  <versioning>
6
- <latest>55.0.0-preview.4</latest>
7
- <release>55.0.0-preview.4</release>
6
+ <latest>55.0.0-preview.5</latest>
7
+ <release>55.0.0-preview.5</release>
8
8
  <versions>
9
- <version>55.0.0-preview.4</version>
9
+ <version>55.0.0-preview.5</version>
10
10
  </versions>
11
- <lastUpdated>20260203054511</lastUpdated>
11
+ <lastUpdated>20260208025502</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 41fc8c1a171abcdd76e8e642aa79b50f
1
+ d1ca99ed634f5f0ada0020f4d9a93adb
@@ -1 +1 @@
1
- ad05cd04010c2137cfb1b5649d96af31888ee219
1
+ 0a25bef614a6a3abb41f896314567ac60b7b8b69
@@ -1 +1 @@
1
- afb40bdfb4f3ae48c5695037310777212d082ad789ab7f52f3a698df8a755366
1
+ 7ee6767b1d50015b5c54ed89982e920992e5ac7a85a00c4025d8f3741e80b3db
@@ -1 +1 @@
1
- 8d5ef0bdf4c63e601b52eb302dc752d5c41448bd4353b61f3d9000694a8ec7ad6d018ae2744cdc34b8dd7e746a4b593a5bbae3d57b3bf3b819ec3b96fcc1193b
1
+ fd359f8f42c23580e72cab145c6785e3a9fdabf4ab7b58627f3881c7682f29b33a1da7cfc650117e5fcf05bcf6d3e93be4aac295b51588ccb51a27e529880515
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/ui",
3
- "version": "55.0.0-preview.4",
3
+ "version": "55.0.0-preview.5",
4
4
  "description": "A collection of UI components",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -58,5 +58,5 @@
58
58
  "react": "*",
59
59
  "react-native": "*"
60
60
  },
61
- "gitHead": "436ffb4355d5207f4a03fbc3568cd33424a40f3e"
61
+ "gitHead": "cd3638bb85f9560392acfd5160a266cf97880b3b"
62
62
  }
@@ -36,3 +36,4 @@ export * from './Shapes';
36
36
  export * from './Popover';
37
37
  export * from './Grid';
38
38
  export * from './RNHostView';
39
+ export { type CommonViewModifierProps } from './types';
@@ -0,0 +1,40 @@
1
+ import { createModifier } from './createModifier';
2
+ import type { Shape } from './shapes/index';
3
+
4
+ /**
5
+ * Defines the content shape for hit-testing purposes.
6
+ *
7
+ * This modifier is essential for making entire view areas (including `Spacer` or empty space)
8
+ * interactive. Without it, only visible elements like `Text` or `Image` respond to tap gestures.
9
+ *
10
+ * @param shape - A shape configuration from the shapes API (rectangle, circle, capsule, ellipse, roundedRectangle).
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * import { HStack, List, Section, Spacer, Text } from "@expo/ui/swift-ui";
15
+ * import { contentShape, onTapGesture } from "@expo/ui/swift-ui/modifiers";
16
+ * import { shapes } from "@expo/ui/swift-ui/modifiers";
17
+ *
18
+ * function InteractiveRow() {
19
+ * return (
20
+ * <List>
21
+ * <Section title="Settings">
22
+ * <HStack
23
+ * modifiers={[
24
+ * contentShape(shapes.rectangle()),
25
+ * onTapGesture(() => console.log("Row tapped!"))
26
+ * ]}
27
+ * >
28
+ * <Text>Label</Text>
29
+ * <Spacer />
30
+ * <Text>Value</Text>
31
+ * </HStack>
32
+ * </Section>
33
+ * </List>
34
+ * );
35
+ * }
36
+ * ```
37
+ *
38
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/contentshape(_:eofill:)).
39
+ */
40
+ export const contentShape = (shape: Shape) => createModifier('contentShape', shape);
@@ -10,8 +10,20 @@ export interface ModifierConfig {
10
10
 
11
11
  /**
12
12
  * Factory function to create modifier configuration objects.
13
- * This is used internally by all modifier functions.
14
- * @hidden
13
+ * This is used by all built-in modifier functions and can be used by 3rd party libraries to create custom modifiers.
14
+ *
15
+ * @param type - The modifier type string that maps to a registered native modifier.
16
+ * @param params - Additional parameters to pass to the modifier.
17
+ * @returns A `ModifierConfig` object that can be passed in the `modifiers` prop array.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * // In a 3rd party package
22
+ * import { createModifier } from '@expo/ui/swift-ui/modifiers';
23
+ *
24
+ * export const blurEffect = (params: { radius: number; style?: string }) =>
25
+ * createModifier('blurEffect', params);
26
+ * ```
15
27
  */
16
28
  export function createModifier(type: string, params: Record<string, any> = {}): ModifierConfig {
17
29
  return { $type: type, ...params };
@@ -8,6 +8,7 @@ import { requireNativeModule } from 'expo';
8
8
  import { animation } from './animation/index';
9
9
  import { background } from './background';
10
10
  import { containerShape } from './containerShape';
11
+ import { contentShape } from './contentShape';
11
12
  import { createModifier, ModifierConfig } from './createModifier';
12
13
  import { datePickerStyle } from './datePickerStyle';
13
14
  import { environment } from './environment';
@@ -1005,6 +1006,7 @@ export type BuiltInModifier =
1005
1006
  | ReturnType<typeof glassEffectId>
1006
1007
  | ReturnType<typeof animation>
1007
1008
  | ReturnType<typeof containerShape>
1009
+ | ReturnType<typeof contentShape>
1008
1010
  | ReturnType<typeof containerRelativeFrame>
1009
1011
  | ReturnType<typeof scrollContentBackground>
1010
1012
  | ReturnType<typeof scrollDisabled>
@@ -1050,18 +1052,8 @@ export type ViewModifier = BuiltInModifier | ModifierConfig;
1050
1052
  // Utility Functions
1051
1053
  // =============================================================================
1052
1054
 
1053
- /**
1054
- * Creates a custom modifier for 3rd party libraries.
1055
- * This function is exported so 3rd party packages can create their own modifiers.
1056
- *
1057
- * @example
1058
- * ```ts
1059
- * // In a 3rd party package
1060
- * export const blurEffect = (params: { radius: number; style?: string }) =>
1061
- * createModifier('blurEffect', params);
1062
- * ```
1063
- */
1064
- export { createModifier };
1055
+ export * from './createModifier';
1056
+ export * from './utils';
1065
1057
 
1066
1058
  /**
1067
1059
  * Type guard to check if a value is a valid modifier.
@@ -1081,6 +1073,7 @@ export const filterModifiers = (modifiers: unknown[]): ModifierConfig[] => {
1081
1073
 
1082
1074
  export * from './animation/index';
1083
1075
  export * from './containerShape';
1076
+ export * from './contentShape';
1084
1077
  export * from './shapes/index';
1085
1078
  export * from './background';
1086
1079
  export type * from './types';
@@ -1,14 +1,16 @@
1
1
  import { type ModifierConfig } from './createModifier';
2
2
 
3
- type GlobalEventPayload = {
3
+ export type GlobalEventPayload = {
4
4
  [eventName: string]: Record<string, any>;
5
5
  };
6
- type GlobalEvent = {
6
+ export type GlobalEvent = {
7
7
  onGlobalEvent: (event: { nativeEvent: GlobalEventPayload }) => void;
8
8
  };
9
9
 
10
10
  /**
11
11
  * Create an event listener for a view modifier.
12
+ *
13
+ * @param modifiers - An array of modifier configs to extract event listeners from.
12
14
  */
13
15
  export function createViewModifierEventListener(modifiers: ModifierConfig[]): GlobalEvent {
14
16
  const eventListeners: Record<string, (args: any) => void> = {};
@@ -1 +0,0 @@
1
- 477f051a59e18d0802cea4bb1e406b263f99e34bb58ee70a97fe470302d25cdb
@@ -1 +0,0 @@
1
- b9dcd00899c0a2ea269cccd829fd23094f9156561109dab51915bb93aae360477dd0e1795cc0ea9b7862536379833b111b0ef83849b3d97f92418f735f52559f
@@ -1 +0,0 @@
1
- 0ce808d33171c777daa75a06587c59235064984c597141cf28391c0d44d4463e
@@ -1 +0,0 @@
1
- c35a310d6816b4a942e78b4f5edd48246c3a0f2674ba79ff5ed1607d4b01f64ae6f2131e2f4d5614c3160acf45077500e07034e8454f629d2f670a621cdbb723
@@ -1 +0,0 @@
1
- 7d3a5a547c990d22ce23fb9af06ce6e3260492471606312dc335f1c9111a7a34
@@ -1 +0,0 @@
1
- f99c815fc1391cac380ca0a42aa24cc6004ce61c352a67687dd5d813713636c698b230820c45ec8fd929002ef13659931a00611f0e5c18d1d19e25cad253acc2