DatePicker weeklabel class update

pull/5806/head
tugcekucukoglu 2024-05-22 20:36:43 +03:00
parent cc907cf9d6
commit dbbaad5065
3 changed files with 8 additions and 4 deletions

View File

@ -82,7 +82,10 @@ export enum DatePickerClasses {
* Class name of the week number element * Class name of the week number element
*/ */
weekNumber = 'p-datepicker-weeknumber', weekNumber = 'p-datepicker-weeknumber',
weekLabelContainer = 'p-disabled', /**
* Class name of the week label container element
*/
weekLabelContainer = 'p-datepicker-weeklabel-container',
/** /**
* Class name of the week day cell element * Class name of the week day cell element
*/ */

View File

@ -382,7 +382,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', weekLabelContainer: 'p-datepicker-weeklabel-container p-disabled',
weekDayCell: 'p-datepicker-weekday-cell', weekDayCell: 'p-datepicker-weekday-cell',
weekDay: 'p-datepicker-weekday', weekDay: 'p-datepicker-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 }],

View File

@ -28607,7 +28607,8 @@
"name": "weekLabelContainer", "name": "weekLabelContainer",
"optional": false, "optional": false,
"readonly": false, "readonly": false,
"value": "\"p-disabled\"" "value": "\"p-datepicker-weeklabel-container\"",
"description": "Class name of the week label container element"
}, },
{ {
"name": "weekDayCell", "name": "weekDayCell",
@ -56156,7 +56157,7 @@
"description": "Class name of the root element" "description": "Class name of the root element"
}, },
{ {
"name": "ptInput", "name": "pcInput",
"optional": false, "optional": false,
"readonly": false, "readonly": false,
"value": "\"p-password-input\"", "value": "\"p-password-input\"",