mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
parent
ff00aedda5
commit
e17cd4ae27
@ -9,7 +9,7 @@ Array [
|
||||
<strong
|
||||
class="site-back-top-basic"
|
||||
>
|
||||
gray
|
||||
gray
|
||||
</strong>,
|
||||
button.,
|
||||
]
|
||||
|
@ -9,7 +9,7 @@ Array [
|
||||
<strong
|
||||
class="site-back-top-basic"
|
||||
>
|
||||
gray
|
||||
gray
|
||||
</strong>,
|
||||
button.,
|
||||
]
|
||||
|
@ -498,10 +498,10 @@ exports[`renders components/cascader/demo/custom-render.tsx extend context corre
|
||||
class="ant-select-selection-item"
|
||||
>
|
||||
<span>
|
||||
Zhejiang /
|
||||
Zhejiang /
|
||||
</span>
|
||||
<span>
|
||||
Hangzhou /
|
||||
Hangzhou /
|
||||
</span>
|
||||
<span>
|
||||
West Lake (
|
||||
@ -660,7 +660,7 @@ exports[`renders components/cascader/demo/custom-render.tsx extend context corre
|
||||
|
||||
exports[`renders components/cascader/demo/custom-trigger.tsx extend context correctly 1`] = `
|
||||
<span>
|
||||
Unselect
|
||||
Unselect
|
||||
<a>
|
||||
Change city
|
||||
</a>
|
||||
|
@ -214,12 +214,12 @@ exports[`renders components/cascader/demo/custom-render.tsx correctly 1`] = `
|
||||
<span>
|
||||
Zhejiang
|
||||
<!-- -->
|
||||
/
|
||||
/
|
||||
</span>
|
||||
<span>
|
||||
Hangzhou
|
||||
<!-- -->
|
||||
/
|
||||
/
|
||||
</span>
|
||||
<span>
|
||||
West Lake
|
||||
|
@ -1083,7 +1083,7 @@ Array [
|
||||
</div>,
|
||||
<br />,
|
||||
<span>
|
||||
Expand Icon Position:
|
||||
Expand Icon Position:
|
||||
</span>,
|
||||
<div
|
||||
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"
|
||||
|
@ -1071,7 +1071,7 @@ Array [
|
||||
</div>,
|
||||
<br />,
|
||||
<span>
|
||||
Expand Icon Position:
|
||||
Expand Icon Position:
|
||||
</span>,
|
||||
<div
|
||||
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"
|
||||
|
@ -130,7 +130,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
HEX:
|
||||
HEX:
|
||||
<!-- -->
|
||||
#1677ff
|
||||
</span>
|
||||
@ -163,7 +163,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
HSB:
|
||||
HSB:
|
||||
<!-- -->
|
||||
hsb(215, 91%, 100%)
|
||||
</span>
|
||||
@ -196,7 +196,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
RGB:
|
||||
RGB:
|
||||
<!-- -->
|
||||
rgb(22, 119, 255)
|
||||
</span>
|
||||
|
@ -1091,7 +1091,7 @@ exports[`renders components/empty/demo/customize.tsx extend context correctly 1`
|
||||
class="ant-empty-description"
|
||||
>
|
||||
<span>
|
||||
Customize
|
||||
Customize
|
||||
<a
|
||||
href="#API"
|
||||
>
|
||||
|
@ -739,7 +739,7 @@ exports[`renders components/empty/demo/customize.tsx correctly 1`] = `
|
||||
class="ant-empty-description"
|
||||
>
|
||||
<span>
|
||||
Customize
|
||||
Customize
|
||||
<a
|
||||
href="#API"
|
||||
>
|
||||
|
@ -2451,7 +2451,7 @@ exports[`renders components/form/demo/dependencies.tsx extend context correctly
|
||||
class="ant-typography"
|
||||
>
|
||||
<p>
|
||||
Only Update when
|
||||
Only Update when
|
||||
<code>
|
||||
password2
|
||||
</code>
|
||||
@ -2587,7 +2587,7 @@ Array [
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
Apple
|
||||
Apple
|
||||
</span>
|
||||
</label>
|
||||
<label
|
||||
@ -2607,7 +2607,7 @@ Array [
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
Pear
|
||||
Pear
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
@ -7216,7 +7216,7 @@ exports[`renders components/form/demo/form-context.tsx extend context correctly
|
||||
<span
|
||||
class="ant-typography ant-typography-secondary ant-form-text"
|
||||
>
|
||||
(
|
||||
(
|
||||
<span
|
||||
aria-label="smile"
|
||||
class="anticon anticon-smile"
|
||||
@ -8581,7 +8581,7 @@ exports[`renders components/form/demo/normal-login.tsx extend context correctly
|
||||
Log in
|
||||
</span>
|
||||
</button>
|
||||
Or
|
||||
Or
|
||||
<a
|
||||
href=""
|
||||
>
|
||||
@ -10016,7 +10016,7 @@ exports[`renders components/form/demo/register.tsx extend context correctly 1`]
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
I have read the
|
||||
I have read the
|
||||
<a
|
||||
href=""
|
||||
>
|
||||
@ -20018,10 +20018,10 @@ Array [
|
||||
class="ant-typography"
|
||||
>
|
||||
<pre>
|
||||
Name Value:
|
||||
Name Value:
|
||||
</pre>
|
||||
<pre>
|
||||
Custom Value: name:
|
||||
Custom Value: name:
|
||||
</pre>
|
||||
</article>,
|
||||
]
|
||||
|
@ -1849,7 +1849,7 @@ exports[`renders components/form/demo/dependencies.tsx correctly 1`] = `
|
||||
class="ant-typography"
|
||||
>
|
||||
<p>
|
||||
Only Update when
|
||||
Only Update when
|
||||
<code>
|
||||
password2
|
||||
</code>
|
||||
@ -1983,7 +1983,7 @@ Array [
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
Apple
|
||||
Apple
|
||||
</span>
|
||||
</label>
|
||||
<label
|
||||
@ -2003,7 +2003,7 @@ Array [
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
Pear
|
||||
Pear
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
@ -4149,7 +4149,7 @@ exports[`renders components/form/demo/form-context.tsx correctly 1`] = `
|
||||
<span
|
||||
class="ant-typography ant-typography-secondary ant-form-text"
|
||||
>
|
||||
(
|
||||
(
|
||||
<span
|
||||
aria-label="smile"
|
||||
class="anticon anticon-smile"
|
||||
@ -5496,7 +5496,7 @@ exports[`renders components/form/demo/normal-login.tsx correctly 1`] = `
|
||||
Log in
|
||||
</span>
|
||||
</button>
|
||||
Or
|
||||
Or
|
||||
<a
|
||||
href=""
|
||||
>
|
||||
@ -6551,7 +6551,7 @@ exports[`renders components/form/demo/register.tsx correctly 1`] = `
|
||||
/>
|
||||
</span>
|
||||
<span>
|
||||
I have read the
|
||||
I have read the
|
||||
<a
|
||||
href=""
|
||||
>
|
||||
@ -8238,10 +8238,10 @@ Array [
|
||||
class="ant-typography"
|
||||
>
|
||||
<pre>
|
||||
Name Value:
|
||||
Name Value:
|
||||
</pre>
|
||||
<pre>
|
||||
Custom Value:
|
||||
Custom Value:
|
||||
</pre>
|
||||
</article>,
|
||||
]
|
||||
|
@ -880,7 +880,7 @@ exports[`renders components/grid/demo/offset.tsx extend context correctly 2`] =
|
||||
exports[`renders components/grid/demo/playground.tsx extend context correctly 1`] = `
|
||||
Array [
|
||||
<span>
|
||||
Horizontal Gutter (px):
|
||||
Horizontal Gutter (px):
|
||||
</span>,
|
||||
<div
|
||||
style="width: 50%;"
|
||||
@ -996,7 +996,7 @@ Array [
|
||||
</div>
|
||||
</div>,
|
||||
<span>
|
||||
Vertical Gutter (px):
|
||||
Vertical Gutter (px):
|
||||
</span>,
|
||||
<div
|
||||
style="width: 50%;"
|
||||
|
@ -866,7 +866,7 @@ Array [
|
||||
exports[`renders components/grid/demo/playground.tsx correctly 1`] = `
|
||||
Array [
|
||||
<span>
|
||||
Horizontal Gutter (px):
|
||||
Horizontal Gutter (px):
|
||||
</span>,
|
||||
<div
|
||||
style="width:50%"
|
||||
@ -963,7 +963,7 @@ Array [
|
||||
</div>
|
||||
</div>,
|
||||
<span>
|
||||
Vertical Gutter (px):
|
||||
Vertical Gutter (px):
|
||||
</span>,
|
||||
<div
|
||||
style="width:50%"
|
||||
|
@ -129,7 +129,7 @@ exports[`renders components/image/demo/component-token.tsx extend context correc
|
||||
exports[`renders components/image/demo/controlled-preview.tsx extend context correctly 1`] = `
|
||||
Array [
|
||||
<div>
|
||||
scaleStep:
|
||||
scaleStep:
|
||||
<div
|
||||
class="ant-input-number ant-input-number-outlined"
|
||||
>
|
||||
|
@ -552,7 +552,7 @@ exports[`renders components/notification/demo/stack.tsx extend context correctly
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
Enabled:
|
||||
Enabled:
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
@ -592,7 +592,7 @@ exports[`renders components/notification/demo/stack.tsx extend context correctly
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
Threshold:
|
||||
Threshold:
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
@ -538,7 +538,7 @@ exports[`renders components/notification/demo/stack.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
Enabled:
|
||||
Enabled:
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
@ -578,7 +578,7 @@ exports[`renders components/notification/demo/stack.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<span>
|
||||
Threshold:
|
||||
Threshold:
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
@ -1238,7 +1238,7 @@ exports[`renders components/result/demo/error.tsx extend context correctly 1`] =
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
Your account has been frozen.
|
||||
Your account has been frozen.
|
||||
<a>
|
||||
Thaw immediately >
|
||||
</a>
|
||||
@ -1266,7 +1266,7 @@ exports[`renders components/result/demo/error.tsx extend context correctly 1`] =
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
Your account is not yet eligible to apply.
|
||||
Your account is not yet eligible to apply.
|
||||
<a>
|
||||
Apply Unlock >
|
||||
</a>
|
||||
|
@ -1228,7 +1228,7 @@ exports[`renders components/result/demo/error.tsx correctly 1`] = `
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
Your account has been frozen.
|
||||
Your account has been frozen.
|
||||
<a>
|
||||
Thaw immediately >
|
||||
</a>
|
||||
@ -1256,7 +1256,7 @@ exports[`renders components/result/demo/error.tsx correctly 1`] = `
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
Your account is not yet eligible to apply.
|
||||
Your account is not yet eligible to apply.
|
||||
<a>
|
||||
Apply Unlock >
|
||||
</a>
|
||||
|
@ -1898,7 +1898,7 @@ exports[`renders components/select/demo/maxCount.tsx correctly 1`] = `
|
||||
<span>
|
||||
1
|
||||
<!-- -->
|
||||
/
|
||||
/
|
||||
<!-- -->
|
||||
3
|
||||
</span>
|
||||
|
@ -19527,7 +19527,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -19722,7 +19722,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -19917,7 +19917,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -20513,7 +20513,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -20708,7 +20708,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -20903,7 +20903,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -21499,7 +21499,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -21694,7 +21694,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -21889,7 +21889,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -26541,7 +26541,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
|
||||
class="ant-table-cell ant-table-selection-column"
|
||||
rowspan="2"
|
||||
>
|
||||
false:
|
||||
false:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -26582,7 +26582,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
|
||||
class="ant-table-cell ant-table-selection-column"
|
||||
rowspan="2"
|
||||
>
|
||||
false:
|
||||
false:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -26623,7 +26623,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
|
||||
class="ant-table-cell ant-table-selection-column"
|
||||
rowspan="2"
|
||||
>
|
||||
false:
|
||||
false:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -26664,7 +26664,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
|
||||
class="ant-table-cell ant-table-selection-column"
|
||||
rowspan="2"
|
||||
>
|
||||
false:
|
||||
false:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -26705,7 +26705,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx extend con
|
||||
class="ant-table-cell ant-table-selection-column"
|
||||
rowspan="2"
|
||||
>
|
||||
false:
|
||||
false:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -31963,7 +31963,7 @@ Array [
|
||||
<div
|
||||
class="ant-space-item"
|
||||
>
|
||||
CheckStrictly:
|
||||
CheckStrictly:
|
||||
</div>
|
||||
<div
|
||||
class="ant-space-item"
|
||||
@ -32274,7 +32274,7 @@ Array [
|
||||
<div
|
||||
class="ant-space-item"
|
||||
>
|
||||
Fixed first column:
|
||||
Fixed first column:
|
||||
</div>
|
||||
<div
|
||||
class="ant-space-item"
|
||||
|
@ -107,7 +107,7 @@ exports[`renders components/table/demo/basic.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
John Brown
|
||||
</a>
|
||||
@ -162,7 +162,7 @@ exports[`renders components/table/demo/basic.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Jim Green
|
||||
</a>
|
||||
@ -222,7 +222,7 @@ exports[`renders components/table/demo/basic.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Joe Black
|
||||
</a>
|
||||
@ -14038,7 +14038,7 @@ exports[`renders components/table/demo/jsx.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Brown
|
||||
</a>
|
||||
@ -14096,7 +14096,7 @@ exports[`renders components/table/demo/jsx.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Green
|
||||
</a>
|
||||
@ -14159,7 +14159,7 @@ exports[`renders components/table/demo/jsx.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Black
|
||||
</a>
|
||||
@ -15932,7 +15932,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -16018,7 +16018,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -16104,7 +16104,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -16591,7 +16591,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -16677,7 +16677,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -16763,7 +16763,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -17250,7 +17250,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -17336,7 +17336,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -17422,7 +17422,7 @@ Array [
|
||||
<a
|
||||
class="ant-dropdown-trigger"
|
||||
>
|
||||
More
|
||||
More
|
||||
<span
|
||||
aria-label="down"
|
||||
class="anticon anticon-down"
|
||||
@ -18378,7 +18378,7 @@ exports[`renders components/table/demo/pagination.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
John Brown
|
||||
</a>
|
||||
@ -18435,7 +18435,7 @@ exports[`renders components/table/demo/pagination.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Jim Green
|
||||
</a>
|
||||
@ -18497,7 +18497,7 @@ exports[`renders components/table/demo/pagination.tsx correctly 1`] = `
|
||||
class="ant-space-item"
|
||||
>
|
||||
<a>
|
||||
Invite
|
||||
Invite
|
||||
<!-- -->
|
||||
Joe Black
|
||||
</a>
|
||||
@ -21296,7 +21296,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx correctly
|
||||
>
|
||||
false
|
||||
<!-- -->
|
||||
:
|
||||
:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -21339,7 +21339,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx correctly
|
||||
>
|
||||
false
|
||||
<!-- -->
|
||||
:
|
||||
:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -21382,7 +21382,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx correctly
|
||||
>
|
||||
false
|
||||
<!-- -->
|
||||
:
|
||||
:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -21425,7 +21425,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx correctly
|
||||
>
|
||||
false
|
||||
<!-- -->
|
||||
:
|
||||
:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -21468,7 +21468,7 @@ exports[`renders components/table/demo/row-selection-custom-debug.tsx correctly
|
||||
>
|
||||
false
|
||||
<!-- -->
|
||||
:
|
||||
:
|
||||
<label
|
||||
class="ant-checkbox-wrapper"
|
||||
>
|
||||
@ -26452,7 +26452,7 @@ Array [
|
||||
<div
|
||||
class="ant-space-item"
|
||||
>
|
||||
CheckStrictly:
|
||||
CheckStrictly:
|
||||
</div>
|
||||
<div
|
||||
class="ant-space-item"
|
||||
@ -26761,7 +26761,7 @@ Array [
|
||||
<div
|
||||
class="ant-space-item"
|
||||
>
|
||||
Fixed first column:
|
||||
Fixed first column:
|
||||
</div>
|
||||
<div
|
||||
class="ant-space-item"
|
||||
|
@ -516,17 +516,17 @@ exports[`renders components/tabs/demo/card-top.tsx correctly 1`] = `
|
||||
tabindex="0"
|
||||
>
|
||||
<p>
|
||||
Content of Tab Pane
|
||||
Content of Tab Pane
|
||||
<!-- -->
|
||||
1
|
||||
</p>
|
||||
<p>
|
||||
Content of Tab Pane
|
||||
Content of Tab Pane
|
||||
<!-- -->
|
||||
1
|
||||
</p>
|
||||
<p>
|
||||
Content of Tab Pane
|
||||
Content of Tab Pane
|
||||
<!-- -->
|
||||
1
|
||||
</p>
|
||||
|
@ -1623,7 +1623,7 @@ Array [
|
||||
<div
|
||||
style="margin-bottom: 16px;"
|
||||
>
|
||||
showLine:
|
||||
showLine:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -1646,7 +1646,7 @@ Array [
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showIcon:
|
||||
showIcon:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -1669,7 +1669,7 @@ Array [
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showLeafIcon:
|
||||
showLeafIcon:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -3239,7 +3239,7 @@ exports[`renders components/tree/demo/line.tsx extend context correctly 1`] = `
|
||||
<div
|
||||
style="margin-bottom: 16px;"
|
||||
>
|
||||
showLine:
|
||||
showLine:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -3262,7 +3262,7 @@ exports[`renders components/tree/demo/line.tsx extend context correctly 1`] = `
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showIcon:
|
||||
showIcon:
|
||||
<button
|
||||
aria-checked="false"
|
||||
class="ant-switch"
|
||||
@ -3285,7 +3285,7 @@ exports[`renders components/tree/demo/line.tsx extend context correctly 1`] = `
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showLeafIcon:
|
||||
showLeafIcon:
|
||||
<div
|
||||
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"
|
||||
>
|
||||
|
@ -1613,7 +1613,7 @@ Array [
|
||||
<div
|
||||
style="margin-bottom:16px"
|
||||
>
|
||||
showLine:
|
||||
showLine:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -1636,7 +1636,7 @@ Array [
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showIcon:
|
||||
showIcon:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -1659,7 +1659,7 @@ Array [
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showLeafIcon:
|
||||
showLeafIcon:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -3223,7 +3223,7 @@ exports[`renders components/tree/demo/line.tsx correctly 1`] = `
|
||||
<div
|
||||
style="margin-bottom:16px"
|
||||
>
|
||||
showLine:
|
||||
showLine:
|
||||
<button
|
||||
aria-checked="true"
|
||||
class="ant-switch ant-switch-checked"
|
||||
@ -3246,7 +3246,7 @@ exports[`renders components/tree/demo/line.tsx correctly 1`] = `
|
||||
</button>
|
||||
<br />
|
||||
<br />
|
||||
showIcon:
|
||||
showIcon:
|
||||
<button
|
||||
aria-checked="false"
|
||||
class="ant-switch"
|
||||
|
@ -17,7 +17,7 @@ exports[`renders components/typography/demo/basic.tsx extend context correctly 1
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
After massive project practice and summaries, Ant Design, a design language for background applications, is refined by Ant UED Team, which aims to
|
||||
After massive project practice and summaries, Ant Design, a design language for background applications, is refined by Ant UED Team, which aims to
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -43,7 +43,7 @@ exports[`renders components/typography/demo/basic.tsx extend context correctly 1
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -86,7 +86,7 @@ exports[`renders components/typography/demo/basic.tsx extend context correctly 1
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
Press
|
||||
Press
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -234,7 +234,7 @@ exports[`renders components/typography/demo/componentToken-debug.tsx extend cont
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
After massive project practice and summaries, Ant Design, a design language for background applications, is refined by Ant UED Team, which aims to
|
||||
After massive project practice and summaries, Ant Design, a design language for background applications, is refined by Ant UED Team, which aims to
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -260,7 +260,7 @@ exports[`renders components/typography/demo/componentToken-debug.tsx extend cont
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -303,7 +303,7 @@ exports[`renders components/typography/demo/componentToken-debug.tsx extend cont
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
Press
|
||||
Press
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -1651,7 +1651,7 @@ Array [
|
||||
<div
|
||||
class="ant-typography ant-typography-ellipsis ant-typography-single-line ant-typography-ellipsis-single-line"
|
||||
>
|
||||
Ant Design, a design language for background applications, is refined by Ant UED Team. This is a nest sample
|
||||
Ant Design, a design language for background applications, is refined by Ant UED Team. This is a nest sample
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -1988,7 +1988,7 @@ Array [
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
|
@ -44,7 +44,7 @@ exports[`renders components/typography/demo/basic.tsx correctly 1`] = `
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -87,7 +87,7 @@ exports[`renders components/typography/demo/basic.tsx correctly 1`] = `
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
Press
|
||||
Press
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -260,7 +260,7 @@ exports[`renders components/typography/demo/componentToken-debug.tsx correctly 1
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -303,7 +303,7 @@ exports[`renders components/typography/demo/componentToken-debug.tsx correctly 1
|
||||
<div
|
||||
class="ant-typography"
|
||||
>
|
||||
Press
|
||||
Press
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
@ -634,7 +634,7 @@ Array [
|
||||
aria-label="This is a loooooooooooooooooooooooooooooooong editable text with suffix."
|
||||
class="ant-typography ant-typography-ellipsis ant-typography-single-line"
|
||||
>
|
||||
This is a loooooooooooooooooooooooooooooooong editable text
|
||||
This is a loooooooooooooooooooooooooooooooong editable text
|
||||
<!-- -->
|
||||
with suffix.
|
||||
<div
|
||||
@ -1452,7 +1452,7 @@ exports[`renders components/typography/demo/ellipsis-middle.tsx correctly 1`] =
|
||||
class="ant-typography ant-typography-ellipsis ant-typography-single-line"
|
||||
style="max-width:100%"
|
||||
>
|
||||
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
|
||||
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
|
||||
<!-- -->
|
||||
development.
|
||||
</span>
|
||||
@ -1499,7 +1499,7 @@ Array [
|
||||
Sketch
|
||||
</code>
|
||||
</span>
|
||||
and
|
||||
and
|
||||
<span
|
||||
class="ant-typography"
|
||||
>
|
||||
|
@ -1,7 +1,9 @@
|
||||
import '@testing-library/jest-dom';
|
||||
|
||||
import { toHaveNoViolations } from 'jest-axe';
|
||||
import jsdom from 'jsdom';
|
||||
import format, { plugins } from 'pretty-format';
|
||||
|
||||
import { defaultConfig } from '../components/theme/internal';
|
||||
|
||||
// Not use dynamic hashed for test env since version will change hash dynamically.
|
||||
@ -49,9 +51,8 @@ function formatHTML(nodes: any) {
|
||||
});
|
||||
|
||||
const filtered = htmlContent
|
||||
.split(/[\n\r]+/)
|
||||
.split('\n')
|
||||
.filter((line) => line.trim())
|
||||
.map((line) => line.replace(/\s+$/, ''))
|
||||
.join('\n');
|
||||
|
||||
return filtered;
|
||||
|
Loading…
Reference in New Issue
Block a user