@atlaskit/icon 27.11.0 → 28.0.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 (401) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/afm-volt/tsconfig.json +7 -1
  3. package/base/package.json +1 -1
  4. package/base-new/package.json +1 -1
  5. package/build/index.tsx +1 -0
  6. package/constants/package.json +1 -1
  7. package/core/chart-pie.js +2 -2
  8. package/deprecated-map/package.json +1 -1
  9. package/dist/cjs/components/icon-new.js +1 -1
  10. package/dist/cjs/entry-points/base.js +0 -7
  11. package/dist/cjs/metadata-core.js +1 -6
  12. package/dist/es2019/components/icon-new.js +1 -1
  13. package/dist/es2019/entry-points/base.js +1 -2
  14. package/dist/es2019/metadata-core.js +1 -6
  15. package/dist/esm/components/icon-new.js +1 -1
  16. package/dist/esm/entry-points/base.js +1 -2
  17. package/dist/esm/metadata-core.js +1 -6
  18. package/dist/types/components/icon-new.d.ts +0 -1
  19. package/dist/types/components/icon-tile.d.ts +0 -1
  20. package/dist/types/components/icon.d.ts +0 -1
  21. package/dist/types/components/skeleton.d.ts +0 -1
  22. package/dist/types/components/svg.d.ts +0 -1
  23. package/dist/types/entry-points/base.d.ts +0 -1
  24. package/dist/types/metadata.d.ts +0 -1
  25. package/dist/types/types.d.ts +0 -4
  26. package/dist/types-ts4.5/components/icon-new.d.ts +0 -1
  27. package/dist/types-ts4.5/components/icon-tile.d.ts +0 -1
  28. package/dist/types-ts4.5/components/icon.d.ts +0 -1
  29. package/dist/types-ts4.5/components/skeleton.d.ts +0 -1
  30. package/dist/types-ts4.5/components/svg.d.ts +0 -1
  31. package/dist/types-ts4.5/entry-points/base.d.ts +0 -1
  32. package/dist/types-ts4.5/metadata.d.ts +0 -1
  33. package/dist/types-ts4.5/types.d.ts +0 -4
  34. package/glyph/activity.js +2 -5
  35. package/glyph/add-circle.js +2 -5
  36. package/glyph/add-item.js +2 -5
  37. package/glyph/add.js +2 -5
  38. package/glyph/addon.js +2 -5
  39. package/glyph/app-access.js +2 -5
  40. package/glyph/app-switcher.js +2 -5
  41. package/glyph/archive.js +2 -5
  42. package/glyph/arrow-down-circle.js +2 -5
  43. package/glyph/arrow-down.js +2 -5
  44. package/glyph/arrow-left-circle.js +2 -5
  45. package/glyph/arrow-left.js +2 -5
  46. package/glyph/arrow-right-circle.js +2 -5
  47. package/glyph/arrow-right.js +2 -5
  48. package/glyph/arrow-up-circle.js +2 -5
  49. package/glyph/arrow-up.js +2 -5
  50. package/glyph/attachment.js +2 -5
  51. package/glyph/audio-circle.js +2 -5
  52. package/glyph/audio.js +2 -5
  53. package/glyph/backlog.js +2 -5
  54. package/glyph/billing-filled.js +1 -1
  55. package/glyph/billing.js +1 -1
  56. package/glyph/bitbucket/branches.js +2 -5
  57. package/glyph/bitbucket/builds.js +1 -1
  58. package/glyph/bitbucket/clone.js +1 -1
  59. package/glyph/bitbucket/commits.js +2 -5
  60. package/glyph/bitbucket/compare.js +1 -1
  61. package/glyph/bitbucket/forks.js +1 -1
  62. package/glyph/bitbucket/output.js +1 -1
  63. package/glyph/bitbucket/pipelines.js +1 -1
  64. package/glyph/bitbucket/pullrequests.js +2 -5
  65. package/glyph/bitbucket/repos.js +2 -5
  66. package/glyph/bitbucket/snippets.js +2 -5
  67. package/glyph/bitbucket/source.js +2 -5
  68. package/glyph/board.js +2 -5
  69. package/glyph/book.js +2 -5
  70. package/glyph/bullet-list.js +2 -5
  71. package/glyph/calendar-filled.js +2 -5
  72. package/glyph/calendar.js +2 -5
  73. package/glyph/camera-filled.js +2 -5
  74. package/glyph/camera-rotate.js +1 -1
  75. package/glyph/camera-take-picture.js +1 -1
  76. package/glyph/camera.js +2 -5
  77. package/glyph/canvas.js +1 -1
  78. package/glyph/check-circle-outline.js +2 -5
  79. package/glyph/check-circle.js +2 -5
  80. package/glyph/check.js +2 -5
  81. package/glyph/checkbox-indeterminate.js +2 -5
  82. package/glyph/checkbox.js +2 -5
  83. package/glyph/chevron-down-circle.js +2 -5
  84. package/glyph/chevron-down.js +2 -5
  85. package/glyph/chevron-left-circle.js +2 -5
  86. package/glyph/chevron-left-large.js +2 -5
  87. package/glyph/chevron-left.js +2 -5
  88. package/glyph/chevron-right-circle.js +2 -5
  89. package/glyph/chevron-right-large.js +2 -5
  90. package/glyph/chevron-right.js +2 -5
  91. package/glyph/chevron-up-circle.js +2 -5
  92. package/glyph/chevron-up.js +2 -5
  93. package/glyph/child-issues.js +2 -5
  94. package/glyph/code.js +2 -5
  95. package/glyph/comment.js +2 -5
  96. package/glyph/component.js +2 -5
  97. package/glyph/copy.js +2 -5
  98. package/glyph/creditcard-filled.js +2 -5
  99. package/glyph/creditcard.js +2 -5
  100. package/glyph/cross-circle.js +2 -5
  101. package/glyph/cross.js +2 -5
  102. package/glyph/dashboard.js +2 -5
  103. package/glyph/decision.js +2 -5
  104. package/glyph/department.js +2 -5
  105. package/glyph/detail-view.js +2 -5
  106. package/glyph/discover-filled.js +2 -5
  107. package/glyph/discover.js +2 -5
  108. package/glyph/document-filled.js +2 -5
  109. package/glyph/document.js +2 -5
  110. package/glyph/documents.js +2 -5
  111. package/glyph/download.js +2 -5
  112. package/glyph/drag-handler.js +2 -5
  113. package/glyph/dropbox.js +1 -1
  114. package/glyph/edit-filled.js +2 -5
  115. package/glyph/edit.js +2 -5
  116. package/glyph/editor/add.js +2 -5
  117. package/glyph/editor/addon.js +1 -1
  118. package/glyph/editor/advanced.js +1 -1
  119. package/glyph/editor/align-center.js +2 -5
  120. package/glyph/editor/align-image-center.js +2 -5
  121. package/glyph/editor/align-image-left.js +2 -5
  122. package/glyph/editor/align-image-right.js +2 -5
  123. package/glyph/editor/align-left.js +2 -5
  124. package/glyph/editor/align-right.js +2 -5
  125. package/glyph/editor/attachment.js +2 -5
  126. package/glyph/editor/background-color.js +2 -5
  127. package/glyph/editor/bold.js +2 -5
  128. package/glyph/editor/bullet-list.js +2 -5
  129. package/glyph/editor/close.js +2 -5
  130. package/glyph/editor/code.js +2 -5
  131. package/glyph/editor/collapse.js +2 -5
  132. package/glyph/editor/date.js +2 -5
  133. package/glyph/editor/decision.js +2 -5
  134. package/glyph/editor/divider.js +2 -5
  135. package/glyph/editor/done.js +2 -5
  136. package/glyph/editor/edit.js +2 -5
  137. package/glyph/editor/emoji.js +2 -5
  138. package/glyph/editor/error.js +2 -5
  139. package/glyph/editor/expand.js +2 -5
  140. package/glyph/editor/feedback.js +2 -5
  141. package/glyph/editor/file-preview.js +1 -1
  142. package/glyph/editor/file.js +2 -5
  143. package/glyph/editor/help.js +2 -5
  144. package/glyph/editor/hint.js +2 -5
  145. package/glyph/editor/horizontal-rule.js +2 -5
  146. package/glyph/editor/image-border.js +1 -1
  147. package/glyph/editor/image-resize.js +2 -5
  148. package/glyph/editor/image.js +2 -5
  149. package/glyph/editor/indent.js +2 -5
  150. package/glyph/editor/info.js +2 -5
  151. package/glyph/editor/italic.js +2 -5
  152. package/glyph/editor/layout-single.js +2 -5
  153. package/glyph/editor/layout-three-equal.js +2 -5
  154. package/glyph/editor/layout-three-with-sidebars.js +2 -5
  155. package/glyph/editor/layout-two-equal.js +2 -5
  156. package/glyph/editor/layout-two-left-sidebar.js +2 -5
  157. package/glyph/editor/layout-two-right-sidebar.js +2 -5
  158. package/glyph/editor/link.js +2 -5
  159. package/glyph/editor/media-center.js +2 -5
  160. package/glyph/editor/media-full-width.js +2 -5
  161. package/glyph/editor/media-wide.js +2 -5
  162. package/glyph/editor/media-wrap-left.js +2 -5
  163. package/glyph/editor/media-wrap-right.js +2 -5
  164. package/glyph/editor/mention.js +2 -5
  165. package/glyph/editor/more.js +2 -5
  166. package/glyph/editor/note.js +2 -5
  167. package/glyph/editor/number-list.js +2 -5
  168. package/glyph/editor/open.js +2 -5
  169. package/glyph/editor/outdent.js +2 -5
  170. package/glyph/editor/panel.js +2 -5
  171. package/glyph/editor/photo.js +2 -5
  172. package/glyph/editor/quote.js +2 -5
  173. package/glyph/editor/recent.js +2 -5
  174. package/glyph/editor/redo.js +2 -5
  175. package/glyph/editor/remove-emoji.js +1 -1
  176. package/glyph/editor/remove.js +2 -5
  177. package/glyph/editor/search.js +2 -5
  178. package/glyph/editor/settings.js +2 -5
  179. package/glyph/editor/strikethrough.js +1 -1
  180. package/glyph/editor/success.js +2 -5
  181. package/glyph/editor/table-display-options.js +1 -1
  182. package/glyph/editor/table.js +2 -5
  183. package/glyph/editor/task.js +2 -5
  184. package/glyph/editor/text-color.js +1 -1
  185. package/glyph/editor/text-style.js +2 -5
  186. package/glyph/editor/underline.js +1 -1
  187. package/glyph/editor/undo.js +2 -5
  188. package/glyph/editor/unlink.js +2 -5
  189. package/glyph/editor/warning.js +2 -5
  190. package/glyph/email.js +2 -5
  191. package/glyph/emoji/activity.js +2 -5
  192. package/glyph/emoji/atlassian.js +1 -1
  193. package/glyph/emoji/custom.js +2 -5
  194. package/glyph/emoji/emoji.js +2 -5
  195. package/glyph/emoji/flags.js +2 -5
  196. package/glyph/emoji/food.js +2 -5
  197. package/glyph/emoji/frequent.js +2 -5
  198. package/glyph/emoji/keyboard.js +2 -5
  199. package/glyph/emoji/nature.js +2 -5
  200. package/glyph/emoji/objects.js +2 -5
  201. package/glyph/emoji/people.js +2 -5
  202. package/glyph/emoji/productivity.js +2 -5
  203. package/glyph/emoji/symbols.js +2 -5
  204. package/glyph/emoji/travel.js +2 -5
  205. package/glyph/emoji-add.js +2 -5
  206. package/glyph/emoji.js +2 -5
  207. package/glyph/error.js +2 -5
  208. package/glyph/export.js +2 -5
  209. package/glyph/feedback.js +2 -5
  210. package/glyph/file.js +2 -5
  211. package/glyph/filter.js +2 -5
  212. package/glyph/flag-filled.js +2 -5
  213. package/glyph/folder-filled.js +1 -1
  214. package/glyph/folder.js +2 -5
  215. package/glyph/followers.js +2 -5
  216. package/glyph/following.js +1 -1
  217. package/glyph/googledrive.js +1 -1
  218. package/glyph/graph-bar.js +2 -5
  219. package/glyph/graph-line.js +2 -5
  220. package/glyph/gsuite.js +1 -1
  221. package/glyph/highlights.js +1 -1
  222. package/glyph/hipchat/audio-only.js +2 -5
  223. package/glyph/hipchat/chevron-double-down.js +1 -1
  224. package/glyph/hipchat/chevron-double-up.js +1 -1
  225. package/glyph/hipchat/chevron-down.js +2 -5
  226. package/glyph/hipchat/chevron-up.js +2 -5
  227. package/glyph/hipchat/dial-out.js +2 -5
  228. package/glyph/hipchat/lobby.js +2 -5
  229. package/glyph/hipchat/media-attachment-count.js +1 -1
  230. package/glyph/hipchat/outgoing-sound.js +2 -5
  231. package/glyph/hipchat/sd-video.js +2 -5
  232. package/glyph/home-circle.js +2 -5
  233. package/glyph/home.js +2 -5
  234. package/glyph/image-border.js +1 -1
  235. package/glyph/image-resize.js +2 -5
  236. package/glyph/image.js +2 -5
  237. package/glyph/info.js +2 -5
  238. package/glyph/invite-team.js +2 -5
  239. package/glyph/issue-raise.js +2 -5
  240. package/glyph/issue.js +2 -5
  241. package/glyph/issues.js +2 -5
  242. package/glyph/jira/capture.js +2 -5
  243. package/glyph/jira/failed-build-status.js +1 -1
  244. package/glyph/jira/labs.js +2 -5
  245. package/glyph/jira/test-session.js +2 -5
  246. package/glyph/label.js +2 -5
  247. package/glyph/lightbulb-filled.js +2 -5
  248. package/glyph/lightbulb.js +2 -5
  249. package/glyph/like.js +2 -5
  250. package/glyph/link-filled.js +2 -5
  251. package/glyph/link.js +2 -5
  252. package/glyph/list.js +1 -1
  253. package/glyph/location.js +2 -5
  254. package/glyph/lock-circle.js +2 -5
  255. package/glyph/lock-filled.js +2 -5
  256. package/glyph/lock.js +2 -5
  257. package/glyph/marketplace.js +2 -5
  258. package/glyph/media-services/actual-size.js +2 -5
  259. package/glyph/media-services/add-comment.js +2 -5
  260. package/glyph/media-services/annotate.js +1 -1
  261. package/glyph/media-services/arrow.js +1 -1
  262. package/glyph/media-services/audio.js +2 -5
  263. package/glyph/media-services/blur.js +1 -1
  264. package/glyph/media-services/brush.js +1 -1
  265. package/glyph/media-services/button-option.js +1 -1
  266. package/glyph/media-services/code.js +2 -5
  267. package/glyph/media-services/document.js +2 -5
  268. package/glyph/media-services/filter.js +2 -5
  269. package/glyph/media-services/fit-to-page.js +2 -5
  270. package/glyph/media-services/full-screen.js +2 -5
  271. package/glyph/media-services/grid.js +2 -5
  272. package/glyph/media-services/image.js +2 -5
  273. package/glyph/media-services/line-thickness.js +1 -1
  274. package/glyph/media-services/line.js +2 -5
  275. package/glyph/media-services/no-image.js +1 -1
  276. package/glyph/media-services/open-mediaviewer.js +1 -1
  277. package/glyph/media-services/oval.js +1 -1
  278. package/glyph/media-services/pdf.js +1 -1
  279. package/glyph/media-services/preselected.js +2 -5
  280. package/glyph/media-services/presentation.js +2 -5
  281. package/glyph/media-services/rectangle.js +1 -1
  282. package/glyph/media-services/scale-large.js +2 -5
  283. package/glyph/media-services/scale-small.js +2 -5
  284. package/glyph/media-services/spreadsheet.js +2 -5
  285. package/glyph/media-services/text.js +1 -1
  286. package/glyph/media-services/unknown.js +1 -1
  287. package/glyph/media-services/video.js +2 -5
  288. package/glyph/media-services/zip.js +1 -1
  289. package/glyph/media-services/zoom-in.js +2 -5
  290. package/glyph/media-services/zoom-out.js +2 -5
  291. package/glyph/mention.js +1 -1
  292. package/glyph/menu-expand.js +2 -5
  293. package/glyph/menu.js +2 -5
  294. package/glyph/mobile.js +2 -5
  295. package/glyph/more-vertical.js +2 -5
  296. package/glyph/more.js +2 -5
  297. package/glyph/notification-all.js +1 -1
  298. package/glyph/notification-direct.js +2 -5
  299. package/glyph/notification.js +2 -5
  300. package/glyph/office-building-filled.js +2 -5
  301. package/glyph/office-building.js +2 -5
  302. package/glyph/open.js +2 -5
  303. package/glyph/overview.js +2 -5
  304. package/glyph/page-filled.js +2 -5
  305. package/glyph/page.js +2 -5
  306. package/glyph/pdf.js +1 -1
  307. package/glyph/people-group.js +2 -5
  308. package/glyph/people.js +2 -5
  309. package/glyph/person-circle.js +2 -5
  310. package/glyph/person-with-circle.js +1 -1
  311. package/glyph/person-with-cross.js +1 -1
  312. package/glyph/person-with-tick.js +2 -5
  313. package/glyph/person.js +2 -5
  314. package/glyph/portfolio.js +1 -1
  315. package/glyph/preferences.js +2 -5
  316. package/glyph/premium.js +2 -5
  317. package/glyph/presence-active.js +1 -1
  318. package/glyph/presence-busy.js +1 -1
  319. package/glyph/presence-unavailable.js +1 -1
  320. package/glyph/question-circle.js +2 -5
  321. package/glyph/question.js +2 -5
  322. package/glyph/questions.js +2 -5
  323. package/glyph/queues.js +2 -5
  324. package/glyph/quote.js +2 -5
  325. package/glyph/radio.js +2 -5
  326. package/glyph/recent.js +2 -5
  327. package/glyph/redo.js +2 -5
  328. package/glyph/refresh.js +2 -5
  329. package/glyph/retry.js +2 -5
  330. package/glyph/roadmap.js +2 -5
  331. package/glyph/room-menu.js +2 -5
  332. package/glyph/schedule-filled.js +2 -5
  333. package/glyph/schedule.js +2 -5
  334. package/glyph/screen.js +2 -5
  335. package/glyph/search.js +2 -5
  336. package/glyph/select-clear.js +2 -5
  337. package/glyph/send.js +2 -5
  338. package/glyph/settings.js +2 -5
  339. package/glyph/share.js +2 -5
  340. package/glyph/ship.js +2 -5
  341. package/glyph/shortcut.js +2 -5
  342. package/glyph/sign-in.js +2 -5
  343. package/glyph/sign-out.js +2 -5
  344. package/glyph/sprint.js +2 -5
  345. package/glyph/star-filled.js +2 -5
  346. package/glyph/star-large.js +2 -5
  347. package/glyph/star.js +2 -5
  348. package/glyph/status.js +1 -1
  349. package/glyph/stopwatch.js +2 -5
  350. package/glyph/subtask.js +2 -5
  351. package/glyph/suitcase.js +2 -5
  352. package/glyph/switcher.js +2 -5
  353. package/glyph/table.js +2 -5
  354. package/glyph/task.js +2 -5
  355. package/glyph/teams.js +2 -5
  356. package/glyph/trash.js +2 -5
  357. package/glyph/tray.js +2 -5
  358. package/glyph/undo.js +2 -5
  359. package/glyph/unlink.js +2 -5
  360. package/glyph/unlock-circle.js +2 -5
  361. package/glyph/unlock-filled.js +2 -5
  362. package/glyph/unlock.js +2 -5
  363. package/glyph/upload.js +2 -5
  364. package/glyph/user-avatar-circle.js +2 -5
  365. package/glyph/vid-audio-muted.js +1 -1
  366. package/glyph/vid-audio-on.js +2 -5
  367. package/glyph/vid-backward.js +1 -1
  368. package/glyph/vid-camera-off.js +1 -1
  369. package/glyph/vid-camera-on.js +2 -5
  370. package/glyph/vid-connection-circle.js +1 -1
  371. package/glyph/vid-forward.js +1 -1
  372. package/glyph/vid-full-screen-off.js +2 -5
  373. package/glyph/vid-full-screen-on.js +2 -5
  374. package/glyph/vid-hang-up.js +1 -1
  375. package/glyph/vid-hd-circle.js +1 -1
  376. package/glyph/vid-pause.js +2 -5
  377. package/glyph/vid-play.js +2 -5
  378. package/glyph/vid-raised-hand.js +1 -1
  379. package/glyph/vid-share-screen.js +1 -1
  380. package/glyph/vid-speaking-circle.js +1 -1
  381. package/glyph/vid-volume-full.js +2 -5
  382. package/glyph/vid-volume-half.js +2 -5
  383. package/glyph/vid-volume-muted.js +2 -5
  384. package/glyph/video-circle.js +2 -5
  385. package/glyph/video-filled.js +2 -5
  386. package/glyph/warning.js +2 -5
  387. package/glyph/watch-filled.js +2 -5
  388. package/glyph/watch.js +2 -5
  389. package/glyph/world-small.js +2 -5
  390. package/glyph/world.js +2 -5
  391. package/metadata/package.json +1 -1
  392. package/migration-map/package.json +1 -1
  393. package/package.json +6 -78
  394. package/svg/package.json +1 -1
  395. package/svgs/core/chart-pie.svg +1 -1
  396. package/types/package.json +1 -1
  397. package/dist/cjs/components/icon-facade.js +0 -68
  398. package/dist/es2019/components/icon-facade.js +0 -58
  399. package/dist/esm/components/icon-facade.js +0 -59
  400. package/dist/types/components/icon-facade.d.ts +0 -11
  401. package/dist/types-ts4.5/components/icon-facade.d.ts +0 -11
@@ -6,12 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _base = require("@atlaskit/icon/base");
9
- var _eyeOpenFilled = _interopRequireDefault(require("@atlaskit/icon/core/eye-open-filled"));
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const WatchFilledIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
10
+ const WatchFilledIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({
12
11
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentcolor" fill-rule="evenodd"><path d="M11.983 15.984a4.005 4.005 0 0 1-4.002-4c0-2.206 1.795-4 4.002-4a4.005 4.005 0 0 1 4.002 4c0 2.206-1.795 4-4.002 4M12 4C6.48 4 2 8.84 2 12c0 3.086 4.577 8 10 8s10-4.914 10-8c0-3.16-4.481-8-10-8"/><circle cx="12" cy="12" r="2"/></g></svg>`
13
- }, props, {
14
- newIcon: _eyeOpenFilled.default
15
- }));
12
+ }, props));
16
13
  WatchFilledIcon.displayName = 'WatchFilledIcon';
17
14
  var _default = exports.default = WatchFilledIcon;
package/glyph/watch.js CHANGED
@@ -6,12 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _base = require("@atlaskit/icon/base");
9
- var _eyeOpen = _interopRequireDefault(require("@atlaskit/icon/core/eye-open"));
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const WatchIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
10
+ const WatchIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({
12
11
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentcolor" fill-rule="evenodd"><path d="M12 18c-4.536 0-7.999-4.26-7.999-6 0-2.001 3.459-6 8-6 4.376 0 7.998 3.973 7.998 6 0 1.74-3.462 6-7.998 6m0-14C6.48 4 2 8.841 2 12c0 3.086 4.576 8 10 8 5.423 0 10-4.914 10-8 0-3.159-4.48-8-10-8"/><path d="M11.978 13.984c-1.104 0-2-.897-2-2s.896-2 2-2c1.103 0 2 .897 2 2s-.897 2-2 2m0-6c-2.206 0-4 1.794-4 4s1.793 4 4 4 4-1.794 4-4-1.794-4-4-4"/></g></svg>`
13
- }, props, {
14
- newIcon: _eyeOpen.default
15
- }));
12
+ }, props));
16
13
  WatchIcon.displayName = 'WatchIcon';
