@snack-uikit/carousel 0.5.1 → 0.5.2-preview-ef227a87.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.
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
outline-color:transparent;
|
|
20
20
|
box-shadow:var(--box-shadow-elevation-level3, 0px 0px 8px 0px rgba(0, 0, 0, 0.0784313725), 0px 8px 16px 0px rgba(0, 0, 0, 0.0784313725));
|
|
21
21
|
}
|
|
22
|
-
.control:hover, .control:focus-visible{
|
|
22
|
+
.control:hover, .control:focus, .control:focus-visible{
|
|
23
23
|
color:var(--sys-neutral-text-main, #41424e);
|
|
24
24
|
}
|
|
25
25
|
.control:hover{
|
|
26
26
|
box-shadow:var(--box-shadow-elevation-level4, 0px 0px 8px 0px rgba(0, 0, 0, 0.0784313725), 0px 16px 16px 0px rgba(0, 0, 0, 0.0784313725));
|
|
27
27
|
}
|
|
28
|
-
.control:focus-visible{
|
|
28
|
+
.control:focus, .control:focus-visible{
|
|
29
29
|
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
30
30
|
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
31
31
|
outline-color:var(--border-state-focus-s-border-color, );
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
right:calc(var(--size-carousel-control-wrap-width, 20px) - var(--size-carousel-control-container, 40px));
|
|
38
38
|
left:auto;
|
|
39
39
|
}
|
|
40
|
-
.control[data-variant=next]:focus-visible{
|
|
40
|
+
.control[data-variant=next]:focus, .control[data-variant=next]:focus-visible{
|
|
41
41
|
outline-offset:var(--dimension-025m, 2px);
|
|
42
42
|
}
|
|
43
43
|
.control[data-variant=next] .icon{
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
outline-color:transparent;
|
|
20
20
|
box-shadow:var(--box-shadow-elevation-level3, 0px 0px 8px 0px rgba(0, 0, 0, 0.0784313725), 0px 8px 16px 0px rgba(0, 0, 0, 0.0784313725));
|
|
21
21
|
}
|
|
22
|
-
.control:hover, .control:focus-visible{
|
|
22
|
+
.control:hover, .control:focus, .control:focus-visible{
|
|
23
23
|
color:var(--sys-neutral-text-main, #41424e);
|
|
24
24
|
}
|
|
25
25
|
.control:hover{
|
|
26
26
|
box-shadow:var(--box-shadow-elevation-level4, 0px 0px 8px 0px rgba(0, 0, 0, 0.0784313725), 0px 16px 16px 0px rgba(0, 0, 0, 0.0784313725));
|
|
27
27
|
}
|
|
28
|
-
.control:focus-visible{
|
|
28
|
+
.control:focus, .control:focus-visible{
|
|
29
29
|
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
30
30
|
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
31
31
|
outline-color:var(--border-state-focus-s-border-color, );
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
right:calc(var(--size-carousel-control-wrap-width, 20px) - var(--size-carousel-control-container, 40px));
|
|
38
38
|
left:auto;
|
|
39
39
|
}
|
|
40
|
-
.control[data-variant=next]:focus-visible{
|
|
40
|
+
.control[data-variant=next]:focus, .control[data-variant=next]:focus-visible{
|
|
41
41
|
outline-offset:var(--dimension-025m, 2px);
|
|
42
42
|
}
|
|
43
43
|
.control[data-variant=next] .icon{
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.5.
|
|
7
|
+
"version": "0.5.2-preview-ef227a87.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"scripts": {},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@snack-uikit/icons": "0.26.2",
|
|
40
|
-
"@snack-uikit/pagination": "0.10.
|
|
40
|
+
"@snack-uikit/pagination": "0.10.10-preview-ef227a87.0",
|
|
41
41
|
"@snack-uikit/utils": "3.8.1",
|
|
42
42
|
"classnames": "2.5.1",
|
|
43
43
|
"lodash.debounce": "4.0.8",
|
|
44
44
|
"merge-refs": "1.3.0",
|
|
45
45
|
"uncontrollable": "8.0.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "6364766107f054b3b701396967b92eef49fe9b0f"
|
|
48
48
|
}
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
position: absolute;
|
|
10
10
|
top: 50%;
|
|
11
|
-
left: calc(
|
|
11
|
+
left: calc(
|
|
12
|
+
styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container
|
|
13
|
+
);
|
|
12
14
|
transform: translateY(-50%);
|
|
13
15
|
|
|
14
16
|
display: flex;
|
|
@@ -24,7 +26,9 @@
|
|
|
24
26
|
outline-color: transparent;
|
|
25
27
|
box-shadow: styles-tokens-carousel.$box-shadow-elevation-level3;
|
|
26
28
|
|
|
27
|
-
&:hover,
|
|
29
|
+
&:hover,
|
|
30
|
+
&:focus,
|
|
31
|
+
&:focus-visible {
|
|
28
32
|
color: styles-tokens-carousel.$sys-neutral-text-main;
|
|
29
33
|
}
|
|
30
34
|
|
|
@@ -32,6 +36,7 @@
|
|
|
32
36
|
box-shadow: styles-tokens-carousel.$box-shadow-elevation-level4;
|
|
33
37
|
}
|
|
34
38
|
|
|
39
|
+
&:focus,
|
|
35
40
|
&:focus-visible {
|
|
36
41
|
@include styles-tokens-carousel.outline-var(styles-tokens-element.$container-focused-s);
|
|
37
42
|
|
|
@@ -41,8 +46,12 @@
|
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
&[data-variant='next'] {
|
|
44
|
-
right: calc(
|
|
49
|
+
right: calc(
|
|
50
|
+
styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container
|
|
51
|
+
);
|
|
45
52
|
left: auto;
|
|
53
|
+
|
|
54
|
+
&:focus,
|
|
46
55
|
&:focus-visible {
|
|
47
56
|
outline-offset: styles-tokens-carousel.$dimension-025m;
|
|
48
57
|
}
|
|
@@ -51,4 +60,4 @@
|
|
|
51
60
|
transform: rotate(180deg);
|
|
52
61
|
}
|
|
53
62
|
}
|
|
54
|
-
}
|
|
63
|
+
}
|