You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`<${this.localName}> requires an accessible name. A default label of "${ProgressCircleBase.DEFAULT_LABEL}" has been applied, but a more specific label should be provided via:`,
'value supplied to the "label" attribute, which will be displayed visually as part of the element, or',
180
+
'value supplied to the "aria-label" attribute, which will only be provided to screen readers, or',
181
+
'an element ID reference supplied to the "aria-labelledby" attribute, which will be provided by screen readers and will need to be managed manually by the parent application.',
'value supplied to the "label" attribute, which will be displayed visually as part of the element, or',
212
-
'value supplied to the "aria-label" attribute, which will only be provided to screen readers, or',
213
-
'an element ID reference supplied to the "aria-labelledby" attribute, which will be provided by screen readers and will need to be managed manually by the parent application.',
@@ -25,25 +26,23 @@ import styles from './progress-circle.css';
25
26
26
27
/**
27
28
* Progress circles show the progression of a system operation such as downloading, uploading, processing, etc. in a visual way.
29
+
*
28
30
* They can represent determinate (with a specific progress value) or indeterminate (loading) progress.
29
31
*
30
32
* @element swc-progress-circle
31
33
* @status preview
32
34
* @since 0.0.1
33
35
*
34
36
* @property {string} staticColor - Reflected as the `static-color` attribute. Static color variant for use on different backgrounds.
35
-
* @property {number} progress - Progress value between 0 and 100.
36
-
* @property {boolean} indeterminate - Indeterminate state for loading.
37
+
* @property {number | null} progress - Progress between 0 and 100, reflected as the `progress` attribute when set. When `null` (indeterminate), the attribute is omitted.
37
38
* @property {string} size - Size of the component.
38
39
* @property {string} label - Label for the component.
* Light DOM children are not projected into the shadow tree. Use the `label` attribute or property, or `aria-label` / `aria-labelledby` on the host, for an accessible name.
0 commit comments