Skip to content

Commit f48709e

Browse files
committed
add files for MDC-based MatProgressSpinner
1 parent 1b41dd9 commit f48709e

File tree

8 files changed

+64
-0
lines changed

8 files changed

+64
-0
lines changed

src/material-experimental/mdc-progress-spinner/BUILD.bazel

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@mixin mat-mdc-progress-spinner-color($config-or-theme) {}
2+
3+
@mixin mat-mdc--progress-spinner-typography($config-or-theme) {}
4+
5+
@mixin _mat-mdc-progress-spinner-density($config-or-theme) {}
6+
7+
@mixin mat-mdc-progress-spinner-theme($theme-or-color-config) {}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
export * from './public-api';
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
import {NgModule} from '@angular/core';
10+
import {MatCommonModule} from '@angular/material/core';
11+
import {MatProgressSpinner} from './progress-spinner';
12+
13+
@NgModule({
14+
exports: [MatProgressSpinner, MatCommonModule],
15+
declarations: [MatProgressSpinner],
16+
})
17+
export class MatProgressSpinnerModule {
18+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
WIP: MDC-based progress spinner

src/material-experimental/mdc-progress-spinner/progress-spinner.scss

Whitespace-only changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';
10+
11+
@Component({
12+
selector: 'mat-progress-spinner',
13+
exportAs: 'matProgressSpinner',
14+
templateUrl: 'progress-spinner.html',
15+
styleUrls: ['progress-spinner.css'],
16+
changeDetection: ChangeDetectionStrategy.OnPush,
17+
encapsulation: ViewEncapsulation.None,
18+
})
19+
export class MatProgressSpinner {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
9+
export * from './checkbox';
10+
export * from './module';

0 commit comments

Comments
 (0)