@atlaskit/icon-object 7.2.3 → 7.3.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,30 @@
1
1
  # @atlaskit/icon-object
2
2
 
3
+ ## 7.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 7.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`e1c9823b0b420`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e1c9823b0b420) - ##
14
+ Deprecated
15
+
16
+ Icon object has been marked as deprecated, and has been replaced by Object (`@atlaskit/object`).
17
+
18
+ To migrate automatically, use the codemod:
19
+
20
+ ```sh
21
+ npx @atlaskit/codemod-cli -n migrate-icon-object-to-object --extensions tsx,ts,js --parser tsx <your-path>
22
+ ```
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 7.2.3
4
29
 
5
30
  ### Patch Changes
@@ -74,7 +99,6 @@
74
99
  This release updates icons in `@atlaskit/icon-object`.
75
100
 
76
101
  Updated: **`@atlaskit/icon-object`**
77
-
78
102
  - PageLiveDoc16Icon
79
103
  - PageLiveDoc24Icon
80
104
 
@@ -128,7 +152,6 @@
128
152
  [ux] This release adds icons in `@atlaskit/icon-object`.
129
153
 
130
154
  **`@atlaskit/icon-object`**
131
-
132
155
  - LiveDoc16Icon
133
156
  - LiveDoc24Icon
134
157
 
@@ -553,7 +576,6 @@
553
576
  - [patch][fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
554
577
 
555
578
  Corrects accessibility behavior for wrapping span. It now will now:
556
-
557
579
  - conditionally set the `aria-label` if `label` is defined
558
580
  - conditionally set the `role` to either `img` if `label` is defined, or `presentation` if it is
559
581
  not defined- Updated dependencies
@@ -575,7 +597,6 @@
575
597
 
576
598
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
577
599
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
578
-
579
600
  - @atlaskit/docs@8.3.2
580
601
  - @atlaskit/button@13.3.7
581
602
  - @atlaskit/modal-dialog@10.5.2
@@ -591,7 +612,6 @@
591
612
 
592
613
  Fix main/module fields in package.json pointing to the wrong place- Updated dependencies
593
614
  [ccbd1b390b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ccbd1b390b):
594
-
595
615
  - @atlaskit/build-utils@2.6.0
596
616
 
597
617
  ## 5.0.0
@@ -669,7 +689,6 @@
669
689
  ## 4.0.2
670
690
 
671
691
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
672
-
673
692
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
674
693
  Request #5942 for details
675
694
 
@@ -682,7 +701,6 @@
682
701
  ## 4.0.0
683
702
 
684
703
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
685
-
686
704
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
687
705
  this package, please ensure you use at least this version of react and react-dom.
688
706
 
@@ -711,7 +729,6 @@
711
729
  ## 3.0.6
712
730
 
713
731
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
714
-
715
732
  - Removes duplicate babel-runtime dependency
716
733
 
717
734
  ## 3.0.5
@@ -739,7 +756,6 @@
739
756
  ## 3.0.3
740
757
 
741
758
  - [patch][1d1f6d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d1f6d1):
742
-
743
759
  - Make icon glyphs not import metadata
744
760
 
745
761
  ## 3.0.2
@@ -765,7 +781,6 @@
765
781
  ## 3.0.0
766
782
 
767
783
  - [major][ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
768
-
769
784
  - Remove onClick props as icon is only a presentational placeholder. Please wrap icon into a
770
785
  Button or a Link component.
771
786
 
@@ -782,7 +797,6 @@
782
797
  ## 2.0.0
783
798
 
784
799
  - [patch][29b160f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29b160f):
785
-
786
800
  - Simplify the icons build process
787
801
 
788
802
  Icons no longer need a custom `build` step to be accurate on npm. This has come about by renaming
@@ -792,7 +806,6 @@
792
806
  - [major][80304f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80304f0):
793
807
 
794
808
  **NOTE** Unless you are using the `iconsInfo` export, this change is not breaking.
795
-
796
809
  - Rename `iconsInfo` to `metadata` to more accurately reflect its role
797
810
 
798
811
  This change comes with rethinking what is exported from this object, which no longer includes
@@ -0,0 +1,39 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.adminhub.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../adminhub/tsDist/@atlaskit__icon-object/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../icon/afm-adminhub/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../icon-lab/afm-adminhub/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../object/afm-adminhub/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../platform/feature-flags/afm-adminhub/tsconfig.json"
37
+ }
38
+ ]
39
+ }
package/build/utils.tsx CHANGED
@@ -1,106 +1,126 @@
1
1
  export const iconObjectMapping: Record<
2
2
  string,
