@leafygreen-ui/icon 12.8.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1161) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +8 -8
  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/AllProducts.js +1 -1
  8. package/dist/AllProducts.js.map +1 -1
  9. package/dist/Apps.js +1 -1
  10. package/dist/Apps.js.map +1 -1
  11. package/dist/Array.js +1 -1
  12. package/dist/Array.js.map +1 -1
  13. package/dist/ArrowDown.js +1 -1
  14. package/dist/ArrowDown.js.map +1 -1
  15. package/dist/ArrowLeft.js +1 -1
  16. package/dist/ArrowLeft.js.map +1 -1
  17. package/dist/ArrowRight.js +1 -1
  18. package/dist/ArrowRight.js.map +1 -1
  19. package/dist/ArrowUp.js +1 -1
  20. package/dist/ArrowUp.js.map +1 -1
  21. package/dist/Beaker.js +1 -1
  22. package/dist/Beaker.js.map +1 -1
  23. package/dist/Bell.js +1 -1
  24. package/dist/Bell.js.map +1 -1
  25. package/dist/Biometric.js +1 -1
  26. package/dist/Biometric.js.map +1 -1
  27. package/dist/Boolean.js +1 -1
  28. package/dist/Boolean.js.map +1 -1
  29. package/dist/Building.js +1 -1
  30. package/dist/Building.js.map +1 -1
  31. package/dist/Bulb.js +1 -1
  32. package/dist/Bulb.js.map +1 -1
  33. package/dist/Calendar.js +1 -1
  34. package/dist/Calendar.js.map +1 -1
  35. package/dist/Camera.js +1 -1
  36. package/dist/Camera.js.map +1 -1
  37. package/dist/Cap.js +1 -1
  38. package/dist/Cap.js.map +1 -1
  39. package/dist/CaretDown.js +1 -1
  40. package/dist/CaretDown.js.map +1 -1
  41. package/dist/CaretLeft.js +1 -1
  42. package/dist/CaretLeft.js.map +1 -1
  43. package/dist/CaretRight.js +1 -1
  44. package/dist/CaretRight.js.map +1 -1
  45. package/dist/CaretUp.js +1 -1
  46. package/dist/CaretUp.js.map +1 -1
  47. package/dist/ChartFilled.js +1 -1
  48. package/dist/ChartFilled.js.map +1 -1
  49. package/dist/Charts.js +1 -1
  50. package/dist/Charts.js.map +1 -1
  51. package/dist/Checkmark.js +1 -1
  52. package/dist/Checkmark.js.map +1 -1
  53. package/dist/CheckmarkWithCircle.js +1 -1
  54. package/dist/CheckmarkWithCircle.js.map +1 -1
  55. package/dist/ChevronDown.js +1 -1
  56. package/dist/ChevronDown.js.map +1 -1
  57. package/dist/ChevronLeft.js +1 -1
  58. package/dist/ChevronLeft.js.map +1 -1
  59. package/dist/ChevronRight.js +1 -1
  60. package/dist/ChevronRight.js.map +1 -1
  61. package/dist/ChevronUp.js +1 -1
  62. package/dist/ChevronUp.js.map +1 -1
  63. package/dist/Clock.js +1 -1
  64. package/dist/Clock.js.map +1 -1
  65. package/dist/ClockWithArrow.js +1 -1
  66. package/dist/ClockWithArrow.js.map +1 -1
  67. package/dist/Clone.js +1 -1
  68. package/dist/Clone.js.map +1 -1
  69. package/dist/Cloud.js +1 -1
  70. package/dist/Cloud.js.map +1 -1
  71. package/dist/Code.js +1 -1
  72. package/dist/Code.js.map +1 -1
  73. package/dist/CodeBlock.js +1 -1
  74. package/dist/CodeBlock.js.map +1 -1
  75. package/dist/Coin.js +2 -0
  76. package/dist/Coin.js.map +1 -0
  77. package/dist/Colon.js +1 -1
  78. package/dist/Colon.js.map +1 -1
  79. package/dist/Connect.js +1 -1
  80. package/dist/Connect.js.map +1 -1
  81. package/dist/Copy.js +1 -1
  82. package/dist/Copy.js.map +1 -1
  83. package/dist/CreditCard.js +1 -1
  84. package/dist/CreditCard.js.map +1 -1
  85. package/dist/CurlyBraces.js +1 -1
  86. package/dist/CurlyBraces.js.map +1 -1
  87. package/dist/Cursor.js +1 -1
  88. package/dist/Cursor.js.map +1 -1
  89. package/dist/Dashboard.js +1 -1
  90. package/dist/Dashboard.js.map +1 -1
  91. package/dist/Database.js +1 -1
  92. package/dist/Database.js.map +1 -1
  93. package/dist/Diagram.js +1 -1
  94. package/dist/Diagram.js.map +1 -1
  95. package/dist/Diagram2.js +1 -1
  96. package/dist/Diagram2.js.map +1 -1
  97. package/dist/Diagram3.js +1 -1
  98. package/dist/Diagram3.js.map +1 -1
  99. package/dist/Disconnect.js +1 -1
  100. package/dist/Disconnect.js.map +1 -1
  101. package/dist/Download.js +1 -1
  102. package/dist/Download.js.map +1 -1
  103. package/dist/Drag.js +1 -1
  104. package/dist/Drag.js.map +1 -1
  105. package/dist/Edit.js +1 -1
  106. package/dist/Edit.js.map +1 -1
  107. package/dist/Ellipsis.js +1 -1
  108. package/dist/Ellipsis.js.map +1 -1
  109. package/dist/Email.js +1 -1
  110. package/dist/Email.js.map +1 -1
  111. package/dist/EmptyDatabase.js +1 -1
  112. package/dist/EmptyDatabase.js.map +1 -1
  113. package/dist/EmptyFolder.js +1 -1
  114. package/dist/EmptyFolder.js.map +1 -1
  115. package/dist/Eraser.js +1 -1
  116. package/dist/Eraser.js.map +1 -1
  117. package/dist/Escalation.js +1 -1
  118. package/dist/Escalation.js.map +1 -1
  119. package/dist/Export.js +1 -1
  120. package/dist/Export.js.map +1 -1
  121. package/dist/Favorite.js +1 -1
  122. package/dist/Favorite.js.map +1 -1
  123. package/dist/Federation.js +1 -1
  124. package/dist/Federation.js.map +1 -1
  125. package/dist/File.js +1 -1
  126. package/dist/File.js.map +1 -1
  127. package/dist/Filter.js +1 -1
  128. package/dist/Filter.js.map +1 -1
  129. package/dist/Folder.js +1 -1
  130. package/dist/Folder.js.map +1 -1
  131. package/dist/Format.js +1 -1
  132. package/dist/Format.js.map +1 -1
  133. package/dist/FullScreenEnter.js +1 -1
  134. package/dist/FullScreenEnter.js.map +1 -1
  135. package/dist/FullScreenExit.js +1 -1
  136. package/dist/FullScreenExit.js.map +1 -1
  137. package/dist/Gauge.js +1 -1
  138. package/dist/Gauge.js.map +1 -1
  139. package/dist/GlobeAmericas.js +1 -1
  140. package/dist/GlobeAmericas.js.map +1 -1
  141. package/dist/GovernmentBuilding.js +1 -1
  142. package/dist/GovernmentBuilding.js.map +1 -1
  143. package/dist/Hash.js +1 -1
  144. package/dist/Hash.js.map +1 -1
  145. package/dist/Highlight.js +1 -1
  146. package/dist/Highlight.js.map +1 -1
  147. package/dist/Home.js +1 -1
  148. package/dist/Home.js.map +1 -1
  149. package/dist/HorizontalDrag.js +1 -1
  150. package/dist/HorizontalDrag.js.map +1 -1
  151. package/dist/Icon.d.ts +0 -1
  152. package/dist/Icon.d.ts.map +1 -1
  153. package/dist/Import.js +1 -1
  154. package/dist/Import.js.map +1 -1
  155. package/dist/ImportantWithCircle.js +1 -1
  156. package/dist/ImportantWithCircle.js.map +1 -1
  157. package/dist/InfoWithCircle.js +1 -1
  158. package/dist/InfoWithCircle.js.map +1 -1
  159. package/dist/InternalEmployee.js +1 -1
  160. package/dist/InternalEmployee.js.map +1 -1
  161. package/dist/InviteUser.js +1 -1
  162. package/dist/InviteUser.js.map +1 -1
  163. package/dist/Key.js +1 -1
  164. package/dist/Key.js.map +1 -1
  165. package/dist/Laptop.js +1 -1
  166. package/dist/Laptop.js.map +1 -1
  167. package/dist/LightningBolt.js +1 -1
  168. package/dist/LightningBolt.js.map +1 -1
  169. package/dist/Link.js +1 -1
  170. package/dist/Link.js.map +1 -1
  171. package/dist/List.js +1 -1
  172. package/dist/List.js.map +1 -1
  173. package/dist/Lock.js +1 -1
  174. package/dist/Lock.js.map +1 -1
  175. package/dist/LogIn.js +1 -1
  176. package/dist/LogIn.js.map +1 -1
  177. package/dist/LogOut.js +1 -1
  178. package/dist/LogOut.js.map +1 -1
  179. package/dist/MagnifyingGlass.js +1 -1
  180. package/dist/MagnifyingGlass.js.map +1 -1
  181. package/dist/Megaphone.js +1 -1
  182. package/dist/Megaphone.js.map +1 -1
  183. package/dist/Menu.js +1 -1
  184. package/dist/Menu.js.map +1 -1
  185. package/dist/Minus.js +1 -1
  186. package/dist/Minus.js.map +1 -1
  187. package/dist/Mobile.js +1 -1
  188. package/dist/Mobile.js.map +1 -1
  189. package/dist/Moon.js +1 -1
  190. package/dist/Moon.js.map +1 -1
  191. package/dist/MultiDirectionArrow.js +1 -1
  192. package/dist/MultiDirectionArrow.js.map +1 -1
  193. package/dist/MultiLayers.js +1 -1
  194. package/dist/MultiLayers.js.map +1 -1
  195. package/dist/NavCollapse.js +1 -1
  196. package/dist/NavCollapse.js.map +1 -1
  197. package/dist/NavExpand.js +1 -1
  198. package/dist/NavExpand.js.map +1 -1
  199. package/dist/NoFilter.js +1 -1
  200. package/dist/NoFilter.js.map +1 -1
  201. package/dist/NotAllowed.js +1 -1
  202. package/dist/NotAllowed.js.map +1 -1
  203. package/dist/Note.js +1 -1
  204. package/dist/Note.js.map +1 -1
  205. package/dist/OpenNewTab.js +1 -1
  206. package/dist/OpenNewTab.js.map +1 -1
  207. package/dist/Pause.js +1 -1
  208. package/dist/Pause.js.map +1 -1
  209. package/dist/Pending.js +1 -1
  210. package/dist/Pending.js.map +1 -1
  211. package/dist/Person.js +1 -1
  212. package/dist/Person.js.map +1 -1
  213. package/dist/PersonGroup.js +1 -1
  214. package/dist/PersonGroup.js.map +1 -1
  215. package/dist/PersonWithLock.js +1 -1
  216. package/dist/PersonWithLock.js.map +1 -1
  217. package/dist/Pin.js +1 -1
  218. package/dist/Pin.js.map +1 -1
  219. package/dist/Play.js +1 -1
  220. package/dist/Play.js.map +1 -1
  221. package/dist/Plus.js +1 -1
  222. package/dist/Plus.js.map +1 -1
  223. package/dist/PlusWithCircle.js +1 -1
  224. package/dist/PlusWithCircle.js.map +1 -1
  225. package/dist/Primary.js +1 -1
  226. package/dist/Primary.js.map +1 -1
  227. package/dist/Project.js +1 -1
  228. package/dist/Project.js.map +1 -1
  229. package/dist/QuestionMarkWithCircle.js +1 -1
  230. package/dist/QuestionMarkWithCircle.js.map +1 -1
  231. package/dist/Read.js +1 -1
  232. package/dist/Read.js.map +1 -1
  233. package/dist/Recommended.js +1 -1
  234. package/dist/Recommended.js.map +1 -1
  235. package/dist/Redo.js +1 -1
  236. package/dist/Redo.js.map +1 -1
  237. package/dist/Refresh.js +1 -1
  238. package/dist/Refresh.js.map +1 -1
  239. package/dist/Relationship.js +1 -1
  240. package/dist/Relationship.js.map +1 -1
  241. package/dist/ReplicaSet.js +1 -1
  242. package/dist/ReplicaSet.js.map +1 -1
  243. package/dist/Resize.js +1 -1
  244. package/dist/Resize.js.map +1 -1
  245. package/dist/Return.js +1 -1
  246. package/dist/Return.js.map +1 -1
  247. package/dist/Revert.js +1 -1
  248. package/dist/Revert.js.map +1 -1
  249. package/dist/SMS.js +1 -1
  250. package/dist/SMS.js.map +1 -1
  251. package/dist/Save.js +1 -1
  252. package/dist/Save.js.map +1 -1
  253. package/dist/SearchIndex.js +1 -1
  254. package/dist/SearchIndex.js.map +1 -1
  255. package/dist/Secondary.js +1 -1
  256. package/dist/Secondary.js.map +1 -1
  257. package/dist/Serverless.js +1 -1
  258. package/dist/Serverless.js.map +1 -1
  259. package/dist/Settings.js +1 -1
  260. package/dist/Settings.js.map +1 -1
  261. package/dist/ShardedCluster.js +1 -1
  262. package/dist/ShardedCluster.js.map +1 -1
  263. package/dist/Shell.js +1 -1
  264. package/dist/Shell.js.map +1 -1
  265. package/dist/SortAscending.js +1 -1
  266. package/dist/SortAscending.js.map +1 -1
  267. package/dist/SortDescending.js +1 -1
  268. package/dist/SortDescending.js.map +1 -1
  269. package/dist/Sparkle.js +1 -1
  270. package/dist/Sparkle.js.map +1 -1
  271. package/dist/SplitHorizontal.js +1 -1
  272. package/dist/SplitHorizontal.js.map +1 -1
  273. package/dist/SplitVertical.js +1 -1
  274. package/dist/SplitVertical.js.map +1 -1
  275. package/dist/Stitch.js +1 -1
  276. package/dist/Stitch.js.map +1 -1
  277. package/dist/Stop.js +1 -1
  278. package/dist/Stop.js.map +1 -1
  279. package/dist/String.js +1 -1
  280. package/dist/String.js.map +1 -1
  281. package/dist/Sun.js +1 -1
  282. package/dist/Sun.js.map +1 -1
  283. package/dist/Support.js +1 -1
  284. package/dist/Support.js.map +1 -1
  285. package/dist/Sweep.js +1 -1
  286. package/dist/Sweep.js.map +1 -1
  287. package/dist/Table.js +1 -1
  288. package/dist/Table.js.map +1 -1
  289. package/dist/Tag.js +1 -1
  290. package/dist/Tag.js.map +1 -1
  291. package/dist/ThumbsDown.js +1 -1
  292. package/dist/ThumbsDown.js.map +1 -1
  293. package/dist/ThumbsUp.js +1 -1
  294. package/dist/ThumbsUp.js.map +1 -1
  295. package/dist/TimeSeries.js +1 -1
  296. package/dist/TimeSeries.js.map +1 -1
  297. package/dist/TimeSeriesCollection.js +1 -1
  298. package/dist/TimeSeriesCollection.js.map +1 -1
  299. package/dist/Trash.js +1 -1
  300. package/dist/Trash.js.map +1 -1
  301. package/dist/Undo.js +1 -1
  302. package/dist/Undo.js.map +1 -1
  303. package/dist/University.js +1 -1
  304. package/dist/University.js.map +1 -1
  305. package/dist/Unlock.js +1 -1
  306. package/dist/Unlock.js.map +1 -1
  307. package/dist/Unsorted.js +1 -1
  308. package/dist/Unsorted.js.map +1 -1
  309. package/dist/UpDownCarets.js +1 -1
  310. package/dist/UpDownCarets.js.map +1 -1
  311. package/dist/Upload.js +1 -1
  312. package/dist/Upload.js.map +1 -1
  313. package/dist/VerticalEllipsis.js +1 -1
  314. package/dist/VerticalEllipsis.js.map +1 -1
  315. package/dist/Visibility.js +1 -1
  316. package/dist/Visibility.js.map +1 -1
  317. package/dist/VisibilityOff.js +1 -1
  318. package/dist/VisibilityOff.js.map +1 -1
  319. package/dist/Warning.js +1 -1
  320. package/dist/Warning.js.map +1 -1
  321. package/dist/Wizard.js +1 -1
  322. package/dist/Wizard.js.map +1 -1
  323. package/dist/Wrench.js +1 -1
  324. package/dist/Wrench.js.map +1 -1
  325. package/dist/Write.js +1 -1
  326. package/dist/Write.js.map +1 -1
  327. package/dist/X.js +1 -1
  328. package/dist/X.js.map +1 -1
  329. package/dist/XWithCircle.js +1 -1
  330. package/dist/XWithCircle.js.map +1 -1
  331. package/dist/createGlyphComponent.d.ts.map +1 -1
  332. package/dist/createIconComponent.d.ts +0 -1
  333. package/dist/createIconComponent.d.ts.map +1 -1
  334. package/dist/esm/ActivityFeed.js +1 -1
  335. package/dist/esm/ActivityFeed.js.map +1 -1
  336. package/dist/esm/AddFile.js +1 -1
  337. package/dist/esm/AddFile.js.map +1 -1
  338. package/dist/esm/AllProducts.js +1 -1
  339. package/dist/esm/AllProducts.js.map +1 -1
  340. package/dist/esm/Apps.js +1 -1
  341. package/dist/esm/Apps.js.map +1 -1
  342. package/dist/esm/Array.js +1 -1
  343. package/dist/esm/Array.js.map +1 -1
  344. package/dist/esm/ArrowDown.js +1 -1
  345. package/dist/esm/ArrowDown.js.map +1 -1
  346. package/dist/esm/ArrowLeft.js +1 -1
  347. package/dist/esm/ArrowLeft.js.map +1 -1
  348. package/dist/esm/ArrowRight.js +1 -1
  349. package/dist/esm/ArrowRight.js.map +1 -1
  350. package/dist/esm/ArrowUp.js +1 -1
  351. package/dist/esm/ArrowUp.js.map +1 -1
  352. package/dist/esm/Beaker.js +1 -1
  353. package/dist/esm/Beaker.js.map +1 -1
  354. package/dist/esm/Bell.js +1 -1
  355. package/dist/esm/Bell.js.map +1 -1
  356. package/dist/esm/Biometric.js +1 -1
  357. package/dist/esm/Biometric.js.map +1 -1
  358. package/dist/esm/Boolean.js +1 -1
  359. package/dist/esm/Boolean.js.map +1 -1
  360. package/dist/esm/Building.js +1 -1
  361. package/dist/esm/Building.js.map +1 -1
  362. package/dist/esm/Bulb.js +1 -1
  363. package/dist/esm/Bulb.js.map +1 -1
  364. package/dist/esm/Calendar.js +1 -1
  365. package/dist/esm/Calendar.js.map +1 -1
  366. package/dist/esm/Camera.js +1 -1
  367. package/dist/esm/Camera.js.map +1 -1
  368. package/dist/esm/Cap.js +1 -1
  369. package/dist/esm/Cap.js.map +1 -1
  370. package/dist/esm/CaretDown.js +1 -1
  371. package/dist/esm/CaretDown.js.map +1 -1
  372. package/dist/esm/CaretLeft.js +1 -1
  373. package/dist/esm/CaretLeft.js.map +1 -1
  374. package/dist/esm/CaretRight.js +1 -1
  375. package/dist/esm/CaretRight.js.map +1 -1
  376. package/dist/esm/CaretUp.js +1 -1
  377. package/dist/esm/CaretUp.js.map +1 -1
  378. package/dist/esm/ChartFilled.js +1 -1
  379. package/dist/esm/ChartFilled.js.map +1 -1
  380. package/dist/esm/Charts.js +1 -1
  381. package/dist/esm/Charts.js.map +1 -1
  382. package/dist/esm/Checkmark.js +1 -1
  383. package/dist/esm/Checkmark.js.map +1 -1
  384. package/dist/esm/CheckmarkWithCircle.js +1 -1
  385. package/dist/esm/CheckmarkWithCircle.js.map +1 -1
  386. package/dist/esm/ChevronDown.js +1 -1
  387. package/dist/esm/ChevronDown.js.map +1 -1
  388. package/dist/esm/ChevronLeft.js +1 -1
  389. package/dist/esm/ChevronLeft.js.map +1 -1
  390. package/dist/esm/ChevronRight.js +1 -1
  391. package/dist/esm/ChevronRight.js.map +1 -1
  392. package/dist/esm/ChevronUp.js +1 -1
  393. package/dist/esm/ChevronUp.js.map +1 -1
  394. package/dist/esm/Clock.js +1 -1
  395. package/dist/esm/Clock.js.map +1 -1
  396. package/dist/esm/ClockWithArrow.js +1 -1
  397. package/dist/esm/ClockWithArrow.js.map +1 -1
  398. package/dist/esm/Clone.js +1 -1
  399. package/dist/esm/Clone.js.map +1 -1
  400. package/dist/esm/Cloud.js +1 -1
  401. package/dist/esm/Cloud.js.map +1 -1
  402. package/dist/esm/Code.js +1 -1
  403. package/dist/esm/Code.js.map +1 -1
  404. package/dist/esm/CodeBlock.js +1 -1
  405. package/dist/esm/CodeBlock.js.map +1 -1
  406. package/dist/esm/Coin.js +2 -0
  407. package/dist/esm/Coin.js.map +1 -0
  408. package/dist/esm/Colon.js +1 -1
  409. package/dist/esm/Colon.js.map +1 -1
  410. package/dist/esm/Connect.js +1 -1
  411. package/dist/esm/Connect.js.map +1 -1
  412. package/dist/esm/Copy.js +1 -1
  413. package/dist/esm/Copy.js.map +1 -1
  414. package/dist/esm/CreditCard.js +1 -1
  415. package/dist/esm/CreditCard.js.map +1 -1
  416. package/dist/esm/CurlyBraces.js +1 -1
  417. package/dist/esm/CurlyBraces.js.map +1 -1
  418. package/dist/esm/Cursor.js +1 -1
  419. package/dist/esm/Cursor.js.map +1 -1
  420. package/dist/esm/Dashboard.js +1 -1
  421. package/dist/esm/Dashboard.js.map +1 -1
  422. package/dist/esm/Database.js +1 -1
  423. package/dist/esm/Database.js.map +1 -1
  424. package/dist/esm/Diagram.js +1 -1
  425. package/dist/esm/Diagram.js.map +1 -1
  426. package/dist/esm/Diagram2.js +1 -1
  427. package/dist/esm/Diagram2.js.map +1 -1
  428. package/dist/esm/Diagram3.js +1 -1
  429. package/dist/esm/Diagram3.js.map +1 -1
  430. package/dist/esm/Disconnect.js +1 -1
  431. package/dist/esm/Disconnect.js.map +1 -1
  432. package/dist/esm/Download.js +1 -1
  433. package/dist/esm/Download.js.map +1 -1
  434. package/dist/esm/Drag.js +1 -1
  435. package/dist/esm/Drag.js.map +1 -1
  436. package/dist/esm/Edit.js +1 -1
  437. package/dist/esm/Edit.js.map +1 -1
  438. package/dist/esm/Ellipsis.js +1 -1
  439. package/dist/esm/Ellipsis.js.map +1 -1
  440. package/dist/esm/Email.js +1 -1
  441. package/dist/esm/Email.js.map +1 -1
  442. package/dist/esm/EmptyDatabase.js +1 -1
  443. package/dist/esm/EmptyDatabase.js.map +1 -1
  444. package/dist/esm/EmptyFolder.js +1 -1
  445. package/dist/esm/EmptyFolder.js.map +1 -1
  446. package/dist/esm/Eraser.js +1 -1
  447. package/dist/esm/Eraser.js.map +1 -1
  448. package/dist/esm/Escalation.js +1 -1
  449. package/dist/esm/Escalation.js.map +1 -1
  450. package/dist/esm/Export.js +1 -1
  451. package/dist/esm/Export.js.map +1 -1
  452. package/dist/esm/Favorite.js +1 -1
  453. package/dist/esm/Favorite.js.map +1 -1
  454. package/dist/esm/Federation.js +1 -1
  455. package/dist/esm/Federation.js.map +1 -1
  456. package/dist/esm/File.js +1 -1
  457. package/dist/esm/File.js.map +1 -1
  458. package/dist/esm/Filter.js +1 -1
  459. package/dist/esm/Filter.js.map +1 -1
  460. package/dist/esm/Folder.js +1 -1
  461. package/dist/esm/Folder.js.map +1 -1
  462. package/dist/esm/Format.js +1 -1
  463. package/dist/esm/Format.js.map +1 -1
  464. package/dist/esm/FullScreenEnter.js +1 -1
  465. package/dist/esm/FullScreenEnter.js.map +1 -1
  466. package/dist/esm/FullScreenExit.js +1 -1
  467. package/dist/esm/FullScreenExit.js.map +1 -1
  468. package/dist/esm/Gauge.js +1 -1
  469. package/dist/esm/Gauge.js.map +1 -1
  470. package/dist/esm/GlobeAmericas.js +1 -1
  471. package/dist/esm/GlobeAmericas.js.map +1 -1
  472. package/dist/esm/GovernmentBuilding.js +1 -1
  473. package/dist/esm/GovernmentBuilding.js.map +1 -1
  474. package/dist/esm/Hash.js +1 -1
  475. package/dist/esm/Hash.js.map +1 -1
  476. package/dist/esm/Highlight.js +1 -1
  477. package/dist/esm/Highlight.js.map +1 -1
  478. package/dist/esm/Home.js +1 -1
  479. package/dist/esm/Home.js.map +1 -1
  480. package/dist/esm/HorizontalDrag.js +1 -1
  481. package/dist/esm/HorizontalDrag.js.map +1 -1
  482. package/dist/esm/Import.js +1 -1
  483. package/dist/esm/Import.js.map +1 -1
  484. package/dist/esm/ImportantWithCircle.js +1 -1
  485. package/dist/esm/ImportantWithCircle.js.map +1 -1
  486. package/dist/esm/InfoWithCircle.js +1 -1
  487. package/dist/esm/InfoWithCircle.js.map +1 -1
  488. package/dist/esm/InternalEmployee.js +1 -1
  489. package/dist/esm/InternalEmployee.js.map +1 -1
  490. package/dist/esm/InviteUser.js +1 -1
  491. package/dist/esm/InviteUser.js.map +1 -1
  492. package/dist/esm/Key.js +1 -1
  493. package/dist/esm/Key.js.map +1 -1
  494. package/dist/esm/Laptop.js +1 -1
  495. package/dist/esm/Laptop.js.map +1 -1
  496. package/dist/esm/LightningBolt.js +1 -1
  497. package/dist/esm/LightningBolt.js.map +1 -1
  498. package/dist/esm/Link.js +1 -1
  499. package/dist/esm/Link.js.map +1 -1
  500. package/dist/esm/List.js +1 -1
  501. package/dist/esm/List.js.map +1 -1
  502. package/dist/esm/Lock.js +1 -1
  503. package/dist/esm/Lock.js.map +1 -1
  504. package/dist/esm/LogIn.js +1 -1
  505. package/dist/esm/LogIn.js.map +1 -1
  506. package/dist/esm/LogOut.js +1 -1
  507. package/dist/esm/LogOut.js.map +1 -1
  508. package/dist/esm/MagnifyingGlass.js +1 -1
  509. package/dist/esm/MagnifyingGlass.js.map +1 -1
  510. package/dist/esm/Megaphone.js +1 -1
  511. package/dist/esm/Megaphone.js.map +1 -1
  512. package/dist/esm/Menu.js +1 -1
  513. package/dist/esm/Menu.js.map +1 -1
  514. package/dist/esm/Minus.js +1 -1
  515. package/dist/esm/Minus.js.map +1 -1
  516. package/dist/esm/Mobile.js +1 -1
  517. package/dist/esm/Mobile.js.map +1 -1
  518. package/dist/esm/Moon.js +1 -1
  519. package/dist/esm/Moon.js.map +1 -1
  520. package/dist/esm/MultiDirectionArrow.js +1 -1
  521. package/dist/esm/MultiDirectionArrow.js.map +1 -1
  522. package/dist/esm/MultiLayers.js +1 -1
  523. package/dist/esm/MultiLayers.js.map +1 -1
  524. package/dist/esm/NavCollapse.js +1 -1
  525. package/dist/esm/NavCollapse.js.map +1 -1
  526. package/dist/esm/NavExpand.js +1 -1
  527. package/dist/esm/NavExpand.js.map +1 -1
  528. package/dist/esm/NoFilter.js +1 -1
  529. package/dist/esm/NoFilter.js.map +1 -1
  530. package/dist/esm/NotAllowed.js +1 -1
  531. package/dist/esm/NotAllowed.js.map +1 -1
  532. package/dist/esm/Note.js +1 -1
  533. package/dist/esm/Note.js.map +1 -1
  534. package/dist/esm/OpenNewTab.js +1 -1
  535. package/dist/esm/OpenNewTab.js.map +1 -1
  536. package/dist/esm/Pause.js +1 -1
  537. package/dist/esm/Pause.js.map +1 -1
  538. package/dist/esm/Pending.js +1 -1
  539. package/dist/esm/Pending.js.map +1 -1
  540. package/dist/esm/Person.js +1 -1
  541. package/dist/esm/Person.js.map +1 -1
  542. package/dist/esm/PersonGroup.js +1 -1
  543. package/dist/esm/PersonGroup.js.map +1 -1
  544. package/dist/esm/PersonWithLock.js +1 -1
  545. package/dist/esm/PersonWithLock.js.map +1 -1
  546. package/dist/esm/Pin.js +1 -1
  547. package/dist/esm/Pin.js.map +1 -1
  548. package/dist/esm/Play.js +1 -1
  549. package/dist/esm/Play.js.map +1 -1
  550. package/dist/esm/Plus.js +1 -1
  551. package/dist/esm/Plus.js.map +1 -1
  552. package/dist/esm/PlusWithCircle.js +1 -1
  553. package/dist/esm/PlusWithCircle.js.map +1 -1
  554. package/dist/esm/Primary.js +1 -1
  555. package/dist/esm/Primary.js.map +1 -1
  556. package/dist/esm/Project.js +1 -1
  557. package/dist/esm/Project.js.map +1 -1
  558. package/dist/esm/QuestionMarkWithCircle.js +1 -1
  559. package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
  560. package/dist/esm/Read.js +1 -1
  561. package/dist/esm/Read.js.map +1 -1
  562. package/dist/esm/Recommended.js +1 -1
  563. package/dist/esm/Recommended.js.map +1 -1
  564. package/dist/esm/Redo.js +1 -1
  565. package/dist/esm/Redo.js.map +1 -1
  566. package/dist/esm/Refresh.js +1 -1
  567. package/dist/esm/Refresh.js.map +1 -1
  568. package/dist/esm/Relationship.js +1 -1
  569. package/dist/esm/Relationship.js.map +1 -1
  570. package/dist/esm/ReplicaSet.js +1 -1
  571. package/dist/esm/ReplicaSet.js.map +1 -1
  572. package/dist/esm/Resize.js +1 -1
  573. package/dist/esm/Resize.js.map +1 -1
  574. package/dist/esm/Return.js +1 -1
  575. package/dist/esm/Return.js.map +1 -1
  576. package/dist/esm/Revert.js +1 -1
  577. package/dist/esm/Revert.js.map +1 -1
  578. package/dist/esm/SMS.js +1 -1
  579. package/dist/esm/SMS.js.map +1 -1
  580. package/dist/esm/Save.js +1 -1
  581. package/dist/esm/Save.js.map +1 -1
  582. package/dist/esm/SearchIndex.js +1 -1
  583. package/dist/esm/SearchIndex.js.map +1 -1
  584. package/dist/esm/Secondary.js +1 -1
  585. package/dist/esm/Secondary.js.map +1 -1
  586. package/dist/esm/Serverless.js +1 -1
  587. package/dist/esm/Serverless.js.map +1 -1
  588. package/dist/esm/Settings.js +1 -1
  589. package/dist/esm/Settings.js.map +1 -1
  590. package/dist/esm/ShardedCluster.js +1 -1
  591. package/dist/esm/ShardedCluster.js.map +1 -1
  592. package/dist/esm/Shell.js +1 -1
  593. package/dist/esm/Shell.js.map +1 -1
  594. package/dist/esm/SortAscending.js +1 -1
  595. package/dist/esm/SortAscending.js.map +1 -1
  596. package/dist/esm/SortDescending.js +1 -1
  597. package/dist/esm/SortDescending.js.map +1 -1
  598. package/dist/esm/Sparkle.js +1 -1
  599. package/dist/esm/Sparkle.js.map +1 -1
  600. package/dist/esm/SplitHorizontal.js +1 -1
  601. package/dist/esm/SplitHorizontal.js.map +1 -1
  602. package/dist/esm/SplitVertical.js +1 -1
  603. package/dist/esm/SplitVertical.js.map +1 -1
  604. package/dist/esm/Stitch.js +1 -1
  605. package/dist/esm/Stitch.js.map +1 -1
  606. package/dist/esm/Stop.js +1 -1
  607. package/dist/esm/Stop.js.map +1 -1
  608. package/dist/esm/String.js +1 -1
  609. package/dist/esm/String.js.map +1 -1
  610. package/dist/esm/Sun.js +1 -1
  611. package/dist/esm/Sun.js.map +1 -1
  612. package/dist/esm/Support.js +1 -1
  613. package/dist/esm/Support.js.map +1 -1
  614. package/dist/esm/Sweep.js +1 -1
  615. package/dist/esm/Sweep.js.map +1 -1
  616. package/dist/esm/Table.js +1 -1
  617. package/dist/esm/Table.js.map +1 -1
  618. package/dist/esm/Tag.js +1 -1
  619. package/dist/esm/Tag.js.map +1 -1
  620. package/dist/esm/ThumbsDown.js +1 -1
  621. package/dist/esm/ThumbsDown.js.map +1 -1
  622. package/dist/esm/ThumbsUp.js +1 -1
  623. package/dist/esm/ThumbsUp.js.map +1 -1
  624. package/dist/esm/TimeSeries.js +1 -1
  625. package/dist/esm/TimeSeries.js.map +1 -1
  626. package/dist/esm/TimeSeriesCollection.js +1 -1
  627. package/dist/esm/TimeSeriesCollection.js.map +1 -1
  628. package/dist/esm/Trash.js +1 -1
  629. package/dist/esm/Trash.js.map +1 -1
  630. package/dist/esm/Undo.js +1 -1
  631. package/dist/esm/Undo.js.map +1 -1
  632. package/dist/esm/University.js +1 -1
  633. package/dist/esm/University.js.map +1 -1
  634. package/dist/esm/Unlock.js +1 -1
  635. package/dist/esm/Unlock.js.map +1 -1
  636. package/dist/esm/Unsorted.js +1 -1
  637. package/dist/esm/Unsorted.js.map +1 -1
  638. package/dist/esm/UpDownCarets.js +1 -1
  639. package/dist/esm/UpDownCarets.js.map +1 -1
  640. package/dist/esm/Upload.js +1 -1
  641. package/dist/esm/Upload.js.map +1 -1
  642. package/dist/esm/VerticalEllipsis.js +1 -1
  643. package/dist/esm/VerticalEllipsis.js.map +1 -1
  644. package/dist/esm/Visibility.js +1 -1
  645. package/dist/esm/Visibility.js.map +1 -1
  646. package/dist/esm/VisibilityOff.js +1 -1
  647. package/dist/esm/VisibilityOff.js.map +1 -1
  648. package/dist/esm/Warning.js +1 -1
  649. package/dist/esm/Warning.js.map +1 -1
  650. package/dist/esm/Wizard.js +1 -1
  651. package/dist/esm/Wizard.js.map +1 -1
  652. package/dist/esm/Wrench.js +1 -1
  653. package/dist/esm/Wrench.js.map +1 -1
  654. package/dist/esm/Write.js +1 -1
  655. package/dist/esm/Write.js.map +1 -1
  656. package/dist/esm/X.js +1 -1
  657. package/dist/esm/X.js.map +1 -1
  658. package/dist/esm/XWithCircle.js +1 -1
  659. package/dist/esm/XWithCircle.js.map +1 -1
  660. package/dist/esm/index.js +1 -1
  661. package/dist/esm/index.js.map +1 -1
  662. package/dist/generated/ActivityFeed.d.ts +1 -7
  663. package/dist/generated/ActivityFeed.d.ts.map +1 -1
  664. package/dist/generated/AddFile.d.ts +1 -7
  665. package/dist/generated/AddFile.d.ts.map +1 -1
  666. package/dist/generated/AllProducts.d.ts +1 -7
  667. package/dist/generated/AllProducts.d.ts.map +1 -1
  668. package/dist/generated/Apps.d.ts +1 -7
  669. package/dist/generated/Apps.d.ts.map +1 -1
  670. package/dist/generated/Array.d.ts +1 -7
  671. package/dist/generated/Array.d.ts.map +1 -1
  672. package/dist/generated/ArrowDown.d.ts +1 -7
  673. package/dist/generated/ArrowDown.d.ts.map +1 -1
  674. package/dist/generated/ArrowLeft.d.ts +1 -7
  675. package/dist/generated/ArrowLeft.d.ts.map +1 -1
  676. package/dist/generated/ArrowRight.d.ts +1 -7
  677. package/dist/generated/ArrowRight.d.ts.map +1 -1
  678. package/dist/generated/ArrowUp.d.ts +1 -7
  679. package/dist/generated/ArrowUp.d.ts.map +1 -1
  680. package/dist/generated/Beaker.d.ts +1 -7
  681. package/dist/generated/Beaker.d.ts.map +1 -1
  682. package/dist/generated/Bell.d.ts +1 -7
  683. package/dist/generated/Bell.d.ts.map +1 -1
  684. package/dist/generated/Biometric.d.ts +1 -7
  685. package/dist/generated/Biometric.d.ts.map +1 -1
  686. package/dist/generated/Boolean.d.ts +1 -7
  687. package/dist/generated/Boolean.d.ts.map +1 -1
  688. package/dist/generated/Building.d.ts +1 -7
  689. package/dist/generated/Building.d.ts.map +1 -1
  690. package/dist/generated/Bulb.d.ts +1 -7
  691. package/dist/generated/Bulb.d.ts.map +1 -1
  692. package/dist/generated/Calendar.d.ts +1 -7
  693. package/dist/generated/Calendar.d.ts.map +1 -1
  694. package/dist/generated/Camera.d.ts +1 -7
  695. package/dist/generated/Camera.d.ts.map +1 -1
  696. package/dist/generated/Cap.d.ts +1 -7
  697. package/dist/generated/Cap.d.ts.map +1 -1
  698. package/dist/generated/CaretDown.d.ts +1 -7
  699. package/dist/generated/CaretDown.d.ts.map +1 -1
  700. package/dist/generated/CaretLeft.d.ts +1 -7
  701. package/dist/generated/CaretLeft.d.ts.map +1 -1
  702. package/dist/generated/CaretRight.d.ts +1 -7
  703. package/dist/generated/CaretRight.d.ts.map +1 -1
  704. package/dist/generated/CaretUp.d.ts +1 -7
  705. package/dist/generated/CaretUp.d.ts.map +1 -1
  706. package/dist/generated/ChartFilled.d.ts +1 -7
  707. package/dist/generated/ChartFilled.d.ts.map +1 -1
  708. package/dist/generated/Charts.d.ts +1 -7
  709. package/dist/generated/Charts.d.ts.map +1 -1
  710. package/dist/generated/Checkmark.d.ts +1 -7
  711. package/dist/generated/Checkmark.d.ts.map +1 -1
  712. package/dist/generated/CheckmarkWithCircle.d.ts +1 -7
  713. package/dist/generated/CheckmarkWithCircle.d.ts.map +1 -1
  714. package/dist/generated/ChevronDown.d.ts +1 -7
  715. package/dist/generated/ChevronDown.d.ts.map +1 -1
  716. package/dist/generated/ChevronLeft.d.ts +1 -7
  717. package/dist/generated/ChevronLeft.d.ts.map +1 -1
  718. package/dist/generated/ChevronRight.d.ts +1 -7
  719. package/dist/generated/ChevronRight.d.ts.map +1 -1
  720. package/dist/generated/ChevronUp.d.ts +1 -7
  721. package/dist/generated/ChevronUp.d.ts.map +1 -1
  722. package/dist/generated/Clock.d.ts +1 -7
  723. package/dist/generated/Clock.d.ts.map +1 -1
  724. package/dist/generated/ClockWithArrow.d.ts +1 -7
  725. package/dist/generated/ClockWithArrow.d.ts.map +1 -1
  726. package/dist/generated/Clone.d.ts +1 -7
  727. package/dist/generated/Clone.d.ts.map +1 -1
  728. package/dist/generated/Cloud.d.ts +1 -7
  729. package/dist/generated/Cloud.d.ts.map +1 -1
  730. package/dist/generated/Code.d.ts +1 -7
  731. package/dist/generated/Code.d.ts.map +1 -1
  732. package/dist/generated/CodeBlock.d.ts +1 -7
  733. package/dist/generated/CodeBlock.d.ts.map +1 -1
  734. package/dist/generated/Coin.d.ts +17 -0
  735. package/dist/generated/Coin.d.ts.map +1 -0
  736. package/dist/generated/Colon.d.ts +1 -7
  737. package/dist/generated/Colon.d.ts.map +1 -1
  738. package/dist/generated/Connect.d.ts +1 -7
  739. package/dist/generated/Connect.d.ts.map +1 -1
  740. package/dist/generated/Copy.d.ts +1 -7
  741. package/dist/generated/Copy.d.ts.map +1 -1
  742. package/dist/generated/CreditCard.d.ts +1 -7
  743. package/dist/generated/CreditCard.d.ts.map +1 -1
  744. package/dist/generated/CurlyBraces.d.ts +1 -7
  745. package/dist/generated/CurlyBraces.d.ts.map +1 -1
  746. package/dist/generated/Cursor.d.ts +1 -7
  747. package/dist/generated/Cursor.d.ts.map +1 -1
  748. package/dist/generated/Dashboard.d.ts +1 -7
  749. package/dist/generated/Dashboard.d.ts.map +1 -1
  750. package/dist/generated/Database.d.ts +1 -7
  751. package/dist/generated/Database.d.ts.map +1 -1
  752. package/dist/generated/Diagram.d.ts +1 -7
  753. package/dist/generated/Diagram.d.ts.map +1 -1
  754. package/dist/generated/Diagram2.d.ts +1 -7
  755. package/dist/generated/Diagram2.d.ts.map +1 -1
  756. package/dist/generated/Diagram3.d.ts +1 -7
  757. package/dist/generated/Diagram3.d.ts.map +1 -1
  758. package/dist/generated/Disconnect.d.ts +1 -7
  759. package/dist/generated/Disconnect.d.ts.map +1 -1
  760. package/dist/generated/Download.d.ts +1 -7
  761. package/dist/generated/Download.d.ts.map +1 -1
  762. package/dist/generated/Drag.d.ts +1 -7
  763. package/dist/generated/Drag.d.ts.map +1 -1
  764. package/dist/generated/Edit.d.ts +1 -7
  765. package/dist/generated/Edit.d.ts.map +1 -1
  766. package/dist/generated/Ellipsis.d.ts +1 -7
  767. package/dist/generated/Ellipsis.d.ts.map +1 -1
  768. package/dist/generated/Email.d.ts +1 -7
  769. package/dist/generated/Email.d.ts.map +1 -1
  770. package/dist/generated/EmptyDatabase.d.ts +1 -7
  771. package/dist/generated/EmptyDatabase.d.ts.map +1 -1
  772. package/dist/generated/EmptyFolder.d.ts +1 -7
  773. package/dist/generated/EmptyFolder.d.ts.map +1 -1
  774. package/dist/generated/Eraser.d.ts +1 -7
  775. package/dist/generated/Eraser.d.ts.map +1 -1
  776. package/dist/generated/Escalation.d.ts +1 -7
  777. package/dist/generated/Escalation.d.ts.map +1 -1
  778. package/dist/generated/Export.d.ts +1 -7
  779. package/dist/generated/Export.d.ts.map +1 -1
  780. package/dist/generated/Favorite.d.ts +1 -7
  781. package/dist/generated/Favorite.d.ts.map +1 -1
  782. package/dist/generated/Federation.d.ts +1 -7
  783. package/dist/generated/Federation.d.ts.map +1 -1
  784. package/dist/generated/File.d.ts +1 -7
  785. package/dist/generated/File.d.ts.map +1 -1
  786. package/dist/generated/Filter.d.ts +1 -7
  787. package/dist/generated/Filter.d.ts.map +1 -1
  788. package/dist/generated/Folder.d.ts +1 -7
  789. package/dist/generated/Folder.d.ts.map +1 -1
  790. package/dist/generated/Format.d.ts +1 -7
  791. package/dist/generated/Format.d.ts.map +1 -1
  792. package/dist/generated/FullScreenEnter.d.ts +1 -7
  793. package/dist/generated/FullScreenEnter.d.ts.map +1 -1
  794. package/dist/generated/FullScreenExit.d.ts +1 -7
  795. package/dist/generated/FullScreenExit.d.ts.map +1 -1
  796. package/dist/generated/Gauge.d.ts +1 -7
  797. package/dist/generated/Gauge.d.ts.map +1 -1
  798. package/dist/generated/GlobeAmericas.d.ts +1 -7
  799. package/dist/generated/GlobeAmericas.d.ts.map +1 -1
  800. package/dist/generated/GovernmentBuilding.d.ts +1 -7
  801. package/dist/generated/GovernmentBuilding.d.ts.map +1 -1
  802. package/dist/generated/Hash.d.ts +1 -7
  803. package/dist/generated/Hash.d.ts.map +1 -1
  804. package/dist/generated/Highlight.d.ts +1 -7
  805. package/dist/generated/Highlight.d.ts.map +1 -1
  806. package/dist/generated/Home.d.ts +1 -7
  807. package/dist/generated/Home.d.ts.map +1 -1
  808. package/dist/generated/HorizontalDrag.d.ts +1 -7
  809. package/dist/generated/HorizontalDrag.d.ts.map +1 -1
  810. package/dist/generated/Import.d.ts +1 -7
  811. package/dist/generated/Import.d.ts.map +1 -1
  812. package/dist/generated/ImportantWithCircle.d.ts +1 -7
  813. package/dist/generated/ImportantWithCircle.d.ts.map +1 -1
  814. package/dist/generated/InfoWithCircle.d.ts +1 -7
  815. package/dist/generated/InfoWithCircle.d.ts.map +1 -1
  816. package/dist/generated/InternalEmployee.d.ts +1 -7
  817. package/dist/generated/InternalEmployee.d.ts.map +1 -1
  818. package/dist/generated/InviteUser.d.ts +1 -7
  819. package/dist/generated/InviteUser.d.ts.map +1 -1
  820. package/dist/generated/Key.d.ts +1 -7
  821. package/dist/generated/Key.d.ts.map +1 -1
  822. package/dist/generated/Laptop.d.ts +1 -7
  823. package/dist/generated/Laptop.d.ts.map +1 -1
  824. package/dist/generated/LightningBolt.d.ts +1 -7
  825. package/dist/generated/LightningBolt.d.ts.map +1 -1
  826. package/dist/generated/Link.d.ts +1 -7
  827. package/dist/generated/Link.d.ts.map +1 -1
  828. package/dist/generated/List.d.ts +1 -7
  829. package/dist/generated/List.d.ts.map +1 -1
  830. package/dist/generated/Lock.d.ts +1 -7
  831. package/dist/generated/Lock.d.ts.map +1 -1
  832. package/dist/generated/LogIn.d.ts +1 -7
  833. package/dist/generated/LogIn.d.ts.map +1 -1
  834. package/dist/generated/LogOut.d.ts +1 -7
  835. package/dist/generated/LogOut.d.ts.map +1 -1
  836. package/dist/generated/MagnifyingGlass.d.ts +1 -7
  837. package/dist/generated/MagnifyingGlass.d.ts.map +1 -1
  838. package/dist/generated/Megaphone.d.ts +1 -7
  839. package/dist/generated/Megaphone.d.ts.map +1 -1
  840. package/dist/generated/Menu.d.ts +1 -7
  841. package/dist/generated/Menu.d.ts.map +1 -1
  842. package/dist/generated/Minus.d.ts +1 -7
  843. package/dist/generated/Minus.d.ts.map +1 -1
  844. package/dist/generated/Mobile.d.ts +1 -7
  845. package/dist/generated/Mobile.d.ts.map +1 -1
  846. package/dist/generated/Moon.d.ts +1 -7
  847. package/dist/generated/Moon.d.ts.map +1 -1
  848. package/dist/generated/MultiDirectionArrow.d.ts +1 -7
  849. package/dist/generated/MultiDirectionArrow.d.ts.map +1 -1
  850. package/dist/generated/MultiLayers.d.ts +1 -7
  851. package/dist/generated/MultiLayers.d.ts.map +1 -1
  852. package/dist/generated/NavCollapse.d.ts +1 -7
  853. package/dist/generated/NavCollapse.d.ts.map +1 -1
  854. package/dist/generated/NavExpand.d.ts +1 -7
  855. package/dist/generated/NavExpand.d.ts.map +1 -1
  856. package/dist/generated/NoFilter.d.ts +1 -7
  857. package/dist/generated/NoFilter.d.ts.map +1 -1
  858. package/dist/generated/NotAllowed.d.ts +1 -7
  859. package/dist/generated/NotAllowed.d.ts.map +1 -1
  860. package/dist/generated/Note.d.ts +1 -7
  861. package/dist/generated/Note.d.ts.map +1 -1
  862. package/dist/generated/OpenNewTab.d.ts +1 -7
  863. package/dist/generated/OpenNewTab.d.ts.map +1 -1
  864. package/dist/generated/Pause.d.ts +1 -7
  865. package/dist/generated/Pause.d.ts.map +1 -1
  866. package/dist/generated/Pending.d.ts +1 -7
  867. package/dist/generated/Pending.d.ts.map +1 -1
  868. package/dist/generated/Person.d.ts +1 -7
  869. package/dist/generated/Person.d.ts.map +1 -1
  870. package/dist/generated/PersonGroup.d.ts +1 -7
  871. package/dist/generated/PersonGroup.d.ts.map +1 -1
  872. package/dist/generated/PersonWithLock.d.ts +1 -7
  873. package/dist/generated/PersonWithLock.d.ts.map +1 -1
  874. package/dist/generated/Pin.d.ts +1 -7
  875. package/dist/generated/Pin.d.ts.map +1 -1
  876. package/dist/generated/Play.d.ts +1 -7
  877. package/dist/generated/Play.d.ts.map +1 -1
  878. package/dist/generated/Plus.d.ts +1 -7
  879. package/dist/generated/Plus.d.ts.map +1 -1
  880. package/dist/generated/PlusWithCircle.d.ts +1 -7
  881. package/dist/generated/PlusWithCircle.d.ts.map +1 -1
  882. package/dist/generated/Primary.d.ts +1 -7
  883. package/dist/generated/Primary.d.ts.map +1 -1
  884. package/dist/generated/Project.d.ts +1 -7
  885. package/dist/generated/Project.d.ts.map +1 -1
  886. package/dist/generated/QuestionMarkWithCircle.d.ts +1 -7
  887. package/dist/generated/QuestionMarkWithCircle.d.ts.map +1 -1
  888. package/dist/generated/Read.d.ts +1 -7
  889. package/dist/generated/Read.d.ts.map +1 -1
  890. package/dist/generated/Recommended.d.ts +1 -7
  891. package/dist/generated/Recommended.d.ts.map +1 -1
  892. package/dist/generated/Redo.d.ts +1 -7
  893. package/dist/generated/Redo.d.ts.map +1 -1
  894. package/dist/generated/Refresh.d.ts +1 -7
  895. package/dist/generated/Refresh.d.ts.map +1 -1
  896. package/dist/generated/Relationship.d.ts +1 -7
  897. package/dist/generated/Relationship.d.ts.map +1 -1
  898. package/dist/generated/ReplicaSet.d.ts +1 -7
  899. package/dist/generated/ReplicaSet.d.ts.map +1 -1
  900. package/dist/generated/Resize.d.ts +1 -7
  901. package/dist/generated/Resize.d.ts.map +1 -1
  902. package/dist/generated/Return.d.ts +1 -7
  903. package/dist/generated/Return.d.ts.map +1 -1
  904. package/dist/generated/Revert.d.ts +1 -7
  905. package/dist/generated/Revert.d.ts.map +1 -1
  906. package/dist/generated/SMS.d.ts +1 -7
  907. package/dist/generated/SMS.d.ts.map +1 -1
  908. package/dist/generated/Save.d.ts +1 -7
  909. package/dist/generated/Save.d.ts.map +1 -1
  910. package/dist/generated/SearchIndex.d.ts +1 -7
  911. package/dist/generated/SearchIndex.d.ts.map +1 -1
  912. package/dist/generated/Secondary.d.ts +1 -7
  913. package/dist/generated/Secondary.d.ts.map +1 -1
  914. package/dist/generated/Serverless.d.ts +1 -7
  915. package/dist/generated/Serverless.d.ts.map +1 -1
  916. package/dist/generated/Settings.d.ts +1 -7
  917. package/dist/generated/Settings.d.ts.map +1 -1
  918. package/dist/generated/ShardedCluster.d.ts +1 -7
  919. package/dist/generated/ShardedCluster.d.ts.map +1 -1
  920. package/dist/generated/Shell.d.ts +1 -7
  921. package/dist/generated/Shell.d.ts.map +1 -1
  922. package/dist/generated/SortAscending.d.ts +1 -7
  923. package/dist/generated/SortAscending.d.ts.map +1 -1
  924. package/dist/generated/SortDescending.d.ts +1 -7
  925. package/dist/generated/SortDescending.d.ts.map +1 -1
  926. package/dist/generated/Sparkle.d.ts +1 -7
  927. package/dist/generated/Sparkle.d.ts.map +1 -1
  928. package/dist/generated/SplitHorizontal.d.ts +1 -7
  929. package/dist/generated/SplitHorizontal.d.ts.map +1 -1
  930. package/dist/generated/SplitVertical.d.ts +1 -7
  931. package/dist/generated/SplitVertical.d.ts.map +1 -1
  932. package/dist/generated/Stitch.d.ts +1 -7
  933. package/dist/generated/Stitch.d.ts.map +1 -1
  934. package/dist/generated/Stop.d.ts +1 -7
  935. package/dist/generated/Stop.d.ts.map +1 -1
  936. package/dist/generated/String.d.ts +1 -7
  937. package/dist/generated/String.d.ts.map +1 -1
  938. package/dist/generated/Sun.d.ts +1 -7
  939. package/dist/generated/Sun.d.ts.map +1 -1
  940. package/dist/generated/Support.d.ts +1 -7
  941. package/dist/generated/Support.d.ts.map +1 -1
  942. package/dist/generated/Sweep.d.ts +1 -7
  943. package/dist/generated/Sweep.d.ts.map +1 -1
  944. package/dist/generated/Table.d.ts +1 -7
  945. package/dist/generated/Table.d.ts.map +1 -1
  946. package/dist/generated/Tag.d.ts +1 -7
  947. package/dist/generated/Tag.d.ts.map +1 -1
  948. package/dist/generated/ThumbsDown.d.ts +1 -7
  949. package/dist/generated/ThumbsDown.d.ts.map +1 -1
  950. package/dist/generated/ThumbsUp.d.ts +1 -7
  951. package/dist/generated/ThumbsUp.d.ts.map +1 -1
  952. package/dist/generated/TimeSeries.d.ts +1 -7
  953. package/dist/generated/TimeSeries.d.ts.map +1 -1
  954. package/dist/generated/TimeSeriesCollection.d.ts +1 -7
  955. package/dist/generated/TimeSeriesCollection.d.ts.map +1 -1
  956. package/dist/generated/Trash.d.ts +1 -7
  957. package/dist/generated/Trash.d.ts.map +1 -1
  958. package/dist/generated/Undo.d.ts +1 -7
  959. package/dist/generated/Undo.d.ts.map +1 -1
  960. package/dist/generated/University.d.ts +1 -7
  961. package/dist/generated/University.d.ts.map +1 -1
  962. package/dist/generated/Unlock.d.ts +1 -7
  963. package/dist/generated/Unlock.d.ts.map +1 -1
  964. package/dist/generated/Unsorted.d.ts +1 -7
  965. package/dist/generated/Unsorted.d.ts.map +1 -1
  966. package/dist/generated/UpDownCarets.d.ts +1 -7
  967. package/dist/generated/UpDownCarets.d.ts.map +1 -1
  968. package/dist/generated/Upload.d.ts +1 -7
  969. package/dist/generated/Upload.d.ts.map +1 -1
  970. package/dist/generated/VerticalEllipsis.d.ts +1 -7
  971. package/dist/generated/VerticalEllipsis.d.ts.map +1 -1
  972. package/dist/generated/Visibility.d.ts +1 -7
  973. package/dist/generated/Visibility.d.ts.map +1 -1
  974. package/dist/generated/VisibilityOff.d.ts +1 -7
  975. package/dist/generated/VisibilityOff.d.ts.map +1 -1
  976. package/dist/generated/Warning.d.ts +1 -7
  977. package/dist/generated/Warning.d.ts.map +1 -1
  978. package/dist/generated/Wizard.d.ts +1 -7
  979. package/dist/generated/Wizard.d.ts.map +1 -1
  980. package/dist/generated/Wrench.d.ts +1 -7
  981. package/dist/generated/Wrench.d.ts.map +1 -1
  982. package/dist/generated/Write.d.ts +1 -7
  983. package/dist/generated/Write.d.ts.map +1 -1
  984. package/dist/generated/X.d.ts +1 -7
  985. package/dist/generated/X.d.ts.map +1 -1
  986. package/dist/generated/XWithCircle.d.ts +1 -7
  987. package/dist/generated/XWithCircle.d.ts.map +1 -1
  988. package/dist/glyphs/index.d.ts +5 -1
  989. package/dist/glyphs/index.d.ts.map +1 -1
  990. package/dist/index.js +1 -1
  991. package/dist/index.js.map +1 -1
  992. package/package.json +2 -2
  993. package/scripts/template.ts +0 -7
  994. package/src/createGlyphComponent.tsx +0 -10
  995. package/src/createIconComponent.tsx +0 -9
  996. package/src/generated/ActivityFeed.tsx +1 -7
  997. package/src/generated/AddFile.tsx +1 -7
  998. package/src/generated/AllProducts.tsx +1 -7
  999. package/src/generated/Apps.tsx +1 -7
  1000. package/src/generated/Array.tsx +1 -7
  1001. package/src/generated/ArrowDown.tsx +1 -7
  1002. package/src/generated/ArrowLeft.tsx +1 -7
  1003. package/src/generated/ArrowRight.tsx +1 -7
  1004. package/src/generated/ArrowUp.tsx +1 -7
  1005. package/src/generated/Beaker.tsx +1 -7
  1006. package/src/generated/Bell.tsx +1 -7
  1007. package/src/generated/Biometric.tsx +1 -7
  1008. package/src/generated/Boolean.tsx +1 -7
  1009. package/src/generated/Building.tsx +1 -7
  1010. package/src/generated/Bulb.tsx +1 -7
  1011. package/src/generated/Calendar.tsx +1 -7
  1012. package/src/generated/Camera.tsx +1 -7
  1013. package/src/generated/Cap.tsx +1 -7
  1014. package/src/generated/CaretDown.tsx +1 -7
  1015. package/src/generated/CaretLeft.tsx +1 -7
  1016. package/src/generated/CaretRight.tsx +1 -7
  1017. package/src/generated/CaretUp.tsx +1 -7
  1018. package/src/generated/ChartFilled.tsx +1 -7
  1019. package/src/generated/Charts.tsx +1 -7
  1020. package/src/generated/Checkmark.tsx +1 -7
  1021. package/src/generated/CheckmarkWithCircle.tsx +1 -7
  1022. package/src/generated/ChevronDown.tsx +1 -7
  1023. package/src/generated/ChevronLeft.tsx +1 -7
  1024. package/src/generated/ChevronRight.tsx +1 -7
  1025. package/src/generated/ChevronUp.tsx +1 -7
  1026. package/src/generated/Clock.tsx +1 -7
  1027. package/src/generated/ClockWithArrow.tsx +1 -7
  1028. package/src/generated/Clone.tsx +1 -7
  1029. package/src/generated/Cloud.tsx +1 -7
  1030. package/src/generated/Code.tsx +1 -7
  1031. package/src/generated/CodeBlock.tsx +1 -7
  1032. package/src/generated/Coin.tsx +39 -0
  1033. package/src/generated/Colon.tsx +1 -7
  1034. package/src/generated/Connect.tsx +1 -7
  1035. package/src/generated/Copy.tsx +1 -7
  1036. package/src/generated/CreditCard.tsx +1 -7
  1037. package/src/generated/CurlyBraces.tsx +1 -7
  1038. package/src/generated/Cursor.tsx +1 -7
  1039. package/src/generated/Dashboard.tsx +1 -7
  1040. package/src/generated/Database.tsx +1 -7
  1041. package/src/generated/Diagram.tsx +1 -7
  1042. package/src/generated/Diagram2.tsx +1 -7
  1043. package/src/generated/Diagram3.tsx +1 -7
  1044. package/src/generated/Disconnect.tsx +1 -7
  1045. package/src/generated/Download.tsx +1 -7
  1046. package/src/generated/Drag.tsx +1 -7
  1047. package/src/generated/Edit.tsx +1 -7
  1048. package/src/generated/Ellipsis.tsx +1 -7
  1049. package/src/generated/Email.tsx +1 -7
  1050. package/src/generated/EmptyDatabase.tsx +1 -7
  1051. package/src/generated/EmptyFolder.tsx +1 -7
  1052. package/src/generated/Eraser.tsx +1 -7
  1053. package/src/generated/Escalation.tsx +1 -7
  1054. package/src/generated/Export.tsx +1 -7
  1055. package/src/generated/Favorite.tsx +1 -7
  1056. package/src/generated/Federation.tsx +1 -7
  1057. package/src/generated/File.tsx +1 -7
  1058. package/src/generated/Filter.tsx +1 -7
  1059. package/src/generated/Folder.tsx +1 -7
  1060. package/src/generated/Format.tsx +1 -7
  1061. package/src/generated/FullScreenEnter.tsx +1 -7
  1062. package/src/generated/FullScreenExit.tsx +1 -7
  1063. package/src/generated/Gauge.tsx +1 -7
  1064. package/src/generated/GlobeAmericas.tsx +1 -7
  1065. package/src/generated/GovernmentBuilding.tsx +1 -7
  1066. package/src/generated/Hash.tsx +1 -7
  1067. package/src/generated/Highlight.tsx +1 -7
  1068. package/src/generated/Home.tsx +1 -7
  1069. package/src/generated/HorizontalDrag.tsx +1 -7
  1070. package/src/generated/Import.tsx +1 -7
  1071. package/src/generated/ImportantWithCircle.tsx +1 -7
  1072. package/src/generated/InfoWithCircle.tsx +1 -7
  1073. package/src/generated/InternalEmployee.tsx +1 -7
  1074. package/src/generated/InviteUser.tsx +1 -7
  1075. package/src/generated/Key.tsx +1 -7
  1076. package/src/generated/Laptop.tsx +1 -7
  1077. package/src/generated/LightningBolt.tsx +1 -7
  1078. package/src/generated/Link.tsx +1 -7
  1079. package/src/generated/List.tsx +1 -7
  1080. package/src/generated/Lock.tsx +1 -7
  1081. package/src/generated/LogIn.tsx +1 -7
  1082. package/src/generated/LogOut.tsx +1 -7
  1083. package/src/generated/MagnifyingGlass.tsx +1 -7
  1084. package/src/generated/Megaphone.tsx +1 -7
  1085. package/src/generated/Menu.tsx +1 -7
  1086. package/src/generated/Minus.tsx +1 -7
  1087. package/src/generated/Mobile.tsx +1 -7
  1088. package/src/generated/Moon.tsx +1 -7
  1089. package/src/generated/MultiDirectionArrow.tsx +1 -7
  1090. package/src/generated/MultiLayers.tsx +1 -7
  1091. package/src/generated/NavCollapse.tsx +1 -7
  1092. package/src/generated/NavExpand.tsx +1 -7
  1093. package/src/generated/NoFilter.tsx +1 -7
  1094. package/src/generated/NotAllowed.tsx +1 -7
  1095. package/src/generated/Note.tsx +1 -7
  1096. package/src/generated/OpenNewTab.tsx +1 -7
  1097. package/src/generated/Pause.tsx +1 -7
  1098. package/src/generated/Pending.tsx +1 -7
  1099. package/src/generated/Person.tsx +1 -7
  1100. package/src/generated/PersonGroup.tsx +1 -7
  1101. package/src/generated/PersonWithLock.tsx +1 -7
  1102. package/src/generated/Pin.tsx +1 -7
  1103. package/src/generated/Play.tsx +1 -7
  1104. package/src/generated/Plus.tsx +1 -7
  1105. package/src/generated/PlusWithCircle.tsx +1 -7
  1106. package/src/generated/Primary.tsx +1 -7
  1107. package/src/generated/Project.tsx +1 -7
  1108. package/src/generated/QuestionMarkWithCircle.tsx +1 -7
  1109. package/src/generated/Read.tsx +1 -7
  1110. package/src/generated/Recommended.tsx +1 -7
  1111. package/src/generated/Redo.tsx +1 -7
  1112. package/src/generated/Refresh.tsx +1 -7
  1113. package/src/generated/Relationship.tsx +1 -7
  1114. package/src/generated/ReplicaSet.tsx +1 -7
  1115. package/src/generated/Resize.tsx +1 -7
  1116. package/src/generated/Return.tsx +1 -7
  1117. package/src/generated/Revert.tsx +2 -8
  1118. package/src/generated/SMS.tsx +1 -7
  1119. package/src/generated/Save.tsx +1 -7
  1120. package/src/generated/SearchIndex.tsx +1 -7
  1121. package/src/generated/Secondary.tsx +1 -7
  1122. package/src/generated/Serverless.tsx +1 -7
  1123. package/src/generated/Settings.tsx +1 -7
  1124. package/src/generated/ShardedCluster.tsx +1 -7
  1125. package/src/generated/Shell.tsx +1 -7
  1126. package/src/generated/SortAscending.tsx +1 -7
  1127. package/src/generated/SortDescending.tsx +1 -7
  1128. package/src/generated/Sparkle.tsx +1 -7
  1129. package/src/generated/SplitHorizontal.tsx +1 -7
  1130. package/src/generated/SplitVertical.tsx +1 -7
  1131. package/src/generated/Stitch.tsx +1 -7
  1132. package/src/generated/Stop.tsx +1 -7
  1133. package/src/generated/String.tsx +1 -7
  1134. package/src/generated/Sun.tsx +1 -7
  1135. package/src/generated/Support.tsx +1 -7
  1136. package/src/generated/Sweep.tsx +1 -7
  1137. package/src/generated/Table.tsx +1 -7
  1138. package/src/generated/Tag.tsx +1 -7
  1139. package/src/generated/ThumbsDown.tsx +1 -7
  1140. package/src/generated/ThumbsUp.tsx +1 -7
  1141. package/src/generated/TimeSeries.tsx +1 -7
  1142. package/src/generated/TimeSeriesCollection.tsx +1 -7
  1143. package/src/generated/Trash.tsx +1 -7
  1144. package/src/generated/Undo.tsx +1 -7
  1145. package/src/generated/University.tsx +1 -7
  1146. package/src/generated/Unlock.tsx +1 -7
  1147. package/src/generated/Unsorted.tsx +1 -7
  1148. package/src/generated/UpDownCarets.tsx +1 -7
  1149. package/src/generated/Upload.tsx +1 -7
  1150. package/src/generated/VerticalEllipsis.tsx +1 -7
  1151. package/src/generated/Visibility.tsx +1 -7
  1152. package/src/generated/VisibilityOff.tsx +1 -7
  1153. package/src/generated/Warning.tsx +1 -7
  1154. package/src/generated/Wizard.tsx +1 -7
  1155. package/src/generated/Wrench.tsx +1 -7
  1156. package/src/generated/Write.tsx +1 -7
  1157. package/src/generated/X.tsx +1 -7
  1158. package/src/generated/XWithCircle.tsx +1 -7
  1159. package/src/glyphs/Coin.svg +3 -0
  1160. package/src/glyphs/index.ts +2 -0
  1161. package/stories.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Unsorted.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unsorted.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum ebaccce851a897770316c000b5445233\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnsortedProps extends LGGlyph.ComponentProps {}\nconst Unsorted = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnsortedProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unsorted', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z\" fill={'currentColor'} /><path d=\"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z\" fill={'currentColor'} /><path d=\"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z\" fill={'currentColor'} /><path d=\"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z\" fill={'currentColor'} /></svg>;\n};\nUnsorted.displayName = 'Unsorted';\nUnsorted.isGlyph = true;\nUnsorted.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Unsorted;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unsorted","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,WAAYU,EAAgBA,EAAgB,CAC9Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU,EACnBlC,EAASmC,UAAY,CACnB3B,KAAM4B,EAAUC,OAChBjC,KAAMgC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDnC,UAAWkC,EAAUC"}
