@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.
- package/LICENSE +20 -0
- package/README.md +94 -0
- package/RNWatchConnectivity.podspec +77 -0
- package/app.plugin.js +1 -0
- package/apple/Package.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/DevSupport/ErrorToast.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/DevSupport/ShakeDetector.swift +42 -0
- package/apple/Sources/ReactNativeWatchOS/EventBus.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAction.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityActions.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAddTraits.swift +48 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityElement.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHidden.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHint.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityIdentifier.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityLabel.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityRemoveTraits.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityValue.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Alert.swift +81 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AlignmentGuide.swift +53 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsHitTesting.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsTightening.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Animation.swift +63 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Antialiased.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AspectRatio.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AutocorrectionDisabled.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Background.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundExtensionEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundStyle.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BaselineOffset.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BlendMode.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Blur.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Bold.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Border.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Brightness.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonBorderShape.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonRepeatBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonSizing.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonStyle.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ClipShape.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Clipped.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorInvert.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorMultiply.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorScheme.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CompositingGroup.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ConfirmationDialog.swift +91 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerBackground.swift +34 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerRelativeFrame.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerShape.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerValue.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentMargins.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentShape.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContextMenu.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Contrast.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ControlSize.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CoordinateSpace.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CornerRadius.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DatePickerStyle.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultAppStorage.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultScrollAnchor.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DeleteDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownAccessory.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownRotation.swift +100 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Disabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DrawingGroup.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DynamicTypeSize.swift +36 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Environment.swift +40 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/EnvironmentObject.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FixedSize.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Focusable.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Focused.swift +52 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Font.swift +65 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FontDesign.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FontWeight.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundColor.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundStyle.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FormStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Frame.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FullScreenCover.swift +68 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GaugeStyle.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GeometryGroup.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Gesture.swift +68 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffect.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectID.swift +34 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectTransition.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectUnion.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Grayscale.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellAnchor.swift +38 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellColumns.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellUnsizedAxes.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridColumnAlignment.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HandGestureShortcut.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HeaderProminence.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Help.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Hidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HighPriorityGesture.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HueRotation.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Id.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/IgnoresSafeArea.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/InteractiveDismissDisabled.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Interpolation.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Italic.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Kerning.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelIconToTitleSpacing.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelReservedIconWidth.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelStyle.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabeledContentStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsHidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsVisibility.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LayoutPriority.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LineLimit.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LineSpacing.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListItemTint.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowBackground.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowInsets.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListSectionSpacing.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListStyle.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LuminanceToAlpha.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Mask.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedGeometryEffect.swift +50 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedTransitionSource.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MaterialActiveAppearance.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuActionDismissBehavior.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuOrder.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MinimumScaleFactor.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Monospaced.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MonospacedDigit.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MoveDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MultilineTextAlignment.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationBarBackButtonHidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationDestination.swift +64 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTitle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTransition.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Offset.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnAppear.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnChange.swift +60 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnDisappear.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnGeometryChange.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnLongPressGesture.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnOpenURL.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnReceive.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnSubmit.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnTapGesture.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Opacity.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Overlay.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Padding.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PickerStyle.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Position.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PreferredColorScheme.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationBackground.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCompactAdaptation.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCornerRadius.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDetents.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDragIndicator.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PrivacySensitive.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ProgressViewStyle.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ProjectionEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWAccessibilityModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWComponentStylesModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWContainerGridModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWControlsPolishModifiers.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWEnvironmentModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWFiltersModifiers.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGeometryModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGesturesModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGlassModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageScaleModifier.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageSymbolModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInputModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInteractionModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWLayoutModifiers.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWListsModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWNavigationModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWPresentationModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWScrollModifiers.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSearchModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWStylingModifiers.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolEffectModifier.swift +46 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolRenderingModeModifier.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolVariantModifier.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextModifiers.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextPolishModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWThemeModifiers.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWToolbarModifiers.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTransformsModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWWatchModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Redacted.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Refreshable.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RenderingMode.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Resizable.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Rotation3DEffect.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RotationEffect.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SafeAreaInset.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Saturation.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScaleEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollBounceBehavior.swift +53 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollClipDisabled.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollContentBackground.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDismissesKeyboard.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollIndicators.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollPosition.swift +67 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetBehavior.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetLayout.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchCompletion.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchPresentationToolbarBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchSuggestions.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchToolbarBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Searchable.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SelectionDisabled.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SensoryFeedback.swift +74 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Shadow.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Sheet.swift +64 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SimultaneousGesture.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SpringLoadingBehavior.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Strikethrough.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SubmitLabel.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SwipeActions.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TabItem.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TabViewStyle.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tag.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Task.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextCase.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextContentType.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextFieldStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextInputAutocapitalization.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextScale.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tint.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToggleStyle.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Toolbar.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarBackground.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarColorScheme.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleDisplayMode.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleMenu.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarVisibility.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tracking.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TransformEffect.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Transition.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TruncationMode.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Underline.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Unredacted.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ZIndex.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/RNWRootView.swift +141 -0
- package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOS.swift +290 -0
- package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOSView.swift +100 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ColorParser.swift +51 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ImageModifierRegistry.swift +31 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ModifierRegistry.swift +38 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ParamCoercion.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ParsersShared.swift +166 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/RNWModifierContext.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/RNWNodeRenderer.swift +56 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ShadowNodeSnapshot+Children.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/TextModifierRegistry.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ViewRegistry.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Views/AngularGradientView.swift +41 -0
- package/apple/Sources/ReactNativeWatchOS/Views/AsyncImageView.swift +168 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ButtonView.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Views/CapsuleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/CircleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ColorView.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ContentUnavailableViewView.swift +87 -0
- package/apple/Sources/ReactNativeWatchOS/Views/DatePickerView.swift +90 -0
- package/apple/Sources/ReactNativeWatchOS/Views/DividerView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/EllipseView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/EmptyViewView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/FormView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GaugeView.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GeometryReaderView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GridRowView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GridView.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GroupView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/HStackView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ImageView.swift +31 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LabelView.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LabeledContentView.swift +55 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyHGridView.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyHStackView.swift +41 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyVGridView.swift +97 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyVStackView.swift +39 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LinearGradientView.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LinkView.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ListView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ModifierContentView.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkDestinationView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkLabelView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkView.swift +40 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationStackView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/PickerView.swift +69 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ProgressViewView.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RadialGradientView.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RectangleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RoundedRectangleView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewReaderView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewView.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionFooterView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionHeaderView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionView.swift +45 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SecureFieldView.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ShareLinkView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SliderView.swift +60 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SpacerView.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Views/StepperView.swift +61 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TabViewView.swift +88 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TextFieldView.swift +50 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TextView.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TimelineViewView.swift +42 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ToggleView.swift +58 -0
- package/apple/Sources/ReactNativeWatchOS/Views/VStackView.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ViewThatFitsView.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ZStackView.swift +30 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWCallInvoker.h +175 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWHermesHost.mm +485 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWRCTEventEmitter.mm +32 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWShadowNode.mm +24 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModule.mm +706 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.mm +137 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.h +19 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.mm +383 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.h +20 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.mm +328 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.h +22 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.mm +597 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTRequired/RCTRequired.h +13 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTBridgeModule.h +88 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTCxxConvert.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTEventEmitter.h +71 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTManagedPointer.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactCommon/RCTTurboModule.h +187 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/module.modulemap +25 -0
- package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.h +23 -0
- package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.mm +406 -0
- package/build/xcframework/Hermes.xcframework/Info.plist +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/CompileJS.h +73 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/DebuggerAPI.h +505 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/Buffer.h +42 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CrashManager.h +107 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CtorConfig.h +148 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCConfig.h +231 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/HermesExport.h +14 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTrace.h +1527 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTraceParser.h +40 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TimerStats.h +23 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TraceInterpreter.h +284 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TracingRuntime.h +315 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes.h +211 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes_tracing.h +55 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Info.plist +28 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/hermes +0 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/CompileJS.h +73 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/DebuggerAPI.h +505 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/Buffer.h +42 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CrashManager.h +107 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CtorConfig.h +148 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCConfig.h +231 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/HermesExport.h +14 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTrace.h +1527 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTraceParser.h +40 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TimerStats.h +23 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TraceInterpreter.h +284 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TracingRuntime.h +315 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes.h +211 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes_tracing.h +55 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Info.plist +28 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/hermes +0 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/Info.plist +47 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/module.modulemap +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/module.modulemap +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/device/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/device/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/device/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/device/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/device/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/device/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/device/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/device/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/device/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/device/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/device/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/device/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/device/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/device/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/device/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/device/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/device/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/device/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/device/Headers/module.modulemap +25 -0
- package/build/xcframework/device/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/device/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/device/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/device/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/device/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/device/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/device/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/device/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/device/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/device/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/device/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/device/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/device/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/device/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/device/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/device/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/device/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/device/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/device/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/device/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/device/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/device/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/device/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/device/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/device/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/device/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/device/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/device/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/device/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/device/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/device/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/device/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/device/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/device/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/device/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/device/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/device/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/device/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/device/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/device/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/device/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/device/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/device/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/device/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/device/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/simulator/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/simulator/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/simulator/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/simulator/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/simulator/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/simulator/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/simulator/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/simulator/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/simulator/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/simulator/Headers/module.modulemap +25 -0
- package/build/xcframework/simulator/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/simulator/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/simulator/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/simulator/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/simulator/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/simulator/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/simulator/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/simulator/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/simulator/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/simulator/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/simulator/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/simulator/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/simulator/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/simulator/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/simulator/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/simulator/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/simulator/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/simulator/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/simulator/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/simulator/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/simulator/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/simulator/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/simulator/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/simulator/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/simulator/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/simulator/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/simulator/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/simulator/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/simulator/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/simulator/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/simulator/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/simulator/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/simulator/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/simulator/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/simulator/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/simulator/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/simulator/libReactNativeWatchOSCxx.a +0 -0
- package/cli/init.js +155 -0
- package/cocoapods/autolink.rb +76 -0
- package/metro-config.d.ts +23 -0
- package/metro-config.js +1 -0
- package/package.json +131 -0
- package/plugin/README.md +113 -0
- package/plugin/src/index.js +69 -0
- package/plugin/src/withSPMPackage.js +287 -0
- package/plugin/src/withWatchAutolinking.js +106 -0
- package/plugin/src/withWatchBundleScript.js +216 -0
- package/plugin/src/withWatchTurboModuleCodegen.js +469 -0
- package/plugin/src/withWatchosMetro.js +163 -0
- package/plugin/templates/ContentView.swift +29 -0
- package/plugin/templates/index.watchos.tsx +16 -0
- package/react-native.config.js +21 -0
- package/src/components/AngularGradient.tsx +15 -0
- package/src/components/AsyncImage.tsx +82 -0
- package/src/components/Button.tsx +25 -0
- package/src/components/Capsule.tsx +3 -0
- package/src/components/Circle.tsx +3 -0
- package/src/components/Color.tsx +57 -0
- package/src/components/ContentUnavailableView.tsx +47 -0
- package/src/components/DatePicker.tsx +40 -0
- package/src/components/Divider.tsx +3 -0
- package/src/components/Ellipse.tsx +3 -0
- package/src/components/EmptyView.tsx +3 -0
- package/src/components/Form.tsx +8 -0
- package/src/components/Gauge.tsx +21 -0
- package/src/components/GeometryReader.tsx +3 -0
- package/src/components/Grid.tsx +21 -0
- package/src/components/GridRow.tsx +9 -0
- package/src/components/Group.tsx +5 -0
- package/src/components/HStack.tsx +15 -0
- package/src/components/Image.tsx +10 -0
- package/src/components/Label.tsx +13 -0
- package/src/components/LabeledContent.tsx +39 -0
- package/src/components/LazyHGrid.tsx +16 -0
- package/src/components/LazyHStack.tsx +17 -0
- package/src/components/LazyVGrid.tsx +16 -0
- package/src/components/LazyVStack.tsx +12 -0
- package/src/components/LinearGradient.tsx +23 -0
- package/src/components/Link.tsx +8 -0
- package/src/components/List.tsx +14 -0
- package/src/components/NavigationLink.tsx +48 -0
- package/src/components/NavigationStack.tsx +9 -0
- package/src/components/Picker.tsx +39 -0
- package/src/components/ProgressView.tsx +19 -0
- package/src/components/RadialGradient.tsx +12 -0
- package/src/components/Rectangle.tsx +3 -0
- package/src/components/RoundedRectangle.tsx +11 -0
- package/src/components/ScrollView.tsx +10 -0
- package/src/components/ScrollViewReader.tsx +3 -0
- package/src/components/Section.tsx +37 -0
- package/src/components/SecureField.tsx +30 -0
- package/src/components/ShareLink.tsx +18 -0
- package/src/components/Slider.tsx +32 -0
- package/src/components/Spacer.tsx +8 -0
- package/src/components/Stepper.tsx +35 -0
- package/src/components/TabView.tsx +39 -0
- package/src/components/Text.tsx +16 -0
- package/src/components/TextField.tsx +30 -0
- package/src/components/TimelineView.tsx +13 -0
- package/src/components/Toggle.tsx +26 -0
- package/src/components/VStack.tsx +10 -0
- package/src/components/ViewThatFits.tsx +7 -0
- package/src/components/ZStack.tsx +18 -0
- package/src/createHostConfig.ts +223 -0
- package/src/createNativeView.ts +28 -0
- package/src/devSupport/index.ts +287 -0
- package/src/eventRegistry.ts +110 -0
- package/src/index.ts +160 -0
- package/src/modifiers/accessibility.ts +27 -0
- package/src/modifiers/accessibilityAction.ts +22 -0
- package/src/modifiers/accessibilityActions.ts +15 -0
- package/src/modifiers/accessibilityAddTraits.ts +23 -0
- package/src/modifiers/accessibilityElement.ts +16 -0
- package/src/modifiers/accessibilityHidden.ts +7 -0
- package/src/modifiers/accessibilityHint.ts +7 -0
- package/src/modifiers/accessibilityIdentifier.ts +7 -0
- package/src/modifiers/accessibilityLabel.ts +7 -0
- package/src/modifiers/accessibilityRemoveTraits.ts +11 -0
- package/src/modifiers/accessibilityValue.ts +7 -0
- package/src/modifiers/alert.ts +32 -0
- package/src/modifiers/alignmentGuide.ts +33 -0
- package/src/modifiers/allowsHitTesting.ts +8 -0
- package/src/modifiers/allowsTightening.ts +8 -0
- package/src/modifiers/animation.ts +38 -0
- package/src/modifiers/antialiased.ts +7 -0
- package/src/modifiers/aspectRatio.ts +19 -0
- package/src/modifiers/autocorrectionDisabled.ts +26 -0
- package/src/modifiers/background.ts +37 -0
- package/src/modifiers/backgroundExtensionEffect.ts +9 -0
- package/src/modifiers/backgroundStyle.ts +10 -0
- package/src/modifiers/baselineOffset.ts +8 -0
- package/src/modifiers/blendMode.ts +29 -0
- package/src/modifiers/blur.ts +17 -0
- package/src/modifiers/bold.ts +15 -0
- package/src/modifiers/border.ts +21 -0
- package/src/modifiers/brightness.ts +7 -0
- package/src/modifiers/buttonBorderShape.ts +16 -0
- package/src/modifiers/buttonRepeatBehavior.ts +15 -0
- package/src/modifiers/buttonSizing.ts +17 -0
- package/src/modifiers/buttonStyle.ts +14 -0
- package/src/modifiers/clipShape.ts +24 -0
- package/src/modifiers/clipped.ts +7 -0
- package/src/modifiers/colorInvert.ts +6 -0
- package/src/modifiers/colorMultiply.ts +9 -0
- package/src/modifiers/colorScheme.ts +10 -0
- package/src/modifiers/componentStyles.ts +19 -0
- package/src/modifiers/compositingGroup.ts +8 -0
- package/src/modifiers/confirmationDialog.ts +38 -0
- package/src/modifiers/containerBackground.ts +39 -0
- package/src/modifiers/containerGrid.ts +40 -0
- package/src/modifiers/containerRelativeFrame.ts +32 -0
- package/src/modifiers/containerShape.ts +35 -0
- package/src/modifiers/containerValue.ts +22 -0
- package/src/modifiers/contentMargins.ts +36 -0
- package/src/modifiers/contentShape.ts +27 -0
- package/src/modifiers/contextMenu.ts +26 -0
- package/src/modifiers/contrast.ts +8 -0
- package/src/modifiers/controlSize.ts +15 -0
- package/src/modifiers/controlsPolish.ts +23 -0
- package/src/modifiers/coordinateSpace.ts +21 -0
- package/src/modifiers/cornerRadius.ts +16 -0
- package/src/modifiers/createModifier.ts +13 -0
- package/src/modifiers/datePickerStyle.ts +10 -0
- package/src/modifiers/defaultAppStorage.ts +22 -0
- package/src/modifiers/defaultScrollAnchor.ts +26 -0
- package/src/modifiers/deleteDisabled.ts +7 -0
- package/src/modifiers/digitalCrownAccessory.ts +27 -0
- package/src/modifiers/digitalCrownRotation.ts +29 -0
- package/src/modifiers/disabled.ts +20 -0
- package/src/modifiers/drawingGroup.ts +14 -0
- package/src/modifiers/dynamicTypeSize.ts +24 -0
- package/src/modifiers/environment.modifier.ts +38 -0
- package/src/modifiers/environment.ts +17 -0
- package/src/modifiers/environmentObject.ts +21 -0
- package/src/modifiers/filters.ts +19 -0
- package/src/modifiers/fixedSize.ts +17 -0
- package/src/modifiers/focusable.ts +20 -0
- package/src/modifiers/focused.ts +17 -0
- package/src/modifiers/font.ts +48 -0
- package/src/modifiers/fontDesign.ts +18 -0
- package/src/modifiers/fontWeight.ts +15 -0
- package/src/modifiers/foregroundColor.ts +9 -0
- package/src/modifiers/foregroundStyle.ts +11 -0
- package/src/modifiers/formStyle.ts +10 -0
- package/src/modifiers/frame.ts +34 -0
- package/src/modifiers/fullScreenCover.ts +29 -0
- package/src/modifiers/gaugeStyle.ts +17 -0
- package/src/modifiers/geometry.ts +17 -0
- package/src/modifiers/geometryGroup.ts +8 -0
- package/src/modifiers/gesture.ts +30 -0
- package/src/modifiers/gestures.ts +14 -0
- package/src/modifiers/glass.ts +25 -0
- package/src/modifiers/glassEffect.ts +26 -0
- package/src/modifiers/glassEffectID.ts +19 -0
- package/src/modifiers/glassEffectTransition.ts +24 -0
- package/src/modifiers/glassEffectUnion.ts +19 -0
- package/src/modifiers/grayscale.ts +7 -0
- package/src/modifiers/gridCellAnchor.ts +36 -0
- package/src/modifiers/gridCellColumns.ts +21 -0
- package/src/modifiers/gridCellUnsizedAxes.ts +27 -0
- package/src/modifiers/gridColumnAlignment.ts +27 -0
- package/src/modifiers/handGestureShortcut.ts +30 -0
- package/src/modifiers/headerProminence.ts +11 -0
- package/src/modifiers/help.ts +17 -0
- package/src/modifiers/hidden.ts +22 -0
- package/src/modifiers/highPriorityGesture.ts +12 -0
- package/src/modifiers/hueRotation.ts +19 -0
- package/src/modifiers/id.ts +8 -0
- package/src/modifiers/ignoresSafeArea.ts +23 -0
- package/src/modifiers/imageScale.ts +9 -0
- package/src/modifiers/imageSymbol.ts +8 -0
- package/src/modifiers/input.ts +22 -0
- package/src/modifiers/interaction.ts +27 -0
- package/src/modifiers/interactiveDismissDisabled.ts +9 -0
- package/src/modifiers/interpolation.ts +10 -0
- package/src/modifiers/italic.ts +15 -0
- package/src/modifiers/kerning.ts +9 -0
- package/src/modifiers/labelIconToTitleSpacing.ts +13 -0
- package/src/modifiers/labelReservedIconWidth.ts +13 -0
- package/src/modifiers/labelStyle.ts +13 -0
- package/src/modifiers/labeledContentStyle.ts +10 -0
- package/src/modifiers/labelsHidden.ts +7 -0
- package/src/modifiers/labelsVisibility.ts +17 -0
- package/src/modifiers/layout.ts +23 -0
- package/src/modifiers/layoutPriority.ts +22 -0
- package/src/modifiers/lineLimit.ts +15 -0
- package/src/modifiers/lineSpacing.ts +15 -0
- package/src/modifiers/listItemTint.ts +9 -0
- package/src/modifiers/listRowBackground.ts +15 -0
- package/src/modifiers/listRowInsets.ts +15 -0
- package/src/modifiers/listSectionSpacing.ts +26 -0
- package/src/modifiers/listStyle.ts +11 -0
- package/src/modifiers/lists.ts +16 -0
- package/src/modifiers/luminanceToAlpha.ts +7 -0
- package/src/modifiers/mask.ts +30 -0
- package/src/modifiers/matchedGeometryEffect.ts +28 -0
- package/src/modifiers/matchedTransitionSource.ts +21 -0
- package/src/modifiers/materialActiveAppearance.ts +19 -0
- package/src/modifiers/menuActionDismissBehavior.ts +18 -0
- package/src/modifiers/menuOrder.ts +12 -0
- package/src/modifiers/minimumScaleFactor.ts +17 -0
- package/src/modifiers/monospaced.ts +15 -0
- package/src/modifiers/monospacedDigit.ts +8 -0
- package/src/modifiers/moveDisabled.ts +7 -0
- package/src/modifiers/multilineTextAlignment.ts +19 -0
- package/src/modifiers/navigation.ts +17 -0
- package/src/modifiers/navigationBarBackButtonHidden.ts +8 -0
- package/src/modifiers/navigationDestination.ts +26 -0
- package/src/modifiers/navigationTitle.ts +8 -0
- package/src/modifiers/navigationTransition.ts +28 -0
- package/src/modifiers/offset.ts +22 -0
- package/src/modifiers/onAppear.ts +10 -0
- package/src/modifiers/onChange.ts +15 -0
- package/src/modifiers/onDisappear.ts +10 -0
- package/src/modifiers/onGeometryChange.ts +21 -0
- package/src/modifiers/onLongPressGesture.ts +30 -0
- package/src/modifiers/onOpenURL.ts +12 -0
- package/src/modifiers/onReceive.ts +34 -0
- package/src/modifiers/onSubmit.ts +25 -0
- package/src/modifiers/onTapGesture.ts +27 -0
- package/src/modifiers/opacity.ts +14 -0
- package/src/modifiers/overlay.ts +29 -0
- package/src/modifiers/padding.ts +24 -0
- package/src/modifiers/pickerStyle.ts +9 -0
- package/src/modifiers/position.ts +24 -0
- package/src/modifiers/preferredColorScheme.ts +9 -0
- package/src/modifiers/presentation.ts +21 -0
- package/src/modifiers/presentationBackground.ts +35 -0
- package/src/modifiers/presentationCompactAdaptation.ts +24 -0
- package/src/modifiers/presentationCornerRadius.ts +13 -0
- package/src/modifiers/presentationDetents.ts +37 -0
- package/src/modifiers/presentationDragIndicator.ts +14 -0
- package/src/modifiers/privacySensitive.ts +8 -0
- package/src/modifiers/progressViewStyle.ts +10 -0
- package/src/modifiers/projectionEffect.ts +13 -0
- package/src/modifiers/redacted.ts +12 -0
- package/src/modifiers/refreshable.ts +10 -0
- package/src/modifiers/renderingMode.ts +11 -0
- package/src/modifiers/resizable.ts +9 -0
- package/src/modifiers/rotation3DEffect.ts +22 -0
- package/src/modifiers/rotationEffect.ts +39 -0
- package/src/modifiers/safeAreaInset.ts +24 -0
- package/src/modifiers/saturation.ts +7 -0
- package/src/modifiers/scaleEffect.ts +33 -0
- package/src/modifiers/scaledTo.ts +15 -0
- package/src/modifiers/scroll.ts +45 -0
- package/src/modifiers/scrollBounceBehavior.ts +32 -0
- package/src/modifiers/scrollClipDisabled.ts +8 -0
- package/src/modifiers/scrollContentBackground.ts +29 -0
- package/src/modifiers/scrollDisabled.ts +7 -0
- package/src/modifiers/scrollDismissesKeyboard.ts +30 -0
- package/src/modifiers/scrollIndicators.ts +30 -0
- package/src/modifiers/scrollPosition.ts +19 -0
- package/src/modifiers/scrollTargetBehavior.ts +27 -0
- package/src/modifiers/scrollTargetLayout.ts +9 -0
- package/src/modifiers/search.ts +21 -0
- package/src/modifiers/searchCompletion.ts +30 -0
- package/src/modifiers/searchPresentationToolbarBehavior.ts +31 -0
- package/src/modifiers/searchSuggestions.ts +21 -0
- package/src/modifiers/searchToolbarBehavior.ts +27 -0
- package/src/modifiers/searchable.ts +25 -0
- package/src/modifiers/selectionDisabled.ts +7 -0
- package/src/modifiers/sensoryFeedback.ts +32 -0
- package/src/modifiers/shadow.ts +18 -0
- package/src/modifiers/sheet.ts +22 -0
- package/src/modifiers/simultaneousGesture.ts +15 -0
- package/src/modifiers/springLoadingBehavior.ts +13 -0
- package/src/modifiers/strikethrough.ts +19 -0
- package/src/modifiers/styling.ts +22 -0
- package/src/modifiers/submitLabel.ts +32 -0
- package/src/modifiers/swipeActions.ts +36 -0
- package/src/modifiers/symbolEffect.ts +20 -0
- package/src/modifiers/symbolRenderingMode.ts +13 -0
- package/src/modifiers/symbolVariant.ts +15 -0
- package/src/modifiers/tabItem.ts +19 -0
- package/src/modifiers/tabViewStyle.ts +14 -0
- package/src/modifiers/tag.ts +7 -0
- package/src/modifiers/task.ts +12 -0
- package/src/modifiers/text.ts +31 -0
- package/src/modifiers/textCase.ts +19 -0
- package/src/modifiers/textContentType.ts +36 -0
- package/src/modifiers/textFieldStyle.ts +10 -0
- package/src/modifiers/textInputAutocapitalization.ts +30 -0
- package/src/modifiers/textPolish.ts +7 -0
- package/src/modifiers/textScale.ts +14 -0
- package/src/modifiers/theme.ts +8 -0
- package/src/modifiers/tint.ts +9 -0
- package/src/modifiers/toggleStyle.ts +9 -0
- package/src/modifiers/toolbar.ts +27 -0
- package/src/modifiers/toolbarBackground.ts +34 -0
- package/src/modifiers/toolbarColorScheme.ts +32 -0
- package/src/modifiers/toolbarItems.ts +23 -0
- package/src/modifiers/toolbarTitleDisplayMode.ts +26 -0
- package/src/modifiers/toolbarTitleMenu.ts +21 -0
- package/src/modifiers/toolbarVisibility.ts +31 -0
- package/src/modifiers/tracking.ts +9 -0
- package/src/modifiers/transformEffect.ts +31 -0
- package/src/modifiers/transforms.ts +17 -0
- package/src/modifiers/transition.ts +35 -0
- package/src/modifiers/truncationMode.ts +18 -0
- package/src/modifiers/underline.ts +18 -0
- package/src/modifiers/unredacted.ts +7 -0
- package/src/modifiers/watch.ts +21 -0
- package/src/modifiers/zIndex.ts +20 -0
- package/src/polyfills.ts +206 -0
- package/src/reactNativeShim.ts +113 -0
- package/src/render.ts +78 -0
- package/src/setupConsole.ts +78 -0
- package/src/setupSelfGlobal.ts +12 -0
- package/src/types/GridItem.ts +39 -0
- package/src/types.ts +24 -0
- package/src/useEventHandler.ts +31 -0
- package/src/useModifiers.ts +126 -0
- package/src/watchConnectivity/eventBridge.ts +32 -0
- package/src/watchConnectivity/index.ts +195 -0
- package/src/watchConnectivity/specs/NativeWatchConnectivity.ts +56 -0
- package/src/watchConnectivity/types.ts +64 -0
- package/src/whatwg-fetch.d.ts +5 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <ReactCommon/CallInvoker.h>
|
|
4
|
+
#include <jsi/jsi.h>
|
|
5
|
+
|
|
6
|
+
#include <atomic>
|
|
7
|
+
#include <cstdio>
|
|
8
|
+
#include <dispatch/dispatch.h>
|
|
9
|
+
|
|
10
|
+
namespace facebook::react {
|
|
11
|
+
|
|
12
|
+
// Scheduler around the serial GCD queue that owns Hermes. Two flavors:
|
|
13
|
+
// * `runAsync` / `runSync` — raw transport, no microtask drain.
|
|
14
|
+
// * `runOnJS*` / `invokeOnJS` — call into the runtime AND drain the Hermes
|
|
15
|
+
// microtask queue after the block returns. Use this anywhere a callback
|
|
16
|
+
// talks to the runtime. Hermes runs with `withMicrotaskQueue(true)`, so
|
|
17
|
+
// Promise/await/queueMicrotask continuations sit forever without a drain.
|
|
18
|
+
//
|
|
19
|
+
// The queue is tagged with `dispatch_queue_set_specific(queue, key, …)` so
|
|
20
|
+
// `dispatch_get_specific(key)` answers "am I on the JS queue?" — the sync
|
|
21
|
+
// variants use this to avoid self-deadlock when called re-entrantly.
|
|
22
|
+
struct RNWJSQueue {
|
|
23
|
+
dispatch_queue_t queue;
|
|
24
|
+
const void* key;
|
|
25
|
+
// Settable post-construction: the runtime is built ON the queue, after
|
|
26
|
+
// this struct exists. Null before installation → all `*OnJS` helpers no-op.
|
|
27
|
+
jsi::Runtime* runtime = nullptr;
|
|
28
|
+
|
|
29
|
+
bool isCurrent() const noexcept {
|
|
30
|
+
return dispatch_get_specific(key) != nullptr;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
void runAsync(dispatch_block_t block) const noexcept {
|
|
34
|
+
dispatch_async(queue, block);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Re-entrant safe.
|
|
38
|
+
void runSync(dispatch_block_t block) const {
|
|
39
|
+
if (isCurrent()) {
|
|
40
|
+
block();
|
|
41
|
+
} else {
|
|
42
|
+
dispatch_sync(queue, block);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
void runOnJS(void (^block)(jsi::Runtime& rt)) const noexcept {
|
|
47
|
+
jsi::Runtime* rt = runtime;
|
|
48
|
+
if (block == nil || rt == nullptr) return;
|
|
49
|
+
dispatch_async(queue, ^{
|
|
50
|
+
block(*rt);
|
|
51
|
+
rt->drainMicrotasks();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Backs setTimeout.
|
|
56
|
+
void runOnJSAfter(int64_t delayNs,
|
|
57
|
+
void (^block)(jsi::Runtime& rt)) const noexcept {
|
|
58
|
+
jsi::Runtime* rt = runtime;
|
|
59
|
+
if (block == nil || rt == nullptr) return;
|
|
60
|
+
dispatch_after(
|
|
61
|
+
dispatch_time(DISPATCH_TIME_NOW, delayNs),
|
|
62
|
+
queue,
|
|
63
|
+
^{
|
|
64
|
+
block(*rt);
|
|
65
|
+
rt->drainMicrotasks();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Re-entrant from the JS queue runs inline.
|
|
70
|
+
void runOnJSSync(void (^block)(jsi::Runtime& rt)) const {
|
|
71
|
+
jsi::Runtime* rt = runtime;
|
|
72
|
+
if (block == nil || rt == nullptr) return;
|
|
73
|
+
if (isCurrent()) {
|
|
74
|
+
block(*rt);
|
|
75
|
+
rt->drainMicrotasks();
|
|
76
|
+
} else {
|
|
77
|
+
dispatch_sync(queue, ^{
|
|
78
|
+
block(*rt);
|
|
79
|
+
rt->drainMicrotasks();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Caller is already on the JS queue (e.g. a GCD dispatch source firing on
|
|
85
|
+
// this queue) — invoke inline and drain, no re-dispatch.
|
|
86
|
+
void invokeOnJS(void (^block)(jsi::Runtime& rt)) const noexcept {
|
|
87
|
+
jsi::Runtime* rt = runtime;
|
|
88
|
+
if (block == nil || rt == nullptr) return;
|
|
89
|
+
block(*rt);
|
|
90
|
+
rt->drainMicrotasks();
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
// JS-side CallInvoker. Routes through `runOnJS*` so TurboModule callbacks
|
|
95
|
+
// drain microtasks — without that, a TurboModule resolving a Promise would
|
|
96
|
+
// queue its `.then` continuation and never run it.
|
|
97
|
+
class RNWJSQueueCallInvoker : public CallInvoker {
|
|
98
|
+
public:
|
|
99
|
+
explicit RNWJSQueueCallInvoker(RNWJSQueue jsQueue) noexcept
|
|
100
|
+
: jsQueue_(jsQueue) {}
|
|
101
|
+
|
|
102
|
+
void invokeAsync(CallFunc&& func) noexcept override {
|
|
103
|
+
auto shared = std::make_shared<CallFunc>(std::move(func));
|
|
104
|
+
jsQueue_.runOnJS(^(jsi::Runtime& rt) {
|
|
105
|
+
// Uncaught C++ exceptions inside `dispatch_async` call std::terminate.
|
|
106
|
+
// Surface them via stderr instead (Xcode + eventually Metro).
|
|
107
|
+
try {
|
|
108
|
+
(*shared)(rt);
|
|
109
|
+
} catch (const jsi::JSError& e) {
|
|
110
|
+
fprintf(stderr, "[RNWJSQueueCallInvoker] JS error: %s\n",
|
|
111
|
+
e.getMessage().c_str());
|
|
112
|
+
} catch (const std::exception& e) {
|
|
113
|
+
fprintf(stderr, "[RNWJSQueueCallInvoker] exception: %s\n", e.what());
|
|
114
|
+
} catch (...) {
|
|
115
|
+
fprintf(stderr, "[RNWJSQueueCallInvoker] unknown C++ exception\n");
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
void invokeSync(CallFunc&& func) override {
|
|
121
|
+
auto shared = std::make_shared<CallFunc>(std::move(func));
|
|
122
|
+
jsQueue_.runOnJSSync(^(jsi::Runtime& rt) {
|
|
123
|
+
// Sync variant rethrows after logging so the caller still sees it.
|
|
124
|
+
try {
|
|
125
|
+
(*shared)(rt);
|
|
126
|
+
} catch (const jsi::JSError& e) {
|
|
127
|
+
fprintf(stderr, "[RNWJSQueueCallInvoker] sync JS error: %s\n",
|
|
128
|
+
e.getMessage().c_str());
|
|
129
|
+
throw;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
using CallInvoker::invokeAsync;
|
|
135
|
+
using CallInvoker::invokeSync;
|
|
136
|
+
|
|
137
|
+
private:
|
|
138
|
+
RNWJSQueue jsQueue_;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
// Native-side method invoker. Serial (per RN's method-queue contract) so a
|
|
142
|
+
// slow native call doesn't stall the JS queue.
|
|
143
|
+
class RNWSerialNativeMethodCallInvoker : public NativeMethodCallInvoker {
|
|
144
|
+
public:
|
|
145
|
+
RNWSerialNativeMethodCallInvoker() {
|
|
146
|
+
queue_ = dispatch_queue_create(
|
|
147
|
+
"co.appsent.reactnativewatchos.tm-native",
|
|
148
|
+
DISPATCH_QUEUE_SERIAL);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
void invokeAsync(
|
|
152
|
+
const std::string& /*methodName*/,
|
|
153
|
+
NativeMethodCallFunc&& func) noexcept override {
|
|
154
|
+
auto shared = std::make_shared<NativeMethodCallFunc>(std::move(func));
|
|
155
|
+
dispatch_async(queue_, ^{
|
|
156
|
+
(*shared)();
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
void invokeSync(
|
|
161
|
+
const std::string& /*methodName*/,
|
|
162
|
+
NativeMethodCallFunc&& func) override {
|
|
163
|
+
// Caller is the JS queue (different serial queue) so dispatch_sync is
|
|
164
|
+
// safe — and main-thread UI keeps animating while JS blocks.
|
|
165
|
+
__block NativeMethodCallFunc f = std::move(func);
|
|
166
|
+
dispatch_sync(queue_, ^{
|
|
167
|
+
f();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
private:
|
|
172
|
+
dispatch_queue_t queue_;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
#import "ReactNativeWatchOSCxx/RNWHermesHost.h"
|
|
2
|
+
#import "ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h"
|
|
3
|
+
#import "ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h"
|
|
4
|
+
#import <ReactCommon/RCTTurboModule.h>
|
|
5
|
+
#import "RNWCallInvoker.h"
|
|
6
|
+
#import "RNWUIManager.h"
|
|
7
|
+
#import "RNWWebSocket.h"
|
|
8
|
+
#import "RNWXHR.h"
|
|
9
|
+
|
|
10
|
+
#import <hermes/hermes.h>
|
|
11
|
+
#import <jsi/jsi.h>
|
|
12
|
+
|
|
13
|
+
#include <ReactCommon/TurboModule.h>
|
|
14
|
+
#include <ReactCommon/TurboModuleBinding.h>
|
|
15
|
+
|
|
16
|
+
#include <cstdint>
|
|
17
|
+
#include <memory>
|
|
18
|
+
#include <string>
|
|
19
|
+
#include <unordered_map>
|
|
20
|
+
|
|
21
|
+
// Hermes declares both `::hermes` and `::facebook::hermes` — a blanket
|
|
22
|
+
// `using namespace facebook;` makes `hermes` ambiguous.
|
|
23
|
+
namespace jsi = facebook::jsi;
|
|
24
|
+
namespace fbhermes = facebook::hermes;
|
|
25
|
+
|
|
26
|
+
namespace {
|
|
27
|
+
|
|
28
|
+
// Identity key for `dispatch_queue_set_specific`. GCD compares by pointer.
|
|
29
|
+
char kRNWJSQueueKeyByte = 0;
|
|
30
|
+
void* const kRNWJSQueueKey = &kRNWJSQueueKeyByte;
|
|
31
|
+
|
|
32
|
+
} // namespace
|
|
33
|
+
|
|
34
|
+
@implementation RNWHermesHost {
|
|
35
|
+
std::shared_ptr<jsi::Runtime> _runtime;
|
|
36
|
+
// Serial queue that owns the runtime. Every `_runtime` access must
|
|
37
|
+
// happen here. Tagged with `kRNWJSQueueKey` so `dispatch_get_specific`
|
|
38
|
+
// can answer "am I on the JS queue?".
|
|
39
|
+
dispatch_queue_t _jsQueue;
|
|
40
|
+
facebook::react::RNWJSQueue _jsQueueRef;
|
|
41
|
+
std::unordered_map<uint64_t, std::shared_ptr<jsi::Function>> _timers;
|
|
42
|
+
// Interval-only: setTimeout uses one-shot dispatch_after.
|
|
43
|
+
std::unordered_map<uint64_t, dispatch_source_t> _intervalSources;
|
|
44
|
+
uint64_t _nextTimerId;
|
|
45
|
+
std::shared_ptr<facebook::react::CallInvoker> _jsCallInvoker;
|
|
46
|
+
std::shared_ptr<facebook::react::NativeMethodCallInvoker> _nativeMethodCallInvoker;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
- (instancetype)init {
|
|
50
|
+
if ((self = [super init])) {
|
|
51
|
+
_jsQueue = dispatch_queue_create(
|
|
52
|
+
"com.appsent.reactnativewatchos.js",
|
|
53
|
+
DISPATCH_QUEUE_SERIAL);
|
|
54
|
+
dispatch_queue_set_specific(_jsQueue, kRNWJSQueueKey, kRNWJSQueueKey, NULL);
|
|
55
|
+
_jsQueueRef = facebook::react::RNWJSQueue{_jsQueue, kRNWJSQueueKey};
|
|
56
|
+
_nextTimerId = 1;
|
|
57
|
+
|
|
58
|
+
// Construct and install on the JS queue so the "runtime touched only
|
|
59
|
+
// from the JS queue" invariant holds from the very first JSI call.
|
|
60
|
+
dispatch_sync(_jsQueue, ^{
|
|
61
|
+
// Microtask queue is required: without it `queueMicrotask` is
|
|
62
|
+
// absent, React's scheduler falls through to `setImmediate` (also
|
|
63
|
+
// absent), and Promise continuations may silently never fire.
|
|
64
|
+
// Every native→JS hop must drain afterwards — that's centralized
|
|
65
|
+
// in `RNWJSQueue::runOnJS*` / `invokeOnJS`; never
|
|
66
|
+
// `dispatch_async(_jsQueue, ...)` a block that touches the runtime.
|
|
67
|
+
auto runtimeConfig =
|
|
68
|
+
::hermes::vm::RuntimeConfig::Builder()
|
|
69
|
+
.withMicrotaskQueue(true)
|
|
70
|
+
.build();
|
|
71
|
+
_runtime = fbhermes::makeHermesRuntime(runtimeConfig);
|
|
72
|
+
// Must be set before any consumer captures `_jsQueueRef` by
|
|
73
|
+
// value (their copy would otherwise carry a null runtime pointer
|
|
74
|
+
// and silently skip the drain).
|
|
75
|
+
_jsQueueRef.runtime = _runtime.get();
|
|
76
|
+
_jsCallInvoker =
|
|
77
|
+
std::make_shared<facebook::react::RNWJSQueueCallInvoker>(
|
|
78
|
+
_jsQueueRef);
|
|
79
|
+
_nativeMethodCallInvoker =
|
|
80
|
+
std::make_shared<facebook::react::RNWSerialNativeMethodCallInvoker>();
|
|
81
|
+
[self installConsole];
|
|
82
|
+
[self installTimers];
|
|
83
|
+
[self installUIManager];
|
|
84
|
+
[self installReload];
|
|
85
|
+
rnwInstallWebSocket(*_runtime, _jsQueueRef);
|
|
86
|
+
rnwInstallXHR(*_runtime, _jsQueueRef);
|
|
87
|
+
[self installTurboModules];
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return self;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
- (void)dealloc {
|
|
94
|
+
// Hermes objects must be destroyed on the JS queue.
|
|
95
|
+
dispatch_queue_t queue = _jsQueue;
|
|
96
|
+
if (queue != nil) {
|
|
97
|
+
// Move into captures: ARC is already unwinding `self`, so its ivars
|
|
98
|
+
// can't be dereferenced from inside the block.
|
|
99
|
+
__block std::shared_ptr<jsi::Runtime> runtime = std::move(_runtime);
|
|
100
|
+
__block auto timers = std::move(_timers);
|
|
101
|
+
__block auto intervals = std::move(_intervalSources);
|
|
102
|
+
dispatch_sync(queue, ^{
|
|
103
|
+
for (auto &entry : intervals) {
|
|
104
|
+
dispatch_source_cancel(entry.second);
|
|
105
|
+
}
|
|
106
|
+
intervals.clear();
|
|
107
|
+
timers.clear();
|
|
108
|
+
runtime.reset();
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
- (void)installTurboModules {
|
|
114
|
+
using namespace facebook::react;
|
|
115
|
+
auto jsInvoker = _jsCallInvoker;
|
|
116
|
+
auto nativeInvoker = _nativeMethodCallInvoker;
|
|
117
|
+
TurboModuleBinding::install(
|
|
118
|
+
*_runtime,
|
|
119
|
+
[jsInvoker, nativeInvoker](const std::string &name) -> std::shared_ptr<TurboModule> {
|
|
120
|
+
NSString *nsName =
|
|
121
|
+
[[NSString alloc] initWithUTF8String:name.c_str()];
|
|
122
|
+
return [RNWTurboModuleRegistry.shared
|
|
123
|
+
lookupModuleNamed:nsName
|
|
124
|
+
jsInvoker:jsInvoker
|
|
125
|
+
nativeInvoker:nativeInvoker];
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
- (void)installReload {
|
|
130
|
+
jsi::Runtime &rt = *_runtime;
|
|
131
|
+
__weak typeof(self) weakSelf = self;
|
|
132
|
+
// Dispatch to main so the current JS callstack (Fast Refresh's
|
|
133
|
+
// `performFullRefresh`) unwinds before re-evaluating a new bundle.
|
|
134
|
+
auto reloadFn = jsi::Function::createFromHostFunction(
|
|
135
|
+
rt,
|
|
136
|
+
jsi::PropNameID::forAscii(rt, "__RNW_RELOAD"),
|
|
137
|
+
/*paramCount=*/0,
|
|
138
|
+
[weakSelf](jsi::Runtime &innerRt,
|
|
139
|
+
const jsi::Value &,
|
|
140
|
+
const jsi::Value *,
|
|
141
|
+
size_t) -> jsi::Value {
|
|
142
|
+
(void)innerRt;
|
|
143
|
+
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
144
|
+
if (strongSelf == nil) return jsi::Value::undefined();
|
|
145
|
+
void (^block)(void) = strongSelf.onReloadRequest;
|
|
146
|
+
if (block == nil) return jsi::Value::undefined();
|
|
147
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
148
|
+
block();
|
|
149
|
+
});
|
|
150
|
+
return jsi::Value::undefined();
|
|
151
|
+
});
|
|
152
|
+
rt.global().setProperty(rt, "__RNW_RELOAD", reloadFn);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
- (void)installUIManager {
|
|
156
|
+
__weak typeof(self) weakSelf = self;
|
|
157
|
+
rnwInstallUIManager(*_runtime, _jsCallInvoker, ^(NSArray<RNWShadowNodeSnapshot *> *root) {
|
|
158
|
+
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
159
|
+
if (strongSelf != nil && strongSelf.onCommit != nil) {
|
|
160
|
+
strongSelf.onCommit(root);
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
- (void)installTimers {
|
|
166
|
+
jsi::Runtime &rt = *_runtime;
|
|
167
|
+
__weak typeof(self) weakSelf = self;
|
|
168
|
+
|
|
169
|
+
auto setTimeoutFn = jsi::Function::createFromHostFunction(
|
|
170
|
+
rt,
|
|
171
|
+
jsi::PropNameID::forAscii(rt, "setTimeout"),
|
|
172
|
+
/*paramCount=*/2,
|
|
173
|
+
[weakSelf](jsi::Runtime &innerRt,
|
|
174
|
+
const jsi::Value &,
|
|
175
|
+
const jsi::Value *args,
|
|
176
|
+
size_t count) -> jsi::Value {
|
|
177
|
+
if (count < 1 || !args[0].isObject() ||
|
|
178
|
+
!args[0].getObject(innerRt).isFunction(innerRt)) {
|
|
179
|
+
throw jsi::JSError(innerRt,
|
|
180
|
+
"setTimeout: first argument must be a function");
|
|
181
|
+
}
|
|
182
|
+
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
183
|
+
if (strongSelf == nil) return jsi::Value(0.0);
|
|
184
|
+
|
|
185
|
+
auto fn = std::make_shared<jsi::Function>(
|
|
186
|
+
args[0].getObject(innerRt).getFunction(innerRt));
|
|
187
|
+
double ms = (count >= 2 && args[1].isNumber())
|
|
188
|
+
? args[1].getNumber() : 0;
|
|
189
|
+
|
|
190
|
+
uint64_t id = strongSelf->_nextTimerId++;
|
|
191
|
+
strongSelf->_timers[id] = fn;
|
|
192
|
+
|
|
193
|
+
// `runOnJSAfter` drains microtasks after the callback: React
|
|
194
|
+
// schedules render work via the setImmediate polyfill, which
|
|
195
|
+
// bottoms out here.
|
|
196
|
+
int64_t delayNs = (int64_t)(ms * NSEC_PER_MSEC);
|
|
197
|
+
strongSelf->_jsQueueRef.runOnJSAfter(delayNs, ^(jsi::Runtime &rt) {
|
|
198
|
+
__strong typeof(weakSelf) host = weakSelf;
|
|
199
|
+
if (host == nil) return;
|
|
200
|
+
auto it = host->_timers.find(id);
|
|
201
|
+
if (it == host->_timers.end()) return;
|
|
202
|
+
auto callback = it->second;
|
|
203
|
+
host->_timers.erase(it);
|
|
204
|
+
try {
|
|
205
|
+
callback->call(rt);
|
|
206
|
+
} catch (const jsi::JSError &e) {
|
|
207
|
+
NSLog(@"setTimeout callback threw: %s",
|
|
208
|
+
e.getMessage().c_str());
|
|
209
|
+
} catch (...) {
|
|
210
|
+
NSLog(@"setTimeout callback threw: unknown");
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
return jsi::Value(static_cast<double>(id));
|
|
214
|
+
});
|
|
215
|
+
rt.global().setProperty(rt, "setTimeout", setTimeoutFn);
|
|
216
|
+
|
|
217
|
+
// clearTimeout/clearInterval are interchangeable per spec — erase the
|
|
218
|
+
// callback (turning the pending dispatch into a no-op) and cancel the
|
|
219
|
+
// source if it was an interval.
|
|
220
|
+
void (^cancelTimer)(uint64_t) = ^(uint64_t id) {
|
|
221
|
+
__strong typeof(weakSelf) host = weakSelf;
|
|
222
|
+
if (host == nil) return;
|
|
223
|
+
host->_timers.erase(id);
|
|
224
|
+
auto srcIt = host->_intervalSources.find(id);
|
|
225
|
+
if (srcIt != host->_intervalSources.end()) {
|
|
226
|
+
dispatch_source_cancel(srcIt->second);
|
|
227
|
+
host->_intervalSources.erase(srcIt);
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
auto clearTimeoutFn = jsi::Function::createFromHostFunction(
|
|
232
|
+
rt,
|
|
233
|
+
jsi::PropNameID::forAscii(rt, "clearTimeout"),
|
|
234
|
+
/*paramCount=*/1,
|
|
235
|
+
[cancelTimer](jsi::Runtime &innerRt,
|
|
236
|
+
const jsi::Value &,
|
|
237
|
+
const jsi::Value *args,
|
|
238
|
+
size_t count) -> jsi::Value {
|
|
239
|
+
if (count < 1 || !args[0].isNumber()) return jsi::Value::undefined();
|
|
240
|
+
cancelTimer(static_cast<uint64_t>(args[0].getNumber()));
|
|
241
|
+
(void)innerRt;
|
|
242
|
+
return jsi::Value::undefined();
|
|
243
|
+
});
|
|
244
|
+
rt.global().setProperty(rt, "clearTimeout", clearTimeoutFn);
|
|
245
|
+
|
|
246
|
+
// Use a GCD dispatch source rather than chained dispatch_after so the
|
|
247
|
+
// re-arming is owned by the runtime (no recursive __block dance).
|
|
248
|
+
auto setIntervalFn = jsi::Function::createFromHostFunction(
|
|
249
|
+
rt,
|
|
250
|
+
jsi::PropNameID::forAscii(rt, "setInterval"),
|
|
251
|
+
/*paramCount=*/2,
|
|
252
|
+
[weakSelf](jsi::Runtime &innerRt,
|
|
253
|
+
const jsi::Value &,
|
|
254
|
+
const jsi::Value *args,
|
|
255
|
+
size_t count) -> jsi::Value {
|
|
256
|
+
if (count < 1 || !args[0].isObject() ||
|
|
257
|
+
!args[0].getObject(innerRt).isFunction(innerRt)) {
|
|
258
|
+
throw jsi::JSError(innerRt,
|
|
259
|
+
"setInterval: first argument must be a function");
|
|
260
|
+
}
|
|
261
|
+
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
262
|
+
if (strongSelf == nil) return jsi::Value(0.0);
|
|
263
|
+
|
|
264
|
+
auto fn = std::make_shared<jsi::Function>(
|
|
265
|
+
args[0].getObject(innerRt).getFunction(innerRt));
|
|
266
|
+
double ms = (count >= 2 && args[1].isNumber())
|
|
267
|
+
? args[1].getNumber() : 0;
|
|
268
|
+
uint64_t id = strongSelf->_nextTimerId++;
|
|
269
|
+
strongSelf->_timers[id] = fn;
|
|
270
|
+
|
|
271
|
+
int64_t intervalNs = (int64_t)(ms * NSEC_PER_MSEC);
|
|
272
|
+
dispatch_source_t source = dispatch_source_create(
|
|
273
|
+
DISPATCH_SOURCE_TYPE_TIMER, 0, 0, strongSelf->_jsQueue);
|
|
274
|
+
dispatch_source_set_timer(
|
|
275
|
+
source,
|
|
276
|
+
dispatch_time(DISPATCH_TIME_NOW, intervalNs),
|
|
277
|
+
(uint64_t)intervalNs,
|
|
278
|
+
/*leeway=*/0);
|
|
279
|
+
// Already on the JS queue (source's target queue is `_jsQueue`),
|
|
280
|
+
// so use `invokeOnJS` instead of re-dispatching via `runOnJS`.
|
|
281
|
+
dispatch_source_set_event_handler(source, ^{
|
|
282
|
+
__strong typeof(weakSelf) host = weakSelf;
|
|
283
|
+
if (host == nil) {
|
|
284
|
+
dispatch_source_cancel(source);
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
auto it = host->_timers.find(id);
|
|
288
|
+
if (it == host->_timers.end()) {
|
|
289
|
+
// clearInterval beat us here; stop firing.
|
|
290
|
+
dispatch_source_cancel(source);
|
|
291
|
+
host->_intervalSources.erase(id);
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
auto callback = it->second;
|
|
295
|
+
host->_jsQueueRef.invokeOnJS(^(jsi::Runtime &rt) {
|
|
296
|
+
try {
|
|
297
|
+
callback->call(rt);
|
|
298
|
+
} catch (const jsi::JSError &e) {
|
|
299
|
+
NSLog(@"setInterval callback threw: %s",
|
|
300
|
+
e.getMessage().c_str());
|
|
301
|
+
} catch (...) {
|
|
302
|
+
NSLog(@"setInterval callback threw: unknown");
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
});
|
|
306
|
+
strongSelf->_intervalSources[id] = source;
|
|
307
|
+
dispatch_resume(source);
|
|
308
|
+
return jsi::Value(static_cast<double>(id));
|
|
309
|
+
});
|
|
310
|
+
rt.global().setProperty(rt, "setInterval", setIntervalFn);
|
|
311
|
+
|
|
312
|
+
auto clearIntervalFn = jsi::Function::createFromHostFunction(
|
|
313
|
+
rt,
|
|
314
|
+
jsi::PropNameID::forAscii(rt, "clearInterval"),
|
|
315
|
+
/*paramCount=*/1,
|
|
316
|
+
[cancelTimer](jsi::Runtime &innerRt,
|
|
317
|
+
const jsi::Value &,
|
|
318
|
+
const jsi::Value *args,
|
|
319
|
+
size_t count) -> jsi::Value {
|
|
320
|
+
if (count < 1 || !args[0].isNumber()) return jsi::Value::undefined();
|
|
321
|
+
cancelTimer(static_cast<uint64_t>(args[0].getNumber()));
|
|
322
|
+
(void)innerRt;
|
|
323
|
+
return jsi::Value::undefined();
|
|
324
|
+
});
|
|
325
|
+
rt.global().setProperty(rt, "clearInterval", clearIntervalFn);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
- (void)installConsole {
|
|
329
|
+
jsi::Runtime &rt = *_runtime;
|
|
330
|
+
__weak typeof(self) weakSelf = self;
|
|
331
|
+
|
|
332
|
+
// String-only contract: the JS shim (`src/setupConsole.ts`) formats
|
|
333
|
+
// `console.<level>(...)` args into a single message before calling here.
|
|
334
|
+
auto logFn = jsi::Function::createFromHostFunction(
|
|
335
|
+
rt,
|
|
336
|
+
jsi::PropNameID::forAscii(rt, "__RNW_log"),
|
|
337
|
+
/*paramCount=*/2,
|
|
338
|
+
[weakSelf](jsi::Runtime &innerRt,
|
|
339
|
+
const jsi::Value &,
|
|
340
|
+
const jsi::Value *args,
|
|
341
|
+
size_t count) -> jsi::Value {
|
|
342
|
+
if (count < 2 || !args[0].isString() || !args[1].isString()) {
|
|
343
|
+
return jsi::Value::undefined();
|
|
344
|
+
}
|
|
345
|
+
std::string levelStr = args[0].getString(innerRt).utf8(innerRt);
|
|
346
|
+
std::string msgStr = args[1].getString(innerRt).utf8(innerRt);
|
|
347
|
+
RNWLogLevel level = RNWLogLevelLog;
|
|
348
|
+
if (levelStr == "warn") level = RNWLogLevelWarn;
|
|
349
|
+
else if (levelStr == "error") level = RNWLogLevelError;
|
|
350
|
+
else if (levelStr == "info") level = RNWLogLevelInfo;
|
|
351
|
+
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
352
|
+
if (strongSelf != nil && strongSelf.onConsoleLog != nil) {
|
|
353
|
+
NSString *message =
|
|
354
|
+
[[NSString alloc] initWithUTF8String:msgStr.c_str()];
|
|
355
|
+
void (^callback)(RNWLogLevel, NSString *) =
|
|
356
|
+
strongSelf.onConsoleLog;
|
|
357
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
358
|
+
callback(level, message);
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
return jsi::Value::undefined();
|
|
362
|
+
});
|
|
363
|
+
rt.global().setProperty(rt, "__RNW_log", logFn);
|
|
364
|
+
|
|
365
|
+
// Minimal bootstrap so logs from bundle init (before `setupConsole.ts`
|
|
366
|
+
// installs the rich shim) reach the host. JS shim overrides this.
|
|
367
|
+
static const char *kBootstrap =
|
|
368
|
+
"globalThis.console = {"
|
|
369
|
+
" log: function(m) { globalThis.__RNW_log('log', String(m)); },"
|
|
370
|
+
" warn: function(m) { globalThis.__RNW_log('warn', String(m)); },"
|
|
371
|
+
" error: function(m) { globalThis.__RNW_log('error', String(m)); },"
|
|
372
|
+
" info: function(m) { globalThis.__RNW_log('info', String(m)); }"
|
|
373
|
+
"};";
|
|
374
|
+
rt.evaluateJavaScript(
|
|
375
|
+
std::make_shared<jsi::StringBuffer>(std::string(kBootstrap)),
|
|
376
|
+
"rnw://internal/console-bootstrap.js");
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
- (void)fireEventWithHandlerId:(NSInteger)handlerId payload:(id)payload {
|
|
380
|
+
// Fire-and-forget so the SwiftUI action closure returns immediately.
|
|
381
|
+
// `runOnJS` drains microtasks after the handler so any React work it
|
|
382
|
+
// scheduled (setState → re-render) actually runs.
|
|
383
|
+
_jsQueueRef.runOnJS(^(jsi::Runtime &rt) {
|
|
384
|
+
try {
|
|
385
|
+
jsi::Value events = rt.global().getProperty(rt, "__RNW_EVENTS");
|
|
386
|
+
if (!events.isObject()) {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
jsi::Object eventsObj = events.getObject(rt);
|
|
390
|
+
jsi::Value dispatchVal = eventsObj.getProperty(rt, "dispatch");
|
|
391
|
+
if (!dispatchVal.isObject()) return;
|
|
392
|
+
jsi::Object dispatchObj = dispatchVal.getObject(rt);
|
|
393
|
+
if (!dispatchObj.isFunction(rt)) return;
|
|
394
|
+
jsi::Function dispatch = dispatchObj.getFunction(rt);
|
|
395
|
+
|
|
396
|
+
jsi::Value payloadVal =
|
|
397
|
+
payload != nil
|
|
398
|
+
? facebook::react::TurboModuleConvertUtils::
|
|
399
|
+
convertObjCObjectToJSIValue(rt, payload)
|
|
400
|
+
: jsi::Value::undefined();
|
|
401
|
+
dispatch.call(rt,
|
|
402
|
+
jsi::Value(static_cast<double>(handlerId)),
|
|
403
|
+
payloadVal);
|
|
404
|
+
} catch (const jsi::JSError &e) {
|
|
405
|
+
NSLog(@"fireEventWithHandlerId: JS error: %s",
|
|
406
|
+
e.getMessage().c_str());
|
|
407
|
+
} catch (const std::exception &e) {
|
|
408
|
+
NSLog(@"fireEventWithHandlerId: %s", e.what());
|
|
409
|
+
} catch (...) {
|
|
410
|
+
NSLog(@"fireEventWithHandlerId: unknown error");
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
- (void)fireEventByName:(NSString *)eventName payload:(id)payload {
|
|
416
|
+
std::string nameUtf8 = [eventName UTF8String];
|
|
417
|
+
_jsQueueRef.runOnJS(^(jsi::Runtime &rt) {
|
|
418
|
+
try {
|
|
419
|
+
jsi::Value events = rt.global().getProperty(rt, "__RNW_EVENTS");
|
|
420
|
+
if (!events.isObject()) return;
|
|
421
|
+
jsi::Object eventsObj = events.getObject(rt);
|
|
422
|
+
jsi::Value dispatchVal = eventsObj.getProperty(rt, "dispatchEvent");
|
|
423
|
+
if (!dispatchVal.isObject()) return;
|
|
424
|
+
jsi::Object dispatchObj = dispatchVal.getObject(rt);
|
|
425
|
+
if (!dispatchObj.isFunction(rt)) return;
|
|
426
|
+
jsi::Function dispatch = dispatchObj.getFunction(rt);
|
|
427
|
+
|
|
428
|
+
jsi::Value payloadVal =
|
|
429
|
+
payload != nil
|
|
430
|
+
? facebook::react::TurboModuleConvertUtils::
|
|
431
|
+
convertObjCObjectToJSIValue(rt, payload)
|
|
432
|
+
: jsi::Value::undefined();
|
|
433
|
+
dispatch.call(rt,
|
|
434
|
+
jsi::String::createFromUtf8(rt, nameUtf8),
|
|
435
|
+
payloadVal);
|
|
436
|
+
} catch (const jsi::JSError &e) {
|
|
437
|
+
NSLog(@"fireEventByName: JS error: %s", e.getMessage().c_str());
|
|
438
|
+
} catch (const std::exception &e) {
|
|
439
|
+
NSLog(@"fireEventByName: %s", e.what());
|
|
440
|
+
} catch (...) {
|
|
441
|
+
NSLog(@"fireEventByName: unknown error");
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
- (void)evaluate:(NSString *)source
|
|
447
|
+
url:(NSString *)url
|
|
448
|
+
completion:(void (^)(NSError * _Nullable))completion {
|
|
449
|
+
// The drain after bundle eval is load-bearing: React's first-render
|
|
450
|
+
// `useEffect` callbacks are queued as microtasks. Skip the drain and
|
|
451
|
+
// they never fire (fetch never runs, loading states hang).
|
|
452
|
+
_jsQueueRef.runOnJS(^(jsi::Runtime &rt) {
|
|
453
|
+
NSError *err = nil;
|
|
454
|
+
try {
|
|
455
|
+
auto buffer = std::make_shared<jsi::StringBuffer>(
|
|
456
|
+
std::string([source UTF8String]));
|
|
457
|
+
rt.evaluateJavaScript(buffer, std::string([url UTF8String]));
|
|
458
|
+
} catch (const jsi::JSError &e) {
|
|
459
|
+
err = [NSError
|
|
460
|
+
errorWithDomain:@"ReactNativeWatchOS.Hermes"
|
|
461
|
+
code:1
|
|
462
|
+
userInfo:@{
|
|
463
|
+
NSLocalizedDescriptionKey:
|
|
464
|
+
[NSString stringWithUTF8String:e.getMessage().c_str()],
|
|
465
|
+
@"stack":
|
|
466
|
+
[NSString stringWithUTF8String:e.getStack().c_str()],
|
|
467
|
+
}];
|
|
468
|
+
} catch (const std::exception &e) {
|
|
469
|
+
err = [NSError
|
|
470
|
+
errorWithDomain:@"ReactNativeWatchOS.Hermes"
|
|
471
|
+
code:2
|
|
472
|
+
userInfo:@{
|
|
473
|
+
NSLocalizedDescriptionKey:
|
|
474
|
+
[NSString stringWithUTF8String:e.what()],
|
|
475
|
+
}];
|
|
476
|
+
}
|
|
477
|
+
if (completion != nil) {
|
|
478
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
479
|
+
completion(err);
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
@end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// watchOS fork of `<React/RCTEventEmitter.h>`. Compiled only into RNWHost;
|
|
2
|
+
// the iOS pod uses React-Core's real RCTEventEmitter.
|
|
3
|
+
|
|
4
|
+
#import "React/RCTEventEmitter.h"
|
|
5
|
+
|
|
6
|
+
NSNotificationName const RNWEventEmitterFireEventNotification =
|
|
7
|
+
@"RNWEventEmitterFireEvent";
|
|
8
|
+
|
|
9
|
+
@implementation RCTEventEmitter
|
|
10
|
+
|
|
11
|
+
- (NSArray<NSString *> *)supportedEvents {
|
|
12
|
+
return @[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
+ (NSString *)moduleName {
|
|
16
|
+
return NSStringFromClass(self);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
- (void)sendEventWithName:(NSString *)name body:(id)body {
|
|
20
|
+
[[NSNotificationCenter defaultCenter]
|
|
21
|
+
postNotificationName:RNWEventEmitterFireEventNotification
|
|
22
|
+
object:nil
|
|
23
|
+
userInfo:@{
|
|
24
|
+
@"eventName": name,
|
|
25
|
+
@"payload": body ?: [NSNull null],
|
|
26
|
+
}];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
- (void)addListener:(NSString *)eventName { (void)eventName; }
|
|
30
|
+
- (void)removeListeners:(double)count { (void)count; }
|
|
31
|
+
|
|
32
|
+
@end
|