@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,51 @@
1
+ import SwiftUI
2
+
3
+ /// Parses JS color strings into SwiftUI `Color`. Lives on the Swift side
4
+ /// so named colors pick up adaptive dark-mode variants (`.primary`, system
5
+ /// colors) — the C++ layer can't supply those.
6
+ enum RNWColorParser {
7
+ static func parse(_ string: String) -> Color? {
8
+ switch string {
9
+ case "red": return .red
10
+ case "blue": return .blue
11
+ case "green": return .green
12
+ case "yellow": return .yellow
13
+ case "orange": return .orange
14
+ case "purple": return .purple
15
+ case "pink": return .pink
16
+ case "white": return .white
17
+ case "black": return .black
18
+ case "gray", "grey": return .gray
19
+ case "brown": return .brown
20
+ case "mint": return .mint
21
+ case "cyan": return .cyan
22
+ case "indigo": return .indigo
23
+ case "teal": return .teal
24
+ case "primary": return .primary
25
+ case "secondary": return .secondary
26
+ case "accent": return .accentColor
27
+ case "clear": return .clear
28
+ default:
29
+ return string.hasPrefix("#") ? parseHex(string) : nil
30
+ }
31
+ }
32
+
33
+ private static func parseHex(_ s: String) -> Color? {
34
+ let hex = String(s.dropFirst())
35
+ guard hex.count == 6 || hex.count == 8,
36
+ let raw = UInt64(hex, radix: 16) else { return nil }
37
+ let r, g, b, a: Double
38
+ if hex.count == 8 {
39
+ r = Double((raw >> 24) & 0xff) / 255
40
+ g = Double((raw >> 16) & 0xff) / 255
41
+ b = Double((raw >> 8) & 0xff) / 255
42
+ a = Double(raw & 0xff) / 255
43
+ } else {
44
+ r = Double((raw >> 16) & 0xff) / 255
45
+ g = Double((raw >> 8) & 0xff) / 255
46
+ b = Double(raw & 0xff) / 255
47
+ a = 1
48
+ }
49
+ return Color(.sRGB, red: r, green: g, blue: b, opacity: a)
50
+ }
51
+ }
@@ -0,0 +1,31 @@
1
+ import SwiftUI
2
+
3
+ /// `Image → Image` applier. `.resizable()` / `.renderingMode(_:)` /
4
+ /// `.interpolation(_:)` / `.antialiased(_:)` return `Image`, not `some
5
+ /// View` — chaining them here keeps the type so subsequent Image-only
6
+ /// modifiers still apply before generic AnyView erasure.
7
+ public typealias RNWImageModifierApplier = (
8
+ _ image: Image,
9
+ _ params: [String: Any]
10
+ ) -> Image
11
+
12
+ @MainActor
13
+ public final class RNWImageModifierRegistry {
14
+ public static let shared = RNWImageModifierRegistry()
15
+ private var appliers: [String: RNWImageModifierApplier] = [:]
16
+ private init() {}
17
+
18
+ public func register(_ type: String, applier: @escaping RNWImageModifierApplier) {
19
+ appliers[type] = applier
20
+ }
21
+
22
+ public func apply(_ modifier: [String: Any], to image: Image) -> Image {
23
+ guard let type = modifier["$type"] as? String,
24
+ let applier = appliers[type] else { return image }
25
+ return applier(image, modifier)
26
+ }
27
+
28
+ public func contains(_ type: String) -> Bool {
29
+ appliers[type] != nil
30
+ }
31
+ }
@@ -0,0 +1,38 @@
1
+ import SwiftUI
2
+
3
+ /// Modifier applier shape. `ctx` exposes the event bus (callback
4
+ /// modifiers) and originating node (content modifiers — sheet/overlay).
5
+ public typealias RNWModifierApplier = (
6
+ _ view: AnyView,
7
+ _ params: [String: Any],
8
+ _ ctx: RNWModifierContext
9
+ ) -> AnyView
10
+
11
+ /// Generic SwiftUI modifier registry. Text-only modifiers live in
12
+ /// `RNWTextModifierRegistry` to preserve the `Text → Text` chain.
13
+ @MainActor
14
+ public final class RNWModifierRegistry {
15
+ public static let shared = RNWModifierRegistry()
16
+ private var appliers: [String: RNWModifierApplier] = [:]
17
+ private init() {}
18
+
19
+ public func register(_ type: String, applier: @escaping RNWModifierApplier) {
20
+ appliers[type] = applier
21
+ }
22
+
23
+ /// Unknown `$type` returns the view unchanged (forward-compat with
24
+ /// newer JS-side modifiers paired with an older native binary).
25
+ public func apply(
26
+ _ modifier: [String: Any],
27
+ to view: AnyView,
28
+ ctx: RNWModifierContext
29
+ ) -> AnyView {
30
+ guard let type = modifier["$type"] as? String,
31
+ let applier = appliers[type] else { return view }
32
+ return applier(view, modifier, ctx)
33
+ }
34
+
35
+ public func contains(_ type: String) -> Bool {
36
+ appliers[type] != nil
37
+ }
38
+ }
@@ -0,0 +1,25 @@
1
+ import Foundation
2
+
3
+ /// Typed accessors over bridged `[String: Any]` dicts. Booleans must
4
+ /// route through `NSNumber.boolValue` or `true` silently becomes `1.0`.
5
+ extension Dictionary where Key == String, Value == Any {
6
+ func string(_ key: String) -> String? {
7
+ self[key] as? String
8
+ }
9
+
10
+ func double(_ key: String) -> Double? {
11
+ (self[key] as? NSNumber)?.doubleValue
12
+ }
13
+
14
+ func cgFloat(_ key: String) -> CGFloat? {
15
+ (self[key] as? NSNumber).map { CGFloat($0.doubleValue) }
16
+ }
17
+
18
+ func bool(_ key: String) -> Bool? {
19
+ (self[key] as? NSNumber)?.boolValue
20
+ }
21
+
22
+ func int(_ key: String) -> Int? {
23
+ (self[key] as? NSNumber)?.intValue
24
+ }
25
+ }
@@ -0,0 +1,166 @@
1
+ import SwiftUI
2
+
3
+ /// String → SwiftUI value parsers shared across modifiers. Add here when
4
+ /// more than one modifier needs the same mapping. watchOS 9 baseline;
5
+ /// newer APIs are `#available`-gated.
6
+
7
+ enum RNWAlignmentParser {
8
+ static func alignment(_ s: String?) -> Alignment {
9
+ switch s {
10
+ case "leading": return .leading
11
+ case "trailing": return .trailing
12
+ case "top": return .top
13
+ case "bottom": return .bottom
14
+ case "topLeading": return .topLeading
15
+ case "topTrailing": return .topTrailing
16
+ case "bottomLeading": return .bottomLeading
17
+ case "bottomTrailing": return .bottomTrailing
18
+ case "leadingFirstTextBaseline": return .leadingFirstTextBaseline
19
+ case "trailingLastTextBaseline": return .trailingLastTextBaseline
20
+ default: return .center
21
+ }
22
+ }
23
+
24
+ static func horizontal(_ s: String?) -> HorizontalAlignment {
25
+ switch s {
26
+ case "leading": return .leading
27
+ case "trailing": return .trailing
28
+ default: return .center
29
+ }
30
+ }
31
+
32
+ static func vertical(_ s: String?) -> VerticalAlignment {
33
+ switch s {
34
+ case "top": return .top
35
+ case "bottom": return .bottom
36
+ case "firstTextBaseline": return .firstTextBaseline
37
+ case "lastTextBaseline": return .lastTextBaseline
38
+ default: return .center
39
+ }
40
+ }
41
+
42
+ static func textAlignment(_ s: String?) -> TextAlignment {
43
+ switch s {
44
+ case "leading": return .leading
45
+ case "trailing": return .trailing
46
+ default: return .center
47
+ }
48
+ }
49
+ }
50
+
51
+ enum RNWVisibilityParser {
52
+ static func parse(_ s: String?) -> Visibility {
53
+ switch s {
54
+ case "visible": return .visible
55
+ case "hidden": return .hidden
56
+ default: return .automatic
57
+ }
58
+ }
59
+ }
60
+
61
+ enum RNWEdgeParser {
62
+ /// Single edge, "horizontal"/"vertical"/"all", or an array of edges.
63
+ static func edgeSet(_ value: Any?) -> Edge.Set {
64
+ if let s = value as? String { return single(s) }
65
+ if let arr = value as? [Any] {
66
+ var set: Edge.Set = []
67
+ for item in arr {
68
+ if let s = item as? String { set.insert(single(s)) }
69
+ }
70
+ return set.isEmpty ? .all : set
71
+ }
72
+ return .all
73
+ }
74
+
75
+ private static func single(_ s: String) -> Edge.Set {
76
+ switch s {
77
+ case "top": return .top
78
+ case "bottom": return .bottom
79
+ case "leading": return .leading
80
+ case "trailing": return .trailing
81
+ case "horizontal": return .horizontal
82
+ case "vertical": return .vertical
83
+ default: return .all
84
+ }
85
+ }
86
+ }
87
+
88
+ enum RNWFontParsers {
89
+ static func weight(_ s: String?) -> Font.Weight? {
90
+ switch s {
91
+ case "ultraLight": return .ultraLight
92
+ case "thin": return .thin
93
+ case "light": return .light
94
+ case "regular": return .regular
95
+ case "medium": return .medium
96
+ case "semibold": return .semibold
97
+ case "bold": return .bold
98
+ case "heavy": return .heavy
99
+ case "black": return .black
100
+ default: return nil
101
+ }
102
+ }
103
+
104
+ static func design(_ s: String?) -> Font.Design? {
105
+ switch s {
106
+ case "default": return .default
107
+ case "serif": return .serif
108
+ case "rounded": return .rounded
109
+ case "monospaced": return .monospaced
110
+ default: return nil
111
+ }
112
+ }
113
+
114
+ static func textStyle(_ s: String?) -> Font.TextStyle? {
115
+ switch s {
116
+ case "largeTitle": return .largeTitle
117
+ case "title": return .title
118
+ case "title2": return .title2
119
+ case "title3": return .title3
120
+ case "headline": return .headline
121
+ case "subheadline": return .subheadline
122
+ case "body": return .body
123
+ case "callout": return .callout
124
+ case "footnote": return .footnote
125
+ case "caption": return .caption
126
+ case "caption2": return .caption2
127
+ default: return nil
128
+ }
129
+ }
130
+ }
131
+
132
+ enum RNWShapeStyleParser {
133
+ /// Color (named/hex), hierarchical level, or (watchOS 10+) material.
134
+ /// Nil when unrecognized so callers can fall back.
135
+ static func parse(_ string: String?) -> AnyShapeStyle? {
136
+ guard let string else { return nil }
137
+ switch string {
138
+ case "primary": return AnyShapeStyle(.primary)
139
+ case "secondary": return AnyShapeStyle(.secondary)
140
+ case "tertiary": return AnyShapeStyle(.tertiary)
141
+ case "quaternary": return AnyShapeStyle(.quaternary)
142
+ case "tint": return AnyShapeStyle(.tint)
143
+ case "ultraThinMaterial",
144
+ "thinMaterial",
145
+ "regularMaterial",
146
+ "thickMaterial",
147
+ "ultraThickMaterial":
148
+ // watchOS 10+. `.bar` is iOS-only.
149
+ if #available(watchOS 10.0, *) {
150
+ switch string {
151
+ case "ultraThinMaterial": return AnyShapeStyle(.ultraThinMaterial)
152
+ case "thinMaterial": return AnyShapeStyle(.thinMaterial)
153
+ case "regularMaterial": return AnyShapeStyle(.regularMaterial)
154
+ case "thickMaterial": return AnyShapeStyle(.thickMaterial)
155
+ default: return AnyShapeStyle(.ultraThickMaterial)
156
+ }
157
+ }
158
+ return nil
159
+ default:
160
+ if let color = RNWColorParser.parse(string) {
161
+ return AnyShapeStyle(color)
162
+ }
163
+ return nil
164
+ }
165
+ }
166
+ }
@@ -0,0 +1,37 @@
1
+ import SwiftUI
2
+ import ReactNativeWatchOSCxx
3
+
4
+ /// Per-apply context giving modifiers access to JS callbacks (`fire`) and
5
+ /// content children (`content`). Modifier callbacks cross the bridge as
6
+ /// numeric handler ids (raw functions are dropped by the JSI → NS
7
+ /// converter); modifier content is hoisted into `__ModifierContent` child
8
+ /// nodes by the JS `useModifiers` hook.
9
+ @MainActor
10
+ public struct RNWModifierContext {
11
+ public let bus: RNWEventBus
12
+ public let node: RNWShadowNodeSnapshot
13
+
14
+ public init(bus: RNWEventBus, node: RNWShadowNodeSnapshot) {
15
+ self.bus = bus
16
+ self.node = node
17
+ }
18
+
19
+ /// Nil handlerId is a no-op so callers can forward optionals:
20
+ /// `ctx.fire(params.int("handler"))`.
21
+ public func fire(_ handlerId: Int?, _ payload: Any? = nil) {
22
+ guard let handlerId else { return }
23
+ bus.fire(handlerId, payload: payload)
24
+ }
25
+
26
+ /// Nil when the slot is absent — callers fall back to `EmptyView()`
27
+ /// or skip the wrapping modifier.
28
+ public func content(_ slot: String?) -> AnyView? {
29
+ guard let slot else { return nil }
30
+ for child in node.children where child.viewName == "__ModifierContent" {
31
+ if (child.props?["slot"] as? String) == slot {
32
+ return RNWNodeRenderer.render(child, bus: bus)
33
+ }
34
+ }
35
+ return nil
36
+ }
37
+ }
@@ -0,0 +1,56 @@
1
+ import SwiftUI
2
+ import ReactNativeWatchOSCxx
3
+
4
+ /// Recursive node → AnyView translator. Single source of truth used by
5
+ /// `RNWRootView` and container builders (via the pre-rendered `children`).
6
+ @MainActor
7
+ public enum RNWNodeRenderer {
8
+ public static func render(
9
+ _ node: RNWShadowNodeSnapshot,
10
+ bus: RNWEventBus
11
+ ) -> AnyView {
12
+ // Standalone rawText shouldn't reach here — Text-like builders
13
+ // consume rawText children directly.
14
+ if node.kind == .rawText {
15
+ return AnyView(EmptyView())
16
+ }
17
+
18
+ // `viewChildren` skips `__ModifierContent` — those are pulled on
19
+ // demand by modifiers (sheet/overlay/…) via `ctx.content`.
20
+ let renderedChildren = AnyView(
21
+ ForEach(node.viewChildren, id: \.tag) { child in
22
+ render(child, bus: bus)
23
+ }
24
+ )
25
+
26
+ let builder = RNWViewRegistry.shared.builder(for: node.viewName)
27
+ ?? RNWNodeRenderer.fallback
28
+
29
+ let base = builder(node, renderedChildren, bus)
30
+
31
+ let ctx = RNWModifierContext(bus: bus, node: node)
32
+ let modified = node.modifiers.reduce(base) { acc, mod in
33
+ guard let dict = mod as? [String: Any] else { return acc }
34
+ return RNWModifierRegistry.shared.apply(dict, to: acc, ctx: ctx)
35
+ }
36
+
37
+ // AnyView erasure drops SwiftUI's structural identity tracking;
38
+ // `.id(node.tag)` restores it. Without this, every commit tears
39
+ // down @State, animations, and TextField focus.
40
+ return AnyView(modified.id(node.tag))
41
+ }
42
+
43
+ /// Red marker in DEBUG, EmptyView in release — surfaces missing
44
+ /// registrations during development.
45
+ private static let fallback: RNWViewBuilder = { node, _, _ in
46
+ #if DEBUG
47
+ return AnyView(
48
+ Text("?\(node.viewName ?? "<nil>")")
49
+ .font(.caption2)
50
+ .foregroundStyle(.red)
51
+ )
52
+ #else
53
+ return AnyView(EmptyView())
54
+ #endif
55
+ }
56
+ }
@@ -0,0 +1,11 @@
1
+ import ReactNativeWatchOSCxx
2
+
3
+ extension RNWShadowNodeSnapshot {
4
+ /// Children excluding `__ModifierContent` (sheet/overlay/toolbar
5
+ /// bodies). Builders that walk children directly (Section, TabView,
6
+ /// LabeledContent, …) must use this so modifier content doesn't leak
7
+ /// into their layout — it's pulled on demand via `ctx.content(_:)`.
8
+ public var viewChildren: [RNWShadowNodeSnapshot] {
9
+ children.filter { $0.viewName != "__ModifierContent" }
10
+ }
11
+ }
@@ -0,0 +1,30 @@
1
+ import SwiftUI
2
+
3
+ /// `Text → Text` applier. Preserves SwiftUI's typed Text chain so
4
+ /// concatenation (`Text("a") + Text("b")`) and Text-only typographic
5
+ /// optimizations survive — erasing to AnyView throws all that away.
6
+ public typealias RNWTextModifierApplier = (
7
+ _ text: Text,
8
+ _ params: [String: Any]
9
+ ) -> Text
10
+
11
+ @MainActor
12
+ public final class RNWTextModifierRegistry {
13
+ public static let shared = RNWTextModifierRegistry()
14
+ private var appliers: [String: RNWTextModifierApplier] = [:]
15
+ private init() {}
16
+
17
+ public func register(_ type: String, applier: @escaping RNWTextModifierApplier) {
18
+ appliers[type] = applier
19
+ }
20
+
21
+ public func apply(_ modifier: [String: Any], to text: Text) -> Text {
22
+ guard let type = modifier["$type"] as? String,
23
+ let applier = appliers[type] else { return text }
24
+ return applier(text, modifier)
25
+ }
26
+
27
+ public func contains(_ type: String) -> Bool {
28
+ appliers[type] != nil
29
+ }
30
+ }
@@ -0,0 +1,30 @@
1
+ import SwiftUI
2
+ import ReactNativeWatchOSCxx
3
+
4
+ /// View-builder shape.
5
+ ///
6
+ /// - `children` is pre-rendered through the modifier pipeline; leaves
7
+ /// that need the raw tree (e.g. Text walking rawText) read
8
+ /// `snapshot.children` directly instead.
9
+ public typealias RNWViewBuilder = (
10
+ _ snapshot: RNWShadowNodeSnapshot,
11
+ _ children: AnyView,
12
+ _ bus: RNWEventBus
13
+ ) -> AnyView
14
+
15
+ /// `viewName` (from JS) → SwiftUI builder.
16
+ @MainActor
17
+ public final class RNWViewRegistry {
18
+ public static let shared = RNWViewRegistry()
19
+ private var builders: [String: RNWViewBuilder] = [:]
20
+ private init() {}
21
+
22
+ public func register(_ name: String, builder: @escaping RNWViewBuilder) {
23
+ builders[name] = builder
24
+ }
25
+
26
+ public func builder(for name: String?) -> RNWViewBuilder? {
27
+ guard let name else { return nil }
28
+ return builders[name]
29
+ }
30
+ }
@@ -0,0 +1,41 @@
1
+ import SwiftUI
2
+ import ReactNativeWatchOSCxx
3
+
4
+ enum RNWAngularGradientView {
5
+ @MainActor
6
+ static func register(into r: RNWViewRegistry) {
7
+ r.register("AngularGradient") { snapshot, _, _ in
8
+ let colors = parseColors(snapshot.props?["colors"])
9
+ let center = parseUnitPoint(snapshot.props?["center"]) ?? .center
10
+
11
+ if let angle = snapshot.props?.double("angle") {
12
+ return AnyView(
13
+ AngularGradient(
14
+ colors: colors,
15
+ center: center,
16
+ angle: .degrees(angle)
17
+ )
18
+ )
19
+ }
20
+ if let start = snapshot.props?.double("startAngle"),
21
+ let end = snapshot.props?.double("endAngle") {
22
+ return AnyView(
23
+ AngularGradient(
24
+ colors: colors,
25
+ center: center,
26
+ startAngle: .degrees(start),
27
+ endAngle: .degrees(end)
28
+ )
29
+ )
30
+ }
31
+ return AnyView(
32
+ AngularGradient(
33
+ colors: colors,
34
+ center: center,
35
+ startAngle: .zero,
36
+ endAngle: .degrees(360)
37
+ )
38
+ )
39
+ }
40
+ }
41
+ }