@atlaskit/icon-object 7.4.3 → 7.5.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.
Files changed (210) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +0 -6
  3. package/afm-jira/tsconfig.json +0 -6
  4. package/afm-products/tsconfig.json +0 -6
  5. package/build/index.tsx +2 -8
  6. package/build/utils.tsx +7 -29
  7. package/dist/cjs/artifacts/glyph/blog/16.js +5 -18
  8. package/dist/cjs/artifacts/glyph/blog/24.js +5 -18
  9. package/dist/cjs/artifacts/glyph/branch/16.js +6 -19
  10. package/dist/cjs/artifacts/glyph/branch/24.js +6 -19
  11. package/dist/cjs/artifacts/glyph/bug/16.js +6 -19
  12. package/dist/cjs/artifacts/glyph/bug/24.js +6 -19
  13. package/dist/cjs/artifacts/glyph/calendar/16.js +6 -19
  14. package/dist/cjs/artifacts/glyph/calendar/24.js +6 -19
  15. package/dist/cjs/artifacts/glyph/changes/16.js +6 -19
  16. package/dist/cjs/artifacts/glyph/changes/24.js +6 -19
  17. package/dist/cjs/artifacts/glyph/code/16.js +5 -18
  18. package/dist/cjs/artifacts/glyph/code/24.js +5 -18
  19. package/dist/cjs/artifacts/glyph/commit/16.js +6 -19
  20. package/dist/cjs/artifacts/glyph/commit/24.js +6 -19
  21. package/dist/cjs/artifacts/glyph/epic/16.js +6 -19
  22. package/dist/cjs/artifacts/glyph/epic/24.js +6 -19
  23. package/dist/cjs/artifacts/glyph/improvement/16.js +5 -18
  24. package/dist/cjs/artifacts/glyph/improvement/24.js +5 -18
  25. package/dist/cjs/artifacts/glyph/incident/16.js +6 -19
  26. package/dist/cjs/artifacts/glyph/incident/24.js +6 -19
  27. package/dist/cjs/artifacts/glyph/issue/16.js +6 -19
  28. package/dist/cjs/artifacts/glyph/issue/24.js +6 -19
  29. package/dist/cjs/artifacts/glyph/new-feature/16.js +5 -18
  30. package/dist/cjs/artifacts/glyph/new-feature/24.js +5 -18
  31. package/dist/cjs/artifacts/glyph/page/16.js +6 -19
  32. package/dist/cjs/artifacts/glyph/page/24.js +6 -19
  33. package/dist/cjs/artifacts/glyph/page-live-doc/16.js +6 -19
  34. package/dist/cjs/artifacts/glyph/page-live-doc/24.js +6 -19
  35. package/dist/cjs/artifacts/glyph/problem/16.js +6 -19
  36. package/dist/cjs/artifacts/glyph/problem/24.js +6 -19
  37. package/dist/cjs/artifacts/glyph/pull-request/16.js +6 -19
  38. package/dist/cjs/artifacts/glyph/pull-request/24.js +6 -19
  39. package/dist/cjs/artifacts/glyph/question/16.js +5 -18
  40. package/dist/cjs/artifacts/glyph/question/24.js +5 -18
  41. package/dist/cjs/artifacts/glyph/story/16.js +6 -19
  42. package/dist/cjs/artifacts/glyph/story/24.js +6 -19
  43. package/dist/cjs/artifacts/glyph/subtask/16.js +5 -18
  44. package/dist/cjs/artifacts/glyph/subtask/24.js +5 -18
  45. package/dist/cjs/artifacts/glyph/task/16.js +6 -19
  46. package/dist/cjs/artifacts/glyph/task/24.js +6 -19
  47. package/dist/cjs/internal/icon.js +1 -1
  48. package/dist/es2019/artifacts/glyph/blog/16.js +5 -18
  49. package/dist/es2019/artifacts/glyph/blog/24.js +5 -18
  50. package/dist/es2019/artifacts/glyph/branch/16.js +5 -18
  51. package/dist/es2019/artifacts/glyph/branch/24.js +5 -18
  52. package/dist/es2019/artifacts/glyph/bug/16.js +5 -18
  53. package/dist/es2019/artifacts/glyph/bug/24.js +5 -18
  54. package/dist/es2019/artifacts/glyph/calendar/16.js +5 -18
  55. package/dist/es2019/artifacts/glyph/calendar/24.js +5 -18
  56. package/dist/es2019/artifacts/glyph/changes/16.js +5 -18
  57. package/dist/es2019/artifacts/glyph/changes/24.js +5 -18
  58. package/dist/es2019/artifacts/glyph/code/16.js +5 -18
  59. package/dist/es2019/artifacts/glyph/code/24.js +5 -18
  60. package/dist/es2019/artifacts/glyph/commit/16.js +5 -18
  61. package/dist/es2019/artifacts/glyph/commit/24.js +5 -18
  62. package/dist/es2019/artifacts/glyph/epic/16.js +5 -18
  63. package/dist/es2019/artifacts/glyph/epic/24.js +5 -18
  64. package/dist/es2019/artifacts/glyph/improvement/16.js +5 -18
  65. package/dist/es2019/artifacts/glyph/improvement/24.js +5 -18
  66. package/dist/es2019/artifacts/glyph/incident/16.js +5 -18
  67. package/dist/es2019/artifacts/glyph/incident/24.js +5 -18
  68. package/dist/es2019/artifacts/glyph/issue/16.js +5 -18
  69. package/dist/es2019/artifacts/glyph/issue/24.js +5 -18
  70. package/dist/es2019/artifacts/glyph/new-feature/16.js +5 -18
  71. package/dist/es2019/artifacts/glyph/new-feature/24.js +5 -18
  72. package/dist/es2019/artifacts/glyph/page/16.js +5 -18
  73. package/dist/es2019/artifacts/glyph/page/24.js +5 -18
  74. package/dist/es2019/artifacts/glyph/page-live-doc/16.js +5 -18
  75. package/dist/es2019/artifacts/glyph/page-live-doc/24.js +5 -18
  76. package/dist/es2019/artifacts/glyph/problem/16.js +5 -18
  77. package/dist/es2019/artifacts/glyph/problem/24.js +5 -18
  78. package/dist/es2019/artifacts/glyph/pull-request/16.js +5 -18
  79. package/dist/es2019/artifacts/glyph/pull-request/24.js +5 -18
  80. package/dist/es2019/artifacts/glyph/question/16.js +5 -18
  81. package/dist/es2019/artifacts/glyph/question/24.js +5 -18
  82. package/dist/es2019/artifacts/glyph/story/16.js +5 -18
  83. package/dist/es2019/artifacts/glyph/story/24.js +5 -18
  84. package/dist/es2019/artifacts/glyph/subtask/16.js +5 -18
  85. package/dist/es2019/artifacts/glyph/subtask/24.js +5 -18
  86. package/dist/es2019/artifacts/glyph/task/16.js +5 -18
  87. package/dist/es2019/artifacts/glyph/task/24.js +5 -18
  88. package/dist/es2019/internal/icon.js +1 -1
  89. package/dist/esm/artifacts/glyph/blog/16.js +5 -18
  90. package/dist/esm/artifacts/glyph/blog/24.js +5 -18
  91. package/dist/esm/artifacts/glyph/branch/16.js +5 -18
  92. package/dist/esm/artifacts/glyph/branch/24.js +5 -18
  93. package/dist/esm/artifacts/glyph/bug/16.js +5 -18
  94. package/dist/esm/artifacts/glyph/bug/24.js +5 -18
  95. package/dist/esm/artifacts/glyph/calendar/16.js +5 -18
  96. package/dist/esm/artifacts/glyph/calendar/24.js +5 -18
  97. package/dist/esm/artifacts/glyph/changes/16.js +5 -18
  98. package/dist/esm/artifacts/glyph/changes/24.js +5 -18
  99. package/dist/esm/artifacts/glyph/code/16.js +5 -18
  100. package/dist/esm/artifacts/glyph/code/24.js +5 -18
  101. package/dist/esm/artifacts/glyph/commit/16.js +5 -18
  102. package/dist/esm/artifacts/glyph/commit/24.js +5 -18
  103. package/dist/esm/artifacts/glyph/epic/16.js +5 -18
  104. package/dist/esm/artifacts/glyph/epic/24.js +5 -18
  105. package/dist/esm/artifacts/glyph/improvement/16.js +5 -18
  106. package/dist/esm/artifacts/glyph/improvement/24.js +5 -18
  107. package/dist/esm/artifacts/glyph/incident/16.js +5 -18
  108. package/dist/esm/artifacts/glyph/incident/24.js +5 -18
  109. package/dist/esm/artifacts/glyph/issue/16.js +5 -18
  110. package/dist/esm/artifacts/glyph/issue/24.js +5 -18
  111. package/dist/esm/artifacts/glyph/new-feature/16.js +5 -18
  112. package/dist/esm/artifacts/glyph/new-feature/24.js +5 -18
  113. package/dist/esm/artifacts/glyph/page/16.js +5 -18
  114. package/dist/esm/artifacts/glyph/page/24.js +5 -18
  115. package/dist/esm/artifacts/glyph/page-live-doc/16.js +5 -18
  116. package/dist/esm/artifacts/glyph/page-live-doc/24.js +5 -18
  117. package/dist/esm/artifacts/glyph/problem/16.js +5 -18
  118. package/dist/esm/artifacts/glyph/problem/24.js +5 -18
  119. package/dist/esm/artifacts/glyph/pull-request/16.js +5 -18
  120. package/dist/esm/artifacts/glyph/pull-request/24.js +5 -18
  121. package/dist/esm/artifacts/glyph/question/16.js +5 -18
  122. package/dist/esm/artifacts/glyph/question/24.js +5 -18
  123. package/dist/esm/artifacts/glyph/story/16.js +5 -18
  124. package/dist/esm/artifacts/glyph/story/24.js +5 -18
  125. package/dist/esm/artifacts/glyph/subtask/16.js +5 -18
  126. package/dist/esm/artifacts/glyph/subtask/24.js +5 -18
  127. package/dist/esm/artifacts/glyph/task/16.js +5 -18
  128. package/dist/esm/artifacts/glyph/task/24.js +5 -18
  129. package/dist/esm/internal/icon.js +1 -1
  130. package/dist/types/artifacts/glyph/blog/16.d.ts +1 -1
  131. package/dist/types/artifacts/glyph/blog/24.d.ts +1 -1
  132. package/dist/types/artifacts/glyph/branch/16.d.ts +1 -1
  133. package/dist/types/artifacts/glyph/branch/24.d.ts +1 -1
  134. package/dist/types/artifacts/glyph/bug/16.d.ts +1 -1
  135. package/dist/types/artifacts/glyph/bug/24.d.ts +1 -1
  136. package/dist/types/artifacts/glyph/calendar/16.d.ts +1 -1
  137. package/dist/types/artifacts/glyph/calendar/24.d.ts +1 -1
  138. package/dist/types/artifacts/glyph/changes/16.d.ts +1 -1
  139. package/dist/types/artifacts/glyph/changes/24.d.ts +1 -1
  140. package/dist/types/artifacts/glyph/code/16.d.ts +1 -1
  141. package/dist/types/artifacts/glyph/code/24.d.ts +1 -1
  142. package/dist/types/artifacts/glyph/commit/16.d.ts +1 -1
  143. package/dist/types/artifacts/glyph/commit/24.d.ts +1 -1
  144. package/dist/types/artifacts/glyph/epic/16.d.ts +1 -1
  145. package/dist/types/artifacts/glyph/epic/24.d.ts +1 -1
  146. package/dist/types/artifacts/glyph/improvement/16.d.ts +1 -1
  147. package/dist/types/artifacts/glyph/improvement/24.d.ts +1 -1
  148. package/dist/types/artifacts/glyph/incident/16.d.ts +1 -1
  149. package/dist/types/artifacts/glyph/incident/24.d.ts +1 -1
  150. package/dist/types/artifacts/glyph/issue/16.d.ts +1 -1
  151. package/dist/types/artifacts/glyph/issue/24.d.ts +1 -1
  152. package/dist/types/artifacts/glyph/new-feature/16.d.ts +1 -1
  153. package/dist/types/artifacts/glyph/new-feature/24.d.ts +1 -1
  154. package/dist/types/artifacts/glyph/page/16.d.ts +1 -1
  155. package/dist/types/artifacts/glyph/page/24.d.ts +1 -1
  156. package/dist/types/artifacts/glyph/page-live-doc/16.d.ts +1 -1
  157. package/dist/types/artifacts/glyph/page-live-doc/24.d.ts +1 -1
  158. package/dist/types/artifacts/glyph/problem/16.d.ts +1 -1
  159. package/dist/types/artifacts/glyph/problem/24.d.ts +1 -1
  160. package/dist/types/artifacts/glyph/pull-request/16.d.ts +1 -1
  161. package/dist/types/artifacts/glyph/pull-request/24.d.ts +1 -1
  162. package/dist/types/artifacts/glyph/question/16.d.ts +1 -1
  163. package/dist/types/artifacts/glyph/question/24.d.ts +1 -1
  164. package/dist/types/artifacts/glyph/story/16.d.ts +1 -1
  165. package/dist/types/artifacts/glyph/story/24.d.ts +1 -1
  166. package/dist/types/artifacts/glyph/subtask/16.d.ts +1 -1
  167. package/dist/types/artifacts/glyph/subtask/24.d.ts +1 -1
  168. package/dist/types/artifacts/glyph/task/16.d.ts +1 -1
  169. package/dist/types/artifacts/glyph/task/24.d.ts +1 -1
  170. package/dist/types-ts4.5/artifacts/glyph/blog/16.d.ts +1 -1
  171. package/dist/types-ts4.5/artifacts/glyph/blog/24.d.ts +1 -1
  172. package/dist/types-ts4.5/artifacts/glyph/branch/16.d.ts +1 -1
  173. package/dist/types-ts4.5/artifacts/glyph/branch/24.d.ts +1 -1
  174. package/dist/types-ts4.5/artifacts/glyph/bug/16.d.ts +1 -1
  175. package/dist/types-ts4.5/artifacts/glyph/bug/24.d.ts +1 -1
  176. package/dist/types-ts4.5/artifacts/glyph/calendar/16.d.ts +1 -1
  177. package/dist/types-ts4.5/artifacts/glyph/calendar/24.d.ts +1 -1
  178. package/dist/types-ts4.5/artifacts/glyph/changes/16.d.ts +1 -1
  179. package/dist/types-ts4.5/artifacts/glyph/changes/24.d.ts +1 -1
  180. package/dist/types-ts4.5/artifacts/glyph/code/16.d.ts +1 -1
  181. package/dist/types-ts4.5/artifacts/glyph/code/24.d.ts +1 -1
  182. package/dist/types-ts4.5/artifacts/glyph/commit/16.d.ts +1 -1
  183. package/dist/types-ts4.5/artifacts/glyph/commit/24.d.ts +1 -1
  184. package/dist/types-ts4.5/artifacts/glyph/epic/16.d.ts +1 -1
  185. package/dist/types-ts4.5/artifacts/glyph/epic/24.d.ts +1 -1
  186. package/dist/types-ts4.5/artifacts/glyph/improvement/16.d.ts +1 -1
  187. package/dist/types-ts4.5/artifacts/glyph/improvement/24.d.ts +1 -1
  188. package/dist/types-ts4.5/artifacts/glyph/incident/16.d.ts +1 -1
  189. package/dist/types-ts4.5/artifacts/glyph/incident/24.d.ts +1 -1
  190. package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +1 -1
  191. package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +1 -1
  192. package/dist/types-ts4.5/artifacts/glyph/new-feature/16.d.ts +1 -1
  193. package/dist/types-ts4.5/artifacts/glyph/new-feature/24.d.ts +1 -1
  194. package/dist/types-ts4.5/artifacts/glyph/page/16.d.ts +1 -1
  195. package/dist/types-ts4.5/artifacts/glyph/page/24.d.ts +1 -1
  196. package/dist/types-ts4.5/artifacts/glyph/page-live-doc/16.d.ts +1 -1
  197. package/dist/types-ts4.5/artifacts/glyph/page-live-doc/24.d.ts +1 -1
  198. package/dist/types-ts4.5/artifacts/glyph/problem/16.d.ts +1 -1
  199. package/dist/types-ts4.5/artifacts/glyph/problem/24.d.ts +1 -1
  200. package/dist/types-ts4.5/artifacts/glyph/pull-request/16.d.ts +1 -1
  201. package/dist/types-ts4.5/artifacts/glyph/pull-request/24.d.ts +1 -1
  202. package/dist/types-ts4.5/artifacts/glyph/question/16.d.ts +1 -1
  203. package/dist/types-ts4.5/artifacts/glyph/question/24.d.ts +1 -1
  204. package/dist/types-ts4.5/artifacts/glyph/story/16.d.ts +1 -1
  205. package/dist/types-ts4.5/artifacts/glyph/story/24.d.ts +1 -1
  206. package/dist/types-ts4.5/artifacts/glyph/subtask/16.d.ts +1 -1
  207. package/dist/types-ts4.5/artifacts/glyph/subtask/24.d.ts +1 -1
  208. package/dist/types-ts4.5/artifacts/glyph/task/16.d.ts +1 -1
  209. package/dist/types-ts4.5/artifacts/glyph/task/24.d.ts +1 -1
  210. package/package.json +4 -14
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d17012d47ff3344d3b4114debc6d344c>>
3
+ * @codegen <<SignedSource::98aa10617699f66e796106e087544a65>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/arrow-up';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/improvement';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `improvement` icon object__
@@ -20,21 +17,11 @@ const Improvement24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "greenBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  Improvement24Icon.displayName = 'Improvement24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::fce885f99062aea2511cdad9ff19973b>>
3
+ * @codegen <<SignedSource::4963fe829c7079fd93fc7feaeedb4c37>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/incident';
9
7
  import NewObjectComponent from '@atlaskit/object/incident';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `incident` icon object__
