Skip to content

Commit

Permalink
chore: publish 0.45.1 (#1842)
Browse files Browse the repository at this point in the history
* chore: publish 0.45.1

* chore: changelog's changes

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
honkinglin and github-actions[bot] authored Dec 29, 2022
1 parent 4cd6be6 commit fb2d74e
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/_common
1 change: 1 addition & 0 deletions src/drawer/defaultProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const drawerDefaultProps: TdDrawerProps = {
closeOnEscKeydown: undefined,
closeOnOverlayClick: undefined,
destroyOnClose: false,
closeBtn: true,
footer: true,
header: true,
mode: 'overlay',
Expand Down
170 changes: 170 additions & 0 deletions test/snap/__snapshots__/csr.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
/>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
/>
Expand Down Expand Up @@ -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;"
>
<div
class="t-drawer__close-btn"
>
<svg
class="t-icon t-icon-close"
fill="none"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
d="M8 8.92L11.08 12l.92-.92L8.92 8 12 4.92 11.08 4 8 7.08 4.92 4 4 4.92 7.08 8 4 11.08l.92.92L8 8.92z"
fill="currentColor"
fill-opacity="0.9"
/>
</svg>
</div>
<div
class="t-drawer__header"
/>
Expand Down

0 comments on commit fb2d74e

Please sign in to comment.