rn-iconify 1.0.0 → 2.0.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 (657) hide show
  1. package/README.md +47 -235
  2. package/babel.js +14 -0
  3. package/lib/commonjs/IconRenderer.js +91 -4
  4. package/lib/commonjs/IconRenderer.js.map +1 -1
  5. package/lib/commonjs/accessibility/AccessibilityProvider.js +189 -0
  6. package/lib/commonjs/accessibility/AccessibilityProvider.js.map +1 -0
  7. package/lib/commonjs/accessibility/index.js +87 -0
  8. package/lib/commonjs/accessibility/index.js.map +1 -0
  9. package/lib/commonjs/accessibility/types.js +6 -0
  10. package/lib/commonjs/accessibility/types.js.map +1 -0
  11. package/lib/commonjs/accessibility/useAccessibleIcon.js +119 -0
  12. package/lib/commonjs/accessibility/useAccessibleIcon.js.map +1 -0
  13. package/lib/commonjs/accessibility/utils.js +231 -0
  14. package/lib/commonjs/accessibility/utils.js.map +1 -0
  15. package/lib/commonjs/alias/Icon.js +113 -0
  16. package/lib/commonjs/alias/Icon.js.map +1 -0
  17. package/lib/commonjs/alias/IconAliasContext.js +177 -0
  18. package/lib/commonjs/alias/IconAliasContext.js.map +1 -0
  19. package/lib/commonjs/alias/createIconAliases.js +222 -0
  20. package/lib/commonjs/alias/createIconAliases.js.map +1 -0
  21. package/lib/commonjs/alias/index.js +57 -0
  22. package/lib/commonjs/alias/index.js.map +1 -0
  23. package/lib/commonjs/alias/types.js +6 -0
  24. package/lib/commonjs/alias/types.js.map +1 -0
  25. package/lib/commonjs/animated/AnimatedIcon.js +116 -0
  26. package/lib/commonjs/animated/AnimatedIcon.js.map +1 -0
  27. package/lib/commonjs/animated/index.js +76 -0
  28. package/lib/commonjs/animated/index.js.map +1 -0
  29. package/lib/commonjs/animated/presets.js +220 -0
  30. package/lib/commonjs/animated/presets.js.map +1 -0
  31. package/lib/commonjs/animated/types.js +71 -0
  32. package/lib/commonjs/animated/types.js.map +1 -0
  33. package/lib/commonjs/animated/useIconAnimation.js +313 -0
  34. package/lib/commonjs/animated/useIconAnimation.js.map +1 -0
  35. package/lib/commonjs/babel/ast-utils.js +214 -0
  36. package/lib/commonjs/babel/ast-utils.js.map +1 -0
  37. package/lib/commonjs/babel/cache-writer.js +281 -0
  38. package/lib/commonjs/babel/cache-writer.js.map +1 -0
  39. package/lib/commonjs/babel/collector.js +219 -0
  40. package/lib/commonjs/babel/collector.js.map +1 -0
  41. package/lib/commonjs/babel/index.js +104 -0
  42. package/lib/commonjs/babel/index.js.map +1 -0
  43. package/lib/commonjs/babel/plugin.js +226 -0
  44. package/lib/commonjs/babel/plugin.js.map +1 -0
  45. package/lib/commonjs/babel/types.js +485 -0
  46. package/lib/commonjs/babel/types.js.map +1 -0
  47. package/lib/commonjs/bundle/index.js +213 -0
  48. package/lib/commonjs/bundle/index.js.map +1 -0
  49. package/lib/commonjs/cache/CacheManager.js +105 -6
  50. package/lib/commonjs/cache/CacheManager.js.map +1 -1
  51. package/lib/commonjs/cli/commands/analyze.js +171 -0
  52. package/lib/commonjs/cli/commands/analyze.js.map +1 -0
  53. package/lib/commonjs/cli/commands/bundle.js +214 -0
  54. package/lib/commonjs/cli/commands/bundle.js.map +1 -0
  55. package/lib/commonjs/cli/index.js +142 -0
  56. package/lib/commonjs/cli/index.js.map +1 -0
  57. package/lib/commonjs/cli/parser.js +260 -0
  58. package/lib/commonjs/cli/parser.js.map +1 -0
  59. package/lib/commonjs/cli/types.js +42 -0
  60. package/lib/commonjs/cli/types.js.map +1 -0
  61. package/lib/commonjs/config/ConfigManager.js +182 -0
  62. package/lib/commonjs/config/ConfigManager.js.map +1 -0
  63. package/lib/commonjs/config/index.js +44 -0
  64. package/lib/commonjs/config/index.js.map +1 -0
  65. package/lib/commonjs/config/types.js +55 -0
  66. package/lib/commonjs/config/types.js.map +1 -0
  67. package/lib/commonjs/createIconSet.js +49 -11
  68. package/lib/commonjs/createIconSet.js.map +1 -1
  69. package/lib/commonjs/explorer/IconExplorer.js +827 -0
  70. package/lib/commonjs/explorer/IconExplorer.js.map +1 -0
  71. package/lib/commonjs/explorer/iconSets.js +303 -0
  72. package/lib/commonjs/explorer/iconSets.js.map +1 -0
  73. package/lib/commonjs/explorer/index.js +93 -0
  74. package/lib/commonjs/explorer/index.js.map +1 -0
  75. package/lib/commonjs/explorer/types.js +6 -0
  76. package/lib/commonjs/explorer/types.js.map +1 -0
  77. package/lib/commonjs/explorer/useExplorer.js +359 -0
  78. package/lib/commonjs/explorer/useExplorer.js.map +1 -0
  79. package/lib/commonjs/index.js +618 -12
  80. package/lib/commonjs/index.js.map +1 -1
  81. package/lib/commonjs/navigation/createDrawerIcon.js +129 -0
  82. package/lib/commonjs/navigation/createDrawerIcon.js.map +1 -0
  83. package/lib/commonjs/navigation/createHeaderIcon.js +185 -0
  84. package/lib/commonjs/navigation/createHeaderIcon.js.map +1 -0
  85. package/lib/commonjs/navigation/createTabBarIcon.js +178 -0
  86. package/lib/commonjs/navigation/createTabBarIcon.js.map +1 -0
  87. package/lib/commonjs/navigation/index.js +83 -0
  88. package/lib/commonjs/navigation/index.js.map +1 -0
  89. package/lib/commonjs/navigation/types.js +94 -0
  90. package/lib/commonjs/navigation/types.js.map +1 -0
  91. package/lib/commonjs/navigation/useNavigationIcon.js +128 -0
  92. package/lib/commonjs/navigation/useNavigationIcon.js.map +1 -0
  93. package/lib/commonjs/network/IconifyAPI.js +154 -14
  94. package/lib/commonjs/network/IconifyAPI.js.map +1 -1
  95. package/lib/commonjs/network/index.js +18 -0
  96. package/lib/commonjs/network/index.js.map +1 -1
  97. package/lib/commonjs/performance/PerformanceMonitor.js +327 -0
  98. package/lib/commonjs/performance/PerformanceMonitor.js.map +1 -0
  99. package/lib/commonjs/performance/index.js +43 -0
  100. package/lib/commonjs/performance/index.js.map +1 -0
  101. package/lib/commonjs/performance/types.js +2 -0
  102. package/lib/commonjs/performance/types.js.map +1 -0
  103. package/lib/commonjs/placeholder/PlaceholderFactory.js +111 -0
  104. package/lib/commonjs/placeholder/PlaceholderFactory.js.map +1 -0
  105. package/lib/commonjs/placeholder/Pulse.js +77 -0
  106. package/lib/commonjs/placeholder/Pulse.js.map +1 -0
  107. package/lib/commonjs/placeholder/Shimmer.js +95 -0
  108. package/lib/commonjs/placeholder/Shimmer.js.map +1 -0
  109. package/lib/commonjs/placeholder/Skeleton.js +52 -0
  110. package/lib/commonjs/placeholder/Skeleton.js.map +1 -0
  111. package/lib/commonjs/placeholder/index.js +41 -0
  112. package/lib/commonjs/placeholder/index.js.map +1 -0
  113. package/lib/commonjs/placeholder/types.js +40 -0
  114. package/lib/commonjs/placeholder/types.js.map +1 -0
  115. package/lib/commonjs/theme/IconThemeProvider.js +96 -0
  116. package/lib/commonjs/theme/IconThemeProvider.js.map +1 -0
  117. package/lib/commonjs/theme/context.js +53 -0
  118. package/lib/commonjs/theme/context.js.map +1 -0
  119. package/lib/commonjs/theme/index.js +52 -0
  120. package/lib/commonjs/theme/index.js.map +1 -0
  121. package/lib/commonjs/theme/types.js +39 -0
  122. package/lib/commonjs/theme/types.js.map +1 -0
  123. package/lib/commonjs/theme/useIconTheme.js +121 -0
  124. package/lib/commonjs/theme/useIconTheme.js.map +1 -0
  125. package/lib/module/IconRenderer.js +92 -5
  126. package/lib/module/IconRenderer.js.map +1 -1
  127. package/lib/module/accessibility/AccessibilityProvider.js +179 -0
  128. package/lib/module/accessibility/AccessibilityProvider.js.map +1 -0
  129. package/lib/module/accessibility/index.js +42 -0
  130. package/lib/module/accessibility/index.js.map +1 -0
  131. package/lib/module/accessibility/types.js +2 -0
  132. package/lib/module/accessibility/types.js.map +1 -0
  133. package/lib/module/accessibility/useAccessibleIcon.js +112 -0
  134. package/lib/module/accessibility/useAccessibleIcon.js.map +1 -0
  135. package/lib/module/accessibility/utils.js +221 -0
  136. package/lib/module/accessibility/utils.js.map +1 -0
  137. package/lib/module/alias/Icon.js +105 -0
  138. package/lib/module/alias/Icon.js.map +1 -0
  139. package/lib/module/alias/IconAliasContext.js +166 -0
  140. package/lib/module/alias/IconAliasContext.js.map +1 -0
  141. package/lib/module/alias/createIconAliases.js +213 -0
  142. package/lib/module/alias/createIconAliases.js.map +1 -0
  143. package/lib/module/alias/index.js +45 -0
  144. package/lib/module/alias/index.js.map +1 -0
  145. package/lib/module/alias/types.js +2 -0
  146. package/lib/module/alias/types.js.map +1 -0
  147. package/lib/module/animated/AnimatedIcon.js +109 -0
  148. package/lib/module/animated/AnimatedIcon.js.map +1 -0
  149. package/lib/module/animated/index.js +80 -0
  150. package/lib/module/animated/index.js.map +1 -0
  151. package/lib/module/animated/presets.js +209 -0
  152. package/lib/module/animated/presets.js.map +1 -0
  153. package/lib/module/animated/types.js +65 -0
  154. package/lib/module/animated/types.js.map +1 -0
  155. package/lib/module/animated/useIconAnimation.js +306 -0
  156. package/lib/module/animated/useIconAnimation.js.map +1 -0
  157. package/lib/module/babel/ast-utils.js +201 -0
  158. package/lib/module/babel/ast-utils.js.map +1 -0
  159. package/lib/module/babel/cache-writer.js +269 -0
  160. package/lib/module/babel/cache-writer.js.map +1 -0
  161. package/lib/module/babel/collector.js +214 -0
  162. package/lib/module/babel/collector.js.map +1 -0
  163. package/lib/module/babel/index.js +51 -0
  164. package/lib/module/babel/index.js.map +1 -0
  165. package/lib/module/babel/plugin.js +220 -0
  166. package/lib/module/babel/plugin.js.map +1 -0
  167. package/lib/module/babel/types.js +476 -0
  168. package/lib/module/babel/types.js.map +1 -0
  169. package/lib/module/bundle/index.js +205 -0
  170. package/lib/module/bundle/index.js.map +1 -0
  171. package/lib/module/cache/CacheManager.js +106 -6
  172. package/lib/module/cache/CacheManager.js.map +1 -1
  173. package/lib/module/cli/commands/analyze.js +166 -0
  174. package/lib/module/cli/commands/analyze.js.map +1 -0
  175. package/lib/module/cli/commands/bundle.js +208 -0
  176. package/lib/module/cli/commands/bundle.js.map +1 -0
  177. package/lib/module/cli/index.js +140 -0
  178. package/lib/module/cli/index.js.map +1 -0
  179. package/lib/module/cli/parser.js +251 -0
  180. package/lib/module/cli/parser.js.map +1 -0
  181. package/lib/module/cli/types.js +36 -0
  182. package/lib/module/cli/types.js.map +1 -0
  183. package/lib/module/components/index.js +27 -1
  184. package/lib/module/components/index.js.map +1 -1
  185. package/lib/module/config/ConfigManager.js +173 -0
  186. package/lib/module/config/ConfigManager.js.map +1 -0
  187. package/lib/module/config/index.js +28 -0
  188. package/lib/module/config/index.js.map +1 -0
  189. package/lib/module/config/types.js +49 -0
  190. package/lib/module/config/types.js.map +1 -0
  191. package/lib/module/createIconSet.js +49 -11
  192. package/lib/module/createIconSet.js.map +1 -1
  193. package/lib/module/explorer/IconExplorer.js +817 -0
  194. package/lib/module/explorer/IconExplorer.js.map +1 -0
  195. package/lib/module/explorer/iconSets.js +291 -0
  196. package/lib/module/explorer/iconSets.js.map +1 -0
  197. package/lib/module/explorer/index.js +42 -0
  198. package/lib/module/explorer/index.js.map +1 -0
  199. package/lib/module/explorer/types.js +2 -0
  200. package/lib/module/explorer/types.js.map +1 -0
  201. package/lib/module/explorer/useExplorer.js +353 -0
  202. package/lib/module/explorer/useExplorer.js.map +1 -0
  203. package/lib/module/index.js +26 -11
  204. package/lib/module/index.js.map +1 -1
  205. package/lib/module/navigation/createDrawerIcon.js +121 -0
  206. package/lib/module/navigation/createDrawerIcon.js.map +1 -0
  207. package/lib/module/navigation/createHeaderIcon.js +175 -0
  208. package/lib/module/navigation/createHeaderIcon.js.map +1 -0
  209. package/lib/module/navigation/createTabBarIcon.js +168 -0
  210. package/lib/module/navigation/createTabBarIcon.js.map +1 -0
  211. package/lib/module/navigation/index.js +59 -0
  212. package/lib/module/navigation/index.js.map +1 -0
  213. package/lib/module/navigation/types.js +88 -0
  214. package/lib/module/navigation/types.js.map +1 -0
  215. package/lib/module/navigation/useNavigationIcon.js +121 -0
  216. package/lib/module/navigation/useNavigationIcon.js.map +1 -0
  217. package/lib/module/network/IconifyAPI.js +152 -14
  218. package/lib/module/network/IconifyAPI.js.map +1 -1
  219. package/lib/module/network/index.js +1 -1
  220. package/lib/module/network/index.js.map +1 -1
  221. package/lib/module/performance/PerformanceMonitor.js +317 -0
  222. package/lib/module/performance/PerformanceMonitor.js.map +1 -0
  223. package/lib/module/performance/index.js +26 -0
  224. package/lib/module/performance/index.js.map +1 -0
  225. package/lib/module/performance/types.js +2 -0
  226. package/lib/module/performance/types.js.map +1 -0
  227. package/lib/module/placeholder/PlaceholderFactory.js +105 -0
  228. package/lib/module/placeholder/PlaceholderFactory.js.map +1 -0
  229. package/lib/module/placeholder/Pulse.js +70 -0
  230. package/lib/module/placeholder/Pulse.js.map +1 -0
  231. package/lib/module/placeholder/Shimmer.js +88 -0
  232. package/lib/module/placeholder/Shimmer.js.map +1 -0
  233. package/lib/module/placeholder/Skeleton.js +45 -0
  234. package/lib/module/placeholder/Skeleton.js.map +1 -0
  235. package/lib/module/placeholder/index.js +15 -0
  236. package/lib/module/placeholder/index.js.map +1 -0
  237. package/lib/module/placeholder/types.js +34 -0
  238. package/lib/module/placeholder/types.js.map +1 -0
  239. package/lib/module/theme/IconThemeProvider.js +89 -0
  240. package/lib/module/theme/IconThemeProvider.js.map +1 -0
  241. package/lib/module/theme/context.js +47 -0
  242. package/lib/module/theme/context.js.map +1 -0
  243. package/lib/module/theme/index.js +19 -0
  244. package/lib/module/theme/index.js.map +1 -0
  245. package/lib/module/theme/types.js +33 -0
  246. package/lib/module/theme/types.js.map +1 -0
  247. package/lib/module/theme/useIconTheme.js +114 -0
  248. package/lib/module/theme/useIconTheme.js.map +1 -0
  249. package/lib/typescript/IconRenderer.d.ts +1 -1
  250. package/lib/typescript/IconRenderer.d.ts.map +1 -1
  251. package/lib/typescript/accessibility/AccessibilityProvider.d.ts +57 -0
  252. package/lib/typescript/accessibility/AccessibilityProvider.d.ts.map +1 -0
  253. package/lib/typescript/accessibility/index.d.ts +37 -0
  254. package/lib/typescript/accessibility/index.d.ts.map +1 -0
  255. package/lib/typescript/accessibility/types.d.ts +130 -0
  256. package/lib/typescript/accessibility/types.d.ts.map +1 -0
  257. package/lib/typescript/accessibility/useAccessibleIcon.d.ts +111 -0
  258. package/lib/typescript/accessibility/useAccessibleIcon.d.ts.map +1 -0
  259. package/lib/typescript/accessibility/utils.d.ts +29 -0
  260. package/lib/typescript/accessibility/utils.d.ts.map +1 -0
  261. package/lib/typescript/alias/Icon.d.ts +38 -0
  262. package/lib/typescript/alias/Icon.d.ts.map +1 -0
  263. package/lib/typescript/alias/IconAliasContext.d.ts +52 -0
  264. package/lib/typescript/alias/IconAliasContext.d.ts.map +1 -0
  265. package/lib/typescript/alias/createIconAliases.d.ts +77 -0
  266. package/lib/typescript/alias/createIconAliases.d.ts.map +1 -0
  267. package/lib/typescript/alias/index.d.ts +36 -0
  268. package/lib/typescript/alias/index.d.ts.map +1 -0
  269. package/lib/typescript/alias/types.d.ts +115 -0
  270. package/lib/typescript/alias/types.d.ts.map +1 -0
  271. package/lib/typescript/animated/AnimatedIcon.d.ts +45 -0
  272. package/lib/typescript/animated/AnimatedIcon.d.ts.map +1 -0
  273. package/lib/typescript/animated/index.d.ts +70 -0
  274. package/lib/typescript/animated/index.d.ts.map +1 -0
  275. package/lib/typescript/animated/presets.d.ts +35 -0
  276. package/lib/typescript/animated/presets.d.ts.map +1 -0
  277. package/lib/typescript/animated/types.d.ts +196 -0
  278. package/lib/typescript/animated/types.d.ts.map +1 -0
  279. package/lib/typescript/animated/useIconAnimation.d.ts +64 -0
  280. package/lib/typescript/animated/useIconAnimation.d.ts.map +1 -0
  281. package/lib/typescript/babel/ast-utils.d.ts +52 -0
  282. package/lib/typescript/babel/ast-utils.d.ts.map +1 -0
  283. package/lib/typescript/babel/cache-writer.d.ts +56 -0
  284. package/lib/typescript/babel/cache-writer.d.ts.map +1 -0
  285. package/lib/typescript/babel/collector.d.ts +107 -0
  286. package/lib/typescript/babel/collector.d.ts.map +1 -0
  287. package/lib/typescript/babel/index.d.ts +47 -0
  288. package/lib/typescript/babel/index.d.ts.map +1 -0
  289. package/lib/typescript/babel/plugin.d.ts +17 -0
  290. package/lib/typescript/babel/plugin.d.ts.map +1 -0
  291. package/lib/typescript/babel/types.d.ts +129 -0
  292. package/lib/typescript/babel/types.d.ts.map +1 -0
  293. package/lib/typescript/bundle/index.d.ts +161 -0
  294. package/lib/typescript/bundle/index.d.ts.map +1 -0
  295. package/lib/typescript/cache/CacheManager.d.ts +52 -4
  296. package/lib/typescript/cache/CacheManager.d.ts.map +1 -1
  297. package/lib/typescript/cli/commands/analyze.d.ts +10 -0
  298. package/lib/typescript/cli/commands/analyze.d.ts.map +1 -0
  299. package/lib/typescript/cli/commands/bundle.d.ts +10 -0
  300. package/lib/typescript/cli/commands/bundle.d.ts.map +1 -0
  301. package/lib/typescript/cli/index.d.ts +7 -0
  302. package/lib/typescript/cli/index.d.ts.map +1 -0
  303. package/lib/typescript/cli/parser.d.ts +18 -0
  304. package/lib/typescript/cli/parser.d.ts.map +1 -0
  305. package/lib/typescript/cli/types.d.ts +157 -0
  306. package/lib/typescript/cli/types.d.ts.map +1 -0
  307. package/lib/typescript/components/Academicons.d.ts +1 -1
  308. package/lib/typescript/components/AkarIcons.d.ts +1 -1
  309. package/lib/typescript/components/AntDesign.d.ts +1 -1
  310. package/lib/typescript/components/Arcticons.d.ts +1 -1
  311. package/lib/typescript/components/Basil.d.ts +1 -1
  312. package/lib/typescript/components/Bi.d.ts +1 -1
  313. package/lib/typescript/components/BitcoinIcons.d.ts +1 -1
  314. package/lib/typescript/components/Bpmn.d.ts +1 -1
  315. package/lib/typescript/components/Brandico.d.ts +1 -1
  316. package/lib/typescript/components/Bx.d.ts +1 -1
  317. package/lib/typescript/components/Bxl.d.ts +1 -1
  318. package/lib/typescript/components/Bxs.d.ts +1 -1
  319. package/lib/typescript/components/Bytesize.d.ts +1 -1
  320. package/lib/typescript/components/Carbon.d.ts +1 -1
  321. package/lib/typescript/components/Catppuccin.d.ts +1 -1
  322. package/lib/typescript/components/Cbi.d.ts +1 -1
  323. package/lib/typescript/components/Charm.d.ts +1 -1
  324. package/lib/typescript/components/Ci.d.ts +1 -1
  325. package/lib/typescript/components/Cib.d.ts +1 -1
  326. package/lib/typescript/components/Cif.d.ts +1 -1
  327. package/lib/typescript/components/Cil.d.ts +1 -1
  328. package/lib/typescript/components/CircleFlags.d.ts +1 -1
  329. package/lib/typescript/components/Circum.d.ts +1 -1
  330. package/lib/typescript/components/Clarity.d.ts +1 -1
  331. package/lib/typescript/components/Codex.d.ts +1 -1
  332. package/lib/typescript/components/Codicon.d.ts +1 -1
  333. package/lib/typescript/components/Covid.d.ts +1 -1
  334. package/lib/typescript/components/Cryptocurrency.d.ts +1 -1
  335. package/lib/typescript/components/CryptocurrencyColor.d.ts +1 -1
  336. package/lib/typescript/components/Cuida.d.ts +1 -1
  337. package/lib/typescript/components/Dashicons.d.ts +1 -1
  338. package/lib/typescript/components/Devicon.d.ts +1 -1
  339. package/lib/typescript/components/DeviconPlain.d.ts +1 -1
  340. package/lib/typescript/components/DinkieIcons.d.ts +1 -1
  341. package/lib/typescript/components/DuoIcons.d.ts +1 -1
  342. package/lib/typescript/components/Ei.d.ts +1 -1
  343. package/lib/typescript/components/El.d.ts +1 -1
  344. package/lib/typescript/components/EmojioneMonotone.d.ts +1 -1
  345. package/lib/typescript/components/Entypo.d.ts +1 -1
  346. package/lib/typescript/components/EntypoSocial.d.ts +1 -1
  347. package/lib/typescript/components/EosIcons.d.ts +1 -1
  348. package/lib/typescript/components/Ep.d.ts +1 -1
  349. package/lib/typescript/components/Et.d.ts +1 -1
  350. package/lib/typescript/components/Eva.d.ts +1 -1
  351. package/lib/typescript/components/F7.d.ts +1 -1
  352. package/lib/typescript/components/Fa.d.ts +1 -1
  353. package/lib/typescript/components/Fa6Brands.d.ts +1 -1
  354. package/lib/typescript/components/Fa6Regular.d.ts +1 -1
  355. package/lib/typescript/components/Fa6Solid.d.ts +1 -1
  356. package/lib/typescript/components/Fa7Brands.d.ts +1 -1
  357. package/lib/typescript/components/Fa7Regular.d.ts +1 -1
  358. package/lib/typescript/components/Fa7Solid.d.ts +1 -1
  359. package/lib/typescript/components/FaBrands.d.ts +1 -1
  360. package/lib/typescript/components/FaRegular.d.ts +1 -1
  361. package/lib/typescript/components/FaSolid.d.ts +1 -1
  362. package/lib/typescript/components/Fad.d.ts +1 -1
  363. package/lib/typescript/components/Famicons.d.ts +1 -1
  364. package/lib/typescript/components/Fe.d.ts +1 -1
  365. package/lib/typescript/components/Feather.d.ts +1 -1
  366. package/lib/typescript/components/FileIcons.d.ts +1 -1
  367. package/lib/typescript/components/Flag.d.ts +1 -1
  368. package/lib/typescript/components/Flagpack.d.ts +1 -1
  369. package/lib/typescript/components/FlatUi.d.ts +1 -1
  370. package/lib/typescript/components/Flowbite.d.ts +1 -1
  371. package/lib/typescript/components/Fluent.d.ts +1 -1
  372. package/lib/typescript/components/FluentColor.d.ts +1 -1
  373. package/lib/typescript/components/FluentEmoji.d.ts +1 -1
  374. package/lib/typescript/components/FluentEmojiFlat.d.ts +1 -1
  375. package/lib/typescript/components/FluentEmojiHighContrast.d.ts +1 -1
  376. package/lib/typescript/components/FluentMdl2.d.ts +1 -1
  377. package/lib/typescript/components/Fontelico.d.ts +1 -1
  378. package/lib/typescript/components/Fontisto.d.ts +1 -1
  379. package/lib/typescript/components/Formkit.d.ts +1 -1
  380. package/lib/typescript/components/Foundation.d.ts +1 -1
  381. package/lib/typescript/components/Gala.d.ts +1 -1
  382. package/lib/typescript/components/GameIcons.d.ts +1 -1
  383. package/lib/typescript/components/Garden.d.ts +1 -1
  384. package/lib/typescript/components/Geo.d.ts +1 -1
  385. package/lib/typescript/components/Gg.d.ts +1 -1
  386. package/lib/typescript/components/Gis.d.ts +1 -1
  387. package/lib/typescript/components/GravityUi.d.ts +1 -1
  388. package/lib/typescript/components/Gridicons.d.ts +1 -1
  389. package/lib/typescript/components/GrommetIcons.d.ts +1 -1
  390. package/lib/typescript/components/Guidance.d.ts +1 -1
  391. package/lib/typescript/components/Healthicons.d.ts +1 -1
  392. package/lib/typescript/components/Heroicons.d.ts +1 -1
  393. package/lib/typescript/components/HeroiconsOutline.d.ts +1 -1
  394. package/lib/typescript/components/HeroiconsSolid.d.ts +1 -1
  395. package/lib/typescript/components/Hugeicons.d.ts +1 -1
  396. package/lib/typescript/components/Humbleicons.d.ts +1 -1
  397. package/lib/typescript/components/Ic.d.ts +1 -1
  398. package/lib/typescript/components/IcomoonFree.d.ts +1 -1
  399. package/lib/typescript/components/IconPark.d.ts +1 -1
  400. package/lib/typescript/components/IconParkOutline.d.ts +1 -1
  401. package/lib/typescript/components/IconParkSolid.d.ts +1 -1
  402. package/lib/typescript/components/IconParkTwotone.d.ts +1 -1
  403. package/lib/typescript/components/Iconamoon.d.ts +1 -1
  404. package/lib/typescript/components/Iconoir.d.ts +1 -1
  405. package/lib/typescript/components/Icons8.d.ts +1 -1
  406. package/lib/typescript/components/Il.d.ts +1 -1
  407. package/lib/typescript/components/Ion.d.ts +1 -1
  408. package/lib/typescript/components/Iwwa.d.ts +1 -1
  409. package/lib/typescript/components/Ix.d.ts +1 -1
  410. package/lib/typescript/components/Jam.d.ts +1 -1
  411. package/lib/typescript/components/La.d.ts +1 -1
  412. package/lib/typescript/components/LetsIcons.d.ts +1 -1
  413. package/lib/typescript/components/LineMd.d.ts +1 -1
  414. package/lib/typescript/components/Lineicons.d.ts +1 -1
  415. package/lib/typescript/components/Logos.d.ts +1 -1
  416. package/lib/typescript/components/Ls.d.ts +1 -1
  417. package/lib/typescript/components/Lsicon.d.ts +1 -1
  418. package/lib/typescript/components/Lucide.d.ts +1 -1
  419. package/lib/typescript/components/LucideLab.d.ts +1 -1
  420. package/lib/typescript/components/Mage.d.ts +1 -1
  421. package/lib/typescript/components/Majesticons.d.ts +1 -1
  422. package/lib/typescript/components/Maki.d.ts +1 -1
  423. package/lib/typescript/components/Map.d.ts +1 -1
  424. package/lib/typescript/components/Marketeq.d.ts +1 -1
  425. package/lib/typescript/components/MaterialIconTheme.d.ts +1 -1
  426. package/lib/typescript/components/MaterialSymbols.d.ts +1 -1
  427. package/lib/typescript/components/MaterialSymbolsLight.d.ts +1 -1
  428. package/lib/typescript/components/Mdi.d.ts +1 -1
  429. package/lib/typescript/components/MdiLight.d.ts +1 -1
  430. package/lib/typescript/components/MedicalIcon.d.ts +1 -1
  431. package/lib/typescript/components/Memory.d.ts +1 -1
  432. package/lib/typescript/components/Meteocons.d.ts +1 -1
  433. package/lib/typescript/components/MeteorIcons.d.ts +1 -1
  434. package/lib/typescript/components/Mi.d.ts +1 -1
  435. package/lib/typescript/components/Mingcute.d.ts +1 -1
  436. package/lib/typescript/components/MonoIcons.d.ts +1 -1
  437. package/lib/typescript/components/Mynaui.d.ts +1 -1
  438. package/lib/typescript/components/Nimbus.d.ts +1 -1
  439. package/lib/typescript/components/Nonicons.d.ts +1 -1
  440. package/lib/typescript/components/Nrk.d.ts +1 -1
  441. package/lib/typescript/components/Octicon.d.ts +1 -1
  442. package/lib/typescript/components/Oi.d.ts +1 -1
  443. package/lib/typescript/components/Ooui.d.ts +1 -1
  444. package/lib/typescript/components/Oui.d.ts +1 -1
  445. package/lib/typescript/components/Pajamas.d.ts +1 -1
  446. package/lib/typescript/components/Pepicons.d.ts +1 -1
  447. package/lib/typescript/components/PepiconsPencil.d.ts +1 -1
  448. package/lib/typescript/components/PepiconsPop.d.ts +1 -1
  449. package/lib/typescript/components/PepiconsPrint.d.ts +1 -1
  450. package/lib/typescript/components/Ph.d.ts +1 -1
  451. package/lib/typescript/components/Picon.d.ts +1 -1
  452. package/lib/typescript/components/Pixel.d.ts +1 -1
  453. package/lib/typescript/components/Pixelarticons.d.ts +1 -1
  454. package/lib/typescript/components/Prime.d.ts +1 -1
  455. package/lib/typescript/components/Proicons.d.ts +1 -1
  456. package/lib/typescript/components/Ps.d.ts +1 -1
  457. package/lib/typescript/components/QlementineIcons.d.ts +1 -1
  458. package/lib/typescript/components/Quill.d.ts +1 -1
  459. package/lib/typescript/components/RadixIcons.d.ts +1 -1
  460. package/lib/typescript/components/Raphael.d.ts +1 -1
  461. package/lib/typescript/components/Ri.d.ts +1 -1
  462. package/lib/typescript/components/RivetIcons.d.ts +1 -1
  463. package/lib/typescript/components/Roentgen.d.ts +1 -1
  464. package/lib/typescript/components/Si.d.ts +1 -1
  465. package/lib/typescript/components/SiGlyph.d.ts +1 -1
  466. package/lib/typescript/components/Sidekickicons.d.ts +1 -1
  467. package/lib/typescript/components/SimpleIcons.d.ts +1 -1
  468. package/lib/typescript/components/SimpleLineIcons.d.ts +1 -1
  469. package/lib/typescript/components/SkillIcons.d.ts +1 -1
  470. package/lib/typescript/components/Solar.d.ts +1 -1
  471. package/lib/typescript/components/Stash.d.ts +1 -1
  472. package/lib/typescript/components/Streamline.d.ts +1 -1
  473. package/lib/typescript/components/StreamlineBlock.d.ts +1 -1
  474. package/lib/typescript/components/StreamlineColor.d.ts +1 -1
  475. package/lib/typescript/components/StreamlineCyber.d.ts +1 -1
  476. package/lib/typescript/components/StreamlineCyberColor.d.ts +1 -1
  477. package/lib/typescript/components/StreamlineEmojis.d.ts +1 -1
  478. package/lib/typescript/components/StreamlineFlex.d.ts +1 -1
  479. package/lib/typescript/components/StreamlineFlexColor.d.ts +1 -1
  480. package/lib/typescript/components/StreamlineFreehand.d.ts +1 -1
  481. package/lib/typescript/components/StreamlineFreehandColor.d.ts +1 -1
  482. package/lib/typescript/components/StreamlineKameleonColor.d.ts +1 -1
  483. package/lib/typescript/components/StreamlineLogos.d.ts +1 -1
  484. package/lib/typescript/components/StreamlinePixel.d.ts +1 -1
  485. package/lib/typescript/components/StreamlinePlump.d.ts +1 -1
  486. package/lib/typescript/components/StreamlinePlumpColor.d.ts +1 -1
  487. package/lib/typescript/components/StreamlineSharp.d.ts +1 -1
  488. package/lib/typescript/components/StreamlineSharpColor.d.ts +1 -1
  489. package/lib/typescript/components/StreamlineStickiesColor.d.ts +1 -1
  490. package/lib/typescript/components/StreamlineUltimate.d.ts +1 -1
  491. package/lib/typescript/components/StreamlineUltimateColor.d.ts +1 -1
  492. package/lib/typescript/components/Subway.d.ts +1 -1
  493. package/lib/typescript/components/SvgSpinners.d.ts +1 -1
  494. package/lib/typescript/components/SystemUicons.d.ts +1 -1
  495. package/lib/typescript/components/Tabler.d.ts +1 -1
  496. package/lib/typescript/components/Tdesign.d.ts +1 -1
  497. package/lib/typescript/components/Teenyicons.d.ts +1 -1
  498. package/lib/typescript/components/Temaki.d.ts +1 -1
  499. package/lib/typescript/components/Token.d.ts +1 -1
  500. package/lib/typescript/components/TokenBranded.d.ts +1 -1
  501. package/lib/typescript/components/Topcoat.d.ts +1 -1
  502. package/lib/typescript/components/Typcn.d.ts +1 -1
  503. package/lib/typescript/components/Uil.d.ts +1 -1
  504. package/lib/typescript/components/Uim.d.ts +1 -1
  505. package/lib/typescript/components/Uis.d.ts +1 -1
  506. package/lib/typescript/components/Uit.d.ts +1 -1
  507. package/lib/typescript/components/Uiw.d.ts +1 -1
  508. package/lib/typescript/components/Unjs.d.ts +1 -1
  509. package/lib/typescript/components/Vaadin.d.ts +1 -1
  510. package/lib/typescript/components/Vs.d.ts +1 -1
  511. package/lib/typescript/components/VscodeIcons.d.ts +1 -1
  512. package/lib/typescript/components/Websymbol.d.ts +1 -1
  513. package/lib/typescript/components/Weui.d.ts +1 -1
  514. package/lib/typescript/components/Whh.d.ts +1 -1
  515. package/lib/typescript/components/Wi.d.ts +1 -1
  516. package/lib/typescript/components/Wpf.d.ts +1 -1
  517. package/lib/typescript/components/Zmdi.d.ts +1 -1
  518. package/lib/typescript/components/Zondicons.d.ts +1 -1
  519. package/lib/typescript/components/index.d.ts +38 -1
  520. package/lib/typescript/components/index.d.ts.map +1 -1
  521. package/lib/typescript/config/ConfigManager.d.ts +102 -0
  522. package/lib/typescript/config/ConfigManager.d.ts.map +1 -0
  523. package/lib/typescript/config/index.d.ts +22 -0
  524. package/lib/typescript/config/index.d.ts.map +1 -0
  525. package/lib/typescript/config/types.d.ts +112 -0
  526. package/lib/typescript/config/types.d.ts.map +1 -0
  527. package/lib/typescript/createIconSet.d.ts +1 -1
  528. package/lib/typescript/createIconSet.d.ts.map +1 -1
  529. package/lib/typescript/explorer/IconExplorer.d.ts +54 -0
  530. package/lib/typescript/explorer/IconExplorer.d.ts.map +1 -0
  531. package/lib/typescript/explorer/iconSets.d.ts +35 -0
  532. package/lib/typescript/explorer/iconSets.d.ts.map +1 -0
  533. package/lib/typescript/explorer/index.d.ts +33 -0
  534. package/lib/typescript/explorer/index.d.ts.map +1 -0
  535. package/lib/typescript/explorer/types.d.ts +329 -0
  536. package/lib/typescript/explorer/types.d.ts.map +1 -0
  537. package/lib/typescript/explorer/useExplorer.d.ts +18 -0
  538. package/lib/typescript/explorer/useExplorer.d.ts.map +1 -0
  539. package/lib/typescript/index.d.ts +25 -4
  540. package/lib/typescript/index.d.ts.map +1 -1
  541. package/lib/typescript/navigation/createDrawerIcon.d.ts +74 -0
  542. package/lib/typescript/navigation/createDrawerIcon.d.ts.map +1 -0
  543. package/lib/typescript/navigation/createHeaderIcon.d.ts +145 -0
  544. package/lib/typescript/navigation/createHeaderIcon.d.ts.map +1 -0
  545. package/lib/typescript/navigation/createTabBarIcon.d.ts +99 -0
  546. package/lib/typescript/navigation/createTabBarIcon.d.ts.map +1 -0
  547. package/lib/typescript/navigation/index.d.ts +51 -0
  548. package/lib/typescript/navigation/index.d.ts.map +1 -0
  549. package/lib/typescript/navigation/types.d.ts +149 -0
  550. package/lib/typescript/navigation/types.d.ts.map +1 -0
  551. package/lib/typescript/navigation/useNavigationIcon.d.ts +91 -0
  552. package/lib/typescript/navigation/useNavigationIcon.d.ts.map +1 -0
  553. package/lib/typescript/network/IconifyAPI.d.ts +32 -0
  554. package/lib/typescript/network/IconifyAPI.d.ts.map +1 -1
  555. package/lib/typescript/network/index.d.ts +2 -1
  556. package/lib/typescript/network/index.d.ts.map +1 -1
  557. package/lib/typescript/performance/PerformanceMonitor.d.ts +76 -0
  558. package/lib/typescript/performance/PerformanceMonitor.d.ts.map +1 -0
  559. package/lib/typescript/performance/index.d.ts +21 -0
  560. package/lib/typescript/performance/index.d.ts.map +1 -0
  561. package/lib/typescript/performance/types.d.ts +156 -0
  562. package/lib/typescript/performance/types.d.ts.map +1 -0
  563. package/lib/typescript/placeholder/PlaceholderFactory.d.ts +44 -0
  564. package/lib/typescript/placeholder/PlaceholderFactory.d.ts.map +1 -0
  565. package/lib/typescript/placeholder/Pulse.d.ts +18 -0
  566. package/lib/typescript/placeholder/Pulse.d.ts.map +1 -0
  567. package/lib/typescript/placeholder/Shimmer.d.ts +19 -0
  568. package/lib/typescript/placeholder/Shimmer.d.ts.map +1 -0
  569. package/lib/typescript/placeholder/Skeleton.d.ts +18 -0
  570. package/lib/typescript/placeholder/Skeleton.d.ts.map +1 -0
  571. package/lib/typescript/placeholder/index.d.ts +12 -0
  572. package/lib/typescript/placeholder/index.d.ts.map +1 -0
  573. package/lib/typescript/placeholder/types.d.ts +63 -0
  574. package/lib/typescript/placeholder/types.d.ts.map +1 -0
  575. package/lib/typescript/theme/IconThemeProvider.d.ts +64 -0
  576. package/lib/typescript/theme/IconThemeProvider.d.ts.map +1 -0
  577. package/lib/typescript/theme/context.d.ts +24 -0
  578. package/lib/typescript/theme/context.d.ts.map +1 -0
  579. package/lib/typescript/theme/index.d.ts +10 -0
  580. package/lib/typescript/theme/index.d.ts.map +1 -0
  581. package/lib/typescript/theme/types.d.ts +85 -0
  582. package/lib/typescript/theme/types.d.ts.map +1 -0
  583. package/lib/typescript/theme/useIconTheme.d.ts +78 -0
  584. package/lib/typescript/theme/useIconTheme.d.ts.map +1 -0
  585. package/lib/typescript/types/index.d.ts +58 -1
  586. package/lib/typescript/types/index.d.ts.map +1 -1
  587. package/package.json +41 -3
  588. package/src/IconRenderer.tsx +91 -4
  589. package/src/accessibility/AccessibilityProvider.tsx +220 -0
  590. package/src/accessibility/index.ts +63 -0
  591. package/src/accessibility/types.ts +152 -0
  592. package/src/accessibility/useAccessibleIcon.ts +220 -0
  593. package/src/accessibility/utils.ts +180 -0
  594. package/src/alias/Icon.tsx +113 -0
  595. package/src/alias/IconAliasContext.tsx +180 -0
  596. package/src/alias/createIconAliases.tsx +233 -0
  597. package/src/alias/index.ts +59 -0
  598. package/src/alias/types.ts +132 -0
  599. package/src/animated/AnimatedIcon.tsx +116 -0
  600. package/src/animated/index.ts +97 -0
  601. package/src/animated/presets.ts +211 -0
  602. package/src/animated/types.ts +239 -0
  603. package/src/animated/useIconAnimation.ts +383 -0
  604. package/src/babel/ast-utils.ts +219 -0
  605. package/src/babel/cache-writer.ts +323 -0
  606. package/src/babel/collector.ts +224 -0
  607. package/src/babel/index.ts +60 -0
  608. package/src/babel/plugin.ts +254 -0
  609. package/src/babel/types.ts +717 -0
  610. package/src/bundle/index.ts +313 -0
  611. package/src/cache/CacheManager.ts +123 -6
  612. package/src/cli/commands/analyze.ts +195 -0
  613. package/src/cli/commands/bundle.ts +231 -0
  614. package/src/cli/index.ts +153 -0
  615. package/src/cli/parser.ts +275 -0
  616. package/src/cli/types.ts +187 -0
  617. package/src/components/index.ts +52 -1
  618. package/src/config/ConfigManager.ts +196 -0
  619. package/src/config/index.ts +34 -0
  620. package/src/config/types.ts +149 -0
  621. package/src/createIconSet.tsx +48 -9
  622. package/src/explorer/IconExplorer.tsx +844 -0
  623. package/src/explorer/iconSets.ts +334 -0
  624. package/src/explorer/index.ts +64 -0
  625. package/src/explorer/types.ts +392 -0
  626. package/src/explorer/useExplorer.ts +390 -0
  627. package/src/index.ts +218 -9
  628. package/src/navigation/createDrawerIcon.tsx +113 -0
  629. package/src/navigation/createHeaderIcon.tsx +213 -0
  630. package/src/navigation/createTabBarIcon.tsx +180 -0
  631. package/src/navigation/index.ts +80 -0
  632. package/src/navigation/types.ts +155 -0
  633. package/src/navigation/useNavigationIcon.tsx +156 -0
  634. package/src/network/IconifyAPI.ts +182 -14
  635. package/src/network/index.ts +11 -1
  636. package/src/performance/PerformanceMonitor.ts +367 -0
  637. package/src/performance/index.ts +39 -0
  638. package/src/performance/types.ts +185 -0
  639. package/src/placeholder/PlaceholderFactory.tsx +133 -0
  640. package/src/placeholder/Pulse.tsx +86 -0
  641. package/src/placeholder/Shimmer.tsx +104 -0
  642. package/src/placeholder/Skeleton.tsx +52 -0
  643. package/src/placeholder/index.ts +21 -0
  644. package/src/placeholder/types.ts +78 -0
  645. package/src/theme/IconThemeProvider.tsx +94 -0
  646. package/src/theme/context.ts +51 -0
  647. package/src/theme/index.ts +19 -0
  648. package/src/theme/types.ts +108 -0
  649. package/src/theme/useIconTheme.ts +119 -0
  650. package/src/types/index.ts +78 -1
  651. package/lib/commonjs/components/Phosphor.js +0 -493
  652. package/lib/commonjs/components/Phosphor.js.map +0 -1
  653. package/lib/module/components/Phosphor.js +0 -488
  654. package/lib/module/components/Phosphor.js.map +0 -1
  655. package/lib/typescript/components/Phosphor.d.ts +0 -472
  656. package/lib/typescript/components/Phosphor.d.ts.map +0 -1
  657. package/src/components/Phosphor.tsx +0 -506
