mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(changelog): vant 4.7.0 (#12318)
This commit is contained in:
parent
c669138d60
commit
6bab31f704
@ -19,6 +19,59 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### v4.7.0
|
||||
|
||||
`2023-09-24`
|
||||
|
||||
#### 🍭 Icon Updates
|
||||
|
||||
- Icon: add new `user` icon
|
||||
- Icon: add new `notes` icon
|
||||
- Icon: add new `newspaper` icon
|
||||
- Icon: add new `list-switch` icon
|
||||
- Icon: add new `list-switching` icon
|
||||
- Icon: add a filled `records` icon
|
||||
- Icon: add a filled `contact` icon
|
||||
- Icon: add a filled `discount` icon
|
||||
- Icon: add a filled `completed` icon
|
||||
- Icon: add a filled `description` icon
|
||||
- Icon: add a filled `cash-back-record` icon
|
||||
- Icon: rename the previous `records` icon to `records-o`
|
||||
- Icon: rename the previous `contact` icon to `contact-o`
|
||||
- Icon: rename the previous `discount` icon to `discount-o`
|
||||
- Icon: rename the previous `completed` icon to `completed-o`
|
||||
- Icon: rename the previous `description` icon to `description-o`
|
||||
- Icon: rename the previous `cash-back-record` icon to `cash-back-record-o`
|
||||
|
||||
#### New Features 🎉
|
||||
|
||||
- feat(Calendar): add click-disabled-date event by [@LadyChatterleyLover](https://github.com/LadyChatterleyLover) in [#12274](https://github.com/youzan/vant/pull/12274)
|
||||
- feat(Uploader): add --van-uploader-border-radius css variables by [@xieyezi](https://github.com/xieyezi) in [#12280](https://github.com/youzan/vant/pull/12280)
|
||||
- feat(SwipeCell): fix triggered close by clickAway when in running beforeClose by [@nined9](https://github.com/nined9) in [#12309](https://github.com/youzan/vant/pull/12309)
|
||||
- feat(AddressEdit): add change event for name and tel input by [@zhousg](https://github.com/zhousg) in [#12310](https://github.com/youzan/vant/pull/12310)
|
||||
- types(Dialog): improve showDialog return type by [@chenjiahan](https://github.com/chenjiahan) in [#12316](https://github.com/youzan/vant/pull/12316)
|
||||
|
||||
#### Bug Fixes 🐞
|
||||
|
||||
- fix(Picker): fix bug the content of the popup window is not consistent with the Chinese version under the English version by [@lllomh](https://github.com/lllomh) in [#12300](https://github.com/youzan/vant/pull/12300)
|
||||
- fix(Signature): fix checking if canvas is empty when backgroundColor is set by [@sywyyhykkk](https://github.com/sywyyhykkk) in [#12304](https://github.com/youzan/vant/pull/12304)
|
||||
- fix(FloatingPanel): dragging down causes the page to move by [@zhousg](https://github.com/zhousg) in [#12314](https://github.com/youzan/vant/pull/12314)
|
||||
|
||||
#### Document 📖
|
||||
|
||||
- docs(Picker): improve picker document by [@MrXwq](https://github.com/MrXwq) in [#12275](https://github.com/youzan/vant/pull/12275)
|
||||
- docs(Uploader): add FAQ about camera permission by [@chenjiahan](https://github.com/chenjiahan) in [#12289](https://github.com/youzan/vant/pull/12289)
|
||||
|
||||
#### Other Changes
|
||||
|
||||
- test(Dialog): enable function-call test cases by [@chenjiahan](https://github.com/chenjiahan) in [#12315](https://github.com/youzan/vant/pull/12315)
|
||||
- fix(cli): allow missing build script when releasing by [@chenjiahan](https://github.com/chenjiahan) in [#12292](https://github.com/youzan/vant/pull/12292)
|
||||
|
||||
#### New Contributors
|
||||
|
||||
- [@nined9](https://github.com/nined9) made their first contribution in [#12309](https://github.com/youzan/vant/pull/12309)
|
||||
- [@sywyyhykkk](https://github.com/sywyyhykkk) made their first contribution in [#12304](https://github.com/youzan/vant/pull/12304)
|
||||
|
||||
### v4.6.8
|
||||
|
||||
`2023-09-10`
|
||||
|
@ -19,6 +19,59 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### v4.7.0
|
||||
|
||||
`2023-09-24`
|
||||
|
||||
#### 🍭 图标更新
|
||||
|
||||
- 图标:添加一个实底的 `records` 图标
|
||||
- 图标:添加一个实底的 `contact` 图标
|
||||
- 图标:添加一个实底的 `discount` 图标
|
||||
- 图标:添加一个实底的 `completed` 图标
|
||||
- 图标:添加一个实底的 `description` 图标
|
||||
- 图标:添加一个实底的 `cash-back-record` 图标
|
||||
- 图标:添加新的 `user` 图标
|
||||
- 图标:添加新的 `notes` 图标
|
||||
- 图标:添加新的 `newspaper` 图标
|
||||
- 图标:添加新的 `list-switch` 图标
|
||||
- 图标:添加新的 `list-switching` 图标
|
||||
- 图标:将以前的 `records` 图标重命名为 `records-o`
|
||||
- 图标:将以前的 `contact` 图标重命名为 `contact-o`
|
||||
- 图标:将以前的 `discount` 图标重命名为 `discount-o`
|
||||
- 图标:将以前的 `completed` 图标重命名为 `completed-o`
|
||||
- 图标:将以前的 `description` 图标重命名为 `description-o`
|
||||
- 图标:将以前的 `cash-back-record` 图标重命名为 `cash-back-record-o`
|
||||
|
||||
#### 新功能 🎉
|
||||
|
||||
- feat(Calendar): 由 [@LadyChatterleyLover](https://github.com/LadyChatterleyLover) 在 [#12274](https://github.com/youzan/vant/pull/12274) 中添加了 `click-disabled-date` 事件
|
||||
- feat(Uploader): 由 [@xieyezi](https://github.com/xieyezi) 在 [#12280](https://github.com/youzan/vant/pull/12280) 中添加了 `--van-uploader-border-radius` CSS 变量
|
||||
- feat(SwipeCell): 由 [@nined9](https://github.com/nined9) 在 [#12309](https://github.com/youzan/vant/pull/12309) 中修复了运行 `beforeClose` 时点击外部触发关闭的问题
|
||||
- feat(AddressEdit): 由 [@zhousg](https://github.com/zhousg) 在 [#12310](https://github.com/youzan/vant/pull/12310) 中为姓名和电话输入添加了 `change` 事件
|
||||
- types(Dialog): 由 [@chenjiahan](https://github.com/chenjiahan) 在 [#12316](https://github.com/youzan/vant/pull/12316) 中改进了 `showDialog` 的返回类型
|
||||
|
||||
#### Bug 修复 🐞
|
||||
|
||||
- fix(Picker): 由 [@lllomh](https://github.com/lllomh) 在 [#12300](https://github.com/youzan/vant/pull/12300) 中修复了弹出窗口的内容与中文版本不一致的问题
|
||||
- fix(Signature): 由 [@sywyyhykkk](https://github.com/sywyyhykkk) 在 [#12304](https://github.com/youzan/vant/pull/12304) 中修复了当设置了背景颜色时检查画布是否为空的问题
|
||||
- fix(FloatingPanel): 由 [@zhousg](https://github.com/zhousg) 在 [#12314](https://github.com/youzan/vant/pull/12314) 中修复了向下拖动导致页面移动的问题
|
||||
|
||||
#### 文档 📖
|
||||
|
||||
- docs(Picker): 由 [@MrXwq](https://github.com/MrXwq) 在 [#12275](https://github.com/youzan/vant/pull/12275) 中改进了 Picker 的文档
|
||||
- docs(Uploader): 由 [@chenjiahan](https://github.com/chenjiahan) 在 [#12289](https://github.com/youzan/vant/pull/12289) 中添加了有关相机权限的常见问题解答
|
||||
|
||||
#### 其他变更
|
||||
|
||||
- test(Dialog): 由 [@chenjiahan](https://github.com/chenjiahan) 在 [#12315](https://github.com/youzan/vant/pull/12315) 中启用了函数调用测试用例
|
||||
- fix(cli): 由 [@chenjiahan](https://github.com/chenjiahan) 在 [#12292](https://github.com/youzan/vant/pull/12292) 中允许在发布时缺少构建脚本
|
||||
|
||||
#### 新贡献者
|
||||
|
||||
- [@nined9](https://github.com/nined9) 在 [#12309](https://github.com/youzan/vant/pull/12309) 中进行了首次贡献
|
||||
- [@sywyyhykkk](https://github.com/sywyyhykkk) 在 [#12304](https://github.com/youzan/vant/pull/12304) 中进行了首次贡献
|
||||
|
||||
### v4.6.8
|
||||
|
||||
`2023-09-10`
|
||||
|
@ -101,7 +101,7 @@ export default {
|
||||
| --- | --- | --- |
|
||||
| save | Emitted when the save button is clicked | _info: AddressEditInfo_ |
|
||||
| focus | Emitted when field is focused | _key: string_ |
|
||||
| change | Emitted when only the name and tel field are changed | _{key: string, value: string}_ |
|
||||
| change `v4.7.0` | Emitted when only the name and tel field are changed | _{key: string, value: string}_ |
|
||||
| delete | Emitted when confirming delete | _info: AddressEditInfo_ |
|
||||
| select-search | Emitted when a search result is selected | _value: string_ |
|
||||
| click-area | Emitted when the area field is clicked | - |
|
||||
|
@ -101,7 +101,7 @@ export default {
|
||||
| --- | --- | --- |
|
||||
| save | 点击保存按钮时触发 | _info: AddressEditInfo_ |
|
||||
| focus | 输入框聚焦时触发 | _key: string_ |
|
||||
| change | 仅 `name` 和 `tel` 输入框值改变触发 | _{key: string, value: string}_ |
|
||||
| change `v4.7.0` | 仅 `name` 和 `tel` 输入框值改变触发 | _{key: string, value: string}_ |
|
||||
| delete | 确认删除地址时触发 | _info: AddressEditInfo_ |
|
||||
| select-search | 选中搜索结果时触发 | _value: string_ |
|
||||
| click-area | 点击收件地区时触发 | - |
|
||||
|
@ -328,7 +328,7 @@ Following props are supported when the type is multiple
|
||||
| month-show | Emitted when a month enters the visible area | _value: { date: Date, title: string }_ |
|
||||
| over-range | Emitted when exceeded max range | - |
|
||||
| click-subtitle | Emitted when clicking the subtitle | _event: MouseEvent_ |
|
||||
| click-disabled-date | Emitted when clicking disabled date | _value: Date \| Date[]_ |
|
||||
| click-disabled-date `v4.7.0` | Emitted when clicking disabled date | _value: Date \| Date[]_ |
|
||||
|
||||
### Slots
|
||||
|
||||
|
@ -334,7 +334,7 @@ export default {
|
||||
| month-show | 当某个月份进入可视区域时触发 | _{ date: Date, title: string }_ |
|
||||
| over-range | 范围选择超过最多可选天数时触发 | - |
|
||||
| click-subtitle | 点击日历副标题时触发 | _event: MouseEvent_ |
|
||||
| click-disabled-date | 点击禁用日期时触发 | _value: Date \| Date[]_ |
|
||||
| click-disabled-date `v4.7.0` | 点击禁用日期时触发 | _value: Date \| Date[]_ |
|
||||
|
||||
### Slots
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user