@brightspace-ui/core 3.2.1 → 3.2.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.
@@ -231,12 +231,19 @@ class HtmlBlock extends LitElement {
231
231
  'd2l-html-block-compact': this.compact
232
232
  };
233
233
 
234
- return html`
235
- <div class="${classMap(renderContainerClasses)}">
236
- ${(this._embedsFeatureEnabled() && !this.noDeferredRendering) ? until(this._processEmbeds(), nothing) : nothing}
237
- </div>
238
- ${this.noDeferredRendering ? html`<slot @slotchange="${this._handleSlotChange}"></slot>` : ''}
239
- `;
234
+ if (this._embedsFeatureEnabled()) {
235
+ return html`
236
+ <div class="${classMap(renderContainerClasses)}">
237
+ ${!this.noDeferredRendering ? until(this._processEmbeds(), nothing) : nothing}
238
+ </div>
239
+ ${this.noDeferredRendering ? html`<slot @slotchange="${this._handleSlotChange}"></slot>` : ''}
240
+ `;
241
+ } else {
242
+ return html`
243
+ <div class="${classMap(renderContainerClasses)}"></div>
244
+ ${this.noDeferredRendering ? html`<slot @slotchange="${this._handleSlotChange}"></slot>` : ''}
245
+ `;
246
+ }
240
247
  }
241
248
 
242
249
  async updated(changedProperties) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.2.1",
3
+ "version": "3.2.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",