codexly-ui 0.0.67 → 0.0.69

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.
@@ -5,6 +5,16 @@
5
5
  -webkit-backdrop-filter: blur(4px);
6
6
  }
7
7
 
8
+ /* ── CDK overlay z-index ─────────────────────────────────────────────────── */
9
+ .cdk-overlay-container {
10
+ z-index: 1000 !important;
11
+ }
12
+
13
+ /* ── Toast always on top ─────────────────────────────────────────────────── */
14
+ clx-toast-container {
15
+ z-index: 9999 !important;
16
+ }
17
+
8
18
  /* ── Scrollbar ───────────────────────────────────────────────────────────── */
9
19
  ::-webkit-scrollbar { width: 0.5rem; height: 0.5rem; }
10
20
  ::-webkit-scrollbar-track { background-color: transparent; }
@@ -6,7 +6,7 @@ import { NG_VALUE_ACCESSOR, FormsModule, NgControl, FormControl, ReactiveFormsMo
6
6
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
7
7
  import { startWith, map, debounceTime, distinctUntilChanged, switchMap, of, catchError } from 'rxjs';
8
8
  import * as i1$1 from '@angular/cdk/overlay';
9
- import { ScrollStrategyOptions, OverlayModule, Overlay, OverlayConfig } from '@angular/cdk/overlay';
9
+ import { ScrollStrategyOptions, OverlayModule, Overlay, OverlayContainer, OverlayConfig } from '@angular/cdk/overlay';
10
10
  import { Chart, LineController, BarController, PieController, DoughnutController, RadarController, PolarAreaController, CategoryScale, LinearScale, RadialLinearScale, BarElement, LineElement, PointElement, ArcElement, Filler, Tooltip, Legend } from 'chart.js';
11
11
  import * as i1$2 from '@angular/cdk/portal';
12
12
  import { PortalModule, ComponentPortal } from '@angular/cdk/portal';
@@ -8977,10 +8977,14 @@ class ClxModalService {
8977
8977
  _overlay;
8978
8978
  _injector;
8979
8979
  _focusTrapFactory;
8980
+ _overlayContainer;
8980
8981
  constructor() {
8981
8982
  this._overlay = inject(Overlay);
8982
8983
  this._injector = inject(Injector);
8983
8984
  this._focusTrapFactory = inject(FocusTrapFactory);
8985
+ this._overlayContainer = inject(OverlayContainer);
8986
+ // Keep CDK overlay below toast (toast uses z-index 99999)
8987
+ this._overlayContainer.getContainerElement().style.zIndex = '1000';
8984
8988
  }
8985
8989
  open(
8986
8990
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -14014,7 +14018,9 @@ class ClxToastService {
14014
14018
  });
14015
14019
  ref.setInput('position', position);
14016
14020
  this._appRef.attachView(ref.hostView);
14017
- document.body.appendChild(ref.location.nativeElement);
14021
+ const el = ref.location.nativeElement;
14022
+ el.style.zIndex = '99999';
14023
+ document.body.appendChild(el);
14018
14024
  this._containers.set(position, ref);
14019
14025
  return ref;
14020
14026
  }