test: snapshot of demo warning message (#43947)

* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
二货爱吃白萝卜 2023-08-02 14:20:13 +08:00 committed by GitHub
parent cdb8f3a4eb
commit 5d3b45551d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
70 changed files with 2347 additions and 4 deletions

View File

@ -34,6 +34,8 @@ Array [
]
`;
exports[`renders components/affix/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/affix/demo/debug.tsx extend context correctly 1`] = `
<div
style="height: 10000px;"
@ -65,6 +67,8 @@ exports[`renders components/affix/demo/debug.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/affix/demo/debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/affix/demo/on-change.tsx extend context correctly 1`] = `
<div>
<div
@ -82,6 +86,8 @@ exports[`renders components/affix/demo/on-change.tsx extend context correctly 1`
</div>
`;
exports[`renders components/affix/demo/on-change.tsx extend context correctly 2`] = `[]`;
exports[`renders components/affix/demo/target.tsx extend context correctly 1`] = `
<div
class="scrollable-container"
@ -106,3 +112,5 @@ exports[`renders components/affix/demo/target.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/affix/demo/target.tsx extend context correctly 2`] = `[]`;

View File

@ -291,6 +291,12 @@ exports[`renders components/alert/demo/action.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/alert/demo/action.tsx extend context correctly 2`] = `
[
"Warning: [antd: Button] \`link\` or \`text\` button can't be a \`ghost\` button.",
]
`;
exports[`renders components/alert/demo/banner.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -462,6 +468,8 @@ exports[`renders components/alert/demo/banner.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/alert/demo/banner.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-alert ant-alert-success ant-alert-no-icon"
@ -480,6 +488,8 @@ exports[`renders components/alert/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/alert/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/closable.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -584,6 +594,8 @@ exports[`renders components/alert/demo/closable.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/alert/demo/closable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/custom-icon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -943,6 +955,8 @@ exports[`renders components/alert/demo/custom-icon.tsx extend context correctly
</div>
`;
exports[`renders components/alert/demo/custom-icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/description.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1050,6 +1064,8 @@ exports[`renders components/alert/demo/description.tsx extend context correctly
</div>
`;
exports[`renders components/alert/demo/description.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/error-boundary.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default ant-btn-dangerous"
@ -1061,6 +1077,8 @@ exports[`renders components/alert/demo/error-boundary.tsx extend context correct
</button>
`;
exports[`renders components/alert/demo/error-boundary.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1454,6 +1472,8 @@ exports[`renders components/alert/demo/icon.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/alert/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/smooth-closed.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1541,6 +1561,8 @@ exports[`renders components/alert/demo/smooth-closed.tsx extend context correctl
</div>
`;
exports[`renders components/alert/demo/smooth-closed.tsx extend context correctly 2`] = `[]`;
exports[`renders components/alert/demo/style.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1627,3 +1649,5 @@ exports[`renders components/alert/demo/style.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/alert/demo/style.tsx extend context correctly 2`] = `[]`;

View File

@ -79,6 +79,8 @@ exports[`renders components/anchor/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/anchor/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -158,6 +160,8 @@ exports[`renders components/anchor/demo/component-token.tsx extend context corre
</div>
`;
exports[`renders components/anchor/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/customizeHighlight.tsx extend context correctly 1`] = `
<div
class="ant-anchor-wrapper"
@ -229,6 +233,8 @@ exports[`renders components/anchor/demo/customizeHighlight.tsx extend context co
</div>
`;
exports[`renders components/anchor/demo/customizeHighlight.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/horizontal.tsx extend context correctly 1`] = `
Array [
<div
@ -349,6 +355,8 @@ Array [
]
`;
exports[`renders components/anchor/demo/horizontal.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/legacy-anchor.tsx extend context correctly 1`] = `
<div
class="ant-anchor-wrapper"
@ -419,6 +427,12 @@ exports[`renders components/anchor/demo/legacy-anchor.tsx extend context correct
</div>
`;
exports[`renders components/anchor/demo/legacy-anchor.tsx extend context correctly 2`] = `
[
"Warning: [antd: Anchor] \`Anchor children\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/anchor/demo/onChange.tsx extend context correctly 1`] = `
<div
class="ant-anchor-wrapper"
@ -489,6 +503,8 @@ exports[`renders components/anchor/demo/onChange.tsx extend context correctly 1`
</div>
`;
exports[`renders components/anchor/demo/onChange.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/onClick.tsx extend context correctly 1`] = `
<div
class="ant-anchor-wrapper"
@ -559,6 +575,8 @@ exports[`renders components/anchor/demo/onClick.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/anchor/demo/onClick.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/replace.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -638,6 +656,8 @@ exports[`renders components/anchor/demo/replace.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/anchor/demo/replace.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/static.tsx extend context correctly 1`] = `
<div
class="ant-anchor-wrapper"
@ -708,6 +728,8 @@ exports[`renders components/anchor/demo/static.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/anchor/demo/static.tsx extend context correctly 2`] = `[]`;
exports[`renders components/anchor/demo/targetOffset.tsx extend context correctly 1`] = `
<div>
<div
@ -801,3 +823,5 @@ exports[`renders components/anchor/demo/targetOffset.tsx extend context correctl
</div>
</div>
`;
exports[`renders components/anchor/demo/targetOffset.tsx extend context correctly 2`] = `[]`;

View File

@ -49,6 +49,8 @@ exports[`renders components/app/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/app/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/app/demo/config.tsx extend context correctly 1`] = `
<div
class="ant-app"
@ -84,3 +86,5 @@ exports[`renders components/app/demo/config.tsx extend context correctly 1`] = `
</div>
</div>
`;
exports[`renders components/app/demo/config.tsx extend context correctly 2`] = `[]`;

View File

@ -93,6 +93,12 @@ Array [
]
`;
exports[`renders components/auto-complete/demo/allowClear.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/basic.tsx extend context correctly 1`] = `
Array [
<div
@ -186,6 +192,12 @@ Array [
]
`;
exports[`renders components/auto-complete/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/borderless.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-borderless ant-select-auto-complete ant-select-single ant-select-show-search"
@ -232,6 +244,12 @@ exports[`renders components/auto-complete/demo/borderless.tsx extend context cor
</div>
`;
exports[`renders components/auto-complete/demo/borderless.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/certain-category.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
@ -595,6 +613,13 @@ exports[`renders components/auto-complete/demo/certain-category.tsx extend conte
</div>
`;
exports[`renders components/auto-complete/demo/certain-category.tsx extend context correctly 2`] = `
[
"Warning: [antd: Select] \`dropdownMatchSelectWidth\` is deprecated. Please use \`popupMatchSelectWidth\` instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/custom.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
@ -640,6 +665,12 @@ exports[`renders components/auto-complete/demo/custom.tsx extend context correct
</div>
`;
exports[`renders components/auto-complete/demo/custom.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/form-debug.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -1853,6 +1884,13 @@ exports[`renders components/auto-complete/demo/form-debug.tsx extend context cor
</form>
`;
exports[`renders components/auto-complete/demo/form-debug.tsx extend context correctly 2`] = `
[
"Warning: [antd: Input.Group] 'Input.Group' is deprecated. Please use 'Space.Compact' instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/non-case-sensitive.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
@ -1975,6 +2013,12 @@ exports[`renders components/auto-complete/demo/non-case-sensitive.tsx extend con
</div>
`;
exports[`renders components/auto-complete/demo/non-case-sensitive.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/options.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
@ -2021,6 +2065,12 @@ exports[`renders components/auto-complete/demo/options.tsx extend context correc
</div>
`;
exports[`renders components/auto-complete/demo/options.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/render-panel.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2194,6 +2244,17 @@ exports[`renders components/auto-complete/demo/render-panel.tsx extend context c
</div>
`;
exports[`renders components/auto-complete/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: Received \`%s\` for a non-boolean attribute \`%s\`.
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2293,6 +2354,12 @@ exports[`renders components/auto-complete/demo/status.tsx extend context correct
</div>
`;
exports[`renders components/auto-complete/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/auto-complete/demo/uncertain-category.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
@ -2377,3 +2444,10 @@ exports[`renders components/auto-complete/demo/uncertain-category.tsx extend con
</div>
</div>
`;
exports[`renders components/auto-complete/demo/uncertain-category.tsx extend context correctly 2`] = `
[
"Warning: [antd: Select] \`dropdownMatchSelectWidth\` is deprecated. Please use \`popupMatchSelectWidth\` instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -90,6 +90,8 @@ exports[`renders components/avatar/demo/badge.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/avatar/demo/badge.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -342,6 +344,8 @@ exports[`renders components/avatar/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/avatar/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -579,6 +583,8 @@ Array [
]
`;
exports[`renders components/avatar/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/dynamic.tsx extend context correctly 1`] = `
Array [
<span
@ -613,6 +619,8 @@ Array [
]
`;
exports[`renders components/avatar/demo/dynamic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/fallback.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -643,6 +651,8 @@ exports[`renders components/avatar/demo/fallback.tsx extend context correctly 1`
</div>
`;
exports[`renders components/avatar/demo/fallback.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/group.tsx extend context correctly 1`] = `
Array [
<div
@ -1197,6 +1207,8 @@ Array [
]
`;
exports[`renders components/avatar/demo/group.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/responsive.tsx extend context correctly 1`] = `
<span
class="ant-avatar ant-avatar-circle ant-avatar-icon"
@ -1224,6 +1236,8 @@ exports[`renders components/avatar/demo/responsive.tsx extend context correctly
</span>
`;
exports[`renders components/avatar/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/toggle-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -1319,6 +1333,8 @@ Array [
]
`;
exports[`renders components/avatar/demo/toggle-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/avatar/demo/type.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1455,3 +1471,5 @@ exports[`renders components/avatar/demo/type.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/avatar/demo/type.tsx extend context correctly 2`] = `[]`;

View File

@ -15,6 +15,12 @@ Array [
]
`;
exports[`renders components/back-top/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: [antd: BackTop] \`BackTop\` is deprecated, please use \`FloatButton.BackTop\` instead.",
]
`;
exports[`renders components/back-top/demo/custom.tsx extend context correctly 1`] = `
<div
style="height: 600vh; padding: 8px;"
@ -45,3 +51,9 @@ exports[`renders components/back-top/demo/custom.tsx extend context correctly 1`
/>
</div>
`;
exports[`renders components/back-top/demo/custom.tsx extend context correctly 2`] = `
[
"Warning: [antd: BackTop] \`BackTop\` is deprecated, please use \`FloatButton.BackTop\` instead.",
]
`;

View File

@ -103,6 +103,8 @@ exports[`renders components/badge/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/badge/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/change.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -303,6 +305,8 @@ exports[`renders components/badge/demo/change.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/badge/demo/change.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/colorful.tsx extend context correctly 1`] = `
Array [
<div
@ -626,6 +630,8 @@ Array [
]
`;
exports[`renders components/badge/demo/colorful.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/colorful-with-count-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -1382,6 +1388,8 @@ Array [
]
`;
exports[`renders components/badge/demo/colorful-with-count-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/dot.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1439,6 +1447,8 @@ exports[`renders components/badge/demo/dot.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/badge/demo/dot.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/link.tsx extend context correctly 1`] = `
<a
href="#"
@ -1474,6 +1484,8 @@ exports[`renders components/badge/demo/link.tsx extend context correctly 1`] = `
</a>
`;
exports[`renders components/badge/demo/link.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/mix.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1817,6 +1829,8 @@ exports[`renders components/badge/demo/mix.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/badge/demo/mix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/no-wrapper.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1968,6 +1982,8 @@ exports[`renders components/badge/demo/no-wrapper.tsx extend context correctly 1
</div>
`;
exports[`renders components/badge/demo/no-wrapper.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/offset.tsx extend context correctly 1`] = `
<span
class="ant-badge"
@ -2000,6 +2016,8 @@ exports[`renders components/badge/demo/offset.tsx extend context correctly 1`] =
</span>
`;
exports[`renders components/badge/demo/offset.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/overflow.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2121,6 +2139,8 @@ exports[`renders components/badge/demo/overflow.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/badge/demo/overflow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/ribbon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2472,6 +2492,8 @@ exports[`renders components/badge/demo/ribbon.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/badge/demo/ribbon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/ribbon-debug.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2635,6 +2657,8 @@ exports[`renders components/badge/demo/ribbon-debug.tsx extend context correctly
</div>
`;
exports[`renders components/badge/demo/ribbon-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2707,6 +2731,8 @@ exports[`renders components/badge/demo/size.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/badge/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/status.tsx extend context correctly 1`] = `
Array [
<div
@ -2864,6 +2890,8 @@ Array [
]
`;
exports[`renders components/badge/demo/status.tsx extend context correctly 2`] = `[]`;
exports[`renders components/badge/demo/title.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2945,3 +2973,5 @@ exports[`renders components/badge/demo/title.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/badge/demo/title.tsx extend context correctly 2`] = `[]`;

View File

@ -63,6 +63,8 @@ exports[`renders components/breadcrumb/demo/basic.tsx extend context correctly 1
</nav>
`;
exports[`renders components/breadcrumb/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/breadcrumb/demo/component-token.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -390,6 +392,8 @@ exports[`renders components/breadcrumb/demo/component-token.tsx extend context c
</nav>
`;
exports[`renders components/breadcrumb/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/breadcrumb/demo/debug-routes.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -561,6 +565,12 @@ exports[`renders components/breadcrumb/demo/debug-routes.tsx extend context corr
</nav>
`;
exports[`renders components/breadcrumb/demo/debug-routes.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`routes\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/breadcrumb/demo/overlay.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -820,6 +830,8 @@ exports[`renders components/breadcrumb/demo/overlay.tsx extend context correctly
</nav>
`;
exports[`renders components/breadcrumb/demo/overlay.tsx extend context correctly 2`] = `[]`;
exports[`renders components/breadcrumb/demo/separator.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -877,6 +889,8 @@ exports[`renders components/breadcrumb/demo/separator.tsx extend context correct
</nav>
`;
exports[`renders components/breadcrumb/demo/separator.tsx extend context correctly 2`] = `[]`;
exports[`renders components/breadcrumb/demo/separator-component.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -934,6 +948,8 @@ exports[`renders components/breadcrumb/demo/separator-component.tsx extend conte
</nav>
`;
exports[`renders components/breadcrumb/demo/separator-component.tsx extend context correctly 2`] = `[]`;
exports[`renders components/breadcrumb/demo/withIcon.tsx extend context correctly 1`] = `
<nav
class="ant-breadcrumb"
@ -1016,3 +1032,5 @@ exports[`renders components/breadcrumb/demo/withIcon.tsx extend context correctl
</ol>
</nav>
`;
exports[`renders components/breadcrumb/demo/withIcon.tsx extend context correctly 2`] = `[]`;

View File

@ -73,6 +73,8 @@ exports[`renders components/button/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/button/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/block.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -159,6 +161,8 @@ exports[`renders components/button/demo/block.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/button/demo/block.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/chinese-chars-loading.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -382,6 +386,8 @@ exports[`renders components/button/demo/chinese-chars-loading.tsx extend context
</div>
`;
exports[`renders components/button/demo/chinese-chars-loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/danger.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -455,6 +461,8 @@ exports[`renders components/button/demo/danger.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/button/demo/danger.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/debug-block.tsx extend context correctly 1`] = `
<div
class="ant-form-item"
@ -515,6 +523,8 @@ exports[`renders components/button/demo/debug-block.tsx extend context correctly
</div>
`;
exports[`renders components/button/demo/debug-block.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/debug-icon.tsx extend context correctly 1`] = `
Array [
<div
@ -1045,6 +1055,8 @@ Array [
]
`;
exports[`renders components/button/demo/debug-icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1400,6 +1412,8 @@ exports[`renders components/button/demo/disabled.tsx extend context correctly 1`
</div>
`;
exports[`renders components/button/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/ghost.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center site-button-ghost-wrapper"
@ -1460,6 +1474,8 @@ exports[`renders components/button/demo/ghost.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/button/demo/ghost.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1884,6 +1900,8 @@ exports[`renders components/button/demo/icon.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/button/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/legacy-group.tsx extend context correctly 1`] = `
Array [
<div
@ -2254,6 +2272,8 @@ Array [
]
`;
exports[`renders components/button/demo/legacy-group.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/loading.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2469,6 +2489,8 @@ exports[`renders components/button/demo/loading.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/button/demo/loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/multiple.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2701,6 +2723,8 @@ exports[`renders components/button/demo/multiple.tsx extend context correctly 1`
</div>
`;
exports[`renders components/button/demo/multiple.tsx extend context correctly 2`] = `[]`;
exports[`renders components/button/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -3023,3 +3047,5 @@ Array [
</div>,
]
`;
exports[`renders components/button/demo/size.tsx extend context correctly 2`] = `[]`;

View File

@ -1580,6 +1580,12 @@ exports[`renders components/calendar/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/calendar/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/calendar/demo/card.tsx extend context correctly 1`] = `
<div
style="width: 300px; border: 1px solid #f0f0f0; border-radius: 8px;"
@ -3164,6 +3170,12 @@ exports[`renders components/calendar/demo/card.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/calendar/demo/card.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/calendar/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -6324,6 +6336,12 @@ Array [
]
`;
exports[`renders components/calendar/demo/component-token.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/calendar/demo/customize-header.tsx extend context correctly 1`] = `
<div
style="width: 300px; border: 1px solid #f0f0f0; border-radius: 8px;"
@ -7957,6 +7975,13 @@ exports[`renders components/calendar/demo/customize-header.tsx extend context co
</div>
`;
exports[`renders components/calendar/demo/customize-header.tsx extend context correctly 2`] = `
[
"Warning: [antd: Select] \`dropdownMatchSelectWidth\` is deprecated. Please use \`popupMatchSelectWidth\` instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/calendar/demo/notice-calendar.tsx extend context correctly 1`] = `
<div
class="ant-picker-calendar ant-picker-calendar-full"
@ -9934,6 +9959,12 @@ exports[`renders components/calendar/demo/notice-calendar.tsx extend context cor
</div>
`;
exports[`renders components/calendar/demo/notice-calendar.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/calendar/demo/select.tsx extend context correctly 1`] = `
Array [
<div
@ -11530,3 +11561,9 @@ Array [
</div>,
]
`;
exports[`renders components/calendar/demo/select.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -96,6 +96,8 @@ exports[`renders components/card/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/card/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/border-less.tsx extend context correctly 1`] = `
<div
class="ant-card"
@ -130,6 +132,8 @@ exports[`renders components/card/demo/border-less.tsx extend context correctly 1
</div>
`;
exports[`renders components/card/demo/border-less.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -408,6 +412,8 @@ Array [
]
`;
exports[`renders components/card/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/flexible-content.tsx extend context correctly 1`] = `
<div
class="ant-card ant-card-bordered ant-card-hoverable"
@ -446,6 +452,8 @@ exports[`renders components/card/demo/flexible-content.tsx extend context correc
</div>
`;
exports[`renders components/card/demo/flexible-content.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/grid-card.tsx extend context correctly 1`] = `
<div
class="ant-card ant-card-bordered ant-card-contain-grid"
@ -512,6 +520,8 @@ exports[`renders components/card/demo/grid-card.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/card/demo/grid-card.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/in-column.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -601,6 +611,8 @@ exports[`renders components/card/demo/in-column.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/card/demo/in-column.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/inner.tsx extend context correctly 1`] = `
<div
class="ant-card ant-card-bordered"
@ -688,6 +700,8 @@ exports[`renders components/card/demo/inner.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/card/demo/inner.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/loading.tsx extend context correctly 1`] = `
Array [
<button
@ -853,6 +867,8 @@ Array [
]
`;
exports[`renders components/card/demo/loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/meta.tsx extend context correctly 1`] = `
<div
class="ant-card ant-card-bordered"
@ -981,6 +997,8 @@ exports[`renders components/card/demo/meta.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/card/demo/meta.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/simple.tsx extend context correctly 1`] = `
<div
class="ant-card ant-card-bordered"
@ -1002,6 +1020,8 @@ exports[`renders components/card/demo/simple.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/card/demo/simple.tsx extend context correctly 2`] = `[]`;
exports[`renders components/card/demo/tabs.tsx extend context correctly 1`] = `
Array [
<div
@ -1323,3 +1343,5 @@ Array [
</div>,
]
`;
exports[`renders components/card/demo/tabs.tsx extend context correctly 2`] = `[]`;

View File

@ -234,6 +234,8 @@ exports[`renders components/carousel/demo/autoplay.tsx extend context correctly
</div>
`;
exports[`renders components/carousel/demo/autoplay.tsx extend context correctly 2`] = `[]`;
exports[`renders components/carousel/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-carousel"
@ -468,6 +470,8 @@ exports[`renders components/carousel/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/carousel/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/carousel/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-carousel"
@ -702,6 +706,8 @@ exports[`renders components/carousel/demo/component-token.tsx extend context cor
</div>
`;
exports[`renders components/carousel/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/carousel/demo/fade.tsx extend context correctly 1`] = `
<div
class="ant-carousel"
@ -836,6 +842,8 @@ exports[`renders components/carousel/demo/fade.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/carousel/demo/fade.tsx extend context correctly 2`] = `[]`;
exports[`renders components/carousel/demo/position.tsx extend context correctly 1`] = `
Array [
<div
@ -1153,3 +1161,5 @@ Array [
</div>,
]
`;
exports[`renders components/carousel/demo/position.tsx extend context correctly 2`] = `[]`;

View File

@ -150,6 +150,12 @@ exports[`renders components/cascader/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/cascader/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/change-on-select.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -298,6 +304,12 @@ exports[`renders components/cascader/demo/change-on-select.tsx extend context co
</div>
`;
exports[`renders components/cascader/demo/change-on-select.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/custom-dropdown.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -460,6 +472,12 @@ exports[`renders components/cascader/demo/custom-dropdown.tsx extend context cor
</div>
`;
exports[`renders components/cascader/demo/custom-dropdown.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/custom-render.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -650,6 +668,12 @@ exports[`renders components/cascader/demo/custom-render.tsx extend context corre
</div>
`;
exports[`renders components/cascader/demo/custom-render.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/custom-trigger.tsx extend context correctly 1`] = `
<span>
Unselect
@ -749,6 +773,12 @@ exports[`renders components/cascader/demo/custom-trigger.tsx extend context corr
</span>
`;
exports[`renders components/cascader/demo/custom-trigger.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/default-value.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -927,6 +957,12 @@ exports[`renders components/cascader/demo/default-value.tsx extend context corre
</div>
`;
exports[`renders components/cascader/demo/default-value.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/disabled-option.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -1075,6 +1111,12 @@ exports[`renders components/cascader/demo/disabled-option.tsx extend context cor
</div>
`;
exports[`renders components/cascader/demo/disabled-option.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/fields-name.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -1225,6 +1267,12 @@ exports[`renders components/cascader/demo/fields-name.tsx extend context correct
</div>
`;
exports[`renders components/cascader/demo/fields-name.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/hover.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -1373,6 +1421,12 @@ exports[`renders components/cascader/demo/hover.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/cascader/demo/hover.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/lazy.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
@ -1521,6 +1575,12 @@ exports[`renders components/cascader/demo/lazy.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/cascader/demo/lazy.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/multiple.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-multiple ant-select-allow-clear ant-select-show-arrow"
@ -1699,6 +1759,12 @@ exports[`renders components/cascader/demo/multiple.tsx extend context correctly
</div>
`;
exports[`renders components/cascader/demo/multiple.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -1934,6 +2000,12 @@ Array [
]
`;
exports[`renders components/cascader/demo/placement.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -2089,6 +2161,17 @@ exports[`renders components/cascader/demo/render-panel.tsx extend context correc
</div>
`;
exports[`renders components/cascader/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: Received \`%s\` for a non-boolean attribute \`%s\`.
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/search.tsx extend context correctly 1`] = `
<div
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
@ -2236,6 +2319,12 @@ exports[`renders components/cascader/demo/search.tsx extend context correctly 1`
</div>
`;
exports[`renders components/cascader/demo/search.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/showCheckedStrategy.tsx extend context correctly 1`] = `
Array [
<div
@ -2673,6 +2762,12 @@ Array [
]
`;
exports[`renders components/cascader/demo/showCheckedStrategy.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -3119,6 +3214,12 @@ Array [
]
`;
exports[`renders components/cascader/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -3412,6 +3513,12 @@ exports[`renders components/cascader/demo/status.tsx extend context correctly 1`
</div>
`;
exports[`renders components/cascader/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/cascader/demo/suffix.tsx extend context correctly 1`] = `
Array [
<div
@ -3956,3 +4063,9 @@ Array [
</div>,
]
`;
exports[`renders components/cascader/demo/suffix.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -21,6 +21,8 @@ exports[`renders components/checkbox/demo/basic.tsx extend context correctly 1`]
</label>
`;
exports[`renders components/checkbox/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/check-all.tsx extend context correctly 1`] = `
Array [
<label
@ -112,6 +114,8 @@ Array [
]
`;
exports[`renders components/checkbox/demo/check-all.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/controller.tsx extend context correctly 1`] = `
Array [
<p
@ -159,6 +163,8 @@ Array [
]
`;
exports[`renders components/checkbox/demo/controller.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/debug-disable-popover.tsx extend context correctly 1`] = `
<div
style="padding: 56px;"
@ -206,6 +212,8 @@ exports[`renders components/checkbox/demo/debug-disable-popover.tsx extend conte
</div>
`;
exports[`renders components/checkbox/demo/debug-disable-popover.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/debug-line.tsx extend context correctly 1`] = `
<div>
<div
@ -453,6 +461,12 @@ exports[`renders components/checkbox/demo/debug-line.tsx extend context correctl
</div>
`;
exports[`renders components/checkbox/demo/debug-line.tsx extend context correctly 2`] = `
[
"Warning: [antd: Checkbox] \`value\` is not a valid prop, do you mean \`checked\`?",
]
`;
exports[`renders components/checkbox/demo/disabled.tsx extend context correctly 1`] = `
Array [
<label
@ -510,6 +524,8 @@ Array [
]
`;
exports[`renders components/checkbox/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/group.tsx extend context correctly 1`] = `
Array [
<div
@ -708,6 +724,8 @@ Array [
]
`;
exports[`renders components/checkbox/demo/group.tsx extend context correctly 2`] = `[]`;
exports[`renders components/checkbox/demo/layout.tsx extend context correctly 1`] = `
<div
class="ant-checkbox-group"
@ -834,3 +852,5 @@ exports[`renders components/checkbox/demo/layout.tsx extend context correctly 1`
</div>
</div>
`;
exports[`renders components/checkbox/demo/layout.tsx extend context correctly 2`] = `[]`;

View File

@ -128,6 +128,8 @@ exports[`renders components/collapse/demo/accordion.tsx extend context correctly
</div>
`;
exports[`renders components/collapse/demo/accordion.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start"
@ -269,6 +271,8 @@ exports[`renders components/collapse/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/collapse/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/borderless.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start ant-collapse-borderless"
@ -410,6 +414,8 @@ exports[`renders components/collapse/demo/borderless.tsx extend context correctl
</div>
`;
exports[`renders components/collapse/demo/borderless.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/collapsible.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -587,6 +593,8 @@ exports[`renders components/collapse/demo/collapsible.tsx extend context correct
</div>
`;
exports[`renders components/collapse/demo/collapsible.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/custom.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start ant-collapse-borderless"
@ -732,6 +740,8 @@ exports[`renders components/collapse/demo/custom.tsx extend context correctly 1`
</div>
`;
exports[`renders components/collapse/demo/custom.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/extra.tsx extend context correctly 1`] = `
Array [
<div
@ -1092,6 +1102,12 @@ Array [
]
`;
exports[`renders components/collapse/demo/extra.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/collapse/demo/ghost.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start ant-collapse-ghost"
@ -1233,6 +1249,8 @@ exports[`renders components/collapse/demo/ghost.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/collapse/demo/ghost.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/mix.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start"
@ -1360,6 +1378,8 @@ exports[`renders components/collapse/demo/mix.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/collapse/demo/mix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/noarrow.tsx extend context correctly 1`] = `
<div
class="ant-collapse ant-collapse-icon-position-start"
@ -1438,6 +1458,8 @@ exports[`renders components/collapse/demo/noarrow.tsx extend context correctly 1
</div>
`;
exports[`renders components/collapse/demo/noarrow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/collapse/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -1604,3 +1626,5 @@ Array [
</div>,
]
`;
exports[`renders components/collapse/demo/size.tsx extend context correctly 2`] = `[]`;

View File

@ -384,6 +384,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/allowClear.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/base.tsx extend context correctly 1`] = `
Array [
<div
@ -765,6 +771,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/base.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/change-completed.tsx extend context correctly 1`] = `
<div
class="ant-app"
@ -1148,6 +1160,12 @@ exports[`renders components/color-picker/demo/change-completed.tsx extend contex
</div>
`;
exports[`renders components/color-picker/demo/change-completed.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/controlled.tsx extend context correctly 1`] = `
Array [
<div
@ -1529,6 +1547,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/controlled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/disabled.tsx extend context correctly 1`] = `
Array [
<div
@ -1915,6 +1939,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/disabled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/disabled-alpha.tsx extend context correctly 1`] = `
Array [
<div
@ -2199,6 +2229,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/disabled-alpha.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/format.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -3872,6 +3908,12 @@ exports[`renders components/color-picker/demo/format.tsx extend context correctl
</div>
`;
exports[`renders components/color-picker/demo/format.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/panel-render.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5126,6 +5168,12 @@ exports[`renders components/color-picker/demo/panel-render.tsx extend context co
</div>
`;
exports[`renders components/color-picker/demo/panel-render.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/presets.tsx extend context correctly 1`] = `
Array [
<div
@ -5878,6 +5926,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/presets.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/pure-panel.tsx extend context correctly 1`] = `
<div
style="padding-left: 100px;"
@ -6266,6 +6320,12 @@ exports[`renders components/color-picker/demo/pure-panel.tsx extend context corr
</div>
`;
exports[`renders components/color-picker/demo/pure-panel.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -8589,6 +8649,12 @@ exports[`renders components/color-picker/demo/size.tsx extend context correctly
</div>
`;
exports[`renders components/color-picker/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/text-render.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -9774,6 +9840,12 @@ exports[`renders components/color-picker/demo/text-render.tsx extend context cor
</div>
`;
exports[`renders components/color-picker/demo/text-render.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/trigger.tsx extend context correctly 1`] = `
Array [
<button
@ -10152,6 +10224,12 @@ Array [
]
`;
exports[`renders components/color-picker/demo/trigger.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/color-picker/demo/trigger-event.tsx extend context correctly 1`] = `
Array [
<div
@ -10532,3 +10610,9 @@ Array [
</div>,
]
`;
exports[`renders components/color-picker/demo/trigger-event.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -1888,6 +1888,12 @@ exports[`renders components/date-picker/demo/basic.tsx extend context correctly
</div>
`;
exports[`renders components/date-picker/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/bordered.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -7088,6 +7094,12 @@ exports[`renders components/date-picker/demo/bordered.tsx extend context correct
</div>
`;
exports[`renders components/date-picker/demo/bordered.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/cell-render.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -8887,6 +8899,12 @@ exports[`renders components/date-picker/demo/cell-render.tsx extend context corr
</div>
`;
exports[`renders components/date-picker/demo/cell-render.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -12133,6 +12151,12 @@ exports[`renders components/date-picker/demo/disabled.tsx extend context correct
</div>
`;
exports[`renders components/date-picker/demo/disabled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/disabled-date.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -17047,6 +17071,12 @@ exports[`renders components/date-picker/demo/disabled-date.tsx extend context co
</div>
`;
exports[`renders components/date-picker/demo/disabled-date.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/extra-footer.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -23062,6 +23092,12 @@ exports[`renders components/date-picker/demo/extra-footer.tsx extend context cor
</div>
`;
exports[`renders components/date-picker/demo/extra-footer.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/format.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -27101,6 +27137,12 @@ exports[`renders components/date-picker/demo/format.tsx extend context correctly
</div>
`;
exports[`renders components/date-picker/demo/format.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/mode.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -28790,6 +28832,12 @@ exports[`renders components/date-picker/demo/mode.tsx extend context correctly 1
</div>
`;
exports[`renders components/date-picker/demo/mode.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -30657,6 +30705,12 @@ Array [
]
`;
exports[`renders components/date-picker/demo/placement.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/preset-ranges.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -34509,6 +34563,12 @@ exports[`renders components/date-picker/demo/preset-ranges.tsx extend context co
</div>
`;
exports[`renders components/date-picker/demo/preset-ranges.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/range-picker.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -40281,6 +40341,12 @@ exports[`renders components/date-picker/demo/range-picker.tsx extend context cor
</div>
`;
exports[`renders components/date-picker/demo/range-picker.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -40884,6 +40950,12 @@ exports[`renders components/date-picker/demo/render-panel.tsx extend context cor
</div>
`;
exports[`renders components/date-picker/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/select-in-range.tsx extend context correctly 1`] = `
Array [
<div
@ -42071,6 +42143,12 @@ Array [
]
`;
exports[`renders components/date-picker/demo/select-in-range.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -44827,6 +44905,12 @@ exports[`renders components/date-picker/demo/size.tsx extend context correctly 1
</div>
`;
exports[`renders components/date-picker/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/start-end.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -48737,6 +48821,12 @@ exports[`renders components/date-picker/demo/start-end.tsx extend context correc
</div>
`;
exports[`renders components/date-picker/demo/start-end.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -52322,6 +52412,12 @@ exports[`renders components/date-picker/demo/status.tsx extend context correctly
</div>
`;
exports[`renders components/date-picker/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/suffix.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -57622,6 +57718,12 @@ exports[`renders components/date-picker/demo/suffix.tsx extend context correctly
</div>
`;
exports[`renders components/date-picker/demo/suffix.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/switchable.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -59255,6 +59357,12 @@ exports[`renders components/date-picker/demo/switchable.tsx extend context corre
</div>
`;
exports[`renders components/date-picker/demo/switchable.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/date-picker/demo/time.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -62668,3 +62776,9 @@ exports[`renders components/date-picker/demo/time.tsx extend context correctly 1
</div>
</div>
`;
exports[`renders components/date-picker/demo/time.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -139,6 +139,8 @@ exports[`renders components/descriptions/demo/basic.tsx extend context correctly
</div>
`;
exports[`renders components/descriptions/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/border.tsx extend context correctly 1`] = `
<div
class="ant-descriptions ant-descriptions-bordered"
@ -385,6 +387,12 @@ exports[`renders components/descriptions/demo/border.tsx extend context correctl
</div>
`;
exports[`renders components/descriptions/demo/border.tsx extend context correctly 2`] = `
[
"Warning: [antd: Descriptions] Sum of column \`span\` in a line not match \`column\` of Descriptions.",
]
`;
exports[`renders components/descriptions/demo/component-token.tsx extend context correctly 1`] = `
<div>
<div
@ -806,6 +814,8 @@ exports[`renders components/descriptions/demo/component-token.tsx extend context
</div>
`;
exports[`renders components/descriptions/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/jsx.tsx extend context correctly 1`] = `
<div
class="ant-descriptions"
@ -945,6 +955,8 @@ exports[`renders components/descriptions/demo/jsx.tsx extend context correctly 1
</div>
`;
exports[`renders components/descriptions/demo/jsx.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-descriptions ant-descriptions-bordered"
@ -1120,6 +1132,8 @@ exports[`renders components/descriptions/demo/responsive.tsx extend context corr
</div>
`;
exports[`renders components/descriptions/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/size.tsx extend context correctly 1`] = `
<div>
<div
@ -1546,6 +1560,8 @@ exports[`renders components/descriptions/demo/size.tsx extend context correctly
</div>
`;
exports[`renders components/descriptions/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/style.tsx extend context correctly 1`] = `
Array [
<button
@ -1800,6 +1816,8 @@ Array [
]
`;
exports[`renders components/descriptions/demo/style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/descriptions/demo/text.tsx extend context correctly 1`] = `
<div
class="ant-descriptions"
@ -2202,6 +2220,12 @@ exports[`renders components/descriptions/demo/text.tsx extend context correctly
</div>
`;
exports[`renders components/descriptions/demo/text.tsx extend context correctly 2`] = `
[
"Warning: [antd: Descriptions] Sum of column \`span\` in a line not match \`column\` of Descriptions.",
]
`;
exports[`renders components/descriptions/demo/vertical.tsx extend context correctly 1`] = `
<div
class="ant-descriptions"
@ -2406,6 +2430,12 @@ exports[`renders components/descriptions/demo/vertical.tsx extend context correc
</div>
`;
exports[`renders components/descriptions/demo/vertical.tsx extend context correctly 2`] = `
[
"Warning: [antd: Descriptions] Sum of column \`span\` in a line not match \`column\` of Descriptions.",
]
`;
exports[`renders components/descriptions/demo/vertical-border.tsx extend context correctly 1`] = `
<div
class="ant-descriptions ant-descriptions-bordered"
@ -2691,3 +2721,9 @@ exports[`renders components/descriptions/demo/vertical-border.tsx extend context
</div>
</div>
`;
exports[`renders components/descriptions/demo/vertical-border.tsx extend context correctly 2`] = `
[
"Warning: [antd: Descriptions] Sum of column \`span\` in a line not match \`column\` of Descriptions.",
]
`;

View File

@ -51,6 +51,8 @@ Array [
]
`;
exports[`renders components/divider/demo/customize-style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/divider/demo/horizontal.tsx extend context correctly 1`] = `
Array [
<p>
@ -73,6 +75,8 @@ Array [
]
`;
exports[`renders components/divider/demo/horizontal.tsx extend context correctly 2`] = `[]`;
exports[`renders components/divider/demo/plain.tsx extend context correctly 1`] = `
Array [
<p>
@ -120,6 +124,8 @@ Array [
]
`;
exports[`renders components/divider/demo/plain.tsx extend context correctly 2`] = `[]`;
exports[`renders components/divider/demo/vertical.tsx extend context correctly 1`] = `
Array [
Text,
@ -144,6 +150,8 @@ Array [
]
`;
exports[`renders components/divider/demo/vertical.tsx extend context correctly 2`] = `[]`;
exports[`renders components/divider/demo/with-text.tsx extend context correctly 1`] = `
Array [
<p>
@ -218,3 +226,5 @@ Array [
</p>,
]
`;
exports[`renders components/divider/demo/with-text.tsx extend context correctly 2`] = `[]`;

View File

@ -100,6 +100,8 @@ Array [
]
`;
exports[`renders components/drawer/demo/basic-right.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/component-token.tsx extend context correctly 1`] = `
<div
style="padding: 32px; background: rgb(230, 230, 230);"
@ -165,6 +167,8 @@ exports[`renders components/drawer/demo/component-token.tsx extend context corre
</div>
`;
exports[`renders components/drawer/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/config-provider.tsx extend context correctly 1`] = `
<div
class="site-drawer-render-in-current-wrapper"
@ -268,6 +272,8 @@ exports[`renders components/drawer/demo/config-provider.tsx extend context corre
</div>
`;
exports[`renders components/drawer/demo/config-provider.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/extra.tsx extend context correctly 1`] = `
Array [
<div
@ -495,6 +501,8 @@ Array [
]
`;
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
@ -2575,6 +2583,12 @@ Array [
]
`;
exports[`renders components/drawer/demo/form-in-drawer.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/drawer/demo/multi-level-drawer.tsx extend context correctly 1`] = `
Array [
<button
@ -2701,6 +2715,8 @@ Array [
]
`;
exports[`renders components/drawer/demo/multi-level-drawer.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/no-mask.tsx extend context correctly 1`] = `
Array [
<button
@ -2798,6 +2814,8 @@ Array [
]
`;
exports[`renders components/drawer/demo/no-mask.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -2966,6 +2984,8 @@ Array [
]
`;
exports[`renders components/drawer/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/render-in-current.tsx extend context correctly 1`] = `
<div
style="position: relative; height: 200px; padding: 48px; overflow: hidden; text-align: center; background: rgba(0, 0, 0, 0.02); border: 1px solid #f0f0f0; border-radius: 8px;"
@ -3041,6 +3061,8 @@ exports[`renders components/drawer/demo/render-in-current.tsx extend context cor
</div>
`;
exports[`renders components/drawer/demo/render-in-current.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding: 32px; background: rgb(230, 230, 230);"
@ -3106,6 +3128,8 @@ exports[`renders components/drawer/demo/render-panel.tsx extend context correctl
</div>
`;
exports[`renders components/drawer/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/scroll-debug.tsx extend context correctly 1`] = `
<div
style="position: relative; z-index: 999999;"
@ -3469,6 +3493,8 @@ exports[`renders components/drawer/demo/scroll-debug.tsx extend context correctl
</div>
`;
exports[`renders components/drawer/demo/scroll-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -3623,6 +3649,8 @@ Array [
]
`;
exports[`renders components/drawer/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/drawer/demo/user-profile.tsx extend context correctly 1`] = `
Array [
<div
@ -4055,3 +4083,5 @@ Array [
</div>,
]
`;
exports[`renders components/drawer/demo/user-profile.tsx extend context correctly 2`] = `[]`;

View File

@ -1110,6 +1110,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/arrow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/arrow-center.tsx extend context correctly 1`] = `
Array [
<button
@ -2220,6 +2222,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/arrow-center.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/basic.tsx extend context correctly 1`] = `
Array [
<a
@ -2500,6 +2504,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/context-menu.tsx extend context correctly 1`] = `
Array [
<div
@ -2666,6 +2672,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/context-menu.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/custom-dropdown.tsx extend context correctly 1`] = `
Array [
<a
@ -2910,6 +2918,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/custom-dropdown.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/dropdown-button.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -4869,6 +4879,8 @@ exports[`renders components/dropdown/demo/dropdown-button.tsx extend context cor
</div>
`;
exports[`renders components/dropdown/demo/dropdown-button.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/event.tsx extend context correctly 1`] = `
Array [
<a
@ -5066,6 +5078,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/event.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/icon-debug.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -5132,6 +5146,8 @@ exports[`renders components/dropdown/demo/icon-debug.tsx extend context correctl
</div>
`;
exports[`renders components/dropdown/demo/icon-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/item.tsx extend context correctly 1`] = `
Array [
<a
@ -5344,6 +5360,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/item.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5830,6 +5848,8 @@ exports[`renders components/dropdown/demo/loading.tsx extend context correctly 1
</div>
`;
exports[`renders components/dropdown/demo/loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/menu-full.tsx extend context correctly 1`] = `
Array [
<a
@ -6861,6 +6881,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/menu-full.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/overlay-open.tsx extend context correctly 1`] = `
Array [
<a
@ -7058,6 +7080,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/overlay-open.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/placement.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -8200,6 +8224,8 @@ exports[`renders components/dropdown/demo/placement.tsx extend context correctly
</div>
`;
exports[`renders components/dropdown/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -8448,6 +8474,13 @@ exports[`renders components/dropdown/demo/render-panel.tsx extend context correc
</div>
`;
exports[`renders components/dropdown/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: [antd: Dropdown] \`visible\` is deprecated which will be removed in next major version, please use \`open\` instead.",
"Warning: [antd: Dropdown] \`visible\` is deprecated, please use \`open\` instead.",
]
`;
exports[`renders components/dropdown/demo/selectable.tsx extend context correctly 1`] = `
Array [
<a
@ -8645,6 +8678,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/selectable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/sub-menu.tsx extend context correctly 1`] = `
Array [
<a
@ -9107,6 +9142,8 @@ Array [
]
`;
exports[`renders components/dropdown/demo/sub-menu.tsx extend context correctly 2`] = `[]`;
exports[`renders components/dropdown/demo/trigger.tsx extend context correctly 1`] = `
Array [
<a
@ -9314,3 +9351,5 @@ Array [
</div>,
]
`;
exports[`renders components/dropdown/demo/trigger.tsx extend context correctly 2`] = `[]`;

View File

@ -75,6 +75,8 @@ exports[`renders components/empty/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/empty/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/empty/demo/config-provider.tsx extend context correctly 1`] = `
Array [
<button
@ -1081,6 +1083,12 @@ Array [
]
`;
exports[`renders components/empty/demo/config-provider.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/empty/demo/customize.tsx extend context correctly 1`] = `
<div
class="ant-empty"
@ -1121,6 +1129,8 @@ exports[`renders components/empty/demo/customize.tsx extend context correctly 1`
</div>
`;
exports[`renders components/empty/demo/customize.tsx extend context correctly 2`] = `[]`;
exports[`renders components/empty/demo/description.tsx extend context correctly 1`] = `
<div
class="ant-empty"
@ -1191,6 +1201,8 @@ exports[`renders components/empty/demo/description.tsx extend context correctly
</div>
`;
exports[`renders components/empty/demo/description.tsx extend context correctly 2`] = `[]`;
exports[`renders components/empty/demo/simple.tsx extend context correctly 1`] = `
<div
class="ant-empty ant-empty-normal"
@ -1238,3 +1250,5 @@ exports[`renders components/empty/demo/simple.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/empty/demo/simple.tsx extend context correctly 2`] = `[]`;

View File

@ -28,6 +28,8 @@ exports[`renders components/float-button/demo/back-top.tsx extend context correc
</div>
`;
exports[`renders components/float-button/demo/back-top.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/badge.tsx extend context correctly 1`] = `
Array [
<button
@ -490,6 +492,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/badge.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/badge-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -600,6 +604,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/badge-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/basic.tsx extend context correctly 1`] = `
<button
class="ant-float-btn ant-float-btn-default ant-float-btn-circle"
@ -660,6 +666,8 @@ exports[`renders components/float-button/demo/basic.tsx extend context correctly
</button>
`;
exports[`renders components/float-button/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/controlled.tsx extend context correctly 1`] = `
Array [
<div
@ -876,6 +884,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/controlled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/description.tsx extend context correctly 1`] = `
Array [
<button
@ -1047,6 +1057,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/description.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/group.tsx extend context correctly 1`] = `
Array [
<div
@ -1467,6 +1479,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/group.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/group-menu.tsx extend context correctly 1`] = `
Array [
<div
@ -1596,6 +1610,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/group-menu.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="display: flex; column-gap: 16px; align-items: center;"
@ -2200,6 +2216,8 @@ exports[`renders components/float-button/demo/render-panel.tsx extend context co
</div>
`;
exports[`renders components/float-button/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/shape.tsx extend context correctly 1`] = `
Array [
<button
@ -2321,6 +2339,8 @@ Array [
]
`;
exports[`renders components/float-button/demo/shape.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/tooltip.tsx extend context correctly 1`] = `
<button
class="ant-float-btn ant-float-btn-default ant-float-btn-circle"
@ -2385,6 +2405,8 @@ exports[`renders components/float-button/demo/tooltip.tsx extend context correct
</button>
`;
exports[`renders components/float-button/demo/tooltip.tsx extend context correctly 2`] = `[]`;
exports[`renders components/float-button/demo/type.tsx extend context correctly 1`] = `
Array [
<button
@ -2511,3 +2533,5 @@ Array [
</button>,
]
`;
exports[`renders components/float-button/demo/type.tsx extend context correctly 2`] = `[]`;

View File

@ -615,6 +615,12 @@ Array [
]
`;
exports[`renders components/form/demo/advanced-search.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/basic.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -800,6 +806,8 @@ exports[`renders components/form/demo/basic.tsx extend context correctly 1`] = `
</form>
`;
exports[`renders components/form/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/col-24-debug.tsx extend context correctly 1`] = `
Array [
<form
@ -1639,6 +1647,12 @@ Array [
]
`;
exports[`renders components/form/demo/col-24-debug.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/control-hooks.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -1919,6 +1933,12 @@ exports[`renders components/form/demo/control-hooks.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/control-hooks.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/control-ref.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -2199,6 +2219,12 @@ exports[`renders components/form/demo/control-ref.tsx extend context correctly 1
</form>
`;
exports[`renders components/form/demo/control-ref.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/customized-form-controls.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-inline"
@ -2415,6 +2441,12 @@ exports[`renders components/form/demo/customized-form-controls.tsx extend contex
</form>
`;
exports[`renders components/form/demo/customized-form-controls.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/disabled.tsx extend context correctly 1`] = `
Array [
<label
@ -5296,6 +5328,12 @@ Array [
]
`;
exports[`renders components/form/demo/disabled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/disabled-input-debug.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -5982,6 +6020,8 @@ exports[`renders components/form/demo/disabled-input-debug.tsx extend context co
</form>
`;
exports[`renders components/form/demo/disabled-input-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/dynamic-form-item.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -6115,6 +6155,8 @@ exports[`renders components/form/demo/dynamic-form-item.tsx extend context corre
</form>
`;
exports[`renders components/form/demo/dynamic-form-item.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/dynamic-form-items.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -6210,6 +6252,8 @@ exports[`renders components/form/demo/dynamic-form-items.tsx extend context corr
</form>
`;
exports[`renders components/form/demo/dynamic-form-items.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/dynamic-form-items-complex.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -6475,6 +6519,12 @@ exports[`renders components/form/demo/dynamic-form-items-complex.tsx extend cont
</form>
`;
exports[`renders components/form/demo/dynamic-form-items-complex.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/dynamic-form-items-no-style.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -6600,6 +6650,8 @@ exports[`renders components/form/demo/dynamic-form-items-no-style.tsx extend con
</form>
`;
exports[`renders components/form/demo/dynamic-form-items-no-style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/dynamic-rule.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -6752,6 +6804,8 @@ exports[`renders components/form/demo/dynamic-rule.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/dynamic-rule.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/form-context.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -6891,6 +6945,8 @@ exports[`renders components/form/demo/form-context.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/form-context.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/form-in-modal.tsx extend context correctly 1`] = `
<div>
<button
@ -6904,6 +6960,8 @@ exports[`renders components/form/demo/form-in-modal.tsx extend context correctly
</div>
`;
exports[`renders components/form/demo/form-in-modal.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/form-item-path.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-vertical"
@ -7031,6 +7089,8 @@ exports[`renders components/form/demo/form-item-path.tsx extend context correctl
</form>
`;
exports[`renders components/form/demo/form-item-path.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/global-state.tsx extend context correctly 1`] = `
Array [
<form
@ -7094,6 +7154,8 @@ Array [
]
`;
exports[`renders components/form/demo/global-state.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/inline-login.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-inline"
@ -7241,6 +7303,8 @@ exports[`renders components/form/demo/inline-login.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/inline-login.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/label-debug.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -7363,6 +7427,8 @@ exports[`renders components/form/demo/label-debug.tsx extend context correctly 1
</form>
`;
exports[`renders components/form/demo/label-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/layout.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -7565,6 +7631,8 @@ exports[`renders components/form/demo/layout.tsx extend context correctly 1`] =
</form>
`;
exports[`renders components/form/demo/layout.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/layout-can-wrap.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -7693,6 +7761,8 @@ exports[`renders components/form/demo/layout-can-wrap.tsx extend context correct
</form>
`;
exports[`renders components/form/demo/layout-can-wrap.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/nest-messages.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -7982,6 +8052,8 @@ exports[`renders components/form/demo/nest-messages.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/nest-messages.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/normal-login.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal login-form"
@ -8180,6 +8252,8 @@ exports[`renders components/form/demo/normal-login.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/normal-login.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/ref-item.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -8267,6 +8341,8 @@ exports[`renders components/form/demo/ref-item.tsx extend context correctly 1`]
</form>
`;
exports[`renders components/form/demo/ref-item.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/register.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -9640,6 +9716,12 @@ exports[`renders components/form/demo/register.tsx extend context correctly 1`]
</form>
`;
exports[`renders components/form/demo/register.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/required-mark.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-vertical"
@ -9937,6 +10019,8 @@ exports[`renders components/form/demo/required-mark.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/required-mark.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/size.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal ant-form-default"
@ -11353,6 +11437,12 @@ exports[`renders components/form/demo/size.tsx extend context correctly 1`] = `
</form>
`;
exports[`renders components/form/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/time-related-controls.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -18948,6 +19038,12 @@ exports[`renders components/form/demo/time-related-controls.tsx extend context c
</form>
`;
exports[`renders components/form/demo/time-related-controls.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/useWatch.tsx extend context correctly 1`] = `
Array [
<form
@ -19107,6 +19203,8 @@ Array [
]
`;
exports[`renders components/form/demo/useWatch.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/validate-only.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -19242,6 +19340,8 @@ exports[`renders components/form/demo/validate-only.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/validate-only.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/validate-other.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -21288,6 +21388,12 @@ exports[`renders components/form/demo/validate-other.tsx extend context correctl
</form>
`;
exports[`renders components/form/demo/validate-other.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/validate-static.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -27586,6 +27692,12 @@ exports[`renders components/form/demo/validate-static.tsx extend context correct
</form>
`;
exports[`renders components/form/demo/validate-static.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/form/demo/warning-only.tsx extend context correctly 1`] = `
<form
autocomplete="off"
@ -27682,6 +27794,8 @@ exports[`renders components/form/demo/warning-only.tsx extend context correctly
</form>
`;
exports[`renders components/form/demo/warning-only.tsx extend context correctly 2`] = `[]`;
exports[`renders components/form/demo/without-form-create.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -27817,3 +27931,5 @@ exports[`renders components/form/demo/without-form-create.tsx extend context cor
</div>
</form>
`;
exports[`renders components/form/demo/without-form-create.tsx extend context correctly 2`] = `[]`;

View File

@ -71,6 +71,8 @@ Array [
]
`;
exports[`renders components/grid/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/flex.tsx extend context correctly 1`] = `
Array [
<div
@ -280,6 +282,8 @@ Array [
]
`;
exports[`renders components/grid/demo/flex.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/flex-align.tsx extend context correctly 1`] = `
Array [
<div
@ -435,6 +439,8 @@ Array [
]
`;
exports[`renders components/grid/demo/flex-align.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/flex-order.tsx extend context correctly 1`] = `
Array [
<div
@ -508,6 +514,8 @@ Array [
]
`;
exports[`renders components/grid/demo/flex-order.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/flex-stretch.tsx extend context correctly 1`] = `
Array [
<div
@ -611,6 +619,8 @@ Array [
]
`;
exports[`renders components/grid/demo/flex-stretch.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/gutter.tsx extend context correctly 1`] = `
Array [
<div
@ -821,6 +831,8 @@ Array [
]
`;
exports[`renders components/grid/demo/gutter.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/offset.tsx extend context correctly 1`] = `
Array [
<div
@ -863,6 +875,8 @@ Array [
]
`;
exports[`renders components/grid/demo/offset.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/playground.tsx extend context correctly 1`] = `
Array [
<span>
@ -1344,6 +1358,8 @@ Array [
]
`;
exports[`renders components/grid/demo/playground.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -1366,6 +1382,8 @@ exports[`renders components/grid/demo/responsive.tsx extend context correctly 1`
</div>
`;
exports[`renders components/grid/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/responsive-more.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -1388,6 +1406,8 @@ exports[`renders components/grid/demo/responsive-more.tsx extend context correct
</div>
`;
exports[`renders components/grid/demo/responsive-more.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/sort.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -1405,6 +1425,8 @@ exports[`renders components/grid/demo/sort.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/grid/demo/sort.tsx extend context correctly 2`] = `[]`;
exports[`renders components/grid/demo/useBreakpoint.tsx extend context correctly 1`] = `
Array [
Current break point: ,
@ -1415,3 +1437,5 @@ Array [
</span>,
]
`;
exports[`renders components/grid/demo/useBreakpoint.tsx extend context correctly 2`] = `[]`;

View File

@ -151,6 +151,8 @@ exports[`renders components/icon/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/icon/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/icon/demo/custom.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -286,6 +288,8 @@ exports[`renders components/icon/demo/custom.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/icon/demo/custom.tsx extend context correctly 2`] = `[]`;
exports[`renders components/icon/demo/iconfont.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -358,6 +362,8 @@ exports[`renders components/icon/demo/iconfont.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/icon/demo/iconfont.tsx extend context correctly 2`] = `[]`;
exports[`renders components/icon/demo/scriptUrl.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -452,6 +458,8 @@ exports[`renders components/icon/demo/scriptUrl.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/icon/demo/scriptUrl.tsx extend context correctly 2`] = `[]`;
exports[`renders components/icon/demo/two-tone.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -552,3 +560,5 @@ exports[`renders components/icon/demo/two-tone.tsx extend context correctly 1`]
</div>
</div>
`;
exports[`renders components/icon/demo/two-tone.tsx extend context correctly 2`] = `[]`;

View File

@ -41,6 +41,8 @@ exports[`renders components/image/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/image/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -122,6 +124,8 @@ Array [
]
`;
exports[`renders components/image/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/controlled-preview.tsx extend context correctly 1`] = `
Array [
<div>
@ -255,6 +259,8 @@ Array [
]
`;
exports[`renders components/image/demo/controlled-preview.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/fallback.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -298,6 +304,8 @@ exports[`renders components/image/demo/fallback.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/image/demo/fallback.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/imageRender.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -339,6 +347,8 @@ exports[`renders components/image/demo/imageRender.tsx extend context correctly
</div>
`;
exports[`renders components/image/demo/imageRender.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/placeholder.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -416,6 +426,8 @@ exports[`renders components/image/demo/placeholder.tsx extend context correctly
</div>
`;
exports[`renders components/image/demo/placeholder.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/preview-group.tsx extend context correctly 1`] = `
Array [
<div
@ -497,6 +509,8 @@ Array [
]
`;
exports[`renders components/image/demo/preview-group.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/preview-group-top-progress.tsx extend context correctly 1`] = `
Array [
<div
@ -616,6 +630,8 @@ Array [
]
`;
exports[`renders components/image/demo/preview-group-top-progress.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/preview-group-visible.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -657,6 +673,8 @@ exports[`renders components/image/demo/preview-group-visible.tsx extend context
</div>
`;
exports[`renders components/image/demo/preview-group-visible.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/preview-mask.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -707,6 +725,8 @@ exports[`renders components/image/demo/preview-mask.tsx extend context correctly
</div>
`;
exports[`renders components/image/demo/preview-mask.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/previewSrc.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -748,6 +768,8 @@ exports[`renders components/image/demo/previewSrc.tsx extend context correctly 1
</div>
`;
exports[`renders components/image/demo/previewSrc.tsx extend context correctly 2`] = `[]`;
exports[`renders components/image/demo/toolbarRender.tsx extend context correctly 1`] = `
<div
class="ant-image"
@ -788,3 +810,5 @@ exports[`renders components/image/demo/toolbarRender.tsx extend context correctl
</div>
</div>
`;
exports[`renders components/image/demo/toolbarRender.tsx extend context correctly 2`] = `[]`;

View File

@ -1088,6 +1088,12 @@ exports[`renders components/input-number/demo/addon.tsx extend context correctly
</div>
`;
exports[`renders components/input-number/demo/addon.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/input-number/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-input-number"
@ -1167,6 +1173,8 @@ exports[`renders components/input-number/demo/basic.tsx extend context correctly
</div>
`;
exports[`renders components/input-number/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/borderless.tsx extend context correctly 1`] = `
<div
class="ant-input-number ant-input-number-borderless"
@ -1246,6 +1254,8 @@ exports[`renders components/input-number/demo/borderless.tsx extend context corr
</div>
`;
exports[`renders components/input-number/demo/borderless.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/controls.tsx extend context correctly 1`] = `
<div
class="ant-input-number"
@ -1330,6 +1340,8 @@ exports[`renders components/input-number/demo/controls.tsx extend context correc
</div>
`;
exports[`renders components/input-number/demo/controls.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/debug-token.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1492,6 +1504,8 @@ exports[`renders components/input-number/demo/debug-token.tsx extend context cor
</div>
`;
exports[`renders components/input-number/demo/debug-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/digit.tsx extend context correctly 1`] = `
<div
class="ant-input-number"
@ -1572,6 +1586,8 @@ exports[`renders components/input-number/demo/digit.tsx extend context correctly
</div>
`;
exports[`renders components/input-number/demo/digit.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/disabled.tsx extend context correctly 1`] = `
Array [
<div
@ -1666,6 +1682,8 @@ Array [
]
`;
exports[`renders components/input-number/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/formatter.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1832,6 +1850,8 @@ exports[`renders components/input-number/demo/formatter.tsx extend context corre
</div>
`;
exports[`renders components/input-number/demo/formatter.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/keyboard.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1943,6 +1963,8 @@ exports[`renders components/input-number/demo/keyboard.tsx extend context correc
</div>
`;
exports[`renders components/input-number/demo/keyboard.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/out-of-range.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2043,6 +2065,8 @@ exports[`renders components/input-number/demo/out-of-range.tsx extend context co
</div>
`;
exports[`renders components/input-number/demo/out-of-range.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/prefix.tsx extend context correctly 1`] = `
Array [
<div
@ -2333,6 +2357,8 @@ Array [
]
`;
exports[`renders components/input-number/demo/prefix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px;"
@ -2414,6 +2440,8 @@ exports[`renders components/input-number/demo/render-panel.tsx extend context co
</div>
`;
exports[`renders components/input-number/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2663,6 +2691,8 @@ exports[`renders components/input-number/demo/size.tsx extend context correctly
</div>
`;
exports[`renders components/input-number/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input-number/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -3045,3 +3075,5 @@ exports[`renders components/input-number/demo/status.tsx extend context correctl
</div>
</div>
`;
exports[`renders components/input-number/demo/status.tsx extend context correctly 2`] = `[]`;

View File

@ -601,6 +601,12 @@ exports[`renders components/input/demo/addon.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/input/demo/addon.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/input/demo/align.tsx extend context correctly 1`] = `
Array [
<div
@ -4842,6 +4848,12 @@ Array [
]
`;
exports[`renders components/input/demo/align.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/input/demo/allowClear.tsx extend context correctly 1`] = `
Array [
<span
@ -4927,6 +4939,8 @@ Array [
]
`;
exports[`renders components/input/demo/allowClear.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/autosize-textarea.tsx extend context correctly 1`] = `
Array [
<textarea
@ -4953,6 +4967,8 @@ Array [
]
`;
exports[`renders components/input/demo/autosize-textarea.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/basic.tsx extend context correctly 1`] = `
<input
class="ant-input"
@ -4962,6 +4978,8 @@ exports[`renders components/input/demo/basic.tsx extend context correctly 1`] =
/>
`;
exports[`renders components/input/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/borderless.tsx extend context correctly 1`] = `
<input
class="ant-input ant-input-borderless"
@ -4971,6 +4989,8 @@ exports[`renders components/input/demo/borderless.tsx extend context correctly 1
/>
`;
exports[`renders components/input/demo/borderless.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/borderless-debug.tsx extend context correctly 1`] = `
<div
style="background-color: rgba(0, 0, 128, 0.2);"
@ -5149,6 +5169,8 @@ exports[`renders components/input/demo/borderless-debug.tsx extend context corre
</div>
`;
exports[`renders components/input/demo/borderless-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/compact-style.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5513,6 +5535,12 @@ exports[`renders components/input/demo/compact-style.tsx extend context correctl
</div>
`;
exports[`renders components/input/demo/compact-style.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/input/demo/debug-addon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5649,6 +5677,8 @@ exports[`renders components/input/demo/debug-addon.tsx extend context correctly
</div>
`;
exports[`renders components/input/demo/debug-addon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/focus.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5764,6 +5794,8 @@ exports[`renders components/input/demo/focus.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/input/demo/focus.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/group.tsx extend context correctly 1`] = `
<div
class="site-input-group-wrapper"
@ -9238,6 +9270,13 @@ exports[`renders components/input/demo/group.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/input/demo/group.tsx extend context correctly 2`] = `
[
"Warning: [antd: Input.Group] 'Input.Group' is deprecated. Please use 'Space.Compact' instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/input/demo/password-input.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -9392,6 +9431,8 @@ exports[`renders components/input/demo/password-input.tsx extend context correct
</div>
`;
exports[`renders components/input/demo/password-input.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/presuffix.tsx extend context correctly 1`] = `
Array [
<span
@ -9519,6 +9560,8 @@ Array [
]
`;
exports[`renders components/input/demo/presuffix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/search-input.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -9929,6 +9972,8 @@ exports[`renders components/input/demo/search-input.tsx extend context correctly
</div>
`;
exports[`renders components/input/demo/search-input.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/search-input-loading.tsx extend context correctly 1`] = `
Array [
<span
@ -10080,6 +10125,8 @@ Array [
]
`;
exports[`renders components/input/demo/search-input-loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/show-count.tsx extend context correctly 1`] = `
Array [
<span
@ -10123,6 +10170,8 @@ Array [
]
`;
exports[`renders components/input/demo/show-count.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/size.tsx extend context correctly 1`] = `
Array [
<span
@ -10231,6 +10280,8 @@ Array [
]
`;
exports[`renders components/input/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -10342,6 +10393,8 @@ exports[`renders components/input/demo/status.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/input/demo/status.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/textarea.tsx extend context correctly 1`] = `
Array [
<textarea
@ -10358,6 +10411,8 @@ Array [
]
`;
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
@ -10416,6 +10471,8 @@ Array [
]
`;
exports[`renders components/input/demo/textarea-resize.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/textarea-show-count.tsx extend context correctly 1`] = `
Array [
<span
@ -10460,6 +10517,8 @@ Array [
]
`;
exports[`renders components/input/demo/textarea-show-count.tsx extend context correctly 2`] = `[]`;
exports[`renders components/input/demo/tooltip.tsx extend context correctly 1`] = `
Array [
<input
@ -10491,3 +10550,5 @@ Array [
</div>,
]
`;
exports[`renders components/input/demo/tooltip.tsx extend context correctly 2`] = `[]`;

View File

@ -157,6 +157,8 @@ exports[`renders components/layout/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/layout/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/layout/demo/custom-trigger.tsx extend context correctly 1`] = `
<div
class="ant-layout ant-layout-has-sider"
@ -430,6 +432,8 @@ exports[`renders components/layout/demo/custom-trigger.tsx extend context correc
</div>
`;
exports[`renders components/layout/demo/custom-trigger.tsx extend context correctly 2`] = `[]`;
exports[`renders components/layout/demo/fixed.tsx extend context correctly 1`] = `
<div
class="ant-layout"
@ -702,6 +706,12 @@ exports[`renders components/layout/demo/fixed.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/layout/demo/fixed.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`Breadcrumb.Item and Breadcrumb.Separator\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/layout/demo/fixed-sider.tsx extend context correctly 1`] = `
<div
class="ant-layout ant-layout-has-sider"
@ -1488,6 +1498,8 @@ exports[`renders components/layout/demo/fixed-sider.tsx extend context correctly
</div>
`;
exports[`renders components/layout/demo/fixed-sider.tsx extend context correctly 2`] = `[]`;
exports[`renders components/layout/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-layout ant-layout-has-sider"
@ -1846,6 +1858,8 @@ exports[`renders components/layout/demo/responsive.tsx extend context correctly
</div>
`;
exports[`renders components/layout/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/layout/demo/side.tsx extend context correctly 1`] = `
<div
class="ant-layout ant-layout-has-sider"
@ -2496,6 +2510,12 @@ exports[`renders components/layout/demo/side.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/layout/demo/side.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`Breadcrumb.Item and Breadcrumb.Separator\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/layout/demo/top.tsx extend context correctly 1`] = `
<div
class="ant-layout layout"
@ -3321,6 +3341,12 @@ exports[`renders components/layout/demo/top.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/layout/demo/top.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`Breadcrumb.Item and Breadcrumb.Separator\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/layout/demo/top-side.tsx extend context correctly 1`] = `
<div
class="ant-layout"
@ -4477,6 +4503,12 @@ exports[`renders components/layout/demo/top-side.tsx extend context correctly 1`
</div>
`;
exports[`renders components/layout/demo/top-side.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`Breadcrumb.Item and Breadcrumb.Separator\` is deprecated. Please use \`items\` instead.",
]
`;
exports[`renders components/layout/demo/top-side-2.tsx extend context correctly 1`] = `
<div
class="ant-layout"
@ -5625,3 +5657,9 @@ exports[`renders components/layout/demo/top-side-2.tsx extend context correctly
</div>
</div>
`;
exports[`renders components/layout/demo/top-side-2.tsx extend context correctly 2`] = `
[
"Warning: [antd: Breadcrumb] \`Breadcrumb.Item and Breadcrumb.Separator\` is deprecated. Please use \`items\` instead.",
]
`;

View File

@ -167,6 +167,8 @@ exports[`renders components/list/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/list/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -821,6 +823,8 @@ Array [
]
`;
exports[`renders components/list/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/grid.tsx extend context correctly 1`] = `
<div
class="ant-list ant-list-split ant-list-grid"
@ -981,6 +985,8 @@ exports[`renders components/list/demo/grid.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/list/demo/grid.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/grid-test.tsx extend context correctly 1`] = `
Array [
<div
@ -1673,6 +1679,8 @@ Array [
]
`;
exports[`renders components/list/demo/grid-test.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/infinite-load.tsx extend context correctly 1`] = `
<div
id="scrollableDiv"
@ -1775,6 +1783,8 @@ exports[`renders components/list/demo/infinite-load.tsx extend context correctly
</div>
`;
exports[`renders components/list/demo/infinite-load.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/loadmore.tsx extend context correctly 1`] = `
<div
class="ant-list ant-list-split ant-list-loading demo-loadmore-list"
@ -1817,6 +1827,8 @@ exports[`renders components/list/demo/loadmore.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/list/demo/loadmore.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/pagination.tsx extend context correctly 1`] = `
Array [
<div
@ -2239,6 +2251,8 @@ Array [
]
`;
exports[`renders components/list/demo/pagination.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-list ant-list-split ant-list-grid"
@ -2469,6 +2483,8 @@ exports[`renders components/list/demo/responsive.tsx extend context correctly 1`
</div>
`;
exports[`renders components/list/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/simple.tsx extend context correctly 1`] = `
Array [
<div
@ -2704,6 +2720,8 @@ Array [
]
`;
exports[`renders components/list/demo/simple.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/vertical.tsx extend context correctly 1`] = `
<div
class="ant-list ant-list-vertical ant-list-lg ant-list-split ant-list-something-after-last-item"
@ -3407,6 +3425,8 @@ exports[`renders components/list/demo/vertical.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/list/demo/vertical.tsx extend context correctly 2`] = `[]`;
exports[`renders components/list/demo/virtual-list.tsx extend context correctly 1`] = `
<div
class="ant-list ant-list-split"

View File

@ -12,6 +12,8 @@ exports[`renders components/mentions/demo/async.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/mentions/demo/async.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/autoSize.tsx extend context correctly 1`] = `
<div
class="ant-mentions"
@ -25,6 +27,12 @@ exports[`renders components/mentions/demo/autoSize.tsx extend context correctly
</div>
`;
exports[`renders components/mentions/demo/autoSize.tsx extend context correctly 2`] = `
[
"Warning: \`NaN\` is an invalid value for the \`%s\` css style property.%s",
]
`;
exports[`renders components/mentions/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-mentions"
@ -39,6 +47,8 @@ exports[`renders components/mentions/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/mentions/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/component-token.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -96,6 +106,12 @@ exports[`renders components/mentions/demo/component-token.tsx extend context cor
</div>
`;
exports[`renders components/mentions/demo/component-token.tsx extend context correctly 2`] = `
[
"Warning: \`open\` of Mentions is only used for debug usage. Do not use in you production.",
]
`;
exports[`renders components/mentions/demo/form.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -236,6 +252,8 @@ exports[`renders components/mentions/demo/form.tsx extend context correctly 1`]
</form>
`;
exports[`renders components/mentions/demo/form.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/placement.tsx extend context correctly 1`] = `
<div
class="ant-mentions"
@ -248,6 +266,8 @@ exports[`renders components/mentions/demo/placement.tsx extend context correctly
</div>
`;
exports[`renders components/mentions/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/prefix.tsx extend context correctly 1`] = `
<div
class="ant-mentions"
@ -261,6 +281,8 @@ exports[`renders components/mentions/demo/prefix.tsx extend context correctly 1`
</div>
`;
exports[`renders components/mentions/demo/prefix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/readonly.tsx extend context correctly 1`] = `
Array [
<div
@ -292,6 +314,8 @@ Array [
]
`;
exports[`renders components/mentions/demo/readonly.tsx extend context correctly 2`] = `[]`;
exports[`renders components/mentions/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -349,6 +373,17 @@ exports[`renders components/mentions/demo/render-panel.tsx extend context correc
</div>
`;
exports[`renders components/mentions/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: Received \`%s\` for a non-boolean attribute \`%s\`.
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",
"Warning: \`open\` of Mentions is only used for debug usage. Do not use in you production.",
]
`;
exports[`renders components/mentions/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -384,3 +419,5 @@ exports[`renders components/mentions/demo/status.tsx extend context correctly 1`
</div>
</div>
`;
exports[`renders components/mentions/demo/status.tsx extend context correctly 2`] = `[]`;

View File

@ -1231,6 +1231,8 @@ exports[`renders components/menu/demo/component-token.tsx extend context correct
</div>
`;
exports[`renders components/menu/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/horizontal.tsx extend context correctly 1`] = `
Array [
<ul
@ -1591,6 +1593,8 @@ Array [
]
`;
exports[`renders components/menu/demo/horizontal.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/horizontal-dark.tsx extend context correctly 1`] = `
Array [
<ul
@ -1951,6 +1955,8 @@ Array [
]
`;
exports[`renders components/menu/demo/horizontal-dark.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/inline.tsx extend context correctly 1`] = `
Array [
<ul
@ -3043,6 +3049,8 @@ Array [
]
`;
exports[`renders components/menu/demo/inline.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/inline-collapsed.tsx extend context correctly 1`] = `
<div
style="width: 256px;"
@ -3934,6 +3942,8 @@ exports[`renders components/menu/demo/inline-collapsed.tsx extend context correc
</div>
`;
exports[`renders components/menu/demo/inline-collapsed.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/menu-v4.tsx extend context correctly 1`] = `
Array [
<button
@ -4864,6 +4874,8 @@ Array [
]
`;
exports[`renders components/menu/demo/menu-v4.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/sider-current.tsx extend context correctly 1`] = `
Array [
<ul
@ -5774,6 +5786,8 @@ Array [
]
`;
exports[`renders components/menu/demo/sider-current.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/style-debug.tsx extend context correctly 1`] = `
Array [
<button
@ -6092,6 +6106,8 @@ Array [
]
`;
exports[`renders components/menu/demo/style-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/submenu-theme.tsx extend context correctly 1`] = `
Array [
<button
@ -6421,6 +6437,8 @@ Array [
]
`;
exports[`renders components/menu/demo/submenu-theme.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/switch-mode.tsx extend context correctly 1`] = `
Array [
<button
@ -7376,6 +7394,8 @@ Array [
]
`;
exports[`renders components/menu/demo/switch-mode.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/theme.tsx extend context correctly 1`] = `
Array [
<button
@ -8312,6 +8332,8 @@ Array [
]
`;
exports[`renders components/menu/demo/theme.tsx extend context correctly 2`] = `[]`;
exports[`renders components/menu/demo/vertical.tsx extend context correctly 1`] = `
Array [
<ul
@ -9112,3 +9134,5 @@ Array [
</div>,
]
`;
exports[`renders components/menu/demo/vertical.tsx extend context correctly 2`] = `[]`;

View File

@ -75,6 +75,8 @@ Array [
]
`;
exports[`renders components/message/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/message/demo/custom-style.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
@ -86,6 +88,8 @@ exports[`renders components/message/demo/custom-style.tsx extend context correct
</button>
`;
exports[`renders components/message/demo/custom-style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/message/demo/duration.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
@ -97,6 +101,8 @@ exports[`renders components/message/demo/duration.tsx extend context correctly 1
</button>
`;
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"
@ -108,6 +114,8 @@ exports[`renders components/message/demo/hooks.tsx extend context correctly 1`]
</button>
`;
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"
@ -119,6 +127,8 @@ exports[`renders components/message/demo/info.tsx extend context correctly 1`] =
</button>
`;
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"
@ -130,6 +140,8 @@ exports[`renders components/message/demo/loading.tsx extend context correctly 1`
</button>
`;
exports[`renders components/message/demo/loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/message/demo/other.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -175,6 +187,8 @@ exports[`renders components/message/demo/other.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/message/demo/other.tsx extend context correctly 2`] = `[]`;
exports[`renders components/message/demo/render-panel.tsx extend context correctly 1`] = `
<div
class="ant-message-notice ant-message-notice-pure-panel"
@ -213,6 +227,8 @@ exports[`renders components/message/demo/render-panel.tsx extend context correct
</div>
`;
exports[`renders components/message/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/message/demo/thenable.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
@ -224,6 +240,8 @@ exports[`renders components/message/demo/thenable.tsx extend context correctly 1
</button>
`;
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"
@ -234,3 +252,5 @@ exports[`renders components/message/demo/update.tsx extend context correctly 1`]
</span>
</button>
`;
exports[`renders components/message/demo/update.tsx extend context correctly 2`] = `[]`;

View File

@ -11,6 +11,8 @@ exports[`renders components/modal/demo/async.tsx extend context correctly 1`] =
</button>
`;
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"
@ -22,6 +24,8 @@ exports[`renders components/modal/demo/basic.tsx extend context correctly 1`] =
</button>
`;
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"
@ -33,6 +37,8 @@ exports[`renders components/modal/demo/button-props.tsx extend context correctly
</button>
`;
exports[`renders components/modal/demo/button-props.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/component-token.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px;"
@ -361,6 +367,8 @@ exports[`renders components/modal/demo/component-token.tsx extend context correc
</div>
`;
exports[`renders components/modal/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -421,6 +429,8 @@ exports[`renders components/modal/demo/confirm.tsx extend context correctly 1`]
</div>
`;
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"
@ -432,6 +442,8 @@ exports[`renders components/modal/demo/confirm-router.tsx extend context correct
</button>
`;
exports[`renders components/modal/demo/confirm-router.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/custom-mouse-position.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -443,6 +455,8 @@ exports[`renders components/modal/demo/custom-mouse-position.tsx extend context
</button>
`;
exports[`renders components/modal/demo/custom-mouse-position.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/dark.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -454,6 +468,8 @@ exports[`renders components/modal/demo/dark.tsx extend context correctly 1`] = `
</button>
`;
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"
@ -465,6 +481,8 @@ exports[`renders components/modal/demo/footer.tsx extend context correctly 1`] =
</button>
`;
exports[`renders components/modal/demo/footer.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -523,6 +541,8 @@ exports[`renders components/modal/demo/hooks.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/modal/demo/hooks.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/locale.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -555,6 +575,8 @@ exports[`renders components/modal/demo/locale.tsx extend context correctly 1`] =
</div>
`;
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"
@ -566,6 +588,8 @@ exports[`renders components/modal/demo/manual.tsx extend context correctly 1`] =
</button>
`;
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"
@ -577,6 +601,8 @@ exports[`renders components/modal/demo/modal-render.tsx extend context correctly
</button>
`;
exports[`renders components/modal/demo/modal-render.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/position.tsx extend context correctly 1`] = `
Array [
<button
@ -600,6 +626,8 @@ Array [
]
`;
exports[`renders components/modal/demo/position.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px;"
@ -843,6 +871,8 @@ exports[`renders components/modal/demo/render-panel.tsx extend context correctly
</div>
`;
exports[`renders components/modal/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/static-info.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -903,6 +933,8 @@ exports[`renders components/modal/demo/static-info.tsx extend context correctly
</div>
`;
exports[`renders components/modal/demo/static-info.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/width.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -914,6 +946,8 @@ exports[`renders components/modal/demo/width.tsx extend context correctly 1`] =
</button>
`;
exports[`renders components/modal/demo/width.tsx extend context correctly 2`] = `[]`;
exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px;"
@ -1156,3 +1190,5 @@ exports[`renders components/modal/demo/wireframe.tsx extend context correctly 1`
</div>
</div>
`;
exports[`renders components/modal/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -11,6 +11,8 @@ exports[`renders components/notification/demo/basic.tsx extend context correctly
</button>
`;
exports[`renders components/notification/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/custom-icon.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -22,6 +24,8 @@ exports[`renders components/notification/demo/custom-icon.tsx extend context cor
</button>
`;
exports[`renders components/notification/demo/custom-icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/custom-style.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -33,6 +37,8 @@ exports[`renders components/notification/demo/custom-style.tsx extend context co
</button>
`;
exports[`renders components/notification/demo/custom-style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/duration.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -44,6 +50,8 @@ exports[`renders components/notification/demo/duration.tsx extend context correc
</button>
`;
exports[`renders components/notification/demo/duration.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/hooks.tsx extend context correctly 1`] = `
Array [
<div
@ -203,6 +211,8 @@ Array [
]
`;
exports[`renders components/notification/demo/hooks.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -441,6 +451,8 @@ Array [
]
`;
exports[`renders components/notification/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/render-panel.tsx extend context correctly 1`] = `
<div
class="ant-notification-notice ant-notification-notice-pure-panel ant-notification-notice-closable"
@ -527,6 +539,8 @@ exports[`renders components/notification/demo/render-panel.tsx extend context co
</div>
`;
exports[`renders components/notification/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/update.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -538,6 +552,8 @@ exports[`renders components/notification/demo/update.tsx extend context correctl
</button>
`;
exports[`renders components/notification/demo/update.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/with-btn.tsx extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
@ -549,6 +565,8 @@ exports[`renders components/notification/demo/with-btn.tsx extend context correc
</button>
`;
exports[`renders components/notification/demo/with-btn.tsx extend context correctly 2`] = `[]`;
exports[`renders components/notification/demo/with-icon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -606,3 +624,5 @@ exports[`renders components/notification/demo/with-icon.tsx extend context corre
</div>
</div>
`;
exports[`renders components/notification/demo/with-icon.tsx extend context correctly 2`] = `[]`;

View File

@ -356,6 +356,12 @@ exports[`renders components/pagination/demo/all.tsx extend context correctly 1`]
</ul>
`;
exports[`renders components/pagination/demo/all.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/basic.tsx extend context correctly 1`] = `
<ul
class="ant-pagination"
@ -482,6 +488,8 @@ exports[`renders components/pagination/demo/basic.tsx extend context correctly 1
</ul>
`;
exports[`renders components/pagination/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/pagination/demo/changer.tsx extend context correctly 1`] = `
Array [
<ul
@ -1163,6 +1171,12 @@ Array [
]
`;
exports[`renders components/pagination/demo/changer.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/component-token.tsx extend context correctly 1`] = `
Array [
<ul
@ -1816,6 +1830,12 @@ Array [
]
`;
exports[`renders components/pagination/demo/component-token.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/controlled.tsx extend context correctly 1`] = `
<ul
class="ant-pagination"
@ -1942,6 +1962,8 @@ exports[`renders components/pagination/demo/controlled.tsx extend context correc
</ul>
`;
exports[`renders components/pagination/demo/controlled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/pagination/demo/itemRender.tsx extend context correctly 1`] = `
<ul
class="ant-pagination"
@ -2239,6 +2261,12 @@ exports[`renders components/pagination/demo/itemRender.tsx extend context correc
</ul>
`;
exports[`renders components/pagination/demo/itemRender.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/jump.tsx extend context correctly 1`] = `
Array [
<ul
@ -2943,6 +2971,12 @@ Array [
]
`;
exports[`renders components/pagination/demo/jump.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/mini.tsx extend context correctly 1`] = `
Array [
<ul
@ -3804,6 +3838,12 @@ Array [
]
`;
exports[`renders components/pagination/demo/mini.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/more.tsx extend context correctly 1`] = `
<ul
class="ant-pagination"
@ -4193,6 +4233,12 @@ exports[`renders components/pagination/demo/more.tsx extend context correctly 1`
</ul>
`;
exports[`renders components/pagination/demo/more.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/simple.tsx extend context correctly 1`] = `
Array [
<ul
@ -4368,6 +4414,8 @@ Array [
]
`;
exports[`renders components/pagination/demo/simple.tsx extend context correctly 2`] = `[]`;
exports[`renders components/pagination/demo/total.tsx extend context correctly 1`] = `
Array [
<ul
@ -4960,6 +5008,12 @@ Array [
]
`;
exports[`renders components/pagination/demo/total.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/pagination/demo/wireframe.tsx extend context correctly 1`] = `
Array [
<ul
@ -5640,3 +5694,9 @@ Array [
</ul>,
]
`;
exports[`renders components/pagination/demo/wireframe.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -100,6 +100,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/async.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/basic.tsx extend context correctly 1`] = `
Array [
<button
@ -200,6 +202,8 @@ Array [
]
`;
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
@ -323,6 +327,8 @@ exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context c
</div>
`;
exports[`renders components/popconfirm/demo/dynamic-trigger.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/icon.tsx extend context correctly 1`] = `
Array [
<button
@ -427,6 +433,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/locale.tsx extend context correctly 1`] = `
Array [
<button
@ -527,6 +535,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/locale.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -1688,6 +1698,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/promise.tsx extend context correctly 1`] = `
Array [
<button
@ -1788,6 +1800,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/promise.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/render-panel.tsx extend context correctly 1`] = `
Array [
<div
@ -2084,6 +2098,8 @@ Array [
]
`;
exports[`renders components/popconfirm/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popconfirm/demo/wireframe.tsx extend context correctly 1`] = `
Array [
<div
@ -2250,3 +2266,5 @@ Array [
</div>,
]
`;
exports[`renders components/popconfirm/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -624,6 +624,8 @@ exports[`renders components/popover/demo/arrow.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/popover/demo/arrow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/arrow-point-at-center.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -724,6 +726,12 @@ exports[`renders components/popover/demo/arrow-point-at-center.tsx extend contex
</div>
`;
exports[`renders components/popover/demo/arrow-point-at-center.tsx extend context correctly 2`] = `
[
"Warning: [antd: Tooltip] \`arrowPointAtCenter\` is deprecated, please use \`arrow={{ pointAtCenter: true }}\` instead.",
]
`;
exports[`renders components/popover/demo/basic.tsx extend context correctly 1`] = `
Array [
<button
@ -772,6 +780,8 @@ Array [
]
`;
exports[`renders components/popover/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -845,6 +855,8 @@ Array [
]
`;
exports[`renders components/popover/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/control.tsx extend context correctly 1`] = `
Array [
<button
@ -888,6 +900,8 @@ Array [
]
`;
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
@ -966,6 +980,8 @@ Array [
]
`;
exports[`renders components/popover/demo/hover-with-click.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/placement.tsx extend context correctly 1`] = `
<div>
<div
@ -1527,6 +1543,8 @@ exports[`renders components/popover/demo/placement.tsx extend context correctly
</div>
`;
exports[`renders components/popover/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/render-panel.tsx extend context correctly 1`] = `
Array [
<div
@ -1600,6 +1618,8 @@ Array [
]
`;
exports[`renders components/popover/demo/render-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/triggerType.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1752,6 +1772,8 @@ exports[`renders components/popover/demo/triggerType.tsx extend context correctl
</div>
`;
exports[`renders components/popover/demo/triggerType.tsx extend context correctly 2`] = `[]`;
exports[`renders components/popover/demo/wireframe.tsx extend context correctly 1`] = `
Array [
<div
@ -1824,3 +1846,5 @@ Array [
</div>,
]
`;
exports[`renders components/popover/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -214,6 +214,8 @@ exports[`renders components/progress/demo/circle.tsx extend context correctly 1`
</div>
`;
exports[`renders components/progress/demo/circle.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/circle-dynamic.tsx extend context correctly 1`] = `
Array [
<div
@ -338,6 +340,8 @@ Array [
]
`;
exports[`renders components/progress/demo/circle-dynamic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/circle-micro.tsx extend context correctly 1`] = `
Array [
<div
@ -421,6 +425,8 @@ Array [
]
`;
exports[`renders components/progress/demo/circle-micro.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/circle-mini.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -635,6 +641,8 @@ exports[`renders components/progress/demo/circle-mini.tsx extend context correct
</div>
`;
exports[`renders components/progress/demo/circle-mini.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/dashboard.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -757,6 +765,8 @@ exports[`renders components/progress/demo/dashboard.tsx extend context correctly
</div>
`;
exports[`renders components/progress/demo/dashboard.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/dynamic.tsx extend context correctly 1`] = `
Array [
<div
@ -853,6 +863,8 @@ Array [
]
`;
exports[`renders components/progress/demo/dynamic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/format.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -975,6 +987,8 @@ exports[`renders components/progress/demo/format.tsx extend context correctly 1`
</div>
`;
exports[`renders components/progress/demo/format.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/gradient-line.tsx extend context correctly 1`] = `
Array [
<div
@ -1204,6 +1218,8 @@ Array [
]
`;
exports[`renders components/progress/demo/gradient-line.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/line.tsx extend context correctly 1`] = `
Array [
<div
@ -1363,6 +1379,8 @@ Array [
]
`;
exports[`renders components/progress/demo/line.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/line-mini.tsx extend context correctly 1`] = `
<div
style="width: 170px;"
@ -1505,6 +1523,8 @@ exports[`renders components/progress/demo/line-mini.tsx extend context correctly
</div>
`;
exports[`renders components/progress/demo/line-mini.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/linecap.tsx extend context correctly 1`] = `
Array [
<div
@ -1655,6 +1675,8 @@ Array [
]
`;
exports[`renders components/progress/demo/linecap.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/segment.tsx extend context correctly 1`] = `
Array [
<div
@ -1865,6 +1887,8 @@ Array [
]
`;
exports[`renders components/progress/demo/segment.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -2494,6 +2518,8 @@ Array [
]
`;
exports[`renders components/progress/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/progress/demo/steps.tsx extend context correctly 1`] = `
Array [
<div
@ -2654,3 +2680,5 @@ Array [
</div>,
]
`;
exports[`renders components/progress/demo/steps.tsx extend context correctly 2`] = `[]`;

View File

@ -44,6 +44,8 @@ Array [
]
`;
exports[`renders components/qr-code/demo/Popover.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/base.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical ant-space-align-center"
@ -77,6 +79,8 @@ exports[`renders components/qr-code/demo/base.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/qr-code/demo/base.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/customColor.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -113,6 +117,8 @@ exports[`renders components/qr-code/demo/customColor.tsx extend context correctl
</div>
`;
exports[`renders components/qr-code/demo/customColor.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/customSize.tsx extend context correctly 1`] = `
Array [
<div
@ -205,6 +211,8 @@ Array [
]
`;
exports[`renders components/qr-code/demo/customSize.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/download.tsx extend context correctly 1`] = `
<div
id="myqrcode"
@ -230,6 +238,8 @@ exports[`renders components/qr-code/demo/download.tsx extend context correctly 1
</div>
`;
exports[`renders components/qr-code/demo/download.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/errorlevel.tsx extend context correctly 1`] = `
Array [
<div
@ -310,6 +320,8 @@ Array [
]
`;
exports[`renders components/qr-code/demo/errorlevel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-qrcode"
@ -327,6 +339,8 @@ exports[`renders components/qr-code/demo/icon.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/qr-code/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -431,6 +445,8 @@ exports[`renders components/qr-code/demo/status.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/qr-code/demo/status.tsx extend context correctly 2`] = `[]`;
exports[`renders components/qr-code/demo/type.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -477,3 +493,5 @@ exports[`renders components/qr-code/demo/type.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/qr-code/demo/type.tsx extend context correctly 2`] = `[]`;

View File

@ -85,6 +85,8 @@ exports[`renders components/radio/demo/badge.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/radio/demo/badge.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/basic.tsx extend context correctly 1`] = `
<label
class="ant-radio-wrapper"
@ -106,6 +108,8 @@ exports[`renders components/radio/demo/basic.tsx extend context correctly 1`] =
</label>
`;
exports[`renders components/radio/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -423,6 +427,8 @@ exports[`renders components/radio/demo/component-token.tsx extend context correc
</div>
`;
exports[`renders components/radio/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/disabled.tsx extend context correctly 1`] = `
Array [
<label
@ -477,6 +483,8 @@ Array [
]
`;
exports[`renders components/radio/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiobutton.tsx extend context correctly 1`] = `
Array [
<div
@ -732,6 +740,8 @@ Array [
]
`;
exports[`renders components/radio/demo/radiobutton.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiobutton-solid.tsx extend context correctly 1`] = `
Array [
<div
@ -901,6 +911,8 @@ Array [
]
`;
exports[`renders components/radio/demo/radiobutton-solid.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiogroup.tsx extend context correctly 1`] = `
<div
class="ant-radio-group ant-radio-group-outline"
@ -985,6 +997,8 @@ exports[`renders components/radio/demo/radiogroup.tsx extend context correctly 1
</div>
`;
exports[`renders components/radio/demo/radiogroup.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiogroup-more.tsx extend context correctly 1`] = `
<div
class="ant-radio-group ant-radio-group-outline"
@ -1092,6 +1106,8 @@ exports[`renders components/radio/demo/radiogroup-more.tsx extend context correc
</div>
`;
exports[`renders components/radio/demo/radiogroup-more.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiogroup-options.tsx extend context correctly 1`] = `
Array [
<div
@ -1352,6 +1368,8 @@ Array [
]
`;
exports[`renders components/radio/demo/radiogroup-options.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/radiogroup-with-name.tsx extend context correctly 1`] = `
<div
class="ant-radio-group ant-radio-group-outline"
@ -1440,6 +1458,8 @@ exports[`renders components/radio/demo/radiogroup-with-name.tsx extend context c
</div>
`;
exports[`renders components/radio/demo/radiogroup-with-name.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -1690,6 +1710,8 @@ Array [
]
`;
exports[`renders components/radio/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/radio/demo/wireframe.tsx extend context correctly 1`] = `
Array [
<div
@ -1861,3 +1883,5 @@ Array [
</div>,
]
`;
exports[`renders components/radio/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -299,6 +299,8 @@ exports[`renders components/rate/demo/basic.tsx extend context correctly 1`] = `
</ul>
`;
exports[`renders components/rate/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/character.tsx extend context correctly 1`] = `
Array [
<ul
@ -835,6 +837,8 @@ Array [
]
`;
exports[`renders components/rate/demo/character.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/character-function.tsx extend context correctly 1`] = `
Array [
<ul
@ -1253,6 +1257,8 @@ Array [
]
`;
exports[`renders components/rate/demo/character-function.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/clear.tsx extend context correctly 1`] = `
Array [
<ul
@ -1861,6 +1867,8 @@ Array [
]
`;
exports[`renders components/rate/demo/clear.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/component-token.tsx extend context correctly 1`] = `
<ul
class="ant-rate"
@ -2160,6 +2168,8 @@ exports[`renders components/rate/demo/component-token.tsx extend context correct
</ul>
`;
exports[`renders components/rate/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/disabled.tsx extend context correctly 1`] = `
<ul
class="ant-rate ant-rate-disabled"
@ -2459,6 +2469,8 @@ exports[`renders components/rate/demo/disabled.tsx extend context correctly 1`]
</ul>
`;
exports[`renders components/rate/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/half.tsx extend context correctly 1`] = `
<ul
class="ant-rate"
@ -2758,6 +2770,8 @@ exports[`renders components/rate/demo/half.tsx extend context correctly 1`] = `
</ul>
`;
exports[`renders components/rate/demo/half.tsx extend context correctly 2`] = `[]`;
exports[`renders components/rate/demo/text.tsx extend context correctly 1`] = `
<span>
<ul
@ -3158,3 +3172,5 @@ exports[`renders components/rate/demo/text.tsx extend context correctly 1`] = `
</span>
</span>
`;
exports[`renders components/rate/demo/text.tsx extend context correctly 2`] = `[]`;

View File

@ -313,6 +313,8 @@ exports[`renders components/result/demo/403.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/result/demo/403.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/404.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-404"
@ -644,6 +646,8 @@ exports[`renders components/result/demo/404.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/result/demo/404.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/500.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-500"
@ -1022,6 +1026,8 @@ exports[`renders components/result/demo/500.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/result/demo/500.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-success"
@ -1082,6 +1088,8 @@ exports[`renders components/result/demo/component-token.tsx extend context corre
</div>
`;
exports[`renders components/result/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/customIcon.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-info"
@ -1129,6 +1137,8 @@ exports[`renders components/result/demo/customIcon.tsx extend context correctly
</div>
`;
exports[`renders components/result/demo/customIcon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/error.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-error"
@ -1266,6 +1276,8 @@ exports[`renders components/result/demo/error.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/result/demo/error.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/info.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-info"
@ -1313,6 +1325,8 @@ exports[`renders components/result/demo/info.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/result/demo/info.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/success.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-success"
@ -1373,6 +1387,8 @@ exports[`renders components/result/demo/success.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/result/demo/success.tsx extend context correctly 2`] = `[]`;
exports[`renders components/result/demo/warning.tsx extend context correctly 1`] = `
<div
class="ant-result ant-result-warning"
@ -1419,3 +1435,5 @@ exports[`renders components/result/demo/warning.tsx extend context correctly 1`]
</div>
</div>
`;
exports[`renders components/result/demo/warning.tsx extend context correctly 2`] = `[]`;

View File

@ -82,6 +82,8 @@ exports[`renders components/segmented/demo/basic.tsx extend context correctly 1`
</div>
`;
exports[`renders components/segmented/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/block.tsx extend context correctly 1`] = `
<div
class="ant-segmented ant-segmented-block"
@ -136,6 +138,8 @@ exports[`renders components/segmented/demo/block.tsx extend context correctly 1`
</div>
`;
exports[`renders components/segmented/demo/block.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/componentToken.tsx extend context correctly 1`] = `
<div
class="ant-segmented"
@ -218,6 +222,8 @@ exports[`renders components/segmented/demo/componentToken.tsx extend context cor
</div>
`;
exports[`renders components/segmented/demo/componentToken.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/controlled.tsx extend context correctly 1`] = `
<div
class="ant-segmented"
@ -272,6 +278,8 @@ exports[`renders components/segmented/demo/controlled.tsx extend context correct
</div>
`;
exports[`renders components/segmented/demo/controlled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/controlled-two.tsx extend context correctly 1`] = `
Array [
<div
@ -380,6 +388,8 @@ Array [
]
`;
exports[`renders components/segmented/demo/controlled-two.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/custom.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -601,6 +611,8 @@ exports[`renders components/segmented/demo/custom.tsx extend context correctly 1
</div>
`;
exports[`renders components/segmented/demo/custom.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -752,6 +764,8 @@ exports[`renders components/segmented/demo/disabled.tsx extend context correctly
</div>
`;
exports[`renders components/segmented/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/dynamic.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -827,6 +841,8 @@ exports[`renders components/segmented/demo/dynamic.tsx extend context correctly
</div>
`;
exports[`renders components/segmented/demo/dynamic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/icon-only.tsx extend context correctly 1`] = `
<div
class="ant-segmented"
@ -909,6 +925,8 @@ exports[`renders components/segmented/demo/icon-only.tsx extend context correctl
</div>
`;
exports[`renders components/segmented/demo/icon-only.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1167,6 +1185,8 @@ exports[`renders components/segmented/demo/size.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/segmented/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/segmented/demo/size-consistent.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1481,6 +1501,12 @@ exports[`renders components/segmented/demo/size-consistent.tsx extend context co
</div>
`;
exports[`renders components/segmented/demo/size-consistent.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/segmented/demo/with-icon.tsx extend context correctly 1`] = `
<div
class="ant-segmented"
@ -1568,3 +1594,5 @@ exports[`renders components/segmented/demo/with-icon.tsx extend context correctl
</div>
</div>
`;
exports[`renders components/segmented/demo/with-icon.tsx extend context correctly 2`] = `[]`;

View File

@ -405,6 +405,12 @@ exports[`renders components/select/demo/automatic-tokenization.tsx extend contex
</div>
`;
exports[`renders components/select/demo/automatic-tokenization.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -984,6 +990,12 @@ exports[`renders components/select/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/select/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/bordered.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1277,6 +1289,12 @@ exports[`renders components/select/demo/bordered.tsx extend context correctly 1`
</div>
`;
exports[`renders components/select/demo/bordered.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/coordinate.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1594,6 +1612,12 @@ exports[`renders components/select/demo/coordinate.tsx extend context correctly
</div>
`;
exports[`renders components/select/demo/coordinate.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/custom-dropdown-menu.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow"
@ -1799,6 +1823,12 @@ exports[`renders components/select/demo/custom-dropdown-menu.tsx extend context
</div>
`;
exports[`renders components/select/demo/custom-dropdown-menu.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/custom-tag-render.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -2080,6 +2110,12 @@ exports[`renders components/select/demo/custom-tag-render.tsx extend context cor
</div>
`;
exports[`renders components/select/demo/custom-tag-render.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/debug.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -2559,6 +2595,12 @@ exports[`renders components/select/demo/debug.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/select/demo/debug.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/debug-flip-shift.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow ant-select-open"
@ -4365,6 +4407,12 @@ exports[`renders components/select/demo/debug-flip-shift.tsx extend context corr
</div>
`;
exports[`renders components/select/demo/debug-flip-shift.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/hide-selected.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -4533,6 +4581,12 @@ exports[`renders components/select/demo/hide-selected.tsx extend context correct
</div>
`;
exports[`renders components/select/demo/hide-selected.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/label-in-value.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow"
@ -4677,6 +4731,12 @@ exports[`renders components/select/demo/label-in-value.tsx extend context correc
</div>
`;
exports[`renders components/select/demo/label-in-value.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/multiple.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -5744,6 +5804,12 @@ exports[`renders components/select/demo/multiple.tsx extend context correctly 1`
</div>
`;
exports[`renders components/select/demo/multiple.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/optgroup.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow"
@ -5922,6 +5988,12 @@ exports[`renders components/select/demo/optgroup.tsx extend context correctly 1`
</div>
`;
exports[`renders components/select/demo/optgroup.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/option-label-center.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -6107,6 +6179,12 @@ exports[`renders components/select/demo/option-label-center.tsx extend context c
</div>
`;
exports[`renders components/select/demo/option-label-center.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/option-label-prop.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -6412,6 +6490,12 @@ exports[`renders components/select/demo/option-label-prop.tsx extend context cor
</div>
`;
exports[`renders components/select/demo/option-label-prop.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -6644,6 +6728,13 @@ Array [
]
`;
exports[`renders components/select/demo/placement.tsx extend context correctly 2`] = `
[
"Warning: [antd: Select] \`dropdownMatchSelectWidth\` is deprecated. Please use \`popupMatchSelectWidth\` instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/placement-debug.tsx extend context correctly 1`] = `
<div
style="height: 100%; min-height: 500px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative;"
@ -6934,6 +7025,12 @@ exports[`renders components/select/demo/placement-debug.tsx extend context corre
</div>
`;
exports[`renders components/select/demo/placement-debug.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -8048,6 +8145,12 @@ exports[`renders components/select/demo/responsive.tsx extend context correctly
</div>
`;
exports[`renders components/select/demo/responsive.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/search.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow ant-select-show-search"
@ -8204,6 +8307,12 @@ exports[`renders components/select/demo/search.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/select/demo/search.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/search-box.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-search"
@ -8250,6 +8359,12 @@ exports[`renders components/select/demo/search-box.tsx extend context correctly
</div>
`;
exports[`renders components/select/demo/search-box.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/search-sort.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-single ant-select-show-arrow ant-select-show-search"
@ -8458,6 +8573,12 @@ exports[`renders components/select/demo/search-sort.tsx extend context correctly
</div>
`;
exports[`renders components/select/demo/search-sort.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/select-users.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -8548,6 +8669,12 @@ exports[`renders components/select/demo/select-users.tsx extend context correctl
</div>
`;
exports[`renders components/select/demo/select-users.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -10258,6 +10385,12 @@ Array [
]
`;
exports[`renders components/select/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -10507,6 +10640,12 @@ exports[`renders components/select/demo/status.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/select/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/suffix.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -10817,6 +10956,12 @@ exports[`renders components/select/demo/suffix.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/select/demo/suffix.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/select/demo/tags.tsx extend context correctly 1`] = `
<div
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -11223,3 +11368,9 @@ exports[`renders components/select/demo/tags.tsx extend context correctly 1`] =
</span>
</div>
`;
exports[`renders components/select/demo/tags.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -24,6 +24,8 @@ exports[`renders components/skeleton/demo/active.tsx extend context correctly 1`
</div>
`;
exports[`renders components/skeleton/demo/active.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-skeleton"
@ -48,6 +50,8 @@ exports[`renders components/skeleton/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/skeleton/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/children.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -81,6 +85,8 @@ exports[`renders components/skeleton/demo/children.tsx extend context correctly
</div>
`;
exports[`renders components/skeleton/demo/children.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/complex.tsx extend context correctly 1`] = `
<div
class="ant-skeleton ant-skeleton-with-avatar"
@ -111,6 +117,8 @@ exports[`renders components/skeleton/demo/complex.tsx extend context correctly 1
</div>
`;
exports[`renders components/skeleton/demo/complex.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/componentToken.tsx extend context correctly 1`] = `
<div
class="ant-skeleton ant-skeleton-active"
@ -135,6 +143,8 @@ exports[`renders components/skeleton/demo/componentToken.tsx extend context corr
</div>
`;
exports[`renders components/skeleton/demo/componentToken.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/element.tsx extend context correctly 1`] = `
Array [
<div
@ -673,6 +683,8 @@ Array [
]
`;
exports[`renders components/skeleton/demo/element.tsx extend context correctly 2`] = `[]`;
exports[`renders components/skeleton/demo/list.tsx extend context correctly 1`] = `
Array [
<button
@ -801,3 +813,5 @@ Array [
</div>,
]
`;
exports[`renders components/skeleton/demo/list.tsx extend context correctly 2`] = `[]`;

View File

@ -141,6 +141,8 @@ Array [
]
`;
exports[`renders components/slider/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -506,6 +508,8 @@ Array [
]
`;
exports[`renders components/slider/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/draggableTrack.tsx extend context correctly 1`] = `
<div
class="ant-slider ant-slider-horizontal"
@ -581,6 +585,8 @@ exports[`renders components/slider/demo/draggableTrack.tsx extend context correc
</div>
`;
exports[`renders components/slider/demo/draggableTrack.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/event.tsx extend context correctly 1`] = `
Array [
<div
@ -701,6 +707,8 @@ Array [
]
`;
exports[`renders components/slider/demo/event.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/icon-slider.tsx extend context correctly 1`] = `
<div
class="icon-wrapper"
@ -789,6 +797,8 @@ exports[`renders components/slider/demo/icon-slider.tsx extend context correctly
</div>
`;
exports[`renders components/slider/demo/icon-slider.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/input-number.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -1070,6 +1080,8 @@ exports[`renders components/slider/demo/input-number.tsx extend context correctl
</div>
`;
exports[`renders components/slider/demo/input-number.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/mark.tsx extend context correctly 1`] = `
Array [
<h4>
@ -1562,6 +1574,8 @@ Array [
]
`;
exports[`renders components/slider/demo/mark.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/reverse.tsx extend context correctly 1`] = `
Array [
<div
@ -1703,6 +1717,8 @@ Array [
]
`;
exports[`renders components/slider/demo/reverse.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/show-tooltip.tsx extend context correctly 1`] = `
<div
class="ant-slider ant-slider-horizontal"
@ -1749,6 +1765,8 @@ exports[`renders components/slider/demo/show-tooltip.tsx extend context correctl
</div>
`;
exports[`renders components/slider/demo/show-tooltip.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/tip-formatter.tsx extend context correctly 1`] = `
Array [
<div
@ -1838,6 +1856,8 @@ Array [
]
`;
exports[`renders components/slider/demo/tip-formatter.tsx extend context correctly 2`] = `[]`;
exports[`renders components/slider/demo/vertical.tsx extend context correctly 1`] = `
Array [
<div
@ -2088,3 +2108,5 @@ Array [
</div>,
]
`;
exports[`renders components/slider/demo/vertical.tsx extend context correctly 2`] = `[]`;

View File

@ -151,6 +151,8 @@ exports[`renders components/space/demo/align.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/space/demo/align.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -329,6 +331,8 @@ exports[`renders components/space/demo/base.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/space/demo/base.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/compact.tsx extend context correctly 1`] = `
<div
class="site-space-compact-wrapper"
@ -8378,6 +8382,12 @@ exports[`renders components/space/demo/compact.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/space/demo/compact.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/space/demo/compact-button-vertical.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -8483,6 +8493,8 @@ exports[`renders components/space/demo/compact-button-vertical.tsx extend contex
</div>
`;
exports[`renders components/space/demo/compact-button-vertical.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/compact-buttons.tsx extend context correctly 1`] = `
<div>
<div
@ -9482,6 +9494,12 @@ exports[`renders components/space/demo/compact-buttons.tsx extend context correc
</div>
`;
exports[`renders components/space/demo/compact-buttons.tsx extend context correctly 2`] = `
[
"Warning: [antd: Dropdown] \`overlay\` is deprecated. Please use \`menu\` instead.",
]
`;
exports[`renders components/space/demo/compact-debug.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -13208,6 +13226,12 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
</div>
`;
exports[`renders components/space/demo/compact-debug.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/space/demo/compact-nested.tsx extend context correctly 1`] = `
Array [
<div
@ -15171,6 +15195,12 @@ Array [
]
`;
exports[`renders components/space/demo/compact-nested.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/space/demo/customize.tsx extend context correctly 1`] = `
Array [
<div
@ -15276,6 +15306,8 @@ Array [
]
`;
exports[`renders components/space/demo/customize.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/debug.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -15516,6 +15548,8 @@ exports[`renders components/space/demo/debug.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/space/demo/debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/gap-in-line.tsx extend context correctly 1`] = `
Array [
<button
@ -15582,6 +15616,8 @@ Array [
]
`;
exports[`renders components/space/demo/gap-in-line.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -15706,6 +15742,8 @@ Array [
]
`;
exports[`renders components/space/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/split.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -15760,6 +15798,8 @@ exports[`renders components/space/demo/split.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/space/demo/split.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/vertical.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -15863,6 +15903,8 @@ exports[`renders components/space/demo/vertical.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/space/demo/vertical.tsx extend context correctly 2`] = `[]`;
exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -16130,3 +16172,5 @@ exports[`renders components/space/demo/wrap.tsx extend context correctly 1`] = `
</div>
</div>
`;
exports[`renders components/space/demo/wrap.tsx extend context correctly 2`] = `[]`;

View File

@ -25,6 +25,8 @@ exports[`renders components/spin/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/spin/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/custom-indicator.tsx extend context correctly 1`] = `
<div
aria-busy="true"
@ -54,6 +56,8 @@ exports[`renders components/spin/demo/custom-indicator.tsx extend context correc
</div>
`;
exports[`renders components/spin/demo/custom-indicator.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/delayAndDebounce.tsx extend context correctly 1`] = `
<div>
<div
@ -112,6 +116,8 @@ exports[`renders components/spin/demo/delayAndDebounce.tsx extend context correc
</div>
`;
exports[`renders components/spin/demo/delayAndDebounce.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/inside.tsx extend context correctly 1`] = `
<div
class="example"
@ -141,6 +147,8 @@ exports[`renders components/spin/demo/inside.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/spin/demo/inside.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/nested.tsx extend context correctly 1`] = `
<div>
<div
@ -199,6 +207,8 @@ exports[`renders components/spin/demo/nested.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/spin/demo/nested.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -286,6 +296,8 @@ exports[`renders components/spin/demo/size.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/spin/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/spin/demo/tip.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -497,3 +509,5 @@ exports[`renders components/spin/demo/tip.tsx extend context correctly 1`] = `
</div>
</div>
`;
exports[`renders components/spin/demo/tip.tsx extend context correctly 2`] = `[]`;

View File

@ -58,6 +58,8 @@ exports[`renders components/statistic/demo/animated.tsx extend context correctly
</div>
`;
exports[`renders components/statistic/demo/animated.tsx extend context correctly 2`] = `[]`;
exports[`renders components/statistic/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -159,6 +161,8 @@ exports[`renders components/statistic/demo/basic.tsx extend context correctly 1`
</div>
`;
exports[`renders components/statistic/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/statistic/demo/card.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -305,6 +309,8 @@ exports[`renders components/statistic/demo/card.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/statistic/demo/card.tsx extend context correctly 2`] = `[]`;
exports[`renders components/statistic/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -406,6 +412,8 @@ exports[`renders components/statistic/demo/component-token.tsx extend context co
</div>
`;
exports[`renders components/statistic/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/statistic/demo/countdown.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -506,6 +514,8 @@ exports[`renders components/statistic/demo/countdown.tsx extend context correctl
</div>
`;
exports[`renders components/statistic/demo/countdown.tsx extend context correctly 2`] = `[]`;
exports[`renders components/statistic/demo/unit.tsx extend context correctly 1`] = `
<div
class="ant-row"
@ -595,3 +605,5 @@ exports[`renders components/statistic/demo/unit.tsx extend context correctly 1`]
</div>
</div>
`;
exports[`renders components/statistic/demo/unit.tsx extend context correctly 2`] = `[]`;

View File

@ -233,6 +233,8 @@ Array [
]
`;
exports[`renders components/steps/demo/clickable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -944,6 +946,8 @@ Array [
]
`;
exports[`renders components/steps/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/customized-progress-dot.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical ant-steps-dot"
@ -1195,6 +1199,8 @@ exports[`renders components/steps/demo/customized-progress-dot.tsx extend contex
</div>
`;
exports[`renders components/steps/demo/customized-progress-dot.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/error.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical"
@ -1341,6 +1347,8 @@ exports[`renders components/steps/demo/error.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/steps/demo/error.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical"
@ -1536,6 +1544,8 @@ exports[`renders components/steps/demo/icon.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/steps/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/inline.tsx extend context correctly 1`] = `
<div>
<div
@ -2385,6 +2395,8 @@ exports[`renders components/steps/demo/inline.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/steps/demo/inline.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/label-placement.tsx extend context correctly 1`] = `
Array [
<div
@ -2817,6 +2829,8 @@ Array [
]
`;
exports[`renders components/steps/demo/label-placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/nav.tsx extend context correctly 1`] = `
Array [
<div
@ -3278,6 +3292,8 @@ Array [
]
`;
exports[`renders components/steps/demo/nav.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/progress.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical ant-steps-with-progress"
@ -3464,6 +3480,8 @@ exports[`renders components/steps/demo/progress.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/steps/demo/progress.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/progress-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -4262,6 +4280,8 @@ Array [
]
`;
exports[`renders components/steps/demo/progress-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/progress-dot.tsx extend context correctly 1`] = `
Array [
<div
@ -4567,6 +4587,8 @@ Array [
]
`;
exports[`renders components/steps/demo/progress-dot.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/progress-dot-small.tsx extend context correctly 1`] = `
Array [
<div
@ -4872,6 +4894,8 @@ Array [
]
`;
exports[`renders components/steps/demo/progress-dot-small.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/simple.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical"
@ -5005,6 +5029,8 @@ exports[`renders components/steps/demo/simple.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/steps/demo/simple.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/small-size.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical ant-steps-small"
@ -5117,6 +5143,8 @@ exports[`renders components/steps/demo/small-size.tsx extend context correctly 1
</div>
`;
exports[`renders components/steps/demo/small-size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/step-next.tsx extend context correctly 1`] = `
Array [
<div
@ -5230,6 +5258,8 @@ Array [
]
`;
exports[`renders components/steps/demo/step-next.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/steps-in-steps.tsx extend context correctly 1`] = `
Array [
<div
@ -5498,6 +5528,8 @@ Array [
]
`;
exports[`renders components/steps/demo/steps-in-steps.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/vertical.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical"
@ -5625,6 +5657,8 @@ exports[`renders components/steps/demo/vertical.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/steps/demo/vertical.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/vertical-small.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical ant-steps-small"
@ -5752,6 +5786,8 @@ exports[`renders components/steps/demo/vertical-small.tsx extend context correct
</div>
`;
exports[`renders components/steps/demo/vertical-small.tsx extend context correctly 2`] = `[]`;
exports[`renders components/steps/demo/wireframe.tsx extend context correctly 1`] = `
<div
class="ant-steps ant-steps-vertical"
@ -5884,3 +5920,5 @@ exports[`renders components/steps/demo/wireframe.tsx extend context correctly 1`
</div>
</div>
`;
exports[`renders components/steps/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -23,6 +23,8 @@ exports[`renders components/switch/demo/basic.tsx extend context correctly 1`] =
</button>
`;
exports[`renders components/switch/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/switch/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -68,6 +70,8 @@ exports[`renders components/switch/demo/disabled.tsx extend context correctly 1`
</div>
`;
exports[`renders components/switch/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/switch/demo/loading.tsx extend context correctly 1`] = `
Array [
<button
@ -156,6 +160,8 @@ Array [
]
`;
exports[`renders components/switch/demo/loading.tsx extend context correctly 2`] = `[]`;
exports[`renders components/switch/demo/size.tsx extend context correctly 1`] = `
Array [
<button
@ -202,6 +208,8 @@ Array [
]
`;
exports[`renders components/switch/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/switch/demo/text.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -331,3 +339,5 @@ exports[`renders components/switch/demo/text.tsx extend context correctly 1`] =
</div>
</div>
`;
exports[`renders components/switch/demo/text.tsx extend context correctly 2`] = `[]`;

View File

@ -323,6 +323,8 @@ exports[`renders components/table/demo/basic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/table/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/bordered.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -542,6 +544,8 @@ exports[`renders components/table/demo/bordered.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/table/demo/bordered.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/colspan-rowspan.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -861,6 +865,8 @@ exports[`renders components/table/demo/colspan-rowspan.tsx extend context correc
</div>
`;
exports[`renders components/table/demo/colspan-rowspan.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/custom-filter-panel.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -1562,6 +1568,8 @@ exports[`renders components/table/demo/custom-filter-panel.tsx extend context co
</div>
`;
exports[`renders components/table/demo/custom-filter-panel.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/drag-sorting.tsx extend context correctly 1`] = `
Array [
<div
@ -1796,6 +1804,8 @@ Array [
]
`;
exports[`renders components/table/demo/drag-sorting.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/drag-sorting-handler.tsx extend context correctly 1`] = `
Array [
<div
@ -2102,6 +2112,8 @@ Array [
]
`;
exports[`renders components/table/demo/drag-sorting-handler.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/dynamic-settings.tsx extend context correctly 1`] = `
Array [
<form
@ -4666,6 +4678,8 @@ Array [
]
`;
exports[`renders components/table/demo/dynamic-settings.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/edit-cell.tsx extend context correctly 1`] = `
<div>
<button
@ -5054,6 +5068,8 @@ exports[`renders components/table/demo/edit-cell.tsx extend context correctly 1`
</div>
`;
exports[`renders components/table/demo/edit-cell.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/edit-row.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -5757,6 +5773,12 @@ exports[`renders components/table/demo/edit-row.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/table/demo/edit-row.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/ellipsis.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -6048,6 +6070,8 @@ exports[`renders components/table/demo/ellipsis.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/table/demo/ellipsis.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/ellipsis-custom-tooltip.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -6579,6 +6603,8 @@ exports[`renders components/table/demo/ellipsis-custom-tooltip.tsx extend contex
</div>
`;
exports[`renders components/table/demo/ellipsis-custom-tooltip.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/expand.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -6879,6 +6905,8 @@ exports[`renders components/table/demo/expand.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/table/demo/expand.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/filter-in-tree.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -7852,6 +7880,8 @@ exports[`renders components/table/demo/filter-in-tree.tsx extend context correct
</div>
`;
exports[`renders components/table/demo/filter-in-tree.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/filter-search.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -8649,6 +8679,8 @@ exports[`renders components/table/demo/filter-search.tsx extend context correctl
</div>
`;
exports[`renders components/table/demo/filter-search.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/fixed-columns.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -9158,6 +9190,8 @@ exports[`renders components/table/demo/fixed-columns.tsx extend context correctl
</div>
`;
exports[`renders components/table/demo/fixed-columns.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/fixed-columns-header.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -10393,6 +10427,12 @@ exports[`renders components/table/demo/fixed-columns-header.tsx extend context c
</div>
`;
exports[`renders components/table/demo/fixed-columns-header.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/fixed-header.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -11756,6 +11796,12 @@ exports[`renders components/table/demo/fixed-header.tsx extend context correctly
</div>
`;
exports[`renders components/table/demo/fixed-header.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/grouping-columns.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -13076,6 +13122,12 @@ exports[`renders components/table/demo/grouping-columns.tsx extend context corre
</div>
`;
exports[`renders components/table/demo/grouping-columns.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/head.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -14011,6 +14063,8 @@ exports[`renders components/table/demo/head.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/table/demo/head.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/jsx.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -14362,6 +14416,8 @@ exports[`renders components/table/demo/jsx.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/table/demo/jsx.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/multiple-sorter.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -14835,6 +14891,8 @@ exports[`renders components/table/demo/multiple-sorter.tsx extend context correc
</div>
`;
exports[`renders components/table/demo/multiple-sorter.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/narrow.tsx extend context correctly 1`] = `
<div
style="width: 300px;"
@ -15485,6 +15543,12 @@ exports[`renders components/table/demo/narrow.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/table/demo/narrow.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/nest-table-border-debug.tsx extend context correctly 1`] = `
Array [
<form
@ -15928,6 +15992,8 @@ Array [
]
`;
exports[`renders components/table/demo/nest-table-border-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/nested-table.tsx extend context correctly 1`] = `
Array [
<div
@ -18909,6 +18975,8 @@ Array [
]
`;
exports[`renders components/table/demo/nested-table.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/order-column.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -19281,6 +19349,8 @@ exports[`renders components/table/demo/order-column.tsx extend context correctly
</div>
`;
exports[`renders components/table/demo/order-column.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/pagination.tsx extend context correctly 1`] = `
<div>
<div>
@ -19857,6 +19927,8 @@ exports[`renders components/table/demo/pagination.tsx extend context correctly 1
</div>
`;
exports[`renders components/table/demo/pagination.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/reset-filter.tsx extend context correctly 1`] = `
Array [
<div
@ -20766,6 +20838,8 @@ Array [
]
`;
exports[`renders components/table/demo/reset-filter.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/resizable-column.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -21114,6 +21188,8 @@ exports[`renders components/table/demo/resizable-column.tsx extend context corre
</div>
`;
exports[`renders components/table/demo/resizable-column.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/responsive.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -21253,6 +21329,8 @@ exports[`renders components/table/demo/responsive.tsx extend context correctly 1
</div>
`;
exports[`renders components/table/demo/responsive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/row-selection.tsx extend context correctly 1`] = `
<div>
<div
@ -21639,6 +21717,8 @@ exports[`renders components/table/demo/row-selection.tsx extend context correctl
</div>
`;
exports[`renders components/table/demo/row-selection.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/row-selection-and-operation.tsx extend context correctly 1`] = `
<div>
<div
@ -22259,6 +22339,8 @@ exports[`renders components/table/demo/row-selection-and-operation.tsx extend co
</div>
`;
exports[`renders components/table/demo/row-selection-and-operation.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/row-selection-custom.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -23135,6 +23217,8 @@ exports[`renders components/table/demo/row-selection-custom.tsx extend context c
</div>
`;
exports[`renders components/table/demo/row-selection-custom.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/row-selection-custom-debug.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -23540,6 +23624,12 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
</div>
`;
exports[`renders components/table/demo/row-selection-custom-debug.tsx extend context correctly 2`] = `
[
"Warning: \`columns.render\` return cell props is deprecated with perf issue, please use \`onCell\` instead.",
]
`;
exports[`renders components/table/demo/row-selection-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -25805,6 +25895,8 @@ Array [
]
`;
exports[`renders components/table/demo/row-selection-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/selections-debug.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -26272,6 +26364,8 @@ exports[`renders components/table/demo/selections-debug.tsx extend context corre
</div>
`;
exports[`renders components/table/demo/selections-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/size.tsx extend context correctly 1`] = `
Array [
<div
@ -26689,6 +26783,8 @@ Array [
]
`;
exports[`renders components/table/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/sticky.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper"
@ -27982,6 +28078,12 @@ exports[`renders components/table/demo/sticky.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/table/demo/sticky.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/table/demo/summary.tsx extend context correctly 1`] = `
Array [
<div
@ -28607,6 +28709,8 @@ Array [
]
`;
exports[`renders components/table/demo/summary.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/tree-data.tsx extend context correctly 1`] = `
Array [
<div
@ -28917,6 +29021,8 @@ Array [
]
`;
exports[`renders components/table/demo/tree-data.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/tree-table-ellipsis.tsx extend context correctly 1`] = `
Array [
<div
@ -29640,6 +29746,8 @@ Array [
]
`;
exports[`renders components/table/demo/tree-table-ellipsis.tsx extend context correctly 2`] = `[]`;
exports[`renders components/table/demo/virtual-list.tsx extend context correctly 1`] = `
<div
class="ant-table-wrapper virtual-table"
@ -29826,3 +29934,5 @@ exports[`renders components/table/demo/virtual-list.tsx extend context correctly
</div>
</div>
`;
exports[`renders components/table/demo/virtual-list.tsx extend context correctly 2`] = `[]`;

View File

@ -203,6 +203,8 @@ Array [
]
`;
exports[`renders components/tabs/demo/animated.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top"
@ -342,6 +344,8 @@ exports[`renders components/tabs/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tabs/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/card.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top ant-tabs-card"
@ -481,6 +485,8 @@ exports[`renders components/tabs/demo/card.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tabs/demo/card.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/card-top.tsx extend context correctly 1`] = `
<div
class="acss-1g7foe3"
@ -632,6 +638,8 @@ exports[`renders components/tabs/demo/card-top.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tabs/demo/card-top.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/centered.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top ant-tabs-centered"
@ -771,6 +779,8 @@ exports[`renders components/tabs/demo/centered.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tabs/demo/centered.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/component-token.tsx extend context correctly 1`] = `
<div>
<div
@ -1786,6 +1796,8 @@ exports[`renders components/tabs/demo/component-token.tsx extend context correct
</div>
`;
exports[`renders components/tabs/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/custom-add-trigger.tsx extend context correctly 1`] = `
<div>
<div
@ -1978,6 +1990,8 @@ exports[`renders components/tabs/demo/custom-add-trigger.tsx extend context corr
</div>
`;
exports[`renders components/tabs/demo/custom-add-trigger.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/custom-tab-bar.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top"
@ -2124,6 +2138,8 @@ exports[`renders components/tabs/demo/custom-tab-bar.tsx extend context correctl
</div>
`;
exports[`renders components/tabs/demo/custom-tab-bar.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/custom-tab-bar-node.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top"
@ -2296,6 +2312,8 @@ exports[`renders components/tabs/demo/custom-tab-bar-node.tsx extend context cor
</div>
`;
exports[`renders components/tabs/demo/custom-tab-bar-node.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top"
@ -2435,6 +2453,8 @@ exports[`renders components/tabs/demo/disabled.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tabs/demo/disabled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/editable-card.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top ant-tabs-editable ant-tabs-card ant-tabs-editable-card"
@ -2690,6 +2710,8 @@ exports[`renders components/tabs/demo/editable-card.tsx extend context correctly
</div>
`;
exports[`renders components/tabs/demo/editable-card.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/extra.tsx extend context correctly 1`] = `
Array [
<div
@ -3059,6 +3081,8 @@ Array [
]
`;
exports[`renders components/tabs/demo/extra.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-tabs ant-tabs-top"
@ -3225,6 +3249,8 @@ exports[`renders components/tabs/demo/icon.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tabs/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/nest.tsx extend context correctly 1`] = `
<div>
<div
@ -4384,6 +4410,12 @@ exports[`renders components/tabs/demo/nest.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tabs/demo/nest.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tabs/demo/position.tsx extend context correctly 1`] = `
Array [
<div
@ -4621,6 +4653,8 @@ Array [
]
`;
exports[`renders components/tabs/demo/position.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/size.tsx extend context correctly 1`] = `
<div>
<div
@ -4962,6 +4996,8 @@ exports[`renders components/tabs/demo/size.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tabs/demo/size.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tabs/demo/slide.tsx extend context correctly 1`] = `
<div>
<div
@ -5581,3 +5617,5 @@ exports[`renders components/tabs/demo/slide.tsx extend context correctly 1`] = `
</div>
</div>
`;
exports[`renders components/tabs/demo/slide.tsx extend context correctly 2`] = `[]`;

View File

@ -132,6 +132,8 @@ Array [
]
`;
exports[`renders components/tag/demo/animation.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -229,6 +231,8 @@ exports[`renders components/tag/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tag/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/borderless.tsx extend context correctly 1`] = `
Array [
<div
@ -480,6 +484,8 @@ Array [
]
`;
exports[`renders components/tag/demo/borderless.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/borderlessLayout.tsx extend context correctly 1`] = `
<div
style="background-color: rgb(245, 245, 245); padding: 16px;"
@ -693,6 +699,8 @@ exports[`renders components/tag/demo/borderlessLayout.tsx extend context correct
</div>
`;
exports[`renders components/tag/demo/borderlessLayout.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/checkable.tsx extend context correctly 1`] = `
Array [
<span
@ -748,6 +756,8 @@ Array [
]
`;
exports[`renders components/tag/demo/checkable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/colorful.tsx extend context correctly 1`] = `
Array [
<div
@ -937,6 +947,8 @@ Array [
]
`;
exports[`renders components/tag/demo/colorful.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/colorful-inverse.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1055,6 +1067,8 @@ exports[`renders components/tag/demo/colorful-inverse.tsx extend context correct
</div>
`;
exports[`renders components/tag/demo/colorful-inverse.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/component-token.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1191,6 +1205,8 @@ exports[`renders components/tag/demo/component-token.tsx extend context correctl
</div>
`;
exports[`renders components/tag/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/control.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1326,6 +1342,8 @@ exports[`renders components/tag/demo/control.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/tag/demo/control.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/customize.tsx extend context correctly 1`] = `
Array [
<span
@ -1370,6 +1388,8 @@ Array [
]
`;
exports[`renders components/tag/demo/customize.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/draggable.tsx extend context correctly 1`] = `
Array [
<span
@ -1408,6 +1428,8 @@ Array [
]
`;
exports[`renders components/tag/demo/draggable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/icon.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1544,6 +1566,8 @@ exports[`renders components/tag/demo/icon.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tag/demo/icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tag/demo/status.tsx extend context correctly 1`] = `
Array [
<div
@ -1827,3 +1851,5 @@ Array [
</div>,
]
`;
exports[`renders components/tag/demo/status.tsx extend context correctly 2`] = `[]`;

View File

@ -3450,6 +3450,12 @@ exports[`renders components/time-picker/demo/12hours.tsx extend context correctl
</div>
`;
exports[`renders components/time-picker/demo/12hours.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/addon.tsx extend context correctly 1`] = `
Array [
<div
@ -4876,6 +4882,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/addon.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/basic.tsx extend context correctly 1`] = `
Array [
<div
@ -6289,6 +6301,13 @@ Array [
]
`;
exports[`renders components/time-picker/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
"Warning: \`defaultOpenValue\` may confuse user for the current value status. Please use \`defaultValue\` instead.",
]
`;
exports[`renders components/time-picker/demo/bordered.tsx extend context correctly 1`] = `
Array [
<div
@ -9161,6 +9180,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/bordered.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/colored-popup.tsx extend context correctly 1`] = `
Array [
<div
@ -10574,6 +10599,13 @@ Array [
]
`;
exports[`renders components/time-picker/demo/colored-popup.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
"Warning: \`defaultOpenValue\` may confuse user for the current value status. Please use \`defaultValue\` instead.",
]
`;
exports[`renders components/time-picker/demo/disabled.tsx extend context correctly 1`] = `
Array [
<div
@ -11988,6 +12020,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/disabled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/hide-column.tsx extend context correctly 1`] = `
Array [
<div
@ -12881,6 +12919,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/hide-column.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/interval-options.tsx extend context correctly 1`] = `
Array [
<div
@ -13305,6 +13349,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/interval-options.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/range-picker.tsx extend context correctly 1`] = `
Array [
<div
@ -14768,6 +14818,12 @@ Array [
]
`;
exports[`renders components/time-picker/demo/range-picker.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -16185,6 +16241,12 @@ exports[`renders components/time-picker/demo/render-panel.tsx extend context cor
</div>
`;
exports[`renders components/time-picker/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/size.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -20507,6 +20569,12 @@ exports[`renders components/time-picker/demo/size.tsx extend context correctly 1
</div>
`;
exports[`renders components/time-picker/demo/size.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -26267,6 +26335,12 @@ exports[`renders components/time-picker/demo/status.tsx extend context correctly
</div>
`;
exports[`renders components/time-picker/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/time-picker/demo/suffix.tsx extend context correctly 1`] = `
Array [
<div
@ -27677,6 +27751,13 @@ Array [
]
`;
exports[`renders components/time-picker/demo/suffix.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
"Warning: \`defaultOpenValue\` may confuse user for the current value status. Please use \`defaultValue\` instead.",
]
`;
exports[`renders components/time-picker/demo/value.tsx extend context correctly 1`] = `
Array [
<div
@ -29090,3 +29171,9 @@ Array [
</div>,
]
`;
exports[`renders components/time-picker/demo/value.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -145,6 +145,8 @@ exports[`renders components/timeline/demo/alternate.tsx extend context correctly
</ul>
`;
exports[`renders components/timeline/demo/alternate.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/basic.tsx extend context correctly 1`] = `
<ul
class="ant-timeline"
@ -212,6 +214,8 @@ exports[`renders components/timeline/demo/basic.tsx extend context correctly 1`]
</ul>
`;
exports[`renders components/timeline/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/color.tsx extend context correctly 1`] = `
<ul
class="ant-timeline"
@ -379,6 +383,8 @@ exports[`renders components/timeline/demo/color.tsx extend context correctly 1`]
</ul>
`;
exports[`renders components/timeline/demo/color.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/component-token.tsx extend context correctly 1`] = `
<ul
class="ant-timeline"
@ -446,6 +452,8 @@ exports[`renders components/timeline/demo/component-token.tsx extend context cor
</ul>
`;
exports[`renders components/timeline/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/custom.tsx extend context correctly 1`] = `
<ul
class="ant-timeline"
@ -536,6 +544,8 @@ exports[`renders components/timeline/demo/custom.tsx extend context correctly 1`
</ul>
`;
exports[`renders components/timeline/demo/custom.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/label.tsx extend context correctly 1`] = `
Array [
<div
@ -683,6 +693,8 @@ Array [
]
`;
exports[`renders components/timeline/demo/label.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/pending.tsx extend context correctly 1`] = `
<div>
<ul
@ -781,6 +793,8 @@ exports[`renders components/timeline/demo/pending.tsx extend context correctly 1
</div>
`;
exports[`renders components/timeline/demo/pending.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/right.tsx extend context correctly 1`] = `
<ul
class="ant-timeline ant-timeline-right"
@ -872,6 +886,8 @@ exports[`renders components/timeline/demo/right.tsx extend context correctly 1`]
</ul>
`;
exports[`renders components/timeline/demo/right.tsx extend context correctly 2`] = `[]`;
exports[`renders components/timeline/demo/wireframe.tsx extend context correctly 1`] = `
<ul
class="ant-timeline"
@ -938,3 +954,5 @@ exports[`renders components/timeline/demo/wireframe.tsx extend context correctly
</li>
</ul>
`;
exports[`renders components/timeline/demo/wireframe.tsx extend context correctly 2`] = `[]`;

View File

@ -438,6 +438,8 @@ exports[`renders components/tooltip/demo/arrow.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tooltip/demo/arrow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/arrow-point-at-center.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -508,6 +510,12 @@ exports[`renders components/tooltip/demo/arrow-point-at-center.tsx extend contex
</div>
`;
exports[`renders components/tooltip/demo/arrow-point-at-center.tsx extend context correctly 2`] = `
[
"Warning: [antd: Tooltip] \`arrowPointAtCenter\` is deprecated, please use \`arrow={{ pointAtCenter: true }}\` instead.",
]
`;
exports[`renders components/tooltip/demo/auto-adjust-overflow.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px;"
@ -649,6 +657,8 @@ exports[`renders components/tooltip/demo/auto-adjust-overflow.tsx extend context
</div>
`;
exports[`renders components/tooltip/demo/auto-adjust-overflow.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/basic.tsx extend context correctly 1`] = `
Array [
<span>
@ -676,6 +686,8 @@ Array [
]
`;
exports[`renders components/tooltip/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/colorful.tsx extend context correctly 1`] = `
Array [
<div
@ -1259,6 +1271,8 @@ Array [
]
`;
exports[`renders components/tooltip/demo/colorful.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/destroy-tooltip-on-hide.tsx extend context correctly 1`] = `
Array [
<span>
@ -1286,6 +1300,8 @@ Array [
]
`;
exports[`renders components/tooltip/demo/destroy-tooltip-on-hide.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/disabled.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
@ -1640,6 +1656,12 @@ exports[`renders components/tooltip/demo/disabled.tsx extend context correctly 1
</div>
`;
exports[`renders components/tooltip/demo/disabled.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tooltip/demo/placement.tsx extend context correctly 1`] = `
<div>
<div
@ -2009,6 +2031,8 @@ exports[`renders components/tooltip/demo/placement.tsx extend context correctly
</div>
`;
exports[`renders components/tooltip/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tooltip/demo/render-panel.tsx extend context correctly 1`] = `
Array [
<div
@ -2067,3 +2091,5 @@ Array [
</div>,
]
`;
exports[`renders components/tooltip/demo/render-panel.tsx extend context correctly 2`] = `[]`;

View File

@ -168,6 +168,8 @@ Array [
]
`;
exports[`renders components/tour/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tour/demo/indicator.tsx extend context correctly 1`] = `
Array [
<button
@ -322,6 +324,8 @@ Array [
]
`;
exports[`renders components/tour/demo/indicator.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tour/demo/mask.tsx extend context correctly 1`] = `
Array [
<button
@ -490,6 +494,8 @@ Array [
]
`;
exports[`renders components/tour/demo/mask.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tour/demo/non-modal.tsx extend context correctly 1`] = `
Array [
<button
@ -658,6 +664,8 @@ Array [
]
`;
exports[`renders components/tour/demo/non-modal.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tour/demo/placement.tsx extend context correctly 1`] = `
Array [
<button
@ -748,6 +756,8 @@ Array [
]
`;
exports[`renders components/tour/demo/placement.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tour/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="display: flex; flex-direction: column; row-gap: 16px; background: rgba(50, 0, 0, 0.65); padding: 8px;"
@ -1066,3 +1076,5 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
</div>
</div>
`;
exports[`renders components/tour/demo/render-panel.tsx extend context correctly 2`] = `[]`;

View File

@ -1071,6 +1071,8 @@ exports[`renders components/transfer/demo/advanced.tsx extend context correctly
</div>
`;
exports[`renders components/transfer/demo/advanced.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-transfer"
@ -1978,6 +1980,8 @@ exports[`renders components/transfer/demo/basic.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/transfer/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/component-token.tsx extend context correctly 1`] = `
Array [
<div
@ -5497,6 +5501,8 @@ Array [
]
`;
exports[`renders components/transfer/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/custom-item.tsx extend context correctly 1`] = `
<div
class="ant-transfer"
@ -6482,6 +6488,8 @@ exports[`renders components/transfer/demo/custom-item.tsx extend context correct
</div>
`;
exports[`renders components/transfer/demo/custom-item.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/custom-select-all-labels.tsx extend context correctly 1`] = `
<div
class="ant-transfer"
@ -7135,6 +7143,8 @@ exports[`renders components/transfer/demo/custom-select-all-labels.tsx extend co
</div>
`;
exports[`renders components/transfer/demo/custom-select-all-labels.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/large-data.tsx extend context correctly 1`] = `
Array [
<div
@ -8293,6 +8303,8 @@ Array [
]
`;
exports[`renders components/transfer/demo/large-data.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/oneWay.tsx extend context correctly 1`] = `
Array [
<div
@ -9216,6 +9228,8 @@ Array [
]
`;
exports[`renders components/transfer/demo/oneWay.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/search.tsx extend context correctly 1`] = `
<div
class="ant-transfer"
@ -10253,6 +10267,8 @@ exports[`renders components/transfer/demo/search.tsx extend context correctly 1`
</div>
`;
exports[`renders components/transfer/demo/search.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -11387,6 +11403,8 @@ exports[`renders components/transfer/demo/status.tsx extend context correctly 1`
</div>
`;
exports[`renders components/transfer/demo/status.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/table-transfer.tsx extend context correctly 1`] = `
Array [
<div
@ -12791,6 +12809,8 @@ Array [
]
`;
exports[`renders components/transfer/demo/table-transfer.tsx extend context correctly 2`] = `[]`;
exports[`renders components/transfer/demo/tree-transfer.tsx extend context correctly 1`] = `
<div
class="ant-transfer ant-transfer-customize-list tree-transfer"
@ -13236,3 +13256,5 @@ exports[`renders components/transfer/demo/tree-transfer.tsx extend context corre
</div>
</div>
`;
exports[`renders components/transfer/demo/tree-transfer.tsx extend context correctly 2`] = `[]`;

View File

@ -224,6 +224,12 @@ exports[`renders components/tree-select/demo/async.tsx extend context correctly
</div>
`;
exports[`renders components/tree-select/demo/async.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/basic.tsx extend context correctly 1`] = `
<div
class="ant-select ant-tree-select ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
@ -567,6 +573,12 @@ exports[`renders components/tree-select/demo/basic.tsx extend context correctly
</div>
`;
exports[`renders components/tree-select/demo/basic.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/checkable.tsx extend context correctly 1`] = `
<div
class="ant-select ant-tree-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
@ -834,6 +846,12 @@ exports[`renders components/tree-select/demo/checkable.tsx extend context correc
</div>
`;
exports[`renders components/tree-select/demo/checkable.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/multiple.tsx extend context correctly 1`] = `
<div
class="ant-select ant-tree-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
@ -1195,6 +1213,12 @@ exports[`renders components/tree-select/demo/multiple.tsx extend context correct
</div>
`;
exports[`renders components/tree-select/demo/multiple.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/placement.tsx extend context correctly 1`] = `
Array [
<div
@ -1622,6 +1646,13 @@ Array [
]
`;
exports[`renders components/tree-select/demo/placement.tsx extend context correctly 2`] = `
[
"Warning: [antd: Select] \`dropdownMatchSelectWidth\` is deprecated. Please use \`popupMatchSelectWidth\` instead.",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/render-panel.tsx extend context correctly 1`] = `
<div
style="padding-bottom: 0px; position: relative; min-width: 0;"
@ -1808,6 +1839,17 @@ exports[`renders components/tree-select/demo/render-panel.tsx extend context cor
</div>
`;
exports[`renders components/tree-select/demo/render-panel.tsx extend context correctly 2`] = `
[
"Warning: Received \`%s\` for a non-boolean attribute \`%s\`.
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/status.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2074,6 +2116,12 @@ exports[`renders components/tree-select/demo/status.tsx extend context correctly
</div>
`;
exports[`renders components/tree-select/demo/status.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/suffix.tsx extend context correctly 1`] = `
<div
class="ant-select ant-tree-select ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
@ -2417,6 +2465,12 @@ exports[`renders components/tree-select/demo/suffix.tsx extend context correctly
</div>
`;
exports[`renders components/tree-select/demo/suffix.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/treeData.tsx extend context correctly 1`] = `
<div
class="ant-select ant-tree-select ant-select-single ant-select-show-arrow"
@ -2652,6 +2706,12 @@ exports[`renders components/tree-select/demo/treeData.tsx extend context correct
</div>
`;
exports[`renders components/tree-select/demo/treeData.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree-select/demo/treeLine.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2876,3 +2936,9 @@ exports[`renders components/tree-select/demo/treeLine.tsx extend context correct
</div>
</div>
`;
exports[`renders components/tree-select/demo/treeLine.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;

View File

@ -318,6 +318,8 @@ exports[`renders components/tree/demo/basic.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tree/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/basic-controlled.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-icon-hide"
@ -857,6 +859,8 @@ exports[`renders components/tree/demo/basic-controlled.tsx extend context correc
</div>
`;
exports[`renders components/tree/demo/basic-controlled.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/block-node.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-icon-hide ant-tree-block-node"
@ -1020,6 +1024,8 @@ exports[`renders components/tree/demo/block-node.tsx extend context correctly 1`
</div>
`;
exports[`renders components/tree/demo/block-node.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/customized-icon.tsx extend context correctly 1`] = `
<div
class="ant-tree"
@ -1231,6 +1237,8 @@ exports[`renders components/tree/demo/customized-icon.tsx extend context correct
</div>
`;
exports[`renders components/tree/demo/customized-icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/directory.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-block-node ant-tree-directory"
@ -1608,6 +1616,8 @@ exports[`renders components/tree/demo/directory.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tree/demo/directory.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/drag-debug.tsx extend context correctly 1`] = `
Array [
<div
@ -2492,6 +2502,8 @@ Array [
]
`;
exports[`renders components/tree/demo/drag-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/draggable.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-icon-hide ant-tree-block-node draggable-tree"
@ -3064,6 +3076,8 @@ exports[`renders components/tree/demo/draggable.tsx extend context correctly 1`]
</div>
`;
exports[`renders components/tree/demo/draggable.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/dynamic.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-icon-hide"
@ -3218,6 +3232,8 @@ exports[`renders components/tree/demo/dynamic.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/tree/demo/dynamic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/line.tsx extend context correctly 1`] = `
<div>
<div
@ -3870,6 +3886,12 @@ exports[`renders components/tree/demo/line.tsx extend context correctly 1`] = `
</div>
`;
exports[`renders components/tree/demo/line.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/tree/demo/search.tsx extend context correctly 1`] = `
<div>
<span
@ -4088,6 +4110,8 @@ exports[`renders components/tree/demo/search.tsx extend context correctly 1`] =
</div>
`;
exports[`renders components/tree/demo/search.tsx extend context correctly 2`] = `[]`;
exports[`renders components/tree/demo/switcher-icon.tsx extend context correctly 1`] = `
<div
class="ant-tree ant-tree-icon-hide ant-tree-show-line"
@ -4418,3 +4442,5 @@ exports[`renders components/tree/demo/switcher-icon.tsx extend context correctly
</div>
</div>
`;
exports[`renders components/tree/demo/switcher-icon.tsx extend context correctly 2`] = `[]`;

View File

@ -215,6 +215,8 @@ exports[`renders components/typography/demo/basic.tsx extend context correctly 1
</article>
`;
exports[`renders components/typography/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/componentToken-debug.tsx extend context correctly 1`] = `
<article
class="ant-typography"
@ -430,6 +432,8 @@ exports[`renders components/typography/demo/componentToken-debug.tsx extend cont
</article>
`;
exports[`renders components/typography/demo/componentToken-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/ellipsis.tsx extend context correctly 1`] = `
Array [
<button
@ -513,6 +517,8 @@ Array [
]
`;
exports[`renders components/typography/demo/ellipsis.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/ellipsis-debug.tsx extend context correctly 1`] = `
Array [
<button
@ -1161,6 +1167,8 @@ Array [
]
`;
exports[`renders components/typography/demo/ellipsis-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/ellipsis-middle.tsx extend context correctly 1`] = `
<span
aria-label="In the process of internal desktop applications development, many different design specs and implementations would be involved, which might cause designers and developers difficulties and duplication and reduce the efficiency of"
@ -1188,6 +1196,8 @@ exports[`renders components/typography/demo/ellipsis-middle.tsx extend context c
</span>
`;
exports[`renders components/typography/demo/ellipsis-middle.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/interactive.tsx extend context correctly 1`] = `
Array [
<div
@ -2192,6 +2202,8 @@ Array [
]
`;
exports[`renders components/typography/demo/interactive.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/paragraph-debug.tsx extend context correctly 1`] = `
Array [
<h1
@ -2393,6 +2405,8 @@ Array [
]
`;
exports[`renders components/typography/demo/paragraph-debug.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/suffix.tsx extend context correctly 1`] = `
Array [
<div
@ -2471,6 +2485,8 @@ Array [
]
`;
exports[`renders components/typography/demo/suffix.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/text.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2634,6 +2650,8 @@ exports[`renders components/typography/demo/text.tsx extend context correctly 1`
</div>
`;
exports[`renders components/typography/demo/text.tsx extend context correctly 2`] = `[]`;
exports[`renders components/typography/demo/title.tsx extend context correctly 1`] = `
Array [
<h1
@ -2663,3 +2681,5 @@ Array [
</h5>,
]
`;
exports[`renders components/typography/demo/title.tsx extend context correctly 2`] = `[]`;

View File

@ -107,6 +107,8 @@ Array [
]
`;
exports[`renders components/upload/demo/avatar.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/basic.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -163,6 +165,8 @@ exports[`renders components/upload/demo/basic.tsx extend context correctly 1`] =
</span>
`;
exports[`renders components/upload/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/component-token.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -461,6 +465,8 @@ exports[`renders components/upload/demo/component-token.tsx extend context corre
</span>
`;
exports[`renders components/upload/demo/component-token.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/customize-progress-bar.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -517,6 +523,8 @@ exports[`renders components/upload/demo/customize-progress-bar.tsx extend contex
</span>
`;
exports[`renders components/upload/demo/customize-progress-bar.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/defaultFileList.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -815,6 +823,8 @@ exports[`renders components/upload/demo/defaultFileList.tsx extend context corre
</span>
`;
exports[`renders components/upload/demo/defaultFileList.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/directory.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -873,6 +883,8 @@ exports[`renders components/upload/demo/directory.tsx extend context correctly 1
</span>
`;
exports[`renders components/upload/demo/directory.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/drag.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -936,6 +948,8 @@ exports[`renders components/upload/demo/drag.tsx extend context correctly 1`] =
</span>
`;
exports[`renders components/upload/demo/drag.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/drag-sorting.tsx extend context correctly 1`] = `
Array [
<span
@ -1446,6 +1460,8 @@ Array [
]
`;
exports[`renders components/upload/demo/drag-sorting.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/file-type.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper ant-upload-picture-card-wrapper"
@ -2127,6 +2143,8 @@ exports[`renders components/upload/demo/file-type.tsx extend context correctly 1
</span>
`;
exports[`renders components/upload/demo/file-type.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/fileList.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -2259,6 +2277,8 @@ exports[`renders components/upload/demo/fileList.tsx extend context correctly 1`
</span>
`;
exports[`renders components/upload/demo/fileList.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/max-count.tsx extend context correctly 1`] = `
<div
class="ant-space ant-space-vertical"
@ -2383,6 +2403,8 @@ exports[`renders components/upload/demo/max-count.tsx extend context correctly 1
</div>
`;
exports[`renders components/upload/demo/max-count.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/picture-card.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper ant-upload-picture-card-wrapper"
@ -2952,6 +2974,8 @@ exports[`renders components/upload/demo/picture-card.tsx extend context correctl
</span>
`;
exports[`renders components/upload/demo/picture-card.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/picture-circle.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper ant-upload-picture-circle-wrapper"
@ -3254,6 +3278,8 @@ exports[`renders components/upload/demo/picture-circle.tsx extend context correc
</span>
`;
exports[`renders components/upload/demo/picture-circle.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/picture-style.tsx extend context correctly 1`] = `
Array [
<span
@ -3851,6 +3877,8 @@ Array [
]
`;
exports[`renders components/upload/demo/picture-style.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/preview-file.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -3907,6 +3935,8 @@ exports[`renders components/upload/demo/preview-file.tsx extend context correctl
</span>
`;
exports[`renders components/upload/demo/preview-file.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/transform-file.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -3963,6 +3993,8 @@ exports[`renders components/upload/demo/transform-file.tsx extend context correc
</span>
`;
exports[`renders components/upload/demo/transform-file.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/upload-custom-action-icon.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -4279,6 +4311,8 @@ exports[`renders components/upload/demo/upload-custom-action-icon.tsx extend con
</span>
`;
exports[`renders components/upload/demo/upload-custom-action-icon.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/upload-manually.tsx extend context correctly 1`] = `
Array [
<span
@ -4347,6 +4381,8 @@ Array [
]
`;
exports[`renders components/upload/demo/upload-manually.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/upload-png-only.tsx extend context correctly 1`] = `
<span
class="ant-upload-wrapper"
@ -4403,6 +4439,8 @@ exports[`renders components/upload/demo/upload-png-only.tsx extend context corre
</span>
`;
exports[`renders components/upload/demo/upload-png-only.tsx extend context correctly 2`] = `[]`;
exports[`renders components/upload/demo/upload-with-aliyun-oss.tsx extend context correctly 1`] = `
<form
class="ant-form ant-form-horizontal"
@ -4493,3 +4531,5 @@ exports[`renders components/upload/demo/upload-with-aliyun-oss.tsx extend contex
</div>
</form>
`;
exports[`renders components/upload/demo/upload-with-aliyun-oss.tsx extend context correctly 2`] = `[]`;

View File

@ -14,6 +14,8 @@ exports[`renders components/watermark/demo/basic.tsx extend context correctly 1`
</div>
`;
exports[`renders components/watermark/demo/basic.tsx extend context correctly 2`] = `[]`;
exports[`renders components/watermark/demo/custom.tsx extend context correctly 1`] = `
<div
style="display: flex;"
@ -1201,6 +1203,12 @@ exports[`renders components/watermark/demo/custom.tsx extend context correctly 1
</div>
`;
exports[`renders components/watermark/demo/custom.tsx extend context correctly 2`] = `
[
"Warning: \`clearIcon\` will be removed in future. Please use \`allowClear\` instead.",
]
`;
exports[`renders components/watermark/demo/image.tsx extend context correctly 1`] = `
<div
class=""
@ -1212,6 +1220,8 @@ exports[`renders components/watermark/demo/image.tsx extend context correctly 1`
</div>
`;
exports[`renders components/watermark/demo/image.tsx extend context correctly 2`] = `[]`;
exports[`renders components/watermark/demo/multi-line.tsx extend context correctly 1`] = `
<div
class=""
@ -1225,3 +1235,5 @@ exports[`renders components/watermark/demo/multi-line.tsx extend context correct
/>
</div>
`;
exports[`renders components/watermark/demo/multi-line.tsx extend context correctly 2`] = `[]`;

View File

@ -313,11 +313,11 @@
"size-limit": [
{
"path": "./dist/antd.min.js",
"limit": "385 KiB"
"limit": "386 KiB"
},
{
"path": "./dist/antd-with-locales.min.js",
"limit": "445 KiB"
"limit": "446 KiB"
}
],
"tnpm": {

View File

@ -7,8 +7,9 @@ import { renderToString } from 'react-dom/server';
import { kebabCase } from 'lodash';
import { render } from '../utils';
import { TriggerMockContext } from './demoTestContext';
import { excludeWarning } from './excludeWarning';
import { excludeWarning, isSafeWarning } from './excludeWarning';
import rootPropsTest from './rootPropsTest';
import { resetWarned } from '../../components/_util/warning';
export { rootPropsTest };
@ -39,6 +40,8 @@ function baseText(doInject: boolean, component: string, options: Options = {}) {
testMethod(
doInject ? `renders ${file} extend context correctly` : `renders ${file} correctly`,
() => {
resetWarned();
const errSpy = excludeWarning();
Date.now = jest.fn(() => new Date('2016-11-22').getTime());
@ -69,6 +72,17 @@ function baseText(doInject: boolean, component: string, options: Options = {}) {
}
jest.clearAllTimers();
// Snapshot of warning info
if (doInject) {
const errorMessageSet = new Set(errSpy.mock.calls.map((args) => args[0]));
const errorMessages = Array.from(errorMessageSet)
.filter((msg) => !isSafeWarning(msg, true))
.sort();
expect(errorMessages).toMatchSnapshot();
}
errSpy.mockRestore();
},
);

View File

@ -1,10 +1,20 @@
// eslint-disable-next-line no-console
const originError = console.error;
export function isSafeWarning(message: boolean, all = false) {
const list = ['useLayoutEffect does nothing on the server'];
if (all) {
list.push('is deprecated in StrictMode');
}
return list.some((msg) => String(message).includes(msg));
}
/** This function will remove `useLayoutEffect` server side warning. Since it's useless. */
export function excludeWarning() {
const errorSpy = jest.spyOn(console, 'error').mockImplementation((msg, ...rest) => {
if (String(msg).includes('useLayoutEffect does nothing on the server')) {
if (isSafeWarning(msg)) {
return;
}
originError(msg, ...rest);