@gitlab/ui 59.3.2 → 59.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 +14 -0
- package/dist/components/charts/area/area.js +6 -0
- package/dist/index.css.map +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +1 -1
- package/src/components/charts/area/area.spec.js +61 -29
- package/src/components/charts/area/area.stories.js +22 -0
- package/src/components/charts/area/area.vue +7 -0
- package/src/scss/utilities.scss +28 -8
- package/src/scss/utility-mixins/flex.scss +19 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [59.5.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v59.4.0...v59.5.0) (2023-04-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add gl-sm-flex-nowrap, gl-flex-wrap-reverse ([7acd006](https://gitlab.com/gitlab-org/gitlab-ui/commit/7acd006d285bfe7eb51f9bcb1edc81b20b934b8a))
|
|
7
|
+
|
|
8
|
+
# [59.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v59.3.2...v59.4.0) (2023-04-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **GlAreaChart:** add legend-series-info prop ([6e855cc](https://gitlab.com/gitlab-org/gitlab-ui/commit/6e855cc1260c00a4a5821003b2dd0ec8d082d7bd))
|
|
14
|
+
|
|
1
15
|
## [59.3.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v59.3.1...v59.3.2) (2023-04-05)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -89,6 +89,11 @@ var script = {
|
|
|
89
89
|
type: [Number, String],
|
|
90
90
|
required: false,
|
|
91
91
|
default: null
|
|
92
|
+
},
|
|
93
|
+
legendSeriesInfo: {
|
|
94
|
+
type: Array,
|
|
95
|
+
required: false,
|
|
96
|
+
default: () => []
|
|
92
97
|
}
|
|
93
98
|
},
|
|
94
99
|
data() {
|
|
@@ -194,6 +199,7 @@ var script = {
|
|
|
194
199
|
};
|
|
195
200
|
},
|
|
196
201
|
seriesInfo() {
|
|
202
|
+
if (this.legendSeriesInfo.length > 0) return this.legendSeriesInfo;
|
|
197
203
|
return this.compiledOptions.series.reduce((acc, series, index) => {
|
|
198
204
|
if (series.type === 'line') {
|
|
199
205
|
acc.push({
|