@gitlab/ui 32.43.0 → 32.43.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [32.43.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.43.0...v32.43.1) (2021-12-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **GlEmptyState:** update styles to match design specs ([c0812f5](https://gitlab.com/gitlab-org/gitlab-ui/commit/c0812f53664b5db03e643878d7894c9d448a736b))
|
|
7
|
+
|
|
1
8
|
# [32.43.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.42.0...v32.43.0) (2021-12-06)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -110,7 +110,7 @@ var script = {
|
|
|
110
110
|
const __vue_script__ = script;
|
|
111
111
|
|
|
112
112
|
/* template */
|
|
113
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"row",class:{ 'empty-state text-center': !_vm.compact }},[_c('div',{class:{ 'col-3 d-none d-sm-block': _vm.compact, 'col-12': !_vm.compact }},[(_vm.svgPath)?_c('div',{staticClass:"svg-250",class:{ 'svg-content': !_vm.compact }},[_c('img',{staticClass:"gl-max-w-full",attrs:{"src":_vm.svgPath,"alt":"","role":"img","height":_vm.height}})]):_vm._e()]),_vm._v(" "),_c('div',{class:_vm.compact ? 'col-sm-9' : 'col-12'},[_c('div',{staticClass:"text-content gl-mx-auto gl-my-0",class:{ 'gl-p-5': !_vm.compact }},[_c('h1',{ref:"title",class:_vm.compact ? 'h5' : 'h4'},[_vm._v(_vm._s(_vm.title))]),_vm._v(" "),(_vm.description || _vm.$scopedSlots.description)?_c('p',{ref:"description"},[_vm._t("description",[_vm._v("\n "+_vm._s(_vm.description)+"\n ")])],2):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-flex-wrap",class:{ 'gl-justify-content-center': !_vm.compact }},[_vm._t("actions",[(_vm.shouldRenderPrimaryButton)?_c('gl-button',{staticClass:"gl-mb-3",class:_vm.compact ? 'gl-mr-3' : 'gl-mx-2',attrs:{"variant":"confirm","href":_vm.primaryButtonLink}},[_vm._v(_vm._s(_vm.primaryButtonText))]):_vm._e(),_vm._v(" "),(_vm.shouldRenderSecondaryButton)?_c('gl-button',{staticClass:"gl-mb-3 gl-mr-3",class:{ 'gl-mx-2!': !_vm.compact },attrs:{"href":_vm.secondaryButtonLink}},[_vm._v(_vm._s(_vm.secondaryButtonText)+"\n ")]):_vm._e()])],2)])])])};
|
|
113
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"row",class:{ 'empty-state text-center': !_vm.compact }},[_c('div',{class:{ 'col-3 d-none d-sm-block': _vm.compact, 'col-12': !_vm.compact }},[(_vm.svgPath)?_c('div',{staticClass:"svg-250",class:{ 'svg-content': !_vm.compact }},[_c('img',{staticClass:"gl-max-w-full",attrs:{"src":_vm.svgPath,"alt":"","role":"img","height":_vm.height}})]):_vm._e()]),_vm._v(" "),_c('div',{class:_vm.compact ? 'col-sm-9' : 'col-12'},[_c('div',{staticClass:"text-content gl-mx-auto gl-my-0",class:{ 'gl-p-5': !_vm.compact }},[_c('h1',{ref:"title",staticClass:"gl-font-size-h-display gl-line-height-36",class:_vm.compact ? 'h5' : 'h4'},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),(_vm.description || _vm.$scopedSlots.description)?_c('p',{ref:"description",staticClass:"gl-mt-3"},[_vm._t("description",[_vm._v("\n "+_vm._s(_vm.description)+"\n ")])],2):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-flex-wrap",class:{ 'gl-justify-content-center': !_vm.compact }},[_vm._t("actions",[(_vm.shouldRenderPrimaryButton)?_c('gl-button',{staticClass:"gl-mb-3",class:_vm.compact ? 'gl-mr-3' : 'gl-mx-2',attrs:{"variant":"confirm","href":_vm.primaryButtonLink}},[_vm._v(_vm._s(_vm.primaryButtonText))]):_vm._e(),_vm._v(" "),(_vm.shouldRenderSecondaryButton)?_c('gl-button',{staticClass:"gl-mb-3 gl-mr-3",class:{ 'gl-mx-2!': !_vm.compact },attrs:{"href":_vm.secondaryButtonLink}},[_vm._v(_vm._s(_vm.secondaryButtonText)+"\n ")]):_vm._e()])],2)])])])};
|
|
114
114
|
var __vue_staticRenderFns__ = [];
|
|
115
115
|
|
|
116
116
|
/* style */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "32.43.
|
|
3
|
+
"version": "32.43.1",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -88,15 +88,15 @@
|
|
|
88
88
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
89
89
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
90
90
|
"@rollup/plugin-replace": "^2.3.2",
|
|
91
|
-
"@storybook/addon-a11y": "6.4.
|
|
92
|
-
"@storybook/addon-docs": "6.4.
|
|
93
|
-
"@storybook/addon-essentials": "6.4.
|
|
91
|
+
"@storybook/addon-a11y": "6.4.8",
|
|
92
|
+
"@storybook/addon-docs": "6.4.8",
|
|
93
|
+
"@storybook/addon-essentials": "6.4.8",
|
|
94
94
|
"@storybook/addon-knobs": "6.4.0",
|
|
95
|
-
"@storybook/addon-storyshots": "6.4.
|
|
96
|
-
"@storybook/addon-storyshots-puppeteer": "6.4.
|
|
97
|
-
"@storybook/addon-viewport": "6.4.
|
|
98
|
-
"@storybook/theming": "6.4.
|
|
99
|
-
"@storybook/vue": "6.4.
|
|
95
|
+
"@storybook/addon-storyshots": "6.4.8",
|
|
96
|
+
"@storybook/addon-storyshots-puppeteer": "6.4.8",
|
|
97
|
+
"@storybook/addon-viewport": "6.4.8",
|
|
98
|
+
"@storybook/theming": "6.4.8",
|
|
99
|
+
"@storybook/vue": "6.4.8",
|
|
100
100
|
"@vue/test-utils": "1.1.3",
|
|
101
101
|
"autoprefixer": "^9.7.6",
|
|
102
102
|
"babel-jest": "^26.6.3",
|
|
@@ -104,8 +104,14 @@ export default {
|
|
|
104
104
|
</div>
|
|
105
105
|
<div :class="compact ? 'col-sm-9' : 'col-12'">
|
|
106
106
|
<div class="text-content gl-mx-auto gl-my-0" :class="{ 'gl-p-5': !compact }">
|
|
107
|
-
<h1
|
|
108
|
-
|
|
107
|
+
<h1
|
|
108
|
+
ref="title"
|
|
109
|
+
class="gl-font-size-h-display gl-line-height-36"
|
|
110
|
+
:class="compact ? 'h5' : 'h4'"
|
|
111
|
+
>
|
|
112
|
+
{{ title }}
|
|
113
|
+
</h1>
|
|
114
|
+
<p v-if="description || $scopedSlots.description" ref="description" class="gl-mt-3">
|
|
109
115
|
<!--
|
|
110
116
|
@slot Use this slot to customize the empty state's description
|
|
111
117
|
area. Overrides the `description` prop.
|