@atlaskit/icon 22.6.0 → 22.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 (766) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/afm-post-office/tsconfig.json +27 -0
  3. package/build/index.tsx +21 -18
  4. package/dist/cjs/components/icon-facade.js +50 -0
  5. package/dist/cjs/components/icon-new.js +6 -2
  6. package/dist/cjs/components/icon-tile.js +1 -1
  7. package/dist/cjs/components/icon.js +9 -6
  8. package/dist/cjs/components/skeleton.js +1 -1
  9. package/dist/cjs/components/svg.js +1 -1
  10. package/dist/cjs/entry-points/base.js +7 -0
  11. package/dist/cjs/migration-map.js +63 -91
  12. package/dist/es2019/components/icon-facade.js +39 -0
  13. package/dist/es2019/components/icon-new.js +7 -2
  14. package/dist/es2019/components/icon-tile.js +1 -1
  15. package/dist/es2019/components/icon.js +10 -4
  16. package/dist/es2019/components/skeleton.js +1 -1
  17. package/dist/es2019/components/svg.js +1 -1
  18. package/dist/es2019/entry-points/base.js +2 -1
  19. package/dist/es2019/migration-map.js +63 -91
  20. package/dist/esm/components/icon-facade.js +40 -0
  21. package/dist/esm/components/icon-new.js +7 -2
  22. package/dist/esm/components/icon-tile.js +1 -1
  23. package/dist/esm/components/icon.js +9 -6
  24. package/dist/esm/components/skeleton.js +1 -1
  25. package/dist/esm/components/svg.js +1 -1
  26. package/dist/esm/entry-points/base.js +2 -1
  27. package/dist/esm/migration-map.js +63 -91
  28. package/dist/types/components/icon-facade.d.ts +15 -0
  29. package/dist/types/entry-points/base.d.ts +1 -0
  30. package/dist/types/types.d.ts +9 -1
  31. package/dist/types-ts4.5/components/icon-facade.d.ts +15 -0
  32. package/dist/types-ts4.5/entry-points/base.d.ts +1 -0
  33. package/dist/types-ts4.5/types.d.ts +9 -1
  34. package/glyph/activity.js +7 -10
  35. package/glyph/add-circle.js +7 -10
  36. package/glyph/add-item.js +7 -10
  37. package/glyph/add.js +7 -10
  38. package/glyph/addon.js +7 -10
  39. package/glyph/app-access.js +7 -10
  40. package/glyph/app-switcher.js +3 -9
  41. package/glyph/archive.js +7 -10
  42. package/glyph/arrow-down-circle.js +7 -10
  43. package/glyph/arrow-down.js +7 -10
  44. package/glyph/arrow-left-circle.js +7 -10
  45. package/glyph/arrow-left.js +7 -10
  46. package/glyph/arrow-right-circle.js +7 -10
  47. package/glyph/arrow-right.js +7 -10
  48. package/glyph/arrow-up-circle.js +7 -10
  49. package/glyph/arrow-up.js +7 -10
  50. package/glyph/attachment.js +7 -10
  51. package/glyph/audio-circle.js +7 -10
  52. package/glyph/audio.js +7 -10
  53. package/glyph/backlog.js +7 -10
  54. package/glyph/billing-filled.js +3 -9
  55. package/glyph/billing.js +3 -9
  56. package/glyph/bitbucket/branches.js +7 -10
  57. package/glyph/bitbucket/builds.js +3 -9
  58. package/glyph/bitbucket/clone.js +3 -9
  59. package/glyph/bitbucket/commits.js +7 -10
  60. package/glyph/bitbucket/compare.js +3 -9
  61. package/glyph/bitbucket/forks.js +3 -9
  62. package/glyph/bitbucket/output.js +3 -9
  63. package/glyph/bitbucket/pipelines.js +3 -9
  64. package/glyph/bitbucket/pullrequests.js +7 -10
  65. package/glyph/bitbucket/repos.js +3 -9
  66. package/glyph/bitbucket/snippets.js +7 -10
  67. package/glyph/bitbucket/source.js +7 -10
  68. package/glyph/board.js +7 -10
  69. package/glyph/book.js +7 -10
  70. package/glyph/bullet-list.js +7 -10
  71. package/glyph/calendar-filled.js +7 -10
  72. package/glyph/calendar.js +7 -10
  73. package/glyph/camera-filled.js +7 -10
  74. package/glyph/camera-rotate.js +3 -9
  75. package/glyph/camera-take-picture.js +3 -9
  76. package/glyph/camera.js +7 -10
  77. package/glyph/canvas.js +3 -9
  78. package/glyph/check-circle-outline.js +3 -9
  79. package/glyph/check-circle.js +7 -10
  80. package/glyph/check.js +7 -10
  81. package/glyph/checkbox-indeterminate.js +7 -10
  82. package/glyph/checkbox.js +7 -10
  83. package/glyph/chevron-down-circle.js +8 -10
  84. package/glyph/chevron-down.js +8 -10
  85. package/glyph/chevron-left-circle.js +8 -10
  86. package/glyph/chevron-left-large.js +8 -10
  87. package/glyph/chevron-left.js +8 -10
  88. package/glyph/chevron-right-circle.js +8 -10
  89. package/glyph/chevron-right-large.js +8 -10
  90. package/glyph/chevron-right.js +8 -10
  91. package/glyph/chevron-up-circle.js +8 -10
  92. package/glyph/chevron-up.js +8 -10
  93. package/glyph/child-issues.js +7 -10
  94. package/glyph/code.js +7 -10
  95. package/glyph/comment.js +7 -10
  96. package/glyph/component.js +7 -10
  97. package/glyph/copy.js +7 -10
  98. package/glyph/creditcard-filled.js +7 -10
  99. package/glyph/creditcard.js +7 -10
  100. package/glyph/cross-circle.js +7 -10
  101. package/glyph/cross.js +7 -10
  102. package/glyph/dashboard.js +7 -10
  103. package/glyph/decision.js +7 -10
  104. package/glyph/department.js +7 -10
  105. package/glyph/detail-view.js +3 -9
  106. package/glyph/discover-filled.js +7 -10
  107. package/glyph/discover.js +7 -10
  108. package/glyph/document-filled.js +7 -10
  109. package/glyph/document.js +7 -10
  110. package/glyph/documents.js +7 -10
  111. package/glyph/download.js +3 -9
  112. package/glyph/drag-handler.js +6 -9
  113. package/glyph/dropbox.js +3 -9
  114. package/glyph/edit-filled.js +7 -10
  115. package/glyph/edit.js +7 -10
  116. package/glyph/editor/add.js +7 -10
  117. package/glyph/editor/addon.js +3 -9
  118. package/glyph/editor/advanced.js +3 -9
  119. package/glyph/editor/align-center.js +7 -10
  120. package/glyph/editor/align-image-center.js +3 -9
  121. package/glyph/editor/align-image-left.js +3 -9
  122. package/glyph/editor/align-image-right.js +3 -9
  123. package/glyph/editor/align-left.js +7 -10
  124. package/glyph/editor/align-right.js +7 -10
  125. package/glyph/editor/attachment.js +7 -10
  126. package/glyph/editor/background-color.js +3 -9
  127. package/glyph/editor/bold.js +3 -9
  128. package/glyph/editor/bullet-list.js +7 -10
  129. package/glyph/editor/close.js +7 -10
  130. package/glyph/editor/code.js +7 -10
  131. package/glyph/editor/collapse.js +7 -10
  132. package/glyph/editor/date.js +7 -10
  133. package/glyph/editor/decision.js +7 -10
  134. package/glyph/editor/divider.js +3 -9
  135. package/glyph/editor/done.js +7 -10
  136. package/glyph/editor/edit.js +7 -10
  137. package/glyph/editor/emoji.js +7 -10
  138. package/glyph/editor/error.js +7 -10
  139. package/glyph/editor/expand.js +7 -10
  140. package/glyph/editor/feedback.js +7 -10
  141. package/glyph/editor/file-preview.js +3 -9
  142. package/glyph/editor/file.js +3 -9
  143. package/glyph/editor/help.js +7 -10
  144. package/glyph/editor/hint.js +7 -10
  145. package/glyph/editor/horizontal-rule.js +3 -9
  146. package/glyph/editor/image-border.js +3 -9
  147. package/glyph/editor/image-resize.js +7 -10
  148. package/glyph/editor/image.js +7 -10
  149. package/glyph/editor/indent.js +3 -9
  150. package/glyph/editor/info.js +7 -10
  151. package/glyph/editor/italic.js +3 -9
  152. package/glyph/editor/layout-single.js +3 -9
  153. package/glyph/editor/layout-three-equal.js +3 -9
  154. package/glyph/editor/layout-three-with-sidebars.js +3 -9
  155. package/glyph/editor/layout-two-equal.js +3 -9
  156. package/glyph/editor/layout-two-left-sidebar.js +3 -9
  157. package/glyph/editor/layout-two-right-sidebar.js +3 -9
  158. package/glyph/editor/link.js +7 -10
  159. package/glyph/editor/media-center.js +3 -9
  160. package/glyph/editor/media-full-width.js +3 -9
  161. package/glyph/editor/media-wide.js +3 -9
  162. package/glyph/editor/media-wrap-left.js +3 -9
  163. package/glyph/editor/media-wrap-right.js +3 -9
  164. package/glyph/editor/mention.js +7 -10
  165. package/glyph/editor/more.js +7 -10
  166. package/glyph/editor/note.js +7 -10
  167. package/glyph/editor/number-list.js +3 -9
  168. package/glyph/editor/open.js +7 -10
  169. package/glyph/editor/outdent.js +3 -9
  170. package/glyph/editor/panel.js +7 -10
  171. package/glyph/editor/photo.js +7 -10
  172. package/glyph/editor/quote.js +7 -10
  173. package/glyph/editor/recent.js +7 -10
  174. package/glyph/editor/redo.js +7 -10
  175. package/glyph/editor/remove-emoji.js +3 -9
  176. package/glyph/editor/remove.js +7 -10
  177. package/glyph/editor/search.js +7 -10
  178. package/glyph/editor/settings.js +7 -10
  179. package/glyph/editor/strikethrough.js +3 -9
  180. package/glyph/editor/success.js +7 -10
  181. package/glyph/editor/table-display-options.js +3 -9
  182. package/glyph/editor/table.js +3 -9
  183. package/glyph/editor/task.js +7 -10
  184. package/glyph/editor/text-color.js +3 -9
  185. package/glyph/editor/text-style.js +7 -10
  186. package/glyph/editor/underline.js +3 -9
  187. package/glyph/editor/undo.js +7 -10
  188. package/glyph/editor/unlink.js +7 -10
  189. package/glyph/editor/warning.js +7 -10
  190. package/glyph/email.js +7 -10
  191. package/glyph/emoji/activity.js +3 -9
  192. package/glyph/emoji/atlassian.js +3 -9
  193. package/glyph/emoji/custom.js +7 -10
  194. package/glyph/emoji/emoji.js +7 -10
  195. package/glyph/emoji/flags.js +3 -9
  196. package/glyph/emoji/food.js +3 -9
  197. package/glyph/emoji/frequent.js +7 -10
  198. package/glyph/emoji/keyboard.js +7 -10
  199. package/glyph/emoji/nature.js +3 -9
  200. package/glyph/emoji/objects.js +7 -10
  201. package/glyph/emoji/people.js +3 -9
  202. package/glyph/emoji/productivity.js +3 -9
  203. package/glyph/emoji/symbols.js +7 -10
  204. package/glyph/emoji/travel.js +3 -9
  205. package/glyph/emoji-add.js +7 -10
  206. package/glyph/emoji.js +7 -10
  207. package/glyph/error.js +7 -10
  208. package/glyph/export.js +3 -9
  209. package/glyph/feedback.js +7 -10
  210. package/glyph/file.js +3 -9
  211. package/glyph/filter.js +7 -10
  212. package/glyph/flag-filled.js +3 -9
  213. package/glyph/folder-filled.js +3 -9
  214. package/glyph/folder.js +7 -10
  215. package/glyph/followers.js +7 -10
  216. package/glyph/following.js +3 -9
  217. package/glyph/googledrive.js +3 -9
  218. package/glyph/graph-bar.js +7 -10
  219. package/glyph/graph-line.js +7 -10
  220. package/glyph/gsuite.js +3 -9
  221. package/glyph/highlights.js +3 -9
  222. package/glyph/hipchat/audio-only.js +7 -10
  223. package/glyph/hipchat/chevron-double-down.js +3 -9
  224. package/glyph/hipchat/chevron-double-up.js +3 -9
  225. package/glyph/hipchat/chevron-down.js +8 -10
  226. package/glyph/hipchat/chevron-up.js +8 -10
  227. package/glyph/hipchat/dial-out.js +7 -10
  228. package/glyph/hipchat/lobby.js +7 -10
  229. package/glyph/hipchat/media-attachment-count.js +2 -8
  230. package/glyph/hipchat/outgoing-sound.js +7 -10
  231. package/glyph/hipchat/sd-video.js +7 -10
  232. package/glyph/home-circle.js +7 -10
  233. package/glyph/home.js +7 -10
  234. package/glyph/image-border.js +3 -9
  235. package/glyph/image-resize.js +7 -10
  236. package/glyph/image.js +7 -10
  237. package/glyph/info.js +7 -10
  238. package/glyph/invite-team.js +7 -10
  239. package/glyph/issue-raise.js +3 -9
  240. package/glyph/issue.js +7 -10
  241. package/glyph/issues.js +7 -10
  242. package/glyph/jira/capture.js +7 -10
  243. package/glyph/jira/failed-build-status.js +3 -9
  244. package/glyph/jira/labs.js +7 -10
  245. package/glyph/jira/test-session.js +7 -10
  246. package/glyph/label.js +7 -10
  247. package/glyph/lightbulb-filled.js +3 -9
  248. package/glyph/lightbulb.js +7 -10
  249. package/glyph/like.js +7 -10
  250. package/glyph/link-filled.js +3 -9
  251. package/glyph/link.js +7 -10
  252. package/glyph/list.js +3 -9
  253. package/glyph/location.js +7 -10
  254. package/glyph/lock-circle.js +7 -10
  255. package/glyph/lock-filled.js +7 -10
  256. package/glyph/lock.js +7 -10
  257. package/glyph/marketplace.js +7 -10
  258. package/glyph/media-services/actual-size.js +7 -10
  259. package/glyph/media-services/add-comment.js +7 -10
  260. package/glyph/media-services/annotate.js +3 -9
  261. package/glyph/media-services/arrow.js +3 -9
  262. package/glyph/media-services/audio.js +7 -10
  263. package/glyph/media-services/blur.js +3 -9
  264. package/glyph/media-services/brush.js +3 -9
  265. package/glyph/media-services/button-option.js +3 -9
  266. package/glyph/media-services/code.js +7 -10
  267. package/glyph/media-services/document.js +7 -10
  268. package/glyph/media-services/filter.js +7 -10
  269. package/glyph/media-services/fit-to-page.js +3 -9
  270. package/glyph/media-services/full-screen.js +7 -10
  271. package/glyph/media-services/grid.js +7 -10
  272. package/glyph/media-services/image.js +7 -10
  273. package/glyph/media-services/line-thickness.js +3 -9
  274. package/glyph/media-services/line.js +3 -9
  275. package/glyph/media-services/no-image.js +3 -9
  276. package/glyph/media-services/open-mediaviewer.js +3 -9
  277. package/glyph/media-services/oval.js +3 -9
  278. package/glyph/media-services/pdf.js +3 -9
  279. package/glyph/media-services/preselected.js +3 -9
  280. package/glyph/media-services/presentation.js +7 -10
  281. package/glyph/media-services/rectangle.js +3 -9
  282. package/glyph/media-services/scale-large.js +7 -10
  283. package/glyph/media-services/scale-small.js +7 -10
  284. package/glyph/media-services/spreadsheet.js +7 -10
  285. package/glyph/media-services/text.js +2 -8
  286. package/glyph/media-services/unknown.js +3 -9
  287. package/glyph/media-services/video.js +7 -10
  288. package/glyph/media-services/zip.js +3 -9
  289. package/glyph/media-services/zoom-in.js +7 -10
  290. package/glyph/media-services/zoom-out.js +7 -10
  291. package/glyph/mention.js +3 -9
  292. package/glyph/menu-expand.js +3 -9
  293. package/glyph/menu.js +3 -9
  294. package/glyph/mobile.js +7 -10
  295. package/glyph/more-vertical.js +6 -9
  296. package/glyph/more.js +6 -9
  297. package/glyph/notification-all.js +3 -9
  298. package/glyph/notification-direct.js +3 -9
  299. package/glyph/notification.js +3 -9
  300. package/glyph/office-building-filled.js +7 -10
  301. package/glyph/office-building.js +7 -10
  302. package/glyph/open.js +7 -10
  303. package/glyph/overview.js +7 -10
  304. package/glyph/page-filled.js +7 -10
  305. package/glyph/page.js +7 -10
  306. package/glyph/pdf.js +3 -9
  307. package/glyph/people-group.js +3 -9
  308. package/glyph/people.js +3 -9
  309. package/glyph/person-circle.js +7 -10
  310. package/glyph/person-with-circle.js +3 -9
  311. package/glyph/person-with-cross.js +3 -9
  312. package/glyph/person-with-tick.js +7 -10
  313. package/glyph/person.js +7 -10
  314. package/glyph/portfolio.js +3 -9
  315. package/glyph/preferences.js +7 -10
  316. package/glyph/premium.js +7 -10
  317. package/glyph/presence-active.js +2 -8
  318. package/glyph/presence-busy.js +3 -9
  319. package/glyph/presence-unavailable.js +3 -9
  320. package/glyph/question-circle.js +7 -10
  321. package/glyph/question.js +7 -10
  322. package/glyph/questions.js +7 -10
  323. package/glyph/queues.js +7 -10
  324. package/glyph/quote.js +7 -10
  325. package/glyph/radio.js +3 -9
  326. package/glyph/recent.js +7 -10
  327. package/glyph/redo.js +7 -10
  328. package/glyph/refresh.js +3 -9
  329. package/glyph/retry.js +7 -10
  330. package/glyph/roadmap.js +7 -10
  331. package/glyph/room-menu.js +3 -9
  332. package/glyph/schedule-filled.js +3 -9
  333. package/glyph/schedule.js +3 -9
  334. package/glyph/screen.js +7 -10
  335. package/glyph/search.js +7 -10
  336. package/glyph/select-clear.js +7 -10
  337. package/glyph/send.js +7 -10
  338. package/glyph/settings.js +7 -10
  339. package/glyph/share.js +7 -10
  340. package/glyph/ship.js +7 -10
  341. package/glyph/shortcut.js +7 -10
  342. package/glyph/sign-in.js +7 -10
  343. package/glyph/sign-out.js +7 -10
  344. package/glyph/sprint.js +7 -10
  345. package/glyph/star-filled.js +7 -10
  346. package/glyph/star-large.js +7 -10
  347. package/glyph/star.js +7 -10
  348. package/glyph/status.js +3 -9
  349. package/glyph/stopwatch.js +7 -10
  350. package/glyph/subtask.js +7 -10
  351. package/glyph/suitcase.js +7 -10
  352. package/glyph/switcher.js +3 -9
  353. package/glyph/table.js +7 -10
  354. package/glyph/task.js +7 -10
  355. package/glyph/teams.js +5 -2
  356. package/glyph/trash.js +7 -10
  357. package/glyph/tray.js +7 -10
  358. package/glyph/undo.js +7 -10
  359. package/glyph/unlink.js +7 -10
  360. package/glyph/unlock-circle.js +7 -10
  361. package/glyph/unlock-filled.js +7 -10
  362. package/glyph/unlock.js +7 -10
  363. package/glyph/upload.js +7 -10
  364. package/glyph/user-avatar-circle.js +7 -10
  365. package/glyph/vid-audio-muted.js +3 -9
  366. package/glyph/vid-audio-on.js +7 -10
  367. package/glyph/vid-backward.js +3 -9
  368. package/glyph/vid-camera-off.js +3 -9
  369. package/glyph/vid-camera-on.js +7 -10
  370. package/glyph/vid-connection-circle.js +3 -9
  371. package/glyph/vid-forward.js +3 -9
  372. package/glyph/vid-full-screen-off.js +7 -10
  373. package/glyph/vid-full-screen-on.js +7 -10
  374. package/glyph/vid-hang-up.js +3 -9
  375. package/glyph/vid-hd-circle.js +3 -9
  376. package/glyph/vid-pause.js +7 -10
  377. package/glyph/vid-play.js +7 -10
  378. package/glyph/vid-raised-hand.js +3 -9
  379. package/glyph/vid-share-screen.js +3 -9
  380. package/glyph/vid-speaking-circle.js +3 -9
  381. package/glyph/vid-volume-full.js +7 -10
  382. package/glyph/vid-volume-half.js +7 -10
  383. package/glyph/vid-volume-muted.js +7 -10
  384. package/glyph/video-circle.js +7 -10
  385. package/glyph/video-filled.js +7 -10
  386. package/glyph/warning.js +7 -10
  387. package/glyph/watch-filled.js +7 -10
  388. package/glyph/watch.js +7 -10
  389. package/glyph/world-small.js +7 -10
  390. package/glyph/world.js +7 -10
  391. package/package.json +7 -4
  392. package/svgs/activity.svg +1 -1
  393. package/svgs/add-circle.svg +1 -1
  394. package/svgs/add-item.svg +1 -1
  395. package/svgs/add.svg +1 -1
  396. package/svgs/addon.svg +1 -1
  397. package/svgs/app-access.svg +1 -1
  398. package/svgs/app-switcher.svg +1 -1
  399. package/svgs/archive.svg +1 -1
  400. package/svgs/arrow-down-circle.svg +1 -1
  401. package/svgs/arrow-down.svg +1 -1
  402. package/svgs/arrow-left-circle.svg +1 -1
  403. package/svgs/arrow-left.svg +1 -1
  404. package/svgs/arrow-right-circle.svg +1 -1
  405. package/svgs/arrow-right.svg +1 -1
  406. package/svgs/arrow-up-circle.svg +1 -1
  407. package/svgs/arrow-up.svg +1 -1
  408. package/svgs/attachment.svg +1 -1
  409. package/svgs/audio-circle.svg +1 -1
  410. package/svgs/audio.svg +1 -1
  411. package/svgs/backlog.svg +1 -1
  412. package/svgs/billing-filled.svg +1 -1
  413. package/svgs/billing.svg +1 -1
  414. package/svgs/bitbucket/branches.svg +1 -1
  415. package/svgs/bitbucket/builds.svg +1 -1
  416. package/svgs/bitbucket/clone.svg +1 -1
  417. package/svgs/bitbucket/commits.svg +1 -1
  418. package/svgs/bitbucket/compare.svg +1 -1
  419. package/svgs/bitbucket/forks.svg +1 -1
  420. package/svgs/bitbucket/output.svg +1 -1
  421. package/svgs/bitbucket/pipelines.svg +1 -1
  422. package/svgs/bitbucket/pullrequests.svg +1 -1
  423. package/svgs/bitbucket/repos.svg +1 -1
  424. package/svgs/bitbucket/snippets.svg +1 -1
  425. package/svgs/bitbucket/source.svg +1 -1
  426. package/svgs/board.svg +1 -1
  427. package/svgs/book.svg +1 -1
  428. package/svgs/bullet-list.svg +1 -1
  429. package/svgs/calendar-filled.svg +1 -1
  430. package/svgs/calendar.svg +1 -1
  431. package/svgs/camera-filled.svg +1 -1
  432. package/svgs/camera-rotate.svg +1 -1
  433. package/svgs/camera-take-picture.svg +1 -1
  434. package/svgs/camera.svg +1 -1
  435. package/svgs/canvas.svg +1 -1
  436. package/svgs/check-circle-outline.svg +1 -1
  437. package/svgs/check-circle.svg +1 -1
  438. package/svgs/check.svg +1 -1
  439. package/svgs/checkbox-indeterminate.svg +1 -1
  440. package/svgs/checkbox.svg +1 -1
  441. package/svgs/chevron-down-circle.svg +1 -1
  442. package/svgs/chevron-down.svg +1 -1
  443. package/svgs/chevron-left-circle.svg +1 -1
  444. package/svgs/chevron-left-large.svg +1 -1
  445. package/svgs/chevron-left.svg +1 -1
  446. package/svgs/chevron-right-circle.svg +1 -1
  447. package/svgs/chevron-right-large.svg +1 -1
  448. package/svgs/chevron-right.svg +1 -1
  449. package/svgs/chevron-up-circle.svg +1 -1
  450. package/svgs/chevron-up.svg +1 -1
  451. package/svgs/child-issues.svg +1 -1
  452. package/svgs/code.svg +1 -1
  453. package/svgs/comment.svg +1 -1
  454. package/svgs/component.svg +1 -1
  455. package/svgs/copy.svg +1 -1
  456. package/svgs/creditcard-filled.svg +1 -1
  457. package/svgs/creditcard.svg +1 -1
  458. package/svgs/cross-circle.svg +1 -1
  459. package/svgs/cross.svg +1 -1
  460. package/svgs/dashboard.svg +1 -1
  461. package/svgs/decision.svg +1 -1
  462. package/svgs/department.svg +1 -1
  463. package/svgs/detail-view.svg +1 -1
  464. package/svgs/discover-filled.svg +1 -1
  465. package/svgs/discover.svg +1 -1
  466. package/svgs/document-filled.svg +1 -1
  467. package/svgs/document.svg +1 -1
  468. package/svgs/documents.svg +1 -1
  469. package/svgs/download.svg +1 -1
  470. package/svgs/dropbox.svg +1 -1
  471. package/svgs/edit-filled.svg +1 -1
  472. package/svgs/edit.svg +1 -1
  473. package/svgs/editor/add.svg +1 -1
  474. package/svgs/editor/addon.svg +1 -1
  475. package/svgs/editor/advanced.svg +1 -1
  476. package/svgs/editor/align-center.svg +1 -1
  477. package/svgs/editor/align-image-center.svg +1 -1
  478. package/svgs/editor/align-image-left.svg +1 -1
  479. package/svgs/editor/align-image-right.svg +1 -1
  480. package/svgs/editor/align-left.svg +1 -1
  481. package/svgs/editor/align-right.svg +1 -1
  482. package/svgs/editor/attachment.svg +1 -1
  483. package/svgs/editor/background-color.svg +1 -1
  484. package/svgs/editor/bold.svg +1 -1
  485. package/svgs/editor/bullet-list.svg +1 -1
  486. package/svgs/editor/close.svg +1 -1
  487. package/svgs/editor/code.svg +1 -1
  488. package/svgs/editor/collapse.svg +1 -1
  489. package/svgs/editor/date.svg +1 -1
  490. package/svgs/editor/decision.svg +1 -1
  491. package/svgs/editor/divider.svg +1 -1
  492. package/svgs/editor/done.svg +1 -1
  493. package/svgs/editor/edit.svg +1 -1
  494. package/svgs/editor/emoji.svg +1 -1
  495. package/svgs/editor/error.svg +1 -1
  496. package/svgs/editor/expand.svg +1 -1
  497. package/svgs/editor/feedback.svg +1 -1
  498. package/svgs/editor/file-preview.svg +1 -1
  499. package/svgs/editor/file.svg +1 -1
  500. package/svgs/editor/help.svg +1 -1
  501. package/svgs/editor/hint.svg +1 -1
  502. package/svgs/editor/horizontal-rule.svg +1 -1
  503. package/svgs/editor/image-border.svg +1 -1
  504. package/svgs/editor/image-resize.svg +1 -1
  505. package/svgs/editor/image.svg +1 -1
  506. package/svgs/editor/indent.svg +1 -1
  507. package/svgs/editor/info.svg +1 -1
  508. package/svgs/editor/italic.svg +1 -1
  509. package/svgs/editor/layout-single.svg +1 -1
  510. package/svgs/editor/layout-three-equal.svg +1 -1
  511. package/svgs/editor/layout-three-with-sidebars.svg +1 -1
  512. package/svgs/editor/layout-two-equal.svg +1 -1
  513. package/svgs/editor/layout-two-left-sidebar.svg +1 -1
  514. package/svgs/editor/layout-two-right-sidebar.svg +1 -1
  515. package/svgs/editor/link.svg +1 -1
  516. package/svgs/editor/media-center.svg +1 -1
  517. package/svgs/editor/media-full-width.svg +1 -1
  518. package/svgs/editor/media-wide.svg +1 -1
  519. package/svgs/editor/media-wrap-left.svg +1 -1
  520. package/svgs/editor/media-wrap-right.svg +1 -1
  521. package/svgs/editor/mention.svg +1 -1
  522. package/svgs/editor/more.svg +1 -1
  523. package/svgs/editor/note.svg +1 -1
  524. package/svgs/editor/number-list.svg +1 -1
  525. package/svgs/editor/open.svg +1 -1
  526. package/svgs/editor/outdent.svg +1 -1
  527. package/svgs/editor/panel.svg +1 -1
  528. package/svgs/editor/photo.svg +1 -1
  529. package/svgs/editor/quote.svg +1 -1
  530. package/svgs/editor/recent.svg +1 -1
  531. package/svgs/editor/redo.svg +1 -1
  532. package/svgs/editor/remove-emoji.svg +1 -1
  533. package/svgs/editor/remove.svg +1 -1
  534. package/svgs/editor/search.svg +1 -1
  535. package/svgs/editor/settings.svg +1 -1
  536. package/svgs/editor/strikethrough.svg +1 -1
  537. package/svgs/editor/success.svg +1 -1
  538. package/svgs/editor/table-display-options.svg +1 -1
  539. package/svgs/editor/table.svg +1 -1
  540. package/svgs/editor/task.svg +1 -1
  541. package/svgs/editor/text-color.svg +1 -1
  542. package/svgs/editor/text-style.svg +1 -1
  543. package/svgs/editor/underline.svg +1 -1
  544. package/svgs/editor/undo.svg +1 -1
  545. package/svgs/editor/unlink.svg +1 -1
  546. package/svgs/editor/warning.svg +1 -1
  547. package/svgs/email.svg +1 -1
  548. package/svgs/emoji/activity.svg +1 -1
  549. package/svgs/emoji/atlassian.svg +1 -1
  550. package/svgs/emoji/custom.svg +1 -1
  551. package/svgs/emoji/emoji.svg +1 -1
  552. package/svgs/emoji/flags.svg +1 -1
  553. package/svgs/emoji/food.svg +1 -1
  554. package/svgs/emoji/frequent.svg +1 -1
  555. package/svgs/emoji/keyboard.svg +1 -1
  556. package/svgs/emoji/nature.svg +1 -1
  557. package/svgs/emoji/objects.svg +1 -1
  558. package/svgs/emoji/people.svg +1 -1
  559. package/svgs/emoji/productivity.svg +1 -1
  560. package/svgs/emoji/symbols.svg +1 -1
  561. package/svgs/emoji/travel.svg +1 -1
  562. package/svgs/emoji-add.svg +1 -1
  563. package/svgs/emoji.svg +1 -1
  564. package/svgs/error.svg +1 -1
  565. package/svgs/export.svg +1 -1
  566. package/svgs/feedback.svg +1 -1
  567. package/svgs/file.svg +1 -1
  568. package/svgs/filter.svg +1 -1
  569. package/svgs/flag-filled.svg +1 -1
  570. package/svgs/folder-filled.svg +1 -1
  571. package/svgs/folder.svg +1 -1
  572. package/svgs/followers.svg +1 -1
  573. package/svgs/following.svg +1 -1
  574. package/svgs/googledrive.svg +1 -1
  575. package/svgs/graph-bar.svg +1 -1
  576. package/svgs/graph-line.svg +1 -1
  577. package/svgs/gsuite.svg +1 -1
  578. package/svgs/highlights.svg +1 -1
  579. package/svgs/hipchat/audio-only.svg +1 -1
  580. package/svgs/hipchat/chevron-double-down.svg +1 -1
  581. package/svgs/hipchat/chevron-double-up.svg +1 -1
  582. package/svgs/hipchat/chevron-down.svg +1 -1
  583. package/svgs/hipchat/chevron-up.svg +1 -1
  584. package/svgs/hipchat/dial-out.svg +1 -1
  585. package/svgs/hipchat/lobby.svg +1 -1
  586. package/svgs/hipchat/outgoing-sound.svg +1 -1
  587. package/svgs/hipchat/sd-video.svg +1 -1
  588. package/svgs/home-circle.svg +1 -1
  589. package/svgs/home.svg +1 -1
  590. package/svgs/image-border.svg +1 -1
  591. package/svgs/image-resize.svg +1 -1
  592. package/svgs/image.svg +1 -1
  593. package/svgs/info.svg +1 -1
  594. package/svgs/invite-team.svg +1 -1
  595. package/svgs/issue-raise.svg +1 -1
  596. package/svgs/issue.svg +1 -1
  597. package/svgs/issues.svg +1 -1
  598. package/svgs/jira/capture.svg +1 -1
  599. package/svgs/jira/failed-build-status.svg +1 -1
  600. package/svgs/jira/labs.svg +1 -1
  601. package/svgs/jira/test-session.svg +1 -1
  602. package/svgs/label.svg +1 -1
  603. package/svgs/lightbulb-filled.svg +1 -1
  604. package/svgs/lightbulb.svg +1 -1
  605. package/svgs/like.svg +1 -1
  606. package/svgs/link-filled.svg +1 -1
  607. package/svgs/link.svg +1 -1
  608. package/svgs/list.svg +1 -1
  609. package/svgs/location.svg +1 -1
  610. package/svgs/lock-circle.svg +1 -1
  611. package/svgs/lock-filled.svg +1 -1
  612. package/svgs/lock.svg +1 -1
  613. package/svgs/marketplace.svg +1 -1
  614. package/svgs/media-services/actual-size.svg +1 -1
  615. package/svgs/media-services/add-comment.svg +1 -1
  616. package/svgs/media-services/annotate.svg +1 -1
  617. package/svgs/media-services/arrow.svg +1 -1
  618. package/svgs/media-services/audio.svg +1 -1
  619. package/svgs/media-services/blur.svg +1 -1
  620. package/svgs/media-services/brush.svg +1 -1
  621. package/svgs/media-services/button-option.svg +1 -1
  622. package/svgs/media-services/code.svg +1 -1
  623. package/svgs/media-services/document.svg +1 -1
  624. package/svgs/media-services/filter.svg +1 -1
  625. package/svgs/media-services/fit-to-page.svg +1 -1
  626. package/svgs/media-services/full-screen.svg +1 -1
  627. package/svgs/media-services/grid.svg +1 -1
  628. package/svgs/media-services/image.svg +1 -1
  629. package/svgs/media-services/line-thickness.svg +1 -1
  630. package/svgs/media-services/line.svg +1 -1
  631. package/svgs/media-services/no-image.svg +1 -1
  632. package/svgs/media-services/open-mediaviewer.svg +1 -1
  633. package/svgs/media-services/oval.svg +1 -1
  634. package/svgs/media-services/pdf.svg +1 -1
  635. package/svgs/media-services/preselected.svg +1 -1
  636. package/svgs/media-services/presentation.svg +1 -1
  637. package/svgs/media-services/rectangle.svg +1 -1
  638. package/svgs/media-services/scale-large.svg +1 -1
  639. package/svgs/media-services/scale-small.svg +1 -1
  640. package/svgs/media-services/spreadsheet.svg +1 -1
  641. package/svgs/media-services/unknown.svg +1 -1
  642. package/svgs/media-services/video.svg +1 -1
  643. package/svgs/media-services/zip.svg +1 -1
  644. package/svgs/media-services/zoom-in.svg +1 -1
  645. package/svgs/media-services/zoom-out.svg +1 -1
  646. package/svgs/mention.svg +1 -1
  647. package/svgs/menu-expand.svg +1 -1
  648. package/svgs/menu.svg +1 -1
  649. package/svgs/mobile.svg +1 -1
  650. package/svgs/notification-all.svg +1 -1
  651. package/svgs/notification-direct.svg +1 -1
  652. package/svgs/notification.svg +1 -1
  653. package/svgs/office-building-filled.svg +1 -1
  654. package/svgs/office-building.svg +1 -1
  655. package/svgs/open.svg +1 -1
  656. package/svgs/overview.svg +1 -1
  657. package/svgs/page-filled.svg +1 -1
  658. package/svgs/page.svg +1 -1
  659. package/svgs/pdf.svg +1 -1
  660. package/svgs/people-group.svg +1 -1
  661. package/svgs/people.svg +1 -1
  662. package/svgs/person-circle.svg +1 -1
  663. package/svgs/person-with-circle.svg +1 -1
  664. package/svgs/person-with-cross.svg +1 -1
  665. package/svgs/person-with-tick.svg +1 -1
  666. package/svgs/person.svg +1 -1
  667. package/svgs/portfolio.svg +1 -1
  668. package/svgs/preferences.svg +1 -1
  669. package/svgs/premium.svg +1 -1
  670. package/svgs/presence-busy.svg +1 -1
  671. package/svgs/presence-unavailable.svg +1 -1
  672. package/svgs/question-circle.svg +1 -1
  673. package/svgs/question.svg +1 -1
  674. package/svgs/questions.svg +1 -1
  675. package/svgs/queues.svg +1 -1
  676. package/svgs/quote.svg +1 -1
  677. package/svgs/radio.svg +1 -1
  678. package/svgs/recent.svg +1 -1
  679. package/svgs/redo.svg +1 -1
  680. package/svgs/refresh.svg +1 -1
  681. package/svgs/retry.svg +1 -1
  682. package/svgs/roadmap.svg +1 -1
  683. package/svgs/room-menu.svg +1 -1
  684. package/svgs/schedule-filled.svg +1 -1
  685. package/svgs/schedule.svg +1 -1
  686. package/svgs/screen.svg +1 -1
  687. package/svgs/search.svg +1 -1
  688. package/svgs/select-clear.svg +1 -1
  689. package/svgs/send.svg +1 -1
  690. package/svgs/settings.svg +1 -1
  691. package/svgs/share.svg +1 -1
  692. package/svgs/ship.svg +1 -1
  693. package/svgs/shortcut.svg +1 -1
  694. package/svgs/sign-in.svg +1 -1
  695. package/svgs/sign-out.svg +1 -1
  696. package/svgs/sprint.svg +1 -1
  697. package/svgs/star-filled.svg +1 -1
  698. package/svgs/star-large.svg +1 -1
  699. package/svgs/star.svg +1 -1
  700. package/svgs/status.svg +1 -1
  701. package/svgs/stopwatch.svg +1 -1
  702. package/svgs/subtask.svg +1 -1
  703. package/svgs/suitcase.svg +1 -1
  704. package/svgs/switcher.svg +1 -1
  705. package/svgs/table.svg +1 -1
  706. package/svgs/task.svg +1 -1
  707. package/svgs/trash.svg +1 -1
  708. package/svgs/tray.svg +1 -1
  709. package/svgs/undo.svg +1 -1
  710. package/svgs/unlink.svg +1 -1
  711. package/svgs/unlock-circle.svg +1 -1
  712. package/svgs/unlock-filled.svg +1 -1
  713. package/svgs/unlock.svg +1 -1
  714. package/svgs/upload.svg +1 -1
  715. package/svgs/user-avatar-circle.svg +1 -1
  716. package/svgs/vid-audio-muted.svg +1 -1
  717. package/svgs/vid-audio-on.svg +1 -1
  718. package/svgs/vid-backward.svg +1 -1
  719. package/svgs/vid-camera-off.svg +1 -1
  720. package/svgs/vid-camera-on.svg +1 -1
  721. package/svgs/vid-connection-circle.svg +1 -1
  722. package/svgs/vid-forward.svg +1 -1
  723. package/svgs/vid-full-screen-off.svg +1 -1
  724. package/svgs/vid-full-screen-on.svg +1 -1
  725. package/svgs/vid-hang-up.svg +1 -1
  726. package/svgs/vid-hd-circle.svg +1 -1
  727. package/svgs/vid-pause.svg +1 -1
  728. package/svgs/vid-play.svg +1 -1
  729. package/svgs/vid-raised-hand.svg +1 -1
  730. package/svgs/vid-share-screen.svg +1 -1
  731. package/svgs/vid-speaking-circle.svg +1 -1
  732. package/svgs/vid-volume-full.svg +1 -1
  733. package/svgs/vid-volume-half.svg +1 -1
  734. package/svgs/vid-volume-muted.svg +1 -1
  735. package/svgs/video-circle.svg +1 -1
  736. package/svgs/video-filled.svg +1 -1
  737. package/svgs/warning.svg +1 -1
  738. package/svgs/watch-filled.svg +1 -1
  739. package/svgs/watch.svg +1 -1
  740. package/svgs/world-small.svg +1 -1
  741. package/svgs/world.svg +1 -1
  742. package/dist/cjs/extract-react-types/custom-glyph.js +0 -9
  743. package/dist/cjs/extract-react-types/glyph-no-color-size.js +0 -7
  744. package/dist/cjs/extract-react-types/glyph-no-color.js +0 -7
  745. package/dist/cjs/extract-react-types/glyph.js +0 -7
  746. package/dist/cjs/extract-react-types/svg.js +0 -9
  747. package/dist/es2019/extract-react-types/custom-glyph.js +0 -3
  748. package/dist/es2019/extract-react-types/glyph-no-color-size.js +0 -1
  749. package/dist/es2019/extract-react-types/glyph-no-color.js +0 -1
  750. package/dist/es2019/extract-react-types/glyph.js +0 -1
  751. package/dist/es2019/extract-react-types/svg.js +0 -3
  752. package/dist/esm/extract-react-types/custom-glyph.js +0 -3
  753. package/dist/esm/extract-react-types/glyph-no-color-size.js +0 -1
  754. package/dist/esm/extract-react-types/glyph-no-color.js +0 -1
  755. package/dist/esm/extract-react-types/glyph.js +0 -1
  756. package/dist/esm/extract-react-types/svg.js +0 -3
  757. package/dist/types/extract-react-types/custom-glyph.d.ts +0 -2
  758. package/dist/types/extract-react-types/glyph-no-color-size.d.ts +0 -2
  759. package/dist/types/extract-react-types/glyph-no-color.d.ts +0 -2
  760. package/dist/types/extract-react-types/glyph.d.ts +0 -2
  761. package/dist/types/extract-react-types/svg.d.ts +0 -2
  762. package/dist/types-ts4.5/extract-react-types/custom-glyph.d.ts +0 -2
  763. package/dist/types-ts4.5/extract-react-types/glyph-no-color-size.d.ts +0 -2
  764. package/dist/types-ts4.5/extract-react-types/glyph-no-color.d.ts +0 -2
  765. package/dist/types-ts4.5/extract-react-types/glyph.d.ts +0 -2
  766. package/dist/types-ts4.5/extract-react-types/svg.d.ts +0 -2
