@brightspace-ui/labs 2.46.0 → 2.46.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.
package/package.json CHANGED
@@ -111,8 +111,7 @@
111
111
  "lodash-es": "^4",
112
112
  "mobx": "^5",
113
113
  "parse-srt": "^1.0.0-alpha",
114
- "resize-observer-polyfill": "^1",
115
114
  "webvtt-parser": "^2"
116
115
  },
117
- "version": "2.46.0"
116
+ "version": "2.46.2"
118
117
  }
@@ -1,5 +1,4 @@
1
1
  import { css, html, LitElement } from 'lit';
2
- import ResizeObserver from 'resize-observer-polyfill';
3
2
  import { styleMap } from 'lit/directives/style-map.js';
4
3
 
5
4
  const AUDIO_BARS_GRADIENTS = [
@@ -23,7 +23,6 @@ import { ifDefined } from 'lit/directives/if-defined.js';
23
23
  import { labelStyles } from '@brightspace-ui/core/components/typography/styles.js';
24
24
  import { LocalizeLabsElement } from '../localize-labs-element.js';
25
25
  import parseSRT from 'parse-srt/src/parse-srt.js';
26
- import ResizeObserver from 'resize-observer-polyfill';
27
26
  import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
28
27
  import { styleMap } from 'lit/directives/style-map.js';
29
28
 
@@ -525,16 +524,6 @@ class MediaPlayer extends LocalizeLabsElement(RtlMixin(LitElement)) {
525
524
  color: white;
526
525
  }
527
526
 
528
- #d2l-labs-media-player-settings-menu {
529
- bottom: calc(1.8rem + 18px);
530
- left: calc(0.2rem + 14px);
531
- }
532
-
533
- [dir="rtl"] #d2l-labs-media-player-settings-menu {
534
- left: 0;
535
- right: -0.8rem;
536
- }
537
-
538
527
  .d2l-labs-media-player-full-area-centered {
539
528
  align-items: center;
540
529
  display: flex;
@@ -938,7 +927,7 @@ class MediaPlayer extends LocalizeLabsElement(RtlMixin(LitElement)) {
938
927
  </div>
939
928
  <d2l-dropdown>
940
929
  <d2l-button-icon class="d2l-dropdown-opener" icon="tier1:gear" text="${this.localize('components:mediaPlayer:settings')}" theme="${ifDefined(theme)}"></d2l-button-icon>
941
- <d2l-dropdown-menu id="d2l-labs-media-player-settings-menu" no-pointer theme="${ifDefined(theme)}">
930
+ <d2l-dropdown-menu id="d2l-labs-media-player-settings-menu" class="vdiff-target" no-pointer theme="${ifDefined(theme)}">
942
931
  <d2l-menu label="${this.localize('components:mediaPlayer:settings')}" theme="${ifDefined(theme)}">
943
932
  <d2l-menu-item id="d2l-labs-media-player-playback-speeds" text="${this.localize('components:mediaPlayer:playbackSpeed')}">
944
933
  <div slot="supporting">${this._selectedSpeed}</div>
@@ -5,7 +5,6 @@ import { css, html, LitElement } from 'lit';
5
5
  import { bodyCompactStyles } from '@brightspace-ui/core/components/typography/styles.js';
6
6
  import { classMap } from 'lit/directives/class-map.js';
7
7
  import { navigationSharedStyle } from './navigation-shared-styles.js';
8
- import ResizeObserver from 'resize-observer-polyfill/dist/ResizeObserver.es.js';
9
8
  import { styleMap } from 'lit/directives/style-map.js';
10
9
 
11
10
  const mediaQueryList = window.matchMedia('(max-width: 615px)');