@snack-uikit/carousel 0.5.2-preview-ef227a87.0 → 0.5.2

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 CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 0.5.2 (2025-05-12)
7
+
8
+ ### Only dependencies have been changed
9
+ * [@snack-uikit/pagination@0.10.10](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/pagination/CHANGELOG.md)
10
+
11
+
12
+
13
+
14
+
6
15
  ## 0.5.1 (2025-04-04)
7
16
 
8
17
 
@@ -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, .control:focus-visible{
22
+ .control:hover, .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, .control:focus-visible{
28
+ .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, .control[data-variant=next]:focus-visible{
40
+ .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, .control:focus-visible{
22
+ .control:hover, .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, .control:focus-visible{
28
+ .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, .control[data-variant=next]:focus-visible{
40
+ .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.2-preview-ef227a87.0",
7
+ "version": "0.5.2",
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.10-preview-ef227a87.0",
40
+ "@snack-uikit/pagination": "0.10.10",
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": "6364766107f054b3b701396967b92eef49fe9b0f"
47
+ "gitHead": "82c6f5f9fd1845d6752a3cb38e8b2e0fc3cc5c98"
48
48
  }
@@ -8,9 +8,7 @@
8
8
 
9
9
  position: absolute;
10
10
  top: 50%;
11
- left: calc(
12
- styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container
13
- );
11
+ left: calc(styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container);
14
12
  transform: translateY(-50%);
15
13
 
16
14
  display: flex;
@@ -26,9 +24,7 @@
26
24
  outline-color: transparent;
27
25
  box-shadow: styles-tokens-carousel.$box-shadow-elevation-level3;
28
26
 
29
- &:hover,
30
- &:focus,
31
- &:focus-visible {
27
+ &:hover, &:focus-visible {
32
28
  color: styles-tokens-carousel.$sys-neutral-text-main;
33
29
  }
34
30
 
@@ -36,7 +32,6 @@
36
32
  box-shadow: styles-tokens-carousel.$box-shadow-elevation-level4;
37
33
  }
38
34
 
39
- &:focus,
40
35
  &:focus-visible {
41
36
  @include styles-tokens-carousel.outline-var(styles-tokens-element.$container-focused-s);
42
37
 
@@ -46,12 +41,8 @@
46
41
  }
47
42
 
48
43
  &[data-variant='next'] {
49
- right: calc(
50
- styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container
51
- );
44
+ right: calc(styles-tokens-carousel.$size-carousel-control-wrap-width - styles-tokens-carousel.$size-carousel-control-container);
52
45
  left: auto;
53
-
54
- &:focus,
55
46
  &:focus-visible {
56
47
  outline-offset: styles-tokens-carousel.$dimension-025m;
57
48
  }
@@ -60,4 +51,4 @@
60
51
  transform: rotate(180deg);
61
52
  }
62
53
  }
63
- }
54
+ }