material-web/progress/linear-progress.ts
Andrew Jakubowicz 15df1d5f1a 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
2023-07-13 11:18:24 -07:00

31 lines
850 B
TypeScript

/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {customElement} from 'lit/decorators.js';
import {LinearProgress} from './lib/linear-progress.js';
import {styles} from './lib/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];
}