Skip to content

Commit 21421ec

Browse files
committed
feat: refactor structure
1 parent 3cf4ed9 commit 21421ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+880
-270
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

android/link-assets-manifest.json

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"migIndex": 1,
3+
"data": [
4+
{
5+
"path": "packages/assets/fonts/RobotoMono-Bold.ttf",
6+
"sha1": "9155bb87dab4ebc84ad4dffd69051e3dd33b73c0"
7+
},
8+
{
9+
"path": "packages/assets/fonts/RobotoMono-BoldItalic.ttf",
10+
"sha1": "b572cda5b6c5edfec4fe32b7032028309a6034ac"
11+
},
12+
{
13+
"path": "packages/assets/fonts/RobotoMono-ExtraLight.ttf",
14+
"sha1": "92b1993f59c04e0cd4dd08ef4ab1d3d043fb8f99"
15+
},
16+
{
17+
"path": "packages/assets/fonts/RobotoMono-ExtraLightItalic.ttf",
18+
"sha1": "f0f490280137e956c454a252a6063ea3ee0b2152"
19+
},
20+
{
21+
"path": "packages/assets/fonts/RobotoMono-Italic.ttf",
22+
"sha1": "5035e475365dca8693be01f149b30466d0f701d1"
23+
},
24+
{
25+
"path": "packages/assets/fonts/RobotoMono-Light.ttf",
26+
"sha1": "3622747c6fd05b5ea95ef8d5e0e45ba217b59631"
27+
},
28+
{
29+
"path": "packages/assets/fonts/RobotoMono-LightItalic.ttf",
30+
"sha1": "7c6e6cb00ed0f8b798174460a660375e31258015"
31+
},
32+
{
33+
"path": "packages/assets/fonts/RobotoMono-Medium.ttf",
34+
"sha1": "c86b835df1f911c6fa48b0e28f9f3fe80b981f13"
35+
},
36+
{
37+
"path": "packages/assets/fonts/RobotoMono-MediumItalic.ttf",
38+
"sha1": "fd2cdb0e3cc2c8a1699ea20e8a339ab0af9b0f93"
39+
},
40+
{
41+
"path": "packages/assets/fonts/RobotoMono-Regular.ttf",
42+
"sha1": "c25a072c96240ab8fc288b61edf2bb133aaa975d"
43+
},
44+
{
45+
"path": "packages/assets/fonts/RobotoMono-SemiBold.ttf",
46+
"sha1": "3e27af4808640005903a8791831e78ef177189a2"
47+
},
48+
{
49+
"path": "packages/assets/fonts/RobotoMono-SemiBoldItalic.ttf",
50+
"sha1": "5df87bc238eb5b6f53d44c163254973b89aafd1c"
51+
},
52+
{
53+
"path": "packages/assets/fonts/RobotoMono-Thin.ttf",
54+
"sha1": "df9f591faa67afd4991c4129dc6509fa117eaec2"
55+
},
56+
{
57+
"path": "packages/assets/fonts/RobotoMono-ThinItalic.ttf",
58+
"sha1": "cd84d7a1d104ae14b751236c42e41ff452e99910"
59+
}
60+
]
61+
}

index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
* @format
33
*/
44

5-
import { AppRegistry } from 'react-native';
5+
import { AppRegistry, Text } from 'react-native';
66
import EntryPoint from './EntryPoint';
77
import { name as appName } from './app.json';
88
import 'react-native-gesture-handler';
99

10+
Text.defaultProps = Text.defaultProps || {};
11+
Text.defaultProps.allowFontScaling = false;
12+
1013
AppRegistry.registerComponent(appName, () => EntryPoint);

ios/RNB.xcodeproj/project.pbxproj