1
+ {"version":3,"file":"Unsorted.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unsorted.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum eaaa196b176013f0cfeba1a0527c6cd3\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnsortedProps extends LGGlyph.ComponentProps {}\nconst Unsorted = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnsortedProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unsorted', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z\" fill={'currentColor'} /><path d=\"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z\" fill={'currentColor'} /><path d=\"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z\" fill={'currentColor'} /><path d=\"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z\" fill={'currentColor'} /></svg>;\n};\nUnsorted.displayName = 'Unsorted';\nUnsorted.isGlyph = true;\nexport default Unsorted;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unsorted","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,WAAYU,EAAgBA,EAAgB,CAC9Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function s(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,c,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,d=r["aria-label"],v=r["aria-labelledby"],g=r.fill,O=r.role,h=void 0===O?"img":O,j=o(r,b),w=t(f||(f=s(["\n color: ",";\n "])),g),C=t(c||(c=s(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"UpDownCarets",i(i({title:y},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",n({className:l(i({},w,null!=g),C,a),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("g",{id:"Glyphs-/-Up-Down-Carets",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z",id:"Fill-1",fill:"currentColor"})))};p.displayName="UpDownCarets",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,d=l["aria-label"],v=l["aria-labelledby"],g=l.fill,h=l.role,O=void 0===h?"img":h,j=n(l,b),w=r(c||(c=o(["\n color: ",";\n "])),g),C=r(f||(f=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"UpDownCarets",a(a({title:m},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},w,null!=g),C,s),height:"number"==typeof y?y:u[y],width:"number"==typeof y?y:u[y],role:O},P,j,{viewBox:"0 0 16 16"}),e.createElement("g",{id:"Glyphs-/-Up-Down-Carets",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z",id:"Fill-1",fill:"currentColor"})))};s.displayName="UpDownCarets",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=UpDownCarets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpDownCarets.js","sources":["../../src/glyphCommon.ts","../../src/generated/UpDownCarets.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 499ff6b3b63ddb6243799058ce69fd4a\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UpDownCaretsProps extends LGGlyph.ComponentProps {}\nconst UpDownCarets = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UpDownCaretsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'UpDownCarets', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Glyphs-/-Up-Down-Carets\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\"><path d=\"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z\" id=\"Fill-1\" fill={'currentColor'} /></g></svg>;\n};\nUpDownCarets.displayName = 'UpDownCarets';\nUpDownCarets.isGlyph = true;\nUpDownCarets.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default UpDownCarets;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","UpDownCarets","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","stroke","strokeWidth","fillRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAe,SAAsBC,GACvC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,eAAgBU,EAAgBA,EAAgB,CAClGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,IAAK,CACxCM,GAAI,0BACJC,OAAQ,OACRC,YAAa,EACb1B,KAAM,OACN2B,SAAU,WACIV,EAAMC,cAAc,OAAQ,CAC1CU,EAAG,iZACHJ,GAAI,SACJxB,KAAM,kBAEV,EACAR,EAAaqC,YAAc,eAC3BrC,EAAasC,SAAU,EACvBtC,EAAauC,UAAY,CACvB/B,KAAMgC,EAAUC,OAChBrC,KAAMoC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDvC,UAAWsC,EAAUC"}
1
+ {"version":3,"file":"UpDownCarets.js","sources":["../../src/glyphCommon.ts","../../src/generated/UpDownCarets.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum f9fa0e9bf4619b84789e1fa36917cc62\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UpDownCaretsProps extends LGGlyph.ComponentProps {}\nconst UpDownCarets = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UpDownCaretsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'UpDownCarets', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Glyphs-/-Up-Down-Carets\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\"><path d=\"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z\" id=\"Fill-1\" fill={'currentColor'} /></g></svg>;\n};\nUpDownCarets.displayName = 'UpDownCarets';\nUpDownCarets.isGlyph = true;\nexport default UpDownCarets;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","UpDownCarets","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","stroke","strokeWidth","fillRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAe,SAAsBC,GACvC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,eAAgBU,EAAgBA,EAAgB,CAClGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,IAAK,CACxCM,GAAI,0BACJC,OAAQ,OACRC,YAAa,EACb1B,KAAM,OACN2B,SAAU,WACIV,EAAMC,cAAc,OAAQ,CAC1CU,EAAG,iZACHJ,GAAI,SACJxB,KAAM,kBAEV,EACAR,EAAaqC,YAAc,eAC3BrC,EAAasC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,d=r["aria-label"],v=r["aria-labelledby"],g=r.fill,C=r.role,O=void 0===C?"img":C,h=o(r,b),j=t(f||(f=c(["\n color: ",";\n "])),g),w=t(u||(u=c(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Upload",i(i({title:y},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",n({className:l(i({},j,null!=g),w,a),height:"number"==typeof m?m:s[m],width:"number"==typeof m?m:s[m],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z",fill:"currentColor"}))};p.displayName="Upload",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,d=l.title,m=l["aria-label"],v=l["aria-labelledby"],g=l.fill,C=l.role,O=void 0===C?"img":C,h=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Upload",a(a({title:d},"aria-label",m),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z",fill:"currentColor"}))};s.displayName="Upload",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=Upload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 78bdd8f7a15f91f0c5f1a77881185d57\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UploadProps extends LGGlyph.ComponentProps {}\nconst Upload = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UploadProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Upload', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z\" fill={'currentColor'} /></svg>;\n};\nUpload.displayName = 'Upload';\nUpload.isGlyph = true;\nUpload.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Upload;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Upload","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yuBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU,EACjBpC,EAAOqC,UAAY,CACjB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 5b8a57b0c4c6a08fa5cd125f9e92d519\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UploadProps extends LGGlyph.ComponentProps {}\nconst Upload = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UploadProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Upload', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z\" fill={'currentColor'} /></svg>;\n};\nUpload.displayName = 'Upload';\nUpload.isGlyph = true;\nexport default Upload;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Upload","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yuBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var s,f,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,v=r["aria-label"],d=r["aria-labelledby"],g=r.fill,O=r.role,h=void 0===O?"img":O,j=o(r,b),C=t(s||(s=c(["\n color: ",";\n "])),g),w=t(f||(f=c(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"VerticalEllipsis",i(i({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",n({className:l(i({},C,null!=g),w,a),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z",fill:"currentColor"}))};p.displayName="VerticalEllipsis",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],g=l.fill,O=l.role,h=void 0===O?"img":O,j=n(l,b),C=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"VerticalEllipsis",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},C,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z",fill:"currentColor"}))};s.displayName="VerticalEllipsis",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=VerticalEllipsis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 704fb567b3391d40ceb903d2c090a148\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VerticalEllipsisProps extends LGGlyph.ComponentProps {}\nconst VerticalEllipsis = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VerticalEllipsisProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VerticalEllipsis', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z\" fill={'currentColor'} /></svg>;\n};\nVerticalEllipsis.displayName = 'VerticalEllipsis';\nVerticalEllipsis.isGlyph = true;\nVerticalEllipsis.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default VerticalEllipsis;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VerticalEllipsis","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAmB,SAA0BC,GAC/C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,mBAAoBU,EAAgBA,EAAgB,CACtGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8XACH1B,KAAM,iBAEV,EACAR,EAAiBmC,YAAc,mBAC/BnC,EAAiBoC,SAAU,EAC3BpC,EAAiBqC,UAAY,CAC3B7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 2eaad2965014f627e565a9f0486a87ab\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VerticalEllipsisProps extends LGGlyph.ComponentProps {}\nconst VerticalEllipsis = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VerticalEllipsisProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VerticalEllipsis', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z\" fill={'currentColor'} /></svg>;\n};\nVerticalEllipsis.displayName = 'VerticalEllipsis';\nVerticalEllipsis.isGlyph = true;\nexport default VerticalEllipsis;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VerticalEllipsis","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAmB,SAA0BC,GAC/C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,mBAAoBU,EAAgBA,EAAgB,CACtGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8XACH1B,KAAM,iBAEV,EACAR,EAAiBmC,YAAc,mBAC/BnC,EAAiBoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function i(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=i(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,i=function(e,r){if(null==e)return{};var t,l,i={},a=Object.keys(e);for(l=0;l<a.length;l++)t=a[l],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var i=r.className,p=r.size,y=void 0===p?16:p,m=r.title,v=r["aria-label"],d=r["aria-labelledby"],g=r.fill,C=r.role,O=void 0===C?"img":C,h=o(r,b),j=t(f||(f=c(["\n color: ",";\n "])),g),w=t(u||(u=c(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Visibility",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",n({className:l(a({},j,null!=g),w,i),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z",fill:"currentColor"}))};p.displayName="Visibility",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,b={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],C=l.fill,g=l.role,O=void 0===g?"img":g,h=n(l,f),j=r(c||(c=o(["\n color: ",";\n "])),C),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Visibility",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=C),w,s),height:"number"==typeof y?y:b[y],width:"number"==typeof y?y:b[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z",fill:"currentColor"}))};s.displayName="Visibility",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=Visibility.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 1c40e6d128d950d7db880ef476b580d1\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityProps extends LGGlyph.ComponentProps {}\nconst Visibility = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Visibility', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z\" fill={'currentColor'} /></svg>;\n};\nVisibility.displayName = 'Visibility';\nVisibility.isGlyph = true;\nVisibility.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Visibility;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Visibility","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAa,SAAoBC,GACnC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,aAAcU,EAAgBA,EAAgB,CAChGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,48BACH1B,KAAM,iBAEV,EACAR,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU,EACrBpC,EAAWqC,UAAY,CACrB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 392566d52b5cc5d15202fa48cb600fa6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityProps extends LGGlyph.ComponentProps {}\nconst Visibility = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Visibility', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z\" fill={'currentColor'} /></svg>;\n};\nVisibility.displayName = 'Visibility';\nVisibility.isGlyph = true;\nexport default Visibility;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Visibility","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAa,SAAoBC,GACnC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,aAAcU,EAAgBA,EAAgB,CAChGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,48BACH1B,KAAM,iBAEV,EACAR,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function i(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=i(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,i=function(e,r){if(null==e)return{};var t,l,i={},a=Object.keys(e);for(l=0;l<a.length;l++)t=a[l],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function f(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var i=r.className,p=r.size,y=void 0===p?16:p,C=r.title,m=r["aria-label"],v=r["aria-labelledby"],d=r.fill,g=r.role,O=void 0===g?"img":g,h=o(r,b),j=t(c||(c=f(["\n color: ",";\n "])),d),L=t(u||(u=f(["\n flex-shrink: 0;\n "]))),w=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"VisibilityOff",a(a({title:C},"aria-label",m),"aria-labelledby",v));return e.createElement("svg",n({className:l(a({},j,null!=d),L,i),height:"number"==typeof y?y:s[y],width:"number"==typeof y?y:s[y],role:O},w,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6012 1.26611C14.1924 0.894763 13.5467 0.912984 13.1681 1.31501L1.70391 13.4864C1.32524 13.8884 1.35699 14.522 1.76579 14.8934C2.17459 15.2647 2.82027 15.2465 3.19894 14.8445L4.99238 12.9404C5.88019 13.3349 6.88397 13.5871 8 13.5871C11.9337 13.5871 14.4728 10.4542 15.4548 8.99777L15.4984 8.93355C15.7132 8.61809 16 8.19691 16 7.58708C16 6.97724 15.7132 6.55606 15.4984 6.24061L15.4548 6.17639C15.0571 5.58653 14.404 4.72168 13.5062 3.90133L14.6631 2.67309C15.0418 2.27106 15.01 1.63747 14.6012 1.26611ZM11.6703 5.85054L10.9066 6.66133C11.0028 6.9529 11.0548 7.26402 11.0548 7.58708C11.0548 9.24393 9.68713 10.5871 8 10.5871C7.7543 10.5871 7.51537 10.5586 7.28646 10.5048L6.52258 11.3158C6.98061 11.491 7.47888 11.5871 8.00001 11.5871C7.62198 11.5871 7.24379 11.5419 6.86974 11.4611C7.23037 11.5422 7.60736 11.5871 8.00001 11.5871C10.2495 11.5871 12.0731 9.79622 12.0731 7.58708C12.0731 6.96482 11.9284 6.37575 11.6703 5.85054ZM8 1.58708C8.9189 1.58708 9.7617 1.75803 10.5263 2.03863L8.97905 3.68136C8.66462 3.62036 8.33812 3.58708 8.00001 3.58708C5.75051 3.58708 3.92692 5.37794 3.92692 7.58708C3.92692 8.02163 3.99748 8.43999 4.12796 8.83172L2.14338 10.9387C1.42423 10.2238 0.889162 9.50794 0.545171 8.99777L0.501581 8.93355C0.286781 8.61809 0 8.19691 0 7.58708C0 6.97725 0.286783 6.55607 0.501581 6.24061L0.545171 6.17639C1.52716 4.72 4.06625 1.58708 8 1.58708ZM8.00001 3.58708C8.32689 3.58708 8.6539 3.62086 8.97824 3.68222L8.96213 3.69932C8.65365 3.62596 8.33146 3.58708 8.00001 3.58708ZM8 4.58708C8.04143 4.58708 8.08266 4.58789 8.12369 4.58949L4.9663 7.94166C4.95236 7.82537 4.94519 7.70705 4.94519 7.58708C4.94519 5.93022 6.31287 4.58708 8 4.58708Z",fill:"currentColor"}))};p.displayName="VisibilityOff",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,c,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,C=l.size,p=void 0===C?16:C,y=l.title,m=l["aria-label"],v=l["aria-labelledby"],d=l.fill,g=l.role,O=void 0===g?"img":g,h=n(l,b),j=r(f||(f=o(["\n color: ",";\n "])),d),L=r(c||(c=o(["\n flex-shrink: 0;\n "]))),w=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"VisibilityOff",a(a({title:y},"aria-label",m),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},j,null!=d),L,s),height:"number"==typeof p?p:u[p],width:"number"==typeof p?p:u[p],role:O},w,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6012 1.26611C14.1924 0.894763 13.5467 0.912984 13.1681 1.31501L1.70391 13.4864C1.32524 13.8884 1.35699 14.522 1.76579 14.8934C2.17459 15.2647 2.82027 15.2465 3.19894 14.8445L4.99238 12.9404C5.88019 13.3349 6.88397 13.5871 8 13.5871C11.9337 13.5871 14.4728 10.4542 15.4548 8.99777L15.4984 8.93355C15.7132 8.61809 16 8.19691 16 7.58708C16 6.97724 15.7132 6.55606 15.4984 6.24061L15.4548 6.17639C15.0571 5.58653 14.404 4.72168 13.5062 3.90133L14.6631 2.67309C15.0418 2.27106 15.01 1.63747 14.6012 1.26611ZM11.6703 5.85054L10.9066 6.66133C11.0028 6.9529 11.0548 7.26402 11.0548 7.58708C11.0548 9.24393 9.68713 10.5871 8 10.5871C7.7543 10.5871 7.51537 10.5586 7.28646 10.5048L6.52258 11.3158C6.98061 11.491 7.47888 11.5871 8.00001 11.5871C7.62198 11.5871 7.24379 11.5419 6.86974 11.4611C7.23037 11.5422 7.60736 11.5871 8.00001 11.5871C10.2495 11.5871 12.0731 9.79622 12.0731 7.58708C12.0731 6.96482 11.9284 6.37575 11.6703 5.85054ZM8 1.58708C8.9189 1.58708 9.7617 1.75803 10.5263 2.03863L8.97905 3.68136C8.66462 3.62036 8.33812 3.58708 8.00001 3.58708C5.75051 3.58708 3.92692 5.37794 3.92692 7.58708C3.92692 8.02163 3.99748 8.43999 4.12796 8.83172L2.14338 10.9387C1.42423 10.2238 0.889162 9.50794 0.545171 8.99777L0.501581 8.93355C0.286781 8.61809 0 8.19691 0 7.58708C0 6.97725 0.286783 6.55607 0.501581 6.24061L0.545171 6.17639C1.52716 4.72 4.06625 1.58708 8 1.58708ZM8.00001 3.58708C8.32689 3.58708 8.6539 3.62086 8.97824 3.68222L8.96213 3.69932C8.65365 3.62596 8.33146 3.58708 8.00001 3.58708ZM8 4.58708C8.04143 4.58708 8.08266 4.58789 8.12369 4.58949L4.9663 7.94166C4.95236 7.82537 4.94519 7.70705 4.94519 7.58708C4.94519 5.93022 6.31287 4.58708 8 4.58708Z",fill:"currentColor"}))};s.displayName="VisibilityOff",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=VisibilityOff.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VisibilityOff.js","sources":["../../src/glyphCommon.ts","../../src/generated/VisibilityOff.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 25698d1245cc5d5ce1dfd98a61b6915c\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityOffProps extends LGGlyph.ComponentProps {}\nconst VisibilityOff = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityOffProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VisibilityOff', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14.6012 1.26611C14.1924 0.894763 13.5467 0.912984 13.1681 1.31501L1.70391 13.4864C1.32524 13.8884 1.35699 14.522 1.76579 14.8934C2.17459 15.2647 2.82027 15.2465 3.19894 14.8445L4.99238 12.9404C5.88019 13.3349 6.88397 13.5871 8 13.5871C11.9337 13.5871 14.4728 10.4542 15.4548 8.99777L15.4984 8.93355C15.7132 8.61809 16 8.19691 16 7.58708C16 6.97724 15.7132 6.55606 15.4984 6.24061L15.4548 6.17639C15.0571 5.58653 14.404 4.72168 13.5062 3.90133L14.6631 2.67309C15.0418 2.27106 15.01 1.63747 14.6012 1.26611ZM11.6703 5.85054L10.9066 6.66133C11.0028 6.9529 11.0548 7.26402 11.0548 7.58708C11.0548 9.24393 9.68713 10.5871 8 10.5871C7.7543 10.5871 7.51537 10.5586 7.28646 10.5048L6.52258 11.3158C6.98061 11.491 7.47888 11.5871 8.00001 11.5871C7.62198 11.5871 7.24379 11.5419 6.86974 11.4611C7.23037 11.5422 7.60736 11.5871 8.00001 11.5871C10.2495 11.5871 12.0731 9.79622 12.0731 7.58708C12.0731 6.96482 11.9284 6.37575 11.6703 5.85054ZM8 1.58708C8.9189 1.58708 9.7617 1.75803 10.5263 2.03863L8.97905 3.68136C8.66462 3.62036 8.33812 3.58708 8.00001 3.58708C5.75051 3.58708 3.92692 5.37794 3.92692 7.58708C3.92692 8.02163 3.99748 8.43999 4.12796 8.83172L2.14338 10.9387C1.42423 10.2238 0.889162 9.50794 0.545171 8.99777L0.501581 8.93355C0.286781 8.61809 0 8.19691 0 7.58708C0 6.97725 0.286783 6.55607 0.501581 6.24061L0.545171 6.17639C1.52716 4.72 4.06625 1.58708 8 1.58708ZM8.00001 3.58708C8.32689 3.58708 8.6539 3.62086 8.97824 3.68222L8.96213 3.69932C8.65365 3.62596 8.33146 3.58708 8.00001 3.58708ZM8 4.58708C8.04143 4.58708 8.08266 4.58789 8.12369 4.58949L4.9663 7.94166C4.95236 7.82537 4.94519 7.70705 4.94519 7.58708C4.94519 5.93022 6.31287 4.58708 8 4.58708Z\" fill={'currentColor'} /></svg>;\n};\nVisibilityOff.displayName = 'VisibilityOff';\nVisibilityOff.isGlyph = true;\nVisibilityOff.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default VisibilityOff;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VisibilityOff","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAgB,SAAuBC,GACzC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,gBAAiBU,EAAgBA,EAAgB,CACnGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8nDACH1B,KAAM,iBAEV,EACAR,EAAcmC,YAAc,gBAC5BnC,EAAcoC,SAAU,EACxBpC,EAAcqC,UAAY,CACxB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"VisibilityOff.js","sources":["../../src/glyphCommon.ts","../../src/generated/VisibilityOff.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum abf59aba81d43135bb276a24a44a9e44\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityOffProps extends LGGlyph.ComponentProps {}\nconst VisibilityOff = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityOffProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VisibilityOff', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14.6012 1.26611C14.1924 0.894763 13.5467 0.912984 13.1681 1.31501L1.70391 13.4864C1.32524 13.8884 1.35699 14.522 1.76579 14.8934C2.17459 15.2647 2.82027 15.2465 3.19894 14.8445L4.99238 12.9404C5.88019 13.3349 6.88397 13.5871 8 13.5871C11.9337 13.5871 14.4728 10.4542 15.4548 8.99777L15.4984 8.93355C15.7132 8.61809 16 8.19691 16 7.58708C16 6.97724 15.7132 6.55606 15.4984 6.24061L15.4548 6.17639C15.0571 5.58653 14.404 4.72168 13.5062 3.90133L14.6631 2.67309C15.0418 2.27106 15.01 1.63747 14.6012 1.26611ZM11.6703 5.85054L10.9066 6.66133C11.0028 6.9529 11.0548 7.26402 11.0548 7.58708C11.0548 9.24393 9.68713 10.5871 8 10.5871C7.7543 10.5871 7.51537 10.5586 7.28646 10.5048L6.52258 11.3158C6.98061 11.491 7.47888 11.5871 8.00001 11.5871C7.62198 11.5871 7.24379 11.5419 6.86974 11.4611C7.23037 11.5422 7.60736 11.5871 8.00001 11.5871C10.2495 11.5871 12.0731 9.79622 12.0731 7.58708C12.0731 6.96482 11.9284 6.37575 11.6703 5.85054ZM8 1.58708C8.9189 1.58708 9.7617 1.75803 10.5263 2.03863L8.97905 3.68136C8.66462 3.62036 8.33812 3.58708 8.00001 3.58708C5.75051 3.58708 3.92692 5.37794 3.92692 7.58708C3.92692 8.02163 3.99748 8.43999 4.12796 8.83172L2.14338 10.9387C1.42423 10.2238 0.889162 9.50794 0.545171 8.99777L0.501581 8.93355C0.286781 8.61809 0 8.19691 0 7.58708C0 6.97725 0.286783 6.55607 0.501581 6.24061L0.545171 6.17639C1.52716 4.72 4.06625 1.58708 8 1.58708ZM8.00001 3.58708C8.32689 3.58708 8.6539 3.62086 8.97824 3.68222L8.96213 3.69932C8.65365 3.62596 8.33146 3.58708 8.00001 3.58708ZM8 4.58708C8.04143 4.58708 8.08266 4.58789 8.12369 4.58949L4.9663 7.94166C4.95236 7.82537 4.94519 7.70705 4.94519 7.58708C4.94519 5.93022 6.31287 4.58708 8 4.58708Z\" fill={'currentColor'} /></svg>;\n};\nVisibilityOff.displayName = 'VisibilityOff';\nVisibilityOff.isGlyph = true;\nexport default VisibilityOff;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VisibilityOff","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAgB,SAAuBC,GACzC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,gBAAiBU,EAAgBA,EAAgB,CACnGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8nDACH1B,KAAM,iBAEV,EACAR,EAAcmC,YAAc,gBAC5BnC,EAAcoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,v=r["aria-label"],d=r["aria-labelledby"],g=r.fill,O=r.role,h=void 0===O?"img":O,j=o(r,b),C=t(f||(f=c(["\n color: ",";\n "])),g),w=t(u||(u=c(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Warning",i(i({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",n({className:l(i({},C,null!=g),w,a),height:"number"==typeof m?m:s[m],width:"number"==typeof m?m:s[m],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z",fill:"currentColor"}))};p.displayName="Warning",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function l(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,m=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,O=a.role,h=void 0===O?"img":O,j=n(a,b),C=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Warning",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},C,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z",fill:"currentColor"}))};s.displayName="Warning",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=Warning.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Warning.js","sources":["../../src/glyphCommon.ts","../../src/generated/Warning.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum c131491fbc46651d477c3e42b683ca80\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WarningProps extends LGGlyph.ComponentProps {}\nconst Warning = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WarningProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Warning', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z\" fill={'currentColor'} /></svg>;\n};\nWarning.displayName = 'Warning';\nWarning.isGlyph = true;\nWarning.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Warning;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Warning","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAU,SAAiBC,GAC7B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,UAAWU,EAAgBA,EAAgB,CAC7Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,uZACH1B,KAAM,iBAEV,EACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU,EAClBpC,EAAQqC,UAAY,CAClB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"Warning.js","sources":["../../src/glyphCommon.ts","../../src/generated/Warning.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum a84c4d17bffcea7698b98217d07c914c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WarningProps extends LGGlyph.ComponentProps {}\nconst Warning = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WarningProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Warning', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z\" fill={'currentColor'} /></svg>;\n};\nWarning.displayName = 'Warning';\nWarning.isGlyph = true;\nexport default Warning;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Warning","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAU,SAAiBC,GAC7B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,UAAWU,EAAgBA,EAAgB,CAC7Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,uZACH1B,KAAM,iBAEV,EACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,d=r["aria-label"],v=r["aria-labelledby"],g=r.fill,O=r.role,C=void 0===O?"img":O,h=o(r,b),j=t(f||(f=c(["\n color: ",";\n "])),g),L=t(u||(u=c(["\n flex-shrink: 0;\n "]))),w=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Wizard",i(i({title:y},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",n({className:l(i({},j,null!=g),L,a),height:"number"==typeof m?m:s[m],width:"number"==typeof m?m:s[m],role:C},w,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3273 3.27672C13.5149 2.89768 13.0912 2.47755 12.709 2.66362L10.1963 3.88661C10.0254 3.96982 9.81429 3.93162 9.67346 3.79198L7.60363 1.73961C7.28873 1.42736 6.7744 1.67771 6.85304 2.10495L7.36999 4.91317C7.40516 5.10424 7.31323 5.28994 7.14227 5.37315L4.62965 6.59614C4.24739 6.78221 4.35321 7.35705 4.78408 7.43504L7.61618 7.94762C7.80888 7.9825 7.96315 8.13547 7.99832 8.32654L8.51527 11.1348C8.59391 11.562 9.17365 11.6669 9.3613 11.2879L10.5947 8.79645C10.6786 8.62694 10.8659 8.53579 11.0586 8.57066L13.8907 9.08324C14.3216 9.16123 14.574 8.65123 14.2591 8.33898L12.1893 6.28661C12.0485 6.14697 12.01 5.93766 12.0939 5.76815L13.3273 3.27672ZM7 10.5C7.35311 10.1498 7.31222 9.54163 6.90867 9.14149C6.50512 8.74134 5.89174 8.7008 5.53863 9.05092L1.84025 12.7127C1.48714 13.0628 1.52803 13.6711 1.93158 14.0712C2.33513 14.4713 2.94851 14.5119 3.30162 14.1618L7 10.5Z",fill:"currentColor"}))};p.displayName="Wizard",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function l(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,d=a.title,m=a["aria-label"],v=a["aria-labelledby"],g=a.fill,O=a.role,C=void 0===O?"img":O,h=n(a,b),j=r(c||(c=o(["\n color: ",";\n "])),g),L=r(u||(u=o(["\n flex-shrink: 0;\n "]))),w=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Wizard",l(l({title:d},"aria-label",m),"aria-labelledby",v));return e.createElement("svg",i({className:t(l({},j,null!=g),L,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:C},w,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3273 3.27672C13.5149 2.89768 13.0912 2.47755 12.709 2.66362L10.1963 3.88661C10.0254 3.96982 9.81429 3.93162 9.67346 3.79198L7.60363 1.73961C7.28873 1.42736 6.7744 1.67771 6.85304 2.10495L7.36999 4.91317C7.40516 5.10424 7.31323 5.28994 7.14227 5.37315L4.62965 6.59614C4.24739 6.78221 4.35321 7.35705 4.78408 7.43504L7.61618 7.94762C7.80888 7.9825 7.96315 8.13547 7.99832 8.32654L8.51527 11.1348C8.59391 11.562 9.17365 11.6669 9.3613 11.2879L10.5947 8.79645C10.6786 8.62694 10.8659 8.53579 11.0586 8.57066L13.8907 9.08324C14.3216 9.16123 14.574 8.65123 14.2591 8.33898L12.1893 6.28661C12.0485 6.14697 12.01 5.93766 12.0939 5.76815L13.3273 3.27672ZM7 10.5C7.35311 10.1498 7.31222 9.54163 6.90867 9.14149C6.50512 8.74134 5.89174 8.7008 5.53863 9.05092L1.84025 12.7127C1.48714 13.0628 1.52803 13.6711 1.93158 14.0712C2.33513 14.4713 2.94851 14.5119 3.30162 14.1618L7 10.5Z",fill:"currentColor"}))};s.displayName="Wizard",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=Wizard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Wizard.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wizard.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 367f6e9ff30a3079d793e4a51038bd33\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WizardProps extends LGGlyph.ComponentProps {}\nconst Wizard = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WizardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wizard', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M13.3273 3.27672C13.5149 2.89768 13.0912 2.47755 12.709 2.66362L10.1963 3.88661C10.0254 3.96982 9.81429 3.93162 9.67346 3.79198L7.60363 1.73961C7.28873 1.42736 6.7744 1.67771 6.85304 2.10495L7.36999 4.91317C7.40516 5.10424 7.31323 5.28994 7.14227 5.37315L4.62965 6.59614C4.24739 6.78221 4.35321 7.35705 4.78408 7.43504L7.61618 7.94762C7.80888 7.9825 7.96315 8.13547 7.99832 8.32654L8.51527 11.1348C8.59391 11.562 9.17365 11.6669 9.3613 11.2879L10.5947 8.79645C10.6786 8.62694 10.8659 8.53579 11.0586 8.57066L13.8907 9.08324C14.3216 9.16123 14.574 8.65123 14.2591 8.33898L12.1893 6.28661C12.0485 6.14697 12.01 5.93766 12.0939 5.76815L13.3273 3.27672ZM7 10.5C7.35311 10.1498 7.31222 9.54163 6.90867 9.14149C6.50512 8.74134 5.89174 8.7008 5.53863 9.05092L1.84025 12.7127C1.48714 13.0628 1.52803 13.6711 1.93158 14.0712C2.33513 14.4713 2.94851 14.5119 3.30162 14.1618L7 10.5Z\" fill={'currentColor'} /></svg>;\n};\nWizard.displayName = 'Wizard';\nWizard.isGlyph = true;\nWizard.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Wizard;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wizard","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,02BACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU,EACjBpC,EAAOqC,UAAY,CACjB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"Wizard.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wizard.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum cce1e1627744fa9b151e13967b5571d3\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WizardProps extends LGGlyph.ComponentProps {}\nconst Wizard = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WizardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wizard', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M13.3273 3.27672C13.5149 2.89768 13.0912 2.47755 12.709 2.66362L10.1963 3.88661C10.0254 3.96982 9.81429 3.93162 9.67346 3.79198L7.60363 1.73961C7.28873 1.42736 6.7744 1.67771 6.85304 2.10495L7.36999 4.91317C7.40516 5.10424 7.31323 5.28994 7.14227 5.37315L4.62965 6.59614C4.24739 6.78221 4.35321 7.35705 4.78408 7.43504L7.61618 7.94762C7.80888 7.9825 7.96315 8.13547 7.99832 8.32654L8.51527 11.1348C8.59391 11.562 9.17365 11.6669 9.3613 11.2879L10.5947 8.79645C10.6786 8.62694 10.8659 8.53579 11.0586 8.57066L13.8907 9.08324C14.3216 9.16123 14.574 8.65123 14.2591 8.33898L12.1893 6.28661C12.0485 6.14697 12.01 5.93766 12.0939 5.76815L13.3273 3.27672ZM7 10.5C7.35311 10.1498 7.31222 9.54163 6.90867 9.14149C6.50512 8.74134 5.89174 8.7008 5.53863 9.05092L1.84025 12.7127C1.48714 13.0628 1.52803 13.6711 1.93158 14.0712C2.33513 14.4713 2.94851 14.5119 3.30162 14.1618L7 10.5Z\" fill={'currentColor'} /></svg>;\n};\nWizard.displayName = 'Wizard';\nWizard.isGlyph = true;\nexport default Wizard;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wizard","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,02BACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,m=void 0===p?16:p,y=r.title,v=r["aria-label"],d=r["aria-labelledby"],C=r.fill,g=r.role,O=void 0===g?"img":g,h=o(r,b),j=t(f||(f=c(["\n color: ",";\n "])),C),w=t(u||(u=c(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Wrench",i(i({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",n({className:l(i({},j,null!=C),w,a),height:"number"==typeof m?m:s[m],width:"number"==typeof m?m:s[m],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.625 9.75C13.0422 9.75 15 7.79219 15 5.375C15 4.95664 14.9398 4.55195 14.8305 4.16641C14.7457 3.87109 14.382 3.80547 14.166 4.02148L12.066 6.12148C12.0144 6.17315 11.9508 6.21071 11.8821 6.23144C11.8043 6.25491 11.7248 6.21773 11.6673 6.1603L9.8397 4.33267C9.78227 4.27523 9.74509 4.19569 9.76856 4.11794C9.78929 4.04924 9.82685 3.98565 9.87852 3.93398L11.9785 1.83398C12.1945 1.61797 12.1262 1.2543 11.8336 1.16953C11.448 1.06016 11.0434 1 10.625 1C8.20781 1 6.25 2.95781 6.25 5.375C6.25 5.82904 6.32027 6.26861 6.44822 6.68115C6.48333 6.79434 6.4563 6.9187 6.3725 7.0025L1.54414 11.8309C1.19687 12.1781 1 12.6512 1 13.1434C1 14.1688 1.83125 15 2.85664 15C3.34883 15 3.82188 14.8031 4.16914 14.4559L8.99671 9.62829C9.08092 9.54408 9.20602 9.51727 9.31967 9.55285C9.73197 9.68189 10.1713 9.75 10.625 9.75ZM2.75 14.125C3.23325 14.125 3.625 13.7332 3.625 13.25C3.625 12.7668 3.23325 12.375 2.75 12.375C2.26675 12.375 1.875 12.7668 1.875 13.25C1.875 13.7332 2.26675 14.125 2.75 14.125Z",fill:"currentColor"}))};p.displayName="Wrench",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],C=l.fill,g=l.role,h=void 0===g?"img":g,O=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),C),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Wrench",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=C),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.625 9.75C13.0422 9.75 15 7.79219 15 5.375C15 4.95664 14.9398 4.55195 14.8305 4.16641C14.7457 3.87109 14.382 3.80547 14.166 4.02148L12.066 6.12148C12.0144 6.17315 11.9508 6.21071 11.8821 6.23144C11.8043 6.25491 11.7248 6.21773 11.6673 6.1603L9.8397 4.33267C9.78227 4.27523 9.74509 4.19569 9.76856 4.11794C9.78929 4.04924 9.82685 3.98565 9.87852 3.93398L11.9785 1.83398C12.1945 1.61797 12.1262 1.2543 11.8336 1.16953C11.448 1.06016 11.0434 1 10.625 1C8.20781 1 6.25 2.95781 6.25 5.375C6.25 5.82904 6.32027 6.26861 6.44822 6.68115C6.48333 6.79434 6.4563 6.9187 6.3725 7.0025L1.54414 11.8309C1.19687 12.1781 1 12.6512 1 13.1434C1 14.1688 1.83125 15 2.85664 15C3.34883 15 3.82188 14.8031 4.16914 14.4559L8.99671 9.62829C9.08092 9.54408 9.20602 9.51727 9.31967 9.55285C9.73197 9.68189 10.1713 9.75 10.625 9.75ZM2.75 14.125C3.23325 14.125 3.625 13.7332 3.625 13.25C3.625 12.7668 3.23325 12.375 2.75 12.375C2.26675 12.375 1.875 12.7668 1.875 13.25C1.875 13.7332 2.26675 14.125 2.75 14.125Z",fill:"currentColor"}))};s.displayName="Wrench",s.isGlyph=!0;export{s as default};
2
2
  //# sourceMappingURL=Wrench.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Wrench.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wrench.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum c8927d11a514aa7bdaa467027919e16a\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WrenchProps extends LGGlyph.ComponentProps {}\nconst Wrench = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WrenchProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wrench', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.625 9.75C13.0422 9.75 15 7.79219 15 5.375C15 4.95664 14.9398 4.55195 14.8305 4.16641C14.7457 3.87109 14.382 3.80547 14.166 4.02148L12.066 6.12148C12.0144 6.17315 11.9508 6.21071 11.8821 6.23144C11.8043 6.25491 11.7248 6.21773 11.6673 6.1603L9.8397 4.33267C9.78227 4.27523 9.74509 4.19569 9.76856 4.11794C9.78929 4.04924 9.82685 3.98565 9.87852 3.93398L11.9785 1.83398C12.1945 1.61797 12.1262 1.2543 11.8336 1.16953C11.448 1.06016 11.0434 1 10.625 1C8.20781 1 6.25 2.95781 6.25 5.375C6.25 5.82904 6.32027 6.26861 6.44822 6.68115C6.48333 6.79434 6.4563 6.9187 6.3725 7.0025L1.54414 11.8309C1.19687 12.1781 1 12.6512 1 13.1434C1 14.1688 1.83125 15 2.85664 15C3.34883 15 3.82188 14.8031 4.16914 14.4559L8.99671 9.62829C9.08092 9.54408 9.20602 9.51727 9.31967 9.55285C9.73197 9.68189 10.1713 9.75 10.625 9.75ZM2.75 14.125C3.23325 14.125 3.625 13.7332 3.625 13.25C3.625 12.7668 3.23325 12.375 2.75 12.375C2.26675 12.375 1.875 12.7668 1.875 13.25C1.875 13.7332 2.26675 14.125 2.75 14.125Z\" fill={'currentColor'} /></svg>;\n};\nWrench.displayName = 'Wrench';\nWrench.isGlyph = true;\nWrench.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Wrench;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wrench","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,49BACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU,EACjBpC,EAAOqC,UAAY,CACjB7B,KAAM8B,EAAUC,OAChBnC,KAAMkC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDrC,UAAWoC,EAAUC"}
1
+ {"version":3,"file":"Wrench.js","sources":["../../src/glyphCommon.ts","../../src/generated/Wrench.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 4a964725b48271deb318c3a6fb7ef810\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WrenchProps extends LGGlyph.ComponentProps {}\nconst Wrench = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WrenchProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Wrench', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.625 9.75C13.0422 9.75 15 7.79219 15 5.375C15 4.95664 14.9398 4.55195 14.8305 4.16641C14.7457 3.87109 14.382 3.80547 14.166 4.02148L12.066 6.12148C12.0144 6.17315 11.9508 6.21071 11.8821 6.23144C11.8043 6.25491 11.7248 6.21773 11.6673 6.1603L9.8397 4.33267C9.78227 4.27523 9.74509 4.19569 9.76856 4.11794C9.78929 4.04924 9.82685 3.98565 9.87852 3.93398L11.9785 1.83398C12.1945 1.61797 12.1262 1.2543 11.8336 1.16953C11.448 1.06016 11.0434 1 10.625 1C8.20781 1 6.25 2.95781 6.25 5.375C6.25 5.82904 6.32027 6.26861 6.44822 6.68115C6.48333 6.79434 6.4563 6.9187 6.3725 7.0025L1.54414 11.8309C1.19687 12.1781 1 12.6512 1 13.1434C1 14.1688 1.83125 15 2.85664 15C3.34883 15 3.82188 14.8031 4.16914 14.4559L8.99671 9.62829C9.08092 9.54408 9.20602 9.51727 9.31967 9.55285C9.73197 9.68189 10.1713 9.75 10.625 9.75ZM2.75 14.125C3.23325 14.125 3.625 13.7332 3.625 13.25C3.625 12.7668 3.23325 12.375 2.75 12.375C2.26675 12.375 1.875 12.7668 1.875 13.25C1.875 13.7332 2.26675 14.125 2.75 14.125Z\" fill={'currentColor'} /></svg>;\n};\nWrench.displayName = 'Wrench';\nWrench.isGlyph = true;\nexport default Wrench;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Wrench","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,49BACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
package/dist/esm/Write.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function i(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function o(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function c(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var f,u,s={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],p=function(r){var a=r.className,p=r.size,C=void 0===p?16:p,m=r.title,y=r["aria-label"],v=r["aria-labelledby"],d=r.fill,g=r.role,h=void 0===g?"img":g,O=o(r,b),j=t(f||(f=c(["\n color: ",";\n "])),d),w=t(u||(u=c(["\n flex-shrink: 0;\n "]))),E=function(e,r,t){var l,a=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||n||o?i(i(i({},"aria-labelledby",n),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Write",i(i({title:m},"aria-label",y),"aria-labelledby",v));return e.createElement("svg",n({className:l(i({},j,null!=d),w,a),height:"number"==typeof C?C:s[C],width:"number"==typeof C?C:s[C],role:h},E,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M8.71094 3.74943C7.98779 3.5624 7.17765 3.47059 6.375 3.47059C3.97108 3.47059 1.5 4.29411 1.5 6.03268C1.5 6.10964 1.50071 6.18476 1.50212 6.25809C1.50071 6.28953 1.5 6.32115 1.5 6.35294V6.55882C1.5 6.82855 1.62059 7.08757 1.88365 7.34157C2.15143 7.60013 2.54848 7.83326 3.04084 8.02823C4.02449 8.41774 5.29298 8.61764 6.375 8.61764C6.64212 8.61764 6.9206 8.60546 7.20335 8.58125C6.75934 8.06173 6.67036 7.35853 6.91542 6.76298C7.19331 6.08765 7.8543 5.63811 8.62053 5.63811H8.71094V3.74943Z",fill:"currentColor"}),e.createElement("path",{d:"M8.06766 9.30516C7.49049 9.39617 6.91039 9.44117 6.375 9.44117C5.21336 9.44117 3.84123 9.22931 2.74517 8.7953C2.2802 8.61117 1.84763 8.38033 1.5 8.09498V9.85294C1.5 10.1227 1.62059 10.3817 1.88365 10.6357C2.15143 10.8943 2.54848 11.1274 3.04084 11.3223C4.02449 11.7119 5.29298 11.9118 6.375 11.9118C7.45702 11.9118 8.72551 11.7119 9.70916 11.3223C9.92835 11.2356 10.1286 11.1412 10.3071 11.0404C10.2351 10.9984 10.1654 10.9511 10.0985 10.8987L8.06766 9.30516Z",fill:"currentColor"}),e.createElement("path",{d:"M11.25 11.3891C10.9024 11.6745 10.4698 11.9053 10.0048 12.0894C8.90877 12.5234 7.53664 12.7353 6.375 12.7353C5.21336 12.7353 3.84123 12.5234 2.74517 12.0894C2.2802 11.9053 1.84763 11.6745 1.5 11.3891V12.1177C1.5 12.1458 1.50056 12.1738 1.50166 12.2017C1.50056 12.2794 1.5 12.3581 1.5 12.4379C1.5 14.1765 3.97108 15 6.375 15C8.77892 15 11.25 14.1765 11.25 12.4379C11.25 12.3616 11.2493 12.2862 11.2479 12.2117C11.2493 12.1805 11.25 12.1492 11.25 12.1177V11.3891Z",fill:"currentColor"}),e.createElement("path",{d:"M12.4886 2.29681V6.87341H13.8795C14.4529 6.87341 14.7183 7.51856 14.2849 7.85866L11.6554 9.92188C11.4227 10.1045 11.0773 10.1045 10.8446 9.92188L8.21511 7.85866C7.78167 7.51856 8.04714 6.87341 8.62053 6.87341H9.92969V2.29681C9.92969 1.5806 10.5025 1 11.2091 1C11.9157 1 12.4886 1.5806 12.4886 2.29681Z",fill:"currentColor"}))};p.displayName="Write",p.isGlyph=!0,p.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{p as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],C=function(l){var C=l.className,s=l.size,p=void 0===s?16:s,m=l.title,y=l["aria-label"],v=l["aria-labelledby"],d=l.fill,g=l.role,h=void 0===g?"img":g,O=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),d),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),E=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Write",a(a({title:m},"aria-label",y),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},j,null!=d),w,C),height:"number"==typeof p?p:f[p],width:"number"==typeof p?p:f[p],role:h},E,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M8.71094 3.74943C7.98779 3.5624 7.17765 3.47059 6.375 3.47059C3.97108 3.47059 1.5 4.29411 1.5 6.03268C1.5 6.10964 1.50071 6.18476 1.50212 6.25809C1.50071 6.28953 1.5 6.32115 1.5 6.35294V6.55882C1.5 6.82855 1.62059 7.08757 1.88365 7.34157C2.15143 7.60013 2.54848 7.83326 3.04084 8.02823C4.02449 8.41774 5.29298 8.61764 6.375 8.61764C6.64212 8.61764 6.9206 8.60546 7.20335 8.58125C6.75934 8.06173 6.67036 7.35853 6.91542 6.76298C7.19331 6.08765 7.8543 5.63811 8.62053 5.63811H8.71094V3.74943Z",fill:"currentColor"}),e.createElement("path",{d:"M8.06766 9.30516C7.49049 9.39617 6.91039 9.44117 6.375 9.44117C5.21336 9.44117 3.84123 9.22931 2.74517 8.7953C2.2802 8.61117 1.84763 8.38033 1.5 8.09498V9.85294C1.5 10.1227 1.62059 10.3817 1.88365 10.6357C2.15143 10.8943 2.54848 11.1274 3.04084 11.3223C4.02449 11.7119 5.29298 11.9118 6.375 11.9118C7.45702 11.9118 8.72551 11.7119 9.70916 11.3223C9.92835 11.2356 10.1286 11.1412 10.3071 11.0404C10.2351 10.9984 10.1654 10.9511 10.0985 10.8987L8.06766 9.30516Z",fill:"currentColor"}),e.createElement("path",{d:"M11.25 11.3891C10.9024 11.6745 10.4698 11.9053 10.0048 12.0894C8.90877 12.5234 7.53664 12.7353 6.375 12.7353C5.21336 12.7353 3.84123 12.5234 2.74517 12.0894C2.2802 11.9053 1.84763 11.6745 1.5 11.3891V12.1177C1.5 12.1458 1.50056 12.1738 1.50166 12.2017C1.50056 12.2794 1.5 12.3581 1.5 12.4379C1.5 14.1765 3.97108 15 6.375 15C8.77892 15 11.25 14.1765 11.25 12.4379C11.25 12.3616 11.2493 12.2862 11.2479 12.2117C11.2493 12.1805 11.25 12.1492 11.25 12.1177V11.3891Z",fill:"currentColor"}),e.createElement("path",{d:"M12.4886 2.29681V6.87341H13.8795C14.4529 6.87341 14.7183 7.51856 14.2849 7.85866L11.6554 9.92188C11.4227 10.1045 11.0773 10.1045 10.8446 9.92188L8.21511 7.85866C7.78167 7.51856 8.04714 6.87341 8.62053 6.87341H9.92969V2.29681C9.92969 1.5806 10.5025 1 11.2091 1C11.9157 1 12.4886 1.5806 12.4886 2.29681Z",fill:"currentColor"}))};C.displayName="Write",C.isGlyph=!0;export{C as default};
2
2
  //# sourceMappingURL=Write.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Write.js","sources":["../../src/glyphCommon.ts","../../src/generated/Write.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum e73f420069e75bbfc53501409c6259ef\n*/\nimport * as React from \"react\";\nimport PropTypes from 'prop-types';\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WriteProps extends LGGlyph.ComponentProps {}\nconst Write = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WriteProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Write', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.71094 3.74943C7.98779 3.5624 7.17765 3.47059 6.375 3.47059C3.97108 3.47059 1.5 4.29411 1.5 6.03268C1.5 6.10964 1.50071 6.18476 1.50212 6.25809C1.50071 6.28953 1.5 6.32115 1.5 6.35294V6.55882C1.5 6.82855 1.62059 7.08757 1.88365 7.34157C2.15143 7.60013 2.54848 7.83326 3.04084 8.02823C4.02449 8.41774 5.29298 8.61764 6.375 8.61764C6.64212 8.61764 6.9206 8.60546 7.20335 8.58125C6.75934 8.06173 6.67036 7.35853 6.91542 6.76298C7.19331 6.08765 7.8543 5.63811 8.62053 5.63811H8.71094V3.74943Z\" fill={'currentColor'} /><path d=\"M8.06766 9.30516C7.49049 9.39617 6.91039 9.44117 6.375 9.44117C5.21336 9.44117 3.84123 9.22931 2.74517 8.7953C2.2802 8.61117 1.84763 8.38033 1.5 8.09498V9.85294C1.5 10.1227 1.62059 10.3817 1.88365 10.6357C2.15143 10.8943 2.54848 11.1274 3.04084 11.3223C4.02449 11.7119 5.29298 11.9118 6.375 11.9118C7.45702 11.9118 8.72551 11.7119 9.70916 11.3223C9.92835 11.2356 10.1286 11.1412 10.3071 11.0404C10.2351 10.9984 10.1654 10.9511 10.0985 10.8987L8.06766 9.30516Z\" fill={'currentColor'} /><path d=\"M11.25 11.3891C10.9024 11.6745 10.4698 11.9053 10.0048 12.0894C8.90877 12.5234 7.53664 12.7353 6.375 12.7353C5.21336 12.7353 3.84123 12.5234 2.74517 12.0894C2.2802 11.9053 1.84763 11.6745 1.5 11.3891V12.1177C1.5 12.1458 1.50056 12.1738 1.50166 12.2017C1.50056 12.2794 1.5 12.3581 1.5 12.4379C1.5 14.1765 3.97108 15 6.375 15C8.77892 15 11.25 14.1765 11.25 12.4379C11.25 12.3616 11.2493 12.2862 11.2479 12.2117C11.2493 12.1805 11.25 12.1492 11.25 12.1177V11.3891Z\" fill={'currentColor'} /><path d=\"M12.4886 2.29681V6.87341H13.8795C14.4529 6.87341 14.7183 7.51856 14.2849 7.85866L11.6554 9.92188C11.4227 10.1045 11.0773 10.1045 10.8446 9.92188L8.21511 7.85866C7.78167 7.51856 8.04714 6.87341 8.62053 6.87341H9.92969V2.29681C9.92969 1.5806 10.5025 1 11.2091 1C11.9157 1 12.4886 1.5806 12.4886 2.29681Z\" fill={'currentColor'} /></svg>;\n};\nWrite.displayName = 'Write';\nWrite.isGlyph = true;\nWrite.propTypes = {\n fill: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string\n};\nexport default Write;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Write","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph","propTypes","PropTypes","string","oneOfType","number"],"mappings":"itCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAWpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDhBC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCFwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6eACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gdACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gTACHxB,KAAM,iBAEV,EACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU,EAChBlC,EAAMmC,UAAY,CAChB3B,KAAM4B,EAAUC,OAChBjC,KAAMgC,EAAUE,UAAU,CAACF,EAAUG,OAAQH,EAAUC,SACvDnC,UAAWkC,EAAUC"}