@@ -0,0 +1,817 @@
1
+ /**
2
+ * Icon Explorer Component
3
+ * Development tool for exploring and testing icons
4
+ * Mobile-first responsive design with dark mode support
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * import { IconExplorer } from 'rn-iconify/explorer';
9
+ *
10
+ * // Only render in development
11
+ * if (__DEV__) {
12
+ * return <IconExplorer onIconSelect={(name) => console.log(name)} />;
13
+ * }
14
+ * ```
15
+ */
16
+
17
+ import React, { createContext, useContext } from 'react';
18
+ import { View, Text, TextInput, TouchableOpacity, ScrollView, FlatList, StyleSheet, Modal, useColorScheme, Dimensions, SafeAreaView, Pressable } from 'react-native';
19
+ import { useExplorer } from './useExplorer';
20
+ import { generateIconJSX, generateImportStatement } from './iconSets';
21
+ import { IconRenderer } from '../IconRenderer';
22
+ const {
23
+ width: SCREEN_WIDTH
24
+ } = Dimensions.get('window');
25
+ const NUM_COLUMNS = SCREEN_WIDTH > 500 ? 5 : 4;
26
+ const GRID_ITEM_SIZE = (SCREEN_WIDTH - 32 - (NUM_COLUMNS - 1) * 8) / NUM_COLUMNS;
27
+
28
+ /**
29
+ * Theme colors
30
+ */
31
+
32
+ const lightTheme = {
33
+ background: '#F9FAFB',
34
+ surface: '#FFFFFF',
35
+ surfaceSecondary: '#F3F4F6',
36
+ border: '#E5E7EB',
37
+ text: '#111827',
38
+ textSecondary: '#6B7280',
39
+ textTertiary: '#9CA3AF',
40
+ primary: '#6366F1',
41
+ primaryText: '#FFFFFF',
42
+ error: '#EF4444',
43
+ codeBackground: '#1F2937',
44
+ codeText: '#E5E7EB'
45
+ };
46
+ const darkTheme = {
47
+ background: '#111827',
48
+ surface: '#1F2937',
49
+ surfaceSecondary: '#374151',
50
+ border: '#374151',
51
+ text: '#F9FAFB',
52
+ textSecondary: '#D1D5DB',
53
+ textTertiary: '#9CA3AF',
54
+ primary: '#818CF8',
55
+ primaryText: '#FFFFFF',
56
+ error: '#F87171',
57
+ codeBackground: '#0F172A',
58
+ codeText: '#E2E8F0'
59
+ };
60
+
61
+ /**
62
+ * Explorer Context with theme
63
+ */
64
+
65
+ export const ExplorerContext = /*#__PURE__*/createContext(null);
66
+
67
+ /**
68
+ * Hook to access explorer context
69
+ */
70
+ export function useExplorerContext() {
71
+ const context = useContext(ExplorerContext);
72
+ if (!context) {
73
+ throw new Error('useExplorerContext must be used within IconExplorer');
74
+ }
75
+ return context;
76
+ }
77
+
78
+ /**
79
+ * Search Bar Component
80
+ */
81
+ function SearchBar() {
82
+ const {
83
+ query,
84
+ setQuery,
85
+ theme
86
+ } = useExplorerContext();
87
+ return /*#__PURE__*/React.createElement(View, {
88
+ style: [styles.searchBar, {
89
+ backgroundColor: theme.surface,
90
+ borderColor: theme.border
91
+ }]
92
+ }, /*#__PURE__*/React.createElement(View, {
93
+ style: [styles.searchIconContainer, {
94
+ backgroundColor: theme.surfaceSecondary
95
+ }]
96
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
97
+ iconName: "mdi:magnify",
98
+ size: 20,
99
+ color: theme.textSecondary
100
+ })), /*#__PURE__*/React.createElement(TextInput, {
101
+ style: [styles.searchInput, {
102
+ color: theme.text
103
+ }],
104
+ value: query,
105
+ onChangeText: setQuery,
106
+ placeholder: "Search icons...",
107
+ placeholderTextColor: theme.textTertiary,
108
+ autoCorrect: false,
109
+ autoCapitalize: "none"
110
+ }), query.length > 0 && /*#__PURE__*/React.createElement(TouchableOpacity, {
111
+ style: [styles.clearButton, {
112
+ backgroundColor: theme.surfaceSecondary
113
+ }],
114
+ onPress: () => setQuery('')
115
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
116
+ iconName: "mdi:close",
117
+ size: 16,
118
+ color: theme.textSecondary
119
+ })));
120
+ }
121
+
122
+ /**
123
+ * Icon Set Filter Component
124
+ */
125
+ function IconSetFilter() {
126
+ const {
127
+ iconSets,
128
+ activeIconSet,
129
+ filterByIconSet,
130
+ theme
131
+ } = useExplorerContext();
132
+ return /*#__PURE__*/React.createElement(ScrollView, {
133
+ horizontal: true,
134
+ showsHorizontalScrollIndicator: false,
135
+ style: styles.filterContainer,
136
+ contentContainerStyle: styles.filterContent
137
+ }, /*#__PURE__*/React.createElement(TouchableOpacity, {
138
+ style: [styles.filterChip, {
139
+ backgroundColor: theme.surface,
140
+ borderColor: theme.border
141
+ }, !activeIconSet && {
142
+ backgroundColor: theme.primary,
143
+ borderColor: theme.primary
144
+ }],
145
+ onPress: () => filterByIconSet(null)
146
+ }, /*#__PURE__*/React.createElement(Text, {
147
+ style: [styles.filterChipText, {
148
+ color: theme.textSecondary
149
+ }, !activeIconSet && {
150
+ color: theme.primaryText
151
+ }]
152
+ }, "All")), iconSets.map(set => /*#__PURE__*/React.createElement(TouchableOpacity, {
153
+ key: set.prefix,
154
+ style: [styles.filterChip, {
155
+ backgroundColor: theme.surface,
156
+ borderColor: theme.border
157
+ }, activeIconSet === set.prefix && {
158
+ backgroundColor: theme.primary,
159
+ borderColor: theme.primary
160
+ }],
161
+ onPress: () => filterByIconSet(set.prefix)
162
+ }, /*#__PURE__*/React.createElement(Text, {
163
+ style: [styles.filterChipText, {
164
+ color: theme.textSecondary
165
+ }, activeIconSet === set.prefix && {
166
+ color: theme.primaryText
167
+ }]
168
+ }, set.prefix))));
169
+ }
170
+
171
+ /**
172
+ * Icon Grid Item Component - Renders actual icons
173
+ */
174
+ function IconGridItem({
175
+ item
176
+ }) {
177
+ const {
178
+ selectedIcon,
179
+ selectIcon,
180
+ theme,
181
+ isDark
182
+ } = useExplorerContext();
183
+ const isSelected = selectedIcon === item.fullName;
184
+ return /*#__PURE__*/React.createElement(TouchableOpacity, {
185
+ style: [styles.gridItem, {
186
+ backgroundColor: theme.surfaceSecondary
187
+ }, isSelected && {
188
+ backgroundColor: isDark ? '#312E81' : '#EEF2FF',
189
+ borderWidth: 2,
190
+ borderColor: theme.primary
191
+ }],
192
+ onPress: () => selectIcon(item.fullName),
193
+ activeOpacity: 0.7
194
+ }, /*#__PURE__*/React.createElement(View, {
195
+ style: styles.iconContainer
196
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
197
+ iconName: item.fullName,
198
+ size: 28,
199
+ color: isSelected ? theme.primary : theme.text,
200
+ placeholder: "skeleton",
201
+ placeholderColor: theme.textTertiary
202
+ })), /*#__PURE__*/React.createElement(Text, {
203
+ style: [styles.iconName, {
204
+ color: isSelected ? theme.primary : theme.textSecondary
205
+ }],
206
+ numberOfLines: 1,
207
+ ellipsizeMode: "middle"
208
+ }, item.name));
209
+ }
210
+
211
+ /**
212
+ * Icon Grid Component
213
+ */
214
+ function IconGrid() {
215
+ const {
216
+ results,
217
+ isLoading,
218
+ error,
219
+ theme,
220
+ query,
221
+ collectionsLoaded
222
+ } = useExplorerContext();
223
+ if (isLoading && !collectionsLoaded) {
224
+ return /*#__PURE__*/React.createElement(View, {
225
+ style: styles.centerContainer
226
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
227
+ iconName: "mdi:loading",
228
+ size: 40,
229
+ color: theme.primary,
230
+ animate: "spin"
231
+ }), /*#__PURE__*/React.createElement(Text, {
232
+ style: [styles.loadingText, {
233
+ color: theme.textSecondary
234
+ }]
235
+ }, "Loading icon collections..."), /*#__PURE__*/React.createElement(Text, {
236
+ style: [styles.loadingHint, {
237
+ color: theme.textTertiary
238
+ }]
239
+ }, "Fetching all available icons from Iconify API"));
240
+ }
241
+ if (isLoading) {
242
+ return /*#__PURE__*/React.createElement(View, {
243
+ style: styles.centerContainer
244
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
245
+ iconName: "mdi:loading",
246
+ size: 32,
247
+ color: theme.primary,
248
+ animate: "spin"
249
+ }), /*#__PURE__*/React.createElement(Text, {
250
+ style: [styles.loadingText, {
251
+ color: theme.textSecondary
252
+ }]
253
+ }, "Searching..."));
254
+ }
255
+ if (error) {
256
+ return /*#__PURE__*/React.createElement(View, {
257
+ style: styles.centerContainer
258
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
259
+ iconName: "mdi:alert-circle",
260
+ size: 48,
261
+ color: theme.error
262
+ }), /*#__PURE__*/React.createElement(Text, {
263
+ style: [styles.errorText, {
264
+ color: theme.error
265
+ }]
266
+ }, error));
267
+ }
268
+ if (results.length === 0) {
269
+ return /*#__PURE__*/React.createElement(View, {
270
+ style: styles.centerContainer
271
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
272
+ iconName: "mdi:magnify-close",
273
+ size: 64,
274
+ color: theme.textTertiary
275
+ }), /*#__PURE__*/React.createElement(Text, {
276
+ style: [styles.emptyText, {
277
+ color: theme.textSecondary
278
+ }]
279
+ }, query ? `No icons found for "${query}"` : 'Loading icons...'), query && /*#__PURE__*/React.createElement(Text, {
280
+ style: [styles.emptyHint, {
281
+ color: theme.textTertiary
282
+ }]
283
+ }, "Try a different search term"));
284
+ }
285
+ return /*#__PURE__*/React.createElement(FlatList, {
286
+ data: results,
287
+ keyExtractor: item => item.fullName,
288
+ renderItem: ({
289
+ item
290
+ }) => /*#__PURE__*/React.createElement(IconGridItem, {
291
+ item: item
292
+ }),
293
+ numColumns: NUM_COLUMNS,
294
+ contentContainerStyle: styles.gridContent,
295
+ showsVerticalScrollIndicator: false,
296
+ columnWrapperStyle: styles.gridRow
297
+ });
298
+ }
299
+
300
+ /**
301
+ * Preview Modal Component - Bottom sheet style
302
+ */
303
+ function PreviewModal() {
304
+ const {
305
+ selectedIcon,
306
+ previewSize,
307
+ previewColor,
308
+ setPreviewSize,
309
+ setPreviewColor,
310
+ copyIconCode,
311
+ config,
312
+ theme,
313
+ isDark,
314
+ closePreview
315
+ } = useExplorerContext();
316
+ if (!selectedIcon) return null;
317
+ const sizes = config.preview.sizes;
318
+ const colors = config.preview.colors;
319
+ return /*#__PURE__*/React.createElement(Modal, {
320
+ visible: !!selectedIcon,
321
+ animationType: "slide",
322
+ transparent: true,
323
+ presentationStyle: "overFullScreen"
324
+ }, /*#__PURE__*/React.createElement(Pressable, {
325
+ style: styles.modalOverlay,
326
+ onPress: closePreview
327
+ }, /*#__PURE__*/React.createElement(Pressable, {
328
+ style: [styles.previewModal, {
329
+ backgroundColor: theme.surface
330
+ }],
331
+ onPress: () => {}
332
+ }, /*#__PURE__*/React.createElement(View, {
333
+ style: styles.handleBarContainer
334
+ }, /*#__PURE__*/React.createElement(View, {
335
+ style: [styles.handleBar, {
336
+ backgroundColor: theme.border
337
+ }]
338
+ })), /*#__PURE__*/React.createElement(View, {
339
+ style: styles.previewHeader
340
+ }, /*#__PURE__*/React.createElement(Text, {
341
+ style: [styles.previewTitle, {
342
+ color: theme.text
343
+ }],
344
+ numberOfLines: 1
345
+ }, selectedIcon), /*#__PURE__*/React.createElement(TouchableOpacity, {
346
+ style: [styles.closePreviewButton, {
347
+ backgroundColor: theme.surfaceSecondary
348
+ }],
349
+ onPress: closePreview
350
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
351
+ iconName: "mdi:close",
352
+ size: 20,
353
+ color: theme.textSecondary
354
+ }))), /*#__PURE__*/React.createElement(View, {
355
+ style: [styles.largePreviewContainer, {
356
+ backgroundColor: isDark ? '#0F172A' : '#F8FAFC'
357
+ }]
358
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
359
+ iconName: selectedIcon,
360
+ size: previewSize,
361
+ color: previewColor
362
+ })), /*#__PURE__*/React.createElement(View, {
363
+ style: styles.selectorRow
364
+ }, /*#__PURE__*/React.createElement(Text, {
365
+ style: [styles.selectorLabel, {
366
+ color: theme.textSecondary
367
+ }]
368
+ }, "Size"), /*#__PURE__*/React.createElement(View, {
369
+ style: styles.selectorOptions
370
+ }, sizes.map(size => /*#__PURE__*/React.createElement(TouchableOpacity, {
371
+ key: size,
372
+ style: [styles.selectorButton, {
373
+ backgroundColor: theme.surfaceSecondary
374
+ }, previewSize === size && {
375
+ backgroundColor: theme.primary
376
+ }],
377
+ onPress: () => setPreviewSize(size)
378
+ }, /*#__PURE__*/React.createElement(Text, {
379
+ style: [styles.selectorButtonText, {
380
+ color: theme.text
381
+ }, previewSize === size && {
382
+ color: theme.primaryText
383
+ }]
384
+ }, size))))), /*#__PURE__*/React.createElement(View, {
385
+ style: styles.selectorRow
386
+ }, /*#__PURE__*/React.createElement(Text, {
387
+ style: [styles.selectorLabel, {
388
+ color: theme.textSecondary
389
+ }]
390
+ }, "Color"), /*#__PURE__*/React.createElement(View, {
391
+ style: styles.selectorOptions
392
+ }, colors.map(color => /*#__PURE__*/React.createElement(TouchableOpacity, {
393
+ key: color,
394
+ style: [styles.colorButton, {
395
+ backgroundColor: color,
396
+ borderColor: 'transparent'
397
+ }, previewColor === color && {
398
+ borderColor: theme.text,
399
+ borderWidth: 3
400
+ }],
401
+ onPress: () => setPreviewColor(color)
402
+ })))), /*#__PURE__*/React.createElement(View, {
403
+ style: [styles.codePreview, {
404
+ backgroundColor: theme.codeBackground
405
+ }]
406
+ }, /*#__PURE__*/React.createElement(Text, {
407
+ style: [styles.codeText, {
408
+ color: theme.codeText
409
+ }]
410
+ }, generateImportStatement(selectedIcon)), /*#__PURE__*/React.createElement(Text, {
411
+ style: [styles.codeText, {
412
+ color: theme.codeText
413
+ }]
414
+ }, generateIconJSX(selectedIcon, previewSize, previewColor))), /*#__PURE__*/React.createElement(View, {
415
+ style: styles.buttonRow
416
+ }, /*#__PURE__*/React.createElement(TouchableOpacity, {
417
+ style: [styles.copyButton, {
418
+ backgroundColor: theme.primary
419
+ }],
420
+ onPress: () => copyIconCode(selectedIcon, 'jsx')
421
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
422
+ iconName: "mdi:content-copy",
423
+ size: 18,
424
+ color: theme.primaryText
425
+ }), /*#__PURE__*/React.createElement(Text, {
426
+ style: [styles.copyButtonText, {
427
+ color: theme.primaryText
428
+ }]
429
+ }, "Copy JSX")), /*#__PURE__*/React.createElement(TouchableOpacity, {
430
+ style: [styles.copyButton, {
431
+ backgroundColor: theme.surfaceSecondary,
432
+ borderWidth: 1,
433
+ borderColor: theme.border
434
+ }],
435
+ onPress: () => copyIconCode(selectedIcon, 'import')
436
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
437
+ iconName: "mdi:code-tags",
438
+ size: 18,
439
+ color: theme.text
440
+ }), /*#__PURE__*/React.createElement(Text, {
441
+ style: [styles.copyButtonText, {
442
+ color: theme.text
443
+ }]
444
+ }, "With Import"))))));
445
+ }
446
+
447
+ /**
448
+ * Results Count Component
449
+ */
450
+ function ResultsCount() {
451
+ const {
452
+ results,
453
+ isLoading,
454
+ theme,
455
+ totalIcons,
456
+ collectionsLoaded,
457
+ config
458
+ } = useExplorerContext();
459
+ if (isLoading && !collectionsLoaded) return null;
460
+ const maxResults = config.maxResults;
461
+ const showingText = results.length === maxResults ? `Showing ${results.length} of ${totalIcons.toLocaleString()}` : `${results.length} icon${results.length !== 1 ? 's' : ''}`;
462
+ return /*#__PURE__*/React.createElement(View, {
463
+ style: styles.resultsCountContainer
464
+ }, /*#__PURE__*/React.createElement(Text, {
465
+ style: [styles.resultsCount, {
466
+ color: theme.textTertiary
467
+ }]
468
+ }, showingText, collectionsLoaded && totalIcons > 0 && /*#__PURE__*/React.createElement(Text, {
469
+ style: {
470
+ color: theme.textTertiary
471
+ }
472
+ }, ' ', "(", totalIcons.toLocaleString(), " total available)")));
473
+ }
474
+
475
+ /**
476
+ * Icon Explorer Component
477
+ * Development tool for exploring and testing icons
478
+ */
479
+ export function IconExplorer({
480
+ visible = true,
481
+ onClose,
482
+ style,
483
+ ...config
484
+ }) {
485
+ const colorScheme = useColorScheme();
486
+ const isDark = colorScheme === 'dark';
487
+ const theme = isDark ? darkTheme : lightTheme;
488
+ const explorer = useExplorer(config);
489
+ const closePreview = () => {
490
+ explorer.selectIcon(null);
491
+ };
492
+ const contextValue = {
493
+ ...explorer,
494
+ theme,
495
+ isDark,
496
+ closePreview
497
+ };
498
+ const content = /*#__PURE__*/React.createElement(ExplorerContext.Provider, {
499
+ value: contextValue
500
+ }, /*#__PURE__*/React.createElement(SafeAreaView, {
501
+ style: [styles.container, {
502
+ backgroundColor: theme.background
503
+ }, style]
504
+ }, /*#__PURE__*/React.createElement(View, {
505
+ style: [styles.header, {
506
+ backgroundColor: theme.surface,
507
+ borderBottomColor: theme.border
508
+ }]
509
+ }, /*#__PURE__*/React.createElement(View, {
510
+ style: styles.headerLeft
511
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
512
+ iconName: "mdi:palette-outline",
513
+ size: 24,
514
+ color: theme.primary
515
+ }), /*#__PURE__*/React.createElement(Text, {
516
+ style: [styles.headerTitle, {
517
+ color: theme.text
518
+ }]
519
+ }, "Icon Explorer")), onClose && /*#__PURE__*/React.createElement(TouchableOpacity, {
520
+ style: [styles.closeButton, {
521
+ backgroundColor: theme.surfaceSecondary
522
+ }],
523
+ onPress: onClose
524
+ }, /*#__PURE__*/React.createElement(IconRenderer, {
525
+ iconName: "mdi:close",
526
+ size: 20,
527
+ color: theme.textSecondary
528
+ }))), /*#__PURE__*/React.createElement(SearchBar, null), /*#__PURE__*/React.createElement(IconSetFilter, null), /*#__PURE__*/React.createElement(ResultsCount, null), /*#__PURE__*/React.createElement(View, {
529
+ style: [styles.gridContainer, {
530
+ backgroundColor: theme.surface,
531
+ borderColor: theme.border
532
+ }]
533
+ }, /*#__PURE__*/React.createElement(IconGrid, null)), /*#__PURE__*/React.createElement(PreviewModal, null)));
534
+
535
+ // If used as modal
536
+ if (onClose) {
537
+ return /*#__PURE__*/React.createElement(Modal, {
538
+ visible: visible,
539
+ animationType: "slide",
540
+ presentationStyle: "pageSheet"
541
+ }, content);
542
+ }
543
+
544
+ // Inline mode
545
+ if (!visible) return null;
546
+ return content;
547
+ }
548
+
549
+ /**
550
+ * Styles - Mobile-first design
551
+ */
552
+ const styles = StyleSheet.create({
553
+ container: {
554
+ flex: 1
555
+ },
556
+ header: {
557
+ flexDirection: 'row',
558
+ alignItems: 'center',
559
+ justifyContent: 'space-between',
560
+ paddingHorizontal: 16,
561
+ paddingVertical: 14,
562
+ borderBottomWidth: 1
563
+ },
564
+ headerLeft: {
565
+ flexDirection: 'row',
566
+ alignItems: 'center',
567
+ gap: 10
568
+ },
569
+ headerTitle: {
570
+ fontSize: 20,
571
+ fontWeight: '700'
572
+ },
573
+ closeButton: {
574
+ width: 36,
575
+ height: 36,
576
+ alignItems: 'center',
577
+ justifyContent: 'center',
578
+ borderRadius: 18
579
+ },
580
+ searchBar: {
581
+ flexDirection: 'row',
582
+ alignItems: 'center',
583
+ marginHorizontal: 16,
584
+ marginTop: 16,
585
+ marginBottom: 12,
586
+ borderRadius: 12,
587
+ borderWidth: 1,
588
+ overflow: 'hidden'
589
+ },
590
+ searchIconContainer: {
591
+ paddingHorizontal: 12,
592
+ paddingVertical: 12
593
+ },
594
+ searchInput: {
595
+ flex: 1,
596
+ paddingVertical: 12,
597
+ paddingRight: 12,
598
+ fontSize: 16
599
+ },
600
+ clearButton: {
601
+ width: 32,
602
+ height: 32,
603
+ alignItems: 'center',
604
+ justifyContent: 'center',
605
+ borderRadius: 16,
606
+ marginRight: 8
607
+ },
608
+ filterContainer: {
609
+ maxHeight: 48,
610
+ marginBottom: 8
611
+ },
612
+ filterContent: {
613
+ paddingHorizontal: 16,
614
+ alignItems: 'center',
615
+ gap: 8
616
+ },
617
+ filterChip: {
618
+ paddingHorizontal: 14,
619
+ paddingVertical: 8,
620
+ borderRadius: 20,
621
+ borderWidth: 1,
622
+ marginRight: 8
623
+ },
624
+ filterChipText: {
625
+ fontSize: 14,
626
+ fontWeight: '500'
627
+ },
628
+ resultsCountContainer: {
629
+ paddingHorizontal: 16,
630
+ paddingBottom: 8
631
+ },
632
+ resultsCount: {
633
+ fontSize: 13,
634
+ fontWeight: '500'
635
+ },
636
+ gridContainer: {
637
+ flex: 1,
638
+ marginHorizontal: 16,
639
+ marginBottom: 16,
640
+ borderRadius: 12,
641
+ borderWidth: 1,
642
+ overflow: 'hidden'
643
+ },
644
+ gridContent: {
645
+ padding: 12
646
+ },
647
+ gridRow: {
648
+ justifyContent: 'flex-start',
649
+ gap: 8,
650
+ marginBottom: 8
651
+ },
652
+ gridItem: {
653
+ width: GRID_ITEM_SIZE,
654
+ height: GRID_ITEM_SIZE + 20,
655
+ alignItems: 'center',
656
+ justifyContent: 'center',
657
+ borderRadius: 12,
658
+ padding: 8
659
+ },
660
+ iconContainer: {
661
+ width: 40,
662
+ height: 40,
663
+ alignItems: 'center',
664
+ justifyContent: 'center',
665
+ marginBottom: 4
666
+ },
667
+ iconName: {
668
+ fontSize: 10,
669
+ textAlign: 'center',
670
+ marginTop: 2
671
+ },
672
+ centerContainer: {
673
+ flex: 1,
674
+ alignItems: 'center',
675
+ justifyContent: 'center',
676
+ padding: 24,
677
+ gap: 12
678
+ },
679
+ loadingText: {
680
+ fontSize: 16,
681
+ marginTop: 8
682
+ },
683
+ loadingHint: {
684
+ fontSize: 13,
685
+ textAlign: 'center',
686
+ marginTop: 4
687
+ },
688
+ errorText: {
689
+ fontSize: 16,
690
+ textAlign: 'center',
691
+ marginTop: 8
692
+ },
693
+ emptyText: {
694
+ fontSize: 18,
695
+ fontWeight: '600',
696
+ marginTop: 8
697
+ },
698
+ emptyHint: {
699
+ fontSize: 14,
700
+ textAlign: 'center'
701
+ },
702
+ // Preview Modal Styles
703
+ modalOverlay: {
704
+ flex: 1,
705
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
706
+ justifyContent: 'flex-end'
707
+ },
708
+ previewModal: {
709
+ borderTopLeftRadius: 24,
710
+ borderTopRightRadius: 24,
711
+ paddingBottom: 34,
712
+ // Safe area for iPhone
713
+ maxHeight: '85%'
714
+ },
715
+ handleBarContainer: {
716
+ alignItems: 'center',
717
+ paddingVertical: 12
718
+ },
719
+ handleBar: {
720
+ width: 40,
721
+ height: 4,
722
+ borderRadius: 2
723
+ },
724
+ previewHeader: {
725
+ flexDirection: 'row',
726
+ alignItems: 'center',
727
+ justifyContent: 'space-between',
728
+ paddingHorizontal: 20,
729
+ paddingBottom: 16
730
+ },
731
+ previewTitle: {
732
+ fontSize: 16,
733
+ fontWeight: '600',
734
+ flex: 1,
735
+ marginRight: 12
736
+ },
737
+ closePreviewButton: {
738
+ width: 32,
739
+ height: 32,
740
+ alignItems: 'center',
741
+ justifyContent: 'center',
742
+ borderRadius: 16
743
+ },
744
+ largePreviewContainer: {
745
+ marginHorizontal: 20,
746
+ borderRadius: 16,
747
+ height: 120,
748
+ alignItems: 'center',
749
+ justifyContent: 'center',
750
+ marginBottom: 20
751
+ },
752
+ selectorRow: {
753
+ paddingHorizontal: 20,
754
+ marginBottom: 16
755
+ },
756
+ selectorLabel: {
757
+ fontSize: 13,
758
+ fontWeight: '600',
759
+ marginBottom: 10,
760
+ textTransform: 'uppercase',
761
+ letterSpacing: 0.5
762
+ },
763
+ selectorOptions: {
764
+ flexDirection: 'row',
765
+ flexWrap: 'wrap',
766
+ gap: 10
767
+ },
768
+ selectorButton: {
769
+ paddingHorizontal: 16,
770
+ paddingVertical: 8,
771
+ borderRadius: 8,
772
+ minWidth: 50,
773
+ alignItems: 'center'
774
+ },
775
+ selectorButtonText: {
776
+ fontSize: 14,
777
+ fontWeight: '600'
778
+ },
779
+ colorButton: {
780
+ width: 36,
781
+ height: 36,
782
+ borderRadius: 18,
783
+ borderWidth: 2
784
+ },
785
+ codePreview: {
786
+ marginHorizontal: 20,
787
+ borderRadius: 12,
788
+ padding: 14,
789
+ marginBottom: 16
790
+ },
791
+ codeText: {
792
+ fontFamily: 'monospace',
793
+ fontSize: 12,
794
+ marginBottom: 4,
795
+ lineHeight: 18
796
+ },
797
+ buttonRow: {
798
+ flexDirection: 'row',
799
+ gap: 12,
800
+ paddingHorizontal: 20
801
+ },
802
+ copyButton: {
803
+ flex: 1,
804
+ flexDirection: 'row',
805
+ alignItems: 'center',
806
+ justifyContent: 'center',
807
+ paddingVertical: 14,
808
+ borderRadius: 12,
809
+ gap: 8
810
+ },
811
+ copyButtonText: {
812
+ fontSize: 15,
813
+ fontWeight: '600'
814
+ }
815
+ });
816
+ export default IconExplorer;
817
+ //# sourceMappingURL=IconExplorer.js.map