@atlaskit/icon-object 6.7.1 → 6.8.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 (496) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/__perf__/default.tsx +1 -1
  3. package/afm-cc/tsconfig.json +3 -0
  4. package/build/index.tsx +30 -4
  5. package/build/utils.tsx +132 -0
  6. package/dist/cjs/artifacts/glyph/blog/16.js +49 -0
  7. package/dist/cjs/artifacts/glyph/blog/24.js +49 -0
  8. package/dist/cjs/artifacts/glyph/branch/16.js +49 -0
  9. package/dist/cjs/artifacts/glyph/branch/24.js +49 -0
  10. package/dist/cjs/artifacts/glyph/bug/16.js +49 -0
  11. package/dist/cjs/artifacts/glyph/bug/24.js +49 -0
  12. package/dist/cjs/artifacts/glyph/calendar/16.js +49 -0
  13. package/dist/cjs/artifacts/glyph/calendar/24.js +49 -0
  14. package/dist/cjs/artifacts/glyph/changes/16.js +49 -0
  15. package/dist/cjs/artifacts/glyph/changes/24.js +49 -0
  16. package/dist/cjs/artifacts/glyph/code/16.js +49 -0
  17. package/dist/cjs/artifacts/glyph/code/24.js +49 -0
  18. package/dist/cjs/artifacts/glyph/commit/16.js +49 -0
  19. package/dist/cjs/artifacts/glyph/commit/24.js +49 -0
  20. package/dist/cjs/artifacts/glyph/epic/16.js +49 -0
  21. package/dist/cjs/artifacts/glyph/epic/24.js +49 -0
  22. package/dist/cjs/artifacts/glyph/improvement/16.js +49 -0
  23. package/dist/cjs/artifacts/glyph/improvement/24.js +49 -0
  24. package/dist/cjs/artifacts/glyph/incident/16.js +49 -0
  25. package/dist/cjs/artifacts/glyph/incident/24.js +49 -0
  26. package/dist/cjs/artifacts/glyph/issue/16.js +49 -0
  27. package/dist/cjs/artifacts/glyph/issue/24.js +49 -0
  28. package/dist/cjs/artifacts/glyph/new-feature/16.js +49 -0
  29. package/dist/cjs/artifacts/glyph/new-feature/24.js +49 -0
  30. package/dist/cjs/artifacts/glyph/page/16.js +49 -0
  31. package/dist/cjs/artifacts/glyph/page/24.js +49 -0
  32. package/dist/cjs/artifacts/glyph/problem/16.js +49 -0
  33. package/dist/cjs/artifacts/glyph/problem/24.js +49 -0
  34. package/dist/cjs/artifacts/glyph/pull-request/16.js +49 -0
  35. package/dist/cjs/artifacts/glyph/pull-request/24.js +49 -0
  36. package/dist/cjs/artifacts/glyph/question/16.js +49 -0
  37. package/dist/cjs/artifacts/glyph/question/24.js +49 -0
  38. package/dist/cjs/artifacts/glyph/story/16.js +49 -0
  39. package/dist/cjs/artifacts/glyph/story/24.js +49 -0
  40. package/dist/cjs/artifacts/glyph/subtask/16.js +49 -0
  41. package/dist/cjs/artifacts/glyph/subtask/24.js +49 -0
  42. package/dist/cjs/artifacts/glyph/task/16.js +49 -0
  43. package/dist/cjs/artifacts/glyph/task/24.js +49 -0
  44. package/dist/cjs/artifacts/glyph-legacy/blog/16.js +28 -0
  45. package/dist/cjs/artifacts/glyph-legacy/blog/24.js +28 -0
  46. package/dist/cjs/artifacts/glyph-legacy/branch/16.js +28 -0
  47. package/dist/cjs/artifacts/glyph-legacy/branch/24.js +28 -0
  48. package/dist/cjs/artifacts/glyph-legacy/bug/16.js +28 -0
  49. package/dist/cjs/artifacts/glyph-legacy/bug/24.js +28 -0
  50. package/dist/cjs/artifacts/glyph-legacy/calendar/16.js +28 -0
  51. package/dist/cjs/artifacts/glyph-legacy/calendar/24.js +28 -0
  52. package/dist/cjs/artifacts/glyph-legacy/changes/16.js +28 -0
  53. package/dist/cjs/artifacts/glyph-legacy/changes/24.js +28 -0
  54. package/dist/cjs/artifacts/glyph-legacy/code/16.js +28 -0
  55. package/dist/cjs/artifacts/glyph-legacy/code/24.js +28 -0
  56. package/dist/cjs/artifacts/glyph-legacy/commit/16.js +28 -0
  57. package/dist/cjs/artifacts/glyph-legacy/commit/24.js +28 -0
  58. package/dist/cjs/artifacts/glyph-legacy/epic/16.js +28 -0
  59. package/dist/cjs/artifacts/glyph-legacy/epic/24.js +28 -0
  60. package/dist/cjs/artifacts/glyph-legacy/improvement/16.js +28 -0
  61. package/dist/cjs/artifacts/glyph-legacy/improvement/24.js +28 -0
  62. package/dist/cjs/artifacts/glyph-legacy/incident/16.js +28 -0
  63. package/dist/cjs/artifacts/glyph-legacy/incident/24.js +28 -0
  64. package/dist/cjs/artifacts/glyph-legacy/issue/16.js +28 -0
  65. package/dist/cjs/artifacts/glyph-legacy/issue/24.js +28 -0
  66. package/dist/cjs/artifacts/glyph-legacy/new-feature/16.js +28 -0
  67. package/dist/cjs/artifacts/glyph-legacy/new-feature/24.js +28 -0
  68. package/dist/cjs/artifacts/glyph-legacy/page/16.js +28 -0
  69. package/dist/cjs/artifacts/glyph-legacy/page/24.js +28 -0
  70. package/dist/cjs/artifacts/glyph-legacy/problem/16.js +28 -0
  71. package/dist/cjs/artifacts/glyph-legacy/problem/24.js +28 -0
  72. package/dist/cjs/artifacts/glyph-legacy/pull-request/16.js +28 -0
  73. package/dist/cjs/artifacts/glyph-legacy/pull-request/24.js +28 -0
  74. package/dist/cjs/artifacts/glyph-legacy/question/16.js +28 -0
  75. package/dist/cjs/artifacts/glyph-legacy/question/24.js +28 -0
  76. package/dist/cjs/artifacts/glyph-legacy/story/16.js +28 -0
  77. package/dist/cjs/artifacts/glyph-legacy/story/24.js +28 -0
  78. package/dist/cjs/artifacts/glyph-legacy/subtask/16.js +28 -0
  79. package/dist/cjs/artifacts/glyph-legacy/subtask/24.js +28 -0
  80. package/dist/cjs/artifacts/glyph-legacy/task/16.js +28 -0
  81. package/dist/cjs/artifacts/glyph-legacy/task/24.js +28 -0
  82. package/dist/cjs/metadata.js +38 -38
  83. package/dist/es2019/artifacts/glyph/blog/16.js +43 -0
  84. package/dist/es2019/artifacts/glyph/blog/24.js +43 -0
  85. package/dist/es2019/artifacts/glyph/branch/16.js +43 -0
  86. package/dist/es2019/artifacts/glyph/branch/24.js +43 -0
  87. package/dist/es2019/artifacts/glyph/bug/16.js +43 -0
  88. package/dist/es2019/artifacts/glyph/bug/24.js +43 -0
  89. package/dist/es2019/artifacts/glyph/calendar/16.js +43 -0
  90. package/dist/es2019/artifacts/glyph/calendar/24.js +43 -0
  91. package/dist/es2019/artifacts/glyph/changes/16.js +43 -0
  92. package/dist/es2019/artifacts/glyph/changes/24.js +43 -0
  93. package/dist/es2019/artifacts/glyph/code/16.js +43 -0
  94. package/dist/es2019/artifacts/glyph/code/24.js +43 -0
  95. package/dist/es2019/artifacts/glyph/commit/16.js +43 -0
  96. package/dist/es2019/artifacts/glyph/commit/24.js +43 -0
  97. package/dist/es2019/artifacts/glyph/epic/16.js +43 -0
  98. package/dist/es2019/artifacts/glyph/epic/24.js +43 -0
  99. package/dist/es2019/artifacts/glyph/improvement/16.js +43 -0
  100. package/dist/es2019/artifacts/glyph/improvement/24.js +43 -0
  101. package/dist/es2019/artifacts/glyph/incident/16.js +43 -0
  102. package/dist/es2019/artifacts/glyph/incident/24.js +43 -0
  103. package/dist/es2019/artifacts/glyph/issue/16.js +43 -0
  104. package/dist/es2019/artifacts/glyph/issue/24.js +43 -0
  105. package/dist/es2019/artifacts/glyph/new-feature/16.js +43 -0
  106. package/dist/es2019/artifacts/glyph/new-feature/24.js +43 -0
  107. package/dist/es2019/artifacts/glyph/page/16.js +43 -0
  108. package/dist/es2019/artifacts/glyph/page/24.js +43 -0
  109. package/dist/es2019/artifacts/glyph/problem/16.js +43 -0
  110. package/dist/es2019/artifacts/glyph/problem/24.js +43 -0
  111. package/dist/es2019/artifacts/glyph/pull-request/16.js +43 -0
  112. package/dist/es2019/artifacts/glyph/pull-request/24.js +43 -0
  113. package/dist/es2019/artifacts/glyph/question/16.js +43 -0
  114. package/dist/es2019/artifacts/glyph/question/24.js +43 -0
  115. package/dist/es2019/artifacts/glyph/story/16.js +43 -0
  116. package/dist/es2019/artifacts/glyph/story/24.js +43 -0
  117. package/dist/es2019/artifacts/glyph/subtask/16.js +43 -0
  118. package/dist/es2019/artifacts/glyph/subtask/24.js +43 -0
  119. package/dist/es2019/artifacts/glyph/task/16.js +43 -0
  120. package/dist/es2019/artifacts/glyph/task/24.js +43 -0
  121. package/dist/es2019/artifacts/glyph-legacy/blog/16.js +18 -0
  122. package/dist/es2019/artifacts/glyph-legacy/blog/24.js +18 -0
  123. package/dist/es2019/artifacts/glyph-legacy/branch/16.js +18 -0
  124. package/dist/es2019/artifacts/glyph-legacy/branch/24.js +18 -0
  125. package/dist/es2019/artifacts/glyph-legacy/bug/16.js +18 -0
  126. package/dist/es2019/artifacts/glyph-legacy/bug/24.js +18 -0
  127. package/dist/es2019/artifacts/glyph-legacy/calendar/16.js +18 -0
  128. package/dist/es2019/artifacts/glyph-legacy/calendar/24.js +18 -0
  129. package/dist/es2019/artifacts/glyph-legacy/changes/16.js +18 -0
  130. package/dist/es2019/artifacts/glyph-legacy/changes/24.js +18 -0
  131. package/dist/es2019/artifacts/glyph-legacy/code/16.js +18 -0
  132. package/{glyph → dist/es2019/artifacts/glyph-legacy}/code/24.js +13 -11
  133. package/dist/es2019/artifacts/glyph-legacy/commit/16.js +18 -0
  134. package/dist/es2019/artifacts/glyph-legacy/commit/24.js +18 -0
  135. package/{glyph → dist/es2019/artifacts/glyph-legacy}/epic/16.js +13 -11
  136. package/{glyph → dist/es2019/artifacts/glyph-legacy}/epic/24.js +13 -11
  137. package/dist/es2019/artifacts/glyph-legacy/improvement/16.js +18 -0
  138. package/dist/es2019/artifacts/glyph-legacy/improvement/24.js +18 -0
  139. package/dist/es2019/artifacts/glyph-legacy/incident/16.js +18 -0
  140. package/dist/es2019/artifacts/glyph-legacy/incident/24.js +18 -0
  141. package/dist/es2019/artifacts/glyph-legacy/issue/16.js +18 -0
  142. package/{glyph → dist/es2019/artifacts/glyph-legacy}/issue/24.js +13 -11
  143. package/dist/es2019/artifacts/glyph-legacy/new-feature/16.js +18 -0
  144. package/dist/es2019/artifacts/glyph-legacy/new-feature/24.js +18 -0
  145. package/dist/es2019/artifacts/glyph-legacy/page/16.js +18 -0
  146. package/{glyph → dist/es2019/artifacts/glyph-legacy}/page/24.js +13 -11
  147. package/dist/es2019/artifacts/glyph-legacy/problem/16.js +18 -0
  148. package/dist/es2019/artifacts/glyph-legacy/problem/24.js +18 -0
  149. package/dist/es2019/artifacts/glyph-legacy/pull-request/16.js +18 -0
  150. package/{glyph → dist/es2019/artifacts/glyph-legacy}/pull-request/24.js +13 -11
  151. package/dist/es2019/artifacts/glyph-legacy/question/16.js +18 -0
  152. package/{glyph → dist/es2019/artifacts/glyph-legacy}/question/24.js +13 -11
  153. package/dist/es2019/artifacts/glyph-legacy/story/16.js +18 -0
  154. package/dist/es2019/artifacts/glyph-legacy/story/24.js +18 -0
  155. package/dist/es2019/artifacts/glyph-legacy/subtask/16.js +18 -0
  156. package/dist/es2019/artifacts/glyph-legacy/subtask/24.js +18 -0
  157. package/dist/es2019/artifacts/glyph-legacy/task/16.js +18 -0
  158. package/dist/es2019/artifacts/glyph-legacy/task/24.js +18 -0
  159. package/dist/es2019/metadata.js +38 -38
  160. package/dist/esm/artifacts/glyph/blog/16.js +42 -0
  161. package/dist/esm/artifacts/glyph/blog/24.js +42 -0
  162. package/dist/esm/artifacts/glyph/branch/16.js +42 -0
  163. package/dist/esm/artifacts/glyph/branch/24.js +42 -0
  164. package/dist/esm/artifacts/glyph/bug/16.js +42 -0
  165. package/dist/esm/artifacts/glyph/bug/24.js +42 -0
  166. package/dist/esm/artifacts/glyph/calendar/16.js +42 -0
  167. package/dist/esm/artifacts/glyph/calendar/24.js +42 -0
  168. package/dist/esm/artifacts/glyph/changes/16.js +42 -0
  169. package/dist/esm/artifacts/glyph/changes/24.js +42 -0
  170. package/dist/esm/artifacts/glyph/code/16.js +42 -0
  171. package/dist/esm/artifacts/glyph/code/24.js +42 -0
  172. package/dist/esm/artifacts/glyph/commit/16.js +42 -0
  173. package/dist/esm/artifacts/glyph/commit/24.js +42 -0
  174. package/dist/esm/artifacts/glyph/epic/16.js +42 -0
  175. package/dist/esm/artifacts/glyph/epic/24.js +42 -0
  176. package/dist/esm/artifacts/glyph/improvement/16.js +42 -0
  177. package/dist/esm/artifacts/glyph/improvement/24.js +42 -0
  178. package/dist/esm/artifacts/glyph/incident/16.js +42 -0
  179. package/dist/esm/artifacts/glyph/incident/24.js +42 -0
  180. package/dist/esm/artifacts/glyph/issue/16.js +42 -0
  181. package/dist/esm/artifacts/glyph/issue/24.js +42 -0
  182. package/dist/esm/artifacts/glyph/new-feature/16.js +42 -0
  183. package/dist/esm/artifacts/glyph/new-feature/24.js +42 -0
  184. package/dist/esm/artifacts/glyph/page/16.js +42 -0
  185. package/dist/esm/artifacts/glyph/page/24.js +42 -0
  186. package/dist/esm/artifacts/glyph/problem/16.js +42 -0
  187. package/dist/esm/artifacts/glyph/problem/24.js +42 -0
  188. package/dist/esm/artifacts/glyph/pull-request/16.js +42 -0
  189. package/dist/esm/artifacts/glyph/pull-request/24.js +42 -0
  190. package/dist/esm/artifacts/glyph/question/16.js +42 -0
  191. package/dist/esm/artifacts/glyph/question/24.js +42 -0
  192. package/dist/esm/artifacts/glyph/story/16.js +42 -0
  193. package/dist/esm/artifacts/glyph/story/24.js +42 -0
  194. package/dist/esm/artifacts/glyph/subtask/16.js +42 -0
  195. package/dist/esm/artifacts/glyph/subtask/24.js +42 -0
  196. package/dist/esm/artifacts/glyph/task/16.js +42 -0
  197. package/dist/esm/artifacts/glyph/task/24.js +42 -0
  198. package/dist/esm/artifacts/glyph-legacy/blog/16.js +20 -0
  199. package/dist/esm/artifacts/glyph-legacy/blog/24.js +20 -0
  200. package/dist/esm/artifacts/glyph-legacy/branch/16.js +20 -0
  201. package/dist/esm/artifacts/glyph-legacy/branch/24.js +20 -0
  202. package/dist/esm/artifacts/glyph-legacy/bug/16.js +20 -0
  203. package/dist/esm/artifacts/glyph-legacy/bug/24.js +20 -0
  204. package/dist/esm/artifacts/glyph-legacy/calendar/16.js +20 -0
  205. package/dist/esm/artifacts/glyph-legacy/calendar/24.js +20 -0
  206. package/dist/esm/artifacts/glyph-legacy/changes/16.js +20 -0
  207. package/dist/esm/artifacts/glyph-legacy/changes/24.js +20 -0
  208. package/dist/esm/artifacts/glyph-legacy/code/16.js +20 -0
  209. package/dist/esm/artifacts/glyph-legacy/code/24.js +20 -0
  210. package/dist/esm/artifacts/glyph-legacy/commit/16.js +20 -0
  211. package/dist/esm/artifacts/glyph-legacy/commit/24.js +20 -0
  212. package/dist/esm/artifacts/glyph-legacy/epic/16.js +20 -0
  213. package/dist/esm/artifacts/glyph-legacy/epic/24.js +20 -0
  214. package/dist/esm/artifacts/glyph-legacy/improvement/16.js +20 -0
  215. package/dist/esm/artifacts/glyph-legacy/improvement/24.js +20 -0
  216. package/dist/esm/artifacts/glyph-legacy/incident/16.js +20 -0
  217. package/dist/esm/artifacts/glyph-legacy/incident/24.js +20 -0
  218. package/dist/esm/artifacts/glyph-legacy/issue/16.js +20 -0
  219. package/dist/esm/artifacts/glyph-legacy/issue/24.js +20 -0
  220. package/dist/esm/artifacts/glyph-legacy/new-feature/16.js +20 -0
  221. package/dist/esm/artifacts/glyph-legacy/new-feature/24.js +20 -0
  222. package/dist/esm/artifacts/glyph-legacy/page/16.js +20 -0
  223. package/dist/esm/artifacts/glyph-legacy/page/24.js +20 -0
  224. package/dist/esm/artifacts/glyph-legacy/problem/16.js +20 -0
  225. package/dist/esm/artifacts/glyph-legacy/problem/24.js +20 -0
  226. package/dist/esm/artifacts/glyph-legacy/pull-request/16.js +20 -0
  227. package/dist/esm/artifacts/glyph-legacy/pull-request/24.js +20 -0
  228. package/dist/esm/artifacts/glyph-legacy/question/16.js +20 -0
  229. package/dist/esm/artifacts/glyph-legacy/question/24.js +20 -0
  230. package/dist/esm/artifacts/glyph-legacy/story/16.js +20 -0
  231. package/dist/esm/artifacts/glyph-legacy/story/24.js +20 -0
  232. package/dist/esm/artifacts/glyph-legacy/subtask/16.js +20 -0
  233. package/dist/esm/artifacts/glyph-legacy/subtask/24.js +20 -0
  234. package/dist/esm/artifacts/glyph-legacy/task/16.js +20 -0
  235. package/dist/esm/artifacts/glyph-legacy/task/24.js +20 -0
  236. package/dist/esm/metadata.js +38 -38
  237. package/dist/types/artifacts/glyph/blog/16.d.ts +14 -0
  238. package/dist/types/artifacts/glyph/blog/24.d.ts +14 -0
  239. package/dist/types/artifacts/glyph/branch/16.d.ts +14 -0
  240. package/dist/types/artifacts/glyph/branch/24.d.ts +14 -0
  241. package/dist/types/artifacts/glyph/bug/16.d.ts +14 -0
  242. package/dist/types/artifacts/glyph/bug/24.d.ts +14 -0
  243. package/dist/types/artifacts/glyph/calendar/16.d.ts +14 -0
  244. package/dist/types/artifacts/glyph/calendar/24.d.ts +14 -0
  245. package/dist/types/artifacts/glyph/changes/16.d.ts +14 -0
  246. package/dist/types/artifacts/glyph/changes/24.d.ts +14 -0
  247. package/dist/types/artifacts/glyph/code/16.d.ts +14 -0
  248. package/dist/types/artifacts/glyph/code/24.d.ts +14 -0
  249. package/dist/types/artifacts/glyph/commit/16.d.ts +14 -0
  250. package/dist/types/artifacts/glyph/commit/24.d.ts +14 -0
  251. package/dist/types/artifacts/glyph/epic/16.d.ts +14 -0
  252. package/dist/types/artifacts/glyph/epic/24.d.ts +14 -0
  253. package/dist/types/artifacts/glyph/improvement/16.d.ts +14 -0
  254. package/dist/types/artifacts/glyph/improvement/24.d.ts +14 -0
  255. package/dist/types/artifacts/glyph/incident/16.d.ts +14 -0
  256. package/dist/types/artifacts/glyph/incident/24.d.ts +14 -0
  257. package/dist/types/artifacts/glyph/issue/16.d.ts +14 -0
  258. package/dist/types/artifacts/glyph/issue/24.d.ts +14 -0
  259. package/dist/types/artifacts/glyph/new-feature/16.d.ts +14 -0
  260. package/dist/types/artifacts/glyph/new-feature/24.d.ts +14 -0
  261. package/dist/types/artifacts/glyph/page/16.d.ts +14 -0
  262. package/dist/types/artifacts/glyph/page/24.d.ts +14 -0
  263. package/dist/types/artifacts/glyph/problem/16.d.ts +14 -0
  264. package/dist/types/artifacts/glyph/problem/24.d.ts +14 -0
  265. package/dist/types/artifacts/glyph/pull-request/16.d.ts +14 -0
  266. package/dist/types/artifacts/glyph/pull-request/24.d.ts +14 -0
  267. package/dist/types/artifacts/glyph/question/16.d.ts +14 -0
  268. package/dist/types/artifacts/glyph/question/24.d.ts +14 -0
  269. package/dist/types/artifacts/glyph/story/16.d.ts +14 -0
  270. package/dist/types/artifacts/glyph/story/24.d.ts +14 -0
  271. package/dist/types/artifacts/glyph/subtask/16.d.ts +14 -0
  272. package/dist/types/artifacts/glyph/subtask/24.d.ts +14 -0
  273. package/dist/types/artifacts/glyph/task/16.d.ts +14 -0
  274. package/dist/types/artifacts/glyph/task/24.d.ts +14 -0
  275. package/dist/types/artifacts/glyph-legacy/blog/16.d.ts +7 -0
  276. package/dist/types/artifacts/glyph-legacy/blog/24.d.ts +7 -0
  277. package/dist/types/artifacts/glyph-legacy/branch/16.d.ts +7 -0
  278. package/dist/types/artifacts/glyph-legacy/branch/24.d.ts +7 -0
  279. package/dist/types/artifacts/glyph-legacy/bug/16.d.ts +7 -0
  280. package/dist/types/artifacts/glyph-legacy/bug/24.d.ts +7 -0
  281. package/dist/types/artifacts/glyph-legacy/calendar/16.d.ts +7 -0
  282. package/dist/types/artifacts/glyph-legacy/calendar/24.d.ts +7 -0
  283. package/dist/types/artifacts/glyph-legacy/changes/16.d.ts +7 -0
  284. package/dist/types/artifacts/glyph-legacy/changes/24.d.ts +7 -0
  285. package/dist/types/artifacts/glyph-legacy/code/16.d.ts +7 -0
  286. package/dist/types/artifacts/glyph-legacy/code/24.d.ts +7 -0
  287. package/dist/types/artifacts/glyph-legacy/commit/16.d.ts +7 -0
  288. package/dist/types/artifacts/glyph-legacy/commit/24.d.ts +7 -0
  289. package/dist/types/artifacts/glyph-legacy/epic/16.d.ts +7 -0
  290. package/dist/types/artifacts/glyph-legacy/epic/24.d.ts +7 -0
  291. package/dist/types/artifacts/glyph-legacy/improvement/16.d.ts +7 -0
  292. package/dist/types/artifacts/glyph-legacy/improvement/24.d.ts +7 -0
  293. package/dist/types/artifacts/glyph-legacy/incident/16.d.ts +7 -0
  294. package/dist/types/artifacts/glyph-legacy/incident/24.d.ts +7 -0
  295. package/dist/types/artifacts/glyph-legacy/issue/16.d.ts +7 -0
  296. package/dist/types/artifacts/glyph-legacy/issue/24.d.ts +7 -0
  297. package/dist/types/artifacts/glyph-legacy/new-feature/16.d.ts +7 -0
  298. package/dist/types/artifacts/glyph-legacy/new-feature/24.d.ts +7 -0
  299. package/dist/types/artifacts/glyph-legacy/page/16.d.ts +7 -0
  300. package/dist/types/artifacts/glyph-legacy/page/24.d.ts +7 -0
  301. package/dist/types/artifacts/glyph-legacy/problem/16.d.ts +7 -0
  302. package/dist/types/artifacts/glyph-legacy/problem/24.d.ts +7 -0
  303. package/dist/types/artifacts/glyph-legacy/pull-request/16.d.ts +7 -0
  304. package/dist/types/artifacts/glyph-legacy/pull-request/24.d.ts +7 -0
  305. package/dist/types/artifacts/glyph-legacy/question/16.d.ts +7 -0
  306. package/dist/types/artifacts/glyph-legacy/question/24.d.ts +7 -0
  307. package/dist/types/artifacts/glyph-legacy/story/16.d.ts +7 -0
  308. package/dist/types/artifacts/glyph-legacy/story/24.d.ts +7 -0
  309. package/dist/types/artifacts/glyph-legacy/subtask/16.d.ts +7 -0
  310. package/dist/types/artifacts/glyph-legacy/subtask/24.d.ts +7 -0
  311. package/dist/types/artifacts/glyph-legacy/task/16.d.ts +7 -0
  312. package/dist/types/artifacts/glyph-legacy/task/24.d.ts +7 -0
  313. package/dist/types-ts4.5/artifacts/glyph/blog/16.d.ts +14 -0
  314. package/dist/types-ts4.5/artifacts/glyph/blog/24.d.ts +14 -0
  315. package/dist/types-ts4.5/artifacts/glyph/branch/16.d.ts +14 -0
  316. package/dist/types-ts4.5/artifacts/glyph/branch/24.d.ts +14 -0
  317. package/dist/types-ts4.5/artifacts/glyph/bug/16.d.ts +14 -0
  318. package/dist/types-ts4.5/artifacts/glyph/bug/24.d.ts +14 -0
  319. package/dist/types-ts4.5/artifacts/glyph/calendar/16.d.ts +14 -0
  320. package/dist/types-ts4.5/artifacts/glyph/calendar/24.d.ts +14 -0
  321. package/dist/types-ts4.5/artifacts/glyph/changes/16.d.ts +14 -0
  322. package/dist/types-ts4.5/artifacts/glyph/changes/24.d.ts +14 -0
  323. package/dist/types-ts4.5/artifacts/glyph/code/16.d.ts +14 -0
  324. package/dist/types-ts4.5/artifacts/glyph/code/24.d.ts +14 -0
  325. package/dist/types-ts4.5/artifacts/glyph/commit/16.d.ts +14 -0
  326. package/dist/types-ts4.5/artifacts/glyph/commit/24.d.ts +14 -0
  327. package/dist/types-ts4.5/artifacts/glyph/epic/16.d.ts +14 -0
  328. package/dist/types-ts4.5/artifacts/glyph/epic/24.d.ts +14 -0
  329. package/dist/types-ts4.5/artifacts/glyph/improvement/16.d.ts +14 -0
  330. package/dist/types-ts4.5/artifacts/glyph/improvement/24.d.ts +14 -0
  331. package/dist/types-ts4.5/artifacts/glyph/incident/16.d.ts +14 -0
  332. package/dist/types-ts4.5/artifacts/glyph/incident/24.d.ts +14 -0
  333. package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +14 -0
  334. package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +14 -0
  335. package/dist/types-ts4.5/artifacts/glyph/new-feature/16.d.ts +14 -0
  336. package/dist/types-ts4.5/artifacts/glyph/new-feature/24.d.ts +14 -0
  337. package/dist/types-ts4.5/artifacts/glyph/page/16.d.ts +14 -0
  338. package/dist/types-ts4.5/artifacts/glyph/page/24.d.ts +14 -0
  339. package/dist/types-ts4.5/artifacts/glyph/problem/16.d.ts +14 -0
  340. package/dist/types-ts4.5/artifacts/glyph/problem/24.d.ts +14 -0
  341. package/dist/types-ts4.5/artifacts/glyph/pull-request/16.d.ts +14 -0
  342. package/dist/types-ts4.5/artifacts/glyph/pull-request/24.d.ts +14 -0
  343. package/dist/types-ts4.5/artifacts/glyph/question/16.d.ts +14 -0
  344. package/dist/types-ts4.5/artifacts/glyph/question/24.d.ts +14 -0
  345. package/dist/types-ts4.5/artifacts/glyph/story/16.d.ts +14 -0
  346. package/dist/types-ts4.5/artifacts/glyph/story/24.d.ts +14 -0
  347. package/dist/types-ts4.5/artifacts/glyph/subtask/16.d.ts +14 -0
  348. package/dist/types-ts4.5/artifacts/glyph/subtask/24.d.ts +14 -0
  349. package/dist/types-ts4.5/artifacts/glyph/task/16.d.ts +14 -0
  350. package/dist/types-ts4.5/artifacts/glyph/task/24.d.ts +14 -0
  351. package/dist/types-ts4.5/artifacts/glyph-legacy/blog/16.d.ts +7 -0
  352. package/dist/types-ts4.5/artifacts/glyph-legacy/blog/24.d.ts +7 -0
  353. package/dist/types-ts4.5/artifacts/glyph-legacy/branch/16.d.ts +7 -0
  354. package/dist/types-ts4.5/artifacts/glyph-legacy/branch/24.d.ts +7 -0
  355. package/dist/types-ts4.5/artifacts/glyph-legacy/bug/16.d.ts +7 -0
  356. package/dist/types-ts4.5/artifacts/glyph-legacy/bug/24.d.ts +7 -0
  357. package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/16.d.ts +7 -0
  358. package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/24.d.ts +7 -0
  359. package/dist/types-ts4.5/artifacts/glyph-legacy/changes/16.d.ts +7 -0
  360. package/dist/types-ts4.5/artifacts/glyph-legacy/changes/24.d.ts +7 -0
  361. package/dist/types-ts4.5/artifacts/glyph-legacy/code/16.d.ts +7 -0
  362. package/dist/types-ts4.5/artifacts/glyph-legacy/code/24.d.ts +7 -0
  363. package/dist/types-ts4.5/artifacts/glyph-legacy/commit/16.d.ts +7 -0
  364. package/dist/types-ts4.5/artifacts/glyph-legacy/commit/24.d.ts +7 -0
  365. package/dist/types-ts4.5/artifacts/glyph-legacy/epic/16.d.ts +7 -0
  366. package/dist/types-ts4.5/artifacts/glyph-legacy/epic/24.d.ts +7 -0
  367. package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/16.d.ts +7 -0
  368. package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/24.d.ts +7 -0
  369. package/dist/types-ts4.5/artifacts/glyph-legacy/incident/16.d.ts +7 -0
  370. package/dist/types-ts4.5/artifacts/glyph-legacy/incident/24.d.ts +7 -0
  371. package/dist/types-ts4.5/artifacts/glyph-legacy/issue/16.d.ts +7 -0
  372. package/dist/types-ts4.5/artifacts/glyph-legacy/issue/24.d.ts +7 -0
  373. package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/16.d.ts +7 -0
  374. package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/24.d.ts +7 -0
  375. package/dist/types-ts4.5/artifacts/glyph-legacy/page/16.d.ts +7 -0
  376. package/dist/types-ts4.5/artifacts/glyph-legacy/page/24.d.ts +7 -0
  377. package/dist/types-ts4.5/artifacts/glyph-legacy/problem/16.d.ts +7 -0
  378. package/dist/types-ts4.5/artifacts/glyph-legacy/problem/24.d.ts +7 -0
  379. package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/16.d.ts +7 -0
  380. package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/24.d.ts +7 -0
  381. package/dist/types-ts4.5/artifacts/glyph-legacy/question/16.d.ts +7 -0
  382. package/dist/types-ts4.5/artifacts/glyph-legacy/question/24.d.ts +7 -0
  383. package/dist/types-ts4.5/artifacts/glyph-legacy/story/16.d.ts +7 -0
  384. package/dist/types-ts4.5/artifacts/glyph-legacy/story/24.d.ts +7 -0
  385. package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/16.d.ts +7 -0
  386. package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/24.d.ts +7 -0
  387. package/dist/types-ts4.5/artifacts/glyph-legacy/task/16.d.ts +7 -0
  388. package/dist/types-ts4.5/artifacts/glyph-legacy/task/24.d.ts +7 -0
  389. package/glyph/blog/16/package.json +17 -0
  390. package/glyph/blog/24/package.json +17 -0
  391. package/glyph/branch/16/package.json +17 -0
  392. package/glyph/branch/24/package.json +17 -0
  393. package/glyph/bug/16/package.json +17 -0
  394. package/glyph/bug/24/package.json +17 -0
  395. package/glyph/calendar/16/package.json +17 -0
  396. package/glyph/calendar/24/package.json +17 -0
  397. package/glyph/changes/16/package.json +17 -0
  398. package/glyph/changes/24/package.json +17 -0
  399. package/glyph/code/16/package.json +17 -0
  400. package/glyph/code/24/package.json +17 -0
  401. package/glyph/commit/16/package.json +17 -0
  402. package/glyph/commit/24/package.json +17 -0
  403. package/glyph/epic/16/package.json +17 -0
  404. package/glyph/epic/24/package.json +17 -0
  405. package/glyph/improvement/16/package.json +17 -0
  406. package/glyph/improvement/24/package.json +17 -0
  407. package/glyph/incident/16/package.json +17 -0
  408. package/glyph/incident/24/package.json +17 -0
  409. package/glyph/issue/16/package.json +17 -0
  410. package/glyph/issue/24/package.json +17 -0
  411. package/glyph/new-feature/16/package.json +17 -0
  412. package/glyph/new-feature/24/package.json +17 -0
  413. package/glyph/page/16/package.json +17 -0
  414. package/glyph/page/24/package.json +17 -0
  415. package/glyph/problem/16/package.json +17 -0
  416. package/glyph/problem/24/package.json +17 -0
  417. package/glyph/pull-request/16/package.json +17 -0
  418. package/glyph/pull-request/24/package.json +17 -0
  419. package/glyph/question/16/package.json +17 -0
  420. package/glyph/question/24/package.json +17 -0
  421. package/glyph/story/16/package.json +17 -0
  422. package/glyph/story/24/package.json +17 -0
  423. package/glyph/subtask/16/package.json +17 -0
  424. package/glyph/subtask/24/package.json +17 -0
  425. package/glyph/task/16/package.json +17 -0
  426. package/glyph/task/24/package.json +17 -0
  427. package/package.json +56 -10
  428. package/glyph/blog/16.d.ts +0 -4
  429. package/glyph/blog/16.js +0 -16
  430. package/glyph/blog/24.d.ts +0 -4
  431. package/glyph/blog/24.js +0 -16
  432. package/glyph/branch/16.d.ts +0 -4
  433. package/glyph/branch/16.js +0 -16
  434. package/glyph/branch/24.d.ts +0 -4
  435. package/glyph/branch/24.js +0 -16
  436. package/glyph/bug/16.d.ts +0 -4
  437. package/glyph/bug/16.js +0 -16
  438. package/glyph/bug/24.d.ts +0 -4
  439. package/glyph/bug/24.js +0 -16
  440. package/glyph/calendar/16.d.ts +0 -4
  441. package/glyph/calendar/16.js +0 -16
  442. package/glyph/calendar/24.d.ts +0 -4
  443. package/glyph/calendar/24.js +0 -16
  444. package/glyph/changes/16.d.ts +0 -4
  445. package/glyph/changes/16.js +0 -16
  446. package/glyph/changes/24.d.ts +0 -4
  447. package/glyph/changes/24.js +0 -16
  448. package/glyph/code/16.d.ts +0 -4
  449. package/glyph/code/16.js +0 -16
  450. package/glyph/code/24.d.ts +0 -4
  451. package/glyph/commit/16.d.ts +0 -4
  452. package/glyph/commit/16.js +0 -16
  453. package/glyph/commit/24.d.ts +0 -4
  454. package/glyph/commit/24.js +0 -16
  455. package/glyph/epic/16.d.ts +0 -4
  456. package/glyph/epic/24.d.ts +0 -4
  457. package/glyph/improvement/16.d.ts +0 -4
  458. package/glyph/improvement/16.js +0 -16
  459. package/glyph/improvement/24.d.ts +0 -4
  460. package/glyph/improvement/24.js +0 -16
  461. package/glyph/incident/16.d.ts +0 -4
  462. package/glyph/incident/16.js +0 -16
  463. package/glyph/incident/24.d.ts +0 -4
  464. package/glyph/incident/24.js +0 -16
  465. package/glyph/issue/16.d.ts +0 -4
  466. package/glyph/issue/16.js +0 -16
  467. package/glyph/issue/24.d.ts +0 -4
  468. package/glyph/new-feature/16.d.ts +0 -4
  469. package/glyph/new-feature/16.js +0 -16
  470. package/glyph/new-feature/24.d.ts +0 -4
  471. package/glyph/new-feature/24.js +0 -16
  472. package/glyph/page/16.d.ts +0 -4
  473. package/glyph/page/16.js +0 -16
  474. package/glyph/page/24.d.ts +0 -4
  475. package/glyph/problem/16.d.ts +0 -4
  476. package/glyph/problem/16.js +0 -16
  477. package/glyph/problem/24.d.ts +0 -4
  478. package/glyph/problem/24.js +0 -16
  479. package/glyph/pull-request/16.d.ts +0 -4
  480. package/glyph/pull-request/16.js +0 -16
  481. package/glyph/pull-request/24.d.ts +0 -4
  482. package/glyph/question/16.d.ts +0 -4
  483. package/glyph/question/16.js +0 -16
  484. package/glyph/question/24.d.ts +0 -4
  485. package/glyph/story/16.d.ts +0 -4
  486. package/glyph/story/16.js +0 -16
  487. package/glyph/story/24.d.ts +0 -4
  488. package/glyph/story/24.js +0 -16
  489. package/glyph/subtask/16.d.ts +0 -4
  490. package/glyph/subtask/16.js +0 -16
  491. package/glyph/subtask/24.d.ts +0 -4
  492. package/glyph/subtask/24.js +0 -16
  493. package/glyph/task/16.d.ts +0 -4
  494. package/glyph/task/16.js +0 -16
  495. package/glyph/task/24.d.ts +0 -4
  496. package/glyph/task/24.js +0 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/icon-object
