@agile-team/wl-skills-ui 1.8.9 → 1.8.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agile-team/wl-skills-ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.12",
|
|
4
4
|
"description": "企业级 UI 风格对齐框架 — Vue + Element Plus 项目通用化妆/原生双模式(tokens / element / vendors / layouts / runtime / scanner / fixer / skills)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./es/index.js",
|
|
@@ -134,4 +134,4 @@
|
|
|
134
134
|
"eslint --fix --no-cache"
|
|
135
135
|
]
|
|
136
136
|
}
|
|
137
|
-
}
|
|
137
|
+
}
|
|
@@ -181,13 +181,14 @@
|
|
|
181
181
|
|
|
182
182
|
// ── 状态标签 — 精致小标签(GitHub/Linear label 风格)────────────────────────
|
|
183
183
|
// 实色填充 + 轻柔圆角 + 克制字号
|
|
184
|
-
.ag-cell .el-tag
|
|
184
|
+
.ag-cell .el-tag,
|
|
185
|
+
.el-table .el-tag {
|
|
185
186
|
display: inline-flex !important;
|
|
186
187
|
align-items: center !important;
|
|
187
188
|
justify-content: center !important;
|
|
188
|
-
height:
|
|
189
|
+
height: 18px !important;
|
|
189
190
|
line-height: 1 !important;
|
|
190
|
-
padding: 0
|
|
191
|
+
padding: 0 7px !important;
|
|
191
192
|
font-size: 11px !important;
|
|
192
193
|
font-weight: 600 !important;
|
|
193
194
|
border-radius: 4px !important;
|
|
@@ -196,7 +197,7 @@
|
|
|
196
197
|
flex-shrink: 0;
|
|
197
198
|
|
|
198
199
|
&.el-tag--danger {
|
|
199
|
-
|
|
200
|
+
background: var(--el-color-danger) !important;
|
|
200
201
|
color: #fff !important;
|
|
201
202
|
}
|
|
202
203
|
|
|
@@ -220,6 +221,12 @@
|
|
|
220
221
|
background: var(--el-color-primary) !important;
|
|
221
222
|
color: #fff !important;
|
|
222
223
|
}
|
|
224
|
+
>span,
|
|
225
|
+
.el-tag__content,
|
|
226
|
+
* {
|
|
227
|
+
font-size: inherit !important;
|
|
228
|
+
line-height: inherit !important;
|
|
229
|
+
}
|
|
223
230
|
}
|
|
224
231
|
|
|
225
232
|
// ── 数值型徽标(考核基数/评分等)────────────────────────────────────────────
|
|
@@ -510,24 +517,86 @@
|
|
|
510
517
|
|
|
511
518
|
// 必填星号:只保留一颗 — 默认 asterisk-left(::before),asterisk-right 用 ::after
|
|
512
519
|
// 旧写法同时 display:inline-block 两个伪元素导致 * * 重复
|
|
513
|
-
.el-form
|
|
520
|
+
html body .el-form.el-form--label-left .el-form-item__label,
|
|
521
|
+
html body .el-form.el-form--label-right .el-form-item__label {
|
|
522
|
+
align-items: baseline !important;
|
|
523
|
+
font-size: 12px !important;
|
|
524
|
+
line-height: 22px !important;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
html body .el-form.el-form--label-left .el-form-item__label>.com-text,
|
|
528
|
+
html body .el-form.el-form--label-right .el-form-item__label>.com-text {
|
|
529
|
+
font-size: 12px !important;
|
|
530
|
+
line-height: 22px !important;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label::before,
|
|
534
|
+
html body .el-form.el-form--label-left .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label::before,
|
|
535
|
+
html body .el-form.el-form--label-right .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label::before {
|
|
536
|
+
content: "*" !important;
|
|
537
|
+
color: var(--el-color-danger, #f56c6c) !important;
|
|
538
|
+
font-size: 12px !important;
|
|
539
|
+
font-weight: 400 !important;
|
|
540
|
+
line-height: 22px !important;
|
|
541
|
+
display: inline-block !important;
|
|
542
|
+
margin-right: 2px !important;
|
|
543
|
+
vertical-align: baseline !important;
|
|
544
|
+
position: relative !important;
|
|
545
|
+
top: 0 !important;
|
|
546
|
+
align-self: baseline !important;
|
|
547
|
+
}
|
|
548
|
+
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label>.com-text::before,
|
|
549
|
+
html body .el-form.el-form--label-left .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label>.com-text::before,
|
|
550
|
+
html body .el-form.el-form--label-right .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label>.com-text::before {
|
|
551
|
+
content: "*" !important;
|
|
514
552
|
color: var(--el-color-danger, #f56c6c) !important;
|
|
553
|
+
font-size: 12px !important;
|
|
554
|
+
font-weight: 400 !important;
|
|
555
|
+
line-height: 22px !important;
|
|
515
556
|
display: inline-block !important;
|
|
557
|
+
margin-right: 2px !important;
|
|
558
|
+
vertical-align: baseline !important;
|
|
559
|
+
position: relative !important;
|
|
560
|
+
top: 0 !important;
|
|
561
|
+
align-self: baseline !important;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:has(>.com-text)::before,
|
|
565
|
+
html body .el-form .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:has(>.com-text)::before {
|
|
566
|
+
display: none !important;
|
|
516
567
|
}
|
|
568
|
+
|
|
517
569
|
// asterisk-right 模式:显示 ::after,隐藏 ::before
|
|
518
|
-
.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::before
|
|
570
|
+
.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::before,
|
|
571
|
+
.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label>.com-text::before {
|
|
519
572
|
display: none !important;
|
|
520
573
|
}
|
|
521
574
|
|
|
522
|
-
.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::after
|
|
575
|
+
.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::after,
|
|
576
|
+
html body .el-form.el-form--label-left .el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::after,
|
|
577
|
+
html body .el-form.el-form--label-right .el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label::after {
|
|
578
|
+
content: "*" !important;
|
|
523
579
|
color: var(--el-color-danger, #f56c6c) !important;
|
|
580
|
+
font-size: 12px !important;
|
|
581
|
+
font-weight: 400 !important;
|
|
582
|
+
line-height: 22px !important;
|
|
524
583
|
display: inline-block !important;
|
|
584
|
+
margin-left: 2px !important;
|
|
585
|
+
vertical-align: baseline !important;
|
|
586
|
+
position: relative !important;
|
|
587
|
+
top: 0 !important;
|
|
588
|
+
align-self: baseline !important;
|
|
525
589
|
}
|
|
526
590
|
|
|
527
591
|
// 默认模式:隐藏 ::after 防止重复星号
|
|
528
592
|
.el-form-item.is-required:not(.is-no-asterisk):not(.asterisk-right)>.el-form-item__label::after {
|
|
529
593
|
display: none !important;
|
|
530
594
|
}
|
|
595
|
+
.el-form-item.is-required.is-no-asterisk>.el-form-item__label::before,
|
|
596
|
+
.el-form-item.is-required.is-no-asterisk>.el-form-item__label::after,
|
|
597
|
+
.el-form-item.is-required.is-no-asterisk>.el-form-item__label>.com-text::before {
|
|
598
|
+
display: none !important;
|
|
599
|
+
}
|
|
531
600
|
|
|
532
601
|
.el-form-item.is-error {
|
|
533
602
|
.el-form-item__label,
|