phlex-icons-flag 1.8.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -39
  3. data/generators/bootstrap.rb +7 -9
  4. data/generators/flag.rb +38 -13
  5. data/generators/helper.rb +6 -2
  6. data/generators/hero.rb +38 -13
  7. data/generators/lucide.rb +7 -9
  8. data/generators/radix.rb +7 -9
  9. data/generators/remix.rb +7 -9
  10. data/generators/tabler.rb +38 -13
  11. data/lib/phlex-icons/base.rb +18 -0
  12. data/lib/phlex-icons/configuration.rb +11 -0
  13. data/lib/phlex-icons/flag/ad.rb +317 -0
  14. data/lib/phlex-icons/flag/ad_rectangle.rb +11 -0
  15. data/lib/phlex-icons/flag/ad_square.rb +11 -0
  16. data/lib/phlex-icons/flag/ae.rb +29 -0
  17. data/lib/phlex-icons/flag/ae_rectangle.rb +11 -0
  18. data/lib/phlex-icons/flag/ae_square.rb +11 -0
  19. data/lib/phlex-icons/flag/af.rb +181 -0
  20. data/lib/phlex-icons/flag/af_rectangle.rb +11 -0
  21. data/lib/phlex-icons/flag/af_square.rb +11 -0
  22. data/lib/phlex-icons/flag/ag.rb +66 -0
  23. data/lib/phlex-icons/flag/ag_rectangle.rb +11 -0
  24. data/lib/phlex-icons/flag/ag_square.rb +11 -0
  25. data/lib/phlex-icons/flag/ai.rb +77 -0
  26. data/lib/phlex-icons/flag/ai_rectangle.rb +11 -0
  27. data/lib/phlex-icons/flag/ai_square.rb +11 -0
  28. data/lib/phlex-icons/flag/al.rb +29 -0
  29. data/lib/phlex-icons/flag/al_rectangle.rb +11 -0
  30. data/lib/phlex-icons/flag/al_square.rb +11 -0
  31. data/lib/phlex-icons/flag/am.rb +27 -0
  32. data/lib/phlex-icons/flag/am_rectangle.rb +11 -0
  33. data/lib/phlex-icons/flag/am_square.rb +11 -0
  34. data/lib/phlex-icons/flag/ao.rb +113 -0
  35. data/lib/phlex-icons/flag/ao_rectangle.rb +11 -0
  36. data/lib/phlex-icons/flag/ao_square.rb +11 -0
  37. data/lib/phlex-icons/flag/aq.rb +53 -0
  38. data/lib/phlex-icons/flag/aq_rectangle.rb +11 -0
  39. data/lib/phlex-icons/flag/aq_square.rb +11 -0
  40. data/lib/phlex-icons/flag/ar.rb +83 -0
  41. data/lib/phlex-icons/flag/ar_rectangle.rb +11 -0
  42. data/lib/phlex-icons/flag/ar_square.rb +11 -0
  43. data/lib/phlex-icons/flag/arab.rb +1149 -0
  44. data/lib/phlex-icons/flag/arab_rectangle.rb +11 -0
  45. data/lib/phlex-icons/flag/arab_square.rb +11 -0
  46. data/lib/phlex-icons/flag/as.rb +655 -0
  47. data/lib/phlex-icons/flag/as_rectangle.rb +11 -0
  48. data/lib/phlex-icons/flag/as_square.rb +11 -0
  49. data/lib/phlex-icons/flag/at.rb +25 -0
  50. data/lib/phlex-icons/flag/at_rectangle.rb +11 -0
  51. data/lib/phlex-icons/flag/at_square.rb +11 -0
  52. data/lib/phlex-icons/flag/au.rb +59 -0
  53. data/lib/phlex-icons/flag/au_rectangle.rb +11 -0
  54. data/lib/phlex-icons/flag/au_square.rb +11 -0
  55. data/lib/phlex-icons/flag/aw.rb +405 -0
  56. data/lib/phlex-icons/flag/aw_rectangle.rb +11 -0
  57. data/lib/phlex-icons/flag/aw_square.rb +11 -0
  58. data/lib/phlex-icons/flag/ax.rb +58 -0
  59. data/lib/phlex-icons/flag/ax_rectangle.rb +11 -0
  60. data/lib/phlex-icons/flag/ax_square.rb +11 -0
  61. data/lib/phlex-icons/flag/az.rb +43 -0
  62. data/lib/phlex-icons/flag/az_rectangle.rb +11 -0
  63. data/lib/phlex-icons/flag/az_square.rb +11 -0
  64. data/lib/phlex-icons/flag/ba.rb +53 -0
  65. data/lib/phlex-icons/flag/ba_rectangle.rb +11 -0
  66. data/lib/phlex-icons/flag/ba_square.rb +11 -0
  67. data/lib/phlex-icons/flag/base.rb +23 -0
  68. data/lib/phlex-icons/flag/bb.rb +31 -0
  69. data/lib/phlex-icons/flag/bb_rectangle.rb +11 -0
  70. data/lib/phlex-icons/flag/bb_square.rb +11 -0
  71. data/lib/phlex-icons/flag/bd.rb +25 -0
  72. data/lib/phlex-icons/flag/bd_rectangle.rb +11 -0
  73. data/lib/phlex-icons/flag/bd_square.rb +11 -0
  74. data/lib/phlex-icons/flag/be.rb +31 -0
  75. data/lib/phlex-icons/flag/be_rectangle.rb +11 -0
  76. data/lib/phlex-icons/flag/be_square.rb +11 -0
  77. data/lib/phlex-icons/flag/bf.rb +40 -0
  78. data/lib/phlex-icons/flag/bf_rectangle.rb +11 -0
  79. data/lib/phlex-icons/flag/bf_square.rb +11 -0
  80. data/lib/phlex-icons/flag/bg.rb +27 -0
  81. data/lib/phlex-icons/flag/bg_rectangle.rb +11 -0
  82. data/lib/phlex-icons/flag/bg_square.rb +11 -0
  83. data/lib/phlex-icons/flag/bh.rb +35 -0
  84. data/lib/phlex-icons/flag/bh_rectangle.rb +11 -0
  85. data/lib/phlex-icons/flag/bh_square.rb +11 -0
  86. data/lib/phlex-icons/flag/bi.rb +87 -0
  87. data/lib/phlex-icons/flag/bi_rectangle.rb +11 -0
  88. data/lib/phlex-icons/flag/bi_square.rb +11 -0
  89. data/lib/phlex-icons/flag/bj.rb +47 -0
  90. data/lib/phlex-icons/flag/bj_rectangle.rb +11 -0
  91. data/lib/phlex-icons/flag/bj_square.rb +11 -0
  92. data/lib/phlex-icons/flag/bl.rb +29 -0
  93. data/lib/phlex-icons/flag/bl_rectangle.rb +11 -0
  94. data/lib/phlex-icons/flag/bl_square.rb +11 -0
  95. data/lib/phlex-icons/flag/bm.rb +1178 -0
  96. data/lib/phlex-icons/flag/bm_rectangle.rb +11 -0
  97. data/lib/phlex-icons/flag/bm_square.rb +11 -0
  98. data/lib/phlex-icons/flag/bn.rb +91 -0
  99. data/lib/phlex-icons/flag/bn_rectangle.rb +11 -0
  100. data/lib/phlex-icons/flag/bn_square.rb +11 -0
  101. data/lib/phlex-icons/flag/bo.rb +7371 -0
  102. data/lib/phlex-icons/flag/bo_rectangle.rb +11 -0
  103. data/lib/phlex-icons/flag/bo_square.rb +11 -0
  104. data/lib/phlex-icons/flag/bq.rb +27 -0
  105. data/lib/phlex-icons/flag/bq_rectangle.rb +11 -0
  106. data/lib/phlex-icons/flag/bq_square.rb +11 -0
  107. data/lib/phlex-icons/flag/br.rb +309 -0
  108. data/lib/phlex-icons/flag/br_rectangle.rb +11 -0
  109. data/lib/phlex-icons/flag/br_square.rb +11 -0
  110. data/lib/phlex-icons/flag/bs.rb +56 -0
  111. data/lib/phlex-icons/flag/bs_rectangle.rb +11 -0
  112. data/lib/phlex-icons/flag/bs_square.rb +11 -0
  113. data/lib/phlex-icons/flag/bt.rb +586 -0
  114. data/lib/phlex-icons/flag/bt_rectangle.rb +11 -0
  115. data/lib/phlex-icons/flag/bt_square.rb +11 -0
  116. data/lib/phlex-icons/flag/bv.rb +49 -0
  117. data/lib/phlex-icons/flag/bv_rectangle.rb +11 -0
  118. data/lib/phlex-icons/flag/bv_square.rb +11 -0
  119. data/lib/phlex-icons/flag/bw.rb +31 -0
  120. data/lib/phlex-icons/flag/bw_rectangle.rb +11 -0
  121. data/lib/phlex-icons/flag/bw_square.rb +11 -0
  122. data/lib/phlex-icons/flag/by.rb +55 -0
  123. data/lib/phlex-icons/flag/by_rectangle.rb +11 -0
  124. data/lib/phlex-icons/flag/by_square.rb +11 -0
  125. data/lib/phlex-icons/flag/bz.rb +309 -0
  126. data/lib/phlex-icons/flag/bz_rectangle.rb +11 -0
  127. data/lib/phlex-icons/flag/bz_square.rb +11 -0
  128. data/lib/phlex-icons/flag/ca.rb +35 -0
  129. data/lib/phlex-icons/flag/ca_rectangle.rb +11 -0
  130. data/lib/phlex-icons/flag/ca_square.rb +11 -0
  131. data/lib/phlex-icons/flag/cc.rb +57 -0
  132. data/lib/phlex-icons/flag/cc_rectangle.rb +11 -0
  133. data/lib/phlex-icons/flag/cc_square.rb +11 -0
  134. data/lib/phlex-icons/flag/cd.rb +42 -0
  135. data/lib/phlex-icons/flag/cd_rectangle.rb +11 -0
  136. data/lib/phlex-icons/flag/cd_square.rb +11 -0
  137. data/lib/phlex-icons/flag/cefta.rb +89 -0
  138. data/lib/phlex-icons/flag/cefta_rectangle.rb +11 -0
  139. data/lib/phlex-icons/flag/cefta_square.rb +11 -0
  140. data/lib/phlex-icons/flag/cf.rb +59 -0
  141. data/lib/phlex-icons/flag/cf_rectangle.rb +11 -0
  142. data/lib/phlex-icons/flag/cf_square.rb +11 -0
  143. data/lib/phlex-icons/flag/cg.rb +53 -0
  144. data/lib/phlex-icons/flag/cg_rectangle.rb +11 -0
  145. data/lib/phlex-icons/flag/cg_square.rb +11 -0
  146. data/lib/phlex-icons/flag/ch.rb +35 -0
  147. data/lib/phlex-icons/flag/ch_rectangle.rb +11 -0
  148. data/lib/phlex-icons/flag/ch_square.rb +11 -0
  149. data/lib/phlex-icons/flag/ci.rb +31 -0
  150. data/lib/phlex-icons/flag/ci_rectangle.rb +11 -0
  151. data/lib/phlex-icons/flag/ci_square.rb +11 -0
  152. data/lib/phlex-icons/flag/ck.rb +63 -0
  153. data/lib/phlex-icons/flag/ck_rectangle.rb +11 -0
  154. data/lib/phlex-icons/flag/ck_square.rb +11 -0
  155. data/lib/phlex-icons/flag/cl.rb +61 -0
  156. data/lib/phlex-icons/flag/cl_rectangle.rb +11 -0
  157. data/lib/phlex-icons/flag/cl_square.rb +11 -0
  158. data/lib/phlex-icons/flag/cm.rb +49 -0
  159. data/lib/phlex-icons/flag/cm_rectangle.rb +11 -0
  160. data/lib/phlex-icons/flag/cm_square.rb +11 -0
  161. data/lib/phlex-icons/flag/cn.rb +41 -0
  162. data/lib/phlex-icons/flag/cn_rectangle.rb +11 -0
  163. data/lib/phlex-icons/flag/cn_square.rb +11 -0
  164. data/lib/phlex-icons/flag/co.rb +31 -0
  165. data/lib/phlex-icons/flag/co_rectangle.rb +11 -0
  166. data/lib/phlex-icons/flag/co_square.rb +11 -0
  167. data/lib/phlex-icons/flag/configuration.rb +13 -0
  168. data/lib/phlex-icons/flag/cp.rb +31 -0
  169. data/lib/phlex-icons/flag/cp_rectangle.rb +11 -0
  170. data/lib/phlex-icons/flag/cp_square.rb +11 -0
  171. data/lib/phlex-icons/flag/cr.rb +31 -0
  172. data/lib/phlex-icons/flag/cr_rectangle.rb +11 -0
  173. data/lib/phlex-icons/flag/cr_square.rb +11 -0
  174. data/lib/phlex-icons/flag/cu.rb +55 -0
  175. data/lib/phlex-icons/flag/cu_rectangle.rb +11 -0
  176. data/lib/phlex-icons/flag/cu_square.rb +11 -0
  177. data/lib/phlex-icons/flag/cv.rb +61 -0
  178. data/lib/phlex-icons/flag/cv_rectangle.rb +11 -0
  179. data/lib/phlex-icons/flag/cv_square.rb +11 -0
  180. data/lib/phlex-icons/flag/cw.rb +47 -0
  181. data/lib/phlex-icons/flag/cw_rectangle.rb +11 -0
  182. data/lib/phlex-icons/flag/cw_square.rb +11 -0
  183. data/lib/phlex-icons/flag/cx.rb +49 -0
  184. data/lib/phlex-icons/flag/cx_rectangle.rb +11 -0
  185. data/lib/phlex-icons/flag/cx_square.rb +11 -0
  186. data/lib/phlex-icons/flag/cy.rb +31 -0
  187. data/lib/phlex-icons/flag/cy_rectangle.rb +11 -0
  188. data/lib/phlex-icons/flag/cy_square.rb +11 -0
  189. data/lib/phlex-icons/flag/cz.rb +27 -0
  190. data/lib/phlex-icons/flag/cz_rectangle.rb +11 -0
  191. data/lib/phlex-icons/flag/cz_square.rb +11 -0
  192. data/lib/phlex-icons/flag/de.rb +27 -0
  193. data/lib/phlex-icons/flag/de_rectangle.rb +11 -0
  194. data/lib/phlex-icons/flag/de_square.rb +11 -0
  195. data/lib/phlex-icons/flag/dg.rb +1561 -0
  196. data/lib/phlex-icons/flag/dg_rectangle.rb +11 -0
  197. data/lib/phlex-icons/flag/dg_square.rb +11 -0
  198. data/lib/phlex-icons/flag/dj.rb +61 -0
  199. data/lib/phlex-icons/flag/dj_rectangle.rb +11 -0
  200. data/lib/phlex-icons/flag/dj_square.rb +11 -0
  201. data/lib/phlex-icons/flag/dk.rb +27 -0
  202. data/lib/phlex-icons/flag/dk_rectangle.rb +11 -0
  203. data/lib/phlex-icons/flag/dk_square.rb +11 -0
  204. data/lib/phlex-icons/flag/dm.rb +1435 -0
  205. data/lib/phlex-icons/flag/dm_rectangle.rb +11 -0
  206. data/lib/phlex-icons/flag/dm_square.rb +11 -0
  207. data/lib/phlex-icons/flag/do.rb +263 -0
  208. data/lib/phlex-icons/flag/do_rectangle.rb +11 -0
  209. data/lib/phlex-icons/flag/do_square.rb +11 -0
  210. data/lib/phlex-icons/flag/dz.rb +35 -0
  211. data/lib/phlex-icons/flag/dz_rectangle.rb +11 -0
  212. data/lib/phlex-icons/flag/dz_square.rb +11 -0
  213. data/lib/phlex-icons/flag/eac.rb +115 -0
  214. data/lib/phlex-icons/flag/eac_rectangle.rb +11 -0
  215. data/lib/phlex-icons/flag/eac_square.rb +11 -0
  216. data/lib/phlex-icons/flag/ec.rb +1615 -0
  217. data/lib/phlex-icons/flag/ec_rectangle.rb +11 -0
  218. data/lib/phlex-icons/flag/ec_square.rb +11 -0
  219. data/lib/phlex-icons/flag/ee.rb +27 -0
  220. data/lib/phlex-icons/flag/ee_rectangle.rb +11 -0
  221. data/lib/phlex-icons/flag/ee_square.rb +11 -0
  222. data/lib/phlex-icons/flag/eg.rb +95 -0
  223. data/lib/phlex-icons/flag/eg_rectangle.rb +11 -0
  224. data/lib/phlex-icons/flag/eg_square.rb +11 -0
  225. data/lib/phlex-icons/flag/eh.rb +58 -0
  226. data/lib/phlex-icons/flag/eh_rectangle.rb +11 -0
  227. data/lib/phlex-icons/flag/eh_square.rb +11 -0
  228. data/lib/phlex-icons/flag/er.rb +46 -0
  229. data/lib/phlex-icons/flag/er_rectangle.rb +11 -0
  230. data/lib/phlex-icons/flag/er_square.rb +11 -0
  231. data/lib/phlex-icons/flag/es.rb +5734 -0
  232. data/lib/phlex-icons/flag/es_ct.rb +35 -0
  233. data/lib/phlex-icons/flag/es_ct_rectangle.rb +11 -0
  234. data/lib/phlex-icons/flag/es_ct_square.rb +11 -0
  235. data/lib/phlex-icons/flag/es_ga.rb +1820 -0
  236. data/lib/phlex-icons/flag/es_ga_rectangle.rb +11 -0
  237. data/lib/phlex-icons/flag/es_ga_square.rb +11 -0
  238. data/lib/phlex-icons/flag/es_pv.rb +43 -0
  239. data/lib/phlex-icons/flag/es_pv_rectangle.rb +11 -0
  240. data/lib/phlex-icons/flag/es_pv_square.rb +11 -0
  241. data/lib/phlex-icons/flag/es_rectangle.rb +11 -0
  242. data/lib/phlex-icons/flag/es_square.rb +11 -0
  243. data/lib/phlex-icons/flag/et.rb +77 -0
  244. data/lib/phlex-icons/flag/et_rectangle.rb +11 -0
  245. data/lib/phlex-icons/flag/et_square.rb +11 -0
  246. data/lib/phlex-icons/flag/eu.rb +75 -0
  247. data/lib/phlex-icons/flag/eu_rectangle.rb +11 -0
  248. data/lib/phlex-icons/flag/eu_square.rb +11 -0
  249. data/lib/phlex-icons/flag/fi.rb +27 -0
  250. data/lib/phlex-icons/flag/fi_rectangle.rb +11 -0
  251. data/lib/phlex-icons/flag/fi_square.rb +11 -0
  252. data/lib/phlex-icons/flag/fj.rb +855 -0
  253. data/lib/phlex-icons/flag/fj_rectangle.rb +11 -0
  254. data/lib/phlex-icons/flag/fj_square.rb +11 -0
  255. data/lib/phlex-icons/flag/fk.rb +198 -0
  256. data/lib/phlex-icons/flag/fk_rectangle.rb +11 -0
  257. data/lib/phlex-icons/flag/fk_square.rb +11 -0
  258. data/lib/phlex-icons/flag/fm.rb +59 -0
  259. data/lib/phlex-icons/flag/fm_rectangle.rb +11 -0
  260. data/lib/phlex-icons/flag/fm_square.rb +11 -0
  261. data/lib/phlex-icons/flag/fo.rb +59 -0
  262. data/lib/phlex-icons/flag/fo_rectangle.rb +11 -0
  263. data/lib/phlex-icons/flag/fo_square.rb +11 -0
  264. data/lib/phlex-icons/flag/fr.rb +27 -0
  265. data/lib/phlex-icons/flag/fr_rectangle.rb +11 -0
  266. data/lib/phlex-icons/flag/fr_square.rb +11 -0
  267. data/lib/phlex-icons/flag/ga.rb +31 -0
  268. data/lib/phlex-icons/flag/ga_rectangle.rb +11 -0
  269. data/lib/phlex-icons/flag/ga_square.rb +11 -0
  270. data/lib/phlex-icons/flag/gb.rb +47 -0
  271. data/lib/phlex-icons/flag/gb_eng.rb +27 -0
  272. data/lib/phlex-icons/flag/gb_eng_rectangle.rb +11 -0
  273. data/lib/phlex-icons/flag/gb_eng_square.rb +11 -0
  274. data/lib/phlex-icons/flag/gb_nir.rb +282 -0
  275. data/lib/phlex-icons/flag/gb_nir_rectangle.rb +11 -0
  276. data/lib/phlex-icons/flag/gb_nir_square.rb +11 -0
  277. data/lib/phlex-icons/flag/gb_rectangle.rb +11 -0
  278. data/lib/phlex-icons/flag/gb_sct.rb +35 -0
  279. data/lib/phlex-icons/flag/gb_sct_rectangle.rb +11 -0
  280. data/lib/phlex-icons/flag/gb_sct_square.rb +11 -0
  281. data/lib/phlex-icons/flag/gb_square.rb +11 -0
  282. data/lib/phlex-icons/flag/gb_wls.rb +58 -0
  283. data/lib/phlex-icons/flag/gb_wls_rectangle.rb +11 -0
  284. data/lib/phlex-icons/flag/gb_wls_square.rb +11 -0
  285. data/lib/phlex-icons/flag/gd.rb +73 -0
  286. data/lib/phlex-icons/flag/gd_rectangle.rb +11 -0
  287. data/lib/phlex-icons/flag/gd_square.rb +11 -0
  288. data/lib/phlex-icons/flag/ge.rb +41 -0
  289. data/lib/phlex-icons/flag/ge_rectangle.rb +11 -0
  290. data/lib/phlex-icons/flag/ge_square.rb +11 -0
  291. data/lib/phlex-icons/flag/gf.rb +27 -0
  292. data/lib/phlex-icons/flag/gf_rectangle.rb +11 -0
  293. data/lib/phlex-icons/flag/gf_square.rb +11 -0
  294. data/lib/phlex-icons/flag/gg.rb +35 -0
  295. data/lib/phlex-icons/flag/gg_rectangle.rb +11 -0
  296. data/lib/phlex-icons/flag/gg_square.rb +11 -0
  297. data/lib/phlex-icons/flag/gh.rb +32 -0
  298. data/lib/phlex-icons/flag/gh_rectangle.rb +11 -0
  299. data/lib/phlex-icons/flag/gh_square.rb +11 -0
  300. data/lib/phlex-icons/flag/gi.rb +83 -0
  301. data/lib/phlex-icons/flag/gi_rectangle.rb +11 -0
  302. data/lib/phlex-icons/flag/gi_square.rb +11 -0
  303. data/lib/phlex-icons/flag/gl.rb +32 -0
  304. data/lib/phlex-icons/flag/gl_rectangle.rb +11 -0
  305. data/lib/phlex-icons/flag/gl_square.rb +11 -0
  306. data/lib/phlex-icons/flag/gm.rb +45 -0
  307. data/lib/phlex-icons/flag/gm_rectangle.rb +11 -0
  308. data/lib/phlex-icons/flag/gm_square.rb +11 -0
  309. data/lib/phlex-icons/flag/gn.rb +31 -0
  310. data/lib/phlex-icons/flag/gn_rectangle.rb +11 -0
  311. data/lib/phlex-icons/flag/gn_square.rb +11 -0
  312. data/lib/phlex-icons/flag/gp.rb +27 -0
  313. data/lib/phlex-icons/flag/gp_rectangle.rb +11 -0
  314. data/lib/phlex-icons/flag/gp_square.rb +11 -0
  315. data/lib/phlex-icons/flag/gq.rb +167 -0
  316. data/lib/phlex-icons/flag/gq_rectangle.rb +11 -0
  317. data/lib/phlex-icons/flag/gq_square.rb +11 -0
  318. data/lib/phlex-icons/flag/gr.rb +51 -0
  319. data/lib/phlex-icons/flag/gr_rectangle.rb +11 -0
  320. data/lib/phlex-icons/flag/gr_square.rb +11 -0
  321. data/lib/phlex-icons/flag/gs.rb +284 -0
  322. data/lib/phlex-icons/flag/gs_rectangle.rb +11 -0
  323. data/lib/phlex-icons/flag/gs_square.rb +11 -0
  324. data/lib/phlex-icons/flag/gt.rb +427 -0
  325. data/lib/phlex-icons/flag/gt_rectangle.rb +11 -0
  326. data/lib/phlex-icons/flag/gt_square.rb +11 -0
  327. data/lib/phlex-icons/flag/gu.rb +214 -0
  328. data/lib/phlex-icons/flag/gu_rectangle.rb +11 -0
  329. data/lib/phlex-icons/flag/gu_square.rb +11 -0
  330. data/lib/phlex-icons/flag/gw.rb +47 -0
  331. data/lib/phlex-icons/flag/gw_rectangle.rb +11 -0
  332. data/lib/phlex-icons/flag/gw_square.rb +11 -0
  333. data/lib/phlex-icons/flag/gy.rb +47 -0
  334. data/lib/phlex-icons/flag/gy_rectangle.rb +11 -0
  335. data/lib/phlex-icons/flag/gy_square.rb +11 -0
  336. data/lib/phlex-icons/flag/hk.rb +35 -0
  337. data/lib/phlex-icons/flag/hk_rectangle.rb +11 -0
  338. data/lib/phlex-icons/flag/hk_square.rb +11 -0
  339. data/lib/phlex-icons/flag/hm.rb +59 -0
  340. data/lib/phlex-icons/flag/hm_rectangle.rb +11 -0
  341. data/lib/phlex-icons/flag/hm_square.rb +11 -0
  342. data/lib/phlex-icons/flag/hn.rb +55 -0
  343. data/lib/phlex-icons/flag/hn_rectangle.rb +11 -0
  344. data/lib/phlex-icons/flag/hn_square.rb +11 -0
  345. data/lib/phlex-icons/flag/hr.rb +133 -0
  346. data/lib/phlex-icons/flag/hr_rectangle.rb +11 -0
  347. data/lib/phlex-icons/flag/hr_square.rb +11 -0
  348. data/lib/phlex-icons/flag/ht.rb +251 -0
  349. data/lib/phlex-icons/flag/ht_rectangle.rb +11 -0
  350. data/lib/phlex-icons/flag/ht_square.rb +11 -0
  351. data/lib/phlex-icons/flag/hu.rb +31 -0
  352. data/lib/phlex-icons/flag/hu_rectangle.rb +11 -0
  353. data/lib/phlex-icons/flag/hu_square.rb +11 -0
  354. data/lib/phlex-icons/flag/ic.rb +31 -0
  355. data/lib/phlex-icons/flag/ic_rectangle.rb +11 -0
  356. data/lib/phlex-icons/flag/ic_square.rb +11 -0
  357. data/lib/phlex-icons/flag/id.rb +25 -0
  358. data/lib/phlex-icons/flag/id_rectangle.rb +11 -0
  359. data/lib/phlex-icons/flag/id_square.rb +11 -0
  360. data/lib/phlex-icons/flag/ie.rb +31 -0
  361. data/lib/phlex-icons/flag/ie_rectangle.rb +11 -0
  362. data/lib/phlex-icons/flag/ie_square.rb +11 -0
  363. data/lib/phlex-icons/flag/il.rb +65 -0
  364. data/lib/phlex-icons/flag/il_rectangle.rb +11 -0
  365. data/lib/phlex-icons/flag/il_square.rb +11 -0
  366. data/lib/phlex-icons/flag/im.rb +405 -0
  367. data/lib/phlex-icons/flag/im_rectangle.rb +11 -0
  368. data/lib/phlex-icons/flag/im_square.rb +11 -0
  369. data/lib/phlex-icons/flag/in.rb +69 -0
  370. data/lib/phlex-icons/flag/in_rectangle.rb +11 -0
  371. data/lib/phlex-icons/flag/in_square.rb +11 -0
  372. data/lib/phlex-icons/flag/io.rb +1561 -0
  373. data/lib/phlex-icons/flag/io_rectangle.rb +11 -0
  374. data/lib/phlex-icons/flag/io_square.rb +11 -0
  375. data/lib/phlex-icons/flag/iq.rb +51 -0
  376. data/lib/phlex-icons/flag/iq_rectangle.rb +11 -0
  377. data/lib/phlex-icons/flag/iq_square.rb +11 -0
  378. data/lib/phlex-icons/flag/ir.rb +901 -0
  379. data/lib/phlex-icons/flag/ir_rectangle.rb +11 -0
  380. data/lib/phlex-icons/flag/ir_square.rb +11 -0
  381. data/lib/phlex-icons/flag/is.rb +52 -0
  382. data/lib/phlex-icons/flag/is_rectangle.rb +11 -0
  383. data/lib/phlex-icons/flag/is_square.rb +11 -0
  384. data/lib/phlex-icons/flag/it.rb +31 -0
  385. data/lib/phlex-icons/flag/it_rectangle.rb +11 -0
  386. data/lib/phlex-icons/flag/it_square.rb +11 -0
  387. data/lib/phlex-icons/flag/je.rb +781 -0
  388. data/lib/phlex-icons/flag/je_rectangle.rb +11 -0
  389. data/lib/phlex-icons/flag/je_square.rb +11 -0
  390. data/lib/phlex-icons/flag/jm.rb +33 -0
  391. data/lib/phlex-icons/flag/jm_rectangle.rb +11 -0
  392. data/lib/phlex-icons/flag/jm_square.rb +11 -0
  393. data/lib/phlex-icons/flag/jo.rb +59 -0
  394. data/lib/phlex-icons/flag/jo_rectangle.rb +11 -0
  395. data/lib/phlex-icons/flag/jo_square.rb +11 -0
  396. data/lib/phlex-icons/flag/jp.rb +63 -0
  397. data/lib/phlex-icons/flag/jp_rectangle.rb +11 -0
  398. data/lib/phlex-icons/flag/jp_square.rb +11 -0
  399. data/lib/phlex-icons/flag/ke.rb +65 -0
  400. data/lib/phlex-icons/flag/ke_rectangle.rb +11 -0
  401. data/lib/phlex-icons/flag/ke_square.rb +11 -0
  402. data/lib/phlex-icons/flag/kg.rb +91 -0
  403. data/lib/phlex-icons/flag/kg_rectangle.rb +11 -0
  404. data/lib/phlex-icons/flag/kg_square.rb +11 -0
  405. data/lib/phlex-icons/flag/kh.rb +141 -0
  406. data/lib/phlex-icons/flag/kh_rectangle.rb +11 -0
  407. data/lib/phlex-icons/flag/kh_square.rb +11 -0
  408. data/lib/phlex-icons/flag/ki.rb +416 -0
  409. data/lib/phlex-icons/flag/ki_rectangle.rb +11 -0
  410. data/lib/phlex-icons/flag/ki_square.rb +11 -0
  411. data/lib/phlex-icons/flag/km.rb +75 -0
  412. data/lib/phlex-icons/flag/km_rectangle.rb +11 -0
  413. data/lib/phlex-icons/flag/km_square.rb +11 -0
  414. data/lib/phlex-icons/flag/kn.rb +69 -0
  415. data/lib/phlex-icons/flag/kn_rectangle.rb +11 -0
  416. data/lib/phlex-icons/flag/kn_square.rb +11 -0
  417. data/lib/phlex-icons/flag/kp.rb +78 -0
  418. data/lib/phlex-icons/flag/kp_rectangle.rb +11 -0
  419. data/lib/phlex-icons/flag/kp_square.rb +11 -0
  420. data/lib/phlex-icons/flag/kr.rb +60 -0
  421. data/lib/phlex-icons/flag/kr_rectangle.rb +11 -0
  422. data/lib/phlex-icons/flag/kr_square.rb +11 -0
  423. data/lib/phlex-icons/flag/kw.rb +53 -0
  424. data/lib/phlex-icons/flag/kw_rectangle.rb +11 -0
  425. data/lib/phlex-icons/flag/kw_square.rb +11 -0
  426. data/lib/phlex-icons/flag/ky.rb +225 -0
  427. data/lib/phlex-icons/flag/ky_rectangle.rb +11 -0
  428. data/lib/phlex-icons/flag/ky_square.rb +11 -0
  429. data/lib/phlex-icons/flag/kz.rb +91 -0
  430. data/lib/phlex-icons/flag/kz_rectangle.rb +11 -0
  431. data/lib/phlex-icons/flag/kz_square.rb +11 -0
  432. data/lib/phlex-icons/flag/la.rb +51 -0
  433. data/lib/phlex-icons/flag/la_rectangle.rb +11 -0
  434. data/lib/phlex-icons/flag/la_square.rb +11 -0
  435. data/lib/phlex-icons/flag/lb.rb +75 -0
  436. data/lib/phlex-icons/flag/lb_rectangle.rb +11 -0
  437. data/lib/phlex-icons/flag/lb_square.rb +11 -0
  438. data/lib/phlex-icons/flag/lc.rb +33 -0
  439. data/lib/phlex-icons/flag/lc_rectangle.rb +11 -0
  440. data/lib/phlex-icons/flag/lc_square.rb +11 -0
  441. data/lib/phlex-icons/flag/li.rb +105 -0
  442. data/lib/phlex-icons/flag/li_rectangle.rb +11 -0
  443. data/lib/phlex-icons/flag/li_square.rb +11 -0
  444. data/lib/phlex-icons/flag/lk.rb +63 -0
  445. data/lib/phlex-icons/flag/lk_rectangle.rb +11 -0
  446. data/lib/phlex-icons/flag/lk_square.rb +11 -0
  447. data/lib/phlex-icons/flag/lr.rb +65 -0
  448. data/lib/phlex-icons/flag/lr_rectangle.rb +11 -0
  449. data/lib/phlex-icons/flag/lr_square.rb +11 -0
  450. data/lib/phlex-icons/flag/ls.rb +65 -0
  451. data/lib/phlex-icons/flag/ls_rectangle.rb +11 -0
  452. data/lib/phlex-icons/flag/ls_square.rb +11 -0
  453. data/lib/phlex-icons/flag/lt.rb +69 -0
  454. data/lib/phlex-icons/flag/lt_rectangle.rb +11 -0
  455. data/lib/phlex-icons/flag/lt_square.rb +11 -0
  456. data/lib/phlex-icons/flag/lu.rb +27 -0
  457. data/lib/phlex-icons/flag/lu_rectangle.rb +11 -0
  458. data/lib/phlex-icons/flag/lu_square.rb +11 -0
  459. data/lib/phlex-icons/flag/lv.rb +29 -0
  460. data/lib/phlex-icons/flag/lv_rectangle.rb +11 -0
  461. data/lib/phlex-icons/flag/lv_square.rb +11 -0
  462. data/lib/phlex-icons/flag/ly.rb +46 -0
  463. data/lib/phlex-icons/flag/ly_rectangle.rb +11 -0
  464. data/lib/phlex-icons/flag/ly_square.rb +11 -0
  465. data/lib/phlex-icons/flag/ma.rb +35 -0
  466. data/lib/phlex-icons/flag/ma_rectangle.rb +11 -0
  467. data/lib/phlex-icons/flag/ma_square.rb +11 -0
  468. data/lib/phlex-icons/flag/mc.rb +29 -0
  469. data/lib/phlex-icons/flag/mc_rectangle.rb +11 -0
  470. data/lib/phlex-icons/flag/mc_square.rb +11 -0
  471. data/lib/phlex-icons/flag/md.rb +747 -0
  472. data/lib/phlex-icons/flag/md_rectangle.rb +11 -0
  473. data/lib/phlex-icons/flag/md_square.rb +11 -0
  474. data/lib/phlex-icons/flag/me.rb +954 -0
  475. data/lib/phlex-icons/flag/me_rectangle.rb +11 -0
  476. data/lib/phlex-icons/flag/me_square.rb +11 -0
  477. data/lib/phlex-icons/flag/mf.rb +27 -0
  478. data/lib/phlex-icons/flag/mf_rectangle.rb +11 -0
  479. data/lib/phlex-icons/flag/mf_square.rb +11 -0
  480. data/lib/phlex-icons/flag/mg.rb +31 -0
  481. data/lib/phlex-icons/flag/mg_rectangle.rb +11 -0
  482. data/lib/phlex-icons/flag/mg_square.rb +11 -0
  483. data/lib/phlex-icons/flag/mh.rb +42 -0
  484. data/lib/phlex-icons/flag/mh_rectangle.rb +11 -0
  485. data/lib/phlex-icons/flag/mh_square.rb +11 -0
  486. data/lib/phlex-icons/flag/mk.rb +51 -0
  487. data/lib/phlex-icons/flag/mk_rectangle.rb +11 -0
  488. data/lib/phlex-icons/flag/mk_square.rb +11 -0
  489. data/lib/phlex-icons/flag/ml.rb +31 -0
  490. data/lib/phlex-icons/flag/ml_rectangle.rb +11 -0
  491. data/lib/phlex-icons/flag/ml_square.rb +11 -0
  492. data/lib/phlex-icons/flag/mm.rb +41 -0
  493. data/lib/phlex-icons/flag/mm_rectangle.rb +11 -0
  494. data/lib/phlex-icons/flag/mm_square.rb +11 -0
  495. data/lib/phlex-icons/flag/mn.rb +65 -0
  496. data/lib/phlex-icons/flag/mn_rectangle.rb +11 -0
  497. data/lib/phlex-icons/flag/mn_square.rb +11 -0
  498. data/lib/phlex-icons/flag/mo.rb +37 -0
  499. data/lib/phlex-icons/flag/mo_rectangle.rb +11 -0
  500. data/lib/phlex-icons/flag/mo_square.rb +11 -0
  501. data/lib/phlex-icons/flag/mp.rb +970 -0
  502. data/lib/phlex-icons/flag/mp_rectangle.rb +11 -0
  503. data/lib/phlex-icons/flag/mp_square.rb +11 -0
  504. data/lib/phlex-icons/flag/mq.rb +27 -0
  505. data/lib/phlex-icons/flag/mq_rectangle.rb +11 -0
  506. data/lib/phlex-icons/flag/mq_square.rb +11 -0
  507. data/lib/phlex-icons/flag/mr.rb +47 -0
  508. data/lib/phlex-icons/flag/mr_rectangle.rb +11 -0
  509. data/lib/phlex-icons/flag/mr_square.rb +11 -0
  510. data/lib/phlex-icons/flag/ms.rb +255 -0
  511. data/lib/phlex-icons/flag/ms_rectangle.rb +11 -0
  512. data/lib/phlex-icons/flag/ms_square.rb +11 -0
  513. data/lib/phlex-icons/flag/mt.rb +133 -0
  514. data/lib/phlex-icons/flag/mt_rectangle.rb +11 -0
  515. data/lib/phlex-icons/flag/mt_square.rb +11 -0
  516. data/lib/phlex-icons/flag/mu.rb +33 -0
  517. data/lib/phlex-icons/flag/mu_rectangle.rb +11 -0
  518. data/lib/phlex-icons/flag/mu_square.rb +11 -0
  519. data/lib/phlex-icons/flag/mv.rb +29 -0
  520. data/lib/phlex-icons/flag/mv_rectangle.rb +11 -0
  521. data/lib/phlex-icons/flag/mv_square.rb +11 -0
  522. data/lib/phlex-icons/flag/mw.rb +65 -0
  523. data/lib/phlex-icons/flag/mw_rectangle.rb +11 -0
  524. data/lib/phlex-icons/flag/mw_square.rb +11 -0
  525. data/lib/phlex-icons/flag/mx.rb +778 -0
  526. data/lib/phlex-icons/flag/mx_rectangle.rb +11 -0
  527. data/lib/phlex-icons/flag/mx_square.rb +11 -0
  528. data/lib/phlex-icons/flag/my.rb +69 -0
  529. data/lib/phlex-icons/flag/my_rectangle.rb +11 -0
  530. data/lib/phlex-icons/flag/my_square.rb +11 -0
  531. data/lib/phlex-icons/flag/mz.rb +143 -0
  532. data/lib/phlex-icons/flag/mz_rectangle.rb +11 -0
  533. data/lib/phlex-icons/flag/mz_square.rb +11 -0
  534. data/lib/phlex-icons/flag/na.rb +72 -0
  535. data/lib/phlex-icons/flag/na_rectangle.rb +11 -0
  536. data/lib/phlex-icons/flag/na_square.rb +11 -0
  537. data/lib/phlex-icons/flag/nc.rb +85 -0
  538. data/lib/phlex-icons/flag/nc_rectangle.rb +11 -0
  539. data/lib/phlex-icons/flag/nc_square.rb +11 -0
  540. data/lib/phlex-icons/flag/ne.rb +29 -0
  541. data/lib/phlex-icons/flag/ne_rectangle.rb +11 -0
  542. data/lib/phlex-icons/flag/ne_square.rb +11 -0
  543. data/lib/phlex-icons/flag/nf.rb +77 -0
  544. data/lib/phlex-icons/flag/nf_rectangle.rb +11 -0
  545. data/lib/phlex-icons/flag/nf_square.rb +11 -0
  546. data/lib/phlex-icons/flag/ng.rb +29 -0
  547. data/lib/phlex-icons/flag/ng_rectangle.rb +11 -0
  548. data/lib/phlex-icons/flag/ng_square.rb +11 -0
  549. data/lib/phlex-icons/flag/ni.rb +277 -0
  550. data/lib/phlex-icons/flag/ni_rectangle.rb +11 -0
  551. data/lib/phlex-icons/flag/ni_square.rb +11 -0
  552. data/lib/phlex-icons/flag/nl.rb +27 -0
  553. data/lib/phlex-icons/flag/nl_rectangle.rb +11 -0
  554. data/lib/phlex-icons/flag/nl_square.rb +11 -0
  555. data/lib/phlex-icons/flag/no.rb +31 -0
  556. data/lib/phlex-icons/flag/no_rectangle.rb +11 -0
  557. data/lib/phlex-icons/flag/no_square.rb +11 -0
  558. data/lib/phlex-icons/flag/np.rb +62 -0
  559. data/lib/phlex-icons/flag/np_rectangle.rb +11 -0
  560. data/lib/phlex-icons/flag/np_square.rb +11 -0
  561. data/lib/phlex-icons/flag/nr.rb +61 -0
  562. data/lib/phlex-icons/flag/nr_rectangle.rb +11 -0
  563. data/lib/phlex-icons/flag/nr_square.rb +11 -0
  564. data/lib/phlex-icons/flag/nu.rb +63 -0
  565. data/lib/phlex-icons/flag/nu_rectangle.rb +11 -0
  566. data/lib/phlex-icons/flag/nu_square.rb +11 -0
  567. data/lib/phlex-icons/flag/nz.rb +91 -0
  568. data/lib/phlex-icons/flag/nz_rectangle.rb +11 -0
  569. data/lib/phlex-icons/flag/nz_square.rb +11 -0
  570. data/lib/phlex-icons/flag/om.rb +1355 -0
  571. data/lib/phlex-icons/flag/om_rectangle.rb +11 -0
  572. data/lib/phlex-icons/flag/om_square.rb +11 -0
  573. data/lib/phlex-icons/flag/pa.rb +60 -0
  574. data/lib/phlex-icons/flag/pa_rectangle.rb +11 -0
  575. data/lib/phlex-icons/flag/pa_square.rb +11 -0
  576. data/lib/phlex-icons/flag/pc.rb +85 -0
  577. data/lib/phlex-icons/flag/pc_rectangle.rb +11 -0
  578. data/lib/phlex-icons/flag/pc_square.rb +11 -0
  579. data/lib/phlex-icons/flag/pe.rb +25 -0
  580. data/lib/phlex-icons/flag/pe_rectangle.rb +11 -0
  581. data/lib/phlex-icons/flag/pe_square.rb +11 -0
  582. data/lib/phlex-icons/flag/pf.rb +158 -0
  583. data/lib/phlex-icons/flag/pf_rectangle.rb +11 -0
  584. data/lib/phlex-icons/flag/pf_square.rb +11 -0
  585. data/lib/phlex-icons/flag/pg.rb +80 -0
  586. data/lib/phlex-icons/flag/pg_rectangle.rb +11 -0
  587. data/lib/phlex-icons/flag/pg_square.rb +11 -0
  588. data/lib/phlex-icons/flag/ph.rb +39 -0
  589. data/lib/phlex-icons/flag/ph_rectangle.rb +11 -0
  590. data/lib/phlex-icons/flag/ph_square.rb +11 -0
  591. data/lib/phlex-icons/flag/pk.rb +64 -0
  592. data/lib/phlex-icons/flag/pk_rectangle.rb +11 -0
  593. data/lib/phlex-icons/flag/pk_square.rb +11 -0
  594. data/lib/phlex-icons/flag/pl.rb +29 -0
  595. data/lib/phlex-icons/flag/pl_rectangle.rb +11 -0
  596. data/lib/phlex-icons/flag/pl_square.rb +11 -0
  597. data/lib/phlex-icons/flag/pm.rb +27 -0
  598. data/lib/phlex-icons/flag/pm_rectangle.rb +11 -0
  599. data/lib/phlex-icons/flag/pm_square.rb +11 -0
  600. data/lib/phlex-icons/flag/pn.rb +655 -0
  601. data/lib/phlex-icons/flag/pn_rectangle.rb +11 -0
  602. data/lib/phlex-icons/flag/pn_square.rb +11 -0
  603. data/lib/phlex-icons/flag/pr.rb +64 -0
  604. data/lib/phlex-icons/flag/pr_rectangle.rb +11 -0
  605. data/lib/phlex-icons/flag/pr_square.rb +11 -0
  606. data/lib/phlex-icons/flag/ps.rb +49 -0
  607. data/lib/phlex-icons/flag/ps_rectangle.rb +11 -0
  608. data/lib/phlex-icons/flag/ps_square.rb +11 -0
  609. data/lib/phlex-icons/flag/pt.rb +133 -0
  610. data/lib/phlex-icons/flag/pt_rectangle.rb +11 -0
  611. data/lib/phlex-icons/flag/pt_square.rb +11 -0
  612. data/lib/phlex-icons/flag/pw.rb +58 -0
  613. data/lib/phlex-icons/flag/pw_rectangle.rb +11 -0
  614. data/lib/phlex-icons/flag/pw_square.rb +11 -0
  615. data/lib/phlex-icons/flag/py.rb +746 -0
  616. data/lib/phlex-icons/flag/py_rectangle.rb +11 -0
  617. data/lib/phlex-icons/flag/py_square.rb +11 -0
  618. data/lib/phlex-icons/flag/qa.rb +35 -0
  619. data/lib/phlex-icons/flag/qa_rectangle.rb +11 -0
  620. data/lib/phlex-icons/flag/qa_square.rb +11 -0
  621. data/lib/phlex-icons/flag/re.rb +29 -0
  622. data/lib/phlex-icons/flag/re_rectangle.rb +11 -0
  623. data/lib/phlex-icons/flag/re_square.rb +11 -0
  624. data/lib/phlex-icons/flag/ro.rb +31 -0
  625. data/lib/phlex-icons/flag/ro_rectangle.rb +11 -0
  626. data/lib/phlex-icons/flag/ro_square.rb +11 -0
  627. data/lib/phlex-icons/flag/rs.rb +607 -0
  628. data/lib/phlex-icons/flag/rs_rectangle.rb +11 -0
  629. data/lib/phlex-icons/flag/rs_square.rb +11 -0
  630. data/lib/phlex-icons/flag/ru.rb +27 -0
  631. data/lib/phlex-icons/flag/ru_rectangle.rb +11 -0
  632. data/lib/phlex-icons/flag/ru_square.rb +11 -0
  633. data/lib/phlex-icons/flag/rw.rb +45 -0
  634. data/lib/phlex-icons/flag/rw_rectangle.rb +11 -0
  635. data/lib/phlex-icons/flag/rw_square.rb +11 -0
  636. data/lib/phlex-icons/flag/sa.rb +195 -0
  637. data/lib/phlex-icons/flag/sa_rectangle.rb +11 -0
  638. data/lib/phlex-icons/flag/sa_square.rb +11 -0
  639. data/lib/phlex-icons/flag/sb.rb +61 -0
  640. data/lib/phlex-icons/flag/sb_rectangle.rb +11 -0
  641. data/lib/phlex-icons/flag/sb_square.rb +11 -0
  642. data/lib/phlex-icons/flag/sc.rb +31 -0
  643. data/lib/phlex-icons/flag/sc_rectangle.rb +11 -0
  644. data/lib/phlex-icons/flag/sc_square.rb +11 -0
  645. data/lib/phlex-icons/flag/sd.rb +53 -0
  646. data/lib/phlex-icons/flag/sd_rectangle.rb +11 -0
  647. data/lib/phlex-icons/flag/sd_square.rb +11 -0
  648. data/lib/phlex-icons/flag/se.rb +28 -0
  649. data/lib/phlex-icons/flag/se_rectangle.rb +11 -0
  650. data/lib/phlex-icons/flag/se_square.rb +11 -0
  651. data/lib/phlex-icons/flag/sg.rb +62 -0
  652. data/lib/phlex-icons/flag/sg_rectangle.rb +11 -0
  653. data/lib/phlex-icons/flag/sg_square.rb +11 -0
  654. data/lib/phlex-icons/flag/sh.rb +47 -0
  655. data/lib/phlex-icons/flag/sh_ac.rb +5471 -0
  656. data/lib/phlex-icons/flag/sh_ac_rectangle.rb +11 -0
  657. data/lib/phlex-icons/flag/sh_ac_square.rb +11 -0
  658. data/lib/phlex-icons/flag/sh_hl.rb +1204 -0
  659. data/lib/phlex-icons/flag/sh_hl_rectangle.rb +11 -0
  660. data/lib/phlex-icons/flag/sh_hl_square.rb +11 -0
  661. data/lib/phlex-icons/flag/sh_rectangle.rb +11 -0
  662. data/lib/phlex-icons/flag/sh_square.rb +11 -0
  663. data/lib/phlex-icons/flag/sh_ta.rb +744 -0
  664. data/lib/phlex-icons/flag/sh_ta_rectangle.rb +11 -0
  665. data/lib/phlex-icons/flag/sh_ta_square.rb +11 -0
  666. data/lib/phlex-icons/flag/si.rb +113 -0
  667. data/lib/phlex-icons/flag/si_rectangle.rb +11 -0
  668. data/lib/phlex-icons/flag/si_square.rb +11 -0
  669. data/lib/phlex-icons/flag/sj.rb +31 -0
  670. data/lib/phlex-icons/flag/sj_rectangle.rb +11 -0
  671. data/lib/phlex-icons/flag/sj_square.rb +11 -0
  672. data/lib/phlex-icons/flag/sk.rb +69 -0
  673. data/lib/phlex-icons/flag/sk_rectangle.rb +11 -0
  674. data/lib/phlex-icons/flag/sk_square.rb +11 -0
  675. data/lib/phlex-icons/flag/sl.rb +42 -0
  676. data/lib/phlex-icons/flag/sl_rectangle.rb +11 -0
  677. data/lib/phlex-icons/flag/sl_square.rb +11 -0
  678. data/lib/phlex-icons/flag/sm.rb +764 -0
  679. data/lib/phlex-icons/flag/sm_rectangle.rb +11 -0
  680. data/lib/phlex-icons/flag/sm_square.rb +11 -0
  681. data/lib/phlex-icons/flag/sn.rb +41 -0
  682. data/lib/phlex-icons/flag/sn_rectangle.rb +11 -0
  683. data/lib/phlex-icons/flag/sn_square.rb +11 -0
  684. data/lib/phlex-icons/flag/so.rb +57 -0
  685. data/lib/phlex-icons/flag/so_rectangle.rb +11 -0
  686. data/lib/phlex-icons/flag/so_square.rb +11 -0
  687. data/lib/phlex-icons/flag/sr.rb +35 -0
  688. data/lib/phlex-icons/flag/sr_rectangle.rb +11 -0
  689. data/lib/phlex-icons/flag/sr_square.rb +11 -0
  690. data/lib/phlex-icons/flag/ss.rb +33 -0
  691. data/lib/phlex-icons/flag/ss_rectangle.rb +11 -0
  692. data/lib/phlex-icons/flag/ss_square.rb +11 -0
  693. data/lib/phlex-icons/flag/st.rb +51 -0
  694. data/lib/phlex-icons/flag/st_rectangle.rb +11 -0
  695. data/lib/phlex-icons/flag/st_square.rb +11 -0
  696. data/lib/phlex-icons/flag/sv.rb +1207 -0
  697. data/lib/phlex-icons/flag/sv_rectangle.rb +11 -0
  698. data/lib/phlex-icons/flag/sv_square.rb +11 -0
  699. data/lib/phlex-icons/flag/sx.rb +532 -0
  700. data/lib/phlex-icons/flag/sx_rectangle.rb +11 -0
  701. data/lib/phlex-icons/flag/sx_square.rb +11 -0
  702. data/lib/phlex-icons/flag/sy.rb +36 -0
  703. data/lib/phlex-icons/flag/sy_rectangle.rb +11 -0
  704. data/lib/phlex-icons/flag/sy_square.rb +11 -0
  705. data/lib/phlex-icons/flag/sz.rb +87 -0
  706. data/lib/phlex-icons/flag/sz_rectangle.rb +11 -0
  707. data/lib/phlex-icons/flag/sz_square.rb +11 -0
  708. data/lib/phlex-icons/flag/tc.rb +119 -0
  709. data/lib/phlex-icons/flag/tc_rectangle.rb +11 -0
  710. data/lib/phlex-icons/flag/tc_square.rb +11 -0
  711. data/lib/phlex-icons/flag/td.rb +31 -0
  712. data/lib/phlex-icons/flag/td_rectangle.rb +11 -0
  713. data/lib/phlex-icons/flag/td_square.rb +11 -0
  714. data/lib/phlex-icons/flag/tf.rb +49 -0
  715. data/lib/phlex-icons/flag/tf_rectangle.rb +11 -0
  716. data/lib/phlex-icons/flag/tf_square.rb +11 -0
  717. data/lib/phlex-icons/flag/tg.rb +63 -0
  718. data/lib/phlex-icons/flag/tg_rectangle.rb +11 -0
  719. data/lib/phlex-icons/flag/tg_square.rb +11 -0
  720. data/lib/phlex-icons/flag/th.rb +31 -0
  721. data/lib/phlex-icons/flag/th_rectangle.rb +11 -0
  722. data/lib/phlex-icons/flag/th_square.rb +11 -0
  723. data/lib/phlex-icons/flag/tj.rb +67 -0
  724. data/lib/phlex-icons/flag/tj_rectangle.rb +11 -0
  725. data/lib/phlex-icons/flag/tj_square.rb +11 -0
  726. data/lib/phlex-icons/flag/tk.rb +45 -0
  727. data/lib/phlex-icons/flag/tk_rectangle.rb +11 -0
  728. data/lib/phlex-icons/flag/tk_square.rb +11 -0
  729. data/lib/phlex-icons/flag/tl.rb +59 -0
  730. data/lib/phlex-icons/flag/tl_rectangle.rb +11 -0
  731. data/lib/phlex-icons/flag/tl_square.rb +11 -0
  732. data/lib/phlex-icons/flag/tm.rb +1485 -0
  733. data/lib/phlex-icons/flag/tm_rectangle.rb +11 -0
  734. data/lib/phlex-icons/flag/tm_square.rb +11 -0
  735. data/lib/phlex-icons/flag/tn.rb +35 -0
  736. data/lib/phlex-icons/flag/tn_rectangle.rb +11 -0
  737. data/lib/phlex-icons/flag/tn_square.rb +11 -0
  738. data/lib/phlex-icons/flag/to.rb +37 -0
  739. data/lib/phlex-icons/flag/to_rectangle.rb +11 -0
  740. data/lib/phlex-icons/flag/to_square.rb +11 -0
  741. data/lib/phlex-icons/flag/tr.rb +59 -0
  742. data/lib/phlex-icons/flag/tr_rectangle.rb +11 -0
  743. data/lib/phlex-icons/flag/tr_square.rb +11 -0
  744. data/lib/phlex-icons/flag/tt.rb +37 -0
  745. data/lib/phlex-icons/flag/tt_rectangle.rb +11 -0
  746. data/lib/phlex-icons/flag/tt_square.rb +11 -0
  747. data/lib/phlex-icons/flag/tv.rb +63 -0
  748. data/lib/phlex-icons/flag/tv_rectangle.rb +11 -0
  749. data/lib/phlex-icons/flag/tv_square.rb +11 -0
  750. data/lib/phlex-icons/flag/tw.rb +169 -0
  751. data/lib/phlex-icons/flag/tw_rectangle.rb +11 -0
  752. data/lib/phlex-icons/flag/tw_square.rb +11 -0
  753. data/lib/phlex-icons/flag/tz.rb +61 -0
  754. data/lib/phlex-icons/flag/tz_rectangle.rb +11 -0
  755. data/lib/phlex-icons/flag/tz_square.rb +11 -0
  756. data/lib/phlex-icons/flag/ua.rb +29 -0
  757. data/lib/phlex-icons/flag/ua_rectangle.rb +11 -0
  758. data/lib/phlex-icons/flag/ua_square.rb +11 -0
  759. data/lib/phlex-icons/flag/ug.rb +300 -0
  760. data/lib/phlex-icons/flag/ug_rectangle.rb +11 -0
  761. data/lib/phlex-icons/flag/ug_square.rb +11 -0
  762. data/lib/phlex-icons/flag/um.rb +55 -0
  763. data/lib/phlex-icons/flag/um_rectangle.rb +11 -0
  764. data/lib/phlex-icons/flag/um_square.rb +11 -0
  765. data/lib/phlex-icons/flag/un.rb +51 -0
  766. data/lib/phlex-icons/flag/un_rectangle.rb +11 -0
  767. data/lib/phlex-icons/flag/un_square.rb +11 -0
  768. data/lib/phlex-icons/flag/us.rb +55 -0
  769. data/lib/phlex-icons/flag/us_rectangle.rb +11 -0
  770. data/lib/phlex-icons/flag/us_square.rb +11 -0
  771. data/lib/phlex-icons/flag/uy.rb +75 -0
  772. data/lib/phlex-icons/flag/uy_rectangle.rb +11 -0
  773. data/lib/phlex-icons/flag/uy_square.rb +11 -0
  774. data/lib/phlex-icons/flag/uz.rb +79 -0
  775. data/lib/phlex-icons/flag/uz_rectangle.rb +11 -0
  776. data/lib/phlex-icons/flag/uz_square.rb +11 -0
  777. data/lib/phlex-icons/flag/va.rb +399 -0
  778. data/lib/phlex-icons/flag/va_rectangle.rb +11 -0
  779. data/lib/phlex-icons/flag/va_square.rb +11 -0
  780. data/lib/phlex-icons/flag/vc.rb +44 -0
  781. data/lib/phlex-icons/flag/vc_rectangle.rb +11 -0
  782. data/lib/phlex-icons/flag/vc_square.rb +11 -0
  783. data/lib/phlex-icons/flag/ve.rb +71 -0
  784. data/lib/phlex-icons/flag/ve_rectangle.rb +11 -0
  785. data/lib/phlex-icons/flag/ve_square.rb +11 -0
  786. data/lib/phlex-icons/flag/vg.rb +137 -0
  787. data/lib/phlex-icons/flag/vg_rectangle.rb +11 -0
  788. data/lib/phlex-icons/flag/vg_square.rb +11 -0
  789. data/lib/phlex-icons/flag/vi.rb +75 -0
  790. data/lib/phlex-icons/flag/vi_rectangle.rb +11 -0
  791. data/lib/phlex-icons/flag/vi_square.rb +11 -0
  792. data/lib/phlex-icons/flag/vn.rb +57 -0
  793. data/lib/phlex-icons/flag/vn_rectangle.rb +11 -0
  794. data/lib/phlex-icons/flag/vn_square.rb +11 -0
  795. data/lib/phlex-icons/flag/vu.rb +61 -0
  796. data/lib/phlex-icons/flag/vu_rectangle.rb +11 -0
  797. data/lib/phlex-icons/flag/vu_square.rb +11 -0
  798. data/lib/phlex-icons/flag/wf.rb +27 -0
  799. data/lib/phlex-icons/flag/wf_rectangle.rb +11 -0
  800. data/lib/phlex-icons/flag/wf_square.rb +11 -0
  801. data/lib/phlex-icons/flag/ws.rb +41 -0
  802. data/lib/phlex-icons/flag/ws_rectangle.rb +11 -0
  803. data/lib/phlex-icons/flag/ws_square.rb +11 -0
  804. data/lib/phlex-icons/flag/xk.rb +45 -0
  805. data/lib/phlex-icons/flag/xk_rectangle.rb +11 -0
  806. data/lib/phlex-icons/flag/xk_square.rb +11 -0
  807. data/lib/phlex-icons/flag/xx.rb +41 -0
  808. data/lib/phlex-icons/flag/xx_rectangle.rb +11 -0
  809. data/lib/phlex-icons/flag/xx_square.rb +11 -0
  810. data/lib/phlex-icons/flag/ye.rb +31 -0
  811. data/lib/phlex-icons/flag/ye_rectangle.rb +11 -0
  812. data/lib/phlex-icons/flag/ye_square.rb +11 -0
  813. data/lib/phlex-icons/flag/yt.rb +27 -0
  814. data/lib/phlex-icons/flag/yt_rectangle.rb +11 -0
  815. data/lib/phlex-icons/flag/yt_square.rb +11 -0
  816. data/lib/phlex-icons/flag/za.rb +75 -0
  817. data/lib/phlex-icons/flag/za_rectangle.rb +11 -0
  818. data/lib/phlex-icons/flag/za_square.rb +11 -0
  819. data/lib/phlex-icons/flag/zm.rb +186 -0
  820. data/lib/phlex-icons/flag/zm_rectangle.rb +11 -0
  821. data/lib/phlex-icons/flag/zm_square.rb +11 -0
  822. data/lib/phlex-icons/flag/zw.rb +61 -0
  823. data/lib/phlex-icons/flag/zw_rectangle.rb +11 -0
  824. data/lib/phlex-icons/flag/zw_square.rb +11 -0
  825. data/lib/phlex-icons/flag.rb +836 -0
  826. data/lib/phlex-icons/version.rb +5 -0
  827. data/lib/phlex-icons-flag.rb +11 -13
  828. data/sig/phlex/icons.rbs +3 -5
  829. metadata +818 -278
  830. data/lib/phlex/icons/base.rb +0 -20
  831. data/lib/phlex/icons/configuration.rb +0 -13
  832. data/lib/phlex/icons/flag/ad.rb +0 -319
  833. data/lib/phlex/icons/flag/ae.rb +0 -31
  834. data/lib/phlex/icons/flag/af.rb +0 -183
  835. data/lib/phlex/icons/flag/ag.rb +0 -68
  836. data/lib/phlex/icons/flag/ai.rb +0 -79
  837. data/lib/phlex/icons/flag/al.rb +0 -31
  838. data/lib/phlex/icons/flag/am.rb +0 -29
  839. data/lib/phlex/icons/flag/ao.rb +0 -115
  840. data/lib/phlex/icons/flag/aq.rb +0 -55
  841. data/lib/phlex/icons/flag/ar.rb +0 -85
  842. data/lib/phlex/icons/flag/arab.rb +0 -1151
  843. data/lib/phlex/icons/flag/as.rb +0 -657
  844. data/lib/phlex/icons/flag/at.rb +0 -27
  845. data/lib/phlex/icons/flag/au.rb +0 -61
  846. data/lib/phlex/icons/flag/aw.rb +0 -407
  847. data/lib/phlex/icons/flag/ax.rb +0 -60
  848. data/lib/phlex/icons/flag/az.rb +0 -45
  849. data/lib/phlex/icons/flag/ba.rb +0 -55
  850. data/lib/phlex/icons/flag/base.rb +0 -25
  851. data/lib/phlex/icons/flag/bb.rb +0 -33
  852. data/lib/phlex/icons/flag/bd.rb +0 -27
  853. data/lib/phlex/icons/flag/be.rb +0 -33
  854. data/lib/phlex/icons/flag/bf.rb +0 -42
  855. data/lib/phlex/icons/flag/bg.rb +0 -29
  856. data/lib/phlex/icons/flag/bh.rb +0 -37
  857. data/lib/phlex/icons/flag/bi.rb +0 -89
  858. data/lib/phlex/icons/flag/bj.rb +0 -49
  859. data/lib/phlex/icons/flag/bl.rb +0 -31
  860. data/lib/phlex/icons/flag/bm.rb +0 -1180
  861. data/lib/phlex/icons/flag/bn.rb +0 -93
  862. data/lib/phlex/icons/flag/bo.rb +0 -7373
  863. data/lib/phlex/icons/flag/bq.rb +0 -29
  864. data/lib/phlex/icons/flag/br.rb +0 -311
  865. data/lib/phlex/icons/flag/bs.rb +0 -58
  866. data/lib/phlex/icons/flag/bt.rb +0 -588
  867. data/lib/phlex/icons/flag/bv.rb +0 -51
  868. data/lib/phlex/icons/flag/bw.rb +0 -33
  869. data/lib/phlex/icons/flag/by.rb +0 -57
  870. data/lib/phlex/icons/flag/bz.rb +0 -311
  871. data/lib/phlex/icons/flag/ca.rb +0 -37
  872. data/lib/phlex/icons/flag/cc.rb +0 -59
  873. data/lib/phlex/icons/flag/cd.rb +0 -44
  874. data/lib/phlex/icons/flag/cefta.rb +0 -91
  875. data/lib/phlex/icons/flag/cf.rb +0 -61
  876. data/lib/phlex/icons/flag/cg.rb +0 -55
  877. data/lib/phlex/icons/flag/ch.rb +0 -37
  878. data/lib/phlex/icons/flag/ci.rb +0 -33
  879. data/lib/phlex/icons/flag/ck.rb +0 -65
  880. data/lib/phlex/icons/flag/cl.rb +0 -63
  881. data/lib/phlex/icons/flag/cm.rb +0 -51
  882. data/lib/phlex/icons/flag/cn.rb +0 -43
  883. data/lib/phlex/icons/flag/co.rb +0 -33
  884. data/lib/phlex/icons/flag/configuration.rb +0 -15
  885. data/lib/phlex/icons/flag/cp.rb +0 -33
  886. data/lib/phlex/icons/flag/cr.rb +0 -33
  887. data/lib/phlex/icons/flag/cu.rb +0 -57
  888. data/lib/phlex/icons/flag/cv.rb +0 -63
  889. data/lib/phlex/icons/flag/cw.rb +0 -49
  890. data/lib/phlex/icons/flag/cx.rb +0 -51
  891. data/lib/phlex/icons/flag/cy.rb +0 -33
  892. data/lib/phlex/icons/flag/cz.rb +0 -29
  893. data/lib/phlex/icons/flag/de.rb +0 -29
  894. data/lib/phlex/icons/flag/dg.rb +0 -1563
  895. data/lib/phlex/icons/flag/dj.rb +0 -63
  896. data/lib/phlex/icons/flag/dk.rb +0 -29
  897. data/lib/phlex/icons/flag/dm.rb +0 -1437
  898. data/lib/phlex/icons/flag/do.rb +0 -265
  899. data/lib/phlex/icons/flag/dz.rb +0 -37
  900. data/lib/phlex/icons/flag/eac.rb +0 -117
  901. data/lib/phlex/icons/flag/ec.rb +0 -1617
  902. data/lib/phlex/icons/flag/ee.rb +0 -29
  903. data/lib/phlex/icons/flag/eg.rb +0 -97
  904. data/lib/phlex/icons/flag/eh.rb +0 -60
  905. data/lib/phlex/icons/flag/er.rb +0 -48
  906. data/lib/phlex/icons/flag/es.rb +0 -5736
  907. data/lib/phlex/icons/flag/es_ct.rb +0 -37
  908. data/lib/phlex/icons/flag/es_ga.rb +0 -1822
  909. data/lib/phlex/icons/flag/es_pv.rb +0 -45
  910. data/lib/phlex/icons/flag/et.rb +0 -79
  911. data/lib/phlex/icons/flag/eu.rb +0 -77
  912. data/lib/phlex/icons/flag/fi.rb +0 -29
  913. data/lib/phlex/icons/flag/fj.rb +0 -857
  914. data/lib/phlex/icons/flag/fk.rb +0 -200
  915. data/lib/phlex/icons/flag/fm.rb +0 -61
  916. data/lib/phlex/icons/flag/fo.rb +0 -61
  917. data/lib/phlex/icons/flag/fr.rb +0 -29
  918. data/lib/phlex/icons/flag/ga.rb +0 -33
  919. data/lib/phlex/icons/flag/gb.rb +0 -49
  920. data/lib/phlex/icons/flag/gb_eng.rb +0 -29
  921. data/lib/phlex/icons/flag/gb_nir.rb +0 -284
  922. data/lib/phlex/icons/flag/gb_sct.rb +0 -37
  923. data/lib/phlex/icons/flag/gb_wls.rb +0 -60
  924. data/lib/phlex/icons/flag/gd.rb +0 -75
  925. data/lib/phlex/icons/flag/ge.rb +0 -43
  926. data/lib/phlex/icons/flag/gf.rb +0 -29
  927. data/lib/phlex/icons/flag/gg.rb +0 -37
  928. data/lib/phlex/icons/flag/gh.rb +0 -34
  929. data/lib/phlex/icons/flag/gi.rb +0 -85
  930. data/lib/phlex/icons/flag/gl.rb +0 -34
  931. data/lib/phlex/icons/flag/gm.rb +0 -47
  932. data/lib/phlex/icons/flag/gn.rb +0 -33
  933. data/lib/phlex/icons/flag/gp.rb +0 -29
  934. data/lib/phlex/icons/flag/gq.rb +0 -169
  935. data/lib/phlex/icons/flag/gr.rb +0 -53
  936. data/lib/phlex/icons/flag/gs.rb +0 -286
  937. data/lib/phlex/icons/flag/gt.rb +0 -429
  938. data/lib/phlex/icons/flag/gu.rb +0 -216
  939. data/lib/phlex/icons/flag/gw.rb +0 -49
  940. data/lib/phlex/icons/flag/gy.rb +0 -49
  941. data/lib/phlex/icons/flag/hk.rb +0 -37
  942. data/lib/phlex/icons/flag/hm.rb +0 -61
  943. data/lib/phlex/icons/flag/hn.rb +0 -57
  944. data/lib/phlex/icons/flag/hr.rb +0 -135
  945. data/lib/phlex/icons/flag/ht.rb +0 -253
  946. data/lib/phlex/icons/flag/hu.rb +0 -33
  947. data/lib/phlex/icons/flag/ic.rb +0 -33
  948. data/lib/phlex/icons/flag/id.rb +0 -27
  949. data/lib/phlex/icons/flag/ie.rb +0 -33
  950. data/lib/phlex/icons/flag/il.rb +0 -67
  951. data/lib/phlex/icons/flag/im.rb +0 -407
  952. data/lib/phlex/icons/flag/in.rb +0 -71
  953. data/lib/phlex/icons/flag/io.rb +0 -1563
  954. data/lib/phlex/icons/flag/iq.rb +0 -53
  955. data/lib/phlex/icons/flag/ir.rb +0 -903
  956. data/lib/phlex/icons/flag/is.rb +0 -54
  957. data/lib/phlex/icons/flag/it.rb +0 -33
  958. data/lib/phlex/icons/flag/je.rb +0 -783
  959. data/lib/phlex/icons/flag/jm.rb +0 -35
  960. data/lib/phlex/icons/flag/jo.rb +0 -61
  961. data/lib/phlex/icons/flag/jp.rb +0 -65
  962. data/lib/phlex/icons/flag/ke.rb +0 -67
  963. data/lib/phlex/icons/flag/kg.rb +0 -93
  964. data/lib/phlex/icons/flag/kh.rb +0 -143
  965. data/lib/phlex/icons/flag/ki.rb +0 -418
  966. data/lib/phlex/icons/flag/km.rb +0 -77
  967. data/lib/phlex/icons/flag/kn.rb +0 -71
  968. data/lib/phlex/icons/flag/kp.rb +0 -80
  969. data/lib/phlex/icons/flag/kr.rb +0 -62
  970. data/lib/phlex/icons/flag/kw.rb +0 -55
  971. data/lib/phlex/icons/flag/ky.rb +0 -227
  972. data/lib/phlex/icons/flag/kz.rb +0 -93
  973. data/lib/phlex/icons/flag/la.rb +0 -53
  974. data/lib/phlex/icons/flag/lb.rb +0 -77
  975. data/lib/phlex/icons/flag/lc.rb +0 -35
  976. data/lib/phlex/icons/flag/li.rb +0 -107
  977. data/lib/phlex/icons/flag/lk.rb +0 -65
  978. data/lib/phlex/icons/flag/lr.rb +0 -67
  979. data/lib/phlex/icons/flag/ls.rb +0 -67
  980. data/lib/phlex/icons/flag/lt.rb +0 -71
  981. data/lib/phlex/icons/flag/lu.rb +0 -29
  982. data/lib/phlex/icons/flag/lv.rb +0 -31
  983. data/lib/phlex/icons/flag/ly.rb +0 -50
  984. data/lib/phlex/icons/flag/ma.rb +0 -37
  985. data/lib/phlex/icons/flag/mc.rb +0 -31
  986. data/lib/phlex/icons/flag/md.rb +0 -749
  987. data/lib/phlex/icons/flag/me.rb +0 -956
  988. data/lib/phlex/icons/flag/mf.rb +0 -29
  989. data/lib/phlex/icons/flag/mg.rb +0 -33
  990. data/lib/phlex/icons/flag/mh.rb +0 -44
  991. data/lib/phlex/icons/flag/mk.rb +0 -53
  992. data/lib/phlex/icons/flag/ml.rb +0 -33
  993. data/lib/phlex/icons/flag/mm.rb +0 -43
  994. data/lib/phlex/icons/flag/mn.rb +0 -67
  995. data/lib/phlex/icons/flag/mo.rb +0 -39
  996. data/lib/phlex/icons/flag/mp.rb +0 -972
  997. data/lib/phlex/icons/flag/mq.rb +0 -29
  998. data/lib/phlex/icons/flag/mr.rb +0 -49
  999. data/lib/phlex/icons/flag/ms.rb +0 -257
  1000. data/lib/phlex/icons/flag/mt.rb +0 -135
  1001. data/lib/phlex/icons/flag/mu.rb +0 -35
  1002. data/lib/phlex/icons/flag/mv.rb +0 -31
  1003. data/lib/phlex/icons/flag/mw.rb +0 -67
  1004. data/lib/phlex/icons/flag/mx.rb +0 -780
  1005. data/lib/phlex/icons/flag/my.rb +0 -71
  1006. data/lib/phlex/icons/flag/mz.rb +0 -145
  1007. data/lib/phlex/icons/flag/na.rb +0 -74
  1008. data/lib/phlex/icons/flag/nc.rb +0 -87
  1009. data/lib/phlex/icons/flag/ne.rb +0 -31
  1010. data/lib/phlex/icons/flag/nf.rb +0 -79
  1011. data/lib/phlex/icons/flag/ng.rb +0 -31
  1012. data/lib/phlex/icons/flag/ni.rb +0 -279
  1013. data/lib/phlex/icons/flag/nl.rb +0 -29
  1014. data/lib/phlex/icons/flag/no.rb +0 -33
  1015. data/lib/phlex/icons/flag/np.rb +0 -64
  1016. data/lib/phlex/icons/flag/nr.rb +0 -63
  1017. data/lib/phlex/icons/flag/nu.rb +0 -65
  1018. data/lib/phlex/icons/flag/nz.rb +0 -93
  1019. data/lib/phlex/icons/flag/om.rb +0 -1357
  1020. data/lib/phlex/icons/flag/pa.rb +0 -62
  1021. data/lib/phlex/icons/flag/pc.rb +0 -87
  1022. data/lib/phlex/icons/flag/pe.rb +0 -27
  1023. data/lib/phlex/icons/flag/pf.rb +0 -160
  1024. data/lib/phlex/icons/flag/pg.rb +0 -82
  1025. data/lib/phlex/icons/flag/ph.rb +0 -41
  1026. data/lib/phlex/icons/flag/pk.rb +0 -66
  1027. data/lib/phlex/icons/flag/pl.rb +0 -31
  1028. data/lib/phlex/icons/flag/pm.rb +0 -29
  1029. data/lib/phlex/icons/flag/pn.rb +0 -657
  1030. data/lib/phlex/icons/flag/pr.rb +0 -66
  1031. data/lib/phlex/icons/flag/ps.rb +0 -51
  1032. data/lib/phlex/icons/flag/pt.rb +0 -135
  1033. data/lib/phlex/icons/flag/pw.rb +0 -60
  1034. data/lib/phlex/icons/flag/py.rb +0 -748
  1035. data/lib/phlex/icons/flag/qa.rb +0 -37
  1036. data/lib/phlex/icons/flag/re.rb +0 -31
  1037. data/lib/phlex/icons/flag/ro.rb +0 -33
  1038. data/lib/phlex/icons/flag/rs.rb +0 -609
  1039. data/lib/phlex/icons/flag/ru.rb +0 -29
  1040. data/lib/phlex/icons/flag/rw.rb +0 -47
  1041. data/lib/phlex/icons/flag/sa.rb +0 -197
  1042. data/lib/phlex/icons/flag/sb.rb +0 -63
  1043. data/lib/phlex/icons/flag/sc.rb +0 -33
  1044. data/lib/phlex/icons/flag/sd.rb +0 -55
  1045. data/lib/phlex/icons/flag/se.rb +0 -30
  1046. data/lib/phlex/icons/flag/sg.rb +0 -64
  1047. data/lib/phlex/icons/flag/sh.rb +0 -49
  1048. data/lib/phlex/icons/flag/sh_ac.rb +0 -5473
  1049. data/lib/phlex/icons/flag/sh_hl.rb +0 -1206
  1050. data/lib/phlex/icons/flag/sh_ta.rb +0 -746
  1051. data/lib/phlex/icons/flag/si.rb +0 -115
  1052. data/lib/phlex/icons/flag/sj.rb +0 -33
  1053. data/lib/phlex/icons/flag/sk.rb +0 -71
  1054. data/lib/phlex/icons/flag/sl.rb +0 -44
  1055. data/lib/phlex/icons/flag/sm.rb +0 -766
  1056. data/lib/phlex/icons/flag/sn.rb +0 -43
  1057. data/lib/phlex/icons/flag/so.rb +0 -59
  1058. data/lib/phlex/icons/flag/sr.rb +0 -37
  1059. data/lib/phlex/icons/flag/ss.rb +0 -35
  1060. data/lib/phlex/icons/flag/st.rb +0 -53
  1061. data/lib/phlex/icons/flag/sv.rb +0 -1209
  1062. data/lib/phlex/icons/flag/sx.rb +0 -534
  1063. data/lib/phlex/icons/flag/sy.rb +0 -38
  1064. data/lib/phlex/icons/flag/sz.rb +0 -89
  1065. data/lib/phlex/icons/flag/tc.rb +0 -121
  1066. data/lib/phlex/icons/flag/td.rb +0 -33
  1067. data/lib/phlex/icons/flag/tf.rb +0 -51
  1068. data/lib/phlex/icons/flag/tg.rb +0 -65
  1069. data/lib/phlex/icons/flag/th.rb +0 -33
  1070. data/lib/phlex/icons/flag/tj.rb +0 -69
  1071. data/lib/phlex/icons/flag/tk.rb +0 -47
  1072. data/lib/phlex/icons/flag/tl.rb +0 -61
  1073. data/lib/phlex/icons/flag/tm.rb +0 -1487
  1074. data/lib/phlex/icons/flag/tn.rb +0 -37
  1075. data/lib/phlex/icons/flag/to.rb +0 -39
  1076. data/lib/phlex/icons/flag/tr.rb +0 -61
  1077. data/lib/phlex/icons/flag/tt.rb +0 -39
  1078. data/lib/phlex/icons/flag/tv.rb +0 -65
  1079. data/lib/phlex/icons/flag/tw.rb +0 -171
  1080. data/lib/phlex/icons/flag/tz.rb +0 -63
  1081. data/lib/phlex/icons/flag/ua.rb +0 -31
  1082. data/lib/phlex/icons/flag/ug.rb +0 -302
  1083. data/lib/phlex/icons/flag/um.rb +0 -57
  1084. data/lib/phlex/icons/flag/un.rb +0 -53
  1085. data/lib/phlex/icons/flag/us.rb +0 -57
  1086. data/lib/phlex/icons/flag/uy.rb +0 -77
  1087. data/lib/phlex/icons/flag/uz.rb +0 -81
  1088. data/lib/phlex/icons/flag/va.rb +0 -401
  1089. data/lib/phlex/icons/flag/vc.rb +0 -46
  1090. data/lib/phlex/icons/flag/ve.rb +0 -73
  1091. data/lib/phlex/icons/flag/vg.rb +0 -139
  1092. data/lib/phlex/icons/flag/vi.rb +0 -77
  1093. data/lib/phlex/icons/flag/vn.rb +0 -59
  1094. data/lib/phlex/icons/flag/vu.rb +0 -63
  1095. data/lib/phlex/icons/flag/wf.rb +0 -29
  1096. data/lib/phlex/icons/flag/ws.rb +0 -43
  1097. data/lib/phlex/icons/flag/xk.rb +0 -47
  1098. data/lib/phlex/icons/flag/xx.rb +0 -43
  1099. data/lib/phlex/icons/flag/ye.rb +0 -33
  1100. data/lib/phlex/icons/flag/yt.rb +0 -29
  1101. data/lib/phlex/icons/flag/za.rb +0 -77
  1102. data/lib/phlex/icons/flag/zm.rb +0 -188
  1103. data/lib/phlex/icons/flag/zw.rb +0 -63
  1104. data/lib/phlex/icons/flag.rb +0 -298
  1105. data/lib/phlex/icons/version.rb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc355e911e22fe94843ca4c6f4eb06a5addd2950a51e9b1776883eac6b323af5
