[date-time-picker] Replace custom date-picker and time-picker extensions with original components #5250
Labels
refactor
Internal improvement
requires new major
This would be a breaking change
v24
To be done in V24
vaadin-date-time-picker
Describe your motivation
Currently,
vaadin-date-time-picker
uses two extensions ofvaadin-date-picker
andvaadin-time-picker
element.This introduces complexity for native CSS styling, because users need to keep in mind these different tag names.
Note, actual extensions don't override any functionality (at least in the current version) and are just basic classes:
Describe the solution you'd like
vaadin-date-picker
andvaadin-time-picker
;ThemableMixin
styles with selectors like::part(input-field)
to apply rounded borders:web-components/packages/date-time-picker/theme/lumo/vaadin-date-time-picker-styles.js
Lines 25 to 28 in b35879e
web-components/packages/date-time-picker/theme/lumo/vaadin-date-time-picker-styles.js
Lines 43 to 46 in b35879e
This only applies to Lumo, and in Material theme we don't have any CSS customizations for these picker extensions.
Additional context
This hasn't been added to the original V24 styling breaking changes, but IMO there is still time to include this change.
The text was updated successfully, but these errors were encountered: