Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.2.0
v2.2.0-beta.1
- 【Fix】
- 【Fix】
- Fixed DatePicker input illegal year causing component crash #422
- Fixed the content penetration caused by transparent background color in Notification when
theme='light'
#430 - Fixed the issue of
@charset utf-8
related warning when Vite builds CSS #403 - Fixed the problem that the data in the drop-down list is not displayed correctly after using
backSpace
to delete the selected item in Select multiple selection #444 - Fix Empty display
this.updateMode
undefined
problem when switching dark mode #452 - Fixed the responsive error reporting issue of
Safari<=13
version #442
v2.2.0-beta.0
- 【Feat】
- Timeline.Item 支持 onClick #402
- Cascader
- Upload #342
- 支持通过 ref 调用 insert 方法
- 支持 props showPicInfo
- 使用 gap 控制 FileCard 间隔
- Icon #260
- 添加 double_chevron_left,double_chevron_right 图标
- Icon 支持跟随当前上下文字体大小
- LocaleProvider 新增西班牙语语言包 @chenjunxyf
- Select 新增 inputProps ,便于用户在 filter 为 true 时可实现一些特殊功能。例如传入 onCompositionEnd,onKeyDown 事件监听等
- DatePicker #260
- 新增年份切换按钮
- 优化范围选择交互逻辑,避免出现两个面板是相同月份场景
- 【Fix】
- Select
- 修复 Select renderSelectedItem 返回的 isRenderInTag 为 false 时会报 key 的 warning 的问题 #320
- 修复 Select 搜索高亮关键字时 warning 提示 mark 标签 key 缺失的问题
- 修复 Cascader multiple+disabled 时标签样式与设计稿不符 #400
- 修复 Description type='plain' 时,key 或 itemKey 为 node 时渲染不正确的问题 #406
- 修复 Pagination 同时使用 hideOnSingePage 与 showSizeChanger 时,总页数只有1时,sizeChanger 会消失无法再切换的问题 #252
- 修复 通过 webpack plugin variables 方式定义 Select 组件 Design Token 时不生效的问题 #375 @summerstream
- 修复 Rating 组件设置 size 为 number 后 UI 错误
- 修复 Timeline 自定义 dot 水平对齐的问题 #395 @chenc041
- Select
- 【Docs】
- 完善 semi-ui package.json @chenc041
- 【Feat】
- Timeline.Item supports
onClick
#402 - Cascader
- Upload #342
- Support
ref.current.insert
method - Support props
showPicInfo
- Use
gap
to control FileCard interval
- Support
- Icon #260
- Add
double_chevron_left
,double_chevron_right
icons - Icon supports following the current context font size
- Add
- LocaleProvider added
Spanish
language pack @chenjunxyf - Select added
inputProps
, which is convenient for users to realize some special functions when filter is true. For example, incomingonCompositionEnd
,onKeyDown
event monitoring, etc. - DatePicker #260
- Add year switch buttons
- Optimize the scope selection interaction logic to avoid scenes where the two panels are the same month
- Timeline.Item supports
- 【Fix】
- Select
- Fixed the issue of key warning when
isRenderInTag
returned by SelectrenderSelectedItem
isfalse
#320 - Fixed the problem that the
mark
tagkey
is missing when the warning prompts the mark when searching for the highlighted keyword in Select
- Fixed the issue of key warning when
- Fixed that the label style does not match the design draft when Cascader is
multiple
+disabled
#400 - Fixed the problem of incorrect rendering when the key or itemKey is node when Description
type='plain'
#406 - Fixed the issue that when Pagination uses
hideOnSingePage
andshowSizeChanger
at the same time, when the total number of pages is only 1, thesizeChanger
will disappear and can no longer be switched #252 - Fixed the issue that the design token of the Select component does not take effect when defining the Select component through Webpack plugin variables #375 @summerstream
- Fixed the UI error after setting the
size
of the Rating component tonumber
- Fixed the horizontal alignment of Timeline custom dot #395 @chenc041
- Select
- 【Docs】
- Improve
semi-ui
package.json @chenc041
- Improve
v2.1.5
- 【Fix】
- 【Style】
- 修复 --overlay-bg token 命名不规范的问题。 修改为 --color-overlay-bg
- 【Fix】
- Timeline.time ts definition supports ReactNode type #359 @chenc041
- Fix the problem of Tree component onContextMenu preventing bubbling #364 @Nctdtman
- Fix the missing id of Select/Checkbox/Button #353
- Fix the problem that the definitions of Nav footer and header dts are reversed
- Fix the problem that the z-index of Table fixed cell is too small, adjusted from 1 to 101 #391
- Fixed Form Field losing ref bug when it is not given filed prop
- 【Style】
- Fix the problem that the naming of --overlay-bg token is not standardized. Modified to --color-overlay-bg
v2.1.4
- 【Fix】
- 【Fix】
- Add nativeEvent.stopImmediatePropagation to the event input parameter of Checkbox onChange callback #343
- Fix the problem that when Cascader is multi-selected, clicking Checkbox will trigger bubbling in some scenarios #343
- Fix that ButtonGroup children are not ReactElement report errors #318
- Fix Rating component half star ui error, when parent element set line-height #346
- Checkbox/Radio
v2.1.3
- 【Fix】
- 修复在源码构建过程中,替换 ImportDeclaration 中 source 的bug
- 【Fix】
- Fix the bug of replacing source in ImportDeclaration during source code building
v2.1.2
- 【Feature】
- 支持 Next.js #153
- 替换飞书Logo图标
- 【Fix】
v2.1.1
v2.1.0
- 【Fix】
- 提供 semi-icons、semi-illustrations 的 UMD 产物,解决 UMD 场景下无法使用 icon 的问题 #215
- 修复 Collapsible 组件在 content 有 margin 时展开/收起卡顿的问题 @ChelesteWang
- 【Style】
- Timeline 新增 $color-timeline_item_content-text-default Sass 变量,用于配置时间轴标题文字颜色
- 【Docs】
- 【Fix】
- Provide UMD products of semi-icons and semi-illustrations to solve the problem that icons cannot be used in UMD scenarios #215
- Fix the issue that the Collapsible component is stuck when expanding/retracting when the content has a margin @ChelesteWang
- 【Style】
- Timeline adds $color-timeline_item_content-text-default Sass variable, which is used to configure the timeline title text color
- 【Docs】
- Add a demo example of applying dark mode and bright mode to some modules #301
- Update the Table sample, use sample code that is more suitable for the usage scenario, and add notes to some common problems #315
- Added demo examples for use with Checkbox, Radio, Input, Pagination; added demo examples for drag sorting; added demo examples for keyboard response events