Skip to content

Commit 708dd14

Browse files
committed
fix(spinner): 🐛 fix spinner fill background
1 parent 1686467 commit 708dd14

File tree

8 files changed

+451
-271
lines changed

8 files changed

+451
-271
lines changed

eas.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"cli": {
3+
"version": ">= 3.13.1"
4+
},
5+
"build": {
6+
"development": {
7+
"developmentClient": true,
8+
"distribution": "internal"
9+
},
10+
"preview": {
11+
"distribution": "internal"
12+
},
13+
"production": {}
14+
},
15+
"submit": {
16+
"production": {}
17+
}
18+
}

example/app.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"assetBundlePatterns": ["**/*"],
2222
"android": {
2323
"package": "com.timelessco.adaptuireactnative"
24+
},
25+
"extra": {
26+
"eas": {
27+
"projectId": "4b51abdb-b7cf-4ec7-940e-2784588162fa"
28+
}
2429
}
2530
}
2631
}

example/eas.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"distribution": "internal"
99
},
1010
"preview": {
11-
"distribution": "internal"
11+
"developmentClient": true,
12+
"distribution": "internal",
13+
"ios": {
14+
"simulator": true
15+
}
1216
},
1317
"production": {}
1418
},

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@react-navigation/native": "^6.0.16",
1717
"@react-navigation/stack": "^6.3.11",
1818
"expo": "^48.0.0",
19+
"expo-dev-client": "~2.2.1",
1920
"expo-haptics": "~12.2.1",
2021
"expo-screen-orientation": "~5.1.1",
2122
"expo-splash-screen": "~0.18.1",
@@ -28,7 +29,7 @@
2829
"react-native-reanimated": "^3.0.1",
2930
"react-native-safe-area-context": "4.5.0",
3031
"react-native-screens": "~3.20.0",
31-
"react-native-svg": "^13.8.0",
32+
"react-native-svg": "^13.9.0",
3233
"react-native-web": "~0.18.11",
3334
"sharp-cli": "^4.1.0",
3435
"twrnc": "^3.6.0"

example/yarn.lock

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5538,6 +5538,39 @@ expo-constants@~14.2.0, expo-constants@~14.2.1:
55385538
"@expo/config" "~8.0.0"
55395539
uuid "^3.3.2"
55405540

5541+
expo-dev-client@~2.2.1:
5542+
version "2.2.1"
5543+
resolved "https://registry.yarnpkg.com/expo-dev-client/-/expo-dev-client-2.2.1.tgz#3abdb875e9c9ed30e1f6dadc2f80b392d15b1c1e"
5544+
integrity sha512-BDhKyni82LiT6PypgBns1/FLqo3cGDBluaj4/Pojx9P7x9iwOFcesepO8r6BCWb4LuBjdB+z2yQ1fMXxzNC3qQ==
5545+
dependencies:
5546+
expo-dev-launcher "2.2.1"
5547+
expo-dev-menu "2.2.0"
5548+
expo-dev-menu-interface "1.1.1"
5549+
expo-manifests "~0.5.0"
5550+
expo-updates-interface "~0.9.0"
5551+
5552+
5553+
version "2.2.1"
5554+
resolved "https://registry.yarnpkg.com/expo-dev-launcher/-/expo-dev-launcher-2.2.1.tgz#db9eec550487400cdac9c2aeedd3b6791fd49469"
5555+
integrity sha512-TP9SOrNIKF5Whju7uhtBsJeOvf9idUSg7snhHNVRpm2mA5kReckeD3PFv4HsvBHdnrfoslpeq4spOdS6UUx3XA==
5556+
dependencies:
5557+
expo-dev-menu "2.2.0"
5558+
resolve-from "^5.0.0"
5559+
semver "^7.3.5"
5560+
5561+
5562+
version "1.1.1"
5563+
resolved "https://registry.yarnpkg.com/expo-dev-menu-interface/-/expo-dev-menu-interface-1.1.1.tgz#8a0d979f62d9a192696f66a77f75d8fab79e604b"
5564+
integrity sha512-doT+7WrSBnxCcTGZw9QIEZoL+43U4RywbG8XZwbhkcsFWGsh9scp0y/bv3ieFHxRtIdImxbxOoYh7fy1O6g28w==
5565+
5566+
5567+
version "2.2.0"
5568+
resolved "https://registry.yarnpkg.com/expo-dev-menu/-/expo-dev-menu-2.2.0.tgz#849ec3601f1dc228ad2858e4a25614a72932a61c"
5569+
integrity sha512-ImRUD7IVyLme7t3S+pNsOOgCBorkriVNo+ryEmkAjzRTKlpiklhoc1GEdQUU3qvO6e66gUguMbs4wnaP6o4NEw==
5570+
dependencies:
5571+
expo-dev-menu-interface "1.1.1"
5572+
semver "^7.3.5"
5573+
55415574
expo-file-system@~15.2.0, expo-file-system@~15.2.2:
55425575
version "15.2.2"
55435576
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-15.2.2.tgz#a1ddf8aabf794f93888a146c4f5187e2004683a3"
@@ -5557,11 +5590,23 @@ expo-haptics@~12.2.1:
55575590
resolved "https://registry.yarnpkg.com/expo-haptics/-/expo-haptics-12.2.1.tgz#9705c245663fcf317ca19adc2e8bbcb5270562e7"
55585591
integrity sha512-XRZtmIQi901Q4+/cZnVrULRFOqShsgCuSP0SCbVEhnq8sK0OA4jgun12O93Pu5aGvTyoqsAcIArE8tX+8AEqRA==
55595592

