@gitlab/ui 86.7.0 → 86.7.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": "@gitlab/ui",
3
- "version": "86.7.0",
3
+ "version": "86.7.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -33,10 +33,9 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
33
33
  @include gl-overflow-hidden;
34
34
  @include gl-reset-color;
35
35
  @include gl-max-w-full;
36
- @include gl-text-decoration-none;
37
36
 
38
- &:focus,
39
37
  &:hover,
38
+ &:focus,
40
39
  &:focus:active {
41
40
  @include gl-reset-color;
42
41
  @include gl-shadow-none;
@@ -44,6 +43,19 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
44
43
  }
45
44
  }
46
45
 
46
+ .gl-label-link-underline {
47
+ text-decoration: none;
48
+
49
+ &:hover,
50
+ &:focus,
51
+ &:focus:active {
52
+ .gl-label-text,
53
+ .gl-label-text-scoped {
54
+ text-decoration: underline;
55
+ }
56
+ }
57
+ }
58
+
47
59
  .gl-label-text,
48
60
  .gl-label-text-scoped {
49
61
  @include gl-display-block;
@@ -125,6 +125,7 @@ export default {
125
125
  ref="labelTitle"
126
126
  :href="target ? target : false"
127
127
  class="gl-label-link"
128
+ :class="{ 'gl-label-link-underline': target }"
128
129
  tabindex="0"
129
130
  >
130
131
  <span class="gl-label-text">