@leanix/components 0.4.731 → 0.4.732

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.
@@ -224,6 +224,7 @@ const ICON_MAP = {
224
224
  'fa-info-circle': ['message-information', 'information'],
225
225
  'fa-info-square': ['message-information', 'information'],
226
226
  'fa-italic': ['italic-text'],
227
+ 'fa-key': ['key'],
227
228
  'fa-keyboard': ['keyboard-and-mouse'],
228
229
  'fa-jira': ['rhombus-milestone'],
229
230
  'fa-lemon': ['lx-icons/lemon'],
@@ -1033,6 +1034,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
1033
1034
 
1034
1035
  class EmptyStateComponent {
1035
1036
  constructor() {
1037
+ /**
1038
+ * The title to be displayed
1039
+ */
1036
1040
  this.title = input.required();
1037
1041
  /**
1038
1042
  * The SAP icon to show in the empty state.
@@ -1040,12 +1044,37 @@ class EmptyStateComponent {
1040
1044
  * **Important:** Font Awesome icons are not supported anymore.
1041
1045
  */
1042
1046
  this.icon = input();
1047
+ /**
1048
+ * The main call-to-action button label
1049
+ */
1043
1050
  this.buttonLabel = input();
1051
+ /**
1052
+ * The secondary call-to-action button label
1053
+ */
1044
1054
  this.secondaryButtonLabel = input();
1055
+ /**
1056
+ * Whether the empty state is in a loading state. If true, main call-to-action button will show a spinner
1057
+ */
1045
1058
  this.loading = input(false);
1059
+ /**
1060
+ * The more link label
1061
+ */
1046
1062
  this.moreLinkLabel = input();
1063
+ /**
1064
+ * The URL of the more link
1065
+ */
1047
1066
  this.moreLink = input();
1067
+ /**
1068
+ * Whether the more link should be opened in a new tab
1069
+ *
1070
+ * @default true
1071
+ */
1048
1072
  this.openMoreLinkInNewTab = input(true);
1073
+ /**
1074
+ * The size of the empty state
1075
+ *
1076
+ * @default medium
1077
+ */
1049
1078
  this.size = input('medium');
1050
1079
  this.useRouterLink = computed(() => Array.isArray(this.moreLink()));
1051
1080
  this.iconName = computed(() => {
@@ -1056,8 +1085,17 @@ class EmptyStateComponent {
1056
1085
  // Temporarily map icons, as long as consumers need to be adjusted.
1057
1086
  return isFontAwesomeIcon(icon) ? mapToSapIcon(icon) : icon;
1058
1087
  });
1088
+ /**
1089
+ * Emitted when the main call-to-action button is clicked
1090
+ */
1059
1091
  this.buttonClicked = new EventEmitter();
1092
+ /**
1093
+ * Emitted when the secondary call-to-action button is clicked
1094
+ */
1060
1095
  this.secondaryButtonClicked = new EventEmitter();
1096
+ /**
1097
+ * Emitted when the more link is clicked
1098
+ */
1061
1099
  this.moreLinkClicked = new EventEmitter();
1062
1100
  }
1063
1101
  get _size() {