Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

### Bug Fixes

- `Combobox.Input`, `SearchableSelect`, and `SearchableSelectControl`: Orient the search icon toward the top left in LTR and the top right in RTL ([#84690](https://github.com/WordPress/gutenberg/pull/84690)).
- `Breadcrumb`: Apply hierarchy-selection labels to the ordered list instead of its wrapper, while retaining navigation landmark labels for page breadcrumbs ([#84295](https://github.com/WordPress/gutenberg/pull/84295)).
- `Breadcrumb`: Align button, link, and current-item padding, separate button hover backgrounds from separators, and preserve list semantics in Safari ([#84295](https://github.com/WordPress/gutenberg/pull/84295)).
- `Breadcrumb.CurrentItem`: Exclude false values from the `aria-current` type ([#84295](https://github.com/WordPress/gutenberg/pull/84295)).
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/src/form/primitives/combobox/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import { Icon } from '../../../icon';
import { Input as InputPrimitive } from '../input';
import { InputLayout } from '../input-layout';
import type { ComboboxInputProps } from './types';
import styles from './style.module.css';

const DEFAULT_RENDER = ( props: ComboboxInputProps ) => (
<InputPrimitive
prefix={
<InputLayout.Slot padding="minimal">
<Icon icon={ search } />
<Icon icon={ search } className={ styles[ 'search-icon' ] } />
</InputLayout.Slot>
}
{ ...props }
Expand Down
4 changes: 4 additions & 0 deletions packages/ui/src/form/primitives/combobox/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
@layer utilities, components, compositions, overrides;

@layer components {
.search-icon:dir(ltr) {
transform: scaleX(-1);
}

.positioner {
z-index: var(--wp-ui-combobox-z-index, initial);
}
Expand Down
Loading