From fb2d74ebd4940ba996c41fb061a012bbf506b3bc Mon Sep 17 00:00:00 2001 From: Kyrielin Date: Thu, 29 Dec 2022 17:01:36 +0800 Subject: [PATCH] chore: publish 0.45.1 (#1842) * chore: publish 0.45.1 * chore: changelog's changes Co-authored-by: github-actions[bot] --- CHANGELOG.md | 9 ++ package.json | 2 +- src/_common | 2 +- src/drawer/defaultProps.ts | 1 + test/snap/__snapshots__/csr.test.jsx.snap | 170 ++++++++++++++++++++++ 5 files changed, 182 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd9054c17..afb2e2a150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ toc: false spline: explain --- +## 🌈 0.45.1 `2022-12-29` +### 🚀 Features +- `Select`: 支持选项`checkAll` 功能 @uyarn ([#1841](https://github.com/Tencent/tdesign-react/pull/1841)) + +### 🐞 Bug Fixes +- `TooltipLite`: 修复层叠上下文样式问题 @moecasts ([#1838](https://github.com/Tencent/tdesign-react/pull/1838)) +- `DatePicker`: 修复年份选择器区间错误 @honkinglin ([#1833](https://github.com/Tencent/tdesign-react/pull/1833)) +- `Table`: 修复 onPageChange 回调参数错误 @chaishi ([#1840](https://github.com/Tencent/tdesign-react/pull/1840)) + ## 🌈 0.45.0 `2022-12-22` ### ❗ Breaking Changes diff --git a/package.json b/package.json index c2fc291043..30a9927f1b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tdesign-react", "purename": "tdesign", - "version": "0.45.0", + "version": "0.45.1", "description": "TDesign Component for React", "title": "tdesign-react", "main": "lib/index.js", diff --git a/src/_common b/src/_common index b81e88fd0c..d3fe24294c 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit b81e88fd0c2d50ba4536e82b97dd18551a6d472f +Subproject commit d3fe24294cab3f2d7e822a11504db0a103a245ee diff --git a/src/drawer/defaultProps.ts b/src/drawer/defaultProps.ts index cc28c017a9..17cdbe8a41 100644 --- a/src/drawer/defaultProps.ts +++ b/src/drawer/defaultProps.ts @@ -8,6 +8,7 @@ export const drawerDefaultProps: TdDrawerProps = { closeOnEscKeydown: undefined, closeOnOverlayClick: undefined, destroyOnClose: false, + closeBtn: true, footer: true, header: true, mode: 'overlay', diff --git a/test/snap/__snapshots__/csr.test.jsx.snap b/test/snap/__snapshots__/csr.test.jsx.snap index a675faa5e4..e8ab9c1b63 100644 --- a/test/snap/__snapshots__/csr.test.jsx.snap +++ b/test/snap/__snapshots__/csr.test.jsx.snap @@ -79364,6 +79364,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/attach-parent.jsx 1`] class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -79590,6 +79607,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/attach-parent.jsx 1`] class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -79723,6 +79757,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/base.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -79867,6 +79918,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/custom.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -80083,6 +80151,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/no-mask.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -80227,6 +80312,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/operation.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -80533,6 +80635,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/placement.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -80828,6 +80947,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/popup.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -81159,6 +81295,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/size.jsx 1`] = ` class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +
@@ -81517,6 +81670,23 @@ exports[`csr snapshot test > csr test src/drawer/_example/size-draggable.jsx 1`] class="t-drawer__content-wrapper t-drawer__content-wrapper--right" style="width: 300px;" > +
+ + + +