@gitlab/ui 64.3.0 → 64.5.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,17 @@
1
+ # [64.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v64.4.0...v64.5.0) (2023-06-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * **css:** Use gl-shadow-lg for drawer drop shadow ([d57f305](https://gitlab.com/gitlab-org/gitlab-ui/commit/d57f3052889e8c66de24de73f63351abf79d5423))
7
+
8
+ # [64.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v64.3.0...v64.4.0) (2023-06-06)
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlAvatarLabeled:** Display label as row ([44b4dd2](https://gitlab.com/gitlab-org/gitlab-ui/commit/44b4dd2e9da672102973fe0d56b48332a1483a3f))
14
+
1
15
  # [64.3.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v64.2.3...v64.3.0) (2023-06-06)
2
16
 
3
17
 
@@ -27,6 +27,11 @@ var script = {
27
27
  type: String,
28
28
  required: false,
29
29
  default: ''
30
+ },
31
+ inlineLabels: {
32
+ type: Boolean,
33
+ required: false,
34
+ default: false
30
35
  }
31
36
  },
32
37
  computed: {
@@ -49,6 +54,11 @@ var script = {
49
54
  return {
50
55
  'gl-cursor-pointer': this.hasLabelLink
51
56
  };
57
+ },
58
+ avatarRowLayoutClass() {
59
+ return {
60
+ 'inline-labels': this.inlineLabels
61
+ };
52
62
  }
53
63
  },
54
64
  methods: {
@@ -62,7 +72,7 @@ var script = {
62
72
  const __vue_script__ = script;
63
73
 
64
74
  /* template */
65
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-avatar-labeled"},[_c('gl-avatar',_vm._g(_vm._b({class:_vm.avatarCssClasses,attrs:{"alt":""}},'gl-avatar',_vm.$attrs,false),_vm.avatarListeners)),_vm._v(" "),_c('div',{staticClass:"gl-avatar-labeled-labels gl-text-left!"},[_c('div',{staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-text-left! gl-mx-n1 gl-my-n1"},[(_vm.hasLabelLink)?_c('gl-link',{ref:"labelLink",staticClass:"gl-avatar-link",attrs:{"href":_vm.labelLink}},[_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))])]):_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))]),_vm._v(" "),_vm._t("meta")],2),_vm._v(" "),(_vm.hasSubLabelLink)?_c('gl-link',{staticClass:"gl-avatar-link",attrs:{"href":_vm.subLabelLink}},[_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))])]):_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))]),_vm._v(" "),_vm._t("default")],2)],1)};
75
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-avatar-labeled"},[_c('gl-avatar',_vm._g(_vm._b({class:_vm.avatarCssClasses,attrs:{"alt":""}},'gl-avatar',_vm.$attrs,false),_vm.avatarListeners)),_vm._v(" "),_c('div',{staticClass:"gl-avatar-labeled-labels gl-text-left!",class:_vm.avatarRowLayoutClass},[_c('div',{staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-text-left! gl-mx-n1 gl-my-n1"},[(_vm.hasLabelLink)?_c('gl-link',{ref:"labelLink",staticClass:"gl-avatar-link",attrs:{"href":_vm.labelLink}},[_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))])]):_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))]),_vm._v(" "),_vm._t("meta")],2),_vm._v(" "),(_vm.hasSubLabelLink)?_c('gl-link',{staticClass:"gl-avatar-link",attrs:{"href":_vm.subLabelLink}},[_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))])]):_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))]),_vm._v(" "),_vm._t("default")],2)],1)};
66
76
  var __vue_staticRenderFns__ = [];
67
77
 
68
78
  /* style */