@energycap/components 0.39.35-ECAP-27196-building-icon-fix.20241107-0933 → 0.39.35-ECAP-27257-MenuItem-Help-Popover.20241107-1519

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.
@@ -3,6 +3,7 @@ import { ScrollService } from '../../core/scroll.service';
3
3
  import { WindowService } from '../../core/window.service';
4
4
  import { LinkTarget } from '../../display/tags/tag';
5
5
  import { NavItem } from '../navigation/nav-item';
6
+ import { PopoverContentPosition } from '../popover/popover.component';
6
7
  import * as i0 from "@angular/core";
7
8
  export type MenuTemplateType = "label" | "iconAndLabel" | "checkAndLabel" | "iconLabelCaption";
8
9
  export type MenuHostElementClasses = 'bg-transparent';
@@ -22,6 +23,12 @@ export interface MenuItem<TValue = any, SItems = any> extends NavItem {
22
23
  /** Optional text to display in-place of the default label when the MenuItem is selected. */
23
24
  selectedLabel?: string;
24
25
  hideIfNoItems?: boolean;
26
+ /** Optional help popover content to display next to the header or individual item. Note: This only will
27
+ * show when using our built in item templates.
28
+ */
29
+ helpPopover?: string;
30
+ /** Optional help popover position. If not defined a default of 'top-left' will be used. */
31
+ helpPopoverPosition?: PopoverContentPosition;
25
32
  }
26
33
  export declare const menuAnimationSpeed = 350;
27
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.35-ECAP-27196-building-icon-fix.20241107-0933",
3
+ "version": "0.39.35-ECAP-27257-MenuItem-Help-Popover.20241107-1519",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },