From 1ce096a476d496afe222e39dfed30ab44c03d57f Mon Sep 17 00:00:00 2001 From: Justineo Date: Tue, 29 Mar 2022 21:41:13 +0800 Subject: [PATCH] chore: update changelog and version [skip ci] --- CHANGELOG.md | 21 +++++++-- packages/veui-theme-dls-icons/package.json | 2 +- packages/veui-theme-dls/package-lock.json | 54 +++------------------- packages/veui-theme-dls/package.json | 2 +- 4 files changed, 25 insertions(+), 54 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 147268426..6f5b6aada 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,22 @@ -## 2.6.0 (2022-03-29) +## 2.6.0 "🌻 Sunflower" (2022-03-30) + +### ⚠️ 非兼容性变更 + +- [^] 限定了 `Tabs` 组件单个标签页标题的宽度,对于超出最大宽度的内容会被省略。 +- [^] 移除了 `Nav` 组件的 `s` / `l` 两个尺寸变体,现在 `Nav` 组件只支持 `m` 尺寸。 ### 💡 主要变更 -- [+] 新增 `Message` 组件。 -- [+] `Tabs` 样式升级,对于超出最大宽度的文本会被省略。 -- [+] `Nav` 样式升级,新增悬浮和点击动效,去掉了 `s` / `l` 变体。 -- [+] 重构 `Form`,`Fieldset` 和 `Field` 组件,升级了校验信息样式并新增了属性 `validityDisplay` 来控制是否显示校验信息图标;新增了 `abstract` 和 `withholdValidity` 属性来支持微调校验流程;新增了 `help`,`helpPosition` 属性和 `help` 插槽来支持辅助文本。 +- [+] 新增 `Message` 组件,提供统一的内联消息提示。 +- [^] 优化 `Tabs` 组件样式。 +- [^] 优化 `Nav` 组件样式,新增悬浮和点击动效。 +- [+] 表单相关功能进行了大幅优化,升级了校验信息样式。`Field` 组件新增了 `help` / `help-position` 属性与 `help` 插槽来支持配置辅助说明。新增了 `abstract` / `withhold-validity` 属性来支持微调校验流程,新增了 `validity-display` 属性来控制校验信息展示样式,校验结果支持配置 `status` 以展示更丰富的校验状态。 +- [^] `Field` 内如果有多个输入类组件,可以通过将输入组件的 `name` 属性设置为与 `Field` 相同来标记“主要”输入组件,自动绑定校验逻辑与相关反馈。 + +### 🐞 问题修复 + +- [^] 为布局相关组件补充了缺失的接口类型声明。 +- [^] 修正了 `Radio` 与 `Checkbox` 组件在没有标签文本时的对齐样式。 ## 2.5.5 (2022-03-23) diff --git a/packages/veui-theme-dls-icons/package.json b/packages/veui-theme-dls-icons/package.json index 6e1d32dbe..0cb7f97e2 100644 --- a/packages/veui-theme-dls-icons/package.json +++ b/packages/veui-theme-dls-icons/package.json @@ -20,7 +20,7 @@ "dls-icons-vue": "~2.6.0" }, "peerDependencies": { - "veui": "2.5.5" + "veui": "2.6.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^20.0.0", diff --git a/packages/veui-theme-dls/package-lock.json b/packages/veui-theme-dls/package-lock.json index ccdd268cb..f8bf7aaa8 100644 --- a/packages/veui-theme-dls/package-lock.json +++ b/packages/veui-theme-dls/package-lock.json @@ -12,7 +12,7 @@ "classlist-polyfill": "^1.2.0", "dls-icons-vue": "~2.6.0", "focus-visible": "^4.1.0", - "less-plugin-dls": "^6.0.0", + "less-plugin-dls": "^7.1.0", "less-plugin-est": "^3.0.0", "veui-theme-dls-icons": "^2.5.5" }, @@ -1905,9 +1905,9 @@ } }, "node_modules/less-plugin-dls": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/less-plugin-dls/-/less-plugin-dls-6.0.0.tgz", - "integrity": "sha512-OethsXcrgUlKlBkHe3pBBsmhY8XWQRsf3/4E0PJUHGT2OQcPu4NdfJGqD6zK9NrEECHSlrRMJoWNNBP3nb6bKg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/less-plugin-dls/-/less-plugin-dls-7.1.0.tgz", + "integrity": "sha512-ew6NBBG0csxRMQ0tSx/xzcogDwqu6jZhgtzVr6C5vBZXAUU+EHg9BsX6tJOqk9fOPswidMvaUPRAcV+7a+ve9Q==", "dependencies": { "arg": "^4.1.3", "dls-color-palette": "0.0.1-alpha.3", @@ -3359,28 +3359,6 @@ } } }, - "node_modules/veui-theme-dls-icons": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.5.tgz", - "integrity": "sha512-fZXhiFYHPsZiZZ2dHAb53MlwQ0zy6Y69FpznMxLsdRaAQfAhZF5KjDb2kyGuMXMcRDZLGyMwJtQfh7UCMXBpMw==", - "dependencies": { - "dls-icons-vue": "~2.5.0" - }, - "peerDependencies": { - "veui": "2.5.5" - } - }, - "node_modules/veui-theme-dls-icons/node_modules/dls-icons-vue": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.5.0.tgz", - "integrity": "sha512-23r8e5XCWgchj3N/XhMItKymvCKQ0gqjShU8/SUrziyNDgs7fghM5ZK0Hgn+ciKW2OKiKJlxU1hK5BrD6KsbAg==", - "dependencies": { - "dls-icons-data": "^2.5.0" - }, - "peerDependencies": { - "vue": "2.x" - } - }, "node_modules/veui/node_modules/core-js": { "version": "3.21.1", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.1.tgz", @@ -5026,9 +5004,9 @@ } }, "less-plugin-dls": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/less-plugin-dls/-/less-plugin-dls-6.0.0.tgz", - "integrity": "sha512-OethsXcrgUlKlBkHe3pBBsmhY8XWQRsf3/4E0PJUHGT2OQcPu4NdfJGqD6zK9NrEECHSlrRMJoWNNBP3nb6bKg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/less-plugin-dls/-/less-plugin-dls-7.1.0.tgz", + "integrity": "sha512-ew6NBBG0csxRMQ0tSx/xzcogDwqu6jZhgtzVr6C5vBZXAUU+EHg9BsX6tJOqk9fOPswidMvaUPRAcV+7a+ve9Q==", "requires": { "arg": "^4.1.3", "dls-color-palette": "0.0.1-alpha.3", @@ -6055,24 +6033,6 @@ } } }, - "veui-theme-dls-icons": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.5.tgz", - "integrity": "sha512-fZXhiFYHPsZiZZ2dHAb53MlwQ0zy6Y69FpznMxLsdRaAQfAhZF5KjDb2kyGuMXMcRDZLGyMwJtQfh7UCMXBpMw==", - "requires": { - "dls-icons-vue": "~2.5.0" - }, - "dependencies": { - "dls-icons-vue": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.5.0.tgz", - "integrity": "sha512-23r8e5XCWgchj3N/XhMItKymvCKQ0gqjShU8/SUrziyNDgs7fghM5ZK0Hgn+ciKW2OKiKJlxU1hK5BrD6KsbAg==", - "requires": { - "dls-icons-data": "^2.5.0" - } - } - } - }, "vue": { "version": "2.6.14", "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.14.tgz", diff --git a/packages/veui-theme-dls/package.json b/packages/veui-theme-dls/package.json index bbf109be5..1469f400a 100644 --- a/packages/veui-theme-dls/package.json +++ b/packages/veui-theme-dls/package.json @@ -26,7 +26,7 @@ "veui-theme-dls-icons": "^2.5.5" }, "peerDependencies": { - "veui": "2.5.5" + "veui": "2.6.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^20.0.0",