@leafygreen-ui/icon 14.0.0 → 14.1.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 (1089) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +7 -7
  3. package/dist/ActivityFeed.js +1 -1
  4. package/dist/ActivityFeed.js.map +1 -1
  5. package/dist/AddFile.js +1 -1
  6. package/dist/AddFile.js.map +1 -1
  7. package/dist/AllProducts.js +1 -1
  8. package/dist/AllProducts.js.map +1 -1
  9. package/dist/AnalyticsNode.js +1 -1
  10. package/dist/AnalyticsNode.js.map +1 -1
  11. package/dist/Apps.js +1 -1
  12. package/dist/Apps.js.map +1 -1
  13. package/dist/Array.js +1 -1
  14. package/dist/Array.js.map +1 -1
  15. package/dist/ArrowDown.js +1 -1
  16. package/dist/ArrowDown.js.map +1 -1
  17. package/dist/ArrowLeft.js +1 -1
  18. package/dist/ArrowLeft.js.map +1 -1
  19. package/dist/ArrowRight.js +1 -1
  20. package/dist/ArrowRight.js.map +1 -1
  21. package/dist/ArrowUp.js +1 -1
  22. package/dist/ArrowUp.js.map +1 -1
  23. package/dist/Beaker.js +1 -1
  24. package/dist/Beaker.js.map +1 -1
  25. package/dist/Bell.js +1 -1
  26. package/dist/Bell.js.map +1 -1
  27. package/dist/Biometric.js +1 -1
  28. package/dist/Biometric.js.map +1 -1
  29. package/dist/Boolean.js +1 -1
  30. package/dist/Boolean.js.map +1 -1
  31. package/dist/Building.js +1 -1
  32. package/dist/Building.js.map +1 -1
  33. package/dist/Bulb.js +1 -1
  34. package/dist/Bulb.js.map +1 -1
  35. package/dist/Calendar.js +1 -1
  36. package/dist/Calendar.js.map +1 -1
  37. package/dist/Camera.js +1 -1
  38. package/dist/Camera.js.map +1 -1
  39. package/dist/Cap.js +1 -1
  40. package/dist/Cap.js.map +1 -1
  41. package/dist/CaretDown.js +1 -1
  42. package/dist/CaretDown.js.map +1 -1
  43. package/dist/CaretLeft.js +1 -1
  44. package/dist/CaretLeft.js.map +1 -1
  45. package/dist/CaretRight.js +1 -1
  46. package/dist/CaretRight.js.map +1 -1
  47. package/dist/CaretUp.js +1 -1
  48. package/dist/CaretUp.js.map +1 -1
  49. package/dist/ChartFilled.js +1 -1
  50. package/dist/ChartFilled.js.map +1 -1
  51. package/dist/Charts.js +1 -1
  52. package/dist/Charts.js.map +1 -1
  53. package/dist/Checkmark.js +1 -1
  54. package/dist/Checkmark.js.map +1 -1
  55. package/dist/CheckmarkWithCircle.js +1 -1
  56. package/dist/CheckmarkWithCircle.js.map +1 -1
  57. package/dist/ChevronDown.js +1 -1
  58. package/dist/ChevronDown.js.map +1 -1
  59. package/dist/ChevronLeft.js +1 -1
  60. package/dist/ChevronLeft.js.map +1 -1
  61. package/dist/ChevronRight.js +1 -1
  62. package/dist/ChevronRight.js.map +1 -1
  63. package/dist/ChevronUp.js +1 -1
  64. package/dist/ChevronUp.js.map +1 -1
  65. package/dist/Circle.js +1 -1
  66. package/dist/Circle.js.map +1 -1
  67. package/dist/Clock.js +1 -1
  68. package/dist/Clock.js.map +1 -1
  69. package/dist/ClockWithArrow.js +1 -1
  70. package/dist/ClockWithArrow.js.map +1 -1
  71. package/dist/Clone.js +1 -1
  72. package/dist/Clone.js.map +1 -1
  73. package/dist/Cloud.js +1 -1
  74. package/dist/Cloud.js.map +1 -1
  75. package/dist/Code.js +1 -1
  76. package/dist/Code.js.map +1 -1
  77. package/dist/CodeBlock.js +1 -1
  78. package/dist/CodeBlock.js.map +1 -1
  79. package/dist/Coin.js +1 -1
  80. package/dist/Coin.js.map +1 -1
  81. package/dist/Colon.js +1 -1
  82. package/dist/Colon.js.map +1 -1
  83. package/dist/Config.js +1 -1
  84. package/dist/Config.js.map +1 -1
  85. package/dist/Connect.js +1 -1
  86. package/dist/Connect.js.map +1 -1
  87. package/dist/Copy.js +1 -1
  88. package/dist/Copy.js.map +1 -1
  89. package/dist/CreditCard.js +1 -1
  90. package/dist/CreditCard.js.map +1 -1
  91. package/dist/CurlyBraces.js +1 -1
  92. package/dist/CurlyBraces.js.map +1 -1
  93. package/dist/Cursor.js +1 -1
  94. package/dist/Cursor.js.map +1 -1
  95. package/dist/Dashboard.js +1 -1
  96. package/dist/Dashboard.js.map +1 -1
  97. package/dist/Database.js +1 -1
  98. package/dist/Database.js.map +1 -1
  99. package/dist/Diagram.js +1 -1
  100. package/dist/Diagram.js.map +1 -1
  101. package/dist/Diagram2.js +1 -1
  102. package/dist/Diagram2.js.map +1 -1
  103. package/dist/Diagram3.js +1 -1
  104. package/dist/Diagram3.js.map +1 -1
  105. package/dist/Disconnect.js +1 -1
  106. package/dist/Disconnect.js.map +1 -1
  107. package/dist/Download.js +1 -1
  108. package/dist/Download.js.map +1 -1
  109. package/dist/Drag.js +1 -1
  110. package/dist/Drag.js.map +1 -1
  111. package/dist/Edit.js +1 -1
  112. package/dist/Edit.js.map +1 -1
  113. package/dist/Ellipsis.js +1 -1
  114. package/dist/Ellipsis.js.map +1 -1
  115. package/dist/Email.js +1 -1
  116. package/dist/Email.js.map +1 -1
  117. package/dist/EmptyDatabase.js +1 -1
  118. package/dist/EmptyDatabase.js.map +1 -1
  119. package/dist/EmptyFolder.js +1 -1
  120. package/dist/EmptyFolder.js.map +1 -1
  121. package/dist/Eraser.js +1 -1
  122. package/dist/Eraser.js.map +1 -1
  123. package/dist/Escalation.js +1 -1
  124. package/dist/Escalation.js.map +1 -1
  125. package/dist/Export.js +1 -1
  126. package/dist/Export.js.map +1 -1
  127. package/dist/Favorite.js +1 -1
  128. package/dist/Favorite.js.map +1 -1
  129. package/dist/Federation.js +1 -1
  130. package/dist/Federation.js.map +1 -1
  131. package/dist/File.js +1 -1
  132. package/dist/File.js.map +1 -1
  133. package/dist/Filter.js +1 -1
  134. package/dist/Filter.js.map +1 -1
  135. package/dist/Folder.js +1 -1
  136. package/dist/Folder.js.map +1 -1
  137. package/dist/Format.js +1 -1
  138. package/dist/Format.js.map +1 -1
  139. package/dist/FullScreenEnter.js +1 -1
  140. package/dist/FullScreenEnter.js.map +1 -1
  141. package/dist/FullScreenExit.js +1 -1
  142. package/dist/FullScreenExit.js.map +1 -1
  143. package/dist/Function.js +1 -1
  144. package/dist/Function.js.map +1 -1
  145. package/dist/Gauge.js +1 -1
  146. package/dist/Gauge.js.map +1 -1
  147. package/dist/GlobeAmericas.js +1 -1
  148. package/dist/GlobeAmericas.js.map +1 -1
  149. package/dist/GovernmentBuilding.js +1 -1
  150. package/dist/GovernmentBuilding.js.map +1 -1
  151. package/dist/Guide.js +1 -1
  152. package/dist/Guide.js.map +1 -1
  153. package/dist/Hash.js +1 -1
  154. package/dist/Hash.js.map +1 -1
  155. package/dist/HiddenSecondaryNode.js +1 -1
  156. package/dist/HiddenSecondaryNode.js.map +1 -1
  157. package/dist/Highlight.js +1 -1
  158. package/dist/Highlight.js.map +1 -1
  159. package/dist/Home.js +1 -1
  160. package/dist/Home.js.map +1 -1
  161. package/dist/HorizontalDrag.js +1 -1
  162. package/dist/HorizontalDrag.js.map +1 -1
  163. package/dist/Import.js +1 -1
  164. package/dist/Import.js.map +1 -1
  165. package/dist/ImportantWithCircle.js +1 -1
  166. package/dist/ImportantWithCircle.js.map +1 -1
  167. package/dist/InfoWithCircle.js +1 -1
  168. package/dist/InfoWithCircle.js.map +1 -1
  169. package/dist/InternalEmployee.js +1 -1
  170. package/dist/InternalEmployee.js.map +1 -1
  171. package/dist/InviteUser.js +1 -1
  172. package/dist/InviteUser.js.map +1 -1
  173. package/dist/Key.js +1 -1
  174. package/dist/Key.js.map +1 -1
  175. package/dist/Laptop.js +1 -1
  176. package/dist/Laptop.js.map +1 -1
  177. package/dist/LightningBolt.js +1 -1
  178. package/dist/LightningBolt.js.map +1 -1
  179. package/dist/Link.js +1 -1
  180. package/dist/Link.js.map +1 -1
  181. package/dist/List.js +1 -1
  182. package/dist/List.js.map +1 -1
  183. package/dist/Lock.js +1 -1
  184. package/dist/Lock.js.map +1 -1
  185. package/dist/LogIn.js +1 -1
  186. package/dist/LogIn.js.map +1 -1
  187. package/dist/LogOut.js +1 -1
  188. package/dist/LogOut.js.map +1 -1
  189. package/dist/MagnifyingGlass.js +1 -1
  190. package/dist/MagnifyingGlass.js.map +1 -1
  191. package/dist/Megaphone.js +1 -1
  192. package/dist/Megaphone.js.map +1 -1
  193. package/dist/Menu.js +1 -1
  194. package/dist/Menu.js.map +1 -1
  195. package/dist/Minus.js +1 -1
  196. package/dist/Minus.js.map +1 -1
  197. package/dist/Mobile.js +1 -1
  198. package/dist/Mobile.js.map +1 -1
  199. package/dist/Moon.js +1 -1
  200. package/dist/Moon.js.map +1 -1
  201. package/dist/MultiDirectionArrow.js +1 -1
  202. package/dist/MultiDirectionArrow.js.map +1 -1
  203. package/dist/MultiLayers.js +1 -1
  204. package/dist/MultiLayers.js.map +1 -1
  205. package/dist/NavCollapse.js +1 -1
  206. package/dist/NavCollapse.js.map +1 -1
  207. package/dist/NavExpand.js +1 -1
  208. package/dist/NavExpand.js.map +1 -1
  209. package/dist/NoFilter.js +1 -1
  210. package/dist/NoFilter.js.map +1 -1
  211. package/dist/NotAllowed.js +1 -1
  212. package/dist/NotAllowed.js.map +1 -1
  213. package/dist/Note.js +1 -1
  214. package/dist/Note.js.map +1 -1
  215. package/dist/NumberedList.js +1 -1
  216. package/dist/NumberedList.js.map +1 -1
  217. package/dist/OpenNewTab.js +1 -1
  218. package/dist/OpenNewTab.js.map +1 -1
  219. package/dist/OutlineFavorite.js +1 -1
  220. package/dist/OutlineFavorite.js.map +1 -1
  221. package/dist/Package.js +1 -1
  222. package/dist/Package.js.map +1 -1
  223. package/dist/Pause.js +1 -1
  224. package/dist/Pause.js.map +1 -1
  225. package/dist/Pending.js +1 -1
  226. package/dist/Pending.js.map +1 -1
  227. package/dist/Person.js +1 -1
  228. package/dist/Person.js.map +1 -1
  229. package/dist/PersonGroup.js +1 -1
  230. package/dist/PersonGroup.js.map +1 -1
  231. package/dist/PersonWithLock.js +1 -1
  232. package/dist/PersonWithLock.js.map +1 -1
  233. package/dist/Pin.js +1 -1
  234. package/dist/Pin.js.map +1 -1
  235. package/dist/Play.js +1 -1
  236. package/dist/Play.js.map +1 -1
  237. package/dist/Plus.js +1 -1
  238. package/dist/Plus.js.map +1 -1
  239. package/dist/PlusWithCircle.js +1 -1
  240. package/dist/PlusWithCircle.js.map +1 -1
  241. package/dist/Primary.js +1 -1
  242. package/dist/Primary.js.map +1 -1
  243. package/dist/Project.js +1 -1
  244. package/dist/Project.js.map +1 -1
  245. package/dist/QuestionMarkWithCircle.js +1 -1
  246. package/dist/QuestionMarkWithCircle.js.map +1 -1
  247. package/dist/Read.js +1 -1
  248. package/dist/Read.js.map +1 -1
  249. package/dist/Recommended.js +1 -1
  250. package/dist/Recommended.js.map +1 -1
  251. package/dist/Redo.js +1 -1
  252. package/dist/Redo.js.map +1 -1
  253. package/dist/Refresh.js +1 -1
  254. package/dist/Refresh.js.map +1 -1
  255. package/dist/Relationship.js +1 -1
  256. package/dist/Relationship.js.map +1 -1
  257. package/dist/ReplicaSet.js +1 -1
  258. package/dist/ReplicaSet.js.map +1 -1
  259. package/dist/Resize.js +1 -1
  260. package/dist/Resize.js.map +1 -1
  261. package/dist/Resource.js +1 -1
  262. package/dist/Resource.js.map +1 -1
  263. package/dist/Return.js +1 -1
  264. package/dist/Return.js.map +1 -1
  265. package/dist/Revert.js +1 -1
  266. package/dist/Revert.js.map +1 -1
  267. package/dist/Router.js +1 -1
  268. package/dist/Router.js.map +1 -1
  269. package/dist/SMS.js +1 -1
  270. package/dist/SMS.js.map +1 -1
  271. package/dist/Save.js +1 -1
  272. package/dist/Save.js.map +1 -1
  273. package/dist/SearchIndex.js +1 -1
  274. package/dist/SearchIndex.js.map +1 -1
  275. package/dist/Secondary.js +1 -1
  276. package/dist/Secondary.js.map +1 -1
  277. package/dist/Serverless.js +1 -1
  278. package/dist/Serverless.js.map +1 -1
  279. package/dist/Settings.js +1 -1
  280. package/dist/Settings.js.map +1 -1
  281. package/dist/ShardedCluster.js +1 -1
  282. package/dist/ShardedCluster.js.map +1 -1
  283. package/dist/Shell.js +1 -1
  284. package/dist/Shell.js.map +1 -1
  285. package/dist/Shield.js +2 -0
  286. package/dist/Shield.js.map +1 -0
  287. package/dist/Shirt.js +1 -1
  288. package/dist/Shirt.js.map +1 -1
  289. package/dist/SortAscending.js +1 -1
  290. package/dist/SortAscending.js.map +1 -1
  291. package/dist/SortDescending.js +1 -1
  292. package/dist/SortDescending.js.map +1 -1
  293. package/dist/Sparkle.js +1 -1
  294. package/dist/Sparkle.js.map +1 -1
  295. package/dist/SplitHorizontal.js +1 -1
  296. package/dist/SplitHorizontal.js.map +1 -1
  297. package/dist/SplitVertical.js +1 -1
  298. package/dist/SplitVertical.js.map +1 -1
  299. package/dist/Stitch.js +1 -1
  300. package/dist/Stitch.js.map +1 -1
  301. package/dist/Stop.js +1 -1
  302. package/dist/Stop.js.map +1 -1
  303. package/dist/Streaming.js +1 -1
  304. package/dist/Streaming.js.map +1 -1
  305. package/dist/String.js +1 -1
  306. package/dist/String.js.map +1 -1
  307. package/dist/Sun.js +1 -1
  308. package/dist/Sun.js.map +1 -1
  309. package/dist/Support.js +1 -1
  310. package/dist/Support.js.map +1 -1
  311. package/dist/Sweep.js +1 -1
  312. package/dist/Sweep.js.map +1 -1
  313. package/dist/Table.js +1 -1
  314. package/dist/Table.js.map +1 -1
  315. package/dist/Tag.js +1 -1
  316. package/dist/Tag.js.map +1 -1
  317. package/dist/TemporaryTable.js +1 -1
  318. package/dist/TemporaryTable.js.map +1 -1
  319. package/dist/ThumbsDown.js +1 -1
  320. package/dist/ThumbsDown.js.map +1 -1
  321. package/dist/ThumbsUp.js +1 -1
  322. package/dist/ThumbsUp.js.map +1 -1
  323. package/dist/TimeSeries.js +1 -1
  324. package/dist/TimeSeries.js.map +1 -1
  325. package/dist/TimeSeriesCollection.js +1 -1
  326. package/dist/TimeSeriesCollection.js.map +1 -1
  327. package/dist/Trash.js +1 -1
  328. package/dist/Trash.js.map +1 -1
  329. package/dist/Undo.js +1 -1
  330. package/dist/Undo.js.map +1 -1
  331. package/dist/University.js +1 -1
  332. package/dist/University.js.map +1 -1
  333. package/dist/Unlock.js +1 -1
  334. package/dist/Unlock.js.map +1 -1
  335. package/dist/Unsorted.js +1 -1
  336. package/dist/Unsorted.js.map +1 -1
  337. package/dist/UpDownCarets.js +1 -1
  338. package/dist/UpDownCarets.js.map +1 -1
  339. package/dist/Upload.js +1 -1
  340. package/dist/Upload.js.map +1 -1
  341. package/dist/VerticalEllipsis.js +1 -1
  342. package/dist/VerticalEllipsis.js.map +1 -1
  343. package/dist/View.js +1 -1
  344. package/dist/View.js.map +1 -1
  345. package/dist/Visibility.js +1 -1
  346. package/dist/Visibility.js.map +1 -1
  347. package/dist/VisibilityOff.js +1 -1
  348. package/dist/VisibilityOff.js.map +1 -1
  349. package/dist/Warning.js +1 -1
  350. package/dist/Warning.js.map +1 -1
  351. package/dist/Wizard.js +1 -1
  352. package/dist/Wizard.js.map +1 -1
  353. package/dist/Wrench.js +1 -1
  354. package/dist/Wrench.js.map +1 -1
  355. package/dist/Write.js +1 -1
  356. package/dist/Write.js.map +1 -1
  357. package/dist/X.js +1 -1
  358. package/dist/X.js.map +1 -1
  359. package/dist/XWithCircle.js +1 -1
  360. package/dist/XWithCircle.js.map +1 -1
  361. package/dist/esm/ActivityFeed.js +1 -1
  362. package/dist/esm/ActivityFeed.js.map +1 -1
  363. package/dist/esm/AddFile.js +1 -1
  364. package/dist/esm/AddFile.js.map +1 -1
  365. package/dist/esm/AllProducts.js +1 -1
  366. package/dist/esm/AllProducts.js.map +1 -1
  367. package/dist/esm/AnalyticsNode.js +1 -1
  368. package/dist/esm/AnalyticsNode.js.map +1 -1
  369. package/dist/esm/Apps.js +1 -1
  370. package/dist/esm/Apps.js.map +1 -1
  371. package/dist/esm/Array.js +1 -1
  372. package/dist/esm/Array.js.map +1 -1
  373. package/dist/esm/ArrowDown.js +1 -1
  374. package/dist/esm/ArrowDown.js.map +1 -1
  375. package/dist/esm/ArrowLeft.js +1 -1
  376. package/dist/esm/ArrowLeft.js.map +1 -1
  377. package/dist/esm/ArrowRight.js +1 -1
  378. package/dist/esm/ArrowRight.js.map +1 -1
  379. package/dist/esm/ArrowUp.js +1 -1
  380. package/dist/esm/ArrowUp.js.map +1 -1
  381. package/dist/esm/Beaker.js +1 -1
  382. package/dist/esm/Beaker.js.map +1 -1
  383. package/dist/esm/Bell.js +1 -1
  384. package/dist/esm/Bell.js.map +1 -1
  385. package/dist/esm/Biometric.js +1 -1
  386. package/dist/esm/Biometric.js.map +1 -1
  387. package/dist/esm/Boolean.js +1 -1
  388. package/dist/esm/Boolean.js.map +1 -1
  389. package/dist/esm/Building.js +1 -1
  390. package/dist/esm/Building.js.map +1 -1
  391. package/dist/esm/Bulb.js +1 -1
  392. package/dist/esm/Bulb.js.map +1 -1
  393. package/dist/esm/Calendar.js +1 -1
  394. package/dist/esm/Calendar.js.map +1 -1
  395. package/dist/esm/Camera.js +1 -1
  396. package/dist/esm/Camera.js.map +1 -1
  397. package/dist/esm/Cap.js +1 -1
  398. package/dist/esm/Cap.js.map +1 -1
  399. package/dist/esm/CaretDown.js +1 -1
  400. package/dist/esm/CaretDown.js.map +1 -1
  401. package/dist/esm/CaretLeft.js +1 -1
  402. package/dist/esm/CaretLeft.js.map +1 -1
  403. package/dist/esm/CaretRight.js +1 -1
  404. package/dist/esm/CaretRight.js.map +1 -1
  405. package/dist/esm/CaretUp.js +1 -1
  406. package/dist/esm/CaretUp.js.map +1 -1
  407. package/dist/esm/ChartFilled.js +1 -1
  408. package/dist/esm/ChartFilled.js.map +1 -1
  409. package/dist/esm/Charts.js +1 -1
  410. package/dist/esm/Charts.js.map +1 -1
  411. package/dist/esm/Checkmark.js +1 -1
  412. package/dist/esm/Checkmark.js.map +1 -1
  413. package/dist/esm/CheckmarkWithCircle.js +1 -1
  414. package/dist/esm/CheckmarkWithCircle.js.map +1 -1
  415. package/dist/esm/ChevronDown.js +1 -1
  416. package/dist/esm/ChevronDown.js.map +1 -1
  417. package/dist/esm/ChevronLeft.js +1 -1
  418. package/dist/esm/ChevronLeft.js.map +1 -1
  419. package/dist/esm/ChevronRight.js +1 -1
  420. package/dist/esm/ChevronRight.js.map +1 -1
  421. package/dist/esm/ChevronUp.js +1 -1
  422. package/dist/esm/ChevronUp.js.map +1 -1
  423. package/dist/esm/Circle.js +1 -1
  424. package/dist/esm/Circle.js.map +1 -1
  425. package/dist/esm/Clock.js +1 -1
  426. package/dist/esm/Clock.js.map +1 -1
  427. package/dist/esm/ClockWithArrow.js +1 -1
  428. package/dist/esm/ClockWithArrow.js.map +1 -1
  429. package/dist/esm/Clone.js +1 -1
  430. package/dist/esm/Clone.js.map +1 -1
  431. package/dist/esm/Cloud.js +1 -1
  432. package/dist/esm/Cloud.js.map +1 -1
  433. package/dist/esm/Code.js +1 -1
  434. package/dist/esm/Code.js.map +1 -1
  435. package/dist/esm/CodeBlock.js +1 -1
  436. package/dist/esm/CodeBlock.js.map +1 -1
  437. package/dist/esm/Coin.js +1 -1
  438. package/dist/esm/Coin.js.map +1 -1
  439. package/dist/esm/Colon.js +1 -1
  440. package/dist/esm/Colon.js.map +1 -1
  441. package/dist/esm/Config.js +1 -1
  442. package/dist/esm/Config.js.map +1 -1
  443. package/dist/esm/Connect.js +1 -1
  444. package/dist/esm/Connect.js.map +1 -1
  445. package/dist/esm/Copy.js +1 -1
  446. package/dist/esm/Copy.js.map +1 -1
  447. package/dist/esm/CreditCard.js +1 -1
  448. package/dist/esm/CreditCard.js.map +1 -1
  449. package/dist/esm/CurlyBraces.js +1 -1
  450. package/dist/esm/CurlyBraces.js.map +1 -1
  451. package/dist/esm/Cursor.js +1 -1
  452. package/dist/esm/Cursor.js.map +1 -1
  453. package/dist/esm/Dashboard.js +1 -1
  454. package/dist/esm/Dashboard.js.map +1 -1
  455. package/dist/esm/Database.js +1 -1
  456. package/dist/esm/Database.js.map +1 -1
  457. package/dist/esm/Diagram.js +1 -1
  458. package/dist/esm/Diagram.js.map +1 -1
  459. package/dist/esm/Diagram2.js +1 -1
  460. package/dist/esm/Diagram2.js.map +1 -1
  461. package/dist/esm/Diagram3.js +1 -1
  462. package/dist/esm/Diagram3.js.map +1 -1
  463. package/dist/esm/Disconnect.js +1 -1
  464. package/dist/esm/Disconnect.js.map +1 -1
  465. package/dist/esm/Download.js +1 -1
  466. package/dist/esm/Download.js.map +1 -1
  467. package/dist/esm/Drag.js +1 -1
  468. package/dist/esm/Drag.js.map +1 -1
  469. package/dist/esm/Edit.js +1 -1
  470. package/dist/esm/Edit.js.map +1 -1
  471. package/dist/esm/Ellipsis.js +1 -1
  472. package/dist/esm/Ellipsis.js.map +1 -1
  473. package/dist/esm/Email.js +1 -1
  474. package/dist/esm/Email.js.map +1 -1
  475. package/dist/esm/EmptyDatabase.js +1 -1
  476. package/dist/esm/EmptyDatabase.js.map +1 -1
  477. package/dist/esm/EmptyFolder.js +1 -1
  478. package/dist/esm/EmptyFolder.js.map +1 -1
  479. package/dist/esm/Eraser.js +1 -1
  480. package/dist/esm/Eraser.js.map +1 -1
  481. package/dist/esm/Escalation.js +1 -1
  482. package/dist/esm/Escalation.js.map +1 -1
  483. package/dist/esm/Export.js +1 -1
  484. package/dist/esm/Export.js.map +1 -1
  485. package/dist/esm/Favorite.js +1 -1
  486. package/dist/esm/Favorite.js.map +1 -1
  487. package/dist/esm/Federation.js +1 -1
  488. package/dist/esm/Federation.js.map +1 -1
  489. package/dist/esm/File.js +1 -1
  490. package/dist/esm/File.js.map +1 -1
  491. package/dist/esm/Filter.js +1 -1
  492. package/dist/esm/Filter.js.map +1 -1
  493. package/dist/esm/Folder.js +1 -1
  494. package/dist/esm/Folder.js.map +1 -1
  495. package/dist/esm/Format.js +1 -1
  496. package/dist/esm/Format.js.map +1 -1
  497. package/dist/esm/FullScreenEnter.js +1 -1
  498. package/dist/esm/FullScreenEnter.js.map +1 -1
  499. package/dist/esm/FullScreenExit.js +1 -1
  500. package/dist/esm/FullScreenExit.js.map +1 -1
  501. package/dist/esm/Function.js +1 -1
  502. package/dist/esm/Function.js.map +1 -1
  503. package/dist/esm/Gauge.js +1 -1
  504. package/dist/esm/Gauge.js.map +1 -1
  505. package/dist/esm/GlobeAmericas.js +1 -1
  506. package/dist/esm/GlobeAmericas.js.map +1 -1
  507. package/dist/esm/GovernmentBuilding.js +1 -1
  508. package/dist/esm/GovernmentBuilding.js.map +1 -1
  509. package/dist/esm/Guide.js +1 -1
  510. package/dist/esm/Guide.js.map +1 -1
  511. package/dist/esm/Hash.js +1 -1
  512. package/dist/esm/Hash.js.map +1 -1
  513. package/dist/esm/HiddenSecondaryNode.js +1 -1
  514. package/dist/esm/HiddenSecondaryNode.js.map +1 -1
  515. package/dist/esm/Highlight.js +1 -1
  516. package/dist/esm/Highlight.js.map +1 -1
  517. package/dist/esm/Home.js +1 -1
  518. package/dist/esm/Home.js.map +1 -1
  519. package/dist/esm/HorizontalDrag.js +1 -1
  520. package/dist/esm/HorizontalDrag.js.map +1 -1
  521. package/dist/esm/Import.js +1 -1
  522. package/dist/esm/Import.js.map +1 -1
  523. package/dist/esm/ImportantWithCircle.js +1 -1
  524. package/dist/esm/ImportantWithCircle.js.map +1 -1
  525. package/dist/esm/InfoWithCircle.js +1 -1
  526. package/dist/esm/InfoWithCircle.js.map +1 -1
  527. package/dist/esm/InternalEmployee.js +1 -1
  528. package/dist/esm/InternalEmployee.js.map +1 -1
  529. package/dist/esm/InviteUser.js +1 -1
  530. package/dist/esm/InviteUser.js.map +1 -1
  531. package/dist/esm/Key.js +1 -1
  532. package/dist/esm/Key.js.map +1 -1
  533. package/dist/esm/Laptop.js +1 -1
  534. package/dist/esm/Laptop.js.map +1 -1
  535. package/dist/esm/LightningBolt.js +1 -1
  536. package/dist/esm/LightningBolt.js.map +1 -1
  537. package/dist/esm/Link.js +1 -1
  538. package/dist/esm/Link.js.map +1 -1
  539. package/dist/esm/List.js +1 -1
  540. package/dist/esm/List.js.map +1 -1
  541. package/dist/esm/Lock.js +1 -1
  542. package/dist/esm/Lock.js.map +1 -1
  543. package/dist/esm/LogIn.js +1 -1
  544. package/dist/esm/LogIn.js.map +1 -1
  545. package/dist/esm/LogOut.js +1 -1
  546. package/dist/esm/LogOut.js.map +1 -1
  547. package/dist/esm/MagnifyingGlass.js +1 -1
  548. package/dist/esm/MagnifyingGlass.js.map +1 -1
  549. package/dist/esm/Megaphone.js +1 -1
  550. package/dist/esm/Megaphone.js.map +1 -1
  551. package/dist/esm/Menu.js +1 -1
  552. package/dist/esm/Menu.js.map +1 -1
  553. package/dist/esm/Minus.js +1 -1
  554. package/dist/esm/Minus.js.map +1 -1
  555. package/dist/esm/Mobile.js +1 -1
  556. package/dist/esm/Mobile.js.map +1 -1
  557. package/dist/esm/Moon.js +1 -1
  558. package/dist/esm/Moon.js.map +1 -1
  559. package/dist/esm/MultiDirectionArrow.js +1 -1
  560. package/dist/esm/MultiDirectionArrow.js.map +1 -1
  561. package/dist/esm/MultiLayers.js +1 -1
  562. package/dist/esm/MultiLayers.js.map +1 -1
  563. package/dist/esm/NavCollapse.js +1 -1
  564. package/dist/esm/NavCollapse.js.map +1 -1
  565. package/dist/esm/NavExpand.js +1 -1
  566. package/dist/esm/NavExpand.js.map +1 -1
  567. package/dist/esm/NoFilter.js +1 -1
  568. package/dist/esm/NoFilter.js.map +1 -1
  569. package/dist/esm/NotAllowed.js +1 -1
  570. package/dist/esm/NotAllowed.js.map +1 -1
  571. package/dist/esm/Note.js +1 -1
  572. package/dist/esm/Note.js.map +1 -1
  573. package/dist/esm/NumberedList.js +1 -1
  574. package/dist/esm/NumberedList.js.map +1 -1
  575. package/dist/esm/OpenNewTab.js +1 -1
  576. package/dist/esm/OpenNewTab.js.map +1 -1
  577. package/dist/esm/OutlineFavorite.js +1 -1
  578. package/dist/esm/OutlineFavorite.js.map +1 -1
  579. package/dist/esm/Package.js +1 -1
  580. package/dist/esm/Package.js.map +1 -1
  581. package/dist/esm/Pause.js +1 -1
  582. package/dist/esm/Pause.js.map +1 -1
  583. package/dist/esm/Pending.js +1 -1
  584. package/dist/esm/Pending.js.map +1 -1
  585. package/dist/esm/Person.js +1 -1
  586. package/dist/esm/Person.js.map +1 -1
  587. package/dist/esm/PersonGroup.js +1 -1
  588. package/dist/esm/PersonGroup.js.map +1 -1
  589. package/dist/esm/PersonWithLock.js +1 -1
  590. package/dist/esm/PersonWithLock.js.map +1 -1
  591. package/dist/esm/Pin.js +1 -1
  592. package/dist/esm/Pin.js.map +1 -1
  593. package/dist/esm/Play.js +1 -1
  594. package/dist/esm/Play.js.map +1 -1
  595. package/dist/esm/Plus.js +1 -1
  596. package/dist/esm/Plus.js.map +1 -1
  597. package/dist/esm/PlusWithCircle.js +1 -1
  598. package/dist/esm/PlusWithCircle.js.map +1 -1
  599. package/dist/esm/Primary.js +1 -1
  600. package/dist/esm/Primary.js.map +1 -1
  601. package/dist/esm/Project.js +1 -1
  602. package/dist/esm/Project.js.map +1 -1
  603. package/dist/esm/QuestionMarkWithCircle.js +1 -1
  604. package/dist/esm/QuestionMarkWithCircle.js.map +1 -1
  605. package/dist/esm/Read.js +1 -1
  606. package/dist/esm/Read.js.map +1 -1
  607. package/dist/esm/Recommended.js +1 -1
  608. package/dist/esm/Recommended.js.map +1 -1
  609. package/dist/esm/Redo.js +1 -1
  610. package/dist/esm/Redo.js.map +1 -1
  611. package/dist/esm/Refresh.js +1 -1
  612. package/dist/esm/Refresh.js.map +1 -1
  613. package/dist/esm/Relationship.js +1 -1
  614. package/dist/esm/Relationship.js.map +1 -1
  615. package/dist/esm/ReplicaSet.js +1 -1
  616. package/dist/esm/ReplicaSet.js.map +1 -1
  617. package/dist/esm/Resize.js +1 -1
  618. package/dist/esm/Resize.js.map +1 -1
  619. package/dist/esm/Resource.js +1 -1
  620. package/dist/esm/Resource.js.map +1 -1
  621. package/dist/esm/Return.js +1 -1
  622. package/dist/esm/Return.js.map +1 -1
  623. package/dist/esm/Revert.js +1 -1
  624. package/dist/esm/Revert.js.map +1 -1
  625. package/dist/esm/Router.js +1 -1
  626. package/dist/esm/Router.js.map +1 -1
  627. package/dist/esm/SMS.js +1 -1
  628. package/dist/esm/SMS.js.map +1 -1
  629. package/dist/esm/Save.js +1 -1
  630. package/dist/esm/Save.js.map +1 -1
  631. package/dist/esm/SearchIndex.js +1 -1
  632. package/dist/esm/SearchIndex.js.map +1 -1
  633. package/dist/esm/Secondary.js +1 -1
  634. package/dist/esm/Secondary.js.map +1 -1
  635. package/dist/esm/Serverless.js +1 -1
  636. package/dist/esm/Serverless.js.map +1 -1
  637. package/dist/esm/Settings.js +1 -1
  638. package/dist/esm/Settings.js.map +1 -1
  639. package/dist/esm/ShardedCluster.js +1 -1
  640. package/dist/esm/ShardedCluster.js.map +1 -1
  641. package/dist/esm/Shell.js +1 -1
  642. package/dist/esm/Shell.js.map +1 -1
  643. package/dist/esm/Shield.js +2 -0
  644. package/dist/esm/Shield.js.map +1 -0
  645. package/dist/esm/Shirt.js +1 -1
  646. package/dist/esm/Shirt.js.map +1 -1
  647. package/dist/esm/SortAscending.js +1 -1
  648. package/dist/esm/SortAscending.js.map +1 -1
  649. package/dist/esm/SortDescending.js +1 -1
  650. package/dist/esm/SortDescending.js.map +1 -1
  651. package/dist/esm/Sparkle.js +1 -1
  652. package/dist/esm/Sparkle.js.map +1 -1
  653. package/dist/esm/SplitHorizontal.js +1 -1
  654. package/dist/esm/SplitHorizontal.js.map +1 -1
  655. package/dist/esm/SplitVertical.js +1 -1
  656. package/dist/esm/SplitVertical.js.map +1 -1
  657. package/dist/esm/Stitch.js +1 -1
  658. package/dist/esm/Stitch.js.map +1 -1
  659. package/dist/esm/Stop.js +1 -1
  660. package/dist/esm/Stop.js.map +1 -1
  661. package/dist/esm/Streaming.js +1 -1
  662. package/dist/esm/Streaming.js.map +1 -1
  663. package/dist/esm/String.js +1 -1
  664. package/dist/esm/String.js.map +1 -1
  665. package/dist/esm/Sun.js +1 -1
  666. package/dist/esm/Sun.js.map +1 -1
  667. package/dist/esm/Support.js +1 -1
  668. package/dist/esm/Support.js.map +1 -1
  669. package/dist/esm/Sweep.js +1 -1
  670. package/dist/esm/Sweep.js.map +1 -1
  671. package/dist/esm/Table.js +1 -1
  672. package/dist/esm/Table.js.map +1 -1
  673. package/dist/esm/Tag.js +1 -1
  674. package/dist/esm/Tag.js.map +1 -1
  675. package/dist/esm/TemporaryTable.js +1 -1
  676. package/dist/esm/TemporaryTable.js.map +1 -1
  677. package/dist/esm/ThumbsDown.js +1 -1
  678. package/dist/esm/ThumbsDown.js.map +1 -1
  679. package/dist/esm/ThumbsUp.js +1 -1
  680. package/dist/esm/ThumbsUp.js.map +1 -1
  681. package/dist/esm/TimeSeries.js +1 -1
  682. package/dist/esm/TimeSeries.js.map +1 -1
  683. package/dist/esm/TimeSeriesCollection.js +1 -1
  684. package/dist/esm/TimeSeriesCollection.js.map +1 -1
  685. package/dist/esm/Trash.js +1 -1
  686. package/dist/esm/Trash.js.map +1 -1
  687. package/dist/esm/Undo.js +1 -1
  688. package/dist/esm/Undo.js.map +1 -1
  689. package/dist/esm/University.js +1 -1
  690. package/dist/esm/University.js.map +1 -1
  691. package/dist/esm/Unlock.js +1 -1
  692. package/dist/esm/Unlock.js.map +1 -1
  693. package/dist/esm/Unsorted.js +1 -1
  694. package/dist/esm/Unsorted.js.map +1 -1
  695. package/dist/esm/UpDownCarets.js +1 -1
  696. package/dist/esm/UpDownCarets.js.map +1 -1
  697. package/dist/esm/Upload.js +1 -1
  698. package/dist/esm/Upload.js.map +1 -1
  699. package/dist/esm/VerticalEllipsis.js +1 -1
  700. package/dist/esm/VerticalEllipsis.js.map +1 -1
  701. package/dist/esm/View.js +1 -1
  702. package/dist/esm/View.js.map +1 -1
  703. package/dist/esm/Visibility.js +1 -1
  704. package/dist/esm/Visibility.js.map +1 -1
  705. package/dist/esm/VisibilityOff.js +1 -1
  706. package/dist/esm/VisibilityOff.js.map +1 -1
  707. package/dist/esm/Warning.js +1 -1
  708. package/dist/esm/Warning.js.map +1 -1
  709. package/dist/esm/Wizard.js +1 -1
  710. package/dist/esm/Wizard.js.map +1 -1
  711. package/dist/esm/Wrench.js +1 -1
  712. package/dist/esm/Wrench.js.map +1 -1
  713. package/dist/esm/Write.js +1 -1
  714. package/dist/esm/Write.js.map +1 -1
  715. package/dist/esm/X.js +1 -1
  716. package/dist/esm/X.js.map +1 -1
  717. package/dist/esm/XWithCircle.js +1 -1
  718. package/dist/esm/XWithCircle.js.map +1 -1
  719. package/dist/esm/index.js +1 -1
  720. package/dist/esm/index.js.map +1 -1
  721. package/dist/types/generated/Shield.d.ts +17 -0
  722. package/dist/types/generated/Shield.d.ts.map +1 -0
  723. package/dist/types/glyphs/index.d.ts +5 -1
  724. package/dist/types/glyphs/index.d.ts.map +1 -1
  725. package/dist/umd/ActivityFeed.js +1 -1
  726. package/dist/umd/ActivityFeed.js.map +1 -1
  727. package/dist/umd/AddFile.js +1 -1
  728. package/dist/umd/AddFile.js.map +1 -1
  729. package/dist/umd/AllProducts.js +1 -1
  730. package/dist/umd/AllProducts.js.map +1 -1
  731. package/dist/umd/AnalyticsNode.js +1 -1
  732. package/dist/umd/AnalyticsNode.js.map +1 -1
  733. package/dist/umd/Apps.js +1 -1
  734. package/dist/umd/Apps.js.map +1 -1
  735. package/dist/umd/Array.js +1 -1
  736. package/dist/umd/Array.js.map +1 -1
  737. package/dist/umd/ArrowDown.js +1 -1
  738. package/dist/umd/ArrowDown.js.map +1 -1
  739. package/dist/umd/ArrowLeft.js +1 -1
  740. package/dist/umd/ArrowLeft.js.map +1 -1
  741. package/dist/umd/ArrowRight.js +1 -1
  742. package/dist/umd/ArrowRight.js.map +1 -1
  743. package/dist/umd/ArrowUp.js +1 -1
  744. package/dist/umd/ArrowUp.js.map +1 -1
  745. package/dist/umd/Beaker.js +1 -1
  746. package/dist/umd/Beaker.js.map +1 -1
  747. package/dist/umd/Bell.js +1 -1
  748. package/dist/umd/Bell.js.map +1 -1
  749. package/dist/umd/Biometric.js +1 -1
  750. package/dist/umd/Biometric.js.map +1 -1
  751. package/dist/umd/Boolean.js +1 -1
  752. package/dist/umd/Boolean.js.map +1 -1
  753. package/dist/umd/Building.js +1 -1
  754. package/dist/umd/Building.js.map +1 -1
  755. package/dist/umd/Bulb.js +1 -1
  756. package/dist/umd/Bulb.js.map +1 -1
  757. package/dist/umd/Calendar.js +1 -1
  758. package/dist/umd/Calendar.js.map +1 -1
  759. package/dist/umd/Camera.js +1 -1
  760. package/dist/umd/Camera.js.map +1 -1
  761. package/dist/umd/Cap.js +1 -1
  762. package/dist/umd/Cap.js.map +1 -1
  763. package/dist/umd/CaretDown.js +1 -1
  764. package/dist/umd/CaretDown.js.map +1 -1
  765. package/dist/umd/CaretLeft.js +1 -1
  766. package/dist/umd/CaretLeft.js.map +1 -1
  767. package/dist/umd/CaretRight.js +1 -1
  768. package/dist/umd/CaretRight.js.map +1 -1
  769. package/dist/umd/CaretUp.js +1 -1
  770. package/dist/umd/CaretUp.js.map +1 -1
  771. package/dist/umd/ChartFilled.js +1 -1
  772. package/dist/umd/ChartFilled.js.map +1 -1
  773. package/dist/umd/Charts.js +1 -1
  774. package/dist/umd/Charts.js.map +1 -1
  775. package/dist/umd/Checkmark.js +1 -1
  776. package/dist/umd/Checkmark.js.map +1 -1
  777. package/dist/umd/CheckmarkWithCircle.js +1 -1
  778. package/dist/umd/CheckmarkWithCircle.js.map +1 -1
  779. package/dist/umd/ChevronDown.js +1 -1
  780. package/dist/umd/ChevronDown.js.map +1 -1
  781. package/dist/umd/ChevronLeft.js +1 -1
  782. package/dist/umd/ChevronLeft.js.map +1 -1
  783. package/dist/umd/ChevronRight.js +1 -1
  784. package/dist/umd/ChevronRight.js.map +1 -1
  785. package/dist/umd/ChevronUp.js +1 -1
  786. package/dist/umd/ChevronUp.js.map +1 -1
  787. package/dist/umd/Circle.js +1 -1
  788. package/dist/umd/Circle.js.map +1 -1
  789. package/dist/umd/Clock.js +1 -1
  790. package/dist/umd/Clock.js.map +1 -1
  791. package/dist/umd/ClockWithArrow.js +1 -1
  792. package/dist/umd/ClockWithArrow.js.map +1 -1
  793. package/dist/umd/Clone.js +1 -1
  794. package/dist/umd/Clone.js.map +1 -1
  795. package/dist/umd/Cloud.js +1 -1
  796. package/dist/umd/Cloud.js.map +1 -1
  797. package/dist/umd/Code.js +1 -1
  798. package/dist/umd/Code.js.map +1 -1
  799. package/dist/umd/CodeBlock.js +1 -1
  800. package/dist/umd/CodeBlock.js.map +1 -1
  801. package/dist/umd/Coin.js +1 -1
  802. package/dist/umd/Coin.js.map +1 -1
  803. package/dist/umd/Colon.js +1 -1
  804. package/dist/umd/Colon.js.map +1 -1
  805. package/dist/umd/Config.js +1 -1
  806. package/dist/umd/Config.js.map +1 -1
  807. package/dist/umd/Connect.js +1 -1
  808. package/dist/umd/Connect.js.map +1 -1
  809. package/dist/umd/Copy.js +1 -1
  810. package/dist/umd/Copy.js.map +1 -1
  811. package/dist/umd/CreditCard.js +1 -1
  812. package/dist/umd/CreditCard.js.map +1 -1
  813. package/dist/umd/CurlyBraces.js +1 -1
  814. package/dist/umd/CurlyBraces.js.map +1 -1
  815. package/dist/umd/Cursor.js +1 -1
  816. package/dist/umd/Cursor.js.map +1 -1
  817. package/dist/umd/Dashboard.js +1 -1
  818. package/dist/umd/Dashboard.js.map +1 -1
  819. package/dist/umd/Database.js +1 -1
  820. package/dist/umd/Database.js.map +1 -1
  821. package/dist/umd/Diagram.js +1 -1
  822. package/dist/umd/Diagram.js.map +1 -1
  823. package/dist/umd/Diagram2.js +1 -1
  824. package/dist/umd/Diagram2.js.map +1 -1
  825. package/dist/umd/Diagram3.js +1 -1
  826. package/dist/umd/Diagram3.js.map +1 -1
  827. package/dist/umd/Disconnect.js +1 -1
  828. package/dist/umd/Disconnect.js.map +1 -1
  829. package/dist/umd/Download.js +1 -1
  830. package/dist/umd/Download.js.map +1 -1
  831. package/dist/umd/Drag.js +1 -1
  832. package/dist/umd/Drag.js.map +1 -1
  833. package/dist/umd/Edit.js +1 -1
  834. package/dist/umd/Edit.js.map +1 -1
  835. package/dist/umd/Ellipsis.js +1 -1
  836. package/dist/umd/Ellipsis.js.map +1 -1
  837. package/dist/umd/Email.js +1 -1
  838. package/dist/umd/Email.js.map +1 -1
  839. package/dist/umd/EmptyDatabase.js +1 -1
  840. package/dist/umd/EmptyDatabase.js.map +1 -1
  841. package/dist/umd/EmptyFolder.js +1 -1
  842. package/dist/umd/EmptyFolder.js.map +1 -1
  843. package/dist/umd/Eraser.js +1 -1
  844. package/dist/umd/Eraser.js.map +1 -1
  845. package/dist/umd/Escalation.js +1 -1
  846. package/dist/umd/Escalation.js.map +1 -1
  847. package/dist/umd/Export.js +1 -1
  848. package/dist/umd/Export.js.map +1 -1
  849. package/dist/umd/Favorite.js +1 -1
  850. package/dist/umd/Favorite.js.map +1 -1
  851. package/dist/umd/Federation.js +1 -1
  852. package/dist/umd/Federation.js.map +1 -1
  853. package/dist/umd/File.js +1 -1
  854. package/dist/umd/File.js.map +1 -1
  855. package/dist/umd/Filter.js +1 -1
  856. package/dist/umd/Filter.js.map +1 -1
  857. package/dist/umd/Folder.js +1 -1
  858. package/dist/umd/Folder.js.map +1 -1
  859. package/dist/umd/Format.js +1 -1
  860. package/dist/umd/Format.js.map +1 -1
  861. package/dist/umd/FullScreenEnter.js +1 -1
  862. package/dist/umd/FullScreenEnter.js.map +1 -1
  863. package/dist/umd/FullScreenExit.js +1 -1
  864. package/dist/umd/FullScreenExit.js.map +1 -1
  865. package/dist/umd/Function.js +1 -1
  866. package/dist/umd/Function.js.map +1 -1
  867. package/dist/umd/Gauge.js +1 -1
  868. package/dist/umd/Gauge.js.map +1 -1
  869. package/dist/umd/GlobeAmericas.js +1 -1
  870. package/dist/umd/GlobeAmericas.js.map +1 -1
  871. package/dist/umd/GovernmentBuilding.js +1 -1
  872. package/dist/umd/GovernmentBuilding.js.map +1 -1
  873. package/dist/umd/Guide.js +1 -1
  874. package/dist/umd/Guide.js.map +1 -1
  875. package/dist/umd/Hash.js +1 -1
  876. package/dist/umd/Hash.js.map +1 -1
  877. package/dist/umd/HiddenSecondaryNode.js +1 -1
  878. package/dist/umd/HiddenSecondaryNode.js.map +1 -1
  879. package/dist/umd/Highlight.js +1 -1
  880. package/dist/umd/Highlight.js.map +1 -1
  881. package/dist/umd/Home.js +1 -1
  882. package/dist/umd/Home.js.map +1 -1
  883. package/dist/umd/HorizontalDrag.js +1 -1
  884. package/dist/umd/HorizontalDrag.js.map +1 -1
  885. package/dist/umd/Import.js +1 -1
  886. package/dist/umd/Import.js.map +1 -1
  887. package/dist/umd/ImportantWithCircle.js +1 -1
  888. package/dist/umd/ImportantWithCircle.js.map +1 -1
  889. package/dist/umd/InfoWithCircle.js +1 -1
  890. package/dist/umd/InfoWithCircle.js.map +1 -1
  891. package/dist/umd/InternalEmployee.js +1 -1
  892. package/dist/umd/InternalEmployee.js.map +1 -1
  893. package/dist/umd/InviteUser.js +1 -1
  894. package/dist/umd/InviteUser.js.map +1 -1
  895. package/dist/umd/Key.js +1 -1
  896. package/dist/umd/Key.js.map +1 -1
  897. package/dist/umd/Laptop.js +1 -1
  898. package/dist/umd/Laptop.js.map +1 -1
  899. package/dist/umd/LightningBolt.js +1 -1
  900. package/dist/umd/LightningBolt.js.map +1 -1
  901. package/dist/umd/Link.js +1 -1
  902. package/dist/umd/Link.js.map +1 -1
  903. package/dist/umd/List.js +1 -1
  904. package/dist/umd/List.js.map +1 -1
  905. package/dist/umd/Lock.js +1 -1
  906. package/dist/umd/Lock.js.map +1 -1
  907. package/dist/umd/LogIn.js +1 -1
  908. package/dist/umd/LogIn.js.map +1 -1
  909. package/dist/umd/LogOut.js +1 -1
  910. package/dist/umd/LogOut.js.map +1 -1
  911. package/dist/umd/MagnifyingGlass.js +1 -1
  912. package/dist/umd/MagnifyingGlass.js.map +1 -1
  913. package/dist/umd/Megaphone.js +1 -1
  914. package/dist/umd/Megaphone.js.map +1 -1
  915. package/dist/umd/Menu.js +1 -1
  916. package/dist/umd/Menu.js.map +1 -1
  917. package/dist/umd/Minus.js +1 -1
  918. package/dist/umd/Minus.js.map +1 -1
  919. package/dist/umd/Mobile.js +1 -1
  920. package/dist/umd/Mobile.js.map +1 -1
  921. package/dist/umd/Moon.js +1 -1
  922. package/dist/umd/Moon.js.map +1 -1
  923. package/dist/umd/MultiDirectionArrow.js +1 -1
  924. package/dist/umd/MultiDirectionArrow.js.map +1 -1
  925. package/dist/umd/MultiLayers.js +1 -1
  926. package/dist/umd/MultiLayers.js.map +1 -1
  927. package/dist/umd/NavCollapse.js +1 -1
  928. package/dist/umd/NavCollapse.js.map +1 -1
  929. package/dist/umd/NavExpand.js +1 -1
  930. package/dist/umd/NavExpand.js.map +1 -1
  931. package/dist/umd/NoFilter.js +1 -1
  932. package/dist/umd/NoFilter.js.map +1 -1
  933. package/dist/umd/NotAllowed.js +1 -1
  934. package/dist/umd/NotAllowed.js.map +1 -1
  935. package/dist/umd/Note.js +1 -1
  936. package/dist/umd/Note.js.map +1 -1
  937. package/dist/umd/NumberedList.js +1 -1
  938. package/dist/umd/NumberedList.js.map +1 -1
  939. package/dist/umd/OpenNewTab.js +1 -1
  940. package/dist/umd/OpenNewTab.js.map +1 -1
  941. package/dist/umd/OutlineFavorite.js +1 -1
  942. package/dist/umd/OutlineFavorite.js.map +1 -1
  943. package/dist/umd/Package.js +1 -1
  944. package/dist/umd/Package.js.map +1 -1
  945. package/dist/umd/Pause.js +1 -1
  946. package/dist/umd/Pause.js.map +1 -1
  947. package/dist/umd/Pending.js +1 -1
  948. package/dist/umd/Pending.js.map +1 -1
  949. package/dist/umd/Person.js +1 -1
  950. package/dist/umd/Person.js.map +1 -1
  951. package/dist/umd/PersonGroup.js +1 -1
  952. package/dist/umd/PersonGroup.js.map +1 -1
  953. package/dist/umd/PersonWithLock.js +1 -1
  954. package/dist/umd/PersonWithLock.js.map +1 -1
  955. package/dist/umd/Pin.js +1 -1
  956. package/dist/umd/Pin.js.map +1 -1
  957. package/dist/umd/Play.js +1 -1
  958. package/dist/umd/Play.js.map +1 -1
  959. package/dist/umd/Plus.js +1 -1
  960. package/dist/umd/Plus.js.map +1 -1
  961. package/dist/umd/PlusWithCircle.js +1 -1
  962. package/dist/umd/PlusWithCircle.js.map +1 -1
  963. package/dist/umd/Primary.js +1 -1
  964. package/dist/umd/Primary.js.map +1 -1
  965. package/dist/umd/Project.js +1 -1
  966. package/dist/umd/Project.js.map +1 -1
  967. package/dist/umd/QuestionMarkWithCircle.js +1 -1
  968. package/dist/umd/QuestionMarkWithCircle.js.map +1 -1
  969. package/dist/umd/Read.js +1 -1
  970. package/dist/umd/Read.js.map +1 -1
  971. package/dist/umd/Recommended.js +1 -1
  972. package/dist/umd/Recommended.js.map +1 -1
  973. package/dist/umd/Redo.js +1 -1
  974. package/dist/umd/Redo.js.map +1 -1
  975. package/dist/umd/Refresh.js +1 -1
  976. package/dist/umd/Refresh.js.map +1 -1
  977. package/dist/umd/Relationship.js +1 -1
  978. package/dist/umd/Relationship.js.map +1 -1
  979. package/dist/umd/ReplicaSet.js +1 -1
  980. package/dist/umd/ReplicaSet.js.map +1 -1
  981. package/dist/umd/Resize.js +1 -1
  982. package/dist/umd/Resize.js.map +1 -1
  983. package/dist/umd/Resource.js +1 -1
  984. package/dist/umd/Resource.js.map +1 -1
  985. package/dist/umd/Return.js +1 -1
  986. package/dist/umd/Return.js.map +1 -1
  987. package/dist/umd/Revert.js +1 -1
  988. package/dist/umd/Revert.js.map +1 -1
  989. package/dist/umd/Router.js +1 -1
  990. package/dist/umd/Router.js.map +1 -1
  991. package/dist/umd/SMS.js +1 -1
  992. package/dist/umd/SMS.js.map +1 -1
  993. package/dist/umd/Save.js +1 -1
  994. package/dist/umd/Save.js.map +1 -1
  995. package/dist/umd/SearchIndex.js +1 -1
  996. package/dist/umd/SearchIndex.js.map +1 -1
  997. package/dist/umd/Secondary.js +1 -1
  998. package/dist/umd/Secondary.js.map +1 -1
  999. package/dist/umd/Serverless.js +1 -1
  1000. package/dist/umd/Serverless.js.map +1 -1
  1001. package/dist/umd/Settings.js +1 -1
  1002. package/dist/umd/Settings.js.map +1 -1
  1003. package/dist/umd/ShardedCluster.js +1 -1
  1004. package/dist/umd/ShardedCluster.js.map +1 -1
  1005. package/dist/umd/Shell.js +1 -1
  1006. package/dist/umd/Shell.js.map +1 -1
  1007. package/dist/umd/Shield.js +2 -0
  1008. package/dist/umd/Shield.js.map +1 -0
  1009. package/dist/umd/Shirt.js +1 -1
  1010. package/dist/umd/Shirt.js.map +1 -1
  1011. package/dist/umd/SortAscending.js +1 -1
  1012. package/dist/umd/SortAscending.js.map +1 -1
  1013. package/dist/umd/SortDescending.js +1 -1
  1014. package/dist/umd/SortDescending.js.map +1 -1
  1015. package/dist/umd/Sparkle.js +1 -1
  1016. package/dist/umd/Sparkle.js.map +1 -1
  1017. package/dist/umd/SplitHorizontal.js +1 -1
  1018. package/dist/umd/SplitHorizontal.js.map +1 -1
  1019. package/dist/umd/SplitVertical.js +1 -1
  1020. package/dist/umd/SplitVertical.js.map +1 -1
  1021. package/dist/umd/Stitch.js +1 -1
  1022. package/dist/umd/Stitch.js.map +1 -1
  1023. package/dist/umd/Stop.js +1 -1
  1024. package/dist/umd/Stop.js.map +1 -1
  1025. package/dist/umd/Streaming.js +1 -1
  1026. package/dist/umd/Streaming.js.map +1 -1
  1027. package/dist/umd/String.js +1 -1
  1028. package/dist/umd/String.js.map +1 -1
  1029. package/dist/umd/Sun.js +1 -1
  1030. package/dist/umd/Sun.js.map +1 -1
  1031. package/dist/umd/Support.js +1 -1
  1032. package/dist/umd/Support.js.map +1 -1
  1033. package/dist/umd/Sweep.js +1 -1
  1034. package/dist/umd/Sweep.js.map +1 -1
  1035. package/dist/umd/Table.js +1 -1
  1036. package/dist/umd/Table.js.map +1 -1
  1037. package/dist/umd/Tag.js +1 -1
  1038. package/dist/umd/Tag.js.map +1 -1
  1039. package/dist/umd/TemporaryTable.js +1 -1
  1040. package/dist/umd/TemporaryTable.js.map +1 -1
  1041. package/dist/umd/ThumbsDown.js +1 -1
  1042. package/dist/umd/ThumbsDown.js.map +1 -1
  1043. package/dist/umd/ThumbsUp.js +1 -1
  1044. package/dist/umd/ThumbsUp.js.map +1 -1
  1045. package/dist/umd/TimeSeries.js +1 -1
  1046. package/dist/umd/TimeSeries.js.map +1 -1
  1047. package/dist/umd/TimeSeriesCollection.js +1 -1
  1048. package/dist/umd/TimeSeriesCollection.js.map +1 -1
  1049. package/dist/umd/Trash.js +1 -1
  1050. package/dist/umd/Trash.js.map +1 -1
  1051. package/dist/umd/Undo.js +1 -1
  1052. package/dist/umd/Undo.js.map +1 -1
  1053. package/dist/umd/University.js +1 -1
  1054. package/dist/umd/University.js.map +1 -1
  1055. package/dist/umd/Unlock.js +1 -1
  1056. package/dist/umd/Unlock.js.map +1 -1
  1057. package/dist/umd/Unsorted.js +1 -1
  1058. package/dist/umd/Unsorted.js.map +1 -1
  1059. package/dist/umd/UpDownCarets.js +1 -1
  1060. package/dist/umd/UpDownCarets.js.map +1 -1
  1061. package/dist/umd/Upload.js +1 -1
  1062. package/dist/umd/Upload.js.map +1 -1
  1063. package/dist/umd/VerticalEllipsis.js +1 -1
  1064. package/dist/umd/VerticalEllipsis.js.map +1 -1
  1065. package/dist/umd/View.js +1 -1
  1066. package/dist/umd/View.js.map +1 -1
  1067. package/dist/umd/Visibility.js +1 -1
  1068. package/dist/umd/Visibility.js.map +1 -1
  1069. package/dist/umd/VisibilityOff.js +1 -1
  1070. package/dist/umd/VisibilityOff.js.map +1 -1
  1071. package/dist/umd/Warning.js +1 -1
  1072. package/dist/umd/Warning.js.map +1 -1
  1073. package/dist/umd/Wizard.js +1 -1
  1074. package/dist/umd/Wizard.js.map +1 -1
  1075. package/dist/umd/Wrench.js +1 -1
  1076. package/dist/umd/Wrench.js.map +1 -1
  1077. package/dist/umd/Write.js +1 -1
  1078. package/dist/umd/Write.js.map +1 -1
  1079. package/dist/umd/X.js +1 -1
  1080. package/dist/umd/X.js.map +1 -1
  1081. package/dist/umd/XWithCircle.js +1 -1
  1082. package/dist/umd/XWithCircle.js.map +1 -1
  1083. package/dist/umd/index.js +1 -1
  1084. package/dist/umd/index.js.map +1 -1
  1085. package/package.json +2 -2
  1086. package/src/generated/Shield.tsx +39 -0
  1087. package/src/glyphs/Shield.svg +4 -0
  1088. package/src/glyphs/index.ts +2 -0
  1089. package/stories.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Trash.js","sources":["../../src/glyphCommon.ts","../../src/generated/Trash.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.ts\n* @checksum c903da55c78aa505ed887d461c32a516\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface TrashProps extends LGGlyph.ComponentProps {}\nconst Trash = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: TrashProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Trash', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M5 2C5 1.44772 5.44772 1 6 1H10C10.5523 1 11 1.44772 11 2H13C13.5523 2 14 2.44772 14 3V4H2V3C2 2.44772 2.44772 2 3 2H5ZM14 5H2L3.67845 13.3922C3.86542 14.3271 4.68625 15 5.63961 15H10.3604C11.3138 15 12.1346 14.3271 12.3216 13.3922L14 5Z\" fill={'currentColor'} /></svg>;\n};\nTrash.displayName = 'Trash';\nTrash.isGlyph = true;\nexport default Trash;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Trash","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,gPACH1B,KAAM,iBAEV,EACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
