From b7ae2bf3939958662a47902c27b97deb96f05b49 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Sat, 2 Dec 2017 01:04:55 -0600 Subject: [PATCH] chore(typings): updated components.d.ts file --- packages/core/src/components.d.ts | 1003 ++++++++++++++++++----------- 1 file changed, 626 insertions(+), 377 deletions(-) diff --git a/packages/core/src/components.d.ts b/packages/core/src/components.d.ts index 208836f96a..37c7f03247 100644 --- a/packages/core/src/components.d.ts +++ b/packages/core/src/components.d.ts @@ -95,15 +95,16 @@ declare global { } namespace JSXElements { export interface IonActionSheetAttributes extends HTMLAttributes { - cssClass?: string; - title?: string; - subTitle?: string; - buttons?: ActionSheetButton[]; - enableBackdropDismiss?: boolean; - translucent?: boolean; - animate?: boolean; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; + + cssClass?: string, + title?: string, + subTitle?: string, + buttons?: ActionSheetButton[], + enableBackdropDismiss?: boolean, + translucent?: boolean, + animate?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder } } } @@ -163,17 +164,18 @@ declare global { } namespace JSXElements { export interface IonAlertAttributes extends HTMLAttributes { - cssClass?: string; - title?: string; - subTitle?: string; - message?: string; - buttons?: AlertButton[]; - inputs?: AlertInput[]; - enableBackdropDismiss?: boolean; - translucent?: boolean; - animate?: boolean; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; + + cssClass?: string, + title?: string, + subTitle?: string, + message?: string, + buttons?: AlertButton[], + inputs?: AlertInput[], + enableBackdropDismiss?: boolean, + translucent?: boolean, + animate?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder } } } @@ -239,6 +241,126 @@ declare global { } +import { + AppCordovaPageOne as AppCordovaPageOne +} from './components/app/test/cordova/page-one'; + +declare global { + interface HTMLAppCordovaPageOneElement extends AppCordovaPageOne, HTMLElement { + } + var HTMLAppCordovaPageOneElement: { + prototype: HTMLAppCordovaPageOneElement; + new (): HTMLAppCordovaPageOneElement; + }; + interface HTMLElementTagNameMap { + "app-cordova-page-one": HTMLAppCordovaPageOneElement; + } + interface ElementTagNameMap { + "app-cordova-page-one": HTMLAppCordovaPageOneElement; + } + namespace JSX { + interface IntrinsicElements { + "app-cordova-page-one": JSXElements.AppCordovaPageOneAttributes; + } + } + namespace JSXElements { + export interface AppCordovaPageOneAttributes extends HTMLAttributes { + + } + } +} + + +import { + AppCordovaPageTabs as AppCordovaPageTabs +} from './components/app/test/cordova/page-tabs'; + +declare global { + interface HTMLAppCordovaPageTabsElement extends AppCordovaPageTabs, HTMLElement { + } + var HTMLAppCordovaPageTabsElement: { + prototype: HTMLAppCordovaPageTabsElement; + new (): HTMLAppCordovaPageTabsElement; + }; + interface HTMLElementTagNameMap { + "app-cordova-page-tabs": HTMLAppCordovaPageTabsElement; + } + interface ElementTagNameMap { + "app-cordova-page-tabs": HTMLAppCordovaPageTabsElement; + } + namespace JSX { + interface IntrinsicElements { + "app-cordova-page-tabs": JSXElements.AppCordovaPageTabsAttributes; + } + } + namespace JSXElements { + export interface AppCordovaPageTabsAttributes extends HTMLAttributes { + + } + } +} + + +import { + AppCordovaPageThree as AppCordovaPageThree +} from './components/app/test/cordova/page-three'; + +declare global { + interface HTMLAppCordovaPageThreeElement extends AppCordovaPageThree, HTMLElement { + } + var HTMLAppCordovaPageThreeElement: { + prototype: HTMLAppCordovaPageThreeElement; + new (): HTMLAppCordovaPageThreeElement; + }; + interface HTMLElementTagNameMap { + "app-cordova-page-three": HTMLAppCordovaPageThreeElement; + } + interface ElementTagNameMap { + "app-cordova-page-three": HTMLAppCordovaPageThreeElement; + } + namespace JSX { + interface IntrinsicElements { + "app-cordova-page-three": JSXElements.AppCordovaPageThreeAttributes; + } + } + namespace JSXElements { + export interface AppCordovaPageThreeAttributes extends HTMLAttributes { + + } + } +} + + +import { + AppCordovaPageTwo as AppCordovaPageTwo +} from './components/app/test/cordova/page-two'; + +declare global { + interface HTMLAppCordovaPageTwoElement extends AppCordovaPageTwo, HTMLElement { + } + var HTMLAppCordovaPageTwoElement: { + prototype: HTMLAppCordovaPageTwoElement; + new (): HTMLAppCordovaPageTwoElement; + }; + interface HTMLElementTagNameMap { + "app-cordova-page-two": HTMLAppCordovaPageTwoElement; + } + interface ElementTagNameMap { + "app-cordova-page-two": HTMLAppCordovaPageTwoElement; + } + namespace JSX { + interface IntrinsicElements { + "app-cordova-page-two": JSXElements.AppCordovaPageTwoAttributes; + } + } + namespace JSXElements { + export interface AppCordovaPageTwoAttributes extends HTMLAttributes { + + } + } +} + + import { Avatar as IonAvatar } from './components/avatar/avatar'; @@ -323,8 +445,9 @@ declare global { } namespace JSXElements { export interface IonBadgeAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -354,17 +477,18 @@ declare global { } namespace JSXElements { export interface IonButtonAttributes extends HTMLAttributes { - itemButton?: boolean; - href?: string; - buttonType?: string; - size?: 'small' | 'large'; - disabled?: boolean; - fill?: 'clear' | 'outline' | 'solid' | 'default'; - round?: boolean; - expand?: 'full' | 'block'; - strong?: boolean; - color?: string; - mode?: 'ios' | 'md'; + + itemButton?: boolean, + href?: string, + buttonType?: string, + size?: 'small' | 'large', + disabled?: boolean, + fill?: 'clear' | 'outline' | 'solid' | 'default', + round?: boolean, + expand?: 'full' | 'block', + strong?: boolean, + color?: string, + mode?: 'ios' | 'md' } } } @@ -424,8 +548,9 @@ declare global { } namespace JSXElements { export interface IonCardContentAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -455,9 +580,10 @@ declare global { } namespace JSXElements { export interface IonCardHeaderAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - translucent?: boolean; + + color?: string, + mode?: 'ios' | 'md', + translucent?: boolean } } } @@ -487,8 +613,9 @@ declare global { } namespace JSXElements { export interface IonCardSubtitleAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -518,8 +645,9 @@ declare global { } namespace JSXElements { export interface IonCardTitleAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -549,8 +677,9 @@ declare global { } namespace JSXElements { export interface IonCardAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -580,12 +709,13 @@ declare global { } namespace JSXElements { export interface IonCheckboxAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - name?: string; - checked?: boolean; - disabled?: boolean; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + name?: string, + checked?: boolean, + disabled?: boolean, + value?: string } } } @@ -615,11 +745,12 @@ declare global { } namespace JSXElements { export interface IonChipButtonAttributes extends HTMLAttributes { - href?: string; - color?: string; - mode?: 'ios' | 'md'; - clear?: boolean; - disabled?: boolean; + + href?: string, + color?: string, + mode?: 'ios' | 'md', + clear?: boolean, + disabled?: boolean } } } @@ -649,8 +780,9 @@ declare global { } namespace JSXElements { export interface IonChipAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -710,10 +842,11 @@ declare global { } namespace JSXElements { export interface IonContentAttributes extends HTMLAttributes { - ionScrollStart?: Function; - ionScroll?: Function; - ionScrollEnd?: Function; - fullscreen?: boolean; + + ionScrollStart?: Function, + ionScroll?: Function, + ionScrollEnd?: Function, + fullscreen?: boolean } } } @@ -743,25 +876,26 @@ declare global { } namespace JSXElements { export interface IonDatetimeAttributes extends HTMLAttributes { - disabled?: boolean; - min?: string; - max?: string; - displayFormat?: string; - pickerFormat?: string; - cancelText?: string; - doneText?: string; - yearValues?: any; - monthValues?: any; - dayValues?: any; - hourValues?: any; - minuteValues?: any; - monthNames?: any; - monthShortNames?: any; - dayNames?: any; - dayShortNames?: any; - pickerOptions?: PickerOptions; - placeholder?: string; - value?: string; + + disabled?: boolean, + min?: string, + max?: string, + displayFormat?: string, + pickerFormat?: string, + cancelText?: string, + doneText?: string, + yearValues?: any, + monthValues?: any, + dayValues?: any, + hourValues?: any, + minuteValues?: any, + monthNames?: any, + monthShortNames?: any, + dayNames?: any, + dayShortNames?: any, + pickerOptions?: PickerOptions, + placeholder?: string, + value?: string } } } @@ -821,7 +955,8 @@ declare global { } namespace JSXElements { export interface IonFabListAttributes extends HTMLAttributes { - activated?: boolean; + + activated?: boolean } } } @@ -851,14 +986,15 @@ declare global { } namespace JSXElements { export interface IonFabButtonAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - href?: string; - translucent?: boolean; - activated?: boolean; - toggleActive?: Function; - show?: boolean; - disabled?: boolean; + + color?: string, + mode?: 'ios' | 'md', + href?: string, + translucent?: boolean, + activated?: boolean, + toggleActive?: Function, + show?: boolean, + disabled?: boolean } } } @@ -888,7 +1024,8 @@ declare global { } namespace JSXElements { export interface IonFooterAttributes extends HTMLAttributes { - translucent?: boolean; + + translucent?: boolean } } } @@ -948,24 +1085,25 @@ declare global { } namespace JSXElements { export interface IonGestureAttributes extends HTMLAttributes { - enabled?: boolean; - attachTo?: ElementRef; - autoBlockAll?: boolean; - block?: string; - disableScroll?: boolean; - direction?: string; - gestureName?: string; - gesturePriority?: number; - maxAngle?: number; - threshold?: number; - type?: string; - canStart?: GestureCallback; - onWillStart?: (_: GestureDetail) => Promise; - onStart?: GestureCallback; - onMove?: GestureCallback; - onEnd?: GestureCallback; - onPress?: GestureCallback; - notCaptured?: GestureCallback; + + enabled?: boolean, + attachTo?: ElementRef, + autoBlockAll?: boolean, + block?: string, + disableScroll?: boolean, + direction?: string, + gestureName?: string, + gesturePriority?: number, + maxAngle?: number, + threshold?: number, + type?: string, + canStart?: GestureCallback, + onWillStart?: (_: GestureDetail) => Promise, + onStart?: GestureCallback, + onMove?: GestureCallback, + onEnd?: GestureCallback, + onPress?: GestureCallback, + notCaptured?: GestureCallback } } } @@ -1025,7 +1163,8 @@ declare global { } namespace JSXElements { export interface IonHeaderAttributes extends HTMLAttributes { - translucent?: boolean; + + translucent?: boolean } } } @@ -1055,8 +1194,9 @@ declare global { } namespace JSXElements { export interface IonInfiniteScrollContentAttributes extends HTMLAttributes { - loadingSpinner?: string; - loadingText?: string; + + loadingSpinner?: string, + loadingText?: string } } } @@ -1086,9 +1226,10 @@ declare global { } namespace JSXElements { export interface IonInfiniteScrollAttributes extends HTMLAttributes { - threshold?: string; - enabled?: boolean; - position?: string; + + threshold?: string, + enabled?: boolean, + position?: string } } } @@ -1118,32 +1259,33 @@ declare global { } namespace JSXElements { export interface IonInputAttributes extends HTMLAttributes { - accept?: string; - autocapitalize?: string; - autocomplete?: string; - autocorrect?: string; - autofocus?: boolean; - checked?: boolean; - clearInput?: boolean; - clearOnEdit?: boolean; - disabled?: boolean; - inputmode?: string; - max?: string; - maxlength?: number; - min?: string; - minlength?: number; - multiple?: boolean; - name?: string; - pattern?: string; - placeholder?: string; - readonly?: boolean; - required?: boolean; - results?: number; - spellcheck?: boolean; - step?: string; - size?: number; - type?: string; - value?: string; + + accept?: string, + autocapitalize?: string, + autocomplete?: string, + autocorrect?: string, + autofocus?: boolean, + checked?: boolean, + clearInput?: boolean, + clearOnEdit?: boolean, + disabled?: boolean, + inputmode?: string, + max?: string, + maxlength?: number, + min?: string, + minlength?: number, + multiple?: boolean, + name?: string, + pattern?: string, + placeholder?: string, + readonly?: boolean, + required?: boolean, + results?: number, + spellcheck?: boolean, + step?: string, + size?: number, + type?: string, + value?: string } } } @@ -1173,8 +1315,9 @@ declare global { } namespace JSXElements { export interface IonItemDividerAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -1204,10 +1347,11 @@ declare global { } namespace JSXElements { export interface IonItemOptionAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - href?: string; - disabled?: boolean; + + color?: string, + mode?: 'ios' | 'md', + href?: string, + disabled?: boolean } } } @@ -1237,7 +1381,8 @@ declare global { } namespace JSXElements { export interface IonItemOptionsAttributes extends HTMLAttributes { - side?: Side; + + side?: Side } } } @@ -1297,9 +1442,10 @@ declare global { } namespace JSXElements { export interface IonItemAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - href?: string; + + color?: string, + mode?: 'ios' | 'md', + href?: string } } } @@ -1359,11 +1505,12 @@ declare global { } namespace JSXElements { export interface IonLabelAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - fixed?: boolean; - floating?: boolean; - stacked?: boolean; + + color?: string, + mode?: 'ios' | 'md', + fixed?: boolean, + floating?: boolean, + stacked?: boolean } } } @@ -1393,8 +1540,9 @@ declare global { } namespace JSXElements { export interface IonListHeaderAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -1484,15 +1632,16 @@ declare global { } namespace JSXElements { export interface IonLoadingAttributes extends HTMLAttributes { - cssClass?: string; - content?: string; - dismissOnPageChange?: boolean; - duration?: number; - translucent?: boolean; - loadingId?: string; - showBackdrop?: boolean; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; + + cssClass?: string, + content?: string, + dismissOnPageChange?: boolean, + duration?: number, + translucent?: boolean, + showBackdrop?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder, + animate?: boolean } } } @@ -1552,14 +1701,15 @@ declare global { } namespace JSXElements { export interface IonMenuAttributes extends HTMLAttributes { - content?: string; - menuId?: string; - type?: string; - enabled?: boolean; - side?: Side; - swipeEnabled?: boolean; - persistent?: boolean; - maxEdgeStart?: number; + + content?: string, + menuId?: string, + type?: string, + enabled?: boolean, + side?: Side, + swipeEnabled?: boolean, + persistent?: boolean, + maxEdgeStart?: number } } } @@ -1619,16 +1769,18 @@ declare global { } namespace JSXElements { export interface IonModalAttributes extends HTMLAttributes { - mode?: string; - color?: string; - component?: string; - componentProps?: any; - cssClass?: string; - enableBackdropDismiss?: boolean; - modalId?: string; - showBackdrop?: boolean; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; + + mode?: string, + color?: string, + component?: string, + componentProps?: any, + cssClass?: string, + enableBackdropDismiss?: boolean, + modalId?: string, + showBackdrop?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder, + animate?: boolean } } } @@ -1658,7 +1810,8 @@ declare global { } namespace JSXElements { export interface IonNavControllerAttributes extends HTMLAttributes { - delegate?: FrameworkDelegate; + + delegate?: FrameworkDelegate } } } @@ -1688,9 +1841,10 @@ declare global { } namespace JSXElements { export interface IonNavAttributes extends HTMLAttributes { - mode?: string; - root?: any; - delegate?: FrameworkDelegate; + + mode?: string, + root?: any, + delegate?: FrameworkDelegate } } } @@ -1720,10 +1874,11 @@ declare global { } namespace JSXElements { export interface IonNavbarAttributes extends HTMLAttributes { - hideBackButton?: boolean; - backButtonText?: string; - backButtonIcon?: string; - hidden?: boolean; + + hideBackButton?: boolean, + backButtonText?: string, + backButtonIcon?: string, + hidden?: boolean } } } @@ -1753,8 +1908,9 @@ declare global { } namespace JSXElements { export interface IonNoteAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; + + color?: string, + mode?: 'ios' | 'md' } } } @@ -1814,7 +1970,8 @@ declare global { } namespace JSXElements { export interface IonPickerColumnAttributes extends HTMLAttributes { - col?: PickerColumn; + + col?: PickerColumn } } } @@ -1874,17 +2031,19 @@ declare global { } namespace JSXElements { export interface IonPickerAttributes extends HTMLAttributes { - cssClass?: string; - content?: string; - dismissOnPageChange?: boolean; - duration?: number; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; - pickerId?: string; - showBackdrop?: boolean; - enableBackdropDismiss?: boolean; - buttons?: PickerButton[]; - columns?: PickerColumn[]; + + cssClass?: string, + content?: string, + dismissOnPageChange?: boolean, + duration?: number, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder, + pickerId?: string, + showBackdrop?: boolean, + enableBackdropDismiss?: boolean, + animate?: boolean, + buttons?: PickerButton[], + columns?: PickerColumn[] } } } @@ -1944,18 +2103,20 @@ declare global { } namespace JSXElements { export interface IonPopoverAttributes extends HTMLAttributes { - mode?: string; - color?: string; - component?: string; - componentProps?: any; - cssClass?: string; - enableBackdropDismiss?: boolean; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; - ev?: Event; - popoverId?: string; - showBackdrop?: boolean; - translucent?: boolean; + + mode?: string, + color?: string, + component?: string, + componentProps?: any, + cssClass?: string, + enableBackdropDismiss?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder, + ev?: Event, + popoverId?: string, + showBackdrop?: boolean, + translucent?: boolean, + animate?: boolean } } } @@ -1985,10 +2146,11 @@ declare global { } namespace JSXElements { export interface IonRadioGroupAttributes extends HTMLAttributes { - allowEmptySelection?: boolean; - disabled?: boolean; - name?: string; - value?: string; + + allowEmptySelection?: boolean, + disabled?: boolean, + name?: string, + value?: string } } } @@ -2018,12 +2180,13 @@ declare global { } namespace JSXElements { export interface IonRadioAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - name?: string; - disabled?: boolean; - checked?: boolean; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + name?: string, + disabled?: boolean, + checked?: boolean, + value?: string } } } @@ -2053,15 +2216,16 @@ declare global { } namespace JSXElements { export interface IonRangeKnobAttributes extends HTMLAttributes { - pressed?: boolean; - pin?: boolean; - min?: number; - max?: number; - val?: number; - disabled?: boolean; - labelId?: string; - knob?: string; - ratio?: number; + + pressed?: boolean, + pin?: boolean, + min?: number, + max?: number, + val?: number, + disabled?: boolean, + labelId?: string, + knob?: string, + ratio?: number } } } @@ -2091,17 +2255,18 @@ declare global { } namespace JSXElements { export interface IonRangeAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - debounce?: number; - disabled?: boolean; - dualKnobs?: boolean; - max?: number; - min?: number; - pin?: boolean; - snaps?: boolean; - step?: number; - value?: any; + + color?: string, + mode?: 'ios' | 'md', + debounce?: number, + disabled?: boolean, + dualKnobs?: boolean, + max?: number, + min?: number, + pin?: boolean, + snaps?: boolean, + step?: number, + value?: any } } } @@ -2131,7 +2296,8 @@ declare global { } namespace JSXElements { export interface IonReorderGroupAttributes extends HTMLAttributes { - enabled?: boolean; + + enabled?: boolean } } } @@ -2191,8 +2357,9 @@ declare global { } namespace JSXElements { export interface IonRouteLinkAttributes extends HTMLAttributes { - url?: string; - router?: any; + + url?: string, + router?: any } } } @@ -2222,9 +2389,10 @@ declare global { } namespace JSXElements { export interface IonRouteAttributes extends HTMLAttributes { - path?: string; - component?: string; - props?: any; + + path?: string, + component?: string, + props?: any } } } @@ -2314,11 +2482,12 @@ declare global { } namespace JSXElements { export interface IonScrollAttributes extends HTMLAttributes { - enabled?: boolean; - jsScroll?: boolean; - onionScrollStart?: ScrollCallback; - onionScroll?: ScrollCallback; - onionScrollEnd?: ScrollCallback; + + enabled?: boolean, + jsScroll?: boolean, + onionScrollStart?: ScrollCallback, + onionScroll?: ScrollCallback, + onionScrollEnd?: ScrollCallback } } } @@ -2348,18 +2517,19 @@ declare global { } namespace JSXElements { export interface IonSearchbarAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - animated?: boolean; - autocomplete?: string; - autocorrect?: string; - cancelButtonText?: string; - debounce?: number; - placeholder?: string; - showCancelButton?: boolean; - spellcheck?: boolean; - type?: string; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + animated?: boolean, + autocomplete?: string, + autocorrect?: string, + cancelButtonText?: string, + debounce?: number, + placeholder?: string, + showCancelButton?: boolean, + spellcheck?: boolean, + type?: string, + value?: string } } } @@ -2389,11 +2559,12 @@ declare global { } namespace JSXElements { export interface IonSegmentButtonAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - checked?: boolean; - disabled?: boolean; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + checked?: boolean, + disabled?: boolean, + value?: string } } } @@ -2423,10 +2594,11 @@ declare global { } namespace JSXElements { export interface IonSegmentAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - disabled?: boolean; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + disabled?: boolean, + value?: string } } } @@ -2456,9 +2628,10 @@ declare global { } namespace JSXElements { export interface IonSelectOptionAttributes extends HTMLAttributes { - disabled?: boolean; - selected?: boolean; - value?: string; + + disabled?: boolean, + selected?: boolean, + value?: string } } } @@ -2488,8 +2661,9 @@ declare global { } namespace JSXElements { export interface IonSelectPopoverAttributes extends HTMLAttributes { - options?: SelectPopoverOption[]; - value?: string; + + options?: SelectPopoverOption[], + value?: string } } } @@ -2519,15 +2693,16 @@ declare global { } namespace JSXElements { export interface IonSelectAttributes extends HTMLAttributes { - disabled?: boolean; - cancelText?: string; - okText?: string; - placeholder?: string; - selectOptions?: any; - interface?: string; - selectedText?: string; - multiple?: boolean; - value?: string | string[]; + + disabled?: boolean, + cancelText?: string, + okText?: string, + placeholder?: string, + selectOptions?: any, + interface?: string, + selectedText?: string, + multiple?: boolean, + value?: string | string[] } } } @@ -2557,7 +2732,8 @@ declare global { } namespace JSXElements { export interface IonSkeletonTextAttributes extends HTMLAttributes { - width?: string; + + width?: string } } } @@ -2617,20 +2793,21 @@ declare global { } namespace JSXElements { export interface IonSlidesAttributes extends HTMLAttributes { - effect?: string; - autoplay?: number; - control?: any; - direction?: 'horizontal' | 'vertical'; - initialSlide?: number; - loop?: boolean; - pager?: boolean; - paginationType?: string; - parallax?: boolean; - slidesPerView?: number | 'auto'; - spaceBetween?: number; - speed?: number; - zoom?: boolean; - keyboardControl?: boolean; + + effect?: string, + autoplay?: number, + control?: any, + direction?: 'horizontal' | 'vertical', + initialSlide?: number, + loop?: boolean, + pager?: boolean, + paginationType?: string, + parallax?: boolean, + slidesPerView?: number | 'auto', + spaceBetween?: number, + speed?: number, + zoom?: boolean, + keyboardControl?: boolean } } } @@ -2660,11 +2837,12 @@ declare global { } namespace JSXElements { export interface IonSpinnerAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - duration?: number; - name?: string; - paused?: boolean; + + color?: string, + mode?: 'ios' | 'md', + duration?: number, + name?: string, + paused?: boolean } } } @@ -2694,8 +2872,9 @@ declare global { } namespace JSXElements { export interface IonSplitPaneAttributes extends HTMLAttributes { - enabled?: boolean; - when?: string | boolean; + + enabled?: boolean, + when?: string | boolean } } } @@ -2725,8 +2904,9 @@ declare global { } namespace JSXElements { export interface IonTabButtonAttributes extends HTMLAttributes { - selected?: boolean; - tab?: HTMLIonTabElement; + + selected?: boolean, + tab?: HTMLIonTabElement } } } @@ -2756,7 +2936,8 @@ declare global { } namespace JSXElements { export interface IonTabHighlightAttributes extends HTMLAttributes { - selectedTab?: HTMLIonTabElement; + + selectedTab?: HTMLIonTabElement } } } @@ -2786,16 +2967,17 @@ declare global { } namespace JSXElements { export interface IonTabAttributes extends HTMLAttributes { - btnId?: string; - path?: string; - title?: string; - icon?: string; - badge?: string; - badgeStyle?: string; - enabled?: boolean; - show?: boolean; - tabsHideOnSubPages?: boolean; - selected?: boolean; + + btnId?: string, + path?: string, + title?: string, + icon?: string, + badge?: string, + badgeStyle?: string, + enabled?: boolean, + show?: boolean, + tabsHideOnSubPages?: boolean, + selected?: boolean } } } @@ -2825,12 +3007,13 @@ declare global { } namespace JSXElements { export interface IonTabbarAttributes extends HTMLAttributes { - placement?: string; - tabs?: HTMLIonTabElement[]; - selectedTab?: HTMLIonTabElement; - layout?: string; - highlight?: boolean; - translucent?: boolean; + + placement?: string, + tabs?: HTMLIonTabElement[], + selectedTab?: HTMLIonTabElement, + layout?: string, + highlight?: boolean, + translucent?: boolean } } } @@ -2860,12 +3043,73 @@ declare global { } namespace JSXElements { export interface IonTabsAttributes extends HTMLAttributes { - name?: string; - tabbarHidden?: boolean; - tabbarLayout?: string; - tabbarPlacement?: string; - tabbarHighlight?: boolean; - translucent?: boolean; + + name?: string, + tabbarHidden?: boolean, + tabbarLayout?: string, + tabbarPlacement?: string, + tabbarHighlight?: boolean, + translucent?: boolean + } + } +} + + +import { + PageTab as PageTab +} from './components/tabs/test/basic/page-tab'; + +declare global { + interface HTMLPageTabElement extends PageTab, HTMLElement { + } + var HTMLPageTabElement: { + prototype: HTMLPageTabElement; + new (): HTMLPageTabElement; + }; + interface HTMLElementTagNameMap { + "page-tab": HTMLPageTabElement; + } + interface ElementTagNameMap { + "page-tab": HTMLPageTabElement; + } + namespace JSX { + interface IntrinsicElements { + "page-tab": JSXElements.PageTabAttributes; + } + } + namespace JSXElements { + export interface PageTabAttributes extends HTMLAttributes { + + } + } +} + + +import { + TranslucentPageTab as TranslucentPageTab +} from './components/tabs/test/translucent/translucent-page-tab'; + +declare global { + interface HTMLTranslucentPageTabElement extends TranslucentPageTab, HTMLElement { + } + var HTMLTranslucentPageTabElement: { + prototype: HTMLTranslucentPageTabElement; + new (): HTMLTranslucentPageTabElement; + }; + interface HTMLElementTagNameMap { + "translucent-page-tab": HTMLTranslucentPageTabElement; + } + interface ElementTagNameMap { + "translucent-page-tab": HTMLTranslucentPageTabElement; + } + namespace JSX { + interface IntrinsicElements { + "translucent-page-tab": JSXElements.TranslucentPageTabAttributes; + } + } + namespace JSXElements { + export interface TranslucentPageTabAttributes extends HTMLAttributes { + } } } @@ -2895,22 +3139,23 @@ declare global { } namespace JSXElements { export interface IonTextareaAttributes extends HTMLAttributes { - autocapitalize?: string; - autocomplete?: string; - autofocus?: boolean; - clearOnEdit?: boolean; - disabled?: boolean; - maxlength?: number; - minlength?: number; - name?: string; - placeholder?: string; - readonly?: boolean; - required?: boolean; - spellcheck?: boolean; - cols?: number; - rows?: number; - wrap?: string; - value?: string; + + autocapitalize?: string, + autocomplete?: string, + autofocus?: boolean, + clearOnEdit?: boolean, + disabled?: boolean, + maxlength?: number, + minlength?: number, + name?: string, + placeholder?: string, + readonly?: boolean, + required?: boolean, + spellcheck?: boolean, + cols?: number, + rows?: number, + wrap?: string, + value?: string } } } @@ -3030,17 +3275,19 @@ declare global { } namespace JSXElements { export interface IonToastAttributes extends HTMLAttributes { - message?: string; - cssClass?: string; - duration?: number; - showCloseButton?: boolean; - closeButtonText?: string; - dismissOnPageChange?: boolean; - position?: string; - translucent?: boolean; - toastId?: string; - enterAnimation?: AnimationBuilder; - leaveAnimation?: AnimationBuilder; + + message?: string, + cssClass?: string, + duration?: number, + showCloseButton?: boolean, + closeButtonText?: string, + dismissOnPageChange?: boolean, + position?: string, + translucent?: boolean, + toastId?: string, + animate?: boolean, + enterAnimation?: AnimationBuilder, + leaveAnimation?: AnimationBuilder } } } @@ -3070,12 +3317,13 @@ declare global { } namespace JSXElements { export interface IonToggleAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - name?: string; - checked?: boolean; - disabled?: boolean; - value?: string; + + color?: string, + mode?: 'ios' | 'md', + name?: string, + checked?: boolean, + disabled?: boolean, + value?: string } } } @@ -3105,9 +3353,10 @@ declare global { } namespace JSXElements { export interface IonToolbarAttributes extends HTMLAttributes { - color?: string; - mode?: 'ios' | 'md'; - translucent?: boolean; + + color?: string, + mode?: 'ios' | 'md', + translucent?: boolean } } }