v3.10.0
What's Changed
Exciting New Features 🎉
- feat(pop-editor): Add custom events when the edit box pops up fix #268 by @yuanningning in #315
- feat(ip-address): Changing the IPv6 type of the ipAddress component close #272 by @yuanningning in #337
- feat(filter-panel): Add FilterPanel component
- feat(dialog-select): Add DialogSelect component
- feat(infinite-scroll): Add InfiniteScroll component
- feat(tag-group): Add TagGroup component
- feat(docs): Add sample composition-api to the official website, which supports switching between composition-api and option-api
- feat(docs): Component demo supports playground
- feat(grid): The table adds a quick filter panel, which can support multi-box filtering and date filtering, as well as allowing users to configure default filter items
- feat(grid): The table sort button defaults to the XDesign latest specification icon
- feat(grid): Table hints now support custom tooltip content display, string or jsx
- feat(tree-menu): The new setting of TreeMenu and the method of getting the currently selected node
- feat(tree-menu): Add collapsible feature in tree menu
- feat(tree): Add connector settings for Tree
- feat(timeline-item): Add TimelineItem component
- feat(modal): Modal supports configuration of bottom button props and text
- feat(button-group): Button group adds a single disabled feature
- feat(alert): Add close slot to realize external control to show or hide
- feat(alert): The component icon is not centered vertically and fixed positioning is adopted
- feat(time-picker): Support setting step size
step
- feat(date-picker): Add label-inside feature
label
- feat(date-picker): Support setting the step size of time selection
step
- feat(date-picker): Support the display of weeks
show-week-number
- feat(date-picker): Support filter mode
shape="filter"
- feat(date-picker): Support years and yearrange type
type="years" | type="yearrange"
- feat(date-picker): Support startFrom and endAt type in picker-options
type: 'startFrom' | type: 'endAt'
Bug Fixes 🐛
- fix(numeric): Fixed the problem that the value of max could not be taken when the current value + step > max by @Huangyilin19 in #297
- fix(grid): Fixed abnormal style in table components when columns were frozen and there was no scroll bar by @zzcr in #298
- fix(button): Fixed naive button icon disabled color by @gimmyhehe in #299
- fix(grid): Fixed the wrong style of the table filter panel and fixed the warning problem of ResizeObserver,api in the local environment of webpack by @zzcr in #305
- fix(theme): Remove styles from container, layout by @shenjunjian in #306
- fix(vue-theme): fix
@apply
in textarea component by @shenjunjian in #319 - fix(input): Fixed input that disabled does not take effect in the form bug by @gimmyhehe in #322
- fix(checkbox): Fixed that bug is not displayed when checkbox label is 0 by @gimmyhehe in #331
- fix(select): Fixed the problem of calculating the height of the Select component and creating an item incorrectly. by @MomoPoppy in #358
- fix(carousel): adjust arrow circle width to 28px by @lyx-jay in #376
- fix(drawer): mask disappear faster than content by @lyx-jay in #375
- fix(badge): same content display duplicate by @lyx-jay in #382
- fix: fix ts declaration error when execute pnpm build:ui vue command by @kagol in #386
- fix(grid): Fixed table freeze column display exception in x-design specification
- fix(grid): Fix table freeze column when table has vertical scroll bar
- fix(grid): In the case of fixing the table fetchdata, the table data is processed twice
- fix(tree): Fixed an issue where isEmpty attributes did not respond to changes after node data changes
- fix(button-group): XDesign theme naive button font color fix
- fix(input): Fixed bug where input does not take effect when the form is disabled
- fix(popover): Avoid hide events triggered during initial loading
- fix(dialog-box): If you don't add class to body, you can avoid page jitter.
- fix(tabs): Uninitialize the assignment, fix the display problem beyond the tab bar, and optimize more pop-up boxes
- fix(icons): Optimize the custom width and color of the icon section
- fix(theme): Automatically refresh the page after canceling the theme switch
- fix(anchor): Fixed anchor point to get data asynchronously to monitor bug and increase the effect of switching animation.
- fix(dropdown): Fixed settings arrow display does not take effect
- fix(select): Fix the problem that the component initializes the scene where the entry is created, sets option and value at the same time, and automatically creates matching items.
- fix(select): Fixed the problem of incorrect calculation of input box height when select components selected multiple rows.
- fix(popEditor): Fixed a problem where the content was hidden when the edit box was closed
Other Changes
- perf(tooltip): tooltip performance optimization by @shenjunjian in #368
- chore(row): Restore the style in the example in demo by @shenjunjian in #311
- feat(pnpm-lock): Add pnpm-lock to git repo by @zzcr in #320
- feat(button): Perfect unit testing by @chenqifeng66 in #364
- test(alert): add alert unit test by @Zz-ZzzZ in #369
- docs(tag): Add flexible use of tags to go beyond hiding and show title examples
Exciting New Features 🎉
- feat(pop-editor): 当编辑框弹出时添加自定义事件 fix #268 by @yuanningning in #315
- feat(ip-address): 更改ipAddress组件的IPv6类型 close #272 by @yuanningning in #337
- feat(filter-panel): 新增过滤器面板组件
- feat(dialog-select): 新增 DialogSelect 组件
- feat(infinite-scroll): 新增 InfiniteScroll 无限滚动组件
- feat(tag-group): 新增 TagGroup 标签组组件
- feat(docs): 官网添加示例composition-api写法,支持切换composition-api和option-api
- feat(docs): 组件demo支持playground
- feat(grid): 表格增加快捷筛选面板,可以支持多选框筛选和日期筛选 ,同时支持用户配置默认筛选项
- feat(grid): 表格排序按钮默认为x-design最新规范图标
- feat(grid): 表格提示现在支持自定义tooltip内容显示,支持字符串或者jsx
- feat(tree-menu): TreeMenu新增设置与获取当前选中节点的方法
- feat(tree-menu): 树形菜单新增可折叠特性
- feat(tree): Tree新增连接线设置
- feat(timeline-item): 新增timeline-item组件
- feat(modal): modal支持配置底部按钮props与文字
- feat(button-group): 按钮组新增单个disabled特性
- feat(alert): 新增close插槽,实现外部控制显示或隐藏
- feat(alert): 组件图标取消垂直居中,采用固定定位
- feat(time-picker): 支持设置步长
step
- feat(date-picker): 增加 label 内置功能
label
- feat(date-picker): 支持设置时间选择的步长
step
- feat(date-picker): 支持显示周次
show-week-number
- feat(date-picker): 支持过滤器模式
shape="filter"
- feat(date-picker): 支持年份多选和年份范围选择
type="years" | type="yearrange"
- feat(date-picker): 支持某日起始/某日为止功能
type: 'startFrom'
Bug Fixes 🐛
- fix(numeric): 修复当前值+Step>max时不能取max的问题 by @Huangyilin19 in #297
- fix(grid): 修复了列冻结且没有滚动条时表格组件中的异常样式 by @zzcr in #298
- fix(button): 修复了朴素按钮图标禁用颜色的问题 by @gimmyhehe in #299
- fix(grid): 修复了表过滤器面板的错误样式,修复了webpack本地环境下ResizeWatch接口的警告问题 by @zzcr in #305
- fix(theme): 从容器、布局中删除样式 by @shenjunjian in #306
- fix(vue-theme): 在文本区域组件中修复
@apply
by @shenjunjian in #319 - fix(input): 修复了禁用的输入在表单错误中不生效的问题 by @gimmyhehe in #322
- fix(checkbox): 修复了复选框标签为0时不显示错误的问题 by @gimmyhehe in #331
- fix(select): 修复了计算选择组件的高度和错误创建项目的问题 by @MomoPoppy in #358
- fix(carousel): 将箭头圆宽度调整为28px by @lyx-jay in #376
- fix(drawer): 蒙版消失的速度比内容更快 by @lyx-jay in #375
- fix(badge): 修复显示重复内容的问题 by @lyx-jay in #382
- fix: 修复了执行 pnpm build:ui vue 命令时的ts声明错误 by @kagol in #386
- fix(grid): 修复表格冻结列在x-design规范显示异常问题
- fix(grid): 修复表格冻结列在表格有纵向滚动条时
- fix(grid):修复表格fetchdata情况下,表格数据被处理两次问题
- fix(tree): 修复isEmpty属性在节点数据变化后没响应变化的问题
- fix(button-group): XDesign主题朴素按钮字体颜色修复
- fix(input): 修复input在表单禁用状态时不生效bug
- fix(popover): 避免初始加载时,触发的hide事件
- fix(dialog-box): 不在body上增加class,可以避免引起的页面抖动
- fix(tabs): 取消初始化赋值,修复超出页签栏显示问题,优化更多弹出框
- fix(icons): 优化图标部分的自定义宽度和颜色
- fix(theme): 取消主题切换后自动刷新页面
- fix(anchor): 修复锚点异步获取数据导致监听bug,增加切换动画效果
- fix(dropdown): 修复设置箭头显示不生效
- fix(select): 修复组件初始化创建条目的场景,同时设置option 和value,有匹配项却自动创建的问题
- fix(select): 修复 select 组件多选多行时input框高度计算有误的问题
- fix(popEditor): 编辑框关闭时先隐藏了内容的问题
Other Changes
- perf(tooltip): Tooltip 组件性能优化 by @shenjunjian in #368
- chore(row): 恢复演示示例中的样式 by @shenjunjian in #311
- feat(pnpm-lock): 添加 pnpm-lock.ymal 文件 by @zzcr in #320
- feat(button): 完善单元测试 by @chenqifeng66 in #364
- test(alert): 增加 Alert 组件单元测试 by @Zz-ZzzZ in #369
- docs(tag): 增加标签灵活用法,超出隐藏,显示title示例
New Contributors
- @gimmyhehe made their first contribution in #299
- @chenqifeng66 made their first contribution in #364
- @Zz-ZzzZ made their first contribution in #369
- @lyx-jay made their first contribution in #376
Full Changelog: v3.9.0...v3.10.0