@atlaskit/badge 18.1.0 → 18.1.2

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,23 @@
1
1
  # @atlaskit/badge
2
2
 
3
+ ## 18.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#155802](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155802)
8
+ [`08019848e3eab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08019848e3eab) -
9
+ Refreshed "issue" terminology.
10
+ - Updated dependencies
11
+
12
+ ## 18.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
17
+ [`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
18
+ Update `@compiled/react` dependency for improved type checking support.
19
+ - Updated dependencies
20
+
3
21
  ## 18.1.0
4
22
 
5
23
  ### Minor Changes
package/dist/cjs/badge.js CHANGED
@@ -47,7 +47,6 @@ var styles = {
47
47
  };
48
48
  var badgeValueWithNegativeNumberSupported = function badgeValueWithNegativeNumberSupported(children, max) {
49
49
  // Use this flag for allowing negative values(numbers) in badge component when custom number field is used
50
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
51
50
  if ((0, _platformFeatureFlags.fg)('platform_ken_2029_negative_numbers_badge')) {
52
51
  return typeof children === 'number' && typeof max === 'number' ? (0, _utils.formatValueWithNegativeSupport)(children, max) : children;
53
52
  }
@@ -38,7 +38,6 @@ const styles = {
38
38
  };
39
39
  const badgeValueWithNegativeNumberSupported = (children, max) => {
40
40
  // Use this flag for allowing negative values(numbers) in badge component when custom number field is used
41
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
42
41
  if (fg('platform_ken_2029_negative_numbers_badge')) {
43
42
  return typeof children === 'number' && typeof max === 'number' ? formatValueWithNegativeSupport(children, max) : children;
44
43
  }
package/dist/esm/badge.js CHANGED
@@ -38,7 +38,6 @@ var styles = {
38
38
  };
39
39
  var badgeValueWithNegativeNumberSupported = function badgeValueWithNegativeNumberSupported(children, max) {
40
40
  // Use this flag for allowing negative values(numbers) in badge component when custom number field is used
41
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-registration
42
41
  if (fg('platform_ken_2029_negative_numbers_badge')) {
43
42
  return typeof children === 'number' && typeof max === 'number' ? formatValueWithNegativeSupport(children, max) : children;
44
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "18.1.0",
3
+ "version": "18.1.2",
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/"
@@ -39,25 +39,25 @@
39
39
  "dependencies": {
40
40
  "@atlaskit/codemod-utils": "^4.2.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
- "@atlaskit/primitives": "^14.1.0",
43
- "@atlaskit/tokens": "^4.3.0",
42
+ "@atlaskit/primitives": "^14.8.0",
43
+ "@atlaskit/tokens": "^4.9.0",
44
44
  "@babel/runtime": "^7.0.0",
45
- "@compiled/react": "^0.18.2"
45
+ "@compiled/react": "^0.18.3"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "^18.2.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@af/accessibility-testing": "*",
52
- "@af/integration-testing": "*",
53
- "@af/visual-regression": "*",
54
- "@atlaskit/docs": "*",
51
+ "@af/accessibility-testing": "workspace:^",
52
+ "@af/integration-testing": "workspace:^",
53
+ "@af/visual-regression": "workspace:^",
54
+ "@atlaskit/docs": "^10.0.0",
55
55
  "@atlaskit/ds-lib": "^4.0.0",
56
- "@atlaskit/link": "*",
57
- "@atlaskit/section-message": "*",
58
- "@atlaskit/ssr": "*",
59
- "@atlaskit/theme": "^17.0.0",
60
- "@atlassian/feature-flags-test-utils": "*",
56
+ "@atlaskit/link": "^3.2.0",
57
+ "@atlaskit/section-message": "^8.2.0",
58
+ "@atlaskit/theme": "^18.0.0",
59
+ "@atlassian/feature-flags-test-utils": "^0.3.0",
60
+ "@atlassian/ssr-tests": "0.2.0",
61
61
  "@testing-library/react": "^13.4.0",
62
62
  "react-dom": "^18.2.0",
63
63
  "typescript": "~5.4.2"