@loomidev/icons 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. package/README.md +156 -35
  2. package/custom-elements.json +274 -6
  3. package/dist/all.d.ts +2 -0
  4. package/dist/all.d.ts.map +1 -0
  5. package/dist/all.js +11 -0
  6. package/dist/all.js.map +1 -0
  7. package/dist/directive.d.ts +19 -0
  8. package/dist/directive.d.ts.map +1 -0
  9. package/dist/directive.js +39 -0
  10. package/dist/directive.js.map +1 -0
  11. package/dist/disk-icons.d.ts +22 -3
  12. package/dist/disk-icons.d.ts.map +1 -1
  13. package/dist/disk-icons.js +45 -18
  14. package/dist/disk-icons.js.map +1 -1
  15. package/dist/generated/sources/iconsax.d.ts +2 -0
  16. package/dist/generated/sources/iconsax.d.ts.map +1 -0
  17. package/dist/generated/sources/iconsax.js +20 -0
  18. package/dist/generated/sources/iconsax.js.map +1 -0
  19. package/dist/generated/sources/untitledui.d.ts +2 -0
  20. package/dist/generated/sources/untitledui.d.ts.map +1 -0
  21. package/dist/generated/sources/untitledui.js +12 -0
  22. package/dist/generated/sources/untitledui.js.map +1 -0
  23. package/dist/heroicons/icon-module.d.ts +5 -0
  24. package/dist/heroicons/loaders.js +656 -0
  25. package/dist/heroicons/names.js +3 -0
  26. package/dist/heroicons/outline/academic-cap.js +3 -0
  27. package/dist/heroicons/outline/adjustments-horizontal.js +3 -0
  28. package/dist/heroicons/outline/adjustments-vertical.js +3 -0
  29. package/dist/heroicons/outline/all.js +652 -0
  30. package/dist/heroicons/outline/archive-box-arrow-down.js +3 -0
  31. package/dist/heroicons/outline/archive-box-x-mark.js +3 -0
  32. package/dist/heroicons/outline/archive-box.js +3 -0
  33. package/dist/heroicons/outline/arrow-down-circle.js +3 -0
  34. package/dist/heroicons/outline/arrow-down-left.js +3 -0
  35. package/dist/heroicons/outline/arrow-down-on-square-stack.js +3 -0
  36. package/dist/heroicons/outline/arrow-down-on-square.js +3 -0
  37. package/dist/heroicons/outline/arrow-down-right.js +3 -0
  38. package/dist/heroicons/outline/arrow-down-tray.js +3 -0
  39. package/dist/heroicons/outline/arrow-down.js +3 -0
  40. package/dist/heroicons/outline/arrow-left-circle.js +3 -0
  41. package/dist/heroicons/outline/arrow-left-end-on-rectangle.js +3 -0
  42. package/dist/heroicons/outline/arrow-left-on-rectangle.js +3 -0
  43. package/dist/heroicons/outline/arrow-left-start-on-rectangle.js +3 -0
  44. package/dist/heroicons/outline/arrow-left.js +3 -0
  45. package/dist/heroicons/outline/arrow-long-down.js +3 -0
  46. package/dist/heroicons/outline/arrow-long-left.js +3 -0
  47. package/dist/heroicons/outline/arrow-long-right.js +3 -0
  48. package/dist/heroicons/outline/arrow-long-up.js +3 -0
  49. package/dist/heroicons/outline/arrow-path-rounded-square.js +3 -0
  50. package/dist/heroicons/outline/arrow-path.js +3 -0
  51. package/dist/heroicons/outline/arrow-right-circle.js +3 -0
  52. package/dist/heroicons/outline/arrow-right-end-on-rectangle.js +3 -0
  53. package/dist/heroicons/outline/arrow-right-on-rectangle.js +3 -0
  54. package/dist/heroicons/outline/arrow-right-start-on-rectangle.js +3 -0
  55. package/dist/heroicons/outline/arrow-right.js +3 -0
  56. package/dist/heroicons/outline/arrow-small-down.js +3 -0
  57. package/dist/heroicons/outline/arrow-small-left.js +3 -0
  58. package/dist/heroicons/outline/arrow-small-right.js +3 -0
  59. package/dist/heroicons/outline/arrow-small-up.js +3 -0
  60. package/dist/heroicons/outline/arrow-top-right-on-square.js +3 -0
  61. package/dist/heroicons/outline/arrow-trending-down.js +3 -0
  62. package/dist/heroicons/outline/arrow-trending-up.js +3 -0
  63. package/dist/heroicons/outline/arrow-turn-down-left.js +3 -0
  64. package/dist/heroicons/outline/arrow-turn-down-right.js +3 -0
  65. package/dist/heroicons/outline/arrow-turn-left-down.js +3 -0
  66. package/dist/heroicons/outline/arrow-turn-left-up.js +3 -0
  67. package/dist/heroicons/outline/arrow-turn-right-down.js +3 -0
  68. package/dist/heroicons/outline/arrow-turn-right-up.js +3 -0
  69. package/dist/heroicons/outline/arrow-turn-up-left.js +3 -0
  70. package/dist/heroicons/outline/arrow-turn-up-right.js +3 -0
  71. package/dist/heroicons/outline/arrow-up-circle.js +3 -0
  72. package/dist/heroicons/outline/arrow-up-left.js +3 -0
  73. package/dist/heroicons/outline/arrow-up-on-square-stack.js +3 -0
  74. package/dist/heroicons/outline/arrow-up-on-square.js +3 -0
  75. package/dist/heroicons/outline/arrow-up-right.js +3 -0
  76. package/dist/heroicons/outline/arrow-up-tray.js +3 -0
  77. package/dist/heroicons/outline/arrow-up.js +3 -0
  78. package/dist/heroicons/outline/arrow-uturn-down.js +3 -0
  79. package/dist/heroicons/outline/arrow-uturn-left.js +3 -0
  80. package/dist/heroicons/outline/arrow-uturn-right.js +3 -0
  81. package/dist/heroicons/outline/arrow-uturn-up.js +3 -0
  82. package/dist/heroicons/outline/arrows-pointing-in.js +3 -0
  83. package/dist/heroicons/outline/arrows-pointing-out.js +3 -0
  84. package/dist/heroicons/outline/arrows-right-left.js +3 -0
  85. package/dist/heroicons/outline/arrows-up-down.js +3 -0
  86. package/dist/heroicons/outline/at-symbol.js +3 -0
  87. package/dist/heroicons/outline/backspace.js +3 -0
  88. package/dist/heroicons/outline/backward.js +3 -0
  89. package/dist/heroicons/outline/banknotes.js +3 -0
  90. package/dist/heroicons/outline/bars-2.js +3 -0
  91. package/dist/heroicons/outline/bars-3-bottom-left.js +3 -0
  92. package/dist/heroicons/outline/bars-3-bottom-right.js +3 -0
  93. package/dist/heroicons/outline/bars-3-center-left.js +3 -0
  94. package/dist/heroicons/outline/bars-3.js +3 -0
  95. package/dist/heroicons/outline/bars-4.js +3 -0
  96. package/dist/heroicons/outline/bars-arrow-down.js +3 -0
  97. package/dist/heroicons/outline/bars-arrow-up.js +3 -0
  98. package/dist/heroicons/outline/battery-0.js +3 -0
  99. package/dist/heroicons/outline/battery-100.js +3 -0
  100. package/dist/heroicons/outline/battery-50.js +3 -0
  101. package/dist/heroicons/outline/beaker.js +3 -0
  102. package/dist/heroicons/outline/bell-alert.js +3 -0
  103. package/dist/heroicons/outline/bell-slash.js +3 -0
  104. package/dist/heroicons/outline/bell-snooze.js +3 -0
  105. package/dist/heroicons/outline/bell.js +3 -0
  106. package/dist/heroicons/outline/bold.js +3 -0
  107. package/dist/heroicons/outline/bolt-slash.js +3 -0
  108. package/dist/heroicons/outline/bolt.js +3 -0
  109. package/dist/heroicons/outline/book-open.js +3 -0
  110. package/dist/heroicons/outline/bookmark-slash.js +3 -0
  111. package/dist/heroicons/outline/bookmark-square.js +3 -0
  112. package/dist/heroicons/outline/bookmark.js +3 -0
  113. package/dist/heroicons/outline/briefcase.js +3 -0
  114. package/dist/heroicons/outline/bug-ant.js +3 -0
  115. package/dist/heroicons/outline/building-library.js +3 -0
  116. package/dist/heroicons/outline/building-office-2.js +3 -0
  117. package/dist/heroicons/outline/building-office.js +3 -0
  118. package/dist/heroicons/outline/building-storefront.js +3 -0
  119. package/dist/heroicons/outline/cake.js +3 -0
  120. package/dist/heroicons/outline/calculator.js +3 -0
  121. package/dist/heroicons/outline/calendar-date-range.js +3 -0
  122. package/dist/heroicons/outline/calendar-days.js +3 -0
  123. package/dist/heroicons/outline/calendar.js +3 -0
  124. package/dist/heroicons/outline/camera.js +3 -0
  125. package/dist/heroicons/outline/chart-bar-square.js +3 -0
  126. package/dist/heroicons/outline/chart-bar.js +3 -0
  127. package/dist/heroicons/outline/chart-pie.js +3 -0
  128. package/dist/heroicons/outline/chat-bubble-bottom-center-text.js +3 -0
  129. package/dist/heroicons/outline/chat-bubble-bottom-center.js +3 -0
  130. package/dist/heroicons/outline/chat-bubble-left-ellipsis.js +3 -0
  131. package/dist/heroicons/outline/chat-bubble-left-right.js +3 -0
  132. package/dist/heroicons/outline/chat-bubble-left.js +3 -0
  133. package/dist/heroicons/outline/chat-bubble-oval-left-ellipsis.js +3 -0
  134. package/dist/heroicons/outline/chat-bubble-oval-left.js +3 -0
  135. package/dist/heroicons/outline/check-badge.js +3 -0
  136. package/dist/heroicons/outline/check-circle.js +3 -0
  137. package/dist/heroicons/outline/check.js +3 -0
  138. package/dist/heroicons/outline/chevron-double-down.js +3 -0
  139. package/dist/heroicons/outline/chevron-double-left.js +3 -0
  140. package/dist/heroicons/outline/chevron-double-right.js +3 -0
  141. package/dist/heroicons/outline/chevron-double-up.js +3 -0
  142. package/dist/heroicons/outline/chevron-down.js +3 -0
  143. package/dist/heroicons/outline/chevron-left.js +3 -0
  144. package/dist/heroicons/outline/chevron-right.js +3 -0
  145. package/dist/heroicons/outline/chevron-up-down.js +3 -0
  146. package/dist/heroicons/outline/chevron-up.js +3 -0
  147. package/dist/heroicons/outline/circle-stack.js +3 -0
  148. package/dist/heroicons/outline/clipboard-document-check.js +3 -0
  149. package/dist/heroicons/outline/clipboard-document-list.js +3 -0
  150. package/dist/heroicons/outline/clipboard-document.js +3 -0
  151. package/dist/heroicons/outline/clipboard.js +3 -0
  152. package/dist/heroicons/outline/clock.js +3 -0
  153. package/dist/heroicons/outline/cloud-arrow-down.js +3 -0
  154. package/dist/heroicons/outline/cloud-arrow-up.js +3 -0
  155. package/dist/heroicons/outline/cloud.js +3 -0
  156. package/dist/heroicons/outline/code-bracket-square.js +3 -0
  157. package/dist/heroicons/outline/code-bracket.js +3 -0
  158. package/dist/heroicons/outline/cog-6-tooth.js +3 -0
  159. package/dist/heroicons/outline/cog-8-tooth.js +3 -0
  160. package/dist/heroicons/outline/cog.js +3 -0
  161. package/dist/heroicons/outline/command-line.js +3 -0
  162. package/dist/heroicons/outline/computer-desktop.js +3 -0
  163. package/dist/heroicons/outline/cpu-chip.js +3 -0
  164. package/dist/heroicons/outline/credit-card.js +3 -0
  165. package/dist/heroicons/outline/cube-transparent.js +3 -0
  166. package/dist/heroicons/outline/cube.js +3 -0
  167. package/dist/heroicons/outline/currency-bangladeshi.js +3 -0
  168. package/dist/heroicons/outline/currency-dollar.js +3 -0
  169. package/dist/heroicons/outline/currency-euro.js +3 -0
  170. package/dist/heroicons/outline/currency-pound.js +3 -0
  171. package/dist/heroicons/outline/currency-rupee.js +3 -0
  172. package/dist/heroicons/outline/currency-yen.js +3 -0
  173. package/dist/heroicons/outline/cursor-arrow-rays.js +3 -0
  174. package/dist/heroicons/outline/cursor-arrow-ripple.js +3 -0
  175. package/dist/heroicons/outline/device-phone-mobile.js +3 -0
  176. package/dist/heroicons/outline/device-tablet.js +3 -0
  177. package/dist/heroicons/outline/divide.js +3 -0
  178. package/dist/heroicons/outline/document-arrow-down.js +3 -0
  179. package/dist/heroicons/outline/document-arrow-up.js +3 -0
  180. package/dist/heroicons/outline/document-chart-bar.js +3 -0
  181. package/dist/heroicons/outline/document-check.js +3 -0
  182. package/dist/heroicons/outline/document-currency-bangladeshi.js +3 -0
  183. package/dist/heroicons/outline/document-currency-dollar.js +3 -0
  184. package/dist/heroicons/outline/document-currency-euro.js +3 -0
  185. package/dist/heroicons/outline/document-currency-pound.js +3 -0
  186. package/dist/heroicons/outline/document-currency-rupee.js +3 -0
  187. package/dist/heroicons/outline/document-currency-yen.js +3 -0
  188. package/dist/heroicons/outline/document-duplicate.js +3 -0
  189. package/dist/heroicons/outline/document-magnifying-glass.js +3 -0
  190. package/dist/heroicons/outline/document-minus.js +3 -0
  191. package/dist/heroicons/outline/document-plus.js +3 -0
  192. package/dist/heroicons/outline/document-text.js +3 -0
  193. package/dist/heroicons/outline/document.js +3 -0
  194. package/dist/heroicons/outline/ellipsis-horizontal-circle.js +3 -0
  195. package/dist/heroicons/outline/ellipsis-horizontal.js +3 -0
  196. package/dist/heroicons/outline/ellipsis-vertical.js +3 -0
  197. package/dist/heroicons/outline/envelope-open.js +3 -0
  198. package/dist/heroicons/outline/envelope.js +3 -0
  199. package/dist/heroicons/outline/equals.js +3 -0
  200. package/dist/heroicons/outline/exclamation-circle.js +3 -0
  201. package/dist/heroicons/outline/exclamation-triangle.js +3 -0
  202. package/dist/heroicons/outline/eye-dropper.js +3 -0
  203. package/dist/heroicons/outline/eye-slash.js +3 -0
  204. package/dist/heroicons/outline/eye.js +3 -0
  205. package/dist/heroicons/outline/face-frown.js +3 -0
  206. package/dist/heroicons/outline/face-smile.js +3 -0
  207. package/dist/heroicons/outline/film.js +3 -0
  208. package/dist/heroicons/outline/finger-print.js +3 -0
  209. package/dist/heroicons/outline/fire.js +3 -0
  210. package/dist/heroicons/outline/flag.js +3 -0
  211. package/dist/heroicons/outline/folder-arrow-down.js +3 -0
  212. package/dist/heroicons/outline/folder-minus.js +3 -0
  213. package/dist/heroicons/outline/folder-open.js +3 -0
  214. package/dist/heroicons/outline/folder-plus.js +3 -0
  215. package/dist/heroicons/outline/folder.js +3 -0
  216. package/dist/heroicons/outline/forward.js +3 -0
  217. package/dist/heroicons/outline/funnel.js +3 -0
  218. package/dist/heroicons/outline/gif.js +3 -0
  219. package/dist/heroicons/outline/gift-top.js +3 -0
  220. package/dist/heroicons/outline/gift.js +3 -0
  221. package/dist/heroicons/outline/globe-alt.js +3 -0
  222. package/dist/heroicons/outline/globe-americas.js +3 -0
  223. package/dist/heroicons/outline/globe-asia-australia.js +3 -0
  224. package/dist/heroicons/outline/globe-europe-africa.js +3 -0
  225. package/dist/heroicons/outline/h-1.js +3 -0
  226. package/dist/heroicons/outline/h-2.js +3 -0
  227. package/dist/heroicons/outline/h-3.js +3 -0
  228. package/dist/heroicons/outline/hand-raised.js +3 -0
  229. package/dist/heroicons/outline/hand-thumb-down.js +3 -0
  230. package/dist/heroicons/outline/hand-thumb-up.js +3 -0
  231. package/dist/heroicons/outline/hashtag.js +3 -0
  232. package/dist/heroicons/outline/heart.js +3 -0
  233. package/dist/heroicons/outline/home-modern.js +3 -0
  234. package/dist/heroicons/outline/home.js +3 -0
  235. package/dist/heroicons/outline/identification.js +3 -0
  236. package/dist/heroicons/outline/inbox-arrow-down.js +3 -0
  237. package/dist/heroicons/outline/inbox-stack.js +3 -0
  238. package/dist/heroicons/outline/inbox.js +3 -0
  239. package/dist/heroicons/outline/information-circle.js +3 -0
  240. package/dist/heroicons/outline/italic.js +3 -0
  241. package/dist/heroicons/outline/key.js +3 -0
  242. package/dist/heroicons/outline/language.js +3 -0
  243. package/dist/heroicons/outline/lifebuoy.js +3 -0
  244. package/dist/heroicons/outline/light-bulb.js +3 -0
  245. package/dist/heroicons/outline/link-slash.js +3 -0
  246. package/dist/heroicons/outline/link.js +3 -0
  247. package/dist/heroicons/outline/list-bullet.js +3 -0
  248. package/dist/heroicons/outline/lock-closed.js +3 -0
  249. package/dist/heroicons/outline/lock-open.js +3 -0
  250. package/dist/heroicons/outline/magnifying-glass-circle.js +3 -0
  251. package/dist/heroicons/outline/magnifying-glass-minus.js +3 -0
  252. package/dist/heroicons/outline/magnifying-glass-plus.js +3 -0
  253. package/dist/heroicons/outline/magnifying-glass.js +3 -0
  254. package/dist/heroicons/outline/map-pin.js +3 -0
  255. package/dist/heroicons/outline/map.js +3 -0
  256. package/dist/heroicons/outline/megaphone.js +3 -0
  257. package/dist/heroicons/outline/microphone.js +3 -0
  258. package/dist/heroicons/outline/minus-circle.js +3 -0
  259. package/dist/heroicons/outline/minus-small.js +3 -0
  260. package/dist/heroicons/outline/minus.js +3 -0
  261. package/dist/heroicons/outline/moon.js +3 -0
  262. package/dist/heroicons/outline/musical-note.js +3 -0
  263. package/dist/heroicons/outline/newspaper.js +3 -0
  264. package/dist/heroicons/outline/no-symbol.js +3 -0
  265. package/dist/heroicons/outline/numbered-list.js +3 -0
  266. package/dist/heroicons/outline/paint-brush.js +3 -0
  267. package/dist/heroicons/outline/paper-airplane.js +3 -0
  268. package/dist/heroicons/outline/paper-clip.js +3 -0
  269. package/dist/heroicons/outline/pause-circle.js +3 -0
  270. package/dist/heroicons/outline/pause.js +3 -0
  271. package/dist/heroicons/outline/pencil-square.js +3 -0
  272. package/dist/heroicons/outline/pencil.js +3 -0
  273. package/dist/heroicons/outline/percent-badge.js +3 -0
  274. package/dist/heroicons/outline/phone-arrow-down-left.js +3 -0
  275. package/dist/heroicons/outline/phone-arrow-up-right.js +3 -0
  276. package/dist/heroicons/outline/phone-x-mark.js +3 -0
  277. package/dist/heroicons/outline/phone.js +3 -0
  278. package/dist/heroicons/outline/photo.js +3 -0
  279. package/dist/heroicons/outline/play-circle.js +3 -0
  280. package/dist/heroicons/outline/play-pause.js +3 -0
  281. package/dist/heroicons/outline/play.js +3 -0
  282. package/dist/heroicons/outline/plus-circle.js +3 -0
  283. package/dist/heroicons/outline/plus-small.js +3 -0
  284. package/dist/heroicons/outline/plus.js +3 -0
  285. package/dist/heroicons/outline/power.js +3 -0
  286. package/dist/heroicons/outline/presentation-chart-bar.js +3 -0
  287. package/dist/heroicons/outline/presentation-chart-line.js +3 -0
  288. package/dist/heroicons/outline/printer.js +3 -0
  289. package/dist/heroicons/outline/puzzle-piece.js +3 -0
  290. package/dist/heroicons/outline/qr-code.js +3 -0
  291. package/dist/heroicons/outline/question-mark-circle.js +3 -0
  292. package/dist/heroicons/outline/queue-list.js +3 -0
  293. package/dist/heroicons/outline/radio.js +3 -0
  294. package/dist/heroicons/outline/receipt-percent.js +3 -0
  295. package/dist/heroicons/outline/receipt-refund.js +3 -0
  296. package/dist/heroicons/outline/rectangle-group.js +3 -0
  297. package/dist/heroicons/outline/rectangle-stack.js +3 -0
  298. package/dist/heroicons/outline/rocket-launch.js +3 -0
  299. package/dist/heroicons/outline/rss.js +3 -0
  300. package/dist/heroicons/outline/scale.js +3 -0
  301. package/dist/heroicons/outline/scissors.js +3 -0
  302. package/dist/heroicons/outline/server-stack.js +3 -0
  303. package/dist/heroicons/outline/server.js +3 -0
  304. package/dist/heroicons/outline/share.js +3 -0
  305. package/dist/heroicons/outline/shield-check.js +3 -0
  306. package/dist/heroicons/outline/shield-exclamation.js +3 -0
  307. package/dist/heroicons/outline/shopping-bag.js +3 -0
  308. package/dist/heroicons/outline/shopping-cart.js +3 -0
  309. package/dist/heroicons/outline/signal-slash.js +3 -0
  310. package/dist/heroicons/outline/signal.js +3 -0
  311. package/dist/heroicons/outline/slash.js +3 -0
  312. package/dist/heroicons/outline/sparkles.js +3 -0
  313. package/dist/heroicons/outline/speaker-wave.js +3 -0
  314. package/dist/heroicons/outline/speaker-x-mark.js +3 -0
  315. package/dist/heroicons/outline/square-2-stack.js +3 -0
  316. package/dist/heroicons/outline/square-3-stack-3-d.js +3 -0
  317. package/dist/heroicons/outline/squares-2-x-2.js +3 -0
  318. package/dist/heroicons/outline/squares-plus.js +3 -0
  319. package/dist/heroicons/outline/star.js +3 -0
  320. package/dist/heroicons/outline/stop-circle.js +3 -0
  321. package/dist/heroicons/outline/stop.js +3 -0
  322. package/dist/heroicons/outline/strikethrough.js +3 -0
  323. package/dist/heroicons/outline/sun.js +3 -0
  324. package/dist/heroicons/outline/swatch.js +3 -0
  325. package/dist/heroicons/outline/table-cells.js +3 -0
  326. package/dist/heroicons/outline/tag.js +3 -0
  327. package/dist/heroicons/outline/ticket.js +3 -0
  328. package/dist/heroicons/outline/trash.js +3 -0
  329. package/dist/heroicons/outline/trophy.js +3 -0
  330. package/dist/heroicons/outline/truck.js +3 -0
  331. package/dist/heroicons/outline/tv.js +3 -0
  332. package/dist/heroicons/outline/underline.js +3 -0
  333. package/dist/heroicons/outline/user-circle.js +3 -0
  334. package/dist/heroicons/outline/user-group.js +3 -0
  335. package/dist/heroicons/outline/user-minus.js +3 -0
  336. package/dist/heroicons/outline/user-plus.js +3 -0
  337. package/dist/heroicons/outline/user.js +3 -0
  338. package/dist/heroicons/outline/users.js +3 -0
  339. package/dist/heroicons/outline/variable.js +3 -0
  340. package/dist/heroicons/outline/video-camera-slash.js +3 -0
  341. package/dist/heroicons/outline/video-camera.js +3 -0
  342. package/dist/heroicons/outline/view-columns.js +3 -0
  343. package/dist/heroicons/outline/viewfinder-circle.js +3 -0
  344. package/dist/heroicons/outline/wallet.js +3 -0
  345. package/dist/heroicons/outline/wifi.js +3 -0
  346. package/dist/heroicons/outline/window.js +3 -0
  347. package/dist/heroicons/outline/wrench-screwdriver.js +3 -0
  348. package/dist/heroicons/outline/wrench.js +3 -0
  349. package/dist/heroicons/outline/x-circle.js +3 -0
  350. package/dist/heroicons/outline/x-mark.js +3 -0
  351. package/dist/heroicons/solid/academic-cap.js +3 -0
  352. package/dist/heroicons/solid/adjustments-horizontal.js +3 -0
  353. package/dist/heroicons/solid/adjustments-vertical.js +3 -0
  354. package/dist/heroicons/solid/all.js +652 -0
  355. package/dist/heroicons/solid/archive-box-arrow-down.js +3 -0
  356. package/dist/heroicons/solid/archive-box-x-mark.js +3 -0
  357. package/dist/heroicons/solid/archive-box.js +3 -0
  358. package/dist/heroicons/solid/arrow-down-circle.js +3 -0
  359. package/dist/heroicons/solid/arrow-down-left.js +3 -0
  360. package/dist/heroicons/solid/arrow-down-on-square-stack.js +3 -0
  361. package/dist/heroicons/solid/arrow-down-on-square.js +3 -0
  362. package/dist/heroicons/solid/arrow-down-right.js +3 -0
  363. package/dist/heroicons/solid/arrow-down-tray.js +3 -0
  364. package/dist/heroicons/solid/arrow-down.js +3 -0
  365. package/dist/heroicons/solid/arrow-left-circle.js +3 -0
  366. package/dist/heroicons/solid/arrow-left-end-on-rectangle.js +3 -0
  367. package/dist/heroicons/solid/arrow-left-on-rectangle.js +3 -0
  368. package/dist/heroicons/solid/arrow-left-start-on-rectangle.js +3 -0
  369. package/dist/heroicons/solid/arrow-left.js +3 -0
  370. package/dist/heroicons/solid/arrow-long-down.js +3 -0
  371. package/dist/heroicons/solid/arrow-long-left.js +3 -0
  372. package/dist/heroicons/solid/arrow-long-right.js +3 -0
  373. package/dist/heroicons/solid/arrow-long-up.js +3 -0
  374. package/dist/heroicons/solid/arrow-path-rounded-square.js +3 -0
  375. package/dist/heroicons/solid/arrow-path.js +3 -0
  376. package/dist/heroicons/solid/arrow-right-circle.js +3 -0
  377. package/dist/heroicons/solid/arrow-right-end-on-rectangle.js +3 -0
  378. package/dist/heroicons/solid/arrow-right-on-rectangle.js +3 -0
  379. package/dist/heroicons/solid/arrow-right-start-on-rectangle.js +3 -0
  380. package/dist/heroicons/solid/arrow-right.js +3 -0
  381. package/dist/heroicons/solid/arrow-small-down.js +3 -0
  382. package/dist/heroicons/solid/arrow-small-left.js +3 -0
  383. package/dist/heroicons/solid/arrow-small-right.js +3 -0
  384. package/dist/heroicons/solid/arrow-small-up.js +3 -0
  385. package/dist/heroicons/solid/arrow-top-right-on-square.js +3 -0
  386. package/dist/heroicons/solid/arrow-trending-down.js +3 -0
  387. package/dist/heroicons/solid/arrow-trending-up.js +3 -0
  388. package/dist/heroicons/solid/arrow-turn-down-left.js +3 -0
  389. package/dist/heroicons/solid/arrow-turn-down-right.js +3 -0
  390. package/dist/heroicons/solid/arrow-turn-left-down.js +3 -0
  391. package/dist/heroicons/solid/arrow-turn-left-up.js +3 -0
  392. package/dist/heroicons/solid/arrow-turn-right-down.js +3 -0
  393. package/dist/heroicons/solid/arrow-turn-right-up.js +3 -0
  394. package/dist/heroicons/solid/arrow-turn-up-left.js +3 -0
  395. package/dist/heroicons/solid/arrow-turn-up-right.js +3 -0
  396. package/dist/heroicons/solid/arrow-up-circle.js +3 -0
  397. package/dist/heroicons/solid/arrow-up-left.js +3 -0
  398. package/dist/heroicons/solid/arrow-up-on-square-stack.js +3 -0
  399. package/dist/heroicons/solid/arrow-up-on-square.js +3 -0
  400. package/dist/heroicons/solid/arrow-up-right.js +3 -0
  401. package/dist/heroicons/solid/arrow-up-tray.js +3 -0
  402. package/dist/heroicons/solid/arrow-up.js +3 -0
  403. package/dist/heroicons/solid/arrow-uturn-down.js +3 -0
  404. package/dist/heroicons/solid/arrow-uturn-left.js +3 -0
  405. package/dist/heroicons/solid/arrow-uturn-right.js +3 -0
  406. package/dist/heroicons/solid/arrow-uturn-up.js +3 -0
  407. package/dist/heroicons/solid/arrows-pointing-in.js +3 -0
  408. package/dist/heroicons/solid/arrows-pointing-out.js +3 -0
  409. package/dist/heroicons/solid/arrows-right-left.js +3 -0
  410. package/dist/heroicons/solid/arrows-up-down.js +3 -0
  411. package/dist/heroicons/solid/at-symbol.js +3 -0
  412. package/dist/heroicons/solid/backspace.js +3 -0
  413. package/dist/heroicons/solid/backward.js +3 -0
  414. package/dist/heroicons/solid/banknotes.js +3 -0
  415. package/dist/heroicons/solid/bars-2.js +3 -0
  416. package/dist/heroicons/solid/bars-3-bottom-left.js +3 -0
  417. package/dist/heroicons/solid/bars-3-bottom-right.js +3 -0
  418. package/dist/heroicons/solid/bars-3-center-left.js +3 -0
  419. package/dist/heroicons/solid/bars-3.js +3 -0
  420. package/dist/heroicons/solid/bars-4.js +3 -0
  421. package/dist/heroicons/solid/bars-arrow-down.js +3 -0
  422. package/dist/heroicons/solid/bars-arrow-up.js +3 -0
  423. package/dist/heroicons/solid/battery-0.js +3 -0
  424. package/dist/heroicons/solid/battery-100.js +3 -0
  425. package/dist/heroicons/solid/battery-50.js +3 -0
  426. package/dist/heroicons/solid/beaker.js +3 -0
  427. package/dist/heroicons/solid/bell-alert.js +3 -0
  428. package/dist/heroicons/solid/bell-slash.js +3 -0
  429. package/dist/heroicons/solid/bell-snooze.js +3 -0
  430. package/dist/heroicons/solid/bell.js +3 -0
  431. package/dist/heroicons/solid/bold.js +3 -0
  432. package/dist/heroicons/solid/bolt-slash.js +3 -0
  433. package/dist/heroicons/solid/bolt.js +3 -0
  434. package/dist/heroicons/solid/book-open.js +3 -0
  435. package/dist/heroicons/solid/bookmark-slash.js +3 -0
  436. package/dist/heroicons/solid/bookmark-square.js +3 -0
  437. package/dist/heroicons/solid/bookmark.js +3 -0
  438. package/dist/heroicons/solid/briefcase.js +3 -0
  439. package/dist/heroicons/solid/bug-ant.js +3 -0
  440. package/dist/heroicons/solid/building-library.js +3 -0
  441. package/dist/heroicons/solid/building-office-2.js +3 -0
  442. package/dist/heroicons/solid/building-office.js +3 -0
  443. package/dist/heroicons/solid/building-storefront.js +3 -0
  444. package/dist/heroicons/solid/cake.js +3 -0
  445. package/dist/heroicons/solid/calculator.js +3 -0
  446. package/dist/heroicons/solid/calendar-date-range.js +3 -0
  447. package/dist/heroicons/solid/calendar-days.js +3 -0
  448. package/dist/heroicons/solid/calendar.js +3 -0
  449. package/dist/heroicons/solid/camera.js +3 -0
  450. package/dist/heroicons/solid/chart-bar-square.js +3 -0
  451. package/dist/heroicons/solid/chart-bar.js +3 -0
  452. package/dist/heroicons/solid/chart-pie.js +3 -0
  453. package/dist/heroicons/solid/chat-bubble-bottom-center-text.js +3 -0
  454. package/dist/heroicons/solid/chat-bubble-bottom-center.js +3 -0
  455. package/dist/heroicons/solid/chat-bubble-left-ellipsis.js +3 -0
  456. package/dist/heroicons/solid/chat-bubble-left-right.js +3 -0
  457. package/dist/heroicons/solid/chat-bubble-left.js +3 -0
  458. package/dist/heroicons/solid/chat-bubble-oval-left-ellipsis.js +3 -0
  459. package/dist/heroicons/solid/chat-bubble-oval-left.js +3 -0
  460. package/dist/heroicons/solid/check-badge.js +3 -0
  461. package/dist/heroicons/solid/check-circle.js +3 -0
  462. package/dist/heroicons/solid/check.js +3 -0
  463. package/dist/heroicons/solid/chevron-double-down.js +3 -0
  464. package/dist/heroicons/solid/chevron-double-left.js +3 -0
  465. package/dist/heroicons/solid/chevron-double-right.js +3 -0
  466. package/dist/heroicons/solid/chevron-double-up.js +3 -0
  467. package/dist/heroicons/solid/chevron-down.js +3 -0
  468. package/dist/heroicons/solid/chevron-left.js +3 -0
  469. package/dist/heroicons/solid/chevron-right.js +3 -0
  470. package/dist/heroicons/solid/chevron-up-down.js +3 -0
  471. package/dist/heroicons/solid/chevron-up.js +3 -0
  472. package/dist/heroicons/solid/circle-stack.js +3 -0
  473. package/dist/heroicons/solid/clipboard-document-check.js +3 -0
  474. package/dist/heroicons/solid/clipboard-document-list.js +3 -0
  475. package/dist/heroicons/solid/clipboard-document.js +3 -0
  476. package/dist/heroicons/solid/clipboard.js +3 -0
  477. package/dist/heroicons/solid/clock.js +3 -0
  478. package/dist/heroicons/solid/cloud-arrow-down.js +3 -0
  479. package/dist/heroicons/solid/cloud-arrow-up.js +3 -0
  480. package/dist/heroicons/solid/cloud.js +3 -0
  481. package/dist/heroicons/solid/code-bracket-square.js +3 -0
  482. package/dist/heroicons/solid/code-bracket.js +3 -0
  483. package/dist/heroicons/solid/cog-6-tooth.js +3 -0
  484. package/dist/heroicons/solid/cog-8-tooth.js +3 -0
  485. package/dist/heroicons/solid/cog.js +3 -0
  486. package/dist/heroicons/solid/command-line.js +3 -0
  487. package/dist/heroicons/solid/computer-desktop.js +3 -0
  488. package/dist/heroicons/solid/cpu-chip.js +3 -0
  489. package/dist/heroicons/solid/credit-card.js +3 -0
  490. package/dist/heroicons/solid/cube-transparent.js +3 -0
  491. package/dist/heroicons/solid/cube.js +3 -0
  492. package/dist/heroicons/solid/currency-bangladeshi.js +3 -0
  493. package/dist/heroicons/solid/currency-dollar.js +3 -0
  494. package/dist/heroicons/solid/currency-euro.js +3 -0
  495. package/dist/heroicons/solid/currency-pound.js +3 -0
  496. package/dist/heroicons/solid/currency-rupee.js +3 -0
  497. package/dist/heroicons/solid/currency-yen.js +3 -0
  498. package/dist/heroicons/solid/cursor-arrow-rays.js +3 -0
  499. package/dist/heroicons/solid/cursor-arrow-ripple.js +3 -0
  500. package/dist/heroicons/solid/device-phone-mobile.js +3 -0
  501. package/dist/heroicons/solid/device-tablet.js +3 -0
  502. package/dist/heroicons/solid/divide.js +3 -0
  503. package/dist/heroicons/solid/document-arrow-down.js +3 -0
  504. package/dist/heroicons/solid/document-arrow-up.js +3 -0
  505. package/dist/heroicons/solid/document-chart-bar.js +3 -0
  506. package/dist/heroicons/solid/document-check.js +3 -0
  507. package/dist/heroicons/solid/document-currency-bangladeshi.js +3 -0
  508. package/dist/heroicons/solid/document-currency-dollar.js +3 -0
  509. package/dist/heroicons/solid/document-currency-euro.js +3 -0
  510. package/dist/heroicons/solid/document-currency-pound.js +3 -0
  511. package/dist/heroicons/solid/document-currency-rupee.js +3 -0
  512. package/dist/heroicons/solid/document-currency-yen.js +3 -0
  513. package/dist/heroicons/solid/document-duplicate.js +3 -0
  514. package/dist/heroicons/solid/document-magnifying-glass.js +3 -0
  515. package/dist/heroicons/solid/document-minus.js +3 -0
  516. package/dist/heroicons/solid/document-plus.js +3 -0
  517. package/dist/heroicons/solid/document-text.js +3 -0
  518. package/dist/heroicons/solid/document.js +3 -0
  519. package/dist/heroicons/solid/ellipsis-horizontal-circle.js +3 -0
  520. package/dist/heroicons/solid/ellipsis-horizontal.js +3 -0
  521. package/dist/heroicons/solid/ellipsis-vertical.js +3 -0
  522. package/dist/heroicons/solid/envelope-open.js +3 -0
  523. package/dist/heroicons/solid/envelope.js +3 -0
  524. package/dist/heroicons/solid/equals.js +3 -0
  525. package/dist/heroicons/solid/exclamation-circle.js +3 -0
  526. package/dist/heroicons/solid/exclamation-triangle.js +3 -0
  527. package/dist/heroicons/solid/eye-dropper.js +3 -0
  528. package/dist/heroicons/solid/eye-slash.js +3 -0
  529. package/dist/heroicons/solid/eye.js +3 -0
  530. package/dist/heroicons/solid/face-frown.js +3 -0
  531. package/dist/heroicons/solid/face-smile.js +3 -0
  532. package/dist/heroicons/solid/film.js +3 -0
  533. package/dist/heroicons/solid/finger-print.js +3 -0
  534. package/dist/heroicons/solid/fire.js +3 -0
  535. package/dist/heroicons/solid/flag.js +3 -0
  536. package/dist/heroicons/solid/folder-arrow-down.js +3 -0
  537. package/dist/heroicons/solid/folder-minus.js +3 -0
  538. package/dist/heroicons/solid/folder-open.js +3 -0
  539. package/dist/heroicons/solid/folder-plus.js +3 -0
  540. package/dist/heroicons/solid/folder.js +3 -0
  541. package/dist/heroicons/solid/forward.js +3 -0
  542. package/dist/heroicons/solid/funnel.js +3 -0
  543. package/dist/heroicons/solid/gif.js +3 -0
  544. package/dist/heroicons/solid/gift-top.js +3 -0
  545. package/dist/heroicons/solid/gift.js +3 -0
  546. package/dist/heroicons/solid/globe-alt.js +3 -0
  547. package/dist/heroicons/solid/globe-americas.js +3 -0
  548. package/dist/heroicons/solid/globe-asia-australia.js +3 -0
  549. package/dist/heroicons/solid/globe-europe-africa.js +3 -0
  550. package/dist/heroicons/solid/h-1.js +3 -0
  551. package/dist/heroicons/solid/h-2.js +3 -0
  552. package/dist/heroicons/solid/h-3.js +3 -0
  553. package/dist/heroicons/solid/hand-raised.js +3 -0
  554. package/dist/heroicons/solid/hand-thumb-down.js +3 -0
  555. package/dist/heroicons/solid/hand-thumb-up.js +3 -0
  556. package/dist/heroicons/solid/hashtag.js +3 -0
  557. package/dist/heroicons/solid/heart.js +3 -0
  558. package/dist/heroicons/solid/home-modern.js +3 -0
  559. package/dist/heroicons/solid/home.js +3 -0
  560. package/dist/heroicons/solid/identification.js +3 -0
  561. package/dist/heroicons/solid/inbox-arrow-down.js +3 -0
  562. package/dist/heroicons/solid/inbox-stack.js +3 -0
  563. package/dist/heroicons/solid/inbox.js +3 -0
  564. package/dist/heroicons/solid/information-circle.js +3 -0
  565. package/dist/heroicons/solid/italic.js +3 -0
  566. package/dist/heroicons/solid/key.js +3 -0
  567. package/dist/heroicons/solid/language.js +3 -0
  568. package/dist/heroicons/solid/lifebuoy.js +3 -0
  569. package/dist/heroicons/solid/light-bulb.js +3 -0
  570. package/dist/heroicons/solid/link-slash.js +3 -0
  571. package/dist/heroicons/solid/link.js +3 -0
  572. package/dist/heroicons/solid/list-bullet.js +3 -0
  573. package/dist/heroicons/solid/lock-closed.js +3 -0
  574. package/dist/heroicons/solid/lock-open.js +3 -0
  575. package/dist/heroicons/solid/magnifying-glass-circle.js +3 -0
  576. package/dist/heroicons/solid/magnifying-glass-minus.js +3 -0
  577. package/dist/heroicons/solid/magnifying-glass-plus.js +3 -0
  578. package/dist/heroicons/solid/magnifying-glass.js +3 -0
  579. package/dist/heroicons/solid/map-pin.js +3 -0
  580. package/dist/heroicons/solid/map.js +3 -0
  581. package/dist/heroicons/solid/megaphone.js +3 -0
  582. package/dist/heroicons/solid/microphone.js +3 -0
  583. package/dist/heroicons/solid/minus-circle.js +3 -0
  584. package/dist/heroicons/solid/minus-small.js +3 -0
  585. package/dist/heroicons/solid/minus.js +3 -0
  586. package/dist/heroicons/solid/moon.js +3 -0
  587. package/dist/heroicons/solid/musical-note.js +3 -0
  588. package/dist/heroicons/solid/newspaper.js +3 -0
  589. package/dist/heroicons/solid/no-symbol.js +3 -0
  590. package/dist/heroicons/solid/numbered-list.js +3 -0
  591. package/dist/heroicons/solid/paint-brush.js +3 -0
  592. package/dist/heroicons/solid/paper-airplane.js +3 -0
  593. package/dist/heroicons/solid/paper-clip.js +3 -0
  594. package/dist/heroicons/solid/pause-circle.js +3 -0
  595. package/dist/heroicons/solid/pause.js +3 -0
  596. package/dist/heroicons/solid/pencil-square.js +3 -0
  597. package/dist/heroicons/solid/pencil.js +3 -0
  598. package/dist/heroicons/solid/percent-badge.js +3 -0
  599. package/dist/heroicons/solid/phone-arrow-down-left.js +3 -0
  600. package/dist/heroicons/solid/phone-arrow-up-right.js +3 -0
  601. package/dist/heroicons/solid/phone-x-mark.js +3 -0
  602. package/dist/heroicons/solid/phone.js +3 -0
  603. package/dist/heroicons/solid/photo.js +3 -0
  604. package/dist/heroicons/solid/play-circle.js +3 -0
  605. package/dist/heroicons/solid/play-pause.js +3 -0
  606. package/dist/heroicons/solid/play.js +3 -0
  607. package/dist/heroicons/solid/plus-circle.js +3 -0
  608. package/dist/heroicons/solid/plus-small.js +3 -0
  609. package/dist/heroicons/solid/plus.js +3 -0
  610. package/dist/heroicons/solid/power.js +3 -0
  611. package/dist/heroicons/solid/presentation-chart-bar.js +3 -0
  612. package/dist/heroicons/solid/presentation-chart-line.js +3 -0
  613. package/dist/heroicons/solid/printer.js +3 -0
  614. package/dist/heroicons/solid/puzzle-piece.js +3 -0
  615. package/dist/heroicons/solid/qr-code.js +3 -0
  616. package/dist/heroicons/solid/question-mark-circle.js +3 -0
  617. package/dist/heroicons/solid/queue-list.js +3 -0
  618. package/dist/heroicons/solid/radio.js +3 -0
  619. package/dist/heroicons/solid/receipt-percent.js +3 -0
  620. package/dist/heroicons/solid/receipt-refund.js +3 -0
  621. package/dist/heroicons/solid/rectangle-group.js +3 -0
  622. package/dist/heroicons/solid/rectangle-stack.js +3 -0
  623. package/dist/heroicons/solid/rocket-launch.js +3 -0
  624. package/dist/heroicons/solid/rss.js +3 -0
  625. package/dist/heroicons/solid/scale.js +3 -0
  626. package/dist/heroicons/solid/scissors.js +3 -0
  627. package/dist/heroicons/solid/server-stack.js +3 -0
  628. package/dist/heroicons/solid/server.js +3 -0
  629. package/dist/heroicons/solid/share.js +3 -0
  630. package/dist/heroicons/solid/shield-check.js +3 -0
  631. package/dist/heroicons/solid/shield-exclamation.js +3 -0
  632. package/dist/heroicons/solid/shopping-bag.js +3 -0
  633. package/dist/heroicons/solid/shopping-cart.js +3 -0
  634. package/dist/heroicons/solid/signal-slash.js +3 -0
  635. package/dist/heroicons/solid/signal.js +3 -0
  636. package/dist/heroicons/solid/slash.js +3 -0
  637. package/dist/heroicons/solid/sparkles.js +3 -0
  638. package/dist/heroicons/solid/speaker-wave.js +3 -0
  639. package/dist/heroicons/solid/speaker-x-mark.js +3 -0
  640. package/dist/heroicons/solid/square-2-stack.js +3 -0
  641. package/dist/heroicons/solid/square-3-stack-3-d.js +3 -0
  642. package/dist/heroicons/solid/squares-2-x-2.js +3 -0
  643. package/dist/heroicons/solid/squares-plus.js +3 -0
  644. package/dist/heroicons/solid/star.js +3 -0
  645. package/dist/heroicons/solid/stop-circle.js +3 -0
  646. package/dist/heroicons/solid/stop.js +3 -0
  647. package/dist/heroicons/solid/strikethrough.js +3 -0
  648. package/dist/heroicons/solid/sun.js +3 -0
  649. package/dist/heroicons/solid/swatch.js +3 -0
  650. package/dist/heroicons/solid/table-cells.js +3 -0
  651. package/dist/heroicons/solid/tag.js +3 -0
  652. package/dist/heroicons/solid/ticket.js +3 -0
  653. package/dist/heroicons/solid/trash.js +3 -0
  654. package/dist/heroicons/solid/trophy.js +3 -0
  655. package/dist/heroicons/solid/truck.js +3 -0
  656. package/dist/heroicons/solid/tv.js +3 -0
  657. package/dist/heroicons/solid/underline.js +3 -0
  658. package/dist/heroicons/solid/user-circle.js +3 -0
  659. package/dist/heroicons/solid/user-group.js +3 -0
  660. package/dist/heroicons/solid/user-minus.js +3 -0
  661. package/dist/heroicons/solid/user-plus.js +3 -0
  662. package/dist/heroicons/solid/user.js +3 -0
  663. package/dist/heroicons/solid/users.js +3 -0
  664. package/dist/heroicons/solid/variable.js +3 -0
  665. package/dist/heroicons/solid/video-camera-slash.js +3 -0
  666. package/dist/heroicons/solid/video-camera.js +3 -0
  667. package/dist/heroicons/solid/view-columns.js +3 -0
  668. package/dist/heroicons/solid/viewfinder-circle.js +3 -0
  669. package/dist/heroicons/solid/wallet.js +3 -0
  670. package/dist/heroicons/solid/wifi.js +3 -0
  671. package/dist/heroicons/solid/window.js +3 -0
  672. package/dist/heroicons/solid/wrench-screwdriver.js +3 -0
  673. package/dist/heroicons/solid/wrench.js +3 -0
  674. package/dist/heroicons/solid/x-circle.js +3 -0
  675. package/dist/heroicons/solid/x-mark.js +3 -0
  676. package/dist/heroicons.d.ts +24 -4
  677. package/dist/heroicons.d.ts.map +1 -1
  678. package/dist/heroicons.js +103 -664
  679. package/dist/heroicons.js.map +1 -1
  680. package/dist/index.d.ts +2 -0
  681. package/dist/index.d.ts.map +1 -1
  682. package/dist/index.js +11 -7
  683. package/dist/index.js.map +1 -1
  684. package/dist/names.d.ts +9 -0
  685. package/dist/names.d.ts.map +1 -0
  686. package/dist/names.js +27 -0
  687. package/dist/names.js.map +1 -0
  688. package/package.json +25 -5
  689. package/dist/generated/disk-loaders.d.ts +0 -9
  690. package/dist/generated/disk-loaders.d.ts.map +0 -1
  691. package/dist/generated/disk-loaders.js +0 -10
  692. package/dist/generated/disk-loaders.js.map +0 -1
  693. package/dist/generated/disk-manifest.d.ts +0 -12
  694. package/dist/generated/disk-manifest.d.ts.map +0 -1
  695. package/dist/generated/disk-manifest.js +0 -3877
  696. package/dist/generated/disk-manifest.js.map +0 -1
package/README.md CHANGED
@@ -2,58 +2,118 @@
2
2
 
3
3
  The shared icon registry used across loomi components, covering three sources:
4
4
 
5
- - **`heroicons`** (default) - generated from the official Heroicons 24px outline and
6
- solid sets, then published as plain Lit SVG templates inlined directly into this
7
- package. No React or Heroicons runtime dependency ships to consumers.
8
- - **`iconsax`** and **`untitledui`** - disk-based. Unlike Heroicons, these are loaded one
9
- icon at a time rather than inlined as JS strings. A consumer using one icon from a
10
- 3,800-icon set only ever loads that one icon - resolved once, cached in memory for the
11
- rest of the page's lifetime - instead of every component on the page paying for the
12
- whole set up front. They ship twice: as per-icon ES modules under
13
- `dist/icons/<source>/<type>/<name>.js`, and as the original `.svg` files under
14
- `dist/svg/<source>/<type>/<name>.svg`.
5
+ - **`heroicons`** (default) - the official Heroicons 24px outline and solid sets, as plain
6
+ Lit SVG templates. No React or Heroicons runtime dependency ships to consumers.
7
+ - **`iconsax`** and **`untitledui`** - disk-based sets, enabled per app with one import.
8
+
9
+ Every icon is its own module and loads the first time something renders it, so a page
10
+ that shows three icons downloads three icons, not a set. Nothing here costs you icon data
11
+ until an icon is on screen.
15
12
 