4
- data.tar.gz: aafc256dbf5a491bff523937624a88c2a6fa7618b10efd99dbfcb420a223234b
3
+ metadata.gz: 6701db72f7274a2c0bc051a4db9e1f3dfdb2f9edff0371f37f1db79d89a99369
4
+ data.tar.gz: c3da9c764cdbb98dc87a2b82b1760d9a117e713d8b1a8e8234be23364eef784a
5
5
  SHA512:
6
- metadata.gz: e17edd4bc20508079243f772eee783109f350e8e703d55e9e39ed81f9e4360cd037863436596317e52af41f93b1101be605252344ad111f0899ad9c500ad7bb6
7
- data.tar.gz: bbc19a86223de39bd6d0106eee905fd45001566553ad3bc20649d1f29e8c208b1d05786e552298722292c5c74729fd467e76fd17589fd7b7cb89e73000f3f309
6
+ metadata.gz: e0cf2cf40812fd92c5e20b90894d1a37d998154a0bfec5f0d848552456863a8a0960fd3ecea2cf228aad55f55a8f2552bf6da10ab84621694a4bd98d750438ec
7
+ data.tar.gz: 5294124a1c80043e1ab0305794491f47e1ae48a4a3a3e7ebd2402d39a94ba739764d386cfdd2f83b4841a403ce7f1e7416d5c6dff9eeb6059af51e37bde1ea86
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  </div>
10
10
 
