@atlaskit/icon-object 7.4.3 → 7.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.
Files changed (210) hide show
  1. package/CHANGELOG.md +8 -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::8445d8c0728c22e4bde503bfcfda270a>>
3
+ * @codegen <<SignedSource::2c1d1f1ca555a6f5ac9e5ae0ef7149a5>>
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/branch';
9
7
  import NewObjectComponent from '@atlaskit/object/branch';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `branch` icon object__
@@ -20,21 +17,11 @@ const Branch16Icon = ({
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
  Branch16Icon.displayName = 'Branch16Icon';
@@ -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::fa937fd0136703ac39f5e57600b7c2b8>>
3
+ * @codegen <<SignedSource::3c7a1f59835d1842fb859e1f679f32d5>>
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/branch';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/branch';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `branch` icon object__
@@ -20,21 +17,11 @@ const Branch24Icon = ({
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
  Branch24Icon.displayName = 'Branch24Icon';
@@ -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::9f5a6df851e4ad5ee6cfe6050a1f4c6f>>
3
+ * @codegen <<SignedSource::f3db4b4ba97dcc5c899e7552485b9ce1>>
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/bug';
9
7
  import NewObjectComponent from '@atlaskit/object/bug';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `bug` icon object__
@@ -20,21 +17,11 @@ const Bug16Icon = ({
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
  Bug16Icon.displayName = 'Bug16Icon';
@@ -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::8b6e60cd3b420d8ca0df4be2e33a67ac>>
3
+ * @codegen <<SignedSource::93276a5fffd505e137ba3778f3fae455>>
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/bug';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/bug';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `bug` icon object__
@@ -20,21 +17,11 @@ const Bug24Icon = ({
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
  Bug24Icon.displayName = 'Bug24Icon';
@@ -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::4d7cb9a8f574ccf1cef23e248026e1d7>>
3
+ * @codegen <<SignedSource::bfbf777e94e76dc3cd76cb7ea43fb88b>>
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/calendar';
9
7
  import NewObjectComponent from '@atlaskit/object/calendar';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `calendar` icon object__
@@ -20,21 +17,11 @@ const Calendar16Icon = ({
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
  Calendar16Icon.displayName = 'Calendar16Icon';
@@ -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::9de6e9c48032fde072f0333ed512f5cf>>
3
+ * @codegen <<SignedSource::277a59b3a6c11d8d12983f4756ce8aac>>
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/calendar';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/calendar';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `calendar` icon object__
@@ -20,21 +17,11 @@ const Calendar24Icon = ({
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
  Calendar24Icon.displayName = 'Calendar24Icon';
@@ -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::82b6a641c5248ab37f8e30d6c9e75e76>>
3
+ * @codegen <<SignedSource::4028167514a426096af062e2fc9bd322>>
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/changes';
9
7
  import NewObjectComponent from '@atlaskit/object/changes';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `changes` icon object__
@@ -20,21 +17,11 @@ const Changes16Icon = ({
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: "orangeBold",
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
  Changes16Icon.displayName = 'Changes16Icon';
@@ -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::dea1bc1c95e514447bbaa9285d03d483>>
3
+ * @codegen <<SignedSource::2577417899e5bdf8761581d021a53458>>
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/changes';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/changes';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `changes` icon object__
@@ -20,21 +17,11 @@ const Changes24Icon = ({
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: "orangeBold",
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
  Changes24Icon.displayName = 'Changes24Icon';
@@ -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::6b6197bd7537bc7f66a7a7335ac9633e>>
3
+ * @codegen <<SignedSource::cfd2d8a9508f70909a9603c660e1a42f>>
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/angle-brackets';
9
7
  import NewObjectComponent from '@atlaskit/object/code';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `code` icon object__
@@ -20,21 +17,11 @@ const Code16Icon = ({
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
  Code16Icon.displayName = 'Code16Icon';
@@ -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::dfaf991863b9609c53169d9c35ca10e2>>
3
+ * @codegen <<SignedSource::4f011d9c581c7d726dc3f5f87357274d>>
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/angle-brackets';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/code';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `code` icon object__
@@ -20,21 +17,11 @@ const Code24Icon = ({
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: "purpleBold",
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
  Code24Icon.displayName = 'Code24Icon';
@@ -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::89f0b785a134c037ededbf738ea83193>>
3
+ * @codegen <<SignedSource::19ecfacc936d1c035cba6b166110d5e1>>
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/commit';
9
7
  import NewObjectComponent from '@atlaskit/object/commit';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `commit` icon object__
@@ -20,21 +17,11 @@ const Commit16Icon = ({
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: "orangeBold",
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
  Commit16Icon.displayName = 'Commit16Icon';
@@ -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::f68338c4ace84a12b405763fc12e918b>>
3
+ * @codegen <<SignedSource::3807e6e035cd727d83465133648098b5>>
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/commit';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/commit';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `commit` icon object__
@@ -20,21 +17,11 @@ const Commit24Icon = ({
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: "orangeBold",
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
  Commit24Icon.displayName = 'Commit24Icon';
@@ -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::edcb0183b51858c26595fdad386b92d2>>
3
+ * @codegen <<SignedSource::2a682158682d0b0710d7bc1dfd0db6ab>>
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/epic';
9
7
  import NewObjectComponent from '@atlaskit/object/epic';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `epic` icon object__
@@ -20,21 +17,11 @@ const Epic16Icon = ({
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
  Epic16Icon.displayName = 'Epic16Icon';
@@ -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::bafafa454a8ef29d0863fed23cf4c482>>
3
+ * @codegen <<SignedSource::7610000f88b24e6a7a93ae41de8e17dc>>
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/epic';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/epic';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `epic` icon object__
@@ -20,21 +17,11 @@ const Epic24Icon = ({
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: "purpleBold",
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
  Epic24Icon.displayName = 'Epic24Icon';
@@ -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::999d82171d02a2e3779216b856d7920a>>
3
+ * @codegen <<SignedSource::84ca6d6140a2b14182506ef271364619>>
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/improvement';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `improvement` icon object__
@@ -20,21 +17,11 @@ const Improvement16Icon = ({
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
  Improvement16Icon.displayName = 'Improvement16Icon';
@@ -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';