@alfalab/core-components-base-modal 4.0.0 → 4.1.0

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,23 @@
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.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-base-modal@4.0.2...@alfalab/core-components-base-modal@4.1.0) (2022-06-28)
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
+ * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
12
+
13
+
14
+
15
+
16
+
17
+ # [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)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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
23
 
13
24
 
14
25
  ### BREAKING CHANGES
@@ -19,41 +30,41 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
30
 
20
31
 
21
32
 
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)
33
+ # [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
34
 
24
35
 
25
36
  ### Features
26
37
 
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))
38
+ * **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))
39
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
29
40
 
30
41
 
31
42
 
32
43
 
33
44
 
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)
45
+ # [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
46
 
36
47
 
37
48
  ### Features
38
49
 
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))
50
+ * **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
51
 
41
52
 
42
53
 
43
54
 
44
55
 
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)
56
+ ## [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
57
 
47
58
 
48
59
  ### Bug Fixes
49
60
 
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))
61
+ * **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
62
 
52
63
 
53
64
 
54
65
 
55
66
 
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)
67
+ ## [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
68
 
58
69
  **Note:** Version bump only for package @alfalab/core-components-base-modal
59
70
 
@@ -61,69 +72,69 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
61
72
 
62
73
 
63
74
 
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)
75
+ # [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
76
 
66
77
 
67
78
  ### Features
68
79
 
69
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
80
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
70
81
 
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)
82
+ ## [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
83
 
73
84
 
74
85
  ### Bug Fixes
75
86
 
76
- * **base-modal:** resubscribe observer when content node changed ([2fef06e](https://github.com/alfa-laboratory/core-components/commit/2fef06eea01354f58663a5f4470606123d31f9d4))
87
+ * **base-modal:** resubscribe observer when content node changed ([2fef06e](https://github.com/core-ds/core-components/commit/2fef06eea01354f58663a5f4470606123d31f9d4))
77
88
 
78
89
 
79
90
 
80
91
 
81
92
 
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)
93
+ # [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
94
 
84
95
 
85
96
  ### Bug Fixes
86
97
 
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))
98
+ * **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
99
 
89
100
 
90
101
  ### Features
91
102
 
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)
103
+ * **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
104
 
94
105
 
95
106
 
96
107
 
97
108
 
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)
109
+ ## [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
110
 
100
111
 
101
112
  ### Bug Fixes
102
113
 
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))
114
+ * **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
115
 
105
116
 
106
117
 
107
118
 
108
119
 
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)
120
+ ## [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
121
 
111
122
 
112
123
  ### Bug Fixes
113
124
 
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))
125
+ * **modal:** fix styles ([#665](https://github.com/core-ds/core-components/issues/665)) ([06f3615](https://github.com/core-ds/core-components/commit/06f3615c532f8ec2932d8a4d1fcbb1f5ee6b6a30))
126
+ * **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
127
 
117
128
 
118
129
 
119
130
 
120
131
 
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)
132
+ # [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
133
 
123
134
 
124
135
  ### Features
125
136
 
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))
137
+ * **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
138
 
128
139
 
129
140
  ### BREAKING CHANGES
@@ -182,7 +193,7 @@ remove z-index, add stack component
182
193
 
183
194
 
184
195
 
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)
196
+ ## [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
197
 
187
198
  **Note:** Version bump only for package @alfalab/core-components-base-modal
188
199
 
@@ -190,12 +201,12 @@ remove z-index, add stack component
190
201
 
191
202
 
192
203
 
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)
204
+ ## [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
205
 
195
206
 
196
207
  ### Bug Fixes
197
208
 
