@snack-uikit/button-combo 0.1.20 → 0.1.21-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.
@@ -7,7 +7,7 @@
7
7
  flex-shrink:1;
8
8
  width:100%;
9
9
  }
10
- .buttonComboWrapper button:focus-visible + button{
10
+ .buttonComboWrapper button:focus + button, .buttonComboWrapper button:focus-visible + button{
11
11
  position:static;
12
12
  }
13
13
  .buttonComboWrapper button[data-type=option]{
@@ -7,7 +7,7 @@
7
7
  flex-shrink:1;
8
8
  width:100%;
9
9
  }
10
- .buttonComboWrapper button:focus-visible + button{
10
+ .buttonComboWrapper button:focus + button, .buttonComboWrapper button:focus-visible + button{
11
11
  position:static;
12
12
  }
13
13
  .buttonComboWrapper button[data-type=option]{
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Button Combo",
7
- "version": "0.1.20",
7
+ "version": "0.1.21-preview-ef227a87.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -36,11 +36,11 @@
36
36
  "license": "Apache-2.0",
37
37
  "scripts": {},
38
38
  "dependencies": {
39
- "@snack-uikit/button": "0.19.9",
39
+ "@snack-uikit/button": "0.19.10-preview-ef227a87.0",
40
40
  "@snack-uikit/icons": "0.26.2",
41
- "@snack-uikit/list": "0.27.7",
41
+ "@snack-uikit/list": "0.27.8-preview-ef227a87.0",
42
42
  "@snack-uikit/utils": "3.8.1",
43
43
  "classnames": "2.5.1"
44
44
  },
45
- "gitHead": "e14c6ec6fbc59b086b7ed348403eb1bac740b9c3"
45
+ "gitHead": "6364766107f054b3b701396967b92eef49fe9b0f"
46
46
  }
@@ -15,8 +15,9 @@ $sizes: 'xs', 's', 'm', 'l';
15
15
  }
16
16
 
17
17
  button {
18
- &:focus-visible + button {
19
- position: static
18
+ &:focus + button,
19
+ &:focus-visible + button {
20
+ position: static;
20
21
  }
21
22
 
22
23
  &[data-type='option'] {
@@ -24,7 +25,12 @@ $sizes: 'xs', 's', 'm', 'l';
24
25
  &[data-size='#{$size}'] {
25
26
  min-width: auto;
26
27
 
27
- @include styles-tokens-element.composite-var(styles-tokens-buttonCombo.$button-combo, 'container', $size, 'option');
28
+ @include styles-tokens-element.composite-var(
29
+ styles-tokens-buttonCombo.$button-combo,
30
+ 'container',
31
+ $size,
32
+ 'option'
33
+ );
28
34
  }
29
35
  }
30
36
 
@@ -35,9 +41,14 @@ $sizes: 'xs', 's', 'm', 'l';
35
41
  &[data-type='dropdown'] {
36
42
  @each $size in $sizes {
37
43
  &[data-size='#{$size}'] {
38
- @include styles-tokens-element.composite-var(styles-tokens-buttonCombo.$button-combo, 'container', $size, 'dropdown');
44
+ @include styles-tokens-element.composite-var(
45
+ styles-tokens-buttonCombo.$button-combo,
46
+ 'container',
47
+ $size,
48
+ 'dropdown'
49
+ );
39
50
  }
40
51
  }
41
52
  }
42
53
  }
43
- }
54
+ }