+65
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1515
7699B88040F8A987B510C191 /* libPods-RNB-RNBTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-RNB-RNBTests.a */; };
1616
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
17+
CAD49633144648B89E345007 /* RobotoMono-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7245C6A242BB4B43A261364A /* RobotoMono-Bold.ttf */; };
18+
5A9206A65BCC417981205BA0 /* RobotoMono-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5B31589570E445BF9E7FED1E /* RobotoMono-BoldItalic.ttf */; };
19+
8990981D1B4E4043813FBDDE /* RobotoMono-ExtraLight.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C987D5056256463EA37AA1A5 /* RobotoMono-ExtraLight.ttf */; };
20+
D7E9B0F5F7EA4A058BAB8294 /* RobotoMono-ExtraLightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A3FA417805F84A24925E5008 /* RobotoMono-ExtraLightItalic.ttf */; };
21+
AAC9C9481C124C558070D039 /* RobotoMono-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DEB70214A47D460EB3362400 /* RobotoMono-Italic.ttf */; };
22+
CD2C104B76464460BC5976ED /* RobotoMono-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1084B5792C6B48178FA8395D /* RobotoMono-Light.ttf */; };
23+
031B3272EE4842EDB2E57D6A /* RobotoMono-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FEC5D155517347C08940D0A9 /* RobotoMono-LightItalic.ttf */; };
24+
A42FC1EB7A404E6F80D99D29 /* RobotoMono-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 893285313D3B4F209E19560B /* RobotoMono-Medium.ttf */; };
25+
8454A54F5897418B92C1E0C5 /* RobotoMono-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F67C9E08DFD14781B01237D6 /* RobotoMono-MediumItalic.ttf */; };
26+
05A3212CE36246E59A17C5A9 /* RobotoMono-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 39CF9200A55540B986CE649A /* RobotoMono-Regular.ttf */; };
27+
FDAA45AF6AFE421192853126 /* RobotoMono-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E0B29A8125954EA08BA0E0E0 /* RobotoMono-SemiBold.ttf */; };
28+
CFD08BD6FA42431B9FE3FAE7 /* RobotoMono-SemiBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 09C8673AB1D646C29C69442A /* RobotoMono-SemiBoldItalic.ttf */; };
29+
53B5D13D854446E79BAAE3ED /* RobotoMono-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BB9DB710DEC846F5BBF6E6EE /* RobotoMono-Thin.ttf */; };
30+
5DC05C3E0EA0494AB5253A42 /* RobotoMono-ThinItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6333F1CE1FDB4440AD67BA38 /* RobotoMono-ThinItalic.ttf */; };
1731
/* End PBXBuildFile section */
1832