11
- # Phlex::Icons
11
+ # PhlexIcons
12
12
 
13
13
  General icons extension for [Phlex](https://phlex.fun). Includes more than 🎨 12,000 icons from:
14
14
  - [Bootstrap Icons](https://icons.getbootstrap.com) (2,000+)
@@ -58,13 +58,13 @@ The gem provides global configuration options, and per icons pack configuration
58
58
  ### Global configuration
59
59
 
60
60
  ```ruby
61
- Phlex::Icons.configure do |config|
61
+ PhlexIcons.configure do |config|
62
62
  config.default_classes = 'size-6'
63
63
  end
64
64
 
65
65
  # OR
66
66
 
67
- Phlex::Icons.configuration.default_classes = 'size-6'
67
+ PhlexIcons.configuration.default_classes = 'size-6'
68
68
  ```
69
69
 
70
70
  ### Bootstrap Icons configuration
@@ -74,25 +74,25 @@ Nothing to configure for Bootstrap Icons.
74
74
  ### Flag Icons configuration
75
75
 
76
76
  ```ruby
77
- Phlex::Icons::Flag.configure do |config|
77
+ PhlexIcons::Flag.configure do |config|
78
78
  config.default_variant = :square # or :rectangle
79
79
  end
80
80
 
81
81
  # OR
82
82
 
83
- Phlex::Icons::Flag.configuration.default_variant = :square # or :rectangle
83
+ PhlexIcons::Flag.configuration.default_variant = :square # or :rectangle
84
84
  ```
85
85
 
86
86
  ### Heroicons configuration
87
87
 
88
88
  ```ruby
89
- Phlex::Icons::Hero.configure do |config|
89
+ PhlexIcons::Hero.configure do |config|
90
90
  config.default_variant = :solid # or :outline
91
91
  end
92
92
 
93
93
  # OR
94
94
 
95
- Phlex::Icons::Hero.configuration.default_variant = :solid # or :outline
95
+ PhlexIcons::Hero.configuration.default_variant = :solid # or :outline
96
96
  ```
97
97
 
98
98
  ### Lucide Icons configuration
@@ -110,13 +110,13 @@ Nothing to configure for Remix Icons.
110
110
  ### Tabler Icons configuration
111
111
 
112
112
  ```ruby
113
- Phlex::Icons::Tabler.configure do |config|
113
+ PhlexIcons::Tabler.configure do |config|
114
114
  config.default_variant = :outline # or :filled
115
115
  end
116
116
 
117
117
  # OR
118
118
 
119
- Phlex::Icons::Tabler.configuration.default_variant = :outline # or :filled
119
+ PhlexIcons::Tabler.configuration.default_variant = :outline # or :filled
120
120
  ```
121
121
 
122
122
  ## Usage
@@ -127,7 +127,7 @@ Phlex::Icons::Tabler.configuration.default_variant = :outline # or :filled
127
127
  require 'phlex-icons' # No need to require the gem if you are using it in a Rails application.
128
128
 
129
129
  class PhlexIcons < Phlex::HTML
130
- include Phlex::Icons
130
+ include PhlexIcons
131
131
 
132
132
  def view_template
133
133
  div do
@@ -151,13 +151,13 @@ require 'phlex-icons' # No need to require the gem if you are using it in a Rail
151
151
  class PhlexIcons < Phlex::HTML
152
152
  def view_template
153
153
  div do
154
- render Phlex::Icons::Bootstrap::House.new(class: 'size-4')
155
- render Phlex::Icons::Flag::Sa.new(variant: :rectangle, class: 'size-4')
156
- render Phlex::Icons::Hero::Home.new(variant: :solid, class: 'size-4')
157
- render Phlex::Icons::Lucide::House.new(class: 'size-4')
158
- render Phlex::Icons::Radix::Home.new(class: 'size-4')
159
- render Phlex::Icons::Remix::HomeLine.new(class: 'size-4')
160
- render Phlex::Icons::Tabler::Home.new(variant: :filled, class: 'size-4')
154
+ render PhlexIcons::Bootstrap::House.new(class: 'size-4')
155
+ render PhlexIcons::Flag::Sa.new(variant: :rectangle, class: 'size-4')
156
+ render PhlexIcons::Hero::Home.new(variant: :solid, class: 'size-4')
157
+ render PhlexIcons::Lucide::House.new(class: 'size-4')
158
+ render PhlexIcons::Radix::Home.new(class: 'size-4')
159
+ render PhlexIcons::Remix::HomeLine.new(class: 'size-4')
160
+ render PhlexIcons::Tabler::Home.new(variant: :filled, class: 'size-4')
161
161
  end
162
162
  end
163
163
  end
@@ -176,7 +176,7 @@ require 'phlex-icons-flag' # No need to require the gem if you are using it in a
176
176
  require 'phlex-icons-hero' # No need to require the gem if you are using it in a Rails application.
177
177
 
178
178
  class PhlexIcons < Phlex::HTML
179
- include Phlex::Icons # If you want to use Phlex::Kit.
179
+ include PhlexIcons # If you want to use Phlex::Kit.
180
180
 
181
181
  def view_template
182
182
  div do
@@ -185,8 +185,8 @@ class PhlexIcons < Phlex::HTML
185
185
  Hero::Home(variant: :solid, class: 'size-4')
186
186
 
187
187
  # Without Phlex::Kit.
188
- render Phlex::Icons::Flag::Sa.new(variant: :rectangle, class: 'size-4')
189
- render Phlex::Icons::Hero::Home.new(variant: :solid, class: 'size-4')
188
+ render PhlexIcons::Flag::Sa.new(variant: :rectangle, class: 'size-4')
189
+ render PhlexIcons::Hero::Home.new(variant: :solid, class: 'size-4')
190
190
  end
191
191
  end
192
192
  end
@@ -194,34 +194,30 @@ end
194
194
 
195
195
  ### Add custom icons to your Rails application
196
196
 
197
- You can extend the gem in your Rails application to add new icons by creating a `phlex/icons/custom` directory inside `views/components` directory. Then, you can create a new component for each icon you want to add. For example:
197
+ You can extend the gem in your Rails application to add new icons by creating a `phlex-icons/custom` directory inside `views/components` directory. Then, you can create a new component for each icon you want to add. For example:
198
198
 
199
199
  ```ruby
200
- # app/views/components/phlex/icons/custom/icon_class_name.rb
201
-
202
- module Phlex
203
- module Icons
204
- module Custom
205
- class IconClassName < Phlex::Icons::Base
206
- def view_template
207
- # SVG code here.
208
- end
200
+ # app/views/components/phlex-icons/custom/icon_class_name.rb
201
+
202
+ module PhlexIcons
203
+ module Custom
204
+ class IconClassName < PhlexIcons::Base
205
+ def view_template
206
+ # SVG code here.
209
207
  end
210
208
  end
211
209
  end
212
210
  end
213
211
  ```
214
212
 
215
- Finally, you will need to create a `Phlex::Icons::Custom` module in `phlex/icons/custom.rb` file to include your custom icons and make them a `Phlex::Kit`:
213
+ Finally, you will need to create a `PhlexIcons::Custom` module in `phlex-icons/custom.rb` file to include your custom icons and make them a `Phlex::Kit`:
216
214
 
217
215
  ```ruby
218
- # app/views/components/phlex/icons/custom.rb
216
+ # app/views/components/phlex-icons/custom.rb
219
217
 
220
- module Phlex
221
- module Icons
222
- module Custom
223
- extend Phlex::Kit
224
- end
218
+ module PhlexIcons
219
+ module Custom
220
+ extend Phlex::Kit
225
221
  end
226
222
  end
227
223
  ```
@@ -234,7 +230,7 @@ All icon packs provided in this gem are auto-generated by their generator under
234
230
 
235
231
  ## What is the icon pack version used in the gem?
236
232
 
237
- Each icon pack contains a `VERSION` constant in its module represents the version of the icon pack used in the gem. So, for example, to get the Bootstrap version used in the gem you can access it by `Phlex::Icons::Bootstrap::VERSION`.
233
+ Each icon pack contains a `VERSION` constant in its module represents the version of the icon pack used in the gem. So, for example, to get the Bootstrap version used in the gem you can access it by `PhlexIcons::Bootstrap::VERSION`.
238
234
 
239
235
  ## Development
240
236
 
@@ -252,4 +248,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
252
248
 
253
249
  ## Code of Conduct
254
250
 
255
- Everyone interacting in the Phlex::Icons project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/AliOsm/phlex-icons/blob/master/CODE_OF_CONDUCT.md).
251
+ Everyone interacting in the PhlexIcons project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/AliOsm/phlex-icons/blob/master/CODE_OF_CONDUCT.md).
@@ -4,20 +4,18 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/twbs/icons.git'
6
6
  REPO_NAME = 'twbs-icons'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/bootstrap.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/bootstrap'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/bootstrap.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/bootstrap'