@@ -116,19 +116,15 @@ const migrationMap = {
116
116
  xlarge: 'icon-tile'
117
117
  }
118
118
  },
119
- 'app-switcher': {
120
- newIcon: {
121
- name: 'app-switcher',
122
- type: 'core',
123
- package: '@atlaskit/icon'
124
- },
125
- sizeGuidance: {
126
- small: 'top-nav',
127
- medium: 'top-nav',
128
- large: 'top-nav',
129
- xlarge: 'top-nav'
130
- }
131
- },
119
+ // 'app-switcher': {
120
+ // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
121
+ // sizeGuidance: {
122
+ // small: 'top-nav',
123
+ // medium: 'top-nav',
124
+ // large: 'top-nav',
125
+ // xlarge: 'top-nav',
126
+ // },
127
+ // },
132
128
  archive: {
133
129
  newIcon: {
134
130
  name: 'archive-box',
@@ -1037,19 +1033,15 @@ const migrationMap = {
1037
1033
  xlarge: 'icon-tile'
1038
1034
  }
1039
1035
  },
1040
- download: {
1041
- newIcon: {
1042
- name: 'cloud-arrow-down',
1043
- type: 'core',
1044
- package: '@atlaskit/icon'
1045
- },
1046
- sizeGuidance: {
1047
- small: 'swap',
1048
- medium: 'swap',
1049
- large: 'icon-tile',
1050
- xlarge: 'icon-tile'
1051
- }
1052
- },
1036
+ // download: {
1037
+ // newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
1038
+ // sizeGuidance: {
1039
+ // small: 'swap',
1040
+ // medium: 'swap',
1041
+ // large: 'icon-tile',
1042
+ // xlarge: 'icon-tile',
1043
+ // },
1044
+ // },
1053
1045
  'drag-handler': {
1054
1046
  newIcon: {
1055
1047
  name: 'drag-handle',
@@ -2872,32 +2864,24 @@ const migrationMap = {
2872
2864
  xlarge: 'icon-lab'
2873
2865
  }
2874
2866
  },
2875
- 'menu-expand': {
2876
- newIcon: {
2877
- name: 'menu',
2878
- type: 'core',
2879
- package: '@atlaskit/icon'
2880
- },
2881
- sizeGuidance: {
2882
- small: 'swap',
2883
- medium: 'swap',
2884
- large: 'icon-tile',
2885
- xlarge: 'icon-tile'
2886
- }
2887
- },
2888
- menu: {
2889
- newIcon: {
2890
- name: 'menu',
2891
- type: 'core',
2892
- package: '@atlaskit/icon'
2893
- },
2894
- sizeGuidance: {
2895
- small: 'swap',
2896
- medium: 'swap',
2897
- large: 'icon-tile',
2898
- xlarge: 'icon-tile'
2899
- }
2900
- },
2867
+ // 'menu-expand': {
2868
+ // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2869
+ // sizeGuidance: {
2870
+ // small: 'swap',
2871
+ // medium: 'swap',
2872
+ // large: 'icon-tile',
2873
+ // xlarge: 'icon-tile',
2874
+ // },
2875
+ // },
2876
+ // menu: {
2877
+ // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2878
+ // sizeGuidance: {
2879
+ // small: 'swap',
2880
+ // medium: 'swap',
2881
+ // large: 'icon-tile',
2882
+ // xlarge: 'icon-tile',
2883
+ // },
2884
+ // },
2901
2885
  mobile: {
2902
2886
  newIcon: {
2903
2887
  name: 'device-mobile',
@@ -2945,32 +2929,24 @@ const migrationMap = {
2945
2929
  xlarge: 'icon-lab'
2946
2930
  }
2947
2931
  },
2948
- 'notification-direct': {
2949
- newIcon: {
2950
- name: 'notification',
2951
- type: 'core',
2952
- package: '@atlaskit/icon'
2953
- },
2954
- sizeGuidance: {
2955
- small: 'swap-slight-visual-change',
2956
- medium: 'swap-slight-visual-change',
2957
- large: 'icon-tile',
2958
- xlarge: 'icon-tile'
2959
- }
2960
- },
2961
- notification: {
2962
- newIcon: {
2963
- name: 'notification',
2964
- type: 'core',
2965
- package: '@atlaskit/icon'
2966
- },
2967
- sizeGuidance: {
2968
- small: 'swap-visual-change',
2969
- medium: 'swap-visual-change',
2970
- large: 'icon-tile',
2971
- xlarge: 'icon-tile'
2972
- }
2973
- },
2932
+ // 'notification-direct': {
2933
+ // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2934
+ // sizeGuidance: {
2935
+ // small: 'swap-slight-visual-change',
2936
+ // medium: 'swap-slight-visual-change',
2937
+ // large: 'icon-tile',
2938
+ // xlarge: 'icon-tile',
2939
+ // },
2940
+ // },
2941
+ // notification: {
2942
+ // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2943
+ // sizeGuidance: {
2944
+ // small: 'swap-visual-change',
2945
+ // medium: 'swap-visual-change',
2946
+ // large: 'icon-tile',
2947
+ // xlarge: 'icon-tile',
2948
+ // },
2949
+ // },
2974
2950
  'office-building-filled': {
2975
2951
  newIcon: {
2976
2952
  name: 'office-building',
@@ -3598,19 +3574,15 @@ const migrationMap = {
3598
3574
  xlarge: 'icon-tile'
3599
3575
  }
3600
3576
  },
3601
- switcher: {
3602
- newIcon: {
3603
- name: 'app-switcher',
3604
- type: 'core',
3605
- package: '@atlaskit/icon'
3606
- },
3607
- sizeGuidance: {
3608
- small: 'swap-visual-change',
3609
- medium: 'swap-visual-change',
3610
- large: 'not-recommended',
3611
- xlarge: 'not-recommended'
3612
- }
3613
- },
3577
+ // switcher: {
3578
+ // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
3579
+ // sizeGuidance: {
3580
+ // small: 'swap-visual-change',
3581
+ // medium: 'swap-visual-change',
3582
+ // large: 'not-recommended',
3583
+ // xlarge: 'not-recommended',
3584
+ // },
3585
+ // },
3614
3586
  table: {
3615
3587
  newIcon: {
3616
3588
  name: 'grid',
@@ -0,0 +1,40 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["dangerouslySetGlyph"];
4
+ import React, { memo } from 'react';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
+ import LegacyIcon from './icon';
7
+ var sizesEligibleForNewIcons = ['small', 'medium'];
8
+
9
+ /**
10
+ * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
11
+ *
12
+ * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
13
+ * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
14
+ * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
15
+ * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
16
+ */
17
+ export var IconFacade = /*#__PURE__*/memo(function IconFacade(_ref) {
18
+ var _props$size;
19
+ var dangerouslySetGlyph = _ref.dangerouslySetGlyph,
20
+ props = _objectWithoutProperties(_ref, _excluded);
21
+ var NewIcon = props.newIcon;
22
+
23
+ // By default, the icon size will be medium and spacing will be none for small icons
24
+ var size = (_props$size = props.size) !== null && _props$size !== void 0 ? _props$size : 'medium';
25
+ var spacing = size === 'small' ? 'none' : 'spacious';
26
+
27
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
28
+ var useNewIcon = fg('platform-visual-refresh-icons-legacy-facade') && sizesEligibleForNewIcons.includes(size);
29
+ if (useNewIcon && NewIcon) {
30
+ return /*#__PURE__*/React.createElement(NewIcon, _extends({}, props, {
31
+ spacing: spacing,
32
+ color: props.primaryColor || 'currentColor',
33
+ type: props.iconType
34
+ }));
35
+ }
36
+ return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
37
+ dangerouslySetGlyph: dangerouslySetGlyph
38
+ }, props));
39
+ });
40
+ export default IconFacade;
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { memo } from 'react';
6
+
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
8
9
  import { fg } from '@atlaskit/platform-feature-flags';
@@ -100,7 +101,8 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
100
101
  _ref$type = _ref.type,
101
102
  type = _ref$type === void 0 ? 'global' : _ref$type,
102
103
  dangerouslySetGlyph = _ref.dangerouslySetGlyph,
103
- shouldScale = _ref.shouldScale;
104
+ shouldScale = _ref.shouldScale,
105
+ LEGACY_margin = _ref.LEGACY_margin;
104
106
  var dangerouslySetInnerHTML = dangerouslySetGlyph ? {
105
107
  __html: dangerouslySetGlyph
106
108
  } : undefined;
@@ -114,6 +116,9 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
114
116
  size: LEGACY_size,
115
117
  label: label,
116
118
  testId: testId
119
+ // @ts-ignore-next-line
120
+ ,
121
+ UNSAFE_margin: LEGACY_margin
117
122
  });
118
123
  }
