@neural-ui/core 1.5.7 → 1.5.8

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.
@@ -1,3 +1,5 @@
1
+ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
1
3
  import * as i0 from '@angular/core';
2
4
 
3
5
  type NeuNotificationType = 'info' | 'success' | 'warning' | 'error';
@@ -48,8 +50,12 @@ declare class NeuNotificationService {
48
50
  */
49
51
  declare class NeuNotificationCenterComponent {
50
52
  readonly _svc: NeuNotificationService;
53
+ private readonly overlay;
51
54
  readonly _isOpen: i0.WritableSignal<boolean>;
52
55
  readonly _panelId: string;
56
+ readonly _viewportMargin = 16;
57
+ readonly overlayPositions: ConnectedPosition[];
58
+ readonly overlayScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
53
59
  _toggle(): void;
54
60
  _relativeTime(date: Date): string;
55
61
  static ɵfac: i0.ɵɵFactoryDeclaration<NeuNotificationCenterComponent, never>;
@@ -1,3 +1,5 @@
1
+ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
2
+ import { ConnectedPosition, ConnectedOverlayPositionChange } from '@angular/cdk/overlay';
1
3
  import * as _angular_core from '@angular/core';
2
4
  import { TemplateRef, Signal } from '@angular/core';
3
5
  import { ControlValueAccessor } from '@angular/forms';
@@ -72,9 +74,10 @@ declare class NeuSelectSelectedDirective {
72
74
  */
73
75
  declare class NeuSelectComponent implements ControlValueAccessor {
74
76
  private readonly elementRef;
77
+ private readonly _document;
78
+ private readonly _overlay;
75
79
  private readonly _urlState;
76
- private readonly _mobileViewportMax;
77
- private readonly _viewportMargin;
80
+ readonly _viewportMargin = 16;
78
81
  private readonly _panelMaxHeight;
79
82
  private readonly _urlParamSignals;
80
83
  private readonly _viewport;
@@ -132,6 +135,8 @@ declare class NeuSelectComponent implements ControlValueAccessor {
132
135
  protected readonly _value: _angular_core.WritableSignal<string | null>;
133
136
  readonly isOpen: _angular_core.WritableSignal<boolean>;
134
137
  readonly searchQuery: _angular_core.WritableSignal<string>;
138
+ readonly overlayPositions: ConnectedPosition[];
139
+ readonly overlayScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
135
140
  readonly panelPosition: _angular_core.WritableSignal<{
136
141
  position: string | null;
137
142
  top: string | null;
@@ -172,6 +177,7 @@ declare class NeuSelectComponent implements ControlValueAccessor {
172
177
  onWindowResize(): void;
173
178
  onWindowScroll(): void;
174
179
  private syncPanelPosition;
180
+ onOverlayPositionChange(event: ConnectedOverlayPositionChange): void;
175
181
  private focusFirstOption;
176
182
  private focusOption;
177
183
  private resetPanelPosition;
@@ -1,4 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
3
+ import { ConnectedPosition } from '@angular/cdk/overlay';
2
4
  import { NeuButtonVariant, NeuButtonSize } from '@neural-ui/core/button';
3
5
 
4
6
  interface NeuSplitButtonAction {
@@ -28,6 +30,10 @@ interface NeuSplitButtonAction {
28
30
  */
29
31
  declare class NeuSplitButtonComponent {
30
32
  private readonly el;
33
+ private readonly overlay;
34
+ readonly _viewportMargin = 16;
35
+ readonly overlayPositions: ConnectedPosition[];
36
+ readonly overlayScrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
31
37
  /** Texto del botón principal / Primary button text */
32
38
  label: _angular_core.InputSignal<string>;
33
39
  /** Variante visual / Visual variant */