16
13
  ```bash
17
14
  npm install @loomidev/icons lit
18
15
  ```
19
16
 
20
- ## Heroicons (inlined)
17
+ ## Heroicons
18
+
19
+ Components that take an icon name (`<loomi-icon>`, `<loomi-button icon="…">`,
20
+ `<loomi-input prefix-icon="…">`, `<loomi-alert>`, `<loomi-tabs>`, …) all read from this one
21
+ registry, so an icon you register is available everywhere.
22
+
23
+ A named icon renders as soon as its module arrives, usually within the same frame on a
24
+ warm cache. A component's own built-in icons (a clear button, a chevron, the password
25
+ reveal eye) are imported statically by that component and render on first paint.
21
26
 
22
27
  ```ts
23
- import { getLoomiIcon, registerLoomiIcon, loomiIconNames } from "@loomidev/icons";
28
+ import { registerLoomiIcon, hasLoomiIcon, loadLoomiIcon } from "@loomidev/icons";
24
29
  import { svg } from "lit";
25
30
 
26
- registerLoomiIcon("rocket", svg`<path d="…" />`);
27
- getLoomiIcon("bell-alert", "solid");
28
- loomiIconNames(); // -> ["arrow-path", "bell-alert", …]
31
+ registerLoomiIcon("rocket", svg`<path d="…" />`); // your own icon, or override a Heroicon
32
+ hasLoomiIcon("bell-alert"); // true: a known name, checked without loading anything
33
+ await loadLoomiIcon("bell-alert", "solid"); // load one ahead of time
34
+ ```
35
+
36
+ ### Load every Heroicon up front
37
+
38
+ If you'd rather pay for the whole set once than load icons one by one, for example in an
39
+ app that shows dozens of different icons on its first screen, import it eagerly:
40
+
41
+ ```ts
42
+ import "@loomidev/icons/all";
43
+ ```
44
+
45
+ Every named icon then renders synchronously. Icons you registered still win. This adds
46
+ the size shown under [Bundle size](#bundle-size).
47
+
48
+ ### Importing one icon directly
49
+
50
+ Each Heroicon is also a subpath module you can import statically. It ships inside your
51
+ bundle with no lazy load:
52
+
53
+ ```ts
54
+ import bell from "@loomidev/icons/heroicons/outline/bell.js";
55
+ import { provideLoomiIcons } from "@loomidev/icons";
56
+
57
+ provideLoomiIcons({ bell }); // `icon="bell"` now renders on first paint
29
58
  ```
30
59
 
31
- Components that render icons (`<loomi-icon>`, `<loomi-button>`, `<loomi-input>`,
32
- `<loomi-alert>`, `<loomi-tabs>`) all read from this one registry, so an icon you register
33
- is available everywhere.
60
+ ### Rendering icons in your own Lit components
61
+
62
+ ```ts
63
+ import { hasLoomiIcon, loomiIcon } from "@loomidev/icons";
34
64
 
35
- | Export | Description |
36
- | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
37
- | `getLoomiIcon(name, variant)` | Returns the icon's inner SVG (a Lit `SVGTemplateResult`) or `undefined`. `variant` is `outline` or `solid`; default is `outline`. |
38
- | `registerLoomiIcon(name, svg, variant)` | Register or override an icon for `outline` or `solid`; default is `outline`. |
39
- | `loomiIconNames(variant)` | List all registered icon names for a variant; default is `outline`. |
65
+ render() {
66
+ return hasLoomiIcon(this.icon)
67
+ ? html`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">${loomiIcon(this.icon)}</svg>`
68
+ : nothing;
69
+ }
70
+ ```
71
+
72
+ `loomiIcon(name, variant?)` is a Lit directive: it renders the icon right away when it's
73
+ available and otherwise fills it in once it loads.
74
+
75
+ | Export | Description |
76
+ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
77
+ | `loomiIcon(name, variant?)` | Lit directive that renders an icon's inner SVG, loading it on first use. `variant` is `outline` (default) or `solid`. |
78
+ | `hasLoomiIcon(name, variant?)` | Whether the name is a known icon (registered, provided, or a shipped Heroicon). Synchronous; loads nothing. |
79
+ | `loadLoomiIcon(name, variant?)` | Loads (once, then cached) and resolves the icon's inner SVG, or `undefined` for an unknown name or a failed load. |
80
+ | `getLoomiIcon(name, variant?)` | The icon's inner SVG if it's ready now (registered, provided or already loaded), else `undefined`. Never starts a load. |
81
+ | `registerLoomiIcon(name, svg, variant)` | Register or override an icon for `outline` or `solid`; default is `outline`. |
82
+ | `provideLoomiIcons(icons, variant?)` | Hand over statically imported icons so they render synchronously. Never replaces an icon you registered. |
83
+ | `loomiIconNames(variant)` | List every known icon name for a variant; default is `outline`. |
84
+ | `isLoomiIconAvailable(name, variant?)` | Whether the icon is registered, provided or already loaded, i.e. renders with no load. |
85
+ | `registeredLoomiIconNames(variant?)` | Names registered or provided for a variant (not the shipped set). |
86
+
87
+ A solid icon that doesn't exist falls back to its outline version.
40
88
 
41
89
  ## Iconsax and Untitled UI (disk-based)
42
90
 
43
- Most consumers should just use `<loomi-icon source="iconsax" name="…">` (see
44
- [`@loomidev/icon`](../icon)) rather than calling these directly - they exist so other
45
- components can adopt the same sources later the way they already do for Heroicons.
91
+ These sets are opt-in. Import each one you use once, anywhere in your app:
46
92
 
47
- | Source | Types |
48
- | ------------ | ------------------------------------------- |
49
- | `iconsax` | `outline` (default), `solid`, `twotone` |
50
- | `untitledui` | `outline` (default; the only type it ships) |
93
+ ```ts
94
+ import "@loomidev/icons/iconsax";
95
+ import "@loomidev/icons/untitledui";
96
+ ```
97
+
98
+ `<loomi-icon source="iconsax" name="home">` (see [`@loomidev/icon`](../icon)) and every
99
+ component with an `icon-source` attribute then render from it. Until a source is
100
+ imported, its names are unknown: the component shows its slot fallback and logs a
101
+ one-time warning naming the import to add. An app that never imports a set bundles none
102
+ of it, not even its name list.
103
+
104
+ | Source | Types | Icons |
105
+ | ------------ | ------------------------------------------- | ----- |
106
+ | `iconsax` | `outline` (default), `solid`, `twotone` | 2,686 |
107
+ | `untitledui` | `outline` (default; the only type it ships) | 1,173 |
108
+
109
+ Most consumers should just use `<loomi-icon>` rather than calling these directly.
51
110
 
52
111
  | Export | Description |
53
112
  | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
54
113
  | `loadLoomiDiskIcon(source, name, type?)` | Loads (and caches) the icon, resolving to a value renderable directly inside a Lit `html` template: `` html`<svg>${await loadLoomiDiskIcon(...)}</svg>` ``. Resolves `undefined` for an unregistered name or a failed load. |
55
- | `hasLoomiDiskIcon(source, name, type?)` | Whether the name is a real icon. Synchronous - it only consults the name manifest, and loads nothing. |
56
- | `registerLoomiDiskIcon(source, name, markup, type?)` | Register a statically imported icon so it renders with no network request and no dynamic chunk. See [Static imports](#static-imports). |
114
+ | `hasLoomiDiskIcon(source, name, type?)` | Whether the name is a real icon. Synchronous - it only consults the source's name list, so it's `false` until the source is imported. |
115
+ | `registerLoomiDiskIcon(source, name, markup, type?)` | Register a statically imported icon so it renders with no network request and no dynamic chunk, even without importing its source. See [Static imports](#static-imports). |
116
+ | `isLoomiDiskIconSourceRegistered(source)` | Whether `@loomidev/icons/<source>` has been imported. |
57
117
  | `setLoomiIconBasePath(path)` | Serve the raw `.svg` files from a path you control instead of loading the modules. See [Serving the SVGs yourself](#serving-the-svgs-yourself). Pass `undefined` to go back to modules. |
58
118
  | `getLoomiIconBasePath()` | The base path currently set, or `undefined` when icons load from the generated modules. |
59
119
  | `getLoomiDiskIconUrl(source, name, type?)` | Resolves to the icon's `.svg` URL, or `undefined` if `name` isn't registered. An unavailable `type` for that source (e.g. `untitledui` + `"twotone"`) falls back to `outline` rather than failing. |
@@ -85,7 +145,7 @@ cannot survive is bundling: a bundler inlines this module into a chunk and never
85
145
  ### Static imports
86
146
 
87
147
  Importing an icon directly is the leanest option - no runtime lookup, no dynamic chunk,
88
- and dead icons drop out of the bundle:
148
+ no source import needed, and dead icons drop out of the bundle:
89
149
 
90
150
  ```ts
