@oardi/css-utils 0.76.0 → 0.77.1

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": "@oardi/css-utils",
3
- "version": "0.76.0",
3
+ "version": "0.77.1",
4
4
  "author": "Ardian Shala",
5
5
  "homepage": "https://css-utils.oardi.com",
6
6
  "description": "Powerful set of semantic css classes with support for breakpoints, directions and spacings",
@@ -320,7 +320,9 @@
320
320
  }
321
321
 
322
322
  .is-invalid ~ .invalid-feedback,
323
- .was-validated :invalid ~ .invalid-feedback {
323
+ :is(.form-check, .form-switch):has(> .is-invalid) + .invalid-feedback,
324
+ .was-validated :invalid ~ .invalid-feedback,
325
+ .was-validated :is(.form-check, .form-switch):has(> :invalid) + .invalid-feedback {
324
326
  display: block;
325
327
  }
326
328
 
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use './theme.scss' as theme;
2
+ @use '../theme.scss' as theme;
3
3
 
4
4
  @mixin media($size) {
5
5
  $bps: map.get(theme.$theme, breakpoints);
@@ -9,12 +9,12 @@
9
9
  @content;
10
10
  }
11
11
  } @else {
12
- @error "Breakpoint `#{$size}` wurde nicht gefunden!";
12
+ @error "Breakpoint `#{$size}` not found!";
13
13
  }
14
14
  }
15
15
 
16
16
  // usage
17
- // @use './breakpoints' as bp;
17
+ // @use '@oardi/css-utils/scss/mixins/breakpoints' as bp;
18
18
  // @include bp.media(md) {
19
19
  // dosomething;
20
20
  // }