@preply/ds-rn-lib 0.100.0 → 1.0.0
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 +2 -2
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ import { RootProvider } from '@preply/ds-rn-root';
|
|
|
13
13
|
import { Text } from '@preply/ds-rn-lib';
|
|
14
14
|
|
|
15
15
|
export const App: FC = () => (
|
|
16
|
-
<RootProvider>
|
|
16
|
+
<RootProvider theme="tokyo-ui">
|
|
17
17
|
<Text>Hello!</Text>
|
|
18
18
|
</RootProvider>
|
|
19
19
|
);
|
|
@@ -29,7 +29,7 @@ export const App: FC = () => (
|
|
|
29
29
|
|
|
30
30
|
It should wrap the whole app as in the example above and will use the default theme. You can also override the theme by passing it as prop:
|
|
31
31
|
|
|
32
|
-
`<AppProvider theme="
|
|
32
|
+
`<AppProvider theme="tokyo-ui">`
|
|
33
33
|
|
|
34
34
|
## Contributing
|
|
35
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-rn-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
"dev": "run build:rollup -w"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@preply/ds-core": "0.
|
|
23
|
-
"@preply/ds-rn-core": "0.
|
|
24
|
-
"@preply/ds-rn-root": "0.
|
|
25
|
-
"@preply/ds-visual-coverage-component-names": "0.
|
|
26
|
-
"@preply/ds-visual-coverage-rn": "0.
|
|
22
|
+
"@preply/ds-core": "1.0.0",
|
|
23
|
+
"@preply/ds-rn-core": "1.0.0",
|
|
24
|
+
"@preply/ds-rn-root": "1.0.0",
|
|
25
|
+
"@preply/ds-visual-coverage-component-names": "1.0.0",
|
|
26
|
+
"@preply/ds-visual-coverage-rn": "1.0.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@preply/ds-core": "0.
|
|
29
|
+
"@preply/ds-core": "1.0.0",
|
|
30
30
|
"@preply/ds-core-types": "0.43.2",
|
|
31
|
-
"@preply/ds-rn-core": "0.
|
|
32
|
-
"@preply/ds-rn-root": "0.
|
|
33
|
-
"@preply/ds-visual-coverage-component-names": "0.
|
|
34
|
-
"@preply/ds-visual-coverage-rn": "0.
|
|
31
|
+
"@preply/ds-rn-core": "1.0.0",
|
|
32
|
+
"@preply/ds-rn-root": "1.0.0",
|
|
33
|
+
"@preply/ds-visual-coverage-component-names": "1.0.0",
|
|
34
|
+
"@preply/ds-visual-coverage-rn": "1.0.0",
|
|
35
35
|
"@react-native-masked-view/masked-view": "0.x",
|
|
36
|
-
"expo-image": "^1.
|
|
36
|
+
"expo-image": "^1.13.0",
|
|
37
37
|
"react": "^16 || ^18",
|
|
38
38
|
"react-native": "^0.73.7",
|
|
39
39
|
"react-native-linear-gradient": "2.x"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@testing-library/react-native": "^12.7.2",
|
|
47
47
|
"@types/jest": "^29.5.13",
|
|
48
48
|
"babel-jest": "^29.7.0",
|
|
49
|
-
"expo-image": "^1.
|
|
49
|
+
"expo-image": "^1.13.0",
|
|
50
50
|
"jest": "^29.7.0",
|
|
51
51
|
"jest-environment-jsdom": "^29.7.0",
|
|
52
52
|
"metro-react-native-babel-preset": "^0.59.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"react-test-renderer": "18.3.1",
|
|
57
57
|
"ts-jest": "^29.2.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "7a056c5a84618fb94316a1907002f61a511468e1"
|
|
60
60
|
}
|