Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: export i18n defaults for using in date-time-pickers #8081

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

web-padawan
Copy link
Member

Description

Exposed defaults to avoid getting i18n values from DatePicker and TimePicker prototypes.
Also changed to not use target.set() (Polymer API) and set the whole i18n object instead.

This is a pre-requisite for extracting vaadin-date-time-picker logic into a mixin for Lit version.

Type of change

  • Refactor

@web-padawan web-padawan force-pushed the refactor/dtp-i18n-defaults branch 2 times, most recently from 8c3ab4c to 02891b1 Compare November 4, 2024 10:14
Copy link

sonarcloud bot commented Nov 4, 2024

@web-padawan web-padawan merged commit 1868464 into main Nov 4, 2024
9 checks passed
@web-padawan web-padawan deleted the refactor/dtp-i18n-defaults branch November 4, 2024 12:56
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.6.0.alpha3 and is also targeting the upcoming stable 24.6.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants