@brightspace-ui/core 2.91.2 → 2.91.3
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.
|
@@ -32,9 +32,10 @@ class DialogFullscreen extends LocalizeCoreElement(AsyncContainerMixin(DialogMix
|
|
|
32
32
|
* The preferred width (unit-less) for the dialog. Maximum 1170.
|
|
33
33
|
*/
|
|
34
34
|
width: { type: Number },
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
_autoSize: { state: true }, /* DE52039 This is only redefined here to suppress a lit-analyzer linting issue */
|
|
36
|
+
_hasFooterContent: { state: true },
|
|
37
|
+
_icon: { state: true },
|
|
38
|
+
_headerStyle: { state: true },
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -42,22 +42,22 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
42
42
|
* The optional title for the dialog
|
|
43
43
|
*/
|
|
44
44
|
titleText: { type: String, attribute: 'title-text' },
|
|
45
|
-
_autoSize: {
|
|
46
|
-
_fullHeight: {
|
|
47
|
-
_fullscreenWithin: {
|
|
48
|
-
_height: {
|
|
45
|
+
_autoSize: { state: true },
|
|
46
|
+
_fullHeight: { state: true },
|
|
47
|
+
_fullscreenWithin: { state: true },
|
|
48
|
+
_height: { state: true },
|
|
49
49
|
_inIframe: { type: Boolean, attribute: 'in-iframe', reflect: true },
|
|
50
|
-
_left: {
|
|
51
|
-
_margin: {
|
|
52
|
-
_nestedShowing: {
|
|
53
|
-
_overflowBottom: {
|
|
54
|
-
_overflowTop: {
|
|
55
|
-
_parentDialog: {
|
|
56
|
-
_scroll: {
|
|
50
|
+
_left: { state: true },
|
|
51
|
+
_margin: { state: true },
|
|
52
|
+
_nestedShowing: { state: true },
|
|
53
|
+
_overflowBottom: { state: true },
|
|
54
|
+
_overflowTop: { state: true },
|
|
55
|
+
_parentDialog: { state: true },
|
|
56
|
+
_scroll: { state: true },
|
|
57
57
|
_state: { type: String, reflect: true },
|
|
58
|
-
_top: {
|
|
59
|
-
_width: {
|
|
60
|
-
_useNative: {
|
|
58
|
+
_top: { state: true },
|
|
59
|
+
_width: { state: true },
|
|
60
|
+
_useNative: { state: true }
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -451,6 +451,7 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
451
451
|
|
|
452
452
|
const dialogOuterClasses = {
|
|
453
453
|
'd2l-dialog-outer': true,
|
|
454
|
+
'd2l-dialog-outer-full-height': this._autoSize && this._fullHeight,
|
|
454
455
|
'd2l-dialog-outer-overflow-bottom': this._overflowBottom,
|
|
455
456
|
'd2l-dialog-outer-overflow-top': this._overflowTop,
|
|
456
457
|
'd2l-dialog-outer-nested': !this._useNative && this._parentDialog,
|
|
@@ -31,11 +31,6 @@ export const dialogStyles = css`
|
|
|
31
31
|
top: 75px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
:host([auto-size][full-height]) > .d2l-dialog-outer {
|
|
35
|
-
bottom: 1.5rem;
|
|
36
|
-
top: 1.5rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
34
|
:host([_state="showing"]) > .d2l-dialog-outer {
|
|
40
35
|
/* must target direct child to avoid ancestor from interfering with closing child dialogs in Legacy-Edge */
|
|
41
36
|
animation: d2l-dialog-open 200ms ease-out;
|
|
@@ -51,6 +46,11 @@ export const dialogStyles = css`
|
|
|
51
46
|
100% { opacity: 1; transform: translateY(0); }
|
|
52
47
|
}
|
|
53
48
|
|
|
49
|
+
.d2l-dialog-outer.d2l-dialog-outer-full-height {
|
|
50
|
+
bottom: 1.5rem;
|
|
51
|
+
top: 1.5rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
54
|
.d2l-dialog-outer.d2l-dialog-outer-nested-showing {
|
|
55
55
|
border-color: rgba(205, 213, 220, 0.35);
|
|
56
56
|
box-shadow: none;
|
|
@@ -264,7 +264,7 @@ Note that when using multiple filter dimensions, the counts should be updated wh
|
|
|
264
264
|
|
|
265
265
|
The `d2l-filter-dimension-set-empty-state` component allows you to customize the empty state components that are rendered in [d2l-filter-dimension-set](#d2l-filter-dimension-set). When placed in the `d2l-filter-dimension-set` empty state slots, it will replace the component's default empty state. This component can be placed in either the `set-empty-state` or the `search-empty-state` slots.
|
|
266
266
|
|
|
267
|
-
<!-- docs: demo live name:d2l-filter-dimension-set-empty-state autoOpen:true autoSize:false size:large -->
|
|
267
|
+
<!-- docs: demo live name:d2l-filter-dimension-set-empty-state align:start autoOpen:true autoSize:false size:large -->
|
|
268
268
|
```html
|
|
269
269
|
<script type="module">
|
|
270
270
|
import '@brightspace-ui/core/components/filter/filter.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.91.
|
|
3
|
+
"version": "2.91.3",
|
|
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",
|