Skip to content

Commit

Permalink
Release version 2.48.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterLuffy committed May 19, 2023
1 parent 0f73444 commit f64e4b5
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 3 deletions.
8 changes: 8 additions & 0 deletions components/Drawer/__changelog__/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 BugFix

- Fix the bug that internal popup component `zIndex` is calculated incorrectly when `Drawer` is mounted for the first time.([#1977](https://github.com/arco-design/arco-design/pull/1977))

## 2.46.3

2023-04-07
Expand Down
8 changes: 8 additions & 0 deletions components/Drawer/__changelog__/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 问题修复

- 修复 `Drawer` 第一次挂载时,内部弹出型组件 `zIndex` 计算错误的 bug.([#1977](https://github.com/arco-design/arco-design/pull/1977))

## 2.46.3

2023-04-07
Expand Down
8 changes: 8 additions & 0 deletions components/Image/__changelog__/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 BugFix

- Fix the bug that the component UI is not actually updated after the `Image.previewProps` field is updated.([#1976](https://github.com/arco-design/arco-design/pull/1976))

## 2.47.0

2023-04-14
Expand Down
8 changes: 8 additions & 0 deletions components/Image/__changelog__/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 问题修复

- 修复 `Image.previewProps` 字段更新后组件 UI 实际未更新的 bug。([#1976](https://github.com/arco-design/arco-design/pull/1976))

## 2.47.0

2023-04-14
Expand Down
2 changes: 1 addition & 1 deletion components/Image/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function Image(baseProps: ImagePropsType, ref: LegacyRef<HTMLDivElement>) {
if (!previewGroup) return;
const unRegister = registerPreviewProps(id, availablePreviewProps);
return () => unRegister(id);
}, [id, previewGroup, availablePreviewProps]);
}, [id, previewGroup, JSON.stringify(availablePreviewProps)]);

useEffect(() => {
if (!previewGroup) return;
Expand Down
8 changes: 8 additions & 0 deletions components/Modal/__changelog__/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 BugFix

- Fix the bug that internal popup component `zIndex` is calculated incorrectly when `Modal` is mounted for the first time.([#1977](https://github.com/arco-design/arco-design/pull/1977))

## 2.42.1

2022-12-02
Expand Down
8 changes: 8 additions & 0 deletions components/Modal/__changelog__/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.48.1

2023-05-19

### 🐛 问题修复

- 修复 `Modal` 第一次挂载时,内部弹出型组件 `Modal` 计算错误的 bug.([#1977](https://github.com/arco-design/arco-design/pull/1977))

## 2.42.1

2022-12-02
Expand Down
2 changes: 1 addition & 1 deletion components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ export { default as Mentions } from './Mentions';
export type { ImageProps, ImagePreviewProps, ImagePreviewActionProps, ImagePreviewGroupProps } from './Image/interface';
export { default as Image } from './Image';

export const version = '2.48.0';
export const version = '2.48.1';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arco-design/web-react",
"version": "2.48.0",
"version": "2.48.1",
"description": "Arco Design React UI Library.",
"module": "./es/index.js",
"main": "./lib/index.js",
Expand Down
10 changes: 10 additions & 0 deletions site/docs/version_v2.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
changelog: true
---

## 2.48.1

2023-05-19

### 🐛 BugFix

- Fix the bug that internal popup component `zIndex` is calculated incorrectly when `Drawer` is mounted for the first time.([#1977](https://github.com/arco-design/arco-design/pull/1977))
- Fix the bug that internal popup component `zIndex` is calculated incorrectly when `Modal` is mounted for the first time.([#1977](https://github.com/arco-design/arco-design/pull/1977))
- Fix the bug that the component UI is not actually updated after the `Image.previewProps` field is updated.([#1976](https://github.com/arco-design/arco-design/pull/1976))

## 2.48.0

2023-05-12
Expand Down
10 changes: 10 additions & 0 deletions site/docs/version_v2.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
changelog: true
---

## 2.48.1

2023-05-19

### 🐛 问题修复

- 修复 `Drawer` 第一次挂载时,内部弹出型组件 `zIndex` 计算错误的 bug。([#1977](https://github.com/arco-design/arco-design/pull/1977))
- 修复 `Modal` 第一次挂载时,内部弹出型组件 `Modal` 计算错误的 bug。([#1977](https://github.com/arco-design/arco-design/pull/1977))
- 修复 `Image.previewProps` 字段更新后组件 UI 实际未更新的 bug。([#1976](https://github.com/arco-design/arco-design/pull/1976))

## 2.48.0

2023-05-12
Expand Down

0 comments on commit f64e4b5

Please sign in to comment.