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