Skip to content

Conversation

@aojunhao123
Copy link
Contributor

🤔 This is a ...

  • 🛠 Refactoring

🔗 Related Issues

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

📝 Change Log

Language Changelog
🇺🇸 English -
🇨🇳 Chinese -

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2025

👁 Visual Regression Report for PR #52768 Failed ❌

🎯 Target branch: next (aaf384a)
📖 View Full Report ↗︎
📖 Alternative Report ↗︎
📊 Summary: 🔄 2 changed

Expected (Branch next) Actual (Current PR) Diff
input-group.compact.png input-group.compact.png input-group.compact.css-var.png input-group.compact.css-var.png
input-otp.compact.png input-otp.compact.png input-otp.compact.css-var.png input-otp.compact.css-var.png

Important

There are 2 diffs found in this PR: 🔄 2 changed.
Please check all items:

  • Visual diff is acceptable

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Preview is ready

@petercat-assistant
Copy link

Walkthrough

This pull request focuses on refactoring by retiring deprecated APIs in the project. It involves significant changes to snapshot test files across multiple components, including card, config-provider, splitter, and tabs. The package.json file has been updated to replace the rc-tabs dependency with @rc-component/tabs.

Changes

Files Summary
components/card/tests/snapshots/*.snap Updated snapshot tests for card component, reducing redundant code.
components/config-provider/tests/snapshots/components.test.tsx.snap Updated snapshot tests for config-provider component, optimizing test cases.
components/splitter/tests/snapshots/*.snap Updated snapshot tests for splitter component, improving test efficiency.
components/tabs/tests/snapshots/*.snap Major updates to snapshot tests for tabs component, reflecting API changes.
package.json Replaced rc-tabs with @rc-component/tabs dependency.

@socket-security
Copy link

socket-security bot commented Feb 12, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@rc-component/[email protected] environment +2 272 kB zombiej

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 12, 2025

@codecov
Copy link

codecov bot commented Feb 12, 2025

Bundle Report

Changes will increase total bundle size by 7.88MB (210.31%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
antd.min-array-push 11.62MB 7.88MB (210.31%) ⬆️⚠️

Affected Assets, Files, and Routes:

view changes for bundle: antd.min-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
antd-with-locales.js (New) 6.06MB 6.06MB 100.0% 🚀
antd.js (New) 5.56MB 5.56MB 100.0% 🚀
antd-with-locales.min.js (Deleted) -2.03MB 0 bytes -100.0% 🗑️
antd.min.js (Deleted) -1.72MB 0 bytes -100.0% 🗑️

@codecov
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (aaf384a) to head (18fd6d6).
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next    #52768   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          765       765           
  Lines        13768     13768           
  Branches      3601      3601           
=========================================
  Hits         13768     13768           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

thinkasany
thinkasany previously approved these changes Feb 13, 2025
@thinkasany thinkasany changed the title feat: retire deprecated api feat: [v6] retire deprecated api for tabs Feb 13, 2025
@thinkasany thinkasany merged commit 3273d7c into ant-design:next Feb 13, 2025
41 checks passed
@aojunhao123 aojunhao123 deleted the retire-tab branch February 13, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants