react-native 0.73.10 → 0.73.11
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/React/Base/RCTVersion.m +1 -1
- 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/views/view/ReactViewBackgroundDrawable.java +10 -5
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/sdks/hermes-engine/utils/build-apple-framework.sh +0 -12
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/Gemfile +1 -0
- package/template/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewBackgroundDrawable.java
CHANGED
|
@@ -581,6 +581,7 @@ public class ReactViewBackgroundDrawable extends Drawable {
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
// Clip border ONLY if its color is non transparent
|
|
584
|
+
float pathAdjustment = 0f;
|
|
584
585
|
if (Color.alpha(colorLeft) != 0
|
|
585
586
|
&& Color.alpha(colorTop) != 0
|
|
586
587
|
&& Color.alpha(colorRight) != 0
|
|
@@ -591,6 +592,10 @@ public class ReactViewBackgroundDrawable extends Drawable {
|
|
|
591
592
|
mInnerClipTempRectForBorderRadius.bottom -= borderWidth.bottom;
|
|
592
593
|
mInnerClipTempRectForBorderRadius.left += borderWidth.left;
|
|
593
594
|
mInnerClipTempRectForBorderRadius.right -= borderWidth.right;
|
|
595
|
+
|
|
596
|
+
// only close gap between border and main path if we draw the border, otherwise
|
|
597
|
+
// we wind up pixelating small pixel-radius curves
|
|
598
|
+
pathAdjustment = mGapBetweenPaths;
|
|
594
599
|
}
|
|
595
600
|
|
|
596
601
|
mTempRectForCenterDrawPath.top += borderWidth.top * 0.5f;
|
|
@@ -714,14 +719,14 @@ public class ReactViewBackgroundDrawable extends Drawable {
|
|
|
714
719
|
Path.Direction.CW);
|
|
715
720
|
|
|
716
721
|
// There is a small gap between mBackgroundColorRenderPath and its
|
|
717
|
-
// border.
|
|
722
|
+
// border. pathAdjustment is used to slightly enlarge the rectangle
|
|
718
723
|
// (mInnerClipTempRectForBorderRadius), ensuring the border can be
|
|
719
724
|
// drawn on top without the gap.
|
|
720
725
|
mBackgroundColorRenderPath.addRoundRect(
|
|
721
|
-
mInnerClipTempRectForBorderRadius.left -
|
|
722
|
-
mInnerClipTempRectForBorderRadius.top -
|
|
723
|
-
mInnerClipTempRectForBorderRadius.right +
|
|
724
|
-
mInnerClipTempRectForBorderRadius.bottom +
|
|
726
|
+
mInnerClipTempRectForBorderRadius.left - pathAdjustment,
|
|
727
|
+
mInnerClipTempRectForBorderRadius.top - pathAdjustment,
|
|
728
|
+
mInnerClipTempRectForBorderRadius.right + pathAdjustment,
|
|
729
|
+
mInnerClipTempRectForBorderRadius.bottom + pathAdjustment,
|
|
725
730
|
new float[] {
|
|
726
731
|
innerTopLeftRadiusX,
|
|
727
732
|
innerTopLeftRadiusY,
|
package/package.json
CHANGED
|
@@ -185,19 +185,7 @@ function create_universal_framework {
|
|
|
185
185
|
for i in "${!platforms[@]}"; do
|
|
186
186
|
local platform="${platforms[$i]}"
|
|
187
187
|
local hermes_framework_path="${platform}/hermes.framework"
|
|
188
|
-
local dSYM_path="$hermes_framework_path"
|
|
189
|
-
local dSYM_base_path="$HERMES_PATH/destroot/Library/Frameworks"
|
|
190
|
-
|
|
191
|
-
# If the dSYM rename has failed, the dSYM are generated as 0.dSYM
|
|
192
|
-
# (Apple default name) rather then hermes.framework.dSYM.
|
|
193
|
-
if [[ -e "$dSYM_base_path/${platform}/0.dSYM" ]]; then
|
|
194
|
-
dSYM_path="${platform}/0"
|
|
195
|
-
fi
|
|
196
|
-
|
|
197
188
|
args+="-framework $hermes_framework_path "
|
|
198
|
-
|
|
199
|
-
# Path to dSYM must be absolute
|
|
200
|
-
args+="-debug-symbols $dSYM_base_path/$dSYM_path.dSYM "
|
|
201
189
|
done
|
|
202
190
|
|
|
203
191
|
mkdir -p universal
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/template/Gemfile
CHANGED