@semcore/carousel 3.49.2 → 3.50.0-prerelease.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 +21 -21
- package/lib/cjs/style/carousel.shadow.css +11 -11
- package/lib/es6/Carousel.js +21 -21
- package/lib/es6/style/carousel.shadow.css +11 -11
- package/lib/esm/Carousel.mjs +22 -22
- package/lib/esm/style/carousel.shadow.css +11 -11
- package/package.json +8 -8
- package/src/style/carousel.shadow.css +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.50.0] - 2026-05-06
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version minor update due to children dependencies update (`@semcore/utils` [4.48.5 ~> 4.49.0], `@semcore/button` [5.43.3 ~> 5.44.0], `@semcore/breakpoints` [1.41.4 ~> 1.42.0]).
|
|
10
|
+
|
|
5
11
|
## [3.49.2] - 2025-05-13
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/Carousel.js
CHANGED
|
@@ -31,29 +31,29 @@ var _findComponent = require("@semcore/utils/lib/findComponent");
|
|
|
31
31
|
var _breakpoints = require("@semcore/breakpoints");
|
|
32
32
|
var _keyboardFocusEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/keyboardFocusEnhance"));
|
|
33
33
|
/*!__reshadow-styles__:"./style/carousel.shadow.css"*/
|
|
34
|
-
var style = ( /*__reshadow_css_start__*/_index2.sstyled.insert( /*__inner_css_start__*/".
|
|
34
|
+
var style = ( /*__reshadow_css_start__*/_index2.sstyled.insert( /*__inner_css_start__*/".___SCarousel_8zwws_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SContentBox_8zwws_gg_,.___SModalBox_8zwws_gg_{position:relative;overflow:hidden;border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px))}.___SContentBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after,.___SModalBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px}.___SModalContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SItem_8zwws_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_8zwws);border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px));overflow:hidden;outline:0}.___SItem_8zwws_gg_.__zoomIn_8zwws_gg_{cursor:zoom-in}.___SItem_8zwws_gg_.__zoomOut_8zwws_gg_{cursor:zoom-out}.___SIndicators_8zwws_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px);outline:0;position:relative}.___SIndicators_8zwws_gg_.__keyboardFocused_8zwws_gg_:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px);top:0;left:3px}.___SIndicator_8zwws_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, rgba(0, 5, 2, 0.385));opacity:var(--intergalactic-disabled-opacity, 0.4);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, color(display-p3 0.0036 0.02041 0.00996 / 0.385))}}}@media (hover:hover){.___SIndicator_8zwws_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.4))}}.___SIndicator_8zwws_gg_.__active_8zwws_gg_{opacity:1}.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, color(display-p3 0.99189 0.99995 0.99683 / 0.808))}}}.___SNext_8zwws_gg_,.___SPrev_8zwws_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, rgba(0, 4, 1, 0.526))}.___SNext_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SNext_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SNextButton_8zwws_gg_:focus-visible,.___SPrevButton_8zwws_gg_:focus-visible{box-shadow:none}.___SNextButton_8zwws_gg_:focus-visible:after,.___SPrevButton_8zwws_gg_:focus-visible:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SPrev_8zwws_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_.__disabled_8zwws_gg_,.___SPrev_8zwws_gg_.__disabled_8zwws_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_8zwws_gg_{transition:none}}", /*__inner_css_end__*/"8zwws_gg_"),
|
|
35
35
|
/*__reshadow_css_end__*/
|
|
36
36
|
{
|
|
37
|
-
"__SCarousel": "
|
|
38
|
-
"__SContainer": "
|
|
39
|
-
"--duration": "--
|
|
40
|
-
"__SModalContainer": "
|
|
41
|
-
"__SItem": "
|
|
42
|
-
"--transform": "--
|
|
43
|
-
"_zoomIn": "
|
|
44
|
-
"_zoomOut": "
|
|
45
|
-
"__SIndicators": "
|
|
46
|
-
"_keyboardFocused": "
|
|
47
|
-
"__SIndicator": "
|
|
48
|
-
"_active": "
|
|
49
|
-
"_inverted": "
|
|
50
|
-
"__SPrev": "
|
|
51
|
-
"__SNext": "
|
|
52
|
-
"_disabled": "
|
|
53
|
-
"__SContentBox": "
|
|
54
|
-
"__SModalBox": "
|
|
55
|
-
"__SPrevButton": "
|
|
56
|
-
"__SNextButton": "
|
|
37
|
+
"__SCarousel": "___SCarousel_8zwws_gg_",
|
|
38
|
+
"__SContainer": "___SContainer_8zwws_gg_",
|
|
39
|
+
"--duration": "--duration_8zwws",
|
|
40
|
+
"__SModalContainer": "___SModalContainer_8zwws_gg_",
|
|
41
|
+
"__SItem": "___SItem_8zwws_gg_",
|
|
42
|
+
"--transform": "--transform_8zwws",
|
|
43
|
+
"_zoomIn": "__zoomIn_8zwws_gg_",
|
|
44
|
+
"_zoomOut": "__zoomOut_8zwws_gg_",
|
|
45
|
+
"__SIndicators": "___SIndicators_8zwws_gg_",
|
|
46
|
+
"_keyboardFocused": "__keyboardFocused_8zwws_gg_",
|
|
47
|
+
"__SIndicator": "___SIndicator_8zwws_gg_",
|
|
48
|
+
"_active": "__active_8zwws_gg_",
|
|
49
|
+
"_inverted": "__inverted_8zwws_gg_",
|
|
50
|
+
"__SPrev": "___SPrev_8zwws_gg_",
|
|
51
|
+
"__SNext": "___SNext_8zwws_gg_",
|
|
52
|
+
"_disabled": "__disabled_8zwws_gg_",
|
|
53
|
+
"__SContentBox": "___SContentBox_8zwws_gg_",
|
|
54
|
+
"__SModalBox": "___SModalBox_8zwws_gg_",
|
|
55
|
+
"__SPrevButton": "___SPrevButton_8zwws_gg_",
|
|
56
|
+
"__SNextButton": "___SNextButton_8zwws_gg_"
|
|
57
57
|
});
|
|
58
58
|
var MAP_TRANSFORM = {
|
|
59
59
|
ArrowLeft: 'left',
|
|
@@ -13,13 +13,13 @@ SContainer {
|
|
|
13
13
|
SContentBox, SModalBox {
|
|
14
14
|
position: relative;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
16
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
17
17
|
&:has(SItem[keyboardFocused]) {
|
|
18
18
|
&:after {
|
|
19
19
|
content: '';
|
|
20
20
|
display: block;
|
|
21
21
|
position: absolute;
|
|
22
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
22
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
23
23
|
z-index: 1;
|
|
24
24
|
width: calc(100% - 3px * 2);
|
|
25
25
|
height: calc(100% - 3px * 2);
|
|
@@ -39,7 +39,7 @@ SItem {
|
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
transform: var(--transform);
|
|
42
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
42
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
outline: none;
|
|
45
45
|
}
|
|
@@ -63,7 +63,7 @@ SIndicators[keyboardFocused]:after {
|
|
|
63
63
|
content: '';
|
|
64
64
|
display: block;
|
|
65
65
|
position: absolute;
|
|
66
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
66
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
67
67
|
z-index: 1;
|
|
68
68
|
width: calc(100% - 3px * 2);
|
|
69
69
|
height: calc(100% - 3px);
|
|
@@ -78,14 +78,14 @@ SIndicator {
|
|
|
78
78
|
width: 12px;
|
|
79
79
|
height: 12px;
|
|
80
80
|
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
81
|
-
background-color: var(--intergalactic-icon-secondary-neutral,
|
|
82
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
81
|
+
background-color: var(--intergalactic-icon-secondary-neutral, oklch(0.104 0.023 162.3 / 0.385));
|
|
82
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
83
83
|
object-fit: cover;
|
|
84
84
|
transition: ease-in-out opacity 0.1s;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
SIndicator:hover {
|
|
88
|
-
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.
|
|
88
|
+
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.4));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
SIndicator[active] {
|
|
@@ -93,7 +93,7 @@ SIndicator[active] {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
SIndicator[inverted] {
|
|
96
|
-
background-color: var(--intergalactic-icon-primary-invert,
|
|
96
|
+
background-color: var(--intergalactic-icon-primary-invert, oklch(0.998 0.003 173.3 / 0.808));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
SPrev,
|
|
@@ -102,7 +102,7 @@ SNext {
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: center;
|
|
104
104
|
cursor: pointer;
|
|
105
|
-
color: var(--intergalactic-icon-primary-neutral,
|
|
105
|
+
color: var(--intergalactic-icon-primary-neutral, oklch(0.092 0.024 152.2 / 0.526));
|
|
106
106
|
|
|
107
107
|
SPrevButton span:has(> svg:only-child), SNextButton span:has(> svg:only-child) {
|
|
108
108
|
margin-left: calc(2 * var(--intergalactic-spacing-1x, 4px) - 1px);
|
|
@@ -117,7 +117,7 @@ SPrevButton, SNextButton {
|
|
|
117
117
|
content: '';
|
|
118
118
|
display: block;
|
|
119
119
|
position: absolute;
|
|
120
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
120
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
121
121
|
z-index: 1;
|
|
122
122
|
width: calc(100% - 3px * 2);
|
|
123
123
|
height: calc(100% - 3px * 2);
|
|
@@ -137,7 +137,7 @@ SNext {
|
|
|
137
137
|
|
|
138
138
|
SPrev[disabled],
|
|
139
139
|
SNext[disabled] {
|
|
140
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
140
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
141
141
|
cursor: default;
|
|
142
142
|
pointer-events: none;
|
|
143
143
|
}
|
package/lib/es6/Carousel.js
CHANGED
|
@@ -30,29 +30,29 @@ import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
|
|
|
30
30
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
31
31
|
import logger from '@semcore/utils/lib/logger';
|
|
32
32
|
/*!__reshadow-styles__:"./style/carousel.shadow.css"*/
|
|
33
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
33
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCarousel_8zwws_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SContentBox_8zwws_gg_,.___SModalBox_8zwws_gg_{position:relative;overflow:hidden;border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px))}.___SContentBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after,.___SModalBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px}.___SModalContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SItem_8zwws_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_8zwws);border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px));overflow:hidden;outline:0}.___SItem_8zwws_gg_.__zoomIn_8zwws_gg_{cursor:zoom-in}.___SItem_8zwws_gg_.__zoomOut_8zwws_gg_{cursor:zoom-out}.___SIndicators_8zwws_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px);outline:0;position:relative}.___SIndicators_8zwws_gg_.__keyboardFocused_8zwws_gg_:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px);top:0;left:3px}.___SIndicator_8zwws_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, rgba(0, 5, 2, 0.385));opacity:var(--intergalactic-disabled-opacity, 0.4);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, color(display-p3 0.0036 0.02041 0.00996 / 0.385))}}}@media (hover:hover){.___SIndicator_8zwws_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.4))}}.___SIndicator_8zwws_gg_.__active_8zwws_gg_{opacity:1}.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, color(display-p3 0.99189 0.99995 0.99683 / 0.808))}}}.___SNext_8zwws_gg_,.___SPrev_8zwws_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, rgba(0, 4, 1, 0.526))}.___SNext_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SNext_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SNextButton_8zwws_gg_:focus-visible,.___SPrevButton_8zwws_gg_:focus-visible{box-shadow:none}.___SNextButton_8zwws_gg_:focus-visible:after,.___SPrevButton_8zwws_gg_:focus-visible:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SPrev_8zwws_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_.__disabled_8zwws_gg_,.___SPrev_8zwws_gg_.__disabled_8zwws_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_8zwws_gg_{transition:none}}", /*__inner_css_end__*/"8zwws_gg_"),
|
|
34
34
|
/*__reshadow_css_end__*/
|
|
35
35
|
{
|
|
36
|
-
"__SCarousel": "
|
|
37
|
-
"__SContainer": "
|
|
38
|
-
"--duration": "--
|
|
39
|
-
"__SModalContainer": "
|
|
40
|
-
"__SItem": "
|
|
41
|
-
"--transform": "--
|
|
42
|
-
"_zoomIn": "
|
|
43
|
-
"_zoomOut": "
|
|
44
|
-
"__SIndicators": "
|
|
45
|
-
"_keyboardFocused": "
|
|
46
|
-
"__SIndicator": "
|
|
47
|
-
"_active": "
|
|
48
|
-
"_inverted": "
|
|
49
|
-
"__SPrev": "
|
|
50
|
-
"__SNext": "
|
|
51
|
-
"_disabled": "
|
|
52
|
-
"__SContentBox": "
|
|
53
|
-
"__SModalBox": "
|
|
54
|
-
"__SPrevButton": "
|
|
55
|
-
"__SNextButton": "
|
|
36
|
+
"__SCarousel": "___SCarousel_8zwws_gg_",
|
|
37
|
+
"__SContainer": "___SContainer_8zwws_gg_",
|
|
38
|
+
"--duration": "--duration_8zwws",
|
|
39
|
+
"__SModalContainer": "___SModalContainer_8zwws_gg_",
|
|
40
|
+
"__SItem": "___SItem_8zwws_gg_",
|
|
41
|
+
"--transform": "--transform_8zwws",
|
|
42
|
+
"_zoomIn": "__zoomIn_8zwws_gg_",
|
|
43
|
+
"_zoomOut": "__zoomOut_8zwws_gg_",
|
|
44
|
+
"__SIndicators": "___SIndicators_8zwws_gg_",
|
|
45
|
+
"_keyboardFocused": "__keyboardFocused_8zwws_gg_",
|
|
46
|
+
"__SIndicator": "___SIndicator_8zwws_gg_",
|
|
47
|
+
"_active": "__active_8zwws_gg_",
|
|
48
|
+
"_inverted": "__inverted_8zwws_gg_",
|
|
49
|
+
"__SPrev": "___SPrev_8zwws_gg_",
|
|
50
|
+
"__SNext": "___SNext_8zwws_gg_",
|
|
51
|
+
"_disabled": "__disabled_8zwws_gg_",
|
|
52
|
+
"__SContentBox": "___SContentBox_8zwws_gg_",
|
|
53
|
+
"__SModalBox": "___SModalBox_8zwws_gg_",
|
|
54
|
+
"__SPrevButton": "___SPrevButton_8zwws_gg_",
|
|
55
|
+
"__SNextButton": "___SNextButton_8zwws_gg_"
|
|
56
56
|
});
|
|
57
57
|
import { findAllComponents } from '@semcore/utils/lib/findComponent';
|
|
58
58
|
import { createBreakpoints } from '@semcore/breakpoints';
|
|
@@ -13,13 +13,13 @@ SContainer {
|
|
|
13
13
|
SContentBox, SModalBox {
|
|
14
14
|
position: relative;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
16
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
17
17
|
&:has(SItem[keyboardFocused]) {
|
|
18
18
|
&:after {
|
|
19
19
|
content: '';
|
|
20
20
|
display: block;
|
|
21
21
|
position: absolute;
|
|
22
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
22
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
23
23
|
z-index: 1;
|
|
24
24
|
width: calc(100% - 3px * 2);
|
|
25
25
|
height: calc(100% - 3px * 2);
|
|
@@ -39,7 +39,7 @@ SItem {
|
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
transform: var(--transform);
|
|
42
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
42
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
outline: none;
|
|
45
45
|
}
|
|
@@ -63,7 +63,7 @@ SIndicators[keyboardFocused]:after {
|
|
|
63
63
|
content: '';
|
|
64
64
|
display: block;
|
|
65
65
|
position: absolute;
|
|
66
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
66
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
67
67
|
z-index: 1;
|
|
68
68
|
width: calc(100% - 3px * 2);
|
|
69
69
|
height: calc(100% - 3px);
|
|
@@ -78,14 +78,14 @@ SIndicator {
|
|
|
78
78
|
width: 12px;
|
|
79
79
|
height: 12px;
|
|
80
80
|
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
81
|
-
background-color: var(--intergalactic-icon-secondary-neutral,
|
|
82
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
81
|
+
background-color: var(--intergalactic-icon-secondary-neutral, oklch(0.104 0.023 162.3 / 0.385));
|
|
82
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
83
83
|
object-fit: cover;
|
|
84
84
|
transition: ease-in-out opacity 0.1s;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
SIndicator:hover {
|
|
88
|
-
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.
|
|
88
|
+
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.4));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
SIndicator[active] {
|
|
@@ -93,7 +93,7 @@ SIndicator[active] {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
SIndicator[inverted] {
|
|
96
|
-
background-color: var(--intergalactic-icon-primary-invert,
|
|
96
|
+
background-color: var(--intergalactic-icon-primary-invert, oklch(0.998 0.003 173.3 / 0.808));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
SPrev,
|
|
@@ -102,7 +102,7 @@ SNext {
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: center;
|
|
104
104
|
cursor: pointer;
|
|
105
|
-
color: var(--intergalactic-icon-primary-neutral,
|
|
105
|
+
color: var(--intergalactic-icon-primary-neutral, oklch(0.092 0.024 152.2 / 0.526));
|
|
106
106
|
|
|
107
107
|
SPrevButton span:has(> svg:only-child), SNextButton span:has(> svg:only-child) {
|
|
108
108
|
margin-left: calc(2 * var(--intergalactic-spacing-1x, 4px) - 1px);
|
|
@@ -117,7 +117,7 @@ SPrevButton, SNextButton {
|
|
|
117
117
|
content: '';
|
|
118
118
|
display: block;
|
|
119
119
|
position: absolute;
|
|
120
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
120
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
121
121
|
z-index: 1;
|
|
122
122
|
width: calc(100% - 3px * 2);
|
|
123
123
|
height: calc(100% - 3px * 2);
|
|
@@ -137,7 +137,7 @@ SNext {
|
|
|
137
137
|
|
|
138
138
|
SPrev[disabled],
|
|
139
139
|
SNext[disabled] {
|
|
140
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
140
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
141
141
|
cursor: default;
|
|
142
142
|
pointer-events: none;
|
|
143
143
|
}
|
package/lib/esm/Carousel.mjs
CHANGED
|
@@ -27,31 +27,31 @@ var style = (
|
|
|
27
27
|
/*__reshadow_css_start__*/
|
|
28
28
|
(sstyled.insert(
|
|
29
29
|
/*__inner_css_start__*/
|
|
30
|
-
'.
|
|
30
|
+
'.___SCarousel_8zwws_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SContentBox_8zwws_gg_,.___SModalBox_8zwws_gg_{position:relative;overflow:hidden;border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px))}.___SContentBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after,.___SModalBox_8zwws_gg_:has(.___SItem_8zwws_gg_.__keyboardFocused_8zwws_gg_):after{content:"";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px}.___SModalContainer_8zwws_gg_{display:flex;transition:transform var(--duration_8zwws) ease-in-out}.___SItem_8zwws_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_8zwws);border-radius:var(--intergalactic-surface-rounded, calc(6px + 2px));overflow:hidden;outline:0}.___SItem_8zwws_gg_.__zoomIn_8zwws_gg_{cursor:zoom-in}.___SItem_8zwws_gg_.__zoomOut_8zwws_gg_{cursor:zoom-out}.___SIndicators_8zwws_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px);outline:0;position:relative}.___SIndicators_8zwws_gg_.__keyboardFocused_8zwws_gg_:after{content:"";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px);top:0;left:3px}.___SIndicator_8zwws_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, rgba(0, 5, 2, 0.385));opacity:var(--intergalactic-disabled-opacity, 0.4);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_{background-color:var(--intergalactic-icon-secondary-neutral, color(display-p3 0.0036 0.02041 0.00996 / 0.385))}}}@media (hover:hover){.___SIndicator_8zwws_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.4))}}.___SIndicator_8zwws_gg_.__active_8zwws_gg_{opacity:1}.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@supports (color:color(display-p3 0 0 0)){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, rgba(253, 255, 254, 0.808))}@media (color-gamut:p3){.___SIndicator_8zwws_gg_.__inverted_8zwws_gg_{background-color:var(--intergalactic-icon-primary-invert, color(display-p3 0.99189 0.99995 0.99683 / 0.808))}}}.___SNext_8zwws_gg_,.___SPrev_8zwws_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, rgba(0, 4, 1, 0.526))}.___SNext_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SNext_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SNextButton_8zwws_gg_ span:has(>svg:only-child),.___SPrev_8zwws_gg_ .___SPrevButton_8zwws_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SNextButton_8zwws_gg_:focus-visible,.___SPrevButton_8zwws_gg_:focus-visible{box-shadow:none}.___SNextButton_8zwws_gg_:focus-visible:after,.___SPrevButton_8zwws_gg_:focus-visible:after{content:"";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SPrev_8zwws_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_8zwws_gg_.__disabled_8zwws_gg_,.___SPrev_8zwws_gg_.__disabled_8zwws_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_8zwws_gg_{transition:none}}',
|
|
31
31
|
/*__inner_css_end__*/
|
|
32
|
-
"
|
|
32
|
+
"8zwws_gg_"
|
|
33
33
|
), /*__reshadow_css_end__*/
|
|
34
34
|
{
|
|
35
|
-
"__SCarousel": "
|
|
36
|
-
"__SContainer": "
|
|
37
|
-
"--duration": "--
|
|
38
|
-
"__SModalContainer": "
|
|
39
|
-
"__SItem": "
|
|
40
|
-
"--transform": "--
|
|
41
|
-
"_zoomIn": "
|
|
42
|
-
"_zoomOut": "
|
|
43
|
-
"__SIndicators": "
|
|
44
|
-
"_keyboardFocused": "
|
|
45
|
-
"__SIndicator": "
|
|
46
|
-
"_active": "
|
|
47
|
-
"_inverted": "
|
|
48
|
-
"__SPrev": "
|
|
49
|
-
"__SNext": "
|
|
50
|
-
"_disabled": "
|
|
51
|
-
"__SContentBox": "
|
|
52
|
-
"__SModalBox": "
|
|
53
|
-
"__SPrevButton": "
|
|
54
|
-
"__SNextButton": "
|
|
35
|
+
"__SCarousel": "___SCarousel_8zwws_gg_",
|
|
36
|
+
"__SContainer": "___SContainer_8zwws_gg_",
|
|
37
|
+
"--duration": "--duration_8zwws",
|
|
38
|
+
"__SModalContainer": "___SModalContainer_8zwws_gg_",
|
|
39
|
+
"__SItem": "___SItem_8zwws_gg_",
|
|
40
|
+
"--transform": "--transform_8zwws",
|
|
41
|
+
"_zoomIn": "__zoomIn_8zwws_gg_",
|
|
42
|
+
"_zoomOut": "__zoomOut_8zwws_gg_",
|
|
43
|
+
"__SIndicators": "___SIndicators_8zwws_gg_",
|
|
44
|
+
"_keyboardFocused": "__keyboardFocused_8zwws_gg_",
|
|
45
|
+
"__SIndicator": "___SIndicator_8zwws_gg_",
|
|
46
|
+
"_active": "__active_8zwws_gg_",
|
|
47
|
+
"_inverted": "__inverted_8zwws_gg_",
|
|
48
|
+
"__SPrev": "___SPrev_8zwws_gg_",
|
|
49
|
+
"__SNext": "___SNext_8zwws_gg_",
|
|
50
|
+
"_disabled": "__disabled_8zwws_gg_",
|
|
51
|
+
"__SContentBox": "___SContentBox_8zwws_gg_",
|
|
52
|
+
"__SModalBox": "___SModalBox_8zwws_gg_",
|
|
53
|
+
"__SPrevButton": "___SPrevButton_8zwws_gg_",
|
|
54
|
+
"__SNextButton": "___SNextButton_8zwws_gg_"
|
|
55
55
|
})
|
|
56
56
|
);
|
|
57
57
|
var MAP_TRANSFORM = {
|
|
@@ -13,13 +13,13 @@ SContainer {
|
|
|
13
13
|
SContentBox, SModalBox {
|
|
14
14
|
position: relative;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
16
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
17
17
|
&:has(SItem[keyboardFocused]) {
|
|
18
18
|
&:after {
|
|
19
19
|
content: '';
|
|
20
20
|
display: block;
|
|
21
21
|
position: absolute;
|
|
22
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
22
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
23
23
|
z-index: 1;
|
|
24
24
|
width: calc(100% - 3px * 2);
|
|
25
25
|
height: calc(100% - 3px * 2);
|
|
@@ -39,7 +39,7 @@ SItem {
|
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
transform: var(--transform);
|
|
42
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
42
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
outline: none;
|
|
45
45
|
}
|
|
@@ -63,7 +63,7 @@ SIndicators[keyboardFocused]:after {
|
|
|
63
63
|
content: '';
|
|
64
64
|
display: block;
|
|
65
65
|
position: absolute;
|
|
66
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
66
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
67
67
|
z-index: 1;
|
|
68
68
|
width: calc(100% - 3px * 2);
|
|
69
69
|
height: calc(100% - 3px);
|
|
@@ -78,14 +78,14 @@ SIndicator {
|
|
|
78
78
|
width: 12px;
|
|
79
79
|
height: 12px;
|
|
80
80
|
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
81
|
-
background-color: var(--intergalactic-icon-secondary-neutral,
|
|
82
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
81
|
+
background-color: var(--intergalactic-icon-secondary-neutral, oklch(0.104 0.023 162.3 / 0.385));
|
|
82
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
83
83
|
object-fit: cover;
|
|
84
84
|
transition: ease-in-out opacity 0.1s;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
SIndicator:hover {
|
|
88
|
-
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.
|
|
88
|
+
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.4));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
SIndicator[active] {
|
|
@@ -93,7 +93,7 @@ SIndicator[active] {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
SIndicator[inverted] {
|
|
96
|
-
background-color: var(--intergalactic-icon-primary-invert,
|
|
96
|
+
background-color: var(--intergalactic-icon-primary-invert, oklch(0.998 0.003 173.3 / 0.808));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
SPrev,
|
|
@@ -102,7 +102,7 @@ SNext {
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: center;
|
|
104
104
|
cursor: pointer;
|
|
105
|
-
color: var(--intergalactic-icon-primary-neutral,
|
|
105
|
+
color: var(--intergalactic-icon-primary-neutral, oklch(0.092 0.024 152.2 / 0.526));
|
|
106
106
|
|
|
107
107
|
SPrevButton span:has(> svg:only-child), SNextButton span:has(> svg:only-child) {
|
|
108
108
|
margin-left: calc(2 * var(--intergalactic-spacing-1x, 4px) - 1px);
|
|
@@ -117,7 +117,7 @@ SPrevButton, SNextButton {
|
|
|
117
117
|
content: '';
|
|
118
118
|
display: block;
|
|
119
119
|
position: absolute;
|
|
120
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
120
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
121
121
|
z-index: 1;
|
|
122
122
|
width: calc(100% - 3px * 2);
|
|
123
123
|
height: calc(100% - 3px * 2);
|
|
@@ -137,7 +137,7 @@ SNext {
|
|
|
137
137
|
|
|
138
138
|
SPrev[disabled],
|
|
139
139
|
SNext[disabled] {
|
|
140
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
140
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
141
141
|
cursor: default;
|
|
142
142
|
pointer-events: none;
|
|
143
143
|
}
|
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.50.0-prerelease.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "5.
|
|
18
|
-
"@semcore/icon": "4.
|
|
19
|
-
"@semcore/utils": "4.
|
|
20
|
-
"@semcore/button": "5.
|
|
21
|
-
"@semcore/modal": "4.
|
|
22
|
-
"@semcore/breakpoints": "1.
|
|
17
|
+
"@semcore/flex-box": "5.42.0-prerelease.1",
|
|
18
|
+
"@semcore/icon": "4.63.0-prerelease.1",
|
|
19
|
+
"@semcore/utils": "4.49.0-prerelease.1",
|
|
20
|
+
"@semcore/button": "5.44.0-prerelease.1",
|
|
21
|
+
"@semcore/modal": "4.57.0-prerelease.1",
|
|
22
|
+
"@semcore/breakpoints": "1.42.0-prerelease.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@semcore/core": "^2.
|
|
25
|
+
"@semcore/core": "^2.40.0-prerelease.1",
|
|
26
26
|
"react": "16.8 - 18",
|
|
27
27
|
"react-dom": "16.8 - 18"
|
|
28
28
|
},
|
|
@@ -13,13 +13,13 @@ SContainer {
|
|
|
13
13
|
SContentBox, SModalBox {
|
|
14
14
|
position: relative;
|
|
15
15
|
overflow: hidden;
|
|
16
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
16
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
17
17
|
&:has(SItem[keyboardFocused]) {
|
|
18
18
|
&:after {
|
|
19
19
|
content: '';
|
|
20
20
|
display: block;
|
|
21
21
|
position: absolute;
|
|
22
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
22
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
23
23
|
z-index: 1;
|
|
24
24
|
width: calc(100% - 3px * 2);
|
|
25
25
|
height: calc(100% - 3px * 2);
|
|
@@ -39,7 +39,7 @@ SItem {
|
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
transform: var(--transform);
|
|
42
|
-
border-radius: var(--intergalactic-surface-rounded, 6px);
|
|
42
|
+
border-radius: var(--intergalactic-surface-rounded, calc(6px + 2px));
|
|
43
43
|
overflow: hidden;
|
|
44
44
|
outline: none;
|
|
45
45
|
}
|
|
@@ -63,7 +63,7 @@ SIndicators[keyboardFocused]:after {
|
|
|
63
63
|
content: '';
|
|
64
64
|
display: block;
|
|
65
65
|
position: absolute;
|
|
66
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
66
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
67
67
|
z-index: 1;
|
|
68
68
|
width: calc(100% - 3px * 2);
|
|
69
69
|
height: calc(100% - 3px);
|
|
@@ -78,14 +78,14 @@ SIndicator {
|
|
|
78
78
|
width: 12px;
|
|
79
79
|
height: 12px;
|
|
80
80
|
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
81
|
-
background-color: var(--intergalactic-icon-secondary-neutral,
|
|
82
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
81
|
+
background-color: var(--intergalactic-icon-secondary-neutral, oklch(0.104 0.023 162.3 / 0.385));
|
|
82
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
83
83
|
object-fit: cover;
|
|
84
84
|
transition: ease-in-out opacity 0.1s;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
SIndicator:hover {
|
|
88
|
-
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.
|
|
88
|
+
opacity: calc(2 * var(--intergalactic-disabled-opacity, 0.4));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
SIndicator[active] {
|
|
@@ -93,7 +93,7 @@ SIndicator[active] {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
SIndicator[inverted] {
|
|
96
|
-
background-color: var(--intergalactic-icon-primary-invert,
|
|
96
|
+
background-color: var(--intergalactic-icon-primary-invert, oklch(0.998 0.003 173.3 / 0.808));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
SPrev,
|
|
@@ -102,7 +102,7 @@ SNext {
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: center;
|
|
104
104
|
cursor: pointer;
|
|
105
|
-
color: var(--intergalactic-icon-primary-neutral,
|
|
105
|
+
color: var(--intergalactic-icon-primary-neutral, oklch(0.092 0.024 152.2 / 0.526));
|
|
106
106
|
|
|
107
107
|
SPrevButton span:has(> svg:only-child), SNextButton span:has(> svg:only-child) {
|
|
108
108
|
margin-left: calc(2 * var(--intergalactic-spacing-1x, 4px) - 1px);
|
|
@@ -117,7 +117,7 @@ SPrevButton, SNextButton {
|
|
|
117
117
|
content: '';
|
|
118
118
|
display: block;
|
|
119
119
|
position: absolute;
|
|
120
|
-
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px
|
|
120
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
|
|
121
121
|
z-index: 1;
|
|
122
122
|
width: calc(100% - 3px * 2);
|
|
123
123
|
height: calc(100% - 3px * 2);
|
|
@@ -137,7 +137,7 @@ SNext {
|
|
|
137
137
|
|
|
138
138
|
SPrev[disabled],
|
|
139
139
|
SNext[disabled] {
|
|
140
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
140
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
141
141
|
cursor: default;
|
|
142
142
|
pointer-events: none;
|
|
143
143
|
}
|