From 5e771d6a98e588f12186ca839e9115e8e3097331 Mon Sep 17 00:00:00 2001 From: yinkaihui Date: Fri, 26 Apr 2024 18:28:38 +0800 Subject: [PATCH] Release version 2.62.0 --- .../ColorPicker/__changelog__/index.en-US.md | 8 +++++++ .../ColorPicker/__changelog__/index.zh-CN.md | 8 +++++++ components/Image/README.en-US.md | 4 ++-- components/Image/README.zh-CN.md | 4 ++-- .../InputTag/__changelog__/index.en-US.md | 8 +++++++ .../InputTag/__changelog__/index.zh-CN.md | 8 +++++++ .../Message/__changelog__/index.en-US.md | 8 +++++++ .../Message/__changelog__/index.zh-CN.md | 8 +++++++ components/Radio/README.en-US.md | 1 - components/Radio/README.zh-CN.md | 1 - components/Radio/__changelog__/index.en-US.md | 8 +++++++ components/Radio/__changelog__/index.zh-CN.md | 8 +++++++ .../Select/__changelog__/index.en-US.md | 12 ++++++++++ .../Select/__changelog__/index.zh-CN.md | 12 ++++++++++ .../Slider/__changelog__/index.en-US.md | 8 +++++++ .../Slider/__changelog__/index.zh-CN.md | 8 +++++++ components/Tabs/__changelog__/index.en-US.md | 8 +++++++ components/Tabs/__changelog__/index.zh-CN.md | 8 +++++++ .../Typography/__changelog__/index.en-US.md | 8 +++++++ .../Typography/__changelog__/index.zh-CN.md | 8 +++++++ components/index.tsx | 2 +- package.json | 2 +- site/docs/version_v2.en-US.md | 22 +++++++++++++++++++ site/docs/version_v2.zh-CN.md | 22 +++++++++++++++++++ 24 files changed, 186 insertions(+), 8 deletions(-) diff --git a/components/ColorPicker/__changelog__/index.en-US.md b/components/ColorPicker/__changelog__/index.en-US.md index e98c8abd75..c49c175365 100644 --- a/components/ColorPicker/__changelog__/index.en-US.md +++ b/components/ColorPicker/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 Feature + +- `ColorPicker` component adds `onChangeComplete` and `renderFooter` properties([#2633](https://github.com/arco-design/arco-design/pull/2633)) + ## 2.60.0 2024-02-23 diff --git a/components/ColorPicker/__changelog__/index.zh-CN.md b/components/ColorPicker/__changelog__/index.zh-CN.md index ccb3bf1b02..88804e3141 100644 --- a/components/ColorPicker/__changelog__/index.zh-CN.md +++ b/components/ColorPicker/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 功能升级 + +- `ColorPicker` 组件增加 `onChangeComplete` 和 `renderFooter` 属性([#2633](https://github.com/arco-design/arco-design/pull/2633)) + ## 2.60.0 2024-02-23 diff --git a/components/Image/README.en-US.md b/components/Image/README.en-US.md index 2604dca999..44f66bb6fe 100644 --- a/components/Image/README.en-US.md +++ b/components/Image/README.en-US.md @@ -30,11 +30,11 @@ Show and preview pictures. |height|Image height|string \| number |`-`|-| |lazyload|lazyload loading [Intersection_Observer](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API)|boolean \| IntersectionObserverInit |`-`|2.47.0| |loaderClassName|The style of the loader, will override the default transition effect|string \| string[] |`-`|-| +|onError|Triggered when image loading fails|(ev: SyntheticEvent<HTMLImageElement>) => void |`-`|-| +|onLoad|Triggered when the image is loaded|(ev: SyntheticEvent<HTMLImageElement>) => void |`-`|-| |previewProps|Preview options (all options are optional) [ImagePreviewProps](#imagepreview)|PartialImagePreviewProps |`-`|-| |style|Additional style|CSSProperties |`-`|-| |width|Image width|string \| number |`-`|-| -|onError|Triggered when image loading fails|(ev: Event) => void |`-`|-| -|onLoad|Triggered when the image is loaded|(ev: Event) => void |`-`|-| ### Image.Preview diff --git a/components/Image/README.zh-CN.md b/components/Image/README.zh-CN.md index a497715ef7..5f804cc043 100644 --- a/components/Image/README.zh-CN.md +++ b/components/Image/README.zh-CN.md @@ -30,11 +30,11 @@ |height|图片显示高度|string \| number |`-`|-| |lazyload|开启懒加载 [Intersection_Observer](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API)|boolean \| IntersectionObserverInit |`-`|2.47.0| |loaderClassName|loader 的样式,将覆盖默认过渡效果|string \| string[] |`-`|-| +|onError|图片加载失败时触发|(ev: SyntheticEvent<HTMLImageElement>) => void |`-`|-| +|onLoad|图片加载完成时触发|(ev: SyntheticEvent<HTMLImageElement>) => void |`-`|-| |previewProps|预览的配置项 (所有选项都是可选的)[ImagePreviewProps](#imagepreview)|PartialImagePreviewProps |`-`|-| |style|节点样式|CSSProperties |`-`|-| |width|图片显示宽度|string \| number |`-`|-| -|onError|图片加载失败时触发|(ev: Event) => void |`-`|-| -|onLoad|图片加载完成时触发|(ev: Event) => void |`-`|-| ### Image.Preview diff --git a/components/InputTag/__changelog__/index.en-US.md b/components/InputTag/__changelog__/index.en-US.md index da897e6269..c0f6a90ed7 100644 --- a/components/InputTag/__changelog__/index.en-US.md +++ b/components/InputTag/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 Feature + +- `InputTag` supports responsive Tag number([#2656](https://github.com/arco-design/arco-design/pull/2656)) + ## 2.59.0 2024-01-19 diff --git a/components/InputTag/__changelog__/index.zh-CN.md b/components/InputTag/__changelog__/index.zh-CN.md index fd37b6afdd..0b52e3b10f 100644 --- a/components/InputTag/__changelog__/index.zh-CN.md +++ b/components/InputTag/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 功能升级 + +- `InputTag` 支持响应式 Tag 数([#2656](https://github.com/arco-design/arco-design/pull/2656)) + ## 2.59.0 2024-01-19 diff --git a/components/Message/__changelog__/index.en-US.md b/components/Message/__changelog__/index.en-US.md index 61bc90ee8f..92a76ac301 100644 --- a/components/Message/__changelog__/index.en-US.md +++ b/components/Message/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 Feature + +- `Message.config` supports `closable` parameter([#2659](https://github.com/arco-design/arco-design/pull/2659)) + ## 2.58.0 2023-12-29 diff --git a/components/Message/__changelog__/index.zh-CN.md b/components/Message/__changelog__/index.zh-CN.md index fe3f3c47db..8aee85f426 100644 --- a/components/Message/__changelog__/index.zh-CN.md +++ b/components/Message/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🆕 功能升级 + +- `Message.config` 支持 `closable` 参数([#2659](https://github.com/arco-design/arco-design/pull/2659)) + ## 2.58.0 2023-12-29 diff --git a/components/Radio/README.en-US.md b/components/Radio/README.en-US.md index 22e63e88eb..61eed49a78 100644 --- a/components/Radio/README.en-US.md +++ b/components/Radio/README.en-US.md @@ -28,7 +28,6 @@ In a set of related and mutually exclusive data, the user can only select one op |---|---|---|---| |disabled|disabled|boolean |`-`| |name|`Radio`'s name attr|string |`-`| -|disabled|Whether to disable all radios in the group|boolean |`-`| |direction|Arrangement direction|'vertical' \| 'horizontal' |`horizontal`| |size|The size of radio button style(Only effective under `button` type)|'small' \| 'default' \| 'large' \| 'mini' |`-`| |type|type of `Radio`|'radio' \| 'button' |`radio`| diff --git a/components/Radio/README.zh-CN.md b/components/Radio/README.zh-CN.md index f419a11022..49b1f58763 100644 --- a/components/Radio/README.zh-CN.md +++ b/components/Radio/README.zh-CN.md @@ -28,7 +28,6 @@ |---|---|---|---| |disabled|禁用|boolean |`-`| |name|`Radio` 的 name|string |`-`| -|disabled|禁用所有子单选器|boolean |`-`| |direction|方向|'vertical' \| 'horizontal' |`horizontal`| |size|按钮类型的单选框尺寸(只在按钮类型下生效)|'small' \| 'default' \| 'large' \| 'mini' |`-`| |type|单选的类型,是单选还是按钮|'radio' \| 'button' |`radio`| diff --git a/components/Radio/__changelog__/index.en-US.md b/components/Radio/__changelog__/index.en-US.md index 504292d40e..680ee1af1f 100644 --- a/components/Radio/__changelog__/index.en-US.md +++ b/components/Radio/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 BugFix + +- Fixed the issue where the `disabled` configuration of the internal Radio is invalid after `Radio.Group` is set to disabled.([#2653](https://github.com/arco-design/arco-design/pull/2653)) + ## 2.51.0 2023-07-28 diff --git a/components/Radio/__changelog__/index.zh-CN.md b/components/Radio/__changelog__/index.zh-CN.md index e299498cca..41fceeb974 100644 --- a/components/Radio/__changelog__/index.zh-CN.md +++ b/components/Radio/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 问题修复 + +- 修复 `Radio.Group` 设置 disabled 后,内部 Radio 的 `disabled` 配置无效的问题 。([#2653](https://github.com/arco-design/arco-design/pull/2653)) + ## 2.51.0 2023-07-28 diff --git a/components/Select/__changelog__/index.en-US.md b/components/Select/__changelog__/index.en-US.md index 6eba193a6e..3289674af6 100644 --- a/components/Select/__changelog__/index.en-US.md +++ b/components/Select/__changelog__/index.en-US.md @@ -1,3 +1,15 @@ +## 2.62.0 + +2024-04-26 + +### 💎 Enhancement + +- Optimize `Select` component focus control([#2657](https://github.com/arco-design/arco-design/pull/2657)) + +### 🆕 Feature + +- `Select` supports responsive Tag number([#2656](https://github.com/arco-design/arco-design/pull/2656)) + ## 2.60.2 2024-03-01 diff --git a/components/Select/__changelog__/index.zh-CN.md b/components/Select/__changelog__/index.zh-CN.md index b9175135bd..9eff37b628 100644 --- a/components/Select/__changelog__/index.zh-CN.md +++ b/components/Select/__changelog__/index.zh-CN.md @@ -1,3 +1,15 @@ +## 2.62.0 + +2024-04-26 + +### 💎 功能优化 + +- 优化 `Select` 组件焦点控制([#2657](https://github.com/arco-design/arco-design/pull/2657)) + +### 🆕 功能升级 + +- `Select` 支持响应式 Tag 数([#2656](https://github.com/arco-design/arco-design/pull/2656)) + ## 2.60.2 2024-03-01 diff --git a/components/Slider/__changelog__/index.en-US.md b/components/Slider/__changelog__/index.en-US.md index f243bb514e..8fae16203d 100644 --- a/components/Slider/__changelog__/index.en-US.md +++ b/components/Slider/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 BugFix + +- Fixed the issue where entering a minus sign in the Slider component triggered an onChange value of NaN.([#2660](https://github.com/arco-design/arco-design/pull/2660)) + ## 2.61.0 2024-03-15 diff --git a/components/Slider/__changelog__/index.zh-CN.md b/components/Slider/__changelog__/index.zh-CN.md index 98cd847099..b629019a6d 100644 --- a/components/Slider/__changelog__/index.zh-CN.md +++ b/components/Slider/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 问题修复 + +- 修复`Slider`组件输入负号触发`onChange`的值为`NaN`的问题。([#2660](https://github.com/arco-design/arco-design/pull/2660)) + ## 2.61.0 2024-03-15 diff --git a/components/Tabs/__changelog__/index.en-US.md b/components/Tabs/__changelog__/index.en-US.md index 2534e1deba..76608c6eca 100644 --- a/components/Tabs/__changelog__/index.en-US.md +++ b/components/Tabs/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 BugFix + +- Fixed the issue where the ref reference in the Tabs component could be null.([#2660](https://github.com/arco-design/arco-design/pull/2660)) + ## 2.60.2 2024-03-01 diff --git a/components/Tabs/__changelog__/index.zh-CN.md b/components/Tabs/__changelog__/index.zh-CN.md index cd3eac9b42..f70baf36ce 100644 --- a/components/Tabs/__changelog__/index.zh-CN.md +++ b/components/Tabs/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 问题修复 + +- 修复`Tabs`组件的`ref`引用可能为`null`的问题。([#2660](https://github.com/arco-design/arco-design/pull/2660)) + ## 2.60.2 2024-03-01 diff --git a/components/Typography/__changelog__/index.en-US.md b/components/Typography/__changelog__/index.en-US.md index 830a7405b2..4d224daa22 100644 --- a/components/Typography/__changelog__/index.en-US.md +++ b/components/Typography/__changelog__/index.en-US.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 BugFix + +- Fix the problem that `Typography.Ellipsis` is not displayed in safari. Due to environmental differences, compatibility is displayed under safari.([#2662](https://github.com/arco-design/arco-design/pull/2662)) + ## 2.61.0 2024-03-15 diff --git a/components/Typography/__changelog__/index.zh-CN.md b/components/Typography/__changelog__/index.zh-CN.md index c90436c6bc..29598a1a7e 100644 --- a/components/Typography/__changelog__/index.zh-CN.md +++ b/components/Typography/__changelog__/index.zh-CN.md @@ -1,3 +1,11 @@ +## 2.62.0 + +2024-04-26 + +### 🐛 问题修复 + +- 修复 `Typography.Ellipsis` 在 safari 下不显示的问题。因环境差异, safari 下为兼容显示([#2662](https://github.com/arco-design/arco-design/pull/2662)) + ## 2.61.0 2024-03-15 diff --git a/components/index.tsx b/components/index.tsx index cf3753c36c..57b9ad6ac9 100644 --- a/components/index.tsx +++ b/components/index.tsx @@ -229,5 +229,5 @@ export { default as Watermark } from './Watermark'; export type { ImageProps, ImagePreviewProps, ImagePreviewActionProps, ImagePreviewGroupProps } from './Image/interface'; export { default as Image } from './Image'; -export const version = '2.61.3'; +export const version = '2.62.0'; diff --git a/package.json b/package.json index b7ad4c5e0e..25acd2c388 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arco-design/web-react", - "version": "2.61.3", + "version": "2.62.0", "description": "Arco Design React UI Library.", "module": "./es/index.js", "main": "./lib/index.js", diff --git a/site/docs/version_v2.en-US.md b/site/docs/version_v2.en-US.md index 76c5198151..afd5a8fb4a 100644 --- a/site/docs/version_v2.en-US.md +++ b/site/docs/version_v2.en-US.md @@ -2,6 +2,28 @@ changelog: true --- +## 2.62.0 + +2024-04-26 + +### 💎 Enhancement + +- Optimize `Select` component focus control([#2657](https://github.com/arco-design/arco-design/pull/2657)) + +### 🆕 Feature + +- `Message.config` supports `closable` parameter([#2659](https://github.com/arco-design/arco-design/pull/2659)) +- `Select` supports responsive Tag number([#2656](https://github.com/arco-design/arco-design/pull/2656)) +- `InputTag` supports responsive Tag number([#2656](https://github.com/arco-design/arco-design/pull/2656)) +- `ColorPicker` component adds `onChangeComplete` and `renderFooter` properties([#2633](https://github.com/arco-design/arco-design/pull/2633)) + +### 🐛 BugFix + +- Fix the problem that `Typography.Ellipsis` is not displayed in safari. Due to environmental differences, compatibility is displayed under safari.([#2662](https://github.com/arco-design/arco-design/pull/2662)) +- Fixed the issue where entering a minus sign in the Slider component triggered an onChange value of NaN.([#2660](https://github.com/arco-design/arco-design/pull/2660)) +- Fixed the issue where the ref reference in the Tabs component could be null.([#2660](https://github.com/arco-design/arco-design/pull/2660)) +- Fixed the issue where the `disabled` configuration of the internal Radio is invalid after `Radio.Group` is set to disabled.([#2653](https://github.com/arco-design/arco-design/pull/2653)) + ## 2.61.3 2024-04-12 diff --git a/site/docs/version_v2.zh-CN.md b/site/docs/version_v2.zh-CN.md index 1827ae98f5..b642c4db3c 100644 --- a/site/docs/version_v2.zh-CN.md +++ b/site/docs/version_v2.zh-CN.md @@ -2,6 +2,28 @@ changelog: true --- +## 2.62.0 + +2024-04-26 + +### 💎 功能优化 + +- 优化 `Select` 组件焦点控制([#2657](https://github.com/arco-design/arco-design/pull/2657)) + +### 🆕 功能升级 + +- `Message.config` 支持 `closable` 参数([#2659](https://github.com/arco-design/arco-design/pull/2659)) +- `Select` 支持响应式 Tag 数([#2656](https://github.com/arco-design/arco-design/pull/2656)) +- `InputTag` 支持响应式 Tag 数([#2656](https://github.com/arco-design/arco-design/pull/2656)) +- `ColorPicker` 组件增加 `onChangeComplete` 和 `renderFooter` 属性([#2633](https://github.com/arco-design/arco-design/pull/2633)) + +### 🐛 问题修复 + +- 修复 `Typography.Ellipsis` 在 safari 下不显示的问题。因环境差异, safari 下为兼容显示([#2662](https://github.com/arco-design/arco-design/pull/2662)) +- 修复`Slider`组件输入负号触发`onChange`的值为`NaN`的问题。([#2660](https://github.com/arco-design/arco-design/pull/2660)) +- 修复`Tabs`组件的`ref`引用可能为`null`的问题。([#2660](https://github.com/arco-design/arco-design/pull/2660)) +- 修复 `Radio.Group` 设置 disabled 后,内部 Radio 的 `disabled` 配置无效的问题 。([#2653](https://github.com/arco-design/arco-design/pull/2653)) + ## 2.61.3 2024-04-12