119
124
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -4,13 +4,14 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  /**
6
6
  * @jsxRuntime classic
7
+ * @jsx jsx
7
8
  */
8
- /** @jsx jsx */
9
9
  import { memo } from 'react';
10
+
10
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
  import { css, jsx } from '@emotion/react';
12
- import { getBackground } from './utils';
13
13
  import { commonSVGStyles, getIconSize } from './styles';
14
+ import { getBackground } from './utils';
14
15
 
15
16
  /**
16
17
  * We are hiding these props from consumers as they're used to
@@ -83,7 +84,8 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
83
84
  testId = _ref.testId,
84
85
  label = _ref.label,
85
86
  width = _ref.width,
86
- height = _ref.height;
87
+ height = _ref.height,
88
+ UNSAFE_margin = _ref.UNSAFE_margin;
87
89
  var glyphProps = dangerouslySetGlyph ? {
88
90
  dangerouslySetInnerHTML: {
89
91
  __html: dangerouslySetGlyph
@@ -105,12 +107,13 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
105
107
  "aria-hidden": label ? undefined : true
106
108
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
107
109
  ,
108
- style: {
110
+ style: _objectSpread({
109
111
  '--icon-primary-color': primaryColor,
110
112
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
111
113
  '--icon-secondary-color': secondaryColor || getBackground()
112
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
113
- }
114
+ }, UNSAFE_margin ? {
115
+ margin: UNSAFE_margin
116
+ } : {})
114
117
  }, glyphProps, {
115
118
  css: [iconStyles, baseHcmStyles, primaryColor === secondaryColor && primaryEqualsSecondaryHcmStyles, secondaryColor === 'transparent' && secondaryTransparentHcmStyles,
116
119
  // NB: This can be resolved if this component, composes base SVG / and/or skeleton
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css, jsx } from '@emotion/react';
7
7
  import { memo } from 'react';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { memo } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -1 +1,2 @@
1
- export { default, Icon } from '../components/icon';
1
+ export { default, Icon } from '../components/icon';
2
+ export { IconFacade as UNSAFE_IconFacade } from '../components/icon-facade';
@@ -116,19 +116,15 @@ var migrationMap = {
116
116
  xlarge: 'icon-tile'
117
117
  }
118
118
  },
119
- 'app-switcher': {
120
- newIcon: {
121
- name: 'app-switcher',
122
- type: 'core',
123
- package: '@atlaskit/icon'
124
- },
125
- sizeGuidance: {
126
- small: 'top-nav',
127
- medium: 'top-nav',
128
- large: 'top-nav',
129
- xlarge: 'top-nav'
130
- }
131
- },
119
+ // 'app-switcher': {
120
+ // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
121
+ // sizeGuidance: {
122
+ // small: 'top-nav',
123
+ // medium: 'top-nav',
124
+ // large: 'top-nav',
125
+ // xlarge: 'top-nav',
126
+ // },
127
+ // },
132
128
  archive: {
133
129
  newIcon: {
134
130
  name: 'archive-box',
@@ -1037,19 +1033,15 @@ var migrationMap = {
1037
1033
  xlarge: 'icon-tile'
1038
1034
  }
1039
1035
  },
1040
- download: {
1041
- newIcon: {
1042
- name: 'cloud-arrow-down',
1043
- type: 'core',
1044
- package: '@atlaskit/icon'
1045
- },
1046
- sizeGuidance: {
1047
- small: 'swap',
1048
- medium: 'swap',
1049
- large: 'icon-tile',
1050
- xlarge: 'icon-tile'
1051
- }
1052
- },
1036
+ // download: {
1037
+ // newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
1038
+ // sizeGuidance: {
1039
+ // small: 'swap',
1040
+ // medium: 'swap',
1041
+ // large: 'icon-tile',
1042
+ // xlarge: 'icon-tile',
1043
+ // },
1044
+ // },
1053
1045
  'drag-handler': {
1054
1046
  newIcon: {
1055
1047
  name: 'drag-handle',
@@ -2872,32 +2864,24 @@ var migrationMap = {
2872
2864
  xlarge: 'icon-lab'
2873
2865
  }
2874
2866
  },
2875
- 'menu-expand': {
2876
- newIcon: {
2877
- name: 'menu',
2878
- type: 'core',
2879
- package: '@atlaskit/icon'
2880
- },
2881
- sizeGuidance: {
2882
- small: 'swap',
2883
- medium: 'swap',
2884
- large: 'icon-tile',
2885
- xlarge: 'icon-tile'
2886
- }
2887
- },
2888
- menu: {
2889
- newIcon: {
2890
- name: 'menu',
2891
- type: 'core',
2892
- package: '@atlaskit/icon'
2893
- },
2894
- sizeGuidance: {
2895
- small: 'swap',
2896
- medium: 'swap',
2897
- large: 'icon-tile',
2898
- xlarge: 'icon-tile'
2899
- }
2900
- },
2867
+ // 'menu-expand': {
2868
+ // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2869
+ // sizeGuidance: {
2870
+ // small: 'swap',
2871
+ // medium: 'swap',
2872
+ // large: 'icon-tile',
2873
+ // xlarge: 'icon-tile',
2874
+ // },
2875
+ // },
2876
+ // menu: {
2877
+ // newIcon: { name: 'menu', type: 'core', package: '@atlaskit/icon' },
2878
+ // sizeGuidance: {
2879
+ // small: 'swap',
2880
+ // medium: 'swap',
2881
+ // large: 'icon-tile',
2882
+ // xlarge: 'icon-tile',
2883
+ // },
2884
+ // },
2901
2885
  mobile: {
2902
2886
  newIcon: {
2903
2887
  name: 'device-mobile',
@@ -2945,32 +2929,24 @@ var migrationMap = {
2945
2929
  xlarge: 'icon-lab'
2946
2930
  }
2947
2931
  },
2948
- 'notification-direct': {
2949
- newIcon: {
2950
- name: 'notification',
2951
- type: 'core',
2952
- package: '@atlaskit/icon'
2953
- },
2954
- sizeGuidance: {
2955
- small: 'swap-slight-visual-change',
2956
- medium: 'swap-slight-visual-change',
2957
- large: 'icon-tile',
2958
- xlarge: 'icon-tile'
2959
- }
2960
- },
2961
- notification: {
2962
- newIcon: {
2963
- name: 'notification',
2964
- type: 'core',
2965
- package: '@atlaskit/icon'
2966
- },
2967
- sizeGuidance: {
2968
- small: 'swap-visual-change',
2969
- medium: 'swap-visual-change',
2970
- large: 'icon-tile',
2971
- xlarge: 'icon-tile'
2972
- }
2973
- },
2932
+ // 'notification-direct': {
2933
+ // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2934
+ // sizeGuidance: {
2935
+ // small: 'swap-slight-visual-change',
2936
+ // medium: 'swap-slight-visual-change',
2937
+ // large: 'icon-tile',
2938
+ // xlarge: 'icon-tile',
2939
+ // },
2940
+ // },
2941
+ // notification: {
2942
+ // newIcon: { name: 'notification', type: 'core', package: '@atlaskit/icon' },
2943
+ // sizeGuidance: {
2944
+ // small: 'swap-visual-change',
2945
+ // medium: 'swap-visual-change',
2946
+ // large: 'icon-tile',
2947
+ // xlarge: 'icon-tile',
2948
+ // },
2949
+ // },
2974
2950
  'office-building-filled': {
2975
2951
  newIcon: {
2976
2952
  name: 'office-building',
@@ -3598,19 +3574,15 @@ var migrationMap = {
3598
3574
  xlarge: 'icon-tile'
3599
3575
  }
3600
3576
  },
3601
- switcher: {
3602
- newIcon: {
3603
- name: 'app-switcher',
3604
- type: 'core',
3605
- package: '@atlaskit/icon'
3606
- },
3607
- sizeGuidance: {
3608
- small: 'swap-visual-change',
3609
- medium: 'swap-visual-change',
3610
- large: 'not-recommended',
3611
- xlarge: 'not-recommended'
3612
- }
3613
- },
3577
+ // switcher: {
3578
+ // newIcon: { name: 'app-switcher', type: 'core', package: '@atlaskit/icon' },
3579
+ // sizeGuidance: {
3580
+ // small: 'swap-visual-change',
3581
+ // medium: 'swap-visual-change',
3582
+ // large: 'not-recommended',
3583
+ // xlarge: 'not-recommended',
3584
+ // },
3585
+ // },
3614
3586
  table: {
3615
3587
  newIcon: {
3616
3588
  name: 'grid',
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { NewIconProps } from '../types';
3
+ /**
4
+ * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
5
+ *
6
+ * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
7
+ * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
8
+ * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
9
+ * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
10
+ */
11
+ export declare const IconFacade: React.NamedExoticComponent<import("../types").IconProps & {
12
+ newIcon?: React.ComponentType<NewIconProps> | undefined;
13
+ iconType?: "utility" | "global" | undefined;
14
+ }>;
15
+ export default IconFacade;
@@ -1,2 +1,3 @@
1
1
  export { default, Icon } from '../components/icon';
