-
Notifications
You must be signed in to change notification settings - Fork 78
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: remove unused code from date-picker #4798
Conversation
Kudos, SonarCloud Quality Gate passed! |
:host([dir='rtl']) [part='value']::placeholder { | ||
direction: rtl; | ||
text-align: left; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These styles are no longer used since #2532 where we changed to use slotted <input>
element.
__getWeekNumbers(dates) { | ||
return dates | ||
.map((date) => this.__getWeekNumber(date, dates)) | ||
.filter((week, index, arr) => arr.indexOf(week) === index); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is no longer used since #3355 where we changed how week numbers are rendered.
Description
Removed some no longer used code from the date-picker.
Type of change