Skip to content

Commit f96c651

Browse files
Merge branch 'documentation' into 'main'
Documentation See merge request react-native/react-native-material-components!29
2 parents be927db + 0a3abbd commit f96c651

File tree

5 files changed

+43
-6
lines changed

5 files changed

+43
-6
lines changed

.npmignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Ignore example and documentation files
2+
example/
3+
documentation/
4+
5+
# Ignore development-related files and configurations
6+
.github/
7+
.yarn/
8+
scripts/
9+
10+
# Ignore source files if lib/ contains the built files
11+
src/
12+
13+
# node.js
14+
#
15+
node_modules/
16+
17+
# Ignore configuration and temporary files
18+
.editorconfig
19+
.gitattributes
20+
.gitignore
21+
.nvmrc
22+
.watchmanconfig
23+
babel.config.js
24+
turbo.json
25+
lefthook.yml
26+
yarn.lock
27+
tsconfig.json
28+
tsconfig.build.json
29+
.DS_Store

documentation/docs/getting_started.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,15 @@ cd ios && pod install && cd ..
9898
9999
```
100100

101-
6. **Rebuild the Project**
101+
6. **Restart Metro and reset cache**
102+
103+
Run this command to restart Metro and clean cache:
104+
105+
```
106+
yarn start --resetCache
107+
```
108+
109+
7. **Rebuild the Project**
102110

103111
After completing the setup, rebuild your project to ensure all changes and dependencies are applied correctly:
104112

@@ -108,6 +116,6 @@ Run ```yarn android``` or open the project in Android Studio and build it.
108116
- For iOS:
109117
Run ```yarn ios``` or open the .xcworkspace file in Xcode and build the project.
110118

111-
7. **Learn more about Font installation [here](/styles/typography)**
119+
8. **Learn more about Font installation [here](/styles/typography)**
112120

113121

documentation/docs/styles/typography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Create a ```react-native.config.js``` file at the root of your project and inclu
1818

1919
```
2020
module.exports = {
21-
assets: ['node_modules/react-native-material-components/ios/fonts'],
21+
assets: ['node_modules/@computools/react-native-material-components/ios/assets/fonts'],
2222
};
2323
2424
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@computools/react-native-material-components",
3-
"version": "0.0.1",
3+
"version": "0.0.4",
44
"description": "Computools react native material components package",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -52,7 +52,7 @@
5252
"bugs": {
5353
"url": "https://newgit.computools.org/react-native/react-native-material-components/issues"
5454
},
55-
"homepage": "https://newgit.computools.org/react-native/react-native-material-components#readme",
55+
"homepage": "https://react-native-material-components.vercel.app/",
5656
"publishConfig": {
5757
"registry": "https://registry.npmjs.org/",
5858
"access": "public"

src/components/text-inputs/get-text-input-active-colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {type ColorValue} from 'react-native';
22

3-
import {type Theme} from '../theme/theme.types';
3+
import {type Theme} from '../../theme/theme.types';
44
import {TextInputColors} from './text-input.types';
55

66
export const getTextInputActiveColors = (theme: Theme, primaryColorBasedOnError: ColorValue, surfaceVariantColorBasedOnError: ColorValue) => ({

0 commit comments

Comments
 (0)