@brightspace-ui/core 3.295.0 → 3.296.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.
@@ -5,7 +5,6 @@ import { clearDismissible, setDismissible } from '../../helpers/dismissible.js';
5
5
  import { findComposedAncestor, getComposedChildren, isComposedAncestor } from '../../helpers/dom.js';
6
6
  import { getComposedActiveElement, getFirstFocusableDescendant, getFirstFocusableRelative, getNextFocusable, isFocusable } from '../../helpers/focus.js';
7
7
  import { classMap } from 'lit/directives/class-map.js';
8
- import { getFlag } from '../../helpers/flags.js';
9
8
  import { getUniqueId } from '../../helpers/uniqueId.js';
10
9
  import { html } from 'lit';
11
10
  import { ifDefined } from 'lit/directives/if-defined.js';
@@ -26,8 +25,6 @@ const reduceMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
26
25
  const abortAction = 'abort';
27
26
  const defaultMargin = { top: 75, right: 30, bottom: 30, left: 30 };
28
27
 
29
- const closeDialogWhenDisconnectedFlag = getFlag('GAUD-10113-close-dialog-when-disconnected', true);
30
-
31
28
  export const DialogMixin = superclass => class extends superclass {
32
29
 
33
30
  static properties = {
@@ -107,7 +104,7 @@ export const DialogMixin = superclass => class extends superclass {
107
104
  window.removeEventListener('d2l-mvc-dialog-open', this.#handleMvcDialogOpen);
108
105
 
109
106
  // If the dialog is disconnected before the close animation finishes
110
- if (this.opened && closeDialogWhenDisconnectedFlag) {
107
+ if (this.opened) {
111
108
  this._handleClose();
112
109
  }
113
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.295.0",
3
+ "version": "3.296.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",