@cqa-lib/cqa-ui 1.0.70 → 1.0.71
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.
|
@@ -4322,16 +4322,18 @@ class TailwindOverlayContainer extends OverlayContainer {
|
|
|
4322
4322
|
// Find all overlay panes in the container
|
|
4323
4323
|
const allPanes = this._containerElement.querySelectorAll('.cdk-overlay-pane');
|
|
4324
4324
|
allPanes.forEach((pane) => {
|
|
4325
|
-
// Check if this pane itself has library component classes
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
//
|
|
4325
|
+
// Check if this pane itself has library component classes (e.g., backdrop)
|
|
4326
|
+
const paneHasLibraryClass = pane.classList.contains('cqa-dialog-panel') ||
|
|
4327
|
+
pane.classList.contains('cqa-dialog-backdrop') ||
|
|
4328
|
+
pane.classList.contains('ctc-select-panel') ||
|
|
4329
|
+
pane.classList.contains('ctc-date-range-panel');
|
|
4330
|
+
// Also check for library components inside the pane
|
|
4331
|
+
// These classes may be on child elements rather than the pane itself
|
|
4332
4332
|
const hasLibraryDialogInside = pane.querySelector('.cqa-dialog-panel') !== null;
|
|
4333
|
-
const
|
|
4334
|
-
|
|
4333
|
+
const hasLibrarySelectInside = pane.querySelector('.ctc-select-panel') !== null;
|
|
4334
|
+
const hasLibraryDatePickerInside = pane.querySelector('.ctc-date-range-panel') !== null;
|
|
4335
|
+
const isLibraryOverlay = paneHasLibraryClass || hasLibraryDialogInside ||
|
|
4336
|
+
hasLibrarySelectInside || hasLibraryDatePickerInside;
|
|
4335
4337
|
if (isLibraryOverlay) {
|
|
4336
4338
|
// This is a library overlay - add the class
|
|
4337
4339
|
pane.classList.add('cqa-ui-root');
|