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 @@ -6,6 +6,7 @@

- DataForm: Add `min`/`max` date range validation support for `date` and `datetime` fields. [#77201](https://github.com/WordPress/gutenberg/pull/77201)
- DataForm: support `isDisabled` field property. [#77090](https://github.com/WordPress/gutenberg/pull/77090)
- `DataViews`, `DataForm`: Use `--wpds-cursor-control` for interactive cursor styling. [#77259](https://github.com/WordPress/gutenberg/pull/77259)
- DataViews/DataViewsPicker: simplify `defaultLayouts` property. [#77232](https://github.com/WordPress/gutenberg/pull/77232)
- DataForm: Show tooltip in edit button in `panel` layout. [#77024](https://github.com/WordPress/gutenberg/pull/77024)
- DataViewsPicker: Add `onReset` prop to support view reset functionality. [#77288](https://github.com/WordPress/gutenberg/pull/77288)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: flex;
width: 100%;
min-height: $grid-unit-30;
cursor: pointer;
cursor: var(--wpds-cursor-control);
align-items: flex-start;
border-radius: $radius-small;
isolation: isolate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
.dataviews-filters__summary-chip {
border-radius: $grid-unit-20;
border: $border-width solid transparent;
cursor: pointer;
cursor: var(--wpds-cursor-control);
padding: $grid-unit-05 $grid-unit-15;
min-height: $grid-unit-40;
background: $gray-100;
Expand Down Expand Up @@ -137,7 +137,7 @@
align-items: center;
justify-content: center;
background: transparent;
cursor: pointer;
cursor: var(--wpds-cursor-control);

svg {
fill: $gray-700;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
overflow: hidden;

&--clickable {
cursor: pointer;
cursor: var(--wpds-cursor-control);

&:focus-visible {
outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
}

.dataviews-view-grid__media--clickable {
cursor: pointer;
cursor: var(--wpds-cursor-control);
}

.dataviews-view-grid__group-header {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ div.dataviews-view-list {
border: none;
background: none;
padding: 0;
cursor: pointer;
cursor: var(--wpds-cursor-control);

&:focus-visible {
outline: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
}

.dataviews-view-picker-grid__media--clickable {
cursor: pointer;
cursor: var(--wpds-cursor-control);
}

.dataviews-view-picker-grid-group__header {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

// When used in picker context, ensure row selection works as expected
.dataviews-view-table__row {
cursor: pointer;
cursor: var(--wpds-cursor-control);

&.is-selected {
// Ensure selected rows are visually distinct
Expand Down
2 changes: 1 addition & 1 deletion packages/dataviews/src/dataviews/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
}

.dataviews-title-field--clickable {
cursor: pointer;
cursor: var(--wpds-cursor-control);
color: $gray-800;
&:hover {
color: var(--wp-admin-theme-color);
Expand Down
Loading