-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(progress): squash linearprogress and circular progress into progress
This changes the following imports from: ```js import '@material/web/circularprogress/circular-progress.js'; import '@material/web/linearprogress/linear-progress.js'; ``` to ```js import '@material/web/progress/circular-progress.js'; import '@material/web/progress/linear-progress.js'; ``` PiperOrigin-RevId: 547860610
- Loading branch information
1 parent
4a41539
commit 15df1d5
Showing
23 changed files
with
146 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* @license | ||
* Copyright 2023 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import {customElement} from 'lit/decorators.js'; | ||
|
||
import {CircularProgress} from './lib/circular-progress.js'; | ||
import {styles} from './lib/circular-progress-styles.css.js'; | ||
|
||
declare global { | ||
interface HTMLElementTagNameMap { | ||
'md-circular-progress': MdCircularProgress; | ||
} | ||
} | ||
|
||
/** | ||
* @summary Circular progress indicators display progress by animating along an | ||
* invisible circular track in a clockwise direction. They can be applied | ||
* directly to a surface, such as a button or card. | ||
* | ||
* @description | ||
* Progress indicators inform users about the status of ongoing processes. | ||
* - Determinate indicators display how long a process will take. | ||
* - Indeterminate indicators express an unspecified amount of wait time. | ||
*/ | ||
@customElement('md-circular-progress') | ||
export class MdCircularProgress extends CircularProgress { | ||
static override styles = [styles]; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.