@atlaskit/icon-object 7.0.1 → 7.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,14 @@
1
1
  # @atlaskit/icon-object
2
2
 
3
+ ## 7.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#132394](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132394)
8
+ [`b76796edb29d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b76796edb29d7) -
9
+ Migrate from deprecated issue icon to work-item.
10
+ - Updated dependencies
11
+
3
12
  ## 7.0.1
4
13
 
5
14
  ### Patch Changes
package/build/utils.tsx CHANGED
@@ -53,7 +53,7 @@ export const iconObjectMapping: Record<
53
53
  packageName: 'icon',
54
54
  },
55
55
  issue: {
56
- icon: 'issue',
56
+ icon: 'work-item',
57
57
  appearance: 'blueBold',
58
58
  packageName: 'icon',
59
59
  },
@@ -7,12 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _icon = require("@atlaskit/icon");
10
- var _issue = _interopRequireDefault(require("@atlaskit/icon/core/issue"));
10
+ var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
11
11
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
12
  var _ = _interopRequireDefault(require("../../glyph-legacy/issue/16"));
13
13
  /**
14
14
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
- * @codegen <<SignedSource::d01d432ab722a2c3832255f02e4da614>>
15
+ * @codegen <<SignedSource::6546d4aeab39dc918bda403f727c61ae>>
16
16
  * @codegenCommand yarn build:icon-glyphs
17
17
  */
18
18
 
@@ -28,7 +28,7 @@ var Issue16Icon = function Issue16Icon(_ref) {
28
28
  testId = _ref.testId;
29
29
  if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
30
  return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
- icon: _issue.default,
31
+ icon: _workItem.default,
32
32
  appearance: "blueBold",
33
33
  size: "16",
34
34
  label: label,
@@ -7,12 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _icon = require("@atlaskit/icon");
10
- var _issue = _interopRequireDefault(require("@atlaskit/icon/core/issue"));
10
+ var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
11
11
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
12
  var _ = _interopRequireDefault(require("../../glyph-legacy/issue/24"));
13
13
  /**
14
14
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
- * @codegen <<SignedSource::c9c5a336ff3681cad7604c17617d7c3f>>
15
+ * @codegen <<SignedSource::91901ffa189a6513b393b10a1755d73e>>
16
16
  * @codegenCommand yarn build:icon-glyphs
17
17
  */
18
18
 
@@ -28,7 +28,7 @@ var Issue24Icon = function Issue24Icon(_ref) {
28
28
  testId = _ref.testId;
29
29
  if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
30
  return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
- icon: _issue.default,
31
+ icon: _workItem.default,
32
32
  appearance: "blueBold",
33
33
  size: "24",
34
34
  label: label,
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d01d432ab722a2c3832255f02e4da614>>
3
+ * @codegen <<SignedSource::6546d4aeab39dc918bda403f727c61ae>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/issue';
8
+ import NewIcon from '@atlaskit/icon/core/work-item';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import IconObjectOld from '../../glyph-legacy/issue/16';
11
11
 
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c9c5a336ff3681cad7604c17617d7c3f>>
3
+ * @codegen <<SignedSource::91901ffa189a6513b393b10a1755d73e>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/issue';
8
+ import NewIcon from '@atlaskit/icon/core/work-item';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import IconObjectOld from '../../glyph-legacy/issue/24';
11
11
 
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d01d432ab722a2c3832255f02e4da614>>
3
+ * @codegen <<SignedSource::6546d4aeab39dc918bda403f727c61ae>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/issue';
8
+ import NewIcon from '@atlaskit/icon/core/work-item';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import IconObjectOld from '../../glyph-legacy/issue/16';
11
11
 
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c9c5a336ff3681cad7604c17617d7c3f>>
3
+ * @codegen <<SignedSource::91901ffa189a6513b393b10a1755d73e>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/issue';
8
+ import NewIcon from '@atlaskit/icon/core/work-item';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import IconObjectOld from '../../glyph-legacy/issue/24';
11
11
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d01d432ab722a2c3832255f02e4da614>>
3
+ * @codegen <<SignedSource::6546d4aeab39dc918bda403f727c61ae>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c9c5a336ff3681cad7604c17617d7c3f>>
3
+ * @codegen <<SignedSource::91901ffa189a6513b393b10a1755d73e>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d01d432ab722a2c3832255f02e4da614>>
3
+ * @codegen <<SignedSource::6546d4aeab39dc918bda403f727c61ae>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c9c5a336ff3681cad7604c17617d7c3f>>
3
+ * @codegen <<SignedSource::91901ffa189a6513b393b10a1755d73e>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-object",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "An object icon is used to represent an Atlassian-specific content type.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,8 +37,8 @@
37
37
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
38
38
  },
39
39
  "dependencies": {
40
- "@atlaskit/icon": "^25.0.0",
41
- "@atlaskit/icon-lab": "^4.0.0",
40
+ "@atlaskit/icon": "^25.2.0",
41
+ "@atlaskit/icon-lab": "^4.5.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@babel/runtime": "^7.0.0"
44
44
  },