@leafygreen-ui/icon 11.15.0 → 11.16.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (875) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +7 -7
  3. package/dist/ActivityFeed.js +1 -1
  4. package/dist/ActivityFeed.js.map +1 -1
  5. package/dist/AddFile.js +1 -1
  6. package/dist/AddFile.js.map +1 -1
  7. package/dist/Apps.js +1 -1
  8. package/dist/Apps.js.map +1 -1
  9. package/dist/Array.js +1 -1
  10. package/dist/Array.js.map +1 -1
  11. package/dist/ArrowDown.js +1 -1
  12. package/dist/ArrowDown.js.map +1 -1
  13. package/dist/ArrowLeft.js +1 -1
  14. package/dist/ArrowLeft.js.map +1 -1
  15. package/dist/ArrowRight.js +1 -1
  16. package/dist/ArrowRight.js.map +1 -1
  17. package/dist/ArrowUp.js +1 -1
  18. package/dist/ArrowUp.js.map +1 -1
  19. package/dist/Beaker.js +1 -1
  20. package/dist/Beaker.js.map +1 -1
  21. package/dist/Bell.js +1 -1
  22. package/dist/Bell.js.map +1 -1
  23. package/dist/Biometric.js +1 -1
  24. package/dist/Biometric.js.map +1 -1
  25. package/dist/Building.js +1 -1
  26. package/dist/Building.js.map +1 -1
  27. package/dist/Bulb.js +1 -1
  28. package/dist/Bulb.js.map +1 -1
  29. package/dist/Calendar.js +1 -1
  30. package/dist/Calendar.js.map +1 -1
  31. package/dist/CaretDown.js +1 -1
  32. package/dist/CaretDown.js.map +1 -1
  33. package/dist/CaretLeft.js +1 -1
  34. package/dist/CaretLeft.js.map +1 -1
  35. package/dist/CaretRight.js +1 -1
  36. package/dist/CaretRight.js.map +1 -1
  37. package/dist/CaretUp.js +1 -1
  38. package/dist/CaretUp.js.map +1 -1
  39. package/dist/ChartFilled.js +1 -1
  40. package/dist/ChartFilled.js.map +1 -1
  41. package/dist/Charts.js +1 -1
  42. package/dist/Charts.js.map +1 -1
  43. package/dist/Checkmark.js +1 -1
  44. package/dist/Checkmark.js.map +1 -1
  45. package/dist/CheckmarkWithCircle.js +1 -1
  46. package/dist/CheckmarkWithCircle.js.map +1 -1
  47. package/dist/ChevronDown.js +1 -1
  48. package/dist/ChevronDown.js.map +1 -1
  49. package/dist/ChevronLeft.js +1 -1
  50. package/dist/ChevronLeft.js.map +1 -1
  51. package/dist/ChevronRight.js +1 -1
  52. package/dist/ChevronRight.js.map +1 -1
  53. package/dist/ChevronUp.js +1 -1
  54. package/dist/ChevronUp.js.map +1 -1
  55. package/dist/Clock.js +1 -1
  56. package/dist/Clock.js.map +1 -1
  57. package/dist/ClockWithArrow.js +1 -1
  58. package/dist/ClockWithArrow.js.map +1 -1
  59. package/dist/Clone.js +1 -1
  60. package/dist/Clone.js.map +1 -1
  61. package/dist/Cloud.js +1 -1
  62. package/dist/Cloud.js.map +1 -1
  63. package/dist/Code.js +1 -1
  64. package/dist/Code.js.map +1 -1
  65. package/dist/Connect.js +1 -1
  66. package/dist/Connect.js.map +1 -1
  67. package/dist/Copy.js +1 -1
  68. package/dist/Copy.js.map +1 -1
  69. package/dist/CreditCard.js +1 -1
  70. package/dist/CreditCard.js.map +1 -1
  71. package/dist/CurlyBraces.js +1 -1
  72. package/dist/CurlyBraces.js.map +1 -1
  73. package/dist/Cursor.js +1 -1
  74. package/dist/Cursor.js.map +1 -1
  75. package/dist/Dashboard.js +2 -0
  76. package/dist/Dashboard.js.map +1 -0
  77. package/dist/Database.js +1 -1
  78. package/dist/Database.js.map +1 -1
  79. package/dist/Diagram.js +1 -1
  80. package/dist/Diagram.js.map +1 -1
  81. package/dist/Diagram2.js +1 -1
  82. package/dist/Diagram2.js.map +1 -1
  83. package/dist/Diagram3.js +1 -1
  84. package/dist/Diagram3.js.map +1 -1
  85. package/dist/Disconnect.js +1 -1
  86. package/dist/Disconnect.js.map +1 -1
  87. package/dist/Download.js +1 -1
  88. package/dist/Download.js.map +1 -1
  89. package/dist/Drag.js +1 -1
  90. package/dist/Drag.js.map +1 -1
  91. package/dist/Edit.js +1 -1
  92. package/dist/Edit.js.map +1 -1
  93. package/dist/Ellipsis.js +1 -1
  94. package/dist/Ellipsis.js.map +1 -1
  95. package/dist/Email.js +1 -1
  96. package/dist/Email.js.map +1 -1
  97. package/dist/Export.js +1 -1
  98. package/dist/Export.js.map +1 -1
  99. package/dist/Favorite.js +1 -1
  100. package/dist/Favorite.js.map +1 -1
  101. package/dist/File.js +1 -1
  102. package/dist/File.js.map +1 -1
  103. package/dist/Filter.js +1 -1
  104. package/dist/Filter.js.map +1 -1
  105. package/dist/Folder.js +1 -1
  106. package/dist/Folder.js.map +1 -1
  107. package/dist/FullScreenEnter.js +1 -1
  108. package/dist/FullScreenEnter.js.map +1 -1
  109. package/dist/FullScreenExit.js +1 -1
  110. package/dist/FullScreenExit.js.map +1 -1
  111. package/dist/Gauge.js +1 -1
  112. package/dist/Gauge.js.map +1 -1
  113. package/dist/GlobeAmericas.js +1 -1
  114. package/dist/GlobeAmericas.js.map +1 -1
  115. package/dist/GovernmentBuilding.js +1 -1
  116. package/dist/GovernmentBuilding.js.map +1 -1
  117. package/dist/Highlight.js +1 -1
  118. package/dist/Highlight.js.map +1 -1
  119. package/dist/Home.js +1 -1
  120. package/dist/Home.js.map +1 -1
  121. package/dist/Import.js +1 -1
  122. package/dist/Import.js.map +1 -1
  123. package/dist/ImportantWithCircle.js +1 -1
  124. package/dist/ImportantWithCircle.js.map +1 -1
  125. package/dist/InfoWithCircle.js +1 -1
  126. package/dist/InfoWithCircle.js.map +1 -1
  127. package/dist/InviteUser.js +1 -1
  128. package/dist/InviteUser.js.map +1 -1
  129. package/dist/Key.js +1 -1
  130. package/dist/Key.js.map +1 -1
  131. package/dist/Laptop.js +1 -1
  132. package/dist/Laptop.js.map +1 -1
  133. package/dist/Link.js +1 -1
  134. package/dist/Link.js.map +1 -1
  135. package/dist/Lock.js +1 -1
  136. package/dist/Lock.js.map +1 -1
  137. package/dist/LogIn.js +1 -1
  138. package/dist/LogIn.js.map +1 -1
  139. package/dist/LogOut.js +1 -1
  140. package/dist/LogOut.js.map +1 -1
  141. package/dist/MagnifyingGlass.js +1 -1
  142. package/dist/MagnifyingGlass.js.map +1 -1
  143. package/dist/Megaphone.js +1 -1
  144. package/dist/Megaphone.js.map +1 -1
  145. package/dist/Menu.js +1 -1
  146. package/dist/Menu.js.map +1 -1
  147. package/dist/Minus.js +1 -1
  148. package/dist/Minus.js.map +1 -1
  149. package/dist/NoFilter.js +1 -1
  150. package/dist/NoFilter.js.map +1 -1
  151. package/dist/NotAllowed.js +1 -1
  152. package/dist/NotAllowed.js.map +1 -1
  153. package/dist/Note.js +1 -1
  154. package/dist/Note.js.map +1 -1
  155. package/dist/OpenNewTab.js +1 -1
  156. package/dist/OpenNewTab.js.map +1 -1
  157. package/dist/Pause.js +1 -1
  158. package/dist/Pause.js.map +1 -1
  159. package/dist/Person.js +1 -1
  160. package/dist/Person.js.map +1 -1
  161. package/dist/PersonGroup.js +1 -1
  162. package/dist/PersonGroup.js.map +1 -1
  163. package/dist/PersonWithLock.js +1 -1
  164. package/dist/PersonWithLock.js.map +1 -1
  165. package/dist/Play.js +1 -1
  166. package/dist/Play.js.map +1 -1
  167. package/dist/Plus.js +1 -1
  168. package/dist/Plus.js.map +1 -1
  169. package/dist/PlusWithCircle.js +1 -1
  170. package/dist/PlusWithCircle.js.map +1 -1
  171. package/dist/QuestionMarkWithCircle.js +1 -1
  172. package/dist/QuestionMarkWithCircle.js.map +1 -1
  173. package/dist/Read.js +1 -1
  174. package/dist/Read.js.map +1 -1
  175. package/dist/Redo.js +1 -1
  176. package/dist/Redo.js.map +1 -1
  177. package/dist/Refresh.js +1 -1
  178. package/dist/Refresh.js.map +1 -1
  179. package/dist/Relationship.js +1 -1
  180. package/dist/Relationship.js.map +1 -1
  181. package/dist/ReplicaSet.js +1 -1
  182. package/dist/ReplicaSet.js.map +1 -1
  183. package/dist/Resize.js +1 -1
  184. package/dist/Resize.js.map +1 -1
  185. package/dist/SMS.js +1 -1
  186. package/dist/SMS.js.map +1 -1
  187. package/dist/Save.js +1 -1
  188. package/dist/Save.js.map +1 -1
  189. package/dist/Serverless.js +1 -1
  190. package/dist/Serverless.js.map +1 -1
  191. package/dist/Settings.js +1 -1
  192. package/dist/Settings.js.map +1 -1
  193. package/dist/ShardedCluster.js +1 -1
  194. package/dist/ShardedCluster.js.map +1 -1
  195. package/dist/Shell.js +1 -1
  196. package/dist/Shell.js.map +1 -1
  197. package/dist/SortAscending.js +1 -1
  198. package/dist/SortAscending.js.map +1 -1
  199. package/dist/SortDescending.js +1 -1
  200. package/dist/SortDescending.js.map +1 -1
  201. package/dist/SplitHorizontal.js +1 -1
  202. package/dist/SplitHorizontal.js.map +1 -1
  203. package/dist/SplitVertical.js +1 -1
  204. package/dist/SplitVertical.js.map +1 -1
  205. package/dist/Stitch.js +1 -1
  206. package/dist/Stitch.js.map +1 -1
  207. package/dist/Support.js +1 -1
  208. package/dist/Support.js.map +1 -1
  209. package/dist/Sweep.js +1 -1
  210. package/dist/Sweep.js.map +1 -1
  211. package/dist/Table.js +1 -1
  212. package/dist/Table.js.map +1 -1
  213. package/dist/Tag.js +1 -1
  214. package/dist/Tag.js.map +1 -1
  215. package/dist/TimeSeries.js +1 -1
  216. package/dist/TimeSeries.js.map +1 -1
  217. package/dist/Trash.js +1 -1
  218. package/dist/Trash.js.map +1 -1
  219. package/dist/Undo.js +1 -1
  220. package/dist/Undo.js.map +1 -1
  221. package/dist/University.js +1 -1
  222. package/dist/University.js.map +1 -1
  223. package/dist/Unlock.js +1 -1
  224. package/dist/Unlock.js.map +1 -1
  225. package/dist/Unsorted.js +1 -1
  226. package/dist/Unsorted.js.map +1 -1
  227. package/dist/UpDownCarets.js +1 -1
  228. package/dist/UpDownCarets.js.map +1 -1
  229. package/dist/Upload.js +1 -1
  230. package/dist/Upload.js.map +1 -1
  231. package/dist/VerticalEllipsis.js +1 -1
  232. package/dist/VerticalEllipsis.js.map +1 -1
  233. package/dist/Visibility.js +1 -1
  234. package/dist/Visibility.js.map +1 -1
  235. package/dist/VisibilityOff.js +1 -1
  236. package/dist/VisibilityOff.js.map +1 -1
  237. package/dist/Warning.js +1 -1
  238. package/dist/Warning.js.map +1 -1
  239. package/dist/Wizard.js +1 -1
  240. package/dist/Wizard.js.map +1 -1
  241. package/dist/Wrench.js +1 -1
  242. package/dist/Wrench.js.map +1 -1
  243. package/dist/Write.js +1 -1
  244. package/dist/Write.js.map +1 -1
  245. package/dist/X.js +1 -1
  246. package/dist/X.js.map +1 -1
  247. package/dist/XWithCircle.js +1 -1
  248. package/dist/XWithCircle.js.map +1 -1
  249. package/dist/esm/ActivityFeed.js +1 -1
  250. package/dist/esm/ActivityFeed.js.map +1 -1
  251. package/dist/esm/AddFile.js +1 -1
  252. package/dist/esm/AddFile.js.map +1 -1
  253. package/dist/esm/Apps.js +1 -1
  254. package/dist/esm/Apps.js.map +1 -1
  255. package/dist/esm/Array.js +1 -1
  256. package/dist/esm/Array.js.map +1 -1
  257. package/dist/esm/ArrowDown.js +1 -1
  258. package/dist/esm/ArrowDown.js.map +1 -1
  259. package/dist/esm/ArrowLeft.js +1 -1
  260. package/dist/esm/ArrowLeft.js.map +1 -1
  261. package/dist/esm/ArrowRight.js +1 -1
  262. package/dist/esm/ArrowRight.js.map +1 -1
  263. package/dist/esm/ArrowUp.js +1 -1
  264. package/dist/esm/ArrowUp.js.map +1 -1
  265. package/dist/esm/Beaker.js +1 -1
  266. package/dist/esm/Beaker.js.map +1 -1
  267. package/dist/esm/Bell.js +1 -1
  268. package/dist/esm/Bell.js.map +1 -1
  269. package/dist/esm/Biometric.js +1 -1
  270. package/dist/esm/Biometric.js.map +1 -1
  271. package/dist/esm/Building.js +1 -1
  272. package/dist/esm/Building.js.map +1 -1
  273. package/dist/esm/Bulb.js +1 -1
  274. package/dist/esm/Bulb.js.map +1 -1
  275. package/dist/esm/Calendar.js +1 -1
  276. package/dist/esm/Calendar.js.map +1 -1
  277. package/dist/esm/CaretDown.js +1 -1
  278. package/dist/esm/CaretDown.js.map +1 -1
  279. package/dist/esm/CaretLeft.js +1 -1
  280. package/dist/esm/CaretLeft.js.map +1 -1
  281. package/dist/esm/CaretRight.js +1 -1
  282. package/dist/esm/CaretRight.js.map +1 -1
  283. package/dist/esm/CaretUp.js +1 -1
  284. package/dist/esm/CaretUp.js.map +1 -1
  285. package/dist/esm/ChartFilled.js +1 -1
  286. package/dist/esm/ChartFilled.js.map +1 -1
  287. package/dist/esm/Charts.js +1 -1
  288. package/dist/esm/Charts.js.map +1 -1
  289. package/dist/esm/Checkmark.js +1 -1
  290. package/dist/esm/Checkmark.js.map +1 -1
  291. package/dist/esm/CheckmarkWithCircle.js +1 -1
  292. package/dist/esm/CheckmarkWithCircle.js.map +1 -1
  293. package/dist/esm/ChevronDown.js +1 -1
  294. package/dist/esm/ChevronDown.js.map +1 -1
  295. package/dist/esm/ChevronLeft.js +1 -1
  296. package/dist/esm/ChevronLeft.js.map +1 -1
  297. package/dist/esm/ChevronRight.js +1 -1
  298. package/dist/esm/ChevronRight.js.map +1 -1
  299. package/dist/esm/ChevronUp.js +1 -1
  300. package/dist/esm/ChevronUp.js.map +1 -1
  301. package/dist/esm/Clock.js +1 -1
  302. package/dist/esm/Clock.js.map +1 -1
  303. package/dist/esm/ClockWithArrow.js +1 -1
  304. package/dist/esm/ClockWithArrow.js.map +1 -1
  305. package/dist/esm/Clone.js +1 -1
  306. package/dist/esm/Clone.js.map +1 -1
  307. package/dist/esm/Cloud.js +1 -1
  308. package/dist/esm/Cloud.js.map +1 -1
  309. package/dist/esm/Code.js +1 -1
  310. package/dist/esm/Code.js.map +1 -1
  311. package/dist/esm/Connect.js +1 -1
  312. package/dist/esm/Connect.js.map +1 -1
  313. package/dist/esm/Copy.js +1 -1
  314. package/dist/esm/Copy.js.map +1 -1
  315. package/dist/esm/CreditCard.js +1 -1
  316. package/dist/esm/CreditCard.js.map +1 -1
  317. package/dist/esm/CurlyBraces.js +1 -1
  318. package/dist/esm/CurlyBraces.js.map +1 -1
  319. package/dist/esm/Cursor.js +1 -1
  320. package/dist/esm/Cursor.js.map +1 -1
  321. package/dist/esm/Dashboard.js +2 -0
  322. package/dist/esm/Dashboard.js.map +1 -0
  323. package/dist/esm/Database.js +1 -1
  324. package/dist/esm/Database.js.map +1 -1
  325. package/dist/esm/Diagram.js +1 -1
  326. package/dist/esm/Diagram.js.map +1 -1
  327. package/dist/esm/Diagram2.js +1 -1
  328. package/dist/esm/Diagram2.js.map +1 -1
  329. package/dist/esm/Diagram3.js +1 -1
  330. package/dist/esm/Diagram3.js.map +1 -1
  331. package/dist/esm/Disconnect.js +1 -1
  332. package/dist/esm/Disconnect.js.map +1 -1
  333. package/dist/esm/Download.js +1 -1
  334. package/dist/esm/Download.js.map +1 -1
  335. package/dist/esm/Drag.js +1 -1
  336. package/dist/esm/Drag.js.map +1 -1
  337. package/dist/esm/Edit.js +1 -1
  338. package/dist/esm/Edit.js.map +1 -1
  339. package/dist/esm/Ellipsis.js +1 -1
  340. package/dist/esm/Ellipsis.js.map +1 -1
  341. package/dist/esm/Email.js +1 -1
  342. package/dist/esm/Email.js.map +1 -1
  343. package/dist/esm/Export.js +1 -1
  344. package/dist/esm/Export.js.map +1 -1
  345. package/dist/esm/Favorite.js +1 -1
  346. package/dist/esm/Favorite.js.map +1 -1
  347. package/dist/esm/File.js +1 -1
  348. package/dist/esm/File.js.map +1 -1
  349. package/dist/esm/Filter.js +1 -1
  350. package/dist/esm/Filter.js.map +1 -1
  351. package/dist/esm/Folder.js +1 -1
  352. package/dist/esm/Folder.js.map +1 -1
  353. package/dist/esm/FullScreenEnter.js +1 -1
  354. package/dist/esm/FullScreenEnter.js.map +1 -1
  355. package/dist/esm/FullScreenExit.js +1 -1
  356. package/dist/esm/FullScreenExit.js.map +1 -1
  357. package/dist/esm/Gauge.js +1 -1
  358. package/dist/esm/Gauge.js.map +1 -1
  359. package/dist/esm/GlobeAmericas.js +1 -1
  360. package/dist/esm/GlobeAmericas.js.map +1 -1
  361. package/dist/esm/GovernmentBuilding.js +1 -1
  362. package/dist/esm/GovernmentBuilding.js.map +1 -1
  363. package/dist/esm/Highlight.js +1 -1
  364. package/dist/esm/Highlight.js.map +1 -1
  365. package/dist/esm/Home.js +1 -1
  366. package/dist/esm/Home.js.map +1 -1
  367. package/dist/esm/Import.js +1 -1
  368. package/dist/esm/Import.js.map +1 -1
  369. package/dist/esm/ImportantWithCircle.js +1 -1
  370. package/dist/esm/ImportantWithCircle.js.map +1 -1
  371. package/dist/esm/InfoWithCircle.js +1 -1
  372. package/dist/esm/InfoWithCircle.js.map +1 -1
  373. package/dist/esm/InviteUser.js +1 -1
  374. package/dist/esm/InviteUser.js.map +1 -1
  375. package/dist/esm/Key.js +1 -1
  376. package/dist/esm/Key.js.map +1 -1
  377. package/dist/esm/Laptop.js +1 -1
  378. package/dist/esm/Laptop.js.map +1 -1
  379. package/dist/esm/Link.js +1 -1
  380. package/dist/esm/Link.js.map +1 -1
  381. package/dist/esm/Lock.js +1 -1
  382. package/dist/esm/Lock.js.map +1 -1
  383. package/dist/esm/LogIn.js +1 -1
  384. package/dist/esm/LogIn.js.map +1 -1
  385. package/dist/esm/LogOut.js +1 -1
  386. package/dist/esm/LogOut.js.map +1 -1
  387. package/dist/esm/MagnifyingGlass.js +1 -1
  388. package/dist/esm/MagnifyingGlass.js.map +1 -1
  389. package/dist/esm/Megaphone.js +1 -1
  390. package/dist/esm/Megaphone.js.map +1 -1
  391. package/dist/esm/Menu.js +1 -1
  392. package/dist/esm/Menu.js.map +1 -1
  393. package/dist/esm/Minus.js +1 -1
  394. package/dist/esm/Minus.js.map +1 -1
  395. package/dist/esm/NoFilter.js +1 -1
  396. package/dist/esm/NoFilter.js.map +1 -1
  397. package/dist/esm/NotAllowed.js +1 -1
  398. package/dist/esm/NotAllowed.js.map +1 -1
  399. package/dist/esm/Note.js +1 -1
  400. package/dist/esm/Note.js.map +1 -1
  401. package/dist/esm/OpenNewTab.js +1 -1
  402. package/dist/esm/OpenNewTab.js.map +1 -1
  403. package/dist/esm/Pause.js +1 -1
  404. package/dist/esm/Pause.js.map +1 -1
  405. package/dist/esm/Person.js +1 -1
  406. package/dist/esm/Person.js.map +1 -1
  407. package/dist/esm/PersonGroup.js +1 -1
  408. package/dist/esm/PersonGroup.js.map +1 -1
  409. package/dist/esm/PersonWithLock.js +1 -1
  410. package/dist/esm/PersonWithLock.js.map +1 -1
  411. package/dist/esm/Play.js +1 -1
  412. package/dist/esm/Play.js.map +1 -1
  413. package/dist/esm/Plus.js +1 -1
  414. package/dist/esm/Plus.js.map +1 -1
  415. package/dist/esm/PlusWithCircle.js +1 -1
  416. package/dist/esm/PlusWithCircle.js.map +1 -1
  417. package/dist/esm/QuestionMarkWithCircle.js +1 -1
  418. package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
  419. package/dist/esm/Read.js +1 -1
  420. package/dist/esm/Read.js.map +1 -1
  421. package/dist/esm/Redo.js +1 -1
  422. package/dist/esm/Redo.js.map +1 -1
  423. package/dist/esm/Refresh.js +1 -1
  424. package/dist/esm/Refresh.js.map +1 -1
  425. package/dist/esm/Relationship.js +1 -1
  426. package/dist/esm/Relationship.js.map +1 -1
  427. package/dist/esm/ReplicaSet.js +1 -1
  428. package/dist/esm/ReplicaSet.js.map +1 -1
  429. package/dist/esm/Resize.js +1 -1
  430. package/dist/esm/Resize.js.map +1 -1
  431. package/dist/esm/SMS.js +1 -1
  432. package/dist/esm/SMS.js.map +1 -1
  433. package/dist/esm/Save.js +1 -1
  434. package/dist/esm/Save.js.map +1 -1
  435. package/dist/esm/Serverless.js +1 -1
  436. package/dist/esm/Serverless.js.map +1 -1
  437. package/dist/esm/Settings.js +1 -1
  438. package/dist/esm/Settings.js.map +1 -1
  439. package/dist/esm/ShardedCluster.js +1 -1
  440. package/dist/esm/ShardedCluster.js.map +1 -1
  441. package/dist/esm/Shell.js +1 -1
  442. package/dist/esm/Shell.js.map +1 -1
  443. package/dist/esm/SortAscending.js +1 -1
  444. package/dist/esm/SortAscending.js.map +1 -1
  445. package/dist/esm/SortDescending.js +1 -1
  446. package/dist/esm/SortDescending.js.map +1 -1
  447. package/dist/esm/SplitHorizontal.js +1 -1
  448. package/dist/esm/SplitHorizontal.js.map +1 -1
  449. package/dist/esm/SplitVertical.js +1 -1
  450. package/dist/esm/SplitVertical.js.map +1 -1
  451. package/dist/esm/Stitch.js +1 -1
  452. package/dist/esm/Stitch.js.map +1 -1
  453. package/dist/esm/Support.js +1 -1
  454. package/dist/esm/Support.js.map +1 -1
  455. package/dist/esm/Sweep.js +1 -1
  456. package/dist/esm/Sweep.js.map +1 -1
  457. package/dist/esm/Table.js +1 -1
  458. package/dist/esm/Table.js.map +1 -1
  459. package/dist/esm/Tag.js +1 -1
  460. package/dist/esm/Tag.js.map +1 -1
  461. package/dist/esm/TimeSeries.js +1 -1
  462. package/dist/esm/TimeSeries.js.map +1 -1
  463. package/dist/esm/Trash.js +1 -1
  464. package/dist/esm/Trash.js.map +1 -1
  465. package/dist/esm/Undo.js +1 -1
  466. package/dist/esm/Undo.js.map +1 -1
  467. package/dist/esm/University.js +1 -1
  468. package/dist/esm/University.js.map +1 -1
  469. package/dist/esm/Unlock.js +1 -1
  470. package/dist/esm/Unlock.js.map +1 -1
  471. package/dist/esm/Unsorted.js +1 -1
  472. package/dist/esm/Unsorted.js.map +1 -1
  473. package/dist/esm/UpDownCarets.js +1 -1
  474. package/dist/esm/UpDownCarets.js.map +1 -1
  475. package/dist/esm/Upload.js +1 -1
  476. package/dist/esm/Upload.js.map +1 -1
  477. package/dist/esm/VerticalEllipsis.js +1 -1
  478. package/dist/esm/VerticalEllipsis.js.map +1 -1
  479. package/dist/esm/Visibility.js +1 -1
  480. package/dist/esm/Visibility.js.map +1 -1
  481. package/dist/esm/VisibilityOff.js +1 -1
  482. package/dist/esm/VisibilityOff.js.map +1 -1
  483. package/dist/esm/Warning.js +1 -1
  484. package/dist/esm/Warning.js.map +1 -1
  485. package/dist/esm/Wizard.js +1 -1
  486. package/dist/esm/Wizard.js.map +1 -1
  487. package/dist/esm/Wrench.js +1 -1
  488. package/dist/esm/Wrench.js.map +1 -1
  489. package/dist/esm/Write.js +1 -1
  490. package/dist/esm/Write.js.map +1 -1
  491. package/dist/esm/X.js +1 -1
  492. package/dist/esm/X.js.map +1 -1
  493. package/dist/esm/XWithCircle.js +1 -1
  494. package/dist/esm/XWithCircle.js.map +1 -1
  495. package/dist/esm/index.js +1 -1
  496. package/dist/esm/index.js.map +1 -1
  497. package/dist/generated/ActivityFeed.d.ts +0 -1
  498. package/dist/generated/ActivityFeed.d.ts.map +1 -1
  499. package/dist/generated/AddFile.d.ts +0 -1
  500. package/dist/generated/AddFile.d.ts.map +1 -1
  501. package/dist/generated/Apps.d.ts +0 -1
  502. package/dist/generated/Apps.d.ts.map +1 -1
  503. package/dist/generated/Array.d.ts +0 -1
  504. package/dist/generated/Array.d.ts.map +1 -1
  505. package/dist/generated/ArrowDown.d.ts +0 -1
  506. package/dist/generated/ArrowDown.d.ts.map +1 -1
  507. package/dist/generated/ArrowLeft.d.ts +0 -1
  508. package/dist/generated/ArrowLeft.d.ts.map +1 -1
  509. package/dist/generated/ArrowRight.d.ts +0 -1
  510. package/dist/generated/ArrowRight.d.ts.map +1 -1
  511. package/dist/generated/ArrowUp.d.ts +0 -1
  512. package/dist/generated/ArrowUp.d.ts.map +1 -1
  513. package/dist/generated/Beaker.d.ts +0 -1
  514. package/dist/generated/Beaker.d.ts.map +1 -1
  515. package/dist/generated/Bell.d.ts +0 -1
  516. package/dist/generated/Bell.d.ts.map +1 -1
  517. package/dist/generated/Biometric.d.ts +0 -1
  518. package/dist/generated/Biometric.d.ts.map +1 -1
  519. package/dist/generated/Building.d.ts +0 -1
  520. package/dist/generated/Building.d.ts.map +1 -1
  521. package/dist/generated/Bulb.d.ts +0 -1
  522. package/dist/generated/Bulb.d.ts.map +1 -1
  523. package/dist/generated/Calendar.d.ts +0 -1
  524. package/dist/generated/Calendar.d.ts.map +1 -1
  525. package/dist/generated/CaretDown.d.ts +0 -1
  526. package/dist/generated/CaretDown.d.ts.map +1 -1
  527. package/dist/generated/CaretLeft.d.ts +0 -1
  528. package/dist/generated/CaretLeft.d.ts.map +1 -1
  529. package/dist/generated/CaretRight.d.ts +0 -1
  530. package/dist/generated/CaretRight.d.ts.map +1 -1
  531. package/dist/generated/CaretUp.d.ts +0 -1
  532. package/dist/generated/CaretUp.d.ts.map +1 -1
  533. package/dist/generated/ChartFilled.d.ts +0 -1
  534. package/dist/generated/ChartFilled.d.ts.map +1 -1
  535. package/dist/generated/Charts.d.ts +0 -1
  536. package/dist/generated/Charts.d.ts.map +1 -1
  537. package/dist/generated/Checkmark.d.ts +0 -1
  538. package/dist/generated/Checkmark.d.ts.map +1 -1
  539. package/dist/generated/CheckmarkWithCircle.d.ts +0 -1
  540. package/dist/generated/CheckmarkWithCircle.d.ts.map +1 -1
  541. package/dist/generated/ChevronDown.d.ts +0 -1
  542. package/dist/generated/ChevronDown.d.ts.map +1 -1
  543. package/dist/generated/ChevronLeft.d.ts +0 -1
  544. package/dist/generated/ChevronLeft.d.ts.map +1 -1
  545. package/dist/generated/ChevronRight.d.ts +0 -1
  546. package/dist/generated/ChevronRight.d.ts.map +1 -1
  547. package/dist/generated/ChevronUp.d.ts +0 -1
  548. package/dist/generated/ChevronUp.d.ts.map +1 -1
  549. package/dist/generated/Clock.d.ts +0 -1
  550. package/dist/generated/Clock.d.ts.map +1 -1
  551. package/dist/generated/ClockWithArrow.d.ts +0 -1
  552. package/dist/generated/ClockWithArrow.d.ts.map +1 -1
  553. package/dist/generated/Clone.d.ts +0 -1
  554. package/dist/generated/Clone.d.ts.map +1 -1
  555. package/dist/generated/Cloud.d.ts +0 -1
  556. package/dist/generated/Cloud.d.ts.map +1 -1
  557. package/dist/generated/Code.d.ts +0 -1
  558. package/dist/generated/Code.d.ts.map +1 -1
  559. package/dist/generated/Connect.d.ts +0 -1
  560. package/dist/generated/Connect.d.ts.map +1 -1
  561. package/dist/generated/Copy.d.ts +0 -1
  562. package/dist/generated/Copy.d.ts.map +1 -1
  563. package/dist/generated/CreditCard.d.ts +0 -1
  564. package/dist/generated/CreditCard.d.ts.map +1 -1
  565. package/dist/generated/CurlyBraces.d.ts +0 -1
  566. package/dist/generated/CurlyBraces.d.ts.map +1 -1
  567. package/dist/generated/Cursor.d.ts +0 -1
  568. package/dist/generated/Cursor.d.ts.map +1 -1
  569. package/dist/generated/Dashboard.d.ts +16 -0
  570. package/dist/generated/Dashboard.d.ts.map +1 -0
  571. package/dist/generated/Database.d.ts +0 -1
  572. package/dist/generated/Database.d.ts.map +1 -1
  573. package/dist/generated/Diagram.d.ts +0 -1
  574. package/dist/generated/Diagram.d.ts.map +1 -1
  575. package/dist/generated/Diagram2.d.ts +0 -1
  576. package/dist/generated/Diagram2.d.ts.map +1 -1
  577. package/dist/generated/Diagram3.d.ts +0 -1
  578. package/dist/generated/Diagram3.d.ts.map +1 -1
  579. package/dist/generated/Disconnect.d.ts +0 -1
  580. package/dist/generated/Disconnect.d.ts.map +1 -1
  581. package/dist/generated/Download.d.ts +0 -1
  582. package/dist/generated/Download.d.ts.map +1 -1
  583. package/dist/generated/Drag.d.ts +0 -1
  584. package/dist/generated/Drag.d.ts.map +1 -1
  585. package/dist/generated/Edit.d.ts +0 -1
  586. package/dist/generated/Edit.d.ts.map +1 -1
  587. package/dist/generated/Ellipsis.d.ts +0 -1
  588. package/dist/generated/Ellipsis.d.ts.map +1 -1
  589. package/dist/generated/Email.d.ts +0 -1
  590. package/dist/generated/Email.d.ts.map +1 -1
  591. package/dist/generated/Export.d.ts +0 -1
  592. package/dist/generated/Export.d.ts.map +1 -1
  593. package/dist/generated/Favorite.d.ts +0 -1
  594. package/dist/generated/Favorite.d.ts.map +1 -1
  595. package/dist/generated/File.d.ts +0 -1
  596. package/dist/generated/File.d.ts.map +1 -1
  597. package/dist/generated/Filter.d.ts +0 -1
  598. package/dist/generated/Filter.d.ts.map +1 -1
  599. package/dist/generated/Folder.d.ts +0 -1
  600. package/dist/generated/Folder.d.ts.map +1 -1
  601. package/dist/generated/FullScreenEnter.d.ts +0 -1
  602. package/dist/generated/FullScreenEnter.d.ts.map +1 -1
  603. package/dist/generated/FullScreenExit.d.ts +0 -1
  604. package/dist/generated/FullScreenExit.d.ts.map +1 -1
  605. package/dist/generated/Gauge.d.ts +0 -1
  606. package/dist/generated/Gauge.d.ts.map +1 -1
  607. package/dist/generated/GlobeAmericas.d.ts +0 -1
  608. package/dist/generated/GlobeAmericas.d.ts.map +1 -1
  609. package/dist/generated/GovernmentBuilding.d.ts +0 -1
  610. package/dist/generated/GovernmentBuilding.d.ts.map +1 -1
  611. package/dist/generated/Highlight.d.ts +0 -1
  612. package/dist/generated/Highlight.d.ts.map +1 -1
  613. package/dist/generated/Home.d.ts +0 -1
  614. package/dist/generated/Home.d.ts.map +1 -1
  615. package/dist/generated/Import.d.ts +0 -1
  616. package/dist/generated/Import.d.ts.map +1 -1
  617. package/dist/generated/ImportantWithCircle.d.ts +0 -1
  618. package/dist/generated/ImportantWithCircle.d.ts.map +1 -1
  619. package/dist/generated/InfoWithCircle.d.ts +0 -1
  620. package/dist/generated/InfoWithCircle.d.ts.map +1 -1
  621. package/dist/generated/InviteUser.d.ts +0 -1
  622. package/dist/generated/InviteUser.d.ts.map +1 -1
  623. package/dist/generated/Key.d.ts +0 -1
  624. package/dist/generated/Key.d.ts.map +1 -1
  625. package/dist/generated/Laptop.d.ts +0 -1
  626. package/dist/generated/Laptop.d.ts.map +1 -1
  627. package/dist/generated/Link.d.ts +0 -1
  628. package/dist/generated/Link.d.ts.map +1 -1
  629. package/dist/generated/Lock.d.ts +0 -1
  630. package/dist/generated/Lock.d.ts.map +1 -1
  631. package/dist/generated/LogIn.d.ts +0 -1
  632. package/dist/generated/LogIn.d.ts.map +1 -1
  633. package/dist/generated/LogOut.d.ts +0 -1
  634. package/dist/generated/LogOut.d.ts.map +1 -1
  635. package/dist/generated/MagnifyingGlass.d.ts +0 -1
  636. package/dist/generated/MagnifyingGlass.d.ts.map +1 -1
  637. package/dist/generated/Megaphone.d.ts +0 -1
  638. package/dist/generated/Megaphone.d.ts.map +1 -1
  639. package/dist/generated/Menu.d.ts +0 -1
  640. package/dist/generated/Menu.d.ts.map +1 -1
  641. package/dist/generated/Minus.d.ts +0 -1
  642. package/dist/generated/Minus.d.ts.map +1 -1
  643. package/dist/generated/NoFilter.d.ts +0 -1
  644. package/dist/generated/NoFilter.d.ts.map +1 -1
  645. package/dist/generated/NotAllowed.d.ts +0 -1
  646. package/dist/generated/NotAllowed.d.ts.map +1 -1
  647. package/dist/generated/Note.d.ts +0 -1
  648. package/dist/generated/Note.d.ts.map +1 -1
  649. package/dist/generated/OpenNewTab.d.ts +0 -1
  650. package/dist/generated/OpenNewTab.d.ts.map +1 -1
  651. package/dist/generated/Pause.d.ts +0 -1
  652. package/dist/generated/Pause.d.ts.map +1 -1
  653. package/dist/generated/Person.d.ts +0 -1
  654. package/dist/generated/Person.d.ts.map +1 -1
  655. package/dist/generated/PersonGroup.d.ts +0 -1
  656. package/dist/generated/PersonGroup.d.ts.map +1 -1
  657. package/dist/generated/PersonWithLock.d.ts +0 -1
  658. package/dist/generated/PersonWithLock.d.ts.map +1 -1
  659. package/dist/generated/Play.d.ts +0 -1
  660. package/dist/generated/Play.d.ts.map +1 -1
  661. package/dist/generated/Plus.d.ts +0 -1
  662. package/dist/generated/Plus.d.ts.map +1 -1
  663. package/dist/generated/PlusWithCircle.d.ts +0 -1
  664. package/dist/generated/PlusWithCircle.d.ts.map +1 -1
  665. package/dist/generated/QuestionMarkWithCircle.d.ts +0 -1
  666. package/dist/generated/QuestionMarkWithCircle.d.ts.map +1 -1
  667. package/dist/generated/Read.d.ts +0 -1
  668. package/dist/generated/Read.d.ts.map +1 -1
  669. package/dist/generated/Redo.d.ts +0 -1
  670. package/dist/generated/Redo.d.ts.map +1 -1
  671. package/dist/generated/Refresh.d.ts +0 -1
  672. package/dist/generated/Refresh.d.ts.map +1 -1
  673. package/dist/generated/Relationship.d.ts +0 -1
  674. package/dist/generated/Relationship.d.ts.map +1 -1
  675. package/dist/generated/ReplicaSet.d.ts +0 -1
  676. package/dist/generated/ReplicaSet.d.ts.map +1 -1
  677. package/dist/generated/Resize.d.ts +0 -1
  678. package/dist/generated/Resize.d.ts.map +1 -1
  679. package/dist/generated/SMS.d.ts +0 -1
  680. package/dist/generated/SMS.d.ts.map +1 -1
  681. package/dist/generated/Save.d.ts +0 -1
  682. package/dist/generated/Save.d.ts.map +1 -1
  683. package/dist/generated/Serverless.d.ts +0 -1
  684. package/dist/generated/Serverless.d.ts.map +1 -1
  685. package/dist/generated/Settings.d.ts +0 -1
  686. package/dist/generated/Settings.d.ts.map +1 -1
  687. package/dist/generated/ShardedCluster.d.ts +0 -1
  688. package/dist/generated/ShardedCluster.d.ts.map +1 -1
  689. package/dist/generated/Shell.d.ts +0 -1
  690. package/dist/generated/Shell.d.ts.map +1 -1
  691. package/dist/generated/SortAscending.d.ts +0 -1
  692. package/dist/generated/SortAscending.d.ts.map +1 -1
  693. package/dist/generated/SortDescending.d.ts +0 -1
  694. package/dist/generated/SortDescending.d.ts.map +1 -1
  695. package/dist/generated/SplitHorizontal.d.ts +0 -1
  696. package/dist/generated/SplitHorizontal.d.ts.map +1 -1
  697. package/dist/generated/SplitVertical.d.ts +0 -1
  698. package/dist/generated/SplitVertical.d.ts.map +1 -1
  699. package/dist/generated/Stitch.d.ts +0 -1
  700. package/dist/generated/Stitch.d.ts.map +1 -1
  701. package/dist/generated/Support.d.ts +0 -1
  702. package/dist/generated/Support.d.ts.map +1 -1
  703. package/dist/generated/Sweep.d.ts +0 -1
  704. package/dist/generated/Sweep.d.ts.map +1 -1
  705. package/dist/generated/Table.d.ts +0 -1
  706. package/dist/generated/Table.d.ts.map +1 -1
  707. package/dist/generated/Tag.d.ts +0 -1
  708. package/dist/generated/Tag.d.ts.map +1 -1
  709. package/dist/generated/TimeSeries.d.ts +0 -1
  710. package/dist/generated/TimeSeries.d.ts.map +1 -1
  711. package/dist/generated/Trash.d.ts +0 -1
  712. package/dist/generated/Trash.d.ts.map +1 -1
  713. package/dist/generated/Undo.d.ts +0 -1
  714. package/dist/generated/Undo.d.ts.map +1 -1
  715. package/dist/generated/University.d.ts +0 -1
  716. package/dist/generated/University.d.ts.map +1 -1
  717. package/dist/generated/Unlock.d.ts +0 -1
  718. package/dist/generated/Unlock.d.ts.map +1 -1
  719. package/dist/generated/Unsorted.d.ts +0 -1
  720. package/dist/generated/Unsorted.d.ts.map +1 -1
  721. package/dist/generated/UpDownCarets.d.ts +0 -1
  722. package/dist/generated/UpDownCarets.d.ts.map +1 -1
  723. package/dist/generated/Upload.d.ts +0 -1
  724. package/dist/generated/Upload.d.ts.map +1 -1
  725. package/dist/generated/VerticalEllipsis.d.ts +0 -1
  726. package/dist/generated/VerticalEllipsis.d.ts.map +1 -1
  727. package/dist/generated/Visibility.d.ts +0 -1
  728. package/dist/generated/Visibility.d.ts.map +1 -1
  729. package/dist/generated/VisibilityOff.d.ts +0 -1
  730. package/dist/generated/VisibilityOff.d.ts.map +1 -1
  731. package/dist/generated/Warning.d.ts +0 -1
  732. package/dist/generated/Warning.d.ts.map +1 -1
  733. package/dist/generated/Wizard.d.ts +0 -1
  734. package/dist/generated/Wizard.d.ts.map +1 -1
  735. package/dist/generated/Wrench.d.ts +0 -1
  736. package/dist/generated/Wrench.d.ts.map +1 -1
  737. package/dist/generated/Write.d.ts +0 -1
  738. package/dist/generated/Write.d.ts.map +1 -1
  739. package/dist/generated/X.d.ts +0 -1
  740. package/dist/generated/X.d.ts.map +1 -1
  741. package/dist/generated/XWithCircle.d.ts +0 -1
  742. package/dist/generated/XWithCircle.d.ts.map +1 -1
  743. package/dist/glyphs/index.d.ts +5 -1
  744. package/dist/glyphs/index.d.ts.map +1 -1
  745. package/dist/index.js +1 -1
  746. package/dist/index.js.map +1 -1
  747. package/package.json +1 -1
  748. package/src/Icon.story.tsx +9 -8
  749. package/src/generated/ActivityFeed.tsx +1 -3
  750. package/src/generated/AddFile.tsx +1 -3
  751. package/src/generated/Apps.tsx +1 -3
  752. package/src/generated/Array.tsx +1 -3
  753. package/src/generated/ArrowDown.tsx +1 -3
  754. package/src/generated/ArrowLeft.tsx +1 -3
  755. package/src/generated/ArrowRight.tsx +1 -3
  756. package/src/generated/ArrowUp.tsx +1 -3
  757. package/src/generated/Beaker.tsx +1 -3
  758. package/src/generated/Bell.tsx +1 -3
  759. package/src/generated/Biometric.tsx +1 -3
  760. package/src/generated/Building.tsx +1 -3
  761. package/src/generated/Bulb.tsx +1 -3
  762. package/src/generated/Calendar.tsx +1 -3
  763. package/src/generated/CaretDown.tsx +1 -3
  764. package/src/generated/CaretLeft.tsx +1 -3
  765. package/src/generated/CaretRight.tsx +1 -3
  766. package/src/generated/CaretUp.tsx +1 -3
  767. package/src/generated/ChartFilled.tsx +1 -3
  768. package/src/generated/Charts.tsx +1 -3
  769. package/src/generated/Checkmark.tsx +1 -3
  770. package/src/generated/CheckmarkWithCircle.tsx +1 -3
  771. package/src/generated/ChevronDown.tsx +1 -3
  772. package/src/generated/ChevronLeft.tsx +1 -3
  773. package/src/generated/ChevronRight.tsx +1 -3
  774. package/src/generated/ChevronUp.tsx +1 -3
  775. package/src/generated/Clock.tsx +1 -3
  776. package/src/generated/ClockWithArrow.tsx +1 -3
  777. package/src/generated/Clone.tsx +1 -3
  778. package/src/generated/Cloud.tsx +1 -3
  779. package/src/generated/Code.tsx +1 -3
  780. package/src/generated/Connect.tsx +1 -3
  781. package/src/generated/Copy.tsx +1 -3
  782. package/src/generated/CreditCard.tsx +1 -3
  783. package/src/generated/CurlyBraces.tsx +1 -3
  784. package/src/generated/Cursor.tsx +1 -3
  785. package/src/generated/Dashboard.tsx +74 -0
  786. package/src/generated/Database.tsx +1 -3
  787. package/src/generated/Diagram.tsx +1 -3
  788. package/src/generated/Diagram2.tsx +1 -3
  789. package/src/generated/Diagram3.tsx +1 -3
  790. package/src/generated/Disconnect.tsx +1 -3
  791. package/src/generated/Download.tsx +1 -3
  792. package/src/generated/Drag.tsx +1 -3
  793. package/src/generated/Edit.tsx +1 -3
  794. package/src/generated/Ellipsis.tsx +1 -3
  795. package/src/generated/Email.tsx +1 -3
  796. package/src/generated/Export.tsx +1 -3
  797. package/src/generated/Favorite.tsx +1 -3
  798. package/src/generated/File.tsx +1 -3
  799. package/src/generated/Filter.tsx +1 -3
  800. package/src/generated/Folder.tsx +1 -3
  801. package/src/generated/FullScreenEnter.tsx +1 -3
  802. package/src/generated/FullScreenExit.tsx +1 -3
  803. package/src/generated/Gauge.tsx +1 -3
  804. package/src/generated/GlobeAmericas.tsx +1 -3
  805. package/src/generated/GovernmentBuilding.tsx +1 -3
  806. package/src/generated/Highlight.tsx +1 -3
  807. package/src/generated/Home.tsx +1 -3
  808. package/src/generated/Import.tsx +1 -3
  809. package/src/generated/ImportantWithCircle.tsx +1 -3
  810. package/src/generated/InfoWithCircle.tsx +1 -3
  811. package/src/generated/InviteUser.tsx +1 -3
  812. package/src/generated/Key.tsx +1 -3
  813. package/src/generated/Laptop.tsx +1 -3
  814. package/src/generated/Link.tsx +1 -3
  815. package/src/generated/Lock.tsx +1 -3
  816. package/src/generated/LogIn.tsx +1 -3
  817. package/src/generated/LogOut.tsx +1 -3
  818. package/src/generated/MagnifyingGlass.tsx +1 -3
  819. package/src/generated/Megaphone.tsx +1 -3
  820. package/src/generated/Menu.tsx +1 -3
  821. package/src/generated/Minus.tsx +1 -3
  822. package/src/generated/NoFilter.tsx +1 -3
  823. package/src/generated/NotAllowed.tsx +1 -3
  824. package/src/generated/Note.tsx +1 -3
  825. package/src/generated/OpenNewTab.tsx +1 -3
  826. package/src/generated/Pause.tsx +1 -3
  827. package/src/generated/Person.tsx +1 -3
  828. package/src/generated/PersonGroup.tsx +1 -3
  829. package/src/generated/PersonWithLock.tsx +1 -3
  830. package/src/generated/Play.tsx +1 -3
  831. package/src/generated/Plus.tsx +1 -3
  832. package/src/generated/PlusWithCircle.tsx +1 -3
  833. package/src/generated/QuestionMarkWithCircle.tsx +1 -3
  834. package/src/generated/Read.tsx +1 -3
  835. package/src/generated/Redo.tsx +1 -3
  836. package/src/generated/Refresh.tsx +1 -3
  837. package/src/generated/Relationship.tsx +1 -3
  838. package/src/generated/ReplicaSet.tsx +1 -3
  839. package/src/generated/Resize.tsx +1 -3
  840. package/src/generated/SMS.tsx +1 -3
  841. package/src/generated/Save.tsx +1 -3
  842. package/src/generated/Serverless.tsx +1 -3
  843. package/src/generated/Settings.tsx +1 -3
  844. package/src/generated/ShardedCluster.tsx +1 -3
  845. package/src/generated/Shell.tsx +1 -3
  846. package/src/generated/SortAscending.tsx +1 -3
  847. package/src/generated/SortDescending.tsx +1 -3
  848. package/src/generated/SplitHorizontal.tsx +1 -3
  849. package/src/generated/SplitVertical.tsx +1 -3
  850. package/src/generated/Stitch.tsx +1 -3
  851. package/src/generated/Support.tsx +1 -3
  852. package/src/generated/Sweep.tsx +1 -3
  853. package/src/generated/Table.tsx +1 -3
  854. package/src/generated/Tag.tsx +1 -3
  855. package/src/generated/TimeSeries.tsx +1 -3
  856. package/src/generated/Trash.tsx +1 -3
  857. package/src/generated/Undo.tsx +1 -3
  858. package/src/generated/University.tsx +1 -3
  859. package/src/generated/Unlock.tsx +1 -3
  860. package/src/generated/Unsorted.tsx +1 -3
  861. package/src/generated/UpDownCarets.tsx +1 -3
  862. package/src/generated/Upload.tsx +1 -3
  863. package/src/generated/VerticalEllipsis.tsx +1 -3
  864. package/src/generated/Visibility.tsx +1 -3
  865. package/src/generated/VisibilityOff.tsx +1 -3
  866. package/src/generated/Warning.tsx +1 -3
  867. package/src/generated/Wizard.tsx +1 -3
  868. package/src/generated/Wrench.tsx +1 -3
  869. package/src/generated/Write.tsx +1 -3
  870. package/src/generated/X.tsx +1 -3
  871. package/src/generated/XWithCircle.tsx +1 -3
  872. package/src/glyphs/Dashboard.svg +6 -0
  873. package/src/glyphs/index.ts +2 -0
  874. package/stories.js +1 -1
  875. package/tsconfig.tsbuildinfo +1 -1
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/glyphCommon.ts","../src/createGlyphComponent.tsx","../src/createIconComponent.tsx","../src/glyphs/index.ts","../src/Icon.tsx","../src/isComponentGlyph.ts"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { css, cx } from '@leafygreen-ui/emotion';\n\nimport { generateAccessibleProps, Size, sizeMap } from './glyphCommon';\nimport { LGGlyph, SVGR } from './types';\n\n/**\n * Returns a single glyph component.\n * Process custom glyphs to ensure consistent behavior between custom and built-in icons\n * @param glyphName: string - the display name of the icon\n * @param Glyph: SVGR.Component - the SVG icon component\n * @returns LGGlyph.Component\n */\nexport function createGlyphComponent(\n glyphName: string,\n Glyph: SVGR.Component,\n): LGGlyph.Component {\n const GlyphComponent: LGGlyph.Component = ({\n className,\n size = Size.Default,\n fill,\n title,\n 'aria-labelledby': ariaLabelledby,\n 'aria-label': ariaLabel,\n role = 'img',\n ...rest\n }: LGGlyph.ComponentProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n\n const renderedSize = typeof size === 'number' ? size : sizeMap[size];\n\n if (!(role === 'img' || role === 'presentation')) {\n console.warn(\n \"Please provide a valid role to this component. Valid options are 'img' and 'presentation'. If you'd like the Icon to be accessible to screen readers please use 'img', otherwise set the role to 'presentation'.\",\n );\n }\n\n return (\n <Glyph\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n className,\n )}\n height={renderedSize}\n width={renderedSize}\n role={role}\n {...generateAccessibleProps(role, glyphName, {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n })}\n {...rest}\n />\n );\n };\n\n GlyphComponent.displayName = glyphName;\n\n GlyphComponent.isGlyph = true;\n\n GlyphComponent.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([\n PropTypes.oneOf(Object.values(Size)),\n PropTypes.number,\n ]),\n className: PropTypes.string,\n };\n\n return GlyphComponent;\n}\n","import React from 'react';\nimport kebabCase from 'lodash/kebabCase';\nimport PropTypes from 'prop-types';\n\nimport { Size } from './glyphCommon';\nimport { LGGlyph } from './types';\n\n// We omit size here because we map string values for size to numbers in this component.\nexport interface IconProps extends Omit<LGGlyph.ComponentProps, 'size'> {\n /**\n * The name of the icon glyph\n */\n glyph: string;\n\n /**\n * Size of the icon\n */\n size?: Size | number;\n}\n\ntype GlyphObject = Record<string, LGGlyph.Component>;\n\n/**\n * Returns a single component with a `glyph` prop to select the glyph\n * @param glyphs The set of glyphs\n * @returns Icon component\n */\nexport function createIconComponent<G extends GlyphObject = GlyphObject>(\n glyphs: G,\n) {\n const Icon = ({ glyph, ...rest }: IconProps) => {\n const SVGComponent = glyphs[glyph];\n\n if (SVGComponent) {\n return <SVGComponent {...rest} />;\n } else {\n // TODO: improve fuzzy match\n // Suggest the proper icon casing if there's a near match\n const nearMatch = Object.keys(glyphs).find(\n key => kebabCase(key) === kebabCase(glyph),\n );\n console.error(\n 'Error in Icon',\n `Could not find glyph named \"${glyph}\" in the icon set.`,\n nearMatch && `Did you mean \"${nearMatch}?\"`,\n );\n return <></>;\n }\n };\n\n Icon.displayName = 'Icon';\n\n Icon.isGlyph = true;\n\n Icon.propTypes = {\n glyph: PropTypes.oneOf(Object.keys(glyphs)).isRequired,\n size: PropTypes.oneOfType([\n PropTypes.oneOf(Object.values(Size)),\n PropTypes.number,\n ]),\n } as any;\n\n return Icon;\n}\n","import { createGlyphComponent } from '../createGlyphComponent';\nimport { LGGlyph } from '../types';\n\n// Glyphs\nimport ActivityFeed from './ActivityFeed.svg';\nimport AddFile from './AddFile.svg';\nimport Apps from './Apps.svg';\nimport Array from './Array.svg';\nimport ArrowDown from './ArrowDown.svg';\nimport ArrowLeft from './ArrowLeft.svg';\nimport ArrowRight from './ArrowRight.svg';\nimport ArrowUp from './ArrowUp.svg';\nimport Beaker from './Beaker.svg';\nimport Bell from './Bell.svg';\nimport Biometric from './Biometric.svg';\nimport Building from './Building.svg';\nimport Bulb from './Bulb.svg';\nimport Calendar from './Calendar.svg';\nimport CaretDown from './CaretDown.svg';\nimport CaretLeft from './CaretLeft.svg';\nimport CaretRight from './CaretRight.svg';\nimport CaretUp from './CaretUp.svg';\nimport ChartFilled from './ChartFilled.svg';\nimport Charts from './Charts.svg';\nimport Checkmark from './Checkmark.svg';\nimport CheckmarkWithCircle from './CheckmarkWithCircle.svg';\nimport ChevronDown from './ChevronDown.svg';\nimport ChevronLeft from './ChevronLeft.svg';\nimport ChevronRight from './ChevronRight.svg';\nimport ChevronUp from './ChevronUp.svg';\nimport Clock from './Clock.svg';\nimport ClockWithArrow from './ClockWithArrow.svg';\nimport Clone from './Clone.svg';\nimport Cloud from './Cloud.svg';\nimport Code from './Code.svg';\nimport Connect from './Connect.svg';\nimport Copy from './Copy.svg';\nimport CreditCard from './CreditCard.svg';\nimport CurlyBraces from './CurlyBraces.svg';\nimport Cursor from './Cursor.svg';\nimport Database from './Database.svg';\nimport Diagram from './Diagram.svg';\nimport Diagram2 from './Diagram2.svg';\nimport Diagram3 from './Diagram3.svg';\nimport Disconnect from './Disconnect.svg';\nimport Download from './Download.svg';\nimport Drag from './Drag.svg';\nimport Edit from './Edit.svg';\nimport Ellipsis from './Ellipsis.svg';\nimport Email from './Email.svg';\nimport Export from './Export.svg';\nimport Favorite from './Favorite.svg';\nimport File from './File.svg';\nimport Filter from './Filter.svg';\nimport Folder from './Folder.svg';\nimport FullScreenEnter from './FullScreenEnter.svg';\nimport FullScreenExit from './FullScreenExit.svg';\nimport Gauge from './Gauge.svg';\nimport GlobeAmericas from './GlobeAmericas.svg';\nimport GovernmentBuilding from './GovernmentBuilding.svg';\nimport Highlight from './Highlight.svg';\nimport Home from './Home.svg';\nimport Import from './Import.svg';\nimport ImportantWithCircle from './ImportantWithCircle.svg';\nimport InfoWithCircle from './InfoWithCircle.svg';\nimport InviteUser from './InviteUser.svg';\nimport Key from './Key.svg';\nimport Laptop from './Laptop.svg';\nimport Link from './Link.svg';\nimport Lock from './Lock.svg';\nimport LogIn from './LogIn.svg';\nimport LogOut from './LogOut.svg';\nimport MagnifyingGlass from './MagnifyingGlass.svg';\nimport Megaphone from './Megaphone.svg';\nimport Menu from './Menu.svg';\nimport Minus from './Minus.svg';\nimport NoFilter from './NoFilter.svg';\nimport NotAllowed from './NotAllowed.svg';\nimport Note from './Note.svg';\nimport OpenNewTab from './OpenNewTab.svg';\nimport Pause from './Pause.svg';\nimport Person from './Person.svg';\nimport PersonGroup from './PersonGroup.svg';\nimport PersonWithLock from './PersonWithLock.svg';\nimport Play from './Play.svg';\nimport Plus from './Plus.svg';\nimport PlusWithCircle from './PlusWithCircle.svg';\nimport QuestionMarkWithCircle from './QuestionMarkWithCircle.svg';\nimport Read from './Read.svg';\nimport Redo from './Redo.svg';\nimport Refresh from './Refresh.svg';\nimport Relationship from './Relationship.svg';\nimport ReplicaSet from './ReplicaSet.svg';\nimport Resize from './Resize.svg';\nimport Save from './Save.svg';\nimport Serverless from './Serverless.svg';\nimport Settings from './Settings.svg';\nimport ShardedCluster from './ShardedCluster.svg';\nimport Shell from './Shell.svg';\nimport SMS from './SMS.svg';\nimport SortAscending from './SortAscending.svg';\nimport SortDescending from './SortDescending.svg';\nimport SplitHorizontal from './SplitHorizontal.svg';\nimport SplitVertical from './SplitVertical.svg';\nimport Stitch from './Stitch.svg';\nimport Support from './Support.svg';\nimport Sweep from './Sweep.svg';\nimport Table from './Table.svg';\nimport Tag from './Tag.svg';\nimport TimeSeries from './TimeSeries.svg';\nimport Trash from './Trash.svg';\nimport Undo from './Undo.svg';\nimport University from './University.svg';\nimport Unlock from './Unlock.svg';\nimport Unsorted from './Unsorted.svg';\nimport UpDownCarets from './UpDownCarets.svg';\nimport Upload from './Upload.svg';\nimport VerticalEllipsis from './VerticalEllipsis.svg';\nimport Visibility from './Visibility.svg';\nimport VisibilityOff from './VisibilityOff.svg';\nimport Warning from './Warning.svg';\nimport Wizard from './Wizard.svg';\nimport Wrench from './Wrench.svg';\nimport Write from './Write.svg';\nimport X from './X.svg';\nimport XWithCircle from './XWithCircle.svg';\n\nconst _glyphs = {\n ActivityFeed,\n AddFile,\n Apps,\n Array,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Beaker,\n Bell,\n Biometric,\n Building,\n Bulb,\n Calendar,\n CaretDown,\n CaretLeft,\n CaretRight,\n CaretUp,\n ChartFilled,\n Charts,\n Checkmark,\n CheckmarkWithCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n Clock,\n ClockWithArrow,\n Clone,\n Cloud,\n Code,\n Connect,\n Copy,\n CreditCard,\n CurlyBraces,\n Cursor,\n Database,\n Diagram,\n Diagram2,\n Diagram3,\n Disconnect,\n Download,\n Drag,\n Edit,\n Ellipsis,\n Email,\n Export,\n Favorite,\n File,\n Filter,\n FullScreenEnter,\n FullScreenExit,\n Folder,\n Gauge,\n GlobeAmericas,\n GovernmentBuilding,\n Highlight,\n Home,\n Import,\n ImportantWithCircle,\n InfoWithCircle,\n InviteUser,\n Key,\n Laptop,\n Link,\n Lock,\n LogIn,\n LogOut,\n MagnifyingGlass,\n Megaphone,\n Menu,\n Minus,\n NoFilter,\n NotAllowed,\n Note,\n OpenNewTab,\n Pause,\n Person,\n PersonGroup,\n PersonWithLock,\n Play,\n Plus,\n PlusWithCircle,\n QuestionMarkWithCircle,\n Read,\n Redo,\n Refresh,\n Relationship,\n ReplicaSet,\n Resize,\n Save,\n Serverless,\n ShardedCluster,\n Settings,\n Shell,\n SMS,\n SortAscending,\n SortDescending,\n SplitHorizontal,\n SplitVertical,\n Stitch,\n Support,\n Sweep,\n Table,\n Tag,\n TimeSeries,\n Trash,\n Undo,\n University,\n Unlock,\n Unsorted,\n UpDownCarets,\n Upload,\n VerticalEllipsis,\n Visibility,\n VisibilityOff,\n Warning,\n Wizard,\n Wrench,\n Write,\n X,\n XWithCircle,\n} as const;\n\nexport type GlyphName = keyof typeof _glyphs;\n\nconst glyphKeys = Object.keys(_glyphs) as Array<GlyphName>;\n\nexport const glyphs = glyphKeys.reduce((acc, name) => {\n acc[name] = createGlyphComponent(name, _glyphs[name]);\n\n return acc;\n}, {} as Record<GlyphName, LGGlyph.Component>);\n","import { createIconComponent } from './createIconComponent';\nimport { glyphs } from './glyphs';\n\nexport const Icon = createIconComponent(glyphs);\n","import { ComponentType, isValidElement, ReactNode } from 'react';\n\nimport { LGGlyph } from './types';\n\ntype ExtendedComponentType = ComponentType<any> & {\n [key: string]: any;\n};\n/**\n * Helper type to check if element is a LeafyGreen UI Glyph\n * @internal\n */\nfunction isComponentGlyph(node: ReactNode): node is LGGlyph.Element;\nfunction isComponentGlyph(\n component: ExtendedComponentType,\n): component is LGGlyph.Component;\nfunction isComponentGlyph(\n child: ReactNode | ExtendedComponentType,\n): child is LGGlyph.Element | LGGlyph.Component {\n // If we're received a rendered component (i.e. ReactNode)\n if (isValidElement(child)) {\n return (\n child != null &&\n typeof child === 'object' &&\n 'type' in child &&\n (child.type as any).isGlyph === true\n );\n }\n\n // If we've recieved a component function\n return (\n child != null &&\n typeof child === 'function' &&\n 'isGlyph' in child &&\n child.isGlyph === true\n );\n}\n\nexport { isComponentGlyph };\n"],"names":["_templateObject","Size","Small","Default","Large","XLarge","sizeMap","small","default","large","xlarge","_excluded","createGlyphComponent","glyphName","Glyph","GlyphComponent","_ref","_generateAccessiblePr","className","_ref$size","size","fill","title","ariaLabelledby","ariaLabel","_ref$role","role","rest","_objectWithoutProperties","fillStyle","css","renderedSize","console","warn","React","createElement","_extends","cx","_defineProperty","height","width","_ref2","name","concat","replace","alt","generateAccessibleProps","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","oneOf","Object","values","number","createIconComponent","glyphs","Icon","glyph","SVGComponent","nearMatch","keys","find","key","kebabCase","error","Fragment","isRequired","_glyphs","ActivityFeed","AddFile","Apps","Array","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","Beaker","Bell","Biometric","Building","Bulb","Calendar","CaretDown","CaretLeft","CaretRight","CaretUp","ChartFilled","Charts","Checkmark","CheckmarkWithCircle","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","Clock","ClockWithArrow","Clone","Cloud","Code","Connect","Copy","CreditCard","CurlyBraces","Cursor","Database","Diagram","Diagram2","Diagram3","Disconnect","Download","Drag","Edit","Ellipsis","Email","Export","Favorite","File","Filter","FullScreenEnter","FullScreenExit","Folder","Gauge","GlobeAmericas","GovernmentBuilding","Highlight","Home","Import","ImportantWithCircle","InfoWithCircle","InviteUser","Key","Laptop","Link","Lock","LogIn","LogOut","MagnifyingGlass","Megaphone","Menu","Minus","NoFilter","NotAllowed","Note","OpenNewTab","Pause","Person","PersonGroup","PersonWithLock","Play","Plus","PlusWithCircle","QuestionMarkWithCircle","Read","Redo","Refresh","Relationship","ReplicaSet","Resize","Save","Serverless","ShardedCluster","Settings","Shell","SMS","SortAscending","SortDescending","SplitHorizontal","SplitVertical","Stitch","Support","Sweep","Table","Tag","TimeSeries","Trash","Undo","University","Unlock","Unsorted","UpDownCarets","Upload","VerticalEllipsis","Visibility","VisibilityOff","Warning","Wizard","Wrench","Write","X","XWithCircle","reduce","acc","child","isValidElement","_typeof","type"],"mappings":"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CAC,gnBACAC,6mBACAC,ySACAC,gdACAC,2bACAC,siBACAC,6pBACAC,ioBACAC,qmBACAC,iWACAC,iYACAC,koBACAC,2aACAC,gjBACAC,41BACAC,qaACAC,grBACAC,qvBACAC,4bACAC,kaACAC,2UACAC,8QACAC,idACAC,gZACAC,0hBACAC,mrBACAC,kVACAC,8kBACAC,0wBACAC,otBACAC,wTACAC,+XACAC,+VACAC,8pBACAC,guCACAC,yhBACAC,ywBACAC,ibACAC,6eACAC,6aACAC,ylCACAC,kYACAC,ovBACAC,8lCACAC,8aACAC,ueACAC,2dACAC,+dACAC,mWACAC,2VACAC,qTACAC,8bACAC,yxBACAC,wcACAC,qYACAC,6mBACAC,mXACAC,+gBACAC,i5BACAC,meACAC,0jBACAC,scACAC,yjBACAC,gZACAC,4xBACAC,ooCACAC,oaACAC,gvBACAC,8pBACAC,+tCACAC,+fACAC,ucAGStI,GADKJ,OAAOS,KAAKO,IACE2H,QAAO,SAAUC,EAAKxJ,GAElD,OADAwJ,EAAIxJ,GAAQ9B,EAAqB8B,EAAM4B,GAAQ5B,IACxCwJ,IACN,IC1PQvI,GAAOF,GAAoBC,+JCCtC,SAA0ByI,GAExB,OAAkBC,EAAAA,eAAeD,GACf,MAATA,GAAoC,WAAnBE,EAAQF,IAAuB,SAAUA,IAAgC,IAAvBA,EAAMG,KAAKtJ,QAIvE,MAATmJ,GAAkC,mBAAVA,GAAwB,YAAaA,IAA2B,IAAlBA,EAAMnJ"}
1
+ {"version":3,"file":"index.js","sources":["../src/glyphCommon.ts","../src/createGlyphComponent.tsx","../src/createIconComponent.tsx","../src/glyphs/index.ts","../src/Icon.tsx","../src/isComponentGlyph.ts"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = typeof Size[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { css, cx } from '@leafygreen-ui/emotion';\n\nimport { generateAccessibleProps, Size, sizeMap } from './glyphCommon';\nimport { LGGlyph, SVGR } from './types';\n\n/**\n * Returns a single glyph component.\n * Process custom glyphs to ensure consistent behavior between custom and built-in icons\n * @param glyphName: string - the display name of the icon\n * @param Glyph: SVGR.Component - the SVG icon component\n * @returns LGGlyph.Component\n */\nexport function createGlyphComponent(\n glyphName: string,\n Glyph: SVGR.Component,\n): LGGlyph.Component {\n const GlyphComponent: LGGlyph.Component = ({\n className,\n size = Size.Default,\n fill,\n title,\n 'aria-labelledby': ariaLabelledby,\n 'aria-label': ariaLabel,\n role = 'img',\n ...rest\n }: LGGlyph.ComponentProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n\n const renderedSize = typeof size === 'number' ? size : sizeMap[size];\n\n if (!(role === 'img' || role === 'presentation')) {\n console.warn(\n \"Please provide a valid role to this component. Valid options are 'img' and 'presentation'. If you'd like the Icon to be accessible to screen readers please use 'img', otherwise set the role to 'presentation'.\",\n );\n }\n\n return (\n <Glyph\n className={cx(\n {\n [fillStyle]: fill != null,\n },\n className,\n )}\n height={renderedSize}\n width={renderedSize}\n role={role}\n {...generateAccessibleProps(role, glyphName, {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n })}\n {...rest}\n />\n );\n };\n\n GlyphComponent.displayName = glyphName;\n\n GlyphComponent.isGlyph = true;\n\n GlyphComponent.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([\n PropTypes.oneOf(Object.values(Size)),\n PropTypes.number,\n ]),\n className: PropTypes.string,\n };\n\n return GlyphComponent;\n}\n","import React from 'react';\nimport kebabCase from 'lodash/kebabCase';\nimport PropTypes from 'prop-types';\n\nimport { Size } from './glyphCommon';\nimport { LGGlyph } from './types';\n\n// We omit size here because we map string values for size to numbers in this component.\nexport interface IconProps extends Omit<LGGlyph.ComponentProps, 'size'> {\n /**\n * The name of the icon glyph\n */\n glyph: string;\n\n /**\n * Size of the icon\n */\n size?: Size | number;\n}\n\ntype GlyphObject = Record<string, LGGlyph.Component>;\n\n/**\n * Returns a single component with a `glyph` prop to select the glyph\n * @param glyphs The set of glyphs\n * @returns Icon component\n */\nexport function createIconComponent<G extends GlyphObject = GlyphObject>(\n glyphs: G,\n) {\n const Icon = ({ glyph, ...rest }: IconProps) => {\n const SVGComponent = glyphs[glyph];\n\n if (SVGComponent) {\n return <SVGComponent {...rest} />;\n } else {\n // TODO: improve fuzzy match\n // Suggest the proper icon casing if there's a near match\n const nearMatch = Object.keys(glyphs).find(\n key => kebabCase(key) === kebabCase(glyph),\n );\n console.error(\n 'Error in Icon',\n `Could not find glyph named \"${glyph}\" in the icon set.`,\n nearMatch && `Did you mean \"${nearMatch}?\"`,\n );\n return <></>;\n }\n };\n\n Icon.displayName = 'Icon';\n\n Icon.isGlyph = true;\n\n Icon.propTypes = {\n glyph: PropTypes.oneOf(Object.keys(glyphs)).isRequired,\n size: PropTypes.oneOfType([\n PropTypes.oneOf(Object.values(Size)),\n PropTypes.number,\n ]),\n } as any;\n\n return Icon;\n}\n","import { createGlyphComponent } from '../createGlyphComponent';\nimport { LGGlyph } from '../types';\n\n// Glyphs\nimport ActivityFeed from './ActivityFeed.svg';\nimport AddFile from './AddFile.svg';\nimport Apps from './Apps.svg';\nimport Array from './Array.svg';\nimport ArrowDown from './ArrowDown.svg';\nimport ArrowLeft from './ArrowLeft.svg';\nimport ArrowRight from './ArrowRight.svg';\nimport ArrowUp from './ArrowUp.svg';\nimport Beaker from './Beaker.svg';\nimport Bell from './Bell.svg';\nimport Biometric from './Biometric.svg';\nimport Building from './Building.svg';\nimport Bulb from './Bulb.svg';\nimport Calendar from './Calendar.svg';\nimport CaretDown from './CaretDown.svg';\nimport CaretLeft from './CaretLeft.svg';\nimport CaretRight from './CaretRight.svg';\nimport CaretUp from './CaretUp.svg';\nimport ChartFilled from './ChartFilled.svg';\nimport Charts from './Charts.svg';\nimport Checkmark from './Checkmark.svg';\nimport CheckmarkWithCircle from './CheckmarkWithCircle.svg';\nimport ChevronDown from './ChevronDown.svg';\nimport ChevronLeft from './ChevronLeft.svg';\nimport ChevronRight from './ChevronRight.svg';\nimport ChevronUp from './ChevronUp.svg';\nimport Clock from './Clock.svg';\nimport ClockWithArrow from './ClockWithArrow.svg';\nimport Clone from './Clone.svg';\nimport Cloud from './Cloud.svg';\nimport Code from './Code.svg';\nimport Connect from './Connect.svg';\nimport Copy from './Copy.svg';\nimport CreditCard from './CreditCard.svg';\nimport CurlyBraces from './CurlyBraces.svg';\nimport Cursor from './Cursor.svg';\nimport Dashboard from './Dashboard.svg';\nimport Database from './Database.svg';\nimport Diagram from './Diagram.svg';\nimport Diagram2 from './Diagram2.svg';\nimport Diagram3 from './Diagram3.svg';\nimport Disconnect from './Disconnect.svg';\nimport Download from './Download.svg';\nimport Drag from './Drag.svg';\nimport Edit from './Edit.svg';\nimport Ellipsis from './Ellipsis.svg';\nimport Email from './Email.svg';\nimport Export from './Export.svg';\nimport Favorite from './Favorite.svg';\nimport File from './File.svg';\nimport Filter from './Filter.svg';\nimport Folder from './Folder.svg';\nimport FullScreenEnter from './FullScreenEnter.svg';\nimport FullScreenExit from './FullScreenExit.svg';\nimport Gauge from './Gauge.svg';\nimport GlobeAmericas from './GlobeAmericas.svg';\nimport GovernmentBuilding from './GovernmentBuilding.svg';\nimport Highlight from './Highlight.svg';\nimport Home from './Home.svg';\nimport Import from './Import.svg';\nimport ImportantWithCircle from './ImportantWithCircle.svg';\nimport InfoWithCircle from './InfoWithCircle.svg';\nimport InviteUser from './InviteUser.svg';\nimport Key from './Key.svg';\nimport Laptop from './Laptop.svg';\nimport Link from './Link.svg';\nimport Lock from './Lock.svg';\nimport LogIn from './LogIn.svg';\nimport LogOut from './LogOut.svg';\nimport MagnifyingGlass from './MagnifyingGlass.svg';\nimport Megaphone from './Megaphone.svg';\nimport Menu from './Menu.svg';\nimport Minus from './Minus.svg';\nimport NoFilter from './NoFilter.svg';\nimport NotAllowed from './NotAllowed.svg';\nimport Note from './Note.svg';\nimport OpenNewTab from './OpenNewTab.svg';\nimport Pause from './Pause.svg';\nimport Person from './Person.svg';\nimport PersonGroup from './PersonGroup.svg';\nimport PersonWithLock from './PersonWithLock.svg';\nimport Play from './Play.svg';\nimport Plus from './Plus.svg';\nimport PlusWithCircle from './PlusWithCircle.svg';\nimport QuestionMarkWithCircle from './QuestionMarkWithCircle.svg';\nimport Read from './Read.svg';\nimport Redo from './Redo.svg';\nimport Refresh from './Refresh.svg';\nimport Relationship from './Relationship.svg';\nimport ReplicaSet from './ReplicaSet.svg';\nimport Resize from './Resize.svg';\nimport Save from './Save.svg';\nimport Serverless from './Serverless.svg';\nimport Settings from './Settings.svg';\nimport ShardedCluster from './ShardedCluster.svg';\nimport Shell from './Shell.svg';\nimport SMS from './SMS.svg';\nimport SortAscending from './SortAscending.svg';\nimport SortDescending from './SortDescending.svg';\nimport SplitHorizontal from './SplitHorizontal.svg';\nimport SplitVertical from './SplitVertical.svg';\nimport Stitch from './Stitch.svg';\nimport Support from './Support.svg';\nimport Sweep from './Sweep.svg';\nimport Table from './Table.svg';\nimport Tag from './Tag.svg';\nimport TimeSeries from './TimeSeries.svg';\nimport Trash from './Trash.svg';\nimport Undo from './Undo.svg';\nimport University from './University.svg';\nimport Unlock from './Unlock.svg';\nimport Unsorted from './Unsorted.svg';\nimport UpDownCarets from './UpDownCarets.svg';\nimport Upload from './Upload.svg';\nimport VerticalEllipsis from './VerticalEllipsis.svg';\nimport Visibility from './Visibility.svg';\nimport VisibilityOff from './VisibilityOff.svg';\nimport Warning from './Warning.svg';\nimport Wizard from './Wizard.svg';\nimport Wrench from './Wrench.svg';\nimport Write from './Write.svg';\nimport X from './X.svg';\nimport XWithCircle from './XWithCircle.svg';\n\nconst _glyphs = {\n ActivityFeed,\n AddFile,\n Apps,\n Array,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Beaker,\n Bell,\n Biometric,\n Building,\n Bulb,\n Calendar,\n CaretDown,\n CaretLeft,\n CaretRight,\n CaretUp,\n ChartFilled,\n Charts,\n Checkmark,\n CheckmarkWithCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n Clock,\n ClockWithArrow,\n Clone,\n Cloud,\n Code,\n Connect,\n Copy,\n CreditCard,\n CurlyBraces,\n Cursor,\n Dashboard,\n Database,\n Diagram,\n Diagram2,\n Diagram3,\n Disconnect,\n Download,\n Drag,\n Edit,\n Ellipsis,\n Email,\n Export,\n Favorite,\n File,\n Filter,\n FullScreenEnter,\n FullScreenExit,\n Folder,\n Gauge,\n GlobeAmericas,\n GovernmentBuilding,\n Highlight,\n Home,\n Import,\n ImportantWithCircle,\n InfoWithCircle,\n InviteUser,\n Key,\n Laptop,\n Link,\n Lock,\n LogIn,\n LogOut,\n MagnifyingGlass,\n Megaphone,\n Menu,\n Minus,\n NoFilter,\n NotAllowed,\n Note,\n OpenNewTab,\n Pause,\n Person,\n PersonGroup,\n PersonWithLock,\n Play,\n Plus,\n PlusWithCircle,\n QuestionMarkWithCircle,\n Read,\n Redo,\n Refresh,\n Relationship,\n ReplicaSet,\n Resize,\n Save,\n Serverless,\n ShardedCluster,\n Settings,\n Shell,\n SMS,\n SortAscending,\n SortDescending,\n SplitHorizontal,\n SplitVertical,\n Stitch,\n Support,\n Sweep,\n Table,\n Tag,\n TimeSeries,\n Trash,\n Undo,\n University,\n Unlock,\n Unsorted,\n UpDownCarets,\n Upload,\n VerticalEllipsis,\n Visibility,\n VisibilityOff,\n Warning,\n Wizard,\n Wrench,\n Write,\n X,\n XWithCircle,\n} as const;\n\nexport type GlyphName = keyof typeof _glyphs;\n\nconst glyphKeys = Object.keys(_glyphs) as Array<GlyphName>;\n\nexport const glyphs = glyphKeys.reduce((acc, name) => {\n acc[name] = createGlyphComponent(name, _glyphs[name]);\n\n return acc;\n}, {} as Record<GlyphName, LGGlyph.Component>);\n","import { createIconComponent } from './createIconComponent';\nimport { glyphs } from './glyphs';\n\nexport const Icon = createIconComponent(glyphs);\n","import { ComponentType, isValidElement, ReactNode } from 'react';\n\nimport { LGGlyph } from './types';\n\ntype ExtendedComponentType = ComponentType<any> & {\n [key: string]: any;\n};\n/**\n * Helper type to check if element is a LeafyGreen UI Glyph\n * @internal\n */\nfunction isComponentGlyph(node: ReactNode): node is LGGlyph.Element;\nfunction isComponentGlyph(\n component: ExtendedComponentType,\n): component is LGGlyph.Component;\nfunction isComponentGlyph(\n child: ReactNode | ExtendedComponentType,\n): child is LGGlyph.Element | LGGlyph.Component {\n // If we're received a rendered component (i.e. ReactNode)\n if (isValidElement(child)) {\n return (\n child != null &&\n typeof child === 'object' &&\n 'type' in child &&\n (child.type as any).isGlyph === true\n );\n }\n\n // If we've recieved a component function\n return (\n child != null &&\n typeof child === 'function' &&\n 'isGlyph' in child &&\n child.isGlyph === true\n );\n}\n\nexport { isComponentGlyph };\n"],"names":["_templateObject","Size","Small","Default","Large","XLarge","sizeMap","small","default","large","xlarge","_excluded","createGlyphComponent","glyphName","Glyph","GlyphComponent","_ref","_generateAccessiblePr","className","_ref$size","size","fill","title","ariaLabelledby","ariaLabel","_ref$role","role","rest","_objectWithoutProperties","fillStyle","css","renderedSize","console","warn","React","createElement","_extends","cx","_defineProperty","height","width","_ref2","name","concat","replace","alt","generateAccessibleProps","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","oneOf","Object","values","number","createIconComponent","glyphs","Icon","glyph","SVGComponent","nearMatch","keys","find","key","kebabCase","error","Fragment","isRequired","_glyphs","ActivityFeed","AddFile","Apps","Array","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","Beaker","Bell","Biometric","Building","Bulb","Calendar","CaretDown","CaretLeft","CaretRight","CaretUp","ChartFilled","Charts","Checkmark","CheckmarkWithCircle","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","Clock","ClockWithArrow","Clone","Cloud","Code","Connect","Copy","CreditCard","CurlyBraces","Cursor","Dashboard","Database","Diagram","Diagram2","Diagram3","Disconnect","Download","Drag","Edit","Ellipsis","Email","Export","Favorite","File","Filter","FullScreenEnter","FullScreenExit","Folder","Gauge","GlobeAmericas","GovernmentBuilding","Highlight","Home","Import","ImportantWithCircle","InfoWithCircle","InviteUser","Key","Laptop","Link","Lock","LogIn","LogOut","MagnifyingGlass","Megaphone","Menu","Minus","NoFilter","NotAllowed","Note","OpenNewTab","Pause","Person","PersonGroup","PersonWithLock","Play","Plus","PlusWithCircle","QuestionMarkWithCircle","Read","Redo","Refresh","Relationship","ReplicaSet","Resize","Save","Serverless","ShardedCluster","Settings","Shell","SMS","SortAscending","SortDescending","SplitHorizontal","SplitVertical","Stitch","Support","Sweep","Table","Tag","TimeSeries","Trash","Undo","University","Unlock","Unsorted","UpDownCarets","Upload","VerticalEllipsis","Visibility","VisibilityOff","Warning","Wizard","Wrench","Write","X","XWithCircle","reduce","acc","child","isValidElement","_typeof","type"],"mappings":"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AC,mYACAC,gnBACAC,6mBACAC,ySACAC,gdACAC,2bACAC,siBACAC,6pBACAC,ioBACAC,qmBACAC,iWACAC,iYACAC,koBACAC,2aACAC,gjBACAC,41BACAC,qaACAC,grBACAC,qvBACAC,4bACAC,kaACAC,2UACAC,8QACAC,idACAC,gZACAC,0hBACAC,mrBACAC,kVACAC,8kBACAC,0wBACAC,otBACAC,wTACAC,+XACAC,+VACAC,8pBACAC,guCACAC,yhBACAC,ywBACAC,ibACAC,6eACAC,6aACAC,ylCACAC,kYACAC,ovBACAC,8lCACAC,8aACAC,ueACAC,2dACAC,+dACAC,mWACAC,2VACAC,qTACAC,8bACAC,yxBACAC,wcACAC,qYACAC,6mBACAC,mXACAC,+gBACAC,i5BACAC,meACAC,0jBACAC,scACAC,yjBACAC,gZACAC,4xBACAC,ooCACAC,oaACAC,gvBACAC,8pBACAC,+tCACAC,+fACAC,ucAGSvI,GADKJ,OAAOS,KAAKO,IACE4H,QAAO,SAAUC,EAAKzJ,GAElD,OADAyJ,EAAIzJ,GAAQ9B,EAAqB8B,EAAM4B,GAAQ5B,IACxCyJ,IACN,IC5PQxI,GAAOF,GAAoBC,+JCMtC,SAA0B0I,GAExB,OAAkBC,EAAAA,eAAeD,GACf,MAATA,GAAoC,WAAnBE,EAAQF,IAAuB,SAAUA,IAAgC,IAAvBA,EAAMG,KAAKvJ,QAIvE,MAAToJ,GAAkC,mBAAVA,GAAwB,YAAaA,IAA2B,IAAlBA,EAAMpJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafygreen-ui/icon",
3
- "version": "11.15.0",
3
+ "version": "11.16.1-next.0",
4
4
  "description": "LeafyGreen UI Kit Icons",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -1,16 +1,15 @@
1
1
  // TODO: Generate Icon props with controls
2
2
  import React from 'react';
3
- import { ComponentStory, Meta } from '@storybook/react';
3
+ import { StoryFn } from '@storybook/react';
4
4
 
5
5
  import { css } from '@leafygreen-ui/emotion';
6
+ import { StoryMetaType } from '@leafygreen-ui/lib';
6
7
  import { palette } from '@leafygreen-ui/palette';
7
8
 
8
- import { IconProps } from './createIconComponent';
9
- import { Size } from './glyphCommon';
10
9
  import { GlyphName } from './glyphs';
11
- import Icon, { glyphs } from '.';
10
+ import Icon, { glyphs, IconProps, Size } from '.';
12
11
 
13
- export default {
12
+ const meta: StoryMetaType<typeof Icon> = {
14
13
  title: 'Components/Icon',
15
14
  component: Icon,
16
15
  parameters: {
@@ -27,7 +26,9 @@ export default {
27
26
  },
28
27
  glyph: { control: 'none' },
29
28
  },
30
- } as Meta<typeof Icon>;
29
+ };
30
+
31
+ export default meta;
31
32
 
32
33
  const containerStyle = css`
33
34
  width: 150px;
@@ -49,7 +50,7 @@ const textStyle = css`
49
50
  margin-top: 0.5rem;
50
51
  `;
51
52
 
52
- export const Single: ComponentStory<typeof Icon> = (args: IconProps) => {
53
+ export const Single: StoryFn<IconProps> = (args: IconProps) => {
53
54
  if (!args.glyph) {
54
55
  args = {
55
56
  ...args,
@@ -67,7 +68,7 @@ Single.argTypes = {
67
68
  },
68
69
  };
69
70
 
70
- export const AllIcons: ComponentStory<typeof Icon> = (
71
+ export const AllIcons: StoryFn<IconProps> = (
71
72
  args: Omit<IconProps, 'glyph'>,
72
73
  ) => (
73
74
  <div
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 2c1cb401b0fb0d8bbdca092553981d38
5
+ * @checksum 1283b3426ccc71fb1c4a0d1cb1328eb7
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ActivityFeedProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ActivityFeed = ({
16
15
  className,
17
16
  size = 16,
@@ -64,7 +63,6 @@ const ActivityFeed = ({
64
63
  </svg>
65
64
  );
66
65
  };
67
-
68
66
  ActivityFeed.displayName = 'ActivityFeed';
69
67
  ActivityFeed.isGlyph = true;
70
68
  ActivityFeed.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 91743ad6297e1302f219c25523d84d0d
5
+ * @checksum 5ae932dadfe78822214b7ee083b44487
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface AddFileProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const AddFile = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const AddFile = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  AddFile.displayName = 'AddFile';
63
61
  AddFile.isGlyph = true;
64
62
  AddFile.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 49d83e5a64378b2fb46cb55873ec6483
5
+ * @checksum c0ba25879d1b6894c59578bc7dfd8ec2
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface AppsProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Apps = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Apps = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Apps.displayName = 'Apps';
63
61
  Apps.isGlyph = true;
64
62
  Apps.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 26c0456a513bca78dfd6f24cca6cceff
5
+ * @checksum 9a75a502b4295e0623c6b1093cfa927e
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ArrayProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Array = ({
16
15
  className,
17
16
  size = 16,
@@ -60,7 +59,6 @@ const Array = ({
60
59
  </svg>
61
60
  );
62
61
  };
63
-
64
62
  Array.displayName = 'Array';
65
63
  Array.isGlyph = true;
66
64
  Array.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum d20d099eae2438cbb22cc2f1f10e5b38
5
+ * @checksum 888632c3ba6580eaf948506dcfde1a91
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ArrowDownProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ArrowDown = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const ArrowDown = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  ArrowDown.displayName = 'ArrowDown';
61
59
  ArrowDown.isGlyph = true;
62
60
  ArrowDown.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 764d44f29039e2d5a78db3f330f1afa6
5
+ * @checksum 52b4ee188fef18358582d18128d88894
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ArrowLeftProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ArrowLeft = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const ArrowLeft = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  ArrowLeft.displayName = 'ArrowLeft';
61
59
  ArrowLeft.isGlyph = true;
62
60
  ArrowLeft.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 1f595d19570a615b5f15aa38aa9ed64a
5
+ * @checksum 87954c7465776b552a305a2ae12fe2b4
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ArrowRightProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ArrowRight = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const ArrowRight = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  ArrowRight.displayName = 'ArrowRight';
61
59
  ArrowRight.isGlyph = true;
62
60
  ArrowRight.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum f08599d33cf776d1d752e9af280eb09a
5
+ * @checksum 2301ac07c6017300f174a4daf7c37602
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ArrowUpProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ArrowUp = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const ArrowUp = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  ArrowUp.displayName = 'ArrowUp';
61
59
  ArrowUp.isGlyph = true;
62
60
  ArrowUp.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 688fa27c50677ff2c4d3f2e11eda5b41
5
+ * @checksum 7f7ee814b340d629a841732323c536bb
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface BeakerProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Beaker = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Beaker = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Beaker.displayName = 'Beaker';
63
61
  Beaker.isGlyph = true;
64
62
  Beaker.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 775c88911ce115ec8db8d91e6145fe2b
5
+ * @checksum c1f77383974c483a12ed49c6b7c49ce9
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface BellProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Bell = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Bell = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Bell.displayName = 'Bell';
63
61
  Bell.isGlyph = true;
64
62
  Bell.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 203cdbaf2cf218212fdd1280423acbbf
5
+ * @checksum 502547e66fbebed1670cc297118a4168
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface BiometricProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Biometric = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Biometric = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Biometric.displayName = 'Biometric';
63
61
  Biometric.isGlyph = true;
64
62
  Biometric.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum e89938d77ae48374cf346a6b44802a3f
5
+ * @checksum 645b7b3735366e34ac9d8c8865b95b14
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface BuildingProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Building = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Building = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Building.displayName = 'Building';
63
61
  Building.isGlyph = true;
64
62
  Building.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 620eb66a5b99d6aec645ae6cebe3cd49
5
+ * @checksum 400cb7fd89af27898310c3edc271f432
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface BulbProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Bulb = ({
16
15
  className,
17
16
  size = 16,
@@ -64,7 +63,6 @@ const Bulb = ({
64
63
  </svg>
65
64
  );
66
65
  };
67
-
68
66
  Bulb.displayName = 'Bulb';
69
67
  Bulb.isGlyph = true;
70
68
  Bulb.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 9ba718ebb47ad4723a245706d2b6f28f
5
+ * @checksum e0c613973089c242392aabb761dfd1c9
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface CalendarProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const Calendar = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const Calendar = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  Calendar.displayName = 'Calendar';
63
61
  Calendar.isGlyph = true;
64
62
  Calendar.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 2a87abedac3f36cf90f3ae856783ac75
5
+ * @checksum c9ad8272afb26625aa1c513ef2511e20
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface CaretDownProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const CaretDown = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const CaretDown = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  CaretDown.displayName = 'CaretDown';
61
59
  CaretDown.isGlyph = true;
62
60
  CaretDown.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum f2ad1fae7ac7d3c587d1b7386392267c
5
+ * @checksum 0b2e3de27e149d7941e576d89b0ad7a3
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface CaretLeftProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const CaretLeft = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const CaretLeft = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  CaretLeft.displayName = 'CaretLeft';
61
59
  CaretLeft.isGlyph = true;
62
60
  CaretLeft.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum b3a7b3cdc73f59c17ec953ecc99c0d34
5
+ * @checksum bf883e2bb79ffb547b221dc1801191c6
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface CaretRightProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const CaretRight = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const CaretRight = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  CaretRight.displayName = 'CaretRight';
61
59
  CaretRight.isGlyph = true;
62
60
  CaretRight.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum fe5263e8c6818941f76582fa76a027bb
5
+ * @checksum be9f5b95659c017a3d0691db2a6549c1
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface CaretUpProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const CaretUp = ({
16
15
  className,
17
16
  size = 16,
@@ -56,7 +55,6 @@ const CaretUp = ({
56
55
  </svg>
57
56
  );
58
57
  };
59
-
60
58
  CaretUp.displayName = 'CaretUp';
61
59
  CaretUp.isGlyph = true;
62
60
  CaretUp.propTypes = {
@@ -2,7 +2,7 @@
2
2
  * This is a generated file. Do not modify it manually.
3
3
  *
4
4
  * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
5
- * @checksum 9050d283e6e08bd8e0cd0c6827b2d0f4
5
+ * @checksum 30f7ecf47636b174dced98ae9e591612
6
6
  */
7
7
  import { css, cx } from '@leafygreen-ui/emotion';
8
8
  import PropTypes from 'prop-types';
@@ -11,7 +11,6 @@ import * as React from 'react';
11
11
  import { generateAccessibleProps, sizeMap } from '../glyphCommon';
12
12
  import { LGGlyph } from '../types';
13
13
  export interface ChartFilledProps extends LGGlyph.ComponentProps {}
14
-
15
14
  const ChartFilled = ({
16
15
  className,
17
16
  size = 16,
@@ -58,7 +57,6 @@ const ChartFilled = ({
58
57
  </svg>
59
58
  );
60
59
  };
61
-
62
60
  ChartFilled.displayName = 'ChartFilled';
63
61
  ChartFilled.isGlyph = true;
64
62
  ChartFilled.propTypes = {