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/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

### Enhancements

- `ExternalLink`: Use a small border radius for consistent focus rings ([#84697](https://github.com/WordPress/gutenberg/pull/84697)).
- `Menu`: Use WPDS motion tokens for popup transition durations and slide easing ([#84706](https://github.com/WordPress/gutenberg/pull/84706)).
- `TabPanel`: Add interaction backgrounds to unselected tabs, preserve keyboard focus rings, and size neutral vertical selection lines to the content ([#84572](https://github.com/WordPress/gutenberg/pull/84572)).
- `Popover`: Use the design-system stroke color, border width, radius, and background on the default surface. `Dropdown` and `DropdownMenu` pick this up through `Popover` ([#84574](https://github.com/WordPress/gutenberg/pull/84574)).
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/external-link/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use "@wordpress/base-styles/mixins";

.components-external-link {
border-radius: var(--wpds-border-radius-sm);
color: var(--wpds-color-foreground-interactive-brand);
text-decoration: none;

Expand All @@ -16,7 +17,7 @@
&:focus {
// Override style from wp-admin common.css.
box-shadow: none;
border-radius: 0;
border-radius: var(--wpds-border-radius-sm);

&:not(:active) {
@include mixins.outset-ring__focus();
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

### Enhancements

- `Link`: Use a small border radius for consistent focus rings in the default variant ([#84697](https://github.com/WordPress/gutenberg/pull/84697)).
- `Tabs`: Add interaction backgrounds to unselected tabs, preserve keyboard focus rings, and replace vertical chevrons with content-height selection lines without widening minimal tab lists ([#84572](https://github.com/WordPress/gutenberg/pull/84572)).
- `Dialog`: Use the WordPress compatibility overlay slot as the default portal container when available, preserving explicit container overrides, including null to delay rendering ([#84379](https://github.com/WordPress/gutenberg/pull/84379)).
- `Drawer`: Use the WordPress compatibility overlay slot as the default portal container when available, preserving explicit container overrides, including null to delay rendering ([#84380](https://github.com/WordPress/gutenberg/pull/84380)).
Expand All @@ -41,7 +42,6 @@
### Documentation

- `Tabs`: Preserve intrinsic icon styles in the tab icons and tooltips story ([#84618](https://github.com/WordPress/gutenberg/pull/84618)).

- Document accessible naming for Combobox popups ([#84551](https://github.com/WordPress/gutenberg/pull/84551)).
- Add popup width stories for Autocomplete, Combobox, Select, SearchableSelect, and SearchableChipSelect ([#84320](https://github.com/WordPress/gutenberg/pull/84320)).
- `Menu`: Clarify icon and description usage, document mixed icon alignment and current layout defaults, and favor short, clear labels ([#84020](https://github.com/WordPress/gutenberg/pull/84020)).
Expand Down
4 changes: 4 additions & 0 deletions packages/ui/src/link/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

@layer components {
.link {
--_gcd-a-border-radius: var(--wpds-border-radius-sm);

border-radius: var(--wpds-border-radius-sm);
text-underline-offset: 0.2em;
text-decoration-thickness: from-font;
}
Expand Down Expand Up @@ -40,6 +43,7 @@

/* Unstyled variant */
.is-unstyled {
--_gcd-a-border-radius: 0;
--_gcd-a-color: inherit;

color: inherit;
Expand Down
Loading