feat(layout): Add drawerProps for SettingDrawer #13406
Annotations
10 errors and 1 warning
tests/doc.test.ts > docs/components demos > 📸 renders ./docs/components/valueType.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `docs/components demos > 📸 renders ./docs/components/valueType.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-form-item"
>
<div
class="ant-row ant-form-item-row"
>
<div
class="ant-col ant-form-item-label"
>
<label
class=""
title="valueType 选择"
>
valueType 选择
</label>
</div>
<div
class="ant-col ant-form-item-control"
>
<div
class="ant-form-item-control-input"
>
<div
class="ant-form-item-control-input-content"
>
<div
class="ant-select ant-select-outlined ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-search"
style="width: 200px;"
>
<div
class="ant-select-selector"
>
<span
class="ant-select-selection-wrap"
>
<span
class="ant-select-selection-search"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="false"
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
role="combobox"
type="search"
value=""
/>
</span>
<span
class="ant-select-selection-item"
title="文本框"
>
文本框
</span>
</span>
</div>
<span
aria-hidden="true"
class="ant-select-clear"
style="user-select: none;"
unselectable="on"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
/>
|
tests/card/demo.test.ts > card demos > 📸 renders ./packages/card/src/components/CheckCard/demos/size.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `card demos > 📸 renders ./packages/card/src/components/CheckCard/demos/size.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
style="margin-block-end: 16px;"
>
<div
class="ant-radio-group ant-radio-group-outline"
>
<label
class="ant-radio-button-wrapper"
>
<span
class="ant-radio-button"
>
<input
class="ant-radio-button-input"
name="test-id"
type="radio"
value="large"
/>
<span
class="ant-radio-button-inner"
/>
</span>
<span>
Large
</span>
</label>
<label
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
>
<span
class="ant-radio-button ant-radio-button-checked"
>
<input
checked=""
class="ant-radio-button-input"
name="test-id"
type="radio"
value="default"
/>
<span
class="ant-radio-button-inner"
/>
</span>
<span>
Default
</span>
</label>
<label
class="ant-radio-button-wrapper"
>
<span
class="ant-radio-button"
>
<input
class="ant-radio-button-input"
name="test-id"
type="radio"
value="small"
/>
<span
class="ant-radio-button-inner"
/>
</span>
<span>
Small
</span>
</label>
</div>
</div>
<div
class="ant-pro-checkcard ant-pro-checkcard-bordered"
>
<div
class="ant-pro-checkcard-content"
>
<div
class="ant-pro-checkcard-detail"
>
<div
class="ant-pro-checkcard-header"
>
<div
class="ant-pro-checkcard-header-left"
>
<div
class="ant-pro-checkcard-title ant-pro-checkcard-title-with-ellipsis"
>
Card title
</div>
</div>
</div>
<div
class="ant-pro-checkcard-description"
>
This is the description
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>...
❯ tests/demo.tsx:141:40
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:82:9
|
tests/card/demo.test.ts > card demos > 📸 renders ./packages/card/src/components/StatisticCard/demos/tabs-statistic.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `card demos > 📸 renders ./packages/card/src/components/StatisticCard/demos/tabs-statistic.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-pro-card"
>
<div
class="ant-pro-card-tabs"
>
<div
class="ant-tabs ant-tabs-top"
>
<div
aria-orientation="horizontal"
class="ant-tabs-nav"
role="tablist"
>
<div
class="ant-tabs-nav-wrap"
>
<div
class="ant-tabs-nav-list"
style="transform: translate(0px, 0px);"
>
<div
class="ant-tabs-tab ant-tabs-tab-active"
data-node-key="1"
>
<div
aria-controls="rc-tabs-test-panel-1"
aria-selected="true"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-1"
role="tab"
tabindex="0"
>
<div
class="ant-pro-card-statistic"
style="width: 120px; border-inline-end: 1px solid #f0f0f0;"
>
<div
class="ant-pro-card-statistic-wrapper"
>
<div
class="ant-pro-card-statistic-content"
>
<div
class="ant-statistic ant-pro-card-statistic-layout-vertical"
>
<div
class="ant-statistic-title"
>
全部
</div>
<div
class="ant-statistic-content"
>
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
10
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-tabs-tab"
data-node-key="2"
>
<div
aria-controls="rc-tabs-test-panel-2"
aria-selected="false"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-2"
role="tab"
tabindex="-1"
>
<div
class="ant-pro-card-statistic"
style="width: 120px;"
>
<div
class="ant-pro-card-statistic-wrapper"
>
<div
class="ant-pro-card-statistic-status"
>
<span
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
>
<span
class="ant-badg
|
tests/card/demo.test.ts > card demos > 📸 renders ./packages/card/src/components/StatisticCard/demos/tabs.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `card demos > 📸 renders ./packages/card/src/components/StatisticCard/demos/tabs.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-pro-card"
>
<div
class="ant-pro-card-tabs"
>
<div
class="ant-tabs ant-tabs-top"
>
<div
aria-orientation="horizontal"
class="ant-tabs-nav"
role="tablist"
>
<div
class="ant-tabs-nav-wrap"
>
<div
class="ant-tabs-nav-list"
style="transform: translate(0px, 0px);"
>
<div
class="ant-tabs-tab ant-tabs-tab-active"
data-node-key="1"
>
<div
aria-controls="rc-tabs-test-panel-1"
aria-selected="true"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-1"
role="tab"
tabindex="0"
>
<div
class="ant-pro-card-statistic"
style="width: 120px; border-inline-end: 1px solid #f0f0f0;"
>
<div
class="ant-pro-card-statistic-wrapper"
>
<div
class="ant-pro-card-statistic-content"
>
<div
class="ant-statistic ant-pro-card-statistic-layout-vertical"
>
<div
class="ant-statistic-title"
>
全部
</div>
<div
class="ant-statistic-content"
>
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
10
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-tabs-tab"
data-node-key="2"
>
<div
aria-controls="rc-tabs-test-panel-2"
aria-selected="false"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-2"
role="tab"
tabindex="-1"
>
<div
class="ant-pro-card-statistic"
style="width: 120px;"
>
<div
class="ant-pro-card-statistic-wrapper"
>
<div
class="ant-pro-card-statistic-status"
>
<span
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
>
<span
class="ant-badge-status-d
|
tests/card/demo.test.ts > card demos > 📸 renders ./packages/card/src/demos/tabs-card.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `card demos > 📸 renders ./packages/card/src/demos/tabs-card.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-pro-card"
>
<div
class="ant-pro-card-tabs"
>
<div
class="ant-tabs ant-tabs-top ant-tabs-card"
>
<div
aria-orientation="horizontal"
class="ant-tabs-nav"
role="tablist"
>
<div
class="ant-tabs-nav-wrap"
>
<div
class="ant-tabs-nav-list"
style="transform: translate(0px, 0px);"
>
<div
class="ant-tabs-tab ant-tabs-tab-active"
data-node-key="tab1"
>
<div
aria-controls="rc-tabs-test-panel-tab1"
aria-selected="true"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-tab1"
role="tab"
tabindex="0"
>
产品一
</div>
</div>
<div
class="ant-tabs-tab"
data-node-key="tab2"
>
<div
aria-controls="rc-tabs-test-panel-tab2"
aria-selected="false"
class="ant-tabs-tab-btn"
id="rc-tabs-test-tab-tab2"
role="tab"
tabindex="-1"
>
产品二
</div>
</div>
<div
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
style="width: 0px; left: 0px; transform: translateX(-50%);"
/>
</div>
</div>
<div
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
>
<button
aria-controls="rc-tabs-test-more-popup"
aria-expanded="false"
aria-haspopup="listbox"
aria-hidden="true"
class="ant-tabs-nav-more"
id="rc-tabs-test-more"
style="visibility: hidden; order: 1;"
tabindex="-1"
type="button"
>
<span
aria-label="ellipsis"
class="anticon anticon-ellipsis"
role="img"
>
<svg
aria-hidden="true"
data-icon="ellipsis"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
/>
</svg>
</span>
</button>
</div>
</div>
<div
class="ant-tabs-content-holder"
>
<div
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="false"
aria-labelledby="rc-tabs-test-tab-tab1"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
id="rc-tabs-test-panel-tab1"
|
tests/card/demo.test.ts > card demos > 📸 renders ./packages/card/src/demos/tabs.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `card demos > 📸 renders ./packages/card/src/demos/tabs.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div>
<div
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
style="margin-block-end: 16px;"
>
<div
class="ant-space-item"
>
Tab position:
</div>
<div
class="ant-space-item"
>
<div
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"
>
<div
class="ant-select-selector"
>
<span
class="ant-select-selection-wrap"
>
<span
class="ant-select-selection-search"
>
<input
aria-autocomplete="list"
aria-controls="rc_select_TEST_OR_SSR_list"
aria-expanded="false"
aria-haspopup="listbox"
aria-owns="rc_select_TEST_OR_SSR_list"
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
<span
class="ant-select-selection-item"
title="top"
>
top
</span>
</span>
</div>
<span
aria-hidden="true"
class="ant-select-arrow"
style="user-select: none;"
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</span>
</span>
</div>
</div>
</div>
<div
class="ant-pro-card"
>
<div
class="ant-pro-card-tabs"
>
<div
class="ant-tabs ant-tabs-top"
>
<div
aria-orientation="horizontal"
class="ant-tabs-nav"
role="tablist"
>
<div
class="ant-tabs-nav-wrap"
>
<div
class="ant-tabs-nav-list"
style="transform: translate(0px, 0px);"
>
<div
class="ant-tabs-tab"
data-node-key="tab1"
>
<div
aria-controls="rc-tabs-test-panel-tab1"
aria-selected="false"
|
tests/descriptions/demo.test.ts > descriptions demos > 📸 renders ./packages/descriptions/src/demos/dynamic-descriptions.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `descriptions demos > 📸 renders ./packages/descriptions/src/demos/dynamic-descriptions.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-pro-card ant-pro-card-border ant-pro-card-contain-card ant-pro-card-split"
style="min-height: 500px;"
>
<div
class="ant-pro-card-body"
>
<div
class="ant-pro-card-col ant-pro-card-split-vertical"
style="width: calc(100% - 580px); flex-shrink: 0;"
>
<div
class="ant-pro-card"
>
<div
class="ant-pro-card-body"
>
<div
class="ant-descriptions ant-pro-descriptions"
>
<div
class="ant-descriptions-header"
>
<div
class="ant-descriptions-title"
>
高级定义列表
</div>
<div
class="ant-descriptions-extra"
>
<div
class="ant-pro-field-option"
style="display: flex; gap: 16px; align-items: center;"
>
<a
rel="noopener noreferrer"
target="_blank"
>
链路
</a>
<a
rel="noopener noreferrer"
target="_blank"
>
报警
</a>
<a
rel="noopener noreferrer"
target="_blank"
>
查看
</a>
</div>
</div>
</div>
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
文本
</span>
<span
class="ant-descriptions-item-content"
style="min-width: 0;"
>
这是一段文本columns
</span>
</div>
</td>
</tr>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
状态
</span>
|
tests/descriptions/editor.test.tsx > Descriptions > 📝 renderFormItem run defaultRender:
tests/descriptions/editor.test.tsx#L244
Error: Snapshot `Descriptions > 📝 renderFormItem run defaultRender 1` mismatched
- Expected
+ Received
@@ -53,14 +53,13 @@
value="🐛 [BUG]yarn install命令 antd2.4.5会报错"
/>
<span
class="ant-input-suffix"
>
- <span
+ <button
class="ant-input-clear-icon"
- role="button"
+ type="button"
- tabindex="-1"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
@@ -78,11 +77,11 @@
<path
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
/>
</svg>
</span>
- </span>
+ </button>
</span>
</span>
</div>
</div>
</div>
❯ tests/descriptions/editor.test.tsx:244:34
|
tests/descriptions/editor.test.tsx > Descriptions > 📝 columns support editable test:
tests/descriptions/editor.test.tsx#L268
Error: Snapshot `Descriptions > 📝 columns support editable test 1` mismatched
- Expected
+ Received
@@ -53,14 +53,13 @@
value="🐛 [BUG]yarn install命令 antd2.4.5会报错"
/>
<span
class="ant-input-suffix"
>
- <span
+ <button
class="ant-input-clear-icon"
- role="button"
+ type="button"
- tabindex="-1"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
@@ -78,11 +77,11 @@
<path
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
/>
</svg>
</span>
- </span>
+ </button>
</span>
</span>
</div>
</div>
</div>
❯ tests/descriptions/editor.test.tsx:268:34
|
tests/field/demo.test.ts > field demos > 📸 renders ./packages/field/src/demos/base_test.tsx correctly:
tests/demo.tsx#L141
Error: Snapshot `field demos > 📸 renders ./packages/field/src/demos/base_test.tsx correctly 20` mismatched
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="ant-app"
>
<div>
test
</div>
<div
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
>
<div
class="ant-space-item"
>
<div
class="ant-radio-group ant-radio-group-outline"
>
<label
class="ant-radio-wrapper"
>
<span
class="ant-radio ant-wave-target"
>
<input
class="ant-radio-input"
name="test-id"
type="radio"
value="read"
/>
<span
class="ant-radio-inner"
/>
</span>
<span>
只读
</span>
</label>
<label
class="ant-radio-wrapper ant-radio-wrapper-checked"
>
<span
class="ant-radio ant-wave-target ant-radio-checked"
>
<input
checked=""
class="ant-radio-input"
name="test-id"
type="radio"
value="edit"
/>
<span
class="ant-radio-inner"
/>
</span>
<span>
编辑
</span>
</label>
</div>
</div>
<div
class="ant-space-item"
>
简约模式
</div>
<div
class="ant-space-item"
>
<button
aria-checked="false"
class="ant-switch"
role="switch"
type="button"
>
<div
class="ant-switch-handle"
/>
<span
class="ant-switch-inner"
>
<span
class="ant-switch-inner-checked"
/>
<span
class="ant-switch-inner-unchecked"
/>
</span>
</button>
</div>
</div>
<br />
<br />
<div
class="ant-descriptions"
>
<div
class="ant-descriptions-view"
>
<table>
<tbody>
<tr
class="ant-descriptions-row"
>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
空字符串
</span>
<span
class="ant-descriptions-item-content"
>
-
</span>
</div>
</td>
<td
class="ant-descriptions-item"
colspan="1"
>
<div
class="ant-descriptions-item-container"
>
<span
class="ant-descriptions-item-label"
>
头像
</span>
<span
class="ant-descriptions-item-content"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image"
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|