mirror of
https://github.com/material-components/material-web.git
synced 2024-10-26 21:56:56 +03:00
c35bad0c64
We are changing the names of these files to reduce similarity with CSS modules and avoid clashing with tooling built around that. If you're importing `*/internal/styles.css.js`, swap to `*/internal/styles.js`. PiperOrigin-RevId: 611265000
35 lines
955 B
TypeScript
35 lines
955 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {CSSResultOrNative} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {LinearProgress} from './internal/linear-progress.js';
|
|
import {styles} from './internal/linear-progress-styles.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.
|
|
*
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-linear-progress')
|
|
export class MdLinearProgress extends LinearProgress {
|
|
static override styles: CSSResultOrNative[] = [styles];
|
|
}
|