@gitlab/ui 103.2.0 → 103.3.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": "103.2.0",
3
+ "version": "103.3.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -86,6 +86,7 @@ $badge-min-width: $gl-spacing-scale-3;
86
86
  justify-content: center;
87
87
  gap: $gl-spacing-scale-2;
88
88
  padding: $gl-spacing-scale-1 $badge-padding-horizontal;
89
+ @include gl-prefers-reduced-motion-transition;
89
90
  transition: color $gl-transition-duration-medium $gl-easing-out-cubic,
90
91
  background-color $gl-transition-duration-medium $gl-easing-out-cubic,
91
92
  border-color $gl-transition-duration-medium $gl-easing-out-cubic,
@@ -95,10 +96,6 @@ $badge-min-width: $gl-spacing-scale-3;
95
96
  max-width: 100%;
96
97
  }
97
98
 
98
- @media (prefers-reduced-motion) {
99
- transition-duration: .01ms !important;
100
- }
101
-
102
99
  @media (forced-colors: active) {
103
100
  border: 1px solid;
104
101
  }
@@ -120,7 +117,7 @@ $badge-min-width: $gl-spacing-scale-3;
120
117
  a.gl-badge.disabled {
121
118
  cursor: not-allowed;
122
119
  }
123
-
120
+
124
121
 
125
122
  /* Variants */
126
123