@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":"Resource.js","sources":["../../src/glyphCommon.ts","../../src/generated/Resource.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 b004027dc448692af9a4b974fba9186d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ResourceProps extends LGGlyph.ComponentProps {}\nconst Resource = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ResourceProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Resource', {\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.09999 1.99998C5.71339 1.99998 5.39999 2.31338 5.39999 2.69998V13.3C5.39999 13.6866 5.71339 14 6.09999 14H8.19999C8.58659 14 8.89999 13.6866 8.89999 13.3V2.69998C8.89999 2.31338 8.58659 1.99998 8.19999 1.99998H6.09999ZM8.02499 2.99998H6.27499V3.99998H8.02499V2.99998ZM6.27499 4.99998H8.02499V5.49998H6.27499V4.99998ZM8.02499 12H6.27499V13H8.02499V12Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.84432 2.35808C9.46647 2.4399 9.22758 2.81229 9.31074 3.18984L11.5698 13.4468C11.653 13.8243 12.0267 14.0641 12.4046 13.9823L14.4557 13.5381C14.8335 13.4563 15.0724 13.0839 14.9893 12.7064L12.7302 2.44944C12.647 2.07189 12.2733 1.83215 11.8954 1.91396L9.84432 2.35808ZM11.9381 2.91964L10.2283 3.28984L10.4417 4.25852L12.1514 3.88832L11.9381 2.91964ZM10.6551 5.22735L12.3648 4.85715L12.4715 5.34149L10.7618 5.71169L10.6551 5.22735ZM13.8583 11.6377L12.1485 12.0079L12.3619 12.9766L14.0716 12.6064L13.8583 11.6377Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M2.09999 1.99998C1.71339 1.99998 1.39999 2.31338 1.39999 2.69998V13.3C1.39999 13.6866 1.71339 14 2.09999 14H4.19999C4.58659 14 4.89999 13.6866 4.89999 13.3V2.69998C4.89999 2.31338 4.58659 1.99998 4.19999 1.99998H2.09999ZM4.02499 2.99998H2.27499V3.99998H4.02499V2.99998ZM2.27499 4.99998H4.02499V5.49998H2.27499V4.99998ZM4.02499 12H2.27499V13H4.02499V12Z\" fill={'currentColor'} /></svg>;\n};\nResource.displayName = 'Resource';\nResource.isGlyph = true;\nexport default Resource;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Resource","_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,mWACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,ogBACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,mWACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
1
+ {"version":3,"file":"Resource.js","sources":["../../src/glyphCommon.ts","../../src/generated/Resource.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 dd60b92845f0bd745ece0f8effb3fed5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ResourceProps extends LGGlyph.ComponentProps {}\nconst Resource = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ResourceProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Resource', {\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.09999 1.99998C5.71339 1.99998 5.39999 2.31338 5.39999 2.69998V13.3C5.39999 13.6866 5.71339 14 6.09999 14H8.19999C8.58659 14 8.89999 13.6866 8.89999 13.3V2.69998C8.89999 2.31338 8.58659 1.99998 8.19999 1.99998H6.09999ZM8.02499 2.99998H6.27499V3.99998H8.02499V2.99998ZM6.27499 4.99998H8.02499V5.49998H6.27499V4.99998ZM8.02499 12H6.27499V13H8.02499V12Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.84432 2.35808C9.46647 2.4399 9.22758 2.81229 9.31074 3.18984L11.5698 13.4468C11.653 13.8243 12.0267 14.0641 12.4046 13.9823L14.4557 13.5381C14.8335 13.4563 15.0724 13.0839 14.9893 12.7064L12.7302 2.44944C12.647 2.07189 12.2733 1.83215 11.8954 1.91396L9.84432 2.35808ZM11.9381 2.91964L10.2283 3.28984L10.4417 4.25852L12.1514 3.88832L11.9381 2.91964ZM10.6551 5.22735L12.3648 4.85715L12.4715 5.34149L10.7618 5.71169L10.6551 5.22735ZM13.8583 11.6377L12.1485 12.0079L12.3619 12.9766L14.0716 12.6064L13.8583 11.6377Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M2.09999 1.99998C1.71339 1.99998 1.39999 2.31338 1.39999 2.69998V13.3C1.39999 13.6866 1.71339 14 2.09999 14H4.19999C4.58659 14 4.89999 13.6866 4.89999 13.3V2.69998C4.89999 2.31338 4.58659 1.99998 4.19999 1.99998H2.09999ZM4.02499 2.99998H2.27499V3.99998H4.02499V2.99998ZM2.27499 4.99998H4.02499V5.49998H2.27499V4.99998ZM4.02499 12H2.27499V13H4.02499V12Z\" fill={'currentColor'} /></svg>;\n};\nResource.displayName = 'Resource';\nResource.isGlyph = true;\nexport default Resource;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Resource","_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,mWACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,ogBACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,mWACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Return.js","sources":["../../src/glyphCommon.ts","../../src/generated/Return.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 b070121729d644fba834172593263578\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ReturnProps extends LGGlyph.ComponentProps {}\nconst Return = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ReturnProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Return', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Return\"><path id=\"Union\" d=\"M5 2C4.44772 2 4 2.44772 4 3C4 3.55228 4.44772 4 5 4H10C11.3807 4 12.5 5.11929 12.5 6.5C12.5 7.88071 11.3807 9 10 9H5.20328L6.65079 7.75927C7.07012 7.39985 7.11868 6.76855 6.75926 6.34923C6.39983 5.9299 5.76853 5.88134 5.34921 6.24076L1.84921 9.24076C1.62756 9.43074 1.5 9.70809 1.5 10C1.5 10.2919 1.62756 10.5693 1.84921 10.7593L5.34921 13.7593C5.76853 14.1187 6.39983 14.0701 6.75926 13.6508C7.11868 13.2315 7.07012 12.6002 6.65079 12.2408L5.20324 11H10C12.4853 11 14.5 8.98528 14.5 6.5C14.5 4.01472 12.4853 2 10 2H5Z\" fill={'currentColor'} /></g></svg>;\n};\nReturn.displayName = 'Return';\nReturn.isGlyph = true;\nexport default Return;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Return","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","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,IAAK,CACxCM,GAAI,UACUP,EAAMC,cAAc,OAAQ,CAC1CM,GAAI,QACJC,EAAG,0gBACHzB,KAAM,kBAEV,SACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
1
+ {"version":3,"file":"Return.js","sources":["../../src/glyphCommon.ts","../../src/generated/Return.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 afed9365667a421693da105356e74780\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ReturnProps extends LGGlyph.ComponentProps {}\nconst Return = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ReturnProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Return', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Return\"><path id=\"Union\" d=\"M5 2C4.44772 2 4 2.44772 4 3C4 3.55228 4.44772 4 5 4H10C11.3807 4 12.5 5.11929 12.5 6.5C12.5 7.88071 11.3807 9 10 9H5.20328L6.65079 7.75927C7.07012 7.39985 7.11868 6.76855 6.75926 6.34923C6.39983 5.9299 5.76853 5.88134 5.34921 6.24076L1.84921 9.24076C1.62756 9.43074 1.5 9.70809 1.5 10C1.5 10.2919 1.62756 10.5693 1.84921 10.7593L5.34921 13.7593C5.76853 14.1187 6.39983 14.0701 6.75926 13.6508C7.11868 13.2315 7.07012 12.6002 6.65079 12.2408L5.20324 11H10C12.4853 11 14.5 8.98528 14.5 6.5C14.5 4.01472 12.4853 2 10 2H5Z\" fill={'currentColor'} /></g></svg>;\n};\nReturn.displayName = 'Return';\nReturn.isGlyph = true;\nexport default Return;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Return","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","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,IAAK,CACxCM,GAAI,UACUP,EAAMC,cAAc,OAAQ,CAC1CM,GAAI,QACJC,EAAG,0gBACHzB,KAAM,kBAEV,SACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Revert.js","sources":["../../src/glyphCommon.ts","../../src/generated/Revert.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 a8a714bf006aff6130e5fe5ef73e2289\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface RevertProps extends LGGlyph.ComponentProps {}\nconst Revert = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: RevertProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Revert', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /></svg>;\n};\nRevert.displayName = 'Revert';\nRevert.isGlyph = true;\nexport default Revert;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Revert","_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,6iBACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
1
+ {"version":3,"file":"Revert.js","sources":["../../src/glyphCommon.ts","../../src/generated/Revert.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 176ac16d1414ce17a44007d9c3165d80\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface RevertProps extends LGGlyph.ComponentProps {}\nconst Revert = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: RevertProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Revert', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /></svg>;\n};\nRevert.displayName = 'Revert';\nRevert.isGlyph = true;\nexport default Revert;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Revert","_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,6iBACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Router.js","sources":["../../src/glyphCommon.ts","../../src/generated/Router.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 11d54fbfda6e1ca7a3c01f11169ba1d9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface RouterProps extends LGGlyph.ComponentProps {}\nconst Router = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: RouterProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Router', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13.89 4.89001C13.61 4.77001 13.29 4.89001 13.16 5.17001L12.6 6.41001C12.56 6.31001 12.53 6.21001 12.49 6.12001C12.33 5.70001 12.17 5.27001 12.04 4.93001C11.91 4.59001 11.82 4.35001 11.78 4.25001C11.54 3.70001 11.2 3.38001 11.12 3.31001C11.12 3.31001 11.11 3.30001 11.1 3.30001C11.01 3.21001 10.41 2.66001 9.34003 2.53001C9.22003 2.52001 9.11003 2.51001 8.99003 2.51001C7.95003 2.51001 7.27003 3.03001 7.14003 3.12001C7.14003 3.12001 7.12003 3.13001 7.12003 3.14001C7.05003 3.19001 6.81003 3.38001 6.55003 3.71001C6.26003 4.08001 5.94003 4.64001 5.88003 5.37001V5.60001C5.88003 6.72001 6.47003 7.42001 6.61003 7.58001C6.61003 7.58001 7.80003 9.08001 8.48003 9.91001C8.70003 10.18 8.77003 10.51 8.77003 10.81C8.77003 10.97 8.75003 11.11 8.73003 11.21L8.70003 11.32V11.34V11.36V11.37C8.70003 11.39 8.62003 11.62 8.43003 11.85C8.23003 12.07 7.94003 12.3 7.37003 12.38C7.28003 12.39 7.19003 12.4 7.11003 12.4C6.64003 12.4 6.36003 12.23 6.17003 12.05C6.08003 11.96 6.01003 11.87 5.97003 11.81L5.93003 11.74V11.72L5.34003 10.61C5.76003 10.22 6.02003 9.67001 6.02003 9.06001C6.02003 7.89001 5.07003 6.94001 3.90003 6.94001C2.73003 6.94001 1.78003 7.89001 1.78003 9.06001C1.78003 10.23 2.73003 11.18 3.90003 11.18C4.06003 11.18 4.22003 11.16 4.37003 11.12L4.95003 12.21C4.99003 12.29 5.13003 12.56 5.44003 12.85C5.78003 13.17 6.35003 13.49 7.13003 13.49C7.26003 13.49 7.39003 13.49 7.52003 13.46C8.41003 13.35 9.01003 12.9 9.34003 12.47C9.64003 12.09 9.74003 11.76 9.77003 11.66C9.77003 11.66 9.89003 11.28 9.89003 10.79C9.89003 10.33 9.79003 9.73001 9.36003 9.19001C8.69003 8.37001 7.50003 6.87001 7.50003 6.87001V6.85001L7.47003 6.84001C7.44003 6.81001 6.99003 6.28001 7.00003 5.58001V5.44001C7.04003 5.00001 7.24003 4.63001 7.45003 4.37001C7.55003 4.24001 7.65003 4.14001 7.72003 4.08001L7.80003 4.01001H7.82003L7.83003 3.99001H7.84003C7.84003 3.99001 8.38003 3.59001 9.03003 3.59001H9.25003C9.63003 3.65001 9.92003 3.78001 10.12 3.89001C10.22 3.95001 10.29 4.00001 10.34 4.04001L10.39 4.08001V4.09001C10.39 4.09001 10.65 4.35001 10.79 4.68001C10.8 4.71001 10.91 4.97001 11.03 5.31001C11.19 5.72001 11.39 6.27001 11.58 6.77001L10.26 6.17001C9.98003 6.04001 9.66003 6.17001 9.53003 6.44001C9.40003 6.72001 9.53003 7.04001 9.80003 7.17001L12.35 8.33001C12.48 8.39001 12.63 8.40001 12.77 8.34001C12.91 8.29001 13.02 8.18001 13.08 8.05001L14.18 5.60001C14.3 5.32001 14.18 5.00001 13.9 4.87001L13.89 4.89001ZM2.85003 9.07001C2.85003 8.51001 3.31003 8.05001 3.87003 8.05001C4.43003 8.05001 4.89003 8.51001 4.89003 9.07001C4.89003 9.64001 4.43003 10.09 3.87003 10.09C3.30003 10.09 2.85003 9.63001 2.85003 9.07001Z\" fill={'currentColor'} /></svg>;\n};\nRouter.displayName = 'Router';\nRouter.isGlyph = true;\nexport default Router;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Router","_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,4iFACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
1
+ {"version":3,"file":"Router.js","sources":["../../src/glyphCommon.ts","../../src/generated/Router.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 457b9e088bc1a35c6b71f49cc64d1140\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface RouterProps extends LGGlyph.ComponentProps {}\nconst Router = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: RouterProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Router', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13.89 4.89001C13.61 4.77001 13.29 4.89001 13.16 5.17001L12.6 6.41001C12.56 6.31001 12.53 6.21001 12.49 6.12001C12.33 5.70001 12.17 5.27001 12.04 4.93001C11.91 4.59001 11.82 4.35001 11.78 4.25001C11.54 3.70001 11.2 3.38001 11.12 3.31001C11.12 3.31001 11.11 3.30001 11.1 3.30001C11.01 3.21001 10.41 2.66001 9.34003 2.53001C9.22003 2.52001 9.11003 2.51001 8.99003 2.51001C7.95003 2.51001 7.27003 3.03001 7.14003 3.12001C7.14003 3.12001 7.12003 3.13001 7.12003 3.14001C7.05003 3.19001 6.81003 3.38001 6.55003 3.71001C6.26003 4.08001 5.94003 4.64001 5.88003 5.37001V5.60001C5.88003 6.72001 6.47003 7.42001 6.61003 7.58001C6.61003 7.58001 7.80003 9.08001 8.48003 9.91001C8.70003 10.18 8.77003 10.51 8.77003 10.81C8.77003 10.97 8.75003 11.11 8.73003 11.21L8.70003 11.32V11.34V11.36V11.37C8.70003 11.39 8.62003 11.62 8.43003 11.85C8.23003 12.07 7.94003 12.3 7.37003 12.38C7.28003 12.39 7.19003 12.4 7.11003 12.4C6.64003 12.4 6.36003 12.23 6.17003 12.05C6.08003 11.96 6.01003 11.87 5.97003 11.81L5.93003 11.74V11.72L5.34003 10.61C5.76003 10.22 6.02003 9.67001 6.02003 9.06001C6.02003 7.89001 5.07003 6.94001 3.90003 6.94001C2.73003 6.94001 1.78003 7.89001 1.78003 9.06001C1.78003 10.23 2.73003 11.18 3.90003 11.18C4.06003 11.18 4.22003 11.16 4.37003 11.12L4.95003 12.21C4.99003 12.29 5.13003 12.56 5.44003 12.85C5.78003 13.17 6.35003 13.49 7.13003 13.49C7.26003 13.49 7.39003 13.49 7.52003 13.46C8.41003 13.35 9.01003 12.9 9.34003 12.47C9.64003 12.09 9.74003 11.76 9.77003 11.66C9.77003 11.66 9.89003 11.28 9.89003 10.79C9.89003 10.33 9.79003 9.73001 9.36003 9.19001C8.69003 8.37001 7.50003 6.87001 7.50003 6.87001V6.85001L7.47003 6.84001C7.44003 6.81001 6.99003 6.28001 7.00003 5.58001V5.44001C7.04003 5.00001 7.24003 4.63001 7.45003 4.37001C7.55003 4.24001 7.65003 4.14001 7.72003 4.08001L7.80003 4.01001H7.82003L7.83003 3.99001H7.84003C7.84003 3.99001 8.38003 3.59001 9.03003 3.59001H9.25003C9.63003 3.65001 9.92003 3.78001 10.12 3.89001C10.22 3.95001 10.29 4.00001 10.34 4.04001L10.39 4.08001V4.09001C10.39 4.09001 10.65 4.35001 10.79 4.68001C10.8 4.71001 10.91 4.97001 11.03 5.31001C11.19 5.72001 11.39 6.27001 11.58 6.77001L10.26 6.17001C9.98003 6.04001 9.66003 6.17001 9.53003 6.44001C9.40003 6.72001 9.53003 7.04001 9.80003 7.17001L12.35 8.33001C12.48 8.39001 12.63 8.40001 12.77 8.34001C12.91 8.29001 13.02 8.18001 13.08 8.05001L14.18 5.60001C14.3 5.32001 14.18 5.00001 13.9 4.87001L13.89 4.89001ZM2.85003 9.07001C2.85003 8.51001 3.31003 8.05001 3.87003 8.05001C4.43003 8.05001 4.89003 8.51001 4.89003 9.07001C4.89003 9.64001 4.43003 10.09 3.87003 10.09C3.30003 10.09 2.85003 9.63001 2.85003 9.07001Z\" fill={'currentColor'} /></svg>;\n};\nRouter.displayName = 'Router';\nRouter.isGlyph = true;\nexport default Router;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Router","_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,4iFACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
package/dist/SMS.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"SMS.js","sources":["../../src/glyphCommon.ts","../../src/generated/SMS.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 e2261136895cfe7a8e3af6414ca88d1c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SMSProps extends LGGlyph.ComponentProps {}\nconst SMS = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SMSProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SMS', {\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 4C1 2.89543 1.89543 2 3 2H13C14.1046 2 15 2.89543 15 4V10C15 11.1046 14.1046 12 13 12H7.75495L4.23014 14.8311C3.74164 15.2234 3 14.8886 3 14.2758L3 12C1.89543 12 1 11.1046 1 10V4ZM3.00001 4.75C3.00001 4.33579 3.3358 4 3.75001 4H11.25C11.6642 4 12 4.33579 12 4.75C12 5.16421 11.6642 5.5 11.25 5.5H3.75001C3.3358 5.5 3.00001 5.16421 3.00001 4.75ZM3.00001 7.75C3.00001 7.33579 3.3358 7 3.75001 7H9.25001C9.66423 7 10 7.33579 10 7.75C10 8.16421 9.66423 8.5 9.25001 8.5H3.75001C3.3358 8.5 3.00001 8.16421 3.00001 7.75Z\" fill={'currentColor'} /></svg>;\n};\nSMS.displayName = 'SMS';\nSMS.isGlyph = true;\nexport default SMS;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SMS","_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":"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,SAAU,UACVC,SAAU,UACVC,EAAG,ugBACH1B,KAAM,iBAEV,SACAR,EAAImC,YAAc,MAClBnC,EAAIoC,SAAU"}
1
+ {"version":3,"file":"SMS.js","sources":["../../src/glyphCommon.ts","../../src/generated/SMS.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 e3f48828439aff531373b1c89452062b\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SMSProps extends LGGlyph.ComponentProps {}\nconst SMS = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SMSProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SMS', {\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 4C1 2.89543 1.89543 2 3 2H13C14.1046 2 15 2.89543 15 4V10C15 11.1046 14.1046 12 13 12H7.75495L4.23014 14.8311C3.74164 15.2234 3 14.8886 3 14.2758L3 12C1.89543 12 1 11.1046 1 10V4ZM3.00001 4.75C3.00001 4.33579 3.3358 4 3.75001 4H11.25C11.6642 4 12 4.33579 12 4.75C12 5.16421 11.6642 5.5 11.25 5.5H3.75001C3.3358 5.5 3.00001 5.16421 3.00001 4.75ZM3.00001 7.75C3.00001 7.33579 3.3358 7 3.75001 7H9.25001C9.66423 7 10 7.33579 10 7.75C10 8.16421 9.66423 8.5 9.25001 8.5H3.75001C3.3358 8.5 3.00001 8.16421 3.00001 7.75Z\" fill={'currentColor'} /></svg>;\n};\nSMS.displayName = 'SMS';\nSMS.isGlyph = true;\nexport default SMS;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SMS","_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":"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,SAAU,UACVC,SAAU,UACVC,EAAG,ugBACH1B,KAAM,iBAEV,SACAR,EAAImC,YAAc,MAClBnC,EAAIoC,SAAU"}
package/dist/Save.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Save.js","sources":["../../src/glyphCommon.ts","../../src/generated/Save.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 03ff40ba352e25ec3eec04a29994b12c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SaveProps extends LGGlyph.ComponentProps {}\nconst Save = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SaveProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Save', {\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=\"M2 3.6C2 3.03995 2 2.75992 2.10899 2.54601C2.20487 2.35785 2.35785 2.20487 2.54601 2.10899C2.75992 2 3.03995 2 3.6 2H11.3373C11.5818 2 11.7041 2 11.8192 2.02763C11.9213 2.05213 12.0188 2.09253 12.1083 2.14736C12.2092 2.2092 12.2957 2.29568 12.4686 2.46862L13.5314 3.53137C13.7043 3.70432 13.7908 3.7908 13.8526 3.89172C13.9075 3.98119 13.9479 4.07873 13.9724 4.18077C14 4.29586 14 4.41815 14 4.66274V12.4C14 12.9601 14 13.2401 13.891 13.454C13.7951 13.6422 13.6422 13.7951 13.454 13.891C13.2532 13.9933 12.9942 13.9996 12.5 14L12.5 9.28404C12.5 9.15788 12.5 9.03494 12.4915 8.93089C12.4822 8.81659 12.4602 8.68172 12.391 8.54601C12.2951 8.35785 12.1422 8.20487 11.954 8.109C11.8183 8.03985 11.6834 8.01781 11.5691 8.00848C11.465 7.99997 11.3421 7.99999 11.216 8H4.78405C4.65786 7.99999 4.53497 7.99997 4.43089 8.00848C4.31659 8.01781 4.18172 8.03985 4.04601 8.109C3.85785 8.20487 3.70487 8.35785 3.609 8.54601C3.53985 8.68172 3.51781 8.81659 3.50848 8.93089C3.49997 9.03497 3.49999 9.15786 3.5 9.28405L3.5 14C3.00583 13.9996 2.74679 13.9933 2.54601 13.891C2.35785 13.7951 2.20487 13.6422 2.10899 13.454C2 13.2401 2 12.9601 2 12.4V3.6ZM4 3.5C3.72386 3.5 3.5 3.72386 3.5 4V6C3.5 6.27614 3.72386 6.5 4 6.5H9C9.27614 6.5 9.5 6.27614 9.5 6V4C9.5 3.72386 9.27614 3.5 9 3.5H4Z\" fill={'currentColor'} /><path d=\"M11.5 9.3V14H4.5V9.3C4.5 9.15174 4.50039 9.07061 4.50515 9.01232L4.50573 9.00573L4.51232 9.00515C4.57061 9.00039 4.65174 9 4.8 9H11.2C11.3483 9 11.4294 9.00039 11.4877 9.00515L11.4943 9.00573L11.4949 9.01232C11.4996 9.07061 11.5 9.15174 11.5 9.3Z\" fill={'currentColor'} /></svg>;\n};\nSave.displayName = 'Save';\nSave.isGlyph = true;\nexport default Save;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Save","_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,wvCACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,yPACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
1
+ {"version":3,"file":"Save.js","sources":["../../src/glyphCommon.ts","../../src/generated/Save.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 ead766a6a37221e9af5ad60f1b951e53\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SaveProps extends LGGlyph.ComponentProps {}\nconst Save = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SaveProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Save', {\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=\"M2 3.6C2 3.03995 2 2.75992 2.10899 2.54601C2.20487 2.35785 2.35785 2.20487 2.54601 2.10899C2.75992 2 3.03995 2 3.6 2H11.3373C11.5818 2 11.7041 2 11.8192 2.02763C11.9213 2.05213 12.0188 2.09253 12.1083 2.14736C12.2092 2.2092 12.2957 2.29568 12.4686 2.46862L13.5314 3.53137C13.7043 3.70432 13.7908 3.7908 13.8526 3.89172C13.9075 3.98119 13.9479 4.07873 13.9724 4.18077C14 4.29586 14 4.41815 14 4.66274V12.4C14 12.9601 14 13.2401 13.891 13.454C13.7951 13.6422 13.6422 13.7951 13.454 13.891C13.2532 13.9933 12.9942 13.9996 12.5 14L12.5 9.28404C12.5 9.15788 12.5 9.03494 12.4915 8.93089C12.4822 8.81659 12.4602 8.68172 12.391 8.54601C12.2951 8.35785 12.1422 8.20487 11.954 8.109C11.8183 8.03985 11.6834 8.01781 11.5691 8.00848C11.465 7.99997 11.3421 7.99999 11.216 8H4.78405C4.65786 7.99999 4.53497 7.99997 4.43089 8.00848C4.31659 8.01781 4.18172 8.03985 4.04601 8.109C3.85785 8.20487 3.70487 8.35785 3.609 8.54601C3.53985 8.68172 3.51781 8.81659 3.50848 8.93089C3.49997 9.03497 3.49999 9.15786 3.5 9.28405L3.5 14C3.00583 13.9996 2.74679 13.9933 2.54601 13.891C2.35785 13.7951 2.20487 13.6422 2.10899 13.454C2 13.2401 2 12.9601 2 12.4V3.6ZM4 3.5C3.72386 3.5 3.5 3.72386 3.5 4V6C3.5 6.27614 3.72386 6.5 4 6.5H9C9.27614 6.5 9.5 6.27614 9.5 6V4C9.5 3.72386 9.27614 3.5 9 3.5H4Z\" fill={'currentColor'} /><path d=\"M11.5 9.3V14H4.5V9.3C4.5 9.15174 4.50039 9.07061 4.50515 9.01232L4.50573 9.00573L4.51232 9.00515C4.57061 9.00039 4.65174 9 4.8 9H11.2C11.3483 9 11.4294 9.00039 11.4877 9.00515L11.4943 9.00573L11.4949 9.01232C11.4996 9.07061 11.5 9.15174 11.5 9.3Z\" fill={'currentColor'} /></svg>;\n};\nSave.displayName = 'Save';\nSave.isGlyph = true;\nexport default Save;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Save","_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,wvCACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,yPACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIndex.js","sources":["../../src/glyphCommon.ts","../../src/generated/SearchIndex.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 e03dad22ba70d8dfe7d375376709c237\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SearchIndexProps extends LGGlyph.ComponentProps {}\nconst SearchIndex = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SearchIndexProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SearchIndex', {\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.81572 12.7544C9.73678 13.6754 11.1421 13.8164 12.2116 13.1777L13.8338 14.7999C14.1006 15.0667 14.5331 15.0667 14.7999 14.7999C15.0667 14.5331 15.0667 14.1006 14.7999 13.8338L13.1777 12.2116C13.8164 11.1421 13.6754 9.73678 12.7544 8.81572C11.6667 7.72809 9.90335 7.72809 8.81572 8.81572C7.72809 9.90335 7.72809 11.6667 8.81572 12.7544ZM11.7883 9.78181C12.3424 10.3359 12.3424 11.2342 11.7883 11.7883C11.2342 12.3424 10.3359 12.3424 9.78181 11.7883C9.22773 11.2342 9.22773 10.3359 9.78181 9.78181C10.3359 9.22773 11.2342 9.22773 11.7883 9.78181Z\" fill={'currentColor'} /><path d=\"M12 3.66667C12 3.75035 11.9994 3.83206 11.9983 3.91184C11.9994 3.94108 12 3.97047 12 4V4.21428C12 4.49502 11.8763 4.76461 11.6065 5.02898C11.3319 5.2981 10.9246 5.54074 10.4197 5.74366C9.41078 6.14907 8.10976 6.35714 7 6.35714C5.89024 6.35714 4.58922 6.14907 3.58034 5.74366C3.07537 5.54074 2.66813 5.2981 2.39348 5.02898C2.12368 4.76461 2 4.49502 2 4.21428V4C2 3.96691 2.00073 3.934 2.00217 3.90128C2.00073 3.82496 2 3.74677 2 3.66667C2 1.85714 4.53444 1 7 1C9.46556 1 12 1.85714 12 3.66667Z\" fill={'currentColor'} /><path d=\"M2 5.81314V7.64286C2 7.92359 2.12368 8.19318 2.39348 8.45755C2.66813 8.72667 3.07537 8.96932 3.58034 9.17224C4.58922 9.57765 5.89024 9.78571 7 9.78571C7.04434 9.78571 7.08899 9.78538 7.13391 9.78472C7.3015 9.17079 7.6264 8.59083 8.10862 8.10862C9.16114 7.05609 10.6793 6.75302 12 7.1994V5.81314C11.6435 6.11014 11.1998 6.35041 10.7229 6.54204C9.59874 6.99378 8.19143 7.21428 7 7.21428C5.80857 7.21428 4.40126 6.99378 3.2771 6.54204C2.8002 6.35041 2.35654 6.11014 2 5.81314Z\" fill={'currentColor'} /><path d=\"M7 10.6429H7.00266C6.97218 11.4587 7.20413 12.2826 7.69852 12.977C7.46653 12.9923 7.23296 13 7 13C4.53444 13 2 12.1429 2 10.3333C2 10.2503 2.00057 10.1683 2.00171 10.0875C2.00057 10.0585 2 10.0293 2 10V9.24171C2.35654 9.53872 2.8002 9.77898 3.2771 9.97062C4.40126 10.4223 5.80857 10.6429 7 10.6429Z\" fill={'currentColor'} /></svg>;\n};\nSearchIndex.displayName = 'SearchIndex';\nSearchIndex.isGlyph = true;\nexport default SearchIndex;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SearchIndex","_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,qiBACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,+eACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,4dACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,6SACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
1
+ {"version":3,"file":"SearchIndex.js","sources":["../../src/glyphCommon.ts","../../src/generated/SearchIndex.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 4dd448050bfba714296d2c67c55da068\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SearchIndexProps extends LGGlyph.ComponentProps {}\nconst SearchIndex = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SearchIndexProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SearchIndex', {\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.81572 12.7544C9.73678 13.6754 11.1421 13.8164 12.2116 13.1777L13.8338 14.7999C14.1006 15.0667 14.5331 15.0667 14.7999 14.7999C15.0667 14.5331 15.0667 14.1006 14.7999 13.8338L13.1777 12.2116C13.8164 11.1421 13.6754 9.73678 12.7544 8.81572C11.6667 7.72809 9.90335 7.72809 8.81572 8.81572C7.72809 9.90335 7.72809 11.6667 8.81572 12.7544ZM11.7883 9.78181C12.3424 10.3359 12.3424 11.2342 11.7883 11.7883C11.2342 12.3424 10.3359 12.3424 9.78181 11.7883C9.22773 11.2342 9.22773 10.3359 9.78181 9.78181C10.3359 9.22773 11.2342 9.22773 11.7883 9.78181Z\" fill={'currentColor'} /><path d=\"M12 3.66667C12 3.75035 11.9994 3.83206 11.9983 3.91184C11.9994 3.94108 12 3.97047 12 4V4.21428C12 4.49502 11.8763 4.76461 11.6065 5.02898C11.3319 5.2981 10.9246 5.54074 10.4197 5.74366C9.41078 6.14907 8.10976 6.35714 7 6.35714C5.89024 6.35714 4.58922 6.14907 3.58034 5.74366C3.07537 5.54074 2.66813 5.2981 2.39348 5.02898C2.12368 4.76461 2 4.49502 2 4.21428V4C2 3.96691 2.00073 3.934 2.00217 3.90128C2.00073 3.82496 2 3.74677 2 3.66667C2 1.85714 4.53444 1 7 1C9.46556 1 12 1.85714 12 3.66667Z\" fill={'currentColor'} /><path d=\"M2 5.81314V7.64286C2 7.92359 2.12368 8.19318 2.39348 8.45755C2.66813 8.72667 3.07537 8.96932 3.58034 9.17224C4.58922 9.57765 5.89024 9.78571 7 9.78571C7.04434 9.78571 7.08899 9.78538 7.13391 9.78472C7.3015 9.17079 7.6264 8.59083 8.10862 8.10862C9.16114 7.05609 10.6793 6.75302 12 7.1994V5.81314C11.6435 6.11014 11.1998 6.35041 10.7229 6.54204C9.59874 6.99378 8.19143 7.21428 7 7.21428C5.80857 7.21428 4.40126 6.99378 3.2771 6.54204C2.8002 6.35041 2.35654 6.11014 2 5.81314Z\" fill={'currentColor'} /><path d=\"M7 10.6429H7.00266C6.97218 11.4587 7.20413 12.2826 7.69852 12.977C7.46653 12.9923 7.23296 13 7 13C4.53444 13 2 12.1429 2 10.3333C2 10.2503 2.00057 10.1683 2.00171 10.0875C2.00057 10.0585 2 10.0293 2 10V9.24171C2.35654 9.53872 2.8002 9.77898 3.2771 9.97062C4.40126 10.4223 5.80857 10.6429 7 10.6429Z\" fill={'currentColor'} /></svg>;\n};\nSearchIndex.displayName = 'SearchIndex';\nSearchIndex.isGlyph = true;\nexport default SearchIndex;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SearchIndex","_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,qiBACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,+eACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,4dACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,6SACH1B,KAAM,iBAEV,SACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Secondary.js","sources":["../../src/glyphCommon.ts","../../src/generated/Secondary.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 90ec93a10b4d9b9504d2c33c17e757ec\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SecondaryProps extends LGGlyph.ComponentProps {}\nconst Secondary = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SecondaryProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Secondary', {\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 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z\" fill={'currentColor'} /><path d=\"M11 9.6705C11 11.1111 9.78621 12 8.11724 12C6.33793 12 5.06897 10.8966 5 9.39464H6.97241C7.04138 10.069 7.56552 10.3908 8.17241 10.3908C8.76552 10.3908 9.06896 10.1456 9.06896 9.77778C9.06896 9.37931 8.8069 9.18008 8.2 9.01149L6.90345 8.64368C5.70345 8.30651 5.15172 7.38697 5.15172 6.2682C5.15172 4.95019 6.2 4 7.92414 4C9.44138 4 10.6 4.88889 10.7103 6.42146H8.8069C8.71034 5.83908 8.31034 5.63985 7.89655 5.63985C7.41379 5.63985 7.08276 5.85441 7.08276 6.22222C7.08276 6.65134 7.45517 6.81992 7.86897 6.9272L9.08276 7.29502C10.4345 7.67816 11 8.4751 11 9.6705Z\" fill={'currentColor'} /></svg>;\n};\nSecondary.displayName = 'Secondary';\nSecondary.isGlyph = true;\nexport default Secondary;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Secondary","_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,iPACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,sjBACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"Secondary.js","sources":["../../src/glyphCommon.ts","../../src/generated/Secondary.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 84a953812350620a1edcb5d991db7b16\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SecondaryProps extends LGGlyph.ComponentProps {}\nconst Secondary = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SecondaryProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Secondary', {\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 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z\" fill={'currentColor'} /><path d=\"M11 9.6705C11 11.1111 9.78621 12 8.11724 12C6.33793 12 5.06897 10.8966 5 9.39464H6.97241C7.04138 10.069 7.56552 10.3908 8.17241 10.3908C8.76552 10.3908 9.06896 10.1456 9.06896 9.77778C9.06896 9.37931 8.8069 9.18008 8.2 9.01149L6.90345 8.64368C5.70345 8.30651 5.15172 7.38697 5.15172 6.2682C5.15172 4.95019 6.2 4 7.92414 4C9.44138 4 10.6 4.88889 10.7103 6.42146H8.8069C8.71034 5.83908 8.31034 5.63985 7.89655 5.63985C7.41379 5.63985 7.08276 5.85441 7.08276 6.22222C7.08276 6.65134 7.45517 6.81992 7.86897 6.9272L9.08276 7.29502C10.4345 7.67816 11 8.4751 11 9.6705Z\" fill={'currentColor'} /></svg>;\n};\nSecondary.displayName = 'Secondary';\nSecondary.isGlyph = true;\nexport default Secondary;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Secondary","_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,iPACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,sjBACH1B,KAAM,iBAEV,SACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Serverless.js","sources":["../../src/glyphCommon.ts","../../src/generated/Serverless.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 a5e9694d4c021512e84affa5ff183391\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ServerlessProps extends LGGlyph.ComponentProps {}\nconst Serverless = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ServerlessProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Serverless', {\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.13223 10.8487C0.834955 9.84256 0 8.26878 0 6.5C0 3.46243 2.46243 1 5.5 1C7.74673 1 9.67881 2.34714 10.5326 4.27774C10.9869 4.09848 11.482 4 12 4C14.2091 4 16 5.79086 16 8C16 9.05152 15.5943 10.0083 14.9308 10.7222C14.8896 10.7907 14.8395 10.8552 14.7805 10.9142L13.0092 12.8124C12.6426 13.2337 12.1024 13.5 11.5 13.5L7.79198 13.5C7.4062 14.383 6.52516 15 5.5 15C4.11929 15 3 13.8807 3 12.5C3 12.1448 3.07407 11.8069 3.2076 11.501C3.59316 10.6175 4.47447 10 5.5 10C6.52515 10 7.40619 10.617 7.79197 11.5L11.5 11.5L12.6664 10.25L8.49996 10.25C7.81664 9.34027 6.72814 8.75 5.5 8.75C4.02153 8.75 2.7429 9.6056 2.13223 10.8487Z\" fill={'currentColor'} /></svg>;\n};\nServerless.displayName = 'Serverless';\nServerless.isGlyph = true;\nexport default Serverless;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Serverless","_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,onBACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
1
+ {"version":3,"file":"Serverless.js","sources":["../../src/glyphCommon.ts","../../src/generated/Serverless.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 d786670e14cf865ffd26a5e934ddc610\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ServerlessProps extends LGGlyph.ComponentProps {}\nconst Serverless = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ServerlessProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Serverless', {\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.13223 10.8487C0.834955 9.84256 0 8.26878 0 6.5C0 3.46243 2.46243 1 5.5 1C7.74673 1 9.67881 2.34714 10.5326 4.27774C10.9869 4.09848 11.482 4 12 4C14.2091 4 16 5.79086 16 8C16 9.05152 15.5943 10.0083 14.9308 10.7222C14.8896 10.7907 14.8395 10.8552 14.7805 10.9142L13.0092 12.8124C12.6426 13.2337 12.1024 13.5 11.5 13.5L7.79198 13.5C7.4062 14.383 6.52516 15 5.5 15C4.11929 15 3 13.8807 3 12.5C3 12.1448 3.07407 11.8069 3.2076 11.501C3.59316 10.6175 4.47447 10 5.5 10C6.52515 10 7.40619 10.617 7.79197 11.5L11.5 11.5L12.6664 10.25L8.49996 10.25C7.81664 9.34027 6.72814 8.75 5.5 8.75C4.02153 8.75 2.7429 9.6056 2.13223 10.8487Z\" fill={'currentColor'} /></svg>;\n};\nServerless.displayName = 'Serverless';\nServerless.isGlyph = true;\nexport default Serverless;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Serverless","_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,onBACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.js","sources":["../../src/glyphCommon.ts","../../src/generated/Settings.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 00856814e4867077412b80e6001a06a9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SettingsProps extends LGGlyph.ComponentProps {}\nconst Settings = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SettingsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Settings', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.2068 1.06716C9.88875 0.935661 9.52203 1.03749 9.31733 1.31414L8.94293 1.82012C8.30664 1.72253 7.66857 1.72598 7.04948 1.8218L6.67408 1.31582C6.46902 1.03944 6.10217 0.938077 5.7843 1.06998L4.65819 1.53728C4.34032 1.66918 4.15301 2.0005 4.20388 2.34087L4.29701 2.96397C3.79197 3.33462 3.33892 3.78396 2.95865 4.30338L2.33602 4.21114C1.99558 4.1607 1.66451 4.34843 1.53301 4.66647L1.06716 5.79319C0.935661 6.11122 1.03749 6.47794 1.31414 6.68265L1.82012 7.05705C1.72253 7.69334 1.72598 8.33142 1.8218 8.9505L1.31583 9.32589C1.03945 9.53096 0.938089 9.89781 1.06999 10.2157L1.53729 11.3418C1.6692 11.6597 2.00051 11.847 2.34088 11.7961L2.96398 11.703C3.33462 12.208 3.78396 12.6611 4.30338 13.0413L4.21114 13.664C4.1607 14.0044 4.34843 14.3355 4.66647 14.467L5.79319 14.9328C6.11122 15.0643 6.47794 14.9625 6.68265 14.6858L7.05705 14.1799C7.69335 14.2774 8.33142 14.274 8.95051 14.1782L9.3259 14.6841C9.53096 14.9605 9.89781 15.0619 10.2157 14.93L11.3418 14.4627C11.6597 14.3308 11.847 13.9995 11.7961 13.6591L11.703 13.036C12.208 12.6654 12.6611 12.216 13.0413 11.6966L13.664 11.7888C14.0044 11.8393 14.3355 11.6515 14.467 11.3335L14.9328 10.2068C15.0643 9.88875 14.9625 9.52203 14.6858 9.31733L14.1799 8.94293C14.2774 8.30663 14.274 7.66856 14.1782 7.04947L14.6841 6.67408C14.9605 6.46902 15.0619 6.10217 14.93 5.7843L14.4627 4.65819C14.3308 4.34032 13.9995 4.15301 13.6591 4.20388L13.036 4.29701C12.6654 3.79197 12.216 3.33892 11.6966 2.95865L11.7888 2.33602C11.8393 1.99558 11.6515 1.66451 11.3335 1.53301L10.2068 1.06716ZM10.5413 9.05074C9.96102 10.4543 8.35278 11.1216 6.94924 10.5413C5.54569 9.96102 4.87833 8.35278 5.45865 6.94924C6.03896 5.54569 7.6472 4.87833 9.05074 5.45865C10.4543 6.03896 11.1216 7.6472 10.5413 9.05074Z\" fill={'currentColor'} /></svg>;\n};\nSettings.displayName = 'Settings';\nSettings.isGlyph = true;\nexport default Settings;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Settings","_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,ysDACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
1
+ {"version":3,"file":"Settings.js","sources":["../../src/glyphCommon.ts","../../src/generated/Settings.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 a0c71693804a35c0755f1675c0c7f939\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SettingsProps extends LGGlyph.ComponentProps {}\nconst Settings = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SettingsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Settings', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.2068 1.06716C9.88875 0.935661 9.52203 1.03749 9.31733 1.31414L8.94293 1.82012C8.30664 1.72253 7.66857 1.72598 7.04948 1.8218L6.67408 1.31582C6.46902 1.03944 6.10217 0.938077 5.7843 1.06998L4.65819 1.53728C4.34032 1.66918 4.15301 2.0005 4.20388 2.34087L4.29701 2.96397C3.79197 3.33462 3.33892 3.78396 2.95865 4.30338L2.33602 4.21114C1.99558 4.1607 1.66451 4.34843 1.53301 4.66647L1.06716 5.79319C0.935661 6.11122 1.03749 6.47794 1.31414 6.68265L1.82012 7.05705C1.72253 7.69334 1.72598 8.33142 1.8218 8.9505L1.31583 9.32589C1.03945 9.53096 0.938089 9.89781 1.06999 10.2157L1.53729 11.3418C1.6692 11.6597 2.00051 11.847 2.34088 11.7961L2.96398 11.703C3.33462 12.208 3.78396 12.6611 4.30338 13.0413L4.21114 13.664C4.1607 14.0044 4.34843 14.3355 4.66647 14.467L5.79319 14.9328C6.11122 15.0643 6.47794 14.9625 6.68265 14.6858L7.05705 14.1799C7.69335 14.2774 8.33142 14.274 8.95051 14.1782L9.3259 14.6841C9.53096 14.9605 9.89781 15.0619 10.2157 14.93L11.3418 14.4627C11.6597 14.3308 11.847 13.9995 11.7961 13.6591L11.703 13.036C12.208 12.6654 12.6611 12.216 13.0413 11.6966L13.664 11.7888C14.0044 11.8393 14.3355 11.6515 14.467 11.3335L14.9328 10.2068C15.0643 9.88875 14.9625 9.52203 14.6858 9.31733L14.1799 8.94293C14.2774 8.30663 14.274 7.66856 14.1782 7.04947L14.6841 6.67408C14.9605 6.46902 15.0619 6.10217 14.93 5.7843L14.4627 4.65819C14.3308 4.34032 13.9995 4.15301 13.6591 4.20388L13.036 4.29701C12.6654 3.79197 12.216 3.33892 11.6966 2.95865L11.7888 2.33602C11.8393 1.99558 11.6515 1.66451 11.3335 1.53301L10.2068 1.06716ZM10.5413 9.05074C9.96102 10.4543 8.35278 11.1216 6.94924 10.5413C5.54569 9.96102 4.87833 8.35278 5.45865 6.94924C6.03896 5.54569 7.6472 4.87833 9.05074 5.45865C10.4543 6.03896 11.1216 7.6472 10.5413 9.05074Z\" fill={'currentColor'} /></svg>;\n};\nSettings.displayName = 'Settings';\nSettings.isGlyph = true;\nexport default Settings;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Settings","_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,ysDACH1B,KAAM,iBAEV,SACAR,EAASmC,YAAc,WACvBnC,EAASoC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShardedCluster.js","sources":["../../src/glyphCommon.ts","../../src/generated/ShardedCluster.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 c1a66787d335b489a1c6a173d6edd9b7\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShardedClusterProps extends LGGlyph.ComponentProps {}\nconst ShardedCluster = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShardedClusterProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ShardedCluster', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M13 2.75C13 3.7165 12.2165 4.5 11.25 4.5C11.1218 4.5 10.9969 4.48622 10.8766 4.46007L10.2582 5.32584C10.8666 5.84015 11.2971 6.55834 11.4444 7.375H12.6149C12.8665 6.71716 13.5037 6.25 14.25 6.25C15.2165 6.25 16 7.0335 16 8C16 8.9665 15.2165 9.75 14.25 9.75C13.5037 9.75 12.8665 9.28284 12.6149 8.625H11.4444C11.2971 9.44165 10.8666 10.1598 10.2582 10.6741L10.8766 11.5399C10.9969 11.5138 11.1219 11.5 11.25 11.5C12.2165 11.5 13 12.2835 13 13.25C13 14.2165 12.2165 15 11.25 15C10.2835 15 9.5 14.2165 9.5 13.25C9.5 12.8677 9.6226 12.514 9.83062 12.2261L9.1691 11.3C8.8035 11.4295 8.40998 11.5 8 11.5C7.59258 11.5 7.20142 11.4304 6.83777 11.3024L6.17369 12.2321C6.3791 12.5189 6.5 12.8703 6.5 13.25C6.5 14.2165 5.7165 15 4.75 15C3.7835 15 3 14.2165 3 13.25C3 12.2835 3.7835 11.5 4.75 11.5C4.88079 11.5 5.00822 11.5143 5.13082 11.5416L5.74716 10.6787C5.13591 10.1641 4.70329 9.44405 4.55564 8.625H3.38509C3.13349 9.28284 2.4963 9.75 1.75 9.75C0.783502 9.75 0 8.9665 0 8C0 7.0335 0.783502 6.25 1.75 6.25C2.4963 6.25 3.13349 6.71716 3.38509 7.375H4.55564C4.70329 6.55595 5.13591 5.83594 5.74716 5.32133L5.13082 4.45845C5.00822 4.48565 4.88079 4.5 4.75 4.5C3.7835 4.5 3 3.7165 3 2.75C3 1.7835 3.7835 1 4.75 1C5.7165 1 6.5 1.7835 6.5 2.75C6.5 3.12967 6.3791 3.48109 6.17369 3.76788L6.83777 4.69759C7.20142 4.56961 7.59258 4.5 8 4.5C8.40998 4.5 8.80349 4.57049 9.16908 4.70001L9.83061 3.77386C9.62259 3.48598 9.5 3.13231 9.5 2.75C9.5 1.7835 10.2835 1 11.25 1C12.2165 1 13 1.7835 13 2.75ZM9.75 8C9.75 8.9665 8.9665 9.75 8 9.75C7.0335 9.75 6.25 8.9665 6.25 8C6.25 7.0335 7.0335 6.25 8 6.25C8.9665 6.25 9.75 7.0335 9.75 8Z\" fill={'currentColor'} /></svg>;\n};\nShardedCluster.displayName = 'ShardedCluster';\nShardedCluster.isGlyph = true;\nexport default ShardedCluster;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ShardedCluster","_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":"s6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,6kDACH1B,KAAM,iBAEV,SACAR,EAAemC,YAAc,iBAC7BnC,EAAeoC,SAAU"}
1
+ {"version":3,"file":"ShardedCluster.js","sources":["../../src/glyphCommon.ts","../../src/generated/ShardedCluster.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 0fc0e9b7e1bdca05f9f702a88cf76006\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShardedClusterProps extends LGGlyph.ComponentProps {}\nconst ShardedCluster = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShardedClusterProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ShardedCluster', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M13 2.75C13 3.7165 12.2165 4.5 11.25 4.5C11.1218 4.5 10.9969 4.48622 10.8766 4.46007L10.2582 5.32584C10.8666 5.84015 11.2971 6.55834 11.4444 7.375H12.6149C12.8665 6.71716 13.5037 6.25 14.25 6.25C15.2165 6.25 16 7.0335 16 8C16 8.9665 15.2165 9.75 14.25 9.75C13.5037 9.75 12.8665 9.28284 12.6149 8.625H11.4444C11.2971 9.44165 10.8666 10.1598 10.2582 10.6741L10.8766 11.5399C10.9969 11.5138 11.1219 11.5 11.25 11.5C12.2165 11.5 13 12.2835 13 13.25C13 14.2165 12.2165 15 11.25 15C10.2835 15 9.5 14.2165 9.5 13.25C9.5 12.8677 9.6226 12.514 9.83062 12.2261L9.1691 11.3C8.8035 11.4295 8.40998 11.5 8 11.5C7.59258 11.5 7.20142 11.4304 6.83777 11.3024L6.17369 12.2321C6.3791 12.5189 6.5 12.8703 6.5 13.25C6.5 14.2165 5.7165 15 4.75 15C3.7835 15 3 14.2165 3 13.25C3 12.2835 3.7835 11.5 4.75 11.5C4.88079 11.5 5.00822 11.5143 5.13082 11.5416L5.74716 10.6787C5.13591 10.1641 4.70329 9.44405 4.55564 8.625H3.38509C3.13349 9.28284 2.4963 9.75 1.75 9.75C0.783502 9.75 0 8.9665 0 8C0 7.0335 0.783502 6.25 1.75 6.25C2.4963 6.25 3.13349 6.71716 3.38509 7.375H4.55564C4.70329 6.55595 5.13591 5.83594 5.74716 5.32133L5.13082 4.45845C5.00822 4.48565 4.88079 4.5 4.75 4.5C3.7835 4.5 3 3.7165 3 2.75C3 1.7835 3.7835 1 4.75 1C5.7165 1 6.5 1.7835 6.5 2.75C6.5 3.12967 6.3791 3.48109 6.17369 3.76788L6.83777 4.69759C7.20142 4.56961 7.59258 4.5 8 4.5C8.40998 4.5 8.80349 4.57049 9.16908 4.70001L9.83061 3.77386C9.62259 3.48598 9.5 3.13231 9.5 2.75C9.5 1.7835 10.2835 1 11.25 1C12.2165 1 13 1.7835 13 2.75ZM9.75 8C9.75 8.9665 8.9665 9.75 8 9.75C7.0335 9.75 6.25 8.9665 6.25 8C6.25 7.0335 7.0335 6.25 8 6.25C8.9665 6.25 9.75 7.0335 9.75 8Z\" fill={'currentColor'} /></svg>;\n};\nShardedCluster.displayName = 'ShardedCluster';\nShardedCluster.isGlyph = true;\nexport default ShardedCluster;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ShardedCluster","_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":"s6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,6kDACH1B,KAAM,iBAEV,SACAR,EAAemC,YAAc,iBAC7BnC,EAAeoC,SAAU"}
package/dist/Shell.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Shell.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shell.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 e3ab9e582f5ec203efdea4f59c6dc88b\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShellProps extends LGGlyph.ComponentProps {}\nconst Shell = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShellProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shell', {\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=\"M1.8 5.2L5.2 7.4L1.41036 9.92642C1.18282 10.0781 1.11937 10.3845 1.26793 10.6141L1.82463 11.4744C1.9761 11.7085 2.28977 11.7735 2.52176 11.6188L7.5 8.3C7.8 8.1 8 7.8 8 7.5C8 7.2 7.8 6.9 7.6 6.7L2.52235 3.28412C2.29032 3.12804 1.97539 3.19258 1.82347 3.42736L1.27593 4.27357C1.12424 4.50799 1.19394 4.82121 1.43071 4.96919L1.8 5.2ZM6.7 13C6.7 13.2761 6.92386 13.5 7.2 13.5H14.9C15.1761 13.5 15.4 13.2761 15.4 13V12C15.4 11.7239 15.1761 11.5 14.9 11.5H7.2C6.92386 11.5 6.7 11.7239 6.7 12V13Z\" fill={'currentColor'} /></svg>;\n};\nShell.displayName = 'Shell';\nShell.isGlyph = true;\nexport default Shell;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shell","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,4eACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
1
+ {"version":3,"file":"Shell.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shell.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 92eb28f9960a88e168f0344984372032\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShellProps extends LGGlyph.ComponentProps {}\nconst Shell = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShellProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shell', {\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=\"M1.8 5.2L5.2 7.4L1.41036 9.92642C1.18282 10.0781 1.11937 10.3845 1.26793 10.6141L1.82463 11.4744C1.9761 11.7085 2.28977 11.7735 2.52176 11.6188L7.5 8.3C7.8 8.1 8 7.8 8 7.5C8 7.2 7.8 6.9 7.6 6.7L2.52235 3.28412C2.29032 3.12804 1.97539 3.19258 1.82347 3.42736L1.27593 4.27357C1.12424 4.50799 1.19394 4.82121 1.43071 4.96919L1.8 5.2ZM6.7 13C6.7 13.2761 6.92386 13.5 7.2 13.5H14.9C15.1761 13.5 15.4 13.2761 15.4 13V12C15.4 11.7239 15.1761 11.5 14.9 11.5H7.2C6.92386 11.5 6.7 11.7239 6.7 12V13Z\" fill={'currentColor'} /></svg>;\n};\nShell.displayName = 'Shell';\nShell.isGlyph = true;\nexport default Shell;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shell","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,4eACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Shield.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shield.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 35b61b94f1ebe7d7ef9ac7c2b16f6c80\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShieldProps extends LGGlyph.ComponentProps {}\nconst Shield = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShieldProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shield', {\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.00001 15.0001C10.7303 14.4227 12.9549 12.3761 13.833 9.63371L13.9712 9.20234L14.6795 4.95897C14.7201 4.71585 14.5772 4.47999 14.3447 4.39817C12.1971 3.64242 10.1477 2.5622 8.28968 1.21369C8.11569 1.08742 7.88082 1.08253 7.70399 1.20478L7.59446 1.2805C5.73823 2.56382 3.73939 3.60897 1.64175 4.39348C1.41552 4.47809 1.27832 4.70976 1.31729 4.94814L2.02886 9.30167L2.14042 9.64296C3.0359 12.3823 5.2671 14.4222 8.00001 15.0001ZM7.99977 12.9449C6.11619 12.4083 4.59951 10.9361 3.9669 9.00085L3.90464 8.8104L3.48073 6.21684C3.4435 5.98905 3.56721 5.76581 3.7786 5.67313C5.13339 5.07913 6.44393 4.38092 7.69919 3.58415C7.86827 3.47682 8.08467 3.47835 8.25243 3.58774C9.50741 4.40603 10.8318 5.11469 12.204 5.7004C12.4189 5.79214 12.5455 6.01806 12.507 6.24855L12.0954 8.7139L12.0027 9.0034C11.3839 10.936 9.87631 12.4092 7.99977 12.9449Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.12322 8.87421L9.85084 6.14657C10.0461 5.9513 10.3627 5.9513 10.558 6.14657L10.9115 6.50012C11.1068 6.69538 11.1068 7.01197 10.9115 7.20723L7.37793 10.7408C7.1644 10.9544 6.81177 10.9313 6.62783 10.6918L5.10349 8.70704C4.93529 8.48804 4.97648 8.17415 5.19548 8.00595L5.49289 7.77753C5.76665 7.56728 6.15901 7.61876 6.36926 7.89252L7.12322 8.87421Z\" fill={'currentColor'} /></svg>;\n};\nShield.displayName = 'Shield';\nShield.isGlyph = true;\nexport default Shield;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shield","_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,s0BACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,gWACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Shield.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shield.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 668bcc8a75f56ce53b654c49bb1e913d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShieldProps extends LGGlyph.ComponentProps {}\nconst Shield = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShieldProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shield', {\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.00001 15.0001C10.7303 14.4227 12.9549 12.3761 13.833 9.63371L13.9712 9.20234L14.6795 4.95897C14.7201 4.71585 14.5772 4.47999 14.3447 4.39817C12.1971 3.64242 10.1477 2.5622 8.28968 1.21369C8.11569 1.08742 7.88082 1.08253 7.70399 1.20478L7.59446 1.2805C5.73823 2.56382 3.73939 3.60897 1.64175 4.39348C1.41552 4.47809 1.27832 4.70976 1.31729 4.94814L2.02886 9.30167L2.14042 9.64296C3.0359 12.3823 5.2671 14.4222 8.00001 15.0001ZM7.99977 12.9449C6.11619 12.4083 4.59951 10.9361 3.9669 9.00085L3.90464 8.8104L3.48073 6.21684C3.4435 5.98905 3.56721 5.76581 3.7786 5.67313C5.13339 5.07913 6.44393 4.38092 7.69919 3.58415C7.86827 3.47682 8.08467 3.47835 8.25243 3.58774C9.50741 4.40603 10.8318 5.11469 12.204 5.7004C12.4189 5.79214 12.5455 6.01806 12.507 6.24855L12.0954 8.7139L12.0027 9.0034C11.3839 10.936 9.87631 12.4092 7.99977 12.9449Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.12322 8.87421L9.85084 6.14657C10.0461 5.9513 10.3627 5.9513 10.558 6.14657L10.9115 6.50012C11.1068 6.69538 11.1068 7.01197 10.9115 7.20723L7.37793 10.7408C7.1644 10.9544 6.81177 10.9313 6.62783 10.6918L5.10349 8.70704C4.93529 8.48804 4.97648 8.17415 5.19548 8.00595L5.49289 7.77753C5.76665 7.56728 6.15901 7.61876 6.36926 7.89252L7.12322 8.87421Z\" fill={'currentColor'} /></svg>;\n};\nShield.displayName = 'Shield';\nShield.isGlyph = true;\nexport default Shield;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shield","_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,s0BACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,gWACH1B,KAAM,iBAEV,SACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
package/dist/Shirt.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Shirt.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shirt.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 fa9611a925b5f74587b4088edde6c9a6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShirtProps extends LGGlyph.ComponentProps {}\nconst Shirt = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShirtProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shirt', {\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.08868 4.24432C2.03629 4.02602 2.13581 3.79957 2.33205 3.69055L5.37504 2C8.00004 4.5 10.625 2 10.625 2L13.668 3.69055C13.8643 3.79957 13.9638 4.02602 13.9114 4.24432L13.388 6.42503C13.3071 6.76224 13.0055 7 12.6587 7H11V12.4271C11 12.7782 10.8017 13.0992 10.4876 13.2562C8.92164 14.0392 7.07844 14.0392 5.5125 13.2562C5.19843 13.0992 5.00004 12.7782 5.00004 12.4271V7H3.34134C2.99455 7 2.69298 6.76224 2.61205 6.42503L2.08868 4.24432Z\" fill={'currentColor'} /></svg>;\n};\nShirt.displayName = 'Shirt';\nShirt.isGlyph = true;\nexport default Shirt;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shirt","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ubACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
1
+ {"version":3,"file":"Shirt.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shirt.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 2578b95efd6c1b382e5ff2120947b261\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShirtProps extends LGGlyph.ComponentProps {}\nconst Shirt = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShirtProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shirt', {\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.08868 4.24432C2.03629 4.02602 2.13581 3.79957 2.33205 3.69055L5.37504 2C8.00004 4.5 10.625 2 10.625 2L13.668 3.69055C13.8643 3.79957 13.9638 4.02602 13.9114 4.24432L13.388 6.42503C13.3071 6.76224 13.0055 7 12.6587 7H11V12.4271C11 12.7782 10.8017 13.0992 10.4876 13.2562C8.92164 14.0392 7.07844 14.0392 5.5125 13.2562C5.19843 13.0992 5.00004 12.7782 5.00004 12.4271V7H3.34134C2.99455 7 2.69298 6.76224 2.61205 6.42503L2.08868 4.24432Z\" fill={'currentColor'} /></svg>;\n};\nShirt.displayName = 'Shirt';\nShirt.isGlyph = true;\nexport default Shirt;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shirt","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"24CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ubACHxB,KAAM,iBAEV,SACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"Shortcut.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shortcut.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 774afc25f3d7e56ef0e9ec09f0d702b4\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShortcutProps extends LGGlyph.ComponentProps {}\nconst Shortcut = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShortcutProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shortcut', {\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=\"M14.1332 8.64356L13.0543 7.99961L14.1332 7.35623C14.6761 7.03257 15 6.47109 15 5.85406C15 5.23704 14.6755 4.67555 14.1332 4.3519L8.95605 1.26399C8.36504 0.911724 7.63381 0.912285 7.04395 1.26399L1.86682 4.3519C1.3239 4.67555 1 5.23704 1 5.85406C1 6.47109 1.32448 7.03257 1.86682 7.35623L2.9457 7.99961L1.86682 8.64356C1.3239 8.96722 1 9.5287 1 10.1457C1 10.7627 1.32448 11.3242 1.86682 11.6479L7.04395 14.7358C7.33946 14.9119 7.66973 15 8 15C8.33027 15 8.66112 14.9119 8.95547 14.7364L14.1332 11.6485C14.6761 11.3248 15 10.7633 15 10.1463C15 9.52927 14.6755 8.96722 14.1332 8.64356ZM2.15884 5.85406C2.15884 5.62577 2.27415 5.42664 2.47463 5.30716L7.65235 2.21869C7.75954 2.15474 7.87948 2.12277 8 2.12277C8.12052 2.12277 8.24046 2.1553 8.34823 2.21925L13.526 5.30716C13.7264 5.42664 13.8417 5.62577 13.8417 5.85406C13.8417 6.08236 13.7264 6.28149 13.526 6.40097L11.9499 7.34108L8.95605 5.55509C8.3662 5.20339 7.63439 5.20339 7.04453 5.55509L5.76185 6.32023C5.48796 6.48361 5.40311 6.84093 5.57431 7.11C5.73868 7.36832 6.0787 7.44906 6.34165 7.29221L7.65235 6.51035C7.86731 6.3819 8.13327 6.3819 8.34823 6.51035L10.845 7.99961L8.34765 9.48888C8.13443 9.61677 7.86789 9.61733 7.65235 9.48888L2.47463 6.40041C2.27415 6.28093 2.15884 6.08236 2.15884 5.85406ZM13.5254 10.6921L8.34708 13.7805C8.13385 13.9084 7.86731 13.909 7.65177 13.7805L2.47405 10.6926C2.27357 10.5732 2.15827 10.374 2.15827 10.1457C2.15827 9.91743 2.27357 9.7183 2.47405 9.59882L4.05008 8.65871L7.04338 10.4441C7.33888 10.6203 7.66915 10.7083 7.99942 10.7083C8.32969 10.7083 8.66054 10.6203 8.95489 10.4447L11.9488 8.65927L13.5248 9.59938C13.7253 9.71886 13.8406 9.91799 13.8406 10.1463C13.8406 10.3746 13.7253 10.5737 13.5248 10.6932L13.5254 10.6921Z\" fill={'currentColor'} /></svg>;\n};\nShortcut.displayName = 'Shortcut';\nShortcut.isGlyph = true;\nexport default Shortcut;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shortcut","_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":"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,urDACHxB,KAAM,iBAEV,SACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU"}
1
+ {"version":3,"file":"Shortcut.js","sources":["../../src/glyphCommon.ts","../../src/generated/Shortcut.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 9680dece5235eab4e7bfc293922fc6bc\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ShortcutProps extends LGGlyph.ComponentProps {}\nconst Shortcut = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ShortcutProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Shortcut', {\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=\"M14.1332 8.64356L13.0543 7.99961L14.1332 7.35623C14.6761 7.03257 15 6.47109 15 5.85406C15 5.23704 14.6755 4.67555 14.1332 4.3519L8.95605 1.26399C8.36504 0.911724 7.63381 0.912285 7.04395 1.26399L1.86682 4.3519C1.3239 4.67555 1 5.23704 1 5.85406C1 6.47109 1.32448 7.03257 1.86682 7.35623L2.9457 7.99961L1.86682 8.64356C1.3239 8.96722 1 9.5287 1 10.1457C1 10.7627 1.32448 11.3242 1.86682 11.6479L7.04395 14.7358C7.33946 14.9119 7.66973 15 8 15C8.33027 15 8.66112 14.9119 8.95547 14.7364L14.1332 11.6485C14.6761 11.3248 15 10.7633 15 10.1463C15 9.52927 14.6755 8.96722 14.1332 8.64356ZM2.15884 5.85406C2.15884 5.62577 2.27415 5.42664 2.47463 5.30716L7.65235 2.21869C7.75954 2.15474 7.87948 2.12277 8 2.12277C8.12052 2.12277 8.24046 2.1553 8.34823 2.21925L13.526 5.30716C13.7264 5.42664 13.8417 5.62577 13.8417 5.85406C13.8417 6.08236 13.7264 6.28149 13.526 6.40097L11.9499 7.34108L8.95605 5.55509C8.3662 5.20339 7.63439 5.20339 7.04453 5.55509L5.76185 6.32023C5.48796 6.48361 5.40311 6.84093 5.57431 7.11C5.73868 7.36832 6.0787 7.44906 6.34165 7.29221L7.65235 6.51035C7.86731 6.3819 8.13327 6.3819 8.34823 6.51035L10.845 7.99961L8.34765 9.48888C8.13443 9.61677 7.86789 9.61733 7.65235 9.48888L2.47463 6.40041C2.27415 6.28093 2.15884 6.08236 2.15884 5.85406ZM13.5254 10.6921L8.34708 13.7805C8.13385 13.9084 7.86731 13.909 7.65177 13.7805L2.47405 10.6926C2.27357 10.5732 2.15827 10.374 2.15827 10.1457C2.15827 9.91743 2.27357 9.7183 2.47405 9.59882L4.05008 8.65871L7.04338 10.4441C7.33888 10.6203 7.66915 10.7083 7.99942 10.7083C8.32969 10.7083 8.66054 10.6203 8.95489 10.4447L11.9488 8.65927L13.5248 9.59938C13.7253 9.71886 13.8406 9.91799 13.8406 10.1463C13.8406 10.3746 13.7253 10.5737 13.5248 10.6932L13.5254 10.6921Z\" fill={'currentColor'} /></svg>;\n};\nShortcut.displayName = 'Shortcut';\nShortcut.isGlyph = true;\nexport default Shortcut;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Shortcut","_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":"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,urDACHxB,KAAM,iBAEV,SACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"SortAscending.js","sources":["../../src/glyphCommon.ts","../../src/generated/SortAscending.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 dde80423801b6674f3e98a4c05abe439\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SortAscendingProps extends LGGlyph.ComponentProps {}\nconst SortAscending = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SortAscendingProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SortAscending', {\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.44991 1.14265C4.23029 0.95245 3.90429 0.952449 3.68466 1.14265L1.20302 3.29182C0.793944 3.64609 1.04449 4.31811 1.58564 4.31811H2.89835V13.6696C2.89835 14.3152 3.4217 14.8386 4.06729 14.8386C4.71287 14.8386 5.23623 14.3152 5.23623 13.6696V4.31811H6.54893C7.09009 4.31811 7.34063 3.64609 6.93156 3.29182L4.44991 1.14265Z\" fill={'currentColor'} /><path d=\"M8 5C7.44772 5 7 5.44772 7 6C7 6.55228 7.44772 7 8 7H14C14.5523 7 15 6.55228 15 6C15 5.44772 14.5523 5 14 5H8Z\" fill={'currentColor'} /><path d=\"M7 9C7 8.44772 7.44772 8 8 8H12C12.5523 8 13 8.44772 13 9C13 9.55229 12.5523 10 12 10H8C7.44772 10 7 9.55229 7 9Z\" fill={'currentColor'} /><path d=\"M8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H8Z\" fill={'currentColor'} /></svg>;\n};\nSortAscending.displayName = 'SortAscending';\nSortAscending.isGlyph = true;\nexport default SortAscending;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SortAscending","_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":"m6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAgB,SAAuBC,GACzC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,gBAAiBU,EAAgBA,EAAgB,CACnGf,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,qUACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,SACAR,EAAciC,YAAc,gBAC5BjC,EAAckC,SAAU"}
1
+ {"version":3,"file":"SortAscending.js","sources":["../../src/glyphCommon.ts","../../src/generated/SortAscending.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 c9f1f5e33d0623a69a7160eb6fdab7e2\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface SortAscendingProps extends LGGlyph.ComponentProps {}\nconst SortAscending = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: SortAscendingProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'SortAscending', {\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.44991 1.14265C4.23029 0.95245 3.90429 0.952449 3.68466 1.14265L1.20302 3.29182C0.793944 3.64609 1.04449 4.31811 1.58564 4.31811H2.89835V13.6696C2.89835 14.3152 3.4217 14.8386 4.06729 14.8386C4.71287 14.8386 5.23623 14.3152 5.23623 13.6696V4.31811H6.54893C7.09009 4.31811 7.34063 3.64609 6.93156 3.29182L4.44991 1.14265Z\" fill={'currentColor'} /><path d=\"M8 5C7.44772 5 7 5.44772 7 6C7 6.55228 7.44772 7 8 7H14C14.5523 7 15 6.55228 15 6C15 5.44772 14.5523 5 14 5H8Z\" fill={'currentColor'} /><path d=\"M7 9C7 8.44772 7.44772 8 8 8H12C12.5523 8 13 8.44772 13 9C13 9.55229 12.5523 10 12 10H8C7.44772 10 7 9.55229 7 9Z\" fill={'currentColor'} /><path d=\"M8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H8Z\" fill={'currentColor'} /></svg>;\n};\nSortAscending.displayName = 'SortAscending';\nSortAscending.isGlyph = true;\nexport default SortAscending;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","SortAscending","_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":"m6CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAgB,SAAuBC,GACzC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,gBAAiBU,EAAgBA,EAAgB,CACnGf,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,qUACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,SACAR,EAAciC,YAAc,gBAC5BjC,EAAckC,SAAU"}