@@ -20,21 +17,11 @@ const Incident16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "redBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  Incident16Icon.displayName = 'Incident16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::e6e0491d1ce6af0ecc62c016424e2d56>>
3
+ * @codegen <<SignedSource::35d80e92de5a9561c38e74330974c6ad>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/incident';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/incident';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `incident` icon object__
@@ -20,21 +17,11 @@ const Incident24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "redBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  Incident24Icon.displayName = 'Incident24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::befef61327526db6c9ccf526931926f8>>
3
+ * @codegen <<SignedSource::c68d00db7335020bbb9632bedaedb543>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/work-item';
9
7
  import NewObjectComponent from '@atlaskit/object/work-item';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `issue` icon object__
@@ -20,21 +17,11 @@ const Issue16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "blueBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  Issue16Icon.displayName = 'Issue16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::2326eb4666bf14b4b19bc46880c784d1>>
3
+ * @codegen <<SignedSource::43949f0702a0c78cd0cbe29dd7d26df1>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/work-item';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/work-item';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `issue` icon object__
@@ -20,21 +17,11 @@ const Issue24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "blueBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  Issue24Icon.displayName = 'Issue24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::eee4a183cdbb8a44df26eedbfefdaef2>>
3
+ * @codegen <<SignedSource::b20591028042fd844b6903e026db5b3c>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/add';
9
7
  import NewObjectComponent from '@atlaskit/object/new-feature';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `new-feature` icon object__