1
+ {"version":3,"file":"Trash.js","sources":["../../src/glyphCommon.ts","../../src/generated/Trash.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.ts\n* @checksum c903da55c78aa505ed887d461c32a516\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface TrashProps extends LGGlyph.ComponentProps {}\nconst Trash = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: TrashProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Trash', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M5 2C5 1.44772 5.44772 1 6 1H10C10.5523 1 11 1.44772 11 2H13C13.5523 2 14 2.44772 14 3V4H2V3C2 2.44772 2.44772 2 3 2H5ZM14 5H2L3.67845 13.3922C3.86542 14.3271 4.68625 15 5.63961 15H10.3604C11.3138 15 12.1346 14.3271 12.3216 13.3922L14 5Z\" fill={'currentColor'} /></svg>;\n};\nTrash.displayName = 'Trash';\nTrash.isGlyph = true;\nexport default Trash;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Trash","_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":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAQ,SAAeC,GACzB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,QAASU,EAAgBA,EAAgB,CAC3Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,gPACH1B,KAAM,iBAEV,EACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
package/dist/esm/Undo.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function l(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,m=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,C=a.role,O=void 0===C?"img":C,h=n(a,b),j=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Undo",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},j,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.9812 9.40216C12.0303 9.72987 12.2942 10 12.6256 10H13.4256C13.757 10 14.0288 9.73064 13.9961 9.40089C13.8186 7.6104 12.8539 6.05139 11.4531 5.07473C10.9741 4.73549 10.4315 4.46519 9.844 4.28051C9.27044 4.09832 8.6595 4.00002 8.0256 4.00002C8.01612 3.99998 8.00663 4.00002 7.99714 4.00002C5.29819 4.00002 3.04689 5.71778 2.52999 8.00002H1.11567C0.574518 8.00002 0.323974 8.67204 0.733046 9.02631L3.21469 11.1755C3.43432 11.3657 3.76031 11.3657 3.97994 11.1755L6.46159 9.02631C6.87066 8.67204 6.62011 8.00002 6.07896 8.00002H4.63233C5.10106 6.91458 6.31283 6.00002 7.99714 6.00002C8.18375 6.00002 8.36456 6.01124 8.5392 6.03269C9.24477 6.12312 9.89283 6.39739 10.4338 6.80592C10.4522 6.8206 10.4704 6.83543 10.4885 6.85041C10.5052 6.86432 10.5225 6.87728 10.5404 6.88926C11.2999 7.50399 11.8297 8.39119 11.9812 9.40216Z",fill:"currentColor"}))};s.displayName="Undo",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as a}from"@leafygreen-ui/emotion";function t(e,r,a){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var t=a.call(e,r);if("object"!=typeof t)return t;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:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)({}).hasOwnProperty.call(a,t)&&(e[t]=a[t])}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 n,o,u={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,m=void 0===s?16:s,p=c.title,v=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,C=void 0===g?"img":g,O=function(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;a[t]=e[t]}return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)a=i[t],-1===r.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}(c,f),h=r(n||(n=i(["\n color: ",";\n "])),d),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,a){var l,i=a["aria-label"],n=a["aria-labelledby"],o=a.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Undo",t(t({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",l({className:a(t({},h,null!=d),w,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:C},j,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.9812 9.40216C12.0303 9.72987 12.2942 10 12.6256 10H13.4256C13.757 10 14.0288 9.73064 13.9961 9.40089C13.8186 7.6104 12.8539 6.05139 11.4531 5.07473C10.9741 4.73549 10.4315 4.46519 9.844 4.28051C9.27044 4.09832 8.6595 4.00002 8.0256 4.00002C8.01612 3.99998 8.00663 4.00002 7.99714 4.00002C5.29819 4.00002 3.04689 5.71778 2.52999 8.00002H1.11567C0.574518 8.00002 0.323974 8.67204 0.733046 9.02631L3.21469 11.1755C3.43432 11.3657 3.76031 11.3657 3.97994 11.1755L6.46159 9.02631C6.87066 8.67204 6.62011 8.00002 6.07896 8.00002H4.63233C5.10106 6.91458 6.31283 6.00002 7.99714 6.00002C8.18375 6.00002 8.36456 6.01124 8.5392 6.03269C9.24477 6.12312 9.89283 6.39739 10.4338 6.80592C10.4522 6.8206 10.4704 6.83543 10.4885 6.85041C10.5052 6.86432 10.5225 6.87728 10.5404 6.88926C11.2999 7.50399 11.8297 8.39119 11.9812 9.40216Z",fill:"currentColor"}))};c.displayName="Undo",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Undo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Undo.js","sources":["../../src/glyphCommon.ts","../../src/generated/Undo.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.ts\n* @checksum d3489b212b2ad8ead2f72d2d8ae828a0\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UndoProps extends LGGlyph.ComponentProps {}\nconst Undo = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UndoProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Undo', {\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.9812 9.40216C12.0303 9.72987 12.2942 10 12.6256 10H13.4256C13.757 10 14.0288 9.73064 13.9961 9.40089C13.8186 7.6104 12.8539 6.05139 11.4531 5.07473C10.9741 4.73549 10.4315 4.46519 9.844 4.28051C9.27044 4.09832 8.6595 4.00002 8.0256 4.00002C8.01612 3.99998 8.00663 4.00002 7.99714 4.00002C5.29819 4.00002 3.04689 5.71778 2.52999 8.00002H1.11567C0.574518 8.00002 0.323974 8.67204 0.733046 9.02631L3.21469 11.1755C3.43432 11.3657 3.76031 11.3657 3.97994 11.1755L6.46159 9.02631C6.87066 8.67204 6.62011 8.00002 6.07896 8.00002H4.63233C5.10106 6.91458 6.31283 6.00002 7.99714 6.00002C8.18375 6.00002 8.36456 6.01124 8.5392 6.03269C9.24477 6.12312 9.89283 6.39739 10.4338 6.80592C10.4522 6.8206 10.4704 6.83543 10.4885 6.85041C10.5052 6.86432 10.5225 6.87728 10.5404 6.88926C11.2999 7.50399 11.8297 8.39119 11.9812 9.40216Z\" fill={'currentColor'} /></svg>;\n};\nUndo.displayName = 'Undo';\nUndo.isGlyph = true;\nexport default Undo;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Undo","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,wzBACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
1
+ {"version":3,"file":"Undo.js","sources":["../../src/glyphCommon.ts","../../src/generated/Undo.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.ts\n* @checksum d3489b212b2ad8ead2f72d2d8ae828a0\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UndoProps extends LGGlyph.ComponentProps {}\nconst Undo = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UndoProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Undo', {\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.9812 9.40216C12.0303 9.72987 12.2942 10 12.6256 10H13.4256C13.757 10 14.0288 9.73064 13.9961 9.40089C13.8186 7.6104 12.8539 6.05139 11.4531 5.07473C10.9741 4.73549 10.4315 4.46519 9.844 4.28051C9.27044 4.09832 8.6595 4.00002 8.0256 4.00002C8.01612 3.99998 8.00663 4.00002 7.99714 4.00002C5.29819 4.00002 3.04689 5.71778 2.52999 8.00002H1.11567C0.574518 8.00002 0.323974 8.67204 0.733046 9.02631L3.21469 11.1755C3.43432 11.3657 3.76031 11.3657 3.97994 11.1755L6.46159 9.02631C6.87066 8.67204 6.62011 8.00002 6.07896 8.00002H4.63233C5.10106 6.91458 6.31283 6.00002 7.99714 6.00002C8.18375 6.00002 8.36456 6.01124 8.5392 6.03269C9.24477 6.12312 9.89283 6.39739 10.4338 6.80592C10.4522 6.8206 10.4704 6.83543 10.4885 6.85041C10.5052 6.86432 10.5225 6.87728 10.5404 6.88926C11.2999 7.50399 11.8297 8.39119 11.9812 9.40216Z\" fill={'currentColor'} /></svg>;\n};\nUndo.displayName = 'Undo';\nUndo.isGlyph = true;\nexport default Undo;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Undo","_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":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,wzBACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,C=l["aria-label"],v=l["aria-labelledby"],d=l.fill,g=l.role,h=void 0===g?"img":g,O=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),d),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),L=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"University",a(a({title:m},"aria-label",C),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},j,null!=d),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},L,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M8.5 4.61279C8.5 4.22996 8.69133 3.87245 9.00987 3.66009C9.66508 3.22328 10.3905 2.90238 11.1545 2.71139L13.5611 2.10972C13.7841 2.05399 14 2.22259 14 2.45237V10.3323C14 10.5698 14 10.6886 13.9571 10.7854C13.9193 10.8707 13.8583 10.9437 13.7811 10.9962C13.6936 11.0557 13.5768 11.077 13.3431 11.1194L9.44311 11.8285C9.11918 11.8874 8.95721 11.9169 8.83074 11.8714C8.71979 11.8315 8.62651 11.7536 8.56739 11.6516C8.5 11.5353 8.5 11.3707 8.5 11.0414V4.61279Z",fill:"currentColor"}),e.createElement("path",{d:"M2 2.45237C2 2.22259 2.21594 2.05399 2.43887 2.10972L4.84555 2.71139C5.6095 2.90238 6.33492 3.22328 6.99013 3.66009C7.30867 3.87245 7.5 4.22996 7.5 4.61279V11.0414C7.5 11.3707 7.5 11.5353 7.43262 11.6516C7.37349 11.7536 7.28022 11.8315 7.16926 11.8714C7.04279 11.9169 6.88083 11.8874 6.55689 11.8285L2.6569 11.1194C2.42324 11.077 2.30641 11.0557 2.21886 10.9962C2.14168 10.9437 2.08073 10.8707 2.04291 10.7854C2 10.6886 2 10.5698 2 10.3323V2.45237Z",fill:"currentColor"}),e.createElement("path",{d:"M2.00807 12.4106C2.05747 12.1389 2.31776 11.9587 2.58945 12.0081L7.73167 12.943C7.90911 12.9753 8.0909 12.9753 8.26833 12.943L13.4106 12.0081C13.6822 11.9587 13.9425 12.1389 13.9919 12.4106C14.0413 12.6822 13.8611 12.9425 13.5894 12.9919L9.45517 13.7436C9.29201 14.1782 8.70238 14.5 8 14.5C7.29762 14.5 6.70799 14.1782 6.54483 13.7436L2.41056 12.9919C2.13887 12.9425 1.95867 12.6822 2.00807 12.4106Z",fill:"currentColor"}))};s.displayName="University",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";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 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 n,o,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,s=f.size,m=void 0===s?16:s,C=f.title,p=f["aria-label"],v=f["aria-labelledby"],y=f.fill,d=f.role,g=void 0===d?"img":d,h=function(e,r){if(null==e)return{};var t,l,a=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)&&(a[t]=e[t])}return a}(f,u),O=r(n||(n=i(["\n color: ",";\n "])),y),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"University",l(l({title:C},"aria-label",p),"aria-labelledby",v));return e.createElement("svg",a({className:t(l({},O,null!=y),w,b),height:"number"==typeof m?m:c[m],width:"number"==typeof m?m:c[m],role:g},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M8.5 4.61279C8.5 4.22996 8.69133 3.87245 9.00987 3.66009C9.66508 3.22328 10.3905 2.90238 11.1545 2.71139L13.5611 2.10972C13.7841 2.05399 14 2.22259 14 2.45237V10.3323C14 10.5698 14 10.6886 13.9571 10.7854C13.9193 10.8707 13.8583 10.9437 13.7811 10.9962C13.6936 11.0557 13.5768 11.077 13.3431 11.1194L9.44311 11.8285C9.11918 11.8874 8.95721 11.9169 8.83074 11.8714C8.71979 11.8315 8.62651 11.7536 8.56739 11.6516C8.5 11.5353 8.5 11.3707 8.5 11.0414V4.61279Z",fill:"currentColor"}),e.createElement("path",{d:"M2 2.45237C2 2.22259 2.21594 2.05399 2.43887 2.10972L4.84555 2.71139C5.6095 2.90238 6.33492 3.22328 6.99013 3.66009C7.30867 3.87245 7.5 4.22996 7.5 4.61279V11.0414C7.5 11.3707 7.5 11.5353 7.43262 11.6516C7.37349 11.7536 7.28022 11.8315 7.16926 11.8714C7.04279 11.9169 6.88083 11.8874 6.55689 11.8285L2.6569 11.1194C2.42324 11.077 2.30641 11.0557 2.21886 10.9962C2.14168 10.9437 2.08073 10.8707 2.04291 10.7854C2 10.6886 2 10.5698 2 10.3323V2.45237Z",fill:"currentColor"}),e.createElement("path",{d:"M2.00807 12.4106C2.05747 12.1389 2.31776 11.9587 2.58945 12.0081L7.73167 12.943C7.90911 12.9753 8.0909 12.9753 8.26833 12.943L13.4106 12.0081C13.6822 11.9587 13.9425 12.1389 13.9919 12.4106C14.0413 12.6822 13.8611 12.9425 13.5894 12.9919L9.45517 13.7436C9.29201 14.1782 8.70238 14.5 8 14.5C7.29762 14.5 6.70799 14.1782 6.54483 13.7436L2.41056 12.9919C2.13887 12.9425 1.95867 12.6822 2.00807 12.4106Z",fill:"currentColor"}))};f.displayName="University",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=University.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"University.js","sources":["../../src/glyphCommon.ts","../../src/generated/University.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.ts\n* @checksum cb9da429c8b6a6a81193bde803b99023\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UniversityProps extends LGGlyph.ComponentProps {}\nconst University = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UniversityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'University', {\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.5 4.61279C8.5 4.22996 8.69133 3.87245 9.00987 3.66009C9.66508 3.22328 10.3905 2.90238 11.1545 2.71139L13.5611 2.10972C13.7841 2.05399 14 2.22259 14 2.45237V10.3323C14 10.5698 14 10.6886 13.9571 10.7854C13.9193 10.8707 13.8583 10.9437 13.7811 10.9962C13.6936 11.0557 13.5768 11.077 13.3431 11.1194L9.44311 11.8285C9.11918 11.8874 8.95721 11.9169 8.83074 11.8714C8.71979 11.8315 8.62651 11.7536 8.56739 11.6516C8.5 11.5353 8.5 11.3707 8.5 11.0414V4.61279Z\" fill={'currentColor'} /><path d=\"M2 2.45237C2 2.22259 2.21594 2.05399 2.43887 2.10972L4.84555 2.71139C5.6095 2.90238 6.33492 3.22328 6.99013 3.66009C7.30867 3.87245 7.5 4.22996 7.5 4.61279V11.0414C7.5 11.3707 7.5 11.5353 7.43262 11.6516C7.37349 11.7536 7.28022 11.8315 7.16926 11.8714C7.04279 11.9169 6.88083 11.8874 6.55689 11.8285L2.6569 11.1194C2.42324 11.077 2.30641 11.0557 2.21886 10.9962C2.14168 10.9437 2.08073 10.8707 2.04291 10.7854C2 10.6886 2 10.5698 2 10.3323V2.45237Z\" fill={'currentColor'} /><path d=\"M2.00807 12.4106C2.05747 12.1389 2.31776 11.9587 2.58945 12.0081L7.73167 12.943C7.90911 12.9753 8.0909 12.9753 8.26833 12.943L13.4106 12.0081C13.6822 11.9587 13.9425 12.1389 13.9919 12.4106C14.0413 12.6822 13.8611 12.9425 13.5894 12.9919L9.45517 13.7436C9.29201 14.1782 8.70238 14.5 8 14.5C7.29762 14.5 6.70799 14.1782 6.54483 13.7436L2.41056 12.9919C2.13887 12.9425 1.95867 12.6822 2.00807 12.4106Z\" fill={'currentColor'} /></svg>;\n};\nUniversity.displayName = 'University';\nUniversity.isGlyph = true;\nexport default University;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","University","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mcACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,kZACHxB,KAAM,iBAEV,EACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
1
+ {"version":3,"file":"University.js","sources":["../../src/glyphCommon.ts","../../src/generated/University.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.ts\n* @checksum cb9da429c8b6a6a81193bde803b99023\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UniversityProps extends LGGlyph.ComponentProps {}\nconst University = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UniversityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'University', {\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.5 4.61279C8.5 4.22996 8.69133 3.87245 9.00987 3.66009C9.66508 3.22328 10.3905 2.90238 11.1545 2.71139L13.5611 2.10972C13.7841 2.05399 14 2.22259 14 2.45237V10.3323C14 10.5698 14 10.6886 13.9571 10.7854C13.9193 10.8707 13.8583 10.9437 13.7811 10.9962C13.6936 11.0557 13.5768 11.077 13.3431 11.1194L9.44311 11.8285C9.11918 11.8874 8.95721 11.9169 8.83074 11.8714C8.71979 11.8315 8.62651 11.7536 8.56739 11.6516C8.5 11.5353 8.5 11.3707 8.5 11.0414V4.61279Z\" fill={'currentColor'} /><path d=\"M2 2.45237C2 2.22259 2.21594 2.05399 2.43887 2.10972L4.84555 2.71139C5.6095 2.90238 6.33492 3.22328 6.99013 3.66009C7.30867 3.87245 7.5 4.22996 7.5 4.61279V11.0414C7.5 11.3707 7.5 11.5353 7.43262 11.6516C7.37349 11.7536 7.28022 11.8315 7.16926 11.8714C7.04279 11.9169 6.88083 11.8874 6.55689 11.8285L2.6569 11.1194C2.42324 11.077 2.30641 11.0557 2.21886 10.9962C2.14168 10.9437 2.08073 10.8707 2.04291 10.7854C2 10.6886 2 10.5698 2 10.3323V2.45237Z\" fill={'currentColor'} /><path d=\"M2.00807 12.4106C2.05747 12.1389 2.31776 11.9587 2.58945 12.0081L7.73167 12.943C7.90911 12.9753 8.0909 12.9753 8.26833 12.943L13.4106 12.0081C13.6822 11.9587 13.9425 12.1389 13.9919 12.4106C14.0413 12.6822 13.8611 12.9425 13.5894 12.9919L9.45517 13.7436C9.29201 14.1782 8.70238 14.5 8 14.5C7.29762 14.5 6.70799 14.1782 6.54483 13.7436L2.41056 12.9919C2.13887 12.9425 1.95867 12.6822 2.00807 12.4106Z\" fill={'currentColor'} /></svg>;\n};\nUniversity.displayName = 'University';\nUniversity.isGlyph = true;\nexport default University;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","University","_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":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,mcACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,kZACHxB,KAAM,iBAEV,EACAR,EAAWiC,YAAc,aACzBjC,EAAWkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],g=l.fill,C=l.role,O=void 0===C?"img":C,h=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Unlock",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.15738 4.22101C6.46112 3.50344 7.17177 3 8 3C9.10457 3 10 3.89543 10 5V7H4C3.44772 7 3 7.44772 3 8V14C3 14.5523 3.44772 15 4 15H12C12.5523 15 13 14.5523 13 14V8C13 7.44772 12.5523 7 12 7V5C12 2.79086 10.2091 1 8 1C6.20247 1 4.68187 2.18568 4.17763 3.81762C3.98198 4.45082 4.53726 5 5.2 5C5.64183 5 5.98516 4.62789 6.15738 4.22101ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z",fill:"currentColor"}))};s.displayName="Unlock",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function a(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var a=l.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},t.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,s=f.size,v=void 0===s?16:s,m=f.title,p=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,C=void 0===g?"img":g,O=function(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==r.indexOf(a))continue;l[a]=e[a]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}(f,c),h=r(n||(n=i(["\n color: ",";\n "])),d),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var t,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Unlock",a(a({title:m},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",t({className:l(a({},h,null!=d),w,b),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:C},j,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.15738 4.22101C6.46112 3.50344 7.17177 3 8 3C9.10457 3 10 3.89543 10 5V7H4C3.44772 7 3 7.44772 3 8V14C3 14.5523 3.44772 15 4 15H12C12.5523 15 13 14.5523 13 14V8C13 7.44772 12.5523 7 12 7V5C12 2.79086 10.2091 1 8 1C6.20247 1 4.68187 2.18568 4.17763 3.81762C3.98198 4.45082 4.53726 5 5.2 5C5.64183 5 5.98516 4.62789 6.15738 4.22101ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z",fill:"currentColor"}))};f.displayName="Unlock",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Unlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Unlock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unlock.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.ts\n* @checksum 9357bb80143faccbbdba6b3b1f2ab21d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnlockProps extends LGGlyph.ComponentProps {}\nconst Unlock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnlockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unlock', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.15738 4.22101C6.46112 3.50344 7.17177 3 8 3C9.10457 3 10 3.89543 10 5V7H4C3.44772 7 3 7.44772 3 8V14C3 14.5523 3.44772 15 4 15H12C12.5523 15 13 14.5523 13 14V8C13 7.44772 12.5523 7 12 7V5C12 2.79086 10.2091 1 8 1C6.20247 1 4.68187 2.18568 4.17763 3.81762C3.98198 4.45082 4.53726 5 5.2 5C5.64183 5 5.98516 4.62789 6.15738 4.22101ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z\" fill={'currentColor'} /></svg>;\n};\nUnlock.displayName = 'Unlock';\nUnlock.isGlyph = true;\nexport default Unlock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unlock","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,6jBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Unlock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unlock.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.ts\n* @checksum 9357bb80143faccbbdba6b3b1f2ab21d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnlockProps extends LGGlyph.ComponentProps {}\nconst Unlock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnlockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unlock', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.15738 4.22101C6.46112 3.50344 7.17177 3 8 3C9.10457 3 10 3.89543 10 5V7H4C3.44772 7 3 7.44772 3 8V14C3 14.5523 3.44772 15 4 15H12C12.5523 15 13 14.5523 13 14V8C13 7.44772 12.5523 7 12 7V5C12 2.79086 10.2091 1 8 1C6.20247 1 4.68187 2.18568 4.17763 3.81762C3.98198 4.45082 4.53726 5 5.2 5C5.64183 5 5.98516 4.62789 6.15738 4.22101ZM8.58667 10.8099C8.83712 10.6282 9 10.3331 9 10C9 9.44771 8.55228 9 8 9C7.44772 9 7 9.44771 7 10C7 10.3361 7.16577 10.6334 7.42 10.8147V12.6667C7.42 12.9888 7.68117 13.25 8.00333 13.25C8.3255 13.25 8.58667 12.9888 8.58667 12.6667V10.8099Z\" fill={'currentColor'} /></svg>;\n};\nUnlock.displayName = 'Unlock';\nUnlock.isGlyph = true;\nexport default Unlock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unlock","_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":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,6jBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},n.apply(this,arguments)}function i(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},n=Object.keys(e);for(l=0;l<n.length;l++)t=n[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)t=n[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,m=void 0===p?16:p,y=l.title,d=l["aria-label"],v=l["aria-labelledby"],C=l.fill,g=l.role,h=void 0===g?"img":g,O=i(l,b),j=r(c||(c=o(["\n color: ",";\n "])),C),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),H=function(e,r,t){var l,n=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return n||i||o?a(a(a({},"aria-labelledby",i),"aria-label",n),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Unsorted",a(a({title:y},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",n({className:t(a({},j,null!=C),w,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:h},H,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z",fill:"currentColor"}),e.createElement("path",{d:"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z",fill:"currentColor"}),e.createElement("path",{d:"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z",fill:"currentColor"}),e.createElement("path",{d:"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z",fill:"currentColor"}))};s.displayName="Unsorted",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";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 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 n(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var i,o,c={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,s=f.size,m=void 0===s?16:s,p=f.title,d=f["aria-label"],v=f["aria-labelledby"],y=f.fill,C=f.role,g=void 0===C?"img":C,h=function(e,r){if(null==e)return{};var t,l,a=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 n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)t=n[l],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(f,u),O=r(i||(i=n(["\n color: ",";\n "])),y),w=r(o||(o=n(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var a,n=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return n||i||o?l(l(l({},"aria-labelledby",i),"aria-label",n),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Unsorted",l(l({title:p},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",a({className:t(l({},O,null!=y),w,b),height:"number"==typeof m?m:c[m],width:"number"==typeof m?m:c[m],role:g},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z",fill:"currentColor"}),e.createElement("path",{d:"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z",fill:"currentColor"}),e.createElement("path",{d:"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z",fill:"currentColor"}),e.createElement("path",{d:"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z",fill:"currentColor"}))};f.displayName="Unsorted",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Unsorted.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Unsorted.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unsorted.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum f586c1b4eeeffbb7c789efb930c31379\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnsortedProps extends LGGlyph.ComponentProps {}\nconst Unsorted = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnsortedProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unsorted', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z\" fill={'currentColor'} /><path d=\"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z\" fill={'currentColor'} /><path d=\"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z\" fill={'currentColor'} /><path d=\"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z\" fill={'currentColor'} /></svg>;\n};\nUnsorted.displayName = 'Unsorted';\nUnsorted.isGlyph = true;\nexport default Unsorted;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unsorted","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,WAAYU,EAAgBA,EAAgB,CAC9Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU"}
1
+ {"version":3,"file":"Unsorted.js","sources":["../../src/glyphCommon.ts","../../src/generated/Unsorted.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum f586c1b4eeeffbb7c789efb930c31379\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UnsortedProps extends LGGlyph.ComponentProps {}\nconst Unsorted = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UnsortedProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Unsorted', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3.68466 1.14265C3.90429 0.952449 4.23028 0.95245 4.44991 1.14265L6.93156 3.29182C7.34063 3.64609 7.09009 4.31811 6.54893 4.31811H5.23624L5.23624 11.6819H6.54894C7.09009 11.6819 7.34064 12.3539 6.93157 12.7082L4.44992 14.8573C4.23029 15.0476 3.9043 15.0476 3.68467 14.8573L1.20303 12.7082C0.793953 12.3539 1.0445 11.6819 1.58565 11.6819H2.89836V11.6742L2.89835 11.6696L2.89835 4.31811H1.58564C1.04449 4.31811 0.793944 3.64609 1.20302 3.29182L3.68466 1.14265Z\" fill={'currentColor'} /><path d=\"M8 8C8 7.44772 8.44772 7 9 7H14C14.5523 7 15 7.44772 15 8C15 8.55228 14.5523 9 14 9H9C8.44772 9 8 8.55228 8 8Z\" fill={'currentColor'} /><path d=\"M9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6H14C14.5523 6 15 5.55228 15 5C15 4.44772 14.5523 4 14 4H9Z\" fill={'currentColor'} /><path d=\"M8 11C8 10.4477 8.44772 10 9 10H14C14.5523 10 15 10.4477 15 11C15 11.5523 14.5523 12 14 12H9C8.44772 12 8 11.5523 8 11Z\" fill={'currentColor'} /></svg>;\n};\nUnsorted.displayName = 'Unsorted';\nUnsorted.isGlyph = true;\nexport default Unsorted;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Unsorted","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,WAAYU,EAAgBA,EAAgB,CAC9Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,6cACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAASiC,YAAc,WACvBjC,EAASkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,f,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,d=l["aria-label"],v=l["aria-labelledby"],g=l.fill,h=l.role,O=void 0===h?"img":h,j=n(l,b),w=r(c||(c=o(["\n color: ",";\n "])),g),C=r(f||(f=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"UpDownCarets",a(a({title:m},"aria-label",d),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},w,null!=g),C,s),height:"number"==typeof y?y:u[y],width:"number"==typeof y?y:u[y],role:O},P,j,{viewBox:"0 0 16 16"}),e.createElement("g",{id:"Glyphs-/-Up-Down-Carets",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z",id:"Fill-1",fill:"currentColor"})))};s.displayName="UpDownCarets",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";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 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 n,o,f={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var s=c.className,b=c.size,p=void 0===b?16:b,m=c.title,v=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,h=void 0===g?"img":g,w=function(e,r){if(null==e)return{};var t,l,a=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)&&(a[t]=e[t])}return a}(c,u),O=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),C=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"UpDownCarets",l(l({title:m},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",a({className:t(l({},O,null!=d),j,s),height:"number"==typeof p?p:f[p],width:"number"==typeof p?p:f[p],role:h},C,w,{viewBox:"0 0 16 16"}),e.createElement("g",{id:"Glyphs-/-Up-Down-Carets",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z",id:"Fill-1",fill:"currentColor"})))};c.displayName="UpDownCarets",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=UpDownCarets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpDownCarets.js","sources":["../../src/glyphCommon.ts","../../src/generated/UpDownCarets.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum fd29ce842c67166475a6edde3ccbdc2c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UpDownCaretsProps extends LGGlyph.ComponentProps {}\nconst UpDownCarets = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UpDownCaretsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'UpDownCarets', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Glyphs-/-Up-Down-Carets\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\"><path d=\"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z\" id=\"Fill-1\" fill={'currentColor'} /></g></svg>;\n};\nUpDownCarets.displayName = 'UpDownCarets';\nUpDownCarets.isGlyph = true;\nexport default UpDownCarets;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","UpDownCarets","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","stroke","strokeWidth","fillRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAe,SAAsBC,GACvC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,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,eAAgBU,EAAgBA,EAAgB,CAClGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,IAAK,CACxCM,GAAI,0BACJC,OAAQ,OACRC,YAAa,EACb1B,KAAM,OACN2B,SAAU,WACIV,EAAMC,cAAc,OAAQ,CAC1CU,EAAG,iZACHJ,GAAI,SACJxB,KAAM,kBAEV,EACAR,EAAaqC,YAAc,eAC3BrC,EAAasC,SAAU"}
1
+ {"version":3,"file":"UpDownCarets.js","sources":["../../src/glyphCommon.ts","../../src/generated/UpDownCarets.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum fd29ce842c67166475a6edde3ccbdc2c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UpDownCaretsProps extends LGGlyph.ComponentProps {}\nconst UpDownCarets = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UpDownCaretsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'UpDownCarets', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><g id=\"Glyphs-/-Up-Down-Carets\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\"><path d=\"M7.5273,1.2109 C7.7873,0.9299 8.2123,0.9299 8.4753,1.2109 L11.8023,4.7729 C12.2243,5.2249 11.9253,5.9999 11.3273,5.9999 L4.6733,5.9999 C4.0743,5.9999 3.7753,5.2249 4.1973,4.7729 L7.5273,1.2109 Z M11.3273,9.9999 C11.9253,9.9999 12.2243,10.7749 11.8023,11.2279 L8.4753,14.7889 C8.2123,15.0699 7.7873,15.0699 7.5273,14.7889 L4.1973,11.2279 C3.7753,10.7749 4.0743,9.9999 4.6733,9.9999 L11.3273,9.9999 Z\" id=\"Fill-1\" fill={'currentColor'} /></g></svg>;\n};\nUpDownCarets.displayName = 'UpDownCarets';\nUpDownCarets.isGlyph = true;\nexport default UpDownCarets;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","UpDownCarets","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","id","stroke","strokeWidth","fillRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAe,SAAsBC,GACvC,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,eAAgBU,EAAgBA,EAAgB,CAClGf,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,IAAK,CACxCM,GAAI,0BACJC,OAAQ,OACRC,YAAa,EACb1B,KAAM,OACN2B,SAAU,WACIV,EAAMC,cAAc,OAAQ,CAC1CU,EAAG,iZACHJ,GAAI,SACJxB,KAAM,kBAEV,EACAR,EAAaqC,YAAc,eAC3BrC,EAAasC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,d=l.title,m=l["aria-label"],v=l["aria-labelledby"],g=l.fill,C=l.role,O=void 0===C?"img":C,h=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Upload",a(a({title:d},"aria-label",m),"aria-labelledby",v));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z",fill:"currentColor"}))};s.displayName="Upload",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function a(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var a=l.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},t.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,p=void 0===s?16:s,v=c.title,d=c["aria-label"],m=c["aria-labelledby"],y=c.fill,g=c.role,C=void 0===g?"img":g,O=function(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==r.indexOf(a))continue;l[a]=e[a]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}(c,f),h=r(n||(n=i(["\n color: ",";\n "])),y),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var t,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Upload",a(a({title:v},"aria-label",d),"aria-labelledby",m));return e.createElement("svg",t({className:l(a({},h,null!=y),w,b),height:"number"==typeof p?p:u[p],width:"number"==typeof p?p:u[p],role:C},j,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z",fill:"currentColor"}))};c.displayName="Upload",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Upload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 90a04500bb00c935ff9934d6a1ea9d80\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UploadProps extends LGGlyph.ComponentProps {}\nconst Upload = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UploadProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Upload', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z\" fill={'currentColor'} /></svg>;\n};\nUpload.displayName = 'Upload';\nUpload.isGlyph = true;\nexport default Upload;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Upload","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yuBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Upload.js","sources":["../../src/glyphCommon.ts","../../src/generated/Upload.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 90a04500bb00c935ff9934d6a1ea9d80\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface UploadProps extends LGGlyph.ComponentProps {}\nconst Upload = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: UploadProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Upload', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.2967 11V11.9384C11.525 11.9789 11.7601 12 12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C11.482 4 10.9869 4.09848 10.5326 4.27774C9.67881 2.34714 7.74673 1 5.5 1C2.46243 1 0 3.46243 0 6.5C0 9.53757 2.46243 12 5.5 12C5.59955 12 5.69847 11.9974 5.79672 11.9921V11H5.39404C3.99871 11 3.31387 9.30059 4.31931 8.33311L7.47199 5.29944C8.07212 4.72196 9.02132 4.72196 9.62145 5.29944L12.7741 8.33311C13.7796 9.30059 13.0947 11 11.6994 11H11.2967ZM8.33871 6.20016C8.45486 6.08839 8.63858 6.08839 8.75473 6.20016L11.9074 9.23383C12.102 9.42108 11.9695 9.75 11.6994 9.75H10.0467V13.5C10.0467 14.3284 9.37514 15 8.54672 15C7.71829 15 7.04672 14.3284 7.04672 13.5V9.75H5.39404C5.12398 9.75 4.99143 9.42108 5.18603 9.23383L8.33871 6.20016Z\" fill={'currentColor'} /></svg>;\n};\nUpload.displayName = 'Upload';\nUpload.isGlyph = true;\nexport default Upload;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Upload","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yuBACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],g=l.fill,O=l.role,h=void 0===O?"img":O,j=n(l,b),C=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"VerticalEllipsis",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},C,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z",fill:"currentColor"}))};s.displayName="VerticalEllipsis",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function a(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var a=l.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},t.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,s=f.size,p=void 0===s?16:s,v=f.title,m=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,O=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==r.indexOf(a))continue;l[a]=e[a]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}(f,c),C=r(n||(n=i(["\n color: ",";\n "])),d),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var t,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"VerticalEllipsis",a(a({title:v},"aria-label",m),"aria-labelledby",y));return e.createElement("svg",t({className:l(a({},C,null!=d),w,b),height:"number"==typeof p?p:u[p],width:"number"==typeof p?p:u[p],role:O},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z",fill:"currentColor"}))};f.displayName="VerticalEllipsis",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=VerticalEllipsis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum a40e189c973c63e3e0d0d21d2aeb32a1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VerticalEllipsisProps extends LGGlyph.ComponentProps {}\nconst VerticalEllipsis = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VerticalEllipsisProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VerticalEllipsis', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z\" fill={'currentColor'} /></svg>;\n};\nVerticalEllipsis.displayName = 'VerticalEllipsis';\nVerticalEllipsis.isGlyph = true;\nexport default VerticalEllipsis;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VerticalEllipsis","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8XACH1B,KAAM,iBAEV,EACAR,EAAiBmC,YAAc,mBAC/BnC,EAAiBoC,SAAU"}
1
+ {"version":3,"file":"VerticalEllipsis.js","sources":["../../src/glyphCommon.ts","../../src/generated/VerticalEllipsis.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum a40e189c973c63e3e0d0d21d2aeb32a1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VerticalEllipsisProps extends LGGlyph.ComponentProps {}\nconst VerticalEllipsis = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VerticalEllipsisProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'VerticalEllipsis', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M9.5 2.75C9.5 3.7165 8.7165 4.5 7.75 4.5C6.7835 4.5 6 3.7165 6 2.75C6 1.7835 6.7835 1 7.75 1C8.7165 1 9.5 1.7835 9.5 2.75ZM9.5 7.75C9.5 8.7165 8.7165 9.5 7.75 9.5C6.7835 9.5 6 8.7165 6 7.75C6 6.7835 6.7835 6 7.75 6C8.7165 6 9.5 6.7835 9.5 7.75ZM7.75 14.5C8.7165 14.5 9.5 13.7165 9.5 12.75C9.5 11.7835 8.7165 11 7.75 11C6.7835 11 6 11.7835 6 12.75C6 13.7165 6.7835 14.5 7.75 14.5Z\" fill={'currentColor'} /></svg>;\n};\nVerticalEllipsis.displayName = 'VerticalEllipsis';\nVerticalEllipsis.isGlyph = true;\nexport default VerticalEllipsis;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","VerticalEllipsis","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,8XACH1B,KAAM,iBAEV,EACAR,EAAiBmC,YAAc,mBAC/BnC,EAAiBoC,SAAU"}
package/dist/esm/View.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function t(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var t=l.call(e,r);if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,l){return(r=t(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l,t,a={},i=Object.keys(e);for(t=0;t<i.length;t++)l=i[t],r.indexOf(l)>=0||(a[l]=e[l]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)l=i[t],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],d=function(t){var d=t.className,s=t.size,p=void 0===s?16:s,v=t.title,m=t["aria-label"],y=t["aria-labelledby"],H=t.fill,V=t.role,g=void 0===V?"img":V,h=n(t,b),O=r(c||(c=o(["\n color: ",";\n "])),H),C=r(u||(u=o(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var t,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"View",a(a({title:v},"aria-label",m),"aria-labelledby",y));return e.createElement("svg",i({className:l(a({},O,null!=H),C,d),height:"number"==typeof p?p:f[p],width:"number"==typeof p?p:f[p],role:g},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4H4.05V2H2.5C1.67157 2 1 2.67157 1 3.5V4.95H3V4ZM6.45 2H9.55V4H6.45V2ZM11.95 2H13.5C14.3284 2 15 2.67157 15 3.5V4.95H13V4H11.95V2ZM15 6.55V9.45H13V6.55H15ZM3 6.55V9.45H1V6.55H3ZM15 11.05V12.5C15 13.3284 14.3284 14 13.5 14H11.95V12H13V11.05H15ZM3 12V11.05H1V12.5C1 13.3284 1.67157 14 2.5 14H4.05V12H3ZM6.45 12H9.55V14H6.45V12Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 8C4.5 7.72386 4.72386 7.5 5 7.5H11C11.2761 7.5 11.5 7.72386 11.5 8C11.5 8.27614 11.2761 8.5 11 8.5H5C4.72386 8.5 4.5 8.27614 4.5 8Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5.5C8.27614 5.5 8.5 5.72386 8.5 6L8.5 10C8.5 10.2761 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.2761 7.5 10L7.5 6C7.5 5.72386 7.72386 5.5 8 5.5Z",fill:"currentColor"}))};d.displayName="View",d.isGlyph=!0;export{d as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function t(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var t=l.call(e,r);if("object"!=typeof t)return t;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:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)({}).hasOwnProperty.call(l,t)&&(e[t]=l[t])}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 n,o,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,d=f.size,s=void 0===d?16:d,v=f.title,p=f["aria-label"],m=f["aria-labelledby"],y=f.fill,H=f.role,V=void 0===H?"img":H,g=function(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;l[t]=e[t]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)l=i[t],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(f,c),h=r(n||(n=i(["\n color: ",";\n "])),y),C=r(o||(o=i(["\n flex-shrink: 0;\n "]))),O=function(e,r,l){var a,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(V,"View",t(t({title:v},"aria-label",p),"aria-labelledby",m));return e.createElement("svg",a({className:l(t({},h,null!=y),C,b),height:"number"==typeof s?s:u[s],width:"number"==typeof s?s:u[s],role:V},O,g,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4H4.05V2H2.5C1.67157 2 1 2.67157 1 3.5V4.95H3V4ZM6.45 2H9.55V4H6.45V2ZM11.95 2H13.5C14.3284 2 15 2.67157 15 3.5V4.95H13V4H11.95V2ZM15 6.55V9.45H13V6.55H15ZM3 6.55V9.45H1V6.55H3ZM15 11.05V12.5C15 13.3284 14.3284 14 13.5 14H11.95V12H13V11.05H15ZM3 12V11.05H1V12.5C1 13.3284 1.67157 14 2.5 14H4.05V12H3ZM6.45 12H9.55V14H6.45V12Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 8C4.5 7.72386 4.72386 7.5 5 7.5H11C11.2761 7.5 11.5 7.72386 11.5 8C11.5 8.27614 11.2761 8.5 11 8.5H5C4.72386 8.5 4.5 8.27614 4.5 8Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5.5C8.27614 5.5 8.5 5.72386 8.5 6L8.5 10C8.5 10.2761 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.2761 7.5 10L7.5 6C7.5 5.72386 7.72386 5.5 8 5.5Z",fill:"currentColor"}))};f.displayName="View",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=View.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"View.js","sources":["../../src/glyphCommon.ts","../../src/generated/View.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.ts\n* @checksum ffd9012572467baea843762edf2513e7\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ViewProps extends LGGlyph.ComponentProps {}\nconst View = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ViewProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'View', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M3 4H4.05V2H2.5C1.67157 2 1 2.67157 1 3.5V4.95H3V4ZM6.45 2H9.55V4H6.45V2ZM11.95 2H13.5C14.3284 2 15 2.67157 15 3.5V4.95H13V4H11.95V2ZM15 6.55V9.45H13V6.55H15ZM3 6.55V9.45H1V6.55H3ZM15 11.05V12.5C15 13.3284 14.3284 14 13.5 14H11.95V12H13V11.05H15ZM3 12V11.05H1V12.5C1 13.3284 1.67157 14 2.5 14H4.05V12H3ZM6.45 12H9.55V14H6.45V12Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4.5 8C4.5 7.72386 4.72386 7.5 5 7.5H11C11.2761 7.5 11.5 7.72386 11.5 8C11.5 8.27614 11.2761 8.5 11 8.5H5C4.72386 8.5 4.5 8.27614 4.5 8Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 5.5C8.27614 5.5 8.5 5.72386 8.5 6L8.5 10C8.5 10.2761 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.2761 7.5 10L7.5 6C7.5 5.72386 7.72386 5.5 8 5.5Z\" fill={'currentColor'} /></svg>;\n};\nView.displayName = 'View';\nView.isGlyph = true;\nexport default View;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","View","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,2UACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,2IACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,mJACH1B,KAAM,iBAEV,EACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
1
+ {"version":3,"file":"View.js","sources":["../../src/glyphCommon.ts","../../src/generated/View.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.ts\n* @checksum ffd9012572467baea843762edf2513e7\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ViewProps extends LGGlyph.ComponentProps {}\nconst View = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ViewProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'View', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M3 4H4.05V2H2.5C1.67157 2 1 2.67157 1 3.5V4.95H3V4ZM6.45 2H9.55V4H6.45V2ZM11.95 2H13.5C14.3284 2 15 2.67157 15 3.5V4.95H13V4H11.95V2ZM15 6.55V9.45H13V6.55H15ZM3 6.55V9.45H1V6.55H3ZM15 11.05V12.5C15 13.3284 14.3284 14 13.5 14H11.95V12H13V11.05H15ZM3 12V11.05H1V12.5C1 13.3284 1.67157 14 2.5 14H4.05V12H3ZM6.45 12H9.55V14H6.45V12Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M4.5 8C4.5 7.72386 4.72386 7.5 5 7.5H11C11.2761 7.5 11.5 7.72386 11.5 8C11.5 8.27614 11.2761 8.5 11 8.5H5C4.72386 8.5 4.5 8.27614 4.5 8Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 5.5C8.27614 5.5 8.5 5.72386 8.5 6L8.5 10C8.5 10.2761 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.2761 7.5 10L7.5 6C7.5 5.72386 7.72386 5.5 8 5.5Z\" fill={'currentColor'} /></svg>;\n};\nView.displayName = 'View';\nView.isGlyph = true;\nexport default View;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","View","_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":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,2UACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,2IACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,mJACH1B,KAAM,iBAEV,EACAR,EAAKmC,YAAc,OACnBnC,EAAKoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,b={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],C=l.fill,g=l.role,O=void 0===g?"img":g,h=n(l,f),j=r(c||(c=o(["\n color: ",";\n "])),C),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Visibility",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=C),w,s),height:"number"==typeof y?y:b[y],width:"number"==typeof y?y:b[y],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z",fill:"currentColor"}))};s.displayName="Visibility",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function t(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var t=l.call(e,r);if("object"!=typeof t)return t;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:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var t in l)({}).hasOwnProperty.call(l,t)&&(e[t]=l[t])}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 n,o,u={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,v=void 0===s?16:s,y=c.title,m=c["aria-label"],p=c["aria-labelledby"],d=c.fill,C=c.role,g=void 0===C?"img":C,O=function(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;l[t]=e[t]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)l=i[t],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(c,f),h=r(n||(n=i(["\n color: ",";\n "])),d),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var a,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(g,"Visibility",t(t({title:y},"aria-label",m),"aria-labelledby",p));return e.createElement("svg",a({className:l(t({},h,null!=d),w,b),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:g},j,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z",fill:"currentColor"}))};c.displayName="Visibility",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Visibility.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 95a23d356f24c425dea2c73603eedaf6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityProps extends LGGlyph.ComponentProps {}\nconst Visibility = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Visibility', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z\" fill={'currentColor'} /></svg>;\n};\nVisibility.displayName = 'Visibility';\nVisibility.isGlyph = true;\nexport default Visibility;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Visibility","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,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,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,48BACH1B,KAAM,iBAEV,EACAR,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU"}
1
+ {"version":3,"file":"Visibility.js","sources":["../../src/glyphCommon.ts","../../src/generated/Visibility.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 95a23d356f24c425dea2c73603eedaf6\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface VisibilityProps extends LGGlyph.ComponentProps {}\nconst Visibility = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: VisibilityProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Visibility', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 2.00781C11.9337 2.00781 14.4728 5.13665 15.4548 6.59114L15.4984 6.65528C15.7132 6.97033 16 7.39096 16 8C16 8.60904 15.7132 9.02967 15.4984 9.34472L15.4548 9.40886C14.4728 10.8633 11.9337 13.9922 8 13.9922C4.06626 13.9922 1.52716 10.8633 0.545173 9.40886L0.501583 9.34472C0.286783 9.02967 0 8.60904 0 8C0 7.39096 0.286785 6.97033 0.501583 6.65529L0.545173 6.59114C1.52716 5.13665 4.06626 2.00781 8 2.00781ZM9.13023 4.13098C8.76962 4.05004 8.39264 4.00521 8.00001 4.00521C5.75051 4.00521 3.92692 5.79374 3.92692 8C3.92692 10.2063 5.75051 11.9948 8.00001 11.9948C7.62198 11.9948 7.24379 11.9497 6.86975 11.869C7.23037 11.95 7.60736 11.9948 8.00001 11.9948C10.2495 11.9948 12.0731 10.2063 12.0731 8C12.0731 5.79374 10.2495 4.00521 8.00001 4.00521C8.37803 4.00521 8.75619 4.05033 9.13023 4.13098ZM8 10.9961C9.68713 10.9961 11.0548 9.6547 11.0548 8C11.0548 6.3453 9.68713 5.00391 8 5.00391C6.31287 5.00391 4.94519 6.3453 4.94519 8C4.94519 9.6547 6.31287 10.9961 8 10.9961Z\" fill={'currentColor'} /></svg>;\n};\nVisibility.displayName = 'Visibility';\nVisibility.isGlyph = true;\nexport default Visibility;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Visibility","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,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,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,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,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,48BACH1B,KAAM,iBAEV,EACAR,EAAWmC,YAAc,aACzBnC,EAAWoC,SAAU"}