@brightspace-ui/core 2.107.2 → 2.107.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/button/button-move.js +17 -16
- package/components/button/floating-buttons.js +1 -1
- package/components/dropdown/dropdown-content-styles.js +1 -1
- package/components/list/list-item-drag-image.js +1 -1
- package/components/list/list-item-mixin.js +1 -1
- package/components/skeleton/skeleton-mixin.js +1 -1
- package/custom-elements.json +3 -4
- package/package.json +1 -1
|
@@ -194,22 +194,23 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
|
194
194
|
|
|
195
195
|
render() {
|
|
196
196
|
return html`
|
|
197
|
-
<
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
197
|
+
<div role="application">
|
|
198
|
+
<button
|
|
199
|
+
aria-describedby="${ifDefined(this.description ? this._describedById : undefined)}"
|
|
200
|
+
aria-label="${ifDefined(this.text)}"
|
|
201
|
+
?autofocus="${this.autofocus}"
|
|
202
|
+
?disabled="${this.disabledUp && this.disabledDown && this.disabledLeft && this.disabledRight && this.disabledHome && this.disabledEnd}"
|
|
203
|
+
id="${this._buttonId}"
|
|
204
|
+
@keydown="${this._handleKeydown}"
|
|
205
|
+
title="${ifDefined(this.text)}"
|
|
206
|
+
type="button">
|
|
207
|
+
<d2l-icon icon="tier1:arrow-toggle-up" class="up-icon"></d2l-icon>
|
|
208
|
+
<d2l-icon icon="tier1:arrow-toggle-down" class="down-icon"></d2l-icon>
|
|
209
|
+
<div class="up-layer" @click="${this._handleUpClick}"></div>
|
|
210
|
+
<div class="down-layer" @click="${this._handleDownClick}"></div>
|
|
211
|
+
</button>
|
|
212
|
+
${this.description ? html`<span id="${this._describedById}" hidden>${this.description}</span>` : null}
|
|
213
|
+
</div>`;
|
|
213
214
|
}
|
|
214
215
|
|
|
215
216
|
_dispatchAction(action) {
|
|
@@ -18,7 +18,7 @@ export const dropdownContentStyles = css`
|
|
|
18
18
|
text-align: left;
|
|
19
19
|
top: calc(100% + var(--d2l-dropdown-verticaloffset, 16px));
|
|
20
20
|
width: 100%;
|
|
21
|
-
z-index:
|
|
21
|
+
z-index: 998; /* position on top of floating buttons */
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
:host([theme="dark"]) {
|
|
@@ -88,7 +88,7 @@ class ListItemDragImage extends LocalizeCoreElement(SkeletonMixin(RtlMixin(LitEl
|
|
|
88
88
|
position: absolute;
|
|
89
89
|
text-align: center;
|
|
90
90
|
top: 30px;
|
|
91
|
-
z-index:
|
|
91
|
+
z-index: 998; /* must be higher than the skeleton z-index */
|
|
92
92
|
}
|
|
93
93
|
:host([dir="rtl"]) .count {
|
|
94
94
|
left: 14px;
|
|
@@ -114,7 +114,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
114
114
|
}
|
|
115
115
|
:host([_fullscreen-within]) {
|
|
116
116
|
position: fixed; /* required for Safari */
|
|
117
|
-
z-index:
|
|
117
|
+
z-index: 998; /* must be greater than floating workflow buttons */
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
:host([dragging]) d2l-list-item-generic-layout {
|
package/custom-elements.json
CHANGED
|
@@ -5975,8 +5975,7 @@
|
|
|
5975
5975
|
"type": "number"
|
|
5976
5976
|
},
|
|
5977
5977
|
{
|
|
5978
|
-
"name": "trailingZeroes"
|
|
5979
|
-
"type": "boolean"
|
|
5978
|
+
"name": "trailingZeroes"
|
|
5980
5979
|
},
|
|
5981
5980
|
{
|
|
5982
5981
|
"name": "value",
|
|
@@ -9970,7 +9969,7 @@
|
|
|
9970
9969
|
{
|
|
9971
9970
|
"name": "d2l-overflow-group",
|
|
9972
9971
|
"path": "./components/overflow-group/overflow-group.js",
|
|
9973
|
-
"description": "
|
|
9972
|
+
"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",
|
|
9974
9973
|
"attributes": [
|
|
9975
9974
|
{
|
|
9976
9975
|
"name": "opener-style",
|
|
@@ -10188,7 +10187,7 @@
|
|
|
10188
10187
|
{
|
|
10189
10188
|
"name": "d2l-scroll-wrapper",
|
|
10190
10189
|
"path": "./components/scroll-wrapper/scroll-wrapper.js",
|
|
10191
|
-
"description": "
|
|
10190
|
+
"description": "Wraps content which may overflow its horizontal boundaries, providing left/right scroll buttons.",
|
|
10192
10191
|
"attributes": [
|
|
10193
10192
|
{
|
|
10194
10193
|
"name": "hide-actions",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.107.
|
|
3
|
+
"version": "2.107.4",
|
|
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",
|