@brightspace-ui/core 3.176.7 → 3.177.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.
|
@@ -124,62 +124,62 @@ Size: `24px` x `24`px
|
|
|
124
124
|
|
|
125
125
|
| Icon | Name | | Icon | Name | | Icon | Name |
|
|
126
126
|
| :---: | :--- | --- | :---: | :--- | --- | :---: | :--- |
|
|
127
|
-
|  | accelerator | |  | eportfolio | |  | accessibility | |  | evaluate-all | |  | add-file | |  | external | |  | add-message | |  | feedback | |  | add-to-lor | |  | file-archive | |  | add-user | |  | file-audio | |  | add | |  | file-document | |  | ai | |  | file-image | |  | alarmbell | |  | file-presentation | |  | read |
|
|
136
|
-
|  | alert | |  | file-video | |  | arrow-collapse | |  | filter | |  | assignments | |  | flag-fill | |  | attach | |  | flag-hollow | |  | attendance | |  | folder | |  | awards | |  | forms | |  | binder | |  | fullscreen | |  | blocked | |  | game | |  | reply |
|
|
144
|
-
|  | blog | |  | gear | |  | book-management | |  | glossary | |  | bookmark-filled | |  | google-drive | |  | bookmark-hollow | |  | grade | |  | broken-link | |  | help | |  | browser | |  | history | |  | bullseye | |  | home | |  | calculate | |  | insights-portal | |  | calendar | |  | link | |  | capture | |  | location | |  | change-file | |  | locations | |  | chat | |  | lock-unlocked | |  | check-box-unchecked | |  | lock | |  | check-box | |  | locker | |  | check-circle | |  | lor | |  | check | |  | manage-dates | |  | checklist | |  | manage-files | |  | chevron-down | |  | media | |  | chevron-left | |  | menu-hamburger | |  | chevron-right | |  | merge | |  | chevron-up | |  | message-new | |  | classes | |  | messages | |  | classlist | |  | mic | |  | contacts | |  | content | |  | copy | |  | course-tile-sort | |  | coursebuilder | |  | delete | |  | discussions | |  | divider-big | |  | online | |  | divider | |  | dot | |  | download | |  | draft | |  | edit-not-editable | |  | edit | |  | email-open | |  | email | |  | accelerator | |  | eportfolio | |  | profile-default |
|
|
128
|
+
|  | accessibility | |  | evaluate-all | |  | profile-pic |
|
|
129
|
+
|  | add-file | |  | external | |  | project |
|
|
130
|
+
|  | add-message | |  | feedback | |  | publish-all |
|
|
131
|
+
|  | add-to-lor | |  | file-archive | |  | publish-to-lor |
|
|
132
|
+
|  | add-user | |  | file-audio | |  | quicklink |
|
|
133
|
+
|  | add | |  | file-document | |  | quiz-submissions |
|
|
134
|
+
|  | ai | |  | file-image | |  | quizzing |
|
|
135
|
+
|  | alarmbell | |  | file-presentation | |  | read-unread |
|
|
136
|
+
|  | alert | |  | file-video | |  | read |
|
|
137
|
+
|  | arrow-collapse | |  | filter | |  | reading |
|
|
138
|
+
|  | assignments | |  | flag-fill | |  | reflection |
|
|
139
|
+
|  | attach | |  | flag-hollow | |  | refresh |
|
|
140
|
+
|  | attendance | |  | folder | |  | release-conditions |
|
|
141
|
+
|  | awards | |  | forms | |  | remove-user |
|
|
142
|
+
|  | binder | |  | fullscreen | |  | reorder |
|
|
143
|
+
|  | blocked | |  | game | |  | reply-all |
|
|
144
|
+
|  | blog | |  | gear | |  | reply |
|
|
145
|
+
|  | book-management | |  | glossary | |  | reporting |
|
|
146
|
+
|  | bookmark-filled | |  | google-drive | |  | rss |
|
|
147
|
+
|  | bookmark-hollow | |  | grade | |  | rubrics |
|
|
148
|
+
|  | broken-link | |  | help | |  | save |
|
|
149
|
+
|  | browser | |  | history | |  | scorm |
|
|
150
|
+
|  | bullseye | |  | home | |  | search |
|
|
151
|
+
|  | calculate | |  | insights-portal | |  | seating |
|
|
152
|
+
|  | calendar | |  | link | |  | self-assessment |
|
|
153
|
+
|  | capture | |  | location | |  | send |
|
|
154
|
+
|  | change-file | |  | locations | |  | share |
|
|
155
|
+
|  | chat | |  | lock-unlocked | |  | smallscreen |
|
|
156
|
+
|  | check-box-unchecked | |  | lock | |  | style |
|
|
157
|
+
|  | check-box | |  | locker | |  | subscribe-filled |
|
|
158
|
+
|  | check-circle | |  | lor | |  | subscribe-hollow |
|
|
159
|
+
|  | check | |  | manage-dates | |  | surveys |
|
|
160
|
+
|  | checklist | |  | manage-files | |  | syllabus |
|
|
161
|
+
|  | chevron-down | |  | media | |  | table-of-contents |
|
|
162
|
+
|  | chevron-left | |  | menu-hamburger | |  | tag |
|
|
163
|
+
|  | chevron-right | |  | merge | |  | time |
|
|
164
|
+
|  | chevron-up | |  | message-new | |  | tools |
|
|
165
|
+
|  | classes | |  | messages | |  | topic-last |
|
|
166
|
+
|  | classlist | |  | mic | |  | unapproved |
|
|
167
|
+
|  | contacts | |  | module | |  | undo |
|
|
168
|
+
|  | content | |  | move-down | |  | unsaved |
|
|
169
|
+
|  | copy | |  | move-to | |  | upload |
|
|
170
|
+
|  | course-tile-sort | |  | move-up | |  | user-competencies |
|
|
171
|
+
|  | coursebuilder | |  | navigate | |  | user-progress |
|
|
172
|
+
|  | delete | |  | news | |  | validate |
|
|
173
|
+
|  | discussions | |  | one-drive | |  | video-assignment |
|
|
174
|
+
|  | divider-big | |  | online-rooms | |  | view-submission-list |
|
|
175
|
+
|  | divider | |  | online | |  | viewed-notviewed |
|
|
176
|
+
|  | dot | |  | outcomes | |  | virtual-classroom |
|
|
177
|
+
|  | download | |  | password | |  | visibility-hide |
|
|
178
|
+
|  | draft | |  | pic | |  | visibility-show |
|
|
179
|
+
|  | edit-not-editable | |  | pin-filled | |  | volume-muted |
|
|
180
|
+
|  | edit | |  | pin-hollow | |  | volume |
|
|
181
|
+
|  | email-open | |  | preview | |  | wizard |
|
|
182
|
+
|  | email | |  | print | | | |
|
|
183
183
|
|
|
184
184
|
## tier3
|
|
185
185
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" mirror-in-rtl="true">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0a2.998 2.998 0 0 1 .984 5.831c.01.055.016.111.016.169v5h8.174c.412-1.165 1.52-2 2.826-2h6a3 3 0 1 1 0 6h-6a2.998 2.998 0 0 1-2.826-2H4v7h8.174c.412-1.165 1.52-2 2.826-2h6a3 3 0 1 1 0 6h-6a2.998 2.998 0 0 1-2.826-2H3a1 1 0 0 1-1-1V6c0-.058.005-.114.015-.169A2.998 2.998 0 0 1 3 0Zm12 20a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Zm0-9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z" fill="#494C4E"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 0a3 3 0 1 1 0 6H11l-.154-.004A3 3 0 0 1 11 0h10ZM11 2a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z" fill="#494C4E"/>
|
|
4
|
+
</svg>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '../colors/colors.js';
|
|
2
2
|
import { css, html, nothing } from 'lit';
|
|
3
3
|
import { isInteractiveInListItemComposedPath, ListItemMixin } from './list-item-mixin.js';
|
|
4
|
+
import { getFlag } from '../../helpers/flags.js';
|
|
4
5
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
|
5
6
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
7
|
|
|
@@ -45,6 +46,7 @@ export const ListItemLinkMixin = superclass => class extends ListItemMixin(super
|
|
|
45
46
|
super();
|
|
46
47
|
this.actionHref = null;
|
|
47
48
|
this._primaryActionId = getUniqueId();
|
|
49
|
+
this._propagateLinkClickEvent = getFlag('GAUD-8733-list-item-propagate-link-click-event', true);
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
willUpdate(changedProperties) {
|
|
@@ -64,15 +66,17 @@ export const ListItemLinkMixin = superclass => class extends ListItemMixin(super
|
|
|
64
66
|
/** Dispatched when the item's primary link action is clicked */
|
|
65
67
|
this.dispatchEvent(new CustomEvent('d2l-list-item-link-click', { bubbles: true }));
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
if (!this._propagateLinkClickEvent) {
|
|
70
|
+
e.stopPropagation();
|
|
68
71
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
// Dispatches click event from the list item to maintain existing functionality in consumers that listen for the click event
|
|
73
|
+
const listItemClickEvent = new e.constructor(e.type, e);
|
|
74
|
+
listItemClickEvent.preventDefault = () => {
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
};
|
|
77
|
+
/** @ignore */
|
|
78
|
+
this.dispatchEvent(listItemClickEvent);
|
|
79
|
+
}
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
|
|
@@ -767,6 +767,8 @@ export function loadSvg(icon) {
|
|
|
767
767
|
return import(/* webpackChunkName: "icon-messages" */'./tier2/messages.js');
|
|
768
768
|
case 'tier2:mic':
|
|
769
769
|
return import(/* webpackChunkName: "icon-mic" */'./tier2/mic.js');
|
|
770
|
+
case 'tier2:module':
|
|
771
|
+
return import(/* webpackChunkName: "icon-module" */'./tier2/module.js');
|
|
770
772
|
case 'tier2:move-down':
|
|
771
773
|
return import(/* webpackChunkName: "icon-move-down" */'./tier2/move-down.js');
|
|
772
774
|
case 'tier2:move-to':
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// auto-generated
|
|
2
|
+
export const val = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" mirror-in-rtl="true">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0a2.998 2.998 0 0 1 .984 5.831c.01.055.016.111.016.169v5h8.174c.412-1.165 1.52-2 2.826-2h6a3 3 0 1 1 0 6h-6a2.998 2.998 0 0 1-2.826-2H4v7h8.174c.412-1.165 1.52-2 2.826-2h6a3 3 0 1 1 0 6h-6a2.998 2.998 0 0 1-2.826-2H3a1 1 0 0 1-1-1V6c0-.058.005-.114.015-.169A2.998 2.998 0 0 1 3 0Zm12 20a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Zm0-9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z" fill="#494C4E"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 0a3 3 0 1 1 0 6H11l-.154-.004A3 3 0 0 1 11 0h10ZM11 2a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z" fill="#494C4E"/>
|
|
5
|
+
</svg>
|
|
6
|
+
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.177.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",
|