@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,113 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <chrono>
11
+ #include <type_traits>
12
+
13
+ namespace facebook::react {
14
+
15
+ /*
16
+ * Represents a monotonic clock suitable for measuring intervals.
17
+ */
18
+ using TelemetryClock = std::chrono::steady_clock;
19
+
20
+ /*
21
+ * Represents a point in time satisfied the requirements of TelemetryClock.
22
+ */
23
+ using TelemetryTimePoint = TelemetryClock::time_point;
24
+
25
+ /*
26
+ * Represents a time interval satisfied the requirements of TelemetryClock.
27
+ */
28
+ using TelemetryDuration = std::chrono::nanoseconds;
29
+
30
+ /*
31
+ * Represents a time point which never happens.
32
+ */
33
+ static const TelemetryTimePoint kTelemetryUndefinedTimePoint =
34
+ TelemetryTimePoint::max();
35
+
36
+ /*
37
+ * Returns a time point representing the current point in time.
38
+ */
39
+ static inline TelemetryTimePoint telemetryTimePointNow() {
40
+ return TelemetryClock::now();
41
+ }
42
+
43
+ /*
44
+ * Returns a number of milliseconds that passed from some epoch starting time
45
+ * point to a given time point. The epoch starting time point is not specified
46
+ * but stays the same for an application run.
47
+ */
48
+ static inline int64_t telemetryTimePointToMilliseconds(
49
+ TelemetryTimePoint timePoint) {
50
+ return std::chrono::duration_cast<std::chrono::milliseconds>(
51
+ timePoint - TelemetryTimePoint{})
52
+ .count();
53
+ }
54
+
55
+ /*
56
+ * Returns a number of seconds that passed from "Steady Clock" epoch starting
57
+ * time point to a given time point.
58
+ */
59
+ static inline double telemetryTimePointToSteadyClockSeconds(
60
+ TelemetryTimePoint timePoint) {
61
+ static_assert(
62
+ std::is_same<decltype(timePoint), std::chrono::steady_clock::time_point>::
63
+ value,
64
+ "`TelemetryClock` must be `std::chrono::steady_clock` to make the "
65
+ "following implementation work correctly.");
66
+
67
+ auto nanoseconds = std::chrono::duration_cast<std::chrono::nanoseconds>(
68
+ timePoint.time_since_epoch())
69
+ .count();
70
+ return (double)nanoseconds / 1.0e9;
71
+ }
72
+
73
+ /*
74
+ * Converts a time point on one clock to a time point on a different clock.
75
+ */
76
+ template <
77
+ typename DestinationTimePointT,
78
+ typename SourceTimePointT,
79
+ typename DestnationClockT = typename DestinationTimePointT::clock,
80
+ typename SourceClockT = typename SourceTimePointT::clock>
81
+ DestinationTimePointT clockCast(SourceTimePointT timePoint) {
82
+ auto sourseClockNow = SourceClockT::now();
83
+ auto destinationClockNow = DestnationClockT::now();
84
+ return std::chrono::time_point_cast<typename DestnationClockT::duration>(
85
+ timePoint - sourseClockNow + destinationClockNow);
86
+ }
87
+
88
+ /*
89
+ * Returns a number of seconds that passed from the UNIX Epoch starting time
90
+ * point to a given time point.
91
+ * Also known as POSIX time or UNIX Timestamp.
92
+ */
93
+ static inline double telemetryTimePointToSecondsSinceEpoch(
94
+ TelemetryTimePoint timePoint) {
95
+ auto systemClockTimePoint =
96
+ clockCast<std::chrono::system_clock::time_point, TelemetryTimePoint>(
97
+ timePoint);
98
+ return (double)std::chrono::duration_cast<std::chrono::microseconds>(
99
+ systemClockTimePoint.time_since_epoch())
100
+ .count() /
101
+ 1000000.0;
102
+ }
103
+
104
+ /*
105
+ * Returns a number of milliseconds that represents the given duration object.
106
+ */
107
+ static inline int64_t telemetryDurationToMilliseconds(
108
+ TelemetryDuration duration) {
109
+ return std::chrono::duration_cast<std::chrono::milliseconds>(duration)
110
+ .count();
111
+ }
112
+
113
+ } // namespace facebook::react
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <algorithm>
11
+ #include <array>
12
+ #include <string_view>
13
+
14
+ namespace facebook::react {
15
+
16
+ /**
17
+ * Helper to allow passing string literals as template parameters.
18
+ * https://ctrpeach.io/posts/cpp20-string-literal-template-parameters/
19
+ */
20
+ template <size_t N>
21
+ struct TemplateStringLiteral {
22
+ /* implicit */ constexpr TemplateStringLiteral(const char (&str)[N]) {
23
+ std::copy_n(str, N, value.data());
24
+ }
25
+
26
+ constexpr operator std::string_view() const {
27
+ return {value.begin(), value.end() - 1};
28
+ }
29
+
30
+ // Not private, since structural types required for template parameters cannot
31
+ // have non-punlic data members.
32
+ std::array<char, N> value{};
33
+ };
34
+
35
+ } // namespace facebook::react
@@ -0,0 +1,53 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <cstdint>
11
+ #include <functional>
12
+ #include <string_view>
13
+
14
+ #include <react/utils/toLower.h>
15
+
16
+ namespace facebook::react {
17
+
18
+ /**
19
+ * FNV-1a hash function implementation.
20
+ * Implemented as described in http://www.isthe.com/chongo/tech/comp/fnv/.
21
+ *
22
+ * Please use std::hash if possible. `fnv1a` should only be used in cases
23
+ * when std::hash does not provide the needed functionality. For example,
24
+ * constexpr.
25
+ */
26
+ template <typename CharTransformT = std::identity>
27
+ constexpr uint32_t fnv1a(std::string_view string) noexcept {
28
+ constexpr uint32_t offset_basis = 2166136261;
29
+
30
+ uint32_t hash = offset_basis;
31
+
32
+ for (const auto& c : string) {
33
+ hash ^= static_cast<int8_t>(CharTransformT{}(c));
34
+ // Using shifts and adds instead of multiplication with a prime number.
35
+ // This is faster when compiled with optimizations.
36
+ hash +=
37
+ (hash << 1) + (hash << 4) + (hash << 7) + (hash << 8) + (hash << 24);
38
+ }
39
+
40
+ return hash;
41
+ }
42
+
43
+ constexpr uint32_t fnv1aLowercase(std::string_view string) {
44
+ struct LowerCaseTransform {
45
+ constexpr char operator()(char c) const {
46
+ return toLower(c);
47
+ }
48
+ };
49
+
50
+ return fnv1a<LowerCaseTransform>(string);
51
+ }
52
+
53
+ } // namespace facebook::react
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <functional>
11
+ #include <type_traits>
12
+
13
+ namespace facebook::react {
14
+
15
+ template <typename T>
16
+ concept Hashable = !std::is_same_v<T, const char*> && (requires(T a) {
17
+ { std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
18
+ });
19
+
20
+ template <Hashable T, Hashable... Rest>
21
+ void hash_combine(std::size_t& seed, const T& v, const Rest&... rest) {
22
+ seed ^= std::hash<T>{}(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
23
+ (hash_combine(seed, rest), ...);
24
+ }
25
+
26
+ template <Hashable T, Hashable... Args>
27
+ std::size_t hash_combine(const T& v, const Args&... args) {
28
+ std::size_t seed = 0;
29
+ hash_combine<T, Args...>(seed, v, args...);
30
+ return seed;
31
+ }
32
+
33
+ } // namespace facebook::react
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <react/utils/toLower.h>
11
+ #include <string_view>
12
+
13
+ namespace facebook::react {
14
+
15
+ /**
16
+ * constexpr check for case insensitive equality of two strings.
17
+ */
18
+ constexpr bool iequals(std::string_view a, std::string_view b) {
19
+ if (a.size() != b.size()) {
20
+ return false;
21
+ }
22
+
23
+ for (size_t i = 0; i < a.size(); i++) {
24
+ if (toLower(a[i]) != toLower(b[i])) {
25
+ return false;
26
+ }
27
+ }
28
+
29
+ return true;
30
+ }
31
+
32
+ } // namespace facebook::react
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <jsi/jsi.h>
11
+ #include <string>
12
+
13
+ namespace facebook::react {
14
+
15
+ /**
16
+ * Defines a property on the global object that is neither enumerable, nor
17
+ * configurable, nor writable. This ensures that the private globals exposed by
18
+ * ReactInstance cannot overwritten by third-party JavaScript code. It also
19
+ * ensures that third-party JavaScript code unaware of these globals isn't able
20
+ * to accidentally access them. In JavaScript, equivalent to:
21
+ *
22
+ * Object.defineProperty(global, propName, {
23
+ * value: value
24
+ * })
25
+ */
26
+ void defineReadOnlyGlobal(
27
+ jsi::Runtime& runtime,
28
+ const std::string& propName,
29
+ jsi::Value&& value);
30
+
31
+ } // namespace facebook::react
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ namespace facebook::react::LowPriorityExecutor {
11
+
12
+ void execute(std::function<void()>&& workItem);
13
+
14
+ } // namespace facebook::react::LowPriorityExecutor
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <functional>
11
+
12
+ namespace facebook::react::LowPriorityExecutor {
13
+
14
+ inline void execute(std::function<void()>&& workItem) {
15
+ workItem();
16
+ }
17
+
18
+ } // namespace facebook::react::LowPriorityExecutor
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ #include <folly/dynamic.h>
11
+
12
+ namespace facebook::react {
13
+
14
+ folly::dynamic convertIdToFollyDynamic(id json);
15
+ id convertFollyDynamicToId(const folly::dynamic &dyn);
16
+ NSArray<NSString *> *extractKeysFromFollyDynamic(const folly::dynamic &dyn);
17
+
18
+ } // namespace facebook::react
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <functional>
11
+
12
+ namespace facebook::react::LowPriorityExecutor {
13
+
14
+ void execute(std::function<void()>&& workItem);
15
+
16
+ } // namespace facebook::react::LowPriorityExecutor
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ namespace facebook::react {
11
+
12
+ /**
13
+ * constexpr version of tolower
14
+ */
15
+ constexpr char toLower(char c) {
16
+ if (c >= 'A' && c <= 'Z') {
17
+ return static_cast<char>(c + 32);
18
+ }
19
+ return c;
20
+ }
21
+
22
+ } // namespace facebook::react
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #pragma once
9
+
10
+ #include <type_traits>
11
+
12
+ namespace facebook::react {
13
+
14
+ /**
15
+ * Polyfill of C++ 23 to_underlying()
16
+ * https://en.cppreference.com/w/cpp/utility/to_underlying
17
+ */
18
+ constexpr auto to_underlying(auto e) noexcept {
19
+ return static_cast<std::underlying_type_t<decltype(e)>>(e);
20
+ }
21
+
22
+ } // namespace facebook::react
package/cli/init.js ADDED
@@ -0,0 +1,155 @@
1
+ #!/usr/bin/env node
2
+ // @ts-check
3
+ const fs = require('node:fs');
4
+ const path = require('node:path');
5
+ const { spawn } = require('node:child_process');
6
+
7
+ const TEMPLATES = path.join(__dirname, '..', 'plugin', 'templates');
8
+ const ENTRY_NAMES = [
9
+ 'index.watchos.tsx',
10
+ 'index.watchos.ts',
11
+ 'index.watchos.jsx',
12
+ 'index.watchos.js',
13
+ ];
14
+
15
+ function help() {
16
+ console.log('Usage: npx react-native-watchos init');
17
+ console.log('');
18
+ console.log('Scaffolds a watchOS target via @bacons/apple-targets and wires');
19
+ console.log('@appsent-co/react-native-watchos into app.json.');
20
+ }
21
+
22
+ async function main() {
23
+ const cmd = process.argv[2];
24
+ if (cmd === '-h' || cmd === '--help' || cmd === 'help') {
25
+ help();
26
+ return;
27
+ }
28
+ if (cmd !== 'init') {
29
+ help();
30
+ process.exit(1);
31
+ }
32
+
33
+ const cwd = process.cwd();
34
+ const targetsRoot = path.join(cwd, 'targets');
35
+ const existing = listWatchTargets(targetsRoot);
36
+
37
+ console.log('› Running `npx create-target watch`…');
38
+ await spawnInherit('npx', ['--yes', 'create-target', 'watch']);
39
+
40
+ const after = listWatchTargets(targetsRoot);
41
+ const created = after.find((d) => !existing.includes(d)) || after[0];
42
+ if (!created) {
43
+ console.error(
44
+ '\nCould not locate the generated watch target under ./targets/.'
45
+ );
46
+ console.error('Skipping ContentView.swift and app.json wiring.');
47
+ process.exit(1);
48
+ }
49
+
50
+ const targetName = path.basename(created);
51
+ writeContentView(created);
52
+ writeEntryFile(cwd);
53
+ patchAppJson(cwd, targetName);
54
+
55
+ console.log('');
56
+ console.log('✓ @appsent-co/react-native-watchos wired up.');
57
+ console.log(` • Target: targets/${targetName}/`);
58
+ console.log(' • Entry: index.watchos.tsx');
59
+ console.log(' • Next: npx expo prebuild -p ios --clean');
60
+ }
61
+
62
+ function listWatchTargets(targetsRoot) {
63
+ if (!fs.existsSync(targetsRoot)) return [];
64
+ const out = [];
65
+ for (const name of fs.readdirSync(targetsRoot)) {
66
+ const dir = path.join(targetsRoot, name);
67
+ if (!fs.statSync(dir).isDirectory()) continue;
68
+ if (isWatchTargetConfig(dir)) out.push(dir);
69
+ }
70
+ return out;
71
+ }
72
+
73
+ function isWatchTargetConfig(dir) {
74
+ for (const f of ['expo-target.config.json', 'expo-target.config.js']) {
75
+ const p = path.join(dir, f);
76
+ if (!fs.existsSync(p)) continue;
77
+ const content = fs.readFileSync(p, 'utf8');
78
+ if (/['"]?type['"]?\s*:\s*['"]watch['"]/.test(content)) return true;
79
+ }
80
+ return false;
81
+ }
82
+
83
+ function writeContentView(targetDir) {
84
+ const dest = path.join(targetDir, 'ContentView.swift');
85
+ const src = path.join(TEMPLATES, 'ContentView.swift');
86
+ fs.copyFileSync(src, dest);
87
+ console.log(`› Wrote ${path.relative(process.cwd(), dest)}`);
88
+ }
89
+
90
+ function writeEntryFile(cwd) {
91
+ for (const name of ENTRY_NAMES) {
92
+ if (fs.existsSync(path.join(cwd, name))) {
93
+ console.log(`› Found existing ${name} — leaving untouched.`);
94
+ return;
95
+ }
96
+ }
97
+ const dest = path.join(cwd, 'index.watchos.tsx');
98
+ fs.copyFileSync(path.join(TEMPLATES, 'index.watchos.tsx'), dest);
99
+ console.log(`› Wrote ${path.relative(cwd, dest)}`);
100
+ }
101
+
102
+ function patchAppJson(cwd, targetName) {
103
+ const p = path.join(cwd, 'app.json');
104
+ if (!fs.existsSync(p)) {
105
+ console.warn('');
106
+ console.warn('! app.json not found. If you use app.config.{js,ts}, add:');
107
+ console.warn(
108
+ ` ["@appsent-co/react-native-watchos", { "targetName": "${targetName}" }]`
109
+ );
110
+ console.warn(' to plugins, after "@bacons/apple-targets".');
111
+ return;
112
+ }
113
+
114
+ const raw = fs.readFileSync(p, 'utf8');
115
+ const json = JSON.parse(raw);
116
+ const expo = (json.expo = json.expo || {});
117
+ const plugins = (expo.plugins = expo.plugins || []);
118
+
119
+ const isEntry = (entry, name) =>
120
+ Array.isArray(entry) ? entry[0] === name : entry === name;
121
+
122
+ if (plugins.some((e) => isEntry(e, '@appsent-co/react-native-watchos'))) {
123
+ console.log(
124
+ '› @appsent-co/react-native-watchos plugin already present in app.json.'
125
+ );
126
+ return;
127
+ }
128
+
129
+ const entry = ['@appsent-co/react-native-watchos', { targetName }];
130
+ const baconIdx = plugins.findIndex((e) =>
131
+ isEntry(e, '@bacons/apple-targets')
132
+ );
133
+ if (baconIdx >= 0) plugins.splice(baconIdx + 1, 0, entry);
134
+ else plugins.push(entry);
135
+
136
+ fs.writeFileSync(p, JSON.stringify(json, null, 2) + '\n');
137
+ console.log(`› Patched ${path.relative(cwd, p)}`);
138
+ }
139
+
140
+ function spawnInherit(cmd, args) {
141
+ return new Promise((resolve, reject) => {
142
+ const child = spawn(cmd, args, { stdio: 'inherit' });
143
+ child.on('error', reject);
144
+ child.on('exit', (code) =>
145
+ code === 0
146
+ ? resolve()
147
+ : reject(new Error(`${cmd} ${args.join(' ')} exited with ${code}`))
148
+ );
149
+ });
150
+ }
151
+
152
+ main().catch((err) => {
153
+ console.error(err.message || err);
154
+ process.exit(1);
155
+ });
@@ -0,0 +1,76 @@
1
+ require 'json'
2
+ require 'open3'
3
+ require 'pathname'
4
+ require 'cocoapods-core'
5
+
6
+ # `use_watchos_modules!` — autolink third-party RN modules into a watch target.
7
+ #
8
+ # Designed to be called from inside a `target '<watch>' do ... end` block.
9
+ # Mirrors RN's `use_native_modules!` but filters to packages whose podspec
10
+ # declares `:watchos =>` in `s.platforms`. That declaration is the explicit
11
+ # opt-in signal from the package author that the pod is expected to compile
12
+ # against the watchOS SDK.
13
+ #
14
+ # Reuses the same `react-native config` invocation the iOS target uses so
15
+ # we share the dependency graph; the only divergence is the post-filter.
16
+ #
17
+ # Expo bare: Bare RN:
18
+ # targets/watch/pods.rb ios/Podfile
19
+ # (auto-loaded by apple-targets extension) (hand-managed)
20
+ #
21
+ # Both call the same method.
22
+ def use_watchos_modules!(opts = {})
23
+ config_command = opts[:config_command] || [
24
+ 'npx', '--no-install', '@react-native-community/cli', 'config'
25
+ ]
26
+
27
+ # Splat the array straight to Open3 — joining with spaces and going through
28
+ # the shell would mangle args that contain quoted Node expressions like
29
+ # `require('expo/bin/autolinking')`.
30
+ raw, status = Open3.capture2(*config_command)
31
+ unless status.success? && !raw.strip.empty?
32
+ Pod::UI.warn "[@appsent-co/react-native-watchos] autolink: `#{config_command.join(' ')}` produced no usable output; skipping"
33
+ return
34
+ end
35
+
36
+ config = JSON.parse(raw)
37
+ deps = config['dependencies'] || {}
38
+
39
+ deps.each do |name, dep|
40
+ podspec_path = dep.dig('platforms', 'ios', 'podspecPath')
41
+ next unless podspec_path.is_a?(String) && File.exist?(podspec_path)
42
+
43
+ # Pass through the path as-is from react-native config. Resolving
44
+ # symlinks here would diverge from the iOS-side autolinker's declaration
45
+ # of the same pod and CocoaPods would reject it as a duplicate source.
46
+ # The caller MUST hand us the same `config_command` the iOS Podfile uses
47
+ # so both invocations return byte-identical paths.
48
+
49
+ spec = begin
50
+ Pod::Specification.from_file(podspec_path)
51
+ rescue StandardError => e
52
+ Pod::UI.warn "[@appsent-co/react-native-watchos] autolink: could not load #{name} podspec (#{e.message}); skipping"
53
+ next
54
+ end
55
+
56
+ # `available_platforms` returns Pod::Platform objects; `name` is the symbol.
57
+ has_watchos = spec.available_platforms.any? { |p| p.name == :watchos }
58
+ next unless has_watchos
59
+
60
+ # `pod` requires the podspec's own `s.name`, not the npm package name —
61
+ # they often differ (e.g. `react-native-worklets` → `RNWorklets`).
62
+ # CocoaPods resolves `:path` by looking for `<spec.name>.podspec` there.
63
+ #
64
+ # Path MUST match the form the iOS autolinker used (relative to the
65
+ # Pods installation root, i.e. `example/ios`). CocoaPods compares the
66
+ # `:path` strings byte-for-byte when deduping — an absolute path here vs.
67
+ # a relative path on the iOS side counts as two different sources for
68
+ # the same pod and aborts the install.
69
+ pods_root = Pathname.new(Pod::Config.instance.installation_root)
70
+ relative_dir = Pathname.new(File.dirname(podspec_path))
71
+ .relative_path_from(pods_root)
72
+ .to_s
73
+ Pod::UI.puts "[@appsent-co/react-native-watchos] autolinking #{name} as #{spec.name} (watchOS)"
74
+ pod spec.name, :path => relative_dir
75
+ end
76
+ end
@@ -0,0 +1,23 @@
1
+ export interface MetroResolverConfig {
2
+ platforms?: string[];
3
+ unstable_conditionsByPlatform?: { [platform: string]: string[] };
4
+ [key: string]: unknown;
5
+ }
6
+
7
+ export interface MetroConfigLike {
8
+ resolver?: MetroResolverConfig;
9
+ [key: string]: unknown;
10
+ }
11
+
12
+ /**
13
+ * Mutates and returns the given Metro config so that `watchos` is a known
14
+ * resolver platform. Once registered, Metro resolves
15
+ * `foo.watchos.{ts,tsx,js,jsx}` before falling back to `foo.{ts,tsx,js,jsx}`
16
+ * whenever a bundle is requested with `?platform=watchos`.
17
+ *
18
+ * Idempotent: safe to call more than once on the same config.
19
+ */
20
+ export function withWatchosMetro<T extends MetroConfigLike>(config: T): T;
21
+
22
+ declare const _default: typeof withWatchosMetro;
23
+ export default _default;
@@ -0,0 +1 @@
1
+ module.exports = require('./plugin/src/withWatchosMetro');