Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Upgrade antd from ^5.22.5 to ^5.23.1 and update test snapshots #942

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
]
},
"devDependencies": {
"@ant-design/colors": "^7.1.0",
"@ant-design/colors": "^7.2.0",
"@ant-design/cssinjs": "^1.22.1",
"@ant-design/icons": "^5.5.2",
"@babel/cli": "^7.25.9",
Expand All @@ -67,7 +67,7 @@
"@umijs/fabric": "^4.0.1",
"@umijs/test": "^4.3.34",
"@vercel/analytics": "^1.4.0",
"antd": "^5.22.5",
"antd": "^5.23.1",
"antd-style": "^3.7.1",
"antd-token-previewer": "^2.0.8",
"babel-jest": "^29.7.0",
Expand Down Expand Up @@ -98,10 +98,10 @@
"rc-checkbox": "^3.5.0",
"rc-drawer": "^7.2.0",
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.4.1",
"rc-resize-observer": "^1.4.3",
"rc-segmented": "^2.7.0",
"rc-tabs": "^15.4.0",
"rc-util": "^5.44.2",
"rc-tabs": "^15.5.0",
"rc-util": "^5.44.3",
"react": "^18.3.1",
"react-color": "^2.19.3",
"react-copy-to-clipboard": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@oceanbase/util": "workspace:^",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"rc-util": "^5.44.2",
"rc-util": "^5.44.3",
"tinycolor2": "^1.6.0",
"use-resize-observer": "^9.1.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@
"@oceanbase/icons": "workspace:^",
"@oceanbase/util": "workspace:^",
"ahooks": "^2.10.14",
"antd": "^5.22.5",
"antd": "^5.23.1",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"lottie-web": "^5.12.2",
"prop-types": "^15.8.1",
"rc-util": "^5.44.2",
"rc-util": "^5.44.3",
"react-sticky-mouse-tooltip": "^0.0.1"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"antd-token-previewer": "^2.0.8",
"rc-select": "^14.16.4",
"rc-slider": "^11.1.7",
"rc-table": "^7.49.0",
"rc-tree-select": "^5.25.0"
"rc-select": "^14.16.5",
"rc-slider": "^11.1.8",
"rc-table": "^7.50.2",
"rc-tree-select": "^5.27.0"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ exports[`ConfigProvider form > ConfigProvider form.requiredMark should be \`opti
<span
class="ant-input-suffix"
>
<span
<button
class="ant-input-clear-icon ant-input-clear-icon-hidden"
role="button"
tabindex="-1"
type="button"
>
<span
aria-label="close-circle"
Expand All @@ -73,7 +72,7 @@ exports[`ConfigProvider form > ConfigProvider form.requiredMark should be \`opti
/>
</svg>
</span>
</span>
</button>
</span>
</span>
</div>
Expand Down Expand Up @@ -126,10 +125,9 @@ exports[`ConfigProvider form > ConfigProvider form.requiredMark should be \`opti
<span
class="ant-input-suffix"
>
<span
<button
class="ant-input-clear-icon ant-input-clear-icon-hidden"
role="button"
tabindex="-1"
type="button"
>
<span
aria-label="close-circle"
Expand All @@ -151,7 +149,7 @@ exports[`ConfigProvider form > ConfigProvider form.requiredMark should be \`opti
/>
</svg>
</span>
</span>
</button>
</span>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ exports[`Segmented > render options 1`] = `
<div
aria-label="segmented control"
class="ant-segmented"
role="listbox"
role="radiogroup"
tabindex="0"
>
<div
class="ant-segmented-group"
Expand All @@ -15,12 +16,12 @@ exports[`Segmented > render options 1`] = `
<input
checked=""
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="true"
class="ant-segmented-item-label"
role="option"
title="Daily"
>
Daily
Expand All @@ -31,12 +32,12 @@ exports[`Segmented > render options 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Weekly"
>
Weekly
Expand All @@ -47,12 +48,12 @@ exports[`Segmented > render options 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Monthly"
>
Monthly
Expand All @@ -63,12 +64,12 @@ exports[`Segmented > render options 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Quarterly"
>
Quarterly
Expand All @@ -79,12 +80,12 @@ exports[`Segmented > render options 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="Yearly"
>
Yearly
Expand All @@ -98,7 +99,8 @@ exports[`Segmented > render options with ellipsis 1`] = `
<div
aria-label="segmented control"
class="ant-segmented ant-segmented-block"
role="listbox"
role="radiogroup"
tabindex="0"
>
<div
class="ant-segmented-group"
Expand All @@ -109,12 +111,12 @@ exports[`Segmented > render options with ellipsis 1`] = `
<input
checked=""
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="true"
class="ant-segmented-item-label"
role="option"
title="123"
>
123
Expand All @@ -125,12 +127,12 @@ exports[`Segmented > render options with ellipsis 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
title="456"
>
456
Expand All @@ -141,12 +143,12 @@ exports[`Segmented > render options with ellipsis 1`] = `
>
<input
class="ant-segmented-item-input"
name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
role="option"
>
<span
class="ant-typography ant-typography-ellipsis ant-typography-ellipsis-single-line"
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"generate": "rm -rf src && ts-node scripts/generate.ts"
},
"dependencies": {
"@ant-design/colors": "^7.1.0",
"@ant-design/colors": "^7.2.0",
"@ant-design/icons": "^5.5.2",
"@oceanbase/icons-svg": "^1.0.10",
"lodash.camelcase": "^4.3.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@ant-design/cssinjs": "^1.22.1",
"@ant-design/pro-components": "^2.8.2",
"@ant-design/pro-components": "^2.8.3",
"@antv/g6": "3.4.10",
"@oceanbase/design": "workspace:^",
"@oceanbase/icons": "workspace:^",
Expand All @@ -56,16 +56,16 @@
"moment": "^2.30.1",
"path-to-regexp": "^7.2.0",
"randexp": "^0.5.3",
"rc-picker": "^4.8.3",
"rc-util": "^5.44.2",
"rc-picker": "^4.9.2",
"rc-util": "^5.44.3",
"react-copy-to-clipboard": "^5.1.0",
"react-json-view": "^1.21.3",
"react-split-pane": "^0.1.92",
"screenfull": "^6.0.2"
},
"devDependencies": {
"@ant-design/pro-form": "^2.31.2",
"@ant-design/pro-layout": "^7.21.2"
"@ant-design/pro-form": "^2.31.3",
"@ant-design/pro-layout": "^7.22.0"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,16 +555,15 @@ exports[`PageContainer > extra and footer 1`] = `
<input
class="ant-input"
placeholder="placeholder"
type="text"
type="search"
value=""
/>
<span
class="ant-input-suffix"
>
<span
<button
class="ant-input-clear-icon ant-input-clear-icon-hidden"
role="button"
tabindex="-1"
type="button"
>
<span
aria-label="close-circle"
Expand All @@ -586,7 +585,7 @@ exports[`PageContainer > extra and footer 1`] = `
/>
</svg>
</span>
</span>
</button>
</span>
</span>
<span
Expand Down Expand Up @@ -734,6 +733,7 @@ exports[`PageContainer > extra and footer 1`] = `
>
<input
class="ant-radio-button-input"
name="test-id"
type="radio"
value="input"
/>
Expand All @@ -754,6 +754,7 @@ exports[`PageContainer > extra and footer 1`] = `
<input
checked=""
class="ant-radio-button-input"
name="test-id"
type="radio"
value="search"
/>
Expand All @@ -773,6 +774,7 @@ exports[`PageContainer > extra and footer 1`] = `
>
<input
class="ant-radio-button-input"
name="test-id"
type="radio"
value="addon"
/>
Expand Down
Loading
Loading