@appsent-co/react-native-watchos 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +94 -0
- package/RNWatchConnectivity.podspec +77 -0
- package/app.plugin.js +1 -0
- package/apple/Package.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/DevSupport/ErrorToast.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/DevSupport/ShakeDetector.swift +42 -0
- package/apple/Sources/ReactNativeWatchOS/EventBus.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAction.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityActions.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityAddTraits.swift +48 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityElement.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHidden.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityHint.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityIdentifier.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityLabel.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityRemoveTraits.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AccessibilityValue.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Alert.swift +81 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AlignmentGuide.swift +53 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsHitTesting.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AllowsTightening.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Animation.swift +63 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Antialiased.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AspectRatio.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/AutocorrectionDisabled.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Background.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundExtensionEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BackgroundStyle.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BaselineOffset.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/BlendMode.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Blur.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Bold.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Border.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Brightness.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonBorderShape.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonRepeatBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonSizing.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ButtonStyle.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ClipShape.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Clipped.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorInvert.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorMultiply.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ColorScheme.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CompositingGroup.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ConfirmationDialog.swift +91 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerBackground.swift +34 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerRelativeFrame.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerShape.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContainerValue.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentMargins.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContentShape.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ContextMenu.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Contrast.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ControlSize.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CoordinateSpace.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/CornerRadius.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DatePickerStyle.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultAppStorage.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DefaultScrollAnchor.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DeleteDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownAccessory.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DigitalCrownRotation.swift +100 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Disabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DrawingGroup.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/DynamicTypeSize.swift +36 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Environment.swift +40 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/EnvironmentObject.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FixedSize.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Focusable.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Focused.swift +52 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Font.swift +65 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FontDesign.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FontWeight.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundColor.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ForegroundStyle.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FormStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Frame.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/FullScreenCover.swift +68 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GaugeStyle.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GeometryGroup.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Gesture.swift +68 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffect.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectID.swift +34 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectTransition.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GlassEffectUnion.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Grayscale.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellAnchor.swift +38 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellColumns.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridCellUnsizedAxes.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/GridColumnAlignment.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HandGestureShortcut.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HeaderProminence.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Help.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Hidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HighPriorityGesture.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/HueRotation.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Id.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/IgnoresSafeArea.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/InteractiveDismissDisabled.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Interpolation.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Italic.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Kerning.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelIconToTitleSpacing.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelReservedIconWidth.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelStyle.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabeledContentStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsHidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LabelsVisibility.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LayoutPriority.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LineLimit.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LineSpacing.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListItemTint.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowBackground.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListRowInsets.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListSectionSpacing.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ListStyle.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/LuminanceToAlpha.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Mask.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedGeometryEffect.swift +50 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MatchedTransitionSource.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MaterialActiveAppearance.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuActionDismissBehavior.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MenuOrder.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MinimumScaleFactor.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Monospaced.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MonospacedDigit.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MoveDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/MultilineTextAlignment.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationBarBackButtonHidden.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationDestination.swift +64 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTitle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/NavigationTransition.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Offset.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnAppear.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnChange.swift +60 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnDisappear.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnGeometryChange.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnLongPressGesture.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnOpenURL.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnReceive.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnSubmit.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/OnTapGesture.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Opacity.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Overlay.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Padding.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PickerStyle.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Position.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PreferredColorScheme.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationBackground.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCompactAdaptation.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationCornerRadius.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDetents.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PresentationDragIndicator.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/PrivacySensitive.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ProgressViewStyle.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ProjectionEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWAccessibilityModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWComponentStylesModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWContainerGridModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWControlsPolishModifiers.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWEnvironmentModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWFiltersModifiers.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGeometryModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGesturesModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWGlassModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageScaleModifier.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWImageSymbolModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInputModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWInteractionModifiers.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWLayoutModifiers.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWListsModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWNavigationModifiers.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWPresentationModifiers.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWScrollModifiers.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSearchModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWStylingModifiers.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolEffectModifier.swift +46 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolRenderingModeModifier.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWSymbolVariantModifier.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextModifiers.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTextPolishModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWThemeModifiers.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWToolbarModifiers.swift +24 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWTransformsModifiers.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RNWWatchModifiers.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Redacted.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Refreshable.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RenderingMode.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Resizable.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Rotation3DEffect.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/RotationEffect.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SafeAreaInset.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Saturation.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScaleEffect.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollBounceBehavior.swift +53 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollClipDisabled.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollContentBackground.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDisabled.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollDismissesKeyboard.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollIndicators.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollPosition.swift +67 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetBehavior.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ScrollTargetLayout.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchCompletion.swift +21 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchPresentationToolbarBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchSuggestions.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SearchToolbarBehavior.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Searchable.swift +26 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SelectionDisabled.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SensoryFeedback.swift +74 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Shadow.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Sheet.swift +64 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SimultaneousGesture.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SpringLoadingBehavior.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Strikethrough.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SubmitLabel.swift +29 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/SwipeActions.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TabItem.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TabViewStyle.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tag.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Task.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextCase.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextContentType.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextFieldStyle.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextInputAutocapitalization.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TextScale.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tint.swift +17 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToggleStyle.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Toolbar.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarBackground.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarColorScheme.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleDisplayMode.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarTitleMenu.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ToolbarVisibility.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Tracking.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TransformEffect.swift +28 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Transition.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/TruncationMode.swift +19 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Underline.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/Unredacted.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/Modifiers/ZIndex.swift +12 -0
- package/apple/Sources/ReactNativeWatchOS/RNWRootView.swift +141 -0
- package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOS.swift +290 -0
- package/apple/Sources/ReactNativeWatchOS/ReactNativeWatchOSView.swift +100 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ColorParser.swift +51 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ImageModifierRegistry.swift +31 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ModifierRegistry.swift +38 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ParamCoercion.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ParsersShared.swift +166 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/RNWModifierContext.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/RNWNodeRenderer.swift +56 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ShadowNodeSnapshot+Children.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/TextModifierRegistry.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Registry/ViewRegistry.swift +30 -0
- package/apple/Sources/ReactNativeWatchOS/Views/AngularGradientView.swift +41 -0
- package/apple/Sources/ReactNativeWatchOS/Views/AsyncImageView.swift +168 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ButtonView.swift +23 -0
- package/apple/Sources/ReactNativeWatchOS/Views/CapsuleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/CircleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ColorView.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ContentUnavailableViewView.swift +87 -0
- package/apple/Sources/ReactNativeWatchOS/Views/DatePickerView.swift +90 -0
- package/apple/Sources/ReactNativeWatchOS/Views/DividerView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/EllipseView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/EmptyViewView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/FormView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GaugeView.swift +35 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GeometryReaderView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GridRowView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GridView.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Views/GroupView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/HStackView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ImageView.swift +31 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LabelView.swift +18 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LabeledContentView.swift +55 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyHGridView.swift +33 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyHStackView.swift +41 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyVGridView.swift +97 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LazyVStackView.swift +39 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LinearGradientView.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Views/LinkView.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ListView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ModifierContentView.swift +16 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkDestinationView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkLabelView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationLinkView.swift +40 -0
- package/apple/Sources/ReactNativeWatchOS/Views/NavigationStackView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/PickerView.swift +69 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ProgressViewView.swift +44 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RadialGradientView.swift +22 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RectangleView.swift +11 -0
- package/apple/Sources/ReactNativeWatchOS/Views/RoundedRectangleView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewReaderView.swift +14 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ScrollViewView.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionFooterView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionHeaderView.swift +15 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SectionView.swift +45 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SecureFieldView.swift +49 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ShareLinkView.swift +27 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SliderView.swift +60 -0
- package/apple/Sources/ReactNativeWatchOS/Views/SpacerView.swift +13 -0
- package/apple/Sources/ReactNativeWatchOS/Views/StepperView.swift +61 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TabViewView.swift +88 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TextFieldView.swift +50 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TextView.swift +37 -0
- package/apple/Sources/ReactNativeWatchOS/Views/TimelineViewView.swift +42 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ToggleView.swift +58 -0
- package/apple/Sources/ReactNativeWatchOS/Views/VStackView.swift +25 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ViewThatFitsView.swift +20 -0
- package/apple/Sources/ReactNativeWatchOS/Views/ZStackView.swift +30 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWCallInvoker.h +175 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWHermesHost.mm +485 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWRCTEventEmitter.mm +32 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWShadowNode.mm +24 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModule.mm +706 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.mm +137 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.h +19 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWUIManager.mm +383 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.h +20 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWWebSocket.mm +328 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.h +22 -0
- package/apple/Sources/ReactNativeWatchOSCxx/RNWXHR.mm +597 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTRequired/RCTRequired.h +13 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTBridgeModule.h +88 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTCxxConvert.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTEventEmitter.h +71 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/React/RCTManagedPointer.h +7 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactCommon/RCTTurboModule.h +187 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/apple/Sources/ReactNativeWatchOSCxx/include/ReactNativeWatchOSCxx/module.modulemap +25 -0
- package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.h +23 -0
- package/apple/Sources/WatchConnectivity/RNWWatchConnectivity.mm +406 -0
- package/build/xcframework/Hermes.xcframework/Info.plist +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/CompileJS.h +73 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/DebuggerAPI.h +505 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/Buffer.h +42 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CrashManager.h +107 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/CtorConfig.h +148 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCConfig.h +231 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/HermesExport.h +14 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTrace.h +1527 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/SynthTraceParser.h +40 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TimerStats.h +23 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TraceInterpreter.h +284 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/TracingRuntime.h +315 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes.h +211 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Headers/hermes_tracing.h +55 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/Info.plist +28 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64/hermes.framework/hermes +0 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/AsyncDebuggerAPI.h +304 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/CompileJS.h +73 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/DebuggerAPI.h +505 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/Buffer.h +42 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CrashManager.h +107 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/CtorConfig.h +148 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/DebuggerTypes.h +200 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCConfig.h +231 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/GCTripwireContext.h +43 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/HermesExport.h +14 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/JSOutOfMemoryError.h +30 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/RuntimeConfig.h +135 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/Public/SamplingProfiler.h +273 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/RuntimeTaskRunner.h +67 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTrace.h +1527 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/SynthTraceParser.h +40 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/ThreadSafetyAnalysis.h +78 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TimerStats.h +23 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TraceInterpreter.h +284 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/TracingRuntime.h +315 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes.h +211 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Headers/hermes_tracing.h +55 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/Info.plist +28 -0
- package/build/xcframework/Hermes.xcframework/watchos-arm64-simulator/hermes.framework/hermes +0 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/Info.plist +47 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/module.modulemap +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/module.modulemap +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/ReactNativeWatchOSCxx.xcframework/watchos-arm64-simulator/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/device/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/device/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/device/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/device/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/device/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/device/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/device/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/device/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/device/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/device/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/device/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/device/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/device/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/device/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/device/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/device/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/device/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/device/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/device/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/device/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/device/Headers/module.modulemap +25 -0
- package/build/xcframework/device/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/device/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/device/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/device/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/device/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/device/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/device/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/device/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/device/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/device/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/device/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/device/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/device/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/device/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/device/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/device/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/device/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/device/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/device/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/device/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/device/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/device/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/device/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/device/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/device/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/device/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/device/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/device/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/device/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/device/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/device/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/device/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/device/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/device/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/device/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/device/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/device/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/device/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/device/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/device/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/device/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/device/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/device/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/device/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/device/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/device/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/device/libReactNativeWatchOSCxx.a +0 -0
- package/build/xcframework/simulator/Headers/RCTRequired/RCTRequired.h +13 -0
- package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTConvertHelpers.h +7 -0
- package/build/xcframework/simulator/Headers/RCTTypeSafety/RCTTypedModuleConstants.h +7 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CallInvoker.h +64 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CallbackWrapper.h +11 -0
- package/build/xcframework/simulator/Headers/ReactCommon/CxxTurboModuleUtils.h +35 -0
- package/build/xcframework/simulator/Headers/ReactCommon/LongLivedObject.h +11 -0
- package/build/xcframework/simulator/Headers/ReactCommon/RCTTurboModule.h +187 -0
- package/build/xcframework/simulator/Headers/ReactCommon/RuntimeExecutor.h +25 -0
- package/build/xcframework/simulator/Headers/ReactCommon/SchedulerPriority.h +20 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboCxxModule.h +49 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModule.h +162 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleBinding.h +59 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModulePerfLogger.h +108 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleUtils.h +38 -0
- package/build/xcframework/simulator/Headers/ReactCommon/TurboModuleWithJSIBindings.h +29 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWHermesHost.h +58 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWShadowNode.h +49 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry+Cxx.h +64 -0
- package/build/xcframework/simulator/Headers/ReactNativeWatchOSCxx/RNWTurboModuleRegistry.h +24 -0
- package/build/xcframework/simulator/Headers/jsi/decorator.h +1064 -0
- package/build/xcframework/simulator/Headers/jsi/hermes-interfaces.h +189 -0
- package/build/xcframework/simulator/Headers/jsi/instrumentation.h +132 -0
- package/build/xcframework/simulator/Headers/jsi/jsi-inl.h +405 -0
- package/build/xcframework/simulator/Headers/jsi/jsi.h +1937 -0
- package/build/xcframework/simulator/Headers/jsi/jsilib.h +59 -0
- package/build/xcframework/simulator/Headers/jsi/test/testlib.h +49 -0
- package/build/xcframework/simulator/Headers/jsi/threadsafe.h +79 -0
- package/build/xcframework/simulator/Headers/module.modulemap +25 -0
- package/build/xcframework/simulator/Headers/react/RCTBridgeModule.h +88 -0
- package/build/xcframework/simulator/Headers/react/RCTCxxConvert.h +7 -0
- package/build/xcframework/simulator/Headers/react/RCTEventEmitter.h +71 -0
- package/build/xcframework/simulator/Headers/react/RCTManagedPointer.h +7 -0
- package/build/xcframework/simulator/Headers/react/bridging/AString.h +42 -0
- package/build/xcframework/simulator/Headers/react/bridging/Array.h +151 -0
- package/build/xcframework/simulator/Headers/react/bridging/Base.h +188 -0
- package/build/xcframework/simulator/Headers/react/bridging/Bool.h +25 -0
- package/build/xcframework/simulator/Headers/react/bridging/Bridging.h +22 -0
- package/build/xcframework/simulator/Headers/react/bridging/CallbackWrapper.h +67 -0
- package/build/xcframework/simulator/Headers/react/bridging/Class.h +93 -0
- package/build/xcframework/simulator/Headers/react/bridging/Convert.h +170 -0
- package/build/xcframework/simulator/Headers/react/bridging/Dynamic.h +26 -0
- package/build/xcframework/simulator/Headers/react/bridging/Error.h +51 -0
- package/build/xcframework/simulator/Headers/react/bridging/EventEmitter.h +134 -0
- package/build/xcframework/simulator/Headers/react/bridging/Function.h +283 -0
- package/build/xcframework/simulator/Headers/react/bridging/HighResTimeStamp.h +41 -0
- package/build/xcframework/simulator/Headers/react/bridging/LongLivedObject.h +61 -0
- package/build/xcframework/simulator/Headers/react/bridging/Number.h +58 -0
- package/build/xcframework/simulator/Headers/react/bridging/Object.h +93 -0
- package/build/xcframework/simulator/Headers/react/bridging/Promise.h +110 -0
- package/build/xcframework/simulator/Headers/react/bridging/Value.h +107 -0
- package/build/xcframework/simulator/Headers/react/bridging/tests/BridgingTest.h +77 -0
- package/build/xcframework/simulator/Headers/react/debug/flags.h +22 -0
- package/build/xcframework/simulator/Headers/react/debug/react_native_assert.h +72 -0
- package/build/xcframework/simulator/Headers/react/debug/react_native_expect.h +43 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlags.h +402 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsAccessor.h +172 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDefaults.h +275 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +598 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h +51 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +43 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h +33 -0
- package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h +91 -0
- package/build/xcframework/simulator/Headers/react/utils/ContextContainer.h +110 -0
- package/build/xcframework/simulator/Headers/react/utils/FloatComparison.h +23 -0
- package/build/xcframework/simulator/Headers/react/utils/ManagedObjectWrapper.h +80 -0
- package/build/xcframework/simulator/Headers/react/utils/OnScopeExit.h +36 -0
- package/build/xcframework/simulator/Headers/react/utils/PackTraits.h +29 -0
- package/build/xcframework/simulator/Headers/react/utils/RunLoopObserver.h +125 -0
- package/build/xcframework/simulator/Headers/react/utils/SharedFunction.h +63 -0
- package/build/xcframework/simulator/Headers/react/utils/SimpleThreadSafeCache.h +88 -0
- package/build/xcframework/simulator/Headers/react/utils/Telemetry.h +113 -0
- package/build/xcframework/simulator/Headers/react/utils/TemplateStringLiteral.h +35 -0
- package/build/xcframework/simulator/Headers/react/utils/fnv1a.h +53 -0
- package/build/xcframework/simulator/Headers/react/utils/hash_combine.h +33 -0
- package/build/xcframework/simulator/Headers/react/utils/iequals.h +32 -0
- package/build/xcframework/simulator/Headers/react/utils/jsi-utils.h +31 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/android/react/utils/LowPriorityExecutor.h +14 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/cxx/react/utils/LowPriorityExecutor.h +18 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/FollyConvert.h +18 -0
- package/build/xcframework/simulator/Headers/react/utils/platform/ios/react/utils/LowPriorityExecutor.h +16 -0
- package/build/xcframework/simulator/Headers/react/utils/toLower.h +22 -0
- package/build/xcframework/simulator/Headers/react/utils/to_underlying.h +22 -0
- package/build/xcframework/simulator/libReactNativeWatchOSCxx.a +0 -0
- package/cli/init.js +155 -0
- package/cocoapods/autolink.rb +76 -0
- package/metro-config.d.ts +23 -0
- package/metro-config.js +1 -0
- package/package.json +131 -0
- package/plugin/README.md +113 -0
- package/plugin/src/index.js +69 -0
- package/plugin/src/withSPMPackage.js +287 -0
- package/plugin/src/withWatchAutolinking.js +106 -0
- package/plugin/src/withWatchBundleScript.js +216 -0
- package/plugin/src/withWatchTurboModuleCodegen.js +469 -0
- package/plugin/src/withWatchosMetro.js +163 -0
- package/plugin/templates/ContentView.swift +29 -0
- package/plugin/templates/index.watchos.tsx +16 -0
- package/react-native.config.js +21 -0
- package/src/components/AngularGradient.tsx +15 -0
- package/src/components/AsyncImage.tsx +82 -0
- package/src/components/Button.tsx +25 -0
- package/src/components/Capsule.tsx +3 -0
- package/src/components/Circle.tsx +3 -0
- package/src/components/Color.tsx +57 -0
- package/src/components/ContentUnavailableView.tsx +47 -0
- package/src/components/DatePicker.tsx +40 -0
- package/src/components/Divider.tsx +3 -0
- package/src/components/Ellipse.tsx +3 -0
- package/src/components/EmptyView.tsx +3 -0
- package/src/components/Form.tsx +8 -0
- package/src/components/Gauge.tsx +21 -0
- package/src/components/GeometryReader.tsx +3 -0
- package/src/components/Grid.tsx +21 -0
- package/src/components/GridRow.tsx +9 -0
- package/src/components/Group.tsx +5 -0
- package/src/components/HStack.tsx +15 -0
- package/src/components/Image.tsx +10 -0
- package/src/components/Label.tsx +13 -0
- package/src/components/LabeledContent.tsx +39 -0
- package/src/components/LazyHGrid.tsx +16 -0
- package/src/components/LazyHStack.tsx +17 -0
- package/src/components/LazyVGrid.tsx +16 -0
- package/src/components/LazyVStack.tsx +12 -0
- package/src/components/LinearGradient.tsx +23 -0
- package/src/components/Link.tsx +8 -0
- package/src/components/List.tsx +14 -0
- package/src/components/NavigationLink.tsx +48 -0
- package/src/components/NavigationStack.tsx +9 -0
- package/src/components/Picker.tsx +39 -0
- package/src/components/ProgressView.tsx +19 -0
- package/src/components/RadialGradient.tsx +12 -0
- package/src/components/Rectangle.tsx +3 -0
- package/src/components/RoundedRectangle.tsx +11 -0
- package/src/components/ScrollView.tsx +10 -0
- package/src/components/ScrollViewReader.tsx +3 -0
- package/src/components/Section.tsx +37 -0
- package/src/components/SecureField.tsx +30 -0
- package/src/components/ShareLink.tsx +18 -0
- package/src/components/Slider.tsx +32 -0
- package/src/components/Spacer.tsx +8 -0
- package/src/components/Stepper.tsx +35 -0
- package/src/components/TabView.tsx +39 -0
- package/src/components/Text.tsx +16 -0
- package/src/components/TextField.tsx +30 -0
- package/src/components/TimelineView.tsx +13 -0
- package/src/components/Toggle.tsx +26 -0
- package/src/components/VStack.tsx +10 -0
- package/src/components/ViewThatFits.tsx +7 -0
- package/src/components/ZStack.tsx +18 -0
- package/src/createHostConfig.ts +223 -0
- package/src/createNativeView.ts +28 -0
- package/src/devSupport/index.ts +287 -0
- package/src/eventRegistry.ts +110 -0
- package/src/index.ts +160 -0
- package/src/modifiers/accessibility.ts +27 -0
- package/src/modifiers/accessibilityAction.ts +22 -0
- package/src/modifiers/accessibilityActions.ts +15 -0
- package/src/modifiers/accessibilityAddTraits.ts +23 -0
- package/src/modifiers/accessibilityElement.ts +16 -0
- package/src/modifiers/accessibilityHidden.ts +7 -0
- package/src/modifiers/accessibilityHint.ts +7 -0
- package/src/modifiers/accessibilityIdentifier.ts +7 -0
- package/src/modifiers/accessibilityLabel.ts +7 -0
- package/src/modifiers/accessibilityRemoveTraits.ts +11 -0
- package/src/modifiers/accessibilityValue.ts +7 -0
- package/src/modifiers/alert.ts +32 -0
- package/src/modifiers/alignmentGuide.ts +33 -0
- package/src/modifiers/allowsHitTesting.ts +8 -0
- package/src/modifiers/allowsTightening.ts +8 -0
- package/src/modifiers/animation.ts +38 -0
- package/src/modifiers/antialiased.ts +7 -0
- package/src/modifiers/aspectRatio.ts +19 -0
- package/src/modifiers/autocorrectionDisabled.ts +26 -0
- package/src/modifiers/background.ts +37 -0
- package/src/modifiers/backgroundExtensionEffect.ts +9 -0
- package/src/modifiers/backgroundStyle.ts +10 -0
- package/src/modifiers/baselineOffset.ts +8 -0
- package/src/modifiers/blendMode.ts +29 -0
- package/src/modifiers/blur.ts +17 -0
- package/src/modifiers/bold.ts +15 -0
- package/src/modifiers/border.ts +21 -0
- package/src/modifiers/brightness.ts +7 -0
- package/src/modifiers/buttonBorderShape.ts +16 -0
- package/src/modifiers/buttonRepeatBehavior.ts +15 -0
- package/src/modifiers/buttonSizing.ts +17 -0
- package/src/modifiers/buttonStyle.ts +14 -0
- package/src/modifiers/clipShape.ts +24 -0
- package/src/modifiers/clipped.ts +7 -0
- package/src/modifiers/colorInvert.ts +6 -0
- package/src/modifiers/colorMultiply.ts +9 -0
- package/src/modifiers/colorScheme.ts +10 -0
- package/src/modifiers/componentStyles.ts +19 -0
- package/src/modifiers/compositingGroup.ts +8 -0
- package/src/modifiers/confirmationDialog.ts +38 -0
- package/src/modifiers/containerBackground.ts +39 -0
- package/src/modifiers/containerGrid.ts +40 -0
- package/src/modifiers/containerRelativeFrame.ts +32 -0
- package/src/modifiers/containerShape.ts +35 -0
- package/src/modifiers/containerValue.ts +22 -0
- package/src/modifiers/contentMargins.ts +36 -0
- package/src/modifiers/contentShape.ts +27 -0
- package/src/modifiers/contextMenu.ts +26 -0
- package/src/modifiers/contrast.ts +8 -0
- package/src/modifiers/controlSize.ts +15 -0
- package/src/modifiers/controlsPolish.ts +23 -0
- package/src/modifiers/coordinateSpace.ts +21 -0
- package/src/modifiers/cornerRadius.ts +16 -0
- package/src/modifiers/createModifier.ts +13 -0
- package/src/modifiers/datePickerStyle.ts +10 -0
- package/src/modifiers/defaultAppStorage.ts +22 -0
- package/src/modifiers/defaultScrollAnchor.ts +26 -0
- package/src/modifiers/deleteDisabled.ts +7 -0
- package/src/modifiers/digitalCrownAccessory.ts +27 -0
- package/src/modifiers/digitalCrownRotation.ts +29 -0
- package/src/modifiers/disabled.ts +20 -0
- package/src/modifiers/drawingGroup.ts +14 -0
- package/src/modifiers/dynamicTypeSize.ts +24 -0
- package/src/modifiers/environment.modifier.ts +38 -0
- package/src/modifiers/environment.ts +17 -0
- package/src/modifiers/environmentObject.ts +21 -0
- package/src/modifiers/filters.ts +19 -0
- package/src/modifiers/fixedSize.ts +17 -0
- package/src/modifiers/focusable.ts +20 -0
- package/src/modifiers/focused.ts +17 -0
- package/src/modifiers/font.ts +48 -0
- package/src/modifiers/fontDesign.ts +18 -0
- package/src/modifiers/fontWeight.ts +15 -0
- package/src/modifiers/foregroundColor.ts +9 -0
- package/src/modifiers/foregroundStyle.ts +11 -0
- package/src/modifiers/formStyle.ts +10 -0
- package/src/modifiers/frame.ts +34 -0
- package/src/modifiers/fullScreenCover.ts +29 -0
- package/src/modifiers/gaugeStyle.ts +17 -0
- package/src/modifiers/geometry.ts +17 -0
- package/src/modifiers/geometryGroup.ts +8 -0
- package/src/modifiers/gesture.ts +30 -0
- package/src/modifiers/gestures.ts +14 -0
- package/src/modifiers/glass.ts +25 -0
- package/src/modifiers/glassEffect.ts +26 -0
- package/src/modifiers/glassEffectID.ts +19 -0
- package/src/modifiers/glassEffectTransition.ts +24 -0
- package/src/modifiers/glassEffectUnion.ts +19 -0
- package/src/modifiers/grayscale.ts +7 -0
- package/src/modifiers/gridCellAnchor.ts +36 -0
- package/src/modifiers/gridCellColumns.ts +21 -0
- package/src/modifiers/gridCellUnsizedAxes.ts +27 -0
- package/src/modifiers/gridColumnAlignment.ts +27 -0
- package/src/modifiers/handGestureShortcut.ts +30 -0
- package/src/modifiers/headerProminence.ts +11 -0
- package/src/modifiers/help.ts +17 -0
- package/src/modifiers/hidden.ts +22 -0
- package/src/modifiers/highPriorityGesture.ts +12 -0
- package/src/modifiers/hueRotation.ts +19 -0
- package/src/modifiers/id.ts +8 -0
- package/src/modifiers/ignoresSafeArea.ts +23 -0
- package/src/modifiers/imageScale.ts +9 -0
- package/src/modifiers/imageSymbol.ts +8 -0
- package/src/modifiers/input.ts +22 -0
- package/src/modifiers/interaction.ts +27 -0
- package/src/modifiers/interactiveDismissDisabled.ts +9 -0
- package/src/modifiers/interpolation.ts +10 -0
- package/src/modifiers/italic.ts +15 -0
- package/src/modifiers/kerning.ts +9 -0
- package/src/modifiers/labelIconToTitleSpacing.ts +13 -0
- package/src/modifiers/labelReservedIconWidth.ts +13 -0
- package/src/modifiers/labelStyle.ts +13 -0
- package/src/modifiers/labeledContentStyle.ts +10 -0
- package/src/modifiers/labelsHidden.ts +7 -0
- package/src/modifiers/labelsVisibility.ts +17 -0
- package/src/modifiers/layout.ts +23 -0
- package/src/modifiers/layoutPriority.ts +22 -0
- package/src/modifiers/lineLimit.ts +15 -0
- package/src/modifiers/lineSpacing.ts +15 -0
- package/src/modifiers/listItemTint.ts +9 -0
- package/src/modifiers/listRowBackground.ts +15 -0
- package/src/modifiers/listRowInsets.ts +15 -0
- package/src/modifiers/listSectionSpacing.ts +26 -0
- package/src/modifiers/listStyle.ts +11 -0
- package/src/modifiers/lists.ts +16 -0
- package/src/modifiers/luminanceToAlpha.ts +7 -0
- package/src/modifiers/mask.ts +30 -0
- package/src/modifiers/matchedGeometryEffect.ts +28 -0
- package/src/modifiers/matchedTransitionSource.ts +21 -0
- package/src/modifiers/materialActiveAppearance.ts +19 -0
- package/src/modifiers/menuActionDismissBehavior.ts +18 -0
- package/src/modifiers/menuOrder.ts +12 -0
- package/src/modifiers/minimumScaleFactor.ts +17 -0
- package/src/modifiers/monospaced.ts +15 -0
- package/src/modifiers/monospacedDigit.ts +8 -0
- package/src/modifiers/moveDisabled.ts +7 -0
- package/src/modifiers/multilineTextAlignment.ts +19 -0
- package/src/modifiers/navigation.ts +17 -0
- package/src/modifiers/navigationBarBackButtonHidden.ts +8 -0
- package/src/modifiers/navigationDestination.ts +26 -0
- package/src/modifiers/navigationTitle.ts +8 -0
- package/src/modifiers/navigationTransition.ts +28 -0
- package/src/modifiers/offset.ts +22 -0
- package/src/modifiers/onAppear.ts +10 -0
- package/src/modifiers/onChange.ts +15 -0
- package/src/modifiers/onDisappear.ts +10 -0
- package/src/modifiers/onGeometryChange.ts +21 -0
- package/src/modifiers/onLongPressGesture.ts +30 -0
- package/src/modifiers/onOpenURL.ts +12 -0
- package/src/modifiers/onReceive.ts +34 -0
- package/src/modifiers/onSubmit.ts +25 -0
- package/src/modifiers/onTapGesture.ts +27 -0
- package/src/modifiers/opacity.ts +14 -0
- package/src/modifiers/overlay.ts +29 -0
- package/src/modifiers/padding.ts +24 -0
- package/src/modifiers/pickerStyle.ts +9 -0
- package/src/modifiers/position.ts +24 -0
- package/src/modifiers/preferredColorScheme.ts +9 -0
- package/src/modifiers/presentation.ts +21 -0
- package/src/modifiers/presentationBackground.ts +35 -0
- package/src/modifiers/presentationCompactAdaptation.ts +24 -0
- package/src/modifiers/presentationCornerRadius.ts +13 -0
- package/src/modifiers/presentationDetents.ts +37 -0
- package/src/modifiers/presentationDragIndicator.ts +14 -0
- package/src/modifiers/privacySensitive.ts +8 -0
- package/src/modifiers/progressViewStyle.ts +10 -0
- package/src/modifiers/projectionEffect.ts +13 -0
- package/src/modifiers/redacted.ts +12 -0
- package/src/modifiers/refreshable.ts +10 -0
- package/src/modifiers/renderingMode.ts +11 -0
- package/src/modifiers/resizable.ts +9 -0
- package/src/modifiers/rotation3DEffect.ts +22 -0
- package/src/modifiers/rotationEffect.ts +39 -0
- package/src/modifiers/safeAreaInset.ts +24 -0
- package/src/modifiers/saturation.ts +7 -0
- package/src/modifiers/scaleEffect.ts +33 -0
- package/src/modifiers/scaledTo.ts +15 -0
- package/src/modifiers/scroll.ts +45 -0
- package/src/modifiers/scrollBounceBehavior.ts +32 -0
- package/src/modifiers/scrollClipDisabled.ts +8 -0
- package/src/modifiers/scrollContentBackground.ts +29 -0
- package/src/modifiers/scrollDisabled.ts +7 -0
- package/src/modifiers/scrollDismissesKeyboard.ts +30 -0
- package/src/modifiers/scrollIndicators.ts +30 -0
- package/src/modifiers/scrollPosition.ts +19 -0
- package/src/modifiers/scrollTargetBehavior.ts +27 -0
- package/src/modifiers/scrollTargetLayout.ts +9 -0
- package/src/modifiers/search.ts +21 -0
- package/src/modifiers/searchCompletion.ts +30 -0
- package/src/modifiers/searchPresentationToolbarBehavior.ts +31 -0
- package/src/modifiers/searchSuggestions.ts +21 -0
- package/src/modifiers/searchToolbarBehavior.ts +27 -0
- package/src/modifiers/searchable.ts +25 -0
- package/src/modifiers/selectionDisabled.ts +7 -0
- package/src/modifiers/sensoryFeedback.ts +32 -0
- package/src/modifiers/shadow.ts +18 -0
- package/src/modifiers/sheet.ts +22 -0
- package/src/modifiers/simultaneousGesture.ts +15 -0
- package/src/modifiers/springLoadingBehavior.ts +13 -0
- package/src/modifiers/strikethrough.ts +19 -0
- package/src/modifiers/styling.ts +22 -0
- package/src/modifiers/submitLabel.ts +32 -0
- package/src/modifiers/swipeActions.ts +36 -0
- package/src/modifiers/symbolEffect.ts +20 -0
- package/src/modifiers/symbolRenderingMode.ts +13 -0
- package/src/modifiers/symbolVariant.ts +15 -0
- package/src/modifiers/tabItem.ts +19 -0
- package/src/modifiers/tabViewStyle.ts +14 -0
- package/src/modifiers/tag.ts +7 -0
- package/src/modifiers/task.ts +12 -0
- package/src/modifiers/text.ts +31 -0
- package/src/modifiers/textCase.ts +19 -0
- package/src/modifiers/textContentType.ts +36 -0
- package/src/modifiers/textFieldStyle.ts +10 -0
- package/src/modifiers/textInputAutocapitalization.ts +30 -0
- package/src/modifiers/textPolish.ts +7 -0
- package/src/modifiers/textScale.ts +14 -0
- package/src/modifiers/theme.ts +8 -0
- package/src/modifiers/tint.ts +9 -0
- package/src/modifiers/toggleStyle.ts +9 -0
- package/src/modifiers/toolbar.ts +27 -0
- package/src/modifiers/toolbarBackground.ts +34 -0
- package/src/modifiers/toolbarColorScheme.ts +32 -0
- package/src/modifiers/toolbarItems.ts +23 -0
- package/src/modifiers/toolbarTitleDisplayMode.ts +26 -0
- package/src/modifiers/toolbarTitleMenu.ts +21 -0
- package/src/modifiers/toolbarVisibility.ts +31 -0
- package/src/modifiers/tracking.ts +9 -0
- package/src/modifiers/transformEffect.ts +31 -0
- package/src/modifiers/transforms.ts +17 -0
- package/src/modifiers/transition.ts +35 -0
- package/src/modifiers/truncationMode.ts +18 -0
- package/src/modifiers/underline.ts +18 -0
- package/src/modifiers/unredacted.ts +7 -0
- package/src/modifiers/watch.ts +21 -0
- package/src/modifiers/zIndex.ts +20 -0
- package/src/polyfills.ts +206 -0
- package/src/reactNativeShim.ts +113 -0
- package/src/render.ts +78 -0
- package/src/setupConsole.ts +78 -0
- package/src/setupSelfGlobal.ts +12 -0
- package/src/types/GridItem.ts +39 -0
- package/src/types.ts +24 -0
- package/src/useEventHandler.ts +31 -0
- package/src/useModifiers.ts +126 -0
- package/src/watchConnectivity/eventBridge.ts +32 -0
- package/src/watchConnectivity/index.ts +195 -0
- package/src/watchConnectivity/specs/NativeWatchConnectivity.ts +56 -0
- package/src/watchConnectivity/types.ts +64 -0
- package/src/whatwg-fetch.d.ts +5 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createElement, type FC } from 'react';
|
|
2
|
+
|
|
3
|
+
import type { CommonProps } from './types';
|
|
4
|
+
import { useModifiers } from './useModifiers';
|
|
5
|
+
|
|
6
|
+
/// Build a React component that, when rendered, asks the reconciler to
|
|
7
|
+
/// create a native node with the given SwiftUI view name. Component
|
|
8
|
+
/// files in `src/components/` are typically one line:
|
|
9
|
+
/// `export const VStack = createNativeView<VStackProps>('VStack');`
|
|
10
|
+
///
|
|
11
|
+
/// The `name` is forwarded as-is to the C++ shadow tree and used by
|
|
12
|
+
/// the Swift-side `RNWViewRegistry` to pick the renderer. `useModifiers`
|
|
13
|
+
/// rewrites the `modifiers` prop so callback / content modifiers work
|
|
14
|
+
/// (function → handler id, element → hoisted `__ModifierContent` child).
|
|
15
|
+
export function createNativeView<P extends object>(
|
|
16
|
+
name: string
|
|
17
|
+
): FC<P & CommonProps> {
|
|
18
|
+
const Component: FC<P & CommonProps> = (props) => {
|
|
19
|
+
const { modifiers, children } = useModifiers(props.modifiers, props.children);
|
|
20
|
+
return createElement(name, {
|
|
21
|
+
...props,
|
|
22
|
+
modifiers,
|
|
23
|
+
children,
|
|
24
|
+
} as Record<string, unknown>);
|
|
25
|
+
};
|
|
26
|
+
Component.displayName = name;
|
|
27
|
+
return Component;
|
|
28
|
+
}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
// Side-effect module: install React Refresh + connect to Metro's HMR
|
|
2
|
+
// endpoint. Import this BEFORE any module that pulls in React, otherwise
|
|
3
|
+
// `injectIntoGlobalHook` lands after React has already cached the runtime
|
|
4
|
+
// and Refresh registrations are silently ignored.
|
|
5
|
+
//
|
|
6
|
+
// // example/index.watchos.tsx
|
|
7
|
+
// import '@appsent-co/react-native-watchos/dev-support';
|
|
8
|
+
// import { render } from '@appsent-co/react-native-watchos/renderer';
|
|
9
|
+
// …
|
|
10
|
+
//
|
|
11
|
+
// The Swift host injects `globalThis.__RNW_DEV_SERVER` with the dev-server
|
|
12
|
+
// host/port/entry parsed from the bundle URL. If that global isn't present
|
|
13
|
+
// (production build, static bundle, etc.), this module is a no-op.
|
|
14
|
+
|
|
15
|
+
// Side-effect import — installs `setImmediate`/`clearImmediate` globals
|
|
16
|
+
// before any consumer code (including React's scheduler) reads them.
|
|
17
|
+
// Idempotent; safe to run again from the renderer's own import chain.
|
|
18
|
+
import '../polyfills';
|
|
19
|
+
|
|
20
|
+
// Bare-minimum runtime shape we depend on. The real interface in
|
|
21
|
+
// `react-refresh/runtime` is larger; we just name the bits we touch.
|
|
22
|
+
interface RefreshRuntime {
|
|
23
|
+
injectIntoGlobalHook(global: unknown): void;
|
|
24
|
+
register(type: unknown, id: string): void;
|
|
25
|
+
createSignatureFunctionForTransform(): (
|
|
26
|
+
type: unknown,
|
|
27
|
+
key: string,
|
|
28
|
+
forceReset?: boolean,
|
|
29
|
+
getCustomHooks?: () => unknown[]
|
|
30
|
+
) => unknown;
|
|
31
|
+
isLikelyComponentType(type: unknown): boolean;
|
|
32
|
+
getFamilyByType(type: unknown): unknown;
|
|
33
|
+
performReactRefresh(): void;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface DevServerInfo {
|
|
37
|
+
host: string;
|
|
38
|
+
port: number;
|
|
39
|
+
entry: string;
|
|
40
|
+
scheme: 'http' | 'https';
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Metro's polyfill reads `global.__ReactRefresh` once per module load.
|
|
44
|
+
// We populate it before any other module evaluates (this file is the
|
|
45
|
+
// first thing the entry imports), so by the time React itself loads it
|
|
46
|
+
// already sees the hook.
|
|
47
|
+
interface ReactRefreshGlobal {
|
|
48
|
+
register: RefreshRuntime['register'];
|
|
49
|
+
createSignatureFunctionForTransform: RefreshRuntime['createSignatureFunctionForTransform'];
|
|
50
|
+
isLikelyComponentType: RefreshRuntime['isLikelyComponentType'];
|
|
51
|
+
getFamilyByType: RefreshRuntime['getFamilyByType'];
|
|
52
|
+
performReactRefresh(): void;
|
|
53
|
+
performFullRefresh(reason: string): void;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// `__DEV__` is a Metro-defined global, true only for dev bundles. Guarding
|
|
57
|
+
// the whole side effect on it lets Metro dead-code-eliminate this entire
|
|
58
|
+
// module from production bundles.
|
|
59
|
+
declare const __DEV__: boolean;
|
|
60
|
+
|
|
61
|
+
// `require`, `console`, and `setTimeout` aren't in tsconfig's `lib`
|
|
62
|
+
// (ESNext only — no DOM, no Node). Bridge them through globalThis the
|
|
63
|
+
// same way `createHostConfig.ts` does for timers.
|
|
64
|
+
declare const require: (id: string) => unknown;
|
|
65
|
+
const g = globalThis as unknown as {
|
|
66
|
+
__DEV__?: boolean;
|
|
67
|
+
__RNW_DEV_SERVER?: DevServerInfo;
|
|
68
|
+
__METRO_GLOBAL_PREFIX__?: string;
|
|
69
|
+
WebSocket?: new (url: string) => unknown;
|
|
70
|
+
console: {
|
|
71
|
+
log(...args: unknown[]): void;
|
|
72
|
+
warn(...args: unknown[]): void;
|
|
73
|
+
error(...args: unknown[]): void;
|
|
74
|
+
};
|
|
75
|
+
setTimeout: (cb: () => void, ms?: number) => number;
|
|
76
|
+
[key: string]: unknown;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
if (typeof __DEV__ !== 'undefined' && __DEV__) {
|
|
80
|
+
install();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function install(): void {
|
|
84
|
+
// `react-refresh/runtime` must resolve from a node_modules visible to the
|
|
85
|
+
// consumer's bundle. Consumers using pnpm need to add `react-refresh` as
|
|
86
|
+
// an explicit dep (it's a transitive of react-native but pnpm strict
|
|
87
|
+
// mode doesn't hoist transitives). See example/package.json.
|
|
88
|
+
let refresh: RefreshRuntime;
|
|
89
|
+
try {
|
|
90
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
91
|
+
refresh = require('react-refresh/runtime') as RefreshRuntime;
|
|
92
|
+
} catch (e) {
|
|
93
|
+
g.console.warn(
|
|
94
|
+
'@appsent-co/react-native-watchos: react-refresh/runtime not found — HMR disabled. ' +
|
|
95
|
+
'Add `react-refresh` to your app dependencies.'
|
|
96
|
+
);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
refresh.injectIntoGlobalHook(globalThis);
|
|
101
|
+
|
|
102
|
+
const refreshGlobal: ReactRefreshGlobal = {
|
|
103
|
+
register: refresh.register,
|
|
104
|
+
createSignatureFunctionForTransform:
|
|
105
|
+
refresh.createSignatureFunctionForTransform,
|
|
106
|
+
isLikelyComponentType: refresh.isLikelyComponentType,
|
|
107
|
+
getFamilyByType: refresh.getFamilyByType,
|
|
108
|
+
performReactRefresh() {
|
|
109
|
+
refresh.performReactRefresh();
|
|
110
|
+
},
|
|
111
|
+
performFullRefresh(reason: string) {
|
|
112
|
+
// The Swift host installs `__RNW_RELOAD` — fire-and-forget; it hops
|
|
113
|
+
// off the JS callstack and triggers a fresh bundle download + eval.
|
|
114
|
+
// Fall back to a console warning + the shake-to-reload dev menu if
|
|
115
|
+
// we're somehow running against an older host.
|
|
116
|
+
const reload = (g as { __RNW_RELOAD?: () => void }).__RNW_RELOAD;
|
|
117
|
+
if (typeof reload === 'function') {
|
|
118
|
+
g.console.warn(`Fast Refresh: full reload (${reason})`);
|
|
119
|
+
reload();
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
g.console.warn(
|
|
123
|
+
`@appsent-co/react-native-watchos: full refresh requested (${reason}) — no ` +
|
|
124
|
+
'reload handler installed; shake the watch to reload.'
|
|
125
|
+
);
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
const prefix = g.__METRO_GLOBAL_PREFIX__ ?? '';
|
|
129
|
+
g[prefix + '__ReactRefresh'] = refreshGlobal;
|
|
130
|
+
|
|
131
|
+
const dev = g.__RNW_DEV_SERVER;
|
|
132
|
+
if (!dev) {
|
|
133
|
+
// Either the consumer is using a static bundle, or the Swift host is
|
|
134
|
+
// older than this dev-support module. Refresh hooks are still installed,
|
|
135
|
+
// so a manual reload still picks up new component definitions.
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (typeof g.WebSocket !== 'function') {
|
|
139
|
+
g.console.warn(
|
|
140
|
+
'@appsent-co/react-native-watchos: globalThis.WebSocket missing — HMR transport disabled.'
|
|
141
|
+
);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
connect(dev);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Minimal HMR client. The wire format mirrors `metro-runtime`'s HMRClient
|
|
148
|
+
// exactly — `register-entrypoints`, `update`, `update-done`, `error` —
|
|
149
|
+
// but we inline it here so the library doesn't need `metro-runtime` to be
|
|
150
|
+
// resolvable from its own package directory.
|
|
151
|
+
function connect(dev: DevServerInfo): void {
|
|
152
|
+
const scheme = dev.scheme === 'https' ? 'wss' : 'ws';
|
|
153
|
+
const wsURL = `${scheme}://${dev.host}:${dev.port}/hot`;
|
|
154
|
+
const entryURL =
|
|
155
|
+
`${dev.scheme}://${dev.host}:${dev.port}/hot?` +
|
|
156
|
+
`bundleEntry=${encodeURIComponent(dev.entry)}&platform=watchos`;
|
|
157
|
+
|
|
158
|
+
const WS = g.WebSocket as new (url: string) => {
|
|
159
|
+
onopen: ((e: unknown) => void) | null;
|
|
160
|
+
onmessage: ((e: { data: string }) => void) | null;
|
|
161
|
+
onerror: ((e: { message?: string }) => void) | null;
|
|
162
|
+
onclose: ((e: { code?: number; reason?: string }) => void) | null;
|
|
163
|
+
send(data: string): void;
|
|
164
|
+
close(): void;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
let socket: ReturnType<typeof connectOnce> | null = null;
|
|
168
|
+
let reconnectTimer: number | undefined;
|
|
169
|
+
let attempt = 0;
|
|
170
|
+
|
|
171
|
+
// Reconnect with backoff so Metro restarts don't strand the runtime
|
|
172
|
+
// permanently. Cap at 10s to keep the dev loop snappy.
|
|
173
|
+
const scheduleReconnect = (): void => {
|
|
174
|
+
if (reconnectTimer != null) return;
|
|
175
|
+
const delay = Math.min(10000, 500 * Math.pow(2, attempt));
|
|
176
|
+
attempt += 1;
|
|
177
|
+
reconnectTimer = g.setTimeout(() => {
|
|
178
|
+
reconnectTimer = undefined;
|
|
179
|
+
socket = connectOnce();
|
|
180
|
+
}, delay);
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
const connectOnce = (): { ws: InstanceType<typeof WS> } => {
|
|
184
|
+
const ws = new WS(wsURL);
|
|
185
|
+
let open = false;
|
|
186
|
+
|
|
187
|
+
ws.onopen = () => {
|
|
188
|
+
open = true;
|
|
189
|
+
attempt = 0;
|
|
190
|
+
ws.send(
|
|
191
|
+
JSON.stringify({
|
|
192
|
+
type: 'register-entrypoints',
|
|
193
|
+
entryPoints: [entryURL],
|
|
194
|
+
})
|
|
195
|
+
);
|
|
196
|
+
// Opt into log forwarding so the dev server can surface client logs.
|
|
197
|
+
ws.send(JSON.stringify({ type: 'log-opt-in' }));
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
ws.onmessage = (event) => {
|
|
201
|
+
let msg: { type: string; body?: unknown };
|
|
202
|
+
try {
|
|
203
|
+
msg = JSON.parse(event.data);
|
|
204
|
+
} catch {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
switch (msg.type) {
|
|
208
|
+
case 'bundle-registered':
|
|
209
|
+
case 'update-start':
|
|
210
|
+
case 'update-done':
|
|
211
|
+
break;
|
|
212
|
+
case 'update': {
|
|
213
|
+
const body = msg.body as
|
|
214
|
+
| undefined
|
|
215
|
+
| {
|
|
216
|
+
added?: { module: [number, string]; sourceURL: string }[];
|
|
217
|
+
modified?: { module: [number, string]; sourceURL: string }[];
|
|
218
|
+
deleted?: number[];
|
|
219
|
+
};
|
|
220
|
+
if (!body) break;
|
|
221
|
+
const inject = (item: {
|
|
222
|
+
module: [number, string];
|
|
223
|
+
sourceURL: string;
|
|
224
|
+
}): void => {
|
|
225
|
+
const [id, code] = item.module;
|
|
226
|
+
try {
|
|
227
|
+
const evalWithUrl = (
|
|
228
|
+
g as unknown as {
|
|
229
|
+
globalEvalWithSourceUrl?: (
|
|
230
|
+
code: string,
|
|
231
|
+
sourceURL: string
|
|
232
|
+
) => unknown;
|
|
233
|
+
}
|
|
234
|
+
).globalEvalWithSourceUrl;
|
|
235
|
+
if (typeof evalWithUrl === 'function') {
|
|
236
|
+
evalWithUrl(code, item.sourceURL);
|
|
237
|
+
} else {
|
|
238
|
+
// Hermes always provides eval(); fall back to it. Stack
|
|
239
|
+
// traces just lose their sourceURL annotation.
|
|
240
|
+
// eslint-disable-next-line no-eval
|
|
241
|
+
(0, eval)(code);
|
|
242
|
+
}
|
|
243
|
+
} catch (e) {
|
|
244
|
+
const err = e as { message?: string; stack?: string };
|
|
245
|
+
g.console.error(
|
|
246
|
+
`HMR eval failed for module ${id}: ${err?.message ?? e}`
|
|
247
|
+
);
|
|
248
|
+
if (err?.stack) g.console.error(err.stack);
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
body.added?.forEach(inject);
|
|
252
|
+
body.modified?.forEach(inject);
|
|
253
|
+
// Metro's HMRClient ignores `deleted` IDs — the module's
|
|
254
|
+
// accept-handler stops re-running its body, which is enough.
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
case 'error':
|
|
258
|
+
g.console.error('HMR error', msg.body);
|
|
259
|
+
break;
|
|
260
|
+
default:
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
ws.onerror = (e) => {
|
|
266
|
+
if (!open) {
|
|
267
|
+
// Connect failure (Metro not up yet, or wrong host). Reconnect
|
|
268
|
+
// attempts will keep trying until Metro shows up.
|
|
269
|
+
g.console.warn('HMR connect failed:', e?.message ?? 'unknown');
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
ws.onclose = () => {
|
|
274
|
+
open = false;
|
|
275
|
+
scheduleReconnect();
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
return { ws };
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
socket = connectOnce();
|
|
282
|
+
// Touch `socket` to keep TS happy — the reference is held implicitly
|
|
283
|
+
// by the WebSocket itself (URLSession retains the task), but we want
|
|
284
|
+
// a JS reference too so it isn't collected if the runtime ever adds a
|
|
285
|
+
// GC roundtrip beyond the WHATWG spec.
|
|
286
|
+
(g as { __RNW_HMR_SOCKET?: typeof socket }).__RNW_HMR_SOCKET = socket;
|
|
287
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/// JS-side bridge endpoint for native → JS events.
|
|
2
|
+
///
|
|
3
|
+
/// Two parallel registries live behind `globalThis.__RNW_EVENTS`:
|
|
4
|
+
///
|
|
5
|
+
/// - `dispatch(id, payload)` — id-keyed table, used by SwiftUI action
|
|
6
|
+
/// closures (`onPress`, `onChange`, …). The renderer registers a
|
|
7
|
+
/// callback via `registerHandler` and embeds the returned numeric id
|
|
8
|
+
/// in the shadow node prop. Numbers cross the FFI cleanly; closures
|
|
9
|
+
/// don't.
|
|
10
|
+
///
|
|
11
|
+
/// - `dispatchEvent(name, payload)` — name-keyed fan-out, used by
|
|
12
|
+
/// `RCTEventEmitter sendEventWithName:body:` on the native side and
|
|
13
|
+
/// the `NativeEventEmitter` shim on the JS side. Multiple listeners
|
|
14
|
+
/// per name are supported; the fan-out iterates the set.
|
|
15
|
+
///
|
|
16
|
+
/// The bridge install is idempotent — `installEventBridge` is safe to
|
|
17
|
+
/// call multiple times (the render module does it on import).
|
|
18
|
+
|
|
19
|
+
type Handler = (payload?: unknown) => void;
|
|
20
|
+
|
|
21
|
+
const handlers = new Map<number, Handler>();
|
|
22
|
+
let nextId = 1;
|
|
23
|
+
|
|
24
|
+
/// Register a JS callback and get a stable numeric id back. The returned
|
|
25
|
+
/// id is what gets sent across the bridge as the `onPress` / `onChange`
|
|
26
|
+
/// prop value. Call `unregisterHandler` on unmount to free the slot.
|
|
27
|
+
export function registerHandler(fn: Handler): number {
|
|
28
|
+
const id = nextId++;
|
|
29
|
+
handlers.set(id, fn);
|
|
30
|
+
return id;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function unregisterHandler(id: number): void {
|
|
34
|
+
handlers.delete(id);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const eventListeners = new Map<string, Set<Handler>>();
|
|
38
|
+
|
|
39
|
+
/// Register a listener for events fired by name (via the native
|
|
40
|
+
/// `RCTEventEmitter`). Returns a disposer; many listeners can share one
|
|
41
|
+
/// name and all of them fire on dispatch.
|
|
42
|
+
export function registerEventListener(name: string, fn: Handler): () => void {
|
|
43
|
+
let set = eventListeners.get(name);
|
|
44
|
+
if (set == null) {
|
|
45
|
+
set = new Set();
|
|
46
|
+
eventListeners.set(name, set);
|
|
47
|
+
}
|
|
48
|
+
set.add(fn);
|
|
49
|
+
return () => {
|
|
50
|
+
const current = eventListeners.get(name);
|
|
51
|
+
if (current == null) return;
|
|
52
|
+
current.delete(fn);
|
|
53
|
+
if (current.size === 0) eventListeners.delete(name);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// `console` lives on globalThis (installed by RNWHermesHost) but isn't in
|
|
58
|
+
// the TS lib's ESNext target. Reach for it via globalThis for the type.
|
|
59
|
+
const g = globalThis as unknown as {
|
|
60
|
+
console?: { error: (...args: unknown[]) => void };
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/// Invoked by the native side via `globalThis.__RNW_EVENTS.dispatch`.
|
|
64
|
+
/// Stale ids (handlers freed between event scheduling and firing) are
|
|
65
|
+
/// silently dropped — the native side doesn't know about React's
|
|
66
|
+
/// unmount lifecycle.
|
|
67
|
+
function dispatch(id: number, payload?: unknown): void {
|
|
68
|
+
const fn = handlers.get(id);
|
|
69
|
+
if (fn === undefined) return;
|
|
70
|
+
try {
|
|
71
|
+
fn(payload);
|
|
72
|
+
} catch (e) {
|
|
73
|
+
// Don't let a user handler error tear down the runtime. The thrown
|
|
74
|
+
// value surfaces to Metro via console.error (RNWHermesHost forwards
|
|
75
|
+
// every console.* through onConsoleLog → reportToMetro).
|
|
76
|
+
g.console?.error('event handler threw:', e);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/// Invoked by the native side via `globalThis.__RNW_EVENTS.dispatchEvent`.
|
|
81
|
+
/// Events fired before any listener is registered are silently dropped
|
|
82
|
+
/// (matches the iOS behavior of events firing before `addListener`).
|
|
83
|
+
function dispatchEvent(name: string, payload?: unknown): void {
|
|
84
|
+
const set = eventListeners.get(name);
|
|
85
|
+
if (set === undefined) return;
|
|
86
|
+
for (const fn of set) {
|
|
87
|
+
try {
|
|
88
|
+
fn(payload);
|
|
89
|
+
} catch (e) {
|
|
90
|
+
g.console?.error('event listener threw:', e);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
let installed = false;
|
|
96
|
+
|
|
97
|
+
/// Install `globalThis.__RNW_EVENTS = { dispatch, dispatchEvent }` so the
|
|
98
|
+
/// native side can find the dispatchers. Called once, on render-module
|
|
99
|
+
/// import (and again, idempotently, from the `NativeEventEmitter` shim).
|
|
100
|
+
export function installEventBridge(): void {
|
|
101
|
+
if (installed) return;
|
|
102
|
+
installed = true;
|
|
103
|
+
const g = globalThis as unknown as {
|
|
104
|
+
__RNW_EVENTS?: {
|
|
105
|
+
dispatch: typeof dispatch;
|
|
106
|
+
dispatchEvent: typeof dispatchEvent;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
g.__RNW_EVENTS = { dispatch, dispatchEvent };
|
|
110
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// Side-effect import — installs `setImmediate`/`clearImmediate` globals
|
|
2
|
+
// before React's scheduler captures them at module-init time.
|
|
3
|
+
import './polyfills';
|
|
4
|
+
|
|
5
|
+
// Components — built-in SwiftUI views.
|
|
6
|
+
export { Text, type TextProps } from './components/Text';
|
|
7
|
+
export { VStack, type VStackProps } from './components/VStack';
|
|
8
|
+
export { HStack, type HStackProps } from './components/HStack';
|
|
9
|
+
export { LazyVStack, type LazyVStackProps } from './components/LazyVStack';
|
|
10
|
+
export { LazyHStack, type LazyHStackProps } from './components/LazyHStack';
|
|
11
|
+
export { ZStack, type ZStackProps } from './components/ZStack';
|
|
12
|
+
export { Group, type GroupProps } from './components/Group';
|
|
13
|
+
export { Spacer, type SpacerProps } from './components/Spacer';
|
|
14
|
+
export { Divider } from './components/Divider';
|
|
15
|
+
export { Rectangle } from './components/Rectangle';
|
|
16
|
+
export {
|
|
17
|
+
RoundedRectangle,
|
|
18
|
+
type RoundedRectangleProps,
|
|
19
|
+
} from './components/RoundedRectangle';
|
|
20
|
+
export { Circle } from './components/Circle';
|
|
21
|
+
export { Ellipse } from './components/Ellipse';
|
|
22
|
+
export { Capsule } from './components/Capsule';
|
|
23
|
+
export { Color, type ColorProps } from './components/Color';
|
|
24
|
+
export { ScrollView, type ScrollViewProps } from './components/ScrollView';
|
|
25
|
+
export { ScrollViewReader } from './components/ScrollViewReader';
|
|
26
|
+
export {
|
|
27
|
+
ViewThatFits,
|
|
28
|
+
type ViewThatFitsProps,
|
|
29
|
+
} from './components/ViewThatFits';
|
|
30
|
+
export { GeometryReader } from './components/GeometryReader';
|
|
31
|
+
export { Button, type ButtonProps } from './components/Button';
|
|
32
|
+
export { Toggle, type ToggleProps } from './components/Toggle';
|
|
33
|
+
export { Slider, type SliderProps } from './components/Slider';
|
|
34
|
+
export { Stepper, type StepperProps } from './components/Stepper';
|
|
35
|
+
export { Picker, type PickerProps } from './components/Picker';
|
|
36
|
+
export { DatePicker, type DatePickerProps } from './components/DatePicker';
|
|
37
|
+
export { TextField, type TextFieldProps } from './components/TextField';
|
|
38
|
+
export { SecureField, type SecureFieldProps } from './components/SecureField';
|
|
39
|
+
export { Image, type ImageProps } from './components/Image';
|
|
40
|
+
export { AsyncImage, type AsyncImageProps } from './components/AsyncImage';
|
|
41
|
+
export { Label, type LabelProps } from './components/Label';
|
|
42
|
+
export { List, type ListProps } from './components/List';
|
|
43
|
+
export { Section, type SectionProps } from './components/Section';
|
|
44
|
+
export { Form, type FormProps } from './components/Form';
|
|
45
|
+
export { TabView, type TabViewProps } from './components/TabView';
|
|
46
|
+
export {
|
|
47
|
+
NavigationStack,
|
|
48
|
+
type NavigationStackProps,
|
|
49
|
+
} from './components/NavigationStack';
|
|
50
|
+
export {
|
|
51
|
+
NavigationLink,
|
|
52
|
+
type NavigationLinkProps,
|
|
53
|
+
} from './components/NavigationLink';
|
|
54
|
+
export {
|
|
55
|
+
ProgressView,
|
|
56
|
+
type ProgressViewProps,
|
|
57
|
+
} from './components/ProgressView';
|
|
58
|
+
export { Gauge, type GaugeProps } from './components/Gauge';
|
|
59
|
+
export { EmptyView } from './components/EmptyView';
|
|
60
|
+
export { LazyVGrid, type LazyVGridProps } from './components/LazyVGrid';
|
|
61
|
+
export { LazyHGrid, type LazyHGridProps } from './components/LazyHGrid';
|
|
62
|
+
export { gridItem, type GridItem } from './types/GridItem';
|
|
63
|
+
export { Grid, type GridProps } from './components/Grid';
|
|
64
|
+
export { GridRow, type GridRowProps } from './components/GridRow';
|
|
65
|
+
export {
|
|
66
|
+
LabeledContent,
|
|
67
|
+
type LabeledContentProps,
|
|
68
|
+
} from './components/LabeledContent';
|
|
69
|
+
export {
|
|
70
|
+
ContentUnavailableView,
|
|
71
|
+
type ContentUnavailableViewProps,
|
|
72
|
+
} from './components/ContentUnavailableView';
|
|
73
|
+
export { Link, type LinkProps } from './components/Link';
|
|
74
|
+
export { ShareLink, type ShareLinkProps } from './components/ShareLink';
|
|
75
|
+
export {
|
|
76
|
+
TimelineView,
|
|
77
|
+
type TimelineViewProps,
|
|
78
|
+
type TimelineSchedule,
|
|
79
|
+
} from './components/TimelineView';
|
|
80
|
+
export {
|
|
81
|
+
LinearGradient,
|
|
82
|
+
type LinearGradientProps,
|
|
83
|
+
type UnitPoint,
|
|
84
|
+
type UnitPointName,
|
|
85
|
+
} from './components/LinearGradient';
|
|
86
|
+
export {
|
|
87
|
+
RadialGradient,
|
|
88
|
+
type RadialGradientProps,
|
|
89
|
+
} from './components/RadialGradient';
|
|
90
|
+
export {
|
|
91
|
+
AngularGradient,
|
|
92
|
+
type AngularGradientProps,
|
|
93
|
+
} from './components/AngularGradient';
|
|
94
|
+
|
|
95
|
+
// Component-authoring helpers.
|
|
96
|
+
export { createNativeView } from './createNativeView';
|
|
97
|
+
export type { ViewModifier, CommonProps } from './types';
|
|
98
|
+
|
|
99
|
+
// Modifier factories — composed via the `modifiers` prop on any view.
|
|
100
|
+
export { padding, type PaddingParams } from './modifiers/padding';
|
|
101
|
+
export { background } from './modifiers/background';
|
|
102
|
+
export { foregroundColor } from './modifiers/foregroundColor';
|
|
103
|
+
export {
|
|
104
|
+
font,
|
|
105
|
+
type FontParams,
|
|
106
|
+
type FontStyle,
|
|
107
|
+
type FontWeight,
|
|
108
|
+
} from './modifiers/font';
|
|
109
|
+
export { aspectRatio, type AspectRatioParams } from './modifiers/aspectRatio';
|
|
110
|
+
export { resizable } from './modifiers/resizable';
|
|
111
|
+
export { renderingMode, type RenderingMode } from './modifiers/renderingMode';
|
|
112
|
+
export {
|
|
113
|
+
interpolation,
|
|
114
|
+
type InterpolationLevel,
|
|
115
|
+
} from './modifiers/interpolation';
|
|
116
|
+
export { antialiased } from './modifiers/antialiased';
|
|
117
|
+
export { scaledToFit, scaledToFill } from './modifiers/scaledTo';
|
|
118
|
+
export {
|
|
119
|
+
frame,
|
|
120
|
+
type FrameParams,
|
|
121
|
+
type FrameAlignment,
|
|
122
|
+
} from './modifiers/frame';
|
|
123
|
+
export {
|
|
124
|
+
animation,
|
|
125
|
+
type AnimationParams,
|
|
126
|
+
type AnimationCurve,
|
|
127
|
+
} from './modifiers/animation';
|
|
128
|
+
export { navigationTitle } from './modifiers/navigationTitle';
|
|
129
|
+
|
|
130
|
+
// Modifier units (batch). Each barrel is filled by its work unit; the
|
|
131
|
+
// `export *` picks up every factory + type that unit adds. Modifiers above
|
|
132
|
+
// are NOT re-exported from these barrels (units skip already-shipped ones).
|
|
133
|
+
export * from './modifiers/layout';
|
|
134
|
+
export * from './modifiers/styling';
|
|
135
|
+
export * from './modifiers/text';
|
|
136
|
+
export * from './modifiers/interaction';
|
|
137
|
+
export * from './modifiers/watch';
|
|
138
|
+
export * from './modifiers/navigation';
|
|
139
|
+
export * from './modifiers/lists';
|
|
140
|
+
export * from './modifiers/componentStyles';
|
|
141
|
+
export * from './modifiers/input';
|
|
142
|
+
export * from './modifiers/imageSymbol';
|
|
143
|
+
export * from './modifiers/accessibility';
|
|
144
|
+
export * from './modifiers/filters';
|
|
145
|
+
export * from './modifiers/transforms';
|
|
146
|
+
export * from './modifiers/scroll';
|
|
147
|
+
export * from './modifiers/toolbar';
|
|
148
|
+
export * from './modifiers/presentation';
|
|
149
|
+
export * from './modifiers/containerGrid';
|
|
150
|
+
export * from './modifiers/theme';
|
|
151
|
+
export * from './modifiers/controlsPolish';
|
|
152
|
+
export * from './modifiers/textPolish';
|
|
153
|
+
export * from './modifiers/search';
|
|
154
|
+
export * from './modifiers/geometry';
|
|
155
|
+
export * from './modifiers/gestures';
|
|
156
|
+
export * from './modifiers/environment';
|
|
157
|
+
export * from './modifiers/glass';
|
|
158
|
+
|
|
159
|
+
// Renderer entry point.
|
|
160
|
+
export { render } from './render';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// "Accessibility & identity" modifiers. Re-exports every factory + type
|
|
2
|
+
// this unit adds; picked up by `src/index.ts` via `export *`.
|
|
3
|
+
export { accessibilityLabel } from './accessibilityLabel';
|
|
4
|
+
export { accessibilityHint } from './accessibilityHint';
|
|
5
|
+
export { accessibilityValue } from './accessibilityValue';
|
|
6
|
+
export { accessibilityIdentifier } from './accessibilityIdentifier';
|
|
7
|
+
export { accessibilityHidden } from './accessibilityHidden';
|
|
8
|
+
export {
|
|
9
|
+
accessibilityAddTraits,
|
|
10
|
+
type AccessibilityTrait,
|
|
11
|
+
} from './accessibilityAddTraits';
|
|
12
|
+
export { accessibilityRemoveTraits } from './accessibilityRemoveTraits';
|
|
13
|
+
export {
|
|
14
|
+
accessibilityElement,
|
|
15
|
+
type AccessibilityChildBehavior,
|
|
16
|
+
} from './accessibilityElement';
|
|
17
|
+
export { id } from './id';
|
|
18
|
+
export { tag } from './tag';
|
|
19
|
+
export {
|
|
20
|
+
accessibilityAction,
|
|
21
|
+
type AccessibilityActionKind,
|
|
22
|
+
type AccessibilityActionParams,
|
|
23
|
+
} from './accessibilityAction';
|
|
24
|
+
export {
|
|
25
|
+
accessibilityActions,
|
|
26
|
+
type AccessibilityActionsParams,
|
|
27
|
+
} from './accessibilityActions';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createModifier } from './createModifier';
|
|
2
|
+
|
|
3
|
+
/// Kind of a SwiftUI named accessibility action. Omit for the default
|
|
4
|
+
/// (un-named) action.
|
|
5
|
+
/// - `'default'` — the element's primary action
|
|
6
|
+
/// - `'escape'` — a two-finger Z scrub / dismiss gesture
|
|
7
|
+
/// - `'magicTap'` — a two-finger double-tap
|
|
8
|
+
export type AccessibilityActionKind = 'default' | 'escape' | 'magicTap';
|
|
9
|
+
|
|
10
|
+
export interface AccessibilityActionParams {
|
|
11
|
+
/// Which built-in action this handler responds to. Defaults to the
|
|
12
|
+
/// element's `'default'` action.
|
|
13
|
+
kind?: AccessibilityActionKind;
|
|
14
|
+
/// Invoked when the action fires.
|
|
15
|
+
handler: () => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/// SwiftUI `.accessibilityAction(_:_:)`. Registers a handler for a built-in
|
|
19
|
+
/// accessibility action so assistive-technology users can trigger it.
|
|
20
|
+
export function accessibilityAction(params: AccessibilityActionParams) {
|
|
21
|
+
return createModifier('accessibilityAction', params);
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { createModifier } from './createModifier';
|
|
3
|
+
|
|
4
|
+
export interface AccessibilityActionsParams {
|
|
5
|
+
/// A view (typically `Button`s) declaring the actions available to
|
|
6
|
+
/// assistive technologies for this element.
|
|
7
|
+
content: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/// SwiftUI `.accessibilityActions(_:)` (watchOS 10+). Declares a set of
|
|
11
|
+
/// custom accessibility actions from the provided content. On watchOS 9 the
|
|
12
|
+
/// modifier is a no-op and the view is returned unchanged.
|
|
13
|
+
export function accessibilityActions(params: AccessibilityActionsParams) {
|
|
14
|
+
return createModifier('accessibilityActions', params);
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createModifier } from './createModifier';
|
|
2
|
+
|
|
3
|
+
/// A SwiftUI `AccessibilityTraits` member.
|
|
4
|
+
export type AccessibilityTrait =
|
|
5
|
+
| 'isButton'
|
|
6
|
+
| 'isHeader'
|
|
7
|
+
| 'isImage'
|
|
8
|
+
| 'isLink'
|
|
9
|
+
| 'isSelected'
|
|
10
|
+
| 'isSummaryElement'
|
|
11
|
+
| 'startsMediaSession'
|
|
12
|
+
| 'updatesFrequently'
|
|
13
|
+
| 'playsSound'
|
|
14
|
+
| 'allowsDirectInteraction';
|
|
15
|
+
|
|
16
|
+
/// SwiftUI `.accessibilityAddTraits(_:)`. Adds one or more traits that
|
|
17
|
+
/// describe the view's behaviour to assistive technologies. Pass a single
|
|
18
|
+
/// trait or an array; an array is combined into one `AccessibilityTraits`.
|
|
19
|
+
export function accessibilityAddTraits(
|
|
20
|
+
traits: AccessibilityTrait | AccessibilityTrait[]
|
|
21
|
+
) {
|
|
22
|
+
return createModifier('accessibilityAddTraits', { traits });
|
|
23
|
+
}
|