@brightspace-ui/core 3.208.0 → 3.208.2
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.
|
@@ -51,7 +51,7 @@ The skeleton loader pattern has a feeling of "an existing structure coming into
|
|
|
51
51
|
| Property | Type | Description |
|
|
52
52
|
|--|--|--|
|
|
53
53
|
| `color` | String | Color of the animated bar (default is `--d2l-color-celestine`) |
|
|
54
|
-
| `size` | Number, default: `
|
|
54
|
+
| `size` | Number, default: `48` | Height and width (`px`) of the spinner |
|
|
55
55
|
|
|
56
56
|
## Future Improvements
|
|
57
57
|
|
|
@@ -45,17 +45,12 @@ class LoadingSpinner extends LitElement {
|
|
|
45
45
|
width: var(--d2l-loading-spinner-size, 48px);
|
|
46
46
|
}
|
|
47
47
|
svg {
|
|
48
|
-
background: radial-gradient(rgba(0, 0, 0, 0.
|
|
48
|
+
background: radial-gradient(rgba(0, 0, 0, 0.42), transparent 70%); /* 70% ≈ 100%/sqrt(2) = radius of circle since corners lie on 100% of radial gradient */
|
|
49
49
|
height: 100%;
|
|
50
50
|
position: absolute;
|
|
51
51
|
top: 0;
|
|
52
52
|
width: 100%;
|
|
53
53
|
}
|
|
54
|
-
.outer-circle-stroke {
|
|
55
|
-
fill: none;
|
|
56
|
-
stroke: #ededfa;
|
|
57
|
-
stroke-width: 0.5;
|
|
58
|
-
}
|
|
59
54
|
.outer-circle {
|
|
60
55
|
fill: white;
|
|
61
56
|
stroke: none;
|
|
@@ -121,7 +116,6 @@ class LoadingSpinner extends LitElement {
|
|
|
121
116
|
<div class="d2l-loading-spinner-wrapper">
|
|
122
117
|
<svg viewBox="0 0 48 48" fill-rule="evenodd">
|
|
123
118
|
<g>
|
|
124
|
-
<circle cx="24" cy="24" r="21" class="outer-circle-stroke"></circle>
|
|
125
119
|
<circle cx="24" cy="24" r="21" class="outer-circle"></circle>
|
|
126
120
|
<circle cx="24" cy="24" r="13.5" class="inner-circle"></circle>
|
|
127
121
|
</g>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.208.
|
|
3
|
+
"version": "3.208.2",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|