diff --git a/angular/src/directives/proxies.ts b/angular/src/directives/proxies.ts index 4c56789964..81703dcb46 100644 --- a/angular/src/directives/proxies.ts +++ b/angular/src/directives/proxies.ts @@ -302,12 +302,12 @@ export class Header { } export declare interface HideWhen extends Promisify> {} -@Component({ selector: 'ion-hide-when', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['mode', 'orientation', 'mediaQuery', 'size', 'platform', 'or'] }) +@Component({ selector: 'ion-hide-when', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['modes', 'orientation', 'mediaQuery', 'size', 'platform', 'or'] }) export class HideWhen { constructor(r: ElementRef) { const el = r.nativeElement; - proxyInputs(this, el, ['mode', 'orientation', 'mediaQuery', 'size', 'platform', 'or']); + proxyInputs(this, el, ['modes', 'orientation', 'mediaQuery', 'size', 'platform', 'or']); } } @@ -737,12 +737,12 @@ export class SelectPopover { } export declare interface ShowWhen extends Promisify> {} -@Component({ selector: 'ion-show-when', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['mode', 'orientation', 'mediaQuery', 'size', 'platform', 'or'] }) +@Component({ selector: 'ion-show-when', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['modes', 'orientation', 'mediaQuery', 'size', 'platform', 'or'] }) export class ShowWhen { constructor(r: ElementRef) { const el = r.nativeElement; - proxyInputs(this, el, ['mode', 'orientation', 'mediaQuery', 'size', 'platform', 'or']); + proxyInputs(this, el, ['modes', 'orientation', 'mediaQuery', 'size', 'platform', 'or']); } } @@ -790,12 +790,12 @@ export class Slides { } export declare interface Spinner extends Promisify> {} -@Component({ selector: 'ion-spinner', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['color', 'mode', 'duration', 'name', 'paused'] }) +@Component({ selector: 'ion-spinner', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['color', 'duration', 'name', 'paused'] }) export class Spinner { constructor(r: ElementRef) { const el = r.nativeElement; - proxyInputs(this, el, ['color', 'mode', 'duration', 'name', 'paused']); + proxyInputs(this, el, ['color', 'duration', 'name', 'paused']); } } @@ -854,7 +854,7 @@ export class Text { } export declare interface Textarea extends Promisify> {} -@Component({ selector: 'ion-textarea', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['color', 'mode', 'autocapitalize', 'autofocus', 'clearOnEdit', 'debounce', 'disabled', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'spellcheck', 'cols', 'rows', 'wrap', 'value'] }) +@Component({ selector: 'ion-textarea', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['mode', 'color', 'autocapitalize', 'autofocus', 'clearOnEdit', 'debounce', 'disabled', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'spellcheck', 'cols', 'rows', 'wrap', 'value'] }) export class Textarea { ionChange: EventEmitter; ionInput: EventEmitter; @@ -865,7 +865,7 @@ export class Textarea { constructor(r: ElementRef) { const el = r.nativeElement; proxyMethods(this, el, ['focus']); - proxyInputs(this, el, ['color', 'mode', 'autocapitalize', 'autofocus', 'clearOnEdit', 'debounce', 'disabled', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'spellcheck', 'cols', 'rows', 'wrap', 'value']); + proxyInputs(this, el, ['mode', 'color', 'autocapitalize', 'autofocus', 'clearOnEdit', 'debounce', 'disabled', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'spellcheck', 'cols', 'rows', 'wrap', 'value']); proxyOutputs(this, el, ['ionChange', 'ionInput', 'ionStyle', 'ionBlur', 'ionFocus']); } } diff --git a/core/src/components/select/select.tsx b/core/src/components/select/select.tsx index 50cfd062f0..81a0bf923b 100644 --- a/core/src/components/select/select.tsx +++ b/core/src/components/select/select.tsx @@ -1,6 +1,6 @@ import { Component, Element, Event, EventEmitter, Listen, Method, Prop, State, Watch } from '@stencil/core'; -import { ActionSheetButton, ActionSheetOptions, AlertInput, AlertOptions, CssClassMap, Mode, PopoverOptions, SelectInputChangeEvent, SelectInterface, SelectPopoverOption, StyleEvent } from '../../interface'; +import { ActionSheetButton, ActionSheetOptions, AlertOptions, CssClassMap, Mode, PopoverOptions, SelectInputChangeEvent, SelectInterface, SelectPopoverOption, StyleEvent } from '../../interface'; import { deferEvent, renderHiddenInput } from '../../utils/helpers'; import { hostContext } from '../../utils/theme';