Repository navigation
Forms: Import @wordpress/base-styles modules directly - #54282
Conversation
The project declares @wordpress/base-styles itself, so the @automattic/jetpack-base-styles/gutenberg-base-styles wrapper adds nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VY7ojGc1sr9Cb1z84Z
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
Part of JETPACK-2754
@automattic/jetpack-base-styles/gutenberg-base-stylesonly@forwards six@wordpress/base-stylesmodules.packages/formsalready declares@wordpress/base-styles, so the wrapper adds nothing and hides where a mixin or variable comes from. #52193 made the same switch in two files.Proposed changes
@use … as gbinpackages/forms(7 files) with@uses of the specific modules the file uses, under their default namespaces (mixins.,variables.,colors.,breakpoints.).Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
No visible change is expected.
/** */comments stripped, every file matches. The only differences are which@wordpress/base-stylesdoc comments get emitted, and production builds drop those (cssnano viaCssMinimizerPlugin).🤖 Generated with Claude Code