@gitlab/ui 124.4.3 → 125.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.
|
@@ -28,14 +28,6 @@ var script = {
|
|
|
28
28
|
required: false,
|
|
29
29
|
default: true
|
|
30
30
|
},
|
|
31
|
-
/**
|
|
32
|
-
* Shows icon based on variant.
|
|
33
|
-
*/
|
|
34
|
-
showIcon: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
required: false,
|
|
37
|
-
default: true
|
|
38
|
-
},
|
|
39
31
|
/**
|
|
40
32
|
* The close button's label, it is used for the button's aria-label attribute.
|
|
41
33
|
*/
|
|
@@ -197,9 +189,8 @@ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=
|
|
|
197
189
|
'gl-alert',
|
|
198
190
|
{ 'gl-alert-sticky': _vm.sticky },
|
|
199
191
|
{ 'gl-alert-not-dismissible': !_vm.dismissible },
|
|
200
|
-
{ 'gl-alert-no-icon': !_vm.showIcon },
|
|
201
192
|
{ 'gl-alert-has-title': !!_vm.title },
|
|
202
|
-
_vm.variantClass ],attrs:{"role":_vm.role,"aria-live":_vm.politeness}},[
|
|
193
|
+
_vm.variantClass ],attrs:{"role":_vm.role,"aria-live":_vm.politeness}},[_c('div',{staticClass:"gl-alert-icon-container"},[_c('gl-icon',{staticClass:"gl-alert-icon",attrs:{"name":_vm.iconName}})],1),_vm._v(" "),_c('div',{staticClass:"gl-alert-content"},[(_vm.title)?_c('h2',{staticClass:"gl-alert-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-alert-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.shouldRenderActions)?_c('div',{staticClass:"gl-alert-actions"},[_vm._t("actions",function(){return _vm._l((_vm.actionButtons),function(actionButton,index){return _c('gl-button',_vm._g(_vm._b({key:index,staticClass:"gl-alert-action"},'gl-button',actionButton.attrs,false),actionButton.listeners),[_vm._v("\n "+_vm._s(actionButton.text)+"\n ")])})})],2):_vm._e()]),_vm._v(" "),(_vm.dismissible)?_c('close-button',{ref:"dismiss",staticClass:"gl-dismiss-btn",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
|
|
203
194
|
var __vue_staticRenderFns__ = [];
|
|
204
195
|
|
|
205
196
|
/* style */
|