Skip to content

Commit 79cb445

Browse files
authored
docs(material/tabs): remove duplicated tabs example (#30109)
This commit drops the tab-group-inverted-example in favor of the identical tab-group-header-below to be consistent with the allowed inputs for `headerPosition`
1 parent 4ef3baa commit 79cb445

File tree

6 files changed

+5
-27
lines changed

6 files changed

+5
-27
lines changed

src/components-examples/material/tabs/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ export {TabGroupAsyncExample} from './tab-group-async/tab-group-async-example';
44
export {TabGroupBasicExample} from './tab-group-basic/tab-group-basic-example';
55
export {TabGroupCustomLabelExample} from './tab-group-custom-label/tab-group-custom-label-example';
66
export {TabGroupDynamicHeightExample} from './tab-group-dynamic-height/tab-group-dynamic-height-example';
7-
export {TabGroupHarnessExample} from './tab-group-harness/tab-group-harness-example';
87
export {TabGroupDynamicExample} from './tab-group-dynamic/tab-group-dynamic-example';
8+
export {TabGroupHarnessExample} from './tab-group-harness/tab-group-harness-example';
99
export {TabGroupHeaderBelowExample} from './tab-group-header-below/tab-group-header-below-example';
10+
export {TabGroupInkBarExample} from './tab-group-ink-bar/tab-group-ink-bar-example';
1011
export {TabGroupLazyLoadedExample} from './tab-group-lazy-loaded/tab-group-lazy-loaded-example';
12+
export {TabGroupPaginatedExample} from './tab-group-paginated/tab-group-paginated-example';
1113
export {TabGroupPreserveContentExample} from './tab-group-preserve-content/tab-group-preserve-content-example';
1214
export {TabGroupStretchedExample} from './tab-group-stretched/tab-group-stretched-example';
1315
export {TabNavBarBasicExample} from './tab-nav-bar-basic/tab-nav-bar-basic-example';
14-
export {TabGroupPaginatedExample} from './tab-group-paginated/tab-group-paginated-example';
15-
export {TabGroupInvertedExample} from './tab-group-inverted/tab-group-inverted-example';
16-
export {TabGroupInkBarExample} from './tab-group-ink-bar/tab-group-ink-bar-example';

src/components-examples/material/tabs/tab-group-header-below/tab-group-header-below-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {Component} from '@angular/core';
22
import {MatTabsModule} from '@angular/material/tabs';
33

44
/**
5-
* @title Tab group with the headers on the bottom
5+
* @title Tab group with headers below the content
66
*/
77
@Component({
88
selector: 'tab-group-header-below-example',

src/components-examples/material/tabs/tab-group-inverted/tab-group-inverted-example.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components-examples/material/tabs/tab-group-inverted/tab-group-inverted-example.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/dev-app/tabs/tabs-demo.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ <h3>Tab navigation bar basic</h3>
2020
<tab-nav-bar-basic-example></tab-nav-bar-basic-example>
2121
<h3>Paginated Tabs</h3>
2222
<tab-group-paginated-example></tab-group-paginated-example>
23-
<h3>Inverted Tabs</h3>
24-
<tab-group-inverted-example></tab-group-inverted-example>
2523
<h3>Ink bar fit to content</h3>
2624
<tab-group-ink-bar-example></tab-group-ink-bar-example>
27-
<h3>Tab group with the headers on the bottom</h3>
25+
<h3>Tab group with headers below the content</h3>
2826
<tab-group-header-below-example></tab-group-header-below-example>

src/dev-app/tabs/tabs-demo.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
TabGroupDynamicHeightExample,
1717
TabGroupHeaderBelowExample,
1818
TabGroupInkBarExample,
19-
TabGroupInvertedExample,
2019
TabGroupLazyLoadedExample,
2120
TabGroupPaginatedExample,
2221
TabGroupStretchedExample,
@@ -30,7 +29,6 @@ import {MatTabsModule} from '@angular/material/tabs';
3029
templateUrl: 'tabs-demo.html',
3130
imports: [
3231
TabGroupInkBarExample,
33-
TabGroupInvertedExample,
3432
TabGroupPaginatedExample,
3533
TabNavBarBasicExample,
3634
TabGroupStretchedExample,

0 commit comments

Comments
 (0)