@@ -20,21 +17,11 @@ const NewFeature16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "greenBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  NewFeature16Icon.displayName = 'NewFeature16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::cbe915e61268e324a57a2db48f8a5d74>>
3
+ * @codegen <<SignedSource::5e8c4f4bd676ca63c09bcb09fccbadd8>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/add';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/new-feature';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `new-feature` icon object__
@@ -20,21 +17,11 @@ const NewFeature24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "greenBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  NewFeature24Icon.displayName = 'NewFeature24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::bfd4ad91a1a57d32376cdfaa21404b48>>
3
+ * @codegen <<SignedSource::e83846b6aa55f55740bd86cb787c44fb>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/page';
9
7
  import NewObjectComponent from '@atlaskit/object/page';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `page` icon object__
@@ -20,21 +17,11 @@ const Page16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "blueBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  Page16Icon.displayName = 'Page16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::297585c116839d3a97d1234c88e553c7>>
3
+ * @codegen <<SignedSource::d4ddaa493d8631640dff87a384d98e33>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/page';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/page';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `page` icon object__
@@ -20,21 +17,11 @@ const Page24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "blueBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  Page24Icon.displayName = 'Page24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::fbc5772dc2d42359e805fe8fc938dc5f>>
3
+ * @codegen <<SignedSource::ec065638ab2526cdabfe54bb0c0e4221>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
9
7
  import NewObjectComponent from '@atlaskit/object/page-live-doc';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `page-live-doc` icon object__
