@leanix/components 0.4.728 → 0.4.730

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.
@@ -572,6 +572,10 @@ class ButtonComponent {
572
572
  if (!iconName) {
573
573
  return null;
574
574
  }
575
+ if (isEllipsisVIcon(iconName)) {
576
+ // `fa-ellipsis-v` --> `overflow` is an intrusive change, therefore using the SAP icon alternative
577
+ return 'overflow';
578
+ }
575
579
  if (!isFontAwesomeIcon(iconName)) {
576
580
  // Assuming SAP icon was provided
577
581
  return iconName;
@@ -633,6 +637,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
633
637
  type: HostBinding,
634
638
  args: ['disabled']
635
639
  }] } });
640
+ function isEllipsisVIcon(iconName) {
641
+ return iconName?.includes('fa-ellipsis-v') ?? false;
642
+ }
636
643
  function isFontAwesomeIcon(iconName) {
637
644
  return iconName ? /\bfa-\w*\b/.test(iconName) : false;
638
645
  }