@rootnative/core 0.0.0-alpha.8 → 0.0.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/LICENSE +1 -1
- package/README.md +116 -45
- package/dist/chunk-OK7DBCK4.mjs +12 -0
- package/dist/{chunk-QQ3ME6R7.mjs → chunk-Y5CU4C2C.mjs} +29 -7
- package/dist/chunk-Y6FXYEAI.mjs +10 -0
- package/dist/create-theme/index.d.mts +1 -1
- package/dist/create-theme/index.mjs +5152 -19
- package/dist/index.d.mts +276 -20
- package/dist/index.mjs +214 -13
- package/dist/static-export/index.d.mts +119 -0
- package/dist/static-export/index.mjs +55 -0
- package/dist/{types-NiRbh4dM.d.mts → types-DbJZ6AOd.d.mts} +43 -9
- package/llms.txt +216 -26
- package/package.json +21 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rootnative/core",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Design-system agnostic theme engine for
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Design-system agnostic theme engine for Root Native UI — a React Native component library. Ships with Material Design 3 out of the box.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "dist/index.mjs",
|
|
@@ -22,12 +22,21 @@
|
|
|
22
22
|
"react-native": "./dist/create-theme/index.mjs",
|
|
23
23
|
"import": "./dist/create-theme/index.mjs",
|
|
24
24
|
"default": "./dist/create-theme/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./static-export": {
|
|
27
|
+
"types": "./dist/static-export/index.d.mts",
|
|
28
|
+
"react-native": "./dist/static-export/index.mjs",
|
|
29
|
+
"import": "./dist/static-export/index.mjs",
|
|
30
|
+
"default": "./dist/static-export/index.mjs"
|
|
25
31
|
}
|
|
26
32
|
},
|
|
27
33
|
"typesVersions": {
|
|
28
34
|
"*": {
|
|
29
35
|
"create-theme": [
|
|
30
36
|
"dist/create-theme/index.d.mts"
|
|
37
|
+
],
|
|
38
|
+
"static-export": [
|
|
39
|
+
"dist/static-export/index.d.mts"
|
|
31
40
|
]
|
|
32
41
|
}
|
|
33
42
|
},
|
|
@@ -53,32 +62,27 @@
|
|
|
53
62
|
"md3"
|
|
54
63
|
],
|
|
55
64
|
"peerDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"react": ">=
|
|
59
|
-
"react-native": ">=0.72.0"
|
|
60
|
-
},
|
|
61
|
-
"peerDependenciesMeta": {
|
|
62
|
-
"@material/material-color-utilities": {
|
|
63
|
-
"optional": true
|
|
64
|
-
}
|
|
65
|
+
"@rootnative/inertia": ">=0.0.26 <0.1.0",
|
|
66
|
+
"react": ">=19.3.0 <20.0.0",
|
|
67
|
+
"react-native": ">=0.88.0 <0.89.0"
|
|
65
68
|
},
|
|
66
69
|
"devDependencies": {
|
|
67
70
|
"@material/material-color-utilities": "^0.4.0",
|
|
68
|
-
"@react-native/babel-preset": "^0.
|
|
69
|
-
"@
|
|
71
|
+
"@react-native/babel-preset": "^0.88.0",
|
|
72
|
+
"@react-native/jest-preset": "^0.88.0",
|
|
73
|
+
"@rootnative/inertia": "0.0.26",
|
|
70
74
|
"@testing-library/react-native": "^13.3.3",
|
|
71
75
|
"@types/jest": "^29.5.14",
|
|
72
76
|
"@types/react": "^19.0.0",
|
|
73
77
|
"jest": "^29.7.0",
|
|
74
|
-
"react": "19.
|
|
75
|
-
"react-native": "0.
|
|
76
|
-
"react-test-renderer": "19.
|
|
78
|
+
"react": "19.3.0",
|
|
79
|
+
"react-native": "0.88.1",
|
|
80
|
+
"react-test-renderer": "19.3.0",
|
|
77
81
|
"tsup": "^8.0.0",
|
|
78
82
|
"typescript": "^5.0.0"
|
|
79
83
|
},
|
|
80
84
|
"scripts": {
|
|
81
|
-
"build": "tsup
|
|
85
|
+
"build": "tsup",
|
|
82
86
|
"typecheck": "tsc --noEmit",
|
|
83
87
|
"test": "jest",
|
|
84
88
|
"lint": "eslint . --max-warnings 0"
|