@zero-bits/taro-components 1.1.0 → 1.3.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/es/components/Permission/PermissionProvider.js +1 -35
- package/es/components/Permission/index.js +1 -2
- package/es/components/Permission/store.js +1 -158
- package/es/components/Text/index.d.ts +2 -0
- package/es/components/Text/index.js +1 -136
- package/es/components/View/index.d.ts +3 -1
- package/es/components/View/index.js +1 -220
- package/es/components/index.js +1 -3
- package/es/context/index.js +1 -6
- package/es/hooks/index.js +1 -2
- package/es/hooks/usePermission.js +1 -18
- package/es/hooks/useWeappUpdate.js +1 -33
- package/es/index.js +1 -3
- package/es/styles/index.css +120 -1
- package/es/types/index.js +1 -1
- package/lib/components/Permission/PermissionProvider.js +1 -41
- package/lib/components/Permission/index.js +1 -20
- package/lib/components/Permission/store.js +1 -164
- package/lib/components/Text/index.d.ts +2 -0
- package/lib/components/Text/index.js +1 -145
- package/lib/components/View/index.d.ts +3 -1
- package/lib/components/View/index.js +1 -227
- package/lib/components/index.js +1 -36
- package/lib/context/index.js +1 -12
- package/lib/hooks/index.js +1 -19
- package/lib/hooks/usePermission.js +1 -24
- package/lib/hooks/useWeappUpdate.js +1 -38
- package/lib/index.js +1 -63
- package/lib/styles/index.css +120 -1
- package/lib/types/index.js +1 -5
- package/package.json +1 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zero-bits/taro-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Taro components and utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -62,29 +62,6 @@
|
|
|
62
62
|
"react": ">=18.0.0",
|
|
63
63
|
"react-dom": ">=18.0.0"
|
|
64
64
|
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "father build && npx tsc --emitDeclarationOnly --outDir lib && npx tsc --emitDeclarationOnly --outDir es",
|
|
67
|
-
"clean": "rm -rf lib && rm -rf es",
|
|
68
|
-
"prebuild": "npm run clean",
|
|
69
|
-
"build:cjs-css": "npx tailwindcss -i ./src/styles/index.css -o ./lib/styles/index.css",
|
|
70
|
-
"build:es-css": "npx tailwindcss -i ./src/styles/index.css -o ./es/styles/index.css",
|
|
71
|
-
"build:css": "npm run build:cjs-css && npm run build:es-css",
|
|
72
|
-
"build:all": "npm run build && npm run build:css",
|
|
73
|
-
"build:watch": "father dev",
|
|
74
|
-
"obfuscate": "node ../scripts/obfuscate.mjs",
|
|
75
|
-
"build:obf": "npm run build:all && npm run obfuscate",
|
|
76
|
-
"pub": "node ../scripts/publish.js"
|
|
77
|
-
},
|
|
78
|
-
"devDependencies": {
|
|
79
|
-
"@types/node": "^24.7.2",
|
|
80
|
-
"@types/react": "^18.2.0",
|
|
81
|
-
"@types/react-dom": "^18.2.0",
|
|
82
|
-
"father": "^4.6.15",
|
|
83
|
-
"react": "^18.2.0",
|
|
84
|
-
"react-dom": "^18.2.0",
|
|
85
|
-
"tailwindcss": "^3.4.19",
|
|
86
|
-
"typescript": "^5.9.3"
|
|
87
|
-
},
|
|
88
65
|
"dependencies": {
|
|
89
66
|
"classnames": "^2.3.0"
|
|
90
67
|
}
|