@gitlab/ui 64.8.0 → 64.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "64.8.0",
3
+ "version": "64.9.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -21,6 +21,9 @@
21
21
  @return $value;
22
22
  }
23
23
 
24
+ // Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0
25
+ // We can't update this yet since GitLab uses SassC, which doesn't support math.div
26
+ // See https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1954#note_1078281533
24
27
  $converted: $value / $font-size-base;
25
28
 
26
29
  @return strip-unit($converted) * 1rem;
@@ -54,6 +57,9 @@
54
57
  $min-width: px-to-rem($min-width);
55
58
  $max-width: px-to-rem($max-width);
56
59
 
60
+ // Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0
61
+ // We can't update this yet since GitLab uses SassC, which doesn't support math.div
62
+ // See https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1954#note_1078281533
57
63
  $slope: ($max - $min) / ($max-width - $min-width);
58
64
  $intersection: (-$min-width * $slope) + $min;
59
65
 
@@ -3639,6 +3639,18 @@
3639
3639
  flex-basis: 33% !important;
3640
3640
  }
3641
3641
 
3642
+ .gl-md-flex-basis-third {
3643
+ @include gl-media-breakpoint-up(md) {
3644
+ flex-basis: 33%;
3645
+ }
3646
+ }
3647
+
3648
+ .gl-md-flex-basis-third\! {
3649
+ @include gl-media-breakpoint-up(md) {
3650
+ flex-basis: 33% !important;
3651
+ }
3652
+ }
3653
+
3642
3654
  .gl-flex-basis-two-thirds {
3643
3655
  flex-basis: 66%;
3644
3656
  }
@@ -225,6 +225,12 @@
225
225
  flex-basis: 33%;
226
226
  }
227
227
 
228
+ @mixin gl-md-flex-basis-third {
229
+ @include gl-media-breakpoint-up(md) {
230
+ @include gl-flex-basis-third;
231
+ }
232
+ }
233
+
228
234
  @mixin gl-flex-basis-two-thirds {
229
235
  flex-basis: 66%;
230
236
  }