import type { PropertyValues } from 'lit'; import WebAwesomeElement from '../../internal/webawesome-element.js'; /** * @summary Progress rings show how far along a determinate operation is using a circular indicator. Use them as a * compact alternative to progress bars when horizontal space is limited. * @documentation https://webawesome.com/docs/components/progress-ring * @status stable * @since 2.0 * * @slot - A label to show inside the ring. * * @csspart base - The component's base wrapper. * @csspart label - The progress ring label. * @csspart track - The progress ring's track. * @csspart indicator - The progress ring's indicator. * * @cssproperty --size - The diameter of the progress ring (cannot be a percentage). * @cssproperty --track-width - The width of the track. * @cssproperty --track-color - The color of the track. * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width. * @cssproperty --indicator-color - The color of the indicator. * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes. */ export default class WaProgressRing extends WebAwesomeElement { static css: import("lit").CSSResult; private readonly localize; indicator: SVGCircleElement; indicatorOffset: string; /** The current progress as a percentage, 0 to 100. */ value: number; /** A custom label for assistive devices. */ label: string; updated(changedProperties: PropertyValues): void; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'wa-progress-ring': WaProgressRing; } }