@agile-team/wl-skills-ui 1.8.15 → 1.8.16
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/CHANGELOG.md +6 -0
- package/README.md +5 -1
- package/package.json +1 -1
- package/styles/vendors/_jh-ui.scss +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to **@agile-team/wl-skills-ui** will be documented in this f
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.8.16] - 2026-07-01
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **label 冒号通杀(根治"就它带冒号")**:此前冒号屏蔽仅覆盖 `.has-colon .el-form-item__label .com-text::after`(带 `.has-colon` 前缀)。但 jh-\* 组件(jh-select / jh-date / jh-picker / BaseForm 的自定义 component,如 CustomerPicker)的 `showColon` 默认 `true`,渲染的 label 走 `.com-text` 容器**但不一定带 `.has-colon` 类**,导致规则命不中、单点冒号残留。本次新增**不限 `.has-colon`** 的通杀规则,覆盖 `.el-form-item__label` 内所有 `.com-text` / `.text-line-2` 的 `:after`,特异性 `html body .el-form-item__label .com-text::after`(0,3,1)高于 jh-ui 注入,确定性咔嚓所有冒号伪元素
|
|
12
|
+
|
|
7
13
|
## [1.8.15] - 2026-07-01
|
|
8
14
|
|
|
9
15
|
### Added
|
package/README.md
CHANGED
|
@@ -213,7 +213,11 @@ yarn add @agile-team/wl-skills-ui
|
|
|
213
213
|
|
|
214
214
|
## 版本亮点
|
|
215
215
|
|
|
216
|
-
当前 v1.8.
|
|
216
|
+
当前 v1.8.16:
|
|
217
|
+
|
|
218
|
+
- **label 冒号通杀(根治"就它带冒号")**:jh-* 组件的 `showColon` 默认 true,渲染冒号走 `.com-text` 但不带 `.has-colon`,旧规则(仅 `.has-colon` 限定)命不中。新增不限 `.has-colon` 的通杀规则,咔嚓所有 `.el-form-item__label` 内冒号伪元素
|
|
219
|
+
|
|
220
|
+
上一版 v1.8.15:
|
|
217
221
|
|
|
218
222
|
- **jh-drag-row 上下分栏手柄覆盖**:新增 `styles/vendors/_jh-drag-row.scss`,补齐此前缺失的 `jh-drag-row`(上下/主从表)手柄覆盖,与 `_jh-drag-col.scss`(左右)同源风格。以本包主色 `#2254f4` 为准,用 `!important` 确定性层叠压过 common-core 组件 Props 默认值
|
|
219
223
|
- **平台包职责澄清**:`@jhlc/jh-ui` 是纯 SCSS 包(零组件),所有 `jh-*`/`Base*`/`C_*` 组件来自 `@jhlc/common-core`。本包作为化妆层精准层叠覆盖二者视觉,不改平台层源码——L0 token 用 `:root body` 压过 jh-ui 编译产物的 `:root`(`#2254f4` > jh-ui `#4368ff`),L2 直接写目标属性 + `!important` 绕过组件 `var()` 引用。**项目装了本包后,一切以本包为准**
|
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.16",
|
|
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",
|
|
@@ -65,6 +65,24 @@ html body .has-colon .el-form-item__label .text-line-2:after {
|
|
|
65
65
|
display: none !important;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
// 1-b) 通杀冒号(不限 .has-colon)
|
|
69
|
+
// 背景:jh-* 组件(jh-select / jh-date / jh-picker / BaseForm 的自定义 component 等)
|
|
70
|
+
// 内部 showColon 默认 true,渲染的 label 走 .com-text 容器但【不一定带 .has-colon】。
|
|
71
|
+
// 仅 .has-colon 限定会漏掉这些组件,导致"就它带冒号"。
|
|
72
|
+
// → 此处取消 .has-colon 前缀,覆盖 .el-form-item__label 内所有 .com-text / .text-line-2 的 :after,
|
|
73
|
+
// 一并咔嚓。特异性 `html body .el-form-item__label .com-text::after` (0,3,1) 高于 jh-ui 注入。
|
|
74
|
+
html body .el-form-item__label > .com-text::after,
|
|
75
|
+
html body .el-form-item__label > .com-text:after,
|
|
76
|
+
html body .el-form-item__label .com-text::after,
|
|
77
|
+
html body .el-form-item__label .com-text:after,
|
|
78
|
+
html body .el-form-item__label > .text-line-2::after,
|
|
79
|
+
html body .el-form-item__label > .text-line-2:after,
|
|
80
|
+
html body .el-form-item__label .text-line-2::after,
|
|
81
|
+
html body .el-form-item__label .text-line-2:after {
|
|
82
|
+
content: "" !important;
|
|
83
|
+
display: none !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
68
86
|
// 2) Element Plus 2.2.x 输入控件统一圆角(无 .el-input__wrapper)
|
|
69
87
|
html body .el-input > .el-input__inner,
|
|
70
88
|
html body .el-date-editor > .el-input__inner,
|