@pushwoosh/kit-icons 2.0.6 → 2.0.9

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 (398) hide show
  1. package/arrow-icon/arrow-icon.component.js +21 -9
  2. package/arrow-icon/arrow-icon.types.js +1 -1
  3. package/arrow-icon/assets/index.js +1 -1
  4. package/arrow-icon/index.js +1 -1
  5. package/arrow-round-icon/arrow-round-icon.component.js +22 -9
  6. package/arrow-round-icon/arrow-round-icon.types.js +1 -1
  7. package/arrow-round-icon/assets/index.js +1 -1
  8. package/arrow-round-icon/index.js +1 -1
  9. package/attachment-icon/assets/index.js +1 -1
  10. package/attachment-icon/attachment-icon.component.js +21 -9
  11. package/attachment-icon/attachment-icon.types.js +1 -1
  12. package/attachment-icon/index.js +1 -1
  13. package/backup-icon/assets/index.js +1 -1
  14. package/backup-icon/backup-icon.component.js +21 -9
  15. package/backup-icon/backup-icon.types.js +1 -1
  16. package/backup-icon/index.js +1 -1
  17. package/billing-icon/assets/index.js +1 -1
  18. package/billing-icon/billing-icon.component.js +21 -9
  19. package/billing-icon/billing-icon.types.js +1 -1
  20. package/billing-icon/index.js +1 -1
  21. package/bookmark-icon/assets/index.js +1 -1
  22. package/bookmark-icon/bookmark-icon.component.js +21 -9
  23. package/bookmark-icon/bookmark-icon.types.js +1 -1
  24. package/bookmark-icon/index.js +1 -1
  25. package/box-icon/assets/index.js +1 -1
  26. package/box-icon/box-icon.component.js +21 -9
  27. package/box-icon/box-icon.types.js +1 -1
  28. package/box-icon/index.js +1 -1
  29. package/bullet-icon/assets/index.js +1 -1
  30. package/bullet-icon/bullet-icon.component.js +22 -9
  31. package/bullet-icon/bullet-icon.types.js +1 -1
  32. package/bullet-icon/index.js +1 -1
  33. package/calendar-icon/assets/index.js +1 -1
  34. package/calendar-icon/calendar-icon.component.js +21 -9
  35. package/calendar-icon/calendar-icon.types.js +1 -1
  36. package/calendar-icon/index.js +1 -1
  37. package/certificate-icon/assets/index.js +1 -1
  38. package/certificate-icon/certificate-icon.component.js +21 -9
  39. package/certificate-icon/certificate-icon.types.js +1 -1
  40. package/certificate-icon/index.js +1 -1
  41. package/change-icon/assets/index.js +1 -1
  42. package/change-icon/change-icon.component.js +21 -9
  43. package/change-icon/change-icon.types.js +1 -1
  44. package/change-icon/index.js +1 -1
  45. package/check-icon/assets/index.js +1 -1
  46. package/check-icon/check-icon.component.js +20 -9
  47. package/check-icon/check-icon.types.js +1 -1
  48. package/check-icon/index.js +1 -1
  49. package/check-round-icon/assets/index.js +1 -1
  50. package/check-round-icon/check-round-icon.component.js +22 -9
  51. package/check-round-icon/check-round-icon.types.js +1 -1
  52. package/check-round-icon/index.js +1 -1
  53. package/chevron-icon/assets/index.js +1 -1
  54. package/chevron-icon/chevron-icon.component.js +21 -9
  55. package/chevron-icon/chevron-icon.types.js +1 -1
  56. package/chevron-icon/index.js +1 -1
  57. package/close-icon/assets/index.js +1 -1
  58. package/close-icon/close-icon.component.js +20 -9
  59. package/close-icon/close-icon.types.js +1 -1
  60. package/close-icon/index.js +1 -1
  61. package/close-round-icon/assets/index.js +1 -1
  62. package/close-round-icon/close-round-icon.component.js +21 -9
  63. package/close-round-icon/close-round-icon.types.js +1 -1
  64. package/close-round-icon/index.js +1 -1
  65. package/cloud-icon/assets/index.js +1 -1
  66. package/cloud-icon/cloud-icon.component.js +21 -9
  67. package/cloud-icon/cloud-icon.types.js +1 -1
  68. package/cloud-icon/index.js +1 -1
  69. package/collapse-icon/assets/index.js +1 -1
  70. package/collapse-icon/collapse-icon.component.js +21 -9
  71. package/collapse-icon/collapse-icon.types.js +1 -1
  72. package/collapse-icon/index.js +1 -1
  73. package/color-icon/assets/index.js +1 -1
  74. package/color-icon/color-icon.component.js +21 -9
  75. package/color-icon/color-icon.types.js +1 -1
  76. package/color-icon/index.js +1 -1
  77. package/comment-icon/assets/index.js +1 -1
  78. package/comment-icon/comment-icon.component.js +21 -9
  79. package/comment-icon/comment-icon.types.js +1 -1
  80. package/comment-icon/index.js +1 -1
  81. package/copy-icon/assets/index.js +1 -1
  82. package/copy-icon/copy-icon.component.js +21 -9
  83. package/copy-icon/copy-icon.types.js +1 -1
  84. package/copy-icon/index.js +1 -1
  85. package/danger-triangle-icon/assets/index.js +1 -1
  86. package/danger-triangle-icon/danger-triangle-icon.component.js +21 -9
  87. package/danger-triangle-icon/danger-triangle-icon.types.js +1 -1
  88. package/danger-triangle-icon/index.js +1 -1
  89. package/device-icon/assets/index.js +1 -1
  90. package/device-icon/device-icon.component.js +22 -9
  91. package/device-icon/device-icon.types.js +1 -1
  92. package/device-icon/index.js +1 -1
  93. package/docs-icon/assets/index.js +1 -1
  94. package/docs-icon/docs-icon.component.js +21 -9
  95. package/docs-icon/docs-icon.types.js +1 -1
  96. package/docs-icon/index.js +1 -1
  97. package/document-icon/assets/index.js +1 -1
  98. package/document-icon/document-icon.component.js +21 -9
  99. package/document-icon/document-icon.types.js +1 -1
  100. package/document-icon/index.js +1 -1
  101. package/double-chevron-icon/assets/index.js +1 -1
  102. package/double-chevron-icon/double-chevron-icon.component.js +21 -9
  103. package/double-chevron-icon/double-chevron-icon.types.js +1 -1
  104. package/double-chevron-icon/index.js +1 -1
  105. package/download-icon/assets/index.js +1 -1
  106. package/download-icon/download-icon.component.js +21 -9
  107. package/download-icon/download-icon.types.js +1 -1
  108. package/download-icon/index.js +1 -1
  109. package/drag-icon/assets/index.js +1 -1
  110. package/drag-icon/drag-icon.component.js +20 -9
  111. package/drag-icon/drag-icon.types.js +1 -1
  112. package/drag-icon/index.js +1 -1
  113. package/dropdown-icon/assets/index.js +1 -1
  114. package/dropdown-icon/dropdown-icon.component.js +21 -9
  115. package/dropdown-icon/dropdown-icon.types.js +1 -1
  116. package/dropdown-icon/index.js +1 -1
  117. package/edit-icon/assets/index.js +1 -1
  118. package/edit-icon/edit-icon.component.js +21 -9
  119. package/edit-icon/edit-icon.types.js +1 -1
  120. package/edit-icon/index.js +1 -1
  121. package/email-icon/assets/index.js +1 -1
  122. package/email-icon/email-icon.component.js +21 -9
  123. package/email-icon/email-icon.types.js +1 -1
  124. package/email-icon/index.js +1 -1
  125. package/emoji-icon/assets/index.js +1 -1
  126. package/emoji-icon/emoji-icon.component.js +21 -9
  127. package/emoji-icon/emoji-icon.types.js +1 -1
  128. package/emoji-icon/index.js +1 -1
  129. package/expand-icon/assets/index.js +1 -1
  130. package/expand-icon/expand-icon.component.js +21 -9
  131. package/expand-icon/expand-icon.types.js +1 -1
  132. package/expand-icon/index.js +1 -1
  133. package/filter-icon/assets/index.js +1 -1
  134. package/filter-icon/filter-icon.component.js +21 -9
  135. package/filter-icon/filter-icon.types.js +1 -1
  136. package/filter-icon/index.js +1 -1
  137. package/finish-icon/assets/index.js +1 -1
  138. package/finish-icon/finish-icon.component.js +21 -9
  139. package/finish-icon/finish-icon.types.js +1 -1
  140. package/finish-icon/index.js +1 -1
  141. package/flash-icon/assets/index.js +1 -1
  142. package/flash-icon/flash-icon.component.js +21 -9
  143. package/flash-icon/flash-icon.types.js +1 -1
  144. package/flash-icon/index.js +1 -1
  145. package/folder-icon/assets/index.js +1 -1
  146. package/folder-icon/folder-icon.component.js +21 -9
  147. package/folder-icon/folder-icon.types.js +1 -1
  148. package/folder-icon/index.js +1 -1
  149. package/funnel-icon/assets/index.js +1 -1
  150. package/funnel-icon/funnel-icon.component.js +21 -9
  151. package/funnel-icon/funnel-icon.types.js +1 -1
  152. package/funnel-icon/index.js +1 -1
  153. package/help-round-icon/assets/index.js +1 -1
  154. package/help-round-icon/help-round-icon.component.js +21 -9
  155. package/help-round-icon/help-round-icon.types.js +1 -1
  156. package/help-round-icon/index.js +1 -1
  157. package/history-icon/assets/index.js +1 -1
  158. package/history-icon/history-icon.component.js +21 -9
  159. package/history-icon/history-icon.types.js +1 -1
  160. package/history-icon/index.js +1 -1
  161. package/home-icon/assets/index.js +1 -1
  162. package/home-icon/home-icon.component.js +21 -9
  163. package/home-icon/home-icon.types.js +1 -1
  164. package/home-icon/index.js +1 -1
  165. package/icon.styles.js +14 -15
  166. package/image-icon/assets/index.js +1 -1
  167. package/image-icon/image-icon.component.js +21 -9
  168. package/image-icon/image-icon.types.js +1 -1
  169. package/image-icon/index.js +1 -1
  170. package/index.js +1 -1
  171. package/industry-icon/assets/index.js +1 -1
  172. package/industry-icon/index.js +1 -1
  173. package/industry-icon/industry-icon.component.js +21 -9
  174. package/industry-icon/industry-icon.types.js +1 -1
  175. package/infinity-icon/assets/index.js +1 -1
  176. package/infinity-icon/index.js +1 -1
  177. package/infinity-icon/infinity-icon.component.js +21 -9
  178. package/infinity-icon/infinity-icon.types.js +1 -1
  179. package/info-round-icon/assets/index.js +1 -1
  180. package/info-round-icon/index.js +1 -1
  181. package/info-round-icon/info-round-icon.component.js +21 -9
  182. package/info-round-icon/info-round-icon.types.js +1 -1
  183. package/journey-icon/assets/index.js +1 -1
  184. package/journey-icon/index.js +1 -1
  185. package/journey-icon/journey-icon.component.js +21 -9
  186. package/journey-icon/journey-icon.types.js +1 -1
  187. package/kebab-icon/assets/index.js +1 -1
  188. package/kebab-icon/index.js +1 -1
  189. package/kebab-icon/kebab-icon.component.js +20 -9
  190. package/kebab-icon/kebab-icon.types.js +1 -1
  191. package/key-icon/assets/index.js +1 -1
  192. package/key-icon/index.js +1 -1
  193. package/key-icon/key-icon.component.js +21 -9
  194. package/key-icon/key-icon.types.js +1 -1
  195. package/language-icon/assets/index.js +1 -1
  196. package/language-icon/index.js +1 -1
  197. package/language-icon/language-icon.component.js +21 -9
  198. package/language-icon/language-icon.types.js +1 -1
  199. package/layers-icon/assets/index.js +1 -1
  200. package/layers-icon/index.js +1 -1
  201. package/layers-icon/layers-icon.component.js +21 -9
  202. package/layers-icon/layers-icon.types.js +1 -1
  203. package/limit-icon/assets/index.js +1 -1
  204. package/limit-icon/index.js +1 -1
  205. package/limit-icon/limit-icon.component.js +21 -9
  206. package/limit-icon/limit-icon.types.js +1 -1
  207. package/link-icon/assets/index.js +1 -1
  208. package/link-icon/index.js +1 -1
  209. package/link-icon/link-icon.component.js +21 -9
  210. package/link-icon/link-icon.types.js +1 -1
  211. package/list-icon/assets/index.js +1 -1
  212. package/list-icon/index.js +1 -1
  213. package/list-icon/list-icon.component.js +21 -9
  214. package/list-icon/list-icon.types.js +1 -1
  215. package/lock-icon/assets/index.js +1 -1
  216. package/lock-icon/index.js +1 -1
  217. package/lock-icon/lock-icon.component.js +21 -9
  218. package/lock-icon/lock-icon.types.js +1 -1
  219. package/login-icon/assets/index.js +1 -1
  220. package/login-icon/index.js +1 -1
  221. package/login-icon/login-icon.component.js +21 -9
  222. package/login-icon/login-icon.types.js +1 -1
  223. package/logout-icon/assets/index.js +1 -1
  224. package/logout-icon/index.js +1 -1
  225. package/logout-icon/logout-icon.component.js +21 -9
  226. package/logout-icon/logout-icon.types.js +1 -1
  227. package/menu-icon/assets/index.js +1 -1
  228. package/menu-icon/index.js +1 -1
  229. package/menu-icon/menu-icon.component.js +20 -9
  230. package/menu-icon/menu-icon.types.js +1 -1
  231. package/minus-icon/assets/index.js +1 -1
  232. package/minus-icon/index.js +1 -1
  233. package/minus-icon/minus-icon.component.js +20 -9
  234. package/minus-icon/minus-icon.types.js +1 -1
  235. package/minus-round-icon/assets/index.js +1 -1
  236. package/minus-round-icon/index.js +1 -1
  237. package/minus-round-icon/minus-round-icon.component.js +21 -9
  238. package/minus-round-icon/minus-round-icon.types.js +1 -1
  239. package/more-icon/assets/index.js +1 -1
  240. package/more-icon/index.js +1 -1
  241. package/more-icon/more-icon.component.js +20 -9
  242. package/more-icon/more-icon.types.js +1 -1
  243. package/notes-list-icon/assets/index.js +1 -1
  244. package/notes-list-icon/index.js +1 -1
  245. package/notes-list-icon/notes-list-icon.component.js +21 -9
  246. package/notes-list-icon/notes-list-icon.types.js +1 -1
  247. package/notification-icon/assets/index.js +1 -1
  248. package/notification-icon/index.js +1 -1
  249. package/notification-icon/notification-icon.component.js +22 -9
  250. package/notification-icon/notification-icon.types.js +1 -1
  251. package/open-icon/assets/index.js +1 -1
  252. package/open-icon/index.js +1 -1
  253. package/open-icon/open-icon.component.js +21 -9
  254. package/open-icon/open-icon.types.js +1 -1
  255. package/package.json +8 -40
  256. package/pause-round-icon/assets/index.js +1 -1
  257. package/pause-round-icon/index.js +1 -1
  258. package/pause-round-icon/pause-round-icon.component.js +21 -9
  259. package/pause-round-icon/pause-round-icon.types.js +1 -1
  260. package/photo-icon/assets/index.js +1 -1
  261. package/photo-icon/index.js +1 -1
  262. package/photo-icon/photo-icon.component.js +21 -9
  263. package/photo-icon/photo-icon.types.js +1 -1
  264. package/place-icon/assets/index.js +1 -1
  265. package/place-icon/index.js +1 -1
  266. package/place-icon/place-icon.component.js +21 -9
  267. package/place-icon/place-icon.types.js +1 -1
  268. package/platform-logo-icon/assets/index.d.ts +4 -0
  269. package/platform-logo-icon/assets/index.js +6 -1
  270. package/platform-logo-icon/assets/sms_filled.js +13 -0
  271. package/platform-logo-icon/index.js +1 -1
  272. package/platform-logo-icon/platform-logo-icon.component.js +26 -10
  273. package/platform-logo-icon/platform-logo-icon.types.d.ts +1 -1
  274. package/platform-logo-icon/platform-logo-icon.types.js +1 -1
  275. package/play-round-icon/assets/index.js +1 -1
  276. package/play-round-icon/index.js +1 -1
  277. package/play-round-icon/play-round-icon.component.js +21 -9
  278. package/play-round-icon/play-round-icon.types.js +1 -1
  279. package/plugin-icon/assets/index.js +1 -1
  280. package/plugin-icon/index.js +1 -1
  281. package/plugin-icon/plugin-icon.component.js +21 -9
  282. package/plugin-icon/plugin-icon.types.js +1 -1
  283. package/plus-icon/assets/index.js +1 -1
  284. package/plus-icon/index.js +1 -1
  285. package/plus-icon/plus-icon.component.js +20 -9
  286. package/plus-icon/plus-icon.types.js +1 -1
  287. package/plus-round-icon/assets/index.js +1 -1
  288. package/plus-round-icon/index.js +1 -1
  289. package/plus-round-icon/plus-round-icon.component.js +21 -9
  290. package/plus-round-icon/plus-round-icon.types.js +1 -1
  291. package/profile-icon/assets/index.js +1 -1
  292. package/profile-icon/index.js +1 -1
  293. package/profile-icon/profile-icon.component.js +21 -9
  294. package/profile-icon/profile-icon.types.js +1 -1
  295. package/pulse-icon/assets/index.js +1 -1
  296. package/pulse-icon/index.js +1 -1
  297. package/pulse-icon/pulse-icon.component.js +21 -9
  298. package/pulse-icon/pulse-icon.types.js +1 -1
  299. package/push-icon/assets/index.js +1 -1
  300. package/push-icon/index.js +1 -1
  301. package/push-icon/push-icon.component.js +21 -9
  302. package/push-icon/push-icon.types.js +1 -1
  303. package/refresh-icon/assets/index.js +1 -1
  304. package/refresh-icon/index.js +1 -1
  305. package/refresh-icon/refresh-icon.component.js +21 -9
  306. package/refresh-icon/refresh-icon.types.js +1 -1
  307. package/reload-icon/assets/index.js +1 -1
  308. package/reload-icon/index.js +1 -1
  309. package/reload-icon/reload-icon.component.js +21 -9
  310. package/reload-icon/reload-icon.types.js +1 -1
  311. package/reward-icon/assets/index.js +1 -1
  312. package/reward-icon/index.js +1 -1
  313. package/reward-icon/reward-icon.component.js +21 -9
  314. package/reward-icon/reward-icon.types.js +1 -1
  315. package/search-icon/assets/index.js +1 -1
  316. package/search-icon/index.js +1 -1
  317. package/search-icon/search-icon.component.js +21 -9
  318. package/search-icon/search-icon.types.js +1 -1
  319. package/secure-icon/assets/index.js +1 -1
  320. package/secure-icon/index.js +1 -1
  321. package/secure-icon/secure-icon.component.js +21 -9
  322. package/secure-icon/secure-icon.types.js +1 -1
  323. package/send-icon/assets/index.js +1 -1
  324. package/send-icon/index.js +1 -1
  325. package/send-icon/send-icon.component.js +21 -9
  326. package/send-icon/send-icon.types.js +1 -1
  327. package/settings-icon/assets/index.js +1 -1
  328. package/settings-icon/index.js +1 -1
  329. package/settings-icon/settings-icon.component.js +21 -9
  330. package/settings-icon/settings-icon.types.js +1 -1
  331. package/social-logo-icon/assets/index.js +1 -1
  332. package/social-logo-icon/index.js +1 -1
  333. package/social-logo-icon/social-logo-icon.component.js +22 -9
  334. package/social-logo-icon/social-logo-icon.types.js +1 -1
  335. package/sort-icon/assets/index.js +1 -1
  336. package/sort-icon/index.js +1 -1
  337. package/sort-icon/sort-icon.component.js +21 -9
  338. package/sort-icon/sort-icon.types.js +1 -1
  339. package/stats-icon/assets/index.js +1 -1
  340. package/stats-icon/index.js +1 -1
  341. package/stats-icon/stats-icon.component.js +21 -9
  342. package/stats-icon/stats-icon.types.js +1 -1
  343. package/stop-icon/assets/index.js +1 -1
  344. package/stop-icon/index.js +1 -1
  345. package/stop-icon/stop-icon.component.js +21 -9
  346. package/stop-icon/stop-icon.types.js +1 -1
  347. package/super-user-icon/assets/index.js +1 -1
  348. package/super-user-icon/index.js +1 -1
  349. package/super-user-icon/super-user-icon.component.js +21 -9
  350. package/super-user-icon/super-user-icon.types.js +1 -1
  351. package/tag-icon/assets/index.js +1 -1
  352. package/tag-icon/index.js +1 -1
  353. package/tag-icon/tag-icon.component.js +21 -9
  354. package/tag-icon/tag-icon.types.js +1 -1
  355. package/tiles-icon/assets/index.js +1 -1
  356. package/tiles-icon/index.js +1 -1
  357. package/tiles-icon/tiles-icon.component.js +21 -9
  358. package/tiles-icon/tiles-icon.types.js +1 -1
  359. package/time-icon/assets/index.js +1 -1
  360. package/time-icon/index.js +1 -1
  361. package/time-icon/time-icon.component.js +21 -9
  362. package/time-icon/time-icon.types.js +1 -1
  363. package/trash-icon/assets/index.js +1 -1
  364. package/trash-icon/index.js +1 -1
  365. package/trash-icon/trash-icon.component.js +21 -9
  366. package/trash-icon/trash-icon.types.js +1 -1
  367. package/trophy-icon/assets/index.js +1 -1
  368. package/trophy-icon/index.js +1 -1
  369. package/trophy-icon/trophy-icon.component.js +21 -9
  370. package/trophy-icon/trophy-icon.types.js +1 -1
  371. package/tutorial-icon/assets/index.js +1 -1
  372. package/tutorial-icon/index.js +1 -1
  373. package/tutorial-icon/tutorial-icon.component.js +21 -9
  374. package/tutorial-icon/tutorial-icon.types.js +1 -1
  375. package/upload-icon/assets/index.js +1 -1
  376. package/upload-icon/index.js +1 -1
  377. package/upload-icon/upload-icon.component.js +21 -9
  378. package/upload-icon/upload-icon.types.js +1 -1
  379. package/user-icon/assets/index.js +1 -1
  380. package/user-icon/index.js +1 -1
  381. package/user-icon/user-icon.component.js +21 -9
  382. package/user-icon/user-icon.types.js +1 -1
  383. package/visibility-icon/assets/index.js +1 -1
  384. package/visibility-icon/index.js +1 -1
  385. package/visibility-icon/visibility-icon.component.js +22 -9
  386. package/visibility-icon/visibility-icon.types.js +1 -1
  387. package/warning-round-icon/assets/index.js +1 -1
  388. package/warning-round-icon/index.js +1 -1
  389. package/warning-round-icon/warning-round-icon.component.js +21 -9
  390. package/warning-round-icon/warning-round-icon.types.js +1 -1
  391. package/wizard-icon/assets/index.js +1 -1
  392. package/wizard-icon/index.js +1 -1
  393. package/wizard-icon/wizard-icon.component.js +21 -9
  394. package/wizard-icon/wizard-icon.types.js +1 -1
  395. package/zoom-icon/assets/index.js +1 -1
  396. package/zoom-icon/index.js +1 -1
  397. package/zoom-icon/zoom-icon.component.js +22 -9
  398. package/zoom-icon/zoom-icon.types.js +1 -1
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function ArrowIcon(props) {
5
- const { boxRef, direction, size, ...rest } = props;
6
- const Icon = AssetMap[direction][size];
7
- if (Icon == null) {
8
- console.error('[ArrowIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ direction,
8
+ size,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[direction][size];
12
+ if (Icon == null) {
13
+ console.error('[ArrowIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -9,7 +9,7 @@ import RightArrowMediumIcon from "./direction_right_name_arrow_size_medium.js";
9
9
  import RightArrowSmallIcon from "./direction_right_name_arrow_size_small.js";
10
10
  import UpArrowMediumIcon from "./direction_up_name_arrow_size_medium.js";
11
11
  import UpArrowSmallIcon from "./direction_up_name_arrow_size_small.js";
12
- export var AssetMap = {
12
+ export const AssetMap = {
13
13
  'down': {
14
14
  'medium': DownArrowMediumIcon,
15
15
  'small': DownArrowSmallIcon
@@ -1,2 +1,2 @@
1
1
  export * from './arrow-icon.component';
2
- export * from './arrow-icon.types';
2
+ export * from './arrow-icon.types';
@@ -2,12 +2,25 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function ArrowRoundIcon(props) {
5
- const { boxRef, direction, size, view, ...rest } = props;
6
- const Icon = AssetMap[direction][size][view];
7
- if (Icon == null) {
8
- console.error('[ArrowRoundIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ direction,
8
+ size,
9
+ view,
10
+ ...rest
11
+ } = props;
12
+ const Icon = AssetMap[direction][size][view];
13
+ if (Icon == null) {
14
+ console.error('[ArrowRoundIcon]: Icon not found!');
15
+ return React.createElement(IconBox, {
16
+ ...rest,
17
+ size: size,
18
+ ref: boxRef
19
+ });
20
+ }
21
+ return React.createElement(IconBox, {
22
+ ...rest,
23
+ size: size,
24
+ ref: boxRef
25
+ }, React.createElement(Icon, null));
26
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -17,7 +17,7 @@ import UpArrowRoundMediumFilledIcon from "./direction_up_name_arrow_round_size_m
17
17
  import UpArrowRoundMediumLinedIcon from "./direction_up_name_arrow_round_size_medium_view_lined.js";
18
18
  import UpArrowRoundSmallFilledIcon from "./direction_up_name_arrow_round_size_small_view_filled.js";
19
19
  import UpArrowRoundSmallLinedIcon from "./direction_up_name_arrow_round_size_small_view_lined.js";
20
- export var AssetMap = {
20
+ export const AssetMap = {
21
21
  'down': {
22
22
  'medium': {
23
23
  'filled': DownArrowRoundMediumFilledIcon,
@@ -1,2 +1,2 @@
1
1
  export * from './arrow-round-icon.component';
2
- export * from './arrow-round-icon.types';
2
+ export * from './arrow-round-icon.types';
@@ -2,7 +2,7 @@
2
2
  /* eslint @typescript-eslint/comma-dangle: off */
3
3
 
4
4
  import AttachmentMediumLinedIcon from "./name_attachment_size_medium_view_lined.js";
5
- export var AssetMap = {
5
+ export const AssetMap = {
6
6
  'medium': {
7
7
  'filled': null,
8
8
  'lined': AttachmentMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function AttachmentIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[AttachmentIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[AttachmentIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './attachment-icon.component';
2
- export * from './attachment-icon.types';
2
+ export * from './attachment-icon.types';
@@ -2,7 +2,7 @@
2
2
  /* eslint @typescript-eslint/comma-dangle: off */
3
3
 
4
4
  import BackupMediumLinedIcon from "./name_backup_size_medium_view_lined.js";
5
- export var AssetMap = {
5
+ export const AssetMap = {
6
6
  'medium': {
7
7
  'filled': null,
8
8
  'lined': BackupMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function BackupIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[BackupIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[BackupIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './backup-icon.component';
2
- export * from './backup-icon.types';
2
+ export * from './backup-icon.types';
@@ -2,7 +2,7 @@
2
2
  /* eslint @typescript-eslint/comma-dangle: off */
3
3
 
4
4
  import BillingSmallLinedIcon from "./name_billing_size_small_view_lined.js";
5
- export var AssetMap = {
5
+ export const AssetMap = {
6
6
  'medium': {
7
7
  'filled': null,
8
8
  'lined': null
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function BillingIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[BillingIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[BillingIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './billing-icon.component';
2
- export * from './billing-icon.types';
2
+ export * from './billing-icon.types';
@@ -5,7 +5,7 @@ import BookmarkMediumFilledIcon from "./name_bookmark_size_medium_view_filled.js
5
5
  import BookmarkMediumLinedIcon from "./name_bookmark_size_medium_view_lined.js";
6
6
  import BookmarkSmallFilledIcon from "./name_bookmark_size_small_view_filled.js";
7
7
  import BookmarkSmallLinedIcon from "./name_bookmark_size_small_view_lined.js";
8
- export var AssetMap = {
8
+ export const AssetMap = {
9
9
  'medium': {
10
10
  'filled': BookmarkMediumFilledIcon,
11
11
  'lined': BookmarkMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function BookmarkIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[BookmarkIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[BookmarkIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './bookmark-icon.component';
2
- export * from './bookmark-icon.types';
2
+ export * from './bookmark-icon.types';
@@ -2,7 +2,7 @@
2
2
  /* eslint @typescript-eslint/comma-dangle: off */
3
3
 
4
4
  import BoxSmallLinedIcon from "./name_box_size_small_view_lined.js";
5
- export var AssetMap = {
5
+ export const AssetMap = {
6
6
  'medium': {
7
7
  'filled': null,
8
8
  'lined': null
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function BoxIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[BoxIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[BoxIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
package/box-icon/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from './box-icon.component';
2
- export * from './box-icon.types';
2
+ export * from './box-icon.types';
@@ -7,7 +7,7 @@ import BulletSmallSquareFilledIcon from "./name_bullet_size_small_type_square_vi
7
7
  import BulletSmallSquareLinedIcon from "./name_bullet_size_small_type_square_view_lined.js";
8
8
  import BulletSmallTriangleFilledIcon from "./name_bullet_size_small_type_triangle_view_filled.js";
9
9
  import BulletSmallTriangleLinedIcon from "./name_bullet_size_small_type_triangle_view_lined.js";
10
- export var AssetMap = {
10
+ export const AssetMap = {
11
11
  'small': {
12
12
  'circle': {
13
13
  'filled': BulletSmallCircleFilledIcon,
@@ -2,12 +2,25 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function BulletIcon(props) {
5
- const { boxRef, size, type, view, ...rest } = props;
6
- const Icon = AssetMap[size][type][view];
7
- if (Icon == null) {
8
- console.error('[BulletIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ type,
9
+ view,
10
+ ...rest
11
+ } = props;
12
+ const Icon = AssetMap[size][type][view];
13
+ if (Icon == null) {
14
+ console.error('[BulletIcon]: Icon not found!');
15
+ return React.createElement(IconBox, {
16
+ ...rest,
17
+ size: size,
18
+ ref: boxRef
19
+ });
20
+ }
21
+ return React.createElement(IconBox, {
22
+ ...rest,
23
+ size: size,
24
+ ref: boxRef
25
+ }, React.createElement(Icon, null));
26
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './bullet-icon.component';
2
- export * from './bullet-icon.types';
2
+ export * from './bullet-icon.types';
@@ -3,7 +3,7 @@
3
3
 
4
4
  import CalendarMediumLinedIcon from "./name_calendar_size_medium_view_lined.js";
5
5
  import CalendarSmallLinedIcon from "./name_calendar_size_small_view_lined.js";
6
- export var AssetMap = {
6
+ export const AssetMap = {
7
7
  'medium': {
8
8
  'filled': null,
9
9
  'lined': CalendarMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function CalendarIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[CalendarIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[CalendarIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './calendar-icon.component';
2
- export * from './calendar-icon.types';
2
+ export * from './calendar-icon.types';
@@ -2,7 +2,7 @@
2
2
  /* eslint @typescript-eslint/comma-dangle: off */
3
3
 
4
4
  import CertificateMediumLinedIcon from "./name_certificate_size_medium_view_lined.js";
5
- export var AssetMap = {
5
+ export const AssetMap = {
6
6
  'medium': {
7
7
  'filled': null,
8
8
  'lined': CertificateMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function CertificateIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[CertificateIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[CertificateIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './certificate-icon.component';
2
- export * from './certificate-icon.types';
2
+ export * from './certificate-icon.types';
@@ -3,7 +3,7 @@
3
3
 
4
4
  import ChangeMediumLinedIcon from "./name_change_size_medium_view_lined.js";
5
5
  import ChangeSmallLinedIcon from "./name_change_size_small_view_lined.js";
6
- export var AssetMap = {
6
+ export const AssetMap = {
7
7
  'medium': {
8
8
  'filled': null,
9
9
  'lined': ChangeMediumLinedIcon
@@ -2,12 +2,24 @@ import React from 'react';
2
2
  import { IconBox } from '../icon.styles';
3
3
  import { AssetMap } from './assets';
4
4
  export function ChangeIcon(props) {
5
- const { boxRef, size, view, ...rest } = props;
6
- const Icon = AssetMap[size][view];
7
- if (Icon == null) {
8
- console.error('[ChangeIcon]: Icon not found!');
9
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef }));
10
- }
11
- return (React.createElement(IconBox, { ...rest, size: size, ref: boxRef },
12
- React.createElement(Icon, null)));
13
- }
5
+ const {
6
+ boxRef,
7
+ size,
8
+ view,
9
+ ...rest
10
+ } = props;
11
+ const Icon = AssetMap[size][view];
12
+ if (Icon == null) {
13
+ console.error('[ChangeIcon]: Icon not found!');
14
+ return React.createElement(IconBox, {
15
+ ...rest,
16
+ size: size,
17
+ ref: boxRef
18
+ });
19
+ }
20
+ return React.createElement(IconBox, {
21
+ ...rest,
22
+ size: size,
23
+ ref: boxRef
24
+ }, React.createElement(Icon, null));
25
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  export * from './change-icon.component';
2
- export * from './change-icon.types';
2
+ export * from './change-icon.types';
@@ -3,7 +3,7 @@
3
3
 
4
4
  import CheckMediumIcon from "./name_check_size_medium.js";
5
5
  import CheckSmallIcon from "./name_check_size_small.js";
6
- export var AssetMap = {
6
+ export const AssetMap = {
7
7
  'medium': CheckMediumIcon,
8
8
  'small': CheckSmallIcon
9
9
  };