9
9
 
10
10
  TEMPLATE = ERB.new <<~TEMPLATE
11
11
  # frozen_string_literal: true
12
12
 
13
13
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Bootstrap
17
- class <%= icon_name %> < Base
18
- def view_template
19
- <%= icon %>
20
- end
14
+ module PhlexIcons
15
+ module Bootstrap
16
+ class <%= icon_name %> < Base
17
+ def view_template
18
+ <%= icon %>
21
19
  end
22
20
  end
23
21
  end
data/generators/flag.rb CHANGED
@@ -4,24 +4,23 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/lipis/flag-icons.git'
6
6
  REPO_NAME = 'lipis-flag-icons'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/flag.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/flag'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/flag.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/flag'
9
+ VARIANTS = %i[square rectangle].freeze
9
10
 
10
11
  TEMPLATE = ERB.new <<~TEMPLATE
11
12
  # frozen_string_literal: true
12
13
 
13
14
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Flag
17
- class <%= icon_name %> < Base
18
- def square
19
- <%= square_icon %>
20
- end
21
-
22
- def rectangle
23
- <%= rectangle_icon %>
24
- end
15
+ module PhlexIcons
16
+ module Flag
17
+ class <%= icon_name %> < Base
18
+ def square
19
+ <%= square_icon %>
20
+ end
21
+
22
+ def rectangle
23
+ <%= rectangle_icon %>
25
24
  end
