@semcore/carousel 16.1.10-prerelease.5 → 16.1.10
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/lib/esm/Carousel.mjs +4 -4
- package/package.json +9 -9
package/lib/esm/Carousel.mjs
CHANGED
|
@@ -61,7 +61,7 @@ var BreakPoints = createBreakpoints(media);
|
|
|
61
61
|
var isSmallScreen = function isSmallScreen2(index) {
|
|
62
62
|
return index === 1;
|
|
63
63
|
};
|
|
64
|
-
var CarouselRoot = /* @__PURE__ */ function(_Component) {
|
|
64
|
+
var CarouselRoot = /* @__PURE__ */ (function(_Component) {
|
|
65
65
|
function CarouselRoot2(props) {
|
|
66
66
|
var _ref18, _props$index;
|
|
67
67
|
var _this;
|
|
@@ -513,7 +513,7 @@ var CarouselRoot = /* @__PURE__ */ function(_Component) {
|
|
|
513
513
|
})));
|
|
514
514
|
}
|
|
515
515
|
}]);
|
|
516
|
-
}(Component);
|
|
516
|
+
})(Component);
|
|
517
517
|
_defineProperty(CarouselRoot, "displayName", "Carousel");
|
|
518
518
|
_defineProperty(CarouselRoot, "defaultProps", {
|
|
519
519
|
defaultIndex: 0,
|
|
@@ -541,7 +541,7 @@ var ContentBox = function ContentBox2(props) {
|
|
|
541
541
|
var styles = props.styles;
|
|
542
542
|
return _ref11 = sstyled(styles), /* @__PURE__ */ React.createElement(SContentBox, _ref11.cn("SContentBox", _objectSpread({}, assignProps({}, _ref4))));
|
|
543
543
|
};
|
|
544
|
-
var Item = /* @__PURE__ */ function(_Component2) {
|
|
544
|
+
var Item = /* @__PURE__ */ (function(_Component2) {
|
|
545
545
|
function Item2() {
|
|
546
546
|
var _this7;
|
|
547
547
|
_classCallCheck(this, Item2);
|
|
@@ -605,7 +605,7 @@ var Item = /* @__PURE__ */ function(_Component2) {
|
|
|
605
605
|
}, _ref5))));
|
|
606
606
|
}
|
|
607
607
|
}]);
|
|
608
|
-
}(Component);
|
|
608
|
+
})(Component);
|
|
609
609
|
var Prev = function Prev2(props) {
|
|
610
610
|
var _ref6 = arguments[0], _ref13;
|
|
611
611
|
var styles = props.styles, children = props.children, Children = props.Children, label = props.label, _props$top = props.top, top = _props$top === void 0 ? 0 : _props$top, inverted = props.inverted;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/carousel",
|
|
3
3
|
"description": "Semrush Carousel Component",
|
|
4
|
-
"version": "16.1.10
|
|
4
|
+
"version": "16.1.10",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/icon": "16.5.1
|
|
18
|
-
"@semcore/button": "16.0.10
|
|
19
|
-
"@semcore/modal": "16.1.10
|
|
20
|
-
"@semcore/flex-box": "16.0.10
|
|
21
|
-
"@semcore/breakpoints": "16.0.10
|
|
17
|
+
"@semcore/icon": "16.5.1",
|
|
18
|
+
"@semcore/button": "16.0.10",
|
|
19
|
+
"@semcore/modal": "16.1.10",
|
|
20
|
+
"@semcore/flex-box": "16.0.10",
|
|
21
|
+
"@semcore/breakpoints": "16.0.10"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@semcore/base-components": "^16.
|
|
24
|
+
"@semcore/base-components": "^16.0.0"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"directory": "semcore/carousel"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@semcore/
|
|
33
|
-
"@semcore/
|
|
32
|
+
"@semcore/testing-utils": "1.0.0",
|
|
33
|
+
"@semcore/core": "16.5.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "pnpm semcore-builder --source=js,ts && pnpm vite build"
|