@brightspace-ui/core 2.71.3 → 2.72.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.
@@ -42,7 +42,7 @@ The corresponding `*-clear` event must be listened to for whatever component (`d
42
42
  });
43
43
 
44
44
  document.addEventListener('d2l-tag-list-clear', (e) => {
45
- const items = e.target.querySelectorAll('[role="listitem"]');
45
+ const items = e.target.querySelectorAll('d2l-tag-list-item');
46
46
  items.forEach((item) => {
47
47
  item.parentNode.removeChild(item);
48
48
  });
@@ -58,7 +58,7 @@ The corresponding `*-clear` event must be listened to for whatever component (`d
58
58
  ```
59
59
 
60
60
  ## Tag List Item [d2l-tag-list-item]
61
- The `d2l-tag-list-item` provides the appropriate `listitem` semantics and styling for children within a tag list. Tag List items do not work outside of a Tag List and should not be used on their own.
61
+ The `d2l-tag-list-item` provides the appropriate semantics and styling for children within a tag list. Tag List items do not work outside of a Tag List and should not be used on their own.
62
62
 
63
63
  <!-- docs: demo live name:d2l-tag-list-item autoSize:false display:block size:small -->
64
64
  ```html
@@ -72,7 +72,7 @@ The `d2l-tag-list-item` provides the appropriate `listitem` semantics and stylin
72
72
  });
73
73
 
74
74
  document.addEventListener('d2l-tag-list-clear', (e) => {
75
- const items = e.target.querySelectorAll('[role="listitem"]');
75
+ const items = e.target.querySelectorAll('d2l-tag-list-item');
76
76
  items.forEach((item) => {
77
77
  item.parentNode.removeChild(item);
78
78
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.71.3",
3
+ "version": "2.72.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",