@brightlayer-ui/react-native-themes 8.0.0-alpha.0 → 8.0.0-alpha.1
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/README.md +9 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,8 +7,8 @@ This package provides [theming](https://brightlayer-ui.github.io/style/themes) s
|
|
|
7
7
|
|
|
8
8
|
For other frameworks, check out our related packages:
|
|
9
9
|
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- [@brightlayer-ui/angular-themes](https://www.npmjs.com/package/@brightlayer-ui/angular-themes)
|
|
11
|
+
- [@brightlayer-ui/react-themes](https://www.npmjs.com/package/@brightlayer-ui/react-themes)
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
@@ -24,9 +24,15 @@ or yarn
|
|
|
24
24
|
yarn add @brightlayer-ui/react-native-themes
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
or expo
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
yarn expo install @brightlayer-ui/react-native-themes
|
|
31
|
+
```
|
|
32
|
+
|
|
27
33
|
# Usage
|
|
28
34
|
|
|
29
|
-
> **NOTE:** Using the Brightlayer UI React Native theme requires that you add the Open Sans font to your application. You can learn how to do this by reading the instructions for [Vanilla React Native](https://medium.com/react-native-training/react-native-custom-fonts-ccc9aacf9e5e) or [Expo](https://docs.expo.
|
|
35
|
+
> **NOTE:** Using the Brightlayer UI React Native theme requires that you add the Open Sans font to your application. You can learn how to do this by reading the instructions for [Vanilla React Native](https://medium.com/react-native-training/react-native-custom-fonts-ccc9aacf9e5e) or [Expo](https://docs.expo.dev/develop/user-interface/fonts/#add-a-custom-font). This will be added automatically if you start your project with the [@brightlayer-ui/cli](https://www.npmjs.com/package/@brightlayer-ui/cli).
|
|
30
36
|
|
|
31
37
|
> When using Expo, you will need to specify the name for each font weight you load using the format `OpenSans-<Weight>`, e.g., OpenSans-SemiBold. Refer to one of our React Native demos for reference.
|
|
32
38
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@brightlayer-ui/react-native-themes",
|
|
3
3
|
"author": "Brightlayer UI <brightlayer-ui@eaton.com>",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
|
-
"version": "8.0.0-alpha.
|
|
5
|
+
"version": "8.0.0-alpha.1",
|
|
6
6
|
"description": "React Native themes for Brightlayer UI applications",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"type": "module",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"npm-license-crawler": "^0.2.1",
|
|
54
54
|
"prettier": "^3.5.3",
|
|
55
55
|
"react": "^19.1.0",
|
|
56
|
-
"react-native": "0.
|
|
56
|
+
"react-native": "~0.80.0",
|
|
57
57
|
"react-native-paper": "^5.14.5",
|
|
58
58
|
"tsc-esm-fix": "^3.1.2",
|
|
59
59
|
"typescript": "^5.8.3"
|