react-native-windows 0.72.5 → 0.72.6
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/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.cpp +7 -0
- package/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.h +1 -0
- package/Microsoft.ReactNative/Views/ScrollViewManager.cpp +2 -0
- package/Microsoft.ReactNative.Cxx/CppWinRTIncludes.h +5 -0
- package/Microsoft.ReactNative.Cxx/ModuleRegistration.h +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Cpp.Dependencies.props +9 -0
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/package.json +2 -2
|
@@ -25,6 +25,13 @@ void ActivityIndicatorViewManager::GetNativeProps(const winrt::Microsoft::ReactN
|
|
|
25
25
|
winrt::Microsoft::ReactNative::WriteProperty(writer, L"color", L"Color");
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
ShadowNode *Microsoft::ReactNative::ActivityIndicatorViewManager::createShadow() const {
|
|
29
|
+
ShadowNode *shadowNode = Super::createShadow();
|
|
30
|
+
ShadowNodeBase *shadowNodeBase = static_cast<ShadowNodeBase *>(shadowNode);
|
|
31
|
+
shadowNodeBase->IsFocusable(false);
|
|
32
|
+
return shadowNode;
|
|
33
|
+
}
|
|
34
|
+
|
|
28
35
|
XamlView ActivityIndicatorViewManager::CreateViewCore(
|
|
29
36
|
int64_t /*tag*/,
|
|
30
37
|
const winrt::Microsoft::ReactNative::JSValueObject &) {
|
|
@@ -15,6 +15,7 @@ class ActivityIndicatorViewManager : public ControlViewManager {
|
|
|
15
15
|
|
|
16
16
|
const wchar_t *GetName() const override;
|
|
17
17
|
void GetNativeProps(const winrt::Microsoft::ReactNative::IJSValueWriter &writer) const override;
|
|
18
|
+
ShadowNode *createShadow() const override;
|
|
18
19
|
|
|
19
20
|
protected:
|
|
20
21
|
bool UpdateProperty(
|
|
@@ -100,6 +100,8 @@ void ScrollViewShadowNode::dispatchCommand(
|
|
|
100
100
|
void ScrollViewShadowNode::createView(const winrt::Microsoft::ReactNative::JSValueObject &props) {
|
|
101
101
|
Super::createView(props);
|
|
102
102
|
|
|
103
|
+
IsFocusable(false);
|
|
104
|
+
|
|
103
105
|
const auto scrollViewer = GetView().as<winrt::ScrollViewer>();
|
|
104
106
|
const auto scrollViewUWPImplementation = ScrollViewUWPImplementation(scrollViewer);
|
|
105
107
|
scrollViewUWPImplementation.ScrollViewerSnapPointManager();
|
|
@@ -51,3 +51,8 @@ using namespace Windows::Foundation::Collections;
|
|
|
51
51
|
#define _QUOTE(x) L#x
|
|
52
52
|
#define QUOTE(x) _QUOTE(x)
|
|
53
53
|
#define XAML_NAMESPACE_STR QUOTE(XAML_NAMESPACE)
|
|
54
|
+
|
|
55
|
+
#ifdef CPPWINRT_USE_LOADLIBRARYEXW
|
|
56
|
+
#define WINRT_IMPL_LoadLibraryW(name) \
|
|
57
|
+
WINRT_IMPL_LoadLibraryExW(name, nullptr, 0x00001000 /* LOAD_LIBRARY_SEARCH_DEFAULT_DIRS */)
|
|
58
|
+
#endif
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
visitor.Visit( \
|
|
85
85
|
&TStruct::member, \
|
|
86
86
|
attributeId, \
|
|
87
|
-
winrt::Microsoft::ReactNative::React##memberKind##Attribute
|
|
87
|
+
winrt::Microsoft::ReactNative::React##memberKind##Attribute(jsMemberName, jsModuleName)); \
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
#define INTERNAL_REACT_MEMBER_3_ARGS(memberKind, member, jsMemberName) \
|
|
@@ -14,4 +14,13 @@
|
|
|
14
14
|
<CppWinRTVersion Condition="'$(CppWinRTVersion)' == '' Or $([MSBuild]::VersionLessThan('$(CppWinRTVersion)', '2.0.211028.7'))">2.0.211028.7</CppWinRTVersion>
|
|
15
15
|
</PropertyGroup>
|
|
16
16
|
|
|
17
|
+
<ItemDefinitionGroup Label="CppWinRT">
|
|
18
|
+
<ClCompile>
|
|
19
|
+
<PreprocessorDefinitions Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(CppWinRTVersion)', '2.0.230524.3'))">
|
|
20
|
+
CPPWINRT_USE_LOADLIBRARYEXW;
|
|
21
|
+
%(PreprocessorDefinitions)
|
|
22
|
+
</PreprocessorDefinitions>
|
|
23
|
+
</ClCompile>
|
|
24
|
+
</ItemDefinitionGroup>
|
|
25
|
+
|
|
17
26
|
</Project>
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.72.
|
|
13
|
+
<ReactNativeWindowsVersion>0.72.6</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>72</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>6</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>30ecf04918029a8699096532c8b13d4ae7a4b4f3</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.72.
|
|
3
|
+
"version": "0.72.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "11.3.5",
|
|
27
27
|
"@react-native-community/cli-platform-android": "11.3.5",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "11.3.5",
|
|
29
|
-
"@react-native-windows/cli": "0.72.
|
|
29
|
+
"@react-native-windows/cli": "0.72.2",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
31
|
"@react-native/assets-registry": "^0.72.0",
|
|
32
32
|
"@react-native/codegen": "^0.72.6",
|