material-web/progress/circular-progress.ts
Elizabeth Mitchell c35bad0c64 fix: rename internal <styles>.css.js to <styles>.css
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
2024-02-28 16:20:22 -08:00

36 lines
1.0 KiB
TypeScript

/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {CSSResultOrNative} from 'lit';
import {customElement} from 'lit/decorators.js';
import {CircularProgress} from './internal/circular-progress.js';
import {styles} from './internal/circular-progress-styles.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.
*
* @final
* @suppress {visibility}
*/
@customElement('md-circular-progress')
export class MdCircularProgress extends CircularProgress {
static override styles: CSSResultOrNative[] = [styles];
}