Skip to content

Commit

Permalink
refactor: remove unused code from date-picker (#4798) (#4804)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
  • Loading branch information
vaadin-bot and web-padawan committed Oct 23, 2022
1 parent 37ab97c commit e0eda62
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions packages/date-picker/src/vaadin-date-picker-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export const datePickerStyles = css`
direction: ltr;
}
:host([dir='rtl']) [part='value']::placeholder {
direction: rtl;
text-align: left;
}
:host([dir='rtl']) [part='input-field'] ::slotted(input)::placeholder {
direction: rtl;
text-align: left;
Expand Down
6 changes: 0 additions & 6 deletions packages/date-picker/src/vaadin-month-calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,6 @@ class MonthCalendar extends FocusMixin(ThemableMixin(PolymerElement)) {

return '-1';
}

__getWeekNumbers(dates) {
return dates
.map((date) => this.__getWeekNumber(date, dates))
.filter((week, index, arr) => arr.indexOf(week) === index);
}
}

customElements.define(MonthCalendar.is, MonthCalendar);

0 comments on commit e0eda62

Please sign in to comment.