Skip to content

Commit 197fa42

Browse files
committed
refactor(material/legacy-dialog): rename ts symbols
1 parent 66a87f2 commit 197fa42

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

src/material/legacy-dialog/public-api.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,24 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
export * from './dialog-module';
10-
export * from './dialog';
11-
export * from './dialog-container';
12-
export * from './dialog-content-directives';
13-
export * from './dialog-ref';
14-
export * from './dialog-config';
9+
export {MatLegacyDialogModule} from './dialog-module';
10+
export {
11+
MAT_LEGACY_DIALOG_DATA,
12+
MAT_LEGACY_DIALOG_DEFAULT_OPTIONS,
13+
MAT_LEGACY_DIALOG_SCROLL_STRATEGY,
14+
MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,
15+
MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER,
16+
MatLegacyDialog,
17+
} from './dialog';
18+
export {MatLegacyDialogContainer} from './dialog-container';
19+
export {
20+
MatLegacyDialogClose,
21+
MatLegacyDialogTitle,
22+
MatLegacyDialogContent,
23+
MatLegacyDialogActions,
24+
} from './dialog-content-directives';
25+
export {MatLegacyDialogRef} from './dialog-ref';
26+
export {MatLegacyDialogConfig} from './dialog-config';
1527
export {
1628
_MatDialogBase as _MatLegacyDialogBase,
1729
_MatDialogContainerBase as _MatLegacyDialogContainerBase,

src/material/legacy-dialog/testing/public-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
export * from './dialog-harness';
10-
export * from './dialog-opener';
9+
export {MatLegacyDialogSection, MatLegacyDialogHarness} from './dialog-harness';
10+
export {MatTestLegacyDialogOpener, MatTestLegacyDialogOpenerModule} from './dialog-opener';
1111
export {DialogHarnessFilters as LegacyDialogHarnessFilters} from '@angular/material/dialog/testing';

0 commit comments

Comments
 (0)