5593+
expo-json-utils@~0.5.0:
5594+
version "0.5.1"
5595+
resolved "https://registry.yarnpkg.com/expo-json-utils/-/expo-json-utils-0.5.1.tgz#fcb01050b8aa66592eea2024a48979f2d090c6f9"
5596+
integrity sha512-Y5boshyf40vPjwxNnOIfacZPNkOymecZRQ1k+TSXlq6gnw5XRsnM5hnP0VLVYhdv8x+9CX6E1fDsDUNvsK38Dg==
5597+
55605598
expo-keep-awake@~12.0.1:
55615599
version "12.0.1"
55625600
resolved "https://registry.yarnpkg.com/expo-keep-awake/-/expo-keep-awake-12.0.1.tgz#19c5ab55391394ded3f6c262b0707c7140658a11"
55635601
integrity sha512-hqeCnb4033TyuZaXs93zTK7rjVJ3bywXATyMmKmKkLEsH2PKBAl/VmjlCOPQL/2Ncqz6aj7Wo//tjeJTARBD4g==
55645602

5603+
expo-manifests@~0.5.0:
5604+
version "0.5.2"
5605+
resolved "https://registry.yarnpkg.com/expo-manifests/-/expo-manifests-0.5.2.tgz#60f91ad196cd5a37248c28c6f307df806c5a27ad"
5606+
integrity sha512-WnsTlE2le3pV/B/AJPKTOSjb2K9AT1mPDCfQxTQ/KMCwF95saoXYt2OPF3hxZNaMAV6VIAhXgd5Y6wpcH9ruPQ==
5607+
dependencies:
5608+
expo-json-utils "~0.5.0"
5609+
55655610
55665611
version "0.8.1"
55675612
resolved "https://registry.yarnpkg.com/expo-modules-autolinking/-/expo-modules-autolinking-0.8.1.tgz#533c38192847d2272e9af986f8f4c58aae6dfff3"
@@ -5621,6 +5666,11 @@ expo-status-bar@~1.4.4:
56215666
resolved "https://registry.yarnpkg.com/expo-status-bar/-/expo-status-bar-1.4.4.tgz#6874ccfda5a270d66f123a9f220735a76692d114"
56225667
integrity sha512-5DV0hIEWgatSC3UgQuAZBoQeaS9CqeWRZ3vzBR9R/+IUD87Adbi4FGhU10nymRqFXOizGsureButGZIXPs7zEA==
56235668

5669+
expo-updates-interface@~0.9.0:
5670+
version "0.9.1"
5671+
resolved "https://registry.yarnpkg.com/expo-updates-interface/-/expo-updates-interface-0.9.1.tgz#e81308d551ed5a4c35c8770ac61434f6ca749610"
5672+
integrity sha512-wk88LLhseQ7LJvxdN7BTKiryyqALxnrvr+lyHK3/prg76Yy0EGi2Q/oE/rtFyyZ1JmQDRbO/5pdX0EE6QqVQXQ==
5673+
56245674
expo@^48.0.0:
56255675
version "48.0.5"
56265676
resolved "https://registry.yarnpkg.com/expo/-/expo-48.0.5.tgz#350a12458cc38b9a37d24940f0b1833c12cb35e7"
@@ -10370,10 +10420,10 @@ react-native-screens@~3.20.0:
1037010420
react-freeze "^1.0.0"
1037110421
warn-once "^0.1.0"
1037210422

10373-
react-native-svg@^13.8.0:
10374-
version "13.8.0"
10375-
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-13.8.0.tgz#b6a22cf77f8098f910490a13aeb160a37e182f97"
10376-
integrity sha512-G8Mx6W86da+vFimZBJvA93POw8yz0fgDS5biy6oIjMWVJVQSDzCyzwO/zY0yuZmCDhKSZzogl5m0wXXvW2OcTA==
10423+
react-native-svg@^13.9.0:
10424+
version "13.9.0"
10425+
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-13.9.0.tgz#8df8a690dd00362601f074dec5d3a86dd0f99c7f"
10426+
integrity sha512-Ey18POH0dA0ob/QiwCBVrxIiwflhYuw0P0hBlOHeY4J5cdbs8ngdKHeWC/Kt9+ryP6fNoEQ1PUgPYw2Bs/rp5Q==
1037710427
dependencies:
1037810428
css-select "^5.1.0"
1037910429
css-tree "^1.1.3"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
"react-native-builder-bob": "0.18.3",
119119
"react-native-gesture-handler": "^2.9.0",
120120
"react-native-reanimated": "^3.0.1",
121-
"react-native-svg": "13.4.0",
122-
"release-it": "15.1.4",
121+
"react-native-svg": "13.9.0",
122+
"release-it": "15.10.3",
123123
"sort-package-json": "2.0.0",
124124
"typescript": "4.8.4"
125125
},

src/components/spinner/Spinner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const RNSpinner: React.FC<Partial<SpinnerProps>> = forwardRef<
155155
) as ColorValue
156156
}
157157
strokeWidth={10}
158-
fill="transparent"
158+
fill={"transparent"}
159159
r={radius}
160160
cx={50}
161161
cy={50}
@@ -164,6 +164,7 @@ const RNSpinner: React.FC<Partial<SpinnerProps>> = forwardRef<
164164
stroke="url(#gradient)"
165165
strokeWidth={10}
166166
r={radius}
167+
fill={"transparent"}
167168
cx={50}
168169
cy={50}
169170
strokeLinecap="round"

0 commit comments

Comments
 (0)