Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/trunk' into HEAD
# Conflicts:
#	packages/ui/CHANGELOG.md
#	packages/ui/src/form/primitives/combobox/item.tsx
  • Loading branch information
mirka committed Sep 28, 2026
commit ac5d2a8a0ada1fb8752ca89e30d4d50fd217e821
7 changes: 7 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Breaking Changes

- `Autocomplete.Item`, `Combobox.Item`, `SearchableSelect.Item`, `SearchableChipSelect.Item`, `SearchableSelectControl.Item`, and `SearchableChipSelectControl.Item` now require an `ItemLabel` as their first direct child, followed only by optional `ItemDescription` components. Wrap existing text children in `ItemLabel` ([#83493](https://github.com/WordPress/gutenberg/pull/83493)).
- `Notice`: Remove built-in screen reader announcements and the `spokenMessage` and `politeness` props. Consumers now announce dynamic updates explicitly, for example with `speak()` from `@wordpress/a11y` ([#82737](https://github.com/WordPress/gutenberg/pull/82737)).

### New Features

Expand All @@ -14,6 +15,12 @@

- `Autocomplete`, `Combobox`, `SearchableSelect`, `SearchableChipSelect`, `SearchableSelectControl`, and `SearchableChipSelectControl` add `ItemLabel` and `ItemDescription` subcomponents. Searchable selection items also accept an optional `description` string ([#83493](https://github.com/WordPress/gutenberg/pull/83493)).

### Bug Fixes

- `Select`, `SelectControl`, `Combobox`, `SearchableSelect`, `SearchableChipSelect`, `SearchableChipSelectControl`: Align the selected-item checkmark with the first line of the item label while keeping single-line items vertically centered. ([#82942](https://github.com/WordPress/gutenberg/pull/82942))
- `Popover`: Close non-modal popovers when the user presses inside a same-origin iframe. ([#83509](https://github.com/WordPress/gutenberg/pull/83509))
- `CollapsibleCard`: Only show the header's focus ring when its own trigger is keyboard-focused ([#81314](https://github.com/WordPress/gutenberg/pull/81314)).

## 0.23.0 (2026-09-23)

### Breaking Changes
Expand Down
19 changes: 10 additions & 9 deletions packages/ui/src/form/primitives/combobox/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ export const Item = forwardRef< HTMLDivElement, ComboboxItemProps >(
{ ...itemAriaProps }
{ ...restProps }
>
<Icon
icon={ variant === 'creatable' ? plus : check }
className={ clsx(
itemPopupStyles[ 'item-icon' ],
variant !== 'creatable' &&
itemPopupStyles[ 'item-indicator-icon' ]
) }
size={ 24 }
/>
<span className={ itemPopupStyles[ 'item-icon' ] }>
<Icon
icon={ variant === 'creatable' ? plus : check }
className={ clsx(
variant !== 'creatable' &&
itemPopupStyles[ 'item-indicator-icon' ]
) }
size={ 24 }
/>
</span>
<div className={ itemPopupStyles[ 'item-text' ] }>
{ contentChildren }
</div>
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.