Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOPLT-359] Upgrade react-native-svg to 15.1.0 #221

Merged
merged 4 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ PODS:
- RNScreens (3.23.0):
- React-Core
- React-RCTImage
- RNSVG (13.10.0):
- RNSVG (15.1.0):
- React-Core
- SocketRocket (0.6.1)
- Yoga (1.14.0)
Expand Down Expand Up @@ -773,11 +773,11 @@ SPEC CHECKSUMS:
RNReactNativeHapticFeedback: afa5bf2794aecbb2dba2525329253da0d66656df
RNReanimated: 53ca20eee770c41173703f5948cd8898aa08262c
RNScreens: 6a8a3c6b808aa48dca1780df7b73ea524f602c63
RNSVG: 80584470ff1ffc7994923ea135a3e5ad825546b9
RNSVG: 50cf2c7018e57cf5d3522d98d0a3a4dd6bf9d093
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 3682f715bd91b22067ed6990af779570157f6eb0

COCOAPODS: 1.12.0
COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react-native-reanimated": "^3.4.1",
"react-native-safe-area-context": "^4.7.1",
"react-native-screens": "^3.23.0",
"react-native-svg": "^13.10.0",
"react-native-svg": "^15.1.0",
"rn-placeholder": "^3.0.3"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4099,10 +4099,10 @@ react-native-screens@^3.23.0:
react-freeze "^1.0.0"
warn-once "^0.1.0"

