diff --git a/angular/src/directives/proxies.ts b/angular/src/directives/proxies.ts index e47ec382d6..2da8c0fd5e 100644 --- a/angular/src/directives/proxies.ts +++ b/angular/src/directives/proxies.ts @@ -865,14 +865,14 @@ export class Tab { } export declare interface TabBar extends StencilComponents<'IonTabBar'> {} -@Component({ selector: 'ion-tab-bar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['mode', 'color', 'layout', 'placement', 'selectedTab', 'translucent'] }) +@Component({ selector: 'ion-tab-bar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '', inputs: ['mode', 'color', 'layout', 'selectedTab', 'translucent'] }) export class TabBar { ionTabBarChanged: EventEmitter; constructor(c: ChangeDetectorRef, r: ElementRef) { c.detach(); const el = r.nativeElement; - proxyInputs(this, el, ['mode', 'color', 'layout', 'placement', 'selectedTab', 'translucent']); + proxyInputs(this, el, ['mode', 'color', 'layout', 'selectedTab', 'translucent']); proxyOutputs(this, el, ['ionTabBarChanged']); } } diff --git a/core/package.json b/core/package.json index 78ae9e6e1c..1b4048acc0 100644 --- a/core/package.json +++ b/core/package.json @@ -30,7 +30,7 @@ "ionicons": "4.4.6" }, "devDependencies": { - "@stencil/core": "0.15.2-2", + "@stencil/core": "0.15.2", "@stencil/sass": "0.1.1", "@stencil/utils": "latest", "@types/jest": "^23.3.1", diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 94927c2521..de77d49289 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -59,7 +59,6 @@ import { TabbarChangedDetail, TabbarClickDetail, TabbarLayout, - TabbarPlacement, TextFieldTypes, TextInputChangeEvent, ToastOptions, @@ -4441,7 +4440,7 @@ export namespace Components { */ 'color'?: Color; /** - * Set the layout of the text and icon in the tabbar. + * Set the layout of the text and icon in the tab bar. */ 'layout': TabbarLayout; /** @@ -4449,10 +4448,6 @@ export namespace Components { */ 'mode': Mode; /** - * Set the position of the tabbar, relative to the content. - */ - 'placement': TabbarPlacement; - /** * The selected tab component */ 'selectedTab'?: string; @@ -4467,7 +4462,7 @@ export namespace Components { */ 'color'?: Color; /** - * Set the layout of the text and icon in the tabbar. + * Set the layout of the text and icon in the tab bar. */ 'layout'?: TabbarLayout; /** @@ -4476,10 +4471,6 @@ export namespace Components { 'mode'?: Mode; 'onIonTabBarChanged'?: (event: CustomEvent) => void; /** - * Set the position of the tabbar, relative to the content. - */ - 'placement'?: TabbarPlacement; - /** * The selected tab component */ 'selectedTab'?: string; diff --git a/core/src/components/router/test/basic/index.html b/core/src/components/router/test/basic/index.html index 0a405f1016..2a8fb21fe8 100644 --- a/core/src/components/router/test/basic/index.html +++ b/core/src/components/router/test/basic/index.html @@ -114,7 +114,7 @@ inline tab 4 - + Plain List diff --git a/core/src/components/tab-bar/readme.md b/core/src/components/tab-bar/readme.md index c5fca1c7e2..3e8ec3f252 100644 --- a/core/src/components/tab-bar/readme.md +++ b/core/src/components/tab-bar/readme.md @@ -2,7 +2,7 @@ Tab bar is the UI component that implements the array of button of `ion-tabs`. It's provided by default when `ion-tabs` is used, though, this "implicit" tab bar can not be customized. -In order to have a custom tabbar, it should be provided in user's markup as direct children of `ion-tabs`: +In order to have a custom tab bar, it should be provided in user's markup as direct children of `ion-tabs`: ```html