Merge pull request #48927 from ant-design/master-merge-feature

chore: merge master into feature
This commit is contained in:
MadCcc 2024-05-14 22:00:50 +08:00 committed by GitHub
commit 05f587a6ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 23 additions and 12 deletions

View File

@ -60,5 +60,9 @@ jobs:
if: ${{ failure() }}
with:
notice-types: 'dingding'
# Exit directly with non-zero to trigger the failure logic of ci-notice.
ci: |
echo "❌ CI Mock Project Build Failed"
exit 1
dingding-token: ${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
notice-title: 'CI Mock Project Build Failed'

View File

@ -54,5 +54,6 @@
"5.14.0": ["https://github.com/ant-design/ant-design/issues/47354"],
"5.15.0": ["https://github.com/ant-design/ant-design/pull/47504#issuecomment-1980459433"],
">= 5.16.0 <= 5.16.1": ["https://github.com/ant-design/ant-design/issues/48200"],
"5.16.3": ["https://github.com/ant-design/ant-design/issues/48568"]
"5.16.3": ["https://github.com/ant-design/ant-design/issues/48568"],
"5.17.1": ["https://github.com/ant-design/ant-design/issues/48913"]
}

View File

@ -16,6 +16,12 @@ tag: vVERSION
---
## 5.17.2
`2024-05-14`
- 🐞 MISC: Fix `lib` bundle mistake deps on the `es` module which break the build progress. [#48914](https://github.com/ant-design/ant-design/pull/48914)
## 5.17.1
`2024-05-14`

View File

@ -15,6 +15,12 @@ tag: vVERSION
---
## 5.17.2
`2024-05-14`
- 🐞 MISC: 修复 `lib` 产物错误引入 `es` 依赖导致构建错误的问题。[#48914](https://github.com/ant-design/ant-design/pull/48914)
## 5.17.1
`2024-05-14`

View File

@ -3,7 +3,7 @@ import classNames from 'classnames';
import CSSMotion from 'rc-motion';
import raf from 'rc-util/lib/raf';
import { render, unmount } from 'rc-util/lib/React/render';
import { composeRef } from 'rc-util/es/ref';
import { composeRef } from 'rc-util/lib/ref';
import { TARGET_CLS } from './interface';
import type { ShowWaveEffect } from './interface';
@ -129,13 +129,7 @@ const WaveEffect: React.FC<WaveEffectProps> = (props) => {
{({ className: motionClassName }, ref) => (
<div
ref={composeRef(divRef, ref)}
className={classNames(
className,
{
'wave-quick': isSmallComponent,
},
motionClassName,
)}
className={classNames(className, { 'wave-quick': isSmallComponent }, motionClassName)}
style={waveStyle}
/>
)}

View File

@ -7,7 +7,7 @@ import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
import InfoCircleFilled from '@ant-design/icons/InfoCircleFilled';
import classNames from 'classnames';
import CSSMotion from 'rc-motion';
import { composeRef } from 'rc-util/es/ref';
import { composeRef } from 'rc-util/lib/ref';
import pickAttrs from 'rc-util/lib/pickAttrs';
import type { ClosableType } from '../_util/hooks/useClosable';

View File

@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from 'react';
import VerticalAlignTopOutlined from '@ant-design/icons/VerticalAlignTopOutlined';
import classNames from 'classnames';
import CSSMotion from 'rc-motion';
import { composeRef } from 'rc-util/es/ref';
import { composeRef } from 'rc-util/lib/ref';
import getScroll from '../_util/getScroll';
import scrollTo from '../_util/scrollTo';

View File

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "5.17.1",
"version": "5.17.2",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",