91
151
  import homeOutline from "@loomidev/icons/icons/iconsax/outline/home.js";
@@ -116,6 +176,58 @@ Relative paths resolve against the document. A failed fetch resolves to `undefin
116
176
  rather than throwing, so a wrong base path degrades to the component's slot fallback
117
177
  instead of breaking the page.
118
178
 
179
+ ## Fewer, bigger icon chunks
180
+
181
+ Because every icon is its own module, your bundler emits one small lazy chunk per icon it
182
+ can reach: 648 for Heroicons, plus one per icon in each disk-based set you import (about
183
+ 3,900 for both). Only the icons a page renders are ever downloaded, but a long list of
184
+ files can slow builds and clutter deploys.
185
+
186
+ To trade that for one chunk per set, group them in your bundler config. A page then
187
+ downloads the whole set the first time it shows any icon from it: about 35 KB gzipped per
188
+ Heroicons variant, and up to about 375 KB for an Iconsax type, so this suits Heroicons far
189
+ better than the disk-based sets.
190
+
191
+ Vite (Rollup):
192
+
193
+ ```js
194
+ // vite.config.js
195
+ export default {
196
+ build: {
197
+ rollupOptions: {
198
+ output: {
199
+ manualChunks(id) {
200
+ const match = id.match(/@loomidev\/icons\/dist\/(heroicons|icons\/[^/]+)\/([^/]+)\//);
201
+ if (match) return `icons-${match[1].replace("icons/", "")}-${match[2]}`;
202
+ },
203
+ },
204
+ },
205
+ },
206
+ };
207
+ ```
208
+
209
+ webpack:
210
+
211
+ ```js
212
+ // webpack.config.js
213
+ module.exports = {
214
+ optimization: {
215
+ splitChunks: {
216
+ cacheGroups: {
217
+ heroicons: {
218
+ test: /@loomidev[\\/]icons[\\/]dist[\\/]heroicons[\\/]/,
219
+ name: "icons-heroicons",
220
+ chunks: "async",
221
+ },
222
+ },
223
+ },
224
+ },
225
+ };
226
+ ```
227
+
228
+ For the disk-based sets, [serving the SVGs yourself](#serving-the-svgs-yourself) removes
229
+ their chunks entirely.
230
+
119
231
  ### Adding another disk-based source later
120
232
 
121
233
  There's no source-specific code to touch. Vendor the new set with the generic import
@@ -124,10 +236,19 @@ files):
124
236
 
125
237
  ```bash
126
238
  node scripts/import-icon-set.mjs --source <name> --from /path/to/icons
127
- pnpm build # regenerates the name manifest and copies the files into dist/svg/
239
+ pnpm build # regenerates the source entry and copies the files into dist/svg/
128
240
  ```
129
241
 
130
- Then widen `LoomiDiskIconSource` in `src/disk-icons.ts` to include the new name.
242
+ Then widen `LoomiDiskIconSource` in `src/disk-icons.ts` to include the new name, and add
243
+ `./<name>` to `exports` in `package.json`.
244
+
245
+ <!-- bundle-size:start -->
246
+
247
+ ## Bundle size
248
+
249
+ The registry is about **3.3 KB** minified and gzipped, excluding `lit`, and loads no icon data up front. Each Heroicon is its own module of a few hundred bytes, loaded the first time it renders. `import "@loomidev/icons/all"` loads every Heroicon eagerly instead: about 72.9 KB. Measured by `pnpm check:bundle-size`.
250
+
251
+ <!-- bundle-size:end -->
131
252
 
132
253
  ## Dependencies
133
254
 
@@ -2,10 +2,79 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/all.ts",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/directive.ts",
14
+ "declarations": [
15
+ {
16
+ "kind": "variable",
17
+ "name": "loomiIcon",
18
+ "description": "Renders a Heroicon's inner SVG inside an `<svg>` element, loading that one icon on\nfirst use: `` svg`<svg viewBox=\"0 0 24 24\">${loomiIcon(\"bell\")}</svg>` ``.\n\nRenders synchronously when the icon is already registered, provided or loaded;\notherwise it renders nothing and fills in once the icon's module arrives. Check\nhasLoomiIcon first when an unknown name should fall back to something else."
19
+ }
20
+ ],
21
+ "exports": [
22
+ {
23
+ "kind": "js",
24
+ "name": "loomiIcon",
25
+ "declaration": {
26
+ "name": "loomiIcon",
27
+ "module": "src/directive.ts"
28
+ }
29
+ }
30
+ ]
31
+ },
5
32
  {
6
33
  "kind": "javascript-module",
7
34
  "path": "src/disk-icons.ts",
8
35
  "declarations": [
36
+ {
37
+ "kind": "function",
38
+ "name": "registerLoomiDiskIconSource",
39
+ "return": {
40
+ "type": {
41
+ "text": "void"
42
+ }
43
+ },
44
+ "parameters": [
45
+ {
46
+ "name": "source",
47
+ "type": {
48
+ "text": "LoomiDiskIconSource"
49
+ }
50
+ },
51
+ {
52
+ "name": "sets",
53
+ "type": {
54
+ "text": "Partial<Record<LoomiIconType, LoomiDiskIconSetEntry>>"
55
+ }
56
+ }
57
+ ],
58
+ "description": "Registers a disk-based source's names and lazy loaders. Called by the generated\n`@loomidev/icons/<source>` entries; you shouldn't need to call it yourself."
59
+ },
60
+ {
61
+ "kind": "function",
62
+ "name": "isLoomiDiskIconSourceRegistered",
63
+ "return": {
64
+ "type": {
65
+ "text": "boolean"
66
+ }
67
+ },
68
+ "parameters": [
69
+ {
70
+ "name": "source",
71
+ "type": {
72
+ "text": "LoomiDiskIconSource"
73
+ }
74
+ }
75
+ ],
76
+ "description": "Whether `@loomidev/icons/<source>` has been imported."
77
+ },
9
78
  {
10
79
  "kind": "function",
11
80
  "name": "setLoomiIconBasePath",
@@ -123,7 +192,7 @@
123
192
  }
124
193
  }
125
194
  ],