@@ -20,21 +17,11 @@ const PageLiveDoc16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "magentaBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::58fad5f0ddb48324c63ee5009010f4f9>>
3
+ * @codegen <<SignedSource::f142ff3a59a38acaa2861fa58547c36c>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/page-live-doc';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `page-live-doc` icon object__
@@ -20,21 +17,11 @@ const PageLiveDoc24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "magentaBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::da3ce394f6c951c0012e73dc4fcd451f>>
3
+ * @codegen <<SignedSource::992dddb69f9f26f1997631edc5d63cd7>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/problem';
9
7
  import NewObjectComponent from '@atlaskit/object/problem';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `problem` icon object__
@@ -20,21 +17,11 @@ const Problem16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "redBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  Problem16Icon.displayName = 'Problem16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::0f4abba1265f51ebc6488e262dfd587f>>
3
+ * @codegen <<SignedSource::fbe178eddc68b80cf7ea7e46fdf33735>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/problem';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/problem';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `problem` icon object__
@@ -20,21 +17,11 @@ const Problem24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "redBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  Problem24Icon.displayName = 'Problem24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::d16cc21e50f9fb0d685aba745db44fce>>
3
+ * @codegen <<SignedSource::f945e57ad4fb712ba210d06c0de0b4bc>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/pull-request';
9
7
  import NewObjectComponent from '@atlaskit/object/pull-request';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `pull-request` icon object__
