@brightspace-ui/core 3.235.1 → 3.235.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.
@@ -1,7 +1,6 @@
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';
5
4
  import { getUniqueId } from '../../helpers/uniqueId.js';
6
5
  import { ifDefined } from 'lit/directives/if-defined.js';
7
6
 
@@ -46,7 +45,6 @@ export const ListItemLinkMixin = superclass => class extends ListItemMixin(super
46
45
  super();
47
46
  this.actionHref = null;
48
47
  this._primaryActionId = getUniqueId();
49
- this._propagateLinkClickEvent = getFlag('GAUD-8733-list-item-propagate-link-click-event', true);
50
48
  }
51
49
 
52
50
  willUpdate(changedProperties) {
@@ -65,18 +63,6 @@ export const ListItemLinkMixin = superclass => class extends ListItemMixin(super
65
63
  } else {
66
64
  /** Dispatched when the item's primary link action is clicked */
67
65
  this.dispatchEvent(new CustomEvent('d2l-list-item-link-click', { bubbles: true }));
68
-
69
- if (!this._propagateLinkClickEvent) {
70
- e.stopPropagation();
71
-
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
- }
80
66
  }
81
67
  }
82
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.235.1",
3
+ "version": "3.235.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",