@leafygreen-ui/icon 14.3.0 → 14.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1345) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +14 -27
  3. package/dist/AIModel.js.map +1 -1
  4. package/dist/ActivityFeed.js.map +1 -1
  5. package/dist/AddFile.js.map +1 -1
  6. package/dist/AllProducts.js.map +1 -1
  7. package/dist/AnalyticsNode.js.map +1 -1
  8. package/dist/Apps.js.map +1 -1
  9. package/dist/Array.js.map +1 -1
  10. package/dist/ArrowDown.js.map +1 -1
  11. package/dist/ArrowLeft.js.map +1 -1
  12. package/dist/ArrowRight.js.map +1 -1
  13. package/dist/ArrowUp.js.map +1 -1
  14. package/dist/Award.js +2 -0
  15. package/dist/Award.js.map +1 -0
  16. package/dist/Beaker.js.map +1 -1
  17. package/dist/Bell.js.map +1 -1
  18. package/dist/Biometric.js.map +1 -1
  19. package/dist/Boolean.js.map +1 -1
  20. package/dist/Building.js.map +1 -1
  21. package/dist/Bulb.js.map +1 -1
  22. package/dist/Calendar.js.map +1 -1
  23. package/dist/Camera.js.map +1 -1
  24. package/dist/Cap.js.map +1 -1
  25. package/dist/CaretDown.js.map +1 -1
  26. package/dist/CaretLeft.js.map +1 -1
  27. package/dist/CaretRight.js.map +1 -1
  28. package/dist/CaretUp.js.map +1 -1
  29. package/dist/ChartFilled.js.map +1 -1
  30. package/dist/Charts.js.map +1 -1
  31. package/dist/Checkmark.js.map +1 -1
  32. package/dist/CheckmarkWithCircle.js.map +1 -1
  33. package/dist/ChevronDown.js.map +1 -1
  34. package/dist/ChevronLeft.js.map +1 -1
  35. package/dist/ChevronRight.js.map +1 -1
  36. package/dist/ChevronUp.js.map +1 -1
  37. package/dist/Circle.js.map +1 -1
  38. package/dist/Clock.js.map +1 -1
  39. package/dist/ClockWithArrow.js.map +1 -1
  40. package/dist/Clone.js.map +1 -1
  41. package/dist/Cloud.js.map +1 -1
  42. package/dist/Code.js.map +1 -1
  43. package/dist/CodeBlock.js.map +1 -1
  44. package/dist/Coin.js.map +1 -1
  45. package/dist/Colon.js.map +1 -1
  46. package/dist/Config.js.map +1 -1
  47. package/dist/Connect.js.map +1 -1
  48. package/dist/Copy.js.map +1 -1
  49. package/dist/CreditCard.js.map +1 -1
  50. package/dist/CurlyBraces.js.map +1 -1
  51. package/dist/Cursor.js.map +1 -1
  52. package/dist/Dashboard.js.map +1 -1
  53. package/dist/Database.js.map +1 -1
  54. package/dist/Diagram.js.map +1 -1
  55. package/dist/Diagram2.js.map +1 -1
  56. package/dist/Diagram3.js.map +1 -1
  57. package/dist/Disconnect.js.map +1 -1
  58. package/dist/Download.js.map +1 -1
  59. package/dist/Drag.js.map +1 -1
  60. package/dist/Edit.js.map +1 -1
  61. package/dist/Ellipsis.js.map +1 -1
  62. package/dist/Email.js.map +1 -1
  63. package/dist/EmptyDatabase.js.map +1 -1
  64. package/dist/EmptyFolder.js.map +1 -1
  65. package/dist/Eraser.js.map +1 -1
  66. package/dist/Escalation.js.map +1 -1
  67. package/dist/Export.js.map +1 -1
  68. package/dist/Favorite.js.map +1 -1
  69. package/dist/Federation.js.map +1 -1
  70. package/dist/File.js.map +1 -1
  71. package/dist/Filter.js.map +1 -1
  72. package/dist/Folder.js.map +1 -1
  73. package/dist/Format.js.map +1 -1
  74. package/dist/FullScreenEnter.js.map +1 -1
  75. package/dist/FullScreenExit.js.map +1 -1
  76. package/dist/Function.js.map +1 -1
  77. package/dist/Gauge.js.map +1 -1
  78. package/dist/GlobeAmericas.js.map +1 -1
  79. package/dist/GovernmentBuilding.js.map +1 -1
  80. package/dist/Guide.js.map +1 -1
  81. package/dist/Hash.js.map +1 -1
  82. package/dist/HiddenSecondaryNode.js.map +1 -1
  83. package/dist/Highlight.js.map +1 -1
  84. package/dist/Home.js.map +1 -1
  85. package/dist/HorizontalDrag.js.map +1 -1
  86. package/dist/Import.js.map +1 -1
  87. package/dist/ImportantWithCircle.js.map +1 -1
  88. package/dist/InfoWithCircle.js.map +1 -1
  89. package/dist/InternalEmployee.js.map +1 -1
  90. package/dist/InviteUser.js.map +1 -1
  91. package/dist/Key.js.map +1 -1
  92. package/dist/Laptop.js.map +1 -1
  93. package/dist/LightningBolt.js.map +1 -1
  94. package/dist/Link.js.map +1 -1
  95. package/dist/List.js.map +1 -1
  96. package/dist/Lock.js.map +1 -1
  97. package/dist/LogIn.js.map +1 -1
  98. package/dist/LogOut.js.map +1 -1
  99. package/dist/MagnifyingGlass.js.map +1 -1
  100. package/dist/Megaphone.js.map +1 -1
  101. package/dist/Menu.js.map +1 -1
  102. package/dist/Minus.js.map +1 -1
  103. package/dist/Mobile.js.map +1 -1
  104. package/dist/Moon.js.map +1 -1
  105. package/dist/MultiDirectionArrow.js.map +1 -1
  106. package/dist/MultiLayers.js.map +1 -1
  107. package/dist/NavCollapse.js.map +1 -1
  108. package/dist/NavExpand.js.map +1 -1
  109. package/dist/NoFilter.js.map +1 -1
  110. package/dist/NotAllowed.js.map +1 -1
  111. package/dist/Note.js.map +1 -1
  112. package/dist/NumberedList.js.map +1 -1
  113. package/dist/OpenNewTab.js.map +1 -1
  114. package/dist/OutlineFavorite.js.map +1 -1
  115. package/dist/Package.js.map +1 -1
  116. package/dist/Pause.js.map +1 -1
  117. package/dist/Pending.js.map +1 -1
  118. package/dist/Person.js.map +1 -1
  119. package/dist/PersonGroup.js.map +1 -1
  120. package/dist/PersonWithLock.js.map +1 -1
  121. package/dist/Pin.js.map +1 -1
  122. package/dist/Play.js.map +1 -1
  123. package/dist/Plus.js.map +1 -1
  124. package/dist/PlusWithCircle.js.map +1 -1
  125. package/dist/Primary.js.map +1 -1
  126. package/dist/Project.js.map +1 -1
  127. package/dist/QuestionMarkWithCircle.js.map +1 -1
  128. package/dist/Read.js.map +1 -1
  129. package/dist/Recommended.js.map +1 -1
  130. package/dist/Redo.js.map +1 -1
  131. package/dist/Refresh.js.map +1 -1
  132. package/dist/Relationship.js.map +1 -1
  133. package/dist/ReplicaSet.js.map +1 -1
  134. package/dist/Resize.js.map +1 -1
  135. package/dist/Resource.js.map +1 -1
  136. package/dist/Return.js.map +1 -1
  137. package/dist/Revert.js.map +1 -1
  138. package/dist/Router.js.map +1 -1
  139. package/dist/SMS.js.map +1 -1
  140. package/dist/Save.js.map +1 -1
  141. package/dist/SearchIndex.js.map +1 -1
  142. package/dist/Secondary.js.map +1 -1
  143. package/dist/Serverless.js.map +1 -1
  144. package/dist/Settings.js.map +1 -1
  145. package/dist/ShardedCluster.js.map +1 -1
  146. package/dist/Shell.js.map +1 -1
  147. package/dist/Shield.js.map +1 -1
  148. package/dist/Shirt.js.map +1 -1
  149. package/dist/Shortcut.js.map +1 -1
  150. package/dist/SortAscending.js.map +1 -1
  151. package/dist/SortDescending.js.map +1 -1
  152. package/dist/Sparkle.js.map +1 -1
  153. package/dist/SplitHorizontal.js.map +1 -1
  154. package/dist/SplitVertical.js.map +1 -1
  155. package/dist/Stitch.js.map +1 -1
  156. package/dist/Stop.js.map +1 -1
  157. package/dist/Streaming.js.map +1 -1
  158. package/dist/String.js.map +1 -1
  159. package/dist/Sun.js.map +1 -1
  160. package/dist/Support.js.map +1 -1
  161. package/dist/Sweep.js.map +1 -1
  162. package/dist/Table.js.map +1 -1
  163. package/dist/Tag.js.map +1 -1
  164. package/dist/TemporaryTable.js.map +1 -1
  165. package/dist/ThumbsDown.js.map +1 -1
  166. package/dist/ThumbsUp.js.map +1 -1
  167. package/dist/TimeSeries.js.map +1 -1
  168. package/dist/TimeSeriesCollection.js.map +1 -1
  169. package/dist/Trash.js.map +1 -1
  170. package/dist/Undo.js.map +1 -1
  171. package/dist/University.js.map +1 -1
  172. package/dist/Unlock.js.map +1 -1
  173. package/dist/Unsorted.js.map +1 -1
  174. package/dist/UpDownCarets.js.map +1 -1
  175. package/dist/Upload.js.map +1 -1
  176. package/dist/VerticalEllipsis.js.map +1 -1
  177. package/dist/View.js.map +1 -1
  178. package/dist/Visibility.js.map +1 -1
  179. package/dist/VisibilityOff.js.map +1 -1
  180. package/dist/Warning.js.map +1 -1
  181. package/dist/Wizard.js.map +1 -1
  182. package/dist/Wrench.js.map +1 -1
  183. package/dist/Write.js.map +1 -1
  184. package/dist/X.js.map +1 -1
  185. package/dist/XWithCircle.js.map +1 -1
  186. package/dist/checksums.json +182 -181
  187. package/dist/esm/AIModel.js.map +1 -1
  188. package/dist/esm/ActivityFeed.js.map +1 -1
  189. package/dist/esm/AddFile.js.map +1 -1
  190. package/dist/esm/AllProducts.js.map +1 -1
  191. package/dist/esm/AnalyticsNode.js.map +1 -1
  192. package/dist/esm/Apps.js.map +1 -1
  193. package/dist/esm/Array.js.map +1 -1
  194. package/dist/esm/ArrowDown.js.map +1 -1
  195. package/dist/esm/ArrowLeft.js.map +1 -1
  196. package/dist/esm/ArrowRight.js.map +1 -1
  197. package/dist/esm/ArrowUp.js.map +1 -1
  198. package/dist/esm/Award.js +2 -0
  199. package/dist/esm/Award.js.map +1 -0
  200. package/dist/esm/Beaker.js.map +1 -1
  201. package/dist/esm/Bell.js.map +1 -1
  202. package/dist/esm/Biometric.js.map +1 -1
  203. package/dist/esm/Boolean.js.map +1 -1
  204. package/dist/esm/Building.js.map +1 -1
  205. package/dist/esm/Bulb.js.map +1 -1
  206. package/dist/esm/Calendar.js.map +1 -1
  207. package/dist/esm/Camera.js.map +1 -1
  208. package/dist/esm/Cap.js.map +1 -1
  209. package/dist/esm/CaretDown.js.map +1 -1
  210. package/dist/esm/CaretLeft.js.map +1 -1
  211. package/dist/esm/CaretRight.js.map +1 -1
  212. package/dist/esm/CaretUp.js.map +1 -1
  213. package/dist/esm/ChartFilled.js.map +1 -1
  214. package/dist/esm/Charts.js.map +1 -1
  215. package/dist/esm/Checkmark.js.map +1 -1
  216. package/dist/esm/CheckmarkWithCircle.js.map +1 -1
  217. package/dist/esm/ChevronDown.js.map +1 -1
  218. package/dist/esm/ChevronLeft.js.map +1 -1
  219. package/dist/esm/ChevronRight.js.map +1 -1
  220. package/dist/esm/ChevronUp.js.map +1 -1
  221. package/dist/esm/Circle.js.map +1 -1
  222. package/dist/esm/Clock.js.map +1 -1
  223. package/dist/esm/ClockWithArrow.js.map +1 -1
  224. package/dist/esm/Clone.js.map +1 -1
  225. package/dist/esm/Cloud.js.map +1 -1
  226. package/dist/esm/Code.js.map +1 -1
  227. package/dist/esm/CodeBlock.js.map +1 -1
  228. package/dist/esm/Coin.js.map +1 -1
  229. package/dist/esm/Colon.js.map +1 -1
  230. package/dist/esm/Config.js.map +1 -1
  231. package/dist/esm/Connect.js.map +1 -1
  232. package/dist/esm/Copy.js.map +1 -1
  233. package/dist/esm/CreditCard.js.map +1 -1
  234. package/dist/esm/CurlyBraces.js.map +1 -1
  235. package/dist/esm/Cursor.js.map +1 -1
  236. package/dist/esm/Dashboard.js.map +1 -1
  237. package/dist/esm/Database.js.map +1 -1
  238. package/dist/esm/Diagram.js.map +1 -1
  239. package/dist/esm/Diagram2.js.map +1 -1
  240. package/dist/esm/Diagram3.js.map +1 -1
  241. package/dist/esm/Disconnect.js.map +1 -1
  242. package/dist/esm/Download.js.map +1 -1
  243. package/dist/esm/Drag.js.map +1 -1
  244. package/dist/esm/Edit.js.map +1 -1
  245. package/dist/esm/Ellipsis.js.map +1 -1
  246. package/dist/esm/Email.js.map +1 -1
  247. package/dist/esm/EmptyDatabase.js.map +1 -1
  248. package/dist/esm/EmptyFolder.js.map +1 -1
  249. package/dist/esm/Eraser.js.map +1 -1
  250. package/dist/esm/Escalation.js.map +1 -1
  251. package/dist/esm/Export.js.map +1 -1
  252. package/dist/esm/Favorite.js.map +1 -1
  253. package/dist/esm/Federation.js.map +1 -1
  254. package/dist/esm/File.js.map +1 -1
  255. package/dist/esm/Filter.js.map +1 -1
  256. package/dist/esm/Folder.js.map +1 -1
  257. package/dist/esm/Format.js.map +1 -1
  258. package/dist/esm/FullScreenEnter.js.map +1 -1
  259. package/dist/esm/FullScreenExit.js.map +1 -1
  260. package/dist/esm/Function.js.map +1 -1
  261. package/dist/esm/Gauge.js.map +1 -1
  262. package/dist/esm/GlobeAmericas.js.map +1 -1
  263. package/dist/esm/GovernmentBuilding.js.map +1 -1
  264. package/dist/esm/Guide.js.map +1 -1
  265. package/dist/esm/Hash.js.map +1 -1
  266. package/dist/esm/HiddenSecondaryNode.js.map +1 -1
  267. package/dist/esm/Highlight.js.map +1 -1
  268. package/dist/esm/Home.js.map +1 -1
  269. package/dist/esm/HorizontalDrag.js.map +1 -1
  270. package/dist/esm/Import.js.map +1 -1
  271. package/dist/esm/ImportantWithCircle.js.map +1 -1
  272. package/dist/esm/InfoWithCircle.js.map +1 -1
  273. package/dist/esm/InternalEmployee.js.map +1 -1
  274. package/dist/esm/InviteUser.js.map +1 -1
  275. package/dist/esm/Key.js.map +1 -1
  276. package/dist/esm/Laptop.js.map +1 -1
  277. package/dist/esm/LightningBolt.js.map +1 -1
  278. package/dist/esm/Link.js.map +1 -1
  279. package/dist/esm/List.js.map +1 -1
  280. package/dist/esm/Lock.js.map +1 -1
  281. package/dist/esm/LogIn.js.map +1 -1
  282. package/dist/esm/LogOut.js.map +1 -1
  283. package/dist/esm/MagnifyingGlass.js.map +1 -1
  284. package/dist/esm/Megaphone.js.map +1 -1
  285. package/dist/esm/Menu.js.map +1 -1
  286. package/dist/esm/Minus.js.map +1 -1
  287. package/dist/esm/Mobile.js.map +1 -1
  288. package/dist/esm/Moon.js.map +1 -1
  289. package/dist/esm/MultiDirectionArrow.js.map +1 -1
  290. package/dist/esm/MultiLayers.js.map +1 -1
  291. package/dist/esm/NavCollapse.js.map +1 -1
  292. package/dist/esm/NavExpand.js.map +1 -1
  293. package/dist/esm/NoFilter.js.map +1 -1
  294. package/dist/esm/NotAllowed.js.map +1 -1
  295. package/dist/esm/Note.js.map +1 -1
  296. package/dist/esm/NumberedList.js.map +1 -1
  297. package/dist/esm/OpenNewTab.js.map +1 -1
  298. package/dist/esm/OutlineFavorite.js.map +1 -1
  299. package/dist/esm/Package.js.map +1 -1
  300. package/dist/esm/Pause.js.map +1 -1
  301. package/dist/esm/Pending.js.map +1 -1
  302. package/dist/esm/Person.js.map +1 -1
  303. package/dist/esm/PersonGroup.js.map +1 -1
  304. package/dist/esm/PersonWithLock.js.map +1 -1
  305. package/dist/esm/Pin.js.map +1 -1
  306. package/dist/esm/Play.js.map +1 -1
  307. package/dist/esm/Plus.js.map +1 -1
  308. package/dist/esm/PlusWithCircle.js.map +1 -1
  309. package/dist/esm/Primary.js.map +1 -1
  310. package/dist/esm/Project.js.map +1 -1
  311. package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
  312. package/dist/esm/Read.js.map +1 -1
  313. package/dist/esm/Recommended.js.map +1 -1
  314. package/dist/esm/Redo.js.map +1 -1
  315. package/dist/esm/Refresh.js.map +1 -1
  316. package/dist/esm/Relationship.js.map +1 -1
  317. package/dist/esm/ReplicaSet.js.map +1 -1
  318. package/dist/esm/Resize.js.map +1 -1
  319. package/dist/esm/Resource.js.map +1 -1
  320. package/dist/esm/Return.js.map +1 -1
  321. package/dist/esm/Revert.js.map +1 -1
  322. package/dist/esm/Router.js.map +1 -1
  323. package/dist/esm/SMS.js.map +1 -1
  324. package/dist/esm/Save.js.map +1 -1
  325. package/dist/esm/SearchIndex.js.map +1 -1
  326. package/dist/esm/Secondary.js.map +1 -1
  327. package/dist/esm/Serverless.js.map +1 -1
  328. package/dist/esm/Settings.js.map +1 -1
  329. package/dist/esm/ShardedCluster.js.map +1 -1
  330. package/dist/esm/Shell.js.map +1 -1
  331. package/dist/esm/Shield.js.map +1 -1
  332. package/dist/esm/Shirt.js.map +1 -1
  333. package/dist/esm/Shortcut.js.map +1 -1
  334. package/dist/esm/SortAscending.js.map +1 -1
  335. package/dist/esm/SortDescending.js.map +1 -1
  336. package/dist/esm/Sparkle.js.map +1 -1
  337. package/dist/esm/SplitHorizontal.js.map +1 -1
  338. package/dist/esm/SplitVertical.js.map +1 -1
  339. package/dist/esm/Stitch.js.map +1 -1
  340. package/dist/esm/Stop.js.map +1 -1
  341. package/dist/esm/Streaming.js.map +1 -1
  342. package/dist/esm/String.js.map +1 -1
  343. package/dist/esm/Sun.js.map +1 -1
  344. package/dist/esm/Support.js.map +1 -1
  345. package/dist/esm/Sweep.js.map +1 -1
  346. package/dist/esm/Table.js.map +1 -1
  347. package/dist/esm/Tag.js.map +1 -1
  348. package/dist/esm/TemporaryTable.js.map +1 -1
  349. package/dist/esm/ThumbsDown.js.map +1 -1
  350. package/dist/esm/ThumbsUp.js.map +1 -1
  351. package/dist/esm/TimeSeries.js.map +1 -1
  352. package/dist/esm/TimeSeriesCollection.js.map +1 -1
  353. package/dist/esm/Trash.js.map +1 -1
  354. package/dist/esm/Undo.js.map +1 -1
  355. package/dist/esm/University.js.map +1 -1
  356. package/dist/esm/Unlock.js.map +1 -1
  357. package/dist/esm/Unsorted.js.map +1 -1
  358. package/dist/esm/UpDownCarets.js.map +1 -1
  359. package/dist/esm/Upload.js.map +1 -1
  360. package/dist/esm/VerticalEllipsis.js.map +1 -1
  361. package/dist/esm/View.js.map +1 -1
  362. package/dist/esm/Visibility.js.map +1 -1
  363. package/dist/esm/VisibilityOff.js.map +1 -1
  364. package/dist/esm/Warning.js.map +1 -1
  365. package/dist/esm/Wizard.js.map +1 -1
  366. package/dist/esm/Wrench.js.map +1 -1
  367. package/dist/esm/Write.js.map +1 -1
  368. package/dist/esm/X.js.map +1 -1
  369. package/dist/esm/XWithCircle.js.map +1 -1
  370. package/dist/esm/index.js +1 -1
  371. package/dist/esm/index.js.map +1 -1
  372. package/dist/index.js +1 -1
  373. package/dist/index.js.map +1 -1
  374. package/dist/tsconfig.tsbuildinfo +1 -0
  375. package/dist/types/.svgrrc.d.ts +17 -0
  376. package/dist/types/.svgrrc.d.ts.map +1 -0
  377. package/dist/types/constants.d.mts +2 -0
  378. package/dist/types/constants.d.mts.map +1 -0
  379. package/dist/types/scripts/build/compare-checksum.d.ts +3 -0
  380. package/dist/types/scripts/build/compare-checksum.d.ts.map +1 -0
  381. package/dist/types/scripts/build/index.d.ts +2 -0
  382. package/dist/types/scripts/build/index.d.ts.map +1 -0
  383. package/dist/types/scripts/postbuild/index.d.ts +2 -0
  384. package/dist/types/scripts/postbuild/index.d.ts.map +1 -0
  385. package/dist/types/scripts/prebuild/checksum.d.ts +2 -0
  386. package/dist/types/scripts/prebuild/checksum.d.ts.map +1 -0
  387. package/dist/types/scripts/prebuild/index.d.ts +2 -0
  388. package/dist/types/scripts/prebuild/index.d.ts.map +1 -0
  389. package/dist/types/scripts/prebuild/indexTemplate.d.ts +3 -0
  390. package/dist/types/scripts/prebuild/indexTemplate.d.ts.map +1 -0
  391. package/dist/types/scripts/prebuild/prebuild.types.d.ts +9 -0
  392. package/dist/types/scripts/prebuild/prebuild.types.d.ts.map +1 -0
  393. package/dist/types/scripts/prebuild/svgrTemplate.d.ts +21 -0
  394. package/dist/types/scripts/prebuild/svgrTemplate.d.ts.map +1 -0
  395. package/dist/types/src/Icon.d.ts.map +1 -0
  396. package/dist/types/src/Icon.spec.d.ts +2 -0
  397. package/dist/types/src/Icon.spec.d.ts.map +1 -0
  398. package/dist/types/src/createGlyphComponent.d.ts.map +1 -0
  399. package/dist/types/src/createIconComponent.d.ts.map +1 -0
  400. package/dist/types/{generated → src/generated}/AIModel.d.ts +1 -1
  401. package/dist/types/src/generated/AIModel.d.ts.map +1 -0
  402. package/dist/types/{generated → src/generated}/ActivityFeed.d.ts +1 -1
  403. package/dist/types/src/generated/ActivityFeed.d.ts.map +1 -0
  404. package/dist/types/{generated → src/generated}/AddFile.d.ts +1 -1
  405. package/dist/types/src/generated/AddFile.d.ts.map +1 -0
  406. package/dist/types/{generated → src/generated}/AllProducts.d.ts +1 -1
  407. package/dist/types/src/generated/AllProducts.d.ts.map +1 -0
  408. package/dist/types/{generated → src/generated}/AnalyticsNode.d.ts +1 -1
  409. package/dist/types/src/generated/AnalyticsNode.d.ts.map +1 -0
  410. package/dist/types/{generated → src/generated}/Apps.d.ts +1 -1
  411. package/dist/types/src/generated/Apps.d.ts.map +1 -0
  412. package/dist/types/{generated → src/generated}/Array.d.ts +1 -1
  413. package/dist/types/src/generated/Array.d.ts.map +1 -0
  414. package/dist/types/{generated → src/generated}/ArrowDown.d.ts +1 -1
  415. package/dist/types/src/generated/ArrowDown.d.ts.map +1 -0
  416. package/dist/types/{generated → src/generated}/ArrowLeft.d.ts +1 -1
  417. package/dist/types/src/generated/ArrowLeft.d.ts.map +1 -0
  418. package/dist/types/{generated → src/generated}/ArrowRight.d.ts +1 -1
  419. package/dist/types/src/generated/ArrowRight.d.ts.map +1 -0
  420. package/dist/types/{generated → src/generated}/ArrowUp.d.ts +1 -1
  421. package/dist/types/src/generated/ArrowUp.d.ts.map +1 -0
  422. package/dist/types/src/generated/Award.d.ts +17 -0
  423. package/dist/types/src/generated/Award.d.ts.map +1 -0
  424. package/dist/types/{generated → src/generated}/Beaker.d.ts +1 -1
  425. package/dist/types/src/generated/Beaker.d.ts.map +1 -0
  426. package/dist/types/{generated → src/generated}/Bell.d.ts +1 -1
  427. package/dist/types/src/generated/Bell.d.ts.map +1 -0
  428. package/dist/types/{generated → src/generated}/Biometric.d.ts +1 -1
  429. package/dist/types/src/generated/Biometric.d.ts.map +1 -0
  430. package/dist/types/{generated → src/generated}/Boolean.d.ts +1 -1
  431. package/dist/types/src/generated/Boolean.d.ts.map +1 -0
  432. package/dist/types/{generated → src/generated}/Building.d.ts +1 -1
  433. package/dist/types/src/generated/Building.d.ts.map +1 -0
  434. package/dist/types/{generated → src/generated}/Bulb.d.ts +1 -1
  435. package/dist/types/src/generated/Bulb.d.ts.map +1 -0
  436. package/dist/types/{generated → src/generated}/Calendar.d.ts +1 -1
  437. package/dist/types/src/generated/Calendar.d.ts.map +1 -0
  438. package/dist/types/{generated → src/generated}/Camera.d.ts +1 -1
  439. package/dist/types/src/generated/Camera.d.ts.map +1 -0
  440. package/dist/types/{generated → src/generated}/Cap.d.ts +1 -1
  441. package/dist/types/src/generated/Cap.d.ts.map +1 -0
  442. package/dist/types/{generated → src/generated}/CaretDown.d.ts +1 -1
  443. package/dist/types/src/generated/CaretDown.d.ts.map +1 -0
  444. package/dist/types/{generated → src/generated}/CaretLeft.d.ts +1 -1
  445. package/dist/types/src/generated/CaretLeft.d.ts.map +1 -0
  446. package/dist/types/{generated → src/generated}/CaretRight.d.ts +1 -1
  447. package/dist/types/src/generated/CaretRight.d.ts.map +1 -0
  448. package/dist/types/{generated → src/generated}/CaretUp.d.ts +1 -1
  449. package/dist/types/src/generated/CaretUp.d.ts.map +1 -0
  450. package/dist/types/{generated → src/generated}/ChartFilled.d.ts +1 -1
  451. package/dist/types/src/generated/ChartFilled.d.ts.map +1 -0
  452. package/dist/types/{generated → src/generated}/Charts.d.ts +1 -1
  453. package/dist/types/src/generated/Charts.d.ts.map +1 -0
  454. package/dist/types/{generated → src/generated}/Checkmark.d.ts +1 -1
  455. package/dist/types/src/generated/Checkmark.d.ts.map +1 -0
  456. package/dist/types/{generated → src/generated}/CheckmarkWithCircle.d.ts +1 -1
  457. package/dist/types/src/generated/CheckmarkWithCircle.d.ts.map +1 -0
  458. package/dist/types/{generated → src/generated}/ChevronDown.d.ts +1 -1
  459. package/dist/types/src/generated/ChevronDown.d.ts.map +1 -0
  460. package/dist/types/{generated → src/generated}/ChevronLeft.d.ts +1 -1
  461. package/dist/types/src/generated/ChevronLeft.d.ts.map +1 -0
  462. package/dist/types/{generated → src/generated}/ChevronRight.d.ts +1 -1
  463. package/dist/types/src/generated/ChevronRight.d.ts.map +1 -0
  464. package/dist/types/{generated → src/generated}/ChevronUp.d.ts +1 -1
  465. package/dist/types/src/generated/ChevronUp.d.ts.map +1 -0
  466. package/dist/types/{generated → src/generated}/Circle.d.ts +1 -1
  467. package/dist/types/src/generated/Circle.d.ts.map +1 -0
  468. package/dist/types/{generated → src/generated}/Clock.d.ts +1 -1
  469. package/dist/types/src/generated/Clock.d.ts.map +1 -0
  470. package/dist/types/{generated → src/generated}/ClockWithArrow.d.ts +1 -1
  471. package/dist/types/src/generated/ClockWithArrow.d.ts.map +1 -0
  472. package/dist/types/{generated → src/generated}/Clone.d.ts +1 -1
  473. package/dist/types/src/generated/Clone.d.ts.map +1 -0
  474. package/dist/types/{generated → src/generated}/Cloud.d.ts +1 -1
  475. package/dist/types/src/generated/Cloud.d.ts.map +1 -0
  476. package/dist/types/{generated → src/generated}/Code.d.ts +1 -1
  477. package/dist/types/src/generated/Code.d.ts.map +1 -0
  478. package/dist/types/{generated → src/generated}/CodeBlock.d.ts +1 -1
  479. package/dist/types/src/generated/CodeBlock.d.ts.map +1 -0
  480. package/dist/types/{generated → src/generated}/Coin.d.ts +1 -1
  481. package/dist/types/src/generated/Coin.d.ts.map +1 -0
  482. package/dist/types/{generated → src/generated}/Colon.d.ts +1 -1
  483. package/dist/types/src/generated/Colon.d.ts.map +1 -0
  484. package/dist/types/{generated → src/generated}/Config.d.ts +1 -1
  485. package/dist/types/src/generated/Config.d.ts.map +1 -0
  486. package/dist/types/{generated → src/generated}/Connect.d.ts +1 -1
  487. package/dist/types/src/generated/Connect.d.ts.map +1 -0
  488. package/dist/types/{generated → src/generated}/Copy.d.ts +1 -1
  489. package/dist/types/src/generated/Copy.d.ts.map +1 -0
  490. package/dist/types/{generated → src/generated}/CreditCard.d.ts +1 -1
  491. package/dist/types/src/generated/CreditCard.d.ts.map +1 -0
  492. package/dist/types/{generated → src/generated}/CurlyBraces.d.ts +1 -1
  493. package/dist/types/src/generated/CurlyBraces.d.ts.map +1 -0
  494. package/dist/types/{generated → src/generated}/Cursor.d.ts +1 -1
  495. package/dist/types/src/generated/Cursor.d.ts.map +1 -0
  496. package/dist/types/{generated → src/generated}/Dashboard.d.ts +1 -1
  497. package/dist/types/src/generated/Dashboard.d.ts.map +1 -0
  498. package/dist/types/{generated → src/generated}/Database.d.ts +1 -1
  499. package/dist/types/src/generated/Database.d.ts.map +1 -0
  500. package/dist/types/{generated → src/generated}/Diagram.d.ts +1 -1
  501. package/dist/types/src/generated/Diagram.d.ts.map +1 -0
  502. package/dist/types/{generated → src/generated}/Diagram2.d.ts +1 -1
  503. package/dist/types/src/generated/Diagram2.d.ts.map +1 -0
  504. package/dist/types/{generated → src/generated}/Diagram3.d.ts +1 -1
  505. package/dist/types/src/generated/Diagram3.d.ts.map +1 -0
  506. package/dist/types/{generated → src/generated}/Disconnect.d.ts +1 -1
  507. package/dist/types/src/generated/Disconnect.d.ts.map +1 -0
  508. package/dist/types/{generated → src/generated}/Download.d.ts +1 -1
  509. package/dist/types/src/generated/Download.d.ts.map +1 -0
  510. package/dist/types/{generated → src/generated}/Drag.d.ts +1 -1
  511. package/dist/types/src/generated/Drag.d.ts.map +1 -0
  512. package/dist/types/{generated → src/generated}/Edit.d.ts +1 -1
  513. package/dist/types/src/generated/Edit.d.ts.map +1 -0
  514. package/dist/types/{generated → src/generated}/Ellipsis.d.ts +1 -1
  515. package/dist/types/src/generated/Ellipsis.d.ts.map +1 -0
  516. package/dist/types/{generated → src/generated}/Email.d.ts +1 -1
  517. package/dist/types/src/generated/Email.d.ts.map +1 -0
  518. package/dist/types/{generated → src/generated}/EmptyDatabase.d.ts +1 -1
  519. package/dist/types/src/generated/EmptyDatabase.d.ts.map +1 -0
  520. package/dist/types/{generated → src/generated}/EmptyFolder.d.ts +1 -1
  521. package/dist/types/src/generated/EmptyFolder.d.ts.map +1 -0
  522. package/dist/types/{generated → src/generated}/Eraser.d.ts +1 -1
  523. package/dist/types/src/generated/Eraser.d.ts.map +1 -0
  524. package/dist/types/{generated → src/generated}/Escalation.d.ts +1 -1
  525. package/dist/types/src/generated/Escalation.d.ts.map +1 -0
  526. package/dist/types/{generated → src/generated}/Export.d.ts +1 -1
  527. package/dist/types/src/generated/Export.d.ts.map +1 -0
  528. package/dist/types/{generated → src/generated}/Favorite.d.ts +1 -1
  529. package/dist/types/src/generated/Favorite.d.ts.map +1 -0
  530. package/dist/types/{generated → src/generated}/Federation.d.ts +1 -1
  531. package/dist/types/src/generated/Federation.d.ts.map +1 -0
  532. package/dist/types/{generated → src/generated}/File.d.ts +1 -1
  533. package/dist/types/src/generated/File.d.ts.map +1 -0
  534. package/dist/types/{generated → src/generated}/Filter.d.ts +1 -1
  535. package/dist/types/src/generated/Filter.d.ts.map +1 -0
  536. package/dist/types/{generated → src/generated}/Folder.d.ts +1 -1
  537. package/dist/types/src/generated/Folder.d.ts.map +1 -0
  538. package/dist/types/{generated → src/generated}/Format.d.ts +1 -1
  539. package/dist/types/src/generated/Format.d.ts.map +1 -0
  540. package/dist/types/{generated → src/generated}/FullScreenEnter.d.ts +1 -1
  541. package/dist/types/src/generated/FullScreenEnter.d.ts.map +1 -0
  542. package/dist/types/{generated → src/generated}/FullScreenExit.d.ts +1 -1
  543. package/dist/types/src/generated/FullScreenExit.d.ts.map +1 -0
  544. package/dist/types/{generated → src/generated}/Function.d.ts +1 -1
  545. package/dist/types/src/generated/Function.d.ts.map +1 -0
  546. package/dist/types/{generated → src/generated}/Gauge.d.ts +1 -1
  547. package/dist/types/src/generated/Gauge.d.ts.map +1 -0
  548. package/dist/types/{generated → src/generated}/GlobeAmericas.d.ts +1 -1
  549. package/dist/types/src/generated/GlobeAmericas.d.ts.map +1 -0
  550. package/dist/types/{generated → src/generated}/GovernmentBuilding.d.ts +1 -1
  551. package/dist/types/src/generated/GovernmentBuilding.d.ts.map +1 -0
  552. package/dist/types/{generated → src/generated}/Guide.d.ts +1 -1
  553. package/dist/types/src/generated/Guide.d.ts.map +1 -0
  554. package/dist/types/{generated → src/generated}/Hash.d.ts +1 -1
  555. package/dist/types/src/generated/Hash.d.ts.map +1 -0
  556. package/dist/types/{generated → src/generated}/HiddenSecondaryNode.d.ts +1 -1
  557. package/dist/types/src/generated/HiddenSecondaryNode.d.ts.map +1 -0
  558. package/dist/types/{generated → src/generated}/Highlight.d.ts +1 -1
  559. package/dist/types/src/generated/Highlight.d.ts.map +1 -0
  560. package/dist/types/{generated → src/generated}/Home.d.ts +1 -1
  561. package/dist/types/src/generated/Home.d.ts.map +1 -0
  562. package/dist/types/{generated → src/generated}/HorizontalDrag.d.ts +1 -1
  563. package/dist/types/src/generated/HorizontalDrag.d.ts.map +1 -0
  564. package/dist/types/{generated → src/generated}/Import.d.ts +1 -1
  565. package/dist/types/src/generated/Import.d.ts.map +1 -0
  566. package/dist/types/{generated → src/generated}/ImportantWithCircle.d.ts +1 -1
  567. package/dist/types/src/generated/ImportantWithCircle.d.ts.map +1 -0
  568. package/dist/types/{generated → src/generated}/InfoWithCircle.d.ts +1 -1
  569. package/dist/types/src/generated/InfoWithCircle.d.ts.map +1 -0
  570. package/dist/types/{generated → src/generated}/InternalEmployee.d.ts +1 -1
  571. package/dist/types/src/generated/InternalEmployee.d.ts.map +1 -0
  572. package/dist/types/{generated → src/generated}/InviteUser.d.ts +1 -1
  573. package/dist/types/src/generated/InviteUser.d.ts.map +1 -0
  574. package/dist/types/{generated → src/generated}/Key.d.ts +1 -1
  575. package/dist/types/src/generated/Key.d.ts.map +1 -0
  576. package/dist/types/{generated → src/generated}/Laptop.d.ts +1 -1
  577. package/dist/types/src/generated/Laptop.d.ts.map +1 -0
  578. package/dist/types/{generated → src/generated}/LightningBolt.d.ts +1 -1
  579. package/dist/types/src/generated/LightningBolt.d.ts.map +1 -0
  580. package/dist/types/{generated → src/generated}/Link.d.ts +1 -1
  581. package/dist/types/src/generated/Link.d.ts.map +1 -0
  582. package/dist/types/{generated → src/generated}/List.d.ts +1 -1
  583. package/dist/types/src/generated/List.d.ts.map +1 -0
  584. package/dist/types/{generated → src/generated}/Lock.d.ts +1 -1
  585. package/dist/types/src/generated/Lock.d.ts.map +1 -0
  586. package/dist/types/{generated → src/generated}/LogIn.d.ts +1 -1
  587. package/dist/types/src/generated/LogIn.d.ts.map +1 -0
  588. package/dist/types/{generated → src/generated}/LogOut.d.ts +1 -1
  589. package/dist/types/src/generated/LogOut.d.ts.map +1 -0
  590. package/dist/types/{generated → src/generated}/MagnifyingGlass.d.ts +1 -1
  591. package/dist/types/src/generated/MagnifyingGlass.d.ts.map +1 -0
  592. package/dist/types/{generated → src/generated}/Megaphone.d.ts +1 -1
  593. package/dist/types/src/generated/Megaphone.d.ts.map +1 -0
  594. package/dist/types/{generated → src/generated}/Menu.d.ts +1 -1
  595. package/dist/types/src/generated/Menu.d.ts.map +1 -0
  596. package/dist/types/{generated → src/generated}/Minus.d.ts +1 -1
  597. package/dist/types/src/generated/Minus.d.ts.map +1 -0
  598. package/dist/types/{generated → src/generated}/Mobile.d.ts +1 -1
  599. package/dist/types/src/generated/Mobile.d.ts.map +1 -0
  600. package/dist/types/{generated → src/generated}/Moon.d.ts +1 -1
  601. package/dist/types/src/generated/Moon.d.ts.map +1 -0
  602. package/dist/types/{generated → src/generated}/MultiDirectionArrow.d.ts +1 -1
  603. package/dist/types/src/generated/MultiDirectionArrow.d.ts.map +1 -0
  604. package/dist/types/{generated → src/generated}/MultiLayers.d.ts +1 -1
  605. package/dist/types/src/generated/MultiLayers.d.ts.map +1 -0
  606. package/dist/types/{generated → src/generated}/NavCollapse.d.ts +1 -1
  607. package/dist/types/src/generated/NavCollapse.d.ts.map +1 -0
  608. package/dist/types/{generated → src/generated}/NavExpand.d.ts +1 -1
  609. package/dist/types/src/generated/NavExpand.d.ts.map +1 -0
  610. package/dist/types/{generated → src/generated}/NoFilter.d.ts +1 -1
  611. package/dist/types/src/generated/NoFilter.d.ts.map +1 -0
  612. package/dist/types/{generated → src/generated}/NotAllowed.d.ts +1 -1
  613. package/dist/types/src/generated/NotAllowed.d.ts.map +1 -0
  614. package/dist/types/{generated → src/generated}/Note.d.ts +1 -1
  615. package/dist/types/src/generated/Note.d.ts.map +1 -0
  616. package/dist/types/{generated → src/generated}/NumberedList.d.ts +1 -1
  617. package/dist/types/src/generated/NumberedList.d.ts.map +1 -0
  618. package/dist/types/{generated → src/generated}/OpenNewTab.d.ts +1 -1
  619. package/dist/types/src/generated/OpenNewTab.d.ts.map +1 -0
  620. package/dist/types/{generated → src/generated}/OutlineFavorite.d.ts +1 -1
  621. package/dist/types/src/generated/OutlineFavorite.d.ts.map +1 -0
  622. package/dist/types/{generated → src/generated}/Package.d.ts +1 -1
  623. package/dist/types/src/generated/Package.d.ts.map +1 -0
  624. package/dist/types/{generated → src/generated}/Pause.d.ts +1 -1
  625. package/dist/types/src/generated/Pause.d.ts.map +1 -0
  626. package/dist/types/{generated → src/generated}/Pending.d.ts +1 -1
  627. package/dist/types/src/generated/Pending.d.ts.map +1 -0
  628. package/dist/types/{generated → src/generated}/Person.d.ts +1 -1
  629. package/dist/types/src/generated/Person.d.ts.map +1 -0
  630. package/dist/types/{generated → src/generated}/PersonGroup.d.ts +1 -1
  631. package/dist/types/src/generated/PersonGroup.d.ts.map +1 -0
  632. package/dist/types/{generated → src/generated}/PersonWithLock.d.ts +1 -1
  633. package/dist/types/src/generated/PersonWithLock.d.ts.map +1 -0
  634. package/dist/types/{generated → src/generated}/Pin.d.ts +1 -1
  635. package/dist/types/src/generated/Pin.d.ts.map +1 -0
  636. package/dist/types/{generated → src/generated}/Play.d.ts +1 -1
  637. package/dist/types/src/generated/Play.d.ts.map +1 -0
  638. package/dist/types/{generated → src/generated}/Plus.d.ts +1 -1
  639. package/dist/types/src/generated/Plus.d.ts.map +1 -0
  640. package/dist/types/{generated → src/generated}/PlusWithCircle.d.ts +1 -1
  641. package/dist/types/src/generated/PlusWithCircle.d.ts.map +1 -0
  642. package/dist/types/{generated → src/generated}/Primary.d.ts +1 -1
  643. package/dist/types/src/generated/Primary.d.ts.map +1 -0
  644. package/dist/types/{generated → src/generated}/Project.d.ts +1 -1
  645. package/dist/types/src/generated/Project.d.ts.map +1 -0
  646. package/dist/types/{generated → src/generated}/QuestionMarkWithCircle.d.ts +1 -1
  647. package/dist/types/src/generated/QuestionMarkWithCircle.d.ts.map +1 -0
  648. package/dist/types/{generated → src/generated}/Read.d.ts +1 -1
  649. package/dist/types/src/generated/Read.d.ts.map +1 -0
  650. package/dist/types/{generated → src/generated}/Recommended.d.ts +1 -1
  651. package/dist/types/src/generated/Recommended.d.ts.map +1 -0
  652. package/dist/types/{generated → src/generated}/Redo.d.ts +1 -1
  653. package/dist/types/src/generated/Redo.d.ts.map +1 -0
  654. package/dist/types/{generated → src/generated}/Refresh.d.ts +1 -1
  655. package/dist/types/src/generated/Refresh.d.ts.map +1 -0
  656. package/dist/types/{generated → src/generated}/Relationship.d.ts +1 -1
  657. package/dist/types/src/generated/Relationship.d.ts.map +1 -0
  658. package/dist/types/{generated → src/generated}/ReplicaSet.d.ts +1 -1
  659. package/dist/types/src/generated/ReplicaSet.d.ts.map +1 -0
  660. package/dist/types/{generated → src/generated}/Resize.d.ts +1 -1
  661. package/dist/types/src/generated/Resize.d.ts.map +1 -0
  662. package/dist/types/{generated → src/generated}/Resource.d.ts +1 -1
  663. package/dist/types/src/generated/Resource.d.ts.map +1 -0
  664. package/dist/types/{generated → src/generated}/Return.d.ts +1 -1
  665. package/dist/types/src/generated/Return.d.ts.map +1 -0
  666. package/dist/types/{generated → src/generated}/Revert.d.ts +1 -1
  667. package/dist/types/src/generated/Revert.d.ts.map +1 -0
  668. package/dist/types/{generated → src/generated}/Router.d.ts +1 -1
  669. package/dist/types/src/generated/Router.d.ts.map +1 -0
  670. package/dist/types/{generated → src/generated}/SMS.d.ts +1 -1
  671. package/dist/types/src/generated/SMS.d.ts.map +1 -0
  672. package/dist/types/{generated → src/generated}/Save.d.ts +1 -1
  673. package/dist/types/src/generated/Save.d.ts.map +1 -0
  674. package/dist/types/{generated → src/generated}/SearchIndex.d.ts +1 -1
  675. package/dist/types/src/generated/SearchIndex.d.ts.map +1 -0
  676. package/dist/types/{generated → src/generated}/Secondary.d.ts +1 -1
  677. package/dist/types/src/generated/Secondary.d.ts.map +1 -0
  678. package/dist/types/{generated → src/generated}/Serverless.d.ts +1 -1
  679. package/dist/types/src/generated/Serverless.d.ts.map +1 -0
  680. package/dist/types/{generated → src/generated}/Settings.d.ts +1 -1
  681. package/dist/types/src/generated/Settings.d.ts.map +1 -0
  682. package/dist/types/{generated → src/generated}/ShardedCluster.d.ts +1 -1
  683. package/dist/types/src/generated/ShardedCluster.d.ts.map +1 -0
  684. package/dist/types/{generated → src/generated}/Shell.d.ts +1 -1
  685. package/dist/types/src/generated/Shell.d.ts.map +1 -0
  686. package/dist/types/{generated → src/generated}/Shield.d.ts +1 -1
  687. package/dist/types/src/generated/Shield.d.ts.map +1 -0
  688. package/dist/types/{generated → src/generated}/Shirt.d.ts +1 -1
  689. package/dist/types/src/generated/Shirt.d.ts.map +1 -0
  690. package/dist/types/{generated → src/generated}/Shortcut.d.ts +1 -1
  691. package/dist/types/src/generated/Shortcut.d.ts.map +1 -0
  692. package/dist/types/{generated → src/generated}/SortAscending.d.ts +1 -1
  693. package/dist/types/src/generated/SortAscending.d.ts.map +1 -0
  694. package/dist/types/{generated → src/generated}/SortDescending.d.ts +1 -1
  695. package/dist/types/src/generated/SortDescending.d.ts.map +1 -0
  696. package/dist/types/{generated → src/generated}/Sparkle.d.ts +1 -1
  697. package/dist/types/src/generated/Sparkle.d.ts.map +1 -0
  698. package/dist/types/{generated → src/generated}/SplitHorizontal.d.ts +1 -1
  699. package/dist/types/src/generated/SplitHorizontal.d.ts.map +1 -0
  700. package/dist/types/{generated → src/generated}/SplitVertical.d.ts +1 -1
  701. package/dist/types/src/generated/SplitVertical.d.ts.map +1 -0
  702. package/dist/types/{generated → src/generated}/Stitch.d.ts +1 -1
  703. package/dist/types/src/generated/Stitch.d.ts.map +1 -0
  704. package/dist/types/{generated → src/generated}/Stop.d.ts +1 -1
  705. package/dist/types/src/generated/Stop.d.ts.map +1 -0
  706. package/dist/types/{generated → src/generated}/Streaming.d.ts +1 -1
  707. package/dist/types/src/generated/Streaming.d.ts.map +1 -0
  708. package/dist/types/{generated → src/generated}/String.d.ts +1 -1
  709. package/dist/types/src/generated/String.d.ts.map +1 -0
  710. package/dist/types/{generated → src/generated}/Sun.d.ts +1 -1
  711. package/dist/types/src/generated/Sun.d.ts.map +1 -0
  712. package/dist/types/{generated → src/generated}/Support.d.ts +1 -1
  713. package/dist/types/src/generated/Support.d.ts.map +1 -0
  714. package/dist/types/{generated → src/generated}/Sweep.d.ts +1 -1
  715. package/dist/types/src/generated/Sweep.d.ts.map +1 -0
  716. package/dist/types/{generated → src/generated}/Table.d.ts +1 -1
  717. package/dist/types/src/generated/Table.d.ts.map +1 -0
  718. package/dist/types/{generated → src/generated}/Tag.d.ts +1 -1
  719. package/dist/types/src/generated/Tag.d.ts.map +1 -0
  720. package/dist/types/{generated → src/generated}/TemporaryTable.d.ts +1 -1
  721. package/dist/types/src/generated/TemporaryTable.d.ts.map +1 -0
  722. package/dist/types/{generated → src/generated}/ThumbsDown.d.ts +1 -1
  723. package/dist/types/src/generated/ThumbsDown.d.ts.map +1 -0
  724. package/dist/types/{generated → src/generated}/ThumbsUp.d.ts +1 -1
  725. package/dist/types/src/generated/ThumbsUp.d.ts.map +1 -0
  726. package/dist/types/{generated → src/generated}/TimeSeries.d.ts +1 -1
  727. package/dist/types/src/generated/TimeSeries.d.ts.map +1 -0
  728. package/dist/types/{generated → src/generated}/TimeSeriesCollection.d.ts +1 -1
  729. package/dist/types/src/generated/TimeSeriesCollection.d.ts.map +1 -0
  730. package/dist/types/{generated → src/generated}/Trash.d.ts +1 -1
  731. package/dist/types/src/generated/Trash.d.ts.map +1 -0
  732. package/dist/types/{generated → src/generated}/Undo.d.ts +1 -1
  733. package/dist/types/src/generated/Undo.d.ts.map +1 -0
  734. package/dist/types/{generated → src/generated}/University.d.ts +1 -1
  735. package/dist/types/src/generated/University.d.ts.map +1 -0
  736. package/dist/types/{generated → src/generated}/Unlock.d.ts +1 -1
  737. package/dist/types/src/generated/Unlock.d.ts.map +1 -0
  738. package/dist/types/{generated → src/generated}/Unsorted.d.ts +1 -1
  739. package/dist/types/src/generated/Unsorted.d.ts.map +1 -0
  740. package/dist/types/{generated → src/generated}/UpDownCarets.d.ts +1 -1
  741. package/dist/types/src/generated/UpDownCarets.d.ts.map +1 -0
  742. package/dist/types/{generated → src/generated}/Upload.d.ts +1 -1
  743. package/dist/types/src/generated/Upload.d.ts.map +1 -0
  744. package/dist/types/{generated → src/generated}/VerticalEllipsis.d.ts +1 -1
  745. package/dist/types/src/generated/VerticalEllipsis.d.ts.map +1 -0
  746. package/dist/types/{generated → src/generated}/View.d.ts +1 -1
  747. package/dist/types/src/generated/View.d.ts.map +1 -0
  748. package/dist/types/{generated → src/generated}/Visibility.d.ts +1 -1
  749. package/dist/types/src/generated/Visibility.d.ts.map +1 -0
  750. package/dist/types/{generated → src/generated}/VisibilityOff.d.ts +1 -1
  751. package/dist/types/src/generated/VisibilityOff.d.ts.map +1 -0
  752. package/dist/types/{generated → src/generated}/Warning.d.ts +1 -1
  753. package/dist/types/src/generated/Warning.d.ts.map +1 -0
  754. package/dist/types/{generated → src/generated}/Wizard.d.ts +1 -1
  755. package/dist/types/src/generated/Wizard.d.ts.map +1 -0
  756. package/dist/types/{generated → src/generated}/Wrench.d.ts +1 -1
  757. package/dist/types/src/generated/Wrench.d.ts.map +1 -0
  758. package/dist/types/{generated → src/generated}/Write.d.ts +1 -1
  759. package/dist/types/src/generated/Write.d.ts.map +1 -0
  760. package/dist/types/{generated → src/generated}/X.d.ts +1 -1
  761. package/dist/types/src/generated/X.d.ts.map +1 -0
  762. package/dist/types/{generated → src/generated}/XWithCircle.d.ts +1 -1
  763. package/dist/types/src/generated/XWithCircle.d.ts.map +1 -0
  764. package/dist/types/src/glyphCommon.d.ts.map +1 -0
  765. package/dist/types/{glyphs → src/glyphs}/index.d.ts +5 -1
  766. package/dist/types/{glyphs → src/glyphs}/index.d.ts.map +1 -1
  767. package/dist/types/src/index.d.ts.map +1 -0
  768. package/dist/types/src/isComponentGlyph.d.ts.map +1 -0
  769. package/dist/types/src/types/LGGlyph.d.ts.map +1 -0
  770. package/dist/types/src/types/SVGR.d.ts.map +1 -0
  771. package/dist/types/src/types/index.d.ts.map +1 -0
  772. package/dist/umd/AIModel.js.map +1 -1
  773. package/dist/umd/ActivityFeed.js.map +1 -1
  774. package/dist/umd/AddFile.js.map +1 -1
  775. package/dist/umd/AllProducts.js.map +1 -1
  776. package/dist/umd/AnalyticsNode.js.map +1 -1
  777. package/dist/umd/Apps.js.map +1 -1
  778. package/dist/umd/Array.js.map +1 -1
  779. package/dist/umd/ArrowDown.js.map +1 -1
  780. package/dist/umd/ArrowLeft.js.map +1 -1
  781. package/dist/umd/ArrowRight.js.map +1 -1
  782. package/dist/umd/ArrowUp.js.map +1 -1
  783. package/dist/umd/Award.js +2 -0
  784. package/dist/umd/Award.js.map +1 -0
  785. package/dist/umd/Beaker.js.map +1 -1
  786. package/dist/umd/Bell.js.map +1 -1
  787. package/dist/umd/Biometric.js.map +1 -1
  788. package/dist/umd/Boolean.js.map +1 -1
  789. package/dist/umd/Building.js.map +1 -1
  790. package/dist/umd/Bulb.js.map +1 -1
  791. package/dist/umd/Calendar.js.map +1 -1
  792. package/dist/umd/Camera.js.map +1 -1
  793. package/dist/umd/Cap.js.map +1 -1
  794. package/dist/umd/CaretDown.js.map +1 -1
  795. package/dist/umd/CaretLeft.js.map +1 -1
  796. package/dist/umd/CaretRight.js.map +1 -1
  797. package/dist/umd/CaretUp.js.map +1 -1
  798. package/dist/umd/ChartFilled.js.map +1 -1
  799. package/dist/umd/Charts.js.map +1 -1
  800. package/dist/umd/Checkmark.js.map +1 -1
  801. package/dist/umd/CheckmarkWithCircle.js.map +1 -1
  802. package/dist/umd/ChevronDown.js.map +1 -1
  803. package/dist/umd/ChevronLeft.js.map +1 -1
  804. package/dist/umd/ChevronRight.js.map +1 -1
  805. package/dist/umd/ChevronUp.js.map +1 -1
  806. package/dist/umd/Circle.js.map +1 -1
  807. package/dist/umd/Clock.js.map +1 -1
  808. package/dist/umd/ClockWithArrow.js.map +1 -1
  809. package/dist/umd/Clone.js.map +1 -1
  810. package/dist/umd/Cloud.js.map +1 -1
  811. package/dist/umd/Code.js.map +1 -1
  812. package/dist/umd/CodeBlock.js.map +1 -1
  813. package/dist/umd/Coin.js.map +1 -1
  814. package/dist/umd/Colon.js.map +1 -1
  815. package/dist/umd/Config.js.map +1 -1
  816. package/dist/umd/Connect.js.map +1 -1
  817. package/dist/umd/Copy.js.map +1 -1
  818. package/dist/umd/CreditCard.js.map +1 -1
  819. package/dist/umd/CurlyBraces.js.map +1 -1
  820. package/dist/umd/Cursor.js.map +1 -1
  821. package/dist/umd/Dashboard.js.map +1 -1
  822. package/dist/umd/Database.js.map +1 -1
  823. package/dist/umd/Diagram.js.map +1 -1
  824. package/dist/umd/Diagram2.js.map +1 -1
  825. package/dist/umd/Diagram3.js.map +1 -1
  826. package/dist/umd/Disconnect.js.map +1 -1
  827. package/dist/umd/Download.js.map +1 -1
  828. package/dist/umd/Drag.js.map +1 -1
  829. package/dist/umd/Edit.js.map +1 -1
  830. package/dist/umd/Ellipsis.js.map +1 -1
  831. package/dist/umd/Email.js.map +1 -1
  832. package/dist/umd/EmptyDatabase.js.map +1 -1
  833. package/dist/umd/EmptyFolder.js.map +1 -1
  834. package/dist/umd/Eraser.js.map +1 -1
  835. package/dist/umd/Escalation.js.map +1 -1
  836. package/dist/umd/Export.js.map +1 -1
  837. package/dist/umd/Favorite.js.map +1 -1
  838. package/dist/umd/Federation.js.map +1 -1
  839. package/dist/umd/File.js.map +1 -1
  840. package/dist/umd/Filter.js.map +1 -1
  841. package/dist/umd/Folder.js.map +1 -1
  842. package/dist/umd/Format.js.map +1 -1
  843. package/dist/umd/FullScreenEnter.js.map +1 -1
  844. package/dist/umd/FullScreenExit.js.map +1 -1
  845. package/dist/umd/Function.js.map +1 -1
  846. package/dist/umd/Gauge.js.map +1 -1
  847. package/dist/umd/GlobeAmericas.js.map +1 -1
  848. package/dist/umd/GovernmentBuilding.js.map +1 -1
  849. package/dist/umd/Guide.js.map +1 -1
  850. package/dist/umd/Hash.js.map +1 -1
  851. package/dist/umd/HiddenSecondaryNode.js.map +1 -1
  852. package/dist/umd/Highlight.js.map +1 -1
  853. package/dist/umd/Home.js.map +1 -1
  854. package/dist/umd/HorizontalDrag.js.map +1 -1
  855. package/dist/umd/Import.js.map +1 -1
  856. package/dist/umd/ImportantWithCircle.js.map +1 -1
  857. package/dist/umd/InfoWithCircle.js.map +1 -1
  858. package/dist/umd/InternalEmployee.js.map +1 -1
  859. package/dist/umd/InviteUser.js.map +1 -1
  860. package/dist/umd/Key.js.map +1 -1
  861. package/dist/umd/Laptop.js.map +1 -1
  862. package/dist/umd/LightningBolt.js.map +1 -1
  863. package/dist/umd/Link.js.map +1 -1
  864. package/dist/umd/List.js.map +1 -1
  865. package/dist/umd/Lock.js.map +1 -1
  866. package/dist/umd/LogIn.js.map +1 -1
  867. package/dist/umd/LogOut.js.map +1 -1
  868. package/dist/umd/MagnifyingGlass.js.map +1 -1
  869. package/dist/umd/Megaphone.js.map +1 -1
  870. package/dist/umd/Menu.js.map +1 -1
  871. package/dist/umd/Minus.js.map +1 -1
  872. package/dist/umd/Mobile.js.map +1 -1
  873. package/dist/umd/Moon.js.map +1 -1
  874. package/dist/umd/MultiDirectionArrow.js.map +1 -1
  875. package/dist/umd/MultiLayers.js.map +1 -1
  876. package/dist/umd/NavCollapse.js.map +1 -1
  877. package/dist/umd/NavExpand.js.map +1 -1
  878. package/dist/umd/NoFilter.js.map +1 -1
  879. package/dist/umd/NotAllowed.js.map +1 -1
  880. package/dist/umd/Note.js.map +1 -1
  881. package/dist/umd/NumberedList.js.map +1 -1
  882. package/dist/umd/OpenNewTab.js.map +1 -1
  883. package/dist/umd/OutlineFavorite.js.map +1 -1
  884. package/dist/umd/Package.js.map +1 -1
  885. package/dist/umd/Pause.js.map +1 -1
  886. package/dist/umd/Pending.js.map +1 -1
  887. package/dist/umd/Person.js.map +1 -1
  888. package/dist/umd/PersonGroup.js.map +1 -1
  889. package/dist/umd/PersonWithLock.js.map +1 -1
  890. package/dist/umd/Pin.js.map +1 -1
  891. package/dist/umd/Play.js.map +1 -1
  892. package/dist/umd/Plus.js.map +1 -1
  893. package/dist/umd/PlusWithCircle.js.map +1 -1
  894. package/dist/umd/Primary.js.map +1 -1
  895. package/dist/umd/Project.js.map +1 -1
  896. package/dist/umd/QuestionMarkWithCircle.js.map +1 -1
  897. package/dist/umd/Read.js.map +1 -1
  898. package/dist/umd/Recommended.js.map +1 -1
  899. package/dist/umd/Redo.js.map +1 -1
  900. package/dist/umd/Refresh.js.map +1 -1
  901. package/dist/umd/Relationship.js.map +1 -1
  902. package/dist/umd/ReplicaSet.js.map +1 -1
  903. package/dist/umd/Resize.js.map +1 -1
  904. package/dist/umd/Resource.js.map +1 -1
  905. package/dist/umd/Return.js.map +1 -1
  906. package/dist/umd/Revert.js.map +1 -1
  907. package/dist/umd/Router.js.map +1 -1
  908. package/dist/umd/SMS.js.map +1 -1
  909. package/dist/umd/Save.js.map +1 -1
  910. package/dist/umd/SearchIndex.js.map +1 -1
  911. package/dist/umd/Secondary.js.map +1 -1
  912. package/dist/umd/Serverless.js.map +1 -1
  913. package/dist/umd/Settings.js.map +1 -1
  914. package/dist/umd/ShardedCluster.js.map +1 -1
  915. package/dist/umd/Shell.js.map +1 -1
  916. package/dist/umd/Shield.js.map +1 -1
  917. package/dist/umd/Shirt.js.map +1 -1
  918. package/dist/umd/Shortcut.js.map +1 -1
  919. package/dist/umd/SortAscending.js.map +1 -1
  920. package/dist/umd/SortDescending.js.map +1 -1
  921. package/dist/umd/Sparkle.js.map +1 -1
  922. package/dist/umd/SplitHorizontal.js.map +1 -1
  923. package/dist/umd/SplitVertical.js.map +1 -1
  924. package/dist/umd/Stitch.js.map +1 -1
  925. package/dist/umd/Stop.js.map +1 -1
  926. package/dist/umd/Streaming.js.map +1 -1
  927. package/dist/umd/String.js.map +1 -1
  928. package/dist/umd/Sun.js.map +1 -1
  929. package/dist/umd/Support.js.map +1 -1
  930. package/dist/umd/Sweep.js.map +1 -1
  931. package/dist/umd/Table.js.map +1 -1
  932. package/dist/umd/Tag.js.map +1 -1
  933. package/dist/umd/TemporaryTable.js.map +1 -1
  934. package/dist/umd/ThumbsDown.js.map +1 -1
  935. package/dist/umd/ThumbsUp.js.map +1 -1
  936. package/dist/umd/TimeSeries.js.map +1 -1
  937. package/dist/umd/TimeSeriesCollection.js.map +1 -1
  938. package/dist/umd/Trash.js.map +1 -1
  939. package/dist/umd/Undo.js.map +1 -1
  940. package/dist/umd/University.js.map +1 -1
  941. package/dist/umd/Unlock.js.map +1 -1
  942. package/dist/umd/Unsorted.js.map +1 -1
  943. package/dist/umd/UpDownCarets.js.map +1 -1
  944. package/dist/umd/Upload.js.map +1 -1
  945. package/dist/umd/VerticalEllipsis.js.map +1 -1
  946. package/dist/umd/View.js.map +1 -1
  947. package/dist/umd/Visibility.js.map +1 -1
  948. package/dist/umd/VisibilityOff.js.map +1 -1
  949. package/dist/umd/Warning.js.map +1 -1
  950. package/dist/umd/Wizard.js.map +1 -1
  951. package/dist/umd/Wrench.js.map +1 -1
  952. package/dist/umd/Write.js.map +1 -1
  953. package/dist/umd/X.js.map +1 -1
  954. package/dist/umd/XWithCircle.js.map +1 -1
  955. package/dist/umd/index.js +1 -1
  956. package/dist/umd/index.js.map +1 -1
  957. package/package.json +7 -7
  958. package/scripts/build/index.ts +1 -0
  959. package/scripts/prebuild/index.ts +1 -1
  960. package/scripts/tsconfig.json +8 -1
  961. package/src/generated/AIModel.tsx +1 -1
  962. package/src/generated/ActivityFeed.tsx +1 -1
  963. package/src/generated/AddFile.tsx +1 -1
  964. package/src/generated/AllProducts.tsx +1 -1
  965. package/src/generated/AnalyticsNode.tsx +1 -1
  966. package/src/generated/Apps.tsx +1 -1
  967. package/src/generated/Array.tsx +1 -1
  968. package/src/generated/ArrowDown.tsx +1 -1
  969. package/src/generated/ArrowLeft.tsx +1 -1
  970. package/src/generated/ArrowRight.tsx +1 -1
  971. package/src/generated/ArrowUp.tsx +1 -1
  972. package/src/generated/Award.tsx +39 -0
  973. package/src/generated/Beaker.tsx +1 -1
  974. package/src/generated/Bell.tsx +1 -1
  975. package/src/generated/Biometric.tsx +1 -1
  976. package/src/generated/Boolean.tsx +1 -1
  977. package/src/generated/Building.tsx +1 -1
  978. package/src/generated/Bulb.tsx +1 -1
  979. package/src/generated/Calendar.tsx +1 -1
  980. package/src/generated/Camera.tsx +1 -1
  981. package/src/generated/Cap.tsx +1 -1
  982. package/src/generated/CaretDown.tsx +1 -1
  983. package/src/generated/CaretLeft.tsx +1 -1
  984. package/src/generated/CaretRight.tsx +1 -1
  985. package/src/generated/CaretUp.tsx +1 -1
  986. package/src/generated/ChartFilled.tsx +1 -1
  987. package/src/generated/Charts.tsx +1 -1
  988. package/src/generated/Checkmark.tsx +1 -1
  989. package/src/generated/CheckmarkWithCircle.tsx +1 -1
  990. package/src/generated/ChevronDown.tsx +1 -1
  991. package/src/generated/ChevronLeft.tsx +1 -1
  992. package/src/generated/ChevronRight.tsx +1 -1
  993. package/src/generated/ChevronUp.tsx +1 -1
  994. package/src/generated/Circle.tsx +1 -1
  995. package/src/generated/Clock.tsx +1 -1
  996. package/src/generated/ClockWithArrow.tsx +1 -1
  997. package/src/generated/Clone.tsx +1 -1
  998. package/src/generated/Cloud.tsx +1 -1
  999. package/src/generated/Code.tsx +1 -1
  1000. package/src/generated/CodeBlock.tsx +1 -1
  1001. package/src/generated/Coin.tsx +1 -1
  1002. package/src/generated/Colon.tsx +1 -1
  1003. package/src/generated/Config.tsx +1 -1
  1004. package/src/generated/Connect.tsx +1 -1
  1005. package/src/generated/Copy.tsx +1 -1
  1006. package/src/generated/CreditCard.tsx +1 -1
  1007. package/src/generated/CurlyBraces.tsx +1 -1
  1008. package/src/generated/Cursor.tsx +1 -1
  1009. package/src/generated/Dashboard.tsx +1 -1
  1010. package/src/generated/Database.tsx +1 -1
  1011. package/src/generated/Diagram.tsx +1 -1
  1012. package/src/generated/Diagram2.tsx +1 -1
  1013. package/src/generated/Diagram3.tsx +1 -1
  1014. package/src/generated/Disconnect.tsx +1 -1
  1015. package/src/generated/Download.tsx +1 -1
  1016. package/src/generated/Drag.tsx +1 -1
  1017. package/src/generated/Edit.tsx +1 -1
  1018. package/src/generated/Ellipsis.tsx +1 -1
  1019. package/src/generated/Email.tsx +1 -1
  1020. package/src/generated/EmptyDatabase.tsx +1 -1
  1021. package/src/generated/EmptyFolder.tsx +1 -1
  1022. package/src/generated/Eraser.tsx +1 -1
  1023. package/src/generated/Escalation.tsx +1 -1
  1024. package/src/generated/Export.tsx +1 -1
  1025. package/src/generated/Favorite.tsx +1 -1
  1026. package/src/generated/Federation.tsx +1 -1
  1027. package/src/generated/File.tsx +1 -1
  1028. package/src/generated/Filter.tsx +1 -1
  1029. package/src/generated/Folder.tsx +1 -1
  1030. package/src/generated/Format.tsx +1 -1
  1031. package/src/generated/FullScreenEnter.tsx +1 -1
  1032. package/src/generated/FullScreenExit.tsx +1 -1
  1033. package/src/generated/Function.tsx +1 -1
  1034. package/src/generated/Gauge.tsx +1 -1
  1035. package/src/generated/GlobeAmericas.tsx +1 -1
  1036. package/src/generated/GovernmentBuilding.tsx +1 -1
  1037. package/src/generated/Guide.tsx +1 -1
  1038. package/src/generated/Hash.tsx +1 -1
  1039. package/src/generated/HiddenSecondaryNode.tsx +1 -1
  1040. package/src/generated/Highlight.tsx +1 -1
  1041. package/src/generated/Home.tsx +1 -1
  1042. package/src/generated/HorizontalDrag.tsx +1 -1
  1043. package/src/generated/Import.tsx +1 -1
  1044. package/src/generated/ImportantWithCircle.tsx +1 -1
  1045. package/src/generated/InfoWithCircle.tsx +1 -1
  1046. package/src/generated/InternalEmployee.tsx +1 -1
  1047. package/src/generated/InviteUser.tsx +1 -1
  1048. package/src/generated/Key.tsx +1 -1
  1049. package/src/generated/Laptop.tsx +1 -1
  1050. package/src/generated/LightningBolt.tsx +1 -1
  1051. package/src/generated/Link.tsx +1 -1
  1052. package/src/generated/List.tsx +1 -1
  1053. package/src/generated/Lock.tsx +1 -1
  1054. package/src/generated/LogIn.tsx +1 -1
  1055. package/src/generated/LogOut.tsx +1 -1
  1056. package/src/generated/MagnifyingGlass.tsx +1 -1
  1057. package/src/generated/Megaphone.tsx +1 -1
  1058. package/src/generated/Menu.tsx +1 -1
  1059. package/src/generated/Minus.tsx +1 -1
  1060. package/src/generated/Mobile.tsx +1 -1
  1061. package/src/generated/Moon.tsx +1 -1
  1062. package/src/generated/MultiDirectionArrow.tsx +1 -1
  1063. package/src/generated/MultiLayers.tsx +1 -1
  1064. package/src/generated/NavCollapse.tsx +1 -1
  1065. package/src/generated/NavExpand.tsx +1 -1
  1066. package/src/generated/NoFilter.tsx +1 -1
  1067. package/src/generated/NotAllowed.tsx +1 -1
  1068. package/src/generated/Note.tsx +1 -1
  1069. package/src/generated/NumberedList.tsx +1 -1
  1070. package/src/generated/OpenNewTab.tsx +1 -1
  1071. package/src/generated/OutlineFavorite.tsx +1 -1
  1072. package/src/generated/Package.tsx +1 -1
  1073. package/src/generated/Pause.tsx +1 -1
  1074. package/src/generated/Pending.tsx +1 -1
  1075. package/src/generated/Person.tsx +1 -1
  1076. package/src/generated/PersonGroup.tsx +1 -1
  1077. package/src/generated/PersonWithLock.tsx +1 -1
  1078. package/src/generated/Pin.tsx +1 -1
  1079. package/src/generated/Play.tsx +1 -1
  1080. package/src/generated/Plus.tsx +1 -1
  1081. package/src/generated/PlusWithCircle.tsx +1 -1
  1082. package/src/generated/Primary.tsx +1 -1
  1083. package/src/generated/Project.tsx +1 -1
  1084. package/src/generated/QuestionMarkWithCircle.tsx +1 -1
  1085. package/src/generated/Read.tsx +1 -1
  1086. package/src/generated/Recommended.tsx +1 -1
  1087. package/src/generated/Redo.tsx +1 -1
  1088. package/src/generated/Refresh.tsx +1 -1
  1089. package/src/generated/Relationship.tsx +1 -1
  1090. package/src/generated/ReplicaSet.tsx +1 -1
  1091. package/src/generated/Resize.tsx +1 -1
  1092. package/src/generated/Resource.tsx +1 -1
  1093. package/src/generated/Return.tsx +1 -1
  1094. package/src/generated/Revert.tsx +1 -1
  1095. package/src/generated/Router.tsx +1 -1
  1096. package/src/generated/SMS.tsx +1 -1
  1097. package/src/generated/Save.tsx +1 -1
  1098. package/src/generated/SearchIndex.tsx +1 -1
  1099. package/src/generated/Secondary.tsx +1 -1
  1100. package/src/generated/Serverless.tsx +1 -1
  1101. package/src/generated/Settings.tsx +1 -1
  1102. package/src/generated/ShardedCluster.tsx +1 -1
  1103. package/src/generated/Shell.tsx +1 -1
  1104. package/src/generated/Shield.tsx +1 -1
  1105. package/src/generated/Shirt.tsx +1 -1
  1106. package/src/generated/Shortcut.tsx +1 -1
  1107. package/src/generated/SortAscending.tsx +1 -1
  1108. package/src/generated/SortDescending.tsx +1 -1
  1109. package/src/generated/Sparkle.tsx +1 -1
  1110. package/src/generated/SplitHorizontal.tsx +1 -1
  1111. package/src/generated/SplitVertical.tsx +1 -1
  1112. package/src/generated/Stitch.tsx +1 -1
  1113. package/src/generated/Stop.tsx +1 -1
  1114. package/src/generated/Streaming.tsx +1 -1
  1115. package/src/generated/String.tsx +1 -1
  1116. package/src/generated/Sun.tsx +1 -1
  1117. package/src/generated/Support.tsx +1 -1
  1118. package/src/generated/Sweep.tsx +1 -1
  1119. package/src/generated/Table.tsx +1 -1
  1120. package/src/generated/Tag.tsx +1 -1
  1121. package/src/generated/TemporaryTable.tsx +1 -1
  1122. package/src/generated/ThumbsDown.tsx +1 -1
  1123. package/src/generated/ThumbsUp.tsx +1 -1
  1124. package/src/generated/TimeSeries.tsx +1 -1
  1125. package/src/generated/TimeSeriesCollection.tsx +1 -1
  1126. package/src/generated/Trash.tsx +1 -1
  1127. package/src/generated/Undo.tsx +1 -1
  1128. package/src/generated/University.tsx +1 -1
  1129. package/src/generated/Unlock.tsx +1 -1
  1130. package/src/generated/Unsorted.tsx +1 -1
  1131. package/src/generated/UpDownCarets.tsx +1 -1
  1132. package/src/generated/Upload.tsx +1 -1
  1133. package/src/generated/VerticalEllipsis.tsx +1 -1
  1134. package/src/generated/View.tsx +1 -1
  1135. package/src/generated/Visibility.tsx +1 -1
  1136. package/src/generated/VisibilityOff.tsx +1 -1
  1137. package/src/generated/Warning.tsx +1 -1
  1138. package/src/generated/Wizard.tsx +1 -1
  1139. package/src/generated/Wrench.tsx +1 -1
  1140. package/src/generated/Write.tsx +1 -1
  1141. package/src/generated/X.tsx +1 -1
  1142. package/src/generated/XWithCircle.tsx +1 -1
  1143. package/src/glyphs/Award.svg +4 -0
  1144. package/src/glyphs/index.ts +2 -0
  1145. package/stories.js +1 -1
  1146. package/tsconfig.json +8 -2
  1147. package/dist/types/Icon.d.ts.map +0 -1
  1148. package/dist/types/createGlyphComponent.d.ts.map +0 -1
  1149. package/dist/types/createIconComponent.d.ts.map +0 -1
  1150. package/dist/types/generated/AIModel.d.ts.map +0 -1
  1151. package/dist/types/generated/ActivityFeed.d.ts.map +0 -1
  1152. package/dist/types/generated/AddFile.d.ts.map +0 -1
  1153. package/dist/types/generated/AllProducts.d.ts.map +0 -1
  1154. package/dist/types/generated/AnalyticsNode.d.ts.map +0 -1
  1155. package/dist/types/generated/Apps.d.ts.map +0 -1
  1156. package/dist/types/generated/Array.d.ts.map +0 -1
  1157. package/dist/types/generated/ArrowDown.d.ts.map +0 -1
  1158. package/dist/types/generated/ArrowLeft.d.ts.map +0 -1
  1159. package/dist/types/generated/ArrowRight.d.ts.map +0 -1
  1160. package/dist/types/generated/ArrowUp.d.ts.map +0 -1
  1161. package/dist/types/generated/Beaker.d.ts.map +0 -1
  1162. package/dist/types/generated/Bell.d.ts.map +0 -1
  1163. package/dist/types/generated/Biometric.d.ts.map +0 -1
  1164. package/dist/types/generated/Boolean.d.ts.map +0 -1
  1165. package/dist/types/generated/Building.d.ts.map +0 -1
  1166. package/dist/types/generated/Bulb.d.ts.map +0 -1
  1167. package/dist/types/generated/Calendar.d.ts.map +0 -1
  1168. package/dist/types/generated/Camera.d.ts.map +0 -1
  1169. package/dist/types/generated/Cap.d.ts.map +0 -1
  1170. package/dist/types/generated/CaretDown.d.ts.map +0 -1
  1171. package/dist/types/generated/CaretLeft.d.ts.map +0 -1
  1172. package/dist/types/generated/CaretRight.d.ts.map +0 -1
  1173. package/dist/types/generated/CaretUp.d.ts.map +0 -1
  1174. package/dist/types/generated/ChartFilled.d.ts.map +0 -1
  1175. package/dist/types/generated/Charts.d.ts.map +0 -1
  1176. package/dist/types/generated/Checkmark.d.ts.map +0 -1
  1177. package/dist/types/generated/CheckmarkWithCircle.d.ts.map +0 -1
  1178. package/dist/types/generated/ChevronDown.d.ts.map +0 -1
  1179. package/dist/types/generated/ChevronLeft.d.ts.map +0 -1
  1180. package/dist/types/generated/ChevronRight.d.ts.map +0 -1
  1181. package/dist/types/generated/ChevronUp.d.ts.map +0 -1
  1182. package/dist/types/generated/Circle.d.ts.map +0 -1
  1183. package/dist/types/generated/Clock.d.ts.map +0 -1
  1184. package/dist/types/generated/ClockWithArrow.d.ts.map +0 -1
  1185. package/dist/types/generated/Clone.d.ts.map +0 -1
  1186. package/dist/types/generated/Cloud.d.ts.map +0 -1
  1187. package/dist/types/generated/Code.d.ts.map +0 -1
  1188. package/dist/types/generated/CodeBlock.d.ts.map +0 -1
  1189. package/dist/types/generated/Coin.d.ts.map +0 -1
  1190. package/dist/types/generated/Colon.d.ts.map +0 -1
  1191. package/dist/types/generated/Config.d.ts.map +0 -1
  1192. package/dist/types/generated/Connect.d.ts.map +0 -1
  1193. package/dist/types/generated/Copy.d.ts.map +0 -1
  1194. package/dist/types/generated/CreditCard.d.ts.map +0 -1
  1195. package/dist/types/generated/CurlyBraces.d.ts.map +0 -1
  1196. package/dist/types/generated/Cursor.d.ts.map +0 -1
  1197. package/dist/types/generated/Dashboard.d.ts.map +0 -1
  1198. package/dist/types/generated/Database.d.ts.map +0 -1
  1199. package/dist/types/generated/Diagram.d.ts.map +0 -1
  1200. package/dist/types/generated/Diagram2.d.ts.map +0 -1
  1201. package/dist/types/generated/Diagram3.d.ts.map +0 -1
  1202. package/dist/types/generated/Disconnect.d.ts.map +0 -1
  1203. package/dist/types/generated/Download.d.ts.map +0 -1
  1204. package/dist/types/generated/Drag.d.ts.map +0 -1
  1205. package/dist/types/generated/Edit.d.ts.map +0 -1
  1206. package/dist/types/generated/Ellipsis.d.ts.map +0 -1
  1207. package/dist/types/generated/Email.d.ts.map +0 -1
  1208. package/dist/types/generated/EmptyDatabase.d.ts.map +0 -1
  1209. package/dist/types/generated/EmptyFolder.d.ts.map +0 -1
  1210. package/dist/types/generated/Eraser.d.ts.map +0 -1
  1211. package/dist/types/generated/Escalation.d.ts.map +0 -1
  1212. package/dist/types/generated/Export.d.ts.map +0 -1
  1213. package/dist/types/generated/Favorite.d.ts.map +0 -1
  1214. package/dist/types/generated/Federation.d.ts.map +0 -1
  1215. package/dist/types/generated/File.d.ts.map +0 -1
  1216. package/dist/types/generated/Filter.d.ts.map +0 -1
  1217. package/dist/types/generated/Folder.d.ts.map +0 -1
  1218. package/dist/types/generated/Format.d.ts.map +0 -1
  1219. package/dist/types/generated/FullScreenEnter.d.ts.map +0 -1
  1220. package/dist/types/generated/FullScreenExit.d.ts.map +0 -1
  1221. package/dist/types/generated/Function.d.ts.map +0 -1
  1222. package/dist/types/generated/Gauge.d.ts.map +0 -1
  1223. package/dist/types/generated/GlobeAmericas.d.ts.map +0 -1
  1224. package/dist/types/generated/GovernmentBuilding.d.ts.map +0 -1
  1225. package/dist/types/generated/Guide.d.ts.map +0 -1
  1226. package/dist/types/generated/Hash.d.ts.map +0 -1
  1227. package/dist/types/generated/HiddenSecondaryNode.d.ts.map +0 -1
  1228. package/dist/types/generated/Highlight.d.ts.map +0 -1
  1229. package/dist/types/generated/Home.d.ts.map +0 -1
  1230. package/dist/types/generated/HorizontalDrag.d.ts.map +0 -1
  1231. package/dist/types/generated/Import.d.ts.map +0 -1
  1232. package/dist/types/generated/ImportantWithCircle.d.ts.map +0 -1
  1233. package/dist/types/generated/InfoWithCircle.d.ts.map +0 -1
  1234. package/dist/types/generated/InternalEmployee.d.ts.map +0 -1
  1235. package/dist/types/generated/InviteUser.d.ts.map +0 -1
  1236. package/dist/types/generated/Key.d.ts.map +0 -1
  1237. package/dist/types/generated/Laptop.d.ts.map +0 -1
  1238. package/dist/types/generated/LightningBolt.d.ts.map +0 -1
  1239. package/dist/types/generated/Link.d.ts.map +0 -1
  1240. package/dist/types/generated/List.d.ts.map +0 -1
  1241. package/dist/types/generated/Lock.d.ts.map +0 -1
  1242. package/dist/types/generated/LogIn.d.ts.map +0 -1
  1243. package/dist/types/generated/LogOut.d.ts.map +0 -1
  1244. package/dist/types/generated/MagnifyingGlass.d.ts.map +0 -1
  1245. package/dist/types/generated/Megaphone.d.ts.map +0 -1
  1246. package/dist/types/generated/Menu.d.ts.map +0 -1
  1247. package/dist/types/generated/Minus.d.ts.map +0 -1
  1248. package/dist/types/generated/Mobile.d.ts.map +0 -1
  1249. package/dist/types/generated/Moon.d.ts.map +0 -1
  1250. package/dist/types/generated/MultiDirectionArrow.d.ts.map +0 -1
  1251. package/dist/types/generated/MultiLayers.d.ts.map +0 -1
  1252. package/dist/types/generated/NavCollapse.d.ts.map +0 -1
  1253. package/dist/types/generated/NavExpand.d.ts.map +0 -1
  1254. package/dist/types/generated/NoFilter.d.ts.map +0 -1
  1255. package/dist/types/generated/NotAllowed.d.ts.map +0 -1
  1256. package/dist/types/generated/Note.d.ts.map +0 -1
  1257. package/dist/types/generated/NumberedList.d.ts.map +0 -1
  1258. package/dist/types/generated/OpenNewTab.d.ts.map +0 -1
  1259. package/dist/types/generated/OutlineFavorite.d.ts.map +0 -1
  1260. package/dist/types/generated/Package.d.ts.map +0 -1
  1261. package/dist/types/generated/Pause.d.ts.map +0 -1
  1262. package/dist/types/generated/Pending.d.ts.map +0 -1
  1263. package/dist/types/generated/Person.d.ts.map +0 -1
  1264. package/dist/types/generated/PersonGroup.d.ts.map +0 -1
  1265. package/dist/types/generated/PersonWithLock.d.ts.map +0 -1
  1266. package/dist/types/generated/Pin.d.ts.map +0 -1
  1267. package/dist/types/generated/Play.d.ts.map +0 -1
  1268. package/dist/types/generated/Plus.d.ts.map +0 -1
  1269. package/dist/types/generated/PlusWithCircle.d.ts.map +0 -1
  1270. package/dist/types/generated/Primary.d.ts.map +0 -1
  1271. package/dist/types/generated/Project.d.ts.map +0 -1
  1272. package/dist/types/generated/QuestionMarkWithCircle.d.ts.map +0 -1
  1273. package/dist/types/generated/Read.d.ts.map +0 -1
  1274. package/dist/types/generated/Recommended.d.ts.map +0 -1
  1275. package/dist/types/generated/Redo.d.ts.map +0 -1
  1276. package/dist/types/generated/Refresh.d.ts.map +0 -1
  1277. package/dist/types/generated/Relationship.d.ts.map +0 -1
  1278. package/dist/types/generated/ReplicaSet.d.ts.map +0 -1
  1279. package/dist/types/generated/Resize.d.ts.map +0 -1
  1280. package/dist/types/generated/Resource.d.ts.map +0 -1
  1281. package/dist/types/generated/Return.d.ts.map +0 -1
  1282. package/dist/types/generated/Revert.d.ts.map +0 -1
  1283. package/dist/types/generated/Router.d.ts.map +0 -1
  1284. package/dist/types/generated/SMS.d.ts.map +0 -1
  1285. package/dist/types/generated/Save.d.ts.map +0 -1
  1286. package/dist/types/generated/SearchIndex.d.ts.map +0 -1
  1287. package/dist/types/generated/Secondary.d.ts.map +0 -1
  1288. package/dist/types/generated/Serverless.d.ts.map +0 -1
  1289. package/dist/types/generated/Settings.d.ts.map +0 -1
  1290. package/dist/types/generated/ShardedCluster.d.ts.map +0 -1
  1291. package/dist/types/generated/Shell.d.ts.map +0 -1
  1292. package/dist/types/generated/Shield.d.ts.map +0 -1
  1293. package/dist/types/generated/Shirt.d.ts.map +0 -1
  1294. package/dist/types/generated/Shortcut.d.ts.map +0 -1
  1295. package/dist/types/generated/SortAscending.d.ts.map +0 -1
  1296. package/dist/types/generated/SortDescending.d.ts.map +0 -1
  1297. package/dist/types/generated/Sparkle.d.ts.map +0 -1
  1298. package/dist/types/generated/SplitHorizontal.d.ts.map +0 -1
  1299. package/dist/types/generated/SplitVertical.d.ts.map +0 -1
  1300. package/dist/types/generated/Stitch.d.ts.map +0 -1
  1301. package/dist/types/generated/Stop.d.ts.map +0 -1
  1302. package/dist/types/generated/Streaming.d.ts.map +0 -1
  1303. package/dist/types/generated/String.d.ts.map +0 -1
  1304. package/dist/types/generated/Sun.d.ts.map +0 -1
  1305. package/dist/types/generated/Support.d.ts.map +0 -1
  1306. package/dist/types/generated/Sweep.d.ts.map +0 -1
  1307. package/dist/types/generated/Table.d.ts.map +0 -1
  1308. package/dist/types/generated/Tag.d.ts.map +0 -1
  1309. package/dist/types/generated/TemporaryTable.d.ts.map +0 -1
  1310. package/dist/types/generated/ThumbsDown.d.ts.map +0 -1
  1311. package/dist/types/generated/ThumbsUp.d.ts.map +0 -1
  1312. package/dist/types/generated/TimeSeries.d.ts.map +0 -1
  1313. package/dist/types/generated/TimeSeriesCollection.d.ts.map +0 -1
  1314. package/dist/types/generated/Trash.d.ts.map +0 -1
  1315. package/dist/types/generated/Undo.d.ts.map +0 -1
  1316. package/dist/types/generated/University.d.ts.map +0 -1
  1317. package/dist/types/generated/Unlock.d.ts.map +0 -1
  1318. package/dist/types/generated/Unsorted.d.ts.map +0 -1
  1319. package/dist/types/generated/UpDownCarets.d.ts.map +0 -1
  1320. package/dist/types/generated/Upload.d.ts.map +0 -1
  1321. package/dist/types/generated/VerticalEllipsis.d.ts.map +0 -1
  1322. package/dist/types/generated/View.d.ts.map +0 -1
  1323. package/dist/types/generated/Visibility.d.ts.map +0 -1
  1324. package/dist/types/generated/VisibilityOff.d.ts.map +0 -1
  1325. package/dist/types/generated/Warning.d.ts.map +0 -1
  1326. package/dist/types/generated/Wizard.d.ts.map +0 -1
  1327. package/dist/types/generated/Wrench.d.ts.map +0 -1
  1328. package/dist/types/generated/Write.d.ts.map +0 -1
  1329. package/dist/types/generated/X.d.ts.map +0 -1
  1330. package/dist/types/generated/XWithCircle.d.ts.map +0 -1
  1331. package/dist/types/glyphCommon.d.ts.map +0 -1
  1332. package/dist/types/index.d.ts.map +0 -1
  1333. package/dist/types/isComponentGlyph.d.ts.map +0 -1
  1334. package/dist/types/types/LGGlyph.d.ts.map +0 -1
  1335. package/dist/types/types/SVGR.d.ts.map +0 -1
  1336. package/dist/types/types/index.d.ts.map +0 -1
  1337. /package/dist/types/{Icon.d.ts → src/Icon.d.ts} +0 -0
  1338. /package/dist/types/{createGlyphComponent.d.ts → src/createGlyphComponent.d.ts} +0 -0
  1339. /package/dist/types/{createIconComponent.d.ts → src/createIconComponent.d.ts} +0 -0
  1340. /package/dist/types/{glyphCommon.d.ts → src/glyphCommon.d.ts} +0 -0
  1341. /package/dist/types/{index.d.ts → src/index.d.ts} +0 -0
  1342. /package/dist/types/{isComponentGlyph.d.ts → src/isComponentGlyph.d.ts} +0 -0
  1343. /package/dist/types/{types → src/types}/LGGlyph.d.ts +0 -0
  1344. /package/dist/types/{types → src/types}/SVGR.d.ts +0 -0
  1345. /package/dist/types/{types → src/types}/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronLeft.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 130b5bdebe029583f2657731070cf1bb\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronLeftProps extends LGGlyph.ComponentProps {}\nconst ChevronLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronLeft', {\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.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z\" fill={'currentColor'} /></svg>;\n};\nChevronLeft.displayName = 'ChevronLeft';\nChevronLeft.isGlyph = true;\nexport default ChevronLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronLeft","_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":"65CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAc,SAAqBC,GACrC,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,cAAeU,EAAgBA,EAAgB,CACjGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,4XACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
