diff --git a/components/lib/calendar/calendar.d.ts b/components/lib/calendar/calendar.d.ts index c86cd60b41..ba6c06be0a 100644 --- a/components/lib/calendar/calendar.d.ts +++ b/components/lib/calendar/calendar.d.ts @@ -11,6 +11,7 @@ import * as React from 'react'; import { CSSTransitionProps as ReactCSSTransitionProps } from 'react-transition-group/CSSTransition'; import { ComponentHooks } from '../componentbase/componentbase'; import { CSSTransitionProps } from '../csstransition'; +import { InputText, InputTextPassThroughOptions } from '../inputtext/inputtext'; import { PassThroughOptions } from '../passthrough'; import { TooltipOptions } from '../tooltip/tooltipoptions'; import { FormEvent, Nullable } from '../ts-helpers'; @@ -41,7 +42,7 @@ export interface CalendarPassThroughOptions { * Uses to pass attributes to the InputText component. * @see {@link CalendarPassThroughType} */ - input?: CalendarPassThroughType>; + input?: InputTextPassThroughOptions; /** * Uses to pass attributes to the Button component. * @see {@link CalendarPassThroughType} @@ -1079,9 +1080,9 @@ export declare class Calendar extends React.Component { public getElement(): HTMLSpanElement; /** * Used to get input element. - * @return {HTMLInputElement} Input element + * @return {InputText} Input element */ - public getInput(): HTMLInputElement; + public getInput(): typeof InputText; /** * Used to get overlay element. * @return {HTMLElement} Overlay element diff --git a/components/lib/cascadeselect/cascadeselect.d.ts b/components/lib/cascadeselect/cascadeselect.d.ts index 7dc3f9d7b0..62b5cc1366 100644 --- a/components/lib/cascadeselect/cascadeselect.d.ts +++ b/components/lib/cascadeselect/cascadeselect.d.ts @@ -12,6 +12,7 @@ import { CSSTransitionProps as ReactCSSTransitionProps } from 'react-transition- import { APIOptions } from '../api/api'; import { ComponentHooks } from '../componentbase/componentbase'; import { CSSTransitionProps } from '../csstransition'; +import { InputText, InputTextPassThroughOptions } from '../inputtext/inputtext'; import { PassThroughOptions } from '../passthrough'; import { SelectItemOptionsType } from '../selectitem/selectitem'; import { IconType, PassThroughType } from '../utils/utils'; @@ -77,7 +78,7 @@ export interface CascadeSelectPassThroughOptions { /** * Uses to pass attributes to the input's DOM element. */ - input?: CascadeSelectPassThroughType>; + input?: InputTextPassThroughOptions; /** * Uses to pass attributes to the label's DOM element. */ @@ -352,9 +353,9 @@ export declare class CascadeSelect extends React.Component = PassThroughType; @@ -38,7 +37,7 @@ export interface InputOtpPassThroughOptions { * Uses to pass attributes to the Tooltip component. * @see {@link TooltipPassThroughOptions} */ - input?: InputOtpPassThroughType>; + input?: InputTextPassThroughOptions; /** * Used to manage all lifecycle hooks * @see {@link ComponentHooks}