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. |
2 similar comments
|
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. |
|
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. |
| ## Stylesheet Dependencies | ||
|
|
||
| AdminUI depends on stylesheets `@wordpress/theme`. In a WordPress admin page context, these are loaded automatically. For applications outside WordPress, you will need to include this stylesheet: | ||
|
|
||
| ```bash | ||
| npm install @wordpress/theme | ||
| ``` | ||
|
|
||
| ```tsx | ||
| import '@wordpress/theme/design-tokens.css'; | ||
| ``` |
There was a problem hiding this comment.
This section relates to the recent change:
There was a problem hiding this comment.
These stylesheet instructions are not necessarily accurate at the moment (in @wordpress/ui and @wordpress/dataviews readmes too) so I'm going to prepare a better one.
|
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. |
|
Flaky tests detected in 4438ff8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23046214263
|
| ## API | ||
| _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._ | ||
|
|
||
| <!-- START TOKEN(Autogenerated API docs) --> |
There was a problem hiding this comment.
Why did we remove the automatic docs generation, should we keep it and add all this information as comments (so it gets included here)
Related to adding Storybook:
What?
Closes
Documents Admin UI package APIs.
Why?
Makes adopting Page componentry easier outside Gutenberg.
How?
Testing Instructions
Read the rendered README.md
Testing Instructions for Keyboard
Screenshots or screencast
Use of AI Tools