@kbach/react 0.6.50 → 1.0.0-beta.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 +90 -390
- package/dist/chunk-AFY36PRX.mjs +414 -0
- package/dist/chunk-G3RJJNSY.mjs +100 -0
- package/dist/chunk-VBPQAIZL.mjs +32 -0
- package/dist/index.d.mts +117 -0
- package/dist/index.d.ts +84 -295
- package/dist/index.js +618 -1101
- package/dist/index.mjs +143 -550
- package/dist/jsx-dev-runtime.d.mts +22 -0
- package/dist/jsx-dev-runtime.d.ts +6 -5
- package/dist/jsx-dev-runtime.js +453 -695
- package/dist/jsx-dev-runtime.mjs +3 -3
- package/dist/jsx-runtime.d.mts +22 -0
- package/dist/jsx-runtime.d.ts +11 -6
- package/dist/jsx-runtime.js +455 -706
- package/dist/jsx-runtime.mjs +4 -9
- package/dist/theme-BKAb78KP.d.mts +20 -0
- package/dist/theme-BKAb78KP.d.ts +20 -0
- package/dist/vite-plugin.d.mts +20 -147
- package/dist/vite-plugin.d.ts +20 -147
- package/dist/vite-plugin.js +1380 -3722
- package/dist/vite-plugin.mjs +994 -3713
- package/package.json +20 -46
- package/KBACH.md +0 -1044
- package/dist/chunk-KRRGLJLA.mjs +0 -4187
- package/dist/chunk-LIUJPOTS.mjs +0 -208
- package/dist/core/index.d.ts +0 -1346
- package/dist/core/index.js +0 -3712
- package/dist/native.d.ts +0 -314
- package/dist/native.js +0 -99
- package/dist/web-substitute-CfpYFnE7.d.ts +0 -22
- package/jsx-dev-runtime.js +0 -3
- package/jsx-runtime.js +0 -3
- package/kbach-react.md +0 -889
- package/scripts/postinstall.js +0 -28
- package/src/native/babel/index.js +0 -30
- package/src/native/babel-plugin/index.js +0 -605
- package/src/native/babel-plugin/index.test.ts +0 -86
- package/types.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kbach/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "React /
|
|
3
|
+
"version": "1.0.0-beta.0",
|
|
4
|
+
"description": "A utility-first styling engine for React, powered by a real Rust/WASM core — Tailwind CSS v4 feature parity with Kbach's own color palette.",
|
|
5
|
+
"keywords": ["css", "react", "tailwind", "utility-first", "wasm", "styling"],
|
|
5
6
|
"license": "MIT",
|
|
7
|
+
"author": "semsakadanupol",
|
|
6
8
|
"repository": {
|
|
7
9
|
"type": "git",
|
|
8
10
|
"url": "git+https://github.com/semsakadanupol/kbach.git",
|
|
9
11
|
"directory": "packages/react"
|
|
10
12
|
},
|
|
11
13
|
"homepage": "https://github.com/semsakadanupol/kbach#readme",
|
|
12
|
-
"bugs":
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/semsakadanupol/kbach/issues"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"files": ["dist"],
|
|
13
21
|
"source": "./src/index.ts",
|
|
14
22
|
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
15
24
|
"types": "./dist/index.d.ts",
|
|
16
25
|
"exports": {
|
|
17
26
|
".": {
|
|
@@ -32,73 +41,38 @@
|
|
|
32
41
|
"import": "./dist/jsx-dev-runtime.mjs",
|
|
33
42
|
"require": "./dist/jsx-dev-runtime.js"
|
|
34
43
|
},
|
|
35
|
-
"./types": {
|
|
36
|
-
"types": "./types.d.ts"
|
|
37
|
-
},
|
|
38
44
|
"./vite": {
|
|
39
45
|
"types": "./dist/vite-plugin.d.ts",
|
|
40
|
-
"source": "./src/vite-plugin.ts",
|
|
46
|
+
"source": "./src/vite-plugin/index.ts",
|
|
41
47
|
"import": "./dist/vite-plugin.mjs",
|
|
42
48
|
"require": "./dist/vite-plugin.js"
|
|
43
|
-
}
|
|
44
|
-
"./native": {
|
|
45
|
-
"types": "./dist/native.d.ts",
|
|
46
|
-
"source": "./src/native/index.ts",
|
|
47
|
-
"import": "./dist/native.js",
|
|
48
|
-
"require": "./dist/native.js"
|
|
49
|
-
},
|
|
50
|
-
"./babel": "./src/native/babel/index.js",
|
|
51
|
-
"./babel-plugin": "./src/native/babel-plugin/index.js"
|
|
49
|
+
}
|
|
52
50
|
},
|
|
53
51
|
"scripts": {
|
|
54
52
|
"build": "tsup",
|
|
55
53
|
"dev": "tsup --watch",
|
|
56
54
|
"test": "vitest run --passWithNoTests",
|
|
57
55
|
"lint": "tsc --noEmit",
|
|
58
|
-
"
|
|
56
|
+
"generate:colors": "node ../core-engine/scripts/generate-palette.mjs src/generatedPalette.ts"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@kbach/core-engine": "1.0.0-beta.0"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
|
-
"@babel/core": "^7.29.7",
|
|
62
|
-
"@testing-library/react": "^16.3.2",
|
|
63
|
-
"@types/node": "^20.19.42",
|
|
64
62
|
"@types/react": "^19.2.0",
|
|
65
|
-
"@types/react-dom": "^19.2.4",
|
|
66
63
|
"jsdom": "^30.0.1",
|
|
67
|
-
"react-dom": "^19.2.3",
|
|
68
64
|
"tsup": "^8.0.0",
|
|
65
|
+
"typescript": "^6.0.0",
|
|
69
66
|
"vite": "^5.4.21",
|
|
70
67
|
"vitest": "^1.0.0"
|
|
71
68
|
},
|
|
72
69
|
"peerDependencies": {
|
|
73
|
-
"@babel/core": "^7.0.0",
|
|
74
70
|
"react": ">=18.0.0",
|
|
75
|
-
"react-native": ">=0.70.0",
|
|
76
71
|
"vite": ">=4.0.0"
|
|
77
72
|
},
|
|
78
73
|
"peerDependenciesMeta": {
|
|
79
|
-
"@babel/core": {
|
|
80
|
-
"optional": true
|
|
81
|
-
},
|
|
82
|
-
"react-native": {
|
|
83
|
-
"optional": true
|
|
84
|
-
},
|
|
85
74
|
"vite": {
|
|
86
75
|
"optional": true
|
|
87
76
|
}
|
|
88
|
-
}
|
|
89
|
-
"publishConfig": {
|
|
90
|
-
"access": "public"
|
|
91
|
-
},
|
|
92
|
-
"files": [
|
|
93
|
-
"dist",
|
|
94
|
-
"scripts",
|
|
95
|
-
"src/native/babel-plugin",
|
|
96
|
-
"src/native/babel",
|
|
97
|
-
"types.d.ts",
|
|
98
|
-
"jsx-runtime.js",
|
|
99
|
-
"jsx-dev-runtime.js",
|
|
100
|
-
"kbach-react.md",
|
|
101
|
-
"KBACH.md",
|
|
102
|
-
"README.md"
|
|
103
|
-
]
|
|
77
|
+
}
|
|
104
78
|
}
|