@ni/nimble-components 18.8.3 → 18.8.4

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.
@@ -17758,6 +17758,8 @@
17758
17758
  ? `indent-${x.startColumnCount}`
17759
17759
  : '')}"
17760
17760
  aria-disabled="${x => x.disabled}"
17761
+ @click="${(x, c) => x.clickHandler(c.event)}"
17762
+ @keydown="${(x, c) => x.keydownHandler(c.event)}"
17761
17763
  >
17762
17764
  <a
17763
17765
  ${ref('anchor')}
@@ -17769,8 +17771,6 @@
17769
17771
  rel="${x => x.rel}"
17770
17772
  target="${x => x.target}"
17771
17773
  type="${x => x.type}"
17772
- @click="${(x, c) => x.clickHandler(c.event)}"
17773
- @keydown="${(x, c) => x.keydownHandler(c.event)}"
17774
17774
  >
17775
17775
  ${startSlotTemplate(context, definition)}
17776
17776
  <span class="content" part="content">
@@ -17804,7 +17804,7 @@
17804
17804
  * @internal
17805
17805
  */
17806
17806
  clickHandler(e) {
17807
- e.stopImmediatePropagation();
17807
+ e.stopPropagation();
17808
17808
  return true;
17809
17809
  }
17810
17810
  /**
@@ -17816,7 +17816,7 @@
17816
17816
  }
17817
17817
  switch (e.key) {
17818
17818
  case keyEnter:
17819
- e.stopImmediatePropagation();
17819
+ e.stopPropagation();
17820
17820
  break;
17821
17821
  }
17822
17822
  return true;