@brightspace-ui/core 3.23.0 → 3.24.0
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.
@@ -1052,7 +1052,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
1052
1052
|
this._changeEventsToDispatch.set(dimension.key, { dimensionKey: dimension.key, cleared: false, changes: new Map() });
|
1053
1053
|
}
|
1054
1054
|
const dimensionChanges = this._changeEventsToDispatch.get(dimension.key);
|
1055
|
-
dimensionChanges.cleared = dimensionCleared;
|
1055
|
+
dimensionChanges.cleared = dimensionCleared || (dimension.selectionSingle && !change.selected && !dimension.appliedCount);
|
1056
1056
|
|
1057
1057
|
switch (dimension.type) {
|
1058
1058
|
case 'd2l-filter-dimension-set':
|
@@ -155,7 +155,7 @@ class Input extends SkeletonMixin(LabelledMixin(LitElement)) {
|
|
155
155
|
_handleRadioClick(e) {
|
156
156
|
e.stopPropagation();
|
157
157
|
if (this.disabled) return;
|
158
|
-
this.selected =
|
158
|
+
this.selected = !this.selected;
|
159
159
|
}
|
160
160
|
|
161
161
|
_handleRadioKeyDown(e) {
|
@@ -163,7 +163,7 @@ class Input extends SkeletonMixin(LabelledMixin(LitElement)) {
|
|
163
163
|
}
|
164
164
|
|
165
165
|
_handleRadioKeyUp(e) {
|
166
|
-
if (e.keyCode === keyCodes.SPACE) this.selected =
|
166
|
+
if (e.keyCode === keyCodes.SPACE) this.selected = !this.selected;
|
167
167
|
}
|
168
168
|
|
169
169
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.24.0",
|
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",
|