Refactor #5681 - For DatePicker
parent
45bb31a7d3
commit
f046eccda9
|
@ -43,7 +43,7 @@
|
||||||
v-bind="ptm('dropdown')"
|
v-bind="ptm('dropdown')"
|
||||||
>
|
>
|
||||||
<slot name="dropdownicon" :class="icon">
|
<slot name="dropdownicon" :class="icon">
|
||||||
<component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownButtonIcon')" />
|
<component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownIcon')" />
|
||||||
</slot>
|
</slot>
|
||||||
</button>
|
</button>
|
||||||
</slot>
|
</slot>
|
||||||
|
|
|
@ -375,7 +375,7 @@ const classes = {
|
||||||
dayView: 'p-datepicker-day-view',
|
dayView: 'p-datepicker-day-view',
|
||||||
weekHeader: 'p-datepicker-weekheader p-disabled',
|
weekHeader: 'p-datepicker-weekheader p-disabled',
|
||||||
weekNumber: 'p-datepicker-weeknumber',
|
weekNumber: 'p-datepicker-weeknumber',
|
||||||
weekLabelContainer: 'p-disabled', //TODO:
|
weekLabelContainer: 'p-disabled',
|
||||||
weekDayCell: 'p-datepicker-weekday-cell',
|
weekDayCell: 'p-datepicker-weekday-cell',
|
||||||
weekDay: 'p-date-picker-weekday',
|
weekDay: 'p-date-picker-weekday',
|
||||||
dayCell: ({ date }) => ['p-datepicker-day-cell', { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
|
dayCell: ({ date }) => ['p-datepicker-day-cell', { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
|
||||||
|
|
Loading…
Reference in New Issue