@brightspace-ui/core 2.111.0 → 2.111.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.
|
@@ -16,6 +16,7 @@ import { inputStyles } from './input-styles.js';
|
|
|
16
16
|
import { LabelledMixin } from '../../mixins/labelled/labelled-mixin.js';
|
|
17
17
|
import { offscreenStyles } from '../offscreen/offscreen.js';
|
|
18
18
|
import ResizeObserver from 'resize-observer-polyfill/dist/ResizeObserver.es.js';
|
|
19
|
+
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
|
19
20
|
import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
|
|
20
21
|
|
|
21
22
|
const MIDNIGHT = new Date(2020, 0, 1, 0, 0, 0);
|
|
@@ -117,7 +118,7 @@ function initIntervals(size, enforceTimeIntervals) {
|
|
|
117
118
|
* A component that consists of a text input field for typing a time and an attached dropdown for time selection. It displays the "value" if one is specified, or a placeholder if not, and reflects the selected value when one is selected in the dropdown or entered in the text input.
|
|
118
119
|
* @fires change - Dispatched when there is a change to selected time. `value` corresponds to the selected value and is formatted in ISO 8601 time format (`hh:mm:ss`).
|
|
119
120
|
*/
|
|
120
|
-
class InputTime extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(LitElement)))) {
|
|
121
|
+
class InputTime extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(RtlMixin(LitElement))))) {
|
|
121
122
|
|
|
122
123
|
static get properties() {
|
|
123
124
|
return {
|
|
@@ -2,6 +2,7 @@ import { css, html, nothing } from 'lit';
|
|
|
2
2
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
|
3
3
|
import { offscreenStyles } from '../offscreen/offscreen.js';
|
|
4
4
|
import ResizeObserver from 'resize-observer-polyfill/dist/ResizeObserver.es.js';
|
|
5
|
+
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
|
5
6
|
import { styleMap } from 'lit/directives/style-map.js';
|
|
6
7
|
|
|
7
8
|
export const OVERFLOW_CLASS = 'd2l-overflow-container';
|
|
@@ -24,7 +25,7 @@ async function filterAsync(arr, callback) {
|
|
|
24
25
|
return results.filter(i => i !== fail);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export const OverflowGroupMixin = superclass => class extends LocalizeCoreElement(superclass) {
|
|
28
|
+
export const OverflowGroupMixin = superclass => class extends LocalizeCoreElement(RtlMixin(superclass)) {
|
|
28
29
|
|
|
29
30
|
static get properties() {
|
|
30
31
|
return {
|
|
@@ -5,6 +5,7 @@ import { getNextFocusable } from '../../helpers/focus.js';
|
|
|
5
5
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
6
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
|
7
7
|
import { offscreenStyles } from '../../components/offscreen/offscreen.js';
|
|
8
|
+
import { RtlMixin } from '../rtl/rtl-mixin.js';
|
|
8
9
|
|
|
9
10
|
const keyCodes = {
|
|
10
11
|
ENTER: 13,
|
|
@@ -18,7 +19,7 @@ export function isInteractiveDescendant(node) {
|
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
export const InteractiveMixin = superclass => class extends LocalizeCoreElement(superclass) {
|
|
22
|
+
export const InteractiveMixin = superclass => class extends LocalizeCoreElement(RtlMixin(superclass)) {
|
|
22
23
|
|
|
23
24
|
static get properties() {
|
|
24
25
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.111.
|
|
3
|
+
"version": "2.111.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",
|