@appsent-co/react-native-watchos 0.1.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 (1045) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +94 -0
  3. package/RNWatchConnectivity.podspec +77 -0
  4. package/app.plugin.js +1 -0
  5. package/apple/Package.swift +49 -0
  6. package/apple/Sources/ReactNativeWatchOS/DevSupport/ErrorToast.swift +22 -0
  7. package/apple/Sources/ReactNativeWatchOS/DevSupport/ShakeDetector.swift +42 -0
  8. package/apple/Sources/ReactNativeWatchOS/EventBus.swift +20 -0
  9. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAction.swift +20 -0
  10. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityActions.swift +17 -0
  11. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAddTraits.swift +48 -0
  12. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityElement.swift +19 -0
  13. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHidden.swift +13 -0
  14. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHint.swift +12 -0
  15. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityIdentifier.swift +12 -0
  16. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityLabel.swift +12 -0
  17. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityRemoveTraits.swift +14 -0
  18. package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityValue.swift +12 -0
  19. package/apple/Sources/ReactNativeWatchOS/Modifiers/Alert.swift +81 -0
  20. package/apple/Sources/ReactNativeWatchOS/Modifiers/AlignmentGuide.swift +53 -0
  21. package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsHitTesting.swift +13 -0
  22. package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsTightening.swift +13 -0
  23. package/apple/Sources/ReactNativeWatchOS/Modifiers/Animation.swift +63 -0
  24. package/apple/Sources/ReactNativeWatchOS/Modifiers/Antialiased.swift +12 -0
  25. package/apple/Sources/ReactNativeWatchOS/Modifiers/AspectRatio.swift +21 -0
  26. package/apple/Sources/ReactNativeWatchOS/Modifiers/AutocorrectionDisabled.swift +14 -0
  27. package/apple/Sources/ReactNativeWatchOS/Modifiers/Background.swift +26 -0
  28. package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundExtensionEffect.swift +17 -0
  29. package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundStyle.swift +17 -0
  30. package/apple/Sources/ReactNativeWatchOS/Modifiers/BaselineOffset.swift +13 -0
  31. package/apple/Sources/ReactNativeWatchOS/Modifiers/BlendMode.swift +35 -0
  32. package/apple/Sources/ReactNativeWatchOS/Modifiers/Blur.swift +14 -0
  33. package/apple/Sources/ReactNativeWatchOS/Modifiers/Bold.swift +12 -0
  34. package/apple/Sources/ReactNativeWatchOS/Modifiers/Border.swift +18 -0
  35. package/apple/Sources/ReactNativeWatchOS/Modifiers/Brightness.swift +12 -0
  36. package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonBorderShape.swift +27 -0
  37. package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonRepeatBehavior.swift +19 -0
  38. package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonSizing.swift +18 -0
  39. package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonStyle.swift +23 -0
  40. package/apple/Sources/ReactNativeWatchOS/Modifiers/ClipShape.swift +26 -0
  41. package/apple/Sources/ReactNativeWatchOS/Modifiers/Clipped.swift +11 -0
  42. package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorInvert.swift +11 -0
  43. package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorMultiply.swift +17 -0
  44. package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorScheme.swift +21 -0
  45. package/apple/Sources/ReactNativeWatchOS/Modifiers/CompositingGroup.swift +12 -0
  46. package/apple/Sources/ReactNativeWatchOS/Modifiers/ConfirmationDialog.swift +91 -0
  47. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerBackground.swift +34 -0
  48. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerRelativeFrame.swift +24 -0
  49. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerShape.swift +25 -0
  50. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerValue.swift +20 -0
  51. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentMargins.swift +21 -0
  52. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentShape.swift +26 -0
  53. package/apple/Sources/ReactNativeWatchOS/Modifiers/ContextMenu.swift +14 -0
  54. package/apple/Sources/ReactNativeWatchOS/Modifiers/Contrast.swift +12 -0
  55. package/apple/Sources/ReactNativeWatchOS/Modifiers/ControlSize.swift +27 -0
  56. package/apple/Sources/ReactNativeWatchOS/Modifiers/CoordinateSpace.swift +15 -0
  57. package/apple/Sources/ReactNativeWatchOS/Modifiers/CornerRadius.swift +14 -0
  58. package/apple/Sources/ReactNativeWatchOS/Modifiers/DatePickerStyle.swift +20 -0
  59. package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultAppStorage.swift +21 -0
  60. package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultScrollAnchor.swift +20 -0
  61. package/apple/Sources/ReactNativeWatchOS/Modifiers/DeleteDisabled.swift +12 -0
  62. package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownAccessory.swift +20 -0
  63. package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownRotation.swift +100 -0
  64. package/apple/Sources/ReactNativeWatchOS/Modifiers/Disabled.swift +12 -0
  65. package/apple/Sources/ReactNativeWatchOS/Modifiers/DrawingGroup.swift +12 -0
  66. package/apple/Sources/ReactNativeWatchOS/Modifiers/DynamicTypeSize.swift +36 -0
  67. package/apple/Sources/ReactNativeWatchOS/Modifiers/Environment.swift +40 -0
  68. package/apple/Sources/ReactNativeWatchOS/Modifiers/EnvironmentObject.swift +20 -0
  69. package/apple/Sources/ReactNativeWatchOS/Modifiers/FixedSize.swift +22 -0
  70. package/apple/Sources/ReactNativeWatchOS/Modifiers/Focusable.swift +14 -0
  71. package/apple/Sources/ReactNativeWatchOS/Modifiers/Focused.swift +52 -0
  72. package/apple/Sources/ReactNativeWatchOS/Modifiers/Font.swift +65 -0
  73. package/apple/Sources/ReactNativeWatchOS/Modifiers/FontDesign.swift +20 -0
  74. package/apple/Sources/ReactNativeWatchOS/Modifiers/FontWeight.swift +15 -0
  75. package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundColor.swift +19 -0
  76. package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundStyle.swift +17 -0
  77. package/apple/Sources/ReactNativeWatchOS/Modifiers/FormStyle.swift +14 -0
  78. package/apple/Sources/ReactNativeWatchOS/Modifiers/Frame.swift +44 -0
  79. package/apple/Sources/ReactNativeWatchOS/Modifiers/FullScreenCover.swift +68 -0
  80. package/apple/Sources/ReactNativeWatchOS/Modifiers/GaugeStyle.swift +27 -0
  81. package/apple/Sources/ReactNativeWatchOS/Modifiers/GeometryGroup.swift +16 -0
  82. package/apple/Sources/ReactNativeWatchOS/Modifiers/Gesture.swift +68 -0
  83. package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffect.swift +49 -0
  84. package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectID.swift +34 -0
  85. package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectTransition.swift +29 -0
  86. package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectUnion.swift +35 -0
  87. package/apple/Sources/ReactNativeWatchOS/Modifiers/Grayscale.swift +12 -0
  88. package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellAnchor.swift +38 -0
  89. package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellColumns.swift +13 -0
  90. package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellUnsizedAxes.swift +21 -0
  91. package/apple/Sources/ReactNativeWatchOS/Modifiers/GridColumnAlignment.swift +13 -0
  92. package/apple/Sources/ReactNativeWatchOS/Modifiers/HandGestureShortcut.swift +18 -0
  93. package/apple/Sources/ReactNativeWatchOS/Modifiers/HeaderProminence.swift +16 -0
  94. package/apple/Sources/ReactNativeWatchOS/Modifiers/Help.swift +15 -0
  95. package/apple/Sources/ReactNativeWatchOS/Modifiers/Hidden.swift +14 -0
  96. package/apple/Sources/ReactNativeWatchOS/Modifiers/HighPriorityGesture.swift +12 -0
  97. package/apple/Sources/ReactNativeWatchOS/Modifiers/HueRotation.swift +12 -0
  98. package/apple/Sources/ReactNativeWatchOS/Modifiers/Id.swift +33 -0
  99. package/apple/Sources/ReactNativeWatchOS/Modifiers/IgnoresSafeArea.swift +16 -0
  100. package/apple/Sources/ReactNativeWatchOS/Modifiers/InteractiveDismissDisabled.swift +13 -0
  101. package/apple/Sources/ReactNativeWatchOS/Modifiers/Interpolation.swift +19 -0
  102. package/apple/Sources/ReactNativeWatchOS/Modifiers/Italic.swift +12 -0
  103. package/apple/Sources/ReactNativeWatchOS/Modifiers/Kerning.swift +14 -0
  104. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelIconToTitleSpacing.swift +17 -0
  105. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelReservedIconWidth.swift +17 -0
  106. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelStyle.swift +21 -0
  107. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabeledContentStyle.swift +14 -0
  108. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsHidden.swift +14 -0
  109. package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsVisibility.swift +18 -0
  110. package/apple/Sources/ReactNativeWatchOS/Modifiers/LayoutPriority.swift +12 -0
  111. package/apple/Sources/ReactNativeWatchOS/Modifiers/LineLimit.swift +13 -0
  112. package/apple/Sources/ReactNativeWatchOS/Modifiers/LineSpacing.swift +13 -0
  113. package/apple/Sources/ReactNativeWatchOS/Modifiers/ListItemTint.swift +17 -0
  114. package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowBackground.swift +16 -0
  115. package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowInsets.swift +18 -0
  116. package/apple/Sources/ReactNativeWatchOS/Modifiers/ListSectionSpacing.swift +24 -0
  117. package/apple/Sources/ReactNativeWatchOS/Modifiers/ListStyle.swift +18 -0
  118. package/apple/Sources/ReactNativeWatchOS/Modifiers/LuminanceToAlpha.swift +12 -0
  119. package/apple/Sources/ReactNativeWatchOS/Modifiers/Mask.swift +15 -0
  120. package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedGeometryEffect.swift +50 -0
  121. package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedTransitionSource.swift +33 -0
  122. package/apple/Sources/ReactNativeWatchOS/Modifiers/MaterialActiveAppearance.swift +26 -0
  123. package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuActionDismissBehavior.swift +23 -0
  124. package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuOrder.swift +19 -0
  125. package/apple/Sources/ReactNativeWatchOS/Modifiers/MinimumScaleFactor.swift +14 -0
  126. package/apple/Sources/ReactNativeWatchOS/Modifiers/Monospaced.swift +12 -0
  127. package/apple/Sources/ReactNativeWatchOS/Modifiers/MonospacedDigit.swift +13 -0
  128. package/apple/Sources/ReactNativeWatchOS/Modifiers/MoveDisabled.swift +12 -0
  129. package/apple/Sources/ReactNativeWatchOS/Modifiers/MultilineTextAlignment.swift +14 -0
  130. package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationBarBackButtonHidden.swift +14 -0
  131. package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationDestination.swift +64 -0
  132. package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTitle.swift +14 -0
  133. package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTransition.swift +22 -0
  134. package/apple/Sources/ReactNativeWatchOS/Modifiers/Offset.swift +15 -0
  135. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnAppear.swift +11 -0
  136. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnChange.swift +60 -0
  137. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnDisappear.swift +12 -0
  138. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnGeometryChange.swift +25 -0
  139. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnLongPressGesture.swift +17 -0
  140. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnOpenURL.swift +19 -0
  141. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnReceive.swift +24 -0
  142. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnSubmit.swift +24 -0
  143. package/apple/Sources/ReactNativeWatchOS/Modifiers/OnTapGesture.swift +16 -0
  144. package/apple/Sources/ReactNativeWatchOS/Modifiers/Opacity.swift +11 -0
  145. package/apple/Sources/ReactNativeWatchOS/Modifiers/Overlay.swift +15 -0
  146. package/apple/Sources/ReactNativeWatchOS/Modifiers/Padding.swift +30 -0
  147. package/apple/Sources/ReactNativeWatchOS/Modifiers/PickerStyle.swift +21 -0
  148. package/apple/Sources/ReactNativeWatchOS/Modifiers/Position.swift +15 -0
  149. package/apple/Sources/ReactNativeWatchOS/Modifiers/PreferredColorScheme.swift +15 -0
  150. package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationBackground.swift +23 -0
  151. package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCompactAdaptation.swift +20 -0
  152. package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCornerRadius.swift +19 -0
  153. package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDetents.swift +19 -0
  154. package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDragIndicator.swift +17 -0
  155. package/apple/Sources/ReactNativeWatchOS/Modifiers/PrivacySensitive.swift +13 -0
  156. package/apple/Sources/ReactNativeWatchOS/Modifiers/ProgressViewStyle.swift +19 -0
  157. package/apple/Sources/ReactNativeWatchOS/Modifiers/ProjectionEffect.swift +17 -0
  158. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWAccessibilityModifiers.swift +23 -0
  159. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWComponentStylesModifiers.swift +23 -0
  160. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWContainerGridModifiers.swift +19 -0
  161. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWControlsPolishModifiers.swift +20 -0
  162. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWEnvironmentModifiers.swift +15 -0
  163. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWFiltersModifiers.swift +28 -0
  164. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGeometryModifiers.swift +16 -0
  165. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGesturesModifiers.swift +17 -0
  166. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGlassModifiers.swift +17 -0
  167. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageScaleModifier.swift +18 -0
  168. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageSymbolModifiers.swift +15 -0
  169. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInputModifiers.swift +16 -0
  170. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInteractionModifiers.swift +23 -0
  171. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWLayoutModifiers.swift +20 -0
  172. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWListsModifiers.swift +19 -0
  173. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWNavigationModifiers.swift +19 -0
  174. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWPresentationModifiers.swift +17 -0
  175. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWScrollModifiers.swift +24 -0
  176. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSearchModifiers.swift +15 -0
  177. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWStylingModifiers.swift +25 -0
  178. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolEffectModifier.swift +46 -0
  179. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolRenderingModeModifier.swift +19 -0
  180. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolVariantModifier.swift +21 -0
  181. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextModifiers.swift +25 -0
  182. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextPolishModifiers.swift +16 -0
  183. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWThemeModifiers.swift +18 -0
  184. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWToolbarModifiers.swift +24 -0
  185. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTransformsModifiers.swift +16 -0
  186. package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWWatchModifiers.swift +15 -0
  187. package/apple/Sources/ReactNativeWatchOS/Modifiers/Redacted.swift +13 -0
  188. package/apple/Sources/ReactNativeWatchOS/Modifiers/Refreshable.swift +18 -0
  189. package/apple/Sources/ReactNativeWatchOS/Modifiers/RenderingMode.swift +17 -0
  190. package/apple/Sources/ReactNativeWatchOS/Modifiers/Resizable.swift +13 -0
  191. package/apple/Sources/ReactNativeWatchOS/Modifiers/Rotation3DEffect.swift +30 -0
  192. package/apple/Sources/ReactNativeWatchOS/Modifiers/RotationEffect.swift +33 -0
  193. package/apple/Sources/ReactNativeWatchOS/Modifiers/SafeAreaInset.swift +49 -0
  194. package/apple/Sources/ReactNativeWatchOS/Modifiers/Saturation.swift +12 -0
  195. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScaleEffect.swift +17 -0
  196. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollBounceBehavior.swift +53 -0
  197. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollClipDisabled.swift +17 -0
  198. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollContentBackground.swift +15 -0
  199. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDisabled.swift +12 -0
  200. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDismissesKeyboard.swift +29 -0
  201. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollIndicators.swift +26 -0
  202. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollPosition.swift +67 -0
  203. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetBehavior.swift +26 -0
  204. package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetLayout.swift +18 -0
  205. package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchCompletion.swift +21 -0
  206. package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchPresentationToolbarBehavior.swift +19 -0
  207. package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchSuggestions.swift +22 -0
  208. package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchToolbarBehavior.swift +19 -0
  209. package/apple/Sources/ReactNativeWatchOS/Modifiers/Searchable.swift +26 -0
  210. package/apple/Sources/ReactNativeWatchOS/Modifiers/SelectionDisabled.swift +16 -0
  211. package/apple/Sources/ReactNativeWatchOS/Modifiers/SensoryFeedback.swift +74 -0
  212. package/apple/Sources/ReactNativeWatchOS/Modifiers/Shadow.swift +20 -0
  213. package/apple/Sources/ReactNativeWatchOS/Modifiers/Sheet.swift +64 -0
  214. package/apple/Sources/ReactNativeWatchOS/Modifiers/SimultaneousGesture.swift +12 -0
  215. package/apple/Sources/ReactNativeWatchOS/Modifiers/SpringLoadingBehavior.swift +20 -0
  216. package/apple/Sources/ReactNativeWatchOS/Modifiers/Strikethrough.swift +15 -0
  217. package/apple/Sources/ReactNativeWatchOS/Modifiers/SubmitLabel.swift +29 -0
  218. package/apple/Sources/ReactNativeWatchOS/Modifiers/SwipeActions.swift +19 -0
  219. package/apple/Sources/ReactNativeWatchOS/Modifiers/TabItem.swift +16 -0
  220. package/apple/Sources/ReactNativeWatchOS/Modifiers/TabViewStyle.swift +28 -0
  221. package/apple/Sources/ReactNativeWatchOS/Modifiers/Tag.swift +13 -0
  222. package/apple/Sources/ReactNativeWatchOS/Modifiers/Task.swift +15 -0
  223. package/apple/Sources/ReactNativeWatchOS/Modifiers/TextCase.swift +20 -0
  224. package/apple/Sources/ReactNativeWatchOS/Modifiers/TextContentType.swift +35 -0
  225. package/apple/Sources/ReactNativeWatchOS/Modifiers/TextFieldStyle.swift +14 -0
  226. package/apple/Sources/ReactNativeWatchOS/Modifiers/TextInputAutocapitalization.swift +25 -0
  227. package/apple/Sources/ReactNativeWatchOS/Modifiers/TextScale.swift +19 -0
  228. package/apple/Sources/ReactNativeWatchOS/Modifiers/Tint.swift +17 -0
  229. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToggleStyle.swift +19 -0
  230. package/apple/Sources/ReactNativeWatchOS/Modifiers/Toolbar.swift +22 -0
  231. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarBackground.swift +37 -0
  232. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarColorScheme.swift +25 -0
  233. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleDisplayMode.swift +22 -0
  234. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleMenu.swift +16 -0
  235. package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarVisibility.swift +18 -0
  236. package/apple/Sources/ReactNativeWatchOS/Modifiers/Tracking.swift +13 -0
  237. package/apple/Sources/ReactNativeWatchOS/Modifiers/TransformEffect.swift +28 -0
  238. package/apple/Sources/ReactNativeWatchOS/Modifiers/Transition.swift +33 -0
  239. package/apple/Sources/ReactNativeWatchOS/Modifiers/TruncationMode.swift +19 -0
  240. package/apple/Sources/ReactNativeWatchOS/Modifiers/Underline.swift +15 -0
  241. package/apple/Sources/ReactNativeWatchOS/Modifiers/Unredacted.swift +12 -0
  242. package/apple/Sources/ReactNativeWatchOS/Modifiers/ZIndex.swift +12 -0
  243. package/apple/Sources/ReactNativeWatchOS/RNWRootView.swift +141 -0
  244. package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOS.swift +290 -0
  245. package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOSView.swift +100 -0
  246. package/apple/Sources/ReactNativeWatchOS/Registry/ColorParser.swift +51 -0
  247. package/apple/Sources/ReactNativeWatchOS/Registry/ImageModifierRegistry.swift +31 -0
  248. package/apple/Sources/ReactNativeWatchOS/Registry/ModifierRegistry.swift +38 -0
  249. package/apple/Sources/ReactNativeWatchOS/Registry/ParamCoercion.swift +25 -0
  250. package/apple/Sources/ReactNativeWatchOS/Registry/ParsersShared.swift +166 -0
  251. package/apple/Sources/ReactNativeWatchOS/Registry/RNWModifierContext.swift +37 -0
  252. package/apple/Sources/ReactNativeWatchOS/Registry/RNWNodeRenderer.swift +56 -0
  253. package/apple/Sources/ReactNativeWatchOS/Registry/ShadowNodeSnapshot+Children.swift +11 -0
  254. package/apple/Sources/ReactNativeWatchOS/Registry/TextModifierRegistry.swift +30 -0
  255. package/apple/Sources/ReactNativeWatchOS/Registry/ViewRegistry.swift +30 -0
  256. package/apple/Sources/ReactNativeWatchOS/Views/AngularGradientView.swift +41 -0
  257. package/apple/Sources/ReactNativeWatchOS/Views/AsyncImageView.swift +168 -0
  258. package/apple/Sources/ReactNativeWatchOS/Views/ButtonView.swift +23 -0
  259. package/apple/Sources/ReactNativeWatchOS/Views/CapsuleView.swift +11 -0
  260. package/apple/Sources/ReactNativeWatchOS/Views/CircleView.swift +11 -0
  261. package/apple/Sources/ReactNativeWatchOS/Views/ColorView.swift +22 -0
  262. package/apple/Sources/ReactNativeWatchOS/Views/ContentUnavailableViewView.swift +87 -0
  263. package/apple/Sources/ReactNativeWatchOS/Views/DatePickerView.swift +90 -0
  264. package/apple/Sources/ReactNativeWatchOS/Views/DividerView.swift +11 -0
  265. package/apple/Sources/ReactNativeWatchOS/Views/EllipseView.swift +11 -0
  266. package/apple/Sources/ReactNativeWatchOS/Views/EmptyViewView.swift +11 -0
  267. package/apple/Sources/ReactNativeWatchOS/Views/FormView.swift +14 -0
  268. package/apple/Sources/ReactNativeWatchOS/Views/GaugeView.swift +35 -0
  269. package/apple/Sources/ReactNativeWatchOS/Views/GeometryReaderView.swift +14 -0
  270. package/apple/Sources/ReactNativeWatchOS/Views/GridRowView.swift +27 -0
  271. package/apple/Sources/ReactNativeWatchOS/Views/GridView.swift +37 -0
  272. package/apple/Sources/ReactNativeWatchOS/Views/GroupView.swift +15 -0
  273. package/apple/Sources/ReactNativeWatchOS/Views/HStackView.swift +27 -0
  274. package/apple/Sources/ReactNativeWatchOS/Views/ImageView.swift +31 -0
  275. package/apple/Sources/ReactNativeWatchOS/Views/LabelView.swift +18 -0
  276. package/apple/Sources/ReactNativeWatchOS/Views/LabeledContentView.swift +55 -0
  277. package/apple/Sources/ReactNativeWatchOS/Views/LazyHGridView.swift +33 -0
  278. package/apple/Sources/ReactNativeWatchOS/Views/LazyHStackView.swift +41 -0
  279. package/apple/Sources/ReactNativeWatchOS/Views/LazyVGridView.swift +97 -0
  280. package/apple/Sources/ReactNativeWatchOS/Views/LazyVStackView.swift +39 -0
  281. package/apple/Sources/ReactNativeWatchOS/Views/LinearGradientView.swift +44 -0
  282. package/apple/Sources/ReactNativeWatchOS/Views/LinkView.swift +20 -0
  283. package/apple/Sources/ReactNativeWatchOS/Views/ListView.swift +27 -0
  284. package/apple/Sources/ReactNativeWatchOS/Views/ModifierContentView.swift +16 -0
  285. package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkDestinationView.swift +14 -0
  286. package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkLabelView.swift +15 -0
  287. package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkView.swift +40 -0
  288. package/apple/Sources/ReactNativeWatchOS/Views/NavigationStackView.swift +15 -0
  289. package/apple/Sources/ReactNativeWatchOS/Views/PickerView.swift +69 -0
  290. package/apple/Sources/ReactNativeWatchOS/Views/ProgressViewView.swift +44 -0
  291. package/apple/Sources/ReactNativeWatchOS/Views/RadialGradientView.swift +22 -0
  292. package/apple/Sources/ReactNativeWatchOS/Views/RectangleView.swift +11 -0
  293. package/apple/Sources/ReactNativeWatchOS/Views/RoundedRectangleView.swift +15 -0
  294. package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewReaderView.swift +14 -0
  295. package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewView.swift +25 -0
  296. package/apple/Sources/ReactNativeWatchOS/Views/SectionFooterView.swift +15 -0
  297. package/apple/Sources/ReactNativeWatchOS/Views/SectionHeaderView.swift +15 -0
  298. package/apple/Sources/ReactNativeWatchOS/Views/SectionView.swift +45 -0
  299. package/apple/Sources/ReactNativeWatchOS/Views/SecureFieldView.swift +49 -0
  300. package/apple/Sources/ReactNativeWatchOS/Views/ShareLinkView.swift +27 -0
  301. package/apple/Sources/ReactNativeWatchOS/Views/SliderView.swift +60 -0
  302. package/apple/Sources/ReactNativeWatchOS/Views/SpacerView.swift +13 -0
  303. package/apple/Sources/ReactNativeWatchOS/Views/StepperView.swift +61 -0
  304. package/apple/Sources/ReactNativeWatchOS/Views/TabViewView.swift +88 -0
  305. package/apple/Sources/ReactNativeWatchOS/Views/TextFieldView.swift +50 -0
  306. package/apple/Sources/ReactNativeWatchOS/Views/TextView.swift +37 -0
  307. package/apple/Sources/ReactNativeWatchOS/Views/TimelineViewView.swift +42 -0
  308. package/apple/Sources/ReactNativeWatchOS/Views/ToggleView.swift +58 -0
  309. package/apple/Sources/ReactNativeWatchOS/Views/VStackView.swift +25 -0
  310. package/apple/Sources/ReactNativeWatchOS/Views/ViewThatFitsView.swift +20 -0
  311. package/apple/Sources/ReactNativeWatchOS/Views/ZStackView.swift +30 -0
  312. package/apple/Sources/ReactNativeWatchOSCxx/RNWCallInvoker.h +175 -0
  313. package/apple/Sources/ReactNativeWatchOSCxx/RNWHermesHost.mm +485 -0
  314. package/apple/Sources/ReactNativeWatchOSCxx/RNWRCTEventEmitter.mm +32 -0
  315. package/apple/Sources/ReactNativeWatchOSCxx/RNWShadowNode.mm +24 -0
  316. package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModule.mm +706 -0
  317. package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.mm +137 -0
  318. package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.h +19 -0
  319. package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.mm +383 -0
  320. package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.h +20 -0
  321. package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.mm +328 -0
  322. package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.h +22 -0
  323. package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.mm +597 -0
  324. package/apple/Sources/ReactNativeWatchOSCxx/include/RCTRequired/RCTRequired.h +13 -0
  325. package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTConvertHelpers.h +7 -0
  326. package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
  327. package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTBridgeModule.h +88 -0
  328. package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTCxxConvert.h +7 -0
  329. package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTEventEmitter.h +71 -0
  330. package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTManagedPointer.h +7 -0
  331. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactCommon/RCTTurboModule.h +187 -0
  332. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
  333. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
  334. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
  335. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
  336. package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/module.modulemap +25 -0
  337. package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.h +23 -0
  338. package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.mm +406 -0
  339. package/build/xcframework/Hermes.xcframework/Info.plist +43 -0
  340. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
  341. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/CompileJS.h +73 -0
  342. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/DebuggerAPI.h +505 -0
  343. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/Buffer.h +42 -0
  344. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CrashManager.h +107 -0
  345. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CtorConfig.h +148 -0
  346. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
  347. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCConfig.h +231 -0
  348. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
  349. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/HermesExport.h +14 -0
  350. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
  351. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
  352. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
  353. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
  354. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTrace.h +1527 -0
  355. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTraceParser.h +40 -0
  356. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
  357. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TimerStats.h +23 -0
  358. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TraceInterpreter.h +284 -0
  359. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TracingRuntime.h +315 -0
  360. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes.h +211 -0
  361. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes_tracing.h +55 -0
  362. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Info.plist +28 -0
  363. package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/hermes +0 -0
  364. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
  365. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/CompileJS.h +73 -0
  366. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/DebuggerAPI.h +505 -0
  367. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/Buffer.h +42 -0
  368. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CrashManager.h +107 -0
  369. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CtorConfig.h +148 -0
  370. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
  371. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCConfig.h +231 -0
  372. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
  373. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/HermesExport.h +14 -0
  374. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
  375. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
  376. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
  377. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
  378. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTrace.h +1527 -0
  379. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTraceParser.h +40 -0
  380. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
  381. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TimerStats.h +23 -0
  382. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TraceInterpreter.h +284 -0
  383. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TracingRuntime.h +315 -0
  384. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes.h +211 -0
  385. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes_tracing.h +55 -0
  386. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Info.plist +28 -0
  387. package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/hermes +0 -0
  388. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/Info.plist +47 -0
  389. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTRequired/RCTRequired.h +13 -0
  390. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
  391. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
  392. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallInvoker.h +64 -0
  393. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallbackWrapper.h +11 -0
  394. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
  395. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/LongLivedObject.h +11 -0
  396. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RCTTurboModule.h +187 -0
  397. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RuntimeExecutor.h +25 -0
  398. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/SchedulerPriority.h +20 -0
  399. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboCxxModule.h +49 -0
  400. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModule.h +162 -0
  401. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleBinding.h +59 -0
  402. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
  403. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleUtils.h +38 -0
  404. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
  405. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
  406. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
  407. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
  408. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
  409. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/decorator.h +1064 -0
  410. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/hermes-interfaces.h +189 -0
  411. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/instrumentation.h +132 -0
  412. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi-inl.h +405 -0
  413. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi.h +1937 -0
  414. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsilib.h +59 -0
  415. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/test/testlib.h +49 -0
  416. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/threadsafe.h +79 -0
  417. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/module.modulemap +25 -0
  418. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTBridgeModule.h +88 -0
  419. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTCxxConvert.h +7 -0
  420. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTEventEmitter.h +71 -0
  421. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTManagedPointer.h +7 -0
  422. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/AString.h +42 -0
  423. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Array.h +151 -0
  424. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Base.h +188 -0
  425. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bool.h +25 -0
  426. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bridging.h +22 -0
  427. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/CallbackWrapper.h +67 -0
  428. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Class.h +93 -0
  429. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Convert.h +170 -0
  430. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Dynamic.h +26 -0
  431. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Error.h +51 -0
  432. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/EventEmitter.h +134 -0
  433. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Function.h +283 -0
  434. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/HighResTimeStamp.h +41 -0
  435. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/LongLivedObject.h +61 -0
  436. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Number.h +58 -0
  437. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Object.h +93 -0
  438. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Promise.h +110 -0
  439. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Value.h +107 -0
  440. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/tests/BridgingTest.h +77 -0
  441. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/flags.h +22 -0
  442. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_assert.h +72 -0
  443. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_expect.h +43 -0
  444. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
  445. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
  446. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
  447. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
  448. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
  449. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
  450. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
  451. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
  452. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ContextContainer.h +110 -0
  453. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/FloatComparison.h +23 -0
  454. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ManagedObjectWrapper.h +80 -0
  455. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/OnScopeExit.h +36 -0
  456. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/PackTraits.h +29 -0
  457. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/RunLoopObserver.h +125 -0
  458. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SharedFunction.h +63 -0
  459. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
  460. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/Telemetry.h +113 -0
  461. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/TemplateStringLiteral.h +35 -0
  462. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/fnv1a.h +53 -0
  463. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/hash_combine.h +33 -0
  464. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/iequals.h +32 -0
  465. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/jsi-utils.h +31 -0
  466. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
  467. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
  468. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
  469. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
  470. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/toLower.h +22 -0
  471. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/to_underlying.h +22 -0
  472. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/libReactNativeWatchOSCxx.a +0 -0
  473. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTRequired/RCTRequired.h +13 -0
  474. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
  475. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
  476. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallInvoker.h +64 -0
  477. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
  478. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
  479. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
  480. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
  481. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
  482. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
  483. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
  484. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModule.h +162 -0
  485. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
  486. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
  487. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
  488. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
  489. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
  490. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
  491. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
  492. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
  493. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/decorator.h +1064 -0
  494. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/hermes-interfaces.h +189 -0
  495. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/instrumentation.h +132 -0
  496. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi-inl.h +405 -0
  497. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi.h +1937 -0
  498. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsilib.h +59 -0
  499. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/test/testlib.h +49 -0
  500. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/threadsafe.h +79 -0
  501. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/module.modulemap +25 -0
  502. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTBridgeModule.h +88 -0
  503. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTCxxConvert.h +7 -0
  504. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTEventEmitter.h +71 -0
  505. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTManagedPointer.h +7 -0
  506. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/AString.h +42 -0
  507. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Array.h +151 -0
  508. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Base.h +188 -0
  509. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bool.h +25 -0
  510. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bridging.h +22 -0
  511. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
  512. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Class.h +93 -0
  513. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Convert.h +170 -0
  514. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Dynamic.h +26 -0
  515. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Error.h +51 -0
  516. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/EventEmitter.h +134 -0
  517. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Function.h +283 -0
  518. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
  519. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/LongLivedObject.h +61 -0
  520. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Number.h +58 -0
  521. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Object.h +93 -0
  522. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Promise.h +110 -0
  523. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Value.h +107 -0
  524. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
  525. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/flags.h +22 -0
  526. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_assert.h +72 -0
  527. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_expect.h +43 -0
  528. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
  529. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
  530. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
  531. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
  532. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
  533. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
  534. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
  535. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
  536. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ContextContainer.h +110 -0
  537. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/FloatComparison.h +23 -0
  538. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
  539. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/OnScopeExit.h +36 -0
  540. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/PackTraits.h +29 -0
  541. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/RunLoopObserver.h +125 -0
  542. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SharedFunction.h +63 -0
  543. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
  544. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/Telemetry.h +113 -0
  545. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
  546. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/fnv1a.h +53 -0
  547. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/hash_combine.h +33 -0
  548. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/iequals.h +32 -0
  549. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/jsi-utils.h +31 -0
  550. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
  551. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
  552. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
  553. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
  554. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/toLower.h +22 -0
  555. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/to_underlying.h +22 -0
  556. package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/libReactNativeWatchOSCxx.a +0 -0
  557. package/build/xcframework/device/Headers/RCTRequired/RCTRequired.h +13 -0
  558. package/build/xcframework/device/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
  559. package/build/xcframework/device/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
  560. package/build/xcframework/device/Headers/ReactCommon/CallInvoker.h +64 -0
  561. package/build/xcframework/device/Headers/ReactCommon/CallbackWrapper.h +11 -0
  562. package/build/xcframework/device/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
  563. package/build/xcframework/device/Headers/ReactCommon/LongLivedObject.h +11 -0
  564. package/build/xcframework/device/Headers/ReactCommon/RCTTurboModule.h +187 -0
  565. package/build/xcframework/device/Headers/ReactCommon/RuntimeExecutor.h +25 -0
  566. package/build/xcframework/device/Headers/ReactCommon/SchedulerPriority.h +20 -0
  567. package/build/xcframework/device/Headers/ReactCommon/TurboCxxModule.h +49 -0
  568. package/build/xcframework/device/Headers/ReactCommon/TurboModule.h +162 -0
  569. package/build/xcframework/device/Headers/ReactCommon/TurboModuleBinding.h +59 -0
  570. package/build/xcframework/device/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
  571. package/build/xcframework/device/Headers/ReactCommon/TurboModuleUtils.h +38 -0
  572. package/build/xcframework/device/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
  573. package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
  574. package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
  575. package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
  576. package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
  577. package/build/xcframework/device/Headers/jsi/decorator.h +1064 -0
  578. package/build/xcframework/device/Headers/jsi/hermes-interfaces.h +189 -0
  579. package/build/xcframework/device/Headers/jsi/instrumentation.h +132 -0
  580. package/build/xcframework/device/Headers/jsi/jsi-inl.h +405 -0
  581. package/build/xcframework/device/Headers/jsi/jsi.h +1937 -0
  582. package/build/xcframework/device/Headers/jsi/jsilib.h +59 -0
  583. package/build/xcframework/device/Headers/jsi/test/testlib.h +49 -0
  584. package/build/xcframework/device/Headers/jsi/threadsafe.h +79 -0
  585. package/build/xcframework/device/Headers/module.modulemap +25 -0
  586. package/build/xcframework/device/Headers/react/RCTBridgeModule.h +88 -0
  587. package/build/xcframework/device/Headers/react/RCTCxxConvert.h +7 -0
  588. package/build/xcframework/device/Headers/react/RCTEventEmitter.h +71 -0
  589. package/build/xcframework/device/Headers/react/RCTManagedPointer.h +7 -0
  590. package/build/xcframework/device/Headers/react/bridging/AString.h +42 -0
  591. package/build/xcframework/device/Headers/react/bridging/Array.h +151 -0
  592. package/build/xcframework/device/Headers/react/bridging/Base.h +188 -0
  593. package/build/xcframework/device/Headers/react/bridging/Bool.h +25 -0
  594. package/build/xcframework/device/Headers/react/bridging/Bridging.h +22 -0
  595. package/build/xcframework/device/Headers/react/bridging/CallbackWrapper.h +67 -0
  596. package/build/xcframework/device/Headers/react/bridging/Class.h +93 -0
  597. package/build/xcframework/device/Headers/react/bridging/Convert.h +170 -0
  598. package/build/xcframework/device/Headers/react/bridging/Dynamic.h +26 -0
  599. package/build/xcframework/device/Headers/react/bridging/Error.h +51 -0
  600. package/build/xcframework/device/Headers/react/bridging/EventEmitter.h +134 -0
  601. package/build/xcframework/device/Headers/react/bridging/Function.h +283 -0
  602. package/build/xcframework/device/Headers/react/bridging/HighResTimeStamp.h +41 -0
  603. package/build/xcframework/device/Headers/react/bridging/LongLivedObject.h +61 -0
  604. package/build/xcframework/device/Headers/react/bridging/Number.h +58 -0
  605. package/build/xcframework/device/Headers/react/bridging/Object.h +93 -0
  606. package/build/xcframework/device/Headers/react/bridging/Promise.h +110 -0
  607. package/build/xcframework/device/Headers/react/bridging/Value.h +107 -0
  608. package/build/xcframework/device/Headers/react/bridging/tests/BridgingTest.h +77 -0
  609. package/build/xcframework/device/Headers/react/debug/flags.h +22 -0
  610. package/build/xcframework/device/Headers/react/debug/react_native_assert.h +72 -0
  611. package/build/xcframework/device/Headers/react/debug/react_native_expect.h +43 -0
  612. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
  613. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
  614. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
  615. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
  616. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
  617. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
  618. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
  619. package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
  620. package/build/xcframework/device/Headers/react/utils/ContextContainer.h +110 -0
  621. package/build/xcframework/device/Headers/react/utils/FloatComparison.h +23 -0
  622. package/build/xcframework/device/Headers/react/utils/ManagedObjectWrapper.h +80 -0
  623. package/build/xcframework/device/Headers/react/utils/OnScopeExit.h +36 -0
  624. package/build/xcframework/device/Headers/react/utils/PackTraits.h +29 -0
  625. package/build/xcframework/device/Headers/react/utils/RunLoopObserver.h +125 -0
  626. package/build/xcframework/device/Headers/react/utils/SharedFunction.h +63 -0
  627. package/build/xcframework/device/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
  628. package/build/xcframework/device/Headers/react/utils/Telemetry.h +113 -0
  629. package/build/xcframework/device/Headers/react/utils/TemplateStringLiteral.h +35 -0
  630. package/build/xcframework/device/Headers/react/utils/fnv1a.h +53 -0
  631. package/build/xcframework/device/Headers/react/utils/hash_combine.h +33 -0
  632. package/build/xcframework/device/Headers/react/utils/iequals.h +32 -0
  633. package/build/xcframework/device/Headers/react/utils/jsi-utils.h +31 -0
  634. package/build/xcframework/device/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
  635. package/build/xcframework/device/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
  636. package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
  637. package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
  638. package/build/xcframework/device/Headers/react/utils/toLower.h +22 -0
  639. package/build/xcframework/device/Headers/react/utils/to_underlying.h +22 -0
  640. package/build/xcframework/device/libReactNativeWatchOSCxx.a +0 -0
  641. package/build/xcframework/simulator/Headers/RCTRequired/RCTRequired.h +13 -0
  642. package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
  643. package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
  644. package/build/xcframework/simulator/Headers/ReactCommon/CallInvoker.h +64 -0
  645. package/build/xcframework/simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
  646. package/build/xcframework/simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
  647. package/build/xcframework/simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
  648. package/build/xcframework/simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
  649. package/build/xcframework/simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
  650. package/build/xcframework/simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
  651. package/build/xcframework/simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
  652. package/build/xcframework/simulator/Headers/ReactCommon/TurboModule.h +162 -0
  653. package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
  654. package/build/xcframework/simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
  655. package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
  656. package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
  657. package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
  658. package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
  659. package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
  660. package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
  661. package/build/xcframework/simulator/Headers/jsi/decorator.h +1064 -0
  662. package/build/xcframework/simulator/Headers/jsi/hermes-interfaces.h +189 -0
  663. package/build/xcframework/simulator/Headers/jsi/instrumentation.h +132 -0
  664. package/build/xcframework/simulator/Headers/jsi/jsi-inl.h +405 -0
  665. package/build/xcframework/simulator/Headers/jsi/jsi.h +1937 -0
  666. package/build/xcframework/simulator/Headers/jsi/jsilib.h +59 -0
  667. package/build/xcframework/simulator/Headers/jsi/test/testlib.h +49 -0
  668. package/build/xcframework/simulator/Headers/jsi/threadsafe.h +79 -0
  669. package/build/xcframework/simulator/Headers/module.modulemap +25 -0
  670. package/build/xcframework/simulator/Headers/react/RCTBridgeModule.h +88 -0
  671. package/build/xcframework/simulator/Headers/react/RCTCxxConvert.h +7 -0
  672. package/build/xcframework/simulator/Headers/react/RCTEventEmitter.h +71 -0
  673. package/build/xcframework/simulator/Headers/react/RCTManagedPointer.h +7 -0
  674. package/build/xcframework/simulator/Headers/react/bridging/AString.h +42 -0
  675. package/build/xcframework/simulator/Headers/react/bridging/Array.h +151 -0
  676. package/build/xcframework/simulator/Headers/react/bridging/Base.h +188 -0
  677. package/build/xcframework/simulator/Headers/react/bridging/Bool.h +25 -0
  678. package/build/xcframework/simulator/Headers/react/bridging/Bridging.h +22 -0
  679. package/build/xcframework/simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
  680. package/build/xcframework/simulator/Headers/react/bridging/Class.h +93 -0
  681. package/build/xcframework/simulator/Headers/react/bridging/Convert.h +170 -0
  682. package/build/xcframework/simulator/Headers/react/bridging/Dynamic.h +26 -0
  683. package/build/xcframework/simulator/Headers/react/bridging/Error.h +51 -0
  684. package/build/xcframework/simulator/Headers/react/bridging/EventEmitter.h +134 -0
  685. package/build/xcframework/simulator/Headers/react/bridging/Function.h +283 -0
  686. package/build/xcframework/simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
  687. package/build/xcframework/simulator/Headers/react/bridging/LongLivedObject.h +61 -0
  688. package/build/xcframework/simulator/Headers/react/bridging/Number.h +58 -0
  689. package/build/xcframework/simulator/Headers/react/bridging/Object.h +93 -0
  690. package/build/xcframework/simulator/Headers/react/bridging/Promise.h +110 -0
  691. package/build/xcframework/simulator/Headers/react/bridging/Value.h +107 -0
  692. package/build/xcframework/simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
  693. package/build/xcframework/simulator/Headers/react/debug/flags.h +22 -0
  694. package/build/xcframework/simulator/Headers/react/debug/react_native_assert.h +72 -0
  695. package/build/xcframework/simulator/Headers/react/debug/react_native_expect.h +43 -0
  696. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
  697. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
  698. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
  699. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
  700. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
  701. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
  702. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
  703. package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
  704. package/build/xcframework/simulator/Headers/react/utils/ContextContainer.h +110 -0
  705. package/build/xcframework/simulator/Headers/react/utils/FloatComparison.h +23 -0
  706. package/build/xcframework/simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
  707. package/build/xcframework/simulator/Headers/react/utils/OnScopeExit.h +36 -0
  708. package/build/xcframework/simulator/Headers/react/utils/PackTraits.h +29 -0
  709. package/build/xcframework/simulator/Headers/react/utils/RunLoopObserver.h +125 -0
  710. package/build/xcframework/simulator/Headers/react/utils/SharedFunction.h +63 -0
  711. package/build/xcframework/simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
  712. package/build/xcframework/simulator/Headers/react/utils/Telemetry.h +113 -0
  713. package/build/xcframework/simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
  714. package/build/xcframework/simulator/Headers/react/utils/fnv1a.h +53 -0
  715. package/build/xcframework/simulator/Headers/react/utils/hash_combine.h +33 -0
  716. package/build/xcframework/simulator/Headers/react/utils/iequals.h +32 -0
  717. package/build/xcframework/simulator/Headers/react/utils/jsi-utils.h +31 -0
  718. package/build/xcframework/simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
  719. package/build/xcframework/simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
  720. package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
  721. package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
  722. package/build/xcframework/simulator/Headers/react/utils/toLower.h +22 -0
  723. package/build/xcframework/simulator/Headers/react/utils/to_underlying.h +22 -0
  724. package/build/xcframework/simulator/libReactNativeWatchOSCxx.a +0 -0
  725. package/cli/init.js +155 -0
  726. package/cocoapods/autolink.rb +76 -0
  727. package/metro-config.d.ts +23 -0
  728. package/metro-config.js +1 -0
  729. package/package.json +131 -0
  730. package/plugin/README.md +113 -0
  731. package/plugin/src/index.js +69 -0
  732. package/plugin/src/withSPMPackage.js +287 -0
  733. package/plugin/src/withWatchAutolinking.js +106 -0
  734. package/plugin/src/withWatchBundleScript.js +216 -0
  735. package/plugin/src/withWatchTurboModuleCodegen.js +469 -0
  736. package/plugin/src/withWatchosMetro.js +163 -0
  737. package/plugin/templates/ContentView.swift +29 -0
  738. package/plugin/templates/index.watchos.tsx +16 -0
  739. package/react-native.config.js +21 -0
  740. package/src/components/AngularGradient.tsx +15 -0
  741. package/src/components/AsyncImage.tsx +82 -0
  742. package/src/components/Button.tsx +25 -0
  743. package/src/components/Capsule.tsx +3 -0
  744. package/src/components/Circle.tsx +3 -0
  745. package/src/components/Color.tsx +57 -0
  746. package/src/components/ContentUnavailableView.tsx +47 -0
  747. package/src/components/DatePicker.tsx +40 -0
  748. package/src/components/Divider.tsx +3 -0
  749. package/src/components/Ellipse.tsx +3 -0
  750. package/src/components/EmptyView.tsx +3 -0
  751. package/src/components/Form.tsx +8 -0
  752. package/src/components/Gauge.tsx +21 -0
  753. package/src/components/GeometryReader.tsx +3 -0
  754. package/src/components/Grid.tsx +21 -0
  755. package/src/components/GridRow.tsx +9 -0
  756. package/src/components/Group.tsx +5 -0
  757. package/src/components/HStack.tsx +15 -0
  758. package/src/components/Image.tsx +10 -0
  759. package/src/components/Label.tsx +13 -0
  760. package/src/components/LabeledContent.tsx +39 -0
  761. package/src/components/LazyHGrid.tsx +16 -0
  762. package/src/components/LazyHStack.tsx +17 -0
  763. package/src/components/LazyVGrid.tsx +16 -0
  764. package/src/components/LazyVStack.tsx +12 -0
  765. package/src/components/LinearGradient.tsx +23 -0
  766. package/src/components/Link.tsx +8 -0
  767. package/src/components/List.tsx +14 -0
  768. package/src/components/NavigationLink.tsx +48 -0
  769. package/src/components/NavigationStack.tsx +9 -0
  770. package/src/components/Picker.tsx +39 -0
  771. package/src/components/ProgressView.tsx +19 -0
  772. package/src/components/RadialGradient.tsx +12 -0
  773. package/src/components/Rectangle.tsx +3 -0
  774. package/src/components/RoundedRectangle.tsx +11 -0
  775. package/src/components/ScrollView.tsx +10 -0
  776. package/src/components/ScrollViewReader.tsx +3 -0
  777. package/src/components/Section.tsx +37 -0
  778. package/src/components/SecureField.tsx +30 -0
  779. package/src/components/ShareLink.tsx +18 -0
  780. package/src/components/Slider.tsx +32 -0
  781. package/src/components/Spacer.tsx +8 -0
  782. package/src/components/Stepper.tsx +35 -0
  783. package/src/components/TabView.tsx +39 -0
  784. package/src/components/Text.tsx +16 -0
  785. package/src/components/TextField.tsx +30 -0
  786. package/src/components/TimelineView.tsx +13 -0
  787. package/src/components/Toggle.tsx +26 -0
  788. package/src/components/VStack.tsx +10 -0
  789. package/src/components/ViewThatFits.tsx +7 -0
  790. package/src/components/ZStack.tsx +18 -0
  791. package/src/createHostConfig.ts +223 -0
  792. package/src/createNativeView.ts +28 -0
  793. package/src/devSupport/index.ts +287 -0
  794. package/src/eventRegistry.ts +110 -0
  795. package/src/index.ts +160 -0
  796. package/src/modifiers/accessibility.ts +27 -0
  797. package/src/modifiers/accessibilityAction.ts +22 -0
  798. package/src/modifiers/accessibilityActions.ts +15 -0
  799. package/src/modifiers/accessibilityAddTraits.ts +23 -0
  800. package/src/modifiers/accessibilityElement.ts +16 -0
  801. package/src/modifiers/accessibilityHidden.ts +7 -0
  802. package/src/modifiers/accessibilityHint.ts +7 -0
  803. package/src/modifiers/accessibilityIdentifier.ts +7 -0
  804. package/src/modifiers/accessibilityLabel.ts +7 -0
  805. package/src/modifiers/accessibilityRemoveTraits.ts +11 -0
  806. package/src/modifiers/accessibilityValue.ts +7 -0
  807. package/src/modifiers/alert.ts +32 -0
  808. package/src/modifiers/alignmentGuide.ts +33 -0
  809. package/src/modifiers/allowsHitTesting.ts +8 -0
  810. package/src/modifiers/allowsTightening.ts +8 -0
  811. package/src/modifiers/animation.ts +38 -0
  812. package/src/modifiers/antialiased.ts +7 -0
  813. package/src/modifiers/aspectRatio.ts +19 -0
  814. package/src/modifiers/autocorrectionDisabled.ts +26 -0
  815. package/src/modifiers/background.ts +37 -0
  816. package/src/modifiers/backgroundExtensionEffect.ts +9 -0
  817. package/src/modifiers/backgroundStyle.ts +10 -0
  818. package/src/modifiers/baselineOffset.ts +8 -0
  819. package/src/modifiers/blendMode.ts +29 -0
  820. package/src/modifiers/blur.ts +17 -0
  821. package/src/modifiers/bold.ts +15 -0
  822. package/src/modifiers/border.ts +21 -0
  823. package/src/modifiers/brightness.ts +7 -0
  824. package/src/modifiers/buttonBorderShape.ts +16 -0
  825. package/src/modifiers/buttonRepeatBehavior.ts +15 -0
  826. package/src/modifiers/buttonSizing.ts +17 -0
  827. package/src/modifiers/buttonStyle.ts +14 -0
  828. package/src/modifiers/clipShape.ts +24 -0
  829. package/src/modifiers/clipped.ts +7 -0
  830. package/src/modifiers/colorInvert.ts +6 -0
  831. package/src/modifiers/colorMultiply.ts +9 -0
  832. package/src/modifiers/colorScheme.ts +10 -0
  833. package/src/modifiers/componentStyles.ts +19 -0
  834. package/src/modifiers/compositingGroup.ts +8 -0
  835. package/src/modifiers/confirmationDialog.ts +38 -0
  836. package/src/modifiers/containerBackground.ts +39 -0
  837. package/src/modifiers/containerGrid.ts +40 -0
  838. package/src/modifiers/containerRelativeFrame.ts +32 -0
  839. package/src/modifiers/containerShape.ts +35 -0
  840. package/src/modifiers/containerValue.ts +22 -0
  841. package/src/modifiers/contentMargins.ts +36 -0
  842. package/src/modifiers/contentShape.ts +27 -0
  843. package/src/modifiers/contextMenu.ts +26 -0
  844. package/src/modifiers/contrast.ts +8 -0
  845. package/src/modifiers/controlSize.ts +15 -0
  846. package/src/modifiers/controlsPolish.ts +23 -0
  847. package/src/modifiers/coordinateSpace.ts +21 -0
  848. package/src/modifiers/cornerRadius.ts +16 -0
  849. package/src/modifiers/createModifier.ts +13 -0
  850. package/src/modifiers/datePickerStyle.ts +10 -0
  851. package/src/modifiers/defaultAppStorage.ts +22 -0
  852. package/src/modifiers/defaultScrollAnchor.ts +26 -0
  853. package/src/modifiers/deleteDisabled.ts +7 -0
  854. package/src/modifiers/digitalCrownAccessory.ts +27 -0
  855. package/src/modifiers/digitalCrownRotation.ts +29 -0
  856. package/src/modifiers/disabled.ts +20 -0
  857. package/src/modifiers/drawingGroup.ts +14 -0
  858. package/src/modifiers/dynamicTypeSize.ts +24 -0
  859. package/src/modifiers/environment.modifier.ts +38 -0
  860. package/src/modifiers/environment.ts +17 -0
  861. package/src/modifiers/environmentObject.ts +21 -0
  862. package/src/modifiers/filters.ts +19 -0
  863. package/src/modifiers/fixedSize.ts +17 -0
  864. package/src/modifiers/focusable.ts +20 -0
  865. package/src/modifiers/focused.ts +17 -0
  866. package/src/modifiers/font.ts +48 -0
  867. package/src/modifiers/fontDesign.ts +18 -0
  868. package/src/modifiers/fontWeight.ts +15 -0
  869. package/src/modifiers/foregroundColor.ts +9 -0
  870. package/src/modifiers/foregroundStyle.ts +11 -0
  871. package/src/modifiers/formStyle.ts +10 -0
  872. package/src/modifiers/frame.ts +34 -0
  873. package/src/modifiers/fullScreenCover.ts +29 -0
  874. package/src/modifiers/gaugeStyle.ts +17 -0
  875. package/src/modifiers/geometry.ts +17 -0
  876. package/src/modifiers/geometryGroup.ts +8 -0
  877. package/src/modifiers/gesture.ts +30 -0
  878. package/src/modifiers/gestures.ts +14 -0
  879. package/src/modifiers/glass.ts +25 -0
  880. package/src/modifiers/glassEffect.ts +26 -0
  881. package/src/modifiers/glassEffectID.ts +19 -0
  882. package/src/modifiers/glassEffectTransition.ts +24 -0
  883. package/src/modifiers/glassEffectUnion.ts +19 -0
  884. package/src/modifiers/grayscale.ts +7 -0
  885. package/src/modifiers/gridCellAnchor.ts +36 -0
  886. package/src/modifiers/gridCellColumns.ts +21 -0
  887. package/src/modifiers/gridCellUnsizedAxes.ts +27 -0
  888. package/src/modifiers/gridColumnAlignment.ts +27 -0
  889. package/src/modifiers/handGestureShortcut.ts +30 -0
  890. package/src/modifiers/headerProminence.ts +11 -0
  891. package/src/modifiers/help.ts +17 -0
  892. package/src/modifiers/hidden.ts +22 -0
  893. package/src/modifiers/highPriorityGesture.ts +12 -0
  894. package/src/modifiers/hueRotation.ts +19 -0
  895. package/src/modifiers/id.ts +8 -0
  896. package/src/modifiers/ignoresSafeArea.ts +23 -0
  897. package/src/modifiers/imageScale.ts +9 -0
  898. package/src/modifiers/imageSymbol.ts +8 -0
  899. package/src/modifiers/input.ts +22 -0
  900. package/src/modifiers/interaction.ts +27 -0
  901. package/src/modifiers/interactiveDismissDisabled.ts +9 -0
  902. package/src/modifiers/interpolation.ts +10 -0
  903. package/src/modifiers/italic.ts +15 -0
  904. package/src/modifiers/kerning.ts +9 -0
  905. package/src/modifiers/labelIconToTitleSpacing.ts +13 -0
  906. package/src/modifiers/labelReservedIconWidth.ts +13 -0
  907. package/src/modifiers/labelStyle.ts +13 -0
  908. package/src/modifiers/labeledContentStyle.ts +10 -0
  909. package/src/modifiers/labelsHidden.ts +7 -0
  910. package/src/modifiers/labelsVisibility.ts +17 -0
  911. package/src/modifiers/layout.ts +23 -0
  912. package/src/modifiers/layoutPriority.ts +22 -0
  913. package/src/modifiers/lineLimit.ts +15 -0
  914. package/src/modifiers/lineSpacing.ts +15 -0
  915. package/src/modifiers/listItemTint.ts +9 -0
  916. package/src/modifiers/listRowBackground.ts +15 -0
  917. package/src/modifiers/listRowInsets.ts +15 -0
  918. package/src/modifiers/listSectionSpacing.ts +26 -0
  919. package/src/modifiers/listStyle.ts +11 -0
  920. package/src/modifiers/lists.ts +16 -0
  921. package/src/modifiers/luminanceToAlpha.ts +7 -0
  922. package/src/modifiers/mask.ts +30 -0
  923. package/src/modifiers/matchedGeometryEffect.ts +28 -0
  924. package/src/modifiers/matchedTransitionSource.ts +21 -0
  925. package/src/modifiers/materialActiveAppearance.ts +19 -0
  926. package/src/modifiers/menuActionDismissBehavior.ts +18 -0
  927. package/src/modifiers/menuOrder.ts +12 -0
  928. package/src/modifiers/minimumScaleFactor.ts +17 -0
  929. package/src/modifiers/monospaced.ts +15 -0
  930. package/src/modifiers/monospacedDigit.ts +8 -0
  931. package/src/modifiers/moveDisabled.ts +7 -0
  932. package/src/modifiers/multilineTextAlignment.ts +19 -0
  933. package/src/modifiers/navigation.ts +17 -0
  934. package/src/modifiers/navigationBarBackButtonHidden.ts +8 -0
  935. package/src/modifiers/navigationDestination.ts +26 -0
  936. package/src/modifiers/navigationTitle.ts +8 -0
  937. package/src/modifiers/navigationTransition.ts +28 -0
  938. package/src/modifiers/offset.ts +22 -0
  939. package/src/modifiers/onAppear.ts +10 -0
  940. package/src/modifiers/onChange.ts +15 -0
  941. package/src/modifiers/onDisappear.ts +10 -0
  942. package/src/modifiers/onGeometryChange.ts +21 -0
  943. package/src/modifiers/onLongPressGesture.ts +30 -0
  944. package/src/modifiers/onOpenURL.ts +12 -0
  945. package/src/modifiers/onReceive.ts +34 -0
  946. package/src/modifiers/onSubmit.ts +25 -0
  947. package/src/modifiers/onTapGesture.ts +27 -0
  948. package/src/modifiers/opacity.ts +14 -0
  949. package/src/modifiers/overlay.ts +29 -0
  950. package/src/modifiers/padding.ts +24 -0
  951. package/src/modifiers/pickerStyle.ts +9 -0
  952. package/src/modifiers/position.ts +24 -0
  953. package/src/modifiers/preferredColorScheme.ts +9 -0
  954. package/src/modifiers/presentation.ts +21 -0
  955. package/src/modifiers/presentationBackground.ts +35 -0
  956. package/src/modifiers/presentationCompactAdaptation.ts +24 -0
  957. package/src/modifiers/presentationCornerRadius.ts +13 -0
  958. package/src/modifiers/presentationDetents.ts +37 -0
  959. package/src/modifiers/presentationDragIndicator.ts +14 -0
  960. package/src/modifiers/privacySensitive.ts +8 -0
  961. package/src/modifiers/progressViewStyle.ts +10 -0
  962. package/src/modifiers/projectionEffect.ts +13 -0
  963. package/src/modifiers/redacted.ts +12 -0
  964. package/src/modifiers/refreshable.ts +10 -0
  965. package/src/modifiers/renderingMode.ts +11 -0
  966. package/src/modifiers/resizable.ts +9 -0
  967. package/src/modifiers/rotation3DEffect.ts +22 -0
  968. package/src/modifiers/rotationEffect.ts +39 -0
  969. package/src/modifiers/safeAreaInset.ts +24 -0
  970. package/src/modifiers/saturation.ts +7 -0
  971. package/src/modifiers/scaleEffect.ts +33 -0
  972. package/src/modifiers/scaledTo.ts +15 -0
  973. package/src/modifiers/scroll.ts +45 -0
  974. package/src/modifiers/scrollBounceBehavior.ts +32 -0
  975. package/src/modifiers/scrollClipDisabled.ts +8 -0
  976. package/src/modifiers/scrollContentBackground.ts +29 -0
  977. package/src/modifiers/scrollDisabled.ts +7 -0
  978. package/src/modifiers/scrollDismissesKeyboard.ts +30 -0
  979. package/src/modifiers/scrollIndicators.ts +30 -0
  980. package/src/modifiers/scrollPosition.ts +19 -0
  981. package/src/modifiers/scrollTargetBehavior.ts +27 -0
  982. package/src/modifiers/scrollTargetLayout.ts +9 -0
  983. package/src/modifiers/search.ts +21 -0
  984. package/src/modifiers/searchCompletion.ts +30 -0
  985. package/src/modifiers/searchPresentationToolbarBehavior.ts +31 -0
  986. package/src/modifiers/searchSuggestions.ts +21 -0
  987. package/src/modifiers/searchToolbarBehavior.ts +27 -0
  988. package/src/modifiers/searchable.ts +25 -0
  989. package/src/modifiers/selectionDisabled.ts +7 -0
  990. package/src/modifiers/sensoryFeedback.ts +32 -0
  991. package/src/modifiers/shadow.ts +18 -0
  992. package/src/modifiers/sheet.ts +22 -0
  993. package/src/modifiers/simultaneousGesture.ts +15 -0
  994. package/src/modifiers/springLoadingBehavior.ts +13 -0
  995. package/src/modifiers/strikethrough.ts +19 -0
  996. package/src/modifiers/styling.ts +22 -0
  997. package/src/modifiers/submitLabel.ts +32 -0
  998. package/src/modifiers/swipeActions.ts +36 -0
  999. package/src/modifiers/symbolEffect.ts +20 -0
  1000. package/src/modifiers/symbolRenderingMode.ts +13 -0
  1001. package/src/modifiers/symbolVariant.ts +15 -0
  1002. package/src/modifiers/tabItem.ts +19 -0
  1003. package/src/modifiers/tabViewStyle.ts +14 -0
  1004. package/src/modifiers/tag.ts +7 -0
  1005. package/src/modifiers/task.ts +12 -0
  1006. package/src/modifiers/text.ts +31 -0
  1007. package/src/modifiers/textCase.ts +19 -0
  1008. package/src/modifiers/textContentType.ts +36 -0
  1009. package/src/modifiers/textFieldStyle.ts +10 -0
  1010. package/src/modifiers/textInputAutocapitalization.ts +30 -0
  1011. package/src/modifiers/textPolish.ts +7 -0
  1012. package/src/modifiers/textScale.ts +14 -0
  1013. package/src/modifiers/theme.ts +8 -0
  1014. package/src/modifiers/tint.ts +9 -0
  1015. package/src/modifiers/toggleStyle.ts +9 -0
  1016. package/src/modifiers/toolbar.ts +27 -0
  1017. package/src/modifiers/toolbarBackground.ts +34 -0
  1018. package/src/modifiers/toolbarColorScheme.ts +32 -0
  1019. package/src/modifiers/toolbarItems.ts +23 -0
  1020. package/src/modifiers/toolbarTitleDisplayMode.ts +26 -0
  1021. package/src/modifiers/toolbarTitleMenu.ts +21 -0
  1022. package/src/modifiers/toolbarVisibility.ts +31 -0
  1023. package/src/modifiers/tracking.ts +9 -0
  1024. package/src/modifiers/transformEffect.ts +31 -0
  1025. package/src/modifiers/transforms.ts +17 -0
  1026. package/src/modifiers/transition.ts +35 -0
  1027. package/src/modifiers/truncationMode.ts +18 -0
  1028. package/src/modifiers/underline.ts +18 -0
  1029. package/src/modifiers/unredacted.ts +7 -0
  1030. package/src/modifiers/watch.ts +21 -0
  1031. package/src/modifiers/zIndex.ts +20 -0
  1032. package/src/polyfills.ts +206 -0
  1033. package/src/reactNativeShim.ts +113 -0
  1034. package/src/render.ts +78 -0
  1035. package/src/setupConsole.ts +78 -0
  1036. package/src/setupSelfGlobal.ts +12 -0
  1037. package/src/types/GridItem.ts +39 -0
  1038. package/src/types.ts +24 -0
  1039. package/src/useEventHandler.ts +31 -0
  1040. package/src/useModifiers.ts +126 -0
  1041. package/src/watchConnectivity/eventBridge.ts +32 -0
  1042. package/src/watchConnectivity/index.ts +195 -0
  1043. package/src/watchConnectivity/specs/NativeWatchConnectivity.ts +56 -0
  1044. package/src/watchConnectivity/types.ts +64 -0
  1045. package/src/whatwg-fetch.d.ts +5 -0