126
- "description": "Whether `(source, name)` is a real icon in this package. Cheap and\nsynchronous — it only consults the generated name manifest."
195
+ "description": "Whether `(source, name)` is a real icon in this package. Cheap and\nsynchronous — it only consults the source's name list, so it is `false` for\nevery name until `@loomidev/icons/<source>` has been imported."
127
196
  },
128
197
  {
129
198
  "kind": "function",
@@ -226,6 +295,22 @@
226
295
  }
227
296
  ],
228
297
  "exports": [
298
+ {
299
+ "kind": "js",
300
+ "name": "registerLoomiDiskIconSource",
301
+ "declaration": {
302
+ "name": "registerLoomiDiskIconSource",
303
+ "module": "src/disk-icons.ts"
304
+ }
305
+ },
306
+ {
307
+ "kind": "js",
308
+ "name": "isLoomiDiskIconSourceRegistered",
309
+ "declaration": {
310
+ "name": "isLoomiDiskIconSourceRegistered",
311
+ "module": "src/disk-icons.ts"
312
+ }
313
+ },
229
314
  {
230
315
  "kind": "js",
231
316
  "name": "setLoomiIconBasePath",
@@ -335,6 +420,56 @@
335
420
  ],
336
421
  "description": "Register (or override) an icon by name so `icon=\"<name>\"` can render it."
337
422
  },
