@brightspace-ui/labs 2.40.2 → 2.40.4
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
|
@@ -4,20 +4,14 @@ import '@brightspace-ui/core/components/colors/colors.js';
|
|
|
4
4
|
import '@brightspace-ui/core/components/inputs/input-textarea.js';
|
|
5
5
|
import './opt-out-reason-selector.js';
|
|
6
6
|
import { css, html, LitElement } from 'lit';
|
|
7
|
-
import { composeMixins } from '@brightspace-ui/core/helpers/composeMixins.js';
|
|
8
7
|
import { LocalizeLabsElement } from '../localize-labs-element.js';
|
|
9
|
-
import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
|
|
10
8
|
|
|
11
9
|
const defaultEventProperties = {
|
|
12
10
|
bubbles: true,
|
|
13
11
|
composed: true
|
|
14
12
|
};
|
|
15
13
|
|
|
16
|
-
class OptOutDialog extends
|
|
17
|
-
LitElement,
|
|
18
|
-
LocalizeLabsElement,
|
|
19
|
-
RtlMixin
|
|
20
|
-
) {
|
|
14
|
+
class OptOutDialog extends LocalizeLabsElement(LitElement) {
|
|
21
15
|
|
|
22
16
|
static get properties() {
|
|
23
17
|
return {
|
|
@@ -81,15 +75,9 @@ class OptOutDialog extends composeMixins(
|
|
|
81
75
|
}
|
|
82
76
|
|
|
83
77
|
.close-button {
|
|
84
|
-
|
|
78
|
+
inset-block-start: 0.6rem;
|
|
79
|
+
inset-inline-end: 0.6rem;
|
|
85
80
|
position: absolute;
|
|
86
|
-
right: 0.6rem;
|
|
87
|
-
top: 0.6rem;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:host([dir="rtl"]) .close-button {
|
|
91
|
-
left: 0.6rem;
|
|
92
|
-
right: auto;
|
|
93
81
|
}
|
|
94
82
|
`;
|
|
95
83
|
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import './opt-out-reason.js';
|
|
2
2
|
import { css, html, LitElement } from 'lit';
|
|
3
|
-
import { composeMixins } from '@brightspace-ui/core/helpers/composeMixins.js';
|
|
4
3
|
import { inputStyles } from '@brightspace-ui/core/components/inputs/input-styles.js';
|
|
5
4
|
import { LocalizeLabsElement } from '../localize-labs-element.js';
|
|
6
|
-
import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
|
|
7
5
|
|
|
8
|
-
class OptOutReasonSelector extends
|
|
9
|
-
|
|
10
|
-
LocalizeLabsElement,
|
|
11
|
-
RtlMixin
|
|
12
|
-
) {
|
|
6
|
+
class OptOutReasonSelector extends LocalizeLabsElement(LitElement) {
|
|
7
|
+
|
|
13
8
|
static get properties() {
|
|
14
9
|
return {
|
|
15
10
|
_reasons: { state: true }
|
|
@@ -30,7 +25,7 @@ class OptOutReasonSelector extends composeMixins(
|
|
|
30
25
|
-webkit-appearance: none;
|
|
31
26
|
appearance: none;
|
|
32
27
|
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2242%22%20height%3D%2242%22%20viewBox%3D%220%200%2042%2042%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23f2f3f5%22%20d%3D%22M0%200h42v42H0z%22%2F%3E%3Cpath%20stroke%3D%22%23d3d9e3%22%20d%3D%22M0%200v42%22%2F%3E%3Cpath%20d%3D%22M14.99%2019.582l4.95%204.95a1.5%201.5%200%200%200%202.122%200l4.95-4.95a1.5%201.5%200%200%200-2.122-2.122L21%2021.35l-3.888-3.89a1.5%201.5%200%200%200-2.12%202.122z%22%20fill%3D%22%23565A5C%22%2F%3E%3C%2Fsvg%3E");
|
|
33
|
-
background-position: right center;
|
|
28
|
+
background-position: var(--d2l-inline-end, right) center;
|
|
34
29
|
background-repeat: no-repeat;
|
|
35
30
|
background-size: contain;
|
|
36
31
|
display: block;
|
|
@@ -50,10 +45,6 @@ class OptOutReasonSelector extends composeMixins(
|
|
|
50
45
|
color: var(--d2l-input-color);
|
|
51
46
|
}
|
|
52
47
|
|
|
53
|
-
:host([dir="rtl"]) select {
|
|
54
|
-
background-position: left center !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
48
|
#options {
|
|
58
49
|
display: none;
|
|
59
50
|
}
|
|
@@ -4,10 +4,9 @@ import '@brightspace-ui/core/components/inputs/input-text.js';
|
|
|
4
4
|
import { css, html, LitElement } from 'lit';
|
|
5
5
|
import { formatNumber } from '@brightspace-ui/intl';
|
|
6
6
|
import { LocalizeLabsElement } from '../localize-labs-element.js';
|
|
7
|
-
import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
|
|
8
7
|
import { selectStyles } from '@brightspace-ui/core/components/inputs/input-select-styles.js';
|
|
9
8
|
|
|
10
|
-
class PagerNumeric extends
|
|
9
|
+
class PagerNumeric extends LocalizeLabsElement(LitElement) {
|
|
11
10
|
|
|
12
11
|
static get properties() {
|
|
13
12
|
return {
|