@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 +1 @@
1
- {"version":3,"file":"LogIn.js","sources":["../../src/glyphCommon.ts","../../src/generated/LogIn.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 1abe05fe0855993d310c7bc9662857c1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LogInProps extends LGGlyph.ComponentProps {}\nconst LogIn = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LogInProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'LogIn', {\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=\"M15 13C15 13.5523 14.5523 14 14 14H9.75C9.33579 14 9 13.6642 9 13.25V12.75C9 12.3358 9.33579 12 9.75 12H13V4H9.75C9.33579 4 9 3.66421 9 3.25V2.75C9 2.33579 9.33579 2 9.75 2H14C14.5523 2 15 2.44771 15 3V13Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.5052 11.8839L9.70711 8.68198C10.0976 8.29146 10.0976 7.65829 9.70711 7.26777L6.50521 4.06586C6.21231 3.77297 5.73744 3.77297 5.44454 4.06586L5.09099 4.41942C4.7981 4.71231 4.7981 5.18718 5.09099 5.48008L6.61091 7L1.75 7C1.33579 7 1 7.33579 1 7.75V8.25C1 8.66422 1.33579 9 1.75 9L6.56066 9L5.09099 10.4697C4.7981 10.7626 4.7981 11.2374 5.09099 11.5303L5.44454 11.8839C5.73744 12.1768 6.21231 12.1768 6.5052 11.8839Z\" fill={'currentColor'} /></svg>;\n};\nLogIn.displayName = 'LogIn';\nLogIn.isGlyph = true;\nexport default LogIn;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","LogIn","_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,gNACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,oaACH1B,KAAM,iBAEV,EACAR,EAAMmC,YAAc,QACpBnC,EAAMoC,SAAU"}
1
+ {"version":3,"file":"LogIn.js","sources":["../../src/glyphCommon.ts","../../src/generated/LogIn.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 1abe05fe0855993d310c7bc9662857c1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LogInProps extends LGGlyph.ComponentProps {}\nconst LogIn = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LogInProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'LogIn', {\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=\"M15 13C15 13.5523 14.5523 14 14 14H9.75C9.33579 14 9 13.6642 9 13.25V12.75C9 12.3358 9.33579 12 9.75 12H13V4H9.75C9.33579 4 9 3.66421 9 3.25V2.75C9 2.33579 9.33579 2 9.75 2H14C14.5523 2 15 2.44771 15 3V13Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.5052 11.8839L9.70711 8.68198C10.0976 8.29146 10.0976 7.65829 9.70711 7.26777L6.50521 4.06586C6.21231 3.77297 5.73744 3.77297 5.44454 4.06586L5.09099 4.41942C4.7981 4.71231 4.7981 5.18718 5.09099 5.48008L6.61091 7L1.75 7C1.33579 7 1 7.33579 1 7.75V8.25C1 8.66422 1.33579 9 1.75 9L6.56066 9L5.09099 10.4697C4.7981 10.7626 4.7981 11.2374 5.09099 11.5303L5.44454 11.8839C5.73744 12.1768 6.21231 12.1768 6.5052 11.8839Z\" fill={'currentColor'} /></svg>;\n};\nLogIn.displayName = 'LogIn';\nLogIn.isGlyph = true;\nexport default LogIn;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","LogIn","_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,gNACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,oaACH1B,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 u,c,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,d=void 0===p?16:p,v=l.title,m=l["aria-label"],y=l["aria-labelledby"],g=l.fill,O=l.role,h=void 0===O?"img":O,C=n(l,b),j=r(u||(u=o(["\n color: ",";\n "])),g),w=r(c||(c=o(["\n flex-shrink: 0;\n "]))),L=function(e,r,t){var l,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"LogOut",a(a({title:v},"aria-label",m),"aria-labelledby",y));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof d?d:f[d],width:"number"==typeof d?d:f[d],role:h},L,C,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 3.00002C1.5 2.44773 1.94557 2.00002 2.49522 2.00002H6.72488C7.13711 2.00002 7.47129 2.3358 7.47129 2.75002V3.25002C7.47129 3.66423 7.13711 4.00002 6.72488 4.00002H3.49043V12H6.72488C7.13711 12 7.47129 12.3358 7.47129 12.75V13.25C7.47129 13.6642 7.13711 14 6.72488 14H2.49522C1.94557 14 1.5 13.5523 1.5 13V3.00002Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0219 11.909L14.2085 8.7071C14.5972 8.31658 14.5972 7.68341 14.2085 7.29289L11.0219 4.09099C10.7304 3.79809 10.2578 3.79809 9.96634 4.09098L9.61448 4.44454C9.32299 4.73743 9.32299 5.2123 9.61448 5.5052L11.1271 7.02512L6.28947 7.02512C5.87724 7.02512 5.54306 7.36091 5.54306 7.77512V8.27512C5.54306 8.68934 5.87724 9.02512 6.28947 9.02512L11.0771 9.02512L9.61448 10.4948C9.32299 10.7877 9.32299 11.2626 9.61448 11.5555L9.96634 11.909C10.2578 12.2019 10.7304 12.2019 11.0219 11.909Z",fill:"currentColor"}))};s.displayName="LogOut",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,d=void 0===s?16:s,v=f.title,p=f["aria-label"],m=f["aria-labelledby"],y=f.fill,g=f.role,O=void 0===g?"img":g,C=function(e,r){if(null==e)return{};var l,t,a=function(e,r){if(null==e)return{};var l={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;l[t]=e[t]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)l=i[t],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(f,c),h=r(n||(n=i(["\n color: ",";\n "])),y),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var a,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"LogOut",t(t({title:v},"aria-label",p),"aria-labelledby",m));return e.createElement("svg",a({className:l(t({},h,null!=y),w,b),height:"number"==typeof d?d:u[d],width:"number"==typeof d?d:u[d],role:O},j,C,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 3.00002C1.5 2.44773 1.94557 2.00002 2.49522 2.00002H6.72488C7.13711 2.00002 7.47129 2.3358 7.47129 2.75002V3.25002C7.47129 3.66423 7.13711 4.00002 6.72488 4.00002H3.49043V12H6.72488C7.13711 12 7.47129 12.3358 7.47129 12.75V13.25C7.47129 13.6642 7.13711 14 6.72488 14H2.49522C1.94557 14 1.5 13.5523 1.5 13V3.00002Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0219 11.909L14.2085 8.7071C14.5972 8.31658 14.5972 7.68341 14.2085 7.29289L11.0219 4.09099C10.7304 3.79809 10.2578 3.79809 9.96634 4.09098L9.61448 4.44454C9.32299 4.73743 9.32299 5.2123 9.61448 5.5052L11.1271 7.02512L6.28947 7.02512C5.87724 7.02512 5.54306 7.36091 5.54306 7.77512V8.27512C5.54306 8.68934 5.87724 9.02512 6.28947 9.02512L11.0771 9.02512L9.61448 10.4948C9.32299 10.7877 9.32299 11.2626 9.61448 11.5555L9.96634 11.909C10.2578 12.2019 10.7304 12.2019 11.0219 11.909Z",fill:"currentColor"}))};f.displayName="LogOut",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=LogOut.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LogOut.js","sources":["../../src/glyphCommon.ts","../../src/generated/LogOut.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 6352866f41a824af5f4fff28b06af961\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LogOutProps extends LGGlyph.ComponentProps {}\nconst LogOut = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LogOutProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'LogOut', {\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.5 3.00002C1.5 2.44773 1.94557 2.00002 2.49522 2.00002H6.72488C7.13711 2.00002 7.47129 2.3358 7.47129 2.75002V3.25002C7.47129 3.66423 7.13711 4.00002 6.72488 4.00002H3.49043V12H6.72488C7.13711 12 7.47129 12.3358 7.47129 12.75V13.25C7.47129 13.6642 7.13711 14 6.72488 14H2.49522C1.94557 14 1.5 13.5523 1.5 13V3.00002Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.0219 11.909L14.2085 8.7071C14.5972 8.31658 14.5972 7.68341 14.2085 7.29289L11.0219 4.09099C10.7304 3.79809 10.2578 3.79809 9.96634 4.09098L9.61448 4.44454C9.32299 4.73743 9.32299 5.2123 9.61448 5.5052L11.1271 7.02512L6.28947 7.02512C5.87724 7.02512 5.54306 7.36091 5.54306 7.77512V8.27512C5.54306 8.68934 5.87724 9.02512 6.28947 9.02512L11.0771 9.02512L9.61448 10.4948C9.32299 10.7877 9.32299 11.2626 9.61448 11.5555L9.96634 11.909C10.2578 12.2019 10.7304 12.2019 11.0219 11.909Z\" fill={'currentColor'} /></svg>;\n};\nLogOut.displayName = 'LogOut';\nLogOut.isGlyph = true;\nexport default LogOut;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","LogOut","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,iUACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,seACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"LogOut.js","sources":["../../src/glyphCommon.ts","../../src/generated/LogOut.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 6352866f41a824af5f4fff28b06af961\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface LogOutProps extends LGGlyph.ComponentProps {}\nconst LogOut = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: LogOutProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'LogOut', {\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.5 3.00002C1.5 2.44773 1.94557 2.00002 2.49522 2.00002H6.72488C7.13711 2.00002 7.47129 2.3358 7.47129 2.75002V3.25002C7.47129 3.66423 7.13711 4.00002 6.72488 4.00002H3.49043V12H6.72488C7.13711 12 7.47129 12.3358 7.47129 12.75V13.25C7.47129 13.6642 7.13711 14 6.72488 14H2.49522C1.94557 14 1.5 13.5523 1.5 13V3.00002Z\" fill={'currentColor'} /><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11.0219 11.909L14.2085 8.7071C14.5972 8.31658 14.5972 7.68341 14.2085 7.29289L11.0219 4.09099C10.7304 3.79809 10.2578 3.79809 9.96634 4.09098L9.61448 4.44454C9.32299 4.73743 9.32299 5.2123 9.61448 5.5052L11.1271 7.02512L6.28947 7.02512C5.87724 7.02512 5.54306 7.36091 5.54306 7.77512V8.27512C5.54306 8.68934 5.87724 9.02512 6.28947 9.02512L11.0771 9.02512L9.61448 10.4948C9.32299 10.7877 9.32299 11.2626 9.61448 11.5555L9.96634 11.909C10.2578 12.2019 10.7304 12.2019 11.0219 11.909Z\" fill={'currentColor'} /></svg>;\n};\nLogOut.displayName = 'LogOut';\nLogOut.isGlyph = true;\nexport default LogOut;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","LogOut","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,iUACH1B,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,seACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function 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,f,u={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,m=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,O=a.role,h=void 0===O?"img":O,j=n(a,b),C=r(c||(c=o(["\n color: ",";\n "])),g),w=r(f||(f=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:""}}}(h,"MagnifyingGlass",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},C,null!=g),w,s),height:"number"==typeof y?y:u[y],width:"number"==typeof y?y:u[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.3234 9.81874C4.07618 11.5715 6.75062 11.8398 8.78588 10.6244L12.93 14.7685C13.4377 15.2762 14.2608 15.2762 14.7685 14.7685C15.2762 14.2608 15.2762 13.4377 14.7685 12.93L10.6244 8.78588C11.8398 6.75062 11.5715 4.07619 9.81873 2.32341C7.74896 0.253628 4.39318 0.253628 2.3234 2.32341C0.253624 4.39319 0.253624 7.74896 2.3234 9.81874ZM7.98026 4.16188C9.03467 5.2163 9.03467 6.92585 7.98026 7.98026C6.92584 9.03468 5.2163 9.03468 4.16188 7.98026C3.10746 6.92585 3.10746 5.2163 4.16188 4.16188C5.2163 3.10747 6.92584 3.10747 7.98026 4.16188Z",fill:"currentColor"}))};s.displayName="MagnifyingGlass",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,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,y=c.title,m=c["aria-label"],p=c["aria-labelledby"],d=c.fill,g=c.role,O=void 0===g?"img":g,h=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}(c,u),w=r(n||(n=i(["\n color: ",";\n "])),d),C=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=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:""}}}(O,"MagnifyingGlass",l(l({title:y},"aria-label",m),"aria-labelledby",p));return e.createElement("svg",t({className:a(l({},w,null!=d),C,b),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:O},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.3234 9.81874C4.07618 11.5715 6.75062 11.8398 8.78588 10.6244L12.93 14.7685C13.4377 15.2762 14.2608 15.2762 14.7685 14.7685C15.2762 14.2608 15.2762 13.4377 14.7685 12.93L10.6244 8.78588C11.8398 6.75062 11.5715 4.07619 9.81873 2.32341C7.74896 0.253628 4.39318 0.253628 2.3234 2.32341C0.253624 4.39319 0.253624 7.74896 2.3234 9.81874ZM7.98026 4.16188C9.03467 5.2163 9.03467 6.92585 7.98026 7.98026C6.92584 9.03468 5.2163 9.03468 4.16188 7.98026C3.10746 6.92585 3.10746 5.2163 4.16188 4.16188C5.2163 3.10747 6.92584 3.10747 7.98026 4.16188Z",fill:"currentColor"}))};c.displayName="MagnifyingGlass",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=MagnifyingGlass.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MagnifyingGlass.js","sources":["../../src/glyphCommon.ts","../../src/generated/MagnifyingGlass.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 fb471922e4fc915cb1d7f51adb7f6053\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MagnifyingGlassProps extends LGGlyph.ComponentProps {}\nconst MagnifyingGlass = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MagnifyingGlassProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MagnifyingGlass', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M2.3234 9.81874C4.07618 11.5715 6.75062 11.8398 8.78588 10.6244L12.93 14.7685C13.4377 15.2762 14.2608 15.2762 14.7685 14.7685C15.2762 14.2608 15.2762 13.4377 14.7685 12.93L10.6244 8.78588C11.8398 6.75062 11.5715 4.07619 9.81873 2.32341C7.74896 0.253628 4.39318 0.253628 2.3234 2.32341C0.253624 4.39319 0.253624 7.74896 2.3234 9.81874ZM7.98026 4.16188C9.03467 5.2163 9.03467 6.92585 7.98026 7.98026C6.92584 9.03468 5.2163 9.03468 4.16188 7.98026C3.10746 6.92585 3.10746 5.2163 4.16188 4.16188C5.2163 3.10747 6.92584 3.10747 7.98026 4.16188Z\" fill={'currentColor'} /></svg>;\n};\nMagnifyingGlass.displayName = 'MagnifyingGlass';\nMagnifyingGlass.isGlyph = true;\nexport default MagnifyingGlass;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MagnifyingGlass","_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,EAAkB,SAAyBC,GAC7C,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,kBAAmBU,EAAgBA,EAAgB,CACrGf,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,8hBACH1B,KAAM,iBAEV,EACAR,EAAgBmC,YAAc,kBAC9BnC,EAAgBoC,SAAU"}
1
+ {"version":3,"file":"MagnifyingGlass.js","sources":["../../src/glyphCommon.ts","../../src/generated/MagnifyingGlass.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 fb471922e4fc915cb1d7f51adb7f6053\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MagnifyingGlassProps extends LGGlyph.ComponentProps {}\nconst MagnifyingGlass = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MagnifyingGlassProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MagnifyingGlass', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M2.3234 9.81874C4.07618 11.5715 6.75062 11.8398 8.78588 10.6244L12.93 14.7685C13.4377 15.2762 14.2608 15.2762 14.7685 14.7685C15.2762 14.2608 15.2762 13.4377 14.7685 12.93L10.6244 8.78588C11.8398 6.75062 11.5715 4.07619 9.81873 2.32341C7.74896 0.253628 4.39318 0.253628 2.3234 2.32341C0.253624 4.39319 0.253624 7.74896 2.3234 9.81874ZM7.98026 4.16188C9.03467 5.2163 9.03467 6.92585 7.98026 7.98026C6.92584 9.03468 5.2163 9.03468 4.16188 7.98026C3.10746 6.92585 3.10746 5.2163 4.16188 4.16188C5.2163 3.10747 6.92584 3.10747 7.98026 4.16188Z\" fill={'currentColor'} /></svg>;\n};\nMagnifyingGlass.displayName = 'MagnifyingGlass';\nMagnifyingGlass.isGlyph = true;\nexport default MagnifyingGlass;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MagnifyingGlass","_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,EAAkB,SAAyBC,GAC7C,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,kBAAmBU,EAAgBA,EAAgB,CACrGf,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,8hBACH1B,KAAM,iBAEV,EACAR,EAAgBmC,YAAc,kBAC9BnC,EAAgBoC,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,y=void 0===p?16:p,m=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,"Megaphone",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},w,null!=g),C,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:O},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3L11.7253 1.3642C12.3641 1.18168 13 1.66135 13 2.32573V4.26756V7.73243V9.67427C13 10.3386 12.3641 10.8183 11.7253 10.6358L6 9H3C1.89543 9 1 8.10457 1 7V5C1 3.89543 1.89543 3 3 3H6ZM5.34325 10H3V15H5.97958C6.69851 15 7.18255 14.2641 6.8978 13.6039L5.34325 10ZM16 6C16 7.10457 15.1046 8 14 8V4C15.1046 4 16 4.89543 16 6Z",fill:"currentColor"}))};s.displayName="Megaphone",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 f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,p=void 0===s?16:s,v=c.title,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 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}(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,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,"Megaphone",l(l({title:v},"aria-label",m),"aria-labelledby",y));return e.createElement("svg",t({className:a(l({},w,null!=d),j,b),height:"number"==typeof p?p:u[p],width:"number"==typeof p?p:u[p],role:h},C,O,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3L11.7253 1.3642C12.3641 1.18168 13 1.66135 13 2.32573V4.26756V7.73243V9.67427C13 10.3386 12.3641 10.8183 11.7253 10.6358L6 9H3C1.89543 9 1 8.10457 1 7V5C1 3.89543 1.89543 3 3 3H6ZM5.34325 10H3V15H5.97958C6.69851 15 7.18255 14.2641 6.8978 13.6039L5.34325 10ZM16 6C16 7.10457 15.1046 8 14 8V4C15.1046 4 16 4.89543 16 6Z",fill:"currentColor"}))};c.displayName="Megaphone",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Megaphone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Megaphone.js","sources":["../../src/glyphCommon.ts","../../src/generated/Megaphone.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 f8cd3197e1829d4286e66df806e8fa51\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MegaphoneProps extends LGGlyph.ComponentProps {}\nconst Megaphone = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MegaphoneProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Megaphone', {\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 3L11.7253 1.3642C12.3641 1.18168 13 1.66135 13 2.32573V4.26756V7.73243V9.67427C13 10.3386 12.3641 10.8183 11.7253 10.6358L6 9H3C1.89543 9 1 8.10457 1 7V5C1 3.89543 1.89543 3 3 3H6ZM5.34325 10H3V15H5.97958C6.69851 15 7.18255 14.2641 6.8978 13.6039L5.34325 10ZM16 6C16 7.10457 15.1046 8 14 8V4C15.1046 4 16 4.89543 16 6Z\" fill={'currentColor'} /></svg>;\n};\nMegaphone.displayName = 'Megaphone';\nMegaphone.isGlyph = true;\nexport default Megaphone;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Megaphone","_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,oUACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
1
+ {"version":3,"file":"Megaphone.js","sources":["../../src/glyphCommon.ts","../../src/generated/Megaphone.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 f8cd3197e1829d4286e66df806e8fa51\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MegaphoneProps extends LGGlyph.ComponentProps {}\nconst Megaphone = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MegaphoneProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Megaphone', {\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 3L11.7253 1.3642C12.3641 1.18168 13 1.66135 13 2.32573V4.26756V7.73243V9.67427C13 10.3386 12.3641 10.8183 11.7253 10.6358L6 9H3C1.89543 9 1 8.10457 1 7V5C1 3.89543 1.89543 3 3 3H6ZM5.34325 10H3V15H5.97958C6.69851 15 7.18255 14.2641 6.8978 13.6039L5.34325 10ZM16 6C16 7.10457 15.1046 8 14 8V4C15.1046 4 16 4.89543 16 6Z\" fill={'currentColor'} /></svg>;\n};\nMegaphone.displayName = 'Megaphone';\nMegaphone.isGlyph = true;\nexport default Megaphone;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Megaphone","_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,oUACH1B,KAAM,iBAEV,EACAR,EAAUmC,YAAc,YACxBnC,EAAUoC,SAAU"}
package/dist/esm/Menu.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,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,"Menu",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",{d:"M2 4C2 3.44772 2.44772 3 3 3H13C13.5523 3 14 3.44772 14 4C14 4.55228 13.5523 5 13 5H3C2.44772 5 2 4.55228 2 4Z",fill:"currentColor"}),e.createElement("path",{d:"M2 8C2 7.44772 2.44772 7 3 7H13C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9H3C2.44772 9 2 8.55228 2 8Z",fill:"currentColor"}),e.createElement("path",{d:"M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H13C13.5523 13 14 12.5523 14 12C14 11.4477 13.5523 11 13 11H3Z",fill:"currentColor"}))};s.displayName="Menu",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},a.apply(null,arguments)}function n(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var i,o,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,C=function(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==r.indexOf(l))continue;t[l]=e[l]}return t}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)t=n[l],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(f,c),O=r(i||(i=n(["\n color: ",";\n "])),d),w=r(o||(o=n(["\n flex-shrink: 0;\n "]))),j=function(e,r,t){var a,n=t["aria-label"],i=t["aria-labelledby"],o=t.title;switch(e){case"img":return n||i||o?l(l(l({},"aria-labelledby",i),"aria-label",n),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Menu",l(l({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",a({className:t(l({},O,null!=d),w,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:h},j,C,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M2 4C2 3.44772 2.44772 3 3 3H13C13.5523 3 14 3.44772 14 4C14 4.55228 13.5523 5 13 5H3C2.44772 5 2 4.55228 2 4Z",fill:"currentColor"}),e.createElement("path",{d:"M2 8C2 7.44772 2.44772 7 3 7H13C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9H3C2.44772 9 2 8.55228 2 8Z",fill:"currentColor"}),e.createElement("path",{d:"M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H13C13.5523 13 14 12.5523 14 12C14 11.4477 13.5523 11 13 11H3Z",fill:"currentColor"}))};f.displayName="Menu",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=Menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.js","sources":["../../src/glyphCommon.ts","../../src/generated/Menu.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 549549b4c6cc53d800b1df1e4ad18280\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MenuProps extends LGGlyph.ComponentProps {}\nconst Menu = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MenuProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Menu', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M2 4C2 3.44772 2.44772 3 3 3H13C13.5523 3 14 3.44772 14 4C14 4.55228 13.5523 5 13 5H3C2.44772 5 2 4.55228 2 4Z\" fill={'currentColor'} /><path d=\"M2 8C2 7.44772 2.44772 7 3 7H13C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9H3C2.44772 9 2 8.55228 2 8Z\" fill={'currentColor'} /><path d=\"M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H13C13.5523 13 14 12.5523 14 12C14 11.4477 13.5523 11 13 11H3Z\" fill={'currentColor'} /></svg>;\n};\nMenu.displayName = 'Menu';\nMenu.isGlyph = true;\nexport default Menu;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Menu","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
1
+ {"version":3,"file":"Menu.js","sources":["../../src/glyphCommon.ts","../../src/generated/Menu.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 549549b4c6cc53d800b1df1e4ad18280\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MenuProps extends LGGlyph.ComponentProps {}\nconst Menu = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MenuProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Menu', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M2 4C2 3.44772 2.44772 3 3 3H13C13.5523 3 14 3.44772 14 4C14 4.55228 13.5523 5 13 5H3C2.44772 5 2 4.55228 2 4Z\" fill={'currentColor'} /><path d=\"M2 8C2 7.44772 2.44772 7 3 7H13C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9H3C2.44772 9 2 8.55228 2 8Z\" fill={'currentColor'} /><path d=\"M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H13C13.5523 13 14 12.5523 14 12C14 11.4477 13.5523 11 13 11H3Z\" fill={'currentColor'} /></svg>;\n};\nMenu.displayName = 'Menu';\nMenu.isGlyph = true;\nexport default Menu;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Menu","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,iHACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0HACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
package/dist/esm/Minus.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function l(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var u,c,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,m=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,O=a.role,h=void 0===O?"img":O,j=n(a,b),w=r(u||(u=o(["\n color: ",";\n "])),g),C=r(c||(c=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:""}}}(h,"Minus",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},w,null!=g),C,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M3 6.5C2.44772 6.5 2 6.94772 2 7.5V8.5C2 9.05229 2.44772 9.5 3 9.5C9.04335 9.5 7.79133 9.5 13 9.5C13.5523 9.5 14 9.05228 14 8.5V7.5C14 6.94772 13.5523 6.5 13 6.5C7.79133 6.5 9.04335 6.5 3 6.5Z",fill:"currentColor"}))};s.displayName="Minus",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as a}from"@leafygreen-ui/emotion";function t(e,r,a){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var t=a.call(e,r);if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)({}).hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},l.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,m=void 0===s?16:s,p=c.title,v=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,O=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;a[t]=e[t]}return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)a=i[t],-1===r.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}(c,f),w=r(n||(n=i(["\n color: ",";\n "])),d),j=r(o||(o=i(["\n flex-shrink: 0;\n "]))),P=function(e,r,a){var l,i=a["aria-label"],n=a["aria-labelledby"],o=a.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Minus",t(t({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",l({className:a(t({},w,null!=d),j,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M3 6.5C2.44772 6.5 2 6.94772 2 7.5V8.5C2 9.05229 2.44772 9.5 3 9.5C9.04335 9.5 7.79133 9.5 13 9.5C13.5523 9.5 14 9.05228 14 8.5V7.5C14 6.94772 13.5523 6.5 13 6.5C7.79133 6.5 9.04335 6.5 3 6.5Z",fill:"currentColor"}))};c.displayName="Minus",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Minus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Minus.js","sources":["../../src/glyphCommon.ts","../../src/generated/Minus.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 2584534dde7caacc9378ac4d5008668e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MinusProps extends LGGlyph.ComponentProps {}\nconst Minus = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MinusProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Minus', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3 6.5C2.44772 6.5 2 6.94772 2 7.5V8.5C2 9.05229 2.44772 9.5 3 9.5C9.04335 9.5 7.79133 9.5 13 9.5C13.5523 9.5 14 9.05228 14 8.5V7.5C14 6.94772 13.5523 6.5 13 6.5C7.79133 6.5 9.04335 6.5 3 6.5Z\" fill={'currentColor'} /></svg>;\n};\nMinus.displayName = 'Minus';\nMinus.isGlyph = true;\nexport default Minus;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Minus","_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,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,EAAG,mMACHxB,KAAM,iBAEV,EACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
1
+ {"version":3,"file":"Minus.js","sources":["../../src/glyphCommon.ts","../../src/generated/Minus.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 2584534dde7caacc9378ac4d5008668e\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MinusProps extends LGGlyph.ComponentProps {}\nconst Minus = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MinusProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Minus', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M3 6.5C2.44772 6.5 2 6.94772 2 7.5V8.5C2 9.05229 2.44772 9.5 3 9.5C9.04335 9.5 7.79133 9.5 13 9.5C13.5523 9.5 14 9.05228 14 8.5V7.5C14 6.94772 13.5523 6.5 13 6.5C7.79133 6.5 9.04335 6.5 3 6.5Z\" fill={'currentColor'} /></svg>;\n};\nMinus.displayName = 'Minus';\nMinus.isGlyph = true;\nexport default Minus;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Minus","_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,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,EAAG,mMACHxB,KAAM,iBAEV,EACAR,EAAMiC,YAAc,QACpBjC,EAAMkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,b={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,y=void 0===p?16:p,m=l.title,v=l["aria-label"],d=l["aria-labelledby"],g=l.fill,O=l.role,h=void 0===O?"img":O,j=n(l,f),w=r(c||(c=o(["\n color: ",";\n "])),g),P=r(u||(u=o(["\n flex-shrink: 0;\n "]))),x=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,"Mobile",a(a({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},w,null!=g),P,s),height:"number"==typeof y?y:b[y],width:"number"==typeof y?y:b[y],role:h},x,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 3H5V13H11V3ZM5 1C4.44772 1 4 1.44772 4 2V14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14V2C12 1.44772 11.5523 1 11 1H5Z",fill:"currentColor"}))};s.displayName="Mobile",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,m=c.title,p=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.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}(c,f),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,"Mobile",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:O},P,h,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 3H5V13H11V3ZM5 1C4.44772 1 4 1.44772 4 2V14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14V2C12 1.44772 11.5523 1 11 1H5Z",fill:"currentColor"}))};c.displayName="Mobile",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mobile.js","sources":["../../src/glyphCommon.ts","../../src/generated/Mobile.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 3e42f8289fdb89155f9db4e218e7664a\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MobileProps extends LGGlyph.ComponentProps {}\nconst Mobile = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MobileProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Mobile', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11 3H5V13H11V3ZM5 1C4.44772 1 4 1.44772 4 2V14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14V2C12 1.44772 11.5523 1 11 1H5Z\" fill={'currentColor'} /></svg>;\n};\nMobile.displayName = 'Mobile';\nMobile.isGlyph = true;\nexport default Mobile;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Mobile","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,0IACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
1
+ {"version":3,"file":"Mobile.js","sources":["../../src/glyphCommon.ts","../../src/generated/Mobile.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 3e42f8289fdb89155f9db4e218e7664a\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MobileProps extends LGGlyph.ComponentProps {}\nconst Mobile = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MobileProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Mobile', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M11 3H5V13H11V3ZM5 1C4.44772 1 4 1.44772 4 2V14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14V2C12 1.44772 11.5523 1 11 1H5Z\" fill={'currentColor'} /></svg>;\n};\nMobile.displayName = 'Mobile';\nMobile.isGlyph = true;\nexport default Mobile;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Mobile","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","fillRule","clipRule","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAS,SAAgBC,GAC3B,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,SAAUU,EAAgBA,EAAgB,CAC5Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,SAAU,UACVC,SAAU,UACVC,EAAG,0IACH1B,KAAM,iBAEV,EACAR,EAAOmC,YAAc,SACrBnC,EAAOoC,SAAU"}
package/dist/esm/Moon.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function l(e,r,t){return(r=a(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(a){var s=a.className,p=a.size,y=void 0===p?16:p,m=a.title,v=a["aria-label"],d=a["aria-labelledby"],g=a.fill,O=a.role,h=void 0===O?"img":O,j=n(a,b),C=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var a,i=t["aria-label"],n=t["aria-labelledby"],o=t.title;switch(e){case"img":return i||n||o?l(l(l({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(a=r,"".concat(a.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Moon",l(l({title:m},"aria-label",v),"aria-labelledby",d));return e.createElement("svg",i({className:t(l({},C,null!=g),w,s),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M13.7868 10.0736C13.5564 9.8432 13.2012 9.7952 12.9228 9.9584C12.798 10.0352 12.6636 10.0928 12.5292 10.1504C10.7628 10.8704 8.6412 9.9392 7.8252 7.9424C7.0956 6.1472 7.7388 4.208 9.1692 3.3248C9.438 3.1616 9.5724 2.8352 9.486 2.5184C9.3996 2.2016 9.1116 2 8.7948 2H8.67C5.358 2 2.67 4.688 2.67 8C2.67 11.312 5.358 14 8.67 14C10.9164 14 12.8748 12.7616 13.902 10.9376C14.0652 10.6592 14.0076 10.304 13.7772 10.0736H13.7868Z",fill:"currentColor"}))};s.displayName="Moon",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as a}from"@leafygreen-ui/emotion";function t(e,r,a){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var t=a.call(e,r);if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)({}).hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},l.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var f=["className","size","title","aria-label","aria-labelledby","fill","role"],c=function(c){var b=c.className,s=c.size,m=void 0===s?16:s,p=c.title,v=c["aria-label"],y=c["aria-labelledby"],d=c.fill,g=c.role,O=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;a[t]=e[t]}return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)a=i[t],-1===r.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}(c,f),w=r(n||(n=i(["\n color: ",";\n "])),d),C=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,a){var l,i=a["aria-label"],n=a["aria-labelledby"],o=a.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(O,"Moon",t(t({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",l({className:a(t({},w,null!=d),C,b),height:"number"==typeof m?m:u[m],width:"number"==typeof m?m:u[m],role:O},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M13.7868 10.0736C13.5564 9.8432 13.2012 9.7952 12.9228 9.9584C12.798 10.0352 12.6636 10.0928 12.5292 10.1504C10.7628 10.8704 8.6412 9.9392 7.8252 7.9424C7.0956 6.1472 7.7388 4.208 9.1692 3.3248C9.438 3.1616 9.5724 2.8352 9.486 2.5184C9.3996 2.2016 9.1116 2 8.7948 2H8.67C5.358 2 2.67 4.688 2.67 8C2.67 11.312 5.358 14 8.67 14C10.9164 14 12.8748 12.7616 13.902 10.9376C14.0652 10.6592 14.0076 10.304 13.7772 10.0736H13.7868Z",fill:"currentColor"}))};c.displayName="Moon",c.isGlyph=!0;export{c as default};
2
2
  //# sourceMappingURL=Moon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Moon.js","sources":["../../src/glyphCommon.ts","../../src/generated/Moon.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 e19a86d7be0b9af789e616e4d4a4009c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MoonProps extends LGGlyph.ComponentProps {}\nconst Moon = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MoonProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Moon', {\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.7868 10.0736C13.5564 9.8432 13.2012 9.7952 12.9228 9.9584C12.798 10.0352 12.6636 10.0928 12.5292 10.1504C10.7628 10.8704 8.6412 9.9392 7.8252 7.9424C7.0956 6.1472 7.7388 4.208 9.1692 3.3248C9.438 3.1616 9.5724 2.8352 9.486 2.5184C9.3996 2.2016 9.1116 2 8.7948 2H8.67C5.358 2 2.67 4.688 2.67 8C2.67 11.312 5.358 14 8.67 14C10.9164 14 12.8748 12.7616 13.902 10.9376C14.0652 10.6592 14.0076 10.304 13.7772 10.0736H13.7868Z\" fill={'currentColor'} /></svg>;\n};\nMoon.displayName = 'Moon';\nMoon.isGlyph = true;\nexport default Moon;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Moon","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"urCAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,EAAQC,EAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0aACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
1
+ {"version":3,"file":"Moon.js","sources":["../../src/glyphCommon.ts","../../src/generated/Moon.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 e19a86d7be0b9af789e616e4d4a4009c\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MoonProps extends LGGlyph.ComponentProps {}\nconst Moon = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MoonProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'Moon', {\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.7868 10.0736C13.5564 9.8432 13.2012 9.7952 12.9228 9.9584C12.798 10.0352 12.6636 10.0928 12.5292 10.1504C10.7628 10.8704 8.6412 9.9392 7.8252 7.9424C7.0956 6.1472 7.7388 4.208 9.1692 3.3248C9.438 3.1616 9.5724 2.8352 9.486 2.5184C9.3996 2.2016 9.1116 2 8.7948 2H8.67C5.358 2 2.67 4.688 2.67 8C2.67 11.312 5.358 14 8.67 14C10.9164 14 12.8748 12.7616 13.902 10.9376C14.0652 10.6592 14.0076 10.304 13.7772 10.0736H13.7868Z\" fill={'currentColor'} /></svg>;\n};\nMoon.displayName = 'Moon';\nMoon.isGlyph = true;\nexport default Moon;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","Moon","_ref","className","_ref$size","size","title","ariaLabel","ariaLabelledby","fill","_ref$role","role","props","_objectWithoutProperties","fillStyle","css","_taggedTemplateLiteral","noFlexShrink","accessibleProps","glyphName","name","_defineProperty","concat","replace","alt","generateAccessibleProps","React","createElement","_extends","cx","height","width","viewBox","d","displayName","isGlyph"],"mappings":"ozBAOO,ICNHA,EAAiBC,EDMVC,EAAU,CACnBC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,OAAQ,ICTV,IAAIC,EAAY,CAAC,YAAa,OAAQ,QAAS,aAAc,kBAAmB,OAAQ,QAUpFC,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAKC,UACnBC,EAAYF,EAAKG,KACjBA,OAAqB,IAAdD,EAAuB,GAAKA,EACnCE,EAAQJ,EAAKI,MACbC,EAAYL,EAAK,cACjBM,EAAiBN,EAAK,mBACtBO,EAAOP,EAAKO,KACZC,EAAYR,EAAKS,KACjBA,OAAqB,IAAdD,EAAuB,MAAQA,EACtCE,+WAAQC,CAAyBX,EAAMF,GACrCc,EAAYC,EAAItB,IAAoBA,EAAkBuB,EAAuB,CAAC,oBAAqB,eAAgBP,GACnHQ,EAAeF,EAAIrB,IAAqBA,EAAmBsB,EAAuB,CAAC,wCACnFE,EDZC,SAAiCP,EAAMQ,EAAWjB,GACvD,IAkB4BkB,EAlBxBb,EAAYL,EAAK,cACnBM,EAAiBN,EAAK,mBACtBI,EAAQJ,EAAKI,MACf,OAAQK,GACN,IAAK,MACH,OAAKJ,GAAcC,GAAmBF,EAK/Be,EAAgBA,EAAgBA,EAAgB,CAAE,EAAE,kBAAmBb,GAAiB,aAAcD,GAAY,QAASD,GAJzH,CACL,cAWoBc,EAXQD,EAY7B,GAAGG,OAAOF,EAAKG,QAAQ,kBAAmB,SAAU,WARzD,IAAK,eACH,MAAO,CACL,eAAe,EACfC,IAAK,IAGb,CCNwBC,CAAwBd,EAAM,OAAQU,EAAgBA,EAAgB,CAC1Ff,MAAOA,GACN,aAAcC,GAAY,kBAAmBC,IAChD,OAAoBkB,EAAMC,cAAc,MAAOC,EAAS,CACtDzB,UAAW0B,EAAGR,EAAgB,GAAIP,EAAmB,MAARL,GAAeQ,EAAcd,GAC1E2B,OAAwB,iBAATzB,EAAoBA,EAAOV,EAAQU,GAClD0B,MAAuB,iBAAT1B,EAAoBA,EAAOV,EAAQU,GACjDM,KAAMA,GACLO,EAAiBN,EAAO,CACzBoB,QAAS,cACMN,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,0aACHxB,KAAM,iBAEV,EACAR,EAAKiC,YAAc,OACnBjC,EAAKkC,SAAU"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{css as r,cx as t}from"@leafygreen-ui/emotion";function l(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}function a(e,r,t){return(r=l(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var c,u,f={small:14,default:16,large:20,xlarge:24};var b=["className","size","title","aria-label","aria-labelledby","fill","role"],s=function(l){var s=l.className,p=l.size,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 "]))),E=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,"MultiDirectionArrow",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},E,C,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M5 8.57279V13.4272C5 13.9565 4.39241 14.2015 4.0721 13.8014L2.12898 11.3742C1.95701 11.1594 1.95701 10.8406 2.12898 10.6258L4.0721 8.19856C4.39241 7.79846 5 8.04351 5 8.57279Z",fill:"currentColor"}),e.createElement("path",{d:"M5 10H12.5C12.7761 10 13 10.2239 13 10.5V11.5C13 11.7761 12.7761 12 12.5 12H5V10Z",fill:"currentColor"}),e.createElement("path",{d:"M11 7.42721V2.57279C11 2.04351 11.6076 1.79846 11.9279 2.19856L13.871 4.62577C14.043 4.84058 14.043 5.15942 13.871 5.37423L11.9279 7.80144C11.6076 8.20154 11 7.95649 11 7.42721Z",fill:"currentColor"}),e.createElement("path",{d:"M3 4.5C3 4.22386 3.22386 4 3.5 4H11V6H3.5C3.22386 6 3 5.77614 3 5.5V4.5Z",fill:"currentColor"}))};s.displayName="MultiDirectionArrow",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"],d=f.fill,g=f.role,h=void 0===g?"img":g,C=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 "])),d),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:""}}}(h,"MultiDirectionArrow",l(l({title:p},"aria-label",v),"aria-labelledby",y));return e.createElement("svg",a({className:t(l({},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:"M5 8.57279V13.4272C5 13.9565 4.39241 14.2015 4.0721 13.8014L2.12898 11.3742C1.95701 11.1594 1.95701 10.8406 2.12898 10.6258L4.0721 8.19856C4.39241 7.79846 5 8.04351 5 8.57279Z",fill:"currentColor"}),e.createElement("path",{d:"M5 10H12.5C12.7761 10 13 10.2239 13 10.5V11.5C13 11.7761 12.7761 12 12.5 12H5V10Z",fill:"currentColor"}),e.createElement("path",{d:"M11 7.42721V2.57279C11 2.04351 11.6076 1.79846 11.9279 2.19856L13.871 4.62577C14.043 4.84058 14.043 5.15942 13.871 5.37423L11.9279 7.80144C11.6076 8.20154 11 7.95649 11 7.42721Z",fill:"currentColor"}),e.createElement("path",{d:"M3 4.5C3 4.22386 3.22386 4 3.5 4H11V6H3.5C3.22386 6 3 5.77614 3 5.5V4.5Z",fill:"currentColor"}))};f.displayName="MultiDirectionArrow",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=MultiDirectionArrow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiDirectionArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/MultiDirectionArrow.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 77603d32d4470d55851a63a629db65b1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MultiDirectionArrowProps extends LGGlyph.ComponentProps {}\nconst MultiDirectionArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MultiDirectionArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MultiDirectionArrow', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M5 8.57279V13.4272C5 13.9565 4.39241 14.2015 4.0721 13.8014L2.12898 11.3742C1.95701 11.1594 1.95701 10.8406 2.12898 10.6258L4.0721 8.19856C4.39241 7.79846 5 8.04351 5 8.57279Z\" fill={'currentColor'} /><path d=\"M5 10H12.5C12.7761 10 13 10.2239 13 10.5V11.5C13 11.7761 12.7761 12 12.5 12H5V10Z\" fill={'currentColor'} /><path d=\"M11 7.42721V2.57279C11 2.04351 11.6076 1.79846 11.9279 2.19856L13.871 4.62577C14.043 4.84058 14.043 5.15942 13.871 5.37423L11.9279 7.80144C11.6076 8.20154 11 7.95649 11 7.42721Z\" fill={'currentColor'} /><path d=\"M3 4.5C3 4.22386 3.22386 4 3.5 4H11V6H3.5C3.22386 6 3 5.77614 3 5.5V4.5Z\" fill={'currentColor'} /></svg>;\n};\nMultiDirectionArrow.displayName = 'MultiDirectionArrow';\nMultiDirectionArrow.isGlyph = true;\nexport default MultiDirectionArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MultiDirectionArrow","_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,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,EAAG,kLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oFACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2EACHxB,KAAM,iBAEV,EACAR,EAAoBiC,YAAc,sBAClCjC,EAAoBkC,SAAU"}
1
+ {"version":3,"file":"MultiDirectionArrow.js","sources":["../../src/glyphCommon.ts","../../src/generated/MultiDirectionArrow.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 77603d32d4470d55851a63a629db65b1\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MultiDirectionArrowProps extends LGGlyph.ComponentProps {}\nconst MultiDirectionArrow = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MultiDirectionArrowProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MultiDirectionArrow', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M5 8.57279V13.4272C5 13.9565 4.39241 14.2015 4.0721 13.8014L2.12898 11.3742C1.95701 11.1594 1.95701 10.8406 2.12898 10.6258L4.0721 8.19856C4.39241 7.79846 5 8.04351 5 8.57279Z\" fill={'currentColor'} /><path d=\"M5 10H12.5C12.7761 10 13 10.2239 13 10.5V11.5C13 11.7761 12.7761 12 12.5 12H5V10Z\" fill={'currentColor'} /><path d=\"M11 7.42721V2.57279C11 2.04351 11.6076 1.79846 11.9279 2.19856L13.871 4.62577C14.043 4.84058 14.043 5.15942 13.871 5.37423L11.9279 7.80144C11.6076 8.20154 11 7.95649 11 7.42721Z\" fill={'currentColor'} /><path d=\"M3 4.5C3 4.22386 3.22386 4 3.5 4H11V6H3.5C3.22386 6 3 5.77614 3 5.5V4.5Z\" fill={'currentColor'} /></svg>;\n};\nMultiDirectionArrow.displayName = 'MultiDirectionArrow';\nMultiDirectionArrow.isGlyph = true;\nexport default MultiDirectionArrow;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MultiDirectionArrow","_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,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,EAAG,kLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oFACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,oLACHxB,KAAM,iBACSiB,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,2EACHxB,KAAM,iBAEV,EACAR,EAAoBiC,YAAc,sBAClCjC,EAAoBkC,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,c={small:14,default:16,large:20,xlarge:24};var L=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(a){var f=a.className,b=a.size,s=void 0===b?16:b,y=a.title,p=a["aria-label"],m=a["aria-labelledby"],v=a.fill,d=a.role,g=void 0===d?"img":d,O=n(a,L),h=r(C||(C=o(["\n color: ",";\n "])),v),j=r(u||(u=o(["\n flex-shrink: 0;\n "]))),w=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,"MultiLayers",l(l({title:y},"aria-label",p),"aria-labelledby",m));return e.createElement("svg",i({className:t(l({},h,null!=v),j,f),height:"number"==typeof s?s:c[s],width:"number"==typeof s?s:c[s],role:g},w,O,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M12.4311 9.74514L12.1717 9.62373L12.4311 9.50233C12.7321 9.3607 13.0019 9.15837 13.1887 8.90545C13.3858 8.65253 13.5 8.32879 13.5 8.00506C13.5 7.68132 13.3858 7.3677 13.1887 7.10467C12.9915 6.85175 12.7321 6.64942 12.4311 6.50778L12.1406 6.36615L12.3585 6.26498C12.6594 6.12335 12.9292 5.92101 13.116 5.66809C13.3132 5.41517 13.4274 5.09144 13.4274 4.7677C13.4274 4.44397 13.3132 4.13035 13.116 3.86732C12.9189 3.6144 12.6594 3.41206 12.3585 3.27043L9.1934 1.76303C8.79906 1.58093 8.38396 1.5 7.96887 1.5C7.55377 1.5 7.1283 1.58093 6.74434 1.76303L3.56887 3.27043C3.26792 3.41206 2.99811 3.6144 2.81132 3.86732C2.61415 4.12023 2.5 4.44397 2.5 4.7677C2.5 5.09144 2.61415 5.40506 2.81132 5.66809C3.00849 5.92101 3.26792 6.12335 3.56887 6.26498L3.85943 6.40661L3.64151 6.50778C3.34057 6.64942 3.07075 6.85175 2.88396 7.10467C2.68679 7.35759 2.57264 7.68132 2.57264 8.00506C2.57264 8.32879 2.68679 8.64241 2.88396 8.90545C3.08113 9.15837 3.34057 9.3607 3.64151 9.50233L3.90094 9.62373L3.64151 9.74514C3.34057 9.88677 3.07075 10.0891 2.88396 10.342C2.68679 10.5949 2.57264 10.9187 2.57264 11.2424C2.57264 11.5661 2.68679 11.8798 2.88396 12.1428C3.08113 12.3957 3.34057 12.5981 3.64151 12.7397L6.8066 14.237C7.19057 14.4191 7.61604 14.5 8.03113 14.5C8.44623 14.5 8.8717 14.4191 9.25566 14.237L12.4208 12.7397C12.7217 12.5981 12.9915 12.3957 13.1783 12.1428C13.3755 11.8899 13.4896 11.5661 13.4896 11.2424C13.4896 10.9187 13.3755 10.6051 13.1783 10.342C12.9811 10.0891 12.7217 9.88677 12.4208 9.74514H12.4311ZM8.04151 12.9926C7.83396 12.9926 7.63679 12.9521 7.50189 12.8813L4.33679 11.384C4.22264 11.3335 4.17075 11.2728 4.15 11.2525L4.17075 11.2323L4.33679 11.121L5.69623 10.4837L6.82736 11.0198C7.21132 11.2019 7.63679 11.2829 8.05189 11.2829C8.46698 11.2829 8.89245 11.2019 9.27642 11.0198L10.4075 10.4837L11.767 11.121C11.8811 11.1716 11.933 11.2323 11.9538 11.2525L11.933 11.2728L11.767 11.384L8.60189 12.8813C8.4566 12.9521 8.25943 12.9926 8.06226 12.9926H8.04151ZM4.13962 8.00506L4.16038 7.98482L4.32642 7.87354L5.64434 7.2463L6.74434 7.76226C7.1283 7.94436 7.55377 8.02529 7.96887 8.02529C8.38396 8.02529 8.80943 7.94436 9.1934 7.76226L10.366 7.20584L11.7566 7.86342C11.8708 7.91401 11.9226 7.97471 11.9434 7.99494L11.9226 8.01517L11.7566 8.12646L8.59151 9.62373C8.44623 9.69455 8.24906 9.73502 8.05189 9.73502C7.84434 9.73502 7.64717 9.69455 7.51226 9.62373L4.34717 8.12646C4.23302 8.07588 4.18113 8.01517 4.16038 7.99494L4.13962 8.00506ZM4.06698 4.7677L4.08774 4.74747L4.25377 4.63619L7.41887 3.13891C7.56415 3.06809 7.76132 3.02763 7.95849 3.02763C8.16604 3.02763 8.36321 3.06809 8.49811 3.13891L11.6632 4.63619C11.7774 4.68677 11.8292 4.74747 11.85 4.7677L11.8292 4.78794L11.6632 4.89922L8.49811 6.3965C8.35283 6.46731 8.15566 6.50778 7.95849 6.50778C7.75094 6.50778 7.55377 6.46731 7.41887 6.3965L4.25377 4.89922C4.13962 4.84864 4.08774 4.78794 4.06698 4.7677Z",fill:"currentColor"}))};f.displayName="MultiLayers",f.isGlyph=!0;export{f as default};
1
+ import*as e from"react";import{css as r,cx as a}from"@leafygreen-ui/emotion";function t(e,r,a){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var t=a.call(e,r);if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)({}).hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},l.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,C={small:14,default:16,large:20,xlarge:24};var u=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var L=f.className,c=f.size,b=void 0===c?16:c,s=f.title,y=f["aria-label"],m=f["aria-labelledby"],p=f.fill,v=f.role,d=void 0===v?"img":v,g=function(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==r.indexOf(t))continue;a[t]=e[t]}return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)a=i[t],-1===r.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}(f,u),O=r(n||(n=i(["\n color: ",";\n "])),p),h=r(o||(o=i(["\n flex-shrink: 0;\n "]))),w=function(e,r,a){var l,i=a["aria-label"],n=a["aria-labelledby"],o=a.title;switch(e){case"img":return i||n||o?t(t(t({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(l=r,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(d,"MultiLayers",t(t({title:s},"aria-label",y),"aria-labelledby",m));return e.createElement("svg",l({className:a(t({},O,null!=p),h,L),height:"number"==typeof b?b:C[b],width:"number"==typeof b?b:C[b],role:d},w,g,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M12.4311 9.74514L12.1717 9.62373L12.4311 9.50233C12.7321 9.3607 13.0019 9.15837 13.1887 8.90545C13.3858 8.65253 13.5 8.32879 13.5 8.00506C13.5 7.68132 13.3858 7.3677 13.1887 7.10467C12.9915 6.85175 12.7321 6.64942 12.4311 6.50778L12.1406 6.36615L12.3585 6.26498C12.6594 6.12335 12.9292 5.92101 13.116 5.66809C13.3132 5.41517 13.4274 5.09144 13.4274 4.7677C13.4274 4.44397 13.3132 4.13035 13.116 3.86732C12.9189 3.6144 12.6594 3.41206 12.3585 3.27043L9.1934 1.76303C8.79906 1.58093 8.38396 1.5 7.96887 1.5C7.55377 1.5 7.1283 1.58093 6.74434 1.76303L3.56887 3.27043C3.26792 3.41206 2.99811 3.6144 2.81132 3.86732C2.61415 4.12023 2.5 4.44397 2.5 4.7677C2.5 5.09144 2.61415 5.40506 2.81132 5.66809C3.00849 5.92101 3.26792 6.12335 3.56887 6.26498L3.85943 6.40661L3.64151 6.50778C3.34057 6.64942 3.07075 6.85175 2.88396 7.10467C2.68679 7.35759 2.57264 7.68132 2.57264 8.00506C2.57264 8.32879 2.68679 8.64241 2.88396 8.90545C3.08113 9.15837 3.34057 9.3607 3.64151 9.50233L3.90094 9.62373L3.64151 9.74514C3.34057 9.88677 3.07075 10.0891 2.88396 10.342C2.68679 10.5949 2.57264 10.9187 2.57264 11.2424C2.57264 11.5661 2.68679 11.8798 2.88396 12.1428C3.08113 12.3957 3.34057 12.5981 3.64151 12.7397L6.8066 14.237C7.19057 14.4191 7.61604 14.5 8.03113 14.5C8.44623 14.5 8.8717 14.4191 9.25566 14.237L12.4208 12.7397C12.7217 12.5981 12.9915 12.3957 13.1783 12.1428C13.3755 11.8899 13.4896 11.5661 13.4896 11.2424C13.4896 10.9187 13.3755 10.6051 13.1783 10.342C12.9811 10.0891 12.7217 9.88677 12.4208 9.74514H12.4311ZM8.04151 12.9926C7.83396 12.9926 7.63679 12.9521 7.50189 12.8813L4.33679 11.384C4.22264 11.3335 4.17075 11.2728 4.15 11.2525L4.17075 11.2323L4.33679 11.121L5.69623 10.4837L6.82736 11.0198C7.21132 11.2019 7.63679 11.2829 8.05189 11.2829C8.46698 11.2829 8.89245 11.2019 9.27642 11.0198L10.4075 10.4837L11.767 11.121C11.8811 11.1716 11.933 11.2323 11.9538 11.2525L11.933 11.2728L11.767 11.384L8.60189 12.8813C8.4566 12.9521 8.25943 12.9926 8.06226 12.9926H8.04151ZM4.13962 8.00506L4.16038 7.98482L4.32642 7.87354L5.64434 7.2463L6.74434 7.76226C7.1283 7.94436 7.55377 8.02529 7.96887 8.02529C8.38396 8.02529 8.80943 7.94436 9.1934 7.76226L10.366 7.20584L11.7566 7.86342C11.8708 7.91401 11.9226 7.97471 11.9434 7.99494L11.9226 8.01517L11.7566 8.12646L8.59151 9.62373C8.44623 9.69455 8.24906 9.73502 8.05189 9.73502C7.84434 9.73502 7.64717 9.69455 7.51226 9.62373L4.34717 8.12646C4.23302 8.07588 4.18113 8.01517 4.16038 7.99494L4.13962 8.00506ZM4.06698 4.7677L4.08774 4.74747L4.25377 4.63619L7.41887 3.13891C7.56415 3.06809 7.76132 3.02763 7.95849 3.02763C8.16604 3.02763 8.36321 3.06809 8.49811 3.13891L11.6632 4.63619C11.7774 4.68677 11.8292 4.74747 11.85 4.7677L11.8292 4.78794L11.6632 4.89922L8.49811 6.3965C8.35283 6.46731 8.15566 6.50778 7.95849 6.50778C7.75094 6.50778 7.55377 6.46731 7.41887 6.3965L4.25377 4.89922C4.13962 4.84864 4.08774 4.78794 4.06698 4.7677Z",fill:"currentColor"}))};f.displayName="MultiLayers",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=MultiLayers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiLayers.js","sources":["../../src/glyphCommon.ts","../../src/generated/MultiLayers.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 62ac103f1c43afcaa00eec5fcd9a36a9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MultiLayersProps extends LGGlyph.ComponentProps {}\nconst MultiLayers = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MultiLayersProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MultiLayers', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M12.4311 9.74514L12.1717 9.62373L12.4311 9.50233C12.7321 9.3607 13.0019 9.15837 13.1887 8.90545C13.3858 8.65253 13.5 8.32879 13.5 8.00506C13.5 7.68132 13.3858 7.3677 13.1887 7.10467C12.9915 6.85175 12.7321 6.64942 12.4311 6.50778L12.1406 6.36615L12.3585 6.26498C12.6594 6.12335 12.9292 5.92101 13.116 5.66809C13.3132 5.41517 13.4274 5.09144 13.4274 4.7677C13.4274 4.44397 13.3132 4.13035 13.116 3.86732C12.9189 3.6144 12.6594 3.41206 12.3585 3.27043L9.1934 1.76303C8.79906 1.58093 8.38396 1.5 7.96887 1.5C7.55377 1.5 7.1283 1.58093 6.74434 1.76303L3.56887 3.27043C3.26792 3.41206 2.99811 3.6144 2.81132 3.86732C2.61415 4.12023 2.5 4.44397 2.5 4.7677C2.5 5.09144 2.61415 5.40506 2.81132 5.66809C3.00849 5.92101 3.26792 6.12335 3.56887 6.26498L3.85943 6.40661L3.64151 6.50778C3.34057 6.64942 3.07075 6.85175 2.88396 7.10467C2.68679 7.35759 2.57264 7.68132 2.57264 8.00506C2.57264 8.32879 2.68679 8.64241 2.88396 8.90545C3.08113 9.15837 3.34057 9.3607 3.64151 9.50233L3.90094 9.62373L3.64151 9.74514C3.34057 9.88677 3.07075 10.0891 2.88396 10.342C2.68679 10.5949 2.57264 10.9187 2.57264 11.2424C2.57264 11.5661 2.68679 11.8798 2.88396 12.1428C3.08113 12.3957 3.34057 12.5981 3.64151 12.7397L6.8066 14.237C7.19057 14.4191 7.61604 14.5 8.03113 14.5C8.44623 14.5 8.8717 14.4191 9.25566 14.237L12.4208 12.7397C12.7217 12.5981 12.9915 12.3957 13.1783 12.1428C13.3755 11.8899 13.4896 11.5661 13.4896 11.2424C13.4896 10.9187 13.3755 10.6051 13.1783 10.342C12.9811 10.0891 12.7217 9.88677 12.4208 9.74514H12.4311ZM8.04151 12.9926C7.83396 12.9926 7.63679 12.9521 7.50189 12.8813L4.33679 11.384C4.22264 11.3335 4.17075 11.2728 4.15 11.2525L4.17075 11.2323L4.33679 11.121L5.69623 10.4837L6.82736 11.0198C7.21132 11.2019 7.63679 11.2829 8.05189 11.2829C8.46698 11.2829 8.89245 11.2019 9.27642 11.0198L10.4075 10.4837L11.767 11.121C11.8811 11.1716 11.933 11.2323 11.9538 11.2525L11.933 11.2728L11.767 11.384L8.60189 12.8813C8.4566 12.9521 8.25943 12.9926 8.06226 12.9926H8.04151ZM4.13962 8.00506L4.16038 7.98482L4.32642 7.87354L5.64434 7.2463L6.74434 7.76226C7.1283 7.94436 7.55377 8.02529 7.96887 8.02529C8.38396 8.02529 8.80943 7.94436 9.1934 7.76226L10.366 7.20584L11.7566 7.86342C11.8708 7.91401 11.9226 7.97471 11.9434 7.99494L11.9226 8.01517L11.7566 8.12646L8.59151 9.62373C8.44623 9.69455 8.24906 9.73502 8.05189 9.73502C7.84434 9.73502 7.64717 9.69455 7.51226 9.62373L4.34717 8.12646C4.23302 8.07588 4.18113 8.01517 4.16038 7.99494L4.13962 8.00506ZM4.06698 4.7677L4.08774 4.74747L4.25377 4.63619L7.41887 3.13891C7.56415 3.06809 7.76132 3.02763 7.95849 3.02763C8.16604 3.02763 8.36321 3.06809 8.49811 3.13891L11.6632 4.63619C11.7774 4.68677 11.8292 4.74747 11.85 4.7677L11.8292 4.78794L11.6632 4.89922L8.49811 6.3965C8.35283 6.46731 8.15566 6.50778 7.95849 6.50778C7.75094 6.50778 7.55377 6.46731 7.41887 6.3965L4.25377 4.89922C4.13962 4.84864 4.08774 4.78794 4.06698 4.7677Z\" fill={'currentColor'} /></svg>;\n};\nMultiLayers.displayName = 'MultiLayers';\nMultiLayers.isGlyph = true;\nexport default MultiLayers;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MultiLayers","_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,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,EAAG,qzFACHxB,KAAM,iBAEV,EACAR,EAAYiC,YAAc,cAC1BjC,EAAYkC,SAAU"}
1
+ {"version":3,"file":"MultiLayers.js","sources":["../../src/glyphCommon.ts","../../src/generated/MultiLayers.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 62ac103f1c43afcaa00eec5fcd9a36a9\n*/\nimport * as React from \"react\";\nimport { css, cx } from '@leafygreen-ui/emotion';\nimport { generateAccessibleProps, sizeMap } from '../glyphCommon';\nimport { LGGlyph } from '../types';\nexport interface MultiLayersProps extends LGGlyph.ComponentProps {}\nconst MultiLayers = ({\n className,\n size = 16,\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby,\n fill,\n role = 'img',\n ...props\n}: MultiLayersProps) => {\n const fillStyle = css`\n color: ${fill};\n `;\n const noFlexShrink = css`\n flex-shrink: 0;\n `;\n const accessibleProps = generateAccessibleProps(role, 'MultiLayers', {\n title,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledby\n });\n return <svg className={cx({\n [fillStyle]: fill != null\n }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox=\"0 0 16 16\"><path d=\"M12.4311 9.74514L12.1717 9.62373L12.4311 9.50233C12.7321 9.3607 13.0019 9.15837 13.1887 8.90545C13.3858 8.65253 13.5 8.32879 13.5 8.00506C13.5 7.68132 13.3858 7.3677 13.1887 7.10467C12.9915 6.85175 12.7321 6.64942 12.4311 6.50778L12.1406 6.36615L12.3585 6.26498C12.6594 6.12335 12.9292 5.92101 13.116 5.66809C13.3132 5.41517 13.4274 5.09144 13.4274 4.7677C13.4274 4.44397 13.3132 4.13035 13.116 3.86732C12.9189 3.6144 12.6594 3.41206 12.3585 3.27043L9.1934 1.76303C8.79906 1.58093 8.38396 1.5 7.96887 1.5C7.55377 1.5 7.1283 1.58093 6.74434 1.76303L3.56887 3.27043C3.26792 3.41206 2.99811 3.6144 2.81132 3.86732C2.61415 4.12023 2.5 4.44397 2.5 4.7677C2.5 5.09144 2.61415 5.40506 2.81132 5.66809C3.00849 5.92101 3.26792 6.12335 3.56887 6.26498L3.85943 6.40661L3.64151 6.50778C3.34057 6.64942 3.07075 6.85175 2.88396 7.10467C2.68679 7.35759 2.57264 7.68132 2.57264 8.00506C2.57264 8.32879 2.68679 8.64241 2.88396 8.90545C3.08113 9.15837 3.34057 9.3607 3.64151 9.50233L3.90094 9.62373L3.64151 9.74514C3.34057 9.88677 3.07075 10.0891 2.88396 10.342C2.68679 10.5949 2.57264 10.9187 2.57264 11.2424C2.57264 11.5661 2.68679 11.8798 2.88396 12.1428C3.08113 12.3957 3.34057 12.5981 3.64151 12.7397L6.8066 14.237C7.19057 14.4191 7.61604 14.5 8.03113 14.5C8.44623 14.5 8.8717 14.4191 9.25566 14.237L12.4208 12.7397C12.7217 12.5981 12.9915 12.3957 13.1783 12.1428C13.3755 11.8899 13.4896 11.5661 13.4896 11.2424C13.4896 10.9187 13.3755 10.6051 13.1783 10.342C12.9811 10.0891 12.7217 9.88677 12.4208 9.74514H12.4311ZM8.04151 12.9926C7.83396 12.9926 7.63679 12.9521 7.50189 12.8813L4.33679 11.384C4.22264 11.3335 4.17075 11.2728 4.15 11.2525L4.17075 11.2323L4.33679 11.121L5.69623 10.4837L6.82736 11.0198C7.21132 11.2019 7.63679 11.2829 8.05189 11.2829C8.46698 11.2829 8.89245 11.2019 9.27642 11.0198L10.4075 10.4837L11.767 11.121C11.8811 11.1716 11.933 11.2323 11.9538 11.2525L11.933 11.2728L11.767 11.384L8.60189 12.8813C8.4566 12.9521 8.25943 12.9926 8.06226 12.9926H8.04151ZM4.13962 8.00506L4.16038 7.98482L4.32642 7.87354L5.64434 7.2463L6.74434 7.76226C7.1283 7.94436 7.55377 8.02529 7.96887 8.02529C8.38396 8.02529 8.80943 7.94436 9.1934 7.76226L10.366 7.20584L11.7566 7.86342C11.8708 7.91401 11.9226 7.97471 11.9434 7.99494L11.9226 8.01517L11.7566 8.12646L8.59151 9.62373C8.44623 9.69455 8.24906 9.73502 8.05189 9.73502C7.84434 9.73502 7.64717 9.69455 7.51226 9.62373L4.34717 8.12646C4.23302 8.07588 4.18113 8.01517 4.16038 7.99494L4.13962 8.00506ZM4.06698 4.7677L4.08774 4.74747L4.25377 4.63619L7.41887 3.13891C7.56415 3.06809 7.76132 3.02763 7.95849 3.02763C8.16604 3.02763 8.36321 3.06809 8.49811 3.13891L11.6632 4.63619C11.7774 4.68677 11.8292 4.74747 11.85 4.7677L11.8292 4.78794L11.6632 4.89922L8.49811 6.3965C8.35283 6.46731 8.15566 6.50778 7.95849 6.50778C7.75094 6.50778 7.55377 6.46731 7.41887 6.3965L4.25377 4.89922C4.13962 4.84864 4.08774 4.78794 4.06698 4.7677Z\" fill={'currentColor'} /></svg>;\n};\nMultiLayers.displayName = 'MultiLayers';\nMultiLayers.isGlyph = true;\nexport default MultiLayers;"],"names":["_templateObject","_templateObject2","sizeMap","small","default","large","xlarge","_excluded","MultiLayers","_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,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,EAAG,qzFACHxB,KAAM,iBAEV,EACAR,EAAYiC,YAAc,cAC1BjC,EAAYkC,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,m=l.title,y=l["aria-label"],d=l["aria-labelledby"],g=l.fill,C=l.role,O=void 0===C?"img":C,h=n(l,b),j=r(c||(c=o(["\n color: ",";\n "])),g),w=r(u||(u=o(["\n flex-shrink: 0;\n "]))),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,"NavCollapse",a(a({title:m},"aria-label",y),"aria-labelledby",d));return e.createElement("svg",i({className:t(a({},j,null!=g),w,s),height:"number"==typeof v?v:f[v],width:"number"==typeof v?v:f[v],role:O},L,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.3891 4.81802C11.1938 4.62275 10.8772 4.62275 10.682 4.81802L7.85354 7.64644C7.65828 7.84171 7.65828 8.15829 7.85354 8.35355L10.682 11.182C10.8772 11.3772 11.1938 11.3772 11.3891 11.182L11.7426 10.8284C11.9379 10.6331 11.9379 10.3166 11.7426 10.1213L9.62131 8L11.7426 5.87868C11.9379 5.68342 11.9379 5.36683 11.7426 5.17157L11.3891 4.81802Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 1C2.34315 1 1 2.34315 1 4V12C1 13.6569 2.34315 15 4 15H12C13.6569 15 15 13.6569 15 12V4C15 2.34315 13.6569 1 12 1H4ZM5 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V12C2.5 12.8284 3.17157 13.5 4 13.5H5L5 2.5ZM6.5 2.5L6.5 13.5H12C12.8284 13.5 13.5 12.8284 13.5 12V4C13.5 3.17157 12.8284 2.5 12 2.5H6.5Z",fill:"currentColor"}))};s.displayName="NavCollapse",s.isGlyph=!0;export{s as default};
1
+ import*as e from"react";import{css as r,cx as l}from"@leafygreen-ui/emotion";function a(e,r,l){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var a=l.call(e,r);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},t.apply(null,arguments)}function i(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n,o,u={small:14,default:16,large:20,xlarge:24};var c=["className","size","title","aria-label","aria-labelledby","fill","role"],f=function(f){var b=f.className,s=f.size,p=void 0===s?16:s,v=f.title,m=f["aria-label"],d=f["aria-labelledby"],y=f.fill,g=f.role,C=void 0===g?"img":g,h=function(e,r){if(null==e)return{};var l,a,t=function(e,r){if(null==e)return{};var l={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==r.indexOf(a))continue;l[a]=e[a]}return l}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],-1===r.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}(f,c),O=r(n||(n=i(["\n color: ",";\n "])),y),w=r(o||(o=i(["\n flex-shrink: 0;\n "]))),j=function(e,r,l){var t,i=l["aria-label"],n=l["aria-labelledby"],o=l.title;switch(e){case"img":return i||n||o?a(a(a({},"aria-labelledby",n),"aria-label",i),"title",o):{"aria-label":(t=r,"".concat(t.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"NavCollapse",a(a({title:v},"aria-label",m),"aria-labelledby",d));return e.createElement("svg",t({className:l(a({},O,null!=y),w,b),height:"number"==typeof p?p:u[p],width:"number"==typeof p?p:u[p],role:C},j,h,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M11.3891 4.81802C11.1938 4.62275 10.8772 4.62275 10.682 4.81802L7.85354 7.64644C7.65828 7.84171 7.65828 8.15829 7.85354 8.35355L10.682 11.182C10.8772 11.3772 11.1938 11.3772 11.3891 11.182L11.7426 10.8284C11.9379 10.6331 11.9379 10.3166 11.7426 10.1213L9.62131 8L11.7426 5.87868C11.9379 5.68342 11.9379 5.36683 11.7426 5.17157L11.3891 4.81802Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 1C2.34315 1 1 2.34315 1 4V12C1 13.6569 2.34315 15 4 15H12C13.6569 15 15 13.6569 15 12V4C15 2.34315 13.6569 1 12 1H4ZM5 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V12C2.5 12.8284 3.17157 13.5 4 13.5H5L5 2.5ZM6.5 2.5L6.5 13.5H12C12.8284 13.5 13.5 12.8284 13.5 12V4C13.5 3.17157 12.8284 2.5 12 2.5H6.5Z",fill:"currentColor"}))};f.displayName="NavCollapse",f.isGlyph=!0;export{f as default};
2
2
  //# sourceMappingURL=NavCollapse.js.map