forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: auto merge branches (ant-design#52611)
chore: sync feature into next
- Loading branch information
Showing
63 changed files
with
340 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('affix demo a11y', () => { | ||
accessibilityDemoTest('affix'); | ||
}); | ||
accessibilityDemoTest('affix'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('alert demo a11y', () => { | ||
accessibilityDemoTest('alert', { disabledRules: ['button-name'] }); | ||
}); | ||
accessibilityDemoTest('alert', { disabledRules: ['button-name'] }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('anchor demo a11y', () => { | ||
accessibilityDemoTest('anchor'); | ||
}); | ||
accessibilityDemoTest('anchor'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('app demo a11y', () => { | ||
accessibilityDemoTest('app'); | ||
}); | ||
accessibilityDemoTest('app'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
accessibilityDemoTest('auto-complete', { | ||
disabledRules: ['label'], | ||
skip: ['render-panel.tsx', 'custom.tsx'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('avatar demo a11y', () => { | ||
accessibilityDemoTest('avatar', { disabledRules: ['image-alt'] }); | ||
}); | ||
accessibilityDemoTest('avatar', { disabledRules: ['image-alt'] }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
import InternalAvatar from './avatar'; | ||
import Group from './group'; | ||
import InternalAvatar from './Avatar'; | ||
import type { AvatarGroupProps } from './AvatarGroup'; | ||
import AvatarGroup from './AvatarGroup'; | ||
|
||
export type { AvatarProps } from './avatar'; | ||
export type { GroupProps } from './group'; | ||
export { Group }; | ||
export type { AvatarProps } from './Avatar'; | ||
|
||
/** @deprecated Please use `AvatarGroupProps` */ | ||
export type GroupProps = AvatarGroupProps; | ||
|
||
type CompoundedComponent = typeof InternalAvatar & { | ||
Group: typeof Group; | ||
Group: typeof AvatarGroup; | ||
}; | ||
|
||
const Avatar = InternalAvatar as CompoundedComponent; | ||
|
||
Avatar.Group = Group; | ||
Avatar.Group = AvatarGroup; | ||
|
||
export default Avatar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('badge demo a11y', () => { | ||
accessibilityDemoTest('badge', { disabledRules: ['button-name'] }); | ||
}); | ||
accessibilityDemoTest('badge', { disabledRules: ['button-name'] }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('breadcrumb demo a11y', () => { | ||
accessibilityDemoTest('breadcrumb'); | ||
}); | ||
accessibilityDemoTest('breadcrumb'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
describe('button demo a11y', () => { | ||
accessibilityDemoTest('button'); | ||
}); | ||
accessibilityDemoTest('button'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
accessibilityDemoTest('calendar', { | ||
// waiting for rc-picker fix | ||
skip: ['week.tsx'], | ||
// fix in another pr | ||
disabledRules: ['label'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; | ||
|
||
accessibilityDemoTest('card', { | ||
disabledRules: ['button-name', 'image-alt'], | ||
skip: ['tabs.tsx'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.