2023-07-13 21:17:39 +03:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright 2023 Google LLC
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2024-02-23 21:01:21 +03:00
|
|
|
import {CSSResultOrNative} from 'lit';
|
2023-07-13 21:17:39 +03:00
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
|
2023-07-24 22:02:25 +03:00
|
|
|
import {LinearProgress} from './internal/linear-progress.js';
|
2024-02-29 03:19:39 +03:00
|
|
|
import {styles} from './internal/linear-progress-styles.js';
|
2023-07-13 21:17:39 +03:00
|
|
|
|
|
|
|
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.
|
2024-02-23 01:14:27 +03:00
|
|
|
*
|
|
|
|
* @final
|
|
|
|
* @suppress {visibility}
|
2023-07-13 21:17:39 +03:00
|
|
|
*/
|
|
|
|
@customElement('md-linear-progress')
|
|
|
|
export class MdLinearProgress extends LinearProgress {
|
2024-02-23 21:01:21 +03:00
|
|
|
static override styles: CSSResultOrNative[] = [styles];
|
2023-07-13 21:17:39 +03:00
|
|
|
}
|