2
+ export { IconFacade as UNSAFE_IconFacade } from '../components/icon-facade';
2
3
  export type { IconProps } from '../types';
@@ -1,4 +1,4 @@
1
- import type { ComponentType, SVGProps as ReactSVGProps, ReactNode } from 'react';
1
+ import type { ComponentType, ReactNode, SVGProps as ReactSVGProps } from 'react';
2
2
  import type { IconColor, IconColorPressed } from '@atlaskit/tokens/css-type-schema';
3
3
  export type Size = 'small' | 'medium' | 'large' | 'xlarge';
4
4
  export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
@@ -111,6 +111,10 @@ export interface NewIconProps extends NewGlyphProps, IconInternalGlyphProps {
111
111
  * Icon type. Used in icon build process.
112
112
  */
113
113
  type?: 'utility' | 'global';
114
+ /**
115
+ * Sets a margin on the fallback legacy icon.
116
+ */
117
+ LEGACY_margin?: string;
114
118
  }
115
119
  export type IconTileAppearance = 'gray' | 'blue' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange' | 'red' | 'magenta' | 'purple' | 'grayBold' | 'blueBold' | 'tealBold' | 'greenBold' | 'limeBold' | 'yellowBold' | 'orangeBold' | 'redBold' | 'magentaBold' | 'purpleBold';
