@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/CHANGELOG.md +17 -0
- package/dist/components/base/broadcast_message/broadcast_message.js +1 -1
- package/dist/components/base/toast/toast.js +1 -1
- package/dist/components/base/token/token.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/components/base/broadcast_message/broadcast_message.scss +1 -0
- package/src/components/base/broadcast_message/broadcast_message.vue +1 -1
- package/src/components/base/toast/toast.js +1 -1
- package/src/components/base/toast/toast.scss +1 -0
- package/src/components/base/token/token.scss +1 -5
- package/src/components/base/token/token.vue +1 -6
- package/src/scss/components.scss +0 -1
- package/src/components/shared_components/close_button/close_button.scss +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# [93.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v92.5.0...v93.0.0) (2024-09-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **CloseButton:** Replace close btn class with util class ([0cf9a37](https://gitlab.com/gitlab-org/gitlab-ui/commit/0cf9a373c7caa1ff2d517f2eac5b7c1fbc711322))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **CloseButton:** Remove CSS Class .gl-close-btn-color-inherit
|
|
12
|
+
|
|
13
|
+
This CSS Class was applying mix-blend styles. This style was creating
|
|
14
|
+
an unwanted design on some background colors. Also, it makes it harder
|
|
15
|
+
to use with design tokens. This CSS class is now replaced by using
|
|
16
|
+
the Util CSS class !text-color-inherit.
|
|
17
|
+
|
|
1
18
|
# [92.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v92.4.0...v92.5.0) (2024-09-17)
|
|
2
19
|
|
|
3
20
|
|
|
@@ -78,7 +78,7 @@ var script = {
|
|
|
78
78
|
const __vue_script__ = script;
|
|
79
79
|
|
|
80
80
|
/* template */
|
|
81
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-broadcast-message",class:(_vm.theme + " " + _vm.type)},[_c('div',{staticClass:"gl-broadcast-message-content"},[_c('div',{staticClass:"gl-broadcast-message-icon"},[_c('gl-icon',{attrs:{"name":_vm.iconName}})],1),_vm._v(" "),_c('div',{staticClass:"gl-broadcast-message-text"},[_c('h2',{staticClass:"gl-sr-only"},[_vm._v("Admin message")]),_vm._v(" "),_vm._t("default")],2)]),_vm._v(" "),(_vm.showDismissButton)?_c('close-button',{ref:"dismiss",staticClass:"gl-
|
|
81
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-broadcast-message",class:(_vm.theme + " " + _vm.type)},[_c('div',{staticClass:"gl-broadcast-message-content"},[_c('div',{staticClass:"gl-broadcast-message-icon"},[_c('gl-icon',{attrs:{"name":_vm.iconName}})],1),_vm._v(" "),_c('div',{staticClass:"gl-broadcast-message-text"},[_c('h2',{staticClass:"gl-sr-only"},[_vm._v("Admin message")]),_vm._v(" "),_vm._t("default")],2)]),_vm._v(" "),(_vm.showDismissButton)?_c('close-button',{ref:"dismiss",staticClass:"gl-broadcast-message-dismiss",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
|
|
82
82
|
var __vue_staticRenderFns__ = [];
|
|
83
83
|
|
|
84
84
|
/* style */
|
|
@@ -13,7 +13,7 @@ const DEFAULT_OPTIONS = {
|
|
|
13
13
|
let toastsCount = 0;
|
|
14
14
|
function renderTitle(h, toast, options) {
|
|
15
15
|
const nodes = [h(CloseButton, {
|
|
16
|
-
class: ['gl-toast-close-button'
|
|
16
|
+
class: ['gl-toast-close-button'],
|
|
17
17
|
on: {
|
|
18
18
|
click: toast.hide
|
|
19
19
|
}
|
|
@@ -59,7 +59,7 @@ var script = {
|
|
|
59
59
|
const __vue_script__ = script;
|
|
60
60
|
|
|
61
61
|
/* template */
|
|
62
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',_vm._g({class:['gl-token', _vm.variantClass, _vm.viewOnlyClass]},_vm.$listeners),[_c('span',{staticClass:"gl-token-content"},[_vm._t("default"),_vm._v(" "),(!_vm.viewOnly)?_c('close-button',{staticClass:"gl-token-close
|
|
62
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',_vm._g({class:['gl-token', _vm.variantClass, _vm.viewOnlyClass]},_vm.$listeners),[_c('span',{staticClass:"gl-token-content"},[_vm._t("default"),_vm._v(" "),(!_vm.viewOnly)?_c('close-button',{staticClass:"gl-token-close",attrs:{"label":_vm.removeLabel},on:{"click":_vm.close}}):_vm._e()],2)])};
|
|
63
63
|
var __vue_staticRenderFns__ = [];
|
|
64
64
|
|
|
65
65
|
/* style */
|