Skip to content

Add corner radius presets to ThemeProvider - #78816

Merged
jameskoster merged 22 commits into
trunkfrom
add-theme-provider-corner-radius
Jun 12, 2026
Merged

Add corner radius presets to ThemeProvider#78816
jameskoster merged 22 commits into
trunkfrom
add-theme-provider-corner-radius

Conversation

@jameskoster

@jameskoster jameskoster commented May 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds a cornerRadius theme aspect to ThemeProvider, letting consumers pick a roundness preset for a subtree: none, subtle, moderate, or pronounced.

Preset values are authored as Terrazzo modes on the border-radius primitives and emitted as prebuilt CSS. ThemeProvider always sets data-wpds-corner-radius on its scoping div (defaulting to subtle); the cascade updates --wpds-border-radius-* for all @wordpress/ui components in that subtree.

Also includes a corner-radius control in the Design System Theme Storybook toolbar and a preset <select> in the Example Application story.

Why

Corner radius is a meaningful theme personality axis (sharp vs. soft UI), but today the border-radius scale is static. Color and cursor are already configurable via ThemeProvider; radius can follow the same pattern so apps can tune roundness without overriding tokens manually.

Using build-time token modes (not runtime CSS injection) keeps this simple, performant, and composable: multiple ThemeProvider instances on a page can use different presets, and nested providers inherit/override via the cascade. Portalled UI (dialogs, tooltips, menus) is expected to render its own dedicated ThemeProvider, which carries the preset to the portalled subtree rather than relying on the root provider's preset leaking through :root.

Early exploration used uniform multipliers per preset (e.g. 2× / 3× across all primitives). That felt lop-sided in practice: absolute jumps grow with token size, so cards and dialogs (--wpds-border-radius-lg) changed dramatically while buttons and inputs (--wpds-border-radius-sm) barely moved. The preset values are hand-tuned per primitive instead. At higher presets the per-size scale intentionally compresses toward a shared radius — small controls round up substantially while large surfaces are held back — so a pronounced theme reads as strongly rounded controls on calmly rounded cards and shells, rather than ballooning every corner.

A runtime taper formula (e.g. per-token multiplier curves or a multiplier escape hatch) was considered but deferred — with four presets across five primitives (~20 explicit values), explicit mode values are easier to reason about, validate in Storybook, and ship without a second code path.

The scale started at six presets and was reduced to four after feedback that six was too many for an initial offering and that some adjacent names were ambiguous.

Preset names use a roundness-amount scale (subtlepronounced) rather than t-shirt sizes or shape words (sharp, pill, etc.). That avoids colliding with the underlying --wpds-border-radius-* token sizes (xsxl) and avoids overpromising a specific corner shape on larger surfaces (e.g. a card in the default preset is gently rounded, not literally "sharp"). none is kept as the one literal, unambiguous value.

