chore(deps): Upgrade antd from ^5.20.6 to ^5.21.6 #453
Annotations
10 errors and 1 warning
src/config-provider/__tests__/form.test.tsx > ConfigProvider form > ConfigProvider form.requiredMark should be `optional` by default and work for ProForm:
packages/design/src/config-provider/__tests__/form.test.tsx#L34
Error: Snapshot `ConfigProvider form > ConfigProvider form.requiredMark should be `optional` by default and work for ProForm 1` mismatched
- Expected
+ Received
@@ -158,19 +158,19 @@
</div>
<div
style="display: flex; gap: 8px; align-items: center;"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
重 置
</span>
</button>
<button
- class="ant-btn ant-btn-primary"
+ class="ant-btn ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
type="button"
>
<span>
提 交
</span>
❯ src/config-provider/__tests__/form.test.tsx:34:37
|
src/drawer/__tests__/index.test.tsx > Drawer > render with default footer:
packages/design/src/drawer/__tests__/index.test.tsx#L43
Error: Snapshot `Drawer > render with default footer 1` mismatched
- Expected
+ Received
@@ -78,11 +78,11 @@
>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-primary"
+ class="ant-btn ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
type="button"
>
<span>
OK
</span>
@@ -90,11 +90,11 @@
</div>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Cancel
</span>
❯ src/drawer/__tests__/index.test.tsx:43:37
|
src/drawer/__tests__/index.test.tsx > Drawer > render with onOk:
packages/design/src/drawer/__tests__/index.test.tsx#L65
Error: Snapshot `Drawer > render with onOk 1` mismatched
- Expected
+ Received
@@ -78,11 +78,11 @@
>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-primary"
+ class="ant-btn ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
type="button"
>
<span>
OK
</span>
@@ -90,11 +90,11 @@
</div>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Cancel
</span>
❯ src/drawer/__tests__/index.test.tsx:65:37
|
src/drawer/__tests__/index.test.tsx > Drawer > render with okText and cancenText:
packages/design/src/drawer/__tests__/index.test.tsx#L79
Error: Snapshot `Drawer > render with okText and cancenText 1` mismatched
- Expected
+ Received
@@ -78,11 +78,11 @@
>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-primary"
+ class="ant-btn ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
type="button"
>
<span>
custom ok text
</span>
@@ -90,11 +90,11 @@
</div>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
custom cancel text
</span>
❯ src/drawer/__tests__/index.test.tsx:79:37
|
src/drawer/__tests__/index.test.tsx > Drawer > render with confirmLoading and okButtonProps:
packages/design/src/drawer/__tests__/index.test.tsx#L91
Error: Snapshot `Drawer > render with confirmLoading and okButtonProps 1` mismatched
- Expected
+ Received
@@ -78,11 +78,11 @@
>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-primary ant-btn-loading ant-btn-dangerous"
+ class="ant-btn ant-btn-primary ant-btn-dangerous ant-btn-color-dangerous ant-btn-variant-solid ant-btn-loading"
type="button"
>
<span
class="ant-btn-icon ant-btn-loading-icon"
>
@@ -113,11 +113,11 @@
</div>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Cancel
</span>
❯ src/drawer/__tests__/index.test.tsx:91:37
|
src/drawer/__tests__/index.test.tsx > Drawer > render with footerExtra and default footer:
packages/design/src/drawer/__tests__/index.test.tsx#L116
Error: Snapshot `Drawer > render with footerExtra and default footer 1` mismatched
- Expected
+ Received
@@ -78,11 +78,11 @@
>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-primary"
+ class="ant-btn ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
type="button"
>
<span>
OK
</span>
@@ -90,11 +90,11 @@
</div>
<div
class="ant-space-item"
>
<button
- class="ant-btn ant-btn-default"
+ class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
<span>
Cancel
</span>
❯ src/drawer/__tests__/index.test.tsx:116:37
|
src/modal/__tests__/modal.test.tsx > Modal > should hide footer dom when footer is null:
packages/design/src/modal/__tests__/modal.test.tsx#L30
Error: Snapshot `Modal > should hide footer dom when footer is null 1` mismatched
- Expected
+ Received
@@ -16,17 +16,12 @@
class="ant-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
style="width: 520px;"
>
<div
- aria-hidden="true"
- style="width: 0px; height: 0px; overflow: hidden; outline: none;"
- tabindex="0"
- />
- <div
- style="outline: none;"
- tabindex="-1"
+ style="outline: none;"
+ tabindex="0"
>
<div
class="ant-modal-content"
>
<button
@@ -73,11 +68,10 @@
class="ant-modal-body"
/>
</div>
</div>
<div
- aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
</div>
</div>
❯ src/modal/__tests__/modal.test.tsx:30:37
|
src/modal/__tests__/modal.test.tsx > Modal > should hide footer dom when footer is false:
packages/design/src/modal/__tests__/modal.test.tsx#L36
Error: Snapshot `Modal > should hide footer dom when footer is false 1` mismatched
- Expected
+ Received
@@ -16,17 +16,12 @@
class="ant-modal ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
style="width: 520px;"
>
<div
- aria-hidden="true"
- style="width: 0px; height: 0px; overflow: hidden; outline: none;"
- tabindex="0"
- />
- <div
- style="outline: none;"
- tabindex="-1"
+ style="outline: none;"
+ tabindex="0"
>
<div
class="ant-modal-content"
>
<button
@@ -73,11 +68,10 @@
class="ant-modal-body"
/>
</div>
</div>
<div
- aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
</div>
</div>
❯ src/modal/__tests__/modal.test.tsx:36:37
|
src/modal/__tests__/progress.test.tsx > Modal.Progress > render with progress.percent:
packages/design/src/modal/__tests__/progress.test.tsx#L49
Error: Snapshot `Modal.Progress > render with progress.percent 1` mismatched
- Expected
+ Received
@@ -16,17 +16,12 @@
class="ant-modal ant-modal-progress ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
style="width: 567px;"
>
<div
- aria-hidden="true"
- style="width: 0px; height: 0px; overflow: hidden; outline: none;"
- tabindex="0"
- />
- <div
- style="outline: none;"
- tabindex="-1"
+ style="outline: none;"
+ tabindex="0"
>
<div
class="ant-modal-content"
>
<button
@@ -133,11 +128,10 @@
</div>
</div>
</div>
</div>
<div
- aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
</div>
</div>
❯ src/modal/__tests__/progress.test.tsx:49:37
|
src/modal/__tests__/progress.test.tsx > Modal.Progress > render with progress.status:
packages/design/src/modal/__tests__/progress.test.tsx#L62
Error: Snapshot `Modal.Progress > render with progress.status 1` mismatched
- Expected
+ Received
@@ -16,17 +16,12 @@
class="ant-modal ant-modal-progress ant-zoom-appear ant-zoom-appear-prepare ant-zoom"
role="dialog"
style="width: 567px;"
>
<div
- aria-hidden="true"
- style="width: 0px; height: 0px; overflow: hidden; outline: none;"
- tabindex="0"
- />
- <div
- style="outline: none;"
- tabindex="-1"
+ style="outline: none;"
+ tabindex="0"
>
<div
class="ant-modal-content"
>
<button
@@ -151,11 +146,10 @@
</div>
</div>
</div>
</div>
<div
- aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
</div>
</div>
❯ src/modal/__tests__/progress.test.tsx:62:37
|
test (16.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|