@gitlab/ui 80.15.0 → 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,17 @@
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
+
8
+ ## [80.15.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.15.0...v80.15.1) (2024-05-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **Tailwind:** restore inherit and current color classes ([3800ad2](https://gitlab.com/gitlab-org/gitlab-ui/commit/3800ad2763b53cc31ea44f6b36ca8da3c21a8e71))
14
+
1
15
  # [80.15.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.14.1...v80.15.0) (2024-05-29)
2
16
 
3
17
 
@@ -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.\nExperiments: %{bullets}',
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.\nBeta features: %{bullets}",
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}])})],1)],1)};
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 */
@@ -226,6 +226,8 @@ const backgroundColors = {
226
226
  };
227
227
 
228
228
  const colors = {
229
+ inherit: 'inherit',
230
+ current: 'currentColor',
229
231
  transparent: 'transparent',
230
232
  white: 'var(--white, #fff)',
231
233
  black: 'var(--black, #000)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "80.15.0",
3
+ "version": "80.15.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -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.\nExperiments: %{bullets}',
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.\nBeta features: %{bullets}",
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>
@@ -226,6 +226,8 @@ const backgroundColors = {
226
226
  };
227
227
 
228
228
  const colors = {
229
+ inherit: 'inherit',
230
+ current: 'currentColor',
229
231
  transparent: 'transparent',
230
232
  white: 'var(--white, #fff)',
231
233
  black: 'var(--black, #000)',