react-native-tvos 0.73.1-0 → 0.73.1-2
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Lists/VirtualizedList.js +2 -2
- package/React/Base/RCTVersion.m +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.h +5 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagersPropertyCache.java +19 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.java +5 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +7 -7
- package/scripts/react-native-xcode.sh +1 -1
- package/template/android/app/src/main/java/com/helloworld/MainApplication.kt +5 -5
- package/template/package.json +5 -5
- package/React/Fabric/RCTThirdPartyFabricComponentsProvider.h +0 -33
- package/React/Fabric/RCTThirdPartyFabricComponentsProvider.mm +0 -32
- package/ReactAndroid/src/main/res/devsupport/values-cb/strings.xml +0 -6
- package/ReactAndroid/src/main/res/devsupport/values-fb/strings.xml +0 -8
- package/ReactAndroid/src/main/res/devsupport/values-fb-rLS/strings.xml +0 -8
- package/ReactAndroid/src/main/res/views/uimanager/values-cb/strings.xml +0 -13
- package/ReactAndroid/src/main/res/views/uimanager/values-fb/strings.xml +0 -31
- package/ReactAndroid/src/main/res/views/uimanager/values-fb-rLS/strings.xml +0 -26
- package/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h +0 -29
- package/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp +0 -134
- package/ReactCommon/react/renderer/components/rncore/EventEmitters.h +0 -171
- package/ReactCommon/react/renderer/components/rncore/Props.cpp +0 -157
- package/ReactCommon/react/renderer/components/rncore/Props.h +0 -394
- package/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h +0 -257
- package/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp +0 -26
- package/ReactCommon/react/renderer/components/rncore/ShadowNodes.h +0 -111
- package/ReactCommon/react/renderer/components/rncore/States.cpp +0 -18
- package/ReactCommon/react/renderer/components/rncore/States.h +0 -141
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateEventEmitterH.js
|
|
9
|
-
*/
|
|
10
|
-
#pragma once
|
|
11
|
-
|
|
12
|
-
#include <react/renderer/components/view/ViewEventEmitter.h>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
namespace facebook {
|
|
16
|
-
namespace react {
|
|
17
|
-
class ActivityIndicatorViewEventEmitter : public ViewEventEmitter {
|
|
18
|
-
public:
|
|
19
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
class AndroidDrawerLayoutEventEmitter : public ViewEventEmitter {
|
|
25
|
-
public:
|
|
26
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
27
|
-
|
|
28
|
-
struct OnDrawerSlide {
|
|
29
|
-
Float offset;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
struct OnDrawerStateChanged {
|
|
33
|
-
int drawerState;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
struct OnDrawerOpen {
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
struct OnDrawerClose {
|
|
41
|
-
|
|
42
|
-
};
|
|
43
|
-
void onDrawerSlide(OnDrawerSlide value) const;
|
|
44
|
-
|
|
45
|
-
void onDrawerStateChanged(OnDrawerStateChanged value) const;
|
|
46
|
-
|
|
47
|
-
void onDrawerOpen(OnDrawerOpen value) const;
|
|
48
|
-
|
|
49
|
-
void onDrawerClose(OnDrawerClose value) const;
|
|
50
|
-
};
|
|
51
|
-
class AndroidProgressBarEventEmitter : public ViewEventEmitter {
|
|
52
|
-
public:
|
|
53
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
class AndroidSwipeRefreshLayoutEventEmitter : public ViewEventEmitter {
|
|
59
|
-
public:
|
|
60
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
61
|
-
|
|
62
|
-
struct OnRefresh {
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
void onRefresh(OnRefresh value) const;
|
|
66
|
-
};
|
|
67
|
-
class PullToRefreshViewEventEmitter : public ViewEventEmitter {
|
|
68
|
-
public:
|
|
69
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
70
|
-
|
|
71
|
-
struct OnRefresh {
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
void onRefresh(OnRefresh value) const;
|
|
75
|
-
};
|
|
76
|
-
class SafeAreaViewEventEmitter : public ViewEventEmitter {
|
|
77
|
-
public:
|
|
78
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
};
|
|
83
|
-
class AndroidHorizontalScrollContentViewEventEmitter : public ViewEventEmitter {
|
|
84
|
-
public:
|
|
85
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
90
|
-
class AndroidSwitchEventEmitter : public ViewEventEmitter {
|
|
91
|
-
public:
|
|
92
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
93
|
-
|
|
94
|
-
struct OnChange {
|
|
95
|
-
bool value;
|
|
96
|
-
int target;
|
|
97
|
-
};
|
|
98
|
-
void onChange(OnChange value) const;
|
|
99
|
-
};
|
|
100
|
-
class SwitchEventEmitter : public ViewEventEmitter {
|
|
101
|
-
public:
|
|
102
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
103
|
-
|
|
104
|
-
struct OnChange {
|
|
105
|
-
bool value;
|
|
106
|
-
int target;
|
|
107
|
-
};
|
|
108
|
-
void onChange(OnChange value) const;
|
|
109
|
-
};
|
|
110
|
-
class InputAccessoryEventEmitter : public ViewEventEmitter {
|
|
111
|
-
public:
|
|
112
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
class TraceUpdateOverlayEventEmitter : public ViewEventEmitter {
|
|
118
|
-
public:
|
|
119
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
};
|
|
124
|
-
class UnimplementedNativeViewEventEmitter : public ViewEventEmitter {
|
|
125
|
-
public:
|
|
126
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
};
|
|
131
|
-
class ModalHostViewEventEmitter : public ViewEventEmitter {
|
|
132
|
-
public:
|
|
133
|
-
using ViewEventEmitter::ViewEventEmitter;
|
|
134
|
-
|
|
135
|
-
struct OnRequestClose {
|
|
136
|
-
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
struct OnShow {
|
|
140
|
-
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
struct OnDismiss {
|
|
144
|
-
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
enum class OnOrientationChangeOrientation {
|
|
148
|
-
Portrait,
|
|
149
|
-
Landscape
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
static char const *toString(const OnOrientationChangeOrientation value) {
|
|
153
|
-
switch (value) {
|
|
154
|
-
case OnOrientationChangeOrientation::Portrait: return "portrait";
|
|
155
|
-
case OnOrientationChangeOrientation::Landscape: return "landscape";
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
struct OnOrientationChange {
|
|
160
|
-
OnOrientationChangeOrientation orientation;
|
|
161
|
-
};
|
|
162
|
-
void onRequestClose(OnRequestClose value) const;
|
|
163
|
-
|
|
164
|
-
void onShow(OnShow value) const;
|
|
165
|
-
|
|
166
|
-
void onDismiss(OnDismiss value) const;
|
|
167
|
-
|
|
168
|
-
void onOrientationChange(OnOrientationChange value) const;
|
|
169
|
-
};
|
|
170
|
-
} // namespace react
|
|
171
|
-
} // namespace facebook
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GeneratePropsCpp.js
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
#include <react/renderer/components/rncore/Props.h>
|
|
12
|
-
#include <react/renderer/core/PropsParserContext.h>
|
|
13
|
-
#include <react/renderer/core/propsConversions.h>
|
|
14
|
-
|
|
15
|
-
namespace facebook {
|
|
16
|
-
namespace react {
|
|
17
|
-
|
|
18
|
-
ActivityIndicatorViewProps::ActivityIndicatorViewProps(
|
|
19
|
-
const PropsParserContext &context,
|
|
20
|
-
const ActivityIndicatorViewProps &sourceProps,
|
|
21
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
22
|
-
|
|
23
|
-
hidesWhenStopped(convertRawProp(context, rawProps, "hidesWhenStopped", sourceProps.hidesWhenStopped, {false})),
|
|
24
|
-
animating(convertRawProp(context, rawProps, "animating", sourceProps.animating, {false})),
|
|
25
|
-
color(convertRawProp(context, rawProps, "color", sourceProps.color, {})),
|
|
26
|
-
size(convertRawProp(context, rawProps, "size", sourceProps.size, {ActivityIndicatorViewSize::Small}))
|
|
27
|
-
{}
|
|
28
|
-
AndroidDrawerLayoutProps::AndroidDrawerLayoutProps(
|
|
29
|
-
const PropsParserContext &context,
|
|
30
|
-
const AndroidDrawerLayoutProps &sourceProps,
|
|
31
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
32
|
-
|
|
33
|
-
keyboardDismissMode(convertRawProp(context, rawProps, "keyboardDismissMode", sourceProps.keyboardDismissMode, {AndroidDrawerLayoutKeyboardDismissMode::None})),
|
|
34
|
-
drawerBackgroundColor(convertRawProp(context, rawProps, "drawerBackgroundColor", sourceProps.drawerBackgroundColor, {})),
|
|
35
|
-
drawerPosition(convertRawProp(context, rawProps, "drawerPosition", sourceProps.drawerPosition, {AndroidDrawerLayoutDrawerPosition::Left})),
|
|
36
|
-
drawerWidth(convertRawProp(context, rawProps, "drawerWidth", sourceProps.drawerWidth, {})),
|
|
37
|
-
drawerLockMode(convertRawProp(context, rawProps, "drawerLockMode", sourceProps.drawerLockMode, {AndroidDrawerLayoutDrawerLockMode::Unlocked})),
|
|
38
|
-
statusBarBackgroundColor(convertRawProp(context, rawProps, "statusBarBackgroundColor", sourceProps.statusBarBackgroundColor, {}))
|
|
39
|
-
{}
|
|
40
|
-
AndroidProgressBarProps::AndroidProgressBarProps(
|
|
41
|
-
const PropsParserContext &context,
|
|
42
|
-
const AndroidProgressBarProps &sourceProps,
|
|
43
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
44
|
-
|
|
45
|
-
styleAttr(convertRawProp(context, rawProps, "styleAttr", sourceProps.styleAttr, {})),
|
|
46
|
-
typeAttr(convertRawProp(context, rawProps, "typeAttr", sourceProps.typeAttr, {})),
|
|
47
|
-
indeterminate(convertRawProp(context, rawProps, "indeterminate", sourceProps.indeterminate, {false})),
|
|
48
|
-
progress(convertRawProp(context, rawProps, "progress", sourceProps.progress, {0.0})),
|
|
49
|
-
animating(convertRawProp(context, rawProps, "animating", sourceProps.animating, {true})),
|
|
50
|
-
color(convertRawProp(context, rawProps, "color", sourceProps.color, {})),
|
|
51
|
-
testID(convertRawProp(context, rawProps, "testID", sourceProps.testID, {""}))
|
|
52
|
-
{}
|
|
53
|
-
AndroidSwipeRefreshLayoutProps::AndroidSwipeRefreshLayoutProps(
|
|
54
|
-
const PropsParserContext &context,
|
|
55
|
-
const AndroidSwipeRefreshLayoutProps &sourceProps,
|
|
56
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
57
|
-
|
|
58
|
-
enabled(convertRawProp(context, rawProps, "enabled", sourceProps.enabled, {true})),
|
|
59
|
-
colors(convertRawProp(context, rawProps, "colors", sourceProps.colors, {})),
|
|
60
|
-
progressBackgroundColor(convertRawProp(context, rawProps, "progressBackgroundColor", sourceProps.progressBackgroundColor, {})),
|
|
61
|
-
size(convertRawProp(context, rawProps, "size", sourceProps.size, {AndroidSwipeRefreshLayoutSize::Default})),
|
|
62
|
-
progressViewOffset(convertRawProp(context, rawProps, "progressViewOffset", sourceProps.progressViewOffset, {0.0})),
|
|
63
|
-
refreshing(convertRawProp(context, rawProps, "refreshing", sourceProps.refreshing, {false}))
|
|
64
|
-
{}
|
|
65
|
-
PullToRefreshViewProps::PullToRefreshViewProps(
|
|
66
|
-
const PropsParserContext &context,
|
|
67
|
-
const PullToRefreshViewProps &sourceProps,
|
|
68
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
69
|
-
|
|
70
|
-
tintColor(convertRawProp(context, rawProps, "tintColor", sourceProps.tintColor, {})),
|
|
71
|
-
titleColor(convertRawProp(context, rawProps, "titleColor", sourceProps.titleColor, {})),
|
|
72
|
-
title(convertRawProp(context, rawProps, "title", sourceProps.title, {})),
|
|
73
|
-
progressViewOffset(convertRawProp(context, rawProps, "progressViewOffset", sourceProps.progressViewOffset, {0.0})),
|
|
74
|
-
refreshing(convertRawProp(context, rawProps, "refreshing", sourceProps.refreshing, {false}))
|
|
75
|
-
{}
|
|
76
|
-
SafeAreaViewProps::SafeAreaViewProps(
|
|
77
|
-
const PropsParserContext &context,
|
|
78
|
-
const SafeAreaViewProps &sourceProps,
|
|
79
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
{}
|
|
83
|
-
AndroidHorizontalScrollContentViewProps::AndroidHorizontalScrollContentViewProps(
|
|
84
|
-
const PropsParserContext &context,
|
|
85
|
-
const AndroidHorizontalScrollContentViewProps &sourceProps,
|
|
86
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
87
|
-
|
|
88
|
-
removeClippedSubviews(convertRawProp(context, rawProps, "removeClippedSubviews", sourceProps.removeClippedSubviews, {false}))
|
|
89
|
-
{}
|
|
90
|
-
AndroidSwitchProps::AndroidSwitchProps(
|
|
91
|
-
const PropsParserContext &context,
|
|
92
|
-
const AndroidSwitchProps &sourceProps,
|
|
93
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
94
|
-
|
|
95
|
-
disabled(convertRawProp(context, rawProps, "disabled", sourceProps.disabled, {false})),
|
|
96
|
-
enabled(convertRawProp(context, rawProps, "enabled", sourceProps.enabled, {true})),
|
|
97
|
-
thumbColor(convertRawProp(context, rawProps, "thumbColor", sourceProps.thumbColor, {})),
|
|
98
|
-
trackColorForFalse(convertRawProp(context, rawProps, "trackColorForFalse", sourceProps.trackColorForFalse, {})),
|
|
99
|
-
trackColorForTrue(convertRawProp(context, rawProps, "trackColorForTrue", sourceProps.trackColorForTrue, {})),
|
|
100
|
-
value(convertRawProp(context, rawProps, "value", sourceProps.value, {false})),
|
|
101
|
-
on(convertRawProp(context, rawProps, "on", sourceProps.on, {false})),
|
|
102
|
-
thumbTintColor(convertRawProp(context, rawProps, "thumbTintColor", sourceProps.thumbTintColor, {})),
|
|
103
|
-
trackTintColor(convertRawProp(context, rawProps, "trackTintColor", sourceProps.trackTintColor, {}))
|
|
104
|
-
{}
|
|
105
|
-
SwitchProps::SwitchProps(
|
|
106
|
-
const PropsParserContext &context,
|
|
107
|
-
const SwitchProps &sourceProps,
|
|
108
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
109
|
-
|
|
110
|
-
disabled(convertRawProp(context, rawProps, "disabled", sourceProps.disabled, {false})),
|
|
111
|
-
value(convertRawProp(context, rawProps, "value", sourceProps.value, {false})),
|
|
112
|
-
tintColor(convertRawProp(context, rawProps, "tintColor", sourceProps.tintColor, {})),
|
|
113
|
-
onTintColor(convertRawProp(context, rawProps, "onTintColor", sourceProps.onTintColor, {})),
|
|
114
|
-
thumbTintColor(convertRawProp(context, rawProps, "thumbTintColor", sourceProps.thumbTintColor, {})),
|
|
115
|
-
thumbColor(convertRawProp(context, rawProps, "thumbColor", sourceProps.thumbColor, {})),
|
|
116
|
-
trackColorForFalse(convertRawProp(context, rawProps, "trackColorForFalse", sourceProps.trackColorForFalse, {})),
|
|
117
|
-
trackColorForTrue(convertRawProp(context, rawProps, "trackColorForTrue", sourceProps.trackColorForTrue, {}))
|
|
118
|
-
{}
|
|
119
|
-
InputAccessoryProps::InputAccessoryProps(
|
|
120
|
-
const PropsParserContext &context,
|
|
121
|
-
const InputAccessoryProps &sourceProps,
|
|
122
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
123
|
-
|
|
124
|
-
backgroundColor(convertRawProp(context, rawProps, "backgroundColor", sourceProps.backgroundColor, {}))
|
|
125
|
-
{}
|
|
126
|
-
TraceUpdateOverlayProps::TraceUpdateOverlayProps(
|
|
127
|
-
const PropsParserContext &context,
|
|
128
|
-
const TraceUpdateOverlayProps &sourceProps,
|
|
129
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
{}
|
|
133
|
-
UnimplementedNativeViewProps::UnimplementedNativeViewProps(
|
|
134
|
-
const PropsParserContext &context,
|
|
135
|
-
const UnimplementedNativeViewProps &sourceProps,
|
|
136
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
137
|
-
|
|
138
|
-
name(convertRawProp(context, rawProps, "name", sourceProps.name, {""}))
|
|
139
|
-
{}
|
|
140
|
-
ModalHostViewProps::ModalHostViewProps(
|
|
141
|
-
const PropsParserContext &context,
|
|
142
|
-
const ModalHostViewProps &sourceProps,
|
|
143
|
-
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
144
|
-
|
|
145
|
-
animationType(convertRawProp(context, rawProps, "animationType", sourceProps.animationType, {ModalHostViewAnimationType::None})),
|
|
146
|
-
presentationStyle(convertRawProp(context, rawProps, "presentationStyle", sourceProps.presentationStyle, {ModalHostViewPresentationStyle::FullScreen})),
|
|
147
|
-
transparent(convertRawProp(context, rawProps, "transparent", sourceProps.transparent, {false})),
|
|
148
|
-
statusBarTranslucent(convertRawProp(context, rawProps, "statusBarTranslucent", sourceProps.statusBarTranslucent, {false})),
|
|
149
|
-
hardwareAccelerated(convertRawProp(context, rawProps, "hardwareAccelerated", sourceProps.hardwareAccelerated, {false})),
|
|
150
|
-
visible(convertRawProp(context, rawProps, "visible", sourceProps.visible, {false})),
|
|
151
|
-
animated(convertRawProp(context, rawProps, "animated", sourceProps.animated, {false})),
|
|
152
|
-
supportedOrientations(convertRawProp(context, rawProps, "supportedOrientations", sourceProps.supportedOrientations, {static_cast<ModalHostViewSupportedOrientationsMask>(ModalHostViewSupportedOrientations::Portrait)})),
|
|
153
|
-
identifier(convertRawProp(context, rawProps, "identifier", sourceProps.identifier, {0}))
|
|
154
|
-
{}
|
|
155
|
-
|
|
156
|
-
} // namespace react
|
|
157
|
-
} // namespace facebook
|