UI: Clarify public APIs and component naming, remove NoticeIntent typings#76791
UI: Clarify public APIs and component naming, remove NoticeIntent typings#76791
Conversation
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.66 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 1d663e1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23507063057
|
…ings (#76791) * UI: Clarify public APIs and component naming * Remove NoticeIntent prop from package export * Add CHANGELOG note for TypeScript type removal Co-authored-by: aduth <aduth@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org>
What?
@wordpress/ui'sCONTRIBUTING.mdto clarify what's expected to be exported from the packageNoticeIntentTypeScript type from exports, consistent with the guidelines.Follow-up to https://github.com/WordPress/gutenberg/pull/75981/files#r2964670442
Why?
This largely follows and carries forward the established approach in
@wordpress/components, making it clear for future development that the approach for handling TypeScript types applies in@wordpress/uias well.Testing Instructions
Verify no references to
NoticeIntentoutside the Notice component itself.Review contributing guidelines for accuracy.