3
- { icon: string; appearance: string; packageName: string }
3
+ { icon: string; appearance: string; packageName: string; objectName: string }
4
4
  > = {
5
5
  blog: {
6
6
  icon: 'quotation-mark',
7
7
  appearance: 'blueBold',
8
8
  packageName: 'icon',
9
+ objectName: 'blog',
9
10
  },
10
11
  branch: {
11
12
  icon: 'branch',
12
13
  appearance: 'blueBold',
13
14
  packageName: 'icon',
15
+ objectName: 'branch',
14
16
  },
15
17
  bug: {
16
18
  icon: 'bug',
17
19
  appearance: 'redBold',
18
20
  packageName: 'icon',
21
+ objectName: 'bug',
19
22
  },
20
23
  calendar: {
21
24
  icon: 'calendar',
22
25
  appearance: 'redBold',
23
26
  packageName: 'icon',
27
+ objectName: 'calendar',
24
28
  },
25
29
  changes: {
26
30
  icon: 'changes',
27
31
  appearance: 'orangeBold',
28
32
  packageName: 'icon',
33
+ objectName: 'changes',
29
34
  },
30
35
  code: {
31
36
  icon: 'angle-brackets',
32
37
  appearance: 'purpleBold',
33
38
  packageName: 'icon',
39
+ objectName: 'code',
34
40
  },
35
41
  commit: {
36
42
  icon: 'commit',
37
43
  appearance: 'orangeBold',
38
44
  packageName: 'icon',
45
+ objectName: 'commit',
39
46
  },
40
47
  epic: {
41
48
  icon: 'epic',
42
49
  appearance: 'purpleBold',
43
50
  packageName: 'icon',
51
+ objectName: 'epic',
44
52
  },
45
53
  improvement: {
46
54
  icon: 'arrow-up',
47
55
  appearance: 'greenBold',
48
56
  packageName: 'icon',
57
+ objectName: 'improvement',
49
58
  },
50
59
  incident: {
51
60
  icon: 'incident',
52
61
  appearance: 'redBold',
53
62
  packageName: 'icon',
63
+ objectName: 'incident',
54
64
  },
55
65
  issue: {
56
66
  icon: 'work-item',
57
67
  appearance: 'blueBold',
58
68
  packageName: 'icon',
69
+ objectName: 'work-item',
59
70
  },
60
71
  'new-feature': {
61
72
  icon: 'add',
62
73
  appearance: 'greenBold',
63
74
  packageName: 'icon',
75
+ objectName: 'new-feature',
64
76
  },
65
77
  page: {
66
78
  icon: 'page',
67
79
  appearance: 'blueBold',
68
80
  packageName: 'icon',
81
+ objectName: 'page',
69
82
  },
70
83
  problem: {
71
84
  icon: 'problem',
72
85
  appearance: 'redBold',
73
86
  packageName: 'icon',
87
+ objectName: 'problem',
74
88
  },
75
89
  'pull-request': {
76
90
  icon: 'pull-request',
77
91
  appearance: 'greenBold',
78
92
  packageName: 'icon',
93
+ objectName: 'pull-request',
79
94
  },
80
95
  question: {
81
96
  icon: 'question-circle',
82
97
  appearance: 'purpleBold',
83
98
  packageName: 'icon',
99
+ objectName: 'question',
84
100
  },
85
101
  story: {
86
102
  icon: 'story',
87
103
  appearance: 'greenBold',
88
104
  packageName: 'icon',
105
+ objectName: 'story',
89
106
  },
90
107
  subtask: {
91
108
  icon: 'subtasks',
92
109
  appearance: 'blueBold',
93
110
  packageName: 'icon',
111
+ objectName: 'subtask',
94
112
  },
95
113
  task: {
96
114
  icon: 'task',
97
115
  appearance: 'blueBold',
98
116
  packageName: 'icon',
117
+ objectName: 'task',
99
118
  },
100
119
  'page-live-doc': {
101
120
  icon: 'page-live-doc',
102
121
  appearance: 'magentaBold',
103
122
  packageName: 'icon-lab',
123
+ objectName: 'page-live-doc',
104
124
  },
105
125
  };
106
126
 
@@ -117,9 +137,11 @@ export const getIconObjectJSX = (
117
137
  .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
118
138
  .join('')}${size}Icon`;
119
139
 
120
- // Determine the new component import path based on size
140
+ const objectName = iconObjectMapping[name].objectName;
141
+
142
+ // Determine the new component import path based on size using objectName
121
143
  const newComponentPath =
122
- size === '16' ? `@atlaskit/object/${name}` : `@atlaskit/object/tile/${name}`;
144
+ size === '16' ? `@atlaskit/object/${objectName}` : `@atlaskit/object/tile/${objectName}`;
123
145
 
124
146
  return `import React from 'react';