26
25
  end
27
26
  end
@@ -29,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
28
  # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
30
29
  TEMPLATE
31
30
 
31
+ VARIANT_TEMPLATE = ERB.new <<~VARIANT_TEMPLATE
32
+ # frozen_string_literal: true
33
+
34
+ # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
35
+ module PhlexIcons
36
+ module Flag
37
+ class <%= icon_name %><%= variant.to_s.capitalize %> < Base
38
+ def view_template
39
+ render <%= icon_name %>.new(variant: :<%= variant %>)
40
+ end
41
+ end
42
+ end
43
+ end
44
+ # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
45
+ VARIANT_TEMPLATE
46
+
32
47
  def main
33
48
  run_generator do
34
49
  new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
@@ -51,6 +66,16 @@ def create_icon_component(icon_file_name)
51
66
  rectangle_icon: read_and_convert_icon(rectangle_icon_file_path(icon_file_name))
52
67
  )
53
68
  )
69
+
70
+ VARIANTS.each do |variant|
71
+ File.write(
72
+ File.join(ICONS_PACK_PATH, variant_component_file_name(icon_file_name, variant)),
73
+ VARIANT_TEMPLATE.result_with_hash(
74
+ icon_name: component_class_name(icon_file_name),
75
+ variant: variant
76
+ )
77
+ )
78
+ end
54
79
  end