2
2
 
3
+ ## 6.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#169436](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169436)
8
+ [`571aeaa4c8c45`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/571aeaa4c8c45) -
9
+ Migrate to new icons and icon-tile, behind a feature flag. Icon tile components have also been
10
+ updated to use the standard export process for `@atlaskit` components, with optimised exports for
11
+ cjs, es2019 and esm.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.7.1
4
18
 
5
19
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
 
3
- import CodeIcon24 from '../glyph/code/24';
3
+ import CodeIcon24 from '../src/artifacts/glyph/code/24';
4
4
 
5
5
  export default () => <CodeIcon24 label="CodeIcon 24" />;
@@ -19,6 +19,9 @@
19
19
  "references": [
20
20
  {
21
21
  "path": "../../icon/afm-cc/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
22
25
  }
23
26
  ]
24
27
  }
package/build/index.tsx CHANGED
@@ -1,35 +1,44 @@
1
1
  import path from 'path';
2
+
3
+ import fs from 'fs-extra';
4
+ import pkgDir from 'pkg-dir';
5
+
6
+ import format from '@af/formatting/sync';
2
7
  import { build, createIconDocs, tidy } from '@af/icon-build-process';
3
8
  import type { IconBuildConfig } from '@af/icon-build-process';
4
- import pkgDir from 'pkg-dir';
5
- import fs from 'fs-extra';
9
+ import { createSignedArtifact } from '@atlassian/codegen';
10
+
11
+ import { getIconObjectJSX, iconObjectMapping } from './utils';
6
12
 
