@brightspace-ui/core 1.197.1 → 1.197.2
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/list/list-item-button-mixin.js +1 -0
- package/components/list/list-item-button.js +0 -3
- package/components/list/list-item-checkbox-mixin.js +1 -0
- package/components/list/list-item-drag-drop-mixin.js +2 -0
- package/components/list/list-item-link-mixin.js +1 -0
- package/components/list/list-item.js +0 -3
- package/components/list/list.js +2 -0
- package/components/menu/menu-item-checkbox.js +0 -4
- package/components/menu/menu-item-link.js +0 -2
- package/components/menu/menu-item-mixin.js +3 -0
- package/components/menu/menu-item-radio.js +0 -3
- package/components/menu/menu-item-selectable-mixin.js +2 -0
- package/components/menu/menu-item.js +0 -2
- package/components/overflow-group/overflow-group.js +4 -3
- package/components/scroll-wrapper/scroll-wrapper.js +1 -2
- package/components/selection/selection-action.js +4 -0
- package/components/selection/selection-input.js +5 -0
- package/components/selection/selection-mixin.js +2 -1
- package/components/selection/selection-observer-mixin.js +3 -1
- package/components/selection/selection-select-all.js +2 -0
- package/components/selection/selection-summary.js +3 -1
- package/components/skeleton/skeleton-mixin.js +1 -0
- package/components/status-indicator/status-indicator.js +2 -0
- package/components/switch/switch-visibility.js +3 -0
- package/components/switch/switch.js +3 -0
- package/components/table/table-col-sort-button.js +0 -2
- package/components/table/table-wrapper.js +0 -2
- package/components/tabs/tab-panel-mixin.js +2 -0
- package/components/tabs/tab-panel.js +0 -2
- package/custom-elements.json +39 -29
- package/lang/ar.js +7 -7
- package/lang/cy.js +7 -7
- package/lang/da.js +7 -7
- package/lang/de.js +7 -7
- package/lang/es-es.js +7 -7
- package/lang/es.js +8 -8
- package/lang/fr-fr.js +8 -8
- package/lang/fr.js +7 -7
- package/lang/ja.js +8 -8
- package/lang/ko.js +7 -7
- package/lang/nl.js +8 -8
- package/lang/pt.js +7 -7
- package/lang/sv.js +7 -7
- package/lang/tr.js +7 -7
- package/lang/zh-tw.js +7 -7
- package/lang/zh.js +8 -8
- package/package.json +1 -1
- package/templates/primary-secondary/primary-secondary.js +2 -0
|
@@ -35,6 +35,7 @@ export const ListItemButtonMixin = superclass => class extends ListItemMixin(sup
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
_onButtonClick() {
|
|
38
|
+
/** Dispatched when the item's primary button action is clicked */
|
|
38
39
|
this.dispatchEvent(new CustomEvent('d2l-list-item-button-click', { bubbles: true }));
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -6,9 +6,6 @@ import { LitElement } from 'lit-element/lit-element.js';
|
|
|
6
6
|
* @slot - Default content placed inside of the component
|
|
7
7
|
* @slot illustration - Image associated with the list item located at the left of the item
|
|
8
8
|
* @slot actions - Actions (e.g., button icons) associated with the listen item located at the right of the item
|
|
9
|
-
* @fires d2l-list-item-button-click - Dispatched when the item's primary button action is clicked
|
|
10
|
-
* @fires d2l-list-item-position-change - Dispatched when a draggable list item's position changes in the list. See [Event Details: d2l-list-item-position-change](#event-details%3A-d2l-list-item-position-change).
|
|
11
|
-
* @fires d2l-list-item-selected - Dispatched when the component item is selected
|
|
12
9
|
*/
|
|
13
10
|
class ListItemButton extends ListItemButtonMixin(LitElement) {
|
|
14
11
|
|
|
@@ -105,6 +105,7 @@ export const ListItemCheckboxMixin = superclass => class extends SkeletonMixin(L
|
|
|
105
105
|
/* wait for internal state to be updated in case of action-click case so that a consumer
|
|
106
106
|
calling getSelectionInfo will get the correct state */
|
|
107
107
|
await this.updateComplete;
|
|
108
|
+
/** Dispatched when the component item is selected */
|
|
108
109
|
this.dispatchEvent(new CustomEvent('d2l-list-item-selected', {
|
|
109
110
|
detail: { key: this.key, selected: value },
|
|
110
111
|
composed: true,
|
|
@@ -265,6 +265,7 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
265
265
|
dragHandleText: { type: String, attribute: 'drag-handle-text' },
|
|
266
266
|
/**
|
|
267
267
|
* **Drag & drop:** Text to drag and drop
|
|
268
|
+
* @type {string}
|
|
268
269
|
*/
|
|
269
270
|
dropText: { type: String, attribute: 'drop-text' },
|
|
270
271
|
/**
|
|
@@ -351,6 +352,7 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
|
351
352
|
}
|
|
352
353
|
|
|
353
354
|
_annoucePositionChange(dragTargetKey, dropTargetKey, dropLocation) {
|
|
355
|
+
/** Dispatched when a draggable list item's position changes in the list. See [Event Details: d2l-list-item-position-change](#event-details%3A-d2l-list-item-position-change). */
|
|
354
356
|
this.dispatchEvent(new CustomEvent('d2l-list-item-position-change', {
|
|
355
357
|
detail: new NewPositionEventDetails({ dragTargetKey, dropTargetKey, dropLocation }),
|
|
356
358
|
bubbles: true
|
|
@@ -45,6 +45,7 @@ export const ListItemLinkMixin = superclass => class extends ListItemMixin(super
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
_handleLinkClick() {
|
|
48
|
+
/** Dispatched when the item's primary link action is clicked */
|
|
48
49
|
this.dispatchEvent(new CustomEvent('d2l-list-item-link-click', { bubbles: true }));
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -6,9 +6,6 @@ import { LitElement } from 'lit-element/lit-element.js';
|
|
|
6
6
|
* @slot - Default content placed inside of the component
|
|
7
7
|
* @slot illustration - Image associated with the list item located at the left of the item
|
|
8
8
|
* @slot actions - Actions (e.g., button icons) associated with the listen item located at the right of the item
|
|
9
|
-
* @fires d2l-list-item-link-click - Dispatched when the item's primary link action is clicked
|
|
10
|
-
* @fires d2l-list-item-position-change - Dispatched when a draggable list item's position changes in the list. See [Event Details: d2l-list-item-position-change](#event-details%3A-d2l-list-item-position-change).
|
|
11
|
-
* @fires d2l-list-item-selected - Dispatched when the component item is selected
|
|
12
9
|
*/
|
|
13
10
|
class ListItem extends ListItemLinkMixin(LitElement) {
|
|
14
11
|
|
package/components/list/list.js
CHANGED
|
@@ -18,10 +18,12 @@ class List extends SelectionMixin(LitElement) {
|
|
|
18
18
|
return {
|
|
19
19
|
/**
|
|
20
20
|
* Whether to extend the separators beyond the content's edge
|
|
21
|
+
* @type {boolean}
|
|
21
22
|
*/
|
|
22
23
|
extendSeparators: { type: Boolean, reflect: true, attribute: 'extend-separators' },
|
|
23
24
|
/**
|
|
24
25
|
* Use grid to manage focus with arrow keys. See [Accessibility](#accessibility).
|
|
26
|
+
* @type {boolean}
|
|
25
27
|
*/
|
|
26
28
|
grid: { type: Boolean },
|
|
27
29
|
/**
|
|
@@ -6,10 +6,6 @@ import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A menu item component used for selection. Multiple checkboxes can be selected at once.
|
|
9
|
-
* @fires click - Dispatched when the link is clicked
|
|
10
|
-
* @fires d2l-menu-item-change - Dispatched when the selected menu item changes
|
|
11
|
-
* @fires d2l-menu-item-select - Dispatched when the menu item is selected
|
|
12
|
-
* @fires d2l-menu-item-visibility-change - Dispatched when the visibility of the menu item changes
|
|
13
9
|
*/
|
|
14
10
|
class MenuItemCheckbox extends RtlMixin(MenuItemSelectableMixin(LitElement)) {
|
|
15
11
|
|
|
@@ -6,8 +6,6 @@ import { menuItemStyles } from './menu-item-styles.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* A menu item component used for navigating.
|
|
8
8
|
* @fires click - Dispatched when the link is clicked
|
|
9
|
-
* @fires d2l-menu-item-select - Dispatched when the menu item is selected
|
|
10
|
-
* @fires d2l-menu-item-visibility-change - Dispatched when the visibility of the menu item changes
|
|
11
9
|
*/
|
|
12
10
|
class MenuItemLink extends MenuItemMixin(LitElement) {
|
|
13
11
|
|
|
@@ -4,6 +4,7 @@ export const MenuItemMixin = superclass => class extends superclass {
|
|
|
4
4
|
return {
|
|
5
5
|
/**
|
|
6
6
|
* Disables the menu item
|
|
7
|
+
* @type {boolean}
|
|
7
8
|
*/
|
|
8
9
|
disabled: { type: Boolean, reflect: true },
|
|
9
10
|
/**
|
|
@@ -100,6 +101,7 @@ export const MenuItemMixin = superclass => class extends superclass {
|
|
|
100
101
|
// assumption: single, focusable child view
|
|
101
102
|
this.__children[0].show();
|
|
102
103
|
} else {
|
|
104
|
+
/** Dispatched when the menu item is selected */
|
|
103
105
|
this.dispatchEvent(new CustomEvent('d2l-menu-item-select', { bubbles: true, composed: true }));
|
|
104
106
|
}
|
|
105
107
|
}
|
|
@@ -162,6 +164,7 @@ export const MenuItemMixin = superclass => class extends superclass {
|
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
_onHidden() {
|
|
167
|
+
/** Dispatched when the visibility of the menu item changes */
|
|
165
168
|
this.dispatchEvent(new CustomEvent('d2l-menu-item-visibility-change', { bubbles: true, composed: true }));
|
|
166
169
|
}
|
|
167
170
|
|
|
@@ -6,9 +6,6 @@ import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A menu item component used for radio selection. Only one radio item in a given d2l-menu may be selected at once (i.e., selecting one option will deselect the other selected "d2l-menu-item-radio" item).
|
|
9
|
-
* @fires d2l-menu-item-change - Dispatched when the selected menu item changes
|
|
10
|
-
* @fires d2l-menu-item-select - Dispatched when a menu item is selected
|
|
11
|
-
* @fires d2l-menu-item-visibility-change - Dispatched when the visibility of the menu item changes
|
|
12
9
|
*/
|
|
13
10
|
class MenuItemRadio extends RtlMixin(MenuItemRadioMixin(LitElement)) {
|
|
14
11
|
|
|
@@ -6,6 +6,7 @@ export const MenuItemSelectableMixin = superclass => class extends MenuItemMixin
|
|
|
6
6
|
return {
|
|
7
7
|
/**
|
|
8
8
|
* This will set the item to be selected by default
|
|
9
|
+
* @type {boolean}
|
|
9
10
|
*/
|
|
10
11
|
selected: { type: Boolean, reflect: true },
|
|
11
12
|
/**
|
|
@@ -42,6 +43,7 @@ export const MenuItemSelectableMixin = superclass => class extends MenuItemMixin
|
|
|
42
43
|
selected: this.selected
|
|
43
44
|
}
|
|
44
45
|
};
|
|
46
|
+
/** Dispatched when the selected menu item changes */
|
|
45
47
|
this.dispatchEvent(new CustomEvent('d2l-menu-item-change', eventDetails));
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -6,8 +6,6 @@ import { menuItemStyles } from './menu-item-styles.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* A menu item component used with JS handlers.
|
|
8
8
|
* @slot - Default content placed inside of the component
|
|
9
|
-
* @fires d2l-menu-item-select - Dispatched when a menu item is selected
|
|
10
|
-
* @fires d2l-menu-item-visibility-change - Dispatched when the visibility of the menu item changes
|
|
11
9
|
*/
|
|
12
10
|
class MenuItem extends MenuItemMixin(LitElement) {
|
|
13
11
|
|
|
@@ -111,9 +111,7 @@ function convertToDropdownItem(node) {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
|
-
* A component that can be used to display a set of buttons, links or menus that will be put into a
|
|
115
|
-
* dropdown menu when they no longer fit on the first line of their container
|
|
116
|
-
*
|
|
114
|
+
* A component that can be used to display a set of buttons, links or menus that will be put into a dropdown menu when they no longer fit on the first line of their container
|
|
117
115
|
* @slot - Buttons, dropdown buttons, links or other items to be added to the container
|
|
118
116
|
* @fires d2l-overflow-group-updated - Dispatched when there is an update performed to the overflow group
|
|
119
117
|
*/
|
|
@@ -123,6 +121,7 @@ class OverflowGroup extends RtlMixin(LocalizeCoreElement(LitElement)) {
|
|
|
123
121
|
return {
|
|
124
122
|
/**
|
|
125
123
|
* Use predefined classes on slot elements to set min and max buttons to show
|
|
124
|
+
* @type {boolean}
|
|
126
125
|
*/
|
|
127
126
|
autoShow: {
|
|
128
127
|
type: Boolean,
|
|
@@ -130,6 +129,7 @@ class OverflowGroup extends RtlMixin(LocalizeCoreElement(LitElement)) {
|
|
|
130
129
|
},
|
|
131
130
|
/**
|
|
132
131
|
* minimum amount of buttons to show
|
|
132
|
+
* @type {number}
|
|
133
133
|
*/
|
|
134
134
|
minToShow: {
|
|
135
135
|
type: Number,
|
|
@@ -138,6 +138,7 @@ class OverflowGroup extends RtlMixin(LocalizeCoreElement(LitElement)) {
|
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
140
|
* maximum amount of buttons to show
|
|
141
|
+
* @type {number}
|
|
141
142
|
*/
|
|
142
143
|
maxToShow: {
|
|
143
144
|
type: Number,
|
|
@@ -12,7 +12,6 @@ const SCROLL_AMOUNT = 0.8;
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* Wraps content which may overflow its horizontal boundaries, providing left/right scroll buttons.
|
|
15
|
-
*
|
|
16
15
|
* @slot - User provided content to wrap
|
|
17
16
|
*/
|
|
18
17
|
class ScrollWrapper extends FocusVisiblePolyfillMixin(RtlMixin(LitElement)) {
|
|
@@ -54,7 +53,7 @@ class ScrollWrapper extends FocusVisiblePolyfillMixin(RtlMixin(LitElement)) {
|
|
|
54
53
|
:host([hidden]) {
|
|
55
54
|
display: none;
|
|
56
55
|
}
|
|
57
|
-
|
|
56
|
+
|
|
58
57
|
.d2l-scroll-wrapper-container {
|
|
59
58
|
box-sizing: border-box;
|
|
60
59
|
outline: none;
|
|
@@ -12,6 +12,7 @@ import { SelectionObserverMixin } from './selection-observer-mixin.js';
|
|
|
12
12
|
/**
|
|
13
13
|
* An action associated with a selection component.
|
|
14
14
|
* @fires d2l-selection-action-click - Dispatched when the user clicks the action; provides the selection info
|
|
15
|
+
* @fires d2l-selection-observer-subscribe - Internal event
|
|
15
16
|
*/
|
|
16
17
|
class Action extends LocalizeCoreElement(SelectionObserverMixin(ButtonMixin(RtlMixin(LitElement)))) {
|
|
17
18
|
|
|
@@ -19,14 +20,17 @@ class Action extends LocalizeCoreElement(SelectionObserverMixin(ButtonMixin(RtlM
|
|
|
19
20
|
return {
|
|
20
21
|
/**
|
|
21
22
|
* Preset icon key (e.g. "tier1:gear")
|
|
23
|
+
* @type {string}
|
|
22
24
|
*/
|
|
23
25
|
icon: { type: String, reflect: true },
|
|
24
26
|
/**
|
|
25
27
|
* Whether the action requires one or more selected items
|
|
28
|
+
* @type {boolean}
|
|
26
29
|
*/
|
|
27
30
|
requiresSelection: { type: Boolean, attribute: 'requires-selection', reflect: true },
|
|
28
31
|
/**
|
|
29
32
|
* REQUIRED: The text for the action
|
|
33
|
+
* @type {string}
|
|
30
34
|
*/
|
|
31
35
|
text: { type: String, reflect: true }
|
|
32
36
|
};
|
|
@@ -13,6 +13,7 @@ const keyCodes = {
|
|
|
13
13
|
/**
|
|
14
14
|
* An input (radio or checkbox) for use in selection components such as lists and tables.
|
|
15
15
|
* @fires d2l-selection-change - Dispatched when the selected state changes
|
|
16
|
+
* @fires d2l-selection-input-subscribe - Internal event
|
|
16
17
|
*/
|
|
17
18
|
class Input extends SkeletonMixin(LabelledMixin(LitElement)) {
|
|
18
19
|
|
|
@@ -20,18 +21,22 @@ class Input extends SkeletonMixin(LabelledMixin(LitElement)) {
|
|
|
20
21
|
return {
|
|
21
22
|
/**
|
|
22
23
|
* State of the input
|
|
24
|
+
* @type {boolean}
|
|
23
25
|
*/
|
|
24
26
|
selected: { type: Boolean },
|
|
25
27
|
/**
|
|
26
28
|
* Disables the input
|
|
29
|
+
* @type {boolean}
|
|
27
30
|
*/
|
|
28
31
|
disabled: { type: Boolean },
|
|
29
32
|
/**
|
|
30
33
|
* Private. Force hovering state of input
|
|
34
|
+
* @type {boolean}
|
|
31
35
|
*/
|
|
32
36
|
hovering: { type: Boolean },
|
|
33
37
|
/**
|
|
34
38
|
* Key for the selectable
|
|
39
|
+
* @type {string}
|
|
35
40
|
*/
|
|
36
41
|
key: { type: String },
|
|
37
42
|
_indeterminate: { type: Boolean },
|
|
@@ -39,7 +39,8 @@ export const SelectionMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
39
39
|
static get properties() {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* Whether the selection control is limited to single selection
|
|
42
|
+
* Whether the selection control is limited to single selection
|
|
43
|
+
* @type {boolean}
|
|
43
44
|
*/
|
|
44
45
|
selectionSingle: { type: Boolean, attribute: 'selection-single' }
|
|
45
46
|
};
|
|
@@ -7,10 +7,12 @@ export const SelectionObserverMixin = superclass => class extends superclass {
|
|
|
7
7
|
return {
|
|
8
8
|
/**
|
|
9
9
|
* Id of the SelectionMixin component this component wants to observe (if not located within that component)
|
|
10
|
+
* @type {string}
|
|
10
11
|
*/
|
|
11
12
|
selectionFor: { type: String, reflect: true, attribute: 'selection-for' },
|
|
12
13
|
/**
|
|
13
|
-
* The selection info (set by the selection component)
|
|
14
|
+
* The selection info (set by the selection component)
|
|
15
|
+
* @type {object}
|
|
14
16
|
*/
|
|
15
17
|
selectionInfo: { type: Object },
|
|
16
18
|
_provider: { type: Object, attribute: false }
|
|
@@ -7,6 +7,7 @@ import { SelectionObserverMixin } from './selection-observer-mixin.js';
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A checkbox that provides select-all behavior for selection components such as tables and lists.
|
|
10
|
+
* @fires d2l-selection-observer-subscribe - Internal event
|
|
10
11
|
*/
|
|
11
12
|
class SelectAll extends LocalizeCoreElement(SelectionObserverMixin(LitElement)) {
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@ class SelectAll extends LocalizeCoreElement(SelectionObserverMixin(LitElement))
|
|
|
14
15
|
return {
|
|
15
16
|
/**
|
|
16
17
|
* Disables the select all checkbox
|
|
18
|
+
* @type {boolean}
|
|
17
19
|
*/
|
|
18
20
|
disabled: { type: Boolean }
|
|
19
21
|
};
|
|
@@ -6,13 +6,15 @@ import { SelectionObserverMixin } from './selection-observer-mixin.js';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A summary showing the current selected count.
|
|
9
|
+
* @fires d2l-selection-observer-subscribe - Internal event
|
|
9
10
|
*/
|
|
10
11
|
class Summary extends LocalizeCoreElement(SelectionObserverMixin(LitElement)) {
|
|
11
12
|
|
|
12
13
|
static get properties() {
|
|
13
14
|
return {
|
|
14
15
|
/**
|
|
15
|
-
* Text to display if no items are selected
|
|
16
|
+
* Text to display if no items are selected
|
|
17
|
+
* @type {string}
|
|
16
18
|
*/
|
|
17
19
|
noSelectionText: { type: String, attribute: 'no-selection-text' }
|
|
18
20
|
};
|
|
@@ -148,6 +148,7 @@ export const SkeletonMixin = dedupeMixin(superclass => class extends RtlMixin(su
|
|
|
148
148
|
return {
|
|
149
149
|
/**
|
|
150
150
|
* Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)
|
|
151
|
+
* @type {boolean}
|
|
151
152
|
*/
|
|
152
153
|
skeleton: { reflect: true, type: Boolean }
|
|
153
154
|
};
|
|
@@ -18,12 +18,14 @@ class StatusIndicator extends LitElement {
|
|
|
18
18
|
},
|
|
19
19
|
/**
|
|
20
20
|
* REQUIRED: The text that is displayed within the status indicator
|
|
21
|
+
* @type {string}
|
|
21
22
|
*/
|
|
22
23
|
text: {
|
|
23
24
|
type: String
|
|
24
25
|
},
|
|
25
26
|
/**
|
|
26
27
|
* Use when the status is very important and needs to have a lot of prominence
|
|
28
|
+
* @type {boolean}
|
|
27
29
|
*/
|
|
28
30
|
bold: {
|
|
29
31
|
type: Boolean,
|
|
@@ -3,6 +3,9 @@ import { html, LitElement } from 'lit-element/lit-element.js';
|
|
|
3
3
|
import { LocalizeCoreElement } from '../../lang/localize-core-element.js';
|
|
4
4
|
import { SwitchMixin } from './switch-mixin.js';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* A variant of the generic switch configured with special icons and default text for toggling "visibility".
|
|
8
|
+
*/
|
|
6
9
|
class VisibilitySwitch extends LocalizeCoreElement(SwitchMixin(LitElement)) {
|
|
7
10
|
|
|
8
11
|
get text() {
|
|
@@ -4,6 +4,9 @@ import '../icons/icon-custom.js';
|
|
|
4
4
|
import { html, LitElement } from 'lit-element/lit-element.js';
|
|
5
5
|
import { SwitchMixin } from './switch-mixin.js';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* A generic switch with on/off semantics.
|
|
9
|
+
*/
|
|
7
10
|
class Switch extends SwitchMixin(LitElement) {
|
|
8
11
|
|
|
9
12
|
get offIcon() {
|
|
@@ -2,9 +2,7 @@ import '../icons/icon.js';
|
|
|
2
2
|
import { css, html, LitElement } from 'lit-element/lit-element.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
5
|
* Button for sorting a table column in ascending/descending order.
|
|
7
|
-
*
|
|
8
6
|
* @slot - Text of the sort button
|
|
9
7
|
*/
|
|
10
8
|
export class TableColSortButton extends LitElement {
|
|
@@ -164,9 +164,7 @@ export const tableStyles = css`
|
|
|
164
164
|
`;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
168
167
|
* Wraps a native <table> element, providing styling and scroll buttons for overflow.
|
|
169
|
-
*
|
|
170
168
|
* @slot - Content to wrap
|
|
171
169
|
*/
|
|
172
170
|
export class TableWrapper extends RtlMixin(LitElement) {
|
|
@@ -55,6 +55,7 @@ export const TabPanelMixin = superclass => class extends superclass {
|
|
|
55
55
|
super.attributeChangedCallback(name, oldval, newval);
|
|
56
56
|
if (name === 'text') {
|
|
57
57
|
this.setAttribute('aria-label', this.text);
|
|
58
|
+
/** Dispatched when the text attribute is changed */
|
|
58
59
|
this.dispatchEvent(new CustomEvent(
|
|
59
60
|
'd2l-tab-panel-text-changed', { bubbles: true, composed: true, detail: { text: this.text } }
|
|
60
61
|
));
|
|
@@ -73,6 +74,7 @@ export const TabPanelMixin = superclass => class extends superclass {
|
|
|
73
74
|
if (prop === 'selected') {
|
|
74
75
|
if (this.selected) {
|
|
75
76
|
requestAnimationFrame(() => {
|
|
77
|
+
/** Dispatched when a tab is selected */
|
|
76
78
|
this.dispatchEvent(new CustomEvent(
|
|
77
79
|
'd2l-tab-panel-selected', { bubbles: true, composed: true }
|
|
78
80
|
));
|
|
@@ -4,8 +4,6 @@ import { TabPanelMixin } from './tab-panel-mixin.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* A component for tab panel content.
|
|
6
6
|
* @slot - Default content in tab panel
|
|
7
|
-
* @fires d2l-tab-panel-text-changed - Dispatched when the text attribute is changed
|
|
8
|
-
* @fires d2l-tab-panel-selected - Dispatched when a tab is selected
|
|
9
7
|
*/
|
|
10
8
|
class TabPanel extends TabPanelMixin(LitElement) {
|
|
11
9
|
|
package/custom-elements.json
CHANGED
|
@@ -6319,10 +6319,12 @@
|
|
|
6319
6319
|
],
|
|
6320
6320
|
"events": [
|
|
6321
6321
|
{
|
|
6322
|
-
"name": "d2l-list-item-position-change"
|
|
6322
|
+
"name": "d2l-list-item-position-change",
|
|
6323
|
+
"description": "Dispatched when a draggable list item's position changes in the list. See [Event Details: d2l-list-item-position-change](#event-details%3A-d2l-list-item-position-change)."
|
|
6323
6324
|
},
|
|
6324
6325
|
{
|
|
6325
|
-
"name": "d2l-list-item-selected"
|
|
6326
|
+
"name": "d2l-list-item-selected",
|
|
6327
|
+
"description": "Dispatched when the component item is selected"
|
|
6326
6328
|
}
|
|
6327
6329
|
]
|
|
6328
6330
|
},
|
|
@@ -6887,7 +6889,7 @@
|
|
|
6887
6889
|
},
|
|
6888
6890
|
{
|
|
6889
6891
|
"name": "selection-single",
|
|
6890
|
-
"description": "Whether the selection control is limited to single selection
|
|
6892
|
+
"description": "Whether the selection control is limited to single selection",
|
|
6891
6893
|
"type": "boolean",
|
|
6892
6894
|
"default": "false"
|
|
6893
6895
|
}
|
|
@@ -6917,7 +6919,7 @@
|
|
|
6917
6919
|
{
|
|
6918
6920
|
"name": "selectionSingle",
|
|
6919
6921
|
"attribute": "selection-single",
|
|
6920
|
-
"description": "Whether the selection control is limited to single selection
|
|
6922
|
+
"description": "Whether the selection control is limited to single selection",
|
|
6921
6923
|
"type": "boolean",
|
|
6922
6924
|
"default": "false"
|
|
6923
6925
|
}
|
|
@@ -7031,10 +7033,12 @@
|
|
|
7031
7033
|
],
|
|
7032
7034
|
"events": [
|
|
7033
7035
|
{
|
|
7034
|
-
"name": "d2l-menu-item-select"
|
|
7036
|
+
"name": "d2l-menu-item-select",
|
|
7037
|
+
"description": "Dispatched when the menu item is selected"
|
|
7035
7038
|
},
|
|
7036
7039
|
{
|
|
7037
|
-
"name": "d2l-menu-item-visibility-change"
|
|
7040
|
+
"name": "d2l-menu-item-visibility-change",
|
|
7041
|
+
"description": "Dispatched when the visibility of the menu item changes"
|
|
7038
7042
|
}
|
|
7039
7043
|
]
|
|
7040
7044
|
},
|
|
@@ -7110,10 +7114,6 @@
|
|
|
7110
7114
|
}
|
|
7111
7115
|
],
|
|
7112
7116
|
"events": [
|
|
7113
|
-
{
|
|
7114
|
-
"name": "click",
|
|
7115
|
-
"description": "Dispatched when the link is clicked"
|
|
7116
|
-
},
|
|
7117
7117
|
{
|
|
7118
7118
|
"name": "d2l-menu-item-change",
|
|
7119
7119
|
"description": "Dispatched when the selected menu item changes"
|
|
@@ -7293,7 +7293,7 @@
|
|
|
7293
7293
|
},
|
|
7294
7294
|
{
|
|
7295
7295
|
"name": "d2l-menu-item-select",
|
|
7296
|
-
"description": "Dispatched when
|
|
7296
|
+
"description": "Dispatched when the menu item is selected"
|
|
7297
7297
|
},
|
|
7298
7298
|
{
|
|
7299
7299
|
"name": "d2l-menu-item-visibility-change",
|
|
@@ -7345,10 +7345,12 @@
|
|
|
7345
7345
|
],
|
|
7346
7346
|
"events": [
|
|
7347
7347
|
{
|
|
7348
|
-
"name": "d2l-menu-item-select"
|
|
7348
|
+
"name": "d2l-menu-item-select",
|
|
7349
|
+
"description": "Dispatched when the menu item is selected"
|
|
7349
7350
|
},
|
|
7350
7351
|
{
|
|
7351
|
-
"name": "d2l-menu-item-visibility-change"
|
|
7352
|
+
"name": "d2l-menu-item-visibility-change",
|
|
7353
|
+
"description": "Dispatched when the visibility of the menu item changes"
|
|
7352
7354
|
}
|
|
7353
7355
|
]
|
|
7354
7356
|
},
|
|
@@ -7403,7 +7405,7 @@
|
|
|
7403
7405
|
"events": [
|
|
7404
7406
|
{
|
|
7405
7407
|
"name": "d2l-menu-item-select",
|
|
7406
|
-
"description": "Dispatched when
|
|
7408
|
+
"description": "Dispatched when the menu item is selected"
|
|
7407
7409
|
},
|
|
7408
7410
|
{
|
|
7409
7411
|
"name": "d2l-menu-item-visibility-change",
|
|
@@ -7747,7 +7749,7 @@
|
|
|
7747
7749
|
{
|
|
7748
7750
|
"name": "d2l-overflow-group",
|
|
7749
7751
|
"path": "./components/overflow-group/overflow-group.js",
|
|
7750
|
-
"description": "A component that can be used to display a set of buttons, links or menus that will be put into a
|
|
7752
|
+
"description": "A component that can be used to display a set of buttons, links or menus that will be put into a dropdown menu when they no longer fit on the first line of their container",
|
|
7751
7753
|
"attributes": [
|
|
7752
7754
|
{
|
|
7753
7755
|
"name": "auto-show",
|
|
@@ -7926,7 +7928,8 @@
|
|
|
7926
7928
|
},
|
|
7927
7929
|
{
|
|
7928
7930
|
"name": "selectionInfo",
|
|
7929
|
-
"description": "The selection info (set by the selection component)
|
|
7931
|
+
"description": "The selection info (set by the selection component)",
|
|
7932
|
+
"type": "object"
|
|
7930
7933
|
},
|
|
7931
7934
|
{
|
|
7932
7935
|
"name": "disabled-tooltip",
|
|
@@ -7968,7 +7971,8 @@
|
|
|
7968
7971
|
{
|
|
7969
7972
|
"name": "selectionInfo",
|
|
7970
7973
|
"attribute": "selectionInfo",
|
|
7971
|
-
"description": "The selection info (set by the selection component)
|
|
7974
|
+
"description": "The selection info (set by the selection component)",
|
|
7975
|
+
"type": "object"
|
|
7972
7976
|
},
|
|
7973
7977
|
{
|
|
7974
7978
|
"name": "disabledTooltip",
|
|
@@ -7990,7 +7994,8 @@
|
|
|
7990
7994
|
"description": "Dispatched when the user clicks the action; provides the selection info"
|
|
7991
7995
|
},
|
|
7992
7996
|
{
|
|
7993
|
-
"name": "d2l-selection-observer-subscribe"
|
|
7997
|
+
"name": "d2l-selection-observer-subscribe",
|
|
7998
|
+
"description": "Internal event"
|
|
7994
7999
|
}
|
|
7995
8000
|
]
|
|
7996
8001
|
},
|
|
@@ -8094,7 +8099,8 @@
|
|
|
8094
8099
|
"description": "Dispatched when the selected state changes"
|
|
8095
8100
|
},
|
|
8096
8101
|
{
|
|
8097
|
-
"name": "d2l-selection-input-subscribe"
|
|
8102
|
+
"name": "d2l-selection-input-subscribe",
|
|
8103
|
+
"description": "Internal event"
|
|
8098
8104
|
}
|
|
8099
8105
|
]
|
|
8100
8106
|
},
|
|
@@ -8116,7 +8122,7 @@
|
|
|
8116
8122
|
},
|
|
8117
8123
|
{
|
|
8118
8124
|
"name": "selectionInfo",
|
|
8119
|
-
"description": "The selection info (set by the selection component)
|
|
8125
|
+
"description": "The selection info (set by the selection component)",
|
|
8120
8126
|
"type": "object"
|
|
8121
8127
|
}
|
|
8122
8128
|
],
|
|
@@ -8137,13 +8143,14 @@
|
|
|
8137
8143
|
{
|
|
8138
8144
|
"name": "selectionInfo",
|
|
8139
8145
|
"attribute": "selectionInfo",
|
|
8140
|
-
"description": "The selection info (set by the selection component)
|
|
8146
|
+
"description": "The selection info (set by the selection component)",
|
|
8141
8147
|
"type": "object"
|
|
8142
8148
|
}
|
|
8143
8149
|
],
|
|
8144
8150
|
"events": [
|
|
8145
8151
|
{
|
|
8146
|
-
"name": "d2l-selection-observer-subscribe"
|
|
8152
|
+
"name": "d2l-selection-observer-subscribe",
|
|
8153
|
+
"description": "Internal event"
|
|
8147
8154
|
}
|
|
8148
8155
|
]
|
|
8149
8156
|
},
|
|
@@ -8154,7 +8161,7 @@
|
|
|
8154
8161
|
"attributes": [
|
|
8155
8162
|
{
|
|
8156
8163
|
"name": "no-selection-text",
|
|
8157
|
-
"description": "Text to display if no items are selected
|
|
8164
|
+
"description": "Text to display if no items are selected",
|
|
8158
8165
|
"type": "string"
|
|
8159
8166
|
},
|
|
8160
8167
|
{
|
|
@@ -8164,7 +8171,7 @@
|
|
|
8164
8171
|
},
|
|
8165
8172
|
{
|
|
8166
8173
|
"name": "selectionInfo",
|
|
8167
|
-
"description": "The selection info (set by the selection component)
|
|
8174
|
+
"description": "The selection info (set by the selection component)",
|
|
8168
8175
|
"type": "object"
|
|
8169
8176
|
}
|
|
8170
8177
|
],
|
|
@@ -8172,7 +8179,7 @@
|
|
|
8172
8179
|
{
|
|
8173
8180
|
"name": "noSelectionText",
|
|
8174
8181
|
"attribute": "no-selection-text",
|
|
8175
|
-
"description": "Text to display if no items are selected
|
|
8182
|
+
"description": "Text to display if no items are selected",
|
|
8176
8183
|
"type": "string"
|
|
8177
8184
|
},
|
|
8178
8185
|
{
|
|
@@ -8184,13 +8191,14 @@
|
|
|
8184
8191
|
{
|
|
8185
8192
|
"name": "selectionInfo",
|
|
8186
8193
|
"attribute": "selectionInfo",
|
|
8187
|
-
"description": "The selection info (set by the selection component)
|
|
8194
|
+
"description": "The selection info (set by the selection component)",
|
|
8188
8195
|
"type": "object"
|
|
8189
8196
|
}
|
|
8190
8197
|
],
|
|
8191
8198
|
"events": [
|
|
8192
8199
|
{
|
|
8193
|
-
"name": "d2l-selection-observer-subscribe"
|
|
8200
|
+
"name": "d2l-selection-observer-subscribe",
|
|
8201
|
+
"description": "Internal event"
|
|
8194
8202
|
}
|
|
8195
8203
|
]
|
|
8196
8204
|
},
|
|
@@ -8200,7 +8208,7 @@
|
|
|
8200
8208
|
"attributes": [
|
|
8201
8209
|
{
|
|
8202
8210
|
"name": "selection-single",
|
|
8203
|
-
"description": "Whether the selection control is limited to single selection
|
|
8211
|
+
"description": "Whether the selection control is limited to single selection",
|
|
8204
8212
|
"type": "boolean",
|
|
8205
8213
|
"default": "false"
|
|
8206
8214
|
}
|
|
@@ -8209,7 +8217,7 @@
|
|
|
8209
8217
|
{
|
|
8210
8218
|
"name": "selectionSingle",
|
|
8211
8219
|
"attribute": "selection-single",
|
|
8212
|
-
"description": "Whether the selection control is limited to single selection
|
|
8220
|
+
"description": "Whether the selection control is limited to single selection",
|
|
8213
8221
|
"type": "boolean",
|
|
8214
8222
|
"default": "false"
|
|
8215
8223
|
}
|
|
@@ -8469,6 +8477,7 @@
|
|
|
8469
8477
|
{
|
|
8470
8478
|
"name": "d2l-switch-visibility",
|
|
8471
8479
|
"path": "./components/switch/switch-visibility.js",
|
|
8480
|
+
"description": "A variant of the generic switch configured with special icons and default text for toggling \"visibility\".",
|
|
8472
8481
|
"attributes": [
|
|
8473
8482
|
{
|
|
8474
8483
|
"name": "text",
|
|
@@ -8557,6 +8566,7 @@
|
|
|
8557
8566
|
{
|
|
8558
8567
|
"name": "d2l-switch",
|
|
8559
8568
|
"path": "./components/switch/switch.js",
|
|
8569
|
+
"description": "A generic switch with on/off semantics.",
|
|
8560
8570
|
"attributes": [
|
|
8561
8571
|
{
|
|
8562
8572
|
"name": "text",
|
package/lang/ar.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
|
11
11
|
"components.dropdown.close": "إغلاق",
|
|
12
12
|
"components.filter.clear": "مسح",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "مسح الكل",
|
|
14
|
+
"components.filter.clearAllAnnounce": "جارٍ مسح كل عوامل التصفية",
|
|
15
|
+
"components.filter.clearAllDescription": "مسح كل عوامل التصفية",
|
|
16
|
+
"components.filter.clearAnnounce": "جارٍ مسح عوامل التصفية لـ: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "جارٍ مسح عوامل التصفية",
|
|
18
|
+
"components.filter.clearDescription": "مسح عوامل التصفية لـ: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "مسح عوامل التصفية",
|
|
20
20
|
"components.filter.loading": "يتم تحميل عوامل التصفية",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {لم يتم تطبيق عوامل تصفية.} one {تم تطبيق عامل تصفية واحد.} other {{number} من عوامل التصفية التي تم تطبيقها.}}",
|
|
22
22
|
"components.filter.filters": "عوامل التصفية",
|
package/lang/cy.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Cau'r dialog hwn",
|
|
11
11
|
"components.dropdown.close": "Cau",
|
|
12
12
|
"components.filter.clear": "Clirio",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Clirio’r Cyfan",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Wrthi’n clirio’r holl hidlwyr",
|
|
15
|
+
"components.filter.clearAllDescription": "Clirio’r holl hidlwyr",
|
|
16
|
+
"components.filter.clearAnnounce": "Wrthi’n clirio hidlwyr ar gyfer: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Wrthi'n clirio hidlwyr",
|
|
18
|
+
"components.filter.clearDescription": "Wrthi’n clirio hidlwyd ar gyfer: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Clirio Hidlwyr",
|
|
20
20
|
"components.filter.loading": "Wrthi’n llwytho hidlyddion",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Ni chymhwyswyd hidlwyr.} one {1 hidlydd wedi'i gymhwyso.} other {{number} hidlydd wedi'u cymhwyso.}}",
|
|
22
22
|
"components.filter.filters": "Hidlyddion",
|
package/lang/da.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Luk denne dialogboks",
|
|
11
11
|
"components.dropdown.close": "Luk",
|
|
12
12
|
"components.filter.clear": "Ryd",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Ryd alle",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Rydder alle filtre",
|
|
15
|
+
"components.filter.clearAllDescription": "Ryd alle filtre",
|
|
16
|
+
"components.filter.clearAnnounce": "Rydder filtre for: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Rydder filtre",
|
|
18
|
+
"components.filter.clearDescription": "Ryd filtre for: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Ryd filtre",
|
|
20
20
|
"components.filter.loading": "Indlæser filtre",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Ingen filtre anvendt.} one {1 filter anvendt.} other {{number} filtre anvendt.}}",
|
|
22
22
|
"components.filter.filters": "Filtre",
|
package/lang/de.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Dieses Dialogfeld schließen",
|
|
11
11
|
"components.dropdown.close": "Schließen",
|
|
12
12
|
"components.filter.clear": "Löschen",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Alle löschen",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Alle Filter werden gelöscht",
|
|
15
|
+
"components.filter.clearAllDescription": "Alle Filter löschen",
|
|
16
|
+
"components.filter.clearAnnounce": "Filter für {filterName} werden gelöscht",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Filter werden gelöscht",
|
|
18
|
+
"components.filter.clearDescription": "Filter für {filterName} löschen",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Filter löschen",
|
|
20
20
|
"components.filter.loading": "Filter werden geladen",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Keine Filter angewendet.} one {1 Filter angewendet.} other {{number} Filter angewendet.}}",
|
|
22
22
|
"components.filter.filters": "Filter",
|
package/lang/es-es.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
|
11
11
|
"components.dropdown.close": "Cerrar",
|
|
12
12
|
"components.filter.clear": "Borrar",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Borrar todo",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Borrando todos los filtros",
|
|
15
|
+
"components.filter.clearAllDescription": "Borrar todos los filtros",
|
|
16
|
+
"components.filter.clearAnnounce": "Borrando filtros para: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Borrando filtros",
|
|
18
|
+
"components.filter.clearDescription": "Borrar filtros para: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Borrar filtros",
|
|
20
20
|
"components.filter.loading": "Cargando filtros",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Sin filtros aplicados.} one {1 filtro aplicado.} other {{number} filtros aplicados.}}",
|
|
22
22
|
"components.filter.filters": "Filtros",
|
package/lang/es.js
CHANGED
|
@@ -6,17 +6,17 @@ export default {
|
|
|
6
6
|
"components.calendar.notSelected": "No seleccionado.",
|
|
7
7
|
"components.calendar.selected": "Seleccionado.",
|
|
8
8
|
"components.calendar.show": "Mostrar {month}",
|
|
9
|
-
"components.count-badge.plus" : "{number}
|
|
9
|
+
"components.count-badge.plus" : "Más de {number}",
|
|
10
10
|
"components.dialog.close": "Cerrar este cuadro de diálogo",
|
|
11
11
|
"components.dropdown.close": "Cerrar",
|
|
12
12
|
"components.filter.clear": "Borrar",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Borrar todo",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Borrando todos los filtros",
|
|
15
|
+
"components.filter.clearAllDescription": "Borrar todos los filtros",
|
|
16
|
+
"components.filter.clearAnnounce": "Borrando filtros para: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Borrando filtros",
|
|
18
|
+
"components.filter.clearDescription": "Borrar filtros para: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Borrar filtros",
|
|
20
20
|
"components.filter.loading": "Cargando filtros",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Sin filtros aplicados.} one {1 filtro aplicado.} other {{number} filtros aplicados.}}",
|
|
22
22
|
"components.filter.filters": "Filtros",
|
package/lang/fr-fr.js
CHANGED
|
@@ -6,17 +6,17 @@ export default {
|
|
|
6
6
|
"components.calendar.notSelected": "Non sélectionné.",
|
|
7
7
|
"components.calendar.selected": "Sélectionné.",
|
|
8
8
|
"components.calendar.show": "Afficher {month}",
|
|
9
|
-
"components.count-badge.plus" : "{number}
|
|
9
|
+
"components.count-badge.plus" : "Plus de {number}",
|
|
10
10
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
|
11
11
|
"components.dropdown.close": "Fermer",
|
|
12
12
|
"components.filter.clear": "Effacer",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Tout effacer",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Suppression de tous les filtres",
|
|
15
|
+
"components.filter.clearAllDescription": "Supprimer tous les filtres",
|
|
16
|
+
"components.filter.clearAnnounce": "Suppression des filtres pour : {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Suppression des filtres",
|
|
18
|
+
"components.filter.clearDescription": "Supprimer les filtres pour : {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Supprimer les filtres",
|
|
20
20
|
"components.filter.loading": "Chargement des filtres",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Aucun filtre appliqué.} one {1 filtre appliqué.} other {{number} filtres appliqués.}}",
|
|
22
22
|
"components.filter.filters": "Filtres",
|
package/lang/fr.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Fermer cette boîte de dialogue",
|
|
11
11
|
"components.dropdown.close": "Fermer",
|
|
12
12
|
"components.filter.clear": "Effacer",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Effacer tout",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Effacement de tous les filtres en cours",
|
|
15
|
+
"components.filter.clearAllDescription": "Effacer tous les filtres",
|
|
16
|
+
"components.filter.clearAnnounce": "Effacement des filtres pour : {filterName} en cours",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Effacement des filtres en cours",
|
|
18
|
+
"components.filter.clearDescription": "Effacer les filtres pour : {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Effacer les filtres",
|
|
20
20
|
"components.filter.loading": "Chargement des filtres",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Aucun filtre appliqué.} one {1 filtre appliqué.} other {{number} filtres appliqués.}}",
|
|
22
22
|
"components.filter.filters": "Filtres",
|
package/lang/ja.js
CHANGED
|
@@ -6,17 +6,17 @@ export default {
|
|
|
6
6
|
"components.calendar.notSelected": "選択されていません。",
|
|
7
7
|
"components.calendar.selected": "選択されています。",
|
|
8
8
|
"components.calendar.show": "{month} を表示",
|
|
9
|
-
"components.count-badge.plus" : "{number}
|
|
9
|
+
"components.count-badge.plus" : "{number} 以上",
|
|
10
10
|
"components.dialog.close": "このダイアログを閉じる",
|
|
11
11
|
"components.dropdown.close": "閉じる",
|
|
12
12
|
"components.filter.clear": "クリア",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "すべてをクリア",
|
|
14
|
+
"components.filter.clearAllAnnounce": "すべてのフィルタのクリア",
|
|
15
|
+
"components.filter.clearAllDescription": "すべてのフィルターをクリア",
|
|
16
|
+
"components.filter.clearAnnounce": "{filterName} フィルタのクリア",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "フィルタのクリア",
|
|
18
|
+
"components.filter.clearDescription": "{filterName} フィルタのクリア",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "フィルタのクリア",
|
|
20
20
|
"components.filter.loading": "フィルタのロード中",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {フィルタは適用されていません。} one {1 つのフィルタが適用されています。} other {{number} 個のフィルタが適用されています。}}",
|
|
22
22
|
"components.filter.filters": "フィルタ",
|
package/lang/ko.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "이 대화 상자 닫기",
|
|
11
11
|
"components.dropdown.close": "닫기",
|
|
12
12
|
"components.filter.clear": "지우기",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "모두 지우기",
|
|
14
|
+
"components.filter.clearAllAnnounce": "모든 필터 지우기",
|
|
15
|
+
"components.filter.clearAllDescription": "모든 필터 지우기",
|
|
16
|
+
"components.filter.clearAnnounce": "{filterName}에 대한 필터 지우기",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "필터 지우기",
|
|
18
|
+
"components.filter.clearDescription": "{filterName}에 대한 필터를 지웁니다.",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "필터 지우기",
|
|
20
20
|
"components.filter.loading": "필터 로드 중",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {적용된 필터 없음.} one {1개 필터 적용.} other {{number}개 필터 적용.}}",
|
|
22
22
|
"components.filter.filters": "개 필터",
|
package/lang/nl.js
CHANGED
|
@@ -6,17 +6,17 @@ export default {
|
|
|
6
6
|
"components.calendar.notSelected": "Niet geselecteerd.",
|
|
7
7
|
"components.calendar.selected": "Geselecteerd.",
|
|
8
8
|
"components.calendar.show": "{month} weergeven",
|
|
9
|
-
"components.count-badge.plus" : "{number}+",
|
|
9
|
+
"components.count-badge.plus" : "{number} +",
|
|
10
10
|
"components.dialog.close": "Dit dialoogvenster sluiten",
|
|
11
11
|
"components.dropdown.close": "Sluiten",
|
|
12
12
|
"components.filter.clear": "Wissen",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Alles wissen",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Alle filters wissen",
|
|
15
|
+
"components.filter.clearAllDescription": "Alle filters wissen",
|
|
16
|
+
"components.filter.clearAnnounce": "Filters wissen voor {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Filters wissen",
|
|
18
|
+
"components.filter.clearDescription": "Filters wissen voor {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Filters wissen",
|
|
20
20
|
"components.filter.loading": "Laden van filters",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {No filters applied.} one {1 filter applied.} other {{number} filters applied.}}",
|
|
22
22
|
"components.filter.filters": "Filters",
|
package/lang/pt.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Fechar esta caixa de diálogo",
|
|
11
11
|
"components.dropdown.close": "Fechar",
|
|
12
12
|
"components.filter.clear": "Limpar",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Limpar tudo",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Limpando todos os filtros",
|
|
15
|
+
"components.filter.clearAllDescription": "Limpar todos os filtros",
|
|
16
|
+
"components.filter.clearAnnounce": "Limpando filtros para: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Limpando filtros",
|
|
18
|
+
"components.filter.clearDescription": "Limpar filtros para: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Limpar filtros",
|
|
20
20
|
"components.filter.loading": "Carregar filtros",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Nenhum filtro aplicado.} one {Um filtro aplicado.} other {{number} filtros aplicados.}}",
|
|
22
22
|
"components.filter.filters": "Filtros",
|
package/lang/sv.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Stäng dialogrutan",
|
|
11
11
|
"components.dropdown.close": "Stäng",
|
|
12
12
|
"components.filter.clear": "Rensa",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Rensa alla",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Rensar alla filter",
|
|
15
|
+
"components.filter.clearAllDescription": "Rensa alla filter",
|
|
16
|
+
"components.filter.clearAnnounce": "Rensar filter för {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Rensar filter",
|
|
18
|
+
"components.filter.clearDescription": "Rensa filter för {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Rensa filter",
|
|
20
20
|
"components.filter.loading": "Läser in filter",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Inga filter tillämpade.} one {1 filter tillämpat.} other {{number} filter tillämpade.}}",
|
|
22
22
|
"components.filter.filters": "Filter",
|
package/lang/tr.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Bu iletişim kutusunu kapat",
|
|
11
11
|
"components.dropdown.close": "Kapat",
|
|
12
12
|
"components.filter.clear": "Temizle",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Tümünü Temizle",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Tüm filtreler temizleniyor",
|
|
15
|
+
"components.filter.clearAllDescription": "Tüm filtreleri temizle",
|
|
16
|
+
"components.filter.clearAnnounce": "{filterName} için filtreler temizleniyor",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Filtreler temizleniyor",
|
|
18
|
+
"components.filter.clearDescription": "{filterName} için filtreleri temizle",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Filtreleri temizle",
|
|
20
20
|
"components.filter.loading": "Filtreler yükleniyor",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Filtre uygulanmadı.} one {1 filtre uygulandı.} other {{number} filtre uygulandı.}}",
|
|
22
22
|
"components.filter.filters": "Filtre",
|
package/lang/zh-tw.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "關閉此對話方塊",
|
|
11
11
|
"components.dropdown.close": "關閉",
|
|
12
12
|
"components.filter.clear": "清除",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "全部清除",
|
|
14
|
+
"components.filter.clearAllAnnounce": "正在清除所有篩選器",
|
|
15
|
+
"components.filter.clearAllDescription": "清除所有篩選器",
|
|
16
|
+
"components.filter.clearAnnounce": "正在清除 {filterName} 的篩選器",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "正在清除篩選器",
|
|
18
|
+
"components.filter.clearDescription": "清除 {filterName} 的篩選器",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "清除篩選器",
|
|
20
20
|
"components.filter.loading": "正在載入篩選條件",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {未套用篩選條件。} one {已套用 1 項篩選條件。} other {已套用 {number} 項篩選條件。}}",
|
|
22
22
|
"components.filter.filters": "篩選器",
|
package/lang/zh.js
CHANGED
|
@@ -6,17 +6,17 @@ export default {
|
|
|
6
6
|
"components.calendar.notSelected": "未选择。",
|
|
7
7
|
"components.calendar.selected": "已选择。",
|
|
8
8
|
"components.calendar.show": "显示 {month}",
|
|
9
|
-
"components.count-badge.plus" : "{number}+",
|
|
9
|
+
"components.count-badge.plus" : "{number} +",
|
|
10
10
|
"components.dialog.close": "关闭此对话框",
|
|
11
11
|
"components.dropdown.close": "关闭",
|
|
12
12
|
"components.filter.clear": "清除",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "全部清除",
|
|
14
|
+
"components.filter.clearAllAnnounce": "清除所有筛选器",
|
|
15
|
+
"components.filter.clearAllDescription": "清除所有筛选器",
|
|
16
|
+
"components.filter.clearAnnounce": "正在清除筛选器:{ filterName }",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "清除筛选",
|
|
18
|
+
"components.filter.clearDescription": "清除筛选条件:{ filterName }",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "清除筛选",
|
|
20
20
|
"components.filter.loading": "正在加载筛选器",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {未应用筛选器。} one {已应用 1 个筛选器。} other {已应用 {number} 个筛选器。}}",
|
|
22
22
|
"components.filter.filters": "个筛选条件",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.197.
|
|
3
|
+
"version": "1.197.2",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
6
6
|
"publishConfig": {
|
|
@@ -484,6 +484,7 @@ class TemplatePrimarySecondary extends FocusVisiblePolyfillMixin(RtlMixin(Locali
|
|
|
484
484
|
/**
|
|
485
485
|
* Whether the panels are user resizable. This only applies to desktop users,
|
|
486
486
|
* mobile users will always be able to resize.
|
|
487
|
+
* @type {boolean}
|
|
487
488
|
*/
|
|
488
489
|
resizable: { type: Boolean, reflect: true },
|
|
489
490
|
/**
|
|
@@ -491,6 +492,7 @@ class TemplatePrimarySecondary extends FocusVisiblePolyfillMixin(RtlMixin(Locali
|
|
|
491
492
|
* should not be shared between pages so that users can save different divider
|
|
492
493
|
* positions on different pages. If no key is provided, the template will fall
|
|
493
494
|
* back its default size.
|
|
495
|
+
* @type {string}
|
|
494
496
|
*/
|
|
495
497
|
storageKey: { type: String, attribute: 'storage-key' },
|
|
496
498
|
/**
|