@gitlab/ui 92.5.0 → 93.0.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": "92.5.0",
3
+ "version": "93.0.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -130,5 +130,6 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
130
130
  &-dismiss {
131
131
  @include gl-my-n2;
132
132
  @apply gl-ml-5;
133
+ color: inherit !important;
133
134
  }
134
135
  }
@@ -90,7 +90,7 @@ export default {
90
90
  <close-button
91
91
  v-if="showDismissButton"
92
92
  ref="dismiss"
93
- class="gl-close-btn-color-inherit gl-broadcast-message-dismiss"
93
+ class="gl-broadcast-message-dismiss"
94
94
  :label="dismissLabel"
95
95
  @click="onDismiss"
96
96
  />
@@ -17,7 +17,7 @@ let toastsCount = 0;
17
17
  function renderTitle(h, toast, options) {
18
18
  const nodes = [
19
19
  h(CloseButton, {
20
- class: ['gl-toast-close-button', 'gl-close-btn-color-inherit'],
20
+ class: ['gl-toast-close-button'],
21
21
  on: {
22
22
  click: toast.hide,
23
23
  },
@@ -56,5 +56,6 @@
56
56
 
57
57
  .gl-toast-close-button {
58
58
  @apply gl-ml-5;
59
+ color: inherit !important;
59
60
  }
60
61
  }
@@ -41,15 +41,11 @@
41
41
  @apply gl-ml-2;
42
42
  @include gl-reset-color;
43
43
  @include gl-cursor-pointer;
44
+
44
45
  opacity: 0.8;
45
46
  color: inherit !important;
46
47
  background-color: transparent !important;
47
48
 
48
- svg {
49
- color: inherit !important;
50
- mix-blend-mode: normal !important;
51
- }
52
-
53
49
  &:hover,
54
50
  &:focus {
55
51
  @include gl-opacity-10;
@@ -60,12 +60,7 @@ export default {
60
60
  <span :class="['gl-token', variantClass, viewOnlyClass]" v-on="$listeners">
61
61
  <span class="gl-token-content">
62
62
  <slot></slot>
63
- <close-button
64
- v-if="!viewOnly"
65
- class="gl-token-close gl-close-btn-color-inherit"
66
- :label="removeLabel"
67
- @click="close"
68
- />
63
+ <close-button v-if="!viewOnly" class="gl-token-close" :label="removeLabel" @click="close" />
69
64
  </span>
70
65
  </span>
71
66
  </template>
@@ -12,7 +12,6 @@
12
12
  @import '../components/base/token_selector/token_selector';
13
13
  @import '../components/base/card/card';
14
14
  @import '../components/shared_components/clear_icon_button/clear_icon_button';
15
- @import '../components/shared_components/close_button/close_button';
16
15
  @import '../components/base/accordion/accordion_item';
17
16
  @import '../components/base/alert/alert';
18
17
  @import '../components/base/avatar/avatar';
@@ -1,21 +0,0 @@
1
- .gl-close-btn-color-inherit {
2
- mix-blend-mode: luminosity !important;
3
-
4
- &,
5
- &:focus .gl-icon,
6
- &:not(:hover) .gl-icon {
7
- color: inherit !important;
8
- }
9
-
10
- &:focus,
11
- &:active,
12
- &.active {
13
- mix-blend-mode: initial !important;
14
- @include gl-focus($important: true, $focus-ring: $focus-ring-dark);
15
-
16
- .gl-icon {
17
- background-color: transparent;
18
- mix-blend-mode: difference;
19
- }
20
- }
21
- }