@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
- // These classes are added via panelClass property in library components
4327
- const hasLibraryDialog = pane.classList.contains('cqa-dialog-panel');
4328
- const hasLibraryBackdrop = pane.classList.contains('cqa-dialog-backdrop');
4329
- const hasLibrarySelect = pane.classList.contains('ctc-select-panel');
4330
- const hasLibraryDatePicker = pane.classList.contains('ctc-date-range-panel');
4331
- // Also check for library components inside the pane (for dialogs that use mat-dialog-container)
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 isLibraryOverlay = hasLibraryDialog || hasLibraryBackdrop || hasLibrarySelect ||
4334
- hasLibraryDatePicker || hasLibraryDialogInside;
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');