@atlaskit/icon-object 7.4.2 → 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 (211) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +0 -7
  3. package/afm-jira/tsconfig.json +0 -7
  4. package/afm-products/tsconfig.json +0 -7
  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
  211. package/tsconfig.json +1 -2
@@ -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::0b51a0839b90eb14c498c46c15d8918e>>
3
+ * @codegen <<SignedSource::9601e91a9f005365477614e610c5ee93>>
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/tile/question';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `question` icon object__
@@ -20,21 +17,11 @@ const Question24Icon = ({
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
  Question24Icon.displayName = 'Question24Icon';
@@ -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::02c2e4c6fcb9b0015bd1b68a0c762673>>
3
+ * @codegen <<SignedSource::ecaa42a4a5ea3bde7fc4645a8dc5dbb1>>
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/story';
9
7
  import NewObjectComponent from '@atlaskit/object/story';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `story` icon object__
@@ -20,21 +17,11 @@ const Story16Icon = ({
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
  Story16Icon.displayName = 'Story16Icon';
@@ -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::a98939a840df31a0756f191d63d257ff>>
3
+ * @codegen <<SignedSource::3539e425873a65c426c0bec5e0e5f53b>>
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/story';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/story';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `story` icon object__
@@ -20,21 +17,11 @@ const Story24Icon = ({
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
  Story24Icon.displayName = 'Story24Icon';
@@ -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::f191b3c4b7a0c5c02899e9dd54ac8e7d>>
3
+ * @codegen <<SignedSource::d2f46ee77dc18ec19823499028232786>>
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/subtasks';
9
7
  import NewObjectComponent from '@atlaskit/object/subtask';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `subtask` icon object__
@@ -20,21 +17,11 @@ const Subtask16Icon = ({
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
  Subtask16Icon.displayName = 'Subtask16Icon';
@@ -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::e41d95ebee8f90bed9ec4508fddf79a9>>
3
+ * @codegen <<SignedSource::c0b63f7ea3c0f02febcdc79da1359441>>
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/subtasks';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/subtask';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `subtask` icon object__
@@ -20,21 +17,11 @@ const Subtask24Icon = ({
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
  Subtask24Icon.displayName = 'Subtask24Icon';
@@ -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::2bc8e08828f9a805f277ac0cd68a28e5>>
3
+ * @codegen <<SignedSource::30ef51c1c0ef3b1e9cbb7877adf50c55>>
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/task';
9
7
  import NewObjectComponent from '@atlaskit/object/task';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `task` icon object__
@@ -20,21 +17,11 @@ const Task16Icon = ({
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
  Task16Icon.displayName = 'Task16Icon';
@@ -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::7a728eb0ce3823d72139ca7c6943a4ad>>
3
+ * @codegen <<SignedSource::f8b7a4de0e7588d154b9f544c16bf34a>>
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/task';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/task';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `task` icon object__
@@ -20,21 +17,11 @@ const Task24Icon = ({
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
  Task24Icon.displayName = 'Task24Icon';
@@ -1,4 +1,4 @@
1
- /* icon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* icon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./icon.compiled.css";
4
4
  import * as React from 'react';
@@ -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::3c5b208298a62048cc6209816cc87c01>>
3
+ * @codegen <<SignedSource::83c7ead30d63e314b07f213ab18013ae>>
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/quotation-mark';
9
7
  import NewObjectComponent from '@atlaskit/object/blog';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __16px `blog` icon object__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Blog16Icon = function Blog16Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "medium"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "blueBold",
34
- size: "16",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "medium"
37
24
  });
38
25
  };
39
26
  Blog16Icon.displayName = 'Blog16Icon';
@@ -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::d7cf2d6e617a726159cd4aa75f204fc7>>
3
+ * @codegen <<SignedSource::660a16f4bdbb030341a3acf0434556bd>>
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/quotation-mark';
9
7
  import NewObjectComponent from '@atlaskit/object/tile/blog';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
8
 
12
9
  /**
13
10
  * __24px `blog` icon object__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Blog24Icon = function Blog24Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "small"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "blueBold",
34
- size: "24",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "small"
37
24
  });
38
25
  };
39
26
  Blog24Icon.displayName = 'Blog24Icon';
@@ -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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Branch16Icon = function Branch16Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "medium"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "blueBold",
34
- size: "16",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "medium"
37
24
  });
38
25
  };
39
26
  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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Branch24Icon = function Branch24Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "small"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "blueBold",
34
- size: "24",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "small"
37
24
  });
38
25
  };
39
26
  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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Bug16Icon = function Bug16Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "medium"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "redBold",
34
- size: "16",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "medium"
37
24
  });
38
25
  };
39
26
  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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Bug24Icon = function Bug24Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "small"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "redBold",
34
- size: "24",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "small"
37
24
  });
38
25
  };
39
26
  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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Calendar16Icon = function Calendar16Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "medium"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "redBold",
34
- size: "16",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "medium"
37
24
  });
38
25
  };
39
26
  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__
@@ -19,21 +16,11 @@ import { fg } from '@atlaskit/platform-feature-flags';
19
16
  var Calendar24Icon = function Calendar24Icon(_ref) {
20
17
  var label = _ref.label,
21
18
  testId = _ref.testId;
22
- // Feature flag to migrate to new object package
23
- if (fg('platform_dst_icon_object_to_object') || fg('platform_dst_icon_object_to_object_stage2')) {
24
- // Map props based on size: 16px -> object (medium), 24px -> tile (small)
25
- return /*#__PURE__*/React.createElement(NewObjectComponent, {
26
- label: label,
27
- testId: testId,
28
- size: "small"
29
- });
30
- }
31
- return /*#__PURE__*/React.createElement(IconTile, {
32
- icon: NewIcon,
33
- appearance: "redBold",
34
- size: "24",
19
+ // Map props based on size: 16px -> object (medium), 24px -> tile (small)
20
+ return /*#__PURE__*/React.createElement(NewObjectComponent, {
35
21
  label: label,
36
- testId: testId
22
+ testId: testId,
23
+ size: "small"
37
24
  });
38
25
  };
39
26
  Calendar24Icon.displayName = 'Calendar24Icon';