feat(Button): support variant and color (#50051)

* feat(button): variant & color types

* feat: type -> color/variant

* feat: type -> color/variant

* feat: add variant filled

* test: snap

* refactor(button): rename type -> variant

* docs: add demo

* feat: add danger ghost style

* refactor: remove deprecated

* refactor: eslint

* docs: change color&variant

* test: updated snap

* docs: color-variant

* docs: add debug color&variant

* feat: global token

* refactor: remove comment

* docs: add color&variant docs

* docs: remove default

* docs: add space

* docs: code

* test: update snap

* test: fix snap

* test: btn querySelect

* feat: change filled hoverStyle

* test: fix

* feat: support grey wave

* refactor: enhance

* docs: color/variant -> v 5.21

* test: snap

* feat: add token

* test: to do

* test: fix test

* ci: rebuild

* style: remove

* style: space

* docs: add note & FQA

* feat: add componentsToken

* refactor: remove isNotGrey

* test: add case

* docs: tile button

* test: snap

* docs: site & snap

* Update components/button/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* fix: token color & undef

* docs: site

* docs: responsive

* docs: enhance FAQ

* docs: gap middle

* test: snap

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: rename

* docs: prettier

* chore: eslint

* refactor: cls

* test: add solidTextColor case

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* fix: rename

* docs: text

* fix: remove border

* feat: add token colorErrorBgFilledHover

* chore: add size-limit

* refactor: rename

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
This commit is contained in:
ice 2024-09-03 17:39:02 +08:00 committed by GitHub
parent eac5b6893d
commit badfbe3cfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
134 changed files with 376047 additions and 375310 deletions

View File

@ -57,9 +57,12 @@ export default defineConfig({
analytics: {
ga_v2: 'UA-72788897-1',
},
analyze: process.env.NODE_ENV === 'production' ? false : {
analyzerPort: 'auto',
},
analyze:
process.env.NODE_ENV === 'production'
? false
: {
analyzerPort: 'auto',
},
links: [
{
rel: 'prefetch',

View File

@ -116,13 +116,10 @@ describe('Wave component', () => {
unmount();
});
it('wave color is grey', () => {
it('wave color is nonexistent', () => {
const { container, unmount } = render(
<Wave>
<button
type="button"
style={{ borderColor: 'rgb(0, 0, 0)', backgroundColor: 'transparent' }}
>
<button type="button" style={{ border: '#fff', background: '#fff' }}>
button
</button>
</Wave>,
@ -132,8 +129,7 @@ describe('Wave component', () => {
waitRaf();
const style = getWaveStyle();
expect(style['--wave-color']).toBeFalsy();
expect(style['--wave-color']).toEqual(undefined);
unmount();
});

View File

@ -18,8 +18,13 @@ export type CustomComponent<P = AnyObject> = React.ComponentType<P> | string;
* ```
* @since 5.13.0
*/
export type GetProps<T extends React.ComponentType<any> | object> =
T extends React.ComponentType<infer P> ? P : T extends object ? T : never;
export type GetProps<T extends React.ComponentType<any> | object> = T extends React.ComponentType<
infer P
>
? P
: T extends object
? T
: never;
/**
* Get component props by component name

View File

@ -1,13 +1,3 @@
export function isNotGrey(color: string) {
// eslint-disable-next-line no-useless-escape
const match = (color || '').match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);
// biome-ignore lint/complexity/useOptionalChain: this is way is more simple
if (match && match[1] && match[2] && match[3]) {
return !(match[1] === match[2] && match[2] === match[3]);
}
return true;
}
export function isValidWaveColor(color: string) {
return (
color &&
@ -15,7 +5,6 @@ export function isValidWaveColor(color: string) {
color !== '#ffffff' &&
color !== 'rgb(255, 255, 255)' &&
color !== 'rgba(255, 255, 255, 1)' &&
isNotGrey(color) &&
!/rgba\((?:\d*, ){3}0\)/.test(color) && // any transparent rgba color
color !== 'transparent'
);

View File

@ -7,7 +7,7 @@ Array [
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -22,7 +22,7 @@ Array [
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -51,7 +51,7 @@ exports[`renders components/affix/demo/debug.tsx extend context correctly 1`] =
style="background: red;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -75,7 +75,7 @@ exports[`renders components/affix/demo/on-change.tsx extend context correctly 1`
class=""
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -100,7 +100,7 @@ exports[`renders components/affix/demo/target.tsx extend context correctly 1`] =
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -7,7 +7,7 @@ Array [
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -22,7 +22,7 @@ Array [
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -49,7 +49,7 @@ exports[`renders components/affix/demo/debug.tsx correctly 1`] = `
style="background:red"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -71,7 +71,7 @@ exports[`renders components/affix/demo/on-change.tsx correctly 1`] = `
class=""
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -94,7 +94,7 @@ exports[`renders components/affix/demo/target.tsx correctly 1`] = `
class=""
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -39,7 +39,7 @@ Array [
class="ant-alert-action"
>
<button
class="ant-btn ant-btn-text ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm"
type="button"
>
<span>
@ -118,7 +118,7 @@ Array [
class="ant-alert-action"
>
<button
class="ant-btn ant-btn-default ant-btn-sm ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -152,7 +152,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-text ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm"
type="button"
>
<span>
@ -219,7 +219,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -231,7 +231,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-btn-sm ant-btn-background-ghost ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-sm ant-btn-background-ghost"
type="button"
>
<span>
@ -1008,7 +1008,7 @@ exports[`renders components/alert/demo/description.tsx extend context correctly
exports[`renders components/alert/demo/error-boundary.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>

View File

@ -39,7 +39,7 @@ Array [
class="ant-alert-action"
>
<button
class="ant-btn ant-btn-text ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm"
type="button"
>
<span>
@ -118,7 +118,7 @@ Array [
class="ant-alert-action"
>
<button
class="ant-btn ant-btn-default ant-btn-sm ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -152,7 +152,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-text ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm"
type="button"
>
<span>
@ -219,7 +219,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -231,7 +231,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-btn-sm ant-btn-background-ghost ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-sm ant-btn-background-ghost"
type="button"
>
<span>
@ -992,7 +992,7 @@ Array [
exports[`renders components/alert/demo/error-boundary.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>

View File

@ -38,7 +38,7 @@ exports[`Alert custom action 1`] = `
class="ant-alert-action"
>
<button
class="ant-btn ant-btn-text ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm"
type="button"
>
<span>

View File

@ -12,7 +12,7 @@ exports[`renders components/app/demo/basic.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -24,7 +24,7 @@ exports[`renders components/app/demo/basic.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -36,7 +36,7 @@ exports[`renders components/app/demo/basic.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -62,7 +62,7 @@ exports[`renders components/app/demo/config.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -74,7 +74,7 @@ exports[`renders components/app/demo/config.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -12,7 +12,7 @@ exports[`renders components/app/demo/basic.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -24,7 +24,7 @@ exports[`renders components/app/demo/basic.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -36,7 +36,7 @@ exports[`renders components/app/demo/basic.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -60,7 +60,7 @@ exports[`renders components/app/demo/config.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -72,7 +72,7 @@ exports[`renders components/app/demo/config.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -225,7 +225,7 @@ exports[`renders components/auto-complete/demo/certain-category.tsx extend conte
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-lg ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-lg ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1517,7 +1517,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx extend context cor
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1749,7 +1749,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx extend context cor
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1798,7 +1798,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx extend context cor
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -2332,7 +2332,7 @@ exports[`renders components/auto-complete/demo/uncertain-category.tsx extend con
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span

View File

@ -168,7 +168,7 @@ exports[`renders components/auto-complete/demo/certain-category.tsx correctly 1`
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-lg ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-lg ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -849,7 +849,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1007,7 +1007,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1044,7 +1044,7 @@ exports[`renders components/auto-complete/demo/form-debug.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -1320,7 +1320,7 @@ exports[`renders components/auto-complete/demo/uncertain-category.tsx correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span

View File

@ -650,7 +650,7 @@ Array [
</span>
</span>,
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="margin: 0px 16px; vertical-align: middle;"
type="button"
>
@ -659,7 +659,7 @@ Array [
</span>
</button>,
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="vertical-align: middle;"
type="button"
>
@ -1298,7 +1298,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1310,7 +1310,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1322,7 +1322,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -555,7 +555,7 @@ Array [
</span>
</span>,
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="margin:0 16px;vertical-align:middle"
type="button"
>
@ -564,7 +564,7 @@ Array [
</span>
</button>,
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="vertical-align:middle"
type="button"
>
@ -908,7 +908,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -920,7 +920,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -932,7 +932,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -156,7 +156,7 @@ exports[`renders components/badge/demo/change.tsx extend context correctly 1`] =
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -184,7 +184,7 @@ exports[`renders components/badge/demo/change.tsx extend context correctly 1`] =
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -215,7 +215,7 @@ exports[`renders components/badge/demo/change.tsx extend context correctly 1`] =
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span

View File

@ -154,7 +154,7 @@ exports[`renders components/badge/demo/change.tsx correctly 1`] = `
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -182,7 +182,7 @@ exports[`renders components/badge/demo/change.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -213,7 +213,7 @@ exports[`renders components/badge/demo/change.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
exports[`Button fixbug renders {0} , 0 and {false} 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
0
@ -11,7 +11,7 @@ exports[`Button fixbug renders {0} , 0 and {false} 1`] = `
exports[`Button fixbug renders {0} , 0 and {false} 2`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -22,14 +22,14 @@ exports[`Button fixbug renders {0} , 0 and {false} 2`] = `
exports[`Button fixbug renders {0} , 0 and {false} 3`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
/>
`;
exports[`Button renders Chinese characters correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -40,7 +40,7 @@ exports[`Button renders Chinese characters correctly 1`] = `
exports[`Button renders Chinese characters correctly 2`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -74,7 +74,7 @@ exports[`Button renders Chinese characters correctly 2`] = `
exports[`Button renders Chinese characters correctly 3`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -104,7 +104,7 @@ exports[`Button renders Chinese characters correctly 3`] = `
exports[`Button renders Chinese characters correctly 4`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -138,7 +138,7 @@ exports[`Button renders Chinese characters correctly 4`] = `
exports[`Button renders Chinese characters correctly 5`] = `
<button
class="ant-btn ant-btn-default ant-btn-loading"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-loading"
type="button"
>
<span
@ -172,7 +172,7 @@ exports[`Button renders Chinese characters correctly 5`] = `
exports[`Button renders Chinese characters correctly 6`] = `
<button
class="ant-btn ant-btn-default ant-btn-loading"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-loading"
type="button"
>
<span
@ -207,7 +207,7 @@ exports[`Button renders Chinese characters correctly 6`] = `
exports[`Button renders Chinese characters correctly 7`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -218,7 +218,7 @@ exports[`Button renders Chinese characters correctly 7`] = `
exports[`Button renders correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -229,21 +229,21 @@ exports[`Button renders correctly 1`] = `
exports[`Button rtl render component should be rendered correctly in RTL direction 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-rtl"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-rtl"
type="button"
/>
`;
exports[`Button rtl render component should be rendered correctly in RTL direction 2`] = `
<button
class="ant-btn ant-btn-default ant-btn-lg ant-btn-rtl"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-lg ant-btn-rtl"
type="button"
/>
`;
exports[`Button rtl render component should be rendered correctly in RTL direction 3`] = `
<button
class="ant-btn ant-btn-default ant-btn-sm ant-btn-rtl"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm ant-btn-rtl"
type="button"
/>
`;
@ -274,7 +274,7 @@ exports[`Button rtl render component should be rendered correctly in RTL directi
exports[`Button should handle fragment as children 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -285,7 +285,7 @@ exports[`Button should handle fragment as children 1`] = `
exports[`Button should merge text if children using variable 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -296,7 +296,7 @@ exports[`Button should merge text if children using variable 1`] = `
exports[`Button should not render as link button when href is undefined 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -307,7 +307,7 @@ exports[`Button should not render as link button when href is undefined 1`] = `
exports[`Button should render empty button without errors 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
/>
`;
@ -315,7 +315,7 @@ exports[`Button should render empty button without errors 1`] = `
exports[`Button should support custom icon className 1`] = `
<div>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only"
type="button"
>
<span
@ -348,7 +348,7 @@ exports[`Button should support custom icon className 1`] = `
exports[`Button should support custom icon styles 1`] = `
<div>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only"
type="button"
>
<span
@ -381,7 +381,7 @@ exports[`Button should support custom icon styles 1`] = `
exports[`Button should support link button 1`] = `
<a
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
href="https://ant.design"
tabindex="0"
target="_blank"

View File

@ -8,6 +8,7 @@ import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest';
import { act, fireEvent, render, waitFakeTimer } from '../../../tests/utils';
import ConfigProvider from '../../config-provider';
import theme from '../../theme';
import type { BaseButtonProps } from '../button';
describe('Button', () => {
@ -449,4 +450,30 @@ describe('Button', () => {
const { container } = render(<Button autoInsertSpace={false}>{text}</Button>);
expect(container.querySelector<HTMLButtonElement>('button')?.textContent).toBe(text);
});
it('should support solidTextColor when theme changes', () => {
const { container: defaultContainer } = render(
<ConfigProvider theme={{ algorithm: [theme.defaultAlgorithm] }}>
<Button color="default" variant="solid">
btn1
</Button>
</ConfigProvider>,
);
expect(defaultContainer.firstChild).toHaveStyle({
color: 'rgb(255, 255, 255)',
});
const { container: darkContainer } = render(
<ConfigProvider theme={{ algorithm: [theme.darkAlgorithm] }}>
<Button color="default" variant="solid">
btn2
</Button>
</ConfigProvider>,
);
expect(darkContainer.firstChild).toHaveStyle({
color: 'rgb(0, 0, 0)',
});
});
});

View File

@ -12,8 +12,14 @@ import useSize from '../config-provider/hooks/useSize';
import type { SizeType } from '../config-provider/SizeContext';
import { useCompactItemContext } from '../space/Compact';
import Group, { GroupSizeContext } from './button-group';
import type { ButtonHTMLType, ButtonShape, ButtonType } from './buttonHelpers';
import { isTwoCNChar, isUnBorderedButtonType, spaceChildren } from './buttonHelpers';
import type {
ButtonColorType,
ButtonHTMLType,
ButtonShape,
ButtonType,
ButtonVariantType,
} from './buttonHelpers';
import { isTwoCNChar, isUnBorderedButtonVariant, spaceChildren } from './buttonHelpers';
import IconWrapper from './IconWrapper';
import LoadingIcon from './LoadingIcon';
import useStyle from './style';
@ -23,6 +29,8 @@ export type LegacyButtonType = ButtonType | 'danger';
export interface BaseButtonProps {
type?: ButtonType;
color?: ButtonColorType;
variant?: ButtonVariantType;
icon?: React.ReactNode;
iconPosition?: 'start' | 'end';
shape?: ButtonShape;
@ -45,7 +53,7 @@ type MergedHTMLAttributes = Omit<
React.HTMLAttributes<HTMLElement> &
React.ButtonHTMLAttributes<HTMLElement> &
React.AnchorHTMLAttributes<HTMLElement>,
'type'
'type' | 'color'
>;
export interface ButtonProps extends BaseButtonProps, MergedHTMLAttributes {
@ -75,6 +83,16 @@ function getLoadingConfig(loading: BaseButtonProps['loading']): LoadingConfigTyp
};
}
type ColorVariantPairType = [color?: ButtonColorType, variant?: ButtonVariantType];
const ButtonTypeMap: Partial<Record<ButtonType, ColorVariantPairType>> = {
default: ['default', 'outlined'],
primary: ['primary', 'solid'],
dashed: ['default', 'dashed'],
link: ['primary', 'link'],
text: ['default', 'text'],
};
const InternalCompoundedButton = React.forwardRef<
HTMLButtonElement | HTMLAnchorElement,
ButtonProps
@ -82,6 +100,8 @@ const InternalCompoundedButton = React.forwardRef<
const {
loading = false,
prefixCls: customizePrefixCls,
color,
variant,
type,
danger = false,
shape = 'default',
@ -107,6 +127,23 @@ const InternalCompoundedButton = React.forwardRef<
// Compatible with original `type` behavior
const mergedType = type || 'default';
const [mergedColor, mergedVariant] = useMemo<ColorVariantPairType>(() => {
if (color && variant) {
return [color, variant];
}
const colorVariantPair = ButtonTypeMap[mergedType] || [];
if (danger) {
return ['danger', colorVariantPair[1]];
}
return colorVariantPair;
}, [type, color, variant, danger]);
const isDanger = mergedColor === 'danger';
const mergedColorText = isDanger ? 'dangerous' : mergedColor;
const { getPrefixCls, direction, button } = useContext(ConfigContext);
const mergedInsertSpace = autoInsertSpace ?? button?.autoInsertSpace ?? true;
@ -131,7 +168,7 @@ const InternalCompoundedButton = React.forwardRef<
const buttonRef = composeRef(ref, internalRef);
const needInserted =
Children.count(children) === 1 && !icon && !isUnBorderedButtonType(mergedType);
Children.count(children) === 1 && !icon && !isUnBorderedButtonVariant(mergedVariant);
useEffect(() => {
let delayTimer: ReturnType<typeof setTimeout> | null = null;
@ -189,7 +226,7 @@ const InternalCompoundedButton = React.forwardRef<
);
warning(
!(ghost && isUnBorderedButtonType(mergedType)),
!(ghost && isUnBorderedButtonVariant(mergedVariant)),
'usage',
"`link` or `text` button can't be a `ghost` button.",
);
@ -213,14 +250,14 @@ const InternalCompoundedButton = React.forwardRef<
cssVarCls,
{
[`${prefixCls}-${shape}`]: shape !== 'default' && shape,
[`${prefixCls}-${mergedType}`]: mergedType,
[`${prefixCls}-${mergedColorText}`]: mergedColorText,
[`${prefixCls}-${mergedVariant}`]: mergedVariant,
[`${prefixCls}-${sizeCls}`]: sizeCls,
[`${prefixCls}-icon-only`]: !children && children !== 0 && !!iconType,
[`${prefixCls}-background-ghost`]: ghost && !isUnBorderedButtonType(mergedType),
[`${prefixCls}-background-ghost`]: ghost && !isUnBorderedButtonVariant(mergedVariant),
[`${prefixCls}-loading`]: innerLoading,
[`${prefixCls}-two-chinese-chars`]: hasTwoCNChar && mergedInsertSpace && !innerLoading,
[`${prefixCls}-block`]: block,
[`${prefixCls}-dangerous`]: danger,
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-icon-end`]: iconPosition === 'end',
},
@ -286,7 +323,7 @@ const InternalCompoundedButton = React.forwardRef<
</button>
);
if (!isUnBorderedButtonType(mergedType)) {
if (!isUnBorderedButtonVariant(mergedVariant)) {
buttonNode = (
<Wave component="Button" disabled={innerLoading}>
{buttonNode}

View File

@ -19,7 +19,7 @@ export function isString(str: any): str is string {
return typeof str === 'string';
}
export function isUnBorderedButtonType(type?: ButtonType) {
export function isUnBorderedButtonVariant(type?: ButtonVariantType) {
return type === 'text' || type === 'link';
}
@ -86,3 +86,18 @@ export type ButtonShape = (typeof ButtonShapes)[number];
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const ButtonHTMLTypes = ['submit', 'button', 'reset'] as const;
export type ButtonHTMLType = (typeof ButtonHTMLTypes)[number];
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const ButtonVariantTypes = [
'outlined',
'dashed',
'solid',
'filled',
'text',
'link',
] as const;
export type ButtonVariantType = (typeof ButtonVariantTypes)[number];
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const ButtonColorTypes = ['default', 'primary', 'danger'] as const;
export type ButtonColorType = (typeof ButtonColorTypes)[number];

View File

@ -0,0 +1,7 @@
## zh-CN
同时设置 `color``variant` 属性,可以衍生出更多的变体按钮。
## en-US
You can set the `color` and `variant` attributes at the same time can derive more variant buttons.

View File

@ -0,0 +1,76 @@
import React from 'react';
import { Button, ConfigProvider, Flex } from 'antd';
import { useResponsive } from 'antd-style';
const App: React.FC = () => {
const { xxl } = useResponsive();
return (
<ConfigProvider componentSize={xxl ? 'middle' : 'small'}>
<Flex vertical gap="middle">
<Flex gap="middle" wrap>
<Button color="default" variant="solid">
Solid
</Button>
<Button color="default" variant="outlined">
Outlined
</Button>
<Button color="default" variant="dashed">
Dashed
</Button>
<Button color="default" variant="filled">
Filled
</Button>
<Button color="default" variant="text">
Text
</Button>
<Button color="default" variant="link">
Link
</Button>
</Flex>
<Flex gap="middle" wrap>
<Button color="primary" variant="solid">
Solid
</Button>
<Button color="primary" variant="outlined">
Outlined
</Button>
<Button color="primary" variant="dashed">
Dashed
</Button>
<Button color="primary" variant="filled">
Filled
</Button>
<Button color="primary" variant="text">
Text
</Button>
<Button color="primary" variant="link">
Link
</Button>
</Flex>
<Flex gap="middle" wrap>
<Button color="danger" variant="solid">
Solid
</Button>
<Button color="danger" variant="outlined">
Outlined
</Button>
<Button color="danger" variant="dashed">
Dashed
</Button>
<Button color="danger" variant="filled">
Filled
</Button>
<Button color="danger" variant="text">
Text
</Button>
<Button color="danger" variant="link">
Link
</Button>
</Flex>
</Flex>
</ConfigProvider>
);
};
export default App;

View File

@ -34,6 +34,7 @@ And 4 other properties additionally.
<!-- prettier-ignore -->
<code src="./demo/basic.tsx">Type</code>
<code src="./demo/color-variant.tsx" version="5.21.0">Color & Variant</code>
<code src="./demo/icon.tsx">Icon</code>
<code src="./demo/icon-position.tsx" version="5.17.0">Icon Position</code>
<code src="./demo/debug-icon.tsx" debug>Debug Icon</code>
@ -61,6 +62,7 @@ Different button styles can be generated by setting Button properties. The recom
| autoInsertSpace | We add a space between two Chinese characters by default, which can be removed by setting `autoInsertSpace` to `false`. | boolean | `true` | 5.17.0 |
| block | Option to fit button width to its parent width | boolean | false | |
| classNames | Semantic DOM class | [Record<SemanticDOM, string>](#semantic-dom) | - | 5.4.0 |
| color | Set button color | `default` \| `primary` \| `danger` | - | 5.21.0 |
| danger | Set the danger status of button | boolean | false | |
| disabled | Disabled state of button | boolean | false | |
| ghost | Make background transparent and invert text and border colors | boolean | false | |
@ -75,6 +77,7 @@ Different button styles can be generated by setting Button properties. The recom
| target | Same as target attribute of a, works when href is specified | string | - | |
| type | Set button type | `primary` \| `dashed` \| `link` \| `text` \| `default` | `default` | |
| onClick | Set the handler to handle `click` event | (event: React.MouseEvent<HTMLElement, MouseEvent>) => void | - | |
| variant | Set button variant | `outlined` \| `dashed` \| `solid` \| `filled` \| `text` \| `link` | - | 5.21.0 |
It accepts all props which native buttons support.
@ -88,6 +91,22 @@ It accepts all props which native buttons support.
## FAQ
### How to choose type and color & variant?
Type is essentially syntactic sugar for colors and variants. It internally provides a set of mapping relationships between colors and variants for the type. If both exist at the same time, the type will be used first.
```jsx
<Button type="primary">click</Button>
```
Equivalent
```jsx
<Button color="primary" variant="solid">
click
</Button>
```
### How to close the click wave effect?
If you don't need this feature, you can set `disabled` of `wave` in [ConfigProvider](/components/config-provider#api) as `true`.

View File

@ -37,6 +37,7 @@ group:
<!-- prettier-ignore -->
<code src="./demo/basic.tsx">按钮类型</code>
<code src="./demo/color-variant.tsx" version="5.21.0">颜色与变体</code>
<code src="./demo/icon.tsx">按钮图标</code>
<code src="./demo/icon-position.tsx" version="5.17.0">按钮图标位置</code>
<code src="./demo/debug-icon.tsx" debug>调试图标按钮</code>
@ -67,6 +68,7 @@ group:
| autoInsertSpace | 我们默认提供两个汉字之间的空格,可以设置 `autoInsertSpace``false` 关闭 | boolean | `true` | 5.17.0 |
| block | 将按钮宽度调整为其父宽度的选项 | boolean | false | |
| classNames | 语义化结构 class | [Record<SemanticDOM, string>](#semantic-dom) | - | 5.4.0 |
| color | 设置按钮的颜色 | `default` \| `primary` \| `danger` | - | 5.21.0 |
| danger | 设置危险按钮 | boolean | false | |
| disabled | 设置按钮失效状态 | boolean | false | |
| ghost | 幽灵属性,使按钮背景透明 | boolean | false | |
@ -81,6 +83,7 @@ group:
| target | 相当于 a 链接的 target 属性href 存在时生效 | string | - | |
| type | 设置按钮类型 | `primary` \| `dashed` \| `link` \| `text` \| `default` | `default` | |
| onClick | 点击按钮时的回调 | (event: React.MouseEvent<HTMLElement, MouseEvent>) => void | - | |
| variant | 设置按钮的变体 | `outlined` \| `dashed` \| `solid` \| `filled` \| `text` \| `link` | - | 5.21.0 |
支持原生 button 的其他所有属性。
@ -94,6 +97,22 @@ group:
## FAQ
### 类型和颜色与变体如何选择?
类型本质上是颜色与变体的语法糖,内部为其提供了一组颜色与变体的映射关系。如果两者同时存在,优先使用类型。
```jsx
<Button type="primary">click</Button>
```
等同于
```jsx
<Button color="primary" variant="solid">
click
</Button>
```
### 如何关闭点击波纹效果?
如果你不需要这个特性,可以设置 [ConfigProvider](/components/config-provider-cn#api) 的 `wave``disabled``true`

View File

@ -4,6 +4,7 @@ import { unit } from '@ant-design/cssinjs';
import { genFocusStyle } from '../../style';
import type { GenerateStyle } from '../../theme/internal';
import { genStyleHooks, mergeToken } from '../../theme/internal';
import type { ButtonVariantType } from '../buttonHelpers';
import genGroupStyle from './group';
import type { ButtonToken, ComponentToken } from './token';
import { prepareComponentToken, prepareToken } from './token';
@ -95,7 +96,6 @@ const genRoundButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
paddingInlineEnd: token.calc(token.controlHeight).div(2).equal(),
});
// =============================== Type ===============================
const genDisabledStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
cursor: 'not-allowed',
borderColor: token.borderColorDisabled,
@ -146,10 +146,6 @@ const genSolidDisabledButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (toke
},
});
const genSolidButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
...genSolidDisabledButtonStyle(token),
});
const genPureDisabledButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
[`&:disabled, &${token.componentCls}-disabled`]: {
cursor: 'not-allowed',
@ -157,18 +153,110 @@ const genPureDisabledButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token
},
});
// Type: Default
const genDefaultButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
...genSolidButtonStyle(token),
// ============================== Variant =============================
const genVariantButtonStyle = (
token: ButtonToken,
hoverStyle: CSSObject,
activeStyle: CSSObject,
variant?: ButtonVariantType,
): CSSObject => {
const isPureDisabled = variant && ['link', 'text'].includes(variant);
const genDisabledButtonStyle = isPureDisabled
? genPureDisabledButtonStyle
: genSolidDisabledButtonStyle;
background: token.defaultBg,
borderColor: token.defaultBorderColor,
return {
...genDisabledButtonStyle(token),
...genHoverActiveButtonStyle(token.componentCls, hoverStyle, activeStyle),
};
};
const genSolidButtonStyle = (
token: ButtonToken,
textColor: string,
background: string,
hoverStyle: CSSObject,
activeStyle: CSSObject,
): CSSObject => ({
[`&${token.componentCls}-solid`]: {
color: textColor,
background,
...genVariantButtonStyle(token, hoverStyle, activeStyle),
},
});
const genOutlinedDashedButtonStyle = (
token: ButtonToken,
borderColor: string,
background: string,
hoverStyle: CSSObject,
activeStyle: CSSObject,
) => ({
[`&${token.componentCls}-outlined, &${token.componentCls}-dashed`]: {
borderColor,
background,
...genVariantButtonStyle(token, hoverStyle, activeStyle),
},
});
const genDashedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
[`&${token.componentCls}-dashed`]: {
borderStyle: 'dashed',
},
});
const genFilledButtonStyle = (
token: ButtonToken,
background: string,
hoverStyle: CSSObject,
activeStyle: CSSObject,
) => ({
[`&${token.componentCls}-filled`]: {
boxShadow: 'none',
background,
...genVariantButtonStyle(token, hoverStyle, activeStyle),
},
});
const genTextLinkButtonStyle = (
token: ButtonToken,
variant: 'text' | 'link',
hoverStyle: CSSObject,
activeStyle: CSSObject,
) => ({
[`&${token.componentCls}-${variant}`]: {
boxShadow: 'none',
...genVariantButtonStyle(token, hoverStyle, activeStyle, variant),
},
});
// =============================== Color ==============================
const genDefaultButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
color: token.defaultColor,
boxShadow: token.defaultShadow,
...genHoverActiveButtonStyle(
token.componentCls,
...genSolidButtonStyle(
token,
token.solidTextColor,
token.colorBgSolid,
{
background: token.colorBgSolidHover,
},
{
background: token.colorBgSolidActive,
},
),
...genOutlinedDashedButtonStyle(
token,
token.defaultBorderColor,
token.defaultBg,
{
color: token.defaultHoverColor,
borderColor: token.defaultHoverBorderColor,
@ -181,6 +269,43 @@ const genDefaultButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) =>
},
),
...genDashedButtonStyle(token),
...genFilledButtonStyle(
token,
token.colorFillTertiary,
{
background: token.colorFillSecondary,
},
{
background: token.colorFill,
},
),
...genTextLinkButtonStyle(
token,
'text',
{
color: token.colorText,
background: token.textHoverBg,
},
{
color: token.colorText,
background: token.colorBgTextActive,
},
),
...genTextLinkButtonStyle(
token,
'link',
{
color: token.colorLinkHover,
background: token.linkHoverBg,
},
{
color: token.colorLinkActive,
},
),
...genGhostButtonStyle(
token.componentCls,
token.ghostBg,
@ -189,56 +314,79 @@ const genDefaultButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) =>
token.colorTextDisabled,
token.colorBorder,
),
[`&${token.componentCls}-dangerous`]: {
color: token.colorError,
borderColor: token.colorError,
...genHoverActiveButtonStyle(
token.componentCls,
{
color: token.colorErrorHover,
borderColor: token.colorErrorBorderHover,
},
{
color: token.colorErrorActive,
borderColor: token.colorErrorActive,
},
),
...genGhostButtonStyle(
token.componentCls,
token.ghostBg,
token.colorError,
token.colorError,
token.colorTextDisabled,
token.colorBorder,
),
...genSolidDisabledButtonStyle(token),
},
});
// Type: Primary
const genPrimaryButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
...genSolidButtonStyle(token),
color: token.primaryColor,
background: token.colorPrimary,
color: token.colorPrimary,
boxShadow: token.primaryShadow,
...genHoverActiveButtonStyle(
token.componentCls,
...genSolidButtonStyle(
token,
token.primaryColor,
token.colorPrimary,
{
color: token.colorTextLightSolid,
background: token.colorPrimaryHover,
},
{
color: token.colorTextLightSolid,
background: token.colorPrimaryActive,
},
),
...genOutlinedDashedButtonStyle(
token,
token.colorPrimary,
token.colorBgContainer,
{
color: token.colorPrimaryTextHover,
borderColor: token.colorPrimaryHover,
background: token.colorBgContainer,
},
{
color: token.colorPrimaryTextActive,
borderColor: token.colorPrimaryActive,
background: token.colorBgContainer,
},
),
...genDashedButtonStyle(token),
...genFilledButtonStyle(
token,
token.colorPrimaryBg,
{
background: token.colorPrimaryBgHover,
},
{
background: token.colorPrimaryBorder,
},
),
...genTextLinkButtonStyle(
token,
'text',
{
color: token.colorPrimaryTextHover,
background: token.colorPrimaryBg,
},
{
color: token.colorPrimaryTextActive,
background: token.colorPrimaryBorder,
},
),
...genTextLinkButtonStyle(
token,
'link',
{
color: token.colorPrimaryTextHover,
background: token.linkHoverBg,
},
{
color: token.colorPrimaryTextActive,
},
),
...genGhostButtonStyle(
token.componentCls,
token.ghostBg,
@ -255,133 +403,100 @@ const genPrimaryButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) =>
borderColor: token.colorPrimaryActive,
},
),
[`&${token.componentCls}-dangerous`]: {
background: token.colorError,
boxShadow: token.dangerShadow,
color: token.dangerColor,
...genHoverActiveButtonStyle(
token.componentCls,
{
background: token.colorErrorHover,
},
{
background: token.colorErrorActive,
},
),
...genGhostButtonStyle(
token.componentCls,
token.ghostBg,
token.colorError,
token.colorError,
token.colorTextDisabled,
token.colorBorder,
{
color: token.colorErrorHover,
borderColor: token.colorErrorHover,
},
{
color: token.colorErrorActive,
borderColor: token.colorErrorActive,
},
),
...genSolidDisabledButtonStyle(token),
},
});
// Type: Dashed
const genDashedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
...genDefaultButtonStyle(token),
borderStyle: 'dashed',
});
const genDangerousStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
color: token.colorError,
boxShadow: token.dangerShadow,
// Type: Link
const genLinkButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
color: token.colorLink,
...genHoverActiveButtonStyle(
token.componentCls,
...genSolidButtonStyle(
token,
token.dangerColor,
token.colorError,
{
color: token.colorLinkHover,
background: token.linkHoverBg,
background: token.colorErrorHover,
},
{
color: token.colorLinkActive,
background: token.colorErrorActive,
},
),
...genPureDisabledButtonStyle(token),
[`&${token.componentCls}-dangerous`]: {
color: token.colorError,
...genHoverActiveButtonStyle(
token.componentCls,
{
color: token.colorErrorHover,
},
{
color: token.colorErrorActive,
},
),
...genPureDisabledButtonStyle(token),
},
});
// Type: Text
const genTextButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token) => ({
...genHoverActiveButtonStyle(
token.componentCls,
...genOutlinedDashedButtonStyle(
token,
token.colorError,
token.colorBgContainer,
{
color: token.colorText,
background: token.textHoverBg,
color: token.colorErrorHover,
borderColor: token.colorErrorBorderHover,
},
{
color: token.colorText,
background: token.colorBgTextActive,
color: token.colorErrorActive,
borderColor: token.colorErrorActive,
},
),
...genPureDisabledButtonStyle(token),
...genDashedButtonStyle(token),
[`&${token.componentCls}-dangerous`]: {
color: token.colorError,
...genFilledButtonStyle(
token,
token.colorErrorBg,
{
background: token.colorErrorBgFilledHover,
},
{
background: token.colorErrorBgActive,
},
),
...genPureDisabledButtonStyle(token),
...genHoverActiveButtonStyle(
token.componentCls,
{
color: token.colorErrorHover,
background: token.colorErrorBg,
},
{
color: token.colorErrorHover,
background: token.colorErrorBgActive,
},
),
},
...genTextLinkButtonStyle(
token,
'text',
{
color: token.colorErrorHover,
background: token.colorErrorBg,
},
{
color: token.colorErrorHover,
background: token.colorErrorBgActive,
},
),
...genTextLinkButtonStyle(
token,
'link',
{
color: token.colorErrorHover,
},
{
color: token.colorErrorActive,
},
),
...genGhostButtonStyle(
token.componentCls,
token.ghostBg,
token.colorError,
token.colorError,
token.colorTextDisabled,
token.colorBorder,
{
color: token.colorErrorHover,
borderColor: token.colorErrorHover,
},
{
color: token.colorErrorActive,
borderColor: token.colorErrorActive,
},
),
});
const genTypeButtonStyle: GenerateStyle<ButtonToken> = (token) => {
const genColorButtonStyle: GenerateStyle<ButtonToken> = (token) => {
const { componentCls } = token;
return {
[`${componentCls}-default`]: genDefaultButtonStyle(token),
[`${componentCls}-primary`]: genPrimaryButtonStyle(token),
[`${componentCls}-dashed`]: genDashedButtonStyle(token),
[`${componentCls}-link`]: genLinkButtonStyle(token),
[`${componentCls}-text`]: genTextButtonStyle(token),
[`${componentCls}-ghost`]: genGhostButtonStyle(
token.componentCls,
token.ghostBg,
token.colorBgContainer,
token.colorBgContainer,
token.colorTextDisabled,
token.colorBorder,
),
[`${componentCls}-dangerous`]: genDangerousStyle(token),
};
};
@ -515,8 +630,8 @@ export default genStyleHooks(
// Block
genBlockButtonStyle(buttonToken),
// Group (type, ghost, danger, loading)
genTypeButtonStyle(buttonToken),
// Color
genColorButtonStyle(buttonToken),
// Button Group
genGroupStyle(buttonToken),

View File

@ -1,6 +1,8 @@
import type { CSSProperties } from 'react';
import type { FullToken, GetDefaultToken, GenStyleFn } from '../../theme/internal';
import { AggregationColor } from '../../color-picker/color';
import { isBright } from '../../color-picker/components/ColorPresets';
import type { FullToken, GenStyleFn, GetDefaultToken } from '../../theme/internal';
import { getLineHeight, mergeToken } from '../../theme/internal';
/** Component only token. Which will handle additional calculation of alias token */
@ -100,6 +102,15 @@ export interface ComponentToken {
* @descEN Border color of default ghost button
*/
defaultGhostBorderColor: string;
/**
* @desc
* @descEN Background color of primary filled button
*/
/**
* @desc
* @descEN Default text color for solid buttons.
*/
solidTextColor: string;
/**
* @desc
* @descEN Horizontal padding of button
@ -231,6 +242,9 @@ export const prepareComponentToken: GetDefaultToken<'Button'> = (token) => {
const contentLineHeight = token.contentLineHeight ?? getLineHeight(contentFontSize);
const contentLineHeightSM = token.contentLineHeightSM ?? getLineHeight(contentFontSizeSM);
const contentLineHeightLG = token.contentLineHeightLG ?? getLineHeight(contentFontSizeLG);
const solidTextColor = isBright(new AggregationColor(token.colorBgSolid), '#fff')
? '#000'
: '#fff';
return {
fontWeight: 400,
@ -262,6 +276,7 @@ export const prepareComponentToken: GetDefaultToken<'Button'> = (token) => {
defaultActiveBg: token.colorBgContainer,
defaultActiveColor: token.colorPrimaryActive,
defaultActiveBorderColor: token.colorPrimaryActive,
solidTextColor,
contentFontSize,
contentFontSizeSM,
contentFontSizeLG,

View File

@ -299,46 +299,6 @@ exports[`Card should still have padding when card which set padding to 0 is load
</div>
`;
exports[`Card title should be vertically aligned 1`] = `
<div
class="ant-card ant-card-bordered"
style="width: 300px;"
>
<div
class="ant-card-head"
>
<div
class="ant-card-head-wrapper"
>
<div
class="ant-card-head-title"
>
Card title
</div>
<div
class="ant-card-extra"
>
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Button
</span>
</button>
</div>
</div>
</div>
<div
class="ant-card-body"
>
<p>
Card content
</p>
</div>
</div>
`;
exports[`Card should support custom className 1`] = `
<div>
<div
@ -397,3 +357,43 @@ exports[`Card should support custom styles 1`] = `
</div>
</div>
`;
exports[`Card title should be vertically aligned 1`] = `
<div
class="ant-card ant-card-bordered"
style="width: 300px;"
>
<div
class="ant-card-head"
>
<div
class="ant-card-head-wrapper"
>
<div
class="ant-card-head-title"
>
Card title
</div>
<div
class="ant-card-extra"
>
<button
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
Button
</span>
</button>
</div>
</div>
</div>
<div
class="ant-card-body"
>
<p>
Card content
</p>
</div>
</div>
`;

View File

@ -143,7 +143,7 @@ Array [
</p>,
<p>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -151,7 +151,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="margin: 0px 10px;"
type="button"
>

View File

@ -139,7 +139,7 @@ Array [
</p>,
<p>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -147,7 +147,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="margin:0 10px"
type="button"
>

View File

@ -10553,7 +10553,7 @@ exports[`renders components/color-picker/demo/text-render.tsx extend context cor
exports[`renders components/color-picker/demo/trigger.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="background-color: rgb(22, 119, 255);"
type="button"
>

View File

@ -613,7 +613,7 @@ exports[`renders components/color-picker/demo/text-render.tsx correctly 1`] = `
exports[`renders components/color-picker/demo/trigger.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="background-color:#1677ff"
type="button"
>

View File

@ -25,7 +25,7 @@ const genPresetColor = (list: PresetsItem[]) =>
return value;
});
const isBright = (value: AggregationColor, bgColorToken: string) => {
export const isBright = (value: AggregationColor, bgColorToken: string) => {
const { r, g, b, a } = value.toRgb();
const hsv = new RcColor(value.toRgbString()).onBackground(bgColorToken).toHsv();
if (a <= 0.5) {

View File

@ -1348,7 +1348,7 @@ exports[`ConfigProvider components Breadcrumb prefixCls 1`] = `
exports[`ConfigProvider components Button configProvider 1`] = `
<div>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1359,7 +1359,7 @@ exports[`ConfigProvider components Button configProvider 1`] = `
class="config-btn-group"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1367,7 +1367,7 @@ exports[`ConfigProvider components Button configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1381,7 +1381,7 @@ exports[`ConfigProvider components Button configProvider 1`] = `
exports[`ConfigProvider components Button configProvider componentDisabled 1`] = `
<div>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
disabled=""
type="button"
>
@ -1393,7 +1393,7 @@ exports[`ConfigProvider components Button configProvider componentDisabled 1`] =
class="config-btn-group"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
disabled=""
type="button"
>
@ -1402,7 +1402,7 @@ exports[`ConfigProvider components Button configProvider componentDisabled 1`] =
</span>
</button>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
disabled=""
type="button"
>
@ -1417,7 +1417,7 @@ exports[`ConfigProvider components Button configProvider componentDisabled 1`] =
exports[`ConfigProvider components Button configProvider componentSize large 1`] = `
<div>
<button
class="config-btn config-btn-default config-btn-lg"
class="config-btn config-btn-default config-btn-outlined config-btn-lg"
type="button"
>
<span>
@ -1428,7 +1428,7 @@ exports[`ConfigProvider components Button configProvider componentSize large 1`]
class="config-btn-group"
>
<button
class="config-btn config-btn-default config-btn-lg"
class="config-btn config-btn-default config-btn-outlined config-btn-lg"
type="button"
>
<span>
@ -1436,7 +1436,7 @@ exports[`ConfigProvider components Button configProvider componentSize large 1`]
</span>
</button>
<button
class="config-btn config-btn-default config-btn-lg"
class="config-btn config-btn-default config-btn-outlined config-btn-lg"
type="button"
>
<span>
@ -1450,7 +1450,7 @@ exports[`ConfigProvider components Button configProvider componentSize large 1`]
exports[`ConfigProvider components Button configProvider componentSize middle 1`] = `
<div>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1461,7 +1461,7 @@ exports[`ConfigProvider components Button configProvider componentSize middle 1`
class="config-btn-group"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1469,7 +1469,7 @@ exports[`ConfigProvider components Button configProvider componentSize middle 1`
</span>
</button>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -1483,7 +1483,7 @@ exports[`ConfigProvider components Button configProvider componentSize middle 1`
exports[`ConfigProvider components Button configProvider componentSize small 1`] = `
<div>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -1494,7 +1494,7 @@ exports[`ConfigProvider components Button configProvider componentSize small 1`]
class="config-btn-group"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -1502,7 +1502,7 @@ exports[`ConfigProvider components Button configProvider componentSize small 1`]
</span>
</button>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -1516,7 +1516,7 @@ exports[`ConfigProvider components Button configProvider componentSize small 1`]
exports[`ConfigProvider components Button normal 1`] = `
<div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1527,7 +1527,7 @@ exports[`ConfigProvider components Button normal 1`] = `
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1535,7 +1535,7 @@ exports[`ConfigProvider components Button normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1549,7 +1549,7 @@ exports[`ConfigProvider components Button normal 1`] = `
exports[`ConfigProvider components Button prefixCls 1`] = `
<div>
<button
class="prefix-Button prefix-Button-default"
class="prefix-Button prefix-Button-default prefix-Button-outlined"
type="button"
>
<span>
@ -1560,7 +1560,7 @@ exports[`ConfigProvider components Button prefixCls 1`] = `
class="prefix-Button"
>
<button
class="prefix-Button prefix-Button-default"
class="prefix-Button prefix-Button-default prefix-Button-outlined"
type="button"
>
<span>
@ -1568,7 +1568,7 @@ exports[`ConfigProvider components Button prefixCls 1`] = `
</span>
</button>
<button
class="prefix-Button prefix-Button-default"
class="prefix-Button prefix-Button-default prefix-Button-outlined"
type="button"
>
<span>
@ -14688,7 +14688,7 @@ exports[`ConfigProvider components Dropdown configProvider 1`] = `
class="config-space-compact config-space-compact-block config-dropdown-button"
>
<button
class="config-btn config-btn-default config-btn-compact-item config-btn-compact-first-item"
class="config-btn config-btn-default config-btn-outlined config-btn-compact-item config-btn-compact-first-item"
type="button"
>
<span>
@ -14696,7 +14696,7 @@ exports[`ConfigProvider components Dropdown configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-default config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
type="button"
>
<span
@ -14731,7 +14731,7 @@ exports[`ConfigProvider components Dropdown configProvider componentDisabled 1`]
class="config-space-compact config-space-compact-block config-dropdown-button"
>
<button
class="config-btn config-btn-default config-btn-compact-item config-btn-compact-first-item"
class="config-btn config-btn-default config-btn-outlined config-btn-compact-item config-btn-compact-first-item"
disabled=""
type="button"
>
@ -14740,7 +14740,7 @@ exports[`ConfigProvider components Dropdown configProvider componentDisabled 1`]
</span>
</button>
<button
class="config-btn config-btn-default config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
disabled=""
type="button"
>
@ -14776,7 +14776,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize large 1
class="config-space-compact config-space-compact-block config-dropdown-button"
>
<button
class="config-btn config-btn-default config-btn-lg config-btn-compact-item config-btn-compact-first-item"
class="config-btn config-btn-default config-btn-outlined config-btn-lg config-btn-compact-item config-btn-compact-first-item"
type="button"
>
<span>
@ -14784,7 +14784,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize large 1
</span>
</button>
<button
class="config-btn config-btn-default config-btn-lg config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
class="config-btn config-btn-default config-btn-outlined config-btn-lg config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
type="button"
>
<span
@ -14819,7 +14819,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize middle
class="config-space-compact config-space-compact-block config-dropdown-button"
>
<button
class="config-btn config-btn-default config-btn-compact-item config-btn-compact-first-item"
class="config-btn config-btn-default config-btn-outlined config-btn-compact-item config-btn-compact-first-item"
type="button"
>
<span>
@ -14827,7 +14827,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize middle
</span>
</button>
<button
class="config-btn config-btn-default config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
type="button"
>
<span
@ -14862,7 +14862,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize small 1
class="config-space-compact config-space-compact-block config-dropdown-button"
>
<button
class="config-btn config-btn-default config-btn-sm config-btn-compact-item config-btn-compact-first-item"
class="config-btn config-btn-default config-btn-outlined config-btn-sm config-btn-compact-item config-btn-compact-first-item"
type="button"
>
<span>
@ -14870,7 +14870,7 @@ exports[`ConfigProvider components Dropdown configProvider componentSize small 1
</span>
</button>
<button
class="config-btn config-btn-default config-btn-sm config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
class="config-btn config-btn-default config-btn-outlined config-btn-sm config-btn-icon-only config-btn-compact-item config-btn-compact-last-item config-dropdown-trigger"
type="button"
>
<span
@ -14905,7 +14905,7 @@ exports[`ConfigProvider components Dropdown normal 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -14913,7 +14913,7 @@ exports[`ConfigProvider components Dropdown normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -14948,7 +14948,7 @@ exports[`ConfigProvider components Dropdown prefixCls 1`] = `
class="ant-space-compact ant-space-compact-block prefix-Dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -14956,7 +14956,7 @@ exports[`ConfigProvider components Dropdown prefixCls 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -16006,7 +16006,7 @@ exports[`ConfigProvider components Input configProvider 1`] = `
class="config-input-group-addon"
>
<button
class="config-btn config-btn-default config-btn-icon-only config-input-search-button"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-input-search-button"
type="button"
>
<span
@ -16106,7 +16106,7 @@ exports[`ConfigProvider components Input configProvider componentDisabled 1`] =
class="config-input-group-addon"
>
<button
class="config-btn config-btn-default config-btn-icon-only config-input-search-button"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-input-search-button"
disabled=""
type="button"
>
@ -16207,7 +16207,7 @@ exports[`ConfigProvider components Input configProvider componentSize large 1`]
class="config-input-group-addon"
>
<button
class="config-btn config-btn-default config-btn-lg config-btn-icon-only config-input-search-button"
class="config-btn config-btn-default config-btn-outlined config-btn-lg config-btn-icon-only config-input-search-button"
type="button"
>
<span
@ -16305,7 +16305,7 @@ exports[`ConfigProvider components Input configProvider componentSize middle 1`]
class="config-input-group-addon"
>
<button
class="config-btn config-btn-default config-btn-icon-only config-input-search-button"
class="config-btn config-btn-default config-btn-outlined config-btn-icon-only config-input-search-button"
type="button"
>
<span
@ -16403,7 +16403,7 @@ exports[`ConfigProvider components Input configProvider componentSize small 1`]
class="config-input-group-addon"
>
<button
class="config-btn config-btn-default config-btn-sm config-btn-icon-only config-input-search-button"
class="config-btn config-btn-default config-btn-outlined config-btn-sm config-btn-icon-only config-input-search-button"
type="button"
>
<span
@ -16501,7 +16501,7 @@ exports[`ConfigProvider components Input normal 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -16599,7 +16599,7 @@ exports[`ConfigProvider components Input prefixCls 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only prefix-Input-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only prefix-Input-button"
type="button"
>
<span
@ -18375,7 +18375,7 @@ exports[`ConfigProvider components Modal configProvider 1`] = `
class="config-modal-footer"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -18383,7 +18383,7 @@ exports[`ConfigProvider components Modal configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-primary"
class="config-btn config-btn-primary config-btn-solid"
type="button"
>
<span>
@ -18473,7 +18473,7 @@ exports[`ConfigProvider components Modal configProvider componentDisabled 1`] =
class="config-modal-footer"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -18481,7 +18481,7 @@ exports[`ConfigProvider components Modal configProvider componentDisabled 1`] =
</span>
</button>
<button
class="config-btn config-btn-primary"
class="config-btn config-btn-primary config-btn-solid"
type="button"
>
<span>
@ -18571,7 +18571,7 @@ exports[`ConfigProvider components Modal configProvider componentSize large 1`]
class="config-modal-footer"
>
<button
class="config-btn config-btn-default config-btn-lg"
class="config-btn config-btn-default config-btn-outlined config-btn-lg"
type="button"
>
<span>
@ -18579,7 +18579,7 @@ exports[`ConfigProvider components Modal configProvider componentSize large 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-lg"
class="config-btn config-btn-primary config-btn-solid config-btn-lg"
type="button"
>
<span>
@ -18669,7 +18669,7 @@ exports[`ConfigProvider components Modal configProvider componentSize middle 1`]
class="config-modal-footer"
>
<button
class="config-btn config-btn-default"
class="config-btn config-btn-default config-btn-outlined"
type="button"
>
<span>
@ -18677,7 +18677,7 @@ exports[`ConfigProvider components Modal configProvider componentSize middle 1`]
</span>
</button>
<button
class="config-btn config-btn-primary"
class="config-btn config-btn-primary config-btn-solid"
type="button"
>
<span>
@ -18767,7 +18767,7 @@ exports[`ConfigProvider components Modal configProvider componentSize small 1`]
class="config-modal-footer"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -18775,7 +18775,7 @@ exports[`ConfigProvider components Modal configProvider componentSize small 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -18865,7 +18865,7 @@ exports[`ConfigProvider components Modal normal 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -18873,7 +18873,7 @@ exports[`ConfigProvider components Modal normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -18963,7 +18963,7 @@ exports[`ConfigProvider components Modal prefixCls 1`] = `
class="prefix-Modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -18971,7 +18971,7 @@ exports[`ConfigProvider components Modal prefixCls 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -21079,7 +21079,7 @@ exports[`ConfigProvider components Popconfirm configProvider 1`] = `
class="config-popconfirm-buttons"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -21087,7 +21087,7 @@ exports[`ConfigProvider components Popconfirm configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -21165,7 +21165,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentDisabled 1
class="config-popconfirm-buttons"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
disabled=""
type="button"
>
@ -21174,7 +21174,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentDisabled 1
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
disabled=""
type="button"
>
@ -21253,7 +21253,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize large
class="config-popconfirm-buttons"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -21261,7 +21261,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize large
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -21339,7 +21339,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize middl
class="config-popconfirm-buttons"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -21347,7 +21347,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize middl
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -21425,7 +21425,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize small
class="config-popconfirm-buttons"
>
<button
class="config-btn config-btn-default config-btn-sm"
class="config-btn config-btn-default config-btn-outlined config-btn-sm"
type="button"
>
<span>
@ -21433,7 +21433,7 @@ exports[`ConfigProvider components Popconfirm configProvider componentSize small
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -21511,7 +21511,7 @@ exports[`ConfigProvider components Popconfirm normal 1`] = `
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -21519,7 +21519,7 @@ exports[`ConfigProvider components Popconfirm normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -21597,7 +21597,7 @@ exports[`ConfigProvider components Popconfirm prefixCls 1`] = `
class="prefix-Popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -21605,7 +21605,7 @@ exports[`ConfigProvider components Popconfirm prefixCls 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -26826,7 +26826,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
class="config-table-filter-dropdown-btns"
>
<button
class="config-btn config-btn-link config-btn-sm"
class="config-btn config-btn-primary config-btn-link config-btn-sm"
disabled=""
type="button"
>
@ -26835,7 +26835,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -27134,7 +27134,7 @@ exports[`ConfigProvider components Table configProvider componentDisabled 1`] =
class="config-table-filter-dropdown-btns"
>
<button
class="config-btn config-btn-link config-btn-sm"
class="config-btn config-btn-primary config-btn-link config-btn-sm"
disabled=""
type="button"
>
@ -27143,7 +27143,7 @@ exports[`ConfigProvider components Table configProvider componentDisabled 1`] =
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
disabled=""
type="button"
>
@ -27442,7 +27442,7 @@ exports[`ConfigProvider components Table configProvider componentSize large 1`]
class="config-table-filter-dropdown-btns"
>
<button
class="config-btn config-btn-link config-btn-sm"
class="config-btn config-btn-primary config-btn-link config-btn-sm"
disabled=""
type="button"
>
@ -27451,7 +27451,7 @@ exports[`ConfigProvider components Table configProvider componentSize large 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -27749,7 +27749,7 @@ exports[`ConfigProvider components Table configProvider componentSize middle 1`]
class="config-table-filter-dropdown-btns"
>
<button
class="config-btn config-btn-link config-btn-sm"
class="config-btn config-btn-primary config-btn-link config-btn-sm"
disabled=""
type="button"
>
@ -27758,7 +27758,7 @@ exports[`ConfigProvider components Table configProvider componentSize middle 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -28056,7 +28056,7 @@ exports[`ConfigProvider components Table configProvider componentSize small 1`]
class="config-table-filter-dropdown-btns"
>
<button
class="config-btn config-btn-link config-btn-sm"
class="config-btn config-btn-primary config-btn-link config-btn-sm"
disabled=""
type="button"
>
@ -28065,7 +28065,7 @@ exports[`ConfigProvider components Table configProvider componentSize small 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -28363,7 +28363,7 @@ exports[`ConfigProvider components Table normal 1`] = `
class="ant-table-filter-dropdown-btns"
>
<button
class="ant-btn ant-btn-link ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-link ant-btn-sm"
disabled=""
type="button"
>
@ -28372,7 +28372,7 @@ exports[`ConfigProvider components Table normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -28670,7 +28670,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
class="prefix-Table-filter-dropdown-btns"
>
<button
class="ant-btn ant-btn-link ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-link ant-btn-sm"
disabled=""
type="button"
>
@ -28679,7 +28679,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -31041,7 +31041,7 @@ Array [
class="config-picker-ok"
>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -32649,7 +32649,7 @@ Array [
class="config-picker-ok"
>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -34210,7 +34210,7 @@ Array [
class="config-picker-ok"
>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -35771,7 +35771,7 @@ Array [
class="config-picker-ok"
>
<button
class="config-btn config-btn-primary config-btn-sm"
class="config-btn config-btn-primary config-btn-solid config-btn-sm"
type="button"
>
<span>
@ -37332,7 +37332,7 @@ Array [
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -38893,7 +38893,7 @@ Array [
class="prefix-TimePicker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -39383,7 +39383,7 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
class="config-transfer-operation"
>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -39412,7 +39412,7 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -39668,7 +39668,7 @@ exports[`ConfigProvider components Transfer configProvider componentDisabled 1`]
class="config-transfer-operation"
>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -39697,7 +39697,7 @@ exports[`ConfigProvider components Transfer configProvider componentDisabled 1`]
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -39953,7 +39953,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize large 1
class="config-transfer-operation"
>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -39982,7 +39982,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize large 1
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -40238,7 +40238,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize middle
class="config-transfer-operation"
>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -40267,7 +40267,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize middle
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -40523,7 +40523,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize small 1
class="config-transfer-operation"
>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -40552,7 +40552,7 @@ exports[`ConfigProvider components Transfer configProvider componentSize small 1
</span>
</button>
<button
class="config-btn config-btn-primary config-btn-sm config-btn-icon-only"
class="config-btn config-btn-primary config-btn-solid config-btn-sm config-btn-icon-only"
disabled=""
type="button"
>
@ -40808,7 +40808,7 @@ exports[`ConfigProvider components Transfer normal 1`] = `
class="ant-transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -40837,7 +40837,7 @@ exports[`ConfigProvider components Transfer normal 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -41093,7 +41093,7 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
class="prefix-Transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -41122,7 +41122,7 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -43299,7 +43299,7 @@ exports[`ConfigProvider components Upload configProvider 1`] = `
class="config-upload-list-item-actions"
>
<button
class="config-btn config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
class="config-btn config-btn-default config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
title="Remove file"
type="button"
>
@ -43461,7 +43461,7 @@ exports[`ConfigProvider components Upload configProvider componentSize large 1`]
class="config-upload-list-item-actions"
>
<button
class="config-btn config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
class="config-btn config-btn-default config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
title="Remove file"
type="button"
>
@ -43557,7 +43557,7 @@ exports[`ConfigProvider components Upload configProvider componentSize middle 1`
class="config-upload-list-item-actions"
>
<button
class="config-btn config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
class="config-btn config-btn-default config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
title="Remove file"
type="button"
>
@ -43653,7 +43653,7 @@ exports[`ConfigProvider components Upload configProvider componentSize small 1`]
class="config-upload-list-item-actions"
>
<button
class="config-btn config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
class="config-btn config-btn-default config-btn-text config-btn-sm config-btn-icon-only config-upload-list-item-action"
title="Remove file"
type="button"
>
@ -43749,7 +43749,7 @@ exports[`ConfigProvider components Upload normal 1`] = `
class="ant-upload-list-item-actions"
>
<button
class="ant-btn ant-btn-text ant-btn-sm ant-btn-icon-only ant-upload-list-item-action"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm ant-btn-icon-only ant-upload-list-item-action"
title="Remove file"
type="button"
>
@ -43845,7 +43845,7 @@ exports[`ConfigProvider components Upload prefixCls 1`] = `
class="prefix-Upload-list-item-actions"
>
<button
class="ant-btn ant-btn-text ant-btn-sm ant-btn-icon-only prefix-Upload-list-item-action"
class="ant-btn ant-btn-default ant-btn-text ant-btn-sm ant-btn-icon-only prefix-Upload-list-item-action"
title="Remove file"
type="button"
>

View File

@ -5907,7 +5907,7 @@ exports[`renders components/date-picker/demo/buddhist-era.tsx extend context cor
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -8694,7 +8694,7 @@ exports[`renders components/date-picker/demo/buddhist-era.tsx extend context cor
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -10667,7 +10667,7 @@ exports[`renders components/date-picker/demo/components.tsx extend context corre
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -17369,7 +17369,7 @@ exports[`renders components/date-picker/demo/disabled-date.tsx extend context co
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -20438,7 +20438,7 @@ exports[`renders components/date-picker/demo/disabled-date.tsx extend context co
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -23181,7 +23181,7 @@ exports[`renders components/date-picker/demo/extra-footer.tsx extend context cor
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -26542,7 +26542,7 @@ exports[`renders components/date-picker/demo/extra-footer.tsx extend context cor
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -40698,7 +40698,7 @@ exports[`renders components/date-picker/demo/mode.tsx extend context correctly 1
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -47196,7 +47196,7 @@ Array [
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -53128,7 +53128,7 @@ exports[`renders components/date-picker/demo/preset-ranges.tsx extend context co
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -56486,7 +56486,7 @@ exports[`renders components/date-picker/demo/range-picker.tsx extend context cor
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -66358,7 +66358,7 @@ exports[`renders components/date-picker/demo/start-end.tsx extend context correc
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -68463,7 +68463,7 @@ exports[`renders components/date-picker/demo/start-end.tsx extend context correc
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -79285,7 +79285,7 @@ exports[`renders components/date-picker/demo/switchable.tsx extend context corre
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -81400,7 +81400,7 @@ exports[`renders components/date-picker/demo/time.tsx extend context correctly 1
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -82942,7 +82942,7 @@ exports[`renders components/date-picker/demo/time.tsx extend context correctly 1
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>

View File

@ -655,7 +655,7 @@ exports[`renders components/descriptions/demo/component-token.tsx extend context
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1565,7 +1565,7 @@ exports[`renders components/descriptions/demo/size.tsx extend context correctly
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1751,7 +1751,7 @@ exports[`renders components/descriptions/demo/size.tsx extend context correctly
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -599,7 +599,7 @@ exports[`renders components/descriptions/demo/component-token.tsx correctly 1`]
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1453,7 +1453,7 @@ exports[`renders components/descriptions/demo/size.tsx correctly 1`] = `
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1623,7 +1623,7 @@ exports[`renders components/descriptions/demo/size.tsx correctly 1`] = `
class="ant-descriptions-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -3,7 +3,7 @@
exports[`renders components/drawer/demo/basic-right.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -107,7 +107,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -119,7 +119,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -385,7 +385,7 @@ exports[`renders components/drawer/demo/config-provider.tsx extend context corre
class="site-drawer-render-in-current-wrapper"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -575,7 +575,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -654,7 +654,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -666,7 +666,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -707,7 +707,7 @@ exports[`renders components/drawer/demo/extra.tsx extend context correctly 2`] =
exports[`renders components/drawer/demo/form-in-drawer.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -810,7 +810,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -822,7 +822,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2796,7 +2796,7 @@ exports[`renders components/drawer/demo/form-in-drawer.tsx extend context correc
exports[`renders components/drawer/demo/loading.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2906,7 +2906,7 @@ exports[`renders components/drawer/demo/loading.tsx extend context correctly 2`]
exports[`renders components/drawer/demo/multi-level-drawer.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2952,7 +2952,7 @@ Array [
class="ant-drawer-body"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3027,7 +3027,7 @@ exports[`renders components/drawer/demo/multi-level-drawer.tsx extend context co
exports[`renders components/drawer/demo/no-mask.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3213,7 +3213,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3293,7 +3293,7 @@ exports[`renders components/drawer/demo/render-in-current.tsx extend context cor
style="margin-top: 16px;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3780,7 +3780,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3792,7 +3792,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3871,7 +3871,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -3883,7 +3883,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/drawer/demo/basic-right.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -19,7 +19,7 @@ exports[`renders components/drawer/demo/classNames.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -31,7 +31,7 @@ exports[`renders components/drawer/demo/classNames.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -108,7 +108,7 @@ exports[`renders components/drawer/demo/config-provider.tsx correctly 1`] = `
class="site-drawer-render-in-current-wrapper"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -211,7 +211,7 @@ exports[`renders components/drawer/demo/extra.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -224,7 +224,7 @@ exports[`renders components/drawer/demo/extra.tsx correctly 1`] = `
exports[`renders components/drawer/demo/form-in-drawer.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -261,7 +261,7 @@ exports[`renders components/drawer/demo/form-in-drawer.tsx correctly 1`] = `
exports[`renders components/drawer/demo/loading.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -272,7 +272,7 @@ exports[`renders components/drawer/demo/loading.tsx correctly 1`] = `
exports[`renders components/drawer/demo/multi-level-drawer.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -283,7 +283,7 @@ exports[`renders components/drawer/demo/multi-level-drawer.tsx correctly 1`] = `
exports[`renders components/drawer/demo/no-mask.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -385,7 +385,7 @@ exports[`renders components/drawer/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -405,7 +405,7 @@ exports[`renders components/drawer/demo/render-in-current.tsx correctly 1`] = `
style="margin-top:16px"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -608,7 +608,7 @@ exports[`renders components/drawer/demo/size.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -620,7 +620,7 @@ exports[`renders components/drawer/demo/size.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -15,7 +15,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -151,7 +151,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -287,7 +287,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -432,7 +432,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -568,7 +568,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -704,7 +704,7 @@ exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -858,7 +858,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -994,7 +994,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1130,7 +1130,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1275,7 +1275,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1411,7 +1411,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1547,7 +1547,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx extend context correc
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -2191,7 +2191,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2219,7 +2219,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2227,7 +2227,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -2471,7 +2471,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2479,7 +2479,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -2723,7 +2723,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
disabled=""
type="button"
>
@ -2732,7 +2732,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
disabled=""
type="button"
>
@ -2977,7 +2977,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3004,7 +3004,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -3245,7 +3245,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<div
@ -3497,7 +3497,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-dangerous ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3505,7 +3505,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-dangerous ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -4117,7 +4117,7 @@ exports[`renders components/dropdown/demo/icon-debug.tsx extend context correctl
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -4125,7 +4125,7 @@ exports[`renders components/dropdown/demo/icon-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -4347,7 +4347,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -4379,7 +4379,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -4460,7 +4460,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -4492,7 +4492,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -4573,7 +4573,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -4581,7 +4581,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -4662,7 +4662,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -4670,7 +4670,7 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -5703,7 +5703,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -5836,7 +5836,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -5969,7 +5969,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -6111,7 +6111,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -6244,7 +6244,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -6377,7 +6377,7 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>

View File

@ -15,7 +15,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -27,7 +27,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -39,7 +39,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -60,7 +60,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -72,7 +72,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -84,7 +84,7 @@ exports[`renders components/dropdown/demo/arrow.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -112,7 +112,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -124,7 +124,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -136,7 +136,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -157,7 +157,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -169,7 +169,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -181,7 +181,7 @@ exports[`renders components/dropdown/demo/arrow-center.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -293,7 +293,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -301,7 +301,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -337,7 +337,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -345,7 +345,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -381,7 +381,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
disabled=""
type="button"
>
@ -390,7 +390,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
disabled=""
type="button"
>
@ -427,7 +427,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -435,7 +435,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -468,7 +468,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<div
@ -512,7 +512,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-dangerous ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -520,7 +520,7 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-dangerous ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -641,7 +641,7 @@ exports[`renders components/dropdown/demo/icon-debug.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -649,7 +649,7 @@ exports[`renders components/dropdown/demo/icon-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -731,7 +731,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -762,7 +762,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -798,7 +798,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-loading ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -829,7 +829,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -865,7 +865,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -873,7 +873,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -909,7 +909,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -917,7 +917,7 @@ exports[`renders components/dropdown/demo/loading.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -1042,7 +1042,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1054,7 +1054,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1066,7 +1066,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1087,7 +1087,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1099,7 +1099,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>
@ -1111,7 +1111,7 @@ exports[`renders components/dropdown/demo/placement.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-dropdown-trigger"
type="button"
>
<span>

View File

@ -5,11 +5,11 @@ exports[`DropdownButton rtl render component should be rendered correctly in RTL
class="ant-space-compact ant-space-compact-rtl ant-space-compact-block ant-dropdown-button"
>
<button
class="ant-btn ant-btn-default ant-btn-rtl ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-item-rtl"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-rtl ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-item-rtl"
type="button"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-rtl ant-btn-compact-item ant-btn-compact-last-item ant-btn-compact-item-rtl ant-dropdown-trigger ant-dropdown-rtl"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-rtl ant-btn-compact-item ant-btn-compact-last-item ant-btn-compact-item-rtl ant-dropdown-trigger ant-dropdown-rtl"
type="button"
>
<span
@ -44,12 +44,12 @@ exports[`DropdownButton should support href like Button 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
>
<a
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
href="https://ant.design"
tabindex="0"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span

View File

@ -628,7 +628,7 @@ Array [
class="ant-transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -657,7 +657,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -1038,7 +1038,7 @@ exports[`renders components/empty/demo/customize.tsx extend context correctly 1`
class="ant-empty-footer"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -419,7 +419,7 @@ Array [
class="ant-transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -448,7 +448,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
@ -756,7 +756,7 @@ exports[`renders components/empty/demo/customize.tsx correctly 1`] = `
class="ant-empty-footer"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -159,7 +159,7 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
style="width: 100%; height: 120px; border-radius: 6px; border: 1px solid #40a9ff;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -167,7 +167,7 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -175,7 +175,7 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -183,7 +183,7 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -291,7 +291,7 @@ exports[`renders components/flex/demo/combination.tsx extend context correctly 1
“antd is an enterprise-class UI design language and React UI library.”
</h3>
<a
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
href="https://ant.design"
tabindex="0"
target="_blank"
@ -437,7 +437,7 @@ exports[`renders components/flex/demo/gap.tsx extend context correctly 1`] = `
class="ant-flex ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -445,7 +445,7 @@ exports[`renders components/flex/demo/gap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -453,7 +453,7 @@ exports[`renders components/flex/demo/gap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -461,7 +461,7 @@ exports[`renders components/flex/demo/gap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -479,7 +479,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -487,7 +487,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -495,7 +495,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -503,7 +503,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -511,7 +511,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -519,7 +519,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -527,7 +527,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -535,7 +535,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -543,7 +543,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -551,7 +551,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -559,7 +559,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -567,7 +567,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -575,7 +575,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -583,7 +583,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -591,7 +591,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -599,7 +599,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -607,7 +607,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -615,7 +615,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -623,7 +623,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -631,7 +631,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -639,7 +639,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -647,7 +647,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -655,7 +655,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -663,7 +663,7 @@ exports[`renders components/flex/demo/wrap.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -159,7 +159,7 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
style="width:100%;height:120px;border-radius:6px;border:1px solid #40a9ff"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -167,7 +167,7 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -175,7 +175,7 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -183,7 +183,7 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -287,7 +287,7 @@ exports[`renders components/flex/demo/combination.tsx correctly 1`] = `
“antd is an enterprise-class UI design language and React UI library.”
</h3>
<a
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
href="https://ant.design"
tabindex="0"
target="_blank"
@ -429,7 +429,7 @@ exports[`renders components/flex/demo/gap.tsx correctly 1`] = `
class="ant-flex ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -437,7 +437,7 @@ exports[`renders components/flex/demo/gap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -445,7 +445,7 @@ exports[`renders components/flex/demo/gap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -453,7 +453,7 @@ exports[`renders components/flex/demo/gap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -469,7 +469,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -477,7 +477,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -485,7 +485,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -493,7 +493,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -501,7 +501,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -509,7 +509,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -517,7 +517,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -525,7 +525,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -533,7 +533,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -541,7 +541,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -549,7 +549,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -557,7 +557,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -565,7 +565,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -573,7 +573,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -581,7 +581,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -589,7 +589,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -597,7 +597,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -605,7 +605,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -613,7 +613,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -621,7 +621,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -629,7 +629,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -637,7 +637,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -645,7 +645,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -653,7 +653,7 @@ exports[`renders components/flex/demo/wrap.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -554,7 +554,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -566,7 +566,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -785,7 +785,7 @@ exports[`renders components/form/demo/basic.tsx extend context correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1186,7 +1186,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1327,7 +1327,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1898,7 +1898,7 @@ exports[`renders components/form/demo/control-hooks.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1910,7 +1910,7 @@ exports[`renders components/form/demo/control-hooks.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1922,7 +1922,7 @@ exports[`renders components/form/demo/control-hooks.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -2095,7 +2095,7 @@ exports[`renders components/form/demo/custom-feedback-icons.tsx extend context c
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="submit"
>
<span>
@ -2315,7 +2315,7 @@ exports[`renders components/form/demo/customized-form-controls.tsx extend contex
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -5156,7 +5156,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
disabled=""
type="button"
>
@ -6696,7 +6696,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx extend context corre
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
style="width: 60%;"
type="button"
>
@ -6731,7 +6731,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx extend context corre
</span>
</button>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
style="width: 60%; margin-top: 20px;"
type="button"
>
@ -6786,7 +6786,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx extend context corre
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -6826,7 +6826,7 @@ exports[`renders components/form/demo/dynamic-form-items.tsx extend context corr
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span
@ -6880,7 +6880,7 @@ exports[`renders components/form/demo/dynamic-form-items.tsx extend context corr
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -7017,7 +7017,7 @@ exports[`renders components/form/demo/dynamic-form-items-complex.tsx extend cont
style="display: flex; flex-direction: column; row-gap: 16px;"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span>
@ -7033,7 +7033,7 @@ exports[`renders components/form/demo/dynamic-form-items-complex.tsx extend cont
</div>
</div>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span>
@ -7105,7 +7105,7 @@ exports[`renders components/form/demo/dynamic-form-items-no-style.tsx extend con
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span
@ -7164,7 +7164,7 @@ exports[`renders components/form/demo/dynamic-form-items-no-style.tsx extend con
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -7318,7 +7318,7 @@ exports[`renders components/form/demo/dynamic-rule.tsx extend context correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -7450,7 +7450,7 @@ exports[`renders components/form/demo/form-context.tsx extend context correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -7458,7 +7458,7 @@ exports[`renders components/form/demo/form-context.tsx extend context correctly
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="margin: 0px 8px;"
type="button"
>
@ -7615,7 +7615,7 @@ exports[`renders components/form/demo/form-dependencies.tsx extend context corre
exports[`renders components/form/demo/form-in-modal.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -7745,7 +7745,7 @@ exports[`renders components/form/demo/form-item-path.tsx extend context correctl
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -8451,7 +8451,7 @@ exports[`renders components/form/demo/getValueProps-normalize.tsx extend context
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -8664,7 +8664,7 @@ exports[`renders components/form/demo/inline-login.tsx extend context correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
disabled=""
type="submit"
>
@ -8993,7 +8993,7 @@ exports[`renders components/form/demo/layout.tsx extend context correctly 1`] =
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -9123,7 +9123,7 @@ exports[`renders components/form/demo/layout-can-wrap.tsx extend context correct
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -9491,7 +9491,7 @@ exports[`renders components/form/demo/login.tsx extend context correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary ant-btn-block"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-block"
type="submit"
>
<span>
@ -9788,7 +9788,7 @@ exports[`renders components/form/demo/nest-messages.tsx extend context correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -9874,7 +9874,7 @@ exports[`renders components/form/demo/ref-item.tsx extend context correctly 1`]
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -9882,7 +9882,7 @@ exports[`renders components/form/demo/ref-item.tsx extend context correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -11174,7 +11174,7 @@ exports[`renders components/form/demo/register.tsx extend context correctly 1`]
style="padding-left: 4px; padding-right: 4px;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -11253,7 +11253,7 @@ exports[`renders components/form/demo/register.tsx extend context correctly 1`]
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -11571,7 +11571,7 @@ exports[`renders components/form/demo/required-mark.tsx extend context correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -13007,7 +13007,7 @@ exports[`renders components/form/demo/size.tsx extend context correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -15790,7 +15790,7 @@ exports[`renders components/form/demo/time-related-controls.tsx extend context c
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -19468,7 +19468,7 @@ exports[`renders components/form/demo/time-related-controls.tsx extend context c
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -21059,7 +21059,7 @@ exports[`renders components/form/demo/time-related-controls.tsx extend context c
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -21095,7 +21095,7 @@ exports[`renders components/form/demo/time-related-controls.tsx extend context c
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -21380,7 +21380,7 @@ exports[`renders components/form/demo/validate-only.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
disabled=""
type="submit"
>
@ -21393,7 +21393,7 @@ exports[`renders components/form/demo/validate-only.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="reset"
>
<span>
@ -22861,7 +22861,7 @@ exports[`renders components/form/demo/validate-other.tsx extend context correctl
type="file"
/>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -23428,7 +23428,7 @@ exports[`renders components/form/demo/validate-other.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -23440,7 +23440,7 @@ exports[`renders components/form/demo/validate-other.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="reset"
>
<span>
@ -23480,7 +23480,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx extend contex
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -23807,7 +23807,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx extend contex
class="ant-flex ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -23815,7 +23815,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -26536,7 +26536,7 @@ exports[`renders components/form/demo/validate-static.tsx extend context correct
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -33389,7 +33389,7 @@ exports[`renders components/form/demo/variant.tsx extend context correctly 1`] =
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -33472,7 +33472,7 @@ exports[`renders components/form/demo/warning-only.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -33484,7 +33484,7 @@ exports[`renders components/form/demo/warning-only.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -394,7 +394,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -406,7 +406,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -623,7 +623,7 @@ exports[`renders components/form/demo/basic.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -917,7 +917,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1058,7 +1058,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1425,7 +1425,7 @@ exports[`renders components/form/demo/control-hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -1437,7 +1437,7 @@ exports[`renders components/form/demo/control-hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1449,7 +1449,7 @@ exports[`renders components/form/demo/control-hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -1578,7 +1578,7 @@ exports[`renders components/form/demo/custom-feedback-icons.tsx correctly 1`] =
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="submit"
>
<span>
@ -1715,7 +1715,7 @@ exports[`renders components/form/demo/customized-form-controls.tsx correctly 1`]
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -2661,7 +2661,7 @@ Array [
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
disabled=""
type="button"
>
@ -3627,7 +3627,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
style="width:60%"
type="button"
>
@ -3662,7 +3662,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
style="width:60%;margin-top:20px"
type="button"
>
@ -3717,7 +3717,7 @@ exports[`renders components/form/demo/dynamic-form-item.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -3755,7 +3755,7 @@ exports[`renders components/form/demo/dynamic-form-items.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span
@ -3809,7 +3809,7 @@ exports[`renders components/form/demo/dynamic-form-items.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -3944,7 +3944,7 @@ exports[`renders components/form/demo/dynamic-form-items-complex.tsx correctly 1
style="display:flex;flex-direction:column;row-gap:16px"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span>
@ -3960,7 +3960,7 @@ exports[`renders components/form/demo/dynamic-form-items-complex.tsx correctly 1
</div>
</div>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span>
@ -4026,7 +4026,7 @@ exports[`renders components/form/demo/dynamic-form-items-no-style.tsx correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-dashed ant-btn-block"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-block"
type="button"
>
<span
@ -4085,7 +4085,7 @@ exports[`renders components/form/demo/dynamic-form-items-no-style.tsx correctly
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -4237,7 +4237,7 @@ exports[`renders components/form/demo/dynamic-rule.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -4367,7 +4367,7 @@ exports[`renders components/form/demo/form-context.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -4375,7 +4375,7 @@ exports[`renders components/form/demo/form-context.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="margin:0 8px"
type="button"
>
@ -4528,7 +4528,7 @@ exports[`renders components/form/demo/form-dependencies.tsx correctly 1`] = `
exports[`renders components/form/demo/form-in-modal.tsx correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -4656,7 +4656,7 @@ exports[`renders components/form/demo/form-item-path.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -4785,7 +4785,7 @@ exports[`renders components/form/demo/getValueProps-normalize.tsx correctly 1`]
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -4996,7 +4996,7 @@ exports[`renders components/form/demo/inline-login.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
disabled=""
type="submit"
>
@ -5321,7 +5321,7 @@ exports[`renders components/form/demo/layout.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -5449,7 +5449,7 @@ exports[`renders components/form/demo/layout-can-wrap.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -5813,7 +5813,7 @@ exports[`renders components/form/demo/login.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary ant-btn-block"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-block"
type="submit"
>
<span>
@ -6108,7 +6108,7 @@ exports[`renders components/form/demo/nest-messages.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -6192,7 +6192,7 @@ exports[`renders components/form/demo/ref-item.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6200,7 +6200,7 @@ exports[`renders components/form/demo/ref-item.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -7114,7 +7114,7 @@ exports[`renders components/form/demo/register.tsx correctly 1`] = `
style="padding-left:4px;padding-right:4px"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -7193,7 +7193,7 @@ exports[`renders components/form/demo/register.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -7471,7 +7471,7 @@ exports[`renders components/form/demo/required-mark.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -8125,7 +8125,7 @@ exports[`renders components/form/demo/size.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -8683,7 +8683,7 @@ exports[`renders components/form/demo/time-related-controls.tsx correctly 1`] =
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -8964,7 +8964,7 @@ exports[`renders components/form/demo/validate-only.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
disabled=""
type="submit"
>
@ -8977,7 +8977,7 @@ exports[`renders components/form/demo/validate-only.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="reset"
>
<span>
@ -10265,7 +10265,7 @@ exports[`renders components/form/demo/validate-other.tsx correctly 1`] = `
type="file"
/>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -10464,7 +10464,7 @@ exports[`renders components/form/demo/validate-other.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -10476,7 +10476,7 @@ exports[`renders components/form/demo/validate-other.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="reset"
>
<span>
@ -10514,7 +10514,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx correctly 1`]
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -10744,7 +10744,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx correctly 1`]
class="ant-flex ant-flex-gap-small"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -10752,7 +10752,7 @@ exports[`renders components/form/demo/validate-scroll-to-field.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -13724,7 +13724,7 @@ exports[`renders components/form/demo/variant.tsx correctly 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -13805,7 +13805,7 @@ exports[`renders components/form/demo/warning-only.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -13817,7 +13817,7 @@ exports[`renders components/form/demo/warning-only.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -978,7 +978,7 @@ exports[`Form form should support disabled 1`] = `
class="ant-form-item-control-input-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
disabled=""
type="button"
>

View File

@ -209,7 +209,7 @@ Array [
</div>,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -351,7 +351,7 @@ exports[`renders components/image/demo/imageRender.tsx extend context correctly
exports[`renders components/image/demo/nested.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -428,7 +428,7 @@ exports[`renders components/image/demo/placeholder.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -206,7 +206,7 @@ Array [
</div>,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -342,7 +342,7 @@ exports[`renders components/image/demo/imageRender.tsx correctly 1`] = `
exports[`renders components/image/demo/nested.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -417,7 +417,7 @@ exports[`renders components/image/demo/placeholder.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -1501,7 +1501,7 @@ Array [
style="margin-top: 20px;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3190,7 +3190,7 @@ exports[`renders components/input-number/demo/out-of-range.tsx extend context co
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -1219,7 +1219,7 @@ Array [
style="margin-top:20px"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2900,7 +2900,7 @@ exports[`renders components/input-number/demo/out-of-range.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -16,7 +16,7 @@ exports[`Input.Search rtl render component should be rendered correctly in RTL d
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-rtl ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-rtl ant-input-search-button"
type="button"
>
<span
@ -75,7 +75,7 @@ exports[`Input.Search should support ReactNode suffix without error 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -123,7 +123,7 @@ exports[`Input.Search should support addonAfter 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -174,7 +174,7 @@ exports[`Input.Search should support addonAfter 2`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-input-search-button"
type="button"
>
<span
@ -234,7 +234,7 @@ exports[`Input.Search should support addonAfter and suffix for loading 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -292,7 +292,7 @@ exports[`Input.Search should support addonAfter and suffix for loading 2`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -341,7 +341,7 @@ exports[`Input.Search should support custom Button 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-input-search-button"
type="button"
>
<span>
@ -394,7 +394,7 @@ exports[`Input.Search should support invalid addonAfter 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-input-search-button"
type="button"
>
<span
@ -449,7 +449,7 @@ exports[`Input.Search should support invalid suffix 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -497,7 +497,7 @@ exports[`Input.Search should support loading 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -545,7 +545,7 @@ exports[`Input.Search should support loading 2`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-input-search-button"
type="button"
>
<span

View File

@ -704,7 +704,7 @@ Array [
style="width: 100px;"
/>,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -3043,7 +3043,7 @@ Array [
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -5805,7 +5805,7 @@ exports[`renders components/input/demo/compact-style.tsx extend context correctl
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -5850,7 +5850,7 @@ exports[`renders components/input/demo/compact-style.tsx extend context correctl
value="Combine input and button"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -6095,7 +6095,7 @@ exports[`renders components/input/demo/debug-addon.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -6124,7 +6124,7 @@ exports[`renders components/input/demo/debug-addon.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6168,7 +6168,7 @@ exports[`renders components/input/demo/debug-addon.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -6591,7 +6591,7 @@ exports[`renders components/input/demo/focus.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6603,7 +6603,7 @@ exports[`renders components/input/demo/focus.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6615,7 +6615,7 @@ exports[`renders components/input/demo/focus.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6627,7 +6627,7 @@ exports[`renders components/input/demo/focus.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -6746,7 +6746,7 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -6765,7 +6765,7 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
value="git@github.com:ant-design/ant-design.git"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -7017,7 +7017,7 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -7097,7 +7097,7 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10590,7 +10590,7 @@ exports[`renders components/input/demo/password-input.tsx extend context correct
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px;"
type="button"
>
@ -10760,7 +10760,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10845,7 +10845,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10935,7 +10935,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10985,7 +10985,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-input-search-button"
type="button"
>
<span
@ -11069,7 +11069,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span>
@ -11127,7 +11127,7 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span>
@ -11161,7 +11161,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -11209,7 +11209,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -11257,7 +11257,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -11607,7 +11607,7 @@ exports[`renders components/input/demo/textarea.tsx extend context correctly 2`]
exports[`renders components/input/demo/textarea-resize.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="margin-bottom: 16px;"
type="button"
>

View File

@ -428,7 +428,7 @@ Array [
style="width:100px"
/>,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1687,7 +1687,7 @@ exports[`renders components/input/demo/compact-style.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1732,7 +1732,7 @@ exports[`renders components/input/demo/compact-style.tsx correctly 1`] = `
value="Combine input and button"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -1894,7 +1894,7 @@ exports[`renders components/input/demo/debug-addon.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1923,7 +1923,7 @@ exports[`renders components/input/demo/debug-addon.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1967,7 +1967,7 @@ exports[`renders components/input/demo/debug-addon.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -2386,7 +2386,7 @@ exports[`renders components/input/demo/focus.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2398,7 +2398,7 @@ exports[`renders components/input/demo/focus.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2410,7 +2410,7 @@ exports[`renders components/input/demo/focus.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2422,7 +2422,7 @@ exports[`renders components/input/demo/focus.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2539,7 +2539,7 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -2558,7 +2558,7 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
value="git@github.com:ant-design/ant-design.git"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -2710,7 +2710,7 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -2790,7 +2790,7 @@ exports[`renders components/input/demo/group.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -3936,7 +3936,7 @@ exports[`renders components/input/demo/password-input.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px"
type="button"
>
@ -4083,7 +4083,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -4168,7 +4168,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -4258,7 +4258,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -4308,7 +4308,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-input-search-button"
type="button"
>
<span
@ -4392,7 +4392,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span>
@ -4450,7 +4450,7 @@ exports[`renders components/input/demo/search-input.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-input-search-button"
type="button"
>
<span>
@ -4482,7 +4482,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -4530,7 +4530,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -4578,7 +4578,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-loading ant-input-search-button"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg ant-btn-loading ant-input-search-button"
type="button"
>
<span
@ -4917,7 +4917,7 @@ Array [
exports[`renders components/input/demo/textarea-resize.tsx correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="margin-bottom:16px"
type="button"
>

View File

@ -1079,7 +1079,7 @@ exports[`renders components/layout/demo/custom-trigger.tsx extend context correc
style="padding: 0px; background: rgb(255, 255, 255);"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-text ant-btn-icon-only"
style="font-size: 16px; width: 64px; height: 64px;"
type="button"
>

View File

@ -542,7 +542,7 @@ exports[`renders components/layout/demo/custom-trigger.tsx correctly 1`] = `
style="padding:0;background:#ffffff"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-text ant-btn-icon-only"
style="font-size:16px;width:64px;height:64px"
type="button"
>

File diff suppressed because it is too large Load Diff

View File

@ -364,7 +364,7 @@ exports[`renders components/mentions/demo/form.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -376,7 +376,7 @@ exports[`renders components/mentions/demo/form.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -306,7 +306,7 @@ exports[`renders components/mentions/demo/form.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="submit"
>
<span>
@ -318,7 +318,7 @@ exports[`renders components/mentions/demo/form.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -3045,7 +3045,7 @@ exports[`renders components/menu/demo/inline-collapsed.tsx extend context correc
style="width: 256px;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-bottom: 16px;"
type="button"
>

View File

@ -1406,7 +1406,7 @@ exports[`renders components/menu/demo/inline-collapsed.tsx correctly 1`] = `
style="width:256px"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-bottom:16px"
type="button"
>

View File

@ -79,7 +79,7 @@ exports[`renders components/message/demo/component-token.tsx extend context corr
exports[`renders components/message/demo/custom-style.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -92,7 +92,7 @@ exports[`renders components/message/demo/custom-style.tsx extend context correct
exports[`renders components/message/demo/duration.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -105,7 +105,7 @@ exports[`renders components/message/demo/duration.tsx extend context correctly 2
exports[`renders components/message/demo/hooks.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -118,7 +118,7 @@ exports[`renders components/message/demo/hooks.tsx extend context correctly 2`]
exports[`renders components/message/demo/info.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -131,7 +131,7 @@ exports[`renders components/message/demo/info.tsx extend context correctly 2`] =
exports[`renders components/message/demo/loading.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -150,7 +150,7 @@ exports[`renders components/message/demo/other.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -162,7 +162,7 @@ exports[`renders components/message/demo/other.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -174,7 +174,7 @@ exports[`renders components/message/demo/other.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -229,7 +229,7 @@ exports[`renders components/message/demo/render-panel.tsx extend context correct
exports[`renders components/message/demo/thenable.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -242,7 +242,7 @@ exports[`renders components/message/demo/thenable.tsx extend context correctly 2
exports[`renders components/message/demo/update.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -77,7 +77,7 @@ Array [
exports[`renders components/message/demo/custom-style.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -88,7 +88,7 @@ exports[`renders components/message/demo/custom-style.tsx correctly 1`] = `
exports[`renders components/message/demo/duration.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -99,7 +99,7 @@ exports[`renders components/message/demo/duration.tsx correctly 1`] = `
exports[`renders components/message/demo/hooks.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -110,7 +110,7 @@ exports[`renders components/message/demo/hooks.tsx correctly 1`] = `
exports[`renders components/message/demo/info.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -121,7 +121,7 @@ exports[`renders components/message/demo/info.tsx correctly 1`] = `
exports[`renders components/message/demo/loading.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -138,7 +138,7 @@ exports[`renders components/message/demo/other.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -150,7 +150,7 @@ exports[`renders components/message/demo/other.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -162,7 +162,7 @@ exports[`renders components/message/demo/other.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -213,7 +213,7 @@ exports[`renders components/message/demo/render-panel.tsx correctly 1`] = `
exports[`renders components/message/demo/thenable.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -224,7 +224,7 @@ exports[`renders components/message/demo/thenable.tsx correctly 1`] = `
exports[`renders components/message/demo/update.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -5,7 +5,7 @@ exports[`Modal Both ways should be rendered normally on the page 1`] = `
class="first-origin"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -13,7 +13,7 @@ exports[`Modal Both ways should be rendered normally on the page 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -28,7 +28,7 @@ exports[`Modal Both ways should be rendered normally on the page 2`] = `
class="second-props-origin"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -36,7 +36,7 @@ exports[`Modal Both ways should be rendered normally on the page 2`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -116,7 +116,7 @@ exports[`Modal render correctly 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -124,7 +124,7 @@ exports[`Modal render correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -277,7 +277,7 @@ exports[`Modal support closeIcon 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -285,7 +285,7 @@ exports[`Modal support closeIcon 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/modal/demo/async.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -15,7 +15,7 @@ exports[`renders components/modal/demo/async.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/basic.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -28,7 +28,7 @@ exports[`renders components/modal/demo/basic.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/button-props.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -47,7 +47,7 @@ exports[`renders components/modal/demo/classNames.tsx extend context correctly 1
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -59,7 +59,7 @@ exports[`renders components/modal/demo/classNames.tsx extend context correctly 1
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -142,7 +142,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -150,7 +150,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -232,7 +232,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -240,7 +240,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -316,7 +316,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -399,7 +399,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -407,7 +407,7 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -439,7 +439,7 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -451,7 +451,7 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -463,7 +463,7 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -475,7 +475,7 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`]
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -490,7 +490,7 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 2`]
exports[`renders components/modal/demo/confirm-router.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -503,7 +503,7 @@ exports[`renders components/modal/demo/confirm-router.tsx extend context correct
exports[`renders components/modal/demo/custom-mouse-position.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -516,7 +516,7 @@ exports[`renders components/modal/demo/custom-mouse-position.tsx extend context
exports[`renders components/modal/demo/dark.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -529,7 +529,7 @@ exports[`renders components/modal/demo/dark.tsx extend context correctly 2`] = `
exports[`renders components/modal/demo/footer.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -548,7 +548,7 @@ exports[`renders components/modal/demo/footer-render.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -560,7 +560,7 @@ exports[`renders components/modal/demo/footer-render.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -581,7 +581,7 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -593,7 +593,7 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -605,7 +605,7 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -617,7 +617,7 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -632,7 +632,7 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/loading.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -651,7 +651,7 @@ exports[`renders components/modal/demo/locale.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -663,7 +663,7 @@ exports[`renders components/modal/demo/locale.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -678,7 +678,7 @@ exports[`renders components/modal/demo/locale.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/manual.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -691,7 +691,7 @@ exports[`renders components/modal/demo/manual.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/modal-render.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -739,7 +739,7 @@ exports[`renders components/modal/demo/nested.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -764,7 +764,7 @@ exports[`renders components/modal/demo/nested.tsx extend context correctly 2`] =
exports[`renders components/modal/demo/position.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -774,7 +774,7 @@ Array [
<br />,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -856,7 +856,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -864,7 +864,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -940,7 +940,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1023,7 +1023,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1031,7 +1031,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1136,7 +1136,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1148,7 +1148,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1168,7 +1168,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1180,7 +1180,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-solid"
type="button"
>
<span>
@ -1192,7 +1192,7 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1226,7 +1226,7 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1238,7 +1238,7 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1250,7 +1250,7 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1262,7 +1262,7 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1277,7 +1277,7 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
exports[`renders components/modal/demo/width.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1358,7 +1358,7 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1366,7 +1366,7 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1442,7 +1442,7 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1525,7 +1525,7 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1533,7 +1533,7 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/modal/demo/async.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -13,7 +13,7 @@ exports[`renders components/modal/demo/async.tsx correctly 1`] = `
exports[`renders components/modal/demo/basic.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -24,7 +24,7 @@ exports[`renders components/modal/demo/basic.tsx correctly 1`] = `
exports[`renders components/modal/demo/button-props.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -41,7 +41,7 @@ exports[`renders components/modal/demo/classNames.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -53,7 +53,7 @@ exports[`renders components/modal/demo/classNames.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -134,7 +134,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -142,7 +142,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -224,7 +224,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -232,7 +232,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -308,7 +308,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -391,7 +391,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -399,7 +399,7 @@ exports[`renders components/modal/demo/component-token.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -429,7 +429,7 @@ exports[`renders components/modal/demo/confirm.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -441,7 +441,7 @@ exports[`renders components/modal/demo/confirm.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -453,7 +453,7 @@ exports[`renders components/modal/demo/confirm.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -465,7 +465,7 @@ exports[`renders components/modal/demo/confirm.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -478,7 +478,7 @@ exports[`renders components/modal/demo/confirm.tsx correctly 1`] = `
exports[`renders components/modal/demo/confirm-router.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -489,7 +489,7 @@ exports[`renders components/modal/demo/confirm-router.tsx correctly 1`] = `
exports[`renders components/modal/demo/custom-mouse-position.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -500,7 +500,7 @@ exports[`renders components/modal/demo/custom-mouse-position.tsx correctly 1`] =
exports[`renders components/modal/demo/dark.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -511,7 +511,7 @@ exports[`renders components/modal/demo/dark.tsx correctly 1`] = `
exports[`renders components/modal/demo/footer.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -528,7 +528,7 @@ exports[`renders components/modal/demo/footer-render.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -540,7 +540,7 @@ exports[`renders components/modal/demo/footer-render.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -559,7 +559,7 @@ exports[`renders components/modal/demo/hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -571,7 +571,7 @@ exports[`renders components/modal/demo/hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -583,7 +583,7 @@ exports[`renders components/modal/demo/hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -595,7 +595,7 @@ exports[`renders components/modal/demo/hooks.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -608,7 +608,7 @@ exports[`renders components/modal/demo/hooks.tsx correctly 1`] = `
exports[`renders components/modal/demo/loading.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -625,7 +625,7 @@ exports[`renders components/modal/demo/locale.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -637,7 +637,7 @@ exports[`renders components/modal/demo/locale.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -650,7 +650,7 @@ exports[`renders components/modal/demo/locale.tsx correctly 1`] = `
exports[`renders components/modal/demo/manual.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -661,7 +661,7 @@ exports[`renders components/modal/demo/manual.tsx correctly 1`] = `
exports[`renders components/modal/demo/modal-render.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -707,7 +707,7 @@ exports[`renders components/modal/demo/nested.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -730,7 +730,7 @@ exports[`renders components/modal/demo/nested.tsx correctly 1`] = `
exports[`renders components/modal/demo/position.tsx correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -740,7 +740,7 @@ Array [
<br />,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -820,7 +820,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -828,7 +828,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -904,7 +904,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -987,7 +987,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -995,7 +995,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1100,7 +1100,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1112,7 +1112,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1132,7 +1132,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1144,7 +1144,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-solid"
type="button"
>
<span>
@ -1156,7 +1156,7 @@ exports[`renders components/modal/demo/render-panel.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1188,7 +1188,7 @@ exports[`renders components/modal/demo/static-info.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1200,7 +1200,7 @@ exports[`renders components/modal/demo/static-info.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1212,7 +1212,7 @@ exports[`renders components/modal/demo/static-info.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1224,7 +1224,7 @@ exports[`renders components/modal/demo/static-info.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1237,7 +1237,7 @@ exports[`renders components/modal/demo/static-info.tsx correctly 1`] = `
exports[`renders components/modal/demo/width.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1316,7 +1316,7 @@ exports[`renders components/modal/demo/wireframe.tsx correctly 1`] = `
class="ant-modal-footer"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1324,7 +1324,7 @@ exports[`renders components/modal/demo/wireframe.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1400,7 +1400,7 @@ exports[`renders components/modal/demo/wireframe.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1483,7 +1483,7 @@ exports[`renders components/modal/demo/wireframe.tsx correctly 1`] = `
class="ant-modal-confirm-btns"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1491,7 +1491,7 @@ exports[`renders components/modal/demo/wireframe.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/notification/demo/basic.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -15,7 +15,7 @@ exports[`renders components/notification/demo/basic.tsx extend context correctly
exports[`renders components/notification/demo/custom-icon.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -28,7 +28,7 @@ exports[`renders components/notification/demo/custom-icon.tsx extend context cor
exports[`renders components/notification/demo/custom-style.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -41,7 +41,7 @@ exports[`renders components/notification/demo/custom-style.tsx extend context co
exports[`renders components/notification/demo/duration.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -61,7 +61,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -96,7 +96,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -139,7 +139,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -174,7 +174,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -220,7 +220,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -255,7 +255,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -298,7 +298,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -333,7 +333,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -376,7 +376,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -411,7 +411,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -495,7 +495,7 @@ exports[`renders components/notification/demo/render-panel.tsx extend context co
class="ant-notification-notice-btn"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -545,7 +545,7 @@ exports[`renders components/notification/demo/show-with-progress.tsx extend cont
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -557,7 +557,7 @@ exports[`renders components/notification/demo/show-with-progress.tsx extend cont
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -717,7 +717,7 @@ exports[`renders components/notification/demo/stack.tsx extend context correctly
role="separator"
/>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -731,7 +731,7 @@ exports[`renders components/notification/demo/stack.tsx extend context correctly
exports[`renders components/notification/demo/update.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -744,7 +744,7 @@ exports[`renders components/notification/demo/update.tsx extend context correctl
exports[`renders components/notification/demo/with-btn.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -763,7 +763,7 @@ exports[`renders components/notification/demo/with-icon.tsx extend context corre
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -775,7 +775,7 @@ exports[`renders components/notification/demo/with-icon.tsx extend context corre
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -787,7 +787,7 @@ exports[`renders components/notification/demo/with-icon.tsx extend context corre
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -799,7 +799,7 @@ exports[`renders components/notification/demo/with-icon.tsx extend context corre
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/notification/demo/basic.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -13,7 +13,7 @@ exports[`renders components/notification/demo/basic.tsx correctly 1`] = `
exports[`renders components/notification/demo/custom-icon.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -24,7 +24,7 @@ exports[`renders components/notification/demo/custom-icon.tsx correctly 1`] = `
exports[`renders components/notification/demo/custom-style.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -35,7 +35,7 @@ exports[`renders components/notification/demo/custom-style.tsx correctly 1`] = `
exports[`renders components/notification/demo/duration.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -53,7 +53,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -88,7 +88,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -131,7 +131,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -166,7 +166,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -210,7 +210,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -245,7 +245,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -288,7 +288,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -323,7 +323,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -366,7 +366,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -401,7 +401,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span
@ -483,7 +483,7 @@ exports[`renders components/notification/demo/render-panel.tsx correctly 1`] = `
class="ant-notification-notice-btn"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -531,7 +531,7 @@ exports[`renders components/notification/demo/show-with-progress.tsx correctly 1
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -543,7 +543,7 @@ exports[`renders components/notification/demo/show-with-progress.tsx correctly 1
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -701,7 +701,7 @@ exports[`renders components/notification/demo/stack.tsx correctly 1`] = `
role="separator"
/>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -713,7 +713,7 @@ exports[`renders components/notification/demo/stack.tsx correctly 1`] = `
exports[`renders components/notification/demo/update.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -724,7 +724,7 @@ exports[`renders components/notification/demo/update.tsx correctly 1`] = `
exports[`renders components/notification/demo/with-btn.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -741,7 +741,7 @@ exports[`renders components/notification/demo/with-icon.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -753,7 +753,7 @@ exports[`renders components/notification/demo/with-icon.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -765,7 +765,7 @@ exports[`renders components/notification/demo/with-icon.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -777,7 +777,7 @@ exports[`renders components/notification/demo/with-icon.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -3,7 +3,7 @@
exports[`renders components/popconfirm/demo/async.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -76,7 +76,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -84,7 +84,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -105,7 +105,7 @@ exports[`renders components/popconfirm/demo/async.tsx extend context correctly 2
exports[`renders components/popconfirm/demo/basic.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -178,7 +178,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -186,7 +186,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -207,7 +207,7 @@ exports[`renders components/popconfirm/demo/basic.tsx extend context correctly 2
exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context correctly 1`] = `
<div>
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -280,7 +280,7 @@ exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context c
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -288,7 +288,7 @@ exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context c
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -332,7 +332,7 @@ exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context c
exports[`renders components/popconfirm/demo/icon.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -409,7 +409,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -417,7 +417,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -438,7 +438,7 @@ exports[`renders components/popconfirm/demo/icon.tsx extend context correctly 2`
exports[`renders components/popconfirm/demo/locale.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -511,7 +511,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -519,7 +519,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -546,7 +546,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -620,7 +620,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -629,7 +629,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -644,7 +644,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -718,7 +718,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -727,7 +727,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -742,7 +742,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -816,7 +816,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -825,7 +825,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -848,7 +848,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -922,7 +922,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -931,7 +931,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -946,7 +946,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1020,7 +1020,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1029,7 +1029,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1044,7 +1044,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1118,7 +1118,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1127,7 +1127,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1146,7 +1146,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1220,7 +1220,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1229,7 +1229,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1244,7 +1244,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1318,7 +1318,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1327,7 +1327,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1342,7 +1342,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1416,7 +1416,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1425,7 +1425,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1446,7 +1446,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1520,7 +1520,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1529,7 +1529,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1544,7 +1544,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1618,7 +1618,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1627,7 +1627,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1642,7 +1642,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1716,7 +1716,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1725,7 +1725,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1748,7 +1748,7 @@ exports[`renders components/popconfirm/demo/placement.tsx extend context correct
exports[`renders components/popconfirm/demo/promise.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1821,7 +1821,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -1829,7 +1829,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -1913,7 +1913,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -1921,7 +1921,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -2000,7 +2000,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -2008,7 +2008,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -2057,7 +2057,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -2065,7 +2065,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -2119,7 +2119,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -2127,7 +2127,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -2305,7 +2305,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -2313,7 +2313,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -2387,7 +2387,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -2395,7 +2395,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>

View File

@ -2,7 +2,7 @@
exports[`renders components/popconfirm/demo/async.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -13,7 +13,7 @@ exports[`renders components/popconfirm/demo/async.tsx correctly 1`] = `
exports[`renders components/popconfirm/demo/basic.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -25,7 +25,7 @@ exports[`renders components/popconfirm/demo/basic.tsx correctly 1`] = `
exports[`renders components/popconfirm/demo/dynamic-trigger.tsx correctly 1`] = `
<div>
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -60,7 +60,7 @@ exports[`renders components/popconfirm/demo/dynamic-trigger.tsx correctly 1`] =
exports[`renders components/popconfirm/demo/icon.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -71,7 +71,7 @@ exports[`renders components/popconfirm/demo/icon.tsx correctly 1`] = `
exports[`renders components/popconfirm/demo/locale.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
class="ant-btn ant-btn-dangerous ant-btn-outlined"
type="button"
>
<span>
@ -89,7 +89,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -98,7 +98,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -107,7 +107,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -124,7 +124,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -133,7 +133,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -142,7 +142,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -155,7 +155,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -164,7 +164,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -173,7 +173,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -188,7 +188,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -197,7 +197,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -206,7 +206,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -220,7 +220,7 @@ exports[`renders components/popconfirm/demo/placement.tsx correctly 1`] = `
exports[`renders components/popconfirm/demo/promise.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -295,7 +295,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -303,7 +303,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -382,7 +382,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -390,7 +390,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -439,7 +439,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -447,7 +447,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -501,7 +501,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -509,7 +509,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -683,7 +683,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -691,7 +691,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -765,7 +765,7 @@ Array [
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -773,7 +773,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>

View File

@ -64,7 +64,7 @@ exports[`Popconfirm should show overlay when trigger is clicked 1`] = `
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -72,7 +72,7 @@ exports[`Popconfirm should show overlay when trigger is clicked 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -149,7 +149,7 @@ exports[`Popconfirm shows content for render functions 1`] = `
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -157,7 +157,7 @@ exports[`Popconfirm shows content for render functions 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>

View File

@ -62,7 +62,7 @@ Array [
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -108,7 +108,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -154,7 +154,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -208,7 +208,7 @@ Array [
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -254,7 +254,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -300,7 +300,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -350,7 +350,7 @@ Array [
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -396,7 +396,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -442,7 +442,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -494,7 +494,7 @@ Array [
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -540,7 +540,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -586,7 +586,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1059,7 +1059,7 @@ exports[`renders components/popover/demo/arrow-point-at-center.tsx extend contex
exports[`renders components/popover/demo/basic.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1184,7 +1184,7 @@ exports[`renders components/popover/demo/component-token.tsx extend context corr
exports[`renders components/popover/demo/control.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1229,7 +1229,7 @@ exports[`renders components/popover/demo/control.tsx extend context correctly 2`
exports[`renders components/popover/demo/hover-with-click.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1315,7 +1315,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1361,7 +1361,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1407,7 +1407,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1461,7 +1461,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1507,7 +1507,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1553,7 +1553,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1603,7 +1603,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1649,7 +1649,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1695,7 +1695,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1747,7 +1747,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
style="white-space: nowrap;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1793,7 +1793,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -1839,7 +1839,7 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width: 80px; margin: 4px;"
type="button"
>
@ -2014,7 +2014,7 @@ exports[`renders components/popover/demo/triggerType.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2061,7 +2061,7 @@ exports[`renders components/popover/demo/triggerType.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -2108,7 +2108,7 @@ exports[`renders components/popover/demo/triggerType.tsx extend context correctl
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -62,7 +62,7 @@ Array [
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -71,7 +71,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -80,7 +80,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -97,7 +97,7 @@ Array [
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -106,7 +106,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -115,7 +115,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -128,7 +128,7 @@ Array [
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -137,7 +137,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -146,7 +146,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -161,7 +161,7 @@ Array [
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -170,7 +170,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -179,7 +179,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -610,7 +610,7 @@ exports[`renders components/popover/demo/arrow-point-at-center.tsx correctly 1`]
exports[`renders components/popover/demo/basic.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -694,7 +694,7 @@ Array [
exports[`renders components/popover/demo/control.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -705,7 +705,7 @@ exports[`renders components/popover/demo/control.tsx correctly 1`] = `
exports[`renders components/popover/demo/hover-with-click.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -723,7 +723,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -732,7 +732,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -741,7 +741,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -758,7 +758,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -767,7 +767,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -776,7 +776,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -789,7 +789,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
class="ant-flex ant-flex-align-center ant-flex-vertical"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -798,7 +798,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -807,7 +807,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -822,7 +822,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
style="white-space:nowrap"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -831,7 +831,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -840,7 +840,7 @@ exports[`renders components/popover/demo/placement.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
style="width:80px;margin:4px"
type="button"
>
@ -972,7 +972,7 @@ exports[`renders components/popover/demo/triggerType.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -984,7 +984,7 @@ exports[`renders components/popover/demo/triggerType.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -996,7 +996,7 @@ exports[`renders components/popover/demo/triggerType.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -1646,7 +1646,7 @@ exports[`renders components/progress/demo/dynamic.tsx extend context correctly 1
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -1674,7 +1674,7 @@ exports[`renders components/progress/demo/dynamic.tsx extend context correctly 1
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span

View File

@ -1524,7 +1524,7 @@ exports[`renders components/progress/demo/dynamic.tsx correctly 1`] = `
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span
@ -1552,7 +1552,7 @@ exports[`renders components/progress/demo/dynamic.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only"
type="button"
>
<span

View File

@ -3,7 +3,7 @@
exports[`renders components/qr-code/demo/Popover.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -125,7 +125,7 @@ Array [
style="margin-bottom: 16px;"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -156,7 +156,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -301,7 +301,7 @@ exports[`renders components/qr-code/demo/customStatusRender.tsx extend context c
QR code expired
<p>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span
@ -444,7 +444,7 @@ exports[`renders components/qr-code/demo/download.tsx extend context correctly 1
/>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -617,7 +617,7 @@ exports[`renders components/qr-code/demo/status.tsx extend context correctly 1`]
QR code expired
</p>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span

View File

@ -2,7 +2,7 @@
exports[`renders components/qr-code/demo/Popover.tsx correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -85,7 +85,7 @@ Array [
style="margin-bottom:16px"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -116,7 +116,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -260,7 +260,7 @@ exports[`renders components/qr-code/demo/customStatusRender.tsx correctly 1`] =
QR code expired
<p>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span
@ -402,7 +402,7 @@ exports[`renders components/qr-code/demo/download.tsx correctly 1`] = `
/>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -569,7 +569,7 @@ exports[`renders components/qr-code/demo/status.tsx correctly 1`] = `
QR code expired
</p>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span

View File

@ -472,7 +472,7 @@ Array [
</label>,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top: 16px;"
type="button"
>

View File

@ -466,7 +466,7 @@ Array [
</label>,
<br />,
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top:16px"
type="button"
>

View File

@ -305,7 +305,7 @@ exports[`renders components/result/demo/403.tsx extend context correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -641,7 +641,7 @@ exports[`renders components/result/demo/404.tsx extend context correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1024,7 +1024,7 @@ exports[`renders components/result/demo/500.tsx extend context correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1078,7 +1078,7 @@ exports[`renders components/result/demo/component-token.tsx extend context corre
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1086,7 +1086,7 @@ exports[`renders components/result/demo/component-token.tsx extend context corre
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1135,7 +1135,7 @@ exports[`renders components/result/demo/customIcon.tsx extend context correctly
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1190,7 +1190,7 @@ exports[`renders components/result/demo/error.tsx extend context correctly 1`] =
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1198,7 +1198,7 @@ exports[`renders components/result/demo/error.tsx extend context correctly 1`] =
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1323,7 +1323,7 @@ exports[`renders components/result/demo/info.tsx extend context correctly 1`] =
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1377,7 +1377,7 @@ exports[`renders components/result/demo/success.tsx extend context correctly 1`]
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1385,7 +1385,7 @@ exports[`renders components/result/demo/success.tsx extend context correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1434,7 +1434,7 @@ exports[`renders components/result/demo/warning.tsx extend context correctly 1`]
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -305,7 +305,7 @@ exports[`renders components/result/demo/403.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -639,7 +639,7 @@ exports[`renders components/result/demo/404.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1020,7 +1020,7 @@ exports[`renders components/result/demo/500.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1072,7 +1072,7 @@ exports[`renders components/result/demo/component-token.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1080,7 +1080,7 @@ exports[`renders components/result/demo/component-token.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1127,7 +1127,7 @@ exports[`renders components/result/demo/customIcon.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1180,7 +1180,7 @@ exports[`renders components/result/demo/error.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1188,7 +1188,7 @@ exports[`renders components/result/demo/error.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1311,7 +1311,7 @@ exports[`renders components/result/demo/info.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1363,7 +1363,7 @@ exports[`renders components/result/demo/success.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1371,7 +1371,7 @@ exports[`renders components/result/demo/success.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -1418,7 +1418,7 @@ exports[`renders components/result/demo/warning.tsx correctly 1`] = `
class="ant-result-extra"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -804,7 +804,7 @@ exports[`renders components/segmented/demo/dynamic.tsx extend context correctly
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1204,7 +1204,7 @@ exports[`renders components/segmented/demo/size-consistent.tsx extend context co
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-lg"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg"
type="button"
>
<span>

View File

@ -790,7 +790,7 @@ exports[`renders components/segmented/demo/dynamic.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -1184,7 +1184,7 @@ exports[`renders components/segmented/demo/size-consistent.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-lg"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-lg"
type="button"
>
<span>

View File

@ -1436,7 +1436,7 @@ exports[`renders components/select/demo/custom-dropdown-menu.tsx extend context
class="ant-space-item"
>
<button
class="ant-btn ant-btn-text"
class="ant-btn ant-btn-default ant-btn-text"
type="button"
>
<span
@ -2431,7 +2431,7 @@ exports[`renders components/select/demo/debug.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -9249,7 +9249,7 @@ exports[`renders components/select/demo/placement-debug.tsx extend context corre
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -1107,7 +1107,7 @@ exports[`renders components/select/demo/debug.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -3265,7 +3265,7 @@ exports[`renders components/select/demo/placement-debug.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -73,7 +73,7 @@ exports[`renders components/skeleton/demo/children.tsx extend context correctly
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -69,7 +69,7 @@ exports[`renders components/skeleton/demo/children.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -19,7 +19,7 @@ exports[`renders components/space/demo/align.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -53,7 +53,7 @@ exports[`renders components/space/demo/align.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -87,7 +87,7 @@ exports[`renders components/space/demo/align.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -121,7 +121,7 @@ exports[`renders components/space/demo/align.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -158,7 +158,7 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -184,7 +184,7 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
type="file"
/>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -225,7 +225,7 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -293,7 +293,7 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -301,7 +301,7 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -357,7 +357,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -379,7 +379,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -401,7 +401,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
value="git@github.com:ant-design/ant-design.git"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -899,7 +899,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -979,7 +979,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1025,7 +1025,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -3123,7 +3123,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
value="input content"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -6601,7 +6601,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -8356,7 +8356,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -8741,7 +8741,7 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
</span>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -9343,7 +9343,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -9351,7 +9351,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -9359,7 +9359,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -9375,7 +9375,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -9383,7 +9383,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -9391,7 +9391,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -9407,7 +9407,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -9415,7 +9415,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -9423,7 +9423,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -9443,7 +9443,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -9490,7 +9490,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -9546,7 +9546,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -9593,7 +9593,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -9640,7 +9640,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -9687,7 +9687,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -9734,7 +9734,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -9927,7 +9927,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -9935,7 +9935,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -9943,7 +9943,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -9951,7 +9951,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -9959,7 +9959,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item"
disabled=""
type="button"
>
@ -10007,7 +10007,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -10059,7 +10059,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -10067,7 +10067,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -10075,7 +10075,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -10083,7 +10083,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
disabled=""
type="button"
>
@ -10131,7 +10131,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -10178,7 +10178,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -10186,7 +10186,7 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -10333,7 +10333,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -10341,7 +10341,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-dangerous ant-btn-compact-item"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -10349,7 +10349,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-item"
type="button"
>
<span>
@ -10357,7 +10357,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-text ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-text ant-btn-compact-item"
type="button"
>
<span>
@ -10365,7 +10365,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-link ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-link ant-btn-compact-item"
type="button"
>
<span>
@ -10373,7 +10373,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
disabled=""
type="button"
>
@ -10434,7 +10434,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -10465,7 +10465,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -10822,7 +10822,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -10872,7 +10872,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10917,7 +10917,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -10948,7 +10948,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -11020,7 +11020,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -11100,7 +11100,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -11116,7 +11116,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -11276,7 +11276,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -11323,7 +11323,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -11429,7 +11429,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -11448,7 +11448,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact ant-space-compact-block ant-dropdown-button ant-dropdown-compact-item ant-dropdown-compact-first-item ant-dropdown-compact-last-item"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -11456,7 +11456,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -11503,7 +11503,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-dropdown-menu-title-content"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -11574,7 +11574,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -11596,7 +11596,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
value=""
/>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -14147,7 +14147,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -14180,7 +14180,7 @@ Array [
value=""
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -14428,7 +14428,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -14458,7 +14458,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -14489,7 +14489,7 @@ Array [
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -14506,7 +14506,7 @@ Array [
value="mysite"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -16085,7 +16085,7 @@ Array [
class="ant-picker-ok"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
disabled=""
type="button"
>
@ -16101,7 +16101,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -16260,7 +16260,7 @@ Array [
</span>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -16287,7 +16287,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16304,7 +16304,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16372,7 +16372,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -16380,7 +16380,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -16398,7 +16398,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
disabled=""
type="button"
>
@ -16467,7 +16467,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
class="ant-popconfirm-buttons"
>
<button
class="ant-btn ant-btn-default ant-btn-sm"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-sm"
type="button"
>
<span>
@ -16475,7 +16475,7 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm"
type="button"
>
<span>
@ -16660,7 +16660,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -16672,7 +16672,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16684,7 +16684,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -16696,7 +16696,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -16874,7 +16874,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16886,7 +16886,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16898,7 +16898,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16910,7 +16910,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16922,7 +16922,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16934,7 +16934,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16946,7 +16946,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16958,7 +16958,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16970,7 +16970,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16982,7 +16982,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -16994,7 +16994,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17006,7 +17006,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17018,7 +17018,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17030,7 +17030,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17042,7 +17042,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17054,7 +17054,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17066,7 +17066,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17078,7 +17078,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17090,7 +17090,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -17102,7 +17102,7 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -19,7 +19,7 @@ exports[`renders components/space/demo/align.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -53,7 +53,7 @@ exports[`renders components/space/demo/align.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -87,7 +87,7 @@ exports[`renders components/space/demo/align.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -121,7 +121,7 @@ exports[`renders components/space/demo/align.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -156,7 +156,7 @@ exports[`renders components/space/demo/base.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -182,7 +182,7 @@ exports[`renders components/space/demo/base.tsx correctly 1`] = `
type="file"
/>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span
@ -223,7 +223,7 @@ exports[`renders components/space/demo/base.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -271,7 +271,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-sm ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -293,7 +293,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
value="https://ant.design"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -315,7 +315,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
value="git@github.com:ant-design/ant-design.git"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -618,7 +618,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -698,7 +698,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -744,7 +744,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -1073,7 +1073,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
value="input content"
/>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -1779,7 +1779,7 @@ exports[`renders components/space/demo/compact.tsx correctly 1`] = `
</span>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -2011,7 +2011,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -2019,7 +2019,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -2027,7 +2027,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -2043,7 +2043,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -2051,7 +2051,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -2059,7 +2059,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -2075,7 +2075,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item"
type="button"
>
<span>
@ -2083,7 +2083,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item"
type="button"
>
<span>
@ -2091,7 +2091,7 @@ exports[`renders components/space/demo/compact-button-vertical.tsx correctly 1`]
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-vertical-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -2109,7 +2109,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span
@ -2137,7 +2137,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2174,7 +2174,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2202,7 +2202,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2230,7 +2230,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2258,7 +2258,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2286,7 +2286,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -2319,7 +2319,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2327,7 +2327,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -2335,7 +2335,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -2343,7 +2343,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -2351,7 +2351,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item"
disabled=""
type="button"
>
@ -2380,7 +2380,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -2413,7 +2413,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2421,7 +2421,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -2429,7 +2429,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -2437,7 +2437,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
disabled=""
type="button"
>
@ -2466,7 +2466,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -2494,7 +2494,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -2502,7 +2502,7 @@ exports[`renders components/space/demo/compact-buttons.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -2544,7 +2544,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2552,7 +2552,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-dangerous ant-btn-compact-item"
class="ant-btn ant-btn-dangerous ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -2560,7 +2560,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-dashed ant-btn-compact-item"
type="button"
>
<span>
@ -2568,7 +2568,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-text ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-text ant-btn-compact-item"
type="button"
>
<span>
@ -2576,7 +2576,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-link ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-link ant-btn-compact-item"
type="button"
>
<span>
@ -2584,7 +2584,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
disabled=""
type="button"
>
@ -2626,7 +2626,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -2657,7 +2657,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -2818,7 +2818,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -2868,7 +2868,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -2913,7 +2913,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -2944,7 +2944,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -3016,7 +3016,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -3096,7 +3096,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -3112,7 +3112,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3196,7 +3196,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -3243,7 +3243,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -3349,7 +3349,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -3368,7 +3368,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-block ant-dropdown-button ant-dropdown-compact-item ant-dropdown-compact-first-item ant-dropdown-compact-last-item"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3376,7 +3376,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
type="button"
>
<span
@ -3413,7 +3413,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -3435,7 +3435,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
value=""
/>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -3859,7 +3859,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact ant-space-compact-vertical"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item ant-btn-compact-vertical-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-vertical-item ant-btn-compact-vertical-first-item ant-btn-compact-vertical-last-item"
type="button"
>
<span>
@ -3890,7 +3890,7 @@ Array [
value=""
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item"
type="button"
>
<span
@ -4057,7 +4057,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -4087,7 +4087,7 @@ Array [
class="ant-input-group-addon"
>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-input-search-button"
type="button"
>
<span
@ -4118,7 +4118,7 @@ Array [
</span>
</span>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -4135,7 +4135,7 @@ Array [
value="mysite"
/>
<button
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span
@ -4214,7 +4214,7 @@ Array [
</div>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item"
type="button"
>
<span>
@ -4284,7 +4284,7 @@ Array [
</span>
</div>
<button
class="ant-btn ant-btn-primary ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -4309,7 +4309,7 @@ exports[`renders components/space/demo/debug.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4326,7 +4326,7 @@ exports[`renders components/space/demo/debug.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4338,7 +4338,7 @@ exports[`renders components/space/demo/debug.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
disabled=""
type="button"
>
@ -4514,7 +4514,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>
@ -4526,7 +4526,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4538,7 +4538,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-dashed"
class="ant-btn ant-btn-default ant-btn-dashed"
type="button"
>
<span>
@ -4550,7 +4550,7 @@ Array [
class="ant-space-item"
>
<button
class="ant-btn ant-btn-link"
class="ant-btn ant-btn-primary ant-btn-link"
type="button"
>
<span>
@ -4722,7 +4722,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4734,7 +4734,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4746,7 +4746,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4758,7 +4758,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4770,7 +4770,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4782,7 +4782,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4794,7 +4794,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4806,7 +4806,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4818,7 +4818,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4830,7 +4830,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4842,7 +4842,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4854,7 +4854,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4866,7 +4866,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4878,7 +4878,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4890,7 +4890,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4902,7 +4902,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4914,7 +4914,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4926,7 +4926,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4938,7 +4938,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>
@ -4950,7 +4950,7 @@ exports[`renders components/space/demo/wrap.tsx correctly 1`] = `
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -7,7 +7,7 @@ exports[`Space.Compact rtl render component should be rendered correctly in RTL
class="ant-space-compact ant-space-compact-rtl"
>
<button
class="ant-btn ant-btn-primary ant-btn-rtl ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item ant-btn-compact-item-rtl"
class="ant-btn ant-btn-primary ant-btn-solid ant-btn-rtl ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-last-item ant-btn-compact-item-rtl"
type="button"
>
<span>

View File

@ -204,7 +204,7 @@ exports[`renders components/spin/demo/delayAndDebounce.tsx extend context correc
exports[`renders components/spin/demo/fullscreen.tsx extend context correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -198,7 +198,7 @@ exports[`renders components/spin/demo/delayAndDebounce.tsx correctly 1`] = `
exports[`renders components/spin/demo/fullscreen.tsx correctly 1`] = `
Array [
<button
class="ant-btn ant-btn-default"
class="ant-btn ant-btn-default ant-btn-outlined"
type="button"
>
<span>

View File

@ -124,7 +124,7 @@ exports[`renders components/statistic/demo/basic.tsx extend context correctly 1`
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top: 16px;"
type="button"
>
@ -375,7 +375,7 @@ exports[`renders components/statistic/demo/component-token.tsx extend context co
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top: 16px;"
type="button"
>

View File

@ -118,7 +118,7 @@ exports[`renders components/statistic/demo/basic.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top:16px"
type="button"
>
@ -365,7 +365,7 @@ exports[`renders components/statistic/demo/component-token.tsx correctly 1`] = `
</div>
</div>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
style="margin-top:16px"
type="button"
>

View File

@ -3547,7 +3547,7 @@ Array [
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3555,7 +3555,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3563,7 +3563,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3571,7 +3571,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3579,7 +3579,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3587,7 +3587,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3595,7 +3595,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -5314,7 +5314,7 @@ Array [
style="margin-top: 24px;"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

View File

@ -3201,7 +3201,7 @@ Array [
class="ant-space-compact ant-space-compact-block"
>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-first-item"
type="button"
>
<span>
@ -3209,7 +3209,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3217,7 +3217,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3225,7 +3225,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3233,7 +3233,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3241,7 +3241,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item"
type="button"
>
<span>
@ -3249,7 +3249,7 @@ Array [
</span>
</button>
<button
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-last-item"
class="ant-btn ant-btn-default ant-btn-outlined ant-btn-compact-item ant-btn-compact-last-item"
type="button"
>
<span>
@ -4958,7 +4958,7 @@ Array [
style="margin-top:24px"
>
<button
class="ant-btn ant-btn-primary"
class="ant-btn ant-btn-primary ant-btn-solid"
type="button"
>
<span>

Some files were not shown because too many files have changed in this diff Show More