aeb-ui-kit 3.4.0-preview.674 → 3.4.0-preview.677

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.
@@ -123,9 +123,10 @@ class ButtonComponent {
123
123
  return this.fill;
124
124
  }
125
125
  get isIconOnly() {
126
+ const textContent = this.buttonElement.nativeElement.textContent;
126
127
  return (this.showIconLeft &&
127
128
  !this.showIconRight &&
128
- !this.buttonElement.nativeElement.textContent);
129
+ (textContent == null || textContent.trim().length === 0));
129
130
  }
130
131
  get isLarge() {
131
132
  return this.size === 'L';