@ni/ok-components 0.4.0 → 0.4.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.
@@ -19565,9 +19565,10 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19565
19565
  */
19566
19566
  onClick(e) {
19567
19567
  if (this.disabled || this.readOnly) {
19568
- e.preventDefault();
19569
19568
  e.stopImmediatePropagation();
19569
+ return false; /* Do prevent default */
19570
19570
  }
19571
+ return true; /* Do not prevent default */
19571
19572
  }
19572
19573
  }
19573
19574
  __decorate([
@@ -66760,9 +66761,10 @@ ${nextLine.slice(indentLevel + 2)}`;
66760
66761
  */
66761
66762
  onClick(e) {
66762
66763
  if (this.disabled || this.readOnly) {
66763
- e.preventDefault();
66764
66764
  e.stopImmediatePropagation();
66765
+ return false; /* Do prevent default */
66765
66766
  }
66767
+ return true; /* Do not prevent default */
66766
66768
  }
66767
66769
  }
66768
66770
  __decorate([