Skip to content

Commit

Permalink
DatePicker: Prepare day buttons for 40px default size (#68156)
Browse files Browse the repository at this point in the history
* DatePicker: Prepare day buttons for 40px default size

* Add changelog

Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
4 people authored Dec 20, 2024
1 parent 9297500 commit 0adbeba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
### Internal

- `SlotFill`: rewrite the non-portal version to use `observableMap` ([#67400](https://github.com/WordPress/gutenberg/pull/67400)).
- `DatePicker`: Prepare day buttons for 40px default size ([#68156](https://github.com/WordPress/gutenberg/pull/68156)).

## 29.0.0 (2024-12-11)

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/date-time/date/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ function Day( {

return (
<DayButton
__next40pxDefaultSize
ref={ ref }
className="components-datetime__date__day" // Unused, for backwards compatibility.
disabled={ isInvalid }
Expand Down

1 comment on commit 0adbeba

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0adbeba.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12433093851
📝 Reported issues:

Please sign in to comment.