Skip to content

Commit

Permalink
DatePicker: Prepare day buttons for 40px default size (WordPress#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

0 comments on commit 0adbeba

Please sign in to comment.