@brightspace-ui/core 3.107.0 → 3.107.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,5 +1,4 @@
|
|
1
1
|
import { css, html, LitElement } from 'lit';
|
2
|
-
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
3
2
|
|
4
3
|
/**
|
5
4
|
* A private helper declarations that should not be used by general consumers
|
@@ -25,7 +24,7 @@ export const offscreenStyles = css`
|
|
25
24
|
* A component for positioning content offscreen to only be visible to screen readers.
|
26
25
|
* @slot - Default content placed inside of the component
|
27
26
|
*/
|
28
|
-
class Offscreen extends
|
27
|
+
class Offscreen extends LitElement {
|
29
28
|
static get styles() {
|
30
29
|
return css`
|
31
30
|
:host {
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import { css, html, nothing } from 'lit';
|
2
2
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
3
|
-
import { offscreenStyles } from '../offscreen/offscreen.js';
|
4
3
|
import ResizeObserver from 'resize-observer-polyfill/dist/ResizeObserver.es.js';
|
5
|
-
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
6
4
|
import { styleMap } from 'lit/directives/style-map.js';
|
7
5
|
|
8
6
|
export const OVERFLOW_CLASS = 'd2l-overflow-container';
|
@@ -25,7 +23,7 @@ async function filterAsync(arr, callback) {
|
|
25
23
|
return results.filter(i => i !== fail);
|
26
24
|
}
|
27
25
|
|
28
|
-
export const OverflowGroupMixin = superclass => class extends LocalizeCoreElement(
|
26
|
+
export const OverflowGroupMixin = superclass => class extends LocalizeCoreElement(superclass) {
|
29
27
|
|
30
28
|
static get properties() {
|
31
29
|
return {
|
@@ -68,7 +66,7 @@ export const OverflowGroupMixin = superclass => class extends LocalizeCoreElemen
|
|
68
66
|
}
|
69
67
|
|
70
68
|
static get styles() {
|
71
|
-
return
|
69
|
+
return css`
|
72
70
|
:host {
|
73
71
|
display: block;
|
74
72
|
}
|
@@ -82,7 +80,7 @@ export const OverflowGroupMixin = superclass => class extends LocalizeCoreElemen
|
|
82
80
|
.d2l-overflow-group-container ::slotted([data-is-chomped]) {
|
83
81
|
display: none !important;
|
84
82
|
}
|
85
|
-
|
83
|
+
`;
|
86
84
|
}
|
87
85
|
|
88
86
|
constructor() {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.107.
|
3
|
+
"version": "3.107.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",
|