@atlaskit/badge 17.0.0 → 17.0.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,5 +1,14 @@
1
1
  # @atlaskit/badge
2
2
 
3
+ ## 17.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103261](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103261)
8
+ [`313a78293b12a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/313a78293b12a) -
9
+ Internal patch for testId. Fixes data-testId warning. No functionality change.
10
+ - Updated dependencies
11
+
3
12
  ## 17.0.0
4
13
 
5
14
  ### Major Changes
package/dist/cjs/badge.js CHANGED
@@ -80,7 +80,7 @@ var Badge = /*#__PURE__*/(0, _react.memo)(function Badge(_ref) {
80
80
  }, typeof children === 'number' && max ? (0, _utils.formatValue)(children, max) : children));
81
81
  }
82
82
  return /*#__PURE__*/React.createElement("span", {
83
- "data-testId": testId,
83
+ "data-testid": testId,
84
84
  style: {
85
85
  backgroundColor: style === null || style === void 0 ? void 0 : style.backgroundColor,
86
86
  color: style === null || style === void 0 ? void 0 : style.color
@@ -69,7 +69,7 @@ const Badge = /*#__PURE__*/memo(function Badge({
69
69
  }, typeof children === 'number' && max ? formatValue(children, max) : children));
70
70
  }
71
71
  return /*#__PURE__*/React.createElement("span", {
72
- "data-testId": testId,
72
+ "data-testid": testId,
73
73
  style: {
74
74
  backgroundColor: style === null || style === void 0 ? void 0 : style.backgroundColor,
75
75
  color: style === null || style === void 0 ? void 0 : style.color
package/dist/esm/badge.js CHANGED
@@ -71,7 +71,7 @@ var Badge = /*#__PURE__*/memo(function Badge(_ref) {
71
71
  }, typeof children === 'number' && max ? formatValue(children, max) : children));
72
72
  }
73
73
  return /*#__PURE__*/React.createElement("span", {
74
- "data-testId": testId,
74
+ "data-testid": testId,
75
75
  style: {
76
76
  backgroundColor: style === null || style === void 0 ? void 0 : style.backgroundColor,
77
77
  color: style === null || style === void 0 ? void 0 : style.color
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "A badge is a visual indicator for numeric values such as tallies and scores.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/css": "^0.7.0",
42
42
  "@atlaskit/platform-feature-flags": "^0.3.0",
43
43
  "@atlaskit/primitives": "^13.3.0",
44
- "@atlaskit/tokens": "^3.0.0",
44
+ "@atlaskit/tokens": "^3.1.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@compiled/react": "^0.18.1"
47
47
  },