How

  • border.json: Each of the five radius primitives (xs, sm, md, lg, xl) defines $extensions.mode overrides for all four presets (corner-radius-none, -subtle, -moderate, -pronounced). The xl primitive (page and app shell surfaces) is the newest addition and is brought into the preset system here so shells scale alongside the other steps. subtle is the default and matches the static base values, but is authored explicitly like the others (no longer a no-op baseline). The tokens/modes/*.json files and prebuilt CSS are generated from these.
  • terrazzo.config.ts: Added a modeSelectors entry per preset, each gated on its [data-wpds-corner-radius="…"] attribute.
  • ThemeProvider: New cornerRadius prop (a CornerRadiusPreset string); resolves with inheritance (default subtle) and always writes data-wpds-corner-radius (including subtle).
  • useThemeProviderStyles: Resolves the preset into resolvedSettings; no runtime --wpds-border-radius-* emission.
  • Storybook: Design System Theme toolbar control for corner radius; preset <select> in the Example Application demo, whose "General" card now includes InputControl, SelectControl, and a Save Button so the radius change is demonstrable across input and control sizes alongside cards; falsy toolbar globals coerced to undefined so invalid values like '' are not passed through.
  • Docs: README + CHANGELOG updated; CornerRadiusPreset exported from @wordpress/theme.

Preset scale

Preset xs sm md lg xl
none 0 0 0 0 0
subtle (default) 1 2 4 8 12
moderate 6 8 12 16 20
pronounced 18 20 22 24 26

subtle mirrors the existing static radii. Toward pronounced, the smaller primitives climb steeply (e.g. xs 1 → 18) while the larger surfaces grow more gently (lg 8 → 24, xl 12 → 26), so compact controls become strongly rounded while cards and shells stay tastefully — not excessively — round.

Test plan

  • Open Design System → Theme → Theme Provider → Example Application in Storybook
  • Use the Theme toolbar (Corner radius) and/or the in-story <select> to switch between None / Subtle / Moderate / Pronounced and confirm Button, Card, Notice, Tabs, and the form fields (inputs, select) update
  • Pay attention to buttons and inputs vs cards/dialogs and shell surfaces — at pronounced, compact controls should round up strongly while cards and shells stay moderately rounded
  • Confirm color and background controls still work alongside corner radius
  • Verify default (subtle) matches pre-existing border-radius appearance
  • Confirm a portalled component (e.g. Dialog or Tooltip) that renders its own ThemeProvider picks up that provider's preset

Screenshots

Screen.Recording.2026-06-11.at.15.44.09.mov

Use of AI

Made with Cursor

@jameskoster
jameskoster requested a review from a team May 29, 2026 13:24
@jameskoster
jameskoster requested a review from a team as a code owner May 29, 2026 13:24
@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. Design System Issues related to the system of combining components according to best practices. [Package] Theme /packages/theme labels May 29, 2026
@jasmussen

Copy link
Copy Markdown
Contributor

I like it! Can I feed it arbitrary values? Maybe I want everything pill-shaped (i.e. border-radius: 9999px;)

@github-actions

github-actions Bot commented May 29, 2026

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

github-actions Bot commented May 29, 2026

Copy link
Copy Markdown

Size Change: +170 B (0%)

Total Size: 8.59 MB

📦 View Changed
Filename Size Change
build/modules/boot/index.min.js 52.8 kB +99 B (+0.19%)
build/scripts/theme/index.min.js 22.1 kB +71 B (+0.32%)

compressed-size-action

@github-actions

github-actions Bot commented May 29, 2026

Copy link
Copy Markdown

Flaky tests detected in 9f6c1c0.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/27355771890
📝 Reported issues:

@jameskoster

Copy link
Copy Markdown
Contributor Author

cornerRadius applies to the whole radius scale, so you can't target one specific component like Button and say "I want this to be pill shaped". That is a valid request though, and one we should support, but at this stage I'm unsure how best to approach it.

Would we want to allow per-component control, or should the chosen 'pill' design language apply to other things like inputs and chips? Would it be additive to the chosen radius preset, and how does that relationship work? A simpler approach could be an additional preset with large enough values at the low end to ensure things like buttons are pilled regardless. On balance I think this feature would need to be explored separately.

@mirka mirka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also add this option to the Theme tool in the toolbar.

Comment thread packages/theme/src/theme-provider.tsx Outdated
@jasmussen

Copy link
Copy Markdown
Contributor

Would we want to allow per-component control, or should the chosen 'pill' design language apply to other things like inputs and chips?

I've always thought of this as there being a single default that is set somewhere globally that all inherit, and then a local prop that can be explicitly set. Use case: I have a particular design where I want 3 pill shaped buttons and one that is perfectly sharp. For example: a smart home dashboard where the three lamps are ON, and the 4th button is OFF. Slightly contrived, yes, but IMO valid.

What do we do for other theme props, can they be set once globally, then overridden locally? What do other design systems do?

@jameskoster

Copy link
Copy Markdown
Contributor Author

@jasmussen Agree it's valid but I think it's something to figure out separately because it focuses on individual components whereas this PR is about applying corner radius globally. I did add a couple of extra presets though, including 2xl which produces almost-pill-shaped buttons:

Screenshot 2026-06-01 at 15 45 40 Screenshot 2026-06-01 at 15 43 22 Screenshot 2026-06-01 at 16 01 34

Happy to continue tweaking values, but for true pill shapes I think that might be a component-level concern.

Comment thread packages/theme/terrazzo.config.ts Outdated
mode: 'corner-radius-none',
selectors: [
'[data-wpds-corner-radius="none"]',
':root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="none"])',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the note in the pull request about these being for portaled content, but I'm not sure I really follow the logic there. Those aren't :root nodes and I don't think we'd want to assume that portaled content necessarily inherits from :root styling. Those portaled contents should have their own ThemeProvider to forward the theme context into the portaled content (example). Maybe this is a similar problem to what was being explored in #78662 before we closed it due to density being dropped?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out. I’ll remove the :root:has rules and rely on [data-wpds-corner-radius="…"] + portal-local ThemeProviders.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting nuance that we need to explore and make an explicit decision on.

I see why @jameskoster initially added the :root:has() selector, and I see @aduth 's point. It really comes down to the meaning we want to give to the isRoot prop on ThemeProvider.

  1. isRoot exists only to write the handful of properties that must physically live on <html> and need to be applied outside of the React root (eg, page background, color-scheme). Border-radius has no such property.
  2. isRoot marks the whole document's theme, apply everything to the whole document.

For me, the matter is less about portalled content, and more about the potential need to consume DS tokens outside of the React app (for example, having the PHP rendered HTML in WP Admin consume the tokens and dynamically adapting to their value changing)?

But if we're never going to have "mixed" (ie React + PHP) pages, that's not really a factor. We could follow the mental model at point 1, and if we ever need to apply a specific corner radius setting on the HTML element, we could add the data-wpds-corner-radius attribute (reading from user preferences).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But if we're never going to have "mixed" (ie React + PHP) pages, that's not really a factor

Don't we already have those? IE Appearance > Fonts, Gutenberg > Experiments?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. In that case, we may want to adopt solution no. 2, ie. applying all of the DS tokens from a root ThemeProvider to the its document element

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since solution 2 is about making the whole token surface behave consistently on , not just radius, do ou think we should handle it in a separate PR?

@ciampo ciampo Jun 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solution 2 is already what's currently in place for color and cursor tokens, so it would just be a matter of restoring the additional :root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="none"]) selector in the terrazzo config.

@aduth this goes against your initial comment, although the framing is different: we'd be adding it back for the reasons highlighted in this comment (and not for portalled content)

@aduth aduth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting to get into nitpick territory with the discussion about cornerRadius option shape, but generally this is looking good from my technical point-of-view 👍

Comment thread packages/theme/src/context.ts Outdated
onChange={ ( e ) => setBg( e.target.value ) }
/>
</label>
<label

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: I wonder if we should just enable the Theme options for this screen and expect people to pick the corner radius from the dropdown?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we update the Theme options to support custom colors it'd be the way to go. But until then I think the Theme options would interfere with the color pickers in this story?

@ciampo

ciampo commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

I haven't looked at the code yet, but I'll share my thoughts re. global vs per-component settings"

Would we want to allow per-component control, or should the chosen 'pill' design language apply to other things like inputs and chips?

I've always thought of this as there being a single default that is set somewhere globally that all inherit, and then a local prop that can be explicitly set. \

I can think of two approaches:

  1. set value on ThemeProvider as a global setting. If in need of exceptions, override that specific value via a nested ThemeProvider. IMO this works well if such exceptions are rare, ie. if we assume that generally all UI should share a similar "corner radius" vibe;
  2. if, instead, mixing and matching different corner radii is something we expect to do consistently/systematically (and that's a design-driven decision), it should applied as an individual component prop where necessary (similarly to how we already expose size related props).

A simpler approach could be an additional preset with large enough values at the low end to ensure things like buttons are pilled regardless. On balance I think this feature would need to be explored separately.

This could work, especially for the scenario 1 above.

@jameskoster
jameskoster force-pushed the add-theme-provider-corner-radius branch from 14d26b0 to 2f4ab99 Compare June 4, 2026 16:32
Comment thread packages/theme/src/context.ts Outdated
Comment thread packages/theme/src/types.ts Outdated
Comment thread storybook/addons/design-system-theme/manager.ts Outdated
Comment thread packages/theme/terrazzo.config.ts

@ciampo ciampo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rebase on top of latest trunk and also update the PR description to be up to date with the latest code changes:

  • The "Preset scale (tapered)" table is missing xl and 2xl;
  • The data-wpds-corner-radius is now always added (the description says it's omitted for sm)
  • The part about testing portalled content inheriting the root presets is stale after the recent changes. Portalled content is expected to render dedicated ThemeProvider
<div
data-wpds-theme-provider-id={ instanceId }
data-wpds-root-provider={ isRoot }
data-wpds-corner-radius={ cornerRadiusPreset }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a data-* attribute feels like the right approach, given that we know the values of the DS tokens for all presets in advance.

If in the future we will allow arbitrary values (ie. not presets), we will have to compute the DS tokens at runtime, and output them alongside other dynamically computed DS tokens (such as color).

The current setup is future-compatible with this possibility, so I think we're good :)

Comment thread packages/theme/CHANGELOG.md Outdated
Comment thread storybook/addons/design-system-theme/manager.ts Outdated
@jameskoster
jameskoster force-pushed the add-theme-provider-corner-radius branch from 5513953 to 7082000 Compare June 5, 2026 14:30
@jameskoster
jameskoster force-pushed the add-theme-provider-corner-radius branch from 7082000 to ff06634 Compare June 9, 2026 14:29
Comment thread storybook/decorators/with-design-system-theme.tsx Outdated
Comment thread packages/theme/src/theme-provider.tsx Outdated
cornerRadius,
} );

const cornerRadiusPreset = resolvedSettings.cornerRadius ?? 'sm';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up idea: update useThemeProviderStyles so that the resolved settings can never be undefined, meaning that the fallback to sm would happen only in one place (less duplication, less opportunity for drift)

Comment thread packages/theme/src/types.ts Outdated
@@ -1,5 +1,7 @@
import { type ReactNode } from 'react';

export type CornerRadiusPreset = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linking to previous conversations, I wonder if having both token names AND the cornerRadius settings use the same t-shirt sizes could confuse consumers.

What about using more semantic names for cornerRadius such as sharp/subtle/rounded/round/pill .. ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good point, I feel that tension every time I look at the table in the PR description haha.

I made an attempt to update this in 79c4be8 but quickly realised the names felt anchored to smaller elements which made them feel off considering the whole UI. For instance Cards do not feel 'sharp' with 8px radius when sharp mode is active. "Sharp" implies the entire UI should be very low radius.

So I tried a slightly different approach in cd55880;

none · subtle · soft · moderate · generous · pronounced

WDYT?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still very much like an escape hatch for arbitrary values for this one, kind of like font size for text. Not blocking this PR in any way shape or form, just wondering: can we have such a one? Also unique to radius insofar as any arbitrarily non-percentage-based value will create a pill-shape, which is often useful.

@ciampo ciampo Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we discussed and agreed that in the future we'll want to explore supporting more granular/arbitrary values (ie. any number ≥ 0).

Technically it should be feasible, but the challenge IMO is to understand how to map one number internally to the full set of radii. Ie. do they all scale linearly with that number? Is it more nuanced (ie. exponential)? Does it apply to all radii, or some radii won't be affected (eg none will always be 0)

Not sure if you prefer to merge this PR and explore separately, or you'd prefer exploring those options in this PR to have a stronger reassurance that the direction taken is good.

In any case, we'll need to have a clear direction in mind in time for the 7.1 release (RC release on 5th of August), since we'll mark the theme package as stable and ready for use.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong opinions or blockers so long as we don't paint ourselves into a corner one way or the other!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quickly realised the names felt anchored to smaller elements which made them feel off considering the whole UI. [...] So I tried a slightly different approach

none · subtle · soft · moderate · generous · pronounced

WDYT?

Definitely an improvement over thisrt sizes, although I think there is still some ambiguity:

  • the difference / order betweensubtle and soft may not be obvious;
  • same re. generous and pronounced

Especially since we're also planning on allowing arbitrary numbers, I wonder if we could do with fewer presets, dropping from 6 to 4: 'none' | 'subtle' | 'moderate' | 'pronounced'.

We could also map those presents internally to a numeric value and apply the math to the scales, as the bridging work towards allowing any arbitraty value.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming the desire for pill shapes applies only to buttons and controls I think we should just bake that into one of the presets. Then we wouldn't need the escape hatch?

dropping from 6 to 4

Sure. I'll work on this now.

@jameskoster

Copy link
Copy Markdown
Contributor Author

@ciampo @jasmussen I reduced the number of presets and updated the 'Pronounced' one to produce pill shaped buttons / controls. PR description/video updated.

jameskoster and others added 14 commits June 12, 2026 13:39
Co-authored-by: Andrew Duthie <1779930+aduth@users.noreply.github.com>
Use an empty object for the context default so it matches the prop default
and lets the resolved preset fall back to sm via useThemeProviderStyles.

Co-authored-by: Cursor <cursoragent@cursor.com>
The nested `{ preset }` shape was unnecessary for a single value and made the API more verbose than needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use Default for the implicit preset, add explicit sm, and order options from none through 2xl.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the t-shirt-sized cornerRadius presets (sm/md/lg/xl/2xl) with
semantic names (sharp/subtle/soft/rounded/pill) to avoid confusion with
the underlying border-radius token sizes. `none` is unchanged and the
default is now `sharp`.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rename the cornerRadius presets to describe the overall amount of
roundness (none, subtle, soft, moderate, generous, pronounced) rather
than an absolute corner shape, which read as specific to small controls
and overpromised on larger surfaces. Default is now `subtle`.

Co-authored-by: Cursor <cursoragent@cursor.com>
Trim the cornerRadius scale from six presets to four (none, subtle,
moderate, pronounced) to simplify the initial offering and remove
ambiguity between adjacent names. Default remains `subtle`.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the prose in the General card with text inputs, a select, and a
Save button so the cornerRadius presets are demonstrable across input
and control sizes alongside cards and buttons.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The feature has not shipped yet, so it belongs in the unreleased section rather than 0.15.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
Scale the new xl border-radius token with the cornerRadius presets so page
and app shell surfaces respond to the ThemeProvider setting like the other
steps (subtle 12px, moderate 20px, pronounced 26px; none resets to 0).

Co-authored-by: Cursor <cursoragent@cursor.com>
@jameskoster
jameskoster force-pushed the add-theme-provider-corner-radius branch from bd1169a to ef39823 Compare June 12, 2026 12:49
@jameskoster
jameskoster enabled auto-merge (squash) June 12, 2026 12:58

@ciampo ciampo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

I'll follow-up on #78816 (comment) in a separate PR

@jameskoster
jameskoster merged commit ef0f9e2 into trunk Jun 12, 2026
44 checks passed
@jameskoster
jameskoster deleted the add-theme-provider-corner-radius branch June 12, 2026 13:56
@github-actions github-actions Bot added this to the Gutenberg 23.5 milestone Jun 12, 2026
ciampo added a commit that referenced this pull request Jun 12, 2026
Restore the `:root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="…"])`
selectors for each corner-radius preset mode in the Terrazzo config (and the
generated prebuilt CSS) so a root `ThemeProvider` applies the
`--wpds-border-radius-*` tokens to the document element, consistent with how
`color` and `cursor` tokens already behave.

Follow-up to #78816 (comment)
ciampo added a commit that referenced this pull request Jun 15, 2026
Restore the `:root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="…"])`
selectors for each corner-radius preset mode in the Terrazzo config (and the
generated prebuilt CSS) so a root `ThemeProvider` applies the
`--wpds-border-radius-*` tokens to the document element, consistent with how
`color` and `cursor` tokens already behave.

Follow-up to #78816 (comment)
ciampo added a commit that referenced this pull request Jun 15, 2026
Restore the `:root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="…"])`
selectors for each corner-radius preset mode in the Terrazzo config (and the
generated prebuilt CSS) so a root `ThemeProvider` applies the
`--wpds-border-radius-*` tokens to the document element, consistent with how
`color` and `cursor` tokens already behave.

Follow-up to #78816 (comment)
ciampo added a commit that referenced this pull request Jun 16, 2026
…oviders (#79153)

* ThemeProvider: forward cornerRadius preset to :root for root providers

Restore the `:root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="…"])`
selectors for each corner-radius preset mode in the Terrazzo config (and the
generated prebuilt CSS) so a root `ThemeProvider` applies the
`--wpds-border-radius-*` tokens to the document element, consistent with how
`color` and `cursor` tokens already behave.

Follow-up to #78816 (comment)

* Update CHANGELOG with PR number

* Shorten CHANGELOG entry

* ThemeProvider: test cornerRadius forwarding to the document root

Add coverage for the prebuilt `:root:has( [data-wpds-root-provider='true']… )`
rule: a root provider forwards its corner-radius preset to the document
element, while a non-root provider does not. Loads the prebuilt design-token
CSS (where the border-radius preset values live) to exercise the cascade.

* ThemeProvider: hoist border-radius test constant to module scope

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>
peterwilsoncc pushed a commit to peterwilsoncc/gutenberg-build that referenced this pull request Jun 16, 2026
…oviders (#79153)

* ThemeProvider: forward cornerRadius preset to :root for root providers

Restore the `:root:has([data-wpds-root-provider="true"][data-wpds-corner-radius="…"])`
selectors for each corner-radius preset mode in the Terrazzo config (and the
generated prebuilt CSS) so a root `ThemeProvider` applies the
`--wpds-border-radius-*` tokens to the document element, consistent with how
`color` and `cursor` tokens already behave.

Follow-up to WordPress/gutenberg#78816 (comment)

* Update CHANGELOG with PR number

* Shorten CHANGELOG entry

* ThemeProvider: test cornerRadius forwarding to the document root

Add coverage for the prebuilt `:root:has( [data-wpds-root-provider='true']… )`
rule: a root provider forwards its corner-radius preset to the document
element, while a non-root provider does not. Loads the prebuilt design-token
CSS (where the border-radius preset values live) to exercise the cascade.

* ThemeProvider: hoist border-radius test constant to module scope

---

Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: aduth <aduth@git.wordpress.org>

Source: WordPress/gutenberg@e0d24f5
pento pushed a commit to WordPress/wordpress-develop that referenced this pull request Jul 14, 2026
This updates the pinned commit hash of the Gutenberg repository from `98a796c8780c480ef7bcfe03c42302d9564d785c` (version `23.4.0`) to `b5574edc8a952b2f1e528693761a97b1b3b580eb` (version `23.5.0`).

A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.4.0..v23.5.0.

The following commits are included:

- Site Editor: Fix admin color scheme bleeding through the mobile content scrollbar gutter (WordPress/gutenberg#79056)
- Build: Add GUTENBERG_CHECK_INSTALLED_DEPS env var to opt out of installed-deps check (WordPress/gutenberg#79068)
- Media Editor: Keep the modal skeleton pinned in the editor flow (WordPress/gutenberg#79070)
- Editor: Hide cmd palette shortcut in document bar when admin bar is shown (WordPress/gutenberg#79060)
- Math format: seed LaTeX input from the current selection (WordPress/gutenberg#79052)
- Omnibar: Rename experiment to match iteration issue (WordPress/gutenberg#79074)
- Theme: Add Figma scopes to element size tokens (WordPress/gutenberg#79032)
- Admin bar in editor experiment: show site icon instead of dashicon if set (WordPress/gutenberg#79049)
- Math format: Simplify the onClick handler and use canonical selected-text capture (WordPress/gutenberg#79081)
- Style Engine: Export public TypeScript types (WordPress/gutenberg#79079)
- Image: Fix pasted images stretching when dimensions are preserved (WordPress/gutenberg#79067)
- Update `@ariakit/react` to 0.4.29 (WordPress/gutenberg#79055)
- Navigation: Use block context to determine whether Page List is nested in Submenu (WordPress/gutenberg#79048)
- Fix code editor cursor jump on remote RTC updates (WordPress/gutenberg#79005)
- Fix: Custom HTML block preview keeps expanding when iframe uses height:100vh (WordPress/gutenberg#78677)
- Image block: don't show crop icon while image is uploading (WordPress/gutenberg#79103)
- Media Editor Modal: Add a loading and simple error state (WordPress/gutenberg#79101)
- Add React 19 as an experimental flag (WordPress/gutenberg#79077)
- Try: Remove Tab (Tab list item) block  (WordPress/gutenberg#77439)
- Navigation block: Fix responsive style states for typography settings (WordPress/gutenberg#79072)
- Popover: add open/close motion and fix close re-anchor (WordPress/gutenberg#78885)
- Remove unused build:profile-types and component-usage-stats scripts (WordPress/gutenberg#79113)
- RTC: Allow disabling collaboration by post type (WordPress/gutenberg#78984)
- Omnipresent Toolbar: increase top padding in sidebar nav title (WordPress/gutenberg#79083)
- Add support for aspect ratio and related controls in viewport states (WordPress/gutenberg#78795)
- Fix responsive element styles front end output (WordPress/gutenberg#79135)
- BaseControl: add text-wrap: pretty (WordPress/gutenberg#79112)
- wp-build: Return null from getPackageInfo on resolve miss instead of throwing (WordPress/gutenberg#78715)
- Global styles revisions: replace active text with badge (WordPress/gutenberg#79137)
- Editor: Disable saving while a non-post entity is being saved (WordPress/gutenberg#79069)
- Add xl border radius token for page shell surfaces. (WordPress/gutenberg#78913)
- Add corner radius presets to ThemeProvider (WordPress/gutenberg#78816)
- theme: rename `bg`/`fg` design token groups to `background`/`foreground` (WordPress/gutenberg#79098)
- Theme: Enforce sRGB seed-color input contract for ThemeProvider (WordPress/gutenberg#79148)
- Theme: Rename `--wpds-color-stroke-focus-brand` token to `--wpds-color-stroke-focus` (WordPress/gutenberg#79125)
- refactor: Move 'glob' dependency to appropriate workspaces (WordPress/gutenberg#79145)
- Add lock-unlock route as a workspace and update dependencies (WordPress/gutenberg#79138)
- Dependabot: Add npm entry so security update PRs can be rebased (WordPress/gutenberg#79076)
- refactor: rename '@wordpress/lock-unlock' to '@wordpress/routes-lock-unlock' across the codebase (WordPress/gutenberg#79163)
- Panel: Recommend CollapsibleCard for use outside the block inspector (WordPress/gutenberg#78863)
- Editor: Migrate FlatTermSelector to UI Stack component (WordPress/gutenberg#78659)
- design-system-mcp: Remove Storybook dependency in TypeScript types (WordPress/gutenberg#79132)
- Bump rollup from 4.55.1 to 4.59.0 (WordPress/gutenberg#75964)
- Media modal: small tweak to gutters (WordPress/gutenberg#79168)
- Icon Block: Add flip and rotate transformation controls (WordPress/gutenberg#77017)
- Media Editor: Magnify the crop to fill the canvas (WordPress/gutenberg#79044)
- Update capitalisation and spelling within the welcome tour (WordPress/gutenberg#53028)
- Feature: Need to add “Show More” / “Show Less” toggle in Note. (WordPress/gutenberg#77446)
- Correct behaviour of flex child fixed width and introduce max width option (WordPress/gutenberg#79073)
- Eslint: move deps from root into tools/eslint and packages/eslint-plugin (WordPress/gutenberg#79110)
- Gallery: Hide Navigation button type when lightbox editing is disabled (WordPress/gutenberg#79147)
- Add more React internals polyfills (WordPress/gutenberg#79142)
- [DataViewsPicker]: `DataViewsPicker.BulkActionToolbar` now renders only the bulk-selection info and action buttons (WordPress/gutenberg#79180)
- Block Editor: Fix potential crash from 'useBlockToolbarPopoverProps' (WordPress/gutenberg#79178)
- Tabs: Simplify layout and prune redundant block supports (WordPress/gutenberg#77646)
- e2e: Retry transient theme activation failures in pages spec (WordPress/gutenberg#79171)
- Revisions screen with picker-activity layout (WordPress/gutenberg#77333)
- chore: remove glob from root pkg json (WordPress/gutenberg#79183)
- Core Data: Don't use 'useQuerySelect' in 'useEntityRecord(s)' hooks (WordPress/gutenberg#76198)
- Revisions: Ignore empty `[]/{}` meta values in the Meta diff panel (WordPress/gutenberg#79185)
- UI Field.Description: add `text-wrap: pretty` (WordPress/gutenberg#79143)
- Blocks: Migrate Markdown converter from showdown to marked (WordPress/gutenberg#77953)
- Bump shivammathur/setup-php (WordPress/gutenberg#79193)
- Icons block: insert an icon by default (WordPress/gutenberg#79111)
- Theme: Add tests for ThemeProvider and useThemeProviderStyles (WordPress/gutenberg#79126)
- Icon block: Move flip controls to toolbar group. (WordPress/gutenberg#79192)
- Packages: Fix the published dependency surface of npm packages (WordPress/gutenberg#79095)
- Block Library: Remove unused Babel optimization plugin (WordPress/gutenberg#79162)
- Automated Testing: Use static value for IS_GUTENBERG_PLUGIN env setup (WordPress/gutenberg#79201)
- Scripts: Avoid tests getting published to npm (WordPress/gutenberg#79204)
- Theme: Add disabled variants for brand and error interactive color tokens (WordPress/gutenberg#79124)
- Fix: State styles – clear `background-image` when hover sets a solid `background-color` (WordPress/gutenberg#78992)
- Media editor: Snap crop handles to source pixels (WordPress/gutenberg#79139)
- Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay (WordPress/gutenberg#79202)
- Template Part: Remove restriction on tabs / inspector fills (WordPress/gutenberg#79181)
- Editor: Guard PostViewLink against post types without a labels object (WordPress/gutenberg#79160)
- Media editor modal: Fix keyboard resizing for locked aspect-ratio crops (WordPress/gutenberg#79207)
- wp-build: Resolve @wordpress/build from __dirname in resolve-miss test (WordPress/gutenberg#79208)
- Theme: forward ThemeProvider cornerRadius preset to :root for root providers (WordPress/gutenberg#79153)
- Refactor Prettier configuration and update dependencies (WordPress/gutenberg#79219)
- chore: Add missing root devDependencies for WordPress packages (WordPress/gutenberg#79221)
- Refactor: Update  npm-package-json-lint configuration (WordPress/gutenberg#79223)
- Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)
- Plugin: Bump minimum required WordPress version to 6.9 (WordPress/gutenberg#79196)
- Autocomplete: Add Group and GroupLabel primitives (WordPress/gutenberg#78901)
- Pullquote: Migrate to text-align block support (WordPress/gutenberg#79225)
- Style Book: Fix crash when previewing variations for blocks without examples (WordPress/gutenberg#79131)
- Theme: Add stroke-surface tokens for the caution tone (WordPress/gutenberg#79198)
- Icon block: Default to core/info via block.json instead of an insert-time effect (WordPress/gutenberg#79212)
- Backport changelog and package version updates from wp/latest (WordPress/gutenberg#79234)
- V2 Site Editor: Fix template edit routes (WordPress/gutenberg#79230)
- Grid: Prepare `@wordpress/grid` for npm publishing as experimental 0.1.0 (WordPress/gutenberg#79071)
- File Block: Replace on-mount downloadButtonText effect with a default variation (WordPress/gutenberg#79236)
- Components, DataViews: Adopt --wpds-dimension-size-* tokens (WordPress/gutenberg#79093)
- Refactor: move stylelint config and deps to tools/stylelint workspace (WordPress/gutenberg#79226)
- Revert "Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)" (WordPress/gutenberg#79243)
- Edit Post: Refactor and cleanup InitPatternModal component (WordPress/gutenberg#79190)
- Widget Primitives: extract into `@wordpress/widget-primitives` (WordPress/gutenberg#79134)
- chore: remove @wordpress/vips dependency from root (WordPress/gutenberg#79249)
- design-system-mcp: Improve README overview and setup instructions (WordPress/gutenberg#79238)
- Components: Re-land WPDS border token migration with Emotion-safe comments (WordPress/gutenberg#79244)
- Theme: Provide design-system token defaults without a runtime `<ThemeProvider>` (WordPress/gutenberg#78664)
- List View block support: Hide list tab when allowedBlocks is empty, with no children (WordPress/gutenberg#78932)
- Handle WP.org SVN missing tag warnings (WordPress/gutenberg#79257)
- CI: Run PHP unit tests on PHP 8.4 and 8.5 (WordPress/gutenberg#79260)
- mark @types/react as an optional peer dependency (WordPress/gutenberg#79272)
- Block bindings : add support to list-item (WordPress/gutenberg#78947)
- document widget-modules endpoint experiment gate (WordPress/gutenberg#79264)
- Storybook: Upgrade Storybook to 10.4 (WordPress/gutenberg#77382)
- Core Data: Cleanup edits matching persisted record on undo/redo (WordPress/gutenberg#77100)
- Notes: Simplify 'Show more/less' collapse logic (WordPress/gutenberg#79261)
- File Block: Combine audio/video/image to file transforms (WordPress/gutenberg#79242)
- Button: Use font weight token (WordPress/gutenberg#79278)
- Avoid dirtying related navigation entities during passive render (WordPress/gutenberg#79000)
- Theme: Skip serializing `data-wpds-root-provider="false"` on non-root providers (WordPress/gutenberg#79253)
- Patterns: Migrate modals to @wordpress/ui components and fix rename input width (WordPress/gutenberg#79233)
- ESLint, UI, Components: Mark `Tooltip` from `@wordpress/ui` as recommended (WordPress/gutenberg#78693)
- Theme: differentiate `--wpds-color-fg-interactive-{brand,error}-active` vs resting state tokens (WordPress/gutenberg#79151)
- Document AlertDialog as ConfirmDialog successor in Storybook (WordPress/gutenberg#79293)
- Elements: Accept both md5 and sequential `wp-elements-*` class names in tests (WordPress/gutenberg#79300)
- Cover block: add media editor modal (WordPress/gutenberg#79258)
- Blocks: Use positional sprintf placeholders in avatar, comment, and search renderers (WordPress/gutenberg#79290)
- DataForm: Fix panel field control overflow clipping and remove button overrides (WordPress/gutenberg#79275)
- Experiment: Editor Inspector with DataForm - remove revision panel and add link (WordPress/gutenberg#79195)
- Upload Media: Add error taxonomy, localized messages, and dev diagnostics (WordPress/gutenberg#74917)
- Block Fields: Fix crash resolving pattern overrides bindings (WordPress/gutenberg#79092)
- Media: Rename HEIC companion metadata key to source_image (WordPress/gutenberg#79307)
- DataForm: Align `label-side` gap of `panel` layout with `regular` layout (WordPress/gutenberg#79311)
- Theme: Add design tokens maintainer's guide documentation (WordPress/gutenberg#79157)
- Remove ObliviousHarmony from CODEOWNERS for packages/env (WordPress/gutenberg#79308)
- Widget Dashboard: extract into `@wordpress/widget-dashboard` (WordPress/gutenberg#79268)
- Sync editor settings in layout effect (fixes autosave e2e) (WordPress/gutenberg#78799)
- Remove Lighthouse patch (WordPress/gutenberg#79319)
- Editor: Remove orphaned editor-help component leftovers (WordPress/gutenberg#79324)
- Plugins API: Fix the plugin 'render' property validation (WordPress/gutenberg#79315)
- Components: Improve Menu unit tests performance by removing sleeps (WordPress/gutenberg#79295)
- UI Button: Fix loading state in forced colors (WordPress/gutenberg#78820)
- Media Editor: Fix crop canvas pinch zoom (WordPress/gutenberg#79332)
- Docs: Fix typos in README files (WordPress/gutenberg#79331)
- Media Editor: Align crop settle state with transition completion (WordPress/gutenberg#79339)
- KSES: Allow SVG-specific presentation attributes in safe_style_css (WordPress/gutenberg#79172)
- Widget Primitives: decouple discovery from a hardcoded endpoint (WordPress/gutenberg#79322)
- Site Editor: Save hub button styling while saving (WordPress/gutenberg#79287)
- Migrate compose package to TypeScript  (WordPress/gutenberg#70618)
- Vips: bump wasm-vips to 0.0.18 for high-bit-depth AVIF decoding (WordPress/gutenberg#79179)
- Experimental: Expand Editor Inspector: Use DataForm experiment to templates (WordPress/gutenberg#76934)
- Site Editor: Change 'Identity' nav item position (WordPress/gutenberg#79292)
- Block Bindings: Preserve nested lists when binding List Item content (WordPress/gutenberg#79346)
- Site Editor: Handle `aria-current` natively in `SidebarNavigationItem` (WordPress/gutenberg#79305)
- RichText: Fix duplicated format wrappers when typing inside an applied format (WordPress/gutenberg#79091)
- Vips: inline WASM with compact UTF-8 binary encoding instead of base64 (WordPress/gutenberg#79188)
- View Config API and REST Endpoint: make them core ready (WordPress/gutenberg#79347)
- Validation: Add a published-dependency audit script (WordPress/gutenberg#79094)
- Reconcile feature-detection docblock with implemented checks (WordPress/gutenberg#75851)
- fix typo in block-filter.md file (WordPress/gutenberg#79367)
- Search block: Add opt-in support for the semantic <search> element (WordPress/gutenberg#78485)
- Dashboard: revert H1 to "Dashboard" and fix heading hierarchy (WordPress/gutenberg#79251)
- Components: Make ResizableBox children prop optional (WordPress/gutenberg#79370)
- Grid overlays: Use canvas iframe window for viewport visibility detection (WordPress/gutenberg#79255)
- Widget Primitives: make contract and story docs host-agnostic (WordPress/gutenberg#79358)
- Use symbols for style states to avoid property clashes (WordPress/gutenberg#79210)
- Ignore markdown linting for backport-changelog MD files (WordPress/gutenberg#79392)
- Add media control icons (WordPress/gutenberg#78987)
- Icons: Use snake_case `file_path` key in icon registry (WordPress/gutenberg#79100)
- Editor: Use `Stack` for post summary (WordPress/gutenberg#79397)
- Theme: Run stylelint plugin tests via the Node API (WordPress/gutenberg#79199)
- Command Palette: Exclude assets from block editor settings endpoint (WordPress/gutenberg#79396)
- List item: Remove orphaned convertToListItems util (WordPress/gutenberg#79400)
- Video: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79371)
- Site Editor: Introduce isHidden prop for SidebarNavigationItem (WordPress/gutenberg#79352)
- Post Editor: Use the correct directory for recent preload improvements (WordPress/gutenberg#79359)
- Configure Flakiness.io reporting for e2e tests (WordPress/gutenberg#79173)
- View Config: request a subset of properties with the `_fields` parameter (WordPress/gutenberg#79355)
- Storybook: Reorganize design system introduction for first touch-point usefulness (WordPress/gutenberg#79360)
- Block editor: Convert utility modules to TypeScript (WordPress/gutenberg#79323)
- devops: configure report auto-upload for flakiness.io dashboard (WordPress/gutenberg#79411)
- UI: Simplify focus ring styles (WordPress/gutenberg#78823)
- TextControl: Hard deprecate 40px default size (WordPress/gutenberg#79386)
- devops: upload unit test results to flakiness dashboard (WordPress/gutenberg#79414)
- Clarify Core-specific steps when bumping support (WordPress/gutenberg#79416)
- Pattern editing: show root block identity when editing pattern sections (WordPress/gutenberg#79417)
- Patterns: Add a missing gap to 'Enable overrides' modal (WordPress/gutenberg#79421)
- Audio: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79423)
- Experimental: Expand Editor Inspector: Use DataForm experiment to template parts (WordPress/gutenberg#79399)
- Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)
- Block Editor: Allow overriding `disableContentOnlyForTemplateParts` setting (WordPress/gutenberg#79191)
- Mark all controlled/mode block changes non-persistent (WordPress/gutenberg#79350)
- Revert "Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)" (WordPress/gutenberg#79429)
- Popover: Align transition state styles (WordPress/gutenberg#79410)
- DataForm panel layout: fix double-clicking a field row leaving the flyout stuck open (WordPress/gutenberg#79348)
- Classic Block: Port PHPUnit coverage for wp_declare_classic_block_necessary (WordPress/gutenberg#79434)
- Fields: Move author fields for templates and template parts (WordPress/gutenberg#79395)
- Theme: Drop `--wpds-dimension-base` from the public token surface (WordPress/gutenberg#79254)
- Merge shared stylelint disallowed-list in components (WordPress/gutenberg#79425)
- Edit Post: Refactor MetaBoxesSection to use data hooks (WordPress/gutenberg#79433)
- View config endpoint: bring back changes from core (WordPress/gutenberg#79438)
- devops: separate environments for jest date tests (WordPress/gutenberg#79453)
- UI: Disable instant overlay popup transitions (WordPress/gutenberg#79432)
- Components: Refactor withFallbackStyles from class to function component (WordPress/gutenberg#78837)
- Automated Testing: Globally shim Element#getClientRects (WordPress/gutenberg#79353)
- Theme: Promote ThemeProvider to stable API (WordPress/gutenberg#78958)
- Automated Testing: Add babel-plugin-transform-import-meta to emulate import.meta.dirname (WordPress/gutenberg#79362)
- E2E: Support WordPress installs served from a subdirectory (WordPress/gutenberg#79166)
- Custom HTML: Fix scrollbar after tab switch in modal (WordPress/gutenberg#78571)
- Theme: apply ThemeProvider styles inline (I2) (WordPress/gutenberg#78678)
- Add flex vertical alignment tool to block inspector layout panel (WordPress/gutenberg#79426)
- Block Supports: Relocate text and bg color controls to Typography and Background panels (WordPress/gutenberg#77279)
- Add e2e coverage for pattern wrapper block identity (WordPress/gutenberg#79462)
- Storybook: Include playground stories and MDX in CI smoke tests (WordPress/gutenberg#79454)
- BoxControl: respect a consumer-supplied placeholder via inputProps (WordPress/gutenberg#79466)
- Media Fields: Ensure the current post is always included in the initial options (WordPress/gutenberg#79467)
- Global Styles: Add textShadow style support (WordPress/gutenberg#73320)
- Media Fields: Avoid focus loss when detaching the current parent (WordPress/gutenberg#79468)
- CI: Disallow new dependencies in the root package.json (WordPress/gutenberg#78616)
- Experimental: Preserve editor panel visibility in the DataForm post summary (WordPress/gutenberg#79441)
- Tabs: Pre-stabilization API cleanup and refactoring (WordPress/gutenberg#79337)
- BoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79419)
- Image Block: Remove chained entity record calls (WordPress/gutenberg#79469)
- UI: Use isomorphic layout effects (WordPress/gutenberg#79458)
- Components: add Emotion migration guardrails (WordPress/gutenberg#79442)
- devops: separate histories for different node.js versions (WordPress/gutenberg#79473)
- Components: migrate Divider to SCSS module (WordPress/gutenberg#79444)
- Block Library: unwrap Classic block migration notice experiment (WordPress/gutenberg#78165)
- Editor: Refactor AutosaveMonitor to a function component (WordPress/gutenberg#79043)
- Boot: run page `init` modules in `initSinglePage` (WordPress/gutenberg#79394)
- DataFormPostSummary: fix different `useSelect` returned values  (WordPress/gutenberg#79478)
- Icons: self declare color (WordPress/gutenberg#79320)
- Theme: Document ramp memoization contract (WordPress/gutenberg#79459)
- tools: Restrict layout effect imports in UI and theme (WordPress/gutenberg#79476)
- CI: Avoid full-history checkout for the root-dependencies check (WordPress/gutenberg#79489)
- Simplify playlist track state (WordPress/gutenberg#79448)
- prepend_to_selector: optimized with str_replace() (WordPress/gutenberg#76556)
- Components: migrate Surface to SCSS module (WordPress/gutenberg#79445)
- Docs: Add a widget anatomy doc and lighten the widget system doc (WordPress/gutenberg#79435)
- Media Editor: remove inline cropper (follow-up to WordPress/gutenberg#78653) (WordPress/gutenberg#78654)
- Grid: Add option to stretch columns with auto-fit for better layout flexibility (WordPress/gutenberg#79356)
- Guidelines: Use str_starts_with() in is_block_meta_key() (WordPress/gutenberg#79491)
- Color popover: move contrast warning notice to the bottom (WordPress/gutenberg#79512)
- BorderBoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79420)
- Remove Classic Block conversion from BlockInvalidWarning (WordPress/gutenberg#79500)
- [RTC] Add granular collaboration control (WordPress/gutenberg#79184)
- FontSizePicker: Hard deprecate 40px default size (WordPress/gutenberg#79481)
- React 19: patch to support legacy inert attribute values (WordPress/gutenberg#79475)
- Icons: Add Storybook React Vite dev dependency (WordPress/gutenberg#79506)
- QueryControls: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79485)
- Block editor: use core/registered-block in reducer tests (WordPress/gutenberg#79522)
- UI: Update @base-ui/react to 1.6.0 (WordPress/gutenberg#79408)
- Refactor: Replace strpos with str_starts_with for improved consistency (WordPress/gutenberg#79519)
- Block Library: Remove redundant parentheses around assignments (WordPress/gutenberg#79516)
- Tabs: Focus first tab when adding Tabs block (WordPress/gutenberg#79507)
- ui/IconButton: Restore default tooltip delay (WordPress/gutenberg#79505)
- FocalPointPicker: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79487)
- Components: document CSS module class composition (WordPress/gutenberg#79490)
- BorderControl: Hard deprecate 40px default size (WordPress/gutenberg#79418)
- Components: migrate Truncate to SCSS module (WordPress/gutenberg#79446)
- Show the admin bar in the Post and Site Editor by default (WordPress/gutenberg#79197)
- SearchControl: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79538)
- Stylelint: Enforce module class naming in UI packages (WordPress/gutenberg#79504)
- Components: Add missing descriptions for design system components (WordPress/gutenberg#79460)
- LetterSpacingControl: Hard deprecate 40px default size (WordPress/gutenberg#79533)
- Experiments: Move screen under Settings, drop top-level Gutenberg menu and Demo page (WordPress/gutenberg#79456)
- Tabs: Combine and cleanup toolbar controls (WordPress/gutenberg#79537)
- Tabs: Fix dirty editor state on mount caused by tab-list sync (WordPress/gutenberg#79540)
- RTC: fix undo / redo breakage when plug-in with metabox is loaded (WordPress/gutenberg#79510)
- Block Supports: Guard elements hover rendering against missing hover selector (WordPress/gutenberg#79511)
- Commands: add toggle for content-only pattern/template part editing (WordPress/gutenberg#78383)
- Integrate Resizable Editor with Device Preview and add Responsive editing (WordPress/gutenberg#75121)
- Pattern editing: use section block selector for pattern display identity (WordPress/gutenberg#79565)
- Commands: Suggest pattern editing toggle for selected patterns (WordPress/gutenberg#79566)
- Tabs: Select tab panel when caret moves into tab (WordPress/gutenberg#79558)
- Fix unsetting values in viewport states for grid and constrained layouts (WordPress/gutenberg#79520)
- Add layout and block spacing support to Latest Posts block (WordPress/gutenberg#77989)
- Widget inserter: more accurate widget previews (WordPress/gutenberg#79517)
- Tabs: Remove unnecessary callback memoization (WordPress/gutenberg#79567)
- Icons: Add PHP method(s) for rendering inline SVG icons from the registry (WordPress/gutenberg#78332)
- Tab List: Fix render inline formatting on frontend (WordPress/gutenberg#79554)
- Divider: Restore lower border specificity (WordPress/gutenberg#79534)
- Tabs: Remove redundant block selection from Add/Remove tab actions (WordPress/gutenberg#79571)
- Icons: Fix viewBox attribute casing assertion for older WP versions (WordPress/gutenberg#79576)
- Add icon state classes to Accordion block (WordPress/gutenberg#74257)
- Pattern editing: Fade block outside the edited pattern in List View (WordPress/gutenberg#73997)
- Experiments: move long intro to content (WordPress/gutenberg#79578)
- Updating image urls (WordPress/gutenberg#79529)
- `useTypingObserver`: capture the window reference for cleanup (WordPress/gutenberg#78772)
- Tabs: Fix rich text label comparation when syncing the list (WordPress/gutenberg#79582)
- Add `PluginPostStatusInfo` in DataForm post summary (WordPress/gutenberg#79586)
- theme: Protect design tokens CSS import (WordPress/gutenberg#79551)
- TreeSelect: Hard deprecate 40px default size (WordPress/gutenberg#79550)
- Storybook: Scope Docs theme providers (WordPress/gutenberg#79496)
- Base Styles: Reapply wpds-var Sass helper (WordPress/gutenberg#79470)
- Docs: Add image hosting guidance to the documentation contributors guide (WordPress/gutenberg#79574)
- CODEOWNERS: assign widget dashboard areas to @retrofox (WordPress/gutenberg#79484)
- Automated Testing: Use three-dot diff comparison for changelog checks (WordPress/gutenberg#79548)
- Base Styles: disallow direct var(--wpds-*) usage (WordPress/gutenberg#79424)
- Abilities: Support URI schema format (WordPress/gutenberg#79555)
- LineHeightControl: Hard deprecate 40px default size (WordPress/gutenberg#79589)
- Theme: Revert ThemeProvider stable API (WordPress/gutenberg#79594)
- Experimental: Expand DataForm inspector to patterns (WordPress/gutenberg#79452)
- RTC: Fix autosave update with no content (WordPress/gutenberg#79591)
- Icons: Add APIs for collection and icon registration (WordPress/gutenberg#77260)
- TextIndentControl: Remove unnecessary __next40pxDefaultSize prop (WordPress/gutenberg#79597)
- FontFamilyControl: Hard deprecate 40px default size (WordPress/gutenberg#79593)
- Icons Registry test: Fix trigger_error suppression on WP < 7.0 (WordPress/gutenberg#79607)
- Global Styles: Migrate color palette tabs to @wordpress/ui (WordPress/gutenberg#79281)
- Experiments: Shorten the plugin settings page name (WordPress/gutenberg#79579)
- Widget Primitives: Add `WidgetAttributeField` for typed attribute schemas (WordPress/gutenberg#79544)
- Fix - Accordion: Text in a closed accordion panel cannot be found via the browser search (WordPress/gutenberg#74744)
- Icons Registry: Allow digits and underscores in icon slugs (WordPress/gutenberg#79623)
- Knowledge: Rename the Guidelines CPT storage primitive to Knowledge (WordPress/gutenberg#79149)
- Update @terrazzo/* to 2.4.0 and regenerate design tokens (WordPress/gutenberg#79627)
- Tabs: RichText handlers for adding/removing tabs (WordPress/gutenberg#79583)
- Declare @types/node explicitly and harden no-unsafe-wp-apis (WordPress/gutenberg#79626)
- Knowledge: Dissolve the Guidelines singleton into per-scope rows (WordPress/gutenberg#79263)
- Jest: Mock CSS module class names (WordPress/gutenberg#79535)
- React 19 patch: log warnings when polyfills are hit (WordPress/gutenberg#79624)
- Upgrade browserslist to ^4.28.4 (WordPress/gutenberg#79630)
- Dedupe @testing-library/dom to a single 10.4.1 in the lockfile (WordPress/gutenberg#79631)
- Theme: Restore public ThemeProvider export (WordPress/gutenberg#79620)
- Paste: move spaces out of inline formatting elements (WordPress/gutenberg#79637)
- Blocks: Add innerContent support for static inner blocks, adopt it in the HTML block (WordPress/gutenberg#79115)
- Update webpack to 5.108.1 (WordPress/gutenberg#79633)
- RangeControl: Hard deprecate 40px default size (WordPress/gutenberg#79590)
- Animated GIF to video conversion (via mediabunny) plus conversion controls (WordPress/gutenberg#78410)
- Expose widget category through the build pipeline and REST API (WordPress/gutenberg#79638)
- Button: Fix corner artifacts by using background-clip: border-box (WordPress/gutenberg#79524)
- Notes: inline (partial-text) notes via hybrid marker + strip-on-render approach (WordPress/gutenberg#78218)
- balance top padding for sidebar controls (WordPress/gutenberg#79660)
- Guidelines E2E Tests: wait for boot to load copy page (WordPress/gutenberg#79663)
- Media Editor: Use new Tabs component from the ui package, and its minimal variant (WordPress/gutenberg#79664)
- View config: Add better post type default `form` (WordPress/gutenberg#79625)
- Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)
- Revert "Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)" (WordPress/gutenberg#79667)
- Navigation Link: Fix "[object Object]" in link preview for untitled entities (WordPress/gutenberg#79616)
- Update stylelint to 16.26.1 (WordPress/gutenberg#79648)
- Remove redundant @jest-environment jsdom pragmas from unit tests (WordPress/gutenberg#79672)
- npm dedupe (WordPress/gutenberg#79618)
- E2E: Ban uuid package via ESLint, use crypto.randomUUID() instead (WordPress/gutenberg#79673)
- Jest: Add missing clsx dev dependency (WordPress/gutenberg#79677)
- Style Engine: Preserve important gradient declarations (WordPress/gutenberg#79568)
- Widget Dashboard: Refactor tile header and toolbar chrome (WordPress/gutenberg#79639)
- Widget Dashboard: Anchor settings drawer to the right and toggle it from the gear (WordPress/gutenberg#79683)
- Declare undeclared workspace dependencies (WordPress/gutenberg#79684)
- Move icon tests out of phpunit/experimental (WordPress/gutenberg#79695)
- WP Build: improve documentation for routes (WordPress/gutenberg#79688)
- Packages: Backport UI and theme release changelogs (WordPress/gutenberg#79690)
- Bump preactjs/compressed-size-action (WordPress/gutenberg#79587)
- Bump js-yaml from 3.14.2 to 3.15.0 (WordPress/gutenberg#79644)
- FontAppearanceControl: Hard deprecate 40px default size (WordPress/gutenberg#79635)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/setup-node (WordPress/gutenberg#79692)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/workflows (WordPress/gutenberg#79693)
- Bump actions/checkout from 6.0.3 to 7.0.0 in /.github/workflows (WordPress/gutenberg#79488)
- Editor: Move focus to revisions slider when entering revisions mode (WordPress/gutenberg#79691)
- Packages: Backport package release metadata (WordPress/gutenberg#79702)
- Update: simplify inline-note marker stripping to match core backport (WordPress/gutenberg#79670)
- Add an e2e test for single paragraph selection on triple click (WordPress/gutenberg#79706)
- ComboboxControl: Hard deprecate 40px default size (WordPress/gutenberg#79636)
- FormFileUpload: Hard deprecate 40px default size (WordPress/gutenberg#79655)
- Automated Testing: Enforce dependencies checks consistently for development files (WordPress/gutenberg#79703)
- Base Styles: Make Sass token fallbacks self-contained (WordPress/gutenberg#79651)
- Radio: Hard deprecate 40px default size (WordPress/gutenberg#79657)
- ToggleGroupControl: Hard deprecate 40px default size (WordPress/gutenberg#79656)
- Heading: Fix ESLint warnings (WordPress/gutenberg#79694)
- Media Inserter: Add a simple Attached images category with attach and detach behaviour (WordPress/gutenberg#79336)
- Upgrade Playwright to v1.61 (WordPress/gutenberg#78632)
- Icons: Add an icon collections REST endpoint and tighten name rules (WordPress/gutenberg#79686)
- Experimental Media Modal: Ensure selection is properly cleared between open/close (WordPress/gutenberg#79731)
- Image: Use Playwright's locator.drop for media placeholder drop test (WordPress/gutenberg#79733)
- Add repeat all icon (WordPress/gutenberg#79698)
- Widgets: translate `title`, `description`, and `keywords` server-side (WordPress/gutenberg#79701)
- Build: Support --skip-types in npm run dev (WordPress/gutenberg#79736)
- Release: Revert to 23.5rc-3 (WordPress/gutenberg#79741)
- Render the selected static inner block synchronously (WordPress/gutenberg#79726)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79744)
- Build: Replace unmaintained release actions (WordPress/gutenberg#78258)
- Build: Use GUTENBERG_TOKEN when creating the release draft (WordPress/gutenberg#79747)
- CI: Enforce pruned ESLint suppressions during lint (WordPress/gutenberg#79708)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79750)

Props desrosj, wildworks.
Fixes #65589.

git-svn-id: https://develop.svn.wordpress.org/trunk@62738 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Jul 14, 2026
This updates the pinned commit hash of the Gutenberg repository from `98a796c8780c480ef7bcfe03c42302d9564d785c` (version `23.4.0`) to `b5574edc8a952b2f1e528693761a97b1b3b580eb` (version `23.5.0`).

A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.4.0..v23.5.0.

The following commits are included:

- Site Editor: Fix admin color scheme bleeding through the mobile content scrollbar gutter (WordPress/gutenberg#79056)
- Build: Add GUTENBERG_CHECK_INSTALLED_DEPS env var to opt out of installed-deps check (WordPress/gutenberg#79068)
- Media Editor: Keep the modal skeleton pinned in the editor flow (WordPress/gutenberg#79070)
- Editor: Hide cmd palette shortcut in document bar when admin bar is shown (WordPress/gutenberg#79060)
- Math format: seed LaTeX input from the current selection (WordPress/gutenberg#79052)
- Omnibar: Rename experiment to match iteration issue (WordPress/gutenberg#79074)
- Theme: Add Figma scopes to element size tokens (WordPress/gutenberg#79032)
- Admin bar in editor experiment: show site icon instead of dashicon if set (WordPress/gutenberg#79049)
- Math format: Simplify the onClick handler and use canonical selected-text capture (WordPress/gutenberg#79081)
- Style Engine: Export public TypeScript types (WordPress/gutenberg#79079)
- Image: Fix pasted images stretching when dimensions are preserved (WordPress/gutenberg#79067)
- Update `@ariakit/react` to 0.4.29 (WordPress/gutenberg#79055)
- Navigation: Use block context to determine whether Page List is nested in Submenu (WordPress/gutenberg#79048)
- Fix code editor cursor jump on remote RTC updates (WordPress/gutenberg#79005)
- Fix: Custom HTML block preview keeps expanding when iframe uses height:100vh (WordPress/gutenberg#78677)
- Image block: don't show crop icon while image is uploading (WordPress/gutenberg#79103)
- Media Editor Modal: Add a loading and simple error state (WordPress/gutenberg#79101)
- Add React 19 as an experimental flag (WordPress/gutenberg#79077)
- Try: Remove Tab (Tab list item) block  (WordPress/gutenberg#77439)
- Navigation block: Fix responsive style states for typography settings (WordPress/gutenberg#79072)
- Popover: add open/close motion and fix close re-anchor (WordPress/gutenberg#78885)
- Remove unused build:profile-types and component-usage-stats scripts (WordPress/gutenberg#79113)
- RTC: Allow disabling collaboration by post type (WordPress/gutenberg#78984)
- Omnipresent Toolbar: increase top padding in sidebar nav title (WordPress/gutenberg#79083)
- Add support for aspect ratio and related controls in viewport states (WordPress/gutenberg#78795)
- Fix responsive element styles front end output (WordPress/gutenberg#79135)
- BaseControl: add text-wrap: pretty (WordPress/gutenberg#79112)
- wp-build: Return null from getPackageInfo on resolve miss instead of throwing (WordPress/gutenberg#78715)
- Global styles revisions: replace active text with badge (WordPress/gutenberg#79137)
- Editor: Disable saving while a non-post entity is being saved (WordPress/gutenberg#79069)
- Add xl border radius token for page shell surfaces. (WordPress/gutenberg#78913)
- Add corner radius presets to ThemeProvider (WordPress/gutenberg#78816)
- theme: rename `bg`/`fg` design token groups to `background`/`foreground` (WordPress/gutenberg#79098)
- Theme: Enforce sRGB seed-color input contract for ThemeProvider (WordPress/gutenberg#79148)
- Theme: Rename `--wpds-color-stroke-focus-brand` token to `--wpds-color-stroke-focus` (WordPress/gutenberg#79125)
- refactor: Move 'glob' dependency to appropriate workspaces (WordPress/gutenberg#79145)
- Add lock-unlock route as a workspace and update dependencies (WordPress/gutenberg#79138)
- Dependabot: Add npm entry so security update PRs can be rebased (WordPress/gutenberg#79076)
- refactor: rename '@wordpress/lock-unlock' to '@wordpress/routes-lock-unlock' across the codebase (WordPress/gutenberg#79163)
- Panel: Recommend CollapsibleCard for use outside the block inspector (WordPress/gutenberg#78863)
- Editor: Migrate FlatTermSelector to UI Stack component (WordPress/gutenberg#78659)
- design-system-mcp: Remove Storybook dependency in TypeScript types (WordPress/gutenberg#79132)
- Bump rollup from 4.55.1 to 4.59.0 (WordPress/gutenberg#75964)
- Media modal: small tweak to gutters (WordPress/gutenberg#79168)
- Icon Block: Add flip and rotate transformation controls (WordPress/gutenberg#77017)
- Media Editor: Magnify the crop to fill the canvas (WordPress/gutenberg#79044)
- Update capitalisation and spelling within the welcome tour (WordPress/gutenberg#53028)
- Feature: Need to add “Show More” / “Show Less” toggle in Note. (WordPress/gutenberg#77446)
- Correct behaviour of flex child fixed width and introduce max width option (WordPress/gutenberg#79073)
- Eslint: move deps from root into tools/eslint and packages/eslint-plugin (WordPress/gutenberg#79110)
- Gallery: Hide Navigation button type when lightbox editing is disabled (WordPress/gutenberg#79147)
- Add more React internals polyfills (WordPress/gutenberg#79142)
- [DataViewsPicker]: `DataViewsPicker.BulkActionToolbar` now renders only the bulk-selection info and action buttons (WordPress/gutenberg#79180)
- Block Editor: Fix potential crash from 'useBlockToolbarPopoverProps' (WordPress/gutenberg#79178)
- Tabs: Simplify layout and prune redundant block supports (WordPress/gutenberg#77646)
- e2e: Retry transient theme activation failures in pages spec (WordPress/gutenberg#79171)
- Revisions screen with picker-activity layout (WordPress/gutenberg#77333)
- chore: remove glob from root pkg json (WordPress/gutenberg#79183)
- Core Data: Don't use 'useQuerySelect' in 'useEntityRecord(s)' hooks (WordPress/gutenberg#76198)
- Revisions: Ignore empty `[]/{}` meta values in the Meta diff panel (WordPress/gutenberg#79185)
- UI Field.Description: add `text-wrap: pretty` (WordPress/gutenberg#79143)
- Blocks: Migrate Markdown converter from showdown to marked (WordPress/gutenberg#77953)
- Bump shivammathur/setup-php (WordPress/gutenberg#79193)
- Icons block: insert an icon by default (WordPress/gutenberg#79111)
- Theme: Add tests for ThemeProvider and useThemeProviderStyles (WordPress/gutenberg#79126)
- Icon block: Move flip controls to toolbar group. (WordPress/gutenberg#79192)
- Packages: Fix the published dependency surface of npm packages (WordPress/gutenberg#79095)
- Block Library: Remove unused Babel optimization plugin (WordPress/gutenberg#79162)
- Automated Testing: Use static value for IS_GUTENBERG_PLUGIN env setup (WordPress/gutenberg#79201)
- Scripts: Avoid tests getting published to npm (WordPress/gutenberg#79204)
- Theme: Add disabled variants for brand and error interactive color tokens (WordPress/gutenberg#79124)
- Fix: State styles – clear `background-image` when hover sets a solid `background-color` (WordPress/gutenberg#78992)
- Media editor: Snap crop handles to source pixels (WordPress/gutenberg#79139)
- Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay (WordPress/gutenberg#79202)
- Template Part: Remove restriction on tabs / inspector fills (WordPress/gutenberg#79181)
- Editor: Guard PostViewLink against post types without a labels object (WordPress/gutenberg#79160)
- Media editor modal: Fix keyboard resizing for locked aspect-ratio crops (WordPress/gutenberg#79207)
- wp-build: Resolve @wordpress/build from __dirname in resolve-miss test (WordPress/gutenberg#79208)
- Theme: forward ThemeProvider cornerRadius preset to :root for root providers (WordPress/gutenberg#79153)
- Refactor Prettier configuration and update dependencies (WordPress/gutenberg#79219)
- chore: Add missing root devDependencies for WordPress packages (WordPress/gutenberg#79221)
- Refactor: Update  npm-package-json-lint configuration (WordPress/gutenberg#79223)
- Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)
- Plugin: Bump minimum required WordPress version to 6.9 (WordPress/gutenberg#79196)
- Autocomplete: Add Group and GroupLabel primitives (WordPress/gutenberg#78901)
- Pullquote: Migrate to text-align block support (WordPress/gutenberg#79225)
- Style Book: Fix crash when previewing variations for blocks without examples (WordPress/gutenberg#79131)
- Theme: Add stroke-surface tokens for the caution tone (WordPress/gutenberg#79198)
- Icon block: Default to core/info via block.json instead of an insert-time effect (WordPress/gutenberg#79212)
- Backport changelog and package version updates from wp/latest (WordPress/gutenberg#79234)
- V2 Site Editor: Fix template edit routes (WordPress/gutenberg#79230)
- Grid: Prepare `@wordpress/grid` for npm publishing as experimental 0.1.0 (WordPress/gutenberg#79071)
- File Block: Replace on-mount downloadButtonText effect with a default variation (WordPress/gutenberg#79236)
- Components, DataViews: Adopt --wpds-dimension-size-* tokens (WordPress/gutenberg#79093)
- Refactor: move stylelint config and deps to tools/stylelint workspace (WordPress/gutenberg#79226)
- Revert "Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)" (WordPress/gutenberg#79243)
- Edit Post: Refactor and cleanup InitPatternModal component (WordPress/gutenberg#79190)
- Widget Primitives: extract into `@wordpress/widget-primitives` (WordPress/gutenberg#79134)
- chore: remove @wordpress/vips dependency from root (WordPress/gutenberg#79249)
- design-system-mcp: Improve README overview and setup instructions (WordPress/gutenberg#79238)
- Components: Re-land WPDS border token migration with Emotion-safe comments (WordPress/gutenberg#79244)
- Theme: Provide design-system token defaults without a runtime `<ThemeProvider>` (WordPress/gutenberg#78664)
- List View block support: Hide list tab when allowedBlocks is empty, with no children (WordPress/gutenberg#78932)
- Handle WP.org SVN missing tag warnings (WordPress/gutenberg#79257)
- CI: Run PHP unit tests on PHP 8.4 and 8.5 (WordPress/gutenberg#79260)
- mark @types/react as an optional peer dependency (WordPress/gutenberg#79272)
- Block bindings : add support to list-item (WordPress/gutenberg#78947)
- document widget-modules endpoint experiment gate (WordPress/gutenberg#79264)
- Storybook: Upgrade Storybook to 10.4 (WordPress/gutenberg#77382)
- Core Data: Cleanup edits matching persisted record on undo/redo (WordPress/gutenberg#77100)
- Notes: Simplify 'Show more/less' collapse logic (WordPress/gutenberg#79261)
- File Block: Combine audio/video/image to file transforms (WordPress/gutenberg#79242)
- Button: Use font weight token (WordPress/gutenberg#79278)
- Avoid dirtying related navigation entities during passive render (WordPress/gutenberg#79000)
- Theme: Skip serializing `data-wpds-root-provider="false"` on non-root providers (WordPress/gutenberg#79253)
- Patterns: Migrate modals to @wordpress/ui components and fix rename input width (WordPress/gutenberg#79233)
- ESLint, UI, Components: Mark `Tooltip` from `@wordpress/ui` as recommended (WordPress/gutenberg#78693)
- Theme: differentiate `--wpds-color-fg-interactive-{brand,error}-active` vs resting state tokens (WordPress/gutenberg#79151)
- Document AlertDialog as ConfirmDialog successor in Storybook (WordPress/gutenberg#79293)
- Elements: Accept both md5 and sequential `wp-elements-*` class names in tests (WordPress/gutenberg#79300)
- Cover block: add media editor modal (WordPress/gutenberg#79258)
- Blocks: Use positional sprintf placeholders in avatar, comment, and search renderers (WordPress/gutenberg#79290)
- DataForm: Fix panel field control overflow clipping and remove button overrides (WordPress/gutenberg#79275)
- Experiment: Editor Inspector with DataForm - remove revision panel and add link (WordPress/gutenberg#79195)
- Upload Media: Add error taxonomy, localized messages, and dev diagnostics (WordPress/gutenberg#74917)
- Block Fields: Fix crash resolving pattern overrides bindings (WordPress/gutenberg#79092)
- Media: Rename HEIC companion metadata key to source_image (WordPress/gutenberg#79307)
- DataForm: Align `label-side` gap of `panel` layout with `regular` layout (WordPress/gutenberg#79311)
- Theme: Add design tokens maintainer's guide documentation (WordPress/gutenberg#79157)
- Remove ObliviousHarmony from CODEOWNERS for packages/env (WordPress/gutenberg#79308)
- Widget Dashboard: extract into `@wordpress/widget-dashboard` (WordPress/gutenberg#79268)
- Sync editor settings in layout effect (fixes autosave e2e) (WordPress/gutenberg#78799)
- Remove Lighthouse patch (WordPress/gutenberg#79319)
- Editor: Remove orphaned editor-help component leftovers (WordPress/gutenberg#79324)
- Plugins API: Fix the plugin 'render' property validation (WordPress/gutenberg#79315)
- Components: Improve Menu unit tests performance by removing sleeps (WordPress/gutenberg#79295)
- UI Button: Fix loading state in forced colors (WordPress/gutenberg#78820)
- Media Editor: Fix crop canvas pinch zoom (WordPress/gutenberg#79332)
- Docs: Fix typos in README files (WordPress/gutenberg#79331)
- Media Editor: Align crop settle state with transition completion (WordPress/gutenberg#79339)
- KSES: Allow SVG-specific presentation attributes in safe_style_css (WordPress/gutenberg#79172)
- Widget Primitives: decouple discovery from a hardcoded endpoint (WordPress/gutenberg#79322)
- Site Editor: Save hub button styling while saving (WordPress/gutenberg#79287)
- Migrate compose package to TypeScript  (WordPress/gutenberg#70618)
- Vips: bump wasm-vips to 0.0.18 for high-bit-depth AVIF decoding (WordPress/gutenberg#79179)
- Experimental: Expand Editor Inspector: Use DataForm experiment to templates (WordPress/gutenberg#76934)
- Site Editor: Change 'Identity' nav item position (WordPress/gutenberg#79292)
- Block Bindings: Preserve nested lists when binding List Item content (WordPress/gutenberg#79346)
- Site Editor: Handle `aria-current` natively in `SidebarNavigationItem` (WordPress/gutenberg#79305)
- RichText: Fix duplicated format wrappers when typing inside an applied format (WordPress/gutenberg#79091)
- Vips: inline WASM with compact UTF-8 binary encoding instead of base64 (WordPress/gutenberg#79188)
- View Config API and REST Endpoint: make them core ready (WordPress/gutenberg#79347)
- Validation: Add a published-dependency audit script (WordPress/gutenberg#79094)
- Reconcile feature-detection docblock with implemented checks (WordPress/gutenberg#75851)
- fix typo in block-filter.md file (WordPress/gutenberg#79367)
- Search block: Add opt-in support for the semantic <search> element (WordPress/gutenberg#78485)
- Dashboard: revert H1 to "Dashboard" and fix heading hierarchy (WordPress/gutenberg#79251)
- Components: Make ResizableBox children prop optional (WordPress/gutenberg#79370)
- Grid overlays: Use canvas iframe window for viewport visibility detection (WordPress/gutenberg#79255)
- Widget Primitives: make contract and story docs host-agnostic (WordPress/gutenberg#79358)
- Use symbols for style states to avoid property clashes (WordPress/gutenberg#79210)
- Ignore markdown linting for backport-changelog MD files (WordPress/gutenberg#79392)
- Add media control icons (WordPress/gutenberg#78987)
- Icons: Use snake_case `file_path` key in icon registry (WordPress/gutenberg#79100)
- Editor: Use `Stack` for post summary (WordPress/gutenberg#79397)
- Theme: Run stylelint plugin tests via the Node API (WordPress/gutenberg#79199)
- Command Palette: Exclude assets from block editor settings endpoint (WordPress/gutenberg#79396)
- List item: Remove orphaned convertToListItems util (WordPress/gutenberg#79400)
- Video: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79371)
- Site Editor: Introduce isHidden prop for SidebarNavigationItem (WordPress/gutenberg#79352)
- Post Editor: Use the correct directory for recent preload improvements (WordPress/gutenberg#79359)
- Configure Flakiness.io reporting for e2e tests (WordPress/gutenberg#79173)
- View Config: request a subset of properties with the `_fields` parameter (WordPress/gutenberg#79355)
- Storybook: Reorganize design system introduction for first touch-point usefulness (WordPress/gutenberg#79360)
- Block editor: Convert utility modules to TypeScript (WordPress/gutenberg#79323)
- devops: configure report auto-upload for flakiness.io dashboard (WordPress/gutenberg#79411)
- UI: Simplify focus ring styles (WordPress/gutenberg#78823)
- TextControl: Hard deprecate 40px default size (WordPress/gutenberg#79386)
- devops: upload unit test results to flakiness dashboard (WordPress/gutenberg#79414)
- Clarify Core-specific steps when bumping support (WordPress/gutenberg#79416)
- Pattern editing: show root block identity when editing pattern sections (WordPress/gutenberg#79417)
- Patterns: Add a missing gap to 'Enable overrides' modal (WordPress/gutenberg#79421)
- Audio: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79423)
- Experimental: Expand Editor Inspector: Use DataForm experiment to template parts (WordPress/gutenberg#79399)
- Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)
- Block Editor: Allow overriding `disableContentOnlyForTemplateParts` setting (WordPress/gutenberg#79191)
- Mark all controlled/mode block changes non-persistent (WordPress/gutenberg#79350)
- Revert "Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)" (WordPress/gutenberg#79429)
- Popover: Align transition state styles (WordPress/gutenberg#79410)
- DataForm panel layout: fix double-clicking a field row leaving the flyout stuck open (WordPress/gutenberg#79348)
- Classic Block: Port PHPUnit coverage for wp_declare_classic_block_necessary (WordPress/gutenberg#79434)
- Fields: Move author fields for templates and template parts (WordPress/gutenberg#79395)
- Theme: Drop `--wpds-dimension-base` from the public token surface (WordPress/gutenberg#79254)
- Merge shared stylelint disallowed-list in components (WordPress/gutenberg#79425)
- Edit Post: Refactor MetaBoxesSection to use data hooks (WordPress/gutenberg#79433)
- View config endpoint: bring back changes from core (WordPress/gutenberg#79438)
- devops: separate environments for jest date tests (WordPress/gutenberg#79453)
- UI: Disable instant overlay popup transitions (WordPress/gutenberg#79432)
- Components: Refactor withFallbackStyles from class to function component (WordPress/gutenberg#78837)
- Automated Testing: Globally shim Element#getClientRects (WordPress/gutenberg#79353)
- Theme: Promote ThemeProvider to stable API (WordPress/gutenberg#78958)
- Automated Testing: Add babel-plugin-transform-import-meta to emulate import.meta.dirname (WordPress/gutenberg#79362)
- E2E: Support WordPress installs served from a subdirectory (WordPress/gutenberg#79166)
- Custom HTML: Fix scrollbar after tab switch in modal (WordPress/gutenberg#78571)
- Theme: apply ThemeProvider styles inline (I2) (WordPress/gutenberg#78678)
- Add flex vertical alignment tool to block inspector layout panel (WordPress/gutenberg#79426)
- Block Supports: Relocate text and bg color controls to Typography and Background panels (WordPress/gutenberg#77279)
- Add e2e coverage for pattern wrapper block identity (WordPress/gutenberg#79462)
- Storybook: Include playground stories and MDX in CI smoke tests (WordPress/gutenberg#79454)
- BoxControl: respect a consumer-supplied placeholder via inputProps (WordPress/gutenberg#79466)
- Media Fields: Ensure the current post is always included in the initial options (WordPress/gutenberg#79467)
- Global Styles: Add textShadow style support (WordPress/gutenberg#73320)
- Media Fields: Avoid focus loss when detaching the current parent (WordPress/gutenberg#79468)
- CI: Disallow new dependencies in the root package.json (WordPress/gutenberg#78616)
- Experimental: Preserve editor panel visibility in the DataForm post summary (WordPress/gutenberg#79441)
- Tabs: Pre-stabilization API cleanup and refactoring (WordPress/gutenberg#79337)
- BoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79419)
- Image Block: Remove chained entity record calls (WordPress/gutenberg#79469)
- UI: Use isomorphic layout effects (WordPress/gutenberg#79458)
- Components: add Emotion migration guardrails (WordPress/gutenberg#79442)
- devops: separate histories for different node.js versions (WordPress/gutenberg#79473)
- Components: migrate Divider to SCSS module (WordPress/gutenberg#79444)
- Block Library: unwrap Classic block migration notice experiment (WordPress/gutenberg#78165)
- Editor: Refactor AutosaveMonitor to a function component (WordPress/gutenberg#79043)
- Boot: run page `init` modules in `initSinglePage` (WordPress/gutenberg#79394)
- DataFormPostSummary: fix different `useSelect` returned values  (WordPress/gutenberg#79478)
- Icons: self declare color (WordPress/gutenberg#79320)
- Theme: Document ramp memoization contract (WordPress/gutenberg#79459)
- tools: Restrict layout effect imports in UI and theme (WordPress/gutenberg#79476)
- CI: Avoid full-history checkout for the root-dependencies check (WordPress/gutenberg#79489)
- Simplify playlist track state (WordPress/gutenberg#79448)
- prepend_to_selector: optimized with str_replace() (WordPress/gutenberg#76556)
- Components: migrate Surface to SCSS module (WordPress/gutenberg#79445)
- Docs: Add a widget anatomy doc and lighten the widget system doc (WordPress/gutenberg#79435)
- Media Editor: remove inline cropper (follow-up to WordPress/gutenberg#78653) (WordPress/gutenberg#78654)
- Grid: Add option to stretch columns with auto-fit for better layout flexibility (WordPress/gutenberg#79356)
- Guidelines: Use str_starts_with() in is_block_meta_key() (WordPress/gutenberg#79491)
- Color popover: move contrast warning notice to the bottom (WordPress/gutenberg#79512)
- BorderBoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79420)
- Remove Classic Block conversion from BlockInvalidWarning (WordPress/gutenberg#79500)
- [RTC] Add granular collaboration control (WordPress/gutenberg#79184)
- FontSizePicker: Hard deprecate 40px default size (WordPress/gutenberg#79481)
- React 19: patch to support legacy inert attribute values (WordPress/gutenberg#79475)
- Icons: Add Storybook React Vite dev dependency (WordPress/gutenberg#79506)
- QueryControls: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79485)
- Block editor: use core/registered-block in reducer tests (WordPress/gutenberg#79522)
- UI: Update @base-ui/react to 1.6.0 (WordPress/gutenberg#79408)
- Refactor: Replace strpos with str_starts_with for improved consistency (WordPress/gutenberg#79519)
- Block Library: Remove redundant parentheses around assignments (WordPress/gutenberg#79516)
- Tabs: Focus first tab when adding Tabs block (WordPress/gutenberg#79507)
- ui/IconButton: Restore default tooltip delay (WordPress/gutenberg#79505)
- FocalPointPicker: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79487)
- Components: document CSS module class composition (WordPress/gutenberg#79490)
- BorderControl: Hard deprecate 40px default size (WordPress/gutenberg#79418)
- Components: migrate Truncate to SCSS module (WordPress/gutenberg#79446)
- Show the admin bar in the Post and Site Editor by default (WordPress/gutenberg#79197)
- SearchControl: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79538)
- Stylelint: Enforce module class naming in UI packages (WordPress/gutenberg#79504)
- Components: Add missing descriptions for design system components (WordPress/gutenberg#79460)
- LetterSpacingControl: Hard deprecate 40px default size (WordPress/gutenberg#79533)
- Experiments: Move screen under Settings, drop top-level Gutenberg menu and Demo page (WordPress/gutenberg#79456)
- Tabs: Combine and cleanup toolbar controls (WordPress/gutenberg#79537)
- Tabs: Fix dirty editor state on mount caused by tab-list sync (WordPress/gutenberg#79540)
- RTC: fix undo / redo breakage when plug-in with metabox is loaded (WordPress/gutenberg#79510)
- Block Supports: Guard elements hover rendering against missing hover selector (WordPress/gutenberg#79511)
- Commands: add toggle for content-only pattern/template part editing (WordPress/gutenberg#78383)
- Integrate Resizable Editor with Device Preview and add Responsive editing (WordPress/gutenberg#75121)
- Pattern editing: use section block selector for pattern display identity (WordPress/gutenberg#79565)
- Commands: Suggest pattern editing toggle for selected patterns (WordPress/gutenberg#79566)
- Tabs: Select tab panel when caret moves into tab (WordPress/gutenberg#79558)
- Fix unsetting values in viewport states for grid and constrained layouts (WordPress/gutenberg#79520)
- Add layout and block spacing support to Latest Posts block (WordPress/gutenberg#77989)
- Widget inserter: more accurate widget previews (WordPress/gutenberg#79517)
- Tabs: Remove unnecessary callback memoization (WordPress/gutenberg#79567)
- Icons: Add PHP method(s) for rendering inline SVG icons from the registry (WordPress/gutenberg#78332)
- Tab List: Fix render inline formatting on frontend (WordPress/gutenberg#79554)
- Divider: Restore lower border specificity (WordPress/gutenberg#79534)
- Tabs: Remove redundant block selection from Add/Remove tab actions (WordPress/gutenberg#79571)
- Icons: Fix viewBox attribute casing assertion for older WP versions (WordPress/gutenberg#79576)
- Add icon state classes to Accordion block (WordPress/gutenberg#74257)
- Pattern editing: Fade block outside the edited pattern in List View (WordPress/gutenberg#73997)
- Experiments: move long intro to content (WordPress/gutenberg#79578)
- Updating image urls (WordPress/gutenberg#79529)
- `useTypingObserver`: capture the window reference for cleanup (WordPress/gutenberg#78772)
- Tabs: Fix rich text label comparation when syncing the list (WordPress/gutenberg#79582)
- Add `PluginPostStatusInfo` in DataForm post summary (WordPress/gutenberg#79586)
- theme: Protect design tokens CSS import (WordPress/gutenberg#79551)
- TreeSelect: Hard deprecate 40px default size (WordPress/gutenberg#79550)
- Storybook: Scope Docs theme providers (WordPress/gutenberg#79496)
- Base Styles: Reapply wpds-var Sass helper (WordPress/gutenberg#79470)
- Docs: Add image hosting guidance to the documentation contributors guide (WordPress/gutenberg#79574)
- CODEOWNERS: assign widget dashboard areas to @retrofox (WordPress/gutenberg#79484)
- Automated Testing: Use three-dot diff comparison for changelog checks (WordPress/gutenberg#79548)
- Base Styles: disallow direct var(--wpds-*) usage (WordPress/gutenberg#79424)
- Abilities: Support URI schema format (WordPress/gutenberg#79555)
- LineHeightControl: Hard deprecate 40px default size (WordPress/gutenberg#79589)
- Theme: Revert ThemeProvider stable API (WordPress/gutenberg#79594)
- Experimental: Expand DataForm inspector to patterns (WordPress/gutenberg#79452)
- RTC: Fix autosave update with no content (WordPress/gutenberg#79591)
- Icons: Add APIs for collection and icon registration (WordPress/gutenberg#77260)
- TextIndentControl: Remove unnecessary __next40pxDefaultSize prop (WordPress/gutenberg#79597)
- FontFamilyControl: Hard deprecate 40px default size (WordPress/gutenberg#79593)
- Icons Registry test: Fix trigger_error suppression on WP < 7.0 (WordPress/gutenberg#79607)
- Global Styles: Migrate color palette tabs to @wordpress/ui (WordPress/gutenberg#79281)
- Experiments: Shorten the plugin settings page name (WordPress/gutenberg#79579)
- Widget Primitives: Add `WidgetAttributeField` for typed attribute schemas (WordPress/gutenberg#79544)
- Fix - Accordion: Text in a closed accordion panel cannot be found via the browser search (WordPress/gutenberg#74744)
- Icons Registry: Allow digits and underscores in icon slugs (WordPress/gutenberg#79623)
- Knowledge: Rename the Guidelines CPT storage primitive to Knowledge (WordPress/gutenberg#79149)
- Update @terrazzo/* to 2.4.0 and regenerate design tokens (WordPress/gutenberg#79627)
- Tabs: RichText handlers for adding/removing tabs (WordPress/gutenberg#79583)
- Declare @types/node explicitly and harden no-unsafe-wp-apis (WordPress/gutenberg#79626)
- Knowledge: Dissolve the Guidelines singleton into per-scope rows (WordPress/gutenberg#79263)
- Jest: Mock CSS module class names (WordPress/gutenberg#79535)
- React 19 patch: log warnings when polyfills are hit (WordPress/gutenberg#79624)
- Upgrade browserslist to ^4.28.4 (WordPress/gutenberg#79630)
- Dedupe @testing-library/dom to a single 10.4.1 in the lockfile (WordPress/gutenberg#79631)
- Theme: Restore public ThemeProvider export (WordPress/gutenberg#79620)
- Paste: move spaces out of inline formatting elements (WordPress/gutenberg#79637)
- Blocks: Add innerContent support for static inner blocks, adopt it in the HTML block (WordPress/gutenberg#79115)
- Update webpack to 5.108.1 (WordPress/gutenberg#79633)
- RangeControl: Hard deprecate 40px default size (WordPress/gutenberg#79590)
- Animated GIF to video conversion (via mediabunny) plus conversion controls (WordPress/gutenberg#78410)
- Expose widget category through the build pipeline and REST API (WordPress/gutenberg#79638)
- Button: Fix corner artifacts by using background-clip: border-box (WordPress/gutenberg#79524)
- Notes: inline (partial-text) notes via hybrid marker + strip-on-render approach (WordPress/gutenberg#78218)
- balance top padding for sidebar controls (WordPress/gutenberg#79660)
- Guidelines E2E Tests: wait for boot to load copy page (WordPress/gutenberg#79663)
- Media Editor: Use new Tabs component from the ui package, and its minimal variant (WordPress/gutenberg#79664)
- View config: Add better post type default `form` (WordPress/gutenberg#79625)
- Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)
- Revert "Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)" (WordPress/gutenberg#79667)
- Navigation Link: Fix "[object Object]" in link preview for untitled entities (WordPress/gutenberg#79616)
- Update stylelint to 16.26.1 (WordPress/gutenberg#79648)
- Remove redundant @jest-environment jsdom pragmas from unit tests (WordPress/gutenberg#79672)
- npm dedupe (WordPress/gutenberg#79618)
- E2E: Ban uuid package via ESLint, use crypto.randomUUID() instead (WordPress/gutenberg#79673)
- Jest: Add missing clsx dev dependency (WordPress/gutenberg#79677)
- Style Engine: Preserve important gradient declarations (WordPress/gutenberg#79568)
- Widget Dashboard: Refactor tile header and toolbar chrome (WordPress/gutenberg#79639)
- Widget Dashboard: Anchor settings drawer to the right and toggle it from the gear (WordPress/gutenberg#79683)
- Declare undeclared workspace dependencies (WordPress/gutenberg#79684)
- Move icon tests out of phpunit/experimental (WordPress/gutenberg#79695)
- WP Build: improve documentation for routes (WordPress/gutenberg#79688)
- Packages: Backport UI and theme release changelogs (WordPress/gutenberg#79690)
- Bump preactjs/compressed-size-action (WordPress/gutenberg#79587)
- Bump js-yaml from 3.14.2 to 3.15.0 (WordPress/gutenberg#79644)
- FontAppearanceControl: Hard deprecate 40px default size (WordPress/gutenberg#79635)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/setup-node (WordPress/gutenberg#79692)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/workflows (WordPress/gutenberg#79693)
- Bump actions/checkout from 6.0.3 to 7.0.0 in /.github/workflows (WordPress/gutenberg#79488)
- Editor: Move focus to revisions slider when entering revisions mode (WordPress/gutenberg#79691)
- Packages: Backport package release metadata (WordPress/gutenberg#79702)
- Update: simplify inline-note marker stripping to match core backport (WordPress/gutenberg#79670)
- Add an e2e test for single paragraph selection on triple click (WordPress/gutenberg#79706)
- ComboboxControl: Hard deprecate 40px default size (WordPress/gutenberg#79636)
- FormFileUpload: Hard deprecate 40px default size (WordPress/gutenberg#79655)
- Automated Testing: Enforce dependencies checks consistently for development files (WordPress/gutenberg#79703)
- Base Styles: Make Sass token fallbacks self-contained (WordPress/gutenberg#79651)
- Radio: Hard deprecate 40px default size (WordPress/gutenberg#79657)
- ToggleGroupControl: Hard deprecate 40px default size (WordPress/gutenberg#79656)
- Heading: Fix ESLint warnings (WordPress/gutenberg#79694)
- Media Inserter: Add a simple Attached images category with attach and detach behaviour (WordPress/gutenberg#79336)
- Upgrade Playwright to v1.61 (WordPress/gutenberg#78632)
- Icons: Add an icon collections REST endpoint and tighten name rules (WordPress/gutenberg#79686)
- Experimental Media Modal: Ensure selection is properly cleared between open/close (WordPress/gutenberg#79731)
- Image: Use Playwright's locator.drop for media placeholder drop test (WordPress/gutenberg#79733)
- Add repeat all icon (WordPress/gutenberg#79698)
- Widgets: translate `title`, `description`, and `keywords` server-side (WordPress/gutenberg#79701)
- Build: Support --skip-types in npm run dev (WordPress/gutenberg#79736)
- Release: Revert to 23.5rc-3 (WordPress/gutenberg#79741)
- Render the selected static inner block synchronously (WordPress/gutenberg#79726)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79744)
- Build: Replace unmaintained release actions (WordPress/gutenberg#78258)
- Build: Use GUTENBERG_TOKEN when creating the release draft (WordPress/gutenberg#79747)
- CI: Enforce pruned ESLint suppressions during lint (WordPress/gutenberg#79708)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79750)

Props desrosj, wildworks.
Fixes #65589.
Built from https://develop.svn.wordpress.org/trunk@62738


git-svn-id: http://core.svn.wordpress.org/trunk@62022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design System Issues related to the system of combining components according to best practices. [Package] Theme /packages/theme [Type] Enhancement A suggestion for improvement.

5 participants