116
120
  export type IconTileSize = '16' | '24' | '32' | '40' | '48';
@@ -166,4 +170,8 @@ type IconMigrationResult = {
166
170
  };
167
171
  export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
168
172
  export type IconMigrationMap = Record<string, IconMigrationResult>;
173
+ export type IconFacadeProps = IconProps & {
174
+ newIcon?: React.ComponentType<NewIconProps>;
175
+ iconType?: NewIconProps['type'];
176
+ };
169
177
  export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { NewIconProps } from '../types';
3
+ /**
4
+ * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
5
+ *
6
+ * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
7
+ * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
8
+ * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
9
+ * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
10
+ */
11
+ export declare const IconFacade: React.NamedExoticComponent<import("../types").IconProps & {
12
+ newIcon?: React.ComponentType<NewIconProps> | undefined;
13
+ iconType?: "utility" | "global" | undefined;
14
+ }>;
15
+ export default IconFacade;
@@ -1,2 +1,3 @@
1
1
  export { default, Icon } from '../components/icon';
2
+ export { IconFacade as UNSAFE_IconFacade } from '../components/icon-facade';
2
3
  export type { IconProps } from '../types';
@@ -1,4 +1,4 @@
1
- import type { ComponentType, SVGProps as ReactSVGProps, ReactNode } from 'react';
1
+ import type { ComponentType, ReactNode, SVGProps as ReactSVGProps } from 'react';
2
2
  import type { IconColor, IconColorPressed } from '@atlaskit/tokens/css-type-schema';
