@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
package/src/render.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import ReconcilerFactory from 'react-reconciler';
|
|
3
|
+
|
|
4
|
+
import { createHostConfig } from './createHostConfig';
|
|
5
|
+
import { installEventBridge } from './eventRegistry';
|
|
6
|
+
|
|
7
|
+
// Install `globalThis.__RNW_EVENTS.dispatch` at module-import time so
|
|
8
|
+
// the native side can find it as soon as the first commit hits — well
|
|
9
|
+
// before any React effect fires.
|
|
10
|
+
installEventBridge();
|
|
11
|
+
|
|
12
|
+
// Inert sentinel — the C++ side owns the root child list directly, so the
|
|
13
|
+
// container is never addressed by tag. We just need a stable object identity
|
|
14
|
+
// so the reconciler can key its container state off it.
|
|
15
|
+
const container: object = {};
|
|
16
|
+
|
|
17
|
+
// `ReconcilerFactory`'s parameter type changes per minor version (see the
|
|
18
|
+
// comment in createHostConfig.ts). The cast keeps the call site stable.
|
|
19
|
+
const Reconciler = (
|
|
20
|
+
ReconcilerFactory as unknown as (config: unknown) => unknown
|
|
21
|
+
)(createHostConfig()) as {
|
|
22
|
+
createContainer: (...args: unknown[]) => unknown;
|
|
23
|
+
updateContainer: (
|
|
24
|
+
element: ReactNode,
|
|
25
|
+
container: unknown,
|
|
26
|
+
parentComponent: unknown,
|
|
27
|
+
callback: unknown
|
|
28
|
+
) => void;
|
|
29
|
+
injectIntoDevTools: () => boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// React 19's react-reconciler dropped the auto-registration with the
|
|
33
|
+
// DevTools global hook that older versions did at module-import time.
|
|
34
|
+
// Consumers must now invoke `injectIntoDevTools()` to publish the
|
|
35
|
+
// `scheduleRefresh` / `scheduleRoot` helpers React Refresh reads through
|
|
36
|
+
// `__REACT_DEVTOOLS_GLOBAL_HOOK__`. Without this, Fast Refresh updates
|
|
37
|
+
// arrive, modules re-evaluate, and `performReactRefresh()` runs — but
|
|
38
|
+
// React has no registered renderer to forward the swap to, so the
|
|
39
|
+
// fiber tree never re-renders.
|
|
40
|
+
Reconciler.injectIntoDevTools();
|
|
41
|
+
|
|
42
|
+
// Forward React's error callbacks to `console.error`. The watch host
|
|
43
|
+
// routes console.error → onConsoleLog → reportToMetro (Metro terminal)
|
|
44
|
+
// AND bumps `ReactNativeWatchOSHost.lastErrorAt` → triggers the
|
|
45
|
+
// `RNWErrorToast` overlay. Without these hooks, React swallows every
|
|
46
|
+
// render-phase throw silently (no toast, no log, no crash).
|
|
47
|
+
function reportRenderError(label: string, error: unknown): void {
|
|
48
|
+
const e = error as { message?: unknown; stack?: unknown };
|
|
49
|
+
const message = typeof e?.message === 'string' ? e.message : String(error);
|
|
50
|
+
const stack = typeof e?.stack === 'string' ? `\n${e.stack}` : '';
|
|
51
|
+
const g = globalThis as unknown as {
|
|
52
|
+
console?: { error: (...args: unknown[]) => void };
|
|
53
|
+
};
|
|
54
|
+
g.console?.error?.(`[React ${label}] ${message}${stack}`);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// `createContainer` signature drifts across react-reconciler versions
|
|
58
|
+
// (added: hydrationCallbacks, isStrictMode, concurrentUpdatesByDefault,
|
|
59
|
+
// identifierPrefix, onRecoverableError, transitionCallbacks…). All
|
|
60
|
+
// trailing optional args — passing them positionally is forward-compatible.
|
|
61
|
+
const root = Reconciler.createContainer(
|
|
62
|
+
container,
|
|
63
|
+
/* tag (LegacyRoot=0, ConcurrentRoot=1) */ 1,
|
|
64
|
+
/* hydrationCallbacks */ null,
|
|
65
|
+
/* isStrictMode */ false,
|
|
66
|
+
/* concurrentUpdatesByDefault */ null,
|
|
67
|
+
/* identifierPrefix */ '',
|
|
68
|
+
/* onUncaughtError */ (error: unknown) =>
|
|
69
|
+
reportRenderError('uncaught', error),
|
|
70
|
+
/* onCaughtError */ (error: unknown) => reportRenderError('caught', error),
|
|
71
|
+
/* onRecoverableError */ (error: unknown) =>
|
|
72
|
+
reportRenderError('recoverable', error),
|
|
73
|
+
/* transitionCallbacks */ null
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
export function render(element: ReactNode): void {
|
|
77
|
+
Reconciler.updateContainer(element, root, null, null);
|
|
78
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Rich `console` shim. The Hermes host installs `globalThis.__RNW_log(level,
|
|
2
|
+
// message)` plus a one-arg `console` bootstrap that just coerces via
|
|
3
|
+
// `String()`. This module overrides that with multi-arg formatting +
|
|
4
|
+
// `JSON.stringify` for objects, matching what the native side used to do
|
|
5
|
+
// inline.
|
|
6
|
+
//
|
|
7
|
+
// Loaded as the very first side-effect import from `polyfills.ts` so the
|
|
8
|
+
// rich shim is in place before anything in the bundle logs.
|
|
9
|
+
|
|
10
|
+
type LogLevel = 'log' | 'warn' | 'error' | 'info';
|
|
11
|
+
|
|
12
|
+
type LogBridge = (level: LogLevel, message: string) => void;
|
|
13
|
+
|
|
14
|
+
const g = globalThis as unknown as {
|
|
15
|
+
__RNW_log?: LogBridge;
|
|
16
|
+
console?: Record<LogLevel, (...args: unknown[]) => void>;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// Without `__RNW_log` we'd silently drop logs — the host should always
|
|
20
|
+
// install it before bundle eval, but bail out gracefully if it didn't.
|
|
21
|
+
if (typeof g.__RNW_log === 'function') {
|
|
22
|
+
const bridge = g.__RNW_log;
|
|
23
|
+
|
|
24
|
+
const formatOne = (value: unknown, seen: WeakSet<object>): string => {
|
|
25
|
+
if (value === undefined) return 'undefined';
|
|
26
|
+
if (value === null) return 'null';
|
|
27
|
+
if (typeof value === 'string') return value;
|
|
28
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
29
|
+
return String(value);
|
|
30
|
+
}
|
|
31
|
+
if (value instanceof Error) {
|
|
32
|
+
// Errors don't have enumerable own props, so JSON.stringify returns
|
|
33
|
+
// "{}" — useless. Prefer the stack (with message baked in) which is
|
|
34
|
+
// what every console implementation does.
|
|
35
|
+
return value.stack || `${value.name}: ${value.message}`;
|
|
36
|
+
}
|
|
37
|
+
if (typeof value === 'object') {
|
|
38
|
+
if (seen.has(value as object)) return '[Circular]';
|
|
39
|
+
seen.add(value as object);
|
|
40
|
+
try {
|
|
41
|
+
return JSON.stringify(value, (_key, v) => {
|
|
42
|
+
if (typeof v === 'object' && v !== null) {
|
|
43
|
+
if (seen.has(v)) return '[Circular]';
|
|
44
|
+
seen.add(v);
|
|
45
|
+
}
|
|
46
|
+
return v;
|
|
47
|
+
});
|
|
48
|
+
} catch {
|
|
49
|
+
return '[object]';
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
// function, symbol, bigint, etc.
|
|
53
|
+
return String(value);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const format = (args: unknown[]): string => {
|
|
57
|
+
const seen = new WeakSet<object>();
|
|
58
|
+
let out = '';
|
|
59
|
+
for (let i = 0; i < args.length; i++) {
|
|
60
|
+
if (i > 0) out += ' ';
|
|
61
|
+
out += formatOne(args[i], seen);
|
|
62
|
+
}
|
|
63
|
+
return out;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const make = (level: LogLevel) => (...args: unknown[]): void => {
|
|
67
|
+
bridge(level, format(args));
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
g.console = {
|
|
71
|
+
log: make('log'),
|
|
72
|
+
warn: make('warn'),
|
|
73
|
+
error: make('error'),
|
|
74
|
+
info: make('info'),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// `whatwg-fetch`'s UMD wrapper picks its install target via
|
|
2
|
+
// `typeof self !== 'undefined' ? self : this`. Inside a Hermes module under
|
|
3
|
+
// strict mode, top-level `this` is undefined and `self` isn't a Hermes
|
|
4
|
+
// global — so without this shim the polyfill silently picks the wrong
|
|
5
|
+
// target and `globalThis.fetch` stays undefined.
|
|
6
|
+
//
|
|
7
|
+
// Must run BEFORE `import 'whatwg-fetch'`. Babel hoists ESM imports above
|
|
8
|
+
// plain statements within a single file, so we live in our own module that
|
|
9
|
+
// `polyfills.ts` imports first.
|
|
10
|
+
(globalThis as { self?: unknown }).self ??= globalThis;
|
|
11
|
+
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// SwiftUI `GridItem` descriptor — used by `LazyVGrid` (as a column) and
|
|
2
|
+
/// `LazyHGrid` (as a row). Mirrors the three sizing variants:
|
|
3
|
+
/// - `flexible(minimum:maximum:)` — share the axis, clamped to a range.
|
|
4
|
+
/// - `fixed(value)` — exact size.
|
|
5
|
+
/// - `adaptive(minimum:maximum:)` — pack as many tracks as fit, each at
|
|
6
|
+
/// least `minimum` wide/tall.
|
|
7
|
+
export interface GridItem {
|
|
8
|
+
size:
|
|
9
|
+
| { kind: 'flexible'; minimum?: number; maximum?: number }
|
|
10
|
+
| { kind: 'fixed'; value: number }
|
|
11
|
+
| { kind: 'adaptive'; minimum: number; maximum?: number };
|
|
12
|
+
/// Distance between this item's track and the next. SwiftUI default
|
|
13
|
+
/// when omitted.
|
|
14
|
+
spacing?: number;
|
|
15
|
+
/// Cross-axis alignment of cells in this track.
|
|
16
|
+
alignment?:
|
|
17
|
+
| 'leading'
|
|
18
|
+
| 'trailing'
|
|
19
|
+
| 'center'
|
|
20
|
+
| 'top'
|
|
21
|
+
| 'bottom'
|
|
22
|
+
| 'topLeading'
|
|
23
|
+
| 'topTrailing'
|
|
24
|
+
| 'bottomLeading'
|
|
25
|
+
| 'bottomTrailing';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/// Convenience constructors for the three sizing variants.
|
|
29
|
+
export const gridItem = {
|
|
30
|
+
flexible(opts: { minimum?: number; maximum?: number } = {}): GridItem {
|
|
31
|
+
return { size: { kind: 'flexible', ...opts } };
|
|
32
|
+
},
|
|
33
|
+
fixed(value: number): GridItem {
|
|
34
|
+
return { size: { kind: 'fixed', value } };
|
|
35
|
+
},
|
|
36
|
+
adaptive(minimum: number, maximum?: number): GridItem {
|
|
37
|
+
return { size: { kind: 'adaptive', minimum, maximum } };
|
|
38
|
+
},
|
|
39
|
+
};
|
package/src/types.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/// A single SwiftUI modifier descriptor. Built by factories in
|
|
4
|
+
/// `src/modifiers/` (`padding({all: 10})`, `background('red')`, …).
|
|
5
|
+
/// The shape is just JSON: a `$type` discriminator plus modifier-specific
|
|
6
|
+
/// params. The native side dispatches on `$type`.
|
|
7
|
+
export interface ViewModifier {
|
|
8
|
+
readonly $type: string;
|
|
9
|
+
readonly [key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/// Common props every SwiftUI view accepts. Specific components extend
|
|
13
|
+
/// this with their own typed props.
|
|
14
|
+
export interface CommonProps {
|
|
15
|
+
/// Modifiers applied left-to-right in array order. Order matters — SwiftUI
|
|
16
|
+
/// modifiers are non-commutative (`padding().background()` paints the
|
|
17
|
+
/// background outside the padded region; `background().padding()` paints
|
|
18
|
+
/// it inside).
|
|
19
|
+
modifiers?: ViewModifier[];
|
|
20
|
+
/// Identifier consumed by a `<TabView>` parent: matches against its
|
|
21
|
+
/// `selection` prop. Inert when the parent isn't a `TabView`.
|
|
22
|
+
tabTag?: string;
|
|
23
|
+
children?: ReactNode;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useEffect, useRef, useState } from 'react';
|
|
2
|
+
|
|
3
|
+
import { registerHandler, unregisterHandler } from './eventRegistry';
|
|
4
|
+
|
|
5
|
+
/// Bridge a JS function into a stable native-friendly numeric id.
|
|
6
|
+
///
|
|
7
|
+
/// - Allocates the id once (in `useState`'s initializer) and keeps it
|
|
8
|
+
/// stable across re-renders. Otherwise every keystroke / state change
|
|
9
|
+
/// would churn the registry and leave stale entries.
|
|
10
|
+
/// - The actual callback target is kept in a ref so re-renders with
|
|
11
|
+
/// different closures take effect immediately, without re-allocation.
|
|
12
|
+
/// - Returns `undefined` when `fn` is `undefined`, so the component can
|
|
13
|
+
/// omit the prop and the native side won't see a dangling event id.
|
|
14
|
+
/// - Frees the id on unmount.
|
|
15
|
+
export function useEventHandler<P = void>(
|
|
16
|
+
fn: ((payload: P) => void) | undefined
|
|
17
|
+
): number | undefined {
|
|
18
|
+
const fnRef = useRef(fn);
|
|
19
|
+
fnRef.current = fn;
|
|
20
|
+
|
|
21
|
+
const [id] = useState(() =>
|
|
22
|
+
registerHandler((payload) => {
|
|
23
|
+
const current = fnRef.current;
|
|
24
|
+
if (current !== undefined) current(payload as P);
|
|
25
|
+
})
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
useEffect(() => () => unregisterHandler(id), [id]);
|
|
29
|
+
|
|
30
|
+
return fn === undefined ? undefined : id;
|
|
31
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createElement,
|
|
3
|
+
isValidElement,
|
|
4
|
+
useEffect,
|
|
5
|
+
useRef,
|
|
6
|
+
type ReactNode,
|
|
7
|
+
} from 'react';
|
|
8
|
+
|
|
9
|
+
import { registerHandler, unregisterHandler } from './eventRegistry';
|
|
10
|
+
import type { ViewModifier } from './types';
|
|
11
|
+
|
|
12
|
+
type AnyFn = (payload?: unknown) => void;
|
|
13
|
+
|
|
14
|
+
interface ModifierState {
|
|
15
|
+
/// `${modifierIndex}:${paramKey}` → native handler id (kept stable across
|
|
16
|
+
/// renders so the registry doesn't churn on every keystroke / state change).
|
|
17
|
+
ids: Map<string, number>;
|
|
18
|
+
/// Same key → the latest JS callback. Updated every render so the
|
|
19
|
+
/// registered dispatcher always invokes the current closure.
|
|
20
|
+
fns: Map<string, AnyFn>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/// Process a view's `modifiers` prop so callback and content modifiers can
|
|
24
|
+
/// cross the bridge. Plain value modifiers pass through untouched.
|
|
25
|
+
///
|
|
26
|
+
/// - **Callbacks.** A modifier param whose value is a function is replaced
|
|
27
|
+
/// with a stable numeric handler id. This is mandatory: the JSI → NS
|
|
28
|
+
/// converter drops raw functions, so a callback left as a function would
|
|
29
|
+
/// silently never fire. The id is allocated once and freed on unmount;
|
|
30
|
+
/// the live closure lives in a ref so re-renders take effect without
|
|
31
|
+
/// re-allocating. Native fires it via `RNWModifierContext.fire`.
|
|
32
|
+
/// - **Content.** A param whose value is a React element (or array of
|
|
33
|
+
/// elements) is hoisted into a `__ModifierContent` child node carrying a
|
|
34
|
+
/// `slot` prop, and the param value is replaced with that slot id string.
|
|
35
|
+
/// This also avoids feeding a React element (whose `_owner` fiber graph
|
|
36
|
+
/// is cyclic) to the recursive bridge converter. Native pulls the
|
|
37
|
+
/// rendered content back via `RNWModifierContext.content(slot)`; the
|
|
38
|
+
/// hoisted node is excluded from inline children (`viewChildren`).
|
|
39
|
+
///
|
|
40
|
+
/// The hook-count is fixed regardless of modifier count, so this is safe to
|
|
41
|
+
/// call unconditionally from any component.
|
|
42
|
+
export function useModifiers(
|
|
43
|
+
modifiers: ViewModifier[] | undefined,
|
|
44
|
+
children: ReactNode
|
|
45
|
+
): { modifiers: ViewModifier[] | undefined; children: ReactNode } {
|
|
46
|
+
const state = useRef<ModifierState>({ ids: new Map(), fns: new Map() });
|
|
47
|
+
|
|
48
|
+
// Free every outstanding handler id on unmount. Capture `state.current`
|
|
49
|
+
// here so the cleanup doesn't read a possibly-changed ref later.
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
const s = state.current;
|
|
52
|
+
return () => {
|
|
53
|
+
for (const id of s.ids.values()) unregisterHandler(id);
|
|
54
|
+
s.ids.clear();
|
|
55
|
+
s.fns.clear();
|
|
56
|
+
};
|
|
57
|
+
}, []);
|
|
58
|
+
|
|
59
|
+
if (!modifiers || modifiers.length === 0) {
|
|
60
|
+
return { modifiers, children };
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const s = state.current;
|
|
64
|
+
const seen = new Set<string>();
|
|
65
|
+
const contentChildren: ReactNode[] = [];
|
|
66
|
+
|
|
67
|
+
const processed = modifiers.map((mod, i) => {
|
|
68
|
+
let out: Record<string, unknown> | undefined;
|
|
69
|
+
|
|
70
|
+
for (const key of Object.keys(mod)) {
|
|
71
|
+
if (key === '$type') continue;
|
|
72
|
+
const value = (mod as Record<string, unknown>)[key];
|
|
73
|
+
|
|
74
|
+
if (typeof value === 'function') {
|
|
75
|
+
const mapKey = `${i}:${key}`;
|
|
76
|
+
seen.add(mapKey);
|
|
77
|
+
let id = s.ids.get(mapKey);
|
|
78
|
+
if (id === undefined) {
|
|
79
|
+
id = registerHandler((payload) => {
|
|
80
|
+
const fn = s.fns.get(mapKey);
|
|
81
|
+
if (fn) fn(payload);
|
|
82
|
+
});
|
|
83
|
+
s.ids.set(mapKey, id);
|
|
84
|
+
}
|
|
85
|
+
s.fns.set(mapKey, value as AnyFn);
|
|
86
|
+
out = out ?? { ...mod };
|
|
87
|
+
out[key] = id;
|
|
88
|
+
} else if (
|
|
89
|
+
isValidElement(value) ||
|
|
90
|
+
(Array.isArray(value) && value.some((v) => isValidElement(v)))
|
|
91
|
+
) {
|
|
92
|
+
const slot = `__mc:${i}:${key}`;
|
|
93
|
+
contentChildren.push(
|
|
94
|
+
createElement('__ModifierContent', { key: slot, slot }, value as ReactNode)
|
|
95
|
+
);
|
|
96
|
+
out = out ?? { ...mod };
|
|
97
|
+
out[key] = slot;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return (out ?? mod) as ViewModifier;
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
// Release ids whose (modifier, key) pair vanished this render — a modifier
|
|
105
|
+
// was removed or its callback prop dropped.
|
|
106
|
+
for (const [mapKey, id] of s.ids) {
|
|
107
|
+
if (!seen.has(mapKey)) {
|
|
108
|
+
unregisterHandler(id);
|
|
109
|
+
s.ids.delete(mapKey);
|
|
110
|
+
s.fns.delete(mapKey);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (contentChildren.length === 0) {
|
|
115
|
+
return { modifiers: processed, children };
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const base: ReactNode[] =
|
|
119
|
+
children == null || children === false
|
|
120
|
+
? []
|
|
121
|
+
: Array.isArray(children)
|
|
122
|
+
? children
|
|
123
|
+
: [children];
|
|
124
|
+
|
|
125
|
+
return { modifiers: processed, children: [...base, ...contentChildren] };
|
|
126
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Cross-platform event subscription for the WatchConnectivity TurboModule.
|
|
2
|
+
//
|
|
3
|
+
// Uses `NativeEventEmitter` from `react-native` unconditionally. On iOS
|
|
4
|
+
// that's RN's real implementation (bridge → RCTDeviceEventEmitter); on
|
|
5
|
+
// watchOS, Metro aliases `react-native` → `reactNativeShim`, which
|
|
6
|
+
// provides a name-keyed stub that routes dispatches through
|
|
7
|
+
// `__RNW_EVENTS.dispatchEvent`. The maintainer-facing API is identical
|
|
8
|
+
// on both platforms.
|
|
9
|
+
|
|
10
|
+
import type { Subscription } from './types';
|
|
11
|
+
|
|
12
|
+
type Listener = (payload: unknown) => void;
|
|
13
|
+
|
|
14
|
+
interface NativeModule {
|
|
15
|
+
addListener?(eventName: string): void;
|
|
16
|
+
removeListeners?(count: number): void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function createEventBridge(nativeModule: NativeModule) {
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
21
|
+
const RN = require('react-native');
|
|
22
|
+
const NativeEventEmitter = RN.NativeEventEmitter as new (mod: unknown) => {
|
|
23
|
+
addListener(name: string, fn: Listener): { remove(): void };
|
|
24
|
+
};
|
|
25
|
+
const emitter = new NativeEventEmitter(nativeModule);
|
|
26
|
+
|
|
27
|
+
return {
|
|
28
|
+
subscribe(eventName: string, listener: Listener): Subscription {
|
|
29
|
+
return emitter.addListener(eventName, listener);
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
// JavaScript-friendly facade over Apple's WatchConnectivity (WCSession).
|
|
2
|
+
//
|
|
3
|
+
// Same API on iOS and watchOS. Same code runs in the iOS host app's
|
|
4
|
+
// React Native runtime and in the watchOS Hermes runtime — the native
|
|
5
|
+
// side picks the right delegate methods to fire based on which side
|
|
6
|
+
// of the pairing it's on.
|
|
7
|
+
//
|
|
8
|
+
// Usage:
|
|
9
|
+
//
|
|
10
|
+
// import { WatchConnectivity } from '@appsent-co/react-native-watchos/watch-connectivity';
|
|
11
|
+
//
|
|
12
|
+
// await WatchConnectivity.activate();
|
|
13
|
+
//
|
|
14
|
+
// // Subscribe to incoming messages. Return a value from the handler
|
|
15
|
+
// // to reply (when the peer used `expectReply: true`).
|
|
16
|
+
// const sub = WatchConnectivity.on('message', ({ content }) => {
|
|
17
|
+
// return { pong: content.ping };
|
|
18
|
+
// });
|
|
19
|
+
//
|
|
20
|
+
// // Send and wait for a reply.
|
|
21
|
+
// const reply = await WatchConnectivity.sendMessage(
|
|
22
|
+
// { ping: Date.now() },
|
|
23
|
+
// { expectReply: true }
|
|
24
|
+
// );
|
|
25
|
+
//
|
|
26
|
+
// sub.remove();
|
|
27
|
+
|
|
28
|
+
import NativeWatchConnectivity from './specs/NativeWatchConnectivity';
|
|
29
|
+
import { createEventBridge } from './eventBridge';
|
|
30
|
+
import type {
|
|
31
|
+
Dictionary,
|
|
32
|
+
EventMap,
|
|
33
|
+
EventName,
|
|
34
|
+
ReceivedMessage,
|
|
35
|
+
ReceivedMessageData,
|
|
36
|
+
SendMessageOptions,
|
|
37
|
+
SessionState,
|
|
38
|
+
Subscription,
|
|
39
|
+
UserInfoTransfer,
|
|
40
|
+
} from './types';
|
|
41
|
+
|
|
42
|
+
export type {
|
|
43
|
+
ActivationState,
|
|
44
|
+
Dictionary,
|
|
45
|
+
EventMap,
|
|
46
|
+
EventName,
|
|
47
|
+
JSONValue,
|
|
48
|
+
ReceivedMessage,
|
|
49
|
+
ReceivedMessageData,
|
|
50
|
+
SendMessageOptions,
|
|
51
|
+
SessionState,
|
|
52
|
+
Subscription,
|
|
53
|
+
UserInfoTransfer,
|
|
54
|
+
} from './types';
|
|
55
|
+
|
|
56
|
+
const DEFAULT_TIMEOUT_MS = 30_000;
|
|
57
|
+
|
|
58
|
+
const bridge = createEventBridge(
|
|
59
|
+
NativeWatchConnectivity as unknown as {
|
|
60
|
+
addListener?(name: string): void;
|
|
61
|
+
removeListeners?(n: number): void;
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
export const WatchConnectivity = {
|
|
66
|
+
/** Activate `WCSession.default` and set the module as its delegate.
|
|
67
|
+
* Idempotent — calling twice is safe. Resolves with the current
|
|
68
|
+
* session state once activation is requested (note: the actual
|
|
69
|
+
* `activated` state may arrive asynchronously via `'stateChanged'`). */
|
|
70
|
+
activate(): Promise<SessionState> {
|
|
71
|
+
return NativeWatchConnectivity.activate() as Promise<SessionState>;
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
/** Snapshot of the current `WCSession` state. */
|
|
75
|
+
getState(): Promise<SessionState> {
|
|
76
|
+
return NativeWatchConnectivity.getState() as Promise<SessionState>;
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
/** Send an immediate message to the peer. Peer must be reachable.
|
|
80
|
+
* When `expectReply: true`, resolves with the peer's reply payload;
|
|
81
|
+
* otherwise resolves once the OS accepts the send. */
|
|
82
|
+
async sendMessage(
|
|
83
|
+
message: Dictionary,
|
|
84
|
+
opts?: SendMessageOptions
|
|
85
|
+
): Promise<Dictionary | undefined> {
|
|
86
|
+
const expectReply = opts?.expectReply ?? false;
|
|
87
|
+
const timeoutMs = opts?.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
88
|
+
const result = (await NativeWatchConnectivity.sendMessage(
|
|
89
|
+
message,
|
|
90
|
+
expectReply,
|
|
91
|
+
timeoutMs
|
|
92
|
+
)) as Dictionary | null;
|
|
93
|
+
return result ?? undefined;
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
/** Binary equivalent of `sendMessage`. Payload is base64-encoded on
|
|
97
|
+
* the wire — callers must encode/decode themselves. */
|
|
98
|
+
async sendMessageData(
|
|
99
|
+
base64: string,
|
|
100
|
+
opts?: SendMessageOptions
|
|
101
|
+
): Promise<string | undefined> {
|
|
102
|
+
const expectReply = opts?.expectReply ?? false;
|
|
103
|
+
const timeoutMs = opts?.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
104
|
+
const result = (await NativeWatchConnectivity.sendMessageData(
|
|
105
|
+
base64,
|
|
106
|
+
expectReply,
|
|
107
|
+
timeoutMs
|
|
108
|
+
)) as string | null;
|
|
109
|
+
return result ?? undefined;
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
/** Last-write-wins persistent context shared with the peer. The peer
|
|
113
|
+
* reads it via `getReceivedApplicationContext()` or the
|
|
114
|
+
* `'applicationContext'` event. Survives app restarts. */
|
|
115
|
+
updateApplicationContext(context: Dictionary): Promise<void> {
|
|
116
|
+
return NativeWatchConnectivity.updateApplicationContext(
|
|
117
|
+
context
|
|
118
|
+
) as Promise<void>;
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
/** The context this side most recently pushed via
|
|
122
|
+
* `updateApplicationContext` (may not have been delivered yet). */
|
|
123
|
+
getApplicationContext(): Promise<Dictionary> {
|
|
124
|
+
return NativeWatchConnectivity.getApplicationContext() as Promise<Dictionary>;
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
/** The latest context this side received from the peer. Persists
|
|
128
|
+
* across launches — querying immediately after `activate()` returns
|
|
129
|
+
* the value last delivered while the app was running or backgrounded. */
|
|
130
|
+
getReceivedApplicationContext(): Promise<Dictionary> {
|
|
131
|
+
return NativeWatchConnectivity.getReceivedApplicationContext() as Promise<Dictionary>;
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/** Queue an opaque dictionary for background delivery to the peer.
|
|
135
|
+
* Survives reboots; delivered FIFO when the peer is reachable. */
|
|
136
|
+
transferUserInfo(info: Dictionary): Promise<{ id: string }> {
|
|
137
|
+
return NativeWatchConnectivity.transferUserInfo(info) as Promise<{
|
|
138
|
+
id: string;
|
|
139
|
+
}>;
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
/** Transfers this side has enqueued but the peer hasn't acknowledged. */
|
|
143
|
+
outstandingUserInfoTransfers(): Promise<UserInfoTransfer[]> {
|
|
144
|
+
return NativeWatchConnectivity.outstandingUserInfoTransfers() as Promise<
|
|
145
|
+
UserInfoTransfer[]
|
|
146
|
+
>;
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
/** Subscribe to an event. Returns a `Subscription` whose `.remove()`
|
|
150
|
+
* unsubscribes the listener. For `'message'` and `'messageData'`,
|
|
151
|
+
* return a value from the handler (or a promise resolving to one)
|
|
152
|
+
* to reply when the peer used `expectReply: true`. */
|
|
153
|
+
on<E extends EventName>(event: E, handler: EventMap[E]): Subscription {
|
|
154
|
+
if (event === 'message') {
|
|
155
|
+
return bridge.subscribe('message', (payload) => {
|
|
156
|
+
const msg = payload as ReceivedMessage;
|
|
157
|
+
const result = (handler as EventMap['message'])(msg);
|
|
158
|
+
if (msg.replyId == null) return;
|
|
159
|
+
Promise.resolve(result).then(
|
|
160
|
+
(value) => {
|
|
161
|
+
if (value == null) return;
|
|
162
|
+
NativeWatchConnectivity.replyToMessage(
|
|
163
|
+
msg.replyId!,
|
|
164
|
+
value as Dictionary
|
|
165
|
+
);
|
|
166
|
+
},
|
|
167
|
+
() => {
|
|
168
|
+
// Swallow — there's no way to surface a reply-handler throw
|
|
169
|
+
// back to the peer. The peer will time out instead.
|
|
170
|
+
}
|
|
171
|
+
);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
if (event === 'messageData') {
|
|
175
|
+
return bridge.subscribe('messageData', (payload) => {
|
|
176
|
+
const msg = payload as ReceivedMessageData;
|
|
177
|
+
const result = (handler as EventMap['messageData'])(msg);
|
|
178
|
+
if (msg.replyId == null) return;
|
|
179
|
+
Promise.resolve(result).then(
|
|
180
|
+
(value) => {
|
|
181
|
+
if (value == null) return;
|
|
182
|
+
NativeWatchConnectivity.replyToMessageData(
|
|
183
|
+
msg.replyId!,
|
|
184
|
+
value as string
|
|
185
|
+
);
|
|
186
|
+
},
|
|
187
|
+
() => undefined
|
|
188
|
+
);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
return bridge.subscribe(event, handler as (p: unknown) => void);
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export default WatchConnectivity;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { TurboModule } from 'react-native';
|
|
2
|
+
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
+
|
|
4
|
+
// Shipped from the library so iOS RN codegen (driven by the package-level
|
|
5
|
+
// `codegenConfig` in `package.json`) discovers it from
|
|
6
|
+
// `node_modules/@appsent-co/react-native-watchos/src/watchConnectivity/specs/`. The
|
|
7
|
+
// watch-side codegen plugin (`withWatchTurboModuleCodegen`) ALSO scans
|
|
8
|
+
// this directory so the same spec produces the watch target's umbrella
|
|
9
|
+
// header.
|
|
10
|
+
|
|
11
|
+
export interface SessionState {
|
|
12
|
+
activationState: string; // 'notActivated' | 'inactive' | 'activated'
|
|
13
|
+
isReachable: boolean;
|
|
14
|
+
isPaired: boolean; // iOS only — false on watch
|
|
15
|
+
isWatchAppInstalled: boolean; // iOS only — false on watch
|
|
16
|
+
isCompanionAppInstalled: boolean; // watch only — false on iOS
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface UserInfoTransfer {
|
|
20
|
+
id: string;
|
|
21
|
+
userInfo: Object;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Spec extends TurboModule {
|
|
25
|
+
activate(): Promise<SessionState>;
|
|
26
|
+
getState(): Promise<SessionState>;
|
|
27
|
+
|
|
28
|
+
sendMessage(
|
|
29
|
+
message: Object,
|
|
30
|
+
expectReply: boolean,
|
|
31
|
+
timeoutMs: number
|
|
32
|
+
): Promise<Object | null>;
|
|
33
|
+
sendMessageData(
|
|
34
|
+
base64: string,
|
|
35
|
+
expectReply: boolean,
|
|
36
|
+
timeoutMs: number
|
|
37
|
+
): Promise<string | null>;
|
|
38
|
+
|
|
39
|
+
replyToMessage(replyId: string, payload: Object): void;
|
|
40
|
+
replyToMessageData(replyId: string, base64: string): void;
|
|
41
|
+
|
|
42
|
+
updateApplicationContext(context: Object): Promise<void>;
|
|
43
|
+
getApplicationContext(): Promise<Object>;
|
|
44
|
+
getReceivedApplicationContext(): Promise<Object>;
|
|
45
|
+
|
|
46
|
+
transferUserInfo(info: Object): Promise<{ id: string }>;
|
|
47
|
+
outstandingUserInfoTransfers(): Promise<UserInfoTransfer[]>;
|
|
48
|
+
|
|
49
|
+
// No-op stubs for iOS NativeEventEmitter contract; the watch side
|
|
50
|
+
// routes through `globalThis.__RNW_EVENTS.dispatchEvent` (name-keyed
|
|
51
|
+
// fan-out in the JS-side shim) and ignores these on both platforms.
|
|
52
|
+
addListener(eventName: string): void;
|
|
53
|
+
removeListeners(count: number): void;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default TurboModuleRegistry.getEnforcing<Spec>('WatchConnectivity');
|