@ship-ui/core 0.17.14 → 0.17.15

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.17.14",
4
+ "version": "0.17.15",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=20",
7
7
  "@angular/core": ">=20",
@@ -167,7 +167,6 @@ $shipMenu: true !default;
167
167
  justify-content: flex-start;
168
168
  align-items: center;
169
169
  text-align: left;
170
- // min-height: p2r(32);
171
170
  height: min-content;
172
171
  margin: p2r(0 8);
173
172
  padding: p2r(4 8);
@@ -498,12 +498,16 @@ declare class ShipMenu {
498
498
  activeOptionIndex: _angular_core.WritableSignal<number>;
499
499
  inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
500
500
  optionsRef: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
501
+ private static openMenus;
502
+ openMenusEffect: _angular_core.EffectRef;
501
503
  options: {
502
504
  signal: _angular_core.Signal<HTMLButtonElement[]>;
503
505
  destroy: () => void;
504
506
  };
505
507
  optionsEl: _angular_core.Signal<HTMLButtonElement[]>;
506
508
  inputValue: _angular_core.WritableSignal<string | undefined>;
509
+ readonly optionsId: string;
510
+ activeOptionId: _angular_core.WritableSignal<string | undefined>;
507
511
  abortController: AbortController | null;
508
512
  optionsEffect: _angular_core.EffectRef;
509
513
  keyDownEventListener: (e: KeyboardEvent) => void;
@@ -512,6 +516,8 @@ declare class ShipMenu {
512
516
  lastInputValue: string;
513
517
  inputValueEffect: _angular_core.EffectRef;
514
518
  toggleIsOpen(event: MouseEvent): void;
519
+ open(): void;
520
+ onShipMenuOpen(event: Event): void;
515
521
  activeOptionIndexEffect: _angular_core.EffectRef;
516
522
  nextActiveIndex(activeIndex: number): number;
517
523
  prevActiveIndex(activeIndex: number): number;
@@ -921,6 +927,8 @@ declare class ShipTooltipWrapper {
921
927
  openEffect: _angular_core.EffectRef;
922
928
  ngAfterViewInit(): void;
923
929
  ngOnDestroy(): void;
930
+ private rafId;
931
+ private schedulePositionUpdate;
924
932
  private calculateTooltipPosition;
925
933
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipTooltipWrapper, never>;
926
934
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipTooltipWrapper, "ship-tooltip-wrapper", never, { "positionAnchorName": { "alias": "positionAnchorName"; "required": true; "isSignal": true; }; "anchorEl": { "alias": "anchorEl"; "required": true; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "close": { "alias": "close"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;