@brightspace-ui/core 2.117.2 → 2.118.1

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.
@@ -1043,7 +1043,7 @@ export const DropdownContentMixin = superclass => class extends LocalizeCoreElem
1043
1043
 
1044
1044
  _handleFocusTrapEnter() {
1045
1045
  if (this.__applyFocus && !this.noAutoFocus) {
1046
- const content = this.getContentContainer();
1046
+ const content = this.__getWidthContainer();
1047
1047
  const focusable = getFirstFocusableDescendant(content);
1048
1048
  if (focusable) {
1049
1049
  // Removing the rAF call can allow infinite focus looping to happen in content using a focus trap
@@ -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.117.2",
3
+ "version": "2.118.1",
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",