@brightspace-ui/core 3.170.0 → 3.171.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/collapsible-panel/collapsible-panel-group.js +1 -1
- package/components/collapsible-panel/collapsible-panel.js +1 -1
- package/components/form/form-element-mixin.js +1 -1
- package/components/icons/catalogue.md +78 -77
- package/components/icons/images/tier1/configure.svg +3 -0
- package/components/list/list-item-drag-drop-mixin.js +3 -3
- package/custom-elements.json +2 -2
- package/generated/icons/presetIconLoader.js +2 -0
- package/generated/icons/tier1/configure.js +5 -0
- package/package.json +1 -1
@@ -5,7 +5,7 @@ import { SubscriberRegistryController } from '../../controllers/subscriber/subsc
|
|
5
5
|
|
6
6
|
/**
|
7
7
|
* A component that renders a container and layout for collapsible panels
|
8
|
-
* @slot
|
8
|
+
* @slot - Slot for panels. Only accepts `d2l-collapsible-panel`
|
9
9
|
*/
|
10
10
|
class CollapsiblePanelGroup extends SkeletonGroupMixin(LitElement) {
|
11
11
|
|
@@ -47,7 +47,7 @@ function addTabListener() {
|
|
47
47
|
* @slot before - Slot for content to be placed at the left side of the header, aligned with the title and header slot
|
48
48
|
* @slot header - Slot for supporting header content
|
49
49
|
* @slot summary - Slot for the summary of the expanded content. Only accepts `d2l-collapsible-panel-summary-item`
|
50
|
-
* @slot
|
50
|
+
* @slot - Slot for the expanded content
|
51
51
|
* @slot actions - Slot for buttons and dropdown openers to be placed in top right corner of header
|
52
52
|
* @fires d2l-collapsible-panel-expand - Dispatched when the panel is expanded
|
53
53
|
* @fires d2l-collapsible-panel-collapse - Dispatched when the panel is collapsed
|
@@ -224,7 +224,7 @@ export const FormElementMixin = superclass => class extends LocalizeCoreElement(
|
|
224
224
|
if (oldValidationError !== this.validationError) {
|
225
225
|
this._errors = errors;
|
226
226
|
}
|
227
|
-
await this.
|
227
|
+
await this.updateComplete;
|
228
228
|
}
|
229
229
|
|
230
230
|
resetValidation() {
|
@@ -39,83 +39,84 @@ Size: `18px` x `18`px
|
|
39
39
|
|
40
40
|
| Icon | Name | | Icon | Name | | Icon | Name |
|
41
41
|
| :---: | :--- | --- | :---: | :--- | --- | :---: | :--- |
|
42
|
-
|  | accelerator | |  | enrollment | |  | access-special | |  | eportfolio | |  | accessibility | |  | event-log | |  | add-file | |  | exemption-add | |  | add-message | |  | exemption-remove | |  | add-to-lor | |  | export | |  | add-user | |  | external | |  | add | |  | feed | |  | ai | |  | feedback | |  | alarmbell | |  | file-archive | |  | alert | |  | file-audio | |  | arrow-collapse-small | |  | file-document | |  | arrow-collapse | |  | file-image | |  | arrow-expand-small | |  | file-presentation | |  | arrow-expand | |  | file-video | |  | arrow-thin-down | |  | filter | |  | arrow-thin-left | |  | flag-filled | |  | arrow-thin-right | |  | flag-hollow | |  | arrow-thin-up | |  | folder-up-level | |  | arrow-toggle-down | |  | folder | |  | arrow-toggle-up | |  | forms | |  | assignments | |  | forward | |  | attach | |  | fullscreen | |  | attendance | |  | game | |  | awards | |  | gear | |  | binder | |  | glossary | |  | blocked | |  | google-drive | |  | blog | |  | grabber-small | |  | book-management | |  | grabber | |  | bookmark-filled | |  | grade-remove | |  | bookmark-hollow | |  | grade-visible | |  | broken-link | |  | grade | |  | browser | |  | group-locker | |  | bullet | |  | group | |  | bullseye | |  | help | |  | calculate | |  | history | |  | calendar | |  | home | |  | change-file | |  | import | |  | chat | |  | important | |  | check-circle | |  | insights-portal | |  | check-manual | |  | link | |  | check-user | |  | list-view | |  | check | |  | location | |  | checklist | |  | locations | |  | chevron-down-medium | |  | lock-locked | |  | chevron-down-small | |  | lock-unlock | |  | chevron-down | |  | locker | |  | chevron-left | |  | lor | |  | chevron-right | |  | low-priority | |  | chevron-up | |  | manage-dates-edit | |  | class | |  | manage-dates-offset | |  | classlist | |  | manage-dates | |  | close-circle | |  | manage-files | |  | close-default | |  | manual-run | |  | close-large-thick | |  | menu-hamburger | |  | close-large | |  | messages | |  | close-small | |  | mic | |  | comment-filled | |  | mobile | |  | comment-hollow | |  | more | |  | course | |  | my-computer | |  | edit | |  | pic | |  | email | |  | pin-hollow | |  | accelerator | |  | enrollment | |  | plus-large-thick |
|
43
|
+
|  | access-special | |  | eportfolio | |  | plus-large |
|
44
|
+
|  | accessibility | |  | event-log | |  | preview |
|
45
|
+
|  | add-file | |  | exemption-add | |  | print |
|
46
|
+
|  | add-message | |  | exemption-remove | |  | profile-default |
|
47
|
+
|  | add-to-lor | |  | export | |  | profile-pic |
|
48
|
+
|  | add-user | |  | external | |  | publish-to-lor |
|
49
|
+
|  | add | |  | feed | |  | quicklink |
|
50
|
+
|  | ai | |  | feedback | |  | quizzing |
|
51
|
+
|  | alarmbell | |  | file-archive | |  | read-unread |
|
52
|
+
|  | alert | |  | file-audio | |  | read |
|
53
|
+
|  | arrow-collapse-small | |  | file-document | |  | reading |
|
54
|
+
|  | arrow-collapse | |  | file-image | |  | redo |
|
55
|
+
|  | arrow-expand-small | |  | file-presentation | |  | reflection |
|
56
|
+
|  | arrow-expand | |  | file-video | |  | refresh |
|
57
|
+
|  | arrow-thin-down | |  | filter | |  | release-conditions |
|
58
|
+
|  | arrow-thin-left | |  | flag-filled | |  | remove-user |
|
59
|
+
|  | arrow-thin-right | |  | flag-hollow | |  | reorder |
|
60
|
+
|  | arrow-thin-up | |  | folder-up-level | |  | repeat |
|
61
|
+
|  | arrow-toggle-down | |  | folder | |  | replied |
|
62
|
+
|  | arrow-toggle-up | |  | forms | |  | reply |
|
63
|
+
|  | assignments | |  | forward | |  | reporting |
|
64
|
+
|  | attach | |  | fullscreen | |  | reports |
|
65
|
+
|  | attendance | |  | game | |  | resize-left |
|
66
|
+
|  | awards | |  | gear | |  | resize-right |
|
67
|
+
|  | binder | |  | glossary | |  | reverse-order |
|
68
|
+
|  | blocked | |  | google-drive | |  | role-switch |
|
69
|
+
|  | blog | |  | grabber-small | |  | rss |
|
70
|
+
|  | book-management | |  | grabber | |  | rubric-graded |
|
71
|
+
|  | bookmark-filled | |  | grade-remove | |  | rubric |
|
72
|
+
|  | bookmark-hollow | |  | grade-visible | |  | save |
|
73
|
+
|  | broken-link | |  | grade | |  | scorm |
|
74
|
+
|  | browser | |  | group-locker | |  | search |
|
75
|
+
|  | bullet | |  | group | |  | seating |
|
76
|
+
|  | bullseye | |  | help | |  | self-assessment |
|
77
|
+
|  | calculate | |  | history | |  | send |
|
78
|
+
|  | calendar | |  | home | |  | share-hollow |
|
79
|
+
|  | change-file | |  | import | |  | share-parent-filled |
|
80
|
+
|  | chat | |  | important | |  | share-parent-hollow |
|
81
|
+
|  | check-circle | |  | insights-portal | |  | share |
|
82
|
+
|  | check-manual | |  | link | |  | smallscreen |
|
83
|
+
|  | check-user | |  | list-view | |  | sort-type |
|
84
|
+
|  | check | |  | location | |  | spellcheck |
|
85
|
+
|  | checklist | |  | locations | |  | style |
|
86
|
+
|  | chevron-down-medium | |  | lock-locked | |  | subscribe-filled |
|
87
|
+
|  | chevron-down-small | |  | lock-unlock | |  | subscribe-hollow |
|
88
|
+
|  | chevron-down | |  | locker | |  | support |
|
89
|
+
|  | chevron-left | |  | lor | |  | surveys |
|
90
|
+
|  | chevron-right | |  | low-priority | |  | syllabus |
|
91
|
+
|  | chevron-up | |  | manage-dates-edit | |  | table-of-contents |
|
92
|
+
|  | class | |  | manage-dates-offset | |  | tag-hollow |
|
93
|
+
|  | classlist | |  | manage-dates | |  | tag |
|
94
|
+
|  | close-circle | |  | manage-files | |  | thumbs-down |
|
95
|
+
|  | close-default | |  | manual-run | |  | thumbs-up |
|
96
|
+
|  | close-large-thick | |  | menu-hamburger | |  | tile-view |
|
97
|
+
|  | close-large | |  | messages | |  | time |
|
98
|
+
|  | close-small | |  | mic | |  | tools |
|
99
|
+
|  | comment-filled | |  | mobile | |  | topic-last |
|
100
|
+
|  | comment-hollow | |  | more | |  | turnitin |
|
101
|
+
|  | configure | |  | move-down | |  | unapproved |
|
102
|
+
|  | contacts | |  | move-to | |  | undo |
|
103
|
+
|  | copy | |  | move-up | |  | unsaved |
|
104
|
+
|  | course-tile-sort | |  | my-computer | |  | upload |
|
105
|
+
|  | course | |  | navigate | |  | user-competencies |
|
106
|
+
|  | coursebuilder | |  | new-window | |  | user-progress |
|
107
|
+
|  | delete | |  | news | |  | video-assignment |
|
108
|
+
|  | disable | |  | no-entry | |  | virtual-classroom |
|
109
|
+
|  | discussions | |  | one-drive | |  | visibility-conditional |
|
110
|
+
|  | divider-solid | |  | online-rooms | |  | visibility-hide |
|
111
|
+
|  | dot | |  | online | |  | visibility-show |
|
112
|
+
|  | download | |  | outcomes | |  | volume-muted |
|
113
|
+
|  | draft | |  | password | |  | volume |
|
114
|
+
|  | dragger | |  | pause | |  | widgets |
|
115
|
+
|  | edit-bulk | |  | pic | |  | wizard |
|
116
|
+
|  | edit | |  | pin-filled | |  | zoom-in |
|
117
|
+
|  | email-read | |  | pin-hollow | |  | zoom-out |
|
118
|
+
|  | email | |  | play | | | |
|
119
|
+
|  | enable | |  | plus-default | | | |
|
119
120
|
|
120
121
|
## tier2
|
121
122
|
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18">
|
2
|
+
<path fill="#494c4e" fill-rule="evenodd" d="M6 2v3.17c1.165.413 2 1.024 2 2.33s-.835 1.917-2 2.33V16a1 1 0 1 1-2 0V9.83C2.835 9.416 2 8.805 2 7.5s.835-1.917 2-2.33V2a1 1 0 0 1 2 0M4 7.5c0-.552.448-.5 1-.5s1-.052 1 .5-.448.5-1 .5-1 .052-1-.5m9 9.5a1 1 0 0 1-1-1v-3.17c-1.165-.412-2-1.024-2-2.33s.835-1.917 2-2.33V2a1 1 0 1 1 2 0v6.17c1.165.413 2 1.024 2 2.33s-.835 1.918-2 2.33V16a1 1 0 0 1-1 1m0-7c-.552 0-1-.052-1 .5s.448.5 1 .5 1 .052 1-.5-.448-.5-1-.5" clip-rule="evenodd"/>
|
3
|
+
</svg>
|
@@ -633,15 +633,15 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
|
|
633
633
|
}
|
634
634
|
}
|
635
635
|
}
|
636
|
-
e.dataTransfer.setDragImage(getDragImage(selectionInfo.keys.length, includePlus), 24, 26);
|
636
|
+
if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(getDragImage(selectionInfo.keys.length, includePlus), 24, 26);
|
637
637
|
} else if (rootList.dragMultiple && this.expandable) {
|
638
638
|
const flattenedListItems = this._getFlattenedListItems(this);
|
639
|
-
e.dataTransfer.setDragImage(getDragImage(flattenedListItems.listItems.size, flattenedListItems.lazyLoadListItems.size > 0), 24, 26);
|
639
|
+
if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(getDragImage(flattenedListItems.listItems.size, flattenedListItems.lazyLoadListItems.size > 0), 24, 26);
|
640
640
|
} else {
|
641
641
|
if (this.shadowRoot) {
|
642
642
|
const nodeImage = this.shadowRoot.querySelector('.d2l-list-item-drag-image') || this;
|
643
643
|
nodeImage.classList.add('dragging');
|
644
|
-
e.dataTransfer.setDragImage(nodeImage, 50, 50);
|
644
|
+
if (e.dataTransfer.setDragImage) e.dataTransfer.setDragImage(nodeImage, 50, 50);
|
645
645
|
}
|
646
646
|
}
|
647
647
|
|
package/custom-elements.json
CHANGED
@@ -1505,7 +1505,7 @@
|
|
1505
1505
|
],
|
1506
1506
|
"slots": [
|
1507
1507
|
{
|
1508
|
-
"name": "
|
1508
|
+
"name": "",
|
1509
1509
|
"description": "Slot for panels. Only accepts `d2l-collapsible-panel`"
|
1510
1510
|
}
|
1511
1511
|
]
|
@@ -1699,7 +1699,7 @@
|
|
1699
1699
|
"description": "Slot for the summary of the expanded content. Only accepts `d2l-collapsible-panel-summary-item`"
|
1700
1700
|
},
|
1701
1701
|
{
|
1702
|
-
"name": "
|
1702
|
+
"name": "",
|
1703
1703
|
"description": "Slot for the expanded content"
|
1704
1704
|
},
|
1705
1705
|
{
|
@@ -229,6 +229,8 @@ export function loadSvg(icon) {
|
|
229
229
|
return import(/* webpackChunkName: "icon-comment-filled" */'./tier1/comment-filled.js');
|
230
230
|
case 'tier1:comment-hollow':
|
231
231
|
return import(/* webpackChunkName: "icon-comment-hollow" */'./tier1/comment-hollow.js');
|
232
|
+
case 'tier1:configure':
|
233
|
+
return import(/* webpackChunkName: "icon-configure" */'./tier1/configure.js');
|
232
234
|
case 'tier1:contacts':
|
233
235
|
return import(/* webpackChunkName: "icon-contacts" */'./tier1/contacts.js');
|
234
236
|
case 'tier1:copy':
|
@@ -0,0 +1,5 @@
|
|
1
|
+
// auto-generated
|
2
|
+
export const val = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18">
|
3
|
+
<path fill="#494c4e" fill-rule="evenodd" d="M6 2v3.17c1.165.413 2 1.024 2 2.33s-.835 1.917-2 2.33V16a1 1 0 1 1-2 0V9.83C2.835 9.416 2 8.805 2 7.5s.835-1.917 2-2.33V2a1 1 0 0 1 2 0M4 7.5c0-.552.448-.5 1-.5s1-.052 1 .5-.448.5-1 .5-1 .052-1-.5m9 9.5a1 1 0 0 1-1-1v-3.17c-1.165-.412-2-1.024-2-2.33s.835-1.917 2-2.33V2a1 1 0 1 1 2 0v6.17c1.165.413 2 1.024 2 2.33s-.835 1.918-2 2.33V16a1 1 0 0 1-1 1m0-7c-.552 0-1-.052-1 .5s.448.5 1 .5 1 .052 1-.5-.448-.5-1-.5" clip-rule="evenodd"/>
|
4
|
+
</svg>
|
5
|
+
`;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.171.1",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|