@unlk/keymaster 1.0.11 → 1.0.12

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.0.11",
3
+ "version": "1.0.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -206,13 +206,13 @@
206
206
  &:not(:last-child) {
207
207
  @include border-end-radius(0);
208
208
 
209
- .card-img-top,
210
- .card-header {
209
+ > .card-img-top,
210
+ > .card-header {
211
211
  // stylelint-disable-next-line property-disallowed-list
212
212
  border-top-right-radius: 0;
213
213
  }
214
- .card-img-bottom,
215
- .card-footer {
214
+ > .card-img-bottom,
215
+ > .card-footer {
216
216
  // stylelint-disable-next-line property-disallowed-list
217
217
  border-bottom-right-radius: 0;
218
218
  }
@@ -221,13 +221,13 @@
221
221
  &:not(:first-child) {
222
222
  @include border-start-radius(0);
223
223
 
224
- .card-img-top,
225
- .card-header {
224
+ > .card-img-top,
225
+ > .card-header {
226
226
  // stylelint-disable-next-line property-disallowed-list
227
227
  border-top-left-radius: 0;
228
228
  }
229
- .card-img-bottom,
230
- .card-footer {
229
+ > .card-img-bottom,
230
+ > .card-footer {
231
231
  // stylelint-disable-next-line property-disallowed-list
232
232
  border-bottom-left-radius: 0;
233
233
  }
@@ -1,6 +1,6 @@
1
1
  @mixin bsBanner($file) {
2
2
  /*!
3
- * Bootstrap #{$file} v5.3.5 (https://getbootstrap.com/)
3
+ * Bootstrap #{$file} v5.3.7 (https://getbootstrap.com/)
4
4
  * Copyright 2011-2025 The Bootstrap Authors
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
6
  */
@@ -1,17 +1,23 @@
1
1
  @mixin box-shadow($shadow...) {
2
2
  @if $enable-shadows {
3
3
  $result: ();
4
+ $has-single-value: false;
5
+ $single-value: null;
4
6
 
5
7
  @each $value in $shadow {
6
8
  @if $value != null {
7
- $result: append($result, $value, "comma");
8
- }
9
- @if $value == none and length($shadow) > 1 {
10
- @warn "The keyword 'none' must be used as a single argument.";
9
+ @if $value == none or $value == initial or $value == inherit or $value == unset {
10
+ $has-single-value: true;
11
+ $single-value: $value;
12
+ } @else {
13
+ $result: append($result, $value, "comma");
14
+ }
11
15
  }
12
16
  }
13
17
 
14
- @if (length($result) > 0) {
18
+ @if $has-single-value {
19
+ box-shadow: $single-value;
20
+ } @else if (length($result) > 0) {
15
21
  box-shadow: $result;
16
22
  }
17
23
  }
@@ -19,6 +19,11 @@
19
19
  &:not(caption) {
20
20
  position: absolute !important;
21
21
  }
22
+
23
+ // Fix to prevent overflowing children to become focusable
24
+ * {
25
+ overflow: hidden !important;
26
+ }
22
27
  }
23
28
 
24
29
  // Use to only display content when it's focused, or one of its child elements is focused