ep-craft 0.1.9 → 0.1.11
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/dist/index.css +1 -1
- package/package.json +17 -1
- package/theme-chalk/src/button.scss +13 -0
- package/theme-chalk/src/common/var.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep-craft",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "A Vue 3 component library based on element-plus with ep- prefix",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ep-craft.js",
|
|
@@ -25,6 +25,22 @@
|
|
|
25
25
|
},
|
|
26
26
|
"./dist/index.css": "./dist/index.css",
|
|
27
27
|
"./style.css": "./dist/index.css",
|
|
28
|
+
"./dist/ep-craft.js": {
|
|
29
|
+
"import": "./dist/ep-craft.js",
|
|
30
|
+
"types": "./dist/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./dist/resolver": {
|
|
33
|
+
"import": "./dist/resolver.js",
|
|
34
|
+
"types": "./dist/resolver.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./dist/locale": {
|
|
37
|
+
"import": "./dist/locale/index.js",
|
|
38
|
+
"types": "./dist/locale/index.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./dist/icons": {
|
|
41
|
+
"import": "./dist/icons.js",
|
|
42
|
+
"types": "./dist/icons.d.ts"
|
|
43
|
+
},
|
|
28
44
|
"./theme-chalk/*": "./theme-chalk/*",
|
|
29
45
|
"./dist/*": "./dist/*"
|
|
30
46
|
},
|
|
@@ -183,6 +183,19 @@ $button-plain-config: (
|
|
|
183
183
|
list.nth($cfg, 4),
|
|
184
184
|
list.nth($cfg, 5)
|
|
185
185
|
);
|
|
186
|
+
|
|
187
|
+
// plain 禁用态与 primary + plain disabled 保持一致:透明背景 + 主题色边框 + 整体 40% 透明
|
|
188
|
+
&.is-disabled {
|
|
189
|
+
&,
|
|
190
|
+
&:hover,
|
|
191
|
+
&:focus,
|
|
192
|
+
&:active {
|
|
193
|
+
color: getCssVar('color-primary');
|
|
194
|
+
background-color: transparent;
|
|
195
|
+
border-color: list.nth($cfg, 2);
|
|
196
|
+
opacity: 0.4;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
186
199
|
}
|
|
187
200
|
|
|
188
201
|
@include when(active) {
|