diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 993b20726..f53834be0 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -95,7 +95,6 @@ const CalendarProps = [ default: "null", description: "The minimum selectable date." }, - { name: "maxDate", type: "Date", @@ -228,6 +227,12 @@ const CalendarProps = [ default: "body", description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.' }, + { + name: "id", + type: "string", + default: "null", + description: "Identifier of the element." + }, { name: "inputId", type: "string", diff --git a/src/components/calendar/Calendar.d.ts b/src/components/calendar/Calendar.d.ts index 82adfba4e..46c4a5cf7 100755 --- a/src/components/calendar/Calendar.d.ts +++ b/src/components/calendar/Calendar.d.ts @@ -243,15 +243,10 @@ export interface CalendarProps { * Default value is 'body'. */ appendTo?: CalendarAppendToType; + /** + * Identifier of the element. + */ id?: string | undefined; - /** - * Inline style of the component. - */ - style?: any; - /** - * Style class of the component. - */ - class?: any; /** * Identifier of the underlying input element. */ diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 6aab787ae..3558fa428 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -1,5 +1,5 @@