@brightspace-ui/core 2.132.2 → 2.132.3
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.
|
@@ -86,7 +86,6 @@ export const SwitchMixin = superclass => class extends FocusMixin(RtlMixin(super
|
|
|
86
86
|
.d2l-switch-toggle {
|
|
87
87
|
position: relative;
|
|
88
88
|
transition: transform 150ms ease-out;
|
|
89
|
-
z-index: 1;
|
|
90
89
|
}
|
|
91
90
|
.d2l-switch-toggle > div {
|
|
92
91
|
background-color: #ffffff;
|
|
@@ -97,7 +96,7 @@ export const SwitchMixin = superclass => class extends FocusMixin(RtlMixin(super
|
|
|
97
96
|
height: 1.1rem;
|
|
98
97
|
left: -0.1rem;
|
|
99
98
|
position: absolute;
|
|
100
|
-
top: -0.
|
|
99
|
+
top: -0.95rem;
|
|
101
100
|
width: 1.1rem;
|
|
102
101
|
}
|
|
103
102
|
:host([on]) .d2l-switch-toggle > div {
|
|
@@ -211,9 +210,9 @@ export const SwitchMixin = superclass => class extends FocusMixin(RtlMixin(super
|
|
|
211
210
|
role="switch"
|
|
212
211
|
tabindex="${ifDefined(tabindex)}">
|
|
213
212
|
<div class="${classMap(innerSwitchClasses)}">
|
|
214
|
-
<div class="d2l-switch-toggle"><div></div></div>
|
|
215
213
|
<div class="d2l-switch-icon-on">${this.onIcon}</div>
|
|
216
214
|
<div class="d2l-switch-icon-off">${this.offIcon}</div>
|
|
215
|
+
<div class="d2l-switch-toggle"><div></div></div>
|
|
217
216
|
</div>
|
|
218
217
|
</div>
|
|
219
218
|
${textPosition === 'end' || textPosition === 'hidden' ? switchLabel : ''}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.132.
|
|
3
|
+
"version": "2.132.3",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@babel/eslint-parser": "^7",
|
|
47
47
|
"@brightspace-ui/stylelint-config": "^0.8",
|
|
48
|
-
"@brightspace-ui/testing": "^0.
|
|
48
|
+
"@brightspace-ui/testing": "^0.15",
|
|
49
49
|
"@open-wc/semantic-dom-diff": "^0.20",
|
|
50
50
|
"@rollup/plugin-dynamic-import-vars": "^2",
|
|
51
51
|
"@rollup/plugin-node-resolve": "^15",
|