@alfalab/core-components-base-modal 5.0.8 → 5.0.9

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/Component.js CHANGED
@@ -47,7 +47,7 @@ var __assign = function () {
47
47
  return __assign.apply(this, arguments);
48
48
  };
49
49
 
50
- var styles = {"component":"base-modal__component_7hxkw","wrapper":"base-modal__wrapper_7hxkw","content":"base-modal__content_7hxkw","hidden":"base-modal__hidden_7hxkw","backdrop":"base-modal__backdrop_7hxkw","appear":"base-modal__appear_7hxkw","enter":"base-modal__enter_7hxkw","appearActive":"base-modal__appearActive_7hxkw","enterActive":"base-modal__enterActive_7hxkw","exit":"base-modal__exit_7hxkw","exitActive":"base-modal__exitActive_7hxkw","exitDone":"base-modal__exitDone_7hxkw"};
50
+ var styles = {"component":"base-modal__component_6hw5o","wrapper":"base-modal__wrapper_6hw5o","content":"base-modal__content_6hw5o","hidden":"base-modal__hidden_6hw5o","backdrop":"base-modal__backdrop_6hw5o","appear":"base-modal__appear_6hw5o","enter":"base-modal__enter_6hw5o","appearActive":"base-modal__appearActive_6hw5o","enterActive":"base-modal__enterActive_6hw5o","exit":"base-modal__exit_6hw5o","exitActive":"base-modal__exitActive_6hw5o","exitDone":"base-modal__exitDone_6hw5o"};
51
51
  require('./index.css')
52
52
 
53
53
  // eslint-disable-next-line @typescript-eslint/no-redeclare
package/esm/Component.js CHANGED
@@ -38,7 +38,7 @@ var __assign = function () {
38
38
  return __assign.apply(this, arguments);
39
39
  };
40
40
 
41
- var styles = {"component":"base-modal__component_7hxkw","wrapper":"base-modal__wrapper_7hxkw","content":"base-modal__content_7hxkw","hidden":"base-modal__hidden_7hxkw","backdrop":"base-modal__backdrop_7hxkw","appear":"base-modal__appear_7hxkw","enter":"base-modal__enter_7hxkw","appearActive":"base-modal__appearActive_7hxkw","enterActive":"base-modal__enterActive_7hxkw","exit":"base-modal__exit_7hxkw","exitActive":"base-modal__exitActive_7hxkw","exitDone":"base-modal__exitDone_7hxkw"};
41
+ var styles = {"component":"base-modal__component_6hw5o","wrapper":"base-modal__wrapper_6hw5o","content":"base-modal__content_6hw5o","hidden":"base-modal__hidden_6hw5o","backdrop":"base-modal__backdrop_6hw5o","appear":"base-modal__appear_6hw5o","enter":"base-modal__enter_6hw5o","appearActive":"base-modal__appearActive_6hw5o","enterActive":"base-modal__enterActive_6hw5o","exit":"base-modal__exit_6hw5o","exitActive":"base-modal__exitActive_6hw5o","exitDone":"base-modal__exitDone_6hw5o"};
42
42
  require('./index.css')
43
43
 
