Fac v0.3.3
feffery-antd-components v0.3.3
Update Date: 2024-08-30
New Features
- Component copy language switch
- For all components with the parameter
locale
, a new German language option'de-de'
has been added @deadkex @CNFeffery
- For all components with the parameter
- Color picker component
AntdColorPicker
- A new base class parameter
locale
has been added for switching the language of the component's copy @CNFeffery
- A new base class parameter
- One-time password input component
AntdOTP
- A new feature class parameter
mask
has been added for setting a mask on the input content @insistence
- A new feature class parameter
- Tree selection component
AntdTreeSelect
- A new feature class parameter
suffixIcon
has been added for setting a suffix icon in the input box @insistence - A new feature class parameter
switcherIcon
has been added, which can be used in conjunction with theantd-*
icons in AntdIcon for customizing the tree node expansion icon @insistence - A new feature class parameter
maxTagPlaceholder
has been added for setting alternative placeholder content when hiding selected tag labels @insistence - A new feature class parameter
maxTagTextLength
has been added for setting the maximum length of the text displayed for selected tag labels @insistence
- A new feature class parameter
Bug Fixes
- Fixed the issue where there was an exception in the
.map
file requests in the background running logs under the condition of non-debug mode + browser developer tools open @CNFeffery - Updated the minimum dependency version of the underlying
dayjs
to1.11.13
, thereby fixing the issue with the custom format of "week" in date selection related components @CNFeffery
feffery-antd-components v0.3.3
更新时间:2024-08-30
新增功能
- 组件文案语种切换
- 针对所有具有参数
locale
的组件,新增'de-de'
德语语种选项 @deadkex @CNFeffery
- 针对所有具有参数
- 颜色选择组件
AntdColorPicker
- 新增基础类参数
locale
,用于切换组件文案语种 @CNFeffery
- 新增基础类参数
- 一次性密码框组件
AntdOTP
- 新增功能类参数
mask
,用于为已输入内容设置遮罩 @insistence
- 新增功能类参数
- 树选择组件
AntdTreeSelect
- 新增功能类参数
sufficIcon
,用于设置输入框内嵌后缀图标 @insistence - 新增功能类参数
switcherIcon
,可配合AntdIcon中的antd-*
图标进行树节点展开图标的自定义 @insistence - 新增功能类参数
maxTagPlaceholder
,用于设置隐藏已选项标签时的替代占位内容 @insistence - 新增功能类参数
maxTagTextLength
,用于设置至多显示的已选项标签文本长度 @insistence
- 新增功能类参数
修复问题
- 解决了非
debug
模式+浏览器开发者工具打开的条件下,后台运行日志中.map
文件请求异常的问题 @CNFeffery - 更新底层
dayjs
最低依赖版本至1.11.13
,从而修复了日期选择相关组件中“周”自定义格式异常的问题 @CNFeffery