@@ -0,0 +1,137 @@
1
+ #import "ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h"
2
+ #import "ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h"
3
+ #import <ReactCommon/RCTTurboModule.h>
4
+ #import <React/RCTBridgeModule.h>
5
+
6
+ #include <ReactCommon/CallInvoker.h>
7
+ #include <ReactCommon/TurboModule.h>
8
+
9
+ #include <memory>
10
+ #include <string>
11
+ #include <unordered_map>
12
+
13
+ @implementation RNWTurboModuleRegistry {
14
+ std::unordered_map<std::string, RNWTurboModuleCxxFactory> _cxxFactories;
15
+ // Cached so one module name → one instance per host lifetime
16
+ // (TurboModuleBinding caches the JS side but not the C++ side).
17
+ std::unordered_map<std::string,
18
+ std::shared_ptr<facebook::react::TurboModule>>
19
+ _instances;
20
+ NSMutableDictionary<NSString *, id _Nonnull (^)(void)> *_objcFactories;
21
+ }
22
+
23
+ + (instancetype)shared {
24
+ static RNWTurboModuleRegistry *instance;
25
+ static dispatch_once_t onceToken;
26
+ dispatch_once(&onceToken, ^{
27
+ instance = [[self alloc] init];
28
+ });
29
+ return instance;
30
+ }
31
+
32
+ - (instancetype)init {
33
+ if ((self = [super init])) {
34
+ _objcFactories = [NSMutableDictionary dictionary];
35
+ }
36
+ return self;
37
+ }
38
+
39
+ #pragma mark - ObjC registration
40
+
41
+ - (void)registerModuleName:(NSString *)name
42
+ factory:(id _Nonnull (^)(void))factory {
43
+ if (name == nil || factory == nil) {
44
+ return;
45
+ }
46
+ _objcFactories[name] = [factory copy];
47
+ }
48
+
49
+ #pragma mark - C++ registration
50
+
51
+ - (void)registerCxxModuleNamed:(NSString *)name
52
+ factory:(RNWTurboModuleCxxFactory)factory {
53
+ if (name == nil || !factory) {
54
+ return;
55
+ }
56
+ _cxxFactories[std::string([name UTF8String])] = std::move(factory);
57
+ }
58
+
59
+ #pragma mark - Lookup
60
+
61
+ - (std::shared_ptr<facebook::react::TurboModule>)
62
+ lookupModuleNamed:(NSString *)name
63
+ jsInvoker:(std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
64
+ nativeInvoker:(std::shared_ptr<facebook::react::NativeMethodCallInvoker>)nativeInvoker {
65
+ if (name == nil) {
66
+ return nullptr;
67
+ }
68
+ std::string key([name UTF8String]);
69
+
70
+ auto cached = _instances.find(key);
71
+ if (cached != _instances.end()) {
72
+ return cached->second;
73
+ }
74
+
75
+ // C++ factories take precedence.
76
+ auto cxxFactory = _cxxFactories.find(key);
77
+ if (cxxFactory != _cxxFactories.end()) {
78
+ auto instance = cxxFactory->second(jsInvoker);
79
+ if (instance) {
80
+ _instances[key] = instance;
81
+ }
82
+ return instance;
83
+ }
84
+
85
+ id _Nonnull (^objcFactory)(void) = _objcFactories[name];
86
+ if (objcFactory == nil) {
87
+ return nullptr;
88
+ }
89
+ id instance = objcFactory();
90
+ if (instance == nil) {
91
+ return nullptr;
92
+ }
93
+ if (![instance conformsToProtocol:@protocol(RCTModuleProvider)]) {
94
+ NSLog(@"[RNWTurboModuleRegistry] factory for '%@' returned an instance "
95
+ @"that does not conform to <RCTModuleProvider> — cannot build "
96
+ @"a TurboModule wrapper.", name);
97
+ return nullptr;
98
+ }
99
+ facebook::react::ObjCTurboModule::InitParams params = {
100
+ .moduleName = key,
101
+ .instance = (id<RCTBridgeModule>)instance,
102
+ .jsInvoker = std::move(jsInvoker),
103
+ .nativeMethodCallInvoker = std::move(nativeInvoker),
104
+ .isSyncModule = false,
105
+ .shouldVoidMethodsExecuteSync = false,
106
+ };
107
+ auto module = [(id<RCTModuleProvider>)instance getTurboModule:params];
108
+ if (module) {
109
+ _instances[key] = module;
110
+ }
111
+ return module;
112
+ }
113
+
114
+ @end
115
+
116
+ #pragma mark - C entrypoints for RCT_EXPORT_MODULE / RNW_EXPORT_CXX_MODULE
117
+
118
+ // Invoked from `+load` synthesized by `RCT_EXPORT_MODULE`.
119
+ extern "C" void RNWRegisterTurboModuleClass(NSString *name, Class moduleClass) {
120
+ if (name == nil || moduleClass == Nil) {
121
+ return;
122
+ }
123
+ [RNWTurboModuleRegistry.shared registerModuleName:name
124
+ factory:^id {
125
+ return [[moduleClass alloc] init];
126
+ }];
127
+ }
128
+
129
+ // Invoked from `+load` synthesized by `RNW_EXPORT_CXX_MODULE`.
130
+ extern "C" void RNWRegisterCxxTurboModule(NSString *name,
131
+ RNWTurboModuleCxxFactory factory) {
132
+ if (name == nil || !factory) {
133
+ return;
134
+ }
135
+ [RNWTurboModuleRegistry.shared registerCxxModuleNamed:name
136
+ factory:std::move(factory)];
137
+ }
@@ -0,0 +1,19 @@
1
+ #import <Foundation/Foundation.h>
2
+ #import "ReactNativeWatchOSCxx/RNWShadowNode.h"
3
+
4
+ #import <ReactCommon/CallInvoker.h>
5
+ #import <jsi/jsi.h>
6
+
7
+ #include <memory>
8
+
9
+ NS_ASSUME_NONNULL_BEGIN
10
+
11
+ /// Install `__RNW_UI` on `globalThis`. Owns the C++ shadow-tree registry
12
+ /// driven by the JS reconciler. On `completeRoot`, deep-copies the mutable
13
+ /// tree into immutable snapshots and invokes `onCommit` on the main queue.
14
+ void rnwInstallUIManager(
15
+ facebook::jsi::Runtime &rt,
16
+ std::shared_ptr<facebook::react::CallInvoker> jsInvoker,
17
+ void (^onCommit)(NSArray<RNWShadowNodeSnapshot *> *root));
18
+
19
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,383 @@
1
+ #import "RNWUIManager.h"
2
+
3
+ #import <ReactCommon/RCTTurboModule.h>
4
+
5
+ #include <algorithm>
6
+ #include <cstdint>
7
+ #include <memory>
8
+ #include <string>
9
+ #include <unordered_map>
10
+ #include <vector>
11
+
12
+ namespace jsi = facebook::jsi;
13
+ using facebook::react::CallInvoker;
14
+ using facebook::react::TurboModuleConvertUtils::convertJSIValueToObjCObject;
15
+
16
+ namespace {
17
+
18
+ using Tag = uint32_t;
19
+
20
+ struct MutableNode {
21
+ Tag tag = 0;
22
+ RNWNodeKind kind = RNWNodeKindView;
23
+ NSString *viewName = nil;
24
+ NSDictionary<NSString *, id> *props = nil;
25
+ NSArray<NSDictionary<NSString *, id> *> *modifiers = nil;
26
+ NSDictionary<NSString *, NSNumber *> *eventHandlers = nil;
27
+ std::string text;
28
+ std::vector<Tag> children;
29
+ };
30
+
31
+ struct Registry {
32
+ std::unordered_map<Tag, std::shared_ptr<MutableNode>> nodes;
33
+ std::vector<Tag> rootChildren;
34
+ Tag nextTag = 1;
35
+ };
36
+
37
+ bool isEventHandlerKey(NSString *key) {
38
+ if (key.length < 3) return false;
39
+ if ([key characterAtIndex:0] != 'o') return false;
40
+ if ([key characterAtIndex:1] != 'n') return false;
41
+ unichar c = [key characterAtIndex:2];
42
+ return c >= 'A' && c <= 'Z';
43
+ }
44
+
45
+ struct ParsedProps {
46
+ NSDictionary<NSString *, id> *props;
47
+ NSArray<NSDictionary<NSString *, id> *> *modifiers;
48
+ NSDictionary<NSString *, NSNumber *> *eventHandlers;
49
+ };
50
+
51
+ // `children` and `$$typeof`-carrying values are dropped: React Fibers carry
52
+ // parent pointers that form cycles, so recursing into them via
53
+ // `convertJSIValueToObjCObject` blows the stack. Siblings already reach the
54
+ // tree through `appendChild`.
55
+ ParsedProps parseProps(jsi::Runtime &rt,
56
+ const jsi::Value &value,
57
+ const std::shared_ptr<CallInvoker> &jsInvoker) {
58
+ ParsedProps out = { @{}, @[], @{} };
59
+ if (!value.isObject()) return out;
60
+ jsi::Object obj = value.getObject(rt);
61
+ if (obj.isFunction(rt) || obj.isArray(rt)) return out;
62
+
63
+ NSMutableDictionary<NSString *, id> *props = [NSMutableDictionary dictionary];
64
+ NSMutableDictionary<NSString *, NSNumber *> *events =
65
+ [NSMutableDictionary dictionary];
66
+ NSArray *modifiers = @[];
67
+
68
+ jsi::Array names = obj.getPropertyNames(rt);
69
+ size_t n = names.size(rt);
70
+ for (size_t i = 0; i < n; ++i) {
71
+ std::string keyStr =
72
+ names.getValueAtIndex(rt, i).getString(rt).utf8(rt);
73
+
74
+ if (keyStr == "children") continue;
75
+
76
+ NSString *key = [NSString stringWithUTF8String:keyStr.c_str()];
77
+ jsi::Value v = obj.getProperty(rt, keyStr.c_str());
78
+
79
+ if (keyStr == "modifiers") {
80
+ id arr = convertJSIValueToObjCObject(rt, v, jsInvoker, NO);
81
+ if ([arr isKindOfClass:[NSArray class]]) {
82
+ modifiers = (NSArray *)arr;
83
+ }
84
+ continue;
85
+ }
86
+ if (isEventHandlerKey(key) && v.isNumber()) {
87
+ events[key] = @(v.getNumber());
88
+ continue;
89
+ }
90
+ if (v.isObject() && v.getObject(rt).hasProperty(rt, "$$typeof")) {
91
+ continue;
92
+ }
93
+
94
+ id converted = convertJSIValueToObjCObject(rt, v, jsInvoker, NO);
95
+ if (converted != nil) {
96
+ props[key] = converted;
97
+ }
98
+ }
99
+
100
+ out.props = props;
101
+ out.modifiers = modifiers;
102
+ out.eventHandlers = events;
103
+ return out;
104
+ }
105
+
106
+ RNWShadowNodeSnapshot *snapshotNode(const Registry &reg, Tag tag) {
107
+ auto it = reg.nodes.find(tag);
108
+ if (it == reg.nodes.end()) return nil;
109
+ const MutableNode &n = *it->second;
110
+
111
+ NSMutableArray<RNWShadowNodeSnapshot *> *children =
112
+ [NSMutableArray arrayWithCapacity:n.children.size()];
113
+ for (Tag childTag : n.children) {
114
+ RNWShadowNodeSnapshot *child = snapshotNode(reg, childTag);
115
+ if (child != nil) {
116
+ [children addObject:child];
117
+ }
118
+ }
119
+
120
+ NSString *text = nil;
121
+ if (n.kind == RNWNodeKindRawText) {
122
+ text = [NSString stringWithUTF8String:n.text.c_str()];
123
+ }
124
+
125
+ return [[RNWShadowNodeSnapshot alloc] initWithTag:(NSInteger)tag
126
+ kind:n.kind
127
+ viewName:n.viewName
128
+ props:n.props
129
+ modifiers:n.modifiers
130
+ eventHandlers:n.eventHandlers
131
+ text:text
132
+ children:children];
133
+ }
134
+
135
+ template <typename F>
136
+ void installFn(jsi::Runtime &rt,
137
+ jsi::Object &target,
138
+ const char *name,
139
+ unsigned paramCount,
140
+ F &&fn) {
141
+ target.setProperty(
142
+ rt,
143
+ name,
144
+ jsi::Function::createFromHostFunction(
145
+ rt,
146
+ jsi::PropNameID::forAscii(rt, name),
147
+ paramCount,
148
+ std::forward<F>(fn)));
149
+ }
150
+
151
+ // Reconciler removes a subtree by only unlinking the top — descendants must
152
+ // be reclaimed here or they leak.
153
+ void eraseSubtree(Registry &reg, Tag tag) {
154
+ auto it = reg.nodes.find(tag);
155
+ if (it == reg.nodes.end()) return;
156
+ // Copy before erasing the parent — it owns the vector.
157
+ std::vector<Tag> children = it->second->children;
158
+ reg.nodes.erase(it);
159
+ for (Tag child : children) {
160
+ eraseSubtree(reg, child);
161
+ }
162
+ }
163
+
164
+ } // namespace
165
+
166
+ void rnwInstallUIManager(jsi::Runtime &rt,
167
+ std::shared_ptr<CallInvoker> jsInvoker,
168
+ void (^onCommit)(NSArray<RNWShadowNodeSnapshot *> *)) {
169
+ auto reg = std::make_shared<Registry>();
170
+ void (^commit)(NSArray<RNWShadowNodeSnapshot *> *) = [onCommit copy];
171
+
172
+ jsi::Object api(rt);
173
+
174
+ installFn(rt, api, "createNode", 2,
175
+ [reg, jsInvoker](jsi::Runtime &rt,
176
+ const jsi::Value &,
177
+ const jsi::Value *args,
178
+ size_t count) -> jsi::Value {
179
+ if (count < 2 || !args[0].isString()) {
180
+ throw jsi::JSError(rt, "createNode: expected (string, object)");
181
+ }
182
+ std::string type = args[0].getString(rt).utf8(rt);
183
+ ParsedProps parsed = parseProps(rt, args[1], jsInvoker);
184
+
185
+ auto node = std::make_shared<MutableNode>();
186
+ node->tag = reg->nextTag++;
187
+ node->kind = RNWNodeKindView;
188
+ node->viewName = [NSString stringWithUTF8String:type.c_str()];
189
+ node->props = parsed.props;
190
+ node->modifiers = parsed.modifiers;
191
+ node->eventHandlers = parsed.eventHandlers;
192
+ reg->nodes.emplace(node->tag, node);
193
+ return jsi::Value(static_cast<double>(node->tag));
194
+ });
195
+
196
+ installFn(rt, api, "createTextNode", 1,
197
+ [reg](jsi::Runtime &rt,
198
+ const jsi::Value &,
199
+ const jsi::Value *args,
200
+ size_t count) -> jsi::Value {
201
+ if (count < 1 || !args[0].isString()) {
202
+ throw jsi::JSError(rt, "createTextNode: expected (string)");
203
+ }
204
+ auto node = std::make_shared<MutableNode>();
205
+ node->tag = reg->nextTag++;
206
+ node->kind = RNWNodeKindRawText;
207
+ node->text = args[0].getString(rt).utf8(rt);
208
+ reg->nodes.emplace(node->tag, node);
209
+ return jsi::Value(static_cast<double>(node->tag));
210
+ });
211
+
212
+ installFn(rt, api, "updateNodeProps", 2,
213
+ [reg, jsInvoker](jsi::Runtime &rt,
214
+ const jsi::Value &,
215
+ const jsi::Value *args,
216
+ size_t count) -> jsi::Value {
217
+ if (count < 2 || !args[0].isNumber()) return jsi::Value::undefined();
218
+ Tag tag = static_cast<Tag>(args[0].getNumber());
219
+ auto it = reg->nodes.find(tag);
220
+ if (it == reg->nodes.end()) return jsi::Value::undefined();
221
+ MutableNode &n = *it->second;
222
+ if (n.kind != RNWNodeKindView) return jsi::Value::undefined();
223
+ ParsedProps parsed = parseProps(rt, args[1], jsInvoker);
224
+ n.props = parsed.props;
225
+ n.modifiers = parsed.modifiers;
226
+ n.eventHandlers = parsed.eventHandlers;
227
+ return jsi::Value::undefined();
228
+ });
229
+
230
+ installFn(rt, api, "updateTextNode", 2,
231
+ [reg](jsi::Runtime &rt,
232
+ const jsi::Value &,
233
+ const jsi::Value *args,
234
+ size_t count) -> jsi::Value {
235
+ if (count < 2 || !args[0].isNumber() || !args[1].isString()) {
236
+ return jsi::Value::undefined();
237
+ }
238
+ Tag tag = static_cast<Tag>(args[0].getNumber());
239
+ auto it = reg->nodes.find(tag);
240
+ if (it == reg->nodes.end()) return jsi::Value::undefined();
241
+ it->second->text = args[1].getString(rt).utf8(rt);
242
+ return jsi::Value::undefined();
243
+ });
244
+
245
+ installFn(rt, api, "appendChild", 2,
246
+ [reg](jsi::Runtime &rt,
247
+ const jsi::Value &,
248
+ const jsi::Value *args,
249
+ size_t count) -> jsi::Value {
250
+ if (count < 2 || !args[0].isNumber() || !args[1].isNumber()) {
251
+ return jsi::Value::undefined();
252
+ }
253
+ Tag parent = static_cast<Tag>(args[0].getNumber());
254
+ Tag child = static_cast<Tag>(args[1].getNumber());
255
+ auto it = reg->nodes.find(parent);
256
+ if (it == reg->nodes.end()) return jsi::Value::undefined();
257
+ // Reparenting: detach from previous position first.
258
+ auto &siblings = it->second->children;
259
+ siblings.erase(
260
+ std::remove(siblings.begin(), siblings.end(), child),
261
+ siblings.end());
262
+ siblings.push_back(child);
263
+ (void)rt;
264
+ return jsi::Value::undefined();
265
+ });
266
+
267
+ installFn(rt, api, "insertBefore", 3,
268
+ [reg](jsi::Runtime &rt,
269
+ const jsi::Value &,
270
+ const jsi::Value *args,
271
+ size_t count) -> jsi::Value {
272
+ if (count < 3 || !args[0].isNumber() || !args[1].isNumber() ||
273
+ !args[2].isNumber()) {
274
+ return jsi::Value::undefined();
275
+ }
276
+ Tag parent = static_cast<Tag>(args[0].getNumber());
277
+ Tag child = static_cast<Tag>(args[1].getNumber());
278
+ Tag before = static_cast<Tag>(args[2].getNumber());
279
+ auto it = reg->nodes.find(parent);
280
+ if (it == reg->nodes.end()) return jsi::Value::undefined();
281
+ auto &siblings = it->second->children;
282
+ // Reparenting/reorder: detach first.
283
+ siblings.erase(
284
+ std::remove(siblings.begin(), siblings.end(), child),
285
+ siblings.end());
286
+ auto pos = std::find(siblings.begin(), siblings.end(), before);
287
+ siblings.insert(pos, child);
288
+ (void)rt;
289
+ return jsi::Value::undefined();
290
+ });
291
+
292
+ installFn(rt, api, "removeChild", 2,
293
+ [reg](jsi::Runtime &rt,
294
+ const jsi::Value &,
295
+ const jsi::Value *args,
296
+ size_t count) -> jsi::Value {
297
+ if (count < 2 || !args[0].isNumber() || !args[1].isNumber()) {
298
+ return jsi::Value::undefined();
299
+ }
300
+ Tag parent = static_cast<Tag>(args[0].getNumber());
301
+ Tag child = static_cast<Tag>(args[1].getNumber());
302
+ auto it = reg->nodes.find(parent);
303
+ if (it != reg->nodes.end()) {
304
+ auto &siblings = it->second->children;
305
+ siblings.erase(
306
+ std::remove(siblings.begin(), siblings.end(), child),
307
+ siblings.end());
308
+ }
309
+ eraseSubtree(*reg, child);
310
+ (void)rt;
311
+ return jsi::Value::undefined();
312
+ });
313
+
314
+ installFn(rt, api, "appendToRoot", 1,
315
+ [reg](jsi::Runtime &rt,
316
+ const jsi::Value &,
317
+ const jsi::Value *args,
318
+ size_t count) -> jsi::Value {
319
+ if (count < 1 || !args[0].isNumber()) return jsi::Value::undefined();
320
+ Tag child = static_cast<Tag>(args[0].getNumber());
321
+ auto &roots = reg->rootChildren;
322
+ roots.erase(std::remove(roots.begin(), roots.end(), child),
323
+ roots.end());
324
+ roots.push_back(child);
325
+ (void)rt;
326
+ return jsi::Value::undefined();
327
+ });
328
+
329
+ installFn(rt, api, "removeFromRoot", 1,
330
+ [reg](jsi::Runtime &rt,
331
+ const jsi::Value &,
332
+ const jsi::Value *args,
333
+ size_t count) -> jsi::Value {
334
+ if (count < 1 || !args[0].isNumber()) return jsi::Value::undefined();
335
+ Tag child = static_cast<Tag>(args[0].getNumber());
336
+ auto &roots = reg->rootChildren;
337
+ roots.erase(std::remove(roots.begin(), roots.end(), child),
338
+ roots.end());
339
+ eraseSubtree(*reg, child);
340
+ (void)rt;
341
+ return jsi::Value::undefined();
342
+ });
343
+
344
+ installFn(rt, api, "clearRoot", 0,
345
+ [reg](jsi::Runtime &rt,
346
+ const jsi::Value &,
347
+ const jsi::Value *,
348
+ size_t) -> jsi::Value {
349
+ std::vector<Tag> roots = reg->rootChildren;
350
+ reg->rootChildren.clear();
351
+ for (Tag t : roots) {
352
+ eraseSubtree(*reg, t);
353
+ }
354
+ (void)rt;
355
+ return jsi::Value::undefined();
356
+ });
357
+
358
+ // Snapshot the mutable tree and dispatch onto main — SwiftUI state
359
+ // updates must happen there.
360
+ installFn(rt, api, "completeRoot", 0,
361
+ [reg, commit](jsi::Runtime &rt,
362
+ const jsi::Value &,
363
+ const jsi::Value *,
364
+ size_t) -> jsi::Value {
365
+ NSMutableArray<RNWShadowNodeSnapshot *> *snap =
366
+ [NSMutableArray arrayWithCapacity:reg->rootChildren.size()];
367
+ for (Tag t : reg->rootChildren) {
368
+ RNWShadowNodeSnapshot *node = snapshotNode(*reg, t);
369
+ if (node != nil) {
370
+ [snap addObject:node];
371
+ }
372
+ }
373
+ if (commit != nil) {
374
+ dispatch_async(dispatch_get_main_queue(), ^{
375
+ commit(snap);
376
+ });
377
+ }
378
+ (void)rt;
379
+ return jsi::Value::undefined();
380
+ });
381
+
382
+ rt.global().setProperty(rt, "__RNW_UI", api);
383
+ }
@@ -0,0 +1,20 @@
1
+ // Private — not in the XCFramework Headers/ or modulemap. C++/ObjC++ glue;
2
+ // exposing to Swift would drag `jsi::Runtime &` across the bridge.
3
+
4
+ #import <Foundation/Foundation.h>
5
+
6
+ #import <jsi/jsi.h>
7
+
8
+ #include "RNWCallInvoker.h"
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ /// Install a minimal WHATWG-shaped `WebSocket` on `globalThis`, backed by
13
+ /// `NSURLSessionWebSocketTask`. Surface is what Metro's HMRClient calls:
14
+ /// `new WebSocket(url)`, `onopen`/`onmessage`/`onerror`/`onclose`,
15
+ /// `send(string)`, `close()`. Binary frames and `addEventListener` are not
16
+ /// implemented; `send(ArrayBuffer)` falls back to UTF-8 decoding.
17
+ void rnwInstallWebSocket(facebook::jsi::Runtime &rt,
18
+ facebook::react::RNWJSQueue jsQueue);
19
+
20
+ NS_ASSUME_NONNULL_END