@hbdlzy/ui 0.1.5 → 0.1.7
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/AI-USAGE.md +3 -0
- package/README.md +6 -0
- package/dist/index.d.ts +6 -6
- package/package.json +6 -5
- package/package.manifest.json +13 -15
package/AI-USAGE.md
CHANGED
|
@@ -45,6 +45,7 @@ node_modules/@hbdlzy/ui/AI-USAGE.md
|
|
|
45
45
|
- `echarts`
|
|
46
46
|
- `exportExcel`
|
|
47
47
|
- `companyTokens`
|
|
48
|
+
- 全局按钮 ripple 已随 `@hbdlzy/ui` 入口自动启用,局部关闭可添加 `data-hbdl-ripple="false"`
|
|
48
49
|
- 只有当现有组件无法满足需求时,才考虑新增公共组件
|
|
49
50
|
|
|
50
51
|
## 导入约定
|
|
@@ -64,6 +65,8 @@ import {
|
|
|
64
65
|
OutlinedTimePicker,
|
|
65
66
|
OutlinedCascader,
|
|
66
67
|
OutlinedTreeSelect,
|
|
68
|
+
installRipple,
|
|
69
|
+
uninstallRipple,
|
|
67
70
|
companyTokens,
|
|
68
71
|
echarts
|
|
69
72
|
} from '@hbdlzy/ui'
|
package/README.md
CHANGED
|
@@ -31,11 +31,15 @@ import {
|
|
|
31
31
|
OutlinedTimePicker,
|
|
32
32
|
OutlinedCascader,
|
|
33
33
|
OutlinedTreeSelect,
|
|
34
|
+
installRipple,
|
|
35
|
+
uninstallRipple,
|
|
34
36
|
companyTokens,
|
|
35
37
|
echarts
|
|
36
38
|
} from '@hbdlzy/ui'
|
|
37
39
|
```
|
|
38
40
|
|
|
41
|
+
导入 `@hbdlzy/ui` 后会自动为项目里的按钮启用 ripple 效果,覆盖原生 `button`、Element Plus `el-button` 以及 radio/checkbox button 形态。局部不需要时,可在按钮或父级元素上添加 `data-hbdl-ripple="false"`。
|
|
42
|
+
|
|
39
43
|
## 当前聚合内容
|
|
40
44
|
|
|
41
45
|
- 设计令牌:`@hbdlzy/tokens`
|
|
@@ -58,6 +62,8 @@ import {
|
|
|
58
62
|
- `echarts`
|
|
59
63
|
- `exportExcel`
|
|
60
64
|
- `companyTokens`
|
|
65
|
+
- `installRipple`
|
|
66
|
+
- `uninstallRipple`
|
|
61
67
|
|
|
62
68
|
## 详细文档入口
|
|
63
69
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '@hbdlzy/tokens';
|
|
2
|
-
export { companyTokens } from '@hbdlzy/tokens';
|
|
3
|
-
export { default as defaultCompanyTokens } from '@hbdlzy/tokens';
|
|
4
|
-
export * from '@hbdlzy/ui-core';
|
|
5
|
-
export * from '@hbdlzy/ui-energy';
|
|
6
|
-
export declare const uiPackageName = "@hbdlzy/ui";
|
|
1
|
+
import '@hbdlzy/tokens';
|
|
2
|
+
export { companyTokens } from '@hbdlzy/tokens';
|
|
3
|
+
export { default as defaultCompanyTokens } from '@hbdlzy/tokens';
|
|
4
|
+
export * from '@hbdlzy/ui-core';
|
|
5
|
+
export * from '@hbdlzy/ui-energy';
|
|
6
|
+
export declare const uiPackageName = "@hbdlzy/ui";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hbdlzy/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Company unified UI entry package.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,15 +24,13 @@
|
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|
|
26
26
|
"src",
|
|
27
|
-
"!src/**/*.test.ts",
|
|
28
|
-
"!src/**/*.spec.ts",
|
|
29
27
|
"README.md",
|
|
30
28
|
"AI-USAGE.md",
|
|
31
29
|
"package.manifest.json"
|
|
32
30
|
],
|
|
33
31
|
"dependencies": {
|
|
34
|
-
"@hbdlzy/ui-core": "0.1.4",
|
|
35
32
|
"@hbdlzy/tokens": "0.1.2",
|
|
33
|
+
"@hbdlzy/ui-core": "0.1.6",
|
|
36
34
|
"@hbdlzy/ui-energy": "0.1.2"
|
|
37
35
|
},
|
|
38
36
|
"peerDependencies": {
|
|
@@ -40,7 +38,10 @@
|
|
|
40
38
|
"vue": "^3.5.14"
|
|
41
39
|
},
|
|
42
40
|
"sideEffects": [
|
|
43
|
-
"**/*.css"
|
|
41
|
+
"**/*.css",
|
|
42
|
+
"dist/index.js",
|
|
43
|
+
"dist/index.cjs",
|
|
44
|
+
"src/index.ts"
|
|
44
45
|
],
|
|
45
46
|
"publishConfig": {
|
|
46
47
|
"access": "public",
|
package/package.manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hbdlzy/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"entry": "@hbdlzy/ui",
|
|
5
5
|
"readme": "README.md",
|
|
6
6
|
"aiGuide": "AI-USAGE.md",
|
|
@@ -25,18 +25,6 @@
|
|
|
25
25
|
"importName": "BaseCard",
|
|
26
26
|
"docs": "../ui-core/src/components/BaseCard/README.md"
|
|
27
27
|
},
|
|
28
|
-
{
|
|
29
|
-
"name": "BaseSearchForm",
|
|
30
|
-
"from": "@hbdlzy/ui-core",
|
|
31
|
-
"importName": "BaseSearchForm",
|
|
32
|
-
"docs": "../ui-core/src/components/BaseSearchForm/README.md"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "BaseDialog",
|
|
36
|
-
"from": "@hbdlzy/ui-core",
|
|
37
|
-
"importName": "BaseDialog",
|
|
38
|
-
"docs": "../ui-core/src/components/BaseDialog/README.md"
|
|
39
|
-
},
|
|
40
28
|
{
|
|
41
29
|
"name": "BaseEChart",
|
|
42
30
|
"from": "@hbdlzy/ui-core",
|
|
@@ -110,6 +98,18 @@
|
|
|
110
98
|
"from": "@hbdlzy/tokens",
|
|
111
99
|
"importName": "companyTokens",
|
|
112
100
|
"docs": "../tokens/README.md"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "installRipple",
|
|
104
|
+
"from": "@hbdlzy/ui-core",
|
|
105
|
+
"importName": "installRipple",
|
|
106
|
+
"docs": "../ui-core/README.md"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "uninstallRipple",
|
|
110
|
+
"from": "@hbdlzy/ui-core",
|
|
111
|
+
"importName": "uninstallRipple",
|
|
112
|
+
"docs": "../ui-core/README.md"
|
|
113
113
|
}
|
|
114
114
|
]
|
|
115
115
|
},
|
|
@@ -138,8 +138,6 @@
|
|
|
138
138
|
"../ui-core/README.md",
|
|
139
139
|
"../ui-core/src/components/BaseTable/README.md",
|
|
140
140
|
"../ui-core/src/components/BaseCard/README.md",
|
|
141
|
-
"../ui-core/src/components/BaseSearchForm/README.md",
|
|
142
|
-
"../ui-core/src/components/BaseDialog/README.md",
|
|
143
141
|
"../ui-core/src/components/BaseEChart/README.md",
|
|
144
142
|
"../ui-core/src/components/BaseExportButton/README.md",
|
|
145
143
|
"../ui-core/src/components/OutlinedInput/README.md",
|