@@ -20,21 +17,11 @@ const PullRequest16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "greenBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  PullRequest16Icon.displayName = 'PullRequest16Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::540b2fcd902f8d9d1c58646d4e690a5e>>
3
+ * @codegen <<SignedSource::71ed7ec02e899e40bcacd43e720e1f76>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/pull-request';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/pull-request';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `pull-request` icon object__
@@ -20,21 +17,11 @@ const PullRequest24Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "small"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "greenBold",
35
- size: "24",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "small"
38
25
  });
39
26
  };
40
27
  PullRequest24Icon.displayName = 'PullRequest24Icon';
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9ca707feaa72823f4cc7cefe8ab778c5>>
3
+ * @codegen <<SignedSource::f430685b98a8fbe1b822c2fa04231726>>
4
4
  * @codegenCommand yarn build:icon-glyphs
5
5
  */
6
6
  import React from 'react';
7
- import { IconTile } from '@atlaskit/icon';
8
- import NewIcon from '@atlaskit/icon/core/question-circle';
9
7
  import NewObjectComponent from '@atlaskit/object/question';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `question` icon object__
@@ -20,21 +17,11 @@ const Question16Icon = ({
20
17
  label,
21
18
  testId
22
19
  }) => {
23
- // Feature flag to migrate to new object package
24
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
25
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
26
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
27
- label: label,
28
- testId: testId,
29
- size: "medium"
30
- });
31
- }
32
- return /*#__PURE__*/React.createElement(IconTile, {
33
- icon: NewIcon,
34
- appearance: "purpleBold",
35
- size: "16",
20
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
21
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
36
22
  label: label,
37
- testId: testId
23
+ testId: testId,
24
+ size: "medium"
38
25
  });
39
26
  };
40
27
  Question16Icon.displayName = 'Question16Icon';