@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,25 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWScrollViewView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("ScrollView") { snapshot, children, _ in
|
|
8
|
+
let axes = parseAxes(snapshot.props?.string("axes"))
|
|
9
|
+
let showsIndicators = snapshot.props?.bool("showsIndicators") ?? true
|
|
10
|
+
return AnyView(
|
|
11
|
+
ScrollView(axes, showsIndicators: showsIndicators) {
|
|
12
|
+
children
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
private static func parseAxes(_ s: String?) -> Axis.Set {
|
|
19
|
+
switch s {
|
|
20
|
+
case "horizontal": return .horizontal
|
|
21
|
+
case "both": return [.horizontal, .vertical]
|
|
22
|
+
default: return .vertical
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// Sentinel view consumed by `Section` — its presence as a direct child of
|
|
5
|
+
/// `<Section>` routes its contents into SwiftUI's `footer:` slot. When
|
|
6
|
+
/// rendered outside a `Section` (misuse), falls back to rendering its
|
|
7
|
+
/// children inline so the tree still produces something visible.
|
|
8
|
+
enum RNWSectionFooterView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("SectionFooter") { _, children, _ in
|
|
12
|
+
AnyView(children)
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// Sentinel view consumed by `Section` — its presence as a direct child of
|
|
5
|
+
/// `<Section>` routes its contents into SwiftUI's `header:` slot. When
|
|
6
|
+
/// rendered outside a `Section` (misuse), falls back to rendering its
|
|
7
|
+
/// children inline so the tree still produces something visible.
|
|
8
|
+
enum RNWSectionHeaderView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("SectionHeader") { _, children, _ in
|
|
12
|
+
AnyView(children)
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `Section`. Walks `snapshot.children` directly (instead of using
|
|
5
|
+
/// the pre-materialized `children: AnyView`) so it can route a child with
|
|
6
|
+
/// `viewName == "SectionHeader"` into the SwiftUI `header:` slot and one
|
|
7
|
+
/// with `viewName == "SectionFooter"` into `footer:`. Everything else
|
|
8
|
+
/// becomes a row in the section body. Either sentinel may be omitted.
|
|
9
|
+
enum RNWSectionView {
|
|
10
|
+
@MainActor
|
|
11
|
+
static func register(into r: RNWViewRegistry) {
|
|
12
|
+
r.register("Section") { snapshot, _, bus in
|
|
13
|
+
var headerView: AnyView?
|
|
14
|
+
var footerView: AnyView?
|
|
15
|
+
var rows: [RNWShadowNodeSnapshot] = []
|
|
16
|
+
for child in snapshot.viewChildren {
|
|
17
|
+
switch child.viewName {
|
|
18
|
+
case "SectionHeader":
|
|
19
|
+
headerView = RNWNodeRenderer.render(child, bus: bus)
|
|
20
|
+
case "SectionFooter":
|
|
21
|
+
footerView = RNWNodeRenderer.render(child, bus: bus)
|
|
22
|
+
default:
|
|
23
|
+
rows.append(child)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
let rowsView = AnyView(
|
|
28
|
+
ForEach(rows, id: \.tag) { row in
|
|
29
|
+
RNWNodeRenderer.render(row, bus: bus)
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
switch (headerView, footerView) {
|
|
34
|
+
case let (.some(h), .some(f)):
|
|
35
|
+
return AnyView(Section { rowsView } header: { h } footer: { f })
|
|
36
|
+
case let (.some(h), .none):
|
|
37
|
+
return AnyView(Section { rowsView } header: { h })
|
|
38
|
+
case let (.none, .some(f)):
|
|
39
|
+
return AnyView(Section { rowsView } footer: { f })
|
|
40
|
+
case (.none, .none):
|
|
41
|
+
return AnyView(Section { rowsView })
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `SecureField`. Same optimistic-binding pattern as `TextField`
|
|
5
|
+
/// — local `@State` mirror, fires JS `onChange` on edits, converges via
|
|
6
|
+
/// `.onChange(of:)` when JS pushes an authoritative value. The masking
|
|
7
|
+
/// (dots instead of glyphs) is SwiftUI's responsibility.
|
|
8
|
+
enum RNWSecureFieldView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("SecureField") { snapshot, _, bus in
|
|
12
|
+
AnyView(SecureFieldImpl(snapshot: snapshot, bus: bus))
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
private struct SecureFieldImpl: View {
|
|
18
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
19
|
+
let bus: RNWEventBus
|
|
20
|
+
|
|
21
|
+
@State private var localText: String
|
|
22
|
+
|
|
23
|
+
init(snapshot: RNWShadowNodeSnapshot, bus: RNWEventBus) {
|
|
24
|
+
self.snapshot = snapshot
|
|
25
|
+
self.bus = bus
|
|
26
|
+
_localText = State(initialValue: snapshot.props?.string("value") ?? "")
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var body: some View {
|
|
30
|
+
let remote = snapshot.props?.string("value") ?? ""
|
|
31
|
+
let placeholder = snapshot.props?.string("placeholder") ?? ""
|
|
32
|
+
let handlerId = snapshot.eventHandlers["onChange"]?.intValue
|
|
33
|
+
|
|
34
|
+
return SecureField(placeholder, text: Binding(
|
|
35
|
+
get: { localText },
|
|
36
|
+
set: { newValue in
|
|
37
|
+
localText = newValue
|
|
38
|
+
if let handlerId {
|
|
39
|
+
bus.fire(handlerId, payload: newValue)
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
))
|
|
43
|
+
.onChange(of: remote) { newRemote in
|
|
44
|
+
if newRemote != localText {
|
|
45
|
+
localText = newRemote
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `ShareLink`. Constrained to `String` items for now — URLs and
|
|
5
|
+
/// plain text both round-trip as Strings. A `title` prop is a shortcut for
|
|
6
|
+
/// the `ShareLink("title", item: ...)` initializer; otherwise children
|
|
7
|
+
/// render as the label.
|
|
8
|
+
enum RNWShareLinkView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("ShareLink") { snapshot, children, _ in
|
|
12
|
+
guard let item = snapshot.props?.string("item") else {
|
|
13
|
+
return AnyView(EmptyView())
|
|
14
|
+
}
|
|
15
|
+
let subject = snapshot.props?.string("subject").map(Text.init)
|
|
16
|
+
let message = snapshot.props?.string("message").map(Text.init)
|
|
17
|
+
if let title = snapshot.props?.string("title") {
|
|
18
|
+
return AnyView(ShareLink(title, item: item, subject: subject, message: message))
|
|
19
|
+
}
|
|
20
|
+
return AnyView(
|
|
21
|
+
ShareLink(item: item, subject: subject, message: message) {
|
|
22
|
+
children
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `Slider`. Same optimistic-binding pattern as `Toggle` — local
|
|
5
|
+
/// `@State` mirrors the snapshot's `value`, gets updated immediately on
|
|
6
|
+
/// drag, fires the JS `onChange` callback with the new value, and
|
|
7
|
+
/// converges to the next snapshot via `.onChange(of:)`.
|
|
8
|
+
enum RNWSliderView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("Slider") { snapshot, _, bus in
|
|
12
|
+
AnyView(SliderImpl(snapshot: snapshot, bus: bus))
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
private struct SliderImpl: View {
|
|
18
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
19
|
+
let bus: RNWEventBus
|
|
20
|
+
|
|
21
|
+
@State private var localValue: Double
|
|
22
|
+
|
|
23
|
+
init(snapshot: RNWShadowNodeSnapshot, bus: RNWEventBus) {
|
|
24
|
+
self.snapshot = snapshot
|
|
25
|
+
self.bus = bus
|
|
26
|
+
_localValue = State(
|
|
27
|
+
initialValue: snapshot.props?.double("value") ?? 0)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var body: some View {
|
|
31
|
+
let remote = snapshot.props?.double("value") ?? 0
|
|
32
|
+
let min = snapshot.props?.double("min") ?? 0
|
|
33
|
+
let max = snapshot.props?.double("max") ?? 1
|
|
34
|
+
let step = snapshot.props?.double("step")
|
|
35
|
+
let handlerId = snapshot.eventHandlers["onChange"]?.intValue
|
|
36
|
+
|
|
37
|
+
let binding = Binding<Double>(
|
|
38
|
+
get: { localValue },
|
|
39
|
+
set: { newValue in
|
|
40
|
+
localValue = newValue
|
|
41
|
+
if let handlerId {
|
|
42
|
+
bus.fire(handlerId, payload: newValue)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
return Group {
|
|
48
|
+
if let step {
|
|
49
|
+
Slider(value: binding, in: min...max, step: step)
|
|
50
|
+
} else {
|
|
51
|
+
Slider(value: binding, in: min...max)
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.onChange(of: remote) { newRemote in
|
|
55
|
+
if newRemote != localValue {
|
|
56
|
+
localValue = newRemote
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWSpacerView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("Spacer") { snapshot, _, _ in
|
|
8
|
+
// Optional minimum length. Default is the system spacing.
|
|
9
|
+
let minLength = snapshot.props?.cgFloat("minLength")
|
|
10
|
+
return AnyView(Spacer(minLength: minLength))
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `Stepper`. Same optimistic-binding pattern as `Slider` and
|
|
5
|
+
/// `Toggle` — local `@State` mirrors the snapshot's `value`, gets bumped
|
|
6
|
+
/// immediately on tap, fires the JS `onChange` callback with the new
|
|
7
|
+
/// value, and converges to the next snapshot via `.onChange(of:)`.
|
|
8
|
+
enum RNWStepperView {
|
|
9
|
+
@MainActor
|
|
10
|
+
static func register(into r: RNWViewRegistry) {
|
|
11
|
+
r.register("Stepper") { snapshot, _, bus in
|
|
12
|
+
AnyView(StepperImpl(snapshot: snapshot, bus: bus))
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
private struct StepperImpl: View {
|
|
18
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
19
|
+
let bus: RNWEventBus
|
|
20
|
+
|
|
21
|
+
@State private var localValue: Double
|
|
22
|
+
|
|
23
|
+
init(snapshot: RNWShadowNodeSnapshot, bus: RNWEventBus) {
|
|
24
|
+
self.snapshot = snapshot
|
|
25
|
+
self.bus = bus
|
|
26
|
+
_localValue = State(
|
|
27
|
+
initialValue: snapshot.props?.double("value") ?? 0)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var body: some View {
|
|
31
|
+
let remote = snapshot.props?.double("value") ?? 0
|
|
32
|
+
let label = snapshot.props?.string("label") ?? ""
|
|
33
|
+
let minimum = snapshot.props?.double("minimum")
|
|
34
|
+
let maximum = snapshot.props?.double("maximum")
|
|
35
|
+
let step = snapshot.props?.double("step") ?? 1
|
|
36
|
+
let handlerId = snapshot.eventHandlers["onChange"]?.intValue
|
|
37
|
+
|
|
38
|
+
let binding = Binding<Double>(
|
|
39
|
+
get: { localValue },
|
|
40
|
+
set: { newValue in
|
|
41
|
+
localValue = newValue
|
|
42
|
+
if let handlerId {
|
|
43
|
+
bus.fire(handlerId, payload: newValue)
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
return Group {
|
|
49
|
+
if let minimum, let maximum {
|
|
50
|
+
Stepper(label, value: binding, in: minimum...maximum, step: step)
|
|
51
|
+
} else {
|
|
52
|
+
Stepper(label, value: binding, step: step)
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.onChange(of: remote) { newRemote in
|
|
56
|
+
if newRemote != localValue {
|
|
57
|
+
localValue = newRemote
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `TabView`. JS controls selection via a string `tabTag` prop on
|
|
5
|
+
/// each child (any child can declare it — most apps wrap each tab in a
|
|
6
|
+
/// `VStack` with `tabTag="rooms"` / `tabTag="schedule"`). Selection is
|
|
7
|
+
/// optimistically bound locally so the page transitions immediately when
|
|
8
|
+
/// the user swipes, then converges to the next JS snapshot.
|
|
9
|
+
///
|
|
10
|
+
/// Children are iterated directly off `snapshot.children` (not the
|
|
11
|
+
/// pre-materialized `children: AnyView`) so we can apply `.tag(...)` per
|
|
12
|
+
/// child — SwiftUI's selection binding matches against those tags.
|
|
13
|
+
enum RNWTabViewView {
|
|
14
|
+
@MainActor
|
|
15
|
+
static func register(into r: RNWViewRegistry) {
|
|
16
|
+
r.register("TabView") { snapshot, _, bus in
|
|
17
|
+
AnyView(TabViewImpl(snapshot: snapshot, bus: bus))
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
fileprivate static func resolveTag(
|
|
22
|
+
for child: RNWShadowNodeSnapshot,
|
|
23
|
+
fallbackIndex: Int
|
|
24
|
+
) -> String {
|
|
25
|
+
child.props?.string("tabTag") ?? String(fallbackIndex)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
private struct TabViewImpl: View {
|
|
30
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
31
|
+
let bus: RNWEventBus
|
|
32
|
+
|
|
33
|
+
@State private var localSelection: String
|
|
34
|
+
|
|
35
|
+
init(snapshot: RNWShadowNodeSnapshot, bus: RNWEventBus) {
|
|
36
|
+
self.snapshot = snapshot
|
|
37
|
+
self.bus = bus
|
|
38
|
+
// Initial selection: prop > first child's resolved tag > empty.
|
|
39
|
+
let initial: String
|
|
40
|
+
if let s = snapshot.props?.string("selection") {
|
|
41
|
+
initial = s
|
|
42
|
+
} else if let first = snapshot.viewChildren.first {
|
|
43
|
+
initial = RNWTabViewView.resolveTag(for: first, fallbackIndex: 0)
|
|
44
|
+
} else {
|
|
45
|
+
initial = ""
|
|
46
|
+
}
|
|
47
|
+
_localSelection = State(initialValue: initial)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
var body: some View {
|
|
51
|
+
let remote = snapshot.props?.string("selection")
|
|
52
|
+
let style = snapshot.props?.string("style")
|
|
53
|
+
let handlerId = snapshot.eventHandlers["onSelectionChange"]?.intValue
|
|
54
|
+
|
|
55
|
+
let binding = Binding<String>(
|
|
56
|
+
get: { localSelection },
|
|
57
|
+
set: { newValue in
|
|
58
|
+
localSelection = newValue
|
|
59
|
+
if let handlerId {
|
|
60
|
+
bus.fire(handlerId, payload: newValue)
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
let children = snapshot.viewChildren
|
|
66
|
+
let tabView = TabView(selection: binding) {
|
|
67
|
+
ForEach(Array(children.enumerated()), id: \.element.tag) { idx, child in
|
|
68
|
+
RNWNodeRenderer.render(child, bus: bus)
|
|
69
|
+
.tag(RNWTabViewView.resolveTag(for: child, fallbackIndex: idx))
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return Group {
|
|
74
|
+
switch style {
|
|
75
|
+
case "automatic":
|
|
76
|
+
tabView.tabViewStyle(.automatic)
|
|
77
|
+
default:
|
|
78
|
+
// watchOS default — `.page`. Also handles style == "page".
|
|
79
|
+
tabView.tabViewStyle(.page)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.onChange(of: remote) { newRemote in
|
|
83
|
+
if let v = newRemote, v != localSelection {
|
|
84
|
+
localSelection = v
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `TextField`. Same optimistic-binding pattern as `Toggle` — a
|
|
5
|
+
/// local `@State` mirror updates instantly while the user types, fires
|
|
6
|
+
/// the JS `onChange` callback with the new text, and converges to the
|
|
7
|
+
/// next snapshot via `.onChange(of:)` when JS pushes an authoritative
|
|
8
|
+
/// value.
|
|
9
|
+
enum RNWTextFieldView {
|
|
10
|
+
@MainActor
|
|
11
|
+
static func register(into r: RNWViewRegistry) {
|
|
12
|
+
r.register("TextField") { snapshot, _, bus in
|
|
13
|
+
AnyView(TextFieldImpl(snapshot: snapshot, bus: bus))
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
private struct TextFieldImpl: View {
|
|
19
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
20
|
+
let bus: RNWEventBus
|
|
21
|
+
|
|
22
|
+
@State private var localText: String
|
|
23
|
+
|
|
24
|
+
init(snapshot: RNWShadowNodeSnapshot, bus: RNWEventBus) {
|
|
25
|
+
self.snapshot = snapshot
|
|
26
|
+
self.bus = bus
|
|
27
|
+
_localText = State(initialValue: snapshot.props?.string("value") ?? "")
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var body: some View {
|
|
31
|
+
let remote = snapshot.props?.string("value") ?? ""
|
|
32
|
+
let placeholder = snapshot.props?.string("placeholder") ?? ""
|
|
33
|
+
let handlerId = snapshot.eventHandlers["onChange"]?.intValue
|
|
34
|
+
|
|
35
|
+
return TextField(placeholder, text: Binding(
|
|
36
|
+
get: { localText },
|
|
37
|
+
set: { newValue in
|
|
38
|
+
localText = newValue
|
|
39
|
+
if let handlerId {
|
|
40
|
+
bus.fire(handlerId, payload: newValue)
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
))
|
|
44
|
+
.onChange(of: remote) { newRemote in
|
|
45
|
+
if newRemote != localText {
|
|
46
|
+
localText = newRemote
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `Text` registration. Concatenates direct rawText children
|
|
5
|
+
/// (one per JSX string literal) into a single styled `Text`. Any
|
|
6
|
+
/// text-only modifiers are applied here to preserve the `Text → Text`
|
|
7
|
+
/// overload chain; generic modifiers (`.padding`, `.background`,
|
|
8
|
+
/// `.foregroundColor`, `.font`) flow through the renderer's reduce.
|
|
9
|
+
enum RNWTextView {
|
|
10
|
+
@MainActor
|
|
11
|
+
static func register(into r: RNWViewRegistry) {
|
|
12
|
+
r.register("Text") { snapshot, _, _ in
|
|
13
|
+
var text = Text(joinRawTextChildren(of: snapshot))
|
|
14
|
+
|
|
15
|
+
for mod in snapshot.modifiers {
|
|
16
|
+
guard let dict = mod as? [String: Any],
|
|
17
|
+
let type = dict["$type"] as? String,
|
|
18
|
+
RNWTextModifierRegistry.shared.contains(type) else {
|
|
19
|
+
continue
|
|
20
|
+
}
|
|
21
|
+
text = RNWTextModifierRegistry.shared.apply(dict, to: text)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return AnyView(text)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
private static func joinRawTextChildren(
|
|
29
|
+
of snapshot: RNWShadowNodeSnapshot
|
|
30
|
+
) -> String {
|
|
31
|
+
var out = ""
|
|
32
|
+
for child in snapshot.children where child.kind == .rawText {
|
|
33
|
+
if let s = child.text { out.append(s) }
|
|
34
|
+
}
|
|
35
|
+
return out
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWTimelineViewView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("TimelineView") { snapshot, children, _ in
|
|
8
|
+
guard
|
|
9
|
+
let schedule = snapshot.props?["schedule"] as? [String: Any],
|
|
10
|
+
let kind = schedule.string("kind")
|
|
11
|
+
else {
|
|
12
|
+
return AnyView(children)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// TODO: TimelineView's content closure receives a `Context` with
|
|
16
|
+
// the current tick date; we don't bridge it back to JS yet
|
|
17
|
+
// because that would require rebuilding the children subtree
|
|
18
|
+
// on every tick. Wire this once we have a per-tick prop path.
|
|
19
|
+
switch kind {
|
|
20
|
+
case "everyMinute":
|
|
21
|
+
return AnyView(TimelineView(.everyMinute) { _ in children })
|
|
22
|
+
case "periodic":
|
|
23
|
+
let by = schedule.double("by") ?? 1
|
|
24
|
+
let from = schedule.double("from").map { Date(timeIntervalSince1970: $0 / 1000) } ?? .now
|
|
25
|
+
return AnyView(TimelineView(.periodic(from: from, by: by)) { _ in children })
|
|
26
|
+
case "animation":
|
|
27
|
+
let minimumInterval = schedule.double("minimumInterval")
|
|
28
|
+
let paused = schedule.bool("paused") ?? false
|
|
29
|
+
return AnyView(
|
|
30
|
+
TimelineView(.animation(minimumInterval: minimumInterval, paused: paused)) { _ in children }
|
|
31
|
+
)
|
|
32
|
+
case "explicit":
|
|
33
|
+
let dates = (schedule["dates"] as? [NSNumber] ?? []).map {
|
|
34
|
+
Date(timeIntervalSince1970: $0.doubleValue / 1000)
|
|
35
|
+
}
|
|
36
|
+
return AnyView(TimelineView(.explicit(dates)) { _ in children })
|
|
37
|
+
default:
|
|
38
|
+
return AnyView(children)
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
/// SwiftUI `Toggle`. The on/off state is bound bidirectionally: the JS
|
|
5
|
+
/// side owns the source of truth via `value`, but we hold a local
|
|
6
|
+
/// `@State` mirror so the toggle animates instantly when the user taps
|
|
7
|
+
/// — without waiting for the JS round-trip. The next snapshot from JS
|
|
8
|
+
/// converges the local state via `.onChange`.
|
|
9
|
+
enum RNWToggleView {
|
|
10
|
+
@MainActor
|
|
11
|
+
static func register(into r: RNWViewRegistry) {
|
|
12
|
+
r.register("Toggle") { snapshot, children, bus in
|
|
13
|
+
AnyView(ToggleImpl(snapshot: snapshot, children: children, bus: bus))
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/// Concrete SwiftUI view — needed so we can hang `@State` off it.
|
|
19
|
+
/// `.id(node.tag)` in `RNWNodeRenderer` keeps this struct's identity
|
|
20
|
+
/// stable across re-renders, which is what makes `@State` persist.
|
|
21
|
+
private struct ToggleImpl: View {
|
|
22
|
+
let snapshot: RNWShadowNodeSnapshot
|
|
23
|
+
let children: AnyView
|
|
24
|
+
let bus: RNWEventBus
|
|
25
|
+
|
|
26
|
+
@State private var localValue: Bool
|
|
27
|
+
|
|
28
|
+
init(snapshot: RNWShadowNodeSnapshot, children: AnyView, bus: RNWEventBus) {
|
|
29
|
+
self.snapshot = snapshot
|
|
30
|
+
self.children = children
|
|
31
|
+
self.bus = bus
|
|
32
|
+
let initial = snapshot.props?.bool("value") ?? false
|
|
33
|
+
_localValue = State(initialValue: initial)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
var body: some View {
|
|
37
|
+
let remote = snapshot.props?.bool("value") ?? false
|
|
38
|
+
let handlerId = snapshot.eventHandlers["onChange"]?.intValue
|
|
39
|
+
|
|
40
|
+
return Toggle(isOn: Binding(
|
|
41
|
+
get: { localValue },
|
|
42
|
+
set: { newValue in
|
|
43
|
+
localValue = newValue
|
|
44
|
+
if let handlerId {
|
|
45
|
+
bus.fire(handlerId, payload: newValue)
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
)) {
|
|
49
|
+
children
|
|
50
|
+
}
|
|
51
|
+
.onChange(of: remote) { newRemote in
|
|
52
|
+
// JS pushed an authoritative value — converge.
|
|
53
|
+
if newRemote != localValue {
|
|
54
|
+
localValue = newRemote
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWVStackView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("VStack") { snapshot, children, _ in
|
|
8
|
+
let alignment = parseAlignment(snapshot.props?.string("alignment"))
|
|
9
|
+
let spacing = snapshot.props?.cgFloat("spacing")
|
|
10
|
+
return AnyView(
|
|
11
|
+
VStack(alignment: alignment, spacing: spacing) {
|
|
12
|
+
children
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
private static func parseAlignment(_ s: String?) -> HorizontalAlignment {
|
|
19
|
+
switch s {
|
|
20
|
+
case "leading": return .leading
|
|
21
|
+
case "trailing": return .trailing
|
|
22
|
+
default: return .center
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWViewThatFitsView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("ViewThatFits") { snapshot, children, _ in
|
|
8
|
+
let axes = parseAxes(snapshot.props?.string("axes"))
|
|
9
|
+
return AnyView(ViewThatFits(in: axes) { children })
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
private static func parseAxes(_ s: String?) -> Axis.Set {
|
|
14
|
+
switch s {
|
|
15
|
+
case "horizontal": return .horizontal
|
|
16
|
+
case "vertical": return .vertical
|
|
17
|
+
default: return [.horizontal, .vertical]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import ReactNativeWatchOSCxx
|
|
3
|
+
|
|
4
|
+
enum RNWZStackView {
|
|
5
|
+
@MainActor
|
|
6
|
+
static func register(into r: RNWViewRegistry) {
|
|
7
|
+
r.register("ZStack") { snapshot, children, _ in
|
|
8
|
+
let alignment = parseAlignment(snapshot.props?.string("alignment"))
|
|
9
|
+
return AnyView(
|
|
10
|
+
ZStack(alignment: alignment) {
|
|
11
|
+
children
|
|
12
|
+
}
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
private static func parseAlignment(_ s: String?) -> Alignment {
|
|
18
|
+
switch s {
|
|
19
|
+
case "leading": return .leading
|
|
20
|
+
case "trailing": return .trailing
|
|
21
|
+
case "top": return .top
|
|
22
|
+
case "bottom": return .bottom
|
|
23
|
+
case "topLeading": return .topLeading
|
|
24
|
+
case "topTrailing": return .topTrailing
|
|
25
|
+
case "bottomLeading": return .bottomLeading
|
|
26
|
+
case "bottomTrailing": return .bottomTrailing
|
|
27
|
+
default: return .center
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|