@alfalab/core-components-base-modal 4.0.1 → 4.0.2

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/CHANGELOG.md CHANGED
@@ -3,12 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [4.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@3.2.0...@alfalab/core-components-base-modal@4.0.0) (2022-03-24)
6
+ # [4.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@3.2.0...@alfalab/core-components-base-modal@4.0.0) (2022-03-24)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
- * **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/alfa-laboratory/core-components/issues/1025)) ([26fa9aa](https://github.com/alfa-laboratory/core-components/commit/26fa9aab68bebf0f7093a38bc0f18a9b596ccf37)), closes [#1032](https://github.com/alfa-laboratory/core-components/issues/1032)
11
+ * **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/core-ds/core-components/issues/1025)) ([26fa9aa](https://github.com/core-ds/core-components/commit/26fa9aab68bebf0f7093a38bc0f18a9b596ccf37)), closes [#1032](https://github.com/core-ds/core-components/issues/1032)
12
12
 
13
13
 
14
14
  ### BREAKING CHANGES
@@ -19,41 +19,41 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- # [3.2.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@3.1.0...@alfalab/core-components-base-modal@3.2.0) (2022-03-01)
22
+ # [3.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@3.1.0...@alfalab/core-components-base-modal@3.2.0) (2022-03-01)
23
23
 
24
24
 
25
25
  ### Features
26
26
 
27
- * **base-modal:** add component ref for base modal ([#1008](https://github.com/alfa-laboratory/core-components/issues/1008)) ([fb13dbd](https://github.com/alfa-laboratory/core-components/commit/fb13dbdf6352b10b80a74fa87edfcb1f54b76d5a))
28
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
27
+ * **base-modal:** add component ref for base modal ([#1008](https://github.com/core-ds/core-components/issues/1008)) ([fb13dbd](https://github.com/core-ds/core-components/commit/fb13dbdf6352b10b80a74fa87edfcb1f54b76d5a))
28
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
29
29
 
30
30
 
31
31
 
32
32
 
33
33
 
34
- # [3.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@3.0.2...@alfalab/core-components-base-modal@3.1.0) (2022-01-17)
34
+ # [3.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@3.0.2...@alfalab/core-components-base-modal@3.1.0) (2022-01-17)
35
35
 
36
36
 
37
37
  ### Features
38
38
 
39
- * **base-modal:** extract modal store to global ([#943](https://github.com/alfa-laboratory/core-components/issues/943)) ([9587f17](https://github.com/alfa-laboratory/core-components/commit/9587f1773bb690ac6696077509d4a519aa109198))
39
+ * **base-modal:** extract modal store to global ([#943](https://github.com/core-ds/core-components/issues/943)) ([9587f17](https://github.com/core-ds/core-components/commit/9587f1773bb690ac6696077509d4a519aa109198))
40
40
 
41
41
 
42
42
 
43
43
 
44
44
 
45
- ## [3.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@3.0.1...@alfalab/core-components-base-modal@3.0.2) (2021-09-14)
45
+ ## [3.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@3.0.1...@alfalab/core-components-base-modal@3.0.2) (2021-09-14)
46
46
 
47
47
 
48
48
  ### Bug Fixes
49
49
 
50
- * **base-modal:** modal scroll ([#820](https://github.com/alfa-laboratory/core-components/issues/820)) ([1b2d94a](https://github.com/alfa-laboratory/core-components/commit/1b2d94ad45e04145bf1292d749ae2028702dc622))
50
+ * **base-modal:** modal scroll ([#820](https://github.com/core-ds/core-components/issues/820)) ([1b2d94a](https://github.com/core-ds/core-components/commit/1b2d94ad45e04145bf1292d749ae2028702dc622))
51
51
 
52
52
 
53
53
 
54
54
 
55
55
 
56
- ## [3.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@3.0.0...@alfalab/core-components-base-modal@3.0.1) (2021-07-09)
56
+ ## [3.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@3.0.0...@alfalab/core-components-base-modal@3.0.1) (2021-07-09)
57
57
 
58
58
  **Note:** Version bump only for package @alfalab/core-components-base-modal
59
59
 
@@ -61,69 +61,69 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
61
61
 
62
62
 
63
63
 
64
- # [3.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@2.1.1...@alfalab/core-components-base-modal@3.0.0) (2021-07-08)
64
+ # [3.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@2.1.1...@alfalab/core-components-base-modal@3.0.0) (2021-07-08)
65
65
 
66
66
 
67
67
  ### Features
68
68
 
69
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
69
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
70
70
 
71
- ## [2.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@2.1.0...@alfalab/core-components-base-modal@2.1.1) (2021-07-02)
71
+ ## [2.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@2.1.0...@alfalab/core-components-base-modal@2.1.1) (2021-07-02)
72
72
 
73
73
 
74
74
  ### Bug Fixes
75
75
 
76
- * **base-modal:** resubscribe observer when content node changed ([2fef06e](https://github.com/alfa-laboratory/core-components/commit/2fef06eea01354f58663a5f4470606123d31f9d4))
76
+ * **base-modal:** resubscribe observer when content node changed ([2fef06e](https://github.com/core-ds/core-components/commit/2fef06eea01354f58663a5f4470606123d31f9d4))
77
77
 
78
78
 
79
79
 
80
80
 
81
81
 
82
- # [2.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@2.0.2...@alfalab/core-components-base-modal@2.1.0) (2021-06-28)
82
+ # [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@2.0.2...@alfalab/core-components-base-modal@2.1.0) (2021-06-28)
83
83
 
84
84
 
85
85
  ### Bug Fixes
86
86
 
87
- * **base-modal:** fix has scroll bug ([#712](https://github.com/alfa-laboratory/core-components/issues/712)) ([a6749a1](https://github.com/alfa-laboratory/core-components/commit/a6749a149d511b28cc59aaec188d59c380c64243))
87
+ * **base-modal:** fix has scroll bug ([#712](https://github.com/core-ds/core-components/issues/712)) ([a6749a1](https://github.com/core-ds/core-components/commit/a6749a149d511b28cc59aaec188d59c380c64243))
88
88
 
89
89
 
90
90
  ### Features
91
91
 
92
- * **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/alfa-laboratory/core-components/issues/645)) ([1f7391d](https://github.com/alfa-laboratory/core-components/commit/1f7391df16a270d8a3a28b8ebaf98d0ed0928bc8)), closes [#642](https://github.com/alfa-laboratory/core-components/issues/642) [#642](https://github.com/alfa-laboratory/core-components/issues/642) [#646](https://github.com/alfa-laboratory/core-components/issues/646) [#646](https://github.com/alfa-laboratory/core-components/issues/646) [#634](https://github.com/alfa-laboratory/core-components/issues/634) [#635](https://github.com/alfa-laboratory/core-components/issues/635) [#634](https://github.com/alfa-laboratory/core-components/issues/634) [#635](https://github.com/alfa-laboratory/core-components/issues/635) [#648](https://github.com/alfa-laboratory/core-components/issues/648) [#647](https://github.com/alfa-laboratory/core-components/issues/647) [#630](https://github.com/alfa-laboratory/core-components/issues/630) [#648](https://github.com/alfa-laboratory/core-components/issues/648) [#630](https://github.com/alfa-laboratory/core-components/issues/630) [#669](https://github.com/alfa-laboratory/core-components/issues/669)
92
+ * **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/core-ds/core-components/issues/645)) ([1f7391d](https://github.com/core-ds/core-components/commit/1f7391df16a270d8a3a28b8ebaf98d0ed0928bc8)), closes [#642](https://github.com/core-ds/core-components/issues/642) [#642](https://github.com/core-ds/core-components/issues/642) [#646](https://github.com/core-ds/core-components/issues/646) [#646](https://github.com/core-ds/core-components/issues/646) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#648](https://github.com/core-ds/core-components/issues/648) [#647](https://github.com/core-ds/core-components/issues/647) [#630](https://github.com/core-ds/core-components/issues/630) [#648](https://github.com/core-ds/core-components/issues/648) [#630](https://github.com/core-ds/core-components/issues/630) [#669](https://github.com/core-ds/core-components/issues/669)
93
93
 
94
94
 
95
95
 
96
96
 
97
97
 
98
- ## [2.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@2.0.1...@alfalab/core-components-base-modal@2.0.2) (2021-05-28)
98
+ ## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@2.0.1...@alfalab/core-components-base-modal@2.0.2) (2021-05-28)
99
99
 
100
100
 
101
101
  ### Bug Fixes
102
102
 
103
- * **base-modal:** restore body styles on unmount ([#671](https://github.com/alfa-laboratory/core-components/issues/671)) ([963a6b1](https://github.com/alfa-laboratory/core-components/commit/963a6b18b13924a09cda672a662d0b402d00e75b))
103
+ * **base-modal:** restore body styles on unmount ([#671](https://github.com/core-ds/core-components/issues/671)) ([963a6b1](https://github.com/core-ds/core-components/commit/963a6b18b13924a09cda672a662d0b402d00e75b))
104
104
 
105
105
 
106
106
 
107
107
 
108
108
 
109
- ## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@2.0.0...@alfalab/core-components-base-modal@2.0.1) (2021-05-25)
109
+ ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@2.0.0...@alfalab/core-components-base-modal@2.0.1) (2021-05-25)
110
110
 
111
111
 
112
112
  ### Bug Fixes
113
113
 
114
- * **modal:** fix styles ([#665](https://github.com/alfa-laboratory/core-components/issues/665)) ([06f3615](https://github.com/alfa-laboratory/core-components/commit/06f3615c532f8ec2932d8a4d1fcbb1f5ee6b6a30))
115
- * **modal:** restore styles after exited ([#663](https://github.com/alfa-laboratory/core-components/issues/663)) ([48a8d69](https://github.com/alfa-laboratory/core-components/commit/48a8d6986dcde6c191d8411d51f28e6f399e26e6))
114
+ * **modal:** fix styles ([#665](https://github.com/core-ds/core-components/issues/665)) ([06f3615](https://github.com/core-ds/core-components/commit/06f3615c532f8ec2932d8a4d1fcbb1f5ee6b6a30))
115
+ * **modal:** restore styles after exited ([#663](https://github.com/core-ds/core-components/issues/663)) ([48a8d69](https://github.com/core-ds/core-components/commit/48a8d6986dcde6c191d8411d51f28e6f399e26e6))
116
116
 
117
117
 
118
118
 
119
119
 
120
120
 
121
- # [2.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@1.1.2...@alfalab/core-components-base-modal@2.0.0) (2021-04-26)
121
+ # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@1.1.2...@alfalab/core-components-base-modal@2.0.0) (2021-04-26)
122
122
 
123
123
 
124
124
  ### Features
125
125
 
126
- * **stack:** add new component ([#612](https://github.com/alfa-laboratory/core-components/issues/612)) ([c520f91](https://github.com/alfa-laboratory/core-components/commit/c520f91cd22bb9e23fd2f428719865b4c7d5a2a6))
126
+ * **stack:** add new component ([#612](https://github.com/core-ds/core-components/issues/612)) ([c520f91](https://github.com/core-ds/core-components/commit/c520f91cd22bb9e23fd2f428719865b4c7d5a2a6))
127
127
 
128
128
 
129
129
  ### BREAKING CHANGES
@@ -182,7 +182,7 @@ remove z-index, add stack component
182
182
 
183
183
 
184
184
 
185
- ## [1.1.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@1.1.1...@alfalab/core-components-base-modal@1.1.2) (2021-04-26)
185
+ ## [1.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@1.1.1...@alfalab/core-components-base-modal@1.1.2) (2021-04-26)
186
186
 
187
187
  **Note:** Version bump only for package @alfalab/core-components-base-modal
188
188
 
@@ -190,12 +190,12 @@ remove z-index, add stack component
190
190
 
191
191
 
192
192
 
193
- ## [1.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-base-modal@1.1.0...@alfalab/core-components-base-modal@1.1.1) (2021-04-09)
193
+ ## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@1.1.0...@alfalab/core-components-base-modal@1.1.1) (2021-04-09)
194
194
 
195
195
 
196
196
  ### Bug Fixes
197
197
 
198
- * **base-modal:** correct cb ([256a142](https://github.com/alfa-laboratory/core-components/commit/256a142398a9ada34386e92d012185763cedef5a))
198
+ * **base-modal:** correct cb ([256a142](https://github.com/core-ds/core-components/commit/256a142398a9ada34386e92d012185763cedef5a))
199
199
 
200
200
 
201
201
 
@@ -206,4 +206,4 @@ remove z-index, add stack component
206
206
 
207
207
  ### Features
208
208
 
209
- * **backdrop:** add component ([948a6c2](https://github.com/alfa-laboratory/core-components/commit/948a6c2fb5ec58edb2d087691ce4713d75da6e35))
209
+ * **backdrop:** add component ([948a6c2](https://github.com/core-ds/core-components/commit/948a6c2fb5ec58edb2d087691ce4713d75da6e35))
package/dist/Component.js CHANGED
@@ -48,7 +48,7 @@ var __assign = function () {
48
48
  return __assign.apply(this, arguments);
49
49
  };
50
50
 
51
- var styles = {"component":"base-modal__component_1rup9","wrapper":"base-modal__wrapper_1rup9","content":"base-modal__content_1rup9","hidden":"base-modal__hidden_1rup9","backdrop":"base-modal__backdrop_1rup9","appear":"base-modal__appear_1rup9","enter":"base-modal__enter_1rup9","appearActive":"base-modal__appearActive_1rup9","enterActive":"base-modal__enterActive_1rup9","exit":"base-modal__exit_1rup9","exitActive":"base-modal__exitActive_1rup9","exitDone":"base-modal__exitDone_1rup9"};
51
+ var styles = {"component":"base-modal__component_1o875","wrapper":"base-modal__wrapper_1o875","content":"base-modal__content_1o875","hidden":"base-modal__hidden_1o875","backdrop":"base-modal__backdrop_1o875","appear":"base-modal__appear_1o875","enter":"base-modal__enter_1o875","appearActive":"base-modal__appearActive_1o875","enterActive":"base-modal__enterActive_1o875","exit":"base-modal__exit_1o875","exitActive":"base-modal__exitActive_1o875","exitDone":"base-modal__exitDone_1o875"};
52
52
  require('./index.css')
53
53
 
54
54
  var BaseModalContext = React__default['default'].createContext({
@@ -37,7 +37,7 @@ var __assign = function () {
37
37
  return __assign.apply(this, arguments);
38
38
  };
39
39
 
40
- var styles = {"component":"base-modal__component_1rup9","wrapper":"base-modal__wrapper_1rup9","content":"base-modal__content_1rup9","hidden":"base-modal__hidden_1rup9","backdrop":"base-modal__backdrop_1rup9","appear":"base-modal__appear_1rup9","enter":"base-modal__enter_1rup9","appearActive":"base-modal__appearActive_1rup9","enterActive":"base-modal__enterActive_1rup9","exit":"base-modal__exit_1rup9","exitActive":"base-modal__exitActive_1rup9","exitDone":"base-modal__exitDone_1rup9"};
40
+ var styles = {"component":"base-modal__component_1o875","wrapper":"base-modal__wrapper_1o875","content":"base-modal__content_1o875","hidden":"base-modal__hidden_1o875","backdrop":"base-modal__backdrop_1o875","appear":"base-modal__appear_1o875","enter":"base-modal__enter_1o875","appearActive":"base-modal__appearActive_1o875","enterActive":"base-modal__enterActive_1o875","exit":"base-modal__exit_1o875","exitActive":"base-modal__exitActive_1o875","exitDone":"base-modal__exitDone_1o875"};
41
41
  require('./index.css')
42
42
 
43
43
  var BaseModalContext = React.createContext({
@@ -1,4 +1,4 @@
1
- /* hash: 1shy2 */
1
+ /* hash: 1jd4u */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -10,14 +10,14 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .base-modal__component_1rup9 {
13
+ .base-modal__component_1o875 {
14
14
  position: relative;
15
15
  box-sizing: border-box;
16
16
  background: var(--color-light-bg-primary);
17
17
  margin: auto;
18
18
  flex-shrink: 0;
19
19
  }
20
- .base-modal__wrapper_1rup9 {
20
+ .base-modal__wrapper_1o875 {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  left: 0;
@@ -30,33 +30,33 @@
30
30
  align-items: center;
31
31
  outline: 0;
32
32
  }
33
- .base-modal__content_1rup9 {
33
+ .base-modal__content_1o875 {
34
34
  width: 100%;
35
35
  height: 100%;
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  flex: 1;
39
39
  }
40
- .base-modal__hidden_1rup9 {
40
+ .base-modal__hidden_1o875 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_1rup9 {
43
+ .base-modal__backdrop_1o875 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_1rup9,
47
- .base-modal__enter_1rup9 {
46
+ .base-modal__appear_1o875,
47
+ .base-modal__enter_1o875 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_1rup9,
51
- .base-modal__enterActive_1rup9 {
50
+ .base-modal__appearActive_1o875,
51
+ .base-modal__enterActive_1o875 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_1rup9 {
55
+ .base-modal__exit_1o875 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_1rup9,
59
- .base-modal__exitDone_1rup9 {
58
+ .base-modal__exitActive_1o875,
59
+ .base-modal__exitDone_1o875 {
60
60
  opacity: 0;
61
61
  transition: opacity 200ms ease-out;
62
62
  }
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1shy2 */
1
+ /* hash: 1jd4u */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -10,14 +10,14 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .base-modal__component_1rup9 {
13
+ .base-modal__component_1o875 {
14
14
  position: relative;
15
15
  box-sizing: border-box;
16
16
  background: var(--color-light-bg-primary);
17
17
  margin: auto;
18
18
  flex-shrink: 0;
19
19
  }
20
- .base-modal__wrapper_1rup9 {
20
+ .base-modal__wrapper_1o875 {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  left: 0;
@@ -30,33 +30,33 @@
30
30
  align-items: center;
31
31
  outline: 0;
32
32
  }
33
- .base-modal__content_1rup9 {
33
+ .base-modal__content_1o875 {
34
34
  width: 100%;
35
35
  height: 100%;
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  flex: 1;
39
39
  }
40
- .base-modal__hidden_1rup9 {
40
+ .base-modal__hidden_1o875 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_1rup9 {
43
+ .base-modal__backdrop_1o875 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_1rup9,
47
- .base-modal__enter_1rup9 {
46
+ .base-modal__appear_1o875,
47
+ .base-modal__enter_1o875 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_1rup9,
51
- .base-modal__enterActive_1rup9 {
50
+ .base-modal__appearActive_1o875,
51
+ .base-modal__enterActive_1o875 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_1rup9 {
55
+ .base-modal__exit_1o875 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_1rup9,
59
- .base-modal__exitDone_1rup9 {
58
+ .base-modal__exitActive_1o875,
59
+ .base-modal__exitDone_1o875 {
60
60
  opacity: 0;
61
61
  transition: opacity 200ms ease-out;
62
62
  }
@@ -10,7 +10,7 @@ import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/modern
10
10
  import '@alfalab/core-components-global-store/dist/modern';
11
11
  import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerStyles, hasScrollbar } from './utils.js';
12
12
 
13
- var styles = {"component":"base-modal__component_1rup9","wrapper":"base-modal__wrapper_1rup9","content":"base-modal__content_1rup9","hidden":"base-modal__hidden_1rup9","backdrop":"base-modal__backdrop_1rup9","appear":"base-modal__appear_1rup9","enter":"base-modal__enter_1rup9","appearActive":"base-modal__appearActive_1rup9","enterActive":"base-modal__enterActive_1rup9","exit":"base-modal__exit_1rup9","exitActive":"base-modal__exitActive_1rup9","exitDone":"base-modal__exitDone_1rup9"};
13
+ var styles = {"component":"base-modal__component_1o875","wrapper":"base-modal__wrapper_1o875","content":"base-modal__content_1o875","hidden":"base-modal__hidden_1o875","backdrop":"base-modal__backdrop_1o875","appear":"base-modal__appear_1o875","enter":"base-modal__enter_1o875","appearActive":"base-modal__appearActive_1o875","enterActive":"base-modal__enterActive_1o875","exit":"base-modal__exit_1o875","exitActive":"base-modal__exitActive_1o875","exitDone":"base-modal__exitDone_1o875"};
14
14
  require('./index.css')
15
15
 
16
16
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
@@ -1,4 +1,4 @@
1
- /* hash: 1shy2 */
1
+ /* hash: 1jd4u */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -10,14 +10,14 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .base-modal__component_1rup9 {
13
+ .base-modal__component_1o875 {
14
14
  position: relative;
15
15
  box-sizing: border-box;
16
16
  background: var(--color-light-bg-primary);
17
17
  margin: auto;
18
18
  flex-shrink: 0;
19
19
  }
20
- .base-modal__wrapper_1rup9 {
20
+ .base-modal__wrapper_1o875 {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  left: 0;
@@ -30,33 +30,33 @@
30
30
  align-items: center;
31
31
  outline: 0;
32
32
  }
33
- .base-modal__content_1rup9 {
33
+ .base-modal__content_1o875 {
34
34
  width: 100%;
35
35
  height: 100%;
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  flex: 1;
39
39
  }
40
- .base-modal__hidden_1rup9 {
40
+ .base-modal__hidden_1o875 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_1rup9 {
43
+ .base-modal__backdrop_1o875 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_1rup9,
47
- .base-modal__enter_1rup9 {
46
+ .base-modal__appear_1o875,
47
+ .base-modal__enter_1o875 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_1rup9,
51
- .base-modal__enterActive_1rup9 {
50
+ .base-modal__appearActive_1o875,
51
+ .base-modal__enterActive_1o875 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_1rup9 {
55
+ .base-modal__exit_1o875 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_1rup9,
59
- .base-modal__exitDone_1rup9 {
58
+ .base-modal__exitActive_1o875,
59
+ .base-modal__exitDone_1o875 {
60
60
  opacity: 0;
61
61
  transition: opacity 200ms ease-out;
62
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-base-modal",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "BaseModal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,10 +15,10 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-backdrop": "^2.0.2",
19
- "@alfalab/core-components-global-store": "^1.1.0",
20
- "@alfalab/core-components-portal": "^2.0.1",
21
- "@alfalab/core-components-stack": "^3.0.1",
18
+ "@alfalab/core-components-backdrop": "^2.0.3",
19
+ "@alfalab/core-components-global-store": "^1.1.1",
20
+ "@alfalab/core-components-portal": "^2.0.2",
21
+ "@alfalab/core-components-stack": "^3.0.2",
22
22
  "classnames": "2.2.6",
23
23
  "react-focus-lock": "2.5.0",
24
24
  "react-merge-refs": "1.1.0",
@@ -31,5 +31,5 @@
31
31
  "peerDependencies": {
32
32
  "react": "^16.9.0 || ^17.0.1"
33
33
  },
34
- "gitHead": "0363f194b7d8e6d2949795b8f0570262d7028aff"
34
+ "gitHead": "8d998af881e79e8b524179aa50cdb117c1380c74"
35
35
  }