@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":"ArrowUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/ArrowUp.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 117a622c21bea07e57fcb4d124a57b38\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ArrowUpProps extends LGGlyph.ComponentProps {}\nconst ArrowUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ArrowUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ArrowUp', {\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=\"M9.16788 13L9.16788 6.05558L10.7029 7.59059C11.0934 7.98112 11.7266 7.98112 12.1171 7.59059L12.356 7.35168C12.7465 6.96115 12.7465 6.32799 12.356 5.93746L8.97339 2.55483C8.96482 2.5456 8.95605 2.5365 8.94707 2.52752L8.70816 2.2886C8.31763 1.89808 7.68447 1.89808 7.29394 2.2886L3.64279 5.93975C3.25227 6.33028 3.25227 6.96344 3.64279 7.35397L3.88171 7.59288C4.27223 7.98341 4.9054 7.98341 5.29592 7.59288L6.83 6.0588L6.83 13C6.83 13.5523 7.27772 14 7.83 14H8.16788C8.72017 14 9.16788 13.5523 9.16788 13Z\" fill={'currentColor'} /></svg>;\n};\nArrowUp.displayName = 'ArrowUp';\nArrowUp.isGlyph = true;\nexport default ArrowUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ArrowUp","_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":"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,EAAG,0fACHxB,KAAM,iBAEV,SACAR,EAAQiC,YAAc,UACtBjC,EAAQkC,SAAU"}
1
+ {"version":3,"file":"ArrowUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/ArrowUp.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 226adc0e4ba71db777ae5d058d439e2d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ArrowUpProps extends LGGlyph.ComponentProps {}\nconst ArrowUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ArrowUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ArrowUp', {\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=\"M9.16788 13L9.16788 6.05558L10.7029 7.59059C11.0934 7.98112 11.7266 7.98112 12.1171 7.59059L12.356 7.35168C12.7465 6.96115 12.7465 6.32799 12.356 5.93746L8.97339 2.55483C8.96482 2.5456 8.95605 2.5365 8.94707 2.52752L8.70816 2.2886C8.31763 1.89808 7.68447 1.89808 7.29394 2.2886L3.64279 5.93975C3.25227 6.33028 3.25227 6.96344 3.64279 7.35397L3.88171 7.59288C4.27223 7.98341 4.9054 7.98341 5.29592 7.59288L6.83 6.0588L6.83 13C6.83 13.5523 7.27772 14 7.83 14H8.16788C8.72017 14 9.16788 13.5523 9.16788 13Z\" fill={'currentColor'} /></svg>;\n};\nArrowUp.displayName = 'ArrowUp';\nArrowUp.isGlyph = true;\nexport default ArrowUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ArrowUp","_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":"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,EAAG,0fACHxB,KAAM,iBAEV,SACAR,EAAQiC,YAAc,UACtBjC,EAAQkC,SAAU"}
@@ -0,0 +1,2 @@
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):((e="undefined"!=typeof globalThis?globalThis:e||self).Award=e.Award||{},e.Award.js=r(e.React,e.emotion))}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,u,f={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],v=e.fill,m=e.role,C=void 0===m?"img":m,g=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,c),O=r.css(o||(o=i(["\n color: ",";\n "])),v),h=r.css(u||(u=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||i||o?a(a(a({},"aria-labelledby",i),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Award",a(a({title:d},"aria-label",p),"aria-labelledby",y));return n.createElement("svg",l({className:r.cx(a({},O,null!=v),h,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:C},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M7.86523 4.50095C7.91495 4.37545 8.08505 4.37545 8.13477 4.50095L8.58203 5.63056C8.60293 5.68332 8.64988 5.71981 8.7041 5.72453L9.86621 5.82242C9.99499 5.83357 10.0474 6.00227 9.94922 6.09063L9.06445 6.88644C9.023 6.92372 9.00492 6.98243 9.01758 7.03817L9.28711 8.22749C9.31712 8.35959 9.18073 8.46438 9.07031 8.3939L8.07617 7.75568C8.0296 7.72581 7.9704 7.72581 7.92383 7.75568L6.92969 8.3939C6.81926 8.46437 6.68288 8.35959 6.71289 8.22749L6.98242 7.03817C6.99508 6.98243 6.977 6.92372 6.93555 6.88644L6.05078 6.09063C5.95261 6.00227 6.00503 5.83356 6.13379 5.82242L7.2959 5.72453C7.35011 5.7198 7.39706 5.68331 7.41797 5.63056L7.86523 4.50095Z",fill:"currentColor"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1.3999C10.7614 1.3999 13 3.64376 13 6.41169C13 7.54003 12.6278 8.58111 12 9.41877V13.5975C12 14.1511 11.5523 14.5999 11 14.5999H10.9727C10.8025 14.5999 10.635 14.5565 10.4863 14.4736L8 13.0856L5.51367 14.4736C5.36498 14.5565 5.1975 14.5999 5.02734 14.5999H5C4.44772 14.5999 4 14.1511 4 13.5975V9.41877C3.37223 8.58111 3 7.54003 3 6.41169C3 3.64376 5.23858 1.3999 8 1.3999ZM11 10.4201C10.1642 11.0496 9.1259 11.4235 8 11.4235C6.8741 11.4235 5.83577 11.0496 5 10.4201V13.5975H5.02734L7.51367 12.2095C7.81599 12.0409 8.18401 12.0409 8.48633 12.2095L10.9727 13.5975H11V10.4201ZM8 2.40226C5.79086 2.40226 4 4.19734 4 6.41169C4 8.62604 5.79086 10.4211 8 10.4211C10.2091 10.4211 12 8.62604 12 6.41169C12 4.19734 10.2091 2.40226 8 2.40226Z",fill:"currentColor"}))};return b.displayName="Award",b.isGlyph=!0,b});
2
+ //# sourceMappingURL=Award.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Award.js","sources":["../../src/glyphCommon.ts","../../src/generated/Award.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 ca4adced235a7fb5f9c700cd931a0eab\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface AwardProps extends LGGlyph.ComponentProps {}\nconst Award = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: AwardProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Award', {\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=\"M7.86523 4.50095C7.91495 4.37545 8.08505 4.37545 8.13477 4.50095L8.58203 5.63056C8.60293 5.68332 8.64988 5.71981 8.7041 5.72453L9.86621 5.82242C9.99499 5.83357 10.0474 6.00227 9.94922 6.09063L9.06445 6.88644C9.023 6.92372 9.00492 6.98243 9.01758 7.03817L9.28711 8.22749C9.31712 8.35959 9.18073 8.46438 9.07031 8.3939L8.07617 7.75568C8.0296 7.72581 7.9704 7.72581 7.92383 7.75568L6.92969 8.3939C6.81926 8.46437 6.68288 8.35959 6.71289 8.22749L6.98242 7.03817C6.99508 6.98243 6.977 6.92372 6.93555 6.88644L6.05078 6.09063C5.95261 6.00227 6.00503 5.83356 6.13379 5.82242L7.2959 5.72453C7.35011 5.7198 7.39706 5.68331 7.41797 5.63056L7.86523 4.50095Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 1.3999C10.7614 1.3999 13 3.64376 13 6.41169C13 7.54003 12.6278 8.58111 12 9.41877V13.5975C12 14.1511 11.5523 14.5999 11 14.5999H10.9727C10.8025 14.5999 10.635 14.5565 10.4863 14.4736L8 13.0856L5.51367 14.4736C5.36498 14.5565 5.1975 14.5999 5.02734 14.5999H5C4.44772 14.5999 4 14.1511 4 13.5975V9.41877C3.37223 8.58111 3 7.54003 3 6.41169C3 3.64376 5.23858 1.3999 8 1.3999ZM11 10.4201C10.1642 11.0496 9.1259 11.4235 8 11.4235C6.8741 11.4235 5.83577 11.0496 5 10.4201V13.5975H5.02734L7.51367 12.2095C7.81599 12.0409 8.18401 12.0409 8.48633 12.2095L10.9727 13.5975H11V10.4201ZM8 2.40226C5.79086 2.40226 4 4.19734 4 6.41169C4 8.62604 5.79086 10.4211 8 10.4211C10.2091 10.4211 12 8.62604 12 6.41169C12 4.19734 10.2091 2.40226 8 2.40226Z\" fill={'currentColor'} /></svg>;\n};\nAward.displayName = 'Award';\nAward.isGlyph = true;\nexport default Award;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Award","_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","fillRule","clipRule","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,yoBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,iuBACHxB,KAAM,iBAEV,SACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Beaker.js","sources":["../../src/glyphCommon.ts","../../src/generated/Beaker.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 637fb4f7877cc523849a231b654a18c0\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BeakerProps extends LGGlyph.ComponentProps {}\nconst Beaker = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BeakerProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Beaker', {\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.95288 1.8C5.95288 1.51997 5.95288 1.37996 6.00738 1.273C6.05532 1.17892 6.13181 1.10243 6.22589 1.0545C6.33284 1 6.47286 1 6.75288 1H9.15288C9.43291 1 9.57292 1 9.67988 1.0545C9.77396 1.10243 9.85045 1.17892 9.89839 1.273C9.95288 1.37996 9.95288 1.51997 9.95288 1.8V2.2C9.95288 2.48003 9.95288 2.62004 9.89839 2.727C9.85045 2.82108 9.77396 2.89757 9.67988 2.9455C9.57292 3 9.43291 3 9.15288 3H6.75288C6.47286 3 6.33284 3 6.22589 2.9455C6.13181 2.89757 6.05532 2.82108 6.00738 2.727C5.95288 2.62004 5.95288 2.48003 5.95288 2.2V1.8ZM6.00919 4.26951C5.95289 4.37788 5.95289 4.52025 5.95289 4.805V6H5.95288L2.94611 11.4122C2.28339 12.6051 1.95203 13.2015 2.01416 13.6895C2.06606 14.097 2.28284 14.4654 2.61388 14.7087C3.01025 15 3.69257 15 5.0572 15H10.8485C12.2132 15 12.8955 15 13.2919 14.7087C13.6229 14.4654 13.8397 14.097 13.8916 13.6895C13.9537 13.2015 13.6224 12.6051 12.9596 11.4122L12.9596 11.4122L9.95289 6.00003V4.805C9.95289 4.52025 9.95289 4.37788 9.8966 4.26951C9.84916 4.17819 9.7747 4.10373 9.68338 4.05629C9.57501 4 9.43264 4 9.14789 4H6.75789C6.47315 4 6.33077 4 6.2224 4.05629C6.13108 4.10373 6.05662 4.17819 6.00919 4.26951ZM9.33288 9L6.30288 9.5L5.01554 11.8106C4.79758 12.2019 4.6886 12.3975 4.70716 12.5576C4.72336 12.6973 4.79764 12.8237 4.9118 12.9059C5.04264 13 5.26656 13 5.71439 13H10.1939C10.641 13 10.8646 13 10.9954 12.906C11.1095 12.824 11.1838 12.6977 11.2001 12.5582C11.2189 12.3982 11.1104 12.2027 10.8934 11.8118L9.33288 9Z\" fill={'currentColor'} /></svg>;\n};\nBeaker.displayName = 'Beaker';\nBeaker.isGlyph = true;\nexport default Beaker;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Beaker","_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,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,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,q7CACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Beaker.js","sources":["../../src/glyphCommon.ts","../../src/generated/Beaker.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 f290bf6c80174148b58126cfd02ba87c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BeakerProps extends LGGlyph.ComponentProps {}\nconst Beaker = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BeakerProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Beaker', {\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.95288 1.8C5.95288 1.51997 5.95288 1.37996 6.00738 1.273C6.05532 1.17892 6.13181 1.10243 6.22589 1.0545C6.33284 1 6.47286 1 6.75288 1H9.15288C9.43291 1 9.57292 1 9.67988 1.0545C9.77396 1.10243 9.85045 1.17892 9.89839 1.273C9.95288 1.37996 9.95288 1.51997 9.95288 1.8V2.2C9.95288 2.48003 9.95288 2.62004 9.89839 2.727C9.85045 2.82108 9.77396 2.89757 9.67988 2.9455C9.57292 3 9.43291 3 9.15288 3H6.75288C6.47286 3 6.33284 3 6.22589 2.9455C6.13181 2.89757 6.05532 2.82108 6.00738 2.727C5.95288 2.62004 5.95288 2.48003 5.95288 2.2V1.8ZM6.00919 4.26951C5.95289 4.37788 5.95289 4.52025 5.95289 4.805V6H5.95288L2.94611 11.4122C2.28339 12.6051 1.95203 13.2015 2.01416 13.6895C2.06606 14.097 2.28284 14.4654 2.61388 14.7087C3.01025 15 3.69257 15 5.0572 15H10.8485C12.2132 15 12.8955 15 13.2919 14.7087C13.6229 14.4654 13.8397 14.097 13.8916 13.6895C13.9537 13.2015 13.6224 12.6051 12.9596 11.4122L12.9596 11.4122L9.95289 6.00003V4.805C9.95289 4.52025 9.95289 4.37788 9.8966 4.26951C9.84916 4.17819 9.7747 4.10373 9.68338 4.05629C9.57501 4 9.43264 4 9.14789 4H6.75789C6.47315 4 6.33077 4 6.2224 4.05629C6.13108 4.10373 6.05662 4.17819 6.00919 4.26951ZM9.33288 9L6.30288 9.5L5.01554 11.8106C4.79758 12.2019 4.6886 12.3975 4.70716 12.5576C4.72336 12.6973 4.79764 12.8237 4.9118 12.9059C5.04264 13 5.26656 13 5.71439 13H10.1939C10.641 13 10.8646 13 10.9954 12.906C11.1095 12.824 11.1838 12.6977 11.2001 12.5582C11.2189 12.3982 11.1104 12.2027 10.8934 11.8118L9.33288 9Z\" fill={'currentColor'} /></svg>;\n};\nBeaker.displayName = 'Beaker';\nBeaker.isGlyph = true;\nexport default Beaker;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Beaker","_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,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,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,q7CACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Bell.js","sources":["../../src/glyphCommon.ts","../../src/generated/Bell.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 a58b50dad9731cb5d2fe51979c226d1e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BellProps extends LGGlyph.ComponentProps {}\nconst Bell = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BellProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Bell', {\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.6248 6.1383C12.4098 4.25462 11.09 2.74034 9.35673 2.21251C9.2281 1.52063 8.66955 1 8 1C7.33044 1 6.77189 1.52063 6.64326 2.21251C4.91 2.74034 3.59017 4.25462 3.37524 6.1383L2.92307 10.1011H2.94943C2.42507 10.1011 2 10.5262 2 11.0506C2 11.5749 2.42507 12 2.94943 12H13.0506C13.5749 12 14 11.5749 14 11.0506C14 10.5262 13.5749 10.1011 13.0506 10.1011H13.0769L12.6248 6.1383ZM8 15C6.89543 15 6 14.1046 6 13H10C10 14.1046 9.10457 15 8 15Z\" fill={'currentColor'} /></svg>;\n};\nBell.displayName = 'Bell';\nBell.isGlyph = true;\nexport default Bell;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Bell","_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,ybACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
1
+ {"version":3,"file":"Bell.js","sources":["../../src/glyphCommon.ts","../../src/generated/Bell.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 1b2cc6e39591a181212a733eda2ec883\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BellProps extends LGGlyph.ComponentProps {}\nconst Bell = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BellProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Bell', {\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.6248 6.1383C12.4098 4.25462 11.09 2.74034 9.35673 2.21251C9.2281 1.52063 8.66955 1 8 1C7.33044 1 6.77189 1.52063 6.64326 2.21251C4.91 2.74034 3.59017 4.25462 3.37524 6.1383L2.92307 10.1011H2.94943C2.42507 10.1011 2 10.5262 2 11.0506C2 11.5749 2.42507 12 2.94943 12H13.0506C13.5749 12 14 11.5749 14 11.0506C14 10.5262 13.5749 10.1011 13.0506 10.1011H13.0769L12.6248 6.1383ZM8 15C6.89543 15 6 14.1046 6 13H10C10 14.1046 9.10457 15 8 15Z\" fill={'currentColor'} /></svg>;\n};\nBell.displayName = 'Bell';\nBell.isGlyph = true;\nexport default Bell;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Bell","_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,ybACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Biometric.js","sources":["../../src/glyphCommon.ts","../../src/generated/Biometric.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 3db4b9837dff136264775ffc89a61f28\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BiometricProps extends LGGlyph.ComponentProps {}\nconst Biometric = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BiometricProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Biometric', {\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=\"M7.5 1C4.46243 1 2 3.46243 2 6.5V9.5C2 12.5376 4.46243 15 7.5 15H8.5C11.5376 15 14 12.5376 14 9.5V6.5C14 3.46243 11.5376 1 8.5 1H7.5ZM8.57432 7.75001C8.57432 7.43282 8.31719 7.17569 8 7.17569C7.68281 7.17569 7.42567 7.43282 7.42567 7.75001V10.2069C7.42567 10.5241 7.68281 10.7812 8 10.7812C8.31719 10.7812 8.57432 10.5241 8.57432 10.2069V7.75001ZM8.00001 5.33783C6.66781 5.33783 5.58785 6.41779 5.58785 7.74999V10.3164C5.58785 10.5802 5.48308 10.8331 5.2966 11.0196C5.07232 11.2438 5.07232 11.6075 5.2966 11.8318C5.52089 12.0561 5.88453 12.0561 6.10882 11.8318C6.51071 11.4299 6.7365 10.8848 6.7365 10.3164V7.74999C6.7365 7.05217 7.30219 6.48648 8.00001 6.48648C8.69783 6.48648 9.26352 7.05217 9.26352 7.74999V10.3983C9.26352 10.8104 9.03068 11.1871 8.66208 11.3714C8.37838 11.5133 8.26338 11.8583 8.40524 12.142C8.54709 12.4257 8.89207 12.5407 9.17577 12.3988C9.93352 12.0199 10.4122 11.2455 10.4122 10.3983V7.74999C10.4122 6.41779 9.33221 5.33783 8.00001 5.33783ZM4.89865 7.75C4.89865 6.03717 6.28717 4.64865 8 4.64865C8.6033 4.64865 9.16475 4.82034 9.64017 5.11727C9.9092 5.28529 10.2635 5.20341 10.4315 4.93438C10.5996 4.66535 10.5177 4.31104 10.2486 4.14302C9.59605 3.73544 8.82464 3.5 8 3.5C5.65279 3.5 3.75 5.40279 3.75 7.75V10.0473C3.75 10.3645 4.00713 10.6216 4.32432 10.6216C4.64151 10.6216 4.89865 10.3645 4.89865 10.0473V7.75ZM11.7861 5.81757C11.6417 5.53515 11.2957 5.42326 11.0133 5.56765C10.7309 5.71205 10.619 6.05805 10.7634 6.34047C10.9793 6.76274 11.1014 7.24128 11.1014 7.75V9.12838C11.1014 9.44557 11.3585 9.7027 11.6757 9.7027C11.9929 9.7027 12.25 9.44557 12.25 9.12838V7.75C12.25 7.0553 12.0829 6.39796 11.7861 5.81757Z\" fill={'currentColor'} /></svg>;\n};\nBiometric.displayName = 'Biometric';\nBiometric.isGlyph = true;\nexport default Biometric;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Biometric","_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,6mDACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"Biometric.js","sources":["../../src/glyphCommon.ts","../../src/generated/Biometric.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 51cd6dee4a8633a64f9622a05e954dd4\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BiometricProps extends LGGlyph.ComponentProps {}\nconst Biometric = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BiometricProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Biometric', {\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=\"M7.5 1C4.46243 1 2 3.46243 2 6.5V9.5C2 12.5376 4.46243 15 7.5 15H8.5C11.5376 15 14 12.5376 14 9.5V6.5C14 3.46243 11.5376 1 8.5 1H7.5ZM8.57432 7.75001C8.57432 7.43282 8.31719 7.17569 8 7.17569C7.68281 7.17569 7.42567 7.43282 7.42567 7.75001V10.2069C7.42567 10.5241 7.68281 10.7812 8 10.7812C8.31719 10.7812 8.57432 10.5241 8.57432 10.2069V7.75001ZM8.00001 5.33783C6.66781 5.33783 5.58785 6.41779 5.58785 7.74999V10.3164C5.58785 10.5802 5.48308 10.8331 5.2966 11.0196C5.07232 11.2438 5.07232 11.6075 5.2966 11.8318C5.52089 12.0561 5.88453 12.0561 6.10882 11.8318C6.51071 11.4299 6.7365 10.8848 6.7365 10.3164V7.74999C6.7365 7.05217 7.30219 6.48648 8.00001 6.48648C8.69783 6.48648 9.26352 7.05217 9.26352 7.74999V10.3983C9.26352 10.8104 9.03068 11.1871 8.66208 11.3714C8.37838 11.5133 8.26338 11.8583 8.40524 12.142C8.54709 12.4257 8.89207 12.5407 9.17577 12.3988C9.93352 12.0199 10.4122 11.2455 10.4122 10.3983V7.74999C10.4122 6.41779 9.33221 5.33783 8.00001 5.33783ZM4.89865 7.75C4.89865 6.03717 6.28717 4.64865 8 4.64865C8.6033 4.64865 9.16475 4.82034 9.64017 5.11727C9.9092 5.28529 10.2635 5.20341 10.4315 4.93438C10.5996 4.66535 10.5177 4.31104 10.2486 4.14302C9.59605 3.73544 8.82464 3.5 8 3.5C5.65279 3.5 3.75 5.40279 3.75 7.75V10.0473C3.75 10.3645 4.00713 10.6216 4.32432 10.6216C4.64151 10.6216 4.89865 10.3645 4.89865 10.0473V7.75ZM11.7861 5.81757C11.6417 5.53515 11.2957 5.42326 11.0133 5.56765C10.7309 5.71205 10.619 6.05805 10.7634 6.34047C10.9793 6.76274 11.1014 7.24128 11.1014 7.75V9.12838C11.1014 9.44557 11.3585 9.7027 11.6757 9.7027C11.9929 9.7027 12.25 9.44557 12.25 9.12838V7.75C12.25 7.0553 12.0829 6.39796 11.7861 5.81757Z\" fill={'currentColor'} /></svg>;\n};\nBiometric.displayName = 'Biometric';\nBiometric.isGlyph = true;\nexport default Biometric;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Biometric","_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,6mDACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Boolean.js","sources":["../../src/glyphCommon.ts","../../src/generated/Boolean.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 4596e98456907b7e703b69085363914c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BooleanProps extends LGGlyph.ComponentProps {}\nconst Boolean = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BooleanProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Boolean', {\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 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM12 8C12 10.2091 10.2091 12 8 12V4C10.2091 4 12 5.79086 12 8Z\" fill={'currentColor'} /></svg>;\n};\nBoolean.displayName = 'Boolean';\nBoolean.isGlyph = true;\nexport default Boolean;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Boolean","_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,2KACH1B,KAAM,iBAEV,SACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
1
+ {"version":3,"file":"Boolean.js","sources":["../../src/glyphCommon.ts","../../src/generated/Boolean.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 c645fd9f7d2961da17cf3fe85fd24c18\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BooleanProps extends LGGlyph.ComponentProps {}\nconst Boolean = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BooleanProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Boolean', {\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 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2ZM12 8C12 10.2091 10.2091 12 8 12V4C10.2091 4 12 5.79086 12 8Z\" fill={'currentColor'} /></svg>;\n};\nBoolean.displayName = 'Boolean';\nBoolean.isGlyph = true;\nexport default Boolean;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Boolean","_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,2KACH1B,KAAM,iBAEV,SACAR,EAAQmC,YAAc,UACtBnC,EAAQoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Building.js","sources":["../../src/glyphCommon.ts","../../src/generated/Building.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 99ae8faa7a6433f9801b3e49b676bad8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BuildingProps extends LGGlyph.ComponentProps {}\nconst Building = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BuildingProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Building', {\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 2C1 1.44772 1.44772 1 2 1H7C7.55228 1 8 1.44772 8 2V7.5V10.5V15H6V13H4V15H1V11H5.5C5.77614 11 6 10.7761 6 10.5C6 10.2239 5.77614 10 5.5 10H1V8H5.5C5.77614 8 6 7.77614 6 7.5C6 7.22386 5.77614 7 5.5 7H1V5H5.5C5.77614 5 6 4.77614 6 4.5C6 4.22386 5.77614 4 5.5 4H1V2ZM9 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H9V8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H9V5C9 4.44772 9.44772 4 10 4H15C15.5523 4 16 4.44772 16 5V15H14V13H12V15H9V11Z\" fill={'currentColor'} /></svg>;\n};\nBuilding.displayName = 'Building';\nBuilding.isGlyph = true;\nexport default Building;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Building","_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":"o5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,WAAYU,EAAgBA,EAAgB,CAC9Ff,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,meACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
1
+ {"version":3,"file":"Building.js","sources":["../../src/glyphCommon.ts","../../src/generated/Building.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 57bbdb7e41752f20ba8535bee5297ac9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BuildingProps extends LGGlyph.ComponentProps {}\nconst Building = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BuildingProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Building', {\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 2C1 1.44772 1.44772 1 2 1H7C7.55228 1 8 1.44772 8 2V7.5V10.5V15H6V13H4V15H1V11H5.5C5.77614 11 6 10.7761 6 10.5C6 10.2239 5.77614 10 5.5 10H1V8H5.5C5.77614 8 6 7.77614 6 7.5C6 7.22386 5.77614 7 5.5 7H1V5H5.5C5.77614 5 6 4.77614 6 4.5C6 4.22386 5.77614 4 5.5 4H1V2ZM9 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H9V8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H9V5C9 4.44772 9.44772 4 10 4H15C15.5523 4 16 4.44772 16 5V15H14V13H12V15H9V11Z\" fill={'currentColor'} /></svg>;\n};\nBuilding.displayName = 'Building';\nBuilding.isGlyph = true;\nexport default Building;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Building","_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":"o5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,WAAYU,EAAgBA,EAAgB,CAC9Ff,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,meACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Bulb.js","sources":["../../src/glyphCommon.ts","../../src/generated/Bulb.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 94d04669134826e68120109964de1921\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BulbProps extends LGGlyph.ComponentProps {}\nconst Bulb = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BulbProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Bulb', {\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.3311 8.5C12.7565 7.76457 13 6.91072 13 6C13 3.23858 10.7614 1 8 1C5.23858 1 3 3.23858 3 6C3 6.94628 3.26287 7.83117 3.71958 8.58561L5.40749 11.501C5.58628 11.8099 5.91607 12 6.27291 12H6.5V6C6.5 5.17157 7.17157 4.5 8 4.5C8.82843 4.5 9.5 5.17157 9.5 6V12H9.72368C10.0793 12 10.4082 11.8111 10.5874 11.5039L12.34 8.5H12.3311Z\" fill={'currentColor'} /><path d=\"M7.5 6V12H8.5V6C8.5 5.72386 8.27614 5.5 8 5.5C7.72386 5.5 7.5 5.72386 7.5 6Z\" fill={'currentColor'} /><path d=\"M10 14V13H6V14C6 14.5523 6.44772 15 7 15H9C9.55228 15 10 14.5523 10 14Z\" fill={'currentColor'} /></svg>;\n};\nBulb.displayName = 'Bulb';\nBulb.isGlyph = true;\nexport default Bulb;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Bulb","_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,0UACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+EACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0EACHxB,KAAM,iBAEV,SACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
1
+ {"version":3,"file":"Bulb.js","sources":["../../src/glyphCommon.ts","../../src/generated/Bulb.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 51ad1e66634f48570f935de063e228f3\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface BulbProps extends LGGlyph.ComponentProps {}\nconst Bulb = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: BulbProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Bulb', {\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.3311 8.5C12.7565 7.76457 13 6.91072 13 6C13 3.23858 10.7614 1 8 1C5.23858 1 3 3.23858 3 6C3 6.94628 3.26287 7.83117 3.71958 8.58561L5.40749 11.501C5.58628 11.8099 5.91607 12 6.27291 12H6.5V6C6.5 5.17157 7.17157 4.5 8 4.5C8.82843 4.5 9.5 5.17157 9.5 6V12H9.72368C10.0793 12 10.4082 11.8111 10.5874 11.5039L12.34 8.5H12.3311Z\" fill={'currentColor'} /><path d=\"M7.5 6V12H8.5V6C8.5 5.72386 8.27614 5.5 8 5.5C7.72386 5.5 7.5 5.72386 7.5 6Z\" fill={'currentColor'} /><path d=\"M10 14V13H6V14C6 14.5523 6.44772 15 7 15H9C9.55228 15 10 14.5523 10 14Z\" fill={'currentColor'} /></svg>;\n};\nBulb.displayName = 'Bulb';\nBulb.isGlyph = true;\nexport default Bulb;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Bulb","_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,0UACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+EACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0EACHxB,KAAM,iBAEV,SACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.js","sources":["../../src/glyphCommon.ts","../../src/generated/Calendar.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 02cc6a8a948b2e76f58fc70cdb944ccb\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CalendarProps extends LGGlyph.ComponentProps {}\nconst Calendar = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CalendarProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Calendar', {\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=\"M4 2C4 1.44772 4.44772 1 5 1C5.55228 1 6 1.44772 6 2V3C6 3.55228 5.55228 4 5 4C4.44772 4 4 3.55228 4 3V2Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9 3H7C7 4.10457 6.10457 5 5 5C3.89543 5 3 4.10457 3 3C1.89543 3 1 3.89543 1 5V12C1 13.1046 1.89543 14 3 14H13C14.1046 14 15 13.1046 15 12V5C15 3.89543 14.1046 3 13 3C13 4.10457 12.1046 5 11 5C9.89543 5 9 4.10457 9 3ZM12 7H9V10H12V7Z\" fill={'currentColor'} /><path d=\"M10 3C10 3.55228 10.4477 4 11 4C11.5523 4 12 3.55228 12 3V2C12 1.44772 11.5523 1 11 1C10.4477 1 10 1.44772 10 2V3Z\" fill={'currentColor'} /></svg>;\n};\nCalendar.displayName = 'Calendar';\nCalendar.isGlyph = true;\nexport default Calendar;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Calendar","_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","fillRule","clipRule","displayName","isGlyph"],"mappings":"o5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,WAAYU,EAAgBA,EAAgB,CAC9Ff,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,4GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,4OACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qHACHxB,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
1
+ {"version":3,"file":"Calendar.js","sources":["../../src/glyphCommon.ts","../../src/generated/Calendar.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 996e20ca7226874976b0361ffb12f07b\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CalendarProps extends LGGlyph.ComponentProps {}\nconst Calendar = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CalendarProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Calendar', {\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=\"M4 2C4 1.44772 4.44772 1 5 1C5.55228 1 6 1.44772 6 2V3C6 3.55228 5.55228 4 5 4C4.44772 4 4 3.55228 4 3V2Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9 3H7C7 4.10457 6.10457 5 5 5C3.89543 5 3 4.10457 3 3C1.89543 3 1 3.89543 1 5V12C1 13.1046 1.89543 14 3 14H13C14.1046 14 15 13.1046 15 12V5C15 3.89543 14.1046 3 13 3C13 4.10457 12.1046 5 11 5C9.89543 5 9 4.10457 9 3ZM12 7H9V10H12V7Z\" fill={'currentColor'} /><path d=\"M10 3C10 3.55228 10.4477 4 11 4C11.5523 4 12 3.55228 12 3V2C12 1.44772 11.5523 1 11 1C10.4477 1 10 1.44772 10 2V3Z\" fill={'currentColor'} /></svg>;\n};\nCalendar.displayName = 'Calendar';\nCalendar.isGlyph = true;\nexport default Calendar;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Calendar","_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","fillRule","clipRule","displayName","isGlyph"],"mappings":"o5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,WAAYU,EAAgBA,EAAgB,CAC9Ff,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,4GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,4OACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qHACHxB,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Camera.js","sources":["../../src/glyphCommon.ts","../../src/generated/Camera.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 e53acfab6cc6c6645cafb6d50e126622\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CameraProps extends LGGlyph.ComponentProps {}\nconst Camera = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CameraProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Camera', {\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.25 8.5C10.25 9.74264 9.24264 10.75 8 10.75C6.75736 10.75 5.75 9.74264 5.75 8.5C5.75 7.25736 6.75736 6.25 8 6.25C9.24264 6.25 10.25 7.25736 10.25 8.5Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4.58541 3.32918C4.8395 2.821 5.35889 2.5 5.92705 2.5H10.0729C10.6411 2.5 11.1605 2.821 11.4146 3.32918L11.7236 3.94721C11.893 4.286 12.2393 4.5 12.618 4.5H13.5C14.3284 4.5 15 5.17157 15 6V12C15 12.8284 14.3284 13.5 13.5 13.5H2.5C1.67157 13.5 1 12.8284 1 12V6C1 5.17157 1.67157 4.5 2.5 4.5H3.38197C3.76074 4.5 4.107 4.286 4.27639 3.94721L4.58541 3.32918ZM11.5 8.5C11.5 10.433 9.933 12 8 12C6.067 12 4.5 10.433 4.5 8.5C4.5 6.567 6.067 5 8 5C9.933 5 11.5 6.567 11.5 8.5Z\" fill={'currentColor'} /></svg>;\n};\nCamera.displayName = 'Camera';\nCamera.isGlyph = true;\nexport default Camera;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Camera","_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","fillRule","clipRule","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,OAAQ,CAC3CM,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,udACHxB,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Camera.js","sources":["../../src/glyphCommon.ts","../../src/generated/Camera.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 f88d0ac3cc96a2a3094b68058a5ebfb9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CameraProps extends LGGlyph.ComponentProps {}\nconst Camera = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CameraProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Camera', {\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.25 8.5C10.25 9.74264 9.24264 10.75 8 10.75C6.75736 10.75 5.75 9.74264 5.75 8.5C5.75 7.25736 6.75736 6.25 8 6.25C9.24264 6.25 10.25 7.25736 10.25 8.5Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4.58541 3.32918C4.8395 2.821 5.35889 2.5 5.92705 2.5H10.0729C10.6411 2.5 11.1605 2.821 11.4146 3.32918L11.7236 3.94721C11.893 4.286 12.2393 4.5 12.618 4.5H13.5C14.3284 4.5 15 5.17157 15 6V12C15 12.8284 14.3284 13.5 13.5 13.5H2.5C1.67157 13.5 1 12.8284 1 12V6C1 5.17157 1.67157 4.5 2.5 4.5H3.38197C3.76074 4.5 4.107 4.286 4.27639 3.94721L4.58541 3.32918ZM11.5 8.5C11.5 10.433 9.933 12 8 12C6.067 12 4.5 10.433 4.5 8.5C4.5 6.567 6.067 5 8 5C9.933 5 11.5 6.567 11.5 8.5Z\" fill={'currentColor'} /></svg>;\n};\nCamera.displayName = 'Camera';\nCamera.isGlyph = true;\nexport default Camera;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Camera","_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","fillRule","clipRule","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,OAAQ,CAC3CM,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CO,SAAU,UACVC,SAAU,UACVF,EAAG,udACHxB,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Cap.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cap.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 b6ea22ad4f5611f3a6d183528a2c0b55\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CapProps extends LGGlyph.ComponentProps {}\nconst Cap = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CapProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cap', {\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=\"M2.96929 8.00791V10.3071C2.96929 10.3383 2.96986 10.3693 2.97099 10.4002C2.96986 10.4862 2.96929 10.5734 2.96929 10.6618C2.96929 12.5877 5.50373 13.5 7.96929 13.5C10.4348 13.5 12.9693 12.5877 12.9693 10.6618C12.9693 10.5773 12.9686 10.4938 12.9672 10.4113C12.9686 10.3767 12.9693 10.342 12.9693 10.3071V8.00118L8.70622 9.78705C8.20883 9.99541 7.64838 9.99409 7.15198 9.78338L2.96929 8.00791Z\" fill={'currentColor'} /><path d=\"M7.56463 2.58331C7.81791 2.4729 8.10559 2.47221 8.3594 2.5814L14.7092 5.31304C15.1145 5.4874 15.1118 6.06303 14.7048 6.23351L8.35054 8.89542C8.10185 8.9996 7.82162 8.99894 7.57343 8.89358L1.30463 6.23261C0.90058 6.0611 0.897823 5.48941 1.3002 5.31401L7.56463 2.58331Z\" fill={'currentColor'} /><path d=\"M13.9693 7.62582V9.10335C13.6704 9.27626 13.4693 9.59943 13.4693 9.96957C13.4693 10.5219 13.917 10.9696 14.4693 10.9696C15.0216 10.9696 15.4693 10.5219 15.4693 9.96957C15.4693 9.59943 15.2682 9.27626 14.9693 9.10336V7.20691L13.9693 7.62582Z\" fill={'currentColor'} /></svg>;\n};\nCap.displayName = 'Cap';\nCap.isGlyph = true;\nexport default Cap;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cap","_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":"q4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAM,SAAaC,GACrB,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,MAAOU,EAAgBA,EAAgB,CACzFf,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,0YACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8QACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mPACHxB,KAAM,iBAEV,SACAR,EAAIiC,YAAc,MAClBjC,EAAIkC,SAAU"}
1
+ {"version":3,"file":"Cap.js","sources":["../../src/glyphCommon.ts","../../src/generated/Cap.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 f92b38cea4fded2cba61c70f1f843251\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CapProps extends LGGlyph.ComponentProps {}\nconst Cap = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CapProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Cap', {\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=\"M2.96929 8.00791V10.3071C2.96929 10.3383 2.96986 10.3693 2.97099 10.4002C2.96986 10.4862 2.96929 10.5734 2.96929 10.6618C2.96929 12.5877 5.50373 13.5 7.96929 13.5C10.4348 13.5 12.9693 12.5877 12.9693 10.6618C12.9693 10.5773 12.9686 10.4938 12.9672 10.4113C12.9686 10.3767 12.9693 10.342 12.9693 10.3071V8.00118L8.70622 9.78705C8.20883 9.99541 7.64838 9.99409 7.15198 9.78338L2.96929 8.00791Z\" fill={'currentColor'} /><path d=\"M7.56463 2.58331C7.81791 2.4729 8.10559 2.47221 8.3594 2.5814L14.7092 5.31304C15.1145 5.4874 15.1118 6.06303 14.7048 6.23351L8.35054 8.89542C8.10185 8.9996 7.82162 8.99894 7.57343 8.89358L1.30463 6.23261C0.90058 6.0611 0.897823 5.48941 1.3002 5.31401L7.56463 2.58331Z\" fill={'currentColor'} /><path d=\"M13.9693 7.62582V9.10335C13.6704 9.27626 13.4693 9.59943 13.4693 9.96957C13.4693 10.5219 13.917 10.9696 14.4693 10.9696C15.0216 10.9696 15.4693 10.5219 15.4693 9.96957C15.4693 9.59943 15.2682 9.27626 14.9693 9.10336V7.20691L13.9693 7.62582Z\" fill={'currentColor'} /></svg>;\n};\nCap.displayName = 'Cap';\nCap.isGlyph = true;\nexport default Cap;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Cap","_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":"q4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAM,SAAaC,GACrB,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,MAAOU,EAAgBA,EAAgB,CACzFf,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,0YACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8QACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mPACHxB,KAAM,iBAEV,SACAR,EAAIiC,YAAc,MAClBjC,EAAIkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CaretDown.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretDown.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 d1da8a20f634c1606dba791a31f3b5f0\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretDownProps extends LGGlyph.ComponentProps {}\nconst CaretDown = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretDownProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretDown', {\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.67903 10.7962C8.45271 11.0679 8.04729 11.0679 7.82097 10.7962L4.63962 6.97649C4.3213 6.59428 4.5824 6 5.06866 6L11.4313 6C11.9176 6 12.1787 6.59428 11.8604 6.97649L8.67903 10.7962Z\" fill={'currentColor'} /></svg>;\n};\nCaretDown.displayName = 'CaretDown';\nCaretDown.isGlyph = true;\nexport default CaretDown;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretDown","_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":"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,EAAG,0LACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
1
+ {"version":3,"file":"CaretDown.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretDown.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 54d13cbb4618dbf813522a151584086d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretDownProps extends LGGlyph.ComponentProps {}\nconst CaretDown = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretDownProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretDown', {\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.67903 10.7962C8.45271 11.0679 8.04729 11.0679 7.82097 10.7962L4.63962 6.97649C4.3213 6.59428 4.5824 6 5.06866 6L11.4313 6C11.9176 6 12.1787 6.59428 11.8604 6.97649L8.67903 10.7962Z\" fill={'currentColor'} /></svg>;\n};\nCaretDown.displayName = 'CaretDown';\nCaretDown.isGlyph = true;\nexport default CaretDown;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretDown","_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":"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,EAAG,0LACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CaretLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretLeft.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 6938875a0f26fa605f36ce7e73814536\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretLeftProps extends LGGlyph.ComponentProps {}\nconst CaretLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretLeft', {\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.20381 8.67903C4.93207 8.45271 4.93207 8.04729 5.20381 7.82097L9.02351 4.63963C9.40572 4.3213 10 4.5824 10 5.06866L10 11.4313C10 11.9176 9.40572 12.1787 9.02351 11.8604L5.20381 8.67903Z\" fill={'currentColor'} /></svg>;\n};\nCaretLeft.displayName = 'CaretLeft';\nCaretLeft.isGlyph = true;\nexport default CaretLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretLeft","_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":"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,EAAG,8LACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
1
+ {"version":3,"file":"CaretLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretLeft.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 3b1866ed46b28f9909c545453d73ca27\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretLeftProps extends LGGlyph.ComponentProps {}\nconst CaretLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretLeft', {\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.20381 8.67903C4.93207 8.45271 4.93207 8.04729 5.20381 7.82097L9.02351 4.63963C9.40572 4.3213 10 4.5824 10 5.06866L10 11.4313C10 11.9176 9.40572 12.1787 9.02351 11.8604L5.20381 8.67903Z\" fill={'currentColor'} /></svg>;\n};\nCaretLeft.displayName = 'CaretLeft';\nCaretLeft.isGlyph = true;\nexport default CaretLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretLeft","_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":"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,EAAG,8LACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CaretRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretRight.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 73fab6033a94eefecdbfc152fc32dfc6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretRightProps extends LGGlyph.ComponentProps {}\nconst CaretRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretRight', {\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.7962 7.32097C11.0679 7.54729 11.0679 7.95271 10.7962 8.17903L6.97649 11.3604C6.59428 11.6787 6 11.4176 6 10.9313L6 4.56866C6 4.0824 6.59428 3.82129 6.97649 4.13962L10.7962 7.32097Z\" fill={'currentColor'} /></svg>;\n};\nCaretRight.displayName = 'CaretRight';\nCaretRight.isGlyph = true;\nexport default CaretRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretRight","_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,2LACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
1
+ {"version":3,"file":"CaretRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretRight.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 59bdc29ba94b6b5eaae65a99093c9fb6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretRightProps extends LGGlyph.ComponentProps {}\nconst CaretRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretRight', {\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.7962 7.32097C11.0679 7.54729 11.0679 7.95271 10.7962 8.17903L6.97649 11.3604C6.59428 11.6787 6 11.4176 6 10.9313L6 4.56866C6 4.0824 6.59428 3.82129 6.97649 4.13962L10.7962 7.32097Z\" fill={'currentColor'} /></svg>;\n};\nCaretRight.displayName = 'CaretRight';\nCaretRight.isGlyph = true;\nexport default CaretRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretRight","_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,2LACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"CaretUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretUp.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 279ef1d89cbdbf315d3c056530a492cf\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretUpProps extends LGGlyph.ComponentProps {}\nconst CaretUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretUp', {\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=\"M7.32097 5.20381C7.54729 4.93207 7.95271 4.93207 8.17903 5.20381L11.3604 9.02351C11.6787 9.40572 11.4176 10 10.9313 10L4.56866 10C4.0824 10 3.8213 9.40572 4.13962 9.02351L7.32097 5.20381Z\" fill={'currentColor'} /></svg>;\n};\nCaretUp.displayName = 'CaretUp';\nCaretUp.isGlyph = true;\nexport default CaretUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretUp","_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":"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,EAAG,8LACHxB,KAAM,iBAEV,SACAR,EAAQiC,YAAc,UACtBjC,EAAQkC,SAAU"}
1
+ {"version":3,"file":"CaretUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/CaretUp.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 d9fbc634b4d4be70ad3db3b824da9f02\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CaretUpProps extends LGGlyph.ComponentProps {}\nconst CaretUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CaretUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CaretUp', {\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=\"M7.32097 5.20381C7.54729 4.93207 7.95271 4.93207 8.17903 5.20381L11.3604 9.02351C11.6787 9.40572 11.4176 10 10.9313 10L4.56866 10C4.0824 10 3.8213 9.40572 4.13962 9.02351L7.32097 5.20381Z\" fill={'currentColor'} /></svg>;\n};\nCaretUp.displayName = 'CaretUp';\nCaretUp.isGlyph = true;\nexport default CaretUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CaretUp","_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":"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,EAAG,8LACHxB,KAAM,iBAEV,SACAR,EAAQiC,YAAc,UACtBjC,EAAQkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartFilled.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChartFilled.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 ba137729d66fc9006c86702692d8017d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartFilledProps extends LGGlyph.ComponentProps {}\nconst ChartFilled = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartFilledProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChartFilled', {\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=\"M3 2.5C1.89543 2.5 1 3.39543 1 4.5V11.5C1 12.6046 1.89543 13.5 3 13.5H13C14.1046 13.5 15 12.6046 15 11.5V4.5C15 3.39543 14.1046 2.5 13 2.5H3ZM11.25 4.5C10.8358 4.5 10.5 4.83579 10.5 5.25V11.5H12V5.25C12 4.83579 11.6642 4.5 11.25 4.5ZM7.5 7.25C7.5 6.83579 7.83579 6.5 8.25 6.5C8.66421 6.5 9 6.83579 9 7.25V11.5H7.5V7.25ZM5.25 9C4.83579 9 4.5 9.33579 4.5 9.75V11.5H6V9.75C6 9.33579 5.66421 9 5.25 9Z\" fill={'currentColor'} /></svg>;\n};\nChartFilled.displayName = 'ChartFilled';\nChartFilled.isGlyph = true;\nexport default ChartFilled;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChartFilled","_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,gZACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
1
+ {"version":3,"file":"ChartFilled.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChartFilled.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 a4fdfb34d1c01afb9263d8be60d80db1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartFilledProps extends LGGlyph.ComponentProps {}\nconst ChartFilled = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartFilledProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChartFilled', {\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=\"M3 2.5C1.89543 2.5 1 3.39543 1 4.5V11.5C1 12.6046 1.89543 13.5 3 13.5H13C14.1046 13.5 15 12.6046 15 11.5V4.5C15 3.39543 14.1046 2.5 13 2.5H3ZM11.25 4.5C10.8358 4.5 10.5 4.83579 10.5 5.25V11.5H12V5.25C12 4.83579 11.6642 4.5 11.25 4.5ZM7.5 7.25C7.5 6.83579 7.83579 6.5 8.25 6.5C8.66421 6.5 9 6.83579 9 7.25V11.5H7.5V7.25ZM5.25 9C4.83579 9 4.5 9.33579 4.5 9.75V11.5H6V9.75C6 9.33579 5.66421 9 5.25 9Z\" fill={'currentColor'} /></svg>;\n};\nChartFilled.displayName = 'ChartFilled';\nChartFilled.isGlyph = true;\nexport default ChartFilled;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChartFilled","_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,gZACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Charts.js","sources":["../../src/glyphCommon.ts","../../src/generated/Charts.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 26deb328299b20cad996d516405513c9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartsProps extends LGGlyph.ComponentProps {}\nconst Charts = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Charts', {\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=\"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z\" fill={'currentColor'} /><path d=\"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z\" fill={'currentColor'} /><path d=\"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z\" fill={'currentColor'} /></svg>;\n};\nCharts.displayName = 'Charts';\nCharts.isGlyph = true;\nexport default Charts;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Charts","_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,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,OAAQ,CAC3CM,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
1
+ {"version":3,"file":"Charts.js","sources":["../../src/glyphCommon.ts","../../src/generated/Charts.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 b61dbf728c25a07f1b19fabfdb018e56\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartsProps extends LGGlyph.ComponentProps {}\nconst Charts = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Charts', {\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=\"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z\" fill={'currentColor'} /><path d=\"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z\" fill={'currentColor'} /><path d=\"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z\" fill={'currentColor'} /></svg>;\n};\nCharts.displayName = 'Charts';\nCharts.isGlyph = true;\nexport default Charts;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Charts","_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,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,OAAQ,CAC3CM,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkmark.js","sources":["../../src/glyphCommon.ts","../../src/generated/Checkmark.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 39cc7dcc0490db874fd685c31ce99462\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkProps extends LGGlyph.ComponentProps {}\nconst Checkmark = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Checkmark', {\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=\"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z\" fill={'currentColor'} /></svg>;\n};\nCheckmark.displayName = 'Checkmark';\nCheckmark.isGlyph = true;\nexport default Checkmark;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Checkmark","_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,+VACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"Checkmark.js","sources":["../../src/glyphCommon.ts","../../src/generated/Checkmark.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 2565454976aa85d8a8b5c8162e5059ff\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkProps extends LGGlyph.ComponentProps {}\nconst Checkmark = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Checkmark', {\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=\"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z\" fill={'currentColor'} /></svg>;\n};\nCheckmark.displayName = 'Checkmark';\nCheckmark.isGlyph = true;\nexport default Checkmark;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Checkmark","_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,+VACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}