react-native-windows 0.75.0-preview.6 → 0.75.0-preview.7

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.
@@ -4,9 +4,30 @@
4
4
 
5
5
  #include <NativeModules.h>
6
6
 
7
+ #include "codegen/NativeStatusBarManagerAndroidSpec.g.h"
8
+
7
9
  namespace Microsoft::ReactNative {
8
10
 
9
11
  REACT_MODULE(StatusBarManager)
10
- struct StatusBarManager {};
12
+ struct StatusBarManager {
13
+ using ModuleSpec = Microsoft::ReactNativeSpecs::StatusBarManagerAndroidSpec;
14
+
15
+ REACT_GET_CONSTANTS(GetConstants)
16
+ static Microsoft::ReactNativeSpecs::StatusBarManagerAndroidSpec_Constants GetConstants() noexcept {
17
+ return {0};
18
+ }
19
+
20
+ REACT_METHOD(setColor)
21
+ static void setColor(double /*color*/, bool /*animated*/) noexcept {}
22
+
23
+ REACT_METHOD(setTranslucent)
24
+ static void setTranslucent(bool /*translucent*/) noexcept {}
25
+
26
+ REACT_METHOD(setStyle)
27
+ static void setStyle(std::optional<std::string> /*statusBarStyle*/) noexcept {}
28
+
29
+ REACT_METHOD(setHidden)
30
+ static void setHidden(bool /*hidden*/) noexcept {}
31
+ };
11
32
 
12
33
  } // namespace Microsoft::ReactNative
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.75.0-preview.6</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.75.0-preview.7</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>75</ReactNativeWindowsMinor>
16
16
  <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>36274bc5374a75cb75565749adb1d5295724dfc8</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>b10278638c62d886e936fe4f97aaaef88c24a69c</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.75.0-preview.6",
3
+ "version": "0.75.0-preview.7",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",