Calendar props updated

pull/2809/head
Tuğçe Küçükoğlu 2022-07-22 21:32:33 +03:00
parent 7188dd6dca
commit 9370a67652
3 changed files with 46 additions and 24 deletions

View File

@ -132,10 +132,6 @@ export interface CalendarProps {
* @deprecated since version 3.9.0, Years are based on decades by default. * @deprecated since version 3.9.0, Years are based on decades by default.
*/ */
yearRange?: string | undefined; yearRange?: string | undefined;
/**
* Style class of the datetimepicker panel.
*/
panelClass?: any;
/** /**
* The minimum selectable date. * The minimum selectable date.
*/ */
@ -239,6 +235,19 @@ export interface CalendarProps {
* Default value is 'body'. * Default value is 'body'.
*/ */
appendTo?: CalendarAppendToType; appendTo?: CalendarAppendToType;
id?: string | undefined;
/**
* Inline style of the component.
*/
style?: any;
/**
* Style class of the component.
*/
class?: any;
/**
* Identifier of the underlying input element.
*/
inputId?: string | undefined;
/** /**
* Inline style of the input field. * Inline style of the input field.
*/ */
@ -248,13 +257,16 @@ export interface CalendarProps {
*/ */
inputClass?: any; inputClass?: any;
/** /**
* Inline style of the component. *
*/ */
style?: any; inputProps?: object | undefined;
/** /**
* Style class of the component. * Unique identifier of the element.
*/ */
class?: any; /**
*
*/
panelProps?: object | undefined;
} }
export interface CalendarSlots { export interface CalendarSlots {

View File

@ -316,8 +316,6 @@ export default {
inputId: null, inputId: null,
inputClass: null, inputClass: null,
inputStyle: null, inputStyle: null,
class: null,
style: null,
inputProps: null, inputProps: null,
panelProps: null, panelProps: null,
disabled: { disabled: {

View File

@ -217,6 +217,12 @@ export default {
<td>false</td> <td>false</td>
<td>When specified, disables the component.</td> <td>When specified, disables the component.</td>
</tr> </tr>
<tr>
<td>readonly</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that an input field is read-only.</td>
</tr>
<tr> <tr>
<td>showOtherMonths</td> <td>showOtherMonths</td>
<td>boolean</td> <td>boolean</td>
@ -284,12 +290,6 @@ export default {
<td>The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020). <br><br> <td>The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020). <br><br>
<b> Deprecated: </b> Years are based on decades by default.</td> <b> Deprecated: </b> Years are based on decades by default.</td>
</tr> </tr>
<tr>
<td>panelClass</td>
<td>string</td>
<td>null</td>
<td>Style class of the datetimepicker panel.</td>
</tr>
<tr> <tr>
<td>minDate</td> <td>minDate</td>
<td>Date</td> <td>Date</td>
@ -430,16 +430,10 @@ export default {
and "self" for the element itself.</td> and "self" for the element itself.</td>
</tr> </tr>
<tr> <tr>
<td>inputStyle</td> <td>id</td>
<td>any</td>
<td>null</td>
<td>Inline style of the input field.</td>
</tr>
<tr>
<td>inputClass</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Style class of the input field.</td> <td>Unique identifier of the element.</td>
</tr> </tr>
<tr> <tr>
<td>style</td> <td>style</td>
@ -453,6 +447,24 @@ export default {
<td>null</td> <td>null</td>
<td>Style class of the component.</td> <td>Style class of the component.</td>
</tr> </tr>
<tr>
<td>inputStyle</td>
<td>any</td>
<td>null</td>
<td>Inline style of the input field.</td>
</tr>
<tr>
<td>inputClass</td>
<td>string</td>
<td>null</td>
<td>Style class of the input field.</td>
</tr>
<tr>
<td>panelClass</td>
<td>string</td>
<td>null</td>
<td>Style class of the datetimepicker panel.</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>