@brightspace-ui/core 2.168.0 → 2.169.0
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/components/button/button-mixin.js +1 -0
- package/components/button/button-move.js +1 -0
- package/components/calendar/calendar.js +2 -2
- package/components/form/form-errory-summary.js +2 -2
- package/components/inputs/demo/input-number.html +1 -1
- package/components/inputs/demo/input-percent.html +1 -1
- package/components/inputs/docs/input-numeric.md +0 -4
- package/components/inputs/docs/input-text.md +0 -2
- package/components/inputs/input-number.js +2 -8
- package/components/inputs/input-percent.js +2 -8
- package/components/inputs/input-text.js +4 -4
- package/components/list/demo/demo-list-nested-iterations-helper.js +5 -5
- package/components/list/demo/demo-list-nested.js +3 -3
- package/components/list/demo/list-drag-and-drop.html +1 -1
- package/components/list/demo/list-expand-collapse.html +7 -7
- package/components/list/demo/list-nested.html +1 -1
- package/components/list/list-item-drag-drop-mixin.js +1 -0
- package/components/list/list-item-generic-layout.js +1 -0
- package/components/list/list-item-role-mixin.js +1 -0
- package/components/menu/menu-item-mixin.js +3 -0
- package/components/menu/menu.js +1 -0
- package/components/meter/meter-linear.js +2 -2
- package/components/meter/meter-radial.js +2 -2
- package/components/object-property-list/object-property-list-item.js +1 -0
- package/components/tabs/tab-internal.js +1 -0
- package/components/tabs/tab-panel-mixin.js +1 -0
- package/custom-elements.json +6 -63
- package/lang/ar.js +2 -2
- package/lang/cy.js +2 -2
- package/lang/da.js +2 -2
- package/lang/de.js +2 -2
- package/lang/en-gb.js +1 -1
- package/lang/en.js +1 -1
- package/lang/es-es.js +2 -2
- package/lang/es.js +2 -2
- package/lang/fr-fr.js +2 -2
- package/lang/fr.js +2 -2
- package/lang/hi.js +2 -2
- package/lang/ja.js +2 -2
- package/lang/ko.js +2 -2
- package/lang/nl.js +2 -2
- package/lang/pt.js +2 -2
- package/lang/sv.js +2 -2
- package/lang/tr.js +2 -2
- package/lang/zh-cn.js +2 -2
- package/lang/zh-tw.js +2 -2
- package/mixins/rtl/rtl-mixin.js +1 -0
- package/package.json +2 -2
@@ -40,6 +40,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
40
40
|
/**
|
41
41
|
* @ignore
|
42
42
|
*/
|
43
|
+
// eslint-disable-next-line lit/no-native-attributes
|
43
44
|
autofocus: { type: Boolean, reflect: true },
|
44
45
|
/**
|
45
46
|
* A description to be added to the button for accessibility when text on button does not provide enough context
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import '../button/button-icon.js';
|
2
2
|
import '../colors/colors.js';
|
3
3
|
import { bodySmallStyles, heading4Styles } from '../typography/styles.js';
|
4
|
-
import { css, html, LitElement } from 'lit';
|
4
|
+
import { css, html, LitElement, nothing } from 'lit';
|
5
5
|
import { formatDate, getDateTimeDescriptor } from '@brightspace-ui/intl/lib/dateTime.js';
|
6
6
|
import { formatDateInISO, getClosestValidDate, getDateFromDateObj, getDateFromISODate, getToday, isDateInRange } from '../../helpers/dateTime.js';
|
7
7
|
import { classMap } from 'lit/directives/class-map.js';
|
@@ -436,7 +436,7 @@ class Calendar extends LocalizeCoreElement(RtlMixin(LitElement)) {
|
|
436
436
|
|
437
437
|
render() {
|
438
438
|
if (this._shownMonth === undefined || !this._shownYear) {
|
439
|
-
return
|
439
|
+
return nothing;
|
440
440
|
}
|
441
441
|
|
442
442
|
const weekdayHeaders = calendarData.daysOfWeekIndex.map((index) => html`
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import '../alert/alert.js';
|
2
2
|
import '../expand-collapse/expand-collapse-content.js';
|
3
|
-
import { css, html, LitElement } from 'lit';
|
3
|
+
import { css, html, LitElement, nothing } from 'lit';
|
4
4
|
import { linkStyles } from '../link/link.js';
|
5
5
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
6
6
|
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
@@ -88,7 +88,7 @@ class FormErrorSummary extends LocalizeCoreElement(RtlMixin(LitElement)) {
|
|
88
88
|
</d2l-expand-collapse-content>
|
89
89
|
</d2l-alert>
|
90
90
|
`;
|
91
|
-
return this.errors.length > 0 ? errorSummary :
|
91
|
+
return this.errors.length > 0 ? errorSummary : nothing;
|
92
92
|
}
|
93
93
|
|
94
94
|
async focus() {
|
@@ -56,7 +56,6 @@ The `<d2l-input-number>` element is similar to `<d2l-input-text>`, except it's i
|
|
56
56
|
| `min-fraction-digits` | Number, default: `0` | Minimum number of digits allowed after the decimal place. Must be between 0 and 20 and less than or equal to `maxFractionDigits` |
|
57
57
|
| `placeholder` | String | Placeholder text. |
|
58
58
|
| `required` | Boolean, default: `false` | Indicates that a value is required. |
|
59
|
-
| `title` | String | Text for additional screen reader and mouseover context. |
|
60
59
|
| `unit` | String | Unit associated with the input value, displayed next to input and announced as part of the label |
|
61
60
|
| `value` | Number | Value of the input. |
|
62
61
|
|
@@ -82,7 +81,6 @@ To make your usage of `d2l-input-number` accessible, use the following propertie
|
|
82
81
|
| `label-hidden` | Use if label should be visually hidden but available for screen reader users. |
|
83
82
|
| `labelled-by` | Use when another visible element should act as the label |
|
84
83
|
| `unit` | Use to render the unit (offscreen) as part of the label. |
|
85
|
-
| `title` | Use for additional screen reader and mouseover context. |
|
86
84
|
|
87
85
|
### Usage
|
88
86
|
|
@@ -128,7 +126,6 @@ The `<d2l-input-percent>` element is similar to `<d2l-input-number>`, except it
|
|
128
126
|
| `min-fraction-digits` | Number | Minimum number of digits allowed after the decimal place. |
|
129
127
|
| `placeholder` | String | Placeholder text. |
|
130
128
|
| `required` | Boolean, default: `false` | Indicates that a value is required. |
|
131
|
-
| `title` | String | Text for additional screen reader and mouseover context. |
|
132
129
|
| `value` | Number | Value of the input. |
|
133
130
|
|
134
131
|
### Events
|
@@ -151,4 +148,3 @@ To make your usage of `d2l-input-percent` accessible, use the following properti
|
|
151
148
|
|---|---|
|
152
149
|
| `label` | **REQUIRED.** [Acts as a primary label on the input](https://www.w3.org/WAI/tutorials/forms/labels/). Visible unless `label-hidden` is also used. |
|
153
150
|
| `label-hidden` | Use if label should be visually hidden but available for screen reader users. |
|
154
|
-
| `title` | Use for additional screen reader and mouseover context. |
|
@@ -96,7 +96,6 @@ The `<d2l-input-text>` element is a simple wrapper around the native `<input typ
|
|
96
96
|
| `required` | Boolean | Indicates that a value is required |
|
97
97
|
| `size` | Number | Size of the input |
|
98
98
|
| `step` | String | For number inputs, sets the step size |
|
99
|
-
| `title` | String | Text for additional screenreader and mouseover context |
|
100
99
|
| `type` | String, default: `text` | Can be one of `text`, `email`, `password`, `tel`, `url`. Type `number` is deprecated, use [d2l-input-number](./input-number.md) instead. |
|
101
100
|
| `unit` | String | Unit associated with the input value, displayed next to input and announced as part of the label |
|
102
101
|
| `value` | String, default: `''` | Value of the input |
|
@@ -137,7 +136,6 @@ To make your usage of `d2l-input-text` accessible, use the following properties
|
|
137
136
|
| `label-hidden` | Use if label should be visually hidden but available for screen reader users |
|
138
137
|
| `labelled-by` | Use when another visible element should act as the label |
|
139
138
|
| `unit` | Use to render the unit (offscreen) as part of the label. |
|
140
|
-
| `title` | Text for additional screen reader and mouseover context |
|
141
139
|
|
142
140
|
## Applying styles to native text input
|
143
141
|
|
@@ -85,9 +85,9 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
|
|
85
85
|
*/
|
86
86
|
autocomplete: { type: String },
|
87
87
|
/**
|
88
|
-
*
|
89
|
-
* @type {boolean}
|
88
|
+
* @ignore
|
90
89
|
*/
|
90
|
+
// eslint-disable-next-line lit/no-native-attributes
|
91
91
|
autofocus: { type: Boolean },
|
92
92
|
/**
|
93
93
|
* Disables the input
|
@@ -149,11 +149,6 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
|
|
149
149
|
* @type {boolean}
|
150
150
|
*/
|
151
151
|
required: { type: Boolean },
|
152
|
-
/**
|
153
|
-
* Text for additional screen reader and mouseover context
|
154
|
-
* @type {string}
|
155
|
-
*/
|
156
|
-
title: { type: String },
|
157
152
|
/**
|
158
153
|
* @ignore
|
159
154
|
*/
|
@@ -361,7 +356,6 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
|
|
361
356
|
placeholder="${ifDefined(this.placeholder)}"
|
362
357
|
?required="${this.required}"
|
363
358
|
?skeleton="${this.skeleton}"
|
364
|
-
title="${ifDefined(this.title)}"
|
365
359
|
unit="${ifDefined(this.unit)}"
|
366
360
|
unit-label="${ifDefined(this.unitLabel)}"
|
367
361
|
.value="${this._formattedValue}"
|
@@ -18,9 +18,9 @@ class InputPercent extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMix
|
|
18
18
|
static get properties() {
|
19
19
|
return {
|
20
20
|
/**
|
21
|
-
*
|
22
|
-
* @type {boolean}
|
21
|
+
* @ignore
|
23
22
|
*/
|
23
|
+
// eslint-disable-next-line lit/no-native-attributes
|
24
24
|
autofocus: { type: Boolean },
|
25
25
|
/**
|
26
26
|
* Disables the input
|
@@ -57,11 +57,6 @@ class InputPercent extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMix
|
|
57
57
|
* @type {boolean}
|
58
58
|
*/
|
59
59
|
required: { type: Boolean },
|
60
|
-
/**
|
61
|
-
* Text for additional screenreader and mouseover context
|
62
|
-
* @type {string}
|
63
|
-
*/
|
64
|
-
title: { type: String },
|
65
60
|
/**
|
66
61
|
* Value of the input
|
67
62
|
* @type {number}
|
@@ -128,7 +123,6 @@ class InputPercent extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMix
|
|
128
123
|
placeholder="${ifDefined(this.placeholder)}"
|
129
124
|
?required="${this.required}"
|
130
125
|
?skeleton="${this.skeleton}"
|
131
|
-
title="${ifDefined(this.title)}"
|
132
126
|
unit="%"
|
133
127
|
value="${ifDefined(this.value)}"
|
134
128
|
value-align="end">
|
@@ -45,9 +45,9 @@ class InputText extends PropertyRequiredMixin(FocusMixin(LabelledMixin(FormEleme
|
|
45
45
|
*/
|
46
46
|
autocomplete: { type: String },
|
47
47
|
/**
|
48
|
-
*
|
49
|
-
* @type {boolean}
|
48
|
+
* @ignore
|
50
49
|
*/
|
50
|
+
// eslint-disable-next-line lit/no-native-attributes
|
51
51
|
autofocus: { type: Boolean },
|
52
52
|
/**
|
53
53
|
* Additional information communicated in the aria-describedby on the input
|
@@ -135,9 +135,9 @@ class InputText extends PropertyRequiredMixin(FocusMixin(LabelledMixin(FormEleme
|
|
135
135
|
*/
|
136
136
|
step: { type: String },
|
137
137
|
/**
|
138
|
-
*
|
139
|
-
* @type {string}
|
138
|
+
* @ignore
|
140
139
|
*/
|
140
|
+
// eslint-disable-next-line lit/no-native-attributes
|
141
141
|
title: { type: String },
|
142
142
|
/**
|
143
143
|
* The type of the text input
|
@@ -8,7 +8,7 @@ import { ifDefined } from 'lit/directives/if-defined.js';
|
|
8
8
|
class ListNestedIterationsHelper extends LitElement {
|
9
9
|
static get properties() {
|
10
10
|
return {
|
11
|
-
|
11
|
+
isDraggable: { attribute: 'is-draggable', type: Boolean }
|
12
12
|
};
|
13
13
|
}
|
14
14
|
|
@@ -55,7 +55,7 @@ class ListNestedIterationsHelper extends LitElement {
|
|
55
55
|
|
56
56
|
constructor() {
|
57
57
|
super();
|
58
|
-
this.
|
58
|
+
this.isDraggable = false;
|
59
59
|
}
|
60
60
|
|
61
61
|
render() {
|
@@ -130,11 +130,11 @@ class ListNestedIterationsHelper extends LitElement {
|
|
130
130
|
for (let i = 0; i < 3; i++) {
|
131
131
|
const childKey = `child-${i}-${childOptions[0]}-${childOptions[1]}`;
|
132
132
|
items.push(html`
|
133
|
-
<d2l-list-item key="${childKey}" label="${childL2Text}" ?selectable="${!!childOptions[0]}" ?draggable="${this.
|
133
|
+
<d2l-list-item key="${childKey}" label="${childL2Text}" ?selectable="${!!childOptions[0]}" ?draggable="${this.isDraggable}" ?expandable="${childOptions[1] && i !== 1}" color="${ifDefined((childOptions[2] && i === 0) || childOptions[3] ? '#ff0000' : undefined)}">
|
134
134
|
<d2l-list-item-content>${childL2Text}</d2l-list-item-content>
|
135
135
|
${i === 1 || !childOptions[1] ? nothing : html`
|
136
136
|
<d2l-list slot="nested">
|
137
|
-
<d2l-list-item key="${`${childKey}-child`}" label="${childL3Text}" ?selectable="${!!childOptions[0]}" ?draggable="${this.
|
137
|
+
<d2l-list-item key="${`${childKey}-child`}" label="${childL3Text}" ?selectable="${!!childOptions[0]}" ?draggable="${this.isDraggable}" color="${ifDefined(childOptions[3] ? '#00ff00' : undefined)}">
|
138
138
|
<d2l-list-item-content>${childL3Text}</d2l-list-item-content>
|
139
139
|
</d2l-list-item>
|
140
140
|
</d2l-list>
|
@@ -152,7 +152,7 @@ class ListNestedIterationsHelper extends LitElement {
|
|
152
152
|
for (let i = 0; i < 3; i++) {
|
153
153
|
const parentKey = `parent-${i}-${parentOptions[0]}-${parentOptions[1]}`;
|
154
154
|
items.push(html`
|
155
|
-
<d2l-list-item key="${parentKey}" label="${parentText}" ?selectable="${!!parentOptions[0]}" ?draggable="${this.
|
155
|
+
<d2l-list-item key="${parentKey}" label="${parentText}" ?selectable="${!!parentOptions[0]}" ?draggable="${this.isDraggable}" ?expandable="${parentOptions[1] && i !== 1}" ?expanded="${parentOptions[1] && i === 0}" color="${ifDefined((parentOptions[2] && i === 0) || parentOptions[3] ? '#ff0000' : undefined)}">
|
156
156
|
<d2l-list-item-content>${parentText}</d2l-list-item-content>
|
157
157
|
${i === 1 || (i === 2 && !parentOptions[1]) ? nothing : html`
|
158
158
|
<d2l-list slot="nested">${nested}</d2l-list>
|
@@ -20,7 +20,7 @@ class ListDemoNested extends LitElement {
|
|
20
20
|
static get properties() {
|
21
21
|
return {
|
22
22
|
demoItemKey: { type: String, attribute: 'demo-item-key' },
|
23
|
-
|
23
|
+
isDraggable: { attribute: 'is-draggable', type: Boolean },
|
24
24
|
selectable: { type: Boolean },
|
25
25
|
disableExpandFeature: { type: Boolean, attribute: 'disable-expand-feature' },
|
26
26
|
expanded: { type: Boolean },
|
@@ -197,7 +197,7 @@ class ListDemoNested extends LitElement {
|
|
197
197
|
return html`
|
198
198
|
<d2l-list-item
|
199
199
|
action-href="${this.includeActionHref ? 'http://www.d2l.com' : ''}"
|
200
|
-
?draggable="${this.
|
200
|
+
?draggable="${this.isDraggable}"
|
201
201
|
drag-handle-text="${item.primaryText}"
|
202
202
|
?drop-nested="${item.dropNested}"
|
203
203
|
key="${item.key}"
|
@@ -221,7 +221,7 @@ class ListDemoNested extends LitElement {
|
|
221
221
|
const hasChildren = item?.items?.length > 0;
|
222
222
|
return html`
|
223
223
|
<d2l-list-item-button
|
224
|
-
?draggable="${this.
|
224
|
+
?draggable="${this.isDraggable}"
|
225
225
|
drag-handle-text="${item.primaryText}"
|
226
226
|
?drop-nested="${item.dropNested}"
|
227
227
|
key="${item.key}"
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
<d2l-demo-snippet>
|
28
28
|
<template>
|
29
|
-
<d2l-demo-list-nested demo-item-key="imgPrimaryAndSupporting" draggable selectable disable-expand-feature></d2l-demo-list-nested>
|
29
|
+
<d2l-demo-list-nested demo-item-key="imgPrimaryAndSupporting" is-draggable selectable disable-expand-feature></d2l-demo-list-nested>
|
30
30
|
</template>
|
31
31
|
</d2l-demo-snippet>
|
32
32
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<template>
|
19
19
|
<d2l-demo-list-nested
|
20
20
|
demo-item-key="imgPrimaryAndSupporting"
|
21
|
-
draggable
|
21
|
+
is-draggable
|
22
22
|
selectable
|
23
23
|
expandable
|
24
24
|
expanded
|
@@ -30,13 +30,13 @@
|
|
30
30
|
|
31
31
|
<d2l-demo-snippet>
|
32
32
|
<template>
|
33
|
-
<d2l-demo-list-nested demo-item-key="primaryAndSupportingText" draggable selectable expandable></d2l-demo-list-nested>
|
33
|
+
<d2l-demo-list-nested demo-item-key="primaryAndSupportingText" is-draggable selectable expandable></d2l-demo-list-nested>
|
34
34
|
</template>
|
35
35
|
</d2l-demo-snippet>
|
36
36
|
|
37
37
|
<d2l-demo-snippet>
|
38
38
|
<template>
|
39
|
-
<d2l-demo-list-nested demo-item-key="primaryTextOnly" draggable selectable expandable></d2l-demo-list-nested>
|
39
|
+
<d2l-demo-list-nested demo-item-key="primaryTextOnly" is-draggable selectable expandable></d2l-demo-list-nested>
|
40
40
|
</template>
|
41
41
|
</d2l-demo-snippet>
|
42
42
|
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<template>
|
46
46
|
<d2l-demo-list-nested
|
47
47
|
demo-item-key="imgPrimaryAndSupporting"
|
48
|
-
draggable
|
48
|
+
is-draggable
|
49
49
|
selectable
|
50
50
|
expandable
|
51
51
|
expanded
|
@@ -65,7 +65,7 @@
|
|
65
65
|
<h2>Draggable</h2>
|
66
66
|
<d2l-demo-snippet>
|
67
67
|
<template>
|
68
|
-
<d2l-demo-list-nested demo-item-key="primaryAndSupportingText" draggable expandable></d2l-demo-list-nested>
|
68
|
+
<d2l-demo-list-nested demo-item-key="primaryAndSupportingText" is-draggable expandable></d2l-demo-list-nested>
|
69
69
|
</template>
|
70
70
|
</d2l-demo-snippet>
|
71
71
|
|
@@ -81,7 +81,7 @@
|
|
81
81
|
<template>
|
82
82
|
<d2l-demo-list-nested
|
83
83
|
demo-item-key="imgPrimaryAndSupporting"
|
84
|
-
draggable
|
84
|
+
is-draggable
|
85
85
|
selectable
|
86
86
|
expandable
|
87
87
|
include-secondary-actions
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<template>
|
110
110
|
<d2l-demo-list-nested
|
111
111
|
demo-item-key="imgPrimaryAndSupporting"
|
112
|
-
draggable
|
112
|
+
is-draggable
|
113
113
|
selectable
|
114
114
|
expandable
|
115
115
|
no-primary-action></d2l-demo-list-nested>
|
@@ -258,7 +258,7 @@
|
|
258
258
|
} else {
|
259
259
|
draggableSwitch.addEventListener('change', (e) => {
|
260
260
|
const listIterations = document.querySelector('d2l-demo-list-nested-iterations-helper');
|
261
|
-
listIterations.
|
261
|
+
listIterations.isDraggable = e.target.on;
|
262
262
|
});
|
263
263
|
}
|
264
264
|
};
|
@@ -254,6 +254,7 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
254
254
|
* **Drag & drop:** Whether the item is draggable
|
255
255
|
* @type {boolean}
|
256
256
|
*/
|
257
|
+
// eslint-disable-next-line lit/no-native-attributes
|
257
258
|
draggable: { type: Boolean, reflect: true },
|
258
259
|
/**
|
259
260
|
* @ignore
|
@@ -7,6 +7,7 @@ export const ListItemRoleMixin = superclass => class extends superclass {
|
|
7
7
|
/**
|
8
8
|
* @ignore
|
9
9
|
*/
|
10
|
+
// eslint-disable-next-line lit/no-native-attributes
|
10
11
|
role: { type: String, reflect: true },
|
11
12
|
_nested: { type: Boolean, reflect: true },
|
12
13
|
_separators: { type: String, reflect: true }
|
@@ -18,6 +18,7 @@ export const MenuItemMixin = superclass => class extends superclass {
|
|
18
18
|
/**
|
19
19
|
* @ignore
|
20
20
|
*/
|
21
|
+
// eslint-disable-next-line lit/no-native-attributes
|
21
22
|
hidden: { type: Boolean, reflect: true },
|
22
23
|
/**
|
23
24
|
* @ignore
|
@@ -26,10 +27,12 @@ export const MenuItemMixin = superclass => class extends superclass {
|
|
26
27
|
/**
|
27
28
|
* @ignore
|
28
29
|
*/
|
30
|
+
// eslint-disable-next-line lit/no-native-attributes
|
29
31
|
role: { type: String, reflect: true },
|
30
32
|
/**
|
31
33
|
* @ignore
|
32
34
|
*/
|
35
|
+
// eslint-disable-next-line lit/no-native-attributes
|
33
36
|
tabindex: { type: String, reflect: true },
|
34
37
|
/**
|
35
38
|
* REQUIRED: Text displayed by the menu item
|
package/components/menu/menu.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { css, html, LitElement } from 'lit';
|
1
|
+
import { css, html, LitElement, nothing } from 'lit';
|
2
2
|
import { bodySmallStyles } from '../typography/styles.js';
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
4
4
|
import { MeterMixin } from './meter-mixin.js';
|
@@ -121,7 +121,7 @@ class MeterLinear extends MeterMixin(RtlMixin(LitElement)) {
|
|
121
121
|
'd2l-meter-linear-primary-ltr': !this.percent,
|
122
122
|
'd2l-meter-linear-primary': true
|
123
123
|
};
|
124
|
-
const secondaryTextElement = secondary ? html`<div class="d2l-meter-linear-secondary">${secondary}</div>` :
|
124
|
+
const secondaryTextElement = secondary ? html`<div class="d2l-meter-linear-secondary">${secondary}</div>` : nothing;
|
125
125
|
|
126
126
|
return html `
|
127
127
|
<div
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import '../colors/colors.js';
|
2
2
|
import { bodySmallStyles, heading4Styles } from '../typography/styles.js';
|
3
|
-
import { css, html, LitElement } from 'lit';
|
3
|
+
import { css, html, LitElement, nothing } from 'lit';
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
5
5
|
import { MeterMixin } from './meter-mixin.js';
|
6
6
|
import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
|
@@ -61,7 +61,7 @@ class MeterRadial extends MeterMixin(RtlMixin(LitElement)) {
|
|
61
61
|
const progressFill = percent * lengthOfLine;
|
62
62
|
const primary = this._primary(this.value, this.max);
|
63
63
|
const secondary = this._secondary(this.value, this.max, this.text);
|
64
|
-
const secondaryTextElement = this.text ? html`<div class="d2l-body-small d2l-meter-radial-text">${secondary}</div>` :
|
64
|
+
const secondaryTextElement = this.text ? html`<div class="d2l-body-small d2l-meter-radial-text">${secondary}</div>` : nothing;
|
65
65
|
const textClasses = {
|
66
66
|
'd2l-meter-radial-text-ltr': !this.percent,
|
67
67
|
'd2l-heading-4': true,
|
@@ -16,6 +16,7 @@ class Tab extends SkeletonMixin(RtlMixin(LitElement)) {
|
|
16
16
|
return {
|
17
17
|
ariaSelected: { type: String, reflect: true, attribute: 'aria-selected' },
|
18
18
|
controlsPanel: { type: String, reflect: true, attribute: 'controls-panel' },
|
19
|
+
// eslint-disable-next-line lit/no-native-attributes
|
19
20
|
role: { type: String, reflect: true },
|
20
21
|
text: { type: String }
|
21
22
|
};
|
package/custom-elements.json
CHANGED
@@ -5972,11 +5972,6 @@
|
|
5972
5972
|
"description": "Placeholder text",
|
5973
5973
|
"type": "string"
|
5974
5974
|
},
|
5975
|
-
{
|
5976
|
-
"name": "title",
|
5977
|
-
"description": "Text for additional screen reader and mouseover context",
|
5978
|
-
"type": "string"
|
5979
|
-
},
|
5980
5975
|
{
|
5981
5976
|
"name": "unit",
|
5982
5977
|
"description": "Unit associated with the input value, displayed next to input and announced as part of the label",
|
@@ -6002,12 +5997,6 @@
|
|
6002
5997
|
"description": "Value of the input",
|
6003
5998
|
"type": "number"
|
6004
5999
|
},
|
6005
|
-
{
|
6006
|
-
"name": "autofocus",
|
6007
|
-
"description": "ADVANCED: When set, will automatically place focus on the input",
|
6008
|
-
"type": "boolean",
|
6009
|
-
"default": "false"
|
6010
|
-
},
|
6011
6000
|
{
|
6012
6001
|
"name": "disabled",
|
6013
6002
|
"description": "Disables the input",
|
@@ -6102,12 +6091,6 @@
|
|
6102
6091
|
"description": "Placeholder text",
|
6103
6092
|
"type": "string"
|
6104
6093
|
},
|
6105
|
-
{
|
6106
|
-
"name": "title",
|
6107
|
-
"attribute": "title",
|
6108
|
-
"description": "Text for additional screen reader and mouseover context",
|
6109
|
-
"type": "string"
|
6110
|
-
},
|
6111
6094
|
{
|
6112
6095
|
"name": "unit",
|
6113
6096
|
"attribute": "unit",
|
@@ -6148,8 +6131,6 @@
|
|
6148
6131
|
},
|
6149
6132
|
{
|
6150
6133
|
"name": "autofocus",
|
6151
|
-
"attribute": "autofocus",
|
6152
|
-
"description": "ADVANCED: When set, will automatically place focus on the input",
|
6153
6134
|
"type": "boolean",
|
6154
6135
|
"default": "false"
|
6155
6136
|
},
|
@@ -6282,22 +6263,11 @@
|
|
6282
6263
|
"description": "Placeholder text",
|
6283
6264
|
"type": "string"
|
6284
6265
|
},
|
6285
|
-
{
|
6286
|
-
"name": "title",
|
6287
|
-
"description": "Text for additional screenreader and mouseover context",
|
6288
|
-
"type": "string"
|
6289
|
-
},
|
6290
6266
|
{
|
6291
6267
|
"name": "value",
|
6292
6268
|
"description": "Value of the input",
|
6293
6269
|
"type": "number"
|
6294
6270
|
},
|
6295
|
-
{
|
6296
|
-
"name": "autofocus",
|
6297
|
-
"description": "When set, will automatically place focus on the input",
|
6298
|
-
"type": "boolean",
|
6299
|
-
"default": "false"
|
6300
|
-
},
|
6301
6271
|
{
|
6302
6272
|
"name": "disabled",
|
6303
6273
|
"description": "Disables the input",
|
@@ -6362,12 +6332,6 @@
|
|
6362
6332
|
"description": "Placeholder text",
|
6363
6333
|
"type": "string"
|
6364
6334
|
},
|
6365
|
-
{
|
6366
|
-
"name": "title",
|
6367
|
-
"attribute": "title",
|
6368
|
-
"description": "Text for additional screenreader and mouseover context",
|
6369
|
-
"type": "string"
|
6370
|
-
},
|
6371
6335
|
{
|
6372
6336
|
"name": "value",
|
6373
6337
|
"attribute": "value",
|
@@ -6376,8 +6340,6 @@
|
|
6376
6340
|
},
|
6377
6341
|
{
|
6378
6342
|
"name": "autofocus",
|
6379
|
-
"attribute": "autofocus",
|
6380
|
-
"description": "When set, will automatically place focus on the input",
|
6381
6343
|
"type": "boolean",
|
6382
6344
|
"default": "false"
|
6383
6345
|
},
|
@@ -6654,11 +6616,6 @@
|
|
6654
6616
|
"description": "For number inputs, sets the step size",
|
6655
6617
|
"type": "string"
|
6656
6618
|
},
|
6657
|
-
{
|
6658
|
-
"name": "title",
|
6659
|
-
"description": "Text for additional screenreader and mouseover context",
|
6660
|
-
"type": "string"
|
6661
|
-
},
|
6662
6619
|
{
|
6663
6620
|
"name": "unit",
|
6664
6621
|
"description": "Unit associated with the input value, displayed next to input and announced as part of the label",
|
@@ -6674,12 +6631,6 @@
|
|
6674
6631
|
"description": "Value of the input",
|
6675
6632
|
"type": "string"
|
6676
6633
|
},
|
6677
|
-
{
|
6678
|
-
"name": "autofocus",
|
6679
|
-
"description": "When set, will automatically place focus on the input",
|
6680
|
-
"type": "boolean",
|
6681
|
-
"default": "false"
|
6682
|
-
},
|
6683
6634
|
{
|
6684
6635
|
"name": "disabled",
|
6685
6636
|
"description": "Disables the input",
|
@@ -6834,12 +6785,6 @@
|
|
6834
6785
|
"description": "For number inputs, sets the step size",
|
6835
6786
|
"type": "string"
|
6836
6787
|
},
|
6837
|
-
{
|
6838
|
-
"name": "title",
|
6839
|
-
"attribute": "title",
|
6840
|
-
"description": "Text for additional screenreader and mouseover context",
|
6841
|
-
"type": "string"
|
6842
|
-
},
|
6843
6788
|
{
|
6844
6789
|
"name": "unit",
|
6845
6790
|
"attribute": "unit",
|
@@ -6860,8 +6805,6 @@
|
|
6860
6805
|
},
|
6861
6806
|
{
|
6862
6807
|
"name": "autofocus",
|
6863
|
-
"attribute": "autofocus",
|
6864
|
-
"description": "When set, will automatically place focus on the input",
|
6865
6808
|
"type": "boolean",
|
6866
6809
|
"default": "false"
|
6867
6810
|
},
|
@@ -7725,15 +7668,15 @@
|
|
7725
7668
|
"path": "./components/list/demo/demo-list-nested-iterations-helper.js",
|
7726
7669
|
"attributes": [
|
7727
7670
|
{
|
7728
|
-
"name": "draggable",
|
7671
|
+
"name": "is-draggable",
|
7729
7672
|
"type": "boolean",
|
7730
7673
|
"default": "false"
|
7731
7674
|
}
|
7732
7675
|
],
|
7733
7676
|
"properties": [
|
7734
7677
|
{
|
7735
|
-
"name": "
|
7736
|
-
"attribute": "draggable",
|
7678
|
+
"name": "isDraggable",
|
7679
|
+
"attribute": "is-draggable",
|
7737
7680
|
"type": "boolean",
|
7738
7681
|
"default": "false"
|
7739
7682
|
}
|
@@ -7752,7 +7695,7 @@
|
|
7752
7695
|
"type": "string"
|
7753
7696
|
},
|
7754
7697
|
{
|
7755
|
-
"name": "draggable",
|
7698
|
+
"name": "is-draggable",
|
7756
7699
|
"type": "boolean"
|
7757
7700
|
},
|
7758
7701
|
{
|
@@ -7803,8 +7746,8 @@
|
|
7803
7746
|
"type": "string"
|
7804
7747
|
},
|
7805
7748
|
{
|
7806
|
-
"name": "
|
7807
|
-
"attribute": "draggable",
|
7749
|
+
"name": "isDraggable",
|
7750
|
+
"attribute": "is-draggable",
|
7808
7751
|
"type": "boolean"
|
7809
7752
|
},
|
7810
7753
|
{
|
package/lang/ar.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "إغلاق التنبيه",
|
3
3
|
"components.breadcrumbs.breadcrumb": "شريط التنقل",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "إضافة عنصر",
|
5
5
|
"components.calendar.notSelected": "لم يتم التحديد.",
|
6
6
|
"components.calendar.selected": "تم التحديد.",
|
7
7
|
"components.calendar.show": "إظهار {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
10
10
|
"components.dropdown.close": "إغلاق",
|
11
11
|
"components.filter.activeFilters": "عوامل تصفية نشطة:",
|
package/lang/cy.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Cau Hysbysiad",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Briwsionyn Bara",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Ychwanegu Eitem",
|
5
5
|
"components.calendar.notSelected": "Heb ei Ddewis.",
|
6
6
|
"components.calendar.selected": "Wedi'i Ddewis.",
|
7
7
|
"components.calendar.show": "Dangos {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cau'r dialog hwn",
|
10
10
|
"components.dropdown.close": "Cau",
|
11
11
|
"components.filter.activeFilters": "Dim Hidlwyr Gweithredol:",
|
package/lang/da.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Luk besked",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Brødkrumme",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Tilføj element",
|
5
5
|
"components.calendar.notSelected": "Ikke valgt.",
|
6
6
|
"components.calendar.selected": "Valgt.",
|
7
7
|
"components.calendar.show": "Vis {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Luk denne dialogboks",
|
10
10
|
"components.dropdown.close": "Luk",
|
11
11
|
"components.filter.activeFilters": "Aktive filtre:",
|
package/lang/de.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Benachrichtigung schließen",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Brotkrümelnavigation",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Element hinzufügen",
|
5
5
|
"components.calendar.notSelected": "Nicht ausgewählt.",
|
6
6
|
"components.calendar.selected": "Ausgewählt.",
|
7
7
|
"components.calendar.show": "{month} anzeigen",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dieses Dialogfeld schließen",
|
10
10
|
"components.dropdown.close": "Schließen",
|
11
11
|
"components.filter.activeFilters": "Aktive Filter:",
|
package/lang/en-gb.js
CHANGED
@@ -5,7 +5,7 @@ export default {
|
|
5
5
|
"components.calendar.notSelected": "Not Selected.",
|
6
6
|
"components.calendar.selected": "Selected.",
|
7
7
|
"components.calendar.show": "Show {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Close this dialog",
|
10
10
|
"components.dropdown.close": "Close",
|
11
11
|
"components.filter.activeFilters": "Active Filters:",
|
package/lang/en.js
CHANGED
@@ -5,7 +5,7 @@ export default {
|
|
5
5
|
"components.calendar.notSelected": "Not Selected.",
|
6
6
|
"components.calendar.selected": "Selected.",
|
7
7
|
"components.calendar.show": "Show {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Close this dialog",
|
10
10
|
"components.dropdown.close": "Close",
|
11
11
|
"components.filter.activeFilters": "Active Filters:",
|
package/lang/es-es.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Cerrar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Ruta de navegación",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Agregar elemento",
|
5
5
|
"components.calendar.notSelected": "No seleccionado.",
|
6
6
|
"components.calendar.selected": "Seleccionado.",
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
10
|
"components.dropdown.close": "Cerrar",
|
11
11
|
"components.filter.activeFilters": "Filtros activos:",
|
package/lang/es.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Cerrar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Ruta de navegación",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Agregar elemento",
|
5
5
|
"components.calendar.notSelected": "No seleccionado.",
|
6
6
|
"components.calendar.selected": "Seleccionado.",
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
10
10
|
"components.dropdown.close": "Cerrar",
|
11
11
|
"components.filter.activeFilters": "Filtros activos:",
|
package/lang/fr-fr.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Fermer l'alerte",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Chemin de navigation",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Ajouter un élément",
|
5
5
|
"components.calendar.notSelected": "Non sélectionné.",
|
6
6
|
"components.calendar.selected": "Sélectionné.",
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
10
|
"components.dropdown.close": "Fermer",
|
11
11
|
"components.filter.activeFilters": "Filtres actifs :",
|
package/lang/fr.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Fermer l'alerte",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Chemin de navigation",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Ajouter un élément",
|
5
5
|
"components.calendar.notSelected": "Non sélectionné(e)",
|
6
6
|
"components.calendar.selected": "Sélectionné(e).",
|
7
7
|
"components.calendar.show": "Afficher {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
10
10
|
"components.dropdown.close": "Fermer",
|
11
11
|
"components.filter.activeFilters": "Filtres actifs :",
|
package/lang/hi.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "अलर्ट बंद करें",
|
3
3
|
"components.breadcrumbs.breadcrumb": "ब्रेडक्रंब",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "आइटम जोड़ें",
|
5
5
|
"components.calendar.notSelected": "चयनित नहीं।",
|
6
6
|
"components.calendar.selected": "चयनित।",
|
7
7
|
"components.calendar.show": "{month} दिखाएँ",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "यह संवाद बंद करें",
|
10
10
|
"components.dropdown.close": "बंद करें",
|
11
11
|
"components.filter.activeFilters": "सक्रिय फ़िल्टर्स:",
|
package/lang/ja.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "アラートを閉じる",
|
3
3
|
"components.breadcrumbs.breadcrumb": "階層",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "項目の追加",
|
5
5
|
"components.calendar.notSelected": "選択されていません。",
|
6
6
|
"components.calendar.selected": "選択されています。",
|
7
7
|
"components.calendar.show": "{month} を表示",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "このダイアログを閉じる",
|
10
10
|
"components.dropdown.close": "閉じる",
|
11
11
|
"components.filter.activeFilters": "アクティブフィルタ:",
|
package/lang/ko.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "경보 닫기",
|
3
3
|
"components.breadcrumbs.breadcrumb": "이동 경로",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "항목 추가",
|
5
5
|
"components.calendar.notSelected": "선택되지 않음.",
|
6
6
|
"components.calendar.selected": "선택됨.",
|
7
7
|
"components.calendar.show": "{month} 표시",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "이 대화 상자 닫기",
|
10
10
|
"components.dropdown.close": "닫기",
|
11
11
|
"components.filter.activeFilters": "활성 필터:",
|
package/lang/nl.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Waarschuwing sluiten",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Kruimelpad",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Item toevoegen",
|
5
5
|
"components.calendar.notSelected": "Niet geselecteerd.",
|
6
6
|
"components.calendar.selected": "Geselecteerd.",
|
7
7
|
"components.calendar.show": "{month} weergeven",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Dit dialoogvenster sluiten",
|
10
10
|
"components.dropdown.close": "Sluiten",
|
11
11
|
"components.filter.activeFilters": "Actieve filters:",
|
package/lang/pt.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Fechar alerta",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Auxiliar de navegação",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Adicionar item",
|
5
5
|
"components.calendar.notSelected": "Não selecionado.",
|
6
6
|
"components.calendar.selected": "Selecionado.",
|
7
7
|
"components.calendar.show": "Mostrar {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Fechar esta caixa de diálogo",
|
10
10
|
"components.dropdown.close": "Fechar",
|
11
11
|
"components.filter.activeFilters": "Filtros ativos:",
|
package/lang/sv.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Stängningsvarning",
|
3
3
|
"components.breadcrumbs.breadcrumb": "Sökväg",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Lägg till objekt",
|
5
5
|
"components.calendar.notSelected": "Inte vald.",
|
6
6
|
"components.calendar.selected": "Markerad.",
|
7
7
|
"components.calendar.show": "Visa {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Stäng dialogrutan",
|
10
10
|
"components.dropdown.close": "Stäng",
|
11
11
|
"components.filter.activeFilters": "Aktiva filter:",
|
package/lang/tr.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "Kapatma Uyarısı",
|
3
3
|
"components.breadcrumbs.breadcrumb": "İçerik Haritası",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "Öğe Ekle",
|
5
5
|
"components.calendar.notSelected": "Seçili Değil.",
|
6
6
|
"components.calendar.selected": "Seçili.",
|
7
7
|
"components.calendar.show": "{month} Göster",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "Bu iletişim kutusunu kapat",
|
10
10
|
"components.dropdown.close": "Kapat",
|
11
11
|
"components.filter.activeFilters": "Etkin Filtreler:",
|
package/lang/zh-cn.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "关闭提醒",
|
3
3
|
"components.breadcrumbs.breadcrumb": "痕迹导航",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "添加项目",
|
5
5
|
"components.calendar.notSelected": "未选择。",
|
6
6
|
"components.calendar.selected": "已选择。",
|
7
7
|
"components.calendar.show": "显示 {month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "关闭此对话框",
|
10
10
|
"components.dropdown.close": "关闭",
|
11
11
|
"components.filter.activeFilters": "活动筛选器:",
|
package/lang/zh-tw.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export default {
|
2
2
|
"components.alert.close": "關閉警示",
|
3
3
|
"components.breadcrumbs.breadcrumb": "導覽路徑",
|
4
|
-
"components.button-add.addItem": "
|
4
|
+
"components.button-add.addItem": "新增項目",
|
5
5
|
"components.calendar.notSelected": "未選取。",
|
6
6
|
"components.calendar.selected": "已選取。",
|
7
7
|
"components.calendar.show": "顯示{month}",
|
8
|
-
"components.count-badge.plus"
|
8
|
+
"components.count-badge.plus": "{number}+",
|
9
9
|
"components.dialog.close": "關閉此對話方塊",
|
10
10
|
"components.dropdown.close": "關閉",
|
11
11
|
"components.filter.activeFilters": "啟用中的篩選器:",
|
package/mixins/rtl/rtl-mixin.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.169.0",
|
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",
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"@web/dev-server": "^0.2",
|
54
54
|
"chalk": "^5",
|
55
55
|
"eslint": "^8",
|
56
|
-
"eslint-config-brightspace": "^
|
56
|
+
"eslint-config-brightspace": "^1",
|
57
57
|
"glob-all": "^3",
|
58
58
|
"messageformat-validator": "^2",
|
59
59
|
"node-sass": "^9",
|