otimus-library 0.3.11 → 0.3.12

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/index.d.ts CHANGED
@@ -371,19 +371,20 @@ declare class OcMenuHorizComponent implements OnInit, OnDestroy {
371
371
  ocMenu: OcMenuHorizType[];
372
372
  maxWidth?: string;
373
373
  width?: string;
374
- shouldCloseOnClick: boolean;
375
374
  shouldCloseOnClickOut: boolean;
376
375
  ocChange: EventEmitter<any>;
377
376
  menuElement?: ElementRef<HTMLDivElement>;
378
377
  itemsListElement?: ElementRef<HTMLUListElement>;
379
378
  protected isMenuShown: boolean;
379
+ protected showOverflowMenu: boolean;
380
380
  protected buttonId?: string;
381
+ private justOpened;
381
382
  protected visibleItems: OcMenuHorizType[];
382
383
  protected overflowItems: OcMenuHorizType[];
383
- protected showOverflowMenu: boolean;
384
384
  private itemWidths;
385
385
  private isInitialized;
386
- private resizeObserverSubscription?;
386
+ protected resizeObserver?: ResizeObserver;
387
+ private windowClickUnlisten?;
387
388
  open(): void;
388
389
  close(): void;
389
390
  ngOnInit(): void;
@@ -397,7 +398,7 @@ declare class OcMenuHorizComponent implements OnInit, OnDestroy {
397
398
  protected toggleOverflowMenu(event: Event): void;
398
399
  protected handleOverflowItemClick(callback?: () => void): void;
399
400
  static ɵfac: i0.ɵɵFactoryDeclaration<OcMenuHorizComponent, never>;
400
- static ɵcmp: i0.ɵɵComponentDeclaration<OcMenuHorizComponent, "oc-menu-horiz", never, { "ocMenu": { "alias": "ocMenu"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "shouldCloseOnClick": { "alias": "shouldCloseOnClick"; "required": false; }; "shouldCloseOnClickOut": { "alias": "shouldCloseOnClickOut"; "required": false; }; }, { "ocChange": "ocChange"; }, never, never, true, never>;
401
+ static ɵcmp: i0.ɵɵComponentDeclaration<OcMenuHorizComponent, "oc-menu-horiz", never, { "ocMenu": { "alias": "ocMenu"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "shouldCloseOnClickOut": { "alias": "shouldCloseOnClickOut"; "required": false; }; }, { "ocChange": "ocChange"; }, never, never, true, never>;
401
402
  }
402
403
 
403
404
  declare class OcToastComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^20.2.5",