55
80
 
56
81
  def read_and_convert_icon(icon_file_path)
data/generators/helper.rb CHANGED
@@ -73,6 +73,10 @@ def component_file_name(icon_file_name, replacements = nil)
73
73
  "#{icon_name.gsub('-', '_')}.rb"
74
74
  end
75
75
 
76
+ def variant_component_file_name(icon_file_name, variant)
77
+ "#{component_file_name(icon_file_name).gsub('.rb', '')}_#{variant.to_s.downcase}.rb"
78
+ end
79
+
76
80
  def component_class_name(icon_file_name, replacements = nil)
77
81
  replacements ||= {}
78
82
 
@@ -91,12 +95,12 @@ def make_components_lazy_loadable(path)
91
95
  autoload_lines = Dir.glob("#{path}/*.rb").map do |file|
92
96
  next if ['base.rb', 'configuration.rb'].include?(File.basename(file))
93
97
 
94
- " autoload :#{component_class_name(file)}, '#{file.split('/', 2).last.chomp(File.extname(file))}'"
98
+ " autoload :#{component_class_name(file)}, '#{file.split('/', 2).last.chomp(File.extname(file))}'"
95
99
  end.compact.join("\n")
96
100
 
97
101
  new_content = File.read("#{path}.rb").gsub(
98
102
  /# auto-generated autoload: start.*# auto-generated autoload: end/m,
99
- "# auto-generated autoload: start\n#{autoload_lines}\n # auto-generated autoload: end"
103
+ "# auto-generated autoload: start\n#{autoload_lines}\n # auto-generated autoload: end"
100
104
  )
101
105
 
102
106
  File.write("#{path}.rb", new_content)
data/generators/hero.rb CHANGED
@@ -4,24 +4,23 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/tailwindlabs/heroicons.git'
6
6
  REPO_NAME = 'tailwindlabs-heroicons'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/hero.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/hero'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/hero.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/hero'
9
+ VARIANTS = %i[solid outline].freeze
9
10
 
10
11
  TEMPLATE = ERB.new <<~TEMPLATE
11
12
  # frozen_string_literal: true
12
13
 
13
14
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Hero
17
- class <%= icon_name %> < Base
18
- def solid
19
- <%= solid_icon %>
20
- end
21
-
22
- def outline
23
- <%= outline_icon %>
24
- end
15
+ module PhlexIcons
16
+ module Hero
17
+ class <%= icon_name %> < Base
18
+ def solid
19
+ <%= solid_icon %>
20
+ end
21
+
22
+ def outline
23
+ <%= outline_icon %>
25
24
  end
26
25
  end
27
26
  end
@@ -29,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
28
  # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
30
29
  TEMPLATE
31
30
 
31
+ VARIANT_TEMPLATE = ERB.new <<~VARIANT_TEMPLATE
32
+ # frozen_string_literal: true
33
+
34
+ # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
35
+ module PhlexIcons
36
+ module Hero
37
+ class <%= icon_name %><%= variant.to_s.capitalize %> < Base
38
+ def view_template
39
+ render <%= icon_name %>.new(variant: :<%= variant %>)
40
+ end
41
+ end
42
+ end
43
+ end
44
+ # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
45
+ VARIANT_TEMPLATE
46
+
32
47
  def main
