@gitlab/ui 68.7.0 → 68.8.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 +7 -0
- package/dist/components/base/banner/banner.js +5 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +3 -3
- package/src/components/base/banner/banner.vue +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [68.8.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v68.7.0...v68.8.0) (2023-11-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **GlBanner:** Add gray background ([5103460](https://gitlab.com/gitlab-org/gitlab-ui/commit/5103460b8601edd25e1af69f38612cea0a847f1a))
|
|
7
|
+
|
|
1
8
|
# [68.7.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v68.6.0...v68.7.0) (2023-11-15)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -109,7 +109,11 @@ var script = {
|
|
|
109
109
|
const __vue_script__ = script;
|
|
110
110
|
|
|
111
111
|
/* template */
|
|
112
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-card',{staticClass:"gl-pl-6 gl-pr-8 gl-py-6",class:{
|
|
112
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-card',{staticClass:"gl-pl-6 gl-pr-8 gl-py-6",class:{
|
|
113
|
+
'gl-banner-introduction': _vm.isIntroducing,
|
|
114
|
+
'gl-border-none!': _vm.embedded,
|
|
115
|
+
'gl-bg-gray-10!': !_vm.isIntroducing,
|
|
116
|
+
},attrs:{"body-class":"gl-display-flex gl-p-0!"}},[(_vm.svgPath)?_c('div',{staticClass:"gl-banner-illustration"},[_c('img',{attrs:{"src":_vm.svgPath,"alt":""}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-banner-content"},[_c('h2',{staticClass:"gl-banner-title"},[_vm._v(_vm._s(_vm.title))]),_vm._v(" "),_vm._t("default"),_vm._v(" "),_c('gl-button',_vm._b({attrs:{"variant":"confirm","category":"primary","data-testid":"gl-banner-primary-button","href":_vm.buttonLink},on:{"click":_vm.primaryButtonClicked}},'gl-button',_vm.buttonAttributes,false),[_vm._v(_vm._s(_vm.buttonText))]),_vm._v(" "),_vm._t("actions")],2),_vm._v(" "),_c('close-button',{staticClass:"gl-banner-close",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.handleClose}})],1)};
|
|
113
117
|
var __vue_staticRenderFns__ = [];
|
|
114
118
|
|
|
115
119
|
/* style */
|
package/dist/tokens/js/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "68.
|
|
3
|
+
"version": "68.8.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"storybook-dark-mode": "3.0.1",
|
|
168
168
|
"style-dictionary": "^3.8.0",
|
|
169
169
|
"stylelint": "15.10.2",
|
|
170
|
-
"vue": "2.7.
|
|
170
|
+
"vue": "2.7.15",
|
|
171
171
|
"vue-loader": "^15.8.3",
|
|
172
172
|
"vue-loader-vue3": "npm:vue-loader@17",
|
|
173
|
-
"vue-template-compiler": "2.7.
|
|
173
|
+
"vue-template-compiler": "2.7.15",
|
|
174
174
|
"vue-test-utils-compat": "^0.0.10",
|
|
175
175
|
"webpack": "^5.9.0"
|
|
176
176
|
},
|
|
@@ -109,7 +109,11 @@ export default {
|
|
|
109
109
|
<template>
|
|
110
110
|
<gl-card
|
|
111
111
|
class="gl-pl-6 gl-pr-8 gl-py-6"
|
|
112
|
-
:class="{
|
|
112
|
+
:class="{
|
|
113
|
+
'gl-banner-introduction': isIntroducing,
|
|
114
|
+
'gl-border-none!': embedded,
|
|
115
|
+
'gl-bg-gray-10!': !isIntroducing,
|
|
116
|
+
}"
|
|
113
117
|
body-class="gl-display-flex gl-p-0!"
|
|
114
118
|
>
|
|
115
119
|
<div v-if="svgPath" class="gl-banner-illustration">
|