@unlk/keymaster 1.6.4 → 1.6.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlk/keymaster",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -3,14 +3,12 @@
3
3
  display: inline-flex;
4
4
  align-items: center;
5
5
 
6
- // Icon on the left, add margin to its right
7
6
  > i:first-child:not(:only-child),
8
7
  > .icon:first-child:not(:only-child) {
9
8
  width: fit-content;
10
9
  margin-right: $spacer * .5;
11
10
  }
12
11
 
13
- // Icon on the right, add margin to its left
14
12
  > i:last-child:not(:only-child),
15
13
  > .icon:last-child:not(:only-child) {
16
14
  width: fit-content;
@@ -37,7 +35,6 @@
37
35
  $hover-border: tint-color($value, $btn-hover-border-shade-amount),
38
36
  $active-background: tint-color($value, $btn-active-bg-shade-amount),
39
37
  $active-border: tint-color($value, $btn-active-border-shade-amount),
40
-
41
38
  );
42
39
  } @else {
43
40
  @include custom-button-variant(
@@ -102,25 +99,25 @@
102
99
  }
103
100
 
104
101
  .btn-sm {
105
- > i:first-child,
106
- > .icon:first-child {
102
+ > i:first-child:not(:only-child),
103
+ > .icon:first-child:not(:only-child) {
107
104
  margin-right: $spacer * .375;
108
105
  }
109
106
 
110
- > i:last-child,
111
- > .icon:last-child {
107
+ > i:last-child:not(:only-child),
108
+ > .icon:last-child:not(:only-child) {
112
109
  margin-left: $spacer * .375;
113
110
  }
114
111
  }
115
112
 
116
113
  .btn-lg {
117
- > i:first-child,
118
- > .icon:first-child {
114
+ > i:first-child:not(:only-child),
115
+ > .icon:first-child:not(:only-child) {
119
116
  margin-right: $spacer * .625;
120
117
  }
121
118
 
122
- > i:last-child,
123
- > .icon:last-child {
119
+ > i:last-child:not(:only-child),
120
+ > .icon:last-child:not(:only-child) {
124
121
  margin-left: $spacer * .625;
125
122
  }
126
123
  }
@@ -1,2 +1,2 @@
1
1
  // GENERATED FILE – do not edit manually
2
- $km-version: "1.6.4" !default;
2
+ $km-version: "1.6.5" !default;