33
48
  run_generator do
34
49
  new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
@@ -51,6 +66,16 @@ def create_icon_component(icon_file_name)
51
66
  outline_icon: read_and_convert_icon(outline_icon_file_path(icon_file_name))
52
67
  )
53
68
  )
69
+
70
+ VARIANTS.each do |variant|
71
+ File.write(
72
+ File.join(ICONS_PACK_PATH, variant_component_file_name(icon_file_name, variant)),
73
+ VARIANT_TEMPLATE.result_with_hash(
74
+ icon_name: component_class_name(icon_file_name),
75
+ variant: variant
76
+ )
77
+ )
78
+ end
54
79
  end
55
80
 
56
81
  def read_and_convert_icon(icon_file_path)
data/generators/lucide.rb CHANGED
@@ -4,20 +4,18 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/lucide-icons/lucide.git'
6
6
  REPO_NAME = 'lucide-icons-lucide'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/lucide.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/lucide'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/lucide.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/lucide'
9
9
 
10
10
  TEMPLATE = ERB.new <<~TEMPLATE
11
11
  # frozen_string_literal: true
12
12
 
13
13
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Lucide
17
- class <%= icon_name %> < Base
18
- def view_template
19
- <%= icon %>
20
- end
14
+ module PhlexIcons
15
+ module Lucide
16
+ class <%= icon_name %> < Base
17
+ def view_template
18
+ <%= icon %>
21
19
  end
22
20
  end
23
21
  end
data/generators/radix.rb CHANGED
@@ -4,20 +4,18 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/radix-ui/icons.git'
6
6
  REPO_NAME = 'radix-ui-icons'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/radix.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/radix'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/radix.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/radix'
9
9
 
10
10
  TEMPLATE = ERB.new <<~TEMPLATE
11
11
  # frozen_string_literal: true
12
12
 
13
13
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Radix
17
- class <%= icon_name %> < Base
18
- def view_template
19
- <%= icon %>
20
- end
14
+ module PhlexIcons
15
+ module Radix
16
+ class <%= icon_name %> < Base
17
+ def view_template
18
+ <%= icon %>
21
19
  end
22
20
  end
23
21
  end
data/generators/remix.rb CHANGED
@@ -4,20 +4,18 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/Remix-Design/RemixIcon.git'
6
6
  REPO_NAME = 'remix-design-remixicon'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/remix.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/remix'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/remix.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/remix'
9
9
 
10
10
  TEMPLATE = ERB.new <<~TEMPLATE
11
11
  # frozen_string_literal: true
12
12
 
13
13
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Remix
17
- class <%= icon_name %> < Base
18
- def view_template
19
- <%= icon %>
20
- end
14
+ module PhlexIcons
15
+ module Remix
16
+ class <%= icon_name %> < Base
17
+ def view_template
18
+ <%= icon %>
21
19
  end
22
20
  end
23
21
  end
data/generators/tabler.rb CHANGED
@@ -4,24 +4,23 @@ require_relative 'helper'
4
4
 
5
5
  REPO_URL = 'https://github.com/tabler/tabler-icons.git'
6
6
  REPO_NAME = 'tabler-tabler-icons'
7
- ICONS_PACK_MODULE_PATH = 'lib/phlex/icons/tabler.rb'
8
- ICONS_PACK_PATH = 'lib/phlex/icons/tabler'
7
+ ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/tabler.rb'
8
+ ICONS_PACK_PATH = 'lib/phlex-icons/tabler'
9
+ VARIANTS = %i[filled outline].freeze
9
10
 
10
11
  TEMPLATE = ERB.new <<~TEMPLATE
11
12
  # frozen_string_literal: true
12
13
 
13
14
  # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
14
- module Phlex
15
- module Icons
16
- module Tabler
17
- class <%= icon_name %> < Base
18
- def filled
19
- <%= filled_icon %>
20
- end
21
-
22
- def outline
23
- <%= outline_icon %>
24
- end
15
+ module PhlexIcons
16
+ module Tabler
17
+ class <%= icon_name %> < Base
18
+ def filled
19
+ <%= filled_icon %>
20
+ end
21
+
22
+ def outline
23
+ <%= outline_icon %>
25
24
  end
26
25
  end
27
26
  end
@@ -29,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
28
  # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
30
29
  TEMPLATE
31
30
 
31
+ VARIANT_TEMPLATE = ERB.new <<~VARIANT_TEMPLATE
32
+ # frozen_string_literal: true
33
+
34
+ # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
35
+ module PhlexIcons
36
+ module Tabler
37
+ class <%= icon_name %><%= variant.to_s.capitalize %> < Base
38
+ def view_template
39
+ render <%= icon_name %>.new(variant: :<%= variant %>)
40
+ end
41
+ end
42
+ end
43
+ end
44
+ # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
45
+ VARIANT_TEMPLATE
46
+
32
47
  def main
33
48
  run_generator do
34
49
  new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
@@ -51,6 +66,16 @@ def create_icon_component(icon_file_name)
51
66
  outline_icon: read_and_convert_icon(outline_icon_file_path(icon_file_name))
52
67
  )
53
68
  )
69
+
70
+ VARIANTS.each do |variant|
71
+ File.write(
72
+ File.join(ICONS_PACK_PATH, variant_component_file_name(icon_file_name, variant)),
73
+ VARIANT_TEMPLATE.result_with_hash(
74
+ icon_name: component_class_name(icon_file_name),
75
+ variant: variant
76
+ )
77
+ )
78
+ end
54
79
  end
55
80
 
56
81
  def read_and_convert_icon(icon_file_path)
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PhlexIcons
4
+ class Base < Phlex::SVG
5
+ attr_reader :attrs
6
+
7
+ def initialize(**attrs)
8
+ @attrs = attrs
9
+ attrs[:class] ||= PhlexIcons.configuration.default_classes
10
+
11
+ super()
12
+ end
13
+
14
+ def view_template
15
+ send(variant) if respond_to?(variant)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PhlexIcons
4
+ class Configuration
5
+ attr_accessor :default_variant, :default_classes
6
+
7
+ def initialize(default_classes: 'size-6')
8
+ @default_classes = default_classes
9
+ end
10
+ end
11
+ end