@atlaskit/badge 19.0.1 → 19.0.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,15 @@
1
1
  # @atlaskit/badge
2
2
 
3
+ ## 19.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e13ee97cc69a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e13ee97cc69a4) -
8
+ Fixed the legacy-appearance fallback for the `dangerBold` Badge appearance to map to `important`
9
+ instead of `removed`. When the `platform-dst-lozenge-tag-badge-visual-uplifts` feature gate is
10
+ off, `dangerBold` now falls back to the same legacy appearance the existing red danger Badge has
11
+ always used, preserving the previous visual look for consumers that haven't migrated yet.
12
+
3
13
  ## 19.0.1
4
14
 
5
15
  ### Patch Changes
@@ -25,7 +25,7 @@ var appearanceMappingToOld = exports.appearanceMappingToOld = {
25
25
  discovery: 'default',
26
26
  informationBold: 'primary',
27
27
  successBold: 'added',
28
- dangerBold: 'removed',
28
+ dangerBold: 'important',
29
29
  warningBold: 'default',
30
30
  discoveryBold: 'default'
31
31
  };
@@ -19,7 +19,7 @@ export const appearanceMappingToOld = {
19
19
  discovery: 'default',
20
20
  informationBold: 'primary',
21
21
  successBold: 'added',
22
- dangerBold: 'removed',
22
+ dangerBold: 'important',
23
23
  warningBold: 'default',
24
24
  discoveryBold: 'default'
25
25
  };
@@ -19,7 +19,7 @@ export var appearanceMappingToOld = {
19
19
  discovery: 'default',
20
20
  informationBold: 'primary',
21
21
  successBold: 'added',
22
- dangerBold: 'removed',
22
+ dangerBold: 'important',
23
23
  warningBold: 'default',
24
24
  discoveryBold: 'default'
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "19.0.1",
3
+ "version": "19.0.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/"