1
+ {"version":3,"file":"Write.js","sources":["../../src/glyphCommon.ts","../../src/generated/Write.tsx"],"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","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script ./node_modules/.bin/ts-node packages/icon/scripts/prebuild.ts\n* @checksum 8ac7743aa7cbde7feb1eb2c9f5726d20\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface WriteProps extends LGGlyph.ComponentProps {}\nconst Write = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: WriteProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Write', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.71094 3.74943C7.98779 3.5624 7.17765 3.47059 6.375 3.47059C3.97108 3.47059 1.5 4.29411 1.5 6.03268C1.5 6.10964 1.50071 6.18476 1.50212 6.25809C1.50071 6.28953 1.5 6.32115 1.5 6.35294V6.55882C1.5 6.82855 1.62059 7.08757 1.88365 7.34157C2.15143 7.60013 2.54848 7.83326 3.04084 8.02823C4.02449 8.41774 5.29298 8.61764 6.375 8.61764C6.64212 8.61764 6.9206 8.60546 7.20335 8.58125C6.75934 8.06173 6.67036 7.35853 6.91542 6.76298C7.19331 6.08765 7.8543 5.63811 8.62053 5.63811H8.71094V3.74943Z\" fill={'currentColor'} /><path d=\"M8.06766 9.30516C7.49049 9.39617 6.91039 9.44117 6.375 9.44117C5.21336 9.44117 3.84123 9.22931 2.74517 8.7953C2.2802 8.61117 1.84763 8.38033 1.5 8.09498V9.85294C1.5 10.1227 1.62059 10.3817 1.88365 10.6357C2.15143 10.8943 2.54848 11.1274 3.04084 11.3223C4.02449 11.7119 5.29298 11.9118 6.375 11.9118C7.45702 11.9118 8.72551 11.7119 9.70916 11.3223C9.92835 11.2356 10.1286 11.1412 10.3071 11.0404C10.2351 10.9984 10.1654 10.9511 10.0985 10.8987L8.06766 9.30516Z\" fill={'currentColor'} /><path d=\"M11.25 11.3891C10.9024 11.6745 10.4698 11.9053 10.0048 12.0894C8.90877 12.5234 7.53664 12.7353 6.375 12.7353C5.21336 12.7353 3.84123 12.5234 2.74517 12.0894C2.2802 11.9053 1.84763 11.6745 1.5 11.3891V12.1177C1.5 12.1458 1.50056 12.1738 1.50166 12.2017C1.50056 12.2794 1.5 12.3581 1.5 12.4379C1.5 14.1765 3.97108 15 6.375 15C8.77892 15 11.25 14.1765 11.25 12.4379C11.25 12.3616 11.2493 12.2862 11.2479 12.2117C11.2493 12.1805 11.25 12.1492 11.25 12.1177V11.3891Z\" fill={'currentColor'} /><path d=\"M12.4886 2.29681V6.87341H13.8795C14.4529 6.87341 14.7183 7.51856 14.2849 7.85866L11.6554 9.92188C11.4227 10.1045 11.0773 10.1045 10.8446 9.92188L8.21511 7.85866C7.78167 7.51856 8.04714 6.87341 8.62053 6.87341H9.92969V2.29681C9.92969 1.5806 10.5025 1 11.2091 1C11.9157 1 12.4886 1.5806 12.4886 2.29681Z\" fill={'currentColor'} /></svg>;\n};\nWrite.displayName = 'Write';\nWrite.isGlyph = true;\nexport default Write;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Write","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICHHA,EAAiBC,EDGVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICNV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDfC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCHwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6eACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gdACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gTACHxB,KAAM,iBAEV,EACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}