@brightspace-ui/core 2.118.0 → 2.118.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.
|
@@ -667,6 +667,8 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
667
667
|
|
|
668
668
|
_handleDimensionShowStart(e) {
|
|
669
669
|
this._activeDimensionKey = e.detail.sourceView.getAttribute('data-key');
|
|
670
|
+
const dimension = this._dimensions.find(dimension => dimension.key === this._activeDimensionKey);
|
|
671
|
+
if (dimension.introductoryText) announce(dimension.introductoryText);
|
|
670
672
|
this._dispatchDimensionFirstOpenEvent(this._activeDimensionKey);
|
|
671
673
|
}
|
|
672
674
|
|
|
@@ -680,6 +682,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
680
682
|
this.opened = true;
|
|
681
683
|
if (this._dimensions.length === 1) {
|
|
682
684
|
this._dispatchDimensionFirstOpenEvent(this._dimensions[0].key);
|
|
685
|
+
if (this._dimensions[0].introductoryText) announce(this._dimensions[0].introductoryText);
|
|
683
686
|
}
|
|
684
687
|
this._stopPropagation(e);
|
|
685
688
|
}
|
|
@@ -129,12 +129,6 @@ export const ListItemCheckboxMixin = superclass => class extends SkeletonMixin(s
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
_onCheckboxKeyDown(e) {
|
|
133
|
-
// handle the enter key
|
|
134
|
-
if (e.keyCode !== 13) return;
|
|
135
|
-
this.setSelected(!this.selected);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
132
|
_onMouseEnterSelection() {
|
|
139
133
|
this._hoveringSelection = !this.selectionDisabled;
|
|
140
134
|
}
|
|
@@ -161,7 +155,6 @@ export const ListItemCheckboxMixin = superclass => class extends SkeletonMixin(s
|
|
|
161
155
|
id="${this._checkboxId}"
|
|
162
156
|
?_indeterminate="${this.selectionInfo.state === SelectionInfo.states.some}"
|
|
163
157
|
key="${this.key}"
|
|
164
|
-
@keydown="${this._onCheckboxKeyDown}"
|
|
165
158
|
label="${this.label}"
|
|
166
159
|
?selected="${this.selected}"
|
|
167
160
|
?skeleton="${this.skeleton}">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.118.
|
|
3
|
+
"version": "2.118.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",
|