codexly-ui 0.0.66 → 0.0.68

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';
@@ -6290,7 +6290,7 @@ class ClxToastContainerComponent {
6290
6290
  </div>
6291
6291
  }
6292
6292
  </div>
6293
- `, isInline: true, styles: ["clx-toast-container{display:contents}@media(max-width:639px){.clx-toast-stack{left:0!important;right:0!important;transform:none!important;padding-left:.75rem;padding-right:.75rem;max-width:100%!important;align-items:stretch!important}}\n"], dependencies: [{ kind: "component", type: ClxToastComponent, selector: "clx-toast", inputs: ["entry"], outputs: ["dismiss"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6293
+ `, isInline: true, styles: ["clx-toast-container{display:block;position:fixed;inset:0;pointer-events:none;z-index:999999}@media(max-width:639px){.clx-toast-stack{left:0!important;right:0!important;transform:none!important;padding-left:.75rem;padding-right:.75rem;max-width:100%!important;align-items:stretch!important}}\n"], dependencies: [{ kind: "component", type: ClxToastComponent, selector: "clx-toast", inputs: ["entry"], outputs: ["dismiss"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
6294
6294
  }
6295
6295
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxToastContainerComponent, decorators: [{
6296
6296
  type: Component,
@@ -6309,7 +6309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
6309
6309
  </div>
6310
6310
  }
6311
6311
  </div>
6312
- `, styles: ["clx-toast-container{display:contents}@media(max-width:639px){.clx-toast-stack{left:0!important;right:0!important;transform:none!important;padding-left:.75rem;padding-right:.75rem;max-width:100%!important;align-items:stretch!important}}\n"] }]
6312
+ `, styles: ["clx-toast-container{display:block;position:fixed;inset:0;pointer-events:none;z-index:999999}@media(max-width:639px){.clx-toast-stack{left:0!important;right:0!important;transform:none!important;padding-left:.75rem;padding-right:.75rem;max-width:100%!important;align-items:stretch!important}}\n"] }]
6313
6313
  }], propDecorators: { entries: [{ type: i0.Input, args: [{ isSignal: true, alias: "entries", required: false }] }, { type: i0.Output, args: ["entriesChange"] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }, { type: i0.Output, args: ["positionChange"] }], toastRefs: [{
6314
6314
  type: ViewChildren,
6315
6315
  args: [ClxToastComponent]
@@ -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
  }