@gitlab/ui 80.15.1 → 80.15.2
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
|
+
## [80.15.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.15.1...v80.15.2) (2024-05-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **GlExperimentBadge:** correct line-break in the text ([b55a2f8](https://gitlab.com/gitlab-org/gitlab-ui/commit/b55a2f8968319edd6283c2e984bae9882f4c1431))
|
|
7
|
+
|
|
1
8
|
## [80.15.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.15.0...v80.15.1) (2024-05-29)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -10,13 +10,13 @@ const i18n = {
|
|
|
10
10
|
experiment: {
|
|
11
11
|
BADGE: 'Experiment',
|
|
12
12
|
POPOVER_TITLE: "What's an experiment?",
|
|
13
|
-
POPOVER_CONTENT: 'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development
|
|
13
|
+
POPOVER_CONTENT: 'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development.%{line-breakStart}Experiments:%{line-breakEnd} %{bullets}',
|
|
14
14
|
POPOVER_BULLETS: ['Might be unstable or cause data loss.', 'Are not supported and might not be documented.', 'Could be changed or removed at any time.', 'Are subject to the GitLab Testing Agreement.']
|
|
15
15
|
},
|
|
16
16
|
beta: {
|
|
17
17
|
BADGE: 'Beta',
|
|
18
18
|
POPOVER_TITLE: "What's a beta?",
|
|
19
|
-
POPOVER_CONTENT: "A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released
|
|
19
|
+
POPOVER_CONTENT: "A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released.%{line-breakStart}Beta features:%{line-breakEnd} %{bullets}",
|
|
20
20
|
POPOVER_BULLETS: ['Have a low risk of data loss, but might still be unstable.', 'Are supported on a commercially-reasonable effort basis.', 'Have a near complete user experience.', 'Are subject to the GitLab Testing Agreement.']
|
|
21
21
|
}
|
|
22
22
|
};
|
|
@@ -71,7 +71,9 @@ const __vue_script__ = script;
|
|
|
71
71
|
/* template */
|
|
72
72
|
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-badge',{staticClass:"gl-mx-4 gl-hover-cursor-pointer",attrs:{"id":_vm.triggerId,"variant":"neutral","size":"md"}},[_c('span',[_vm._v(_vm._s(_vm.activeType.BADGE))]),_vm._v(" "),_c('gl-popover',{attrs:{"triggers":"click","show-close-button":"","placement":_vm.popoverPlacement,"target":_vm.triggerId,"css-classes":['gl-z-index-9999!'],"title":_vm.activeType.POPOVER_TITLE}},[_c('gl-sprintf',{attrs:{"message":_vm.activeType.POPOVER_CONTENT},scopedSlots:_vm._u([{key:"link",fn:function(ref){
|
|
73
73
|
var content = ref.content;
|
|
74
|
-
return [(_vm.helpPageUrl)?_c('gl-link',{staticClass:"gl-font-sm!",attrs:{"href":_vm.helpPageUrl,"target":"_blank"}},[_vm._v("\n "+_vm._s(content)+"\n ")]):_c('span',[_vm._v(_vm._s(content))])]}},{key:"bullets",fn:function(){return [_c('ul',{staticClass:"gl-mb-0 gl-pl-5"},_vm._l((_vm.activeType.POPOVER_BULLETS),function(item,i){return _c('li',{key:("li-" + i)},[_vm._v("\n "+_vm._s(item)+"\n ")])}),0)]},proxy:true}
|
|
74
|
+
return [(_vm.helpPageUrl)?_c('gl-link',{staticClass:"gl-font-sm!",attrs:{"href":_vm.helpPageUrl,"target":"_blank"}},[_vm._v("\n "+_vm._s(content)+"\n ")]):_c('span',[_vm._v(_vm._s(content))])]}},{key:"bullets",fn:function(){return [_c('ul',{staticClass:"gl-mb-0 gl-pl-5"},_vm._l((_vm.activeType.POPOVER_BULLETS),function(item,i){return _c('li',{key:("li-" + i)},[_vm._v("\n "+_vm._s(item)+"\n ")])}),0)]},proxy:true},{key:"line-break",fn:function(ref){
|
|
75
|
+
var content = ref.content;
|
|
76
|
+
return [_c('span',{staticClass:"gl-mt-5 gl-mb-0 gl-display-block"},[_vm._v(_vm._s(content))])]}}])})],1)],1)};
|
|
75
77
|
var __vue_staticRenderFns__ = [];
|
|
76
78
|
|
|
77
79
|
/* style */
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ export const i18n = {
|
|
|
11
11
|
BADGE: 'Experiment',
|
|
12
12
|
POPOVER_TITLE: "What's an experiment?",
|
|
13
13
|
POPOVER_CONTENT:
|
|
14
|
-
'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development
|
|
14
|
+
'An %{linkStart}experiment%{linkEnd} is not yet production-ready, but is released for initial testing and feedback during development.%{line-breakStart}Experiments:%{line-breakEnd} %{bullets}',
|
|
15
15
|
POPOVER_BULLETS: [
|
|
16
16
|
'Might be unstable or cause data loss.',
|
|
17
17
|
'Are not supported and might not be documented.',
|
|
@@ -23,7 +23,7 @@ export const i18n = {
|
|
|
23
23
|
BADGE: 'Beta',
|
|
24
24
|
POPOVER_TITLE: "What's a beta?",
|
|
25
25
|
POPOVER_CONTENT:
|
|
26
|
-
"A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released
|
|
26
|
+
"A %{linkStart}beta%{linkEnd} feature is not yet production-ready, but is ready for testing and unlikely to change significantly before it's released.%{line-breakStart}Beta features:%{line-breakEnd} %{bullets}",
|
|
27
27
|
POPOVER_BULLETS: [
|
|
28
28
|
'Have a low risk of data loss, but might still be unstable.',
|
|
29
29
|
'Are supported on a commercially-reasonable effort basis.',
|
|
@@ -104,6 +104,9 @@ export default {
|
|
|
104
104
|
</li>
|
|
105
105
|
</ul>
|
|
106
106
|
</template>
|
|
107
|
+
<template #line-break="{ content }">
|
|
108
|
+
<span class="gl-mt-5 gl-mb-0 gl-display-block">{{ content }}</span>
|
|
109
|
+
</template>
|
|
107
110
|
</gl-sprintf>
|
|
108
111
|
</gl-popover>
|
|
109
112
|
</gl-badge>
|