@leafygreen-ui/icon 14.5.0 → 14.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/esm/MultiDirectionArrow.js +1 -1
  3. package/dist/esm/MultiDirectionArrow.js.map +1 -1
  4. package/dist/esm/MultiLayers.js +1 -1
  5. package/dist/esm/MultiLayers.js.map +1 -1
  6. package/dist/esm/NavCollapse.js +1 -1
  7. package/dist/esm/NavCollapse.js.map +1 -1
  8. package/dist/esm/NavExpand.js +1 -1
  9. package/dist/esm/NavExpand.js.map +1 -1
  10. package/dist/esm/NoFilter.js +1 -1
  11. package/dist/esm/NoFilter.js.map +1 -1
  12. package/dist/esm/NotAllowed.js +1 -1
  13. package/dist/esm/NotAllowed.js.map +1 -1
  14. package/dist/esm/Note.js +1 -1
  15. package/dist/esm/Note.js.map +1 -1
  16. package/dist/esm/NumberedList.js +1 -1
  17. package/dist/esm/NumberedList.js.map +1 -1
  18. package/dist/esm/OpenNewTab.js +1 -1
  19. package/dist/esm/OpenNewTab.js.map +1 -1
  20. package/dist/esm/index.js +1 -1
  21. package/dist/types/index.d.ts +5 -1
  22. package/dist/types/index.d.ts.map +1 -1
  23. package/dist/umd/AIModel.js +1 -1
  24. package/dist/umd/AIModel.js.map +1 -1
  25. package/dist/umd/ActivityFeed.js +1 -1
  26. package/dist/umd/ActivityFeed.js.map +1 -1
  27. package/dist/umd/AddFile.js +1 -1
  28. package/dist/umd/AddFile.js.map +1 -1
  29. package/dist/umd/AllProducts.js +1 -1
  30. package/dist/umd/AllProducts.js.map +1 -1
  31. package/dist/umd/AnalyticsNode.js +1 -1
  32. package/dist/umd/AnalyticsNode.js.map +1 -1
  33. package/dist/umd/Apps.js +1 -1
  34. package/dist/umd/Apps.js.map +1 -1
  35. package/dist/umd/Array.js +1 -1
  36. package/dist/umd/Array.js.map +1 -1
  37. package/dist/umd/ArrowDown.js +1 -1
  38. package/dist/umd/ArrowDown.js.map +1 -1
  39. package/dist/umd/ArrowLeft.js +1 -1
  40. package/dist/umd/ArrowLeft.js.map +1 -1
  41. package/dist/umd/ArrowRight.js +1 -1
  42. package/dist/umd/ArrowRight.js.map +1 -1
  43. package/dist/umd/ArrowUp.js +1 -1
  44. package/dist/umd/ArrowUp.js.map +1 -1
  45. package/dist/umd/Award.js +1 -1
  46. package/dist/umd/Award.js.map +1 -1
  47. package/dist/umd/Beaker.js +1 -1
  48. package/dist/umd/Beaker.js.map +1 -1
  49. package/dist/umd/Bell.js +1 -1
  50. package/dist/umd/Bell.js.map +1 -1
  51. package/dist/umd/Biometric.js +1 -1
  52. package/dist/umd/Biometric.js.map +1 -1
  53. package/dist/umd/Boolean.js +1 -1
  54. package/dist/umd/Boolean.js.map +1 -1
  55. package/dist/umd/Building.js +1 -1
  56. package/dist/umd/Building.js.map +1 -1
  57. package/dist/umd/Bulb.js +1 -1
  58. package/dist/umd/Bulb.js.map +1 -1
  59. package/dist/umd/Calendar.js +1 -1
  60. package/dist/umd/Calendar.js.map +1 -1
  61. package/dist/umd/Camera.js +1 -1
  62. package/dist/umd/Camera.js.map +1 -1
  63. package/dist/umd/Cap.js +1 -1
  64. package/dist/umd/Cap.js.map +1 -1
  65. package/dist/umd/CaretDown.js +1 -1
  66. package/dist/umd/CaretDown.js.map +1 -1
  67. package/dist/umd/CaretLeft.js +1 -1
  68. package/dist/umd/CaretLeft.js.map +1 -1
  69. package/dist/umd/CaretRight.js +1 -1
  70. package/dist/umd/CaretRight.js.map +1 -1
  71. package/dist/umd/CaretUp.js +1 -1
  72. package/dist/umd/CaretUp.js.map +1 -1
  73. package/dist/umd/ChartFilled.js +1 -1
  74. package/dist/umd/ChartFilled.js.map +1 -1
  75. package/dist/umd/Charts.js +1 -1
  76. package/dist/umd/Charts.js.map +1 -1
  77. package/dist/umd/Checkmark.js +1 -1
  78. package/dist/umd/Checkmark.js.map +1 -1
  79. package/dist/umd/CheckmarkWithCircle.js +1 -1
  80. package/dist/umd/CheckmarkWithCircle.js.map +1 -1
  81. package/dist/umd/ChevronDown.js +1 -1
  82. package/dist/umd/ChevronDown.js.map +1 -1
  83. package/dist/umd/ChevronLeft.js +1 -1
  84. package/dist/umd/ChevronLeft.js.map +1 -1
  85. package/dist/umd/ChevronRight.js +1 -1
  86. package/dist/umd/ChevronRight.js.map +1 -1
  87. package/dist/umd/ChevronUp.js +1 -1
  88. package/dist/umd/ChevronUp.js.map +1 -1
  89. package/dist/umd/Circle.js +1 -1
  90. package/dist/umd/Circle.js.map +1 -1
  91. package/dist/umd/Clock.js +1 -1
  92. package/dist/umd/Clock.js.map +1 -1
  93. package/dist/umd/ClockWithArrow.js +1 -1
  94. package/dist/umd/ClockWithArrow.js.map +1 -1
  95. package/dist/umd/Clone.js +1 -1
  96. package/dist/umd/Clone.js.map +1 -1
  97. package/dist/umd/Cloud.js +1 -1
  98. package/dist/umd/Cloud.js.map +1 -1
  99. package/dist/umd/Code.js +1 -1
  100. package/dist/umd/Code.js.map +1 -1
  101. package/dist/umd/CodeBlock.js +1 -1
  102. package/dist/umd/CodeBlock.js.map +1 -1
  103. package/dist/umd/Coin.js +1 -1
  104. package/dist/umd/Coin.js.map +1 -1
  105. package/dist/umd/Colon.js +1 -1
  106. package/dist/umd/Colon.js.map +1 -1
  107. package/dist/umd/Config.js +1 -1
  108. package/dist/umd/Config.js.map +1 -1
  109. package/dist/umd/Connect.js +1 -1
  110. package/dist/umd/Connect.js.map +1 -1
  111. package/dist/umd/Copy.js +1 -1
  112. package/dist/umd/Copy.js.map +1 -1
  113. package/dist/umd/CreditCard.js +1 -1
  114. package/dist/umd/CreditCard.js.map +1 -1
  115. package/dist/umd/CurlyBraces.js +1 -1
  116. package/dist/umd/CurlyBraces.js.map +1 -1
  117. package/dist/umd/Cursor.js +1 -1
  118. package/dist/umd/Cursor.js.map +1 -1
  119. package/dist/umd/Dashboard.js +1 -1
  120. package/dist/umd/Dashboard.js.map +1 -1
  121. package/dist/umd/Database.js +1 -1
  122. package/dist/umd/Database.js.map +1 -1
  123. package/dist/umd/Diagram.js +1 -1
  124. package/dist/umd/Diagram.js.map +1 -1
  125. package/dist/umd/Diagram2.js +1 -1
  126. package/dist/umd/Diagram2.js.map +1 -1
  127. package/dist/umd/Diagram3.js +1 -1
  128. package/dist/umd/Diagram3.js.map +1 -1
  129. package/dist/umd/Disconnect.js +1 -1
  130. package/dist/umd/Disconnect.js.map +1 -1
  131. package/dist/umd/Download.js +1 -1
  132. package/dist/umd/Download.js.map +1 -1
  133. package/dist/umd/Drag.js +1 -1
  134. package/dist/umd/Drag.js.map +1 -1
  135. package/dist/umd/Edit.js +1 -1
  136. package/dist/umd/Edit.js.map +1 -1
  137. package/dist/umd/Ellipsis.js +1 -1
  138. package/dist/umd/Ellipsis.js.map +1 -1
  139. package/dist/umd/Email.js +1 -1
  140. package/dist/umd/Email.js.map +1 -1
  141. package/dist/umd/EmptyDatabase.js +1 -1
  142. package/dist/umd/EmptyDatabase.js.map +1 -1
  143. package/dist/umd/EmptyFolder.js +1 -1
  144. package/dist/umd/EmptyFolder.js.map +1 -1
  145. package/dist/umd/Eraser.js +1 -1
  146. package/dist/umd/Eraser.js.map +1 -1
  147. package/dist/umd/Escalation.js +1 -1
  148. package/dist/umd/Escalation.js.map +1 -1
  149. package/dist/umd/Export.js +1 -1
  150. package/dist/umd/Export.js.map +1 -1
  151. package/dist/umd/Favorite.js +1 -1
  152. package/dist/umd/Favorite.js.map +1 -1
  153. package/dist/umd/Federation.js +1 -1
  154. package/dist/umd/Federation.js.map +1 -1
  155. package/dist/umd/File.js +1 -1
  156. package/dist/umd/File.js.map +1 -1
  157. package/dist/umd/Filter.js +1 -1
  158. package/dist/umd/Filter.js.map +1 -1
  159. package/dist/umd/Folder.js +1 -1
  160. package/dist/umd/Folder.js.map +1 -1
  161. package/dist/umd/Format.js +1 -1
  162. package/dist/umd/Format.js.map +1 -1
  163. package/dist/umd/FullScreenEnter.js +1 -1
  164. package/dist/umd/FullScreenEnter.js.map +1 -1
  165. package/dist/umd/FullScreenExit.js +1 -1
  166. package/dist/umd/FullScreenExit.js.map +1 -1
  167. package/dist/umd/Function.js +1 -1
  168. package/dist/umd/Function.js.map +1 -1
  169. package/dist/umd/Gauge.js +1 -1
  170. package/dist/umd/Gauge.js.map +1 -1
  171. package/dist/umd/GlobeAmericas.js +1 -1
  172. package/dist/umd/GlobeAmericas.js.map +1 -1
  173. package/dist/umd/GovernmentBuilding.js +1 -1
  174. package/dist/umd/GovernmentBuilding.js.map +1 -1
  175. package/dist/umd/Guide.js +1 -1
  176. package/dist/umd/Guide.js.map +1 -1
  177. package/dist/umd/Hash.js +1 -1
  178. package/dist/umd/Hash.js.map +1 -1
  179. package/dist/umd/HiddenSecondaryNode.js +1 -1
  180. package/dist/umd/HiddenSecondaryNode.js.map +1 -1
  181. package/dist/umd/Highlight.js +1 -1
  182. package/dist/umd/Highlight.js.map +1 -1
  183. package/dist/umd/Home.js +1 -1
  184. package/dist/umd/Home.js.map +1 -1
  185. package/dist/umd/HorizontalDrag.js +1 -1
  186. package/dist/umd/HorizontalDrag.js.map +1 -1
  187. package/dist/umd/Import.js +1 -1
  188. package/dist/umd/Import.js.map +1 -1
  189. package/dist/umd/ImportantWithCircle.js +1 -1
  190. package/dist/umd/ImportantWithCircle.js.map +1 -1
  191. package/dist/umd/InfoWithCircle.js +1 -1
  192. package/dist/umd/InfoWithCircle.js.map +1 -1
  193. package/dist/umd/InternalEmployee.js +1 -1
  194. package/dist/umd/InternalEmployee.js.map +1 -1
  195. package/dist/umd/InviteUser.js +1 -1
  196. package/dist/umd/InviteUser.js.map +1 -1
  197. package/dist/umd/Key.js +1 -1
  198. package/dist/umd/Key.js.map +1 -1
  199. package/dist/umd/Laptop.js +1 -1
  200. package/dist/umd/Laptop.js.map +1 -1
  201. package/dist/umd/LightningBolt.js +1 -1
  202. package/dist/umd/LightningBolt.js.map +1 -1
  203. package/dist/umd/Link.js +1 -1
  204. package/dist/umd/Link.js.map +1 -1
  205. package/dist/umd/List.js +1 -1
  206. package/dist/umd/List.js.map +1 -1
  207. package/dist/umd/Lock.js +1 -1
  208. package/dist/umd/Lock.js.map +1 -1
  209. package/dist/umd/LogIn.js +1 -1
  210. package/dist/umd/LogIn.js.map +1 -1
  211. package/dist/umd/LogOut.js +1 -1
  212. package/dist/umd/LogOut.js.map +1 -1
  213. package/dist/umd/MagnifyingGlass.js +1 -1
  214. package/dist/umd/MagnifyingGlass.js.map +1 -1
  215. package/dist/umd/Megaphone.js +1 -1
  216. package/dist/umd/Megaphone.js.map +1 -1
  217. package/dist/umd/Menu.js +1 -1
  218. package/dist/umd/Menu.js.map +1 -1
  219. package/dist/umd/Minus.js +1 -1
  220. package/dist/umd/Minus.js.map +1 -1
  221. package/dist/umd/Mobile.js +1 -1
  222. package/dist/umd/Mobile.js.map +1 -1
  223. package/dist/umd/Moon.js +1 -1
  224. package/dist/umd/Moon.js.map +1 -1
  225. package/dist/umd/MultiDirectionArrow.js +1 -1
  226. package/dist/umd/MultiDirectionArrow.js.map +1 -1
  227. package/dist/umd/MultiLayers.js +1 -1
  228. package/dist/umd/MultiLayers.js.map +1 -1
  229. package/dist/umd/NavCollapse.js +1 -1
  230. package/dist/umd/NavCollapse.js.map +1 -1
  231. package/dist/umd/NavExpand.js +1 -1
  232. package/dist/umd/NavExpand.js.map +1 -1
  233. package/dist/umd/NoFilter.js +1 -1
  234. package/dist/umd/NoFilter.js.map +1 -1
  235. package/dist/umd/NotAllowed.js +1 -1
  236. package/dist/umd/NotAllowed.js.map +1 -1
  237. package/dist/umd/Note.js +1 -1
  238. package/dist/umd/Note.js.map +1 -1
  239. package/dist/umd/NumberedList.js +1 -1
  240. package/dist/umd/NumberedList.js.map +1 -1
  241. package/dist/umd/OpenNewTab.js +1 -1
  242. package/dist/umd/OpenNewTab.js.map +1 -1
  243. package/dist/umd/OutlineFavorite.js +1 -1
  244. package/dist/umd/OutlineFavorite.js.map +1 -1
  245. package/dist/umd/Package.js +1 -1
  246. package/dist/umd/Package.js.map +1 -1
  247. package/dist/umd/Pause.js +1 -1
  248. package/dist/umd/Pause.js.map +1 -1
  249. package/dist/umd/Pending.js +1 -1
  250. package/dist/umd/Pending.js.map +1 -1
  251. package/dist/umd/Person.js +1 -1
  252. package/dist/umd/Person.js.map +1 -1
  253. package/dist/umd/PersonGroup.js +1 -1
  254. package/dist/umd/PersonGroup.js.map +1 -1
  255. package/dist/umd/PersonWithLock.js +1 -1
  256. package/dist/umd/PersonWithLock.js.map +1 -1
  257. package/dist/umd/Pin.js +1 -1
  258. package/dist/umd/Pin.js.map +1 -1
  259. package/dist/umd/Play.js +1 -1
  260. package/dist/umd/Play.js.map +1 -1
  261. package/dist/umd/Plus.js +1 -1
  262. package/dist/umd/Plus.js.map +1 -1
  263. package/dist/umd/PlusWithCircle.js +1 -1
  264. package/dist/umd/PlusWithCircle.js.map +1 -1
  265. package/dist/umd/Primary.js +1 -1
  266. package/dist/umd/Primary.js.map +1 -1
  267. package/dist/umd/Project.js +1 -1
  268. package/dist/umd/Project.js.map +1 -1
  269. package/dist/umd/QuestionMarkWithCircle.js +1 -1
  270. package/dist/umd/QuestionMarkWithCircle.js.map +1 -1
  271. package/dist/umd/Read.js +1 -1
  272. package/dist/umd/Read.js.map +1 -1
  273. package/dist/umd/Recommended.js +1 -1
  274. package/dist/umd/Recommended.js.map +1 -1
  275. package/dist/umd/Redo.js +1 -1
  276. package/dist/umd/Redo.js.map +1 -1
  277. package/dist/umd/Refresh.js +1 -1
  278. package/dist/umd/Refresh.js.map +1 -1
  279. package/dist/umd/Relationship.js +1 -1
  280. package/dist/umd/Relationship.js.map +1 -1
  281. package/dist/umd/ReplicaSet.js +1 -1
  282. package/dist/umd/ReplicaSet.js.map +1 -1
  283. package/dist/umd/Resize.js +1 -1
  284. package/dist/umd/Resize.js.map +1 -1
  285. package/dist/umd/Resource.js +1 -1
  286. package/dist/umd/Resource.js.map +1 -1
  287. package/dist/umd/Return.js +1 -1
  288. package/dist/umd/Return.js.map +1 -1
  289. package/dist/umd/Revert.js +1 -1
  290. package/dist/umd/Revert.js.map +1 -1
  291. package/dist/umd/Router.js +1 -1
  292. package/dist/umd/Router.js.map +1 -1
  293. package/dist/umd/SMS.js +1 -1
  294. package/dist/umd/SMS.js.map +1 -1
  295. package/dist/umd/Save.js +1 -1
  296. package/dist/umd/Save.js.map +1 -1
  297. package/dist/umd/SearchIndex.js +1 -1
  298. package/dist/umd/SearchIndex.js.map +1 -1
  299. package/dist/umd/Secondary.js +1 -1
  300. package/dist/umd/Secondary.js.map +1 -1
  301. package/dist/umd/Serverless.js +1 -1
  302. package/dist/umd/Serverless.js.map +1 -1
  303. package/dist/umd/Settings.js +1 -1
  304. package/dist/umd/Settings.js.map +1 -1
  305. package/dist/umd/ShardedCluster.js +1 -1
  306. package/dist/umd/ShardedCluster.js.map +1 -1
  307. package/dist/umd/Shell.js +1 -1
  308. package/dist/umd/Shell.js.map +1 -1
  309. package/dist/umd/Shield.js +1 -1
  310. package/dist/umd/Shield.js.map +1 -1
  311. package/dist/umd/Shirt.js +1 -1
  312. package/dist/umd/Shirt.js.map +1 -1
  313. package/dist/umd/Shortcut.js +1 -1
  314. package/dist/umd/Shortcut.js.map +1 -1
  315. package/dist/umd/SortAscending.js +1 -1
  316. package/dist/umd/SortAscending.js.map +1 -1
  317. package/dist/umd/SortDescending.js +1 -1
  318. package/dist/umd/SortDescending.js.map +1 -1
  319. package/dist/umd/Sparkle.js +1 -1
  320. package/dist/umd/Sparkle.js.map +1 -1
  321. package/dist/umd/SplitHorizontal.js +1 -1
  322. package/dist/umd/SplitHorizontal.js.map +1 -1
  323. package/dist/umd/SplitVertical.js +1 -1
  324. package/dist/umd/SplitVertical.js.map +1 -1
  325. package/dist/umd/Stitch.js +1 -1
  326. package/dist/umd/Stitch.js.map +1 -1
  327. package/dist/umd/Stop.js +1 -1
  328. package/dist/umd/Stop.js.map +1 -1
  329. package/dist/umd/Streaming.js +1 -1
  330. package/dist/umd/Streaming.js.map +1 -1
  331. package/dist/umd/String.js +1 -1
  332. package/dist/umd/String.js.map +1 -1
  333. package/dist/umd/Sun.js +1 -1
  334. package/dist/umd/Sun.js.map +1 -1
  335. package/dist/umd/Support.js +1 -1
  336. package/dist/umd/Support.js.map +1 -1
  337. package/dist/umd/Sweep.js +1 -1
  338. package/dist/umd/Sweep.js.map +1 -1
  339. package/dist/umd/Table.js +1 -1
  340. package/dist/umd/Table.js.map +1 -1
  341. package/dist/umd/Tag.js +1 -1
  342. package/dist/umd/Tag.js.map +1 -1
  343. package/dist/umd/TemporaryTable.js +1 -1
  344. package/dist/umd/TemporaryTable.js.map +1 -1
  345. package/dist/umd/ThumbsDown.js +1 -1
  346. package/dist/umd/ThumbsDown.js.map +1 -1
  347. package/dist/umd/ThumbsUp.js +1 -1
  348. package/dist/umd/ThumbsUp.js.map +1 -1
  349. package/dist/umd/TimeSeries.js +1 -1
  350. package/dist/umd/TimeSeries.js.map +1 -1
  351. package/dist/umd/TimeSeriesCollection.js +1 -1
  352. package/dist/umd/TimeSeriesCollection.js.map +1 -1
  353. package/dist/umd/Trash.js +1 -1
  354. package/dist/umd/Trash.js.map +1 -1
  355. package/dist/umd/Undo.js +1 -1
  356. package/dist/umd/Undo.js.map +1 -1
  357. package/dist/umd/University.js +1 -1
  358. package/dist/umd/University.js.map +1 -1
  359. package/dist/umd/Unlock.js +1 -1
  360. package/dist/umd/Unlock.js.map +1 -1
  361. package/dist/umd/Unsorted.js +1 -1
  362. package/dist/umd/Unsorted.js.map +1 -1
  363. package/dist/umd/UpDownCarets.js +1 -1
  364. package/dist/umd/UpDownCarets.js.map +1 -1
  365. package/dist/umd/Upload.js +1 -1
  366. package/dist/umd/Upload.js.map +1 -1
  367. package/dist/umd/VerticalEllipsis.js +1 -1
  368. package/dist/umd/VerticalEllipsis.js.map +1 -1
  369. package/dist/umd/View.js +1 -1
  370. package/dist/umd/View.js.map +1 -1
  371. package/dist/umd/Visibility.js +1 -1
  372. package/dist/umd/Visibility.js.map +1 -1
  373. package/dist/umd/VisibilityOff.js +1 -1
  374. package/dist/umd/VisibilityOff.js.map +1 -1
  375. package/dist/umd/Warning.js +1 -1
  376. package/dist/umd/Warning.js.map +1 -1
  377. package/dist/umd/Wizard.js +1 -1
  378. package/dist/umd/Wizard.js.map +1 -1
  379. package/dist/umd/Wrench.js +1 -1
  380. package/dist/umd/Wrench.js.map +1 -1
  381. package/dist/umd/Write.js +1 -1
  382. package/dist/umd/Write.js.map +1 -1
  383. package/dist/umd/X.js +1 -1
  384. package/dist/umd/X.js.map +1 -1
  385. package/dist/umd/XWithCircle.js +1 -1
  386. package/dist/umd/XWithCircle.js.map +1 -1
  387. package/dist/umd/index.js +1 -1
  388. package/dist/umd/index.js.map +1 -1
  389. package/package.json +6 -5
  390. package/scripts/build/build-batch.ts +7 -3
  391. package/src/index.ts +7 -1
  392. package/tsdoc.json +92 -0
  393. package/dist/esm/index-vkLV3eP3.js +0 -2
  394. package/dist/esm/index-vkLV3eP3.js.map +0 -1
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_HiddenSecondaryNodeIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var C,o,c={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],u=function(e){var t=e.className,u=e.size,d=void 0===u?16:u,b=e.title,s=e["aria-label"],y=e["aria-labelledby"],p=e.fill,v=e.role,m=void 0===v?"img":v,g=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,f),O=r.css(C||(C=a(["\n color: ",";\n "])),p),h=r.css(o||(o=a(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],C=t.title;switch(e){case"img":return l||a||C?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",C):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(m,"HiddenSecondaryNode",i(i({title:b},"aria-label",s),"aria-labelledby",y));return n.createElement("svg",l({className:r.cx(i({},O,null!=p),h,t),height:"number"==typeof d?d:c[d],width:"number"==typeof d?d:c[d],role:m},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.51193 1.01678C7.67329 1.00565 7.83604 1 8 1C8.16396 1 8.32671 1.00565 8.48807 1.01678C8.88252 1.04399 9.18022 1.38581 9.15302 1.78025C9.12581 2.1747 8.78399 2.47241 8.38954 2.4452C8.26095 2.43633 8.13106 2.43182 8 2.43182C7.86894 2.43182 7.73905 2.43633 7.61046 2.4452C7.21601 2.47241 6.87419 2.1747 6.84698 1.78025C6.81978 1.38581 7.11748 1.04399 7.51193 1.01678ZM5.88788 2.03629C6.06146 2.39154 5.9142 2.82024 5.55896 2.99382C5.32527 3.10801 5.10067 3.23814 4.88658 3.38282C4.55899 3.60421 4.11395 3.51811 3.89257 3.19052C3.67118 2.86293 3.75727 2.41789 4.08487 2.1965C4.35387 2.0147 4.63629 1.85106 4.93035 1.70737C5.28559 1.53379 5.71429 1.68105 5.88788 2.03629ZM10.1121 2.03629C10.2857 1.68105 10.7144 1.53379 11.0696 1.70737C11.3637 1.85106 11.6461 2.01471 11.9151 2.1965C12.2427 2.41789 12.3288 2.86293 12.1074 3.19052C11.886 3.51811 11.441 3.60421 11.1134 3.38282C10.8993 3.23814 10.6747 3.10801 10.441 2.99382C10.0858 2.82024 9.93853 2.39154 10.1121 2.03629ZM3.19052 3.89257C3.51811 4.11395 3.60421 4.55899 3.38282 4.88658C3.23814 5.10067 3.10801 5.32527 2.99382 5.55896C2.82024 5.9142 2.39154 6.06146 2.03629 5.88788C1.68105 5.71429 1.53379 5.28559 1.70737 4.93035C1.85106 4.63629 2.01471 4.35387 2.1965 4.08487C2.41789 3.75727 2.86293 3.67118 3.19052 3.89257ZM12.8095 3.89257C13.1371 3.67118 13.5821 3.75727 13.8035 4.08487C13.9853 4.35387 14.1489 4.63629 14.2926 4.93035C14.4662 5.28559 14.3189 5.71429 13.9637 5.88788C13.6085 6.06146 13.1798 5.9142 13.0062 5.55896C12.892 5.32527 12.7619 5.10067 12.6172 4.88658C12.3958 4.55899 12.4819 4.11395 12.8095 3.89257ZM1.78025 6.84698C2.1747 6.87419 2.47241 7.21601 2.4452 7.61046C2.43633 7.73905 2.43182 7.86894 2.43182 8C2.43182 8.13106 2.43633 8.26095 2.4452 8.38954C2.47241 8.78399 2.1747 9.12581 1.78025 9.15302C1.38581 9.18022 1.04399 8.88252 1.01678 8.48807C1.00565 8.32671 1 8.16396 1 8C1 7.83604 1.00565 7.67329 1.01678 7.51193C1.04399 7.11748 1.38581 6.81978 1.78025 6.84698ZM14.2197 6.84698C14.6142 6.81978 14.956 7.11748 14.9832 7.51193C14.9943 7.67329 15 7.83604 15 8C15 8.16396 14.9943 8.32671 14.9832 8.48807C14.956 8.88252 14.6142 9.18022 14.2197 9.15302C13.8253 9.12581 13.5276 8.78399 13.5548 8.38954C13.5637 8.26095 13.5682 8.13106 13.5682 8C13.5682 7.86894 13.5637 7.73905 13.5548 7.61046C13.5276 7.21601 13.8253 6.87419 14.2197 6.84698ZM2.03629 10.1121C2.39154 9.93853 2.82024 10.0858 2.99382 10.441C3.10801 10.6747 3.23814 10.8993 3.38282 11.1134C3.60421 11.441 3.51811 11.886 3.19052 12.1074C2.86293 12.3288 2.41789 12.2427 2.1965 11.9151C2.0147 11.6461 1.85106 11.3637 1.70737 11.0696C1.53379 10.7144 1.68105 10.2857 2.03629 10.1121ZM13.9637 10.1121C14.3189 10.2857 14.4662 10.7144 14.2926 11.0696C14.1489 11.3637 13.9853 11.6461 13.8035 11.9151C13.5821 12.2427 13.1371 12.3288 12.8095 12.1074C12.4819 11.886 12.3958 11.441 12.6172 11.1134C12.7619 10.8993 12.892 10.6747 13.0062 10.441C13.1798 10.0858 13.6085 9.93853 13.9637 10.1121ZM3.89257 12.8095C4.11395 12.4819 4.55899 12.3958 4.88658 12.6172C5.10067 12.7619 5.32527 12.892 5.55896 13.0062C5.9142 13.1798 6.06146 13.6085 5.88788 13.9637C5.71429 14.3189 5.28559 14.4662 4.93035 14.2926C4.63629 14.1489 4.35387 13.9853 4.08487 13.8035C3.75727 13.5821 3.67118 13.1371 3.89257 12.8095ZM12.1074 12.8095C12.3288 13.1371 12.2427 13.5821 11.9151 13.8035C11.6461 13.9853 11.3637 14.1489 11.0696 14.2926C10.7144 14.4662 10.2857 14.3189 10.1121 13.9637C9.93853 13.6085 10.0858 13.1798 10.441 13.0062C10.6747 12.892 10.8993 12.7619 11.1134 12.6172C11.441 12.3958 11.886 12.4819 12.1074 12.8095ZM6.84698 14.2197C6.87419 13.8253 7.21601 13.5276 7.61046 13.5548C7.73905 13.5637 7.86894 13.5682 8 13.5682C8.13106 13.5682 8.26095 13.5637 8.38954 13.5548C8.78399 13.5276 9.12581 13.8253 9.15302 14.2197C9.18022 14.6142 8.88252 14.956 8.48807 14.9832C8.32671 14.9943 8.16396 15 8 15C7.83604 15 7.67329 14.9943 7.51193 14.9832C7.11748 14.956 6.81978 14.6142 6.84698 14.2197Z",fill:"currentColor"}),n.createElement("path",{d:"M10.8637 9.74047C10.8637 11.1729 9.65676 12.0567 7.99728 12.0567C6.22808 12.0567 4.96632 10.9596 4.89775 9.46618H6.85895C6.92753 10.1367 7.44869 10.4567 8.05213 10.4567C8.64187 10.4567 8.94359 10.2129 8.94359 9.84714C8.94359 9.45094 8.68301 9.25284 8.07956 9.08521L6.79038 8.71949C5.5972 8.38424 5.04861 7.46992 5.04861 6.35751C5.04861 5.04699 6.09093 4.10219 7.80527 4.10219C9.31389 4.10219 10.4659 4.98603 10.5756 6.50989H8.68301C8.58701 5.93083 8.18928 5.73272 7.77784 5.73272C7.29782 5.73272 6.96867 5.94606 6.96867 6.31179C6.96867 6.73847 7.33897 6.9061 7.75041 7.01277L8.95731 7.37849C10.3014 7.75946 10.8637 8.55186 10.8637 9.74047Z",fill:"currentColor"}))};return u.displayName="HiddenSecondaryNode",u.isGlyph=!0,u});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconHiddenSecondaryNode=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var C,o,c={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],u=function(e){var t=e.className,u=e.size,d=void 0===u?16:u,b=e.title,s=e["aria-label"],y=e["aria-labelledby"],p=e.fill,v=e.role,m=void 0===v?"img":v,g=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,f),O=r.css(C||(C=i(["\n color: ",";\n "])),p),h=r.css(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,a=t["aria-label"],i=t["aria-labelledby"],C=t.title;switch(e){case"img":return a||i||C?l(l(l({},"aria-labelledby",i),"aria-label",a),"title",C):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(m,"HiddenSecondaryNode",l(l({title:b},"aria-label",s),"aria-labelledby",y));return n.createElement("svg",a({className:r.cx(l({},O,null!=p),h,t),height:"number"==typeof d?d:c[d],width:"number"==typeof d?d:c[d],role:m},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.51193 1.01678C7.67329 1.00565 7.83604 1 8 1C8.16396 1 8.32671 1.00565 8.48807 1.01678C8.88252 1.04399 9.18022 1.38581 9.15302 1.78025C9.12581 2.1747 8.78399 2.47241 8.38954 2.4452C8.26095 2.43633 8.13106 2.43182 8 2.43182C7.86894 2.43182 7.73905 2.43633 7.61046 2.4452C7.21601 2.47241 6.87419 2.1747 6.84698 1.78025C6.81978 1.38581 7.11748 1.04399 7.51193 1.01678ZM5.88788 2.03629C6.06146 2.39154 5.9142 2.82024 5.55896 2.99382C5.32527 3.10801 5.10067 3.23814 4.88658 3.38282C4.55899 3.60421 4.11395 3.51811 3.89257 3.19052C3.67118 2.86293 3.75727 2.41789 4.08487 2.1965C4.35387 2.0147 4.63629 1.85106 4.93035 1.70737C5.28559 1.53379 5.71429 1.68105 5.88788 2.03629ZM10.1121 2.03629C10.2857 1.68105 10.7144 1.53379 11.0696 1.70737C11.3637 1.85106 11.6461 2.01471 11.9151 2.1965C12.2427 2.41789 12.3288 2.86293 12.1074 3.19052C11.886 3.51811 11.441 3.60421 11.1134 3.38282C10.8993 3.23814 10.6747 3.10801 10.441 2.99382C10.0858 2.82024 9.93853 2.39154 10.1121 2.03629ZM3.19052 3.89257C3.51811 4.11395 3.60421 4.55899 3.38282 4.88658C3.23814 5.10067 3.10801 5.32527 2.99382 5.55896C2.82024 5.9142 2.39154 6.06146 2.03629 5.88788C1.68105 5.71429 1.53379 5.28559 1.70737 4.93035C1.85106 4.63629 2.01471 4.35387 2.1965 4.08487C2.41789 3.75727 2.86293 3.67118 3.19052 3.89257ZM12.8095 3.89257C13.1371 3.67118 13.5821 3.75727 13.8035 4.08487C13.9853 4.35387 14.1489 4.63629 14.2926 4.93035C14.4662 5.28559 14.3189 5.71429 13.9637 5.88788C13.6085 6.06146 13.1798 5.9142 13.0062 5.55896C12.892 5.32527 12.7619 5.10067 12.6172 4.88658C12.3958 4.55899 12.4819 4.11395 12.8095 3.89257ZM1.78025 6.84698C2.1747 6.87419 2.47241 7.21601 2.4452 7.61046C2.43633 7.73905 2.43182 7.86894 2.43182 8C2.43182 8.13106 2.43633 8.26095 2.4452 8.38954C2.47241 8.78399 2.1747 9.12581 1.78025 9.15302C1.38581 9.18022 1.04399 8.88252 1.01678 8.48807C1.00565 8.32671 1 8.16396 1 8C1 7.83604 1.00565 7.67329 1.01678 7.51193C1.04399 7.11748 1.38581 6.81978 1.78025 6.84698ZM14.2197 6.84698C14.6142 6.81978 14.956 7.11748 14.9832 7.51193C14.9943 7.67329 15 7.83604 15 8C15 8.16396 14.9943 8.32671 14.9832 8.48807C14.956 8.88252 14.6142 9.18022 14.2197 9.15302C13.8253 9.12581 13.5276 8.78399 13.5548 8.38954C13.5637 8.26095 13.5682 8.13106 13.5682 8C13.5682 7.86894 13.5637 7.73905 13.5548 7.61046C13.5276 7.21601 13.8253 6.87419 14.2197 6.84698ZM2.03629 10.1121C2.39154 9.93853 2.82024 10.0858 2.99382 10.441C3.10801 10.6747 3.23814 10.8993 3.38282 11.1134C3.60421 11.441 3.51811 11.886 3.19052 12.1074C2.86293 12.3288 2.41789 12.2427 2.1965 11.9151C2.0147 11.6461 1.85106 11.3637 1.70737 11.0696C1.53379 10.7144 1.68105 10.2857 2.03629 10.1121ZM13.9637 10.1121C14.3189 10.2857 14.4662 10.7144 14.2926 11.0696C14.1489 11.3637 13.9853 11.6461 13.8035 11.9151C13.5821 12.2427 13.1371 12.3288 12.8095 12.1074C12.4819 11.886 12.3958 11.441 12.6172 11.1134C12.7619 10.8993 12.892 10.6747 13.0062 10.441C13.1798 10.0858 13.6085 9.93853 13.9637 10.1121ZM3.89257 12.8095C4.11395 12.4819 4.55899 12.3958 4.88658 12.6172C5.10067 12.7619 5.32527 12.892 5.55896 13.0062C5.9142 13.1798 6.06146 13.6085 5.88788 13.9637C5.71429 14.3189 5.28559 14.4662 4.93035 14.2926C4.63629 14.1489 4.35387 13.9853 4.08487 13.8035C3.75727 13.5821 3.67118 13.1371 3.89257 12.8095ZM12.1074 12.8095C12.3288 13.1371 12.2427 13.5821 11.9151 13.8035C11.6461 13.9853 11.3637 14.1489 11.0696 14.2926C10.7144 14.4662 10.2857 14.3189 10.1121 13.9637C9.93853 13.6085 10.0858 13.1798 10.441 13.0062C10.6747 12.892 10.8993 12.7619 11.1134 12.6172C11.441 12.3958 11.886 12.4819 12.1074 12.8095ZM6.84698 14.2197C6.87419 13.8253 7.21601 13.5276 7.61046 13.5548C7.73905 13.5637 7.86894 13.5682 8 13.5682C8.13106 13.5682 8.26095 13.5637 8.38954 13.5548C8.78399 13.5276 9.12581 13.8253 9.15302 14.2197C9.18022 14.6142 8.88252 14.956 8.48807 14.9832C8.32671 14.9943 8.16396 15 8 15C7.83604 15 7.67329 14.9943 7.51193 14.9832C7.11748 14.956 6.81978 14.6142 6.84698 14.2197Z",fill:"currentColor"}),n.createElement("path",{d:"M10.8637 9.74047C10.8637 11.1729 9.65676 12.0567 7.99728 12.0567C6.22808 12.0567 4.96632 10.9596 4.89775 9.46618H6.85895C6.92753 10.1367 7.44869 10.4567 8.05213 10.4567C8.64187 10.4567 8.94359 10.2129 8.94359 9.84714C8.94359 9.45094 8.68301 9.25284 8.07956 9.08521L6.79038 8.71949C5.5972 8.38424 5.04861 7.46992 5.04861 6.35751C5.04861 5.04699 6.09093 4.10219 7.80527 4.10219C9.31389 4.10219 10.4659 4.98603 10.5756 6.50989H8.68301C8.58701 5.93083 8.18928 5.73272 7.77784 5.73272C7.29782 5.73272 6.96867 5.94606 6.96867 6.31179C6.96867 6.73847 7.33897 6.9061 7.75041 7.01277L8.95731 7.37849C10.3014 7.75946 10.8637 8.55186 10.8637 9.74047Z",fill:"currentColor"}))};return u.displayName="HiddenSecondaryNode",u.isGlyph=!0,u});
2
2
  //# sourceMappingURL=HiddenSecondaryNode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HiddenSecondaryNode.js","sources":["../../src/glyphCommon.ts","../../src/generated/HiddenSecondaryNode.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 2aff31aae26b5e933ae67e64e2995aaf\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HiddenSecondaryNodeProps extends LGGlyph.ComponentProps {}\nconst HiddenSecondaryNode = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HiddenSecondaryNodeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'HiddenSecondaryNode', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.51193 1.01678C7.67329 1.00565 7.83604 1 8 1C8.16396 1 8.32671 1.00565 8.48807 1.01678C8.88252 1.04399 9.18022 1.38581 9.15302 1.78025C9.12581 2.1747 8.78399 2.47241 8.38954 2.4452C8.26095 2.43633 8.13106 2.43182 8 2.43182C7.86894 2.43182 7.73905 2.43633 7.61046 2.4452C7.21601 2.47241 6.87419 2.1747 6.84698 1.78025C6.81978 1.38581 7.11748 1.04399 7.51193 1.01678ZM5.88788 2.03629C6.06146 2.39154 5.9142 2.82024 5.55896 2.99382C5.32527 3.10801 5.10067 3.23814 4.88658 3.38282C4.55899 3.60421 4.11395 3.51811 3.89257 3.19052C3.67118 2.86293 3.75727 2.41789 4.08487 2.1965C4.35387 2.0147 4.63629 1.85106 4.93035 1.70737C5.28559 1.53379 5.71429 1.68105 5.88788 2.03629ZM10.1121 2.03629C10.2857 1.68105 10.7144 1.53379 11.0696 1.70737C11.3637 1.85106 11.6461 2.01471 11.9151 2.1965C12.2427 2.41789 12.3288 2.86293 12.1074 3.19052C11.886 3.51811 11.441 3.60421 11.1134 3.38282C10.8993 3.23814 10.6747 3.10801 10.441 2.99382C10.0858 2.82024 9.93853 2.39154 10.1121 2.03629ZM3.19052 3.89257C3.51811 4.11395 3.60421 4.55899 3.38282 4.88658C3.23814 5.10067 3.10801 5.32527 2.99382 5.55896C2.82024 5.9142 2.39154 6.06146 2.03629 5.88788C1.68105 5.71429 1.53379 5.28559 1.70737 4.93035C1.85106 4.63629 2.01471 4.35387 2.1965 4.08487C2.41789 3.75727 2.86293 3.67118 3.19052 3.89257ZM12.8095 3.89257C13.1371 3.67118 13.5821 3.75727 13.8035 4.08487C13.9853 4.35387 14.1489 4.63629 14.2926 4.93035C14.4662 5.28559 14.3189 5.71429 13.9637 5.88788C13.6085 6.06146 13.1798 5.9142 13.0062 5.55896C12.892 5.32527 12.7619 5.10067 12.6172 4.88658C12.3958 4.55899 12.4819 4.11395 12.8095 3.89257ZM1.78025 6.84698C2.1747 6.87419 2.47241 7.21601 2.4452 7.61046C2.43633 7.73905 2.43182 7.86894 2.43182 8C2.43182 8.13106 2.43633 8.26095 2.4452 8.38954C2.47241 8.78399 2.1747 9.12581 1.78025 9.15302C1.38581 9.18022 1.04399 8.88252 1.01678 8.48807C1.00565 8.32671 1 8.16396 1 8C1 7.83604 1.00565 7.67329 1.01678 7.51193C1.04399 7.11748 1.38581 6.81978 1.78025 6.84698ZM14.2197 6.84698C14.6142 6.81978 14.956 7.11748 14.9832 7.51193C14.9943 7.67329 15 7.83604 15 8C15 8.16396 14.9943 8.32671 14.9832 8.48807C14.956 8.88252 14.6142 9.18022 14.2197 9.15302C13.8253 9.12581 13.5276 8.78399 13.5548 8.38954C13.5637 8.26095 13.5682 8.13106 13.5682 8C13.5682 7.86894 13.5637 7.73905 13.5548 7.61046C13.5276 7.21601 13.8253 6.87419 14.2197 6.84698ZM2.03629 10.1121C2.39154 9.93853 2.82024 10.0858 2.99382 10.441C3.10801 10.6747 3.23814 10.8993 3.38282 11.1134C3.60421 11.441 3.51811 11.886 3.19052 12.1074C2.86293 12.3288 2.41789 12.2427 2.1965 11.9151C2.0147 11.6461 1.85106 11.3637 1.70737 11.0696C1.53379 10.7144 1.68105 10.2857 2.03629 10.1121ZM13.9637 10.1121C14.3189 10.2857 14.4662 10.7144 14.2926 11.0696C14.1489 11.3637 13.9853 11.6461 13.8035 11.9151C13.5821 12.2427 13.1371 12.3288 12.8095 12.1074C12.4819 11.886 12.3958 11.441 12.6172 11.1134C12.7619 10.8993 12.892 10.6747 13.0062 10.441C13.1798 10.0858 13.6085 9.93853 13.9637 10.1121ZM3.89257 12.8095C4.11395 12.4819 4.55899 12.3958 4.88658 12.6172C5.10067 12.7619 5.32527 12.892 5.55896 13.0062C5.9142 13.1798 6.06146 13.6085 5.88788 13.9637C5.71429 14.3189 5.28559 14.4662 4.93035 14.2926C4.63629 14.1489 4.35387 13.9853 4.08487 13.8035C3.75727 13.5821 3.67118 13.1371 3.89257 12.8095ZM12.1074 12.8095C12.3288 13.1371 12.2427 13.5821 11.9151 13.8035C11.6461 13.9853 11.3637 14.1489 11.0696 14.2926C10.7144 14.4662 10.2857 14.3189 10.1121 13.9637C9.93853 13.6085 10.0858 13.1798 10.441 13.0062C10.6747 12.892 10.8993 12.7619 11.1134 12.6172C11.441 12.3958 11.886 12.4819 12.1074 12.8095ZM6.84698 14.2197C6.87419 13.8253 7.21601 13.5276 7.61046 13.5548C7.73905 13.5637 7.86894 13.5682 8 13.5682C8.13106 13.5682 8.26095 13.5637 8.38954 13.5548C8.78399 13.5276 9.12581 13.8253 9.15302 14.2197C9.18022 14.6142 8.88252 14.956 8.48807 14.9832C8.32671 14.9943 8.16396 15 8 15C7.83604 15 7.67329 14.9943 7.51193 14.9832C7.11748 14.956 6.81978 14.6142 6.84698 14.2197Z\" fill={'currentColor'} /><path d=\"M10.8637 9.74047C10.8637 11.1729 9.65676 12.0567 7.99728 12.0567C6.22808 12.0567 4.96632 10.9596 4.89775 9.46618H6.85895C6.92753 10.1367 7.44869 10.4567 8.05213 10.4567C8.64187 10.4567 8.94359 10.2129 8.94359 9.84714C8.94359 9.45094 8.68301 9.25284 8.07956 9.08521L6.79038 8.71949C5.5972 8.38424 5.04861 7.46992 5.04861 6.35751C5.04861 5.04699 6.09093 4.10219 7.80527 4.10219C9.31389 4.10219 10.4659 4.98603 10.5756 6.50989H8.68301C8.58701 5.93083 8.18928 5.73272 7.77784 5.73272C7.29782 5.73272 6.96867 5.94606 6.96867 6.31179C6.96867 6.73847 7.33897 6.9061 7.75041 7.01277L8.95731 7.37849C10.3014 7.75946 10.8637 8.55186 10.8637 9.74047Z\" fill={'currentColor'} /></svg>;\n};\nHiddenSecondaryNode.displayName = 'HiddenSecondaryNode';\nHiddenSecondaryNode.isGlyph = true;\nexport default HiddenSecondaryNode;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","HiddenSecondaryNode","_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":"+4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAsB,SAA6BC,GACrD,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,uzHACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,koBACH1B,KAAM,iBAEV,SACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,SAAU"}
1
+ {"version":3,"file":"HiddenSecondaryNode.js","sources":["../../src/glyphCommon.ts","../../src/generated/HiddenSecondaryNode.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 2aff31aae26b5e933ae67e64e2995aaf\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HiddenSecondaryNodeProps extends LGGlyph.ComponentProps {}\nconst HiddenSecondaryNode = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HiddenSecondaryNodeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'HiddenSecondaryNode', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.51193 1.01678C7.67329 1.00565 7.83604 1 8 1C8.16396 1 8.32671 1.00565 8.48807 1.01678C8.88252 1.04399 9.18022 1.38581 9.15302 1.78025C9.12581 2.1747 8.78399 2.47241 8.38954 2.4452C8.26095 2.43633 8.13106 2.43182 8 2.43182C7.86894 2.43182 7.73905 2.43633 7.61046 2.4452C7.21601 2.47241 6.87419 2.1747 6.84698 1.78025C6.81978 1.38581 7.11748 1.04399 7.51193 1.01678ZM5.88788 2.03629C6.06146 2.39154 5.9142 2.82024 5.55896 2.99382C5.32527 3.10801 5.10067 3.23814 4.88658 3.38282C4.55899 3.60421 4.11395 3.51811 3.89257 3.19052C3.67118 2.86293 3.75727 2.41789 4.08487 2.1965C4.35387 2.0147 4.63629 1.85106 4.93035 1.70737C5.28559 1.53379 5.71429 1.68105 5.88788 2.03629ZM10.1121 2.03629C10.2857 1.68105 10.7144 1.53379 11.0696 1.70737C11.3637 1.85106 11.6461 2.01471 11.9151 2.1965C12.2427 2.41789 12.3288 2.86293 12.1074 3.19052C11.886 3.51811 11.441 3.60421 11.1134 3.38282C10.8993 3.23814 10.6747 3.10801 10.441 2.99382C10.0858 2.82024 9.93853 2.39154 10.1121 2.03629ZM3.19052 3.89257C3.51811 4.11395 3.60421 4.55899 3.38282 4.88658C3.23814 5.10067 3.10801 5.32527 2.99382 5.55896C2.82024 5.9142 2.39154 6.06146 2.03629 5.88788C1.68105 5.71429 1.53379 5.28559 1.70737 4.93035C1.85106 4.63629 2.01471 4.35387 2.1965 4.08487C2.41789 3.75727 2.86293 3.67118 3.19052 3.89257ZM12.8095 3.89257C13.1371 3.67118 13.5821 3.75727 13.8035 4.08487C13.9853 4.35387 14.1489 4.63629 14.2926 4.93035C14.4662 5.28559 14.3189 5.71429 13.9637 5.88788C13.6085 6.06146 13.1798 5.9142 13.0062 5.55896C12.892 5.32527 12.7619 5.10067 12.6172 4.88658C12.3958 4.55899 12.4819 4.11395 12.8095 3.89257ZM1.78025 6.84698C2.1747 6.87419 2.47241 7.21601 2.4452 7.61046C2.43633 7.73905 2.43182 7.86894 2.43182 8C2.43182 8.13106 2.43633 8.26095 2.4452 8.38954C2.47241 8.78399 2.1747 9.12581 1.78025 9.15302C1.38581 9.18022 1.04399 8.88252 1.01678 8.48807C1.00565 8.32671 1 8.16396 1 8C1 7.83604 1.00565 7.67329 1.01678 7.51193C1.04399 7.11748 1.38581 6.81978 1.78025 6.84698ZM14.2197 6.84698C14.6142 6.81978 14.956 7.11748 14.9832 7.51193C14.9943 7.67329 15 7.83604 15 8C15 8.16396 14.9943 8.32671 14.9832 8.48807C14.956 8.88252 14.6142 9.18022 14.2197 9.15302C13.8253 9.12581 13.5276 8.78399 13.5548 8.38954C13.5637 8.26095 13.5682 8.13106 13.5682 8C13.5682 7.86894 13.5637 7.73905 13.5548 7.61046C13.5276 7.21601 13.8253 6.87419 14.2197 6.84698ZM2.03629 10.1121C2.39154 9.93853 2.82024 10.0858 2.99382 10.441C3.10801 10.6747 3.23814 10.8993 3.38282 11.1134C3.60421 11.441 3.51811 11.886 3.19052 12.1074C2.86293 12.3288 2.41789 12.2427 2.1965 11.9151C2.0147 11.6461 1.85106 11.3637 1.70737 11.0696C1.53379 10.7144 1.68105 10.2857 2.03629 10.1121ZM13.9637 10.1121C14.3189 10.2857 14.4662 10.7144 14.2926 11.0696C14.1489 11.3637 13.9853 11.6461 13.8035 11.9151C13.5821 12.2427 13.1371 12.3288 12.8095 12.1074C12.4819 11.886 12.3958 11.441 12.6172 11.1134C12.7619 10.8993 12.892 10.6747 13.0062 10.441C13.1798 10.0858 13.6085 9.93853 13.9637 10.1121ZM3.89257 12.8095C4.11395 12.4819 4.55899 12.3958 4.88658 12.6172C5.10067 12.7619 5.32527 12.892 5.55896 13.0062C5.9142 13.1798 6.06146 13.6085 5.88788 13.9637C5.71429 14.3189 5.28559 14.4662 4.93035 14.2926C4.63629 14.1489 4.35387 13.9853 4.08487 13.8035C3.75727 13.5821 3.67118 13.1371 3.89257 12.8095ZM12.1074 12.8095C12.3288 13.1371 12.2427 13.5821 11.9151 13.8035C11.6461 13.9853 11.3637 14.1489 11.0696 14.2926C10.7144 14.4662 10.2857 14.3189 10.1121 13.9637C9.93853 13.6085 10.0858 13.1798 10.441 13.0062C10.6747 12.892 10.8993 12.7619 11.1134 12.6172C11.441 12.3958 11.886 12.4819 12.1074 12.8095ZM6.84698 14.2197C6.87419 13.8253 7.21601 13.5276 7.61046 13.5548C7.73905 13.5637 7.86894 13.5682 8 13.5682C8.13106 13.5682 8.26095 13.5637 8.38954 13.5548C8.78399 13.5276 9.12581 13.8253 9.15302 14.2197C9.18022 14.6142 8.88252 14.956 8.48807 14.9832C8.32671 14.9943 8.16396 15 8 15C7.83604 15 7.67329 14.9943 7.51193 14.9832C7.11748 14.956 6.81978 14.6142 6.84698 14.2197Z\" fill={'currentColor'} /><path d=\"M10.8637 9.74047C10.8637 11.1729 9.65676 12.0567 7.99728 12.0567C6.22808 12.0567 4.96632 10.9596 4.89775 9.46618H6.85895C6.92753 10.1367 7.44869 10.4567 8.05213 10.4567C8.64187 10.4567 8.94359 10.2129 8.94359 9.84714C8.94359 9.45094 8.68301 9.25284 8.07956 9.08521L6.79038 8.71949C5.5972 8.38424 5.04861 7.46992 5.04861 6.35751C5.04861 5.04699 6.09093 4.10219 7.80527 4.10219C9.31389 4.10219 10.4659 4.98603 10.5756 6.50989H8.68301C8.58701 5.93083 8.18928 5.73272 7.77784 5.73272C7.29782 5.73272 6.96867 5.94606 6.96867 6.31179C6.96867 6.73847 7.33897 6.9061 7.75041 7.01277L8.95731 7.37849C10.3014 7.75946 10.8637 8.55186 10.8637 9.74047Z\" fill={'currentColor'} /></svg>;\n};\nHiddenSecondaryNode.displayName = 'HiddenSecondaryNode';\nHiddenSecondaryNode.isGlyph = true;\nexport default HiddenSecondaryNode;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","HiddenSecondaryNode","_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":"w5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAsB,SAA6BC,GACrD,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,uzHACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,koBACH1B,KAAM,iBAEV,SACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_HighlightIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],m=e.fill,g=e.role,v=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),m),L=r.css(c||(c=a(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,i=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||a||o?l(l(l({},"aria-labelledby",a),"aria-label",i),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(v,"Highlight",l(l({title:d},"aria-label",p),"aria-labelledby",y));return n.createElement("svg",i({className:r.cx(l({},O,null!=m),L,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:v},j,h,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M8.85275 12.0315C8.87165 12.0114 8.89799 12 8.92557 12H14.75C14.8881 12 15 12.1119 15 12.25V13.75C15 13.8881 14.8881 14 14.75 14H7.23145C7.14381 14 7.09857 13.8953 7.15863 13.8315L8.85275 12.0315Z",fill:"currentColor"}),n.createElement("path",{d:"M4.01887 9.19347L4.39384 8.8185L7.57582 12.0005L7.20114 12.3752C6.99596 12.5803 6.71178 12.6863 6.42236 12.6655L5.84842 12.6242C5.55901 12.6034 5.27482 12.7094 5.06964 12.9146L4.92888 13.0553L3.33789 11.4643L3.47895 11.3233C3.68396 11.1183 3.7899 10.8344 3.76932 10.5452L3.7285 9.97156C3.70792 9.68237 3.81386 9.39848 4.01887 9.19347Z",fill:"currentColor"}),n.createElement("path",{d:"M11.4334 1.77892C11.8239 1.38839 12.4571 1.38839 12.8476 1.77892L14.6154 3.54668C15.0059 3.93721 15.0059 4.57037 14.6154 4.9609L8.28006 11.2962L5.09808 8.11425L11.4334 1.77892Z",fill:"currentColor"}),n.createElement("path",{d:"M2.63228 12.1672L4.22462 13.7596L4.05424 13.9317C4.00728 13.9792 3.9433 14.0059 3.87655 14.0059L1.38588 14.0059C1.16267 14.0059 1.05135 13.7356 1.20981 13.5784L2.63228 12.1672Z",fill:"currentColor"}))};return b.displayName="Highlight",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconHighlight=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var l=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,l.get?l:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var l=t(e);function n(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],m=e.fill,g=e.role,v=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var t,l,n=function(e,r){if(null==e)return{};var t={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;t[l]=e[l]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),m),j=r.css(c||(c=a(["\n flex-shrink: 0;\n "]))),L=function(e,r,t){var l,i=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||a||o?n(n(n({},"aria-labelledby",a),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(v,"Highlight",n(n({title:d},"aria-label",y),"aria-labelledby",p));return l.createElement("svg",i({className:r.cx(n({},O,null!=m),j,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:v},L,h,{viewBox:"0 0 16 16"}),l.createElement("path",{d:"M8.85275 12.0315C8.87165 12.0114 8.89799 12 8.92557 12H14.75C14.8881 12 15 12.1119 15 12.25V13.75C15 13.8881 14.8881 14 14.75 14H7.23145C7.14381 14 7.09857 13.8953 7.15863 13.8315L8.85275 12.0315Z",fill:"currentColor"}),l.createElement("path",{d:"M4.01887 9.19347L4.39384 8.8185L7.57582 12.0005L7.20114 12.3752C6.99596 12.5803 6.71178 12.6863 6.42236 12.6655L5.84842 12.6242C5.55901 12.6034 5.27482 12.7094 5.06964 12.9146L4.92888 13.0553L3.33789 11.4643L3.47895 11.3233C3.68396 11.1183 3.7899 10.8344 3.76932 10.5452L3.7285 9.97156C3.70792 9.68237 3.81386 9.39848 4.01887 9.19347Z",fill:"currentColor"}),l.createElement("path",{d:"M11.4334 1.77892C11.8239 1.38839 12.4571 1.38839 12.8476 1.77892L14.6154 3.54668C15.0059 3.93721 15.0059 4.57037 14.6154 4.9609L8.28006 11.2962L5.09808 8.11425L11.4334 1.77892Z",fill:"currentColor"}),l.createElement("path",{d:"M2.63228 12.1672L4.22462 13.7596L4.05424 13.9317C4.00728 13.9792 3.9433 14.0059 3.87655 14.0059L1.38588 14.0059C1.16267 14.0059 1.05135 13.7356 1.20981 13.5784L2.63228 12.1672Z",fill:"currentColor"}))};return b.displayName="Highlight",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=Highlight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Highlight.js","sources":["../../src/glyphCommon.ts","../../src/generated/Highlight.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 b33d967dc6dbcdacb2e862060c0d4f22\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HighlightProps extends LGGlyph.ComponentProps {}\nconst Highlight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HighlightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Highlight', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.85275 12.0315C8.87165 12.0114 8.89799 12 8.92557 12H14.75C14.8881 12 15 12.1119 15 12.25V13.75C15 13.8881 14.8881 14 14.75 14H7.23145C7.14381 14 7.09857 13.8953 7.15863 13.8315L8.85275 12.0315Z\" fill={'currentColor'} /><path d=\"M4.01887 9.19347L4.39384 8.8185L7.57582 12.0005L7.20114 12.3752C6.99596 12.5803 6.71178 12.6863 6.42236 12.6655L5.84842 12.6242C5.55901 12.6034 5.27482 12.7094 5.06964 12.9146L4.92888 13.0553L3.33789 11.4643L3.47895 11.3233C3.68396 11.1183 3.7899 10.8344 3.76932 10.5452L3.7285 9.97156C3.70792 9.68237 3.81386 9.39848 4.01887 9.19347Z\" fill={'currentColor'} /><path d=\"M11.4334 1.77892C11.8239 1.38839 12.4571 1.38839 12.8476 1.77892L14.6154 3.54668C15.0059 3.93721 15.0059 4.57037 14.6154 4.9609L8.28006 11.2962L5.09808 8.11425L11.4334 1.77892Z\" fill={'currentColor'} /><path d=\"M2.63228 12.1672L4.22462 13.7596L4.05424 13.9317C4.00728 13.9792 3.9433 14.0059 3.87655 14.0059L1.38588 14.0059C1.16267 14.0059 1.05135 13.7356 1.20981 13.5784L2.63228 12.1672Z\" fill={'currentColor'} /></svg>;\n};\nHighlight.displayName = 'Highlight';\nHighlight.isGlyph = true;\nexport default Highlight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Highlight","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"q4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,YAAaU,EAAgBA,EAAgB,CAC/Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,uMACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mLACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
1
+ {"version":3,"file":"Highlight.js","sources":["../../src/glyphCommon.ts","../../src/generated/Highlight.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 b33d967dc6dbcdacb2e862060c0d4f22\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HighlightProps extends LGGlyph.ComponentProps {}\nconst Highlight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HighlightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Highlight', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.85275 12.0315C8.87165 12.0114 8.89799 12 8.92557 12H14.75C14.8881 12 15 12.1119 15 12.25V13.75C15 13.8881 14.8881 14 14.75 14H7.23145C7.14381 14 7.09857 13.8953 7.15863 13.8315L8.85275 12.0315Z\" fill={'currentColor'} /><path d=\"M4.01887 9.19347L4.39384 8.8185L7.57582 12.0005L7.20114 12.3752C6.99596 12.5803 6.71178 12.6863 6.42236 12.6655L5.84842 12.6242C5.55901 12.6034 5.27482 12.7094 5.06964 12.9146L4.92888 13.0553L3.33789 11.4643L3.47895 11.3233C3.68396 11.1183 3.7899 10.8344 3.76932 10.5452L3.7285 9.97156C3.70792 9.68237 3.81386 9.39848 4.01887 9.19347Z\" fill={'currentColor'} /><path d=\"M11.4334 1.77892C11.8239 1.38839 12.4571 1.38839 12.8476 1.77892L14.6154 3.54668C15.0059 3.93721 15.0059 4.57037 14.6154 4.9609L8.28006 11.2962L5.09808 8.11425L11.4334 1.77892Z\" fill={'currentColor'} /><path d=\"M2.63228 12.1672L4.22462 13.7596L4.05424 13.9317C4.00728 13.9792 3.9433 14.0059 3.87655 14.0059L1.38588 14.0059C1.16267 14.0059 1.05135 13.7356 1.20981 13.5784L2.63228 12.1672Z\" fill={'currentColor'} /></svg>;\n};\nHighlight.displayName = 'Highlight';\nHighlight.isGlyph = true;\nexport default Highlight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Highlight","_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,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,YAAaU,EAAgBA,EAAgB,CAC/Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,uMACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mLACHxB,KAAM,iBAEV,SACAR,EAAUiC,YAAc,YACxBjC,EAAUkC,SAAU"}
package/dist/umd/Home.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_HomeIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,O=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,c),h=r.css(o||(o=a(["\n color: ",";\n "])),m),j=r.css(f||(f=a(["\n flex-shrink: 0;\n "]))),C=function(e,r,t){var n,i=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||a||o?l(l(l({},"aria-labelledby",a),"aria-label",i),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Home",l(l({title:d},"aria-label",y),"aria-labelledby",p));return n.createElement("svg",i({className:r.cx(l({},h,null!=m),j,t),height:"number"==typeof s?s:u[s],width:"number"==typeof s?s:u[s],role:g},C,O,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z",fill:"currentColor"}),n.createElement("path",{d:"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z",fill:"currentColor"}))};return b.displayName="Home",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconHome=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,O=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,c),h=r.css(o||(o=i(["\n color: ",";\n "])),m),j=r.css(f||(f=i(["\n flex-shrink: 0;\n "]))),C=function(e,r,t){var n,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?l(l(l({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Home",l(l({title:d},"aria-label",y),"aria-labelledby",p));return n.createElement("svg",a({className:r.cx(l({},h,null!=m),j,t),height:"number"==typeof s?s:u[s],width:"number"==typeof s?s:u[s],role:g},C,O,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z",fill:"currentColor"}),n.createElement("path",{d:"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z",fill:"currentColor"}))};return b.displayName="Home",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=Home.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Home.js","sources":["../../src/glyphCommon.ts","../../src/generated/Home.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 21d3e165dc18b87a3ddc2a7c2dd6ea02\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HomeProps extends LGGlyph.ComponentProps {}\nconst Home = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HomeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Home', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z\" fill={'currentColor'} /><path d=\"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z\" fill={'currentColor'} /></svg>;\n};\nHome.displayName = 'Home';\nHome.isGlyph = true;\nexport default Home;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Home","_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":"g4CAOO,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,+YACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,2cACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
1
+ {"version":3,"file":"Home.js","sources":["../../src/glyphCommon.ts","../../src/generated/Home.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 21d3e165dc18b87a3ddc2a7c2dd6ea02\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HomeProps extends LGGlyph.ComponentProps {}\nconst Home = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HomeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Home', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z\" fill={'currentColor'} /><path d=\"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z\" fill={'currentColor'} /></svg>;\n};\nHome.displayName = 'Home';\nHome.isGlyph = true;\nexport default Home;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Home","_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":"y4CAOO,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,+YACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CQ,EAAG,2cACH1B,KAAM,iBAEV,SACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_HorizontalDragIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var l=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,l.get?l:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var l=t(e);function n(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],m=e.fill,C=e.role,v=void 0===C?"img":C,g=function(e,r){if(null==e)return{};var t,l,n=function(e,r){if(null==e)return{};var t={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;t[l]=e[l]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,u),h=r.css(o||(o=i(["\n color: ",";\n "])),m),O=r.css(c||(c=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var l,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?n(n(n({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(v,"HorizontalDrag",n(n({title:d},"aria-label",p),"aria-labelledby",y));return l.createElement("svg",a({className:r.cx(n({},h,null!=m),O,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:v},j,g,{viewBox:"0 0 16 16"}),l.createElement("path",{d:"M4 9C4.55228 9 5 9.44772 5 10C5 10.5523 4.55228 11 4 11C3.44772 11 3 10.5523 3 10C3 9.44772 3.44772 9 4 9Z",fill:"currentColor"}),l.createElement("path",{d:"M4 5C4.55228 5 5 5.4477 5 6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6C3 5.4477 3.44772 5 4 5Z",fill:"currentColor"}),l.createElement("path",{d:"M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z",fill:"currentColor"}),l.createElement("path",{d:"M12 9C12.5523 9 13 9.44772 13 10C13 10.5523 12.5523 11 12 11C11.4477 11 11 10.5523 11 10C11 9.44772 11.4477 9 12 9Z",fill:"currentColor"}),l.createElement("path",{d:"M8 5C8.55228 5 9 5.4477 9 6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6C7 5.4477 7.44772 5 8 5Z",fill:"currentColor"}),l.createElement("path",{d:"M12 5C12.5523 5 13 5.4477 13 6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6C11 5.4477 11.4477 5 12 5Z",fill:"currentColor"}))};return b.displayName="HorizontalDrag",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconHorizontalDrag=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var l=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,l.get?l:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var l=t(e);function n(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],m=e.fill,C=e.role,v=void 0===C?"img":C,g=function(e,r){if(null==e)return{};var t,l,n=function(e,r){if(null==e)return{};var t={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;t[l]=e[l]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,u),h=r.css(o||(o=i(["\n color: ",";\n "])),m),O=r.css(c||(c=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var l,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?n(n(n({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(v,"HorizontalDrag",n(n({title:d},"aria-label",p),"aria-labelledby",y));return l.createElement("svg",a({className:r.cx(n({},h,null!=m),O,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:v},j,g,{viewBox:"0 0 16 16"}),l.createElement("path",{d:"M4 9C4.55228 9 5 9.44772 5 10C5 10.5523 4.55228 11 4 11C3.44772 11 3 10.5523 3 10C3 9.44772 3.44772 9 4 9Z",fill:"currentColor"}),l.createElement("path",{d:"M4 5C4.55228 5 5 5.4477 5 6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6C3 5.4477 3.44772 5 4 5Z",fill:"currentColor"}),l.createElement("path",{d:"M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z",fill:"currentColor"}),l.createElement("path",{d:"M12 9C12.5523 9 13 9.44772 13 10C13 10.5523 12.5523 11 12 11C11.4477 11 11 10.5523 11 10C11 9.44772 11.4477 9 12 9Z",fill:"currentColor"}),l.createElement("path",{d:"M8 5C8.55228 5 9 5.4477 9 6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6C7 5.4477 7.44772 5 8 5Z",fill:"currentColor"}),l.createElement("path",{d:"M12 5C12.5523 5 13 5.4477 13 6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6C11 5.4477 11.4477 5 12 5Z",fill:"currentColor"}))};return b.displayName="HorizontalDrag",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=HorizontalDrag.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalDrag.js","sources":["../../src/glyphCommon.ts","../../src/generated/HorizontalDrag.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 bb43a70c64a4cd58d135bcafa70ad44e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HorizontalDragProps extends LGGlyph.ComponentProps {}\nconst HorizontalDrag = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HorizontalDragProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'HorizontalDrag', {\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 9C4.55228 9 5 9.44772 5 10C5 10.5523 4.55228 11 4 11C3.44772 11 3 10.5523 3 10C3 9.44772 3.44772 9 4 9Z\" fill={'currentColor'} /><path d=\"M4 5C4.55228 5 5 5.4477 5 6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6C3 5.4477 3.44772 5 4 5Z\" fill={'currentColor'} /><path d=\"M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z\" fill={'currentColor'} /><path d=\"M12 9C12.5523 9 13 9.44772 13 10C13 10.5523 12.5523 11 12 11C11.4477 11 11 10.5523 11 10C11 9.44772 11.4477 9 12 9Z\" fill={'currentColor'} /><path d=\"M8 5C8.55228 5 9 5.4477 9 6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6C7 5.4477 7.44772 5 8 5Z\" fill={'currentColor'} /><path d=\"M12 5C12.5523 5 13 5.4477 13 6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6C11 5.4477 11.4477 5 12 5Z\" fill={'currentColor'} /></svg>;\n};\nHorizontalDrag.displayName = 'HorizontalDrag';\nHorizontalDrag.isGlyph = true;\nexport default HorizontalDrag;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","HorizontalDrag","_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":"04CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+GACHxB,KAAM,iBAEV,SACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
1
+ {"version":3,"file":"HorizontalDrag.js","sources":["../../src/glyphCommon.ts","../../src/generated/HorizontalDrag.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 bb43a70c64a4cd58d135bcafa70ad44e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface HorizontalDragProps extends LGGlyph.ComponentProps {}\nconst HorizontalDrag = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: HorizontalDragProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'HorizontalDrag', {\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 9C4.55228 9 5 9.44772 5 10C5 10.5523 4.55228 11 4 11C3.44772 11 3 10.5523 3 10C3 9.44772 3.44772 9 4 9Z\" fill={'currentColor'} /><path d=\"M4 5C4.55228 5 5 5.4477 5 6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6C3 5.4477 3.44772 5 4 5Z\" fill={'currentColor'} /><path d=\"M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z\" fill={'currentColor'} /><path d=\"M12 9C12.5523 9 13 9.44772 13 10C13 10.5523 12.5523 11 12 11C11.4477 11 11 10.5523 11 10C11 9.44772 11.4477 9 12 9Z\" fill={'currentColor'} /><path d=\"M8 5C8.55228 5 9 5.4477 9 6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6C7 5.4477 7.44772 5 8 5Z\" fill={'currentColor'} /><path d=\"M12 5C12.5523 5 13 5.4477 13 6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6C11 5.4477 11.4477 5 12 5Z\" fill={'currentColor'} /></svg>;\n};\nHorizontalDrag.displayName = 'HorizontalDrag';\nHorizontalDrag.isGlyph = true;\nexport default HorizontalDrag;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","HorizontalDrag","_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":"m5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAAA,IAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAGA,IAACrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,iBAAkBU,EAAgBA,EAAgB,CACpGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAAA,GAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6GACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,+GACHxB,KAAM,iBAEV,SACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_ImportIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}function l(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,p=e.title,y=e["aria-label"],d=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,O=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,u),C=r.css(o||(o=l(["\n color: ",";\n "])),m),h=r.css(f||(f=l(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,i=t["aria-label"],l=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||l||o?a(a(a({},"aria-labelledby",l),"aria-label",i),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Import",a(a({title:p},"aria-label",y),"aria-labelledby",d));return n.createElement("svg",i({className:r.cx(a({},C,null!=m),h,t),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:g},j,O,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z",fill:"currentColor"}),n.createElement("path",{d:"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z",fill:"currentColor"}))};return b.displayName="Import",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconImport=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,p=e.title,y=e["aria-label"],d=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,O=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,u),C=r.css(o||(o=i(["\n color: ",";\n "])),m),h=r.css(f||(f=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||i||o?a(a(a({},"aria-labelledby",i),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Import",a(a({title:p},"aria-label",y),"aria-labelledby",d));return n.createElement("svg",l({className:r.cx(a({},C,null!=m),h,t),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:g},j,O,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z",fill:"currentColor"}),n.createElement("path",{d:"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z",fill:"currentColor"}))};return b.displayName="Import",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=Import.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Import.js","sources":["../../src/glyphCommon.ts","../../src/generated/Import.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 d38dfc5fac49cb72eb2a046379199bc5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportProps extends LGGlyph.ComponentProps {}\nconst Import = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Import', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z\" fill={'currentColor'} /><path d=\"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z\" fill={'currentColor'} /></svg>;\n};\nImport.displayName = 'Import';\nImport.isGlyph = true;\nexport default Import;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Import","_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":"k4CAOO,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,uVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ghBACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
1
+ {"version":3,"file":"Import.js","sources":["../../src/glyphCommon.ts","../../src/generated/Import.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 d38dfc5fac49cb72eb2a046379199bc5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportProps extends LGGlyph.ComponentProps {}\nconst Import = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Import', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M11.6225 8.79871C11.7258 8.69129 11.7258 8.52138 11.6225 8.41396L8.81811 5.49829C8.64501 5.31832 8.34095 5.4409 8.34095 5.69066V7.09645C6.48177 7.0133 5 5.47969 5 3.6V3.5C5 2.67157 4.32843 2 3.5 2C2.67157 2 2 2.67157 2 3.5V3.6C2 7.13668 4.82458 10.0136 8.34095 10.0981V11.522C8.34095 11.7718 8.64501 11.8944 8.81811 11.7144L11.6225 8.79871Z\" fill={'currentColor'} /><path d=\"M3.95001 11C3.95001 10.5858 4.2858 10.25 4.70001 10.25C5.11423 10.25 5.45001 10.5858 5.45001 11L5.45001 12.75C5.45001 13.0262 5.67387 13.25 5.95001 13.25H12.814C13.0901 13.25 13.314 13.0262 13.314 12.75V5.88602C13.314 5.60988 13.0901 5.38602 12.814 5.38602L10.8711 5.38602C10.4569 5.38602 10.1211 5.05024 10.1211 4.63602C10.1211 4.22181 10.4569 3.88602 10.8711 3.88602H12.814C13.9186 3.88602 14.814 4.78145 14.814 5.88602V12.75C14.814 13.8546 13.9186 14.75 12.814 14.75H5.95001C4.84544 14.75 3.95001 13.8546 3.95001 12.75V11Z\" fill={'currentColor'} /></svg>;\n};\nImport.displayName = 'Import';\nImport.isGlyph = true;\nexport default Import;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Import","_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,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,uVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ghBACHxB,KAAM,iBAEV,SACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_ImportantWithCircleIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,h=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),m),j=r.css(c||(c=a(["\n flex-shrink: 0;\n "]))),C=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||a||o?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"ImportantWithCircle",i(i({title:d},"aria-label",p),"aria-labelledby",y));return n.createElement("svg",l({className:r.cx(i({},O,null!=m),j,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:g},C,h,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 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 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z",fill:"currentColor"}))};return b.displayName="ImportantWithCircle",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconImportantWithCircle=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,p=e["aria-label"],y=e["aria-labelledby"],m=e.fill,v=e.role,g=void 0===v?"img":v,h=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),m),j=r.css(c||(c=a(["\n flex-shrink: 0;\n "]))),C=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||a||o?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"ImportantWithCircle",i(i({title:d},"aria-label",p),"aria-labelledby",y));return n.createElement("svg",l({className:r.cx(i({},O,null!=m),j,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:g},C,h,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 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 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z",fill:"currentColor"}))};return b.displayName="ImportantWithCircle",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=ImportantWithCircle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImportantWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/ImportantWithCircle.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 1e24056f238ac6b1ac52e61f4f79ee09\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportantWithCircleProps extends LGGlyph.ComponentProps {}\nconst ImportantWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportantWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ImportantWithCircle', {\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 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 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z\" fill={'currentColor'} /></svg>;\n};\nImportantWithCircle.displayName = 'ImportantWithCircle';\nImportantWithCircle.isGlyph = true;\nexport default ImportantWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ImportantWithCircle","_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":"+4CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAsB,SAA6BC,GACrD,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,0WACH1B,KAAM,iBAEV,SACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,SAAU"}
1
+ {"version":3,"file":"ImportantWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/ImportantWithCircle.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 1e24056f238ac6b1ac52e61f4f79ee09\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ImportantWithCircleProps extends LGGlyph.ComponentProps {}\nconst ImportantWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ImportantWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ImportantWithCircle', {\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 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 15ZM7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.5C9 9.05228 8.55228 9.5 8 9.5C7.44772 9.5 7 9.05228 7 8.5V4.5ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5Z\" fill={'currentColor'} /></svg>;\n};\nImportantWithCircle.displayName = 'ImportantWithCircle';\nImportantWithCircle.isGlyph = true;\nexport default ImportantWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ImportantWithCircle","_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":"w5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAsB,SAA6BC,GACrD,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,0WACH1B,KAAM,iBAEV,SACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_InfoWithCircleIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],v=e.fill,m=e.role,g=void 0===m?"img":m,h=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),v),C=r.css(f||(f=a(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||a||o?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"InfoWithCircle",i(i({title:d},"aria-label",y),"aria-labelledby",p));return n.createElement("svg",l({className:r.cx(i({},O,null!=v),C,t),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:g},j,h,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 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 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z",fill:"currentColor"}))};return b.displayName="InfoWithCircle",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconInfoWithCircle=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],v=e.fill,m=e.role,g=void 0===m?"img":m,h=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),v),C=r.css(f||(f=a(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||a||o?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"InfoWithCircle",i(i({title:d},"aria-label",y),"aria-labelledby",p));return n.createElement("svg",l({className:r.cx(i({},O,null!=v),C,t),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:g},j,h,{viewBox:"0 0 16 16"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 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 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z",fill:"currentColor"}))};return b.displayName="InfoWithCircle",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=InfoWithCircle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/InfoWithCircle.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 42b8ee1317157261ded4a3babc011e9d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InfoWithCircleProps extends LGGlyph.ComponentProps {}\nconst InfoWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InfoWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InfoWithCircle', {\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 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 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z\" fill={'currentColor'} /></svg>;\n};\nInfoWithCircle.displayName = 'InfoWithCircle';\nInfoWithCircle.isGlyph = true;\nexport default InfoWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InfoWithCircle","_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":"04CAOO,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,yaACH1B,KAAM,iBAEV,SACAR,EAAemC,YAAc,iBAC7BnC,EAAeoC,SAAU"}
1
+ {"version":3,"file":"InfoWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/InfoWithCircle.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 42b8ee1317157261ded4a3babc011e9d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InfoWithCircleProps extends LGGlyph.ComponentProps {}\nconst InfoWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InfoWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InfoWithCircle', {\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 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 15ZM9 4C9 4.55228 8.55228 5 8 5C7.44772 5 7 4.55228 7 4C7 3.44772 7.44772 3 8 3C8.55228 3 9 3.44772 9 4ZM8 6C8.55228 6 9 6.44772 9 7V11H9.5C9.77614 11 10 11.2239 10 11.5C10 11.7761 9.77614 12 9.5 12H6.5C6.22386 12 6 11.7761 6 11.5C6 11.2239 6.22386 11 6.5 11H7V7H6.5C6.22386 7 6 6.77614 6 6.5C6 6.22386 6.22386 6 6.5 6H8Z\" fill={'currentColor'} /></svg>;\n};\nInfoWithCircle.displayName = 'InfoWithCircle';\nInfoWithCircle.isGlyph = true;\nexport default InfoWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InfoWithCircle","_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":"m5CAOO,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,yaACH1B,KAAM,iBAEV,SACAR,EAAemC,YAAc,iBAC7BnC,EAAeoC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_InternalEmployeeIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,y=e.title,p=e["aria-label"],d=e["aria-labelledby"],m=e.fill,v=e.role,C=void 0===v?"img":v,g=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,u),O=r.css(o||(o=i(["\n color: ",";\n "])),m),h=r.css(c||(c=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?l(l(l({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"InternalEmployee",l(l({title:y},"aria-label",p),"aria-labelledby",d));return n.createElement("svg",a({className:r.cx(l({},O,null!=m),h,t),height:"number"==typeof s?s:f[s],width:"number"==typeof s?s:f[s],role:C},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M6.5 8C8.433 8 10 6.433 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 6.433 4.567 8 6.5 8Z",fill:"currentColor"}),n.createElement("path",{d:"M4.34253 8.45005C3.92858 8.22348 3.39921 8.20507 3.091 8.56241C2.41111 9.3507 2 10.3773 2 11.5V14H10.7741C10.773 13.9828 10.7719 13.9659 10.7709 13.9492L10.7409 13.9282C10.7409 13.9282 7.90706 11.7149 9.47051 8.30648C9.20774 8.25062 8.91096 8.31131 8.65747 8.45005C8.01691 8.80067 7.28173 9 6.5 9C5.71827 9 4.98309 8.80067 4.34253 8.45005Z",fill:"currentColor"}),n.createElement("path",{d:"M12.7456 7.0035C12.3863 6.55517 12.0736 6.09982 12.0104 6.00525C12.0037 5.99825 11.9938 5.99825 11.9871 6.00525C11.9239 6.09982 11.6145 6.55517 11.2552 7.0035C8.17113 11.1401 11.7409 13.9282 11.7409 13.9282L11.7709 13.9492C11.7975 14.38 11.864 15 11.864 15H12.1302C12.1302 15 12.1967 14.3835 12.2233 13.9492L12.2533 13.9247C12.2566 13.9282 15.8297 11.1401 12.7456 7.0035ZM12.0004 13.8687C12.0004 13.8687 11.8407 13.725 11.7975 13.6515V13.6445L11.9904 9.1401C11.9904 9.12609 12.0104 9.12609 12.0104 9.1401L12.2034 13.6445V13.6515C12.1601 13.725 12.0004 13.8687 12.0004 13.8687Z",fill:"currentColor"}))};return b.displayName="InternalEmployee",b.isGlyph=!0,b});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconInternalEmployee=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(e){var t=e.className,b=e.size,s=void 0===b?16:b,y=e.title,p=e["aria-label"],d=e["aria-labelledby"],m=e.fill,v=e.role,C=void 0===v?"img":v,g=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,u),O=r.css(o||(o=i(["\n color: ",";\n "])),m),h=r.css(f||(f=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?l(l(l({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"InternalEmployee",l(l({title:y},"aria-label",p),"aria-labelledby",d));return n.createElement("svg",a({className:r.cx(l({},O,null!=m),h,t),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:C},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M6.5 8C8.433 8 10 6.433 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 6.433 4.567 8 6.5 8Z",fill:"currentColor"}),n.createElement("path",{d:"M4.34253 8.45005C3.92858 8.22348 3.39921 8.20507 3.091 8.56241C2.41111 9.3507 2 10.3773 2 11.5V14H10.7741C10.773 13.9828 10.7719 13.9659 10.7709 13.9492L10.7409 13.9282C10.7409 13.9282 7.90706 11.7149 9.47051 8.30648C9.20774 8.25062 8.91096 8.31131 8.65747 8.45005C8.01691 8.80067 7.28173 9 6.5 9C5.71827 9 4.98309 8.80067 4.34253 8.45005Z",fill:"currentColor"}),n.createElement("path",{d:"M12.7456 7.0035C12.3863 6.55517 12.0736 6.09982 12.0104 6.00525C12.0037 5.99825 11.9938 5.99825 11.9871 6.00525C11.9239 6.09982 11.6145 6.55517 11.2552 7.0035C8.17113 11.1401 11.7409 13.9282 11.7409 13.9282L11.7709 13.9492C11.7975 14.38 11.864 15 11.864 15H12.1302C12.1302 15 12.1967 14.3835 12.2233 13.9492L12.2533 13.9247C12.2566 13.9282 15.8297 11.1401 12.7456 7.0035ZM12.0004 13.8687C12.0004 13.8687 11.8407 13.725 11.7975 13.6515V13.6445L11.9904 9.1401C11.9904 9.12609 12.0104 9.12609 12.0104 9.1401L12.2034 13.6445V13.6515C12.1601 13.725 12.0004 13.8687 12.0004 13.8687Z",fill:"currentColor"}))};return b.displayName="InternalEmployee",b.isGlyph=!0,b});
2
2
  //# sourceMappingURL=InternalEmployee.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InternalEmployee.js","sources":["../../src/glyphCommon.ts","../../src/generated/InternalEmployee.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 3a743ff35bb8246fb61e0821ae8f3cf7\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InternalEmployeeProps extends LGGlyph.ComponentProps {}\nconst InternalEmployee = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InternalEmployeeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InternalEmployee', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M6.5 8C8.433 8 10 6.433 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 6.433 4.567 8 6.5 8Z\" fill={'currentColor'} /><path d=\"M4.34253 8.45005C3.92858 8.22348 3.39921 8.20507 3.091 8.56241C2.41111 9.3507 2 10.3773 2 11.5V14H10.7741C10.773 13.9828 10.7719 13.9659 10.7709 13.9492L10.7409 13.9282C10.7409 13.9282 7.90706 11.7149 9.47051 8.30648C9.20774 8.25062 8.91096 8.31131 8.65747 8.45005C8.01691 8.80067 7.28173 9 6.5 9C5.71827 9 4.98309 8.80067 4.34253 8.45005Z\" fill={'currentColor'} /><path d=\"M12.7456 7.0035C12.3863 6.55517 12.0736 6.09982 12.0104 6.00525C12.0037 5.99825 11.9938 5.99825 11.9871 6.00525C11.9239 6.09982 11.6145 6.55517 11.2552 7.0035C8.17113 11.1401 11.7409 13.9282 11.7409 13.9282L11.7709 13.9492C11.7975 14.38 11.864 15 11.864 15H12.1302C12.1302 15 12.1967 14.3835 12.2233 13.9492L12.2533 13.9247C12.2566 13.9282 15.8297 11.1401 12.7456 7.0035ZM12.0004 13.8687C12.0004 13.8687 11.8407 13.725 11.7975 13.6515V13.6445L11.9904 9.1401C11.9904 9.12609 12.0104 9.12609 12.0104 9.1401L12.2034 13.6445V13.6515C12.1601 13.725 12.0004 13.8687 12.0004 13.8687Z\" fill={'currentColor'} /></svg>;\n};\nInternalEmployee.displayName = 'InternalEmployee';\nInternalEmployee.isGlyph = true;\nexport default InternalEmployee;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InternalEmployee","_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":"44CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAmB,SAA0BC,GAC/C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,mBAAoBU,EAAgBA,EAAgB,CACtGf,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,qGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mkBACHxB,KAAM,iBAEV,SACAR,EAAiBiC,YAAc,mBAC/BjC,EAAiBkC,SAAU"}
1
+ {"version":3,"file":"InternalEmployee.js","sources":["../../src/glyphCommon.ts","../../src/generated/InternalEmployee.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 3a743ff35bb8246fb61e0821ae8f3cf7\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InternalEmployeeProps extends LGGlyph.ComponentProps {}\nconst InternalEmployee = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InternalEmployeeProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InternalEmployee', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M6.5 8C8.433 8 10 6.433 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 6.433 4.567 8 6.5 8Z\" fill={'currentColor'} /><path d=\"M4.34253 8.45005C3.92858 8.22348 3.39921 8.20507 3.091 8.56241C2.41111 9.3507 2 10.3773 2 11.5V14H10.7741C10.773 13.9828 10.7719 13.9659 10.7709 13.9492L10.7409 13.9282C10.7409 13.9282 7.90706 11.7149 9.47051 8.30648C9.20774 8.25062 8.91096 8.31131 8.65747 8.45005C8.01691 8.80067 7.28173 9 6.5 9C5.71827 9 4.98309 8.80067 4.34253 8.45005Z\" fill={'currentColor'} /><path d=\"M12.7456 7.0035C12.3863 6.55517 12.0736 6.09982 12.0104 6.00525C12.0037 5.99825 11.9938 5.99825 11.9871 6.00525C11.9239 6.09982 11.6145 6.55517 11.2552 7.0035C8.17113 11.1401 11.7409 13.9282 11.7409 13.9282L11.7709 13.9492C11.7975 14.38 11.864 15 11.864 15H12.1302C12.1302 15 12.1967 14.3835 12.2233 13.9492L12.2533 13.9247C12.2566 13.9282 15.8297 11.1401 12.7456 7.0035ZM12.0004 13.8687C12.0004 13.8687 11.8407 13.725 11.7975 13.6515V13.6445L11.9904 9.1401C11.9904 9.12609 12.0104 9.12609 12.0104 9.1401L12.2034 13.6445V13.6515C12.1601 13.725 12.0004 13.8687 12.0004 13.8687Z\" fill={'currentColor'} /></svg>;\n};\nInternalEmployee.displayName = 'InternalEmployee';\nInternalEmployee.isGlyph = true;\nexport default InternalEmployee;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InternalEmployee","_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":"q5CAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAmB,SAA0BC,GAC/C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+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,mBAAoBU,EAAgBA,EAAgB,CACtGf,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,qGACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,sVACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mkBACHxB,KAAM,iBAEV,SACAR,EAAiBiC,YAAc,mBAC/BjC,EAAiBkC,SAAU"}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).LeafyGreen_InviteUserIcon=r(e.React,e.emotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function i(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}function a(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,c,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(e){var t=e.className,s=e.size,b=void 0===s?16:s,d=e.title,y=e["aria-label"],p=e["aria-labelledby"],v=e.fill,m=e.role,C=void 0===m?"img":m,g=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,u),O=r.css(o||(o=a(["\n color: ",";\n "])),v),h=r.css(c||(c=a(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,l=t["aria-label"],a=t["aria-labelledby"],o=t.title;switch(e){case"img":return l||a||o?i(i(i({},"aria-labelledby",a),"aria-label",l),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"InviteUser",i(i({title:d},"aria-label",y),"aria-labelledby",p));return n.createElement("svg",l({className:r.cx(i({},O,null!=v),h,t),height:"number"==typeof b?b:f[b],width:"number"==typeof b?b:f[b],role:C},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z",fill:"currentColor"}),n.createElement("path",{d:"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z",fill:"currentColor"}),n.createElement("path",{d:"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z",fill:"currentColor"}))};return s.displayName="InviteUser",s.isGlyph=!0,s});
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","@leafygreen-ui/emotion"],r):(e="undefined"!=typeof globalThis?globalThis:e||self).leafyGreenIconInviteUser=r(e.React,e.leafyGreenEmotion)}(this,function(e,r){"use strict";function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var n=t(e);function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var o,f,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(e){var t=e.className,s=e.size,b=void 0===s?16:s,y=e.title,d=e["aria-label"],p=e["aria-labelledby"],v=e.fill,m=e.role,C=void 0===m?"img":m,g=function(e,r){if(null==e)return{};var t,n,l=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,u),O=r.css(o||(o=i(["\n color: ",";\n "])),v),h=r.css(f||(f=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var n,a=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return a||i||o?l(l(l({},"aria-labelledby",i),"aria-label",a),"title",o):{"aria-label":(n=r,"".concat(n.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"InviteUser",l(l({title:y},"aria-label",d),"aria-labelledby",p));return n.createElement("svg",a({className:r.cx(l({},O,null!=v),h,t),height:"number"==typeof b?b:c[b],width:"number"==typeof b?b:c[b],role:C},j,g,{viewBox:"0 0 16 16"}),n.createElement("path",{d:"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z",fill:"currentColor"}),n.createElement("path",{d:"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z",fill:"currentColor"}),n.createElement("path",{d:"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z",fill:"currentColor"}))};return s.displayName="InviteUser",s.isGlyph=!0,s});
2
2
  //# sourceMappingURL=InviteUser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InviteUser.js","sources":["../../src/glyphCommon.ts","../../src/generated/InviteUser.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 04e22a7a87f2d3a9f361d9e97c72c3dd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InviteUserProps extends LGGlyph.ComponentProps {}\nconst InviteUser = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InviteUserProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InviteUser', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z\" fill={'currentColor'} /><path d=\"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z\" fill={'currentColor'} /><path d=\"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z\" fill={'currentColor'} /></svg>;\n};\nInviteUser.displayName = 'InviteUser';\nInviteUser.isGlyph = true;\nexport default InviteUser;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InviteUser","_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":"s4CAOO,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,sNACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qYACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6XACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
1
+ {"version":3,"file":"InviteUser.js","sources":["../../src/glyphCommon.ts","../../src/generated/InviteUser.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 04e22a7a87f2d3a9f361d9e97c72c3dd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface InviteUserProps extends LGGlyph.ComponentProps {}\nconst InviteUser = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: InviteUserProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'InviteUser', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M8.41809 7.42809C9.37085 6.8027 10 5.72482 10 4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5C3 5.76853 3.67485 6.87944 4.68512 7.49329C5.21431 7.81484 5.83553 8 6.5 8C7.20817 8 7.86722 7.78968 8.41809 7.42809Z\" fill={'currentColor'} /><path d=\"M3.091 8.56241C3.39921 8.20507 3.92858 8.22348 4.34253 8.45005C4.98309 8.80067 5.71827 9 6.5 9C7.28173 9 8.01691 8.80067 8.65747 8.45005C9.07142 8.22348 9.60079 8.20507 9.909 8.56241C10.0194 8.6904 10.1227 8.82467 10.2183 8.96461C9.77928 9.33148 9.5 9.88313 9.5 10.5C8.39543 10.5 7.5 11.3954 7.5 12.5C7.5 13.0973 7.76188 13.6335 8.17709 14H2V11.5C2 10.3773 2.41111 9.3507 3.091 8.56241Z\" fill={'currentColor'} /><path d=\"M10.5 10.5C10.5 10.272 10.5763 10.0618 10.7048 9.89357C10.8875 9.65434 11.1757 9.5 11.5 9.5C12.0523 9.5 12.5 9.94772 12.5 10.5V11.5H13.5C14.0523 11.5 14.5 11.9477 14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5H12.5V14.5C12.5 15.0523 12.0523 15.5 11.5 15.5C10.9477 15.5 10.5 15.0523 10.5 14.5V13.5H9.5C8.94772 13.5 8.5 13.0523 8.5 12.5C8.5 11.9477 8.94772 11.5 9.5 11.5H10.5V10.5Z\" fill={'currentColor'} /></svg>;\n};\nInviteUser.displayName = 'InviteUser';\nInviteUser.isGlyph = true;\nexport default InviteUser;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","InviteUser","_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":"+4CAOO,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,sNACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,qYACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6XACHxB,KAAM,iBAEV,SACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}