codexly-ui 0.0.52 → 0.0.54
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/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -5216,9 +5216,9 @@ const MODAL_ANIM_DEFAULTS = {
|
|
|
5216
5216
|
};
|
|
5217
5217
|
|
|
5218
5218
|
const DRAWER_SIZE_MAP = {
|
|
5219
|
-
sm: 'w-
|
|
5220
|
-
md: 'w-
|
|
5221
|
-
lg: 'w-
|
|
5219
|
+
sm: 'w-[320px]',
|
|
5220
|
+
md: 'w-[420px]',
|
|
5221
|
+
lg: 'w-[560px]',
|
|
5222
5222
|
};
|
|
5223
5223
|
const DRAWER_WIDTH_MAP = {
|
|
5224
5224
|
sm: '320px',
|
|
@@ -13924,16 +13924,11 @@ class ClxDrawerService {
|
|
|
13924
13924
|
// Attach wrapper via ComponentPortal — CDK creates backdrop on attach()
|
|
13925
13925
|
const wrapperPortal = new ComponentPortal(ClxModalWrapperComponent, null, innerInjector);
|
|
13926
13926
|
const wrapperRef = overlayRef.attach(wrapperPortal);
|
|
13927
|
-
//
|
|
13928
|
-
|
|
13929
|
-
|
|
13930
|
-
|
|
13931
|
-
|
|
13932
|
-
// Re-enable pointer events on the drawer panel itself
|
|
13933
|
-
// height:100% needed so clx-drawer h-full works (wrapper is display:contents)
|
|
13934
|
-
const wrapperEl = wrapperRef.location.nativeElement;
|
|
13935
|
-
wrapperEl.style.pointerEvents = 'auto';
|
|
13936
|
-
wrapperEl.style.height = '100%';
|
|
13927
|
+
// El pane ya tiene width/height del OverlayConfig.
|
|
13928
|
+
// Solo desactivamos pointer-events en el overlay element (no en el pane)
|
|
13929
|
+
// para que el click-through funcione cuando no hay backdrop.
|
|
13930
|
+
overlayRef.overlayElement.style.pointerEvents = 'none';
|
|
13931
|
+
wrapperRef.location.nativeElement.style.pointerEvents = 'auto';
|
|
13937
13932
|
// Mount user component inside the wrapper via a second portal
|
|
13938
13933
|
const contentPortal = new ComponentPortal(component, null, innerInjector);
|
|
13939
13934
|
wrapperRef.instance.portal.set(contentPortal);
|