@brightspace-ui/core 3.124.1 → 3.124.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.
@@ -257,7 +257,7 @@ class CollapsiblePanel extends SkeletonMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
257
257
|
transform-origin: 0.4rem;
|
258
258
|
}
|
259
259
|
:host([expanded]) d2l-icon-custom svg {
|
260
|
-
fill:
|
260
|
+
fill: currentColor;
|
261
261
|
transform: rotate(90deg);
|
262
262
|
}
|
263
263
|
@media (prefers-reduced-motion: no-preference) {
|
@@ -457,7 +457,7 @@ class CollapsiblePanel extends SkeletonMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
457
457
|
</div>
|
458
458
|
<d2l-icon-custom size="tier1" class="d2l-skeletize" aria-hidden="true">
|
459
459
|
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18" fill="none" viewBox="0 0 10 18">
|
460
|
-
<path stroke="
|
460
|
+
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="m9 9-8 8V1l8 8Z"/>
|
461
461
|
</svg>
|
462
462
|
</d2l-icon-custom>
|
463
463
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import '../colors/colors.js';
|
2
2
|
import '../icons/icon.js';
|
3
3
|
import '../icons/icon-custom.js';
|
4
|
-
import { html, LitElement } from 'lit';
|
4
|
+
import { css, html, LitElement } from 'lit';
|
5
5
|
import { SwitchMixin } from './switch-mixin.js';
|
6
6
|
|
7
7
|
/**
|
@@ -11,11 +11,19 @@ import { SwitchMixin } from './switch-mixin.js';
|
|
11
11
|
*/
|
12
12
|
class Switch extends SwitchMixin(LitElement) {
|
13
13
|
|
14
|
+
static get styles() {
|
15
|
+
return [super.styles, css`
|
16
|
+
.d2l-switch-icon-off > d2l-icon-custom {
|
17
|
+
color: var(--d2l-color-ferrite);
|
18
|
+
}
|
19
|
+
`];
|
20
|
+
}
|
21
|
+
|
14
22
|
get offIcon() {
|
15
23
|
return html`
|
16
24
|
<d2l-icon-custom size="tier1">
|
17
25
|
<svg viewBox="0 0 18 18" height="18" width="18" xmlns="http://www.w3.org/2000/svg">
|
18
|
-
<circle cx="9" cy="9" r="6" stroke="
|
26
|
+
<circle cx="9" cy="9" r="6" stroke="currentColor" stroke-width="3" fill="none" />
|
19
27
|
</svg>
|
20
28
|
</d2l-icon-custom>
|
21
29
|
`;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.124.
|
3
|
+
"version": "3.124.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",
|