423
+ {
424
+ "kind": "function",
425
+ "name": "provideLoomiIcons",
426
+ "return": {
427
+ "type": {
428
+ "text": "void"
429
+ }
430
+ },
431
+ "parameters": [
432
+ {
433
+ "name": "icons",
434
+ "type": {
435
+ "text": "Record<string, SVGTemplateResult>"
436
+ }
437
+ },
438
+ {
439
+ "name": "variant",
440
+ "default": "\"outline\"",
441
+ "type": {
442
+ "text": "LoomiIconVariant"
443
+ }
444
+ }
445
+ ],
446
+ "description": "Hand over icons that are already imported, so they render synchronously with no\nlazy load. Unlike registerLoomiIcon, this never replaces an icon an app\nregistered, so a component providing its own chrome icons can't clobber an\napp's override."
447
+ },
448
+ {
449
+ "kind": "function",
450
+ "name": "isLoomiIconAvailable",
451
+ "return": {
452
+ "type": {
453
+ "text": "boolean"
454
+ }
455
+ },
456
+ "parameters": [
457
+ {
458
+ "name": "name",
459
+ "type": {
460
+ "text": "string"
461
+ }
462
+ },
463
+ {
464
+ "name": "variant",
465
+ "default": "\"outline\"",
466
+ "type": {
467
+ "text": "LoomiIconVariant"
468
+ }
469
+ }
470
+ ],
471
+ "description": "Whether `name` is registered or provided for `variant`, i.e. renders without a load."
472
+ },
338
473
  {
339
474
  "kind": "function",
340
475
  "name": "getLoomiIcon",
@@ -358,11 +493,36 @@
358
493
  }
