Skip to content
Open
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
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- `Text`: Remove `text-wrap: balance` fallback. Only `text-wrap: pretty` is now used.

### Enhancements

- Improve visual emphasis of the selected item in the ToggleGroupControl component ([#75138](https://github.com/WordPress/gutenberg/pull/75138)).

### Internal

- Expose `useDrag` from `@use-gesture/react` package via private API's ([#66735](https://github.com/WordPress/gutenberg/pull/66735)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
content: '';
position: absolute;
pointer-events: none;
background: var(--wp-components-color-foreground-inverted, #fff);
background: var(--wp-components-color-gray-100, #f0f0f0);
border: 1px solid var(--wp-components-color-gray-700, #757575);
outline: 2px solid transparent;
outline-offset: -3px;
Expand Down Expand Up @@ -410,7 +410,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
content: '';
position: absolute;
pointer-events: none;
background: var(--wp-components-color-foreground-inverted, #fff);
background: var(--wp-components-color-gray-100, #f0f0f0);
border: 1px solid var(--wp-components-color-gray-700, #757575);
outline: 2px solid transparent;
outline-offset: -3px;
Expand Down Expand Up @@ -658,7 +658,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
content: '';
position: absolute;
pointer-events: none;
background: var(--wp-components-color-foreground-inverted, #fff);
background: var(--wp-components-color-gray-100, #f0f0f0);
border: 1px solid var(--wp-components-color-gray-700, #757575);
outline: 2px solid transparent;
outline-offset: -3px;
Expand Down Expand Up @@ -993,7 +993,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
content: '';
position: absolute;
pointer-events: none;
background: var(--wp-components-color-foreground-inverted, #fff);
background: var(--wp-components-color-gray-100, #f0f0f0);
border: 1px solid var(--wp-components-color-gray-700, #757575);
outline: 2px solid transparent;
outline-offset: -3px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const toggleGroupControl = ( {
content: '';
position: absolute;
pointer-events: none;
background: ${ COLORS.theme.foregroundInverted };
background: ${ COLORS.theme.gray[ 100 ] };
border: 1px solid ${ COLORS.theme.gray[ 700 ] };

// Windows High Contrast mode will show this outline, but not the box-shadow.
Expand Down
Loading