@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,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <react/featureflags/ReactNativeFeatureFlagsDefaults.h>
|
|
11
|
+
|
|
12
|
+
namespace facebook::react {
|
|
13
|
+
|
|
14
|
+
class ReactNativeFeatureFlagsOverridesOSSStable
|
|
15
|
+
: public ReactNativeFeatureFlagsDefaults {
|
|
16
|
+
public:
|
|
17
|
+
bool enableBridgelessArchitecture() override {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
bool enableFabricRenderer() override {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
bool useTurboModules() override {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
bool useNativeViewConfigsInBridgelessMode() override {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
bool useShadowNodeStateOnClone() override {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
} // namespace facebook::react
|
package/build/xcframework/simulator/Headers/react/featureflags/ReactNativeFeatureFlagsProvider.h
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<2387ed12fe46fb5b606ad13a17511f03>>
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* IMPORTANT: Do NOT modify this file directly.
|
|
12
|
+
*
|
|
13
|
+
* To change the definition of the flags, edit
|
|
14
|
+
* packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js.
|
|
15
|
+
*
|
|
16
|
+
* To regenerate this code, run the following script from the repo root:
|
|
17
|
+
* yarn featureflags --update
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
#pragma once
|
|
21
|
+
|
|
22
|
+
namespace facebook::react {
|
|
23
|
+
|
|
24
|
+
class ReactNativeFeatureFlagsProvider {
|
|
25
|
+
public:
|
|
26
|
+
virtual ~ReactNativeFeatureFlagsProvider() = default;
|
|
27
|
+
|
|
28
|
+
virtual bool commonTestFlag() = 0;
|
|
29
|
+
virtual bool animatedShouldSignalBatch() = 0;
|
|
30
|
+
virtual bool cxxNativeAnimatedEnabled() = 0;
|
|
31
|
+
virtual bool cxxNativeAnimatedRemoveJsSync() = 0;
|
|
32
|
+
virtual bool disableMainQueueSyncDispatchIOS() = 0;
|
|
33
|
+
virtual bool disableMountItemReorderingAndroid() = 0;
|
|
34
|
+
virtual bool disableTextLayoutManagerCacheAndroid() = 0;
|
|
35
|
+
virtual bool enableAccessibilityOrder() = 0;
|
|
36
|
+
virtual bool enableAccumulatedUpdatesInRawPropsAndroid() = 0;
|
|
37
|
+
virtual bool enableAndroidTextMeasurementOptimizations() = 0;
|
|
38
|
+
virtual bool enableBridgelessArchitecture() = 0;
|
|
39
|
+
virtual bool enableCppPropsIteratorSetter() = 0;
|
|
40
|
+
virtual bool enableCustomFocusSearchOnClippedElementsAndroid() = 0;
|
|
41
|
+
virtual bool enableDestroyShadowTreeRevisionAsync() = 0;
|
|
42
|
+
virtual bool enableDoubleMeasurementFixAndroid() = 0;
|
|
43
|
+
virtual bool enableEagerRootViewAttachment() = 0;
|
|
44
|
+
virtual bool enableFabricLogs() = 0;
|
|
45
|
+
virtual bool enableFabricRenderer() = 0;
|
|
46
|
+
virtual bool enableFixForParentTagDuringReparenting() = 0;
|
|
47
|
+
virtual bool enableFontScaleChangesUpdatingLayout() = 0;
|
|
48
|
+
virtual bool enableIOSTextBaselineOffsetPerLine() = 0;
|
|
49
|
+
virtual bool enableIOSViewClipToPaddingBox() = 0;
|
|
50
|
+
virtual bool enableInteropViewManagerClassLookUpOptimizationIOS() = 0;
|
|
51
|
+
virtual bool enableLayoutAnimationsOnAndroid() = 0;
|
|
52
|
+
virtual bool enableLayoutAnimationsOnIOS() = 0;
|
|
53
|
+
virtual bool enableMainQueueCoordinatorOnIOS() = 0;
|
|
54
|
+
virtual bool enableMainQueueModulesOnIOS() = 0;
|
|
55
|
+
virtual bool enableModuleArgumentNSNullConversionIOS() = 0;
|
|
56
|
+
virtual bool enableNativeCSSParsing() = 0;
|
|
57
|
+
virtual bool enableNetworkEventReporting() = 0;
|
|
58
|
+
virtual bool enableNewBackgroundAndBorderDrawables() = 0;
|
|
59
|
+
virtual bool enablePreparedTextLayout() = 0;
|
|
60
|
+
virtual bool enablePropsUpdateReconciliationAndroid() = 0;
|
|
61
|
+
virtual bool enableResourceTimingAPI() = 0;
|
|
62
|
+
virtual bool enableSynchronousStateUpdates() = 0;
|
|
63
|
+
virtual bool enableViewCulling() = 0;
|
|
64
|
+
virtual bool enableViewRecycling() = 0;
|
|
65
|
+
virtual bool enableViewRecyclingForText() = 0;
|
|
66
|
+
virtual bool enableViewRecyclingForView() = 0;
|
|
67
|
+
virtual bool enableVirtualViewDebugFeatures() = 0;
|
|
68
|
+
virtual bool enableVirtualViewRenderState() = 0;
|
|
69
|
+
virtual bool enableVirtualViewWindowFocusDetection() = 0;
|
|
70
|
+
virtual bool fixMappingOfEventPrioritiesBetweenFabricAndReact() = 0;
|
|
71
|
+
virtual bool fuseboxEnabledRelease() = 0;
|
|
72
|
+
virtual bool fuseboxNetworkInspectionEnabled() = 0;
|
|
73
|
+
virtual bool hideOffscreenVirtualViewsOnIOS() = 0;
|
|
74
|
+
virtual double preparedTextCacheSize() = 0;
|
|
75
|
+
virtual bool preventShadowTreeCommitExhaustion() = 0;
|
|
76
|
+
virtual bool traceTurboModulePromiseRejectionsOnAndroid() = 0;
|
|
77
|
+
virtual bool updateRuntimeShadowNodeReferencesOnCommit() = 0;
|
|
78
|
+
virtual bool useAlwaysAvailableJSErrorHandling() = 0;
|
|
79
|
+
virtual bool useFabricInterop() = 0;
|
|
80
|
+
virtual bool useNativeEqualsInNativeReadableArrayAndroid() = 0;
|
|
81
|
+
virtual bool useNativeTransformHelperAndroid() = 0;
|
|
82
|
+
virtual bool useNativeViewConfigsInBridgelessMode() = 0;
|
|
83
|
+
virtual bool useOptimizedEventBatchingOnAndroid() = 0;
|
|
84
|
+
virtual bool useRawPropsJsiValue() = 0;
|
|
85
|
+
virtual bool useShadowNodeStateOnClone() = 0;
|
|
86
|
+
virtual bool useTurboModuleInterop() = 0;
|
|
87
|
+
virtual bool useTurboModules() = 0;
|
|
88
|
+
virtual double virtualViewPrerenderRatio() = 0;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <memory>
|
|
11
|
+
#include <mutex>
|
|
12
|
+
#include <optional>
|
|
13
|
+
#include <shared_mutex>
|
|
14
|
+
#include <string>
|
|
15
|
+
#include <unordered_map>
|
|
16
|
+
|
|
17
|
+
#include <react/debug/flags.h>
|
|
18
|
+
#include <react/debug/react_native_assert.h>
|
|
19
|
+
|
|
20
|
+
namespace facebook::react {
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
* General purpose dependency injection container.
|
|
24
|
+
* Instance types must be copyable.
|
|
25
|
+
*/
|
|
26
|
+
class ContextContainer final {
|
|
27
|
+
public:
|
|
28
|
+
using Shared = std::shared_ptr<const ContextContainer>;
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
* Registers an instance of the particular type `T` in the container
|
|
32
|
+
* using the provided `key`. Only one instance can be registered per key.
|
|
33
|
+
* The method does nothing if given `key` already exists in the container.
|
|
34
|
+
*
|
|
35
|
+
* Convention is to use the plain base class name for the key, so for
|
|
36
|
+
* example if the type `T` is `std::shared_ptr<const ReactNativeConfig>`,
|
|
37
|
+
* then one would use `"ReactNativeConfig"` for the `key`, even if the
|
|
38
|
+
* instance is actually a `shared_ptr` of derived class
|
|
39
|
+
*`ReactNativeConfig`.
|
|
40
|
+
*/
|
|
41
|
+
template <typename T>
|
|
42
|
+
void insert(const std::string& key, const T& instance) const {
|
|
43
|
+
std::unique_lock lock(mutex_);
|
|
44
|
+
|
|
45
|
+
instances_.insert({key, std::make_shared<T>(instance)});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
* Removes an instance stored for a given `key`.
|
|
50
|
+
* Does nothing if the instance was not found.
|
|
51
|
+
*/
|
|
52
|
+
void erase(const std::string& key) const {
|
|
53
|
+
std::unique_lock lock(mutex_);
|
|
54
|
+
|
|
55
|
+
instances_.erase(key);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/*
|
|
59
|
+
* Updates the container with values from a given container.
|
|
60
|
+
* Values with keys that already exist in the container will be replaced with
|
|
61
|
+
* values from the given container.
|
|
62
|
+
*/
|
|
63
|
+
void update(const ContextContainer& contextContainer) const {
|
|
64
|
+
std::unique_lock lock(mutex_);
|
|
65
|
+
|
|
66
|
+
for (const auto& pair : contextContainer.instances_) {
|
|
67
|
+
instances_.erase(pair.first);
|
|
68
|
+
instances_.insert(pair);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
* Returns a previously registered instance of the particular type `T`
|
|
74
|
+
* for `key`.
|
|
75
|
+
* Throws an exception if the instance could not be found.
|
|
76
|
+
*/
|
|
77
|
+
template <typename T>
|
|
78
|
+
T at(const std::string& key) const {
|
|
79
|
+
std::shared_lock lock(mutex_);
|
|
80
|
+
|
|
81
|
+
react_native_assert(
|
|
82
|
+
instances_.find(key) != instances_.end() &&
|
|
83
|
+
"ContextContainer doesn't have an instance for given key.");
|
|
84
|
+
return *static_cast<T*>(instances_.at(key).get());
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*
|
|
88
|
+
* Returns a (wrapped in an optional) previously registered instance of
|
|
89
|
+
* the particular type `T` for given `key`.
|
|
90
|
+
* Returns an empty optional if the instance could not be found.
|
|
91
|
+
*/
|
|
92
|
+
template <typename T>
|
|
93
|
+
std::optional<T> find(const std::string& key) const {
|
|
94
|
+
std::shared_lock lock(mutex_);
|
|
95
|
+
|
|
96
|
+
auto iterator = instances_.find(key);
|
|
97
|
+
if (iterator == instances_.end()) {
|
|
98
|
+
return {};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return *static_cast<T*>(iterator->second.get());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
private:
|
|
105
|
+
mutable std::shared_mutex mutex_;
|
|
106
|
+
// Protected by mutex_`.
|
|
107
|
+
mutable std::unordered_map<std::string, std::shared_ptr<void>> instances_;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <cmath>
|
|
11
|
+
|
|
12
|
+
namespace facebook::react {
|
|
13
|
+
|
|
14
|
+
constexpr float kDefaultEpsilon = 0.005f;
|
|
15
|
+
|
|
16
|
+
template <typename T>
|
|
17
|
+
inline bool
|
|
18
|
+
floatEquality(T a, T b, T epsilon = static_cast<T>(kDefaultEpsilon)) {
|
|
19
|
+
return (std::isnan(a) && std::isnan(b)) ||
|
|
20
|
+
(!std::isnan(a) && !std::isnan(b) && std::abs(a - b) < epsilon);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <react/debug/react_native_assert.h>
|
|
11
|
+
|
|
12
|
+
#if defined(__APPLE__)
|
|
13
|
+
#include <TargetConditionals.h>
|
|
14
|
+
#endif
|
|
15
|
+
|
|
16
|
+
#if defined(__OBJC__) && defined(__cplusplus)
|
|
17
|
+
#if TARGET_OS_MAC
|
|
18
|
+
|
|
19
|
+
#include <memory>
|
|
20
|
+
|
|
21
|
+
#import <Foundation/Foundation.h>
|
|
22
|
+
|
|
23
|
+
@interface RCTInternalGenericWeakWrapper : NSObject
|
|
24
|
+
@property (nonatomic, weak) id object;
|
|
25
|
+
@end
|
|
26
|
+
|
|
27
|
+
namespace facebook::react {
|
|
28
|
+
|
|
29
|
+
namespace detail {
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* A custom deleter used for the deallocation of Objective-C managed objects.
|
|
33
|
+
* To be used only by `wrapManagedObject`.
|
|
34
|
+
*/
|
|
35
|
+
void wrappedManagedObjectDeleter(void *cfPointer) noexcept;
|
|
36
|
+
|
|
37
|
+
} // namespace detail
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* `wrapManagedObject` and `unwrapManagedObject` are wrapper functions that
|
|
41
|
+
* convert ARC-managed objects into `std::shared_ptr<void>` and vice-versa. It's
|
|
42
|
+
* a very useful mechanism when we need to pass Objective-C objects through pure
|
|
43
|
+
* C++ code, pass blocks into C++ lambdas, and so on.
|
|
44
|
+
*
|
|
45
|
+
* The idea behind this mechanism is quite simple but tricky: When we
|
|
46
|
+
* instantiate a C++ shared pointer for a managed object, we practically call
|
|
47
|
+
* `CFRetain` for it once and then we represent this single retaining operation
|
|
48
|
+
* as a counter inside the shared pointer; when the counter became zero, we call
|
|
49
|
+
* `CFRelease` on the object. In this model, one bump of ARC-managed counter is
|
|
50
|
+
* represented as multiple bumps of C++ counter, so we can have multiple
|
|
51
|
+
* counters for the same object that form some kind of counters tree.
|
|
52
|
+
*/
|
|
53
|
+
inline std::shared_ptr<void> wrapManagedObject(id object) noexcept
|
|
54
|
+
{
|
|
55
|
+
return std::shared_ptr<void>((__bridge_retained void *)object, detail::wrappedManagedObjectDeleter);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
inline id unwrapManagedObject(const std::shared_ptr<void> &object) noexcept
|
|
59
|
+
{
|
|
60
|
+
return (__bridge id)object.get();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
inline std::shared_ptr<void> wrapManagedObjectWeakly(id object) noexcept
|
|
64
|
+
{
|
|
65
|
+
RCTInternalGenericWeakWrapper *weakWrapper = [RCTInternalGenericWeakWrapper new];
|
|
66
|
+
weakWrapper.object = object;
|
|
67
|
+
return wrapManagedObject(weakWrapper);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
inline id unwrapManagedObjectWeakly(const std::shared_ptr<void> &object) noexcept
|
|
71
|
+
{
|
|
72
|
+
RCTInternalGenericWeakWrapper *weakWrapper = (RCTInternalGenericWeakWrapper *)unwrapManagedObject(object);
|
|
73
|
+
react_native_assert(weakWrapper && "`RCTInternalGenericWeakWrapper` instance must not be `nil`.");
|
|
74
|
+
return weakWrapper.object;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
} // namespace facebook::react
|
|
78
|
+
|
|
79
|
+
#endif
|
|
80
|
+
#endif
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <utility>
|
|
11
|
+
|
|
12
|
+
namespace facebook::react {
|
|
13
|
+
|
|
14
|
+
template <typename Lambda>
|
|
15
|
+
class OnScopeExit {
|
|
16
|
+
public:
|
|
17
|
+
explicit OnScopeExit(const Lambda&& lambda) noexcept
|
|
18
|
+
: lambda_(std::move(lambda)) {}
|
|
19
|
+
|
|
20
|
+
// Non-movable
|
|
21
|
+
OnScopeExit(const OnScopeExit&) = delete;
|
|
22
|
+
OnScopeExit(OnScopeExit&&) = delete;
|
|
23
|
+
|
|
24
|
+
// Non-copyable
|
|
25
|
+
OnScopeExit& operator=(const OnScopeExit&) = delete;
|
|
26
|
+
OnScopeExit& operator=(OnScopeExit&&) = delete;
|
|
27
|
+
|
|
28
|
+
~OnScopeExit() noexcept {
|
|
29
|
+
lambda_();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
private:
|
|
33
|
+
Lambda lambda_;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <type_traits>
|
|
11
|
+
|
|
12
|
+
namespace facebook::react::traits {
|
|
13
|
+
|
|
14
|
+
template <typename ExpectedT>
|
|
15
|
+
static constexpr bool containsType() {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
template <typename ExpectedT, typename FirstT, typename... RestT>
|
|
20
|
+
static constexpr bool containsType() {
|
|
21
|
+
if constexpr (sizeof...(RestT) > 0) {
|
|
22
|
+
return std::is_same_v<ExpectedT, FirstT> ||
|
|
23
|
+
containsType<ExpectedT, RestT...>();
|
|
24
|
+
} else {
|
|
25
|
+
return std::is_same_v<ExpectedT, FirstT>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
} // namespace facebook::react::traits
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <atomic>
|
|
11
|
+
#include <functional>
|
|
12
|
+
#include <memory>
|
|
13
|
+
|
|
14
|
+
namespace facebook::react {
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* A cross-platform abstraction for observing a run loop life cycle.
|
|
18
|
+
*/
|
|
19
|
+
class RunLoopObserver {
|
|
20
|
+
public:
|
|
21
|
+
/*
|
|
22
|
+
* The concept of an owner.
|
|
23
|
+
* A run loop observer normally observes a run loop running on a different
|
|
24
|
+
* thread. That implies that this other thread (the run loop thread) will call
|
|
25
|
+
* methods of this class owned by some other thread. To make it safe, we need
|
|
26
|
+
* to ensure that at the moment of the calling the observer still exists. To
|
|
27
|
+
* do so, we use an owner object (a weak pointer) that must retain (possibly
|
|
28
|
+
* indirectly) the observer. The platform-specific code should convert the
|
|
29
|
+
* weak pointer (owner) to a strong one right before calling the observer,
|
|
30
|
+
* ensuring the safety of calling; right after the call, the strong pointer
|
|
31
|
+
* should be safely released.
|
|
32
|
+
*
|
|
33
|
+
* Note, in the case when the pointer to the actual owner will be available
|
|
34
|
+
* later, only after calling the constructor of the class, the caller can
|
|
35
|
+
* create a dummy pointer beforehand and then merge it (using
|
|
36
|
+
* `shared_ptr<X>(shared_ptr<Y> const &, X *)`) with the actual one (sharing
|
|
37
|
+
* the control block).
|
|
38
|
+
*/
|
|
39
|
+
using Owner = std::shared_ptr<const void>;
|
|
40
|
+
using WeakOwner = std::weak_ptr<const void>;
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* Run loop activity stages which run loop observers can be observe.
|
|
44
|
+
*/
|
|
45
|
+
enum Activity : int32_t {
|
|
46
|
+
None = 0,
|
|
47
|
+
BeforeWaiting = 1 << 0,
|
|
48
|
+
AfterWaiting = 1 << 1,
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/*
|
|
52
|
+
* A delegate interface.
|
|
53
|
+
*/
|
|
54
|
+
class Delegate {
|
|
55
|
+
public:
|
|
56
|
+
/*
|
|
57
|
+
* Called on every run loop tick at moments corresponding to requested
|
|
58
|
+
* activities.
|
|
59
|
+
*
|
|
60
|
+
* A platform-specific implementation guarantees that the owner pointer
|
|
61
|
+
* is retained during this call.
|
|
62
|
+
* Will be called on the thread associated with the run loop.
|
|
63
|
+
*/
|
|
64
|
+
virtual void activityDidChange(const Delegate* delegate, Activity activity)
|
|
65
|
+
const noexcept = 0;
|
|
66
|
+
|
|
67
|
+
virtual ~Delegate() noexcept = default;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
using Factory = std::function<std::unique_ptr<RunLoopObserver>(
|
|
71
|
+
Activity activities,
|
|
72
|
+
const WeakOwner& owner)>;
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
* Constructs a run loop observer.
|
|
76
|
+
*/
|
|
77
|
+
RunLoopObserver(Activity activities, WeakOwner owner) noexcept;
|
|
78
|
+
virtual ~RunLoopObserver() noexcept = default;
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
* Sets the delegate.
|
|
82
|
+
* Must be called just once.
|
|
83
|
+
*/
|
|
84
|
+
void setDelegate(const Delegate* delegate) const noexcept;
|
|
85
|
+
|
|
86
|
+
/*
|
|
87
|
+
* Enables or disables run loop observing.
|
|
88
|
+
* It can be used to save CPU cycles during periods of time when observing
|
|
89
|
+
* is not required.
|
|
90
|
+
* A newly constructed run time observer is initially disabled.
|
|
91
|
+
*/
|
|
92
|
+
void enable() const noexcept;
|
|
93
|
+
void disable() const noexcept;
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* Returns true if called on a thread associated with the run loop.
|
|
97
|
+
* Must be implemented in subclasses.
|
|
98
|
+
*/
|
|
99
|
+
virtual bool isOnRunLoopThread() const noexcept = 0;
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
* Returns an owner associated with the observer.
|
|
103
|
+
* It might be useful to ensure the safety of consequent asynchronous calls.
|
|
104
|
+
*/
|
|
105
|
+
WeakOwner getOwner() const noexcept;
|
|
106
|
+
|
|
107
|
+
protected:
|
|
108
|
+
/*
|
|
109
|
+
* Must be implemented in subclasses.
|
|
110
|
+
*/
|
|
111
|
+
virtual void startObserving() const noexcept = 0;
|
|
112
|
+
virtual void stopObserving() const noexcept = 0;
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
* Called by subclasses to generate a call on a delegate.
|
|
116
|
+
*/
|
|
117
|
+
void activityDidChange(Activity activity) const noexcept;
|
|
118
|
+
|
|
119
|
+
const Activity activities_{};
|
|
120
|
+
const WeakOwner owner_;
|
|
121
|
+
mutable const Delegate* delegate_{nullptr};
|
|
122
|
+
mutable std::atomic<bool> enabled_{false};
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <functional>
|
|
11
|
+
#include <memory>
|
|
12
|
+
#include <mutex>
|
|
13
|
+
#include <shared_mutex>
|
|
14
|
+
|
|
15
|
+
namespace facebook::react {
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* `SharedFunction` implements a pattern of a shared callable object that
|
|
19
|
+
* contains the same executable inside. It's similar to `std::function` with
|
|
20
|
+
* one important difference: when the object is copied, the stored function (and
|
|
21
|
+
* captured values) are shared between instances (not copied). `SharedFunction`
|
|
22
|
+
* can be stored inside `std::function` because it's callable. It useful in some
|
|
23
|
+
* scenarios, such as:
|
|
24
|
+
* - When captured by `std::function` arguments are not copyable;
|
|
25
|
+
* - When we need to replace the content of the callable later on the go.
|
|
26
|
+
*/
|
|
27
|
+
template <typename... ArgumentT>
|
|
28
|
+
class SharedFunction {
|
|
29
|
+
using T = void(ArgumentT...);
|
|
30
|
+
|
|
31
|
+
struct Pair {
|
|
32
|
+
Pair(std::function<T>&& function) : function(std::move(function)) {}
|
|
33
|
+
std::function<T> function;
|
|
34
|
+
std::shared_mutex mutex{};
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
public:
|
|
38
|
+
SharedFunction(std::function<T>&& function = nullptr)
|
|
39
|
+
: pair_(std::make_shared<Pair>(std::move(function))) {}
|
|
40
|
+
|
|
41
|
+
SharedFunction(const SharedFunction& other) = default;
|
|
42
|
+
SharedFunction(SharedFunction&& other) noexcept = default;
|
|
43
|
+
|
|
44
|
+
SharedFunction& operator=(const SharedFunction& other) = default;
|
|
45
|
+
SharedFunction& operator=(SharedFunction&& other) noexcept = default;
|
|
46
|
+
|
|
47
|
+
void assign(std::function<T> function) const {
|
|
48
|
+
std::unique_lock lock(pair_->mutex);
|
|
49
|
+
pair_->function = function;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
void operator()(ArgumentT... args) const {
|
|
53
|
+
std::shared_lock lock(pair_->mutex);
|
|
54
|
+
if (pair_->function) {
|
|
55
|
+
pair_->function(args...);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
private:
|
|
60
|
+
std::shared_ptr<Pair> pair_;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
} // namespace facebook::react
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <concepts>
|
|
11
|
+
#include <list>
|
|
12
|
+
#include <mutex>
|
|
13
|
+
#include <unordered_map>
|
|
14
|
+
|
|
15
|
+
namespace facebook::react {
|
|
16
|
+
|
|
17
|
+
template <typename GeneratorT, typename ValueT>
|
|
18
|
+
concept CacheGeneratorFunction = std::invocable<GeneratorT> &&
|
|
19
|
+
std::same_as<std::invoke_result_t<GeneratorT>, ValueT>;
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* Simple thread-safe LRU cache.
|
|
23
|
+
*
|
|
24
|
+
* TODO T228961279: The maxSize template parameter should be removed, since it
|
|
25
|
+
* may be overriden by the constructor.
|
|
26
|
+
*/
|
|
27
|
+
template <typename KeyT, typename ValueT, int maxSize>
|
|
28
|
+
class SimpleThreadSafeCache {
|
|
29
|
+
public:
|
|
30
|
+
SimpleThreadSafeCache() : maxSize_(maxSize) {}
|
|
31
|
+
SimpleThreadSafeCache(unsigned long size) : maxSize_{size} {}
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* Returns a value from the map with a given key.
|
|
35
|
+
* If the value wasn't found in the cache, constructs the value using given
|
|
36
|
+
* generator function, stores it inside a cache and returns it.
|
|
37
|
+
* Can be called from any thread.
|
|
38
|
+
*/
|
|
39
|
+
ValueT get(const KeyT& key, CacheGeneratorFunction<ValueT> auto generator)
|
|
40
|
+
const {
|
|
41
|
+
std::lock_guard<std::mutex> lock(mutex_);
|
|
42
|
+
|
|
43
|
+
if (auto it = map_.find(key); it != map_.end()) {
|
|
44
|
+
// Move accessed item to front of list
|
|
45
|
+
list_.splice(list_.begin(), list_, it->second);
|
|
46
|
+
return it->second->second;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
auto value = generator();
|
|
50
|
+
// Add new value to front of list and map
|
|
51
|
+
list_.emplace_front(key, value);
|
|
52
|
+
map_[key] = list_.begin();
|
|
53
|
+
if (list_.size() > maxSize_) {
|
|
54
|
+
// Evict least recently used item (back of list)
|
|
55
|
+
map_.erase(list_.back().first);
|
|
56
|
+
list_.pop_back();
|
|
57
|
+
}
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
* Returns a value from the map with a given key.
|
|
63
|
+
* If the value wasn't found in the cache, returns empty optional.
|
|
64
|
+
* Can be called from any thread.
|
|
65
|
+
*/
|
|
66
|
+
std::optional<ValueT> get(const KeyT& key) const {
|
|
67
|
+
std::lock_guard<std::mutex> lock(mutex_);
|
|
68
|
+
|
|
69
|
+
if (auto it = map_.find(key); it != map_.end()) {
|
|
70
|
+
// Move accessed item to front of list
|
|
71
|
+
list_.splice(list_.begin(), list_, it->second);
|
|
72
|
+
return it->second->second;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return ValueT{};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
private:
|
|
79
|
+
using EntryT = std::pair<KeyT, ValueT>;
|
|
80
|
+
using iterator = typename std::list<EntryT>::iterator;
|
|
81
|
+
|
|
82
|
+
size_t maxSize_;
|
|
83
|
+
mutable std::mutex mutex_;
|
|
84
|
+
mutable std::list<EntryT> list_;
|
|
85
|
+
mutable std::unordered_map<KeyT, iterator> map_;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
} // namespace facebook::react
|