@alfalab/core-components-base-modal
Advanced tools
Comparing version 5.7.2 to 5.7.3
@@ -18,3 +18,2 @@ 'use strict'; | ||
require('./matches-polyfill.js'); | ||
require('@alfalab/core-components-global-store'); | ||
@@ -28,3 +27,3 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; } | ||
var styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"}; | ||
var styles = {"component":"base-modal__component_13am9","wrapper":"base-modal__wrapper_13am9","content":"base-modal__content_13am9","hidden":"base-modal__hidden_13am9","backdrop":"base-modal__backdrop_13am9","appear":"base-modal__appear_13am9","enter":"base-modal__enter_13am9","appearActive":"base-modal__appearActive_13am9","enterActive":"base-modal__enterActive_13am9","exit":"base-modal__exit_13am9","exitActive":"base-modal__exitActive_13am9","exitDone":"base-modal__exitDone_13am9"}; | ||
require('./index.css') | ||
@@ -31,0 +30,0 @@ |
@@ -19,3 +19,2 @@ 'use strict'; | ||
require('./matches-polyfill.js'); | ||
require('@alfalab/core-components-global-store/cssm'); | ||
@@ -22,0 +21,0 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; } |
@@ -7,16 +7,2 @@ 'use strict'; | ||
var utils = require('./utils.js'); | ||
require('tslib'); | ||
require('react'); | ||
require('react-focus-lock'); | ||
require('react-merge-refs'); | ||
require('react-transition-group'); | ||
require('@juggle/resize-observer'); | ||
require('classnames'); | ||
require('@alfalab/core-components-backdrop/cssm'); | ||
require('@alfalab/core-components-portal/cssm'); | ||
require('@alfalab/core-components-shared/cssm'); | ||
require('@alfalab/core-components-stack/cssm'); | ||
require('./index.module.css'); | ||
require('./matches-polyfill.js'); | ||
require('@alfalab/core-components-global-store/cssm'); | ||
@@ -23,0 +9,0 @@ |
@@ -14,5 +14,4 @@ import { __assign } from 'tslib'; | ||
import './matches-polyfill.js'; | ||
import '@alfalab/core-components-global-store/esm'; | ||
var styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"}; | ||
var styles = {"component":"base-modal__component_13am9","wrapper":"base-modal__wrapper_13am9","content":"base-modal__content_13am9","hidden":"base-modal__hidden_13am9","backdrop":"base-modal__backdrop_13am9","appear":"base-modal__appear_13am9","enter":"base-modal__enter_13am9","appearActive":"base-modal__appearActive_13am9","enterActive":"base-modal__enterActive_13am9","exit":"base-modal__exit_13am9","exitActive":"base-modal__exitActive_13am9","exitDone":"base-modal__exitDone_13am9"}; | ||
require('./index.css') | ||
@@ -19,0 +18,0 @@ |
export { BaseModal, BaseModalContext } from './Component.js'; | ||
export { handleContainer, hasScrollbar, isScrolledToBottom, isScrolledToTop, restoreContainerStyles } from './utils.js'; | ||
import 'tslib'; | ||
import 'react'; | ||
import 'react-focus-lock'; | ||
import 'react-merge-refs'; | ||
import 'react-transition-group'; | ||
import '@juggle/resize-observer'; | ||
import 'classnames'; | ||
import '@alfalab/core-components-backdrop/esm'; | ||
import '@alfalab/core-components-portal/esm'; | ||
import '@alfalab/core-components-shared/esm'; | ||
import '@alfalab/core-components-stack/esm'; | ||
import './matches-polyfill.js'; | ||
import '@alfalab/core-components-global-store/esm'; |
13
index.js
@@ -7,15 +7,2 @@ 'use strict'; | ||
var utils = require('./utils.js'); | ||
require('tslib'); | ||
require('react'); | ||
require('react-focus-lock'); | ||
require('react-merge-refs'); | ||
require('react-transition-group'); | ||
require('@juggle/resize-observer'); | ||
require('classnames'); | ||
require('@alfalab/core-components-backdrop'); | ||
require('@alfalab/core-components-portal'); | ||
require('@alfalab/core-components-shared'); | ||
require('@alfalab/core-components-stack'); | ||
require('./matches-polyfill.js'); | ||
require('@alfalab/core-components-global-store'); | ||
@@ -22,0 +9,0 @@ |
@@ -13,5 +13,4 @@ import React, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from 'react'; | ||
import './matches-polyfill.js'; | ||
import '@alfalab/core-components-global-store/modern'; | ||
const styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"}; | ||
const styles = {"component":"base-modal__component_13am9","wrapper":"base-modal__wrapper_13am9","content":"base-modal__content_13am9","hidden":"base-modal__hidden_13am9","backdrop":"base-modal__backdrop_13am9","appear":"base-modal__appear_13am9","enter":"base-modal__enter_13am9","appearActive":"base-modal__appearActive_13am9","enterActive":"base-modal__enterActive_13am9","exit":"base-modal__exit_13am9","exitActive":"base-modal__exitActive_13am9","exitDone":"base-modal__exitDone_13am9"}; | ||
require('./index.css') | ||
@@ -18,0 +17,0 @@ |
export { BaseModal, BaseModalContext } from './Component.js'; | ||
export { handleContainer, hasScrollbar, isScrolledToBottom, isScrolledToTop, restoreContainerStyles } from './utils.js'; | ||
import 'react'; | ||
import 'react-focus-lock'; | ||
import 'react-merge-refs'; | ||
import 'react-transition-group'; | ||
import '@juggle/resize-observer'; | ||
import 'classnames'; | ||
import '@alfalab/core-components-backdrop/modern'; | ||
import '@alfalab/core-components-portal/modern'; | ||
import '@alfalab/core-components-shared/modern'; | ||
import '@alfalab/core-components-stack/modern'; | ||
import './matches-polyfill.js'; | ||
import '@alfalab/core-components-global-store/modern'; |
{ | ||
"name": "@alfalab/core-components-base-modal", | ||
"version": "5.7.2", | ||
"version": "5.7.3", | ||
"description": "BaseModal component", | ||
@@ -21,3 +21,3 @@ "keywords": [], | ||
"classnames": "^2.3.1", | ||
"react-focus-lock": "^2.9.3", | ||
"react-focus-lock": "^2.12.1", | ||
"react-merge-refs": "^1.1.0", | ||
@@ -24,0 +24,0 @@ "react-transition-group": "^4.4.5", |
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
Sorry, the diff of this file is not supported yet
139659
3087
Updatedreact-focus-lock@^2.12.1