@semcore/carousel 3.15.1 → 3.16.0-prerelease.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 +7 -1
- package/README.md +1 -1
- package/lib/cjs/Carousel.js +12 -12
- package/lib/es6/Carousel.js +12 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [3.
|
|
5
|
+
## [3.16.0-prerelease.0] - 2023-11-10
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version preminor update due to children dependencies update (`@semcore/icon` [4.14.1 ~> 4.15.0]).
|
|
10
|
+
|
|
11
|
+
## [3.15.1] - 2023-11-09
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
8
14
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/@semcore/carousel)
|
|
5
5
|
[](https://github.com/semrush/intergalactic/blob/master/LICENSE)
|
|
6
6
|
|
|
7
|
-
> This component is part of the Intergalactic
|
|
7
|
+
> This component is part of the Intergalactic Design System
|
|
8
8
|
|
|
9
9
|
### 📖 [Component documentation](https://developer.semrush.com/intergalactic/components/carousel/)
|
|
10
10
|
|
package/lib/cjs/Carousel.js
CHANGED
|
@@ -24,18 +24,18 @@ var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
|
|
|
24
24
|
var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
|
|
25
25
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
|
26
26
|
/*__reshadow-styles__:"./style/carousel.shadow.css"*/
|
|
27
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
28
|
-
"__SCarousel": "
|
|
29
|
-
"__SContainer": "
|
|
30
|
-
"--duration": "--
|
|
31
|
-
"__SItem": "
|
|
32
|
-
"--transform": "--
|
|
33
|
-
"__SIndicators": "
|
|
34
|
-
"__SIndicator": "
|
|
35
|
-
"_active": "
|
|
36
|
-
"__SPrev": "
|
|
37
|
-
"__SNext": "
|
|
38
|
-
"_disabled": "
|
|
27
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SCarousel_15q5l_gg_{overflow:hidden;outline:0}.___SContainer_15q5l_gg_{display:flex;transition:transform var(--duration_15q5l) ease-in-out}.___SItem_15q5l_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_15q5l);border-radius:var(--intergalactic-surface-rounded, 6px);overflow:hidden}.___SIndicators_15q5l_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px)}.___SIndicator_15q5l_gg_{margin:0 calc(.5*var(--intergalactic-spacing-3x, 12px));cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-control-rounded, 6px);background-color:var(--intergalactic-icon-secondary-neutral, #a9abb6);opacity:var(--intergalactic-disabled-opacity, 0.3);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@media (hover:hover){.___SIndicator_15q5l_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.3))}}.___SIndicator_15q5l_gg_.__active_15q5l_gg_{opacity:1}.___SNext_15q5l_gg_,.___SPrev_15q5l_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SPrev_15q5l_gg_{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SNext_15q5l_gg_{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SNext_15q5l_gg_.__disabled_15q5l_gg_,.___SPrev_15q5l_gg_.__disabled_15q5l_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_15q5l_gg_{transition:none}}" /*__inner_css_end__*/, "15q5l_gg_") /*__reshadow_css_end__*/, {
|
|
28
|
+
"__SCarousel": "___SCarousel_15q5l_gg_",
|
|
29
|
+
"__SContainer": "___SContainer_15q5l_gg_",
|
|
30
|
+
"--duration": "--duration_15q5l",
|
|
31
|
+
"__SItem": "___SItem_15q5l_gg_",
|
|
32
|
+
"--transform": "--transform_15q5l",
|
|
33
|
+
"__SIndicators": "___SIndicators_15q5l_gg_",
|
|
34
|
+
"__SIndicator": "___SIndicator_15q5l_gg_",
|
|
35
|
+
"_active": "__active_15q5l_gg_",
|
|
36
|
+
"__SPrev": "___SPrev_15q5l_gg_",
|
|
37
|
+
"__SNext": "___SNext_15q5l_gg_",
|
|
38
|
+
"_disabled": "__disabled_15q5l_gg_"
|
|
39
39
|
});
|
|
40
40
|
var position = {
|
|
41
41
|
getItemMin: function getItemMin(items) {
|
package/lib/es6/Carousel.js
CHANGED
|
@@ -25,18 +25,18 @@ import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
|
|
|
25
25
|
import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
26
26
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
27
27
|
/*__reshadow-styles__:"./style/carousel.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
29
|
-
"__SCarousel": "
|
|
30
|
-
"__SContainer": "
|
|
31
|
-
"--duration": "--
|
|
32
|
-
"__SItem": "
|
|
33
|
-
"--transform": "--
|
|
34
|
-
"__SIndicators": "
|
|
35
|
-
"__SIndicator": "
|
|
36
|
-
"_active": "
|
|
37
|
-
"__SPrev": "
|
|
38
|
-
"__SNext": "
|
|
39
|
-
"_disabled": "
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCarousel_15q5l_gg_{overflow:hidden;outline:0}.___SContainer_15q5l_gg_{display:flex;transition:transform var(--duration_15q5l) ease-in-out}.___SItem_15q5l_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_15q5l);border-radius:var(--intergalactic-surface-rounded, 6px);overflow:hidden}.___SIndicators_15q5l_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px)}.___SIndicator_15q5l_gg_{margin:0 calc(.5*var(--intergalactic-spacing-3x, 12px));cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-control-rounded, 6px);background-color:var(--intergalactic-icon-secondary-neutral, #a9abb6);opacity:var(--intergalactic-disabled-opacity, 0.3);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@media (hover:hover){.___SIndicator_15q5l_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.3))}}.___SIndicator_15q5l_gg_.__active_15q5l_gg_{opacity:1}.___SNext_15q5l_gg_,.___SPrev_15q5l_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SPrev_15q5l_gg_{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SNext_15q5l_gg_{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SNext_15q5l_gg_.__disabled_15q5l_gg_,.___SPrev_15q5l_gg_.__disabled_15q5l_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_15q5l_gg_{transition:none}}" /*__inner_css_end__*/, "15q5l_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__SCarousel": "___SCarousel_15q5l_gg_",
|
|
30
|
+
"__SContainer": "___SContainer_15q5l_gg_",
|
|
31
|
+
"--duration": "--duration_15q5l",
|
|
32
|
+
"__SItem": "___SItem_15q5l_gg_",
|
|
33
|
+
"--transform": "--transform_15q5l",
|
|
34
|
+
"__SIndicators": "___SIndicators_15q5l_gg_",
|
|
35
|
+
"__SIndicator": "___SIndicator_15q5l_gg_",
|
|
36
|
+
"_active": "__active_15q5l_gg_",
|
|
37
|
+
"__SPrev": "___SPrev_15q5l_gg_",
|
|
38
|
+
"__SNext": "___SNext_15q5l_gg_",
|
|
39
|
+
"_disabled": "__disabled_15q5l_gg_"
|
|
40
40
|
});
|
|
41
41
|
var position = {
|
|
42
42
|
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": "3.
|
|
4
|
+
"version": "3.16.0-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@semcore/flex-box": "5.10.1",
|
|
13
|
-
"@semcore/icon": "4.
|
|
13
|
+
"@semcore/icon": "4.15.0-prerelease.0",
|
|
14
14
|
"@semcore/utils": "4.10.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|