@megafon/ui-core 6.10.1 → 6.10.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.
|
@@ -33,16 +33,6 @@ export var PaginationPositionType = {
|
|
|
33
33
|
BOTTOM_OUT: 'bottom-out',
|
|
34
34
|
TOP_IN: 'top-in'
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
var getAutoPlayConfig = function getAutoPlayConfig(delay) {
|
|
38
|
-
return {
|
|
39
|
-
delay: delay,
|
|
40
|
-
waitForTransition: false,
|
|
41
|
-
disableOnInteraction: false,
|
|
42
|
-
stopOnLastSlide: true
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
|
|
46
36
|
var cn = cnCreate('mfui-v6-banner');
|
|
47
37
|
|
|
48
38
|
var Banner = function Banner(_ref) {
|
|
@@ -294,7 +284,12 @@ var Banner = function Banner(_ref) {
|
|
|
294
284
|
}, /*#__PURE__*/React.createElement(Swiper, _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.swiper), {
|
|
295
285
|
className: cn('swiper', [classes.swiper]),
|
|
296
286
|
loop: loop,
|
|
297
|
-
autoplay:
|
|
287
|
+
autoplay: {
|
|
288
|
+
delay: delay,
|
|
289
|
+
waitForTransition: false,
|
|
290
|
+
disableOnInteraction: false,
|
|
291
|
+
stopOnLastSlide: true
|
|
292
|
+
},
|
|
298
293
|
watchSlidesVisibility: true,
|
|
299
294
|
noSwipingClass: classes.noSwiping,
|
|
300
295
|
breakpoints: showNextSlide ? SLIDES_SETTINGS : undefined,
|
|
@@ -65,16 +65,6 @@ var PaginationPositionType = {
|
|
|
65
65
|
TOP_IN: 'top-in'
|
|
66
66
|
};
|
|
67
67
|
exports.PaginationPositionType = PaginationPositionType;
|
|
68
|
-
|
|
69
|
-
var getAutoPlayConfig = function getAutoPlayConfig(delay) {
|
|
70
|
-
return {
|
|
71
|
-
delay: delay,
|
|
72
|
-
waitForTransition: false,
|
|
73
|
-
disableOnInteraction: false,
|
|
74
|
-
stopOnLastSlide: true
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
|
|
78
68
|
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-banner');
|
|
79
69
|
|
|
80
70
|
var Banner = function Banner(_ref) {
|
|
@@ -326,7 +316,12 @@ var Banner = function Banner(_ref) {
|
|
|
326
316
|
}, /*#__PURE__*/React.createElement(_react2.Swiper, (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.swiper), {
|
|
327
317
|
className: cn('swiper', [classes.swiper]),
|
|
328
318
|
loop: loop,
|
|
329
|
-
autoplay:
|
|
319
|
+
autoplay: {
|
|
320
|
+
delay: delay,
|
|
321
|
+
waitForTransition: false,
|
|
322
|
+
disableOnInteraction: false,
|
|
323
|
+
stopOnLastSlide: true
|
|
324
|
+
},
|
|
330
325
|
watchSlidesVisibility: true,
|
|
331
326
|
noSwipingClass: classes.noSwiping,
|
|
332
327
|
breakpoints: showNextSlide ? _slidesSettings["default"] : undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-core",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"styles"
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"react-popper": "^2.2.3",
|
|
100
100
|
"swiper": "^6.5.6"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "6fb73f4aaf8dc9763ef2ad29fb4ed3a4a2f96c8e"
|
|
103
103
|
}
|