@brightspace-ui/core 2.91.1 → 2.91.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.
@@ -271,6 +271,10 @@ The `d2l-filter-dimension-set-empty-state` component allows you to customize the
271
271
  import '@brightspace-ui/core/components/filter/filter-dimension-set.js';
272
272
  import '@brightspace-ui/core/components/filter/filter-dimension-set-empty-state.js';
273
273
  import '@brightspace-ui/core/components/filter/filter-dimension-set-value.js';
274
+
275
+ document.querySelector('d2l-filter').addEventListener('d2l-filter-dimension-empty-state-action', e => {
276
+ console.log(`Filter dimension empty state action clicked:\nkey: ${e.detail.key}\ntype: ${e.detail.type}`);
277
+ });
274
278
  </script>
275
279
  <d2l-filter>
276
280
  <d2l-filter-dimension-set key="course" text="Course" >
@@ -281,11 +285,6 @@ The `d2l-filter-dimension-set-empty-state` component allows you to customize the
281
285
  <d2l-filter-dimension-set-empty-state slot="set-empty-state" description="There are no available items." action-text="Add a course"></d2l-filter-dimension-set-empty-state>
282
286
  </d2l-filter-dimension-set>
283
287
  </d2l-filter>
284
- <script>
285
- document.querySelector('#filter-single').addEventListener('d2l-filter-dimension-empty-state-action', e => {
286
- console.log(`Filter dimension empty state action clicked:\nkey: ${e.detail.key}\ntype: ${e.detail.type}`);
287
- });
288
- </script>
289
288
  ```
290
289
  <!-- docs: start hidden content -->
291
290
  ### Properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.91.1",
3
+ "version": "2.91.2",
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",