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/dataviews/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- Update the `@ariakit/react` dependency to 0.4.44 ([#87650](https://github.com/WordPress/gutenberg/pull/87650)).
- Use logical CSS properties instead of physical ones such as `left` and `margin-right` ([#87663](https://github.com/WordPress/gutenberg/pull/87663)).
- Use the `--wpds-border-width-xs` design token for 1px borders and divider lines ([#87662](https://github.com/WordPress/gutenberg/pull/87662)).
- Enforce logical CSS properties in the package's styles with Stylelint ([#87685](https://github.com/WordPress/gutenberg/pull/87685)).

## 22.1.0 (2026-11-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
font-size: var(--wpds-typography-font-size-lg);
font-weight: var(--wpds-typography-font-weight-emphasis);
color: var(--wpds-color-foreground-content-neutral-weak);
margin: 0 0 var(--wpds-dimension-gap-sm) 0;
margin: 0 0 var(--wpds-dimension-gap-sm);
padding: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
font-size: var(--wpds-typography-font-size-lg);
font-weight: var(--wpds-typography-font-weight-emphasis);
color: var(--wpds-color-foreground-content-neutral);
margin: 0 0 var(--wpds-dimension-gap-sm) 0;
margin: 0 0 var(--wpds-dimension-gap-sm);
padding: 0 var(--wpds-dimension-padding-2xl);
container-type: inline-size;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,6 @@ div.dataviews-view-list {
font-size: var(--wpds-typography-font-size-lg);
font-weight: var(--wpds-typography-font-weight-emphasis);
color: var(--wpds-color-foreground-content-neutral);
margin: 0 0 var(--wpds-dimension-gap-lg) 0;
margin: 0 0 var(--wpds-dimension-gap-lg);
padding: 0 var(--wpds-dimension-padding-2xl);
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
font-size: var(--wpds-typography-font-size-lg);
font-weight: var(--wpds-typography-font-weight-emphasis);
color: var(--wpds-color-foreground-content-neutral-weak);
margin: 0 0 var(--wpds-dimension-gap-sm) 0;
margin: 0 0 var(--wpds-dimension-gap-sm);
padding: 0;
padding-inline-start: var(--wpds-dimension-padding-2xl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,6 @@
font-size: var(--wpds-typography-font-size-lg);
font-weight: var(--wpds-typography-font-weight-emphasis);
color: var(--wpds-color-foreground-content-neutral);
margin: 0 0 var(--wpds-dimension-gap-sm) 0;
margin: 0 0 var(--wpds-dimension-gap-sm);
padding: 0 48px;
}
2 changes: 1 addition & 1 deletion packages/dataviews/src/dataviews/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
flex-grow: 1;
min-height: 0;
box-sizing: border-box;
scroll-padding-bottom: 64px;
scroll-padding-block-end: 64px;
container: dataviews-wrapper / inline-size;
display: flex;
flex-direction: column;
Expand Down
7 changes: 6 additions & 1 deletion tools/stylelint/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ module.exports = {
'**/*.module.{css,scss}',
// Can be removed when all `routes/` stylesheets are converted to CSS modules.
'routes/**/*.{css,scss}',
'packages/dataviews/**/*.scss',
],
rules: {
'function-no-unknown': [
Expand Down Expand Up @@ -228,7 +229,11 @@ module.exports = {
},
{
// SCSS-only: use the Sass-aware `function-no-unknown` variant.
files: [ '**/*.module.scss', 'routes/**/*.scss' ],
files: [
'**/*.module.scss',
'routes/**/*.scss',
'packages/dataviews/**/*.scss',
],
rules: {
'function-no-unknown': null,
'scss/function-no-unknown': [
Expand Down
Loading