@brightspace-ui/core 3.204.3 → 3.204.4

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.
@@ -1,15 +1,12 @@
1
1
  import { findComposedAncestor, getComposedParent, isComposedAncestor } from '../../helpers/dom.js';
2
2
  import { getNextFocusable, getPreviousFocusable } from '../../helpers/focus.js';
3
3
  import { css } from 'lit';
4
- import { getFlag } from '../../helpers/flags.js';
5
4
  import ResizeObserver from 'resize-observer-polyfill/dist/ResizeObserver.es.js';
6
5
 
7
6
  const reduceMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
8
7
  const __nativeFocus = document.createElement('div').focus;
9
8
  const escapeKeyCode = 27;
10
9
 
11
- const useResizeFix = getFlag('GAUD-8969-hierarchical-view-resize', true);
12
-
13
10
  export const HierarchicalViewMixin = superclass => class extends superclass {
14
11
 
15
12
  static get properties() {
@@ -526,13 +523,9 @@ export const HierarchicalViewMixin = superclass => class extends superclass {
526
523
  }
527
524
 
528
525
  if (e.detail.isSource && this.__getParentViewFromEvent(e) === this) {
529
- if (useResizeFix) {
530
- requestAnimationFrame(() => {
531
- e.detail.sourceView.__dispatchViewResize();
532
- });
533
- } else {
526
+ requestAnimationFrame(() => {
534
527
  e.detail.sourceView.__dispatchViewResize();
535
- }
528
+ });
536
529
  }
537
530
 
538
531
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.204.3",
3
+ "version": "3.204.4",
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",