Skip to content

Bump @wordpress/components from 39.0.0 to 40.0.0 - #3708

Closed
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/wordpress/components-40.0.0
Closed

Bump @wordpress/components from 39.0.0 to 40.0.0#3708
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/wordpress/components-40.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor

Bumps @wordpress/components from 39.0.0 to 40.0.0.

Changelog

Sourced from @​wordpress/components's changelog.

40.0.0 (2026-08-26)

Breaking Changes

  • Components that compose Emotion style fragments with cx() should pass source-order-dependent fragments in a single css() call. Passing separate fragments can change override order after the following components stopped rendering styles through Emotion:

Enhancements

  • RadioControl: Allow individual options to be disabled while the rest of the group remains available (#82026).
  • PaletteEdit: Add a duotone variant. Passing duotones (with an optional colorPalette for the shadows and highlights pickers) edits duotone presets with the same UI as colors and gradients. Palette colors that do not resolve to a concrete value, such as color-mix(), are left out of the duotone pickers, since a duotone built from one cannot be rendered, and the rest are normalized to hex, since the front end's duotone parser does not accept CSS named colors (#81605).
  • DuotonePicker: Add selectedSlug prop for slug-based selection and pass the picked preset's index and slug to onChange, so two presets sharing a pair of colors keep their identity (#81605).
  • PaletteEdit: Name the swatch picker after the palette's heading, so it is announced as Theme, Default or Custom rather than an unlabelled list (#81605).
  • ConfirmDialog: Add the title prop to the types; the component already forwarded it to the underlying Modal (#81847).
  • TextControl, TextareaControl, FormTokenField, ContentEditableControl, ComboboxControl: Align focus and hover styles with the design system (#81357).
  • InputControl, SelectControl, CustomSelectControl: Align focus rings with the design system (#80417).
  • BoxControl: Keep the reset button focusable when disabled, preventing accidental focus loss (#80715).

Bug Fixes

  • PaletteEdit: Expose color, gradient, and duotone swatches as command buttons because activating them opens an editor instead of selecting a value. Add a presentation prop to CircularOptionPicker, ColorPalette, GradientPicker, and DuotonePicker, and deprecate asButtons in favor of presentation="toggle-buttons" (#82023).
  • ConfirmDialog: Preserve title as the dialog's accessible name when the header is hidden (#81847).
  • DuotonePicker: Do not render the custom controls wrapper when disableCustomDuotone is set, so a read-only picker no longer adds trailing padding below its swatches (#81605).
  • DuotonePicker: Stop the duotone bar offering to move its control points. It announced that arrow keys and dragging change the gradient position, but a duotone is two colors with no positions, so the move was discarded. CustomGradientBar gains a disablePositioning prop for this (#81850).
  • Modal: Prevent an Escape key press that dismisses the modal from propagating to underlying overlays. (#81785)
  • BoxControl: Update the opposite side when ALT is held on the left or right input, which each updated themselves instead (#81530).
  • InputControl: Vertically center the value of date and time inputs in Safari (#81361).
  • InputControl: Hide the value-like placeholder Safari renders in empty date and time inputs (e.g. 12:30), which was indistinguishable from a committed value (#81991).
  • ControlWithError: Re-read the target's validation message when an invalid event is received, so a message that changed without a re-render in between (e.g. a programmatic value change followed by a synthetic invalid event) is not revealed stale or empty. While a validating custom validity is pending, the message is left untouched so the pending indicator keeps showing (#81440).
  • Button: Apply the has-text class when the children that render the label are conditional, wrapped in an element, or preceded by other children, so that such buttons are no longer styled as icon-only buttons (#81521).

TypeScript

  • ComboboxControl: Narrow the onChange callback parameter type to string | null, matching the values the component actually passes. The previous indexed-access type on the optional value prop leaked an accidental undefined into the union (#81568).

Internal

  • Update @ariakit/react to 0.4.37 and @ariakit/test to 0.7.4 (#81080).
  • Point tsconfig references at split dependencies' build projects. (#81514, #81516, #81518)
  • Update is-plain-object to 5.1.0, which ships its own types, and drop the @ts-expect-error that the missing declaration required (#81926).

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code Skip Changelog Disables the "Changelog Updated" action for PRs where changelog entries are not necessary. labels Sep 2, 2026
Bumps [@wordpress/components](https://github.com/WordPress/gutenberg/tree/HEAD/packages/components) from 39.0.0 to 40.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/components/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/components@40.0.0/packages/components)

---
updated-dependencies:
- dependency-name: "@wordpress/components"
  dependency-version: 40.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/components-40.0.0 branch from b62f6df to e688787 Compare September 2, 2026 06:11
@pfefferle pfefferle mentioned this pull request Sep 2, 2026
1 task
@dependabot @github

dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like @wordpress/components is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 2, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/wordpress/components-40.0.0 branch September 2, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code Skip Changelog Disables the "Changelog Updated" action for PRs where changelog entries are not necessary.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants