@leafygreen-ui/icon 14.0.0 → 14.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1101) hide show
  1. package/CHANGELOG.md +12 -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/index.js +2 -0
  722. package/dist/index.js.map +1 -0
  723. package/dist/types/Icon.d.ts +3 -0
  724. package/dist/types/Icon.d.ts.map +1 -1
  725. package/dist/types/generated/Shield.d.ts +17 -0
  726. package/dist/types/generated/Shield.d.ts.map +1 -0
  727. package/dist/types/glyphs/index.d.ts +5 -1
  728. package/dist/types/glyphs/index.d.ts.map +1 -1
  729. package/dist/umd/ActivityFeed.js +1 -1
  730. package/dist/umd/ActivityFeed.js.map +1 -1
  731. package/dist/umd/AddFile.js +1 -1
  732. package/dist/umd/AddFile.js.map +1 -1
  733. package/dist/umd/AllProducts.js +1 -1
  734. package/dist/umd/AllProducts.js.map +1 -1
  735. package/dist/umd/AnalyticsNode.js +1 -1
  736. package/dist/umd/AnalyticsNode.js.map +1 -1
  737. package/dist/umd/Apps.js +1 -1
  738. package/dist/umd/Apps.js.map +1 -1
  739. package/dist/umd/Array.js +1 -1
  740. package/dist/umd/Array.js.map +1 -1
  741. package/dist/umd/ArrowDown.js +1 -1
  742. package/dist/umd/ArrowDown.js.map +1 -1
  743. package/dist/umd/ArrowLeft.js +1 -1
  744. package/dist/umd/ArrowLeft.js.map +1 -1
  745. package/dist/umd/ArrowRight.js +1 -1
  746. package/dist/umd/ArrowRight.js.map +1 -1
  747. package/dist/umd/ArrowUp.js +1 -1
  748. package/dist/umd/ArrowUp.js.map +1 -1
  749. package/dist/umd/Beaker.js +1 -1
  750. package/dist/umd/Beaker.js.map +1 -1
  751. package/dist/umd/Bell.js +1 -1
  752. package/dist/umd/Bell.js.map +1 -1
  753. package/dist/umd/Biometric.js +1 -1
  754. package/dist/umd/Biometric.js.map +1 -1
  755. package/dist/umd/Boolean.js +1 -1
  756. package/dist/umd/Boolean.js.map +1 -1
  757. package/dist/umd/Building.js +1 -1
  758. package/dist/umd/Building.js.map +1 -1
  759. package/dist/umd/Bulb.js +1 -1
  760. package/dist/umd/Bulb.js.map +1 -1
  761. package/dist/umd/Calendar.js +1 -1
  762. package/dist/umd/Calendar.js.map +1 -1
  763. package/dist/umd/Camera.js +1 -1
  764. package/dist/umd/Camera.js.map +1 -1
  765. package/dist/umd/Cap.js +1 -1
  766. package/dist/umd/Cap.js.map +1 -1
  767. package/dist/umd/CaretDown.js +1 -1
  768. package/dist/umd/CaretDown.js.map +1 -1
  769. package/dist/umd/CaretLeft.js +1 -1
  770. package/dist/umd/CaretLeft.js.map +1 -1
  771. package/dist/umd/CaretRight.js +1 -1
  772. package/dist/umd/CaretRight.js.map +1 -1
  773. package/dist/umd/CaretUp.js +1 -1
  774. package/dist/umd/CaretUp.js.map +1 -1
  775. package/dist/umd/ChartFilled.js +1 -1
  776. package/dist/umd/ChartFilled.js.map +1 -1
  777. package/dist/umd/Charts.js +1 -1
  778. package/dist/umd/Charts.js.map +1 -1
  779. package/dist/umd/Checkmark.js +1 -1
  780. package/dist/umd/Checkmark.js.map +1 -1
  781. package/dist/umd/CheckmarkWithCircle.js +1 -1
  782. package/dist/umd/CheckmarkWithCircle.js.map +1 -1
  783. package/dist/umd/ChevronDown.js +1 -1
  784. package/dist/umd/ChevronDown.js.map +1 -1
  785. package/dist/umd/ChevronLeft.js +1 -1
  786. package/dist/umd/ChevronLeft.js.map +1 -1
  787. package/dist/umd/ChevronRight.js +1 -1
  788. package/dist/umd/ChevronRight.js.map +1 -1
  789. package/dist/umd/ChevronUp.js +1 -1
  790. package/dist/umd/ChevronUp.js.map +1 -1
  791. package/dist/umd/Circle.js +1 -1
  792. package/dist/umd/Circle.js.map +1 -1
  793. package/dist/umd/Clock.js +1 -1
  794. package/dist/umd/Clock.js.map +1 -1
  795. package/dist/umd/ClockWithArrow.js +1 -1
  796. package/dist/umd/ClockWithArrow.js.map +1 -1
  797. package/dist/umd/Clone.js +1 -1
  798. package/dist/umd/Clone.js.map +1 -1
  799. package/dist/umd/Cloud.js +1 -1
  800. package/dist/umd/Cloud.js.map +1 -1
  801. package/dist/umd/Code.js +1 -1
  802. package/dist/umd/Code.js.map +1 -1
  803. package/dist/umd/CodeBlock.js +1 -1
  804. package/dist/umd/CodeBlock.js.map +1 -1
  805. package/dist/umd/Coin.js +1 -1
  806. package/dist/umd/Coin.js.map +1 -1
  807. package/dist/umd/Colon.js +1 -1
  808. package/dist/umd/Colon.js.map +1 -1
  809. package/dist/umd/Config.js +1 -1
  810. package/dist/umd/Config.js.map +1 -1
  811. package/dist/umd/Connect.js +1 -1
  812. package/dist/umd/Connect.js.map +1 -1
  813. package/dist/umd/Copy.js +1 -1
  814. package/dist/umd/Copy.js.map +1 -1
  815. package/dist/umd/CreditCard.js +1 -1
  816. package/dist/umd/CreditCard.js.map +1 -1
  817. package/dist/umd/CurlyBraces.js +1 -1
  818. package/dist/umd/CurlyBraces.js.map +1 -1
  819. package/dist/umd/Cursor.js +1 -1
  820. package/dist/umd/Cursor.js.map +1 -1
  821. package/dist/umd/Dashboard.js +1 -1
  822. package/dist/umd/Dashboard.js.map +1 -1
  823. package/dist/umd/Database.js +1 -1
  824. package/dist/umd/Database.js.map +1 -1
  825. package/dist/umd/Diagram.js +1 -1
  826. package/dist/umd/Diagram.js.map +1 -1
  827. package/dist/umd/Diagram2.js +1 -1
  828. package/dist/umd/Diagram2.js.map +1 -1
  829. package/dist/umd/Diagram3.js +1 -1
  830. package/dist/umd/Diagram3.js.map +1 -1
  831. package/dist/umd/Disconnect.js +1 -1
  832. package/dist/umd/Disconnect.js.map +1 -1
  833. package/dist/umd/Download.js +1 -1
  834. package/dist/umd/Download.js.map +1 -1
  835. package/dist/umd/Drag.js +1 -1
  836. package/dist/umd/Drag.js.map +1 -1
  837. package/dist/umd/Edit.js +1 -1
  838. package/dist/umd/Edit.js.map +1 -1
  839. package/dist/umd/Ellipsis.js +1 -1
  840. package/dist/umd/Ellipsis.js.map +1 -1
  841. package/dist/umd/Email.js +1 -1
  842. package/dist/umd/Email.js.map +1 -1
  843. package/dist/umd/EmptyDatabase.js +1 -1
  844. package/dist/umd/EmptyDatabase.js.map +1 -1
  845. package/dist/umd/EmptyFolder.js +1 -1
  846. package/dist/umd/EmptyFolder.js.map +1 -1
  847. package/dist/umd/Eraser.js +1 -1
  848. package/dist/umd/Eraser.js.map +1 -1
  849. package/dist/umd/Escalation.js +1 -1
  850. package/dist/umd/Escalation.js.map +1 -1
  851. package/dist/umd/Export.js +1 -1
  852. package/dist/umd/Export.js.map +1 -1
  853. package/dist/umd/Favorite.js +1 -1
  854. package/dist/umd/Favorite.js.map +1 -1
  855. package/dist/umd/Federation.js +1 -1
  856. package/dist/umd/Federation.js.map +1 -1
  857. package/dist/umd/File.js +1 -1
  858. package/dist/umd/File.js.map +1 -1
  859. package/dist/umd/Filter.js +1 -1
  860. package/dist/umd/Filter.js.map +1 -1
  861. package/dist/umd/Folder.js +1 -1
  862. package/dist/umd/Folder.js.map +1 -1
  863. package/dist/umd/Format.js +1 -1
  864. package/dist/umd/Format.js.map +1 -1
  865. package/dist/umd/FullScreenEnter.js +1 -1
  866. package/dist/umd/FullScreenEnter.js.map +1 -1
  867. package/dist/umd/FullScreenExit.js +1 -1
  868. package/dist/umd/FullScreenExit.js.map +1 -1
  869. package/dist/umd/Function.js +1 -1
  870. package/dist/umd/Function.js.map +1 -1
  871. package/dist/umd/Gauge.js +1 -1
  872. package/dist/umd/Gauge.js.map +1 -1
  873. package/dist/umd/GlobeAmericas.js +1 -1
  874. package/dist/umd/GlobeAmericas.js.map +1 -1
  875. package/dist/umd/GovernmentBuilding.js +1 -1
  876. package/dist/umd/GovernmentBuilding.js.map +1 -1
  877. package/dist/umd/Guide.js +1 -1
  878. package/dist/umd/Guide.js.map +1 -1
  879. package/dist/umd/Hash.js +1 -1
  880. package/dist/umd/Hash.js.map +1 -1
  881. package/dist/umd/HiddenSecondaryNode.js +1 -1
  882. package/dist/umd/HiddenSecondaryNode.js.map +1 -1
  883. package/dist/umd/Highlight.js +1 -1
  884. package/dist/umd/Highlight.js.map +1 -1
  885. package/dist/umd/Home.js +1 -1
  886. package/dist/umd/Home.js.map +1 -1
  887. package/dist/umd/HorizontalDrag.js +1 -1
  888. package/dist/umd/HorizontalDrag.js.map +1 -1
  889. package/dist/umd/Import.js +1 -1
  890. package/dist/umd/Import.js.map +1 -1
  891. package/dist/umd/ImportantWithCircle.js +1 -1
  892. package/dist/umd/ImportantWithCircle.js.map +1 -1
  893. package/dist/umd/InfoWithCircle.js +1 -1
  894. package/dist/umd/InfoWithCircle.js.map +1 -1
  895. package/dist/umd/InternalEmployee.js +1 -1
  896. package/dist/umd/InternalEmployee.js.map +1 -1
  897. package/dist/umd/InviteUser.js +1 -1
  898. package/dist/umd/InviteUser.js.map +1 -1
  899. package/dist/umd/Key.js +1 -1
  900. package/dist/umd/Key.js.map +1 -1
  901. package/dist/umd/Laptop.js +1 -1
  902. package/dist/umd/Laptop.js.map +1 -1
  903. package/dist/umd/LightningBolt.js +1 -1
  904. package/dist/umd/LightningBolt.js.map +1 -1
  905. package/dist/umd/Link.js +1 -1
  906. package/dist/umd/Link.js.map +1 -1
  907. package/dist/umd/List.js +1 -1
  908. package/dist/umd/List.js.map +1 -1
  909. package/dist/umd/Lock.js +1 -1
  910. package/dist/umd/Lock.js.map +1 -1
  911. package/dist/umd/LogIn.js +1 -1
  912. package/dist/umd/LogIn.js.map +1 -1
  913. package/dist/umd/LogOut.js +1 -1
  914. package/dist/umd/LogOut.js.map +1 -1
  915. package/dist/umd/MagnifyingGlass.js +1 -1
  916. package/dist/umd/MagnifyingGlass.js.map +1 -1
  917. package/dist/umd/Megaphone.js +1 -1
  918. package/dist/umd/Megaphone.js.map +1 -1
  919. package/dist/umd/Menu.js +1 -1
  920. package/dist/umd/Menu.js.map +1 -1
  921. package/dist/umd/Minus.js +1 -1
  922. package/dist/umd/Minus.js.map +1 -1
  923. package/dist/umd/Mobile.js +1 -1
  924. package/dist/umd/Mobile.js.map +1 -1
  925. package/dist/umd/Moon.js +1 -1
  926. package/dist/umd/Moon.js.map +1 -1
  927. package/dist/umd/MultiDirectionArrow.js +1 -1
  928. package/dist/umd/MultiDirectionArrow.js.map +1 -1
  929. package/dist/umd/MultiLayers.js +1 -1
  930. package/dist/umd/MultiLayers.js.map +1 -1
  931. package/dist/umd/NavCollapse.js +1 -1
  932. package/dist/umd/NavCollapse.js.map +1 -1
  933. package/dist/umd/NavExpand.js +1 -1
  934. package/dist/umd/NavExpand.js.map +1 -1
  935. package/dist/umd/NoFilter.js +1 -1
  936. package/dist/umd/NoFilter.js.map +1 -1
  937. package/dist/umd/NotAllowed.js +1 -1
  938. package/dist/umd/NotAllowed.js.map +1 -1
  939. package/dist/umd/Note.js +1 -1
  940. package/dist/umd/Note.js.map +1 -1
  941. package/dist/umd/NumberedList.js +1 -1
  942. package/dist/umd/NumberedList.js.map +1 -1
  943. package/dist/umd/OpenNewTab.js +1 -1
  944. package/dist/umd/OpenNewTab.js.map +1 -1
  945. package/dist/umd/OutlineFavorite.js +1 -1
  946. package/dist/umd/OutlineFavorite.js.map +1 -1
  947. package/dist/umd/Package.js +1 -1
  948. package/dist/umd/Package.js.map +1 -1
  949. package/dist/umd/Pause.js +1 -1
  950. package/dist/umd/Pause.js.map +1 -1
  951. package/dist/umd/Pending.js +1 -1
  952. package/dist/umd/Pending.js.map +1 -1
  953. package/dist/umd/Person.js +1 -1
  954. package/dist/umd/Person.js.map +1 -1
  955. package/dist/umd/PersonGroup.js +1 -1
  956. package/dist/umd/PersonGroup.js.map +1 -1
  957. package/dist/umd/PersonWithLock.js +1 -1
  958. package/dist/umd/PersonWithLock.js.map +1 -1
  959. package/dist/umd/Pin.js +1 -1
  960. package/dist/umd/Pin.js.map +1 -1
  961. package/dist/umd/Play.js +1 -1
  962. package/dist/umd/Play.js.map +1 -1
  963. package/dist/umd/Plus.js +1 -1
  964. package/dist/umd/Plus.js.map +1 -1
  965. package/dist/umd/PlusWithCircle.js +1 -1
  966. package/dist/umd/PlusWithCircle.js.map +1 -1
  967. package/dist/umd/Primary.js +1 -1
  968. package/dist/umd/Primary.js.map +1 -1
  969. package/dist/umd/Project.js +1 -1
  970. package/dist/umd/Project.js.map +1 -1
  971. package/dist/umd/QuestionMarkWithCircle.js +1 -1
  972. package/dist/umd/QuestionMarkWithCircle.js.map +1 -1
  973. package/dist/umd/Read.js +1 -1
  974. package/dist/umd/Read.js.map +1 -1
  975. package/dist/umd/Recommended.js +1 -1
  976. package/dist/umd/Recommended.js.map +1 -1
  977. package/dist/umd/Redo.js +1 -1
  978. package/dist/umd/Redo.js.map +1 -1
  979. package/dist/umd/Refresh.js +1 -1
  980. package/dist/umd/Refresh.js.map +1 -1
  981. package/dist/umd/Relationship.js +1 -1
  982. package/dist/umd/Relationship.js.map +1 -1
  983. package/dist/umd/ReplicaSet.js +1 -1
  984. package/dist/umd/ReplicaSet.js.map +1 -1
  985. package/dist/umd/Resize.js +1 -1
  986. package/dist/umd/Resize.js.map +1 -1
  987. package/dist/umd/Resource.js +1 -1
  988. package/dist/umd/Resource.js.map +1 -1
  989. package/dist/umd/Return.js +1 -1
  990. package/dist/umd/Return.js.map +1 -1
  991. package/dist/umd/Revert.js +1 -1
  992. package/dist/umd/Revert.js.map +1 -1
  993. package/dist/umd/Router.js +1 -1
  994. package/dist/umd/Router.js.map +1 -1
  995. package/dist/umd/SMS.js +1 -1
  996. package/dist/umd/SMS.js.map +1 -1
  997. package/dist/umd/Save.js +1 -1
  998. package/dist/umd/Save.js.map +1 -1
  999. package/dist/umd/SearchIndex.js +1 -1
  1000. package/dist/umd/SearchIndex.js.map +1 -1
  1001. package/dist/umd/Secondary.js +1 -1
  1002. package/dist/umd/Secondary.js.map +1 -1
  1003. package/dist/umd/Serverless.js +1 -1
  1004. package/dist/umd/Serverless.js.map +1 -1
  1005. package/dist/umd/Settings.js +1 -1
  1006. package/dist/umd/Settings.js.map +1 -1
  1007. package/dist/umd/ShardedCluster.js +1 -1
  1008. package/dist/umd/ShardedCluster.js.map +1 -1
  1009. package/dist/umd/Shell.js +1 -1
  1010. package/dist/umd/Shell.js.map +1 -1
  1011. package/dist/umd/Shield.js +2 -0
  1012. package/dist/umd/Shield.js.map +1 -0
  1013. package/dist/umd/Shirt.js +1 -1
  1014. package/dist/umd/Shirt.js.map +1 -1
  1015. package/dist/umd/SortAscending.js +1 -1
  1016. package/dist/umd/SortAscending.js.map +1 -1
  1017. package/dist/umd/SortDescending.js +1 -1
  1018. package/dist/umd/SortDescending.js.map +1 -1
  1019. package/dist/umd/Sparkle.js +1 -1
  1020. package/dist/umd/Sparkle.js.map +1 -1
  1021. package/dist/umd/SplitHorizontal.js +1 -1
  1022. package/dist/umd/SplitHorizontal.js.map +1 -1
  1023. package/dist/umd/SplitVertical.js +1 -1
  1024. package/dist/umd/SplitVertical.js.map +1 -1
  1025. package/dist/umd/Stitch.js +1 -1
  1026. package/dist/umd/Stitch.js.map +1 -1
  1027. package/dist/umd/Stop.js +1 -1
  1028. package/dist/umd/Stop.js.map +1 -1
  1029. package/dist/umd/Streaming.js +1 -1
  1030. package/dist/umd/Streaming.js.map +1 -1
  1031. package/dist/umd/String.js +1 -1
  1032. package/dist/umd/String.js.map +1 -1
  1033. package/dist/umd/Sun.js +1 -1
  1034. package/dist/umd/Sun.js.map +1 -1
  1035. package/dist/umd/Support.js +1 -1
  1036. package/dist/umd/Support.js.map +1 -1
  1037. package/dist/umd/Sweep.js +1 -1
  1038. package/dist/umd/Sweep.js.map +1 -1
  1039. package/dist/umd/Table.js +1 -1
  1040. package/dist/umd/Table.js.map +1 -1
  1041. package/dist/umd/Tag.js +1 -1
  1042. package/dist/umd/Tag.js.map +1 -1
  1043. package/dist/umd/TemporaryTable.js +1 -1
  1044. package/dist/umd/TemporaryTable.js.map +1 -1
  1045. package/dist/umd/ThumbsDown.js +1 -1
  1046. package/dist/umd/ThumbsDown.js.map +1 -1
  1047. package/dist/umd/ThumbsUp.js +1 -1
  1048. package/dist/umd/ThumbsUp.js.map +1 -1
  1049. package/dist/umd/TimeSeries.js +1 -1
  1050. package/dist/umd/TimeSeries.js.map +1 -1
  1051. package/dist/umd/TimeSeriesCollection.js +1 -1
  1052. package/dist/umd/TimeSeriesCollection.js.map +1 -1
  1053. package/dist/umd/Trash.js +1 -1
  1054. package/dist/umd/Trash.js.map +1 -1
  1055. package/dist/umd/Undo.js +1 -1
  1056. package/dist/umd/Undo.js.map +1 -1
  1057. package/dist/umd/University.js +1 -1
  1058. package/dist/umd/University.js.map +1 -1
  1059. package/dist/umd/Unlock.js +1 -1
  1060. package/dist/umd/Unlock.js.map +1 -1
  1061. package/dist/umd/Unsorted.js +1 -1
  1062. package/dist/umd/Unsorted.js.map +1 -1
  1063. package/dist/umd/UpDownCarets.js +1 -1
  1064. package/dist/umd/UpDownCarets.js.map +1 -1
  1065. package/dist/umd/Upload.js +1 -1
  1066. package/dist/umd/Upload.js.map +1 -1
  1067. package/dist/umd/VerticalEllipsis.js +1 -1
  1068. package/dist/umd/VerticalEllipsis.js.map +1 -1
  1069. package/dist/umd/View.js +1 -1
  1070. package/dist/umd/View.js.map +1 -1
  1071. package/dist/umd/Visibility.js +1 -1
  1072. package/dist/umd/Visibility.js.map +1 -1
  1073. package/dist/umd/VisibilityOff.js +1 -1
  1074. package/dist/umd/VisibilityOff.js.map +1 -1
  1075. package/dist/umd/Warning.js +1 -1
  1076. package/dist/umd/Warning.js.map +1 -1
  1077. package/dist/umd/Wizard.js +1 -1
  1078. package/dist/umd/Wizard.js.map +1 -1
  1079. package/dist/umd/Wrench.js +1 -1
  1080. package/dist/umd/Wrench.js.map +1 -1
  1081. package/dist/umd/Write.js +1 -1
  1082. package/dist/umd/Write.js.map +1 -1
  1083. package/dist/umd/X.js +1 -1
  1084. package/dist/umd/X.js.map +1 -1
  1085. package/dist/umd/XWithCircle.js +1 -1
  1086. package/dist/umd/XWithCircle.js.map +1 -1
  1087. package/dist/umd/index.js +1 -1
  1088. package/dist/umd/index.js.map +1 -1
  1089. package/package.json +7 -3
  1090. package/rollup.batch.config.mjs +19 -0
  1091. package/rollup.config.mjs +1 -46
  1092. package/scripts/build-parallel.ts +110 -0
  1093. package/scripts/postbuild.ts +26 -0
  1094. package/src/Icon.stories.tsx +1 -1
  1095. package/src/Icon.tsx +3 -0
  1096. package/src/generated/Shield.tsx +39 -0
  1097. package/src/glyphs/Shield.svg +4 -0
  1098. package/src/glyphs/index.ts +2 -0
  1099. package/stories.js +1 -1
  1100. package/tsdoc.json +1 -1
  1101. package/turbo.json +13 -0
@@ -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,m=void 0===p?16:p,y=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,h=a.role,C=void 0===h?"img":h,O=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:""}}}(C,"Charts",l(l({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},j,null!=g),w,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:C},P,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z",fill:"currentColor"}),e.createElement("path",{d:"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z",fill:"currentColor"}),e.createElement("path",{d:"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z",fill:"currentColor"}))};s.displayName="Charts",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 a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var 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+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}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,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,v=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,h=void 0===g?"img":g,C=function(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==r.indexOf(a))continue;t[a]=e[a]}return t}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(f,u),O=r(n||(n=i(["\n color: ",";\n "])),d),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=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,"Charts",a(a({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",l({className:t(a({},O,null!=d),w,b),height:"number"==typeof m?m:c[m],width:"number"==typeof m?m:c[m],role:h},j,C,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z",fill:"currentColor"}),e.createElement("path",{d:"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z",fill:"currentColor"}),e.createElement("path",{d:"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z",fill:"currentColor"}))};f.displayName="Charts",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Charts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Charts.js","sources":["../../src/glyphCommon.ts","../../src/generated/Charts.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 63d55e91baf587a5d5b00ce1e2d6c3bd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartsProps extends LGGlyph.ComponentProps {}\nconst Charts = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Charts', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z\" fill={'currentColor'} /><path d=\"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z\" fill={'currentColor'} /><path d=\"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z\" fill={'currentColor'} /></svg>;\n};\nCharts.displayName = 'Charts';\nCharts.isGlyph = true;\nexport default Charts;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Charts","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"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,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBAEV,EACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
1
+ {"version":3,"file":"Charts.js","sources":["../../src/glyphCommon.ts","../../src/generated/Charts.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 63d55e91baf587a5d5b00ce1e2d6c3bd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChartsProps extends LGGlyph.ComponentProps {}\nconst Charts = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChartsProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Charts', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M11.5 13C11.5 13.5523 11.9477 14 12.5 14H13.5C14.0523 14 14.5 13.5523 14.5 13V3C14.5 2.44772 14.0523 2 13.5 2H12.5C11.9477 2 11.5 2.44772 11.5 3L11.5 13Z\" fill={'currentColor'} /><path d=\"M7.5 14C6.94772 14 6.5 13.5523 6.5 13L6.5 6C6.5 5.44772 6.94771 5 7.5 5H8.5C9.05228 5 9.5 5.44772 9.5 6V13C9.5 13.5523 9.05229 14 8.5 14H7.5Z\" fill={'currentColor'} /><path d=\"M2.5 14C1.94772 14 1.5 13.5523 1.5 13V9C1.5 8.44772 1.94772 8 2.5 8H3.5C4.05229 8 4.5 8.44772 4.5 9L4.5 13C4.5 13.5523 4.05229 14 3.5 14H2.5Z\" fill={'currentColor'} /></svg>;\n};\nCharts.displayName = 'Charts';\nCharts.isGlyph = true;\nexport default Charts;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Charts","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"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,EAAG,4JACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,gJACHxB,KAAM,iBAEV,EACAR,EAAOiC,YAAc,SACrBjC,EAAOkC,SAAU"}
@@ -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,m=void 0===p?16:p,y=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,h=a.role,O=void 0===h?"img":h,j=n(a,b),w=r(c||(c=o(["\n color: ",";\n "])),g),C=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,"Checkmark",l(l({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},w,null!=g),C,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:O},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z",fill:"currentColor"}))};s.displayName="Checkmark",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 l(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 l=a.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:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}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,m=void 0===s?16:s,v=f.title,p=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,h=void 0===g?"img":g,O=function(e,r){if(null==e)return{};var a,l,t=function(e,r){if(null==e)return{};var a={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;a[l]=e[l]}return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)a=i[l],-1===r.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}(f,c),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),C=function(e,r,a){var t,i=a["aria-label"],n=a["aria-labelledby"],o=a.title;switch(e){case"img":return i||n||o?l(l(l({},"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:""}}}(h,"Checkmark",l(l({title:v},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",t({className:a(l({},w,null!=d),j,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:h},C,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z",fill:"currentColor"}))};f.displayName="Checkmark",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Checkmark.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkmark.js","sources":["../../src/glyphCommon.ts","../../src/generated/Checkmark.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum e1d35d3f66657c64574d18da49fe6e03\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkProps extends LGGlyph.ComponentProps {}\nconst Checkmark = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Checkmark', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z\" fill={'currentColor'} /></svg>;\n};\nCheckmark.displayName = 'Checkmark';\nCheckmark.isGlyph = true;\nexport default Checkmark;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Checkmark","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,YAAaU,EAAgBA,EAAgB,CAC/Ff,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,+VACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"Checkmark.js","sources":["../../src/glyphCommon.ts","../../src/generated/Checkmark.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum e1d35d3f66657c64574d18da49fe6e03\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkProps extends LGGlyph.ComponentProps {}\nconst Checkmark = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Checkmark', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.30583 9.05037L11.7611 3.59509C12.1516 3.20457 12.7848 3.20457 13.1753 3.59509L13.8824 4.3022C14.273 4.69273 14.273 5.32589 13.8824 5.71642L6.81525 12.7836C6.38819 13.2106 5.68292 13.1646 5.31505 12.6856L2.26638 8.71605C1.92998 8.27804 2.01235 7.65025 2.45036 7.31385L3.04518 6.85702C3.59269 6.43652 4.37742 6.53949 4.79792 7.087L6.30583 9.05037Z\" fill={'currentColor'} /></svg>;\n};\nCheckmark.displayName = 'Checkmark';\nCheckmark.isGlyph = true;\nexport default Checkmark;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Checkmark","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,YAAaU,EAAgBA,EAAgB,CAC/Ff,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,+VACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,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,m=void 0===p?16:p,y=l.title,v=l["aria-label"],d=l["aria-labelledby"],g=l.fill,h=l.role,O=void 0===h?"img":h,C=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,"CheckmarkWithCircle",a(a({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:O},P,C,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.4485 4.89583C10.8275 4.45816 11.4983 4.43411 11.9077 4.84352C12.2777 5.21345 12.2989 5.80633 11.9564 6.2018L7.38365 11.4818C7.31367 11.5739 7.22644 11.6552 7.12309 11.7208C6.65669 12.0166 6.03882 11.8783 5.74302 11.4119L3.9245 8.54448C3.6287 8.07809 3.767 7.46021 4.2334 7.16442C4.69979 6.86863 5.31767 7.00693 5.61346 7.47332L6.71374 9.20819L10.4485 4.89583Z",fill:"currentColor"}))};s.displayName="CheckmarkWithCircle",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,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,v=f.title,p=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,h=void 0===g?"img":g,C=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,u),O=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:""}}}(h,"CheckmarkWithCircle",a(a({title:v},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",t({className:l(a({},O,null!=d),w,b),height:"number"==typeof m?m:c[m],width:"number"==typeof m?m:c[m],role:h},j,C,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.4485 4.89583C10.8275 4.45816 11.4983 4.43411 11.9077 4.84352C12.2777 5.21345 12.2989 5.80633 11.9564 6.2018L7.38365 11.4818C7.31367 11.5739 7.22644 11.6552 7.12309 11.7208C6.65669 12.0166 6.03882 11.8783 5.74302 11.4119L3.9245 8.54448C3.6287 8.07809 3.767 7.46021 4.2334 7.16442C4.69979 6.86863 5.31767 7.00693 5.61346 7.47332L6.71374 9.20819L10.4485 4.89583Z",fill:"currentColor"}))};f.displayName="CheckmarkWithCircle",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=CheckmarkWithCircle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckmarkWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/CheckmarkWithCircle.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 7adafe4316e94976a570c344855c6afd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkWithCircleProps extends LGGlyph.ComponentProps {}\nconst CheckmarkWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CheckmarkWithCircle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.4485 4.89583C10.8275 4.45816 11.4983 4.43411 11.9077 4.84352C12.2777 5.21345 12.2989 5.80633 11.9564 6.2018L7.38365 11.4818C7.31367 11.5739 7.22644 11.6552 7.12309 11.7208C6.65669 12.0166 6.03882 11.8783 5.74302 11.4119L3.9245 8.54448C3.6287 8.07809 3.767 7.46021 4.2334 7.16442C4.69979 6.86863 5.31767 7.00693 5.61346 7.47332L6.71374 9.20819L10.4485 4.89583Z\" fill={'currentColor'} /></svg>;\n};\nCheckmarkWithCircle.displayName = 'CheckmarkWithCircle';\nCheckmarkWithCircle.isGlyph = true;\nexport default CheckmarkWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CheckmarkWithCircle","_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,EAAsB,SAA6BC,GACrD,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,sdACH1B,KAAM,iBAEV,EACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,SAAU"}
1
+ {"version":3,"file":"CheckmarkWithCircle.js","sources":["../../src/glyphCommon.ts","../../src/generated/CheckmarkWithCircle.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 7adafe4316e94976a570c344855c6afd\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CheckmarkWithCircleProps extends LGGlyph.ComponentProps {}\nconst CheckmarkWithCircle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CheckmarkWithCircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'CheckmarkWithCircle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.4485 4.89583C10.8275 4.45816 11.4983 4.43411 11.9077 4.84352C12.2777 5.21345 12.2989 5.80633 11.9564 6.2018L7.38365 11.4818C7.31367 11.5739 7.22644 11.6552 7.12309 11.7208C6.65669 12.0166 6.03882 11.8783 5.74302 11.4119L3.9245 8.54448C3.6287 8.07809 3.767 7.46021 4.2334 7.16442C4.69979 6.86863 5.31767 7.00693 5.61346 7.47332L6.71374 9.20819L10.4485 4.89583Z\" fill={'currentColor'} /></svg>;\n};\nCheckmarkWithCircle.displayName = 'CheckmarkWithCircle';\nCheckmarkWithCircle.isGlyph = true;\nexport default CheckmarkWithCircle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","CheckmarkWithCircle","_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,EAAsB,SAA6BC,GACrD,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,sBAAuBU,EAAgBA,EAAgB,CACzGf,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,sdACH1B,KAAM,iBAEV,EACAR,EAAoBmC,YAAc,sBAClCnC,EAAoBoC,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,v=void 0===p?16:p,y=l.title,m=l["aria-label"],d=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(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:""}}}(O,"ChevronDown",a(a({title:y},"aria-label",m),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),C,s),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:O},L,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.63604 5.36396C1.24551 5.75449 1.24551 6.38765 1.63604 6.77817L6.58579 11.7279L7.29289 12.435C7.68342 12.8256 8.31658 12.8256 8.70711 12.435L9.41421 11.7279L14.364 6.77817C14.7545 6.38765 14.7545 5.75449 14.364 5.36396L13.6569 4.65685C13.2663 4.26633 12.6332 4.26633 12.2426 4.65685L8 8.89949L3.75736 4.65685C3.36684 4.26633 2.73367 4.26633 2.34315 4.65685L1.63604 5.36396Z",fill:"currentColor"}))};s.displayName="ChevronDown",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 n(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var i,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,m=c.title,p=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,h=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 n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}(c,f),w=r(i||(i=n(["\n color: ",";\n "])),d),j=r(o||(o=n(["\n flex-shrink: 0;\n "]))),C=function(e,r,l){var t,n=l["aria-label"],i=l["aria-labelledby"],o=l.title;switch(e){case"img":return n||i||o?a(a(a({},"aria-labelledby",i),"aria-label",n),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"ChevronDown",a(a({title:m},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",t({className:l(a({},w,null!=d),j,b),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:h},C,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.63604 5.36396C1.24551 5.75449 1.24551 6.38765 1.63604 6.77817L6.58579 11.7279L7.29289 12.435C7.68342 12.8256 8.31658 12.8256 8.70711 12.435L9.41421 11.7279L14.364 6.77817C14.7545 6.38765 14.7545 5.75449 14.364 5.36396L13.6569 4.65685C13.2663 4.26633 12.6332 4.26633 12.2426 4.65685L8 8.89949L3.75736 4.65685C3.36684 4.26633 2.73367 4.26633 2.34315 4.65685L1.63604 5.36396Z",fill:"currentColor"}))};c.displayName="ChevronDown",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=ChevronDown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronDown.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronDown.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 a6bb47912b521b644c2e89659bebb25d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronDownProps extends LGGlyph.ComponentProps {}\nconst ChevronDown = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronDownProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronDown', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M1.63604 5.36396C1.24551 5.75449 1.24551 6.38765 1.63604 6.77817L6.58579 11.7279L7.29289 12.435C7.68342 12.8256 8.31658 12.8256 8.70711 12.435L9.41421 11.7279L14.364 6.77817C14.7545 6.38765 14.7545 5.75449 14.364 5.36396L13.6569 4.65685C13.2663 4.26633 12.6332 4.26633 12.2426 4.65685L8 8.89949L3.75736 4.65685C3.36684 4.26633 2.73367 4.26633 2.34315 4.65685L1.63604 5.36396Z\" fill={'currentColor'} /></svg>;\n};\nChevronDown.displayName = 'ChevronDown';\nChevronDown.isGlyph = true;\nexport default ChevronDown;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronDown","_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,EAAc,SAAqBC,GACrC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,cAAeU,EAAgBA,EAAgB,CACjGf,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,0XACH1B,KAAM,iBAEV,EACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
1
+ {"version":3,"file":"ChevronDown.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronDown.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 a6bb47912b521b644c2e89659bebb25d\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronDownProps extends LGGlyph.ComponentProps {}\nconst ChevronDown = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronDownProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronDown', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M1.63604 5.36396C1.24551 5.75449 1.24551 6.38765 1.63604 6.77817L6.58579 11.7279L7.29289 12.435C7.68342 12.8256 8.31658 12.8256 8.70711 12.435L9.41421 11.7279L14.364 6.77817C14.7545 6.38765 14.7545 5.75449 14.364 5.36396L13.6569 4.65685C13.2663 4.26633 12.6332 4.26633 12.2426 4.65685L8 8.89949L3.75736 4.65685C3.36684 4.26633 2.73367 4.26633 2.34315 4.65685L1.63604 5.36396Z\" fill={'currentColor'} /></svg>;\n};\nChevronDown.displayName = 'ChevronDown';\nChevronDown.isGlyph = true;\nexport default ChevronDown;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronDown","_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,EAAc,SAAqBC,GACrC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,cAAeU,EAAgBA,EAAgB,CACjGf,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,0XACH1B,KAAM,iBAEV,EACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,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,v=void 0===p?16:p,y=l.title,m=l["aria-label"],d=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),L=r(f||(f=o(["\n flex-shrink: 0;\n "]))),C=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,"ChevronLeft",a(a({title:y},"aria-label",m),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),L,s),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:O},C,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z",fill:"currentColor"}))};s.displayName="ChevronLeft",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,f={small:14,default:16,large:20,xlarge:24};var u=["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,m=c.title,p=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,h=void 0===g?"img":g,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,u),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),L=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:""}}}(h,"ChevronLeft",t(t({title:m},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",a({className:l(t({},w,null!=d),j,b),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:h},L,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z",fill:"currentColor"}))};c.displayName="ChevronLeft",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=ChevronLeft.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronLeft.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum db9ca53493fb74dc52d39ddea75245d5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronLeftProps extends LGGlyph.ComponentProps {}\nconst ChevronLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronLeft', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z\" fill={'currentColor'} /></svg>;\n};\nChevronLeft.displayName = 'ChevronLeft';\nChevronLeft.isGlyph = true;\nexport default ChevronLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronLeft","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAc,SAAqBC,GACrC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,cAAeU,EAAgBA,EAAgB,CACjGf,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,4XACH1B,KAAM,iBAEV,EACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,SAAU"}
1
+ {"version":3,"file":"ChevronLeft.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronLeft.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum db9ca53493fb74dc52d39ddea75245d5\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronLeftProps extends LGGlyph.ComponentProps {}\nconst ChevronLeft = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronLeftProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronLeft', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M10.7782 1.63604C10.3877 1.24551 9.75449 1.24551 9.36396 1.63604L4.41421 6.58579L3.70711 7.29289C3.31658 7.68342 3.31658 8.31658 3.70711 8.70711L4.41421 9.41421L9.36396 14.364C9.75448 14.7545 10.3876 14.7545 10.7782 14.364L11.4853 13.6569C11.8758 13.2663 11.8758 12.6332 11.4853 12.2426L7.24264 8L11.4853 3.75736C11.8758 3.36684 11.8758 2.73367 11.4853 2.34315L10.7782 1.63604Z\" fill={'currentColor'} /></svg>;\n};\nChevronLeft.displayName = 'ChevronLeft';\nChevronLeft.isGlyph = true;\nexport default ChevronLeft;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronLeft","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAc,SAAqBC,GACrC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,cAAeU,EAAgBA,EAAgB,CACjGf,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,4XACH1B,KAAM,iBAEV,EACAR,EAAYmC,YAAc,cAC1BnC,EAAYoC,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,v=void 0===p?16:p,y=l.title,m=l["aria-label"],d=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(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:""}}}(O,"ChevronRight",a(a({title:y},"aria-label",m),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),C,s),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:O},L,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z",fill:"currentColor"}))};s.displayName="ChevronRight",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,m=c.title,p=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,h=void 0===g?"img":g,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),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),C=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:""}}}(h,"ChevronRight",t(t({title:m},"aria-label",p),"aria-labelledby",y));return e.createElement("svg",a({className:l(t({},w,null!=d),j,b),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:h},C,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z",fill:"currentColor"}))};c.displayName="ChevronRight",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=ChevronRight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronRight.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 5054e5536d49a22839ffe1067a385f43\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronRightProps extends LGGlyph.ComponentProps {}\nconst ChevronRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronRight', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z\" fill={'currentColor'} /></svg>;\n};\nChevronRight.displayName = 'ChevronRight';\nChevronRight.isGlyph = true;\nexport default ChevronRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronRight","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"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,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yXACH1B,KAAM,iBAEV,EACAR,EAAamC,YAAc,eAC3BnC,EAAaoC,SAAU"}
1
+ {"version":3,"file":"ChevronRight.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronRight.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 5054e5536d49a22839ffe1067a385f43\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronRightProps extends LGGlyph.ComponentProps {}\nconst ChevronRight = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronRightProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronRight', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M5.36396 14.364C5.75449 14.7545 6.38765 14.7545 6.77818 14.364L11.7279 9.41421L12.435 8.70711C12.8256 8.31658 12.8256 7.68342 12.435 7.29289L11.7279 6.58579L6.77817 1.63604C6.38765 1.24552 5.75449 1.24551 5.36396 1.63604L4.65685 2.34315C4.26633 2.73367 4.26633 3.36684 4.65685 3.75736L8.89949 8L4.65685 12.2426C4.26633 12.6332 4.26633 13.2663 4.65686 13.6569L5.36396 14.364Z\" fill={'currentColor'} /></svg>;\n};\nChevronRight.displayName = 'ChevronRight';\nChevronRight.isGlyph = true;\nexport default ChevronRight;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronRight","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"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,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,yXACH1B,KAAM,iBAEV,EACAR,EAAamC,YAAc,eAC3BnC,EAAaoC,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,v=void 0===p?16:p,y=l.title,m=l["aria-label"],d=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(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:""}}}(O,"ChevronUp",a(a({title:y},"aria-label",m),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),C,s),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:O},L,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z",fill:"currentColor"}))};s.displayName="ChevronUp",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,v=void 0===s?16:s,p=c.title,m=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,h=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),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),C=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:""}}}(h,"ChevronUp",a(a({title:p},"aria-label",m),"aria-labelledby",y));return e.createElement("svg",t({className:l(a({},w,null!=d),j,b),height:"number"==typeof v?v:u[v],width:"number"==typeof v?v:u[v],role:h},C,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z",fill:"currentColor"}))};c.displayName="ChevronUp",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=ChevronUp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChevronUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronUp.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum c4a48973c54bf0b345de21397ceff89f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronUpProps extends LGGlyph.ComponentProps {}\nconst ChevronUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronUp', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z\" fill={'currentColor'} /></svg>;\n};\nChevronUp.displayName = 'ChevronUp';\nChevronUp.isGlyph = true;\nexport default ChevronUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronUp","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,YAAaU,EAAgBA,EAAgB,CAC/Ff,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,2XACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"ChevronUp.js","sources":["../../src/glyphCommon.ts","../../src/generated/ChevronUp.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum c4a48973c54bf0b345de21397ceff89f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ChevronUpProps extends LGGlyph.ComponentProps {}\nconst ChevronUp = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ChevronUpProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ChevronUp', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14.364 10.7782C14.7545 10.3877 14.7545 9.75449 14.364 9.36396L9.41421 4.41421L8.70711 3.70711C8.31658 3.31658 7.68342 3.31658 7.29289 3.70711L6.58579 4.41421L1.63604 9.36396C1.24552 9.75448 1.24551 10.3876 1.63604 10.7782L2.34315 11.4853C2.73367 11.8758 3.36684 11.8758 3.75736 11.4853L8 7.24264L12.2426 11.4853C12.6332 11.8758 13.2663 11.8758 13.6569 11.4853L14.364 10.7782Z\" fill={'currentColor'} /></svg>;\n};\nChevronUp.displayName = 'ChevronUp';\nChevronUp.isGlyph = true;\nexport default ChevronUp;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ChevronUp","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAY,SAAmBC,GACjC,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,YAAaU,EAAgBA,EAAgB,CAC/Ff,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,2XACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,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,y=l.size,p=void 0===y?16:y,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),w=r(c||(c=o(["\n color: ",";\n "])),g),x=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,"Circle",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),x,s),height:"number"==typeof p?p:f[p],width:"number"==typeof p?p:f[p],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("circle",{cx:8,cy:8,r:7,fill:"currentColor"}))};s.displayName="Circle",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,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,y=f.title,v=f["aria-label"],p=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,u),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),P=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,"Circle",a(a({title:y},"aria-label",v),"aria-labelledby",p));return e.createElement("svg",t({className:l(a({},w,null!=d),j,b),height:"number"==typeof m?m:c[m],width:"number"==typeof m?m:c[m],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("circle",{cx:8,cy:8,r:7,fill:"currentColor"}))};f.displayName="Circle",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Circle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.js","sources":["../../src/glyphCommon.ts","../../src/generated/Circle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum a680812f835e8615bae7614599444e3f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CircleProps extends LGGlyph.ComponentProps {}\nconst Circle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Circle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><circle cx={8} cy={8} r={7} fill={'currentColor'} /></svg>;\n};\nCircle.displayName = 'Circle';\nCircle.isGlyph = true;\nexport default Circle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Circle","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","cy","r","displayName","isGlyph"],"mappings":"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,SAAU,CAC7CE,GAAI,EACJI,GAAI,EACJC,EAAG,EACHzB,KAAM,iBAEV,EACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
1
+ {"version":3,"file":"Circle.js","sources":["../../src/glyphCommon.ts","../../src/generated/Circle.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum a680812f835e8615bae7614599444e3f\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface CircleProps extends LGGlyph.ComponentProps {}\nconst Circle = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: CircleProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Circle', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><circle cx={8} cy={8} r={7} fill={'currentColor'} /></svg>;\n};\nCircle.displayName = 'Circle';\nCircle.isGlyph = true;\nexport default Circle;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Circle","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","cy","r","displayName","isGlyph"],"mappings":"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,SAAU,CAC7CE,GAAI,EACJI,GAAI,EACJC,EAAG,EACHzB,KAAM,iBAEV,EACAR,EAAOkC,YAAc,SACrBlC,EAAOmC,SAAU"}
package/dist/esm/Clock.js CHANGED
@@ -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,C=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:""}}}(h,"Clock",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:h},P,C,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z",fill:"currentColor"}))};s.displayName="Clock",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,"Clock",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:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z",fill:"currentColor"}))};f.displayName="Clock",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Clock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Clock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clock.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 8b3dbd7af7545b03465ec2774447d5c8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockProps extends LGGlyph.ComponentProps {}\nconst Clock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clock', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z\" fill={'currentColor'} /></svg>;\n};\nClock.displayName = 'Clock';\nClock.isGlyph = true;\nexport default Clock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clock","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"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,scACH1B,KAAM,iBAEV,EACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
1
+ {"version":3,"file":"Clock.js","sources":["../../src/glyphCommon.ts","../../src/generated/Clock.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 8b3dbd7af7545b03465ec2774447d5c8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockProps extends LGGlyph.ComponentProps {}\nconst Clock = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Clock', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.25 4.75C7.25 4.33579 7.58579 4 8 4C8.41421 4 8.75 4.33579 8.75 4.75V7.90966L10.4939 9.43556C10.8056 9.70832 10.8372 10.1821 10.5644 10.4939C10.2917 10.8056 9.81786 10.8372 9.50613 10.5644L7.51059 8.81833C7.5014 8.8104 7.4924 8.80226 7.48361 8.79391C7.41388 8.7278 7.35953 8.65117 7.32087 8.56867C7.27541 8.47195 7.25 8.36394 7.25 8.25V4.75Z\" fill={'currentColor'} /></svg>;\n};\nClock.displayName = 'Clock';\nClock.isGlyph = true;\nexport default Clock;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Clock","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"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,scACH1B,KAAM,iBAEV,EACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,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,m=void 0===p?16:p,y=l.title,v=l["aria-label"],C=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 "]))),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,"ClockWithArrow",a(a({title:y},"aria-label",v),"aria-labelledby",C));return e.createElement("svg",i({className:t(a({},j,null!=d),w,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:h},P,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z",fill:"currentColor"}),e.createElement("path",{d:"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z",fill:"currentColor"}))};s.displayName="ClockWithArrow",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,p=f.title,v=f["aria-label"],y=f["aria-labelledby"],C=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 "])),C),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,"ClockWithArrow",l(l({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",a({className:t(l({},O,null!=C),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:"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z",fill:"currentColor"}),e.createElement("path",{d:"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z",fill:"currentColor"}))};f.displayName="ClockWithArrow",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=ClockWithArrow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClockWithArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/ClockWithArrow.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 203d79ffa0806154a90992e4d9ce0fe8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockWithArrowProps extends LGGlyph.ComponentProps {}\nconst ClockWithArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockWithArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ClockWithArrow', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /><path d=\"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z\" fill={'currentColor'} /></svg>;\n};\nClockWithArrow.displayName = 'ClockWithArrow';\nClockWithArrow.isGlyph = true;\nexport default ClockWithArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ClockWithArrow","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,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,iBAAkBU,EAAgBA,EAAgB,CACpGf,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,6iBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8VACHxB,KAAM,iBAEV,EACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
1
+ {"version":3,"file":"ClockWithArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/ClockWithArrow.tsx"],"sourcesContent":["export const Size = {\n Small: 'small',\n Default: 'default',\n Large: 'large',\n XLarge: 'xlarge',\n} as const;\n\nexport type Size = (typeof Size)[keyof typeof Size];\n\nexport const sizeMap: Record<Size, number> = {\n small: 14,\n default: 16,\n large: 20,\n xlarge: 24,\n} as const;\n\ninterface AccessibleFunctionParams {\n 'aria-labelledby'?: string;\n 'aria-label'?: string;\n title?: string | null;\n}\n\ntype AccessibleFunctionReturnType =\n | AccessibleFunctionParams\n | { 'aria-hidden': true; alt: '' };\n\nexport function generateAccessibleProps(\n role: 'img' | 'presentation',\n glyphName: string,\n {\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n title,\n }: AccessibleFunctionParams,\n): AccessibleFunctionReturnType {\n switch (role) {\n case 'img':\n if (!ariaLabel && !ariaLabelledby && !title) {\n return { 'aria-label': getGlyphLabel(glyphName) };\n }\n\n return {\n ['aria-labelledby']: ariaLabelledby,\n ['aria-label']: ariaLabel,\n title,\n };\n\n case 'presentation':\n return { 'aria-hidden': true, alt: '' };\n }\n}\n\nexport function getGlyphLabel(name: string) {\n return `${name.replace(/([a-z])([A-Z])/g, '$1 $2')} Icon`;\n}\n","/**\n* This is a generated file. Do not modify it manually.\n*\n* @script packages/icon/scripts/prebuild.ts\n* @checksum 203d79ffa0806154a90992e4d9ce0fe8\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface ClockWithArrowProps extends LGGlyph.ComponentProps {}\nconst ClockWithArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: ClockWithArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'ClockWithArrow', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M13 8C13 10.7614 10.7614 13 8 13C7.16895 13 6.38526 12.7973 5.69568 12.4385C5.34783 12.2576 4.90944 12.3087 4.65841 12.6099L4.32712 13.0075C4.05174 13.3379 4.1087 13.8355 4.48034 14.0521C5.51438 14.6548 6.71687 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C6.05606 1 4.2972 1.7924 3.02879 3.07181L1.96954 2.14618C1.56206 1.7901 0.931193 2.13127 1.00611 2.66721L1.4606 5.9185C1.50083 6.20624 1.7463 6.4287 2.03684 6.43H5.31972C5.86086 6.43241 6.1144 5.76821 5.70691 5.41212L4.53896 4.3915C5.4373 3.52965 6.65679 3 8 3C10.7614 3 13 5.23858 13 8Z\" fill={'currentColor'} /><path d=\"M7.25 5.25C7.25 4.83579 7.58579 4.5 8 4.5C8.41421 4.5 8.75 4.83579 8.75 5.25V7.91793L10.4294 9.44169C10.7412 9.71445 10.7728 10.1883 10.5 10.5C10.2272 10.8117 9.75342 10.8433 9.44169 10.5706L7.50697 8.81519C7.49904 8.80826 7.49125 8.80117 7.48361 8.79391C7.41388 8.72781 7.35954 8.65118 7.32088 8.56868C7.27541 8.47196 7.25 8.36395 7.25 8.25V5.25Z\" fill={'currentColor'} /></svg>;\n};\nClockWithArrow.displayName = 'ClockWithArrow';\nClockWithArrow.isGlyph = true;\nexport default ClockWithArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","ClockWithArrow","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAiB,SAAwBC,GAC3C,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,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,iBAAkBU,EAAgBA,EAAgB,CACpGf,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,6iBACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,8VACHxB,KAAM,iBAEV,EACAR,EAAeiC,YAAc,iBAC7BjC,EAAekC,SAAU"}
package/dist/esm/Clone.js CHANGED
@@ -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,m=void 0===p?16:p,y=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 "]))),H=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,"Clone",a(a({title:y},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},C,null!=g),w,s),height:"number"==typeof m?m:f[m],width:"number"==typeof m?m:f[m],role:h},H,j,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M5.5 12C5.5 13.1046 6.39543 14 7.5 14H12.5C13.6046 14 14.5 13.1046 14.5 12V8C14.5 6.89543 13.6046 6 12.5 6H7.5C6.39543 6 5.5 6.89543 5.5 8V12Z",fill:"currentColor"}),e.createElement("path",{d:"M4.25 10H3.5C2.39543 10 1.5 9.10457 1.5 8V4C1.5 2.89543 2.39543 2 3.5 2H8.5C9.60457 2 10.5 2.89543 10.5 4V4.75H8.5V4H3.5L3.5 8H4.25V10Z",fill:"currentColor"}))};s.displayName="Clone",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 c=["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,v=f["aria-label"],y=f["aria-labelledby"],d=f.fill,g=f.role,h=void 0===g?"img":g,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}(f,c),w=r(n||(n=i(["\n color: ",";\n "])),d),C=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:""}}}(h,"Clone",t(t({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",a({className:l(t({},w,null!=d),C,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:h},j,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M5.5 12C5.5 13.1046 6.39543 14 7.5 14H12.5C13.6046 14 14.5 13.1046 14.5 12V8C14.5 6.89543 13.6046 6 12.5 6H7.5C6.39543 6 5.5 6.89543 5.5 8V12Z",fill:"currentColor"}),e.createElement("path",{d:"M4.25 10H3.5C2.39543 10 1.5 9.10457 1.5 8V4C1.5 2.89543 2.39543 2 3.5 2H8.5C9.60457 2 10.5 2.89543 10.5 4V4.75H8.5V4H3.5L3.5 8H4.25V10Z",fill:"currentColor"}))};f.displayName="Clone",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Clone.js.map