1
+ {"version":3,"file":"ChevronLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronLeft.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 5444da9be0e89e3f3d390f0bd7926b0d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronLeftProps extends LGGlyph.ComponentProps {}\nconst ChevronLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronLeft', {\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.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z\" fill={'currentColor'} /></svg>;\n};\nChevronLeft.displayName = 'ChevronLeft';\nChevronLeft.isGlyph = true;\nexport default ChevronLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronLeft","_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","cl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V,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,4XACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronRight.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 packages/icon/scripts/prebuild/index.ts\n* @checksum a737d74547b63003e7eff842bd85bd63\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronRightProps extends LGGlyph.ComponentProps {}\nconst ChevronRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronRight', {\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=\"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z\" fill={'currentColor'} /></svg>;\n};\nChevronRight.displayName = 'ChevronRight';\nChevronRight.isGlyph = true;\nexport default ChevronRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronRight","_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":"g6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO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B,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yXACH1B,KAAM,iBAEV,SACAR,EAAamC,YAAc,eAC3BnC,EAAaoC,SAAU"}
1
+ {"version":3,"file":"ChevronRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronRight.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 6ec742d69871f2bbffb75372664491dd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronRightProps extends LGGlyph.ComponentProps {}\nconst ChevronRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronRight', {\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=\"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z\" fill={'currentColor'} /></svg>;\n};\nChevronRight.displayName = 'ChevronRight';\nChevronRight.isGlyph = true;\nexport default ChevronRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronRight","_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":"g6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAe,SAAsBC,GACvC,IA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c,eAC3BnC,EAAaoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronUp.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 packages/icon/scripts/prebuild/index.ts\n* @checksum d2d36d66b26210920e4b261cec7c1baa\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronUpProps extends LGGlyph.ComponentProps {}\nconst ChevronUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronUp', {\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.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z\" fill={'currentColor'} /></svg>;\n};\nChevronUp.displayName = 'ChevronUp';\nChevronUp.isGlyph = true;\nexport default ChevronUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronUp","_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":"u5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EA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.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 9bfc344d3f66954ab067b2bb6ea7edfc\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronUpProps extends LGGlyph.ComponentProps {}\nconst ChevronUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronUp', {\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.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z\" fill={'currentColor'} /></svg>;\n};\nChevronUp.displayName = 'ChevronUp';\nChevronUp.isGlyph = true;\nexport default ChevronUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronUp","_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":"u5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,YAAaU,EAAgBA,EAAgB,CAC/Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,2XACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.js","sources":["../../src/glyphCommon.ts","../../src/generated/Circle.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 55b3280fe32c377f2e7b35dc011a71c9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CircleProps extends LGGlyph.ComponentProps {}\nconst Circle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Circle', {\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\"><circle cx={8} cy={8} r={7} fill={'currentColor'} /></svg>;\n};\nCircle.displayName = 'Circle';\nCircle.isGlyph = true;\nexport default Circle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Circle","_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","cy","r","displayName","isGlyph"],"mappings":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,SAAU,CAC7CE,GAAI,EACJI,GAAI,EACJC,EAAG,EACHzB,KAAM,iBAEV,SACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
1
+ {"version":3,"file":"Circle.js","sources":["../../src/glyphCommon.ts","../../src/generated/Circle.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 packages/icon/scripts/prebuild/index.ts\n* @checksum a950b38cb619a1cdb436dad240eb9cf8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CircleProps extends LGGlyph.ComponentProps {}\nconst Circle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Circle', {\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\"><circle cx={8} cy={8} r={7} fill={'currentColor'} /></svg>;\n};\nCircle.displayName = 'Circle';\nCircle.isGlyph = true;\nexport default Circle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Circle","_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","cy","r","displayName","isGlyph"],"mappings":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,G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LO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,SAAU,CAC7CE,GAAI,EACJI,GAAI,EACJC,EAAG,EACHzB,KAAM,iBAEV,SACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
package/dist/Clock.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Clock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clock.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 39909015498d726c92044b1c5afff04c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockProps extends LGGlyph.ComponentProps {}\nconst Clock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clock', {\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 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z\" fill={'currentColor'} /></svg>;\n};\nClock.displayName = 'Clock';\nClock.isGlyph = true;\nexport default Clock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clock","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OA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ACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,scACH1B,KAAM,iBAEV,SACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
1
+ {"version":3,"file":"Clock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clock.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 5dc204fc4778ac9ba8973f3fbc8da924\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockProps extends LGGlyph.ComponentProps {}\nconst Clock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clock', {\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 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z\" fill={'currentColor'} /></svg>;\n};\nClock.displayName = 'Clock';\nClock.isGlyph = true;\nexport default Clock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clock","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAA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AG,scACH1B,KAAM,iBAEV,SACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClockWithArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/ClockWithArrow.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 03c03a2612e60cdfbb1b3da1df48cab2\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockWithArrowProps extends LGGlyph.ComponentProps {}\nconst ClockWithArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockWithArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ClockWithArrow', {\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=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /><path d=\"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z\" fill={'currentColor'} /></svg>;\n};\nClockWithArrow.displayName = 'ClockWithArrow';\nClockWithArrow.isGlyph = true;\nexport default ClockWithArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ClockWithArrow","_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":"s6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,6iBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8VACHxB,KAAM,iBAEV,SACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
1
+ {"version":3,"file":"ClockWithArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/ClockWithArrow.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 packages/icon/scripts/prebuild/index.ts\n* @checksum c3956cabeb4410daaf7e46c983e227d6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockWithArrowProps extends LGGlyph.ComponentProps {}\nconst ClockWithArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockWithArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ClockWithArrow', {\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=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /><path d=\"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z\" fill={'currentColor'} /></svg>;\n};\nClockWithArrow.displayName = 'ClockWithArrow';\nClockWithArrow.isGlyph = true;\nexport default ClockWithArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ClockWithArrow","_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":"s6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,6iBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8VACHxB,KAAM,iBAEV,SACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
package/dist/Clone.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Clone.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clone.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 03777b76de1f27a7f17b7482c94e0cf4\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CloneProps extends LGGlyph.ComponentProps {}\nconst Clone = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CloneProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clone', {\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=\"M5.5 12C5.5 13.1046 6.39543 14 7.5 14H12.5C13.6046 14 14.5 13.1046 14.5 12V8C14.5 6.89543 13.6046 6 12.5 6H7.5C6.39543 6 5.5 6.89543 5.5 8V12Z\" fill={'currentColor'} /><path d=\"M4.25 10H3.5C2.39543 10 1.5 9.10457 1.5 8V4C1.5 2.89543 2.39543 2 3.5 2H8.5C9.60457 2 10.5 2.89543 10.5 4V4.75H8.5V4H3.5L3.5 8H4.25V10Z\" fill={'currentColor'} /></svg>;\n};\nClone.displayName = 'Clone';\nClone.isGlyph = true;\nexport default Clone;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clone","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,iJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0IACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
1
+ {"version":3,"file":"Clone.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clone.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 packages/icon/scripts/prebuild/index.ts\n* @checksum e8bf6f28ef7e5fa96b5090ffcd975ada\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CloneProps extends LGGlyph.ComponentProps {}\nconst Clone = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CloneProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clone', {\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=\"M5.5 12C5.5 13.1046 6.39543 14 7.5 14H12.5C13.6046 14 14.5 13.1046 14.5 12V8C14.5 6.89543 13.6046 6 12.5 6H7.5C6.39543 6 5.5 6.89543 5.5 8V12Z\" fill={'currentColor'} /><path d=\"M4.25 10H3.5C2.39543 10 1.5 9.10457 1.5 8V4C1.5 2.89543 2.39543 2 3.5 2H8.5C9.60457 2 10.5 2.89543 10.5 4V4.75H8.5V4H3.5L3.5 8H4.25V10Z\" fill={'currentColor'} /></svg>;\n};\nClone.displayName = 'Clone';\nClone.isGlyph = true;\nexport default Clone;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clone","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,iJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0IACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
package/dist/Cloud.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Cloud.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cloud.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 7d1bbcb89cb80371fc67e4c0e7ea7e7f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CloudProps extends LGGlyph.ComponentProps {}\nconst Cloud = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CloudProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cloud', {\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=\"M12.5714 8.14286C12.5714 9.91806 11.672 11.4832 10.304 12.4074L10.2902 12.4167C9.4721 12.9655 8.48773 13.2857 7.42857 13.2857L2.85714 13.2857C1.27919 13.2857 0 12.0065 0 10.4286C0 9.03717 0.994597 7.87807 2.31162 7.62345C2.57202 5.02705 4.76357 3 7.42857 3C9.67227 3 11.5804 4.43682 12.283 6.44054C12.4698 6.97334 12.5714 7.54624 12.5714 8.14286Z\" fill={'currentColor'} /><path d=\"M13.8214 8.14286C13.8214 10.1439 12.902 11.9302 11.4626 13.1025C11.8104 13.2213 12.1834 13.2857 12.5714 13.2857C14.465 13.2857 16 11.7507 16 9.85715C16 8.33414 15.007 7.04306 13.633 6.5961C13.7561 7.09139 13.8214 7.6095 13.8214 8.14286Z\" fill={'currentColor'} /></svg>;\n};\nCloud.displayName = 'Cloud';\nCloud.isGlyph = true;\nexport default Cloud;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cloud","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,6VACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+OACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
1
+ {"version":3,"file":"Cloud.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cloud.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 4127ef9e5bedeef0aadb54ec6c811248\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CloudProps extends LGGlyph.ComponentProps {}\nconst Cloud = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CloudProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cloud', {\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=\"M12.5714 8.14286C12.5714 9.91806 11.672 11.4832 10.304 12.4074L10.2902 12.4167C9.4721 12.9655 8.48773 13.2857 7.42857 13.2857L2.85714 13.2857C1.27919 13.2857 0 12.0065 0 10.4286C0 9.03717 0.994597 7.87807 2.31162 7.62345C2.57202 5.02705 4.76357 3 7.42857 3C9.67227 3 11.5804 4.43682 12.283 6.44054C12.4698 6.97334 12.5714 7.54624 12.5714 8.14286Z\" fill={'currentColor'} /><path d=\"M13.8214 8.14286C13.8214 10.1439 12.902 11.9302 11.4626 13.1025C11.8104 13.2213 12.1834 13.2857 12.5714 13.2857C14.465 13.2857 16 11.7507 16 9.85715C16 8.33414 15.007 7.04306 13.633 6.5961C13.7561 7.09139 13.8214 7.6095 13.8214 8.14286Z\" fill={'currentColor'} /></svg>;\n};\nCloud.displayName = 'Cloud';\nCloud.isGlyph = true;\nexport default Cloud;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cloud","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,6VACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+OACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
package/dist/Code.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Code.js","sources":["../../src/glyphCommon.ts","../../src/generated/Code.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 616c6a909df25f006540d0057ef79503\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CodeProps extends LGGlyph.ComponentProps {}\nconst Code = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CodeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Code', {\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=\"M6.10919 13.2623C6.05677 13.5335 6.23405 13.7959 6.50517 13.8484L7.24153 13.9908C7.51265 14.0433 7.77494 13.8659 7.82736 13.5946L9.92574 2.73775C9.97817 2.4665 9.80088 2.20409 9.52976 2.15164L8.7934 2.00919C8.52228 1.95674 8.25999 2.13411 8.20757 2.40536L6.10919 13.2623Z\" fill={'currentColor'} /><path d=\"M1.35982 7.24558L3.97571 5.11122C4.18784 4.93814 4.50313 4.9662 4.67991 5.17391L5.32009 5.92607C5.49687 6.13378 5.46821 6.44247 5.25607 6.61556L3.56205 7.99774L5.25607 9.37993C5.46821 9.55302 5.49687 9.86171 5.32009 10.0694L4.67991 10.8216C4.50313 11.0293 4.18784 11.0574 3.97571 10.8843L1.35982 8.74991C1.13182 8.56389 1 8.28832 1 7.99774C1 7.70717 1.13182 7.4316 1.35982 7.24558Z\" fill={'currentColor'} /><path d=\"M14.6362 7.24558L12.0203 5.11122C11.8082 4.93814 11.4929 4.9662 11.3161 5.17391L10.6759 5.92607C10.4991 6.13378 10.5278 6.44247 10.7399 6.61556L12.4339 7.99774L10.7399 9.37993C10.5278 9.55302 10.4991 9.86171 10.6759 10.0694L11.3161 10.8216C11.4929 11.0293 11.8082 11.0574 12.0203 10.8843L14.6362 8.74991C14.8642 8.56389 14.996 8.28832 14.996 7.99774C14.996 7.70717 14.8642 7.4316 14.6362 7.24558Z\" fill={'currentColor'} /></svg>;\n};\nCode.displayName = 'Code';\nCode.isGlyph = true;\nexport default Code;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Code","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,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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Content":["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 packages/icon/scripts/prebuild/index.ts\n* @checksum 82621678ecb1b412e288da4faf3e7024\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CodeProps extends LGGlyph.ComponentProps {}\nconst Code = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CodeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Code', {\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=\"M6.10919 13.2623C6.05677 13.5335 6.23405 13.7959 6.50517 13.8484L7.24153 13.9908C7.51265 14.0433 7.77494 13.8659 7.82736 13.5946L9.92574 2.73775C9.97817 2.4665 9.80088 2.20409 9.52976 2.15164L8.7934 2.00919C8.52228 1.95674 8.25999 2.13411 8.20757 2.40536L6.10919 13.2623Z\" fill={'currentColor'} /><path d=\"M1.35982 7.24558L3.97571 5.11122C4.18784 4.93814 4.50313 4.9662 4.67991 5.17391L5.32009 5.92607C5.49687 6.13378 5.46821 6.44247 5.25607 6.61556L3.56205 7.99774L5.25607 9.37993C5.46821 9.55302 5.49687 9.86171 5.32009 10.0694L4.67991 10.8216C4.50313 11.0293 4.18784 11.0574 3.97571 10.8843L1.35982 8.74991C1.13182 8.56389 1 8.28832 1 7.99774C1 7.70717 1.13182 7.4316 1.35982 7.24558Z\" fill={'currentColor'} /><path d=\"M14.6362 7.24558L12.0203 5.11122C11.8082 4.93814 11.4929 4.9662 11.3161 5.17391L10.6759 5.92607C10.4991 6.13378 10.5278 6.44247 10.7399 6.61556L12.4339 7.99774L10.7399 9.37993C10.5278 9.55302 10.4991 9.86171 10.6759 10.0694L11.3161 10.8216C11.4929 11.0293 11.8082 11.0574 12.0203 10.8843L14.6362 8.74991C14.8642 8.56389 14.996 8.28832 14.996 7.99774C14.996 7.70717 14.8642 7.4316 14.6362 7.24558Z\" fill={'currentColor'} /></svg>;\n};\nCode.displayName = 'Code';\nCode.isGlyph = true;\nexport default Code;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Code","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,kRACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gYACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+YACHxB,KAAM,iBAEV,SACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlock.js","sources":["../../src/glyphCommon.ts","../../src/generated/CodeBlock.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 3151d58419f6d78d65558bd27c18571f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CodeBlockProps extends LGGlyph.ComponentProps {}\nconst CodeBlock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CodeBlockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CodeBlock', {\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 4H3L3 12H13V4ZM3 2C1.89543 2 1 2.89543 1 4V12C1 13.1046 1.89543 14 3 14H13C14.1046 14 15 13.1046 15 12V4C15 2.89543 14.1046 2 13 2H3Z\" fill={'currentColor'} /><path d=\"M4.22142 7.42141L6.256 5.7796C6.42099 5.64646 6.66621 5.66804 6.80371 5.82782L7.30163 6.4064C7.43913 6.56618 7.41683 6.80364 7.25184 6.93678L5.93426 8L7.25184 9.06322C7.41683 9.19636 7.43913 9.43382 7.30163 9.59359L6.80371 10.1722C6.66621 10.332 6.42099 10.3535 6.256 10.2204L4.22142 8.57859C4.04409 8.4355 3.94156 8.22352 3.94156 8C3.94156 7.77648 4.04409 7.5645 4.22142 7.42141Z\" fill={'currentColor'} /><path d=\"M11.7786 7.42141L9.74399 5.7796C9.57899 5.64646 9.33377 5.66804 9.19628 5.82782L8.69836 6.4064C8.56086 6.56618 8.58315 6.80364 8.74815 6.93678L10.0657 8L8.74815 9.06322C8.58315 9.19636 8.56086 9.43382 8.69836 9.59359L9.19628 10.1722C9.33377 10.332 9.57899 10.3535 9.74399 10.2204L11.7786 8.57859C11.9559 8.4355 12.0584 8.22352 12.0584 8C12.0584 7.77648 11.9559 7.5645 11.7786 7.42141Z\" fill={'currentColor'} /></svg>;\n};\nCodeBlock.displayName = 'CodeBlock';\nCodeBlock.isGlyph = true;\nexport default CodeBlock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CodeBlock","_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":"u5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,YAAaU,EAAgBA,EAAgB,CAC/Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,4IACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,+XACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,mYACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"CodeBlock.js","sources":["../../src/glyphCommon.ts","../../src/generated/CodeBlock.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 42a4dd24d311bd41bb84a2d224455ae8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CodeBlockProps extends LGGlyph.ComponentProps {}\nconst CodeBlock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CodeBlockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CodeBlock', {\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 4H3L3 12H13V4ZM3 2C1.89543 2 1 2.89543 1 4V12C1 13.1046 1.89543 14 3 14H13C14.1046 14 15 13.1046 15 12V4C15 2.89543 14.1046 2 13 2H3Z\" fill={'currentColor'} /><path d=\"M4.22142 7.42141L6.256 5.7796C6.42099 5.64646 6.66621 5.66804 6.80371 5.82782L7.30163 6.4064C7.43913 6.56618 7.41683 6.80364 7.25184 6.93678L5.93426 8L7.25184 9.06322C7.41683 9.19636 7.43913 9.43382 7.30163 9.59359L6.80371 10.1722C6.66621 10.332 6.42099 10.3535 6.256 10.2204L4.22142 8.57859C4.04409 8.4355 3.94156 8.22352 3.94156 8C3.94156 7.77648 4.04409 7.5645 4.22142 7.42141Z\" fill={'currentColor'} /><path d=\"M11.7786 7.42141L9.74399 5.7796C9.57899 5.64646 9.33377 5.66804 9.19628 5.82782L8.69836 6.4064C8.56086 6.56618 8.58315 6.80364 8.74815 6.93678L10.0657 8L8.74815 9.06322C8.58315 9.19636 8.56086 9.43382 8.69836 9.59359L9.19628 10.1722C9.33377 10.332 9.57899 10.3535 9.74399 10.2204L11.7786 8.57859C11.9559 8.4355 12.0584 8.22352 12.0584 8C12.0584 7.77648 11.9559 7.5645 11.7786 7.42141Z\" fill={'currentColor'} /></svg>;\n};\nCodeBlock.displayName = 'CodeBlock';\nCodeBlock.isGlyph = true;\nexport default CodeBlock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CodeBlock","_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":"u5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,E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,EAAG,+XACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,mYACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
package/dist/Coin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Coin.js","sources":["../../src/glyphCommon.ts","../../src/generated/Coin.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 packages/icon/scripts/prebuild/index.ts\n* @checksum d0a77f3c78fa5413c93171d89b7e0fa6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CoinProps extends LGGlyph.ComponentProps {}\nconst Coin = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CoinProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Coin', {\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 1C4.13 1 1 4.13 1 8C1 11.87 4.13 15 8 15C11.87 15 15 11.87 15 8C15 4.13 11.87 1 8 1ZM10.29 10.41C10.2 10.67 10.06 10.87 9.86 11.02C9.66 11.17 9.4 11.27 9.08 11.33C8.82 11.38 8.51 11.41 8.16 11.42L8.06 12.49H6.95L7.05 11.39C7.05 11.39 6.98 11.39 6.94 11.39C6.53 11.36 6.05 11.29 5.52 11.17L5.61 10.08C6 10.08 6.33 10.1 6.62 10.11C6.91 10.11 7.15 10.12 7.36 10.12H7.89C8.15 10.12 8.35 10.1 8.5 10.07C8.65 10.04 8.76 9.97 8.82 9.88C8.88 9.79 8.91 9.65 8.91 9.46C8.91 9.3 8.89 9.17 8.84 9.08C8.8 8.98 8.73 8.9 8.63 8.85C8.54 8.79 8.41 8.74 8.24 8.69L6.87 8.21C6.35 8.02 5.98 7.76 5.76 7.45C5.55 7.14 5.44 6.72 5.44 6.21C5.44 5.81 5.49 5.49 5.58 5.24C5.67 4.99 5.82 4.79 6.02 4.65C6.23 4.51 6.49 4.41 6.81 4.36C7.09 4.31 7.42 4.29 7.79 4.29L7.89 3.38H9L8.89 4.33C8.95 4.33 8.99 4.33 9.05 4.33C9.44 4.36 9.83 4.44 10.2 4.55L10.1 5.56C9.81 5.56 9.47 5.55 9.08 5.54C8.69 5.54 8.31 5.53 7.94 5.53C7.76 5.53 7.61 5.53 7.48 5.55C7.35 5.55 7.25 5.58 7.17 5.63L7 5.82C6.97 5.91 6.95 6.03 6.95 6.18C6.95 6.41 7 6.58 7.11 6.69C7.22 6.8 7.42 6.89 7.69 6.98L8.98 7.41C9.52 7.6 9.9 7.85 10.11 8.17C10.32 8.49 10.43 8.91 10.43 9.43C10.43 9.82 10.38 10.15 10.29 10.41Z\" fill={'currentColor'} /></svg>;\n};\nCoin.displayName = 'Coin';\nCoin.isGlyph = true;\nexport default Coin;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Coin","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,koCACHxB,KAAM,iBAEV,SACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
1
+ {"version":3,"file":"Coin.js","sources":["../../src/glyphCommon.ts","../../src/generated/Coin.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 packages/icon/scripts/prebuild/index.ts\n* @checksum b9fcb5b3cf5d4939364057986a20c058\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CoinProps extends LGGlyph.ComponentProps {}\nconst Coin = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CoinProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Coin', {\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 1C4.13 1 1 4.13 1 8C1 11.87 4.13 15 8 15C11.87 15 15 11.87 15 8C15 4.13 11.87 1 8 1ZM10.29 10.41C10.2 10.67 10.06 10.87 9.86 11.02C9.66 11.17 9.4 11.27 9.08 11.33C8.82 11.38 8.51 11.41 8.16 11.42L8.06 12.49H6.95L7.05 11.39C7.05 11.39 6.98 11.39 6.94 11.39C6.53 11.36 6.05 11.29 5.52 11.17L5.61 10.08C6 10.08 6.33 10.1 6.62 10.11C6.91 10.11 7.15 10.12 7.36 10.12H7.89C8.15 10.12 8.35 10.1 8.5 10.07C8.65 10.04 8.76 9.97 8.82 9.88C8.88 9.79 8.91 9.65 8.91 9.46C8.91 9.3 8.89 9.17 8.84 9.08C8.8 8.98 8.73 8.9 8.63 8.85C8.54 8.79 8.41 8.74 8.24 8.69L6.87 8.21C6.35 8.02 5.98 7.76 5.76 7.45C5.55 7.14 5.44 6.72 5.44 6.21C5.44 5.81 5.49 5.49 5.58 5.24C5.67 4.99 5.82 4.79 6.02 4.65C6.23 4.51 6.49 4.41 6.81 4.36C7.09 4.31 7.42 4.29 7.79 4.29L7.89 3.38H9L8.89 4.33C8.95 4.33 8.99 4.33 9.05 4.33C9.44 4.36 9.83 4.44 10.2 4.55L10.1 5.56C9.81 5.56 9.47 5.55 9.08 5.54C8.69 5.54 8.31 5.53 7.94 5.53C7.76 5.53 7.61 5.53 7.48 5.55C7.35 5.55 7.25 5.58 7.17 5.63L7 5.82C6.97 5.91 6.95 6.03 6.95 6.18C6.95 6.41 7 6.58 7.11 6.69C7.22 6.8 7.42 6.89 7.69 6.98L8.98 7.41C9.52 7.6 9.9 7.85 10.11 8.17C10.32 8.49 10.43 8.91 10.43 9.43C10.43 9.82 10.38 10.15 10.29 10.41Z\" fill={'currentColor'} /></svg>;\n};\nCoin.displayName = 'Coin';\nCoin.isGlyph = true;\nexport default Coin;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Coin","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GAC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AAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,koCACHxB,KAAM,iBAEV,SACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
package/dist/Colon.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Colon.js","sources":["../../src/glyphCommon.ts","../../src/generated/Colon.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 packages/icon/scripts/prebuild/index.ts\n* @checksum f9ea6eef44ccf1ed9140a67800fd7508\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ColonProps extends LGGlyph.ComponentProps {}\nconst Colon = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ColonProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Colon', {\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=\"M10 4.5C10 5.60457 9.10457 6.5 8 6.5C6.89543 6.5 6 5.60457 6 4.5C6 3.39543 6.89543 2.5 8 2.5C9.10457 2.5 10 3.39543 10 4.5Z\" fill={'currentColor'} /><path d=\"M10 11.5C10 12.6046 9.10457 13.5 8 13.5C6.89543 13.5 6 12.6046 6 11.5C6 10.3954 6.89543 9.5 8 9.5C9.10457 9.5 10 10.3954 10 11.5Z\" fill={'currentColor'} /></svg>;\n};\nColon.displayName = 'Colon';\nColon.isGlyph = true;\nexport default Colon;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Colon","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,M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ommon.ts","../../src/generated/Colon.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 410ebea3d2386dd8263c26e8e6ec3c13\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ColonProps extends LGGlyph.ComponentProps {}\nconst Colon = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ColonProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Colon', {\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=\"M10 4.5C10 5.60457 9.10457 6.5 8 6.5C6.89543 6.5 6 5.60457 6 4.5C6 3.39543 6.89543 2.5 8 2.5C9.10457 2.5 10 3.39543 10 4.5Z\" fill={'currentColor'} /><path d=\"M10 11.5C10 12.6046 9.10457 13.5 8 13.5C6.89543 13.5 6 12.6046 6 11.5C6 10.3954 6.89543 9.5 8 9.5C9.10457 9.5 10 10.3954 10 11.5Z\" fill={'currentColor'} /></svg>;\n};\nColon.displayName = 'Colon';\nColon.isGlyph = true;\nexport default Colon;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Colon","_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":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,8HACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oIACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Config.js","sources":["../../src/glyphCommon.ts","../../src/generated/Config.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 528fb2295e40b457c01c234dabfb6f94\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ConfigProps extends LGGlyph.ComponentProps {}\nconst Config = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ConfigProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Config', {\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=\"M12.7 2.56989C12.41 2.56989 12.17 2.80989 12.17 3.09989V4.34989L11.32 3.49989C9.21 1.39989 5.75 1.51989 3.78 3.75989C2.65 5.03989 2.23 6.82989 2.68 8.48989C3.24 10.5299 4.98 12.0099 7.08 12.2299L8.1 12.3399C8.42 13.2799 9.3 13.9499 10.34 13.9499C11.65 13.9499 12.71 12.8899 12.71 11.5799C12.71 10.2699 11.65 9.20989 10.34 9.20989C9.14 9.20989 8.16 10.0999 8 11.2599L7.19 11.1799C5.53 11.0099 4.14 9.82989 3.7 8.21989C3.34 6.90989 3.67 5.48989 4.58 4.46989C6.15 2.68989 8.9 2.59989 10.57 4.26989L11.42 5.11989H10.17C9.88 5.11989 9.64 5.35989 9.64 5.64989C9.64 5.93989 9.88 6.17989 10.17 6.17989H12.71C13 6.17989 13.24 5.93989 13.24 5.64989V3.09989C13.24 2.80989 13 2.56989 12.71 2.56989H12.7ZM10.34 10.3099C11.04 10.3099 11.6 10.8799 11.6 11.5699C11.6 12.2599 11.03 12.8299 10.34 12.8299C9.65 12.8299 9.08 12.2599 9.08 11.5699C9.08 10.8799 9.65 10.3099 10.34 10.3099Z\" fill={'currentColor'} /></svg>;\n};\nConfig.displayName = 'Config';\nConfig.isGlyph = true;\nexport default Config;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Config","_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":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,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{"version":3,"file":"Config.js","sources":["../../src/glyphCommon.ts","../../src/generated/Config.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 packages/icon/scripts/prebuild/index.ts\n* @checksum dbf5dcda06b311660e85d0ab4df77830\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ConfigProps extends LGGlyph.ComponentProps {}\nconst Config = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ConfigProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Config', {\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=\"M12.7 2.56989C12.41 2.56989 12.17 2.80989 12.17 3.09989V4.34989L11.32 3.49989C9.21 1.39989 5.75 1.51989 3.78 3.75989C2.65 5.03989 2.23 6.82989 2.68 8.48989C3.24 10.5299 4.98 12.0099 7.08 12.2299L8.1 12.3399C8.42 13.2799 9.3 13.9499 10.34 13.9499C11.65 13.9499 12.71 12.8899 12.71 11.5799C12.71 10.2699 11.65 9.20989 10.34 9.20989C9.14 9.20989 8.16 10.0999 8 11.2599L7.19 11.1799C5.53 11.0099 4.14 9.82989 3.7 8.21989C3.34 6.90989 3.67 5.48989 4.58 4.46989C6.15 2.68989 8.9 2.59989 10.57 4.26989L11.42 5.11989H10.17C9.88 5.11989 9.64 5.35989 9.64 5.64989C9.64 5.93989 9.88 6.17989 10.17 6.17989H12.71C13 6.17989 13.24 5.93989 13.24 5.64989V3.09989C13.24 2.80989 13 2.56989 12.71 2.56989H12.7ZM10.34 10.3099C11.04 10.3099 11.6 10.8799 11.6 11.5699C11.6 12.2599 11.03 12.8299 10.34 12.8299C9.65 12.8299 9.08 12.2599 9.08 11.5699C9.08 10.8799 9.65 10.3099 10.34 10.3099Z\" fill={'currentColor'} /></svg>;\n};\nConfig.displayName = 'Config';\nConfig.isGlyph = true;\nexport default Config;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Config","_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"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B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,q2BACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Connect.js","sources":["../../src/glyphCommon.ts","../../src/generated/Connect.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 5d92db7ff9ce05becc1c2aba31cb993e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ConnectProps extends LGGlyph.ComponentProps {}\nconst Connect = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ConnectProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Connect', {\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=\"M12.8674 8.89755C14.165 7.59995 14.3939 5.63211 13.554 4.09804L14.8289 2.82315C15.057 2.59505 15.057 2.22522 14.8289 1.99712L14.0029 1.17108C13.7748 0.942981 13.405 0.942983 13.1769 1.17109L11.8867 2.4612C10.3625 1.66314 8.43194 1.90377 7.15275 3.18294L5.2772 5.05844C5.26266 5.06875 5.24879 5.08041 5.23576 5.09343L3.18162 7.14751C1.90122 8.42791 1.66139 10.3609 2.46214 11.8858L1.17108 13.1769C0.942974 13.405 0.942974 13.7748 1.17108 14.0029L1.99711 14.8289C2.22521 15.057 2.59504 15.057 2.82315 14.8289L4.10098 13.5511C5.63447 14.3882 7.59986 14.1585 8.89625 12.8621L10.7718 10.9866C10.7863 10.9763 10.8002 10.9646 10.8132 10.9516L12.8674 8.89755ZM6.56112 6.77578L4.68548 8.65134C3.9392 9.39765 3.9392 10.612 4.68548 11.3583C5.43176 12.1045 6.64608 12.1046 7.39242 11.3583L9.44653 9.3042C9.45953 9.2912 9.47337 9.27956 9.48788 9.26927L11.3635 7.39371C12.1098 6.64741 12.1098 5.4331 11.3635 4.68679C10.6172 3.94051 9.40292 3.94049 8.65658 4.68679L6.60247 6.74085C6.58947 6.75385 6.57563 6.7655 6.56112 6.77578Z\" fill={'currentColor'} /></svg>;\n};\nConnect.displayName = 'Connect';\nConnect.isGlyph = true;\nexport default Connect;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Connect","_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":"i5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,UAAWU,EAAgBA,EAAgB,CAC7Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,w/BACH1B,KAAM,iBAEV,SACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
1
+ {"version":3,"file":"Connect.js","sources":["../../src/glyphCommon.ts","../../src/generated/Connect.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 packages/icon/scripts/prebuild/index.ts\n* @checksum c3ae8cf2d0315ffa7864064654c332f5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ConnectProps extends LGGlyph.ComponentProps {}\nconst Connect = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ConnectProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Connect', {\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=\"M12.8674 8.89755C14.165 7.59995 14.3939 5.63211 13.554 4.09804L14.8289 2.82315C15.057 2.59505 15.057 2.22522 14.8289 1.99712L14.0029 1.17108C13.7748 0.942981 13.405 0.942983 13.1769 1.17109L11.8867 2.4612C10.3625 1.66314 8.43194 1.90377 7.15275 3.18294L5.2772 5.05844C5.26266 5.06875 5.24879 5.08041 5.23576 5.09343L3.18162 7.14751C1.90122 8.42791 1.66139 10.3609 2.46214 11.8858L1.17108 13.1769C0.942974 13.405 0.942974 13.7748 1.17108 14.0029L1.99711 14.8289C2.22521 15.057 2.59504 15.057 2.82315 14.8289L4.10098 13.5511C5.63447 14.3882 7.59986 14.1585 8.89625 12.8621L10.7718 10.9866C10.7863 10.9763 10.8002 10.9646 10.8132 10.9516L12.8674 8.89755ZM6.56112 6.77578L4.68548 8.65134C3.9392 9.39765 3.9392 10.612 4.68548 11.3583C5.43176 12.1045 6.64608 12.1046 7.39242 11.3583L9.44653 9.3042C9.45953 9.2912 9.47337 9.27956 9.48788 9.26927L11.3635 7.39371C12.1098 6.64741 12.1098 5.4331 11.3635 4.68679C10.6172 3.94051 9.40292 3.94049 8.65658 4.68679L6.60247 6.74085C6.58947 6.75385 6.57563 6.7655 6.56112 6.77578Z\" fill={'currentColor'} /></svg>;\n};\nConnect.displayName = 'Connect';\nConnect.isGlyph = true;\nexport default Connect;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Connect","_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":"i5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,UAAWU,EAAgBA,EAAgB,CAC7Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,w/BACH1B,KAAM,iBAEV,SACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
package/dist/Copy.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Copy.js","sources":["../../src/glyphCommon.ts","../../src/generated/Copy.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 0964d48f6e0e1cf1cc9de88a123ada62\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CopyProps extends LGGlyph.ComponentProps {}\nconst Copy = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CopyProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Copy', {\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=\"M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z\" fill={'currentColor'} /></svg>;\n};\nCopy.displayName = 'Copy';\nCopy.isGlyph = true;\nexport default Copy;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Copy","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACn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SAAU"}
1
+ {"version":3,"file":"Copy.js","sources":["../../src/glyphCommon.ts","../../src/generated/Copy.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 640ac25d5355809ec80d29c576f354c0\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CopyProps extends LGGlyph.ComponentProps {}\nconst Copy = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CopyProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Copy', {\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=\"M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z\" fill={'currentColor'} /></svg>;\n};\nCopy.displayName = 'Copy';\nCopy.isGlyph = true;\nexport default Copy;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Copy","_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":"w4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,s5BACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCard.js","sources":["../../src/glyphCommon.ts","../../src/generated/CreditCard.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 packages/icon/scripts/prebuild/index.ts\n* @checksum c381e0b91e5dfb8cd1a8758f94eb7070\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CreditCardProps extends LGGlyph.ComponentProps {}\nconst CreditCard = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CreditCardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CreditCard', {\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 3C1.89543 3 1 3.89543 1 5L15 5C15 3.89543 14.1046 3 13 3H3Z\" fill={'currentColor'} /><path d=\"M15 7L1 7V11C1 12.1046 1.89543 13 3 13H13C14.1046 13 15 12.1046 15 11V7Z\" fill={'currentColor'} /></svg>;\n};\nCreditCard.displayName = 'CreditCard';\nCreditCard.isGlyph = true;\nexport default CreditCard;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CreditCard","_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":"05CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAa,SAAoBC,GACnC,IAAIC,EA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,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
1
+ {"version":3,"file":"CreditCard.js","sources":["../../src/glyphCommon.ts","../../src/generated/CreditCard.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 425fa2991c25b176df3a0e4fc2ea53f1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CreditCardProps extends LGGlyph.ComponentProps {}\nconst CreditCard = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CreditCardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CreditCard', {\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 3C1.89543 3 1 3.89543 1 5L15 5C15 3.89543 14.1046 3 13 3H3Z\" fill={'currentColor'} /><path d=\"M15 7L1 7V11C1 12.1046 1.89543 13 3 13H13C14.1046 13 15 12.1046 15 11V7Z\" fill={'currentColor'} /></svg>;\n};\nCreditCard.displayName = 'CreditCard';\nCreditCard.isGlyph = true;\nexport default CreditCard;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CreditCard","_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":"05CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,aAAcU,EAAgBA,EAAgB,CAChGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,iEACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2EACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CurlyBraces.js","sources":["../../src/glyphCommon.ts","../../src/generated/CurlyBraces.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 1f978a80205914b056a6ff85eb725d27\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CurlyBracesProps extends LGGlyph.ComponentProps {}\nconst CurlyBraces = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CurlyBracesProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CurlyBraces', {\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.00003 3.54401C3.00003 2.16329 4.11933 1.04401 5.50004 1.04401H6.50002C6.77617 1.04401 7.00002 1.26786 7.00002 1.54401L7.00001 2.64918C7.00001 2.84422 6.8419 3.00233 6.64687 3.00233L5.85772 3.00233C5.38403 3.00233 5.00002 3.38633 5.00002 3.86003L5.00002 6.66157C5.00002 7.24368 4.66843 7.74835 4.18383 7.99699C4.66843 8.24563 5.00003 8.75029 5.00003 9.33241V12.1349C5.00052 12.6081 5.38434 12.9917 5.85773 12.9917H6.6469C6.84192 12.9917 7.00002 13.1497 7.00002 13.3448L7.00003 14.45C7.00003 14.7261 6.77617 14.95 6.50003 14.95H5.50004C4.11933 14.95 3.00004 13.8307 3.00004 12.45L3.00003 10.494C3.00003 9.6656 2.32845 8.99403 1.50003 8.99403C1.22389 8.99403 1.00003 8.77017 1.00003 8.49403L1 7.49402C1 7.21789 1.22385 6.99403 1.49999 6.99403C2.32842 6.99403 2.99999 6.32246 2.99999 5.49403L3.00003 3.54401Z\" fill={'currentColor'} /><path d=\"M13 12.45C13 13.8307 11.8807 14.95 10.5 14.95L9.49998 14.95C9.22383 14.95 8.99998 14.7262 8.99998 14.45L8.99999 13.3448C8.99999 13.1498 9.1581 12.9917 9.35314 12.9917H10.1423C10.616 12.9917 11 12.6077 11 12.134L11 9.33245C11 8.75033 11.3316 8.24567 11.8162 7.99703C11.3316 7.74839 11 7.24372 11 6.66161V3.85915C10.9995 3.38588 10.6157 3.00236 10.1423 3.00236H9.3531C9.15808 3.00236 8.99998 2.84427 8.99998 2.64925L8.99997 1.54401C8.99997 1.26787 9.22383 1.04401 9.49997 1.04401L10.5 1.04401C11.8807 1.04401 13 2.1633 13 3.54401L13 5.49999C13 6.32842 13.6715 6.99999 14.5 6.99999C14.7761 6.99999 15 7.22385 15 7.49998L15 8.49999C15 8.77613 14.7761 8.99999 14.5 8.99999C13.6716 8.99999 13 9.67156 13 10.5L13 12.45Z\" fill={'currentColor'} /></svg>;\n};\nCurlyBraces.displayName = 'CurlyBraces';\nCurlyBraces.isGlyph = true;\nexport default CurlyBraces;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CurlyBraces","_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":"65CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAc,SAAqBC,GACrC,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,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,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,CCNwBC,CAAwBd,EAAM,cAAeU,EAAgBA,EAAgB,CACjGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,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,0yBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2sBACHxB,KAAM,iBAEV,SACAR,EAAYiC,YAAc,cAC1BjC,EAAYkC,SAAU"}
1
+ {"version":3,"file":"CurlyBraces.js","sources":["../../src/glyphCommon.ts","../../src/generated/CurlyBraces.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 31d918bcd3b77813a6bfe867ec143962\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CurlyBracesProps extends LGGlyph.ComponentProps {}\nconst CurlyBraces = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CurlyBracesProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CurlyBraces', {\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.00003 3.54401C3.00003 2.16329 4.11933 1.04401 5.50004 1.04401H6.50002C6.77617 1.04401 7.00002 1.26786 7.00002 1.54401L7.00001 2.64918C7.00001 2.84422 6.8419 3.00233 6.64687 3.00233L5.85772 3.00233C5.38403 3.00233 5.00002 3.38633 5.00002 3.86003L5.00002 6.66157C5.00002 7.24368 4.66843 7.74835 4.18383 7.99699C4.66843 8.24563 5.00003 8.75029 5.00003 9.33241V12.1349C5.00052 12.6081 5.38434 12.9917 5.85773 12.9917H6.6469C6.84192 12.9917 7.00002 13.1497 7.00002 13.3448L7.00003 14.45C7.00003 14.7261 6.77617 14.95 6.50003 14.95H5.50004C4.11933 14.95 3.00004 13.8307 3.00004 12.45L3.00003 10.494C3.00003 9.6656 2.32845 8.99403 1.50003 8.99403C1.22389 8.99403 1.00003 8.77017 1.00003 8.49403L1 7.49402C1 7.21789 1.22385 6.99403 1.49999 6.99403C2.32842 6.99403 2.99999 6.32246 2.99999 5.49403L3.00003 3.54401Z\" fill={'currentColor'} /><path d=\"M13 12.45C13 13.8307 11.8807 14.95 10.5 14.95L9.49998 14.95C9.22383 14.95 8.99998 14.7262 8.99998 14.45L8.99999 13.3448C8.99999 13.1498 9.1581 12.9917 9.35314 12.9917H10.1423C10.616 12.9917 11 12.6077 11 12.134L11 9.33245C11 8.75033 11.3316 8.24567 11.8162 7.99703C11.3316 7.74839 11 7.24372 11 6.66161V3.85915C10.9995 3.38588 10.6157 3.00236 10.1423 3.00236H9.3531C9.15808 3.00236 8.99998 2.84427 8.99998 2.64925L8.99997 1.54401C8.99997 1.26787 9.22383 1.04401 9.49997 1.04401L10.5 1.04401C11.8807 1.04401 13 2.1633 13 3.54401L13 5.49999C13 6.32842 13.6715 6.99999 14.5 6.99999C14.7761 6.99999 15 7.22385 15 7.49998L15 8.49999C15 8.77613 14.7761 8.99999 14.5 8.99999C13.6716 8.99999 13 9.67156 13 10.5L13 12.45Z\" fill={'currentColor'} /></svg>;\n};\nCurlyBraces.displayName = 'CurlyBraces';\nCurlyBraces.isGlyph = true;\nexport default CurlyBraces;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CurlyBraces","_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":"65CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAA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N,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0yBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2sBACHxB,KAAM,iBAEV,SACAR,EAAYiC,YAAc,cAC1BjC,EAAYkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Cursor.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cursor.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 packages/icon/scripts/prebuild/index.ts\n* @checksum bc678f142db4fcaec69e9b32a880423d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CursorProps extends LGGlyph.ComponentProps {}\nconst Cursor = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CursorProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cursor', {\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.53436 8.53438L9.00697 8.26403L11.3957 6.89757L4.64845 4.64847L6.89754 11.3958L8.26401 9.00699L8.53436 8.53438ZM10 10.0001L14.4801 7.4373C15.2139 7.10378 15.1582 6.04354 14.3936 5.78866L3.16879 2.04707C2.47551 1.81597 1.81595 2.47553 2.04704 3.16881L5.78864 14.3936C6.04352 15.1582 7.10375 15.2139 7.43728 14.4801L10 10.0001Z\" fill={'currentColor'} /></svg>;\n};\nCursor.displayName = 'Cursor';\nCursor.isGlyph = true;\nexport default Cursor;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cursor","_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":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UAC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SAAU"}
1
+ {"version":3,"file":"Cursor.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cursor.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 packages/icon/scripts/prebuild/index.ts\n* @checksum 45cf7775011f8851f34f3040d8bd5086\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CursorProps extends LGGlyph.ComponentProps {}\nconst Cursor = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CursorProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cursor', {\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.53436 8.53438L9.00697 8.26403L11.3957 6.89757L4.64845 4.64847L6.89754 11.3958L8.26401 9.00699L8.53436 8.53438ZM10 10.0001L14.4801 7.4373C15.2139 7.10378 15.1582 6.04354 14.3936 5.78866L3.16879 2.04707C2.47551 1.81597 1.81595 2.47553 2.04704 3.16881L5.78864 14.3936C6.04352 15.1582 7.10375 15.2139 7.43728 14.4801L10 10.0001Z\" fill={'currentColor'} /></svg>;\n};\nCursor.displayName = 'Cursor';\nCursor.isGlyph = true;\nexport default Cursor;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cursor","_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":"84CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,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,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