7
13
  const root = pkgDir.sync();
8
14
 
9
15
  const config16: IconBuildConfig = {
10
16
  srcDir: path.resolve(root!, 'svgs_raw'),
11
17
  processedDir: path.resolve(root!, 'svgs'),
12
- destDir: path.resolve(root!, 'glyph'),
18
+ destDir: path.resolve(root!, 'src', 'artifacts', 'glyph-legacy'),
13
19
  maxWidth: 16,
14
20
  maxHeight: 16,
15
21
  glob: '**/16.svg',
16
22
  size: 'small',
17
23
  baseIconEntryPoint: '@atlaskit/icon/base',
24
+ outputSource: true,
18
25
  isColorsDisabled: true,
19
26
  };
20
27
 
21
28
  const config24: IconBuildConfig = {
22
29
  srcDir: path.resolve(root!, 'svgs_raw'),
23
30
  processedDir: path.resolve(root!, 'svgs'),
24
- destDir: path.resolve(root!, 'glyph'),
31
+ destDir: path.resolve(root!, 'src', 'artifacts', 'glyph-legacy'),
25
32
  maxWidth: 24,
26
33
  maxHeight: 24,
27
34
  glob: '**/24.svg',
28
35
  size: 'medium',
29
36
  baseIconEntryPoint: '@atlaskit/icon/base',
37
+ outputSource: true,
30
38
  isColorsDisabled: true,
31
39
  };
