@gitlab/ui 32.33.0 → 32.36.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 +28 -0
- package/dist/components/base/filtered_search/filtered_search_suggestion_list.js +7 -2
- package/dist/components/charts/area/area.js +3 -0
- package/dist/components/charts/bar/bar.js +2 -2
- package/dist/components/charts/chart/chart.js +20 -21
- package/dist/components/charts/legend/legend.js +1 -1
- package/dist/components/charts/tooltip/tooltip.js +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/dist/utils/charts/config.js +4 -3
- package/dist/utils/charts/mock_data.js +6 -3
- package/dist/utils/charts/theme.js +15 -9
- package/package.json +3 -3
- package/src/components/base/filtered_search/filtered_search_suggestion_list.spec.js +15 -8
- package/src/components/base/filtered_search/filtered_search_suggestion_list.vue +11 -2
- package/src/components/charts/area/area.vue +3 -0
- package/src/components/charts/bar/__snapshots__/bar.spec.js.snap +2 -2
- package/src/components/charts/bar/bar.vue +2 -2
- package/src/components/charts/chart/chart.spec.js +3 -1
- package/src/components/charts/chart/chart.vue +22 -20
- package/src/components/charts/column/__snapshots__/column_chart.spec.js.snap +6 -6
- package/src/components/charts/legend/legend.vue +1 -1
- package/src/components/charts/stacked_column/__snapshots__/stacked_column.spec.js.snap +26 -26
- package/src/components/charts/tooltip/tooltip.vue +1 -1
- package/src/scss/utilities.scss +24 -0
- package/src/scss/utility-mixins/sizing.scss +12 -0
- package/src/utils/charts/config.js +3 -2
- package/src/utils/charts/mock_data.js +5 -2
- package/src/utils/charts/theme.js +14 -9
|
@@ -105,15 +105,14 @@ const axes = {
|
|
|
105
105
|
margin: 8,
|
|
106
106
|
show: true,
|
|
107
107
|
color: gray600,
|
|
108
|
-
|
|
109
|
-
color: gray600,
|
|
110
|
-
},
|
|
108
|
+
hideOverlap: true,
|
|
111
109
|
},
|
|
112
110
|
axisLine: {
|
|
113
111
|
show: false,
|
|
114
112
|
},
|
|
115
113
|
axisPointer: {
|
|
116
114
|
lineStyle: {
|
|
115
|
+
type: 'solid',
|
|
117
116
|
color: gray600,
|
|
118
117
|
},
|
|
119
118
|
label: {
|
|
@@ -175,6 +174,7 @@ const createTheme = (options = {}) => ({
|
|
|
175
174
|
dataZoom: {
|
|
176
175
|
borderColor: 'transparent',
|
|
177
176
|
filterMode: 'none',
|
|
177
|
+
brushSelect: false,
|
|
178
178
|
dataBackground: {
|
|
179
179
|
lineStyle: {
|
|
180
180
|
width: 2,
|
|
@@ -184,7 +184,7 @@ const createTheme = (options = {}) => ({
|
|
|
184
184
|
// render unfilled zoom-graph if the series is a line chart without area styles
|
|
185
185
|
// more details: https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2364#note_666637306
|
|
186
186
|
areaStyle: isLineChartWithoutArea(options)
|
|
187
|
-
? null
|
|
187
|
+
? {} // Use empty object instead of null, see https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2185#note_707711029 for more context
|
|
188
188
|
: {
|
|
189
189
|
color: gray50,
|
|
190
190
|
opacity: 1,
|
|
@@ -192,7 +192,10 @@ const createTheme = (options = {}) => ({
|
|
|
192
192
|
},
|
|
193
193
|
fillerColor: hexToRgba(gray200, 0.23),
|
|
194
194
|
handleIcon: scrollHandleSvgPath,
|
|
195
|
-
|
|
195
|
+
handleStyle: {
|
|
196
|
+
borderColor: 'transparent',
|
|
197
|
+
color: gray500,
|
|
198
|
+
},
|
|
196
199
|
handleSize: '50%',
|
|
197
200
|
labelFormatter: () => null,
|
|
198
201
|
textStyle: {
|
|
@@ -203,14 +206,16 @@ const createTheme = (options = {}) => ({
|
|
|
203
206
|
top: '-5',
|
|
204
207
|
left: 'center',
|
|
205
208
|
itemSize: 14,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
borderWidth: 0,
|
|
209
|
-
emphasis: {
|
|
209
|
+
emphasis: {
|
|
210
|
+
iconStyle: {
|
|
210
211
|
borderWidth: 0,
|
|
211
212
|
color: gray700,
|
|
212
213
|
},
|
|
213
214
|
},
|
|
215
|
+
iconStyle: {
|
|
216
|
+
color: gray200,
|
|
217
|
+
borderWidth: 0,
|
|
218
|
+
},
|
|
214
219
|
itemGap: 8,
|
|
215
220
|
feature: {
|
|
216
221
|
dataZoom: {
|