@semcore/carousel 2.2.0 → 2.2.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 +6 -0
- package/lib/cjs/Carousel.js +13 -13
- package/lib/es6/Carousel.js +13 -13
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
package/lib/cjs/Carousel.js
CHANGED
|
@@ -56,22 +56,22 @@ var style = (
|
|
|
56
56
|
/*__reshadow_css_start__*/
|
|
57
57
|
_core.sstyled.insert(
|
|
58
58
|
/*__inner_css_start__*/
|
|
59
|
-
".
|
|
59
|
+
".___SCarousel_9zczy_gg_{overflow:hidden;outline:none}.___SContainer_9zczy_gg_{display:flex;transition:transform var(--duration_9zczy) ease-in-out}.___SItem_9zczy_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_9zczy);border-radius:var(--intergalactic-rounded-medium,6px);overflow:hidden}.___SIndicators_9zczy_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x,16px)}.___SIndicator_9zczy_gg_{margin:0 calc(var(--intergalactic-spacing-3x, 12px)*0.5);cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-rounded-medium,6px);background-color:var(--intergalactic-icon-secondary-neutral,#a9abb6);opacity:var(--intergalactic-disabled-opacity,.3);-o-object-fit:cover;object-fit:cover;transition:opacity .1s ease-in-out}.___SIndicator_9zczy_gg_:hover{opacity:calc(var(--intergalactic-disabled-opacity, .3)*2)}.___SIndicator_9zczy_gg_.__active_9zczy_gg_{opacity:1}.___SNext_9zczy_gg_,.___SPrev_9zczy_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.___SPrev_9zczy_gg_{margin-right:var(--intergalactic-spacing-3x,12px)}.___SNext_9zczy_gg_{margin-left:var(--intergalactic-spacing-3x,12px)}.___SNext_9zczy_gg_.__disabled_9zczy_gg_,.___SPrev_9zczy_gg_.__disabled_9zczy_gg_{opacity:var(--intergalactic-disabled-opacity,.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_9zczy_gg_{transition:none}}"
|
|
60
60
|
/*__inner_css_end__*/
|
|
61
|
-
, "
|
|
61
|
+
, "9zczy_gg_")
|
|
62
62
|
/*__reshadow_css_end__*/
|
|
63
63
|
, {
|
|
64
|
-
"__SCarousel": "
|
|
65
|
-
"__SContainer": "
|
|
66
|
-
"--duration": "--
|
|
67
|
-
"__SItem": "
|
|
68
|
-
"--transform": "--
|
|
69
|
-
"__SIndicators": "
|
|
70
|
-
"__SIndicator": "
|
|
71
|
-
"_active": "
|
|
72
|
-
"__SNext": "
|
|
73
|
-
"__SPrev": "
|
|
74
|
-
"_disabled": "
|
|
64
|
+
"__SCarousel": "___SCarousel_9zczy_gg_",
|
|
65
|
+
"__SContainer": "___SContainer_9zczy_gg_",
|
|
66
|
+
"--duration": "--duration_9zczy",
|
|
67
|
+
"__SItem": "___SItem_9zczy_gg_",
|
|
68
|
+
"--transform": "--transform_9zczy",
|
|
69
|
+
"__SIndicators": "___SIndicators_9zczy_gg_",
|
|
70
|
+
"__SIndicator": "___SIndicator_9zczy_gg_",
|
|
71
|
+
"_active": "__active_9zczy_gg_",
|
|
72
|
+
"__SNext": "___SNext_9zczy_gg_",
|
|
73
|
+
"__SPrev": "___SPrev_9zczy_gg_",
|
|
74
|
+
"_disabled": "__disabled_9zczy_gg_"
|
|
75
75
|
});
|
|
76
76
|
var position = {
|
|
77
77
|
getItemMin: function getItemMin(items) {
|
package/lib/es6/Carousel.js
CHANGED
|
@@ -37,22 +37,22 @@ var style = (
|
|
|
37
37
|
/*__reshadow_css_start__*/
|
|
38
38
|
_sstyled.insert(
|
|
39
39
|
/*__inner_css_start__*/
|
|
40
|
-
".
|
|
40
|
+
".___SCarousel_9zczy_gg_{overflow:hidden;outline:none}.___SContainer_9zczy_gg_{display:flex;transition:transform var(--duration_9zczy) ease-in-out}.___SItem_9zczy_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_9zczy);border-radius:var(--intergalactic-rounded-medium,6px);overflow:hidden}.___SIndicators_9zczy_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x,16px)}.___SIndicator_9zczy_gg_{margin:0 calc(var(--intergalactic-spacing-3x, 12px)*0.5);cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-rounded-medium,6px);background-color:var(--intergalactic-icon-secondary-neutral,#a9abb6);opacity:var(--intergalactic-disabled-opacity,.3);-o-object-fit:cover;object-fit:cover;transition:opacity .1s ease-in-out}.___SIndicator_9zczy_gg_:hover{opacity:calc(var(--intergalactic-disabled-opacity, .3)*2)}.___SIndicator_9zczy_gg_.__active_9zczy_gg_{opacity:1}.___SNext_9zczy_gg_,.___SPrev_9zczy_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.___SPrev_9zczy_gg_{margin-right:var(--intergalactic-spacing-3x,12px)}.___SNext_9zczy_gg_{margin-left:var(--intergalactic-spacing-3x,12px)}.___SNext_9zczy_gg_.__disabled_9zczy_gg_,.___SPrev_9zczy_gg_.__disabled_9zczy_gg_{opacity:var(--intergalactic-disabled-opacity,.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_9zczy_gg_{transition:none}}"
|
|
41
41
|
/*__inner_css_end__*/
|
|
42
|
-
, "
|
|
42
|
+
, "9zczy_gg_")
|
|
43
43
|
/*__reshadow_css_end__*/
|
|
44
44
|
, {
|
|
45
|
-
"__SCarousel": "
|
|
46
|
-
"__SContainer": "
|
|
47
|
-
"--duration": "--
|
|
48
|
-
"__SItem": "
|
|
49
|
-
"--transform": "--
|
|
50
|
-
"__SIndicators": "
|
|
51
|
-
"__SIndicator": "
|
|
52
|
-
"_active": "
|
|
53
|
-
"__SNext": "
|
|
54
|
-
"__SPrev": "
|
|
55
|
-
"_disabled": "
|
|
45
|
+
"__SCarousel": "___SCarousel_9zczy_gg_",
|
|
46
|
+
"__SContainer": "___SContainer_9zczy_gg_",
|
|
47
|
+
"--duration": "--duration_9zczy",
|
|
48
|
+
"__SItem": "___SItem_9zczy_gg_",
|
|
49
|
+
"--transform": "--transform_9zczy",
|
|
50
|
+
"__SIndicators": "___SIndicators_9zczy_gg_",
|
|
51
|
+
"__SIndicator": "___SIndicator_9zczy_gg_",
|
|
52
|
+
"_active": "__active_9zczy_gg_",
|
|
53
|
+
"__SNext": "___SNext_9zczy_gg_",
|
|
54
|
+
"__SPrev": "___SPrev_9zczy_gg_",
|
|
55
|
+
"_disabled": "__disabled_9zczy_gg_"
|
|
56
56
|
});
|
|
57
57
|
var position = {
|
|
58
58
|
getItemMin: function getItemMin(items) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/carousel",
|
|
3
3
|
"description": "Semrush Carousel Component",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@semcore/core": "^1.11",
|
|
18
|
-
"react": "16.8 - 18"
|
|
18
|
+
"react": "16.8 - 18",
|
|
19
|
+
"react-dom": "16.8 - 18"
|
|
19
20
|
},
|
|
20
21
|
"jest": {
|
|
21
22
|
"preset": "@semcore/jest-preset-ui"
|