@zero-bits/taro-components 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 +413 -0
- package/es/components/Permission/PermissionProvider.d.ts +23 -0
- package/es/components/Permission/PermissionProvider.js +1 -0
- package/es/components/Permission/index.d.ts +5 -0
- package/es/components/Permission/index.js +1 -0
- package/es/components/Permission/store.d.ts +40 -0
- package/es/components/Permission/store.js +1 -0
- package/es/components/Text/index.d.ts +54 -0
- package/es/components/Text/index.js +1 -0
- package/es/components/View/index.d.ts +111 -0
- package/es/components/View/index.js +1 -0
- package/es/components/index.d.ts +3 -0
- package/es/components/index.js +1 -0
- package/es/context/index.d.ts +6 -0
- package/es/context/index.js +1 -0
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/index.js +1 -0
- package/es/hooks/usePermission.d.ts +11 -0
- package/es/hooks/usePermission.js +1 -0
- package/es/hooks/useWeappUpdate.d.ts +4 -0
- package/es/hooks/useWeappUpdate.js +1 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/es/styles/index.css +120 -0
- package/es/types/index.d.ts +84 -0
- package/es/types/index.js +1 -0
- package/lib/components/Permission/PermissionProvider.d.ts +23 -0
- package/lib/components/Permission/PermissionProvider.js +1 -0
- package/lib/components/Permission/index.d.ts +5 -0
- package/lib/components/Permission/index.js +1 -0
- package/lib/components/Permission/store.d.ts +40 -0
- package/lib/components/Permission/store.js +1 -0
- package/lib/components/Text/index.d.ts +54 -0
- package/lib/components/Text/index.js +1 -0
- package/lib/components/View/index.d.ts +111 -0
- package/lib/components/View/index.js +1 -0
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.js +1 -0
- package/lib/context/index.d.ts +6 -0
- package/lib/context/index.js +1 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/usePermission.d.ts +11 -0
- package/lib/hooks/usePermission.js +1 -0
- package/lib/hooks/useWeappUpdate.d.ts +4 -0
- package/lib/hooks/useWeappUpdate.js +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/styles/index.css +120 -0
- package/lib/types/index.d.ts +84 -0
- package/lib/types/index.js +1 -0
- package/package.json +68 -0
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zero-bits/taro-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Taro components and utilities",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "es/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"*.css",
|
|
10
|
+
"**/*.css"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"lib",
|
|
14
|
+
"es"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"registry": "https://registry.npmjs.org/"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./es/index.d.ts",
|
|
24
|
+
"default": "./es/index.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./lib/index.d.ts",
|
|
28
|
+
"default": "./lib/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"./index.css": {
|
|
32
|
+
"import": "./es/styles/index.css",
|
|
33
|
+
"require": "./lib/styles/index.css"
|
|
34
|
+
},
|
|
35
|
+
"./components": {
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./es/components/index.d.ts",
|
|
38
|
+
"default": "./es/components/index.js"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./lib/components/index.d.ts",
|
|
42
|
+
"default": "./lib/components/index.js"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"./hooks": {
|
|
46
|
+
"import": {
|
|
47
|
+
"types": "./es/hooks/index.d.ts",
|
|
48
|
+
"default": "./es/hooks/index.js"
|
|
49
|
+
},
|
|
50
|
+
"require": {
|
|
51
|
+
"types": "./lib/hooks/index.d.ts",
|
|
52
|
+
"default": "./lib/hooks/index.js"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"keywords": [],
|
|
57
|
+
"author": "",
|
|
58
|
+
"license": "ISC",
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"react": ">=18.0.0",
|
|
61
|
+
"react-dom": ">=18.0.0",
|
|
62
|
+
"@tarojs/components": ">=4.2.1",
|
|
63
|
+
"@tarojs/taro": ">=4.2.1"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"classnames": "^2.3.0"
|
|
67
|
+
}
|
|
68
|
+
}
|