@gitlab/ui 86.10.0 → 86.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "86.10.0",
3
+ "version": "86.11.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -105,10 +105,10 @@
105
105
  },
106
106
  "devDependencies": {
107
107
  "@arkweid/lefthook": "0.7.7",
108
- "@babel/core": "^7.24.7",
108
+ "@babel/core": "^7.24.8",
109
109
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
110
110
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
111
- "@babel/preset-env": "^7.24.7",
111
+ "@babel/preset-env": "^7.24.8",
112
112
  "@babel/preset-react": "^7.24.7",
113
113
  "@cypress/grep": "^4.0.1",
114
114
  "@gitlab/eslint-plugin": "19.5.0",
@@ -147,6 +147,7 @@
147
147
  "babel-jest": "29.0.1",
148
148
  "babel-loader": "^8.0.5",
149
149
  "bootstrap": "4.6.2",
150
+ "cobertura-merge": "^1.0.4",
150
151
  "cypress": "13.13.0",
151
152
  "cypress-axe": "^1.4.0",
152
153
  "cypress-real-events": "^1.11.0",
@@ -84,6 +84,14 @@ export default {
84
84
  default: 0,
85
85
  validator: (x) => x >= 0 && x <= 1,
86
86
  },
87
+ /**
88
+ * Whether to connect the line across null points.
89
+ */
90
+ connectNulls: {
91
+ type: Boolean,
92
+ required: false,
93
+ default: false,
94
+ },
87
95
  },
88
96
  data() {
89
97
  return {
@@ -132,7 +140,7 @@ export default {
132
140
  return mergeSeriesToOptions(mergedOptions, this.series);
133
141
  },
134
142
  series() {
135
- const { data, smooth, itemStyle, showLastYValue } = this;
143
+ const { data, smooth, itemStyle, showLastYValue, connectNulls } = this;
136
144
  const markPoint = showLastYValue
137
145
  ? {
138
146
  symbol: 'circle',
@@ -159,6 +167,7 @@ export default {
159
167
  smooth,
160
168
  itemStyle,
161
169
  lineStyle: { cap: 'round' },
170
+ connectNulls,
162
171
  };
163
172
  },
164
173
  itemStyle() {
@@ -6,8 +6,8 @@
6
6
  @include gl-bg-gray-100;
7
7
  }
8
8
 
9
- .code {
10
- @include gl-bg-white;
9
+ pre {
10
+ @include gl-reset-color;
11
11
  }
12
12
 
13
13
  pre code {