@megafon/ui-core 3.12.0 → 3.12.1
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,6 +3,17 @@
|
|
|
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
|
+
## [3.12.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@3.12.0...@megafon/ui-core@3.12.1) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **carousel:** popup input focus ([b1c117a](https://github.com/MegafonWebLab/megafon-ui/commit/b1c117ac1ed560182e61133393ec65f14527958f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.12.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@3.11.0...@megafon/ui-core@3.12.0) (2022-06-28)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -219,7 +219,9 @@ var Carousel = function Carousel(_ref) {
|
|
|
219
219
|
};
|
|
220
220
|
|
|
221
221
|
var disableFocusOnSlideClick = function disableFocusOnSlideClick(e) {
|
|
222
|
-
e.nativeEvent.
|
|
222
|
+
if (e.nativeEvent.target.closest(".".concat(cn()))) {
|
|
223
|
+
e.nativeEvent.preventDefault();
|
|
224
|
+
}
|
|
223
225
|
};
|
|
224
226
|
|
|
225
227
|
React.useEffect(function () {
|
|
@@ -249,7 +249,9 @@ var Carousel = function Carousel(_ref) {
|
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
var disableFocusOnSlideClick = function disableFocusOnSlideClick(e) {
|
|
252
|
-
e.nativeEvent.
|
|
252
|
+
if (e.nativeEvent.target.closest(".".concat(cn()))) {
|
|
253
|
+
e.nativeEvent.preventDefault();
|
|
254
|
+
}
|
|
253
255
|
};
|
|
254
256
|
|
|
255
257
|
React.useEffect(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-core",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"styles"
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"react-popper": "^2.2.3",
|
|
98
98
|
"swiper": "^6.5.6"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "d951676f8c48d197b6107b4e90b04ea245cf0649"
|
|
101
101
|
}
|