@atlaskit/badge 18.4.6 → 18.5.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,5 +1,25 @@
1
1
  # @atlaskit/badge
2
2
 
3
+ ## 18.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`52b7aa6b3d721`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/52b7aa6b3d721) -
8
+ Added a new `/new` entrypoint for `@atlaskit/lozenge`, `@atlaskit/badge`, and `@atlaskit/tag`.
9
+ These entrypoints export the new visual refresh components directly, bypassing the
10
+ `platform-dst-lozenge-tag-badge-visual-uplifts` feature flag. This is intended for products that
11
+ don't have Statsig integrated and cannot evaluate the feature flag.
12
+
13
+ New entrypoints:
14
+ - `import Lozenge from '@atlaskit/lozenge/new'`
15
+ - `import Badge from '@atlaskit/badge/new'`
16
+ - `import Tag from '@atlaskit/tag/new'`
17
+
18
+ **Note:** Do not use the `/new` entrypoint if your app can evaluate the
19
+ `platform-dst-lozenge-tag-badge-visual-uplifts` feature flag. These entrypoints will be removed
20
+ after the visual uplift rollout is complete, which will require updating import paths back to the
21
+ default entrypoint.
22
+
3
23
  ## 18.4.6
4
24
 
5
25
  ### Patch Changes
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _badgeNew.default;
11
+ }
12
+ });
13
+ var _badgeNew = _interopRequireDefault(require("../badge-new"));
@@ -0,0 +1 @@
1
+ export { default } from '../badge-new';
@@ -0,0 +1 @@
1
+ export { default } from '../badge-new';
@@ -0,0 +1,2 @@
1
+ export { default } from '../badge-new';
2
+ export type { BadgeNewProps } from '../types';
@@ -0,0 +1,2 @@
1
+ export { default } from '../badge-new';
2
+ export type { BadgeNewProps } from '../types';
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/badge/new",
3
+ "main": "../dist/cjs/entry-points/new.js",
4
+ "module": "../dist/esm/entry-points/new.js",
5
+ "module:es2019": "../dist/es2019/entry-points/new.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/new.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/new.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "18.4.6",
3
+ "version": "18.5.0",
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/"
@@ -62,7 +62,7 @@
62
62
  "@af/accessibility-testing": "workspace:^",
63
63
  "@af/integration-testing": "workspace:^",
64
64
  "@af/visual-regression": "workspace:^",
65
- "@atlaskit/docs": "^11.7.0",
65
+ "@atlaskit/docs": "^11.8.0",
66
66
  "@atlaskit/link": "^3.4.0",
67
67
  "@atlaskit/section-message": "^8.12.0",
68
68
  "@atlaskit/theme": "^23.0.0",