@cqa-lib/cqa-ui 1.0.69 → 1.0.70
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/esm2020/lib/utils/tw-overlay-container.mjs +36 -42
- package/fesm2015/cqa-lib-cqa-ui.mjs +35 -41
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +35 -41
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/utils/tw-overlay-container.d.ts +6 -7
- package/package.json +1 -1
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* configured with important: '.cqa-ui-root' are applied inside overlays.
|
|
4
|
+
* Custom overlay container that adds 'cqa-ui-root' class to individual overlay panes
|
|
5
|
+
* containing library components, rather than to the entire container.
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* This ensures library CSS (scoped with .cqa-ui-root) only affects library overlays,
|
|
8
|
+
* not portal overlays that may be open simultaneously.
|
|
10
9
|
*/
|
|
11
10
|
export declare class TailwindOverlayContainer extends OverlayContainer {
|
|
12
11
|
private updateTimeout;
|
|
13
12
|
protected _createContainer(): void;
|
|
14
|
-
private
|
|
15
|
-
private
|
|
13
|
+
private observeOverlayPanes;
|
|
14
|
+
private updateOverlayPaneClasses;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TailwindOverlayContainer, never>;
|
|
17
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<TailwindOverlayContainer>;
|
|
18
17
|
}
|