@scx-js/scx-ui 0.1.3 → 0.1.5
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/index.js +1 -1
- package/package.json +4 -4
- package/scx-icon/index.css +13 -1
- package/style/default.css +0 -5
package/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@scx-js/scx-ui",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.5",
|
4
4
|
"description": "SCX UI",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": "scx567888",
|
@@ -16,9 +16,9 @@
|
|
16
16
|
"url": "https://github.com/scx567888/scx-js.git"
|
17
17
|
},
|
18
18
|
"dependencies": {
|
19
|
-
"@scx-js/scx-common": "0.1.
|
20
|
-
"@scx-js/scx-app-x": "0.1.
|
21
|
-
"@scx-js/scx-dom": "0.1.
|
19
|
+
"@scx-js/scx-common": "0.1.5",
|
20
|
+
"@scx-js/scx-app-x": "0.1.5",
|
21
|
+
"@scx-js/scx-dom": "0.1.5"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@vitejs/plugin-vue": "^5.0.0",
|
package/scx-icon/index.css
CHANGED
@@ -1,4 +1,16 @@
|
|
1
1
|
.scx-icon {
|
2
|
+
/* 防止宽高失效 */
|
3
|
+
display: inline-block;
|
4
|
+
/* 继承字体大小,跟随文字缩放 */
|
2
5
|
width: 1em;
|
6
|
+
/* 保持正方形,视觉一致 */
|
3
7
|
height: 1em;
|
4
|
-
|
8
|
+
/* 继承文字颜色,自动适配上下文样式 */
|
9
|
+
fill: currentColor;
|
10
|
+
/* 在 flex 布局下防止图标被压缩 */
|
11
|
+
flex-shrink: 0;
|
12
|
+
/* 行内视觉居中 这是一个经验值 */
|
13
|
+
vertical-align: -0.125em;
|
14
|
+
/* 默认穿透 */
|
15
|
+
pointer-events: none;
|
16
|
+
}
|