mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files. PiperOrigin-RevId: 550633216
31 lines
860 B
TypeScript
31 lines
860 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {LinearProgress} from './internal/linear-progress.js';
|
|
import {styles} from './internal/linear-progress-styles.css.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-linear-progress': MdLinearProgress;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @summary Linear progress indicators display progress by animating along the
|
|
* length of a fixed, visible track.
|
|
*
|
|
* @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-linear-progress')
|
|
export class MdLinearProgress extends LinearProgress {
|
|
static override styles = [styles];
|
|
}
|