react-native-unistyles 2.4.0-rc.0 → 2.4.0-rc.1
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/package.json
    CHANGED
    
    
| 
         @@ -39,7 +39,7 @@ struct Unistyles { 
     | 
|
| 
       39 
39 
     | 
    
         
             
                            auto bounds = Window::Current().Bounds();
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
                            if (this->unistylesRuntime != nullptr) {
         
     | 
| 
       42 
     | 
    
         
            -
                                ((UnistylesRuntime*)this->unistylesRuntime)->handleScreenSizeChange((int)bounds.Width, (int)bounds.Height, this 
     | 
| 
      
 42 
     | 
    
         
            +
                                ((UnistylesRuntime*)this->unistylesRuntime)->handleScreenSizeChange((int)bounds.Width, (int)bounds.Height, this->getInsets(), this->getStatusBarDimensions());
         
     | 
| 
       43 
43 
     | 
    
         
             
                            }
         
     | 
| 
       44 
44 
     | 
    
         
             
                        }));
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
         @@ -102,6 +102,8 @@ 
     | 
|
| 
       102 
102 
     | 
    
         
             
                <ClCompile>
         
     | 
| 
       103 
103 
     | 
    
         
             
                  <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
         
     | 
| 
       104 
104 
     | 
    
         
             
                  <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">../../cxx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
         
     | 
| 
      
 105 
     | 
    
         
            +
                  <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../../cxx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
         
     | 
| 
      
 106 
     | 
    
         
            +
                  <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../cxx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
         
     | 
| 
       105 
107 
     | 
    
         
             
                </ClCompile>
         
     | 
| 
       106 
108 
     | 
    
         
             
              </ItemDefinitionGroup>
         
     | 
| 
       107 
109 
     | 
    
         
             
              <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
         
     | 
| 
         @@ -119,6 +121,11 @@ 
     | 
|
| 
       119 
121 
     | 
    
         
             
              <ItemGroup>
         
     | 
| 
       120 
122 
     | 
    
         
             
                <ClCompile Include="..\..\cxx\UnistylesRuntime.cpp">
         
     | 
| 
       121 
123 
     | 
    
         
             
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">NotUsing</PrecompiledHeader>
         
     | 
| 
      
 124 
     | 
    
         
            +
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
         
     | 
| 
      
 126 
     | 
    
         
            +
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
         
     | 
| 
      
 127 
     | 
    
         
            +
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">NotUsing</PrecompiledHeader>
         
     | 
| 
      
 128 
     | 
    
         
            +
                  <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
         
     | 
| 
       122 
129 
     | 
    
         
             
                </ClCompile>
         
     | 
| 
       123 
130 
     | 
    
         
             
                <ClCompile Include="pch.cpp">
         
     | 
| 
       124 
131 
     | 
    
         
             
                  <PrecompiledHeader>Create</PrecompiledHeader>
         
     | 
| 
         @@ -147,4 +154,4 @@ 
     | 
|
| 
       147 
154 
     | 
    
         
             
                <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props'))" />
         
     | 
| 
       148 
155 
     | 
    
         
             
                <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets'))" />
         
     | 
| 
       149 
156 
     | 
    
         
             
              </Target>
         
     | 
| 
       150 
     | 
    
         
            -
            </Project>
         
     | 
| 
      
 157 
     | 
    
         
            +
            </Project>
         
     | 
| 
         @@ -7,6 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
                <ClCompile Include="pch.cpp" />
         
     | 
| 
       8 
8 
     | 
    
         
             
                <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
         
     | 
| 
       9 
9 
     | 
    
         
             
                <ClCompile Include="ReactPackageProvider.cpp" />
         
     | 
| 
      
 10 
     | 
    
         
            +
                <ClCompile Include="..\..\cxx\UnistylesRuntime.cpp" />
         
     | 
| 
       10 
11 
     | 
    
         
             
              </ItemGroup>
         
     | 
| 
       11 
12 
     | 
    
         
             
              <ItemGroup>
         
     | 
| 
       12 
13 
     | 
    
         
             
                <ClInclude Include="pch.h" />
         
     | 
| 
         @@ -16,4 +17,4 @@ 
     | 
|
| 
       16 
17 
     | 
    
         
             
              <ItemGroup>
         
     | 
| 
       17 
18 
     | 
    
         
             
                <None Include="PropertySheet.props" />
         
     | 
| 
       18 
19 
     | 
    
         
             
              </ItemGroup>
         
     | 
| 
       19 
     | 
    
         
            -
            </Project>
         
     | 
| 
      
 20 
     | 
    
         
            +
            </Project>
         
     |