1933
/* Begin PBXContainerItemProxy section */
@@ -44,6 +58,20 @@
4458
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNB/LaunchScreen.storyboard; sourceTree = "<group>"; };
4559
89C6BE57DB24E9ADA2F236DE /* Pods-RNB-RNBTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNB-RNBTests.release.xcconfig"; path = "Target Support Files/Pods-RNB-RNBTests/Pods-RNB-RNBTests.release.xcconfig"; sourceTree = "<group>"; };
4660
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
61+
7245C6A242BB4B43A261364A /* RobotoMono-Bold.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Bold.ttf"; path = "../packages/assets/fonts/RobotoMono-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
62+
5B31589570E445BF9E7FED1E /* RobotoMono-BoldItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-BoldItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-BoldItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
63+
C987D5056256463EA37AA1A5 /* RobotoMono-ExtraLight.ttf */ = {isa = PBXFileReference; name = "RobotoMono-ExtraLight.ttf"; path = "../packages/assets/fonts/RobotoMono-ExtraLight.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
64+
A3FA417805F84A24925E5008 /* RobotoMono-ExtraLightItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-ExtraLightItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-ExtraLightItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
65+
DEB70214A47D460EB3362400 /* RobotoMono-Italic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Italic.ttf"; path = "../packages/assets/fonts/RobotoMono-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
66+
1084B5792C6B48178FA8395D /* RobotoMono-Light.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Light.ttf"; path = "../packages/assets/fonts/RobotoMono-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
67+
FEC5D155517347C08940D0A9 /* RobotoMono-LightItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-LightItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-LightItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
68+
893285313D3B4F209E19560B /* RobotoMono-Medium.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Medium.ttf"; path = "../packages/assets/fonts/RobotoMono-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
69+
F67C9E08DFD14781B01237D6 /* RobotoMono-MediumItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-MediumItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-MediumItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
70+
39CF9200A55540B986CE649A /* RobotoMono-Regular.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Regular.ttf"; path = "../packages/assets/fonts/RobotoMono-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
71+
E0B29A8125954EA08BA0E0E0 /* RobotoMono-SemiBold.ttf */ = {isa = PBXFileReference; name = "RobotoMono-SemiBold.ttf"; path = "../packages/assets/fonts/RobotoMono-SemiBold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
72+
09C8673AB1D646C29C69442A /* RobotoMono-SemiBoldItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-SemiBoldItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-SemiBoldItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
73+
BB9DB710DEC846F5BBF6E6EE /* RobotoMono-Thin.ttf */ = {isa = PBXFileReference; name = "RobotoMono-Thin.ttf"; path = "../packages/assets/fonts/RobotoMono-Thin.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
74+
6333F1CE1FDB4440AD67BA38 /* RobotoMono-ThinItalic.ttf */ = {isa = PBXFileReference; name = "RobotoMono-ThinItalic.ttf"; path = "../packages/assets/fonts/RobotoMono-ThinItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4775
/* End PBXFileReference section */
4876

4977
/* Begin PBXFrameworksBuildPhase section */
@@ -122,6 +150,7 @@
122150
83CBBA001A601CBA00E9B192 /* Products */,
123151
2D16E6871FA4F8E400B85C8A /* Frameworks */,
124152
BBD78D7AC51CEA395F1C20DB /* Pods */,
153+
56FEB281D5614C499FDC137D /* Resources */,
125154
);
126155
indentWidth = 2;
127156
sourceTree = "<group>";
@@ -148,6 +177,28 @@
148177
path = Pods;
149178
sourceTree = "<group>";
150179
};
180+
56FEB281D5614C499FDC137D /* Resources */ = {
181+
isa = "PBXGroup";
182+
children = (
183+
7245C6A242BB4B43A261364A /* RobotoMono-Bold.ttf */,
184+
5B31589570E445BF9E7FED1E /* RobotoMono-BoldItalic.ttf */,
185+
C987D5056256463EA37AA1A5 /* RobotoMono-ExtraLight.ttf */,
186+
A3FA417805F84A24925E5008 /* RobotoMono-ExtraLightItalic.ttf */,
187+
DEB70214A47D460EB3362400 /* RobotoMono-Italic.ttf */,
188+
1084B5792C6B48178FA8395D /* RobotoMono-Light.ttf */,
189+
FEC5D155517347C08940D0A9 /* RobotoMono-LightItalic.ttf */,
190+
893285313D3B4F209E19560B /* RobotoMono-Medium.ttf */,
191+
F67C9E08DFD14781B01237D6 /* RobotoMono-MediumItalic.ttf */,
192+
39CF9200A55540B986CE649A /* RobotoMono-Regular.ttf */,
193+
E0B29A8125954EA08BA0E0E0 /* RobotoMono-SemiBold.ttf */,
194+
09C8673AB1D646C29C69442A /* RobotoMono-SemiBoldItalic.ttf */,
195+
BB9DB710DEC846F5BBF6E6EE /* RobotoMono-Thin.ttf */,
196+
6333F1CE1FDB4440AD67BA38 /* RobotoMono-ThinItalic.ttf */,
197+
);
198+
name = Resources;
199+
sourceTree = "<group>";
200+
path = "";
201+
};
151202
/* End PBXGroup section */
152203

153204
/* Begin PBXNativeTarget section */
@@ -244,6 +295,20 @@
244295
files = (
245296
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
246297
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
298+
CAD49633144648B89E345007 /* RobotoMono-Bold.ttf in Resources */,
299+
5A9206A65BCC417981205BA0 /* RobotoMono-BoldItalic.ttf in Resources */,
300+
8990981D1B4E4043813FBDDE /* RobotoMono-ExtraLight.ttf in Resources */,
301+
D7E9B0F5F7EA4A058BAB8294 /* RobotoMono-ExtraLightItalic.ttf in Resources */,
302+
AAC9C9481C124C558070D039 /* RobotoMono-Italic.ttf in Resources */,
303+
CD2C104B76464460BC5976ED /* RobotoMono-Light.ttf in Resources */,
304+
031B3272EE4842EDB2E57D6A /* RobotoMono-LightItalic.ttf in Resources */,
305+
A42FC1EB7A404E6F80D99D29 /* RobotoMono-Medium.ttf in Resources */,
306+
8454A54F5897418B92C1E0C5 /* RobotoMono-MediumItalic.ttf in Resources */,
307+
05A3212CE36246E59A17C5A9 /* RobotoMono-Regular.ttf in Resources */,
308+
FDAA45AF6AFE421192853126 /* RobotoMono-SemiBold.ttf in Resources */,
309+
CFD08BD6FA42431B9FE3FAE7 /* RobotoMono-SemiBoldItalic.ttf in Resources */,
310+
53B5D13D854446E79BAAE3ED /* RobotoMono-Thin.ttf in Resources */,
311+
5DC05C3E0EA0494AB5253A42 /* RobotoMono-ThinItalic.ttf in Resources */,
247312
);
248313
runOnlyForDeploymentPostprocessing = 0;
249314
};

ios/RNB/Info.plist

+18-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</dict>
3737
</dict>
3838
<key>NSLocationWhenInUseUsageDescription</key>
39-
<string></string>
39+
<string/>
4040
<key>UILaunchStoryboardName</key>
4141
<string>LaunchScreen</string>
4242
<key>UIRequiredDeviceCapabilities</key>
@@ -51,5 +51,22 @@
5151
</array>
5252
<key>UIViewControllerBasedStatusBarAppearance</key>
5353
<false/>
54+
<key>UIAppFonts</key>
55+
<array>
56+
<string>RobotoMono-Bold.ttf</string>
57+
<string>RobotoMono-BoldItalic.ttf</string>
58+
<string>RobotoMono-ExtraLight.ttf</string>
59+
<string>RobotoMono-ExtraLightItalic.ttf</string>
60+
<string>RobotoMono-Italic.ttf</string>
61+
<string>RobotoMono-Light.ttf</string>
62+
<string>RobotoMono-LightItalic.ttf</string>
63+
<string>RobotoMono-Medium.ttf</string>
64+
<string>RobotoMono-MediumItalic.ttf</string>
65+
<string>RobotoMono-Regular.ttf</string>
66+
<string>RobotoMono-SemiBold.ttf</string>
67+
<string>RobotoMono-SemiBoldItalic.ttf</string>
68+
<string>RobotoMono-Thin.ttf</string>
69+
<string>RobotoMono-ThinItalic.ttf</string>
70+
</array>
5471
</dict>
5572
</plist>

ios/link-assets-manifest.json

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"migIndex": 1,
3+
"data": [
4+
{
5+
"path": "packages/assets/fonts/RobotoMono-Bold.ttf",
6+
"sha1": "9155bb87dab4ebc84ad4dffd69051e3dd33b73c0"
7+
},
8+
{
9+
"path": "packages/assets/fonts/RobotoMono-BoldItalic.ttf",
10+
"sha1": "b572cda5b6c5edfec4fe32b7032028309a6034ac"
11+
},
12+
{
13+
"path": "packages/assets/fonts/RobotoMono-ExtraLight.ttf",
14+
"sha1": "92b1993f59c04e0cd4dd08ef4ab1d3d043fb8f99"
15+
},
16+
{
17+
"path": "packages/assets/fonts/RobotoMono-ExtraLightItalic.ttf",
18+
"sha1": "f0f490280137e956c454a252a6063ea3ee0b2152"
19+
},
20+
{
21+
"path": "packages/assets/fonts/RobotoMono-Italic.ttf",
22+
"sha1": "5035e475365dca8693be01f149b30466d0f701d1"
23+
},
24+
{
25+
"path": "packages/assets/fonts/RobotoMono-Light.ttf",
26+
"sha1": "3622747c6fd05b5ea95ef8d5e0e45ba217b59631"
27+
},
28+
{
29+
"path": "packages/assets/fonts/RobotoMono-LightItalic.ttf",
30+
"sha1": "7c6e6cb00ed0f8b798174460a660375e31258015"
31+
},
32+
{
33+
"path": "packages/assets/fonts/RobotoMono-Medium.ttf",
34+
"sha1": "c86b835df1f911c6fa48b0e28f9f3fe80b981f13"
35+
},
36+
{
37+
"path": "packages/assets/fonts/RobotoMono-MediumItalic.ttf",
38+
"sha1": "fd2cdb0e3cc2c8a1699ea20e8a339ab0af9b0f93"
39+
},
40+
{
41+
"path": "packages/assets/fonts/RobotoMono-Regular.ttf",
42+
"sha1": "c25a072c96240ab8fc288b61edf2bb133aaa975d"
43+
},
44+
{
45+
"path": "packages/assets/fonts/RobotoMono-SemiBold.ttf",
46+
"sha1": "3e27af4808640005903a8791831e78ef177189a2"
47+
},
48+
{
49+
"path": "packages/assets/fonts/RobotoMono-SemiBoldItalic.ttf",
50+
"sha1": "5df87bc238eb5b6f53d44c163254973b89aafd1c"
51+
},
52+
{
53+
"path": "packages/assets/fonts/RobotoMono-Thin.ttf",
54+
"sha1": "df9f591faa67afd4991c4129dc6509fa117eaec2"
55+
},
56+
{
57+
"path": "packages/assets/fonts/RobotoMono-ThinItalic.ttf",
58+
"sha1": "cd84d7a1d104ae14b751236c42e41ff452e99910"
59+
}
60+
]
61+
}
85.3 KB
Binary file not shown.
92.4 KB
Binary file not shown.
86.2 KB
Binary file not shown.
Binary file not shown.
92.2 KB
Binary file not shown.
85.9 KB
Binary file not shown.
Binary file not shown.
85.1 KB
Binary file not shown.
Binary file not shown.
85.2 KB
Binary file not shown.
85.4 KB
Binary file not shown.
Binary file not shown.
86.2 KB
Binary file not shown.
91.4 KB
Binary file not shown.

packages/components/core/avatar/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export const Avatar = memo(
6262
bg="transparent"
6363
overflow="hidden"
6464
rounded={square ? 'sm' : 'full'}
65-
isPressedStyle={false}
6665
{...variantStyles}
6766
{...other}
6867
>

0 commit comments

Comments
 (0)