@alauda/ui 6.2.1-beta.3 → 6.2.1-beta.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.
@@ -1502,6 +1502,13 @@
1502
1502
  this.renderer.addClass(this.el.nativeElement, prefix + this.size);
1503
1503
  this.focusMonitor.monitor(this.el.nativeElement, false);
1504
1504
  }
1505
+ Object.defineProperty(ButtonComponent.prototype, "testId", {
1506
+ get: function () {
1507
+ return this.el.nativeElement.textContent;
1508
+ },
1509
+ enumerable: false,
1510
+ configurable: true
1511
+ });
1505
1512
  Object.defineProperty(ButtonComponent.prototype, "type", {
1506
1513
  get: function () {
1507
1514
  return this._type;
@@ -1622,6 +1629,7 @@
1622
1629
  { type: a11y.FocusMonitor }
1623
1630
  ]; };
1624
1631
  ButtonComponent.propDecorators = {
1632
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
1625
1633
  type: [{ type: i0.Input, args: ['aui-button',] }],
1626
1634
  size: [{ type: i0.Input }],
1627
1635
  plain: [{ type: i0.Input }],