@gitlab/ui 89.7.0 → 90.1.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,23 @@
1
+ # [90.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v90.0.0...v90.1.0) (2024-08-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * **GlStackedColumnChart:** Add `includeLegendAvgMax` prop ([70874ae](https://gitlab.com/gitlab-org/gitlab-ui/commit/70874ae8860799e0f6a4de326cb38863dc2b1265))
7
+
8
+ # [90.0.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v89.7.0...v90.0.0) (2024-08-22)
9
+
10
+
11
+ ### Code Refactoring
12
+
13
+ * **GlFormText:** Remove component ([9f0c757](https://gitlab.com/gitlab-org/gitlab-ui/commit/9f0c757e76e91245ba5794ab4a578393b984820d))
14
+
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ * **GlFormText:** Remove GlFormText component entirely. Bootstrap's
19
+ internal BFormText does still exist and is used in e.g. the GlFormGroup
20
+
1
21
  # [89.7.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v89.6.0...v89.7.0) (2024-08-21)
2
22
 
3
23
 
@@ -79,6 +79,11 @@ var script = {
79
79
  required: false,
80
80
  default: () => []
81
81
  },
82
+ includeLegendAvgMax: {
83
+ type: Boolean,
84
+ required: false,
85
+ default: true
86
+ },
82
87
  legendAverageText: {
83
88
  type: String,
84
89
  required: false,
@@ -248,7 +253,7 @@ var script = {
248
253
  name: series.name,
249
254
  type: series.type,
250
255
  color: this.getColor(index),
251
- data: series.data.map(data => data),
256
+ data: this.includeLegendAvgMax ? series.data.map(data => data) : undefined,
252
257
  yAxisIndex: series.yAxisIndex
253
258
  });
254
259
  return acc;
package/dist/config.js CHANGED
@@ -3,9 +3,6 @@ import translationKeys from '../translations';
3
3
  import { BVConfigPlugin } from './vendor/bootstrap-vue/src/bv-config';
4
4
  import { tooltipDelay } from './utils/constants';
5
5
 
6
- const bFormTextGlobalConfig = {
7
- textVariant: 'gl-muted'
8
- };
9
6
  const tooltipGlobalConfig = {
10
7
  // Work around for https://github.com/bootstrap-vue/bootstrap-vue/issues/6507
11
8
  boundaryPadding: 5,
@@ -59,7 +56,6 @@ const setConfigs = function () {
59
56
  }
60
57
  configured = true;
61
58
  Vue.use(BVConfigPlugin, {
62
- BFormText: bFormTextGlobalConfig,
63
59
  BTooltip: tooltipGlobalConfig,
64
60
  BPopover: {
65
61
  delay: popoverDelayConfig