@energycap/components 0.36.2-ECAP-18558-new-menu-item-templates.20230710-1023 → 0.36.2-ECAP-18586-collection-icons.20230711-1002

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.
@@ -89,10 +89,6 @@ export declare class ComboboxComponent extends FormControlBase implements OnInit
89
89
  * @memberof ComboboxComponent
90
90
  */
91
91
  customMenuTemplate?: TemplateRef<any>;
92
- /**
93
- * When true, the menu items will preserve the icon space when there is no icon
94
- */
95
- preserveIconSpace: boolean;
96
92
  /**
97
93
  * Position the menu as fixed, ideal when comboboxes are inside dialogs
98
94
  * Defaulting to true so all menus will be at least the width of the
@@ -379,6 +375,6 @@ export declare class ComboboxComponent extends FormControlBase implements OnInit
379
375
  */
380
376
  private findDefaultSelectionIndex;
381
377
  static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
382
- static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "ec-combobox", never, { "addNew": "addNew"; "maxlength": "maxlength"; "menuPosition": "menuPosition"; "minlength": "minlength"; "options": "options"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "preserveIconSpace": "preserveIconSpace"; "popupFixed": "popupFixed"; "totalRecords": "totalRecords"; "upperCase": "upperCase"; "placeholder": "placeholder"; "loadOnOpenObservable": "loadOnOpenObservable"; "hideToggleButton": "hideToggleButton"; "alwaysOpen": "alwaysOpen"; "menuElementClasses": "menuElementClasses"; "textboxElementClasses": "textboxElementClasses"; "hideNoMatches": "hideNoMatches"; "noMatchesText": "noMatchesText"; }, { "addNewClick": "addNewClick"; "search": "search"; }, never, never, false, never>;
378
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "ec-combobox", never, { "addNew": "addNew"; "maxlength": "maxlength"; "menuPosition": "menuPosition"; "minlength": "minlength"; "options": "options"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "popupFixed": "popupFixed"; "totalRecords": "totalRecords"; "upperCase": "upperCase"; "placeholder": "placeholder"; "loadOnOpenObservable": "loadOnOpenObservable"; "hideToggleButton": "hideToggleButton"; "alwaysOpen": "alwaysOpen"; "menuElementClasses": "menuElementClasses"; "textboxElementClasses": "textboxElementClasses"; "hideNoMatches": "hideNoMatches"; "noMatchesText": "noMatchesText"; }, { "addNewClick": "addNewClick"; "search": "search"; }, never, never, false, never>;
383
379
  }
384
380
  export {};
@@ -4,11 +4,10 @@ import { WindowService } from '../../core/window.service';
4
4
  import { LinkTarget } from '../../display/tags/tag';
5
5
  import { NavItem } from '../navigation/nav-item';
6
6
  import * as i0 from "@angular/core";
7
- export type MenuTemplateType = "label" | "iconAndLabel" | "checkAndLabel" | "iconLabelCaption";
7
+ export type MenuTemplateType = "label" | "iconAndLabel" | "checkAndLabel";
8
8
  export type MenuHostElementClasses = 'bg-transparent';
9
9
  export interface MenuItem<TValue = any, SItems = any> extends NavItem {
10
10
  label: string;
11
- caption?: string;
12
11
  items?: MenuItem<SItems>[];
13
12
  checked?: boolean;
14
13
  display?: 'default' | 'heading' | 'divider';
@@ -144,10 +143,6 @@ export declare class MenuComponent implements AfterContentInit, OnDestroy {
144
143
  * A reference to the menu check and label template
145
144
  */
146
145
  private checkAndLabelTemplate;
147
- /**
148
- * A reference to the menu icon, label and caption template
149
- */
150
- private iconLabelCaptionTemplate;
151
146
  /**
152
147
  * Contains the function used to remove the even listener from the renderer
153
148
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.36.2-ECAP-18558-new-menu-item-templates.20230710-1023",
3
+ "version": "0.36.2-ECAP-18586-collection-icons.20230711-1002",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -1,7 +1,7 @@
1
1
  $overlay-padding-x: 4rem;
2
2
  $overlay-padding-y: 3rem;
3
3
 
4
- @mixin overlay($bg: var(--ec-overlay-background-color, var(--ec-background-color)), $padding-x: $overlay-padding-x, $padding-y: $overlay-padding-y) {
4
+ @mixin overlay($bg: var(--ec-background-color), $padding-x: $overlay-padding-x, $padding-y: $overlay-padding-y) {
5
5
  align-items: center;
6
6
  background-color: $bg;
7
7
  display: flex;