3
3
  export type Size = 'small' | 'medium' | 'large' | 'xlarge';
4
4
  export interface CustomGlyphProps extends ReactSVGProps<SVGSVGElement> {
@@ -111,6 +111,10 @@ export interface NewIconProps extends NewGlyphProps, IconInternalGlyphProps {
111
111
  * Icon type. Used in icon build process.
112
112
  */
113
113
  type?: 'utility' | 'global';
114
+ /**
115
+ * Sets a margin on the fallback legacy icon.
116
+ */
117
+ LEGACY_margin?: string;
114
118
  }
115
119
  export type IconTileAppearance = 'gray' | 'blue' | 'teal' | 'green' | 'lime' | 'yellow' | 'orange' | 'red' | 'magenta' | 'purple' | 'grayBold' | 'blueBold' | 'tealBold' | 'greenBold' | 'limeBold' | 'yellowBold' | 'orangeBold' | 'redBold' | 'magentaBold' | 'purpleBold';
116
120
  export type IconTileSize = '16' | '24' | '32' | '40' | '48';
@@ -166,4 +170,8 @@ type IconMigrationResult = {
166
170
  };
167
171
  export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
168
172
  export type IconMigrationMap = Record<string, IconMigrationResult>;
173
+ export type IconFacadeProps = IconProps & {
174
+ newIcon?: React.ComponentType<NewIconProps>;
175
+ iconType?: NewIconProps['type'];
176
+ };
169
177
  export {};
package/glyph/activity.js CHANGED
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _base = require("@atlaskit/icon/base");
11
-
9
+ var _dashboard = _interopRequireDefault(require("@atlaskit/icon/core/dashboard"));
12
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- const ActivityIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({
15
- dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path d="M19.004 17C19 17 19 7.006 19 7.006 19 7 4.996 7 4.996 7 5 7 5 16.994 5 16.994 5 17 19.004 17 19.004 17zM3 7.006A2 2 0 014.995 5h14.01A2 2 0 0121 7.006v9.988A2 2 0 0119.005 19H4.995A2 2 0 013 16.994V7.006z" fill-rule="nonzero"/><path d="M4 6h16v5H4V6zm5 2c0 .556.446 1 .995 1h8.01c.54 0 .995-.448.995-1 0-.556-.446-1-.995-1h-8.01C9.455 7 9 7.448 9 8zM5 8c0 .556.448 1 1 1 .556 0 1-.448 1-1 0-.556-.448-1-1-1-.556 0-1 .448-1 1z"/></g></svg>`
16
- }, props));
17
-
11
+ const ActivityIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
12
+ dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M19.004 17C19 17 19 7.006 19 7.006 19 7 4.996 7 4.996 7 5 7 5 16.994 5 16.994 5 17 19.004 17 19.004 17M3 7.006A2 2 0 0 1 4.995 5h14.01A2 2 0 0 1 21 7.006v9.988A2 2 0 0 1 19.005 19H4.995A2 2 0 0 1 3 16.994z"/><path d="M4 6h16v5H4zm5 2c0 .556.446 1 .995 1h8.01c.54 0 .995-.448.995-1 0-.556-.446-1-.995-1h-8.01C9.455 7 9 7.448 9 8M5 8c0 .556.448 1 1 1 .556 0 1-.448 1-1 0-.556-.448-1-1-1-.556 0-1 .448-1 1"/></g></svg>`
13
+ }, props, {
14
+ newIcon: _dashboard.default
15
+ }));
18
16
  ActivityIcon.displayName = 'ActivityIcon';
19
- var _default = ActivityIcon;
20
- exports.default = _default;
17
+ var _default = exports.default = ActivityIcon;