@momentum-design/components 0.104.13 → 0.104.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +9 -6
- package/dist/browser/index.js.map +2 -2
- package/dist/components/progressspinner/progressspinner.component.js +1 -1
- package/dist/components/progressspinner/progressspinner.styles.js +8 -5
- package/dist/custom-elements.json +1328 -1328
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -58,7 +58,7 @@ class Progressspinner extends Progressbar {
|
|
58
58
|
aria-valuemax="100"
|
59
59
|
aria-label="${(_a = this.dataAriaLabel) !== null && _a !== void 0 ? _a : ''}"
|
60
60
|
>
|
61
|
-
<svg part="spinner-base">
|
61
|
+
<svg part="spinner-base" viewBox="0 0 48 48">
|
62
62
|
<circle
|
63
63
|
part="spinner-track"
|
64
64
|
cx="24"
|
@@ -11,14 +11,14 @@ const styles = css `
|
|
11
11
|
}
|
12
12
|
|
13
13
|
:host::part(spinner-container) {
|
14
|
-
width:
|
15
|
-
height:
|
14
|
+
width: var(--mdc-spinner-size);
|
15
|
+
height: var(--mdc-spinner-size);
|
16
16
|
position: relative;
|
17
17
|
}
|
18
18
|
|
19
19
|
:host::part(spinner-base) {
|
20
|
-
width:
|
21
|
-
height:
|
20
|
+
width: 100%;
|
21
|
+
height: 100%;
|
22
22
|
rotate: -90deg;
|
23
23
|
}
|
24
24
|
|
@@ -36,12 +36,15 @@ const styles = css `
|
|
36
36
|
}
|
37
37
|
|
38
38
|
:host::part(success-icon) {
|
39
|
+
--mdc-icon-size: var(--mdc-spinner-size);
|
39
40
|
color: var(--mdc-progress-success-color);
|
40
41
|
}
|
41
42
|
|
42
43
|
:host::part(error-icon) {
|
44
|
+
--mdc-icon-size: calc(2 / 3 * var(--mdc-spinner-size));
|
45
|
+
|
43
46
|
color: var(--mdc-progress-error-color);
|
44
|
-
margin:
|
47
|
+
margin: calc(1 / 6 * var(--mdc-spinner-size));
|
45
48
|
}
|
46
49
|
`;
|
47
50
|
export default [styles];
|