@gitlab/ui 66.5.0 → 66.7.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 CHANGED
@@ -1,3 +1,22 @@
1
+ # [66.7.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.6.0...v66.7.0) (2023-09-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **GlEmptyState:** update styling to be Pajamas compliant ([35862a2](https://gitlab.com/gitlab-org/gitlab-ui/commit/35862a2e5e052227b162ad85e02cb87581b354d2))
7
+
8
+
9
+ ### Features
10
+
11
+ * **CSS:** add `gl-md-grid-template-columns-4` CSS utility class ([2e7fe9b](https://gitlab.com/gitlab-org/gitlab-ui/commit/2e7fe9b7fda8c402712ee0a617767e3181d648b5))
12
+
13
+ # [66.6.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.5.0...v66.6.0) (2023-09-10)
14
+
15
+
16
+ ### Features
17
+
18
+ * **mixin:** Add hover for gl-border-gray-10 mixin ([ffe4522](https://gitlab.com/gitlab-org/gitlab-ui/commit/ffe4522dfa788d166ac98b34fe49045cdfac6e25))
19
+
1
20
  # [66.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v66.4.0...v66.5.0) (2023-09-07)
2
21
 
3
22
 
@@ -29,7 +29,7 @@ var script = {
29
29
  svgHeight: {
30
30
  type: Number,
31
31
  required: false,
32
- default: null
32
+ default: 144
33
33
  },
34
34
  /**
35
35
  * The desciption/body text of the empty state.
@@ -107,7 +107,7 @@ var script = {
107
107
  return Boolean(this.secondaryButtonLink && this.secondaryButtonText);
108
108
  },
109
109
  contentClasses() {
110
- return [this.compact ? 'gl-flex-grow-1 gl-flex-basis-0 gl-px-4' : 'gl-max-w-full gl-m-auto', this.contentClass];
110
+ return [this.compact ? 'gl-flex-grow-1 gl-flex-basis-0 gl-px-4' : 'gl-max-w-88 gl-m-auto', this.contentClass];
111
111
  }
112
112
  }
113
113
  };
@@ -117,9 +117,9 @@ const __vue_script__ = script;
117
117
 
118
118
  /* template */
119
119
  var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"gl-display-flex",class:{
120
- 'empty-state gl-text-center gl-flex-direction-column': !_vm.compact,
120
+ 'gl-empty-state gl-text-center gl-flex-direction-column': !_vm.compact,
121
121
  'gl-flex-direction-row': _vm.compact,
122
- }},[_c('div',{class:{ 'gl-display-none gl-sm-display-block gl-px-4': _vm.compact, 'gl-max-w-full': !_vm.compact }},[(_vm.svgPath)?_c('div',{staticClass:"svg-250",class:{ 'svg-content': !_vm.compact }},[_c('img',{staticClass:"gl-max-w-full",class:{ 'gl-dark-invert-keep-hue': _vm.invertInDarkMode },attrs:{"src":_vm.svgPath,"alt":"","role":"img","height":_vm.height}})]):_vm._e()]),_vm._v(" "),_c('div',{class:_vm.contentClasses,attrs:{"data-testid":"gl-empty-state-content"}},[_c('div',{staticClass:"gl-mx-auto gl-my-0",class:{ 'gl-p-5': !_vm.compact }},[_vm._t("title",function(){return [_c('h1',{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",function(){return [_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",function(){return [(_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)],2)])])};
122
+ }},[_c('div',{class:{ 'gl-display-none gl-sm-display-block gl-px-4': _vm.compact, 'gl-max-w-full': !_vm.compact }},[(_vm.svgPath)?_c('div',[_c('img',{staticClass:"gl-max-w-full",class:{ 'gl-dark-invert-keep-hue': _vm.invertInDarkMode },attrs:{"src":_vm.svgPath,"alt":"","role":"img","height":_vm.height}})]):_vm._e()]),_vm._v(" "),_c('div',{class:_vm.contentClasses,attrs:{"data-testid":"gl-empty-state-content"}},[_c('div',{staticClass:"gl-mx-auto gl-my-0",class:{ 'gl-p-5': !_vm.compact }},[_vm._t("title",function(){return [_c('h1',{staticClass:"gl-font-size-h-display gl-line-height-36 gl-mt-0 gl-mb-0",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-4 gl-mb-0"},[_vm._t("description",function(){return [_vm._v("\n "+_vm._s(_vm.description)+"\n ")]})],2):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-display-flex gl-flex-wrap gl-mt-5",class:{ 'gl-justify-content-center': !_vm.compact }},[_vm._t("actions",function(){return [(_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)],2)])])};
123
123
  var __vue_staticRenderFns__ = [];
124
124
 
125
125
  /* style */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ * Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ * Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ * Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#fff";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ * Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
  */
5
5
 
6
6
  export const BLACK = "#000";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ // Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
 
5
5
  $red-950: #fff4f3;
6
6
  $red-900: #fcf1ef;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 07 Sep 2023 10:31:09 GMT
3
+ // Generated on Tue, 12 Sep 2023 08:43:35 GMT
4
4
 
5
5
  $brand-gray-05: #2b2838 !default;
6
6
  $brand-gray-04: #45424d !default;