198
- * **base-modal:** correct cb ([256a142](https://github.com/alfa-laboratory/core-components/commit/256a142398a9ada34386e92d012185763cedef5a))
209
+ * **base-modal:** correct cb ([256a142](https://github.com/core-ds/core-components/commit/256a142398a9ada34386e92d012185763cedef5a))
199
210
 
200
211
 
201
212
 
@@ -206,4 +217,4 @@ remove z-index, add stack component
206
217
 
207
218
  ### Features
208
219
 
209
- * **backdrop:** add component ([948a6c2](https://github.com/alfa-laboratory/core-components/commit/948a6c2fb5ec58edb2d087691ce4713d75da6e35))
220
+ * **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_t7alb","wrapper":"base-modal__wrapper_t7alb","content":"base-modal__content_t7alb","hidden":"base-modal__hidden_t7alb","backdrop":"base-modal__backdrop_t7alb","appear":"base-modal__appear_t7alb","enter":"base-modal__enter_t7alb","appearActive":"base-modal__appearActive_t7alb","enterActive":"base-modal__enterActive_t7alb","exit":"base-modal__exit_t7alb","exitActive":"base-modal__exitActive_t7alb","exitDone":"base-modal__exitDone_t7alb"};
51
+ var styles = {"component":"base-modal__component_nmcj5","wrapper":"base-modal__wrapper_nmcj5","content":"base-modal__content_nmcj5","hidden":"base-modal__hidden_nmcj5","backdrop":"base-modal__backdrop_nmcj5","appear":"base-modal__appear_nmcj5","enter":"base-modal__enter_nmcj5","appearActive":"base-modal__appearActive_nmcj5","enterActive":"base-modal__enterActive_nmcj5","exit":"base-modal__exit_nmcj5","exitActive":"base-modal__exitActive_nmcj5","exitDone":"base-modal__exitDone_nmcj5"};
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_t7alb","wrapper":"base-modal__wrapper_t7alb","content":"base-modal__content_t7alb","hidden":"base-modal__hidden_t7alb","backdrop":"base-modal__backdrop_t7alb","appear":"base-modal__appear_t7alb","enter":"base-modal__enter_t7alb","appearActive":"base-modal__appearActive_t7alb","enterActive":"base-modal__enterActive_t7alb","exit":"base-modal__exit_t7alb","exitActive":"base-modal__exitActive_t7alb","exitDone":"base-modal__exitDone_t7alb"};
40
+ var styles = {"component":"base-modal__component_nmcj5","wrapper":"base-modal__wrapper_nmcj5","content":"base-modal__content_nmcj5","hidden":"base-modal__hidden_nmcj5","backdrop":"base-modal__backdrop_nmcj5","appear":"base-modal__appear_nmcj5","enter":"base-modal__enter_nmcj5","appearActive":"base-modal__appearActive_nmcj5","enterActive":"base-modal__enterActive_nmcj5","exit":"base-modal__exit_nmcj5","exitActive":"base-modal__exitActive_nmcj5","exitDone":"base-modal__exitDone_nmcj5"};
41
41
  require('./index.css')
42
42
 
43
43
  var BaseModalContext = React.createContext({
@@ -1,4 +1,4 @@
1
- /* hash: 10wmb */
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_t7alb {
13
+ .base-modal__component_nmcj5 {
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_t7alb {
20
+ .base-modal__wrapper_nmcj5 {
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_t7alb {
33
+ .base-modal__content_nmcj5 {
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_t7alb {
40
+ .base-modal__hidden_nmcj5 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_t7alb {
43
+ .base-modal__backdrop_nmcj5 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_t7alb,
47
- .base-modal__enter_t7alb {
46
+ .base-modal__appear_nmcj5,
47
+ .base-modal__enter_nmcj5 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_t7alb,
51
- .base-modal__enterActive_t7alb {
50
+ .base-modal__appearActive_nmcj5,
51
+ .base-modal__enterActive_nmcj5 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_t7alb {
55
+ .base-modal__exit_nmcj5 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_t7alb,
59
- .base-modal__exitDone_t7alb {
58
+ .base-modal__exitActive_nmcj5,
59
+ .base-modal__exitDone_nmcj5 {
60
60
  opacity: 0;
61
61
  transition: opacity 200ms ease-out;
62
62
  }
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 10wmb */
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_t7alb {
13
+ .base-modal__component_nmcj5 {
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_t7alb {
20
+ .base-modal__wrapper_nmcj5 {
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_t7alb {
33
+ .base-modal__content_nmcj5 {
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_t7alb {
40
+ .base-modal__hidden_nmcj5 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_t7alb {
43
+ .base-modal__backdrop_nmcj5 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_t7alb,
47
- .base-modal__enter_t7alb {
46
+ .base-modal__appear_nmcj5,
47
+ .base-modal__enter_nmcj5 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_t7alb,
51
- .base-modal__enterActive_t7alb {
50
+ .base-modal__appearActive_nmcj5,
51
+ .base-modal__enterActive_nmcj5 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_t7alb {
55
+ .base-modal__exit_nmcj5 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_t7alb,
59
- .base-modal__exitDone_t7alb {
58
+ .base-modal__exitActive_nmcj5,
59
+ .base-modal__exitDone_nmcj5 {
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_t7alb","wrapper":"base-modal__wrapper_t7alb","content":"base-modal__content_t7alb","hidden":"base-modal__hidden_t7alb","backdrop":"base-modal__backdrop_t7alb","appear":"base-modal__appear_t7alb","enter":"base-modal__enter_t7alb","appearActive":"base-modal__appearActive_t7alb","enterActive":"base-modal__enterActive_t7alb","exit":"base-modal__exit_t7alb","exitActive":"base-modal__exitActive_t7alb","exitDone":"base-modal__exitDone_t7alb"};
13
+ var styles = {"component":"base-modal__component_nmcj5","wrapper":"base-modal__wrapper_nmcj5","content":"base-modal__content_nmcj5","hidden":"base-modal__hidden_nmcj5","backdrop":"base-modal__backdrop_nmcj5","appear":"base-modal__appear_nmcj5","enter":"base-modal__enter_nmcj5","appearActive":"base-modal__appearActive_nmcj5","enterActive":"base-modal__enterActive_nmcj5","exit":"base-modal__exit_nmcj5","exitActive":"base-modal__exitActive_nmcj5","exitDone":"base-modal__exitDone_nmcj5"};
14
14
  require('./index.css')
15
15
 
16
16
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
@@ -1,4 +1,4 @@
1
- /* hash: 10wmb */
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_t7alb {
13
+ .base-modal__component_nmcj5 {
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_t7alb {
20
+ .base-modal__wrapper_nmcj5 {
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_t7alb {
33
+ .base-modal__content_nmcj5 {
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_t7alb {
40
+ .base-modal__hidden_nmcj5 {
41
41
  display: none;
42
42
  }
43
- .base-modal__backdrop_t7alb {
43
+ .base-modal__backdrop_nmcj5 {
44
44
  z-index: 0;
45
45
  }
46
- .base-modal__appear_t7alb,
47
- .base-modal__enter_t7alb {
46
+ .base-modal__appear_nmcj5,
47
+ .base-modal__enter_nmcj5 {
48
48
  opacity: 0;
49
49
  }
50
- .base-modal__appearActive_t7alb,
51
- .base-modal__enterActive_t7alb {
50
+ .base-modal__appearActive_nmcj5,
51
+ .base-modal__enterActive_nmcj5 {
52
52
  opacity: 1;
53
53
  transition: opacity 200ms ease-in;
54
54
  }
55
- .base-modal__exit_t7alb {
55
+ .base-modal__exit_nmcj5 {
56
56
  opacity: 1;
57
57
  }
58
- .base-modal__exitActive_t7alb,
59
- .base-modal__exitDone_t7alb {
58
+ .base-modal__exitActive_nmcj5,
59
+ .base-modal__exitDone_nmcj5 {
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.0",
3
+ "version": "4.1.0",
4
4
  "description": "BaseModal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,14 +15,14 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-backdrop": "^2.0.1",
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.1.0",
19
+ "@alfalab/core-components-global-store": "^1.1.1",
20
+ "@alfalab/core-components-portal": "^2.0.3",
21
+ "@alfalab/core-components-stack": "^3.0.3",
22
22
  "classnames": "^2.2.6",
23
23
  "react-focus-lock": "^2.5.0",
24
24
  "react-merge-refs": "^1.1.0",
25
- "react-transition-group": "^4.3.0",
25
+ "react-transition-group": "^4.4.1",
26
26
  "resize-observer": "^1.0.0"
27
27
  },
28
28
  "devDependencies": {
@@ -31,5 +31,5 @@
31
31
  "peerDependencies": {
32
32
  "react": "^16.9.0 || ^17.0.1"
33
33
  },
34
- "gitHead": "ae23b2de3600ef2921e125b35916a8b95cd1a909"
34
+ "gitHead": "dcd5c0c8e25b7c374ff9311505ccf738a82e22c0"
35
35
  }