32
40
 
41
+ // Create legacy icons and docs
33
42
  tidy(config16)
34
43
  .then(() => Promise.all([build(config16), build(config24)]))
35
44
  .then(([sixteen, twentyfour]) => {
@@ -43,3 +52,20 @@ tidy(config16)
43
52
 
44
53
  return fs.outputFile(path.resolve(root!, 'src/metadata.tsx'), iconDocs);
45
54
  });
55
+
56
+ // For each size (16px and 24px) and each iconObjectMapping, create a new JSX file
57
+ // based on the function getIconObjectJSX and write it to the format ./glyph/{name}/{size}.jsx
58
+ Object.entries(iconObjectMapping).forEach(([name, iconObject]) => {
59
+ // empty existing folder
60
+ fs.emptyDirSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name));
61
+ (['16', '24'] as const).forEach((size) => {
62
+ const iconObjectJSX = getIconObjectJSX(name, iconObject.icon, iconObject.appearance, size);
63
+ // create file if it doesn't exist
64
+ fs.ensureFileSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name, `${size}.tsx`));
65
+ // write new content
66
+ fs.writeFileSync(
67
+ path.resolve(root!, 'src', 'artifacts', 'glyph', name, `${size}.tsx`),
68
+ createSignedArtifact(format(iconObjectJSX, 'tsx'), 'yarn build:icon-glyphs'),
69
+ );
70
+ });
71
+ });
@@ -0,0 +1,132 @@
1
+ export const iconObjectMapping: Record<string, { icon: string; appearance: string }> = {
2
+ blog: {
3
+ icon: 'quotation-mark',
4
+ appearance: 'blueBold',
5
+ },
6
+ branch: {
7
+ icon: 'branch',
8
+ appearance: 'blueBold',
9
+ },
10
+ bug: {
11
+ icon: 'bug',
12
+ appearance: 'redBold',
13
+ },
14
+ calendar: {
15
+ icon: 'calendar',
16
+ appearance: 'redBold',
17
+ },
18
+ changes: {
19
+ icon: 'changes',
20
+ appearance: 'orangeBold',
21
+ },
22
+ code: {
23
+ icon: 'angle-brackets',
24
+ appearance: 'purpleBold',
25
+ },
26
+ commit: {
27
+ icon: 'commit',
28
+ appearance: 'orangeBold',
29
+ },
30
+ epic: {
31
+ icon: 'epic',
32
+ appearance: 'purpleBold',
33
+ },
34
+ improvement: {
35
+ icon: 'arrow-up',
36
+ appearance: 'greenBold',
37
+ },
38
+ incident: {
39
+ icon: 'incident',
40
+ appearance: 'redBold',
41
+ },
42
+ issue: {
43
+ icon: 'issue',
44
+ appearance: 'blueBold',
45
+ },
46
+ 'new-feature': {
47
+ icon: 'add',
48
+ appearance: 'greenBold',
49
+ },
50
+ page: {
51
+ icon: 'page',
52
+ appearance: 'blueBold',
53
+ },
54
+ problem: {
55
+ icon: 'problem',
56
+ appearance: 'redBold',
57
+ },
58
+ 'pull-request': {
59
+ icon: 'pull-request',
60
+ appearance: 'greenBold',
61
+ },
62
+ question: {
63
+ icon: 'question-circle',
64
+ appearance: 'purpleBold',
65
+ },
66
+ story: {
67
+ icon: 'story',
68
+ appearance: 'greenBold',
69
+ },
70
+ subtask: {
71
+ icon: 'subtasks',
72
+ appearance: 'blueBold',
73
+ },
74
+ task: {
75
+ icon: 'task',
76
+ appearance: 'blueBold',
77
+ },
78
+ };
79
+
80
+ export const getIconObjectJSX = (
81
+ name: string,
82
+ icon: string,
83
+ appearance: string,
84
+ size: '16' | '24',
85
+ ) => {
86
+ // convert name to PascalCase from kebab-case
87
+ const componentName = `${name
88
+ .split('-')
89
+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
90
+ .join('')}${size}Icon`;
91
+
92
+ return `import React from 'react';
93
+
94
+ import { IconTile } from '@atlaskit/icon';
95
+ import NewIcon from '@atlaskit/icon/core/${icon}';
96
+ import type { GlyphProps } from '@atlaskit/icon/types';
97
+ import { fg } from '@atlaskit/platform-feature-flags';
98
+
99
+ import IconObjectOld from '../../glyph-legacy/${name}/${size}';
100
+
101
+ /**
102
+ * __${size}px \`${name}\` icon object__
103
+ *
104
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
105
+ * - [Code](https://atlassian.design/components/icon-object/code)
106
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
107
+ */
108
+ const ${componentName} = ({
109
+ label,
110
+ testId,
111
+ }: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>) => {
112
+ if (fg('icon-object-migration')) {
113
+ return (
114
+ <IconTile
115
+ icon={NewIcon}
116
+ appearance="${appearance}"
117
+ size="${size}"
118
+ label={label}
119
+ testId={testId}
120
+ LEGACY_fallbackComponent={<IconObjectOld label={label} testId={testId} />}
121
+ />
122
+ );
123
+ } else {
124
+ return <IconObjectOld label={label} testId={testId} />
125
+ }
126
+ };
127
+
128
+ ${componentName}.displayName = '${componentName}';
129
+
130
+ export default ${componentName};
131
+ `;
132
+ };
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotation-mark"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/blog/16"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::845767e81b63ae055da0ba81295847f0>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __16px `blog` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Blog16Icon = function Blog16Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _quotationMark.default,
32
+ appearance: "blueBold",
33
+ size: "16",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Blog16Icon.displayName = 'Blog16Icon';
49
+ var _default = exports.default = Blog16Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotation-mark"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/blog/24"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::bba35c7457f1c82d9d31626969c259a0>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __24px `blog` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Blog24Icon = function Blog24Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _quotationMark.default,
32
+ appearance: "blueBold",
33
+ size: "24",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Blog24Icon.displayName = 'Blog24Icon';
49
+ var _default = exports.default = Blog24Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _branch = _interopRequireDefault(require("@atlaskit/icon/core/branch"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/branch/16"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::bd5a8d264ca7a1e79e3d50d476094729>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __16px `branch` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Branch16Icon = function Branch16Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _branch.default,
32
+ appearance: "blueBold",
33
+ size: "16",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Branch16Icon.displayName = 'Branch16Icon';
49
+ var _default = exports.default = Branch16Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _branch = _interopRequireDefault(require("@atlaskit/icon/core/branch"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/branch/24"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::ca37b82809aaa3e9f4d0507d70c71707>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __24px `branch` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Branch24Icon = function Branch24Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _branch.default,
32
+ appearance: "blueBold",
33
+ size: "24",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Branch24Icon.displayName = 'Branch24Icon';
49
+ var _default = exports.default = Branch24Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _bug = _interopRequireDefault(require("@atlaskit/icon/core/bug"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/bug/16"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::54f047f6f7bd48e9a2ba7394ee23b095>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __16px `bug` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Bug16Icon = function Bug16Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _bug.default,
32
+ appearance: "redBold",
33
+ size: "16",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Bug16Icon.displayName = 'Bug16Icon';
49
+ var _default = exports.default = Bug16Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _bug = _interopRequireDefault(require("@atlaskit/icon/core/bug"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/bug/24"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::6e6792688f4276aeff3ed0e6f212af14>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __24px `bug` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Bug24Icon = function Bug24Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _bug.default,
32
+ appearance: "redBold",
33
+ size: "24",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Bug24Icon.displayName = 'Bug24Icon';
49
+ var _default = exports.default = Bug24Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _calendar = _interopRequireDefault(require("@atlaskit/icon/core/calendar"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/calendar/16"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::a6da197bbcce0892f27de2b06510f3b6>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __16px `calendar` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Calendar16Icon = function Calendar16Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _calendar.default,
32
+ appearance: "redBold",
33
+ size: "16",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Calendar16Icon.displayName = 'Calendar16Icon';
49
+ var _default = exports.default = Calendar16Icon;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _icon = require("@atlaskit/icon");
10
+ var _calendar = _interopRequireDefault(require("@atlaskit/icon/core/calendar"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
+ var _ = _interopRequireDefault(require("../../glyph-legacy/calendar/24"));
13
+ /**
14
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
15
+ * @codegen <<SignedSource::03611d977353356cfe6a822232b999af>>
16
+ * @codegenCommand yarn build:icon-glyphs
17
+ */
18
+
19
+ /**
20
+ * __24px `calendar` icon object__
21
+ *
22
+ * - [Examples](https://atlassian.design/components/icon-object/examples)
23
+ * - [Code](https://atlassian.design/components/icon-object/code)
24
+ * - [Usage](https://atlassian.design/components/icon-object/usage)
25
+ */
26
+ var Calendar24Icon = function Calendar24Icon(_ref) {
27
+ var label = _ref.label,
28
+ testId = _ref.testId;
29
+ if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
30
+ return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
31
+ icon: _calendar.default,
32
+ appearance: "redBold",
33
+ size: "24",
34
+ label: label,
35
+ testId: testId,
36
+ LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
37
+ label: label,
38
+ testId: testId
39
+ })
40
+ });
41
+ } else {
42
+ return /*#__PURE__*/_react.default.createElement(_.default, {
43
+ label: label,
44
+ testId: testId
45
+ });
46
+ }
47
+ };
48
+ Calendar24Icon.displayName = 'Calendar24Icon';
49
+ var _default = exports.default = Calendar24Icon;