359
494
  }
360
495
  ],
361
- "description": "Returns the inner SVG for an icon name, or `undefined` if it isn't registered."
496
+ "description": "The icon's inner SVG if it is ready to render right now — registered, provided,\nor already loaded — else `undefined`. It never starts a load: use\nloadLoomiIcon, or render through the `loomiIcon()` directive, which does\nboth. Use `hasLoomiIcon()` to ask whether a name exists at all."
362
497
  },
363
498
  {
364
499
  "kind": "function",
365
- "name": "loomiIconNames",
500
+ "name": "loadLoomiIcon",
501
+ "return": {
502
+ "type": {
503
+ "text": "Promise<SVGTemplateResult | undefined>"
504
+ }
505
+ },
506
+ "parameters": [
507
+ {
508
+ "name": "name",
509
+ "type": {
510
+ "text": "string"
511
+ }
512
+ },
513
+ {
514
+ "name": "variant",
515
+ "default": "\"outline\"",
516
+ "type": {
517
+ "text": "LoomiIconVariant"
518
+ }
519
+ }
520
+ ],
521
+ "description": "Loads (once, then cached) and resolves the icon's inner SVG, or `undefined` for an\nunknown name or a failed load. A `solid` request for an icon with no solid version\nresolves to its outline icon."
522
+ },
523
+ {
524
+ "kind": "function",
525
+ "name": "registeredLoomiIconNames",
366
526
  "return": {
367
527
  "type": {
368
528
  "text": "string[]"
@@ -377,7 +537,7 @@
377
537
  }
378
538
  }
379
539
  ],
