Skip to content

Update Bundled @wordpress/* monorepo#48404

Merged
dhasilva merged 6 commits into
trunkfrom
renovate/bundled-@wordpress-monorepo
May 25, 2026
Merged

Update Bundled @wordpress/* monorepo#48404
dhasilva merged 6 commits into
trunkfrom
renovate/bundled-@wordpress-monorepo

Conversation

@matticbot
Copy link
Copy Markdown
Contributor

@matticbot matticbot commented Apr 30, 2026

This PR contains the following updates:

Package Change Age Confidence
@wordpress/admin-ui (source) 2.0.02.1.0 age confidence
@wordpress/admin-ui (source) 1.12.02.1.0 age confidence
@wordpress/dataviews (source) 14.1.014.3.0 age confidence
@wordpress/icons (source) 12.2.013.1.0 age confidence
@wordpress/icons (source) ^12.0.0^13.0.0 age confidence
@wordpress/interface (source) 9.29.09.31.0 age confidence
@wordpress/ui (source) 0.11.00.13.0 age confidence
@wordpress/ui (source) ^0.11.0^0.13.0 age confidence
@wordpress/views (source) ~1.11.0~1.13.0 age confidence

Release Notes

WordPress/gutenberg (@​wordpress/admin-ui)

v2.1.0

Compare Source

Bug Fixes
  • Page: Fix nested landmark in header. #​78001
WordPress/gutenberg (@​wordpress/dataviews)

v14.3.0

Compare Source

v14.2.0

Compare Source

Enhancements
  • DataForm: Render field description as help text in the array control.#​77554
WordPress/gutenberg (@​wordpress/icons)

v13.1.0

Compare Source

v13.0.0

Compare Source

Breaking Changes
  • Rename Tabs-related icons: tabs-menu to tab-list, tabs-menu-item to tab, and tab to tab-panel. (#​77418)
WordPress/gutenberg (@​wordpress/interface)

v9.31.0

Compare Source

v9.30.0

Compare Source

WordPress/gutenberg (@​wordpress/ui)

v0.13.0

Compare Source

Breaking Changes
  • InputControl: Narrow the TypeScript type of the label prop to plain strings (#​77860).
  • Select: Select.Item values that are empty strings no longer render with placeholder styling on the trigger. Use the new placeholder prop on Select.Trigger, or a null item value, instead (#​78076).
  • Select: Select.Trigger now renders a default "Select" placeholder when no value is selected, where it previously rendered empty (#​78076).
  • Select: Select.Item no longer renders its value as fallback item content. Pass item content explicitly as children. Migrate <Select.Item value="Foo" /> to <Select.Item value="Foo">Foo</Select.Item> (#​77861).
  • Tooltip: Popup positioner API (#​78089). Add a Tooltip.Positioner subcomponent and an optional positioner prop on Tooltip.Popup (when omitted, the default Tooltip.Positioner is used). Remove side, align, and sideOffset from Tooltip.Popup; pass positioner={ <Tooltip.Positioner side="…" align="…" sideOffset={ … } /> } instead. The new subcomponent exposes the full positioner surface (alignOffset, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, etc.) and mirrors the existing portal slot pattern.
  • CollapsibleCard.Header: Now renders an outer <div> wrapper around the trigger. Forwarded props (className, aria-*, data-*) and ref land on this outer wrapper instead of the inner click-target div (#​77962).
  • Popover: Popup positioner API (#​78168). Add a Popover.Positioner subcomponent and an optional positioner prop on Popover.Popup (when omitted, the default Popover.Positioner is used). Remove side, align, sideOffset, alignOffset, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, and sticky from Popover.Popup; pass positioner={ <Popover.Positioner side="…" align="…" anchor={ … } /> } instead.
  • Tooltip, Popover, Select, Autocomplete, Dialog, Drawer, AlertDialog: Narrow the TypeScript types of the Portal subcomponent props to the package's standard ComponentProps shape. className and style no longer accept the (state) => … callback variant, and render no longer accepts the two-arg (props, state) => … variant from Base UI. Runtime behavior is unchanged (#​78168).
New Features
Bug Fixes
  • Text: Provide CSS defense values for every variant when rendered as either a paragraph or heading element (#​78172).
  • Autocomplete, Select: Do not show the interactive cursor for disabled select triggers or disabled popup items (#​78112).
  • Select: Hide the browser focus ring on highlighted popup items (#​77919).
  • Drawer: Restore the slide-out animation when the popup closes (#​77800).
  • Drawer: Forward the render prop on Drawer.Content to the scroll container instead of leaking it as a DOM attribute, matching Dialog.Content (#​77941).
New Features
  • Add useEnableWpCompatOverlaySlot() hook to opt into a body-level overlay container that stacks @wordpress/ui overlays above @wordpress/components overlays in mixed-library compositions. The slot auto-enables wherever window.wp.components is on the global (the typical script-loader setup for WordPress plugins and admin screens), so the hook is mostly relevant for hosts that bundle @wordpress/components (or only @wordpress/ui) directly — apps that aren't built with standard WordPress build tooling. Per-component support will be added incrementally (#​77851).
Enhancements
  • Button: Allow long labels to wrap within constrained containers (#​78300).
  • Select: Add a placeholder prop to Select.Trigger, and support null item values for clearable placeholder options (#​78076).
  • Drawer: Fade the popup elevation shadow alongside the slide (#​77800).
  • Drawer: Allow mouse-drag swipe-dismiss in the popup-edge padding gutter (#​77800).
  • Tooltip: Default the floating popup's portal container to the @wordpress/ui compat overlay slot when present, so tooltips stack reliably above other overlays in mixed-library compositions. A caller-supplied Tooltip.Portal container prop continues to take precedence (#​78095).
  • IconButton: Add a positioner prop, accepting a <Tooltip.Positioner /> element, to customize how the tooltip is positioned relative to the button (#​78089).
  • CollapsibleCard.Header: Pass render={ <h2 /> } (or any of <h1><h6>) to wrap the trigger in a heading and contribute to the document outline, following the W3C APG accordion pattern (heading wraps button) (#​77962).
  • Select: Add a Select.Positioner subcomponent and a positioner slot prop on Select.Popup to customize the popup placement, mirroring the existing portal slot pattern (#​78168).
  • Autocomplete: Add an Autocomplete.Positioner subcomponent and a positioner slot prop on Autocomplete.Popup to customize the popup placement, mirroring the existing portal slot pattern (#​78168).
Internal
  • Dialog: Use --wpds-motion-* design tokens for animation duration and easing (#​76097).
  • Add internal getWpCompatOverlaySlot() helper and a co-located unlayered CSS module that lazily provide a body-level [data-wp-compat-overlay-slot] container at z-index 1000000003, gated by useEnableWpCompatOverlaySlot() and by auto-detection of window.wp.components (#​77851).

v0.12.0

Compare Source

Breaking Changes
  • Dialog, AlertDialog, Popover, Tooltip, Select: Popup portal API (#​77452). Add Portal subcomponents and an optional portal prop on Popup (when omitted, the default Portal is used). Remove container from every Popup and portalClassName from Dialog.Popup / AlertDialog.Popup; pass portal={ <Matching.Portal … /> } for container, className, style, and other portal options.
  • Popover, Tooltip, Select: style and className on Popup are now forwarded to the inner Base UI Popup element instead of the outer Positioner. To override the per-instance z-index, pass portal={ <Overlay.Portal style={ { '--wp-ui-<overlay>-z-index': '9999' } } /> } (or set the variable globally on a wrapping element); inline style={ { zIndex: … } } on Popup no longer reaches the positioned element.
  • Dialog, Drawer: Scrolling now requires the new Dialog.Content / Drawer.Content subcomponent; the popup itself no longer scrolls. Rendering Header / Footer as siblings of Content pins them to the popup edges; nesting them inside Content opts out of pinning. AlertDialog.Popup adds stickyHeader / stickyFooter props (default true) for the same choice on its internal chrome (#​77559).
New Features
Documentation
  • Restructure setup docs into "Within standard WordPress editor screens" and "Elsewhere" for clarity (#​77338).
Bug Fixes
  • Link: Fix text decoration on the unstyled variant when openInNewTab is enabled, and simplify new-tab icon markup (#​77420).
  • Dialog, AlertDialog, Popover, Tooltip, Select: Restore focus-trap tabbability through ThemeProvider's display: contents wrapper (#​77381, #​77520).
  • Remove the transitive peer dependency on date-fns / @date-fns/tz (#​77520), resolving #​77395.
  • Text: Apply both heading and paragraph CSS defenses regardless of variant, so the correct defense kicks in based on the rendered element rather than the typographic variant (#​77461).
  • CollapsibleCard: Fix missing keyboard focus ring on the header chevron icon when rendered inside wp-admin (#​77468).
  • CollapsibleCard: Prevent the focus ring of focusable descendants from being clipped by the panel's overflow once the panel is fully expanded (#​77667).
  • Tabs: Fix missing keyboard focus ring on the panel in Windows High Contrast mode when rendered inside wp-admin (#​77469).
Enhancements
  • Dialog / AlertDialog / Drawer: Pin header / footer chrome to the popup edges when the body overflows, and show separator borders only while there is off-screen content in that direction (#​77559).
  • Dialog: Add Dialog.Description sub-component, expose onOpenChangeComplete, skip the backdrop when modal is not true, use 100dvh for viewport-based heights so the popup fits the dynamic viewport on mobile, and forward className on Dialog.Title (#​77194).
  • Dialog: Dialog.Header and Dialog.Footer now default to <header> and <footer> elements for richer landmark semantics. Their ref type widens from HTMLDivElement to HTMLElement; pass render to opt out of the default tag (#​76690).
  • Dialog, Popover: Upgrade dev-only title validation from mount-only to cleanup-based re-validation, catching conditionally rendered titles (#​77165).
  • Link: Honor openInNewTab consistently instead of treating hash links as a special case (#​77422).
  • Select: Tighten spacing after checkmark when Select.Item is size="small" (#​77642).
  • Dialog, Drawer, Popover: Align title and description colors across all three overlay primitives. Title color is now authored explicitly (resilient to global CSS defenses), and description color now inherits from the popup foreground token instead of overriding to the weak variant (#​77692).
  • Dialog, AlertDialog, Drawer, Popover, Select, Tooltip: Unify the hairline border across overlay popups. Popups without a backdrop show a token-colored border in regular mode; popups with a backdrop hide the border (which would be redundant with the backdrop's containment); all popups show a CanvasText border in forced-colors mode (#​77691).
  • Link: Use text-decoration-thickness: from-font so the underline honors the font's metrics, instead of a fixed sub-pixel value that renders inconsistently across device pixel ratios (#​77790).
Internal
  • Update @base-ui/react from 1.4.0 to 1.4.1 (#​77520).
  • Extract shared useScheduleValidation hook; refactor Dialog, Popover, and Tabs validation contexts to use it (#​77165).
  • Tabs: Wrap two validation timeout waits in act(...) to avoid intermittent test warnings (#​77319).
WordPress/gutenberg (@​wordpress/views)

v1.13.0

Compare Source

v1.12.0

Compare Source


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 02:59 AM, on day 1 of the month ( * 0-2 1 * * ) in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@matticbot matticbot added [Status] Needs Review This PR is ready for review. Task labels Apr 30, 2026
@matticbot matticbot requested review from a team April 30, 2026 09:27
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the renovate/bundled-@wordpress-monorepo branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack renovate/bundled-@wordpress-monorepo
bin/jetpack-downloader test jetpack-mu-wpcom-plugin renovate/bundled-@wordpress-monorepo

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

CGastrell added a commit that referenced this pull request May 19, 2026
Verify the tabs normalization compiles cleanly against the 0.13
release. Bumps the five packages this PR touches:

- packages/search (0.12.0 → 0.13.0)
- packages/scan (0.11.0 → 0.13.0)
- packages/newsletter (0.11.0 → 0.13.0)
- packages/videopress (0.11.0 → 0.13.0)
- plugins/protect (0.11.0 → 0.13.0)

Plus the per-route package.json files under scan, newsletter, and
videopress. Other Jetpack projects remain on 0.11.0 — the monorepo-wide
bump is the scope of the foundation PR #48404 (in flight).
CGastrell added a commit that referenced this pull request May 19, 2026
* Normalize page tabs onto shared minimal variant

Migrate all page-level Tabs.List usages in Jetpack admin pages onto
<Tabs.List variant="minimal"> + the shared .jp-admin-page-tabs--minimal
wrapper modifier shipped in #48908. Delete the local SCSS blocks that
were re-implementing what the new shared modifier now provides, plus
the legacy default-variant alignment workarounds.

- Scan / Newsletter / Search: were already variant="minimal" but each
  had a local SCSS block re-implementing the new shared modifier.
- Protect / VideoPress: migrated from default to minimal variant.
  VideoPress had a 16-line workaround in DashboardLayout/style.scss
  specifically to hold default-variant tabs aligned with the page
  header — deleted, since minimal removes the need.
- Newsletter also dropped its bespoke wrapper class
  jetpack-newsletter-page__tabs-row in favour of the shared
  jp-admin-page-tabs jp-admin-page-tabs--minimal.

Refs #48160.

* Bump @wordpress/ui to 0.13.0 across affected packages

Verify the tabs normalization compiles cleanly against the 0.13
release. Bumps the five packages this PR touches:

- packages/search (0.12.0 → 0.13.0)
- packages/scan (0.11.0 → 0.13.0)
- packages/newsletter (0.11.0 → 0.13.0)
- packages/videopress (0.11.0 → 0.13.0)
- plugins/protect (0.11.0 → 0.13.0)

Plus the per-route package.json files under scan, newsletter, and
videopress. Other Jetpack projects remain on 0.11.0 — the monorepo-wide
bump is the scope of the foundation PR #48404 (in flight).
yuliyan pushed a commit that referenced this pull request May 20, 2026
* Normalize page tabs onto shared minimal variant

Migrate all page-level Tabs.List usages in Jetpack admin pages onto
<Tabs.List variant="minimal"> + the shared .jp-admin-page-tabs--minimal
wrapper modifier shipped in #48908. Delete the local SCSS blocks that
were re-implementing what the new shared modifier now provides, plus
the legacy default-variant alignment workarounds.

- Scan / Newsletter / Search: were already variant="minimal" but each
  had a local SCSS block re-implementing the new shared modifier.
- Protect / VideoPress: migrated from default to minimal variant.
  VideoPress had a 16-line workaround in DashboardLayout/style.scss
  specifically to hold default-variant tabs aligned with the page
  header — deleted, since minimal removes the need.
- Newsletter also dropped its bespoke wrapper class
  jetpack-newsletter-page__tabs-row in favour of the shared
  jp-admin-page-tabs jp-admin-page-tabs--minimal.

Refs #48160.

* Bump @wordpress/ui to 0.13.0 across affected packages

Verify the tabs normalization compiles cleanly against the 0.13
release. Bumps the five packages this PR touches:

- packages/search (0.12.0 → 0.13.0)
- packages/scan (0.11.0 → 0.13.0)
- packages/newsletter (0.11.0 → 0.13.0)
- packages/videopress (0.11.0 → 0.13.0)
- plugins/protect (0.11.0 → 0.13.0)

Plus the per-route package.json files under scan, newsletter, and
videopress. Other Jetpack projects remain on 0.11.0 — the monorepo-wide
bump is the scope of the foundation PR #48404 (in flight).
@matticbot matticbot force-pushed the renovate/bundled-@wordpress-monorepo branch from b12c5c4 to edfcd66 Compare May 20, 2026 11:37
@matticbot matticbot force-pushed the renovate/bundled-@wordpress-monorepo branch from edfcd66 to be3b654 Compare May 20, 2026 18:57
@matticbot matticbot force-pushed the renovate/bundled-@wordpress-monorepo branch from be3b654 to 78dc264 Compare May 21, 2026 07:53
CGastrell added a commit that referenced this pull request May 22, 2026
Replace the three `> header` selectors in the AdminPage SCSS module
with `> :first-child` so they keep matching after @wordpress/admin-ui
2.1 changed the page header element from <header> to <div>.

Together with #49006 (which applied the same fix to the shared
admin-page-layout mixin in js-packages/base-styles), this resolves the
publicize page header spacing regression that surfaced on PR #48404 —
the title/subtitle ' compaction' was the cumulative effect of the three
jetpack-side overrides (sticky-disable, border removal, visual-slot
centering) silently ceasing to fire, not a missing gap.

Also bumps @wordpress/admin-ui from 2.0.0 to 2.1.0 in this package as
the consumer-side pin of the version this fix targets.
CGastrell added a commit that referenced this pull request May 22, 2026
….1 (#49018)

* Components: fix AdminPage SCSS module header selectors for admin-ui 2.1

Replace the three `> header` selectors in the AdminPage SCSS module
with `> :first-child` so they keep matching after @wordpress/admin-ui
2.1 changed the page header element from <header> to <div>.

Together with #49006 (which applied the same fix to the shared
admin-page-layout mixin in js-packages/base-styles), this resolves the
publicize page header spacing regression that surfaced on PR #48404 —
the title/subtitle ' compaction' was the cumulative effect of the three
jetpack-side overrides (sticky-disable, border removal, visual-slot
centering) silently ceasing to fire, not a missing gap.

Also bumps @wordpress/admin-ui from 2.0.0 to 2.1.0 in this package as
the consumer-side pin of the version this fix targets.

* Search e2e: adapt header-logo locator to admin-ui 2.1's <div> page header

The dashboard test was scoping the Jetpack Logo locator via
`page.locator( 'header' )` — coupling to admin-ui 2.0's <header>
element. admin-ui 2.1 renders the page header as a <div>
(WordPress/gutenberg#78001), so the locator finds nothing once this
PR's admin-ui pin lands.

Swap the locator to `.jp-admin-page__page > :first-child` — same
positional pattern this PR uses in the SCSS module, matches both the
old <header> and the new <div>. Updates the surrounding comment to
explain the choice.
@matticbot matticbot force-pushed the renovate/bundled-@wordpress-monorepo branch from 78dc264 to 821a7e0 Compare May 22, 2026 17:49
@matticbot
Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@anomiex
Copy link
Copy Markdown
Contributor

anomiex commented May 22, 2026

Looks like most of the various PRs mentioned above are all merged now? I fixed the failing JS tests in 69edd8d. Someone should look into the failing E2E test, it failed the same way 3 times so it may not be the normal flakiness.

@anomiex
Copy link
Copy Markdown
Contributor

anomiex commented May 25, 2026

Let's see if fb117b3 fixes the E2Es without breaking others.

@anomiex
Copy link
Copy Markdown
Contributor

anomiex commented May 25, 2026

CI seems happy now. Please test and merge.

@dhasilva dhasilva merged commit a1248be into trunk May 25, 2026
92 checks passed
@dhasilva dhasilva deleted the renovate/bundled-@wordpress-monorepo branch May 25, 2026 21:39
@github-actions github-actions Bot removed the [Status] Needs Review This PR is ready for review. label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants