@expo/ui 56.0.9 → 56.0.11

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 (157) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/CLAUDE.md +1 -1
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +11 -5
  5. package/android/src/main/java/expo/modules/ui/HorizontalPagerView.kt +97 -16
  6. package/android/src/main/java/expo/modules/ui/colors/MaterialColors.kt +2 -0
  7. package/build/State/index.d.ts +6 -0
  8. package/build/State/index.d.ts.map +1 -0
  9. package/build/community/pager-view/PagerView.android.d.ts +7 -0
  10. package/build/community/pager-view/PagerView.android.d.ts.map +1 -0
  11. package/build/community/pager-view/PagerView.d.ts +8 -0
  12. package/build/community/pager-view/PagerView.d.ts.map +1 -0
  13. package/build/community/pager-view/PagerView.ios.d.ts +15 -0
  14. package/build/community/pager-view/PagerView.ios.d.ts.map +1 -0
  15. package/build/community/pager-view/index.d.ts +3 -0
  16. package/build/community/pager-view/index.d.ts.map +1 -0
  17. package/build/community/pager-view/types.d.ts +122 -0
  18. package/build/community/pager-view/types.d.ts.map +1 -0
  19. package/build/community/segmented-control/vendor/SegmentsSeparators.d.ts.map +1 -1
  20. package/build/jetpack-compose/HorizontalPager/index.d.ts +27 -0
  21. package/build/jetpack-compose/HorizontalPager/index.d.ts.map +1 -1
  22. package/build/jetpack-compose/Host/index.d.ts +1 -0
  23. package/build/jetpack-compose/Host/index.d.ts.map +1 -1
  24. package/build/jetpack-compose/LoadingIndicator/index.d.ts +1 -1
  25. package/build/jetpack-compose/LoadingIndicator/index.d.ts.map +1 -1
  26. package/build/jetpack-compose/SyncSwitch/index.d.ts +1 -1
  27. package/build/jetpack-compose/SyncSwitch/index.d.ts.map +1 -1
  28. package/build/jetpack-compose/TextField/index.d.ts +1 -1
  29. package/build/jetpack-compose/TextField/index.d.ts.map +1 -1
  30. package/build/jetpack-compose/index.d.ts +1 -2
  31. package/build/jetpack-compose/index.d.ts.map +1 -1
  32. package/build/swift-ui/Host/index.d.ts +1 -0
  33. package/build/swift-ui/Host/index.d.ts.map +1 -1
  34. package/build/swift-ui/ScrollView/index.d.ts +30 -0
  35. package/build/swift-ui/ScrollView/index.d.ts.map +1 -1
  36. package/build/swift-ui/SecureField/index.d.ts +1 -1
  37. package/build/swift-ui/SecureField/index.d.ts.map +1 -1
  38. package/build/swift-ui/SyncToggle/index.d.ts +1 -1
  39. package/build/swift-ui/SyncToggle/index.d.ts.map +1 -1
  40. package/build/swift-ui/TextField/index.d.ts +1 -1
  41. package/build/swift-ui/TextField/index.d.ts.map +1 -1
  42. package/build/swift-ui/index.d.ts +1 -2
  43. package/build/swift-ui/index.d.ts.map +1 -1
  44. package/build/swift-ui/modifiers/index.d.ts +25 -15
  45. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  46. package/build/swift-ui/modifiers/scrollObservation.d.ts +52 -0
  47. package/build/swift-ui/modifiers/scrollObservation.d.ts.map +1 -0
  48. package/build/swift-ui/modifiers/scrollPosition.d.ts +1 -1
  49. package/build/swift-ui/modifiers/scrollPosition.d.ts.map +1 -1
  50. package/build/swift-ui/modifiers/symbolEffect.d.ts +1 -1
  51. package/build/swift-ui/modifiers/symbolEffect.d.ts.map +1 -1
  52. package/build/universal/BottomSheet/index.android.d.ts.map +1 -1
  53. package/build/universal/BottomSheet/index.d.ts.map +1 -1
  54. package/build/universal/BottomSheet/index.ios.d.ts.map +1 -1
  55. package/build/universal/Checkbox/index.d.ts.map +1 -1
  56. package/build/universal/Collapsible/index.d.ts.map +1 -1
  57. package/build/universal/ListItem/ListItem.d.ts.map +1 -1
  58. package/build/universal/RNHostView/index.android.d.ts +7 -0
  59. package/build/universal/RNHostView/index.android.d.ts.map +1 -0
  60. package/build/universal/RNHostView/index.d.ts +7 -0
  61. package/build/universal/RNHostView/index.d.ts.map +1 -0
  62. package/build/universal/RNHostView/index.ios.d.ts +7 -0
  63. package/build/universal/RNHostView/index.ios.d.ts.map +1 -0
  64. package/build/universal/RNHostView/types.d.ts +23 -0
  65. package/build/universal/RNHostView/types.d.ts.map +1 -0
  66. package/build/universal/Switch/index.d.ts.map +1 -1
  67. package/build/universal/TextInput/index.d.ts.map +1 -1
  68. package/build/universal/index.d.ts +1 -0
  69. package/build/universal/index.d.ts.map +1 -1
  70. package/expo-module.config.json +1 -1
  71. package/ios/ExpoUIModule.swift +6 -3
  72. package/ios/HostView.swift +21 -18
  73. package/ios/Modifiers/FontModifier.swift +72 -20
  74. package/ios/Modifiers/ScrollObservationModifiers.swift +107 -0
  75. package/ios/Modifiers/ViewModifierRegistry.swift +8 -0
  76. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.9/expo.modules.ui-56.0.9-sources.jar → 56.0.11/expo.modules.ui-56.0.11-sources.jar} +0 -0
  77. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11-sources.jar.md5 +1 -0
  78. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11-sources.jar.sha1 +1 -0
  79. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11-sources.jar.sha256 +1 -0
  80. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11-sources.jar.sha512 +1 -0
  81. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.aar +0 -0
  82. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.aar.md5 +1 -0
  83. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.aar.sha1 +1 -0
  84. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.aar.sha256 +1 -0
  85. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.aar.sha512 +1 -0
  86. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.9/expo.modules.ui-56.0.9.module → 56.0.11/expo.modules.ui-56.0.11.module} +22 -22
  87. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.module.md5 +1 -0
  88. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.module.sha1 +1 -0
  89. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.module.sha256 +1 -0
  90. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.module.sha512 +1 -0
  91. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.9/expo.modules.ui-56.0.9.pom → 56.0.11/expo.modules.ui-56.0.11.pom} +1 -1
  92. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.pom.md5 +1 -0
  93. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.pom.sha1 +1 -0
  94. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.pom.sha256 +1 -0
  95. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.11/expo.modules.ui-56.0.11.pom.sha512 +1 -0
  96. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  97. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  98. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  99. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  100. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  101. package/package.json +7 -3
  102. package/src/State/index.ts +10 -0
  103. package/src/State/useNativeState.ts +8 -0
  104. package/src/community/pager-view/PagerView.android.tsx +224 -0
  105. package/src/community/pager-view/PagerView.ios.tsx +273 -0
  106. package/src/community/pager-view/PagerView.tsx +14 -0
  107. package/src/community/pager-view/index.tsx +13 -0
  108. package/src/community/pager-view/types.tsx +131 -0
  109. package/src/community/picker/Picker.android.tsx +1 -1
  110. package/src/community/segmented-control/vendor/SegmentsSeparators.tsx +3 -6
  111. package/src/jetpack-compose/HorizontalPager/index.tsx +89 -18
  112. package/src/jetpack-compose/Host/index.tsx +1 -0
  113. package/src/jetpack-compose/LoadingIndicator/index.tsx +1 -2
  114. package/src/jetpack-compose/SyncSwitch/index.tsx +1 -3
  115. package/src/jetpack-compose/TextField/index.tsx +1 -4
  116. package/src/jetpack-compose/index.ts +1 -2
  117. package/src/swift-ui/Host/index.tsx +1 -0
  118. package/src/swift-ui/ScrollView/index.tsx +33 -0
  119. package/src/swift-ui/SecureField/index.tsx +1 -4
  120. package/src/swift-ui/SyncToggle/index.tsx +1 -3
  121. package/src/swift-ui/TextField/index.tsx +1 -4
  122. package/src/swift-ui/index.tsx +1 -3
  123. package/src/swift-ui/modifiers/index.ts +37 -14
  124. package/src/swift-ui/modifiers/scrollObservation.ts +80 -0
  125. package/src/swift-ui/modifiers/scrollPosition.ts +1 -2
  126. package/src/swift-ui/modifiers/symbolEffect.ts +1 -2
  127. package/src/swift-ui/withAnimation.ts +1 -1
  128. package/src/universal/BottomSheet/index.android.tsx +33 -10
  129. package/src/universal/BottomSheet/index.ios.tsx +12 -10
  130. package/src/universal/BottomSheet/index.tsx +3 -0
  131. package/src/universal/Checkbox/index.tsx +14 -2
  132. package/src/universal/Collapsible/index.tsx +17 -4
  133. package/src/universal/ListItem/ListItem.tsx +7 -2
  134. package/src/universal/RNHostView/index.android.tsx +33 -0
  135. package/src/universal/RNHostView/index.ios.tsx +12 -0
  136. package/src/universal/RNHostView/index.tsx +39 -0
  137. package/src/universal/RNHostView/types.ts +25 -0
  138. package/src/universal/Switch/index.tsx +7 -2
  139. package/src/universal/TextInput/index.tsx +12 -2
  140. package/src/universal/index.ts +1 -0
  141. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9-sources.jar.md5 +0 -1
  142. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9-sources.jar.sha1 +0 -1
  143. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9-sources.jar.sha256 +0 -1
  144. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9-sources.jar.sha512 +0 -1
  145. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.aar +0 -0
  146. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.aar.md5 +0 -1
  147. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.aar.sha1 +0 -1
  148. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.aar.sha256 +0 -1
  149. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.aar.sha512 +0 -1
  150. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.module.md5 +0 -1
  151. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.module.sha1 +0 -1
  152. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.module.sha256 +0 -1
  153. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.module.sha512 +0 -1
  154. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.pom.md5 +0 -1
  155. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.pom.sha1 +0 -1
  156. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.pom.sha256 +0 -1
  157. package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.9/expo.modules.ui-56.0.9.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,22 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.11 — 2026-05-21
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 56.0.10 — 2026-05-20
18
+
19
+ ### 🎉 New features
20
+
21
+ - Added `@expo/ui/community/pager-view` — a drop-in replacement for `react-native-pager-view`. ([#45499](https://github.com/expo/expo/pull/45499) by [@vonovak](https://github.com/vonovak))
22
+ - [iOS] Added `textStyle` option to `font` modifier in `@expo/ui/swift-ui` for iOS Dynamic Type scaling. ([#46007](https://github.com/expo/expo/pull/46007) by [@ramonclaudio](https://github.com/ramonclaudio))
23
+
24
+ ### 🐛 Bug fixes
25
+
26
+ - [universal] Fix universal components dark theme ([#45969](https://github.com/expo/expo/pull/45969) by [@zoontek](https://github.com/zoontek))
27
+ - [universal] Fix `BottomSheet` behavior by making `Host` optional, and fix Android exit animation. ([#46031](https://github.com/expo/expo/pull/46031) by [@nishan](https://github.com/intergalacticspacehighway))
28
+
13
29
  ## 56.0.9 — 2026-05-19
14
30
 
15
31
  ### 🎉 New features
@@ -23,6 +39,7 @@
23
39
  ### 🐛 Bug fixes
24
40
 
25
41
  - [iOS] Unmount `BottomSheet` when it is dismissed. ([#45846](https://github.com/expo/expo/pull/45846) by [@nishan](https://github.com/intergalacticspacehighway))
42
+ - [iOS] Apply `modifiers` prop on `Host` instead of silently dropping it. ([#45872](https://github.com/expo/expo/pull/45872) by [@ramonclaudio](https://github.com/ramonclaudio))
26
43
 
27
44
  ### 💡 Others
28
45
 
package/CLAUDE.md CHANGED
@@ -6,7 +6,7 @@ expo-ui is a library of native UI components for React Native, bridging SwiftUI
6
6
 
7
7
  Bridge native components to JavaScript with as little abstraction as possible. Native views should be thin wrappers — no added logic, state management, or behavior beyond what the platform component provides. Everything that can be set or controlled from JavaScript should be controlled from JavaScript.
8
8
 
9
- Prefer controlled components: state lives in JS and is passed as props, not managed internally by the native view. Use a prop + callback pattern (e.g. `page` + `onPageChange`) instead of imperative ref methods (e.g. `setPage(index)`). This keeps the source of truth in React and makes components predictable and composable.
9
+ Mirror the native API shape. If the underlying SwiftUI / Compose component exposes imperative methods (e.g. SwiftUI's `ScrollViewProxy.scrollTo`, Compose's `PagerState.animateScrollToPage`), expose them as imperative methods in JS don't paper them over with a controlled prop + sync layer just for the sake of a "React-y" API.
10
10
 
11
11
  ## Naming
12
12
 
@@ -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 = '56.0.9'
15
+ version = '56.0.11'
16
16
 
17
17
  android {
18
18
  namespace "expo.modules.ui"
19
19
  defaultConfig {
20
20
  versionCode 1
21
- versionName "56.0.9"
21
+ versionName "56.0.11"
22
22
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
23
23
  }
24
24
  buildFeatures {
@@ -458,14 +458,20 @@ class ExpoUIModule : Module() {
458
458
  val scrollToPage by AsyncFunction<Int>()
459
459
  val onCurrentPageChange by Event<HorizontalPagerCurrentPageChangeEvent>()
460
460
  val onSettledPageChange by Event<HorizontalPagerSettledPageChangeEvent>()
461
+ val onPageScroll by Event<HorizontalPagerPageScrollEvent>()
462
+ val onScrollInProgressChange by Event<HorizontalPagerScrollInProgressChangeEvent>()
463
+ val onDragInteraction by Event<HorizontalPagerDragInteractionEvent>()
461
464
 
462
465
  Content { props ->
463
466
  HorizontalPagerContent(
464
- props,
465
- animateScrollToPage,
466
- scrollToPage,
467
- { onCurrentPageChange(it) },
468
- { onSettledPageChange(it) }
467
+ props = props,
468
+ animateScrollToPage = animateScrollToPage,
469
+ scrollToPage = scrollToPage,
470
+ onCurrentPageChange = { onCurrentPageChange(it) },
471
+ onSettledPageChange = { onSettledPageChange(it) },
472
+ onPageScroll = { onPageScroll(it) },
473
+ onScrollInProgressChange = { onScrollInProgressChange(it) },
474
+ onDragInteraction = { onDragInteraction(it) }
469
475
  )
470
476
  }
471
477
  }
@@ -2,6 +2,7 @@ package expo.modules.ui
2
2
 
3
3
  import android.view.View
4
4
  import android.view.ViewGroup
5
+ import androidx.compose.foundation.interaction.DragInteraction
5
6
  import androidx.compose.foundation.pager.HorizontalPager
6
7
  import androidx.compose.foundation.pager.rememberPagerState
7
8
  import androidx.compose.runtime.Composable
@@ -23,6 +24,7 @@ import expo.modules.kotlin.views.FunctionalComposableScope
23
24
  import expo.modules.kotlin.types.Either
24
25
  import expo.modules.kotlin.types.OptimizedRecord
25
26
  import expo.modules.kotlin.views.OptimizedComposeProps
27
+ import expo.modules.ui.state.WorkletCallback
26
28
 
27
29
  @OptimizedRecord
28
30
  data class HorizontalPagerCurrentPageChangeEvent(
@@ -34,6 +36,22 @@ data class HorizontalPagerSettledPageChangeEvent(
34
36
  @Field val position: Int = 0
35
37
  ) : Record
36
38
 
39
+ @OptimizedRecord
40
+ data class HorizontalPagerPageScrollEvent(
41
+ @Field val currentPage: Int = 0,
42
+ @Field val currentPageOffsetFraction: Float = 0f
43
+ ) : Record
44
+
45
+ @OptimizedRecord
46
+ data class HorizontalPagerScrollInProgressChangeEvent(
47
+ @Field val isScrollInProgress: Boolean = false
48
+ ) : Record
49
+
50
+ @OptimizedRecord
51
+ data class HorizontalPagerDragInteractionEvent(
52
+ @Field val kind: String = "start"
53
+ ) : Record
54
+
37
55
  @OptimizedComposeProps
38
56
  data class HorizontalPagerProps(
39
57
  val initialPage: Int = 0,
@@ -42,6 +60,7 @@ data class HorizontalPagerProps(
42
60
  val userScrollEnabled: Boolean = true,
43
61
  val reverseLayout: Boolean = false,
44
62
  val beyondViewportPageCount: Int = 0,
63
+ val onPageScrollSync: WorkletCallback? = null,
45
64
  val modifiers: ModifierList = emptyList()
46
65
  ) : ComposeProps
47
66
 
@@ -51,7 +70,10 @@ fun FunctionalComposableScope.HorizontalPagerContent(
51
70
  animateScrollToPage: AsyncFunctionHandle<Int>,
52
71
  scrollToPage: AsyncFunctionHandle<Int>,
53
72
  onCurrentPageChange: (HorizontalPagerCurrentPageChangeEvent) -> Unit,
54
- onSettledPageChange: (HorizontalPagerSettledPageChangeEvent) -> Unit
73
+ onSettledPageChange: (HorizontalPagerSettledPageChangeEvent) -> Unit,
74
+ onPageScroll: (HorizontalPagerPageScrollEvent) -> Unit,
75
+ onScrollInProgressChange: (HorizontalPagerScrollInProgressChangeEvent) -> Unit,
76
+ onDragInteraction: (HorizontalPagerDragInteractionEvent) -> Unit
55
77
  ) {
56
78
  // Mirror view.size into snapshot state so the outer scope recomposes when
57
79
  // children are added/removed. Without this, Compose's pager caches its
@@ -59,6 +81,9 @@ fun FunctionalComposableScope.HorizontalPagerContent(
59
81
  // and crashes on scroll past the last index it knew about, because reading
60
82
  // view.size — a plain Java property — registers no snapshot dependency.
61
83
  val pageCountState = remember { mutableIntStateOf(view.size) }
84
+ // Assumes sole ownership of `view`'s OnHierarchyChangeListener — there is
85
+ // only one slot per ViewGroup, and `onDispose` resets it to null. Safe
86
+ // because `view` is the expo Host's private container.
62
87
  DisposableEffect(view) {
63
88
  view.setOnHierarchyChangeListener(object : ViewGroup.OnHierarchyChangeListener {
64
89
  override fun onChildViewAdded(parent: View?, child: View?) {
@@ -72,35 +97,91 @@ fun FunctionalComposableScope.HorizontalPagerContent(
72
97
  onDispose { view.setOnHierarchyChangeListener(null) }
73
98
  }
74
99
 
75
- val pageCount = pageCountState.intValue
76
- if (pageCount == 0) return
100
+ // Register the imperative handles before the empty-children early return, so
101
+ // in case there ever are JS calls dispatched while `view.size` is still 0, they bind to a handler.
102
+ // `coerceAtLeast(0)` guards against `coerceIn(0, -1)` throwing in that gap.
77
103
  val pagerState = rememberPagerState(
78
- initialPage = props.initialPage.coerceIn(0, pageCount - 1)
104
+ initialPage = props.initialPage.coerceAtLeast(0)
79
105
  ) { pageCountState.intValue }
80
106
  val scope = rememberCoroutineScope()
81
107
 
82
108
  // Dispatch into the composition's scope so the scroll runs with Compose's
83
109
  // MonotonicFrameClock; .join() lets the JS-side promise await completion.
110
+ // Clamp page indices here because Compose throws on out-of-range values.
84
111
  animateScrollToPage.handle { page ->
85
- scope.launch { pagerState.animateScrollToPage(page) }.join()
112
+ val count = pageCountState.intValue
113
+ if (count > 0) {
114
+ val clamped = page.coerceIn(0, count - 1)
115
+ scope.launch { pagerState.animateScrollToPage(clamped) }.join()
116
+ }
86
117
  }
87
118
 
88
119
  scrollToPage.handle { page ->
89
- scope.launch { pagerState.scrollToPage(page) }.join()
120
+ val count = pageCountState.intValue
121
+ if (count > 0) {
122
+ val clamped = page.coerceIn(0, count - 1)
123
+ scope.launch { pagerState.scrollToPage(clamped) }.join()
124
+ }
90
125
  }
91
126
 
92
- // Mirror Compose's PagerState observable fields to JS callbacks. Drop the
93
- // first emission so we don't echo the initial value back on mount.
94
- LaunchedEffect(pagerState) {
95
- snapshotFlow { pagerState.currentPage }
96
- .drop(1)
97
- .collect { onCurrentPageChange(HorizontalPagerCurrentPageChangeEvent(it)) }
98
- }
127
+ val pageCount = pageCountState.intValue
128
+ if (pageCount == 0) return
99
129
 
130
+ // Mirror Compose's PagerState observable fields to JS callbacks. Each
131
+ // state-backed snapshotFlow drops its first emission so we don't echo the
132
+ // initial value back on mount; the interactionSource flow doesn't drop
133
+ // because its emissions are discrete events, not state values.
100
134
  LaunchedEffect(pagerState) {
101
- snapshotFlow { pagerState.settledPage }
102
- .drop(1)
103
- .collect { onSettledPageChange(HorizontalPagerSettledPageChangeEvent(it)) }
135
+ launch {
136
+ snapshotFlow { pagerState.currentPage }
137
+ .drop(1)
138
+ .collect { onCurrentPageChange(HorizontalPagerCurrentPageChangeEvent(it)) }
139
+ }
140
+ launch {
141
+ snapshotFlow { pagerState.settledPage }
142
+ .drop(1)
143
+ .collect { onSettledPageChange(HorizontalPagerSettledPageChangeEvent(it)) }
144
+ }
145
+ launch {
146
+ snapshotFlow {
147
+ pagerState.currentPage to pagerState.currentPageOffsetFraction
148
+ }
149
+ .drop(1)
150
+ .collect { (currentPage, fraction) ->
151
+ // Mutually exclusive: the JS wrapper only wires one path at a time.
152
+ // Skipping the regular event when a worklet is attached avoids the
153
+ // per-frame Record allocation + async JS-thread event dispatch.
154
+ val sync = props.onPageScrollSync
155
+ if (sync != null) {
156
+ sync.invoke(currentPage, fraction)
157
+ } else {
158
+ onPageScroll(
159
+ HorizontalPagerPageScrollEvent(
160
+ currentPage = currentPage,
161
+ currentPageOffsetFraction = fraction
162
+ )
163
+ )
164
+ }
165
+ }
166
+ }
167
+ launch {
168
+ snapshotFlow { pagerState.isScrollInProgress }
169
+ .drop(1)
170
+ .collect {
171
+ onScrollInProgressChange(HorizontalPagerScrollInProgressChangeEvent(isScrollInProgress = it))
172
+ }
173
+ }
174
+ launch {
175
+ pagerState.interactionSource.interactions.collect { interaction ->
176
+ val kind = when (interaction) {
177
+ is DragInteraction.Start -> "start"
178
+ is DragInteraction.Stop -> "stop"
179
+ is DragInteraction.Cancel -> "cancel"
180
+ else -> return@collect
181
+ }
182
+ onDragInteraction(HorizontalPagerDragInteractionEvent(kind = kind))
183
+ }
184
+ }
104
185
  }
105
186
 
106
187
  val contentPadding = props.contentPadding.toPaddingValues()
@@ -13,6 +13,7 @@ import com.google.android.material.color.utilities.MaterialDynamicColors
13
13
  import com.google.android.material.color.utilities.SchemeTonalSpot
14
14
  import expo.modules.kotlin.records.Field
15
15
  import expo.modules.kotlin.records.Record
16
+ import expo.modules.kotlin.types.OptimizedRecord
16
17
  import expo.modules.ui.ExpoColorScheme
17
18
 
18
19
  /**
@@ -21,6 +22,7 @@ import expo.modules.ui.ExpoColorScheme
21
22
  */
22
23
  internal val isDynamicColorSupported: Boolean = Build.VERSION.SDK_INT >= Build.VERSION_CODES.S
23
24
 
25
+ @OptimizedRecord
24
26
  internal class MaterialColorsOptions : Record {
25
27
  @Field val scheme: ExpoColorScheme? = null
26
28
 
@@ -0,0 +1,6 @@
1
+ import './index.fx';
2
+ export { useNativeState, type ObservableState } from './useNativeState';
3
+ export { useWorkletProp } from './useWorkletProp';
4
+ export { worklets } from './optionalWorklets';
5
+ export { getStateId } from './utils';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/State/index.ts"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type PagerViewProps } from './types';
2
+ /**
3
+ * Drop-in replacement for `react-native-pager-view` on Android.
4
+ * Renders a Jetpack Compose `HorizontalPager`.
5
+ */
6
+ export declare function PagerView(props: PagerViewProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=PagerView.android.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PagerView.android.d.ts","sourceRoot":"","sources":["../../../src/community/pager-view/PagerView.android.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAO/D;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAgH9C"}
@@ -0,0 +1,8 @@
1
+ import type { PagerViewProps } from './types';
2
+ /**
3
+ * A drop-in replacement for `react-native-pager-view`. Renders a horizontally
4
+ * paged view backed by Jetpack Compose's `HorizontalPager` on Android and
5
+ * SwiftUI on iOS. Each child is treated as a separate page.
6
+ */
7
+ export declare function PagerView(props: PagerViewProps): never;
8
+ //# sourceMappingURL=PagerView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PagerView.d.ts","sourceRoot":"","sources":["../../../src/community/pager-view/PagerView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,KAAK,CAItD"}
@@ -0,0 +1,15 @@
1
+ import { type PagerViewProps } from './types';
2
+ /**
3
+ * Drop-in replacement for `react-native-pager-view` on iOS.
4
+ *
5
+ * Renders a SwiftUI `ScrollView` with paging behavior. Scroll position is the
6
+ * single source of truth: an `ObservableState` bound through the
7
+ * `scrollPosition` modifier drives initial placement, user-swipe writeback,
8
+ * and imperative `setPage` / `setPageWithoutAnimation`. The animated path
9
+ * routes the write through `withAnimation`; if `react-native-worklets` isn't
10
+ * installed, `setPage` falls back to a non-animated jump. Requires iOS 17+.
11
+ * Continuous progress (`onPageScroll`) and scroll state
12
+ * (`onPageScrollStateChanged`) events require iOS 18+.
13
+ */
14
+ export declare function PagerView(props: PagerViewProps): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=PagerView.ios.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PagerView.ios.d.ts","sourceRoot":"","sources":["../../../src/community/pager-view/PagerView.ios.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAiC/D;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAqK9C"}
@@ -0,0 +1,3 @@
1
+ export type { PagerViewProps, PagerViewRef, PagerViewOnPageScrollEventData, PagerViewOnPageSelectedEventData, PageScrollStateChangedEventData, PagerViewOnPageScrollEvent, PagerViewOnPageSelectedEvent, PageScrollStateChangedEvent, } from './types';
2
+ export { PagerView, PagerView as default } from './PagerView';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/community/pager-view/index.tsx"],"names":[],"mappings":"AAAA,YAAY,EACV,cAAc,EACd,YAAY,EACZ,8BAA8B,EAC9B,gCAAgC,EAChC,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,SAAS,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,122 @@
1
+ import type { ReactNode, Ref } from 'react';
2
+ import type { NativeSyntheticEvent, ViewProps } from 'react-native';
3
+ export type PagerViewOnPageScrollEventData = Readonly<{
4
+ /** Index of the leading visible page. */
5
+ position: number;
6
+ /** Fractional progress toward the next page, in `[0, 1)`. */
7
+ offset: number;
8
+ }>;
9
+ export type PagerViewOnPageSelectedEventData = Readonly<{
10
+ /** Index of the newly selected page. */
11
+ position: number;
12
+ }>;
13
+ export type PageScrollStateChangedEventData = Readonly<{
14
+ /**
15
+ * `idle` when scrolling has stopped, `dragging` while the user is actively
16
+ * swiping, and `settling` while the pager animates to a target page.
17
+ */
18
+ pageScrollState: 'idle' | 'dragging' | 'settling';
19
+ }>;
20
+ export type PagerViewOnPageScrollEvent = NativeSyntheticEvent<PagerViewOnPageScrollEventData>;
21
+ export type PagerViewOnPageSelectedEvent = NativeSyntheticEvent<PagerViewOnPageSelectedEventData>;
22
+ export type PageScrollStateChangedEvent = NativeSyntheticEvent<PageScrollStateChangedEventData>;
23
+ /**
24
+ * Wraps a payload as `NativeSyntheticEvent`. We only populate `nativeEvent`
25
+ * since our consumers (mirroring upstream `react-native-pager-view`) read
26
+ * only `event.nativeEvent.X`; the unset SyntheticEvent fields would never
27
+ * be observed in practice.
28
+ */
29
+ export declare const wrapNativeEvent: <T>(nativeEvent: T) => NativeSyntheticEvent<T>;
30
+ /**
31
+ * Props for the `PagerView` component.
32
+ * Compatible with `react-native-pager-view`.
33
+ */
34
+ export type PagerViewProps = ViewProps & {
35
+ /**
36
+ * Ref handle exposing imperative `setPage`, `setPageWithoutAnimation`,
37
+ * and `setScrollEnabled` methods.
38
+ */
39
+ ref?: Ref<PagerViewRef>;
40
+ /**
41
+ * Index of the page that is initially selected. Read **once** on mount;
42
+ * later changes are ignored. To navigate after mount, call
43
+ * `ref.setPage()` or `ref.setPageWithoutAnimation()`.
44
+ * @default 0
45
+ */
46
+ initialPage?: number;
47
+ /**
48
+ * Whether the user can swipe between pages.
49
+ * @default true
50
+ */
51
+ scrollEnabled?: boolean;
52
+ /**
53
+ * Layout direction for paging.
54
+ * @default 'ltr'
55
+ * @platform android
56
+ */
57
+ layoutDirection?: 'ltr' | 'rtl';
58
+ /**
59
+ * Number of pages kept off-screen on each side of the visible page.
60
+ * @platform android
61
+ */
62
+ offscreenPageLimit?: number;
63
+ /**
64
+ * Pixels of padding between pages.
65
+ * @platform android
66
+ */
67
+ pageMargin?: number;
68
+ /**
69
+ * Fires continuously while a swipe is in progress. The event's `position`
70
+ * is the index of the leading visible page; `offset` is the fractional
71
+ * progress toward the next page in the `[0, 1)` range.
72
+ *
73
+ * Mark this handler with `'worklet'` (requires `react-native-worklets`)
74
+ * to run it synchronously on the UI thread every frame.
75
+ *
76
+ * @platform android
77
+ * @platform ios 18.0+
78
+ */
79
+ onPageScroll?: (event: PagerViewOnPageScrollEvent) => void;
80
+ /**
81
+ * Fires when a page is fully selected. The event's `position` is the
82
+ * index of the new page.
83
+ */
84
+ onPageSelected?: (event: PagerViewOnPageSelectedEvent) => void;
85
+ /**
86
+ * Fires when the scroll state changes between `idle`, `dragging`,
87
+ * and `settling`.
88
+ *
89
+ * @platform android
90
+ * @platform ios 18.0+
91
+ */
92
+ onPageScrollStateChanged?: (event: PageScrollStateChangedEvent) => void;
93
+ /**
94
+ * Pages of the pager. Each child is treated as a separate page and
95
+ * stretched to fill the pager. Each child should have a stable `key`.
96
+ */
97
+ children?: ReactNode;
98
+ };
99
+ /**
100
+ * Ref handle for the `PagerView` component.
101
+ */
102
+ export type PagerViewRef = {
103
+ /**
104
+ * Animate the pager to the given page index. Out-of-range indices are
105
+ * silently ignored. On iOS the animation requires `react-native-worklets`;
106
+ * without it, `setPage` falls back to a non-animated jump.
107
+ */
108
+ setPage: (selectedPage: number) => void;
109
+ /**
110
+ * Jump to the given page index without an animation.
111
+ */
112
+ setPageWithoutAnimation: (selectedPage: number) => void;
113
+ /**
114
+ * Imperatively enable or disable user scrolling.
115
+ *
116
+ * > **Note:** If the `scrollEnabled` prop is also provided, subsequent
117
+ * > prop changes win and reset the value set imperatively. To use the
118
+ * > imperative path exclusively, omit the prop.
119
+ */
120
+ setScrollEnabled: (scrollEnabled: boolean) => void;
121
+ };
122
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/community/pager-view/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IACpD,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CAAC;IACtD,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC;IACrD;;;OAGG;IACH,eAAe,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,8BAA8B,CAAC,CAAC;AAC9F,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,gCAAgC,CAAC,CAAC;AAClG,MAAM,MAAM,2BAA2B,GAAG,oBA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Separators.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,GACd,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CAoBA"}
1
+ {"version":3,"file":"SegmentsSeparators.d.ts","sourceRoot":"","sources":["../../../../src/community/segmented-control/vendor/SegmentsSeparators.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,GACd,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CAiBA"}
@@ -13,6 +13,11 @@ export type HorizontalPagerHandle = {
13
13
  */
14
14
  scrollToPage: (page: number) => Promise<void>;
15
15
  };
16
+ /**
17
+ * Kind of drag interaction reported by `onDragInteraction`. Mirrors Compose's
18
+ * `DragInteraction.Start` / `DragInteraction.Stop` / `DragInteraction.Cancel`.
19
+ */
20
+ export type HorizontalPagerDragInteraction = 'start' | 'stop' | 'cancel';
16
21
  export type HorizontalPagerProps = {
17
22
  /**
18
23
  * Imperative handle for programmatic navigation. Mirrors the methods on
@@ -36,6 +41,28 @@ export type HorizontalPagerProps = {
36
41
  * swipe or programmatic scroll has fully settled.
37
42
  */
38
43
  onSettledPageChange?: (page: number) => void;
44
+ /**
45
+ * Fires continuously while a swipe is in progress. Mirrors Compose's
46
+ * `PagerState.currentPage` and `currentPageOffsetFraction` — the latter is
47
+ * the signed fractional offset from `currentPage`, in the `[-0.5, 0.5]` range.
48
+ *
49
+ * If the callback is marked with the `'worklet'` directive, it runs
50
+ * synchronously on the UI thread; otherwise it is delivered asynchronously
51
+ * as a regular JS event.
52
+ */
53
+ onPageScroll?: (currentPage: number, currentPageOffsetFraction: number) => void;
54
+ /**
55
+ * Fires when Compose's `PagerState.isScrollInProgress` toggles — true while
56
+ * the pager is being dragged or animating to a snap target, false once it
57
+ * has settled.
58
+ */
59
+ onScrollInProgressChange?: (isScrollInProgress: boolean) => void;
60
+ /**
61
+ * Fires for each drag interaction emitted by `PagerState.interactionSource`.
62
+ * Combine with `onScrollInProgressChange` to distinguish user dragging from
63
+ * fling/snap-settling.
64
+ */
65
+ onDragInteraction?: (kind: HorizontalPagerDragInteraction) => void;
39
66
  /**
40
67
  * Spacing between pages in dp.
41
68
  * @default 0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/HorizontalPager/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD;;OAEG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;I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AE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,yBAAyB,EAAE,MAAM,KAAK,IAAI,CAAC;IAChF;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,8BAA8B,KAAK,IAAI,CAAC;IACnE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAC9C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAuBF;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAkD1D"}
@@ -53,6 +53,7 @@ export type HostProps = {
53
53
  ignoreSafeAreaKeyboardInsets?: boolean;
54
54
  children: React.ReactNode;
55
55
  style?: StyleProp<ViewStyle>;
56
+ pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto';
56
57
  } & PrimitiveBaseProps;
57
58
  export declare function Host(props: HostProps): import("react/jsx-runtime").JSX.Element;
58
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Host/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EA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AO,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAEvE;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAEtF;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB;;;OAGG;IACH,eAAe,CAAC,EAAE,aAAa,GAAG,aAAa,CAAC;IAEhD;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,aAAa,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;CAC3D,GAAG,kBAAkB,CAAC;AAcvB,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,2CAuCpC"}
@@ -1,5 +1,5 @@
1
1
  import { type ColorValue } from 'react-native';
2
- import type { ObservableState } from '../../State/useNativeState';
2
+ import { type ObservableState } from '../../State';
3
3
  import { type ModifierConfig } from '../../types';
4
4
  /**
5
5
  * Common props shared by loading indicator variants.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/LoadingIndicator/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD;;GAEG;AACH,MAAM,MAAM,4BAA4B,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
@@ -1,4 +1,4 @@
1
- import { type ObservableState } from '../../State/useNativeState';
1
+ import { type ObservableState } from '../../State';
2
2
  import { type ModifierConfig } from '../../types';
3
3
  export type SyncSwitchProps = {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/SyncSwitch/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAC/B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B,CAAC;AAYF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAahD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/SyncSwitch/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,eAAe,EAAkB,MAAM,aAAa,CAAC;AAC/E,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAC/B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B,CAAC;AAYF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAahD"}
@@ -1,6 +1,6 @@
1
1
  import type { Ref } from 'react';
2
2
  import type { ColorValue } from 'react-native';
3
- import type { ObservableState } from '../../State/useNativeState';
3
+ import { type ObservableState } from '../../State';
4
4
  import type { ModifierConfig } from '../../types';
5
5
  /**
6
6
  * Can be used for imperatively focusing and setting text/selection on the `TextField` component.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/TextField/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,aAAa,CAAC;AAM7D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B;;OAEG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC;AAEpF,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,SAAS,GACT,UAAU,GACV,OAAO,GACP,KAAK,GACL,gBAAgB,CAAC;AAErB,MAAM,MAAM,kBAAkB,GA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2
1
  import './MaterialSymbolsAssetsTransformer.fx';
3
2
  export * from './AlertDialog';
4
3
  export * from './Badge';
@@ -48,7 +47,7 @@ export * from './Box';
48
47
  export * from './Row';
49
48
  export * from './Column';
50
49
  export * from './FlowRow';
51
- export { useNativeState } from '../State/useNativeState';
50
+ export { useNativeState } from '../State';
52
51
  export type { ViewEvent } from '../types';
53
52
  export type { PrimitiveBaseProps } from './layout-types';
54
53
  //# sourceMappingURL=index.d.ts.map