react-native-svg@^13.10.0:
version "13.10.0"
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-13.10.0.tgz#d3c6222ea9cc1e21e2af0fd59dfbeafe7a3d0dc1"
integrity sha512-D/oYTmUi5nsA/2Nw4WYlF1UUi3vZqhpESpiEhpYCIFB/EMd6vz4A/uq3tIzZFcfa5z2oAdGSxRU1TaYr8IcPlQ==
react-native-svg@^15.1.0:
version "15.1.0"
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-15.1.0.tgz#07c75f29b1d641faba50144c7ccd21604b368420"
integrity sha512-p0Sx0EpQNk1nu6UcMEiB8K9P04n3J7s+pNYUwf1d/Yz+v4hk961VjuVqjyndgiEbHZyWiKWLZRVNuvLpwjPY2A==
dependencies:
css-select "^5.1.0"
css-tree "^1.1.3"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"react-native-linear-gradient": "^2.5.6",
"react-native-reanimated": "^2.9.1",
"react-native-safe-area-context": "^3.3.2",
"react-native-svg": "^12.3.0",
"react-native-svg": "^15.1.0",
"rn-placeholder": "1.3.3"
}
}
36 changes: 24 additions & 12 deletions src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ exports[`Test Advice Components - Experimental Enabled Advice Snapshot 1`] = `
align="xMidYMid"
bbHeight={20}
bbWidth={20}
color={4278219750}
focusable={false}
height={20}
importantForAccessibility="no-hide-descendants"
Expand All @@ -45,19 +44,26 @@ exports[`Test Advice Components - Experimental Enabled Advice Snapshot 1`] = `
},
]
}
tintColor={4278219750}
tintColor="#0073E6"
vbHeight={24}
vbWidth={24}
width={20}
>
<RNSVGGroup>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGPath
clipRule={0}
d="M0 12C0 5.3726 5.3726 0 12 0s12 5.3726 12 12-5.3726 12-12 12S0 18.6274 0 12Zm2 0C2 6.47717 6.47717 2 12 2c5.5228 0 10 4.47717 10 10 0 5.5228-4.4772 10-10 10-5.52283 0-10-4.4772-10-10Zm10.0281 7.5c.8439 0 1.5281-.6842 1.5281-1.5281s-.6842-1.5281-1.5281-1.5281c-.844 0-1.5281.6842-1.5281 1.5281S11.1841 19.5 12.0281 19.5Zm0-15.05618h.0005c.5678 0 1.0281.46029 1.0281 1.02808v8.0046c0 .5678-.4603 1.028-1.0281 1.028h-.0005c-.5678 0-1.0281-.4602-1.0281-1.028V5.4719c0-.56779.4603-1.02808 1.0281-1.02808Z"
fill={
[
2,
]
{
"type": 2,
}
}
fillRule={0}
propList={
Expand Down Expand Up @@ -132,7 +138,6 @@ exports[`Test Advice Components Advice Snapshot 1`] = `
align="xMidYMid"
bbHeight={20}
bbWidth={20}
color={4278219750}
focusable={false}
height={20}
importantForAccessibility="no-hide-descendants"
Expand All @@ -155,19 +160,26 @@ exports[`Test Advice Components Advice Snapshot 1`] = `
},
]
}
tintColor={4278219750}
tintColor="#0073E6"
vbHeight={24}
vbWidth={24}
width={20}
>
<RNSVGGroup>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGPath
clipRule={0}
d="M0 12C0 5.3726 5.3726 0 12 0s12 5.3726 12 12-5.3726 12-12 12S0 18.6274 0 12Zm2 0C2 6.47717 6.47717 2 12 2c5.5228 0 10 4.47717 10 10 0 5.5228-4.4772 10-10 10-5.52283 0-10-4.4772-10-10Zm10.0281 7.5c.8439 0 1.5281-.6842 1.5281-1.5281s-.6842-1.5281-1.5281-1.5281c-.844 0-1.5281.6842-1.5281 1.5281S11.1841 19.5 12.0281 19.5Zm0-15.05618h.0005c.5678 0 1.0281.46029 1.0281 1.02808v8.0046c0 .5678-.4603 1.028-1.0281 1.028h-.0005c-.5678 0-1.0281-.4602-1.0281-1.028V5.4719c0-.56779.4603-1.02808 1.0281-1.02808Z"
fill={
[
2,
]
{
"type": 2,
}
}
fillRule={0}
propList={
Expand Down
110 changes: 92 additions & 18 deletions src/components/banner/__test__/__snapshots__/banner.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
align="xMidYMid"
bbHeight={80}
bbWidth={80}
color={4278240714}
color="#00C5CA"
focusable={false}
height={80}
meetOrSlice={0}
Expand All @@ -252,15 +252,27 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
},
]
}
tintColor={4278240714}
tintColor="#00C5CA"
vbHeight={240}
vbWidth={240}
width={80}
>
<RNSVGGroup>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGPath
d="M133.46 173.8c-2.88 0-5.61-1.57-7.03-4.28-1.01-1.92-1.2-4.11-.53-6.18.66-2.04 2.07-3.69 3.98-4.64 6.87-3.44 17.93-6.91 24.11-8.73-2.58-2.4-4.34-6.01-4.32-9.54 0-2.68 1.14-9.19 11.43-11.65 16.11-3.86 78.12 18.71 80.75 19.67l-1.37 3.76c-.16-.06-16.14-5.89-33.81-11.18-29.21-8.75-40.4-9.37-44.64-8.36-5.38 1.29-8.35 4.05-8.36 7.77-.01 3.88 3.08 7.55 5.86 8.23.88.22 1.51 1.01 1.52 1.92 0 .91-.6 1.71-1.48 1.95-.18.05-18.53 5.04-27.9 9.73-.94.47-1.64 1.28-1.96 2.29-.33 1.03-.24 2.13.27 3.09.96 1.83 3.13 2.61 5.04 1.82 9.17-3.8 21.12-8.32 26.15-8.25l-.06 4h-.08c-3.38 0-12.29 2.89-24.47 7.94-1.01.42-2.05.62-3.08.62l-.02.02Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -269,7 +281,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M137.37 190.23c-3.78 0-7.45-2.01-9.39-5.54-2.16-3.92-1.62-8.82 1.33-12.19l1.47-1.68 3.01 2.63-1.47 1.68c-1.84 2.11-2.18 5.17-.83 7.63 1.76 3.21 5.81 4.41 9.02 2.67 12.01-6.5 20.08-9.56 23.94-9.11l-.47 3.97c-2.88-.34-10.93 2.9-21.57 8.66-1.6.87-3.33 1.28-5.04 1.28Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -278,7 +295,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M240.29 213.7c-39.81-19.17-81.44-13.87-92.88-10.51-2.82.83-5.84.2-8.1-1.68-2.34-1.95-3.52-5.04-3.07-8.05l.77-5.2 3.96.59-.77 5.2c-.25 1.64.4 3.33 1.67 4.39 1.23 1.03 2.88 1.37 4.41.92 11.83-3.48 54.81-8.97 95.75 10.74l-1.73 3.6h-.01ZM169.508 150.199l-.698 3.939 10.348 1.834.698-3.939-10.348-1.834Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -287,7 +309,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M191.07 170.8c-10.44-5.97-15.77-22.75-15.99-23.46l3.82-1.19c.05.16 5.09 15.99 14.16 21.18l-1.99 3.47ZM163.258 156.644l-3.982.38 2.844 29.854 3.982-.379-2.844-29.855Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -296,7 +323,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M133.75 39.82c-4.15-4.68-9.41-8.27-15.31-10.44-5.9-2.18-12.26-2.88-18.5099-2.03-3.78.51-7.45 1.58-10.89 3.15-4.49 2.05-7.86 5.81-10.65 9.88l-3.1 4.53c-3.74-2.62-7.92-4.57-12.35-5.72-4.86-1.26-9.92-1.56-14.89-.88-4.97.68-9.77 2.33-14.1 4.86-4.33 2.52-8.13 5.87-11.16 9.85-3.04 3.98-5.25 8.52-6.53 13.35-1.28 4.83-1.59 9.87-.91 14.81.68 4.95 2.34 9.71 4.87 14.02 2.53 4.31 5.9 8.08 9.89 11.09L103.6 145.21l26.72-45.64 10.54-20.04c1.85-4.42 3.76-12.92 1.34-23.34-1.41-6.07-4.32-11.7-8.47-16.38l.02.01Z"
fill={4289392367}
fill={
{
"payload": 4289392367,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -305,7 +337,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M25.2295 81.79c-.79 0-1.45-.62-1.5-1.42-1.37-25.26 18.17-33.75 28.7-34.71.83-.08 1.55.53 1.63 1.36.08.83-.53 1.55-1.35 1.63-1.12.11-27.54 2.92-25.98 31.56.04.83-.59 1.53-1.42 1.58h-.08Z"
fill={4278240714}
fill={
{
"payload": 4278240714,
"type": 0,
}
}
propList={
[
"fill",
Expand Down Expand Up @@ -552,7 +589,7 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
align="xMidYMid"
bbHeight={80}
bbWidth={80}
color={4278240714}
color="#00C5CA"
focusable={false}
height={80}
meetOrSlice={0}
Expand All @@ -571,15 +608,27 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
},
]
}
tintColor={4278240714}
tintColor="#00C5CA"
vbHeight={240}
vbWidth={240}
width={80}
>
<RNSVGGroup>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGPath
d="M133.46 173.8c-2.88 0-5.61-1.57-7.03-4.28-1.01-1.92-1.2-4.11-.53-6.18.66-2.04 2.07-3.69 3.98-4.64 6.87-3.44 17.93-6.91 24.11-8.73-2.58-2.4-4.34-6.01-4.32-9.54 0-2.68 1.14-9.19 11.43-11.65 16.11-3.86 78.12 18.71 80.75 19.67l-1.37 3.76c-.16-.06-16.14-5.89-33.81-11.18-29.21-8.75-40.4-9.37-44.64-8.36-5.38 1.29-8.35 4.05-8.36 7.77-.01 3.88 3.08 7.55 5.86 8.23.88.22 1.51 1.01 1.52 1.92 0 .91-.6 1.71-1.48 1.95-.18.05-18.53 5.04-27.9 9.73-.94.47-1.64 1.28-1.96 2.29-.33 1.03-.24 2.13.27 3.09.96 1.83 3.13 2.61 5.04 1.82 9.17-3.8 21.12-8.32 26.15-8.25l-.06 4h-.08c-3.38 0-12.29 2.89-24.47 7.94-1.01.42-2.05.62-3.08.62l-.02.02Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -588,7 +637,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M137.37 190.23c-3.78 0-7.45-2.01-9.39-5.54-2.16-3.92-1.62-8.82 1.33-12.19l1.47-1.68 3.01 2.63-1.47 1.68c-1.84 2.11-2.18 5.17-.83 7.63 1.76 3.21 5.81 4.41 9.02 2.67 12.01-6.5 20.08-9.56 23.94-9.11l-.47 3.97c-2.88-.34-10.93 2.9-21.57 8.66-1.6.87-3.33 1.28-5.04 1.28Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -597,7 +651,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M240.29 213.7c-39.81-19.17-81.44-13.87-92.88-10.51-2.82.83-5.84.2-8.1-1.68-2.34-1.95-3.52-5.04-3.07-8.05l.77-5.2 3.96.59-.77 5.2c-.25 1.64.4 3.33 1.67 4.39 1.23 1.03 2.88 1.37 4.41.92 11.83-3.48 54.81-8.97 95.75 10.74l-1.73 3.6h-.01ZM169.508 150.199l-.698 3.939 10.348 1.834.698-3.939-10.348-1.834Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -606,7 +665,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M191.07 170.8c-10.44-5.97-15.77-22.75-15.99-23.46l3.82-1.19c.05.16 5.09 15.99 14.16 21.18l-1.99 3.47ZM163.258 156.644l-3.982.38 2.844 29.854 3.982-.379-2.844-29.855Z"
fill={4278927075}
fill={
{
"payload": 4278927075,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -615,7 +679,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M133.75 39.82c-4.15-4.68-9.41-8.27-15.31-10.44-5.9-2.18-12.26-2.88-18.5099-2.03-3.78.51-7.45 1.58-10.89 3.15-4.49 2.05-7.86 5.81-10.65 9.88l-3.1 4.53c-3.74-2.62-7.92-4.57-12.35-5.72-4.86-1.26-9.92-1.56-14.89-.88-4.97.68-9.77 2.33-14.1 4.86-4.33 2.52-8.13 5.87-11.16 9.85-3.04 3.98-5.25 8.52-6.53 13.35-1.28 4.83-1.59 9.87-.91 14.81.68 4.95 2.34 9.71 4.87 14.02 2.53 4.31 5.9 8.08 9.89 11.09L103.6 145.21l26.72-45.64 10.54-20.04c1.85-4.42 3.76-12.92 1.34-23.34-1.41-6.07-4.32-11.7-8.47-16.38l.02.01Z"
fill={4289392367}
fill={
{
"payload": 4289392367,
"type": 0,
}
}
propList={
[
"fill",
Expand All @@ -624,7 +693,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
/>
<RNSVGPath
d="M25.2295 81.79c-.79 0-1.45-.62-1.5-1.42-1.37-25.26 18.17-33.75 28.7-34.71.83-.08 1.55.53 1.63 1.36.08.83-.53 1.55-1.35 1.63-1.12.11-27.54 2.92-25.98 31.56.04.83-.59 1.53-1.42 1.58h-.08Z"
fill={4278240714}
fill={
{
"payload": 4278240714,
"type": 0,
}
}
propList={
[
"fill",
Expand Down
Loading
Loading