@gitlab/ui 40.6.6 → 40.7.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,10 @@
1
+ # [40.7.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v40.6.6...v40.7.0) (2022-05-31)
2
+
3
+
4
+ ### Features
5
+
6
+ * **GlSingleStat:** support string and number for value prop ([9217ee4](https://gitlab.com/gitlab-org/gitlab-ui/commit/9217ee42c9b54e04a8c98c56c50f9018896bc32d))
7
+
1
8
  ## [40.6.6](https://gitlab.com/gitlab-org/gitlab-ui/compare/v40.6.5...v40.6.6) (2022-05-30)
2
9
 
3
10
 
@@ -16,11 +16,11 @@ var script = {
16
16
  required: true
17
17
  },
18
18
  value: {
19
- type: String,
19
+ type: [String, Number],
20
20
  required: true
21
21
  },
22
22
  unit: {
23
- type: [String, Number],
23
+ type: String,
24
24
  required: false,
25
25
  default: null
26
26
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "40.6.6",
3
+ "version": "40.7.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -16,11 +16,11 @@ export default {
16
16
  required: true,
17
17
  },
18
18
  value: {
19
- type: String,
19
+ type: [String, Number],
20
20
  required: true,
21
21
  },
22
22
  unit: {
23
- type: [String, Number],
23
+ type: String,
24
24
  required: false,
25
25
  default: null,
26
26
  },