@gitlab/ui 38.8.0 → 38.8.1

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,15 @@
1
+ ## [38.8.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.8.0...v38.8.1) (2022-04-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Force a new release for revert ([c983975](https://gitlab.com/gitlab-org/gitlab-ui/commit/c98397525d3f64628a661b00850f3733338c02f2))
7
+
8
+
9
+ ### Reverts
10
+
11
+ * **GlChartSeriesLabel:** Add validation for type prop ([f971aab](https://gitlab.com/gitlab-org/gitlab-ui/commit/f971aab4b08d2f3481f7c1a9cbf0454124d75b39)), closes [/gitlab.com/gitlab-org/gitlab/-/merge_requests/83745#note_905812358](https://gitlab.com//gitlab.com/gitlab-org/gitlab/-/merge_requests/83745/issues/note_905812358)
12
+
1
13
  # [38.8.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v38.7.0...v38.8.0) (2022-04-08)
2
14
 
3
15
 
@@ -11,12 +11,7 @@ var script = {
11
11
  type: {
12
12
  type: String,
13
13
  required: false,
14
- default: 'solid',
15
-
16
- validator(value) {
17
- return ['solid', 'dashed'].indexOf(value) !== -1;
18
- }
19
-
14
+ default: 'solid'
20
15
  }
21
16
  },
22
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "38.8.0",
3
+ "version": "38.8.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -35,13 +35,14 @@ const Template = (_args, { argTypes }) => ({
35
35
  });
36
36
 
37
37
  export const Default = Template.bind({});
38
- Default.args = generateProps();
38
+ Default.args = generateProps({ color: '' });
39
39
 
40
40
  export const WithLongName = Template.bind({});
41
- WithLongName.args = generateProps({ text: SERIES_NAME[SERIES_NAME_LONG] });
41
+ WithLongName.args = generateProps({ color: '', text: SERIES_NAME[SERIES_NAME_LONG] });
42
42
 
43
43
  export const WithLongNameWithNoSpaces = Template.bind({});
44
44
  WithLongNameWithNoSpaces.args = generateProps({
45
+ color: '',
45
46
  text: SERIES_NAME[SERIES_NAME_LONG_WITHOUT_SPACES],
46
47
  });
47
48
 
@@ -71,10 +72,6 @@ export default {
71
72
  },
72
73
  },
73
74
  argTypes: {
74
- type: {
75
- control: 'select',
76
- options: ['solid', 'dashed'],
77
- },
78
75
  color: {
79
76
  control: 'color',
80
77
  },
@@ -12,9 +12,6 @@ export default {
12
12
  type: String,
13
13
  required: false,
14
14
  default: 'solid',
15
- validator(value) {
16
- return ['solid', 'dashed'].indexOf(value) !== -1;
17
- },
18
15
  },
19
16
  },
20
17
  data() {