Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: release 0.46.0 #1300

Merged
merged 2 commits into from
Aug 16, 2022
Merged

feat: release 0.46.0 #1300

merged 2 commits into from
Aug 16, 2022

Conversation

xiaosansiji
Copy link
Collaborator

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 16, 2022

🌈 0.46.0 2022-08-16

❗️ BREAKING CHANGES

  • Popup: overlayStyle 调整为控制 t-popup 层级,新增 overlayInnerStyle 控制 t-popup__content 层级与原先 overlayStyle 效果一致 @HQ-Lin (#1270)
  • Input/InputNumber: 错误文本提示,不再占普通用文档流;内置的 input 组件 ref 名称由 refInputElem 更为 inputRef @chaishi (#1302)

🚀 Features

  • Table: @chaishi
    • footerSummary 支持通过 Props 属性传入 (#1265)
    • 可编辑行功能,校验函数 validateRowData 和 validateTableData 返回值支持 Promise 对象 (#1275)
  • Datepicker: @HQ-Lin
    • 区间选择器结束时间调整为默认展示当天最后一秒(#1288)
    • 支持季度国际化配置 (#1267)
  • ConfigProvider: 支持通过ConfigProvider修改全部组件的classPrefix @uyarn (#1287)
  • Selectinput: disabled 状态下自动禁止 clearable 功能 @LoopZhou (#1291)
  • InputNumber: @chaishi (#1302)
    • 支持超过 16 位的大数
    • 支持 decimalformat 组合使用,即 format 新增第二个参数小数点格式化之后的值,方便大数场景应用
    • 新增事件 onValidate,当数值超过最大值或小于最小值时触发,可用于显示错误提示文本
    • 错误提示文本区域支持左侧对齐和输入框对齐两种方式, issue#1229
    • 修复在输入数值不满足条件时,没有触发 onChange 事件问题;修复计算过程中的精度问题
  • Link: 新增 Link 链接组件 @huoyuhao (#1282)
  • Icon: 新增 qq、wechat、wecom、relativity 和 pin-filled 等图标 @uyarn (#1303)

🐞 Bug Fixes

  • Table:
    • 可编辑单元格,多选和日期选择,点击下拉浮层中的内容会导致退出编辑,issue#1384 @chaishi (#1275)
    • 宽度计算函数添加注释 @ZTao-z (#1286)
  • Popup: 修复嵌套使用点击 trigger 元素时异常关闭 @ikeq (#1285)
  • Datepicker: 修复时间面板展示错误 @HQ-Lin (#1288)
  • umd: 修复 umd 版本的使用问题,具体使用方式请参考浏览器引入相关文档说明 @uyarn (#1292)
  • Tree: 修复expandOnClickNode点击展开与checkbox点击选中的冲突问题 @uyarn (#1299)
  • ColorPicker: 修复切换模式卡死问题; 修复 panel 下模式 change 事件无法触发的问题 @S-mohan (#1274)
  • DatePicker: @HQ-Lin
    • 修复输入框有值时面板切换失效问题 (#1293)
    • 修复 suffixIcon slot 写法失效问题 (#1280)

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 841 kB

ℹ️ View Unchanged
Filename Size
./dist/reset.css 1.94 kB
./dist/tdesign.css 46.8 kB
./dist/tdesign.js 490 kB
./dist/tdesign.min.css 42.7 kB
./dist/tdesign.min.js 259 kB

@github-actions
Copy link
Contributor

完成

@codecov-commenter
Copy link

Codecov Report

Merging #1300 (b5df552) into develop (492d477) will increase coverage by 0.04%.
The diff coverage is 65.85%.

@@             Coverage Diff             @@
##           develop    #1300      +/-   ##
===========================================
+ Coverage    57.94%   57.99%   +0.04%     
===========================================
  Files          407      408       +1     
  Lines        15371    15294      -77     
  Branches      2931     2902      -29     
===========================================
- Hits          8907     8870      -37     
+ Misses        6187     6148      -39     
+ Partials       277      276       -1     
Impacted Files Coverage Δ
src/calendar/const.ts 100.00% <ø> (ø)
src/cascader/cascader.tsx 64.00% <ø> (ø)
src/color-picker/color-picker.tsx 81.25% <ø> (ø)
src/date-picker/base/Header.tsx 7.57% <0.00%> (-0.37%) ⬇️
src/date-picker/date-picker-panel-props.ts 100.00% <ø> (+90.00%) ⬆️
src/date-picker/date-range-picker-panel-props.ts 100.00% <ø> (+90.90%) ⬆️
src/date-picker/date-range-picker-props.ts 42.85% <0.00%> (-11.69%) ⬇️
src/date-picker/hooks/useRange.ts 35.89% <ø> (ø)
src/date-picker/hooks/useSingle.ts 37.28% <ø> (ø)
src/date-picker/hooks/useTableData.ts 17.64% <ø> (ø)
... and 140 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@uyarn uyarn merged commit a6be04a into develop Aug 16, 2022
@uyarn uyarn deleted the release/0.46.0 branch August 16, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants