@atlaskit/icon 32.0.0 → 32.0.1

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 (1110) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/index.tsx +31 -1
  3. package/codemods/__tests__/icon-spacing-to-box-primitive.test.tsx +320 -0
  4. package/codemods/icon-spacing-to-box-primitive/index.tsx +419 -0
  5. package/dist/cjs/components/icon-new.js +1 -1
  6. package/dist/cjs/components/icon-tile/icon-tile-new.js +1 -1
  7. package/dist/cjs/components/icon-tile/icon-tile-old.js +1 -1
  8. package/dist/cjs/components/icon.js +1 -1
  9. package/dist/cjs/components/skeleton.js +1 -1
  10. package/dist/cjs/components/svg.js +1 -1
  11. package/dist/cjs/entry-points/metadata.js +2 -1
  12. package/dist/cjs/metadata-core.js +192 -0
  13. package/dist/cjs/metadata.js +3960 -0
  14. package/dist/es2019/components/icon-new.js +1 -1
  15. package/dist/es2019/components/icon-tile/icon-tile-new.js +1 -1
  16. package/dist/es2019/components/icon-tile/icon-tile-old.js +1 -1
  17. package/dist/es2019/components/icon.js +1 -1
  18. package/dist/es2019/components/skeleton.js +1 -1
  19. package/dist/es2019/components/svg.js +1 -1
  20. package/dist/es2019/entry-points/metadata.js +1 -1
  21. package/dist/es2019/metadata-core.js +192 -0
  22. package/dist/es2019/metadata.js +2516 -0
  23. package/dist/esm/components/icon-new.js +1 -1
  24. package/dist/esm/components/icon-tile/icon-tile-new.js +1 -1
  25. package/dist/esm/components/icon-tile/icon-tile-old.js +1 -1
  26. package/dist/esm/components/icon.js +1 -1
  27. package/dist/esm/components/skeleton.js +1 -1
  28. package/dist/esm/components/svg.js +1 -1
  29. package/dist/esm/entry-points/metadata.js +1 -1
  30. package/dist/esm/metadata-core.js +192 -0
  31. package/dist/esm/metadata.js +3237 -0
  32. package/dist/types/entry-points/metadata.d.ts +1 -1
  33. package/dist/types/metadata-core.d.ts +4 -0
  34. package/dist/types/metadata.d.ts +19 -0
  35. package/dist/types-ts4.5/entry-points/metadata.d.ts +1 -1
  36. package/dist/types-ts4.5/metadata-core.d.ts +4 -0
  37. package/dist/types-ts4.5/metadata.d.ts +19 -0
  38. package/docs/ai/icon-instructions.md +3 -3
  39. package/glyph/activity.d.ts +9 -0
  40. package/glyph/activity.js +14 -0
  41. package/glyph/add-circle.d.ts +9 -0
  42. package/glyph/add-circle.js +14 -0
  43. package/glyph/add-item.d.ts +9 -0
  44. package/glyph/add-item.js +14 -0
  45. package/glyph/add.d.ts +9 -0
  46. package/glyph/add.js +14 -0
  47. package/glyph/addon.d.ts +9 -0
  48. package/glyph/addon.js +14 -0
  49. package/glyph/app-access.d.ts +9 -0
  50. package/glyph/app-access.js +14 -0
  51. package/glyph/app-switcher.d.ts +9 -0
  52. package/glyph/app-switcher.js +14 -0
  53. package/glyph/archive.d.ts +9 -0
  54. package/glyph/archive.js +14 -0
  55. package/glyph/arrow-down-circle.d.ts +9 -0
  56. package/glyph/arrow-down-circle.js +14 -0
  57. package/glyph/arrow-down.d.ts +9 -0
  58. package/glyph/arrow-down.js +14 -0
  59. package/glyph/arrow-left-circle.d.ts +9 -0
  60. package/glyph/arrow-left-circle.js +14 -0
  61. package/glyph/arrow-left.d.ts +9 -0
  62. package/glyph/arrow-left.js +14 -0
  63. package/glyph/arrow-right-circle.d.ts +9 -0
  64. package/glyph/arrow-right-circle.js +14 -0
  65. package/glyph/arrow-right.d.ts +9 -0
  66. package/glyph/arrow-right.js +14 -0
  67. package/glyph/arrow-up-circle.d.ts +9 -0
  68. package/glyph/arrow-up-circle.js +14 -0
  69. package/glyph/arrow-up.d.ts +9 -0
  70. package/glyph/arrow-up.js +14 -0
  71. package/glyph/attachment.d.ts +9 -0
  72. package/glyph/attachment.js +14 -0
  73. package/glyph/audio-circle.d.ts +9 -0
  74. package/glyph/audio-circle.js +14 -0
  75. package/glyph/audio.d.ts +9 -0
  76. package/glyph/audio.js +14 -0
  77. package/glyph/backlog.d.ts +9 -0
  78. package/glyph/backlog.js +14 -0
  79. package/glyph/billing-filled.d.ts +9 -0
  80. package/glyph/billing-filled.js +14 -0
  81. package/glyph/billing.d.ts +9 -0
  82. package/glyph/billing.js +14 -0
  83. package/glyph/bitbucket/branches.d.ts +9 -0
  84. package/glyph/bitbucket/branches.js +14 -0
  85. package/glyph/bitbucket/builds.d.ts +9 -0
  86. package/glyph/bitbucket/builds.js +14 -0
  87. package/glyph/bitbucket/clone.d.ts +9 -0
  88. package/glyph/bitbucket/clone.js +14 -0
  89. package/glyph/bitbucket/commits.d.ts +9 -0
  90. package/glyph/bitbucket/commits.js +14 -0
  91. package/glyph/bitbucket/compare.d.ts +9 -0
  92. package/glyph/bitbucket/compare.js +14 -0
  93. package/glyph/bitbucket/forks.d.ts +9 -0
  94. package/glyph/bitbucket/forks.js +14 -0
  95. package/glyph/bitbucket/output.d.ts +9 -0
  96. package/glyph/bitbucket/output.js +14 -0
  97. package/glyph/bitbucket/pipelines.d.ts +9 -0
  98. package/glyph/bitbucket/pipelines.js +14 -0
  99. package/glyph/bitbucket/pullrequests.d.ts +9 -0
  100. package/glyph/bitbucket/pullrequests.js +14 -0
  101. package/glyph/bitbucket/repos.d.ts +9 -0
  102. package/glyph/bitbucket/repos.js +14 -0
  103. package/glyph/bitbucket/snippets.d.ts +9 -0
  104. package/glyph/bitbucket/snippets.js +14 -0
  105. package/glyph/bitbucket/source.d.ts +9 -0
  106. package/glyph/bitbucket/source.js +14 -0
  107. package/glyph/board.d.ts +9 -0
  108. package/glyph/board.js +14 -0
  109. package/glyph/book.d.ts +9 -0
  110. package/glyph/book.js +14 -0
  111. package/glyph/bullet-list.d.ts +9 -0
  112. package/glyph/bullet-list.js +14 -0
  113. package/glyph/calendar-filled.d.ts +9 -0
  114. package/glyph/calendar-filled.js +14 -0
  115. package/glyph/calendar.d.ts +9 -0
  116. package/glyph/calendar.js +14 -0
  117. package/glyph/camera-filled.d.ts +9 -0
  118. package/glyph/camera-filled.js +14 -0
  119. package/glyph/camera-rotate.d.ts +9 -0
  120. package/glyph/camera-rotate.js +14 -0
  121. package/glyph/camera-take-picture.d.ts +9 -0
  122. package/glyph/camera-take-picture.js +14 -0
  123. package/glyph/camera.d.ts +9 -0
  124. package/glyph/camera.js +14 -0
  125. package/glyph/canvas.d.ts +9 -0
  126. package/glyph/canvas.js +14 -0
  127. package/glyph/check-circle-outline.d.ts +9 -0
  128. package/glyph/check-circle-outline.js +14 -0
  129. package/glyph/check-circle.d.ts +9 -0
  130. package/glyph/check-circle.js +14 -0
  131. package/glyph/check.d.ts +9 -0
  132. package/glyph/check.js +14 -0
  133. package/glyph/checkbox-indeterminate.d.ts +9 -0
  134. package/glyph/checkbox-indeterminate.js +14 -0
  135. package/glyph/checkbox.d.ts +9 -0
  136. package/glyph/checkbox.js +14 -0
  137. package/glyph/chevron-down-circle.d.ts +9 -0
  138. package/glyph/chevron-down-circle.js +14 -0
  139. package/glyph/chevron-down.d.ts +9 -0
  140. package/glyph/chevron-down.js +14 -0
  141. package/glyph/chevron-left-circle.d.ts +9 -0
  142. package/glyph/chevron-left-circle.js +14 -0
  143. package/glyph/chevron-left-large.d.ts +9 -0
  144. package/glyph/chevron-left-large.js +14 -0
  145. package/glyph/chevron-left.d.ts +9 -0
  146. package/glyph/chevron-left.js +14 -0
  147. package/glyph/chevron-right-circle.d.ts +9 -0
  148. package/glyph/chevron-right-circle.js +14 -0
  149. package/glyph/chevron-right-large.d.ts +9 -0
  150. package/glyph/chevron-right-large.js +14 -0
  151. package/glyph/chevron-right.d.ts +9 -0
  152. package/glyph/chevron-right.js +14 -0
  153. package/glyph/chevron-up-circle.d.ts +9 -0
  154. package/glyph/chevron-up-circle.js +14 -0
  155. package/glyph/chevron-up.d.ts +9 -0
  156. package/glyph/chevron-up.js +14 -0
  157. package/glyph/child-issues.d.ts +9 -0
  158. package/glyph/child-issues.js +14 -0
  159. package/glyph/code.d.ts +9 -0
  160. package/glyph/code.js +14 -0
  161. package/glyph/comment.d.ts +9 -0
  162. package/glyph/comment.js +14 -0
  163. package/glyph/component.d.ts +9 -0
  164. package/glyph/component.js +14 -0
  165. package/glyph/copy.d.ts +9 -0
  166. package/glyph/copy.js +14 -0
  167. package/glyph/creditcard-filled.d.ts +9 -0
  168. package/glyph/creditcard-filled.js +14 -0
  169. package/glyph/creditcard.d.ts +9 -0
  170. package/glyph/creditcard.js +14 -0
  171. package/glyph/cross-circle.d.ts +9 -0
  172. package/glyph/cross-circle.js +14 -0
  173. package/glyph/cross.d.ts +9 -0
  174. package/glyph/cross.js +14 -0
  175. package/glyph/dashboard.d.ts +9 -0
  176. package/glyph/dashboard.js +14 -0
  177. package/glyph/decision.d.ts +9 -0
  178. package/glyph/decision.js +14 -0
  179. package/glyph/department.d.ts +9 -0
  180. package/glyph/department.js +14 -0
  181. package/glyph/detail-view.d.ts +9 -0
  182. package/glyph/detail-view.js +14 -0
  183. package/glyph/discover-filled.d.ts +9 -0
  184. package/glyph/discover-filled.js +14 -0
  185. package/glyph/discover.d.ts +9 -0
  186. package/glyph/discover.js +14 -0
  187. package/glyph/document-filled.d.ts +9 -0
  188. package/glyph/document-filled.js +14 -0
  189. package/glyph/document.d.ts +9 -0
  190. package/glyph/document.js +14 -0
  191. package/glyph/documents.d.ts +9 -0
  192. package/glyph/documents.js +14 -0
  193. package/glyph/download.d.ts +9 -0
  194. package/glyph/download.js +14 -0
  195. package/glyph/drag-handler.d.ts +9 -0
  196. package/glyph/drag-handler.js +14 -0
  197. package/glyph/dropbox.d.ts +9 -0
  198. package/glyph/dropbox.js +14 -0
  199. package/glyph/edit-filled.d.ts +9 -0
  200. package/glyph/edit-filled.js +14 -0
  201. package/glyph/edit.d.ts +9 -0
  202. package/glyph/edit.js +14 -0
  203. package/glyph/editor/add.d.ts +9 -0
  204. package/glyph/editor/add.js +14 -0
  205. package/glyph/editor/addon.d.ts +9 -0
  206. package/glyph/editor/addon.js +14 -0
  207. package/glyph/editor/advanced.d.ts +9 -0
  208. package/glyph/editor/advanced.js +14 -0
  209. package/glyph/editor/align-center.d.ts +9 -0
  210. package/glyph/editor/align-center.js +14 -0
  211. package/glyph/editor/align-image-center.d.ts +9 -0
  212. package/glyph/editor/align-image-center.js +14 -0
  213. package/glyph/editor/align-image-left.d.ts +9 -0
  214. package/glyph/editor/align-image-left.js +14 -0
  215. package/glyph/editor/align-image-right.d.ts +9 -0
  216. package/glyph/editor/align-image-right.js +14 -0
  217. package/glyph/editor/align-left.d.ts +9 -0
  218. package/glyph/editor/align-left.js +14 -0
  219. package/glyph/editor/align-right.d.ts +9 -0
  220. package/glyph/editor/align-right.js +14 -0
  221. package/glyph/editor/attachment.d.ts +9 -0
  222. package/glyph/editor/attachment.js +14 -0
  223. package/glyph/editor/background-color.d.ts +9 -0
  224. package/glyph/editor/background-color.js +14 -0
  225. package/glyph/editor/bold.d.ts +9 -0
  226. package/glyph/editor/bold.js +14 -0
  227. package/glyph/editor/bullet-list.d.ts +9 -0
  228. package/glyph/editor/bullet-list.js +14 -0
  229. package/glyph/editor/close.d.ts +9 -0
  230. package/glyph/editor/close.js +14 -0
  231. package/glyph/editor/code.d.ts +9 -0
  232. package/glyph/editor/code.js +14 -0
  233. package/glyph/editor/collapse.d.ts +9 -0
  234. package/glyph/editor/collapse.js +14 -0
  235. package/glyph/editor/date.d.ts +9 -0
  236. package/glyph/editor/date.js +14 -0
  237. package/glyph/editor/decision.d.ts +9 -0
  238. package/glyph/editor/decision.js +14 -0
  239. package/glyph/editor/divider.d.ts +9 -0
  240. package/glyph/editor/divider.js +14 -0
  241. package/glyph/editor/done.d.ts +9 -0
  242. package/glyph/editor/done.js +14 -0
  243. package/glyph/editor/edit.d.ts +9 -0
  244. package/glyph/editor/edit.js +14 -0
  245. package/glyph/editor/emoji.d.ts +9 -0
  246. package/glyph/editor/emoji.js +14 -0
  247. package/glyph/editor/error.d.ts +9 -0
  248. package/glyph/editor/error.js +14 -0
  249. package/glyph/editor/expand.d.ts +9 -0
  250. package/glyph/editor/expand.js +14 -0
  251. package/glyph/editor/feedback.d.ts +9 -0
  252. package/glyph/editor/feedback.js +14 -0
  253. package/glyph/editor/file-preview.d.ts +9 -0
  254. package/glyph/editor/file-preview.js +14 -0
  255. package/glyph/editor/file.d.ts +9 -0
  256. package/glyph/editor/file.js +14 -0
  257. package/glyph/editor/help.d.ts +9 -0
  258. package/glyph/editor/help.js +14 -0
  259. package/glyph/editor/hint.d.ts +9 -0
  260. package/glyph/editor/hint.js +14 -0
  261. package/glyph/editor/horizontal-rule.d.ts +9 -0
  262. package/glyph/editor/horizontal-rule.js +14 -0
  263. package/glyph/editor/image-border.d.ts +9 -0
  264. package/glyph/editor/image-border.js +14 -0
  265. package/glyph/editor/image-resize.d.ts +9 -0
  266. package/glyph/editor/image-resize.js +14 -0
  267. package/glyph/editor/image.d.ts +9 -0
  268. package/glyph/editor/image.js +14 -0
  269. package/glyph/editor/indent.d.ts +9 -0
  270. package/glyph/editor/indent.js +14 -0
  271. package/glyph/editor/info.d.ts +9 -0
  272. package/glyph/editor/info.js +14 -0
  273. package/glyph/editor/italic.d.ts +9 -0
  274. package/glyph/editor/italic.js +14 -0
  275. package/glyph/editor/layout-single.d.ts +9 -0
  276. package/glyph/editor/layout-single.js +14 -0
  277. package/glyph/editor/layout-three-equal.d.ts +9 -0
  278. package/glyph/editor/layout-three-equal.js +14 -0
  279. package/glyph/editor/layout-three-with-sidebars.d.ts +9 -0
  280. package/glyph/editor/layout-three-with-sidebars.js +14 -0
  281. package/glyph/editor/layout-two-equal.d.ts +9 -0
  282. package/glyph/editor/layout-two-equal.js +14 -0
  283. package/glyph/editor/layout-two-left-sidebar.d.ts +9 -0
  284. package/glyph/editor/layout-two-left-sidebar.js +14 -0
  285. package/glyph/editor/layout-two-right-sidebar.d.ts +9 -0
  286. package/glyph/editor/layout-two-right-sidebar.js +14 -0
  287. package/glyph/editor/link.d.ts +9 -0
  288. package/glyph/editor/link.js +14 -0
  289. package/glyph/editor/media-center.d.ts +9 -0
  290. package/glyph/editor/media-center.js +14 -0
  291. package/glyph/editor/media-full-width.d.ts +9 -0
  292. package/glyph/editor/media-full-width.js +14 -0
  293. package/glyph/editor/media-wide.d.ts +9 -0
  294. package/glyph/editor/media-wide.js +14 -0
  295. package/glyph/editor/media-wrap-left.d.ts +9 -0
  296. package/glyph/editor/media-wrap-left.js +14 -0
  297. package/glyph/editor/media-wrap-right.d.ts +9 -0
  298. package/glyph/editor/media-wrap-right.js +14 -0
  299. package/glyph/editor/mention.d.ts +9 -0
  300. package/glyph/editor/mention.js +14 -0
  301. package/glyph/editor/more.d.ts +9 -0
  302. package/glyph/editor/more.js +14 -0
  303. package/glyph/editor/note.d.ts +9 -0
  304. package/glyph/editor/note.js +14 -0
  305. package/glyph/editor/number-list.d.ts +9 -0
  306. package/glyph/editor/number-list.js +14 -0
  307. package/glyph/editor/open.d.ts +9 -0
  308. package/glyph/editor/open.js +14 -0
  309. package/glyph/editor/outdent.d.ts +9 -0
  310. package/glyph/editor/outdent.js +14 -0
  311. package/glyph/editor/panel.d.ts +9 -0
  312. package/glyph/editor/panel.js +14 -0
  313. package/glyph/editor/photo.d.ts +9 -0
  314. package/glyph/editor/photo.js +14 -0
  315. package/glyph/editor/quote.d.ts +9 -0
  316. package/glyph/editor/quote.js +14 -0
  317. package/glyph/editor/recent.d.ts +9 -0
  318. package/glyph/editor/recent.js +14 -0
  319. package/glyph/editor/redo.d.ts +9 -0
  320. package/glyph/editor/redo.js +14 -0
  321. package/glyph/editor/remove-emoji.d.ts +9 -0
  322. package/glyph/editor/remove-emoji.js +14 -0
  323. package/glyph/editor/remove.d.ts +9 -0
  324. package/glyph/editor/remove.js +14 -0
  325. package/glyph/editor/search.d.ts +9 -0
  326. package/glyph/editor/search.js +14 -0
  327. package/glyph/editor/settings.d.ts +9 -0
  328. package/glyph/editor/settings.js +14 -0
  329. package/glyph/editor/strikethrough.d.ts +9 -0
  330. package/glyph/editor/strikethrough.js +14 -0
  331. package/glyph/editor/success.d.ts +9 -0
  332. package/glyph/editor/success.js +14 -0
  333. package/glyph/editor/table-display-options.d.ts +9 -0
  334. package/glyph/editor/table-display-options.js +14 -0
  335. package/glyph/editor/table.d.ts +9 -0
  336. package/glyph/editor/table.js +14 -0
  337. package/glyph/editor/task.d.ts +9 -0
  338. package/glyph/editor/task.js +14 -0
  339. package/glyph/editor/text-color.d.ts +9 -0
  340. package/glyph/editor/text-color.js +14 -0
  341. package/glyph/editor/text-style.d.ts +9 -0
  342. package/glyph/editor/text-style.js +14 -0
  343. package/glyph/editor/underline.d.ts +9 -0
  344. package/glyph/editor/underline.js +14 -0
  345. package/glyph/editor/undo.d.ts +9 -0
  346. package/glyph/editor/undo.js +14 -0
  347. package/glyph/editor/unlink.d.ts +9 -0
  348. package/glyph/editor/unlink.js +14 -0
  349. package/glyph/editor/warning.d.ts +9 -0
  350. package/glyph/editor/warning.js +14 -0
  351. package/glyph/email.d.ts +9 -0
  352. package/glyph/email.js +14 -0
  353. package/glyph/emoji/activity.d.ts +9 -0
  354. package/glyph/emoji/activity.js +14 -0
  355. package/glyph/emoji/atlassian.d.ts +9 -0
  356. package/glyph/emoji/atlassian.js +14 -0
  357. package/glyph/emoji/custom.d.ts +9 -0
  358. package/glyph/emoji/custom.js +14 -0
  359. package/glyph/emoji/emoji.d.ts +9 -0
  360. package/glyph/emoji/emoji.js +14 -0
  361. package/glyph/emoji/flags.d.ts +9 -0
  362. package/glyph/emoji/flags.js +14 -0
  363. package/glyph/emoji/food.d.ts +9 -0
  364. package/glyph/emoji/food.js +14 -0
  365. package/glyph/emoji/frequent.d.ts +9 -0
  366. package/glyph/emoji/frequent.js +14 -0
  367. package/glyph/emoji/keyboard.d.ts +9 -0
  368. package/glyph/emoji/keyboard.js +14 -0
  369. package/glyph/emoji/nature.d.ts +9 -0
  370. package/glyph/emoji/nature.js +14 -0
  371. package/glyph/emoji/objects.d.ts +9 -0
  372. package/glyph/emoji/objects.js +14 -0
  373. package/glyph/emoji/people.d.ts +9 -0
  374. package/glyph/emoji/people.js +14 -0
  375. package/glyph/emoji/productivity.d.ts +9 -0
  376. package/glyph/emoji/productivity.js +14 -0
  377. package/glyph/emoji/symbols.d.ts +9 -0
  378. package/glyph/emoji/symbols.js +14 -0
  379. package/glyph/emoji/travel.d.ts +9 -0
  380. package/glyph/emoji/travel.js +14 -0
  381. package/glyph/emoji-add.d.ts +9 -0
  382. package/glyph/emoji-add.js +14 -0
  383. package/glyph/emoji.d.ts +9 -0
  384. package/glyph/emoji.js +14 -0
  385. package/glyph/error.d.ts +9 -0
  386. package/glyph/error.js +14 -0
  387. package/glyph/export.d.ts +9 -0
  388. package/glyph/export.js +14 -0
  389. package/glyph/feedback.d.ts +9 -0
  390. package/glyph/feedback.js +14 -0
  391. package/glyph/file.d.ts +9 -0
  392. package/glyph/file.js +14 -0
  393. package/glyph/filter.d.ts +9 -0
  394. package/glyph/filter.js +14 -0
  395. package/glyph/flag-filled.d.ts +9 -0
  396. package/glyph/flag-filled.js +14 -0
  397. package/glyph/folder-filled.d.ts +9 -0
  398. package/glyph/folder-filled.js +14 -0
  399. package/glyph/folder.d.ts +9 -0
  400. package/glyph/folder.js +14 -0
  401. package/glyph/followers.d.ts +9 -0
  402. package/glyph/followers.js +14 -0
  403. package/glyph/following.d.ts +9 -0
  404. package/glyph/following.js +14 -0
  405. package/glyph/googledrive.d.ts +9 -0
  406. package/glyph/googledrive.js +14 -0
  407. package/glyph/graph-bar.d.ts +9 -0
  408. package/glyph/graph-bar.js +14 -0
  409. package/glyph/graph-line.d.ts +9 -0
  410. package/glyph/graph-line.js +14 -0
  411. package/glyph/gsuite.d.ts +9 -0
  412. package/glyph/gsuite.js +14 -0
  413. package/glyph/highlights.d.ts +9 -0
  414. package/glyph/highlights.js +14 -0
  415. package/glyph/hipchat/audio-only.d.ts +9 -0
  416. package/glyph/hipchat/audio-only.js +14 -0
  417. package/glyph/hipchat/chevron-double-down.d.ts +9 -0
  418. package/glyph/hipchat/chevron-double-down.js +14 -0
  419. package/glyph/hipchat/chevron-double-up.d.ts +9 -0
  420. package/glyph/hipchat/chevron-double-up.js +14 -0
  421. package/glyph/hipchat/chevron-down.d.ts +9 -0
  422. package/glyph/hipchat/chevron-down.js +14 -0
  423. package/glyph/hipchat/chevron-up.d.ts +9 -0
  424. package/glyph/hipchat/chevron-up.js +14 -0
  425. package/glyph/hipchat/dial-out.d.ts +9 -0
  426. package/glyph/hipchat/dial-out.js +14 -0
  427. package/glyph/hipchat/lobby.d.ts +9 -0
  428. package/glyph/hipchat/lobby.js +14 -0
  429. package/glyph/hipchat/media-attachment-count.d.ts +9 -0
  430. package/glyph/hipchat/media-attachment-count.js +14 -0
  431. package/glyph/hipchat/outgoing-sound.d.ts +9 -0
  432. package/glyph/hipchat/outgoing-sound.js +14 -0
  433. package/glyph/hipchat/sd-video.d.ts +9 -0
  434. package/glyph/hipchat/sd-video.js +14 -0
  435. package/glyph/home-circle.d.ts +9 -0
  436. package/glyph/home-circle.js +14 -0
  437. package/glyph/home.d.ts +9 -0
  438. package/glyph/home.js +14 -0
  439. package/glyph/image-border.d.ts +9 -0
  440. package/glyph/image-border.js +14 -0
  441. package/glyph/image-resize.d.ts +9 -0
  442. package/glyph/image-resize.js +14 -0
  443. package/glyph/image.d.ts +9 -0
  444. package/glyph/image.js +14 -0
  445. package/glyph/info.d.ts +9 -0
  446. package/glyph/info.js +14 -0
  447. package/glyph/invite-team.d.ts +9 -0
  448. package/glyph/invite-team.js +14 -0
  449. package/glyph/issue-raise.d.ts +9 -0
  450. package/glyph/issue-raise.js +14 -0
  451. package/glyph/issue.d.ts +9 -0
  452. package/glyph/issue.js +14 -0
  453. package/glyph/issues.d.ts +9 -0
  454. package/glyph/issues.js +14 -0
  455. package/glyph/jira/capture.d.ts +9 -0
  456. package/glyph/jira/capture.js +14 -0
  457. package/glyph/jira/failed-build-status.d.ts +9 -0
  458. package/glyph/jira/failed-build-status.js +14 -0
  459. package/glyph/jira/labs.d.ts +9 -0
  460. package/glyph/jira/labs.js +14 -0
  461. package/glyph/jira/test-session.d.ts +9 -0
  462. package/glyph/jira/test-session.js +14 -0
  463. package/glyph/label.d.ts +9 -0
  464. package/glyph/label.js +14 -0
  465. package/glyph/lightbulb-filled.d.ts +9 -0
  466. package/glyph/lightbulb-filled.js +14 -0
  467. package/glyph/lightbulb.d.ts +9 -0
  468. package/glyph/lightbulb.js +14 -0
  469. package/glyph/like.d.ts +9 -0
  470. package/glyph/like.js +14 -0
  471. package/glyph/link-filled.d.ts +9 -0
  472. package/glyph/link-filled.js +14 -0
  473. package/glyph/link.d.ts +9 -0
  474. package/glyph/link.js +14 -0
  475. package/glyph/list.d.ts +9 -0
  476. package/glyph/list.js +14 -0
  477. package/glyph/location.d.ts +9 -0
  478. package/glyph/location.js +14 -0
  479. package/glyph/lock-circle.d.ts +9 -0
  480. package/glyph/lock-circle.js +14 -0
  481. package/glyph/lock-filled.d.ts +9 -0
  482. package/glyph/lock-filled.js +14 -0
  483. package/glyph/lock.d.ts +9 -0
  484. package/glyph/lock.js +14 -0
  485. package/glyph/marketplace.d.ts +9 -0
  486. package/glyph/marketplace.js +14 -0
  487. package/glyph/media-services/actual-size.d.ts +9 -0
  488. package/glyph/media-services/actual-size.js +14 -0
  489. package/glyph/media-services/add-comment.d.ts +9 -0
  490. package/glyph/media-services/add-comment.js +14 -0
  491. package/glyph/media-services/annotate.d.ts +9 -0
  492. package/glyph/media-services/annotate.js +14 -0
  493. package/glyph/media-services/arrow.d.ts +9 -0
  494. package/glyph/media-services/arrow.js +14 -0
  495. package/glyph/media-services/audio.d.ts +9 -0
  496. package/glyph/media-services/audio.js +14 -0
  497. package/glyph/media-services/blur.d.ts +9 -0
  498. package/glyph/media-services/blur.js +14 -0
  499. package/glyph/media-services/brush.d.ts +9 -0
  500. package/glyph/media-services/brush.js +14 -0
  501. package/glyph/media-services/button-option.d.ts +9 -0
  502. package/glyph/media-services/button-option.js +14 -0
  503. package/glyph/media-services/code.d.ts +9 -0
  504. package/glyph/media-services/code.js +14 -0
  505. package/glyph/media-services/document.d.ts +9 -0
  506. package/glyph/media-services/document.js +14 -0
  507. package/glyph/media-services/filter.d.ts +9 -0
  508. package/glyph/media-services/filter.js +14 -0
  509. package/glyph/media-services/fit-to-page.d.ts +9 -0
  510. package/glyph/media-services/fit-to-page.js +14 -0
  511. package/glyph/media-services/full-screen.d.ts +9 -0
  512. package/glyph/media-services/full-screen.js +14 -0
  513. package/glyph/media-services/grid.d.ts +9 -0
  514. package/glyph/media-services/grid.js +14 -0
  515. package/glyph/media-services/image.d.ts +9 -0
  516. package/glyph/media-services/image.js +14 -0
  517. package/glyph/media-services/line-thickness.d.ts +9 -0
  518. package/glyph/media-services/line-thickness.js +14 -0
  519. package/glyph/media-services/line.d.ts +9 -0
  520. package/glyph/media-services/line.js +14 -0
  521. package/glyph/media-services/no-image.d.ts +9 -0
  522. package/glyph/media-services/no-image.js +14 -0
  523. package/glyph/media-services/open-mediaviewer.d.ts +9 -0
  524. package/glyph/media-services/open-mediaviewer.js +14 -0
  525. package/glyph/media-services/oval.d.ts +9 -0
  526. package/glyph/media-services/oval.js +14 -0
  527. package/glyph/media-services/pdf.d.ts +9 -0
  528. package/glyph/media-services/pdf.js +14 -0
  529. package/glyph/media-services/preselected.d.ts +9 -0
  530. package/glyph/media-services/preselected.js +14 -0
  531. package/glyph/media-services/presentation.d.ts +9 -0
  532. package/glyph/media-services/presentation.js +14 -0
  533. package/glyph/media-services/rectangle.d.ts +9 -0
  534. package/glyph/media-services/rectangle.js +14 -0
  535. package/glyph/media-services/scale-large.d.ts +9 -0
  536. package/glyph/media-services/scale-large.js +14 -0
  537. package/glyph/media-services/scale-small.d.ts +9 -0
  538. package/glyph/media-services/scale-small.js +14 -0
  539. package/glyph/media-services/spreadsheet.d.ts +9 -0
  540. package/glyph/media-services/spreadsheet.js +14 -0
  541. package/glyph/media-services/text.d.ts +9 -0
  542. package/glyph/media-services/text.js +14 -0
  543. package/glyph/media-services/unknown.d.ts +9 -0
  544. package/glyph/media-services/unknown.js +14 -0
  545. package/glyph/media-services/video.d.ts +9 -0
  546. package/glyph/media-services/video.js +14 -0
  547. package/glyph/media-services/zip.d.ts +9 -0
  548. package/glyph/media-services/zip.js +14 -0
  549. package/glyph/media-services/zoom-in.d.ts +9 -0
  550. package/glyph/media-services/zoom-in.js +14 -0
  551. package/glyph/media-services/zoom-out.d.ts +9 -0
  552. package/glyph/media-services/zoom-out.js +14 -0
  553. package/glyph/mention.d.ts +9 -0
  554. package/glyph/mention.js +14 -0
  555. package/glyph/menu-expand.d.ts +9 -0
  556. package/glyph/menu-expand.js +14 -0
  557. package/glyph/menu.d.ts +9 -0
  558. package/glyph/menu.js +14 -0
  559. package/glyph/mobile.d.ts +9 -0
  560. package/glyph/mobile.js +14 -0
  561. package/glyph/more-vertical.d.ts +9 -0
  562. package/glyph/more-vertical.js +14 -0
  563. package/glyph/more.d.ts +9 -0
  564. package/glyph/more.js +14 -0
  565. package/glyph/notification-all.d.ts +9 -0
  566. package/glyph/notification-all.js +14 -0
  567. package/glyph/notification-direct.d.ts +9 -0
  568. package/glyph/notification-direct.js +14 -0
  569. package/glyph/notification.d.ts +9 -0
  570. package/glyph/notification.js +14 -0
  571. package/glyph/office-building-filled.d.ts +9 -0
  572. package/glyph/office-building-filled.js +14 -0
  573. package/glyph/office-building.d.ts +9 -0
  574. package/glyph/office-building.js +14 -0
  575. package/glyph/open.d.ts +9 -0
  576. package/glyph/open.js +14 -0
  577. package/glyph/overview.d.ts +9 -0
  578. package/glyph/overview.js +14 -0
  579. package/glyph/page-filled.d.ts +9 -0
  580. package/glyph/page-filled.js +14 -0
  581. package/glyph/page.d.ts +9 -0
  582. package/glyph/page.js +14 -0
  583. package/glyph/pdf.d.ts +9 -0
  584. package/glyph/pdf.js +14 -0
  585. package/glyph/people-group.d.ts +9 -0
  586. package/glyph/people-group.js +14 -0
  587. package/glyph/people.d.ts +9 -0
  588. package/glyph/people.js +14 -0
  589. package/glyph/person-circle.d.ts +9 -0
  590. package/glyph/person-circle.js +14 -0
  591. package/glyph/person-with-circle.d.ts +9 -0
  592. package/glyph/person-with-circle.js +14 -0
  593. package/glyph/person-with-cross.d.ts +9 -0
  594. package/glyph/person-with-cross.js +14 -0
  595. package/glyph/person-with-tick.d.ts +9 -0
  596. package/glyph/person-with-tick.js +14 -0
  597. package/glyph/person.d.ts +9 -0
  598. package/glyph/person.js +14 -0
  599. package/glyph/portfolio.d.ts +9 -0
  600. package/glyph/portfolio.js +14 -0
  601. package/glyph/preferences.d.ts +9 -0
  602. package/glyph/preferences.js +14 -0
  603. package/glyph/premium.d.ts +9 -0
  604. package/glyph/premium.js +14 -0
  605. package/glyph/presence-active.d.ts +9 -0
  606. package/glyph/presence-active.js +14 -0
  607. package/glyph/presence-busy.d.ts +9 -0
  608. package/glyph/presence-busy.js +14 -0
  609. package/glyph/presence-unavailable.d.ts +9 -0
  610. package/glyph/presence-unavailable.js +14 -0
  611. package/glyph/question-circle.d.ts +9 -0
  612. package/glyph/question-circle.js +14 -0
  613. package/glyph/question.d.ts +9 -0
  614. package/glyph/question.js +14 -0
  615. package/glyph/questions.d.ts +9 -0
  616. package/glyph/questions.js +14 -0
  617. package/glyph/queues.d.ts +9 -0
  618. package/glyph/queues.js +14 -0
  619. package/glyph/quote.d.ts +9 -0
  620. package/glyph/quote.js +14 -0
  621. package/glyph/radio.d.ts +9 -0
  622. package/glyph/radio.js +14 -0
  623. package/glyph/recent.d.ts +9 -0
  624. package/glyph/recent.js +14 -0
  625. package/glyph/redo.d.ts +9 -0
  626. package/glyph/redo.js +14 -0
  627. package/glyph/refresh.d.ts +9 -0
  628. package/glyph/refresh.js +14 -0
  629. package/glyph/retry.d.ts +9 -0
  630. package/glyph/retry.js +14 -0
  631. package/glyph/roadmap.d.ts +9 -0
  632. package/glyph/roadmap.js +14 -0
  633. package/glyph/room-menu.d.ts +9 -0
  634. package/glyph/room-menu.js +14 -0
  635. package/glyph/schedule-filled.d.ts +9 -0
  636. package/glyph/schedule-filled.js +14 -0
  637. package/glyph/schedule.d.ts +9 -0
  638. package/glyph/schedule.js +14 -0
  639. package/glyph/screen.d.ts +9 -0
  640. package/glyph/screen.js +14 -0
  641. package/glyph/search.d.ts +9 -0
  642. package/glyph/search.js +14 -0
  643. package/glyph/select-clear.d.ts +9 -0
  644. package/glyph/select-clear.js +14 -0
  645. package/glyph/send.d.ts +9 -0
  646. package/glyph/send.js +14 -0
  647. package/glyph/settings.d.ts +9 -0
  648. package/glyph/settings.js +14 -0
  649. package/glyph/share.d.ts +9 -0
  650. package/glyph/share.js +14 -0
  651. package/glyph/ship.d.ts +9 -0
  652. package/glyph/ship.js +14 -0
  653. package/glyph/shortcut.d.ts +9 -0
  654. package/glyph/shortcut.js +14 -0
  655. package/glyph/sign-in.d.ts +9 -0
  656. package/glyph/sign-in.js +14 -0
  657. package/glyph/sign-out.d.ts +9 -0
  658. package/glyph/sign-out.js +14 -0
  659. package/glyph/sprint.d.ts +9 -0
  660. package/glyph/sprint.js +14 -0
  661. package/glyph/star-filled.d.ts +9 -0
  662. package/glyph/star-filled.js +14 -0
  663. package/glyph/star-large.d.ts +9 -0
  664. package/glyph/star-large.js +14 -0
  665. package/glyph/star.d.ts +9 -0
  666. package/glyph/star.js +14 -0
  667. package/glyph/status.d.ts +9 -0
  668. package/glyph/status.js +14 -0
  669. package/glyph/stopwatch.d.ts +9 -0
  670. package/glyph/stopwatch.js +14 -0
  671. package/glyph/subtask.d.ts +9 -0
  672. package/glyph/subtask.js +14 -0
  673. package/glyph/suitcase.d.ts +9 -0
  674. package/glyph/suitcase.js +14 -0
  675. package/glyph/switcher.d.ts +9 -0
  676. package/glyph/switcher.js +14 -0
  677. package/glyph/table.d.ts +9 -0
  678. package/glyph/table.js +14 -0
  679. package/glyph/task.d.ts +9 -0
  680. package/glyph/task.js +14 -0
  681. package/glyph/teams.d.ts +9 -0
  682. package/glyph/teams.js +14 -0
  683. package/glyph/trash.d.ts +9 -0
  684. package/glyph/trash.js +14 -0
  685. package/glyph/tray.d.ts +9 -0
  686. package/glyph/tray.js +14 -0
  687. package/glyph/undo.d.ts +9 -0
  688. package/glyph/undo.js +14 -0
  689. package/glyph/unlink.d.ts +9 -0
  690. package/glyph/unlink.js +14 -0
  691. package/glyph/unlock-circle.d.ts +9 -0
  692. package/glyph/unlock-circle.js +14 -0
  693. package/glyph/unlock-filled.d.ts +9 -0
  694. package/glyph/unlock-filled.js +14 -0
  695. package/glyph/unlock.d.ts +9 -0
  696. package/glyph/unlock.js +14 -0
  697. package/glyph/upload.d.ts +9 -0
  698. package/glyph/upload.js +14 -0
  699. package/glyph/user-avatar-circle.d.ts +9 -0
  700. package/glyph/user-avatar-circle.js +14 -0
  701. package/glyph/vid-audio-muted.d.ts +9 -0
  702. package/glyph/vid-audio-muted.js +14 -0
  703. package/glyph/vid-audio-on.d.ts +9 -0
  704. package/glyph/vid-audio-on.js +14 -0
  705. package/glyph/vid-backward.d.ts +9 -0
  706. package/glyph/vid-backward.js +14 -0
  707. package/glyph/vid-camera-off.d.ts +9 -0
  708. package/glyph/vid-camera-off.js +14 -0
  709. package/glyph/vid-camera-on.d.ts +9 -0
  710. package/glyph/vid-camera-on.js +14 -0
  711. package/glyph/vid-connection-circle.d.ts +9 -0
  712. package/glyph/vid-connection-circle.js +14 -0
  713. package/glyph/vid-forward.d.ts +9 -0
  714. package/glyph/vid-forward.js +14 -0
  715. package/glyph/vid-full-screen-off.d.ts +9 -0
  716. package/glyph/vid-full-screen-off.js +14 -0
  717. package/glyph/vid-full-screen-on.d.ts +9 -0
  718. package/glyph/vid-full-screen-on.js +14 -0
  719. package/glyph/vid-hang-up.d.ts +9 -0
  720. package/glyph/vid-hang-up.js +14 -0
  721. package/glyph/vid-hd-circle.d.ts +9 -0
  722. package/glyph/vid-hd-circle.js +14 -0
  723. package/glyph/vid-pause.d.ts +9 -0
  724. package/glyph/vid-pause.js +14 -0
  725. package/glyph/vid-play.d.ts +9 -0
  726. package/glyph/vid-play.js +14 -0
  727. package/glyph/vid-raised-hand.d.ts +9 -0
  728. package/glyph/vid-raised-hand.js +14 -0
  729. package/glyph/vid-share-screen.d.ts +9 -0
  730. package/glyph/vid-share-screen.js +14 -0
  731. package/glyph/vid-speaking-circle.d.ts +9 -0
  732. package/glyph/vid-speaking-circle.js +14 -0
  733. package/glyph/vid-volume-full.d.ts +9 -0
  734. package/glyph/vid-volume-full.js +14 -0
  735. package/glyph/vid-volume-half.d.ts +9 -0
  736. package/glyph/vid-volume-half.js +14 -0
  737. package/glyph/vid-volume-muted.d.ts +9 -0
  738. package/glyph/vid-volume-muted.js +14 -0
  739. package/glyph/video-circle.d.ts +9 -0
  740. package/glyph/video-circle.js +14 -0
  741. package/glyph/video-filled.d.ts +9 -0
  742. package/glyph/video-filled.js +14 -0
  743. package/glyph/warning.d.ts +9 -0
  744. package/glyph/warning.js +14 -0
  745. package/glyph/watch-filled.d.ts +9 -0
  746. package/glyph/watch-filled.js +14 -0
  747. package/glyph/watch.d.ts +9 -0
  748. package/glyph/watch.js +14 -0
  749. package/glyph/world-small.d.ts +9 -0
  750. package/glyph/world-small.js +14 -0
  751. package/glyph/world.d.ts +9 -0
  752. package/glyph/world.js +14 -0
  753. package/package.json +7 -7
  754. package/svgs_raw/activity.svg +13 -0
  755. package/svgs_raw/add-circle.svg +13 -0
  756. package/svgs_raw/add-item.svg +13 -0
  757. package/svgs_raw/add.svg +12 -0
  758. package/svgs_raw/addon.svg +13 -0
  759. package/svgs_raw/app-access.svg +15 -0
  760. package/svgs_raw/app-switcher.svg +3 -0
  761. package/svgs_raw/archive.svg +3 -0
  762. package/svgs_raw/arrow-down-circle.svg +13 -0
  763. package/svgs_raw/arrow-down.svg +12 -0
  764. package/svgs_raw/arrow-left-circle.svg +13 -0
  765. package/svgs_raw/arrow-left.svg +3 -0
  766. package/svgs_raw/arrow-right-circle.svg +13 -0
  767. package/svgs_raw/arrow-right.svg +12 -0
  768. package/svgs_raw/arrow-up-circle.svg +13 -0
  769. package/svgs_raw/arrow-up.svg +12 -0
  770. package/svgs_raw/attachment.svg +12 -0
  771. package/svgs_raw/audio-circle.svg +13 -0
  772. package/svgs_raw/audio.svg +12 -0
  773. package/svgs_raw/backlog.svg +15 -0
  774. package/svgs_raw/billing-filled.svg +19 -0
  775. package/svgs_raw/billing.svg +19 -0
  776. package/svgs_raw/bitbucket/branches.svg +12 -0
  777. package/svgs_raw/bitbucket/builds.svg +16 -0
  778. package/svgs_raw/bitbucket/clone.svg +16 -0
  779. package/svgs_raw/bitbucket/commits.svg +12 -0
  780. package/svgs_raw/bitbucket/compare.svg +15 -0
  781. package/svgs_raw/bitbucket/forks.svg +16 -0
  782. package/svgs_raw/bitbucket/output.svg +15 -0
  783. package/svgs_raw/bitbucket/pipelines.svg +13 -0
  784. package/svgs_raw/bitbucket/pullrequests.svg +13 -0
  785. package/svgs_raw/bitbucket/repos.svg +14 -0
  786. package/svgs_raw/bitbucket/snippets.svg +13 -0
  787. package/svgs_raw/bitbucket/source.svg +13 -0
  788. package/svgs_raw/board.svg +14 -0
  789. package/svgs_raw/book.svg +16 -0
  790. package/svgs_raw/bullet-list.svg +17 -0
  791. package/svgs_raw/calendar-filled.svg +20 -0
  792. package/svgs_raw/calendar.svg +12 -0
  793. package/svgs_raw/camera-filled.svg +14 -0
  794. package/svgs_raw/camera-rotate.svg +16 -0
  795. package/svgs_raw/camera-take-picture.svg +13 -0
  796. package/svgs_raw/camera.svg +15 -0
  797. package/svgs_raw/canvas.svg +17 -0
  798. package/svgs_raw/check-circle-outline.svg +11 -0
  799. package/svgs_raw/check-circle.svg +13 -0
  800. package/svgs_raw/check.svg +12 -0
  801. package/svgs_raw/checkbox-indeterminate.svg +13 -0
  802. package/svgs_raw/checkbox.svg +13 -0
  803. package/svgs_raw/chevron-down-circle.svg +13 -0
  804. package/svgs_raw/chevron-down.svg +12 -0
  805. package/svgs_raw/chevron-left-circle.svg +13 -0
  806. package/svgs_raw/chevron-left-large.svg +3 -0
  807. package/svgs_raw/chevron-left.svg +12 -0
  808. package/svgs_raw/chevron-right-circle.svg +13 -0
  809. package/svgs_raw/chevron-right-large.svg +3 -0
  810. package/svgs_raw/chevron-right.svg +12 -0
  811. package/svgs_raw/chevron-up-circle.svg +13 -0
  812. package/svgs_raw/chevron-up.svg +12 -0
  813. package/svgs_raw/child-issues.svg +16 -0
  814. package/svgs_raw/code.svg +14 -0
  815. package/svgs_raw/comment.svg +14 -0
  816. package/svgs_raw/component.svg +14 -0
  817. package/svgs_raw/copy.svg +13 -0
  818. package/svgs_raw/creditcard-filled.svg +13 -0
  819. package/svgs_raw/creditcard.svg +13 -0
  820. package/svgs_raw/cross-circle.svg +14 -0
  821. package/svgs_raw/cross.svg +12 -0
  822. package/svgs_raw/dashboard.svg +14 -0
  823. package/svgs_raw/decision.svg +14 -0
  824. package/svgs_raw/department.svg +3 -0
  825. package/svgs_raw/detail-view.svg +16 -0
  826. package/svgs_raw/discover-filled.svg +12 -0
  827. package/svgs_raw/discover.svg +13 -0
  828. package/svgs_raw/document-filled.svg +12 -0
  829. package/svgs_raw/document.svg +12 -0
  830. package/svgs_raw/documents.svg +13 -0
  831. package/svgs_raw/download.svg +14 -0
  832. package/svgs_raw/drag-handler.svg +14 -0
  833. package/svgs_raw/dropbox.svg +3 -0
  834. package/svgs_raw/edit-filled.svg +13 -0
  835. package/svgs_raw/edit.svg +13 -0
  836. package/svgs_raw/editor/add.svg +12 -0
  837. package/svgs_raw/editor/addon.svg +12 -0
  838. package/svgs_raw/editor/advanced.svg +12 -0
  839. package/svgs_raw/editor/align-center.svg +12 -0
  840. package/svgs_raw/editor/align-image-center.svg +1 -0
  841. package/svgs_raw/editor/align-image-left.svg +1 -0
  842. package/svgs_raw/editor/align-image-right.svg +1 -0
  843. package/svgs_raw/editor/align-left.svg +12 -0
  844. package/svgs_raw/editor/align-right.svg +12 -0
  845. package/svgs_raw/editor/attachment.svg +12 -0
  846. package/svgs_raw/editor/background-color.svg +10 -0
  847. package/svgs_raw/editor/bold.svg +12 -0
  848. package/svgs_raw/editor/bullet-list.svg +12 -0
  849. package/svgs_raw/editor/close.svg +12 -0
  850. package/svgs_raw/editor/code.svg +12 -0
  851. package/svgs_raw/editor/collapse.svg +9 -0
  852. package/svgs_raw/editor/date.svg +12 -0
  853. package/svgs_raw/editor/decision.svg +12 -0
  854. package/svgs_raw/editor/divider.svg +12 -0
  855. package/svgs_raw/editor/done.svg +12 -0
  856. package/svgs_raw/editor/edit.svg +12 -0
  857. package/svgs_raw/editor/emoji.svg +12 -0
  858. package/svgs_raw/editor/error.svg +12 -0
  859. package/svgs_raw/editor/expand.svg +9 -0
  860. package/svgs_raw/editor/feedback.svg +12 -0
  861. package/svgs_raw/editor/file-preview.svg +4 -0
  862. package/svgs_raw/editor/file.svg +12 -0
  863. package/svgs_raw/editor/help.svg +12 -0
  864. package/svgs_raw/editor/hint.svg +12 -0
  865. package/svgs_raw/editor/horizontal-rule.svg +10 -0
  866. package/svgs_raw/editor/image-border.svg +12 -0
  867. package/svgs_raw/editor/image-resize.svg +12 -0
  868. package/svgs_raw/editor/image.svg +12 -0
  869. package/svgs_raw/editor/indent.svg +12 -0
  870. package/svgs_raw/editor/info.svg +12 -0
  871. package/svgs_raw/editor/italic.svg +12 -0
  872. package/svgs_raw/editor/layout-single.svg +3 -0
  873. package/svgs_raw/editor/layout-three-equal.svg +10 -0
  874. package/svgs_raw/editor/layout-three-with-sidebars.svg +10 -0
  875. package/svgs_raw/editor/layout-two-equal.svg +10 -0
  876. package/svgs_raw/editor/layout-two-left-sidebar.svg +10 -0
  877. package/svgs_raw/editor/layout-two-right-sidebar.svg +10 -0
  878. package/svgs_raw/editor/link.svg +12 -0
  879. package/svgs_raw/editor/media-center.svg +12 -0
  880. package/svgs_raw/editor/media-full-width.svg +12 -0
  881. package/svgs_raw/editor/media-wide.svg +12 -0
  882. package/svgs_raw/editor/media-wrap-left.svg +12 -0
  883. package/svgs_raw/editor/media-wrap-right.svg +12 -0
  884. package/svgs_raw/editor/mention.svg +12 -0
  885. package/svgs_raw/editor/more.svg +12 -0
  886. package/svgs_raw/editor/note.svg +12 -0
  887. package/svgs_raw/editor/number-list.svg +12 -0
  888. package/svgs_raw/editor/open.svg +12 -0
  889. package/svgs_raw/editor/outdent.svg +12 -0
  890. package/svgs_raw/editor/panel.svg +12 -0
  891. package/svgs_raw/editor/photo.svg +12 -0
  892. package/svgs_raw/editor/quote.svg +12 -0
  893. package/svgs_raw/editor/recent.svg +12 -0
  894. package/svgs_raw/editor/redo.svg +12 -0
  895. package/svgs_raw/editor/remove-emoji.svg +4 -0
  896. package/svgs_raw/editor/remove.svg +12 -0
  897. package/svgs_raw/editor/search.svg +12 -0
  898. package/svgs_raw/editor/settings.svg +9 -0
  899. package/svgs_raw/editor/strikethrough.svg +12 -0
  900. package/svgs_raw/editor/success.svg +12 -0
  901. package/svgs_raw/editor/table-display-options.svg +10 -0
  902. package/svgs_raw/editor/table.svg +12 -0
  903. package/svgs_raw/editor/task.svg +12 -0
  904. package/svgs_raw/editor/text-color.svg +12 -0
  905. package/svgs_raw/editor/text-style.svg +12 -0
  906. package/svgs_raw/editor/underline.svg +12 -0
  907. package/svgs_raw/editor/undo.svg +12 -0
  908. package/svgs_raw/editor/unlink.svg +12 -0
  909. package/svgs_raw/editor/warning.svg +12 -0
  910. package/svgs_raw/email.svg +13 -0
  911. package/svgs_raw/emoji/activity.svg +12 -0
  912. package/svgs_raw/emoji/atlassian.svg +15 -0
  913. package/svgs_raw/emoji/custom.svg +12 -0
  914. package/svgs_raw/emoji/emoji.svg +12 -0
  915. package/svgs_raw/emoji/flags.svg +12 -0
  916. package/svgs_raw/emoji/food.svg +12 -0
  917. package/svgs_raw/emoji/frequent.svg +12 -0
  918. package/svgs_raw/emoji/keyboard.svg +13 -0
  919. package/svgs_raw/emoji/nature.svg +12 -0
  920. package/svgs_raw/emoji/objects.svg +12 -0
  921. package/svgs_raw/emoji/people.svg +12 -0
  922. package/svgs_raw/emoji/productivity.svg +1 -0
  923. package/svgs_raw/emoji/symbols.svg +12 -0
  924. package/svgs_raw/emoji/travel.svg +12 -0
  925. package/svgs_raw/emoji-add.svg +12 -0
  926. package/svgs_raw/emoji.svg +12 -0
  927. package/svgs_raw/error.svg +14 -0
  928. package/svgs_raw/export.svg +12 -0
  929. package/svgs_raw/feedback.svg +15 -0
  930. package/svgs_raw/file.svg +14 -0
  931. package/svgs_raw/filter.svg +14 -0
  932. package/svgs_raw/flag-filled.svg +12 -0
  933. package/svgs_raw/folder-filled.svg +12 -0
  934. package/svgs_raw/folder.svg +12 -0
  935. package/svgs_raw/followers.svg +14 -0
  936. package/svgs_raw/following.svg +14 -0
  937. package/svgs_raw/googledrive.svg +12 -0
  938. package/svgs_raw/graph-bar.svg +15 -0
  939. package/svgs_raw/graph-line.svg +14 -0
  940. package/svgs_raw/gsuite.svg +12 -0
  941. package/svgs_raw/highlights.svg +13 -0
  942. package/svgs_raw/hipchat/audio-only.svg +13 -0
  943. package/svgs_raw/hipchat/chevron-double-down.svg +13 -0
  944. package/svgs_raw/hipchat/chevron-double-up.svg +13 -0
  945. package/svgs_raw/hipchat/chevron-down.svg +12 -0
  946. package/svgs_raw/hipchat/chevron-up.svg +12 -0
  947. package/svgs_raw/hipchat/dial-out.svg +12 -0
  948. package/svgs_raw/hipchat/lobby.svg +15 -0
  949. package/svgs_raw/hipchat/media-attachment-count.svg +12 -0
  950. package/svgs_raw/hipchat/outgoing-sound.svg +15 -0
  951. package/svgs_raw/hipchat/sd-video.svg +12 -0
  952. package/svgs_raw/home-circle.svg +9 -0
  953. package/svgs_raw/home.svg +9 -0
  954. package/svgs_raw/image-border.svg +16 -0
  955. package/svgs_raw/image-resize.svg +15 -0
  956. package/svgs_raw/image.svg +12 -0
  957. package/svgs_raw/info.svg +14 -0
  958. package/svgs_raw/invite-team.svg +15 -0
  959. package/svgs_raw/issue-raise.svg +14 -0
  960. package/svgs_raw/issue.svg +13 -0
  961. package/svgs_raw/issues.svg +15 -0
  962. package/svgs_raw/jira/capture.svg +12 -0
  963. package/svgs_raw/jira/failed-build-status.svg +14 -0
  964. package/svgs_raw/jira/labs.svg +14 -0
  965. package/svgs_raw/jira/test-session.svg +21 -0
  966. package/svgs_raw/label.svg +10 -0
  967. package/svgs_raw/lightbulb-filled.svg +12 -0
  968. package/svgs_raw/lightbulb.svg +12 -0
  969. package/svgs_raw/like.svg +10 -0
  970. package/svgs_raw/link-filled.svg +14 -0
  971. package/svgs_raw/link.svg +13 -0
  972. package/svgs_raw/list.svg +15 -0
  973. package/svgs_raw/location.svg +12 -0
  974. package/svgs_raw/lock-circle.svg +16 -0
  975. package/svgs_raw/lock-filled.svg +3 -0
  976. package/svgs_raw/lock.svg +13 -0
  977. package/svgs_raw/marketplace.svg +19 -0
  978. package/svgs_raw/media-services/actual-size.svg +10 -0
  979. package/svgs_raw/media-services/add-comment.svg +14 -0
  980. package/svgs_raw/media-services/annotate.svg +12 -0
  981. package/svgs_raw/media-services/arrow.svg +12 -0
  982. package/svgs_raw/media-services/audio.svg +13 -0
  983. package/svgs_raw/media-services/blur.svg +15 -0
  984. package/svgs_raw/media-services/brush.svg +12 -0
  985. package/svgs_raw/media-services/button-option.svg +12 -0
  986. package/svgs_raw/media-services/code.svg +13 -0
  987. package/svgs_raw/media-services/document.svg +15 -0
  988. package/svgs_raw/media-services/filter.svg +14 -0
  989. package/svgs_raw/media-services/fit-to-page.svg +10 -0
  990. package/svgs_raw/media-services/full-screen.svg +10 -0
  991. package/svgs_raw/media-services/grid.svg +15 -0
  992. package/svgs_raw/media-services/image.svg +15 -0
  993. package/svgs_raw/media-services/line-thickness.svg +12 -0
  994. package/svgs_raw/media-services/line.svg +12 -0
  995. package/svgs_raw/media-services/no-image.svg +12 -0
  996. package/svgs_raw/media-services/open-mediaviewer.svg +13 -0
  997. package/svgs_raw/media-services/oval.svg +12 -0
  998. package/svgs_raw/media-services/pdf.svg +16 -0
  999. package/svgs_raw/media-services/preselected.svg +12 -0
  1000. package/svgs_raw/media-services/presentation.svg +15 -0
  1001. package/svgs_raw/media-services/rectangle.svg +12 -0
  1002. package/svgs_raw/media-services/scale-large.svg +14 -0
  1003. package/svgs_raw/media-services/scale-small.svg +14 -0
  1004. package/svgs_raw/media-services/spreadsheet.svg +18 -0
  1005. package/svgs_raw/media-services/text.svg +16 -0
  1006. package/svgs_raw/media-services/unknown.svg +13 -0
  1007. package/svgs_raw/media-services/video.svg +14 -0
  1008. package/svgs_raw/media-services/zip.svg +16 -0
  1009. package/svgs_raw/media-services/zoom-in.svg +10 -0
  1010. package/svgs_raw/media-services/zoom-out.svg +10 -0
  1011. package/svgs_raw/mention.svg +14 -0
  1012. package/svgs_raw/menu-expand.svg +9 -0
  1013. package/svgs_raw/menu.svg +14 -0
  1014. package/svgs_raw/mobile.svg +3 -0
  1015. package/svgs_raw/more-vertical.svg +14 -0
  1016. package/svgs_raw/more.svg +14 -0
  1017. package/svgs_raw/notification-all.svg +17 -0
  1018. package/svgs_raw/notification-direct.svg +13 -0
  1019. package/svgs_raw/notification.svg +13 -0
  1020. package/svgs_raw/office-building-filled.svg +22 -0
  1021. package/svgs_raw/office-building.svg +22 -0
  1022. package/svgs_raw/open.svg +13 -0
  1023. package/svgs_raw/overview.svg +12 -0
  1024. package/svgs_raw/page-filled.svg +15 -0
  1025. package/svgs_raw/page.svg +15 -0
  1026. package/svgs_raw/pdf.svg +16 -0
  1027. package/svgs_raw/people-group.svg +17 -0
  1028. package/svgs_raw/people.svg +15 -0
  1029. package/svgs_raw/person-circle.svg +14 -0
  1030. package/svgs_raw/person-with-circle.svg +9 -0
  1031. package/svgs_raw/person-with-cross.svg +9 -0
  1032. package/svgs_raw/person-with-tick.svg +9 -0
  1033. package/svgs_raw/person.svg +13 -0
  1034. package/svgs_raw/portfolio.svg +12 -0
  1035. package/svgs_raw/preferences.svg +17 -0
  1036. package/svgs_raw/premium.svg +3 -0
  1037. package/svgs_raw/presence-active.svg +12 -0
  1038. package/svgs_raw/presence-busy.svg +13 -0
  1039. package/svgs_raw/presence-unavailable.svg +13 -0
  1040. package/svgs_raw/question-circle.svg +14 -0
  1041. package/svgs_raw/question.svg +14 -0
  1042. package/svgs_raw/questions.svg +12 -0
  1043. package/svgs_raw/queues.svg +12 -0
  1044. package/svgs_raw/quote.svg +12 -0
  1045. package/svgs_raw/radio.svg +13 -0
  1046. package/svgs_raw/recent.svg +12 -0
  1047. package/svgs_raw/redo.svg +13 -0
  1048. package/svgs_raw/refresh.svg +15 -0
  1049. package/svgs_raw/retry.svg +11 -0
  1050. package/svgs_raw/roadmap.svg +10 -0
  1051. package/svgs_raw/room-menu.svg +16 -0
  1052. package/svgs_raw/schedule-filled.svg +15 -0
  1053. package/svgs_raw/schedule.svg +16 -0
  1054. package/svgs_raw/screen.svg +14 -0
  1055. package/svgs_raw/search.svg +12 -0
  1056. package/svgs_raw/select-clear.svg +12 -0
  1057. package/svgs_raw/send.svg +13 -0
  1058. package/svgs_raw/settings.svg +12 -0
  1059. package/svgs_raw/share.svg +16 -0
  1060. package/svgs_raw/ship.svg +14 -0
  1061. package/svgs_raw/shortcut.svg +14 -0
  1062. package/svgs_raw/sign-in.svg +14 -0
  1063. package/svgs_raw/sign-out.svg +14 -0
  1064. package/svgs_raw/sprint.svg +9 -0
  1065. package/svgs_raw/star-filled.svg +10 -0
  1066. package/svgs_raw/star-large.svg +10 -0
  1067. package/svgs_raw/star.svg +12 -0
  1068. package/svgs_raw/status.svg +9 -0
  1069. package/svgs_raw/stopwatch.svg +9 -0
  1070. package/svgs_raw/subtask.svg +13 -0
  1071. package/svgs_raw/suitcase.svg +3 -0
  1072. package/svgs_raw/switcher.svg +13 -0
  1073. package/svgs_raw/table.svg +15 -0
  1074. package/svgs_raw/task.svg +13 -0
  1075. package/svgs_raw/teams.svg +3 -0
  1076. package/svgs_raw/trash.svg +14 -0
  1077. package/svgs_raw/tray.svg +15 -0
  1078. package/svgs_raw/undo.svg +13 -0
  1079. package/svgs_raw/unlink.svg +17 -0
  1080. package/svgs_raw/unlock-circle.svg +16 -0
  1081. package/svgs_raw/unlock-filled.svg +13 -0
  1082. package/svgs_raw/unlock.svg +14 -0
  1083. package/svgs_raw/upload.svg +14 -0
  1084. package/svgs_raw/user-avatar-circle.svg +14 -0
  1085. package/svgs_raw/vid-audio-muted.svg +10 -0
  1086. package/svgs_raw/vid-audio-on.svg +13 -0
  1087. package/svgs_raw/vid-backward.svg +3 -0
  1088. package/svgs_raw/vid-camera-off.svg +10 -0
  1089. package/svgs_raw/vid-camera-on.svg +10 -0
  1090. package/svgs_raw/vid-connection-circle.svg +15 -0
  1091. package/svgs_raw/vid-forward.svg +10 -0
  1092. package/svgs_raw/vid-full-screen-off.svg +15 -0
  1093. package/svgs_raw/vid-full-screen-on.svg +10 -0
  1094. package/svgs_raw/vid-hang-up.svg +12 -0
  1095. package/svgs_raw/vid-hd-circle.svg +13 -0
  1096. package/svgs_raw/vid-pause.svg +10 -0
  1097. package/svgs_raw/vid-play.svg +10 -0
  1098. package/svgs_raw/vid-raised-hand.svg +14 -0
  1099. package/svgs_raw/vid-share-screen.svg +16 -0
  1100. package/svgs_raw/vid-speaking-circle.svg +14 -0
  1101. package/svgs_raw/vid-volume-full.svg +10 -0
  1102. package/svgs_raw/vid-volume-half.svg +10 -0
  1103. package/svgs_raw/vid-volume-muted.svg +10 -0
  1104. package/svgs_raw/video-circle.svg +14 -0
  1105. package/svgs_raw/video-filled.svg +13 -0
  1106. package/svgs_raw/warning.svg +14 -0
  1107. package/svgs_raw/watch-filled.svg +13 -0
  1108. package/svgs_raw/watch.svg +13 -0
  1109. package/svgs_raw/world-small.svg +12 -0
  1110. package/svgs_raw/world.svg +12 -0
@@ -0,0 +1,419 @@
1
+ import type { API, ASTPath, Collection, default as core, FileInfo, JSXElement } from 'jscodeshift';
2
+
3
+ const ICON_PACKAGES = ['@atlaskit/icon/core', '@atlaskit/icon-lab/core'];
4
+ const BOX_COMPILED_PACKAGE = '@atlaskit/primitives/compiled';
5
+ const BOX_NON_COMPILED_PACKAGE = '@atlaskit/primitives';
6
+ const TOKEN_PACKAGE = '@atlaskit/tokens';
7
+ const CSS_PACKAGE = '@atlaskit/css';
8
+ const CSSMAP_VARIABLE_NAME = 'iconSpacingStyles';
9
+
10
+ /**
11
+ * Spacing → Box padding token mapping.
12
+ *
13
+ * medium/unspecified:
14
+ * compact → space.050 (4px)
15
+ * spacious → space.050 (4px)
16
+ *
17
+ * small:
18
+ * compact → space.025 (2px) — NOTE: 2.66px doesn't map cleanly; confirm with designer
19
+ * spacious → space.075 (6px)
20
+ */
21
+ const SPACING_TO_PADDING: Record<string, Record<string, string>> = {
22
+ medium: {
23
+ compact: 'space.050',
24
+ spacious: 'space.050',
25
+ },
26
+ small: {
27
+ compact: 'space.025',
28
+ spacious: 'space.075',
29
+ },
30
+ };
31
+
32
+ /**
33
+ * Maps a padding token to a cssMap key name.
34
+ * e.g. 'space.050' → 'space050'
35
+ */
36
+ function getCssMapKey(paddingToken: string): string {
37
+ return paddingToken.replace('space.', 'space');
38
+ }
39
+
40
+ function getIconImportSpecifiers(j: core.JSCodeshift, source: Collection<any>): string[] {
41
+ const specifiers: string[] = [];
42
+ for (const pkg of ICON_PACKAGES) {
43
+ source
44
+ .find(j.ImportDeclaration)
45
+ .filter(
46
+ (path) =>
47
+ typeof path.node.source.value === 'string' &&
48
+ path.node.source.value.startsWith(pkg),
49
+ )
50
+ .forEach((importDecl) => {
51
+ for (const specifier of importDecl.value.specifiers || []) {
52
+ if (specifier.local?.name) {
53
+ specifiers.push(specifier.local.name);
54
+ }
55
+ }
56
+ });
57
+ }
58
+ return specifiers;
59
+ }
60
+
61
+ function ensureNamedImport(j: core.JSCodeshift, specifiers: any[], name: string): void {
62
+ const alreadyImported = specifiers.some(
63
+ (s) => s.type === 'ImportSpecifier' && s.imported?.name === name,
64
+ );
65
+ if (!alreadyImported) {
66
+ specifiers.push(j.importSpecifier(j.identifier(name)));
67
+ }
68
+ }
69
+
70
+ /**
71
+ * Ensures `Box` is imported from `@atlaskit/primitives/compiled`.
72
+ * - If `/compiled` already exists → add `Box` if missing
73
+ * - If `@atlaskit/primitives` (non-compiled) exists → migrate path to `/compiled`, add `Box`
74
+ * - Otherwise → insert new import
75
+ */
76
+ function insertBoxImport(j: core.JSCodeshift, source: Collection<any>): void {
77
+ const compiledImports = source
78
+ .find(j.ImportDeclaration)
79
+ .filter((path) => path.node.source.value === BOX_COMPILED_PACKAGE);
80
+
81
+ if (compiledImports.length > 0) {
82
+ compiledImports.forEach((path) => {
83
+ ensureNamedImport(j, path.node.specifiers || [], 'Box');
84
+ });
85
+ return;
86
+ }
87
+
88
+ const nonCompiledImports = source
89
+ .find(j.ImportDeclaration)
90
+ .filter((path) => path.node.source.value === BOX_NON_COMPILED_PACKAGE);
91
+
92
+ if (nonCompiledImports.length > 0) {
93
+ nonCompiledImports.forEach((path) => {
94
+ path.node.source = j.stringLiteral(BOX_COMPILED_PACKAGE);
95
+ ensureNamedImport(j, path.node.specifiers || [], 'Box');
96
+ });
97
+ return;
98
+ }
99
+
100
+ const newImport = j.importDeclaration(
101
+ [j.importSpecifier(j.identifier('Box'))],
102
+ j.stringLiteral(BOX_COMPILED_PACKAGE),
103
+ );
104
+ source.get().node.program.body.unshift(newImport);
105
+ }
106
+
107
+ /**
108
+ * Ensures `cssMap` is imported from `@atlaskit/css`.
109
+ * Note: `jsx` import and JSX pragma are NOT needed for cssMap — only for cx().
110
+ * - If `@atlaskit/css` already exists → add `cssMap` if missing
111
+ * - Otherwise → insert new import
112
+ */
113
+ function insertCssMapImport(j: core.JSCodeshift, source: Collection<any>): void {
114
+ const cssImports = source
115
+ .find(j.ImportDeclaration)
116
+ .filter((path) => path.node.source.value === CSS_PACKAGE);
117
+
118
+ if (cssImports.length > 0) {
119
+ cssImports.forEach((path) => {
120
+ ensureNamedImport(j, path.node.specifiers || [], 'cssMap');
121
+ });
122
+ return;
123
+ }
124
+
125
+ const newImport = j.importDeclaration(
126
+ [j.importSpecifier(j.identifier('cssMap'))],
127
+ j.stringLiteral(CSS_PACKAGE),
128
+ );
129
+ source.get().node.program.body.unshift(newImport);
130
+ }
131
+
132
+ /**
133
+ * Ensures `token` is imported from `@atlaskit/tokens`.
134
+ */
135
+ function insertTokenImport(j: core.JSCodeshift, source: Collection<any>): void {
136
+ const tokenImports = source
137
+ .find(j.ImportDeclaration)
138
+ .filter((path) => path.node.source.value === TOKEN_PACKAGE);
139
+
140
+ if (tokenImports.length > 0) {
141
+ tokenImports.forEach((path) => {
142
+ ensureNamedImport(j, path.node.specifiers || [], 'token');
143
+ });
144
+ return;
145
+ }
146
+
147
+ const newImport = j.importDeclaration(
148
+ [j.importSpecifier(j.identifier('token'))],
149
+ j.stringLiteral(TOKEN_PACKAGE),
150
+ );
151
+ source.get().node.program.body.unshift(newImport);
152
+ }
153
+
154
+ /**
155
+ * Inserts or updates a single `const iconSpacingStyles = cssMap({...})` declaration
156
+ * at module level (after the last import), with one key per padding token used.
157
+ *
158
+ * If the variable already exists, adds missing keys to the existing cssMap object.
159
+ */
160
+ function insertOrUpdateCssMapVariable(
161
+ j: core.JSCodeshift,
162
+ source: Collection<any>,
163
+ paddingTokens: Set<string>,
164
+ ): void {
165
+ // Check if iconSpacingStyles already exists
166
+ const existing = source.find(j.VariableDeclaration).filter((path) => {
167
+ const decl = path.node.declarations[0];
168
+ return (
169
+ decl?.type === 'VariableDeclarator' &&
170
+ (decl.id as any)?.name === CSSMAP_VARIABLE_NAME
171
+ );
172
+ });
173
+
174
+ if (existing.length > 0) {
175
+ // Add missing keys to the existing cssMap object
176
+ existing.forEach((path) => {
177
+ const decl = path.node.declarations[0] as any;
178
+ const cssMapCall = decl?.init;
179
+ if (cssMapCall?.type !== 'CallExpression') return;
180
+ const objExpr = cssMapCall.arguments[0];
181
+ if (objExpr?.type !== 'ObjectExpression') return;
182
+
183
+ const existingKeys = new Set(
184
+ objExpr.properties
185
+ .filter((p: any) => p.key)
186
+ .map((p: any) => p.key.name || p.key.value),
187
+ );
188
+
189
+ for (const paddingToken of Array.from(paddingTokens).sort()) {
190
+ const key = getCssMapKey(paddingToken);
191
+ if (!existingKeys.has(key)) {
192
+ const tokenCall = () =>
193
+ j.callExpression(j.identifier('token'), [j.stringLiteral(paddingToken)]);
194
+ objExpr.properties.push(
195
+ j.objectProperty(
196
+ j.identifier(key),
197
+ j.objectExpression([
198
+ j.objectProperty(j.identifier('paddingTop'), tokenCall()),
199
+ j.objectProperty(j.identifier('paddingRight'), tokenCall()),
200
+ j.objectProperty(j.identifier('paddingBottom'), tokenCall()),
201
+ j.objectProperty(j.identifier('paddingLeft'), tokenCall()),
202
+ ]),
203
+ ),
204
+ );
205
+ }
206
+ }
207
+ });
208
+ return;
209
+ }
210
+
211
+ // Build new cssMap variable declaration with all keys
212
+ const properties = Array.from(paddingTokens)
213
+ .sort()
214
+ .map((paddingToken) => {
215
+ const tokenCall = () =>
216
+ j.callExpression(j.identifier('token'), [j.stringLiteral(paddingToken)]);
217
+ return j.objectProperty(
218
+ j.identifier(getCssMapKey(paddingToken)),
219
+ j.objectExpression([
220
+ j.objectProperty(j.identifier('paddingTop'), tokenCall()),
221
+ j.objectProperty(j.identifier('paddingRight'), tokenCall()),
222
+ j.objectProperty(j.identifier('paddingBottom'), tokenCall()),
223
+ j.objectProperty(j.identifier('paddingLeft'), tokenCall()),
224
+ ]),
225
+ );
226
+ });
227
+
228
+ const cssMapCall = j.callExpression(j.identifier('cssMap'), [
229
+ j.objectExpression(properties),
230
+ ]);
231
+
232
+ const variableDecl = j.variableDeclaration('const', [
233
+ j.variableDeclarator(j.identifier(CSSMAP_VARIABLE_NAME), cssMapCall),
234
+ ]);
235
+
236
+ // Insert after the last import
237
+ const body = source.get().node.program.body;
238
+ let insertIndex = 0;
239
+ for (let i = body.length - 1; i >= 0; i--) {
240
+ if (body[i].type === 'ImportDeclaration') {
241
+ insertIndex = i + 1;
242
+ break;
243
+ }
244
+ }
245
+ body.splice(insertIndex, 0, variableDecl);
246
+ }
247
+
248
+ /**
249
+ * Wraps a JSXElement in <Box xcss={iconSpacingStyles.spaceXXX}>...</Box>.
250
+ */
251
+ function wrapWithBox(j: core.JSCodeshift, iconElement: JSXElement, paddingToken: string) {
252
+ const key = getCssMapKey(paddingToken);
253
+ return j.jsxElement(
254
+ j.jsxOpeningElement(j.jsxIdentifier('Box'), [
255
+ j.jsxAttribute(
256
+ j.jsxIdentifier('xcss'),
257
+ j.jsxExpressionContainer(
258
+ j.memberExpression(
259
+ j.identifier(CSSMAP_VARIABLE_NAME),
260
+ j.identifier(key),
261
+ ),
262
+ ),
263
+ ),
264
+ ]),
265
+ j.jsxClosingElement(j.jsxIdentifier('Box')),
266
+ [iconElement],
267
+ );
268
+ }
269
+
270
+ function addEslintDisableComment(j: core.JSCodeshift, path: ASTPath<JSXElement>, reason: string): void {
271
+ const comment = j.line(
272
+ ` eslint-disable-next-line @atlaskit/design-system/no-icon-spacing-prop -- TODO: ${reason}`,
273
+ );
274
+ const node = path.value as any;
275
+ node.comments = [comment, ...(node.comments || [])];
276
+ }
277
+
278
+ function getStaticPropValue(attributes: any[], propName: string): string | null {
279
+ const prop = attributes.find(
280
+ (attr: any) => attr.type === 'JSXAttribute' && attr.name?.name === propName,
281
+ );
282
+ if (!prop) return null;
283
+ if (prop.value?.type === 'StringLiteral' || prop.value?.type === 'Literal') {
284
+ return prop.value.value;
285
+ }
286
+ return null;
287
+ }
288
+
289
+ function hasSpreadAttributes(attributes: any[]): boolean {
290
+ return attributes.some((attr: any) => attr.type === 'JSXSpreadAttribute');
291
+ }
292
+
293
+ function isSpacingDynamic(attributes: any[]): boolean {
294
+ const prop = attributes.find(
295
+ (attr: any) => attr.type === 'JSXAttribute' && attr.name?.name === 'spacing',
296
+ );
297
+ if (!prop) return false;
298
+ return prop.value?.type !== 'StringLiteral' && prop.value?.type !== 'Literal';
299
+ }
300
+
301
+ function removeSpacingProp(attributes: any[]): any[] {
302
+ return attributes.filter(
303
+ (attr: any) => !(attr.type === 'JSXAttribute' && attr.name?.name === 'spacing'),
304
+ );
305
+ }
306
+
307
+ function replaceWithWrapped(
308
+ j: core.JSCodeshift,
309
+ path: ASTPath<JSXElement>,
310
+ wrappedElement: JSXElement,
311
+ ): void {
312
+ const node = path.value as any;
313
+
314
+ const leadingComments = node.comments?.filter((c: any) => c.leading) || [];
315
+ if (leadingComments.length) {
316
+ node.comments = node.comments?.filter((c: any) => !c.leading);
317
+ (wrappedElement as any).comments = [
318
+ ...leadingComments,
319
+ ...((wrappedElement as any).comments || []),
320
+ ];
321
+ }
322
+
323
+ const parentNode = path.parent?.node;
324
+ const isInsideJSX =
325
+ parentNode?.type === 'JSXElement' ||
326
+ parentNode?.type === 'JSXFragment' ||
327
+ parentNode?.type === 'JSXExpressionContainer';
328
+
329
+ const isParenthesized =
330
+ !isInsideJSX &&
331
+ parentNode &&
332
+ (parentNode.type === 'ParenthesizedExpression' || parentNode.extra?.parenthesized);
333
+
334
+ if (isParenthesized) {
335
+ j(path.parent).replaceWith(wrappedElement);
336
+ } else {
337
+ j(path).replaceWith(wrappedElement);
338
+ }
339
+ }
340
+
341
+ export default function transformer(file: FileInfo, api: API): string {
342
+ const j = api.jscodeshift;
343
+ const source = j(file.source);
344
+
345
+ const iconSpecifiers = getIconImportSpecifiers(j, source);
346
+ if (!iconSpecifiers.length) {
347
+ return file.source;
348
+ }
349
+
350
+ const iconJSXWithSpacing = source
351
+ .find(j.JSXElement)
352
+ .filter((path) => {
353
+ const name = path.value.openingElement.name;
354
+ return name.type === 'JSXIdentifier' && iconSpecifiers.includes(name.name);
355
+ })
356
+ .filter((path) =>
357
+ (path.value.openingElement.attributes || []).some(
358
+ (attr: any) => attr.type === 'JSXAttribute' && attr.name?.name === 'spacing',
359
+ ),
360
+ );
361
+
362
+ if (!iconJSXWithSpacing.length) {
363
+ return file.source;
364
+ }
365
+
366
+ const paddingTokensUsed = new Set<string>();
367
+ let needsBoxImport = false;
368
+
369
+ iconJSXWithSpacing.forEach((path) => {
370
+ const attrs = path.value.openingElement.attributes || [];
371
+
372
+ if (hasSpreadAttributes(attrs)) {
373
+ addEslintDisableComment(j, path, 'Manually migrate spacing prop to Box primitive (spread props detected)');
374
+ return;
375
+ }
376
+
377
+ if (isSpacingDynamic(attrs)) {
378
+ addEslintDisableComment(j, path, 'Manually migrate spacing prop to Box primitive (dynamic spacing value detected)');
379
+ return;
380
+ }
381
+
382
+ const spacingValue = getStaticPropValue(attrs, 'spacing')!;
383
+ path.value.openingElement.attributes = removeSpacingProp(attrs);
384
+
385
+ if (spacingValue === 'none') {
386
+ return;
387
+ }
388
+
389
+ const sizeValue = getStaticPropValue(attrs, 'size') ?? 'medium';
390
+ const sizeKey = sizeValue === 'small' ? 'small' : 'medium';
391
+ const paddingToken = SPACING_TO_PADDING[sizeKey]?.[spacingValue];
392
+
393
+ if (!paddingToken) {
394
+ addEslintDisableComment(j, path, `Manually migrate spacing="${spacingValue}" prop to Box primitive (unknown spacing value)`);
395
+ return;
396
+ }
397
+
398
+ if ((path.value as any).extra) {
399
+ (path.value as any).extra.parenthesized = false;
400
+ }
401
+
402
+ const wrappedElement = wrapWithBox(j, path.value, paddingToken);
403
+ replaceWithWrapped(j, path, wrappedElement);
404
+
405
+ needsBoxImport = true;
406
+ paddingTokensUsed.add(paddingToken);
407
+ });
408
+
409
+ if (needsBoxImport) {
410
+ // Insert in reverse order since each unshift prepends — last inserted appears first
411
+ // Desired order: @atlaskit/css, @atlaskit/primitives/compiled, @atlaskit/tokens
412
+ insertTokenImport(j, source);
413
+ insertBoxImport(j, source);
414
+ insertCssMapImport(j, source);
415
+ insertOrUpdateCssMapVariable(j, source, paddingTokensUsed);
416
+ }
417
+
418
+ return source.toSource();
419
+ }
@@ -1,4 +1,4 @@
1
- /* icon-new.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* icon-new.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* icon-tile-new.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* icon-tile-new.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* icon-tile-old.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* icon-tile-old.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* icon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* icon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* skeleton.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* skeleton.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* svg.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* svg.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -13,7 +13,8 @@ Object.defineProperty(exports, "coreIconMetadata", {
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function get() {
16
- return _metadataCore.default;
16
+ return _metadata.default;
17
17
  }
18
18
  });
19
+ var _metadata = _interopRequireDefault(require("../metadata"));
19
20
  var _metadataCore = _interopRequireDefault(require("../metadata-core"));