@gitlab/ui 32.29.0 → 32.29.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [32.29.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.29.0...v32.29.1) (2021-10-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **css:** Fix [@error](https://gitlab.com/error) call by adding expression ([bd577a8](https://gitlab.com/gitlab-org/gitlab-ui/commit/bd577a8ffe6109ad71bed3159f1759207929115c))
7
+
1
8
  # [32.29.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.28.0...v32.29.0) (2021-10-29)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "32.29.0",
3
+ "version": "32.29.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -78,7 +78,7 @@
78
78
  @mixin gl-media-breakpoint-up($name) {
79
79
  $min: map-get($breakpoints, $name);
80
80
  @if $min == null {
81
- @error;
81
+ @error "#{$name} is not a valid breakpoint for this @media query.";
82
82
  }
83
83
  @if $min != 0 {
84
84
  @media (min-width: $min) {
@@ -103,7 +103,7 @@
103
103
  @mixin gl-media-breakpoint-down($name) {
104
104
  $max: map-get($breakpoints, $name);
105
105
  @if ($max == null or $max == 0) {
106
- @error;
106
+ @error "#{$name} is not a valid breakpoint for this @media query.";
107
107
  }
108
108
  // The maximum value is reduced by 0.02px to work around the limitations of
109
109
  // `min-` and `max-` prefixes and with fractional viewport sizes.