Components: Remove deprecated calendar help from DateTimePicker#45999
Components: Remove deprecated calendar help from DateTimePicker#45999tyxla wants to merge 2 commits into
DateTimePicker#45999Conversation
|
|
|
Size Change: -725 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
| ### Enhancements | ||
|
|
||
| - `TabPanel`: Add ability to set icon only tab buttons ([#45005](https://github.com/WordPress/gutenberg/pull/45005)). | ||
| - `DateTimePicker`: Remove deprecated `__nextRemoveHelpButton` and `__nextRemoveResetButton` ([#45999](https://github.com/WordPress/gutenberg/pull/45999)). |
|
@tyxla, our policy on removing deprecated APIs and props has changed recently, so I'm not entirely sure that we can remove these props. Here's a recent example #45195 (comment) and you can find general conversations in this issue #40316. |
|
Thanks for letting me know @Mamaduka! I wonder what alternatives we have? Punt the decision for 6 more months of releases by just bumping the |
|
@Mamaduka would that policy apply also for experimental props like the ones being discussed in this PR?
Off the top of my mind:
|
|
Okay, I've filed #46006 to bump the removal version of the deprecated props. That gives us some time to think about it better while the checks in |
What?
This PR removes the deprecated calendar help functionality from the
DateTimePickerpackage.Why?
The
DateTimePickercalendar help has been deprecated since Version 13.4 and was scheduled to be removed for 14.6.Removing the deprecated props and the related code fixes the Static Analysis check which is currently failing in
trunk.How?
We're removing the deprecated props and related code.
Testing Instructions
npm run storybook:devand verify theDateTimePickercomponent stories look good.