44
44
  // eslint-disable-next-line @typescript-eslint/no-redeclare
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: xt53z */
1
+ /* hash: gcy7v */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -15,13 +15,13 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .base-modal__component_7hxkw {
18
+ } .base-modal__component_6hw5o {
19
19
  position: relative;
20
20
  box-sizing: border-box;
21
21
  background: var(--color-light-bg-primary);
22
22
  margin: auto;
23
23
  flex-shrink: 0;
24
- } .base-modal__wrapper_7hxkw {
24
+ } .base-modal__wrapper_6hw5o {
25
25
  position: fixed;
26
26
  top: 0;
27
27
  left: 0;
@@ -33,27 +33,27 @@
33
33
  flex-direction: column;
34
34
  align-items: center;
35
35
  outline: 0;
36
- } .base-modal__content_7hxkw {
36
+ } .base-modal__content_6hw5o {
37
37
  width: 100%;
38
38
  height: 100%;
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  flex: 1;
42
- } .base-modal__hidden_7hxkw {
42
+ } .base-modal__hidden_6hw5o {
43
43
  display: none;
44
- } .base-modal__backdrop_7hxkw {
44
+ } .base-modal__backdrop_6hw5o {
45
45
  z-index: 0;
46
- } .base-modal__appear_7hxkw,
47
- .base-modal__enter_7hxkw {
46
+ } .base-modal__appear_6hw5o,
47
+ .base-modal__enter_6hw5o {
48
48
  opacity: 0;
49
- } .base-modal__appearActive_7hxkw,
50
- .base-modal__enterActive_7hxkw {
49
+ } .base-modal__appearActive_6hw5o,
50
+ .base-modal__enterActive_6hw5o {
51
51
  opacity: 1;
52
52
  transition: opacity 200ms ease-in;
53
- } .base-modal__exit_7hxkw {
53
+ } .base-modal__exit_6hw5o {
54
54
  opacity: 1;
55
- } .base-modal__exitActive_7hxkw,
56
- .base-modal__exitDone_7hxkw {
55
+ } .base-modal__exitActive_6hw5o,
56
+ .base-modal__exitDone_6hw5o {
57
57
  opacity: 0;
58
58
  transition: opacity 200ms ease-out;
59
59
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: xt53z */
1
+ /* hash: gcy7v */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -15,13 +15,13 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .base-modal__component_7hxkw {
18
+ } .base-modal__component_6hw5o {
19
19
  position: relative;
20
20
  box-sizing: border-box;
21
21
  background: var(--color-light-bg-primary);
22
22
  margin: auto;
23
23
  flex-shrink: 0;
24
- } .base-modal__wrapper_7hxkw {
24
+ } .base-modal__wrapper_6hw5o {
25
25
  position: fixed;
26
26
  top: 0;
27
27
  left: 0;
@@ -33,27 +33,27 @@
33
33
  flex-direction: column;
34
34
  align-items: center;
35
35
  outline: 0;
36
- } .base-modal__content_7hxkw {
36
+ } .base-modal__content_6hw5o {
37
37
  width: 100%;
38
38
  height: 100%;
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  flex: 1;
42
- } .base-modal__hidden_7hxkw {
42
+ } .base-modal__hidden_6hw5o {
43
43
  display: none;
44
- } .base-modal__backdrop_7hxkw {
44
+ } .base-modal__backdrop_6hw5o {
45
45
  z-index: 0;
46
- } .base-modal__appear_7hxkw,
47
- .base-modal__enter_7hxkw {
46
+ } .base-modal__appear_6hw5o,
47
+ .base-modal__enter_6hw5o {
48
48
  opacity: 0;
49
- } .base-modal__appearActive_7hxkw,
50
- .base-modal__enterActive_7hxkw {
49
+ } .base-modal__appearActive_6hw5o,
50
+ .base-modal__enterActive_6hw5o {
51
51
  opacity: 1;
52
52
  transition: opacity 200ms ease-in;
53
- } .base-modal__exit_7hxkw {
53
+ } .base-modal__exit_6hw5o {
54
54
  opacity: 1;
55
- } .base-modal__exitActive_7hxkw,
56
- .base-modal__exitDone_7hxkw {
55
+ } .base-modal__exitActive_6hw5o,
56
+ .base-modal__exitDone_6hw5o {
57
57
  opacity: 0;
58
58
  transition: opacity 200ms ease-out;
59
59
  }
@@ -11,7 +11,7 @@ import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerS
11
11
  import './matches-polyfill.js';
12
12
  import '@alfalab/core-components-global-store/modern';
13
13
 
14
- const styles = {"component":"base-modal__component_7hxkw","wrapper":"base-modal__wrapper_7hxkw","content":"base-modal__content_7hxkw","hidden":"base-modal__hidden_7hxkw","backdrop":"base-modal__backdrop_7hxkw","appear":"base-modal__appear_7hxkw","enter":"base-modal__enter_7hxkw","appearActive":"base-modal__appearActive_7hxkw","enterActive":"base-modal__enterActive_7hxkw","exit":"base-modal__exit_7hxkw","exitActive":"base-modal__exitActive_7hxkw","exitDone":"base-modal__exitDone_7hxkw"};
14
+ const styles = {"component":"base-modal__component_6hw5o","wrapper":"base-modal__wrapper_6hw5o","content":"base-modal__content_6hw5o","hidden":"base-modal__hidden_6hw5o","backdrop":"base-modal__backdrop_6hw5o","appear":"base-modal__appear_6hw5o","enter":"base-modal__enter_6hw5o","appearActive":"base-modal__appearActive_6hw5o","enterActive":"base-modal__enterActive_6hw5o","exit":"base-modal__exit_6hw5o","exitActive":"base-modal__exitActive_6hw5o","exitDone":"base-modal__exitDone_6hw5o"};
15
15
  require('./index.css')
16
16
 
17
17
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: xt53z */
1
+ /* hash: gcy7v */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -15,13 +15,13 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .base-modal__component_7hxkw {
18
+ } .base-modal__component_6hw5o {
19
19
  position: relative;
20
20
  box-sizing: border-box;
21
21
  background: var(--color-light-bg-primary);
22
22
  margin: auto;
23
23
  flex-shrink: 0;
24
- } .base-modal__wrapper_7hxkw {
24
+ } .base-modal__wrapper_6hw5o {
25
25
  position: fixed;
26
26
  top: 0;
27
27
  left: 0;
@@ -33,27 +33,27 @@
33
33
  flex-direction: column;
34
34
  align-items: center;
35
35
  outline: 0;
36
- } .base-modal__content_7hxkw {
36
+ } .base-modal__content_6hw5o {
37
37
  width: 100%;
38
38
  height: 100%;
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  flex: 1;
42
- } .base-modal__hidden_7hxkw {
42
+ } .base-modal__hidden_6hw5o {
43
43
  display: none;
44
- } .base-modal__backdrop_7hxkw {
44
+ } .base-modal__backdrop_6hw5o {
45
45
  z-index: 0;
46
- } .base-modal__appear_7hxkw,
47
- .base-modal__enter_7hxkw {
46
+ } .base-modal__appear_6hw5o,
47
+ .base-modal__enter_6hw5o {
48
48
  opacity: 0;
49
- } .base-modal__appearActive_7hxkw,
50
- .base-modal__enterActive_7hxkw {
49
+ } .base-modal__appearActive_6hw5o,
50
+ .base-modal__enterActive_6hw5o {
51
51
  opacity: 1;
52
52
  transition: opacity 200ms ease-in;
53
- } .base-modal__exit_7hxkw {
53
+ } .base-modal__exit_6hw5o {
54
54
  opacity: 1;
55
- } .base-modal__exitActive_7hxkw,
56
- .base-modal__exitDone_7hxkw {
55
+ } .base-modal__exitActive_6hw5o,
56
+ .base-modal__exitDone_6hw5o {
57
57
  opacity: 0;
58
58
  transition: opacity 200ms ease-out;
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-base-modal",
3
- "version": "5.0.8",
3
+ "version": "5.0.9",
4
4
  "description": "BaseModal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "@alfalab/core-components-stack": "^4.0.2",
20
20
  "@juggle/resize-observer": "^3.3.1",
21
21
  "classnames": "^2.3.1",
22
- "react-focus-lock": "^2.9.1",
22
+ "react-focus-lock": "^2.9.3",
23
23
  "react-merge-refs": "^1.1.0",
24
24
  "react-transition-group": "^4.4.5"
25
25
  },