380
- "description": "Names of all currently-registered icons."
540
+ "description": "Names registered or provided for a variant (shipped Heroicons not yet loaded aren't included)."
381
541
  }
382
542
  ],
383
543
  "exports": [
@@ -389,6 +549,22 @@
389
549
  "module": "src/heroicons.ts"
390
550
  }
391
551
  },
552
+ {
553
+ "kind": "js",
554
+ "name": "provideLoomiIcons",
555
+ "declaration": {
556
+ "name": "provideLoomiIcons",
557
+ "module": "src/heroicons.ts"
558
+ }
559
+ },
560
+ {
561
+ "kind": "js",
562
+ "name": "isLoomiIconAvailable",
563
+ "declaration": {
564
+ "name": "isLoomiIconAvailable",
565
+ "module": "src/heroicons.ts"
566
+ }
567
+ },
392
568
  {
393
569
  "kind": "js",
394
570
  "name": "getLoomiIcon",
@@ -399,9 +575,17 @@
399
575
  },
400
576
  {
401
577
  "kind": "js",
402
- "name": "loomiIconNames",
578
+ "name": "loadLoomiIcon",
403
579
  "declaration": {
404
- "name": "loomiIconNames",
580
+ "name": "loadLoomiIcon",
581
+ "module": "src/heroicons.ts"
582
+ }
583
+ },
584
+ {
585
+ "kind": "js",
586
+ "name": "registeredLoomiIconNames",
587
+ "declaration": {
588
+ "name": "registeredLoomiIconNames",
405
589
  "module": "src/heroicons.ts"
406
590
  }
407
591
  }
@@ -420,6 +604,22 @@
420
604
  "module": "src/heroicons.js"
421
605
  }
422
606
  },
607
+ {
608
+ "kind": "js",
609
+ "name": "*",
610
+ "declaration": {
611
+ "name": "*",
612
+ "module": "src/names.js"
613
+ }
614
+ },
615
+ {
616
+ "kind": "js",
617
+ "name": "*",
618
+ "declaration": {
619
+ "name": "*",
620
+ "module": "src/directive.js"
621
+ }
622
+ },
423
623
  {
424
624
  "kind": "js",
425
625
  "name": "*",
@@ -429,6 +629,74 @@
429
629
  }
430
630
  }
431
631
  ]
632
+ },
633
+ {
634
+ "kind": "javascript-module",
635
+ "path": "src/names.ts",
636
+ "declarations": [
637
+ {
638
+ "kind": "function",
639
+ "name": "hasLoomiIcon",
640
+ "return": {
641
+ "type": {
642
+ "text": "boolean"
643
+ }
644
+ },
645
+ "parameters": [
646
+ {
647
+ "name": "name",
648
+ "type": {
649
+ "text": "string"
650
+ }
651
+ },
652
+ {
653
+ "name": "variant",
654
+ "default": "\"outline\"",
655
+ "type": {
656
+ "text": "LoomiIconVariant"
657
+ }
658
+ }
659
+ ],
660
+ "description": "Whether `name` is a known icon (registered, provided, or a shipped Heroicon). Loads\nnothing. A `solid` name with only an outline version counts, since it renders that."
661
+ },
662
+ {
663
+ "kind": "function",
664
+ "name": "loomiIconNames",
665
+ "return": {
666
+ "type": {
667
+ "text": "string[]"
668
+ }
669
+ },
670
+ "parameters": [
671
+ {
672
+ "name": "variant",
673
+ "default": "\"outline\"",
674
+ "type": {
675
+ "text": "LoomiIconVariant"
676
+ }
677
+ }
678
+ ],
679
+ "description": "Names of every known icon for a variant: the shipped Heroicons plus any registered ones."
680
+ }
681
+ ],
682
+ "exports": [
683
+ {
684
+ "kind": "js",
685
+ "name": "hasLoomiIcon",
686
+ "declaration": {
687
+ "name": "hasLoomiIcon",
688
+ "module": "src/names.ts"
689
+ }
690
+ },
691
+ {
692
+ "kind": "js",
693
+ "name": "loomiIconNames",
694
+ "declaration": {
695
+ "name": "loomiIconNames",
696
+ "module": "src/names.ts"
697
+ }
698
+ }
699
+ ]
432
700
  }
433
701
  ]
434
702
  }
package/dist/all.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=all.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"all.d.ts","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":""}
package/dist/all.js ADDED
@@ -0,0 +1,11 @@
1
+ // `import "@loomidev/icons/all";` — every Heroicon, eagerly, in the importing chunk.
2
+ //
3
+ // Opt-in for apps that would rather pay the whole set (~73 KB gzipped, both variants) up front than
4
+ // load icons one by one: every `icon="<name>"` then renders synchronously on first
5
+ // paint. Icons an app registered with registerLoomiIcon() still win.
6
+ import { provideLoomiIcons } from "./heroicons.js";
7
+ import outline from "./heroicons/outline/all.js";
8
+ import solid from "./heroicons/solid/all.js";
9
+ provideLoomiIcons(outline, "outline");
10
+ provideLoomiIcons(solid, "solid");
11
+ //# sourceMappingURL=all.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"all.js","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,EAAE;AACF,oGAAoG;AACpG,mFAAmF;AACnF,qEAAqE;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,OAAO,MAAM,4BAA4B,CAAC;AACjD,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAE7C,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AACtC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { nothing, type SVGTemplateResult } from "lit";
2
+ import { AsyncDirective } from "lit/async-directive.js";
3
+ import { type LoomiIconVariant } from "./heroicons.js";
4
+ declare class LoomiIconDirective extends AsyncDirective {
5
+ private request;
6
+ render(name: string, variant?: LoomiIconVariant): SVGTemplateResult | typeof nothing;
7
+ protected reconnected(): void;
8
+ }
9
+ /**
10
+ * Renders a Heroicon's inner SVG inside an `<svg>` element, loading that one icon on
11
+ * first use: `` svg`<svg viewBox="0 0 24 24">${loomiIcon("bell")}</svg>` ``.
12
+ *
13
+ * Renders synchronously when the icon is already registered, provided or loaded;
14
+ * otherwise it renders nothing and fills in once the icon's module arrives. Check
15
+ * {@link hasLoomiIcon} first when an unknown name should fall back to something else.
16
+ */
17
+ export declare const loomiIcon: (name: string, variant?: LoomiIconVariant | undefined) => import("lit/async-directive.js").DirectiveResult<typeof LoomiIconDirective>;
18
+ export {};
19
+ //# sourceMappingURL=directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directive.d.ts","sourceRoot":"","sources":["../src/directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAChE,OAAO,EAAE,cAAc,EAAa,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAA+B,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpF,cAAM,kBAAmB,SAAQ,cAAc;IAC7C,OAAO,CAAC,OAAO,CAAM;IAErB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,gBAA4B,GAAG,iBAAiB,GAAG,OAAO,OAAO;cAgB5E,WAAW,IAAI,IAAI;CAIvC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,uIAAgC,CAAC"}