@alfalab/core-components-base-modal
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -52,3 +52,3 @@ 'use strict'; | ||
var styles = {"component":"base-modal__component_1q1ro","wrapper":"base-modal__wrapper_1q1ro","content":"base-modal__content_1q1ro","hidden":"base-modal__hidden_1q1ro","backdrop":"base-modal__backdrop_1q1ro","appear":"base-modal__appear_1q1ro","enter":"base-modal__enter_1q1ro","appearActive":"base-modal__appearActive_1q1ro","enterActive":"base-modal__enterActive_1q1ro","exit":"base-modal__exit_1q1ro","exitActive":"base-modal__exitActive_1q1ro","exitDone":"base-modal__exitDone_1q1ro"}; | ||
var styles = {"component":"base-modal__component_pnet3","wrapper":"base-modal__wrapper_pnet3","content":"base-modal__content_pnet3","hidden":"base-modal__hidden_pnet3","backdrop":"base-modal__backdrop_pnet3","appear":"base-modal__appear_pnet3","enter":"base-modal__enter_pnet3","appearActive":"base-modal__appearActive_pnet3","enterActive":"base-modal__enterActive_pnet3","exit":"base-modal__exit_pnet3","exitActive":"base-modal__exitActive_pnet3","exitDone":"base-modal__exitDone_pnet3"}; | ||
require('./index.css') | ||
@@ -264,3 +264,3 @@ | ||
var _a; | ||
return (React__default['default'].createElement(coreComponentsPortal.Portal, { getPortalContainer: container }, | ||
return (React__default['default'].createElement(coreComponentsPortal.Portal, { getPortalContainer: container, immediateMount: true }, | ||
React__default['default'].createElement(BaseModalContext.Provider, { value: contextValue }, | ||
@@ -267,0 +267,0 @@ React__default['default'].createElement(FocusLock__default['default'], { autoFocus: !disableAutoFocus, disabled: disableFocusLock || !open, returnFocus: !disableRestoreFocus }, |
@@ -262,3 +262,3 @@ 'use strict'; | ||
var _a; | ||
return (React__default['default'].createElement(coreComponentsPortal.Portal, { getPortalContainer: container }, | ||
return (React__default['default'].createElement(coreComponentsPortal.Portal, { getPortalContainer: container, immediateMount: true }, | ||
React__default['default'].createElement(BaseModalContext.Provider, { value: contextValue }, | ||
@@ -265,0 +265,0 @@ React__default['default'].createElement(FocusLock__default['default'], { autoFocus: !disableAutoFocus, disabled: disableFocusLock || !open, returnFocus: !disableRestoreFocus }, |
@@ -41,3 +41,3 @@ import React, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from 'react'; | ||
var styles = {"component":"base-modal__component_1q1ro","wrapper":"base-modal__wrapper_1q1ro","content":"base-modal__content_1q1ro","hidden":"base-modal__hidden_1q1ro","backdrop":"base-modal__backdrop_1q1ro","appear":"base-modal__appear_1q1ro","enter":"base-modal__enter_1q1ro","appearActive":"base-modal__appearActive_1q1ro","enterActive":"base-modal__enterActive_1q1ro","exit":"base-modal__exit_1q1ro","exitActive":"base-modal__exitActive_1q1ro","exitDone":"base-modal__exitDone_1q1ro"}; | ||
var styles = {"component":"base-modal__component_pnet3","wrapper":"base-modal__wrapper_pnet3","content":"base-modal__content_pnet3","hidden":"base-modal__hidden_pnet3","backdrop":"base-modal__backdrop_pnet3","appear":"base-modal__appear_pnet3","enter":"base-modal__enter_pnet3","appearActive":"base-modal__appearActive_pnet3","enterActive":"base-modal__enterActive_pnet3","exit":"base-modal__exit_pnet3","exitActive":"base-modal__exitActive_pnet3","exitDone":"base-modal__exitDone_pnet3"}; | ||
require('./index.css') | ||
@@ -253,3 +253,3 @@ | ||
var _a; | ||
return (React.createElement(Portal, { getPortalContainer: container }, | ||
return (React.createElement(Portal, { getPortalContainer: container, immediateMount: true }, | ||
React.createElement(BaseModalContext.Provider, { value: contextValue }, | ||
@@ -256,0 +256,0 @@ React.createElement(FocusLock, { autoFocus: !disableAutoFocus, disabled: disableFocusLock || !open, returnFocus: !disableRestoreFocus }, |
@@ -14,3 +14,3 @@ import React, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from 'react'; | ||
var styles = {"component":"base-modal__component_1q1ro","wrapper":"base-modal__wrapper_1q1ro","content":"base-modal__content_1q1ro","hidden":"base-modal__hidden_1q1ro","backdrop":"base-modal__backdrop_1q1ro","appear":"base-modal__appear_1q1ro","enter":"base-modal__enter_1q1ro","appearActive":"base-modal__appearActive_1q1ro","enterActive":"base-modal__enterActive_1q1ro","exit":"base-modal__exit_1q1ro","exitActive":"base-modal__exitActive_1q1ro","exitDone":"base-modal__exitDone_1q1ro"}; | ||
var styles = {"component":"base-modal__component_pnet3","wrapper":"base-modal__wrapper_pnet3","content":"base-modal__content_pnet3","hidden":"base-modal__hidden_pnet3","backdrop":"base-modal__backdrop_pnet3","appear":"base-modal__appear_pnet3","enter":"base-modal__enter_pnet3","appearActive":"base-modal__appearActive_pnet3","enterActive":"base-modal__enterActive_pnet3","exit":"base-modal__exit_pnet3","exitActive":"base-modal__exitActive_pnet3","exitDone":"base-modal__exitDone_pnet3"}; | ||
require('./index.css') | ||
@@ -223,3 +223,3 @@ | ||
return null; | ||
return (React.createElement(Stack, { value: zIndex }, computedZIndex => (React.createElement(Portal, { getPortalContainer: container }, | ||
return (React.createElement(Stack, { value: zIndex }, computedZIndex => (React.createElement(Portal, { getPortalContainer: container, immediateMount: true }, | ||
React.createElement(BaseModalContext.Provider, { value: contextValue }, | ||
@@ -226,0 +226,0 @@ React.createElement(FocusLock, { autoFocus: !disableAutoFocus, disabled: disableFocusLock || !open, returnFocus: !disableRestoreFocus }, |
{ | ||
"name": "@alfalab/core-components-base-modal", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "BaseModal component", | ||
@@ -18,3 +18,3 @@ "keywords": [], | ||
"@alfalab/core-components-global-store": "^2.0.1", | ||
"@alfalab/core-components-portal": "^3.0.1", | ||
"@alfalab/core-components-portal": "^3.1.0", | ||
"@alfalab/core-components-stack": "^4.0.1", | ||
@@ -21,0 +21,0 @@ "@juggle/resize-observer": "^3.3.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106040