125
147
 
@@ -203,9 +225,14 @@ export const createAllIconsFile = (iconNames: string[]) => {
203
225
  // Generate export array with all icons in the same order as imports
204
226
  const iconExports = allImports.map((item) => item.componentName).join(',\n\t');
205
227
 
206
- return `${imports}
228
+ return `import type { GlyphProps } from '@atlaskit/icon/types';
229
+
230
+ ${imports}
207
231
 
208
- export const allIcons = [
232
+ export const allIcons: {
233
+ ({ label, testId, }: Omit<GlyphProps, "primaryColor" | "secondaryColor" | "size">): React.JSX.Element;
234
+ displayName: string;
235
+ }[] = [
209
236
  ${iconExports},
210
237
  ];
211
238
  `;
@@ -47,7 +47,7 @@ var _37 = _interopRequireDefault(require("./artifacts/glyph/task/16"));
47
47
  var _38 = _interopRequireDefault(require("./artifacts/glyph/task/24"));
48
48
  /**
49
49
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
50
- * @codegen <<SignedSource::e52e869e99d130089c6a34654ae4e062>>
50
+ * @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
51
51
  * @codegenCommand yarn build:icon-glyphs
52
52
  */
53
53
 
@@ -8,12 +8,12 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _icon = require("@atlaskit/icon");
10
10
  var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
11
- var _issue = _interopRequireDefault(require("@atlaskit/object/issue"));
11
+ var _workItem2 = _interopRequireDefault(require("@atlaskit/object/work-item"));
12
12
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
13
  var _ = _interopRequireDefault(require("../../glyph-legacy/issue/16"));
14
14
  /**
15
15
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
16
- * @codegen <<SignedSource::dcefb0a89a27f97c4801643e6dfd0167>>
16
+ * @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
17
17
  * @codegenCommand yarn build:icon-glyphs
18
18
  */
19
19
 
@@ -30,7 +30,7 @@ var Issue16Icon = function Issue16Icon(_ref) {
30
30
  // Feature flag to migrate to new object package
31
31
  if ((0, _platformFeatureFlags.fg)('platform_dst_icon_object_to_object')) {
32
32
  // Map props based on size: 16px -> object (medium), 24px -> tile (small)
33
- return /*#__PURE__*/_react.default.createElement(_issue.default, {
33
+ return /*#__PURE__*/_react.default.createElement(_workItem2.default, {
34
34
  label: label,
35
35
  testId: testId,
36
36
  size: "medium"
@@ -8,12 +8,12 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _icon = require("@atlaskit/icon");
10
10
  var _workItem = _interopRequireDefault(require("@atlaskit/icon/core/work-item"));
11
- var _issue = _interopRequireDefault(require("@atlaskit/object/tile/issue"));
11
+ var _workItem2 = _interopRequireDefault(require("@atlaskit/object/tile/work-item"));
12
12
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
13
  var _ = _interopRequireDefault(require("../../glyph-legacy/issue/24"));
14
14
  /**
15
15
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
16
- * @codegen <<SignedSource::79c5d6a92f9129a27566e8b5c091cb3d>>
16
+ * @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
17
17
  * @codegenCommand yarn build:icon-glyphs
18
18
  */
19
19
 
@@ -30,7 +30,7 @@ var Issue24Icon = function Issue24Icon(_ref) {
30
30
  // Feature flag to migrate to new object package
31
31
  if ((0, _platformFeatureFlags.fg)('platform_dst_icon_object_to_object')) {
32
32
  // Map props based on size: 16px -> object (medium), 24px -> tile (small)
33
- return /*#__PURE__*/_react.default.createElement(_issue.default, {
33
+ return /*#__PURE__*/_react.default.createElement(_workItem2.default, {
34
34
  label: label,
35
35
  testId: testId,
36
36
  size: "small"
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::e52e869e99d130089c6a34654ae4e062>>
3
+ * @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
+
6
7
  import Blog16Icon from './artifacts/glyph/blog/16';
7
8
  import Blog24Icon from './artifacts/glyph/blog/24';
8
9
  import Branch16Icon from './artifacts/glyph/branch/16';
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::dcefb0a89a27f97c4801643e6dfd0167>>
3
+ * @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
8
  import NewIcon from '@atlaskit/icon/core/work-item';
9
- import NewObjectComponent from '@atlaskit/object/issue';
9
+ import NewObjectComponent from '@atlaskit/object/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import IconObjectOld from '../../glyph-legacy/issue/16';
12
12
 
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::79c5d6a92f9129a27566e8b5c091cb3d>>
3
+ * @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
8
  import NewIcon from '@atlaskit/icon/core/work-item';
9
- import NewObjectComponent from '@atlaskit/object/tile/issue';
9
+ import NewObjectComponent from '@atlaskit/object/tile/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import IconObjectOld from '../../glyph-legacy/issue/24';
12
12
 
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::e52e869e99d130089c6a34654ae4e062>>
3
+ * @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
+
6
7
  import Blog16Icon from './artifacts/glyph/blog/16';
7
8
  import Blog24Icon from './artifacts/glyph/blog/24';
8
9
  import Branch16Icon from './artifacts/glyph/branch/16';
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::dcefb0a89a27f97c4801643e6dfd0167>>
3
+ * @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
8
  import NewIcon from '@atlaskit/icon/core/work-item';
9
- import NewObjectComponent from '@atlaskit/object/issue';
9
+ import NewObjectComponent from '@atlaskit/object/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import IconObjectOld from '../../glyph-legacy/issue/16';
12
12
 
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::79c5d6a92f9129a27566e8b5c091cb3d>>
3
+ * @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
7
  import { IconTile } from '@atlaskit/icon';
8
8
  import NewIcon from '@atlaskit/icon/core/work-item';
9
- import NewObjectComponent from '@atlaskit/object/tile/issue';
9
+ import NewObjectComponent from '@atlaskit/object/tile/work-item';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import IconObjectOld from '../../glyph-legacy/issue/24';
12
12
 
@@ -1,4 +1,10 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+ import type { GlyphProps } from '@atlaskit/icon/types';
1
7
  export declare const allIcons: {
2
- ({ label, testId, }: Omit<import("@atlaskit/icon").GlyphProps, "primaryColor" | "secondaryColor" | "size">): React.JSX.Element;
8
+ ({ label, testId, }: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>): React.JSX.Element;
3
9
  displayName: string;
4
10
  }[];
@@ -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::dcefb0a89a27f97c4801643e6dfd0167>>
3
+ * @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
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::79c5d6a92f9129a27566e8b5c091cb3d>>
3
+ * @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
@@ -1,4 +1,10 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::e0abf3368ad5be663b0ed03636d95962>>
4
+ * @codegenCommand yarn build:icon-glyphs
5
+ */
6
+ import type { GlyphProps } from '@atlaskit/icon/types';
1
7
  export declare const allIcons: {
2
- ({ label, testId, }: Omit<import("@atlaskit/icon").GlyphProps, "primaryColor" | "secondaryColor" | "size">): React.JSX.Element;
8
+ ({ label, testId, }: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>): React.JSX.Element;
3
9
  displayName: string;
4
10
  }[];
@@ -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::dcefb0a89a27f97c4801643e6dfd0167>>
3
+ * @codegen <<SignedSource::bca06c5d0b322c69c2d7dabe129b3860>>
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::79c5d6a92f9129a27566e8b5c091cb3d>>
3
+ * @codegen <<SignedSource::844c8577e3943d6d7d8c1a6302edc692>>
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.2.3",
3
+ "version": "7.3.1",
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/"
@@ -29,16 +29,20 @@
29
29
  "team": "Design System Team",
30
30
  "website": {
31
31
  "name": "Icon object",
32
- "category": "Images and icons"
32
+ "category": "Images and icons",
33
+ "status": {
34
+ "type": "deprecated",
35
+ "description": "This package is deprecated.\n\nUse [object](https://atlassian.design/components/object/examples) instead."
36
+ }
33
37
  }
34
38
  },
35
39
  "scripts": {
36
40
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
37
41
  },
38
42
  "dependencies": {
39
- "@atlaskit/icon": "^28.3.0",
40
- "@atlaskit/icon-lab": "^5.7.0",
41
- "@atlaskit/object": "^0.2.0",
43
+ "@atlaskit/icon": "^28.5.0",
44
+ "@atlaskit/icon-lab": "^5.10.0",
45
+ "@atlaskit/object": "^1.0.0",
42
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
47
  "@babel/runtime": "^7.0.0"
44
48
  },
@@ -49,9 +53,9 @@
49
53
  "@af/formatting": "workspace:^",
50
54
  "@af/icon-build-process": "workspace:^",
51
55
  "@af/visual-regression": "workspace:^",
52
- "@atlaskit/css": "^0.14.0",
56
+ "@atlaskit/css": "^0.15.0",
53
57
  "@atlaskit/textfield": "^8.0.0",
54
- "@atlaskit/tooltip": "^20.4.0",
58
+ "@atlaskit/tooltip": "^20.6.0",
55
59
  "@atlassian/codegen": "^0.1.0",
56
60
  "fs-extra": "^4.0.2",
57
61
  "pkg-dir": "^4.2.0",