@brightspace-ui/core 3.260.0 → 3.260.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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '../button/button.js';
|
|
2
|
+
import '../../helpers/viewport-size.js';
|
|
2
3
|
import '../../helpers/visualReady.js';
|
|
3
4
|
import { css, html } from 'lit';
|
|
4
5
|
import { classMap } from 'lit/directives/class-map.js';
|
|
@@ -164,7 +165,8 @@ export const DropdownPopoverMixin = superclass => class extends LocalizeCoreElem
|
|
|
164
165
|
|
|
165
166
|
:host([_mobile][_mobile-tray-location="inline-start"][opened]) .dropdown-content-layout,
|
|
166
167
|
:host([_mobile][_mobile-tray-location="inline-end"][opened]) .dropdown-content-layout {
|
|
167
|
-
height:
|
|
168
|
+
height: calc(var(--d2l-vh, 1vh) * 100);
|
|
169
|
+
height: 100dvh;
|
|
168
170
|
}
|
|
169
171
|
`];
|
|
170
172
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '../backdrop/backdrop.js';
|
|
2
2
|
import '../colors/colors.js';
|
|
3
3
|
import '../focus-trap/focus-trap.js';
|
|
4
|
+
import '../../helpers/viewport-size.js';
|
|
4
5
|
import { addResizeNoopEventListener, getComposedParent, isComposedAncestor, removeResizeNoopEventListener } from '../../helpers/dom.js';
|
|
5
6
|
import { clearDismissible, setDismissible } from '../../helpers/dismissible.js';
|
|
6
7
|
import { css, html, nothing } from 'lit';
|
|
@@ -241,7 +242,8 @@ export const PopoverMixin = superclass => class extends superclass {
|
|
|
241
242
|
|
|
242
243
|
:host([_mobile][_mobile-tray-location="inline-start"][opened]) .content-container,
|
|
243
244
|
:host([_mobile][_mobile-tray-location="inline-end"][opened]) .content-container {
|
|
244
|
-
height:
|
|
245
|
+
height: calc(var(--d2l-vh, 1vh) * 100);
|
|
246
|
+
height: 100dvh;
|
|
245
247
|
}
|
|
246
248
|
|
|
247
249
|
:host([_mobile][_mobile-tray-location]) > .pointer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.260.
|
|
3
|
+
"version": "3.260.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",
|