@brightspace-ui/core 3.171.0 → 3.171.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.
@@ -5,7 +5,7 @@ import { SubscriberRegistryController } from '../../controllers/subscriber/subsc
5
5
 
6
6
  /**
7
7
  * A component that renders a container and layout for collapsible panels
8
- * @slot default - Slot for panels. Only accepts `d2l-collapsible-panel`
8
+ * @slot - Slot for panels. Only accepts `d2l-collapsible-panel`
9
9
  */
10
10
  class CollapsiblePanelGroup extends SkeletonGroupMixin(LitElement) {
11
11
 
@@ -47,7 +47,7 @@ function addTabListener() {
47
47
  * @slot before - Slot for content to be placed at the left side of the header, aligned with the title and header slot
48
48
  * @slot header - Slot for supporting header content
49
49
  * @slot summary - Slot for the summary of the expanded content. Only accepts `d2l-collapsible-panel-summary-item`
50
- * @slot default - Slot for the expanded content
50
+ * @slot - Slot for the expanded content
51
51
  * @slot actions - Slot for buttons and dropdown openers to be placed in top right corner of header
52
52
  * @fires d2l-collapsible-panel-expand - Dispatched when the panel is expanded
53
53
  * @fires d2l-collapsible-panel-collapse - Dispatched when the panel is collapsed
@@ -224,7 +224,7 @@ export const FormElementMixin = superclass => class extends LocalizeCoreElement(
224
224
  if (oldValidationError !== this.validationError) {
225
225
  this._errors = errors;
226
226
  }
227
- await this.updatedComplete;
227
+ await this.updateComplete;
228
228
  }
229
229
 
230
230
  resetValidation() {
@@ -633,15 +633,15 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
633
633
  }
634
634
  }
635
635
  }
636
- e.dataTransfer.setDragImage(getDragImage(selectionInfo.keys.length, includePlus), 24, 26);
636
+ if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(getDragImage(selectionInfo.keys.length, includePlus), 24, 26);
637
637
  } else if (rootList.dragMultiple && this.expandable) {
638
638
  const flattenedListItems = this._getFlattenedListItems(this);
639
- e.dataTransfer.setDragImage(getDragImage(flattenedListItems.listItems.size, flattenedListItems.lazyLoadListItems.size > 0), 24, 26);
639
+ if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(getDragImage(flattenedListItems.listItems.size, flattenedListItems.lazyLoadListItems.size > 0), 24, 26);
640
640
  } else {
641
641
  if (this.shadowRoot) {
642
642
  const nodeImage = this.shadowRoot.querySelector('.d2l-list-item-drag-image') || this;
643
643
  nodeImage.classList.add('dragging');
644
- e.dataTransfer.setDragImage(nodeImage, 50, 50);
644
+ if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(nodeImage, 50, 50);
645
645
  }
646
646
  }
647
647
 
@@ -1505,7 +1505,7 @@
1505
1505
  ],
1506
1506
  "slots": [
1507
1507
  {
1508
- "name": "default",
1508
+ "name": "",
1509
1509
  "description": "Slot for panels. Only accepts `d2l-collapsible-panel`"
1510
1510
  }
1511
1511
  ]
@@ -1699,7 +1699,7 @@
1699
1699
  "description": "Slot for the summary of the expanded content. Only accepts `d2l-collapsible-panel-summary-item`"
1700
1700
  },
1701
1701
  {
1702
- "name": "default",
1702
+ "name": "",
1703
1703
  "description": "Slot for the expanded content"
1704
1704
  },
1705
1705
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.171.0",
3
+ "version": "3.171.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",