17
14
  var _default = exports.default = WatchIcon;
@@ -6,12 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _base = require("@atlaskit/icon/base");
9
- var _globe = _interopRequireDefault(require("@atlaskit/icon/core/globe"));
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const WorldSmallIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
10
+ const WorldSmallIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({
12
11
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-.5-2.035A3.994 3.994 0 0 1 8 12c0-.31.04-.605.105-.895L10.5 13.5v.5c0 .55.45 1 1 1zm3.45-1.27A.99.99 0 0 0 14 14h-.5v-1.5c0-.275-.225-.5-.5-.5h-3v-1h1c.275 0 .5-.225.5-.5v-1h1c.55 0 1-.45 1-1v-.205A4 4 0 0 1 16 12c0 1.04-.4 1.985-1.05 2.695"/></svg>`
13
- }, props, {
14
- newIcon: _globe.default
15
- }));
12
+ }, props));
16
13
  WorldSmallIcon.displayName = 'WorldSmallIcon';
17
14
  var _default = exports.default = WorldSmallIcon;
package/glyph/world.js CHANGED
@@ -6,12 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _base = require("@atlaskit/icon/base");
9
- var _globe = _interopRequireDefault(require("@atlaskit/icon/core/globe"));
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const WorldIcon = props => /*#__PURE__*/_react.default.createElement(_base.IconFacade, Object.assign({
10
+ const WorldIcon = props => /*#__PURE__*/_react.default.createElement(_base.Icon, Object.assign({
12
11
  dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentcolor" fill-rule="evenodd" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m-.9-1.863A7.19 7.19 0 0 1 4.8 12c0-.558.072-1.089.189-1.611L9.3 14.7v.9c0 .99.81 1.8 1.8 1.8zm6.21-2.286A1.79 1.79 0 0 0 15.6 15.6h-.9v-2.7c0-.495-.405-.9-.9-.9H8.4v-1.8h1.8c.495 0 .9-.405.9-.9V7.5h1.8c.99 0 1.8-.81 1.8-1.8v-.369c2.637 1.071 4.5 3.654 4.5 6.669 0 1.872-.72 3.573-1.89 4.851"/></svg>`
13
- }, props, {
14
- newIcon: _globe.default
15
- }));
12
+ }, props));
16
13
  WorldIcon.displayName = 'WorldIcon';
17
14
  var _default = exports.default = WorldIcon;
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/metadata.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/metadata.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/migration-map.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/migration-map.d.ts"
14
14
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "27.11.0",
3
+ "version": "28.0.0",
4
4
  "description": "An icon is a symbol representing a command, device, directory, or common action.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -17,79 +17,7 @@
17
17
  ],
18
18
  "atlaskit:src": "src/index.tsx",
19
19
  "atlassian": {
20
- "team": "Design System Team",
21
- "website": {
22
- "name": "Icon",
23
- "category": "Images and icons",
24
- "subPages": [
25
- {
26
- "title": "Icon (legacy)",
27
- "id": "icon-legacy",
28
- "sortKey": 1,
29
- "status": {
30
- "type": "deprecated",
31
- "description": "Legacy icons (`@atlaskit/icon/glyph`) are deprecated. We recommend migrating to our new iconography system.",
32
- "actions": [
33
- {
34
- "text": "View new icons",
35
- "href": "/components/icon/"
36
- },
37
- {
38
- "text": "Migration Guide",
39
- "href": "/components/icon/migration-guide/"
40
- }
41
- ]
42
- }
43
- },
44
- {
45
- "title": "Icon tile",
46
- "id": "icon-tile",
47
- "status": {
48
- "type": "open-alpha",
49
- "description": "This is an experiment. We may make frequent breaking changes with limited notice."
50
- },
51
- "sortKey": 2
52
- },
53
- {
54
- "title": "Custom icon (legacy)",
55
- "id": "custom-icon",
56
- "sortKey": 3,
57
- "status": {
58
- "type": "deprecated",
59
- "description": "Custom icon is deprecated. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
60
- "actions": [
61
- {
62
- "text": "View available icons",
63
- "href": "/components/icon/"
64
- },
65
- {
66
- "text": "Contribute an icon (Atlassians only)",
67
- "href": "https://go.atlassian.com/ads-icon-contribution"
68
- }
69
- ]
70
- }
71
- },
72
- {
73
- "title": "Custom SVG",
74
- "id": "custom-svg",
75
- "sortKey": 4,
76
- "status": {
77
- "type": "deprecated",
78
- "description": "Custom SVG is deprecated. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
79
- "actions": [
80
- {
81
- "text": "View available icons",
82
- "href": "/components/icon/"
83
- },
84
- {
85
- "text": "Contribute an icon (Atlassians only)",
86
- "href": "https://go.atlassian.com/ads-icon-contribution"
87
- }
88
- ]
89
- }
90
- }
91
- ]
92
- }
20
+ "team": "Design System Team"
93
21
  },
94
22
  "scripts": {
95
23
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
@@ -109,18 +37,18 @@
109
37
  "@af/icon-build-process": "workspace:^",
110
38
  "@af/integration-testing": "workspace:^",
111
39
  "@af/visual-regression": "workspace:^",
112
- "@atlaskit/button": "^23.3.0",
40
+ "@atlaskit/button": "^23.4.0",
113
41
  "@atlaskit/code": "^17.2.0",
114
42
  "@atlaskit/css": "^0.12.0",
115
43
  "@atlaskit/docs": "^11.0.0",
116
44
  "@atlaskit/ds-lib": "^5.0.0",
117
- "@atlaskit/form": "^12.0.0",
45
+ "@atlaskit/form": "^12.1.0",
118
46
  "@atlaskit/heading": "^5.2.0",
119
47
  "@atlaskit/icon-file-type": "^7.0.0",
120
48
  "@atlaskit/icon-object": "^7.2.0",
121
49
  "@atlaskit/link": "^3.2.0",
122
- "@atlaskit/logo": "^19.6.0",
123
- "@atlaskit/menu": "^8.1.0",
50
+ "@atlaskit/logo": "^19.7.0",
51
+ "@atlaskit/menu": "^8.3.0",
124
52
  "@atlaskit/modal-dialog": "^14.3.0",
125
53
  "@atlaskit/primitives": "^14.11.0",
126
54
  "@atlaskit/section-message": "^8.5.0",
package/svg/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/svg.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/svg.d.ts"
14
14
  ]
@@ -1 +1 @@
1
- <svg width="16" height="16" fill="none" viewBox="0 0 16 16"><mask id="mask0_53070_14217" width="16" height="16" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="currentcolor" d="M5.106 0C5.04.239 5 .49 5 .75v7.5a2.75 2.75 0 0 0 3.462 2.656l7.246-1.941q.15-.04.292-.098V16H0V0zm5.672 4.59-.278.076v-.29q.143.102.278.215M16 2.17A10.3 10.3 0 0 0 13.831 0H16z"/></mask><g mask="url(#mask0_53070_14217)"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M1.75 8a6.25 6.25 0 1 0 12.5 0 6.25 6.25 0 0 0-12.5 0Z"/></g><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25V.75c3.47 0 6.39 2.357 7.246 5.558z"/></svg>
1
+ <svg width="16" height="16" fill="none" viewBox="0 0 16 16"><mask id="mask0_53402_2880" width="16" height="16" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="currentcolor" d="M5.106 0C5.04.239 5 .49 5 .75v7.5a2.75 2.75 0 0 0 3.462 2.656l7.246-1.941q.15-.04.292-.098V16H0V0zm5.672 4.59-.278.076v-.29q.143.102.278.215M16 2.17A10.3 10.3 0 0 0 13.831 0H16z"/></mask><g mask="url(#mask0_53402_2880)"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M1.75 8a6.25 6.25 0 1 0 12.5 0 6.25 6.25 0 0 0-12.5 0Z"/></g><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25V.75c3.47 0 6.39 2.357 7.246 5.558z"/></svg>
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/types.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/types.d.ts"
14
14
  ]
@@ -1,68 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _typeof = require("@babel/runtime/helpers/typeof");
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.IconFacade = void 0;
9
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
- var _react = _interopRequireWildcard(require("react"));
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
- var _icon = require("./icon");
14
- var _excluded = ["dangerouslySetGlyph", "size"];
15
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
16
- var sizeSpacingMap = {
17
- utility: {
18
- small: 'compact',
19
- medium: 'spacious'
20
- },
21
- core: {
22
- small: 'none',
23
- medium: 'spacious'
24
- }
25
- };
26
-
27
- /**
28
- * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
29
- *
30
- * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
31
- * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
32
- * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
33
- * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
34
- */
35
- var IconFacade = exports.IconFacade = /*#__PURE__*/(0, _react.memo)(function IconFacade(_ref) {
36
- var dangerouslySetGlyph = _ref.dangerouslySetGlyph,
37
- size = _ref.size,
38
- props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
39
- var NewIcon = props.newIcon;
40
-
41
- // By default, the icon size will be medium for core icons and small for utility icons
42
- var iconSize = size !== null && size !== void 0 ? size : 'medium';
43
- var useNewIcon = !props.isFacadeDisabled &&
44
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
45
- (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons-legacy-facade');
46
- if (useNewIcon && NewIcon && (iconSize === 'small' || iconSize === 'medium') && !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons-facade-removal')) {
47
- if (props.iconType === 'utility') {
48
- var Icon = NewIcon;
49
- return /*#__PURE__*/_react.default.createElement(Icon, (0, _extends2.default)({}, props, {
50
- spacing: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons-facade-button-fix') ? sizeSpacingMap['utility'][iconSize] : 'none',
51
- color: props.primaryColor || 'currentColor',
52
- type: props.iconType
53
- }));
54
- } else {
55
- var _Icon = NewIcon;
56
- return /*#__PURE__*/_react.default.createElement(_Icon, (0, _extends2.default)({}, props, {
57
- size: iconSize,
58
- spacing: sizeSpacingMap['core'][iconSize],
59
- color: props.primaryColor || 'currentColor',
60
- type: props.iconType
61
- }));
62
- }
63
- }
64
- return /*#__PURE__*/_react.default.createElement(_icon.Icon, (0, _extends2.default)({
65
- dangerouslySetGlyph: dangerouslySetGlyph,
66
- size: size
67
- }, props));
68
- });
@@ -1,58 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React, { memo } from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
- import { Icon as LegacyIcon } from './icon';
5
- const sizeSpacingMap = {
6
- utility: {
7
- small: 'compact',
8
- medium: 'spacious'
9
- },
10
- core: {
11
- small: 'none',
12
- medium: 'spacious'
13
- }
14
- };
15
-
16
- /**
17
- * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
18
- *
19
- * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
20
- * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
21
- * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
22
- * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
23
- */
24
- export const IconFacade = /*#__PURE__*/memo(function IconFacade({
25
- dangerouslySetGlyph,
26
- size,
27
- ...props
28
- }) {
29
- const NewIcon = props.newIcon;
30
-
31
- // By default, the icon size will be medium for core icons and small for utility icons
32
- const iconSize = size !== null && size !== void 0 ? size : 'medium';
33
- const useNewIcon = !props.isFacadeDisabled &&
34
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
35
- fg('platform-visual-refresh-icons-legacy-facade');
36
- if (useNewIcon && NewIcon && (iconSize === 'small' || iconSize === 'medium') && !fg('platform-visual-refresh-icons-facade-removal')) {
37
- if (props.iconType === 'utility') {
38
- const Icon = NewIcon;
39
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
40
- spacing: fg('platform-visual-refresh-icons-facade-button-fix') ? sizeSpacingMap['utility'][iconSize] : 'none',
41
- color: props.primaryColor || 'currentColor',
42
- type: props.iconType
43
- }));
44
- } else {
45
- const Icon = NewIcon;
46
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
47
- size: iconSize,
48
- spacing: sizeSpacingMap['core'][iconSize],
49
- color: props.primaryColor || 'currentColor',
50
- type: props.iconType
51
- }));
52
- }
53
- }
54
- return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
55
- dangerouslySetGlyph: dangerouslySetGlyph,
56
- size: size
57
- }, props));
58
- });
@@ -1,59 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["dangerouslySetGlyph", "size"];
4
- import React, { memo } from 'react';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
- import { Icon as LegacyIcon } from './icon';
7
- var sizeSpacingMap = {
8
- utility: {
9
- small: 'compact',
10
- medium: 'spacious'
11
- },
12
- core: {
13
- small: 'none',
14
- medium: 'spacious'
15
- }
16
- };
17
-
18
- /**
19
- * `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
20
- *
21
- * @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
22
- * the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
23
- * `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
24
- * @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
25
- */
26
- export var IconFacade = /*#__PURE__*/memo(function IconFacade(_ref) {
27
- var dangerouslySetGlyph = _ref.dangerouslySetGlyph,
28
- size = _ref.size,
29
- props = _objectWithoutProperties(_ref, _excluded);
30
- var NewIcon = props.newIcon;
31
-
32
- // By default, the icon size will be medium for core icons and small for utility icons
33
- var iconSize = size !== null && size !== void 0 ? size : 'medium';
34
- var useNewIcon = !props.isFacadeDisabled &&
35
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
36
- fg('platform-visual-refresh-icons-legacy-facade');
37
- if (useNewIcon && NewIcon && (iconSize === 'small' || iconSize === 'medium') && !fg('platform-visual-refresh-icons-facade-removal')) {
38
- if (props.iconType === 'utility') {
39
- var Icon = NewIcon;
40
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
41
- spacing: fg('platform-visual-refresh-icons-facade-button-fix') ? sizeSpacingMap['utility'][iconSize] : 'none',
42
- color: props.primaryColor || 'currentColor',
43
- type: props.iconType
44
- }));
45
- } else {
46
- var _Icon = NewIcon;
47
- return /*#__PURE__*/React.createElement(_Icon, _extends({}, props, {
48
- size: iconSize,
49
- spacing: sizeSpacingMap['core'][iconSize],
50
- color: props.primaryColor || 'currentColor',
51
- type: props.iconType
52
- }));
53
- }
54
- }
55
- return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
56
- dangerouslySetGlyph: dangerouslySetGlyph,
57
- size: size
58
- }, props));
59
- });
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { IconFacadeProps } 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<IconFacadeProps>;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { IconFacadeProps } 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<IconFacadeProps>;